@openui5/sap.ui.table 1.135.0 → 1.136.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.toml +649 -0
- package/THIRDPARTY.txt +22 -22
- 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/AnalyticalTable.js +2 -2
- package/src/sap/ui/table/Column.js +11 -3
- package/src/sap/ui/table/ColumnMenu.js +2 -2
- package/src/sap/ui/table/CreationRow.js +2 -2
- package/src/sap/ui/table/CreationRowRenderer.js +1 -1
- package/src/sap/ui/table/Row.js +4 -13
- 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 +2 -2
- package/src/sap/ui/table/TablePersoController.js +2 -2
- package/src/sap/ui/table/TableRenderer.js +12 -11
- package/src/sap/ui/table/TreeTable.js +2 -2
- 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 +6 -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 +2 -2
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +156 -400
- package/src/sap/ui/table/extensions/Pointer.js +2 -2
- package/src/sap/ui/table/extensions/Scrolling.js +47 -22
- package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
- package/src/sap/ui/table/extensions/Synchronization.js +2 -2
- package/src/sap/ui/table/i18n/interaction.xml +254 -0
- package/src/sap/ui/table/library.js +14 -11
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +2 -2
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/menus/ContextMenu.js +2 -2
- package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/plugins/BindingSelection.js +2 -2
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4Selection.js +109 -56
- package/src/sap/ui/table/plugins/PluginBase.js +2 -2
- package/src/sap/ui/table/plugins/SelectionMode.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +2 -2
- package/src/sap/ui/table/plugins/SelectionPlugin.js +3 -2
- package/src/sap/ui/table/plugins/V4Aggregation.js +2 -2
- package/src/sap/ui/table/rowmodes/Auto.js +2 -2
- package/src/sap/ui/table/rowmodes/Fixed.js +2 -2
- package/src/sap/ui/table/rowmodes/Interactive.js +2 -2
- package/src/sap/ui/table/rowmodes/RowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/Type.js +1 -1
- package/src/sap/ui/table/rowmodes/Variable.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/Cell.less +12 -6
- package/src/sap/ui/table/themes/base/Scrolling.less +3 -0
- 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 +5 -5
- 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 +2 -2
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- package/src/sap/ui/table/utils/_MenuUtils.js +2 -2
- package/ui5.yaml +1 -1
- package/.reuse/dep5 +0 -471
package/THIRDPARTY.txt
CHANGED
|
@@ -26,7 +26,7 @@ Component: Ace (Ajax.org Cloud9 Editor), version: 1.36.5
|
|
|
26
26
|
Copyright: 2010, Ajax.org B.V.
|
|
27
27
|
License: BSD-3-Clause
|
|
28
28
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
29
|
-
Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace
|
|
29
|
+
Contained in: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/**
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
Library: sap.ui.commons:
|
|
@@ -71,7 +71,7 @@ Component: jQuery UI 1.10, version: 1.10.4
|
|
|
71
71
|
Copyright: 2014 jQuery Foundation and other contributors
|
|
72
72
|
License: MIT
|
|
73
73
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
74
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui
|
|
74
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/jqueryui/**
|
|
75
75
|
src/sap.ui.core/src/jquery.sap.dom.js
|
|
76
76
|
|
|
77
77
|
Component: jQuery UI 1.11, version: 1.11.1
|
|
@@ -191,13 +191,13 @@ Component: Unicode Common Locale Data Repository, version: 46.1.0
|
|
|
191
191
|
Copyright: 1991-2024 Unicode, Inc.
|
|
192
192
|
License: LicenseRef-Unicode-3.0
|
|
193
193
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
|
194
|
-
Contained in: src/sap.ui.core/src/sap/ui/core/cldr
|
|
194
|
+
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/**
|
|
195
195
|
|
|
196
196
|
Component: MobiScroll, version: 2.9.0
|
|
197
197
|
Copyright: 2010-2013, Acid Media
|
|
198
198
|
License: MIT
|
|
199
199
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
200
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll
|
|
200
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/**
|
|
201
201
|
|
|
202
202
|
Component: SinonJS, version: 1.14.1
|
|
203
203
|
Copyright: 2010-2014, Christian Johansen, christian@cjohansen.no
|
|
@@ -310,7 +310,7 @@ Component: Hyphenopoly, version: 3.4.0
|
|
|
310
310
|
Copyright: 2021 Mathias Nater
|
|
311
311
|
License: MIT
|
|
312
312
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
313
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly
|
|
313
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/**
|
|
314
314
|
|
|
315
315
|
Component: p-cancelable, version: 2.0.0
|
|
316
316
|
Copyright: Sindre Sorhus <sindresorhus@gmail.com>
|
|
@@ -349,7 +349,7 @@ Component: highlight.js, version: 11.9.0
|
|
|
349
349
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
350
350
|
License: BSD-3-Clause
|
|
351
351
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
352
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js
|
|
352
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/**
|
|
353
353
|
|
|
354
354
|
Component: Elasticlunr, version: 0.9.5
|
|
355
355
|
Copyright: 2017 Wei Song and Oliver Nightingale
|
|
@@ -361,13 +361,13 @@ Component: DataTables, version: 2.0.1
|
|
|
361
361
|
Copyright: SpryMedia Ltd
|
|
362
362
|
License: MIT
|
|
363
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
364
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1
|
|
364
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/**
|
|
365
365
|
|
|
366
366
|
Component: Buttons extension for DataTables, version: 3.0.0
|
|
367
367
|
Copyright: SpryMedia Ltd
|
|
368
368
|
License: MIT
|
|
369
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
370
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/**
|
|
371
371
|
|
|
372
372
|
|
|
373
373
|
Library: sap.ui.integration:
|
|
@@ -376,7 +376,7 @@ Component: UI5 Web Components, version: 1.7.0
|
|
|
376
376
|
Copyright: SAP
|
|
377
377
|
License: Apache-2.0
|
|
378
378
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
379
|
-
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents
|
|
379
|
+
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/webcomponents/**
|
|
380
380
|
|
|
381
381
|
Component: Adaptive Cards, version: 2.9.0
|
|
382
382
|
Copyright: 2017 Microsoft
|
|
@@ -416,18 +416,18 @@ Component: UI5 Web Components, version: 1.18.0
|
|
|
416
416
|
Copyright: SAP
|
|
417
417
|
License: Apache-2.0
|
|
418
418
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
419
|
-
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base
|
|
420
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming
|
|
421
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization
|
|
422
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons
|
|
423
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt
|
|
424
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite
|
|
419
|
+
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/**
|
|
420
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/**
|
|
421
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/**
|
|
422
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/**
|
|
423
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/**
|
|
424
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/**
|
|
425
425
|
|
|
426
426
|
Component: lit-html, version: 2.2.2
|
|
427
427
|
Copyright: Google LLC
|
|
428
428
|
License: BSD-3-Clause
|
|
429
429
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
430
|
-
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html
|
|
430
|
+
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/**
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
Library: sap.ui.webc.fiori:
|
|
@@ -436,7 +436,7 @@ Component: UI5 Web Components, version: 1.18.0
|
|
|
436
436
|
Copyright: SAP
|
|
437
437
|
License: Apache-2.0
|
|
438
438
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
439
|
-
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty
|
|
439
|
+
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/**
|
|
440
440
|
|
|
441
441
|
Component: ZXing, version: 0.17.1
|
|
442
442
|
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
@@ -451,7 +451,7 @@ Component: UI5 Web Components, version: 1.18.0
|
|
|
451
451
|
Copyright: SAP
|
|
452
452
|
License: Apache-2.0
|
|
453
453
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
454
|
-
Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty
|
|
454
|
+
Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/**
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
Outside of Libraries:
|
|
@@ -462,14 +462,14 @@ License: Apache-2.0
|
|
|
462
462
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
463
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
464
|
|
|
465
|
-
Component: SAP Theming Base Content, version: 11.
|
|
465
|
+
Component: SAP Theming Base Content, version: 11.29.1
|
|
466
466
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
467
467
|
License: Apache-2.0
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
469
|
Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
|
|
470
|
-
src/themelib_sap_belize/src/sap/ui/core/themes
|
|
471
|
-
src/themelib_sap_fiori_3/src/sap/ui/core/themes
|
|
472
|
-
src/themelib_sap_horizon/src/sap/ui/core/themes
|
|
470
|
+
src/themelib_sap_belize/src/sap/ui/core/themes/**/base.less
|
|
471
|
+
src/themelib_sap_fiori_3/src/sap/ui/core/themes/**/base.less
|
|
472
|
+
src/themelib_sap_horizon/src/sap/ui/core/themes/**/base.less
|
|
473
473
|
|
|
474
474
|
|
|
475
475
|
ALL LICENSE TEXTS:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.136.0",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.136.0",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.136.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.table</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright
|
|
7
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.136.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @extends sap.ui.table.Column
|
|
48
48
|
*
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.136.0
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
20
20
|
* @extends sap.ui.table.ColumnMenu
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.136.0
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @see https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
51
51
|
*
|
|
52
52
|
* @extends sap.ui.table.Table
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.136.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @class
|
|
64
64
|
* The column allows you to define column specific properties that will be applied when rendering the table.
|
|
65
65
|
* @extends sap.ui.core.Element
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.136.0
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
@@ -289,6 +289,8 @@ sap.ui.define([
|
|
|
289
289
|
/**
|
|
290
290
|
* Labels of the column which are displayed in the column header. Define a control for
|
|
291
291
|
* each header row in the table. Use this aggregation if you want to use multiple headers per column.
|
|
292
|
+
*
|
|
293
|
+
* <bNote:</b> The {@link sap.m.plugins.ColumnAIAction ColumnAIAction} plugin is not compatible with multi labels.
|
|
292
294
|
* @since 1.13.1
|
|
293
295
|
*/
|
|
294
296
|
multiLabels: {type: "sap.ui.core.Control", multiple: true, singularName: "multiLabel"},
|
|
@@ -335,7 +337,13 @@ sap.ui.define([
|
|
|
335
337
|
*
|
|
336
338
|
* @deprecated As of version 1.117, use the <code>headerMenu</code> association instead.
|
|
337
339
|
*/
|
|
338
|
-
menu: {type: "sap.ui.unified.Menu", multiple: false}
|
|
340
|
+
menu: {type: "sap.ui.unified.Menu", multiple: false},
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Control to be displayed as an action in the column header.
|
|
344
|
+
* @since 1.136
|
|
345
|
+
*/
|
|
346
|
+
_action: {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"}
|
|
339
347
|
},
|
|
340
348
|
associations: {
|
|
341
349
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
43
|
+
* @version 1.136.0
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
35
|
+
* @version 1.136.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
* @class
|
|
136
136
|
* The row.
|
|
137
137
|
* @extends sap.ui.core.Element
|
|
138
|
-
* @version 1.
|
|
138
|
+
* @version 1.136.0
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
@@ -270,16 +270,14 @@ sap.ui.define([
|
|
|
270
270
|
* {@link sap.ui.table.Row#initDomRefs}.
|
|
271
271
|
*
|
|
272
272
|
* @param {boolean} [bJQuery=false] If set to <code>true</code>, jQuery objects are returned, otherwise native DOM references.
|
|
273
|
-
* @param {boolean} [bCollection=false] If set to <code>true</code>, the DOM references will be returned as an array, otherwise as an object.
|
|
274
273
|
* @returns {Object|Array} An object (or array, if <code>bCollection</code> is true) containing jQuery objects, or native references to the DOM
|
|
275
274
|
* elements of the row.
|
|
276
275
|
* @see sap.ui.core.Element#getDomRef
|
|
277
276
|
* @see sap.ui.table.Row#initDomRefs
|
|
278
277
|
* @private
|
|
279
278
|
*/
|
|
280
|
-
Row.prototype.getDomRefs = function(bJQuery
|
|
279
|
+
Row.prototype.getDomRefs = function(bJQuery) {
|
|
281
280
|
bJQuery = bJQuery === true;
|
|
282
|
-
bCollection = bCollection === true;
|
|
283
281
|
|
|
284
282
|
const sKey = bJQuery ? "jQuery" : "dom";
|
|
285
283
|
const mDomRefs = this._mDomRefs;
|
|
@@ -330,14 +328,7 @@ sap.ui.define([
|
|
|
330
328
|
}
|
|
331
329
|
}
|
|
332
330
|
|
|
333
|
-
|
|
334
|
-
if (bCollection) {
|
|
335
|
-
return Object.keys(mKeyDomRefs).map(function(sKey) {
|
|
336
|
-
return sKey === "row" ? null : mKeyDomRefs[sKey];
|
|
337
|
-
}).filter(Boolean);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
return mKeyDomRefs;
|
|
331
|
+
return mDomRefs[sKey];
|
|
341
332
|
};
|
|
342
333
|
|
|
343
334
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
38
|
+
* @version 1.136.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.136.0
|
|
28
28
|
* @since 1.45
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
28
28
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
29
29
|
* @extends sap.ui.core.Element
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.136.0
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* the data model and binding being used.
|
|
107
107
|
* </p>
|
|
108
108
|
* @extends sap.ui.core.Control
|
|
109
|
-
* @version 1.
|
|
109
|
+
* @version 1.136.0
|
|
110
110
|
*
|
|
111
111
|
* @constructor
|
|
112
112
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @extends sap.ui.base.ManagedObject
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.136.0
|
|
38
38
|
* @since 1.21.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -597,9 +597,15 @@ sap.ui.define([
|
|
|
597
597
|
rm.style("justify-content", mFlexCellContentAlignment[sHAlign]);
|
|
598
598
|
rm.openEnd();
|
|
599
599
|
|
|
600
|
-
|
|
601
|
-
|
|
600
|
+
const oAction = oColumn.getAggregation("_action");
|
|
601
|
+
if (oAction && iHeader === 0) {
|
|
602
|
+
if (oColumn.getMultiLabels().length > 0) {
|
|
603
|
+
Log.error(`${oColumn}: ColumnAIAction is not compatible with multi labels`);
|
|
604
|
+
} else {
|
|
605
|
+
rm.renderControl(oAction);
|
|
606
|
+
}
|
|
602
607
|
}
|
|
608
|
+
rm.renderControl(oLabel);
|
|
603
609
|
|
|
604
610
|
rm.close("div");
|
|
605
611
|
|
|
@@ -1008,7 +1014,7 @@ sap.ui.define([
|
|
|
1008
1014
|
rm.class("sapUiTableRow");
|
|
1009
1015
|
rm.class("sapUiTableHeaderRow");
|
|
1010
1016
|
rm.class("sapUiTableColHdrTr");
|
|
1011
|
-
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "ColumnHeaderRow");
|
|
1017
|
+
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "ColumnHeaderRow", {rowIndex: iRow});
|
|
1012
1018
|
rm.openEnd();
|
|
1013
1019
|
|
|
1014
1020
|
//
|
|
@@ -1198,7 +1204,7 @@ sap.ui.define([
|
|
|
1198
1204
|
const oRow = oCell.getParent();
|
|
1199
1205
|
rm.openStart("span", oRow.getId() + "-treeicon");
|
|
1200
1206
|
rm.class("sapUiTableTreeIcon");
|
|
1201
|
-
rm.attr("tabindex", "
|
|
1207
|
+
rm.attr("tabindex", "0");
|
|
1202
1208
|
oTable._getAccRenderExtension().writeAriaAttributesFor(rm, oTable, "TreeIcon", {row: oRow});
|
|
1203
1209
|
rm.openEnd();
|
|
1204
1210
|
rm.close("span");
|
|
@@ -1208,7 +1214,6 @@ sap.ui.define([
|
|
|
1208
1214
|
|
|
1209
1215
|
TableRenderer.renderVSb = function(rm, oTable, mConfig) {
|
|
1210
1216
|
const oScrollExtension = oTable._getScrollExtension();
|
|
1211
|
-
const mRowCounts = oTable._getRowCounts();
|
|
1212
1217
|
|
|
1213
1218
|
mConfig = Object.assign({
|
|
1214
1219
|
tabIndex: true
|
|
@@ -1220,16 +1225,12 @@ sap.ui.define([
|
|
|
1220
1225
|
rm.class("sapUiTableHidden");
|
|
1221
1226
|
}
|
|
1222
1227
|
rm.class(mConfig.cssClass);
|
|
1223
|
-
const iHeaderHeight = oTable._collectRowHeights(true).reduce((iSum, iHeight) => iSum + iHeight, 0) + 1;
|
|
1224
|
-
rm.style("margin-top", iHeaderHeight + "px");
|
|
1225
1228
|
rm.openEnd();
|
|
1226
1229
|
|
|
1227
1230
|
rm.openStart("div", oTable.getId() + "-vsb");
|
|
1228
1231
|
rm.class("sapUiTableVSb");
|
|
1229
1232
|
rm.style("max-height", oScrollExtension.getVerticalScrollbarHeight() + "px");
|
|
1230
|
-
|
|
1231
|
-
rm.style("top", mRowCounts.fixedTop * oTable._getBaseRowHeight() - 1 + "px");
|
|
1232
|
-
}
|
|
1233
|
+
|
|
1233
1234
|
if (mConfig.tabIndex) {
|
|
1234
1235
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1069739
|
|
1235
1236
|
// Avoid focusing of the scrollbar in Firefox with tab.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class
|
|
43
43
|
* The TreeTable control provides a comprehensive set of features to display hierarchical data.
|
|
44
44
|
* @extends sap.ui.table.Table
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.136.0
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -903,14 +903,16 @@ sap.ui.define([
|
|
|
903
903
|
* Returns the aria attributes for the row that contains the column headers.
|
|
904
904
|
*
|
|
905
905
|
* @param {sap.ui.table.extensions.Accessibility} oExtension The accessibility extension
|
|
906
|
+
* @param {object} mParams An object for additional parameters
|
|
907
|
+
* @param {int} mParams.rowIndex The index of the row
|
|
906
908
|
* @returns {object} An object containing the aria attributes
|
|
907
909
|
*/
|
|
908
|
-
getAriaAttributesForColumnHeaderRow: function(oExtension) {
|
|
910
|
+
getAriaAttributesForColumnHeaderRow: function(oExtension, mParams) {
|
|
909
911
|
const mAttributes = {"role": "row"};
|
|
910
912
|
const oTable = oExtension.getTable();
|
|
911
913
|
const sTableId = oTable.getId();
|
|
912
914
|
|
|
913
|
-
mAttributes["aria-rowindex"] =
|
|
915
|
+
mAttributes["aria-rowindex"] = mParams.rowIndex + 1;
|
|
914
916
|
mAttributes["aria-owns"] = [];
|
|
915
917
|
if (TableUtils.hasRowHeader(oTable)) {
|
|
916
918
|
mAttributes["aria-owns"].push(sTableId + "-rowcolhdr");
|
|
@@ -1148,7 +1150,7 @@ sap.ui.define([
|
|
|
1148
1150
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
1149
1151
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
1150
1152
|
* @author SAP SE
|
|
1151
|
-
* @version 1.
|
|
1153
|
+
* @version 1.136.0
|
|
1152
1154
|
* @constructor
|
|
1153
1155
|
* @private
|
|
1154
1156
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
45
45
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.136.0
|
|
48
48
|
* @constructor
|
|
49
49
|
* @private
|
|
50
50
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -274,7 +274,7 @@ sap.ui.define([
|
|
|
274
274
|
*
|
|
275
275
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
276
276
|
* @author SAP SE
|
|
277
|
-
* @version 1.
|
|
277
|
+
* @version 1.136.0
|
|
278
278
|
* @constructor
|
|
279
279
|
* @private
|
|
280
280
|
* @alias sap.ui.table.extensions.DragAndDrop
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
22
|
+
* @version 1.136.0
|
|
23
23
|
* @constructor
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.table.extensions.ExtensionBase
|