@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.
- package/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +6 -6
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +5 -3
- package/src/sap/ui/table/AnalyticalColumnMenu.js +3 -3
- package/src/sap/ui/table/AnalyticalTable.js +2 -6
- package/src/sap/ui/table/Column.js +28 -11
- package/src/sap/ui/table/ColumnMenu.js +7 -9
- package/src/sap/ui/table/CreationRow.js +3 -2
- package/src/sap/ui/table/Row.js +3 -2
- package/src/sap/ui/table/RowAction.js +3 -2
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowActionRenderer.js +3 -3
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +34 -14
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +4 -2
- package/src/sap/ui/table/TreeTable.js +2 -2
- package/src/sap/ui/table/extensions/Accessibility.js +19 -6
- package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
- package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
- package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
- package/src/sap/ui/table/extensions/Keyboard.js +1 -1
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +5 -1
- package/src/sap/ui/table/extensions/Scrolling.js +6 -5
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +4 -4
- package/src/sap/ui/table/library.js +20 -23
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +0 -4
- 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 +5 -3
- 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 -3
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +3 -2
- package/src/sap/ui/table/themes/base/Table.less +12 -6
- package/src/sap/ui/table/themes/sap_hcb/Table.less +3 -3
- package/src/sap/ui/table/utils/TableUtils.js +27 -13
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +2 -9
- package/src/sap/ui/table/utils/_GroupingUtils.js +2 -3
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- 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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
|
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"
|
|
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.
|
|
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.
|
|
45
|
+
* @version 1.101.0
|
|
46
46
|
* @namespace
|
|
47
47
|
* @alias sap.ui.table.utils._MenuUtils
|
|
48
48
|
* @private
|