@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 +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/BlockBase.js +1 -0
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +1 -1
- package/src/sap/uxap/ObjectPageLayout.js +1 -0
- package/src/sap/uxap/ObjectPageLayoutRenderer.js +27 -6
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSubSection.js +13 -1
- package/src/sap/uxap/ThrottledTaskHelper.js +1 -1
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -1
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/UnstashObjectPageSection.js +1 -1
- package/src/sap/uxap/library.js +2 -2
- package/src/sap/uxap/messagebundle_de.properties +1 -1
- package/src/sap/uxap/messagebundle_zh_CN.properties +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.120.
|
|
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.
|
|
18
|
-
"@openui5/sap.m": "1.120.
|
|
19
|
-
"@openui5/sap.ui.core": "1.120.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.120.
|
|
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
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.120.
|
|
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>
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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");
|
|
@@ -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;
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @namespace
|
|
31
31
|
* @alias sap.uxap
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.120.
|
|
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.
|
|
76
|
+
version: "1.120.32",
|
|
77
77
|
extensions: {
|
|
78
78
|
flChangeHandlers: {
|
|
79
79
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -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=\
|
|
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
|
|