@openui5/sap.uxap 1.96.7 → 1.96.10
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/AnchorBar.js +2 -4
- package/src/sap/uxap/AnchorBarRenderer.js +1 -6
- 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 +6 -2
- 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/library.js +2 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.11
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
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.96.
|
|
3
|
+
"version": "1.96.10",
|
|
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.96.
|
|
18
|
-
"@openui5/sap.m": "1.96.
|
|
19
|
-
"@openui5/sap.ui.core": "1.96.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.96.
|
|
17
|
+
"@openui5/sap.f": "1.96.10",
|
|
18
|
+
"@openui5/sap.m": "1.96.10",
|
|
19
|
+
"@openui5/sap.ui.core": "1.96.10",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.96.10"
|
|
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.96.
|
|
6
|
+
<version>1.96.10</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -489,7 +489,7 @@ sap.ui.define([
|
|
|
489
489
|
AnchorBar.prototype._applyHierarchicalSelectMode = function () {
|
|
490
490
|
|
|
491
491
|
if (this._sHierarchicalSelectMode === AnchorBarRenderer._AnchorBarHierarchicalSelectMode.Icon) {
|
|
492
|
-
this.
|
|
492
|
+
this.$().find(".sapUxAPAnchorBarScrollContainer").show();
|
|
493
493
|
|
|
494
494
|
this._oSelect.setWidth("auto");
|
|
495
495
|
this._oSelect.setAutoAdjustWidth(true);
|
|
@@ -497,7 +497,7 @@ sap.ui.define([
|
|
|
497
497
|
this._computeBarSectionsInfo();
|
|
498
498
|
|
|
499
499
|
} else {
|
|
500
|
-
this.
|
|
500
|
+
this.$().find(".sapUxAPAnchorBarScrollContainer").hide();
|
|
501
501
|
|
|
502
502
|
this._oSelect.setWidth("100%");
|
|
503
503
|
this._oSelect.setAutoAdjustWidth(false);
|
|
@@ -505,8 +505,6 @@ sap.ui.define([
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
this.$().toggleClass("sapUxAPAnchorBarOverflow", this._sHierarchicalSelectMode === AnchorBarRenderer._AnchorBarHierarchicalSelectMode.Icon);
|
|
508
|
-
|
|
509
|
-
this.invalidate();
|
|
510
508
|
};
|
|
511
509
|
|
|
512
510
|
AnchorBar.prototype._adjustSize = function (oEvent) {
|
|
@@ -27,9 +27,6 @@ sap.ui.define(["sap/m/ToolbarRenderer", "sap/ui/core/Renderer", "sap/m/BarInPage
|
|
|
27
27
|
rm.renderControl(oToolbar._getScrollArrowLeft());
|
|
28
28
|
|
|
29
29
|
rm.openStart("div", oToolbar.getId() + "-scrollContainer");
|
|
30
|
-
if (oToolbar._bHideScrollContainer) {
|
|
31
|
-
rm.style("display", "none");
|
|
32
|
-
}
|
|
33
30
|
// ARIA attributes
|
|
34
31
|
rm.class("sapUxAPAnchorBarScrollContainer")
|
|
35
32
|
.openEnd();
|
|
@@ -40,9 +37,7 @@ sap.ui.define(["sap/m/ToolbarRenderer", "sap/ui/core/Renderer", "sap/m/BarInPage
|
|
|
40
37
|
.attr("aria-label", sap.ui.getCore().getLibraryResourceBundle("sap.uxap").getText("ANCHOR_BAR_ARIA_LABEL"))
|
|
41
38
|
.openEnd();
|
|
42
39
|
|
|
43
|
-
|
|
44
|
-
AnchorBarRenderer.renderBarItems(rm, oToolbar);
|
|
45
|
-
}
|
|
40
|
+
AnchorBarRenderer.renderBarItems(rm, oToolbar);
|
|
46
41
|
|
|
47
42
|
rm.close("div");
|
|
48
43
|
|
|
@@ -3321,6 +3321,8 @@ sap.ui.define([
|
|
|
3321
3321
|
|
|
3322
3322
|
var iPageHeight = this.iScreenHeight,
|
|
3323
3323
|
sClosestId,
|
|
3324
|
+
oClosestSection,
|
|
3325
|
+
sClosestSectionId,
|
|
3324
3326
|
sClosestSubSectionId;
|
|
3325
3327
|
|
|
3326
3328
|
if (iPageHeight === 0) {
|
|
@@ -3329,6 +3331,8 @@ sap.ui.define([
|
|
|
3329
3331
|
|
|
3330
3332
|
//find the currently scrolled section = where position - iScrollTop is closest to 0
|
|
3331
3333
|
sClosestId = this._getClosestScrolledSectionId(iScrollTop, iPageHeight);
|
|
3334
|
+
oClosestSection = ObjectPageSection._getClosestSection(sClosestId);
|
|
3335
|
+
sClosestSectionId = oClosestSection ? oClosestSection.getId() : null;
|
|
3332
3336
|
sClosestSubSectionId = this._getClosestScrolledSectionId(iScrollTop, iPageHeight, true /* subSections only */);
|
|
3333
3337
|
|
|
3334
3338
|
if (sClosestId) {
|
|
@@ -3348,13 +3352,13 @@ sap.ui.define([
|
|
|
3348
3352
|
// then we do not want to process intermediate sections (i.e. sections between scroll-start section and scroll-destination sections)
|
|
3349
3353
|
// so if current section is not destination section
|
|
3350
3354
|
// then no need to proceed further
|
|
3351
|
-
if (sDestinationSectionId && sDestinationSectionId !==
|
|
3355
|
+
if (sDestinationSectionId && sDestinationSectionId !== sClosestSectionId) {
|
|
3352
3356
|
return;
|
|
3353
3357
|
}
|
|
3354
3358
|
this.clearDirectScrollingToSection();
|
|
3355
3359
|
|
|
3356
3360
|
this._setAsCurrentSection(sClosestId);
|
|
3357
|
-
} else if (
|
|
3361
|
+
} else if (sClosestSectionId === this.getDirectScrollingToSection()) { //we are already in the destination section
|
|
3358
3362
|
this.clearDirectScrollingToSection();
|
|
3359
3363
|
}
|
|
3360
3364
|
|
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.96.
|
|
27
|
+
* @version 1.96.10
|
|
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.96.
|
|
72
|
+
version: "1.96.10",
|
|
73
73
|
extensions: {
|
|
74
74
|
flChangeHandlers: {
|
|
75
75
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|