@openui5/sap.f 1.123.1 → 1.124.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/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 +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 +17 -3
- 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 +27 -42
- package/src/sap/f/cards/NumericHeaderRenderer.js +5 -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 +64 -6
- package/src/sap/f/messagebundle_sh.properties +12 -12
- 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/Factory.js +2 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/Card.less +24 -0
- package/src/sap/f/themes/base/ShellBar.less +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.124.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.124.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.124.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.124.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.124.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
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
|
*
|
|
109
109
|
* @extends sap.ui.core.Control
|
|
110
110
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.124.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
|
@@ -1000,7 +1000,11 @@ sap.ui.define([
|
|
|
1000
1000
|
* @private
|
|
1001
1001
|
*/
|
|
1002
1002
|
FlexibleColumnLayout.prototype._restoreFocusToColumn = function (sCurrentColumn) {
|
|
1003
|
-
var oElement = this._oColumnFocusInfo[sCurrentColumn]
|
|
1003
|
+
var oElement = this._oColumnFocusInfo[sCurrentColumn],
|
|
1004
|
+
oCurrentColumn = this._getColumnByStringName(sCurrentColumn);
|
|
1005
|
+
if (this._isFocusInCurrentColumn(oCurrentColumn)) {
|
|
1006
|
+
return;
|
|
1007
|
+
}
|
|
1004
1008
|
|
|
1005
1009
|
if (!oElement || isEmptyObject(oElement)) {
|
|
1006
1010
|
// if no element was stored, get first focusable
|
|
@@ -1051,6 +1055,16 @@ sap.ui.define([
|
|
|
1051
1055
|
return false;
|
|
1052
1056
|
};
|
|
1053
1057
|
|
|
1058
|
+
/**
|
|
1059
|
+
* Checks whether or not the focus is already in the current column
|
|
1060
|
+
* @param {Object} oCurrentColumn the current column
|
|
1061
|
+
* @returns {boolean} whether or not the focus is in the current column
|
|
1062
|
+
* @private
|
|
1063
|
+
*/
|
|
1064
|
+
FlexibleColumnLayout.prototype._isFocusInCurrentColumn = function (oCurrentColumn) {
|
|
1065
|
+
return oCurrentColumn._isFocusInControl(oCurrentColumn);
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1054
1068
|
FlexibleColumnLayout.prototype._getControlWidth = function () {
|
|
1055
1069
|
// There is a case when we are still in app initialization phase and some containers
|
|
1056
1070
|
// are changing their visibility, at this point we need to obtain the width directly
|
|
@@ -1413,7 +1427,7 @@ sap.ui.define([
|
|
|
1413
1427
|
//BCP: 1980006195
|
|
1414
1428
|
oColumn.toggleClass("sapFFCLColumnHidden", iNewWidth === 0);
|
|
1415
1429
|
|
|
1416
|
-
if (bShouldRevealColumn || bShouldConcealColumn ) {
|
|
1430
|
+
if (bShouldRevealColumn || bShouldConcealColumn || oOptions.autoSize) {
|
|
1417
1431
|
oColumn[0].querySelector(".sapFFCLColumnContent").style.width = "";
|
|
1418
1432
|
}
|
|
1419
1433
|
oColumn.toggleClass(FlexibleColumnLayout.PINNED_COLUMN_CLASS_NAME, false);
|
|
@@ -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.124.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.124.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.124.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.124.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
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
* @extends sap.f.cards.BaseHeader
|
|
58
58
|
*
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.124.0
|
|
61
61
|
*
|
|
62
62
|
* @constructor
|
|
63
63
|
* @public
|
|
@@ -227,6 +227,15 @@ sap.ui.define([
|
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Micro Chart
|
|
232
|
+
* @experimental since 1.124
|
|
233
|
+
*/
|
|
234
|
+
microChart: {
|
|
235
|
+
type: "sap.ui.core.Control",
|
|
236
|
+
multiple: false
|
|
237
|
+
},
|
|
238
|
+
|
|
230
239
|
/**
|
|
231
240
|
* Used to display title text
|
|
232
241
|
*/
|
|
@@ -319,23 +328,21 @@ sap.ui.define([
|
|
|
319
328
|
.setBackgroundColor(this.getIconBackgroundColor())
|
|
320
329
|
.setDisplaySize(this.getIconSize());
|
|
321
330
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
331
|
+
this._getDetails()
|
|
332
|
+
.setText(this.getDetails())
|
|
333
|
+
.setMaxLines(this.getDetailsMaxLines())
|
|
334
|
+
.setWrappingType(this.getWrappingType());
|
|
325
335
|
|
|
326
336
|
if (!this.isPropertyInitial("detailsState")) {
|
|
327
|
-
|
|
328
|
-
.
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
this.
|
|
332
|
-
.setText(this.getDetails())
|
|
333
|
-
.setMaxLines(this.getDetailsMaxLines())
|
|
334
|
-
.setWrappingType(this.getWrappingType());
|
|
335
|
-
|
|
336
|
-
this._enhanceText(this._getDetails());
|
|
337
|
+
Object.values(ValueState).forEach((sState) => {
|
|
338
|
+
this._getDetails().removeStyleClass(`sapFCardNumericHeaderDetailsState${sState}`);
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
this._getDetails().addStyleClass(`sapFCardNumericHeaderDetailsState${this.getDetailsState()}`);
|
|
337
342
|
}
|
|
338
343
|
|
|
344
|
+
this._enhanceText(this._getDetails());
|
|
345
|
+
|
|
339
346
|
this._getNumericIndicators()
|
|
340
347
|
.setNumber(this.getNumber())
|
|
341
348
|
.setNumberSize(this.getNumberSize())
|
|
@@ -452,44 +459,22 @@ sap.ui.define([
|
|
|
452
459
|
};
|
|
453
460
|
|
|
454
461
|
/**
|
|
455
|
-
*
|
|
462
|
+
* Gets the control create for showing details.
|
|
456
463
|
* @private
|
|
457
|
-
* @
|
|
458
|
-
* @return {sap.m.Text|sap.m.ObjectStatus} The details aggregation
|
|
464
|
+
* @return {sap.m.Text} The details aggregation
|
|
459
465
|
*/
|
|
460
|
-
NumericHeader.prototype.
|
|
466
|
+
NumericHeader.prototype._getDetails = function () {
|
|
461
467
|
var oControl = this.getAggregation("_details");
|
|
462
468
|
|
|
463
|
-
if (oControl
|
|
464
|
-
oControl.
|
|
465
|
-
} else if (oControl) {
|
|
466
|
-
return oControl;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
var oSettings = {
|
|
470
|
-
id: this._getDetailsId()
|
|
471
|
-
};
|
|
469
|
+
if (!oControl) {
|
|
470
|
+
oControl = new Text(this._getDetailsId()).addStyleClass("sapFCardHeaderDetails");
|
|
472
471
|
|
|
473
|
-
|
|
474
|
-
oControl = new ObjectStatus(oSettings);
|
|
475
|
-
} else {
|
|
476
|
-
oControl = new Text(oSettings);
|
|
472
|
+
this.setAggregation("_details", oControl);
|
|
477
473
|
}
|
|
478
474
|
|
|
479
|
-
this.setAggregation("_details", oControl);
|
|
480
|
-
|
|
481
475
|
return oControl;
|
|
482
476
|
};
|
|
483
477
|
|
|
484
|
-
/**
|
|
485
|
-
* Gets the control create for showing details.
|
|
486
|
-
* @private
|
|
487
|
-
* @return {sap.m.Text|sap.m.ObjectStatus} The details aggregation
|
|
488
|
-
*/
|
|
489
|
-
NumericHeader.prototype._getDetails = function () {
|
|
490
|
-
return this.getAggregation("_details");
|
|
491
|
-
};
|
|
492
|
-
|
|
493
478
|
/**
|
|
494
479
|
* Gets the id for details control.
|
|
495
480
|
* @private
|
|
@@ -213,6 +213,11 @@ sap.ui.define([
|
|
|
213
213
|
BaseHeaderRenderer.renderAvatar(oRm, oNH);
|
|
214
214
|
NumericHeaderRenderer.renderIndicators(oRm, oNH);
|
|
215
215
|
|
|
216
|
+
var oMicroChart = oNH.getMicroChart();
|
|
217
|
+
if (oMicroChart) {
|
|
218
|
+
oRm.renderControl(oMicroChart);
|
|
219
|
+
}
|
|
220
|
+
|
|
216
221
|
oRm.close("div");
|
|
217
222
|
};
|
|
218
223
|
|
|
@@ -271,7 +276,6 @@ sap.ui.define([
|
|
|
271
276
|
oDetails.addStyleClass("sapFCardHeaderItemBinded");
|
|
272
277
|
}
|
|
273
278
|
|
|
274
|
-
oDetails.addStyleClass("sapFCardHeaderDetails");
|
|
275
279
|
oRm.renderControl(oDetails);
|
|
276
280
|
}
|
|
277
281
|
|