@openui5/sap.ui.table 1.142.0 → 1.142.2
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/REUSE.toml +1 -1
- package/THIRDPARTY.txt +2 -2
- package/package.json +3 -3
- package/src/sap/ui/table/.library +2 -2
- package/src/sap/ui/table/AnalyticalColumn.js +2 -2
- package/src/sap/ui/table/AnalyticalColumnMenu.js +2 -2
- package/src/sap/ui/table/AnalyticalTable.js +2 -2
- package/src/sap/ui/table/Column.js +2 -2
- package/src/sap/ui/table/ColumnMenu.js +2 -2
- package/src/sap/ui/table/CreationRow.js +2 -2
- package/src/sap/ui/table/CreationRowRenderer.js +1 -1
- package/src/sap/ui/table/Row.js +2 -2
- package/src/sap/ui/table/RowAction.js +2 -2
- package/src/sap/ui/table/RowActionItem.js +2 -8
- package/src/sap/ui/table/RowActionRenderer.js +1 -1
- package/src/sap/ui/table/RowSettings.js +2 -2
- package/src/sap/ui/table/Table.js +2 -2
- package/src/sap/ui/table/TablePersoController.js +2 -2
- package/src/sap/ui/table/TableRenderer.js +43 -24
- package/src/sap/ui/table/TreeTable.js +2 -2
- package/src/sap/ui/table/designtime/AnalyticalTable.designtime.js +1 -1
- package/src/sap/ui/table/designtime/Table.designtime.js +1 -1
- package/src/sap/ui/table/designtime/library.designtime.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +57 -17
- package/src/sap/ui/table/extensions/AccessibilityRender.js +2 -2
- package/src/sap/ui/table/extensions/DragAndDrop.js +2 -2
- package/src/sap/ui/table/extensions/ExtensionBase.js +2 -2
- package/src/sap/ui/table/extensions/Keyboard.js +2 -2
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +2 -2
- package/src/sap/ui/table/extensions/Pointer.js +2 -2
- package/src/sap/ui/table/extensions/Scrolling.js +2 -2
- package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
- package/src/sap/ui/table/extensions/Synchronization.js +2 -2
- package/src/sap/ui/table/library.js +11 -11
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +2 -2
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/menus/ContextMenu.js +2 -2
- package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/messagebundle.properties +12 -0
- package/src/sap/ui/table/plugins/BindingSelection.js +2 -2
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4Aggregation.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4Hierarchy.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4MultiLevel.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4MultiSelection.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4Selection.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4SingleSelection.js +2 -2
- package/src/sap/ui/table/plugins/PluginBase.js +2 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +2 -2
- package/src/sap/ui/table/plugins/SelectionPlugin.js +2 -2
- package/src/sap/ui/table/rowmodes/Auto.js +2 -2
- package/src/sap/ui/table/rowmodes/Fixed.js +2 -2
- package/src/sap/ui/table/rowmodes/Interactive.js +2 -2
- package/src/sap/ui/table/rowmodes/RowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/Type.js +1 -1
- package/src/sap/ui/table/rowmodes/Variable.js +2 -2
- package/src/sap/ui/table/rules/Accessibility.support.js +1 -1
- package/src/sap/ui/table/rules/Binding.support.js +1 -1
- package/src/sap/ui/table/rules/ColumnTemplate.support.js +3 -8
- package/src/sap/ui/table/rules/Plugins.support.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +1 -1
- package/src/sap/ui/table/rules/TableHelper.support.js +1 -1
- package/src/sap/ui/table/themes/base/library.source.less +1 -1
- package/src/sap/ui/table/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +2 -2
- package/src/sap/ui/table/utils/_ColumnUtils.js +2 -2
- package/src/sap/ui/table/utils/_GroupingUtils.js +2 -2
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- package/src/sap/ui/table/utils/_MenuUtils.js +2 -2
package/REUSE.toml
CHANGED
|
@@ -385,7 +385,7 @@ SPDX-FileComment = "these files belong to: handlebars"
|
|
|
385
385
|
[[annotations]]
|
|
386
386
|
path = "src/sap.ui.core/src/sap/ui/thirdparty/require.js"
|
|
387
387
|
precedence = "aggregate"
|
|
388
|
-
SPDX-FileCopyrightText = "2010-
|
|
388
|
+
SPDX-FileCopyrightText = "2010-2024, jQuery Foundation and other contributors"
|
|
389
389
|
SPDX-License-Identifier = "MIT"
|
|
390
390
|
SPDX-FileComment = "these files belong to: requireJS"
|
|
391
391
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -254,8 +254,8 @@ License: MIT
|
|
|
254
254
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
255
255
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
|
|
256
256
|
|
|
257
|
-
Component: requireJS, version: 2.
|
|
258
|
-
Copyright: 2010-
|
|
257
|
+
Component: requireJS, version: 2.3.7
|
|
258
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
259
259
|
License: MIT
|
|
260
260
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/MIT.txt
|
|
261
261
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.142.
|
|
3
|
+
"version": "1.142.2",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.table",
|
|
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/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.142.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.142.
|
|
17
|
+
"@openui5/sap.ui.core": "1.142.2",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.142.2"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.table</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright
|
|
7
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.142.
|
|
9
|
+
<version>1.142.2</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @extends sap.ui.table.Column
|
|
48
48
|
*
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.142.
|
|
50
|
+
* @version 1.142.2
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
20
20
|
* @extends sap.ui.table.ColumnMenu
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.142.
|
|
23
|
+
* @version 1.142.2
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @see {@link topic:148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
53
53
|
*
|
|
54
54
|
* @extends sap.ui.table.Table
|
|
55
|
-
* @version 1.142.
|
|
55
|
+
* @version 1.142.2
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @class
|
|
64
64
|
* The column allows you to define column specific properties that will be applied when rendering the table.
|
|
65
65
|
* @extends sap.ui.core.Element
|
|
66
|
-
* @version 1.142.
|
|
66
|
+
* @version 1.142.2
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @class
|
|
41
41
|
* The column menu provides all common actions that can be performed on a column.
|
|
42
42
|
* @extends sap.ui.unified.Menu
|
|
43
|
-
* @version 1.142.
|
|
43
|
+
* @version 1.142.2
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* <code>sap.ui.commons</code> library.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.142.
|
|
35
|
+
* @version 1.142.2
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
* @class
|
|
136
136
|
* The row.
|
|
137
137
|
* @extends sap.ui.core.Element
|
|
138
|
-
* @version 1.142.
|
|
138
|
+
* @version 1.142.2
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* of the order in the <code>items</code> aggregation.
|
|
40
40
|
*
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
|
-
* @version 1.142.
|
|
42
|
+
* @version 1.142.2
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @extends sap.ui.core.Element
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.142.
|
|
39
|
+
* @version 1.142.2
|
|
40
40
|
* @since 1.45
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
@@ -100,9 +100,6 @@ sap.ui.define([
|
|
|
100
100
|
return TableUtils.isA(oParent, "sap.ui.table.RowAction") ? oParent : null;
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
/**
|
|
104
|
-
* @inheritDoc
|
|
105
|
-
*/
|
|
106
103
|
Item.prototype.setIcon = function(sIcon) {
|
|
107
104
|
this.setProperty("icon", sIcon, true);
|
|
108
105
|
if (this._oIcon) {
|
|
@@ -111,9 +108,6 @@ sap.ui.define([
|
|
|
111
108
|
return this;
|
|
112
109
|
};
|
|
113
110
|
|
|
114
|
-
/**
|
|
115
|
-
* @inheritDoc
|
|
116
|
-
*/
|
|
117
111
|
Item.prototype.setText = function(sText) {
|
|
118
112
|
this.setProperty("text", sText, true);
|
|
119
113
|
if (this._oIcon) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
28
28
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
29
29
|
* @extends sap.ui.core.Element
|
|
30
|
-
* @version 1.142.
|
|
30
|
+
* @version 1.142.2
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* the data model and binding being used.
|
|
107
107
|
* </p>
|
|
108
108
|
* @extends sap.ui.core.Control
|
|
109
|
-
* @version 1.142.
|
|
109
|
+
* @version 1.142.2
|
|
110
110
|
*
|
|
111
111
|
* @constructor
|
|
112
112
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @extends sap.ui.base.ManagedObject
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.142.
|
|
37
|
+
* @version 1.142.2
|
|
38
38
|
* @since 1.21.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -97,6 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
const oScrollExtension = oTable._getScrollExtension();
|
|
100
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
100
101
|
if (oScrollExtension.isVerticalScrollbarRequired() && !oScrollExtension.isVerticalScrollbarExternal()) {
|
|
101
102
|
rm.class("sapUiTableVScr"); // show vertical scrollbar
|
|
102
103
|
}
|
|
@@ -186,7 +187,7 @@ sap.ui.define([
|
|
|
186
187
|
this.renderTabElement(rm, "sapUiTableCtrlBefore", bDummyTabbable ? "0" : "-1");
|
|
187
188
|
|
|
188
189
|
rm.openStart("div", oTable.getId() + "-sapUiTableGridCnt");
|
|
189
|
-
|
|
190
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Content");
|
|
190
191
|
rm.openEnd();
|
|
191
192
|
|
|
192
193
|
this.renderColRsz(rm, oTable);
|
|
@@ -206,12 +207,12 @@ sap.ui.define([
|
|
|
206
207
|
this.renderHSbBackground(rm, oTable);
|
|
207
208
|
this.renderHSb(rm, oTable);
|
|
208
209
|
|
|
209
|
-
|
|
210
|
+
oAccRenderExtension.writeHiddenAccTexts(rm, oTable);
|
|
210
211
|
|
|
211
212
|
rm.openStart("div", oTable.getId() + "-overlay");
|
|
212
213
|
rm.class("sapUiTableOverlayArea");
|
|
213
214
|
rm.attr("tabindex", "0");
|
|
214
|
-
|
|
215
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Overlay");
|
|
215
216
|
rm.openEnd();
|
|
216
217
|
rm.close("div");
|
|
217
218
|
|
|
@@ -415,12 +416,28 @@ sap.ui.define([
|
|
|
415
416
|
let bEnabled = false;
|
|
416
417
|
let bSelAll = false;
|
|
417
418
|
const mRenderConfig = oTable._getSelectionPlugin().getRenderConfig();
|
|
419
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
418
420
|
|
|
419
421
|
rm.openStart("div");
|
|
420
|
-
|
|
422
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "ColumnRowHeaderRow");
|
|
421
423
|
rm.openEnd();
|
|
422
|
-
|
|
423
|
-
|
|
424
|
+
|
|
425
|
+
const iHeaderRowCount = TableUtils.getHeaderRowCount(oTable);
|
|
426
|
+
if (iHeaderRowCount > 1) {
|
|
427
|
+
// In multi label scenario extra hidden cells are rendered in order to maintain correct aria-ownns relationship for each header row. They
|
|
428
|
+
// are rendered in the same row which does not affect the announcement because the row has aria-hidden.
|
|
429
|
+
for (let i = 0; i < iHeaderRowCount - 1; i++) {
|
|
430
|
+
rm.openStart("div", oTable.getId() + "-rowcolhdr" + i);
|
|
431
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "ColumnRowHeaderCell", {bLabel: false});
|
|
432
|
+
rm.openEnd();
|
|
433
|
+
rm.close("div");
|
|
434
|
+
}
|
|
435
|
+
rm.openStart("div", oTable.getId() + "-rowcolhdr" + (iHeaderRowCount - 1));
|
|
436
|
+
} else {
|
|
437
|
+
rm.openStart("div", oTable.getId() + "-rowcolhdr");
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "ColumnRowHeaderCell", {bLabel: true});
|
|
424
441
|
rm.openEnd();
|
|
425
442
|
rm.openStart("div", oTable.getId() + "-selall");
|
|
426
443
|
|
|
@@ -458,7 +475,7 @@ sap.ui.define([
|
|
|
458
475
|
enabled: bEnabled,
|
|
459
476
|
checked: bSelAll
|
|
460
477
|
};
|
|
461
|
-
|
|
478
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "ColumnRowHeader", oParams);
|
|
462
479
|
|
|
463
480
|
rm.openEnd();
|
|
464
481
|
|
|
@@ -627,11 +644,12 @@ sap.ui.define([
|
|
|
627
644
|
// =============================================================================
|
|
628
645
|
|
|
629
646
|
TableRenderer.renderRowHdr = function(rm, oTable) {
|
|
647
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
630
648
|
rm.openStart("div", oTable.getId() + "-sapUiTableRowHdrScr");
|
|
631
|
-
|
|
649
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Presentation");
|
|
632
650
|
rm.class("sapUiTableRowHdrScr");
|
|
633
651
|
rm.class("sapUiTableNoOpacity");
|
|
634
|
-
|
|
652
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "RowHeaderCol");
|
|
635
653
|
rm.openEnd();
|
|
636
654
|
|
|
637
655
|
// start with the first current top visible row
|
|
@@ -688,9 +706,10 @@ sap.ui.define([
|
|
|
688
706
|
|
|
689
707
|
TableRenderer.renderRowAddon = function(rm, oTable, oRow, iRowIndex, bHeader) {
|
|
690
708
|
const bRowSelected = oRow._isSelected();
|
|
709
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
691
710
|
|
|
692
711
|
rm.openStart("div");
|
|
693
|
-
|
|
712
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "RowAddon");
|
|
694
713
|
|
|
695
714
|
rm.attr("data-sap-ui-related", oRow.getId());
|
|
696
715
|
rm.attr("data-sap-ui-rowindex", iRowIndex);
|
|
@@ -725,7 +744,7 @@ sap.ui.define([
|
|
|
725
744
|
rowSelected: bRowSelected,
|
|
726
745
|
rowHidden: oRow.isEmpty()
|
|
727
746
|
};
|
|
728
|
-
|
|
747
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, bHeader ? "RowHeader" : "RowAction", oParams);
|
|
729
748
|
|
|
730
749
|
rm.openEnd();
|
|
731
750
|
if (bHeader) {
|
|
@@ -824,7 +843,8 @@ sap.ui.define([
|
|
|
824
843
|
rm.class(sClass);
|
|
825
844
|
});
|
|
826
845
|
|
|
827
|
-
oTable._getAccRenderExtension()
|
|
846
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
847
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, bHeader ? "Presentation" : "Table");
|
|
828
848
|
|
|
829
849
|
rm.class("sapUiTableCtrl");
|
|
830
850
|
if (bHeader) {
|
|
@@ -890,7 +910,7 @@ sap.ui.define([
|
|
|
890
910
|
if (oColParam.shouldRender) {
|
|
891
911
|
if (iStartRow === 0) {
|
|
892
912
|
rm.openStart("th", oTable.getId() + sSuffix + iCol);
|
|
893
|
-
|
|
913
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Th", {column: oColumn});
|
|
894
914
|
} else {
|
|
895
915
|
rm.openStart("th");
|
|
896
916
|
}
|
|
@@ -915,7 +935,7 @@ sap.ui.define([
|
|
|
915
935
|
// dummy column to fill the table width
|
|
916
936
|
if (bRenderDummyColumn) {
|
|
917
937
|
rm.openStart("th", bHeader && oTable.getId() + "-dummycolhdr");
|
|
918
|
-
|
|
938
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Presentation");
|
|
919
939
|
rm.openEnd().close("th");
|
|
920
940
|
}
|
|
921
941
|
|
|
@@ -1016,7 +1036,8 @@ sap.ui.define([
|
|
|
1016
1036
|
rm.class("sapUiTableRow");
|
|
1017
1037
|
rm.class("sapUiTableHeaderRow");
|
|
1018
1038
|
rm.class("sapUiTableColHdrTr");
|
|
1019
|
-
oTable._getAccRenderExtension()
|
|
1039
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
1040
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "ColumnHeaderRow", {rowIndex: iRow, fixedCol: bFixedTable});
|
|
1020
1041
|
rm.openEnd();
|
|
1021
1042
|
|
|
1022
1043
|
//
|
|
@@ -1068,7 +1089,7 @@ sap.ui.define([
|
|
|
1068
1089
|
|
|
1069
1090
|
if (!bFixedTable && bHasOnlyFixedColumns && aColumns.length > 0) {
|
|
1070
1091
|
rm.openStart("td").class("sapUiTableCellDummy");
|
|
1071
|
-
|
|
1092
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Presentation");
|
|
1072
1093
|
rm.openEnd().close("td");
|
|
1073
1094
|
}
|
|
1074
1095
|
rm.close("tr");
|
|
@@ -1118,7 +1139,8 @@ sap.ui.define([
|
|
|
1118
1139
|
fixedCol: bFixedTable,
|
|
1119
1140
|
rowNavigated: oRowSettings ? oRowSettings.getNavigated() : false
|
|
1120
1141
|
};
|
|
1121
|
-
oTable._getAccRenderExtension()
|
|
1142
|
+
const oAccRenderExtension = oTable._getAccRenderExtension();
|
|
1143
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Tr", oParams);
|
|
1122
1144
|
|
|
1123
1145
|
rm.openEnd();
|
|
1124
1146
|
|
|
@@ -1130,14 +1152,14 @@ sap.ui.define([
|
|
|
1130
1152
|
}
|
|
1131
1153
|
if (!bFixedTable && bHasOnlyFixedColumns && aCells.length > 0) {
|
|
1132
1154
|
rm.openStart("td").class("sapUiTableCellDummy");
|
|
1133
|
-
|
|
1155
|
+
oAccRenderExtension.writeAriaAttributesFor(rm, oTable, "Presentation");
|
|
1134
1156
|
rm.openEnd();
|
|
1135
1157
|
rm.close("td");
|
|
1136
1158
|
}
|
|
1137
1159
|
rm.close("tr");
|
|
1138
1160
|
};
|
|
1139
1161
|
|
|
1140
|
-
TableRenderer.renderTableCell = function(rm, oTable, oRow, oCell, iCellIndex, bFixedTable, iStartColumn, iEndColumn, aVisibleColumns, iLastFixedColumnIndex
|
|
1162
|
+
TableRenderer.renderTableCell = function(rm, oTable, oRow, oCell, iCellIndex, bFixedTable, iStartColumn, iEndColumn, aVisibleColumns, iLastFixedColumnIndex) {
|
|
1141
1163
|
const oColumn = Column.ofCell(oCell);
|
|
1142
1164
|
const iColIndex = oColumn.getIndex();
|
|
1143
1165
|
|
|
@@ -1153,10 +1175,7 @@ sap.ui.define([
|
|
|
1153
1175
|
const bIsLastFixedColumn = bFixedTable && iLastFixedColumnIndex === iColIndex;
|
|
1154
1176
|
|
|
1155
1177
|
const oParams = {
|
|
1156
|
-
column: oColumn
|
|
1157
|
-
row: oRow,
|
|
1158
|
-
fixed: bFixedTable,
|
|
1159
|
-
rowSelected: bSelected
|
|
1178
|
+
column: oColumn
|
|
1160
1179
|
};
|
|
1161
1180
|
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "DataCell", oParams);
|
|
1162
1181
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* The control can be used in combination with {@link sap.ui.model.json.JSONModel JSONModel} and {@link sap.ui.model.odata.v2.ODataModel ODataModel V2}.
|
|
39
39
|
* For a tree-table-like behavior with OData V4 services, use the {@link sap.ui.table.Table Table} control with the {@link sap.ui.table.plugins.ODataV4Hierarchy ODataV4Hierarchy} plugin.
|
|
40
40
|
* @extends sap.ui.table.Table
|
|
41
|
-
* @version 1.142.
|
|
41
|
+
* @version 1.142.2
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|