@adaptabletools/adaptable 15.4.2 → 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 (286) hide show
  1. package/base.css +1 -1
  2. package/base.css.map +1 -1
  3. package/bundle.cjs.js +232 -226
  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/AdaptableNoCodeWizard.d.ts +3 -0
  10. package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -2
  11. package/src/AdaptableOptions/ActionColumnOptions.d.ts +82 -0
  12. package/src/AdaptableOptions/{ActionOptions.d.ts → ActionRowOptions.d.ts} +15 -90
  13. package/src/AdaptableOptions/AdaptableOptions.d.ts +32 -7
  14. package/src/AdaptableOptions/AdaptableQLOptions.d.ts +1 -12
  15. package/src/AdaptableOptions/AlertOptions.d.ts +9 -0
  16. package/src/AdaptableOptions/CalendarOptions.d.ts +11 -0
  17. package/src/AdaptableOptions/CellSummaryOptions.d.ts +10 -0
  18. package/src/AdaptableOptions/ColumnOptions.d.ts +0 -4
  19. package/src/AdaptableOptions/CustomSortOptions.d.ts +24 -0
  20. package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +5 -1
  21. package/src/AdaptableOptions/DataSetOptions.d.ts +41 -0
  22. package/src/AdaptableOptions/DataSetOptions.js +2 -0
  23. package/src/AdaptableOptions/EditOptions.d.ts +4 -4
  24. package/src/AdaptableOptions/EntitlementOptions.d.ts +0 -16
  25. package/src/AdaptableOptions/ExportOptions.d.ts +2 -4
  26. package/src/AdaptableOptions/ExpressionOptions.d.ts +7 -0
  27. package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
  28. package/src/AdaptableOptions/FinancePluginOptions.d.ts +24 -0
  29. package/src/AdaptableOptions/GroupingOptions.d.ts +50 -0
  30. package/src/AdaptableOptions/GroupingOptions.js +2 -0
  31. package/src/AdaptableOptions/LayoutOptions.d.ts +3 -0
  32. package/src/AdaptableOptions/MasterDetailPluginOptions.d.ts +9 -0
  33. package/src/AdaptableOptions/PredicateOptions.d.ts +4 -0
  34. package/src/AdaptableOptions/TeamSharingOptions.d.ts +0 -8
  35. package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -0
  36. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +36 -1
  37. package/src/Api/ActionColumnApi.d.ts +10 -0
  38. package/src/Api/ActionColumnApi.js +2 -0
  39. package/src/Api/{ActionApi.d.ts → ActionRowApi.d.ts} +4 -15
  40. package/src/Api/ActionRowApi.js +2 -0
  41. package/src/Api/AdaptableApi.d.ts +11 -6
  42. package/src/Api/AlertApi.d.ts +2 -111
  43. package/src/Api/BulkUpdateApi.d.ts +0 -7
  44. package/src/Api/CalculatedColumnApi.d.ts +0 -31
  45. package/src/Api/CalendarApi.d.ts +1 -1
  46. package/src/Api/CellSummaryApi.d.ts +0 -7
  47. package/src/Api/ChartingApi.d.ts +0 -7
  48. package/src/Api/ColumnApi.d.ts +1 -131
  49. package/src/Api/ConfigApi.d.ts +1 -7
  50. package/src/Api/CustomSortApi.d.ts +0 -25
  51. package/src/Api/DashboardApi.d.ts +0 -16
  52. package/src/Api/DataChangeHistoryApi.d.ts +0 -7
  53. package/src/Api/DataSetApi.d.ts +1 -16
  54. package/src/Api/EventApi.d.ts +1 -9
  55. package/src/Api/Events/AdaptableStateChanged.d.ts +0 -8
  56. package/src/Api/Events/AdaptableStateReloaded.d.ts +0 -4
  57. package/src/Api/Events/BaseEventInfo.d.ts +9 -1
  58. package/src/Api/Events/LiveDataChanged.d.ts +3 -7
  59. package/src/Api/ExportApi.d.ts +10 -34
  60. package/src/Api/{QueryLanguageApi.d.ts → ExpressionApi.d.ts} +2 -2
  61. package/src/Api/ExpressionApi.js +2 -0
  62. package/src/Api/FilterApi.d.ts +1 -59
  63. package/src/Api/FlashingCellApi.d.ts +0 -15
  64. package/src/Api/FormatColumnApi.d.ts +1 -91
  65. package/src/Api/FreeTextColumnApi.d.ts +0 -39
  66. package/src/Api/GridApi.d.ts +20 -31
  67. package/src/Api/Implementation/ActionColumnApiImpl.d.ts +7 -0
  68. package/src/Api/Implementation/ActionColumnApiImpl.js +14 -0
  69. package/src/Api/Implementation/ActionRowApiImpl.d.ts +12 -0
  70. package/src/Api/Implementation/{ActionApiImpl.js → ActionRowApiImpl.js} +8 -15
  71. package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
  72. package/src/Api/Implementation/AdaptableApiImpl.js +7 -5
  73. package/src/Api/Implementation/AlertApiImpl.d.ts +1 -43
  74. package/src/Api/Implementation/AlertApiImpl.js +4 -94
  75. package/src/Api/Implementation/ApiBase.d.ts +15 -5
  76. package/src/Api/Implementation/ApiBase.js +26 -8
  77. package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +0 -7
  78. package/src/Api/Implementation/CalculatedColumnApiImpl.js +0 -32
  79. package/src/Api/Implementation/CalendarApiImpl.d.ts +1 -0
  80. package/src/Api/Implementation/CalendarApiImpl.js +20 -17
  81. package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -1
  82. package/src/Api/Implementation/CellSummaryApiImpl.js +1 -6
  83. package/src/Api/Implementation/ChartingApiImpl.d.ts +0 -1
  84. package/src/Api/Implementation/ChartingApiImpl.js +0 -5
  85. package/src/Api/Implementation/ColumnApiImpl.d.ts +0 -35
  86. package/src/Api/Implementation/ColumnApiImpl.js +1 -138
  87. package/src/Api/Implementation/ConfigApiImpl.js +2 -1
  88. package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -5
  89. package/src/Api/Implementation/CustomSortApiImpl.js +0 -16
  90. package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -4
  91. package/src/Api/Implementation/DashboardApiImpl.js +2 -24
  92. package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +0 -1
  93. package/src/Api/Implementation/DataChangeHistoryApiImpl.js +0 -5
  94. package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -4
  95. package/src/Api/Implementation/DataSetApiImpl.js +1 -14
  96. package/src/Api/Implementation/ExportApiImpl.d.ts +4 -10
  97. package/src/Api/Implementation/ExportApiImpl.js +15 -34
  98. package/src/Api/Implementation/{QueryLanguageApiImpl.d.ts → ExpressionApiImpl.d.ts} +4 -4
  99. package/src/Api/Implementation/{QueryLanguageApiImpl.js → ExpressionApiImpl.js} +7 -5
  100. package/src/Api/Implementation/FilterApiImpl.d.ts +1 -17
  101. package/src/Api/Implementation/FilterApiImpl.js +0 -53
  102. package/src/Api/Implementation/FlashingCellApiImpl.d.ts +0 -3
  103. package/src/Api/Implementation/FlashingCellApiImpl.js +2 -13
  104. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +2 -34
  105. package/src/Api/Implementation/FormatColumnApiImpl.js +0 -73
  106. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +0 -8
  107. package/src/Api/Implementation/FreeTextColumnApiImpl.js +0 -29
  108. package/src/Api/Implementation/GridApiImpl.d.ts +0 -7
  109. package/src/Api/Implementation/GridApiImpl.js +6 -35
  110. package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -6
  111. package/src/Api/Implementation/LayoutApiImpl.js +2 -27
  112. package/src/Api/Implementation/OptionsApiImpl.d.ts +10 -5
  113. package/src/Api/Implementation/OptionsApiImpl.js +19 -7
  114. package/src/Api/Implementation/PlusMinusApiImpl.d.ts +0 -1
  115. package/src/Api/Implementation/PlusMinusApiImpl.js +0 -5
  116. package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -8
  117. package/src/Api/Implementation/PredicateApiImpl.js +2 -30
  118. package/src/Api/Implementation/QueryApiImpl.d.ts +0 -5
  119. package/src/Api/Implementation/QueryApiImpl.js +0 -21
  120. package/src/Api/Implementation/QuickSearchApiImpl.d.ts +0 -1
  121. package/src/Api/Implementation/QuickSearchApiImpl.js +0 -5
  122. package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -18
  123. package/src/Api/Implementation/ScheduleApiImpl.js +0 -69
  124. package/src/Api/Implementation/ScopeApiImpl.js +1 -1
  125. package/src/Api/Implementation/SettingsPanelApiImpl.d.ts +0 -2
  126. package/src/Api/Implementation/SettingsPanelApiImpl.js +0 -9
  127. package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -6
  128. package/src/Api/Implementation/ShortcutApiImpl.js +0 -21
  129. package/src/Api/Implementation/SmartEditApiImpl.d.ts +0 -1
  130. package/src/Api/Implementation/SmartEditApiImpl.js +0 -5
  131. package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -5
  132. package/src/Api/Implementation/StyledColumnApiImpl.js +2 -17
  133. package/src/Api/Implementation/SystemStatusApiImpl.d.ts +0 -2
  134. package/src/Api/Implementation/SystemStatusApiImpl.js +0 -9
  135. package/src/Api/Implementation/TeamSharingApiImpl.d.ts +0 -5
  136. package/src/Api/Implementation/TeamSharingApiImpl.js +0 -21
  137. package/src/Api/Implementation/ThemeApiImpl.d.ts +0 -4
  138. package/src/Api/Implementation/ThemeApiImpl.js +2 -17
  139. package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
  140. package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +4 -2
  141. package/src/Api/Implementation/UserInterfaceApiImpl.js +17 -10
  142. package/src/Api/Internal/{ActionInternalApi.d.ts → ActionRowInternalApi.d.ts} +2 -2
  143. package/src/Api/Internal/{ActionInternalApi.js → ActionRowInternalApi.js} +12 -5
  144. package/src/Api/Internal/AdaptableInternalApi.d.ts +1 -10
  145. package/src/Api/Internal/AdaptableInternalApi.js +9 -20
  146. package/src/Api/Internal/AlertInternalApi.js +9 -6
  147. package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
  148. package/src/Api/Internal/CustomSortInternalApi.d.ts +1 -1
  149. package/src/Api/Internal/CustomSortInternalApi.js +1 -1
  150. package/src/Api/Internal/DashboardInternalApi.js +2 -0
  151. package/src/Api/Internal/DataSetInternalApi.d.ts +1 -1
  152. package/src/Api/Internal/DataSetInternalApi.js +2 -1
  153. package/src/Api/Internal/ExportInternalApi.js +1 -1
  154. package/src/Api/Internal/{QueryLanguageInternalApi.d.ts → ExpressionnternalApi.d.ts} +1 -1
  155. package/src/Api/Internal/{QueryLanguageInternalApi.js → ExpressionnternalApi.js} +9 -5
  156. package/src/Api/Internal/FilterInternalApi.js +4 -1
  157. package/src/Api/Internal/FormatColumnInternalApi.js +1 -1
  158. package/src/Api/Internal/GridInternalApi.js +8 -0
  159. package/src/Api/Internal/LayoutInternalApi.js +6 -1
  160. package/src/Api/Internal/PredicateInternalApi.js +10 -0
  161. package/src/Api/Internal/QueryInternalApi.js +3 -1
  162. package/src/Api/Internal/SystemStatusInternalApi.js +4 -1
  163. package/src/Api/Internal/TeamSharingInternalApi.js +2 -0
  164. package/src/Api/LayoutApi.d.ts +3 -27
  165. package/src/Api/OptionsApi.d.ts +28 -10
  166. package/src/Api/PlusMinusApi.d.ts +0 -7
  167. package/src/Api/PredicateApi.d.ts +1 -32
  168. package/src/Api/QueryApi.d.ts +0 -23
  169. package/src/Api/QuickSearchApi.d.ts +0 -4
  170. package/src/Api/ScheduleApi.d.ts +0 -81
  171. package/src/Api/SettingsPanelApi.d.ts +0 -11
  172. package/src/Api/ShortcutApi.d.ts +0 -25
  173. package/src/Api/SmartEditApi.d.ts +0 -7
  174. package/src/Api/StyledColumnApi.d.ts +0 -21
  175. package/src/Api/SystemStatusApi.d.ts +0 -11
  176. package/src/Api/TeamSharingApi.d.ts +0 -23
  177. package/src/Api/ThemeApi.d.ts +0 -19
  178. package/src/Api/UserInterfaceApi.d.ts +4 -9
  179. package/src/PredefinedConfig/AlertState.d.ts +11 -5
  180. package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +3 -3
  181. package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +4 -1
  182. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +13 -1
  183. package/src/PredefinedConfig/Common/AggregationColumns.d.ts +3 -0
  184. package/src/PredefinedConfig/Common/BaseContext.d.ts +8 -0
  185. package/src/PredefinedConfig/Common/DataChangedScope.d.ts +9 -0
  186. package/src/PredefinedConfig/Common/Entitlement.d.ts +4 -1
  187. package/src/PredefinedConfig/LayoutState.d.ts +0 -6
  188. package/src/PredefinedConfig/StyledColumnState.d.ts +3 -0
  189. package/src/PredefinedConfig/SystemState.d.ts +1 -1
  190. package/src/PredefinedConfig/TeamSharingState.d.ts +1 -1
  191. package/src/PredefinedConfig/ThemeState.d.ts +3 -0
  192. package/src/Strategy/AdaptableModuleBase.js +3 -3
  193. package/src/Strategy/AlertModule.js +3 -3
  194. package/src/Strategy/CalculatedColumnModule.js +2 -2
  195. package/src/Strategy/CellSummaryModule.js +2 -0
  196. package/src/Strategy/DataSetModule.d.ts +1 -1
  197. package/src/Strategy/DataSetModule.js +1 -1
  198. package/src/Strategy/ExportModule.js +4 -0
  199. package/src/Strategy/FlashingCellModule.js +4 -4
  200. package/src/Strategy/FormatColumnModule.js +3 -3
  201. package/src/Strategy/QueryModule.js +1 -1
  202. package/src/Strategy/SmartEditModule.js +2 -0
  203. package/src/Utilities/Defaults/DefaultAdaptableOptions.js +24 -22
  204. package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +4 -0
  205. package/src/Utilities/Helpers/AdaptableHelper.js +12 -6
  206. package/src/Utilities/Helpers/FormatHelper.js +7 -0
  207. package/src/Utilities/ObjectFactory.d.ts +2 -2
  208. package/src/Utilities/ObjectFactory.js +6 -4
  209. package/src/Utilities/Services/AlertService.js +1 -1
  210. package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -2
  211. package/src/Utilities/Services/ChartingService.js +2 -0
  212. package/src/Utilities/Services/EntitlementService.js +2 -2
  213. package/src/Utilities/Services/ModuleService.js +10 -10
  214. package/src/Utilities/Services/QueryLanguageService.js +16 -0
  215. package/src/Utilities/Services/ReportService.js +8 -6
  216. package/src/Utilities/Services/RowEditService.js +4 -2
  217. package/src/Utilities/Services/ValidationService.js +2 -0
  218. package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +3 -3
  219. package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
  220. package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -1
  221. package/src/View/Components/AdaptableIconSelector/index.d.ts +6 -0
  222. package/src/View/Components/AdaptableIconSelector/index.js +18 -0
  223. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +2 -2
  224. package/src/View/Components/AdaptableViewIcon/index.d.ts +10 -0
  225. package/src/View/Components/AdaptableViewIcon/index.js +18 -0
  226. package/src/View/Components/EntityRulesEditor/Utilities.js +3 -3
  227. package/src/View/Components/ExternalRenderer.js +14 -2
  228. package/src/View/Components/FilterForm/QuickFilterForm.js +4 -0
  229. package/src/View/Components/FilterForm/QuickFilterValues.js +8 -1
  230. package/src/View/Components/Popups/AdaptablePopupAlert.js +2 -0
  231. package/src/View/Components/RangesComponent.d.ts +4 -4
  232. package/src/View/Components/RangesComponent.js +13 -22
  233. package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
  234. package/src/View/Components/ToolPanel/CustomToolPanelContent.js +11 -1
  235. package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
  236. package/src/View/Dashboard/CustomDashboardButton.js +2 -0
  237. package/src/View/Dashboard/CustomToolbarWrapper.js +13 -1
  238. package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +5 -5
  239. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  240. package/src/View/DataChangeHistory/buildActionColumnButton.js +3 -2
  241. package/src/View/Export/ExportViewPanel.js +4 -4
  242. package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +3 -1
  243. package/src/View/GridInfo/GridInfoPopup.d.ts +0 -1
  244. package/src/View/GridInfo/GridInfoPopup.js +1 -2
  245. package/src/View/GridInfo/GridOptionsComponent.js +1 -1
  246. package/src/View/Layout/LayoutViewPanel.js +1 -1
  247. package/src/View/Layout/PivotDetailsPopoup.js +2 -0
  248. package/src/View/Layout/SaveLayoutButton.js +1 -1
  249. package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
  250. package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +1 -1
  251. package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +1 -1
  252. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -2
  253. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +8 -1
  254. package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
  255. package/src/agGrid/ActionColumnRenderer.js +5 -1
  256. package/src/agGrid/Adaptable.d.ts +14 -3
  257. package/src/agGrid/Adaptable.js +138 -38
  258. package/src/agGrid/BadgeRenderer.js +10 -2
  259. package/src/agGrid/CheckboxRenderer.d.ts +1 -2
  260. package/src/agGrid/agGridHelper.js +4 -5
  261. package/src/agGrid/agGridMenuHelper.js +4 -0
  262. package/src/agGrid/attachAddaptableColumnTypes.d.ts +11 -11
  263. package/src/agGrid/editors/AdaptableDateEditor/index.js +2 -0
  264. package/src/agGrid/editors/AdaptableNumberEditor/index.js +2 -2
  265. package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +6 -3
  266. package/src/components/AdaptableIconComponent/index.js +6 -3
  267. package/src/components/ExpressionEditor/BaseEditorInput.js +2 -0
  268. package/src/components/ExpressionEditor/index.js +1 -1
  269. package/src/components/IconSelector/IconSelector.d.ts +2 -0
  270. package/src/components/IconSelector/IconSelector.js +21 -5
  271. package/src/components/Input/NumberInput.d.ts +10 -0
  272. package/src/components/Input/NumberInput.js +46 -0
  273. package/src/metamodel/adaptable.metamodel.d.ts +360 -143
  274. package/src/metamodel/adaptable.metamodel.js +1 -1
  275. package/src/parser/src/types.d.ts +3 -0
  276. package/src/types.d.ts +13 -8
  277. package/version.d.ts +1 -1
  278. package/version.js +1 -1
  279. package/src/AdaptableOptions/GeneralOptions.d.ts +0 -159
  280. package/src/Api/Events/SearchChanged.d.ts +0 -12
  281. package/src/Api/Implementation/ActionApiImpl.d.ts +0 -14
  282. /package/src/AdaptableOptions/{ActionOptions.js → ActionColumnOptions.js} +0 -0
  283. /package/src/AdaptableOptions/{GeneralOptions.js → ActionRowOptions.js} +0 -0
  284. /package/src/{Api/ActionApi.js → AdaptableOptions/CalendarOptions.js} +0 -0
  285. /package/src/{Api/Events/SearchChanged.js → AdaptableOptions/CellSummaryOptions.js} +0 -0
  286. /package/src/{Api/QueryLanguageApi.js → AdaptableOptions/CustomSortOptions.js} +0 -0
