@openui5/sap.ui.unified 1.149.1 → 1.151.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 (68) hide show
  1. package/REUSE.toml +24 -0
  2. package/THIRDPARTY.txt +25 -6
  3. package/package.json +2 -2
  4. package/src/sap/ui/unified/.library +1 -1
  5. package/src/sap/ui/unified/Calendar.js +11 -1
  6. package/src/sap/ui/unified/CalendarAppointment.js +23 -4
  7. package/src/sap/ui/unified/CalendarDateInterval.js +1 -1
  8. package/src/sap/ui/unified/CalendarLegend.js +1 -1
  9. package/src/sap/ui/unified/CalendarLegendItem.js +1 -1
  10. package/src/sap/ui/unified/CalendarMonthInterval.js +5 -1
  11. package/src/sap/ui/unified/CalendarOneMonthInterval.js +1 -1
  12. package/src/sap/ui/unified/CalendarRow.js +1 -1
  13. package/src/sap/ui/unified/CalendarRowRenderer.js +39 -24
  14. package/src/sap/ui/unified/CalendarTimeInterval.js +1 -1
  15. package/src/sap/ui/unified/CalendarWeekInterval.js +1 -1
  16. package/src/sap/ui/unified/ColorPicker.js +46 -1
  17. package/src/sap/ui/unified/ColorPickerPopover.js +1 -1
  18. package/src/sap/ui/unified/ColorPickerRenderer.js +49 -15
  19. package/src/sap/ui/unified/ContentSwitcher.js +1 -1
  20. package/src/sap/ui/unified/Currency.js +1 -1
  21. package/src/sap/ui/unified/CurrencyRenderer.js +1 -1
  22. package/src/sap/ui/unified/DateRange.js +1 -1
  23. package/src/sap/ui/unified/DateTypeRange.js +1 -1
  24. package/src/sap/ui/unified/FileUploader.js +1 -1
  25. package/src/sap/ui/unified/FileUploaderParameter.js +1 -1
  26. package/src/sap/ui/unified/FileUploaderXHRSettings.js +1 -1
  27. package/src/sap/ui/unified/Menu.js +1 -1
  28. package/src/sap/ui/unified/MenuItem.js +2 -2
  29. package/src/sap/ui/unified/MenuItemBase.js +1 -1
  30. package/src/sap/ui/unified/MenuItemGroup.js +1 -1
  31. package/src/sap/ui/unified/MenuRenderer.js +4 -2
  32. package/src/sap/ui/unified/MenuTextFieldItem.js +8 -4
  33. package/src/sap/ui/unified/MonthlyRecurrenceRule.js +1 -1
  34. package/src/sap/ui/unified/NonWorkingPeriod.js +1 -1
  35. package/src/sap/ui/unified/RecurrenceRule.js +1 -1
  36. package/src/sap/ui/unified/RecurringCalendarAppointment.js +7 -2
  37. package/src/sap/ui/unified/RecurringNonWorkingPeriod.js +15 -1
  38. package/src/sap/ui/unified/Shell.js +1 -1
  39. package/src/sap/ui/unified/ShellHeadItem.js +2 -30
  40. package/src/sap/ui/unified/ShellHeadUserItem.js +3 -31
  41. package/src/sap/ui/unified/ShellHeader.js +29 -13
  42. package/src/sap/ui/unified/ShellLayout.js +1 -1
  43. package/src/sap/ui/unified/ShellOverlay.js +1 -1
  44. package/src/sap/ui/unified/SplitContainer.js +1 -1
  45. package/src/sap/ui/unified/TimeRange.js +1 -1
  46. package/src/sap/ui/unified/WeeklyRecurrenceRule.js +1 -1
  47. package/src/sap/ui/unified/YearlyRecurrenceRule.js +1 -1
  48. package/src/sap/ui/unified/calendar/DatesRow.js +1 -1
  49. package/src/sap/ui/unified/calendar/Header.js +1 -1
  50. package/src/sap/ui/unified/calendar/HeaderRenderer.js +1 -0
  51. package/src/sap/ui/unified/calendar/IndexPicker.js +1 -1
  52. package/src/sap/ui/unified/calendar/Month.js +60 -1
  53. package/src/sap/ui/unified/calendar/MonthPicker.js +1 -1
  54. package/src/sap/ui/unified/calendar/MonthRenderer.js +23 -10
  55. package/src/sap/ui/unified/calendar/MonthsRow.js +196 -40
  56. package/src/sap/ui/unified/calendar/OneMonthDatesRow.js +1 -1
  57. package/src/sap/ui/unified/calendar/TimesRow.js +1 -1
  58. package/src/sap/ui/unified/calendar/WeeksRow.js +1 -1
  59. package/src/sap/ui/unified/calendar/YearPicker.js +1 -1
  60. package/src/sap/ui/unified/calendar/YearRangePicker.js +1 -1
  61. package/src/sap/ui/unified/library.js +2 -2
  62. package/src/sap/ui/unified/messagebundle_en_US_sappsd.properties +73 -9
  63. package/src/sap/ui/unified/messagebundle_en_US_saptrc.properties +70 -8
  64. package/src/sap/ui/unified/themes/base/Calendar.less +39 -6
  65. package/src/sap/ui/unified/themes/base/ColorPicker.less +125 -3
  66. package/src/sap/ui/unified/themes/base/FileUploader.less +5 -0
  67. package/src/sap/ui/unified/themes/base/ShellHeader.less +2 -7
  68. package/src/sap/ui/unified/themes/sap_hcb/Calendar.less +2 -1
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.149.1
34
+ * @version 1.151.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @extends sap.ui.core.Control
59
59
  *
