@adaptabletools/adaptable-cjs 18.0.13 → 18.0.15

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.13",
3
+ "version": "18.0.15",
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",
@@ -3157,8 +3157,13 @@ class AdaptableAgGrid {
3157
3157
  return this.ReportService.getCellExportValueFromRawValue(rowNode, rawValue, columnId);
3158
3158
  }
3159
3159
  processCellForExcelExport(rowNode, columnId) {
3160
+ var _a;
3160
3161
  if (this.api.exportApi.internalApi.isVisualDataExportInProgress()) {
3161
- const cellKey = this.agGridColumnAdapter.getExcelClassNameForCell(columnId, this.getPrimaryKeyValueFromRowNode(rowNode));
3162
+ const cellKey = this.agGridColumnAdapter.getExcelClassNameForCell(columnId, (_a = this.getPrimaryKeyValueFromRowNode(rowNode)) !== null && _a !== void 0 ? _a : rowNode.id
3163
+ // when getPrimaryKeyValueFromRowNode is called for group rows,
3164
+ // which don't have a rowNode.data object, the result is undefined
3165
+ // but we do have an id property on the rowNode object, so we'll use that
3166
+ );
3162
3167
  const isoFormattedDate = this.ReportService.getExcelStyleWithFormattedDate(cellKey);
3163
3168
  if (isoFormattedDate) {
3164
3169
  // this is a Date cell which will be formatted by Excel
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: 1716828261274 || Date.now(),
6
- VERSION: "18.0.13" || '--current-version--',
5
+ PUBLISH_TIMESTAMP: 1716971701577 || Date.now(),
6
+ VERSION: "18.0.15" || '--current-version--',
7
7
  };