@adaptabletools/adaptable-plugin-ipushpull 19.1.0-canary.0 → 19.1.1
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-ipushpull",
|
3
|
-
"version": "19.1.
|
3
|
+
"version": "19.1.1",
|
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": "19.1.
|
22
|
+
"@adaptabletools/adaptable": "19.1.1"
|
23
23
|
},
|
24
24
|
"type": "module",
|
25
25
|
"module": "src/index.js"
|
@@ -7,7 +7,7 @@ export declare class IPushPullApiImpl extends ApiBase implements IPushPullApi {
|
|
7
7
|
private ippInstance;
|
8
8
|
private ippService;
|
9
9
|
private options;
|
10
|
-
constructor(
|
10
|
+
constructor(_adaptable: IAdaptable, options: IPushPullPluginOptions);
|
11
11
|
getCurrentIPushPullUsername(): string | undefined;
|
12
12
|
getCurrentIPushPullPassword(): string | undefined;
|
13
13
|
getIPushPullUsername(): string | undefined;
|
package/src/IPushPullApiImpl.js
CHANGED
@@ -4,8 +4,8 @@ import * as IPushPullRedux from './Redux/ActionReducers/IPushPullRedux';
|
|
4
4
|
import ArrayExtensions from '@adaptabletools/adaptable/src/Utilities/Extensions/ArrayExtensions';
|
5
5
|
import Helper from '@adaptabletools/adaptable/src/Utilities/Helpers/Helper';
|
6
6
|
export class IPushPullApiImpl extends ApiBase {
|
7
|
-
constructor(
|
8
|
-
super(
|
7
|
+
constructor(_adaptable, options) {
|
8
|
+
super(_adaptable);
|
9
9
|
this.ippService = null;
|
10
10
|
this.options = options;
|
11
11
|
}
|
@@ -132,7 +132,7 @@ export class IPushPullApiImpl extends ApiBase {
|
|
132
132
|
}
|
133
133
|
getIPPService() {
|
134
134
|
if (!this.ippService) {
|
135
|
-
this.ippService = this.
|
135
|
+
this.ippService = this._adaptable.getPluginProperty('ipushpull', 'service') || null;
|
136
136
|
}
|
137
137
|
return this.ippService;
|
138
138
|
}
|
@@ -141,7 +141,7 @@ export class IPushPullApiImpl extends ApiBase {
|
|
141
141
|
const domainpages = await this.getIPPService().getDomainPages();
|
142
142
|
this.setIPushPullDomains(domainpages);
|
143
143
|
this.setIPushPullRunningOn();
|
144
|
-
this.
|
144
|
+
this.getAdaptableInternalApi().hidePopupScreen();
|
145
145
|
this.setIPushPullLoginErrorMessage('');
|
146
146
|
this.dispatchAction(IPushPullRedux.IPushPullSetLoginDetails(userName, password));
|
147
147
|
}
|
@@ -153,7 +153,7 @@ export class IPushPullApiImpl extends ApiBase {
|
|
153
153
|
logoutFromIPushPull() {
|
154
154
|
this.clearIPushPullInternalState();
|
155
155
|
this.dispatchAction(IPushPullRedux.IPushPullLogout());
|
156
|
-
this.
|
156
|
+
this.getAdaptableInternalApi().hidePopupScreen();
|
157
157
|
}
|
158
158
|
includeSystemReports() {
|
159
159
|
return this.options.includeSystemReports || false;
|