@adaptabletools/adaptable-plugin-master-detail-aggrid-cjs 22.0.2 → 22.0.4

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-master-detail-aggrid-cjs",
3
- "version": "22.0.2",
3
+ "version": "22.0.4",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
package/src/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { AdaptablePlugin, AgGridConfig } from "@adaptabletools/adaptable-cjs/types";
2
2
  import { AdaptableOptions } from "@adaptabletools/adaptable-cjs/src/AdaptableOptions/AdaptableOptions";
3
- import { MasterDetailPluginOptions } from "@adaptabletools/adaptable-cjs/src/AdaptableOptions/MasterDetailPluginOptions";
3
+ import { MasterDetailPluginOptions } from './types';
4
4
  declare class MasterDetailPlugin extends AdaptablePlugin {
5
5
  pluginOptions: MasterDetailPluginOptions;
6
6
  pluginId: string;
7
7
  constructor(pluginOptions?: MasterDetailPluginOptions);
8
8
  beforeInit(adaptableOptions: AdaptableOptions, agGridOptions: AgGridConfig): void;
9
9
  }
10
- declare const _default: (pluginOptions?: MasterDetailPluginOptions) => MasterDetailPlugin;
11
- export default _default;
10
+ export type { MasterDetailPluginOptions } from './types';
11
+ export declare const masterDetailPlugin: (pluginOptions?: MasterDetailPluginOptions) => MasterDetailPlugin;
12
+ export default masterDetailPlugin;
package/src/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.masterDetailPlugin = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const types_1 = require("@adaptabletools/adaptable-cjs/types");
5
6
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
@@ -22,4 +23,6 @@ class MasterDetailPlugin extends types_1.AdaptablePlugin {
22
23
  (0, attachDetailCellRenderer_1.attachDetailCellRenderer)(agGridOptions.gridOptions);
23
24
  }
24
25
  }
25
- exports.default = (pluginOptions) => new MasterDetailPlugin(pluginOptions);
26
+ const masterDetailPlugin = (pluginOptions) => new MasterDetailPlugin(pluginOptions);
27
+ exports.masterDetailPlugin = masterDetailPlugin;
28
+ exports.default = exports.masterDetailPlugin;
package/src/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export type { MasterDetailPluginOptions } from "@adaptabletools/adaptable-cjs/src/AdaptableOptions/MasterDetailPluginOptions";
package/src/types.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });