@adaptabletools/adaptable 18.0.14 → 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 +1 -1
- package/src/agGrid/AdaptableAgGrid.js +6 -7
- package/src/env.js +2 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "18.0.
|
|
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",
|
|
@@ -1796,12 +1796,6 @@ export class AdaptableAgGrid {
|
|
|
1796
1796
|
if (result == undefined && rowNode.data) {
|
|
1797
1797
|
result = rowNode.data[this.adaptableOptions.primaryKey];
|
|
1798
1798
|
}
|
|
1799
|
-
if (result == undefined && rowNode.id != undefined) {
|
|
1800
|
-
// this is reached when called for group rows,
|
|
1801
|
-
// which don't have a rowNode.data object
|
|
1802
|
-
// but do have an id property
|
|
1803
|
-
result = rowNode.id;
|
|
1804
|
-
}
|
|
1805
1799
|
return result;
|
|
1806
1800
|
}
|
|
1807
1801
|
getRawValueFromRowNode(rowNode, columnId) {
|
|
@@ -3159,8 +3153,13 @@ export class AdaptableAgGrid {
|
|
|
3159
3153
|
return this.ReportService.getCellExportValueFromRawValue(rowNode, rawValue, columnId);
|
|
3160
3154
|
}
|
|
3161
3155
|
processCellForExcelExport(rowNode, columnId) {
|
|
3156
|
+
var _a;
|
|
3162
3157
|
if (this.api.exportApi.internalApi.isVisualDataExportInProgress()) {
|
|
3163
|
-
const cellKey = this.agGridColumnAdapter.getExcelClassNameForCell(columnId, this.getPrimaryKeyValueFromRowNode(rowNode))
|
|
3158
|
+
const cellKey = this.agGridColumnAdapter.getExcelClassNameForCell(columnId, (_a = this.getPrimaryKeyValueFromRowNode(rowNode)) !== null && _a !== void 0 ? _a : rowNode.id
|
|
3159
|
+
// when getPrimaryKeyValueFromRowNode is called for group rows,
|
|
3160
|
+
// which don't have a rowNode.data object, the result is undefined
|
|
3161
|
+
// but we do have an id property on the rowNode object, so we'll use that
|
|
3162
|
+
);
|
|
3164
3163
|
const isoFormattedDate = this.ReportService.getExcelStyleWithFormattedDate(cellKey);
|
|
3165
3164
|
if (isoFormattedDate) {
|
|
3166
3165
|
// this is a Date cell which will be formatted by Excel
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
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" || '',
|
|
3
|
-
PUBLISH_TIMESTAMP:
|
|
4
|
-
VERSION: "18.0.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1716971671644 || Date.now(),
|
|
4
|
+
VERSION: "18.0.15" || '--current-version--',
|
|
5
5
|
};
|