@openui5/sap.ui.table 1.115.0 → 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.
Files changed (50) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +3 -3
  4. package/src/sap/ui/table/.library +1 -1
  5. package/src/sap/ui/table/AnalyticalColumn.js +1 -1
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
  7. package/src/sap/ui/table/AnalyticalTable.js +1 -1
  8. package/src/sap/ui/table/Column.js +1 -1
  9. package/src/sap/ui/table/ColumnMenu.js +1 -1
  10. package/src/sap/ui/table/CreationRow.js +1 -1
  11. package/src/sap/ui/table/Row.js +1 -1
  12. package/src/sap/ui/table/RowAction.js +1 -1
  13. package/src/sap/ui/table/RowActionItem.js +1 -1
  14. package/src/sap/ui/table/RowSettings.js +1 -1
  15. package/src/sap/ui/table/Table.js +1 -1
  16. package/src/sap/ui/table/TablePersoController.js +1 -1
  17. package/src/sap/ui/table/TableRenderer.js +11 -16
  18. package/src/sap/ui/table/TreeTable.js +1 -1
  19. package/src/sap/ui/table/extensions/Accessibility.js +16 -1
  20. package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
  21. package/src/sap/ui/table/extensions/DragAndDrop.js +31 -6
  22. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  23. package/src/sap/ui/table/extensions/Keyboard.js +1 -1
  24. package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
  25. package/src/sap/ui/table/extensions/Pointer.js +3 -3
  26. package/src/sap/ui/table/extensions/Scrolling.js +1 -1
  27. package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
  28. package/src/sap/ui/table/extensions/Synchronization.js +1 -1
  29. package/src/sap/ui/table/library.js +11 -11
  30. package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +4 -3
  31. package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
  32. package/src/sap/ui/table/messagebundle_fr.properties +1 -1
  33. package/src/sap/ui/table/messagebundle_ro.properties +3 -3
  34. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  35. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  36. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  37. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  38. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  39. package/src/sap/ui/table/rowmodes/AutoRowMode.js +1 -1
  40. package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
  41. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
  42. package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
  43. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  44. package/src/sap/ui/table/themes/base/Grouping.less +1 -1
  45. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  46. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  47. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  48. package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
  49. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  50. 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.3.0
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.115.0",
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.115.0",
18
- "@openui5/sap.ui.unified": "1.115.0"
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.115.0</version>
9
+ <version>1.116.0</version>
10
10
 
11
11
  <documentation>Table-like controls, mainly for desktop scenarios.</documentation>
12
12
 
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * @extends sap.ui.table.Column
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.115.0
51
+ * @version 1.116.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
20
20
  * @extends sap.ui.table.ColumnMenu
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.115.0
23
+ * @version 1.116.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @see https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
58
58
  *
59
59
  * @extends sap.ui.table.Table
60
- * @version 1.115.0
60
+ * @version 1.116.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @class
73
73
  * The column allows you to define column specific properties that will be applied when rendering the table.
74
74
  * @extends sap.ui.core.Element
75
- * @version 1.115.0
75
+ * @version 1.116.0
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @class
40
40
  * The column menu provides all common actions that can be performed on a column.
41
41
  * @extends sap.ui.unified.Menu
