@adaptabletools/adaptable 13.1.1 → 14.0.0-canary.1

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 (382) hide show
  1. package/README.md +1 -1
  2. package/base.css +7 -2
  3. package/base.css.map +1 -1
  4. package/bundle.cjs.js +180 -177
  5. package/index.css +11 -2
  6. package/index.css.map +1 -1
  7. package/package.json +2 -2
  8. package/publishTimestamp.d.ts +1 -1
  9. package/publishTimestamp.js +1 -1
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -1
  11. package/src/AdaptableOptions/ActionOptions.d.ts +4 -1
  12. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -9
  13. package/src/AdaptableOptions/AlertOptions.d.ts +6 -1
  14. package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
  15. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
  16. package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
  17. package/src/AdaptableOptions/GeneralOptions.d.ts +8 -3
  18. package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +6 -4
  19. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -1
  20. package/src/Api/ActionApi.d.ts +14 -3
  21. package/src/Api/AdaptableApi.d.ts +0 -6
  22. package/src/Api/AlertApi.d.ts +127 -92
  23. package/src/Api/BulkUpdateApi.d.ts +9 -2
  24. package/src/Api/CalculatedColumnApi.d.ts +26 -21
  25. package/src/Api/CellSummaryApi.d.ts +15 -8
  26. package/src/Api/ChartingApi.d.ts +9 -2
  27. package/src/Api/ColumnApi.d.ts +153 -115
  28. package/src/Api/ConfigApi.d.ts +18 -18
  29. package/src/Api/CustomSortApi.d.ts +36 -7
  30. package/src/Api/DashboardApi.d.ts +12 -5
  31. package/src/Api/DataChangeHistoryApi.d.ts +8 -1
  32. package/src/Api/DataSetApi.d.ts +13 -3
  33. package/src/Api/EventApi.d.ts +2 -2
  34. package/src/Api/ExportApi.d.ts +30 -13
  35. package/src/Api/FilterApi.d.ts +74 -62
  36. package/src/Api/FlashingCellApi.d.ts +25 -9
  37. package/src/Api/FormatColumnApi.d.ts +76 -95
  38. package/src/Api/FreeTextColumnApi.d.ts +53 -21
  39. package/src/Api/GridApi.d.ts +57 -22
  40. package/src/Api/Implementation/ActionApiImpl.d.ts +9 -3
  41. package/src/Api/Implementation/ActionApiImpl.js +23 -11
  42. package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
  43. package/src/Api/Implementation/AdaptableApiImpl.js +5 -2
  44. package/src/Api/Implementation/AlertApiImpl.d.ts +57 -28
  45. package/src/Api/Implementation/AlertApiImpl.js +179 -197
  46. package/src/Api/Implementation/ApiBase.d.ts +43 -2
  47. package/src/Api/Implementation/ApiBase.js +129 -5
  48. package/src/Api/Implementation/ApplicationApiImpl.d.ts +1 -1
  49. package/src/Api/Implementation/BulkUpdateApiImpl.d.ts +1 -0
  50. package/src/Api/Implementation/BulkUpdateApiImpl.js +4 -1
  51. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +7 -2
  52. package/src/Api/Implementation/CalculatedColumnApiImpl.js +28 -37
  53. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +1 -0
  54. package/src/Api/Implementation/CellSummaryApiImpl.js +6 -1
  55. package/src/Api/Implementation/ChartingApiImpl.d.ts +2 -2
  56. package/src/Api/Implementation/ChartingApiImpl.js +10 -4
  57. package/src/Api/Implementation/ColumnApiImpl.d.ts +22 -6
  58. package/src/Api/Implementation/ColumnApiImpl.js +184 -195
  59. package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
  60. package/src/Api/Implementation/ConfigApiImpl.js +1 -1
  61. package/src/Api/Implementation/CustomSortApiImpl.d.ts +16 -1
  62. package/src/Api/Implementation/CustomSortApiImpl.js +33 -7
  63. package/src/Api/Implementation/DashboardApiImpl.d.ts +6 -1
  64. package/src/Api/Implementation/DashboardApiImpl.js +11 -12
  65. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
  66. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
  67. package/src/Api/Implementation/DataSetApiImpl.d.ts +6 -0
  68. package/src/Api/Implementation/DataSetApiImpl.js +17 -8
  69. package/src/Api/Implementation/EntitlementApiImpl.d.ts +1 -1
  70. package/src/Api/Implementation/ExportApiImpl.d.ts +9 -1
  71. package/src/Api/Implementation/ExportApiImpl.js +34 -68
  72. package/src/Api/Implementation/FilterApiImpl.d.ts +10 -1
  73. package/src/Api/Implementation/FilterApiImpl.js +61 -157
  74. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +8 -0
  75. package/src/Api/Implementation/FlashingCellApiImpl.js +23 -26
  76. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +20 -15
  77. package/src/Api/Implementation/FormatColumnApiImpl.js +62 -153
  78. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +13 -5
  79. package/src/Api/Implementation/FreeTextColumnApiImpl.js +42 -27
  80. package/src/Api/Implementation/GridApiImpl.d.ts +15 -1
  81. package/src/Api/Implementation/GridApiImpl.js +117 -61
  82. package/src/Api/Implementation/LayoutApiImpl.d.ts +8 -7
  83. package/src/Api/Implementation/LayoutApiImpl.js +29 -112
  84. package/src/Api/Implementation/PluginsApiImpl.d.ts +1 -1
  85. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -1
  86. package/src/Api/Implementation/PlusMinusApiImpl.js +5 -0
  87. package/src/Api/Implementation/PredicateApiImpl.d.ts +8 -5
  88. package/src/Api/Implementation/PredicateApiImpl.js +33 -98
  89. package/src/Api/Implementation/QueryApiImpl.d.ts +7 -2
  90. package/src/Api/Implementation/QueryApiImpl.js +22 -44
  91. package/src/Api/Implementation/QueryLanguageApiImpl.d.ts +4 -0
  92. package/src/Api/Implementation/QueryLanguageApiImpl.js +5 -0
  93. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +1 -0
  94. package/src/Api/Implementation/QuickSearchApiImpl.js +5 -0
  95. package/src/Api/Implementation/ScheduleApiImpl.d.ts +27 -0
  96. package/src/Api/Implementation/ScheduleApiImpl.js +86 -17
  97. package/src/Api/Implementation/ScopeApiImpl.js +9 -7
  98. package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +2 -0
  99. package/src/Api/Implementation/SettingsPanelApiImpl.js +9 -0
  100. package/src/Api/Implementation/ShortcutApiImpl.d.ts +8 -1
  101. package/src/Api/Implementation/ShortcutApiImpl.js +25 -4
  102. package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -0
  103. package/src/Api/Implementation/SmartEditApiImpl.js +5 -0
  104. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +14 -11
  105. package/src/Api/Implementation/StyledColumnApiImpl.js +40 -185
  106. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +6 -1
  107. package/src/Api/Implementation/SystemStatusApiImpl.js +19 -12
  108. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +6 -5
  109. package/src/Api/Implementation/TeamSharingApiImpl.js +15 -25
  110. package/src/Api/Implementation/ThemeApiImpl.d.ts +5 -1
  111. package/src/Api/Implementation/ThemeApiImpl.js +23 -4
  112. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -0
  113. package/src/Api/Implementation/UserInterfaceApiImpl.js +13 -4
  114. package/src/Api/Internal/ActionInternalApi.d.ts +23 -0
  115. package/src/Api/Internal/ActionInternalApi.js +198 -0
  116. package/src/Api/{Implementation/InternalApiImpl.d.ts → Internal/AdaptableInternalApi.d.ts} +7 -57
  117. package/src/Api/{Implementation/InternalApiImpl.js → Internal/AdaptableInternalApi.js} +28 -306
  118. package/src/Api/Internal/AlertInternalApi.d.ts +148 -0
  119. package/src/Api/Internal/AlertInternalApi.js +484 -0
  120. package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +24 -0
  121. package/src/Api/Internal/CalculatedColumnInternalApi.js +57 -0
  122. package/src/Api/Internal/ColumnInternalApi.d.ts +33 -0
  123. package/src/Api/Internal/ColumnInternalApi.js +67 -0
  124. package/src/Api/Internal/CustomSortInternalApi.d.ts +6 -0
  125. package/src/Api/Internal/CustomSortInternalApi.js +11 -0
  126. package/src/Api/Internal/DashboardInternalApi.d.ts +8 -0
  127. package/src/Api/Internal/DashboardInternalApi.js +26 -0
  128. package/src/Api/Internal/DataSetInternalApi.d.ts +9 -0
  129. package/src/Api/Internal/DataSetInternalApi.js +20 -0
  130. package/src/Api/Internal/ExportInternalApi.d.ts +11 -0
  131. package/src/Api/Internal/ExportInternalApi.js +73 -0
  132. package/src/Api/Internal/FilterInternalApi.d.ts +58 -0
  133. package/src/Api/Internal/FilterInternalApi.js +194 -0
  134. package/src/Api/Internal/FlashingCellInternalApi.d.ts +12 -0
  135. package/src/Api/Internal/FlashingCellInternalApi.js +56 -0
  136. package/src/Api/Internal/FormatColumnInternalApi.d.ts +109 -0
  137. package/src/Api/Internal/FormatColumnInternalApi.js +225 -0
  138. package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +15 -0
  139. package/src/Api/Internal/FreeTextColumnInternalApi.js +44 -0
  140. package/src/Api/Internal/GridInternalApi.d.ts +82 -0
  141. package/src/Api/Internal/GridInternalApi.js +252 -0
  142. package/src/Api/Internal/LayoutInternalApi.d.ts +48 -0
  143. package/src/Api/Internal/LayoutInternalApi.js +163 -0
  144. package/src/Api/Internal/PredicateInternalApi.d.ts +37 -0
  145. package/src/Api/Internal/PredicateInternalApi.js +140 -0
  146. package/src/Api/Internal/QueryInternalApi.d.ts +17 -0
  147. package/src/Api/Internal/QueryInternalApi.js +57 -0
  148. package/src/Api/Internal/QueryLanguageInternalApi.d.ts +11 -0
  149. package/src/Api/Internal/QueryLanguageInternalApi.js +34 -0
  150. package/src/Api/Internal/StyledColumnInternalApi.d.ts +59 -0
  151. package/src/Api/Internal/StyledColumnInternalApi.js +249 -0
  152. package/src/Api/Internal/SystemStatusInternalApi.d.ts +11 -0
  153. package/src/Api/Internal/SystemStatusInternalApi.js +27 -0
  154. package/src/Api/Internal/TeamSharingInternalApi.d.ts +20 -0
  155. package/src/Api/Internal/TeamSharingInternalApi.js +66 -0
  156. package/src/Api/LayoutApi.d.ts +28 -44
  157. package/src/Api/PlusMinusApi.d.ts +9 -2
  158. package/src/Api/PredicateApi.d.ts +26 -10
  159. package/src/Api/QueryApi.d.ts +23 -18
  160. package/src/Api/QuickSearchApi.d.ts +5 -1
  161. package/src/Api/ScheduleApi.d.ts +97 -16
  162. package/src/Api/SettingsPanelApi.d.ts +12 -1
  163. package/src/Api/ShortcutApi.d.ts +28 -7
  164. package/src/Api/SmartEditApi.d.ts +8 -1
  165. package/src/Api/StyledColumnApi.d.ts +34 -54
  166. package/src/Api/SystemStatusApi.d.ts +12 -6
  167. package/src/Api/TeamSharingApi.d.ts +4 -17
  168. package/src/Api/ThemeApi.d.ts +25 -6
  169. package/src/Api/UserInterfaceApi.d.ts +13 -2
  170. package/src/PredefinedConfig/AlertState.d.ts +1 -1
  171. package/src/PredefinedConfig/Common/AdaptableColumn.js +4 -0
  172. package/src/PredefinedConfig/Common/AdaptableForm.d.ts +0 -5
  173. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +10 -0
  174. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
  175. package/src/PredefinedConfig/Common/AdaptableObject.d.ts +22 -1
  176. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -0
  177. package/src/PredefinedConfig/Common/AdaptablePredicate.js +5 -3
  178. package/src/PredefinedConfig/Common/FDC3Context.d.ts +0 -5
  179. package/src/PredefinedConfig/FlashingCellState.d.ts +1 -1
  180. package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
  181. package/src/PredefinedConfig/StyledColumnState.d.ts +9 -0
  182. package/src/PredefinedConfig/SystemState.d.ts +5 -0
  183. package/src/Redux/ActionsReducers/GridRedux.d.ts +18 -0
  184. package/src/Redux/ActionsReducers/GridRedux.js +65 -2
  185. package/src/Redux/ActionsReducers/SystemRedux.d.ts +5 -0
  186. package/src/Redux/ActionsReducers/SystemRedux.js +17 -3
  187. package/src/Redux/Store/AdaptableStore.js +34 -26
  188. package/src/Strategy/AdaptableModuleBase.js +6 -6
  189. package/src/Strategy/AlertModule.d.ts +1 -6
  190. package/src/Strategy/AlertModule.js +37 -92
  191. package/src/Strategy/BulkUpdateModule.js +3 -3
  192. package/src/Strategy/CalculatedColumnModule.js +6 -6
  193. package/src/Strategy/ChartingModule.js +1 -1
  194. package/src/Strategy/CustomSortModule.js +4 -4
  195. package/src/Strategy/DashboardModule.js +2 -2
  196. package/src/Strategy/DataSetModule.js +1 -1
  197. package/src/Strategy/ExportModule.js +4 -4
  198. package/src/Strategy/FilterModule.js +7 -6
  199. package/src/Strategy/FlashingCellModule.d.ts +2 -0
  200. package/src/Strategy/FlashingCellModule.js +21 -5
  201. package/src/Strategy/FormatColumnModule.d.ts +1 -0
  202. package/src/Strategy/FormatColumnModule.js +29 -3
  203. package/src/Strategy/FreeTextColumnModule.js +3 -3
  204. package/src/Strategy/LayoutModule.js +18 -18
  205. package/src/Strategy/PlusMinusModule.js +2 -2
  206. package/src/Strategy/QueryModule.js +3 -3
  207. package/src/Strategy/ScheduleModule.js +10 -12
  208. package/src/Strategy/ShortcutModule.js +5 -5
  209. package/src/Strategy/SmartEditModule.js +3 -3
  210. package/src/Strategy/StyledColumnModule.js +9 -7
  211. package/src/Strategy/TeamSharingModule.js +3 -3
  212. package/src/Strategy/ThemeModule.js +1 -1
  213. package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -1
  214. package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +1 -1
  215. package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -1
  216. package/src/Strategy/Utilities/getRuleViewItems.d.ts +1 -1
  217. package/src/Strategy/Utilities/getRuleViewItems.js +4 -3
  218. package/src/Strategy/Utilities/getScopeViewItems.js +1 -1
  219. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.d.ts +5 -0
  220. package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +12 -0
  221. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +4 -3
  222. package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +8 -0
  223. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +11 -0
  224. package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +73 -78
  225. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +3 -1
  226. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +9 -5
  227. package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +12 -3
  228. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
  229. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +133 -28
  230. package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -0
  231. package/src/Utilities/Helpers/AdaptableHelper.js +1 -1
  232. package/src/Utilities/Helpers/FormatHelper.js +13 -10
  233. package/src/Utilities/ObjectFactory.js +8 -6
  234. package/src/Utilities/Services/CalculatedColumnExpressionService.js +1 -1
  235. package/src/Utilities/Services/ChartingService.js +2 -2
  236. package/src/Utilities/Services/DataService.js +1 -1
  237. package/src/Utilities/Services/Interface/IEntitlementService.d.ts +2 -1
  238. package/src/Utilities/Services/Interface/IRowEditService.d.ts +0 -5
  239. package/src/Utilities/Services/ModuleService.js +1 -1
  240. package/src/Utilities/Services/QueryLanguageService.js +2 -2
  241. package/src/Utilities/Services/ReportService.js +3 -3
  242. package/src/Utilities/Services/RowEditService.d.ts +0 -19
  243. package/src/Utilities/Services/RowEditService.js +4 -161
  244. package/src/Utilities/Services/TeamSharingService.js +3 -3
  245. package/src/Utilities/Services/ValidationService.js +9 -7
  246. package/src/Utilities/logDeprecation.d.ts +3 -0
  247. package/src/Utilities/logDeprecation.js +30 -0
  248. package/src/View/AdaptablePopover/index.d.ts +2 -0
  249. package/src/View/AdaptablePopover/index.js +6 -2
  250. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +4 -2
  251. package/src/View/Alert/AlertEntityRow.js +1 -1
  252. package/src/View/Alert/AlertStatusSubPanel.js +1 -1
  253. package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +2 -2
  254. package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
  255. package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +3 -3
  256. package/src/View/Alert/Wizard/AlertWizard.js +3 -3
  257. package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +4 -2
  258. package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
  259. package/src/View/Alert/Wizard/isValidAlertRules.js +4 -3
  260. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +3 -3
  261. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -0
  262. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +25 -4
  263. package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
  264. package/src/View/Components/Charting/ChartingViewPanel.d.ts +2 -2
  265. package/src/View/Components/Charting/ChartingViewPanel.js +17 -3
  266. package/src/View/Components/Charting/ChartingWizard/ChartingWizard.js +2 -2
  267. package/src/View/Components/Charting/ChartingWizard/SettingsSection.js +1 -1
  268. package/src/View/Components/Charting/DeleteChartButton.d.ts +7 -0
  269. package/src/View/Components/Charting/DeleteChartButton.js +12 -0
  270. package/src/View/Components/Charting/EditChartButton.d.ts +8 -0
  271. package/src/View/Components/Charting/EditChartButton.js +21 -0
  272. package/src/View/Components/EntityRulesEditor/PredicatesEditor.d.ts +16 -0
  273. package/src/View/Components/EntityRulesEditor/PredicatesEditor.js +86 -0
  274. package/src/View/Components/EntityRulesEditor/Utilities.d.ts +6 -0
  275. package/src/View/Components/EntityRulesEditor/Utilities.js +21 -0
  276. package/src/View/Components/EntityRulesEditor/index.d.ts +4 -9
  277. package/src/View/Components/EntityRulesEditor/index.js +16 -90
  278. package/src/View/Components/ExpressionWizard.js +1 -1
  279. package/src/View/Components/ExternalRenderer.js +3 -1
  280. package/src/View/Components/FilterForm/FilterForm.js +3 -3
  281. package/src/View/Components/FilterForm/QuickFilterForm.js +5 -5
  282. package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +5 -6
  283. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
  284. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -2
  285. package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
  286. package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +2 -12
  287. package/src/View/Components/Popups/AdaptablePopupConfirmation.js +46 -39
  288. package/src/View/Components/PredicateEditor/PredicateEditor.js +5 -5
  289. package/src/View/Components/ScopeComponent.js +3 -3
  290. package/src/View/Components/Selectors/ColumnValueSelector.js +1 -1
  291. package/src/View/Components/StyleComponent.js +42 -14
  292. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
  293. package/src/View/CustomSort/CustomSortSummary.js +1 -1
  294. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +2 -2
  295. package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +1 -1
  296. package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
  297. package/src/View/Dashboard/Dashboard.js +1 -1
  298. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
  299. package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +10 -1
  300. package/src/View/DataSet/DataSetSelector.js +1 -1
  301. package/src/View/DataSet/DataSetStatusPanelPopover.js +1 -1
  302. package/src/View/DataSet/DataSetViewPanel.js +1 -1
  303. package/src/View/Export/ExportSelector.js +2 -2
  304. package/src/View/Export/ExportViewPanel.js +2 -2
  305. package/src/View/Export/ReportExportDropdown.js +1 -1
  306. package/src/View/Export/Wizard/ReportNameWizardSection.js +1 -1
  307. package/src/View/Export/Wizard/ReportRowsWizardSection.js +1 -1
  308. package/src/View/Filter/FilterSummary.js +1 -1
  309. package/src/View/Filter/FilterViewPanel.js +1 -1
  310. package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -2
  311. package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +4 -2
  312. package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +4 -3
  313. package/src/View/FormatColumn/MoveFormatColumn.js +1 -1
  314. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +11 -5
  315. package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +2 -2
  316. package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +8 -6
  317. package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +3 -4
  318. package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +5 -19
  319. package/src/View/GridInfo/ColumnInfoComponent.js +1 -1
  320. package/src/View/GridInfo/GridInfoPopup.js +6 -6
  321. package/src/View/Layout/LayoutRadioSelector.js +1 -1
  322. package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
  323. package/src/View/Layout/LayoutViewPanel.js +1 -1
  324. package/src/View/Layout/PivotDetailsPopoup.js +1 -1
  325. package/src/View/Layout/SaveLayoutButton.js +1 -1
  326. package/src/View/Layout/Wizard/LayoutWizard.js +2 -2
  327. package/src/View/Layout/Wizard/sections/AggregationsSection.js +4 -4
  328. package/src/View/Layout/Wizard/sections/ColumnsSection.js +5 -5
  329. package/src/View/Layout/Wizard/sections/FilterSection.js +2 -2
  330. package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +2 -2
  331. package/src/View/Layout/Wizard/sections/RowGroupingSection.js +2 -2
  332. package/src/View/Layout/Wizard/sections/SortSection.js +1 -1
  333. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.d.ts +1 -1
  334. package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
  335. package/src/View/Query/ExpandedQueryPopup.js +1 -1
  336. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  337. package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -2
  338. package/src/View/Shortcut/Wizard/ShortcutWizard.js +1 -1
  339. package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
  340. package/src/View/StatusBar/StatusBarPanel.js +1 -1
  341. package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +2 -2
  342. package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +9 -0
  343. package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +2 -2
  344. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.d.ts +5 -0
  345. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +26 -0
  346. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.d.ts +5 -0
  347. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +23 -0
  348. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.d.ts +8 -0
  349. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +25 -0
  350. package/src/View/StyledColumn/Wizard/{StyledColumnWizardStyleSection.d.ts → StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts} +2 -2
  351. package/src/View/StyledColumn/Wizard/{StyledColumnWizardStyleSection.js → StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js} +21 -19
  352. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.d.ts +1 -0
  353. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -0
  354. package/src/View/TeamSharing/SharedEntityDependencies.js +1 -1
  355. package/src/View/Theme/ThemeStatusPanelPopover.js +1 -1
  356. package/src/agGrid/ActionColumnRenderer.js +1 -1
  357. package/src/agGrid/Adaptable.d.ts +5 -3
  358. package/src/agGrid/Adaptable.js +106 -121
  359. package/src/agGrid/FilterWrapper.js +3 -3
  360. package/src/agGrid/FloatingFilterWrapper.js +3 -3
  361. package/src/agGrid/PercentBarRenderer.js +6 -6
  362. package/src/agGrid/agGridHelper.js +3 -3
  363. package/src/agGrid/agGridMenuHelper.js +3 -3
  364. package/src/agGrid/weightedAverage.js +2 -2
  365. package/src/components/ExpressionEditor/BaseEditorInput.js +92 -7
  366. package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +5 -1
  367. package/src/components/OverlayTrigger/index.js +6 -2
  368. package/src/components/OverlayTrigger/utils.d.ts +1 -1
  369. package/src/components/OverlayTrigger/utils.js +4 -4
  370. package/src/components/icons/index.js +2 -0
  371. package/src/components/icons/open-in-new.d.ts +3 -0
  372. package/src/components/icons/open-in-new.js +7 -0
  373. package/src/env.js +1 -3
  374. package/src/metamodel/adaptable.metamodel.d.ts +30 -10
  375. package/src/metamodel/adaptable.metamodel.js +1 -1
  376. package/src/parser/src/parser.js +644 -382
  377. package/src/parser/src/types.d.ts +9 -0
  378. package/src/types.d.ts +3 -3
  379. package/version.d.ts +1 -1
  380. package/version.js +1 -1
  381. package/src/Api/InternalApi.d.ts +0 -155
  382. package/src/Api/InternalApi.js +0 -2
