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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/base.css +26 -0
  2. package/bundle.cjs.js +102 -99
  3. package/index.css +34 -0
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
  8. package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
  9. package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
  10. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -2
  11. package/src/AdaptableOptions/EditOptions.d.ts +7 -80
  12. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  13. package/src/AdaptableOptions/LayoutOptions.d.ts +11 -6
  14. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
  15. package/src/AdaptableOptions/StateOptions.d.ts +10 -0
  16. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  17. package/src/Api/ActionApi.d.ts +24 -0
  18. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  19. package/src/Api/AdaptableApi.d.ts +5 -0
  20. package/src/Api/ConfigApi.d.ts +1 -1
  21. package/src/Api/EventApi.d.ts +9 -9
  22. package/src/Api/Events/ActionRowSubmitted.d.ts +58 -0
  23. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  24. package/src/Api/GridApi.d.ts +0 -14
  25. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  26. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  27. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  28. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  29. package/src/Api/Implementation/AlertApiImpl.d.ts +2 -4
  30. package/src/Api/Implementation/AlertApiImpl.js +2 -3
  31. package/src/Api/Implementation/ApiBase.d.ts +13 -1
  32. package/src/Api/Implementation/ApiBase.js +10 -0
  33. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  34. package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -4
  35. package/src/Api/Implementation/ConditionalStyleApiImpl.js +2 -3
  36. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  37. package/src/Api/Implementation/CustomSortApiImpl.d.ts +2 -4
  38. package/src/Api/Implementation/CustomSortApiImpl.js +2 -3
  39. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -4
  40. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -3
  41. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -4
  42. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -3
  43. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  44. package/src/Api/Implementation/GridApiImpl.js +0 -44
  45. package/src/Api/Implementation/InternalApiImpl.d.ts +1 -1
  46. package/src/Api/Implementation/InternalApiImpl.js +5 -4
  47. package/src/Api/Implementation/LayoutApiImpl.d.ts +0 -2
  48. package/src/Api/Implementation/LayoutApiImpl.js +0 -6
  49. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -4
  50. package/src/Api/Implementation/PlusMinusApiImpl.js +2 -3
  51. package/src/Api/Implementation/ScheduleApiImpl.d.ts +6 -16
  52. package/src/Api/Implementation/ScheduleApiImpl.js +10 -16
  53. package/src/Api/Implementation/ShortcutApiImpl.d.ts +2 -4
  54. package/src/Api/Implementation/ShortcutApiImpl.js +2 -3
  55. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
  56. package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
  57. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  58. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  59. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  60. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  61. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  62. package/src/Api/InternalApi.d.ts +1 -1
  63. package/src/Api/LayoutApi.d.ts +1 -6
  64. package/src/Api/SmartEditApi.d.ts +1 -1
  65. package/src/Api/StatusBarApi.d.ts +10 -3
  66. package/src/Api/UserInterfaceApi.d.ts +1 -5
  67. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  68. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  69. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  70. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  71. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  72. package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -36
  73. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  74. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  75. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  76. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  77. package/src/PredefinedConfig/Uuid.js +2 -1
  78. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  79. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  80. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  81. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  82. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  83. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  84. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  85. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  86. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  87. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  88. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  89. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  90. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  91. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  92. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  93. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  94. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  95. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  96. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  97. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  98. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  99. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  100. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  101. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  102. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  103. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  104. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  105. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  106. package/src/Redux/DeadRedux.js +16 -8
  107. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  108. package/src/Redux/Store/AdaptableStore.js +7 -2
  109. package/src/Strategy/AlertModule.d.ts +2 -18
  110. package/src/Strategy/AlertModule.js +2 -1
  111. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  112. package/src/Strategy/DashboardModule.js +3 -1
  113. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  114. package/src/Strategy/DataSetModule.d.ts +2 -13
  115. package/src/Strategy/ExportModule.d.ts +2 -13
  116. package/src/Strategy/ExportModule.js +1 -1
  117. package/src/Strategy/FilterModule.d.ts +2 -14
  118. package/src/Strategy/FilterModule.js +1 -1
  119. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  120. package/src/Strategy/GridInfoModule.js +6 -2
  121. package/src/Strategy/Interface/IModule.d.ts +2 -1
  122. package/src/Strategy/LayoutModule.d.ts +3 -17
  123. package/src/Strategy/LayoutModule.js +57 -4
  124. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  125. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  126. package/src/Strategy/ScheduleModule.d.ts +2 -13
  127. package/src/Strategy/ShortcutModule.d.ts +2 -9
  128. package/src/Strategy/StatusBarModule.js +2 -2
  129. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  130. package/src/Strategy/ThemeModule.d.ts +2 -8
  131. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  132. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  133. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  134. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  135. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  136. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  137. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  138. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  139. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  140. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  141. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  142. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  143. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  144. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  145. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  146. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  147. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  148. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  149. package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
  150. package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
  151. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  152. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
  153. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  154. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  155. package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
  156. package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
  157. package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
  158. package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
  159. package/src/Utilities/Helpers/DateHelper.js +43 -6
  160. package/src/Utilities/Helpers/Helper.js +2 -1
  161. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  162. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  163. package/src/Utilities/MenuItem.d.ts +4 -3
  164. package/src/Utilities/MenuItem.js +9 -3
  165. package/src/Utilities/ObjectFactory.js +1 -0
  166. package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -0
  167. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  168. package/src/Utilities/Services/MetamodelService.d.ts +7 -1
  169. package/src/Utilities/Services/MetamodelService.js +82 -6
  170. package/src/Utilities/Services/ModuleService.js +3 -1
  171. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  172. package/src/Utilities/Services/RowEditService.js +24 -25
  173. package/src/Utilities/isAdaptableObject.js +2 -1
  174. package/src/Utilities/isMacLike.js +2 -1
  175. package/src/Utilities/license/decode.js +1 -1
  176. package/src/Utilities/reorder.js +2 -1
  177. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  178. package/src/Utilities/waitForCondition.d.ts +1 -1
  179. package/src/Utilities/waitForCondition.js +2 -1
  180. package/src/View/AdaptableContext.js +2 -1
  181. package/src/View/AdaptableView.js +2 -1
  182. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +12 -9
  183. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  184. package/src/View/AdaptableWizardView/Utils.js +2 -1
  185. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  186. package/src/View/AdaptableWizardView/helper.js +6 -3
  187. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  188. package/src/View/Alert/AlertEmptyView.js +2 -1
  189. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  190. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  191. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  192. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  193. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  194. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  195. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  196. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  197. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  198. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  199. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  200. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  201. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  202. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  203. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  204. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  205. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  206. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  207. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  208. package/src/View/ColorPicker.d.ts +5 -1
  209. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  210. package/src/View/Components/AdaptableDateInput/index.js +11 -11
  211. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  212. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  213. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  214. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  215. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  216. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  217. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  218. package/src/View/Components/ColumnSelector/index.js +2 -1
  219. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  220. package/src/View/Components/ExpressionWizard.js +2 -1
  221. package/src/View/Components/ExternalRenderer.js +2 -1
  222. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  223. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  224. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  225. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  226. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  227. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  228. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  229. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  230. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  231. package/src/View/Components/NewScopeComponent.js +6 -3
  232. package/src/View/Components/Panels/PanelFooter.js +2 -1
  233. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  234. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  235. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  236. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  237. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  238. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  239. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  240. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  241. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  242. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  243. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  244. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  245. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  246. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  247. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  248. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  249. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  250. package/src/View/Components/Popups/Utilities.js +8 -4
  251. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  252. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  253. package/src/View/Components/TagValueSelector/index.js +4 -2
  254. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  255. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  256. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  257. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  258. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  259. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  260. package/src/View/Components/WizardSummaryPage.js +2 -1
  261. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  262. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  263. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  264. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  265. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  266. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  267. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  268. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  269. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  270. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  271. package/src/View/Dashboard/Dashboard.js +4 -3
  272. package/src/View/Dashboard/DashboardPopup.js +1 -1
  273. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  274. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  275. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  276. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  277. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  278. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  279. package/src/View/DataSet/DataSetSelector.js +2 -1
  280. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  281. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  282. package/src/View/Export/ExportSelector.js +2 -1
  283. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  284. package/src/View/Export/ReportExportDropdown.js +2 -1
  285. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  286. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  287. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  288. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  289. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  290. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  291. package/src/View/Filter/FilterSummary.d.ts +1 -1
  292. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  293. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  294. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  295. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  296. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  297. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  298. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  299. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  300. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  301. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  302. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  303. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  304. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  305. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  306. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  307. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  308. package/src/View/GridInfo/GridInfoPopup.js +6 -4
  309. package/src/View/KeyHint.js +2 -1
  310. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  311. package/src/View/Layout/LayoutCloneButton.js +2 -1
  312. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  313. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  314. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  315. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  316. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  317. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  318. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  319. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  320. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  321. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  322. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  323. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  324. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  325. package/src/View/License/LicenseWatermark.js +1 -1
  326. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  327. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  328. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  329. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  330. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  331. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  332. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  333. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  334. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  335. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  336. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  337. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  338. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  339. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  340. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  341. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  342. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  343. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  344. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  345. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  346. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  347. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  348. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  349. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  350. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  351. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  352. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  353. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  354. package/src/View/StateManagement/components/ClearButton.js +2 -1
  355. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  356. package/src/View/StateManagement/components/LoadButton.js +2 -1
  357. package/src/View/StateManagement/handleExportState.js +2 -1
  358. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  359. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  360. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  361. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  362. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  363. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  364. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  365. package/src/View/UIHelper.d.ts +2 -0
  366. package/src/View/UIHelper.js +12 -11
  367. package/src/View/Wizard/AdaptableWizard.js +2 -1
  368. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  369. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  370. package/src/View/Wizard/OnePageWizards.js +8 -4
  371. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  372. package/src/View/renderWithAdaptableContext.js +2 -1
  373. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  374. package/src/agGrid/ActionColumnRenderer.js +1 -1
  375. package/src/agGrid/Adaptable.js +31 -28
  376. package/src/agGrid/CheckboxRenderer.js +2 -1
  377. package/src/agGrid/FilterWrapper.js +2 -1
  378. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  379. package/src/agGrid/PercentBarRenderer.js +2 -1
  380. package/src/agGrid/agGridHelper.js +3 -1
  381. package/src/agGrid/agGridMenuHelper.js +13 -10
  382. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  383. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  384. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  385. package/src/components/AdaptableIconComponent/index.js +40 -0
  386. package/src/components/CheckBox/index.js +2 -1
  387. package/src/components/CodeBlock/index.js +2 -1
  388. package/src/components/Dashboard/DashboardManager.js +1 -1
  389. package/src/components/Datepicker/DatepickerContext.js +2 -1
  390. package/src/components/Datepicker/index.d.ts +1 -1
  391. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  392. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  393. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  394. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  395. package/src/components/EllipsisContainer/index.js +4 -2
  396. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  397. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  398. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  399. package/src/components/FileDroppable/index.js +2 -1
  400. package/src/components/FormLayout/index.js +2 -1
  401. package/src/components/Input/index.d.ts +1 -1
  402. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  403. package/src/components/Loader/Loader.js +4 -2
  404. package/src/components/Logo/index.js +2 -1
  405. package/src/components/Modal/Backdrop.js +2 -1
  406. package/src/components/Modal/index.js +2 -1
  407. package/src/components/OverlayTrigger/Overlay.js +2 -1
  408. package/src/components/OverlayTrigger/index.js +2 -1
  409. package/src/components/OverlayTrigger/utils.js +6 -3
  410. package/src/components/PopupWithFooter.d.ts +1 -1
  411. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  412. package/src/components/Radio/index.js +4 -2
  413. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  414. package/src/components/ResizeObserver/index.js +6 -3
  415. package/src/components/SelectList.js +2 -1
  416. package/src/components/SelectableList/index.js +2 -1
  417. package/src/components/SimpleButton/index.d.ts +2 -1
  418. package/src/components/SimpleButton/index.js +19 -6
  419. package/src/components/StylePreview.js +2 -1
  420. package/src/components/Tabs/index.js +6 -3
  421. package/src/components/Textarea/index.d.ts +5 -1
  422. package/src/components/ToggleButton/index.js +2 -1
  423. package/src/components/WindowModal/WindowModal.js +2 -1
  424. package/src/components/WindowModal/useStacking.js +2 -1
  425. package/src/components/icons/DefaultIcon.js +2 -1
  426. package/src/components/icons/index.d.ts +3 -1
  427. package/src/components/icons/index.js +10 -2
  428. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  429. package/src/components/utils/useGlobalEvent.js +2 -1
  430. package/src/components/utils/useLatest.js +2 -1
  431. package/src/components/utils/useRerender.js +2 -1
  432. package/src/components/utils/uuid.js +2 -1
  433. package/src/metamodel/adaptable-metamodel-model.d.ts +1 -1
  434. package/src/metamodel/adaptable.metamodel.d.ts +219 -112
  435. package/src/metamodel/adaptable.metamodel.js +1 -12958
  436. package/src/types.d.ts +8 -5
  437. package/version.d.ts +1 -1
  438. package/version.js +1 -1
  439. package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
  440. package/src/components/ApplicationIcon.d.ts +0 -6
  441. package/src/components/ApplicationIcon.js +0 -13
