@openui5/sap.f 1.124.1 → 1.125.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/dep5 +5 -0
- package/THIRDPARTY.txt +7 -0
- package/package.json +4 -4
- package/src/sap/f/.library +1 -1
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +1 -1
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/AvatarGroupRenderer.js +11 -4
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +1 -1
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +28 -1
- package/src/sap/f/DynamicPage.js +1 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +1 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
package/.reuse/dep5
CHANGED
|
@@ -50,6 +50,11 @@ Copyright: Mario Heiderich
|
|
|
50
50
|
License: Apache-2.0
|
|
51
51
|
Comment: these files belong to: purify.js
|
|
52
52
|
|
|
53
|
+
Files: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
54
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
55
|
+
License: MIT
|
|
56
|
+
Comment: these files belong to: QUnit Composite 2.0.0
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
# Library: sap.ui.codeeditor:
|
|
55
60
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -12,6 +12,13 @@ License: Apache-2.0
|
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
13
|
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
14
|
|
|
15
|
+
Component: QUnit Composite 2.0.0, version: 2.0.0
|
|
16
|
+
Copyright: jQuery Foundation and other contributors, https://jquery.org/
|
|
17
|
+
License: MIT
|
|
18
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
19
|
+
Contained in: src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.css
|
|
20
|
+
src/sap.m/test/sap/m/qunit/_thirdparty/qunit-composite.js
|
|
21
|
+
|
|
15
22
|
|
|
16
23
|
Library: sap.ui.codeeditor:
|
|
17
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.125.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,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/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.125.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.125.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.125.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 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.125.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with Fiori controls.</documentation>
|
|
12
12
|
|
package/src/sap/f/Avatar.js
CHANGED
package/src/sap/f/AvatarGroup.js
CHANGED
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.f.AvatarGroupRenderer
|
|
8
|
-
sap.ui.define([
|
|
9
|
-
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/m/AvatarSize",
|
|
10
|
+
"./library"],
|
|
11
|
+
function (AvatarSize, library) {
|
|
10
12
|
"use strict";
|
|
11
13
|
|
|
12
14
|
/**
|
|
@@ -33,7 +35,8 @@ sap.ui.define(["sap/m/AvatarSize"],
|
|
|
33
35
|
sAvatarGroupTypeClass = sAvatarGroupClass + sGroupType,
|
|
34
36
|
aItems = oAvatarGroup.getItems(),
|
|
35
37
|
bShowMoreButton = oAvatarGroup._shouldShowMoreButton(),
|
|
36
|
-
bInteractive = oAvatarGroup.getProperty("_interactive")
|
|
38
|
+
bInteractive = oAvatarGroup.getProperty("_interactive"),
|
|
39
|
+
sTooltip = oAvatarGroup.getTooltip_AsString();
|
|
37
40
|
|
|
38
41
|
oRm.openStart("div", oAvatarGroup)
|
|
39
42
|
.class(sAvatarGroupClass)
|
|
@@ -52,7 +55,7 @@ sap.ui.define(["sap/m/AvatarSize"],
|
|
|
52
55
|
oRm.style("width", "auto");
|
|
53
56
|
}
|
|
54
57
|
|
|
55
|
-
if (sGroupType ===
|
|
58
|
+
if (sGroupType === library.AvatarGroupType.Group) {
|
|
56
59
|
oRm.attr("role", "button");
|
|
57
60
|
}
|
|
58
61
|
|
|
@@ -63,6 +66,10 @@ sap.ui.define(["sap/m/AvatarSize"],
|
|
|
63
66
|
oRm.style("line-height", sAvatarCustomDisplaySize);
|
|
64
67
|
}
|
|
65
68
|
|
|
69
|
+
if (sTooltip && sGroupType === library.AvatarGroupType.Group) {
|
|
70
|
+
oRm.attr("title", sTooltip);
|
|
71
|
+
}
|
|
72
|
+
|
|
66
73
|
oRm.openEnd();
|
|
67
74
|
|
|
68
75
|
for (var i = 0; i < oAvatarGroup._iAvatarsToShow; i++) {
|
package/src/sap/f/Card.js
CHANGED
package/src/sap/f/CardBase.js
CHANGED
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.125.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -244,13 +244,20 @@ sap.ui.define([
|
|
|
244
244
|
*/
|
|
245
245
|
CardBase.prototype._getAriaLabelledIds = function () {
|
|
246
246
|
var oHeader = this.getCardHeader();
|
|
247
|
+
const sBlockingMessageAriaLabelsIds = this._getBlockingMessageAriaLabelledByIds();
|
|
247
248
|
|
|
248
249
|
if (oHeader) {
|
|
249
250
|
if (this._isInsideGridContainer()) {
|
|
251
|
+
if (sBlockingMessageAriaLabelsIds) {
|
|
252
|
+
return oHeader._getAriaLabelledBy() + " " + sBlockingMessageAriaLabelsIds;
|
|
253
|
+
}
|
|
250
254
|
return oHeader._getAriaLabelledBy();
|
|
251
255
|
}
|
|
252
256
|
|
|
253
257
|
if (oHeader._getTitle && oHeader._getTitle()) {
|
|
258
|
+
if (sBlockingMessageAriaLabelsIds) {
|
|
259
|
+
return oHeader._getTitle().getId() + " " + sBlockingMessageAriaLabelsIds;
|
|
260
|
+
}
|
|
254
261
|
return oHeader._getTitle().getId();
|
|
255
262
|
}
|
|
256
263
|
}
|
|
@@ -258,6 +265,26 @@ sap.ui.define([
|
|
|
258
265
|
return this._ariaText.getId();
|
|
259
266
|
};
|
|
260
267
|
|
|
268
|
+
/**
|
|
269
|
+
* Gets the ids of the elements in the illustrated message that have to be labelled.
|
|
270
|
+
*
|
|
271
|
+
* @return {string} sAriaLabelledBy ids of elements that have to be labelled
|
|
272
|
+
* @private
|
|
273
|
+
*/
|
|
274
|
+
CardBase.prototype._getBlockingMessageAriaLabelledByIds = function () {
|
|
275
|
+
if (!this.getCardContent()?.getAggregation("_blockingMessage")) {
|
|
276
|
+
return "";
|
|
277
|
+
}
|
|
278
|
+
const oIllustration = this.getCardContent().getAggregation("_blockingMessage")._getIllustratedMessage();
|
|
279
|
+
const sTitleId = oIllustration._getTitle().sId;
|
|
280
|
+
const sDescriptionId = oIllustration._getDescription()?.sId;
|
|
281
|
+
|
|
282
|
+
if (oIllustration._getDescription().getText()) {
|
|
283
|
+
return sTitleId + " " + sDescriptionId;
|
|
284
|
+
}
|
|
285
|
+
return sTitleId;
|
|
286
|
+
};
|
|
287
|
+
|
|
261
288
|
/**
|
|
262
289
|
* Returns if the control is inside a sap.f.GridContainer
|
|
263
290
|
*
|
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
*
|
|
50
50
|
* For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
|
|
51
51
|
*
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.125.0
|
|
53
53
|
* @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
|
|
54
54
|
* The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
|
|
55
55
|
*
|
|
@@ -58,14 +58,14 @@ sap.ui.define([
|
|
|
58
58
|
* Can be used to define the sizes of columns and rows for different screen sizes, by using the <code>layout</code> aggregations of <code>sap.f.GridContainer</code>.
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.125.0
|
|
62
62
|
*
|
|
63
63
|
* @extends sap.ui.base.ManagedObject
|
|
64
64
|
*
|
|
65
65
|
* @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.125.0
|
|
69
69
|
*
|
|
70
70
|
* @since 1.65
|
|
71
71
|
* @public
|
package/src/sap/f/GridList.js
CHANGED
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
94
94
|
*
|
|
95
95
|
* @author SAP SE
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.125.0
|
|
97
97
|
*
|
|
98
98
|
* @extends sap.m.ListBase
|
|
99
99
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
package/src/sap/f/ShellBar.js
CHANGED
package/src/sap/f/SidePanel.js
CHANGED
package/src/sap/f/library.js
CHANGED
|
@@ -39,14 +39,14 @@ sap.ui.define([
|
|
|
39
39
|
* @namespace
|
|
40
40
|
* @alias sap.f
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.125.0
|
|
43
43
|
* @since 1.44
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
46
|
var thisLib = Library.init({
|
|
47
47
|
apiVersion: 2,
|
|
48
48
|
name : "sap.f",
|
|
49
|
-
version: "1.
|
|
49
|
+
version: "1.125.0",
|
|
50
50
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
51
51
|
designtime: "sap/f/designtime/library.designtime",
|
|
52
52
|
interfaces: [
|