@openui5/sap.ui.table 1.84.23 → 1.84.26
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/LICENSE.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 +15 -8
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +1 -14
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/library.js +10 -10
- 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/AutoRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/VariableRowMode.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/LICENSE.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.84.
|
|
3
|
+
"version": "1.84.26",
|
|
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.84.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.84.
|
|
17
|
+
"@openui5/sap.ui.core": "1.84.26",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.84.26"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.84.
|
|
9
|
+
<version>1.84.26</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.84.
|
|
38
|
+
* @version 1.84.26
|
|
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.84.
|
|
27
|
+
* @version 1.84.26
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -884,7 +884,7 @@ sap.ui.define([
|
|
|
884
884
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
885
885
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
886
886
|
* @author SAP SE
|
|
887
|
-
* @version 1.84.
|
|
887
|
+
* @version 1.84.26
|
|
888
888
|
* @constructor
|
|
889
889
|
* @private
|
|
890
890
|
* @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.84.
|
|
45
|
+
* @version 1.84.26
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -126,7 +126,7 @@ sap.ui.define([
|
|
|
126
126
|
if (bRenderedRows) {
|
|
127
127
|
this.applyFocusInfo(this._oStoredFocusInfo);
|
|
128
128
|
} else {
|
|
129
|
-
this._getKeyboardExtension()
|
|
129
|
+
ExtensionHelper.initItemNavigation(this._getKeyboardExtension(), true);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
delete this._oStoredFocusInfo;
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
var oExtension = this._getKeyboardExtension();
|
|
136
136
|
|
|
137
137
|
if (!oExtension._bIgnoreFocusIn) {
|
|
138
|
-
|
|
138
|
+
ExtensionHelper.initItemNavigation(this._getKeyboardExtension());
|
|
139
139
|
} else {
|
|
140
140
|
oEvent.setMarked("sapUiTableIgnoreFocusIn");
|
|
141
141
|
}
|
|
@@ -153,11 +153,17 @@ sap.ui.define([
|
|
|
153
153
|
* Provides utility functions used this extension
|
|
154
154
|
*/
|
|
155
155
|
var ExtensionHelper = {
|
|
156
|
+
initItemNavigation: function(oExtension, bSkipInitFocusedIndex) {
|
|
157
|
+
if (ExtensionHelper.isItemNavigationInvalid(oExtension)) {
|
|
158
|
+
ExtensionHelper._initItemNavigation(oExtension, bSkipInitFocusedIndex);
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
|
|
156
162
|
/*
|
|
157
163
|
* Initialize ItemNavigations (content and header) and transfer relevant dom elements.
|
|
158
164
|
* TabIndexes are set by the ItemNavigation.
|
|
159
165
|
*/
|
|
160
|
-
_initItemNavigation: function(oExtension) {
|
|
166
|
+
_initItemNavigation: function(oExtension, bSkipInitFocusedIndex) {
|
|
161
167
|
var oTable = oExtension.getTable();
|
|
162
168
|
|
|
163
169
|
if (!oTable) {
|
|
@@ -268,7 +274,10 @@ sap.ui.define([
|
|
|
268
274
|
oExtension._itemNavigation.setColumns(iColumnCount);
|
|
269
275
|
oExtension._itemNavigation.setRootDomRef($Table.find(".sapUiTableCnt").get(0));
|
|
270
276
|
oExtension._itemNavigation.setItemDomRefs(aItemDomRefs);
|
|
271
|
-
|
|
277
|
+
|
|
278
|
+
if (!bSkipInitFocusedIndex) {
|
|
279
|
+
oExtension._itemNavigation.setFocusedIndex(ExtensionHelper.getInitialItemNavigationIndex(oExtension));
|
|
280
|
+
}
|
|
272
281
|
|
|
273
282
|
// revert invalidation flag
|
|
274
283
|
oExtension._itemNavigationInvalidated = false;
|
|
@@ -291,7 +300,7 @@ sap.ui.define([
|
|
|
291
300
|
* @class Extension for sap.ui.table.Table which handles keyboard related things.
|
|
292
301
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
293
302
|
* @author SAP SE
|
|
294
|
-
* @version 1.84.
|
|
303
|
+
* @version 1.84.26
|
|
295
304
|
* @constructor
|
|
296
305
|
* @private
|
|
297
306
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -373,9 +382,7 @@ sap.ui.define([
|
|
|
373
382
|
* @public
|
|
374
383
|
*/
|
|
375
384
|
KeyboardExtension.prototype.initItemNavigation = function() {
|
|
376
|
-
|
|
377
|
-
ExtensionHelper._initItemNavigation(this);
|
|
378
|
-
}
|
|
385
|
+
ExtensionHelper.initItemNavigation(this);
|
|
379
386
|
};
|
|
380
387
|
|
|
381
388
|
/**
|
|
@@ -490,20 +490,7 @@ sap.ui.define([
|
|
|
490
490
|
this.$().find(".sapUiTableColReorderFade").removeClass("sapUiTableColReorderFade");
|
|
491
491
|
|
|
492
492
|
this._enableTextSelection();
|
|
493
|
-
|
|
494
|
-
// Perform Reordering
|
|
495
493
|
TableUtils.Column.moveColumnTo(this.getColumns()[iOldIndex], iNewIndex);
|
|
496
|
-
|
|
497
|
-
// Re-apply focus
|
|
498
|
-
if (this._mTimeouts.reApplyFocusTimerId) {
|
|
499
|
-
window.clearTimeout(this._mTimeouts.reApplyFocusTimerId);
|
|
500
|
-
}
|
|
501
|
-
var that = this;
|
|
502
|
-
this._mTimeouts.reApplyFocusTimerId = window.setTimeout(function() {
|
|
503
|
-
var iOldFocusedIndex = TableUtils.getFocusedItemInfo(that).cell;
|
|
504
|
-
TableUtils.focusItem(that, 0, oEvent);
|
|
505
|
-
TableUtils.focusItem(that, iOldFocusedIndex, oEvent);
|
|
506
|
-
}, 0);
|
|
507
494
|
},
|
|
508
495
|
|
|
509
496
|
/*
|
|
@@ -813,7 +800,7 @@ sap.ui.define([
|
|
|
813
800
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
814
801
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
815
802
|
* @author SAP SE
|
|
816
|
-
* @version 1.84.
|
|
803
|
+
* @version 1.84.26
|
|
817
804
|
* @constructor
|
|
818
805
|
* @private
|
|
819
806
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2172,7 +2172,7 @@ sap.ui.define([
|
|
|
2172
2172
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2173
2173
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2174
2174
|
* @author SAP SE
|
|
2175
|
-
* @version 1.84.
|
|
2175
|
+
* @version 1.84.26
|
|
2176
2176
|
* @constructor
|
|
2177
2177
|
* @private
|
|
2178
2178
|
* @alias sap.ui.table.extensions.Scrolling
|
|
@@ -142,7 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
143
143
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
144
144
|
* @author SAP SE
|
|
145
|
-
* @version 1.84.
|
|
145
|
+
* @version 1.84.26
|
|
146
146
|
* @constructor
|
|
147
147
|
* @private
|
|
148
148
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
17
17
|
// delegate further initialization of this library to the Core
|
|
18
18
|
sap.ui.getCore().initLibrary({
|
|
19
19
|
name : "sap.ui.table",
|
|
20
|
-
version: "1.84.
|
|
20
|
+
version: "1.84.26",
|
|
21
21
|
dependencies : ["sap.ui.core","sap.ui.unified"],
|
|
22
22
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
23
23
|
types: [
|
|
@@ -77,7 +77,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
77
77
|
* @namespace
|
|
78
78
|
* @alias sap.ui.table
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.84.
|
|
80
|
+
* @version 1.84.26
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
83
|
var thisLib = sap.ui.table;
|
|
@@ -85,7 +85,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
85
85
|
/**
|
|
86
86
|
* Navigation mode of the table
|
|
87
87
|
*
|
|
88
|
-
* @version 1.84.
|
|
88
|
+
* @version 1.84.26
|
|
89
89
|
* @enum {string}
|
|
90
90
|
* @public
|
|
91
91
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -113,7 +113,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
113
113
|
/**
|
|
114
114
|
* Row Action types.
|
|
115
115
|
*
|
|
116
|
-
* @version 1.84.
|
|
116
|
+
* @version 1.84.26
|
|
117
117
|
* @enum {string}
|
|
118
118
|
* @public
|
|
119
119
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -144,7 +144,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
144
144
|
/**
|
|
145
145
|
* Selection behavior of the table
|
|
146
146
|
*
|
|
147
|
-
* @version 1.84.
|
|
147
|
+
* @version 1.84.26
|
|
148
148
|
* @enum {string}
|
|
149
149
|
* @public
|
|
150
150
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -175,7 +175,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
175
175
|
/**
|
|
176
176
|
* Selection mode of the table
|
|
177
177
|
*
|
|
178
|
-
* @version 1.84.
|
|
178
|
+
* @version 1.84.26
|
|
179
179
|
* @enum {string}
|
|
180
180
|
* @public
|
|
181
181
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -213,7 +213,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
213
213
|
/**
|
|
214
214
|
* Sort order of a column
|
|
215
215
|
*
|
|
216
|
-
* @version 1.84.
|
|
216
|
+
* @version 1.84.26
|
|
217
217
|
* @enum {string}
|
|
218
218
|
* @public
|
|
219
219
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -238,7 +238,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
238
238
|
/**
|
|
239
239
|
* VisibleRowCountMode of the table
|
|
240
240
|
*
|
|
241
|
-
* @version 1.84.
|
|
241
|
+
* @version 1.84.26
|
|
242
242
|
* @enum {string}
|
|
243
243
|
* @public
|
|
244
244
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -270,7 +270,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
270
270
|
*
|
|
271
271
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
272
272
|
*
|
|
273
|
-
* @version 1.84.
|
|
273
|
+
* @version 1.84.26
|
|
274
274
|
* @enum {string}
|
|
275
275
|
* @public
|
|
276
276
|
*/
|
|
@@ -342,7 +342,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
342
342
|
*
|
|
343
343
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
344
344
|
*
|
|
345
|
-
* @version 1.84.
|
|
345
|
+
* @version 1.84.26
|
|
346
346
|
* @enum {string}
|
|
347
347
|
* @public
|
|
348
348
|
*/
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @class Implements the selection methods for TreeTable and AnalyticalTable
|
|
24
24
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
25
|
-
* @version 1.84.
|
|
25
|
+
* @version 1.84.26
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
*
|
|
25
25
|
* @class Implements the selection methods for a Table
|
|
26
26
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
27
|
-
* @version 1.84.
|
|
27
|
+
* @version 1.84.26
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
30
30
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @ui5-restricted sap.ui.mdc
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.84.
|
|
38
|
+
* @version 1.84.26
|
|
39
39
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
40
40
|
*/
|
|
41
41
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @ui5-restricted sap.ui.mdc
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.84.
|
|
37
|
+
* @version 1.84.26
|
|
38
38
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
39
39
|
*/
|
|
40
40
|
var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
|
|
@@ -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.84.
|
|
17
|
+
* @version 1.84.26
|
|
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.84.
|
|
21
|
+
* @version 1.84.26
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Grouping...</code>
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.84.
|
|
23
|
+
* @version 1.84.26
|
|
24
24
|
* @namespace
|
|
25
25
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
26
26
|
* @private
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType", "sap/base/Log"], function(DataType, Log)
|
|
|
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.84.
|
|
25
|
+
* @version 1.84.26
|
|
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.84.
|
|
45
|
+
* @version 1.84.26
|
|
46
46
|
* @namespace
|
|
47
47
|
* @alias sap.ui.table.utils._MenuUtils
|
|
48
48
|
* @private
|