@openui5/sap.f 1.120.18 → 1.120.19
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/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/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 +16 -5
- 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 +8 -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.120.
|
|
3
|
+
"version": "1.120.19",
|
|
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.120.
|
|
18
|
-
"@openui5/sap.ui.core": "1.120.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.120.
|
|
17
|
+
"@openui5/sap.m": "1.120.19",
|
|
18
|
+
"@openui5/sap.ui.core": "1.120.19",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.120.19"
|
|
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.120.
|
|
9
|
+
<version>1.120.19</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
package/src/sap/f/Card.js
CHANGED
package/src/sap/f/CardBase.js
CHANGED
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -112,7 +112,7 @@ sap.ui.define([
|
|
|
112
112
|
* @extends sap.ui.core.Control
|
|
113
113
|
*
|
|
114
114
|
* @author SAP SE
|
|
115
|
-
* @version 1.120.
|
|
115
|
+
* @version 1.120.19
|
|
116
116
|
*
|
|
117
117
|
* @constructor
|
|
118
118
|
* @public
|
|
@@ -621,7 +621,7 @@ sap.ui.define([
|
|
|
621
621
|
var vResult = this.setProperty("fitContent", bFitContent, true);
|
|
622
622
|
|
|
623
623
|
if (exists(this.$())) {
|
|
624
|
-
this.
|
|
624
|
+
this._toggleScrollingStyles();
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
return vResult;
|
|
@@ -1370,12 +1370,17 @@ sap.ui.define([
|
|
|
1370
1370
|
|
|
1371
1371
|
this.toggleStyleClass("sapFDynamicPageWithScroll", bScrollBarNeeded);
|
|
1372
1372
|
|
|
1373
|
-
|
|
1373
|
+
// update styles for scrolling after a timeout of 0, in order to obtain the final state
|
|
1374
|
+
// e.g. after the ResizeHandler looped though *all* resized controls (to notify them) =>
|
|
1375
|
+
// so all of them completed their adjustments for the new size (notably any nested table adjusted its
|
|
1376
|
+
// visible rows count upon being notified by ResizeHandler for change of height of its container)
|
|
1377
|
+
setTimeout(this._toggleScrollingStyles.bind(this), 0);
|
|
1374
1378
|
};
|
|
1375
1379
|
|
|
1376
|
-
DynamicPage.prototype.
|
|
1380
|
+
DynamicPage.prototype._toggleScrollingStyles = function (bNeedsVerticalScrollBar) {
|
|
1377
1381
|
var bNoScrollBar = typeof bNeedsVerticalScrollBar !== 'undefined' ? !bNeedsVerticalScrollBar : !this._needsVerticalScrollBar();
|
|
1378
1382
|
|
|
1383
|
+
this.toggleStyleClass("sapFDynamicPageWithScroll", !bNoScrollBar);
|
|
1379
1384
|
this.$contentFitContainer.toggleClass("sapFDynamicPageContentFitContainer", bNoScrollBar);
|
|
1380
1385
|
};
|
|
1381
1386
|
|
|
@@ -1854,7 +1859,7 @@ sap.ui.define([
|
|
|
1854
1859
|
|
|
1855
1860
|
// FitContainer needs to be updated, when height is changed and scroll bar appear, to enable calc of original height
|
|
1856
1861
|
if (bNeedsVerticalScrollBar) {
|
|
1857
|
-
this.
|
|
1862
|
+
this._toggleScrollingStyles(bNeedsVerticalScrollBar);
|
|
1858
1863
|
}
|
|
1859
1864
|
|
|
1860
1865
|
this._adjustSnap();
|
|
@@ -1995,6 +2000,12 @@ sap.ui.define([
|
|
|
1995
2000
|
*/
|
|
1996
2001
|
DynamicPage.prototype._onTitlePress = function () {
|
|
1997
2002
|
if (this.getToggleHeaderOnTitleClick() && this._hasVisibleTitleAndHeader()) {
|
|
2003
|
+
if (!this.getHeaderExpanded() && this._headerBiggerThanAllowedToBeExpandedInTitleArea() && !this._preserveHeaderStateOnScroll()) {
|
|
2004
|
+
// if the header will expanded and it is bigger than the allowed height to be shown in the title area
|
|
2005
|
+
// we explicitly move it to the content area unless the preserveHeaderStateOnScroll is set
|
|
2006
|
+
// the header is then always displayed in the title are by definition as is always sticky
|
|
2007
|
+
this._moveHeaderToContentArea(true);
|
|
2008
|
+
}
|
|
1998
2009
|
this._titleExpandCollapseWhenAllowed(true /* user interaction */);
|
|
1999
2010
|
this.getTitle()._focus();
|
|
2000
2011
|
}
|
|
@@ -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.120.
|
|
52
|
+
* @version 1.120.19
|
|
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.120.
|
|
61
|
+
* @version 1.120.19
|
|
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.120.
|
|
68
|
+
* @version 1.120.19
|
|
69
69
|
*
|
|
70
70
|
* @experimental Since 1.65 This class is experimental. The API may change.
|
|
71
71
|
* @since 1.65
|
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.120.
|
|
96
|
+
* @version 1.120.19
|
|
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
|
@@ -149,7 +149,7 @@ sap.ui.define([
|
|
|
149
149
|
* @extends sap.ui.core.Control
|
|
150
150
|
*
|
|
151
151
|
* @author SAP SE
|
|
152
|
-
* @version 1.120.
|
|
152
|
+
* @version 1.120.19
|
|
153
153
|
*
|
|
154
154
|
* @constructor
|
|
155
155
|
* @public
|
|
@@ -434,6 +434,12 @@ sap.ui.define([
|
|
|
434
434
|
this._detachResizableHandlers();
|
|
435
435
|
|
|
436
436
|
this._oInvisibleMessage = InvisibleMessage.getInstance();
|
|
437
|
+
|
|
438
|
+
if (this._isSingleItem()) {
|
|
439
|
+
var oSelectedItem = bActionBarExpanded ? this.getItems()[0] : null;
|
|
440
|
+
this.setProperty("sideContentExpanded", bActionBarExpanded);
|
|
441
|
+
this.setAssociation("selectedItem", oSelectedItem, true);
|
|
442
|
+
}
|
|
437
443
|
};
|
|
438
444
|
|
|
439
445
|
SidePanel.prototype.onAfterRendering = function() {
|
|
@@ -663,6 +669,7 @@ sap.ui.define([
|
|
|
663
669
|
};
|
|
664
670
|
|
|
665
671
|
SidePanel.prototype._setSideContentExpanded = function(bState) {
|
|
672
|
+
this._isSingleItem() && this.setActionBarExpanded(bState);
|
|
666
673
|
return this.setProperty("sideContentExpanded", bState);
|
|
667
674
|
};
|
|
668
675
|
|
package/src/sap/f/library.js
CHANGED
|
@@ -36,13 +36,13 @@ sap.ui.define(["sap/ui/base/DataType",
|
|
|
36
36
|
* @namespace
|
|
37
37
|
* @alias sap.f
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.120.
|
|
39
|
+
* @version 1.120.19
|
|
40
40
|
* @since 1.44
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
43
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
44
44
|
name : "sap.f",
|
|
45
|
-
version: "1.120.
|
|
45
|
+
version: "1.120.19",
|
|
46
46
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
47
47
|
designtime: "sap/f/designtime/library.designtime",
|
|
48
48
|
interfaces: [
|