@openui5/sap.uxap 1.120.30 → 1.120.32

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.uxap",
3
- "version": "1.120.30",
3
+ "version": "1.120.32",
4
4
  "description": "OpenUI5 UI Library sap.uxap",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,9 +14,9 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.f": "1.120.30",
18
- "@openui5/sap.m": "1.120.30",
19
- "@openui5/sap.ui.core": "1.120.30",
20
- "@openui5/sap.ui.layout": "1.120.30"
17
+ "@openui5/sap.f": "1.120.32",
18
+ "@openui5/sap.m": "1.120.32",
19
+ "@openui5/sap.ui.core": "1.120.32",
20
+ "@openui5/sap.ui.layout": "1.120.32"
21
21
  }
22
22
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.120.30</version>
6
+ <version>1.120.32</version>
7
7
  <copyright>OpenUI5
8
8
  * (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
@@ -700,6 +700,7 @@ sap.ui.define([
700
700
  } else {
701
701
  oColumnLayout = new ColumnLayout();
702
702
  oForm.setLayout(oColumnLayout);
703
+ oLayout?.destroy();
703
704
  }
704
705
 
705
706
  oColumnLayout._iBreakPointTablet -= BlockBase.FORM_ADUSTMENT_OFFSET;
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.120.30
24
+ * @version 1.120.32
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.120.30
25
+ * @version 1.120.32
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @implements sap.uxap.IHeaderContent
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.120.30
43
+ * @version 1.120.32
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.120.30
45
+ * @version 1.120.32
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -5101,6 +5101,7 @@ sap.ui.define([
5101
5101
 
5102
5102
  if (sRole === AccessibleLandmarkRole.None) {
5103
5103
  sRole = '';
5104
+ sLabel = '';
5104
5105
  }
5105
5106
 
5106
5107
  return {
@@ -41,6 +41,10 @@ sap.ui.define([],
41
41
  bHeaderRoleSet = oLandmarkInfo && oLandmarkInfo.getHeaderRole(),
42
42
  bHeaderLabelSet = oLandmarkInfo && oLandmarkInfo.getHeaderLabel(),
43
43
  bRootRoleSet = oLandmarkInfo && oLandmarkInfo.getRootRole(),
44
+ bNavigationRoleSet = oLandmarkInfo && oLandmarkInfo.getNavigationRole(),
45
+ sRootRole = bRootRoleSet ? oLandmarkInfo.getRootRole() : undefined,
46
+ sHeaderRole = bHeaderRoleSet ? oLandmarkInfo.getHeaderRole() : undefined,
47
+ sNavigationRole = bNavigationRoleSet ? oLandmarkInfo.getNavigationRole() : undefined,
44
48
  bRootLabelSet = oLandmarkInfo && oLandmarkInfo.getRootLabel(),
45
49
  bNavigationRoleSet = oLandmarkInfo && oLandmarkInfo.getNavigationRole(),
46
50
  bShowFooter = oControl.getShowFooter();
@@ -53,7 +57,9 @@ sap.ui.define([],
53
57
  if (!bRootRoleSet) {
54
58
  oRm.attr("role", "main");
55
59
  }
56
- oRm.attr("aria-roledescription", oRb.getText("ROOT_ROLE_DESCRIPTION"));
60
+ if (sRootRole !== "None") {
61
+ oRm.attr("aria-roledescription", oRb.getText("ROOT_ROLE_DESCRIPTION"));
62
+ }
57
63
  if (!bRootLabelSet) {
58
64
  oRm.attr("aria-label", sRootAriaLabelText);
59
65
  }
@@ -82,7 +88,11 @@ sap.ui.define([],
82
88
  if (!bHeaderRoleSet) {
83
89
  oRm.attr("role", "banner");
84
90
  }
85
- oRm.attr("aria-roledescription", oRb.getText("HEADER_ROLE_DESCRIPTION"));
91
+
92
+ if (sHeaderRole !== "None") {
93
+ oRm.attr("aria-roledescription", oRb.getText("HEADER_ROLE_DESCRIPTION"));
94
+ }
95
+
86
96
  if (!bHeaderLabelSet) {
87
97
  oRm.attr("aria-label", sHeaderAriaLabelText);
88
98
  }
@@ -107,7 +117,10 @@ sap.ui.define([],
107
117
  if (!bNavigationRoleSet) {
108
118
  oRm.attr("role", "navigation");
109
119
  }
110
- oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
120
+
121
+ if (sNavigationRole !== "None") {
122
+ oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
123
+ }
111
124
 
112
125
  if (!oControl._bHeaderInTitleArea) {
113
126
  oRm.attr("aria-hidden", "true");
@@ -154,7 +167,10 @@ sap.ui.define([],
154
167
  if (!bNavigationRoleSet) {
155
168
  oRm.attr("role", "navigation");
156
169
  }
157
- oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
170
+
171
+ if (sNavigationRole !== "None") {
172
+ oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
173
+ }
158
174
 
159
175
  oRm.class("sapUxAPObjectPageNavigation")
160
176
  .class("ui-helper-clearfix")
@@ -294,7 +310,8 @@ sap.ui.define([],
294
310
  */
295
311
  ObjectPageLayoutRenderer._renderFooterContentInternal = function (oRm, oObjectPageLayout, sFooterTag, oLandmarkInfo, oRb) {
296
312
  var oFooter = oObjectPageLayout.getFooter(),
297
- bFooterRoleSet = oLandmarkInfo && oLandmarkInfo.getFooterRole();
313
+ bFooterRoleSet = oLandmarkInfo && oLandmarkInfo.getFooterRole(),
314
+ sFooterRole = bFooterRoleSet ? oLandmarkInfo.getFooterRole() : undefined;
298
315
 
299
316
  if (!oFooter) {
300
317
  return;
@@ -312,7 +329,11 @@ sap.ui.define([],
312
329
  if (!bFooterRoleSet) {
313
330
  oRm.attr("role", "region");
314
331
  }
315
- oRm.attr("aria-roledescription", oRb.getText("FOOTER_ROLE_DESCRIPTION"));
332
+
333
+ if (sFooterRole !== "None") {
334
+ oRm.attr("aria-roledescription", oRb.getText("FOOTER_ROLE_DESCRIPTION"));
335
+ }
336
+
316
337
  oRm.accessibilityState(oObjectPageLayout, oObjectPageLayout._formatLandmarkInfo(oLandmarkInfo, "Footer"));
317
338
  oRm.openEnd();
318
339
  oFooter.addStyleClass("sapUxAPObjectPageFloatingFooter");
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.core.Element
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.120.30
41
+ * @version 1.120.32
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -9,6 +9,7 @@ sap.ui.define([
9
9
  "sap/ui/thirdparty/jquery",
10
10
  "sap/ui/core/Core",
11
11
  "sap/ui/core/ResizeHandler",
12
+ "sap/ui/core/IntervalTrigger",
12
13
  "./ObjectPageSectionBase",
13
14
  "./ObjectPageLazyLoader",
14
15
  "./BlockBase",
@@ -28,6 +29,7 @@ sap.ui.define([
28
29
  jQuery,
29
30
  Core,
30
31
  ResizeHandler,
32
+ IntervalTrigger,
31
33
  ObjectPageSectionBase,
32
34
  ObjectPageLazyLoader,
33
35
  BlockBase,
@@ -317,10 +319,20 @@ sap.ui.define([
317
319
  oDom = this.getDomRef();
318
320
  if (oDom) {
319
321
  oDom.style.height = this._height;
320
- this._adaptDomHeight();
322
+ this._executeAfterNextResizeHandlerChecks(this._adaptDomHeight.bind(this));
321
323
  }
322
324
  };
323
325
 
326
+ ObjectPageSubSection.prototype._executeAfterNextResizeHandlerChecks = function(fnFunction) {
327
+ function execute() {
328
+ window.requestAnimationFrame(fnFunction); // requestAnimationFrame required for performance, but mainly to be in sync with the table, because the table also calls requestAnimationFrame before resizing itself in its listener to the ResizeHandler
329
+ IntervalTrigger.removeListener(execute);
330
+ }
331
+ // listen for the same interval that triggers the ResizeHandler
332
+ // (ResizeHandler will be first, our callback will be second)
333
+ IntervalTrigger.addListener(execute);
334
+ };
335
+
324
336
  ObjectPageSubSection.prototype._toggleContentResizeListener = function(bEnable) {
325
337
  if (bEnable && !this._iResizeId) {
326
338
  this._iResizeId = ResizeHandler.register(this._getContentWrapper(), this._adaptDomHeight.bind(this));
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  var fnComplete = (bSuccess) ?
85
85
  this._fnResolvePromise :
86
86
  this._fnRejectPromise;
87
- fnComplete();
87
+ fnComplete && fnComplete();
88
88
 
89
89
  // remove reference to promise (because once executed, the same promise cannot be reused again)
90
90
  this._oPromise = null;
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
25
25
  * @author SAP SE
26
- * @version 1.120.30
26
+ * @version 1.120.32
27
27
  * @since 1.75
28
28
  * @experimental Since 1.75
29
29
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @constructor
24
24
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
25
25
  * @author SAP SE
26
- * @version 1.120.30
26
+ * @version 1.120.32
27
27
  * @experimental Since 1.54
28
28
  */
29
29
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @constructor
22
22
  * @alias sap.uxap.changeHandler.RenameObjectPageSection
23
23
  * @author SAP SE
24
- * @version 1.120.30
24
+ * @version 1.120.32
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @constructor
20
20
  * @alias sap.uxap.changeHandler.UnstashObjectPageSection
21
21
  * @author SAP SE
22
- * @version 1.120.30
22
+ * @version 1.120.32
23
23
  * @experimental Since 1.115
24
24
  */
25
25
 
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @namespace
31
31
  * @alias sap.uxap
32
32
  * @author SAP SE
33
- * @version 1.120.30
33
+ * @version 1.120.32
34
34
  * @since 1.36
35
35
  * @public
36
36
  */
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  "sap.uxap.ObjectPageHeaderLayoutData",
74
74
  "sap.uxap.ObjectPageLazyLoader"
75
75
  ],
76
- version: "1.120.30",
76
+ version: "1.120.32",
77
77
  extensions: {
78
78
  flChangeHandlers: {
79
79
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
@@ -11,7 +11,7 @@ ANCHOR_BAR_OVERFLOW=Mehr
11
11
 
12
12
  BREADCRUMB_TRAIL_LABEL=Navigationspfad
13
13
 
14
- SHOW_ALL=Alles anzeigen
14
+ SHOW_ALL=Alle anzeigen
15
15
 
16
16
  HIDE_ALL=Weniger anzeigen
17
17
 
@@ -73,7 +73,7 @@ ROOT_ROLE_DESCRIPTION=\u5BF9\u8C61\u9875\u9762
73
73
 
74
74
  HEADER_ROLE_DESCRIPTION=\u5BF9\u8C61\u9875\u7709
75
75
 
76
- NAVIGATION_ROLE_DESCRIPTION=\u533A\u6BB5\u5BFC\u822A\u680F
76
+ NAVIGATION_ROLE_DESCRIPTION=\u90E8\u5206\u5BFC\u822A\u680F
77
77
 
78
78
  FOOTER_ROLE_DESCRIPTION=\u5BF9\u8C61\u9875\u9762\u7684\u5E38\u89C4\u64CD\u4F5C
79
79