@sapui5/sap.ui.export 1.96.7 → 1.96.8

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.96.7",
3
+ "version": "1.96.8",
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 2009-2021 SAP SE. All rights reserved.</copyright>
8
- <version>1.96.7</version>
8
+ <version>1.96.8</version>
9
9
 
10
10
  <documentation>UI5 library: sap.ui.export</documentation>
11
11
 
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  * @constructor The <code>sap.ui.export.ExportBase</code> class allows you to export table data from a UI5 application to a Portable Document Format (*.PDF) file.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.96.7
18
+ * @version 1.96.8
19
19
  *
20
20
  * @since 1.96
21
21
  * @name sap.ui.export.ExportBase
@@ -14,6 +14,7 @@ sap.ui.define(['sap/ui/core/library', 'sap/m/library', 'sap/m/Dialog', 'sap/m/Bu
14
14
  var ValueState = coreLibrary.ValueState;
15
15
 
16
16
  var DialogType = MLibrary.DialogType;
17
+ var ButtonType = MLibrary.ButtonType;
17
18
 
18
19
  /* Async call to resource bundle */
19
20
  var oResourceBundlePromise = sap.ui.getCore().getLibraryResourceBundle("sap.ui.export", true);
@@ -142,13 +143,15 @@ sap.ui.define(['sap/ui/core/library', 'sap/m/library', 'sap/m/Dialog', 'sap/m/Bu
142
143
  state: ValueState.Warning,
143
144
  content: oWarningText,
144
145
  ariaLabelledBy: oWarningText,
145
- beginButton: new Button({
146
+ endButton: new Button({
147
+ type: ButtonType.Transparent,
146
148
  text: oResourceBundleResolve.getText("CANCEL_BUTTON"),
147
149
  press: function () {
148
150
  oWarningDialog.close();
149
151
  }
150
152
  }),
151
- endButton: new Button({
153
+ beginButton: new Button({
154
+ type: ButtonType.Emphasized,
152
155
  text: oResourceBundleResolve.getText("EXPORT_BUTTON"),
153
156
  press: function () {
154
157
  bContinue = true;
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  * Utilities related to export to enable reuse in integration scenarios (e.g. tables).
94
94
  *
95
95
  * @author SAP SE
96
- * @version 1.96.7
96
+ * @version 1.96.8
97
97
  *
98
98
  * @since 1.59
99
99
  * @name sap.ui.export.ExportUtils
@@ -889,7 +889,7 @@ sap.ui.define([
889
889
  *
890
890
  * @param {Object} oContext Context object
891
891
  * @param {string} [oContext.application] Name of the application (default: "SAP UI5")
892
- * @param {string} [oContext.version] Application version (default: "1.96.7")
892
+ * @param {string} [oContext.version] Application version (default: "1.96.8")
893
893
  * @param {string} [oContext.title] Title that will be written to the file (NOT the filename)
894
894
  * @param {string} [oContext.modifiedBy] Optional user context that will be written to the file
895
895
  * @param {string} [oContext.sheetName] Name of the data sheet - Maximum length of 31 characters
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  * @constructor 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.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.96.7
19
+ * @version 1.96.8
20
20
  *
21
21
  * @since 1.96
22
22
  * @name sap.ui.export.PortableDocument
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * <li><code>workbook.context</code> - Context object that will be applied to the generated file. It may contain the following fields:</li>
83
83
  * <ul>
84
84
  * <li><code>application</code> (string) - The application that creates the XLSX document (default: "SAP UI5")</li>
85
- * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.96.7")</li>
85
+ * <li><code>version</code> (string) - Application version that creates the XLSX document (default: "1.96.8")</li>
86
86
  * <li><code>title</code> (string) - Title of the XLSX document (NOT the filename)</li>
87
87
  * <li><code>modifiedBy</code> (string) - User context for the XLSX document</li>
88
88
  * <li><code>sheetName</code> (string) - The label of the data sheet</li>
@@ -165,7 +165,7 @@ sap.ui.define([
165
165
  * columns: aColumns,
166
166
  * context: {
167
167
  * application: 'Debug Test Application',
168
- * version: '1.96.7',
168
+ * version: '1.96.8',
169
169
  * title: 'Some random title',
170
170
  * modifiedBy: 'John Doe',
171
171
  * metaSheetName: 'Custom metadata',
@@ -277,7 +277,7 @@ sap.ui.define([
277
277
  * @constructor The <code>sap.ui.export.Spreadsheet</code> class allows you to export table data from a UI5 application to a spreadsheet file.
278
278
  *
279
279
  * @author SAP SE
280
- * @version 1.96.7
280
+ * @version 1.96.8
281
281
  *
282
282
  * @since 1.50
283
283
  * @name sap.ui.export.Spreadsheet
@@ -20,7 +20,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/Log', 'sap/ui/Device'], function(j
20
20
  *
21
21
  * @class Utility class to perform spreadsheet export
22
22
  * @author SAP SE
23
- * @version 1.96.7
23
+ * @version 1.96.8
24
24
  * @static
25
25
  *
26
26
  * @private
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @namespace
18
18
  * @name sap.ui.export
19
19
  * @author SAP SE
20
- * @version 1.96.7
20
+ * @version 1.96.8
21
21
  * @public
22
22
  */
23
23
 
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  interfaces: [],
34
34
  controls: [],
35
35
  elements: [],
36
- version: "1.96.7"
36
+ version: "1.96.8"
37
37
  });
38
38
 
39
39