@adaptabletools/adaptable-plugin-ipushpull 10.0.0-canary.0 → 10.0.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.
- package/package.json +2 -3
- package/src/View/IPushPullViewPanel.js +1 -1
- package/src/index.js +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-ipushpull",
|
|
3
|
-
"version": "10.0.0
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": {
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
},
|
|
10
10
|
"homepage": "http://www.adaptabletools.com/",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@grid-utils/ipushpull": "^9.1.0",
|
|
13
12
|
"ipushpull-js": "^2.25.0",
|
|
14
13
|
"lodash-es": "^4.17.15",
|
|
15
14
|
"prop-types": "^15.6.2",
|
|
@@ -18,6 +17,6 @@
|
|
|
18
17
|
"rebass": "^3.2.2",
|
|
19
18
|
"redux": "4.0.5",
|
|
20
19
|
"styled-components": "^4.4.1",
|
|
21
|
-
"@adaptabletools/adaptable": "10.0.0
|
|
20
|
+
"@adaptabletools/adaptable": "10.0.0"
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -114,7 +114,7 @@ const IPushPullViewPanelComponent = (props) => {
|
|
|
114
114
|
: 'Select Page')),
|
|
115
115
|
React.createElement(rebass_1.Flex, { style: { minWidth: '148px' } },
|
|
116
116
|
React.createElement(ButtonExport_1.ButtonExport, { marginLeft: 1, className: `ab-${elementType}__IPushPull__export`, onClick: () => onIPushPullSendSnapshot(), tooltip: "Send Snapshot to ipushpull", disabled: isLiveIPushPullReport || !isCompletedReport, accessLevel: props.accessLevel }),
|
|
117
|
-
isLiveIPushPullReport ? (React.createElement(ButtonPause_1.ButtonPause, { marginLeft: 1, className: `ab-${elementType}__IPushPull__pause`, onClick: () => props.onIPushPullStopLiveData(), tooltip: "Stop sync with ipushpull", disabled: !isLiveIPushPullReport, accessLevel: props.accessLevel })) : (React.createElement(ButtonPlay_1.ButtonPlay, { marginLeft: 1, className: `ab-${elementType}__IPushPull__play`, onClick: () => onIPushPullStartLiveData(), tooltip: "Start sync with ipushpull", disabled: isLiveIPushPullReport || !isCompletedReport, accessLevel: props.accessLevel })),
|
|
117
|
+
isLiveIPushPullReport ? (React.createElement(ButtonPause_1.ButtonPause, { fillColor: 'red', marginLeft: 1, className: `ab-${elementType}__IPushPull__pause`, onClick: () => props.onIPushPullStopLiveData(), tooltip: "Stop sync with ipushpull", disabled: !isLiveIPushPullReport, accessLevel: props.accessLevel })) : (React.createElement(ButtonPlay_1.ButtonPlay, { marginLeft: 1, className: `ab-${elementType}__IPushPull__play`, onClick: () => onIPushPullStartLiveData(), tooltip: "Start sync with ipushpull", disabled: isLiveIPushPullReport || !isCompletedReport, accessLevel: props.accessLevel })),
|
|
118
118
|
isCompletedReport && (React.createElement(rebass_1.Flex, { className: join_1.default(props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__IPushPull__controls`), alignItems: "stretch" }, props.api.internalApi.getEntitlementService().isModuleFullEntitlement('Schedule') && (React.createElement(ButtonSchedule_1.ButtonSchedule, { marginLeft: 1, className: `ab-${elementType}__IPushPull__schedule`, onClick: () => onNewIPushPullSchedule(), tooltip: "Schedule", disabled: isLiveIPushPullReport || !isCompletedReport, accessLevel: props.accessLevel })))),
|
|
119
119
|
' ',
|
|
120
120
|
React.createElement(ButtonNewPage_1.ButtonNewPage, { marginLeft: 1, className: `ab-${elementType}__IPushPull__newpage`, onClick: () => props.onShowAddIPushPullPage(), tooltip: "New Page", disabled: isLiveIPushPullReport, accessLevel: props.accessLevel }),
|
package/src/index.js
CHANGED
|
@@ -19,7 +19,6 @@ const IPushPullAddPagePopup_1 = require("./View/IPushPullAddPagePopup");
|
|
|
19
19
|
const PluginsRedux_1 = require("@adaptabletools/adaptable/src/Redux/ActionsReducers/PluginsRedux");
|
|
20
20
|
const StringExtensions_1 = tslib_1.__importDefault(require("@adaptabletools/adaptable/src/Utilities/Extensions/StringExtensions"));
|
|
21
21
|
const IPushPullViewPanel_1 = require("./View/IPushPullViewPanel");
|
|
22
|
-
const ipushpull_1 = require("@grid-utils/ipushpull");
|
|
23
22
|
if (package_json_1.version !== version_1.default) {
|
|
24
23
|
console.warn(`
|
|
25
24
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
@@ -148,7 +147,6 @@ class IPushPullPlugin extends types_1.AdaptablePlugin {
|
|
|
148
147
|
*/
|
|
149
148
|
// IPushPull?: IPushPullState;
|
|
150
149
|
ipushpull_js_1.default.config.set(this.options.ippConfig);
|
|
151
|
-
const isAlive = new ipushpull_1.CoreUtils().isAlive();
|
|
152
150
|
}
|
|
153
151
|
afterInitApi(adaptable) {
|
|
154
152
|
this.iPushPullApi = new IPushPullApiImpl_1.IPushPullApiImpl(adaptable, this.options);
|