@adaptabletools/adaptable 15.4.3 → 16.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 (290) hide show
  1. package/base.css +1 -1
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +234 -228
  4. package/index.css +1 -1
  5. package/index.css.map +1 -1
  6. package/package.json +2 -2
  7. package/publishTimestamp.d.ts +1 -1
  8. package/publishTimestamp.js +1 -1
  9. package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -2
  10. package/src/AdaptableOptions/ActionColumnOptions.d.ts +82 -0
  11. package/src/AdaptableOptions/{ActionOptions.d.ts → ActionRowOptions.d.ts} +15 -90
  12. package/src/AdaptableOptions/AdaptableOptions.d.ts +32 -12
  13. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -12
  14. package/src/AdaptableOptions/AlertOptions.d.ts +9 -0
  15. package/src/AdaptableOptions/CalendarOptions.d.ts +11 -0
  16. package/src/AdaptableOptions/CellSummaryOptions.d.ts +10 -0
  17. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -4
  18. package/src/AdaptableOptions/CustomSortOptions.d.ts +24 -0
  19. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +5 -1
  20. package/src/AdaptableOptions/DataSetOptions.d.ts +41 -0
  21. package/src/AdaptableOptions/DataSetOptions.js +2 -0
  22. package/src/AdaptableOptions/EditOptions.d.ts +4 -4
  23. package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -16
  24. package/src/AdaptableOptions/ExportOptions.d.ts +2 -4
  25. package/src/AdaptableOptions/ExpressionOptions.d.ts +7 -0
  26. package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
  27. package/src/AdaptableOptions/GroupingOptions.d.ts +50 -0
  28. package/src/AdaptableOptions/GroupingOptions.js +2 -0
  29. package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +9 -0
  30. package/src/AdaptableOptions/PredicateOptions.d.ts +4 -0
  31. package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -8
  32. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +30 -1
  33. package/src/Api/ActionColumnApi.d.ts +10 -0
  34. package/src/Api/ActionColumnApi.js +2 -0
  35. package/src/Api/{ActionApi.d.ts → ActionRowApi.d.ts} +4 -15
  36. package/src/Api/ActionRowApi.js +2 -0
  37. package/src/Api/AdaptableApi.d.ts +11 -6
  38. package/src/Api/AlertApi.d.ts +2 -111
  39. package/src/Api/BulkUpdateApi.d.ts +0 -7
  40. package/src/Api/CalculatedColumnApi.d.ts +0 -31
  41. package/src/Api/CalendarApi.d.ts +1 -1
  42. package/src/Api/CellSummaryApi.d.ts +0 -7
  43. package/src/Api/ChartingApi.d.ts +0 -7
  44. package/src/Api/ColumnApi.d.ts +1 -131
  45. package/src/Api/ConfigApi.d.ts +1 -7
  46. package/src/Api/CustomSortApi.d.ts +0 -25
  47. package/src/Api/DashboardApi.d.ts +0 -16
  48. package/src/Api/DataChangeHistoryApi.d.ts +0 -7
  49. package/src/Api/DataSetApi.d.ts +1 -16
  50. package/src/Api/EventApi.d.ts +1 -9
  51. package/src/Api/Events/AdaptableStateChanged.d.ts +0 -8
  52. package/src/Api/Events/AdaptableStateReloaded.d.ts +0 -4
  53. package/src/Api/Events/BaseEventInfo.d.ts +9 -1
  54. package/src/Api/Events/LiveDataChanged.d.ts +3 -7
  55. package/src/Api/ExportApi.d.ts +7 -31
  56. package/src/Api/{QueryLanguageApi.d.ts → ExpressionApi.d.ts} +2 -2
  57. package/src/Api/ExpressionApi.js +2 -0
  58. package/src/Api/FilterApi.d.ts +1 -59
  59. package/src/Api/FlashingCellApi.d.ts +0 -15
  60. package/src/Api/FormatColumnApi.d.ts +1 -91
  61. package/src/Api/FreeTextColumnApi.d.ts +0 -39
  62. package/src/Api/GridApi.d.ts +0 -31
  63. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +7 -0
  64. package/src/Api/Implementation/ActionColumnApiImpl.js +14 -0
  65. package/src/Api/Implementation/ActionRowApiImpl.d.ts +12 -0
  66. package/src/Api/Implementation/{ActionApiImpl.js → ActionRowApiImpl.js} +8 -15
  67. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
  68. package/src/Api/Implementation/AdaptableApiImpl.js +7 -5
  69. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -43
  70. package/src/Api/Implementation/AlertApiImpl.js +4 -94
  71. package/src/Api/Implementation/ApiBase.d.ts +15 -5
  72. package/src/Api/Implementation/ApiBase.js +26 -8
  73. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +0 -7
  74. package/src/Api/Implementation/CalculatedColumnApiImpl.js +0 -32
  75. package/src/Api/Implementation/CalendarApiImpl.d.ts +1 -0
  76. package/src/Api/Implementation/CalendarApiImpl.js +20 -17
  77. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -1
  78. package/src/Api/Implementation/CellSummaryApiImpl.js +3 -6
  79. package/src/Api/Implementation/ChartingApiImpl.d.ts +0 -1
  80. package/src/Api/Implementation/ChartingApiImpl.js +0 -5
  81. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -35
  82. package/src/Api/Implementation/ColumnApiImpl.js +1 -138
  83. package/src/Api/Implementation/ConfigApiImpl.js +2 -1
  84. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -5
  85. package/src/Api/Implementation/CustomSortApiImpl.js +0 -16
  86. package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -4
  87. package/src/Api/Implementation/DashboardApiImpl.js +2 -24
  88. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +0 -1
  89. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +0 -5
  90. package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -4
  91. package/src/Api/Implementation/DataSetApiImpl.js +1 -14
  92. package/src/Api/Implementation/ExportApiImpl.d.ts +4 -10
  93. package/src/Api/Implementation/ExportApiImpl.js +15 -34
  94. package/src/Api/Implementation/{QueryLanguageApiImpl.d.ts → ExpressionApiImpl.d.ts} +4 -4
  95. package/src/Api/Implementation/{QueryLanguageApiImpl.js → ExpressionApiImpl.js} +7 -5
  96. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -17
  97. package/src/Api/Implementation/FilterApiImpl.js +0 -53
  98. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +0 -3
  99. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -13
  100. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -34
  101. package/src/Api/Implementation/FormatColumnApiImpl.js +0 -73
  102. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -8
  103. package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -29
  104. package/src/Api/Implementation/GridApiImpl.d.ts +0 -7
  105. package/src/Api/Implementation/GridApiImpl.js +3 -32
  106. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -6
  107. package/src/Api/Implementation/LayoutApiImpl.js +2 -27
  108. package/src/Api/Implementation/OptionsApiImpl.d.ts +10 -5
  109. package/src/Api/Implementation/OptionsApiImpl.js +19 -7
  110. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +0 -1
  111. package/src/Api/Implementation/PlusMinusApiImpl.js +0 -5
  112. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -8
  113. package/src/Api/Implementation/PredicateApiImpl.js +2 -30
  114. package/src/Api/Implementation/QueryApiImpl.d.ts +0 -5
  115. package/src/Api/Implementation/QueryApiImpl.js +0 -21
  116. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +0 -1
  117. package/src/Api/Implementation/QuickSearchApiImpl.js +0 -5
  118. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -18
  119. package/src/Api/Implementation/ScheduleApiImpl.js +0 -69
  120. package/src/Api/Implementation/ScopeApiImpl.js +1 -1
  121. package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +0 -2
  122. package/src/Api/Implementation/SettingsPanelApiImpl.js +0 -9
  123. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -6
  124. package/src/Api/Implementation/ShortcutApiImpl.js +0 -21
  125. package/src/Api/Implementation/SmartEditApiImpl.d.ts +0 -1
  126. package/src/Api/Implementation/SmartEditApiImpl.js +0 -5
  127. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -5
  128. package/src/Api/Implementation/StyledColumnApiImpl.js +2 -17
  129. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +0 -2
  130. package/src/Api/Implementation/SystemStatusApiImpl.js +0 -9
  131. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +0 -5
  132. package/src/Api/Implementation/TeamSharingApiImpl.js +0 -21
  133. package/src/Api/Implementation/ThemeApiImpl.d.ts +0 -4
  134. package/src/Api/Implementation/ThemeApiImpl.js +2 -17
  135. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  136. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +4 -2
  137. package/src/Api/Implementation/UserInterfaceApiImpl.js +17 -10
  138. package/src/Api/Internal/{ActionInternalApi.d.ts → ActionRowInternalApi.d.ts} +2 -2
  139. package/src/Api/Internal/{ActionInternalApi.js → ActionRowInternalApi.js} +12 -5
  140. package/src/Api/Internal/AdaptableInternalApi.d.ts +1 -10
  141. package/src/Api/Internal/AdaptableInternalApi.js +9 -20
  142. package/src/Api/Internal/AlertInternalApi.js +9 -6
  143. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
  144. package/src/Api/Internal/CustomSortInternalApi.d.ts +1 -1
  145. package/src/Api/Internal/CustomSortInternalApi.js +1 -1
  146. package/src/Api/Internal/DashboardInternalApi.js +2 -0
  147. package/src/Api/Internal/DataSetInternalApi.d.ts +1 -1
  148. package/src/Api/Internal/DataSetInternalApi.js +2 -1
  149. package/src/Api/Internal/ExportInternalApi.js +1 -1
  150. package/src/Api/Internal/{QueryLanguageInternalApi.d.ts → ExpressionnternalApi.d.ts} +1 -1
  151. package/src/Api/Internal/{QueryLanguageInternalApi.js → ExpressionnternalApi.js} +9 -5
  152. package/src/Api/Internal/FilterInternalApi.js +4 -1
  153. package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
  154. package/src/Api/Internal/GridInternalApi.js +8 -0
  155. package/src/Api/Internal/LayoutInternalApi.js +6 -1
  156. package/src/Api/Internal/PredicateInternalApi.js +10 -0
  157. package/src/Api/Internal/QueryInternalApi.js +3 -1
  158. package/src/Api/Internal/SystemStatusInternalApi.js +4 -1
  159. package/src/Api/Internal/TeamSharingInternalApi.js +2 -0
  160. package/src/Api/LayoutApi.d.ts +3 -27
  161. package/src/Api/OptionsApi.d.ts +28 -10
  162. package/src/Api/PlusMinusApi.d.ts +0 -7
  163. package/src/Api/PredicateApi.d.ts +1 -32
  164. package/src/Api/QueryApi.d.ts +0 -23
  165. package/src/Api/QuickSearchApi.d.ts +0 -4
  166. package/src/Api/ScheduleApi.d.ts +0 -81
  167. package/src/Api/SettingsPanelApi.d.ts +0 -11
  168. package/src/Api/ShortcutApi.d.ts +0 -25
  169. package/src/Api/SmartEditApi.d.ts +0 -7
  170. package/src/Api/StyledColumnApi.d.ts +0 -21
  171. package/src/Api/SystemStatusApi.d.ts +0 -11
  172. package/src/Api/TeamSharingApi.d.ts +0 -23
  173. package/src/Api/ThemeApi.d.ts +0 -19
  174. package/src/Api/UserInterfaceApi.d.ts +4 -9
  175. package/src/PredefinedConfig/AlertState.d.ts +4 -1
  176. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -3
  177. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +4 -1
  178. package/src/PredefinedConfig/Common/AggregationColumns.d.ts +3 -0
  179. package/src/PredefinedConfig/Common/BaseContext.d.ts +8 -0
  180. package/src/PredefinedConfig/Common/CellSummary.d.ts +1 -0
  181. package/src/PredefinedConfig/Common/DataChangedScope.d.ts +9 -0
  182. package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
  183. package/src/PredefinedConfig/Common/Enums.d.ts +2 -1
  184. package/src/PredefinedConfig/Common/Enums.js +1 -0
  185. package/src/PredefinedConfig/LayoutState.d.ts +0 -6
  186. package/src/PredefinedConfig/SystemState.d.ts +1 -1
  187. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  188. package/src/PredefinedConfig/ThemeState.d.ts +3 -0
  189. package/src/Strategy/AdaptableModuleBase.js +3 -3
  190. package/src/Strategy/AlertModule.js +3 -3
  191. package/src/Strategy/CalculatedColumnModule.js +2 -2
  192. package/src/Strategy/CellSummaryModule.js +3 -0
  193. package/src/Strategy/DataSetModule.d.ts +1 -1
  194. package/src/Strategy/DataSetModule.js +1 -1
  195. package/src/Strategy/ExportModule.js +4 -0
  196. package/src/Strategy/FlashingCellModule.js +4 -4
  197. package/src/Strategy/FormatColumnModule.js +3 -3
  198. package/src/Strategy/QueryModule.js +1 -1
  199. package/src/Strategy/SmartEditModule.js +2 -0
  200. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +25 -23
  201. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +4 -0
  202. package/src/Utilities/Helpers/AdaptableHelper.js +12 -6
  203. package/src/Utilities/Helpers/FormatHelper.js +7 -0
  204. package/src/Utilities/ObjectFactory.d.ts +2 -2
  205. package/src/Utilities/ObjectFactory.js +7 -4
  206. package/src/Utilities/Services/AlertService.js +1 -1
  207. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
  208. package/src/Utilities/Services/ChartingService.js +2 -0
  209. package/src/Utilities/Services/EntitlementService.js +2 -2
  210. package/src/Utilities/Services/MetamodelService.js +4 -0
  211. package/src/Utilities/Services/ModuleService.js +10 -10
  212. package/src/Utilities/Services/QueryLanguageService.js +16 -0
  213. package/src/Utilities/Services/ReportService.js +8 -6
  214. package/src/Utilities/Services/RowEditService.js +4 -2
  215. package/src/Utilities/Services/ValidationService.js +2 -0
  216. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +5 -5
  217. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +1 -1
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -1
  219. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +9 -9
  220. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +3 -3
  221. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +4 -4
  222. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +3 -3
  223. package/src/View/AdaptableWizardView/Wizard.js +2 -2
  224. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  225. package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -1
  226. package/src/View/Components/AdaptableIconSelector/index.d.ts +6 -0
  227. package/src/View/Components/AdaptableIconSelector/index.js +18 -0
  228. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -2
  229. package/src/View/Components/AdaptableViewIcon/index.d.ts +10 -0
  230. package/src/View/Components/AdaptableViewIcon/index.js +18 -0
  231. package/src/View/Components/EntityRulesEditor/Utilities.js +3 -3
  232. package/src/View/Components/ExternalRenderer.js +14 -2
  233. package/src/View/Components/FilterForm/QuickFilterForm.js +4 -0
  234. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -0
  235. package/src/View/Components/RangesComponent.d.ts +4 -4
  236. package/src/View/Components/RangesComponent.js +13 -22
  237. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
  238. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -1
  239. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
  240. package/src/View/Dashboard/CustomDashboardButton.js +2 -0
  241. package/src/View/Dashboard/CustomToolbarWrapper.js +13 -1
  242. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -7
  243. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  244. package/src/View/DataChangeHistory/buildActionColumnButton.js +3 -2
  245. package/src/View/Export/ExportViewPanel.d.ts +1 -1
  246. package/src/View/Export/ExportViewPanel.js +4 -4
  247. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -1
  248. package/src/View/GridInfo/GridInfoPopup.d.ts +0 -1
  249. package/src/View/GridInfo/GridInfoPopup.js +1 -2
  250. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  251. package/src/View/Layout/LayoutViewPanel.js +1 -1
  252. package/src/View/Layout/PivotDetailsPopoup.js +2 -0
  253. package/src/View/Layout/SaveLayoutButton.js +1 -1
  254. package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
  255. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  256. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +1 -1
  257. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  258. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +8 -1
  259. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  260. package/src/agGrid/ActionColumnRenderer.js +5 -1
  261. package/src/agGrid/Adaptable.d.ts +21 -10
  262. package/src/agGrid/Adaptable.js +164 -63
  263. package/src/agGrid/BadgeRenderer.js +10 -2
  264. package/src/agGrid/CheckboxRenderer.d.ts +1 -2
  265. package/src/agGrid/agGridHelper.js +4 -5
  266. package/src/agGrid/agGridMenuHelper.js +4 -0
  267. package/src/agGrid/attachAddaptableColumnTypes.d.ts +11 -11
  268. package/src/agGrid/editors/AdaptableDateEditor/index.js +2 -0
  269. package/src/agGrid/editors/AdaptableNumberEditor/index.js +2 -2
  270. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -3
  271. package/src/components/AdaptableIconComponent/index.js +6 -3
  272. package/src/components/ExpressionEditor/BaseEditorInput.js +2 -0
  273. package/src/components/ExpressionEditor/index.js +1 -1
  274. package/src/components/IconSelector/IconSelector.d.ts +2 -0
  275. package/src/components/IconSelector/IconSelector.js +21 -5
  276. package/src/components/Input/NumberInput.d.ts +10 -0
  277. package/src/components/Input/NumberInput.js +46 -0
  278. package/src/metamodel/adaptable.metamodel.d.ts +230 -145
  279. package/src/metamodel/adaptable.metamodel.js +1 -1
  280. package/src/types.d.ts +14 -8
  281. package/version.d.ts +1 -1
  282. package/version.js +1 -1
  283. package/src/AdaptableOptions/GeneralOptions.d.ts +0 -159
  284. package/src/Api/Events/SearchChanged.d.ts +0 -12
  285. package/src/Api/Implementation/ActionApiImpl.d.ts +0 -14
  286. /package/src/AdaptableOptions/{ActionOptions.js → ActionColumnOptions.js} +0 -0
  287. /package/src/AdaptableOptions/{GeneralOptions.js → ActionRowOptions.js} +0 -0
  288. /package/src/{Api/ActionApi.js → AdaptableOptions/CalendarOptions.js} +0 -0
  289. /package/src/{Api/Events/SearchChanged.js → AdaptableOptions/CellSummaryOptions.js} +0 -0
  290. /package/src/{Api/QueryLanguageApi.js → AdaptableOptions/CustomSortOptions.js} +0 -0
