@openui5/sap.uxap 1.136.6 → 1.136.7
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/THIRDPARTY.txt +1 -1
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- 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 +10 -1
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSection.js +30 -3
- 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/THIRDPARTY.txt
CHANGED
|
@@ -397,7 +397,7 @@ License: MIT
|
|
|
397
397
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
398
398
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
399
399
|
|
|
400
|
-
Component: Markdown-it, version:
|
|
400
|
+
Component: Markdown-it, version: 14.1.0
|
|
401
401
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
402
402
|
License: MIT
|
|
403
403
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.7",
|
|
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.136.
|
|
18
|
-
"@openui5/sap.m": "1.136.
|
|
19
|
-
"@openui5/sap.ui.core": "1.136.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.136.
|
|
17
|
+
"@openui5/sap.f": "1.136.7",
|
|
18
|
+
"@openui5/sap.m": "1.136.7",
|
|
19
|
+
"@openui5/sap.ui.core": "1.136.7",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.136.7"
|
|
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.136.
|
|
6
|
+
<version>1.136.7</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -1720,7 +1720,7 @@ sap.ui.define([
|
|
|
1720
1720
|
* @param {boolean} bInvalidate request the invalidation of the sectionBase that would turn into visible or hidden. This may not be necessary if you are already within a rendering process.
|
|
1721
1721
|
*/
|
|
1722
1722
|
ObjectPageLayout.prototype._applyUxRules = function (bInvalidate) {
|
|
1723
|
-
var aSections, aSubSections, iVisibleSubSections, iVisibleSection, iVisibleBlocks,
|
|
1723
|
+
var aSections, aSubSections, iVisibleSubSections, iVisibleSection, iVisibleBlocks, oAnchorBar, aAnchorBarItems,
|
|
1724
1724
|
bVisibleAnchorBar, bUseIconTabBar, oFirstVisibleSection, oFirstVisibleSubSection, oTitleVisibilityInfo = {};
|
|
1725
1725
|
|
|
1726
1726
|
aSections = this.getSections() || [];
|
|
@@ -1846,6 +1846,15 @@ sap.ui.define([
|
|
|
1846
1846
|
this._oABHelper._buildAnchorBar();
|
|
1847
1847
|
}
|
|
1848
1848
|
|
|
1849
|
+
oAnchorBar = this.getAggregation("_anchorBar");
|
|
1850
|
+
aAnchorBarItems = oAnchorBar?.getItems() || [];
|
|
1851
|
+
for (var i = 0; i < aSections.length; i++) {
|
|
1852
|
+
var oSection = aSections[i];
|
|
1853
|
+
if (oSection._getInternalVisible()) {
|
|
1854
|
+
oSection._setAriaLabelledByAnchorButton(aAnchorBarItems[i], bInvalidate);
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1849
1858
|
this._setInternalAnchorBarVisible(bVisibleAnchorBar, bInvalidate);
|
|
1850
1859
|
this._oFirstVisibleSection = oFirstVisibleSection;
|
|
1851
1860
|
this._oFirstVisibleSubSection = this._getFirstVisibleSubSection(oFirstVisibleSection);
|
|
@@ -385,19 +385,46 @@ sap.ui.define([
|
|
|
385
385
|
return this._getShouldDisplayExpandCollapseButton() || this._getShouldDisplayShowHideAllButton();
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
+
/**
|
|
389
|
+
* Set the _sAriaLabelledByAnchorButton - the id of the AnchorBar button that corresponds to this section.
|
|
390
|
+
* @param {object} oAnchorButton The AnchorBar button that corresponds to this section
|
|
391
|
+
* @param {boolean} bInvalidate Whether to invalidate the control or not
|
|
392
|
+
* @private
|
|
393
|
+
*/
|
|
394
|
+
ObjectPageSection.prototype._setAriaLabelledByAnchorButton = function (oAnchorButton, bInvalidate) {
|
|
395
|
+
this._sAriaLabelledByAnchorButton = oAnchorButton?.getId();
|
|
396
|
+
if (bInvalidate) {
|
|
397
|
+
this.invalidate();
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Returns the id of the AnchorBar button that corresponds to this section.
|
|
403
|
+
* @private
|
|
404
|
+
* @returns {string} The id of the AnchorBar button that corresponds to this section
|
|
405
|
+
*/
|
|
406
|
+
ObjectPageSection.prototype._getAriaLabelledByAnchorButton = function () {
|
|
407
|
+
return this._sAriaLabelledByAnchorButton;
|
|
408
|
+
};
|
|
409
|
+
|
|
388
410
|
/**
|
|
389
411
|
* Returns the label id for the section.
|
|
390
412
|
* @private
|
|
391
413
|
* @returns {string} aria-labeled by id
|
|
392
414
|
*/
|
|
393
415
|
ObjectPageSection.prototype._getAriaLabelledById = function () {
|
|
416
|
+
var oFirstVisibleSubSection = this._getFirstVisibleSubSection();
|
|
394
417
|
// Each section should be labelled as:
|
|
395
418
|
// 'titleID' - either its own or the promoted subsection's title
|
|
396
|
-
if (this._hasPromotedSubSection()) {
|
|
397
|
-
return
|
|
398
|
-
}
|
|
419
|
+
if (this._hasPromotedSubSection() && oFirstVisibleSubSection?.getTitleVisible()) {
|
|
420
|
+
return oFirstVisibleSubSection._getTitleControl().getId();
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
if (!this._hasPromotedSubSection() && this.getTitleVisible()) {
|
|
399
424
|
return this._getTitleControl().getId();
|
|
400
425
|
}
|
|
426
|
+
|
|
427
|
+
return this._getAriaLabelledByAnchorButton();
|
|
401
428
|
};
|
|
402
429
|
|
|
403
430
|
/**
|
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.136.
|
|
33
|
+
* @version 1.136.7
|
|
34
34
|
* @since 1.36
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
75
75
|
"sap.uxap.ObjectPageLazyLoader"
|
|
76
76
|
],
|
|
77
|
-
version: "1.136.
|
|
77
|
+
version: "1.136.7",
|
|
78
78
|
...{
|
|
79
79
|
interactionDocumentation: true
|
|
80
80
|
},
|