@openui5/sap.m 1.141.2 → 1.142.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 (439) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +38 -0
  3. package/THIRDPARTY.txt +34 -1
  4. package/package.json +4 -4
  5. package/src/sap/m/.library +1 -1
  6. package/src/sap/m/AccButton.js +1 -1
  7. package/src/sap/m/ActionListItem.js +1 -1
  8. package/src/sap/m/ActionSelect.js +1 -1
  9. package/src/sap/m/ActionSheet.js +1 -1
  10. package/src/sap/m/ActionTile.js +1 -1
  11. package/src/sap/m/ActionTileContent.js +1 -1
  12. package/src/sap/m/AdditionalTextButton.js +1 -1
  13. package/src/sap/m/App.js +1 -1
  14. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  15. package/src/sap/m/Avatar.js +136 -43
  16. package/src/sap/m/AvatarRenderer.js +1 -1
  17. package/src/sap/m/Bar.js +6 -45
  18. package/src/sap/m/Breadcrumbs.js +1 -2
  19. package/src/sap/m/BusyDialog.js +1 -1
  20. package/src/sap/m/BusyIndicator.js +1 -1
  21. package/src/sap/m/Button.js +1 -1
  22. package/src/sap/m/ButtonRenderer.js +0 -1
  23. package/src/sap/m/Carousel.js +8 -9
  24. package/src/sap/m/CarouselLayout.js +1 -1
  25. package/src/sap/m/CarouselRenderer.js +40 -22
  26. package/src/sap/m/CheckBox.js +1 -1
  27. package/src/sap/m/ColorPalette.js +1 -1
  28. package/src/sap/m/ColorPalettePopover.js +1 -1
  29. package/src/sap/m/Column.js +1 -1
  30. package/src/sap/m/ColumnListItem.js +10 -4
  31. package/src/sap/m/ColumnListItemRenderer.js +4 -4
  32. package/src/sap/m/ComboBox.js +1 -1
  33. package/src/sap/m/ComboBoxBase.js +1 -1
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/ContentConfig.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +1 -1
  40. package/src/sap/m/DateRangeSelection.js +2 -2
  41. package/src/sap/m/DateTimeField.js +1 -1
  42. package/src/sap/m/DateTimeInput.js +1 -1
  43. package/src/sap/m/DateTimePicker.js +1 -1
  44. package/src/sap/m/Dialog.js +42 -27
  45. package/src/sap/m/DialogRenderer.js +2 -0
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +1 -1
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +1 -1
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/FeedListItemRenderer.js +14 -13
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +1 -1
  64. package/src/sap/m/FormattedText.js +1 -1
  65. package/src/sap/m/GenericTag.js +1 -1
  66. package/src/sap/m/GenericTile.js +1 -1
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingList.js +1 -1
  69. package/src/sap/m/HBox.js +1 -1
  70. package/src/sap/m/HeaderContainer.js +1 -1
  71. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  72. package/src/sap/m/IconTabBar.js +1 -1
  73. package/src/sap/m/IconTabBarSelectList.js +1 -1
  74. package/src/sap/m/IconTabFilter.js +1 -1
  75. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  76. package/src/sap/m/IconTabHeader.js +3 -1
  77. package/src/sap/m/IconTabSeparator.js +1 -1
  78. package/src/sap/m/IllustratedMessage.js +1 -1
  79. package/src/sap/m/Illustration.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +1 -1
  83. package/src/sap/m/InputBase.js +2 -2
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +1 -1
  89. package/src/sap/m/LinkTileContent.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +19 -14
  92. package/src/sap/m/ListItemAction.js +1 -1
  93. package/src/sap/m/ListItemActionBase.js +1 -1
  94. package/src/sap/m/ListItemBase.js +18 -1
  95. package/src/sap/m/MaskEnabler.js +1 -1
  96. package/src/sap/m/MaskInput.js +1 -1
  97. package/src/sap/m/MaskInputRule.js +1 -1
  98. package/src/sap/m/Menu.js +1 -1
  99. package/src/sap/m/MenuButton.js +1 -1
  100. package/src/sap/m/MenuItem.js +1 -1
  101. package/src/sap/m/MenuItemGroup.js +1 -1
  102. package/src/sap/m/MenuListItem.js +1 -1
  103. package/src/sap/m/MenuWrapper.js +1 -1
  104. package/src/sap/m/MessageBox.js +8 -10
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +1 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +1 -1
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +1 -1
  113. package/src/sap/m/MultiComboBox.js +1 -1
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +1 -1
  116. package/src/sap/m/NavContainer.js +1 -1
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +1 -1
  120. package/src/sap/m/NotificationListGroup.js +1 -1
  121. package/src/sap/m/NotificationListItem.js +1 -1
  122. package/src/sap/m/NumericContent.js +1 -1
  123. package/src/sap/m/NumericInput.js +1 -1
  124. package/src/sap/m/ObjectAttribute.js +1 -1
  125. package/src/sap/m/ObjectHeader.js +1 -1
  126. package/src/sap/m/ObjectIdentifier.js +1 -1
  127. package/src/sap/m/ObjectListItem.js +1 -1
  128. package/src/sap/m/ObjectMarker.js +1 -1
  129. package/src/sap/m/ObjectNumber.js +1 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +1 -1
  132. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  133. package/src/sap/m/OverflowToolbarButton.js +1 -1
  134. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  135. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  136. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  137. package/src/sap/m/OverflowToolbarTokenizer.js +1 -1
  138. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  139. package/src/sap/m/P13nColumnsItem.js +1 -1
  140. package/src/sap/m/P13nColumnsPanel.js +1 -1
  141. package/src/sap/m/P13nConditionPanel.js +1 -1
  142. package/src/sap/m/P13nDialog.js +1 -1
  143. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  144. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  145. package/src/sap/m/P13nFilterItem.js +1 -1
  146. package/src/sap/m/P13nFilterPanel.js +1 -1
  147. package/src/sap/m/P13nGroupItem.js +1 -1
  148. package/src/sap/m/P13nGroupPanel.js +1 -1
  149. package/src/sap/m/P13nItem.js +1 -1
  150. package/src/sap/m/P13nPanel.js +1 -1
  151. package/src/sap/m/P13nSelectionItem.js +1 -1
  152. package/src/sap/m/P13nSelectionPanel.js +1 -1
  153. package/src/sap/m/P13nSortItem.js +1 -1
  154. package/src/sap/m/P13nSortPanel.js +1 -1
  155. package/src/sap/m/PDFViewer.js +2 -3
  156. package/src/sap/m/Page.js +1 -1
  157. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  158. package/src/sap/m/PagingButton.js +1 -1
  159. package/src/sap/m/Panel.js +1 -1
  160. package/src/sap/m/PlanningCalendar.js +2 -2
  161. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  162. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  163. package/src/sap/m/PlanningCalendarRow.js +1 -1
  164. package/src/sap/m/PlanningCalendarView.js +1 -1
  165. package/src/sap/m/Popover.js +1 -2
  166. package/src/sap/m/ProgressIndicator.js +1 -1
  167. package/src/sap/m/PullToRefresh.js +1 -1
  168. package/src/sap/m/QuickView.js +1 -1
  169. package/src/sap/m/QuickViewBase.js +1 -1
  170. package/src/sap/m/QuickViewCard.js +1 -1
  171. package/src/sap/m/QuickViewGroup.js +1 -1
  172. package/src/sap/m/QuickViewGroupElement.js +1 -1
  173. package/src/sap/m/QuickViewPage.js +1 -1
  174. package/src/sap/m/RadioButton.js +1 -1
  175. package/src/sap/m/RadioButtonGroup.js +1 -1
  176. package/src/sap/m/RangeSlider.js +1 -1
  177. package/src/sap/m/RatingIndicator.js +1 -1
  178. package/src/sap/m/ResponsivePopover.js +1 -1
  179. package/src/sap/m/ResponsiveScale.js +1 -1
  180. package/src/sap/m/ScrollBar.js +1 -1
  181. package/src/sap/m/ScrollContainer.js +1 -1
  182. package/src/sap/m/SearchField.js +1 -1
  183. package/src/sap/m/SegmentedButton.js +23 -8
  184. package/src/sap/m/SegmentedButtonItem.js +3 -2
  185. package/src/sap/m/SegmentedButtonRenderer.js +22 -9
  186. package/src/sap/m/Select.js +40 -1
  187. package/src/sap/m/SelectDialog.js +1 -1
  188. package/src/sap/m/SelectDialogBase.js +1 -1
  189. package/src/sap/m/SelectList.js +1 -1
  190. package/src/sap/m/SelectionDetails.js +1 -1
  191. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  192. package/src/sap/m/SelectionDetailsItem.js +1 -1
  193. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  194. package/src/sap/m/Shell.js +1 -1
  195. package/src/sap/m/SimpleFixFlex.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendar.js +1 -8
  197. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  204. package/src/sap/m/SlideTile.js +1 -1
  205. package/src/sap/m/Slider.js +1 -1
  206. package/src/sap/m/SliderTooltip.js +1 -1
  207. package/src/sap/m/SliderTooltipBase.js +1 -1
  208. package/src/sap/m/SliderTooltipContainer.js +1 -1
  209. package/src/sap/m/SplitApp.js +1 -1
  210. package/src/sap/m/SplitButton.js +1 -1
  211. package/src/sap/m/SplitContainer.js +1 -1
  212. package/src/sap/m/StandardDynamicDateOption.js +24 -48
  213. package/src/sap/m/StandardListItem.js +1 -1
  214. package/src/sap/m/StandardTile.js +1 -1
  215. package/src/sap/m/StandardTreeItem.js +1 -1
  216. package/src/sap/m/StepInput.js +1 -1
  217. package/src/sap/m/SuggestionItem.js +1 -1
  218. package/src/sap/m/SuggestionsPopover.js +8 -2
  219. package/src/sap/m/Switch.js +1 -1
  220. package/src/sap/m/TabContainer.js +1 -1
  221. package/src/sap/m/TabContainerItem.js +1 -1
  222. package/src/sap/m/TabStrip.js +1 -1
  223. package/src/sap/m/TabStripItem.js +1 -1
  224. package/src/sap/m/Table.js +2 -2
  225. package/src/sap/m/TablePersoController.js +1 -1
  226. package/src/sap/m/TablePersoDialog.js +1 -1
  227. package/src/sap/m/TablePersoProvider.js +1 -1
  228. package/src/sap/m/TableRenderer.js +18 -6
  229. package/src/sap/m/TableSelectDialog.js +1 -1
  230. package/src/sap/m/Text.js +1 -1
  231. package/src/sap/m/TextArea.js +1 -1
  232. package/src/sap/m/Tile.js +1 -1
  233. package/src/sap/m/TileContainer.js +1 -1
  234. package/src/sap/m/TileContent.js +1 -1
  235. package/src/sap/m/TileInfo.js +1 -1
  236. package/src/sap/m/TimePicker.js +30 -1
  237. package/src/sap/m/TimePickerClock.js +1 -1
  238. package/src/sap/m/TimePickerClocks.js +2 -16
  239. package/src/sap/m/TimePickerInputs.js +1 -1
  240. package/src/sap/m/TimePickerInternals.js +1 -1
  241. package/src/sap/m/TimePickerSlider.js +1 -1
  242. package/src/sap/m/TimePickerSliders.js +1 -1
  243. package/src/sap/m/Title.js +1 -1
  244. package/src/sap/m/TitlePropagationSupport.js +1 -1
  245. package/src/sap/m/ToggleButton.js +1 -1
  246. package/src/sap/m/Token.js +1 -1
  247. package/src/sap/m/Tokenizer.js +154 -5
  248. package/src/sap/m/TokenizerRenderer.js +30 -3
  249. package/src/sap/m/Toolbar.js +1 -1
  250. package/src/sap/m/ToolbarLayoutData.js +1 -1
  251. package/src/sap/m/ToolbarSeparator.js +1 -1
  252. package/src/sap/m/ToolbarSpacer.js +1 -1
  253. package/src/sap/m/Tree.js +1 -1
  254. package/src/sap/m/TreeItemBase.js +1 -1
  255. package/src/sap/m/UploadCollection.js +1 -1
  256. package/src/sap/m/UploadCollectionItem.js +1 -1
  257. package/src/sap/m/UploadCollectionParameter.js +1 -1
  258. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  259. package/src/sap/m/VBox.js +1 -1
  260. package/src/sap/m/ValueStateHeader.js +1 -1
  261. package/src/sap/m/VariantManagement.js +83 -6
  262. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  263. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  264. package/src/sap/m/ViewSettingsDialog.js +1 -1
  265. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  266. package/src/sap/m/ViewSettingsItem.js +1 -1
  267. package/src/sap/m/VisibleItem.js +1 -1
  268. package/src/sap/m/WheelSlider.js +1 -1
  269. package/src/sap/m/WheelSliderContainer.js +1 -1
  270. package/src/sap/m/Wizard.js +1 -1
  271. package/src/sap/m/WizardProgressNavigator.js +1 -1
  272. package/src/sap/m/WizardStep.js +1 -1
  273. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  274. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  275. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  276. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  277. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  278. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  279. package/src/sap/m/library.js +26 -4
  280. package/src/sap/m/messagebundle.properties +17 -6
  281. package/src/sap/m/messagebundle_ar.properties +4 -4
  282. package/src/sap/m/messagebundle_bg.properties +6 -6
  283. package/src/sap/m/messagebundle_ca.properties +4 -4
  284. package/src/sap/m/messagebundle_cnr.properties +4 -4
  285. package/src/sap/m/messagebundle_cs.properties +4 -4
  286. package/src/sap/m/messagebundle_cy.properties +4 -4
  287. package/src/sap/m/messagebundle_da.properties +4 -4
  288. package/src/sap/m/messagebundle_de.properties +4 -4
  289. package/src/sap/m/messagebundle_el.properties +4 -4
  290. package/src/sap/m/messagebundle_en.properties +4 -4
  291. package/src/sap/m/messagebundle_en_GB.properties +4 -4
  292. package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -0
  293. package/src/sap/m/messagebundle_es.properties +4 -4
  294. package/src/sap/m/messagebundle_es_MX.properties +4 -4
  295. package/src/sap/m/messagebundle_et.properties +4 -4
  296. package/src/sap/m/messagebundle_fi.properties +4 -4
  297. package/src/sap/m/messagebundle_fr.properties +4 -4
  298. package/src/sap/m/messagebundle_fr_CA.properties +4 -4
  299. package/src/sap/m/messagebundle_hi.properties +4 -4
  300. package/src/sap/m/messagebundle_hr.properties +4 -4
  301. package/src/sap/m/messagebundle_hu.properties +4 -4
  302. package/src/sap/m/messagebundle_id.properties +5 -5
  303. package/src/sap/m/messagebundle_it.properties +4 -4
  304. package/src/sap/m/messagebundle_iw.properties +4 -4
  305. package/src/sap/m/messagebundle_ja.properties +4 -4
  306. package/src/sap/m/messagebundle_kk.properties +4 -4
  307. package/src/sap/m/messagebundle_ko.properties +5 -5
  308. package/src/sap/m/messagebundle_lt.properties +4 -4
  309. package/src/sap/m/messagebundle_lv.properties +4 -4
  310. package/src/sap/m/messagebundle_mk.properties +4 -4
  311. package/src/sap/m/messagebundle_ms.properties +4 -4
  312. package/src/sap/m/messagebundle_nl.properties +4 -4
  313. package/src/sap/m/messagebundle_no.properties +4 -4
  314. package/src/sap/m/messagebundle_pl.properties +4 -4
  315. package/src/sap/m/messagebundle_pt.properties +4 -4
  316. package/src/sap/m/messagebundle_pt_PT.properties +4 -4
  317. package/src/sap/m/messagebundle_ro.properties +4 -4
  318. package/src/sap/m/messagebundle_ru.properties +4 -4
  319. package/src/sap/m/messagebundle_sh.properties +4 -4
  320. package/src/sap/m/messagebundle_sk.properties +4 -4
  321. package/src/sap/m/messagebundle_sl.properties +4 -4
  322. package/src/sap/m/messagebundle_sr.properties +4 -4
  323. package/src/sap/m/messagebundle_sv.properties +4 -4
  324. package/src/sap/m/messagebundle_th.properties +4 -4
  325. package/src/sap/m/messagebundle_tr.properties +4 -4
  326. package/src/sap/m/messagebundle_uk.properties +4 -4
  327. package/src/sap/m/messagebundle_vi.properties +4 -4
  328. package/src/sap/m/messagebundle_zh_CN.properties +4 -4
  329. package/src/sap/m/messagebundle_zh_TW.properties +4 -4
  330. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  331. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  332. package/src/sap/m/p13n/BasePanel.js +31 -12
  333. package/src/sap/m/p13n/Container.js +1 -1
  334. package/src/sap/m/p13n/Engine.js +1 -1
  335. package/src/sap/m/p13n/FilterController.js +1 -1
  336. package/src/sap/m/p13n/FilterPanel.js +1 -1
  337. package/src/sap/m/p13n/GroupController.js +1 -1
  338. package/src/sap/m/p13n/GroupPanel.js +1 -1
  339. package/src/sap/m/p13n/MessageStrip.js +1 -1
  340. package/src/sap/m/p13n/Popup.js +1 -1
  341. package/src/sap/m/p13n/QueryPanel.js +1 -1
  342. package/src/sap/m/p13n/SelectionController.js +3 -2
  343. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  344. package/src/sap/m/p13n/SortController.js +1 -1
  345. package/src/sap/m/p13n/SortPanel.js +1 -1
  346. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  347. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  348. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  349. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
  350. package/src/sap/m/plugins/CellSelector.js +1 -1
  351. package/src/sap/m/plugins/ColumnAIAction.js +1 -1
  352. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  353. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  354. package/src/sap/m/plugins/CopyProvider.js +1 -1
  355. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  356. package/src/sap/m/plugins/PasteProvider.js +1 -1
  357. package/src/sap/m/plugins/PluginBase.js +1 -1
  358. package/src/sap/m/plugins/UploadSetwithTable.js +16 -1
  359. package/src/sap/m/semantic/AddAction.js +1 -1
  360. package/src/sap/m/semantic/CancelAction.js +1 -1
  361. package/src/sap/m/semantic/DeleteAction.js +1 -1
  362. package/src/sap/m/semantic/DetailPage.js +1 -1
  363. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  364. package/src/sap/m/semantic/EditAction.js +1 -1
  365. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  366. package/src/sap/m/semantic/FilterAction.js +1 -1
  367. package/src/sap/m/semantic/FilterSelect.js +1 -1
  368. package/src/sap/m/semantic/FlagAction.js +1 -1
  369. package/src/sap/m/semantic/ForwardAction.js +1 -1
  370. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  371. package/src/sap/m/semantic/GroupAction.js +1 -1
  372. package/src/sap/m/semantic/GroupSelect.js +1 -1
  373. package/src/sap/m/semantic/MainAction.js +1 -1
  374. package/src/sap/m/semantic/MasterPage.js +1 -1
  375. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  376. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  377. package/src/sap/m/semantic/NegativeAction.js +1 -1
  378. package/src/sap/m/semantic/OpenInAction.js +1 -1
  379. package/src/sap/m/semantic/PositiveAction.js +1 -1
  380. package/src/sap/m/semantic/PrintAction.js +1 -1
  381. package/src/sap/m/semantic/SaveAction.js +1 -1
  382. package/src/sap/m/semantic/Segment.js +1 -1
  383. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  384. package/src/sap/m/semantic/SemanticButton.js +1 -1
  385. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  386. package/src/sap/m/semantic/SemanticControl.js +1 -1
  387. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  388. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  389. package/src/sap/m/semantic/SemanticPage.js +1 -1
  390. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  391. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  392. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  393. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  394. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  395. package/src/sap/m/semantic/ShareMenu.js +1 -1
  396. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  397. package/src/sap/m/semantic/SortAction.js +1 -1
  398. package/src/sap/m/semantic/SortSelect.js +1 -1
  399. package/src/sap/m/table/ColumnWidthController.js +1 -1
  400. package/src/sap/m/table/Util.js +1 -1
  401. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  402. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  403. package/src/sap/m/table/columnmenu/Item.js +1 -1
  404. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  405. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  406. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  407. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  408. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  417. package/src/sap/m/themes/base/Carousel.less +11 -6
  418. package/src/sap/m/themes/base/ColumnListItem.less +5 -1
  419. package/src/sap/m/themes/base/ContextMenuSetting.less +2 -1
  420. package/src/sap/m/themes/base/FeedListItem.less +5 -2
  421. package/src/sap/m/themes/base/Label.less +2 -1
  422. package/src/sap/m/themes/base/Menu.less +5 -1
  423. package/src/sap/m/themes/base/MultiComboBox.less +4 -0
  424. package/src/sap/m/themes/base/MultiInput.less +5 -0
  425. package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +4 -0
  426. package/src/sap/m/themes/base/Popover.less +0 -5
  427. package/src/sap/m/themes/base/SegmentedButton.less +21 -1
  428. package/src/sap/m/themes/base/Table.less +1 -0
  429. package/src/sap/m/themes/base/Text.less +2 -1
  430. package/src/sap/m/themes/base/Tokenizer.less +34 -0
  431. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  432. package/src/sap/m/upload/Column.js +1 -1
  433. package/src/sap/m/upload/FilePreviewDialog.js +1 -1
  434. package/src/sap/m/upload/UploadItem.js +1 -1
  435. package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
  436. package/src/sap/m/upload/UploadSet.js +1 -1
  437. package/src/sap/m/upload/UploadSetItem.js +1 -1
  438. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  439. package/src/sap/m/upload/UploaderTableItem.js +1 -1
