@openui5/sap.ui.table 1.99.0 → 1.100.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 (46) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +3 -3
  3. package/src/sap/ui/table/.library +1 -1
  4. package/src/sap/ui/table/AnalyticalColumn.js +1 -1
  5. package/src/sap/ui/table/AnalyticalColumnMenu.js +2 -2
  6. package/src/sap/ui/table/AnalyticalTable.js +2 -6
  7. package/src/sap/ui/table/Column.js +2 -5
  8. package/src/sap/ui/table/ColumnMenu.js +3 -5
  9. package/src/sap/ui/table/CreationRow.js +3 -2
  10. package/src/sap/ui/table/Row.js +1 -1
  11. package/src/sap/ui/table/RowAction.js +3 -2
  12. package/src/sap/ui/table/RowActionItem.js +1 -1
  13. package/src/sap/ui/table/RowActionRenderer.js +2 -2
  14. package/src/sap/ui/table/RowSettings.js +1 -1
  15. package/src/sap/ui/table/Table.js +6 -5
  16. package/src/sap/ui/table/TablePersoController.js +1 -1
  17. package/src/sap/ui/table/TreeTable.js +2 -2
  18. package/src/sap/ui/table/extensions/Accessibility.js +3 -4
  19. package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
  20. package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
  21. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  22. package/src/sap/ui/table/extensions/Keyboard.js +1 -1
  23. package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
  24. package/src/sap/ui/table/extensions/Pointer.js +1 -1
  25. package/src/sap/ui/table/extensions/Scrolling.js +3 -2
  26. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  27. package/src/sap/ui/table/extensions/Synchronization.js +4 -4
  28. package/src/sap/ui/table/library.js +10 -10
  29. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  30. package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +0 -4
  31. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  32. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  33. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  34. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  35. package/src/sap/ui/table/rowmodes/AutoRowMode.js +5 -3
  36. package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
  37. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
  38. package/src/sap/ui/table/rowmodes/RowMode.js +1 -3
  39. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  40. package/src/sap/ui/table/rules/Rows.support.js +3 -2
  41. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  42. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  43. package/src/sap/ui/table/utils/_ColumnUtils.js +2 -9
  44. package/src/sap/ui/table/utils/_GroupingUtils.js +2 -3
  45. package/src/sap/ui/table/utils/_HookUtils.js +2 -2
  46. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/THIRDPARTY.txt CHANGED
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.7
200
+ Component: URI.js, version: 1.19.10
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.34
453
+ Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  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.99.0",
3
+ "version": "1.100.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.99.0",
18
- "@openui5/sap.ui.unified": "1.99.0"
17
+ "@openui5/sap.ui.core": "1.100.0",
18
+ "@openui5/sap.ui.unified": "1.100.0"
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.99.0</version>
9
+ <version>1.100.0</version>
10
10
 
11
11
  <documentation>Table-like controls, mainly for desktop scenarios.</documentation>
12
12
 
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.table.Column
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.99.0
49
+ * @version 1.100.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './library', "sap/
23
23
  * @extends sap.ui.table.ColumnMenu
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.100.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -36,7 +36,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './library', "sap/
36
36
  metadata : {
37
37
  library : "sap.ui.table"
38
38
  },
39
- renderer: "sap.ui.unified.MenuRenderer"
39
+ renderer: MenuRenderer
40
40
  });
41
41
 
