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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/base.css +26 -0
  2. package/bundle.cjs.js +127 -127
  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/DataChangeHistoryOptions.d.ts +15 -2
  10. package/src/AdaptableOptions/EditOptions.d.ts +1 -80
  11. package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
  12. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
  13. package/src/Api/ActionApi.d.ts +24 -0
  14. package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
  15. package/src/Api/AdaptableApi.d.ts +5 -0
  16. package/src/Api/ConfigApi.d.ts +1 -1
  17. package/src/Api/EventApi.d.ts +9 -9
  18. package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
  19. package/src/Api/Events/ActionRowSubmitted.js +2 -0
  20. package/src/Api/GridApi.d.ts +0 -14
  21. package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
  22. package/src/Api/Implementation/ActionApiImpl.js +56 -0
  23. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
  24. package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
  25. package/src/Api/Implementation/ApiBase.d.ts +2 -1
  26. package/src/Api/Implementation/ApiBase.js +3 -0
  27. package/src/Api/Implementation/ColumnApiImpl.js +2 -2
  28. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  29. package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
  30. package/src/Api/Implementation/GridApiImpl.js +0 -44
  31. package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
  32. package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
  33. package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
  34. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
  35. package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
  36. package/src/Api/StatusBarApi.d.ts +10 -3
  37. package/src/Api/UserInterfaceApi.d.ts +1 -5
  38. package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
  39. package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
  40. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
  41. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
  42. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
  43. package/src/PredefinedConfig/Common/AdaptablePredicate.js +33 -31
  44. package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
  45. package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
  46. package/src/PredefinedConfig/Common/Types.d.ts +1 -1
  47. package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
  48. package/src/PredefinedConfig/Uuid.js +2 -1
  49. package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
  50. package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
  51. package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
  52. package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
  53. package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
  54. package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
  55. package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
  56. package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
  57. package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
  58. package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
  59. package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
  60. package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
  61. package/src/Redux/ActionsReducers/GridRedux.js +38 -19
  62. package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
  63. package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
  64. package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
  65. package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
  66. package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
  67. package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
  68. package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
  69. package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
  70. package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
  71. package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
  72. package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
  73. package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
  74. package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
  75. package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
  76. package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
  77. package/src/Redux/DeadRedux.js +16 -8
  78. package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
  79. package/src/Redux/Store/AdaptableStore.js +4 -2
  80. package/src/Strategy/AlertModule.d.ts +2 -18
  81. package/src/Strategy/AlertModule.js +2 -1
  82. package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
  83. package/src/Strategy/DashboardModule.js +3 -1
  84. package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
  85. package/src/Strategy/DataSetModule.d.ts +2 -13
  86. package/src/Strategy/ExportModule.d.ts +2 -13
  87. package/src/Strategy/ExportModule.js +1 -1
  88. package/src/Strategy/FilterModule.d.ts +2 -14
  89. package/src/Strategy/FilterModule.js +1 -1
  90. package/src/Strategy/FlashingCellModule.d.ts +2 -9
  91. package/src/Strategy/GridInfoModule.js +6 -2
  92. package/src/Strategy/LayoutModule.d.ts +2 -17
  93. package/src/Strategy/LayoutModule.js +6 -3
  94. package/src/Strategy/PlusMinusModule.d.ts +2 -9
  95. package/src/Strategy/QuickSearchModule.d.ts +2 -7
  96. package/src/Strategy/ScheduleModule.d.ts +2 -13
  97. package/src/Strategy/ShortcutModule.d.ts +2 -9
  98. package/src/Strategy/StatusBarModule.js +2 -2
  99. package/src/Strategy/SystemStatusModule.d.ts +2 -7
  100. package/src/Strategy/ThemeModule.d.ts +2 -8
  101. package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
  102. package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
  103. package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
  104. package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
  105. package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
  106. package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
  107. package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
  108. package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
  109. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
  110. package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
  111. package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
  112. package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
  113. package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
  114. package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
  115. package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
  116. package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
  117. package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
  118. package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
  119. package/src/Utilities/Constants/GeneralConstants.js +2 -1
  120. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +13 -13
  121. package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
  122. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
  123. package/src/Utilities/Helpers/AdaptableHelper.js +4 -3
  124. package/src/Utilities/Helpers/DateHelper.js +10 -5
  125. package/src/Utilities/Helpers/Helper.js +2 -1
  126. package/src/Utilities/Helpers/LoggingHelper.js +2 -1
  127. package/src/Utilities/Helpers/StyleHelper.js +8 -4
  128. package/src/Utilities/MenuItem.d.ts +4 -3
  129. package/src/Utilities/MenuItem.js +9 -3
  130. package/src/Utilities/ObjectFactory.js +1 -0
  131. package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
  132. package/src/Utilities/Services/ModuleService.js +3 -1
  133. package/src/Utilities/Services/RowEditService.d.ts +6 -6
  134. package/src/Utilities/Services/RowEditService.js +24 -25
  135. package/src/Utilities/isAdaptableObject.js +2 -1
  136. package/src/Utilities/isMacLike.js +2 -1
  137. package/src/Utilities/license/decode.js +1 -1
  138. package/src/Utilities/reorder.js +2 -1
  139. package/src/Utilities/runIfNotResolvedIn.js +2 -1
  140. package/src/Utilities/waitForCondition.d.ts +1 -1
  141. package/src/Utilities/waitForCondition.js +2 -1
  142. package/src/View/AdaptableContext.js +2 -1
  143. package/src/View/AdaptableView.js +2 -1
  144. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +2 -1
  145. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
  146. package/src/View/AdaptableWizardView/Utils.js +2 -1
  147. package/src/View/AdaptableWizardView/Wizard.js +4 -2
  148. package/src/View/AdaptableWizardView/helper.js +6 -3
  149. package/src/View/Alert/ActiveAlertsPanel.js +2 -1
  150. package/src/View/Alert/AlertEmptyView.js +2 -1
  151. package/src/View/Alert/AlertStatusSubPanel.js +2 -1
  152. package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
  153. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -2
  154. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
  155. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
  156. package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
  157. package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
  158. package/src/View/Alert/Wizard/AlertWizard.js +2 -1
  159. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +2 -1
  160. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
  161. package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
  162. package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
  163. package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
  164. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +6 -3
  165. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
  166. package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
  167. package/src/View/CellSummary/CellSummaryPopover.js +2 -1
  168. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
  169. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
  170. package/src/View/ColorPicker.d.ts +5 -1
  171. package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
  172. package/src/View/Components/AdaptableDateInput/index.js +10 -10
  173. package/src/View/Components/AdaptableInput/index.d.ts +2 -2
  174. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
  175. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
  176. package/src/View/Components/Buttons/ButtonClone.js +2 -1
  177. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  178. package/src/View/Components/Buttons/ButtonEdit.js +2 -1
  179. package/src/View/Components/Buttons/ButtonNew.js +2 -1
  180. package/src/View/Components/ColumnSelector/index.js +2 -1
  181. package/src/View/Components/EntityRulesEditor/index.js +6 -3
  182. package/src/View/Components/ExpressionWizard.js +2 -1
  183. package/src/View/Components/ExternalRenderer.js +2 -1
  184. package/src/View/Components/FilterForm/FilterForm.js +2 -1
  185. package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
  186. package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
  187. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
  188. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  189. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
  190. package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
  191. package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
  192. package/src/View/Components/ModuleValueSelector/index.js +2 -1
  193. package/src/View/Components/NewScopeComponent.js +6 -3
  194. package/src/View/Components/Panels/PanelFooter.js +2 -1
  195. package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
  196. package/src/View/Components/Panels/PanelWithImage.js +2 -0
  197. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
  198. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
  199. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
  200. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
  201. package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
  202. package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
  203. package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
  204. package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
  205. package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
  206. package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
  207. package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
  208. package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
  209. package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
  210. package/src/View/Components/Popups/AdaptableToaster.js +2 -1
  211. package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
  212. package/src/View/Components/Popups/Utilities.js +8 -4
  213. package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
  214. package/src/View/Components/Selectors/ColumnSelector.js +2 -1
  215. package/src/View/Components/TagValueSelector/index.js +4 -2
  216. package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
  217. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
  218. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
  219. package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
  220. package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
  221. package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
  222. package/src/View/Components/WizardSummaryPage.js +2 -1
  223. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +2 -1
  224. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
  225. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
  226. package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
  227. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
  228. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
  229. package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
  230. package/src/View/Dashboard/CustomDashboardButton.js +2 -1
  231. package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
  232. package/src/View/Dashboard/Dashboard.d.ts +1 -1
  233. package/src/View/Dashboard/Dashboard.js +4 -3
  234. package/src/View/Dashboard/DashboardPopup.js +1 -1
  235. package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
  236. package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
  237. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
  238. package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
  239. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
  240. package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
  241. package/src/View/DataSet/DataSetSelector.js +2 -1
  242. package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
  243. package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
  244. package/src/View/Export/ExportSelector.js +2 -1
  245. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  246. package/src/View/Export/ReportExportDropdown.js +2 -1
  247. package/src/View/Export/Wizard/NewReportWizard.js +4 -2
  248. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +6 -3
  249. package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
  250. package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
  251. package/src/View/Filter/ActiveFiltersPanel.js +2 -1
  252. package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
  253. package/src/View/Filter/FilterSummary.d.ts +1 -1
  254. package/src/View/Filter/FilterViewPanel.d.ts +1 -1
  255. package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
  256. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +4 -2
  257. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
  258. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
  259. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
  260. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
  261. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
  262. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +8 -4
  263. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
  264. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
  265. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
  266. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
  267. package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
  268. package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
  269. package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
  270. package/src/View/GridInfo/GridInfoPopup.js +5 -5
  271. package/src/View/KeyHint.js +2 -1
  272. package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
  273. package/src/View/Layout/LayoutCloneButton.js +2 -1
  274. package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
  275. package/src/View/Layout/LayoutPopup.d.ts +1 -1
  276. package/src/View/Layout/LayoutRadioSelector.js +2 -1
  277. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
  278. package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
  279. package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
  280. package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
  281. package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
  282. package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
  283. package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
  284. package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
  285. package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
  286. package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
  287. package/src/View/License/LicenseWatermark.js +1 -1
  288. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +2 -1
  289. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
  290. package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
  291. package/src/View/Query/EditCurrentQueryButton.js +2 -1
  292. package/src/View/Query/ExpandedQueryPopup.js +2 -1
  293. package/src/View/Query/QueryViewPanel.d.ts +1 -1
  294. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +6 -3
  295. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
  296. package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
  297. package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
  298. package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
  299. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -1
  300. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
  301. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
  302. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
  303. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
  304. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
  305. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
  306. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +4 -2
  307. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
  308. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
  309. package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
  310. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +2 -1
  311. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
  312. package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
  313. package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
  314. package/src/View/StateManagement/StateManagementPopup.js +2 -1
  315. package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
  316. package/src/View/StateManagement/components/ClearButton.js +2 -1
  317. package/src/View/StateManagement/components/ExportDropdown.js +2 -1
  318. package/src/View/StateManagement/components/LoadButton.js +2 -1
  319. package/src/View/StateManagement/handleExportState.js +2 -1
  320. package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
  321. package/src/View/StatusBar/StatusBarPanel.js +2 -1
  322. package/src/View/StatusBar/StatusBarPopup.js +5 -4
  323. package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
  324. package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
  325. package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
  326. package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
  327. package/src/View/UIHelper.d.ts +2 -0
  328. package/src/View/UIHelper.js +12 -11
  329. package/src/View/Wizard/AdaptableWizard.js +2 -1
  330. package/src/View/Wizard/ObjectTagsWizardSection.js +4 -2
  331. package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
  332. package/src/View/Wizard/OnePageWizards.js +8 -4
  333. package/src/View/Wizard/useKeyboardNavigation.js +2 -1
  334. package/src/View/renderWithAdaptableContext.js +2 -1
  335. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  336. package/src/agGrid/ActionColumnRenderer.js +1 -1
  337. package/src/agGrid/Adaptable.js +28 -26
  338. package/src/agGrid/CheckboxRenderer.js +2 -1
  339. package/src/agGrid/FilterWrapper.js +2 -1
  340. package/src/agGrid/FloatingFilterWrapper.js +2 -1
  341. package/src/agGrid/PercentBarRenderer.js +2 -1
  342. package/src/agGrid/agGridHelper.js +3 -1
  343. package/src/agGrid/agGridMenuHelper.js +13 -10
  344. package/src/agGrid/createAgStatusPanelComponent.js +2 -1
  345. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
  346. package/src/components/AdaptableIconComponent/index.d.ts +10 -0
  347. package/src/components/AdaptableIconComponent/index.js +40 -0
  348. package/src/components/CheckBox/index.js +2 -1
  349. package/src/components/CodeBlock/index.js +2 -1
  350. package/src/components/Dashboard/DashboardManager.js +1 -1
  351. package/src/components/Datepicker/DatepickerContext.js +2 -1
  352. package/src/components/Datepicker/index.d.ts +1 -1
  353. package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
  354. package/src/components/DragAndDropContext/ModuleManager.js +5 -4
  355. package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
  356. package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
  357. package/src/components/EllipsisContainer/index.js +4 -2
  358. package/src/components/ExpressionEditor/EditorContext.js +2 -1
  359. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
  360. package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
  361. package/src/components/FileDroppable/index.js +2 -1
  362. package/src/components/FormLayout/index.js +2 -1
  363. package/src/components/Input/index.d.ts +1 -1
  364. package/src/components/List/ListGroupItem/index.d.ts +2 -4
  365. package/src/components/Loader/Loader.js +4 -2
  366. package/src/components/Logo/index.js +2 -1
  367. package/src/components/Modal/Backdrop.js +2 -1
  368. package/src/components/Modal/index.js +2 -1
  369. package/src/components/OverlayTrigger/Overlay.js +2 -1
  370. package/src/components/OverlayTrigger/index.js +2 -1
  371. package/src/components/OverlayTrigger/utils.js +6 -3
  372. package/src/components/PopupWithFooter.d.ts +1 -1
  373. package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
  374. package/src/components/Radio/index.js +4 -2
  375. package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
  376. package/src/components/ResizeObserver/index.js +6 -3
  377. package/src/components/SelectList.js +2 -1
  378. package/src/components/SelectableList/index.js +2 -1
  379. package/src/components/SimpleButton/index.d.ts +2 -1
  380. package/src/components/SimpleButton/index.js +19 -6
  381. package/src/components/StylePreview.js +2 -1
  382. package/src/components/Tabs/index.js +6 -3
  383. package/src/components/Textarea/index.d.ts +5 -1
  384. package/src/components/ToggleButton/index.js +2 -1
  385. package/src/components/WindowModal/WindowModal.js +2 -1
  386. package/src/components/WindowModal/useStacking.js +2 -1
  387. package/src/components/icons/DefaultIcon.js +2 -1
  388. package/src/components/icons/index.d.ts +3 -1
  389. package/src/components/icons/index.js +10 -2
  390. package/src/components/utils/useContainerScrollObserver/index.js +2 -1
  391. package/src/components/utils/useGlobalEvent.js +2 -1
  392. package/src/components/utils/useLatest.js +2 -1
  393. package/src/components/utils/useRerender.js +2 -1
  394. package/src/components/utils/uuid.js +2 -1
  395. package/src/metamodel/adaptable.metamodel.d.ts +145 -111
  396. package/src/metamodel/adaptable.metamodel.js +195 -172
  397. package/src/types.d.ts +6 -4
  398. package/version.d.ts +1 -1
  399. package/version.js +1 -1
  400. package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
  401. package/src/components/ApplicationIcon.d.ts +0 -6
  402. package/src/components/ApplicationIcon.js +0 -13