@@ -1,13 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AlertDefinition } from '../PredefinedConfig/AlertState';
4
3
  import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
5
4
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as AlertRedux from '../Redux/ActionsReducers/AlertRedux';
8
- import * as SystemRedux from '../Redux/ActionsReducers/SystemRedux';
9
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
10
- import { AdaptableObjectView, IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
11
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
12
9
  export declare class AlertModule extends AdaptableModuleBase implements IModule {
13
10
  constructor(api: AdaptableApi);
@@ -37,19 +34,6 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
37
34
  };
38
35
  toView(alert: AlertDefinition): AdaptableObjectView;
39
36
  toViewAll(): AdaptableObjectView[];
40
- getViewProperties(): {
41
- getDeleteAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionDeleteAction;
42
- getSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionSuspendAction;
43
- getUnSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionUnSuspendAction;
44
- getCompactDeleteAction: (alert: AdaptableAlert) => SystemRedux.SystemAlertDeleteAction;
45
- getDeleteAllAction: () => SystemRedux.SystemAlertDeleteAllAction;
46
- emptyView: import("react").FunctionComponent<{
47
- module: IModule;
48
- }>;
49
- getEditWizard: () => (props: import("../View/Alert/Wizard/AlertWizard").AlertWizardProps) => JSX.Element;
50
- getStatusBarPanelProps: () => {
51
- view: () => JSX.Element;
52
- };
53
- };
37
+ getViewProperties(): AdaptableModuleView;
54
38
  canBeAssociatedWithLayouts(): boolean;
55
39
  }
