@openui5/sap.ui.table 1.101.0 → 1.103.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 (99) hide show
  1. package/THIRDPARTY.txt +1 -1
  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 +1 -1
  6. package/src/sap/ui/table/AnalyticalTable.js +1 -1
  7. package/src/sap/ui/table/Column.js +1 -1
  8. package/src/sap/ui/table/ColumnMenu.js +1 -1
  9. package/src/sap/ui/table/CreationRow.js +1 -1
  10. package/src/sap/ui/table/Row.js +1 -1
  11. package/src/sap/ui/table/RowAction.js +1 -1
  12. package/src/sap/ui/table/RowActionItem.js +1 -1
  13. package/src/sap/ui/table/RowSettings.js +1 -1
  14. package/src/sap/ui/table/Table.js +47 -61
  15. package/src/sap/ui/table/TablePersoController.js +1 -1
  16. package/src/sap/ui/table/TableRenderer.js +16 -0
  17. package/src/sap/ui/table/TreeTable.js +2 -2
  18. package/src/sap/ui/table/extensions/Accessibility.js +4 -1
  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 +2 -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 +10 -10
  29. package/src/sap/ui/table/messagebundle.properties +3 -0
  30. package/src/sap/ui/table/messagebundle_ar.properties +2 -0
  31. package/src/sap/ui/table/messagebundle_bg.properties +2 -0
  32. package/src/sap/ui/table/messagebundle_ca.properties +2 -0
  33. package/src/sap/ui/table/messagebundle_cs.properties +2 -0
  34. package/src/sap/ui/table/messagebundle_cy.properties +2 -0
  35. package/src/sap/ui/table/messagebundle_da.properties +2 -0
  36. package/src/sap/ui/table/messagebundle_de.properties +2 -0
  37. package/src/sap/ui/table/messagebundle_el.properties +2 -0
  38. package/src/sap/ui/table/messagebundle_en.properties +2 -0
  39. package/src/sap/ui/table/messagebundle_en_GB.properties +2 -0
  40. package/src/sap/ui/table/messagebundle_en_US_sappsd.properties +2 -0
  41. package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +2 -0
  42. package/src/sap/ui/table/messagebundle_en_US_saptrc.properties +2 -0
  43. package/src/sap/ui/table/messagebundle_es.properties +10 -8
  44. package/src/sap/ui/table/messagebundle_es_MX.properties +2 -0
  45. package/src/sap/ui/table/messagebundle_et.properties +2 -0
  46. package/src/sap/ui/table/messagebundle_fi.properties +2 -0
  47. package/src/sap/ui/table/messagebundle_fr.properties +3 -1
  48. package/src/sap/ui/table/messagebundle_fr_CA.properties +2 -0
  49. package/src/sap/ui/table/messagebundle_hi.properties +2 -0
  50. package/src/sap/ui/table/messagebundle_hr.properties +3 -1
  51. package/src/sap/ui/table/messagebundle_hu.properties +2 -0
  52. package/src/sap/ui/table/messagebundle_id.properties +2 -0
  53. package/src/sap/ui/table/messagebundle_it.properties +2 -0
  54. package/src/sap/ui/table/messagebundle_iw.properties +2 -0
  55. package/src/sap/ui/table/messagebundle_ja.properties +2 -0
  56. package/src/sap/ui/table/messagebundle_kk.properties +2 -0
  57. package/src/sap/ui/table/messagebundle_ko.properties +2 -0
  58. package/src/sap/ui/table/messagebundle_lt.properties +2 -0
  59. package/src/sap/ui/table/messagebundle_lv.properties +2 -0
  60. package/src/sap/ui/table/messagebundle_ms.properties +2 -0
  61. package/src/sap/ui/table/messagebundle_nl.properties +2 -0
  62. package/src/sap/ui/table/messagebundle_no.properties +4 -2
  63. package/src/sap/ui/table/messagebundle_pl.properties +2 -0
  64. package/src/sap/ui/table/messagebundle_pt.properties +2 -0
  65. package/src/sap/ui/table/messagebundle_pt_PT.properties +2 -0
  66. package/src/sap/ui/table/messagebundle_ro.properties +2 -0
  67. package/src/sap/ui/table/messagebundle_ru.properties +2 -0
  68. package/src/sap/ui/table/messagebundle_sh.properties +2 -0
  69. package/src/sap/ui/table/messagebundle_sk.properties +2 -0
  70. package/src/sap/ui/table/messagebundle_sl.properties +2 -0
  71. package/src/sap/ui/table/messagebundle_sv.properties +2 -0
  72. package/src/sap/ui/table/messagebundle_th.properties +2 -0
  73. package/src/sap/ui/table/messagebundle_tr.properties +2 -0
  74. package/src/sap/ui/table/messagebundle_uk.properties +2 -0
  75. package/src/sap/ui/table/messagebundle_vi.properties +2 -0
  76. package/src/sap/ui/table/messagebundle_zh_CN.properties +2 -0
  77. package/src/sap/ui/table/messagebundle_zh_TW.properties +2 -0
  78. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  79. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  80. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  81. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  82. package/src/sap/ui/table/plugins/V4Aggregation.js +2 -2
  83. package/src/sap/ui/table/rowmodes/AutoRowMode.js +2 -60
  84. package/src/sap/ui/table/rowmodes/FixedRowMode.js +2 -67
  85. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -7
  86. package/src/sap/ui/table/rowmodes/RowMode.js +5 -3
  87. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  88. package/src/sap/ui/table/rules/Rows.support.js +3 -3
  89. package/src/sap/ui/table/themes/base/Cell.less +10 -1
  90. package/src/sap/ui/table/themes/base/Grouping.less +9 -0
  91. package/src/sap/ui/table/themes/base/RowSelection.less +1 -1
  92. package/src/sap/ui/table/themes/base/Scrolling.less +18 -18
  93. package/src/sap/ui/table/themes/base/Table.less +1 -2
  94. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  95. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  96. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  97. package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
  98. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  99. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @ui5-restricted sap.ui.mdc
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.101.0
38
+ * @version 1.103.0
39
39
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
40
40
  */
