@openui5/sap.f 1.112.2 → 1.114.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.
Files changed (87) 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 +17 -8
  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 +41 -17
  31. package/src/sap/f/SidePanelItem.js +1 -1
  32. package/src/sap/f/SidePanelRenderer.js +15 -3
  33. package/src/sap/f/cards/BaseHeader.js +2 -2
  34. package/src/sap/f/cards/Header.js +2 -2
  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 +1 -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/messagebundle_bg.properties +2 -2
  54. package/src/sap/f/messagebundle_de.properties +2 -2
  55. package/src/sap/f/semantic/AddAction.js +1 -1
  56. package/src/sap/f/semantic/CloseAction.js +1 -1
  57. package/src/sap/f/semantic/CopyAction.js +1 -1
  58. package/src/sap/f/semantic/DeleteAction.js +1 -1
  59. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  60. package/src/sap/f/semantic/EditAction.js +1 -1
  61. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  62. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  63. package/src/sap/f/semantic/FlagAction.js +1 -1
  64. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  65. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  66. package/src/sap/f/semantic/MainAction.js +1 -1
  67. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  68. package/src/sap/f/semantic/NegativeAction.js +1 -1
  69. package/src/sap/f/semantic/PositiveAction.js +1 -1
  70. package/src/sap/f/semantic/PrintAction.js +1 -1
  71. package/src/sap/f/semantic/SemanticButton.js +1 -1
  72. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  73. package/src/sap/f/semantic/SemanticControl.js +1 -1
  74. package/src/sap/f/semantic/SemanticPage.js +4 -3
  75. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  76. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  77. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  78. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  79. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  80. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  81. package/src/sap/f/shellBar/CoPilot.js +1 -1
  82. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  83. package/src/sap/f/shellBar/Search.js +1 -1
  84. package/src/sap/f/themes/base/CardLoading.less +1 -1
  85. package/src/sap/f/themes/base/DynamicPage.less +0 -3
  86. package/src/sap/f/themes/base/DynamicPageTitle.less +1 -0
  87. package/src/sap/f/themes/base/SidePanel.less +47 -1
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.1.48
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.112.2",
3
+ "version": "1.114.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.112.2",
18
- "@openui5/sap.ui.core": "1.112.2",
19
- "@openui5/sap.ui.layout": "1.112.2"
17
+ "@openui5/sap.m": "1.114.0",
18
+ "@openui5/sap.ui.core": "1.114.0",
19
+ "@openui5/sap.ui.layout": "1.114.0"
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.112.2</version>
9
+ <version>1.114.0</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.112.2
43
+ * @version 1.114.0
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.112.2
101
+ * @version 1.114.0
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.112.2
35
+ * @version 1.114.0
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.112.2
24
+ * @version 1.114.0
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.112.2
46
+ * @version 1.114.0
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.112.2
74
+ * @version 1.114.0
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.112.2
40
+ * @version 1.114.0
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.112.2
115
+ * @version 1.114.0
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
 