@@ -1,6 +1,5 @@
1
1
  import { FormatColumn, FormatColumnState } from '../PredefinedConfig/FormatColumnState';
2
- import { AdaptableColumn, AdaptableFormat, AdaptableObjectLookupCriteria, AdaptablePredicateDef, AdaptableScope } from '../types';
3
- import { IRowNode } from '@ag-grid-community/core';
2
+ import { AdaptableColumn, AdaptableObjectLookupCriteria } from '../types';
4
3
  /**
5
4
  * Provides run-time access to the Format Column Module and associated state
6
5
  */
@@ -111,93 +110,4 @@ export interface FormatColumnApi {
111
110
  * @param flashingCellLookupCriteria lookup criteria
112
111
  */
113
112
  findFormatColumns(formatColumnLookupCriteria: AdaptableObjectLookupCriteria): FormatColumn[];
114
- /**
115
- * TO BE REMOVED
116
- */
117
- /**
118
- * @deprecated use `getFormatColumns()` instead
119
- */
120
- getAllFormatColumn(config?: {
121
- includeLayoutNotAssociatedObjects?: boolean;
122
- }): FormatColumn[];
123
- /**
124
- * @deprecated use `getActiveFormatColumns()` instead
125
- */
126
- getAllActiveFormatColumn(): FormatColumn[];
127
- /**
128
- * @deprecated use `getSuspendedFormatColumns()` instead
129
- */
130
- getAllSuspendedFormatColumn(): FormatColumn[];
131
- /**
132
- * @deprecated internal method, will be removed in next major release
133
- */
134
- getAllFormatColumnWithStyle(): FormatColumn[];
135
- /**
136
- * @deprecated internal method, will be removed in next major release
137
- */
138
- getAllFormatColumnWithStyleAndCellAlignment(): FormatColumn[];
139
- /**
140
- * @deprecated internal method, will be removed in next major release
141
- */
142
- getAllFormatColumnWithDisplayFormat(): FormatColumn[];
143
- /**
144
- * @deprecated internal method, will be removed in next major release
145
- */
146
- getAllFormatColumnWithCellAlignment(): FormatColumn[];
147
- /**
148
- * @deprecated use `openFormatColumnSettingsPanel()` instead
149
- */
150
- showFormatColumnPopup(): void;
151
- /**
152
- * @deprecated internal method, will be removed in next major release
153
- */
154
- getFormatColumnsWithStyleForColumn(column: AdaptableColumn, config?: {
155
- includeSuspended?: boolean;
156
- }): FormatColumn[];
157
- /**
158
- * @deprecated internal method, will be removed in next major release
159
- */
160
- getFormatColumnWithStyleClassNameForColumn(column: AdaptableColumn, config?: {
161
- includeSuspended?: boolean;
162
- }): FormatColumn[];
163
- /**
164
- * @deprecated internal method, will be removed in next major release
165
- */
166
- getFormatColumnsWithDisplayFormatForColumn(column: AdaptableColumn, config?: {
167
- includeSuspended?: boolean;
168
- }): FormatColumn[];
169
- /**
170
- * @deprecated internal method, will be removed in next major release
171
- */
172
- getNumberFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): any;
173
- /**
174
- * @deprecated internal method, will be removed in next major release
175
- */
176
- getStringFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
177
- /**
178
- * @deprecated internal method, will be removed in next major release
179
- */
180
- getDateFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
181
- /**
182
- * @deprecated internal method, will be removed in next major release
183
- */
184
- getFormatColumnDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
185
- /**
186
- * @deprecated internal method, will be removed in next major release
187
- */
188
- isFormatColumnRelevantForColumn(formatColumn: FormatColumn, column: AdaptableColumn, params: {
189
- node: IRowNode;
190
- value: any;
191
- }): boolean;
192
- /**
193
- * @deprecated internal method, will be removed in next major release
194
- */
195
- getFormatColumnsRelevantForColumn(formatColumns: FormatColumn[], column: AdaptableColumn, params: {
196
- node: IRowNode;
197
- value: any;
198
- }): FormatColumn[];
199
- /**
200
- * @deprecated internal method, will be removed in next major release
201
- */
202
- getFormatColumnsWithExpression(): FormatColumn[] | undefined;
203
113
  }
