@adaptabletools/adaptable-plugin-ipushpull 18.0.0-canary.8 → 18.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 -2
- package/src/index.d.ts +2 -3
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-ipushpull",
|
|
3
|
-
"version": "18.0.0
|
|
3
|
+
"version": "18.0.0",
|
|
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.0
|
|
22
|
+
"@adaptabletools/adaptable": "18.0.0"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"module": "src/index.js"
|
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdaptablePlugin } from '@adaptabletools/adaptable/types';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
3
|
import { IPushPullState } from '@adaptabletools/adaptable/src/PredefinedConfig/IPushPullState';
|
|
4
|
-
import { IModule } from '@adaptabletools/adaptable/src/Strategy/Interface/IModule';
|
|
5
4
|
import { IPushPullApi } from '@adaptabletools/adaptable/src/Api/IPushPullApi';
|
|
6
5
|
import { IPushPullPluginOptions } from '@adaptabletools/adaptable/src/AdaptableOptions/IPushPullPluginOptions';
|
|
7
6
|
import { IAdaptable } from '@adaptabletools/adaptable/src/AdaptableInterfaces/IAdaptable';
|
|
@@ -16,7 +15,7 @@ declare class IPushPullPlugin extends AdaptablePlugin {
|
|
|
16
15
|
System: (state: IPushPullState, action: Redux.Action) => IPushPullState;
|
|
17
16
|
};
|
|
18
17
|
reduxMiddleware: (adaptable: IAdaptable) => Redux.Middleware;
|
|
19
|
-
|
|
18
|
+
afterInitStore(adaptable: IAdaptable): void;
|
|
20
19
|
}
|
|
21
20
|
declare const _default: (options?: IPushPullPluginOptions) => IPushPullPlugin;
|
|
22
21
|
export default _default;
|
package/src/index.js
CHANGED
|
@@ -154,8 +154,8 @@ class IPushPullPlugin extends AdaptablePlugin {
|
|
|
154
154
|
this.registerProperty('api', () => this.iPushPullApi);
|
|
155
155
|
this.registerProperty('service', () => this.PushPullService);
|
|
156
156
|
}
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
afterInitStore(adaptable) {
|
|
158
|
+
adaptable.adaptableModules.set(IPushPullModuleId, new PushPullModule(adaptable.api));
|
|
159
159
|
AdaptableViewFactory.IPushPullLoginPopup = IPushPullLoginPopup;
|
|
160
160
|
AdaptableViewFactory.IPushPullAddPagePopup = IPushPullAddPagePopup;
|
|
161
161
|
AdaptableViewPanelFactory.set(IPushPullModuleId, IPushPullViewPanelControl);
|