@@ -6,7 +6,6 @@ const ApiBase_1 = require("./ApiBase");
6
6
  const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
7
7
  const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
8
8
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
9
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
10
9
  const GridInternalApi_1 = require("../Internal/GridInternalApi");
11
10
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
12
11
  class GridApiImpl extends ApiBase_1.ApiBase {
@@ -25,10 +24,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
25
24
  setInitialGridData(data) {
26
25
  this.adaptable.setDataSource(data);
27
26
  }
28
- loadGridData(dataSource) {
29
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'loadGridData', 'setInitialGridData');
30
- this.setInitialGridData(dataSource);
31
- }
32
27
  getGridData() {
33
28
  return this.adaptable.getGridData();
34
29
  }
@@ -76,7 +71,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
76
71
  this.adaptable.api.internalApi.getDataService().logUndoChange(cellDataChangedInfo);
77
72
  const cellUpdateRequest = {
78
73
  columnId: cellDataChangedInfo.column.columnId,
79
- newValue: cellDataChangedInfo.newValue,
74
+ newValue: cellDataChangedInfo.oldValue,
80
75
  primaryKeyValue: cellDataChangedInfo.primaryKeyValue,
81
76
  rowNode: cellDataChangedInfo.rowNode,
82
77
  };
@@ -137,7 +132,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
137
132
  this.adaptable.api.filterApi.clearColumnFilters();
