@adaptabletools/adaptable-plugin-openfin 15.2.2 → 15.2.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-openfin",
3
- "version": "15.2.2",
3
+ "version": "15.2.3",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
@@ -20,6 +20,6 @@
20
20
  "redux": "4.0.5",
21
21
  "styled-components": "^4.4.1",
22
22
  "tslib": "^2.3.0",
23
- "@adaptabletools/adaptable": "15.2.2"
23
+ "@adaptabletools/adaptable": "15.2.3"
24
24
  }
25
25
  }
@@ -296,7 +296,7 @@ class OpenFinModule extends AdaptableModuleBase_1.AdaptableModuleBase {
296
296
  ((_a = failedValidationRules[0].Rule) === null || _a === void 0 ? void 0 : _a.Predicates.map((predicate) => this.adaptable.api.predicateApi.predicateToString(predicate)).join(' AND '));
297
297
  const info = Object.assign({}, dataChangedInfos[0]);
298
298
  delete info.rowNode;
299
- const alertOptions = api.getAlertOptions();
299
+ const alertOptions = this.api.optionsApi.getAlertOptions();
300
300
  alertOptions.actionHandlers = (_b = alertOptions.actionHandlers) !== null && _b !== void 0 ? _b : [];
301
301
  if (pluginOptions.onValidationFailureInExcel === 'show-undo-notification' &&
302
302
  !alertOptions.actionHandlers.find((handler) => handler.name === 'openfin-plugin:excel-undo')) {
@@ -1,8 +1,8 @@
1
1
  import { ApiBase } from '@adaptabletools/adaptable/src/Api/Implementation/ApiBase';
2
2
  import { OpenFinApi } from '@adaptabletools/adaptable/src/Api/OpenFinApi';
3
3
  import { OpenFinPluginOptions } from '@adaptabletools/adaptable/src/AdaptableOptions/OpenFinPluginOptions';
4
- import { AdaptableAlert, NotificationsOptions, AlertOptions } from '@adaptabletools/adaptable/types';
5
- import { OpenFinState, OpenFinReport, OpenFinSchedule } from '@adaptabletools/adaptable/src/PredefinedConfig/OpenFinState';
4
+ import { AdaptableAlert, AlertOptions, NotificationsOptions } from '@adaptabletools/adaptable/types';
5
+ import { OpenFinReport, OpenFinSchedule, OpenFinState } from '@adaptabletools/adaptable/src/PredefinedConfig/OpenFinState';
6
6
  import { IAdaptable } from '@adaptabletools/adaptable/src/AdaptableInterfaces/IAdaptable';
7
7
  export declare class OpenFinApiImpl extends ApiBase implements OpenFinApi {
8
8
  private options;
@@ -14,7 +14,6 @@ export declare class OpenFinApiImpl extends ApiBase implements OpenFinApi {
14
14
  getOpenFinState(): OpenFinState | undefined;
15
15
  isOpenFinRunning(): boolean;
16
16
  isOpenFinAvailable(): boolean;
17
- private getOpenFinService;
18
17
  clearOpenFinInternalState(): void;
19
18
  getOpenFinThrottleTime(): number | undefined;
20
19
  getCurrentLiveOpenFinReport(): OpenFinReport | undefined;
@@ -23,5 +22,4 @@ export declare class OpenFinApiImpl extends ApiBase implements OpenFinApi {
23
22
  getAlertOptions(): AlertOptions;
24
23
  startLiveData(OpenFinReport: OpenFinReport): void;
25
24
  stopLiveData(): void;
26
- showOpenFinPopup(): void;
27
25
  }
@@ -138,12 +138,6 @@ class OpenFinApiImpl extends ApiBase_1.ApiBase {
138
138
  isOpenFinAvailable() {
139
139
  return true;
140
140
  }
141
- getOpenFinService() {
142
- if (!this.OpenFinService) {
143
- this.OpenFinService = this.adaptable.getPluginProperty('openfin', 'service') || null;
144
- }
145
- return this.OpenFinService;
146
- }
147
141
  clearOpenFinInternalState() {
148
142
  this.dispatchAction(OpenFinRedux.OpenFinLiveReportClear());
149
143
  }
@@ -174,8 +168,5 @@ class OpenFinApiImpl extends ApiBase_1.ApiBase {
174
168
  // fire the Live Report event for Export Stopped
175
169
  this.adaptable.ReportService.PublishLiveLiveDataChangedEvent('OpenFin', 'LiveDataStopped', currentLiveReport);
176
170
  }
177
- showOpenFinPopup() {
178
- this.showModulePopup(ModuleConstants.OpenFinModuleId);
179
- }
180
171
  }
181
172
  exports.OpenFinApiImpl = OpenFinApiImpl;