@adaptabletools/adaptable 15.4.3 → 16.0.0-canary.0

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 (278) 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 +3 -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 -7
  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 +1 -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/DataChangedScope.d.ts +9 -0
  181. package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
  182. package/src/PredefinedConfig/LayoutState.d.ts +0 -6
  183. package/src/PredefinedConfig/SystemState.d.ts +1 -1
  184. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  185. package/src/PredefinedConfig/ThemeState.d.ts +3 -0
  186. package/src/Strategy/AdaptableModuleBase.js +3 -3
  187. package/src/Strategy/AlertModule.js +3 -3
  188. package/src/Strategy/CalculatedColumnModule.js +2 -2
  189. package/src/Strategy/CellSummaryModule.js +2 -0
  190. package/src/Strategy/DataSetModule.d.ts +1 -1
  191. package/src/Strategy/DataSetModule.js +1 -1
  192. package/src/Strategy/ExportModule.js +4 -0
  193. package/src/Strategy/FlashingCellModule.js +4 -4
  194. package/src/Strategy/FormatColumnModule.js +3 -3
  195. package/src/Strategy/QueryModule.js +1 -1
  196. package/src/Strategy/SmartEditModule.js +2 -0
  197. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +24 -22
  198. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +4 -0
  199. package/src/Utilities/Helpers/AdaptableHelper.js +12 -6
  200. package/src/Utilities/Helpers/FormatHelper.js +7 -0
  201. package/src/Utilities/ObjectFactory.d.ts +2 -2
  202. package/src/Utilities/ObjectFactory.js +6 -4
  203. package/src/Utilities/Services/AlertService.js +1 -1
  204. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
  205. package/src/Utilities/Services/ChartingService.js +2 -0
  206. package/src/Utilities/Services/EntitlementService.js +2 -2
  207. package/src/Utilities/Services/ModuleService.js +10 -10
  208. package/src/Utilities/Services/QueryLanguageService.js +16 -0
  209. package/src/Utilities/Services/ReportService.js +8 -6
  210. package/src/Utilities/Services/RowEditService.js +4 -2
  211. package/src/Utilities/Services/ValidationService.js +2 -0
  212. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +3 -3
  213. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  214. package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -1
  215. package/src/View/Components/AdaptableIconSelector/index.d.ts +6 -0
  216. package/src/View/Components/AdaptableIconSelector/index.js +18 -0
  217. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -2
  218. package/src/View/Components/AdaptableViewIcon/index.d.ts +10 -0
  219. package/src/View/Components/AdaptableViewIcon/index.js +18 -0
  220. package/src/View/Components/EntityRulesEditor/Utilities.js +3 -3
  221. package/src/View/Components/ExternalRenderer.js +14 -2
  222. package/src/View/Components/FilterForm/QuickFilterForm.js +4 -0
  223. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -0
  224. package/src/View/Components/RangesComponent.d.ts +4 -4
  225. package/src/View/Components/RangesComponent.js +13 -22
  226. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
  227. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -1
  228. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
  229. package/src/View/Dashboard/CustomDashboardButton.js +2 -0
  230. package/src/View/Dashboard/CustomToolbarWrapper.js +13 -1
  231. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +5 -5
  232. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  233. package/src/View/DataChangeHistory/buildActionColumnButton.js +3 -2
  234. package/src/View/Export/ExportViewPanel.js +4 -4
  235. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -1
  236. package/src/View/GridInfo/GridInfoPopup.d.ts +0 -1
  237. package/src/View/GridInfo/GridInfoPopup.js +1 -2
  238. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  239. package/src/View/Layout/LayoutViewPanel.js +1 -1
  240. package/src/View/Layout/PivotDetailsPopoup.js +2 -0
  241. package/src/View/Layout/SaveLayoutButton.js +1 -1
  242. package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
  243. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  244. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +1 -1
  245. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  246. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +8 -1
  247. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  248. package/src/agGrid/ActionColumnRenderer.js +5 -1
  249. package/src/agGrid/Adaptable.d.ts +14 -3
  250. package/src/agGrid/Adaptable.js +129 -30
  251. package/src/agGrid/BadgeRenderer.js +10 -2
  252. package/src/agGrid/CheckboxRenderer.d.ts +1 -2
  253. package/src/agGrid/agGridHelper.js +4 -5
  254. package/src/agGrid/agGridMenuHelper.js +4 -0
  255. package/src/agGrid/attachAddaptableColumnTypes.d.ts +11 -11
  256. package/src/agGrid/editors/AdaptableDateEditor/index.js +2 -0
  257. package/src/agGrid/editors/AdaptableNumberEditor/index.js +2 -2
  258. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -3
  259. package/src/components/AdaptableIconComponent/index.js +6 -3
  260. package/src/components/ExpressionEditor/BaseEditorInput.js +2 -0
  261. package/src/components/ExpressionEditor/index.js +1 -1
  262. package/src/components/IconSelector/IconSelector.d.ts +2 -0
  263. package/src/components/IconSelector/IconSelector.js +21 -5
  264. package/src/components/Input/NumberInput.d.ts +10 -0
  265. package/src/components/Input/NumberInput.js +46 -0
  266. package/src/metamodel/adaptable.metamodel.d.ts +230 -145
  267. package/src/metamodel/adaptable.metamodel.js +1 -1
  268. package/src/types.d.ts +13 -8
  269. package/version.d.ts +1 -1
  270. package/version.js +1 -1
  271. package/src/AdaptableOptions/GeneralOptions.d.ts +0 -159
  272. package/src/Api/Events/SearchChanged.d.ts +0 -12
  273. package/src/Api/Implementation/ActionApiImpl.d.ts +0 -14
  274. /package/src/AdaptableOptions/{ActionOptions.js → ActionColumnOptions.js} +0 -0
  275. /package/src/AdaptableOptions/{GeneralOptions.js → ActionRowOptions.js} +0 -0
  276. /package/src/{Api/ActionApi.js → AdaptableOptions/CalendarOptions.js} +0 -0
  277. /package/src/{Api/Events/SearchChanged.js → AdaptableOptions/CellSummaryOptions.js} +0 -0
  278. /package/src/{Api/QueryLanguageApi.js → AdaptableOptions/CustomSortOptions.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryLanguageInternalApi = void 0;
3
+ exports.ExpressionInternalApi = void 0;
4
4
  const ApiBase_1 = require("../Implementation/ApiBase");
5
- class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
5
+ class ExpressionInternalApi extends ApiBase_1.ApiBase {
6
6
  /**
7
7
  * Checks if a column is referenced in a given Expression
8
8
  * @param columnId Column to Check
9
9
  * @param expression Expression to Lookup
10
10
  */
11
11
  isColumnReferencedInExpression(columnId, expression) {
12
- const colIds = this.getQueryLanguageApi().getColumnsFromExpression(expression);
12
+ const colIds = this.getExpressionApi().getColumnsFromExpression(expression);
13
13
  return colIds.some((c) => c === columnId);
14
14
  }
15
15
  evaluateExpressionInAdaptableQL(module, object, expression) {
@@ -20,6 +20,8 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
20
20
  }
21
21
  const context = {
22
22
  adaptableApi: this.getAdaptableApi(),
23
+ userName: this.getOptions().userName,
24
+ adaptableId: this.getOptions().adaptableId,
23
25
  module,
24
26
  };
25
27
  if (object) {
@@ -28,7 +30,7 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
28
30
  if (expression) {
29
31
  context.expression = expression;
30
32
  context.referencedColumns = this.getAdaptableApi()
31
- .queryLanguageApi.getColumnsFromExpression(expression)
33
+ .expressionApi.getColumnsFromExpression(expression)
32
34
  .map((columnId) => this.getAdaptableApi().columnApi.getColumnWithColumnId(columnId));
33
35
  }
34
36
  return !evaluateExpressionExternallyFn(context);
@@ -41,6 +43,8 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
41
43
  }
42
44
  const context = {
43
45
  adaptableApi: this.getAdaptableApi(),
46
+ userName: this.getAdaptableApi().optionsApi.getUserName(),
47
+ adaptableId: this.getAdaptableApi().optionsApi.getAdaptableId(),
44
48
  module,
45
49
  };
46
50
  if (object) {
@@ -55,4 +59,4 @@ class QueryLanguageInternalApi extends ApiBase_1.ApiBase {
55
59
  return !evaluateExpressionExternallyFn(context);
56
60
  }
57
61
  }
58
- exports.QueryLanguageInternalApi = QueryLanguageInternalApi;
62
+ exports.ExpressionInternalApi = ExpressionInternalApi;
@@ -172,9 +172,12 @@ class FilterInternalApi extends ApiBase_1.ApiBase {
172
172
  */
173
173
  fireFilterAppliedEvent() {
174
174
  if (this.adaptable.isLive) {
175
+ const adaptableApi = this.getAdaptableApi();
175
176
  const filterAppliedInfo = {
176
177
  columnFilters: this.getFilterApi().getColumnFilters(),
177
- adaptableApi: this.getAdaptableApi(),
178
+ adaptableApi: adaptableApi,
179
+ userName: adaptableApi.optionsApi.getUserName(),
180
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
178
181
  };
179
182
  this.adaptable.api.eventApi.emit('FilterApplied', filterAppliedInfo);
180
183
  }
@@ -196,7 +196,7 @@ class FormatColumnInternalApi extends ApiBase_1.ApiBase {
196
196
  return this.adaptable.api.predicateApi.handleColumnPredicates((_a = formatColumn.Rule) === null || _a === void 0 ? void 0 : _a.Predicates, params, false);
197
197
  }
198
198
  evaluateExpression(formatColumn, node) {
199
- const isValidExpression = this.adaptable.api.queryLanguageApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
199
+ const isValidExpression = this.adaptable.api.expressionApi.isValidBooleanExpression(formatColumn.Rule.BooleanExpression, ModuleConstants.FormatColumnModuleId, `Invalid format column rule '${formatColumn.Rule.BooleanExpression}'`);
200
200
  return (isValidExpression &&
201
201
  this.adaptable.api.internalApi
202
202
  .getQueryLanguageService()
@@ -18,6 +18,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
18
18
  const gridSortedInfo = {
19
19
  adaptableSortState: adaptableSortState,
20
20
  adaptableApi: adaptableApi,
21
+ userName: adaptableApi.optionsApi.getUserName(),
22
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
21
23
  };
22
24
  adaptableApi.eventApi.emit('GridSorted', gridSortedInfo);
23
25
  }
@@ -30,6 +32,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
30
32
  const cellChangedInfo = {
31
33
  adaptableApi: this.adaptable.api,
32
34
  cellChange: cellDataChangedInfo,
35
+ userName: this.adaptable.api.optionsApi.getUserName(),
36
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
33
37
  };
34
38
  this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
35
39
  }
@@ -45,6 +49,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
45
49
  rowTrigger,
46
50
  dataRows,
47
51
  rowNodes,
52
+ userName: this.adaptable.api.optionsApi.getUserName(),
53
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
48
54
  };
49
55
  this.adaptable.api.eventApi.emit('GridDataChanged', gridDataChangedInfo);
50
56
  }
@@ -220,6 +226,8 @@ class GridInternalApi extends ApiBase_1.ApiBase {
220
226
  if (editLookUpValues != null && typeof editLookUpValues === 'function') {
221
227
  const editLookUpContext = {
222
228
  adaptableApi: this.adaptable.api,
229
+ userName: this.getOptions().userName,
230
+ adaptableId: this.getOptions().adaptableId,
223
231
  column: column,
224
232
  gridCell,
225
233
  };
@@ -16,11 +16,14 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
16
16
  * @param newState Layout State after change
17
17
  */
18
18
  fireLayoutChangedEvent(trigger, oldSate, newState, skipEqualityCheck) {
19
+ const adaptableApi = this.getAdaptableApi();
19
20
  const layoutChangedInfo = {
20
- adaptableApi: this.getAdaptableApi(),
21
+ adaptableApi: adaptableApi,
21
22
  actionName: trigger,
22
23
  oldLayoutState: oldSate,
23
24
  newLayoutState: newState,
25
+ userName: adaptableApi.optionsApi.getUserName(),
26
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
24
27
  };
25
28
  if (!skipEqualityCheck && (0, isEqual_1.default)(oldSate, newState)) {
26
29
  return;
@@ -152,6 +155,8 @@ class LayoutInternalApi extends ApiBase_1.ApiBase {
152
155
  module,
153
156
  layout,
154
157
  adaptableApi: this.getAdaptableApi(),
158
+ userName: this.getOptions().userName,
159
+ adaptableId: this.getOptions().adaptableId,
155
160
  };
156
161
  return layoutTagOptions === null || layoutTagOptions === void 0 ? void 0 : layoutTagOptions.isObjectAvailableInLayout(context);
157
162
  }
@@ -26,6 +26,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
26
26
  if (typeof systemFilterPredicates === 'function') {
27
27
  const systemPredicateContext = {
28
28
  adaptableApi: this.adaptable.api,
29
+ userName: this.getOptions().userName,
30
+ adaptableId: this.getOptions().adaptableId,
29
31
  systemPredicateDefs: this.getPredicateApi()
30
32
  .getSystemPredicateDefs()
31
33
  .filter((p) => p.moduleScope.includes('filter')),
@@ -51,6 +53,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
51
53
  if (typeof systemAlertPredicates === 'function') {
52
54
  const systemPredicateContext = {
53
55
  adaptableApi: this.adaptable.api,
56
+ userName: this.getOptions().userName,
57
+ adaptableId: this.getOptions().adaptableId,
54
58
  systemPredicateDefs: this.getPredicateApi()
55
59
  .getSystemPredicateDefs()
56
60
  .filter((p) => p.moduleScope.includes('alert')),
@@ -66,6 +70,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
66
70
  if (typeof systemBadgeStylePredicates === 'function') {
67
71
  const systemPredicateContext = {
68
72
  adaptableApi: this.adaptable.api,
73
+ userName: this.getOptions().userName,
74
+ adaptableId: this.getOptions().adaptableId,
69
75
  systemPredicateDefs: this.getPredicateApi()
70
76
  .getSystemPredicateDefs()
71
77
  .filter((p) => p.moduleScope.includes('badgeStyle')),
@@ -91,6 +97,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
91
97
  if (typeof systemFormatColumnPredicates === 'function') {
92
98
  const systemPredicateContext = {
93
99
  adaptableApi: this.adaptable.api,
100
+ userName: this.getOptions().userName,
101
+ adaptableId: this.getOptions().adaptableId,
94
102
  systemPredicateDefs: this.getPredicateApi()
95
103
  .getSystemPredicateDefs()
96
104
  .filter((p) => p.moduleScope.includes('formatColumn')),
@@ -116,6 +124,8 @@ class PredicateInternalApi extends ApiBase_1.ApiBase {
116
124
  if (typeof systemFlashingCellPredicates === 'function') {
117
125
  const systemPredicateContext = {
118
126
  adaptableApi: this.adaptable.api,
127
+ userName: this.getOptions().userName,
128
+ adaptableId: this.getOptions().adaptableId,
119
129
  systemPredicateDefs: this.getPredicateApi()
120
130
  .getSystemPredicateDefs()
121
131
  .filter((p) => p.moduleScope.includes('flashingcell')),
@@ -45,9 +45,11 @@ class QueryInternalApi extends ApiBase_1.ApiBase {
45
45
  const queryRunInfo = {
46
46
  currentQuery,
47
47
  queryAST: currentQuery
48
- ? adaptableApi.queryLanguageApi.getASTForExpression(currentQuery)
48
+ ? adaptableApi.expressionApi.getASTForExpression(currentQuery)
49
49
  : null,
50
50
  adaptableApi: adaptableApi,
51
+ userName: adaptableApi.optionsApi.getUserName(),
52
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
51
53
  };
52
54
  adaptableApi.eventApi.emit('QueryRun', queryRunInfo);
53
55
  }
@@ -10,9 +10,12 @@ class SystemStatusInternalApi extends ApiBase_1.ApiBase {
10
10
  * @param systemStatusMessageInfo Info about new System Status Message
11
11
  */
12
12
  fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo) {
13
+ const adaptableApi = this.getAdaptableApi();
13
14
  const systemStatusMessageDisplayedInfo = {
14
- adaptableApi: this.getAdaptableApi(),
15
+ adaptableApi,
15
16
  systemStatusMessageInfo: systemStatusMessageInfo,
17
+ userName: adaptableApi.optionsApi.getUserName(),
18
+ adaptableId: adaptableApi.optionsApi.getAdaptableId(),
16
19
  };
17
20
  this.getAdaptableApi().eventApi.emit('SystemStatusMessageDisplayed', systemStatusMessageDisplayedInfo);
18
21
  }
@@ -12,6 +12,8 @@ class TeamSharingInternalApi extends ApiBase_1.ApiBase {
12
12
  const teamSharingEntityChangedInfo = {
13
13
  adaptableApi: this.adaptable.api,
14
14
  sharedEntity: sharedEntity,
15
+ userName: this.adaptable.api.optionsApi.getUserName(),
16
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
15
17
  };
16
18
  this.getAdaptableApi().eventApi.emit('TeamSharingEntityChanged', teamSharingEntityChangedInfo);
17
19
  }
@@ -9,11 +9,10 @@ export interface LayoutApi {
9
9
  */
10
10
  getLayoutState(): LayoutState;
11
11
  /**
12
- * Whether this Layout should be auto saved (based on Layout State and Layout Options)
13
- * @param layout Layout to save
14
- * @returns layout
12
+ * Whether Layouts are auto saved (based on Layout Options)
13
+ * @returns boolean
15
14
  */
16
- shouldAutoSaveLayout(layout?: Layout): boolean;
15
+ shouldAutoSaveLayouts(): boolean;
17
16
  /**
18
17
  * Sets (i.e. selects) the Layout
19
18
  * @param layoutName Layout to set (has to be name of existing Layout)
@@ -175,27 +174,4 @@ export interface LayoutApi {
175
174
  ColumnFilters: boolean;
176
175
  ColumnSorts: boolean;
177
176
  };
178
- /**
179
- * TO BE REMOVED
180
- */
181
- /**
182
- * @deprecated use `getLayouts()` instead
183
- */
184
- getAllLayout(): Layout[];
185
- /**
186
- * @deprecated internal method, will be removed in next major release
187
- */
188
- fireLayoutChangedEvent(trigger: string, oldSate: LayoutState, newState: LayoutState, skipEqualityCheck?: boolean): void;
189
- /**
190
- * @deprecated internal method, will be removed in next major release
191
- */
192
- areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
193
- /**
194
- * @deprecated internal method, will be removed in next major release
195
- */
196
- createDefaultLayoutIfNeeded(): Layout | null;
197
- /**
198
- * @deprecated use `openLayoutSettingsPanel()` instead
199
- */
200
- showLayoutPopup(): void;
201
177
  }
@@ -1,5 +1,7 @@
1
- import { GridOptions } from '@ag-grid-community/core';
2
- import { ActionOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, GeneralOptions, LayoutOptions, MenuOptions, NotificationsOptions, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
1
+ import { CustomSortOptions } from '../AdaptableOptions/CustomSortOptions';
2
+ import { DataSetOptions } from '../AdaptableOptions/DataSetOptions';
3
+ import { GroupingOptions } from '../AdaptableOptions/GroupingOptions';
4
+ import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, LayoutOptions, MenuOptions, NotificationsOptions, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../types';
3
5
  /**
4
6
  * Range of functions to access Adaptable Options
5
7
  */
@@ -16,10 +18,6 @@ export interface OptionsApi {
16
18
  * Returns `AdaptableOptions.autogeneratePrimaryKey`
17
19
  */
18
20
  getAutogeneratePrimaryKey(): boolean;
19
- /**
20
- * Returns `AdaptableOptions.gridOptions`
21
- */
22
- getAgGridOptions(): GridOptions;
23
21
  /**
24
22
  * Returns `AdaptableOptions.licenseKey`
25
23
  */
@@ -37,9 +35,13 @@ export interface OptionsApi {
37
35
  */
38
36
  getAdaptableOptions(): Readonly<AdaptableOptions>;
39
37
  /**
40
- * Returns `AdaptableOptions.actionOptions`
38
+ * Returns `AdaptableOptions.actionColumnOptions`
39
+ */
40
+ getActionColumnOptions(): Readonly<ActionColumnOptions>;
41
+ /**
42
+ * Returns `AdaptableOptions.actionRowOptions`
41
43
  */
42
- getActionOptions(): Readonly<ActionOptions>;
44
+ getActionRowOptions(): Readonly<ActionRowOptions>;
43
45
  /**
44
46
  * Returns `AdaptableOptions.alertOptions`
45
47
  */
@@ -48,6 +50,14 @@ export interface OptionsApi {
48
50
  * Returns `AdaptableOptions.adaptableQLOptions`
49
51
  */
50
52
  getAdaptableQLOptions(): Readonly<AdaptableQLOptions>;
53
+ /**
54
+ * Returns `AdaptableOptions.calendarOptions`
55
+ */
56
+ getCalendarOptions(): Readonly<CalendarOptions>;
57
+ /**
58
+ * Returns `AdaptableOptions.cellSummaryOptions`
59
+ */
60
+ getCellSummaryOptions(): Readonly<CellSummaryOptions>;
51
61
  /**
52
62
  * Returns `AdaptableOptions.chartingOptions`
53
63
  */
@@ -60,6 +70,10 @@ export interface OptionsApi {
60
70
  * Returns `AdaptableOptions.columnOptions`
61
71
  */
62
72
  getColumnOptions(): Readonly<ColumnOptions>;
73
+ /**
74
+ * Returns `AdaptableOptions.customSortOptions`
75
+ */
76
+ getCustomSortOptions(): Readonly<CustomSortOptions>;
63
77
  /**
64
78
  * Returns `AdaptableOptions.dashboardOptions`
65
79
  */
@@ -68,6 +82,10 @@ export interface OptionsApi {
68
82
  * Returns `AdaptableOptions.dataChangeHistoryOptions`
69
83
  */
70
84
  getDataChangeHistoryOptions(): Readonly<DataChangeHistoryOptions>;
85
+ /**
86
+ * Returns `AdaptableOptions.dataSetOptions`
87
+ */
88
+ getDataSetOptions(): Readonly<DataSetOptions>;
71
89
  /**
72
90
  * Returns `AdaptableOptions.editOptions`
73
91
  */
@@ -89,9 +107,9 @@ export interface OptionsApi {
89
107
  */
90
108
  getFlashingCellOptions(): Readonly<FlashingCellOptions>;
91
109
  /**
92
- * Returns `AdaptableOptions.generalOptions`
110
+ * Returns `AdaptableOptions.groupingOptions`
93
111
  */
94
- getGeneralOptions(): Readonly<GeneralOptions>;
112
+ getGroupingOptions(): Readonly<GroupingOptions>;
95
113
  /**
96
114
  * Returns `AdaptableOptions.layoutOptions`
97
115
  */
@@ -71,11 +71,4 @@ export interface PlusMinusApi {
71
71
  * @returns plus minus rule
72
72
  */
73
73
  unSuspendPlusMinusNudge(plusMinusNudge: PlusMinusNudge): PlusMinusNudge;
74
- /**
75
- * TO BE REMOVED
76
- */
77
- /**
78
- * @deprecated use `openPlusMinusSettingsPanel()` instead
79
- */
80
- showPlusMinusPopup(): void;
81
74
  }
@@ -1,4 +1,4 @@
1
- import { AdaptableColumnDataType, AdaptableColumnPredicate, AdaptableScope, SystemFilterPredicateId } from '../../types';
1
+ import { AdaptableColumnPredicate } from '../../types';
2
2
  import { AdaptablePredicateDef, AdaptablePredicate, PredicateDefHandlerParams, PredicateModuleScope } from '../PredefinedConfig/Common/AdaptablePredicate';
3
3
  /**
4
4
  * Functions which manage the Predicate object in AdapTable
@@ -81,35 +81,4 @@ export interface PredicateApi {
81
81
  * @param defaultReturn Whether to return the default
82
82
  */
83
83
  handlePredicates(predicates: AdaptablePredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
84
- /**
85
- * TO BE REMOVED
86
- */
87
- /**
88
- * @deprecated use `IsEveryPredicateValid()` instead
89
- */
90
- arePredicatesValid(predicates: AdaptablePredicate[]): boolean;
91
- /**
92
- * @deprecated internal method, will be removed in next major release
93
- */
94
- hasPredicateValues(predicate: AdaptablePredicate): boolean;
95
- /**
96
- * @deprecated internal method, will be removed in next major release
97
- */
98
- getFilterPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
99
- /**
100
- * @deprecated internal method, will be removed in next major release
101
- */
102
- getAlertPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
103
- /**
104
- * @deprecated internal method, will be removed in next major release
105
- */
106
- getFormatColumnPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
107
- /**
108
- * @deprecated internal method, will be removed in next major release
109
- */
110
- getFlashingCellPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
111
- /**
112
- * @deprecated internal method, will be removed in next major release
113
- */
114
- getEqualityPredicateForDataType(dataType: AdaptableColumnDataType): SystemFilterPredicateId;
115
84
  }
@@ -48,27 +48,4 @@ export interface QueryApi {
48
48
  * @param query - query to edit
49
49
  */
50
50
  expandCurrentQuery(query?: string): void;
51
- /**
52
- * TO BE REMOVED
53
- */
54
- /**
55
- * @deprecated use `getNamedQueries()` instead
56
- */
57
- getAllNamedQuery(): NamedQuery[];
58
- /**
59
- * @deprecated internal method, will be removed in next major release
60
- */
61
- getReferencedNamedQueryNames(expression: string): string[];
62
- /**
63
- * @deprecated internal method, will be removed in next major release
64
- */
65
- getNamedQueryModuleReferences(namedQueryName: string): string[];
66
- /**
67
- * @deprecated use `openQuerySettingsPanel()` instead
68
- */
69
- showQueryPopup(): void;
70
- /**
71
- * @deprecated internal method, will be removed in next major release
72
- */
73
- fireQueryRunEvent(): void;
74
51
  }
@@ -30,10 +30,6 @@ export interface QuickSearchApi {
30
30
  * @param style the style to use
31
31
  */
32
32
  setQuickSearchStyle(style: AdaptableStyle): void;
33
- /**
34
- * @deprecated use `openQuickSearchSettingsPanel()` instead
35
- */
36
- showQuickSearchPopup(): void;
37
33
  /**
38
34
  * Opens Settings Panel with Quick Search section selected and visible
39
35
  */
@@ -264,85 +264,4 @@ export interface ScheduleApi {
264
264
  * Opens Settings Panel with Schedule section selected and visible
265
265
  */
266
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
- */
347
- showSchedulePopup(): void;
348
267
  }
@@ -13,15 +13,4 @@ export interface SettingsPanelApi {
13
13
  * @param name name of Custom Settings Panel to display
14
14
  */
15
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
- */
26
- showCustomSettingsPanel(name: string): void;
27
16
  }
@@ -57,29 +57,4 @@ export interface ShortcutApi {
57
57
  * Opens Settings Panel with Shortcut section selected and visible
58
58
  */
59
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
- */
84
- showShortcutPopup(): void;
85
60
  }
@@ -42,11 +42,4 @@ 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;
52
45
  }
@@ -95,27 +95,6 @@ export interface StyledColumnApi {
95
95
  * Open Styled Column section of Settings Panel
96
96
  */
97
97
  openStyledColumnSettingsPanel(): void;
98
- /**
99
- * TO BE REMOVED
100
- */
101
- /**
102
- * @deprecated use `getStyledColumns()` instead
103
- */
104
- getAllStyledColumn(config?: {
105
- includeLayoutNotAssociatedObjects?: boolean;
106
- }): StyledColumn[];
107
- /**
108
- * @deprecated use `getStyledColumnForColumnId()` instead
109
- */
110
- getStyledColumnByColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
111
- /**
112
- * @deprecated use `getActiveStyledColumns()` instead
113
- */
114
- getAllActiveStyledColumn(): StyledColumn[];
115
- /**
116
- * @deprecated use `getSuspendedStyledColumns()` instead
117
- */
118
- getAllSuspendedStyledColumn(): StyledColumn[];
119
98
  /**
120
99
  * Can this AdapTable instance display Sparklines (e.g. is AG Grid SparklinesModule installed)
121
100
  */
@@ -35,15 +35,4 @@ export interface SystemStatusApi {
35
35
  * Deletes all System Status messages
36
36
  */
37
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;
49
38
  }
@@ -71,27 +71,4 @@ export interface TeamSharingApi {
71
71
  * Refreshes the local TeamSharing state by (re)loading the remote state.
72
72
  */
73
73
  refreshTeamSharing(): void;
74
- /**
75
- * TO BE REMOVED
76
- */
77
- /**
78
- *@deprecated use `openTeamSharingSettingsPanel()` instead
79
- */
80
- showTeamSharingPopup(): void;
81
- /**
82
- * @deprecated use `refreshTeamSharing()` instead
83
- */
84
- triggerLoadingTeamSharingEntries(): void;
85
- /**
86
- * @deprecated use `loadSharedEntities()` instead ()
87
- */
88
- getSharedEntities(): Promise<SharedEntity[]>;
89
- /**
90
- * @deprecated use `persistSharedEntities()` instead
91
- */
92
- setSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
93
- /**
94
- * @deprecated use `shareAdaptableEntity()` instead
95
- */
96
- shareEntity(entity: AdaptableObject, module: AdaptableModule, sharedEntityConfig: AdaptableSharedEntityConfig): void;
97
74
  }