@@ -1,5 +1,4 @@
1
1
  import { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue } from '../PredefinedConfig/FreeTextColumnState';
2
- import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
3
2
  import { IRowNode } from '@ag-grid-community/core';
4
3
  /**
5
4
  * Provides run-time access to FreeTextColumn Module and associated state
@@ -57,13 +56,6 @@ export interface FreeTextColumnApi {
57
56
  * @param replaceAction Function Behaviour: 'All' replaces ALL existing Stored Values; 'Conflicting' adds all stored values and replaces those which clash; 'None' only adds where no existing
58
57
  */
59
58
  setStoredValues(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
60
- /**
61
- * Adds Stored Values to Existing FreeTextColumn
62
- * @param columnId Free Text Column to which to add Stored Values
63
- * @param storedValues Stored Values to Add
64
- * @param replaceAction Function Behaviour: 'All' replaces ALL existing Stored Values; 'Conflicting' adds all stored values and replaces those which clash; 'None' only adds where no existing
65
- */
66
- addStoredValuesToFreeTextColumn(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
67
59
  /**
68
60
  * Retrieves a Free Text Column value for a given row node
69
61
  * @param freeTextColumn column to lookup
@@ -74,35 +66,4 @@ export interface FreeTextColumnApi {
74
66
  * Opens Settings Panel with Free Text Column section selected and visible
75
67
  */
76
68
  openFreeTextColumnSettingsPanel(): void;
77
- /**
78
- * TO BE REMOVED
79
- */
80
- /**
81
- * @deprecated use `getFreeTextColumns()` instead
82
- */
83
- getAllFreeTextColumn(): FreeTextColumn[];
84
- /**
85
- * @deprecated use `setStoredValue()` instead
86
- */
87
- addEditFreeTextColumnStoredValue(freeTextColumn: FreeTextColumn, storedValue: FreeTextStoredValue): FreeTextColumn;
88
- /**
89
- * @deprecated use `setStoredValues()` instead
90
- */
91
- addStoredValuesToFreeTextColumn(columnId: string, storedValues: FreeTextStoredValue[], replaceAction: 'All' | 'Conflicting' | 'None'): void;
92
- /**
93
- * @deprecated use `getFreeTextColumnValueForRowNode()` instead
94
- */
95
- getFreeTextColumnValueFromRowNode(freeTextColumn: FreeTextColumn, rowNode: IRowNode): any;
96
- /**
97
- * @deprecated internal method, will be removed in next major release
98
- */
99
- checkFreeTextColumnForDataChange(cellDataChangedInfo: CellDataChangedInfo): void;
100
- /**
101
- * @deprecated internal method, will be removed in next major release
102
- */
103
- getFreeTextColumnModuleReferences(freeTextColumn: FreeTextColumn): string[];
104
- /**
105
- * @deprecated use `openFreeTextColumnSettingsPanel()` instead
106
- */
107
- showFreeTextColumnPopup(): void;
108
69
  }
@@ -38,10 +38,6 @@ export interface GridApi {
38
38
  * @param data any data from any datasource that is suitable for AG Grid
39
39
  */
40
40
  setInitialGridData(data: any): void;
41
- /**
42
- * @deprecated
43
- */
44
- loadGridData(data: any): void;
45
41
  /**
46
42
  * Updates Adaptable (and AG Grid) with rows that have changed
47
43
  * @param dataRows rows which have been updated - send whole row and Adaptable will take care of the rest
@@ -519,31 +515,4 @@ export interface GridApi {
519
515
  * Returns the current AG Grid Row Model Type
520
516
  */
521
517
  getRowModelType(): RowModelType;
522
- /**
523
- * TO BE REMOVED
524
- */
525
- /**
526
- * @deprecated use `collapseAllRowGroups()` instead
527
- */
528
- closeAllRowGroups(): void;
529
- /**
530
- * @deprecated internal method, will be removed in next major release
531
- */
532
- fireGridSortedEvent(): void;
533
- /**
534
- * @deprecated internal method, will be removed in next major release
535
- */
536
- fireCellChangedEvent(cellChangedInfo: CellDataChangedInfo): void;
537
- /**
538
- * @deprecated internal method, will be removed in next major release
539
- */
540
- fireGridDataChangedEvent(dataRows: any[], rowNodes: IRowNode[], rowTrigger: 'Add' | 'Edit' | 'Delete'): void;
541
- /**
542
- * @deprecated use `openGridInfoSettingsPanel()` instead
543
- */
544
- showGridInfoPopup(): void;
545
- /**
546
- * @deprecated use `isEveryCellEditable()` instead
547
- */
548
- areCellsEditable(gridCells: GridCell[]): boolean;
549
518
  }
@@ -0,0 +1,7 @@
1
+ import { ActionColumn, ActionColumnApi } from '../../../types';
2
+ import { ApiBase } from './ApiBase';
3
+ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
4
+ export declare class ActionColumnApiImpl extends ApiBase implements ActionColumnApi {
5
+ constructor(adaptable: IAdaptable);
6
+ getActionColumns(): ActionColumn[];
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActionColumnApiImpl = void 0;
4
+ const ApiBase_1 = require("./ApiBase");
5
+ class ActionColumnApiImpl extends ApiBase_1.ApiBase {
6
+ constructor(adaptable) {
7
+ super(adaptable);
8
+ }
9
+ getActionColumns() {
10
+ var _a;
11
+ return (_a = this.getActionColumnOptions().actionColumns) !== null && _a !== void 0 ? _a : [];
12
+ }
13
+ }
14
+ exports.ActionColumnApiImpl = ActionColumnApiImpl;
@@ -0,0 +1,12 @@
1
+ import { ActionRowApi, ActionRowButtonType } from '../../../types';
2
+ import { ApiBase } from './ApiBase';
3
+ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
4
+ import { ActionRowInternalApi } from '../Internal/ActionRowInternalApi';
5
+ export declare class ActionRowApiImpl extends ApiBase implements ActionRowApi {
6
+ internalApi: ActionRowInternalApi;
7
+ constructor(adaptable: IAdaptable);
8
+ getActionRowButtons(): ActionRowButtonType[];
9
+ displayEditActionRow(primaryKey: any): void;
10
+ displayCreateActionRow(): void;
11
+ displayCloneActionRow(primaryKey?: any): void;
12
+ }
@@ -1,24 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionApiImpl = void 0;
3
+ exports.ActionRowApiImpl = void 0;
4
4
  const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
5
5
  const ApiBase_1 = require("./ApiBase");
6
- const ActionInternalApi_1 = require("../Internal/ActionInternalApi");
7
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
8
- class ActionApiImpl extends ApiBase_1.ApiBase {
6
+ const ActionRowInternalApi_1 = require("../Internal/ActionRowInternalApi");
7
+ class ActionRowApiImpl extends ApiBase_1.ApiBase {
9
8
  constructor(adaptable) {
10
9
  super(adaptable);
11
- this.internalApi = new ActionInternalApi_1.ActionInternalApi(adaptable);
12
- }
13
- getActionColumns() {
14
- var _a;
15
- return (_a = this.getActionOptions().actionColumns) !== null && _a !== void 0 ? _a : [];
10
+ this.internalApi = new ActionRowInternalApi_1.ActionRowInternalApi(adaptable);
16
11
  }
17
12
  getActionRowButtons() {
18
- const actionRowButtons = this.getActionOptions().actionRowButtons;
13
+ const actionRowButtons = this.getActionRowOptions().actionRowButtons;
19
14
  return typeof actionRowButtons === 'function'
20
15
  ? actionRowButtons({
21
16
  adaptableApi: this.getAdaptableApi(),
17
+ userName: this.getOptions().userName,
18
+ adaptableId: this.getOptions().adaptableId,
22
19
  })
23
20
  : actionRowButtons !== null && actionRowButtons !== void 0 ? actionRowButtons : [];
24
21
  }
@@ -59,9 +56,5 @@ class ActionApiImpl extends ApiBase_1.ApiBase {
59
56
  },
60
57
  }));
61
58
  }
