@sapui5/sap.ui.export 1.136.9 → 1.136.12

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": "@sapui5/sap.ui.export",
3
- "version": "1.136.9",
3
+ "version": "1.136.12",
4
4
  "description": "SAPUI5 Library sap.ui.export",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2025 SAP SE. All rights reserved.</copyright>
8
- <version>1.136.9</version>
8
+ <version>1.136.12</version>
9
9
 
10
10
  <documentation>UI5 library: sap.ui.export</documentation>
11
11
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class The <code>sap.ui.export.ExportBase</code> class allows you to export table data from a UI5 application to certain formats. This class is an abstract class that requires specific implementations for each file format.
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.136.9
30
+ * @version 1.136.12
31
31
  *
32
32
  * @since 1.96
33
33
  * @alias sap.ui.export.ExportBase
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @class The <code>sap.ui.export.ExportHandler</code> class allows you to export table data from an SAPUI5 application.
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.9
31
+ * @version 1.136.12
32
32
  *
33
33
  * @since 1.102
34
34
  * @alias sap.ui.export.ExportHandler
@@ -145,7 +145,7 @@ sap.ui.define([
145
145
  * @class Utilities related to export to enable reuse in integration scenarios (e.g. tables).
146
146
  *
147
147
  * @author SAP SE
148
- * @version 1.136.9
148
+ * @version 1.136.12
149
149
  *
150
150
  * @since 1.59
151
151
  * @alias sap.ui.export.ExportUtils
@@ -380,7 +380,8 @@ sap.ui.define([
380
380
  return;
381
381
  }
382
382
 
383
- switch (oSelectedItem.getKey()) {
383
+ const sKey = oSelectedItem.getKey();
384
+ switch (sKey) {
384
385
  case FileType.PDF:
385
386
  oExportConfigModel.setProperty("/includeFilterSettings", false);
386
387
  fnSetSemanticStepName(oExportConfigModel, oExportSettingsDialog.getBeginButton());
@@ -394,6 +395,7 @@ sap.ui.define([
394
395
  Element.getElementById("exportSettingsDialog-signatureReasonLabel").setVisible(false);
395
396
  fnSetSemanticStepName(oExportConfigModel, oExportSettingsDialog.getBeginButton());
396
397
  }
398
+ oExportConfigModel.setProperty("/fileType", sKey);
397
399
  },
398
400
  onDestinationChange: function (oEvent) {
399
401
  if (!oEvent.getParameter("selectedItem")) {
@@ -1238,7 +1240,7 @@ sap.ui.define([
1238
1240
  *
1239
1241
  * @param {object} oContext Context object
1240
1242
  * @param {string} [oContext.application] Name of the application (default: "SAP UI5")
1241
- * @param {string} [oContext.version] Application version (default: "1.136.9")
1243
+ * @param {string} [oContext.version] Application version (default: "1.136.12")
1242
1244
  * @param {string} [oContext.title] Title that will be written to the file (NOT the filename)
1243
1245
  * @param {string} [oContext.modifiedBy] Optional user context that will be written to the file
1244
1246
  * @param {string} [oContext.sheetName] Name of the data sheet - Maximum length of 31 characters
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @class The <code>sap.ui.export.PortableDocument</code> class allows you to export table data from a UI5 application to a Portable Document Format (*.PDF) file.
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.136.9
31
+ * @version 1.136.12
32
32
  *
33
33
  * @since 1.96
34
34
  * @alias sap.ui.export.PortableDocument
@@ -90,7 +90,7 @@ sap.ui.define([
90
90
  * <li><code>workbook.context</code> - Context object that will be applied to the generated file. It may contain the following fields:</li>
91
91
  * <ul>
92
92
  * <li><code>application</code> (string) - The application that creates the XLSX document (default: "SAP UI5")</li>
93
- * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.136.9")</li>
93
+ * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.136.12")</li>
94
94
  * <li><code>title</code> (string) - Title of the XLSX document (NOT the filename)</li>
95
95
  * <li><code>modifiedBy</code> (string) - User context for the XLSX document</li>
96
96
  * <li><code>sheetName</code> (string) - The label of the data sheet</li>
@@ -174,7 +174,7 @@ sap.ui.define([
174
174
  * columns: aColumns,
175
175
  * context: {
176
176
  * application: 'Debug Test Application',
177
- * version: '1.136.9',
177
+ * version: '1.136.12',
178
178
  * title: 'Some random title',
179
179
  * modifiedBy: 'John Doe',
180
180
  * metaSheetName: 'Custom metadata',
@@ -286,7 +286,7 @@ sap.ui.define([
286
286
  * @class The <code>sap.ui.export.Spreadsheet</code> class allows you to export table data from a UI5 application to a spreadsheet file.
287
287
  *
288
288
  * @author SAP SE
289
- * @version 1.136.9
289
+ * @version 1.136.12
290
290
  *
291
291
  * @since 1.50
292
292
  * @alias sap.ui.export.Spreadsheet
@@ -21,7 +21,7 @@ sap.ui.define(['sap/base/Log', 'sap/ui/export/ExportUtils'], function(Log, Expor
21
21
  * Utility class to perform spreadsheet export.
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.136.9
24
+ * @version 1.136.12
25
25
  *
26
26
  * @alias sap.ui.export.SpreadsheetExport
27
27
  * @private
@@ -5,7 +5,7 @@
5
5
  <Input id="exportSettingsDialog-fileName" value="{/fileName}" liveChange=".onFileNameChange" class="sapUiTinyMarginBottom"/>
6
6
 
7
7
  <Label text="{i18n>SELECT_FORMAT}" labelFor="exportSettingsDialog-fileType"/>
8
- <Select id="exportSettingsDialog-fileType" selectedKey="{/fileType}" items="{/fileTypeCollection}" change=".onFileTypeChange" width="100%" class="sapUiTinyMarginBottom">
8
+ <Select id="exportSettingsDialog-fileType" selectedKey="{path: '/fileType', mode: 'OneWay' }" items="{/fileTypeCollection}" change=".onFileTypeChange" width="100%" class="sapUiTinyMarginBottom">
9
9
  <items>
10
10
  <core:Item key="{key}" text="{text}"/>
11
11
  </items>
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/core/Lib"], function(Library) {
15
15
  * @namespace
16
16
  * @alias sap.ui.export
17
17
  * @author SAP SE
18
- * @version 1.136.9
18
+ * @version 1.136.12
19
19
  * @public
20
20
  */
21
21
 
@@ -34,7 +34,7 @@ sap.ui.define(["sap/ui/core/Lib"], function(Library) {
34
34
  interfaces: [],
35
35
  controls: [],
36
36
  elements: [],
37
- version: "1.136.9"
37
+ version: "1.136.12"
38
38
  });
39
39
 
40
40
  /**
@@ -24,7 +24,7 @@
24
24
  * @param {object} mSettings Data service related part of the export configuration
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.136.9
27
+ * @version 1.136.12
28
28
  *
29
29
  * @constructor
30
30
  * @class DataProviderBase
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
20
20
  * convenience functions like <code>sap.ui.export.util.Filter#setType</code> to improve the result.
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.136.9
23
+ * @version 1.136.12
24
24
  *
25
25
  * @since 1.110
26
26
  * @alias sap.ui.export.util.Filter