@openui5/sap.f 1.125.0 → 1.126.1
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 +4 -4
- package/THIRDPARTY.txt +6 -6
- 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 +2 -2
- 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 +6 -10
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/HeaderRenderer.js +4 -0
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericHeaderRenderer.js +7 -2
- 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 +2 -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 +9 -6
- 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/src/sap/f/themes/base/Card.less +11 -2
- package/src/sap/f/themes/sap_hcb/base_AvatarGroup.less +275 -0
- package/src/sap/f/themes/sap_hcb/base_CalendarPlaceholder.less +70 -0
- package/src/sap/f/themes/sap_hcb/base_Card.less +638 -0
- package/src/sap/f/themes/sap_hcb/base_CardLoading.less +268 -0
- package/src/sap/f/themes/sap_hcb/base_CardNumericIndicators.less +38 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPage.less +418 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPageHeader.less +66 -0
- package/src/sap/f/themes/sap_hcb/base_DynamicPageTitle.less +373 -0
- package/src/sap/f/themes/sap_hcb/base_FlexibleColumnLayout.less +281 -0
- package/src/sap/f/themes/sap_hcb/base_GridContainer.less +60 -0
- package/src/sap/f/themes/sap_hcb/base_GridDragAndDrop.less +5 -0
- package/src/sap/f/themes/sap_hcb/base_GridList.less +103 -0
- package/src/sap/f/themes/sap_hcb/base_GridListItem.less +111 -0
- package/src/sap/f/themes/sap_hcb/base_ListPlaceholder.less +53 -0
- package/src/sap/f/themes/sap_hcb/base_ObjectPlaceholder.less +43 -0
- package/src/sap/f/themes/sap_hcb/base_ProductSwitch.less +3 -0
- package/src/sap/f/themes/sap_hcb/base_ProductSwitchItem.less +160 -0
- package/src/sap/f/themes/sap_hcb/base_SemanticPage.less +34 -0
- package/src/sap/f/themes/sap_hcb/base_ShellBar.less +495 -0
- package/src/sap/f/themes/sap_hcb/base_SidePanel.less +858 -0
- package/src/sap/f/themes/sap_hcb/base_TablePlaceholder.less +34 -0
- package/src/sap/f/themes/sap_hcb/base_TimelinePlaceholder.less +79 -0
- package/src/sap/f/themes/sap_hcb/library.source.less +34 -1
package/.reuse/dep5
CHANGED
|
@@ -384,13 +384,13 @@ Copyright: 2017 Wei Song and Oliver Nightingale
|
|
|
384
384
|
License: MIT
|
|
385
385
|
Comment: these files belong to: Elasticlunr
|
|
386
386
|
|
|
387
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
388
|
-
Copyright:
|
|
387
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
388
|
+
Copyright: SpryMedia Ltd
|
|
389
389
|
License: MIT
|
|
390
390
|
Comment: these files belong to: DataTables
|
|
391
391
|
|
|
392
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
393
|
-
Copyright:
|
|
392
|
+
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
393
|
+
Copyright: SpryMedia Ltd
|
|
394
394
|
License: MIT
|
|
395
395
|
Comment: these files belong to: Buttons extension for DataTables
|
|
396
396
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -363,17 +363,17 @@ License: MIT
|
|
|
363
363
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
364
364
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/elasticlunr.js
|
|
365
365
|
|
|
366
|
-
Component: DataTables, version:
|
|
367
|
-
Copyright:
|
|
366
|
+
Component: DataTables, version: 2.0.1
|
|
367
|
+
Copyright: SpryMedia Ltd
|
|
368
368
|
License: MIT
|
|
369
369
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
370
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-
|
|
370
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/DataTables-2.0.1/*
|
|
371
371
|
|
|
372
|
-
Component: Buttons extension for DataTables, version:
|
|
373
|
-
Copyright:
|
|
372
|
+
Component: Buttons extension for DataTables, version: 3.0.0
|
|
373
|
+
Copyright: SpryMedia Ltd
|
|
374
374
|
License: MIT
|
|
375
375
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
376
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-
|
|
376
|
+
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/DataTables/Buttons-3.0.0/*
|
|
377
377
|
|
|
378
378
|
|
|
379
379
|
Library: sap.ui.integration:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.126.1",
|
|
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.126.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.126.1",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.126.1"
|
|
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.126.1</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
|
@@ -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.126.1
|
|
122
122
|
*
|
|
123
123
|
* @constructor
|
|
124
124
|
* @public
|
|
@@ -514,7 +514,7 @@ sap.ui.define([
|
|
|
514
514
|
};
|
|
515
515
|
|
|
516
516
|
DynamicPage.prototype.setShowFooter = function (bShowFooter) {
|
|
517
|
-
var vResult = this.setProperty("showFooter", bShowFooter);
|
|
517
|
+
var vResult = this.setProperty("showFooter", bShowFooter, /* bSuppressInvalidate */ true);
|
|
518
518
|
|
|
519
519
|
this._toggleFooter(bShowFooter);
|
|
520
520
|
|
|
@@ -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.126.1
|
|
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.126.1
|
|
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.126.1
|
|
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.126.1
|
|
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
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @abstract
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.126.1
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -188,8 +188,10 @@ sap.ui.define([
|
|
|
188
188
|
if (oToolbar) {
|
|
189
189
|
oToolbar.addStyleClass("sapFCardHeaderToolbar");
|
|
190
190
|
oToolbar.removeEventDelegate(this._oToolbarDelegate, this);
|
|
191
|
+
if (oToolbar.updateVisibility) {
|
|
192
|
+
oToolbar.updateVisibility();
|
|
193
|
+
}
|
|
191
194
|
}
|
|
192
|
-
|
|
193
195
|
if (aBannerLines) {
|
|
194
196
|
aBannerLines.forEach((oText) => {
|
|
195
197
|
oText.setTextAlign(TextAlign.End);
|
|
@@ -250,10 +252,7 @@ sap.ui.define([
|
|
|
250
252
|
* @private
|
|
251
253
|
*/
|
|
252
254
|
BaseHeader.prototype._onToolbarFocusin = function () {
|
|
253
|
-
|
|
254
|
-
if (oDomRef) {
|
|
255
|
-
this.getDomRef().classList.add("sapFCardHeaderToolbarFocused");
|
|
256
|
-
}
|
|
255
|
+
this.addStyleClass("sapFCardHeaderToolbarFocused");
|
|
257
256
|
};
|
|
258
257
|
|
|
259
258
|
/**
|
|
@@ -261,10 +260,7 @@ sap.ui.define([
|
|
|
261
260
|
* @private
|
|
262
261
|
*/
|
|
263
262
|
BaseHeader.prototype._onToolbarFocusout = function () {
|
|
264
|
-
|
|
265
|
-
if (oDomRef) {
|
|
266
|
-
this.getDomRef().classList.remove("sapFCardHeaderToolbarFocused");
|
|
267
|
-
}
|
|
263
|
+
this.removeStyleClass("sapFCardHeaderToolbarFocused");
|
|
268
264
|
};
|
|
269
265
|
|
|
270
266
|
/*
|
|
@@ -20,9 +20,10 @@ sap.ui.define([
|
|
|
20
20
|
* @param {sap.f.cards.NumericHeader} oNumericHeader An object representation of the control that should be rendered
|
|
21
21
|
*/
|
|
22
22
|
NumericHeaderRenderer.render = function (oRm, oNumericHeader) {
|
|
23
|
-
|
|
23
|
+
const bLoading = oNumericHeader.isLoading(),
|
|
24
24
|
oError = oNumericHeader.getAggregation("_error"),
|
|
25
|
-
bRenderAsLink = oNumericHeader.isLink()
|
|
25
|
+
bRenderAsLink = oNumericHeader.isLink(),
|
|
26
|
+
oToolbar = oNumericHeader.getToolbar();
|
|
26
27
|
|
|
27
28
|
oRm.openStart("div", oNumericHeader)
|
|
28
29
|
.class("sapFCardHeader")
|
|
@@ -44,6 +45,10 @@ sap.ui.define([
|
|
|
44
45
|
oRm.class("sapFCardHeaderHasNumber");
|
|
45
46
|
}
|
|
46
47
|
|
|
48
|
+
if (oToolbar?.getVisible()) {
|
|
49
|
+
oRm.class("sapFCardHeaderHasToolbar");
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
oRm.openEnd();
|
|
48
53
|
|
|
49
54
|
if (bRenderAsLink) {
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.126.1
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
@@ -44,6 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
/**
|
|
45
45
|
* Indicates whether the card has any content
|
|
46
46
|
* @private
|
|
47
|
+
* @ui5-restricted sap.f.cards.loading.PlaceholderBase
|
|
47
48
|
*/
|
|
48
49
|
hasContent: { type: "boolean", defaultValue: true}
|
|
49
50
|
}
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
*
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.126.1
|
|
45
45
|
*
|
|
46
46
|
* @extends sap.f.delegate.GridItemNavigation
|
|
47
47
|
*
|
|
@@ -94,21 +94,24 @@ sap.ui.define([
|
|
|
94
94
|
var aNavigationDomRefs = this.getItemDomRefs(),
|
|
95
95
|
iLastFocusedIndex = this.getFocusedIndex(),
|
|
96
96
|
$LastFocused = jQuery(aNavigationDomRefs[iLastFocusedIndex]),
|
|
97
|
-
|
|
97
|
+
aTabbables = [];
|
|
98
98
|
|
|
99
99
|
// Tabbable elements in wrapper
|
|
100
100
|
var $AllTabbables = $LastFocused.find(":sapTabbable");
|
|
101
101
|
|
|
102
102
|
// leave only real tabbable elements in the tab chain, GridContainer and List types have dummy areas
|
|
103
103
|
$AllTabbables.map(function(index, element) {
|
|
104
|
-
if (element.className.indexOf("DummyArea") === -1
|
|
105
|
-
|
|
104
|
+
if (element.className.indexOf("DummyArea") === -1) {
|
|
105
|
+
aTabbables.push(element);
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
108
|
|
|
109
|
-
var focusableIndex =
|
|
109
|
+
var focusableIndex = aTabbables.length - 1;
|
|
110
|
+
var oTabbable = Element.closestTo(aTabbables[focusableIndex]);
|
|
111
|
+
var oClosestTabbable = jQuery(oEvent.target).closest(":sapTabbable").get(0);
|
|
112
|
+
|
|
110
113
|
if (focusableIndex === -1 ||
|
|
111
|
-
(
|
|
114
|
+
(oTabbable && (oTabbable.getFocusDomRef() === oClosestTabbable))) {
|
|
112
115
|
this._lastFocusedElement = oEvent.target;
|
|
113
116
|
this.forwardTab(true);
|
|
114
117
|
}
|