@openui5/sap.ui.table 1.120.7 → 1.121.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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +1 -42
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +16 -6
- package/src/sap/ui/table/Column.js +41 -57
- package/src/sap/ui/table/ColumnMenu.js +5 -4
- package/src/sap/ui/table/CreationRow.js +1 -7
- package/src/sap/ui/table/Row.js +3 -7
- 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 -10
- package/src/sap/ui/table/Table.js +54 -181
- package/src/sap/ui/table/TablePersoController.js +7 -6
- package/src/sap/ui/table/TableRenderer.js +4 -6
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +31 -116
- package/src/sap/ui/table/extensions/AccessibilityRender.js +6 -8
- 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 +7 -7
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +27 -28
- package/src/sap/ui/table/extensions/Pointer.js +2 -6
- package/src/sap/ui/table/extensions/Scrolling.js +12 -4
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +8 -4
- package/src/sap/ui/table/library.js +44 -21
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +5 -5
- package/src/sap/ui/table/messagebundle.properties +0 -7
- package/src/sap/ui/table/messagebundle_ar.properties +0 -4
- package/src/sap/ui/table/messagebundle_bg.properties +0 -4
- package/src/sap/ui/table/messagebundle_ca.properties +0 -4
- package/src/sap/ui/table/messagebundle_cnr.properties +0 -4
- package/src/sap/ui/table/messagebundle_cs.properties +0 -4
- package/src/sap/ui/table/messagebundle_cy.properties +0 -4
- package/src/sap/ui/table/messagebundle_da.properties +0 -4
- package/src/sap/ui/table/messagebundle_de.properties +0 -4
- package/src/sap/ui/table/messagebundle_el.properties +0 -4
- package/src/sap/ui/table/messagebundle_en.properties +0 -4
- package/src/sap/ui/table/messagebundle_en_GB.properties +0 -4
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +0 -4
- package/src/sap/ui/table/messagebundle_es.properties +0 -4
- package/src/sap/ui/table/messagebundle_es_MX.properties +0 -4
- package/src/sap/ui/table/messagebundle_et.properties +0 -4
- package/src/sap/ui/table/messagebundle_fi.properties +0 -4
- package/src/sap/ui/table/messagebundle_fr.properties +0 -4
- package/src/sap/ui/table/messagebundle_fr_CA.properties +0 -4
- package/src/sap/ui/table/messagebundle_hi.properties +0 -4
- package/src/sap/ui/table/messagebundle_hr.properties +0 -4
- package/src/sap/ui/table/messagebundle_hu.properties +0 -4
- package/src/sap/ui/table/messagebundle_id.properties +0 -4
- package/src/sap/ui/table/messagebundle_it.properties +0 -4
- package/src/sap/ui/table/messagebundle_iw.properties +0 -4
- package/src/sap/ui/table/messagebundle_ja.properties +0 -4
- package/src/sap/ui/table/messagebundle_kk.properties +0 -4
- package/src/sap/ui/table/messagebundle_ko.properties +0 -4
- package/src/sap/ui/table/messagebundle_lt.properties +0 -4
- package/src/sap/ui/table/messagebundle_lv.properties +0 -4
- package/src/sap/ui/table/messagebundle_mk.properties +0 -4
- package/src/sap/ui/table/messagebundle_ms.properties +0 -4
- package/src/sap/ui/table/messagebundle_nl.properties +0 -4
- package/src/sap/ui/table/messagebundle_no.properties +0 -4
- package/src/sap/ui/table/messagebundle_pl.properties +0 -4
- package/src/sap/ui/table/messagebundle_pt.properties +0 -4
- package/src/sap/ui/table/messagebundle_pt_PT.properties +0 -4
- package/src/sap/ui/table/messagebundle_ro.properties +0 -4
- package/src/sap/ui/table/messagebundle_ru.properties +0 -4
- package/src/sap/ui/table/messagebundle_sh.properties +0 -4
- package/src/sap/ui/table/messagebundle_sk.properties +0 -4
- package/src/sap/ui/table/messagebundle_sl.properties +0 -4
- package/src/sap/ui/table/messagebundle_sr.properties +0 -4
- package/src/sap/ui/table/messagebundle_sv.properties +0 -4
- package/src/sap/ui/table/messagebundle_th.properties +0 -4
- package/src/sap/ui/table/messagebundle_tr.properties +0 -4
- package/src/sap/ui/table/messagebundle_uk.properties +0 -4
- package/src/sap/ui/table/messagebundle_vi.properties +0 -4
- package/src/sap/ui/table/messagebundle_zh_CN.properties +0 -4
- package/src/sap/ui/table/messagebundle_zh_TW.properties +0 -4
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/ODataV4Selection.js +5 -9
- package/src/sap/ui/table/plugins/PluginBase.js +3 -3
- 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 +12 -18
- package/src/sap/ui/table/rowmodes/Auto.js +2 -2
- 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 +4 -2
- package/src/sap/ui/table/rowmodes/Type.js +4 -2
- package/src/sap/ui/table/rowmodes/Variable.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +3 -1
- package/src/sap/ui/table/themes/base/RowHighlight.less +0 -6
- package/src/sap/ui/table/utils/TableUtils.js +26 -5
- 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 +6 -6
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +64 -123
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/ui/table/AnalyticalColumnMenuRenderer.js +0 -12
- package/src/sap/ui/table/AnalyticalTableRenderer.js +0 -12
- package/src/sap/ui/table/ColumnMenuRenderer.js +0 -12
- package/src/sap/ui/table/TreeTableRenderer.js +0 -12
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// Provides control sap.ui.table.ColumnMenu.
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'./library',
|
|
10
|
+
"sap/ui/core/Element",
|
|
10
11
|
'sap/ui/unified/Menu',
|
|
11
12
|
'sap/ui/unified/MenuItem',
|
|
12
13
|
'sap/ui/unified/MenuTextFieldItem',
|
|
@@ -15,7 +16,7 @@ sap.ui.define([
|
|
|
15
16
|
"sap/base/assert",
|
|
16
17
|
"sap/ui/thirdparty/jquery"
|
|
17
18
|
],
|
|
18
|
-
function(library, Menu, MenuItem, MenuTextFieldItem, MenuRenderer, TableUtils, assert, jQuery) {
|
|
19
|
+
function(library, Element, Menu, MenuItem, MenuTextFieldItem, MenuRenderer, TableUtils, assert, jQuery) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -39,7 +40,7 @@ sap.ui.define([
|
|
|
39
40
|
* @class
|
|
40
41
|
* The column menu provides all common actions that can be performed on a column.
|
|
41
42
|
* @extends sap.ui.unified.Menu
|
|
42
|
-
* @version 1.
|
|
43
|
+
* @version 1.121.0
|
|
43
44
|
*
|
|
44
45
|
* @constructor
|
|
45
46
|
* @public
|
|
@@ -411,7 +412,7 @@ sap.ui.define([
|
|
|
411
412
|
var oColumn = this.getParent();
|
|
412
413
|
var oTable = (oColumn ? oColumn.getParent() : undefined);
|
|
413
414
|
|
|
414
|
-
var oFilterField =
|
|
415
|
+
var oFilterField = Element.getElementById(this.getId() + "-filter");
|
|
415
416
|
if (oFilterField && oFilterField.setValue && (oTable && !oTable.getEnableCustomFilter())) {
|
|
416
417
|
oFilterField.setValue(sValue);
|
|
417
418
|
}
|
|
@@ -428,7 +429,7 @@ sap.ui.define([
|
|
|
428
429
|
var oColumn = this.getParent();
|
|
429
430
|
var oTable = (oColumn ? oColumn.getParent() : undefined);
|
|
430
431
|
|
|
431
|
-
var oFilterField =
|
|
432
|
+
var oFilterField = Element.getElementById(this.getId() + "-filter");
|
|
432
433
|
if (oFilterField && oFilterField.setValueState && (oTable && !oTable.getEnableCustomFilter())) {
|
|
433
434
|
oFilterField.setValueState(sFilterState);
|
|
434
435
|
}
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* <code>sap.ui.commons</code> library.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.121.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
@@ -79,18 +79,12 @@ sap.ui.define([
|
|
|
79
79
|
renderer: Renderer
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
/*
|
|
83
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
84
|
-
*/
|
|
85
82
|
CreationRow.prototype.setApplyEnabled = function(bEnabled) {
|
|
86
83
|
this.setProperty("applyEnabled", bEnabled, true);
|
|
87
84
|
this._updateDefaultToolbar();
|
|
88
85
|
return this;
|
|
89
86
|
};
|
|
90
87
|
|
|
91
|
-
/*
|
|
92
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
93
|
-
*/
|
|
94
88
|
CreationRow.prototype.setVisible = function(bVisible) {
|
|
95
89
|
var bVisibleBefore = this.getVisible();
|
|
96
90
|
var oTable = this.getTable();
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
* @class
|
|
136
136
|
* The row.
|
|
137
137
|
* @extends sap.ui.core.Element
|
|
138
|
-
* @version 1.
|
|
138
|
+
* @version 1.121.0
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
@@ -171,17 +171,11 @@ sap.ui.define([
|
|
|
171
171
|
this.initDomRefs();
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
/*
|
|
175
|
-
* @see JSDoc generated by SAPUI5 control
|
|
176
|
-
*/
|
|
177
174
|
Row.prototype.getFocusInfo = function() {
|
|
178
175
|
var oTable = this.getTable();
|
|
179
176
|
return oTable ? oTable.getFocusInfo() : Element.prototype.getFocusInfo.apply(this, arguments);
|
|
180
177
|
};
|
|
181
178
|
|
|
182
|
-
/*
|
|
183
|
-
* @see JSDoc generated by SAPUI5 control
|
|
184
|
-
*/
|
|
185
179
|
Row.prototype.applyFocusInfo = function(mFocusInfo) {
|
|
186
180
|
var oTable = this.getTable();
|
|
187
181
|
if (oTable) {
|
|
@@ -373,6 +367,7 @@ sap.ui.define([
|
|
|
373
367
|
|
|
374
368
|
this.setBindingContext(oState.context, sModelName);
|
|
375
369
|
this.getDomRefs(true).row.toggleClass("sapUiTableRowHidden", this.isContentHidden());
|
|
370
|
+
/** @deprecated As of version 1.64 */
|
|
376
371
|
this._updateTableCells(oTable);
|
|
377
372
|
};
|
|
378
373
|
|
|
@@ -384,6 +379,7 @@ sap.ui.define([
|
|
|
384
379
|
return Element.prototype.setBindingContext.call(this, oContext || null, sModelName);
|
|
385
380
|
};
|
|
386
381
|
|
|
382
|
+
/** @deprecated As of version 1.64 */
|
|
387
383
|
Row.prototype._updateTableCells = function(oTable) {
|
|
388
384
|
var aCells = this.getCells(),
|
|
389
385
|
iAbsoluteRowIndex = this.getIndex(),
|
|
@@ -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.121.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.121.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -86,9 +86,6 @@ sap.ui.define([
|
|
|
86
86
|
return oValue;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
/*
|
|
90
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
91
|
-
*/
|
|
92
89
|
RowSettings.prototype.setHighlight = function(sHighlight) {
|
|
93
90
|
var oRow;
|
|
94
91
|
var oHighlightElement;
|
|
@@ -127,9 +124,6 @@ sap.ui.define([
|
|
|
127
124
|
return this;
|
|
128
125
|
};
|
|
129
126
|
|
|
130
|
-
/*
|
|
131
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
132
|
-
*/
|
|
133
127
|
RowSettings.prototype.setNavigated = function(bNavigated) {
|
|
134
128
|
var oRow;
|
|
135
129
|
var oNavigatedElement;
|
|
@@ -163,9 +157,6 @@ sap.ui.define([
|
|
|
163
157
|
return this;
|
|
164
158
|
};
|
|
165
159
|
|
|
166
|
-
/*
|
|
167
|
-
* @see JSDoc generated by SAPUI5 control API generator
|
|
168
|
-
*/
|
|
169
160
|
RowSettings.prototype.setHighlightText = function(sHighlightText) {
|
|
170
161
|
var oRow = this._getRow();
|
|
171
162
|
var oTable = oRow ? oRow.getParent() : null;
|