@openui5/sap.uxap 1.94.0 → 1.95.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 +1 -6
- package/THIRDPARTY.txt +3 -9
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/AnchorBar.js +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 +22 -27
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSection.js +1 -1
- package/src/sap/uxap/ObjectPageSubSection.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/library.js +2 -2
package/.reuse/dep5
CHANGED
|
@@ -309,7 +309,7 @@ License: MIT
|
|
|
309
309
|
Comment: these files belong to: lodash
|
|
310
310
|
|
|
311
311
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
312
|
-
Copyright:
|
|
312
|
+
Copyright: 2021 Mathias Nater
|
|
313
313
|
License: MIT
|
|
314
314
|
Comment: these files belong to: Hyphenopoly
|
|
315
315
|
|
|
@@ -347,11 +347,6 @@ Copyright: 2013 Ariya Hidayat and other contributors
|
|
|
347
347
|
License: BSD-2-Clause
|
|
348
348
|
Comment: these files belong to: Esprima
|
|
349
349
|
|
|
350
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
351
|
-
Copyright: 2006 Google Inc.
|
|
352
|
-
License: Apache-2.0
|
|
353
|
-
Comment: these files belong to: google-code-prettify
|
|
354
|
-
|
|
355
350
|
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
356
351
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
357
352
|
License: BSD-3-Clause
|
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.ui.codeeditor:
|
|
8
8
|
|
|
9
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.
|
|
9
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
|
|
10
10
|
Copyright: 2010, Ajax.org B.V.
|
|
11
11
|
License: BSD-3-Clause
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -279,8 +279,8 @@ License: MIT
|
|
|
279
279
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
280
280
|
Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
|
|
281
281
|
|
|
282
|
-
Component: Hyphenopoly, version:
|
|
283
|
-
Copyright:
|
|
282
|
+
Component: Hyphenopoly, version: 3.4.0
|
|
283
|
+
Copyright: 2021 Mathias Nater
|
|
284
284
|
License: MIT
|
|
285
285
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
286
286
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
@@ -324,12 +324,6 @@ License: BSD-2-Clause
|
|
|
324
324
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
|
|
325
325
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
|
|
326
326
|
|
|
327
|
-
Component: google-code-prettify, version: 20130304
|
|
328
|
-
Copyright: 2006 Google Inc.
|
|
329
|
-
License: Apache-2.0
|
|
330
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
331
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
332
|
-
|
|
333
327
|
Component: highlight.js, version: 10.4.1
|
|
334
328
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
335
329
|
License: BSD-3-Clause
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.95.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.95.0",
|
|
18
|
+
"@openui5/sap.m": "1.95.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.95.0",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.95.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.95.0</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -624,7 +624,7 @@ sap.ui.define([
|
|
|
624
624
|
|
|
625
625
|
if (this._iCurrentScrollTimeout) {
|
|
626
626
|
clearTimeout(this._iCurrentScrollTimeout);
|
|
627
|
-
|
|
627
|
+
this.$("scroll").parent().stop(true, false);
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
this._iCurrentScrollTimeout = setTimeout(function () {
|
|
@@ -1565,17 +1565,17 @@ sap.ui.define([
|
|
|
1565
1565
|
};
|
|
1566
1566
|
|
|
1567
1567
|
ObjectPageLayout.prototype._cacheDomElements = function () {
|
|
1568
|
-
this._$footerWrapper =
|
|
1569
|
-
this._$titleArea =
|
|
1570
|
-
this._$anchorBar =
|
|
1571
|
-
this._$stickyAnchorBar =
|
|
1572
|
-
this._$opWrapper =
|
|
1573
|
-
this._$spacer =
|
|
1574
|
-
this._$headerContent =
|
|
1575
|
-
this._$stickyHeaderContent =
|
|
1576
|
-
this._$contentContainer =
|
|
1577
|
-
this._$sectionsContainer =
|
|
1578
|
-
this._$skipFastGroupAnchor =
|
|
1568
|
+
this._$footerWrapper = this.$("footerWrapper");
|
|
1569
|
+
this._$titleArea = this.$("headerTitle");
|
|
1570
|
+
this._$anchorBar = this.$("anchorBar");
|
|
1571
|
+
this._$stickyAnchorBar = this.$("stickyAnchorBar");
|
|
1572
|
+
this._$opWrapper = this.$("opwrapper");
|
|
1573
|
+
this._$spacer = this.$("spacer");
|
|
1574
|
+
this._$headerContent = this.$("headerContent");
|
|
1575
|
+
this._$stickyHeaderContent = this.$("stickyHeaderContent");
|
|
1576
|
+
this._$contentContainer = this.$("scroll");
|
|
1577
|
+
this._$sectionsContainer = this.$("sectionsContainer");
|
|
1578
|
+
this._$skipFastGroupAnchor = this.$("skipFastGroupAnchor");
|
|
1579
1579
|
|
|
1580
1580
|
// BCP 1870201875: explicitly set the latest scrollContainer dom ref
|
|
1581
1581
|
// (as the scroller obtains the latest scrollContainer dom ref in a LATER hook, which fails in conditions detailed in BCP 1870201875)
|
|
@@ -2531,7 +2531,6 @@ sap.ui.define([
|
|
|
2531
2531
|
var oInfo = this._oSectionInfo[oSectionBase.getId()],
|
|
2532
2532
|
$this = oSectionBase.$(),
|
|
2533
2533
|
oSection,
|
|
2534
|
-
$title,
|
|
2535
2534
|
bPromoted = false;
|
|
2536
2535
|
|
|
2537
2536
|
if (!oInfo /* sectionBase is visible */ || !$this.length) {
|
|
@@ -2551,19 +2550,15 @@ sap.ui.define([
|
|
|
2551
2550
|
//the amount of scrolling required is the distance between their position().top and the bottom of the anchorBar
|
|
2552
2551
|
oInfo.positionTop = Math.ceil(realTop);
|
|
2553
2552
|
|
|
2554
|
-
if (oInfo.isSection) {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
// the scrollTop required to scroll to a promoted subsection
|
|
2564
|
-
// is the top of the parent section (UX rule)
|
|
2565
|
-
var parentRealTop = oSection.$().position().top;
|
|
2566
|
-
oInfo.positionTop = Math.ceil(parentRealTop);
|
|
2553
|
+
if (!oInfo.isSection && (oSection = oSectionBase.getParent())) {
|
|
2554
|
+
// a promoted subSection borrows the title of its parent section
|
|
2555
|
+
bPromoted = oSectionBase._getTitleDomId() === oSection.getId() + "-title";
|
|
2556
|
+
if (bPromoted) {
|
|
2557
|
+
// the scrollTop required to scroll to a promoted subsection
|
|
2558
|
+
// is the top of the parent section (UX rule)
|
|
2559
|
+
var parentRealTop = oSection.$().position().top;
|
|
2560
|
+
oInfo.positionTop = Math.ceil(parentRealTop);
|
|
2561
|
+
}
|
|
2567
2562
|
}
|
|
2568
2563
|
|
|
2569
2564
|
if (!this._bStickyAnchorBar && !this._bHeaderInTitleArea) { // in sticky mode the anchor bar is not part of the content
|
|
@@ -3298,12 +3293,12 @@ sap.ui.define([
|
|
|
3298
3293
|
if (iScrollTop === 0) {
|
|
3299
3294
|
// if we have arrow from the title inside the ContentHeader and the ContentHeader isn't scrolled we have to put higher z-index to the ContentHeader
|
|
3300
3295
|
// otherwise part of the arrow is cut off
|
|
3301
|
-
|
|
3296
|
+
this.$("scroll").css("z-index", "1000");
|
|
3302
3297
|
bScrolled = false;
|
|
3303
3298
|
} else if (!bScrolled) {
|
|
3304
3299
|
bScrolled = true;
|
|
3305
3300
|
// and we have to "reset" the z-index it when we start scrolling
|
|
3306
|
-
|
|
3301
|
+
this.$("scroll").css("z-index", "0");
|
|
3307
3302
|
}
|
|
3308
3303
|
}
|
|
3309
3304
|
};
|
|
@@ -147,7 +147,7 @@ sap.ui.define([
|
|
|
147
147
|
ObjectPageSection.prototype._updateImportance = function (oCurrentMedia) {
|
|
148
148
|
var oObjectPage = this._getObjectPageLayout(),
|
|
149
149
|
sImportanceLevelToHide = this._getImportanceLevelToHide(oCurrentMedia),
|
|
150
|
-
oHeaderDOM = this.bOutput &&
|
|
150
|
+
oHeaderDOM = this.bOutput && this.getDomRef("header");
|
|
151
151
|
|
|
152
152
|
this.getSubSections().forEach(function (oSubSection) {
|
|
153
153
|
oSubSection._applyImportanceRules(sImportanceLevelToHide);
|
|
@@ -512,7 +512,7 @@ sap.ui.define([
|
|
|
512
512
|
return;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
this._$spacer =
|
|
515
|
+
this._$spacer = oObjectPageLayout.$("spacer");
|
|
516
516
|
|
|
517
517
|
if (this._bShouldFocusSeeMoreLessButton) {
|
|
518
518
|
this._bShouldFocusSeeMoreLessButton = false;
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @namespace
|
|
25
25
|
* @name sap.uxap
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.95.0
|
|
28
28
|
* @since 1.36
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
70
70
|
"sap.uxap.ObjectPageLazyLoader"
|
|
71
71
|
],
|
|
72
|
-
version: "1.
|
|
72
|
+
version: "1.95.0",
|
|
73
73
|
extensions: {
|
|
74
74
|
flChangeHandlers: {
|
|
75
75
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|