@openui5/sap.ui.table 1.125.0 → 1.126.1

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 (61) hide show
  1. package/.reuse/dep5 +4 -4
  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 +1 -1
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
  7. package/src/sap/ui/table/AnalyticalTable.js +1 -8
  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 +3 -3
  16. package/src/sap/ui/table/TablePersoController.js +1 -1
  17. package/src/sap/ui/table/TreeTable.js +1 -1
  18. package/src/sap/ui/table/extensions/Accessibility.js +2 -2
  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 +2 -1
  23. package/src/sap/ui/table/extensions/KeyboardDelegate.js +3 -3
  24. package/src/sap/ui/table/extensions/Pointer.js +1 -1
  25. package/src/sap/ui/table/extensions/Scrolling.js +30 -3
  26. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  27. package/src/sap/ui/table/extensions/Synchronization.js +1 -1
  28. package/src/sap/ui/table/library.js +11 -11
  29. package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
  30. package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
  31. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  32. package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +30 -2
  33. package/src/sap/ui/table/plugins/ODataV4Selection.js +24 -0
  34. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  35. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  36. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  37. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  38. package/src/sap/ui/table/rowmodes/Auto.js +2 -2
  39. package/src/sap/ui/table/rowmodes/Fixed.js +2 -2
  40. package/src/sap/ui/table/rowmodes/Interactive.js +1 -1
  41. package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
  42. package/src/sap/ui/table/rowmodes/Variable.js +1 -1
  43. package/src/sap/ui/table/themes/sap_hcb/base_AnalyticalTable.less +38 -0
  44. package/src/sap/ui/table/themes/sap_hcb/base_Cell.less +441 -0
  45. package/src/sap/ui/table/themes/sap_hcb/base_CreationRow.less +83 -0
  46. package/src/sap/ui/table/themes/sap_hcb/base_DragDrop.less +245 -0
  47. package/src/sap/ui/table/themes/sap_hcb/base_Grouping.less +223 -0
  48. package/src/sap/ui/table/themes/sap_hcb/base_Row.less +95 -0
  49. package/src/sap/ui/table/themes/sap_hcb/base_RowAction.less +52 -0
  50. package/src/sap/ui/table/themes/sap_hcb/base_RowHighlight.less +80 -0
  51. package/src/sap/ui/table/themes/sap_hcb/base_RowSelection.less +146 -0
  52. package/src/sap/ui/table/themes/sap_hcb/base_Scrolling.less +343 -0
  53. package/src/sap/ui/table/themes/sap_hcb/base_ScrollingIOS.less +18 -0
  54. package/src/sap/ui/table/themes/sap_hcb/base_Table.less +524 -0
  55. package/src/sap/ui/table/themes/sap_hcb/library.source.less +65 -1
  56. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  57. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  58. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  59. package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
  60. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  61. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
