@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
@@ -5,15 +5,10 @@ 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 ScheduleRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ScheduleRedux"));
8
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
9
8
  class ScheduleApiImpl extends ApiBase_1.ApiBase {
10
9
  getScheduleState() {
11
10
  return this.getAdaptableState().Schedule;
12
11
  }
13
- getAllSchedule() {
14
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSchedule', 'getSchedules');
15
- return this.getSchedules();
16
- }
17
12
  getSchedules() {
18
13
  let allSchedules = [];
19
14
  allSchedules.push(...this.getReminderSchedules());
@@ -23,10 +18,6 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
23
18
  allSchedules.push(...this.getOpenFinSchedules());
24
19
  return allSchedules;
25
20
  }
26
- getAllReminderSchedule(config) {
27
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllReminderSchedule', 'getReminderSchedules');
28
- return this.getReminderSchedules(config);
29
- }
30
21
  getReminderSchedules(config) {
31
22
  var _a;
32
23
  return ((_a = this.handleLayoutAssociatedObjects(this.getScheduleState().Reminders, 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
@@ -34,17 +25,9 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
34
25
  getScheduleById(id) {
35
26
  return this.getSchedules().find((schedule) => (schedule === null || schedule === void 0 ? void 0 : schedule.Uuid) === id);
36
27
  }
37
- getAllActiveReminderSchedule() {
38
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllActiveReminderSchedule', 'getActiveReminderSchedules');
39
- return this.getActiveReminderSchedules();
40
- }
41
28
  getActiveReminderSchedules() {
42
29
  return this.getReminderSchedules().filter((schedule) => !schedule.IsSuspended);
43
30
  }
44
- getAllSuspendedReminderSchedule() {
45
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSuspendedReminderSchedule', 'getSuspendedReminderSchedules');
46
- return this.getSuspendedReminderSchedules();
47
- }
48
31
  getSuspendedReminderSchedules() {
49
32
  return this.getReminderSchedules().filter((schedule) => schedule.IsSuspended);
50
33
  }
@@ -67,25 +50,13 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
67
50
  this.dispatchAction(ScheduleRedux.ReminderScheduleUnSuspend(schedule));
68
51
  return this.getScheduleById(schedule.Uuid);
69
52
  }
70
- getAllReportSchedule(config) {
71
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllReportSchedule', 'getReportSchedules');
72
- return this.getReportSchedules();
73
- }
74
53
  getReportSchedules(config) {
75
54
  var _a;
76
55
  return ((_a = this.handleLayoutAssociatedObjects(this.adaptable.api.exportApi.getReportSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
77
56
  }
78
- getAllActiveReportSchedule() {
79
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllActiveReportSchedule', 'getActiveReportSchedules');
80
- return this.getActiveReportSchedules();
81
- }
82
57
  getActiveReportSchedules() {
83
58
  return this.getReportSchedules().filter((schedule) => !schedule.IsSuspended);
84
59
  }
85
- getAllSuspendedReportSchedule() {
86
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSuspendedReportSchedule', 'getSuspendedReportSchedules');
87
- return this.getSuspendedReportSchedules();
88
- }
89
60
  getSuspendedReportSchedules() {
90
61
  return this.getReportSchedules().filter((schedule) => schedule.IsSuspended);
91
62
  }
@@ -108,26 +79,14 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
108
79
  this.dispatchAction(ScheduleRedux.ReportScheduleUnSuspend(schedule));
109
80
  return this.getScheduleById(schedule.Uuid);
110
81
  }
111
- getAllIPushPullSchedule(config) {
112
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllIPushPullSchedule', 'getIPushPullSchedules');
113
- return this.getIPushPullSchedules();
114
- }
115
82
  getIPushPullSchedules(config) {
116
83
  var _a;
117
84
  const ippApi = this.adaptable.api.pluginsApi.getipushpullPluginApi();
118
85
  return ((_a = this.handleLayoutAssociatedObjects(ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
119
86
  }
120
- getAllActiveIPushPullSchedule() {
121
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllActiveIPushPullSchedule', 'getActiveIPushPullSchedules');
122
- return this.getActiveIPushPullSchedules();
123
- }
124
87
  getActiveIPushPullSchedules() {
125
88
  return this.getIPushPullSchedules().filter((schedule) => !schedule.IsSuspended);
126
89
  }
127
- getAllSuspendedIPushPullSchedule() {
128
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSuspendedIPushPullSchedule', 'getSuspendedIPushPullSchedules');
129
- return this.getSuspendedIPushPullSchedules();
130
- }
131
90
  getSuspendedIPushPullSchedules() {
132
91
  return this.getIPushPullSchedules().filter((schedule) => schedule.IsSuspended);
133
92
  }
@@ -150,26 +109,14 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
150
109
  this.dispatchAction(ScheduleRedux.IPushPullScheduleUnSuspend(schedule));
151
110
  return this.getScheduleById(schedule.Uuid);
152
111
  }
153
- getAllGlue42Schedule(config) {
154
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllGlue42Schedule', 'getGlue42Schedules');
155
- return this.getGlue42Schedules();
156
- }
157
112
  getGlue42Schedules(config) {
158
113
  var _a;
159
114
  const glue42Api = this.adaptable.api.pluginsApi.getGlue42PluginApi();
160
115
  return ((_a = this.handleLayoutAssociatedObjects(glue42Api === null || glue42Api === void 0 ? void 0 : glue42Api.getGlue42Schedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
161
116
  }
162
- getAllActiveGlue42Schedule() {
163
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllActiveGlue42Schedule', 'getActiveGlue42Schedules');
164
- return this.getActiveGlue42Schedules();
165
- }
166
117
  getActiveGlue42Schedules() {
167
118
  return this.getGlue42Schedules().filter((schedule) => !schedule.IsSuspended);
168
119
  }
169
- getAllSuspendedGlue42Schedule() {
170
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSuspendedGlue42Schedule', 'getSuspendedGlue42Schedules');
171
- return this.getSuspendedGlue42Schedules();
172
- }
173
120
  getSuspendedGlue42Schedules() {
174
121
  return this.getGlue42Schedules().filter((schedule) => schedule.IsSuspended);
175
122
  }
@@ -192,26 +139,14 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
192
139
  this.dispatchAction(ScheduleRedux.Glue42ScheduleUnSuspend(schedule));
193
140
  return this.getScheduleById(schedule.Uuid);
194
141
  }
195
- getAllOpenFinSchedule(config) {
196
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllOpenFinSchedule', 'getOpenFinSchedules');
197
- return this.getOpenFinSchedules();
198
- }
199
142
  getOpenFinSchedules(config) {
200
143
  var _a;
201
144
  const openFinApi = this.adaptable.api.pluginsApi.getOpenFinPluginApi();
202
145
  return ((_a = this.handleLayoutAssociatedObjects(openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
203
146
  }
204
- getAllActiveOpenFinSchedule() {
205
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllActiveOpenFinSchedule', 'getActiveOpenFinSchedules');
206
- return this.getActiveOpenFinSchedules();
207
- }
208
147
  getActiveOpenFinSchedules() {
209
148
  return this.getOpenFinSchedules().filter((schedule) => !schedule.IsSuspended);
210
149
  }
211
- getAllSuspendedOpenFinSchedule() {
212
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'getAllSuspendedOpenFinSchedule', 'getSuspendedOpenFinSchedules');
213
- return this.getSuspendedOpenFinSchedules();
214
- }
215
150
  getSuspendedOpenFinSchedules() {
216
151
  return this.getOpenFinSchedules().filter((schedule) => schedule.IsSuspended);
217
152
  }
@@ -283,10 +218,6 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
283
218
  // now also send the action to Store so it can be audited if required
284
219
  this.dispatchAction(ScheduleRedux.ScheduleJobRun(schedule, scheduleType));
285
220
  }
286
- showSchedulePopup() {
287
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ScheduleApi', 'showSchedulePopup', 'openScheduleSettingsPanel');
288
- this.openScheduleSettingsPanel();
289
- }
290
221
  openScheduleSettingsPanel() {
291
222
  this.showModulePopup(ModuleConstants.ScheduleModuleId);
292
223
  }
@@ -118,7 +118,7 @@ class ScopeApiImpl extends ApiBase_1.ApiBase {
118
118
  isPrimaryKeyColumnInScopeColumns(scope) {
119
119
  return ('ColumnIds' in scope &&
120
120
  scope.ColumnIds.length == 1 &&
121
- scope.ColumnIds.find((c) => c == this.adaptable.api.internalApi.getPrimaryKey()) != null);
121
+ scope.ColumnIds.find((c) => c == this.adaptable.api.optionsApi.getPrimaryKey()) != null);
122
122
  }
123
123
  getScopeToString(scope) {
124
124
  if ('All' in scope) {
@@ -2,8 +2,6 @@ import { SettingsPanelApi } from '../SettingsPanelApi';
2
2
  import { ApiBase } from './ApiBase';
3
3
  import { AdaptableModule } from '../../../types';
4
4
  export declare class SettingsPanelApiImpl extends ApiBase implements SettingsPanelApi {
5
- showSettingsPanel(moduleName?: AdaptableModule): void;
6
5
  openSettingsPanel(moduleName?: AdaptableModule): void;
7
- showCustomSettingsPanel(name: string): void;
8
6
  openCustomSettingsPanel(name: string): void;
9
7
  }
@@ -4,12 +4,7 @@ exports.SettingsPanelApiImpl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const ApiBase_1 = require("./ApiBase");
6
6
  const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
7
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
8
7
  class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
9
- showSettingsPanel(moduleName) {
10
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'SettingsPanelApi', 'showSettingsPanel', 'openSettingsPanel');
11
- this.openSettingsPanel(moduleName);
12
- }
13
8
  openSettingsPanel(moduleName) {
14
9
  const moduleInfo = this.adaptable.ModuleService.getModuleInfoByModule(moduleName);
15
10
  if (!moduleInfo) {
@@ -18,10 +13,6 @@ class SettingsPanelApiImpl extends ApiBase_1.ApiBase {
18
13
  }
19
14
  this.dispatchAction(PopupRedux.PopupShowScreen(moduleName, moduleInfo.Popup));
20
15
  }
21
- showCustomSettingsPanel(name) {
22
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'SettingsPanelApi', 'showCustomSettingsPanel', 'openCustomSettingsPanel');
23
- this.openCustomSettingsPanel(name);
24
- }
25
16
  openCustomSettingsPanel(name) {
26
17
  this.dispatchAction(PopupRedux.PopupShowScreen(null, name));
27
18
  }
@@ -1,23 +1,18 @@
1
- import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
1
+ import { ApiBase } from './ApiBase';
2
2
  import { ShortcutApi } from '../ShortcutApi';
3
3
  import { Shortcut, ShortcutState } from '../../PredefinedConfig/ShortcutState';
4
4
  export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
5
5
  getShortcutState(): ShortcutState;
6
- getAllShortcut(config?: LayoutAssociatedObjectLoadConfig): Shortcut[];
7
6
  getShortcuts(config?: {
8
7
  includeLayoutNotAssociatedObjects?: boolean;
9
8
  }): Shortcut[];
10
9
  getShortcutById(id: Shortcut['Uuid']): Shortcut;
11
- getAllActiveShortcut(): Shortcut[];
12
10
  getActiveShortcuts(): Shortcut[];
13
- getAllSuspendedShortcut(): Shortcut[];
14
11
  getSuspendedShortcuts(): Shortcut[];
15
12
  addShortcut(shortcut: Shortcut): Shortcut;
16
13
  deleteShortcut(shortcut: Shortcut): void;
17
- deleteAllShortcut(): void;
18
14
  deleteAllShortcuts(): void;
19
15
  suspendShortcut(shortcut: Shortcut): Shortcut;
20
16
  unSuspendShortcut(shortcut: Shortcut): Shortcut;
21
- showShortcutPopup(): void;
22
17
  openShortcutSettingsPanel(): void;
23
18
  }
@@ -5,15 +5,10 @@ const tslib_1 = require("tslib");
5
5
  const ShortcutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ShortcutRedux"));
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 ShortcutApiImpl extends ApiBase_1.ApiBase {
10
9
  getShortcutState() {
11
10
  return this.getAdaptableState().Shortcut;
12
11
  }
13
- getAllShortcut(config) {
14
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ShortcutApi', 'getAllShortcut', 'getShortcuts');
15
- return this.getShortcuts(config);
16
- }
17
12
  getShortcuts(config) {
18
13
  var _a;
19
14
  return ((_a = this.handleLayoutAssociatedObjects(this.getShortcutState().Shortcuts, 'Shortcut', config)) !== null && _a !== void 0 ? _a : []);
@@ -21,17 +16,9 @@ class ShortcutApiImpl extends ApiBase_1.ApiBase {
21
16
  getShortcutById(id) {
22
17
  return this.getShortcuts().find((shortcut) => (shortcut === null || shortcut === void 0 ? void 0 : shortcut.Uuid) === id);
23
18
  }
24
- getAllActiveShortcut() {
25
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ShortcutApi', 'getAllActiveShortcut', 'getActiveShortcuts');
26
- return this.getActiveShortcuts();
27
- }
28
19
  getActiveShortcuts() {
29
20
  return this.getShortcuts().filter((shortcut) => !shortcut.IsSuspended);
30
21
  }
31
- getAllSuspendedShortcut() {
32
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ShortcutApi', 'getAllSuspendedShortcut', 'getSuspendedShortcuts');
33
- return this.getSuspendedShortcuts();
34
- }
35
22
  getSuspendedShortcuts() {
36
23
  return this.getShortcuts().filter((shortcut) => shortcut.IsSuspended);
37
24
  }
@@ -43,10 +30,6 @@ class ShortcutApiImpl extends ApiBase_1.ApiBase {
43
30
  deleteShortcut(shortcut) {
44
31
  this.dispatchAction(ShortcutRedux.ShortcutDelete(shortcut));
45
32
  }
46
- deleteAllShortcut() {
47
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ShortcutApi', 'deleteAllShortcut', 'deleteAllShortcuts');
48
- this.deleteAllShortcuts();
49
- }
50
33
  deleteAllShortcuts() {
51
34
  this.getShortcuts().forEach((s) => {
52
35
  this.deleteShortcut(s);
@@ -60,10 +43,6 @@ class ShortcutApiImpl extends ApiBase_1.ApiBase {
60
43
  this.dispatchAction(ShortcutRedux.ShortcutUnSuspend(shortcut));
61
44
  return this.getShortcutById(shortcut.Uuid);
62
45
  }
63
- showShortcutPopup() {
64
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ShortcutApi', 'showShortcutPopup', 'openShortcutSettingsPanel');
65
- this.openShortcutSettingsPanel();
66
- }
67
46
  openShortcutSettingsPanel() {
68
47
  this.showModulePopup(ModuleConstants.ShortcutModuleId);
69
48
  }
@@ -8,7 +8,6 @@ export declare class SmartEditApiImpl extends ApiBase implements SmartEditApi {
8
8
  getSmartEditOperation(): SmartEditOperation;
9
9
  setSmartEditValue(smartEditValue: number): void;
10
10
  getSmartEditValue(): number;
11
- showSmartEditPopup(): void;
12
11
  openSmartEditSettingsPanel(): void;
13
12
  applySmartEdit(cellUpdateRequests: CellUpdateRequest[]): void;
14
13
  getSmartEditCustomOperations(): SmartEditCustomOperation[];
@@ -6,7 +6,6 @@ const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/
6
6
  const ApiBase_1 = require("./ApiBase");
7
7
  const SmartEditRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SmartEditRedux"));
8
8
  const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SystemRedux"));
9
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
10
9
  class SmartEditApiImpl extends ApiBase_1.ApiBase {
11
10
  setSmartEditOperation(mathOperation) {
12
11
  this.dispatchAction(SystemRedux.SmartEditChangeOperation(mathOperation));
@@ -20,10 +19,6 @@ class SmartEditApiImpl extends ApiBase_1.ApiBase {
20
19
  getSmartEditValue() {
21
20
  return this.getAdaptableState().System.SmartEditValue;
22
21
  }
23
- showSmartEditPopup() {
24
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'SmartEditApi', 'showSmartEditPopup', 'openSmartEditSettingsPanel');
25
- this.openSmartEditSettingsPanel();
26
- }
27
22
  openSmartEditSettingsPanel() {
28
23
  this.showModulePopup(ModuleConstants.SmartEditModuleId);
29
24
  }
@@ -1,4 +1,4 @@
1
- import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
1
+ import { ApiBase } from './ApiBase';
2
2
  import { StyledColumnApi } from '../StyledColumnApi';
3
3
  import { StyledColumn, StyledColumnState } from '../../PredefinedConfig/StyledColumnState';
4
4
  import { AdaptableColumn } from '../../types';
@@ -8,16 +8,12 @@ export declare class StyledColumnApiImpl extends ApiBase implements StyledColumn
8
8
  internalApi: StyledColumnInternalApi;
9
9
  constructor(adaptable: IAdaptable);
10
10
  getStyledColumnState(): StyledColumnState;
11
- getAllStyledColumn(config?: LayoutAssociatedObjectLoadConfig): StyledColumn[];
12
11
  getStyledColumns(config?: {
13
12
  includeLayoutNotAssociatedObjects?: boolean;
14
13
  }): StyledColumn[];
15
14
  getStyledColumnById(id: StyledColumn['Uuid']): StyledColumn;
16
- getStyledColumnByColumnId(id: StyledColumn['Uuid']): StyledColumn;
17
15
  getStyledColumnForColumnId(columnId: StyledColumn['ColumnId']): StyledColumn;
18
- getAllActiveStyledColumn(): StyledColumn[];
19
16
  getActiveStyledColumns(): StyledColumn[];
20
- getAllSuspendedStyledColumn(): StyledColumn[];
21
17
  getSuspendedStyledColumns(): StyledColumn[];
22
18
  deleteStyledColumn(styledColumn: StyledColumn): void;
23
19
  addStyledColumn(styledColumn: StyledColumn): void;
@@ -6,7 +6,6 @@ const ApiBase_1 = require("./ApiBase");
6
6
  const StyledColumnRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/StyledColumnRedux"));
7
7
  const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
8
8
  const StyledColumnInternalApi_1 = require("../Internal/StyledColumnInternalApi");
9
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
10
9
  const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
11
10
  class StyledColumnApiImpl extends ApiBase_1.ApiBase {
12
11
  constructor(adaptable) {
@@ -16,10 +15,6 @@ class StyledColumnApiImpl extends ApiBase_1.ApiBase {
16
15
  getStyledColumnState() {
17
16
  return this.getAdaptableState().StyledColumn;
18
17
  }
19
- getAllStyledColumn(config) {
20
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'StyledColumnApi', 'getAllStyledColumn', 'getStyledColumns');
21
- return this.getStyledColumns(config);
22
- }
23
18
  getStyledColumns(config) {
24
19
  var _a;
25
20
  return ((_a = this.handleLayoutAssociatedObjects(this.getStyledColumnState().StyledColumns, 'StyledColumn', config)) !== null && _a !== void 0 ? _a : []);
@@ -27,24 +22,12 @@ class StyledColumnApiImpl extends ApiBase_1.ApiBase {
27
22
  getStyledColumnById(id) {
28
23
  return this.getStyledColumns().find((styledcolumn) => styledcolumn.Uuid === id);
29
24
  }
30
- getStyledColumnByColumnId(id) {
31
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'StyledColumnApi', 'getStyledColumnByColumnId', 'getStyledColumnForColumnId');
32
- return this.getStyledColumnForColumnId(id);
33
- }
34
25
  getStyledColumnForColumnId(columnId) {
35
26
  return this.getStyledColumns().find((styledcolumn) => styledcolumn.ColumnId === columnId);
36
27
  }
37
- getAllActiveStyledColumn() {
38
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'StyledColumnApi', 'getAllActiveStyledColumn', 'getActiveStyledColumns');
39
- return this.getActiveStyledColumns();
40
- }
41
28
  getActiveStyledColumns() {
42
29
  return this.getStyledColumns().filter((styledcolumn) => !styledcolumn.IsSuspended);
43
30
  }
44
- getAllSuspendedStyledColumn() {
45
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'StyledColumnApi', 'getAllSuspendedStyledColumn', 'getSuspendedStyledColumns');
46
- return this.getSuspendedStyledColumns();
47
- }
48
31
  getSuspendedStyledColumns() {
49
32
  return this.getStyledColumns().filter((styledcolumn) => styledcolumn.IsSuspended);
50
33
  }
@@ -80,6 +63,8 @@ class StyledColumnApiImpl extends ApiBase_1.ApiBase {
80
63
  rowData: rowData,
81
64
  primaryKeyValue: primaryKeyValue,
82
65
  isChecked: isChecked,
66
+ userName: this.adaptable.api.optionsApi.getUserName(),
67
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
83
68
  };
84
69
  this.adaptable.api.eventApi.emit('CheckboxColumnClicked', checkboxColumnClickedInfo);
85
70
  }
@@ -14,9 +14,7 @@ export declare class SystemStatusApiImpl extends ApiBase implements SystemStatus
14
14
  setWarningSystemStatus(statusMessage: string, statusFurtherInformation?: string): void;
15
15
  setSuccessSystemStatus(statusMessage: string, statusFurtherInformation?: string): void;
16
16
  setInfoSystemStatus(statusMessage: string, statusFurtherInformation?: string): void;
17
- showSystemStatusPopup(): void;
18
17
  openSystemStatusSettingsPanel(): void;
19
- fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo: SystemStatusMessageInfo): void;
20
18
  getCurrentSystemStatusMessageInfo(): SystemStatusMessageInfo | undefined;
21
19
  deleteAllSystemStatusMessages(): void;
22
20
  destroy(): void;
@@ -11,7 +11,6 @@ const react_1 = require("react");
11
11
  const UIHelper_1 = tslib_1.__importDefault(require("../../View/UIHelper"));
12
12
  const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
13
13
  const SystemStatusInternalApi_1 = require("../Internal/SystemStatusInternalApi");
14
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
15
14
  class SystemStatusApiImpl extends ApiBase_1.ApiBase {
16
15
  constructor(adaptable) {
17
16
  super(adaptable);
@@ -76,17 +75,9 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
76
75
  setInfoSystemStatus(statusMessage, statusFurtherInformation) {
77
76
  this.setSystemStatus(statusMessage, 'Info', statusFurtherInformation);
78
77
  }
79
- showSystemStatusPopup() {
80
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'SystemStatusApi', 'showSystemStatusPopup', 'openSystemStatusSettingsPanel');
81
- this.openSystemStatusSettingsPanel();
82
- }
83
78
  openSystemStatusSettingsPanel() {
84
79
  this.showModulePopup(ModuleConstants.SystemStatusModuleId);
85
80
  }
86
- fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo) {
87
- (0, logDeprecation_1.logDeprecationInternal)(this.adaptable.logger, 'SystemStatusApi', 'fireSystemStatusMessageDisplayedEvent');
88
- this.internalApi.fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo);
89
- }
90
81
  getCurrentSystemStatusMessageInfo() {
91
82
  const messageInfos = this.internalApi.getSystemStatusMessageInfos() || [];
92
83
  const orderedArray = messageInfos.sort((a, b) => b.timestamp.getTime() - a.timestamp.getTime());
@@ -7,17 +7,13 @@ export declare class TeamSharingApiImpl extends ApiBase implements TeamSharingAp
7
7
  internalApi: TeamSharingInternalApi;
8
8
  constructor(adaptable: IAdaptable);
9
9
  loadSharedEntities(): Promise<SharedEntity[]>;
10
- getSharedEntities(): Promise<SharedEntity[]>;
11
10
  persistSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
12
- setSharedEntities(sharedEntities: SharedEntity[]): Promise<boolean>;
13
11
  isTeamSharingAvailable(): boolean;
14
12
  hasTeamSharingFullRights(): boolean;
15
13
  checkForUpdates(): void;
16
- showTeamSharingPopup(): void;
17
14
  openTeamSharingSettingsPanel(): void;
18
15
  shareAdaptableEntity(adaptableObject: AdaptableObject, module: AdaptableModule, sharedEntityConfig: AdaptableSharedEntityConfig): void;
19
16
  shareCustomEntity(customObject: any, sharedEntityConfig: CustomSharedEntityConfig): void;
20
- shareEntity(entity: AdaptableObject, module: AdaptableModule, sharedEntityConfig: AdaptableSharedEntityConfig): void;
21
17
  unshareEntity(entityId: string): void;
22
18
  importSharedEntry(sharedEntity: SharedEntity): void;
23
19
  private getTeamSharingState;
@@ -25,5 +21,4 @@ export declare class TeamSharingApiImpl extends ApiBase implements TeamSharingAp
25
21
  getLoadedAdaptableSharedEntities(): AdaptableSharedEntity[];
26
22
  getLoadedCustomSharedEntities(): CustomSharedEntity[];
27
23
  refreshTeamSharing(): void;
28
- triggerLoadingTeamSharingEntries(): void;
29
24
  }
@@ -7,7 +7,6 @@ const ApiBase_1 = require("./ApiBase");
7
7
  const TeamSharingRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/TeamSharingRedux"));
8
8
  const TeamSharingRedux_1 = require("../../Redux/ActionsReducers/TeamSharingRedux");
9
9
  const TeamSharingInternalApi_1 = require("../Internal/TeamSharingInternalApi");
10
- const logDeprecation_1 = require("../../Utilities/logDeprecation");
11
10
  const TeamSharingState_1 = require("../../PredefinedConfig/TeamSharingState");
12
11
  class TeamSharingApiImpl extends ApiBase_1.ApiBase {
13
12
  constructor(adaptable) {
@@ -39,10 +38,6 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
39
38
  const sharedEntities = teamSharingOptions.applySharedEntities(loadedSharedEntities, sharedEntitiesContext);
40
39
  return sharedEntities;
41
40
  }
42
- async getSharedEntities() {
43
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'TeamSharingApi', 'getSharedEntities', 'loadSharedEntities');
44
- return this.loadSharedEntities();
45
- }
46
41
  async persistSharedEntities(sharedEntities) {
47
42
  if (!this.isTeamSharingAvailable()) {
48
43
  this.logWarn('Team Sharing is not Activated so Entities cannot be shared');
@@ -58,10 +53,6 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
58
53
  await teamSharingOptions.persistSharedEntities(sharedEntitiesAfterCustomisation, sharedEntitiesContext);
59
54
  return true;
60
55
  }
61
- async setSharedEntities(sharedEntities) {
62
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'TeamSharingApi', 'setSharedEntities', 'persistSharedEntities');
63
- return this.persistSharedEntities(sharedEntities);
64
- }
65
56
  isTeamSharingAvailable() {
66
57
  var _a, _b, _c;
67
58
  return (!this.getAdaptableApi()
@@ -79,10 +70,6 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
79
70
  checkForUpdates() {
80
71
  this.dispatchAction((0, TeamSharingRedux_1.TeamSharingCheckForUpdates)());
81
72
  }
82
- showTeamSharingPopup() {
83
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'TeamSharingApi', 'showTeamSharingPopup', 'openTeamSharingSettingsPanel');
84
- return this.openTeamSharingSettingsPanel();
85
- }
86
73
  openTeamSharingSettingsPanel() {
87
74
  this.showModulePopup(ModuleConstants.TeamSharingModuleId);
88
75
  }
@@ -100,10 +87,6 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
100
87
  }
101
88
  this.dispatchAction(TeamSharingRedux.TeamSharingShareCustom(customObject, sharedEntityConfig));
102
89
  }
103
- shareEntity(entity, module, sharedEntityConfig) {
104
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'TeamSharingApi', 'shareEntity', 'shareAdaptableEntity');
105
- return this.shareAdaptableEntity(entity, module, sharedEntityConfig);
106
- }
107
90
  unshareEntity(entityId) {
108
91
  if (!this.isTeamSharingAvailable()) {
109
92
  this.logWarn('Team Sharing is not Activated so Entities cannot be unshared');
@@ -143,9 +126,5 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
143
126
  refreshTeamSharing() {
144
127
  this.dispatchAction(TeamSharingRedux.TeamSharingGet());
145
128
  }
146
- triggerLoadingTeamSharingEntries() {
147
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'TeamSharingApi', 'triggerLoadingTeamSharingEntries', 'refreshTeamSharing');
148
- this.refreshTeamSharing();
149
- }
150
129
  }
151
130
  exports.TeamSharingApiImpl = TeamSharingApiImpl;
@@ -14,14 +14,10 @@ export declare class ThemeApiImpl extends ApiBase implements ThemeApi {
14
14
  getCurrentThemeObject(): AdaptableTheme;
15
15
  setSystemThemes(systemThemes: AdaptableTheme[]): void;
16
16
  setUserThemes(userThemes: AdaptableTheme[]): void;
17
- getAllSystemTheme(): AdaptableTheme[];
18
17
  getSystemThemes(): AdaptableTheme[];
19
18
  applyCurrentTheme(): void;
20
- getAllUserTheme(): AdaptableTheme[];
21
19
  getUserThemes(): AdaptableTheme[];
22
- getAllTheme(): AdaptableTheme[];
23
20
  getThemes(): AdaptableTheme[];
24
- showThemePopup(): void;
25
21
  openThemeSettingsPanel(): void;
26
22
  getAgGridCurrentThemeName(): string;
27
23
  editTheme(theme: AdaptableTheme): void;
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
5
5
  const ThemeRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/ThemeRedux"));
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
  const themes_1 = require("../../themes");
10
9
  const ThemeInternalApi_1 = require("../Internal/ThemeInternalApi");
11
10
  const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
@@ -39,10 +38,6 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
39
38
  setUserThemes(userThemes) {
40
39
  this.dispatchAction(ThemeRedux.ThemeSetUserThemes(userThemes));
41
40
  }
42
- getAllSystemTheme() {
43
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ThemeApi', 'getAllSystemTheme', 'getSystemThemes');
44
- return this.getSystemThemes();
45
- }
46
41
  getSystemThemes() {
47
42
  var _a;
48
43
  const themes = (_a = this.getAdaptableState().Theme.SystemThemes) !== null && _a !== void 0 ? _a : [];
@@ -69,28 +64,18 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
69
64
  let themeChangedInfo = {
70
65
  adaptableApi: this.getAdaptableApi(),
71
66
  theme: currentTheme,
67
+ userName: this.adaptable.api.optionsApi.getUserName(),
68
+ adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
72
69
  };
73
70
  this.adaptable.api.eventApi.emit('ThemeChanged', themeChangedInfo);
74
71
  }
75
- getAllUserTheme() {
76
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ThemeApi', 'getAllUserTheme', 'getUserThemes');
77
- return this.getUserThemes();
78
- }
79
72
  getUserThemes() {
80
73
  var _a;
81
74
  return (_a = this.getAdaptableState().Theme.UserThemes) !== null && _a !== void 0 ? _a : [];
82
75
  }
83
- getAllTheme() {
84
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ThemeApi', 'getAllTheme', 'getThemes');
85
- return this.getThemes();
86
- }
87
76
  getThemes() {
88
77
  return [...this.getSystemThemes(), ...this.getUserThemes()];
89
78
  }
90
- showThemePopup() {
91
- (0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'ThemeApi', 'showThemePopup', 'openThemeSettingsPanel');
92
- return this.openThemeSettingsPanel();
93
- }
94
79
  openThemeSettingsPanel() {
95
80
  this.showModulePopup(ModuleConstants.ThemeModuleId);
96
81
  }
@@ -14,13 +14,13 @@ class ToolPanelApiImpl extends ApiBase_1.ApiBase {
14
14
  this.showModulePopup(ModuleConstants.ToolPanelModuleId);
15
15
  }
16
16
  openAdapTableToolPanel() {
17
- let gridOptions = this.getOptions().gridOptions;
17
+ let gridOptions = this.getGridApi().getAgGridInstance();
18
18
  if (gridOptions) {
19
19
  gridOptions.api.openToolPanel('adaptable');
20
20
  }
21
21
  }
22
22
  closeAdapTableToolPanel() {
23
- let gridOptions = this.getOptions().gridOptions;
23
+ let gridOptions = this.getGridApi().getAgGridInstance();
24
24
  if (gridOptions) {
25
25
  gridOptions.api.closeToolPanel();
26
26
  }
@@ -8,7 +8,6 @@ import { AdaptableObjectTag, GridCell } from '../../types';
8
8
  export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfaceApi {
9
9
  getColorPalette(): string[];
10
10
  getStyleClassNames(): string[] | undefined;
11
- getAllPermittedValuesItems(): PermittedValues[];
12
11
  getPermittedValuesItems(): PermittedValues[];
13
12
  private getPermittedValuesForScope;
14
13
  getPermittedValuesForColumn(column: AdaptableColumn): any[] | undefined;
@@ -18,7 +17,6 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
18
17
  getCustomSortPermittedValuesForColumn(column: AdaptableColumn): CustomSortPermittedValues | undefined;
19
18
  getAllBulkUpdatePermittedValuesItems(): BulkUpdatePermittedValues[];
20
19
  getBulkUpdatePermittedValuesForColumn(column: AdaptableColumn): BulkUpdatePermittedValues | undefined;
21
- getAllEditLookUpItems(): EditLookUpPermittedValues[];
22
20
  getEditLookUpItems(): EditLookUpPermittedValues[];
23
21
  getEditLookUpItemForColumn(column: AdaptableColumn): EditLookUpPermittedValues | undefined;
24
22
  getEditLookUpValuesForEditLookUpItem(editLookUpItem: EditLookUpPermittedValues, gridCell: GridCell): any[] | undefined;
@@ -27,4 +25,8 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
27
25
  getEditableCellStyle(): AdaptableStyle | undefined;
28
26
  getReadOnlyCellStyle(): AdaptableStyle | undefined;
29
27
  getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
28
+ getCustomIconDefinition(iconName: string): import("../../types").AdaptableIcon | {
29
+ name: string;
30
+ icon: import("../../types").AdaptableIcon;
31
+ };
30
32
  }