@openui5/sap.f 1.108.1 → 1.109.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 +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 +2 -5
- 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 +1 -1
- package/src/sap/f/DynamicPage.js +2 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +2 -2
- package/src/sap/f/DynamicPageTitle.js +2 -2
- 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/GridContainerRenderer.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridContainerUtils.js +4 -4
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/GridNavigationMatrix.js +2 -2
- 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 -49
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/ProductSwitchItemRenderer.js +0 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +391 -84
- package/src/sap/f/SidePanelItem.js +1 -2
- package/src/sap/f/SidePanelRenderer.js +62 -19
- package/src/sap/f/cards/BaseHeader.js +10 -12
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/HeaderRenderer.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +10 -2
- package/src/sap/f/cards/NumericIndicators.js +10 -2
- package/src/sap/f/cards/NumericIndicatorsRenderer.js +6 -3
- 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 +4 -5
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +5 -5
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +5 -5
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +6 -6
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +19 -41
- package/src/sap/f/delegate/GridItemNavigation.js +7 -17
- package/src/sap/f/dnd/GridDragOver.js +10 -4
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/messagebundle.properties +11 -0
- package/src/sap/f/messagebundle_en_US_saprigi.properties +7 -0
- 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 +3 -7
- 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/CoPilotRenderer.js +11 -6
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/GridList.less +4 -0
- package/src/sap/f/themes/base/SidePanel.less +189 -29
package/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.1.44
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.109.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.109.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.109.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.109.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 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.109.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,13 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.f.AvatarGroupRenderer
|
|
8
|
-
sap.ui.define(["sap/
|
|
9
|
-
function (
|
|
8
|
+
sap.ui.define(["sap/m/AvatarSize"],
|
|
9
|
+
function (AvatarSize) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
|
-
// shortcut for sap.f.AvatarSize
|
|
13
|
-
var AvatarSize = library.AvatarSize;
|
|
14
|
-
|
|
15
12
|
/**
|
|
16
13
|
* <code>AvatarGroup</code> renderer.
|
|
17
14
|
* @author SAP SE
|
package/src/sap/f/Card.js
CHANGED
package/src/sap/f/CardBase.js
CHANGED
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -108,7 +108,7 @@ sap.ui.define([
|
|
|
108
108
|
* @extends sap.ui.core.Control
|
|
109
109
|
*
|
|
110
110
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.109.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
|
@@ -408,6 +408,7 @@ sap.ui.define([
|
|
|
408
408
|
this._oHeaderObserver = null;
|
|
409
409
|
this._oSubHeaderAfterRenderingDelegate = {onAfterRendering: function() {
|
|
410
410
|
this._bStickySubheaderInTitleArea = false; // reset the flag as the stickySubHeader is freshly rerendered with the iconTabBar
|
|
411
|
+
this._cacheDomElements();
|
|
411
412
|
this._adjustStickyContent();
|
|
412
413
|
}};
|
|
413
414
|
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* @extends sap.ui.core.Control
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.109.0
|
|
62
62
|
*
|
|
63
63
|
* @constructor
|
|
64
64
|
* @public
|
|
@@ -309,7 +309,7 @@ sap.ui.define([
|
|
|
309
309
|
* @private
|
|
310
310
|
*/
|
|
311
311
|
DynamicPageHeader.prototype._focusCollapseButton = function () {
|
|
312
|
-
var sTextToAnnounce =
|
|
312
|
+
var sTextToAnnounce = DynamicPageHeader._getResourceBundle().getText("EXPANDED_HEADER");
|
|
313
313
|
this._getCollapseButton().$().trigger("focus");
|
|
314
314
|
this._oInvisibleMessage.announce(sTextToAnnounce, InvisibleMessageMode.Polite);
|
|
315
315
|
};
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @extends sap.ui.core.Control
|
|
90
90
|
*
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.109.0
|
|
93
93
|
*
|
|
94
94
|
* @constructor
|
|
95
95
|
* @public
|
|
@@ -1205,7 +1205,7 @@ sap.ui.define([
|
|
|
1205
1205
|
* @private
|
|
1206
1206
|
*/
|
|
1207
1207
|
DynamicPageTitle.prototype._focusExpandButton = function () {
|
|
1208
|
-
var sTextToAnnounce = this.
|
|
1208
|
+
var sTextToAnnounce = this._oRB.getText("SNAPPED_HEADER");
|
|
1209
1209
|
this._getExpandButton().$().trigger("focus");
|
|
1210
1210
|
this._oInvisibleMessage.announce(sTextToAnnounce, InvisibleMessageMode.Polite);
|
|
1211
1211
|
};
|
|
@@ -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.109.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,7 +58,7 @@ sap.ui.define([], function () {
|
|
|
58
58
|
|
|
59
59
|
oRM.openEnd();
|
|
60
60
|
|
|
61
|
-
this.renderDummyArea(oRM, sId, "before", -1);
|
|
61
|
+
this.renderDummyArea(oRM, sId, "before", aItems.length > 0 ? 0 : -1);
|
|
62
62
|
|
|
63
63
|
aItems.forEach(function (oItem, iIndex) {
|
|
64
64
|
this.renderItem(oRM, oItem, oControl, iIndex);
|
|
@@ -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.109.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.109.0
|
|
69
69
|
*
|
|
70
70
|
* @experimental Since 1.65 This class is experimental. The API may change.
|
|
71
71
|
* @since 1.65
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/base/Log",
|
|
8
|
-
"sap/ui/core/
|
|
9
|
-
"sap/ui/
|
|
10
|
-
], function (Log,
|
|
8
|
+
"sap/ui/core/Element",
|
|
9
|
+
"sap/ui/core/InvisibleRenderer"
|
|
10
|
+
], function (Log, Element, InvisibleRenderer) {
|
|
11
11
|
"use strict";
|
|
12
12
|
|
|
13
13
|
return {
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
return fnMatch(oItemWrapper, a);
|
|
75
75
|
})
|
|
76
76
|
.map(function (oGrid) {
|
|
77
|
-
var oNextGrid =
|
|
77
|
+
var oNextGrid = Element.closestTo(oGrid);
|
|
78
78
|
var oCfg = this.createConfig(oNextGrid, this._findClosest(oItem, oNextGrid.getItems()), oItem, fnMatch);
|
|
79
79
|
oCfg.distFromItemToGrid = this._getDistance(oItem, oNextGrid, fnMatch);
|
|
80
80
|
return oCfg;
|
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.109.0
|
|
97
97
|
*
|
|
98
98
|
* @extends sap.m.ListBase
|
|
99
99
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -79,7 +79,7 @@ sap.ui.define([], function () {
|
|
|
79
79
|
|
|
80
80
|
fSumRows += oLayoutSizes.rowGap;
|
|
81
81
|
|
|
82
|
-
if (fBottomOffsetInGrid
|
|
82
|
+
if (Math.round(fBottomOffsetInGrid) <= Math.round(fSumRows)) {
|
|
83
83
|
iEndRow = i + 1;
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
@@ -108,7 +108,7 @@ sap.ui.define([], function () {
|
|
|
108
108
|
|
|
109
109
|
fSumCols += oLayoutSizes.columnGap;
|
|
110
110
|
|
|
111
|
-
if (fRightOffsetInGrid <= fSumCols) {
|
|
111
|
+
if (Math.round(fRightOffsetInGrid) <= Math.round(fSumCols)) {
|
|
112
112
|
iEndCol = i + 1;
|
|
113
113
|
break;
|
|
114
114
|
}
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/core/Core",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
-
'sap/ui/core/delegate/ItemNavigation',
|
|
12
11
|
"sap/f/GridContainer",
|
|
13
12
|
"sap/f/GridContainerSettings",
|
|
14
13
|
"sap/f/ProductSwitchItem",
|
|
@@ -17,7 +16,6 @@ sap.ui.define([
|
|
|
17
16
|
function (
|
|
18
17
|
Core,
|
|
19
18
|
Control,
|
|
20
|
-
ItemNavigation,
|
|
21
19
|
GridContainer,
|
|
22
20
|
GridContainerSettings,
|
|
23
21
|
ProductSwitchItem,
|
|
@@ -36,7 +34,7 @@ sap.ui.define([
|
|
|
36
34
|
* @extends sap.ui.core.Control
|
|
37
35
|
*
|
|
38
36
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
37
|
+
* @version 1.109.0
|
|
40
38
|
*
|
|
41
39
|
* @constructor
|
|
42
40
|
* @public
|
|
@@ -100,52 +98,6 @@ sap.ui.define([
|
|
|
100
98
|
|
|
101
99
|
ProductSwitch.prototype.exit = function () {
|
|
102
100
|
this._oCurrentSelectedItem = null;
|
|
103
|
-
this._destroyItemNavigation();
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Destroys the item navigation delegate
|
|
108
|
-
* @private
|
|
109
|
-
*/
|
|
110
|
-
ProductSwitch.prototype._destroyItemNavigation = function () {
|
|
111
|
-
if (this._oItemNavigation) {
|
|
112
|
-
this.removeEventDelegate(this._oItemNavigation);
|
|
113
|
-
this._oItemNavigation.destroy();
|
|
114
|
-
this._oItemNavigation = null;
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
ProductSwitch.prototype.onAfterRendering = function () {
|
|
119
|
-
var oDomRef,
|
|
120
|
-
aChildDomRefs = [];
|
|
121
|
-
|
|
122
|
-
if (!this._oItemNavigation) {
|
|
123
|
-
this._oItemNavigation = new ItemNavigation(null, null);
|
|
124
|
-
this._oItemNavigation.setDisabledModifiers({
|
|
125
|
-
// Alt + arrow keys are reserved for browser navigation
|
|
126
|
-
sapnext: [
|
|
127
|
-
"alt", // Windows and Linux
|
|
128
|
-
"meta" // Apple (⌘)
|
|
129
|
-
],
|
|
130
|
-
sapprevious: [
|
|
131
|
-
"alt",
|
|
132
|
-
"meta"
|
|
133
|
-
]
|
|
134
|
-
});
|
|
135
|
-
this.addEventDelegate(this._oItemNavigation);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
oDomRef = this.getDomRef();
|
|
139
|
-
|
|
140
|
-
// set the root dom node that surrounds the items
|
|
141
|
-
this._oItemNavigation.setRootDomRef(oDomRef);
|
|
142
|
-
|
|
143
|
-
aChildDomRefs = this.getItems().map(function (oItem) {
|
|
144
|
-
return oItem.getDomRef();
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
// set the array of DOM elements representing the items
|
|
148
|
-
this._oItemNavigation.setItemDomRefs(aChildDomRefs);
|
|
149
101
|
};
|
|
150
102
|
|
|
151
103
|
/**
|