@@ -106,6 +106,7 @@ sap.ui.define([
106
106
  ODataV4Selection.prototype.onDeactivate = function(oTable) {
107
107
  SelectionPlugin.prototype.onDeactivate.apply(this, arguments);
108
108
  oTable.setProperty("selectionMode", TableSelectionMode.None);
109
+ detachFromBinding(this, this.getTableBinding());
109
110
  this.clearSelection();
110
111
  };
111
112
 
@@ -316,9 +317,24 @@ sap.ui.define([
316
317
  // TODO: Same as V4Aggregation plugin, check comment there!
317
318
  if (!oBinding.getModel().isA("sap.ui.model.odata.v4.ODataModel")) {
318
319
  this.deactivate();
320
+ } else {
321
+ SelectionPlugin.prototype.onTableRowsBound.apply(this, arguments);
322
+ attachToBinding(this, oBinding);
319
323
  }
320
324
  };
321
325
 
326
+ function attachToBinding(oPlugin, oBinding) {
327
+ if (oBinding) {
328
+ oBinding.attachChange(oPlugin._onBindingChange, oPlugin);
329
+ }
330
+ }
331
+
332
+ function detachFromBinding(oPlugin, oBinding) {
333
+ if (oBinding) {
334
+ oBinding.detachChange(oPlugin._onBindingChange, oPlugin);
335
+ }
336
+ }
337
+
322
338
  /**
323
339
  * Checks whether the limit is disabled.
324
340
  *
@@ -431,5 +447,13 @@ sap.ui.define([
431
447
  updateHeaderSelectorIcon(this);
432
448
  };
433
449
 
450
+ /**
451
+ * Handler for change events of the binding.
452
+ * @private
453
+ */
454
+ ODataV4Selection.prototype._onBindingChange = function() {
455
+ updateHeaderSelectorIcon(this);
456
+ };
457
+
434
458
  return ODataV4Selection;
435
459
  });
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.125.0
31
+ * @version 1.126.1
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.125.0
26
+ * @version 1.126.1
27
27
  * @constructor
28
28
  * @private
29
29
  * @alias sap.ui.table.plugins.SelectionModelSelection
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class Implements the selection methods for a table.
28
28
  * @extends sap.ui.core.Element
29
29
  * @author SAP SE
30
- * @version 1.125.0
30
+ * @version 1.126.1
31
31
  * @public
32
32
  * @since 1.64
33
33
  * @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.125.0
35
+ * @version 1.126.1
36
36
  * @private
37
37
  * @since 1.76
38
38
  * @ui5-restricted sap.ui.mdc
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @public
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.125.0
41
+ * @version 1.126.1
42
42
  */
43
43
  const AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.Auto", /** @lends sap.ui.table.rowmodes.Auto.prototype */ {
44
44
  metadata: {
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * Whether to hide empty rows.
74
74
  *
75
75
  * @private
76
- * @ui5-restricted sap.ui.mdc.Table
76
+ * @ui5-private sap.ui.mdc.Table
77
77
  */
78
78
  hideEmptyRows: {type: "boolean", defaultValue: false, group: "Appearance", visibility: "hidden"}
79
79
  }
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @public
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.125.0
30
+ * @version 1.126.1
31
31
  */
32
32
  const FixedRowMode = RowMode.extend("sap.ui.table.rowmodes.Fixed", /** @lends sap.ui.table.rowmodes.Fixed.prototype */ {
33
33
  metadata: {
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * Whether to hide empty rows.
59
59
  *
60
60
  * @private
61
- * @ui5-restricted sap.ui.mdc.Table
61
+ * @ui5-private sap.ui.mdc.Table
62
62
  */
63
63
  hideEmptyRows: {type: "boolean", defaultValue: false, group: "Appearance", visibility: "hidden"}
64
64
  }
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @public
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.125.0
42
+ * @version 1.126.1
43
43
  */
44
44
  const InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.Interactive", /** @lends sap.ui.table.rowmodes.Interactive.prototype */ {
45
45
  metadata: {
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @public
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.125.0
40
+ * @version 1.126.1
41
41
  */
42
42
  const RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
43
43
  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.125.0
26
+ * @version 1.126.1
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -0,0 +1,38 @@
1
+ /* ============================================= */
2
+ /* CSS for control sap.ui.table/AnalyticalTable */
3
+ /* Base theme */
4
+ /* ============================================= */
5
+
6
+ // sapUiAnalyticalTableGroupCellHidden and sapUiAnalyticalTableSumCellHidden provides the possibility for applications to hide
7
+ // the cell content of a column on group headers and / or sums by using addStyleClass of the column template
8
+ .sapUiAnalyticalTable .sapUiTableGroupHeaderRow .sapUiTableCellInner > .sapUiAnalyticalTableGroupCellHidden,
9
+ .sapUiAnalyticalTable .sapUiTableSummaryRow .sapUiTableCellInner > .sapUiAnalyticalTableSumCellHidden {
10
+ visibility: hidden; /* hidden cell content*/
11
+ }
12
+
13
+ .sapUiAnalyticalTable .sapUiTableGroupMenuButton {
14
+ display: none;
15
+ }
16
+
17
+ .sapUiAnalyticalTable .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell .sapUiTableGroupMenuButton {
18
+ position: absolute;
19
+ width: 2.5rem;
20
+ text-align: center;
21
+ z-index: 5;
22
+ right: 0;
23
+ top: 50%;
24
+ -webkit-transform: translatey(-50%);
25
+ transform: translatey(-50%);
26
+ background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
27
+ font-family: 'SAP-icons';
28
+ font-size: 1.375rem;
29
+ color: @sapUiContentIconColor;
30
+ display: block;
31
+ }
32
+
33
+ // Shift last cell content to left. On the right edge, the touch group menu button is placed.
34
+ html.sap-tablet:not(.sap-desktop), html.sap-phone {
35
+ .sapUiAnalyticalTable .sapUiTableGroupMode:not(.sapUiTableRAct):not(.sapUiTableRActS) .sapUiTableCtrlScroll .sapUiTableGroupHeaderRow .sapUiTableCellLast {
36
+ padding-right: 3rem; // The group menu button has a width of 2.5rem. Let the padding be slightly bigger.
37
+ }
38
+ }
@@ -0,0 +1,441 @@
1
+ /* ========================== */
2
+ /* CSS for sap.ui.table/Cell */
3
+ /* Base theme */
4
+ /* ========================== */
5
+
6
+ @_sap_ui_table_Cell_FocusOutlineOffset: -@sapUiContentFocusWidth;
7
+ @_sap_ui_table_Cell_FocusOutlineOffsetInZoomedChrome: calc(-@sapUiContentFocusWidth ~"- 0.0625rem");
8
+ @_sap_ui_table_Cell_Padding: 0 0.5rem;
9
+ @_sap_ui_table_Cell_TouchMenuIconSize: 1.375rem;
10
+ @_sap_ui_table_Cell_ColumnIconSize: 0.75rem;
11
+ @_sap_ui_table_Cell_BorderColorSelected: @sapUiListBorderColor;
12
+ @_sap_ui_table_Cell_BorderColorFixedSelected: @sapUiListTableFixedBorder;
13
+ @_sap_ui_table_Cell_ShadowColorFixed: transparent;
14
+ @_sap_ui_table_Cell_BorderBottomFocus: @sapUiListTableFixedBorder;
15
+ @_sap_ui_table_Cell_DummyBorderColor: @sapUiListVerticalBorderColor;
16
+
17
+ /*
18
+ * Focus outline
19
+ */
20
+ .sapUiTableCell:focus {
21
+ outline: none;
22
+
23
+ &::before {
24
+ content: "";
25
+ position: absolute;
26
+ inset: 0;
27
+ pointer-events: none;
28
+ outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
29
+ outline-offset: @_sap_ui_table_Cell_FocusOutlineOffset;
30
+
31
+ .sapUiTableZoomout & {
32
+ outline-offset: @_sap_ui_table_Cell_FocusOutlineOffsetInZoomedChrome;
33
+ }
34
+ }
35
+ }
36
+
37
+ /*
38
+ * Hover
39
+ */
40
+ .sapUiTableHeaderCell:not(.sapUiTableRowActionHeaderCell) {
41
+ &:hover {
42
+ background-color: @sapUiListHoverBackground;
43
+ }
44
+ }
45
+
46
+ /*
47
+ * Borders
48
+ */
49
+ .sapUiTableCell {
50
+ position: relative;
51
+ box-sizing: border-box;
52
+ border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
53
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid @sapUiListBorderColor;
54
+
55
+ .sapUiTableRowIndented > &.sapUiTableRowSelectionCell {
56
+ border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
57
+ }
58
+
59
+ // Adds a border on top that might be required due to indentation of the row above.
60
+ .sapUiTableGroupMode &.sapUiTableRowSelectionCell {
61
+ box-shadow: 0 -@_sap_ui_table_BaseBorderWidth @sapUiListBorderColor;
62
+ }
63
+
64
+ // Last data column border
65
+ &.sapUiTableCellLast {
66
+ // The table and row action column have a border, so the last data column doesn't need one.
67
+ // See: sapUiTableCellDummy, sapUiTableCtrlScr
68
+ border-right-color: transparent;
69
+ }
70
+
71
+ // Row action column border
72
+ &.sapUiTableRowActionHeaderCell,
73
+ &.sapUiTableRowActionCell {
74
+ border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
75
+
76
+ .sapUiTableHScr & {
77
+ border-left-color: @sapUiListTableFixedBorder;
78
+ border-right-color: transparent;
79
+ }
80
+ }
81
+ &.sapUiTableRowActionCell {
82
+ .sapUiTableRowNavIndicator & {
83
+ border-right: none;
84
+ border-left: none;
85
+ background-color: transparent;
86
+ }
87
+ }
88
+
89
+ // Fixed data column border
90
+ &.sapUiTableCellLastFixed {
91
+ border-right-color: @sapUiListTableFixedBorder;
92
+ }
93
+
94
+ // Header rows borders
95
+ &.sapUiTableHeaderCell {
96
+ // Column header rows don't have bottom borders. The header area as a whole has a bottom border.
97
+ // See: sapUiTableColHdrCnt
98
+ border-bottom: none;
99
+ }
100
+
101
+ // Fixed rows borders
102
+ .sapUiTableRowLastFixedTop > &,
103
+ .sapUiTableRowLastScrollable > & {
104
+ border-bottom-color: @sapUiListTableFixedBorder;
105
+
106
+ .sapUiTableRowSel& {
107
+ border-bottom-color: @_sap_ui_table_Cell_BorderColorFixedSelected;
108
+ }
109
+
110
+ &:focus {
111
+ border-bottom-color: @_sap_ui_table_Cell_BorderBottomFocus;
112
+ }
113
+ }
114
+
115
+ .sapUiTableRowFirstScrollable > &,
116
+ .sapUiTableRowFirstFixedBottom > & {
117
+ box-shadow: 0 @_sap_ui_table_BaseBorderWidth @_sap_ui_table_Cell_ShadowColorFixed inset;
118
+ }
119
+
120
+ // Last row border
121
+ .sapUiTableLastRow > & {
122
+ // The table has a border, so the last row doesn't need one.
123
+ border-bottom-color: transparent;
124
+ }
125
+
126
+ > .sapUiTableCellInner {
127
+ box-sizing: border-box;
128
+
129
+ &.sapUiTableFirstColumnCell {
130
+ padding-left: 1rem;
131
+ }
132
+ }
133
+
134
+ .sapUiTableRowSel > & {
135
+ border-bottom-color: @_sap_ui_table_Cell_BorderColorSelected;
136
+ }
137
+
138
+ .sapUiTableSummaryRow > & {
139
+ border-left-color: transparent;
140
+ border-right-color: transparent;
141
+ }
142
+ }
143
+
144
+ .sapUiTableRowSelectionHeaderCell { // Contains highlight and SelectAll selector.
145
+ display: none;
146
+ vertical-align: bottom;
147
+ position: absolute;
148
+ top: 0;
149
+ bottom: 0;
150
+ left: 0;
151
+ width: @_sap_ui_table_RowSelectorWidth;
152
+ min-height: @_sap_ui_table_ColumnHeaderHeight;
153
+
154
+ .sapUiSizeCozy & {
155
+ min-height: @_sap_ui_table_ColumnHeaderHeightCozy;
156
+ }
157
+
158
+ .sapUiTableRowSelectors &,
159
+ .sapUiTableRowHighlights & {
160
+ display: inline-block;
161
+ }
162
+
163
+ // Only selectors visible.
164
+ .sapUiTableRowSelectors:not(.sapUiTableRowHighlights) & {
165
+ width: @_sap_ui_table_RowSelectorWidth;
166
+
167
+ .sapUiSizeCondensed & {
168
+ width: @_sap_ui_table_RowSelectorWidthCondensed;
169
+ }
170
+
171
+ .sapUiSizeCozy & {
172
+ width: @_sap_ui_table_RowSelectorWidthCozy;
173
+ }
174
+ }
175
+
176
+ // Only highlights visible.
177
+ .sapUiTableRowHighlights:not(.sapUiTableRowSelectors) & {
178
+ width: @_sap_ui_table_RowHighlightWidth;
179
+ }
180
+
181
+ // Both selectors and highlights visible.
182
+ .sapUiTableRowHighlights.sapUiTableRowSelectors & {
183
+ width: calc(@_sap_ui_table_RowSelectorWidth ~"+" @_sap_ui_table_RowHighlightWidth);
184
+
185
+ .sapUiSizeCondensed & {
186
+ width: calc(@_sap_ui_table_RowSelectorWidthCondensed ~"+" @_sap_ui_table_RowHighlightWidth);
187
+ }
188
+
189
+ .sapUiSizeCozy & {
190
+ width: calc(@_sap_ui_table_RowSelectorWidthCozy ~"+" @_sap_ui_table_RowHighlightWidth);
191
+ }
192
+ }
193
+
194
+ &.sapUiTableSelAllDisabled > * {
195
+ opacity: 0.3;
196
+ pointer-events: none;
197
+ }
198
+
199
+ &:not(.sapUiTableSelAllDisabled), &:not(.sapUiTableSelAllDisabled) .sapUiIcon {
200
+ cursor: pointer;
201
+ }
202
+ }
203
+
204
+ .sapUiTableHeaderDataCell {
205
+ padding: 7px 0;
206
+
207
+ &.sapUiTableHeaderCellActive {
208
+ cursor: pointer;
209
+ .sapMLabel, .sapMText, .sapUiIcon {
210
+ cursor: pointer;
211
+ }
212
+ }
213
+
214
+ &.sapUiTableHeaderCellActive:active {
215
+ // The active state background color and text color should not be applied if column reordering is in progress.
216
+ .sapUiTable:not(.sapUiTableDragDrop) & {
217
+ background-color: @sapUiListActiveBackground;
218
+ color: @sapUiListActiveTextColor;
219
+ }
220
+
221
+ & > .sapUiTableCellInner {
222
+ span,
223
+ label,
224
+ &.sapUiTableColSorted::after,
225
+ &.sapUiTableColFiltered::after {
226
+ color: @sapUiListActiveTextColor;
227
+ }
228
+ }
229
+ }
230
+
231
+ > .sapUiTableCellInner {
232
+ display: flex;
233
+ flex: 1 1 auto;
234
+ align-items: center;
235
+ text-overflow: ellipsis;
236
+ overflow: hidden;
237
+ white-space: normal;
238
+ padding: @_sap_ui_table_Cell_Padding;
239
+
240
+ &.sapUiTableFirstColumnCell {
241
+ padding-left: 1rem;
242
+ }
243
+
244
+ & > div:first-child {
245
+ display: flex;
246
+ flex: 1 1 auto;
247
+ overflow: hidden;
248
+
249
+ > * {
250
+ overflow: hidden;
251
+ }
252
+ }
253
+
254
+ &::after {
255
+ .sapUiTableColSorted&,
256
+ .sapUiTableColFiltered& {
257
+ content: "";
258
+ font-family: "SAP-Icons";
259
+ font-size: @_sap_ui_table_Cell_ColumnIconSize;
260
+ color: @sapUiContentNonInteractiveIconColor;
261
+ margin-left: 0.5rem;
262
+ flex: none;
263
+ }
264
+
265
+ .sapUiTableColSorted& {
266
+ content: "\e1fd";
267
+ }
268
+
269
+ .sapUiTableColSortedD& {
270
+ content: "\e1fc";
271
+ }
272
+
273
+ .sapUiTableColFiltered& {
274
+ content: "\e076";
275
+ }
276
+
277
+ .sapUiTableColFiltered.sapUiTableColSorted& {
278
+ content: "\e076\00a0\e1fd";
279
+ }
280
+
281
+ .sapUiTableColFiltered.sapUiTableColSortedD& {
282
+ content: "\e076\00a0\e1fc";
283
+ }
284
+ }
285
+ }
286
+
287
+ > .sapUiTableCellTouchMenu {
288
+ display: flex;
289
+ padding: @_sap_ui_table_Cell_Padding;
290
+
291
+ .sapUiTableColResizer {
292
+ margin-left: auto;
293
+ }
294
+
295
+ .sapUiTableColResizer,
296
+ .sapUiTableColDropDown {
297
+ font-family: "SAP-icons";
298
+ font-size: @_sap_ui_table_Cell_TouchMenuIconSize;
299
+ color: @sapUiContentIconColor;
300
+ cursor: default;
301
+
302
+ &:active {
303
+ color: @sapUiContentContrastTextColor;
304
+ }
305
+ }
306
+ }
307
+ }
308
+
309
+ .sapUiTableRowActionHeaderCell {
310
+ position: absolute;
311
+ right: 0;
312
+ top: 0;
313
+ height: 100%;
314
+ display: none;
315
+ z-index: 4; /* Ensure Action Area before Resize/Reorder bars */
316
+ width: @_sap_ui_table_RowActionColumnWidth;
317
+
318
+ .sapUiTableRAct &,
319
+ .sapUiTableRActS & {
320
+ display: block;
321
+ }
322
+
323
+ .sapUiTableRActS & {
324
+ width: @_sap_ui_table_RowActionColumnSmallWidth;
325
+ }
326
+
327
+ .sapUiSizeCozy & {
328
+ width: @_sap_ui_table_RowActionColumnWidthCozy;
329
+ }
330
+
331
+ .sapUiSizeCozy .sapUiTableRActS &,
332
+ .sapUiSizeCozy.sapUiTableRActS & {
333
+ width: @_sap_ui_table_RowActionColumnSmallWidthCozy;
334
+ }
335
+
336
+ .sapUiSizeCondensed & {
337
+ width: @_sap_ui_table_RowActionColumnWidthCondensed;
338
+ }
339
+
340
+ .sapUiSizeCondensed .sapUiTableRActS &,
341
+ .sapUiSizeCondensed.sapUiTableRActS & {
342
+ width: @_sap_ui_table_RowActionColumnSmallWidthCondensed;
343
+ }
344
+
345
+ > span {
346
+ display: none;
347
+ }
348
+ }
349
+
350
+ .sapUiTableDataCell {
351
+ padding: 0;
352
+ vertical-align: middle;
353
+
354
+ > .sapUiTableCellInner {
355
+ text-overflow: ellipsis;
356
+ overflow: hidden;
357
+ padding: @_sap_ui_table_Cell_Padding;
358
+ white-space: nowrap;
359
+ }
360
+ }
361
+
362
+ .sapUiTableRowSelectionCell {
363
+ cursor: pointer;
364
+ }
365
+
366
+ .sapUiTableRowSelectionCell,
367
+ .sapUiTableRowActionCell {
368
+ position: relative;
369
+ }
370
+
371
+ .sapUiTableRowActionCell {
372
+ display: flex;
373
+ align-items: center;
374
+ min-width: @_sap_ui_table_RowActionColumnWidth;
375
+
376
+ .sapUiTableRActS & {
377
+ min-width: @_sap_ui_table_RowActionColumnSmallWidth;
378
+ }
379
+
380
+ .sapUiSizeCozy & {
381
+ min-width: @_sap_ui_table_RowActionColumnWidthCozy;
382
+ }
383
+
384
+ .sapUiSizeCozy .sapUiTableRActS &,
385
+ .sapUiSizeCozy.sapUiTableRActS & {
386
+ min-width: @_sap_ui_table_RowActionColumnSmallWidthCozy;
387
+ }
388
+
389
+ .sapUiSizeCondensed & {
390
+ min-width: @_sap_ui_table_RowActionColumnWidthCondensed;
391
+ }
392
+
393
+ .sapUiSizeCondensed .sapUiTableRActS &,
394
+ .sapUiSizeCondensed.sapUiTableRActS & {
395
+ min-width: @_sap_ui_table_RowActionColumnSmallWidthCondensed;
396
+ }
397
+
398
+ .sapUiTableRowNavIndicator & {
399
+ min-width: @_sap_ui_table_NavIndicatorWidth;
400
+ }
401
+ }
402
+
403
+ .sapUiTableCellDummy {
404
+ border-left: @_sap_ui_table_BaseBorderWidth solid @_sap_ui_table_Cell_DummyBorderColor;
405
+ pointer-events: none;
406
+ .sapUiTableContentRow & {
407
+ background-color: @sapBackgroundColor !important;
408
+ }
409
+ }
410
+
411
+ .sapUiTableCellFlex {
412
+ > .sapUiTableCellInner {
413
+ display: flex;
414
+ align-items: center;
415
+
416
+ > * {
417
+ overflow: hidden;
418
+ }
419
+ }
420
+ }
421
+
422
+ .sapUiTableRowHidden > .sapUiTableCell > *,
423
+ .sapUiTableCellHidden > * {
424
+ display: none;
425
+ }
426
+
427
+ /**
428
+ * If there is no element (selection/highlight/expand/collapse) at the left most of the table
429
+ * then the first cell must have 1rem left padding while regular cells have 0.5rem left padding
430
+ * this additional 0.5rem padding decreases the max content width of the column cells 0.5rem.
431
+ * The selector below is adding additional 0.5rem padding to the first th elements of the table.
432
+ * Since the box-sizing is content-box for table cells this will increase the DOM column width
433
+ * 0.5rem when compared to the width property of the column. Although this might not be desired
434
+ * it is now aligned with the resposive table behavior.
435
+ * Another alternative would be rendering a dummy 0.5rem width column. While this can solve the
436
+ * API and DOM column width difference, changing the table layout might be expensive.
437
+ */
438
+ .sapUiTable:not(.sapUiTableRowSelectors,.sapUiTableRowHighlights) .sapUiTableFirstVisibleColumnTH {
439
+ padding-left: .25rem;
440
+ padding-right: .25rem;
441
+ }