@adaptabletools/adaptable-plugin-nocode-aggrid-cjs 22.0.0-canary.8 → 22.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-nocode-aggrid-cjs",
3
- "version": "22.0.0-canary.8",
3
+ "version": "22.0.0",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdaptableOptions, AdaptablePlugin, AgGridConfig } from "@adaptabletools/adaptable-cjs/types";
1
+ import { AdaptableOptions, AdaptablePlugin, AgGridConfig } from "@adaptabletools/adaptable-cjs";
2
2
  export declare const readJSONFile: (file: File, toJSON?: (str: string) => Promise<any> | any) => Promise<unknown>;
3
3
  export declare const readExcelFile: (file: File) => Promise<any>;
4
4
  interface NoCodePluginOptions {
package/src/index.js CHANGED
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.readExcelFile = exports.readJSONFile = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const xlsx_1 = require("xlsx");
6
- const agGrid_1 = require("@adaptabletools/adaptable-cjs/agGrid");
7
- const types_1 = require("@adaptabletools/adaptable-cjs/types");
6
+ const adaptable_1 = require("@adaptabletools/adaptable-cjs");
8
7
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
9
8
  const package_json_2 = tslib_1.__importDefault(require("@adaptabletools/adaptable-cjs/package.json"));
10
9
  const { version, name } = package_json_1.default;
@@ -61,7 +60,7 @@ const readExcelFile = (file) => {
61
60
  };
62
61
  exports.readExcelFile = readExcelFile;
63
62
  const defaultOptions = {};
64
- class NoCodePlugin extends types_1.AdaptablePlugin {
63
+ class NoCodePlugin extends adaptable_1.AdaptablePlugin {
65
64
  pluginId = 'nocode-aggrid';
66
65
  constructor(options) {
67
66
  super(options);
@@ -79,7 +78,7 @@ class NoCodePlugin extends types_1.AdaptablePlugin {
79
78
  }
80
79
  let isJSON;
81
80
  return new Promise((resolve) => {
82
- new agGrid_1.AdaptableNoCodeWizard(adaptableOptions, {
81
+ new adaptable_1.AdaptableNoCodeWizard(adaptableOptions, {
83
82
  fileAccept: '.json,.csv,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel',
84
83
  helpText: this.options.headerMessage,
85
84
  defaultActionMessage: this.options.actionMessage ||