@openui5/sap.uxap 1.124.2 → 1.126.0
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/.reuse/dep5 +9 -4
- package/THIRDPARTY.txt +13 -6
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/LazyLoading.js +3 -3
- 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/ObjectPageHeaderContentRenderer.js +6 -6
- package/src/sap/uxap/ObjectPageLayout.js +32 -16
- package/src/sap/uxap/ObjectPageLazyLoader.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 +211 -3
- package/src/sap/uxap/themes/base/ObjectPageSection.less +3 -1
- package/src/sap/uxap/themes/sap_hcb/base_AnchorBar.less +384 -0
- package/src/sap/uxap/themes/sap_hcb/base_BreadCrumbs.less +92 -0
- package/src/sap/uxap/themes/sap_hcb/base_HierarchicalSelect.less +197 -0
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageHeader.less +461 -0
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageHeaderContent.less +301 -0
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageLayout.less +270 -0
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageSection.less +137 -0
- package/src/sap/uxap/themes/sap_hcb/base_ObjectPageSubSection.less +239 -0
- package/src/sap/uxap/themes/sap_hcb/library.source.less +20 -1
package/.reuse/dep5
CHANGED
|
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
|
|
|
50
50
|
License: Apache-2.0
|
|
51
51
|
Comment: these files belong to: purify.js
|
|
52
52
|
|
|
53
|
+
Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
54
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
55
|
+
License: MIT
|
|
56
|
+
Comment: these files belong to: QUnit Composite 2.0.0
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
# Library: sap.ui.codeeditor:
|
|
55
60
|
|
|
@@ -379,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
|
|
|
379
384
|
License: MIT
|
|
380
385
|
Comment: these files belong to: Elasticlunr
|
|
381
386
|
|
|
382
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
383
|
-
Copyright:
|
|
387
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
388
|
+
Copyright: SpryMedia Ltd
|
|
384
389
|
License: MIT
|
|
385
390
|
Comment: these files belong to: DataTables
|
|
386
391
|
|
|
387
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
388
|
-
Copyright:
|
|
392
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
393
|
+
Copyright: SpryMedia Ltd
|
|
389
394
|
License: MIT
|
|
390
395
|
Comment: these files belong to: Buttons extension for DataTables
|
|
391
396
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -12,6 +12,13 @@ License: Apache-2.0
|
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
14
|
|
|
15
|
+
Component: QUnit Composite 2.0.0, version: 2.0.0
|
|
16
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
17
|
+
License: MIT
|
|
18
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
19
|
+
Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
20
|
+
src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
Library: sap.ui.codeeditor:
|
|
17
24
|
|
|
@@ -356,17 +363,17 @@ License: MIT
|
|
|
356
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
357
364
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
358
365
|
|
|
359
|
-
Component: DataTables, version:
|
|
360
|
-
Copyright:
|
|
366
|
+
Component: DataTables, version: 2.0.1
|
|
367
|
+
Copyright: SpryMedia Ltd
|
|
361
368
|
License: MIT
|
|
362
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
363
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
364
371
|
|
|
365
|
-
Component: Buttons extension for DataTables, version:
|
|
366
|
-
Copyright:
|
|
372
|
+
Component: Buttons extension for DataTables, version: 3.0.0
|
|
373
|
+
Copyright: SpryMedia Ltd
|
|
367
374
|
License: MIT
|
|
368
375
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
369
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
376
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
370
377
|
|
|
371
378
|
|
|
372
379
|
Library: sap.ui.integration:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.0",
|
|
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.126.0",
|
|
18
|
+
"@openui5/sap.m": "1.126.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.126.0",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.126.0"
|
|
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.
|
|
6
|
+
<version>1.126.0</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
clearTimeout(this._sLazyLoadingTimer);
|
|
109
109
|
}
|
|
110
110
|
this._sLazyLoadingTimer = null;
|
|
111
|
-
this.doLazyLoading();
|
|
111
|
+
this.doLazyLoading(iScrollTop);
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
LazyLoading.prototype.doLazyLoading = function () {
|
|
139
|
+
LazyLoading.prototype.doLazyLoading = function (iScrollTopPosition) {
|
|
140
140
|
var oHeightParams = this._oObjectPageLayout._getHeightRelatedParameters(),
|
|
141
141
|
bIconTabBar = this._oObjectPageLayout.getUseIconTabBar(),
|
|
142
142
|
oSelectedSection = Element.getElementById(this._oObjectPageLayout.getSelectedSection()),
|
|
@@ -160,7 +160,7 @@ sap.ui.define([
|
|
|
160
160
|
- oHeightParams.iAnchorBarHeight /* minus the part taken by the anchor bar */
|
|
161
161
|
- oHeightParams.iHeaderTitleHeightStickied /* minus the part taken by the header title (mandatory) */
|
|
162
162
|
);
|
|
163
|
-
iScrollTop = oHeightParams.iScrollTop;
|
|
163
|
+
iScrollTop = iScrollTopPosition || oHeightParams.iScrollTop;
|
|
164
164
|
|
|
165
165
|
//we consider that the scroll is still ongoing if:
|
|
166
166
|
// - a scroll event has been received for less than half of the LAZY_LOADING_DELAY (100 ms)
|
|
@@ -30,12 +30,12 @@ sap.ui.define([
|
|
|
30
30
|
bRenderEditBtn = bParentLayout && oParent.getShowEditHeaderButton() && oControl.getContent() && oControl.getContent().length > 0;
|
|
31
31
|
|
|
32
32
|
if (bRenderEditBtn) {
|
|
33
|
-
oRm.openStart("div", oControl)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
oRm.openStart("div", oControl).class("sapUxAPObjectPageHeaderContentFlexBox");
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated As of version 1.40.1
|
|
37
|
+
*/
|
|
38
|
+
oRm.class("sapUxAPObjectPageHeaderContentDesign-" + oControl.getContentDesign());
|
|
39
39
|
|
|
40
40
|
if (oHeader) {
|
|
41
41
|
oRm.class('sapUxAPObjectPageContentObjectImage-' + oHeader.getObjectImageShape());
|
|
@@ -1254,7 +1254,7 @@ sap.ui.define([
|
|
|
1254
1254
|
};
|
|
1255
1255
|
|
|
1256
1256
|
ObjectPageLayout.prototype._onAfterRenderingDomReady = function () {
|
|
1257
|
-
var sSectionToSelectID, oSectionToSelect, bAppendHeaderToContent,
|
|
1257
|
+
var sSectionToSelectID, oSectionToSelect, bAppendHeaderToContent, sSubSectionToSelectId,
|
|
1258
1258
|
iWidth = this._getWidth(this);
|
|
1259
1259
|
|
|
1260
1260
|
if (this._bIsBeingDestroyed) {
|
|
@@ -1281,7 +1281,8 @@ sap.ui.define([
|
|
|
1281
1281
|
this._bAllContentFitsContainer = this._hasSingleVisibleFullscreenSubSection(oSectionToSelect);
|
|
1282
1282
|
this._checkSubSectionVisibilityChange();
|
|
1283
1283
|
} else {
|
|
1284
|
-
|
|
1284
|
+
sSubSectionToSelectId = oSectionToSelect?.getSelectedSubSection();
|
|
1285
|
+
this.scrollToSection(sSubSectionToSelectId || sSectionToSelectID, 0);
|
|
1285
1286
|
}
|
|
1286
1287
|
}
|
|
1287
1288
|
// enable scrolling in non-fullscreen-mode only
|
|
@@ -1390,6 +1391,10 @@ sap.ui.define([
|
|
|
1390
1391
|
this._oLazyLoading = null;
|
|
1391
1392
|
}
|
|
1392
1393
|
|
|
1394
|
+
if (this._asyncUpdateScreenSizeExec) {
|
|
1395
|
+
clearTimeout(this._asyncUpdateScreenSizeExec);
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1393
1398
|
this._destroyInvisibleText();
|
|
1394
1399
|
|
|
1395
1400
|
this._deregisterScreenSizeListener();
|
|
@@ -2050,6 +2055,7 @@ sap.ui.define([
|
|
|
2050
2055
|
ObjectPageLayout.prototype._adjustLayoutAndUxRules = function () {
|
|
2051
2056
|
|
|
2052
2057
|
var sSelectedSectionId,
|
|
2058
|
+
sSelectedSubSectionId,
|
|
2053
2059
|
oSelectedSection,
|
|
2054
2060
|
sSectionBaseIdToScrollTo;
|
|
2055
2061
|
|
|
@@ -2064,6 +2070,7 @@ sap.ui.define([
|
|
|
2064
2070
|
this._adjustSelectedSectionByUXRules();
|
|
2065
2071
|
sSelectedSectionId = this.getSelectedSection();
|
|
2066
2072
|
oSelectedSection = Element.getElementById(sSelectedSectionId);
|
|
2073
|
+
sSelectedSubSectionId = oSelectedSection?.getSelectedSubSection();
|
|
2067
2074
|
|
|
2068
2075
|
if (oSelectedSection) {
|
|
2069
2076
|
this._setSelectedSectionId(sSelectedSectionId); //reselect the current section in the navBar (because the anchorBar was freshly rebuilt from scratch)
|
|
@@ -2084,6 +2091,8 @@ sap.ui.define([
|
|
|
2084
2091
|
if (oSelectedSection.indexOfSubSection(Element.getElementById(this.getOngoingScrollToSectionBaseId())) > -1) {
|
|
2085
2092
|
// keep the target section of the ongoing scroll only if it is within the selectedSection
|
|
2086
2093
|
sSectionBaseIdToScrollTo = this.getOngoingScrollToSectionBaseId();
|
|
2094
|
+
} else if (sSelectedSubSectionId) {
|
|
2095
|
+
sSectionBaseIdToScrollTo = sSelectedSubSectionId;
|
|
2087
2096
|
}
|
|
2088
2097
|
// then change the selection to match the correct section
|
|
2089
2098
|
this.scrollToSection(sSectionBaseIdToScrollTo, null, 0, false, true /* redirect scroll */);
|
|
@@ -2246,13 +2255,6 @@ sap.ui.define([
|
|
|
2246
2255
|
|
|
2247
2256
|
oTargetSubSection = oSection instanceof ObjectPageSubSection ? oSection : this._getFirstVisibleSubSection(oSection);
|
|
2248
2257
|
|
|
2249
|
-
if (this._bHeaderInTitleArea && !this._shouldPreserveHeaderInTitleArea() && !this._bAllContentFitsContainer) {
|
|
2250
|
-
this._moveHeaderToContentArea();
|
|
2251
|
-
this._toggleHeaderTitle(false /* snap */);
|
|
2252
|
-
this._bHeaderExpanded = false;
|
|
2253
|
-
this._updateToggleHeaderVisualIndicators();
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
2258
|
iOffset = iOffset || 0;
|
|
2257
2259
|
|
|
2258
2260
|
oSection._expandSection();
|
|
@@ -2264,6 +2266,13 @@ sap.ui.define([
|
|
|
2264
2266
|
|
|
2265
2267
|
var iScrollTo = this._computeScrollPosition(oSection);
|
|
2266
2268
|
|
|
2269
|
+
if (iScrollTo > this._getSnapPosition() && this._bHeaderInTitleArea && !this._shouldPreserveHeaderInTitleArea() && !this._bAllContentFitsContainer) {
|
|
2270
|
+
this._moveHeaderToContentArea();
|
|
2271
|
+
this._toggleHeaderTitle(false /* snap */);
|
|
2272
|
+
this._bHeaderExpanded = false;
|
|
2273
|
+
this._updateToggleHeaderVisualIndicators();
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2267
2276
|
if (this._sCurrentScrollId != sId || bRedirectScroll) {
|
|
2268
2277
|
this._sCurrentScrollId = sId;
|
|
2269
2278
|
|
|
@@ -2335,7 +2344,7 @@ sap.ui.define([
|
|
|
2335
2344
|
}
|
|
2336
2345
|
|
|
2337
2346
|
oSection = bIsSubSection ? oSectionBase.getParent() : oSectionBase;
|
|
2338
|
-
oSubSection = bIsSubSection ? oSectionBase :
|
|
2347
|
+
oSubSection = bIsSubSection ? oSectionBase : null;
|
|
2339
2348
|
|
|
2340
2349
|
var bExecuteDefault = this.fireBeforeNavigate({
|
|
2341
2350
|
section: oSection,
|
|
@@ -2379,7 +2388,7 @@ sap.ui.define([
|
|
|
2379
2388
|
ObjectPageLayout.prototype._computeScrollPosition = function (oTargetSection) {
|
|
2380
2389
|
|
|
2381
2390
|
var iScrollTo = this._oSectionInfo[oTargetSection.getId()].positionTop,
|
|
2382
|
-
bExpandedMode =
|
|
2391
|
+
bExpandedMode = this._bHeaderExpanded;
|
|
2383
2392
|
|
|
2384
2393
|
if (bExpandedMode && this._isFirstVisibleSectionBase(oTargetSection)) { // preserve expanded header if no need to stick
|
|
2385
2394
|
iScrollTo = 0;
|
|
@@ -3040,11 +3049,13 @@ sap.ui.define([
|
|
|
3040
3049
|
ObjectPageLayout.prototype._initAnchorBarScroll = function () {
|
|
3041
3050
|
|
|
3042
3051
|
var oSelectedSection = Element.getElementById(this.getSelectedSection()),
|
|
3052
|
+
sSelectedSubSectionId = oSelectedSection?.getSelectedSubSection(),
|
|
3053
|
+
oSelectedSubSection = Element.getElementById(sSelectedSubSectionId),
|
|
3043
3054
|
iScrollTop;
|
|
3044
3055
|
|
|
3045
3056
|
this._requestAdjustLayout(true);
|
|
3046
3057
|
|
|
3047
|
-
iScrollTop = oSelectedSection ? this._computeScrollPosition(oSelectedSection) : 0;
|
|
3058
|
+
iScrollTop = oSelectedSection ? this._computeScrollPosition(oSelectedSubSection || oSelectedSection) : 0;
|
|
3048
3059
|
|
|
3049
3060
|
//reset the scroll for anchorbar & scrolling management
|
|
3050
3061
|
this._sScrolledSectionId = "";
|
|
@@ -3206,7 +3217,8 @@ sap.ui.define([
|
|
|
3206
3217
|
|
|
3207
3218
|
this._oLazyLoading.setLazyLoadingParameters();
|
|
3208
3219
|
|
|
3209
|
-
setTimeout(function () {
|
|
3220
|
+
this._asyncUpdateScreenSizeExec = setTimeout(function () {
|
|
3221
|
+
|
|
3210
3222
|
if (bIsAlwaysShowContentHeaderEnabled && (this._bHeaderInTitleArea != this._checkAlwaysShowContentHeader())) {
|
|
3211
3223
|
this.invalidate();
|
|
3212
3224
|
}
|
|
@@ -3576,7 +3588,9 @@ sap.ui.define([
|
|
|
3576
3588
|
// [i.e. offset by the same amount of pixels as the value of <code>this._iHeaderContentPaddingBottom</code>.
|
|
3577
3589
|
// Or both (1) and (2):
|
|
3578
3590
|
// => we snap earlier to respect both offsets
|
|
3579
|
-
|
|
3591
|
+
if (iSnapPosition) {
|
|
3592
|
+
iSnapPosition -= Math.max(iTitleHeightDelta, this._iHeaderContentPaddingBottom);
|
|
3593
|
+
}
|
|
3580
3594
|
|
|
3581
3595
|
return iSnapPosition;
|
|
3582
3596
|
};
|
|
@@ -4463,7 +4477,9 @@ sap.ui.define([
|
|
|
4463
4477
|
ObjectPageLayout.prototype._restoreScrollPosition = function () {
|
|
4464
4478
|
|
|
4465
4479
|
var bValidStoredSubSection = this._isValidStoredSubSectionInfo(),
|
|
4466
|
-
iRestoredScrollPosition
|
|
4480
|
+
iRestoredScrollPosition,
|
|
4481
|
+
oSelectedSection = Element.getElementById(this.getSelectedSection()),
|
|
4482
|
+
sSelectedSubSectionId = oSelectedSection?.getSelectedSubSection();
|
|
4467
4483
|
|
|
4468
4484
|
if (bValidStoredSubSection) {
|
|
4469
4485
|
iRestoredScrollPosition =
|
|
@@ -4471,7 +4487,7 @@ sap.ui.define([
|
|
|
4471
4487
|
this._oStoredScrolledSubSectionInfo.iOffset;
|
|
4472
4488
|
this._scrollTo(iRestoredScrollPosition, 0);
|
|
4473
4489
|
} else {
|
|
4474
|
-
this.scrollToSection(
|
|
4490
|
+
this.scrollToSection(sSelectedSubSectionId || oSelectedSection?.getId(), 0);
|
|
4475
4491
|
}
|
|
4476
4492
|
};
|
|
4477
4493
|
|
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.
|
|
33
|
+
* @version 1.126.0
|
|
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.126.0",
|
|
78
78
|
extensions: {
|
|
79
79
|
flChangeHandlers: {
|
|
80
80
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -396,6 +396,133 @@ sap.ui.define([
|
|
|
396
396
|
* @see {@link topic:d2ef0099542d44dc868719d908e576d0 Object Page Headers}
|
|
397
397
|
*/
|
|
398
398
|
|
|
399
|
+
/**
|
|
400
|
+
* Method for checking if the header title is <code>{@link sap.uxap.ObjectPageDynamicHeaderTitle}</code>.
|
|
401
|
+
*
|
|
402
|
+
* @function
|
|
403
|
+
* @name sap.uxap.IHeaderTitle.isDynamic
|
|
404
|
+
* @ui5-restricted
|
|
405
|
+
* @private
|
|
406
|
+
* @returns {boolean} Whether or not the header title is dynamic.
|
|
407
|
+
*/
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Getter method for getting the compatible header title class (being <code>{@link sap.uxap.ObjectPageDynamicHeaderTitle}</code> or <code>{@link sap.uxap.ObjectPageHeader}</code>).
|
|
411
|
+
*
|
|
412
|
+
* @function
|
|
413
|
+
* @name sap.uxap.IHeaderTitle.getCompatibleHeaderContentClass
|
|
414
|
+
* @ui5-restricted
|
|
415
|
+
* @private
|
|
416
|
+
* @returns {sap.uxap.ObjectPageHeaderContent} The header content.
|
|
417
|
+
*/
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Method for checking if the header title can be toggled on click.
|
|
421
|
+
*
|
|
422
|
+
* @function
|
|
423
|
+
* @name sap.uxap.IHeaderTitle.supportsToggleHeaderOnTitleClick
|
|
424
|
+
* @ui5-restricted
|
|
425
|
+
* @private
|
|
426
|
+
* @returns {boolean} Whether or not the header title can be toggled on click.
|
|
427
|
+
*/
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Method for checking if header title is supported in header content.
|
|
431
|
+
*
|
|
432
|
+
* @function
|
|
433
|
+
* @name sap.uxap.IHeaderTitle.supportsTitleInHeaderContent
|
|
434
|
+
* @ui5-restricted
|
|
435
|
+
* @private
|
|
436
|
+
* @returns {boolean} Whether or not header title is supported in header content.
|
|
437
|
+
*/
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Method for checking if header title supports adapt layout for DOM element.
|
|
441
|
+
*
|
|
442
|
+
* @function
|
|
443
|
+
* @name sap.uxap.IHeaderTitle.supportsAdaptLayoutForDomElement
|
|
444
|
+
* @ui5-restricted
|
|
445
|
+
* @param {boolean} bToggle Whether or not header title supports adapt layout for DOM element.
|
|
446
|
+
* @private
|
|
447
|
+
*/
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Method for checking if header title supports background design.
|
|
451
|
+
*
|
|
452
|
+
* @function
|
|
453
|
+
* @name sap.uxap.IHeaderTitle.supportsBackgroundDesign
|
|
454
|
+
* @ui5-restricted
|
|
455
|
+
* @param {boolean} bToggle Whether or not header title supports background design.
|
|
456
|
+
* @private
|
|
457
|
+
*/
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Getter method for getting the header title text.
|
|
461
|
+
*
|
|
462
|
+
* @function
|
|
463
|
+
* @name sap.uxap.IHeaderTitle.getTitleText
|
|
464
|
+
* @ui5-restricted
|
|
465
|
+
* @private
|
|
466
|
+
* @returns {string} The header title text.
|
|
467
|
+
*/
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Method for snapping/collapsing the header title.
|
|
471
|
+
*
|
|
472
|
+
* @function
|
|
473
|
+
* @name sap.uxap.IHeaderTitle.snap
|
|
474
|
+
* @ui5-restricted
|
|
475
|
+
* @private
|
|
476
|
+
*/
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Method for unsnapping/expanding the header title.
|
|
480
|
+
*
|
|
481
|
+
* @function
|
|
482
|
+
* @name sap.uxap.IHeaderTitle.unSnap
|
|
483
|
+
* @ui5-restricted
|
|
484
|
+
* @private
|
|
485
|
+
*/
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Method toggling .the visibility of the expand button of the header title
|
|
489
|
+
*
|
|
490
|
+
* @function
|
|
491
|
+
* @name sap.uxap.IHeaderTitle._toggleExpandButton
|
|
492
|
+
* @ui5-restricted
|
|
493
|
+
* @param {boolean} bToggle Whether or not header title expand button should be shown.
|
|
494
|
+
* @private
|
|
495
|
+
*/
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Setter method for toggling .the visibility of the expand button of the header title
|
|
499
|
+
*
|
|
500
|
+
* @function
|
|
501
|
+
* @name sap.uxap.IHeaderTitle._setShowExpandButton
|
|
502
|
+
* @ui5-restricted
|
|
503
|
+
* @param {boolean} bVisible Whether or not header title expand button should be shown.
|
|
504
|
+
* @private
|
|
505
|
+
*/
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Method for focusing the expand button of the header title.
|
|
509
|
+
*
|
|
510
|
+
* @function
|
|
511
|
+
* @name sap.uxap.IHeaderTitle._focusExpandButton
|
|
512
|
+
* @ui5-restricted
|
|
513
|
+
* @private
|
|
514
|
+
*/
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Method for toggling the focusing ability of the header title.
|
|
518
|
+
*
|
|
519
|
+
* @function
|
|
520
|
+
* @name sap.uxap.IHeaderTitle._toggleFocusableState
|
|
521
|
+
* @ui5-restricted
|
|
522
|
+
* @param {boolean} bFocusable Whether or not header title should be focusable.
|
|
523
|
+
* @private
|
|
524
|
+
*/
|
|
525
|
+
|
|
399
526
|
/**
|
|
400
527
|
*
|
|
401
528
|
* Interface for controls that are eligible for the <code>headerContent</code> aggregation
|
|
@@ -420,6 +547,87 @@ sap.ui.define([
|
|
|
420
547
|
* @see {@link topic:d2ef0099542d44dc868719d908e576d0 Object Page Headers}
|
|
421
548
|
*/
|
|
422
549
|
|
|
423
|
-
|
|
550
|
+
/**
|
|
551
|
+
* Static method for creating an instance of the header content.
|
|
552
|
+
*
|
|
553
|
+
* @function
|
|
554
|
+
* @name sap.uxap.IHeaderContent.createInstance
|
|
555
|
+
* @ui5-restricted
|
|
556
|
+
* @param {array} aContent The content array for the instance
|
|
557
|
+
* @param {boolean} bVisible Whether the instance should be visible
|
|
558
|
+
* @param {string} sContentDesign The content design
|
|
559
|
+
* @param {boolean} bPinnable Whether the instance is pinnable
|
|
560
|
+
* @param {string} sStableId Stable ID text
|
|
561
|
+
* @private
|
|
562
|
+
*/
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Method for checking if the header content supports pin button.
|
|
566
|
+
*
|
|
567
|
+
* @function
|
|
568
|
+
* @name sap.uxap.IHeaderContent.supportsPinUnpin
|
|
569
|
+
* @ui5-restricted
|
|
570
|
+
* @private
|
|
571
|
+
* @returns {boolean} Whether or not the header content supports pin button.
|
|
572
|
+
*/
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Method for checking if the header content supports child page design (ObjectPageLayout related).
|
|
576
|
+
*
|
|
577
|
+
* @function
|
|
578
|
+
* @name sap.uxap.IHeaderContent.supportsChildPageDesign
|
|
579
|
+
* @ui5-restricted
|
|
580
|
+
* @private
|
|
581
|
+
* @returns {boolean} Whether or not the header content supports child page design (ObjectPageLayout related).
|
|
582
|
+
*/
|
|
424
583
|
|
|
584
|
+
/**
|
|
585
|
+
* Method for checking if always expanded header content is supported.
|
|
586
|
+
*
|
|
587
|
+
* @function
|
|
588
|
+
* @name sap.uxap.IHeaderContent.supportsAlwaysExpanded
|
|
589
|
+
* @ui5-restricted
|
|
590
|
+
* @private
|
|
591
|
+
* @returns {boolean} Whether or not supports always expanded header content.
|
|
592
|
+
*/
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Toggles the collapse button's visibility of the header content.
|
|
596
|
+
*
|
|
597
|
+
* @function
|
|
598
|
+
* @name sap.uxap.IHeaderContent._toggleCollapseButton
|
|
599
|
+
* @ui5-restricted
|
|
600
|
+
* @param {boolean} bToggle Whether the collapse button should be shown or not
|
|
601
|
+
* @private
|
|
602
|
+
*/
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Internal setter for the collapse button's visibility of the header content.
|
|
606
|
+
*
|
|
607
|
+
* @function
|
|
608
|
+
* @name sap.uxap.IHeaderContent._setShowCollapseButton
|
|
609
|
+
* @ui5-restricted
|
|
610
|
+
* @param {boolean} bToggle Whether the collapse button should be shown or not
|
|
611
|
+
* @private
|
|
612
|
+
*/
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Focuses the collapse button of the header content.
|
|
616
|
+
*
|
|
617
|
+
* @function
|
|
618
|
+
* @name sap.uxap.IHeaderContent._focusCollapseButton
|
|
619
|
+
* @ui5-restricted
|
|
620
|
+
* @private
|
|
621
|
+
*/
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Focuses the pin button of the header content.
|
|
625
|
+
*
|
|
626
|
+
* @function
|
|
627
|
+
* @name sap.uxap.IHeaderContent._focusPinButton
|
|
628
|
+
* @ui5-restricted
|
|
629
|
+
* @private
|
|
630
|
+
*/
|
|
631
|
+
|
|
632
|
+
return thisLib;
|
|
425
633
|
});
|
|
@@ -126,10 +126,12 @@ html[data-sap-ui-browser^="ie"].sap-desktop {
|
|
|
126
126
|
overflow: auto;
|
|
127
127
|
line-height: inherit;
|
|
128
128
|
border-bottom: none;
|
|
129
|
-
|
|
129
|
+
position: relative;
|
|
130
|
+
top: 1rem;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
.sapUxAPObjectPageSection.sapUxAPObjectPageSectionWrapTitle
|
|
133
134
|
.sapUxAPObjectPageSectionHeader {
|
|
134
135
|
height: auto;
|
|
136
|
+
padding-bottom: 0;
|
|
135
137
|
}
|