138
133
  }
139
134
  getAgGridInstance() {
140
- return this.adaptable.adaptableOptions.gridOptions;
135
+ return this.adaptable.gridOptions;
141
136
  }
142
137
  getColumnSorts() {
143
138
  return this.getAdaptableState().Grid.ColumnSorts;
@@ -342,10 +337,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
342
337
  expandAllRowGroups() {
343
338
  this.adaptable.expandAllRowGroups();
344
339
  }
345
- closeAllRowGroups() {
346
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'closeAllRowGroups', 'collapseAllRowGroups');
347
- this.collapseAllRowGroups();
348
- }
349
340
  collapseAllRowGroups() {
350
341
  this.adaptable.closeAllRowGroups();
351
342
  }
@@ -399,30 +390,18 @@ class GridApiImpl extends ApiBase_1.ApiBase {
399
390
  if (!gridCells) {
400
391
  return undefined;
401
392
  }
402
- const returnValues = [];
393
+ const returnGridCells = [];
403
394
  gridCells.forEach((gc) => {
404
395
  if (gc.displayValue === displayValue) {
405
- returnValues.push(gc);
396
+ returnGridCells.push(gc);
406
397
  }
407
398
  });
408
- return returnValues;
399
+ return returnGridCells;
409
400
  }
410
401
  getCellDisplayValueCount(columnId, displayValue) {
411
402
  const gridCells = this.getGridCellsForDisplayValue(columnId, displayValue);
412
403
  return gridCells === null || gridCells === void 0 ? void 0 : gridCells.length;
413
404
  }
