@adaptabletools/adaptable 11.3.0 → 12.0.0-canary.2

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 (311) hide show
  1. package/base.css +568 -273
  2. package/bundle.cjs.js +114 -114
  3. package/index.css +642 -270
  4. package/package.json +2 -2
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -0
  8. package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -1
  9. package/src/AdaptableOptions/ActionOptions.d.ts +1 -0
  10. package/src/AdaptableOptions/{FormatColumnOptions.js → ActionOptions.js} +0 -0
  11. package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +5 -0
  12. package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -10
  13. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +5 -0
  14. package/src/AdaptableOptions/AlertOptions.d.ts +14 -1
  15. package/src/AdaptableOptions/ColumnOptions.d.ts +49 -0
  16. package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.js → ColumnOptions.js} +0 -0
  17. package/src/AdaptableOptions/DashboardOptions.d.ts +2 -7
  18. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -0
  19. package/src/AdaptableOptions/EditOptions.d.ts +6 -7
  20. package/src/AdaptableOptions/EntitlementOptions.d.ts +7 -1
  21. package/src/AdaptableOptions/ExportOptions.d.ts +9 -8
  22. package/src/AdaptableOptions/FilterOptions.d.ts +6 -1
  23. package/src/AdaptableOptions/GeneralOptions.d.ts +25 -23
  24. package/src/AdaptableOptions/{MasterDetailAgGridPluginOptions.d.ts → MasterDetailPluginOptions.d.ts} +2 -4
  25. package/src/{Api/DataSourceApi.js → AdaptableOptions/MasterDetailPluginOptions.js} +0 -0
  26. package/src/AdaptableOptions/SettingsPanelOptions.d.ts +3 -6
  27. package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -49
  28. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +88 -57
  29. package/src/Api/AdaptableApi.d.ts +6 -3
  30. package/src/Api/ColumnApi.d.ts +9 -4
  31. package/src/Api/ConditionalStyleApi.d.ts +10 -0
  32. package/src/Api/ConfigApi.d.ts +0 -12
  33. package/src/Api/DashboardApi.d.ts +6 -19
  34. package/src/Api/DataSetApi.d.ts +40 -0
  35. package/src/{PredefinedConfig/DataSourceState.js → Api/DataSetApi.js} +0 -0
  36. package/src/Api/EventApi.d.ts +26 -1
  37. package/src/Api/Events/DataSetChanged.d.ts +5 -0
  38. package/src/{PredefinedConfig/FilterState.js → Api/Events/DataSetChanged.js} +0 -0
  39. package/src/Api/Events/SearchChanged.d.ts +4 -5
  40. package/src/Api/ExportApi.d.ts +2 -2
  41. package/src/Api/FilterApi.d.ts +28 -36
  42. package/src/Api/GridApi.d.ts +1 -1
  43. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  44. package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
  45. package/src/Api/Implementation/AlertApiImpl.js +5 -1
  46. package/src/Api/Implementation/ApiBase.d.ts +3 -0
  47. package/src/Api/Implementation/ApiBase.js +6 -0
  48. package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -4
  49. package/src/Api/Implementation/ColumnApiImpl.js +17 -16
  50. package/src/Api/Implementation/ConditionalStyleApiImpl.d.ts +2 -0
  51. package/src/Api/Implementation/ConditionalStyleApiImpl.js +8 -0
  52. package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
  53. package/src/Api/Implementation/ConfigApiImpl.js +2 -24
  54. package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -6
  55. package/src/Api/Implementation/DashboardApiImpl.js +5 -29
  56. package/src/Api/Implementation/DataSetApiImpl.d.ts +12 -0
  57. package/src/Api/Implementation/DataSetApiImpl.js +42 -0
  58. package/src/Api/Implementation/EventApiImpl.js +1 -0
  59. package/src/Api/Implementation/ExportApiImpl.d.ts +2 -2
  60. package/src/Api/Implementation/FilterApiImpl.d.ts +11 -11
  61. package/src/Api/Implementation/FilterApiImpl.js +59 -72
  62. package/src/Api/Implementation/FormatColumnApiImpl.js +2 -2
  63. package/src/Api/Implementation/GridApiImpl.d.ts +1 -1
  64. package/src/Api/Implementation/GridApiImpl.js +7 -3
  65. package/src/Api/Implementation/InternalApiImpl.d.ts +3 -2
  66. package/src/Api/Implementation/InternalApiImpl.js +14 -3
  67. package/src/Api/Implementation/LayoutApiImpl.d.ts +3 -0
  68. package/src/Api/Implementation/LayoutApiImpl.js +20 -0
  69. package/src/Api/Implementation/PredicateApiImpl.d.ts +2 -0
  70. package/src/Api/Implementation/PredicateApiImpl.js +19 -1
  71. package/src/Api/Implementation/SmartEditApiImpl.d.ts +3 -1
  72. package/src/Api/Implementation/SmartEditApiImpl.js +6 -0
  73. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +5 -3
  74. package/src/Api/Implementation/TeamSharingApiImpl.js +28 -10
  75. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
  76. package/src/Api/Implementation/UserInterfaceApiImpl.js +4 -4
  77. package/src/Api/InternalApi.d.ts +3 -2
  78. package/src/Api/LayoutApi.d.ts +16 -0
  79. package/src/Api/PredicateApi.d.ts +7 -0
  80. package/src/Api/SmartEditApi.d.ts +8 -2
  81. package/src/Api/TeamSharingApi.d.ts +18 -5
  82. package/src/Api/UserInterfaceApi.d.ts +4 -4
  83. package/src/PredefinedConfig/AdaptableState.d.ts +0 -4
  84. package/src/PredefinedConfig/Common/AdaptableButton.d.ts +3 -3
  85. package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
  86. package/src/PredefinedConfig/Common/AdaptablePredicate.js +18 -1
  87. package/src/PredefinedConfig/{FilterState.d.ts → Common/ColumnFilter.d.ts} +2 -33
  88. package/src/PredefinedConfig/Common/ColumnFilter.js +2 -0
  89. package/src/PredefinedConfig/Common/Enums.d.ts +2 -2
  90. package/src/PredefinedConfig/Common/Enums.js +1 -1
  91. package/src/PredefinedConfig/Common/FormContext.d.ts +8 -0
  92. package/src/PredefinedConfig/Common/FormContext.js +2 -0
  93. package/src/PredefinedConfig/Common/Types.d.ts +6 -5
  94. package/src/PredefinedConfig/Common/Types.js +2 -3
  95. package/src/PredefinedConfig/LayoutState.d.ts +5 -0
  96. package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -10
  97. package/src/PredefinedConfig/StatusBarState.d.ts +1 -2
  98. package/src/PredefinedConfig/SystemState.d.ts +3 -0
  99. package/src/Redux/ActionsReducers/LayoutRedux.d.ts +47 -0
  100. package/src/Redux/ActionsReducers/LayoutRedux.js +134 -1
  101. package/src/Redux/ActionsReducers/PopupRedux.d.ts +3 -2
  102. package/src/Redux/ActionsReducers/SystemRedux.d.ts +22 -0
  103. package/src/Redux/ActionsReducers/SystemRedux.js +39 -1
  104. package/src/Redux/Store/AdaptableStore.js +37 -39
  105. package/src/Strategy/AdaptableModuleBase.js +1 -2
  106. package/src/Strategy/AlertModule.d.ts +11 -0
  107. package/src/Strategy/AlertModule.js +14 -0
  108. package/src/Strategy/BulkUpdateModule.js +3 -4
  109. package/src/Strategy/CellSummaryModule.d.ts +3 -0
  110. package/src/Strategy/CellSummaryModule.js +29 -16
  111. package/src/Strategy/DataSetModule.d.ts +25 -0
  112. package/src/Strategy/DataSetModule.js +65 -0
  113. package/src/Strategy/ExportModule.js +6 -1
  114. package/src/Strategy/FilterModule.d.ts +7 -11
  115. package/src/Strategy/FilterModule.js +26 -20
  116. package/src/Strategy/FlashingCellModule.d.ts +1 -1
  117. package/src/Strategy/FlashingCellModule.js +2 -2
  118. package/src/Strategy/Interface/IModule.d.ts +3 -1
  119. package/src/Strategy/LayoutModule.js +25 -2
  120. package/src/Strategy/PlusMinusModule.js +1 -4
  121. package/src/Strategy/SmartEditModule.js +3 -3
  122. package/src/Strategy/StatusBarModule.js +1 -3
  123. package/src/Strategy/TeamSharingModule.js +1 -1
  124. package/src/Strategy/ToolPanelModule.js +1 -4
  125. package/src/Utilities/Constants/GeneralConstants.d.ts +8 -2
  126. package/src/Utilities/Constants/GeneralConstants.js +8 -2
  127. package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
  128. package/src/Utilities/Constants/ModuleConstants.js +2 -2
  129. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +17 -15
  130. package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
  131. package/src/Utilities/Helpers/AdaptableHelper.js +3 -1
  132. package/src/Utilities/ObjectFactory.d.ts +3 -6
  133. package/src/Utilities/ObjectFactory.js +3 -7
  134. package/src/Utilities/Services/CalculatedColumnExpressionService.js +6 -7
  135. package/src/Utilities/Services/EntitlementService.js +7 -1
  136. package/src/Utilities/Services/ModuleService.js +1 -1
  137. package/src/Utilities/Services/ReportService.js +2 -3
  138. package/src/Utilities/Services/RowEditService.d.ts +1 -0
  139. package/src/Utilities/Services/RowEditService.js +34 -2
  140. package/src/Utilities/Services/TeamSharingService.js +4 -4
  141. package/src/View/AdaptablePopover/index.d.ts +1 -0
  142. package/src/View/AdaptablePopover/index.js +5 -6
  143. package/src/View/AdaptableView.js +1 -1
  144. package/src/View/AdaptableViewFactory.js +2 -2
  145. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +8 -3
  146. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +3 -2
  147. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -2
  148. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +18 -0
  149. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +87 -0
  150. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +18 -0
  151. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +16 -0
  152. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +2 -9
  153. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -75
  154. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +3 -1
  155. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +9 -4
  156. package/src/View/AdaptableWizardView/Utils.d.ts +1 -0
  157. package/src/View/AdaptableWizardView/Utils.js +24 -0
  158. package/src/View/AdaptableWizardView/Wizard.d.ts +54 -0
  159. package/src/View/AdaptableWizardView/Wizard.js +98 -0
  160. package/src/View/AdaptableWizardView/index.d.ts +1 -22
  161. package/src/View/AdaptableWizardView/index.js +2 -103
  162. package/src/View/Alert/ActiveAlertsPanel.d.ts +2 -0
  163. package/src/View/Alert/ActiveAlertsPanel.js +15 -0
  164. package/src/View/Alert/AlertStatusSubPanel.js +3 -8
  165. package/src/View/Alert/AlertViewPanel.js +2 -2
  166. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +1 -1
  167. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +3 -3
  168. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
  169. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  170. package/src/View/BulkUpdate/BulkUpdatePopup.js +2 -3
  171. package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
  172. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -4
  173. package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +5 -6
  174. package/src/View/CellSummary/CellSummaryDetails.js +4 -4
  175. package/src/View/CellSummary/CellSummaryPopover.d.ts +2 -4
  176. package/src/View/CellSummary/CellSummaryPopover.js +3 -6
  177. package/src/View/CellSummary/CellSummaryPopup.js +8 -0
  178. package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +1 -1
  179. package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -2
  180. package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
  181. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +18 -8
  182. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +1 -2
  183. package/src/View/Components/ExternalRenderer.d.ts +3 -6
  184. package/src/View/Components/ExternalRenderer.js +5 -5
  185. package/src/View/Components/FilterForm/FilterForm.d.ts +1 -1
  186. package/src/View/Components/FilterForm/FilterForm.js +10 -8
  187. package/src/View/Components/FilterForm/QuickFilterForm.d.ts +1 -1
  188. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -4
  189. package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
  190. package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +0 -2
  191. package/src/View/Components/Popups/AdaptablePopupAlert.js +13 -11
  192. package/src/View/Components/Popups/AdaptableToaster.js +29 -9
  193. package/src/View/Components/PreviewResultsPanel.js +3 -3
  194. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -2
  195. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -9
  196. package/src/View/Components/WizardSummaryPage.js +2 -2
  197. package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
  198. package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +1 -1
  199. package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +1 -1
  200. package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +1 -1
  201. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
  202. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
  203. package/src/View/Dashboard/CustomDashboardButton.d.ts +11 -0
  204. package/src/View/Dashboard/CustomDashboardButton.js +47 -0
  205. package/src/View/Dashboard/CustomToolbarWrapper.d.ts +1 -0
  206. package/src/View/Dashboard/CustomToolbarWrapper.js +30 -11
  207. package/src/View/Dashboard/Dashboard.d.ts +1 -0
  208. package/src/View/Dashboard/Dashboard.js +8 -34
  209. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +19 -36
  210. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +3 -0
  211. package/src/View/DataChangeHistory/buildActionColumnButton.js +70 -0
  212. package/src/View/DataSet/DataSetSelector.d.ts +7 -0
  213. package/src/View/DataSet/DataSetSelector.js +18 -0
  214. package/src/View/DataSet/DataSetStatusPanelPopover.d.ts +2 -0
  215. package/src/View/DataSet/DataSetStatusPanelPopover.js +19 -0
  216. package/src/View/DataSet/DataSetViewPanel.d.ts +19 -0
  217. package/src/View/DataSet/DataSetViewPanel.js +58 -0
  218. package/src/View/Export/Wizard/ReportColumnsWizardSection.js +1 -1
  219. package/src/View/Export/Wizard/ReportNameWizardSection.js +1 -1
  220. package/src/View/Export/Wizard/ReportRowsWizardSection.js +1 -1
  221. package/src/View/Filter/ActiveFiltersPanel.js +1 -1
  222. package/src/View/Filter/FilterSummary.d.ts +5 -5
  223. package/src/View/Filter/FilterSummary.js +5 -4
  224. package/src/View/Filter/FilterViewPanel.d.ts +4 -4
  225. package/src/View/Filter/FilterViewPanel.js +10 -13
  226. package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +2 -2
  227. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +1 -1
  228. package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +1 -1
  229. package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
  230. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
  231. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
  232. package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +1 -1
  233. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
  234. package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +5 -6
  235. package/src/View/GridInfo/ColumnInfoComponent.js +1 -1
  236. package/src/View/GridInfo/GridInfoPopup.js +1 -1
  237. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -24
  238. package/src/View/Layout/Wizard/LayoutEditor/index.js +1 -1
  239. package/src/View/Layout/Wizard/LayoutEditorWizard.d.ts +1 -0
  240. package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
  241. package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +1 -1
  242. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
  243. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  244. package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +1 -1
  245. package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
  246. package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +1 -1
  247. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
  248. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
  249. package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +1 -1
  250. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
  251. package/src/View/SmartEdit/SmartEditPopup.js +2 -2
  252. package/src/View/SmartEdit/SmartEditViewPanel.js +2 -2
  253. package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
  254. package/src/View/StatusBar/AdaptableStatusBar.js +1 -1
  255. package/src/View/StatusBar/StatusBarPanel.d.ts +1 -0
  256. package/src/View/StatusBar/StatusBarPanel.js +5 -4
  257. package/src/View/Theme/ThemeStatusPanelPopover.js +5 -25
  258. package/src/View/UIHelper.d.ts +4 -4
  259. package/src/View/UIHelper.js +10 -10
  260. package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -2
  261. package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
  262. package/src/View/Wizard/OnePageAdaptableWizard.d.ts +5 -6
  263. package/src/View/Wizard/OnePageAdaptableWizard.js +35 -169
  264. package/src/View/Wizard/OnePageWizards.d.ts +37 -0
  265. package/src/View/Wizard/OnePageWizards.js +187 -0
  266. package/src/View/Wizard/useKeyboardNavigation.d.ts +1 -1
  267. package/src/agGrid/ActionColumnRenderer.js +3 -2
  268. package/src/agGrid/Adaptable.d.ts +4 -2
  269. package/src/agGrid/Adaptable.js +99 -58
  270. package/src/agGrid/FilterWrapper.js +1 -1
  271. package/src/agGrid/agGridHelper.d.ts +7 -8
  272. package/src/agGrid/agGridHelper.js +68 -86
  273. package/src/agGrid/agGridMenuHelper.js +4 -1
  274. package/src/agGrid/rowEditIcons.d.ts +1 -0
  275. package/src/agGrid/rowEditIcons.js +2 -1
  276. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -2
  277. package/src/components/Dashboard/DashboardToolbar.js +2 -2
  278. package/src/components/InfiniteTable/index.js +1 -0
  279. package/src/components/List/GridList/index.js +1 -1
  280. package/src/components/SelectList.d.ts +10 -0
  281. package/src/components/SelectList.js +9 -0
  282. package/src/components/WindowModal/WindowModal.js +13 -7
  283. package/src/components/icons/{data-source.d.ts → add-row.d.ts} +0 -0
  284. package/src/components/icons/add-row.js +7 -0
  285. package/src/components/icons/data-set.d.ts +3 -0
  286. package/src/components/icons/{data-source.js → data-set.js} +0 -0
  287. package/src/components/icons/index.js +4 -2
  288. package/src/metamodel/adaptable.metamodel.d.ts +163 -78
  289. package/src/metamodel/adaptable.metamodel.js +402 -322
  290. package/src/types.d.ts +16 -12
  291. package/version.d.ts +1 -1
  292. package/version.js +1 -1
  293. package/src/AdaptableOptions/FormatColumnOptions.d.ts +0 -10
  294. package/src/Api/DataSourceApi.d.ts +0 -58
  295. package/src/Api/Implementation/DataSourceApiImpl.d.ts +0 -15
  296. package/src/Api/Implementation/DataSourceApiImpl.js +0 -51
  297. package/src/PredefinedConfig/DataSourceState.d.ts +0 -34
  298. package/src/Redux/ActionsReducers/DataSourceRedux.d.ts +0 -42
  299. package/src/Redux/ActionsReducers/DataSourceRedux.js +0 -76
  300. package/src/Redux/ActionsReducers/FilterRedux.d.ts +0 -70
  301. package/src/Redux/ActionsReducers/FilterRedux.js +0 -126
  302. package/src/Strategy/DataSourceModule.d.ts +0 -20
  303. package/src/Strategy/DataSourceModule.js +0 -56
  304. package/src/View/DataSource/DataSourceViewPanel.d.ts +0 -19
  305. package/src/View/DataSource/DataSourceViewPanel.js +0 -69
  306. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.d.ts +0 -2
  307. package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +0 -17
  308. package/src/View/DataSource/Wizard/DataSourceSettingsWizard.d.ts +0 -8
  309. package/src/View/DataSource/Wizard/DataSourceSettingsWizard.js +0 -42
  310. package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +0 -8
  311. package/src/View/DataSource/Wizard/DataSourceWizard.js +0 -53
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "11.3.0",
3
+ "version": "12.0.0-canary.2",
4
4
  "description": "Powerful data-agnostic HTML5 datagrid add-on that sits on top of an underlying grid component and provides all the rich functionality that advanced users expect from their DataGrids and Data Tables",
