@openui5/sap.ui.table 1.96.2 → 1.98.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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +3 -3
- package/src/sap/ui/table/.library +2 -2
- package/src/sap/ui/table/AnalyticalColumn.js +2 -2
- package/src/sap/ui/table/AnalyticalColumnMenu.js +2 -2
- package/src/sap/ui/table/AnalyticalColumnMenuRenderer.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +13 -26
- package/src/sap/ui/table/AnalyticalTableRenderer.js +1 -1
- package/src/sap/ui/table/Column.js +21 -3
- package/src/sap/ui/table/ColumnMenu.js +2 -2
- package/src/sap/ui/table/ColumnMenuRenderer.js +1 -1
- package/src/sap/ui/table/CreationRow.js +8 -4
- package/src/sap/ui/table/CreationRowRenderer.js +1 -1
- package/src/sap/ui/table/Row.js +2 -2
- package/src/sap/ui/table/RowAction.js +2 -2
- package/src/sap/ui/table/RowActionItem.js +2 -2
- package/src/sap/ui/table/RowActionRenderer.js +1 -1
- package/src/sap/ui/table/RowSettings.js +2 -2
- package/src/sap/ui/table/Table.js +126 -150
- package/src/sap/ui/table/TablePersoController.js +2 -2
- package/src/sap/ui/table/TableRenderer.js +25 -37
- package/src/sap/ui/table/TreeTable.js +26 -10
- package/src/sap/ui/table/TreeTableRenderer.js +1 -1
- package/src/sap/ui/table/designtime/AnalyticalTable.designtime.js +1 -1
- package/src/sap/ui/table/designtime/Table.designtime.js +1 -1
- package/src/sap/ui/table/designtime/library.designtime.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +9 -4
- package/src/sap/ui/table/extensions/AccessibilityRender.js +2 -2
- package/src/sap/ui/table/extensions/DragAndDrop.js +2 -2
- package/src/sap/ui/table/extensions/ExtensionBase.js +2 -2
- package/src/sap/ui/table/extensions/Keyboard.js +7 -3
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +5 -5
- package/src/sap/ui/table/extensions/Pointer.js +2 -2
- package/src/sap/ui/table/extensions/Scrolling.js +13 -50
- package/src/sap/ui/table/extensions/ScrollingIOS.js +14 -62
- package/src/sap/ui/table/extensions/Synchronization.js +3 -3
- package/src/sap/ui/table/library.js +11 -11
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/messagebundle_it.properties +8 -8
- package/src/sap/ui/table/messagebundle_pl.properties +1 -1
- package/src/sap/ui/table/plugins/BindingSelection.js +2 -2
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +2 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +10 -18
- package/src/sap/ui/table/plugins/SelectionPlugin.js +2 -2
- package/src/sap/ui/table/plugins/V4Aggregation.js +3 -5
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +6 -8
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +3 -3
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +3 -3
- package/src/sap/ui/table/rowmodes/RowMode.js +5 -11
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +2 -2
- package/src/sap/ui/table/rules/Accessibility.support.js +1 -1
- package/src/sap/ui/table/rules/Binding.support.js +1 -1
- package/src/sap/ui/table/rules/ColumnTemplate.support.js +1 -1
- package/src/sap/ui/table/rules/Plugins.support.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +1 -1
- package/src/sap/ui/table/rules/TableHelper.support.js +1 -1
- package/src/sap/ui/table/themes/base/Scrolling.less +18 -38
- package/src/sap/ui/table/themes/base/ScrollingIOS.less +11 -19
- package/src/sap/ui/table/themes/base/library.source.less +1 -1
- package/src/sap/ui/table/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +2 -30
- package/src/sap/ui/table/utils/_BindingUtils.js +2 -2
- package/src/sap/ui/table/utils/_ColumnUtils.js +2 -2
- package/src/sap/ui/table/utils/_GroupingUtils.js +3 -3
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- package/src/sap/ui/table/utils/_MenuUtils.js +15 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.
|
|
25
|
+
* @version 1.98.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.98.0
|
|
32
32
|
*
|
|
33
33
|
* @private
|
|
34
34
|
* @experimental Since 1.75
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.98.0
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
SelectionPlugin.prototype.onActivate.apply(this, arguments);
|
|
80
80
|
this.oSelectionModel.attachSelectionChanged(onSelectionChange, this);
|
|
81
81
|
TableUtils.Hook.register(oTable, TableUtils.Hook.Keys.Table.TotalRowCountChanged, onTotalRowCountChanged, this);
|
|
82
|
-
this.
|
|
82
|
+
this._iTotalRowCount = oTable._getTotalRowCount();
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -294,12 +294,6 @@ sap.ui.define([
|
|
|
294
294
|
*/
|
|
295
295
|
SelectionModelSelection.prototype.onTableRowsBound = function(oBinding) {
|
|
296
296
|
SelectionPlugin.prototype.onTableRowsBound.apply(this, arguments);
|
|
297
|
-
if (!this.hasOwnProperty("_bIgnoreNextTotalRowCountChange")) {
|
|
298
|
-
this._bIgnoreNextTotalRowCountChange = true;
|
|
299
|
-
}
|
|
300
|
-
if (!this.getTable()._bContextsAvailable) {
|
|
301
|
-
this._bWaitForBindingChange = true;
|
|
302
|
-
}
|
|
303
297
|
attachToBinding(this, oBinding);
|
|
304
298
|
};
|
|
305
299
|
|
|
@@ -341,20 +335,18 @@ sap.ui.define([
|
|
|
341
335
|
if (sReason === "sort" || sReason === "filter") {
|
|
342
336
|
this.clearSelection();
|
|
343
337
|
}
|
|
344
|
-
|
|
345
|
-
if (this._bWaitForBindingChange) {
|
|
346
|
-
this._bIgnoreNextTotalRowCountChange = true;
|
|
347
|
-
delete this._bWaitForBindingChange;
|
|
348
|
-
}
|
|
349
338
|
}
|
|
350
339
|
|
|
351
340
|
function onTotalRowCountChanged() {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
341
|
+
var iTotalRowCount = this.getTable()._getTotalRowCount();
|
|
342
|
+
|
|
343
|
+
// If rows are added or removed, the index-based selection of the SelectionModel is invalid and needs to be cleared.
|
|
344
|
+
// Changes from 0 are ignored for compatibility, so it is possible to select something before the initial rows update is done.
|
|
345
|
+
if (this._iTotalRowCount > 0 && this._iTotalRowCount !== iTotalRowCount) {
|
|
355
346
|
this.clearSelection();
|
|
356
347
|
}
|
|
357
|
-
|
|
348
|
+
|
|
349
|
+
this._iTotalRowCount = iTotalRowCount;
|
|
358
350
|
}
|
|
359
351
|
|
|
360
352
|
return SelectionModelSelection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.
|
|
32
|
+
* @version 1.98.0
|
|
33
33
|
* @public
|
|
34
34
|
* @since 1.64
|
|
35
35
|
* @experimental As of version 1.64
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.98.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @experimental
|
|
@@ -396,9 +396,7 @@ sap.ui.define([
|
|
|
396
396
|
}
|
|
397
397
|
}.bind(this));
|
|
398
398
|
|
|
399
|
-
|
|
400
|
-
this._sSearch = oAggregateInfo.search;
|
|
401
|
-
}
|
|
399
|
+
this._sSearch = oAggregateInfo.search;
|
|
402
400
|
}
|
|
403
401
|
|
|
404
402
|
this._mColumnState = oAggregateInfo.columnState;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"../library",
|
|
8
8
|
"../utils/TableUtils",
|
|
9
9
|
"./RowMode",
|
|
10
|
-
"sap/ui/Device"
|
|
11
|
-
"sap/base/Log"
|
|
10
|
+
"sap/ui/Device"
|
|
12
11
|
], function(
|
|
13
12
|
library,
|
|
14
13
|
TableUtils,
|
|
15
14
|
RowMode,
|
|
16
|
-
Device
|
|
17
|
-
Log
|
|
15
|
+
Device
|
|
18
16
|
) {
|
|
19
17
|
"use strict";
|
|
20
18
|
|
|
@@ -35,7 +33,7 @@ sap.ui.define([
|
|
|
35
33
|
* @ui5-restricted sap.ui.mdc
|
|
36
34
|
*
|
|
37
35
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
36
|
+
* @version 1.98.0
|
|
39
37
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
40
38
|
*/
|
|
41
39
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
@@ -397,12 +395,12 @@ sap.ui.define([
|
|
|
397
395
|
if (!isRowCountInitial(this)) {
|
|
398
396
|
this.initTableRowsAfterDataRequested(iConfiguredRowCount);
|
|
399
397
|
}
|
|
400
|
-
this.getRowContexts(iConfiguredRowCount
|
|
398
|
+
this.getRowContexts(iConfiguredRowCount); // Trigger data request.
|
|
401
399
|
}
|
|
402
400
|
};
|
|
403
401
|
|
|
404
402
|
/**
|
|
405
|
-
* Gets the row count as configured with the <code>
|
|
403
|
+
* Gets the row count as configured with the <code>minRowCount</code> and <code>maxRowCount</code> properties.
|
|
406
404
|
*
|
|
407
405
|
* @returns {int} The configured row count.
|
|
408
406
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.98.0
|
|
33
33
|
*
|
|
34
34
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
35
35
|
*/
|
|
@@ -276,7 +276,7 @@ sap.ui.define([
|
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
this.initTableRowsAfterDataRequested(iRowCount);
|
|
279
|
-
this.getRowContexts(iRowCount
|
|
279
|
+
this.getRowContexts(iRowCount); // Trigger data request.
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.98.0
|
|
37
37
|
*
|
|
38
38
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
39
39
|
*/
|
|
@@ -251,7 +251,7 @@ sap.ui.define([
|
|
|
251
251
|
|
|
252
252
|
if (iRowCount > 0) {
|
|
253
253
|
this.initTableRowsAfterDataRequested(iRowCount);
|
|
254
|
-
this.getRowContexts(iRowCount
|
|
254
|
+
this.getRowContexts(iRowCount); // Trigger data request.
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @ui5-restricted sap.ui.mdc
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.98.0
|
|
40
40
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
41
|
*/
|
|
42
42
|
var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
|
|
@@ -669,19 +669,13 @@ sap.ui.define([
|
|
|
669
669
|
* Gets contexts from the table's rows aggregation binding. Requests at least as many contexts as the table has rows or as is returned
|
|
670
670
|
* by {@link RowMode#getMinRequestLength}.
|
|
671
671
|
*
|
|
672
|
-
* @param {int} [iRequestLength] The number of
|
|
673
|
-
* @param {boolean} [bSuppressAdjustToBindingLength=false] Whether the table should be adjusted to a possibly new binding length.
|
|
672
|
+
* @param {int} [iRequestLength] The number of contexts to request.
|
|
674
673
|
* @returns {Object[]} The contexts returned from the binding.
|
|
675
674
|
* @private
|
|
676
675
|
*/
|
|
677
|
-
RowMode.prototype.getRowContexts = function(iRequestLength
|
|
676
|
+
RowMode.prototype.getRowContexts = function(iRequestLength) {
|
|
678
677
|
var oTable = this.getTable();
|
|
679
|
-
|
|
680
|
-
if (!oTable) {
|
|
681
|
-
return [];
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
return oTable._getRowContexts(iRequestLength, bSuppressAdjustToBindingLength === true);
|
|
678
|
+
return oTable ? oTable._getRowContexts(iRequestLength) : [];
|
|
685
679
|
};
|
|
686
680
|
|
|
687
681
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -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.
|
|
26
|
+
* @version 1.98.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
@_sap_ui_table_Scrolling_HScrollbarHeight: @_sap_ui_table_Scrolling_ScrollbarSize;
|
|
16
16
|
@_sap_ui_table_Scrolling_HScrollbarHeightMobile: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
|
|
17
17
|
|
|
18
|
-
@_sap_ui_table_Scrolling_VScrollbarWidth: calc(@
|
|
19
|
-
@_sap_ui_table_Scrolling_VScrollbarWidthMobile: calc(@
|
|
18
|
+
@_sap_ui_table_Scrolling_VScrollbarWidth: calc(@_sap_ui_table_Scrolling_ScrollbarSize ~"+" @_sap_ui_table_BaseBorderWidth);
|
|
19
|
+
@_sap_ui_table_Scrolling_VScrollbarWidthMobile: calc(@_sap_ui_table_Scrolling_ScrollbarSizeMobile ~"+" @_sap_ui_table_BaseBorderWidth);
|
|
20
20
|
|
|
21
21
|
@_sap_ui_table_Scrolling_ScrollbarBackground: @sapUiListHeaderBackground;
|
|
22
22
|
|
|
@@ -25,9 +25,7 @@
|
|
|
25
25
|
._sap_ui_table_Scrolling_NativeScrollbarDesktop() {}
|
|
26
26
|
._sap_ui_table_Scrolling_NativeScrollbarMobile() {}
|
|
27
27
|
|
|
28
|
-
.
|
|
29
|
-
.sapUiTableVSbBg {
|
|
30
|
-
display: none;
|
|
28
|
+
.sapUiTableVSbContainer {
|
|
31
29
|
position: absolute;
|
|
32
30
|
top: 0;
|
|
33
31
|
right: 0;
|
|
@@ -35,22 +33,17 @@
|
|
|
35
33
|
width: @_sap_ui_table_Scrolling_VScrollbarWidth;
|
|
36
34
|
box-sizing: border-box;
|
|
37
35
|
border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.sapUiTableVSb {
|
|
41
|
-
overflow-x: hidden;
|
|
42
|
-
overflow-y: scroll;
|
|
43
|
-
-webkit-overflow-scrolling: auto;
|
|
44
|
-
background-color: @sapUiListBackground;
|
|
45
|
-
z-index: 4; /* Ensure scrollbar before Resize/Reorder bars*/
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.sapUiTableVSbBg {
|
|
49
36
|
background-color: @_sap_ui_table_Scrolling_ScrollbarBackground;
|
|
37
|
+
z-index: 4; /* Ensure that the resize/reorder bars do not become visible/active when hovering the scrollbar. */
|
|
38
|
+
|
|
39
|
+
&.sapUiTableVSbExternal {
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
50
42
|
}
|
|
51
43
|
|
|
52
|
-
.
|
|
53
|
-
width:
|
|
44
|
+
.sapUiTableVSb {
|
|
45
|
+
width: 100%;
|
|
46
|
+
position: absolute;
|
|
54
47
|
overflow-x: hidden;
|
|
55
48
|
overflow-y: scroll;
|
|
56
49
|
-webkit-overflow-scrolling: auto;
|
|
@@ -78,15 +71,9 @@
|
|
|
78
71
|
}
|
|
79
72
|
|
|
80
73
|
.sapUiTableVScr {
|
|
81
|
-
|
|
82
|
-
.sapUiTableVSb, .sapUiTableVSbBg {
|
|
83
|
-
display: block;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
74
|
.sapUiTableHSb, .sapUiTableCtrlScr, .sapUiTableColHdrScr, .sapUiTableRowActionScr, .sapUiTableRowWithAction {
|
|
87
75
|
margin-right: @_sap_ui_table_Scrolling_VScrollbarWidth;
|
|
88
76
|
}
|
|
89
|
-
|
|
90
77
|
}
|
|
91
78
|
|
|
92
79
|
._sapUiTableVScrWithActionsInnerMixin(@variant:"Width") {
|
|
@@ -252,7 +239,6 @@
|
|
|
252
239
|
|
|
253
240
|
.sapUiTableVSb,
|
|
254
241
|
.sapUiTableHSb,
|
|
255
|
-
.sapUiTableVSbExternal,
|
|
256
242
|
.sapUiTableHSbExternal {
|
|
257
243
|
&::-webkit-scrollbar-thumb {
|
|
258
244
|
background-color: @sapUiScrollBarFaceColor !important;
|
|
@@ -268,15 +254,13 @@
|
|
|
268
254
|
html.sap-desktop {
|
|
269
255
|
.sapUiTableVSb,
|
|
270
256
|
.sapUiTableHSb,
|
|
271
|
-
.sapUiTableVSbExternal,
|
|
272
257
|
.sapUiTableHSbExternal {
|
|
273
258
|
._sap_ui_table_Scrolling_NativeScrollbarDesktop();
|
|
274
259
|
}
|
|
275
260
|
|
|
276
|
-
.sapUiTableVSb
|
|
277
|
-
.sapUiTableVSbExternal {
|
|
261
|
+
.sapUiTableVSb {
|
|
278
262
|
&::-webkit-scrollbar:vertical {
|
|
279
|
-
width: @
|
|
263
|
+
width: @_sap_ui_table_Scrolling_ScrollbarSize !important;
|
|
280
264
|
}
|
|
281
265
|
|
|
282
266
|
&::-webkit-scrollbar-thumb:vertical {
|
|
@@ -288,7 +272,7 @@ html.sap-desktop {
|
|
|
288
272
|
.sapUiTableHSb,
|
|
289
273
|
.sapUiTableHSbExternal {
|
|
290
274
|
&::-webkit-scrollbar:horizontal {
|
|
291
|
-
height: @
|
|
275
|
+
height: @_sap_ui_table_Scrolling_ScrollbarSize !important;
|
|
292
276
|
}
|
|
293
277
|
|
|
294
278
|
&::-webkit-scrollbar-thumb:horizontal {
|
|
@@ -302,16 +286,14 @@ html.sap-tablet:not(.sap-desktop),
|
|
|
302
286
|
html.sap-phone {
|
|
303
287
|
.sapUiTableVSb,
|
|
304
288
|
.sapUiTableHSb,
|
|
305
|
-
.sapUiTableVSbExternal,
|
|
306
289
|
.sapUiTableHSbExternal {
|
|
307
290
|
-webkit-appearance: none;
|
|
308
291
|
._sap_ui_table_Scrolling_NativeScrollbarMobile();
|
|
309
292
|
}
|
|
310
293
|
|
|
311
|
-
.sapUiTableVSb
|
|
312
|
-
.sapUiTableVSbExternal {
|
|
294
|
+
.sapUiTableVSb {
|
|
313
295
|
&::-webkit-scrollbar:vertical {
|
|
314
|
-
width: @
|
|
296
|
+
width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile !important;
|
|
315
297
|
}
|
|
316
298
|
|
|
317
299
|
&::-webkit-scrollbar-thumb:vertical {
|
|
@@ -325,7 +307,7 @@ html.sap-phone {
|
|
|
325
307
|
.sapUiTableHSb,
|
|
326
308
|
.sapUiTableHSbExternal {
|
|
327
309
|
&::-webkit-scrollbar:horizontal {
|
|
328
|
-
height: @
|
|
310
|
+
height: @_sap_ui_table_Scrolling_ScrollbarSizeMobile !important;
|
|
329
311
|
}
|
|
330
312
|
|
|
331
313
|
&::-webkit-scrollbar-thumb:horizontal {
|
|
@@ -336,9 +318,7 @@ html.sap-phone {
|
|
|
336
318
|
}
|
|
337
319
|
}
|
|
338
320
|
|
|
339
|
-
.
|
|
340
|
-
.sapUiTableVSbBg,
|
|
341
|
-
.sapUiTableVSbExternal,
|
|
321
|
+
.sapUiTableVSbContainer,
|
|
342
322
|
.sapUiTableVSbHeader {
|
|
343
323
|
width: @_sap_ui_table_Scrolling_VScrollbarWidthMobile;
|
|
344
324
|
}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* ================================== */
|
|
2
2
|
/* CSS for sap.ui.table/ScrollingIOS */
|
|
3
|
-
/* Base theme
|
|
4
|
-
/*
|
|
5
|
-
|
|
6
|
-
.sapUiTableVSbIOSActive {
|
|
7
|
-
.sapUiTableVSb,
|
|
8
|
-
.sapUiTableVSbExternal {
|
|
9
|
-
touch-action: none;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ================================== */
|
|
12
5
|
|
|
13
6
|
.sapUiTableVSbIOS {
|
|
14
7
|
position: absolute;
|
|
15
|
-
|
|
8
|
+
width: 100%;
|
|
16
9
|
z-index: 5;
|
|
17
|
-
width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
|
|
18
|
-
}
|
|
19
10
|
|
|
20
|
-
.sapUiTableVSbIOSThumb {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
.sapUiTableVSbIOSThumb {
|
|
12
|
+
position: relative;
|
|
13
|
+
background-color: #949494;
|
|
14
|
+
border-radius: 0.25rem;
|
|
15
|
+
left: @_sap_ui_table_BaseBorderWidth;
|
|
16
|
+
width: calc(100% ~"-" calc(2 * @_sap_ui_table_BaseBorderWidth));
|
|
17
|
+
}
|
|
26
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
@import "../../../../../sap/ui/core/themes/base/base.less";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -199,17 +199,11 @@ sap.ui.define([
|
|
|
199
199
|
*/
|
|
200
200
|
var INTERACTIVE_ELEMENT_SELECTORS = ":sapTabbable, .sapUiTableTreeIcon:not(.sapUiTableTreeIconLeaf)";
|
|
201
201
|
|
|
202
|
-
function hasSelectableText(oElement) {
|
|
203
|
-
// Text selection is only supported for <input type="text|password|search|tel|url">
|
|
204
|
-
// In Chrome text selection could also be supported for other input types, but to have a consistent behavior we don't do that.
|
|
205
|
-
return oElement != null && oElement instanceof window.HTMLInputElement && /^(text|password|search|tel|url)$/.test(oElement.type);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
202
|
/**
|
|
209
203
|
* Static collection of utility functions related to the sap.ui.table.Table, ...
|
|
210
204
|
*
|
|
211
205
|
* @author SAP SE
|
|
212
|
-
* @version 1.
|
|
206
|
+
* @version 1.98.0
|
|
213
207
|
* @namespace
|
|
214
208
|
* @alias sap.ui.table.utils.TableUtils
|
|
215
209
|
* @private
|
|
@@ -1428,28 +1422,6 @@ sap.ui.define([
|
|
|
1428
1422
|
mThemeParameters.navIndicatorWidth = getPixelValue("_sap_ui_table_NavIndicatorWidth");
|
|
1429
1423
|
},
|
|
1430
1424
|
|
|
1431
|
-
/**
|
|
1432
|
-
* Selects the text of an HTMLElement that supports text selection.
|
|
1433
|
-
*
|
|
1434
|
-
* @param {HTMLElement} oElement The element whose text to select.
|
|
1435
|
-
*/
|
|
1436
|
-
selectElementText: function(oElement) {
|
|
1437
|
-
if (hasSelectableText(oElement)) {
|
|
1438
|
-
oElement.select();
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* Deselects the text of an HTMLElement that supports text selection.
|
|
1444
|
-
*
|
|
1445
|
-
* @param {HTMLElement} oElement The element whose text to deselect.
|
|
1446
|
-
*/
|
|
1447
|
-
deselectElementText: function(oElement) {
|
|
1448
|
-
if (hasSelectableText(oElement)) {
|
|
1449
|
-
oElement.setSelectionRange(0, 0);
|
|
1450
|
-
}
|
|
1451
|
-
},
|
|
1452
|
-
|
|
1453
1425
|
/**
|
|
1454
1426
|
* Adds a delegate that listens to the events of an element.
|
|
1455
1427
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
18
18
|
* @namespace
|
|
19
19
|
* @alias sap.ui.table.utils._BindingUtils
|
|
20
20
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|