42
42
  /**
@@ -13,9 +13,7 @@ sap.ui.define([
13
13
  "./TableRenderer",
14
14
  './library',
15
15
  'sap/ui/model/analytics/ODataModelAdapter',
16
- 'sap/ui/model/SelectionModel',
17
16
  'sap/ui/model/Sorter',
18
- 'sap/ui/unified/Menu',
19
17
  'sap/ui/unified/MenuItem',
20
18
  './utils/TableUtils',
21
19
  "./plugins/BindingSelection",
@@ -31,9 +29,7 @@ sap.ui.define([
31
29
  TableRenderer,
32
30
  library,
33
31
  ODataModelAdapter,
34
- SelectionModel,
35
32
  Sorter,
36
- Menu,
37
33
  MenuItem,
38
34
  TableUtils,
39
35
  BindingSelectionPlugin,
@@ -60,7 +56,7 @@ sap.ui.define([
60
56
  * @see http://scn.sap.com/docs/DOC-44986
61
57
  *
62
58
  * @extends sap.ui.table.Table
63
- * @version 1.99.0
59
+ * @version 1.100.0
64
60
  *
65
61
  * @constructor
66
62
  * @public
@@ -168,7 +164,7 @@ sap.ui.define([
168
164
  dirty : {type : "boolean", group : "Appearance", defaultValue : null, deprecated: true}
169
165
  },
170
166
  designtime: "sap/ui/table/designtime/AnalyticalTable.designtime"
171
- }, renderer: "sap.ui.table.TableRenderer"});
167
+ }, renderer: TableRenderer});
172
168
 
173
169
  /**
174
170
  * @inheritDoc
@@ -20,7 +20,6 @@ sap.ui.define([
20
20
  "sap/ui/model/type/String",
21
21
  "sap/base/util/ObjectPath",
22
22
  "sap/base/util/JSTokenizer",
23
- "sap/base/util/deepClone",
24
23
  "sap/base/Log"
25
24
  ], function(
26
25
  ColumnMenu,
@@ -37,7 +36,6 @@ sap.ui.define([
37
36
  StringType,
38
37
  ObjectPath,
39
38
  JSTokenizer,
40
- deepClone,
41
39
  Log
42
40
  ) {
43
41
  "use strict";
@@ -70,7 +68,7 @@ sap.ui.define([
70
68
  * @class
71
69
  * The column allows you to define column specific properties that will be applied when rendering the table.
72
70
  * @extends sap.ui.core.Element
73
- * @version 1.99.0
71
+ * @version 1.100.0
74
72
  *
75
73
  * @constructor
76
74
  * @public
@@ -1301,8 +1299,7 @@ sap.ui.define([
1301
1299
  * Returns the <code>sap.ui.core.IColumnHeaderMenu<\code>, which is the current target of the association <code>columnHeaderMenu</code>, or null.
1302
1300
  *
1303
1301
  * @returns {sap.ui.core.IColumnHeaderMenu}
1304
- * @since 1.98.0
1305
- * @public
1302
+ * @private
1306
1303
  */
