@adaptabletools/adaptable-cjs 18.0.10 → 18.0.11

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": "18.0.10",
3
+ "version": "18.0.11",
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",
@@ -1793,7 +1793,12 @@ class AdaptableAgGrid {
1793
1793
  const agGridApi = gridApi || this.agGridAdapter.getAgGridApi();
1794
1794
  let result;
1795
1795
  if (!this.hasAutogeneratedPrimaryKey) {
1796
- result = agGridApi.getCellValue({ colKey: this.adaptableOptions.primaryKey, rowNode });
1796
+ // support both AG Grid pre & post v31.3.x
1797
+ // TODO remove this with the next major Adaptable version
1798
+ result =
1799
+ typeof agGridApi.getCellValue === 'function'
1800
+ ? agGridApi.getCellValue({ colKey: this.adaptableOptions.primaryKey, rowNode })
1801
+ : agGridApi.getValue(this.adaptableOptions.primaryKey, rowNode);
1797
1802
  }
1798
1803
  if (result == undefined && rowNode.data) {
1799
1804
  result = rowNode.data[this.adaptableOptions.primaryKey];
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: 1715954509783 || Date.now(),
6
- VERSION: "18.0.10" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1716176936426 || Date.now(),
6
+ VERSION: "18.0.11" || '--current-version--',
7
7
  };