@sapui5/sap.zen.commons 1.122.1 → 1.123.1
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 +3 -0
- package/package.json +1 -1
- package/src/sap/zen/commons/.library +4 -2
- package/src/sap/zen/commons/BackgroundDesign.js +1 -1
- package/src/sap/zen/commons/HAlign.js +2 -2
- package/src/sap/zen/commons/Padding.js +1 -1
- package/src/sap/zen/commons/Separation.js +1 -1
- package/src/sap/zen/commons/VAlign.js +1 -1
- package/src/sap/zen/commons/layout/AbsoluteLayout.js +2 -2
- 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 +2 -3
- package/src/sap/zen/commons/layout/PositionContainer.js +7 -7
- package/src/sap/zen/commons/library.js +2 -2
- package/ui5.yaml +1 -0
package/README.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
# @sapui5/sap.zen.commons
|
|
4
4
|
Runtime resources of the [SAPUI5](https://sapui5.hana.ondemand.com) Library **sap.zen.commons**.
|
|
5
5
|
|
|
6
|
+
## Deprecation
|
|
7
|
+
This library is deprecated and should no longer be used. Please use the successor Web Dynpro control instead.
|
|
8
|
+
|
|
6
9
|
## Usage
|
|
7
10
|
Refrain from installing this package using npm, Yarn or similar package managers.
|
|
8
11
|
It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-tooling/).
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
|
-
|
|
4
3
|
<name>sap.zen.commons</name>
|
|
4
|
+
<deprecation since="1.96">
|
|
5
|
+
All sap.zen code in this library has been deprecated. Please use the WD Grid control instead.
|
|
6
|
+
</deprecation>
|
|
5
7
|
<vendor>SAP SE</vendor>
|
|
6
8
|
<copyright>SAPUI5
|
|
7
9
|
(c) Copyright 2009-2020 SAP SE. All rights reserved
|
|
8
10
|
</copyright>
|
|
9
|
-
<version>1.
|
|
11
|
+
<version>1.123.1</version>
|
|
10
12
|
<documentation>Layout components used by Design Studio. NOT INTENDED FOR STANDALONE USAGE.</documentation>
|
|
11
13
|
<dependencies>
|
|
12
14
|
<dependency>
|
|
@@ -14,9 +14,9 @@ sap.ui.define(
|
|
|
14
14
|
* others do not.
|
|
15
15
|
*
|
|
16
16
|
* @enum {string}
|
|
17
|
-
|
|
17
|
+
* @alias sap.zen.commons.HAlign
|
|
18
18
|
* @public
|
|
19
|
-
* @deprecated Since version 1.89.0
|
|
19
|
+
* @deprecated Since version 1.89.0, Please use the WD Grid control instead.
|
|
20
20
|
*/
|
|
21
21
|
var HAlign = {
|
|
22
22
|
/**
|
|
@@ -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.
|
|
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.
|
|
@@ -27,13 +27,12 @@ sap.ui.define(
|
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.123.1
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
34
|
-
* @deprecated
|
|
34
|
+
* @deprecated As of version 1.38, replaced by {@link sap.ui.layout.Grid}.
|
|
35
35
|
* @alias sap.zen.commons.layout.MatrixLayoutRow
|
|
36
|
-
* @deprecated Since version 1.89.0
|
|
37
36
|
*/
|
|
38
37
|
var MatrixLayoutRow = Element.extend("sap.zen.commons.layout.MatrixLayoutRow", /** @lends sap.zen.commons.layout.MatrixLayoutRow.prototype */ { metadata : {
|
|
39
38
|
library : "sap.zen.commons",
|
|
@@ -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, the concept has been discarded.
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.123.1
|
|
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.
|
|
30
|
+
* @version 1.123.1
|
|
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.
|
|
36
|
+
version: "1.123.1",
|
|
37
37
|
dependencies : ["sap.ui.core","sap.ui.layout","sap.m"],
|
|
38
38
|
types: [
|
|
39
39
|
"sap.zen.commons.BackgroundDesign",
|