62
- getAllActionColumn() {
63
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ActionApi', 'getAllActionColumn', 'getActionColumns');
64
- return this.getActionColumns();
65
- }
66
59
  }
67
- exports.ActionApiImpl = ActionApiImpl;
60
+ exports.ActionRowApiImpl = ActionRowApiImpl;
@@ -29,7 +29,7 @@ import { ThemeApi } from '../ThemeApi';
29
29
  import { GridApi } from '../GridApi';
30
30
  import { ScheduleApi } from '../ScheduleApi';
31
31
  import { QueryApi } from '../QueryApi';
32
- import { QueryLanguageApi } from '../QueryLanguageApi';
32
+ import { ExpressionApi } from '../ExpressionApi';
33
33
  import { TeamSharingApi } from '../TeamSharingApi';
34
34
  import { ColumnApi } from '../ColumnApi';
35
35
  import { ApplicationApi } from '../ApplicationApi';
@@ -39,13 +39,15 @@ import { DataChangeHistoryApi } from '../DataChangeHistoryApi';
39
39
  import { FlashingCellApi } from '../FlashingCellApi';
40
40
  import { ChartingApi } from '../ChartingApi';
41
41
  import { StatusBarApi } from '../StatusBarApi';
42
- import { ActionApi } from '../../../types';
43
42
  import { StyledColumnApi } from '../StyledColumnApi';
