@openui5/sap.f 1.120.37 → 1.120.39
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 +1 -1
- package/THIRDPARTY.txt +2 -2
- 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 +33 -12
- 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
|
@@ -268,7 +268,7 @@ License: MIT
|
|
|
268
268
|
Comment: these files belong to: handlebars
|
|
269
269
|
|
|
270
270
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
|
271
|
-
Copyright: 2010-
|
|
271
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
272
272
|
License: MIT
|
|
273
273
|
Comment: these files belong to: requireJS
|
|
274
274
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -237,8 +237,8 @@ License: MIT
|
|
|
237
237
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
238
238
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/handlebars.js
|
|
239
239
|
|
|
240
|
-
Component: requireJS, version: 2.
|
|
241
|
-
Copyright: 2010-
|
|
240
|
+
Component: requireJS, version: 2.3.7
|
|
241
|
+
Copyright: 2010-2024, jQuery Foundation and other contributors
|
|
242
242
|
License: MIT
|
|
243
243
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
244
244
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/require.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.120.
|
|
3
|
+
"version": "1.120.39",
|
|
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.39",
|
|
18
|
+
"@openui5/sap.ui.core": "1.120.39",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.120.39"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-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.120.
|
|
9
|
+
<version>1.120.39</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.39
|
|
116
116
|
*
|
|
117
117
|
* @constructor
|
|
118
118
|
* @public
|
|
@@ -658,16 +658,31 @@ sap.ui.define([
|
|
|
658
658
|
this._headerBiggerThanAllowedHeight = this._headerBiggerThanAllowedToBeFixed();
|
|
659
659
|
bChange = bOldValue !== this._headerBiggerThanAllowedHeight;
|
|
660
660
|
|
|
661
|
-
if (!
|
|
661
|
+
if (!bChange) {
|
|
662
662
|
return;
|
|
663
663
|
}
|
|
664
|
-
|
|
664
|
+
|
|
665
|
+
this._repositionHeaderBasedOnHeight();
|
|
666
|
+
|
|
667
|
+
this._adjustStickyContent();
|
|
668
|
+
this._updateTitlePositioning();
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
DynamicPage.prototype._repositionHeaderBasedOnHeight = function () {
|
|
672
|
+
var bMoveHeaderToContent = this._headerBiggerThanAllowedHeight;
|
|
665
673
|
if (this.getHeaderExpanded()) {
|
|
674
|
+
this._repositionExpandedHeader(bMoveHeaderToContent);
|
|
675
|
+
} else {
|
|
676
|
+
this._repositionSnappedHeader(); // will automatically move to content if possible
|
|
677
|
+
}
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
DynamicPage.prototype._repositionExpandedHeader = function (bMoveHeaderToContent) {
|
|
681
|
+
if (bMoveHeaderToContent) {
|
|
666
682
|
this._moveHeaderToContentArea();
|
|
667
683
|
} else {
|
|
668
|
-
this.
|
|
684
|
+
this._moveHeaderToTitleArea();
|
|
669
685
|
}
|
|
670
|
-
this._updateTitlePositioning();
|
|
671
686
|
};
|
|
672
687
|
|
|
673
688
|
/**
|
|
@@ -1756,7 +1771,7 @@ sap.ui.define([
|
|
|
1756
1771
|
* (2) snapping with hiding the header - when not enough content is available to allow snap header on scroll
|
|
1757
1772
|
* @private
|
|
1758
1773
|
*/
|
|
1759
|
-
DynamicPage.prototype.
|
|
1774
|
+
DynamicPage.prototype._repositionSnappedHeader = function () {
|
|
1760
1775
|
var oDynamicPageHeader,
|
|
1761
1776
|
bIsSnapped,
|
|
1762
1777
|
bCanSnapWithScroll,
|
|
@@ -1865,7 +1880,7 @@ sap.ui.define([
|
|
|
1865
1880
|
this._toggleScrollingStyles(bNeedsVerticalScrollBar);
|
|
1866
1881
|
}
|
|
1867
1882
|
|
|
1868
|
-
this.
|
|
1883
|
+
this._repositionSnappedHeader();
|
|
1869
1884
|
|
|
1870
1885
|
if (!this._bExpandingWithAClick) {
|
|
1871
1886
|
this._updateTitlePositioning();
|
|
@@ -1879,6 +1894,8 @@ sap.ui.define([
|
|
|
1879
1894
|
this._updateHeaderVisualState(bCurrentHeight !== bOldHeight);
|
|
1880
1895
|
this._adaptScrollPositionOnHeaderChange(bCurrentHeight, bOldHeight);
|
|
1881
1896
|
}
|
|
1897
|
+
|
|
1898
|
+
this._expandHeaderIfNeeded(oEvent);
|
|
1882
1899
|
};
|
|
1883
1900
|
|
|
1884
1901
|
/**
|
|
@@ -1901,20 +1918,24 @@ sap.ui.define([
|
|
|
1901
1918
|
oDynamicPageTitle._onResize(iCurrentWidth);
|
|
1902
1919
|
}
|
|
1903
1920
|
|
|
1921
|
+
this._expandHeaderIfNeeded(oEvent);
|
|
1922
|
+
|
|
1923
|
+
this._repositionSnappedHeader();
|
|
1924
|
+
this._updateTitlePositioning();
|
|
1925
|
+
this._updateMedia(iCurrentWidth);
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
DynamicPage.prototype._expandHeaderIfNeeded = function (oEvent) {
|
|
1904
1929
|
if (this._shouldAutoExpandHeaderOnResize(oEvent)) {
|
|
1905
1930
|
this._expandHeader(true, false /* bUserInteraction */);
|
|
1906
1931
|
this.getHeader().$().removeClass("sapFDynamicPageHeaderHidden");
|
|
1907
1932
|
}
|
|
1908
|
-
|
|
1909
|
-
this._adjustSnap();
|
|
1910
|
-
this._updateTitlePositioning();
|
|
1911
|
-
this._updateMedia(iCurrentWidth);
|
|
1912
1933
|
};
|
|
1913
1934
|
|
|
1914
1935
|
DynamicPage.prototype._shouldAutoExpandHeaderOnResize = function (oResizeEvent) {
|
|
1915
1936
|
var oDynamicPageHeader = this.getHeader(),
|
|
1916
1937
|
bHeaderSnappedByUser = exists(oDynamicPageHeader) && !this.getHeaderExpanded() && this._bIsLastToggleUserInitiated,
|
|
1917
|
-
bPageResized = oResizeEvent.target === this.getDomRef(),
|
|
1938
|
+
bPageResized = oResizeEvent.target === this.getDomRef() || oResizeEvent.target === this.$contentFitContainer.get(0),
|
|
1918
1939
|
canToggleHeaderOnScroll = this._canSnapHeaderOnScroll.bind(this);
|
|
1919
1940
|
|
|
1920
1941
|
// auto-expand the header if the user had snapped it but
|
|
@@ -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.39
|
|
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.39
|
|
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.39
|
|
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.39
|
|
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
|
@@ -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.39
|
|
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.39",
|
|
46
46
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
47
47
|
designtime: "sap/f/designtime/library.designtime",
|
|
48
48
|
interfaces: [
|