@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 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.10
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.7",
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.7",
18
- "@openui5/sap.m": "1.96.7",
19
- "@openui5/sap.ui.core": "1.96.7",
20
- "@openui5/sap.ui.layout": "1.96.7"
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
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  <name>sap.uxap</name>
5
5
  <vendor>SAP SE</vendor>
6
- <version>1.96.7</version>
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._bHideScrollContainer = false;
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._bHideScrollContainer = true;
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
- if (!oToolbar._bHideScrollContainer) {
44
- AnchorBarRenderer.renderBarItems(rm, oToolbar);
45
- }
40
+ AnchorBarRenderer.renderBarItems(rm, oToolbar);
46
41
 
47
42
  rm.close("div");
48
43
 
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @class
23
23
  * @author SAP SE
24
- * @version 1.96.7
24
+ * @version 1.96.10
25
25
  * @since 1.26
26
26
  * @alias sap.uxap.BlockBaseMetadata
27
27
  * @extends sap.ui.core.ElementMetadata
@@ -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.96.7
25
+ * @version 1.96.10
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @implements sap.uxap.IHeaderContent
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.96.7
44
+ * @version 1.96.10
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @implements sap.uxap.IHeaderTitle
43
43
  *
44
44
  * @author SAP SE
45
- * @version 1.96.7
45
+ * @version 1.96.10
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -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 !== sClosestId) {
3355
+ if (sDestinationSectionId && sDestinationSectionId !== sClosestSectionId) {
3352
3356
  return;
3353
3357
  }
3354
3358
  this.clearDirectScrollingToSection();
3355
3359
 
3356
3360
  this._setAsCurrentSection(sClosestId);
3357
- } else if (sClosestId === this.getDirectScrollingToSection()) { //we are already in the destination section
3361
+ } else if (sClosestSectionId === this.getDirectScrollingToSection()) { //we are already in the destination section
3358
3362
  this.clearDirectScrollingToSection();
3359
3363
  }
3360
3364
 
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Element
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.96.7
40
+ * @version 1.96.10
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -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.96.7
28
+ * @version 1.96.10
29
29
  * @since 1.75
30
30
  * @experimental Since 1.75
31
31
  */
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/fl/changeHandler/MoveControls", "sap/ui/core/Core", "sap/
13
13
  * @constructor
14
14
  * @alias sap.uxap.changeHandler.MoveObjectPageSection
15
15
  * @author SAP SE
16
- * @version 1.96.7
16
+ * @version 1.96.10
17
17
  * @experimental Since 1.54
18
18
  */
19
19
 
@@ -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.96.7
24
+ * @version 1.96.10
25
25
  * @experimental Since 1.50
26
26
  */
27
27
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @namespace
25
25
  * @name sap.uxap
26
26
  * @author SAP SE
27
- * @version 1.96.7
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.7",
72
+ version: "1.96.10",
73
73
  extensions: {
74
74
  flChangeHandlers: {
75
75
  "sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",