@openui5/sap.ui.table 1.136.5 → 1.136.7
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/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +1 -1
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +1 -1
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/Row.js +1 -1
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +1 -1
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +2 -8
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +40 -41
- package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
- package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
- package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
- package/src/sap/ui/table/extensions/Keyboard.js +1 -1
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +1 -1
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/i18n/interaction_de.xml +1 -1
- package/src/sap/ui/table/library.js +10 -10
- package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +1 -1
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/ContextMenu.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/messagebundle_ar.properties +5 -0
- package/src/sap/ui/table/messagebundle_bg.properties +5 -0
- package/src/sap/ui/table/messagebundle_ca.properties +5 -0
- package/src/sap/ui/table/messagebundle_cnr.properties +5 -0
- package/src/sap/ui/table/messagebundle_cs.properties +7 -2
- package/src/sap/ui/table/messagebundle_cy.properties +5 -0
- package/src/sap/ui/table/messagebundle_da.properties +5 -0
- package/src/sap/ui/table/messagebundle_de.properties +11 -6
- package/src/sap/ui/table/messagebundle_el.properties +5 -0
- package/src/sap/ui/table/messagebundle_en.properties +5 -0
- package/src/sap/ui/table/messagebundle_en_GB.properties +5 -0
- package/src/sap/ui/table/messagebundle_es.properties +6 -1
- package/src/sap/ui/table/messagebundle_es_MX.properties +5 -0
- package/src/sap/ui/table/messagebundle_et.properties +5 -0
- package/src/sap/ui/table/messagebundle_fi.properties +6 -1
- package/src/sap/ui/table/messagebundle_fr.properties +7 -2
- package/src/sap/ui/table/messagebundle_fr_CA.properties +7 -2
- package/src/sap/ui/table/messagebundle_hi.properties +5 -0
- package/src/sap/ui/table/messagebundle_hr.properties +5 -0
- package/src/sap/ui/table/messagebundle_hu.properties +5 -0
- package/src/sap/ui/table/messagebundle_id.properties +5 -0
- package/src/sap/ui/table/messagebundle_it.properties +5 -0
- package/src/sap/ui/table/messagebundle_iw.properties +5 -0
- package/src/sap/ui/table/messagebundle_ja.properties +6 -1
- package/src/sap/ui/table/messagebundle_kk.properties +5 -0
- package/src/sap/ui/table/messagebundle_ko.properties +5 -0
- package/src/sap/ui/table/messagebundle_lt.properties +5 -0
- package/src/sap/ui/table/messagebundle_lv.properties +7 -2
- package/src/sap/ui/table/messagebundle_mk.properties +7 -2
- package/src/sap/ui/table/messagebundle_ms.properties +7 -2
- package/src/sap/ui/table/messagebundle_nl.properties +6 -1
- package/src/sap/ui/table/messagebundle_no.properties +5 -0
- package/src/sap/ui/table/messagebundle_pl.properties +5 -0
- package/src/sap/ui/table/messagebundle_pt.properties +5 -0
- package/src/sap/ui/table/messagebundle_pt_PT.properties +6 -1
- package/src/sap/ui/table/messagebundle_ro.properties +7 -2
- package/src/sap/ui/table/messagebundle_ru.properties +9 -4
- package/src/sap/ui/table/messagebundle_sh.properties +5 -0
- package/src/sap/ui/table/messagebundle_sk.properties +5 -0
- package/src/sap/ui/table/messagebundle_sl.properties +5 -0
- package/src/sap/ui/table/messagebundle_sr.properties +5 -0
- package/src/sap/ui/table/messagebundle_sv.properties +5 -0
- package/src/sap/ui/table/messagebundle_th.properties +5 -0
- package/src/sap/ui/table/messagebundle_tr.properties +5 -0
- package/src/sap/ui/table/messagebundle_uk.properties +5 -0
- package/src/sap/ui/table/messagebundle_vi.properties +5 -0
- package/src/sap/ui/table/messagebundle_zh_CN.properties +5 -0
- package/src/sap/ui/table/messagebundle_zh_TW.properties +7 -2
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/ODataV4Selection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
- package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
- package/src/sap/ui/table/rowmodes/Auto.js +1 -1
- package/src/sap/ui/table/rowmodes/Fixed.js +1 -1
- package/src/sap/ui/table/rowmodes/Interactive.js +1 -1
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/Variable.js +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +1 -1
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
- package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/THIRDPARTY.txt
CHANGED
|
@@ -397,7 +397,7 @@ License: MIT
|
|
|
397
397
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
398
398
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
399
399
|
|
|
400
|
-
Component: Markdown-it, version:
|
|
400
|
+
Component: Markdown-it, version: 14.1.0
|
|
401
401
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
402
402
|
License: MIT
|
|
403
403
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.136.
|
|
3
|
+
"version": "1.136.7",
|
|
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/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.136.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.136.
|
|
17
|
+
"@openui5/sap.ui.core": "1.136.7",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.136.7"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.136.
|
|
9
|
+
<version>1.136.7</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* If more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
36
36
|
* This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.136.
|
|
38
|
+
* @version 1.136.7
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -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.136.
|
|
30
|
+
* @version 1.136.7
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -390,12 +390,8 @@ sap.ui.define([
|
|
|
390
390
|
rm.class("sapUiTableHeaderCell");
|
|
391
391
|
rm.class("sapUiTableRowActionHeaderCell");
|
|
392
392
|
rm.attr("tabindex", "-1");
|
|
393
|
+
rm.attr("aria-label", TableUtils.getResourceText("TBL_ROW_ACTION_COLUMN_LABEL"));
|
|
393
394
|
rm.openEnd();
|
|
394
|
-
rm.openStart("span");
|
|
395
|
-
|
|
396
|
-
rm.openEnd();
|
|
397
|
-
rm.text(TableUtils.getResourceText("TBL_ROW_ACTION_COLUMN_LABEL"));
|
|
398
|
-
rm.close("span");
|
|
399
395
|
|
|
400
396
|
rm.close("div");
|
|
401
397
|
}
|
|
@@ -508,8 +504,7 @@ sap.ui.define([
|
|
|
508
504
|
|
|
509
505
|
const mAccParams = {
|
|
510
506
|
column: oColumn,
|
|
511
|
-
headerId: sHeaderId
|
|
512
|
-
index: iIndex
|
|
507
|
+
headerId: sHeaderId
|
|
513
508
|
};
|
|
514
509
|
|
|
515
510
|
if (nSpan > 1) {
|
|
@@ -1151,7 +1146,6 @@ sap.ui.define([
|
|
|
1151
1146
|
const bIsLastFixedColumn = bFixedTable && iLastFixedColumnIndex === iColIndex;
|
|
1152
1147
|
|
|
1153
1148
|
const oParams = {
|
|
1154
|
-
index: iColIndex,
|
|
1155
1149
|
column: oColumn,
|
|
1156
1150
|
row: oRow,
|
|
1157
1151
|
fixed: bFixedTable,
|
|
@@ -371,9 +371,9 @@ sap.ui.define([
|
|
|
371
371
|
* @see ExtensionHelper.getRowColChange
|
|
372
372
|
* @see ExtensionHelper.storeDefaultsBeforeCellModifications
|
|
373
373
|
*/
|
|
374
|
-
performCellModifications: function(oExtension, $Cell, aDefaultLabels, aDefaultDescriptions, aLabels, aDescriptions, sText, fAdapt) {
|
|
374
|
+
performCellModifications: function(oExtension, $Cell, aDefaultLabels, aDefaultDescriptions, aLabels, aDescriptions, sText, oChangeInfo, fAdapt) {
|
|
375
375
|
ExtensionHelper.storeDefaultsBeforeCellModifications(oExtension, $Cell, aDefaultLabels, aDefaultDescriptions);
|
|
376
|
-
|
|
376
|
+
|
|
377
377
|
const oTable = oExtension.getTable();
|
|
378
378
|
const sTableId = oTable.getId();
|
|
379
379
|
oTable.$("cellacc").text(sText || "."); //set the custom text to the prepared hidden element
|
|
@@ -406,7 +406,7 @@ sap.ui.define([
|
|
|
406
406
|
* Modifies the labels and descriptions of a data cell.
|
|
407
407
|
* @see ExtensionHelper.performCellModifications
|
|
408
408
|
*/
|
|
409
|
-
modifyAccOfDataCell: function(oCellInfo) {
|
|
409
|
+
modifyAccOfDataCell: function(oCellInfo, oChangeInfo) {
|
|
410
410
|
const oTable = this.getTable();
|
|
411
411
|
const sTableId = oTable.getId();
|
|
412
412
|
const oIN = oTable._getItemNavigation();
|
|
@@ -425,9 +425,7 @@ sap.ui.define([
|
|
|
425
425
|
const bHidden = ExtensionHelper.isHiddenCell($Cell, oTableInstances.cell);
|
|
426
426
|
const bIsTreeColumnCell = ExtensionHelper.isTreeColumnCell(this, $Cell);
|
|
427
427
|
const aDefaultLabels = ExtensionHelper.getAriaAttributesForDataCell(this, {
|
|
428
|
-
index: iCol
|
|
429
|
-
column: oTableInstances.column,
|
|
430
|
-
fixed: TableUtils.isFixedColumn(oTable, iCol)
|
|
428
|
+
index: iCol
|
|
431
429
|
})["aria-labelledby"] || [];
|
|
432
430
|
const aDescriptions = [];
|
|
433
431
|
let aLabels = [];
|
|
@@ -442,7 +440,7 @@ sap.ui.define([
|
|
|
442
440
|
aLabels.push(sTableId + "-ariagrouptotallabel");
|
|
443
441
|
}
|
|
444
442
|
|
|
445
|
-
if (TableUtils.hasRowHighlights(oTable) && !bIsGroupHeader && !bIsSummary) {
|
|
443
|
+
if (TableUtils.hasRowHighlights(oTable) && !bIsGroupHeader && !bIsSummary && oChangeInfo.rowChange) {
|
|
446
444
|
aLabels.push(sRowId + "-highlighttext");
|
|
447
445
|
}
|
|
448
446
|
|
|
@@ -468,7 +466,7 @@ sap.ui.define([
|
|
|
468
466
|
}
|
|
469
467
|
}
|
|
470
468
|
|
|
471
|
-
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, null, aLabels, aDescriptions, sText,
|
|
469
|
+
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, null, aLabels, aDescriptions, sText, oChangeInfo,
|
|
472
470
|
function(aLabels, aDescriptions, bRowChange, bColChange) {
|
|
473
471
|
if (bIsGroupHeader && bRowChange) {
|
|
474
472
|
aLabels.splice(1, 0, sRowId + "-groupHeader");
|
|
@@ -488,7 +486,7 @@ sap.ui.define([
|
|
|
488
486
|
* Modifies the labels and descriptions of a row header cell.
|
|
489
487
|
* @see ExtensionHelper.performCellModifications
|
|
490
488
|
*/
|
|
491
|
-
modifyAccOfRowHeader: function(oCellInfo) {
|
|
489
|
+
modifyAccOfRowHeader: function(oCellInfo, oChangeInfo) {
|
|
492
490
|
const oTable = this.getTable();
|
|
493
491
|
const sTableId = oTable.getId();
|
|
494
492
|
const $Cell = jQuery(oCellInfo.cell);
|
|
@@ -500,7 +498,7 @@ sap.ui.define([
|
|
|
500
498
|
if (!oRow.isSummary() && !oRow.isGroupHeader() && !oRow.isContentHidden()) {
|
|
501
499
|
aLabels.push(sRowId + "-rowselecttext");
|
|
502
500
|
|
|
503
|
-
if (TableUtils.hasRowHighlights(oTable)) {
|
|
501
|
+
if (TableUtils.hasRowHighlights(oTable) && oChangeInfo.rowChange) {
|
|
504
502
|
aLabels.push(sRowId + "-highlighttext");
|
|
505
503
|
}
|
|
506
504
|
}
|
|
@@ -517,31 +515,26 @@ sap.ui.define([
|
|
|
517
515
|
aLabels.push(sTableId + "-ariagrouptotallabel");
|
|
518
516
|
}
|
|
519
517
|
|
|
520
|
-
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, null, aLabels, null, null);
|
|
518
|
+
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, null, aLabels, null, null, oChangeInfo);
|
|
521
519
|
},
|
|
522
520
|
|
|
523
521
|
/*
|
|
524
522
|
* Modifies the labels and descriptions of a column header cell.
|
|
525
523
|
* @see ExtensionHelper.performCellModifications
|
|
526
524
|
*/
|
|
527
|
-
modifyAccOfColumnHeader: function(oCellInfo) {
|
|
525
|
+
modifyAccOfColumnHeader: function(oCellInfo, oChangeInfo) {
|
|
528
526
|
const oTable = this.getTable();
|
|
529
527
|
const $Cell = jQuery(oCellInfo.cell);
|
|
530
528
|
const oColumn = Element.getElementById($Cell.attr("data-sap-ui-colid"));
|
|
531
|
-
const oColumnLabel = TableUtils.Column.getHeaderLabel(oColumn);
|
|
532
529
|
const mAttributes = ExtensionHelper.getAriaAttributesForColumnHeader(this, {
|
|
533
530
|
headerId: $Cell.attr("id"),
|
|
534
531
|
column: oColumn,
|
|
535
|
-
index:
|
|
532
|
+
index: oTable._getVisibleColumns().indexOf(oColumn)
|
|
536
533
|
});
|
|
537
534
|
const sText = ExtensionHelper.getColumnTooltip(oColumn);
|
|
538
535
|
const aLabels = mAttributes["aria-labelledby"] || [];
|
|
539
536
|
const iSpan = oCellInfo.columnSpan;
|
|
540
537
|
|
|
541
|
-
if (oColumnLabel?.getRequired?.()) {
|
|
542
|
-
aLabels.push(oTable.getId() + "-ariarequired");
|
|
543
|
-
}
|
|
544
|
-
|
|
545
538
|
if (iSpan > 1) {
|
|
546
539
|
aLabels.push(oTable.getId() + "-ariacolspan");
|
|
547
540
|
// Update Span information
|
|
@@ -556,12 +549,8 @@ sap.ui.define([
|
|
|
556
549
|
aLabels.push(oTable.getId() + "-ariacolfiltered");
|
|
557
550
|
}
|
|
558
551
|
|
|
559
|
-
if (aLabels.length > 0) {
|
|
560
|
-
aLabels.unshift($Cell.attr("id") + "-inner");
|
|
561
|
-
}
|
|
562
|
-
|
|
563
552
|
ExtensionHelper.performCellModifications(this, $Cell, mAttributes["aria-labelledby"], mAttributes["aria-describedby"],
|
|
564
|
-
aLabels, mAttributes["aria-describedby"], sText
|
|
553
|
+
aLabels, mAttributes["aria-describedby"], sText, oChangeInfo
|
|
565
554
|
);
|
|
566
555
|
},
|
|
567
556
|
|
|
@@ -569,7 +558,7 @@ sap.ui.define([
|
|
|
569
558
|
* Modifies the labels and descriptions of the column row header.
|
|
570
559
|
* @see ExtensionHelper.performCellModifications
|
|
571
560
|
*/
|
|
572
|
-
modifyAccOfColumnRowHeader: function(oCellInfo) {
|
|
561
|
+
modifyAccOfColumnRowHeader: function(oCellInfo, oChangeInfo) {
|
|
573
562
|
const oTable = this.getTable();
|
|
574
563
|
const $Cell = jQuery(oCellInfo.cell);
|
|
575
564
|
const bEnabled = $Cell.hasClass("sapUiTableSelAllVisible");
|
|
@@ -580,7 +569,7 @@ sap.ui.define([
|
|
|
580
569
|
);
|
|
581
570
|
const aLabels = mAttributes["aria-labelledby"] || [];
|
|
582
571
|
ExtensionHelper.performCellModifications(this, $Cell, [], mAttributes["aria-describedby"],
|
|
583
|
-
aLabels, mAttributes["aria-describedby"], null
|
|
572
|
+
aLabels, mAttributes["aria-describedby"], null, oChangeInfo
|
|
584
573
|
);
|
|
585
574
|
},
|
|
586
575
|
|
|
@@ -588,7 +577,7 @@ sap.ui.define([
|
|
|
588
577
|
* Modifies the labels and descriptions of a row action cell.
|
|
589
578
|
* @see ExtensionHelper.performCellModifications
|
|
590
579
|
*/
|
|
591
|
-
modifyAccOfRowAction: function(oCellInfo) {
|
|
580
|
+
modifyAccOfRowAction: function(oCellInfo, oChangeInfo) {
|
|
592
581
|
const oTable = this.getTable();
|
|
593
582
|
const sTableId = oTable.getId();
|
|
594
583
|
const $Cell = jQuery(oCellInfo.cell);
|
|
@@ -611,7 +600,7 @@ sap.ui.define([
|
|
|
611
600
|
aLabels.push(sTableId + "-ariagrouptotallabel");
|
|
612
601
|
}
|
|
613
602
|
|
|
614
|
-
if (TableUtils.hasRowHighlights(oTable) && !oRow.isGroupHeader() && !oRow.isSummary()) {
|
|
603
|
+
if (TableUtils.hasRowHighlights(oTable) && !oRow.isGroupHeader() && !oRow.isSummary() && oChangeInfo.rowChange) {
|
|
615
604
|
aLabels.push(sRowId + "-highlighttext");
|
|
616
605
|
}
|
|
617
606
|
|
|
@@ -627,7 +616,7 @@ sap.ui.define([
|
|
|
627
616
|
}
|
|
628
617
|
}
|
|
629
618
|
|
|
630
|
-
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, [], aLabels, aDescriptions, sText,
|
|
619
|
+
ExtensionHelper.performCellModifications(this, $Cell, aDefaultLabels, [], aLabels, aDescriptions, sText, oChangeInfo,
|
|
631
620
|
function(aLabels, aDescriptions, bRowChange) {
|
|
632
621
|
if (bIsGroupHeader && bRowChange) {
|
|
633
622
|
const iIndex = aLabels.indexOf(sTableId + "-ariarowgrouplabel") + 1;
|
|
@@ -751,13 +740,20 @@ sap.ui.define([
|
|
|
751
740
|
const sTableId = oTable.getId();
|
|
752
741
|
|
|
753
742
|
const oColumn = mParams && mParams.column;
|
|
743
|
+
const iColIndex = oTable._getVisibleColumns().indexOf(oColumn);
|
|
754
744
|
const bHasColSpan = mParams && mParams.colspan;
|
|
745
|
+
const oColumnLabel = TableUtils.Column.getHeaderLabel(oColumn);
|
|
755
746
|
|
|
756
747
|
mAttributes["role"] = "columnheader";
|
|
757
|
-
mAttributes["aria-colindex"] =
|
|
748
|
+
mAttributes["aria-colindex"] = iColIndex + 1 + (TableUtils.hasRowHeader(oTable) ? 1 : 0);
|
|
758
749
|
|
|
759
|
-
|
|
760
|
-
|
|
750
|
+
mAttributes["aria-labelledby"] = [mParams.headerId + "-inner"];
|
|
751
|
+
if (iColIndex < oTable.getComputedFixedColumnCount()) {
|
|
752
|
+
mAttributes["aria-labelledby"].push([sTableId + "-ariafixedcolumn"]);
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
if (oColumnLabel?.getRequired?.()) {
|
|
756
|
+
mAttributes["aria-labelledby"].push(sTableId + "-ariarequired");
|
|
761
757
|
}
|
|
762
758
|
|
|
763
759
|
if (!bHasColSpan && oColumn) {
|
|
@@ -787,7 +783,7 @@ sap.ui.define([
|
|
|
787
783
|
* Returns the aria attributes for a data cell.
|
|
788
784
|
*
|
|
789
785
|
* @param {sap.ui.table.extensions.Accessibility} oExtension The accessibility extension
|
|
790
|
-
* @param {{index: int
|
|
786
|
+
* @param {{index: int}} mParams An object
|
|
791
787
|
* containing the index of the row, the instance of the column, the instance of the row, whether the column is fixed and whether the row is
|
|
792
788
|
* selected
|
|
793
789
|
* @returns {object} An object containing the aria attributes
|
|
@@ -795,14 +791,11 @@ sap.ui.define([
|
|
|
795
791
|
getAriaAttributesForDataCell: function(oExtension, mParams) {
|
|
796
792
|
const mAttributes = {};
|
|
797
793
|
const oTable = oExtension.getTable();
|
|
798
|
-
const
|
|
794
|
+
const oColumn = mParams.column;
|
|
799
795
|
|
|
800
796
|
mAttributes["role"] = "gridcell";
|
|
801
|
-
mAttributes["aria-colindex"] =
|
|
797
|
+
mAttributes["aria-colindex"] = oTable._getVisibleColumns().indexOf(oColumn) + 1 + (TableUtils.hasRowHeader(oTable) ? 1 : 0);
|
|
802
798
|
|
|
803
|
-
if (mParams.column && mParams.fixed) {
|
|
804
|
-
mAttributes["aria-labelledby"] = [sTableId + "-ariafixedcolumn"];
|
|
805
|
-
}
|
|
806
799
|
return mAttributes;
|
|
807
800
|
},
|
|
808
801
|
|
|
@@ -1126,10 +1119,15 @@ sap.ui.define([
|
|
|
1126
1119
|
/**
|
|
1127
1120
|
* Returns the aria attributes for the header of the row actions column.
|
|
1128
1121
|
*
|
|
1122
|
+
* @param {sap.ui.table.extensions.Accessibility} oExtension The accessibility extension
|
|
1129
1123
|
* @returns {object} An object containing the aria attributes
|
|
1130
1124
|
*/
|
|
1131
|
-
getAriaAttributesForRowActionHeader: function() {
|
|
1132
|
-
|
|
1125
|
+
getAriaAttributesForRowActionHeader: function(oExtension) {
|
|
1126
|
+
const oTable = oExtension.getTable();
|
|
1127
|
+
return {
|
|
1128
|
+
"role": "columnheader",
|
|
1129
|
+
"aria-colindex": TableUtils.getVisibleColumnCount(oTable) + 1 + (TableUtils.hasRowHeader(oTable) ? 1 : 0)
|
|
1130
|
+
};
|
|
1133
1131
|
},
|
|
1134
1132
|
|
|
1135
1133
|
/**
|
|
@@ -1150,7 +1148,7 @@ sap.ui.define([
|
|
|
1150
1148
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
1151
1149
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
1152
1150
|
* @author SAP SE
|
|
1153
|
-
* @version 1.136.
|
|
1151
|
+
* @version 1.136.7
|
|
1154
1152
|
* @constructor
|
|
1155
1153
|
* @private
|
|
1156
1154
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -1374,7 +1372,8 @@ sap.ui.define([
|
|
|
1374
1372
|
}
|
|
1375
1373
|
}
|
|
1376
1374
|
|
|
1377
|
-
|
|
1375
|
+
const oChangeInfo = ExtensionHelper.getRowColChange(this);
|
|
1376
|
+
ExtensionHelper["modifyAccOf" + sCellType].apply(this, [oInfo, oChangeInfo]);
|
|
1378
1377
|
};
|
|
1379
1378
|
|
|
1380
1379
|
/**
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
45
45
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.136.
|
|
47
|
+
* @version 1.136.7
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
50
50
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -265,7 +265,7 @@ sap.ui.define([
|
|
|
265
265
|
* @class Extension for sap.ui.table.Table which handles keyboard related things.
|
|
266
266
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
267
267
|
* @author SAP SE
|
|
268
|
-
* @version 1.136.
|
|
268
|
+
* @version 1.136.7
|
|
269
269
|
* @constructor
|
|
270
270
|
* @private
|
|
271
271
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -668,7 +668,7 @@ sap.ui.define([
|
|
|
668
668
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
669
669
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
670
670
|
* @author SAP SE
|
|
671
|
-
* @version 1.136.
|
|
671
|
+
* @version 1.136.7
|
|
672
672
|
* @constructor
|
|
673
673
|
* @private
|
|
674
674
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2320,7 +2320,7 @@ sap.ui.define([
|
|
|
2320
2320
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2321
2321
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2322
2322
|
* @author SAP SE
|
|
2323
|
-
* @version 1.136.
|
|
2323
|
+
* @version 1.136.7
|
|
2324
2324
|
* @constructor
|
|
2325
2325
|
* @private
|
|
2326
2326
|
* @alias sap.ui.table.extensions.Scrolling
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class Extension for sap.ui.table.Table which handles the scrollbar on iOS.
|
|
28
28
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.136.
|
|
30
|
+
* @version 1.136.7
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -185,7 +185,7 @@ sap.ui.define([
|
|
|
185
185
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
186
186
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
187
187
|
* @author SAP SE
|
|
188
|
-
* @version 1.136.
|
|
188
|
+
* @version 1.136.7
|
|
189
189
|
* @constructor
|
|
190
190
|
* @private
|
|
191
191
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
</description>
|
|
103
103
|
</interaction>
|
|
104
104
|
<interaction> <kbd>Shift + Spacebar</kbd> <description>
|
|
105
|
-
<p>Wenn der Fokus auf <span class="uicontrol">Alle markieren</span> liegt und die <kbd>Spacebar</kbd> gedrückt wird, wird das entsprechende Ereignis nicht ausgelöst.
|
|
105
|
+
<p>Wenn der Fokus auf <span class="uicontrol">Alle markieren</span> liegt und die <kbd>Spacebar</kbd> gedrückt wird, wird das entsprechende Ereignis nicht ausgelöst. <kbd>Shift</kbd> verhindert diese Aktivität.</p>
|
|
106
106
|
</description>
|
|
107
107
|
</interaction>
|
|
108
108
|
<interaction> <kbd>Shift + Spacebar</kbd> <kbd>Shift + Enter</kbd> <description>
|
|
@@ -27,14 +27,14 @@ sap.ui.define([
|
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.136.
|
|
30
|
+
* @version 1.136.7
|
|
31
31
|
* @since 0.8
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
34
|
const thisLib = Library.init({
|
|
35
35
|
name: "sap.ui.table",
|
|
36
36
|
apiVersion: 2,
|
|
37
|
-
version: "1.136.
|
|
37
|
+
version: "1.136.7",
|
|
38
38
|
dependencies: ["sap.ui.core", "sap.ui.unified"],
|
|
39
39
|
...{
|
|
40
40
|
interactionDocumentation: true
|
|
@@ -98,7 +98,7 @@ sap.ui.define([
|
|
|
98
98
|
/**
|
|
99
99
|
* Navigation mode of the table
|
|
100
100
|
*
|
|
101
|
-
* @version 1.136.
|
|
101
|
+
* @version 1.136.7
|
|
102
102
|
* @enum {string}
|
|
103
103
|
* @deprecated As of version 1.38, the concept has been discarded.
|
|
104
104
|
* @public
|
|
@@ -129,7 +129,7 @@ sap.ui.define([
|
|
|
129
129
|
/**
|
|
130
130
|
* Row Action types.
|
|
131
131
|
*
|
|
132
|
-
* @version 1.136.
|
|
132
|
+
* @version 1.136.7
|
|
133
133
|
* @enum {string}
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
@@ -160,7 +160,7 @@ sap.ui.define([
|
|
|
160
160
|
/**
|
|
161
161
|
* Selection behavior of the table
|
|
162
162
|
*
|
|
163
|
-
* @version 1.136.
|
|
163
|
+
* @version 1.136.7
|
|
164
164
|
* @enum {string}
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
@@ -191,7 +191,7 @@ sap.ui.define([
|
|
|
191
191
|
/**
|
|
192
192
|
* Selection mode of the table
|
|
193
193
|
*
|
|
194
|
-
* @version 1.136.
|
|
194
|
+
* @version 1.136.7
|
|
195
195
|
* @enum {string}
|
|
196
196
|
* @public
|
|
197
197
|
*/
|
|
@@ -229,7 +229,7 @@ sap.ui.define([
|
|
|
229
229
|
/**
|
|
230
230
|
* Sort order of a column
|
|
231
231
|
*
|
|
232
|
-
* @version 1.136.
|
|
232
|
+
* @version 1.136.7
|
|
233
233
|
* @enum {string}
|
|
234
234
|
* @public
|
|
235
235
|
* @deprecated As of version 1.120, replaced with <code>sap.ui.core.SortOrder</code>
|
|
@@ -256,7 +256,7 @@ sap.ui.define([
|
|
|
256
256
|
/**
|
|
257
257
|
* VisibleRowCountMode of the table
|
|
258
258
|
*
|
|
259
|
-
* @version 1.136.
|
|
259
|
+
* @version 1.136.7
|
|
260
260
|
* @enum {string}
|
|
261
261
|
* @deprecated As of version 1.119, see the <code>rowMode</code> aggregation of <code>sap.ui.table.Table</code> for more details.
|
|
262
262
|
* @public
|
|
@@ -301,7 +301,7 @@ sap.ui.define([
|
|
|
301
301
|
*
|
|
302
302
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
303
303
|
*
|
|
304
|
-
* @version 1.136.
|
|
304
|
+
* @version 1.136.7
|
|
305
305
|
* @enum {string}
|
|
306
306
|
* @public
|
|
307
307
|
*/
|
|
@@ -402,7 +402,7 @@ sap.ui.define([
|
|
|
402
402
|
*
|
|
403
403
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
404
404
|
*
|
|
405
|
-
* @version 1.136.
|
|
405
|
+
* @version 1.136.7
|
|
406
406
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
407
407
|
* @public
|
|
408
408
|
* @deprecated As of version 1.120, replaced by <code>sap.ui.model.TreeAutoExpandMode</code>
|