@sapui5/sap.zen.commons 1.144.0 → 1.145.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
@@ -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
- This library is deprecated and should no longer be used. Please use the successor Web Dynpro control instead.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.zen.commons",
3
- "version": "1.144.0",
3
+ "version": "1.145.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)",
@@ -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
- All sap.zen code in this library has been deprecated. Please use the WD Grid control instead.
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.144.0</version>
11
+ <version>1.145.1</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 Since version 1.89.0, Please use the WD Grid control instead.
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 Since version 1.89.0, Please use the WD Grid control instead.
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 Since version 1.89.0, Please use the WD Grid control instead.
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 Since version 1.89.0, Please use the WD Grid control instead.
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 Since version 1.89.0, Please use the WD Grid control instead.
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
  /**
@@ -30,7 +30,7 @@ sap.ui.define(
30
30
  *
31
31
  * @constructor
32
32
  * @public
33
- * @deprecated As of version 1.38, the concept has been discarded.
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(
@@ -346,40 +346,40 @@ sap.ui.define(
346
346
  */
347
347
  AbsoluteLayout.prototype.contentChanged = function(oPosition, sChangeType) {
348
348
  switch (sChangeType) {
349
- case "CTRL_POS":
350
- sap.zen.commons.layout.AbsoluteLayoutRenderer.updatePositionStyles(oPosition);
351
- adaptChildControl(oPosition);
352
- oPosition.reinitializeEventHandlers();
353
- break;
354
- case "CTRL_CHANGE":
355
- adaptChildControl(oPosition, true);
356
- sap.zen.commons.layout.AbsoluteLayoutRenderer.updatePositionedControl(oPosition);
357
- oPosition.reinitializeEventHandlers();
358
- break;
359
- case "CTRL_REMOVE":
360
- sap.zen.commons.layout.AbsoluteLayoutRenderer.removePosition(oPosition);
361
- oPosition.reinitializeEventHandlers(true);
362
- break;
363
- case "CTRL_REMOVE_ALL":
364
- sap.zen.commons.layout.AbsoluteLayoutRenderer.removeAllPositions(this);
365
- var aPositions = oPosition;
366
- if (aPositions) {
367
- for (var index = 0; index < aPositions.length; index++) {
368
- aPositions[index].reinitializeEventHandlers(true);
349
+ case "CTRL_POS":
350
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.updatePositionStyles(oPosition);
351
+ adaptChildControl(oPosition);
352
+ oPosition.reinitializeEventHandlers();
353
+ break;
354
+ case "CTRL_CHANGE":
355
+ adaptChildControl(oPosition, true);
356
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.updatePositionedControl(oPosition);
357
+ oPosition.reinitializeEventHandlers();
358
+ break;
359
+ case "CTRL_REMOVE":
360
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.removePosition(oPosition);
361
+ oPosition.reinitializeEventHandlers(true);
362
+ break;
363
+ case "CTRL_REMOVE_ALL":
364
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.removeAllPositions(this);
365
+ var aPositions = oPosition;
366
+ if (aPositions) {
367
+ for (var index = 0; index < aPositions.length; index++) {
368
+ aPositions[index].reinitializeEventHandlers(true);
369
+ }
369
370
  }
370
- }
371
- break;
372
- case "CTRL_ADD":
373
- adaptChildControl(oPosition, true);
374
- sap.zen.commons.layout.AbsoluteLayoutRenderer.insertPosition(this, oPosition);
375
- oPosition.reinitializeEventHandlers();
376
- break;
377
- case "LYT_SCROLL":
378
- sap.zen.commons.layout.AbsoluteLayoutRenderer.updateLayoutScolling(this);
379
- break;
380
- case "LYT_SIZE":
381
- sap.zen.commons.layout.AbsoluteLayoutRenderer.updateLayoutSize(this);
382
- break;
371
+ break;
372
+ case "CTRL_ADD":
373
+ adaptChildControl(oPosition, true);
374
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.insertPosition(this, oPosition);
375
+ oPosition.reinitializeEventHandlers();
376
+ break;
377
+ case "LYT_SCROLL":
378
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.updateLayoutScolling(this);
379
+ break;
380
+ case "LYT_SIZE":
381
+ sap.zen.commons.layout.AbsoluteLayoutRenderer.updateLayoutSize(this);
382
+ break;
383
383
  }
384
384
  };
385
385
  //**** Private Helper Functions ****
@@ -24,7 +24,7 @@ sap.ui.define(
24
24
  *
25
25
  * @class
26
26
  *
27
- * @deprecated Since version 1.89.0
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.144.0
50
+ * @version 1.145.1
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.144.0
29
+ * @version 1.145.1
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 : 'Transparent'},
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 : 'Begin'},
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 : 'End'},
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 : 'None'},
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 : 'Middle'}
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 Since version 1.89.0
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.
@@ -389,19 +389,19 @@ sap.ui.define(
389
389
  MatrixLayoutRenderer.getHAlignClass = function(oHAlign, bRTL) {
390
390
  var sClassPrefix = "sapUiMltCellHAlign";
391
391
  switch (oHAlign) {
392
- case HAlign.Begin:
393
- return null; // CSS default in both directions
394
- case HAlign.Center:
395
- return sClassPrefix + "Center";
396
- case HAlign.End:
397
- return sClassPrefix + (bRTL ? "Left" : "Right");
398
- case HAlign.Left:
399
- return bRTL ? sClassPrefix + "Left" : null; // CSS default in ltr
400
- case HAlign.Right:
401
- return bRTL ? null : sClassPrefix + "Right"; // CSS default in rtl
402
- default:
403
- Log.error( "MatrixLayoutRenderer.getHAlign: oHAlign must be a known value");
404
- return null;
392
+ case HAlign.Begin:
393
+ return null; // CSS default in both directions
394
+ case HAlign.Center:
395
+ return sClassPrefix + "Center";
396
+ case HAlign.End:
397
+ return sClassPrefix + (bRTL ? "Left" : "Right");
398
+ case HAlign.Left:
399
+ return bRTL ? sClassPrefix + "Left" : null; // CSS default in ltr
400
+ case HAlign.Right:
401
+ return bRTL ? null : sClassPrefix + "Right"; // CSS default in rtl
402
+ default:
403
+ Log.error( "MatrixLayoutRenderer.getHAlign: oHAlign must be a known value");
404
+ return null;
405
405
  }
406
406
  };
407
407
  /**
@@ -414,15 +414,15 @@ sap.ui.define(
414
414
  */
415
415
  MatrixLayoutRenderer.getVAlign = function(oVAlign) {
416
416
  switch (oVAlign) {
417
- case VAlign.Bottom:
418
- return "bottom";
419
- case VAlign.Middle:
420
- return "middle";
421
- case VAlign.Top:
422
- return "top";
423
- default:
424
- Log.error( "MatrixLayoutRenderer.getVAlign: oVAlign must be a known value");
425
- return null;
417
+ case VAlign.Bottom:
418
+ return "bottom";
419
+ case VAlign.Middle:
420
+ return "middle";
421
+ case VAlign.Top:
422
+ return "top";
423
+ default:
424
+ Log.error( "MatrixLayoutRenderer.getVAlign: oVAlign must be a known value");
425
+ return null;
426
426
  }
427
427
  };
428
428
  /**
@@ -435,23 +435,23 @@ sap.ui.define(
435
435
  */
436
436
  MatrixLayoutRenderer.getBackgroundClass = function(oBackgroundDesign) {
437
437
  switch (oBackgroundDesign) {
438
- case BackgroundDesign.Border:
439
- return "sapUiMltBgBorder";
440
- case BackgroundDesign.Fill1:
441
- return "sapUiMltBgFill1";
442
- case BackgroundDesign.Fill2:
443
- return "sapUiMltBgFill2";
444
- case BackgroundDesign.Fill3:
445
- return "sapUiMltBgFill3";
446
- case BackgroundDesign.Header:
447
- return "sapUiMltBgHeader";
448
- case BackgroundDesign.Plain:
449
- return "sapUiMltBgPlain";
450
- case BackgroundDesign.Transparent:
451
- return null;
452
- default:
453
- Log.error( "MatrixLayoutRenderer.getBackgroundClass: oBackgroundDesign must be a known value");
454
- return null;
438
+ case BackgroundDesign.Border:
439
+ return "sapUiMltBgBorder";
440
+ case BackgroundDesign.Fill1:
441
+ return "sapUiMltBgFill1";
442
+ case BackgroundDesign.Fill2:
443
+ return "sapUiMltBgFill2";
444
+ case BackgroundDesign.Fill3:
445
+ return "sapUiMltBgFill3";
446
+ case BackgroundDesign.Header:
447
+ return "sapUiMltBgHeader";
448
+ case BackgroundDesign.Plain:
449
+ return "sapUiMltBgPlain";
450
+ case BackgroundDesign.Transparent:
451
+ return null;
452
+ default:
453
+ Log.error( "MatrixLayoutRenderer.getBackgroundClass: oBackgroundDesign must be a known value");
454
+ return null;
455
455
  }
456
456
  };
457
457
  /**
@@ -464,19 +464,19 @@ sap.ui.define(
464
464
  */
465
465
  MatrixLayoutRenderer.getPaddingClass = function(oPadding) {
466
466
  switch (oPadding) {
467
- case Padding.None:
468
- return "sapUiMltPadNone";
469
- case Padding.Begin:
470
- return "sapUiMltPadLeft";
471
- case Padding.End:
472
- return "sapUiMltPadRight";
473
- case Padding.Both:
474
- return "sapUiMltPadBoth";
475
- case Padding.Neither:
476
- return "sapUiMltPadNeither";
477
- default:
478
- Log.error( "MatrixLayoutRenderer.getPaddingClass: oPadding must be a known value");
479
- return null;
467
+ case Padding.None:
468
+ return "sapUiMltPadNone";
469
+ case Padding.Begin:
470
+ return "sapUiMltPadLeft";
471
+ case Padding.End:
472
+ return "sapUiMltPadRight";
473
+ case Padding.Both:
474
+ return "sapUiMltPadBoth";
475
+ case Padding.Neither:
476
+ return "sapUiMltPadNeither";
477
+ default:
478
+ Log.error( "MatrixLayoutRenderer.getPaddingClass: oPadding must be a known value");
479
+ return null;
480
480
  }
481
481
  };
482
482
  /**
@@ -489,23 +489,23 @@ sap.ui.define(
489
489
  */
490
490
  MatrixLayoutRenderer.getSeparationClass = function(oSeparation) {
491
491
  switch (oSeparation) {
492
- case Separation.None:
493
- return null;
494
- case Separation.Small:
495
- return "sapUiMltSepS";
496
- case Separation.SmallWithLine:
497
- return "sapUiMltSepSWL";
498
- case Separation.Medium:
499
- return "sapUiMltSepM";
500
- case Separation.MediumWithLine:
501
- return "sapUiMltSepMWL";
502
- case Separation.Large:
503
- return "sapUiMltSepL";
504
- case Separation.LargeWithLine:
505
- return "sapUiMltSepLWL";
506
- default:
507
- Log.error( "MatrixLayoutRenderer.getSeparationClass: oSeparation must be a known value");
508
- return null;
492
+ case Separation.None:
493
+ return null;
494
+ case Separation.Small:
495
+ return "sapUiMltSepS";
496
+ case Separation.SmallWithLine:
497
+ return "sapUiMltSepSWL";
498
+ case Separation.Medium:
499
+ return "sapUiMltSepM";
500
+ case Separation.MediumWithLine:
501
+ return "sapUiMltSepMWL";
502
+ case Separation.Large:
503
+ return "sapUiMltSepL";
504
+ case Separation.LargeWithLine:
505
+ return "sapUiMltSepLWL";
506
+ default:
507
+ Log.error( "MatrixLayoutRenderer.getSeparationClass: oSeparation must be a known value");
508
+ return null;
509
509
  }
510
510
  };
511
511
  /**
@@ -27,11 +27,11 @@ sap.ui.define(
27
27
  * @extends sap.ui.core.Element
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.144.0
30
+ * @version 1.145.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
34
- * @deprecated As of version 1.38, replaced by {@link sap.ui.layout.Grid}.
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
  */
37
37
  var MatrixLayoutRow = Element.extend("sap.zen.commons.layout.MatrixLayoutRow", /** @lends sap.zen.commons.layout.MatrixLayoutRow.prototype */ { metadata : {
@@ -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 As of version 1.89, the concept has been discarded.
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.144.0
29
+ * @version 1.145.1
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -27,13 +27,13 @@ sap.ui.define(
27
27
  * @namespace
28
28
  * @name sap.zen.commons
29
29
  * @author SAP SE
30
- * @version 1.144.0
30
+ * @version 1.145.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.144.0",
36
+ version: "1.145.1",
37
37
  dependencies : ["sap.ui.core","sap.ui.layout","sap.m"],
38
38
  types: [
39
39
  "sap.zen.commons.BackgroundDesign",