@openui5/sap.tnt 1.71.44 → 1.71.47
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/LICENSE.txt +1 -1
- 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 +13 -8
- 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/LICENSE.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.tnt",
|
|
3
|
-
"version": "1.71.
|
|
3
|
+
"version": "1.71.47",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.core": "1.71.
|
|
17
|
+
"@openui5/sap.m": "1.71.47",
|
|
18
|
+
"@openui5/sap.ui.core": "1.71.47"
|
|
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.71.
|
|
9
|
+
<version>1.71.47</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.71.
|
|
35
|
+
* @version 1.71.47
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -786,21 +786,26 @@ sap.ui.define(["./library", 'sap/ui/core/Core', "sap/ui/core/Item", 'sap/ui/core
|
|
|
786
786
|
this._updateAccessibilityText();
|
|
787
787
|
};
|
|
788
788
|
|
|
789
|
-
|
|
790
789
|
NavigationListItem.prototype._updateAccessibilityText = function() {
|
|
791
790
|
var invisibleText = NavigationListItem._getInvisibleText(),
|
|
792
791
|
navList = this.getNavigationList(),
|
|
793
792
|
bundle = this._resourceBundleMLib,
|
|
794
|
-
accType = navList.getExpanded() ? bundle.getText("ACC_CTR_TYPE_TREEITEM") : '',
|
|
795
793
|
$focusedItem = this._getAccessibilityItem(),
|
|
796
|
-
mPosition = this._getAccessibilityPosition(),
|
|
797
|
-
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
798
794
|
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
799
|
-
|
|
800
|
-
text = accType + " " + itemPosition + " " + selected + " " + itemText;
|
|
795
|
+
text = selected;
|
|
801
796
|
|
|
802
|
-
|
|
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();
|
|
803
803
|
|
|
804
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]);
|
|
805
|
+
text = accType + " " + selected + " " + itemText + " " + itemPosition;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
invisibleText.setText(text);
|
|
804
809
|
$focusedItem.addAriaLabelledBy(invisibleText.getId());
|
|
805
810
|
};
|
|
806
811
|
|
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.71.
|
|
20
|
+
* @version 1.71.47
|
|
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.
|
|
27
|
+
version: "1.71.47",
|
|
28
28
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
29
29
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
30
30
|
types: [
|