@adaptabletools/adaptable-plugin-ipushpull-cjs 19.1.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-cjs",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"styled-components": "^4.4.1",
|
|
21
21
|
"tinycolor2": "^1.4.2",
|
|
22
22
|
"tslib": "^2.3.0",
|
|
23
|
-
"@adaptabletools/adaptable-cjs": "19.1.
|
|
23
|
+
"@adaptabletools/adaptable-cjs": "19.1.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {}
|
|
26
26
|
}
|
|
@@ -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
|
@@ -8,8 +8,8 @@ const IPushPullRedux = tslib_1.__importStar(require("./Redux/ActionReducers/IPus
|
|
|
8
8
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("@adaptabletools/adaptable-cjs/src/Utilities/Extensions/ArrayExtensions"));
|
|
9
9
|
const Helper_1 = tslib_1.__importDefault(require("@adaptabletools/adaptable-cjs/src/Utilities/Helpers/Helper"));
|
|
10
10
|
class IPushPullApiImpl extends ApiBase_1.ApiBase {
|
|
11
|
-
constructor(
|
|
12
|
-
super(
|
|
11
|
+
constructor(_adaptable, options) {
|
|
12
|
+
super(_adaptable);
|
|
13
13
|
this.ippService = null;
|
|
14
14
|
this.options = options;
|
|
15
15
|
}
|
|
@@ -136,7 +136,7 @@ class IPushPullApiImpl extends ApiBase_1.ApiBase {
|
|
|
136
136
|
}
|
|
137
137
|
getIPPService() {
|
|
138
138
|
if (!this.ippService) {
|
|
139
|
-
this.ippService = this.
|
|
139
|
+
this.ippService = this._adaptable.getPluginProperty('ipushpull', 'service') || null;
|
|
140
140
|
}
|
|
141
141
|
return this.ippService;
|
|
142
142
|
}
|
|
@@ -145,7 +145,7 @@ class IPushPullApiImpl extends ApiBase_1.ApiBase {
|
|
|
145
145
|
const domainpages = await this.getIPPService().getDomainPages();
|
|
146
146
|
this.setIPushPullDomains(domainpages);
|
|
147
147
|
this.setIPushPullRunningOn();
|
|
148
|
-
this.
|
|
148
|
+
this.getAdaptableInternalApi().hidePopupScreen();
|
|
149
149
|
this.setIPushPullLoginErrorMessage('');
|
|
150
150
|
this.dispatchAction(IPushPullRedux.IPushPullSetLoginDetails(userName, password));
|
|
151
151
|
}
|
|
@@ -157,7 +157,7 @@ class IPushPullApiImpl extends ApiBase_1.ApiBase {
|
|
|
157
157
|
logoutFromIPushPull() {
|
|
158
158
|
this.clearIPushPullInternalState();
|
|
159
159
|
this.dispatchAction(IPushPullRedux.IPushPullLogout());
|
|
160
|
-
this.
|
|
160
|
+
this.getAdaptableInternalApi().hidePopupScreen();
|
|
161
161
|
}
|
|
162
162
|
includeSystemReports() {
|
|
163
163
|
return this.options.includeSystemReports || false;
|