@openui5/sap.tnt 1.71.47 → 1.71.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.tnt",
3
- "version": "1.71.47",
3
+ "version": "1.71.51",
4
4
  "description": "OpenUI5 UI Library sap.tnt",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.m": "1.71.47",
18
- "@openui5/sap.ui.core": "1.71.47"
17
+ "@openui5/sap.m": "1.71.51",
18
+ "@openui5/sap.ui.core": "1.71.51"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.71.47</version>
9
+ <version>1.71.51</version>
10
10
 
11
11
  <documentation>SAPUI5 library with responsive controls.</documentation>
12
12
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.71.47
51
+ * @version 1.71.51
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.71.47
44
+ * @version 1.71.51
45
45
  *
46
46
  * @constructor
47
47
  * @public
@@ -32,7 +32,7 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
32
32
  * @extends sap.ui.core.Item
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.71.47
35
+ * @version 1.71.51
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -778,7 +778,6 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
778
778
 
779
779
 
780
780
  NavigationListItem.prototype.onfocusin = function(event) {
781
-
782
781
  if (event.srcControl !== this) {
783
782
  return;
784
783
  }
@@ -787,23 +786,23 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
787
786
  };
788
787
 
789
788
  NavigationListItem.prototype._updateAccessibilityText = function() {
790
- var invisibleText = NavigationListItem._getInvisibleText(),
791
- navList = this.getNavigationList(),
792
- bundle = this._resourceBundleMLib,
793
- $focusedItem = this._getAccessibilityItem(),
794
- selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
795
- text = selected;
789
+ var navList = this.getNavigationList(),
790
+ invisibleText = NavigationListItem._getInvisibleText();
796
791
 
797
- // for role "treeitem" we have to manually describe the role and position
798
- if (navList.getExpanded()) {
799
- var accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
800
- mPosition = this._getAccessibilityPosition(),
801
- itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
802
- itemText = this.getText();
792
+ if (!navList.getExpanded()) {
793
+ invisibleText.setText("");
794
+ return;
795
+ }
803
796
 
804
- itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]);
797
+ // for role "treeitem" we have to manually describe the role and position
798
+ var bundle = this._resourceBundleMLib,
799
+ $focusedItem = this._getAccessibilityItem(),
800
+ selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
801
+ accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
802
+ mPosition = this._getAccessibilityPosition(),
803
+ itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
804
+ itemText = this.getText(),
805
805
  text = accType + " " + selected + " " + itemText + " " + itemPosition;
806
- }
807
806
 
808
807
  invisibleText.setText(text);
809
808
  $focusedItem.addAriaLabelledBy(invisibleText.getId());
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.71.47
43
+ * @version 1.71.51
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -126,7 +126,7 @@ sap.ui.define([
126
126
  * @implements sap.tnt.IToolHeader
127
127
  *
128
128
  * @author SAP SE
129
- * @version 1.71.47
129
+ * @version 1.71.51
130
130
  *
131
131
  * @constructor
132
132
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/Control'],
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.71.47
25
+ * @version 1.71.51
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.71.47
34
+ * @version 1.71.51
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -17,14 +17,14 @@ sap.ui.define(["sap/ui/core/library", "sap/m/library"],
17
17
  * @namespace
18
18
  * @name sap.tnt
19
19
  * @author SAP SE
20
- * @version 1.71.47
20
+ * @version 1.71.51
21
21
  * @public
22
22
  */
23
23
 
24
24
  // delegate further initialization of this library to the Core
25
25
  sap.ui.getCore().initLibrary({
26
26
  name : "sap.tnt",
27
- version: "1.71.47",
27
+ version: "1.71.51",
28
28
  dependencies : ["sap.ui.core", "sap.m"],
29
29
  designtime: "sap/tnt/designtime/library.designtime",
30
30
  types: [