@openui5/sap.ui.table 1.95.0 → 1.96.3

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 (49) hide show
  1. package/.reuse/dep5 +10 -5
  2. package/THIRDPARTY.txt +17 -8
  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 -1
  8. package/src/sap/ui/table/Column.js +1 -1
  9. package/src/sap/ui/table/ColumnMenu.js +3 -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 +1 -1
  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 +1 -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 +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 +1 -1
  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/plugins/BindingSelection.js +1 -1
  30. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  31. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  32. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  33. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  34. package/src/sap/ui/table/rowmodes/AutoRowMode.js +16 -1
  35. package/src/sap/ui/table/rowmodes/FixedRowMode.js +16 -1
  36. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +6 -2
  37. package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
  38. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  39. package/src/sap/ui/table/themes/base/Cell.less +4 -13
  40. package/src/sap/ui/table/themes/base/Grouping.less +18 -3
  41. package/src/sap/ui/table/themes/base/Table.less +2 -2
  42. package/src/sap/ui/table/themes/base/library.source.less +2 -1
  43. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  44. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  45. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  46. package/src/sap/ui/table/utils/_GroupingUtils.js +3 -1
  47. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  48. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
  49. package/ui5.yaml +4 -1
package/.reuse/dep5 CHANGED
@@ -400,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
400
400
  License: MIT
401
401
  Comment: these files belong to: Markdown-it
402
402
 
403
+ Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
404
+ Copyright: 2015-2017 Evgeny Poberezkin
405
+ License: MIT
406
+ Comment: these files belong to: ajv
407
+
403
408
 
404
409
  # Library: sap.ui.mdc:
405
410
 
@@ -447,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
447
452
  License: Apache-2.0
448
453
  Comment: these files belong to: LESS
449
454
 
450
- Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
451
- Copyright: 2015-2017 Evgeny Poberezkin
452
- License: MIT
453
- Comment: these files belong to: ajv
454
-
455
455
  Files: lib/jsdoc/ui5/plugin.js
456
456
  Copyright:
457
457
  2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
@@ -459,3 +459,8 @@ Copyright:
459
459
  License: Apache-2.0
460
460
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
461
461
 
462
+ Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
463
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
464
+ License: Apache-2.0
465
+ Comment: these files belong to: SAP Theming Base Content
466
+
package/THIRDPARTY.txt CHANGED
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
6
6
 
7
7
  Library: sap.ui.codeeditor:
8
8
 
9
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.12
9
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
10
10
  Copyright: 2010, Ajax.org B.V.
11
11
  License: BSD-3-Clause
12
12
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -197,7 +197,7 @@ License: BSD-3-Clause
197
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
199
 
200
- Component: URI.js, version: 1.19.6
200
+ Component: URI.js, version: 1.19.7
201
201
  Copyright: Rodney Rehm
202
202
  License: MIT
203
203
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -389,6 +389,12 @@ License: MIT
389
389
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
390
390
  Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
391
391
 
392
+ Component: ajv, version: 6.12.3
393
+ Copyright: 2015-2017 Evgeny Poberezkin
394
+ License: MIT
395
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
396
+ Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
397
+
392
398
 
393
399
  Library: sap.ui.mdc:
394
400
 
@@ -444,18 +450,21 @@ License: Apache-2.0
444
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
445
451
  Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
446
452
 
447
- Component: ajv, version: 6.12.3
448
- Copyright: 2015-2017 Evgeny Poberezkin
449
- License: MIT
450
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
451
- Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
452
-
453
453
  Component: JSDoc 3, version: 3.6.7
454
454
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
455
455
  License: Apache-2.0
456
456
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
457
457
  Contained in: lib/jsdoc/ui5/plugin.js
458
458
 
459
+ Component: SAP Theming Base Content, version: 11.1.34
460
+ Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
461
+ License: Apache-2.0
462
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
463
+ Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
464
+ src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
465
+ src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
466
+ src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
467
+
459
468
 
460
469
  ALL LICENSE TEXTS:
461
470
  ==================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.table",
3
- "version": "1.95.0",
3
+ "version": "1.96.3",
4
4
  "description": "OpenUI5 UI Library sap.ui.table",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.95.0",
18
- "@openui5/sap.ui.unified": "1.95.0"
17
+ "@openui5/sap.ui.core": "1.96.3",
18
+ "@openui5/sap.ui.unified": "1.96.3"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.95.0</version>
9
+ <version>1.96.3</version>
10
10
 