1307
1304
  Column.prototype.getColumnHeaderMenu = function () {
1308
1305
  return sap.ui.getCore().byId(this.getAssociation("columnHeaderMenu"));
@@ -11,12 +11,11 @@ sap.ui.define([
11
11
  'sap/ui/unified/MenuItem',
12
12
  'sap/ui/unified/MenuTextFieldItem',
13
13
  "sap/ui/unified/MenuRenderer",
14
- 'sap/ui/Device',
15
14
  './utils/TableUtils',
16
15
  "sap/base/assert",
17
16
  "sap/ui/thirdparty/jquery"
18
17
  ],
19
- function(library, Menu, MenuItem, MenuTextFieldItem, MenuRenderer, Device, TableUtils, assert, jQuery) {
18
+ function(library, Menu, MenuItem, MenuTextFieldItem, MenuRenderer, TableUtils, assert, jQuery) {
20
19
  "use strict";
21
20
 
22
21
  /**
@@ -40,7 +39,7 @@ sap.ui.define([
40
39
  * @class
41
40
  * The column menu provides all common actions that can be performed on a column.
42
41
  * @extends sap.ui.unified.Menu
43
- * @version 1.99.0
42
+ * @version 1.100.0
44
43
  *
45
44
  * @constructor
46
45
  * @public
@@ -51,7 +50,7 @@ sap.ui.define([
51
50
  metadata : {
52
51
  library : "sap.ui.table"
53
52
  },
54
- renderer: "sap.ui.unified.MenuRenderer"
53
+ renderer: MenuRenderer
55
54
  });
56
55
 
57
56
 
@@ -333,7 +332,6 @@ sap.ui.define([
333
332
 
334
333
  /**
335
334
  * Factory method for the column visibility menu item.
336
- * @param {string} sId the id of the menu item.
337
335
  * @param {sap.ui.table.Column} oColumn the associated column to the menu item.
338
336
  * @returns {sap.ui.unified.MenuItem} the created menu item.
339
337
  * @private
@@ -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.99.0
35
+ * @version 1.100.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -76,7 +76,8 @@ sap.ui.define([
76
76
  allowPreventDefault: true
77
77
  }
78
78
  }
79
- }
79
+ },
80
+ renderer: Renderer
80
81
  });
81
82
 
82
83
  /*
@@ -135,7 +135,7 @@ sap.ui.define([
135
135
  * @class
136
136
  * The row.
137
137
  * @extends sap.ui.core.Element
138
- * @version 1.99.0
138
+ * @version 1.100.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.99.0
38
+ * @version 1.100.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -70,7 +70,8 @@ sap.ui.define([
70
70
  _menu: {type: "sap.ui.unified.Menu", multiple: false, visibility: "hidden"}
71
71
  },
72
72
  events: {}
73
- }
73
+ },
74
+ renderer: RowActionRenderer
74
75
  });
75
76
 
76
77
  RowAction.prototype.init = function() {
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.99.0
27
+ * @version 1.100.0
28
28
  * @since 1.45
29
29
  *
30
30
  * @constructor
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  //Provides default renderer for control sap.ui.table.RowAction
8
- sap.ui.define(['sap/ui/table/Row'],
9
- function(Row) {
8
+ sap.ui.define([],
9
+ function() {
10
10
  "use strict";
11
11
 
12
12
  /**
@@ -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.99.0
27
+ * @version 1.100.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.99.0
95
+ * @version 1.100.0
96
96
  *
97
97
  * @constructor
98
98
  * @public
@@ -540,7 +540,7 @@ sap.ui.define([
540
540
  /**
541
541
  * binding context of the row which has been clicked so that selection has been changed
542
542
  */
543
- rowContext : {type : "object"},
543
+ rowContext : {type : "sap.ui.model.Context"},
544
544
 
545
545
  /**
546
546
  * array of row indices which selection has been changed (either selected or deselected)
@@ -870,7 +870,7 @@ sap.ui.define([
870
870
  }
871
871
  },
872
872
  designtime: "sap/ui/table/designtime/Table.designtime"
873
- }});
873
+ }, renderer: TableRenderer});
874
874
 
875
875
  /**
876
876
  * Gets content of aggregation <code>dragDropConfig</code> which defines the drag-and-drop configuration.
@@ -1269,7 +1269,7 @@ sap.ui.define([
1269
1269
 
1270
1270
  var oSapUiTableCtrlScroll = oDomRef.querySelector(".sapUiTableCtrlScroll:not(.sapUiTableCHT)");
1271
1271
  if (oSapUiTableCtrlScroll) {
1272
- oSizes.tableCtrlScrollWidth = oSapUiTableCtrlScroll.clientWidth;
1272
+ oSizes.tableCtrlScrollWidth = oSapUiTableCtrlScroll.getBoundingClientRect().width;
1273
1273
  }
1274
1274
 
1275
1275
  var oSapUiTableRowHdrScr = oDomRef.querySelector(".sapUiTableRowHdrScr");
@@ -1279,7 +1279,7 @@ sap.ui.define([
1279
1279
 
1280
1280
  var oCtrlScrDomRef = oDomRef.querySelector(".sapUiTableCtrlScr:not(.sapUiTableCHA)");
1281
1281
  if (oCtrlScrDomRef) {
1282
- oSizes.tableCtrlScrWidth = oCtrlScrDomRef.clientWidth;
1282
+ oSizes.tableCtrlScrWidth = oCtrlScrDomRef.getBoundingClientRect().width;
1283
1283
  }
1284
1284
 
1285
1285
  var oCtrlFixed = oDomRef.querySelector(".sapUiTableCtrlScrFixed:not(.sapUiTableCHA) > .sapUiTableCtrlFixed");
@@ -1348,6 +1348,7 @@ sap.ui.define([
1348
1348
 
1349
1349
  /**
1350
1350
  * Synchronizes the row heights.
1351
+ * @param {float[]} aRowItemHeights
1351
1352
  * @param {boolean} bHeader update of column headers if true, otherwise update data rows.
1352
1353
  * @private
1353
1354
  */
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.99.0
33
+ * @version 1.100.0
34
34
  * @since 1.21.1
35
35
  *
36
36
  * @constructor
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class
41
41
  * The TreeTable control provides a comprehensive set of features to display hierarchical data.
42
42
  * @extends sap.ui.table.Table
43
- * @version 1.99.0
43
+ * @version 1.100.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -152,7 +152,7 @@ sap.ui.define([
152
152
  }
153
153
  }
154
154
  }
155
- }, renderer: "sap.ui.table.TableRenderer"});
155
+ }, renderer: TableRenderer});
156
156
 
157
157
 
