@openui5/sap.ui.table 1.134.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 +23 -23
- 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 +4 -4
- 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 +24 -33
- 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 +71 -113
- package/src/sap/ui/table/TablePersoController.js +2 -2
- package/src/sap/ui/table/TableRenderer.js +15 -16
- 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 +8 -7
- package/src/sap/ui/table/extensions/AccessibilityRender.js +3 -4
- 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 +157 -402
- package/src/sap/ui/table/extensions/Pointer.js +4 -6
- 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 +15 -36
- 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/messagebundle_bg.properties +1 -1
- package/src/sap/ui/table/plugins/BindingSelection.js +34 -34
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +38 -32
- package/src/sap/ui/table/plugins/ODataV4Selection.js +217 -101
- package/src/sap/ui/table/plugins/PluginBase.js +53 -140
- package/src/sap/ui/table/plugins/SelectionMode.js +35 -0
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +29 -36
- package/src/sap/ui/table/plugins/SelectionPlugin.js +36 -36
- package/src/sap/ui/table/plugins/V4Aggregation.js +31 -38
- 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 -4
- 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 +66 -48
- package/src/sap/ui/table/themes/base/CreationRow.less +10 -8
- package/src/sap/ui/table/themes/base/DragDrop.less +34 -31
- package/src/sap/ui/table/themes/base/Grouping.less +23 -14
- package/src/sap/ui/table/themes/base/Row.less +6 -6
- package/src/sap/ui/table/themes/base/RowAction.less +2 -2
- package/src/sap/ui/table/themes/base/RowHighlight.less +15 -15
- package/src/sap/ui/table/themes/base/RowSelection.less +13 -8
- package/src/sap/ui/table/themes/base/Scrolling.less +76 -25
- package/src/sap/ui/table/themes/base/Table.less +63 -46
- package/src/sap/ui/table/themes/base/library.source.less +4 -4
- package/src/sap/ui/table/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +6 -7
- 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
|
@@ -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.m:
|
|
8
8
|
|
|
9
|
-
Component: purify.js, version: 3.
|
|
9
|
+
Component: purify.js, version: 3.2.4
|
|
10
10
|
Copyright: Mario Heiderich
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -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
|
|
|
@@ -45,12 +45,12 @@ sap.ui.define([
|
|
|
45
45
|
* @param {object} [mSettings] initial settings for the new control
|
|
46
46
|
*
|
|
47
47
|
* @class
|
|
48
|
-
* Table
|
|
49
|
-
* correctly annotated OData services. Please check
|
|
48
|
+
* Table that handles analytical OData back-end scenarios. The <code>AnalyticalTable</code> only works with {@link sap.ui.model.analytics.AnalyticalBinding AnalyticalBinding} and
|
|
49
|
+
* correctly annotated OData services. Please check out the functionality of analytical binding and the SAP Annotations for OData Version 2.0 documentation for further details.
|
|
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
|
/**
|
|
@@ -347,10 +338,16 @@ sap.ui.define([
|
|
|
347
338
|
*/
|
|
348
339
|
Row.prototype._updateSelection = function() {
|
|
349
340
|
const oTable = this.getTable();
|
|
350
|
-
const
|
|
341
|
+
const bSelected = this._isSelected();
|
|
342
|
+
|
|
343
|
+
if (bSelected) {
|
|
344
|
+
this.addStyleClass("sapUiTableRowSel");
|
|
345
|
+
} else {
|
|
346
|
+
this.removeStyleClass("sapUiTableRowSel");
|
|
347
|
+
}
|
|
351
348
|
|
|
352
|
-
this._setSelected(bIsSelected);
|
|
353
349
|
oTable._getAccExtension().updateSelectionStateOfRow(this);
|
|
350
|
+
oTable._getSyncExtension?.().syncRowSelection(oTable.indexOfRow(this), bSelected);
|
|
354
351
|
};
|
|
355
352
|
|
|
356
353
|
Row.prototype.setRowBindingContext = function(oContext, oTable) {
|
|
@@ -633,25 +630,23 @@ sap.ui.define([
|
|
|
633
630
|
};
|
|
634
631
|
|
|
635
632
|
/**
|
|
636
|
-
* Sets the
|
|
633
|
+
* Sets the selected state of the row.
|
|
637
634
|
*
|
|
638
635
|
* @param {boolean} bSelected Whether the row should be selected.
|
|
639
636
|
* @private
|
|
640
637
|
*/
|
|
641
638
|
Row.prototype._setSelected = function(bSelected) {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
if (bSelected) {
|
|
645
|
-
this.addStyleClass("sapUiTableRowSel");
|
|
646
|
-
} else {
|
|
647
|
-
this.removeStyleClass("sapUiTableRowSel");
|
|
648
|
-
}
|
|
639
|
+
this.getTable()._getSelectionPlugin().setSelected(this, bSelected);
|
|
640
|
+
};
|
|
649
641
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
642
|
+
/**
|
|
643
|
+
* Checks if the row is selected.
|
|
644
|
+
*
|
|
645
|
+
* @returns {boolean} Whether the row is selected.
|
|
646
|
+
* @private
|
|
647
|
+
*/
|
|
648
|
+
Row.prototype._isSelected = function() {
|
|
649
|
+
return this.getTable()._getSelectionPlugin().isSelected(this);
|
|
655
650
|
};
|
|
656
651
|
|
|
657
652
|
/**
|
|
@@ -669,11 +664,7 @@ sap.ui.define([
|
|
|
669
664
|
this.removeStyleClass("sapUiTableRowHvr");
|
|
670
665
|
}
|
|
671
666
|
|
|
672
|
-
|
|
673
|
-
TableUtils.dynamicCall(oTable._getSyncExtension, function(oSyncExtension) {
|
|
674
|
-
oSyncExtension.syncRowHover(oTable.indexOfRow(this), bHovered);
|
|
675
|
-
}, this);
|
|
676
|
-
}
|
|
667
|
+
oTable._getSyncExtension?.().syncRowHover(oTable.indexOfRow(this), bHovered);
|
|
677
668
|
};
|
|
678
669
|
|
|
679
670
|
/**
|
|
@@ -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
|