@openui5/sap.tnt 1.84.27 → 1.84.28
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 +3 -3
- package/src/sap/tnt/.library +1 -1
- package/src/sap/tnt/InfoLabel.js +1 -1
- package/src/sap/tnt/NavigationList.js +1 -1
- package/src/sap/tnt/NavigationListItem.js +15 -16
- package/src/sap/tnt/SideNavigation.js +1 -1
- package/src/sap/tnt/ToolHeader.js +1 -1
- package/src/sap/tnt/ToolHeaderUtilitySeparator.js +1 -1
- package/src/sap/tnt/ToolPage.js +1 -1
- package/src/sap/tnt/library.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.tnt",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.28",
|
|
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.84.
|
|
18
|
-
"@openui5/sap.ui.core": "1.84.
|
|
17
|
+
"@openui5/sap.m": "1.84.28",
|
|
18
|
+
"@openui5/sap.ui.core": "1.84.28"
|
|
19
19
|
}
|
|
20
20
|
}
|
package/src/sap/tnt/.library
CHANGED
|
@@ -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.84.
|
|
9
|
+
<version>1.84.28</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with responsive controls.</documentation>
|
|
12
12
|
|
package/src/sap/tnt/InfoLabel.js
CHANGED
|
@@ -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.84.
|
|
35
|
+
* @version 1.84.28
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -927,7 +927,6 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
|
|
|
927
927
|
};
|
|
928
928
|
|
|
929
929
|
NavigationListItem.prototype.onfocusin = function(event) {
|
|
930
|
-
|
|
931
930
|
if (event.srcControl !== this) {
|
|
932
931
|
return;
|
|
933
932
|
}
|
|
@@ -936,23 +935,23 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
|
|
|
936
935
|
};
|
|
937
936
|
|
|
938
937
|
NavigationListItem.prototype._updateAccessibilityText = function() {
|
|
939
|
-
var
|
|
940
|
-
|
|
941
|
-
bundle = this._resourceBundleMLib,
|
|
942
|
-
$focusedItem = this._getAccessibilityItem(),
|
|
943
|
-
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
944
|
-
text = selected;
|
|
938
|
+
var navList = this.getNavigationList(),
|
|
939
|
+
invisibleText = NavigationListItem._getInvisibleText();
|
|
945
940
|
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
951
|
-
itemText = this.getText();
|
|
941
|
+
if (!navList.getExpanded()) {
|
|
942
|
+
invisibleText.setText("");
|
|
943
|
+
return;
|
|
944
|
+
}
|
|
952
945
|
|
|
953
|
-
|
|
946
|
+
// for role "treeitem" we have to manually describe the role and position
|
|
947
|
+
var bundle = this._resourceBundleMLib,
|
|
948
|
+
$focusedItem = this._getAccessibilityItem(),
|
|
949
|
+
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
950
|
+
accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
|
|
951
|
+
mPosition = this._getAccessibilityPosition(),
|
|
952
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
953
|
+
itemText = this.getText(),
|
|
954
954
|
text = accType + " " + selected + " " + itemText + " " + itemPosition;
|
|
955
|
-
}
|
|
956
955
|
|
|
957
956
|
invisibleText.setText(text);
|
|
958
957
|
$focusedItem.addAriaLabelledBy(invisibleText.getId());
|
package/src/sap/tnt/ToolPage.js
CHANGED
package/src/sap/tnt/library.js
CHANGED
|
@@ -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.84.
|
|
20
|
+
* @version 1.84.28
|
|
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.84.
|
|
27
|
+
version: "1.84.28",
|
|
28
28
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
29
29
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
30
30
|
types: [
|