43
+ import { ActionColumnApi } from '../ActionColumnApi';
44
+ import { ActionRowApi } from '../ActionRowApi';
44
45
  export declare class AdaptableApiImpl implements AdaptableApi {
45
46
  protected adaptable: IAdaptable;
46
47
  internalApi: AdaptableInternalApi;
47
48
  optionsApi: OptionsApi;
48
- actionApi: ActionApi;
49
+ actionColumnApi: ActionColumnApi;
50
+ actionRowApi: ActionRowApi;
49
51
  applicationApi: ApplicationApi;
50
52
  alertApi: AlertApi;
51
53
  flashingCellApi: FlashingCellApi;
@@ -77,7 +79,7 @@ export declare class AdaptableApiImpl implements AdaptableApi {
77
79
  themeApi: ThemeApi;
78
80
  userInterfaceApi: UserInterfaceApi;
79
81
  queryApi: QueryApi;
80
- queryLanguageApi: QueryLanguageApi;
82
+ expressionApi: ExpressionApi;
81
83
  settingsPanelApi: SettingsPanelApi;
82
84
  styledColumnApi: StyledColumnApi;
83
85
  toolPanelApi: ToolPanelApi;
@@ -35,11 +35,12 @@ const ColumnApiImpl_1 = require("./ColumnApiImpl");
35
35
  const ApplicationApiImpl_1 = require("./ApplicationApiImpl");
36
36
  const ScopeApiImpl_1 = require("./ScopeApiImpl");
37
37
  const DataChangeHistoryApiImpl_1 = require("./DataChangeHistoryApiImpl");
38
- const QueryLanguageApiImpl_1 = require("./QueryLanguageApiImpl");
38
+ const ExpressionApiImpl_1 = require("./ExpressionApiImpl");
39
39
  const FlashingCellApiImpl_1 = require("./FlashingCellApiImpl");
40
40
  const ChartingApiImpl_1 = require("./ChartingApiImpl");
41
41
  const SettingsPanelApiImpl_1 = require("./SettingsPanelApiImpl");
42
- const ActionApiImpl_1 = require("./ActionApiImpl");
42
+ const ActionColumnApiImpl_1 = require("./ActionColumnApiImpl");
43
+ const ActionRowApiImpl_1 = require("./ActionRowApiImpl");
43
44
  const StyledColumnApiImpl_1 = require("./StyledColumnApiImpl");
44
45
  const CalendarApiImpl_1 = require("./CalendarApiImpl");
45
46
  const EntitlementApiImpl_1 = require("./EntitlementApiImpl");
@@ -50,7 +51,8 @@ class AdaptableApiImpl {
50
51
  this.destroyed = false;
51
52
  this.adaptable = adaptable;
52
53
  this.optionsApi = new OptionsApiImpl_1.OptionsApiImpl(adaptable);
53
- this.actionApi = new ActionApiImpl_1.ActionApiImpl(adaptable);
54
+ this.actionColumnApi = new ActionColumnApiImpl_1.ActionColumnApiImpl(adaptable);
55
+ this.actionRowApi = new ActionRowApiImpl_1.ActionRowApiImpl(adaptable);
54
56
  this.applicationApi = new ApplicationApiImpl_1.ApplicationApiImpl(adaptable);
55
57
  this.alertApi = new AlertApiImpl_1.AlertApiImpl(adaptable);
56
58
  this.flashingCellApi = new FlashingCellApiImpl_1.FlashingCellApiImpl(adaptable);
@@ -83,7 +85,7 @@ class AdaptableApiImpl {
83
85
  this.themeApi = new ThemeApiImpl_1.ThemeApiImpl(adaptable);
84
86
  this.userInterfaceApi = new UserInterfaceApiImpl_1.UserInterfaceApiImpl(adaptable);
85
87
  this.queryApi = new QueryApiImpl_1.QueryApiImpl(adaptable);
86
- this.queryLanguageApi = new QueryLanguageApiImpl_1.QueryLanguageApiImpl(adaptable);
88
+ this.expressionApi = new ExpressionApiImpl_1.ExpressionApiImpl(adaptable);
87
89
  this.styledColumnApi = new StyledColumnApiImpl_1.StyledColumnApiImpl(adaptable);
88
90
  this.toolPanelApi = new ToolPanelApiImpl_1.ToolPanelApiImpl(adaptable);
89
91
  this.teamSharingApi = new TeamSharingApiImpl_1.TeamSharingApiImpl(adaptable);
@@ -129,7 +131,7 @@ class AdaptableApiImpl {
129
131
  this.plusMinusApi = null;
130
132
  this.predicateApi = null;
131
133
  this.queryApi = null;
132
- this.queryLanguageApi = null;
134
+ this.expressionApi = null;
133
135
  this.quickSearchApi = null;
134
136
  this.scheduleApi = null;
135
137
  this.scopeApi = null;
@@ -1,14 +1,8 @@
1
1
  import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
2
2
  import { AlertApi } from '../AlertApi';
3
- import { AdaptableAlertAction, AlertButton, AlertDefinition, AlertProperties, AlertState } from '../../PredefinedConfig/AlertState';
4
- import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
5
- import { AdaptableScope } from '../../PredefinedConfig/Common/AdaptableScope';
6
- import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
3
+ import { AlertDefinition, AlertProperties, AlertState } from '../../PredefinedConfig/AlertState';
7
4
  import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
8
- import { AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
9
- import { AlertFormContext } from '../../AdaptableOptions/AlertOptions';
10
5
  import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
11
- import { GridDataChangedInfo } from '../Events/GridDataChanged';
12
6
  import { AdaptableObjectLookupCriteria } from '../../PredefinedConfig/Common/AdaptableObject';
13
7
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
14
8
  import { AlertInternalApi } from '../Internal/AlertInternalApi';
@@ -26,9 +20,7 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
26
20
  deleteAlertDefinition(alertDefinition: AlertDefinition): void;
27
21
  getAlertDefinitionById(id: AlertDefinition['Uuid']): AlertDefinition;
28
22
  addAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
29
- displayAlert(alertToShow: AdaptableAlert): Promise<void>;
30
23
  showAdaptableAlert(alertToShow: AdaptableAlert): Promise<void>;
31
- displayMessageAlertPopup(alertToDisplayAsPopup: AdaptableAlert): void;
32
24
  showAdaptableAlertAsToast(alert: AdaptableAlert): void;
33
25
  showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertProperties): Promise<void>;
34
26
  showAlertInfo(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
@@ -36,7 +28,6 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
36
28
  showAlertWarning(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
37
29
  showAlertError(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): Promise<void>;
38
30
  openAlertSettingsPanel(): void;
39
- showAlertPopup(): void;
40
31
  editAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
41
32
  suspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
42
33
  unSuspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
@@ -44,37 +35,4 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
44
35
  findAlertDefinitions(criteria: AdaptableObjectLookupCriteria): AlertDefinition[];
45
36
  private getRelevantColumnIdsForAlertDefinition;
46
37
  private createCellDataChangeInfoStubs;
47
- /**
48
- * DEPRECATED INTERNAL METHODS
49
- */
50
- executeAlertAction(actionName: AdaptableAlertAction | string, details: {
51
- alertDefinition: AlertDefinition;
52
- cellDataChangedInfo?: CellDataChangedInfo;
53
- gridDataChangedInfo?: GridDataChangedInfo;
54
- formData?: AdaptableFormData;
55
- }): void;
56
- executeAlertButton(button: AlertButton<AlertFormContext>, context: AlertFormContext): void;
57
- getActiveNonReactiveAlertDefinitions(): AlertDefinition[];
58
- getActiveReactiveAlertDefinitions(): AlertDefinition[];
59
- getAlertDefinitionsWithAllowEdit(): AlertDefinition[];
60
- getAlertDefinitionsWithPreventEdit(): AlertDefinition[];
61
- getAlertDescription(alertDefinition: AlertDefinition, cellDataChangedInfo?: CellDataChangedInfo): string;
62
- getAlertMessageHeader(alertDefinition: AlertDefinition, cellDataChangedInfo?: CellDataChangedInfo): string;
63
- getAlertPredicateDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
64
- getAlertRuleDescription(alertDefinition: AlertDefinition): string;
65
- getAlertTypeForAdaptableAlert(alert: AdaptableAlert): 'cellChanged' | 'rowChanged' | 'generic';
66
- getCustomAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: {
67
- cellDataChangedInfo?: CellDataChangedInfo;
68
- gridDataChangedInfo?: GridDataChangedInfo;
69
- }): string;
70
- getCustomAlertMessageHeader(alertDefinition: AlertDefinition, dataChangedInfo?: {
71
- cellDataChangedInfo?: CellDataChangedInfo;
72
- gridDataChangedInfo?: GridDataChangedInfo;
73
- }): string;
74
- getNonReactiveAlertDefinitions(): AlertDefinition[];
75
- getReactiveAlertDefinitions(): AlertDefinition[];
76
- isCellChangedAdaptableAlert(alert: AdaptableAlert): boolean;
77
- isGenericAdaptableAlert(alert: AdaptableAlert): boolean;
78
- isRowChangedAdaptableAlert(alert: AdaptableAlert): boolean;
79
- publishAlertFiredEvent(alertToFire: AdaptableAlert): void;
80
38
  }
@@ -11,7 +11,6 @@ const ObjectFactory_1 = tslib_1.__importDefault(require("../../Utilities/ObjectF
11
11
  const AdaptableAlert_1 = require("../../PredefinedConfig/Common/AdaptableAlert");
12
12
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
13
13
  const AlertInternalApi_1 = require("../Internal/AlertInternalApi");
14
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
15
14
  class AlertApiImpl extends ApiBase_1.ApiBase {
16
15
  constructor(adaptable) {
17
16
  super(adaptable);
@@ -41,10 +40,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
41
40
  this.dispatchAction(AlertRedux.AlertDefinitionAdd(alertDefinition));
42
41
  return this.getAlertDefinitionById(alertDefinition.Uuid);
43
42
  }
44
- async displayAlert(alertToShow) {
45
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'AlertApi', 'displayAlert', 'showAdaptableAlert');
46
- await this.showAdaptableAlert(alertToShow);
47
- }
48
43
  async showAdaptableAlert(alertToShow) {
49
44
  var _a, _b;
50
45
  // 3 things we always do with an alert are:
@@ -55,6 +50,8 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
55
50
  const alertFiredInfo = {
56
51
  adaptableApi: this.adaptable.api,
57
52
  alert: alertToShow,
53
+ userName: this.adaptable.api.optionsApi.getUserName(),
54
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
58
55
  };
59
56
  const results = await this.adaptable.api.eventApi.emit('AlertFired', alertFiredInfo);
60
57
  const showPopup = results.reduce((endResult, aResult) => {
@@ -137,10 +134,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
137
134
  }
138
135
  }
139
136
  }
140
- displayMessageAlertPopup(alertToDisplayAsPopup) {
141
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'AlertApi', 'displayMessageAlertPopup', 'showAdaptableAlertAsToast');
142
- this.showAdaptableAlertAsToast(alertToDisplayAsPopup);
143
- }
144
137
  showAdaptableAlertAsToast(alert) {
145
138
  this.dispatchAction(PopupRedux.PopupShowAlert(alert));
146
139
  }
@@ -164,10 +157,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
164
157
  openAlertSettingsPanel() {
165
158
  this.showModulePopup(ModuleConstants.AlertModuleId);
166
159
  }
167
- showAlertPopup() {
168
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'AlertApi', 'showAlertPopup', 'openAlertSettingsPanel');
169
- this.openAlertSettingsPanel();
170
- }
171
160
  editAlertDefinition(alertDefinition) {
172
161
  this.dispatchAction(AlertRedux.AlertDefinitionEdit(alertDefinition));
173
162
  return this.getAlertDefinitionById(alertDefinition.Uuid);
@@ -183,7 +172,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
183
172
  evaluateAlertDefinitions(alertDefinitions) {
184
173
  const filterScopeAllDefinitions = (alertDefinition) => {
185
174
  if (this.getAdaptableApi().scopeApi.scopeIsAll(alertDefinition.Scope) &&
186
- !this.getAdaptableApi().queryLanguageApi.getAdaptableQueryExpression(alertDefinition.Rule)) {
175
+ !this.getAdaptableApi().expressionApi.getAdaptableQueryExpression(alertDefinition.Rule)) {
187
176
  // we don't support scope ALL without an expression
188
177
  // the predicates for scope ALL do NOT make any sense for a programmatic evaluation
189
178
  return false;
@@ -216,7 +205,7 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
216
205
  getRelevantColumnIdsForAlertDefinition(alertDefinition) {
217
206
  // if there is an Expression defined, extract only the columns from there (in that case the Scope would be 'All' anyway)
218
207
  // columns referenced in rule expression
219
- const ruleExpression = this.getAdaptableApi().queryLanguageApi.getAdaptableQueryExpression(alertDefinition.Rule);
208
+ const ruleExpression = this.getAdaptableApi().expressionApi.getAdaptableQueryExpression(alertDefinition.Rule);
220
209
  if (this.getAdaptableApi().scopeApi.scopeIsAll(alertDefinition.Scope) &&
221
210
  StringExtensions_1.default.IsNotNullOrEmpty(ruleExpression)) {
222
211
  // return only first referenced column (otherwise we would generate multiple alerts for the same row)
@@ -254,84 +243,5 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
254
243
  });
255
244
  return cellDataChangeInfos;
256
245
  }
257
- /**
258
- * DEPRECATED INTERNAL METHODS
259
- */
260
- executeAlertAction(actionName, details) {
261
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'executeAlertAction');
262
- this.internalApi.executeAlertAction(actionName, details);
263
- }
264
- executeAlertButton(button, context) {
265
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'executeAlertButton');
266
- this.internalApi.executeAlertButton(button, context);
267
- }
268
- getActiveNonReactiveAlertDefinitions() {
269
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getActiveNonReactiveAlertDefinitions');
270
- return this.internalApi.getActiveNonReactiveAlertDefinitions();
271
- }
272
- getActiveReactiveAlertDefinitions() {
273
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getActiveReactiveAlertDefinitions');
274
- return this.internalApi.getActiveReactiveAlertDefinitions();
275
- }
276
- getAlertDefinitionsWithAllowEdit() {
277
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertDefinitionsWithAllowEdit');
278
- return this.internalApi.getAlertDefinitionsWithAllowEdit();
279
- }
280
- getAlertDefinitionsWithPreventEdit() {
281
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertDefinitionsWithPreventEdit');
282
- return this.internalApi.getAlertDefinitionsWithPreventEdit();
283
- }
284
- getAlertDescription(alertDefinition, cellDataChangedInfo) {
285
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertDescription');
286
- return this.internalApi.getAlertDescription(alertDefinition, cellDataChangedInfo);
287
- }
288
- getAlertMessageHeader(alertDefinition, cellDataChangedInfo) {
289
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertMessageHeader');
290
- return this.internalApi.getAlertMessageHeader(alertDefinition, cellDataChangedInfo);
291
- }
292
- getAlertPredicateDefsForScope(scope) {
293
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertPredicateDefsForScope');
294
- return this.internalApi.getAlertPredicateDefsForScope(scope);
295
- }
296
- getAlertRuleDescription(alertDefinition) {
297
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertRuleDescription');
298
- return this.internalApi.getAlertRuleDescription(alertDefinition);
299
- }
300
- getAlertTypeForAdaptableAlert(alert) {
301
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getAlertTypeForAdaptableAlert');
302
- return this.internalApi.getAlertTypeForAdaptableAlert(alert);
303
- }
304
- getCustomAlertDescription(alertDefinition, dataChangedInfo) {
305
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getCustomAlertDescription');
306
- return this.internalApi.getCustomAlertDescription(alertDefinition, dataChangedInfo);
307
- }
308
- getCustomAlertMessageHeader(alertDefinition, dataChangedInfo) {
309
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getCustomAlertMessageHeader');
310
- return this.internalApi.getCustomAlertMessageHeader(alertDefinition, dataChangedInfo);
311
- }
312
- getNonReactiveAlertDefinitions() {
313
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getNonReactiveAlertDefinitions');
314
- return this.internalApi.getNonReactiveAlertDefinitions();
315
- }
316
- getReactiveAlertDefinitions() {
317
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'getReactiveAlertDefinitions');
318
- return this.internalApi.getReactiveAlertDefinitions();
319
- }
320
- isCellChangedAdaptableAlert(alert) {
321
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'isCellChangedAdaptableAlert');
322
- return this.internalApi.isCellChangedAdaptableAlert(alert);
323
- }
324
- isGenericAdaptableAlert(alert) {
325
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'isGenericAdaptableAlert');
326
- return this.internalApi.isGenericAdaptableAlert(alert);
327
- }
328
- isRowChangedAdaptableAlert(alert) {
329
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'isRowChangedAdaptableAlert');
330
- return this.internalApi.isRowChangedAdaptableAlert(alert);
331
- }
332
- publishAlertFiredEvent(alertToFire) {
333
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'AlertApi', 'publishAlertFiredEvent');
334
- return this.internalApi.publishAlertFiredEvent(alertToFire);
335
- }
336
246
  }