414
- fireGridSortedEvent() {
415
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'GridApi', 'fireGridSortedEvent');
416
- this.internalApi.fireGridSortedEvent();
417
- }
418
- fireCellChangedEvent(cellDataChangedInfo) {
419
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'GridApi', 'fireCellChangedEvent');
420
- this.internalApi.fireCellChangedEvent(cellDataChangedInfo);
421
- }
422
- fireGridDataChangedEvent(dataRows, rowNodes = [], rowTrigger) {
423
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'GridApi', 'fireGridDataChangedEvent');
424
- this.internalApi.fireGridDataChangedEvent(dataRows, rowNodes, rowTrigger);
425
- }
426
405
  jumpToRow(primaryKeyValue) {
427
406
  const node = this.adaptable.getRowNodeForPrimaryKey(primaryKeyValue);
428
407
  this.adaptable.jumpToRow(node);
@@ -488,7 +467,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
488
467
  }
489
468
  refreshGroupRowNodes() {
490
469
  // see https://www.ag-grid.com/javascript-data-grid/client-side-row-stages/#refreshing-the-client-side-model
491
- this.adaptable.api.internalApi.getAgGridInstance().api.refreshClientSideRowModel('group');
470
+ this.getAgGridInstance().api.refreshClientSideRowModel('group');
492
471
  this.adaptable.updateRowGroupsExpandedState();
493
472
  }
494
473
  isCellEditable(gridCell) {
@@ -504,10 +483,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
504
483
  }
505
484
  return this.adaptable.isCellEditable(gridCell.rowNode, this.adaptable.getAgGridColumnForColumnId(gridCell.column.columnId));
506
485
  }