42
- * @version 1.115.0
42
+ * @version 1.116.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -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.115.0
35
+ * @version 1.116.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -135,7 +135,7 @@ sap.ui.define([
135
135
  * @class
136
136
  * The row.
137
137
  * @extends sap.ui.core.Element
138
- * @version 1.115.0
138
+ * @version 1.116.0
139
139
  *
140
140
  * @constructor
141
141
  * @public
@@ -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.115.0
38
+ * @version 1.116.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.115.0
27
+ * @version 1.116.0
28
28
  * @since 1.45
29
29
  *
30
30
  * @constructor
@@ -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.115.0
27
+ * @version 1.116.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -92,7 +92,7 @@ sap.ui.define([
92
92
  * the data model and binding being used.
93
93
  * </p>
94
94
  * @extends sap.ui.core.Control
95
- * @version 1.115.0
95
+ * @version 1.116.0
96
96
  *
97
97
  * @constructor
98
98
  * @public
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.base.ManagedObject
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.115.0
36
+ * @version 1.116.0
37
37
  * @since 1.21.1
38
38
  *
39
39
  * @constructor
@@ -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
- var oRowSettings = oRow.getAggregation("_settings");
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
- if (bDraggable && bFixedTable) {
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
- rowHidden: oRow.isEmpty(),
1125
+ fixedCol: bFixedTable,
1131
1126
  rowNavigated: oRowSettings ? oRowSettings.getNavigated() : false
1132
1127
  };
1133
1128
  oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "TR", oParams);
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @class
43
43
  * The TreeTable control provides a comprehensive set of features to display hierarchical data.
44
44
  * @extends sap.ui.table.Table
45
- * @version 1.115.0
45
+ * @version 1.116.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -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.115.0
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.115.0
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
- oVerticalScrollbar.scrollTop -= iScrollDistance;
230
+ ExtensionHelper.scrollVertically(this, false, iThreshold * 2, oVerticalScrollEdge.top + iThreshold - iPageY);
214
231
  } else if (iPageY <= oVerticalScrollEdge.bottom + iThreshold && iPageY >= oVerticalScrollEdge.bottom - iThreshold) {
215
- oVerticalScrollbar.scrollTop += iScrollDistance;
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
- oHorizontalScrollbar.scrollLeft -= iScrollDistance;
240
+ ExtensionHelper.scrollHorizontally(this, false, iThreshold * 2, oHorizontalScrollEdge.left + iThreshold - iPageX);
224
241
  } else if (iPageX <= oHorizontalScrollEdge.right + iThreshold && iPageX >= oHorizontalScrollEdge.right - iThreshold) {
225
- oHorizontalScrollbar.scrollLeft += iScrollDistance;
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.115.0
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
  }
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @abstract
20
20
  * @extends sap.ui.base.Object
21
21
  * @author SAP SE
22
- * @version 1.115.0
22
+ * @version 1.116.0
23
23
  * @constructor
24
24
  * @private
25
25
  * @alias sap.ui.table.extensions.ExtensionBase
@@ -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.115.0
270
+ * @version 1.116.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.115.0
68
+ * @version 1.116.0
69
69
  * @constructor
70
70
  * @private
71
71
  * @alias sap.ui.table.extensions.KeyboardDelegate
@@ -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
- onclick: function(oEvent) {
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0",
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
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.m.table.columnmenu.test.TestMenu": "test/TestAdapter" // needed for qunit tests
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.115.0
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) {
@@ -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.115.0
62
+ * @version 1.116.0
63
63
  * @private
64
64
  * @alias sap.ui.table.menus.MobileColumnHeaderMenuAdapter
65
65
  */
@@ -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=Cliquer pour d\u00E9s\u00E9lectionner
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 pt.selectare
24
- TBL_ROW_DESELECT=Click pt.deselectare
25
- TBL_ROW_SELECT_MULTI_TOGGLE=Face\u0163i click pt.a selecta sau ap\u0103sa\u0163i SHIFT \u015Fi face\u0163i click pt.a selecta un interval
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.115.0
24
+ * @version 1.116.0
25
25
  * @constructor
26
26
  * @private
27
27
  * @alias sap.ui.table.plugins.BindingSelection
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.115.0
31
+ * @version 1.116.0
32
32
  *
33
33
  * @private
34
34
  * @experimental Since 1.75
@@ -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.115.0
26
+ * @version 1.116.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @alias sap.ui.table.plugins.SelectionModelSelection
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class Implements the selection methods for a table.
26
26
  * @extends sap.ui.core.Element
27
27
  * @author SAP SE
28
- * @version 1.115.0
28
+ * @version 1.116.0
29
29
  * @public
30
30
  * @since 1.64
31
31
  * @experimental As of version 1.64
@@ -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.115.0
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.115.0
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.115.0
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.115.0
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 */ {
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @ui5-restricted sap.ui.mdc
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.115.0
37
+ * @version 1.116.0
38
38
  */
39
39
  var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
40
40
  metadata: {
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.table.rowmodes.RowMode
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.115.0
26
+ * @version 1.116.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -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: 1px;
43
+ left: 2px;
44
44
  top: @_sap_ui_table_Grouping_GroupOutlineWidth;
45
45
  bottom: @_sap_ui_table_Grouping_GroupOutlineWidth;
46
46
  white-space: nowrap;
@@ -203,7 +203,7 @@ sap.ui.define([
203
203
  * Static collection of utility functions related to the sap.ui.table.Table, ...
204
204
  *
205
205
  * @author SAP SE
206
- * @version 1.115.0
206
+ * @version 1.116.0
207
207
  * @namespace
208
208
  * @alias sap.ui.table.utils.TableUtils
209
209
  * @private
@@ -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.115.0
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.115.0
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.115.0
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.115.0
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.115.0
42
+ * @version 1.116.0
43
43
  * @namespace
44
44
  * @alias sap.ui.table.utils._MenuUtils
45
45
  * @private