337
247
  exports.AlertApiImpl = AlertApiImpl;
@@ -7,7 +7,7 @@ import { ModuleInfo } from '../../Strategy/Interface/IModule';
7
7
  import { AdaptableOptions } from '../../AdaptableOptions/AdaptableOptions';
8
8
  import { AdaptableApi } from '../AdaptableApi';
9
9
  import { ExportOptions } from '../../AdaptableOptions/ExportOptions';
10
- import { ActionApi, ActionOptions, AlertApi, ApplicationApi, BulkUpdateApi, CalculatedColumnApi, CalendarApi, CellSummaryApi, ChartingApi, ChartingOptions, ColumnApi, ConfigApi, ContainerOptions, CustomSortApi, DashboardApi, DashboardOptions, DataChangeHistoryApi, DataChangeHistoryOptions, DataSetApi, EditOptions, EntitlementApi, EntitlementOptions, EventApi, ExportApi, FilterApi, FilterOptions, FlashingCellApi, FlashingCellOptions, FormatColumnApi, FreeTextColumnApi, GeneralOptions, GridApi, LayoutApi, LayoutAssociatedObject, LayoutOptions, MenuOptions, PluginsApi, PlusMinusApi, PredicateApi, QueryApi, QueryLanguageApi, QuickSearchApi, ScheduleApi, ScopeApi, SearchOptions, SettingsPanelApi, SettingsPanelOptions, ShortcutApi, SmartEditApi, StateOptions, StatusBarApi, StyledColumnApi, SystemStatusApi, TeamSharingApi, TeamSharingOptions, ThemeApi, ToolPanelApi, UserInterfaceApi, UserInterfaceOptions } from '../../types';
10
+ import { ActionColumnApi, ActionColumnOptions, ActionRowApi, ActionRowOptions, AlertApi, ApplicationApi, BulkUpdateApi, CalculatedColumnApi, CalendarApi, CellSummaryApi, CellSummaryOptions, ChartingApi, ChartingOptions, ColumnApi, ConfigApi, ContainerOptions, CustomSortApi, DashboardApi, DashboardOptions, DataChangeHistoryApi, DataChangeHistoryOptions, DataSetApi, DataSetOptions, EditOptions, EntitlementApi, EntitlementOptions, EventApi, ExportApi, FilterApi, FilterOptions, FlashingCellApi, FlashingCellOptions, FormatColumnApi, FreeTextColumnApi, GridApi, LayoutApi, LayoutAssociatedObject, LayoutOptions, MenuOptions, PluginsApi, PlusMinusApi, PredicateApi, QueryApi, QuickSearchApi, ScheduleApi, ScopeApi, SearchOptions, SettingsPanelApi, SettingsPanelOptions, ShortcutApi, SmartEditApi, StateOptions, StatusBarApi, StyledColumnApi, SystemStatusApi, TeamSharingApi, TeamSharingOptions, ThemeApi, ToolPanelApi, UserInterfaceApi, UserInterfaceOptions } from '../../types';
11
11
  import { NotificationsOptions } from '../../AdaptableOptions/NotificationsOptions';
