@adaptabletools/adaptable-plugin-openfin 18.0.10-canary.1 → 18.0.10-canary.2
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 +2 -2
- package/src/Module/OpenFinModule.js +3 -3
- package/src/OpenFinApiImpl.js +5 -5
- package/src/OpenFinHelper.js +1 -1
- package/src/Redux/ActionReducers/OpenFinRedux.js +2 -2
- package/src/Utilities/Services/OpenFinService.js +3 -3
- package/src/Utilities/Services/setup.js +1 -1
- package/src/View/OpenFinPopup.js +4 -4
- package/src/View/OpenFinViewPanel.js +12 -12
- package/src/index.js +11 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-openfin",
|
|
3
|
-
"version": "18.0.10-canary.
|
|
3
|
+
"version": "18.0.10-canary.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"redux": "4.0.5",
|
|
19
19
|
"styled-components": "^4.4.1",
|
|
20
20
|
"tslib": "^2.3.0",
|
|
21
|
-
"@adaptabletools/adaptable": "18.0.10-canary.
|
|
21
|
+
"@adaptabletools/adaptable": "18.0.10-canary.2"
|
|
22
22
|
},
|
|
23
23
|
"type": "module",
|
|
24
24
|
"module": "src/index.js"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdaptableModuleBase } from
|
|
2
|
-
import * as ModuleConstants from
|
|
1
|
+
import { AdaptableModuleBase } from "@adaptabletools/adaptable/src/Strategy/AdaptableModuleBase.js";
|
|
2
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
3
3
|
import throttle from 'lodash/throttle';
|
|
4
|
-
import { SELECTED_CELLS_REPORT, DEFAULT_LIVE_REPORT_THROTTLE_TIME, SELECTED_ROWS_REPORT, ALL_DATA_REPORT, } from
|
|
4
|
+
import { SELECTED_CELLS_REPORT, DEFAULT_LIVE_REPORT_THROTTLE_TIME, SELECTED_ROWS_REPORT, ALL_DATA_REPORT, } from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
5
5
|
export const EXCEL_VALIDATION_FAILED = 'excelValidationFailed';
|
|
6
6
|
export class OpenFinModule extends AdaptableModuleBase {
|
|
7
7
|
constructor(api) {
|
package/src/OpenFinApiImpl.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ApiBase } from
|
|
2
|
-
import * as ModuleConstants from
|
|
3
|
-
import * as OpenFinRedux from
|
|
1
|
+
import { ApiBase } from "@adaptabletools/adaptable/src/Api/Implementation/ApiBase.js";
|
|
2
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
3
|
+
import * as OpenFinRedux from "./Redux/ActionReducers/OpenFinRedux.js";
|
|
4
4
|
import { addEventListener, create } from 'openfin-notifications';
|
|
5
|
-
import { isRunningInOpenfin } from
|
|
6
|
-
import { isAdaptableCustomIcon } from
|
|
5
|
+
import { isRunningInOpenfin } from "./Utilities/isRunningInOpenfin.js";
|
|
6
|
+
import { isAdaptableCustomIcon } from "@adaptabletools/adaptable/src/components/Icon/index.js";
|
|
7
7
|
// needed because otherwise openfin-notifications is not initialized properly
|
|
8
8
|
// as it assumes it's running before DOMContentLoaded, but nextjs and other bundlers
|
|
9
9
|
// might inject it after DOMContentLoaded is fired - so we fire it programatically
|
package/src/OpenFinHelper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*import { ExcelWorkbook } from '../Services/OpenfinLiveExcel/ExcelWorkbook';*/
|
|
2
2
|
// putting this here as we dont use it elswhere - so keeping it here until we redo the OpenFin one day...
|
|
3
|
-
import { AdaptableLogger } from
|
|
3
|
+
import { AdaptableLogger } from "@adaptabletools/adaptable/src/agGrid/AdaptableLogger.js";
|
|
4
4
|
export class EventDispatcher {
|
|
5
5
|
constructor() {
|
|
6
6
|
this._subscriptions = new Array();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OPENFIN_START_LIVE_DATA, OPENFIN_STOP_LIVE_DATA, OPENFIN_LIVE_REPORT_SET, OPENFIN_LIVE_REPORT_CLEAR, OPENFIN_SET_CURRENT_REPORTNAME, } from
|
|
2
|
-
import { EMPTY_STRING } from
|
|
1
|
+
import { OPENFIN_START_LIVE_DATA, OPENFIN_STOP_LIVE_DATA, OPENFIN_LIVE_REPORT_SET, OPENFIN_LIVE_REPORT_CLEAR, OPENFIN_SET_CURRENT_REPORTNAME, } from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux.js";
|
|
2
|
+
import { EMPTY_STRING } from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
3
3
|
export const OpenFinStartLiveData = (openFinReport) => ({
|
|
4
4
|
type: OPENFIN_START_LIVE_DATA,
|
|
5
5
|
openFinReport: openFinReport,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Emitter from
|
|
2
|
-
import { setup } from
|
|
3
|
-
import { isRunningInOpenfin } from
|
|
1
|
+
import Emitter from "@adaptabletools/adaptable/src/Utilities/Emitter.js";
|
|
2
|
+
import { setup } from "./setup.js";
|
|
3
|
+
import { isRunningInOpenfin } from "../isRunningInOpenfin.js";
|
|
4
4
|
if (isRunningInOpenfin()) {
|
|
5
5
|
// Commenting this out as its causing build issues
|
|
6
6
|
// Need to decide what to do about Excel - old implementation is deprecated and replaced with this: https://developers.openfin.co/of-docs/docs/excel-integration
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableLogger } from
|
|
1
|
+
import { AdaptableLogger } from "@adaptabletools/adaptable/src/agGrid/AdaptableLogger.js";
|
|
2
2
|
export const setup = async () => {
|
|
3
3
|
const excelAssetAlias = 'excel-api-addin';
|
|
4
4
|
const excelServiceUuid = '886834D1-4651-4872-996C-7B2578E953B9';
|
package/src/View/OpenFinPopup.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
|
-
import { PanelWithButton } from
|
|
4
|
-
import * as TeamSharingRedux from
|
|
5
|
-
import * as ModuleConstants from
|
|
6
|
-
import { UIHelper } from
|
|
3
|
+
import { PanelWithButton } from "@adaptabletools/adaptable/src/View/Components/Panels/PanelWithButton.js";
|
|
4
|
+
import * as TeamSharingRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/TeamSharingRedux.js";
|
|
5
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
6
|
+
import { UIHelper } from "@adaptabletools/adaptable/src/View/UIHelper.js";
|
|
7
7
|
class OpenFinPopupComponent extends React.Component {
|
|
8
8
|
constructor(props) {
|
|
9
9
|
super(props);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as OpenFinRedux from
|
|
2
|
-
import * as PopupRedux from
|
|
3
|
-
import { isRunningInOpenfin } from
|
|
1
|
+
import * as OpenFinRedux from "../Redux/ActionReducers/OpenFinRedux.js";
|
|
2
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
3
|
+
import { isRunningInOpenfin } from "../Utilities/isRunningInOpenfin.js";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import * as GeneralConstants from
|
|
6
|
-
import { StringExtensions } from
|
|
5
|
+
import * as GeneralConstants from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
6
|
+
import { StringExtensions } from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
7
7
|
import { Flex } from 'rebass';
|
|
8
|
-
import Dropdown from
|
|
9
|
-
import { ButtonPause } from
|
|
10
|
-
import { ButtonPlay } from
|
|
11
|
-
import join from
|
|
12
|
-
import { ButtonSchedule } from
|
|
13
|
-
import * as ModuleConstants from
|
|
14
|
-
import { CreateEmptyOpenFinSchedule } from
|
|
8
|
+
import Dropdown from "@adaptabletools/adaptable/src/components/Dropdown/index.js";
|
|
9
|
+
import { ButtonPause } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonPause.js";
|
|
10
|
+
import { ButtonPlay } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonPlay.js";
|
|
11
|
+
import join from "@adaptabletools/adaptable/src/components/utils/join.js";
|
|
12
|
+
import { ButtonSchedule } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonSchedule.js";
|
|
13
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
14
|
+
import { CreateEmptyOpenFinSchedule } from "@adaptabletools/adaptable/src/Utilities/ObjectFactory.js";
|
|
15
15
|
import { connect } from 'react-redux';
|
|
16
16
|
const IS_OPENFIN = isRunningInOpenfin();
|
|
17
17
|
class OpenFinViewPanelComponent extends React.Component {
|
package/src/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { AdaptablePlugin, } from
|
|
1
|
+
import { AdaptablePlugin, } from "@adaptabletools/adaptable/types.js";
|
|
2
2
|
// TODO in the future, try to put back the version check
|
|
3
3
|
// import { version, name } from '../package.json';
|
|
4
4
|
// import { version as coreVersion } from '@adaptabletools/adaptable/package.json';
|
|
5
|
-
import * as ModuleConstants from
|
|
6
|
-
import { OpenFinModuleId } from
|
|
7
|
-
import * as PopupRedux from
|
|
8
|
-
import { AdaptableViewPanelFactory } from
|
|
9
|
-
import { OpenFinModule } from
|
|
10
|
-
import { OpenFinApiImpl } from
|
|
11
|
-
import { OpenFinService } from
|
|
12
|
-
import { initialOpenFinState, OpenFinReducer } from
|
|
13
|
-
import { OPENFIN_START_LIVE_DATA, OPENFIN_STOP_LIVE_DATA, } from
|
|
14
|
-
import { OpenFinViewPanelControl } from
|
|
5
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
6
|
+
import { OpenFinModuleId } from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
7
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
8
|
+
import { AdaptableViewPanelFactory } from "@adaptabletools/adaptable/src/View/AdaptableViewFactory.js";
|
|
9
|
+
import { OpenFinModule } from "./Module/OpenFinModule.js";
|
|
10
|
+
import { OpenFinApiImpl } from "./OpenFinApiImpl.js";
|
|
11
|
+
import { OpenFinService } from "./Utilities/Services/OpenFinService.js";
|
|
12
|
+
import { initialOpenFinState, OpenFinReducer } from "./Redux/ActionReducers/OpenFinRedux.js";
|
|
13
|
+
import { OPENFIN_START_LIVE_DATA, OPENFIN_STOP_LIVE_DATA, } from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux.js";
|
|
14
|
+
import { OpenFinViewPanelControl } from "./View/OpenFinViewPanel.js";
|
|
15
15
|
// const suffix = name.endsWith('-cjs') ? '-cjs' : '';
|
|
16
16
|
// if (version !== coreVersion) {
|
|
17
17
|
// console.warn(`
|