60
60
  * @author SAP SE
61
- * @version 1.149.1
61
+ * @version 1.151.0
62
62
  *
63
63
  * @constructor
64
64
  * @public
@@ -14,7 +14,7 @@ sap.ui.define(["sap/m/library", "sap/ui/core/Lib"],
14
14
  /**
15
15
  * Currency renderer.
16
16
  *
17
- * @version 1.149.1
17
+ * @version 1.151.0
18
18
  * @namespace
19
19
  */
20
20
  var CurrencyRenderer = {
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/unified/calendar/Cale
20
20
  * @class
21
21
  * Date range for use in DatePicker
22
22
  * @extends sap.ui.core.Element
23
- * @version 1.149.1
23
+ * @version 1.151.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['./DateRange', './library'],
25
25
  * @class
26
26
  * Date range with calendar day type information. Used to visualize special days in the Calendar.
27
27
  * @extends sap.ui.unified.DateRange
28
- * @version 1.149.1
28
+ * @version 1.151.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @implements sap.ui.core.IFormContent, sap.ui.unified.IProcessableBlobs
80
80
  *
81
81
  * @author SAP SE
82
- * @version 1.149.1
82
+ * @version 1.151.0
83
83
  *
84
84
  * @constructor
85
85
  * @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.149.1
25
+ * @version 1.151.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.149.1
23
+ * @version 1.151.0
24
24
  *
25
25
  * @constructor
26
26
  * @since 1.52
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @implements sap.ui.core.IContextMenu
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.149.1
73
+ * @version 1.151.0
74
74
  * @since 1.21.0
75
75
  *
76
76
  * @constructor
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @implements sap.ui.unified.IMenuItem
40
40
  *
41
41
  * @author SAP SE
42
- * @version 1.149.1
42
+ * @version 1.151.0
43
43
  * @since 1.21.0
44
44
  *
45
45
  * @constructor
@@ -170,7 +170,7 @@ sap.ui.define([
170
170
  posinset: oInfo.iItemNo,
171
171
  setsize: oInfo.iTotalItems,
172
172
  selected: null,
173
- checked: bIsSelected ? true : undefined,
173
+ checked: oItem._getItemSelectionMode() !== ItemSelectionMode.None ? bIsSelected : undefined,
174
174
  labelledby: { value: this.getId() + "-txt", append: true },
175
175
  keyshortcuts : !oSubMenu && sShortcutText ? sShortcutText : null,
176
176
  haspopup: oSubMenu && coreLibrary.aria.HasPopup.Menu.toLowerCase(),
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', './library', 'sap/ui/core/IconPool', 'sap/
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.149.1
26
+ * @version 1.151.0
27
27
  * @since 1.21.0
28
28
  *
29
29
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @implements sap.ui.unified.IMenuItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.149.1
33
+ * @version 1.151.0
34
34
  * @since 1.127.0
35
35
  *
36
36
  * @constructor
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
15
15
  * Menu renderer.
16
16
  * @author SAP - TD Core UI&AM UI Infra
17
17
  *
18
- * @version 1.149.1
18
+ * @version 1.151.0
19
19
  * @namespace
20
20
  */
21
21
  var MenuRenderer = {
@@ -165,7 +165,9 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
165
165
  oRm.openEnd();
166
166
  oRm.close("div");
167
167
 
168
- oRm.voidStart("hr").voidEnd();
168
+ oRm.voidStart("hr");
169
+ oRm.attr("aria-hidden", "true");
170
+ oRm.voidEnd();
169
171
 
170
172
  oRm.openStart("div");
171
173
  oRm.class("sapUiMnuDivR");
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @implements sap.ui.unified.IMenuItem
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.149.1
56
+ * @version 1.151.0
57
57
  * @since 1.21.0
58
58
  *
59
59
  * @constructor
@@ -235,7 +235,7 @@ sap.ui.define([
235
235
  };
236
236
 
237
237
 
238
- MenuTextFieldItem.prototype.onkeydown = function(oEvent){
238
+ MenuTextFieldItem.prototype.onkeyup = function(oEvent){
239
239
  oEvent.stopPropagation(); //Avoid bubbling key events to the Menu -> Events are only selectively forwarded
240
240
  };
241
241
 
@@ -249,9 +249,13 @@ sap.ui.define([
249
249
  };
250
250
 
251
251
 
252
- MenuTextFieldItem.prototype.onkeyup = function(oEvent){
252
+ MenuTextFieldItem.prototype.onkeydown = function(oEvent){
253
253
  //like sapenter but on keyup -> see Menu.prototype.onkeyup
254
254
  if (!PseudoEvents.events.sapenter.fnCheck(oEvent) && oEvent.key !== "Enter") {
255
+ if (oEvent.key === "Home" || oEvent.key === "End") {
256
+ oEvent.stopPropagation();
257
+ }
258
+
255
259
  return;
256
260
  }
257
261
  var sValue = this.$("tf").val();
@@ -360,7 +364,7 @@ sap.ui.define([
360
364
  sCountInfo = oUnifiedBundle.getText("UNIFIED_MENU_ITEM_COUNT_TEXT", [oInfo.iItemNo, oInfo.iTotalItems]);
361
365
  sTypeInfo = oUnifiedBundle.getText("UNIFIED_MENU_ITEM_HINT_TEXT");
362
366
  this._invisibleDescription = new InvisibleText({
363
- text: sCountInfo + " " + sTypeInfo
367
+ text: `${sTypeInfo} ${sCountInfo}`
364
368
  }).toStatic();
365
369
  }
366
370
 
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * </ul>
29
29
  *
30
30
  * @extends sap.ui.unified.RecurrenceRule
31
- * @version 1.149.1
31
+ * @version 1.151.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class
25
25
  * NonWorkingPeriod
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.149.1
27
+ * @version 1.151.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * </pre>
43
43
  *
44
44
  * @extends sap.ui.core.Element
45
- * @version 1.149.1
45
+ * @version 1.151.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  *
37
37
  * Applications could inherit from this element to add own fields.
38
38
  * @extends sap.ui.unified.CalendarAppointment
39
- * @version 1.149.1
39
+ * @version 1.151.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -124,7 +124,12 @@ sap.ui.define([
124
124
  RecurringCalendarAppointment.prototype.createOccurrenceClones = function(oRangeStart, oRangeEnd) {
125
125
  const oAppStartDate = this.getStartDate();
126
126
  const iDuration = this.getDuration();
127
- const aOccurrences = RecurrenceUtils.getOccurrencesInRange.call(this, oRangeStart, oRangeEnd);
127
+
128
+ let aOccurrences = RecurrenceUtils.getCachedOccurrences.call(this, oRangeStart, oRangeEnd);
129
+ if (!aOccurrences) {
130
+ aOccurrences = RecurrenceUtils.getOccurrencesInRange.call(this, oRangeStart, oRangeEnd);
131
+ RecurrenceUtils.setCachedOccurrences.call(this, oRangeStart, oRangeEnd, aOccurrences);
132
+ }
128
133
 
129
134
  return aOccurrences.map((oOccurrenceDate) => {
130
135
  const oOccurrenceStart = UI5Date.getInstance(oOccurrenceDate);
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  *
35
35
  * Applications can inherit from this element to add own fields.
36
36
  * @extends sap.ui.unified.NonWorkingPeriod
37
- * @version 1.149.1
37
+ * @version 1.151.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -112,6 +112,20 @@ sap.ui.define([
112
112
  return !!this.getRecurrenceType();
113
113
  };
114
114
 
115
+ /**
116
+ * Returns the recurrence start date. Falls back to the calendar date (midnight) when
117
+ * no timeRange is set, which is the normal case for RecurringNonWorkingPeriod.
118
+ * RecurrenceUtils.hasOccurrenceOnDate normalises to midnight itself, so this is safe.
119
+ * @returns {Date|module:sap/ui/core/date/UI5Date} The start date
120
+ * @private
121
+ */
122
+ RecurringNonWorkingPeriod.prototype.getStartDate = function() {
123
+ if (this.getTimeRange()) {
124
+ return NonWorkingPeriod.prototype.getStartDate.call(this);
125
+ }
126
+ return this.getDate();
127
+ };
128
+
115
129
  /**
116
130
  * Checks if a given date (without time) is a non-working day.
117
131
  * @param {Date|module:sap/ui/core/date/UI5Date} oDate - Date to check
@@ -25,7 +25,7 @@ sap.ui.define(['./ShellHeader', './ShellLayout', './library', './ShellRenderer']
25
25
  * @extends sap.ui.unified.ShellLayout
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.149.1
28
+ * @version 1.151.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -7,12 +7,10 @@
7
7
  // Provides control sap.ui.unified.ShellHeadItem.
8
8
  sap.ui.define([
9
9
  'sap/ui/core/Element',
10
- 'sap/ui/core/IconPool',
11
10
  './library',
12
- "sap/base/security/encodeXML",
13
11
  "sap/ui/thirdparty/jquery"
14
12
  ],
15
- function(Element, IconPool, library, encodeXML, jQuery) {
13
+ function(Element, library, jQuery) {
16
14
  "use strict";
17
15
 
18
16
 
@@ -28,7 +26,7 @@ sap.ui.define([
28
26
  * @extends sap.ui.core.Element
29
27
  *
30
28
  * @author SAP SE
31
- * @version 1.149.1
29
+ * @version 1.151.0
32
30
  *
33
31
  * @constructor
34
32
  * @public
@@ -174,32 +172,6 @@ sap.ui.define([
174
172
  };
175
173
 
176
174
 
177
- ShellHeadItem.prototype.setIcon = function(sIcon){
178
- this.setProperty("icon", sIcon, true);
179
- if (this.getDomRef()) {
180
- this._refreshIcon();
181
- }
182
- return this;
183
- };
184
-
185
-
186
- ShellHeadItem.prototype._refreshIcon = function(){
187
- var $Ico = jQuery(this.$().children()[0]);
188
- var sIco = this.getIcon();
189
- if (IconPool.isIconURI(sIco)) {
190
- var oIconInfo = IconPool.getIconInfo(sIco);
191
- $Ico.html("").attr("style", "");
192
- if (oIconInfo) {
193
- $Ico.text(oIconInfo.content).attr("role", "presentation").attr("aria-label", oIconInfo.text || oIconInfo.name).css("font-family", "'" + oIconInfo.fontFamily + "'");
194
- }
195
- } else {
196
- var $Image = this.$("img-inner");
197
- if ($Image.length == 0 || $Image.attr("src") != sIco) {
198
- $Ico.attr("style", "").attr("aria-label", null).html("<img role='presentation' id='" + this.getId() + "-img-inner' src='" + encodeXML(sIco) + "'>");
199
- }
200
- }
201
- };
202
-
203
175
  return ShellHeadItem;
204
176
 
205
177
  });
@@ -8,10 +8,9 @@
8
8
  sap.ui.define([
9
9
  'sap/ui/core/Element',
10
10
  'sap/ui/core/IconPool',
11
- './library',
12
- "sap/base/security/encodeXML"
11
+ './library'
13
12
  ],
14
- function(Element, IconPool, library, encodeXML) {
13
+ function(Element, IconPool, library) {
15
14
  "use strict";
16
15
 
17
16
 
@@ -27,7 +26,7 @@ sap.ui.define([
27
26
  * @extends sap.ui.core.Element
28
27
  *
29
28
  * @author SAP SE
30
- * @version 1.149.1
29
+ * @version 1.151.0
31
30
  *
32
31
  * @constructor
33
32
  * @public
@@ -86,33 +85,6 @@ sap.ui.define([
86
85
  ShellHeadUserItem.prototype.onsapspace = ShellHeadUserItem.prototype.onclick;
87
86
  ShellHeadUserItem.prototype.onsapenter = ShellHeadUserItem.prototype.onclick;
88
87
 
89
- ShellHeadUserItem.prototype.setImage = function(sImage){
90
- this.setProperty("image", sImage, true);
91
- if (this.getDomRef()) {
92
- this._refreshImage();
93
- }
94
- return this;
95
- };
96
-
97
- ShellHeadUserItem.prototype._refreshImage = function(){
98
- var $Ico = this.$("img");
99
- var sImage = this.getImage();
100
- if (!sImage) {
101
- $Ico.html("").attr("style", "").css("display", "none");
102
- } else if (IconPool.isIconURI(sImage)) {
103
- var oIconInfo = IconPool.getIconInfo(sImage);
104
- $Ico.html("").attr("style", "");
105
- if (oIconInfo) {
106
- $Ico.text(oIconInfo.content).attr("role", "presentation").attr("aria-label", oIconInfo.text || oIconInfo.name).css("font-family", "'" + oIconInfo.fontFamily + "'");
107
- }
108
- } else {
109
- var $Image = this.$("img-inner");
110
- if ($Image.length == 0 || $Image.attr("src") != sImage) {
111
- $Ico.attr("style", "").attr("aria-label", null).html("<img role='presentation' id='" + this.getId() + "-img-inner' src='" + encodeXML(sImage) + "'>");
112
- }
113
- }
114
- };
115
-
116
88
  ShellHeadUserItem.prototype._checkAndAdaptWidth = function(bShellSearchVisible){
117
89
  if (!this.getDomRef()) {
118
90
  return false;
@@ -8,13 +8,14 @@ sap.ui.define([
8
8
  './library',
9
9
  "sap/base/i18n/Localization",
10
10
  'sap/ui/core/Control',
11
+ 'sap/ui/core/IconPool',
11
12
  'sap/ui/Device',
12
13
  "sap/ui/core/ControlBehavior",
13
14
  "sap/ui/core/Lib",
14
15
  'sap/ui/core/theming/Parameters',
15
16
  "sap/ui/thirdparty/jquery"
16
17
  ],
17
- function(library, Localization, Control, Device, ControlBehavior, Library, Parameters, jQuery) {
18
+ function(library, Localization, Control, _IconPool, Device, ControlBehavior, Library, Parameters, jQuery) {
18
19
  "use strict";
19
20
 
20
21
 
@@ -116,7 +117,18 @@ sap.ui.define([
116
117
  pressed: aItems[i].getToggleEnabled() ? aItems[i].getSelected() : null
117
118
  });
118
119
  }
119
- rm.write("><span></span><div class='sapUiUfdShellHeadItmMarker'><div></div></div></div>");
120
+ rm.write(">");
121
+ var sIcon = aItems[i].getIcon();
122
+ if (sIcon) {
123
+ if (_IconPool.isIconURI(sIcon)) {
124
+ rm.writeIcon(sIcon, null, {role: "presentation"});
125
+ } else {
126
+ rm.write("<span><img role='presentation' src='");
127
+ rm.writeEscaped(sIcon);
128
+ rm.write("'></span>");
129
+ }
130
+ }
131
+ rm.write("<div class='sapUiUfdShellHeadItmMarker'><div></div></div></div>");
120
132
  }
121
133
 
122
134
  var oUser = oHeader.getUser();
@@ -141,7 +153,21 @@ sap.ui.define([
141
153
  }
142
154
  }
143
155
 
144
- rm.write("><span id='", oUser.getId(), "-img' aria-hidden='true' class='sapUiUfdShellHeadUsrItmImg'></span>");
156
+ rm.write(">");
157
+ var sImage = oUser.getImage();
158
+ if (sImage) {
159
+ if (_IconPool.isIconURI(sImage)) {
160
+ rm.writeIcon(sImage, ["sapUiUfdShellHeadUsrItmImg"], {id: oUser.getId() + "-img", "aria-hidden": "true"});
161
+ } else {
162
+ rm.write("<span id='", oUser.getId(), "-img' aria-hidden='true' class='sapUiUfdShellHeadUsrItmImg'>");
163
+ rm.write("<img role='presentation' src='");
164
+ rm.writeEscaped(sImage);
165
+ rm.write("'>");
166
+ rm.write("</span>");
167
+ }
168
+ } else {
169
+ rm.write("<span id='", oUser.getId(), "-img' aria-hidden='true' class='sapUiUfdShellHeadUsrItmImg'></span>");
170
+ }
145
171
  rm.write("<span id='" + oUser.getId() + "-name' class='sapUiUfdShellHeadUsrItmName'");
146
172
  var sUserName = oUser.getUsername() || "";
147
173
  rm.writeAttributeEscaped("title", sUserName);
@@ -237,22 +263,12 @@ sap.ui.define([
237
263
  };
238
264
 
239
265
  ShellHeader.prototype._refresh = function(){
240
- function updateItems(aItems){
241
- for (var i = 0; i < aItems.length; i++) {
242
- aItems[i]._refreshIcon();
243
- }
244
- }
245
-
246
- updateItems(this.getHeadItems());
247
- updateItems(this.getHeadEndItems());
248
-
249
266
  var oUser = this.getUser(),
250
267
  isPhoneSize = jQuery("html").hasClass("sapUiMedia-Std-Phone"),
251
268
  searchVisible = !this.$("hdr-search").hasClass("sapUiUfdShellHidden"),
252
269
  $logo = this.$("icon");
253
270
 
254
271
  if (oUser) {
255
- oUser._refreshImage();
256
272
  oUser._checkAndAdaptWidth(searchVisible && !!this.getSearch());
257
273
  }
258
274
 
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @extends sap.ui.core.Control
57
57
  *
58
58
  * @author SAP SE
59
- * @version 1.149.1
59
+ * @version 1.151.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.149.1
49
+ * @version 1.151.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.149.1
37
+ * @version 1.151.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @class
24
24
  * Time range for use in <code>NonWorkingPeriod</code>
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.149.1
26
+ * @version 1.151.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * with <code>recurrenceType</code> set to <code>Weekly</code> is provided.
23
23
  *
24
24
  * @extends sap.ui.unified.RecurrenceRule
25
- * @version 1.149.1
25
+ * @version 1.151.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * with <code>recurrenceType</code> set to <code>Yearly</code> is provided.
24
24
  *
25
25
  * @extends sap.ui.unified.MonthlyRecurrenceRule
26
- * @version 1.149.1
26
+ * @version 1.151.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * If used inside the calendar the properties and aggregation are directly taken from the parent
40
40
  * (To not duplicate and sync DateRanges and so on...)
41
41
  * @extends sap.ui.unified.calendar.Month
42
- * @version 1.149.1
42
+ * @version 1.151.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * <b>Note:</b> This is used inside the calendar. Not for standalone usage
29
29
  * @extends sap.ui.core.Control
30
- * @version 1.149.1
30
+ * @version 1.151.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -277,6 +277,7 @@ sap.ui.define([
277
277
  if (this.getTooltipButton(oHead, i)) {
278
278
  oRm.attr("title", this.getTooltipButton(oHead, i));
279
279
  }
280
+ oRm.attr("tabindex", "0");
280
281
  oRm.accessibilityState(null, mAccProps);
281
282
  mAccProps = {};
282
283
  oRm.openEnd(); // button element
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * This control serves for picking an item from a grid with items which are relative periods in Plannig Calendar.
33
33
  * This is used inside the sap.m.PlanningCalendar relative views. Not for stand alone usage.
34
34
  * @extends sap.ui.core.Control
35
- * @version 1.149.1
35
+ * @version 1.151.0
36
36
  *
37
37
  * @constructor
38
38
  * @private