@adaptabletools/adaptable-plugin-master-detail-aggrid 16.0.1 → 16.0.2
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 -2
- package/src/index.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-master-detail-aggrid",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typings": "src/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0",
|
|
14
|
-
"@adaptabletools/adaptable": "16.0.
|
|
14
|
+
"@adaptabletools/adaptable": "16.0.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@ag-grid-enterprise/master-detail": ">=30.0.0"
|
package/src/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AdaptablePlugin } from '@adaptabletools/adaptable/types';
|
|
1
|
+
import { AdaptablePlugin, AgGridConfig } from '@adaptabletools/adaptable/types';
|
|
2
2
|
import { AdaptableOptions } from '@adaptabletools/adaptable/src/AdaptableOptions/AdaptableOptions';
|
|
3
3
|
import { MasterDetailPluginOptions } from '@adaptabletools/adaptable/src/AdaptableOptions/MasterDetailPluginOptions';
|
|
4
4
|
declare class MasterDetailPlugin extends AdaptablePlugin {
|
|
5
5
|
pluginOptions: MasterDetailPluginOptions;
|
|
6
6
|
pluginId: string;
|
|
7
7
|
constructor(pluginOptions?: MasterDetailPluginOptions);
|
|
8
|
-
beforeInit(adaptableOptions: AdaptableOptions): void;
|
|
8
|
+
beforeInit(adaptableOptions: AdaptableOptions, gridOptions: AgGridConfig['gridOptions']): void;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: (pluginOptions?: MasterDetailPluginOptions) => MasterDetailPlugin;
|
|
11
11
|
export default _default;
|
package/src/index.js
CHANGED
|
@@ -18,8 +18,8 @@ class MasterDetailPlugin extends types_1.AdaptablePlugin {
|
|
|
18
18
|
this.pluginId = 'master-detail-aggrid';
|
|
19
19
|
this.pluginOptions = pluginOptions;
|
|
20
20
|
}
|
|
21
|
-
beforeInit(adaptableOptions) {
|
|
22
|
-
(0, attachDetailCellRenderer_1.attachDetailCellRenderer)(
|
|
21
|
+
beforeInit(adaptableOptions, gridOptions) {
|
|
22
|
+
(0, attachDetailCellRenderer_1.attachDetailCellRenderer)(gridOptions);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
exports.default = (pluginOptions) => new MasterDetailPlugin(pluginOptions);
|