@@ -1356,11 +1367,9 @@ sap.ui.define([
1356
1367
  };
1357
1368
 
1358
1369
  DynamicPage.prototype._updateFitContainer = function (bNeedsVerticalScrollBar) {
1359
- var bNoScrollBar = typeof bNeedsVerticalScrollBar !== 'undefined' ? !bNeedsVerticalScrollBar : !this._needsVerticalScrollBar(),
1360
- bFitContent = this.getFitContent(),
1361
- bToggleClass = bFitContent || bNoScrollBar;
1370
+ var bNoScrollBar = typeof bNeedsVerticalScrollBar !== 'undefined' ? !bNeedsVerticalScrollBar : !this._needsVerticalScrollBar();
1362
1371
 
1363
- this.$contentFitContainer.toggleClass("sapFDynamicPageContentFitContainer", bToggleClass);
1372
+ this.$contentFitContainer.toggleClass("sapFDynamicPageContentFitContainer", bNoScrollBar);
1364
1373
  };
1365
1374
 
1366
1375
  /**
@@ -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.112.2
26
+ * @version 1.114.0
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.112.2
65
+ * @version 1.114.0
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.112.2
92
+ * @version 1.114.0
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.112.2
100
+ * @version 1.114.0
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.112.2
25
+ * @version 1.114.0
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.112.2
52
+ * @version 1.114.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.112.2
174
+ * @version 1.114.0
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.112.2
24
+ * @version 1.114.0
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.112.2
61
+ * @version 1.114.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.112.2
68
+ * @version 1.114.0
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.112.2
96
+ * @version 1.114.0
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.112.2
27
+ * @version 1.114.0
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.112.2
59
+ * @version 1.114.0
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.112.2
33
+ * @version 1.114.0
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.112.2
25
+ * @version 1.114.0
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.112.2
37
+ * @version 1.114.0
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.112.2
43
+ * @version 1.114.0
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.112.2
26
+ * @version 1.114.0
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.112.2
59
+ * @version 1.114.0
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.112.2
152
+ * @version 1.114.0
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
  /**
@@ -395,7 +403,7 @@ sap.ui.define([
395
403
  if (!sId) {
396
404
  // remove selected action item (if any) and collapse its side content
397
405
  sSelectedItem && this._toggleItemSelection(Core.byId(sSelectedItem));
398
- } else if (oItem && sId !== sSelectedItem && sId !== this.getAggregation("_overflowItem").getId()) {
406
+ } else if (oItem && oItem.getEnabled() && sId !== sSelectedItem && sId !== this.getAggregation("_overflowItem").getId()) {
399
407
  // select an action item and expand its side content
400
408
  this._toggleItemSelection(oItem);
401
409
  this.setAssociation("selectedItem", oItem, true);
@@ -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);
@@ -746,15 +760,18 @@ sap.ui.define([
746
760
  // find a collection of all action items
747
761
  aItems.forEach(function(oItem, iIndex) {
748
762
  if (iIndex < iMaxItems) {
749
- oItemDomRef = this._getFocusDomRef(oItem);
750
- oItemDomRef.setAttribute("tabindex", "-1");
751
- aItemsDomRef.push(oItemDomRef);
763
+ if (oItem.getEnabled()){
764
+ oItemDomRef = this._getFocusDomRef(oItem);
765
+ oItemDomRef.setAttribute("tabindex", "-1");
766
+ aItemsDomRef.push(oItemDomRef);
767
+ }
752
768
  oItem.$().css("display", "flex");
753
769
  } else {
754
770
  oItem.$().css("display", "none");
755
771
  oMenuItem = new MenuItem({
756
772
  text: oItem.getText(),
757
- icon: oItem.getIcon()
773
+ icon: oItem.getIcon(),
774
+ enabled: oItem.getEnabled()
758
775
  });
759
776
  oOverflowMenu.addItem(oMenuItem);
760
777
  this._mOverflowItemsMap[oMenuItem.getId()] = oItem;
@@ -933,6 +950,11 @@ sap.ui.define([
933
950
  return;
934
951
  }
935
952
 
953
+ // disabled items cannot be selected
954
+ if (!oItem.getEnabled()){
955
+ return;
956
+ }
957
+
936
958
  // fire 'toggle' event for collapsed action item
937
959
  if (oSelectedItem && (!bExpanded || bToggleDifferent)) {
938
960
  bSkipPrevent = this._fireToggle({
@@ -1046,15 +1068,15 @@ sap.ui.define([
1046
1068
  var sIcon,
1047
1069
  oContentHeaderCloseIcon = this.getAggregation("_closeButton");
1048
1070
 
1049
- if (!oContentHeaderCloseIcon) {
1050
- if (this._isSingleItem()) {
1051
- sIcon = Device.system.phone
1052
- ? "sap-icon://navigation-down-arrow"
1053
- : "sap-icon://navigation-right-arrow";
1054
- } else {
1055
- sIcon = "sap-icon://decline";
1056
- }
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
+ }
1057
1078
 
1079
+ if (!oContentHeaderCloseIcon) {
1058
1080
  oContentHeaderCloseIcon = new Button(this.getId() + "-closeButton", {
1059
1081
  type: "Transparent",
1060
1082
  tooltip: oResourceBundle.getText("SIDEPANEL_CLOSE_BUTTON_TEXT"),
@@ -1077,6 +1099,8 @@ sap.ui.define([
1077
1099
  });
1078
1100
 
1079
1101
  this.setAggregation("_closeButton", oContentHeaderCloseIcon);
1102
+ } else {
1103
+ oContentHeaderCloseIcon.setIcon(sIcon);
1080
1104
  }
1081
1105
 
1082
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.112.2
30
+ * @version 1.114.0
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");
@@ -44,6 +51,10 @@ sap.ui.define([
44
51
  !bActionBarExpanded && oRm.attr("title", sItemText);
45
52
  oRm.class("sapFSPItem");
46
53
 
54
+ if (!oItem.getEnabled()) {
55
+ oRm.class("sapFSPDisabled");
56
+ }
57
+
47
58
  if ((!bOverflowItem && bItemSelected) || (bOverflowItem && oControl._bOverflowMenuOpened)) {
48
59
  oRm.class("sapFSPSelected");
49
60
  oRm.attr(sAriaAttribute, "true");
@@ -57,7 +68,8 @@ sap.ui.define([
57
68
  oRm.openEnd();
58
69
 
59
70
  oRm.renderControl(IconPool.createControlByURI({
60
- src: iIndex === 0 && bSingleItem && bPhone ? "sap-icon://navigation-up-arrow" : oItem.getIcon()
71
+ src: iIndex === 0 && bSingleItem && bPhone ? "sap-icon://navigation-up-arrow" : oItem.getIcon(),
72
+ useIconTooltip: false
61
73
  }));
62
74
 
63
75
  if ((bSingleItem && bPhone)
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @abstract
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.112.2
41
+ * @version 1.114.0
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.112.2
49
+ * @version 1.114.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -180,7 +180,7 @@ sap.ui.define([
180
180
  Header.prototype._getTitle = function () {
181
181
  var oTitle = this.getAggregation("_title");
182
182
  if (!oTitle) {
183
- oTitle = new Text().addStyleClass("sapFCardTitle");
183
+ oTitle = new Text(this.getId() + "-title").addStyleClass("sapFCardTitle");
184
184
  this.setAggregation("_title", oTitle);
185
185
  }
186
186
  return oTitle;
@@ -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.112.2
42
+ * @version 1.114.0
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.112.2
28
+ * @version 1.114.0
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.112.2
29
+ * @version 1.114.0
30
30
  *
31
31
  * @constructor
32
32
  * @public