@openui5/sap.ui.table 1.121.0 → 1.122.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/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +1 -1
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +1 -1
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/Row.js +1 -1
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +1 -1
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TreeTable.js +1 -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 +21 -11
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- 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 +11 -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 +4 -8
package/THIRDPARTY.txt
CHANGED
|
@@ -461,7 +461,7 @@ License: Apache-2.0
|
|
|
461
461
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
462
462
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
463
463
|
|
|
464
|
-
Component: SAP Theming Base Content, version: 11.
|
|
464
|
+
Component: SAP Theming Base Content, version: 11.12.0
|
|
465
465
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
466
466
|
License: Apache-2.0
|
|
467
467
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.122.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.122.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.122.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
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.
|
|
9
|
+
<version>1.122.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* If more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
36
36
|
* This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.122.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -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.
|
|
27
|
+
* @version 1.122.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -965,7 +965,7 @@ sap.ui.define([
|
|
|
965
965
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
966
966
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
967
967
|
* @author SAP SE
|
|
968
|
-
* @version 1.
|
|
968
|
+
* @version 1.122.0
|
|
969
969
|
* @constructor
|
|
970
970
|
* @private
|
|
971
971
|
* @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.122.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.122.0
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -766,7 +766,7 @@ sap.ui.define([
|
|
|
766
766
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
767
767
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
768
768
|
* @author SAP SE
|
|
769
|
-
* @version 1.
|
|
769
|
+
* @version 1.122.0
|
|
770
770
|
* @constructor
|
|
771
771
|
* @private
|
|
772
772
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2264,7 +2264,7 @@ sap.ui.define([
|
|
|
2264
2264
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2265
2265
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2266
2266
|
* @author SAP SE
|
|
2267
|
-
* @version 1.
|
|
2267
|
+
* @version 1.122.0
|
|
2268
2268
|
* @constructor
|
|
2269
2269
|
* @private
|
|
2270
2270
|
* @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.122.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.122.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.122.0
|
|
31
31
|
* @since 0.8
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
34
|
var thisLib = Library.init({
|
|
35
35
|
name: "sap.ui.table",
|
|
36
36
|
apiVersion: 2,
|
|
37
|
-
version: "1.
|
|
37
|
+
version: "1.122.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.122.0
|
|
100
100
|
* @enum {string}
|
|
101
101
|
* @deprecated As of version 1.38
|
|
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.122.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.122.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.122.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.122.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.122.0
|
|
258
258
|
* @enum {string}
|
|
259
259
|
* @deprecated As of version 1.119
|
|
260
260
|
* @public
|
|
@@ -269,6 +269,16 @@ sap.ui.define([
|
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* The user can change the <code>visibleRowCount</code> by dragging a resizer.
|
|
272
|
+
*
|
|
273
|
+
* The following restrictions apply:
|
|
274
|
+
* <ul>
|
|
275
|
+
* <li>The functionality targets only the mouse interaction (drag and drop). There is no keyboard alternative available.
|
|
276
|
+
* An accessible alternative must be provided by applications, for example, by giving the user the possibility to enter
|
|
277
|
+
* the number of required rows in an input field.</li>
|
|
278
|
+
* <li>The resize interaction is not optimized for touch devices from a design and interaction perspective.
|
|
279
|
+
* We do not recommend to use this mode in such scenarios.</li>
|
|
280
|
+
* </ul>
|
|
281
|
+
*
|
|
272
282
|
* @public
|
|
273
283
|
*/
|
|
274
284
|
Interactive: "Interactive",
|
|
@@ -289,7 +299,7 @@ sap.ui.define([
|
|
|
289
299
|
*
|
|
290
300
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
291
301
|
*
|
|
292
|
-
* @version 1.
|
|
302
|
+
* @version 1.122.0
|
|
293
303
|
* @enum {string}
|
|
294
304
|
* @public
|
|
295
305
|
*/
|
|
@@ -390,7 +400,7 @@ sap.ui.define([
|
|
|
390
400
|
*
|
|
391
401
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
392
402
|
*
|
|
393
|
-
* @version 1.
|
|
403
|
+
* @version 1.122.0
|
|
394
404
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
395
405
|
* @public
|
|
396
406
|
* @deprecated As of version 1.120
|
|
@@ -404,7 +414,7 @@ sap.ui.define([
|
|
|
404
414
|
/**
|
|
405
415
|
* Mode of a selection plugin
|
|
406
416
|
*
|
|
407
|
-
* @version 1.
|
|
417
|
+
* @version 1.122.0
|
|
408
418
|
* @enum {string}
|
|
409
419
|
* @private
|
|
410
420
|
*/
|
|
@@ -192,7 +192,7 @@ sap.ui.define([
|
|
|
192
192
|
for (var i = 0; i < aColumns.length; i++) {
|
|
193
193
|
// If column menus of other columns are open, close them.
|
|
194
194
|
if (aColumns[i] !== oColumn) {
|
|
195
|
-
this._closeColumnContextMenu(
|
|
195
|
+
this._closeColumnContextMenu(aColumns[i]);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
@@ -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.122.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.122.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class TODO (don't forget to document fixed row count restrictions because fixed rows are set by this plugin)
|
|
33
33
|
* @extends sap.ui.table.plugins.PluginBase
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.122.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -22,6 +22,16 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @class
|
|
24
24
|
* The user can change the number of displayed rows by dragging a resizer.
|
|
25
|
+
*
|
|
26
|
+
* The following restrictions apply:
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>The functionality targets only the mouse interaction (drag and drop). There is no keyboard alternative available.
|
|
29
|
+
* An accessible alternative must be provided by applications, for example, by giving the user the possibility to enter
|
|
30
|
+
* the number of required rows in an input field.</li>
|
|
31
|
+
* <li>The resize interaction is not optimized for touch devices from a design and interaction perspective.
|
|
32
|
+
* We do not recommend to use this mode in such scenarios.</li>
|
|
33
|
+
* </ul>
|
|
34
|
+
*
|
|
25
35
|
* @extends sap.ui.table.rowmodes.RowMode
|
|
26
36
|
* @constructor
|
|
27
37
|
* @alias sap.ui.table.rowmodes.Interactive
|
|
@@ -29,7 +39,7 @@ sap.ui.define([
|
|
|
29
39
|
* @public
|
|
30
40
|
*
|
|
31
41
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
42
|
+
* @version 1.122.0
|
|
33
43
|
*/
|
|
34
44
|
var InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.Interactive", /** @lends sap.ui.table.rowmodes.Interactive.prototype */ {
|
|
35
45
|
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.122.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.122.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.122.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.122.0
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.122.0
|
|
46
46
|
* @namespace
|
|
47
47
|
* @alias sap.ui.table.utils._MenuUtils
|
|
48
48
|
* @private
|
|
@@ -113,10 +113,10 @@ sap.ui.define([
|
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
if (oTable.getContextMenu()) {
|
|
117
|
-
MenuUtils._openCustomContentCellContextMenu(oTable, oCellInfo, oEvent);
|
|
118
|
-
} else {
|
|
116
|
+
if (oRow.isGroupHeader() || oRow.isSummary() || !oTable.getContextMenu()) {
|
|
119
117
|
MenuUtils._openDefaultContentCellContextMenu(oTable, oCellInfo, oEvent);
|
|
118
|
+
} else {
|
|
119
|
+
MenuUtils._openCustomContentCellContextMenu(oTable, oCellInfo, oEvent);
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
|
|
@@ -135,10 +135,6 @@ sap.ui.define([
|
|
|
135
135
|
var oRow = oTable.getRows()[oCellInfo.rowIndex];
|
|
136
136
|
var oContextMenu = oTable.getContextMenu();
|
|
137
137
|
|
|
138
|
-
if (oRow.isGroupHeader() || oRow.isSummary()) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
138
|
oContextMenu.setBindingContext(oRow.getRowBindingContext(), oTable.getBindingInfo("rows").model);
|
|
143
139
|
|
|
144
140
|
var bExecuteDefault = oTable.fireBeforeOpenContextMenu({
|