@adaptabletools/adaptable-cjs 19.2.1-canary.0 → 19.2.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-cjs",
3
- "version": "19.2.1-canary.0",
3
+ "version": "19.2.1-canary.1",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1,12 +1,14 @@
1
1
  import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
2
2
  import { AdaptableApi, CellAddress } from '../../types';
3
+ import { IAdaptableService } from './Interface/IAdaptableService';
3
4
  /**
4
5
  * This service controls the interaction between notes and comments
5
6
  */
6
- export declare class CellPopupService {
7
+ export declare class CellPopupService implements IAdaptableService {
7
8
  private api;
8
9
  adaptable: IAdaptable;
9
10
  constructor(api: AdaptableApi);
11
+ destroy(): void;
10
12
  private getAdaptableState;
11
13
  private dispatchAction;
12
14
  static isSameAddress(a: CellAddress, b: CellAddress): boolean;
@@ -12,6 +12,7 @@ class CellPopupService {
12
12
  this.adaptable = api.internalApi.getAdaptableInstance();
13
13
  this.adaptable.api.eventApi.on('AdaptableReady', () => this.handleAdaptableReady());
14
14
  }
15
+ destroy() { }
15
16
  getAdaptableState() {
16
17
  return this.api.internalApi.getAdaptableState();
17
18
  }
@@ -2977,7 +2977,7 @@ class AdaptableAgGrid {
2977
2977
  return this.agGridAdapter.getRegisteredModules();
2978
2978
  }
2979
2979
  destroy(config) {
2980
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13;
2980
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15;
2981
2981
  if (!config) {
2982
2982
  config = {
2983
2983
  unmount: true,
@@ -3143,12 +3143,14 @@ class AdaptableAgGrid {
3143
3143
  this.ThemeService = null;
3144
3144
  (_11 = (_10 = this.ChartingService) === null || _10 === void 0 ? void 0 : _10.destroy) === null || _11 === void 0 ? void 0 : _11.call(_10);
3145
3145
  this.ChartingService = null;
3146
- (_12 = this.unmountLoadingScreen) === null || _12 === void 0 ? void 0 : _12.call(this);
3146
+ (_13 = (_12 = this.CellPopupService) === null || _12 === void 0 ? void 0 : _12.destroy) === null || _13 === void 0 ? void 0 : _13.call(_12);
3147
+ this.CellPopupService = null;
3148
+ (_14 = this.unmountLoadingScreen) === null || _14 === void 0 ? void 0 : _14.call(this);
3147
3149
  this.unmountLoadingScreen = null;
3148
3150
  if (config === null || config === void 0 ? void 0 : config.unmount) {
3149
3151
  const abContainerElement = this.getAdaptableContainerElement();
3150
3152
  if (abContainerElement != null) {
3151
- (_13 = this.unmountReactRoot) === null || _13 === void 0 ? void 0 : _13.call(this);
3153
+ (_15 = this.unmountReactRoot) === null || _15 === void 0 ? void 0 : _15.call(this);
3152
3154
  }
3153
3155
  this.unmountReactRoot = null;
3154
3156
  }
package/src/env.js CHANGED
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
4
  INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
5
- PUBLISH_TIMESTAMP: 1732624935922 || Date.now(),
6
- VERSION: "19.2.1-canary.0" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1732626175201 || Date.now(),
6
+ VERSION: "19.2.1-canary.1" || '--current-version--',
7
7
  };