@openui5/sap.tnt 1.96.11 → 1.96.13
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 +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/THIRDPARTY.txt
CHANGED
|
@@ -456,7 +456,7 @@ License: Apache-2.0
|
|
|
456
456
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
457
457
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
458
458
|
|
|
459
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
459
|
+
Component: SAP Theming Base Content, version: 11.1.42
|
|
460
460
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
461
461
|
License: Apache-2.0
|
|
462
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.tnt",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.13",
|
|
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.96.
|
|
18
|
-
"@openui5/sap.ui.core": "1.96.
|
|
17
|
+
"@openui5/sap.m": "1.96.13",
|
|
18
|
+
"@openui5/sap.ui.core": "1.96.13"
|
|
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.96.
|
|
9
|
+
<version>1.96.13</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(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap
|
|
|
32
32
|
* @extends sap.ui.core.Item
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.96.
|
|
35
|
+
* @version 1.96.13
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -930,7 +930,6 @@ sap.ui.define(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap
|
|
|
930
930
|
};
|
|
931
931
|
|
|
932
932
|
NavigationListItem.prototype.onfocusin = function(event) {
|
|
933
|
-
|
|
934
933
|
if (event.srcControl !== this) {
|
|
935
934
|
return;
|
|
936
935
|
}
|
|
@@ -939,23 +938,23 @@ sap.ui.define(["sap/ui/thirdparty/jquery", "./library", 'sap/ui/core/Core', "sap
|
|
|
939
938
|
};
|
|
940
939
|
|
|
941
940
|
NavigationListItem.prototype._updateAccessibilityText = function() {
|
|
942
|
-
var
|
|
943
|
-
|
|
944
|
-
bundle = this._resourceBundleMLib,
|
|
945
|
-
$focusedItem = this._getAccessibilityItem(),
|
|
946
|
-
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
947
|
-
text = selected;
|
|
941
|
+
var navList = this.getNavigationList(),
|
|
942
|
+
invisibleText = NavigationListItem._getInvisibleText();
|
|
948
943
|
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
954
|
-
itemText = this.getText();
|
|
944
|
+
if (!navList.getExpanded()) {
|
|
945
|
+
invisibleText.setText("");
|
|
946
|
+
return;
|
|
947
|
+
}
|
|
955
948
|
|
|
956
|
-
|
|
949
|
+
// for role "treeitem" we have to manually describe the role and position
|
|
950
|
+
var bundle = this._resourceBundleMLib,
|
|
951
|
+
$focusedItem = this._getAccessibilityItem(),
|
|
952
|
+
selected = navList._selectedItem === this ? bundle.getText("LIST_ITEM_SELECTED") : '',
|
|
953
|
+
accType = bundle.getText("ACC_CTR_TYPE_TREEITEM"),
|
|
954
|
+
mPosition = this._getAccessibilityPosition(),
|
|
955
|
+
itemPosition = bundle.getText("LIST_ITEM_POSITION", [mPosition.index, mPosition.size]),
|
|
956
|
+
itemText = this.getText(),
|
|
957
957
|
text = accType + " " + selected + " " + itemText + " " + itemPosition;
|
|
958
|
-
}
|
|
959
958
|
|
|
960
959
|
invisibleText.setText(text);
|
|
961
960
|
$focusedItem.addAriaLabelledBy(invisibleText.getId());
|
package/src/sap/tnt/ToolPage.js
CHANGED
package/src/sap/tnt/library.js
CHANGED
|
@@ -17,7 +17,7 @@ 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.96.
|
|
20
|
+
* @version 1.96.13
|
|
21
21
|
* @since 1.36
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/ui/core/library", "sap/m/library"],
|
|
|
25
25
|
// delegate further initialization of this library to the Core
|
|
26
26
|
sap.ui.getCore().initLibrary({
|
|
27
27
|
name : "sap.tnt",
|
|
28
|
-
version: "1.96.
|
|
28
|
+
version: "1.96.13",
|
|
29
29
|
dependencies : ["sap.ui.core", "sap.m"],
|
|
30
30
|
designtime: "sap/tnt/designtime/library.designtime",
|
|
31
31
|
types: [
|