@openui5/sap.ui.table 1.132.0 → 1.133.0
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 +2 -2
- package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
- package/THIRDPARTY.txt +54 -66
- 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 +5 -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 +6 -6
- package/src/sap/ui/table/Table.js +5 -1
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TreeTable.js +5 -1
- package/src/sap/ui/table/extensions/Accessibility.js +1 -1
- 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/library.js +11 -11
- 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 +54 -44
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +6 -9
- package/src/sap/ui/table/plugins/BindingSelection.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/LICENSES/Unicode-DFS-2015.txt +0 -51
package/.reuse/dep5
CHANGED
|
@@ -235,8 +235,8 @@ License: Apache-2.0
|
|
|
235
235
|
Comment: these files belong to: Google-Caja JS HTML Sanitizer
|
|
236
236
|
|
|
237
237
|
Files: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
238
|
-
Copyright: 1991-
|
|
239
|
-
License: Unicode-
|
|
238
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
239
|
+
License: LicenseRef-Unicode-3.0
|
|
240
240
|
Comment: these files belong to: Unicode Common Locale Data Repository
|
|
241
241
|
|
|
242
242
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/*
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
UNICODE LICENSE V3
|
|
2
|
+
|
|
3
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
4
|
+
|
|
5
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
6
|
+
|
|
7
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
8
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
9
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
10
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
11
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
12
|
+
|
|
13
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
14
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
15
|
+
software and any associated documentation (the "Software") to deal in the
|
|
16
|
+
Data Files or Software without restriction, including without limitation
|
|
17
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
18
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
19
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
20
|
+
this copyright and permission notice appear with all copies of the Data
|
|
21
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
22
|
+
associated Documentation.
|
|
23
|
+
|
|
24
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
25
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
26
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
27
|
+
THIRD PARTY RIGHTS.
|
|
28
|
+
|
|
29
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
30
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
31
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
32
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
33
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
34
|
+
FILES OR SOFTWARE.
|
|
35
|
+
|
|
36
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
37
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
38
|
+
dealings in these Data Files or Software without prior written
|
|
39
|
+
authorization of the copyright holder.
|
package/THIRDPARTY.txt
CHANGED
|
@@ -187,10 +187,10 @@ License: Apache-2.0
|
|
|
187
187
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
188
188
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
189
189
|
|
|
190
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
191
|
-
Copyright: 1991-
|
|
192
|
-
License: Unicode-
|
|
193
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-
|
|
190
|
+
Component: Unicode Common Locale Data Repository, version: 46.1.0
|
|
191
|
+
Copyright: 1991-2024 Unicode, Inc.
|
|
192
|
+
License: LicenseRef-Unicode-3.0
|
|
193
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
|
194
194
|
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/*
|
|
195
195
|
|
|
196
196
|
Component: MobiScroll, version: 2.9.0
|
|
@@ -342,7 +342,7 @@ License: ISC
|
|
|
342
342
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
343
343
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
344
344
|
|
|
345
|
-
Component: Time Zone Database, version:
|
|
345
|
+
Component: Time Zone Database, version: 2024b
|
|
346
346
|
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
347
347
|
License: LicenseRef-tzdata-PublicDomain
|
|
348
348
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
@@ -966,6 +966,55 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
966
966
|
=================================
|
|
967
967
|
|
|
968
968
|
|
|
969
|
+
=================================
|
|
970
|
+
BEGIN of license: LicenseRef-Unicode-3.0
|
|
971
|
+
=================================
|
|
972
|
+
|
|
973
|
+
UNICODE LICENSE V3
|
|
974
|
+
|
|
975
|
+
COPYRIGHT AND PERMISSION NOTICE
|
|
976
|
+
|
|
977
|
+
Copyright © 1991-2024 Unicode, Inc.
|
|
978
|
+
|
|
979
|
+
NOTICE TO USER: Carefully read the following legal agreement. BY
|
|
980
|
+
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
|
|
981
|
+
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
|
982
|
+
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
|
|
983
|
+
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
984
|
+
|
|
985
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
986
|
+
copy of data files and any associated documentation (the "Data Files") or
|
|
987
|
+
software and any associated documentation (the "Software") to deal in the
|
|
988
|
+
Data Files or Software without restriction, including without limitation
|
|
989
|
+
the rights to use, copy, modify, merge, publish, distribute, and/or sell
|
|
990
|
+
copies of the Data Files or Software, and to permit persons to whom the
|
|
991
|
+
Data Files or Software are furnished to do so, provided that either (a)
|
|
992
|
+
this copyright and permission notice appear with all copies of the Data
|
|
993
|
+
Files or Software, or (b) this copyright and permission notice appear in
|
|
994
|
+
associated Documentation.
|
|
995
|
+
|
|
996
|
+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
997
|
+
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
998
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
|
999
|
+
THIRD PARTY RIGHTS.
|
|
1000
|
+
|
|
1001
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1002
|
+
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1003
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
1004
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
1005
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
|
|
1006
|
+
FILES OR SOFTWARE.
|
|
1007
|
+
|
|
1008
|
+
Except as contained in this notice, the name of a copyright holder shall
|
|
1009
|
+
not be used in advertising or otherwise to promote the sale, use or other
|
|
1010
|
+
dealings in these Data Files or Software without prior written
|
|
1011
|
+
authorization of the copyright holder.
|
|
1012
|
+
|
|
1013
|
+
=================================
|
|
1014
|
+
END of license: LicenseRef-Unicode-3.0
|
|
1015
|
+
=================================
|
|
1016
|
+
|
|
1017
|
+
|
|
969
1018
|
=================================
|
|
970
1019
|
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
971
1020
|
=================================
|
|
@@ -1009,64 +1058,3 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1009
1058
|
END of license: MIT
|
|
1010
1059
|
=================================
|
|
1011
1060
|
|
|
1012
|
-
|
|
1013
|
-
=================================
|
|
1014
|
-
BEGIN of license: Unicode-DFS-2015
|
|
1015
|
-
=================================
|
|
1016
|
-
|
|
1017
|
-
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
1018
|
-
|
|
1019
|
-
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
|
|
1020
|
-
http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
|
|
1021
|
-
Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
|
|
1022
|
-
Software includes any source code published in the Unicode Standard or under
|
|
1023
|
-
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
1024
|
-
and http://www.unicode.org/cldr/data/.
|
|
1025
|
-
|
|
1026
|
-
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
|
1027
|
-
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
|
|
1028
|
-
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
|
|
1029
|
-
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
|
|
1030
|
-
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
1031
|
-
|
|
1032
|
-
COPYRIGHT AND PERMISSION NOTICE
|
|
1033
|
-
|
|
1034
|
-
Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
|
|
1035
|
-
the Terms of Use in http://www.unicode.org/copyright.html.
|
|
1036
|
-
|
|
1037
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1038
|
-
of the Unicode data files and any associated documentation (the "Data Files")
|
|
1039
|
-
or Unicode software and any associated documentation (the "Software") to deal
|
|
1040
|
-
in the Data Files or Software without restriction, including without limitation
|
|
1041
|
-
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
|
|
1042
|
-
of the Data Files or Software, and to permit persons to whom the Data Files
|
|
1043
|
-
or Software are furnished to do so, provided that
|
|
1044
|
-
|
|
1045
|
-
(a) this copyright and permission notice appear with all copies of the Data
|
|
1046
|
-
Files or Software,
|
|
1047
|
-
|
|
1048
|
-
(b) this copyright and permission notice appear in associated documentation,
|
|
1049
|
-
and
|
|
1050
|
-
|
|
1051
|
-
(c) there is clear notice in each modified Data File or in the Software as
|
|
1052
|
-
well as in the documentation associated with the Data File(s) or Software
|
|
1053
|
-
that the data or software has been modified.
|
|
1054
|
-
|
|
1055
|
-
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
1056
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1057
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
1058
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
1059
|
-
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
1060
|
-
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
|
|
1061
|
-
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
1062
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
1063
|
-
|
|
1064
|
-
Except as contained in this notice, the name of a copyright holder shall not
|
|
1065
|
-
be used in advertising or otherwise to promote the sale, use or other dealings
|
|
1066
|
-
in these Data Files or Software without prior written authorization of the
|
|
1067
|
-
copyright holder.
|
|
1068
|
-
|
|
1069
|
-
=================================
|
|
1070
|
-
END of license: Unicode-DFS-2015
|
|
1071
|
-
=================================
|
|
1072
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.133.0",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.133.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.133.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-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.
|
|
9
|
+
<version>1.133.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @see https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
51
51
|
*
|
|
52
52
|
* @extends sap.ui.table.Table
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.133.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -193,6 +193,10 @@ sap.ui.define([
|
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
AnalyticalTable.prototype._getContexts = function(iStartIndex, iLength, iThreshold) {
|
|
196
|
+
if (!this.getVisible()) {
|
|
197
|
+
return [];
|
|
198
|
+
}
|
|
199
|
+
|
|
196
200
|
const oBinding = this.getBinding();
|
|
197
201
|
if (oBinding) {
|
|
198
202
|
// first call getContexts to trigger data load but return nodes instead of contexts
|
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.
|
|
38
|
+
* @version 1.133.0
|
|
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.
|
|
30
|
+
* @version 1.133.0
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -42,13 +42,13 @@ sap.ui.define([
|
|
|
42
42
|
/**
|
|
43
43
|
* The highlight state of the rows.
|
|
44
44
|
*
|
|
45
|
-
* If the highlight is set to {@link sap
|
|
46
|
-
* Valid values for the <code>highlight</code> property are values of the enumerations {@link sap
|
|
45
|
+
* If the highlight is set to {@link module:sap/ui/core/message/MessageType MessageType.None} (default), no highlights are visible.
|
|
46
|
+
* Valid values for the <code>highlight</code> property are values of the enumerations {@link module:sap/ui/core/message/MessageType} or
|
|
47
47
|
* {@link sap.ui.core.IndicationColor} (only values of <code>Indication01</code> to <code>Indication10</code> are supported
|
|
48
48
|
* for accessibility contrast reasons).
|
|
49
49
|
*
|
|
50
50
|
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText highlightText} property.
|
|
51
|
-
* If the <code>highlight</code> property is set to a value of {@link sap
|
|
51
|
+
* If the <code>highlight</code> property is set to a value of {@link module:sap/ui/core/message/MessageType}, the <code>highlightText</code>
|
|
52
52
|
* property does not need to be set because a default text is used. However, the default text can be overridden by setting the
|
|
53
53
|
* <code>highlightText</code> property.
|
|
54
54
|
* In all other cases the <code>highlightText</code> property must be set.
|
|
@@ -83,8 +83,8 @@ sap.ui.define([
|
|
|
83
83
|
return Element.prototype.validateProperty.apply(this, arguments);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
if (!DataType.getType("sap.ui.core.MessageType").isValid(oValue) && !DataType.getType("sap.ui.core.IndicationColor").isValid(oValue)) {
|
|
87
|
-
throw new Error("\"" + oValue + "\" is of type " + typeof oValue + ", expected is a value of the enums sap
|
|
86
|
+
if (!DataType.getType("sap.ui.core.message.MessageType").isValid(oValue) && !DataType.getType("sap.ui.core.IndicationColor").isValid(oValue)) {
|
|
87
|
+
throw new Error("\"" + oValue + "\" is of type " + typeof oValue + ", expected is a value of the enums sap/ui/core/message/MessageType or sap.ui.core.IndicationColor"
|
|
88
88
|
+ " for property \"" + sPropertyName + "\" of " + this);
|
|
89
89
|
}
|
|
90
90
|
return oValue;
|
|
@@ -104,7 +104,7 @@ sap.ui.define([
|
|
|
104
104
|
* the data model and binding being used.
|
|
105
105
|
* </p>
|
|
106
106
|
* @extends sap.ui.core.Control
|
|
107
|
-
* @version 1.
|
|
107
|
+
* @version 1.133.0
|
|
108
108
|
*
|
|
109
109
|
* @constructor
|
|
110
110
|
* @public
|
|
@@ -2495,6 +2495,10 @@ sap.ui.define([
|
|
|
2495
2495
|
* @see sap.ui.model.ListBinding#getContexts
|
|
2496
2496
|
*/
|
|
2497
2497
|
Table.prototype._getContexts = function(iStartIndex, iLength, iThreshold, bKeepCurrent) {
|
|
2498
|
+
if (!this.getVisible()) {
|
|
2499
|
+
return [];
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2498
2502
|
const oBinding = this.getBinding();
|
|
2499
2503
|
return oBinding ? oBinding.getContexts(iStartIndex, iLength, iThreshold, bKeepCurrent) : [];
|
|
2500
2504
|
};
|
|
@@ -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.
|
|
45
|
+
* @version 1.133.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -274,6 +274,10 @@ sap.ui.define([
|
|
|
274
274
|
};
|
|
275
275
|
|
|
276
276
|
TreeTable.prototype._getContexts = function(iStartIndex, iLength, iThreshold, bKeepCurrent) {
|
|
277
|
+
if (!this.getVisible()) {
|
|
278
|
+
return [];
|
|
279
|
+
}
|
|
280
|
+
|
|
277
281
|
return this._oProxy.getContexts(iStartIndex, iLength, iThreshold, bKeepCurrent);
|
|
278
282
|
};
|
|
279
283
|
|
|
@@ -969,7 +969,7 @@ sap.ui.define([
|
|
|
969
969
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
970
970
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
971
971
|
* @author SAP SE
|
|
972
|
-
* @version 1.
|
|
972
|
+
* @version 1.133.0
|
|
973
973
|
* @constructor
|
|
974
974
|
* @private
|
|
975
975
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -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.
|
|
47
|
+
* @version 1.133.0
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
50
50
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -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.
|
|
270
|
+
* @version 1.133.0
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -670,7 +670,7 @@ sap.ui.define([
|
|
|
670
670
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
671
671
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
672
672
|
* @author SAP SE
|
|
673
|
-
* @version 1.
|
|
673
|
+
* @version 1.133.0
|
|
674
674
|
* @constructor
|
|
675
675
|
* @private
|
|
676
676
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2295,7 +2295,7 @@ sap.ui.define([
|
|
|
2295
2295
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2296
2296
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2297
2297
|
* @author SAP SE
|
|
2298
|
-
* @version 1.
|
|
2298
|
+
* @version 1.133.0
|
|
2299
2299
|
* @constructor
|
|
2300
2300
|
* @private
|
|
2301
2301
|
* @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.
|
|
30
|
+
* @version 1.133.0
|
|
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.
|
|
188
|
+
* @version 1.133.0
|
|
189
189
|
* @constructor
|
|
190
190
|
* @private
|
|
191
191
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -27,14 +27,14 @@ sap.ui.define([
|
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.133.0
|
|
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.
|
|
37
|
+
version: "1.133.0",
|
|
38
38
|
dependencies: ["sap.ui.core", "sap.ui.unified"],
|
|
39
39
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
40
40
|
types: [
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
/**
|
|
97
97
|
* Navigation mode of the table
|
|
98
98
|
*
|
|
99
|
-
* @version 1.
|
|
99
|
+
* @version 1.133.0
|
|
100
100
|
* @enum {string}
|
|
101
101
|
* @deprecated As of version 1.38, the concept has been discarded.
|
|
102
102
|
* @public
|
|
@@ -127,7 +127,7 @@ sap.ui.define([
|
|
|
127
127
|
/**
|
|
128
128
|
* Row Action types.
|
|
129
129
|
*
|
|
130
|
-
* @version 1.
|
|
130
|
+
* @version 1.133.0
|
|
131
131
|
* @enum {string}
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
/**
|
|
159
159
|
* Selection behavior of the table
|
|
160
160
|
*
|
|
161
|
-
* @version 1.
|
|
161
|
+
* @version 1.133.0
|
|
162
162
|
* @enum {string}
|
|
163
163
|
* @public
|
|
164
164
|
*/
|
|
@@ -189,7 +189,7 @@ sap.ui.define([
|
|
|
189
189
|
/**
|
|
190
190
|
* Selection mode of the table
|
|
191
191
|
*
|
|
192
|
-
* @version 1.
|
|
192
|
+
* @version 1.133.0
|
|
193
193
|
* @enum {string}
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
/**
|
|
228
228
|
* Sort order of a column
|
|
229
229
|
*
|
|
230
|
-
* @version 1.
|
|
230
|
+
* @version 1.133.0
|
|
231
231
|
* @enum {string}
|
|
232
232
|
* @public
|
|
233
233
|
* @deprecated As of version 1.120, replaced with <code>sap.ui.core.SortOrder</code>
|
|
@@ -254,7 +254,7 @@ sap.ui.define([
|
|
|
254
254
|
/**
|
|
255
255
|
* VisibleRowCountMode of the table
|
|
256
256
|
*
|
|
257
|
-
* @version 1.
|
|
257
|
+
* @version 1.133.0
|
|
258
258
|
* @enum {string}
|
|
259
259
|
* @deprecated As of version 1.119, see the <code>rowMode</code> aggregation of <code>sap.ui.table.Table</code> for more details.
|
|
260
260
|
* @public
|
|
@@ -299,7 +299,7 @@ sap.ui.define([
|
|
|
299
299
|
*
|
|
300
300
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
301
301
|
*
|
|
302
|
-
* @version 1.
|
|
302
|
+
* @version 1.133.0
|
|
303
303
|
* @enum {string}
|
|
304
304
|
* @public
|
|
305
305
|
*/
|
|
@@ -400,7 +400,7 @@ sap.ui.define([
|
|
|
400
400
|
*
|
|
401
401
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
402
402
|
*
|
|
403
|
-
* @version 1.
|
|
403
|
+
* @version 1.133.0
|
|
404
404
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
405
405
|
* @public
|
|
406
406
|
* @deprecated As of version 1.120, replaced by <code>sap.ui.model.TreeAutoExpandMode</code>
|
|
@@ -414,7 +414,7 @@ sap.ui.define([
|
|
|
414
414
|
/**
|
|
415
415
|
* Mode of a selection plugin
|
|
416
416
|
*
|
|
417
|
-
* @version 1.
|
|
417
|
+
* @version 1.133.0
|
|
418
418
|
* @enum {string}
|
|
419
419
|
* @private
|
|
420
420
|
*/
|
|
@@ -7,20 +7,18 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./ColumnHeaderMenuAdapter",
|
|
9
9
|
"../utils/TableUtils",
|
|
10
|
-
"../library",
|
|
11
10
|
"sap/m/library",
|
|
12
11
|
"sap/m/table/columnmenu/QuickAction",
|
|
13
|
-
"sap/m/table/columnmenu/QuickActionContainer",
|
|
14
12
|
"sap/m/table/columnmenu/QuickSort",
|
|
15
13
|
"sap/m/table/columnmenu/QuickSortItem",
|
|
16
14
|
"sap/m/table/columnmenu/QuickGroup",
|
|
17
15
|
"sap/m/table/columnmenu/QuickGroupItem",
|
|
18
16
|
"sap/m/table/columnmenu/QuickTotal",
|
|
19
17
|
"sap/m/table/columnmenu/QuickTotalItem",
|
|
20
|
-
"sap/m/table/columnmenu/Item",
|
|
21
18
|
"sap/m/table/columnmenu/ItemContainer",
|
|
22
19
|
"sap/m/table/columnmenu/ActionItem",
|
|
23
20
|
"sap/m/Button",
|
|
21
|
+
"sap/m/Switch",
|
|
24
22
|
"sap/m/Input",
|
|
25
23
|
"sap/ui/core/Lib",
|
|
26
24
|
"sap/ui/core/library",
|
|
@@ -28,20 +26,18 @@ sap.ui.define([
|
|
|
28
26
|
], function(
|
|
29
27
|
ColumnHeaderMenuAdapter,
|
|
30
28
|
TableUtils,
|
|
31
|
-
library,
|
|
32
29
|
MLibrary,
|
|
33
30
|
QuickAction,
|
|
34
|
-
QuickActionContainer,
|
|
35
31
|
QuickSort,
|
|
36
32
|
QuickSortItem,
|
|
37
33
|
QuickGroup,
|
|
38
34
|
QuickGroupItem,
|
|
39
35
|
QuickTotal,
|
|
40
36
|
QuickTotalItem,
|
|
41
|
-
Item,
|
|
42
37
|
ItemContainer,
|
|
43
38
|
ActionItem,
|
|
44
39
|
Button,
|
|
40
|
+
Switch,
|
|
45
41
|
Input,
|
|
46
42
|
Library,
|
|
47
43
|
CoreLibrary,
|
|
@@ -59,11 +55,12 @@ sap.ui.define([
|
|
|
59
55
|
*
|
|
60
56
|
* @extends sap.ui.table.menus.ColumnHeaderMenuAdapter
|
|
61
57
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
58
|
+
* @version 1.133.0
|
|
63
59
|
* @private
|
|
64
60
|
* @alias sap.ui.table.menus.MobileColumnHeaderMenuAdapter
|
|
65
61
|
*/
|
|
66
|
-
const MobileColumnHeaderMenuAdapter = ColumnHeaderMenuAdapter.extend("sap.ui.table.menus.MobileColumnHeaderMenuAdapter",
|
|
62
|
+
const MobileColumnHeaderMenuAdapter = ColumnHeaderMenuAdapter.extend("sap.ui.table.menus.MobileColumnHeaderMenuAdapter",
|
|
63
|
+
/** @lends sap.ui.table.menus.MobileColumnHeaderMenuAdapter.prototype */ {});
|
|
67
64
|
|
|
68
65
|
/**
|
|
69
66
|
* Injects entries to the column menu needed to utilize built-in column features.
|
|
@@ -77,7 +74,12 @@ sap.ui.define([
|
|
|
77
74
|
this._oMenu = oMenu;
|
|
78
75
|
|
|
79
76
|
this._prepareQuickActions(oColumn);
|
|
80
|
-
|
|
77
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickSort);
|
|
78
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickFilter);
|
|
79
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickGroup);
|
|
80
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickTotal);
|
|
81
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickFreeze);
|
|
82
|
+
this._oMenu.addAggregation("_quickActions", this._oQuickResize);
|
|
81
83
|
|
|
82
84
|
this._prepareItems(oColumn);
|
|
83
85
|
oMenu.addAggregation("_items", this._oItemContainer);
|
|
@@ -90,7 +92,13 @@ sap.ui.define([
|
|
|
90
92
|
*/
|
|
91
93
|
MobileColumnHeaderMenuAdapter.prototype.removeMenuItems = function(oMenu) {
|
|
92
94
|
delete this._oColumn;
|
|
93
|
-
oMenu.removeAggregation("_quickActions", this.
|
|
95
|
+
oMenu.removeAggregation("_quickActions", this._oQuickSort);
|
|
96
|
+
oMenu.removeAggregation("_quickActions", this._oQuickFilter);
|
|
97
|
+
oMenu.removeAggregation("_quickActions", this._oQuickGroup);
|
|
98
|
+
oMenu.removeAggregation("_quickActions", this._oQuickTotal);
|
|
99
|
+
oMenu.removeAggregation("_quickActions", this._oQuickFreeze);
|
|
100
|
+
oMenu.removeAggregation("_quickActions", this._oQuickResize);
|
|
101
|
+
|
|
94
102
|
oMenu.removeAggregation("_items", this._oItemContainer);
|
|
95
103
|
};
|
|
96
104
|
|
|
@@ -105,12 +113,12 @@ sap.ui.define([
|
|
|
105
113
|
return;
|
|
106
114
|
}
|
|
107
115
|
|
|
108
|
-
delete this._oQuickActionContainer;
|
|
109
116
|
delete this._oQuickSort;
|
|
110
|
-
delete this._oQuickFreeze;
|
|
111
117
|
delete this._oQuickFilter;
|
|
112
118
|
delete this._oQuickGroup;
|
|
113
119
|
delete this._oQuickTotal;
|
|
120
|
+
delete this._oQuickFreeze;
|
|
121
|
+
delete this._oQuickResize;
|
|
114
122
|
|
|
115
123
|
delete this._oItemContainer;
|
|
116
124
|
delete this._oCustomFilterItem;
|
|
@@ -130,27 +138,13 @@ sap.ui.define([
|
|
|
130
138
|
const oTable = oColumn._getTable();
|
|
131
139
|
|
|
132
140
|
this._prepareQuickSort(oColumn);
|
|
133
|
-
|
|
134
141
|
if (!oTable.getEnableCustomFilter()) {
|
|
135
142
|
this._prepareQuickFilter(oColumn);
|
|
136
143
|
}
|
|
137
|
-
|
|
138
144
|
this._prepareQuickGroup(oColumn);
|
|
139
|
-
|
|
140
145
|
this._prepareQuickTotal(oColumn);
|
|
141
146
|
this._prepareQuickFreeze(oColumn);
|
|
142
147
|
this._prepareQuickResize(oColumn);
|
|
143
|
-
|
|
144
|
-
if (!this._oQuickActionContainer) {
|
|
145
|
-
this._oQuickActionContainer = new QuickActionContainer();
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickSort);
|
|
149
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickFilter);
|
|
150
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickGroup);
|
|
151
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickTotal);
|
|
152
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickFreeze);
|
|
153
|
-
this._oQuickActionContainer.addQuickAction(this._oQuickResize);
|
|
154
148
|
};
|
|
155
149
|
|
|
156
150
|
MobileColumnHeaderMenuAdapter.prototype._prepareItems = function(oColumn) {
|
|
@@ -168,16 +162,31 @@ sap.ui.define([
|
|
|
168
162
|
};
|
|
169
163
|
|
|
170
164
|
MobileColumnHeaderMenuAdapter.prototype._destroyQuickActions = function() {
|
|
171
|
-
if (this.
|
|
172
|
-
this.
|
|
165
|
+
if (this._oQuickSort) {
|
|
166
|
+
this._oQuickSort.destroy();
|
|
167
|
+
}
|
|
168
|
+
if (this._oQuickFilter) {
|
|
169
|
+
this._oQuickFilter.destroy();
|
|
170
|
+
}
|
|
171
|
+
if (this._oQuickGroup) {
|
|
172
|
+
this._oQuickGroup.destroy();
|
|
173
|
+
}
|
|
174
|
+
if (this._oQuickTotal) {
|
|
175
|
+
this._oQuickTotal.destroy();
|
|
176
|
+
}
|
|
177
|
+
if (this._oQuickFreeze) {
|
|
178
|
+
this._oQuickFreeze.destroy();
|
|
179
|
+
}
|
|
180
|
+
if (this._oQuickResize) {
|
|
181
|
+
this._oQuickResize.destroy();
|
|
173
182
|
}
|
|
174
183
|
|
|
175
|
-
delete this._oQuickActionContainer;
|
|
176
184
|
delete this._oQuickSort;
|
|
177
185
|
delete this._oQuickFilter;
|
|
178
186
|
delete this._oQuickGroup;
|
|
179
187
|
delete this._oQuickTotal;
|
|
180
188
|
delete this._oQuickFreeze;
|
|
189
|
+
delete this._oQuickResize;
|
|
181
190
|
};
|
|
182
191
|
|
|
183
192
|
MobileColumnHeaderMenuAdapter.prototype._destroyItems = function() {
|
|
@@ -221,7 +230,7 @@ sap.ui.define([
|
|
|
221
230
|
MobileColumnHeaderMenuAdapter.prototype._prepareQuickFilter = function(oColumn) {
|
|
222
231
|
if (oColumn.getShowFilterMenuEntry() && oColumn.isFilterableByMenu()) {
|
|
223
232
|
if (!this._oQuickFilter) {
|
|
224
|
-
this._oQuickFilter = this._createQuickFilter();
|
|
233
|
+
this._oQuickFilter = this._createQuickFilter(oColumn);
|
|
225
234
|
this._oQuickFilter._bHideLabelColon = true;
|
|
226
235
|
}
|
|
227
236
|
this._updateQuickFilter(oColumn);
|
|
@@ -251,10 +260,9 @@ sap.ui.define([
|
|
|
251
260
|
};
|
|
252
261
|
|
|
253
262
|
MobileColumnHeaderMenuAdapter.prototype._updateQuickFilter = function(oColumn) {
|
|
254
|
-
const oSapMResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
255
263
|
const oFilterField = this._oQuickFilter.getContent()[0];
|
|
256
264
|
|
|
257
|
-
this._oQuickFilter.setLabel(
|
|
265
|
+
this._oQuickFilter.setLabel(TableUtils.Column.getHeaderText(oColumn));
|
|
258
266
|
oFilterField.setValue(oColumn.getFilterValue());
|
|
259
267
|
oFilterField.setValueState(oColumn._getFilterState());
|
|
260
268
|
};
|
|
@@ -349,20 +357,21 @@ sap.ui.define([
|
|
|
349
357
|
|
|
350
358
|
MobileColumnHeaderMenuAdapter.prototype._createQuickFreeze = function() {
|
|
351
359
|
return new QuickAction({
|
|
352
|
-
|
|
353
|
-
|
|
360
|
+
label: TableUtils.getResourceText("TBL_FREEZE"),
|
|
361
|
+
content: new Switch({
|
|
362
|
+
customTextOn: " ",
|
|
363
|
+
customTextOff: " ",
|
|
364
|
+
change: [function(oEvent) {
|
|
354
365
|
const oTable = this._oColumn._getTable();
|
|
355
366
|
const bExecuteDefault = oTable.fireColumnFreeze({
|
|
356
367
|
column: this._oColumn
|
|
357
368
|
});
|
|
358
369
|
|
|
359
370
|
if (bExecuteDefault) {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
if (bIsLastFixedColumn) {
|
|
363
|
-
oTable.setFixedColumnCount(0);
|
|
364
|
-
} else {
|
|
371
|
+
if (oEvent.getSource().getState()) {
|
|
365
372
|
oTable.setFixedColumnCount(this._oColumn.getIndex() + 1);
|
|
373
|
+
} else {
|
|
374
|
+
oTable.setFixedColumnCount(this._oColumn.getIndex());
|
|
366
375
|
}
|
|
367
376
|
}
|
|
368
377
|
|
|
@@ -373,10 +382,8 @@ sap.ui.define([
|
|
|
373
382
|
};
|
|
374
383
|
|
|
375
384
|
MobileColumnHeaderMenuAdapter.prototype._updateQuickFreeze = function(oColumn) {
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
this._oQuickFreeze.getContent()[0].setText(TableUtils.getResourceText(sResourceTextKey));
|
|
385
|
+
const bFixed = oColumn.getIndex() + TableUtils.Column.getHeaderSpan(oColumn) <= oColumn._getTable().getComputedFixedColumnCount();
|
|
386
|
+
this._oQuickFreeze.getContent()[0].setState(bFixed);
|
|
380
387
|
};
|
|
381
388
|
|
|
382
389
|
MobileColumnHeaderMenuAdapter.prototype._prepareQuickResize = function(oColumn) {
|
|
@@ -392,10 +399,13 @@ sap.ui.define([
|
|
|
392
399
|
|
|
393
400
|
MobileColumnHeaderMenuAdapter.prototype._createQuickResize = function(oColumn) {
|
|
394
401
|
const oSapMResourceBundle = Library.getResourceBundleFor("sap.m");
|
|
402
|
+
const sLabel = oSapMResourceBundle.getText("table.COLUMNMENU_RESIZE");
|
|
395
403
|
|
|
396
404
|
return new QuickAction({
|
|
405
|
+
label: sLabel,
|
|
397
406
|
content: new Button({
|
|
398
|
-
|
|
407
|
+
icon: "sap-icon://resize-horizontal",
|
|
408
|
+
tooltip: sLabel,
|
|
399
409
|
press: [function(oEvent) {
|
|
400
410
|
this._startColumnResize(oColumn);
|
|
401
411
|
this._oMenu.close();
|
|
@@ -25,13 +25,12 @@ TBL_HIDE_COLUMN=\u206A\u206A\u206A\u200C\u200B\u200B\u200C\u200C\u200C\u200B\u20
|
|
|
25
25
|
TBL_COL_VISBILITY_MENUITEM_SHOW=\u206A\u206A\u206A\u200D\u200C\u200D\u200B\u200D\u200B\u200D\u200B\u200B\u200D\u200B\u200B\u200C\u200B\u200D\u200D\u200D\u200B\u200B\u200C\u200C\u200D\u200B\u200C\u200C\u200C\u200D\u200B\u200D\u200B\u200D\u200D\u200B\u200C\u200B\u200D\u200D\u200B\u200B\u200D\u206AShow Column\u206A\u206A
|
|
26
26
|
TBL_COL_VISBILITY_MENUITEM_HIDE=\u206A\u206A\u206A\u200C\u200B\u200B\u200D\u200D\u200B\u200C\u200D\u200B\u200C\u200C\u200D\u200D\u200D\u200B\u200C\u200D\u200C\u200B\u200C\u200C\u200B\u200D\u200D\u200B\u200C\u200D\u200D\u200D\u200C\u200B\u200B\u200D\u200B\u200D\u200C\u200D\u200C\u200D\u200C\u200D\u206AHide Column\u206A\u206A
|
|
27
27
|
|
|
28
|
-
TBL_TABLE_SELECTION_MULTI=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200C\u200D\u200B\u200B\u200B\u200C\u200D\u200D\u200C\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200B\u200C\u200B\u200D\u200C\u200C\u200C\u200D\u200B\u200C\u200B\u200D\u200C\u200B\u200B\u200C\u200D\u200C\u200B\u200D\u200C\u206AMulti
|
|
29
|
-
TBL_TABLE_SELECTION_SINGLE=\u206A\u206A\u206A\u200D\u200D\u200B\u200D\u200D\u200D\u200B\u200C\u200B\u200C\u200C\u200C\u200D\u200B\u200B\u200D\u200C\u200C\u200D\u200D\u200C\u200B\u200D\u200B\u200D\u200B\u200C\u200D\u200D\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u200D\u200D\u200C\u200C\u206ASingle
|
|
28
|
+
TBL_TABLE_SELECTION_MULTI=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200C\u200D\u200B\u200B\u200B\u200C\u200D\u200D\u200C\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200B\u200C\u200B\u200D\u200C\u200C\u200C\u200D\u200B\u200C\u200B\u200D\u200C\u200B\u200B\u200C\u200D\u200C\u200B\u200D\u200C\u206AMulti Selection Table\u206A\u206A
|
|
29
|
+
TBL_TABLE_SELECTION_SINGLE=\u206A\u206A\u206A\u200D\u200D\u200B\u200D\u200D\u200D\u200B\u200C\u200B\u200C\u200C\u200C\u200D\u200B\u200B\u200D\u200C\u200C\u200D\u200D\u200C\u200B\u200D\u200B\u200D\u200B\u200C\u200D\u200D\u200B\u200B\u200D\u200D\u200B\u200B\u200D\u200D\u200D\u200C\u200C\u206ASingle Selection Table\u206A\u206A
|
|
30
|
+
TBL_TABLE_SELECTION_COLUMNHEADER=\u206A\u206A\u206A\u200C\u200C\u200B\u200D\u200D\u200B\u200C\u200C\u200B\u200C\u200B\u200C\u200B\u200C\u200D\u200D\u200B\u200C\u200D\u200D\u200B\u200C\u200B\u200D\u200C\u200B\u200B\u200C\u200D\u200D\u200C\u200C\u200C\u200B\u200D\u200B\u200B\u200D\u200B\u200B\u200C\u206ASelection column\u206A\u206A
|
|
30
31
|
|
|
31
32
|
TBL_TABLE_INVALID=\u206A\u206A\u206A\u200C\u200C\u200D\u200D\u200B\u200D\u200D\u200B\u200B\u200B\u200B\u200B\u200D\u200D\u200D\u200C\u200B\u200D\u200C\u200B\u200D\u200D\u200C\u200D\u200B\u200D\u200B\u200C\u200B\u200C\u200D\u200C\u200D\u200B\u200B\u200D\u200C\u200C\u206AInvalid Table\u206A\u206A
|
|
32
33
|
|
|
33
|
-
TBL_DATA_ROWS_COLS=\u206A\u206A\u206A\u200C\u200B\u200D\u200B\u200B\u200B\u200B\u200D\u200B\u200B\u200B\u200D\u200B\u200B\u200B\u200D\u200B\u200C\u200C\u200D\u200B\u200C\u200D\u200D\u200D\u200C\u200B\u200B\u200B\u200D\u200D\u200D\u200B\u200B\u200D\u200C\u200B\u200B\u200B\u200D\u206ATable contains \u200B\u200B\u200B{0}\u200C\u200C\u200C rows and \u200B\u200B\u200B{1}\u200C\u200C\u200C columns\u206A\u206A
|
|
34
|
-
|
|
35
34
|
TBL_ROW_SELECT_KEY=\u206A\u206A\u206A\u200D\u200B\u200B\u200D\u200B\u200C\u200D\u200B\u200C\u200D\u200D\u200B\u200B\u200D\u200B\u200C\u200D\u200C\u200B\u200B\u200C\u200D\u200B\u200C\u200B\u200C\u200D\u200D\u200C\u200B\u200B\u200D\u200D\u200B\u200B\u200B\u200D\u200D\u200D\u200C\u206ATo select row, press SPACEBAR\u206A\u206A
|
|
36
35
|
TBL_ROW_DESELECT_KEY=\u206A\u206A\u206A\u200C\u200B\u200D\u200B\u200D\u200D\u200B\u200D\u200D\u200B\u200C\u200B\u200B\u200B\u200C\u200D\u200C\u200D\u200D\u200C\u200C\u200B\u200D\u200D\u200C\u200C\u200C\u200B\u200B\u200C\u200D\u200D\u200D\u200D\u200C\u200C\u200B\u200C\u200D\u200C\u206ATo deselect row, press SPACEBAR\u206A\u206A
|
|
37
36
|
|
|
@@ -44,7 +43,7 @@ TBL_NO_DATA=\u206A\u206A\u206A\u200C\u200C\u200B\u200C\u200D\u200D\u200B\u200B\u
|
|
|
44
43
|
TBL_SELECT_ALL=\u206A\u206A\u206A\u200D\u200C\u200B\u200C\u200B\u200B\u200B\u200C\u200D\u200B\u200B\u200D\u200B\u200D\u200B\u200B\u200C\u200B\u200C\u200C\u200C\u200B\u200D\u200C\u200D\u200D\u200C\u200B\u200C\u200C\u200B\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u200C\u206ASelect All\u206A\u206A
|
|
45
44
|
TBL_DESELECT_ALL=\u206A\u206A\u206A\u200C\u200C\u200D\u200C\u200B\u200C\u200C\u200C\u200C\u200D\u200C\u200C\u200D\u200B\u200D\u200D\u200D\u200B\u200C\u200C\u200C\u200D\u200D\u200B\u200D\u200C\u200C\u200B\u200D\u200D\u200C\u200C\u200C\u200D\u200B\u200B\u200B\u200C\u200C\u200C\u206ADeselect All\u206A\u206A
|
|
46
45
|
|
|
47
|
-
|
|
46
|
+
TBL_CELL_INCLUDES=\u206A\u206A\u206A\u200C\u200B\u200C\u200D\u200B\u200C\u200D\u200B\u200B\u200B\u200B\u200C\u200C\u200C\u200B\u200B\u200B\u200D\u200C\u200B\u200D\u200C\u200D\u200B\u200B\u200D\u200C\u200C\u200C\u200D\u200C\u200D\u200D\u200C\u200D\u200C\u200C\u200B\u200C\u200B\u200D\u206AIncludes \u200B\u200B\u200B{0}\u200C\u200C\u200C\u206A\u206A
|
|
48
47
|
|
|
49
48
|
TBL_COLLAPSE_EXPAND=\u206A\u206A\u206A\u200D\u200D\u200C\u200C\u200B\u200C\u200C\u200C\u200C\u200C\u200B\u200C\u200B\u200B\u200B\u200C\u200C\u200B\u200D\u200B\u200C\u200B\u200D\u200B\u200D\u200D\u200C\u200B\u200B\u200D\u200B\u200C\u200D\u200D\u200D\u200B\u200C\u200C\u200B\u200B\u206AExpand/Collapse Node\u206A\u206A
|
|
50
49
|
|
|
@@ -58,10 +57,6 @@ TBL_GROUP_TOTAL_ROW=\u206A\u206A\u206A\u200C\u200D\u200D\u200B\u200C\u200D\u200C
|
|
|
58
57
|
|
|
59
58
|
TBL_FIXED_COLUMN=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200C\u200C\u200C\u200B\u200D\u200D\u200D\u200B\u200B\u200C\u200B\u200B\u200D\u200D\u200D\u200D\u200B\u200B\u200B\u200D\u200D\u200C\u200C\u200D\u200C\u200D\u200B\u200C\u200C\u200C\u200C\u200C\u200C\u200D\u200B\u200D\u200C\u206AFixed Column\u206A\u206A
|
|
60
59
|
|
|
61
|
-
TBL_ROW_ROWCOUNT=\u206A\u206A\u206A\u200D\u200B\u200B\u200D\u200D\u200B\u200B\u200B\u200B\u200C\u200D\u200C\u200C\u200B\u200C\u200B\u200C\u200B\u200B\u200C\u200C\u200D\u200C\u200D\u200C\u200D\u200D\u200B\u200D\u200B\u200B\u200D\u200C\u200D\u200B\u200C\u200D\u200D\u200D\u200D\u206ARow \u200B\u200B\u200B{0}\u200C\u200C\u200C of \u200B\u200B\u200B{1}\u200C\u200C\u200C\u206A\u206A
|
|
62
|
-
|
|
63
|
-
TBL_COL_COLCOUNT=\u206A\u206A\u206A\u200C\u200D\u200C\u200D\u200B\u200C\u200D\u200B\u200B\u200D\u200D\u200B\u200D\u200B\u200D\u200D\u200C\u200B\u200D\u200C\u200C\u200D\u200C\u200D\u200B\u200D\u200B\u200C\u200D\u200C\u200D\u200B\u200B\u200D\u200C\u200D\u200C\u200C\u200D\u206AColumn \u200B\u200B\u200B{0}\u200C\u200C\u200C of \u200B\u200B\u200B{1}\u200C\u200C\u200C\u206A\u206A
|
|
64
|
-
|
|
65
60
|
TBL_ROW_GROUP_LABEL=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200B\u200C\u200B\u200D\u200C\u200D\u200C\u200D\u200C\u200D\u200C\u200D\u200C\u200B\u200C\u200C\u200C\u200D\u200B\u200C\u200C\u200C\u200C\u200C\u200B\u200C\u200D\u200C\u200D\u200B\u200C\u200B\u200D\u200D\u206AGroup Row\u206A\u206A
|
|
66
61
|
|
|
67
62
|
TBL_COL_DESC_MENU=\u206A\u206A\u206A\u200C\u200D\u200D\u200B\u200C\u200D\u200D\u200B\u200B\u200D\u200B\u200D\u200D\u200B\u200B\u200B\u200C\u200D\u200C\u200B\u200C\u200D\u200D\u200B\u200D\u200B\u200B\u200D\u200B\u200C\u200B\u200D\u200C\u200B\u200B\u200B\u200D\u200C\u200B\u206AMenu Available\u206A\u206A
|
|
@@ -139,3 +134,5 @@ TBL_RSZ_MINIMIZE_SHORTCUT=\u206A\u206A\u206A\u200C\u200B\u200C\u200B\u200C\u200B
|
|
|
139
134
|
TBL_RSZ_MAXIMIZE=\u206A\u206A\u206A\u200D\u200B\u200C\u200B\u200C\u200B\u200D\u200B\u200D\u200C\u200D\u200D\u200B\u200B\u200B\u200D\u200D\u200C\u200C\u200B\u200C\u200B\u200C\u200D\u200C\u200B\u200C\u200C\u200D\u200C\u200D\u200B\u200B\u200B\u200C\u200C\u200B\u200D\u200D\u200B\u206AMaximize Section\u206A\u206A
|
|
140
135
|
|
|
141
136
|
TBL_RSZ_MAXIMIZE_SHORTCUT=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200B\u200B\u200B\u200B\u200D\u200C\u200D\u200B\u200B\u200C\u200C\u200B\u200C\u200C\u200D\u200D\u200D\u200D\u200D\u200B\u200B\u200D\u200C\u200B\u200D\u200B\u200B\u200C\u200B\u200B\u200D\u200B\u200B\u200D\u200D\u200D\u206AEnd\u206A\u206A
|
|
137
|
+
|
|
138
|
+
TBL_RSZ_RESIZED=\u206A\u206A\u206A\u200D\u200D\u200C\u200C\u200C\u200C\u200C\u200D\u200D\u200D\u200D\u200D\u200B\u200C\u200C\u200D\u200D\u200B\u200D\u200B\u200D\u200D\u200B\u200C\u200C\u200C\u200D\u200C\u200D\u200C\u200B\u200C\u200B\u200B\u200D\u200B\u200C\u200C\u200C\u200D\u206A\u200B\u200B\u200B{0}\u200C\u200C\u200C rows shown\u206A\u206A
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @class Implements the selection methods for TreeTable and AnalyticalTable
|
|
23
23
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.133.0
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
27
27
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
*
|
|
24
24
|
* @class Implements the selection methods for a Table
|
|
25
25
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.133.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @public
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.133.0
|
|
42
42
|
*/
|
|
43
43
|
const InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.Interactive", /** @lends sap.ui.table.rowmodes.Interactive.prototype */ {
|
|
44
44
|
metadata: {
|
|
@@ -14,7 +14,7 @@ sap.ui.define([], function() {
|
|
|
14
14
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Binding...</code>
|
|
15
15
|
*
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.133.0
|
|
18
18
|
* @namespace
|
|
19
19
|
* @alias sap.ui.table.utils._BindingUtils
|
|
20
20
|
* @private
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Column...</code>
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.133.0
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Grouping...</code>
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.133.0
|
|
28
28
|
* @namespace
|
|
29
29
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
30
30
|
* @private
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType", "sap/ui/model/ChangeReason"], function(Da
|
|
|
22
22
|
* - There is no concept for public or protected hooks. Never expose a hook directly, only indirectly as can be seen in the examples.
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.133.0
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -14,7 +14,7 @@ sap.ui.define([], function() {
|
|
|
14
14
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
15
15
|
*
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.133.0
|
|
18
18
|
* @namespace
|
|
19
19
|
* @alias sap.ui.table.utils._MenuUtils
|
|
20
20
|
* @private
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
|
2
|
-
|
|
3
|
-
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
|
|
4
|
-
http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode
|
|
5
|
-
Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/.
|
|
6
|
-
Software includes any source code published in the Unicode Standard or under
|
|
7
|
-
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
|
8
|
-
and http://www.unicode.org/cldr/data/.
|
|
9
|
-
|
|
10
|
-
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
|
|
11
|
-
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
|
|
12
|
-
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
|
|
13
|
-
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
|
|
14
|
-
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
|
|
15
|
-
|
|
16
|
-
COPYRIGHT AND PERMISSION NOTICE
|
|
17
|
-
|
|
18
|
-
Copyright © 1991-2015 Unicode, Inc. All rights reserved. Distributed under
|
|
19
|
-
the Terms of Use in http://www.unicode.org/copyright.html.
|
|
20
|
-
|
|
21
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
-
of the Unicode data files and any associated documentation (the "Data Files")
|
|
23
|
-
or Unicode software and any associated documentation (the "Software") to deal
|
|
24
|
-
in the Data Files or Software without restriction, including without limitation
|
|
25
|
-
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
|
|
26
|
-
of the Data Files or Software, and to permit persons to whom the Data Files
|
|
27
|
-
or Software are furnished to do so, provided that
|
|
28
|
-
|
|
29
|
-
(a) this copyright and permission notice appear with all copies of the Data
|
|
30
|
-
Files or Software,
|
|
31
|
-
|
|
32
|
-
(b) this copyright and permission notice appear in associated documentation,
|
|
33
|
-
and
|
|
34
|
-
|
|
35
|
-
(c) there is clear notice in each modified Data File or in the Software as
|
|
36
|
-
well as in the documentation associated with the Data File(s) or Software
|
|
37
|
-
that the data or software has been modified.
|
|
38
|
-
|
|
39
|
-
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
|
40
|
-
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
42
|
-
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
|
|
43
|
-
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
|
|
44
|
-
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
|
|
45
|
-
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
|
46
|
-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
47
|
-
|
|
48
|
-
Except as contained in this notice, the name of a copyright holder shall not
|
|
49
|
-
be used in advertising or otherwise to promote the sale, use or other dealings
|
|
50
|
-
in these Data Files or Software without prior written authorization of the
|
|
51
|
-
copyright holder.
|