@adaptabletools/adaptable-plugin-ipushpull 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/IPushPullApiImpl.js +5 -5
- package/src/Module/PushPullModule.js +3 -3
- package/src/Redux/ActionReducers/IPushPullRedux.js +2 -2
- package/src/Utilities/Services/PushPullService.js +1 -1
- package/src/View/IPushPullAddPagePopup.js +14 -14
- package/src/View/IPushPullLoginPopup.js +12 -12
- package/src/View/IPushPullPopup.js +5 -5
- package/src/View/IPushPullViewPanel.js +15 -15
- package/src/index.js +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-ipushpull",
|
|
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": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"styled-components": "^4.4.1",
|
|
20
20
|
"tinycolor2": "^1.4.2",
|
|
21
21
|
"tslib": "^2.3.0",
|
|
22
|
-
"@adaptabletools/adaptable": "18.0.10-canary.
|
|
22
|
+
"@adaptabletools/adaptable": "18.0.10-canary.2"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"module": "src/index.js"
|
package/src/IPushPullApiImpl.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ApiBase } from
|
|
2
|
-
import * as ModuleConstants from
|
|
3
|
-
import * as IPushPullRedux from
|
|
4
|
-
import ArrayExtensions from
|
|
5
|
-
import Helper 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 IPushPullRedux from "./Redux/ActionReducers/IPushPullRedux.js";
|
|
4
|
+
import ArrayExtensions from "@adaptabletools/adaptable/src/Utilities/Extensions/ArrayExtensions.js";
|
|
5
|
+
import Helper from "@adaptabletools/adaptable/src/Utilities/Helpers/Helper.js";
|
|
6
6
|
export class IPushPullApiImpl extends ApiBase {
|
|
7
7
|
constructor(adaptable, options) {
|
|
8
8
|
super(adaptable);
|
|
@@ -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, } from
|
|
4
|
+
import { SELECTED_CELLS_REPORT, DEFAULT_LIVE_REPORT_THROTTLE_TIME, SELECTED_ROWS_REPORT, } from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
5
5
|
const EQUAL_DATA_ERR = 'equal data, so not sending';
|
|
6
6
|
export class PushPullModule extends AdaptableModuleBase {
|
|
7
7
|
constructor(api) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EMPTY_ARRAY, EMPTY_STRING, } from
|
|
2
|
-
import { IPUSHPULL_SET_THROTTLE_TIME, IPUSHPULL_SEND_SNAPSHOT, IPUSHPULL_START_LIVE_DATA, IPUSHPULL_STOP_LIVE_DATA, IPUSHPULL_LOGIN, IPUSHPULL_LOGOUT, IPUSHPULL_SET_LOGIN_DETAILS, IPUSHPULL_SET_LOGIN_ERROR_MESSAGE, IPUSHPULL_ADD_PAGE, IPUSHPULL_SET_AVAILABLE_ON, IPUSHPULL_SET_AVAILABLE_OFF, IPUSHPULL_SET_RUNNING_ON, IPUSHPULL_SET_RUNNING_OFF, IPUSHPULL_DOMAIN_PAGES_SET, IPUSHPULL_DOMAIN_PAGES_CLEAR, IPUSHPULL_LIVE_REPORT_SET, IPUSHPULL_LIVE_REPORT_CLEAR, IPUSHPULL_SET_CURRENT_REPORTNAME, IPUSHPULL_SET_CURRENT_FOLDER, IPUSHPULL_SET_CURRENT_PAGE, IPUSHPULL_SET_CURRENT_AVAILABLE_PAGES, } from
|
|
1
|
+
import { EMPTY_ARRAY, EMPTY_STRING, } from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
2
|
+
import { IPUSHPULL_SET_THROTTLE_TIME, IPUSHPULL_SEND_SNAPSHOT, IPUSHPULL_START_LIVE_DATA, IPUSHPULL_STOP_LIVE_DATA, IPUSHPULL_LOGIN, IPUSHPULL_LOGOUT, IPUSHPULL_SET_LOGIN_DETAILS, IPUSHPULL_SET_LOGIN_ERROR_MESSAGE, IPUSHPULL_ADD_PAGE, IPUSHPULL_SET_AVAILABLE_ON, IPUSHPULL_SET_AVAILABLE_OFF, IPUSHPULL_SET_RUNNING_ON, IPUSHPULL_SET_RUNNING_OFF, IPUSHPULL_DOMAIN_PAGES_SET, IPUSHPULL_DOMAIN_PAGES_CLEAR, IPUSHPULL_LIVE_REPORT_SET, IPUSHPULL_LIVE_REPORT_CLEAR, IPUSHPULL_SET_CURRENT_REPORTNAME, IPUSHPULL_SET_CURRENT_FOLDER, IPUSHPULL_SET_CURRENT_PAGE, IPUSHPULL_SET_CURRENT_AVAILABLE_PAGES, } from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux.js";
|
|
3
3
|
export const IPushPullSetThrottleTime = (throttleTime) => ({
|
|
4
4
|
type: IPUSHPULL_SET_THROTTLE_TIME,
|
|
5
5
|
throttleTime,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import StringExtensions from
|
|
1
|
+
import StringExtensions from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
2
2
|
import tinycolor from 'tinycolor2';
|
|
3
3
|
export var ServiceStatus;
|
|
4
4
|
(function (ServiceStatus) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
|
-
import * as PopupRedux from
|
|
4
|
-
import * as IPushPullRedux from
|
|
5
|
-
import { StringExtensions } from
|
|
6
|
-
import FormLayout, { FormRow } from
|
|
7
|
-
import Input from
|
|
8
|
-
import SimpleButton from
|
|
9
|
-
import FlexWithFooter from
|
|
10
|
-
import { PanelWithImage } from
|
|
11
|
-
import { usePopupContext } from
|
|
12
|
-
import ErrorBox from
|
|
13
|
-
import HelpBlock from
|
|
3
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
4
|
+
import * as IPushPullRedux from "../Redux/ActionReducers/IPushPullRedux.js";
|
|
5
|
+
import { StringExtensions } from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
6
|
+
import FormLayout, { FormRow } from "@adaptabletools/adaptable/src/components/FormLayout/index.js";
|
|
7
|
+
import Input from "@adaptabletools/adaptable/src/components/Input/index.js";
|
|
8
|
+
import SimpleButton from "@adaptabletools/adaptable/src/components/SimpleButton/index.js";
|
|
9
|
+
import FlexWithFooter from "@adaptabletools/adaptable/src/components/FlexWithFooter.js";
|
|
10
|
+
import { PanelWithImage } from "@adaptabletools/adaptable/src/View/Components/Panels/PanelWithImage.js";
|
|
11
|
+
import { usePopupContext } from "@adaptabletools/adaptable/src/View/Components/Popups/AdaptablePopup/PopupContext.js";
|
|
12
|
+
import ErrorBox from "@adaptabletools/adaptable/src/components/ErrorBox/index.js";
|
|
13
|
+
import HelpBlock from "@adaptabletools/adaptable/src/components/HelpBlock/index.js";
|
|
14
14
|
import { Flex } from 'rebass';
|
|
15
|
-
import Dropdown from
|
|
16
|
-
import { EMPTY_STRING, EMPTY_ARRAY, } from
|
|
17
|
-
import ArrayExtensions from
|
|
15
|
+
import Dropdown from "@adaptabletools/adaptable/src/components/Dropdown/index.js";
|
|
16
|
+
import { EMPTY_STRING, EMPTY_ARRAY, } from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
17
|
+
import ArrayExtensions from "@adaptabletools/adaptable/src/Utilities/Extensions/ArrayExtensions.js";
|
|
18
18
|
const IPushPullAddPageComponent = (props) => {
|
|
19
19
|
const [state, setState] = React.useState({
|
|
20
20
|
Folder: '',
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
|
-
import { useAdaptable } from
|
|
4
|
-
import * as PopupRedux from
|
|
5
|
-
import * as IPushPullRedux from
|
|
6
|
-
import { StringExtensions } from
|
|
7
|
-
import FormLayout, { FormRow } from
|
|
8
|
-
import Input from
|
|
9
|
-
import SimpleButton from
|
|
10
|
-
import FlexWithFooter from
|
|
11
|
-
import { PanelWithImage } from
|
|
12
|
-
import { usePopupContext } from
|
|
13
|
-
import ErrorBox from
|
|
14
|
-
import HelpBlock from
|
|
3
|
+
import { useAdaptable } from "@adaptabletools/adaptable/src/View/AdaptableContext.js";
|
|
4
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
5
|
+
import * as IPushPullRedux from "../Redux/ActionReducers/IPushPullRedux.js";
|
|
6
|
+
import { StringExtensions } from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
7
|
+
import FormLayout, { FormRow } from "@adaptabletools/adaptable/src/components/FormLayout/index.js";
|
|
8
|
+
import Input from "@adaptabletools/adaptable/src/components/Input/index.js";
|
|
9
|
+
import SimpleButton from "@adaptabletools/adaptable/src/components/SimpleButton/index.js";
|
|
10
|
+
import FlexWithFooter from "@adaptabletools/adaptable/src/components/FlexWithFooter.js";
|
|
11
|
+
import { PanelWithImage } from "@adaptabletools/adaptable/src/View/Components/Panels/PanelWithImage.js";
|
|
12
|
+
import { usePopupContext } from "@adaptabletools/adaptable/src/View/Components/Popups/AdaptablePopup/PopupContext.js";
|
|
13
|
+
import ErrorBox from "@adaptabletools/adaptable/src/components/ErrorBox/index.js";
|
|
14
|
+
import HelpBlock from "@adaptabletools/adaptable/src/components/HelpBlock/index.js";
|
|
15
15
|
import { Flex } from 'rebass';
|
|
16
16
|
const IPushPullLoginComponent = (props) => {
|
|
17
17
|
const adaptable = useAdaptable();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
|
-
import { PanelWithButton } from
|
|
4
|
-
import * as IPushPullRedux from
|
|
5
|
-
import * as TeamSharingRedux from
|
|
6
|
-
import * as ModuleConstants from
|
|
7
|
-
import { UIHelper } from
|
|
3
|
+
import { PanelWithButton } from "@adaptabletools/adaptable/src/View/Components/Panels/PanelWithButton.js";
|
|
4
|
+
import * as IPushPullRedux from "../Redux/ActionReducers/IPushPullRedux.js";
|
|
5
|
+
import * as TeamSharingRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/TeamSharingRedux.js";
|
|
6
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
7
|
+
import { UIHelper } from "@adaptabletools/adaptable/src/View/UIHelper.js";
|
|
8
8
|
class IPushPullPopupComponent extends React.Component {
|
|
9
9
|
constructor(props) {
|
|
10
10
|
super(props);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as IPushPullRedux from
|
|
2
|
-
import * as PopupRedux from
|
|
1
|
+
import * as IPushPullRedux from "../Redux/ActionReducers/IPushPullRedux.js";
|
|
2
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import ObjectFactory from
|
|
5
|
-
import { StringExtensions } from
|
|
4
|
+
import ObjectFactory from "@adaptabletools/adaptable/src/Utilities/ObjectFactory.js";
|
|
5
|
+
import { StringExtensions } from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
6
6
|
import { Flex } from 'rebass';
|
|
7
|
-
import DropdownButton from
|
|
8
|
-
import { ButtonExport } from
|
|
9
|
-
import { ButtonPause } from
|
|
10
|
-
import { ButtonPlay } from
|
|
11
|
-
import join from
|
|
12
|
-
import * as GeneralConstants from
|
|
13
|
-
import { ButtonSchedule } from
|
|
14
|
-
import { ButtonNewPage } from
|
|
15
|
-
import { ButtonLogout } from
|
|
16
|
-
import { ButtonLogin } from
|
|
17
|
-
import * as ModuleConstants from
|
|
7
|
+
import DropdownButton from "@adaptabletools/adaptable/src/components/DropdownButton/index.js";
|
|
8
|
+
import { ButtonExport } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonExport.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 * as GeneralConstants from "@adaptabletools/adaptable/src/Utilities/Constants/GeneralConstants.js";
|
|
13
|
+
import { ButtonSchedule } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonSchedule.js";
|
|
14
|
+
import { ButtonNewPage } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonNewPage.js";
|
|
15
|
+
import { ButtonLogout } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonLogout.js";
|
|
16
|
+
import { ButtonLogin } from "@adaptabletools/adaptable/src/View/Components/Buttons/ButtonLogin.js";
|
|
17
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
18
18
|
import { connect } from 'react-redux';
|
|
19
19
|
const IPushPullViewPanelComponent = (props) => {
|
|
20
20
|
var _a, _b, _c, _d;
|
package/src/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AdaptablePlugin } from
|
|
2
|
-
import env from
|
|
1
|
+
import { AdaptablePlugin } from "@adaptabletools/adaptable/types.js";
|
|
2
|
+
import env from "./env.js";
|
|
3
3
|
// TODO in the future, try to put back the version check
|
|
4
4
|
// import { version, name } from '../package.json';
|
|
5
5
|
// import { version as coreVersion } from '@adaptabletools/adaptable/package.json';
|
|
6
|
-
import * as ModuleConstants from
|
|
7
|
-
import { IPushPullModuleId } from
|
|
8
|
-
import * as PopupRedux from
|
|
9
|
-
import { AdaptableViewFactory, AdaptableViewPanelFactory, } from
|
|
10
|
-
import { PushPullModule } from
|
|
11
|
-
import { IPushPullApiImpl } from
|
|
12
|
-
import { PushPullService } from
|
|
6
|
+
import * as ModuleConstants from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
7
|
+
import { IPushPullModuleId } from "@adaptabletools/adaptable/src/Utilities/Constants/ModuleConstants.js";
|
|
8
|
+
import * as PopupRedux from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PopupRedux.js";
|
|
9
|
+
import { AdaptableViewFactory, AdaptableViewPanelFactory, } from "@adaptabletools/adaptable/src/View/AdaptableViewFactory.js";
|
|
10
|
+
import { PushPullModule } from "./Module/PushPullModule.js";
|
|
11
|
+
import { IPushPullApiImpl } from "./IPushPullApiImpl.js";
|
|
12
|
+
import { PushPullService } from "./Utilities/Services/PushPullService.js";
|
|
13
13
|
import ipushpull from 'ipushpull-js';
|
|
14
|
-
import { iPushPullInitialState, IPushPullReducer, IPushPullSetCurrentAvailablePages, IPushPullSetCurrentPage, } from
|
|
15
|
-
import { IPushPullLoginPopup } from
|
|
16
|
-
import { IPushPullAddPagePopup } from
|
|
17
|
-
import { IPUSHPULL_ADD_PAGE, IPUSHPULL_DOMAIN_PAGES_SET, IPUSHPULL_LOGIN, IPUSHPULL_SEND_SNAPSHOT, IPUSHPULL_SET_CURRENT_FOLDER, IPUSHPULL_START_LIVE_DATA, IPUSHPULL_STOP_LIVE_DATA, } from
|
|
18
|
-
import StringExtensions from
|
|
19
|
-
import { IPushPullViewPanelControl } from
|
|
14
|
+
import { iPushPullInitialState, IPushPullReducer, IPushPullSetCurrentAvailablePages, IPushPullSetCurrentPage, } from "./Redux/ActionReducers/IPushPullRedux.js";
|
|
15
|
+
import { IPushPullLoginPopup } from "./View/IPushPullLoginPopup.js";
|
|
16
|
+
import { IPushPullAddPagePopup } from "./View/IPushPullAddPagePopup.js";
|
|
17
|
+
import { IPUSHPULL_ADD_PAGE, IPUSHPULL_DOMAIN_PAGES_SET, IPUSHPULL_LOGIN, IPUSHPULL_SEND_SNAPSHOT, IPUSHPULL_SET_CURRENT_FOLDER, IPUSHPULL_START_LIVE_DATA, IPUSHPULL_STOP_LIVE_DATA, } from "@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux.js";
|
|
18
|
+
import StringExtensions from "@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions.js";
|
|
19
|
+
import { IPushPullViewPanelControl } from "./View/IPushPullViewPanel.js";
|
|
20
20
|
// const suffix = name.endsWith('-cjs') ? '-cjs' : '';
|
|
21
21
|
// if (version !== coreVersion) {
|
|
22
22
|
// console.warn(`
|