@openui5/sap.ui.table 1.118.0 → 1.119.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 +2 -2
- 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 +50 -34
- 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 +3 -3
- package/src/sap/ui/table/extensions/Pointer.js +4 -4
- 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/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -7
- package/src/sap/ui/table/messagebundle_bg.properties +7 -7
- package/src/sap/ui/table/messagebundle_da.properties +1 -1
- package/src/sap/ui/table/messagebundle_es.properties +6 -6
- package/src/sap/ui/table/messagebundle_fi.properties +2 -2
- package/src/sap/ui/table/messagebundle_fr.properties +2 -2
- package/src/sap/ui/table/messagebundle_hr.properties +1 -1
- package/src/sap/ui/table/messagebundle_it.properties +8 -8
- package/src/sap/ui/table/messagebundle_kk.properties +1 -1
- package/src/sap/ui/table/messagebundle_no.properties +2 -2
- package/src/sap/ui/table/messagebundle_pl.properties +1 -1
- package/src/sap/ui/table/messagebundle_ru.properties +1 -1
- package/src/sap/ui/table/messagebundle_sv.properties +1 -1
- package/src/sap/ui/table/messagebundle_uk.properties +2 -2
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +0 -1
- package/src/sap/ui/table/plugins/ODataV4Selection.js +0 -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 +42 -7
- package/src/sap/ui/table/rowmodes/Fixed.js +36 -8
- package/src/sap/ui/table/rowmodes/Interactive.js +35 -21
- package/src/sap/ui/table/rowmodes/RowMode.js +6 -5
- package/src/sap/ui/table/rowmodes/Type.js +2 -1
- package/src/sap/ui/table/rowmodes/Variable.js +3 -14
- package/src/sap/ui/table/rules/Rows.support.js +2 -2
- package/src/sap/ui/table/themes/base/Table.less +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +2 -2
- 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 +13 -45
package/THIRDPARTY.txt
CHANGED
|
@@ -401,7 +401,7 @@ License: MIT
|
|
|
401
401
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
402
402
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/adaptive-expressions.js
|
|
403
403
|
|
|
404
|
-
Component: Markdown-it, version: 12.2
|
|
404
|
+
Component: Markdown-it, version: 12.3.2
|
|
405
405
|
Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
406
406
|
License: MIT
|
|
407
407
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -466,7 +466,7 @@ License: Apache-2.0
|
|
|
466
466
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
467
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
468
468
|
|
|
469
|
-
Component: SAP Theming Base Content, version: 11.
|
|
469
|
+
Component: SAP Theming Base Content, version: 11.6.8
|
|
470
470
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
471
471
|
License: Apache-2.0
|
|
472
472
|
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.119.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.119.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.119.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 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.119.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.119.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.119.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* the data model and binding being used.
|
|
95
95
|
* </p>
|
|
96
96
|
* @extends sap.ui.core.Control
|
|
97
|
-
* @version 1.
|
|
97
|
+
* @version 1.119.0
|
|
98
98
|
*
|
|
99
99
|
* @constructor
|
|
100
100
|
* @public
|
|
@@ -127,8 +127,10 @@ sap.ui.define([
|
|
|
127
127
|
*
|
|
128
128
|
* If no value is set (includes 0), a default height is applied based on the content density configuration. In any
|
|
129
129
|
* <code>visibleRowCountMode</code>, the actual height can increase based on the content.
|
|
130
|
+
*
|
|
131
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
130
132
|
*/
|
|
131
|
-
rowHeight: {type: "int", group: "Appearance", defaultValue: null},
|
|
133
|
+
rowHeight: {type: "int", group: "Appearance", defaultValue: null, deprecated: true},
|
|
132
134
|
|
|
133
135
|
/**
|
|
134
136
|
* Header row height in pixel. If a value greater than 0 is set, it overrides the height defined in the <code>rowHeight</code> property
|
|
@@ -150,8 +152,10 @@ sap.ui.define([
|
|
|
150
152
|
|
|
151
153
|
/**
|
|
152
154
|
* Number of visible rows of the table.
|
|
155
|
+
*
|
|
156
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
153
157
|
*/
|
|
154
|
-
visibleRowCount: {type: "int", group: "Appearance", defaultValue: 10},
|
|
158
|
+
visibleRowCount: {type: "int", group: "Appearance", defaultValue: 10, deprecated: true},
|
|
155
159
|
|
|
156
160
|
/**
|
|
157
161
|
* First visible row.
|
|
@@ -272,14 +276,17 @@ sap.ui.define([
|
|
|
272
276
|
* rendering. The user can change the <code>visibleRowCount</code> by dragging a resizer.
|
|
273
277
|
*
|
|
274
278
|
* @since 1.9.2
|
|
279
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
275
280
|
*/
|
|
276
|
-
visibleRowCountMode: {type: "sap.ui.table.VisibleRowCountMode", group: "Appearance", defaultValue: VisibleRowCountMode.Fixed},
|
|
281
|
+
visibleRowCountMode: {type: "sap.ui.table.VisibleRowCountMode", group: "Appearance", defaultValue: VisibleRowCountMode.Fixed, deprecated: true},
|
|
277
282
|
|
|
278
283
|
/**
|
|
279
284
|
* This property is used to set the minimum count of visible rows when the property visibleRowCountMode is set to Auto or Interactive.
|
|
280
285
|
* For any other visibleRowCountMode, it is ignored.
|
|
286
|
+
*
|
|
287
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
281
288
|
*/
|
|
282
|
-
minAutoRowCount: {type: "int", group: "Appearance", defaultValue: 5},
|
|
289
|
+
minAutoRowCount: {type: "int", group: "Appearance", defaultValue: 5, deprecated: true},
|
|
283
290
|
|
|
284
291
|
/**
|
|
285
292
|
* Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.
|
|
@@ -295,15 +302,18 @@ sap.ui.define([
|
|
|
295
302
|
|
|
296
303
|
/**
|
|
297
304
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not fixed, will scroll.
|
|
305
|
+
*
|
|
306
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
298
307
|
*/
|
|
299
|
-
fixedRowCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
308
|
+
fixedRowCount: {type: "int", group: "Appearance", defaultValue: 0, deprecated: true},
|
|
300
309
|
|
|
301
310
|
/**
|
|
302
311
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are not fixed, will scroll.
|
|
303
312
|
*
|
|
304
313
|
* @since 1.18.7
|
|
314
|
+
* @deprecated As of version 1.119, use the <code>rowMode</code> aggregation instead.
|
|
305
315
|
*/
|
|
306
|
-
fixedBottomRowCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
316
|
+
fixedBottomRowCount: {type: "int", group: "Appearance", defaultValue: 0, deprecated: true},
|
|
307
317
|
|
|
308
318
|
/**
|
|
309
319
|
* Flag whether to show or hide the column menu item to freeze or unfreeze a column.
|
|
@@ -431,12 +441,13 @@ sap.ui.define([
|
|
|
431
441
|
|
|
432
442
|
/**
|
|
433
443
|
* Defines how the table handles the rows.
|
|
444
|
+
*
|
|
445
|
+
* @since 1.119
|
|
434
446
|
*/
|
|
435
447
|
rowMode: {
|
|
436
|
-
type: "sap.ui.
|
|
448
|
+
type: "sap.ui.table.rowmodes.RowMode",
|
|
437
449
|
multiple: false,
|
|
438
|
-
altTypes: ["sap.ui.table.rowmodes.Type"]
|
|
439
|
-
visibility: "hidden"
|
|
450
|
+
altTypes: ["sap.ui.table.rowmodes.Type"]
|
|
440
451
|
},
|
|
441
452
|
|
|
442
453
|
/**
|
|
@@ -1032,12 +1043,12 @@ sap.ui.define([
|
|
|
1032
1043
|
* @inheritDoc
|
|
1033
1044
|
*/
|
|
1034
1045
|
Table.prototype.applySettings = function(mSettings, oScope) {
|
|
1035
|
-
// The threshold must be set before the OData binding for the "rows" aggregation is initialized. If the metadata is
|
|
1036
|
-
// getContexts call may be triggered immediately with the default
|
|
1046
|
+
// The threshold and firstVisibleRow must be set before the OData binding for the "rows" aggregation is initialized. If the metadata is
|
|
1047
|
+
// already loaded, a getContexts call may be triggered immediately with the default values instead of the one in the settings.
|
|
1037
1048
|
// Some settings might rely on the existence of a row mode or plugin. If row modes and plugins are in the settings and applied before
|
|
1038
1049
|
// other settings, initialization of default row modes and legacy selection plugins can be avoided.
|
|
1039
1050
|
if (mSettings) {
|
|
1040
|
-
var aEarlySettings = ["threshold", "rowMode", "plugins"];
|
|
1051
|
+
var aEarlySettings = ["threshold", "firstVisibleRow", "rowMode", "plugins"];
|
|
1041
1052
|
var mEarlySettings = {};
|
|
1042
1053
|
|
|
1043
1054
|
for (var i = 0; i < aEarlySettings.length; i++) {
|
|
@@ -2140,19 +2151,21 @@ sap.ui.define([
|
|
|
2140
2151
|
*/
|
|
2141
2152
|
Table.prototype._onBindingChange = function(oEvent) {};
|
|
2142
2153
|
|
|
2143
|
-
|
|
2144
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
2145
|
-
*/
|
|
2146
|
-
Table.prototype.setRowMode = function(oRowMode) {
|
|
2154
|
+
Table.prototype.setRowMode = function(vRowMode) {
|
|
2147
2155
|
this._destroyDefaultRowMode();
|
|
2148
|
-
this.setAggregation("rowMode",
|
|
2156
|
+
this.setAggregation("rowMode", vRowMode);
|
|
2149
2157
|
this._initDefaultRowMode();
|
|
2150
2158
|
return this;
|
|
2151
2159
|
};
|
|
2152
2160
|
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2161
|
+
Table.prototype.destroyRowMode = function() {
|
|
2162
|
+
this.destroyAggregation("rowMode");
|
|
2163
|
+
|
|
2164
|
+
if (!this._oDefaultRowMode) {
|
|
2165
|
+
this._initDefaultRowMode();
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
return this;
|
|
2156
2169
|
};
|
|
2157
2170
|
|
|
2158
2171
|
/**
|
|
@@ -2163,6 +2176,14 @@ sap.ui.define([
|
|
|
2163
2176
|
*/
|
|
2164
2177
|
Table.prototype._getRowMode = function() {
|
|
2165
2178
|
var vRowMode = this.getRowMode();
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* @deprecated As of version 1.119
|
|
2182
|
+
*/
|
|
2183
|
+
if (!this.isDestroyStarted() && !TableUtils.isA(vRowMode, "sap.ui.table.rowmodes.RowMode") && !this._oDefaultRowMode) {
|
|
2184
|
+
this._initDefaultRowMode();
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2166
2187
|
return TableUtils.isA(vRowMode, "sap.ui.table.rowmodes.RowMode") ? vRowMode : this._oDefaultRowMode;
|
|
2167
2188
|
};
|
|
2168
2189
|
|
|
@@ -2180,6 +2201,9 @@ sap.ui.define([
|
|
|
2180
2201
|
return;
|
|
2181
2202
|
}
|
|
2182
2203
|
|
|
2204
|
+
/**
|
|
2205
|
+
* @deprecated As of version 1.119
|
|
2206
|
+
*/
|
|
2183
2207
|
if (vRowMode === null) {
|
|
2184
2208
|
switch (this.getVisibleRowCountMode()) {
|
|
2185
2209
|
case RowModeType.Fixed:
|
|
@@ -2245,9 +2269,6 @@ sap.ui.define([
|
|
|
2245
2269
|
return mRowCounts;
|
|
2246
2270
|
};
|
|
2247
2271
|
|
|
2248
|
-
/*
|
|
2249
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
2250
|
-
*/
|
|
2251
2272
|
Table.prototype.setVisibleRowCountMode = function(sVisibleRowCountMode) {
|
|
2252
2273
|
if (this.getRowMode()) {
|
|
2253
2274
|
Log.warning("If the \"rowMode\" aggregation is set, setting the \"visibleRowCountMode\" has no effect");
|
|
@@ -2266,9 +2287,6 @@ sap.ui.define([
|
|
|
2266
2287
|
return this;
|
|
2267
2288
|
};
|
|
2268
2289
|
|
|
2269
|
-
/*
|
|
2270
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
2271
|
-
*/
|
|
2272
2290
|
Table.prototype.setVisibleRowCount = function(iVisibleRowCount) {
|
|
2273
2291
|
var sVisibleRowCountMode = this.getVisibleRowCountMode();
|
|
2274
2292
|
if (sVisibleRowCountMode == VisibleRowCountMode.Auto) {
|
|
@@ -3637,9 +3655,6 @@ sap.ui.define([
|
|
|
3637
3655
|
return this;
|
|
3638
3656
|
};
|
|
3639
3657
|
|
|
3640
|
-
/*
|
|
3641
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
3642
|
-
*/
|
|
3643
3658
|
Table.prototype.setFixedRowCount = function(iFixedRowCount) {
|
|
3644
3659
|
if (!(parseInt(iFixedRowCount) >= 0)) {
|
|
3645
3660
|
Log.error("Number of fixed rows must be greater or equal 0", this);
|
|
@@ -3660,9 +3675,6 @@ sap.ui.define([
|
|
|
3660
3675
|
return this.setProperty("fixedRowCount", iFixedRowCount);
|
|
3661
3676
|
};
|
|
3662
3677
|
|
|
3663
|
-
/*
|
|
3664
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
3665
|
-
*/
|
|
3666
3678
|
Table.prototype.setFixedBottomRowCount = function(iFixedRowCount) {
|
|
3667
3679
|
if (!(parseInt(iFixedRowCount) >= 0)) {
|
|
3668
3680
|
Log.error("Number of fixed bottom rows must be greater or equal 0", this);
|
|
@@ -4203,6 +4215,10 @@ sap.ui.define([
|
|
|
4203
4215
|
Table.prototype._initSelectionPlugin = function() {
|
|
4204
4216
|
var oSelectionPlugin = this.getPlugin("sap.ui.table.plugins.SelectionPlugin");
|
|
4205
4217
|
|
|
4218
|
+
if (this.isDestroyed() || this.isDestroyStarted()) {
|
|
4219
|
+
return;
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4206
4222
|
if (oSelectionPlugin) {
|
|
4207
4223
|
this._destroyLegacySelectionPlugin();
|
|
4208
4224
|
|
|
@@ -4375,7 +4391,7 @@ sap.ui.define([
|
|
|
4375
4391
|
|
|
4376
4392
|
Table.prototype.onRowsUpdated = function(mParameters) {
|
|
4377
4393
|
TableUtils.Grouping.updateGroups(this);
|
|
4378
|
-
TableUtils.Menu.
|
|
4394
|
+
TableUtils.Menu.closeContentCellContextMenu(this);
|
|
4379
4395
|
this._getAccExtension()._updateAriaRowIndices();
|
|
4380
4396
|
this._updateSelection();
|
|
4381
4397
|
updateNoData(this);
|
|
@@ -954,7 +954,7 @@ sap.ui.define([
|
|
|
954
954
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
955
955
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
956
956
|
* @author SAP SE
|
|
957
|
-
* @version 1.
|
|
957
|
+
* @version 1.119.0
|
|
958
958
|
* @constructor
|
|
959
959
|
* @private
|
|
960
960
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
43
43
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.119.0
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @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.119.0
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
*
|
|
66
66
|
* @extends sap.ui.base.Object
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.119.0
|
|
69
69
|
* @constructor
|
|
70
70
|
* @private
|
|
71
71
|
* @alias sap.ui.table.extensions.KeyboardDelegate
|
|
@@ -1192,7 +1192,7 @@ sap.ui.define([
|
|
|
1192
1192
|
|
|
1193
1193
|
if (oCellInfo.isOfType(CellType.ANY)) {
|
|
1194
1194
|
oEvent.preventDefault(); // Prevent opening the default browser context menu.
|
|
1195
|
-
TableUtils.Menu.openContextMenu(this, oEvent
|
|
1195
|
+
TableUtils.Menu.openContextMenu(this, oEvent);
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
1198
|
|
|
@@ -1213,7 +1213,7 @@ sap.ui.define([
|
|
|
1213
1213
|
|
|
1214
1214
|
if (oCellInfo.isOfType(CellType.COLUMNHEADER)) {
|
|
1215
1215
|
if (KeyboardDelegate._isKeyCombination(oEvent, KeyCodes.SPACE) || KeyboardDelegate._isKeyCombination(oEvent, KeyCodes.ENTER)) {
|
|
1216
|
-
TableUtils.Menu.openContextMenu(this, oEvent
|
|
1216
|
+
TableUtils.Menu.openContextMenu(this, oEvent);
|
|
1217
1217
|
}
|
|
1218
1218
|
} else if (KeyboardDelegate._isKeyCombination(oEvent, KeyCodes.SPACE)) {
|
|
1219
1219
|
handleSpaceAndEnter(this, oEvent);
|
|
@@ -705,7 +705,7 @@ sap.ui.define([
|
|
|
705
705
|
var oPointerExtension = this._getPointerExtension();
|
|
706
706
|
|
|
707
707
|
if (oPointerExtension._bShowMenu) {
|
|
708
|
-
TableUtils.Menu.openContextMenu(this, oEvent
|
|
708
|
+
TableUtils.Menu.openContextMenu(this, oEvent);
|
|
709
709
|
delete oPointerExtension._bShowMenu;
|
|
710
710
|
}
|
|
711
711
|
} else if (oCellInfo.isOfType(TableUtils.CELLTYPE.COLUMNROWHEADER)) {
|
|
@@ -715,7 +715,7 @@ sap.ui.define([
|
|
|
715
715
|
oEvent.preventDefault();
|
|
716
716
|
} else if ($Target.hasClass("sapUiTableGroupMenuButton")) {
|
|
717
717
|
// Analytical Table: Mobile group menu button in group header rows.
|
|
718
|
-
TableUtils.Menu.openContextMenu(this, oEvent
|
|
718
|
+
TableUtils.Menu.openContextMenu(this, oEvent);
|
|
719
719
|
} else if ($Target.hasClass("sapUiTableGroupIcon") || $Target.hasClass("sapUiTableTreeIcon")) {
|
|
720
720
|
// Expand/Collapse icon
|
|
721
721
|
oRow.toggleExpandedState();
|
|
@@ -746,7 +746,7 @@ sap.ui.define([
|
|
|
746
746
|
delete oPointerExtension._bShowDefaultMenu;
|
|
747
747
|
|
|
748
748
|
} else if (oPointerExtension._bShowMenu) {
|
|
749
|
-
var bContextMenuOpened = TableUtils.Menu.openContextMenu(this, oEvent
|
|
749
|
+
var bContextMenuOpened = TableUtils.Menu.openContextMenu(this, oEvent);
|
|
750
750
|
|
|
751
751
|
if (bContextMenuOpened) {
|
|
752
752
|
oEvent.preventDefault(); // To prevent opening the default browser context menu.
|
|
@@ -770,7 +770,7 @@ sap.ui.define([
|
|
|
770
770
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
771
771
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
772
772
|
* @author SAP SE
|
|
773
|
-
* @version 1.
|
|
773
|
+
* @version 1.119.0
|
|
774
774
|
* @constructor
|
|
775
775
|
* @private
|
|
776
776
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2256,7 +2256,7 @@ sap.ui.define([
|
|
|
2256
2256
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2257
2257
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2258
2258
|
* @author SAP SE
|
|
2259
|
-
* @version 1.
|
|
2259
|
+
* @version 1.119.0
|
|
2260
2260
|
* @constructor
|
|
2261
2261
|
* @private
|
|
2262
2262
|
* @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.119.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -181,7 +181,7 @@ sap.ui.define([
|
|
|
181
181
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
182
182
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
183
183
|
* @author SAP SE
|
|
184
|
-
* @version 1.
|
|
184
|
+
* @version 1.119.0
|
|
185
185
|
* @constructor
|
|
186
186
|
* @private
|
|
187
187
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -24,13 +24,13 @@ sap.ui.define([
|
|
|
24
24
|
* @namespace
|
|
25
25
|
* @alias sap.ui.table
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.119.0
|
|
28
28
|
* @since 0.8
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.ui.table",
|
|
33
|
-
version: "1.
|
|
33
|
+
version: "1.119.0",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.ui.unified"],
|
|
35
35
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
36
36
|
types: [
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
/**
|
|
89
89
|
* Navigation mode of the table
|
|
90
90
|
*
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.119.0
|
|
92
92
|
* @enum {string}
|
|
93
93
|
* @public
|
|
94
94
|
*/
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
/**
|
|
116
116
|
* Row Action types.
|
|
117
117
|
*
|
|
118
|
-
* @version 1.
|
|
118
|
+
* @version 1.119.0
|
|
119
119
|
* @enum {string}
|
|
120
120
|
* @public
|
|
121
121
|
*/
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
/**
|
|
145
145
|
* Selection behavior of the table
|
|
146
146
|
*
|
|
147
|
-
* @version 1.
|
|
147
|
+
* @version 1.119.0
|
|
148
148
|
* @enum {string}
|
|
149
149
|
* @public
|
|
150
150
|
*/
|
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
/**
|
|
174
174
|
* Selection mode of the table
|
|
175
175
|
*
|
|
176
|
-
* @version 1.
|
|
176
|
+
* @version 1.119.0
|
|
177
177
|
* @enum {string}
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
@@ -209,7 +209,7 @@ sap.ui.define([
|
|
|
209
209
|
/**
|
|
210
210
|
* Sort order of a column
|
|
211
211
|
*
|
|
212
|
-
* @version 1.
|
|
212
|
+
* @version 1.119.0
|
|
213
213
|
* @enum {string}
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
@@ -232,7 +232,7 @@ sap.ui.define([
|
|
|
232
232
|
/**
|
|
233
233
|
* VisibleRowCountMode of the table
|
|
234
234
|
*
|
|
235
|
-
* @version 1.
|
|
235
|
+
* @version 1.119.0
|
|
236
236
|
* @enum {string}
|
|
237
237
|
* @public
|
|
238
238
|
*/
|
|
@@ -263,7 +263,7 @@ sap.ui.define([
|
|
|
263
263
|
*
|
|
264
264
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
265
265
|
*
|
|
266
|
-
* @version 1.
|
|
266
|
+
* @version 1.119.0
|
|
267
267
|
* @enum {string}
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
@@ -361,7 +361,7 @@ sap.ui.define([
|
|
|
361
361
|
*
|
|
362
362
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
363
363
|
*
|
|
364
|
-
* @version 1.
|
|
364
|
+
* @version 1.119.0
|
|
365
365
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
366
366
|
* @public
|
|
367
367
|
*/
|
|
@@ -374,7 +374,7 @@ sap.ui.define([
|
|
|
374
374
|
/**
|
|
375
375
|
* Mode of a selection plugin
|
|
376
376
|
*
|
|
377
|
-
* @version 1.
|
|
377
|
+
* @version 1.119.0
|
|
378
378
|
* @enum {string}
|
|
379
379
|
* @private
|
|
380
380
|
*/
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
*
|
|
60
60
|
* @extends sap.ui.table.menus.ColumnHeaderMenuAdapter
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.119.0
|
|
63
63
|
* @private
|
|
64
64
|
* @alias sap.ui.table.menus.MobileColumnHeaderMenuAdapter
|
|
65
65
|
*/
|
|
@@ -135,9 +135,6 @@ sap.ui.define([
|
|
|
135
135
|
this._prepareQuickFilter(oColumn);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
/**
|
|
139
|
-
* @deprecated As of version 1.118
|
|
140
|
-
*/
|
|
141
138
|
this._prepareQuickGroup(oColumn);
|
|
142
139
|
|
|
143
140
|
this._prepareQuickTotal(oColumn);
|
|
@@ -151,9 +148,6 @@ sap.ui.define([
|
|
|
151
148
|
this._oQuickActionContainer.addQuickAction(this._oQuickSort);
|
|
152
149
|
this._oQuickActionContainer.addQuickAction(this._oQuickFilter);
|
|
153
150
|
|
|
154
|
-
/**
|
|
155
|
-
* @deprecated As of version 1.118
|
|
156
|
-
*/
|
|
157
151
|
this._oQuickActionContainer.addQuickAction(this._oQuickGroup);
|
|
158
152
|
|
|
159
153
|
this._oQuickActionContainer.addQuickAction(this._oQuickTotal);
|