@openui5/sap.f 1.115.1 → 1.117.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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 +38 -4
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +6 -2
- package/src/sap/f/DynamicPageTitleRenderer.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/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/GridNavigationMatrix.js +61 -33
- 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 +17 -5
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/SidePanelRenderer.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +7 -1
- package/src/sap/f/cards/Header.js +9 -1
- package/src/sap/f/cards/HeaderRenderer.js +2 -2
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericHeaderRenderer.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 +135 -111
- 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/messagebundle.properties +5 -5
- package/src/sap/f/messagebundle_ar.properties +2 -2
- package/src/sap/f/messagebundle_bg.properties +2 -2
- package/src/sap/f/messagebundle_ca.properties +2 -2
- package/src/sap/f/messagebundle_cs.properties +2 -2
- package/src/sap/f/messagebundle_cy.properties +2 -2
- package/src/sap/f/messagebundle_da.properties +3 -3
- package/src/sap/f/messagebundle_de.properties +2 -2
- package/src/sap/f/messagebundle_el.properties +2 -2
- package/src/sap/f/messagebundle_en.properties +2 -2
- package/src/sap/f/messagebundle_en_GB.properties +2 -2
- package/src/sap/f/messagebundle_en_US_sappsd.properties +2 -2
- package/src/sap/f/messagebundle_en_US_saprigi.properties +2 -2
- package/src/sap/f/messagebundle_en_US_saptrc.properties +2 -2
- package/src/sap/f/messagebundle_es.properties +2 -2
- package/src/sap/f/messagebundle_es_MX.properties +2 -2
- package/src/sap/f/messagebundle_et.properties +2 -2
- package/src/sap/f/messagebundle_fi.properties +2 -2
- package/src/sap/f/messagebundle_fr.properties +6 -6
- package/src/sap/f/messagebundle_fr_CA.properties +2 -2
- package/src/sap/f/messagebundle_hi.properties +2 -2
- package/src/sap/f/messagebundle_hr.properties +2 -2
- package/src/sap/f/messagebundle_hu.properties +2 -2
- package/src/sap/f/messagebundle_id.properties +2 -2
- package/src/sap/f/messagebundle_it.properties +2 -2
- package/src/sap/f/messagebundle_iw.properties +2 -2
- package/src/sap/f/messagebundle_ja.properties +2 -2
- package/src/sap/f/messagebundle_kk.properties +2 -2
- package/src/sap/f/messagebundle_ko.properties +2 -2
- package/src/sap/f/messagebundle_lt.properties +2 -2
- package/src/sap/f/messagebundle_lv.properties +2 -2
- package/src/sap/f/messagebundle_ms.properties +2 -2
- package/src/sap/f/messagebundle_nl.properties +2 -2
- package/src/sap/f/messagebundle_no.properties +2 -2
- package/src/sap/f/messagebundle_pl.properties +2 -2
- package/src/sap/f/messagebundle_pt.properties +2 -2
- package/src/sap/f/messagebundle_pt_PT.properties +2 -2
- package/src/sap/f/messagebundle_ro.properties +3 -3
- package/src/sap/f/messagebundle_ru.properties +2 -2
- package/src/sap/f/messagebundle_sh.properties +2 -2
- package/src/sap/f/messagebundle_sk.properties +2 -2
- package/src/sap/f/messagebundle_sl.properties +2 -2
- package/src/sap/f/messagebundle_sv.properties +2 -2
- package/src/sap/f/messagebundle_th.properties +2 -2
- package/src/sap/f/messagebundle_tr.properties +2 -2
- package/src/sap/f/messagebundle_uk.properties +2 -2
- package/src/sap/f/messagebundle_vi.properties +2 -2
- package/src/sap/f/messagebundle_zh_CN.properties +2 -2
- package/src/sap/f/messagebundle_zh_TW.properties +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 +3 -3
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticFooter.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +24 -1
- package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
- package/src/sap/f/semantic/SemanticTitle.js +2 -2
- 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 +0 -6
- package/ui5.yaml +1 -1
package/src/sap/f/SidePanel.js
CHANGED
|
@@ -142,14 +142,14 @@ sap.ui.define([
|
|
|
142
142
|
* <li>[End] - set the expanded side panel width to the maximum value defined in <code>sidePanelMaxWidth</code> property</li>
|
|
143
143
|
* <li>[Enter] - set the expanded side panel width to the default value defined in <code>sidePanelWidth</code> property</li>
|
|
144
144
|
* <li>[Shift]+[F10] or [Context menu] - show the resize context menu</li>
|
|
145
|
-
* <li>[Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with the regular step</li>
|
|
146
|
-
* <li>[Shift] + [Arrow Left] / [Arrow Right] - increase/decrease the width of the expanded side panel with the larger step</li>
|
|
145
|
+
* <li>[Arrow Left] or [Arrow Up] / [Arrow Right] or [Arrow Down] - increase/decrease the width of the expanded side panel with the regular step</li>
|
|
146
|
+
* <li>[Shift] + [Arrow Left] or [Shift] + [Arrow Up] / [Shift] + [Arrow Right] or [Shift] + [Arrow Down] - increase/decrease the width of the expanded side panel with the larger step</li>
|
|
147
147
|
* </ul>
|
|
148
148
|
*
|
|
149
149
|
* @extends sap.ui.core.Control
|
|
150
150
|
*
|
|
151
151
|
* @author SAP SE
|
|
152
|
-
* @version 1.
|
|
152
|
+
* @version 1.117.0
|
|
153
153
|
*
|
|
154
154
|
* @constructor
|
|
155
155
|
* @public
|
|
@@ -415,7 +415,7 @@ sap.ui.define([
|
|
|
415
415
|
SidePanel.prototype.onBeforeRendering = function() {
|
|
416
416
|
var oExpandCollapseButton = this.getAggregation("_arrowButton"),
|
|
417
417
|
bActionBarExpanded = this.getActionBarExpanded(),
|
|
418
|
-
sTooltip =
|
|
418
|
+
sTooltip = oResourceBundle.getText("SIDEPANEL_EXPAND_BUTTON_TEXT") + "/" + oResourceBundle.getText("SIDEPANEL_COLLAPSE_BUTTON_TEXT"),
|
|
419
419
|
sNextArrow;
|
|
420
420
|
|
|
421
421
|
if (SidePanelPosition.Right === this.getSidePanelPosition()) {
|
|
@@ -530,9 +530,11 @@ sap.ui.define([
|
|
|
530
530
|
this._setSidePanelResizePosition(SIDE_PANEL_POSITION_MIN_WIDTH);
|
|
531
531
|
break;
|
|
532
532
|
case KeyCodes.ARROW_LEFT:
|
|
533
|
+
case KeyCodes.ARROW_UP:
|
|
533
534
|
this._moveSidePanelResizePositionWith(oEvent.shiftKey ? this.getSidePanelResizeLargerStep() : this.getSidePanelResizeStep());
|
|
534
535
|
break;
|
|
535
536
|
case KeyCodes.ARROW_RIGHT:
|
|
537
|
+
case KeyCodes.ARROW_DOWN:
|
|
536
538
|
this._moveSidePanelResizePositionWith(oEvent.shiftKey ? -this.getSidePanelResizeLargerStep() : -this.getSidePanelResizeStep());
|
|
537
539
|
break;
|
|
538
540
|
case KeyCodes.F10:
|
|
@@ -668,7 +670,17 @@ sap.ui.define([
|
|
|
668
670
|
};
|
|
669
671
|
|
|
670
672
|
SidePanel.prototype._focusMain = function() {
|
|
671
|
-
|
|
673
|
+
if (this._oPreviousFocusedMainElement) {
|
|
674
|
+
this._oPreviousFocusedMainElement.focus();
|
|
675
|
+
} else {
|
|
676
|
+
var oMainContent = this.getMainContent();
|
|
677
|
+
for (let i = 0; i < oMainContent.length; ++i) {
|
|
678
|
+
if (oMainContent[i].isFocusable()) {
|
|
679
|
+
oMainContent[i].focus();
|
|
680
|
+
break;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
672
684
|
};
|
|
673
685
|
|
|
674
686
|
SidePanel.prototype._focusSideContent = function() {
|
|
@@ -225,7 +225,7 @@ sap.ui.define([
|
|
|
225
225
|
oRm.attr("tabindex", 0);
|
|
226
226
|
oRm.attr("role", "separator");
|
|
227
227
|
oRm.attr("aria-orientation", "vertical");
|
|
228
|
-
oRm.attr("aria-roledescription", "splitter
|
|
228
|
+
oRm.attr("aria-roledescription", "splitter");
|
|
229
229
|
oRm.attr("title", oControl._getSplitterTitle());
|
|
230
230
|
oRm.openEnd();
|
|
231
231
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @abstract
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.117.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -61,6 +61,12 @@ sap.ui.define([
|
|
|
61
61
|
*/
|
|
62
62
|
dataTimestamp: { type: "string", defaultValue: ""},
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Defines the status text visibility.
|
|
66
|
+
* @experimental Since 1.116 this feature is experimental and the API may change.
|
|
67
|
+
*/
|
|
68
|
+
statusVisible: { type: "boolean", defaultValue: true },
|
|
69
|
+
|
|
64
70
|
/**
|
|
65
71
|
* Set to true to show that the data timestamp is currently updating.
|
|
66
72
|
* @private
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @implements sap.f.cards.IHeader
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.117.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -238,6 +238,14 @@ sap.ui.define([
|
|
|
238
238
|
oAvatar.setBackgroundColor(this.getIconBackgroundColor());
|
|
239
239
|
};
|
|
240
240
|
|
|
241
|
+
/**
|
|
242
|
+
* @protected
|
|
243
|
+
* @returns {boolean} If the icon should be shown.
|
|
244
|
+
*/
|
|
245
|
+
Header.prototype.shouldShowIcon = function () {
|
|
246
|
+
return this.getIconVisible();
|
|
247
|
+
};
|
|
248
|
+
|
|
241
249
|
/**
|
|
242
250
|
* This method is a hook for the RenderManager that gets called
|
|
243
251
|
* during the rendering of child Controls. It allows to add,
|
|
@@ -30,7 +30,7 @@ sap.ui.define([], function () {
|
|
|
30
30
|
bLoading = oHeader.isLoading(),
|
|
31
31
|
oError = oHeader.getAggregation("_error"),
|
|
32
32
|
oToolbar = oHeader.getToolbar(),
|
|
33
|
-
bIconVisible = oHeader.
|
|
33
|
+
bIconVisible = oHeader.shouldShowIcon();
|
|
34
34
|
|
|
35
35
|
oRm.openStart("div", oHeader)
|
|
36
36
|
.class("sapFCardHeader");
|
|
@@ -99,7 +99,7 @@ sap.ui.define([], function () {
|
|
|
99
99
|
|
|
100
100
|
oRm.renderControl(oTitle);
|
|
101
101
|
|
|
102
|
-
if (sStatus) {
|
|
102
|
+
if (sStatus && oHeader.getStatusVisible()) {
|
|
103
103
|
oRm.openStart("span", sId + "-status")
|
|
104
104
|
.class("sapFCardStatus");
|
|
105
105
|
|