@openui5/sap.ui.table 1.120.1 → 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/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +1 -1
- 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 +23 -76
- 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 +3 -7
- 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 +6 -1
- package/src/sap/ui/table/plugins/ODataV4Selection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +46 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +2 -2
- package/src/sap/ui/table/plugins/SelectionPlugin.js +5 -9
- 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/.reuse/dep5
CHANGED
|
@@ -223,7 +223,7 @@ License: Apache-2.0
|
|
|
223
223
|
Comment: these files belong to: Google-Caja JS HTML Sanitizer
|
|
224
224
|
|
|
225
225
|
Files: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
226
|
-
Copyright: 1991-
|
|
226
|
+
Copyright: 1991-2023 Unicode, Inc.
|
|
227
227
|
License: Unicode-DFS-2015
|
|
228
228
|
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
229
229
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -180,7 +180,7 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
|
180
180
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
181
181
|
|
|
182
182
|
Component: Unicode Common Locale Data Repository, version: 43
|
|
183
|
-
Copyright: 1991-
|
|
183
|
+
Copyright: 1991-2023 Unicode, Inc.
|
|
184
184
|
License: Unicode-DFS-2015
|
|
185
185
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
186
186
|
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
|
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,29 +662,15 @@ sap.ui.define([
|
|
|
662
662
|
};
|
|
663
663
|
|
|
664
664
|
Column.prototype.setSorted = function(bSorted) {
|
|
665
|
-
this.
|
|
666
|
-
|
|
667
|
-
if (bSorted && this.getSortOrder() === SortOrder.None) {
|
|
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
667
|
}
|
|
670
668
|
|
|
671
|
-
this.
|
|
672
|
-
return this;
|
|
669
|
+
return this.setProperty("sorted", bSorted);
|
|
673
670
|
};
|
|
674
671
|
|
|
675
|
-
Column.prototype.
|
|
676
|
-
this.setProperty("
|
|
677
|
-
this._updateIcons();
|
|
678
|
-
return this;
|
|
679
|
-
};
|
|
680
|
-
|
|
681
|
-
/*
|
|
682
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
683
|
-
*/
|
|
684
|
-
Column.prototype.setFiltered = function(bFlag) {
|
|
685
|
-
this.setProperty("filtered", bFlag, true);
|
|
686
|
-
this._updateIcons();
|
|
687
|
-
return this;
|
|
672
|
+
Column.prototype.setFilterValue = function(sValue) {
|
|
673
|
+
return this.setProperty("filterValue", sValue, true);
|
|
688
674
|
};
|
|
689
675
|
|
|
690
676
|
/*
|
|
@@ -694,6 +680,10 @@ sap.ui.define([
|
|
|
694
680
|
return this.setProperty("filterOperator", sValue, true);
|
|
695
681
|
};
|
|
696
682
|
|
|
683
|
+
Column.prototype.setDefaultFilterOperator = function(sValue) {
|
|
684
|
+
return this.setProperty("defaultFilterOperator", sValue, true);
|
|
685
|
+
};
|
|
686
|
+
|
|
697
687
|
Column.prototype._openHeaderMenu = function(oDomRef) {
|
|
698
688
|
var oHeaderMenu = this.getHeaderMenuInstance();
|
|
699
689
|
/**
|
|
@@ -763,16 +753,10 @@ sap.ui.define([
|
|
|
763
753
|
Column.prototype._sort = function(sSortOrder, bAdd) {
|
|
764
754
|
var oTable = this._getTable();
|
|
765
755
|
|
|
766
|
-
if (!oTable) {
|
|
756
|
+
if (!oTable || this.getSortProperty() === "") {
|
|
767
757
|
return;
|
|
768
758
|
}
|
|
769
759
|
|
|
770
|
-
if (sSortOrder === SortOrder.None) {
|
|
771
|
-
oTable._removeSortedColumn(this);
|
|
772
|
-
} else {
|
|
773
|
-
oTable.pushSortedColumn(this, bAdd);
|
|
774
|
-
}
|
|
775
|
-
|
|
776
760
|
var bExecuteDefault = oTable.fireSort({
|
|
777
761
|
column: this,
|
|
778
762
|
sortOrder: sSortOrder,
|
|
@@ -783,9 +767,15 @@ sap.ui.define([
|
|
|
783
767
|
return;
|
|
784
768
|
}
|
|
785
769
|
|
|
770
|
+
if (sSortOrder === SortOrder.None) {
|
|
771
|
+
oTable._removeSortedColumn(this);
|
|
772
|
+
} else {
|
|
773
|
+
oTable.pushSortedColumn(this, bAdd);
|
|
774
|
+
}
|
|
775
|
+
|
|
786
776
|
/** @deprecated As of version 1.120 */
|
|
787
|
-
this.
|
|
788
|
-
this.
|
|
777
|
+
this.setSorted(sSortOrder !== SortOrder.None);
|
|
778
|
+
this.setSortOrder(sSortOrder);
|
|
789
779
|
this._updateSorters();
|
|
790
780
|
};
|
|
791
781
|
|
|
@@ -800,9 +790,8 @@ sap.ui.define([
|
|
|
800
790
|
if (aSortedColumns.indexOf(aColumns[i]) < 0) {
|
|
801
791
|
// Column is not sorted anymore. Reset to default and remove sorter.
|
|
802
792
|
/** @deprecated As of version 1.120 */
|
|
803
|
-
aColumns[i].
|
|
804
|
-
aColumns[i].
|
|
805
|
-
aColumns[i]._updateIcons(true);
|
|
793
|
+
aColumns[i].resetProperty("sorted");
|
|
794
|
+
aColumns[i].resetProperty("sortOrder");
|
|
806
795
|
delete _private(aColumns[i]).oSorter;
|
|
807
796
|
}
|
|
808
797
|
}
|
|
@@ -812,13 +801,6 @@ sap.ui.define([
|
|
|
812
801
|
_private(this).oSorter = new Sorter(this.getSortProperty(), sSortOrder === SortOrder.Descending);
|
|
813
802
|
}
|
|
814
803
|
|
|
815
|
-
// Make sure sorted columns show the sort icon.
|
|
816
|
-
for (let i = 0, l = aSortedColumns.length; i < l; i++) {
|
|
817
|
-
aSortedColumns[i]._updateIcons(true);
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
oTable._resetColumnHeaderHeights();
|
|
821
|
-
oTable._updateRowHeights(oTable._collectRowHeights(true), true);
|
|
822
804
|
this._applySorters();
|
|
823
805
|
};
|
|
824
806
|
|
|
@@ -839,39 +821,6 @@ sap.ui.define([
|
|
|
839
821
|
oBinding.sort(aSorters);
|
|
840
822
|
};
|
|
841
823
|
|
|
842
|
-
Column.prototype._updateIcons = function(bSkipUpdateRowHeights) {
|
|
843
|
-
var oTable = this._getTable();
|
|
844
|
-
var bSorted = this.getSortOrder() !== SortOrder.None;
|
|
845
|
-
var bFiltered = this.getFiltered();
|
|
846
|
-
|
|
847
|
-
/** @deprecated As of version 1.120 */
|
|
848
|
-
if (!this.getSorted()) {
|
|
849
|
-
bSorted = false;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
if (!oTable || !oTable.getDomRef()) {
|
|
853
|
-
return;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
this.$()
|
|
857
|
-
.parents(".sapUiTableCHT")
|
|
858
|
-
.find('td[data-sap-ui-colindex="' + this.getIndex() + '"]:not([colspan]):not(.sapUiTableHidden):first')
|
|
859
|
-
.toggleClass("sapUiTableColFiltered", bFiltered)
|
|
860
|
-
.toggleClass("sapUiTableColSorted", bSorted)
|
|
861
|
-
.toggleClass("sapUiTableColSortedD", bSorted && this.getSortOrder() === SortOrder.Descending);
|
|
862
|
-
|
|
863
|
-
oTable._getAccExtension().updateAriaStateOfColumn(this);
|
|
864
|
-
|
|
865
|
-
if (!bSkipUpdateRowHeights) {
|
|
866
|
-
oTable._resetColumnHeaderHeights();
|
|
867
|
-
oTable._updateRowHeights(oTable._collectRowHeights(true), true);
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
|
|
871
|
-
Column.prototype._renderSortIcon = function() {
|
|
872
|
-
this._updateIcons();
|
|
873
|
-
};
|
|
874
|
-
|
|
875
824
|
Column.prototype._getFilterState = function() {
|
|
876
825
|
try {
|
|
877
826
|
this._getFilter();
|
|
@@ -978,8 +927,8 @@ sap.ui.define([
|
|
|
978
927
|
});
|
|
979
928
|
|
|
980
929
|
if (bExecuteDefault) {
|
|
981
|
-
this.
|
|
982
|
-
this.
|
|
930
|
+
this.setFiltered(!!sValue);
|
|
931
|
+
this.setFilterValue(sValue);
|
|
983
932
|
|
|
984
933
|
var aFilters = [];
|
|
985
934
|
var aCols = oTable.getColumns();
|
|
@@ -1004,8 +953,6 @@ sap.ui.define([
|
|
|
1004
953
|
TableUtils.Hook.call(this._getTable(), TableUtils.Hook.Keys.Column.SetFilterState, oCol, sState);
|
|
1005
954
|
}
|
|
1006
955
|
oTable.getBinding().filter(aFilters, FilterType.Control);
|
|
1007
|
-
|
|
1008
|
-
this._updateIcons();
|
|
1009
956
|
}
|
|
1010
957
|
}
|
|
1011
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
|
|
@@ -2771,11 +2771,7 @@ sap.ui.define([
|
|
|
2771
2771
|
}
|
|
2772
2772
|
|
|
2773
2773
|
if (!this._bReorderInProcess) {
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
if (iIndexInSortedColumns >= 0) {
|
|
2777
|
-
this._aSortedColumns.splice(iIndexInSortedColumns, 1);
|
|
2778
|
-
}
|
|
2774
|
+
this._removeSortedColumn(oColumn);
|
|
2779
2775
|
}
|
|
2780
2776
|
|
|
2781
2777
|
onColumnsAggregationChange(this);
|
|
@@ -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
|