@openui5/sap.f 1.113.0 → 1.114.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.
Files changed (83) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +4 -4
  3. package/src/sap/f/.library +1 -1
  4. package/src/sap/f/Avatar.js +1 -1
  5. package/src/sap/f/AvatarGroup.js +1 -1
  6. package/src/sap/f/AvatarGroupItem.js +1 -1
  7. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  8. package/src/sap/f/CalendarInCard.js +1 -1
  9. package/src/sap/f/Card.js +1 -1
  10. package/src/sap/f/CardBase.js +1 -1
  11. package/src/sap/f/DynamicPage.js +15 -4
  12. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  13. package/src/sap/f/DynamicPageHeader.js +1 -1
  14. package/src/sap/f/DynamicPageTitle.js +1 -1
  15. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  16. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  17. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  18. package/src/sap/f/GridContainer.js +1 -1
  19. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  20. package/src/sap/f/GridContainerSettings.js +2 -2
  21. package/src/sap/f/GridList.js +1 -1
  22. package/src/sap/f/GridListItem.js +1 -1
  23. package/src/sap/f/IllustratedMessage.js +1 -1
  24. package/src/sap/f/Illustration.js +1 -1
  25. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  26. package/src/sap/f/ProductSwitch.js +1 -1
  27. package/src/sap/f/ProductSwitchItem.js +1 -1
  28. package/src/sap/f/SearchManager.js +1 -1
  29. package/src/sap/f/ShellBar.js +1 -1
  30. package/src/sap/f/SidePanel.js +28 -12
  31. package/src/sap/f/SidePanelItem.js +1 -1
  32. package/src/sap/f/SidePanelRenderer.js +9 -2
  33. package/src/sap/f/cards/BaseHeader.js +2 -2
  34. package/src/sap/f/cards/Header.js +1 -1
  35. package/src/sap/f/cards/HeaderRenderer.js +0 -4
  36. package/src/sap/f/cards/NumericHeader.js +1 -1
  37. package/src/sap/f/cards/NumericHeaderRenderer.js +0 -4
  38. package/src/sap/f/cards/NumericIndicators.js +1 -1
  39. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  40. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  41. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  42. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  47. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +6 -1
  48. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  49. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  50. package/src/sap/f/dnd/GridDragOver.js +1 -1
  51. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  52. package/src/sap/f/library.js +24 -2
  53. package/src/sap/f/semantic/AddAction.js +1 -1
  54. package/src/sap/f/semantic/CloseAction.js +1 -1
  55. package/src/sap/f/semantic/CopyAction.js +1 -1
  56. package/src/sap/f/semantic/DeleteAction.js +1 -1
  57. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  58. package/src/sap/f/semantic/EditAction.js +1 -1
  59. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  60. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  61. package/src/sap/f/semantic/FlagAction.js +1 -1
  62. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  63. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  64. package/src/sap/f/semantic/MainAction.js +1 -1
  65. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  66. package/src/sap/f/semantic/NegativeAction.js +1 -1
  67. package/src/sap/f/semantic/PositiveAction.js +1 -1
  68. package/src/sap/f/semantic/PrintAction.js +1 -1
  69. package/src/sap/f/semantic/SemanticButton.js +1 -1
  70. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  71. package/src/sap/f/semantic/SemanticControl.js +1 -1
  72. package/src/sap/f/semantic/SemanticPage.js +1 -1
  73. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  74. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  75. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  76. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  77. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  78. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  79. package/src/sap/f/shellBar/CoPilot.js +1 -1
  80. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  81. package/src/sap/f/shellBar/Search.js +1 -1
  82. package/src/sap/f/themes/base/CardLoading.less +1 -2
  83. package/src/sap/f/themes/base/SidePanel.less +31 -0
package/THIRDPARTY.txt CHANGED
@@ -478,7 +478,7 @@ License: Apache-2.0
478
478
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
479
479
  Contained in: lib/jsdoc/ui5/plugin.js
480
480
 
481
- Component: SAP Theming Base Content, version: 11.2.1
481
+ Component: SAP Theming Base Content, version: 11.3.0
482
482
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
483
483
  License: Apache-2.0
