@openui5/sap.ui.table 1.98.0 → 1.101.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/.eslintrc.json +18 -0
  2. package/THIRDPARTY.txt +6 -6
  3. package/package.json +3 -3
  4. package/src/sap/ui/table/.library +1 -1
  5. package/src/sap/ui/table/AnalyticalColumn.js +5 -3
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +3 -3
  7. package/src/sap/ui/table/AnalyticalTable.js +2 -6
  8. package/src/sap/ui/table/Column.js +28 -11
  9. package/src/sap/ui/table/ColumnMenu.js +7 -9
  10. package/src/sap/ui/table/CreationRow.js +3 -2
  11. package/src/sap/ui/table/Row.js +3 -2
  12. package/src/sap/ui/table/RowAction.js +3 -2
  13. package/src/sap/ui/table/RowActionItem.js +1 -1
  14. package/src/sap/ui/table/RowActionRenderer.js +3 -3
  15. package/src/sap/ui/table/RowSettings.js +1 -1
  16. package/src/sap/ui/table/Table.js +34 -14
  17. package/src/sap/ui/table/TablePersoController.js +1 -1
  18. package/src/sap/ui/table/TableRenderer.js +4 -2
  19. package/src/sap/ui/table/TreeTable.js +2 -2
  20. package/src/sap/ui/table/extensions/Accessibility.js +19 -6
  21. package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
  22. package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
  23. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  24. package/src/sap/ui/table/extensions/Keyboard.js +1 -1
  25. package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
  26. package/src/sap/ui/table/extensions/Pointer.js +5 -1
  27. package/src/sap/ui/table/extensions/Scrolling.js +6 -5
  28. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  29. package/src/sap/ui/table/extensions/Synchronization.js +4 -4
  30. package/src/sap/ui/table/library.js +20 -23
  31. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  32. package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +0 -4
  33. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  34. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  35. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  36. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  37. package/src/sap/ui/table/rowmodes/AutoRowMode.js +5 -3
  38. package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
  39. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
  40. package/src/sap/ui/table/rowmodes/RowMode.js +1 -3
  41. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  42. package/src/sap/ui/table/rules/Rows.support.js +3 -2
  43. package/src/sap/ui/table/themes/base/Table.less +12 -6
  44. package/src/sap/ui/table/themes/sap_hcb/Table.less +3 -3
  45. package/src/sap/ui/table/utils/TableUtils.js +27 -13
  46. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  47. package/src/sap/ui/table/utils/_ColumnUtils.js +2 -9
  48. package/src/sap/ui/table/utils/_GroupingUtils.js +2 -3
  49. package/src/sap/ui/table/utils/_HookUtils.js +2 -2
  50. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
@@ -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.98.0
17
+ * @version 1.101.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.98.0
21
+ * @version 1.101.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.98.0
26
+ * @version 1.101.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.98.0
25
+ * @version 1.101.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.98.0
45
+ * @version 1.101.0
46
46
  * @namespace
47
47
  * @alias sap.ui.table.utils._MenuUtils
48
48
  * @private