@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 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.zen.commons",
3
- "version": "1.122.1",
3
+ "version": "1.123.1",
4
4
  "description": "SAPUI5 Library sap.zen.commons",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -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.122.1</version>
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>
@@ -13,7 +13,7 @@ sap.ui.define(
13
13
  *
14
14
  * @enum {string}
15
15
  * @public
16
- * @deprecated Since version 1.89.0
16
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
17
17
  */
18
18
  var BackgroundDesign = {
19
19
  /**
@@ -14,9 +14,9 @@ sap.ui.define(
14
14
  * others do not.
15
15
  *
16
16
  * @enum {string}
17
- * @alias sap.zen.commons.HAlign
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
  /**
@@ -17,7 +17,7 @@ sap.ui.define(
17
17
  * @enum {string}
18
18
  * @public
19
19
  * @alias sap.zen.commons.Padding
20
- * @deprecated since 1.89
20
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
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 Since version 1.89.0
18
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
19
19
  */
20
20
  var Separation = {
21
21
  /**
@@ -14,7 +14,7 @@ sap.ui.define(
14
14
  * @enum {string}
15
15
  * @public
16
16
  * @alias sap.zen.commons.VAlign
17
- * @deprecated Since version 1.89.0
17
+ * @deprecated Since version 1.89.0, Please use the WD Grid control instead.
18
18
  */
19
19
  var VAlign = {
20
20
  /**
@@ -30,7 +30,7 @@ sap.ui.define(
30
30
  *
31
31
  * @constructor
32
32
  * @public
33
- * @deprecated Since version 1.38.
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 : '100%'
49
+ defaultValue : "100%"
50
50
  },
51
51
  /**
52
52
  * The overall height of the control. When not set, 100% is automatically set.
@@ -47,7 +47,7 @@ sap.ui.define(
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.122.1
50
+ * @version 1.123.1
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -26,7 +26,7 @@ sap.ui.define(
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.122.1
29
+ * @version 1.123.1
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -27,13 +27,12 @@ sap.ui.define(
27
27
  * @extends sap.ui.core.Element
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.122.1
30
+ * @version 1.123.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
34
- * @deprecated Since version 1.38. Instead, use the <code>sap.ui.layout.Grid</code> control.
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 since version 1.89
27
+ * @deprecated As of version 1.89, the concept has been discarded.
28
28
  * @author SAP SE
29
- * @version 1.122.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(oPos) {
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
- Log.warning("Position " + sPos2 + "=" + sVal2 + " ignored, because child control " + oControl.getId() + " has fixed " + sProp + " (" + val + ").",
320
- "", "AbsoluteLayout '" + (oLayout ? oLayout.getId() : "_undefined") + "'");
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
- "", "AbsoluteLayout '" + (oLayout ? oLayout.getId() : "_undefined") + "'");
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 === 'sap.ui.core.CSSSize') {
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.122.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.122.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",
package/ui5.yaml CHANGED
@@ -1,6 +1,7 @@
1
1
  specVersion: '2.6'
2
2
  type: library
3
3
  metadata:
4
+ deprecated: true
4
5
  name: sap.zen.commons
5
6
  framework:
6
7
  name: SAPUI5