5
5
  "keywords": [
6
6
  "web-components",
@@ -31,7 +31,7 @@
31
31
  "main": "agGrid.js",
32
32
  "typings": "types.d.ts",
33
33
  "dependencies": {
34
- "@infinite-table/infinite-react": "0.0.1-canary.11",
34
+ "@infinite-table/infinite-react": "0.3.10",
35
35
  "date-fns": "2.22.1",
36
36
  "debug": "^4.3.1",
37
37
  "isomorphic-fetch": "^2.2.1",
@@ -1,2 +1,2 @@
1
- declare const _default: 1653559619721;
1
+ declare const _default: 1654688737709;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1653559619721;
3
+ exports.default = 1654688737709;
@@ -16,6 +16,7 @@ export interface AdaptableNoCodeWizardOptions {
16
16
  helpText?: React.ReactNode;
17
17
  fileContentsToJSON?: (str: string) => Promise<any> | any;
18
18
  readFile?: (file: File) => Promise<any>;
19
+ skipToWizard?: boolean;
19
20
  loadingMessage?: React.ReactNode;
20
21
  prepareData?: (data: any, file?: File) => {
21
22
  columns: string[];
@@ -49,6 +49,10 @@ export interface IAdaptable {
49
49
  * Avoid unnecessary store calls and rendering
50
50
  */
51
51
  isInitialised: boolean;
52
+ /**
53
+ * TRUE if the Adaptable custom tool panel (side-bar) is displayed
54
+ */
55
+ hasAdaptableToolPanel: boolean;
52
56
  /**
53
57
  * Set to true when adaptable is destroyed.
54
58
  */
@@ -141,7 +145,6 @@ export interface IAdaptable {
141
145
  autoSizeAllColumns(): void;
142
146
  updateColumnsIntoStore(): void;
143
147
  setColumnOrder(visibleColumnList: string[]): void;
144
- getUserDefinedHeaderName(columnId: string): string;
145
148
  getPrimaryKeyValueFromRowNode(rowNode: RowNode): any;
146
149
  getColumnValueDisplayValuePairList(columnId: string, visibleRowsOnly: boolean, onlyIncludeIds?: {
147
150
  [key: string]: boolean;
@@ -0,0 +1 @@
1
+ export {};
@@ -29,3 +29,8 @@ export declare type AngularFrameworkComponent<T = unknown> = {
29
29
  export declare type ReactFrameworkComponent = ({ adaptableApi, }: {
30
30
  adaptableApi: AdaptableApi;
31
31
  }) => ReactElement;
32
+ export interface CustomRenderContext {
33
+ visible: boolean;
34
+ element: HTMLDivElement;
35
+ adaptableApi: AdaptableApi;
36
+ }
@@ -9,7 +9,6 @@ import { AdaptablePlugin } from './AdaptablePlugin';
9
9
  import { SearchOptions } from './SearchOptions';
10
10
  import { ExportOptions } from './ExportOptions';
11
11
  import { TeamSharingOptions } from './TeamSharingOptions';
12
- import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
13
12
  import { MenuOptions } from './MenuOptions';
14
13
  import { EntitlementOptions } from './EntitlementOptions';
15
14
  import { NotificationsOptions } from './NotificationsOptions';
@@ -22,7 +21,7 @@ import { GridOptions, Module } from '@ag-grid-community/all-modules';
22
21
  import { FlashingCellOptions } from './FlashingCellOptions';
23
22
  import { AlertOptions } from './AlertOptions';
24
23
  import { AdaptableQLOptions } from './AdaptableQLOptions';
25
- import { FormatColumnOptions } from './FormatColumnOptions';
24
+ import { ColumnOptions } from './ColumnOptions';
26
25
  /**
27
26
  * Group of property options enabling developers to set up AdapTable at design time to fit precise requirements - provides AG Grid, Predefined Config and other information required to ensure a full, rich user experience
28
27
  */
@@ -97,9 +96,9 @@ export interface AdaptableOptions {
97
96
  */
98
97
  containerOptions?: ContainerOptions;
99
98
  /**
100
- * Predicate definitions provided by developers at Design-Time
99
+ * Options for managing Columns
101
100
  */
102
- customPredicateDefs?: AdaptablePredicateDef[];
101
+ columnOptions?: ColumnOptions;
103
102
  /**
104
103
  * Options related to managing the Dashboard in AdapTable
105
104
  *
@@ -142,12 +141,6 @@ export interface AdaptableOptions {
142
141
  * @gridInfoContainer
143
142
  */
144
143
  flashingCellOptions?: FlashingCellOptions;
145
- /**
146
- * Options for managing format columns
147
- *
148
- * @gridInfoContainer
149
- */
150
- formatColumnOptions?: FormatColumnOptions;
151
144
  /**
152
145
  * General options to manage AdapTable e.g. grouping behaviour, Primary Keys
153
146
  *
@@ -1,4 +1,5 @@
1
1
  import { ExpressionFunctionMap } from '../parser/src/types';
2
+ import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
2
3
  import { AdaptableModule, AdaptableQLModules } from '../PredefinedConfig/Common/Types';
3
4
  /**
4
5
  * Options for managing AdaptableQL - the Adaptable Query Lanaguage which evaluates Predicates and Expressions
@@ -23,6 +24,10 @@ export interface AdaptableQLOptions {
23
24
  *
24
25
  */
25
26
  expressionOptions?: ExpressionOptions;
27
+ /**
28
+ * Definitions for Custom provided Predicates
29
+ */
30
+ customPredicateDefs?: AdaptablePredicateDef[];
26
31
  }
27
32
  /**
28
33
  * Options for managing Expressions using AdapTableQL
@@ -52,7 +52,7 @@ export interface AlertOptions {
52
52
  /**
53
53
  * Function providing Message to display in Alert; if empty, AdapTable provides dynamically
54
54
  */
55
- alertMessageText?: (alertDefinition: AlertDefinition, cellDataChangedInfo?: CellDataChangedInfo) => string | undefined;
55
+ alertMessageText?: (alertMessageContext: AlertMessageContext) => string | undefined;
56
56
  }
57
57
  /**
58
58
  * Handles a Form Button Action
@@ -93,3 +93,16 @@ export interface AlertButtonContext extends BaseContext {
93
93
  */
94
94
  formData?: AdaptableFormData;
95
95
  }
96
+ /**
97
+ * Context used for creating bespoke Alert messages
98
+ */
99
+ export interface AlertMessageContext {
100
+ /**
101
+ * Current Alert Definition
102
+ */
103
+ alertDefinition: AlertDefinition;
104
+ /**
105
+ * Data change that might have triggered the Alert
106
+ */
107
+ cellDataChangedInfo?: CellDataChangedInfo;
108
+ }
@@ -0,0 +1,49 @@
1
+ import { Column } from '@ag-grid-community/all-modules';
2
+ /**
3
+ * Options related to managing Columns in Adaptable.
4
+ */
5
+ export interface ColumnOptions {
6
+ /**
7
+ * Provide an alternative Friendly Name for a Column
8
+ */
9
+ columnFriendlyName?: (columnFriendlyNameContext: ColumnFriendlyNameContext) => string | undefined;
10
+ /**
11
+ * Optional list of Column Types - used primarily for Special Columns
12
+ */
13
+ columnTypes?: string[];
14
+ /**
15
+ * Show warning if AdapTable cannot find a column
16
+ *
17
+ * @defaultValue true
18
+ * @gridInfoItem
19
+ */
20
+ showMissingColumnsWarning?: boolean;
21
+ /**
22
+ * Order Grouped Column automatically, deriving from Adaptable State if available (CustomSort or Layout ColumnSort)
23
+ *
24
+ * The default group order will be derived from (in the specified priority): 1. an active CustomSort, 2. the defined ColDef Comparator, 3. current Layout ColumnSort or 4. alphanumerically
25
+ * @defaultValue true
26
+ * @gridInfoItem
27
+ */
28
+ autoOrderGroupedColumns?: boolean;
29
+ /**
30
+ * Automatically removes a column from the grid when it becomes Row Grouped
31
+ *
32
+ * @defaultValue false
33
+ * @gridInfoItem
34
+ */
35
+ hideColumnWhenGrouped?: boolean;
36
+ }
37
+ /**
38
+ * Context used when setting a Column Friendly Name
39
+ */
40
+ export interface ColumnFriendlyNameContext {
41
+ /**
42
+ * Id of the Column
43
+ */
44
+ colId: string;
45
+ /**
46
+ * AG Grid ColDef for the Column
47
+ */
48
+ agColumn: Column;
49
+ }
@@ -1,8 +1,7 @@
1
- import { AdaptableApi } from '../Api/AdaptableApi';
2
1
  import { AdaptableButton } from '../PredefinedConfig/Common/AdaptableButton';
3
2
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
4
3
  import { DashboardState } from '../PredefinedConfig/DashboardState';
5
- import { BaseContext } from '../types';
4
+ import { BaseContext, CustomRenderContext } from '../types';
6
5
  import { AdaptableFrameworkComponent } from './AdaptableFrameworkComponent';
7
6
  /**
8
7
  * Options related to the Dashboard in Adaptable.
@@ -63,11 +62,7 @@ export interface CustomToolbar extends AdaptableObject {
63
62
  /**
64
63
  * Function to provide custom content when NOT using a Framework wrapper
65
64
  */
66
- render?: ({ visible, node, adaptableApi, }: {
67
- visible: boolean;
68
- node: HTMLDivElement;
69
- adaptableApi: AdaptableApi;
70
- }) => string | null;
65
+ render?: (customRenderContext: CustomRenderContext) => string | null;
71
66
  /**
72
67
  * The Framework-specific (Angular or React) component to be rendered
73
68
  */
@@ -1,4 +1,19 @@
1
1
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
2
+ import { ActionColumnButtonContext, AdaptableButton } from '../types';
3
+ export declare type AdaptableDataChangeHistoryAction = 'undo';
4
+ export interface DataChangeHistoryContext extends ActionColumnButtonContext {
5
+ /**
6
+ * Helper function to undo the change.
7
+ */
8
+ undoDataChange: () => void;
9
+ /**
10
+ * If the change references a group node.
11
+ */
12
+ isGroupNode: boolean;
13
+ }
14
+ export interface DataChangeHistoryButton extends AdaptableButton<DataChangeHistoryContext> {
15
+ Action?: AdaptableDataChangeHistoryAction;
16
+ }
2
17
  /**
3
18
  * Options to manage the 'Data Change History Module', which provides an overview of all previous changes, giving the possibility to undo specific changes
4
19
  */
@@ -17,4 +32,8 @@ export interface DataChangeHistoryOptions {
17
32
  * @gridInfoItem
18
33
  */
19
34
  showDataChange?: (cellDataChangedInfo: CellDataChangedInfo) => boolean;
35
+ /**
36
+ * Action button definition. Can be used to implement undo functionality.
37
+ */
38
+ actionColumnButton?: DataChangeHistoryButton | DataChangeHistoryButton[];
20
39
  }
@@ -1,5 +1,6 @@
1
1
  import { RowNode } from '@ag-grid-community/all-modules';
2
- import { AdaptableButton, AdaptableColumn, AdaptableFormData, BaseContext, RowFormSubmittedInfo, RowFormType } from '../../types';
2
+ import { AdaptableButton, AdaptableColumn, BaseContext, RowFormSubmittedInfo, RowFormType } from '../../types';
3
+ import { FormContext } from '../PredefinedConfig/Common/FormContext';
3
4
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
4
5
  import { MathOperation } from '../PredefinedConfig/Common/Enums';
5
6
  import { GridCell } from '../PredefinedConfig/Selection/GridCell';
@@ -53,11 +54,11 @@ export declare type SmartEditCustomOperation = {
53
54
  /**
54
55
  * Name of the Custom Operation (as appears in AdapTable UI)
55
56
  */
56
- Name: string;
57
+ name: string;
57
58
  /**
58
59
  * Custom Operation function - returns a number
59
60
  */
60
- Operation: (context: SmartEditOperationContext) => number;
61
+ operation: (context: SmartEditOperationContext) => number;
61
62
  };
62
63
  export declare type SmartEditOperation = SmartEditCustomOperation | MathOperation;
63
64
  /**
@@ -108,14 +109,12 @@ export interface RowFormOptions {
108
109
  onFormSubmit?: (rowFormSubmittedInfo: RowFormSubmittedInfo) => void;
109
110
  }
110
111
  export declare type RowFormContext = CreateRowFormContext | EditRowFormContext;
111
- export interface CreateRowFormContext extends BaseContext {
112
+ export interface CreateRowFormContext extends FormContext {
112
113
  type: Extract<RowFormType, 'rowCreated'>;
113
- formData: AdaptableFormData;
114
114
  clonedRowNode?: RowNode;
115
115
  }
116
- export interface EditRowFormContext extends BaseContext {
116
+ export interface EditRowFormContext extends FormContext {
117
117
  type: Extract<RowFormType, 'rowEdited'>;
118
- formData: AdaptableFormData;
119
118
  rowNode: RowNode;
120
119
  }
121
120
  export interface FormParamContext extends BaseContext {
@@ -9,7 +9,7 @@ export interface EntitlementOptions {
9
9
  *
10
10
  * @gridInfoItem
11
11
  */
12
- moduleEntitlements?: Entitlement[] | ((adaptableModule: AdaptableModule, userName: string, adaptableId: string, defaultAccessLevel: AccessLevel) => AccessLevel | undefined);
12
+ moduleEntitlements?: Entitlement[] | ((entitlementContext: EntitlementContext) => AccessLevel | undefined);
13
13
  /**
14
14
  * AccessLevel to use when an Entitlement is not explicitly set; can be hardcoded value or a function to invoke
15
15
  *
@@ -18,3 +18,9 @@ export interface EntitlementOptions {
18
18
  */
19
19
  defaultAccessLevel?: AccessLevel | ((userName: string, adaptableId: string) => AccessLevel);
20
20
  }
21
+ export interface EntitlementContext {
22
+ adaptableModule: AdaptableModule;
23
+ userName: string;
24
+ adaptableId: string;
25
+ defaultAccessLevel: AccessLevel;
26
+ }
@@ -1,4 +1,5 @@
1
- import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
1
+ import { AdaptableForm } from '../PredefinedConfig/Common/AdaptableForm';
2
+ import { FormContext } from '../PredefinedConfig/Common/FormContext';
2
3
  import { ReportData, Report, SystemReportNames } from '../PredefinedConfig/ExportState';
3
4
  import { BaseContext } from '../types';
4
5
  /**
@@ -77,16 +78,16 @@ export interface CustomDestination {
77
78
  /**
78
79
  * Optional Adaptable Form - if provided, it must include Buttons that will execute the export
79
80
  */
80
- form?: AdaptableForm<ExportButtonContext>;
81
+ form?: AdaptableForm<ExportFormContext>;
81
82
  /**
82
83
  * Function invoked when export is applied (used if no form is supplied)
83
84
  */
84
- onExport?: (report: Report, reportData: ReportData) => void;
85
+ onExport?: (reportContext: ReportContext) => void;
85
86
  }
86
87
  /**
87
88
  * Context required by functions when using an Export Button
88
89
  */
89
- export interface ExportButtonContext extends BaseContext {
90
+ export interface ExportFormContext extends FormContext {
90
91
  /**
91
92
  * The exported report
92
93
  */
@@ -99,10 +100,10 @@ export interface ExportButtonContext extends BaseContext {
99
100
  * Custom Export destination
100
101
  */
101
102
  customDestination: CustomDestination;
102
- /**
103
- * Adaptable Form Data
104
- */
105
- formData: AdaptableFormData;
106
103
  }
107
104
  export declare type SystemExportDestinations = SystemExportDestination[];
108
105
  export declare type SystemExportDestination = 'Excel' | 'CSV' | 'Clipboard' | 'JSON';
106
+ export interface ReportContext extends BaseContext {
107
+ report: Report;
108
+ reportData: ReportData;
109
+ }
@@ -1,6 +1,6 @@
1
1
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
2
2
  import { FilterActionOnDataChange } from '../PredefinedConfig/Common/FilterActionOnDataChange';
3
- import { SystemFilterPredicateId, SystemFilterPredicateIds } from '../PredefinedConfig/FilterState';
3
+ import { SystemFilterPredicateId, SystemFilterPredicateIds } from '../../types';
4
4
  import { StrictExtract } from '../Utilities/Extensions/TypeExtensions';
5
5
  /**
6
6
  * Options for managing Filtering in AdapTable
@@ -145,4 +145,9 @@ export interface FilterOptions {
145
145
  * Which Adaptable System Filter Predicates are available
146
146
  */
147
147
  systemFilters?: SystemFilterPredicateIds;
148
+ /**
149
+ * Whether to display Quick Filter Bar between Column Header and the Grid (provided its been setup)
150
+ * @defaultValue true
151
+ */
152
+ showQuickFilter?: boolean;
148
153
  }
@@ -1,6 +1,7 @@
1
- import { AdaptableScope } from '../../types';
1
+ import { AdaptableForm, AdaptableObject, AdaptableScope } from '../../types';
2
2
  import { AdaptableComparerFunction } from '../PredefinedConfig/Common/AdaptableComparerFunction';
3
3
  import { AlternativeModuleName } from '../PredefinedConfig/Common/AlternativeModuleName';
4
+ import { FormContext } from '../PredefinedConfig/Common/FormContext';
4
5
  import { CellSummaryOperation } from '../PredefinedConfig/Common/CellSummary';
5
6
  /**
6
7
  * General options for configuring AdapTable including managing Primary Keys
@@ -20,13 +21,6 @@ export interface GeneralOptions {
20
21
  * @deprecated starting with Adaptable v10
21
22
  */
22
23
  hideEmptyGroupRows?: boolean;
23
- /**
24
- * Show warning if AdapTable cannot find a column
25
- *
26
- * @defaultValue true
27
- * @gridInfoItem
28
- */
29
- showMissingColumnsWarning?: boolean;
30
24
  /**
31
25
  * Show aggregated totals row at top of Grid when row grouping
32
26
  *
@@ -34,21 +28,6 @@ export interface GeneralOptions {
34
28
  * @gridInfoItem
35
29
  */
36
30
  showGroupingTotalsAsHeader?: boolean;
37
- /**
38
- * Order Grouped Column automatically, deriving from Adaptable State if available (CustomSort or Layout ColumnSort)
39
- *
40
- * The default group order will be derived from (in the specified priority): 1. an active CustomSort, 2. the defined ColDef Comparator, 3. current Layout ColumnSort or 4. alphanumerically
41
- * @defaultValue true
42
- * @gridInfoItem
43
- */
44
- autoOrderGroupedColumns?: boolean;
45
- /**
46
- * Automatically removes a column from the grid when it becomes Row Grouped
47
- *
48
- * @defaultValue false
49
- * @gridInfoItem
50
- */
51
- hideColumnWhenGrouped?: boolean;
52
31
  /**
53
32
  * Alternative names to use for Adaptable Modules in toolbars and menus
54
33
  *
@@ -77,6 +56,10 @@ export interface GeneralOptions {
77
56
  * CustomSort column comparer functions
78
57
  */
79
58
  customSortComparers?: ColumnValuesComparer[];
59
+ /**
60
+ * Collection of Data Sets to provide Data to AdapTable
61
+ */
62
+ dataSets?: DataSet[];
80
63
  }
81
64
  /**
82
65
  * Comparer object for Column Values - used for custom sorting
@@ -91,3 +74,22 @@ export interface ColumnValuesComparer {
91
74
  */
92
75
  comparer: AdaptableComparerFunction;
93
76
  }
77
+ /**
78
+ * Defines a Data Set object that can provide data to AdapTable
79
+ */
80
+ export interface DataSet extends AdaptableObject {
81
+ /**
82
+ * Name of Data Set
83
+ */
84
+ name: string;
85
+ /**
86
+ * Describes the Data Set
87
+ */
88
+ description: string;
89
+ /**
90
+ * Params for Data Set popup form
91
+ */
92
+ form?: AdaptableForm<DataSetFormContext>;
93
+ }
94
+ export interface DataSetFormContext extends FormContext {
95
+ }
@@ -1,10 +1,8 @@
1
1
  import { AdaptableOptions, AdaptableApi } from '../types';
2
2
  /**
3
- * Plugin Options used when creating a Master / Detail grid
4
- *
5
- * Passed into the plugin as the only argument.
3
+ * Plugin Options used when creating a Master / Detail grid - passed into the plugin as the only argument.
6
4
  */
7
- export interface MasterDetailAgGridPluginOptions {
5
+ export interface MasterDetailPluginOptions {
8
6
  /**
9
7
  * `AdaptableOptions` object to use for child Data Grids; **all** will share the same behaviour and State
10
8
  */
@@ -1,5 +1,6 @@
1
- import { AdaptableApi, AdaptableFrameworkComponent, AdaptableIcon } from '../../types';
1
+ import { AdaptableFrameworkComponent, AdaptableIcon } from '../../types';
2
2
  import { AdaptableSettingsPanel } from '../PredefinedConfig/Common/Types';
3
+ import { CustomRenderContext } from './AdaptableFrameworkComponent';
3
4
  export interface SettingsPanelOptions {
4
5
  /**
5
6
  * Title for the Settings Panel
@@ -76,11 +77,7 @@ export interface CustomSettingsPanel {
76
77
  /**
77
78
  * Function to provide bespoke content when NOT using a Framework wrapper
78
79
  */
79
- render?: ({ visible, node, adaptableApi, }: {
80
- visible: boolean;
81
- node: HTMLDivElement;
82
- adaptableApi: AdaptableApi;
83
- }) => string | null;
80
+ render?: (customRenderContext: CustomRenderContext) => string | null;
84
81
  /**
85
82
  * Framework-specific (Angular or React) component to be rendered
86
83
  */
@@ -1,55 +1,12 @@
1
1
  import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
2
- import { AdaptableApi } from '../Api/AdaptableApi';
3
2
  import { AdaptableFrameworkComponent } from './AdaptableFrameworkComponent';
4
3
  import { AdaptableButton } from '../PredefinedConfig/Common/AdaptableButton';
5
4
  import { ToolPanelState } from '../PredefinedConfig/ToolPanelState';
6
- import { BaseContext } from '../types';
5
+ import { BaseContext, CustomRenderContext } from '../types';
7
6
  /**
8
7
  * Options related to managing the AdapTable ToolPanel Component
9
8
  */
10
9
  export interface ToolPanelOptions {
11
- /**
12
- * Displays Adaptable ToolPanel Component (only if AG Grid Sidebar is provided)
13
- *
14
- * @defaultValue true
15
- * @gridInfoItem
16
- */
17
- showAdaptableToolPanel?: boolean;
18
- /**
19
- * Title for AdapTable ToolPanel Component - appears vertically at side
20
- *
21
- * @defaultValue 'AdapTable'
22
- * @gridInfoItem
23
- */
24
- adaptableToolPanelTitle?: string;
25
- /**
26
- * Key of icon to be used (beside the label) for Adaptable ToolPanel Component
27
- *
28
- * @defaultValue 'menu'
29
- * @gridInfoItem
30
- */
31
- iconKey?: string;
32
- /**
33
- * The initial width of AdapTable ToolPanel
34
- * @defaultValue var(--ab-cmp-toolpanel__width)
35
- */
36
- width?: number;
37
- /**
38
- * The min width of AdapTable ToolPanel
39
- * @defaultValue var(--ab-cmp-toolpanel__width)
40
- */
41
- minWidth?: number;
42
- /**
43
- * The max width of AdapTable ToolPanel
44
- * @defaultValue undefined
45
- */
46
- maxWidth?: number;
47
- /**
48
- * Order of displayed ToolPanels in Sidebar
49
- *
50
- * @defaultValue ['filters', 'columns', 'adaptable']
51
- */
52
- toolPanelOrder?: ('adaptable' | 'columns' | 'filters')[];
53
10
  /**
54
11
  * Display the Tool Panels dropdown
55
12
  *
@@ -85,11 +42,7 @@ export interface CustomToolPanel extends AdaptableObject {
85
42
  /**
86
43
  * Function to provide bespoke content when NOT using a Framework wrapper
87
44
  */
88
- render?: ({ visible, node, adaptableApi, }: {
89
- visible: boolean;
90
- node: HTMLDivElement;
91
- adaptableApi: AdaptableApi;
92
- }) => string | null;
45
+ render?: (customRenderContext: CustomRenderContext) => string | null;
93
46
  /**
94
47
  * Framework-specific (Angular or React) component to be rendered
95
48
  */