@openui5/sap.ui.table 1.120.2 → 1.120.3
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/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/AnalyticalColumnMenuRenderer.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +2 -2
- package/src/sap/ui/table/AnalyticalTableRenderer.js +1 -1
- package/src/sap/ui/table/Column.js +15 -69
- package/src/sap/ui/table/ColumnMenu.js +2 -2
- package/src/sap/ui/table/ColumnMenuRenderer.js +1 -1
- 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 -2
- 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 +1 -1
- package/src/sap/ui/table/TreeTable.js +2 -2
- package/src/sap/ui/table/TreeTableRenderer.js +1 -1
- 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 +2 -30
- 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 +12 -12
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.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_cnr.properties +126 -0
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +75 -75
- 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/ODataV4Selection.js +1 -1
- 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 +3 -3
- package/src/sap/ui/table/plugins/V4Aggregation.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 +1 -1
- 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/_BindingUtils.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.120.
|
|
3
|
+
"version": "1.120.3",
|
|
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.120.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.120.
|
|
17
|
+
"@openui5/sap.ui.core": "1.120.3",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.120.3"
|
|
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 2009-
|
|
7
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.120.
|
|
9
|
+
<version>1.120.3</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 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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.120.
|
|
50
|
+
* @version 1.120.3
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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.120.
|
|
23
|
+
* @version 1.120.3
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* @see https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
55
55
|
*
|
|
56
56
|
* @extends sap.ui.table.Table
|
|
57
|
-
* @version 1.120.
|
|
57
|
+
* @version 1.120.3
|
|
58
58
|
*
|
|
59
59
|
* @constructor
|
|
60
60
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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.120.
|
|
66
|
+
* @version 1.120.3
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -662,30 +662,15 @@ sap.ui.define([
|
|
|
662
662
|
};
|
|
663
663
|
|
|
664
664
|
Column.prototype.setSorted = function(bSorted) {
|
|
665
|
-
this.setProperty("sorted", bSorted, true);
|
|
666
|
-
|
|
667
665
|
if (bSorted && this.getSortOrder() === SortOrder.None && !this.isBound("sortOrder")) {
|
|
668
666
|
this.setSortOrder(SortOrder.Ascending); // "Ascending" was the default value of "sortOrder" before "sorted" was deprecated.
|
|
669
|
-
return this;
|
|
670
667
|
}
|
|
671
668
|
|
|
672
|
-
this.
|
|
673
|
-
return this;
|
|
669
|
+
return this.setProperty("sorted", bSorted);
|
|
674
670
|
};
|
|
675
671
|
|
|
676
|
-
Column.prototype.
|
|
677
|
-
this.setProperty("
|
|
678
|
-
this._updateIcons();
|
|
679
|
-
return this;
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
/*
|
|
683
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
684
|
-
*/
|
|
685
|
-
Column.prototype.setFiltered = function(bFlag) {
|
|
686
|
-
this.setProperty("filtered", bFlag, true);
|
|
687
|
-
this._updateIcons();
|
|
688
|
-
return this;
|
|
672
|
+
Column.prototype.setFilterValue = function(sValue) {
|
|
673
|
+
return this.setProperty("filterValue", sValue, true);
|
|
689
674
|
};
|
|
690
675
|
|
|
691
676
|
/*
|
|
@@ -695,6 +680,10 @@ sap.ui.define([
|
|
|
695
680
|
return this.setProperty("filterOperator", sValue, true);
|
|
696
681
|
};
|
|
697
682
|
|
|
683
|
+
Column.prototype.setDefaultFilterOperator = function(sValue) {
|
|
684
|
+
return this.setProperty("defaultFilterOperator", sValue, true);
|
|
685
|
+
};
|
|
686
|
+
|
|
698
687
|
Column.prototype._openHeaderMenu = function(oDomRef) {
|
|
699
688
|
var oHeaderMenu = this.getHeaderMenuInstance();
|
|
700
689
|
/**
|
|
@@ -785,8 +774,8 @@ sap.ui.define([
|
|
|
785
774
|
}
|
|
786
775
|
|
|
787
776
|
/** @deprecated As of version 1.120 */
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
777
|
+
this.setSorted(sSortOrder !== SortOrder.None);
|
|
778
|
+
this.setSortOrder(sSortOrder);
|
|
790
779
|
this._updateSorters();
|
|
791
780
|
};
|
|
792
781
|
|
|
@@ -801,9 +790,8 @@ sap.ui.define([
|
|
|
801
790
|
if (aSortedColumns.indexOf(aColumns[i]) < 0) {
|
|
802
791
|
// Column is not sorted anymore. Reset to default and remove sorter.
|
|
803
792
|
/** @deprecated As of version 1.120 */
|
|
804
|
-
aColumns[i].
|
|
805
|
-
aColumns[i].
|
|
806
|
-
aColumns[i]._updateIcons(true);
|
|
793
|
+
aColumns[i].resetProperty("sorted");
|
|
794
|
+
aColumns[i].resetProperty("sortOrder");
|
|
807
795
|
delete _private(aColumns[i]).oSorter;
|
|
808
796
|
}
|
|
809
797
|
}
|
|
@@ -813,13 +801,6 @@ sap.ui.define([
|
|
|
813
801
|
_private(this).oSorter = new Sorter(this.getSortProperty(), sSortOrder === SortOrder.Descending);
|
|
814
802
|
}
|
|
815
803
|
|
|
816
|
-
// Make sure sorted columns show the sort icon.
|
|
817
|
-
for (let i = 0, l = aSortedColumns.length; i < l; i++) {
|
|
818
|
-
aSortedColumns[i]._updateIcons(true);
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
oTable._resetColumnHeaderHeights();
|
|
822
|
-
oTable._updateRowHeights(oTable._collectRowHeights(true), true);
|
|
823
804
|
this._applySorters();
|
|
824
805
|
};
|
|
825
806
|
|
|
@@ -840,39 +821,6 @@ sap.ui.define([
|
|
|
840
821
|
oBinding.sort(aSorters);
|
|
841
822
|
};
|
|
842
823
|
|
|
843
|
-
Column.prototype._updateIcons = function(bSkipUpdateRowHeights) {
|
|
844
|
-
var oTable = this._getTable();
|
|
845
|
-
var bSorted = this.getSortOrder() !== SortOrder.None;
|
|
846
|
-
var bFiltered = this.getFiltered();
|
|
847
|
-
|
|
848
|
-
/** @deprecated As of version 1.120 */
|
|
849
|
-
if (!this.getSorted()) {
|
|
850
|
-
bSorted = false;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
if (!oTable || !oTable.getDomRef()) {
|
|
854
|
-
return;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
this.$()
|
|
858
|
-
.parents(".sapUiTableCHT")
|
|
859
|
-
.find('td[data-sap-ui-colindex="' + this.getIndex() + '"]:not([colspan]):not(.sapUiTableHidden):first')
|
|
860
|
-
.toggleClass("sapUiTableColFiltered", bFiltered)
|
|
861
|
-
.toggleClass("sapUiTableColSorted", bSorted)
|
|
862
|
-
.toggleClass("sapUiTableColSortedD", bSorted && this.getSortOrder() === SortOrder.Descending);
|
|
863
|
-
|
|
864
|
-
oTable._getAccExtension().updateAriaStateOfColumn(this);
|
|
865
|
-
|
|
866
|
-
if (!bSkipUpdateRowHeights) {
|
|
867
|
-
oTable._resetColumnHeaderHeights();
|
|
868
|
-
oTable._updateRowHeights(oTable._collectRowHeights(true), true);
|
|
869
|
-
}
|
|
870
|
-
};
|
|
871
|
-
|
|
872
|
-
Column.prototype._renderSortIcon = function() {
|
|
873
|
-
this._updateIcons();
|
|
874
|
-
};
|
|
875
|
-
|
|
876
824
|
Column.prototype._getFilterState = function() {
|
|
877
825
|
try {
|
|
878
826
|
this._getFilter();
|
|
@@ -979,8 +927,8 @@ sap.ui.define([
|
|
|
979
927
|
});
|
|
980
928
|
|
|
981
929
|
if (bExecuteDefault) {
|
|
982
|
-
this.
|
|
983
|
-
this.
|
|
930
|
+
this.setFiltered(!!sValue);
|
|
931
|
+
this.setFilterValue(sValue);
|
|
984
932
|
|
|
985
933
|
var aFilters = [];
|
|
986
934
|
var aCols = oTable.getColumns();
|
|
@@ -1005,8 +953,6 @@ sap.ui.define([
|
|
|
1005
953
|
TableUtils.Hook.call(this._getTable(), TableUtils.Hook.Keys.Column.SetFilterState, oCol, sState);
|
|
1006
954
|
}
|
|
1007
955
|
oTable.getBinding().filter(aFilters, FilterType.Control);
|
|
1008
|
-
|
|
1009
|
-
this._updateIcons();
|
|
1010
956
|
}
|
|
1011
957
|
}
|
|
1012
958
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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
|
* @class
|
|
40
40
|
* The column menu provides all common actions that can be performed on a column.
|
|
41
41
|
* @extends sap.ui.unified.Menu
|
|
42
|
-
* @version 1.120.
|
|
42
|
+
* @version 1.120.3
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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.120.
|
|
35
|
+
* @version 1.120.3
|
|
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 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 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.120.
|
|
138
|
+
* @version 1.120.3
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.120.
|
|
38
|
+
* @version 1.120.3
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.120.
|
|
27
|
+
* @version 1.120.3
|
|
28
28
|
* @since 1.45
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
25
25
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.120.
|
|
27
|
+
* @version 1.120.3
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
* the data model and binding being used.
|
|
97
97
|
* </p>
|
|
98
98
|
* @extends sap.ui.core.Control
|
|
99
|
-
* @version 1.120.
|
|
99
|
+
* @version 1.120.3
|
|
100
100
|
*
|
|
101
101
|
* @constructor
|
|
102
102
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @extends sap.ui.base.ManagedObject
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.120.
|
|
36
|
+
* @version 1.120.3
|
|
37
37
|
* @since 1.21.1
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class
|
|
43
43
|
* The TreeTable control provides a comprehensive set of features to display hierarchical data.
|
|
44
44
|
* @extends sap.ui.table.Table
|
|
45
|
-
* @version 1.120.
|
|
45
|
+
* @version 1.120.3
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -964,7 +964,7 @@ sap.ui.define([
|
|
|
964
964
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
965
965
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
966
966
|
* @author SAP SE
|
|
967
|
-
* @version 1.120.
|
|
967
|
+
* @version 1.120.3
|
|
968
968
|
* @constructor
|
|
969
969
|
* @private
|
|
970
970
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -1212,34 +1212,6 @@ sap.ui.define([
|
|
|
1212
1212
|
ExtensionHelper["modifyAccOf" + sCellType].apply(this, [oInfo]);
|
|
1213
1213
|
};
|
|
1214
1214
|
|
|
1215
|
-
/**
|
|
1216
|
-
* Is called by the column whenever the sort or filter state is changed and updates the corresponding ARIA attributes.
|
|
1217
|
-
*
|
|
1218
|
-
* @param {sap.ui.table.Column} oColumn Instance of the column.
|
|
1219
|
-
* @public
|
|
1220
|
-
*/
|
|
1221
|
-
AccExtension.prototype.updateAriaStateOfColumn = function(oColumn) {
|
|
1222
|
-
if (!this._accMode) {
|
|
1223
|
-
return;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
var mAttributes = ExtensionHelper.getAriaAttributesFor(this, AccExtension.ELEMENTTYPES.COLUMNHEADER, {
|
|
1227
|
-
headerId: oColumn.getId(),
|
|
1228
|
-
column: oColumn,
|
|
1229
|
-
index: this.getTable().indexOfColumn(oColumn)
|
|
1230
|
-
});
|
|
1231
|
-
|
|
1232
|
-
var aHeaders = ExtensionHelper.getRelevantColumnHeaders(this.getTable(), oColumn);
|
|
1233
|
-
for (var i = 0; i < aHeaders.length; i++) {
|
|
1234
|
-
var $Header = jQuery(document.getElementById(aHeaders[i]));
|
|
1235
|
-
if (!$Header.attr("colspan")) {
|
|
1236
|
-
$Header.attr({
|
|
1237
|
-
"aria-sort": mAttributes["aria-sort"] || null
|
|
1238
|
-
});
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
1215
|
/**
|
|
1244
1216
|
* Updates the row tooltips to match the selection state.
|
|
1245
1217
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.120.
|
|
47
|
+
* @version 1.120.3
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
50
50
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -274,7 +274,7 @@ sap.ui.define([
|
|
|
274
274
|
*
|
|
275
275
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
276
276
|
* @author SAP SE
|
|
277
|
-
* @version 1.120.
|
|
277
|
+
* @version 1.120.3
|
|
278
278
|
* @constructor
|
|
279
279
|
* @private
|
|
280
280
|
* @alias sap.ui.table.extensions.DragAndDrop
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @abstract
|
|
20
20
|
* @extends sap.ui.base.Object
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.120.
|
|
22
|
+
* @version 1.120.3
|
|
23
23
|
* @constructor
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.table.extensions.ExtensionBase
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -267,7 +267,7 @@ sap.ui.define([
|
|
|
267
267
|
* @class Extension for sap.ui.table.Table which handles keyboard related things.
|
|
268
268
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
269
269
|
* @author SAP SE
|
|
270
|
-
* @version 1.120.
|
|
270
|
+
* @version 1.120.3
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
*
|
|
66
66
|
* @extends sap.ui.base.Object
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.120.
|
|
68
|
+
* @version 1.120.3
|
|
69
69
|
* @constructor
|
|
70
70
|
* @private
|
|
71
71
|
* @alias sap.ui.table.extensions.KeyboardDelegate
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -770,7 +770,7 @@ sap.ui.define([
|
|
|
770
770
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
771
771
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
772
772
|
* @author SAP SE
|
|
773
|
-
* @version 1.120.
|
|
773
|
+
* @version 1.120.3
|
|
774
774
|
* @constructor
|
|
775
775
|
* @private
|
|
776
776
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -2256,7 +2256,7 @@ sap.ui.define([
|
|
|
2256
2256
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2257
2257
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2258
2258
|
* @author SAP SE
|
|
2259
|
-
* @version 1.120.
|
|
2259
|
+
* @version 1.120.3
|
|
2260
2260
|
* @constructor
|
|
2261
2261
|
* @private
|
|
2262
2262
|
* @alias sap.ui.table.extensions.Scrolling
|