@adaptabletools/adaptable 15.2.0-canary.4 → 15.2.0-canary.5

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",
3
- "version": "15.2.0-canary.4",
3
+ "version": "15.2.0-canary.5",
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,2 +1,2 @@
1
- declare const _default: 1680875814346;
1
+ declare const _default: 1680879586791;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1680875814346;
3
+ exports.default = 1680879586791;
@@ -110,6 +110,11 @@ class ExportModule extends AdaptableModuleBase_1.AdaptableModuleBase {
110
110
  else {
111
111
  this.api.logInfo(`Export ${report.Name} (${exportDestination}) using data from preProcessExport()`);
112
112
  reportData = preProcessedExport;
113
+ if (!reportData.columns.length) {
114
+ // an empty column array means that all columns have been exported
115
+ // we have to update the report to reflect this
116
+ reportData.columns = this.api.internalApi.getReportService().getReportDataColumns(report);
117
+ }
113
118
  }
114
119
  if (this.isCustomDestination(exportDestination)) {
115
120
  const customDestination = (_a = this.api.optionsApi
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "15.2.0-canary.4";
1
+ declare const _default: "15.2.0-canary.5";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '15.2.0-canary.4'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '15.2.0-canary.5'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version