@sapui5/sap.zen.commons 1.108.26 → 1.108.29
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/README.md +1 -1
- package/package.json +1 -1
- package/src/sap/zen/commons/.library +2 -2
- package/src/sap/zen/commons/BackgroundDesign.js +1 -1
- package/src/sap/zen/commons/HAlign.js +1 -1
- package/src/sap/zen/commons/Padding.js +1 -1
- package/src/sap/zen/commons/Separation.js +2 -2
- package/src/sap/zen/commons/VAlign.js +1 -1
- package/src/sap/zen/commons/i18n/i18n_el.properties +1 -1
- package/src/sap/zen/commons/layout/AbsoluteLayout.js +2 -2
- package/src/sap/zen/commons/layout/MatrixLayout.js +3 -3
- package/src/sap/zen/commons/layout/MatrixLayoutCell.js +7 -7
- package/src/sap/zen/commons/layout/MatrixLayoutRenderer.js +1 -1
- package/src/sap/zen/commons/layout/MatrixLayoutRow.js +2 -2
- package/src/sap/zen/commons/layout/PositionContainer.js +7 -7
- package/src/sap/zen/commons/library.js +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Runtime resources of the [SAPUI5](https://sapui5.hana.ondemand.com) Library **sap.zen.commons**.
|
|
5
5
|
|
|
6
6
|
## Deprecation
|
|
7
|
-
|
|
7
|
+
As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
Refrain from installing this package using npm, Yarn or similar package managers.
|
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.zen.commons</name>
|
|
4
4
|
<deprecation since="1.96">
|
|
5
|
-
|
|
5
|
+
As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
6
6
|
</deprecation>
|
|
7
7
|
<vendor>SAP SE</vendor>
|
|
8
8
|
<copyright>SAPUI5
|
|
9
9
|
(c) Copyright 2009-2020 SAP SE. All rights reserved
|
|
10
10
|
</copyright>
|
|
11
|
-
<version>1.108.
|
|
11
|
+
<version>1.108.29</version>
|
|
12
12
|
<documentation>Layout components used by Design Studio. NOT INTENDED FOR STANDALONE USAGE.</documentation>
|
|
13
13
|
<dependencies>
|
|
14
14
|
<dependency>
|
|
@@ -13,7 +13,7 @@ sap.ui.define(
|
|
|
13
13
|
*
|
|
14
14
|
* @enum {string}
|
|
15
15
|
* @public
|
|
16
|
-
* @deprecated
|
|
16
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
17
17
|
*/
|
|
18
18
|
var BackgroundDesign = {
|
|
19
19
|
/**
|
|
@@ -16,7 +16,7 @@ sap.ui.define(
|
|
|
16
16
|
* @enum {string}
|
|
17
17
|
* @alias sap.zen.commons.HAlign
|
|
18
18
|
* @public
|
|
19
|
-
* @deprecated
|
|
19
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
20
20
|
*/
|
|
21
21
|
var HAlign = {
|
|
22
22
|
/**
|
|
@@ -17,7 +17,7 @@ sap.ui.define(
|
|
|
17
17
|
* @enum {string}
|
|
18
18
|
* @public
|
|
19
19
|
* @alias sap.zen.commons.Padding
|
|
20
|
-
* @deprecated
|
|
20
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
21
21
|
* @experimental
|
|
22
22
|
*/
|
|
23
23
|
var Padding = {
|
|
@@ -15,7 +15,7 @@ sap.ui.define(
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
* @public
|
|
17
17
|
* @alias sap.zen.commons.Separation
|
|
18
|
-
* @deprecated
|
|
18
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
19
19
|
*/
|
|
20
20
|
var Separation = {
|
|
21
21
|
/**
|
|
@@ -70,4 +70,4 @@ sap.ui.define(
|
|
|
70
70
|
};
|
|
71
71
|
return Separation;
|
|
72
72
|
}
|
|
73
|
-
);
|
|
73
|
+
);
|
|
@@ -14,7 +14,7 @@ sap.ui.define(
|
|
|
14
14
|
* @enum {string}
|
|
15
15
|
* @public
|
|
16
16
|
* @alias sap.zen.commons.VAlign
|
|
17
|
-
* @deprecated
|
|
17
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
18
18
|
*/
|
|
19
19
|
var VAlign = {
|
|
20
20
|
/**
|
|
@@ -4,5 +4,5 @@ description=firefly ui5 native library
|
|
|
4
4
|
CELL_ARIA=\u03A3\u03B5\u03B9\u03C1\u03AC {0} \u03A3\u03C4\u03AE\u03BB\u03B7 {1}\: {2}
|
|
5
5
|
HPOS=Cols {0}-{1} of {2}
|
|
6
6
|
VPOS=\u03A3\u03B5\u03B9\u03C1\u03AD\u03C2 {0}-{1} of {2}
|
|
7
|
-
ARROW_DOWN=\u0392\u03AD\u03BB\u03BF\u03C2
|
|
7
|
+
ARROW_DOWN=\u039A\u03AC\u03C4\u03C9 \u0392\u03AD\u03BB\u03BF\u03C2
|
|
8
8
|
ARROW_RIGHT=\u0392\u03AD\u03BB\u03BF\u03C2 \u0394\u03B5\u03BE\u03B9\u03AC
|
|
@@ -30,7 +30,7 @@ sap.ui.define(
|
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
|
-
* @deprecated
|
|
33
|
+
* @deprecated As of version 1.38, the concept has been discarded. As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
34
34
|
* @alias sap.zen.commons.layout.AbsoluteLayout
|
|
35
35
|
*/
|
|
36
36
|
var AbsoluteLayout = Control.extend(
|
|
@@ -46,7 +46,7 @@ sap.ui.define(
|
|
|
46
46
|
width : {
|
|
47
47
|
type : "sap.ui.core.CSSSize",
|
|
48
48
|
group : "Dimension",
|
|
49
|
-
defaultValue :
|
|
49
|
+
defaultValue : "100%"
|
|
50
50
|
},
|
|
51
51
|
/**
|
|
52
52
|
* The overall height of the control. When not set, 100% is automatically set.
|
|
@@ -24,7 +24,7 @@ sap.ui.define(
|
|
|
24
24
|
*
|
|
25
25
|
* @class
|
|
26
26
|
*
|
|
27
|
-
* @deprecated
|
|
27
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
28
28
|
* <p>
|
|
29
29
|
* A matrix layout arranges controls in a grid structure, using rows which
|
|
30
30
|
* need not have the same number of cells.
|
|
@@ -47,11 +47,11 @@ sap.ui.define(
|
|
|
47
47
|
* @extends sap.ui.core.Control
|
|
48
48
|
*
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.108.
|
|
50
|
+
* @version 1.108.29
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
54
|
-
* @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Grid</code> control.
|
|
54
|
+
* @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Grid</code> control. As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
55
55
|
* @alias sap.zen.commons.layout.MatrixLayout
|
|
56
56
|
|
|
57
57
|
*/
|
|
@@ -26,11 +26,11 @@ sap.ui.define(
|
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.108.
|
|
29
|
+
* @version 1.108.29
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
|
-
* @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Grid</code> control.
|
|
33
|
+
* @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Grid</code> control. As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
34
34
|
* @alias sap.zen.commons.layout.MatrixLayoutCell
|
|
35
35
|
*/
|
|
36
36
|
var MatrixLayoutCell = Element.extend("sap.zen.commons.MatrixLayoutCell", /** @lends sap.zen.commons.layout.MatrixLayoutCell.prototype */ { metadata : {
|
|
@@ -41,7 +41,7 @@ sap.ui.define(
|
|
|
41
41
|
*
|
|
42
42
|
* Determines the matrix layout cell's background design.
|
|
43
43
|
*/
|
|
44
|
-
backgroundDesign : {type : "sap.zen.commons.BackgroundDesign", defaultValue :
|
|
44
|
+
backgroundDesign : {type : "sap.zen.commons.BackgroundDesign", defaultValue : "Transparent"},
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* Determines how many columns of the underlying grid structure are occupied
|
|
@@ -53,7 +53,7 @@ sap.ui.define(
|
|
|
53
53
|
* Determines the horizontal alignment of the matrix layout cell's content
|
|
54
54
|
* with the cell's borders.
|
|
55
55
|
*/
|
|
56
|
-
hAlign : {type : "sap.zen.commons.HAlign", defaultValue :
|
|
56
|
+
hAlign : {type : "sap.zen.commons.HAlign", defaultValue : "Begin"},
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* Determines the padding of the matrix layout cell's content within the
|
|
@@ -61,7 +61,7 @@ sap.ui.define(
|
|
|
61
61
|
* form-like layout. Consider to remove the padding on the outer layout in
|
|
62
62
|
* case of nesting.
|
|
63
63
|
*/
|
|
64
|
-
padding : {type : "sap.zen.commons.Padding", defaultValue :
|
|
64
|
+
padding : {type : "sap.zen.commons.Padding", defaultValue : "End"},
|
|
65
65
|
/**
|
|
66
66
|
* Determines how many rows of the underlying grid structure are occupied by this matrix layout cell.
|
|
67
67
|
* In case a row-height is used, all rows affected by the RowSpan must have the same unit.
|
|
@@ -72,13 +72,13 @@ sap.ui.define(
|
|
|
72
72
|
* Determines how a matrix layout cell is separated from its predecessor,
|
|
73
73
|
* via a vertical gutter of variable width, with or without a vertical line.
|
|
74
74
|
*/
|
|
75
|
-
separation : {type : "sap.zen.commons.Separation", defaultValue :
|
|
75
|
+
separation : {type : "sap.zen.commons.Separation", defaultValue : "None"},
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* Determines the vertical alignment of the matrix layout cell's content
|
|
79
79
|
* with the cell's borders.
|
|
80
80
|
*/
|
|
81
|
-
vAlign : {type : "sap.zen.commons.VAlign", defaultValue :
|
|
81
|
+
vAlign : {type : "sap.zen.commons.VAlign", defaultValue : "Middle"}
|
|
82
82
|
},
|
|
83
83
|
defaultAggregation : "content",
|
|
84
84
|
aggregations : {
|
|
@@ -29,7 +29,7 @@ sap.ui.define(
|
|
|
29
29
|
*
|
|
30
30
|
* @param {sap.ui.core.RenderManager} oRenderManager The RenderManager that can be used for writing to the Render-Output-Buffer.
|
|
31
31
|
* @param {sap.ui.core.Control} oMatrixLayout an object representation of the control that should be rendered
|
|
32
|
-
* @deprecated
|
|
32
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
33
33
|
*/
|
|
34
34
|
MatrixLayoutRenderer.render = function(oRenderManager, oMatrixLayout) {
|
|
35
35
|
// some convenience variables.
|
|
@@ -27,11 +27,11 @@ sap.ui.define(
|
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.108.
|
|
30
|
+
* @version 1.108.29
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
34
|
-
* @deprecated
|
|
34
|
+
* @deprecated As of version 1.38, replaced by {@link sap.ui.layout.Grid}. As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
35
35
|
* @alias sap.zen.commons.layout.MatrixLayoutRow
|
|
36
36
|
* @deprecated Since version 1.89.0
|
|
37
37
|
*/
|
|
@@ -24,9 +24,9 @@ sap.ui.define(
|
|
|
24
24
|
* @class
|
|
25
25
|
* Is used to specify the position of a control in the AbsoluteLayout
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @deprecated
|
|
27
|
+
* @deprecated As of version 1.89, this library is deprecated and has been replaced by Web Dynpro-based apps in S/4HANA.
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.108.
|
|
29
|
+
* @version 1.108.29
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -254,7 +254,7 @@ sap.ui.define(
|
|
|
254
254
|
*
|
|
255
255
|
* @private
|
|
256
256
|
*/
|
|
257
|
-
PositionContainer.prototype.exit = function(
|
|
257
|
+
PositionContainer.prototype.exit = function() {
|
|
258
258
|
this.reinitializeEventHandlers(true);
|
|
259
259
|
};
|
|
260
260
|
/**
|
|
@@ -316,14 +316,14 @@ sap.ui.define(
|
|
|
316
316
|
if (oProp) {
|
|
317
317
|
var val = oControl[oProp._sGetter]();
|
|
318
318
|
if (!(!val || val === "" || val === "auto" || val === "inherit")) {
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
Log.warning("Position " + sPos2 + "=" + sVal2 + " ignored, because child control " + oControl.getId() + " has fixed " + sProp + " (" + val + ").",
|
|
320
|
+
"", "AbsoluteLayout '" + (oLayout ? oLayout.getId() : "_undefined") + "'");
|
|
321
321
|
return false;
|
|
322
322
|
}
|
|
323
323
|
} else {
|
|
324
324
|
if (sProp === "width" && !oPositionContainer._disableWidthCheck || sProp === "height" && !oPositionContainer._disableHeightCheck) {
|
|
325
325
|
Log.warning("Position " + sPos2 + "=" + sVal2 + " ignored, because child control " + oControl.getId() + " not resizable.",
|
|
326
|
-
|
|
326
|
+
"", "AbsoluteLayout '" + (oLayout ? oLayout.getId() : "_undefined") + "'");
|
|
327
327
|
return false;
|
|
328
328
|
}
|
|
329
329
|
}
|
|
@@ -338,7 +338,7 @@ sap.ui.define(
|
|
|
338
338
|
*/
|
|
339
339
|
var getPropertyInfo = function(oControl, sPropertyName) {
|
|
340
340
|
var oPropertyInfo = oControl.getMetadata().getProperty(sPropertyName);
|
|
341
|
-
if (oPropertyInfo && oPropertyInfo.type ===
|
|
341
|
+
if (oPropertyInfo && oPropertyInfo.type === "sap.ui.core.CSSSize") {
|
|
342
342
|
return oPropertyInfo;
|
|
343
343
|
}
|
|
344
344
|
return null;
|
|
@@ -27,13 +27,13 @@ sap.ui.define(
|
|
|
27
27
|
* @namespace
|
|
28
28
|
* @name sap.zen.commons
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.108.
|
|
30
|
+
* @version 1.108.29
|
|
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.108.
|
|
36
|
+
version: "1.108.29",
|
|
37
37
|
dependencies : ["sap.ui.core","sap.ui.layout","sap.m"],
|
|
38
38
|
types: [
|
|
39
39
|
"sap.zen.commons.BackgroundDesign",
|