158
158
  /**
@@ -11,9 +11,8 @@ sap.ui.define([
11
11
  "../utils/TableUtils",
12
12
  "../library",
13
13
  "sap/ui/core/Control",
14
- "sap/ui/Device",
15
14
  "sap/ui/thirdparty/jquery"
16
- ], function(ExtensionBase, AccRenderExtension, TableUtils, library, Control, Device, jQuery) {
15
+ ], function(ExtensionBase, AccRenderExtension, TableUtils, library, Control, jQuery) {
17
16
  "use strict";
18
17
 
19
18
  // shortcuts
@@ -907,7 +906,7 @@ sap.ui.define([
907
906
  * @class Extension for sap.ui.table.Table which handles ACC related things.
908
907
  * @extends sap.ui.table.extensions.ExtensionBase
909
908
  * @author SAP SE
910
- * @version 1.99.0
909
+ * @version 1.100.0
911
910
  * @constructor
912
911
  * @private
913
912
  * @alias sap.ui.table.extensions.Accessibility
@@ -1187,7 +1186,7 @@ sap.ui.define([
1187
1186
  *
1188
1187
  * @param {sap.ui.table.Row} oRow Instance of the row.
1189
1188
  * @param {jQuery} $Ref The jQuery references to the DOM areas of the row.
1190
- * @param {string} sSelectReference The text for the tooltip.
1189
+ * @param {string} sTextMouse The text for the tooltip.
1191
1190
  * @public
1192
1191
  */
