@adaptabletools/adaptable-plugin-ipushpull 11.0.9 → 11.1.1-canary.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": "11.
|
|
3
|
+
"version": "11.1.1-canary.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"redux": "4.0.5",
|
|
20
20
|
"styled-components": "^4.4.1",
|
|
21
21
|
"tslib": "^2.0.0",
|
|
22
|
-
"@adaptabletools/adaptable": "11.
|
|
22
|
+
"@adaptabletools/adaptable": "11.1.1-canary.1"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -21,7 +21,9 @@ class PushPullModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
21
21
|
});
|
|
22
22
|
// if a piece of data has updated then update any live reports except cell or row selected where the data change is relevant
|
|
23
23
|
// currently we DONT send deltas - we simply send everything to ipushpull every time a relevant change happens
|
|
24
|
-
this.api.internalApi
|
|
24
|
+
this.api.internalApi
|
|
25
|
+
.getDataService()
|
|
26
|
+
.on('CellDataChanged', (cellDataChangedInfo) => {
|
|
25
27
|
const api = this.getIPPApi();
|
|
26
28
|
const exportApi = this.api.exportApi;
|
|
27
29
|
if (api.isIPushPullLiveDataRunning()) {
|
|
@@ -29,7 +31,7 @@ class PushPullModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
29
31
|
if (currentLiveIPushPullReport &&
|
|
30
32
|
currentLiveIPushPullReport.ReportName !== GeneralConstants_1.SELECTED_CELLS_REPORT &&
|
|
31
33
|
currentLiveIPushPullReport.ReportName !== GeneralConstants_1.SELECTED_ROWS_REPORT &&
|
|
32
|
-
exportApi.isDataChangeInReport(
|
|
34
|
+
exportApi.isDataChangeInReport(cellDataChangedInfo, this.getCurrentReport())) {
|
|
33
35
|
this.throttledRecomputeAndSendLiveDataEvent();
|
|
34
36
|
}
|
|
35
37
|
}
|