@openui5/sap.ui.table 1.115.1 → 1.116.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 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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/TableRenderer.js +11 -16
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +16 -1
- package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
- package/src/sap/ui/table/extensions/DragAndDrop.js +31 -6
- 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 +3 -3
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
- 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 +4 -3
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/messagebundle_fr.properties +1 -1
- package/src/sap/ui/table/messagebundle_ro.properties +3 -3
- 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/themes/base/Grouping.less +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/.reuse/dep5
CHANGED
|
@@ -457,11 +457,6 @@ Comment: these files belong to: UI5 Web Components
|
|
|
457
457
|
|
|
458
458
|
# Outside of Libraries:
|
|
459
459
|
|
|
460
|
-
Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
461
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
462
|
-
License: Apache-2.0
|
|
463
|
-
Comment: these files belong to: LESS
|
|
464
|
-
|
|
465
460
|
Files: lib/jsdoc/ui5/plugin.js
|
|
466
461
|
Copyright:
|
|
467
462
|
2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
package/THIRDPARTY.txt
CHANGED
|
@@ -460,19 +460,13 @@ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
|
|
|
460
460
|
|
|
461
461
|
Outside of Libraries:
|
|
462
462
|
|
|
463
|
-
Component: LESS, version: 1.6.3
|
|
464
|
-
Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
465
|
-
License: Apache-2.0
|
|
466
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
|
-
Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
468
|
-
|
|
469
463
|
Component: JSDoc 3, version: 3.6.7
|
|
470
464
|
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
471
465
|
License: Apache-2.0
|
|
472
466
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
473
467
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
474
468
|
|
|
475
|
-
Component: SAP Theming Base Content, version: 11.
|
|
469
|
+
Component: SAP Theming Base Content, version: 11.4.2
|
|
476
470
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
477
471
|
License: Apache-2.0
|
|
478
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.116.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.116.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.116.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.116.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.116.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.116.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -686,13 +686,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
686
686
|
var bRowSelected = oTable._getSelectionPlugin().isSelected(oRow);
|
|
687
687
|
|
|
688
688
|
rm.openStart("div");
|
|
689
|
-
|
|
690
|
-
var oParams = {
|
|
691
|
-
index: iRowIndex,
|
|
692
|
-
rowHidden: oRow.isEmpty(),
|
|
693
|
-
rowNavigated: oRowSettings ? oRowSettings.getNavigated() : false
|
|
694
|
-
};
|
|
695
|
-
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "TR", oParams);
|
|
689
|
+
|
|
696
690
|
rm.attr("data-sap-ui-related", oRow.getId());
|
|
697
691
|
rm.attr("data-sap-ui-rowindex", iRowIndex);
|
|
698
692
|
|
|
@@ -722,7 +716,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
722
716
|
|
|
723
717
|
rm.attr("tabindex", "-1");
|
|
724
718
|
|
|
725
|
-
oParams = {
|
|
719
|
+
var oParams = {
|
|
726
720
|
rowSelected: bRowSelected,
|
|
727
721
|
rowHidden: oRow.isEmpty()
|
|
728
722
|
};
|
|
@@ -1104,15 +1098,16 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
1104
1098
|
rm.class("sapUiTableRow");
|
|
1105
1099
|
rm.class("sapUiTableContentRow");
|
|
1106
1100
|
rm.class("sapUiTableTr");
|
|
1101
|
+
|
|
1102
|
+
if (bDraggable && bFixedTable) {
|
|
1103
|
+
rm.attr("draggable", "true");
|
|
1104
|
+
rm.attr("data-sap-ui-draggable", "true");
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
1107
|
if (oRow.isContentHidden()) {
|
|
1108
1108
|
rm.class("sapUiTableRowHidden");
|
|
1109
|
-
} else {
|
|
1110
|
-
|
|
1111
|
-
rm.attr("draggable", true);
|
|
1112
|
-
}
|
|
1113
|
-
if (oSelectionPlugin.isSelected(oRow)) {
|
|
1114
|
-
rm.class("sapUiTableRowSel");
|
|
1115
|
-
}
|
|
1109
|
+
} else if (oSelectionPlugin.isSelected(oRow)) {
|
|
1110
|
+
rm.class("sapUiTableRowSel");
|
|
1116
1111
|
}
|
|
1117
1112
|
|
|
1118
1113
|
if (iRowIndex % 2 != 0 && oTable.getAlternateRowColors() && !TableUtils.Grouping.isInTreeMode(oTable)) {
|
|
@@ -1127,7 +1122,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
1127
1122
|
var oRowSettings = oRow.getAggregation("_settings");
|
|
1128
1123
|
var oParams = {
|
|
1129
1124
|
index: iRowIndex,
|
|
1130
|
-
|
|
1125
|
+
fixedCol: bFixedTable,
|
|
1131
1126
|
rowNavigated: oRowSettings ? oRowSettings.getNavigated() : false
|
|
1132
1127
|
};
|
|
1133
1128
|
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "TR", oParams);
|
|
@@ -847,6 +847,21 @@ sap.ui.define([
|
|
|
847
847
|
if (mParams.rowNavigated) {
|
|
848
848
|
mAttributes["aria-current"] = true;
|
|
849
849
|
}
|
|
850
|
+
|
|
851
|
+
if (!mParams.fixedCol) {
|
|
852
|
+
mAttributes["aria-owns"] = [];
|
|
853
|
+
if (TableUtils.hasRowHeader(oTable)) {
|
|
854
|
+
mAttributes["aria-owns"].push(sTableId + "-rowsel" + mParams.index);
|
|
855
|
+
}
|
|
856
|
+
if (TableUtils.hasFixedColumns(oTable)) {
|
|
857
|
+
for (var j = 0; j < oTable.getComputedFixedColumnCount(); j++) {
|
|
858
|
+
mAttributes["aria-owns"].push(sTableId + "-rows-row" + mParams.index + "-col" + j);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
if (TableUtils.hasRowActions(oTable)) {
|
|
862
|
+
mAttributes["aria-owns"].push(sTableId + "-rowact" + mParams.index);
|
|
863
|
+
}
|
|
864
|
+
}
|
|
850
865
|
break;
|
|
851
866
|
|
|
852
867
|
case AccExtension.ELEMENTTYPES.TREEICON: //The expand/collapse icon in the TreeTable
|
|
@@ -932,7 +947,7 @@ sap.ui.define([
|
|
|
932
947
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
933
948
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
934
949
|
* @author SAP SE
|
|
935
|
-
* @version 1.
|
|
950
|
+
* @version 1.116.0
|
|
936
951
|
* @constructor
|
|
937
952
|
* @private
|
|
938
953
|
* @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.116.0
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -56,6 +56,24 @@ sap.ui.define([
|
|
|
56
56
|
*/
|
|
57
57
|
setInstanceSessionData: function(oDragSession, oTable, oSessionData) {
|
|
58
58
|
this.setSessionData(oDragSession, oSessionData, oTable.getId());
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
scrollVertically: TableUtils.throttle(function(oTable, bDown, iBase, iPercentage) {
|
|
62
|
+
var oVerticalScrollbar = oTable._getScrollExtension().getVerticalScrollbar();
|
|
63
|
+
oVerticalScrollbar.scrollTop += this.calculateScrollDistance(iBase, iPercentage) * (bDown ? 1 : -1);
|
|
64
|
+
}, 50),
|
|
65
|
+
|
|
66
|
+
scrollHorizontally: TableUtils.throttle(function(oTable, bRight, iBase, iPercentage) {
|
|
67
|
+
var oHorizontalScrollbar = oTable._getScrollExtension().getHorizontalScrollbar();
|
|
68
|
+
oHorizontalScrollbar.scrollLeft += this.calculateScrollDistance(iBase, iPercentage) * (bRight ? 1 : -1);
|
|
69
|
+
}, 50),
|
|
70
|
+
|
|
71
|
+
calculateScrollDistance: function(iBase, iPercentage) {
|
|
72
|
+
var iMinDistance = 2;
|
|
73
|
+
var iMaxDistance = 50;
|
|
74
|
+
var nRate = iPercentage / iBase;
|
|
75
|
+
|
|
76
|
+
return Math.max(iMinDistance, Math.round(iMaxDistance * nRate));
|
|
59
77
|
}
|
|
60
78
|
};
|
|
61
79
|
|
|
@@ -197,7 +215,6 @@ sap.ui.define([
|
|
|
197
215
|
return;
|
|
198
216
|
}
|
|
199
217
|
|
|
200
|
-
var iScrollDistance = 32;
|
|
201
218
|
var iThreshold = 50;
|
|
202
219
|
var oDropControl = oDragSession.getDropControl();
|
|
203
220
|
var oScrollExtension = this._getScrollExtension();
|
|
@@ -210,9 +227,9 @@ sap.ui.define([
|
|
|
210
227
|
var iPageY = oEvent.pageY;
|
|
211
228
|
|
|
212
229
|
if (iPageY >= oVerticalScrollEdge.top - iThreshold && iPageY <= oVerticalScrollEdge.top + iThreshold) {
|
|
213
|
-
|
|
230
|
+
ExtensionHelper.scrollVertically(this, false, iThreshold * 2, oVerticalScrollEdge.top + iThreshold - iPageY);
|
|
214
231
|
} else if (iPageY <= oVerticalScrollEdge.bottom + iThreshold && iPageY >= oVerticalScrollEdge.bottom - iThreshold) {
|
|
215
|
-
|
|
232
|
+
ExtensionHelper.scrollVertically(this, true, iThreshold * 2, iPageY - oVerticalScrollEdge.bottom + iThreshold);
|
|
216
233
|
}
|
|
217
234
|
}
|
|
218
235
|
|
|
@@ -220,9 +237,9 @@ sap.ui.define([
|
|
|
220
237
|
var iPageX = oEvent.pageX;
|
|
221
238
|
|
|
222
239
|
if (iPageX >= oHorizontalScrollEdge.left - iThreshold && iPageX <= oHorizontalScrollEdge.left + iThreshold) {
|
|
223
|
-
|
|
240
|
+
ExtensionHelper.scrollHorizontally(this, false, iThreshold * 2, oHorizontalScrollEdge.left + iThreshold - iPageX);
|
|
224
241
|
} else if (iPageX <= oHorizontalScrollEdge.right + iThreshold && iPageX >= oHorizontalScrollEdge.right - iThreshold) {
|
|
225
|
-
|
|
242
|
+
ExtensionHelper.scrollHorizontally(this, true, iThreshold * 2, iPageX - oHorizontalScrollEdge.right + iThreshold);
|
|
226
243
|
}
|
|
227
244
|
}
|
|
228
245
|
},
|
|
@@ -242,6 +259,11 @@ sap.ui.define([
|
|
|
242
259
|
if (oRow && (oDropControl === oRow || !oDropControl)) {
|
|
243
260
|
oRow.expand();
|
|
244
261
|
}
|
|
262
|
+
},
|
|
263
|
+
|
|
264
|
+
ondragend: function(oEvent) {
|
|
265
|
+
ExtensionHelper.scrollVertically.cancel();
|
|
266
|
+
ExtensionHelper.scrollHorizontally.cancel();
|
|
245
267
|
}
|
|
246
268
|
};
|
|
247
269
|
|
|
@@ -252,7 +274,7 @@ sap.ui.define([
|
|
|
252
274
|
*
|
|
253
275
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
254
276
|
* @author SAP SE
|
|
255
|
-
* @version 1.
|
|
277
|
+
* @version 1.116.0
|
|
256
278
|
* @constructor
|
|
257
279
|
* @private
|
|
258
280
|
* @alias sap.ui.table.extensions.DragAndDrop
|
|
@@ -287,10 +309,13 @@ sap.ui.define([
|
|
|
287
309
|
*/
|
|
288
310
|
destroy: function() {
|
|
289
311
|
var oTable = this.getTable();
|
|
312
|
+
|
|
290
313
|
if (oTable) {
|
|
291
314
|
oTable.removeEventDelegate(this._oDelegate);
|
|
292
315
|
}
|
|
293
316
|
|
|
317
|
+
ExtensionHelper.scrollVertically.cancel();
|
|
318
|
+
ExtensionHelper.scrollHorizontally.cancel();
|
|
294
319
|
this._oDelegate = null;
|
|
295
320
|
ExtensionBase.prototype.destroy.apply(this, arguments);
|
|
296
321
|
}
|
|
@@ -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.116.0
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -277,7 +277,7 @@ sap.ui.define([
|
|
|
277
277
|
initColumnTracking: function(oTable) {
|
|
278
278
|
// attach mousemove listener to update resizer position
|
|
279
279
|
oTable.$().find(".sapUiTableCtrlScr, .sapUiTableCtrlScrFixed").on("mousemove", function(oEvent) {
|
|
280
|
-
var oDomRef = this.getDomRef();
|
|
280
|
+
var oDomRef = this.getDomRef("sapUiTableCnt");
|
|
281
281
|
if (!oDomRef || this._bIsColumnResizerMoving) {
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
@@ -683,7 +683,7 @@ sap.ui.define([
|
|
|
683
683
|
}
|
|
684
684
|
},
|
|
685
685
|
|
|
686
|
-
|
|
686
|
+
ontap: function(oEvent) {
|
|
687
687
|
// clean up the timer
|
|
688
688
|
clearTimeout(this._mTimeouts.delayedColumnReorderTimerId);
|
|
689
689
|
|
|
@@ -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.116.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.116.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.116.0
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
var oVSbIOS = this.getVerticalScrollbar();
|
|
116
116
|
var oVSbThumb = this.getVerticalScrollbarThumb();
|
|
117
117
|
|
|
118
|
-
if (!oVSb) {
|
|
118
|
+
if (!oVSb || !oVSb.isConnected) {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -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.116.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.116.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.116.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.116.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.116.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.116.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.116.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.116.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.116.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.116.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.116.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.116.0
|
|
378
378
|
* @enum {string}
|
|
379
379
|
* @private
|
|
380
380
|
*/
|
|
@@ -19,8 +19,9 @@ sap.ui.define([
|
|
|
19
19
|
|
|
20
20
|
var oAdapterRegistry = new window.Map();
|
|
21
21
|
var mAdapterMapping = {
|
|
22
|
+
"default": null,
|
|
22
23
|
"sap.m.table.columnmenu.Menu": "MobileColumnHeaderMenuAdapter",
|
|
23
|
-
"sap.
|
|
24
|
+
"sap.ui.table.test.Menu": "test/TestAdapter" // needed for qunit tests
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
/**
|
|
@@ -31,7 +32,7 @@ sap.ui.define([
|
|
|
31
32
|
*
|
|
32
33
|
* @extends sap.ui.base.Object
|
|
33
34
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
35
|
+
* @version 1.116.0
|
|
35
36
|
* @private
|
|
36
37
|
* @alias sap.ui.table.menus.ColumnHeaderMenuAdapter
|
|
37
38
|
*/
|
|
@@ -183,7 +184,7 @@ sap.ui.define([
|
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
|
|
186
|
-
return
|
|
187
|
+
return mAdapterMapping.default;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
function unlink(oColumn, sAdapterName) {
|
|
@@ -21,7 +21,7 @@ TBL_COL_VISBILITY_MENUITEM_SHOW=Afficher colonne
|
|
|
21
21
|
TBL_COL_VISBILITY_MENUITEM_HIDE=Masquer colonne
|
|
22
22
|
|
|
23
23
|
TBL_ROW_SELECT=Cliquez pour s\u00E9lectionner
|
|
24
|
-
TBL_ROW_DESELECT=
|
|
24
|
+
TBL_ROW_DESELECT=Cliquez pour d\u00E9s\u00E9lectionner
|
|
25
25
|
TBL_ROW_SELECT_MULTI_TOGGLE=Cliquez pour s\u00E9lectionner ou appuyez sur MAJ et cliquez pour s\u00E9lectionner une plage.
|
|
26
26
|
|
|
27
27
|
TBL_TABLE_SELECTION_MULTI=Table avec s\u00E9lection multiple activ\u00E9e
|
|
@@ -20,9 +20,9 @@ TBL_HIDE_COLUMN=Mascare
|
|
|
20
20
|
TBL_COL_VISBILITY_MENUITEM_SHOW=Afi\u0219are coloan\u0103
|
|
21
21
|
TBL_COL_VISBILITY_MENUITEM_HIDE=Mascare coloan\u0103
|
|
22
22
|
|
|
23
|
-
TBL_ROW_SELECT=Click
|
|
24
|
-
TBL_ROW_DESELECT=Click
|
|
25
|
-
TBL_ROW_SELECT_MULTI_TOGGLE=Face\
|
|
23
|
+
TBL_ROW_SELECT=Click pentru selectare
|
|
24
|
+
TBL_ROW_DESELECT=Click pentru deselectare
|
|
25
|
+
TBL_ROW_SELECT_MULTI_TOGGLE=Face\u021Bi click pentru a selecta sau ap\u0103sa\u021Bi SHIFT \u0219i face\u021Bi click pentru a selecta un interval
|
|
26
26
|
|
|
27
27
|
TBL_TABLE_SELECTION_MULTI=Tabel cu selec\u0163ie multipl\u0103
|
|
28
28
|
TBL_TABLE_SELECTION_SINGLE=Tabel cu selec\u0163ie individual\u0103
|
|
@@ -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.116.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.116.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.116.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @experimental
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @ui5-restricted sap.ui.mdc
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.116.0
|
|
39
39
|
*/
|
|
40
40
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
41
41
|
metadata: {
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @ui5-restricted sap.ui.mdc
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.116.0
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
var FixedRowMode = RowMode.extend("sap.ui.table.rowmodes.FixedRowMode", /** @lends sap.ui.table.rowmodes.FixedRowMode.prototype */ {
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @ui5-restricted sap.ui.mdc
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.116.0
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
var InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.InteractiveRowMode", /** @lends sap.ui.table.rowmodes.InteractiveRowMode.prototype */ {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
line-height: calc(@_sap_ui_table_Grouping_GroupIconHeight ~"- 2 *" @_sap_ui_table_Grouping_GroupIconBorderWidth ~"-" @_sap_ui_table_Grouping_GroupOutlineWidth);
|
|
42
42
|
position: absolute;
|
|
43
|
-
left:
|
|
43
|
+
left: 2px;
|
|
44
44
|
top: @_sap_ui_table_Grouping_GroupOutlineWidth;
|
|
45
45
|
bottom: @_sap_ui_table_Grouping_GroupOutlineWidth;
|
|
46
46
|
white-space: nowrap;
|
|
@@ -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.116.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.116.0
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Grouping...</code>
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.116.0
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
29
29
|
* @private
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
|
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.116.0
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.116.0
|
|
43
43
|
* @namespace
|
|
44
44
|
* @alias sap.ui.table.utils._MenuUtils
|
|
45
45
|
* @private
|