1193
1192
  AccExtension.prototype.updateRowTooltips = function(oRow, $Ref, sTextMouse) {
@@ -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.99.0
45
+ * @version 1.100.0
46
46
  * @constructor
47
47
  * @private
48
48
  * @alias sap.ui.table.extensions.AccessibilityRender
@@ -244,7 +244,7 @@ sap.ui.define([
244
244
  *
245
245
  * @extends sap.ui.table.extensions.ExtensionBase
246
246
  * @author SAP SE
247
- * @version 1.99.0
247
+ * @version 1.100.0
248
248
  * @constructor
249
249
  * @private
250
250
  * @alias sap.ui.table.extensions.DragAndDrop
@@ -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.99.0
22
+ * @version 1.100.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.99.0
270
+ * @version 1.100.0
271
271
  * @constructor
272
272
  * @private
273
273
  * @alias sap.ui.table.extensions.Keyboard
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  *
65
65
  * @extends sap.ui.base.Object
66
66
  * @author SAP SE
67
- * @version 1.99.0
67
+ * @version 1.100.0
68
68
  * @constructor
69
69
  * @private
70
70
  * @alias sap.ui.table.extensions.KeyboardDelegate
@@ -796,7 +796,7 @@ sap.ui.define([
796
796
  * @class Extension for sap.ui.table.Table which handles mouse and touch related things.
797
797
  * @extends sap.ui.table.extensions.ExtensionBase
798
798
  * @author SAP SE
799
- * @version 1.99.0
799
+ * @version 1.100.0
800
800
  * @constructor
801
801
  * @private
802
802
  * @alias sap.ui.table.extensions.Pointer
@@ -12,7 +12,8 @@ sap.ui.define([
12
12
  "sap/ui/Device",
13
13
  "sap/ui/performance/trace/Interaction",
14
14
  "sap/base/Log",
15
- "sap/ui/thirdparty/jquery"
15
+ "sap/ui/thirdparty/jquery",
16
+ "sap/ui/dom/jquery/scrollLeftRTL" // provides jQuery.fn.scrollLeftRTL
16
17
  ], function(ExtensionBase, TableUtils, library, Device, Interaction, Log, jQuery) {
17
18
  "use strict";
18
19
 
@@ -2256,7 +2257,7 @@ sap.ui.define([
2256
2257
  * @class Extension for sap.ui.table.Table which handles scrolling.
2257
2258
  * @extends sap.ui.table.extensions.ExtensionBase
2258
2259
  * @author SAP SE
2259
- * @version 1.99.0
2260
+ * @version 1.100.0
2260
2261
  * @constructor
2261
2262
  * @private
2262
2263
  * @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.99.0
30
+ * @version 1.100.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @alias sap.ui.table.extensions.ScrollingIOS
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "./ExtensionBase", "../Table", "../utils/TableUtils", "../library", "sap/base/Log"
9
- ], function(ExtensionBase, Table, TableUtils, library, Log) {
8
+ "./ExtensionBase", "../utils/TableUtils", "../library", "sap/base/Log"
9
+ ], function(ExtensionBase, TableUtils, library, Log) {
10
10
  "use strict";
11
11
 
12
12
  /**
@@ -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.99.0
145
+ * @version 1.100.0
146
146
  * @constructor
147
147
  * @private
148
148
  * @alias sap.ui.table.extensions.Synchronization
@@ -238,7 +238,7 @@ sap.ui.define([
238
238
  /**
239
239
  * Synchronizes the layout information.
240
240
  *
241
- * @param {{top:number, headerHeight:number, contentHeight:number}} mLayoutData The layout information.
241
+ * @param {{top: number, headerHeight: number, contentHeight: number}} mLayoutData The layout information.
242
242
  */
243
243
  SyncExtension.prototype.syncLayout = function(mLayoutData) {
244
244
  this.callInterfaceHook("layout", arguments);
@@ -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.99.0",
20
+ version: "1.100.0",
21
21
  dependencies : ["sap.ui.core","sap.ui.unified"],
22
22
  designtime: "sap/ui/table/designtime/library.designtime",
23
23
  types: [
@@ -74,7 +74,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
74
74
  * @namespace
75
75
  * @alias sap.ui.table
76
76
  * @author SAP SE
77
- * @version 1.99.0
77
+ * @version 1.100.0
78
78
  * @since 0.8
79
79
  * @public
80
80
  */
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
83
83
  /**
84
84
  * Navigation mode of the table
85
85
  *
86
- * @version 1.99.0
86
+ * @version 1.100.0
87
87
  * @enum {string}
88
88
  * @public
89
89
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -111,7 +111,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
111
111
  /**
112
112
  * Row Action types.
113
113
  *
114
- * @version 1.99.0
114
+ * @version 1.100.0
115
115
  * @enum {string}
116
116
  * @public
117
117
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -142,7 +142,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
142
142
  /**
143
143
  * Selection behavior of the table
144
144
  *
145
- * @version 1.99.0
145
+ * @version 1.100.0
146
146
  * @enum {string}
147
147
  * @public
148
148
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -173,7 +173,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
173
173
  /**
174
174
  * Selection mode of the table
175
175
  *
176
- * @version 1.99.0
176
+ * @version 1.100.0
177
177
  * @enum {string}
178
178
  * @public
179
179
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -211,7 +211,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
211
211
  /**
212
212
  * Sort order of a column
213
213
  *
214
- * @version 1.99.0
214
+ * @version 1.100.0
215
215
  * @enum {string}
216
216
  * @public
217
217
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -236,7 +236,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
236
236
  /**
237
237
  * VisibleRowCountMode of the table
238
238
  *
239
- * @version 1.99.0
239
+ * @version 1.100.0
240
240
  * @enum {string}
241
241
  * @public
242
242
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -268,7 +268,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
268
268
  *
269
269
  * Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
270
270
  *
271
- * @version 1.99.0
271
+ * @version 1.100.0
272
272
  * @enum {string}
273
273
  * @public
274
274
  */
@@ -366,7 +366,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
366
366
  *
367
367
  * This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
368
368
  *
369
- * @version 1.99.0
369
+ * @version 1.100.0
370
370
  * @typedef {sap.ui.model.TreeAutoExpandMode}
371
371
  * @public
372
372
  */
@@ -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.99.0
25
+ * @version 1.100.0
26
26
  * @constructor
27
27
  * @private
28
28
  * @alias sap.ui.table.plugins.BindingSelection
@@ -5,8 +5,6 @@
5
5
  */
6
6
  sap.ui.define([
7
7
  "./SelectionPlugin",
8
- "./SelectionModelSelection",
9
- "./BindingSelection",
10
8
  "../library",
11
9
  "../utils/TableUtils",
12
10
  "sap/ui/core/Icon",
@@ -14,8 +12,6 @@ sap.ui.define([
14
12
  "sap/base/Log"
15
13
  ], function(
16
14
  SelectionPlugin,
17
- SelectionModelSelectionPlugin,
18
- BindingSelectionPlugin,
19
15
  library,
20
16
  TableUtils,
21
17
  Icon,
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.99.0
31
+ * @version 1.100.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.99.0
26
+ * @version 1.100.0
27
27
  * @constructor
28
28
  * @private
29
29
  * @alias sap.ui.table.plugins.SelectionModelSelection
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class Implements the selection methods for a table.
30
30
  * @extends sap.ui.core.Element
31
31
  * @author SAP SE
32
- * @version 1.99.0
32
+ * @version 1.100.0
33
33
  * @public
34
34
  * @since 1.64
35
35
  * @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.99.0
35
+ * @version 1.100.0
36
36
  * @private
37
37
  * @since 1.76
38
38
  * @experimental
@@ -7,12 +7,14 @@ sap.ui.define([
7
7
  "../library",
8
8
  "../utils/TableUtils",
9
9
  "./RowMode",
10
- "sap/ui/Device"
10
+ "sap/ui/Device",
11
+ "sap/ui/thirdparty/jquery"
11
12
  ], function(
12
13
  library,
13
14
  TableUtils,
14
15
  RowMode,
15
- Device
16
+ Device,
17
+ jQuery
16
18
  ) {
17
19
  "use strict";
18
20
 
@@ -33,7 +35,7 @@ sap.ui.define([
33
35
  * @ui5-restricted sap.ui.mdc
34
36
  *
35
37
  * @author SAP SE
36
- * @version 1.99.0
38
+ * @version 1.100.0
37
39
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
38
40
  */
39
41
  var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @ui5-restricted sap.ui.mdc
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.99.0
32
+ * @version 1.100.0
33
33
  *
34
34
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
35
35
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @ui5-restricted sap.ui.mdc
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.99.0
36
+ * @version 1.100.0
37
37
  *
38
38
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
39
39
  */
@@ -7,13 +7,11 @@ sap.ui.define([
7
7
  "../library",
8
8
  "../utils/TableUtils",
9
9
  "sap/ui/core/Element",
10
- "sap/base/Log",
11
10
  "sap/ui/thirdparty/jquery"
12
11
  ], function(
13
12
  library,
14
13
  TableUtils,
15
14
  Element,
16
- Log,
17
15
  jQuery
18
16
  ) {
19
17
  "use strict";
@@ -36,7 +34,7 @@ sap.ui.define([
36
34
  * @ui5-restricted sap.ui.mdc
37
35
  *
38
36
  * @author SAP SE
39
- * @version 1.99.0
37
+ * @version 1.100.0
40
38
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
41
39
  */
42
40
  var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
@@ -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.99.0
26
+ * @version 1.100.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -6,8 +6,9 @@
6
6
  sap.ui.define([
7
7
  "./TableHelper.support",
8
8
  "sap/ui/support/library",
9
- "sap/ui/Device"
10
- ], function(SupportHelper, SupportLibrary, Device) {
9
+ "sap/ui/Device",
10
+ "sap/ui/thirdparty/jquery"
11
+ ], function(SupportHelper, SupportLibrary, Device, jQuery) {
11
12
  "use strict";
12
13
 
13
14
  var Categories = SupportLibrary.Categories;
@@ -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.99.0
206
+ * @version 1.100.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.99.0
17
+ * @version 1.100.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.99.0
21
+ * @version 1.100.0
22
22
  * @namespace
23
23
  * @alias sap.ui.table.utils._ColumnUtils
24
24
  * @private
@@ -551,14 +551,7 @@ sap.ui.define([
551
551
  * @returns {int} The minimal possible column width in pixels.
552
552
  */
553
553
  getMinColumnWidth: function() {
554
- if (this._iColMinWidth) {
555
- return this._iColMinWidth;
556
- }
557
- this._iColMinWidth = 48;
558
- if (!Device.system.desktop) {
559
- this._iColMinWidth = 88;
560
- }
561
- return this._iColMinWidth;
554
+ return Device.system.desktop ? 48 : 88;
562
555
  },
563
556
 
564
557
  /**
@@ -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.99.0
26
+ * @version 1.100.0
27
27
  * @namespace
28
28
  * @alias sap.ui.table.utils._GroupingUtils
29
29
  * @private
@@ -356,9 +356,8 @@ sap.ui.define([
356
356
  },
357
357
 
358
358
  /**
359
- * Cleanup the dom changes previously done by <code>updateTableRowForGrouping</code>.
359
+ * Cleanup the DOM changes previously done by <code>updateTableRowForGrouping</code>.
360
360
  *
361
- * @param {sap.ui.table.Table} oTable Instance of the table
362
361
  * @param {sap.ui.table.Row} oRow Instance of the row
363
362
  */
364
363
  cleanupTableRowForGrouping: function(oRow) {
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  // Provides helper sap.ui.table.utils._HookUtils.
8
- sap.ui.define(["sap/ui/base/DataType", "sap/base/Log"], function(DataType, Log) {
8
+ sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
9
9
  "use strict";
10
10
 
11
11
  var Hooks = new window.WeakMap();
@@ -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.99.0
25
+ * @version 1.100.0
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.99.0
45
+ * @version 1.100.0
46
46
  * @namespace
47
47
  * @alias sap.ui.table.utils._MenuUtils
48
48
  * @private