@openui5/sap.f 1.143.0 → 1.144.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/THIRDPARTY.txt +1 -1
- package/package.json +5 -6
- package/src/sap/f/.library +2 -2
- package/src/sap/f/Avatar.js +2 -2
- package/src/sap/f/AvatarGroup.js +3 -3
- package/src/sap/f/AvatarGroupItem.js +2 -2
- package/src/sap/f/AvatarGroupItemRenderer.js +2 -2
- package/src/sap/f/AvatarGroupRenderer.js +2 -2
- package/src/sap/f/CalendarAppointmentInCard.js +2 -2
- package/src/sap/f/CalendarInCard.js +2 -2
- package/src/sap/f/CalendarInCardRenderer.js +1 -1
- package/src/sap/f/Card.js +2 -2
- package/src/sap/f/CardBase.js +76 -17
- package/src/sap/f/CardRenderer.js +2 -2
- package/src/sap/f/DynamicPage.js +31 -14
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +3 -3
- package/src/sap/f/DynamicPageHeader.js +2 -2
- package/src/sap/f/DynamicPageHeaderRenderer.js +1 -1
- package/src/sap/f/DynamicPageRenderer.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +3 -3
- package/src/sap/f/DynamicPageTitleRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutData.js +3 -3
- package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +3 -3
- package/src/sap/f/GridContainer.js +3 -3
- package/src/sap/f/GridContainerItemLayoutData.js +2 -2
- package/src/sap/f/GridContainerRenderer.js +1 -1
- package/src/sap/f/GridContainerSettings.js +3 -3
- package/src/sap/f/GridContainerUtils.js +1 -1
- package/src/sap/f/GridList.js +2 -2
- package/src/sap/f/GridListItem.js +2 -2
- package/src/sap/f/GridListItemRenderer.js +1 -1
- package/src/sap/f/GridListRenderer.js +1 -1
- package/src/sap/f/GridNavigationMatrix.js +1 -1
- package/src/sap/f/IllustratedMessage.js +2 -2
- package/src/sap/f/Illustration.js +2 -2
- package/src/sap/f/IllustrationPool.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +2 -2
- package/src/sap/f/PlanningCalendarInCardLegendRenderer.js +1 -1
- package/src/sap/f/ProductSwitch.js +2 -2
- package/src/sap/f/ProductSwitchItem.js +2 -2
- package/src/sap/f/ProductSwitchItemRenderer.js +1 -1
- package/src/sap/f/ProductSwitchRenderer.js +1 -1
- package/src/sap/f/SearchManager.js +2 -2
- package/src/sap/f/ShellBar.js +2 -2
- package/src/sap/f/ShellBarRenderer.js +1 -1
- package/src/sap/f/SidePanel.js +2 -2
- package/src/sap/f/SidePanelItem.js +2 -2
- package/src/sap/f/SidePanelRenderer.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +23 -6
- package/src/sap/f/cards/BaseHeaderRenderer.js +1 -1
- package/src/sap/f/cards/CardBadgeCustomData.js +1 -1
- package/src/sap/f/cards/Header.js +5 -3
- package/src/sap/f/cards/HeaderRenderer.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +8 -9
- package/src/sap/f/cards/NumericHeaderRenderer.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +2 -2
- package/src/sap/f/cards/NumericIndicatorsRenderer.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +2 -2
- package/src/sap/f/cards/NumericSideIndicatorRenderer.js +2 -2
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/AnalyticalPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/CalendarPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/GenericPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ListPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ObjectPlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +9 -3
- package/src/sap/f/cards/loading/PlaceholderBaseRenderer.js +6 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TablePlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TimelinePlaceholderRenderer.js +1 -1
- package/src/sap/f/cards/util/CardBadgeEnabler.js +1 -1
- package/src/sap/f/cards/util/addTooltipIfTruncated.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +2 -2
- package/src/sap/f/delegate/GridContainerItemNavigation.js +3 -3
- package/src/sap/f/delegate/GridItemNavigation.js +2 -2
- package/src/sap/f/designtime/Avatar.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPage.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageHeader.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageTitle.designtime.js +1 -1
- package/src/sap/f/designtime/GridContainer.designtime.js +1 -1
- package/src/sap/f/designtime/SemanticPage.designtime.js +1 -1
- package/src/sap/f/designtime/library.designtime.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +2 -2
- package/src/sap/f/dnd/GridDropInfo.js +2 -2
- package/src/sap/f/dnd/GridKeyboardDragAndDrop.js +2 -2
- package/src/sap/f/flexibility/Avatar.flexibility.js +1 -1
- package/src/sap/f/flexibility/DynamicPageTitle.flexibility.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +15 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +17 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +8 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +7 -1
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -1
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +8 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +10 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +17 -2
- package/src/sap/f/gen/ui5/webcomponents.js +342 -1
- package/src/sap/f/gen/ui5/webcomponents_base.js +34 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +10 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +6 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +10 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +12 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +5 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +13 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +10 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +3 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +6 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +6 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +6 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +21 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +8 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +8 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +11 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +5 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +10 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +12 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +3 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +217 -1
- package/src/sap/f/library.js +3 -3
- package/src/sap/f/library.support.js +1 -1
- package/src/sap/f/routing/Router.js +1 -1
- package/src/sap/f/routing/Target.js +4 -4
- package/src/sap/f/routing/TargetHandler.js +1 -1
- package/src/sap/f/routing/Targets.js +1 -1
- package/src/sap/f/rules/Avatar.support.js +1 -1
- package/src/sap/f/rules/DynamicPage.support.js +1 -1
- package/src/sap/f/semantic/AddAction.js +2 -2
- package/src/sap/f/semantic/CloseAction.js +2 -2
- package/src/sap/f/semantic/CopyAction.js +2 -2
- package/src/sap/f/semantic/DeleteAction.js +2 -2
- package/src/sap/f/semantic/DiscussInJamAction.js +2 -2
- package/src/sap/f/semantic/EditAction.js +2 -2
- package/src/sap/f/semantic/ExitFullScreenAction.js +2 -2
- package/src/sap/f/semantic/FavoriteAction.js +2 -2
- package/src/sap/f/semantic/FlagAction.js +2 -2
- package/src/sap/f/semantic/FooterMainAction.js +2 -2
- package/src/sap/f/semantic/FullScreenAction.js +2 -2
- package/src/sap/f/semantic/MainAction.js +2 -2
- package/src/sap/f/semantic/MessagesIndicator.js +2 -2
- package/src/sap/f/semantic/NegativeAction.js +2 -2
- package/src/sap/f/semantic/PositiveAction.js +2 -2
- package/src/sap/f/semantic/PrintAction.js +2 -2
- package/src/sap/f/semantic/SemanticButton.js +2 -2
- package/src/sap/f/semantic/SemanticConfiguration.js +2 -2
- package/src/sap/f/semantic/SemanticContainer.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +2 -2
- package/src/sap/f/semantic/SemanticFooter.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +4 -4
- package/src/sap/f/semantic/SemanticPageRenderer.js +1 -1
- package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
- package/src/sap/f/semantic/SemanticTitle.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +2 -2
- package/src/sap/f/semantic/SendEmailAction.js +2 -2
- package/src/sap/f/semantic/SendMessageAction.js +2 -2
- package/src/sap/f/semantic/ShareInJamAction.js +2 -2
- package/src/sap/f/semantic/TitleMainAction.js +2 -2
- package/src/sap/f/shellBar/Accessibility.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +2 -2
- package/src/sap/f/shellBar/CoPilot.js +2 -2
- package/src/sap/f/shellBar/CoPilotRenderer.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +2 -2
- package/src/sap/f/shellBar/ControlSpacerRenderer.js +1 -1
- package/src/sap/f/shellBar/Factory.js +1 -1
- package/src/sap/f/shellBar/ResponsiveHandler.js +1 -1
- package/src/sap/f/shellBar/Search.js +2 -2
- package/src/sap/f/shellBar/SearchRenderer.js +1 -1
- package/src/sap/f/themes/base/CardHeaders.less +2 -2
- package/src/sap/f/themes/base/ObjectPlaceholder.less +1 -0
- package/src/sap/f/themes/base/ProductSwitchItem.less +1 -1
- package/src/sap/f/themes/base/library.source.less +1 -1
- package/src/sap/f/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/f/thirdparty/webcomponents.js +1 -1
- package/ui5-build.yaml +3 -0
package/THIRDPARTY.txt
CHANGED
|
@@ -202,7 +202,7 @@ License: Apache-2.0
|
|
|
202
202
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
203
203
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
204
204
|
|
|
205
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
205
|
+
Component: Unicode Common Locale Data Repository, version: 48.0.0
|
|
206
206
|
Copyright: 1991-2024 Unicode, Inc.
|
|
207
207
|
License: LicenseRef-Unicode-3.0
|
|
208
208
|
License Text: https://github.com/UI5/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.144.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.f",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://github.com/UI5/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.144.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.144.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.144.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@ui5/webcomponents": "2.15.0",
|
|
@@ -24,9 +24,8 @@
|
|
|
24
24
|
"@ui5/webcomponents-icons": "2.15.0",
|
|
25
25
|
"@ui5/webcomponents-icons-business-suite": "2.15.0",
|
|
26
26
|
"@ui5/webcomponents-icons-tnt": "2.15.0",
|
|
27
|
-
"@ui5/cli": "4.0.33",
|
|
28
27
|
"fs-extra": "11.3.2",
|
|
29
|
-
"ui5-tooling-modules": "3.33.
|
|
28
|
+
"ui5-tooling-modules": "3.33.7"
|
|
30
29
|
},
|
|
31
30
|
"scripts": {
|
|
32
31
|
"build-webcomponents": "ui5 build --dest ./src/sap/f --output-style flat --config ui5-build.yaml --exclude-task \\* --include-task ui5-tooling-modules-task",
|
package/src/sap/f/.library
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.f</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright
|
|
7
|
+
* (c) Copyright 2026 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.144.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with Fiori controls.</documentation>
|
|
12
12
|
|
package/src/sap/f/Avatar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.m.Avatar
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.144.0
|
|
45
45
|
*
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
package/src/sap/f/AvatarGroup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
* @extends sap.ui.core.Control
|
|
101
101
|
*
|
|
102
102
|
* @author SAP SE
|
|
103
|
-
* @version 1.
|
|
103
|
+
* @version 1.144.0
|
|
104
104
|
*
|
|
105
105
|
* @constructor
|
|
106
106
|
* @public
|
|
@@ -545,7 +545,7 @@ sap.ui.define([
|
|
|
545
545
|
/**
|
|
546
546
|
* Adjustes the number of <code>Avatars</code> to be shown in case ShowMoreButton is visible
|
|
547
547
|
*
|
|
548
|
-
* @param {int} iAvatarGroupItems - the number of <code>sap.f.
|
|
548
|
+
* @param {int} iAvatarGroupItems - the number of <code>sap.f.AvatarGroupItem</code>s
|
|
549
549
|
* @private
|
|
550
550
|
*/
|
|
551
551
|
AvatarGroup.prototype._adjustAvatarsToShow = function (iAvatarGroupItems) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 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
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.144.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Provides default renderer for control sap.f.
|
|
7
|
+
// Provides default renderer for control sap.f.AvatarGroupItem
|
|
8
8
|
sap.ui.define(["sap/f/library"],
|
|
9
9
|
function (library) {
|
|
10
10
|
"use strict";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
// Provides default renderer for control sap.f.
|
|
7
|
+
// Provides default renderer for control sap.f.AvatarGroup
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/m/AvatarSize",
|
|
10
10
|
"./library"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
//Provides control sap.f.CalendarInCard.
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* This calendar appointment is used in card content of type Calendar.
|
|
22
22
|
*
|
|
23
23
|
* @extends sap.ui.unified.CalendarAppointment
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.144.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
//Provides control sap.f.CalendarInCard.
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* <code>sap.m.Toolbar</code> with <code>sap.m.Buttons</code>.
|
|
46
46
|
*
|
|
47
47
|
* @extends sap.ui.unified.Calendar
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.144.0
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @private
|
package/src/sap/f/Card.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -71,7 +71,7 @@ sap.ui.define([
|
|
|
71
71
|
* @extends sap.f.CardBase
|
|
72
72
|
*
|
|
73
73
|
* @author SAP SE
|
|
74
|
-
* @version 1.
|
|
74
|
+
* @version 1.144.0
|
|
75
75
|
*
|
|
76
76
|
* @constructor
|
|
77
77
|
* @public
|
package/src/sap/f/CardBase.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -41,13 +41,13 @@ sap.ui.define([
|
|
|
41
41
|
* @extends sap.ui.core.Control
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.144.0
|
|
45
45
|
*
|
|
46
46
|
* @constructor
|
|
47
47
|
* @public
|
|
48
48
|
* @alias sap.f.CardBase
|
|
49
49
|
*/
|
|
50
|
-
var CardBase = Control.extend("sap.f.CardBase", /** @lends sap.f.
|
|
50
|
+
var CardBase = Control.extend("sap.f.CardBase", /** @lends sap.f.CardBase.prototype */ {
|
|
51
51
|
metadata: {
|
|
52
52
|
library: "sap.f",
|
|
53
53
|
interfaces: [
|
|
@@ -285,31 +285,81 @@ sap.ui.define([
|
|
|
285
285
|
/**
|
|
286
286
|
* Gets the ids of the elements labelling the Card container.
|
|
287
287
|
*
|
|
288
|
-
* @return {string}
|
|
288
|
+
* @return {string|undefined} IDs of elements that label the card, or undefined if no labelling is needed
|
|
289
289
|
* @private
|
|
290
290
|
*/
|
|
291
291
|
CardBase.prototype._getAriaLabelledIds = function () {
|
|
292
292
|
var oHeader = this.getCardHeader();
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
var bIsHeaderVisible = this.isHeaderVisible(oHeader);
|
|
294
|
+
var bIsListItem = this.isRoleListItem();
|
|
295
|
+
|
|
296
|
+
// Tile-like link variant cards don't need aria-labelledby when not in a list
|
|
297
|
+
if (this.isTileDisplayVariant() && this._getActualRole() === SemanticRole.Region) {
|
|
298
|
+
return undefined;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
// For tile-like variant list items, point to the focusable header
|
|
302
|
+
if (bIsHeaderVisible && this.isTileDisplayVariant() && bIsListItem) {
|
|
303
|
+
return oHeader.getFocusableHeaderId();
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// FIXME: Blocking message labelling is currently not working. Card is already renderd when blocking messsage is set. sBlockingMessageIds is always empty.
|
|
307
|
+
var sBlockingMessageIds = this._getBlockingMessageAriaLabelledByIds();
|
|
308
|
+
|
|
309
|
+
if (bIsHeaderVisible) {
|
|
295
310
|
if (oHeader._getTitle && oHeader._getTitle()) {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
return oHeader._getTitle().getId();
|
|
300
|
-
}
|
|
301
|
-
} else if (oHeader?.getTitle()) {
|
|
302
|
-
if (!this._invisibleTitle) {
|
|
303
|
-
this._invisibleTitle = new InvisibleText({ id: this.getId() + "-invisibleTitle" });
|
|
311
|
+
const sTitleId = oHeader._getTitle().getId();
|
|
312
|
+
return sBlockingMessageIds ? sTitleId + " " + sBlockingMessageIds : sTitleId;
|
|
304
313
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
return this._invisibleTitle.getId();
|
|
314
|
+
} else if (oHeader?._getTitle && oHeader.getTitle()) {
|
|
315
|
+
return this._getInvisibleTitleId(oHeader.getTitle());
|
|
308
316
|
}
|
|
309
317
|
|
|
310
318
|
return this._ariaText.getId();
|
|
311
319
|
};
|
|
312
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Checks if the card header is visible
|
|
323
|
+
*
|
|
324
|
+
* @param {sap.f.cards.IHeader} oHeader The card header
|
|
325
|
+
* @return {boolean} True if the card header is visible
|
|
326
|
+
* @private
|
|
327
|
+
*/
|
|
328
|
+
CardBase.prototype.isHeaderVisible = function (oHeader) {
|
|
329
|
+
return !!(oHeader &&
|
|
330
|
+
oHeader.getVisible());
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Gets the aria role of the card.
|
|
335
|
+
*
|
|
336
|
+
* @ui5-restricted
|
|
337
|
+
* @private
|
|
338
|
+
* @returns {string|undefined} The aria role of the card.
|
|
339
|
+
*/
|
|
340
|
+
CardBase.prototype.getAriaRole = function () {
|
|
341
|
+
if (this.isTileDisplayVariant() && this._getActualRole() === SemanticRole.Region) {
|
|
342
|
+
//no role for card like tiles in a non-list context
|
|
343
|
+
return undefined;
|
|
344
|
+
}
|
|
345
|
+
return this._getActualRole().toLowerCase();
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Gets an invisible text control for the card title.
|
|
350
|
+
*
|
|
351
|
+
* @param {string} sTitle The title text
|
|
352
|
+
* @return {string} ID of the invisible text control
|
|
353
|
+
* @private
|
|
354
|
+
*/
|
|
355
|
+
CardBase.prototype._getInvisibleTitleId = function (sTitle) {
|
|
356
|
+
if (!this._invisibleTitle) {
|
|
357
|
+
this._invisibleTitle = new InvisibleText({ id: this.getId() + "-invisibleTitle" });
|
|
358
|
+
}
|
|
359
|
+
this._invisibleTitle.setText(sTitle);
|
|
360
|
+
return this._invisibleTitle.getId();
|
|
361
|
+
};
|
|
362
|
+
|
|
313
363
|
/**
|
|
314
364
|
* @private
|
|
315
365
|
* @ui5-restricted sap.f
|
|
@@ -511,6 +561,15 @@ sap.ui.define([
|
|
|
511
561
|
return this._sGridItemRole;
|
|
512
562
|
};
|
|
513
563
|
|
|
564
|
+
/**
|
|
565
|
+
* Returns the actual role of the card, depending on whether it is placed inside a grid container or not.
|
|
566
|
+
* @returns {string} The actual role of the card.
|
|
567
|
+
* @private
|
|
568
|
+
*/
|
|
569
|
+
CardBase.prototype._getActualRole = function () {
|
|
570
|
+
return this.getGridItemRole() || this.getSemanticRole();
|
|
571
|
+
};
|
|
572
|
+
|
|
514
573
|
CardBase.prototype.isRoleListItem = function () {
|
|
515
574
|
return (this.getSemanticRole() === SemanticRole.ListItem) || this.getGridItemRole();
|
|
516
575
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -102,7 +102,7 @@ sap.ui.define([
|
|
|
102
102
|
bHasContent = !!oContent,
|
|
103
103
|
bCardHeaderBottom = bHasHeader && oCard.getCardHeaderPosition() === HeaderPosition.Bottom,
|
|
104
104
|
sTooltip = oCard.getTooltip_AsString(),
|
|
105
|
-
sAriaRole = oCard.
|
|
105
|
+
sAriaRole = oCard.getAriaRole();
|
|
106
106
|
|
|
107
107
|
oRm.class("sapFCard")
|
|
108
108
|
.style("width", oCard.getWidth());
|
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
* @extends sap.ui.core.Control
|
|
119
119
|
*
|
|
120
120
|
* @author SAP SE
|
|
121
|
-
* @version 1.
|
|
121
|
+
* @version 1.144.0
|
|
122
122
|
*
|
|
123
123
|
* @constructor
|
|
124
124
|
* @public
|
|
@@ -674,16 +674,31 @@ sap.ui.define([
|
|
|
674
674
|
this._headerBiggerThanAllowedHeight = this._headerBiggerThanAllowedToBeFixed();
|
|
675
675
|
bChange = bOldValue !== this._headerBiggerThanAllowedHeight;
|
|
676
676
|
|
|
677
|
-
if (!
|
|
677
|
+
if (!bChange) {
|
|
678
678
|
return;
|
|
679
679
|
}
|
|
680
|
-
|
|
680
|
+
|
|
681
|
+
this._repositionHeaderBasedOnHeight();
|
|
682
|
+
|
|
683
|
+
this._adjustStickyContent();
|
|
684
|
+
this._updateTitlePositioning();
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
DynamicPage.prototype._repositionHeaderBasedOnHeight = function () {
|
|
688
|
+
var bMoveHeaderToContent = this._headerBiggerThanAllowedHeight;
|
|
681
689
|
if (this.getHeaderExpanded()) {
|
|
690
|
+
this._repositionExpandedHeader(bMoveHeaderToContent);
|
|
691
|
+
} else {
|
|
692
|
+
this._repositionSnappedHeader(); // will automatically move to content if possible
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
DynamicPage.prototype._repositionExpandedHeader = function (bMoveHeaderToContent) {
|
|
697
|
+
if (bMoveHeaderToContent) {
|
|
682
698
|
this._moveHeaderToContentArea();
|
|
683
699
|
} else {
|
|
684
|
-
this.
|
|
700
|
+
this._moveHeaderToTitleArea();
|
|
685
701
|
}
|
|
686
|
-
this._updateTitlePositioning();
|
|
687
702
|
};
|
|
688
703
|
|
|
689
704
|
/**
|
|
@@ -820,9 +835,8 @@ sap.ui.define([
|
|
|
820
835
|
"sapFDynamicPageTitleSnappedTitleOnMobile" : "sapFDynamicPageTitleSnapped");
|
|
821
836
|
this._updateToggleHeaderVisualIndicators();
|
|
822
837
|
this._togglePinButtonVisibility(false);
|
|
823
|
-
this._updateTitlePositioning();
|
|
824
838
|
}
|
|
825
|
-
|
|
839
|
+
this._updateTitlePositioning();
|
|
826
840
|
this._toggleHeaderInTabChain(false);
|
|
827
841
|
this._updateARIAStates(false);
|
|
828
842
|
this._toggleHeaderBackground(true);
|
|
@@ -863,9 +877,8 @@ sap.ui.define([
|
|
|
863
877
|
if (!this.getPreserveHeaderStateOnScroll() && !this._headerBiggerThanAllowedToPin()) {
|
|
864
878
|
this._togglePinButtonVisibility(true);
|
|
865
879
|
}
|
|
866
|
-
this._updateTitlePositioning();
|
|
867
880
|
}
|
|
868
|
-
|
|
881
|
+
this._updateTitlePositioning();
|
|
869
882
|
this._toggleHeaderInTabChain(true);
|
|
870
883
|
this._updateARIAStates(true);
|
|
871
884
|
this._toggleHeaderBackground(false);
|
|
@@ -1266,7 +1279,7 @@ sap.ui.define([
|
|
|
1266
1279
|
*/
|
|
1267
1280
|
DynamicPage.prototype._needsVerticalScrollBar = function () {
|
|
1268
1281
|
return this._isContentOverflowingScrollContainer()
|
|
1269
|
-
|| this.
|
|
1282
|
+
|| this.isContentOverflowingIntoFooter();
|
|
1270
1283
|
};
|
|
1271
1284
|
|
|
1272
1285
|
DynamicPage.prototype._isContentOverflowingScrollContainer = function () {
|
|
@@ -1281,6 +1294,10 @@ sap.ui.define([
|
|
|
1281
1294
|
&& this.$contentFitContainer[0].scrollHeight > this.$contentFitContainer[0].clientHeight;
|
|
1282
1295
|
};
|
|
1283
1296
|
|
|
1297
|
+
DynamicPage.prototype.isContentOverflowingIntoFooter = function () {
|
|
1298
|
+
return this.getShowFooter() && this._isContentOverflowingFullscreenContainer();
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1284
1301
|
/**
|
|
1285
1302
|
* Retrieves the height of the <code>DynamicPage</code> control.
|
|
1286
1303
|
* @returns {number}
|
|
@@ -1789,7 +1806,7 @@ sap.ui.define([
|
|
|
1789
1806
|
* (2) snapping with hiding the header - when not enough content is available to allow snap header on scroll
|
|
1790
1807
|
* @private
|
|
1791
1808
|
*/
|
|
1792
|
-
DynamicPage.prototype.
|
|
1809
|
+
DynamicPage.prototype._repositionSnappedHeader = function () {
|
|
1793
1810
|
var oDynamicPageHeader,
|
|
1794
1811
|
bIsSnapped,
|
|
1795
1812
|
bCanSnapWithScroll,
|
|
@@ -1898,7 +1915,7 @@ sap.ui.define([
|
|
|
1898
1915
|
this._toggleScrollingStyles(bNeedsVerticalScrollBar);
|
|
1899
1916
|
}
|
|
1900
1917
|
|
|
1901
|
-
this.
|
|
1918
|
+
this._repositionSnappedHeader();
|
|
1902
1919
|
|
|
1903
1920
|
if (!this._bExpandingWithAClick) {
|
|
1904
1921
|
this._updateTitlePositioning();
|
|
@@ -1938,7 +1955,7 @@ sap.ui.define([
|
|
|
1938
1955
|
|
|
1939
1956
|
this._expandHeaderIfNeeded(oEvent);
|
|
1940
1957
|
|
|
1941
|
-
this.
|
|
1958
|
+
this._repositionSnappedHeader();
|
|
1942
1959
|
this._updateTitlePositioning();
|
|
1943
1960
|
this._updateMedia(iCurrentWidth);
|
|
1944
1961
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -23,14 +23,14 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.144.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
|
30
30
|
* @alias sap.f.DynamicPageAccessibleLandmarkInfo
|
|
31
31
|
* @since 1.61
|
|
32
32
|
*/
|
|
33
|
-
var DynamicPageAccessibleLandmarkInfo = Element.extend("sap.f.DynamicPageAccessibleLandmarkInfo", /** @lends sap.f.
|
|
33
|
+
var DynamicPageAccessibleLandmarkInfo = Element.extend("sap.f.DynamicPageAccessibleLandmarkInfo", /** @lends sap.f.DynamicPageAccessibleLandmarkInfo.prototype */ { metadata : {
|
|
34
34
|
|
|
35
35
|
library : "sap.f",
|
|
36
36
|
properties : {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @extends sap.ui.core.Control
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.144.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -95,7 +95,7 @@ sap.ui.define([
|
|
|
95
95
|
* @extends sap.ui.core.Control
|
|
96
96
|
*
|
|
97
97
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
98
|
+
* @version 1.144.0
|
|
99
99
|
*
|
|
100
100
|
* @constructor
|
|
101
101
|
* @public
|
|
@@ -1251,7 +1251,7 @@ sap.ui.define([
|
|
|
1251
1251
|
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Lazily retrieves the <code>snappedTitleOnMobileIcon</code> aggregation.
|
|
1254
|
-
* @returns {sap.
|
|
1254
|
+
* @returns {sap.ui.core.Icon}
|
|
1255
1255
|
* @private
|
|
1256
1256
|
*/
|
|
1257
1257
|
DynamicPageTitle.prototype._getSnappedTitleOnMobileIcon = function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
*
|
|
109
109
|
* @extends sap.ui.core.Control
|
|
110
110
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.144.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.144.0
|
|
26
26
|
* @since 1.95
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -17,11 +17,11 @@ sap.ui.define(["sap/ui/core/LayoutData", "sap/ui/base/ManagedObjectObserver", "s
|
|
|
17
17
|
*
|
|
18
18
|
* @class
|
|
19
19
|
* Holds layout data for <code>sap.f.FlexibleColumnLayout</code>.
|
|
20
|
-
* Allows LayoutData of type <code>sap.f.FlexibleColumnLayoutDataForDesktop</code> or <code>sap.f.
|
|
20
|
+
* Allows LayoutData of type <code>sap.f.FlexibleColumnLayoutDataForDesktop</code> or <code>sap.f.FlexibleColumnLayoutDataForTablet</code>
|
|
21
21
|
*
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.144.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
27
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 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(['sap/ui/core/LayoutData'],
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
*
|
|
25
25
|
* @extends sap.ui.core.LayoutData
|
|
26
26
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 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(['sap/ui/core/LayoutData'],
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.144.0
|
|
24
24
|
*
|
|
25
25
|
* @extends sap.ui.core.LayoutData
|
|
26
26
|
*
|