12
12
  import { ToolPanelOptions } from '../../AdaptableOptions/ToolPanelOptions';
13
13
  import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
@@ -15,6 +15,10 @@ import { AdaptableQLOptions } from '../../AdaptableOptions/AdaptableQLOptions';
15
15
  import { ExpressionOptions } from '../../AdaptableOptions/ExpressionOptions';
16
16
  import { AlertOptions } from '../../AdaptableOptions/AlertOptions';
17
17
  import { ColumnOptions } from '../../AdaptableOptions/ColumnOptions';
18
+ import { GroupingOptions } from '../../AdaptableOptions/GroupingOptions';
19
+ import { CustomSortOptions } from '../../AdaptableOptions/CustomSortOptions';
20
+ import { ExpressionApi } from '../ExpressionApi';
21
+ import { CalendarOptions } from '../../AdaptableOptions/CalendarOptions';
18
22
  export declare abstract class ApiBase {
19
23
  protected adaptable: IAdaptable;
20
24
  /**
@@ -55,15 +59,20 @@ export declare abstract class ApiBase {
55
59
  protected getModuleInfoByModuleId(module: AdaptableModule): ModuleInfo;
56
60
  protected showModulePopup(module: AdaptableModule, moduleParams?: ModuleParams): void;
57
61
  protected getOptions(): AdaptableOptions;
58
- protected getActionOptions(): ActionOptions;
62
+ protected getActionColumnOptions(): ActionColumnOptions;
63
+ protected getActionRowOptions(): ActionRowOptions;
59
64
  protected getColumnOptions(): ColumnOptions;
65
+ protected getCustomSortOptions(): CustomSortOptions;
66
+ protected getDataSetOptions(): DataSetOptions;
67
+ protected getCalendarOptions(): CalendarOptions;
68
+ protected getCellSummaryOptions(): CellSummaryOptions;
60
69
  protected getContainerOptions(): ContainerOptions;
61
70
  protected getNotificationsOptions(): NotificationsOptions;
62
71
  protected getAlertOptions(): AlertOptions;
63
72
  protected getDashboardOptions(): DashboardOptions;
64
73
  protected getEditOptions(): EditOptions;
65
74
  protected getExportOptions(): ExportOptions;
66
- protected getGeneralOptions(): GeneralOptions;
75
+ protected getGroupingOptions(): GroupingOptions;
67
76
  protected getLayoutOptions(): LayoutOptions;
68
77
  protected getMenuOptions(): MenuOptions;
69
78
  protected getFilterOptions(): FilterOptions;
@@ -80,7 +89,8 @@ export declare abstract class ApiBase {
80
89
  protected getFlashingCellOptions(): FlashingCellOptions;
81
90
  protected getSettingsPanelOptions(): SettingsPanelOptions;
82
91
  protected getAdaptableApi(): AdaptableApi;
83
- protected getActionApi(): ActionApi;
92
+ protected getActionColumnApi(): ActionColumnApi;
93
+ protected getActionRowApi(): ActionRowApi;
84
94
  protected getApplicationApi(): ApplicationApi;
85
95
  protected getAlertApi(): AlertApi;
86
96
  protected getFlashingCellApi(): FlashingCellApi;
@@ -111,7 +121,7 @@ export declare abstract class ApiBase {
111
121
  protected getThemeApi(): ThemeApi;
112
122
  protected getUserInterfaceApi(): UserInterfaceApi;
113
123
  protected getQueryApi(): QueryApi;
114
- protected getQueryLanguageApi(): QueryLanguageApi;
124
+ protected getExpressionApi(): ExpressionApi;
115
125
  protected getPluginsApi(): PluginsApi;
116
126
  protected getSettingsPanelApi(): SettingsPanelApi;
117
127
  protected getStyledColumnApi(): StyledColumnApi;