@openui5/sap.f 1.110.0 → 1.111.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/CalendarInCardRenderer.js +3 -3
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +1 -1
- package/src/sap/f/DynamicPage.js +5 -4
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +16 -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 +2 -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 +7 -4
- 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/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/messagebundle_ar.properties +4 -0
- package/src/sap/f/messagebundle_bg.properties +4 -0
- package/src/sap/f/messagebundle_ca.properties +4 -0
- package/src/sap/f/messagebundle_cs.properties +4 -0
- package/src/sap/f/messagebundle_cy.properties +4 -0
- package/src/sap/f/messagebundle_da.properties +4 -0
- package/src/sap/f/messagebundle_de.properties +4 -0
- package/src/sap/f/messagebundle_el.properties +4 -0
- package/src/sap/f/messagebundle_en.properties +4 -0
- package/src/sap/f/messagebundle_en_GB.properties +4 -0
- package/src/sap/f/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/f/messagebundle_en_US_saprigi.properties +4 -0
- package/src/sap/f/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/f/messagebundle_es.properties +4 -0
- package/src/sap/f/messagebundle_es_MX.properties +4 -0
- package/src/sap/f/messagebundle_et.properties +4 -0
- package/src/sap/f/messagebundle_fi.properties +4 -0
- package/src/sap/f/messagebundle_fr.properties +4 -0
- package/src/sap/f/messagebundle_fr_CA.properties +4 -0
- package/src/sap/f/messagebundle_hi.properties +4 -0
- package/src/sap/f/messagebundle_hr.properties +4 -0
- package/src/sap/f/messagebundle_hu.properties +4 -0
- package/src/sap/f/messagebundle_id.properties +4 -0
- package/src/sap/f/messagebundle_it.properties +4 -0
- package/src/sap/f/messagebundle_iw.properties +4 -0
- package/src/sap/f/messagebundle_ja.properties +4 -0
- package/src/sap/f/messagebundle_kk.properties +4 -0
- package/src/sap/f/messagebundle_ko.properties +4 -0
- package/src/sap/f/messagebundle_lt.properties +4 -0
- package/src/sap/f/messagebundle_lv.properties +4 -0
- package/src/sap/f/messagebundle_ms.properties +4 -0
- package/src/sap/f/messagebundle_nl.properties +4 -0
- package/src/sap/f/messagebundle_no.properties +4 -0
- package/src/sap/f/messagebundle_pl.properties +4 -0
- package/src/sap/f/messagebundle_pt.properties +4 -0
- package/src/sap/f/messagebundle_pt_PT.properties +4 -0
- package/src/sap/f/messagebundle_ro.properties +4 -0
- package/src/sap/f/messagebundle_ru.properties +4 -0
- package/src/sap/f/messagebundle_sh.properties +4 -0
- package/src/sap/f/messagebundle_sk.properties +4 -0
- package/src/sap/f/messagebundle_sl.properties +4 -0
- package/src/sap/f/messagebundle_sv.properties +4 -0
- package/src/sap/f/messagebundle_th.properties +4 -0
- package/src/sap/f/messagebundle_tr.properties +4 -0
- package/src/sap/f/messagebundle_uk.properties +4 -0
- package/src/sap/f/messagebundle_vi.properties +4 -0
- package/src/sap/f/messagebundle_zh_CN.properties +4 -0
- package/src/sap/f/messagebundle_zh_TW.properties +4 -0
- 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/CardNumericIndicators.less +1 -1
- package/src/sap/f/themes/base/DynamicPageHeader.less +3 -0
- package/src/sap/f/themes/base/GridDragAndDrop.less +1 -1
- package/src/sap/f/themes/base/ShellBar.less +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.111.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.111.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.111.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.111.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 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.111.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
|
@@ -64,6 +64,9 @@ sap.ui.define([
|
|
|
64
64
|
|
|
65
65
|
oRm.openEnd(); // div element
|
|
66
66
|
|
|
67
|
+
var oHeader = oCal.getAggregation("header");
|
|
68
|
+
oRm.renderControl(oHeader);
|
|
69
|
+
|
|
67
70
|
oRm.openStart("div", sId + "-content");
|
|
68
71
|
oRm.class("sapUiCalContent");
|
|
69
72
|
oRm.openEnd();
|
|
@@ -85,9 +88,6 @@ sap.ui.define([
|
|
|
85
88
|
|
|
86
89
|
oRm.close("div");
|
|
87
90
|
|
|
88
|
-
var oHeader = oCal.getAggregation("header");
|
|
89
|
-
oRm.renderControl(oHeader);
|
|
90
|
-
|
|
91
91
|
//when used in a DatePicker, in mobile there is no cancel button
|
|
92
92
|
if (!oCal._bSkipCancelButtonRendering) {
|
|
93
93
|
oRm.openStart("button", sId + "-cancel");
|
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
|
* @extends sap.ui.core.Control
|
|
109
109
|
*
|
|
110
110
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
111
|
+
* @version 1.111.0
|
|
112
112
|
*
|
|
113
113
|
* @constructor
|
|
114
114
|
* @public
|
|
@@ -1222,9 +1222,10 @@ sap.ui.define([
|
|
|
1222
1222
|
* @private
|
|
1223
1223
|
*/
|
|
1224
1224
|
DynamicPage.prototype._needsVerticalScrollBar = function () {
|
|
1225
|
-
//
|
|
1226
|
-
// the
|
|
1227
|
-
|
|
1225
|
+
// treat maxScrollHeight values in the range [0, 1] as 0,
|
|
1226
|
+
// to cover the known cases where the nested content overflows
|
|
1227
|
+
// the container with up to 1px because of rounding issues
|
|
1228
|
+
return Math.floor(this._getMaxScrollPosition()) > 1;
|
|
1228
1229
|
};
|
|
1229
1230
|
|
|
1230
1231
|
/**
|
|
@@ -10,6 +10,8 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/Device",
|
|
11
11
|
"sap/ui/core/Control",
|
|
12
12
|
"sap/ui/core/library",
|
|
13
|
+
"sap/ui/core/IconPool",
|
|
14
|
+
"sap/ui/core/theming/Parameters",
|
|
13
15
|
"sap/m/ToggleButton",
|
|
14
16
|
"sap/m/Button",
|
|
15
17
|
"./DynamicPageHeaderRenderer",
|
|
@@ -19,6 +21,8 @@ sap.ui.define([
|
|
|
19
21
|
Device,
|
|
20
22
|
Control,
|
|
21
23
|
CoreLibrary,
|
|
24
|
+
IconPool,
|
|
25
|
+
ThemeParameters,
|
|
22
26
|
ToggleButton,
|
|
23
27
|
Button,
|
|
24
28
|
DynamicPageHeaderRenderer,
|
|
@@ -58,7 +62,7 @@ sap.ui.define([
|
|
|
58
62
|
* @extends sap.ui.core.Control
|
|
59
63
|
*
|
|
60
64
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
65
|
+
* @version 1.111.0
|
|
62
66
|
*
|
|
63
67
|
* @constructor
|
|
64
68
|
* @public
|
|
@@ -355,5 +359,16 @@ sap.ui.define([
|
|
|
355
359
|
};
|
|
356
360
|
};
|
|
357
361
|
|
|
362
|
+
/**
|
|
363
|
+
* Sets the icon of the pin button depending on the current theme
|
|
364
|
+
*/
|
|
365
|
+
DynamicPageHeader.prototype.onThemeChanged = function () {
|
|
366
|
+
var sIcon = IconPool.getIconURI(ThemeParameters.get({
|
|
367
|
+
name: "_sap_f_DynamicPageHeader_PinButton_Icon"
|
|
368
|
+
}));
|
|
369
|
+
|
|
370
|
+
this._getPinButton().setIcon(sIcon);
|
|
371
|
+
};
|
|
372
|
+
|
|
358
373
|
return DynamicPageHeader;
|
|
359
374
|
});
|
|
@@ -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.111.0
|
|
53
53
|
* @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
|
|
54
54
|
* The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
|
|
55
55
|
*
|
|
@@ -171,7 +171,7 @@ sap.ui.define([
|
|
|
171
171
|
* @see {@link sap.f.dnd.GridDropInfo}
|
|
172
172
|
*
|
|
173
173
|
* @author SAP SE
|
|
174
|
-
* @version 1.
|
|
174
|
+
* @version 1.111.0
|
|
175
175
|
*
|
|
176
176
|
* @extends sap.ui.core.Control
|
|
177
177
|
*
|
|
@@ -514,6 +514,7 @@ sap.ui.define([
|
|
|
514
514
|
sapnext : ["alt", "meta", "ctrl"],
|
|
515
515
|
sapprevious : ["alt", "meta", "ctrl"]
|
|
516
516
|
})
|
|
517
|
+
.setTableMode(true, true)
|
|
517
518
|
.setFocusedIndex(0)
|
|
518
519
|
.attachEvent(ItemNavigation.Events.AfterFocus, this._onItemWrapperFocusIn.bind(this));
|
|
519
520
|
|
|
@@ -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.111.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.111.0
|
|
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.
|
|
96
|
+
* @version 1.111.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
|
@@ -146,7 +146,7 @@ sap.ui.define([
|
|
|
146
146
|
* @extends sap.ui.core.Control
|
|
147
147
|
*
|
|
148
148
|
* @author SAP SE
|
|
149
|
-
* @version 1.
|
|
149
|
+
* @version 1.111.0
|
|
150
150
|
*
|
|
151
151
|
* @constructor
|
|
152
152
|
* @public
|
|
@@ -1251,9 +1251,11 @@ sap.ui.define([
|
|
|
1251
1251
|
|
|
1252
1252
|
SidePanel.prototype._onTouchStart = function(oEvent) {
|
|
1253
1253
|
oEvent.preventDefault();
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1254
|
+
if (oEvent.button === 0 || oEvent.type === "touchstart") {
|
|
1255
|
+
this.getDomRef().querySelector(".sapFSPSplitterBar").classList.add("sapFSPSplitterActive");
|
|
1256
|
+
this._bResizeStarted = true;
|
|
1257
|
+
this._iStartPositionX = oEvent.touches ? oEvent.touches[0].pageX : oEvent.pageX;
|
|
1258
|
+
}
|
|
1257
1259
|
};
|
|
1258
1260
|
|
|
1259
1261
|
SidePanel.prototype._onTouchEnd = function(oEvent) {
|
|
@@ -1323,6 +1325,7 @@ sap.ui.define([
|
|
|
1323
1325
|
SidePanel.prototype._showResizeContextMenu = function(oEvent) {
|
|
1324
1326
|
var oContextMenu = this._getContextMenu();
|
|
1325
1327
|
|
|
1328
|
+
this._bResizeStarted = false;
|
|
1326
1329
|
(this._bContextMenuFromSplitter && oContextMenu.openBy(this.getDomRef().querySelector(".sapFSPSplitterBarGrip"))) || oContextMenu.openAsContextMenu(oEvent, this);
|
|
1327
1330
|
};
|
|
1328
1331
|
|
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.
|
|
39
|
+
* @version 1.111.0
|
|
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.
|
|
45
|
+
version: "1.111.0",
|
|
46
46
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
47
47
|
designtime: "sap/f/designtime/library.designtime",
|
|
48
48
|
interfaces: [
|
|
@@ -95,6 +95,10 @@ ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER=\u0645\u0642\u062F\u0645\u0629 \u06
|
|
|
95
95
|
|
|
96
96
|
ARIA_LABEL_CARD_CONTENT=\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0628\u0637\u0627\u0642\u0629
|
|
97
97
|
|
|
98
|
+
ARIA_LABEL_TOOLBAR_HEADER_ACTIONS=Header actions
|
|
99
|
+
|
|
100
|
+
ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=Footer actions
|
|
101
|
+
|
|
98
102
|
ARIA_HEADER_AVATAR_TEXT=\u0635\u0648\u0631\u0629 \u0631\u0645\u0632\u064A\u0629 (\u0623\u0641\u0627\u062A\u0627\u0631)
|
|
99
103
|
|
|
100
104
|
SHELLBAR_CONTAINER_LABEL=\u0634\u0631\u064A\u0637 Shell
|
|
@@ -95,6 +95,10 @@ ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER=\u0418\u043D\u0442\u0435\u0440\u043
|
|
|
95
95
|
|
|
96
96
|
ARIA_LABEL_CARD_CONTENT=\u0421\u044A\u0434\u044A\u0440\u0436\u0430\u043D\u0438\u0435 \u043D\u0430 \u043A\u0430\u0440\u0442\u0430\u0442\u0430
|
|
97
97
|
|
|
98
|
+
ARIA_LABEL_TOOLBAR_HEADER_ACTIONS=Header actions
|
|
99
|
+
|
|
100
|
+
ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=Footer actions
|
|
101
|
+
|
|
98
102
|
ARIA_HEADER_AVATAR_TEXT=\u0410\u0432\u0430\u0442\u0430\u0440
|
|
99
103
|
|
|
100
104
|
SHELLBAR_CONTAINER_LABEL=\u041B\u0435\u043D\u0442\u0430 \u043D\u0430 \u043E\u0431\u0432\u0438\u0432\u043A\u0430\u0442\u0430
|
|
@@ -95,6 +95,10 @@ ARIA_ROLEDESCRIPTION_INTERACTIVE_CARD_HEADER=Cap\u00E7alera de targeta interacti
|
|
|
95
95
|
|
|
96
96
|
ARIA_LABEL_CARD_CONTENT=Contingut de targeta
|
|
97
97
|
|
|
98
|
+
ARIA_LABEL_TOOLBAR_HEADER_ACTIONS=Header actions
|
|
99
|
+
|
|
100
|
+
ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS=Footer actions
|
|
101
|
+
|
|
98
102
|
ARIA_HEADER_AVATAR_TEXT=Avatar
|
|
99
103
|
|
|
100
104
|
SHELLBAR_CONTAINER_LABEL=Barra de shell
|