package/README.md CHANGED
@@ -4,13 +4,13 @@
4
4
  Runtime resources of the [OpenUI5](https://github.com/UI5/openui5) UI Library **sap.m**.
5
5
 
6
6
  ## Usage
7
- Add this library as a dependency to your UI5 project by using [UI5 Tooling](https://sap.github.io/ui5-tooling/):
7
+ Add this library as a dependency to your UI5 project by using [UI5 CLI](https://ui5.github.io/cli/):
8
8
 
9
9
  ```
10
10
  ui5 add sap.m
11
11
  ```
12
12
 
13
- For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://sap.github.io/ui5-tooling/pages/OpenUI5/).
13
+ For more information, please refer to our documentation on [Consuming OpenUI5 Libraries](https://ui5.github.io/cli/pages/OpenUI5/).
14
14
 
15
15
  ## License
16
16
  OpenUI5 is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), see [LICENSE.txt](LICENSE.txt).
package/REUSE.toml CHANGED
@@ -21,6 +21,44 @@ SPDX-License-Identifier = "Apache-2.0"
21
21
  #
22
22
 
23
23
 
24
+ # Library: sap.f:
25
+
26
+ [[annotations]]
27
+ path = "src/sap.f/src/sap/f/thirdparty/**"
28
+ precedence = "aggregate"
29
+ SPDX-FileCopyrightText = "SAP"
30
+ SPDX-License-Identifier = "Apache-2.0"
31
+ SPDX-FileComment = "these files belong to: UI5 Web Components"
32
+
33
+ [[annotations]]
34
+ path = "src/sap.f/src/sap/f/thirdparty/**"
35
+ precedence = "aggregate"
36
+ SPDX-FileCopyrightText = "SAP"
37
+ SPDX-License-Identifier = "Apache-2.0"
38
+ SPDX-FileComment = "these files belong to: UI5 Web Components Fiori"
39
+
40
+ [[annotations]]
41
+ path = "src/sap.f/src/sap/f/thirdparty/**"
42
+ precedence = "aggregate"
43
+ SPDX-FileCopyrightText = "SAP"
44
+ SPDX-License-Identifier = "Apache-2.0"
45
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons"
46
+
47
+ [[annotations]]
48
+ path = "src/sap.f/src/sap/f/thirdparty/**"
49
+ precedence = "aggregate"
50
+ SPDX-FileCopyrightText = "SAP"
51
+ SPDX-License-Identifier = "Apache-2.0"
52
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons Business Suite"
53
+
54
+ [[annotations]]
55
+ path = "src/sap.f/src/sap/f/thirdparty/**"
56
+ precedence = "aggregate"
57
+ SPDX-FileCopyrightText = "SAP"
58
+ SPDX-License-Identifier = "Apache-2.0"
59
+ SPDX-FileComment = "these files belong to: UI5 Web Components Icons TNT"
60
+
61
+
24
62
  # Library: sap.m:
25
63
 
26
64
  [[annotations]]
package/THIRDPARTY.txt CHANGED
@@ -4,6 +4,39 @@ each subcomponent.
4
4
  The full text of all referenced licenses is appended at the end of this file.
5
5
 
6
6
 
7
+ Library: sap.f:
8
+
9
+ Component: UI5 Web Components, version: 2.15.0
10
+ Copyright: SAP
11
+ License: Apache-2.0
12
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
13
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
14
+
15
+ Component: UI5 Web Components Fiori, version: 2.15.0
16
+ Copyright: SAP
17
+ License: Apache-2.0
18
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
19
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
20
+
21
+ Component: UI5 Web Components Icons, version: 2.15.0
22
+ Copyright: SAP
23
+ License: Apache-2.0
24
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
25
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
26
+
27
+ Component: UI5 Web Components Icons Business Suite, version: 2.15.0
28
+ Copyright: SAP
29
+ License: Apache-2.0
30
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
31
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
32
+
33
+ Component: UI5 Web Components Icons TNT, version: 2.15.0
34
+ Copyright: SAP
35
+ License: Apache-2.0
36
+ License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
37
+ Contained in: src/sap.f/src/sap/f/thirdparty/**
38
+
39
+
7
40
  Library: sap.m:
8
41
 
9
42
  Component: purify.js, version: 3.2.4
@@ -354,7 +387,7 @@ Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/D
354
387
 
355
388
  Library: sap.ui.integration:
356
389
 
357
- Component: UI5 Web Components, version: 1.7.0
390
+ Component: UI5 Web Components, version: 2.15.0
358
391
  Copyright: SAP
359
392
  License: Apache-2.0
360
393
  License Text: https://github.com/UI5/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.m",
3
- "version": "1.141.2",
3
+ "version": "1.142.0",
4
4
  "description": "OpenUI5 UI Library sap.m",
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/UI5/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.141.2",
18
- "@openui5/sap.ui.layout": "1.141.2",
19
- "@openui5/sap.ui.unified": "1.141.2"
17
+ "@openui5/sap.ui.core": "1.142.0",
18
+ "@openui5/sap.ui.layout": "1.142.0",
19
+ "@openui5/sap.ui.unified": "1.142.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.141.2</version>
9
+ <version>1.142.0</version>
10
10
 
11
11
  <documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
12
12
 
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.141.2
24
+ * @version 1.142.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -31,7 +31,7 @@ sap.ui.define(['./ListItemBase', './library', './ActionListItemRenderer'],
31
31
  * @extends sap.m.ListItemBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.141.2
34
+ * @version 1.142.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./Select', "sap/ui/core/Element", 'sap/ui/core/InvisibleText', '
20
20
  * @extends sap.m.Select
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.141.2
23
+ * @version 1.142.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -76,7 +76,7 @@ sap.ui.define([
76
76
  * @extends sap.ui.core.Control
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.141.2
79
+ * @version 1.142.0
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.m.GenericTile
42
42
  *
43
43
  * @author SAP SE
44
- * @version 1.141.2
44
+ * @version 1.142.0
45
45
  *
46
46
  * @public
47
47
  * @since 1.122
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.TileContent
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.141.2
30
+ * @version 1.142.0
31
31
  * @since 1.122
32
32
  *
33
33
  * @public
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AdditionalTextButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.141.2
24
+ * @version 1.142.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
package/src/sap/m/App.js CHANGED
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.m.NavContainer
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.141.2
52
+ * @version 1.142.0
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
20
20
  * @extends sap.m.OverflowToolbar
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.141.2
23
+ * @version 1.142.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  * @extends sap.ui.core.Control
92
92
  *
93
93
  * @author SAP SE
94
- * @version 1.141.2
94
+ * @version 1.142.0
95
95
  *
96
96
  * @constructor
97
97
  * @public
@@ -317,7 +317,7 @@ sap.ui.define([
317
317
  // Property holding the actual display type of the avatar
318
318
  this._sActualType = null;
319
319
  // Property that determines if the created icon is going to be the default one
320
- this._bIsDefaultIcon = true;
320
+ this._bUseDefaultIcon = true;
321
321
  this._sImageFallbackType = null;
322
322
 
323
323
  // Property holding the currently picked random background color of the avatar, if any
@@ -327,13 +327,19 @@ sap.ui.define([
327
327
  this._badgeRef = null;
328
328
 
329
329
  this._bImageLoadError = false;
330
+
331
+ // does not have initials by default (null value)
332
+ this._bInitialsValid = false;
330
333
  };
331
334
 
332
335
  Avatar.prototype.onBeforeRendering = function () {
333
336
  if (this._getImageCustomData() && !this._iCacheBustingValue) {
334
337
  this._setNewCacheBustingValue();
335
- this._validateSrc(this._getAvatarSrc());
338
+ this._loadImage(this._getAvatarSrc());
336
339
  }
340
+ // determine the actual display type of the avatar before rendering
341
+ this._setActualDisplayType();
342
+ this._setUseDefaultIcon();
337
343
  };
338
344
 
339
345
  Avatar.prototype.onAfterRendering = function() {
@@ -351,8 +357,15 @@ sap.ui.define([
351
357
  this._bImageLoadError = false;
352
358
 
353
359
  this.setProperty("src", sSrc);
354
- this._validateSrc(this._getAvatarSrc());
355
360
  this._handleDetailBoxPress(bIsIconURI, oLightBox);
361
+ this._loadImage(this._getAvatarSrc());
362
+
363
+ return this;
364
+ };
365
+
366
+ Avatar.prototype.setInitials = function (sInitials) {
367
+ this.setProperty("initials", sInitials);
368
+ this._setInitialsValid(this._areInitialsValid(sInitials));
356
369
 
357
370
  return this;
358
371
  };
@@ -361,6 +374,15 @@ sap.ui.define([
361
374
  this._checkInitialsHolderWidth();
362
375
  };
363
376
 
377
+ /**
378
+ * @returns {object} Current accessibility state of the Avatar
379
+ * @see sap.ui.core.Control#getAccessibilityInfo
380
+ * @protected
381
+ */
382
+ Avatar.prototype.getAccessibilityInfo = function () {
383
+ return this.getDecorative() ? { description: "" } : null; // SNOW DINC0365871
384
+ };
385
+
364
386
  Avatar.prototype.exit = function () {
365
387
  if (this._fnLightBoxOpen) {
366
388
  this._fnLightBoxOpen = null;
@@ -566,12 +588,31 @@ sap.ui.define([
566
588
  };
567
589
 
568
590
  Avatar.prototype._handlePress = function () {
569
- if (!this.getEnabled() || (this._bIsDefaultIcon && this.getDetailBox())) {
591
+ if (!this.getEnabled() || (this._getUseDefaultIcon() && this.getDetailBox())) {
570
592
  return;
571
593
  }
572
594
  this.firePress({/* no parameters */});
573
595
  };
574
596
 
597
+ /**
598
+ * Loads the image from the given source.
599
+ *
600
+ * @param {string} sSrc - The source of the image to load
601
+ * @private
602
+ */
603
+ Avatar.prototype._loadImage = function (sSrc) {
604
+ if (!sSrc || IconPool.isIconURI(sSrc)) {
605
+ return;
606
+ }
607
+
608
+ // we perform this action in order to validate the image source and
609
+ // take further actions depending on that
610
+ this.preloadedImage = new window.Image();
611
+ this.preloadedImage.src = sSrc;
612
+ this.preloadedImage.onload = this._onImageLoad.bind(this);
613
+ this.preloadedImage.onerror = this._onImageError.bind(this, sSrc);
614
+ };
615
+
575
616
  /**
576
617
  * Checks the validity of the <code>initials</code> parameter and returns <code>true</code> if the
577
618
  * initials are correct.
@@ -585,10 +626,6 @@ sap.ui.define([
585
626
  if (!validInitials.test(sInitials)) {
586
627
  Log.warning("Initials should consist of only 1,2 or 3 latin letters", this);
587
628
  // if there is no actual type or the actual type is initials but they are not valid, set the actual type to icon
588
- if (!this._sActualType || this._sActualType === AvatarType.Initials) {
589
- this._sActualType = AvatarType.Icon;
590
- }
591
- this._bIsDefaultIcon = true;
592
629
  return false;
593
630
  }
594
631
 
@@ -596,32 +633,38 @@ sap.ui.define([
596
633
  };
597
634
 
598
635
  /**
599
- * Validates the <code>src</code> parameter, and sets the actual type appropriately.
636
+ * Returns the validity state of the initials.
600
637
  *
601
- * @param {string} sSrc
602
- * @returns {this}
638
+ * @returns {boolean}
603
639
  * @private
604
640
  */
605
- Avatar.prototype._validateSrc = function (sSrc) {
606
- if (!sSrc) {
607
- return this;
608
- }
641
+ Avatar.prototype._getInitialsValid = function() {
642
+ return this._bInitialsValid;
643
+ };
644
+
645
+ /**
646
+ * Sets the validity state of the initials.
647
+ *
648
+ * @param {boolean} bValue - The validity state to set
649
+ * @private
650
+ */
651
+ Avatar.prototype._setInitialsValid = function (bValue) {
652
+ this._bInitialsValid = bValue;
653
+ };
609
654
 
655
+ /**
656
+ * Returns the actual display type of avatar depending on the <code>src</code> parameter - either Icon or Image.
657
+ *
658
+ * @param {string} sSrc
659
+ * @returns {sap.m.AvatarType} either Icon or Image
660
+ * @private
661
+ */
662
+ Avatar.prototype._getActualTypeBySrc = function (sSrc) {
610
663
  if (IconPool.isIconURI(sSrc)) {
611
- this._sActualType = AvatarType.Icon;
612
- this._bIsDefaultIcon = IconPool.getIconInfo(sSrc) ? false : true;
664
+ return AvatarType.Icon;
613
665
  } else {
614
- this._sActualType = AvatarType.Image;
615
-
616
- // we perform this action in order to validate the image source and
617
- // take further actions depending on that
618
- this.preloadedImage = new window.Image();
619
- this.preloadedImage.src = sSrc;
620
- this.preloadedImage.onload = this._onImageLoad.bind(this);
621
- this.preloadedImage.onerror = this._onImageError.bind(this, sSrc);
666
+ return AvatarType.Image;
622
667
  }
623
-
624
- return this;
625
668
  };
626
669
 
627
670
  /**
@@ -640,28 +683,76 @@ sap.ui.define([
640
683
  };
641
684
 
642
685
  /**
643
- * Validates the entered parameters, and returns what the actual display type parameter would be.
686
+ * Validates the entered parameters, and sets what the actual display type parameter would be.
644
687
  *
645
688
  * @returns {sap.m.AvatarType}
646
689
  * @private
647
690
  */
648
- Avatar.prototype._getActualDisplayType = function () {
691
+ Avatar.prototype._setActualDisplayType = function () {
649
692
  var sSrc = this._getAvatarSrc(),
650
693
  sInitials = this.getInitials();
651
694
 
652
695
  if (sSrc) {
653
- return this._sActualType;
654
- } else if (sInitials && this._areInitialsValid(sInitials)) {
696
+ this._sActualType = this._getActualTypeBySrc(sSrc);
697
+ } else if (sInitials && this._getInitialsValid()) {
655
698
  this._sActualType = AvatarType.Initials;
656
699
  } else {
657
- Log.warning("No src and initials were provided", this);
700
+ Log.warning("No src and initials were provided or initials are provided, but are not valid", this);
658
701
  this._sActualType = AvatarType.Icon;
659
- this._bIsDefaultIcon = true;
660
702
  }
661
703
 
662
704
  return this._sActualType;
663
705
  };
664
706
 
707
+ /**
708
+ * Returns the actual display type of avatar
709
+ *
710
+ * @returns {sap.m.AvatarType}
711
+ * @private
712
+ */
713
+ Avatar.prototype._getActualDisplayType = function () {
714
+ if (!this._sActualType) {
715
+ this._setActualDisplayType();
716
+ }
717
+
718
+ return this._sActualType;
719
+ };
720
+
721
+ /**
722
+ * Sets whether default icon should be used
723
+ *
724
+ * @param {boolean} bValue
725
+ * @private
726
+ */
727
+ Avatar.prototype._setUseDefaultIcon = function () {
728
+ var sSrc = this.getSrc();
729
+
730
+ if (!sSrc) {
731
+ // No source: use default only if initials are invalid
732
+ this._bUseDefaultIcon = !this._getInitialsValid();
733
+ return;
734
+ }
735
+
736
+ if (IconPool.isIconURI(sSrc)) {
737
+ // Icon URI: use default if NOT found in IconPool
738
+ this._bUseDefaultIcon = !IconPool.getIconInfo(sSrc);
739
+ return;
740
+ }
741
+
742
+ // Regular image source: use default if image failed to load
743
+ this._bUseDefaultIcon = this._bImageLoadError;
744
+ };
745
+
746
+ /**
747
+ * Returns whether the default icon should be used.
748
+ *
749
+ * @returns {boolean} whether the default icon should be used
750
+ * @private
751
+ */
752
+ Avatar.prototype._getUseDefaultIcon = function () {
753
+ return this._bUseDefaultIcon;
754
+ };
755
+
665
756
  /**
666
757
  * Indicates what type of fallback we should show if there is invalid image source.
667
758
  *
@@ -671,7 +762,7 @@ sap.ui.define([
671
762
  Avatar.prototype._getImageFallbackType = function () {
672
763
  var sInitials = this.getInitials();
673
764
 
674
- this._sImageFallbackType = sInitials && this._areInitialsValid(sInitials) ?
765
+ this._sImageFallbackType = sInitials && this._getInitialsValid() ?
675
766
  AvatarType.Initials : AvatarType.Icon;
676
767
 
677
768
  return this._sImageFallbackType;
@@ -713,7 +804,7 @@ sap.ui.define([
713
804
  bIsIconURI = IconPool.isIconURI(sSrc),
714
805
  sDefaultIconPath = this._getDefaultIconPath(sDisplayShape);
715
806
 
716
- if (this._bIsDefaultIcon) {
807
+ if (this._getUseDefaultIcon()) {
717
808
  sSrc = sDefaultIconPath;
718
809
  }
719
810
 
@@ -813,12 +904,13 @@ sap.ui.define([
813
904
  * @private
814
905
  */
815
906
  Avatar.prototype._onImageLoad = function() {
907
+ this._bImageLoadError = false;
908
+
816
909
  //we need to remove fallback content
817
- if (this._bIsDefaultIcon) {
818
- this._bIsDefaultIcon = false;
910
+ if (this._getUseDefaultIcon()) {
911
+ this._setUseDefaultIcon();
819
912
  this.getDetailBox() && this.invalidate();
820
913
  }
821
- this._bImageLoadError = false;
822
914
  delete this.preloadedImage;
823
915
  };
824
916
 
@@ -832,14 +924,15 @@ sap.ui.define([
832
924
  return;
833
925
  }
834
926
 
927
+ this._bImageLoadError = true;
928
+
835
929
  this._cleanCSS();
836
930
 
837
- if (!this._bIsDefaultIcon) {
838
- this._bIsDefaultIcon = true;
931
+ if (!this._getUseDefaultIcon()) {
932
+ this._setUseDefaultIcon();
839
933
  this.getDetailBox() && this.invalidate();
840
934
  }
841
935
  delete this.preloadedImage;
842
- this._bImageLoadError = true;
843
936
  };
844
937
 
845
938
  Avatar.prototype._cleanCSS = function () {
@@ -999,7 +1092,7 @@ sap.ui.define([
999
1092
  */
1000
1093
  Avatar.prototype.refreshAvatarCacheBusting = function () {
1001
1094
  this._setNewCacheBustingValue();
1002
- this._validateSrc(this._getAvatarSrc());
1095
+ this._loadImage(this._getAvatarSrc());
1003
1096
  this.invalidate();
1004
1097
  };
1005
1098
 
@@ -52,7 +52,7 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Ico
52
52
  aDescribedBy = oAvatar.getAriaDescribedBy(),
53
53
  aHasPopup = oAvatar.getAriaHasPopup(),
54
54
  bHasListener = oAvatar.hasListeners("press"),
55
- bHasSrc = (!oAvatar._bIsDefaultIcon && bHasDetailBox) || (!bHasDetailBox),
55
+ bHasSrc = (!oAvatar._getUseDefaultIcon() && bHasDetailBox) || (!bHasDetailBox),
56
56
  bHideBadge = bHasDetailBox && bIsIconURI && !bHasBadgeIcon,
57
57
  bShouldBeClickable = bHasListener && bHasSrc,
58
58
  oBadge = bHasSrc && !bHideBadge ? oAvatar._getBadge() : null,
package/src/sap/m/Bar.js CHANGED
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @implements sap.m.IBar
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.141.2
62
+ * @version 1.142.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -416,58 +416,19 @@ sap.ui.define([
416
416
  * @private
417
417
  */
418
418
  Bar.prototype._getBarContainerWidth = function($Container) {
419
- var i,
420
- iContainerWidth = 0,
419
+ var iContainerWidth = 0,
421
420
  aContainerChildren = $Container.children(),
422
421
  iContainerChildrenTotalWidth = 0;
423
422
 
424
423
  // Chrome browser has a problem in providing the correct div size when image inside does not have width explicitly set
425
- //since ff version 24 the calculation is correct, since we don't support older versions we won't check it
426
- // Edge also works correctly with this calculation unlike IE
427
- if (Device.browser.webkit || Device.browser.firefox) {
424
+ for (let i = 0; i < aContainerChildren.length; i++) {
428
425
 
429
- for (i = 0; i < aContainerChildren.length; i++) {
426
+ iContainerChildrenTotalWidth += jQuery(aContainerChildren[i]).outerWidth(true);
430
427
 
431
- iContainerChildrenTotalWidth += jQuery(aContainerChildren[i]).outerWidth(true);
432
-
433
- }
434
-
435
- iContainerWidth = $Container.outerWidth(true);
436
-
437
- } else {
438
-
439
- // IE has a rounding issue with jQuery.outerWidth
440
- var oContainerChildrenStyle;
441
-
442
- for (i = 0; i < aContainerChildren.length; i++) {
443
-
444
- oContainerChildrenStyle = window.getComputedStyle(aContainerChildren[i]);
445
-
446
- if (oContainerChildrenStyle.width == "auto") {
447
-
448
- iContainerChildrenTotalWidth += jQuery(aContainerChildren[i]).width() + 1; //add an additional 1 pixel because of rounding issue.
449
-
450
- } else {
451
-
452
- iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.width);
453
-
454
- }
455
-
456
- iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.marginLeft);
457
- iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.marginRight);
458
- iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.paddingLeft);
459
- iContainerChildrenTotalWidth += parseFloat(oContainerChildrenStyle.paddingRight);
460
- }
461
-
462
- var oContainerComputedStyle = window.getComputedStyle($Container[0]);
428
+ }
463
429
 
464
- iContainerWidth += parseFloat(oContainerComputedStyle.width);
465
- iContainerWidth += parseFloat(oContainerComputedStyle.marginLeft);
466
- iContainerWidth += parseFloat(oContainerComputedStyle.marginRight);
467
- iContainerWidth += parseFloat(oContainerComputedStyle.paddingLeft);
468
- iContainerWidth += parseFloat(oContainerComputedStyle.paddingRight);
430
+ iContainerWidth = $Container.outerWidth(true);
469
431
 
470
- }
471
432
 
472
433
  if (iContainerWidth < iContainerChildrenTotalWidth) {
473
434
 
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  * @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
75
75
  *
76
76
  * @author SAP SE
77
- * @version 1.141.2
77
+ * @version 1.142.0
78
78
  *
79
79
  * @constructor
80
80
  * @public
@@ -346,7 +346,6 @@ sap.ui.define([
346
346
 
347
347
  oCurrentLocation.$().attr("aria-current", "page");
348
348
  oCurrentLocation.$().attr("tabindex", 0);
349
- oCurrentLocation.$().attr("role", "link");
350
349
  oCurrentLocation.$().attr("aria-label", this.getCurrentLocation().getText() + " " + positionText);
351
350
  };
352
351
 
@@ -46,7 +46,7 @@ sap.ui.define(['./library', 'sap/ui/core/Control', 'sap/m/Dialog', 'sap/m/BusyIn
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.141.2
49
+ * @version 1.142.0
50
50
  *
51
51
  * @public
52
52
  * @alias sap.m.BusyDialog
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.141.2
49
+ * @version 1.142.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -101,7 +101,7 @@ sap.ui.define([
101
101
  * @mixes sap.ui.core.ContextMenuSupport
102
102
  *
103
103
  * @author SAP SE
104
- * @version 1.141.2
104
+ * @version 1.142.0
105
105
  *
106
106
  * @constructor
107
107
  * @public