@sapui5/sap.zen.commons 1.102.1 → 1.102.3
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/sap/zen/commons/.library +1 -1
- package/src/sap/zen/commons/layout/MatrixLayout.js +1 -1
- package/src/sap/zen/commons/layout/MatrixLayoutCell.js +1 -1
- package/src/sap/zen/commons/layout/MatrixLayoutRow.js +1 -1
- package/src/sap/zen/commons/layout/PositionContainer.js +1 -1
- package/src/sap/zen/commons/library.js +2 -2
- package/src/sap/zen/commons/thirdparty/xlsx-protobi.js +10 -18
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>SAPUI5
|
|
7
7
|
(c) Copyright 2009-2020 SAP SE. All rights reserved
|
|
8
8
|
</copyright>
|
|
9
|
-
<version>1.102.
|
|
9
|
+
<version>1.102.3</version>
|
|
10
10
|
<documentation>Layout components used by Design Studio. NOT INTENDED FOR STANDALONE USAGE.</documentation>
|
|
11
11
|
<dependencies>
|
|
12
12
|
<dependency>
|
|
@@ -27,13 +27,13 @@ sap.ui.define(
|
|
|
27
27
|
* @namespace
|
|
28
28
|
* @name sap.zen.commons
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.102.
|
|
30
|
+
* @version 1.102.3
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
// delegate further initialization of this library to the Core
|
|
34
34
|
sap.ui.getCore().initLibrary({
|
|
35
35
|
name : "sap.zen.commons",
|
|
36
|
-
version: "1.102.
|
|
36
|
+
version: "1.102.3",
|
|
37
37
|
dependencies : ["sap.ui.core","sap.ui.layout","sap.m"],
|
|
38
38
|
types: [
|
|
39
39
|
"sap.zen.commons.BackgroundDesign",
|
|
@@ -10995,24 +10995,16 @@ sap.ui.define(
|
|
|
10995
10995
|
}
|
|
10996
10996
|
var style_builder;
|
|
10997
10997
|
function write_zip_type(wb, opts) {
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
}
|
|
11009
|
-
|
|
11010
|
-
if(opts.type === "file") {
|
|
11011
|
-
return _fs.writeFileSync(opts.file, z.generate(o));
|
|
11012
|
-
}
|
|
11013
|
-
else {
|
|
11014
|
-
return z.generate(o);
|
|
11015
|
-
}
|
|
10998
|
+
var o = opts||{};
|
|
10999
|
+
style_builder = new StyleBuilder(opts);
|
|
11000
|
+
var z = write_zip(wb, o);
|
|
11001
|
+
switch(o.type) {
|
|
11002
|
+
case "base64": return z.generate({type:"base64"});
|
|
11003
|
+
case "binary": return z.generate({type:"string"});
|
|
11004
|
+
case "buffer": return z.generate({type:"nodebuffer"});
|
|
11005
|
+
case "file": return _fs.writeFileSync(o.file, z.generate({type:"nodebuffer"}));
|
|
11006
|
+
default: throw new Error("Unrecognized type " + o.type);
|
|
11007
|
+
}
|
|
11016
11008
|
}
|
|
11017
11009
|
function writeSync(wb, opts) {
|
|
11018
11010
|
var o = opts||{};
|