41
41
  var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
@@ -120,51 +120,33 @@ sap.ui.define([
120
120
  _private(this).adjustRowCountToAvailableSpaceAsync = TableUtils.throttleFrameWise(this.adjustRowCountToAvailableSpace.bind(this));
121
121
  };
122
122
 
123
- /**
124
- * @inheritDoc
125
- */
126
123
  AutoRowMode.prototype.attachEvents = function() {
127
124
  RowMode.prototype.attachEvents.apply(this, arguments);
128
125
  TableUtils.addDelegate(this.getTable(), TableDelegate, this);
129
126
  };
130
127
 
131
- /**
132
- * @inheritDoc
133
- */
134
128
  AutoRowMode.prototype.detachEvents = function() {
135
129
  RowMode.prototype.detachEvents.apply(this, arguments);
136
130
  TableUtils.removeDelegate(this.getTable(), TableDelegate);
137
131
  };
138
132
 
139
- /**
140
- * @inheritDoc
141
- */
142
133
  AutoRowMode.prototype.cancelAsyncOperations = function() {
143
134
  RowMode.prototype.cancelAsyncOperations.apply(this, arguments);
144
135
  this.stopAutoRowMode();
145
136
  };
146
137
 
147
- /**
148
- * @inheritDoc
149
- */
150
138
  AutoRowMode.prototype.registerHooks = function() {
151
139
  RowMode.prototype.registerHooks.apply(this, arguments);
152
140
  TableUtils.Hook.register(this.getTable(), TableUtils.Hook.Keys.Table.RefreshRows, this._onTableRefreshRows, this);
153
141
  TableUtils.Hook.register(this.getTable(), TableUtils.Hook.Keys.Table.UpdateSizes, this._onUpdateTableSizes, this);
154
142
  };
155
143
 
156
- /**
157
- * @inheritDoc
158
- */
159
144
  AutoRowMode.prototype.deregisterHooks = function() {
160
145
  RowMode.prototype.deregisterHooks.apply(this, arguments);
161
146
  TableUtils.Hook.deregister(this.getTable(), TableUtils.Hook.Keys.Table.RefreshRows, this._onTableRefreshRows, this);
162
147
  TableUtils.Hook.deregister(this.getTable(), TableUtils.Hook.Keys.Table.UpdateSizes, this._onUpdateTableSizes, this);
163
148
  };
164
149
 
165
- /*
166
- * @see JSDoc generated by SAPUI5 control API generator
167
- */
168
150
  AutoRowMode.prototype.getFixedTopRowCount = function() {
169
151
  if (this.bLegacy) {
170
152
  var oTable = this.getTable();
@@ -174,9 +156,6 @@ sap.ui.define([
174
156
  return this.getProperty("fixedTopRowCount");
175
157
  };
176
158
 
177
- /*
178
- * @see JSDoc generated by SAPUI5 control API generator
179
- */
180
159
  AutoRowMode.prototype.getFixedBottomRowCount = function() {
181
160
  if (this.bLegacy) {
182
161
  var oTable = this.getTable();
@@ -186,9 +165,6 @@ sap.ui.define([
186
165
  return this.getProperty("fixedBottomRowCount");
187
166
  };
188
167
 
189
- /*
190
- * @see JSDoc generated by SAPUI5 control API generator
191
- */
192
168
  AutoRowMode.prototype.getMinRowCount = function() {
193
169
  if (this.bLegacy) {
194
170
  var oTable = this.getTable();
@@ -198,9 +174,6 @@ sap.ui.define([
198
174
  return this.getProperty("minRowCount");
199
175
  };
200
176
 
201
- /*
202
- * @see JSDoc generated by SAPUI5 control API generator
203
- */
204
177
  AutoRowMode.prototype.getRowContentHeight = function() {
205
178
  if (this.bLegacy) {
206
179
  var oTable = this.getTable();
@@ -210,9 +183,6 @@ sap.ui.define([
210
183
  return this.getProperty("rowContentHeight");
211
184
  };
212
185
 
213
- /*
214
- * @see JSDoc generated by SAPUI5 control API generator
215
- */
216
186
  AutoRowMode.prototype.setHideEmptyRows = function(bHideEmptyRows) {
217
187
  this.setProperty("hideEmptyRows", bHideEmptyRows);
218
188
 
@@ -242,9 +212,6 @@ sap.ui.define([
242
212
  }
243
213
  };
244
214
 
245
- /**
246
- * @inheritDoc
247
- */
248
215
  AutoRowMode.prototype.getMinRequestLength = function() {
249
216
  var oTable = this.getTable();
250
217
  var iRequestLength = this.getConfiguredRowCount();
@@ -260,24 +227,18 @@ sap.ui.define([
260
227
  return iRequestLength;
261
228
  };
262
229
 
263
- /**
264
- * @inheritDoc
265
- */
266
230
  AutoRowMode.prototype.updateTableRows = function() {
267
231
  if (this.getHideEmptyRows() && this.getComputedRowCounts().count === 0) {
268
232
  var iConfiguredRowCount = this.getConfiguredRowCount();
269
233
 
270
234
  if (iConfiguredRowCount > 0) {
271
- return this.getRowContexts(iConfiguredRowCount, true).length > 0;
235
+ return this.getRowContexts(iConfiguredRowCount).length > 0;
272
236
  }
273
237
  } else {
274
238
  return RowMode.prototype.updateTableRows.call(this);
275
239
  }
276
240
  };
277
241
 
278
- /**
279
- * @inheritDoc
280
- */
281
242
  AutoRowMode.prototype.getComputedRowCounts = function() {
282
243
  if (isRowCountInitial(this)) {
283
244
  // The actual row count is only known after rendering, when the row count was first determined and set.
@@ -300,9 +261,6 @@ sap.ui.define([
300
261
  return this.computeStandardizedRowCounts(iRowCount, iFixedTopRowCount, iFixedBottomRowCount);
301
262
  };
302
263
 
303
- /**
304
- * @inheritDoc
305
- */
306
264
  AutoRowMode.prototype.getTableStyles = function() {
307
265
  var sHeight = "0px"; // The table's DOM parent needs to be able to shrink.
308
266
 
@@ -321,9 +279,6 @@ sap.ui.define([
321
279
  };
322
280
  };
323
281
 
324
- /**
325
- * @inheritDoc
326
- */
327
282
  AutoRowMode.prototype.getTableBottomPlaceholderStyles = function() {
328
283
  if (!this.getHideEmptyRows()) {
329
284
  return undefined;
@@ -342,18 +297,12 @@ sap.ui.define([
342
297
  };
343
298
  };
344
299
 
345
- /**
346
- * @inheritDoc
347
- */
348
300
  AutoRowMode.prototype.getRowContainerStyles = function() {
349
301
  return {
350
302
  height: this.getComputedRowCounts().count * Math.max(this.getBaseRowHeightOfTable(), getRowHeight(this)) + "px"
351
303
  };
352
304
  };
353
305
 
354
- /**
355
- * @inheritDoc
356
- */
357
306
  AutoRowMode.prototype.renderRowStyles = function(oRM) {
358
307
  var iRowContentHeight = this.getRowContentHeight();
359
308
 
@@ -362,9 +311,6 @@ sap.ui.define([
362
311
  }
363
312
  };
364
313
 
365
- /**
366
- * @inheritDoc
367
- */
368
314
  AutoRowMode.prototype.renderCellContentStyles = function(oRM) {
369
315
  var iRowContentHeight = this.getRowContentHeight();
370
316
 
@@ -377,9 +323,6 @@ sap.ui.define([
377
323
  }
378
324
  };
379
325
 
380
- /**
381
- * @inheritDoc
382
- */
383
326
  AutoRowMode.prototype.getBaseRowContentHeight = function() {
384
327
  return Math.max(0, this.getRowContentHeight());
385
328
  };
@@ -632,7 +575,6 @@ sap.ui.define([
632
575
 
633
576
  if (!bRenderedRows) {
634
577
  this.stopAutoRowMode();
635
- this.updateTable(TableUtils.RowsUpdateReason.Render);
636
578
  }
637
579
  };
638
580
 
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @ui5-restricted sap.ui.mdc
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.101.0
32
+ * @version 1.103.0
33
33
  *
34
34
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
35
35
  */
@@ -55,41 +55,26 @@ sap.ui.define([
55
55
 
56
56
  var TableDelegate = {};
57
57
 
58
- /**
59
- * @inheritDoc
60
- */
61
58
  FixedRowMode.prototype.attachEvents = function() {
62
59
  RowMode.prototype.attachEvents.apply(this, arguments);
63
60
  TableUtils.addDelegate(this.getTable(), TableDelegate, this);
64
61
  };
65
62
 
66
- /**
67
- * @inheritDoc
68
- */
69
63
  FixedRowMode.prototype.detachEvents = function() {
70
64
  RowMode.prototype.detachEvents.apply(this, arguments);
71
65
  TableUtils.removeDelegate(this.getTable(), TableDelegate);
72
66
  };
73
67
 
74
- /**
75
- * @inheritDoc
76
- */
77
68
  FixedRowMode.prototype.registerHooks = function() {
78
69
  RowMode.prototype.registerHooks.apply(this, arguments);
79
70
  TableUtils.Hook.register(this.getTable(), TableUtils.Hook.Keys.Table.RefreshRows, this._onTableRefreshRows, this);
80
71
  };
81
72
 
82
- /**
83
- * @inheritDoc
84
- */
85
73
  FixedRowMode.prototype.deregisterHooks = function() {
86
74
  RowMode.prototype.deregisterHooks.apply(this, arguments);
87
75
  TableUtils.Hook.deregister(this.getTable(), TableUtils.Hook.Keys.Table.RefreshRows, this._onTableRefreshRows, this);
88
76
  };
89
77
 
90
- /*
91
- * @see JSDoc generated by SAPUI5 control API generator
92
- */
93
78
  FixedRowMode.prototype.getRowCount = function() {
94
79
  if (this.bLegacy) {
95
80
  var oTable = this.getTable();
@@ -99,9 +84,6 @@ sap.ui.define([
99
84
  return this.getProperty("rowCount");
100
85
  };
101
86
 
102
- /*
103
- * @see JSDoc generated by SAPUI5 control API generator
104
- */
105
87
  FixedRowMode.prototype.getFixedTopRowCount = function() {
106
88
  if (this.bLegacy) {
107
89
  var oTable = this.getTable();
@@ -111,9 +93,6 @@ sap.ui.define([
111
93
  return this.getProperty("fixedTopRowCount");
112
94
  };
113
95
 
114
- /*
115
- * @see JSDoc generated by SAPUI5 control API generator
116
- */
117
96
  FixedRowMode.prototype.getFixedBottomRowCount = function() {
118
97
  if (this.bLegacy) {
119
98
  var oTable = this.getTable();
@@ -123,9 +102,6 @@ sap.ui.define([
123
102
  return this.getProperty("fixedBottomRowCount");
124
103
  };
125
104
 
126
- /*
127
- * @see JSDoc generated by SAPUI5 control API generator
128
- */
129
105
  FixedRowMode.prototype.getRowContentHeight = function() {
130
106
  if (this.bLegacy) {
131
107
  var oTable = this.getTable();
@@ -135,9 +111,6 @@ sap.ui.define([
135
111
  return this.getProperty("rowContentHeight");
136
112
  };
137
113
 
138
- /*
139
- * @see JSDoc generated by SAPUI5 control API generator
140
- */
141
114
  FixedRowMode.prototype.setHideEmptyRows = function(bHideEmptyRows) {
142
115
  this.setProperty("hideEmptyRows", bHideEmptyRows);
143
116
 
@@ -150,31 +123,22 @@ sap.ui.define([
150
123
  return this;
151
124
  };
152
125
 
153
- /**
154
- * @inheritDoc
155
- */
156
126
  FixedRowMode.prototype.getMinRequestLength = function() {
157
127
  return Math.max(0, this.getRowCount());
158
128
  };
159
129
 
160
- /**
161
- * @inheritDoc
162
- */
163
130
  FixedRowMode.prototype.updateTableRows = function() {
164
131
  if (this.getHideEmptyRows() && this.getComputedRowCounts().count === 0) {
165
132
  var iRowCount = this.getRowCount();
166
133
 
167
134
  if (iRowCount > 0) {
168
- return this.getRowContexts(iRowCount, true).length > 0;
135
+ return this.getRowContexts(iRowCount).length > 0;
169
136
  }
170
137
  } else {
171
138
  return RowMode.prototype.updateTableRows.call(this);
172
139
  }
173
140
  };
174
141
 
175
- /**
176
- * @inheritDoc
177
- */
178
142
  FixedRowMode.prototype.getComputedRowCounts = function() {
179
143
  var iRowCount = this.getRowCount();
180
144
  var iFixedTopRowCount = this.getFixedTopRowCount();
@@ -187,18 +151,12 @@ sap.ui.define([
187
151
  return this.computeStandardizedRowCounts(iRowCount, iFixedTopRowCount, iFixedBottomRowCount);
188
152
  };
189
153
 
190
- /**
191
- * @inheritDoc
192
- */
193
154
  FixedRowMode.prototype.getTableStyles = function() {
194
155
  return {
195
156
  height: "auto"
196
157
  };
197
158
  };
198
159
 
199
- /**
200
- * @inheritDoc
201
- */
202
160
  FixedRowMode.prototype.getTableBottomPlaceholderStyles = function() {
203
161
  if (!this.getHideEmptyRows()) {
204
162
  return undefined;
@@ -211,9 +169,6 @@ sap.ui.define([
211
169
  };
212
170
  };
213
171
 
214
- /**
215
- * @inheritDoc
216
- */
217
172
  FixedRowMode.prototype.getRowContainerStyles = function() {
218
173
  var sHeight = this.getComputedRowCounts().count * this.getBaseRowHeightOfTable() + "px";
219
174
 
@@ -224,9 +179,6 @@ sap.ui.define([
224
179
  }
225
180
  };
226
181
 
227
- /**
228
- * @inheritDoc
229
- */
230
182
  FixedRowMode.prototype.renderRowStyles = function(oRM) {
231
183
  var iRowContentHeight = this.getRowContentHeight();
232
184
 
@@ -235,9 +187,6 @@ sap.ui.define([
235
187
  }
236
188
  };
237
189
 
238
- /**
239
- * @inheritDoc
240
- */
241
190
  FixedRowMode.prototype.renderCellContentStyles = function(oRM) {
242
191
  var iRowContentHeight = this.getRowContentHeight();
243
192
 
@@ -254,9 +203,6 @@ sap.ui.define([
254
203
  }
255
204
  };
256
205
 
257
- /**
258
- * @inheritDoc
259
- */
260
206
  FixedRowMode.prototype.getBaseRowContentHeight = function() {
261
207
  return Math.max(0, this.getRowContentHeight());
262
208
  };
@@ -280,17 +226,6 @@ sap.ui.define([
280
226
  }
281
227
  };
282
228
 
283
- /**
284
- * @this sap.ui.table.rowmodes.FixedRowMode
285
- */
286
- TableDelegate.onBeforeRendering = function(oEvent) {
287
- var bRenderedRows = oEvent && oEvent.isMarked("renderRows");
288
-
289
- if (!bRenderedRows) {
290
- this.updateTable(TableUtils.RowsUpdateReason.Render);
291
- }
292
- };
293
-
294
229
  /**
295
230
  * @this sap.ui.table.rowmodes.FixedRowMode
296
231
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @ui5-restricted sap.ui.mdc
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.101.0
36
+ * @version 1.103.0
37
37
  *
38
38
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
39
39
  */
@@ -269,15 +269,9 @@ sap.ui.define([
269
269
  * @this sap.ui.table.rowmodes.InteractiveRowMode
270
270
  */
271
271
  TableDelegate.onBeforeRendering = function(oEvent) {
272
- var bRenderedRows = oEvent && oEvent.isMarked("renderRows");
273
-
274
272
  if (this.bLegacy) {
275
273
  this.getTable().setVisibleRowCount(this.getComputedRowCounts().count);
276
274
  }
277
-
278
- if (!bRenderedRows) {
279
- this.updateTable(TableUtils.RowsUpdateReason.Render);
280
- }
281
275
  };
282
276
 
283
277
  /**
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @ui5-restricted sap.ui.mdc
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.101.0
37
+ * @version 1.103.0
38
38
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
39
39
  */
40
40
  var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
@@ -248,10 +248,11 @@ sap.ui.define([
248
248
  _private(this).updateTableAsync.cancel(); // Update will be performed right now.
249
249
 
250
250
  // Update the rows aggregation and the row's binding contexts.
251
+ oTable._adjustFirstVisibleRowToTotalRowCount(); // TODO: Move this to Table#onBeforeRendering as soon as #renderTableRows is removed
251
252
  var bRowsAggregationChanged = this.updateTableRows();
252
253
 
253
254
  if (oTable._bInvalid) {
254
- // No need to update the DOM or fire the _rowsUpdated event if the table is about to rerender, or is currently rendering.
255
+ // No need to update the DOM or fire the _rowsUpdated event if the table is about to rerender.
255
256
  return;
256
257
  }
257
258
 
@@ -621,8 +622,8 @@ sap.ui.define([
621
622
  }
622
623
 
623
624
  bRowsAggregationChanged = true;
624
-
625
625
  oTable._bRowAggregationInvalid = false;
626
+
626
627
  return bRowsAggregationChanged;
627
628
  };
628
629
 
@@ -801,6 +802,7 @@ sap.ui.define([
801
802
 
802
803
  if (!bRenderedRows) {
803
804
  this._bFiredRowsUpdatedAfterRendering = false;
805
+ this.updateTable(TableUtils.RowsUpdateReason.Render);
804
806
  }
805
807
  };
806
808
 
@@ -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.101.0
26
+ * @version 1.103.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  resolution: "Ensure that either only the 'Cozy' or 'Compact' content density is used, or the 'Condensed' and 'Compact' content densities"
40
40
  + " are used in combination.",
41
41
  resolutionurls: [
42
- SupportHelper.createDocuRef("Documentation: Content Densities", "#docs/guide/e54f729da8e3405fae5e4fe8ae7784c1.html")
42
+ SupportHelper.createDocuRef("Documentation: Content Densities", "topic/e54f729da8e3405fae5e4fe8ae7784c1")
43
43
  ],
44
44
  check: function(oIssueManager, oCoreFacade, oScope) {
45
45
  var $Document = jQuery("html");
@@ -140,7 +140,7 @@ sap.ui.define([
140
140
  * Checks the configuration of the sap.f.DynamicPage. If the DynamicPage contains a table with <code>visibleRowCountMode=Auto</code>, the
141
141
  * <code>fitContent</code> property of the DynamicPage should be set to true, otherwise false.
142
142
  */
143
- var oDynamicPageConfoguration = SupportHelper.normalizeRule({
143
+ var oDynamicPageConfiguration = SupportHelper.normalizeRule({
144
144
  id: "DynamicPageConfiguration",
145
145
  minversion: "1.38",
146
146
  categories: [Categories.Usage],
@@ -183,6 +183,6 @@ sap.ui.define([
183
183
  }
184
184
  });
185
185
 
186
- return [oContentDensity, oRowHeights, oDynamicPageConfoguration];
186
+ return [oContentDensity, oRowHeights, oDynamicPageConfiguration];
187
187
 
188
188
  }, true);
@@ -12,6 +12,7 @@
12
12
  @_sap_ui_table_Cell_BorderColorFixedSelected: @sapUiListTableFixedBorder;
13
13
  @_sap_ui_table_Cell_ShadowColorFixed: transparent;
14
14
  @_sap_ui_table_Cell_BorderBottomFocus: @sapUiListTableFixedBorder;
15
+ @_sap_ui_table_Cell_DummyBorderColor: @sapUiListVerticalBorderColor;
15
16
 
16
17
  /*
17
18
  * Focus outline
@@ -124,6 +125,10 @@
124
125
 
125
126
  > .sapUiTableCellInner {
126
127
  box-sizing: border-box;
128
+
129
+ &.sapUiTableFirstColumnCell {
130
+ padding-left: 1rem;
131
+ }
127
132
  }
128
133
 
129
134
  .sapUiTableRowSel > & {
@@ -222,6 +227,10 @@
222
227
  white-space: normal;
223
228
  padding: @_sap_ui_table_Cell_Padding;
224
229
 
230
+ &.sapUiTableFirstColumnCell {
231
+ padding-left: 1rem;
232
+ }
233
+
225
234
  & > div:first-child {
226
235
  display: flex;
227
236
  flex: 1 1 auto;
@@ -378,7 +387,7 @@
378
387
  }
379
388
 
380
389
  .sapUiTableCellDummy {
381
- border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
390
+ border-left: @_sap_ui_table_BaseBorderWidth solid @_sap_ui_table_Cell_DummyBorderColor;
382
391
  pointer-events: none;
383
392
  .sapUiTableContentRow & {
384
393
  background-color: @sapBackgroundColor !important;
@@ -204,6 +204,15 @@ html[dir=rtl] {
204
204
  outline: 0;
205
205
  }
206
206
 
207
+ .sapUiTableGroupHeaderRow > .sapUiTableContentCell {
208
+ box-sizing: border-box;
209
+ border-bottom: 1px solid @sapList_TableGroupHeaderBorderColor;
210
+ }
211
+
212
+ .sapUiTableGroupHeaderRow:first-child > .sapUiTableContentCell {
213
+ border-top: 0;
214
+ }
215
+
207
216
  .sapUiTableGroupMode .sapUiTableTr.sapUiTableGroupHeaderRow > .sapUiTableCellDummy {
208
217
  background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
209
218
  }
@@ -123,7 +123,7 @@
123
123
  height: 100%;
124
124
 
125
125
  &::before {
126
- display: block;
126
+ display: block !important; /* otherwise will be overwritten by icon css rules in RTL */
127
127
  position: absolute;
128
128
  width: 100%;
129
129
  vertical-align: baseline;
@@ -241,11 +241,11 @@
241
241
  .sapUiTableHSb,
242
242
  .sapUiTableHSbExternal {
243
243
  &::-webkit-scrollbar-thumb {
244
- background-color: @sapUiScrollBarFaceColor !important;
244
+ background-color: @sapUiScrollBarFaceColor;
245
245
  }
246
246
 
247
247
  &::-webkit-scrollbar {
248
- background-color: @sapUiScrollBarTrackColor !important;
248
+ background-color: @sapUiScrollBarTrackColor;
249
249
  }
250
250
 
251
251
  ._sap_ui_table_Scrolling_NativeScrollbarCommon();
@@ -260,24 +260,24 @@ html.sap-desktop {
260
260
 
261
261
  .sapUiTableVSb {
262
262
  &::-webkit-scrollbar:vertical {
263
- width: @_sap_ui_table_Scrolling_ScrollbarSize !important;
263
+ width: @_sap_ui_table_Scrolling_ScrollbarSize;
264
264
  }
265
265
 
266
266
  &::-webkit-scrollbar-thumb:vertical {
267
- border-left: 0.125rem solid @sapUiScrollBarTrackColor !important;
268
- border-right: 0.125rem solid @sapUiScrollBarTrackColor !important;
267
+ border-left: 0.125rem solid @sapUiScrollBarTrackColor;
268
+ border-right: 0.125rem solid @sapUiScrollBarTrackColor;
269
269
  }
270
270
  }
271
271
 
272
272
  .sapUiTableHSb,
273
273
  .sapUiTableHSbExternal {
274
274
  &::-webkit-scrollbar:horizontal {
275
- height: @_sap_ui_table_Scrolling_ScrollbarSize !important;
275
+ height: @_sap_ui_table_Scrolling_ScrollbarSize;
276
276
  }
277
277
 
278
278
  &::-webkit-scrollbar-thumb:horizontal {
279
- border-top: 0.125rem solid @sapUiScrollBarTrackColor !important;
280
- border-bottom: 0.125rem solid @sapUiScrollBarTrackColor !important;
279
+ border-top: 0.125rem solid @sapUiScrollBarTrackColor;
280
+ border-bottom: 0.125rem solid @sapUiScrollBarTrackColor;
281
281
  }
282
282
  }
283
283
  }
@@ -293,28 +293,28 @@ html.sap-phone {
293
293
 
294
294
  .sapUiTableVSb {
295
295
  &::-webkit-scrollbar:vertical {
296
- width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile !important;
296
+ width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
297
297
  }
298
298
 
299
299
  &::-webkit-scrollbar-thumb:vertical {
300
- width: 0.25rem !important;
301
- min-height: 0.25rem !important;
302
- border-left: 0.125rem solid @sapUiScrollBarBorderColor !important;
303
- border-right: 0.125rem solid @sapUiScrollBarBorderColor !important;
300
+ width: 0.25rem;
301
+ min-height: 0.25rem;
302
+ border-left: 0.125rem solid @sapUiScrollBarBorderColor;
303
+ border-right: 0.125rem solid @sapUiScrollBarBorderColor;
304
304
  }
305
305
  }
306
306
 
307
307
  .sapUiTableHSb,
308
308
  .sapUiTableHSbExternal {
309
309
  &::-webkit-scrollbar:horizontal {
310
- height: @_sap_ui_table_Scrolling_ScrollbarSizeMobile !important;
310
+ height: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
311
311
  }
312
312
 
313
313
  &::-webkit-scrollbar-thumb:horizontal {
314
- height: 0.25rem !important;
315
- min-width: 0.25rem !important;
316
- border-top: 0.125rem solid @sapUiScrollBarBorderColor !important;
317
- border-bottom: 0.125rem solid @sapUiScrollBarBorderColor !important;
314
+ height: 0.25rem;
315
+ min-width: 0.25rem;
316
+ border-top: 0.125rem solid @sapUiScrollBarBorderColor;
317
+ border-bottom: 0.125rem solid @sapUiScrollBarBorderColor;
318
318
  }
319
319
  }
320
320
 
@@ -10,7 +10,6 @@
10
10
  @_sap_ui_table_Table_FooterPaddingLeft: 1rem;
11
11
  @_sap_ui_table_Table_FooterPaddingRight: 1rem;
12
12
  @_sap_ui_table_Table_TableHeaderBorderWidth: @_sap_ui_table_BaseBorderWidth;
13
- @_sap_ui_table_Table_TableHeaderBorderColor: @sapUiListVerticalBorderColor;
14
13
 
15
14
  // Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters.
16
15
  ._sap_ui_table_Table_TitleContainer() {}
@@ -251,7 +250,7 @@
251
250
  overflow: hidden;
252
251
  white-space: nowrap;
253
252
  min-height: @_sap_ui_table_ColumnHeaderHeight;
254
- border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid @_sap_ui_table_Table_TableHeaderBorderColor;
253
+ border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid @sapList_HeaderBorderColor;
255
254
  color: @sapUiListTextColor;
256
255
  }
257
256
 
@@ -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.101.0
206
+ * @version 1.103.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.101.0
17
+ * @version 1.103.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.101.0
21
+ * @version 1.103.0
22
22
  * @namespace
23
23
  * @alias sap.ui.table.utils._ColumnUtils
24
24
  * @private