507
- areCellsEditable(gridCells) {
508
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'areCellsEditable', 'isEveryCellEditable');
509
- return this.isEveryCellEditable(gridCells);
510
- }
511
486
  isEveryCellEditable(gridCells) {
512
487
  for (let gridCell of gridCells) {
513
488
  if (!this.isCellEditable(gridCell)) {
@@ -546,10 +521,6 @@ class GridApiImpl extends ApiBase_1.ApiBase {
546
521
  getGridContainerElement() {
547
522
  return this.adaptable.getAgGridContainerElement();
548
523
  }
549
- showGridInfoPopup() {
550
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'GridApi', 'showGridInfoPopup', 'openGridInfoSettingsPanel');
551
- this.openGridInfoSettingsPanel();
552
- }
553
524
  openGridInfoSettingsPanel() {
554
525
  this.showModulePopup(ModuleConstants.GridInfoModuleId);
555
526
  }
@@ -10,18 +10,16 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
10
10
  internalApi: LayoutInternalApi;
11
11
  constructor(adaptable: IAdaptable);
12
12
  getLayoutState(): LayoutState;
13
- shouldAutoSaveLayout: (layout?: Layout) => boolean;
13
+ shouldAutoSaveLayouts: () => boolean;
14
14
  getCurrentVisibleColumnIdsMap(): {
15
15
  [key: string]: boolean;
16
16
  };
17
17
  getCurrentVisibleColumnIds(): string[];
18
18
  setLayout(layoutName: string): void;
19
- fireLayoutChangedEvent(trigger: string, oldState: LayoutState, newState: LayoutState, skipEqualityCheck?: boolean): void;
20
19
  getCurrentLayout(): Layout;
21
20
  getCurrentLayoutColumnSort(columnId: string): ColumnSort['SortOrder'] | null;
22
21
  getCurrentLayoutName(): string;
23
22
  getLayoutByName(layoutName: string): Layout | null;
24
- getAllLayout(): Layout[];
25
23
  getLayouts(): Layout[];
26
24
  getLayoutById(id: Layout['Uuid']): Layout;
27
25
  saveCurrentLayout(): void;
@@ -32,10 +30,7 @@ export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
32
30
  cloneLayout(layoutToClone: Layout, layoutName: string): Layout | false;
33
31
  setColumnCaption(columnId: string, caption: string): void;
34
32
  createOrUpdateLayout(layout: Layout): void;
35
- areLayoutsEqual(layout1: Layout, layout2: Layout): boolean;
36
- createDefaultLayoutIfNeeded(): Layout | null;
37
33
  showChangeColumnCaption(column: AdaptableColumn): void;
38
- showLayoutPopup(): void;
39
34
  openLayoutSettingsPanel(): void;
40
35
  showLayoutEditor(layoutName?: string, action?: ModuleParams['action']): void;
41
36
  isCurrentLayoutReadOnly(): boolean;
@@ -12,18 +12,13 @@ const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper
12
12
  const Uuid_1 = require("../../PredefinedConfig/Uuid");
13
13
  const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
14
14
  const PopupRedux_1 = require("../../Redux/ActionsReducers/PopupRedux");
15
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
16
15
  const LayoutInternalApi_1 = require("../Internal/LayoutInternalApi");
17
16
  class LayoutApiImpl extends ApiBase_1.ApiBase {
18
17
  constructor(adaptable) {
19
18
  super(adaptable);
20
- this.shouldAutoSaveLayout = (layout) => {
19
+ this.shouldAutoSaveLayouts = () => {
21
20
  var _a;
22
- let autoSave = (_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
23
- if (layout && layout.AutoSave != null) {
24
- autoSave = layout.AutoSave;
25
- }
26
- return autoSave;
21
+ return (_a = this.getLayoutOptions()) === null || _a === void 0 ? void 0 : _a.autoSaveLayouts;
27
22
  };
28
23
  this.internalApi = new LayoutInternalApi_1.LayoutInternalApi(adaptable);
29
24
  }
@@ -49,10 +44,6 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
49
44
  }
50
45
  }
51
46
  }
52
- fireLayoutChangedEvent(trigger, oldState, newState, skipEqualityCheck) {
53
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'LayoutApi', 'fireLayoutChangedEvent');
54
- this.internalApi.fireLayoutChangedEvent(trigger, oldState, newState, skipEqualityCheck);
55
- }
56
47
  getCurrentLayout() {
57
48
  const state = this.getAdaptableState();
58
49
  if (state.Grid.CurrentLayout) {
@@ -77,10 +68,6 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
77
68
  }
78
69
  }
79
70
  }
80
- getAllLayout() {
81
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'LayouApi', 'getAllLayout', 'getLayouts');
82
- return this.getLayouts();
83
- }
84
71
  getLayouts() {
85
72
  var _a;
86
73
  return (_a = this.getAdaptableState().Layout.Layouts) !== null && _a !== void 0 ? _a : [];
@@ -157,14 +144,6 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
157
144
  this.dispatchAction(LayoutRedux.LayoutSave(layout));
158
145
  }
159
146
  }
160
- areLayoutsEqual(layout1, layout2) {
161
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'LayoutApi', 'areLayoutsEqual');
162
- return this.internalApi.areLayoutsEqual(layout1, layout2);
163
- }
164
- createDefaultLayoutIfNeeded() {
165
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'LayoutApi', 'createDefaultLayoutIfNeeded');
166
- return this.internalApi.createDefaultLayoutIfNeeded();
167
- }
168
147
  showChangeColumnCaption(column) {
169
148
  this.dispatchAction((0, PopupRedux_1.PopupShowPrompt)({
170
149
  Header: `Change caption for '${column.friendlyName}'`,
@@ -174,10 +153,6 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
174
153
  (0, LayoutRedux_1.LayoutSetColumnCaption)(this.getCurrentLayoutName(), column.columnId, inputText),
175
154
  }));
176
155
  }
177
- showLayoutPopup() {
178
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'LayoutApi', 'showLayoutPopup', 'openLayoutSettingsPanel');
179
- this.openLayoutSettingsPanel();
180
- }
181
156
  openLayoutSettingsPanel() {
182
157
  this.showModulePopup(ModuleConstants.LayoutModuleId);
183
158
  }
@@ -1,24 +1,29 @@
1
1
  import { ApiBase } from './ApiBase';
