@openui5/sap.uxap 1.131.1 → 1.132.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/THIRDPARTY.txt +1 -1
- package/package.json +5 -5
- package/src/sap/uxap/.library +2 -2
- package/src/sap/uxap/AnchorBar.js +1 -1
- package/src/sap/uxap/AnchorBarRenderer.js +1 -1
- package/src/sap/uxap/BlockBase.js +13 -1
- package/src/sap/uxap/BlockBaseMetadata.js +2 -2
- package/src/sap/uxap/BlockBaseRenderer.js +1 -1
- package/src/sap/uxap/BreadCrumbs.js +1 -1
- package/src/sap/uxap/BreadCrumbsRenderer.js +1 -1
- package/src/sap/uxap/HierarchicalSelect.js +1 -1
- package/src/sap/uxap/HierarchicalSelectRenderer.js +1 -1
- package/src/sap/uxap/LazyLoading.js +1 -1
- package/src/sap/uxap/ModelMapping.js +1 -1
- package/src/sap/uxap/ObjectImageHelper.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +2 -2
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +2 -2
- package/src/sap/uxap/ObjectPageDynamicHeaderContentRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +2 -2
- package/src/sap/uxap/ObjectPageDynamicHeaderTitleRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageHeader.js +1 -1
- package/src/sap/uxap/ObjectPageHeaderActionButton.js +1 -1
- package/src/sap/uxap/ObjectPageHeaderActionButtonRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageHeaderContentRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageHeaderLayoutData.js +2 -2
- package/src/sap/uxap/ObjectPageHeaderRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageLayout.js +5 -3
- package/src/sap/uxap/ObjectPageLayoutABHelper.js +1 -1
- package/src/sap/uxap/ObjectPageLayoutRenderer.js +1 -10
- package/src/sap/uxap/ObjectPageLazyLoader.js +2 -2
- package/src/sap/uxap/ObjectPageSection.js +1 -1
- package/src/sap/uxap/ObjectPageSectionBase.js +1 -1
- package/src/sap/uxap/ObjectPageSectionRenderer.js +1 -1
- package/src/sap/uxap/ObjectPageSubSection.js +50 -20
- package/src/sap/uxap/ObjectPageSubSectionRenderer.js +1 -1
- package/src/sap/uxap/ThrottledTaskHelper.js +1 -1
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +2 -2
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +2 -2
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +2 -2
- package/src/sap/uxap/changeHandler/UnstashObjectPageSection.js +2 -2
- package/src/sap/uxap/component/Component.js +1 -1
- package/src/sap/uxap/component/ObjectPageComponentContainer.js +1 -1
- package/src/sap/uxap/component/ObjectPageLayoutUXDrivenFactory.controller.js +1 -1
- package/src/sap/uxap/designtime/BlockBase.designtime.js +1 -1
- package/src/sap/uxap/designtime/ObjectPageHeader.designtime.js +1 -1
- package/src/sap/uxap/designtime/ObjectPageHeaderActionButton.designtime.js +1 -1
- package/src/sap/uxap/designtime/ObjectPageLayout.designtime.js +1 -1
- package/src/sap/uxap/designtime/ObjectPageSection.designtime.js +1 -1
- package/src/sap/uxap/designtime/ObjectPageSubSection.designtime.js +1 -1
- package/src/sap/uxap/designtime/library.designtime.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageDynamicHeaderTitle.flexibility.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageHeader.flexibility.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageHeaderActionButton.flexibility.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageLayout.flexibility.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageSection.flexibility.js +1 -1
- package/src/sap/uxap/flexibility/ObjectPageSubSection.flexibility.js +1 -1
- package/src/sap/uxap/library.js +3 -3
- package/src/sap/uxap/library.support.js +1 -1
- package/src/sap/uxap/messagebundle_en_US_saptrc.properties +41 -41
- package/src/sap/uxap/rules/ObjectPageLayout.support.js +1 -1
- package/src/sap/uxap/themes/base/library.source.less +1 -1
- package/src/sap/uxap/themes/sap_hcb/library.source.less +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -468,7 +468,7 @@ License: Apache-2.0
|
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
470
470
|
|
|
471
|
-
Component: SAP Theming Base Content, version: 11.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.24.0
|
|
472
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
473
473
|
License: Apache-2.0
|
|
474
474
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.132.1",
|
|
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.
|
|
18
|
-
"@openui5/sap.m": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.f": "1.132.1",
|
|
18
|
+
"@openui5/sap.m": "1.132.1",
|
|
19
|
+
"@openui5/sap.ui.core": "1.132.1",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.132.1"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.
|
|
6
|
+
<version>1.132.1</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
|
-
* (c) Copyright 2009-
|
|
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>
|
|
10
10
|
|
|
11
11
|
<documentation>SAP UxAP</documentation>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -799,7 +799,19 @@ sap.ui.define([
|
|
|
799
799
|
return; /* only loaded views should be affected */
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
+
var bResume = bAllow && this.mSkipPropagation._views === true;
|
|
803
|
+
|
|
802
804
|
this.mSkipPropagation._views = !bAllow; /* skip if now allowed */
|
|
805
|
+
|
|
806
|
+
if (bResume) {
|
|
807
|
+
// upon resuming, we need to also catch up all the updates that were missed while the propagation was being skipped
|
|
808
|
+
// => the following will re-trigger the propagation of ALL binding info from the block to its child views
|
|
809
|
+
// [by re-attaching the views to the block]
|
|
810
|
+
var aViews = this.removeAllAggregation("_views", true) || [];
|
|
811
|
+
aViews.forEach(function (oView) {
|
|
812
|
+
this.addAggregation("_views", oView, true);
|
|
813
|
+
}, this);
|
|
814
|
+
}
|
|
803
815
|
};
|
|
804
816
|
|
|
805
817
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @class
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.132.1
|
|
25
25
|
* @since 1.26
|
|
26
26
|
* @alias sap.uxap.BlockBaseMetadata
|
|
27
27
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
25
|
+
* @version 1.132.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @implements sap.uxap.IHeaderContent
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.132.1
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @implements sap.uxap.IHeaderTitle
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.132.1
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -70,7 +70,7 @@ sap.ui.define(["sap/ui/core/LayoutData", "./library"], function (LayoutData, lib
|
|
|
70
70
|
|
|
71
71
|
/*!
|
|
72
72
|
* OpenUI5
|
|
73
|
-
* (c) Copyright 2009-
|
|
73
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
74
74
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
75
75
|
*/
|
|
76
76
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -4506,9 +4506,10 @@ sap.ui.define([
|
|
|
4506
4506
|
* @private
|
|
4507
4507
|
*/
|
|
4508
4508
|
ObjectPageLayout.prototype._storeScrollLocation = function () {
|
|
4509
|
+
var domRef = this.getDomRef() && this.$().width() && this.$().height();
|
|
4509
4510
|
|
|
4510
|
-
if (!
|
|
4511
|
-
return;
|
|
4511
|
+
if (!domRef || !this._bDomReady || !this._oScroller) {
|
|
4512
|
+
return false;
|
|
4512
4513
|
}
|
|
4513
4514
|
|
|
4514
4515
|
this.triggerPendingLayoutUpdates();
|
|
@@ -4529,6 +4530,7 @@ sap.ui.define([
|
|
|
4529
4530
|
iOffset: iScrollTopWithinScrolledSubSection
|
|
4530
4531
|
};
|
|
4531
4532
|
this._oCurrentTabSection = null;
|
|
4533
|
+
return this._oStoredScrolledSubSectionInfo;
|
|
4532
4534
|
};
|
|
4533
4535
|
|
|
4534
4536
|
ObjectPageLayout.prototype.onkeyup = function (oEvent) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -42,7 +42,6 @@ sap.ui.define(["sap/ui/core/Lib"],
|
|
|
42
42
|
bHeaderLabelSet = oLandmarkInfo && oLandmarkInfo.getHeaderLabel(),
|
|
43
43
|
bRootRoleSet = oLandmarkInfo && oLandmarkInfo.getRootRole(),
|
|
44
44
|
bRootLabelSet = oLandmarkInfo && oLandmarkInfo.getRootLabel(),
|
|
45
|
-
bNavigationRoleSet = oLandmarkInfo && oLandmarkInfo.getNavigationRole(),
|
|
46
45
|
bShowFooter = oControl.getShowFooter();
|
|
47
46
|
|
|
48
47
|
if (oControl.getShowAnchorBar() && oControl._getInternalAnchorBarVisible()) {
|
|
@@ -103,10 +102,6 @@ sap.ui.define(["sap/ui/core/Lib"],
|
|
|
103
102
|
oRm.openStart("div", oControl.getId() + "-stickyAnchorBar");
|
|
104
103
|
oRm.attr("data-sap-ui-customfastnavgroup", true);
|
|
105
104
|
|
|
106
|
-
// write ARIA role
|
|
107
|
-
if (!bNavigationRoleSet) {
|
|
108
|
-
oRm.attr("role", "navigation");
|
|
109
|
-
}
|
|
110
105
|
oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
|
|
111
106
|
|
|
112
107
|
if (!oControl._bHeaderInTitleArea) {
|
|
@@ -152,10 +147,6 @@ sap.ui.define(["sap/ui/core/Lib"],
|
|
|
152
147
|
oRm.openStart("section", oControl.getId() + "-anchorBar");
|
|
153
148
|
oRm.attr("data-sap-ui-customfastnavgroup", true);
|
|
154
149
|
|
|
155
|
-
// write ARIA role
|
|
156
|
-
if (!bNavigationRoleSet) {
|
|
157
|
-
oRm.attr("role", "navigation");
|
|
158
|
-
}
|
|
159
150
|
oRm.attr("aria-roledescription", oRb.getText("NAVIGATION_ROLE_DESCRIPTION"));
|
|
160
151
|
|
|
161
152
|
oRm.class("sapUxAPObjectPageNavigation")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.ui.core.Element
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.132.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -716,7 +716,6 @@ sap.ui.define([
|
|
|
716
716
|
this._toggleContentResizeListener(false);
|
|
717
717
|
|
|
718
718
|
this._setAggregationProxy();
|
|
719
|
-
this._getGrid().removeAllContent();
|
|
720
719
|
this._applyLayout(oObjectPageLayout);
|
|
721
720
|
this.refreshSeeMoreVisibility();
|
|
722
721
|
|
|
@@ -751,8 +750,6 @@ sap.ui.define([
|
|
|
751
750
|
|
|
752
751
|
ObjectPageSubSection.prototype._applyLayout = function (oLayoutProvider) {
|
|
753
752
|
var aVisibleBlocks,
|
|
754
|
-
oGrid = this._getGrid(),
|
|
755
|
-
oGridContent = oGrid.getAggregation("content"),
|
|
756
753
|
sCurrentMode = this.getMode(),
|
|
757
754
|
sLayout = oLayoutProvider.getSubSectionLayout(),
|
|
758
755
|
oLayoutConfig = this._calculateLayoutConfiguration(sLayout, oLayoutProvider),
|
|
@@ -774,11 +771,6 @@ sap.ui.define([
|
|
|
774
771
|
try {
|
|
775
772
|
aVisibleBlocks.forEach(function (oBlock) {
|
|
776
773
|
this._setBlockMode(oBlock, sCurrentMode);
|
|
777
|
-
|
|
778
|
-
// Add Block to Grid content only if it's not already added
|
|
779
|
-
if (!oGridContent || (oGridContent && oGridContent.indexOf(oBlock) < 0)) {
|
|
780
|
-
oGrid.addAggregation("content", oBlock, true); // this is always called onBeforeRendering so suppress invalidate
|
|
781
|
-
}
|
|
782
774
|
}, this);
|
|
783
775
|
} catch (sError) {
|
|
784
776
|
Log.error("ObjectPageSubSection :: error while building layout " + sLayout + ": " + sError);
|
|
@@ -970,7 +962,9 @@ sap.ui.define([
|
|
|
970
962
|
//empty real aggregations and feed internal ones at first rendering only
|
|
971
963
|
jQuery.each(this._aAggregationProxy, jQuery.proxy(function (sAggregationName, aValue) {
|
|
972
964
|
aAggregation = this.removeAllAggregation(sAggregationName, true);
|
|
973
|
-
aAggregation.forEach(
|
|
965
|
+
aAggregation.forEach(function(oBlock) {
|
|
966
|
+
this._onAddBlock(oBlock, sAggregationName, true); // this is always called onBeforeRendering so suppress invalidate
|
|
967
|
+
}, this);
|
|
974
968
|
this._setAggregation(sAggregationName, aAggregation, true);
|
|
975
969
|
}, this));
|
|
976
970
|
|
|
@@ -1016,12 +1010,11 @@ sap.ui.define([
|
|
|
1016
1010
|
} else if (this.hasProxy(sAggregationName)) {
|
|
1017
1011
|
aAggregation = this._getAggregation(sAggregationName);
|
|
1018
1012
|
aAggregation.push(oObject);
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
if (oObject instanceof BlockBase || oObject instanceof ObjectPageLazyLoader) {
|
|
1023
|
-
oObject.setParent(this, "blocks"); //let the block know of its parent subsection
|
|
1013
|
+
if (oObject instanceof BlockBase) {
|
|
1014
|
+
oObject.setParent(this, sAggregationName); //let the block know of its parent subsection
|
|
1024
1015
|
}
|
|
1016
|
+
this._onAddBlock(oObject, sAggregationName, bSuppressInvalidate);
|
|
1017
|
+
this._setAggregation(sAggregationName, aAggregation, bSuppressInvalidate);
|
|
1025
1018
|
|
|
1026
1019
|
} else {
|
|
1027
1020
|
ObjectPageSectionBase.prototype.addAggregation.apply(this, arguments);
|
|
@@ -1046,16 +1039,45 @@ sap.ui.define([
|
|
|
1046
1039
|
return this.addAggregation("blocks", oObject);
|
|
1047
1040
|
};
|
|
1048
1041
|
|
|
1049
|
-
ObjectPageSubSection.prototype._onAddBlock = function (oBlock) {
|
|
1050
|
-
|
|
1042
|
+
ObjectPageSubSection.prototype._onAddBlock = function (oBlock, sAggregationName, bSuppressInvalidate) {
|
|
1043
|
+
if (!oBlock) {
|
|
1044
|
+
return;
|
|
1045
|
+
}
|
|
1046
|
+
this._oBlocksObserver.observe(oBlock, {
|
|
1051
1047
|
properties: ["visible"]
|
|
1052
1048
|
});
|
|
1049
|
+
if (this._shouldForwardAggregationToGrid(sAggregationName)) {
|
|
1050
|
+
this._addBlockToGrid(oBlock, bSuppressInvalidate);
|
|
1051
|
+
}
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
ObjectPageSubSection.prototype._shouldForwardAggregationToGrid = function (sAggregationName) {
|
|
1055
|
+
return ((sAggregationName === "blocks")
|
|
1056
|
+
|| (sAggregationName === "moreBlocks" && this.getMode() === ObjectPageSubSectionMode.Expanded));
|
|
1053
1057
|
};
|
|
1054
1058
|
|
|
1055
|
-
ObjectPageSubSection.prototype.
|
|
1056
|
-
|
|
1059
|
+
ObjectPageSubSection.prototype._addBlockToGrid = function (oBlock, bSuppressInvalidate) {
|
|
1060
|
+
var oGrid = this._getGrid();
|
|
1061
|
+
if (oGrid?.indexOfContent(oBlock) < 0) { // add only if not already added (to preserve the ordering of the blocks)
|
|
1062
|
+
oGrid?.addAggregation("content", oBlock, bSuppressInvalidate);
|
|
1063
|
+
}
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
ObjectPageSubSection.prototype._onRemoveBlock = function (oBlock, bSuppressInvalidate) {
|
|
1067
|
+
if (!oBlock) {
|
|
1068
|
+
return;
|
|
1069
|
+
}
|
|
1070
|
+
this._oBlocksObserver.unobserve(oBlock, {
|
|
1057
1071
|
properties: ["visible"]
|
|
1058
1072
|
});
|
|
1073
|
+
this._removeBlockFromGrid(oBlock, bSuppressInvalidate);
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
ObjectPageSubSection.prototype._removeBlockFromGrid = function (oBlock, bSuppressInvalidate) {
|
|
1077
|
+
var oGrid = this._getGrid();
|
|
1078
|
+
if (oGrid?.indexOfContent(oBlock) > -1) {
|
|
1079
|
+
oGrid?.removeAggregation("content", oBlock, bSuppressInvalidate);
|
|
1080
|
+
}
|
|
1059
1081
|
};
|
|
1060
1082
|
|
|
1061
1083
|
/**
|
|
@@ -1079,8 +1101,10 @@ sap.ui.define([
|
|
|
1079
1101
|
|
|
1080
1102
|
if (this.hasProxy(sAggregationName)) {
|
|
1081
1103
|
aInternalAggregation = this._getAggregation(sAggregationName);
|
|
1082
|
-
this._unobserveBlocks();
|
|
1083
1104
|
this._setAggregation(sAggregationName, [], bSuppressInvalidate);
|
|
1105
|
+
aInternalAggregation.forEach(function(oBlock) {
|
|
1106
|
+
this._onRemoveBlock(oBlock);
|
|
1107
|
+
}.bind(this));
|
|
1084
1108
|
return aInternalAggregation.slice();
|
|
1085
1109
|
}
|
|
1086
1110
|
|
|
@@ -1232,10 +1256,16 @@ sap.ui.define([
|
|
|
1232
1256
|
this.setProperty("mode", ObjectPageSubSectionMode.Collapsed);
|
|
1233
1257
|
this._oCurrentlyVisibleSeeMoreLessButton = this._getSeeMoreButton().setVisible(true);
|
|
1234
1258
|
this._getSeeLessButton().setVisible(false);
|
|
1259
|
+
this.getMoreBlocks().forEach(function(oBlock) {
|
|
1260
|
+
this._removeBlockFromGrid(oBlock);
|
|
1261
|
+
}, this);
|
|
1235
1262
|
} else {
|
|
1236
1263
|
this.setProperty("mode", ObjectPageSubSectionMode.Expanded);
|
|
1237
1264
|
this._getSeeMoreButton().setVisible(false);
|
|
1238
1265
|
this._oCurrentlyVisibleSeeMoreLessButton = this._getSeeLessButton().setVisible(true);
|
|
1266
|
+
this.getMoreBlocks().forEach(function(oBlock) {
|
|
1267
|
+
this._addBlockToGrid(oBlock);
|
|
1268
|
+
}, this);
|
|
1239
1269
|
}
|
|
1240
1270
|
};
|
|
1241
1271
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @constructor
|
|
26
26
|
* @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.132.1
|
|
29
29
|
* @since 1.75
|
|
30
30
|
* @experimental Since 1.75
|
|
31
31
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
26
|
+
* @version 1.132.1
|
|
27
27
|
* @experimental Since 1.54
|
|
28
28
|
*/
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
24
|
+
* @version 1.132.1
|
|
25
25
|
* @experimental Since 1.50
|
|
26
26
|
*/
|
|
27
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
22
|
+
* @version 1.132.1
|
|
23
23
|
* @experimental Since 1.115
|
|
24
24
|
*/
|
|
25
25
|
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @namespace
|
|
31
31
|
* @alias sap.uxap
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.132.1
|
|
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.
|
|
77
|
+
version: "1.132.1",
|
|
78
78
|
extensions: {
|
|
79
79
|
flChangeHandlers: {
|
|
80
80
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
|
|
2
|
-
SHOW_MORE=
|
|
2
|
+
SHOW_MORE=4cJYbZnz6pJ/ioImxvJcgw_Show More
|
|
3
3
|
|
|
4
|
-
SHOW_LESS=
|
|
4
|
+
SHOW_LESS=m4lQ4C/IYlPrH2/hoX4CDg_Show Less
|
|
5
5
|
|
|
6
|
-
ANCHOR_BAR_ARIA_LABEL=
|
|
6
|
+
ANCHOR_BAR_ARIA_LABEL=iTFbqjbanl5vAPcl7t+oRA_Anchors
|
|
7
7
|
|
|
8
|
-
ANCHOR_BAR_ARIA_LABEL_DESC=
|
|
8
|
+
ANCHOR_BAR_ARIA_LABEL_DESC=9aAuGpF++uimOrKwXHPY3A_Activate item to go to section in page
|
|
9
9
|
|
|
10
|
-
ANCHOR_BAR_OVERFLOW=
|
|
10
|
+
ANCHOR_BAR_OVERFLOW=SnmArKwy4qtrrBud03cy5A_More
|
|
11
11
|
|
|
12
|
-
BREADCRUMB_TRAIL_LABEL=
|
|
12
|
+
BREADCRUMB_TRAIL_LABEL=8P032Ux6R1G/XMJ7zyO7eg_Breadcrumb Trail
|
|
13
13
|
|
|
14
|
-
SHOW_ALL=
|
|
14
|
+
SHOW_ALL=PqJc0Kuybze238ntDfu1cQ_Show All
|
|
15
15
|
|
|
16
|
-
HIDE_ALL=
|
|
16
|
+
HIDE_ALL=jcbtdxwfBSB58Th0c07tdA_Show Less
|
|
17
17
|
|
|
18
|
-
SHOW=
|
|
18
|
+
SHOW=M2qvjwTK6Ky0khWts0arjA_Expand
|
|
19
19
|
|
|
20
|
-
HIDE=
|
|
20
|
+
HIDE=V1OXrX2NVcd44uOpNGI1Tg_Collapse
|
|
21
21
|
|
|
22
|
-
EDIT_HEADER=
|
|
22
|
+
EDIT_HEADER=WsFp+jhf9fAWrlj62HF3Ww_Edit Header
|
|
23
23
|
|
|
24
|
-
TOOLTIP_OP_FLAG_MARK_VALUE=
|
|
24
|
+
TOOLTIP_OP_FLAG_MARK_VALUE=YSfxbkJO0JZ4jvEHVNfJMQ_Flagged
|
|
25
25
|
|
|
26
|
-
TOOLTIP_OP_FAVORITE_MARK_VALUE=
|
|
26
|
+
TOOLTIP_OP_FAVORITE_MARK_VALUE=7tbHdAkuJ+BsLZzP+z7USA_Favorite
|
|
27
27
|
|
|
28
|
-
OP_SELECT_ARROW_TOOLTIP=
|
|
28
|
+
OP_SELECT_ARROW_TOOLTIP=WvX5zIZ2JonE6ZPr7WJxSg_Related options
|
|
29
29
|
|
|
30
|
-
TOOLTIP_OP_LOCK_MARK_VALUE=
|
|
30
|
+
TOOLTIP_OP_LOCK_MARK_VALUE=rMF5dcCikxrWplJsNHt4Qg_Locked
|
|
31
31
|
|
|
32
|
-
TOOLTIP_OP_OVERFLOW_BTN=
|
|
32
|
+
TOOLTIP_OP_OVERFLOW_BTN=q4YsMrbhY6V2feexKhATPQ_More
|
|
33
33
|
|
|
34
|
-
TOOLTIP_OP_SCROLL_LEFT_ARROW=
|
|
34
|
+
TOOLTIP_OP_SCROLL_LEFT_ARROW=8ZDSwZojJETJ44WfcjItrA_Scroll left
|
|
35
35
|
|
|
36
|
-
TOOLTIP_OP_SCROLL_RIGHT_ARROW=
|
|
36
|
+
TOOLTIP_OP_SCROLL_RIGHT_ARROW=wuU29ejO/qGTNB8pLzWPsQ_Scroll right
|
|
37
37
|
|
|
38
|
-
TOOLTIP_OP_CHANGES_MARK_VALUE=
|
|
38
|
+
TOOLTIP_OP_CHANGES_MARK_VALUE=MaasxSBE5KOKj229+ZW89w_Unsaved changes
|
|
39
39
|
|
|
40
|
-
TOOLTIP_OP_EXPAND_HEADER_BTN=
|
|
40
|
+
TOOLTIP_OP_EXPAND_HEADER_BTN=l8oq3Zd4M4608i+mbSr7Kg_Expand header content
|
|
41
41
|
|
|
42
|
-
TOOLTIP_OP_SHOW_SIDE_CONTENT=
|
|
42
|
+
TOOLTIP_OP_SHOW_SIDE_CONTENT=82WVXGhd4Sx+8mWl6JDdnQ_Open side panel
|
|
43
43
|
|
|
44
|
-
ROOT_ARIA_LABEL_WITHOUT_TITLE=
|
|
44
|
+
ROOT_ARIA_LABEL_WITHOUT_TITLE=M2LQfLYXb1Gj+GmkX2/NVQ_Object details
|
|
45
45
|
|
|
46
|
-
HEADER_ARIA_LABEL_WITH_TITLE=
|
|
46
|
+
HEADER_ARIA_LABEL_WITH_TITLE=7brSQA7GgCsTf3D0iFtXXA_Header area
|
|
47
47
|
|
|
48
|
-
HEADER_ARIA_LABEL_WITHOUT_TITLE=
|
|
48
|
+
HEADER_ARIA_LABEL_WITHOUT_TITLE=tu66xrNYDPxXUZWEtVr30A_Object header area
|
|
49
49
|
|
|
50
|
-
NAVIGATION_ARIA_LABEL_WITHOUT_TITLE=
|
|
50
|
+
NAVIGATION_ARIA_LABEL_WITHOUT_TITLE=LKZ3LQoH7t/89Zmu0qT4Sw_Object
|
|
51
51
|
|
|
52
|
-
NAVTOOLBAR_ARIA_LABEL_WITH_TITLE=
|
|
52
|
+
NAVTOOLBAR_ARIA_LABEL_WITH_TITLE=O8PZPfYdirZX1rYrmQhdOQ_Options
|
|
53
53
|
|
|
54
|
-
NAVTOOLBAR_ARIA_LABEL_WITHOUT_TITLE=
|
|
54
|
+
NAVTOOLBAR_ARIA_LABEL_WITHOUT_TITLE=qbET8a8nXcdtFD3JTC+Vsw_Object options
|
|
55
55
|
|
|
56
|
-
ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=
|
|
56
|
+
ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=vyN5kpB1BTC8NbOmR4lF6g_Footer actions
|
|
57
57
|
|
|
58
|
-
LAYOUT_CONTROL_NAME=
|
|
58
|
+
LAYOUT_CONTROL_NAME=pDIefiY62aEgAck0HtbNuA_Object Page Layout
|
|
59
59
|
|
|
60
|
-
LAYOUT_CONTROL_NAME_PLURAL
|
|
60
|
+
LAYOUT_CONTROL_NAME_PLURAL=aMCz6bClXg3TcbbuPyLh5Q_Object Page Layouts
|
|
61
61
|
|
|
62
|
-
SECTION_CONTROL_NAME=
|
|
62
|
+
SECTION_CONTROL_NAME=WA9ppnXa64TZCcDiXYCcfQ_Section
|
|
63
63
|
|
|
64
|
-
SECTION_CONTROL_NAME_PLURAL=
|
|
64
|
+
SECTION_CONTROL_NAME_PLURAL=dBFJEOG2HWT7+g3hFNSfYQ_Sections
|
|
65
65
|
|
|
66
|
-
SECTION_TITLE_FOR_IFRAME=
|
|
66
|
+
SECTION_TITLE_FOR_IFRAME=JdDx/qDRlAjNlHWpNkJamg_Embedded Content
|
|
67
67
|
|
|
68
|
-
HEADER_CONTROL_NAME=
|
|
68
|
+
HEADER_CONTROL_NAME=jCOyFh/WXBj1xrVWF95UZw_Header
|
|
69
69
|
|
|
70
|
-
SUBSECTION_CONTROL_NAME=
|
|
70
|
+
SUBSECTION_CONTROL_NAME=2BQN+7mYFveAIH6BjS/E2g_Subsection
|
|
71
71
|
|
|
72
|
-
ROOT_ROLE_DESCRIPTION=
|
|
72
|
+
ROOT_ROLE_DESCRIPTION=81LULWJY2rYMJEFqCeIAsA_Object page
|
|
73
73
|
|
|
74
|
-
HEADER_ROLE_DESCRIPTION=
|
|
74
|
+
HEADER_ROLE_DESCRIPTION=WOgVmNDyoKI4diUEXgtxHg_Object page header
|
|
75
75
|
|
|
76
|
-
NAVIGATION_ROLE_DESCRIPTION=
|
|
76
|
+
NAVIGATION_ROLE_DESCRIPTION=9Q+xfGP59VGcyVjSsCBW2g_Sections navigation bar
|
|
77
77
|
|
|
78
|
-
FOOTER_ROLE_DESCRIPTION=
|
|
78
|
+
FOOTER_ROLE_DESCRIPTION=ZGNEvBBx/tE0e3k+UY6Cag_General actions for object page
|
|
79
79
|
|
|
80
|
-
ADD_IFRAME_IN_HEADER=
|
|
80
|
+
ADD_IFRAME_IN_HEADER=WfCPxfLI9BiNDhlPPN7RLw_in Header
|
|
81
81
|
|
|
82
|
-
ADD_IFRAME_AS_SECTION=
|
|
82
|
+
ADD_IFRAME_AS_SECTION=wh+j9rKvEsQ3bf9PLBMpIA_as section
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
@import "../../../../sap/ui/core/themes/base/base.less";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
/* ============================================================================== */
|