11
11
  <documentation>Table-like controls, mainly for desktop scenarios.</documentation>
12
12
 
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.table.Column
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.95.0
49
+ * @version 1.96.3
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './library', "sap/
23
23
  * @extends sap.ui.table.ColumnMenu
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.95.0
26
+ * @version 1.96.3
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @see http://scn.sap.com/docs/DOC-44986
61
61
  *
62
62
  * @extends sap.ui.table.Table
63
- * @version 1.95.0
63
+ * @version 1.96.3
64
64
  *
65
65
  * @constructor
66
66
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @class
71
71
  * The column allows you to define column specific properties that will be applied when rendering the table.
72
72
  * @extends sap.ui.core.Element
73
- * @version 1.95.0
73
+ * @version 1.96.3
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class
41
41
  * The column menu provides all common actions that can be performed on a column.
42
42
  * @extends sap.ui.unified.Menu
43
- * @version 1.95.0
43
+ * @version 1.96.3
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -510,6 +510,8 @@ sap.ui.define([
510
510
  aSubmenuItems = oSubmenu.getItems();
511
511
  aSubmenuItems[i].setProperty("icon", sIcon);
512
512
  aSubmenuItems[i].setEnabled(!bVisible || aVisibleColumns.length > 1);
513
+ aSubmenuItems[i].removeAllAriaLabelledBy();
514
+ aSubmenuItems[i].addAriaLabelledBy(oTable.getId() + (bVisible ? "-ariahidecolmenu" : "-ariashowcolmenu"));
513
515
  }
514
516
 
515
517
  for (var i = aSubmenuItems.length; i > aColumns.length; i--) {
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * <code>sap.ui.commons</code> library.
33
33
  * @extends sap.ui.core.Control
34
34
  * @author SAP SE
35
- * @version 1.95.0
35
+ * @version 1.96.3
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -135,7 +135,7 @@ sap.ui.define([
135
135
  * @class
136
136
  * The row.
137
137
  * @extends sap.ui.core.Element
138
- * @version 1.95.0
138
+ * @version 1.96.3
139
139
  *
140
140
  * @constructor
141
141
  * @public
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * If more action items are available as the available space allows to display an overflow mechanism is provided.
36
36
  * This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
37
37
  * @extends sap.ui.core.Control
38
- * @version 1.95.0
38
+ * @version 1.96.3
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.3
28
28
  * @since 1.45
29
29
  *
30
30
  * @constructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * The <code>RowSettings</code> control allows you to configure a row.
25
25
  * You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.95.0
27
+ * @version 1.96.3
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * the data model and binding being used.
95
95
  * </p>
96
96
  * @extends sap.ui.core.Control
97
- * @version 1.95.0
97
+ * @version 1.96.3
98
98
  *
99
99
  * @constructor
100
100
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.95.0
33
+ * @version 1.96.3
34
34
  * @since 1.21.1
35
35
  *
36
36
  * @constructor
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class
41
41
  * The TreeTable control provides a comprehensive set of features to display hierarchical data.
42
42
  * @extends sap.ui.table.Table
43
- * @version 1.95.0
43
+ * @version 1.96.3
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -736,7 +736,6 @@ sap.ui.define([
736
736
  break;
737
737
 
738
738
  case AccExtension.ELEMENTTYPES.CONTAINER: //The table container
739
- mAttributes["role"] = "application";
740
739
  break;
741
740
 
742
741
  case AccExtension.ELEMENTTYPES.CONTENT: //The content area of the table which contains all the table elements, rowheaders, columnheaders, etc
@@ -903,7 +902,7 @@ sap.ui.define([
903
902
  * @class Extension for sap.ui.table.Table which handles ACC related things.
904
903
  * @extends sap.ui.table.extensions.ExtensionBase
905
904
  * @author SAP SE
906
- * @version 1.95.0
905
+ * @version 1.96.3
907
906
  * @constructor
908
907
  * @private
909
908
  * @alias sap.ui.table.extensions.Accessibility
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
43
43
  * @extends sap.ui.table.extensions.ExtensionBase
44
44
  * @author SAP SE
45
- * @version 1.95.0
45
+ * @version 1.96.3
46
46
  * @constructor
47
47
  * @private
48
48
  * @alias sap.ui.table.extensions.AccessibilityRender
@@ -244,7 +244,7 @@ sap.ui.define([
244
244
  *
245
245
  * @extends sap.ui.table.extensions.ExtensionBase
246
246
  * @author SAP SE
247
- * @version 1.95.0
247
+ * @version 1.96.3
248
248
  * @constructor
249
249
  * @private
250
250
  * @alias sap.ui.table.extensions.DragAndDrop
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @abstract
20
20
  * @extends sap.ui.base.Object
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.3
23
23
  * @constructor
24
24
  * @private
25
25
  * @alias sap.ui.table.extensions.ExtensionBase
@@ -267,7 +267,7 @@ sap.ui.define([
267
267
  * @class Extension for sap.ui.table.Table which handles keyboard related things.
268
268
  * @extends sap.ui.table.extensions.ExtensionBase
269
269
  * @author SAP SE
270
- * @version 1.95.0
270
+ * @version 1.96.3
271
271
  * @constructor
272
272
  * @private
273
273
  * @alias sap.ui.table.extensions.Keyboard
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  *
65
65
  * @extends sap.ui.base.Object
66
66
  * @author SAP SE
67
- * @version 1.95.0
67
+ * @version 1.96.3
68
68
  * @constructor
69
69
  * @private
70
70
  * @alias sap.ui.table.extensions.KeyboardDelegate
@@ -792,7 +792,7 @@ sap.ui.define([
792
792
  * @class Extension for sap.ui.table.Table which handles mouse and touch related things.
793
793
  * @extends sap.ui.table.extensions.ExtensionBase
794
794
  * @author SAP SE
795
- * @version 1.95.0
795
+ * @version 1.96.3
796
796
  * @constructor
797
797
  * @private
798
798
  * @alias sap.ui.table.extensions.Pointer
@@ -2291,7 +2291,7 @@ sap.ui.define([
2291
2291
  * @class Extension for sap.ui.table.Table which handles scrolling.
2292
2292
  * @extends sap.ui.table.extensions.ExtensionBase
2293
2293
  * @author SAP SE
2294
- * @version 1.95.0
2294
+ * @version 1.96.3
2295
2295
  * @constructor
2296
2296
  * @private
2297
2297
  * @alias sap.ui.table.extensions.Scrolling
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class Extension for sap.ui.table.Table which handles the scrollbar on iOS.
30
30
  * @extends sap.ui.table.extensions.ExtensionBase
31
31
  * @author SAP SE
32
- * @version 1.95.0
32
+ * @version 1.96.3
33
33
  * @constructor
34
34
  * @private
35
35
  * @alias sap.ui.table.extensions.ScrollingIOS
@@ -142,7 +142,7 @@ sap.ui.define([
142
142
  * @class Extension for sap.ui.table.Table that allows synchronization with a table.
143
143
  * @extends sap.ui.table.extensions.ExtensionBase
144
144
  * @author SAP SE
145
- * @version 1.95.0
145
+ * @version 1.96.3
146
146
  * @constructor
147
147
  * @private
148
148
  * @alias sap.ui.table.extensions.Synchronization
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
17
17
  // delegate further initialization of this library to the Core
18
18
  sap.ui.getCore().initLibrary({
19
19
  name : "sap.ui.table",
20
- version: "1.95.0",
20
+ version: "1.96.3",
21
21
  dependencies : ["sap.ui.core","sap.ui.unified"],
22
22
  designtime: "sap/ui/table/designtime/library.designtime",
23
23
  types: [
@@ -74,7 +74,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
74
74
  * @namespace
75
75
  * @alias sap.ui.table
76
76
  * @author SAP SE
77
- * @version 1.95.0
77
+ * @version 1.96.3
78
78
  * @since 0.8
79
79
  * @public
80
80
  */
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
83
83
  /**
84
84
  * Navigation mode of the table
85
85
  *
86
- * @version 1.95.0
86
+ * @version 1.96.3
87
87
  * @enum {string}
88
88
  * @public
89
89
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -111,7 +111,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
111
111
  /**
112
112
  * Row Action types.
113
113
  *
114
- * @version 1.95.0
114
+ * @version 1.96.3
115
115
  * @enum {string}
116
116
  * @public
117
117
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -142,7 +142,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
142
142
  /**
143
143
  * Selection behavior of the table
144
144
  *
145
- * @version 1.95.0
145
+ * @version 1.96.3
146
146
  * @enum {string}
147
147
  * @public
148
148
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -173,7 +173,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
173
173
  /**
174
174
  * Selection mode of the table
175
175
  *
176
- * @version 1.95.0
176
+ * @version 1.96.3
177
177
  * @enum {string}
178
178
  * @public
179
179
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -211,7 +211,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
211
211
  /**
212
212
  * Sort order of a column
213
213
  *
214
- * @version 1.95.0
214
+ * @version 1.96.3
215
215
  * @enum {string}
216
216
  * @public
217
217
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -236,7 +236,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
236
236
  /**
237
237
  * VisibleRowCountMode of the table
238
238
  *
239
- * @version 1.95.0
239
+ * @version 1.96.3
240
240
  * @enum {string}
241
241
  * @public
242
242
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
@@ -268,7 +268,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
268
268
  *
269
269
  * Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
270
270
  *
271
- * @version 1.95.0
271
+ * @version 1.96.3
272
272
  * @enum {string}
273
273
  * @public
274
274
  */
@@ -366,7 +366,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
366
366
  *
367
367
  * This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
368
368
  *
369
- * @version 1.95.0
369
+ * @version 1.96.3
370
370
  * @typedef {sap.ui.model.TreeAutoExpandMode}
371
371
  * @public
372
372
  */
@@ -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.95.0
25
+ * @version 1.96.3
26
26
  * @constructor
27
27
  * @private
28
28
  * @alias sap.ui.table.plugins.BindingSelection
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.95.0
31
+ * @version 1.96.3
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.95.0
26
+ * @version 1.96.3
27
27
  * @constructor
28
28
  * @private
29
29
  * @alias sap.ui.table.plugins.SelectionModelSelection
@@ -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.95.0
32
+ * @version 1.96.3
33
33
  * @public
34
34
  * @since 1.64
35
35
  * @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.95.0
35
+ * @version 1.96.3
36
36
  * @private
37
37
  * @since 1.76
38
38
  * @experimental
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @ui5-restricted sap.ui.mdc
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.95.0
38
+ * @version 1.96.3
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 */ {
@@ -260,6 +260,21 @@ sap.ui.define([
260
260
  return iRequestLength;
261
261
  };
262
262
 
263
+ /**
264
+ * @inheritDoc
265
+ */
266
+ AutoRowMode.prototype.updateTableRows = function() {
267
+ if (this.getHideEmptyRows() && this.getComputedRowCounts().count === 0) {
268
+ var iConfiguredRowCount = this.getConfiguredRowCount();
269
+
270
+ if (iConfiguredRowCount > 0) {
271
+ return this.getRowContexts(iConfiguredRowCount, true).length > 0;
272
+ }
273
+ } else {
274
+ return RowMode.prototype.updateTableRows.call(this);
275
+ }
276
+ };
277
+
263
278
  /**
264
279
  * @inheritDoc
265
280
  */
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @ui5-restricted sap.ui.mdc
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.95.0
32
+ * @version 1.96.3
33
33
  *
34
34
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
35
35
  */
@@ -157,6 +157,21 @@ sap.ui.define([
157
157
  return Math.max(0, this.getRowCount());
158
158
  };
159
159
 
160
+ /**
161
+ * @inheritDoc
162
+ */
163
+ FixedRowMode.prototype.updateTableRows = function() {
164
+ if (this.getHideEmptyRows() && this.getComputedRowCounts().count === 0) {
165
+ var iRowCount = this.getRowCount();
166
+
167
+ if (iRowCount > 0) {
168
+ return this.getRowContexts(iRowCount, true).length > 0;
169
+ }
170
+ } else {
171
+ return RowMode.prototype.updateTableRows.call(this);
172
+ }
173
+ };
174
+
160
175
  /**
161
176
  * @inheritDoc
162
177
  */
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @ui5-restricted sap.ui.mdc
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.95.0
36
+ * @version 1.96.3
37
37
  *
38
38
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
39
39
  */
@@ -168,7 +168,11 @@ sap.ui.define([
168
168
  * @inheritDoc
169
169
  */
170
170
  InteractiveRowMode.prototype.getComputedRowCounts = function() {
171
- return this.computeStandardizedRowCounts(this.getConfiguredRowCount(), this.getFixedTopRowCount(), this.getFixedBottomRowCount());
171
+ var iRowCount = this.getConfiguredRowCount();
172
+ var iFixedTopRowCount = this.getFixedTopRowCount();
173
+ var iFixedBottomRowCount = this.getFixedBottomRowCount();
174
+
175
+ return this.computeStandardizedRowCounts(iRowCount, iFixedTopRowCount, iFixedBottomRowCount);
172
176
  };
173
177
 
174
178
  /**
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @ui5-restricted sap.ui.mdc
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.95.0
39
+ * @version 1.96.3
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 */ {
@@ -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.95.0
26
+ * @version 1.96.3
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -3,8 +3,8 @@
3
3
  /* Base theme */
4
4
  /* ========================== */
5
5
 
6
- @_sap_ui_table_Cell_FocusOutlineOffset: -1px;
7
- @_sap_ui_table_Cell_FocusOutlineOffsetInZoomedChrome: -2px;
6
+ @_sap_ui_table_Cell_FocusOutlineOffset: -@sapUiContentFocusWidth;
7
+ @_sap_ui_table_Cell_FocusOutlineOffsetInZoomedChrome: calc(-@sapUiContentFocusWidth ~"- 0.0625rem");
8
8
  @_sap_ui_table_Cell_Padding: 0 0.5rem;
9
9
  @_sap_ui_table_Cell_TouchMenuIconSize: 1.375rem;
10
10
  @_sap_ui_table_Cell_ColumnIconSize: 0.75rem;
@@ -24,7 +24,7 @@
24
24
  position: absolute;
25
25
  inset: 0;
26
26
  pointer-events: none;
27
- outline: @_sap_ui_table_FocusOutlineWidth dotted @sapUiContentFocusColor;
27
+ outline: @_sap_ui_table_FocusOutlineWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
28
28
  outline-offset: @_sap_ui_table_Cell_FocusOutlineOffset;
29
29
 
30
30
  .sapUiTableZoomout & {
@@ -337,15 +337,6 @@
337
337
  overflow: hidden;
338
338
  padding: @_sap_ui_table_Cell_Padding;
339
339
  white-space: nowrap;
340
-
341
- .sapUiSizeCondensed & {
342
- padding: 0;
343
-
344
- > * {
345
- box-sizing: border-box;
346
- padding: @_sap_ui_table_Cell_Padding;
347
- }
348
- }
349
340
  }
350
341
  }
351
342
 
@@ -390,7 +381,7 @@
390
381
  border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
391
382
  pointer-events: none;
392
383
  .sapUiTableContentRow & {
393
- background-color: @sapUiListBackground !important;
384
+ background-color: @sapBackgroundColor !important;
394
385
  }
395
386
  }
396
387
 
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  &:focus {
32
- outline: @_sap_ui_table_Grouping_GroupOutlineWidth dotted @sapUiContentFocusColor;
32
+ outline: @_sap_ui_table_Grouping_GroupOutlineWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
33
33
  outline-offset: -2px;
34
34
  }
35
35
  }
@@ -42,7 +42,7 @@
42
42
  position: absolute;
43
43
  left: 1px;
44
44
  top: @_sap_ui_table_Grouping_GroupOutlineWidth;
45
- bottom: 0;
45
+ bottom: @_sap_ui_table_Grouping_GroupOutlineWidth;
46
46
  white-space: nowrap;
47
47
  font-weight: normal;
48
48
  color: @sapUiListTextColor;
@@ -80,6 +80,7 @@
80
80
  text-align: center;
81
81
  vertical-align: middle;
82
82
  margin-left: -2px;
83
+ margin-right: 2px;
83
84
  }
84
85
 
85
86
  .sapUiSizeCozy .sapUiTableGroupIcon::before {
@@ -125,11 +126,21 @@ html[dir=rtl] {
125
126
 
126
127
  .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus .sapUiTableGroupIcon {
127
128
  outline-width: @_sap_ui_table_Grouping_GroupOutlineWidth;
128
- outline-style: dotted;
129
+ outline-style: @sapUiContentFocusStyle;
129
130
  outline-offset: 0;
130
131
  outline-color: @sapUiContentFocusColor;
131
132
  }
132
133
 
134
+ .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus::before {
135
+ outline: none;
136
+ }
137
+
138
+ .sapUiTableGroupHeaderRow > .sapUiTableCell.sapUiTableCellFirst:focus::before,
139
+ .sapUiTableGroupMode .sapUiTableRowIndented > .sapUiTableCell.sapUiTableCellFirst:focus::before {
140
+ z-index: 2;
141
+ left: var(--CalculatedGroupIndent, 0);
142
+ }
143
+
133
144
  // Override row background and cell borders in group header rows.
134
145
  .sapUiTableGroupHeaderRow {
135
146
  &.sapUiTableRow {
@@ -185,6 +196,10 @@ html[dir=rtl] {
185
196
  pointer-events: none;
186
197
  }
187
198
 
199
+ .sapUiTableRowHidden > .sapUiTableCell > .sapUiTableGroupShield {
200
+ display: block;
201
+ }
202
+
188
203
  .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus {
189
204
  outline: 0;
190
205
  }
@@ -63,7 +63,7 @@
63
63
  border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
64
64
  border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
65
65
  border-top: @_sap_ui_table_BaseBorderWidth solid @sapUiListBorderColor;
66
- background-color: @sapUiListBackground;
66
+ background-color: @sapBackgroundColor;
67
67
  ._sap_ui_table_Table_Table();
68
68
  }
69
69
 
@@ -183,7 +183,7 @@
183
183
  .sapUiTableCtrlEmpty:focus,
184
184
  .sapUiTableCnt > .sapUiLocalBusyIndicator:focus {
185
185
  outline-width: @_sap_ui_table_FocusOutlineWidth;
186
- outline-style: dotted;
186
+ outline-style: @sapUiContentFocusStyle;
187
187
  outline-offset: -3px;
188
188
  outline-color: @sapUiContentFocusColor;
189
189
  }
@@ -45,7 +45,8 @@
45
45
  @_sap_ui_table_DeleteIcon: sys-cancel;
46
46
  @_sap_ui_table_ClearSelectionIcon: clear-all;
47
47
 
48
- @_sap_ui_table_FocusOutlineWidth: 1px;
48
+ /*TBD: Table specific parameter should be removed and replaced with sapUiContentFocusWidth*/
49
+ @_sap_ui_table_FocusOutlineWidth: @sapUiContentFocusWidth;
49
50
 
50
51
  @import "Table.less";
51
52
  @import "Row.less";
@@ -209,7 +209,7 @@ sap.ui.define([
209
209
  * Static collection of utility functions related to the sap.ui.table.Table, ...
210
210
  *
211
211
  * @author SAP SE
212
- * @version 1.95.0
212
+ * @version 1.96.3
213
213
  * @namespace
214
214
  * @alias sap.ui.table.utils.TableUtils
215
215
  * @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.95.0
17
+ * @version 1.96.3
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.95.0
21
+ * @version 1.96.3
22
22
  * @namespace
23
23
  * @alias sap.ui.table.utils._ColumnUtils
24
24
  * @private
@@ -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.95.0
26
+ * @version 1.96.3
27
27
  * @namespace
28
28
  * @alias sap.ui.table.utils._GroupingUtils
29
29
  * @private
@@ -273,12 +273,14 @@ sap.ui.define([
273
273
  $RowHdr.css(bRTL ? "right" : "left", "");
274
274
  $Shield.css("width", "").css(bRTL ? "margin-right" : "margin-left", "");
275
275
  $FirstCellContentInRow.css(bRTL ? "padding-right" : "padding-left", "");
276
+ $Row.css("--CalculatedGroupIndent", "0");
276
277
  } else {
277
278
  // Apply indent on table row
278
279
  $RowHdr.css(bRTL ? "right" : "left", iIndent + "px");
279
280
  $Shield.css("width", iIndent + "px").css(bRTL ? "margin-right" : "margin-left", ((-1) * iIndent) + "px");
280
281
  $FirstCellContentInRow.css(bRTL ? "padding-right" : "padding-left",
281
282
  (iIndent + 8/* +8px standard padding .sapUiTableCellInner */) + "px");
283
+ $Row.css("--CalculatedGroupIndent", iIndent + "px");
282
284
  }
283
285
  },
284
286
 
@@ -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.95.0
25
+ * @version 1.96.3
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.95.0
45
+ * @version 1.96.3
46
46
  * @namespace
47
47
  * @alias sap.ui.table.utils._MenuUtils
48
48
  * @private
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "1.1"
2
+ specVersion: "2.0"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.ui.table
@@ -7,3 +7,6 @@ metadata:
7
7
  OpenUI5
8
8
  * (c) Copyright 2009-${currentYear} SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
10
+ resources:
11
+ configuration:
12
+ propertiesFileSourceEncoding: ISO-8859-1