2
- import { GridOptions } from '@ag-grid-community/core';
3
- import { ActionOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, GeneralOptions, LayoutOptions, MenuOptions, NotificationsOptions, OptionsApi, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../../types';
2
+ import { ActionColumnOptions, ActionRowOptions, AdaptableOptions, AdaptableQLOptions, AlertOptions, CalendarOptions, CellSummaryOptions, ChartingOptions, ColumnOptions, ContainerOptions, DashboardOptions, DataChangeHistoryOptions, DataSetOptions, EditOptions, EntitlementOptions, ExportOptions, FilterOptions, FlashingCellOptions, LayoutOptions, MenuOptions, NotificationsOptions, OptionsApi, SearchOptions, SettingsPanelOptions, StateOptions, TeamSharingOptions, ToolPanelOptions, UserInterfaceOptions } from '../../types';
3
+ import { GroupingOptions } from '../../AdaptableOptions/GroupingOptions';
4
+ import { CustomSortOptions } from '../../AdaptableOptions/CustomSortOptions';
4
5
  export declare class OptionsApiImpl extends ApiBase implements OptionsApi {
5
6
  getAdaptableId(): string;
6
7
  getAdaptableStateKey(): string;
7
- getAgGridOptions(): GridOptions;
8
8
  getAutogeneratePrimaryKey(): boolean;
9
9
  getLicenseKey(): string;
10
10
  getPrimaryKey(): string;
11
11
  getUserName(): string;
12
12
  getAdaptableOptions(): AdaptableOptions;
13
- getActionOptions(): ActionOptions;
13
+ getActionColumnOptions(): ActionColumnOptions;
14
+ getActionRowOptions(): ActionRowOptions;
15
+ getCellSummaryOptions(): CellSummaryOptions;
16
+ getCalendarOptions(): CalendarOptions;
14
17
  getColumnOptions(): ColumnOptions;
18
+ getCustomSortOptions(): CustomSortOptions;
15
19
  getContainerOptions(): ContainerOptions;
20
+ getDataSetOptions(): DataSetOptions;
16
21
  getNotificationsOptions(): NotificationsOptions;
17
22
  getAlertOptions(): AlertOptions;
18
23
  getDashboardOptions(): DashboardOptions;
19
24
  getEditOptions(): EditOptions;
20
25
  getExportOptions(): ExportOptions;
21
- getGeneralOptions(): GeneralOptions;
26
+ getGroupingOptions(): GroupingOptions;
22
27
  getLayoutOptions(): LayoutOptions;
23
28
  getMenuOptions(): MenuOptions;
24
29
  getFilterOptions(): FilterOptions;
@@ -9,9 +9,6 @@ class OptionsApiImpl extends ApiBase_1.ApiBase {
9
9
  getAdaptableStateKey() {
10
10
  return this.adaptable.adaptableOptions.adaptableStateKey;
11
11
  }
12
- getAgGridOptions() {
13
- return this.adaptable.adaptableOptions.gridOptions;
14
- }
15
12
  getAutogeneratePrimaryKey() {
16
13
  return this.adaptable.adaptableOptions.autogeneratePrimaryKey;
17
14
  }
@@ -27,15 +24,30 @@ class OptionsApiImpl extends ApiBase_1.ApiBase {
27
24
  getAdaptableOptions() {
28
25
  return this.getOptions();
29
26
  }
30
- getActionOptions() {
31
- return this.getOptions().actionOptions;
27
+ getActionColumnOptions() {
28
+ return this.getOptions().actionColumnOptions;
29
+ }
30
+ getActionRowOptions() {
31
+ return this.getOptions().actionRowOptions;
32
+ }
33
+ getCellSummaryOptions() {
34
+ return this.getOptions().cellSummaryOptions;
35
+ }
36
+ getCalendarOptions() {
37
+ return this.getOptions().calendarOptions;
32
38
  }
33
39
  getColumnOptions() {
34
40
  return this.getOptions().columnOptions;
35
41
  }
42
+ getCustomSortOptions() {
43
+ return this.getOptions().customSortOptions;
44
+ }
36
45
  getContainerOptions() {
37
46
  return this.getOptions().containerOptions;
38
47
  }
48
+ getDataSetOptions() {
49
+ return this.getOptions().dataSetOptions;
50
+ }
39
51
  getNotificationsOptions() {
40
52
  return this.getOptions().notificationsOptions;
41
53
  }
@@ -51,8 +63,8 @@ class OptionsApiImpl extends ApiBase_1.ApiBase {
51
63
  getExportOptions() {
52
64
  return this.getOptions().exportOptions;
53
65
  }
54
- getGeneralOptions() {
55
- return this.getOptions().generalOptions;
66
+ getGroupingOptions() {
67
+ return this.getOptions().groupingOptions;
56
68
  }
57
69
  getLayoutOptions() {
58
70
  return this.getOptions().layoutOptions;
@@ -10,7 +10,6 @@ export declare class PlusMinusApiImpl extends ApiBase implements PlusMinusApi {
10
10
  getAllSuspendedPlusMinus(): PlusMinusNudge[];
11
11
  runPlusMinusNudge(plusMinusNudge: PlusMinusNudge, cellsToUpdate: GridCell[], direction: 'up' | 'down'): void;
12
12
  applyPlusMinus(cellUpdateRequests: CellUpdateRequest[]): void;
13
- showPlusMinusPopup(): void;
14
13
  openPlusMinusSettingsPanel(): void;
15
14
  editPlusMinusNudge(plusMinusNudge: PlusMinusNudge): PlusMinusNudge;
16
15
  suspendPlusMinusNudge(plusMinusNudge: PlusMinusNudge): PlusMinusNudge;
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
7
7
  const PlusMinusRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PlusMinusRedux"));
8
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
9
8
  class PlusMinusApiImpl extends ApiBase_1.ApiBase {
10
9
  getPlusMinusState() {
11
10
  return this.getAdaptableState().PlusMinus;
@@ -31,10 +30,6 @@ class PlusMinusApiImpl extends ApiBase_1.ApiBase {
31
30
  applyPlusMinus(cellUpdateRequests) {
32
31
  this.dispatchAction(PlusMinusRedux.PlusMinusApply(cellUpdateRequests));
33
32
  }
34
- showPlusMinusPopup() {
35
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'PlusMinusApi', 'showPlusMinusPopup', 'openPlusMinusSettingsPanel');
36
- this.openPlusMinusSettingsPanel();
37
- }
38
33
  openPlusMinusSettingsPanel() {
39
34
  this.showModulePopup(ModuleConstants.PlusMinusModuleId);
40
35
  }
@@ -1,7 +1,7 @@
1
1
  import { ApiBase } from './ApiBase';
2
2
  import { PredicateApi } from '../PredicateApi';
3
3
  import { PredicateDefHandlerParams, PredicateModuleScope } from '../../PredefinedConfig/Common/AdaptablePredicate';
4
- import { AdaptablePredicate, AdaptablePredicateDef, AdaptableColumnDataType, AdaptableColumnPredicate, SystemFilterPredicateId, AdaptableScope } from '../../types';
4
+ import { AdaptablePredicate, AdaptablePredicateDef, AdaptableColumnPredicate } from '../../types';
5
5
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
6
6
  import { PredicateInternalApi } from '../Internal/PredicateInternalApi';
7
7
  export declare class PredicateApiImpl extends ApiBase implements PredicateApi {
@@ -16,16 +16,9 @@ export declare class PredicateApiImpl extends ApiBase implements PredicateApi {
16
16
  getCustomPredicateDefById(predicateId: string): AdaptablePredicateDef;
17
17
  predicateToString(predicate: AdaptableColumnPredicate): string | undefined;
18
18
  isValidPredicate(predicate: AdaptableColumnPredicate | undefined): boolean;
19
- arePredicatesValid(predicates: AdaptablePredicate[]): boolean;
20
19
  isEveryPredicateValid(predicates: AdaptablePredicate[]): boolean;
21
20
  handleColumnPredicate(predicate: AdaptableColumnPredicate | undefined, params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
22
21
  handleColumnPredicates(predicates: AdaptableColumnPredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
23
22
  handlePredicate(predicate: AdaptablePredicate | undefined, params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
24
23
  handlePredicates(predicates: AdaptablePredicate[], params: Omit<PredicateDefHandlerParams, 'api' | 'inputs'>, defaultReturn: boolean): boolean;
25
- getEqualityPredicateForDataType(dataType: AdaptableColumnDataType): SystemFilterPredicateId;
26
- hasPredicateValues(predicate: AdaptablePredicate): boolean;
27
- getFilterPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
28
- getAlertPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
29
- getFormatColumnPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
30
- getFlashingCellPredicateDefs(scope: AdaptableScope): AdaptablePredicateDef[];
31
24
  }
@@ -6,7 +6,6 @@ const ApiBase_1 = require("./ApiBase");
6
6
  const AdaptablePredicate_1 = require("../../PredefinedConfig/Common/AdaptablePredicate");
7
7
  const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
8
8
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
9
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
10
9
  const PredicateInternalApi_1 = require("../Internal/PredicateInternalApi");
11
10
  class PredicateApiImpl extends ApiBase_1.ApiBase {
12
11
  constructor(adaptable) {
@@ -20,7 +19,8 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
20
19
  return AdaptablePredicate_1.SystemPredicateDefs;
21
20
  }
22
21
  getCustomPredicateDefs() {
23
- return this.getAdaptableQLOptions().customPredicateDefs;
22
+ var _a;
23
+ return (_a = this.getAdaptableQLOptions().predicateOptions) === null || _a === void 0 ? void 0 : _a.customPredicateDefs;
24
24
  }
25
25
  getPredicateDefsByModuleScope(moduleScope) {
26
26
  return this.getPredicateDefs().filter((p) => p.moduleScope.includes(moduleScope));
@@ -67,10 +67,6 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
67
67
  return !(['Values', 'ExcludeValues'].includes(predicate.PredicateId) &&
68
68
  ArrayExtensions_1.default.IsNullOrEmpty(predicate.Inputs));
69
69
  }
70
- arePredicatesValid(predicates) {
71
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'PredicateApi', 'arePredicatesValid', 'isEveryPredicateValid');
72
- return this.isEveryPredicateValid(predicates);
73
- }
74
70
  isEveryPredicateValid(predicates) {
75
71
  return predicates.every((predicate) => this.isValidPredicate(predicate));
76
72
  }
@@ -115,29 +111,5 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
115
111
  }
116
112
  return predicates === null || predicates === void 0 ? void 0 : predicates.every((p) => this.handlePredicate(p, params, defaultReturn));
117
113
  }
118
- getEqualityPredicateForDataType(dataType) {
119
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'getEqualityPredicateForDataType');
120
- return this.internalApi.getEqualityPredicateForDataType(dataType);
121
- }
122
- hasPredicateValues(predicate) {
123
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'hasPredicateValues');
124
- return this.internalApi.hasPredicateValues(predicate);
125
- }
126
- getFilterPredicateDefs(scope) {
127
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'getFilterPredicateDefs');
128
- return this.internalApi.getFilterPredicateDefs(scope);
129
- }
130
- getAlertPredicateDefs(scope) {
131
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'getAlertPredicateDefs');
132
- return this.internalApi.getAlertPredicateDefs(scope);
133
- }
134
- getFormatColumnPredicateDefs(scope) {
135
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'getFormatColumnPredicateDefs');
136
- return this.internalApi.getFormatColumnPredicateDefs(scope);
137
- }
138
- getFlashingCellPredicateDefs(scope) {
139
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'PredicateApi', 'getFlashingCellPredicateDefs');
140
- return this.internalApi.getFlashingCellPredicateDefs(scope);
141
- }
142
114
  }
143
115
  exports.PredicateApiImpl = PredicateApiImpl;
@@ -7,20 +7,15 @@ export declare class QueryApiImpl extends ApiBase implements QueryApi {
7
7
  internalApi: QueryInternalApi;
8
8
  constructor(adaptable: IAdaptable);
9
9
  getQueryState(): QueryState;
10
- getAllNamedQuery(): NamedQuery[];
11
10
  getNamedQueries(): NamedQuery[];
12
11
  getNamedQueryByName(namedQueryName: string): NamedQuery | undefined;
13
12
  isValidNamedQueryName(namedQuery: NamedQuery): {
14
13
  valid: boolean;
15
14
  message: string;
16
15
  };
17
- showQueryPopup(): void;
18
16
  openQuerySettingsPanel(): void;
19
17
  setCurrentQuery(query: string): void;
20
18
  clearCurrentQuery(): void;
21
19
  getCurrentQuery(): string | undefined;
22
- getReferencedNamedQueryNames(expression?: string): string[];
23
- getNamedQueryModuleReferences(namedQueryName: string): string[];
24
20
  expandCurrentQuery(query?: string): void;
25
- fireQueryRunEvent(): void;
26
21
  }
@@ -8,7 +8,6 @@ const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions"
8
8
  const QueryRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QueryRedux"));
9
9
  const windowFactory_1 = require("../../View/Components/Popups/WindowPopups/windowFactory");
10
10
  const QueryInternalApi_1 = require("../Internal/QueryInternalApi");
11
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
12
11
  class QueryApiImpl extends ApiBase_1.ApiBase {
13
12
  constructor(adaptable) {
14
13
  super(adaptable);
@@ -17,10 +16,6 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
17
16
  getQueryState() {
18
17
  return this.getAdaptableState().Query;
19
18
  }
20
- getAllNamedQuery() {
21
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'QueryApi', 'getAllNamedQuery', 'getNamedQueries');
22
- return this.getNamedQueries();
23
- }
24
19
  getNamedQueries() {
25
20
  return this.getQueryState().NamedQueries || [];
26
21
  }
@@ -41,10 +36,6 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
41
36
  }
42
37
  return { valid: true, message: '' };
43
38
  }
44
- showQueryPopup() {
45
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'QueryApi', 'showQueryPopup', 'openQuerySettingsPanel');
46
- this.openQuerySettingsPanel();
47
- }
48
39
  openQuerySettingsPanel() {
49
40
  this.showModulePopup(ModuleConstants.QueryModuleId);
50
41
  }
@@ -57,14 +48,6 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
57
48
  getCurrentQuery() {
58
49
  return this.getQueryState().CurrentQuery;
59
50
  }
60
- getReferencedNamedQueryNames(expression = '') {
61
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'QueryApi', 'getReferencedNamedQueryNames');
62
- return this.internalApi.getReferencedNamedQueryNames(expression);
63
- }
64
- getNamedQueryModuleReferences(namedQueryName) {
65
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'QueryApi', 'getNamedQueryModuleReferences');
66
- return this.internalApi.getNamedQueryModuleReferences(namedQueryName);
67
- }
68
51
  expandCurrentQuery(query) {
69
52
  const preparedQuery = query !== null && query !== void 0 ? query : this.getCurrentQuery();
70
53
  this.getAdaptableApi().internalApi.showPopupWindow({
@@ -77,9 +60,5 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
77
60
  },
78
61
  });
79
62
  }
80
- fireQueryRunEvent() {
81
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'QueryApi', 'fireQueryRunEvent');
82
- this.internalApi.fireQueryRunEvent();
83
- }
84
63
  }