484
484
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.f",
3
- "version": "1.113.0",
3
+ "version": "1.114.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.113.0",
18
- "@openui5/sap.ui.core": "1.113.0",
19
- "@openui5/sap.ui.layout": "1.113.0"
17
+ "@openui5/sap.m": "1.114.1",
18
+ "@openui5/sap.ui.core": "1.114.1",
19
+ "@openui5/sap.ui.layout": "1.114.1"
20
20
  }
21
21
  }
@@ -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.113.0</version>
9
+ <version>1.114.1</version>
10
10
 
11
11
  <documentation>SAPUI5 library with Fiori controls.</documentation>
12
12
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.m.Avatar
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.113.0
43
+ * @version 1.114.1
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -98,7 +98,7 @@ sap.ui.define([
98
98
  * @extends sap.ui.core.Control
99
99
  *
100
100
  * @author SAP SE
101
- * @version 1.113.0
101
+ * @version 1.114.1
102
102
  *
103
103
  * @constructor
104
104
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.113.0
35
+ * @version 1.114.1
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * This calendar appointment is used in card content of type Calendar.
22
22
  *
23
23
  * @extends sap.ui.unified.CalendarAppointment
24
- * @version 1.113.0
24
+ * @version 1.114.1
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * <code>sap.m.Toolbar</code> with <code>sap.m.Buttons</code>.
44
44
  *
45
45
  * @extends sap.ui.unified.Calendar
46
- * @version 1.113.0
46
+ * @version 1.114.1
47
47
  *
48
48
  * @constructor
49
49
  * @private
package/src/sap/f/Card.js CHANGED
@@ -71,7 +71,7 @@ sap.ui.define([
71
71
  * @extends sap.f.CardBase
72
72
  *
73
73
  * @author SAP SE
74
- * @version 1.113.0
74
+ * @version 1.114.1
75
75
  *
76
76
  * @constructor
77
77
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.113.0
40
+ * @version 1.114.1
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -17,6 +17,7 @@ sap.ui.define([
17
17
  "sap/ui/core/delegate/ScrollEnablement",
18
18
  "sap/ui/Device",
19
19
  "sap/ui/base/ManagedObject",
20
+ "sap/ui/dom/getScrollbarSize",
20
21
  "sap/f/DynamicPageTitle",
21
22
  "sap/f/DynamicPageHeader",
22
23
  "./DynamicPageRenderer",
@@ -35,6 +36,7 @@ sap.ui.define([
35
36
  ScrollEnablement,
36
37
  Device,
37
38
  ManagedObject,
39
+ getScrollbarSize,
38
40
  DynamicPageTitle,
39
41
  DynamicPageHeader,
40
42
  DynamicPageRenderer,
@@ -110,7 +112,7 @@ sap.ui.define([
110
112
  * @extends sap.ui.core.Control
111
113
  *
112
114
  * @author SAP SE
113
- * @version 1.113.0
115
+ * @version 1.114.1
114
116
  *
115
117
  * @constructor
116
118
  * @public
@@ -1332,7 +1334,9 @@ sap.ui.define([
1332
1334
  var bScrollBarNeeded = this._needsVerticalScrollBar(),
1333
1335
  oWrapperElement = this.$wrapper.get(0),
1334
1336
  iTitleHeight = this.$titleArea.get(0).getBoundingClientRect().height,
1335
- iTitleWidth = this._getTitleAreaWidth();
1337
+ iTitleWidth = this._getTitleAreaWidth(),
1338
+ iScrollbarWidth = getScrollbarSize().width,
1339
+ sClipPath;
1336
1340
 
1337
1341
  // the top area of the scroll container is reserved for showing the title element,
1338
1342
  // (where the title element is positioned absolutely on top of the scroll container),
@@ -1346,9 +1350,16 @@ sap.ui.define([
1346
1350
  // (2) also make the area underneath the title invisible (using clip-path)
1347
1351
  // to allow usage of *transparent background* of the title element
1348
1352
  // (otherwise content from the scroll *overflow* will show underneath the transparent title element)
1349
- oWrapperElement.style.clipPath = 'polygon(0px ' + Math.floor(iTitleHeight) + 'px, '
1353
+ sClipPath = 'polygon(0px ' + Math.floor(iTitleHeight) + 'px, '
1350
1354
  + iTitleWidth + 'px ' + Math.floor(iTitleHeight) + 'px, '
1351
- + iTitleWidth + 'px 0, 100% 0, 100% 100%, 0 100%)';
1355
+ + iTitleWidth + 'px 0, 100% 0, 100% 100%, 0 100%)'; //
1356
+
1357
+ if (Core.getConfiguration().getRTL()) {
1358
+ sClipPath = 'polygon(0px 0px, ' + iScrollbarWidth + 'px 0px, '
1359
+ + iScrollbarWidth + 'px ' + iTitleHeight + 'px, 100% '
1360
+ + iTitleHeight + 'px, 100% 100%, 0 100%)';
1361
+ }
1362
+ oWrapperElement.style.clipPath = sClipPath;
1352
1363
 
1353
1364
  this.toggleStyleClass("sapFDynamicPageWithScroll", bScrollBarNeeded);
1354
1365
 
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.113.0
26
+ * @version 1.114.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.113.0
65
+ * @version 1.114.1
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -89,7 +89,7 @@ sap.ui.define([
89
89
  * @extends sap.ui.core.Control
90
90
  *
91
91
  * @author SAP SE
92
- * @version 1.113.0
92
+ * @version 1.114.1
93
93
  *
94
94
  * @constructor
95
95
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  *
98
98
  * @extends sap.ui.core.Control
99
99
  * @author SAP SE
100
- * @version 1.113.0
100
+ * @version 1.114.1
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.113.0
25
+ * @version 1.114.1
26
26
  * @since 1.95
27
27
  *
28
28
  * @constructor
@@ -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.113.0
52
+ * @version 1.114.1
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.113.0
174
+ * @version 1.114.1
175
175
  *
176
176
  * @extends sap.ui.core.Control
177
177
  *
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
21
21
  * @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.113.0
24
+ * @version 1.114.1
25
25
  *
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
@@ -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.113.0
61
+ * @version 1.114.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.113.0
68
+ * @version 1.114.1
69
69
  *
70
70
  * @experimental Since 1.65 This class is experimental. The API may change.
71
71
  * @since 1.65
@@ -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.113.0
96
+ * @version 1.114.1
97
97
  *
98
98
  * @extends sap.m.ListBase
99
99
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.113.0
27
+ * @version 1.114.1
28
28
  *
29
29
  * @since 1.70
30
30
  * @constructor
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.m.IllustratedMessage
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.113.0
59
+ * @version 1.114.1
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.Illustration
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.113.0
33
+ * @version 1.114.1
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', 'sap/ui/unified/CalendarLegendIte
22
22
  * @extends sap.m.PlanningCalendarLegend
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.113.0
25
+ * @version 1.114.1
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.113.0
37
+ * @version 1.114.1
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.113.0
43
+ * @version 1.114.1
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/base/ManagedObjectObserver', './sh
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.113.0
26
+ * @version 1.114.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -56,7 +56,7 @@ function(
56
56
  * @implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.113.0
59
+ * @version 1.114.1
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -22,6 +22,7 @@ sap.ui.define([
22
22
  "sap/ui/core/InvisibleMessage",
23
23
  "./SidePanelItem",
24
24
  "./SidePanelRenderer",
25
+ "./library",
25
26
  "sap/ui/core/library",
26
27
  "sap/ui/events/F6Navigation",
27
28
  "sap/ui/thirdparty/jquery",
@@ -43,6 +44,7 @@ sap.ui.define([
43
44
  InvisibleMessage,
44
45
  SidePanelItem,
45
46
  SidePanelRenderer,
47
+ library,
46
48
  coreLibrary,
47
49
  F6Navigation,
48
50
  jQuery,
@@ -52,7 +54,8 @@ sap.ui.define([
52
54
 
53
55
  // Resource Bundle
54
56
  var oResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.f"),
55
- InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
57
+ InvisibleMessageMode = coreLibrary.InvisibleMessageMode,
58
+ SidePanelPosition = library.SidePanelPosition;
56
59
 
57
60
  // Resize positions
58
61
  var SIDE_PANEL_POSITION_MIN_WIDTH = 0, // Minimum width
@@ -146,7 +149,7 @@ sap.ui.define([
146
149
  * @extends sap.ui.core.Control
147
150
  *
148
151
  * @author SAP SE
149
- * @version 1.113.0
152
+ * @version 1.114.1
150
153
  *
151
154
  * @constructor
152
155
  * @public
@@ -218,7 +221,12 @@ sap.ui.define([
218
221
  * Determines whether the side content is visible or hidden.
219
222
  * @private
220
223
  */
221
- sideContentExpanded: { type: "boolean", group: "Appearance", defaultValue: false, visibility: "hidden" }
224
+ sideContentExpanded: { type: "boolean", group: "Appearance", defaultValue: false, visibility: "hidden" },
225
+
226
+ /**
227
+ * Defines where to place the side panel position.
228
+ */
229
+ sidePanelPosition: {type: "sap.f.SidePanelPosition", group: "Appearance", defaultValue: SidePanelPosition.Right}
222
230
  },
223
231
  aggregations: {
224
232
  /**
@@ -408,7 +416,13 @@ sap.ui.define([
408
416
  var oExpandCollapseButton = this.getAggregation("_arrowButton"),
409
417
  bActionBarExpanded = this.getActionBarExpanded(),
410
418
  sTooltip = bActionBarExpanded ? oResourceBundle.getText("SIDEPANEL_COLLAPSE_BUTTON_TEXT") : oResourceBundle.getText("SIDEPANEL_EXPAND_BUTTON_TEXT"),
411
- sNextArrow = bActionBarExpanded ? "right" : "left";
419
+ sNextArrow;
420
+
421
+ if (SidePanelPosition.Right === this.getSidePanelPosition()) {
422
+ sNextArrow = bActionBarExpanded ? "right" : "left";
423
+ } else {
424
+ sNextArrow = bActionBarExpanded ? "left" : "right";
425
+ }
412
426
 
413
427
  oExpandCollapseButton.setIcon("sap-icon://navigation-" + sNextArrow + "-arrow");
414
428
  oExpandCollapseButton.setTooltip(sTooltip);
@@ -1054,15 +1068,15 @@ sap.ui.define([
1054
1068
  var sIcon,
1055
1069
  oContentHeaderCloseIcon = this.getAggregation("_closeButton");
1056
1070
 
1057
- if (!oContentHeaderCloseIcon) {
1058
- if (this._isSingleItem()) {
1059
- sIcon = Device.system.phone
1060
- ? "sap-icon://navigation-down-arrow"
1061
- : "sap-icon://navigation-right-arrow";
1062
- } else {
1063
- sIcon = "sap-icon://decline";
1064
- }
1071
+ if (this._isSingleItem()) {
1072
+ sIcon = Device.system.phone
1073
+ ? "sap-icon://navigation-down-arrow"
1074
+ : "sap-icon://navigation-" + this.getSidePanelPosition().toLowerCase() + "-arrow";
1075
+ } else {
1076
+ sIcon = "sap-icon://decline";
1077
+ }
1065
1078
 
1079
+ if (!oContentHeaderCloseIcon) {
1066
1080
  oContentHeaderCloseIcon = new Button(this.getId() + "-closeButton", {
1067
1081
  type: "Transparent",
1068
1082
  tooltip: oResourceBundle.getText("SIDEPANEL_CLOSE_BUTTON_TEXT"),
@@ -1085,6 +1099,8 @@ sap.ui.define([
1085
1099
  });
1086
1100
 
1087
1101
  this.setAggregation("_closeButton", oContentHeaderCloseIcon);
1102
+ } else {
1103
+ oContentHeaderCloseIcon.setIcon(sIcon);
1088
1104
  }
1089
1105
 
1090
1106
  return oContentHeaderCloseIcon;
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Item
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.113.0
30
+ * @version 1.114.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -6,8 +6,9 @@
6
6
 
7
7
  sap.ui.define([
8
8
  "sap/ui/Device",
9
- "sap/ui/core/IconPool"
10
- ], function (Device, IconPool) {
9
+ "sap/ui/core/IconPool",
10
+ "./library"
11
+ ], function (Device, IconPool, library) {
11
12
  "use strict";
12
13
 
13
14
  var SidePanelRenderer = {
@@ -15,10 +16,16 @@ sap.ui.define([
15
16
  };
16
17
 
17
18
  SidePanelRenderer.render = function(oRm, oControl) {
19
+
18
20
  var bActionBarExpanded = oControl.getActionBarExpanded();
21
+ var sPosition = oControl.getSidePanelPosition();
22
+
19
23
 
20
24
  oRm.openStart("div", oControl);
21
25
  oRm.class("sapFSP");
26
+ if (!Device.system.phone && library.SidePanelPosition.Left === sPosition ) {
27
+ oRm.class("sapFSPLeft");
28
+ }
22
29
  oControl._isSingleItem() && oRm.class("sapFSPSingleItem");
23
30
  bActionBarExpanded && oControl.getItems().length !== 1 && oRm.class("sapFSPActionBarExpanded");
24
31
  oControl._getSideContentExpanded() && oRm.class("sapFSPSideContentExpanded");
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @abstract
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.113.0
41
+ * @version 1.114.1
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -248,7 +248,7 @@ sap.ui.define([
248
248
  sFormattedText = oDateFormat.format(oUniversalDate);
249
249
 
250
250
  // no less than "1 minute ago" should be shown, "30 seconds ago" should not be shown
251
- if (oUniversalDate.getTime() + 59000 > (new Date()).getTime()) {
251
+ if (oUniversalDate.getTime() + 59000 > Date.now()) {
252
252
  sFormattedText = "now"; //@todo get formatted (translated text) for "now"
253
253
  }
254
254
 
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @implements sap.f.cards.IHeader
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.113.0
49
+ * @version 1.114.1
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -43,10 +43,6 @@ sap.ui.define([], function () {
43
43
  oRm.class("sapFCardClickable");
44
44
  }
45
45
 
46
- if (oError) {
47
- oRm.class("sapFCardHeaderError");
48
- }
49
-
50
46
  oRm.openEnd();
51
47
 
52
48
  oRm.openStart("div")
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @extends sap.f.cards.BaseHeader
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.113.0
42
+ * @version 1.114.1
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -34,10 +34,6 @@ sap.ui.define([], function () {
34
34
  oRm.class("sapFCardClickable");
35
35
  }
36
36
 
37
- if (oError) {
38
- oRm.class("sapFCardHeaderError");
39
- }
40
-
41
37
  oRm.openEnd();
42
38
 
43
39
  oRm.openStart("div")
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.113.0
28
+ * @version 1.114.1
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.113.0
29
+ * @version 1.114.1
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.f.cards.loading.ListPlaceholder
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.113.0
32
+ * @version 1.114.1
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
  *
17
17
  * @alias sap.f.changeHandler.MoveDynamicPageTitleActions
18
18
  * @author SAP SE
19
- * @version 1.113.0
19
+ * @version 1.114.1
20
20
  * @experimental Since 1.52
21
21
  */
22
22
  var MoveActions = { };
@@ -148,6 +148,11 @@ sap.ui.define([
148
148
  },
149
149
  getTargetIndex: function(oChange) {
150
150
  return oChange.getContent().movedElements[0].targetIndex;
151
+ },
152
+ setIndexInRevertData: function(oChange, iIndex) {
153
+ var oRevertData = oChange.getRevertData();
154
+ oRevertData.index = iIndex;
155
+ oChange.setRevertData(oRevertData);
151
156
  }
152
157
  };
153
158
  };
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  *
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.113.0
44
+ * @version 1.114.1
45
45
  *
46
46
  * @extends sap.f.delegate.GridItemNavigation
47
47
  *
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.113.0
34
+ * @version 1.114.1
35
35
  *
36
36
  * @extends sap.ui.core.delegate.ItemNavigation
37
37
  *
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * Handles dragging of a control over a given grid container.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  *
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.dnd.DropInfo
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.113.0
40
+ * @version 1.114.1
41
41
  *
42
42
  * @public
43
43
  * @experimental Since 1.68 This class is experimental. The API may change.
@@ -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.113.0
39
+ * @version 1.114.1
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.113.0",
45
+ version: "1.114.1",
46
46
  dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
47
47
  designtime: "sap/f/designtime/library.designtime",
48
48
  interfaces: [
@@ -592,6 +592,28 @@ sap.ui.define(["sap/ui/base/DataType",
592
592
  Right: "Right"
593
593
  };
594
594
 
595
+ /**
596
+ * Enumeration for different SidePanel position.
597
+ *
598
+ * @enum {string}
599
+ * @public
600
+ * @since 1.104
601
+ */
602
+ thisLib.SidePanelPosition = {
603
+ /**
604
+ * The position is left.
605
+ *
606
+ * @public
607
+ */
608
+ Left: "Left",
609
+ /**
610
+ * The position is right.
611
+ *
612
+ * @public
613
+ */
614
+ Right: "Right"
615
+ };
616
+
595
617
  /**
596
618
  * Available <code>Illustration</code> types for the {@link sap.f.IllustratedMessage} control.
597
619
  *
@@ -18,7 +18,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticToggleButton'], function(SemanticToggleButton) {
19
19
  * @extends sap.f.semantic.SemanticToggleButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticToggleButton'], function(SemanticToggleButton) {
19
19
  * @extends sap.f.semantic.SemanticToggleButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["./MainAction"], function(MainAction) {
19
19
  * @extends sap.f.semantic.MainAction
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
18
18
  * @extends sap.f.semantic.SemanticButton
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.113.0
21
+ * @version 1.114.1
22
22
  *
23
23
  * @constructor
24
24
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['./SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @abstract
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.113.0
27
+ * @version 1.114.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @class
31
31
  * Defines the visual properties and placement for each supported semantic type.
32
32
  *
33
- * @version 1.113.0
33
+ * @version 1.114.1
34
34
  * @private
35
35
  * @since 1.46.0
36
36
  * @alias sap.f.semantic.SemanticConfiguration
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @abstract
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.113.0
27
+ * @version 1.114.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @extends sap.ui.core.Control
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.113.0
100
+ * @version 1.114.1
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @abstract
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.113.0
26
+ * @version 1.114.1
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/f/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.f.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["./MainAction"], function(MainAction) {
19
19
  * @extends sap.f.semantic.MainAction
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.113.0
22
+ * @version 1.114.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
 
23
23
  /**
24
24
  * @author SAP SE
25
- * @version 1.113.0
25
+ * @version 1.114.1
26
26
  *
27
27
  * @private
28
28
  * @since 1.64
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.113.0
28
+ * @version 1.114.1
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Control', 'sap/f/shellBar/ControlSpacerRenderer'],
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.113.0
26
+ * @version 1.114.1
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -36,7 +36,7 @@ sap.ui.define(['sap/ui/core/Control',
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.113.0
39
+ * @version 1.114.1
40
40
  *
41
41
  * @constructor
42
42
  * @private
@@ -94,8 +94,7 @@
94
94
  display: none;
95
95
  }
96
96
 
97
- .sapFCardBaseContent.sapFCardContentLoading:not(.sapFCardObjectContent) > :not(.sapFCardContentPlaceholder),
98
- .sapFCardBaseContent.sapFCardContentLoading .sapFCardContentNoDataMsg {
97
+ .sapFCardBaseContent.sapFCardContentLoading:not(.sapFCardObjectContent) > :not(.sapFCardContentPlaceholder):not(.sapFCardContentMessageContainer) {
99
98
  display: none;
100
99
  }
101
100
 
@@ -478,6 +478,37 @@
478
478
  }
479
479
  }
480
480
 
481
+ .sapFSP.sapFSPLeft {
482
+ flex-direction: row-reverse;
483
+ .sapFSPSide {
484
+ margin: 0.5rem 1rem 0.5rem 0;
485
+ .sapFSPSideInner {
486
+ border-radius: 0 @sapUiTileBorderCornerRadius @sapUiTileBorderCornerRadius 0;
487
+ flex-direction: row;
488
+ }
489
+ .sapFSPExpandCollapse {
490
+ right: auto;
491
+ left: 1rem;
492
+ }
493
+ .sapFSPActionBarList {
494
+ .sapFSPItem {
495
+ flex-direction: row-reverse;
496
+ &.sapFSPSelected {
497
+ &::before {
498
+ right: 0;
499
+ left: auto;
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ }
506
+
507
+ .sapFSP.sapFSPLeft:not(.sapFSPSingleItem) .sapFSPSideContent {
508
+ border-right: none;
509
+ border-left: 0.0625rem solid @sapUiGroupContentBorderColor;
510
+ }
511
+
481
512
  /***** Phone *****/
482
513
 
483
514
  html.sap-phone {