@@ -0,0 +1,34 @@
1
+ import { BaseEventInfo } from './BaseEventInfo';
2
+ import { AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
3
+ import { RowNode } from '@ag-grid-community/all-modules';
4
+ /**
5
+ * Info passed into ActionRowSubmitted Event - can be `CreatedActionRowInfo` or `EditedActionRowInfo` or `DeletedActionRowInfo`
6
+ */
7
+ export declare type ActionRowSubmittedInfo = CreatedActionRowInfo | EditedActionRowInfo | DeletedActionRowInfo;
8
+ /**
9
+ * Type of Action Row - Created, Edited or Deleted
10
+ */
11
+ export declare type ActionRowType = 'rowCreated' | 'rowEdited' | 'rowDeleted';
12
+ /**
13
+ * Info passed into ActionRowSubmitted Event for Created Rows
14
+ */
15
+ export interface CreatedActionRowInfo extends BaseEventInfo {
16
+ type: 'rowCreated';
17
+ formData: AdaptableFormData;
18
+ clonedRowNode?: RowNode;
19
+ }
20
+ /**
21
+ * Info passed into ActionRowSubmitted Event for Edited Rows
22
+ */
23
+ export interface EditedActionRowInfo extends BaseEventInfo {
24
+ type: 'rowEdited';
25
+ formData: AdaptableFormData;
26
+ rowNode: RowNode;
27
+ }
28
+ /**
29
+ * Info passed into ActionRowSubmitted Event for Deleted Rows
30
+ */
31
+ export interface DeletedActionRowInfo extends BaseEventInfo {
32
+ type: 'rowDeleted';
33
+ rowNode: RowNode;
34
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -464,18 +464,4 @@ export interface GridApi {
464
464
  * Opens Settings Panel with Grid Info section selected and visible
465
465
  */
466
466
  showGridInfoPopup(): void;
467
- /**
468
- * Open edit dialog for row with the given primary key value
469
- * @param primaryKey - the primary key of the edited row
470
- */
471
- openEditRowForm(primaryKey: any): void;
472
- /**
473
- * Open create dialog for a new row
474
- */
475
- openCreateRowForm(): void;
476
- /**
477
- * Open create dialog for cloning an existing row
478
- * @param clonedRowNodePrimaryKey - the primary key of the duplicated row
479
- */
480
- openCloneRowForm(clonedRowNodePrimaryKey?: any): void;
481
467
  }
@@ -0,0 +1,8 @@
1
+ import { ActionApi, ActionColumn } from '../../../types';
2
+ import { ApiBase } from './ApiBase';
3
+ export declare class ActionApiImpl extends ApiBase implements ActionApi {
4
+ getAllActionColumn(): ActionColumn[];
5
+ displayEditActionRow(primaryKey: any): void;
6
+ displayCreateActionRow(duplicatedRowNodePrimaryKey?: any): void;
7
+ displayCloneActionRow(clonedRowNodePrimaryKey?: any): void;
8
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActionApiImpl = void 0;
4
+ const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
5
+ const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
6
+ const ApiBase_1 = require("./ApiBase");
7
+ class ActionApiImpl extends ApiBase_1.ApiBase {
8
+ getAllActionColumn() {
9
+ var _a;
10
+ return (_a = this.getActionOptions().actionColumns) !== null && _a !== void 0 ? _a : [];
11
+ }
12
+ displayEditActionRow(primaryKey) {
13
+ const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(primaryKey);
14
+ if (!rowNode) {
15
+ LoggingHelper_1.LogAdaptableWarning(`Can NOT edit row: rowNode not found for primaryKey ${primaryKey}`);
16
+ }
17
+ const editForm = this.adaptable.api.internalApi
18
+ .getRowEditService()
19
+ .buildRowEditForm(rowNode);
20
+ this.dispatchAction(PopupRedux_1.PopupShowForm({
21
+ Id: 'edit_row_form',
22
+ Form: editForm,
23
+ // formProps are added to the formContext
24
+ FormProps: {
25
+ rowNode,
26
+ },
27
+ }));
28
+ }
29
+ displayCreateActionRow(duplicatedRowNodePrimaryKey) {
30
+ const createForm = this.adaptable.api.internalApi
31
+ .getRowEditService()
32
+ .buildRowCreateForm();
33
+ this.dispatchAction(PopupRedux_1.PopupShowForm({
34
+ Id: 'create_row_form',
35
+ Form: createForm,
36
+ }));
37
+ }
38
+ displayCloneActionRow(clonedRowNodePrimaryKey) {
39
+ const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(clonedRowNodePrimaryKey);
40
+ if (!rowNode) {
41
+ LoggingHelper_1.LogAdaptableWarning(`Can NOT clone row: rowNode not found for primaryKey ${clonedRowNodePrimaryKey}`);
42
+ }
43
+ const createForm = this.adaptable.api.internalApi
44
+ .getRowEditService()
45
+ .buildRowCreateForm(rowNode);
46
+ this.dispatchAction(PopupRedux_1.PopupShowForm({
47
+ Id: 'create_row_form',
48
+ Form: createForm,
49
+ // formProps are added to the formContext
50
+ FormProps: {
51
+ clonedRowNode: rowNode,
52
+ },
53
+ }));
54
+ }
55
+ }
56
+ exports.ActionApiImpl = ActionApiImpl;
@@ -38,8 +38,10 @@ import { DataChangeHistoryApi } from '../DataChangeHistoryApi';
38
38
  import { FlashingCellApi } from '../FlashingCellApi';
39
39
  import { ChartingApi } from '../ChartingApi';
40
40
  import { StatusBarApi } from '../StatusBarApi';
41
+ import { ActionApi } from '../../../types';
41
42
  export declare class AdaptableApiImpl implements AdaptableApi {
42
43
  protected adaptable: IAdaptable;
44
+ actionApi: ActionApi;
43
45
  applicationApi: ApplicationApi;
44
46
  alertApi: AlertApi;
45
47
  flashingCellApi: FlashingCellApi;
@@ -40,11 +40,13 @@ const QueryLanguageApiImpl_1 = require("./QueryLanguageApiImpl");
40
40
  const FlashingCellApiImpl_1 = require("./FlashingCellApiImpl");
41
41
  const ChartingApiImpl_1 = require("./ChartingApiImpl");
42
42
  const SettingsPanelApiImpl_1 = require("./SettingsPanelApiImpl");
43
+ const ActionApiImpl_1 = require("./ActionApiImpl");
43
44
  class AdaptableApiImpl {
44
45
  constructor(adaptable) {
45
46
  this.adaptable = adaptable;
46
47
  this.destroyed = false;
47
48
  this.adaptable = adaptable;
49
+ this.actionApi = new ActionApiImpl_1.ActionApiImpl(adaptable);
48
50
  this.applicationApi = new ApplicationApiImpl_1.ApplicationApiImpl(adaptable);
49
51
  this.alertApi = new AlertApiImpl_1.AlertApiImpl(adaptable);
50
52
  this.flashingCellApi = new FlashingCellApiImpl_1.FlashingCellApiImpl(adaptable);
@@ -7,7 +7,7 @@ import { ModuleInfo } from '../../Strategy/Interface/IModule';
7
7
  import { AdaptableOptions } from '../../AdaptableOptions/AdaptableOptions';
8
8
  import { AdaptableApi } from '../AdaptableApi';
9
9
  import { ExportOptions } from '../../AdaptableOptions/ExportOptions';
10
- import { ContainerOptions, DashboardOptions, EditOptions, FilterOptions, GeneralOptions, LayoutOptions, MenuOptions, SearchOptions, StateOptions, TeamSharingOptions, UserInterfaceOptions } from '../../types';
10
+ import { ActionOptions, ContainerOptions, DashboardOptions, EditOptions, FilterOptions, GeneralOptions, LayoutOptions, MenuOptions, SearchOptions, StateOptions, TeamSharingOptions, UserInterfaceOptions } from '../../types';
11
11
  import { NotificationsOptions } from '../../AdaptableOptions/NotificationsOptions';
12
12
  import { ToolPanelOptions } from '../../AdaptableOptions/ToolPanelOptions';
13
13
  import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
@@ -46,6 +46,7 @@ export declare abstract class ApiBase {
46
46
  protected getModuleInfoByModuleId(module: AdaptableModule): ModuleInfo;
47
47
  protected showModulePopup(module: AdaptableModule, moduleParams?: ModuleParams): void;
48
48
  protected getOptions(): AdaptableOptions;
49
+ protected getActionOptions(): ActionOptions;
49
50
  protected getColumnOptions(): ColumnOptions;
50
51
  protected getContainerOptions(): ContainerOptions;
51
52
  protected getNotificationsOptions(): NotificationsOptions;
@@ -74,6 +74,9 @@ class ApiBase {
74
74
  getOptions() {
75
75
  return this.adaptable.adaptableOptions;
76
76
  }
77
+ getActionOptions() {
78
+ return this.getOptions().actionOptions;
79
+ }
77
80
  getColumnOptions() {
78
81
  return this.getOptions().columnOptions;
79
82
  }
@@ -76,8 +76,8 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
76
76
  }
77
77
  isActionColumn(columnId) {
78
78
  var _a;
79
- return (((_a = this.adaptable.api.userInterfaceApi
80
- .getAllActionColumn()) === null || _a === void 0 ? void 0 : _a.find((cc) => cc.columnId == columnId)) != null);
79
+ return (((_a = this.adaptable.api.actionApi.getAllActionColumn()) === null || _a === void 0 ? void 0 : _a.find((cc) => cc.columnId == columnId)) !=
80
+ null);
81
81
  }
82
82
  isFormatNumericStyleColumn(column) {
83
83
  if (column) {
@@ -39,7 +39,7 @@ export declare class ConfigApiImpl extends ApiBase implements ConfigApi {
39
39
  setAdaptableStateKey(adaptableStateKey: string, config?: {
40
40
  predefinedConfig: PredefinedConfig;
41
41
  flushCurrentState?: boolean;
42
- }): Promise<any>;
42
+ }): Promise<void>;
43
43
  getDescriptionForModule(module: AdaptableModule): string;
44
44
  getHelpPageForModule(module: AdaptableModule): string;
45
45
  getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson?: boolean): ConfigState | string;
@@ -103,9 +103,6 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
103
103
  refreshRowNode(rowNode: RowNode): void;
104
104
  refreshRowNodes(rowNodes: RowNode[]): void;
105
105
  areCellsEditable(gridCells: GridCell[]): boolean;
106
- openEditRowForm(primaryKey: any): void;
107
- openCreateRowForm(duplicatedRowNodePrimaryKey?: any): void;
108
- openCloneRowForm(clonedRowNodePrimaryKey?: any): void;
109
106
  getRowCount(): number;
110
107
  getVisibleRowCount(): number;
111
108
  getRowsInViewport(): RowNode[];
@@ -7,7 +7,6 @@ const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/Grid
7
7
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
9
  const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
10
- const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
11
10
  class GridApiImpl extends ApiBase_1.ApiBase {
12
11
  getGridState() {
13
12
  return this.getAdaptableState().Grid;
@@ -373,49 +372,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
373
372
  }
374
373
  return true;
375
374
  }
376
- openEditRowForm(primaryKey) {
377
- const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(primaryKey);
378
- if (!rowNode) {
379
- LoggingHelper_1.LogAdaptableWarning(`Can NOT edit row: rowNode not found for primaryKey ${primaryKey}`);
380
- }
381
- const editForm = this.adaptable.api.internalApi
382
- .getRowEditService()
383
- .buildRowEditForm(rowNode);
384
- this.dispatchAction(PopupRedux_1.PopupShowForm({
385
- Id: 'edit_row_form',
386
- Form: editForm,
387
- // formProps are added to the formContext
388
- FormProps: {
389
- rowNode,
390
- },
391
- }));
392
- }
393
- openCreateRowForm(duplicatedRowNodePrimaryKey) {
394
- const createForm = this.adaptable.api.internalApi
395
- .getRowEditService()
396
- .buildRowCreateForm();
397
- this.dispatchAction(PopupRedux_1.PopupShowForm({
398
- Id: 'create_row_form',
399
- Form: createForm,
400
- }));
401
- }
402
- openCloneRowForm(clonedRowNodePrimaryKey) {
403
- const rowNode = this.adaptable.api.gridApi.getRowNodeForPrimaryKey(clonedRowNodePrimaryKey);
404
- if (!rowNode) {
405
- LoggingHelper_1.LogAdaptableWarning(`Can NOT clone row: rowNode not found for primaryKey ${clonedRowNodePrimaryKey}`);
406
- }
407
- const createForm = this.adaptable.api.internalApi
408
- .getRowEditService()
409
- .buildRowCreateForm(rowNode);
410
- this.dispatchAction(PopupRedux_1.PopupShowForm({
411
- Id: 'create_row_form',
412
- Form: createForm,
413
- // formProps are added to the formContext
414
- FormProps: {
415
- clonedRowNode: rowNode,
416
- },
417
- }));
418
- }
419
375
  getRowCount() {
420
376
  return this.adaptable.getRowCount();
421
377
  }
@@ -1,8 +1,9 @@
1
1
  import { AdaptableStatusBar } from '../../PredefinedConfig/StatusBarState';
2
2
  import { StatusBarApi } from '../StatusBarApi';
3
3
  import { ApiBase } from './ApiBase';
4
+ import { GridOptions } from '@ag-grid-community/all-modules';
4
5
  export declare class StatusBarApiImpl extends ApiBase implements StatusBarApi {
5
- getStatusPanels(): AdaptableStatusBar[];
6
- getAgGridStatusPanels(): import("@ag-grid-community/core").StatusPanelDef[];
7
- setStatusPanels(statusPanels: AdaptableStatusBar[]): void;
6
+ getAdaptableStatusBars(): AdaptableStatusBar[];
7
+ getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
8
+ setStatusBarPanels(statusPanels: AdaptableStatusBar[]): void;
8
9
  }
@@ -4,13 +4,13 @@ exports.StatusBarApiImpl = void 0;
4
4
  const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  class StatusBarApiImpl extends ApiBase_1.ApiBase {
7
- getStatusPanels() {
7
+ getAdaptableStatusBars() {
8
8
  return StatusBarRedux_1.getStatusPanelsSelector(this.getAdaptableState());
9
9
  }
10
10
  getAgGridStatusPanels() {
11
11
  return this.adaptable.getAgGridStatusPanels();
12
12
  }
13
- setStatusPanels(statusPanels) {
13
+ setStatusBarPanels(statusPanels) {
14
14
  this.getAdaptableApi().internalApi.dispatchReduxAction(StatusBarRedux_1.StatusBarSetPanels(statusPanels));
15
15
  }
16
16
  }
@@ -27,7 +27,8 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
27
27
  var _a, _b, _c;
28
28
  return (!this.getAdaptableApi()
29
29
  .internalApi.getEntitlementService()
30
- .isModuleHiddenEntitlement(ModuleConstants.TeamSharingModuleId) && ((_a = this.adaptable.adaptableOptions.teamSharingOptions) === null || _a === void 0 ? void 0 : _a.enableTeamSharing) &&
30
+ .isModuleHiddenEntitlement(ModuleConstants.TeamSharingModuleId) &&
31
+ ((_a = this.adaptable.adaptableOptions.teamSharingOptions) === null || _a === void 0 ? void 0 : _a.enableTeamSharing) &&
31
32
  !!((_b = this.adaptable.adaptableOptions.teamSharingOptions) === null || _b === void 0 ? void 0 : _b.getSharedEntities) &&
32
33
  !!((_c = this.adaptable.adaptableOptions.teamSharingOptions) === null || _c === void 0 ? void 0 : _c.setSharedEntities));
33
34
  }
@@ -3,7 +3,7 @@ import { UserInterfaceApi } from '../UserInterfaceApi';
3
3
  import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { AdaptableStyle } from '../../PredefinedConfig/Common/AdaptableStyle';
5
5
  import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../../PredefinedConfig/Common/Menu';
6
- import { ActionColumn, BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
6
+ import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
7
7
  import { AdaptableObjectTag, GridCell } from '../../types';
8
8
  export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfaceApi {
9
9
  getColorPalette(): string[];
@@ -25,5 +25,4 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
25
25
  getEditableCellStyle(): AdaptableStyle | undefined;
26
26
  getReadOnlyCellStyle(): AdaptableStyle | undefined;
27
27
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
28
- getAllActionColumn(): ActionColumn[];
29
28
  }
@@ -162,9 +162,5 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
162
162
  }
163
163
  }
164
164
  }
165
- getAllActionColumn() {
166
- var _a, _b;
167
- return (_b = (_a = this.getUserInterfaceOptions().actionOptions) === null || _a === void 0 ? void 0 : _a.actionColumns) !== null && _b !== void 0 ? _b : [];
168
- }
169
165
  }
170
166
  exports.UserInterfaceApiImpl = UserInterfaceApiImpl;
@@ -4,7 +4,14 @@ export interface StatusBarApi {
4
4
  /**
5
5
  * Retrieves the current AG Grid Status Bar Panels
6
6
  */
7
- getAgGridStatusPanels: () => GridOptions['statusBar']['statusPanels'];
8
- getStatusPanels: () => AdaptableStatusBar[];
9
- setStatusPanels: (statusPanels: AdaptableStatusBar[]) => void;
7
+ getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
8
+ /**
9
+ * Retrieves the current Adaptable Status Bar Panels
10
+ */
11
+ getAdaptableStatusBars: () => AdaptableStatusBar[];
12
+ /**
13
+ * Sets the current Adaptable Status Bar Panels
14
+ * @param statusPanels the Adaptable Status Bar Panels
15
+ */
16
+ setStatusBarPanels: (statusPanels: AdaptableStatusBar[]) => void;
10
17
  }
@@ -1,7 +1,7 @@
1
1
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
2
2
  import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
3
3
  import { ColumnMenuContext, ContextMenuContext, UserMenuItem } from '../PredefinedConfig/Common/Menu';
4
- import { ActionColumn, BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../AdaptableOptions/UserInterfaceOptions';
4
+ import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../AdaptableOptions/UserInterfaceOptions';
5
5
  import { GridCell } from '../PredefinedConfig/Selection/GridCell';
6
6
  import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
7
7
  /**
@@ -74,8 +74,4 @@ export interface UserInterfaceApi {
74
74
  * Retrieves any Object Tags (provided in User Interface Options)
75
75
  */
76
76
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
77
- /**
78
- * Retrieves any Action Columns (provided in User Interface Options)
79
- */
80
- getAllActionColumn(): ActionColumn[];
81
77
  }
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isAdaptableRowChangedAlert = exports.isAdaptableCellChangedAlert = void 0;
4
- exports.isAdaptableCellChangedAlert = (alert) => {
4
+ const isAdaptableCellChangedAlert = (alert) => {
5
5
  return alert.alertType === 'cellChanged';
6
6
  };
7
- exports.isAdaptableRowChangedAlert = (alert) => {
7
+ exports.isAdaptableCellChangedAlert = isAdaptableCellChangedAlert;
8
+ const isAdaptableRowChangedAlert = (alert) => {
8
9
  return alert.alertType === 'rowChanged';
9
10
  };
11
+ exports.isAdaptableRowChangedAlert = isAdaptableRowChangedAlert;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isValidOrderForColumnGroups = void 0;
4
4
  // this is only implemented for 1 level groups
5
- exports.isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
5
+ const isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
6
6
  const getGroups = (columns) => {
7
7
  let prevGroup = '';
8
8
  let count = 0;
@@ -24,3 +24,4 @@ exports.isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
24
24
  }
25
25
  return true;
26
26
  };
27
+ exports.isValidOrderForColumnGroups = isValidOrderForColumnGroups;
@@ -56,4 +56,4 @@ export interface AdaptableFormField {
56
56
  }[];
57
57
  }
58
58
  export declare type AdaptableFormFieldType = 'text' | 'select' | 'date' | 'number' | 'checkbox' | 'textOutput';
59
- export declare function getDefaultAdaptableFormData<T extends BaseContext = BaseContext>(formDef?: AdaptableForm<T>): Record<string, any>;
59
+ export declare function getDefaultAdaptableFormData<T extends BaseContext = BaseContext>(formDef?: AdaptableForm<T>): AdaptableFormData;
@@ -1,27 +1,33 @@
1
1
  import { CSSProperties } from 'react';
2
2
  /**
3
- * Defines an icon to be used in AdapTable (e.g. in Dashboard Header and Buttons)
3
+ * Defines an icon to be used in AdapTable (e.g. in Dashboard Header, Buttons, Menu, etc.)
4
4
  */
5
- export interface AdaptableIcon {
6
- /**
7
- * url specifying where icon can be found (mandatory)
8
- */
5
+ export declare type AdaptableIcon = AdaptableInternalIcon | AdaptableExternalIcon;
6
+ /**
7
+ * Defines an icon from the internal AdapTable icon set
8
+ */
9
+ export interface AdaptableInternalIcon extends AdaptableBaseIcon {
10
+ name: AdaptableInternalIconName;
11
+ size?: number;
12
+ }
13
+ /**
14
+ * Defines an icon from an external source
15
+ */
16
+ export interface AdaptableExternalIcon extends AdaptableBaseIcon {
9
17
  src: string;
18
+ }
19
+ /**
20
+ * Base interface for AdaptableIcon
21
+ */
22
+ interface AdaptableBaseIcon {
10
23
  /**
11
- * CSS Properties
24
+ * The class name of the icon
12
25
  */
13
- cssProperties?: CSSProperties;
26
+ className?: string;
14
27
  /**
15
- * The style for the icon - has height and width properties
28
+ * CSS Properties
16
29
  */
17
- style?: {
18
- /**
19
- * Width of the icon
20
- */
21
- width?: number | string;
22
- /**
23
- * Height of the icon
24
- */
25
- height?: number | string;
26
- };
30
+ style?: CSSProperties;
27
31
  }
32
+ export declare type AdaptableInternalIconName = string;
33
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { AdaptableScope } from './AdaptableScope';
2
2
  import { AdaptableColumn } from './AdaptableColumn';
3
- import { AdaptableApi } from '../../types';
3
+ import { AdaptableApi, AdaptableIcon } from '../../types';
4
4
  import { RowNode } from '@ag-grid-community/all-modules';
5
5
  /**
6
6
  * Predicate object used by AdapTableQL - essentially a boolean function
@@ -50,9 +50,7 @@ export interface AdaptablePredicateDef {
50
50
  /**
51
51
  * Icon to show (primarily used in Filter dropdown)
52
52
  */
53
- icon?: {
54
- path: string;
55
- } | {
53
+ icon?: AdaptableIcon | {
56
54
  text: string;
57
55
  };
58
56
  /**