@@ -16,7 +16,7 @@ export interface ScheduleApi {
16
16
  * Retrieves the Schedule section from Adaptable State
17
17
  * @returns schedules
18
18
  */
19
- getAllSchedule(): BaseSchedule[];
19
+ getSchedules(): BaseSchedule[];
20
20
  /**
21
21
  * Retrieves Schedule by id
22
22
  * @param id Schedule id
@@ -27,19 +27,19 @@ export interface ScheduleApi {
27
27
  * Retrieves all Reminder-based Schedules from Schedule State
28
28
  * @returns reminder schedules
29
29
  */
30
- getAllReminderSchedule(config?: {
30
+ getReminderSchedules(config?: {
31
31
  includeLayoutNotAssociatedObjects?: boolean;
32
32
  }): ReminderSchedule[];
33
33
  /**
34
34
  * Retrieves all active (not-suspended) Reminder-based Schedules from Schedule State
35
35
  * @returns reminder schedules
36
36
  */
37
- getAllActiveReminderSchedule(): ReminderSchedule[];
37
+ getActiveReminderSchedules(): ReminderSchedule[];
38
38
  /**
39
39
  * Retrieves all suspended Reminder-based Schedules from Schedule State
40
40
  * @returns reminder schedules
41
41
  */
42
- getAllSuspendedReminderSchedule(): ReminderSchedule[];
42
+ getSuspendedReminderSchedules(): ReminderSchedule[];
43
43
  /**
44
44
  * Adds Reminder-based Schedule
45
45
  * @param ReminderSchedule Reminder Schedule to add
@@ -73,19 +73,19 @@ export interface ScheduleApi {
73
73
  * Retrieves all Report / Export Schedules from Schedule State
74
74
  * @returns report schedules
75
75
  */
76
- getAllReportSchedule(config?: {
76
+ getReportSchedules(config?: {
77
77
  includeLayoutNotAssociatedObjects?: boolean;
78
78
  }): ReportSchedule[];
79
79
  /**
80
80
  * Retrieves all active (not-suspended) Report / Export Schedules from Schedule State
81
81
  * @returns report schedules
82
82
  */
83
- getAllActiveReportSchedule(): ReportSchedule[];
83
+ getActiveReportSchedules(): ReportSchedule[];
84
84
  /**
85
85
  * Retrieves all suspended Report / Export Schedules from Schedule State
86
86
  * @returns report schedules
87
87
  */
88
- getAllSuspendedReportSchedule(): ReportSchedule[];
88
+ getSuspendedReportSchedules(): ReportSchedule[];
89
89
  /**
90
90
  * Adds Report / Export Schedule
91
91
  * @param ReportSchedule Report / export Schedule to add
@@ -119,19 +119,19 @@ export interface ScheduleApi {
119
119
  * Retrieves all ipushpull-based Schedules from Schedule State
120
120
  * @returns IPushPull schedules
121
121
  */
122
- getAllIPushPullSchedule(config?: {
122
+ getIPushPullSchedules(config?: {
123
123
  includeLayoutNotAssociatedObjects?: boolean;
124
124
  }): IPushPullSchedule[];
125
125
  /**
126
126
  * Retrieves all active (not-suspended) ipushpull-based Schedules from Schedule State
127
127
  * @returns IPushPull schedules
128
128
  */
129
- getAllActiveIPushPullSchedule(): IPushPullSchedule[];
129
+ getActiveIPushPullSchedules(): IPushPullSchedule[];
130
130
  /**
131
131
  * Retrieves all suspended ipushpull-based Schedules from Schedule State
132
132
  * @returns IPushPull schedules
133
133
  */
134
- getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
134
+ getSuspendedIPushPullSchedules(): IPushPullSchedule[];
135
135
  /**
136
136
  * Add ipushpull-based Schedule
137
137
  * @param IPushPullSchedule ipushpull-based Schedule to add
@@ -165,19 +165,19 @@ export interface ScheduleApi {
165
165
  * Retrieves all Glue42-based Schedules from Schedule State
166
166
  * @returns Glue42 schedules
167
167
  */
168
- getAllGlue42Schedule(config?: {
168
+ getGlue42Schedules(config?: {
169
169
  includeLayoutNotAssociatedObjects?: boolean;
170
170
  }): Glue42Schedule[];
171
171
  /**
172
172
  * Retrieves all active (not-suspended) Glue42-based Schedules from Schedule State
173
173
  * @returns Glue42 schedules
174
174
  */
175
- getAllActiveGlue42Schedule(): Glue42Schedule[];
175
+ getActiveGlue42Schedules(): Glue42Schedule[];
176
176
  /**
177
177
  * Retrieves all suspended Glue42-based Schedules from Schedule State
178
178
  * @returns Glue42 schedules
179
179
  */
180
- getAllSuspendedGlue42Schedule(): Glue42Schedule[];
180
+ getSuspendedGlue42Schedules(): Glue42Schedule[];
181
181
  /**
182
182
  * Add Glue42-based Schedule
183
183
  * @param Glue42Schedule Glue42-based Schedule to add
@@ -211,19 +211,19 @@ export interface ScheduleApi {
211
211
  * Retrieves all OpenFin-based Schedules from Schedule State
212
212
  * @returns OpenFin schedules
213
213
  */
214
- getAllOpenFinSchedule(config?: {
214
+ getOpenFinSchedules(config?: {
215
215
  includeLayoutNotAssociatedObjects?: boolean;
216
216
  }): OpenFinSchedule[];
217
217
  /**
218
218
  * Retrieves all active (not-suspended) OpenFin-based Schedules from Schedule State
219
219
  * @returns OpenFin schedules
220
220
  */
221
- getAllActiveOpenFinSchedule(): OpenFinSchedule[];
221
+ getActiveOpenFinSchedules(): OpenFinSchedule[];
222
222
  /**
223
223
  * Retrieves all suspended OpenFin-based Schedules from Schedule State
224
224
  * @returns OpenFin schedules
225
225
  */
226
- getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
226
+ getSuspendedOpenFinSchedules(): OpenFinSchedule[];
227
227
  /**
228
228
  * Add OpenFin-based Schedule
229
229
  * @param OpenFinSchedule OpenFin-based Schedule to add
@@ -263,5 +263,86 @@ export interface ScheduleApi {
263
263
  /**
264
264
  * Opens Settings Panel with Schedule section selected and visible
265
265
  */
266
+ openScheduleSettingsPanel(): void;
267
+ /**
268
+ * TO BE REMOVED
269
+ */
270
+ /**
271
+ * @deprecated use `getSchedules()` instead
272
+ */
273
+ getAllSchedule(): BaseSchedule[];
274
+ /**
275
+ * @deprecated use `getReminderSchedules()` instead
276
+ */
277
+ getAllReminderSchedule(config?: {
278
+ includeLayoutNotAssociatedObjects?: boolean;
279
+ }): ReminderSchedule[];
280
+ /**
281
+ * @deprecated use `getActiveReminderSchedules()` instead
282
+ */
283
+ getAllActiveReminderSchedule(): ReminderSchedule[];
284
+ /**
285
+ * @deprecated use `getSuspendedReminderSchedules()` instead
286
+ */
287
+ getAllSuspendedReminderSchedule(): ReminderSchedule[];
288
+ /**
289
+ * @deprecated use `getReportSchedules()` instead
290
+ */
291
+ getAllReportSchedule(config?: {
292
+ includeLayoutNotAssociatedObjects?: boolean;
293
+ }): ReportSchedule[];
294
+ /**
295
+ * @deprecated use `getActiveReportSchedules()` instead
296
+ */
297
+ getAllActiveReportSchedule(): ReportSchedule[];
298
+ /**
299
+ * @deprecated use `getSuspendedReportSchedules()` instead
300
+ */
301
+ getAllSuspendedReportSchedule(): ReportSchedule[];
302
+ /**
303
+ * @deprecated use `getIPushPullSchedules()` instead
304
+ */
305
+ getAllIPushPullSchedule(config?: {
306
+ includeLayoutNotAssociatedObjects?: boolean;
307
+ }): IPushPullSchedule[];
308
+ /**
309
+ * @deprecated use `getActiveIPushPullSchedules()` instead
310
+ */
311
+ getAllActiveIPushPullSchedule(): IPushPullSchedule[];
312
+ /**
313
+ * @deprecated use `getSuspendedIPushPullSchedules()` instead
314
+ */
315
+ getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
316
+ /**
317
+ * @deprecated use `getGlue42Schedules()` instead
318
+ */
319
+ getAllGlue42Schedule(config?: {
320
+ includeLayoutNotAssociatedObjects?: boolean;
321
+ }): Glue42Schedule[];
322
+ /**
323
+ * @deprecated use `getActiveGlue42Schedules()` instead
324
+ */
325
+ getAllActiveGlue42Schedule(): Glue42Schedule[];
326
+ /**
327
+ * @deprecated use `getSuspendedGlue42Schedules()` instead
328
+ */
329
+ getAllSuspendedGlue42Schedule(): Glue42Schedule[];
330
+ /**
331
+ * @deprecated use `getOpenFinSchedules()` instead
332
+ */
333
+ getAllOpenFinSchedule(config?: {
334
+ includeLayoutNotAssociatedObjects?: boolean;
335
+ }): OpenFinSchedule[];
336
+ /**
337
+ * @deprecated use `getActiveOpenFinSchedules()` instead
338
+ */
339
+ getAllActiveOpenFinSchedule(): OpenFinSchedule[];
340
+ /**
341
+ * @deprecated use `getSuspendedOpenFinSchedules()` instead
342
+ */
343
+ getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
344
+ /**
345
+ * @deprecated use `openScheduleSettingsPanel()` instead
346
+ */
266
347
  showSchedulePopup(): void;
267
348
  }
@@ -7,10 +7,21 @@ export interface SettingsPanelApi {
7
7
  * Opens Settings Panel and displays specified Module (if provided) or first available one
8
8
  * @param moduleName name of Module to display
9
9
  */
10
- showSettingsPanel(moduleName?: AdaptableModule): void;
10
+ openSettingsPanel(moduleName?: AdaptableModule): void;
11
11
  /**
12
12
  * Opens Settings Panel with the Custom Settings Panel, provided by name, displayed
13
13
  * @param name name of Custom Settings Panel to display
14
14
  */
15
+ openCustomSettingsPanel(name: string): void;
16
+ /**
17
+ * TO BE REMOVED
18
+ */
19
+ /**
20
+ * @deprecated use `openSettingsPanel()` instead
21
+ */
22
+ showSettingsPanel(moduleName?: AdaptableModule): void;
23
+ /**
24
+ * @deprecated use `openCustomSettingsPanel()` instead
25
+ */
15
26
  showCustomSettingsPanel(name: string): void;
16
27
  }
@@ -11,7 +11,7 @@ export interface ShortcutApi {
11
11
  * Gets all Shortcuts in Adaptable State
12
12
  * @returns shortcuts
13
13
  */
14
- getAllShortcut(config?: {
14
+ getShortcuts(config?: {
15
15
  includeLayoutNotAssociatedObjects?: boolean;
16
16
  }): Shortcut[];
17
17
  /**
@@ -24,12 +24,12 @@ export interface ShortcutApi {
24
24
  * Gets all active (not-suspended) Shortcuts in Adaptable State
25
25
  * @returns shortcuts
26
26
  */
27
- getAllActiveShortcut(): Shortcut[];
27
+ getActiveShortcuts(): Shortcut[];
28
28
  /**
29
29
  * Gets all suspended Shortcuts in Adaptable State
30
30
  * @returns shortcuts
31
31
  */
32
- getAllSuspendedShortcut(): Shortcut[];
32
+ getSuspendedShortcuts(): Shortcut[];
33
33
  /**
34
34
  * Adds new Shortcut to the state
35
35
  * @param shortcut Shortcut to add
@@ -41,10 +41,6 @@ export interface ShortcutApi {
41
41
  * @param shortcut Shortcut to delete
42
42
  */
43
43
  deleteShortcut(shortcut: Shortcut): void;
44
- /**
45
- * Deletes all Shortcuts in Adaptable State
46
- */
47
- deleteAllShortcut(): void;
48
44
  /**
49
45
  * Suspends Shortcut definition
50
46
  * @param shortcut Shortcut to suspend
@@ -60,5 +56,30 @@ export interface ShortcutApi {
60
56
  /**
61
57
  * Opens Settings Panel with Shortcut section selected and visible
62
58
  */
59
+ openShortcutSettingsPanel(): void;
60
+ /**
61
+ * TO BE REMOVED
62
+ */
63
+ /**
64
+ * @deprecated use `getShortcuts()` instead
65
+ */
66
+ getAllShortcut(config?: {
67
+ includeLayoutNotAssociatedObjects?: boolean;
68
+ }): Shortcut[];
69
+ /**
70
+ * @deprecated use `getActiveShortcuts()` instead
71
+ */
72
+ getAllActiveShortcut(): Shortcut[];
73
+ /**
74
+ * @deprecated use `getSuspendedShortcuts()` instead
75
+ */
76
+ getAllSuspendedShortcut(): Shortcut[];
77
+ /**
78
+ * @deprecated use `deleteAllShortcuts()` instead
79
+ */
80
+ deleteAllShortcut(): void;
81
+ /**
82
+ * @deprecated use `openShortcutSettingsPanel()` instead
83
+ */
63
84
  showShortcutPopup(): void;
64
85
  }
@@ -32,7 +32,7 @@ export interface SmartEditApi {
32
32
  /**
33
33
  * Opens Settings Panel with Smart Edit section selected and visible
34
34
  */
35
- showSmartEditPopup(): void;
35
+ openSmartEditSettingsPanel(): void;
36
36
  /**
37
37
  * Applies a Smart Edit to given Cells
38
38
  * @param gridCells Cells to apply the Smart Edit
@@ -42,4 +42,11 @@ export interface SmartEditApi {
42
42
  * Retrieves an Smart Edit Custom Operations (provided in Edit Options)
43
43
  */
44
44
  getSmartEditCustomOperations(): SmartEditCustomOperation[];
45
+ /**
46
+ * TO BE REMOVED
47
+ */
48
+ /**
49
+ * @deprecated use `openSmartEditSettingsPanel()` instead
50
+ */
51
+ showSmartEditPopup(): void;
45
52
  }
@@ -1,6 +1,5 @@
1
- import { RowNode } from '@ag-grid-community/core/dist/cjs/es5/entities/rowNode';
2
1
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
3
- import { StyledColumnState, StyledColumn, CellColorRange, ColumnComparison, NumericStyledColumn } from '../PredefinedConfig/StyledColumnState';
2
+ import { StyledColumn, StyledColumnState } from '../PredefinedConfig/StyledColumnState';
4
3
  /**
5
4
  * Provides run-time access to Styled Column Module and associated state
6
5
  */
@@ -13,7 +12,7 @@ export interface StyledColumnApi {
13
12
  * Retrieves all Styled Columns in Adaptable State
14
13
  * @returns Styled Columns
15
14
  */
16
- getAllStyledColumn(config?: {
15
+ getStyledColumns(config?: {
17
16
  includeLayoutNotAssociatedObjects?: boolean;
18
17
  }): StyledColumn[];
19
18
  /**
@@ -23,21 +22,21 @@ export interface StyledColumnApi {
23
22
  */
24
23
  getStyledColumnById(id: StyledColumn['Uuid']): StyledColumn;
25
24
  /**
26
- * Retrieves Styled Column by Column Id
25
+ * Retrieves Styled Column for given Column Id
27
26
  * @param columnId Styled Column id
28
27
  * @returns Styled Column
29
28
  */
30
- getStyledColumnByColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
29
+ getStyledColumnForColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
31
30
  /**
32
31
  * Retrieves all active (not-suspended) Styled Columns in Adaptable State
33
32
  * @returns Styled Columns
34
33
  */
35
- getAllActiveStyledColumn(): StyledColumn[];
34
+ getActiveStyledColumns(): StyledColumn[];
36
35
  /**
37
36
  * Retrieves all suspended Styled Columns in Adaptable State
38
37
  * @returns Styled Columns
39
38
  */
40
- getAllSuspendedStyledColumn(): StyledColumn[];
39
+ getSuspendedStyledColumns(): StyledColumn[];
41
40
  /**
42
41
  * Delete a Styled column
43
42
  * @param styledColumn
@@ -49,72 +48,53 @@ export interface StyledColumnApi {
49
48
  */
50
49
  addStyledColumn(styledColumn: StyledColumn): void;
51
50
  /**
52
- * Gets the Minimum Value to display for a Styled Column
53
- * @param styledColumn Styled Column to check
54
- * @param rowNode current Row Node
55
- * @param cellValue current Cell Value
56
- */
57
- getNumericStyleMinValue(styledColumn: Omit<StyledColumn, 'ColumnId'>, column: AdaptableColumn, rowNode: RowNode, cellValue: any): number;
58
- /**
59
- * Returns last range that matches the cell value.
60
- *
61
- * @param cellRanges
62
- * @param column
63
- * @param rangeValueType
64
- * @param cellValue
51
+ * Returns first Styled Column that contains checkbox style
52
+ * @param columnId column to check
65
53
  */
66
- findRangeForColumn(cellRanges: CellColorRange[], column: AdaptableColumn, rangeValueType: NumericStyledColumn['RangeValueType'], cellValue: any): CellColorRange | null;
54
+ getCheckBoxStyleStyledColumn(column: AdaptableColumn): StyledColumn | undefined;
67
55
  /**
68
- * Gets the Maximum Value to display for a Styled Column
69
- * @param styledColumn Styled Column to check
70
- * @param rowNode current Row Node
71
- * @param cellValue current Cell Value
56
+ * Checks whether Column with given `columnId` has a PercentBar Style applied.
57
+ * @param columnId column ID
72
58
  */
73
- getNumericStyleMaxValue(styledColumn: Omit<StyledColumn, 'ColumnId'>, column: AdaptableColumn, rowNode: RowNode, cellValue: any): number;
59
+ hasPercentBarStyle(columnId: string): boolean;
74
60
  /**
75
- * Returns the smallest number in a Range
76
- * @param range Range to check
77
- * @param column current Column
61
+ * Checks whether Column with given `columnId` has a Gradient Style applied.
62
+ * @param columnId column ID
78
63
  */
79
- getCellColorRangeMinValue(range: CellColorRange, column: AdaptableColumn, rangeValueType: NumericStyledColumn['RangeValueType']): number | undefined;
64
+ hasGradientStyle(columnId: string): boolean;
80
65
  /**
81
- * Returns the largest number in a Range
82
- * @param range Range to check
83
- * @param column current Column
66
+ * Whether given column is a (boolean) checkbox column
67
+ * @param columnId column to check
84
68
  */
85
- getCellColorRangeMaxValue(range: CellColorRange, column: AdaptableColumn, rangeValueType: NumericStyledColumn['RangeValueType']): number | undefined;
69
+ isCheckBoxStyleStyledColumn(column: AdaptableColumn): boolean;
86
70
  /**
87
- * Retrieves the ColumnComparison property, if there, from a Styled Column
88
- * @param styledColumn Styled Column to Add
71
+ * Publishes the CheckboxColumnClickedEvent - when the checkbox in an Checkbox Column is clicked
89
72
  */
90
- getColumnComparisonForStyledColumn(styledColumn: StyledColumn): ColumnComparison | undefined;
73
+ fireCheckboxColumnClickedEvent(columnId: string, rowData: any, primaryKeyValue: any, isChecked: boolean): void;
91
74
  /**
92
- * Returns any ColumnIds referenced in a Column Comparison
93
- * @param columnComparision Column Comparison to check
75
+ * Returns a Styled Column for a given column
76
+ * @param column Column to check
94
77
  */
95
- getColumnIdsFromColumnComparison(columnComparision: ColumnComparison): string[];
78
+ getActiveStyledColumnForColumn(column: AdaptableColumn): StyledColumn | undefined;
96
79
  /**
97
- * Checks if the styled column has a range with a relative value
98
- * @param styledColumn Styled Column to Add
80
+ * TO BE REMOVED
99
81
  */
100
- hasStyledColumnRelativeCellRange(styledCOlumn: StyledColumn): boolean;
101
82
  /**
102
- * Returns first Styled Column that contains checkbox style
103
- * @param columnId column to check
83
+ * @deprecated use `getStyledColumns()` instead
104
84
  */
105
- getCheckBoxStyleStyledColumn(column: AdaptableColumn): StyledColumn | undefined;
85
+ getAllStyledColumn(config?: {
86
+ includeLayoutNotAssociatedObjects?: boolean;
87
+ }): StyledColumn[];
106
88
  /**
107
- * Whether given column is a (boolean) checkbox column
108
- * @param columnId column to check
89
+ * @deprecated use `getStyledColumnForColumnId()` instead
109
90
  */
110
- isCheckBoxStyleStyledColumn(column: AdaptableColumn): boolean;
91
+ getStyledColumnByColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
111
92
  /**
112
- * Publishes the CheckboxColumnClickedEvent - when the checkbox in an Checkbox Column is clicked
93
+ * @deprecated use `getActiveStyledColumns()` instead
113
94
  */
114
- fireCheckboxColumnClickedEvent(columnId: string, rowData: any, primaryKeyValue: any, isChecked: boolean): void;
95
+ getAllActiveStyledColumn(): StyledColumn[];
115
96
  /**
116
- * Returns a Styled Column for a given column
117
- * @param column Column to check
97
+ * @deprecated use `getSuspendedStyledColumns()` instead
118
98
  */
119
- getActiveStyledColumnForColumn(column: AdaptableColumn): StyledColumn | undefined;
99
+ getAllSuspendedStyledColumn(): StyledColumn[];
120
100
  }
@@ -26,12 +26,7 @@ export interface SystemStatusApi {
26
26
  /**
27
27
  * Opens Settings Panel with System Status section selected and visible
28
28
  */
29
- showSystemStatusPopup(): void;
30
- /**
31
- * Fires SystemStatusMessageDisplayed Event
32
- * @param systemStatusMessageInfo Info about new System Status Message
33
- */
34
- fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo: SystemStatusMessageInfo): void;
29
+ openSystemStatusSettingsPanel(): void;
35
30
  /**
36
31
  * Retrieves current System Status Message
37
32
  */
@@ -40,4 +35,15 @@ export interface SystemStatusApi {
40
35
  * Deletes all System Status messages
41
36
  */
42
37
  deleteAllSystemStatusMessages(): void;
38
+ /**
39
+ * TO BE REMOVED
40
+ */
41
+ /**
42
+ * @deprecated internal method, will be removed in next major release
43
+ */
44
+ fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo: SystemStatusMessageInfo): void;
45
+ /**
46
+ * @deprecated use `openSystemStatusSettingsPanel()` instead
47
+ */
48
+ showSystemStatusPopup(): void;
43
49
  }
@@ -15,12 +15,6 @@ export interface TeamSharingApi {
15
15
  * @return either TRUE if the shared entities were successfully set or FALSE if the shared entities were not set
16
16
  */
17
17
  setSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
18
- /**
19
- * Whether Team Sharing is Activated
20
- *
21
- * @deprecated use `Adaptable.isTeamSharingAvailable()` instead
22
- */
23
- isTeamSharingActivated(): boolean;
24
18
  /**
25
19
  * Whether Team Sharing is Available to use
26
20
  */
@@ -32,16 +26,11 @@ export interface TeamSharingApi {
32
26
  /**
33
27
  * Opens Settings Panel with Team Sharing section selected and visible
34
28
  */
35
- showTeamSharingPopup(): void;
29
+ openTeamSharingSettingsPanel(): void;
36
30
  /**
37
31
  * Checks if active Shared Entities have updates (higher revisions than the local counterpart objects)
38
32
  */
39
33
  checkForUpdates(): void;
40
- /**
41
- * Fires the Team Sharing Entity Changed Event
42
- * @param sharedEntity Entity that has been changed
43
- */
44
- fireTeamSharingEntityChangedEvent(sharedEntity: SharedEntity): void;
45
34
  /**
46
35
  * Puts an Adaptable Object into Team Share
47
36
  * @param entity entity to Share
@@ -65,12 +54,10 @@ export interface TeamSharingApi {
65
54
  */
66
55
  getLoadedSharedEntities(): SharedEntity[];
67
56
  /**
68
- * Trigger loading of shared entries.
69
- * By default shared entries are loaded when the Team Sharing popup is visible.
57
+ * TO BE REMOVED
70
58
  */
71
- triggerLoadingTeamSharingEntries(): void;
72
59
  /**
73
- * Retrieves shared entry dependencies.
60
+ *@deprecated use `openTeamSharingSettingsPanel()` instead
74
61
  */
75
- getSharedEntryDependencies(sharedEntry: SharedEntity): SharedEntity[];
62
+ showTeamSharingPopup(): void;
76
63
  }
@@ -1,4 +1,4 @@
1
- import { ThemeState, AdaptableTheme } from '../PredefinedConfig/ThemeState';
1
+ import { AdaptableTheme, ThemeState } from '../PredefinedConfig/ThemeState';
2
2
  /**
3
3
  * Provides run-time access to the Theme Module and associated state
4
4
  */
@@ -43,21 +43,40 @@ export interface ThemeApi {
43
43
  /**
44
44
  * Retrieves System Themes in State
45
45
  */
46
- getAllSystemTheme(): AdaptableTheme[];
46
+ getSystemThemes(): AdaptableTheme[];
47
47
  /**
48
48
  * Retrieves User Themes in State
49
49
  */
50
- getAllUserTheme(): AdaptableTheme[];
50
+ getUserThemes(): AdaptableTheme[];
51
51
  /**
52
- * Retrieves all Themes (both System User) in State
52
+ * Retrieves all Themes (both System & User) in State
53
53
  */
54
- getAllTheme(): AdaptableTheme[];
54
+ getThemes(): AdaptableTheme[];
55
55
  /**
56
56
  * Opens Settings Panel with Theme section selected and visible
57
57
  */
58
- showThemePopup(): void;
58
+ openThemeSettingsPanel(): void;
59
59
  /**
60
60
  * Get the name of the current AG Grid theme
61
61
  */
62
62
  getAgGridCurrentThemeName(): string;
63
+ /**
64
+ * TO BE REMOVED
65
+ */
66
+ /**
67
+ * @deprecated use `getSystemThemes()` instead
68
+ */
69
+ getAllSystemTheme(): AdaptableTheme[];
70
+ /**
71
+ * @deprecated use `getUserThemes()` instead
72
+ */
73
+ getAllUserTheme(): AdaptableTheme[];
74
+ /**
75
+ * @deprecated use `getThemes()` instead
76
+ */
77
+ getAllTheme(): AdaptableTheme[];
78
+ /**
79
+ * @deprecated use `openThemeSettingsPanel()` instead
80
+ */
81
+ showThemePopup(): void;
63
82
  }
@@ -19,7 +19,7 @@ export interface UserInterfaceApi {
19
19
  /**
20
20
  * Retrieves `permittedValues` property from User Interface Options
21
21
  */
22
- getAllPermittedValuesItems(): PermittedValues[];
22
+ getPermittedValuesItems(): PermittedValues[];
23
23
  /**
24
24
  * Retrieves Permitted Values for a given Column
25
25
  * @param column column for which to retrieve Permitted Values
@@ -40,7 +40,7 @@ export interface UserInterfaceApi {
40
40
  /**
41
41
  * Retrieves `editLookUpItems` property from User Interface Options
42
42
  */
43
- getAllEditLookUpItems(): EditLookUpPermittedValues[];
43
+ getEditLookUpItems(): EditLookUpPermittedValues[];
44
44
  /**
45
45
  * Retrieves EditLookUpItems for a given Column
46
46
  * @param columnId Column for which to retrieve EditLookUpItems
@@ -74,4 +74,15 @@ export interface UserInterfaceApi {
74
74
  * Retrieves any Object Tags (provided in User Interface Options)
75
75
  */
76
76
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
77
+ /**
78
+ * TO BE REMOVED
79
+ */
80
+ /**
81
+ * @deprecated use `getPermittedValuesItems()` instead
82
+ */
83
+ getAllPermittedValuesItems(): PermittedValues[];
84
+ /**
85
+ * @deprecated use `getEditLookUpItems()` instead
86
+ */
87
+ getAllEditLookUpItems(): EditLookUpPermittedValues[];
77
88
  }
@@ -63,7 +63,7 @@ export interface AlertDefinitionPredicate extends AdaptablePredicate {
63
63
  * The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery
64
64
  */
65
65
  export declare type AlertRule = XOR<{
66
- Predicate: AlertDefinitionPredicate;
66
+ Predicates: AlertDefinitionPredicate[];
67
67
  }, AdaptableAlertQuery>;
68
68
  /**
69
69
  * Alert Query which may be either a Boolean, Observable or AggregatedBoolean Expression
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isValidOrderForColumnGroups = void 0;
4
+ const isAdaptableColumn = (input) => {
5
+ return (typeof (input === null || input === void 0 ? void 0 : input.columnId) === 'string' &&
6
+ typeof input.dataType === 'string');
7
+ };
4
8
  // this is only implemented for 1 level groups
5
9
  const isValidOrderForColumnGroups = ({ oldColumns, newColumns, }) => {
6
10
  const getGroups = (columns) => {
@@ -1,5 +1,4 @@
1
1
  import { AdaptableButton } from './AdaptableButton';
2
- import { AdaptableFormConfig } from '../../components/FormLayout';
3
2
  import { BaseContext } from '../../types';
4
3
  export declare type AdaptableFormData = Record<string, any>;
5
4
  /**
@@ -22,10 +21,6 @@ export interface AdaptableForm<T extends BaseContext> {
22
21
  * Buttons to include in the Form
23
22
  */
24
23
  buttons?: AdaptableButton<T>[];
25
- /**
26
- * @internal do NOT use this property as it's in an experimental phase
27
- */
28
- config?: AdaptableFormConfig;
29
24
  }
30
25
  /**
31
26
  * Defines a Field that appears in an Adaptable Form