@@ -160,7 +160,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
160
160
  // the row node data is most probably stale because the reactive queries buffer the changed data
161
161
  // so we have to refresh it
162
162
  reactiveAlertInfo.dataChangeLogEntry.rowNode = this.api.gridApi.getRowNodeForPrimaryKey(reactiveAlertInfo.dataChangeLogEntry.primaryKeyValue);
163
- reactiveAlertInfo.dataChangeLogEntry.rowData = (_a = reactiveAlertInfo.dataChangeLogEntry.rowNode) === null || _a === void 0 ? void 0 : _a.data;
163
+ reactiveAlertInfo.dataChangeLogEntry.rowData =
164
+ (_a = reactiveAlertInfo.dataChangeLogEntry.rowNode) === null || _a === void 0 ? void 0 : _a.data;
164
165
  if (reactiveAlertInfo.type === 'alert') {
165
166
  this.showAlertForDefinitions(reactiveAlertInfo.dataChangeLogEntry, [
166
167
  reactiveAlertInfo.alertDefinition,
@@ -1,14 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
5
4
  import { ConditionalStyle } from '../PredefinedConfig/ConditionalStyleState';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as ConditionalStyleRedux from '../Redux/ActionsReducers/ConditionalStyleRedux';
8
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
9
7
  import { IConditionalStyleModule } from './Interface/IConditionalStyleModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
- import { AdaptableObjectView } from './Interface/IModule';
9
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
12
10
  export declare class ConditionalStyleModule extends AdaptableModuleBase implements IConditionalStyleModule {
13
11
  constructor(api: AdaptableApi);
14
12
  getModuleAdaptableObjects(config?: {
@@ -26,12 +24,6 @@ export declare class ConditionalStyleModule extends AdaptableModuleBase implemen
26
24
  private shouldRunStyle;
27
25
  toView(conditionalStyle: ConditionalStyle): AdaptableObjectView;
28
26
  toViewAll(): AdaptableObjectView[];
29
- getViewProperties(): {
30
- getDeleteAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleAction;
31
- getSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleSuspendAction;
32
- getUnSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleUnSuspendAction;
33
- emptyView: string;
34
- getEditWizard(): import("react").FunctionComponent<import("../View/ConditionalStyle/Wizard/ConditionalStyleWizard").ConditionalStyleWizardProps>;
35
- };
27
+ getViewProperties(): AdaptableModuleView;
36
28
  canBeAssociatedWithLayouts(): boolean;
37
29
  }
@@ -63,7 +63,9 @@ class DashboardModule extends AdaptableModuleBase_1.AdaptableModuleBase {
63
63
  {
64
64
  label: this.moduleInfo.FriendlyName,
65
65
  isVisible: true,
66
- icon: 'dashboard',
66
+ icon: {
67
+ name: 'dashboard',
68
+ },
67
69
  subItems: menuItems,
68
70
  },
69
71
  ];
@@ -1,16 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  export declare class DataChangeHistoryModule extends AdaptableModuleBase implements IModule {
6
5
  constructor(api: AdaptableApi);
7
6
  getPopupMaxWidth(): number;
8
7
  hasNamedQueryReferences(): boolean;
9
8
  private shouldLogDataChange;
10
- getViewProperties(): {
11
- getStatusBarPanelProps: () => {
12
- triggerActionOnWrapperClick: boolean;
13
- content: import("react").FunctionComponent<{}>;
14
- };
15
- };
9
+ getViewProperties(): AdaptableModuleView;
16
10
  }
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { AdaptableObjectView, IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
6
5
  import { DataSet } from '../AdaptableOptions/GeneralOptions';
@@ -11,15 +10,5 @@ export declare class DataSetModule extends AdaptableModuleBase implements IModul
11
10
  hasNamedQueryReferences(): boolean;
12
11
  toView(dataSet: DataSet): AdaptableObjectView;
13
12
  toViewAll(): AdaptableObjectView[];
14
- getViewProperties(): {
15
- actions: import("react").FunctionComponent<{
16
- data: DataSet;
17
- id?: string;
18
- accessLevel: import("../types").AccessLevel;
19
- }>[];
20
- getStatusBarPanelProps: () => {
21
- content: string;
22
- popover: import("react").FunctionComponent<{}>;
23
- };
24
- };
13
+ getViewProperties(): AdaptableModuleView;
25
14
  }
@@ -1,14 +1,12 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { IExportModule } from './Interface/IExportModule';
4
3
  import { ExportDestination } from '../PredefinedConfig/Common/Enums';
5
4
  import { Report } from '../PredefinedConfig/ExportState';
6
- import * as ExportRedux from '../Redux/ActionsReducers/ExportRedux';
7
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
8
6
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
9
7
  import { AdaptableApi } from '../Api/AdaptableApi';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
- import { AdaptableObjectView } from './Interface/IModule';
9
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
12
10
  export declare class ExportModule extends AdaptableModuleBase implements IExportModule {
13
11
  constructor(api: AdaptableApi);
14
12
  getModuleAdaptableObjects(): AdaptableObject[];
@@ -29,14 +27,5 @@ export declare class ExportModule extends AdaptableModuleBase implements IExport
29
27
  private showEmptyExportWarning;
30
28
  toView(report: Report): AdaptableObjectView;
31
29
  toViewAll(): AdaptableObjectView[];
32
- getViewProperties(): {
33
- newTooltipText: string;
34
- actions: import("./Interface/IModule").AdaptableModuleViewAction[];
35
- getDeleteAction: (report: Report) => ExportRedux.ReportDeleteAction;
36
- getEditWizard(): (props: import("../View/Export/Wizard/NewReportWizard").NewReportWizardProps) => JSX.Element;
37
- getStatusBarPanelProps: () => {
38
- content: import("react").FunctionComponent<import("../View/Export/ExportSelector").ExportSelectorProps>;
39
- triggerActionOnWrapperClick: boolean;
40
- };
41
- };
30
+ getViewProperties(): AdaptableModuleView;
42
31
  }
@@ -77,7 +77,7 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
77
77
  {
78
78
  label: 'Export Selected Cells',
79
79
  isVisible: true,
80
- icon: this.moduleInfo.Glyph,
80
+ icon: { name: this.moduleInfo.Glyph },
81
81
  subItems: menuItems,
82
82
  },
83
83
  ];
@@ -1,10 +1,8 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
5
- import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
6
4
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import { AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
5
+ import { AdaptableModuleView, AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
8
6
  import { AdaptableApi } from '../Api/AdaptableApi';
9
7
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
10
8
  import { ColumnFilter } from '../types';
@@ -20,15 +18,5 @@ export declare class FilterModule extends AdaptableModuleBase implements IModule
20
18
  toViewCompact(filter: ColumnFilter): AdaptableObjectCompactView;
21
19
  toView(filter: ColumnFilter): AdaptableObjectView;
22
20
  toViewAll(): AdaptableObjectView[];
23
- getViewProperties(): {
24
- getDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
25
- getCompactDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
26
- getDeleteAllAction: () => LayoutRedux.LayoutFilterClearAllAction;
27
- emptyView: string;
28
- getStatusBarPanelProps(): {
29
- content: string;
30
- popover: import("react").FunctionComponent<{}>;
31
- popoverMinWidth: number;
32
- };
33
- };
21
+ getViewProperties(): AdaptableModuleView;
34
22
  }
@@ -79,7 +79,7 @@ class FilterModule extends AdaptableModuleBase_1.AdaptableModuleBase {
79
79
  return {
80
80
  ModuleEntities: this.api.filterApi.getColumnFilters(),
81
81
  AddAction: LayoutRedux.LayoutColumnFilterAdd,
82
- EditAction: LayoutRedux.LayoutColumnFilterEdit,
82
+ EditAction: LayoutRedux.LayoutColumnFilterEdit, //TODO need to change this to ColumnFilterSet
83
83
  };
84
84
  }
85
85
  toViewCompact(filter) {
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
5
4
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
6
5
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
- import * as FlashingCellRedux from '../Redux/ActionsReducers/FlashingCellRedux';
8
6
  import { AdaptableModuleBase } from './AdaptableModuleBase';
9
- import { AdaptableObjectView, IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
9
  import { FlashingCellDefinition } from '../PredefinedConfig/FlashingCellState';
12
10
  export declare class FlashingCellModule extends AdaptableModuleBase implements IModule {
@@ -26,11 +24,6 @@ export declare class FlashingCellModule extends AdaptableModuleBase implements I
26
24
  getTeamSharingAction(): TeamSharingImportInfo<FlashingCellDefinition>;
27
25
  toView(flashingCell: FlashingCellDefinition): AdaptableObjectView;
28
26
  toViewAll(): AdaptableObjectView[];
29
- getViewProperties(): {
30
- getSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
31
- getUnSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
32
- getDeleteAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionDeleteAction;
33
- getEditWizard: () => (props: import("../View/FlashingCell/Wizard/FlashingCellWizard").FlashingCellWizardProps) => JSX.Element;
34
- };
27
+ getViewProperties(): AdaptableModuleView;
35
28
  canBeAssociatedWithLayouts(): boolean;
36
29
  }
@@ -43,7 +43,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
43
43
  {
44
44
  label: 'Show Info',
45
45
  isVisible: true,
46
- icon: this.moduleInfo.Glyph,
46
+ icon: {
47
+ name: this.moduleInfo.Glyph,
48
+ },
47
49
  subItems: selectMenuItems,
48
50
  },
49
51
  ];
@@ -89,7 +91,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
89
91
  {
90
92
  label: 'Show Info',
91
93
  isVisible: true,
92
- icon: this.moduleInfo.Glyph,
94
+ icon: {
95
+ name: this.moduleInfo.Glyph,
96
+ },
93
97
  subItems: selectMenuItems,
94
98
  },
95
99
  ];
@@ -11,6 +11,7 @@ import { AdaptableOnePageWizardProps } from '../../View/Wizard/Interface/IAdapta
11
11
  import * as Redux from 'redux';
12
12
  import { SuspendableObject } from '../../../types';
13
13
  import { StatusBarPanelProps } from '../../View/StatusBar/StatusBarPanel';
14
+ import { StrictExtract } from '../../Utilities/Extensions/TypeExtensions';
14
15
  export interface ModuleInfo {
15
16
  ModuleName: AdaptableModule;
16
17
  FriendlyName: string;
@@ -21,7 +22,7 @@ export interface ModuleInfo {
21
22
  }
22
23
  export declare type TeamSharingReferences = TeamSharingReference[];
23
24
  export declare type TeamSharingReference = {
24
- Module: Extract<AdaptableModule, 'CalculatedColumn' | 'FreeTextColumn' | 'Query'>;
25
+ Module: StrictExtract<AdaptableModule, 'CalculatedColumn' | 'FreeTextColumn' | 'Query' | 'Alert' | 'ConditionalStyle' | 'CustomSort' | 'FlashingCell' | 'FormatColumn' | 'PlusMinus' | 'Shortcut' | 'Schedule'>;
25
26
  Reference: AdaptableObject;
26
27
  };
27
28
  export interface AdaptableObjectItemView {
@@ -1,18 +1,17 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { LayoutState, Layout } from '../PredefinedConfig/LayoutState';
4
3
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
5
- import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
6
4
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
7
5
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
8
6
  import { AdaptableApi } from '../Api/AdaptableApi';
9
- import { IModule } from './Interface/IModule';
7
+ import { AdaptableModuleView, IModule, TeamSharingReferences } from './Interface/IModule';
10
8
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
11
9
  export declare class LayoutModule extends AdaptableModuleBase implements IModule {
12
10
  protected LayoutState: LayoutState;
13
11
  constructor(api: AdaptableApi);
14
12
  getModuleAdaptableObjects(): AdaptableObject[];
15
13
  getExplicitlyReferencedColumnIds(layout: Layout): string[];
14
+ getTeamSharingReferences(adaptableObject: AdaptableObject): TeamSharingReferences;
16
15
  hasNamedQueryReferences(): boolean;
17
16
  handleAdaptableReady(): void;
18
17
  addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
@@ -32,19 +31,6 @@ export declare class LayoutModule extends AdaptableModuleBase implements IModule
32
31
  }[];
33
32
  abObject: Layout;
34
33
  };
35
- getViewProperties(): {
36
- actions: import("react").FunctionComponent<{
37
- data: Layout;
38
- accessLevel: import("../types").AccessLevel;
39
- }>[];
40
- getDeleteAction: (layout: Layout) => LayoutRedux.LayoutDeleteAction;
41
- onOpenEditPopup: (layout?: Layout) => void;
42
- getStatusBarPanelProps: () => {
43
- content: string;
44
- popover: import("react").FunctionComponent<{}>;
45
- popoverMinWidth: number;
46
- extraActions: import("react").FunctionComponent<{}>[];
47
- };
48
- };
34
+ getViewProperties(): AdaptableModuleView;
49
35
  handleLayoutChange(): void;
50
36
  }
@@ -15,7 +15,8 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
15
15
  super(ModuleConstants.LayoutModuleId, 'Layout', 'layout', 'LayoutPopup', 'Named sets of column visibility, order, groupings, aggregation, pivots etc.', api);
16
16
  this.api.eventApi.on('LayoutChanged', (layoutChangedInfo) => {
17
17
  var _a;
18
- if (layoutChangedInfo.newLayoutState.CurrentLayout !== ((_a = layoutChangedInfo.oldLayoutState) === null || _a === void 0 ? void 0 : _a.CurrentLayout)) {
18
+ if (layoutChangedInfo.newLayoutState.CurrentLayout !==
19
+ ((_a = layoutChangedInfo.oldLayoutState) === null || _a === void 0 ? void 0 : _a.CurrentLayout)) {
19
20
  // we are interested only if current layout was changed (is different from the previous one)
20
21
  this.handleLayoutChange();
21
22
  }
@@ -42,7 +43,6 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
42
43
  }
43
44
  */
44
45
  getModuleAdaptableObjects() {
45
- // ignore - triggering build
46
46
  return this.api.layoutApi.getAllLayout();
47
47
  }
48
48
  getExplicitlyReferencedColumnIds(layout) {
@@ -59,6 +59,57 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
59
59
  }
60
60
  return Array.from(new Set(columnIds));
61
61
  }
62
+ getTeamSharingReferences(adaptableObject) {
63
+ const teamSharingReferences = super.getTeamSharingReferences(adaptableObject);
64
+ const layoutName = adaptableObject.Name;
65
+ if (this.api.internalApi.hasLayoutSpecificObjects() && !!layoutName) {
66
+ const layoutAssociatedObjectReferences = [];
67
+ const loadConfig = {
68
+ associatedWithLayout: layoutName,
69
+ };
70
+ // we ensured that there are layout specific objects, so all the "getAll*()" api methods will return only the objects available in the current layout
71
+ this.api.alertApi.getAlertDefinitions(loadConfig).forEach((alertDefinition) => layoutAssociatedObjectReferences.push({
72
+ Reference: alertDefinition,
73
+ Module: 'Alert',
74
+ }));
75
+ this.api.conditionalStyleApi.getAllConditionalStyle(loadConfig).forEach((conditionalStyle) => layoutAssociatedObjectReferences.push({
76
+ Reference: conditionalStyle,
77
+ Module: 'ConditionalStyle',
78
+ }));
79
+ this.api.customSortApi.getAllCustomSort(loadConfig).forEach((customSort) => layoutAssociatedObjectReferences.push({
80
+ Reference: customSort,
81
+ Module: 'CustomSort',
82
+ }));
83
+ this.api.flashingCellApi.getFlashingCellDefinitions(loadConfig).forEach((flashingCell) => layoutAssociatedObjectReferences.push({
84
+ Reference: flashingCell,
85
+ Module: 'FlashingCell',
86
+ }));
87
+ this.api.formatColumnApi.getAllFormatColumn(loadConfig).forEach((formatColumn) => layoutAssociatedObjectReferences.push({
88
+ Reference: formatColumn,
89
+ Module: 'FormatColumn',
90
+ }));
91
+ this.api.plusMinusApi.getAllPlusMinus(loadConfig).forEach((plusMinusNudge) => layoutAssociatedObjectReferences.push({
92
+ Reference: plusMinusNudge,
93
+ Module: 'PlusMinus',
94
+ }));
95
+ this.api.shortcutApi.getAllShortcut(loadConfig).forEach((shortcut) => layoutAssociatedObjectReferences.push({
96
+ Reference: shortcut,
97
+ Module: 'Shortcut',
98
+ }));
99
+ [
100
+ ...this.api.scheduleApi.getAllReportSchedule(loadConfig),
101
+ ...this.api.scheduleApi.getAllReminderSchedule(loadConfig),
102
+ ...this.api.scheduleApi.getAllGlue42Schedule(loadConfig),
103
+ ...this.api.scheduleApi.getAllIPushPullSchedule(loadConfig),
104
+ ...this.api.scheduleApi.getAllOpenFinSchedule(loadConfig),
105
+ ].forEach((schedule) => layoutAssociatedObjectReferences.push({
106
+ Reference: schedule,
107
+ Module: 'Schedule',
108
+ }));
109
+ teamSharingReferences.push(...layoutAssociatedObjectReferences);
110
+ }
111
+ return teamSharingReferences;
112
+ }
62
113
  hasNamedQueryReferences() {
63
114
  return false;
64
115
  }
@@ -111,7 +162,9 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
111
162
  returnColumnMenuItems.push({
112
163
  label: 'Select',
113
164
  isVisible: true,
114
- icon: 'tab-unselected',
165
+ icon: {
166
+ name: 'tab-unselected',
167
+ },
115
168
  subItems: selectMenuItems,
116
169
  });
117
170
  }
@@ -146,7 +199,7 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
146
199
  returnColumnMenuItems.push({
147
200
  label: 'Grid',
148
201
  isVisible: true,
149
- icon: 'align-justify',
202
+ icon: { name: 'align-justify' },
150
203
  subItems: gridMenuItems,
151
204
  });
152
205
  }
@@ -1,15 +1,13 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
3
  import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
5
4
  import { PlusMinusNudge } from '../PredefinedConfig/PlusMinusState';
6
5
  import { GridCell } from '../PredefinedConfig/Selection/GridCell';
7
6
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
8
- import * as PlusMinusRedux from '../Redux/ActionsReducers/PlusMinusRedux';
9
7
  import { AdaptableModuleBase } from './AdaptableModuleBase';
10
8
  import { IPlusMinusModule } from './Interface/IPlusMinusModule';
11
9
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
12
- import { AdaptableObjectView } from './Interface/IModule';
10
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
13
11
  export declare class PlusMinusModule extends AdaptableModuleBase implements IPlusMinusModule {
14
12
  private shouldHandleKeyDown;
15
13
  private adaptable;
@@ -30,11 +28,6 @@ export declare class PlusMinusModule extends AdaptableModuleBase implements IPlu
30
28
  getTeamSharingAction(): TeamSharingImportInfo<PlusMinusNudge>;
31
29
  toView(plusMinus: PlusMinusNudge): AdaptableObjectView;
32
30
  toViewAll(): AdaptableObjectView[];
33
- getViewProperties(): {
34
- getDeleteAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeDeleteAction;
35
- getSuspendAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeSuspendAction;
36
- getUnSuspendAction: (plusMinusNudge: PlusMinusNudge) => PlusMinusRedux.PlusMinusNudgeUnSuspendAction;
37
- getEditWizard(): import("react").FunctionComponent<import("../View/PlusMinus/Wizard/PlusMinusWizard").PlusMinusWizardProps>;
38
- };
31
+ getViewProperties(): AdaptableModuleView;
39
32
  canBeAssociatedWithLayouts(): boolean;
40
33
  }
@@ -1,12 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  export declare class QuickSearchModule extends AdaptableModuleBase implements IModule {
6
5
  constructor(api: AdaptableApi);
7
- getViewProperties(): {
8
- getStatusBarPanelProps(): {
9
- content: import("react").FunctionComponent<{}>;
10
- };
11
- };
6
+ getViewProperties(): AdaptableModuleView;
12
7
  }
@@ -1,9 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { AdaptableObjectView } from './Interface/IModule';
2
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { BaseSchedule } from '../PredefinedConfig/Common/Schedule';
6
- import * as ScheduleRedux from '../Redux/ActionsReducers/ScheduleRedux';
7
5
  import { IScheduleModule } from './Interface/IScheduleModule';
8
6
  export declare class ScheduleModule extends AdaptableModuleBase implements IScheduleModule {
9
7
  private scheduleJobs;
@@ -19,15 +17,6 @@ export declare class ScheduleModule extends AdaptableModuleBase implements ISche
19
17
  }): BaseSchedule[];
20
18
  toView(schedule: BaseSchedule): AdaptableObjectView;
21
19
  toViewAll(): AdaptableObjectView[];
22
- getViewProperties(): {
23
- abObjectTypes: {
24
- name: string;
25
- accessLevel: import("../types").AccessLevel;
26
- }[];
27
- getDeleteAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleDeleteAction | ScheduleRedux.OpenFinScheduleDeleteAction | ScheduleRedux.IPushPullScheduleDeleteAction | ScheduleRedux.ReminderScheduleDeleteAction | ScheduleRedux.ReportScheduleDeleteAction;
28
- getSuspendAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleSuspendAction | ScheduleRedux.OpenFinScheduleSuspendAction | ScheduleRedux.IPushPullScheduleSuspendAction | ScheduleRedux.ReminderScheduleSuspendAction | ScheduleRedux.ReportScheduleSuspendAction;
29
- getUnSuspendAction: (schedule: BaseSchedule) => ScheduleRedux.Glue42ScheduleUnSuspendAction | ScheduleRedux.OpenFinScheduleUnSuspendAction | ScheduleRedux.IPushPullScheduleUnSuspendAction | ScheduleRedux.ReminderScheduleUnSuspendAction | ScheduleRedux.ReportScheduleUnSuspendAction;
30
- getEditWizard(): import("react").FunctionComponent<import("../View/Schedule/Wizard/ScheduleWizard").ScheduleWizardProps>;
31
- };
20
+ getViewProperties(): AdaptableModuleView;
32
21
  canBeAssociatedWithLayouts(): boolean;
33
22
  }
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import * as ShortcutRedux from '../Redux/ActionsReducers/ShortcutRedux';
4
2
  import { Shortcut } from '../PredefinedConfig/ShortcutState';
5
3
  import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
6
4
  import { IShortcutModule } from './Interface/IShortcutModule';
7
5
  import { AdaptableApi } from '../Api/AdaptableApi';
8
6
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
9
- import { AdaptableObjectView } from './Interface/IModule';
7
+ import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
10
8
  export declare class ShortcutModule extends AdaptableModuleBase implements IShortcutModule {
11
9
  private shouldHandleKeyDown;
12
10
  private adaptable;
@@ -22,11 +20,6 @@ export declare class ShortcutModule extends AdaptableModuleBase implements IShor
22
20
  private calculateShortcut;
23
21
  toView(shortcut: Shortcut): AdaptableObjectView;
24
22
  toViewAll(): AdaptableObjectView[];
25
- getViewProperties(): {
26
- getDeleteAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
27
- getSuspendAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
28
- getUnSuspendAction: (shortcut: Shortcut) => ShortcutRedux.ShortcutDeleteAction;
29
- getEditWizard(): import("react").FunctionComponent<import("../View/Shortcut/Wizard/ShortcutWizard").ShortcutWizardProps>;
30
- };
23
+ getViewProperties(): AdaptableModuleView;
31
24
  canBeAssociatedWithLayouts(): boolean;
32
25
  }
@@ -9,7 +9,7 @@ class StatusBarModule extends AdaptableModuleBase_1.AdaptableModuleBase {
9
9
  super(ModuleConstants.StatusBarModuleId, 'Status Bar', 'statusbar', 'StatusBarPopup', 'Configure AdapTable Status Bar', api);
10
10
  }
11
11
  syncStateWithOptions(agGridAdaptablePanels) {
12
- const statusPanelsState = this.api.statusBarApi.getStatusPanels();
12
+ const statusPanelsState = this.api.statusBarApi.getAdaptableStatusBars();
13
13
  /**
14
14
  * Grid config determines how many adaptable status panels are rendered.
15
15
  * This dictates the state.
@@ -27,7 +27,7 @@ class StatusBarModule extends AdaptableModuleBase_1.AdaptableModuleBase {
27
27
  }
28
28
  return statusPanelState;
29
29
  });
30
- this.api.statusBarApi.setStatusPanels(newStatusPanelsState);
30
+ this.api.statusBarApi.setStatusBarPanels(newStatusPanelsState);
31
31
  }
32
32
  isModuleAvailable() {
33
33
  return super.isModuleAvailable() && this.api.statusBarApi.getAgGridStatusPanels().length > 0;
@@ -1,16 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
2
  import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
4
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
5
- import { IModule } from './Interface/IModule';
4
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
6
5
  import { AdaptableApi } from '../Api/AdaptableApi';
7
6
  export declare class SystemStatusModule extends AdaptableModuleBase implements IModule {
8
7
  constructor(api: AdaptableApi);
9
8
  addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
10
9
  addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
11
- getViewProperties(): {
12
- getStatusBarPanelProps: () => {
13
- content: import("react").FunctionComponent<{}>;
14
- };
15
- };
10
+ getViewProperties(): AdaptableModuleView;
16
11
  }
@@ -1,16 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { AdaptableModuleBase } from './AdaptableModuleBase';
3
- import { IModule } from './Interface/IModule';
2
+ import { AdaptableModuleView, IModule } from './Interface/IModule';
4
3
  import { AdaptableApi } from '../Api/AdaptableApi';
5
4
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
6
5
  export declare class ThemeModule extends AdaptableModuleBase implements IModule {
7
6
  constructor(api: AdaptableApi);
8
7
  getModuleAdaptableObjects(): AdaptableObject[];
9
8
  hasNamedQueryReferences(): boolean;
10
- getViewProperties(): {
11
- getStatusBarPanelProps: () => {
12
- content: string;
13
- popover: import("react").FunctionComponent<{}>;
14
- };
15
- };
9
+ getViewProperties(): AdaptableModuleView;
16
10
  }
@@ -7,9 +7,10 @@ const BehaviourView = (props) => {
7
7
  const adaptable = AdaptableContext_1.useAdaptable();
8
8
  return AlertBehaviourWizardSection_1.renderAlertBehaviourSummary(props.data, adaptable.api, true);
9
9
  };
10
- exports.getAlertBehaviourViewItems = (api) => {
10
+ const getAlertBehaviourViewItems = (api) => {
11
11
  return {
12
12
  name: api.internalApi.getCorrectEnglishVariant('Behaviour'),
13
13
  view: BehaviourView,
14
14
  };
15
15
  };
16
+ exports.getAlertBehaviourViewItems = getAlertBehaviourViewItems;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const Tag_1 = require("../../components/Tag");
7
7
  const AlertDisplayWizardSection_1 = require("../../View/Alert/Wizard/AlertDisplayWizardSection");
8
- exports.getAlertPreviewViewItems = (alert, api) => {
8
+ const getAlertPreviewViewItems = (alert, api) => {
9
9
  return {
10
10
  name: 'Type and Display',
11
11
  view: () => {
@@ -17,3 +17,4 @@ exports.getAlertPreviewViewItems = (alert, api) => {
17
17
  },
18
18
  };
19
19
  };
20
+ exports.getAlertPreviewViewItems = getAlertPreviewViewItems;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCustomSortColumnViewItems = void 0;
4
- exports.getCustomSortColumnViewItems = (customSort, api) => {
4
+ const getCustomSortColumnViewItems = (customSort, api) => {
5
5
  return {
6
6
  name: 'Column',
7
7
  values: [api.columnApi.getFriendlyNameFromColumnId(customSort.ColumnId)],
8
8
  };
9
9
  };
10
+ exports.getCustomSortColumnViewItems = getCustomSortColumnViewItems;