85
64
  exports.QueryApiImpl = QueryApiImpl;
@@ -9,6 +9,5 @@ export declare class QuickSearchApiImpl extends ApiBase implements QuickSearchAp
9
9
  getQuickSearchValue(): string;
10
10
  getQuickSearchStyle(): AdaptableStyle;
11
11
  setQuickSearchStyle(style: AdaptableStyle): void;
12
- showQuickSearchPopup(): void;
13
12
  openQuickSearchSettingsPanel(): void;
14
13
  }
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
5
5
  const QuickSearchRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/QuickSearchRedux"));
6
6
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
7
7
  const ApiBase_1 = require("./ApiBase");
8
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
9
8
  class QuickSearchApiImpl extends ApiBase_1.ApiBase {
10
9
  getQuickSearchState() {
11
10
  return this.getAdaptableState().QuickSearch;
@@ -25,10 +24,6 @@ class QuickSearchApiImpl extends ApiBase_1.ApiBase {
25
24
  setQuickSearchStyle(style) {
26
25
  this.dispatchAction(QuickSearchRedux.QuickSearchSetStyle(style));
27
26
  }
28
- showQuickSearchPopup() {
29
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'QuickSearchApi', 'showQuickSearchPopup', 'openQuickSearchSettingsPanel');
30
- this.openQuickSearchSettingsPanel();
31
- }
32
27
  openQuickSearchSettingsPanel() {
33
28
  this.showModulePopup(ModuleConstants.QuickSearchModuleId);
34
29
  }
@@ -1,4 +1,4 @@
1
- import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
1
+ import { ApiBase } from './ApiBase';
2
2
  import { ScheduleApi } from '../ScheduleApi';
3
3
  import { BaseSchedule } from '../../PredefinedConfig/Common/Schedule';
4
4
  import { ReportSchedule } from '../../PredefinedConfig/ExportState';
@@ -8,68 +8,52 @@ import { OpenFinSchedule } from '../../PredefinedConfig/OpenFinState';
8
8
  import { ReminderSchedule, ScheduleState } from '../../PredefinedConfig/ScheduleState';
9
9
  export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
10
10
  getScheduleState(): ScheduleState;
11
- getAllSchedule(): BaseSchedule[];
12
11
  getSchedules(): BaseSchedule[];
13
- getAllReminderSchedule(config?: LayoutAssociatedObjectLoadConfig): ReminderSchedule[];
14
12
  getReminderSchedules(config?: {
15
13
  includeLayoutNotAssociatedObjects?: boolean;
16
14
  }): ReminderSchedule[];
17
15
  getScheduleById(id: BaseSchedule['Uuid']): BaseSchedule;
18
- getAllActiveReminderSchedule(): ReminderSchedule[];
19
16
  getActiveReminderSchedules(): ReminderSchedule[];
20
- getAllSuspendedReminderSchedule(): ReminderSchedule[];
21
17
  getSuspendedReminderSchedules(): ReminderSchedule[];
22
18
  addReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
23
19
  deleteReminderSchedule(schedule: ReminderSchedule): void;
24
20
  editReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
25
21
  suspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
26
22
  unSuspendReminderSchedule(schedule: ReminderSchedule): ReminderSchedule;
27
- getAllReportSchedule(config?: LayoutAssociatedObjectLoadConfig): ReportSchedule[];
28
23
  getReportSchedules(config?: {
29
24
  includeLayoutNotAssociatedObjects?: boolean;
30
25
  }): ReportSchedule[];
31
- getAllActiveReportSchedule(): ReportSchedule[];
32
26
  getActiveReportSchedules(): ReportSchedule[];
33
- getAllSuspendedReportSchedule(): ReportSchedule[];
34
27
  getSuspendedReportSchedules(): ReportSchedule[];
35
28
  addReportSchedule(schedule: ReportSchedule): ReportSchedule;
36
29
  editReportSchedule(schedule: ReportSchedule): ReportSchedule;
37
30
  deleteReportSchedule(schedule: ReportSchedule): void;
38
31
  suspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
39
32
  unSuspendReportSchedule(schedule: ReportSchedule): ReportSchedule;
40
- getAllIPushPullSchedule(config?: LayoutAssociatedObjectLoadConfig): IPushPullSchedule[];
41
33
  getIPushPullSchedules(config?: {
42
34
  includeLayoutNotAssociatedObjects?: boolean;
43
35
  }): IPushPullSchedule[];
44
- getAllActiveIPushPullSchedule(): IPushPullSchedule[];
45
36
  getActiveIPushPullSchedules(): IPushPullSchedule[];
46
- getAllSuspendedIPushPullSchedule(): IPushPullSchedule[];
47
37
  getSuspendedIPushPullSchedules(): IPushPullSchedule[];
48
38
  addIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
49
39
  editIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
50
40
  deleteIPushPullSchedule(schedule: IPushPullSchedule): void;
51
41
  suspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
52
42
  unSuspendIPushPullSchedule(schedule: IPushPullSchedule): IPushPullSchedule;
53
- getAllGlue42Schedule(config?: LayoutAssociatedObjectLoadConfig): Glue42Schedule[];
54
43
  getGlue42Schedules(config?: {
55
44
  includeLayoutNotAssociatedObjects?: boolean;
56
45
  }): Glue42Schedule[];
57
- getAllActiveGlue42Schedule(): Glue42Schedule[];
58
46
  getActiveGlue42Schedules(): Glue42Schedule[];
59
- getAllSuspendedGlue42Schedule(): Glue42Schedule[];
60
47
  getSuspendedGlue42Schedules(): Glue42Schedule[];
61
48
  addGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
62
49
  editGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
63
50
  deleteGlue42Schedule(schedule: Glue42Schedule): void;
64
51
  suspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
65
52
  unSuspendGlue42Schedule(schedule: Glue42Schedule): Glue42Schedule;
66
- getAllOpenFinSchedule(config?: LayoutAssociatedObjectLoadConfig): OpenFinSchedule[];
67
53
  getOpenFinSchedules(config?: {
68
54
  includeLayoutNotAssociatedObjects?: boolean;
69
55
  }): OpenFinSchedule[];
70
- getAllActiveOpenFinSchedule(): OpenFinSchedule[];
71
56
  getActiveOpenFinSchedules(): OpenFinSchedule[];
72
- getAllSuspendedOpenFinSchedule(): OpenFinSchedule[];
73
57
  getSuspendedOpenFinSchedules(): OpenFinSchedule[];
74
58
  addOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
75
59
  editOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
@@ -77,6 +61,5 @@ export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
77
61
  suspendOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
78
62
  unSuspendOpenFinSchedule(schedule: OpenFinSchedule): OpenFinSchedule;
79
63
  applySchedule(schedule: BaseSchedule, scheduleType: 'Report' | 'ipushpull' | 'Glue42' | 'Reminder' | 'OpenFin'): void;
80
- showSchedulePopup(): void;
81
64
  openScheduleSettingsPanel(): void;
82
65
  }