@openui5/sap.m 1.91.0 → 1.93.2

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/.reuse/dep5 +46 -0
  2. package/THIRDPARTY.txt +59 -1
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +3 -1
  8. package/src/sap/m/ActionSheet.js +1 -1
  9. package/src/sap/m/App.js +2 -2
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -1
  12. package/src/sap/m/BadgeEnabler.js +4 -0
  13. package/src/sap/m/Bar.js +14 -1
  14. package/src/sap/m/Breadcrumbs.js +34 -4
  15. package/src/sap/m/BreadcrumbsRenderer.js +13 -2
  16. package/src/sap/m/BusyDialog.js +2 -1
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +26 -12
  19. package/src/sap/m/Carousel.js +7 -7
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CheckBox.js +21 -6
  22. package/src/sap/m/CheckBoxRenderer.js +1 -1
  23. package/src/sap/m/ColorPalette.js +10 -24
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +12 -4
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +8 -2
  28. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  33. package/src/sap/m/ComboBox.js +14 -24
  34. package/src/sap/m/ComboBoxBase.js +12 -1
  35. package/src/sap/m/ComboBoxRenderer.js +3 -1
  36. package/src/sap/m/ComboBoxTextField.js +1 -1
  37. package/src/sap/m/CustomDynamicDateOption.js +99 -0
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomTile.js +1 -1
  40. package/src/sap/m/CustomTreeItem.js +1 -1
  41. package/src/sap/m/DatePicker.js +13 -6
  42. package/src/sap/m/DateRangeSelection.js +5 -5
  43. package/src/sap/m/DateTimeField.js +69 -1
  44. package/src/sap/m/DateTimeInput.js +2 -2
  45. package/src/sap/m/DateTimePicker.js +17 -10
  46. package/src/sap/m/Dialog.js +17 -13
  47. package/src/sap/m/DisplayListItem.js +1 -1
  48. package/src/sap/m/DraftIndicator.js +1 -1
  49. package/src/sap/m/DynamicDate.js +197 -0
  50. package/src/sap/m/DynamicDateFormat.js +264 -0
  51. package/src/sap/m/DynamicDateOption.js +345 -0
  52. package/src/sap/m/DynamicDateRange.js +1187 -0
  53. package/src/sap/m/DynamicDateRangeRenderer.js +36 -0
  54. package/src/sap/m/DynamicDateUtil.js +162 -0
  55. package/src/sap/m/DynamicDateValueHelpUIType.js +55 -0
  56. package/src/sap/m/ExpandableText.js +4 -2
  57. package/src/sap/m/FacetFilter.js +17 -7
  58. package/src/sap/m/FacetFilterItem.js +1 -1
  59. package/src/sap/m/FacetFilterList.js +3 -3
  60. package/src/sap/m/FeedContent.js +1 -1
  61. package/src/sap/m/FeedInput.js +21 -10
  62. package/src/sap/m/FeedInputRenderer.js +1 -1
  63. package/src/sap/m/FeedListItem.js +29 -23
  64. package/src/sap/m/FeedListItemAction.js +1 -1
  65. package/src/sap/m/Fiori20Adapter.js +2 -2
  66. package/src/sap/m/FlexBox.js +32 -67
  67. package/src/sap/m/FlexItemData.js +1 -1
  68. package/src/sap/m/FormattedText.js +1 -1
  69. package/src/sap/m/GenericTag.js +1 -1
  70. package/src/sap/m/GenericTile.js +39 -1
  71. package/src/sap/m/GenericTileRenderer.js +77 -8
  72. package/src/sap/m/GroupHeaderListItem.js +1 -1
  73. package/src/sap/m/GrowingEnablement.js +31 -34
  74. package/src/sap/m/GrowingList.js +1 -1
  75. package/src/sap/m/HBox.js +1 -1
  76. package/src/sap/m/HeaderContainer.js +8 -5
  77. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  78. package/src/sap/m/HeaderContainerRenderer.js +1 -1
  79. package/src/sap/m/IconTabBar.js +1 -2
  80. package/src/sap/m/IconTabBarSelectList.js +29 -11
  81. package/src/sap/m/IconTabBarSelectListRenderer.js +7 -9
  82. package/src/sap/m/IconTabFilter.js +68 -32
  83. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  84. package/src/sap/m/IconTabHeader.js +18 -7
  85. package/src/sap/m/IconTabHeaderRenderer.js +1 -0
  86. package/src/sap/m/IconTabSeparator.js +1 -1
  87. package/src/sap/m/Image.js +2 -2
  88. package/src/sap/m/ImageContent.js +1 -1
  89. package/src/sap/m/Input.js +55 -28
  90. package/src/sap/m/InputBase.js +8 -6
  91. package/src/sap/m/InputBaseRenderer.js +32 -0
  92. package/src/sap/m/InputListItem.js +1 -1
  93. package/src/sap/m/InputRenderer.js +30 -4
  94. package/src/sap/m/Label.js +1 -1
  95. package/src/sap/m/LightBox.js +1 -1
  96. package/src/sap/m/LightBoxItem.js +1 -1
  97. package/src/sap/m/Link.js +8 -3
  98. package/src/sap/m/List.js +1 -1
  99. package/src/sap/m/ListBase.js +79 -21
  100. package/src/sap/m/ListItemBase.js +8 -7
  101. package/src/sap/m/MaskEnabler.js +1 -1
  102. package/src/sap/m/MaskInput.js +1 -1
  103. package/src/sap/m/MaskInputRule.js +1 -1
  104. package/src/sap/m/Menu.js +5 -4
  105. package/src/sap/m/MenuButton.js +2 -2
  106. package/src/sap/m/MenuItem.js +4 -4
  107. package/src/sap/m/MenuListItem.js +17 -1
  108. package/src/sap/m/MenuListItemRenderer.js +5 -0
  109. package/src/sap/m/MessageBox.js +37 -12
  110. package/src/sap/m/MessageItem.js +1 -1
  111. package/src/sap/m/MessageListItem.js +1 -1
  112. package/src/sap/m/MessagePage.js +1 -1
  113. package/src/sap/m/MessagePopover.js +29 -1
  114. package/src/sap/m/MessagePopoverItem.js +1 -1
  115. package/src/sap/m/MessageStrip.js +17 -23
  116. package/src/sap/m/MessageStripRenderer.js +2 -2
  117. package/src/sap/m/MessageStripUtilities.js +16 -3
  118. package/src/sap/m/MessageToast.js +2 -2
  119. package/src/sap/m/MessageView.js +7 -7
  120. package/src/sap/m/MultiComboBox.js +178 -166
  121. package/src/sap/m/MultiEditField.js +1 -1
  122. package/src/sap/m/MultiInput.js +2 -3
  123. package/src/sap/m/NavContainer.js +95 -15
  124. package/src/sap/m/NewsContent.js +1 -1
  125. package/src/sap/m/NotificationList.js +1 -1
  126. package/src/sap/m/NotificationListBase.js +1 -1
  127. package/src/sap/m/NotificationListGroup.js +1 -1
  128. package/src/sap/m/NotificationListItem.js +1 -1
  129. package/src/sap/m/NumericContent.js +1 -1
  130. package/src/sap/m/ObjectAttribute.js +1 -1
  131. package/src/sap/m/ObjectHeader.js +1 -1
  132. package/src/sap/m/ObjectHeaderRenderer.js +10 -7
  133. package/src/sap/m/ObjectIdentifier.js +10 -6
  134. package/src/sap/m/ObjectIdentifierRenderer.js +1 -1
  135. package/src/sap/m/ObjectListItem.js +3 -3
  136. package/src/sap/m/ObjectListItemRenderer.js +2 -2
  137. package/src/sap/m/ObjectMarker.js +16 -18
  138. package/src/sap/m/ObjectNumber.js +2 -2
  139. package/src/sap/m/ObjectStatus.js +17 -28
  140. package/src/sap/m/ObjectStatusRenderer.js +32 -11
  141. package/src/sap/m/OverflowToolbar.js +10 -6
  142. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  143. package/src/sap/m/OverflowToolbarButton.js +2 -2
  144. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  145. package/src/sap/m/OverflowToolbarToggleButton.js +2 -2
  146. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  147. package/src/sap/m/P13nColumnsItem.js +1 -1
  148. package/src/sap/m/P13nColumnsPanel.js +3 -3
  149. package/src/sap/m/P13nConditionPanel.js +3 -3
  150. package/src/sap/m/P13nDialog.js +11 -5
  151. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  152. package/src/sap/m/P13nDimMeasurePanel.js +4 -4
  153. package/src/sap/m/P13nFilterItem.js +1 -1
  154. package/src/sap/m/P13nFilterPanel.js +1 -1
  155. package/src/sap/m/P13nGroupItem.js +1 -1
  156. package/src/sap/m/P13nGroupPanel.js +7 -13
  157. package/src/sap/m/P13nItem.js +1 -1
  158. package/src/sap/m/P13nPanel.js +1 -1
  159. package/src/sap/m/P13nSelectionItem.js +1 -1
  160. package/src/sap/m/P13nSelectionPanel.js +1 -1
  161. package/src/sap/m/P13nSortItem.js +1 -1
  162. package/src/sap/m/P13nSortPanel.js +6 -12
  163. package/src/sap/m/PDFViewer.js +1 -1
  164. package/src/sap/m/PDFViewerRenderManager.js +2 -2
  165. package/src/sap/m/Page.js +1 -1
  166. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  167. package/src/sap/m/PagingButton.js +1 -1
  168. package/src/sap/m/Panel.js +1 -1
  169. package/src/sap/m/PlanningCalendar.js +173 -50
  170. package/src/sap/m/PlanningCalendarHeader.js +36 -5
  171. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  172. package/src/sap/m/PlanningCalendarRow.js +1 -1
  173. package/src/sap/m/PlanningCalendarView.js +26 -2
  174. package/src/sap/m/Popover.js +54 -25
  175. package/src/sap/m/ProgressIndicator.js +1 -1
  176. package/src/sap/m/PullToRefresh.js +1 -1
  177. package/src/sap/m/QuickView.js +2 -2
  178. package/src/sap/m/QuickViewBase.js +1 -3
  179. package/src/sap/m/QuickViewCard.js +1 -1
  180. package/src/sap/m/QuickViewGroup.js +1 -1
  181. package/src/sap/m/QuickViewGroupElement.js +1 -1
  182. package/src/sap/m/QuickViewPage.js +129 -137
  183. package/src/sap/m/RadioButton.js +3 -3
  184. package/src/sap/m/RadioButtonGroup.js +1 -1
  185. package/src/sap/m/RangeSlider.js +8 -3
  186. package/src/sap/m/RangeSliderRenderer.js +3 -0
  187. package/src/sap/m/RatingIndicator.js +69 -29
  188. package/src/sap/m/RatingIndicatorRenderer.js +0 -1
  189. package/src/sap/m/ResponsivePopover.js +1 -1
  190. package/src/sap/m/ResponsiveScale.js +1 -1
  191. package/src/sap/m/ScrollBar.js +1 -1
  192. package/src/sap/m/ScrollContainer.js +1 -1
  193. package/src/sap/m/SearchField.js +34 -19
  194. package/src/sap/m/SearchFieldRenderer.js +15 -5
  195. package/src/sap/m/SegmentedButton.js +1 -1
  196. package/src/sap/m/SegmentedButtonItem.js +1 -1
  197. package/src/sap/m/SegmentedButtonRenderer.js +6 -0
  198. package/src/sap/m/Select.js +39 -22
  199. package/src/sap/m/SelectDialog.js +22 -58
  200. package/src/sap/m/SelectDialogBase.js +148 -0
  201. package/src/sap/m/SelectList.js +13 -3
  202. package/src/sap/m/SelectRenderer.js +38 -25
  203. package/src/sap/m/SelectionDetails.js +5 -2
  204. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  205. package/src/sap/m/SelectionDetailsItem.js +1 -1
  206. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  207. package/src/sap/m/Shell.js +2 -2
  208. package/src/sap/m/SimpleFixFlex.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendar.js +19 -9
  210. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarGrid.js +49 -6
  212. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
  213. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +39 -2
  214. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +22 -2
  215. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  216. package/src/sap/m/SinglePlanningCalendarView.js +2 -2
  217. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  218. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  219. package/src/sap/m/SlideTile.js +3 -3
  220. package/src/sap/m/Slider.js +2 -2
  221. package/src/sap/m/SliderRenderer.js +2 -2
  222. package/src/sap/m/SliderTooltip.js +1 -1
  223. package/src/sap/m/SliderTooltipBase.js +1 -1
  224. package/src/sap/m/SliderTooltipContainer.js +1 -1
  225. package/src/sap/m/SplitApp.js +3 -3
  226. package/src/sap/m/SplitButton.js +1 -1
  227. package/src/sap/m/SplitButtonRenderer.js +5 -1
  228. package/src/sap/m/SplitContainer.js +67 -6
  229. package/src/sap/m/StandardDynamicDateOption.js +585 -0
  230. package/src/sap/m/StandardListItem.js +1 -1
  231. package/src/sap/m/StandardTile.js +2 -2
  232. package/src/sap/m/StandardTreeItem.js +1 -1
  233. package/src/sap/m/StepInput.js +1 -1
  234. package/src/sap/m/StepInputRenderer.js +0 -3
  235. package/src/sap/m/SuggestionItem.js +1 -1
  236. package/src/sap/m/SuggestionsPopover.js +44 -1
  237. package/src/sap/m/Support.js +54 -46
  238. package/src/sap/m/Switch.js +9 -1
  239. package/src/sap/m/TabContainer.js +1 -1
  240. package/src/sap/m/TabContainerItem.js +1 -1
  241. package/src/sap/m/TabStrip.js +1 -1
  242. package/src/sap/m/TabStripItem.js +1 -1
  243. package/src/sap/m/Table.js +50 -8
  244. package/src/sap/m/TablePersoController.js +2 -2
  245. package/src/sap/m/TablePersoDialog.js +1 -1
  246. package/src/sap/m/TablePersoProvider.js +1 -1
  247. package/src/sap/m/TableRenderer.js +6 -4
  248. package/src/sap/m/TableSelectDialog.js +23 -54
  249. package/src/sap/m/Text.js +3 -3
  250. package/src/sap/m/TextArea.js +1 -1
  251. package/src/sap/m/Tile.js +1 -1
  252. package/src/sap/m/TileContainer.js +9 -9
  253. package/src/sap/m/TileContent.js +1 -1
  254. package/src/sap/m/TimePicker.js +11 -6
  255. package/src/sap/m/TimePickerClock.js +2 -2
  256. package/src/sap/m/TimePickerClocks.js +4 -2
  257. package/src/sap/m/TimePickerInputs.js +27 -5
  258. package/src/sap/m/TimePickerInternals.js +1 -1
  259. package/src/sap/m/TimePickerSlider.js +15 -4
  260. package/src/sap/m/TimePickerSliders.js +5 -5
  261. package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
  262. package/src/sap/m/Title.js +2 -2
  263. package/src/sap/m/TitlePropagationSupport.js +1 -1
  264. package/src/sap/m/ToggleButton.js +2 -2
  265. package/src/sap/m/Token.js +1 -3
  266. package/src/sap/m/Tokenizer.js +3 -2
  267. package/src/sap/m/TokenizerRenderer.js +1 -0
  268. package/src/sap/m/Toolbar.js +2 -2
  269. package/src/sap/m/ToolbarLayoutData.js +1 -1
  270. package/src/sap/m/ToolbarSeparator.js +1 -1
  271. package/src/sap/m/ToolbarSpacer.js +1 -1
  272. package/src/sap/m/Tree.js +1 -1
  273. package/src/sap/m/TreeItemBase.js +4 -4
  274. package/src/sap/m/UploadCollection.js +2 -2
  275. package/src/sap/m/UploadCollectionItem.js +2 -2
  276. package/src/sap/m/UploadCollectionParameter.js +1 -1
  277. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  278. package/src/sap/m/VBox.js +1 -1
  279. package/src/sap/m/ValueStateHeader.js +1 -1
  280. package/src/sap/m/ViewSettingsCustomItem.js +2 -2
  281. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  282. package/src/sap/m/ViewSettingsDialog.js +9 -9
  283. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  284. package/src/sap/m/ViewSettingsItem.js +1 -1
  285. package/src/sap/m/VisibleItem.js +1 -1
  286. package/src/sap/m/WheelSlider.js +3 -3
  287. package/src/sap/m/WheelSliderContainer.js +4 -4
  288. package/src/sap/m/Wizard.js +2 -2
  289. package/src/sap/m/WizardProgressNavigator.js +1 -1
  290. package/src/sap/m/WizardProgressNavigatorRenderer.js +1 -1
  291. package/src/sap/m/WizardStep.js +2 -2
  292. package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
  293. package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
  294. package/src/sap/m/changeHandler/CombineButtons.js +280 -173
  295. package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
  296. package/src/sap/m/changeHandler/SplitMenuButton.js +141 -93
  297. package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
  298. package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
  299. package/src/sap/m/library.js +93 -9
  300. package/src/sap/m/messagebundle.properties +212 -27
  301. package/src/sap/m/messagebundle_ar.properties +104 -3
  302. package/src/sap/m/messagebundle_bg.properties +103 -2
  303. package/src/sap/m/messagebundle_ca.properties +103 -2
  304. package/src/sap/m/messagebundle_cs.properties +113 -12
  305. package/src/sap/m/messagebundle_cy.properties +103 -2
  306. package/src/sap/m/messagebundle_da.properties +103 -2
  307. package/src/sap/m/messagebundle_de.properties +112 -11
  308. package/src/sap/m/messagebundle_el.properties +103 -2
  309. package/src/sap/m/messagebundle_en.properties +103 -2
  310. package/src/sap/m/messagebundle_en_GB.properties +103 -2
  311. package/src/sap/m/messagebundle_en_US_sappsd.properties +102 -2
  312. package/src/sap/m/messagebundle_en_US_saprigi.properties +96 -2
  313. package/src/sap/m/messagebundle_en_US_saptrc.properties +103 -2
  314. package/src/sap/m/messagebundle_es.properties +106 -5
  315. package/src/sap/m/messagebundle_es_MX.properties +103 -2
  316. package/src/sap/m/messagebundle_et.properties +103 -2
  317. package/src/sap/m/messagebundle_fi.properties +103 -2
  318. package/src/sap/m/messagebundle_fr.properties +103 -2
  319. package/src/sap/m/messagebundle_fr_CA.properties +107 -6
  320. package/src/sap/m/messagebundle_hi.properties +103 -2
  321. package/src/sap/m/messagebundle_hr.properties +103 -2
  322. package/src/sap/m/messagebundle_hu.properties +103 -2
  323. package/src/sap/m/messagebundle_id.properties +103 -2
  324. package/src/sap/m/messagebundle_it.properties +103 -2
  325. package/src/sap/m/messagebundle_iw.properties +103 -2
  326. package/src/sap/m/messagebundle_ja.properties +122 -21
  327. package/src/sap/m/messagebundle_kk.properties +103 -2
  328. package/src/sap/m/messagebundle_ko.properties +103 -2
  329. package/src/sap/m/messagebundle_lt.properties +103 -2
  330. package/src/sap/m/messagebundle_lv.properties +103 -2
  331. package/src/sap/m/messagebundle_ms.properties +103 -2
  332. package/src/sap/m/messagebundle_nl.properties +110 -9
  333. package/src/sap/m/messagebundle_no.properties +106 -5
  334. package/src/sap/m/messagebundle_pl.properties +106 -5
  335. package/src/sap/m/messagebundle_pt.properties +112 -11
  336. package/src/sap/m/messagebundle_pt_PT.properties +103 -2
  337. package/src/sap/m/messagebundle_ro.properties +113 -12
  338. package/src/sap/m/messagebundle_ru.properties +103 -2
  339. package/src/sap/m/messagebundle_sh.properties +103 -2
  340. package/src/sap/m/messagebundle_sk.properties +103 -2
  341. package/src/sap/m/messagebundle_sl.properties +103 -2
  342. package/src/sap/m/messagebundle_sv.properties +109 -8
  343. package/src/sap/m/messagebundle_th.properties +113 -12
  344. package/src/sap/m/messagebundle_tr.properties +109 -8
  345. package/src/sap/m/messagebundle_uk.properties +103 -2
  346. package/src/sap/m/messagebundle_vi.properties +103 -2
  347. package/src/sap/m/messagebundle_zh_CN.properties +104 -3
  348. package/src/sap/m/messagebundle_zh_TW.properties +103 -2
  349. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  350. package/src/sap/m/plugins/DataStateIndicator.js +5 -3
  351. package/src/sap/m/plugins/PasteProvider.js +1 -1
  352. package/src/sap/m/plugins/PluginBase.js +1 -1
  353. package/src/sap/m/routing/RouteMatchedHandler.js +2 -0
  354. package/src/sap/m/routing/Router.js +1 -0
  355. package/src/sap/m/routing/TargetHandler.js +123 -51
  356. package/src/sap/m/routing/async/Target.js +13 -1
  357. package/src/sap/m/routing/sync/Target.js +1 -0
  358. package/src/sap/m/semantic/AddAction.js +1 -1
  359. package/src/sap/m/semantic/CancelAction.js +1 -1
  360. package/src/sap/m/semantic/DeleteAction.js +1 -1
  361. package/src/sap/m/semantic/DetailPage.js +1 -1
  362. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  363. package/src/sap/m/semantic/EditAction.js +1 -1
  364. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  365. package/src/sap/m/semantic/FilterAction.js +1 -1
  366. package/src/sap/m/semantic/FilterSelect.js +1 -1
  367. package/src/sap/m/semantic/FlagAction.js +1 -1
  368. package/src/sap/m/semantic/ForwardAction.js +1 -1
  369. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  370. package/src/sap/m/semantic/GroupAction.js +1 -1
  371. package/src/sap/m/semantic/GroupSelect.js +1 -1
  372. package/src/sap/m/semantic/MainAction.js +1 -1
  373. package/src/sap/m/semantic/MasterPage.js +1 -1
  374. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  375. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  376. package/src/sap/m/semantic/NegativeAction.js +1 -1
  377. package/src/sap/m/semantic/OpenInAction.js +1 -1
  378. package/src/sap/m/semantic/PositiveAction.js +1 -1
  379. package/src/sap/m/semantic/PrintAction.js +1 -1
  380. package/src/sap/m/semantic/SaveAction.js +1 -1
  381. package/src/sap/m/semantic/Segment.js +1 -1
  382. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  383. package/src/sap/m/semantic/SemanticButton.js +1 -1
  384. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  385. package/src/sap/m/semantic/SemanticControl.js +1 -1
  386. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +2 -2
  387. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
  388. package/src/sap/m/semantic/SemanticPage.js +1 -1
  389. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  390. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  391. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  392. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  393. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  394. package/src/sap/m/semantic/ShareMenu.js +1 -1
  395. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  396. package/src/sap/m/semantic/SortAction.js +1 -1
  397. package/src/sap/m/semantic/SortSelect.js +1 -1
  398. package/src/sap/m/themes/base/Button.less +8 -10
  399. package/src/sap/m/themes/base/Carousel.less +38 -4
  400. package/src/sap/m/themes/base/CheckBox.less +1 -1
  401. package/src/sap/m/themes/base/Dialog.less +11 -5
  402. package/src/sap/m/themes/base/DynamicDateRange.less +56 -0
  403. package/src/sap/m/themes/base/FeedInput.less +5 -6
  404. package/src/sap/m/themes/base/GenericTile.less +205 -2
  405. package/src/sap/m/themes/base/IconTabBar.less +185 -64
  406. package/src/sap/m/themes/base/IconTabBarSelectList.less +12 -2
  407. package/src/sap/m/themes/base/InputBase.less +0 -17
  408. package/src/sap/m/themes/base/Label.less +6 -4
  409. package/src/sap/m/themes/base/Link.less +0 -3
  410. package/src/sap/m/themes/base/ListItemBase.less +7 -3
  411. package/src/sap/m/themes/base/MenuListItem.less +10 -0
  412. package/src/sap/m/themes/base/MessageBox.less +0 -3
  413. package/src/sap/m/themes/base/NotificationListBase.less +1 -1
  414. package/src/sap/m/themes/base/ObjectHeader.less +2 -1
  415. package/src/sap/m/themes/base/ObjectNumber.less +6 -2
  416. package/src/sap/m/themes/base/ObjectStatus.less +25 -4
  417. package/src/sap/m/themes/base/P13nDialog.less +8 -0
  418. package/src/sap/m/themes/base/PlanningCalendar.less +25 -0
  419. package/src/sap/m/themes/base/Popover.less +1 -1
  420. package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
  421. package/src/sap/m/themes/base/QuickView.less +17 -60
  422. package/src/sap/m/themes/base/RadioButton.less +3 -0
  423. package/src/sap/m/themes/base/SearchField.less +22 -15
  424. package/src/sap/m/themes/base/SegmentedButton.less +1 -1
  425. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +29 -5
  426. package/src/sap/m/themes/base/SplitContainer.less +0 -16
  427. package/src/sap/m/themes/base/StandardListItem.less +5 -1
  428. package/src/sap/m/themes/base/Table.less +15 -19
  429. package/src/sap/m/themes/base/Text.less +4 -2
  430. package/src/sap/m/themes/base/TimePicker.less +5 -1
  431. package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
  432. package/src/sap/m/themes/base/Toolbar.less +6 -0
  433. package/src/sap/m/themes/base/ViewSettingsDialog.less +1 -1
  434. package/src/sap/m/themes/base/library.source.less +1 -0
  435. package/src/sap/m/themes/base/shared.less +2 -0
  436. package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
  437. package/src/sap/m/upload/UploadSet.js +11 -10
  438. package/src/sap/m/upload/UploadSetItem.js +16 -1
  439. package/src/sap/m/upload/Uploader.js +20 -5
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Control
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.91.0
46
+ * @version 1.93.2
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -52,7 +52,9 @@ sap.ui.define([
52
52
  */
53
53
  var NavContainer = Control.extend("sap.m.NavContainer", /** @lends sap.m.NavContainer.prototype */ {
54
54
  metadata: {
55
-
55
+ interfaces: [
56
+ "sap.ui.core.IPlaceholderSupport"
57
+ ],
56
58
  library: "sap.m",
57
59
  properties: {
58
60
 
@@ -246,6 +248,15 @@ sap.ui.define([
246
248
  }
247
249
  });
248
250
 
251
+ // Delegate registered by the NavContainer#showPlaceholder function
252
+ var oPlaceholderDelegate = {
253
+ "onAfterRendering": function() {
254
+ if (this._placeholder) {
255
+ this._placeholder.show(this);
256
+ }
257
+ }
258
+ };
259
+
249
260
  var bUseAnimations = sap.ui.getCore().getConfiguration().getAnimation(),
250
261
  fnGetDelay = function (iDelay) {
251
262
  return bUseAnimations ? iDelay : 0;
@@ -281,6 +292,7 @@ sap.ui.define([
281
292
 
282
293
  NavContainer.prototype.exit = function () {
283
294
  this._mFocusObject = null; // allow partial garbage collection when app code leaks the NavContainer (based on a real scenario)
295
+ this._placeholder = undefined;
284
296
  };
285
297
 
286
298
 
@@ -1260,7 +1272,8 @@ sap.ui.define([
1260
1272
  jQuery(this).off("webkitAnimationEnd animationend");
1261
1273
 
1262
1274
  if (!bFirstSlideDone) {
1263
- return (bFirstSlideDone = true);
1275
+ bFirstSlideDone = true;
1276
+ return bFirstSlideDone;
1264
1277
  }
1265
1278
 
1266
1279
  bTransitionEndPending = false;
@@ -1798,6 +1811,61 @@ sap.ui.define([
1798
1811
  return this;
1799
1812
  };
1800
1813
 
1814
+ /**
1815
+ * Shows the placeholder if NavContainer is rendered.
1816
+ * Otherwise, registers the 'onAfterRendering' delegate which shows the placeholder.
1817
+ *
1818
+ * @param {object} mSettings Object containing the placeholder instance
1819
+ * @param {sap.ui.core.Placeholder} mSettings.placeholder The placeholder instance
1820
+ * @public
1821
+ * @since 1.91
1822
+ */
1823
+ NavContainer.prototype.showPlaceholder = function(mSettings) {
1824
+ if (this._placeholder) {
1825
+ this.hidePlaceholder();
1826
+ }
1827
+
1828
+ if (mSettings.placeholder) {
1829
+ this._placeholder = mSettings.placeholder;
1830
+ }
1831
+
1832
+ if (this.getDomRef()) {
1833
+ this._placeholder.show(this);
1834
+ }
1835
+ // Add an event delegate to reinsert the placeholder after it's removed after a rerendering
1836
+ this.addEventDelegate(oPlaceholderDelegate, this);
1837
+ };
1838
+
1839
+ /**
1840
+ * Hides the placeholder and removes the 'onAfterRendering' placeholder delegate.
1841
+ *
1842
+ * @public
1843
+ * @since 1.91
1844
+ */
1845
+ NavContainer.prototype.hidePlaceholder = function() {
1846
+ if (this._placeholder) {
1847
+ this._placeholder.hide();
1848
+
1849
+ // remove the delegate because the placeholder is hidden
1850
+ this.removeEventDelegate(oPlaceholderDelegate);
1851
+ }
1852
+ };
1853
+
1854
+ /**
1855
+ * Checks whether a placeholder is needed by comparing the currently displayed page with
1856
+ * the page object that is going to be displayed. If they are the same, no placeholder needs
1857
+ * to be shown.
1858
+ *
1859
+ * @param {string} sAggregationName The aggregation name
1860
+ * @param {object} oObject The page object to be displayed
1861
+ * @returns {boolean} Whether a placeholder is needed or not
1862
+ *
1863
+ * @private
1864
+ * @ui5-restricted sap.ui.core.routing
1865
+ */
1866
+ NavContainer.prototype.needPlaceholder = function(sAggregationName, oObject) {
1867
+ return this.getCurrentPage() !== oObject;
1868
+ };
1801
1869
 
1802
1870
  /**
1803
1871
  * Fiori 2.0 Adaptation
@@ -1841,51 +1909,63 @@ sap.ui.define([
1841
1909
 
1842
1910
  /**
1843
1911
  * This event is fired before the NavContainer shows this child control for the first time.
1912
+ *
1913
+ * @name sap.m.NavContainerChild#beforeFirstShow
1844
1914
  * @event
1915
+ * @param {sap.ui.base.Event} oControlEvent
1916
+ * @param {sap.ui.base.EventProvider} oControlEvent.getSource
1917
+ * @param {object} oControlEvent.getParameters
1918
+ * @param {jQuery.Event} oEvent The event object
1845
1919
  * @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
1846
1920
  * @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
1847
1921
  * @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
1848
- * @name sap.m.NavContainerChild.prototype.BeforeFirstShow
1849
1922
  * @public
1850
1923
  */
1851
1924
 
1852
1925
  /**
1853
1926
  * This event is fired every time before the NavContainer shows this child control. In case of animated transitions this
1854
1927
  * event is fired before the transition starts.
1928
+ *
1929
+ * @name sap.m.NavContainerChild#beforeShow
1855
1930
  * @event
1931
+ * @param {sap.ui.base.Event} oControlEvent
1932
+ * @param {sap.ui.base.EventProvider} oControlEvent.getSource
1933
+ * @param {object} oControlEvent.getParameters
1934
+ * @param {jQuery.Event} oEvent The event object
1856
1935
  * @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
1857
1936
  * @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
1858
1937
  * @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
1859
- * @name sap.m.NavContainerChild.prototype.BeforeShow
1860
1938
  * @public
1861
1939
  */
1862
1940
 
1863
1941
  /**
1864
1942
  * This event is fired every time when the NavContainer has made this child control visible. In case of animated transitions this
1865
1943
  * event is fired after the transition finishes. This control is now being displayed and not animated anymore.
1944
+ *
1945
+ * @name sap.m.NavContainerChild#afterShow
1866
1946
  * @event
1947
+ * @param {sap.ui.base.Event} oControlEvent
1948
+ * @param {sap.ui.base.EventProvider} oControlEvent.getSource
1949
+ * @param {object} oControlEvent.getParameters
1950
+ * @param {jQuery.Event} oEvent The event object
1867
1951
  * @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
1868
1952
  * @param {object} oEvent.data the data object which has been passed with the "to" navigation, or an empty object
1869
1953
  * @param {object} oEvent.backData the data object which has been passed with the back navigation, or an empty object
1870
- * @name sap.m.NavContainerChild.prototype.AfterShow
1871
1954
  * @public
1872
1955
  */
1873
1956
 
1874
- /**
1875
- * This event is fired every time before the NavContainer hides this child control. In case of animated transitions this
1876
- * event is fired before the transition starts.
1877
- * @event
1878
- * @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
1879
- * @name sap.m.NavContainerChild.prototype.BeforeHide
1880
- * @public
1881
- */
1882
1957
 
1883
1958
  /**
1884
1959
  * This event is fired every time when the NavContainer has made this child control invisible. In case of animated transitions this
1885
1960
  * event is fired after the transition finishes. This control is now no longer being displayed and not animated anymore.
1961
+ *
1962
+ * @name sap.m.NavContainerChild#beforeHide
1886
1963
  * @event
1964
+ * @param {sap.ui.base.Event} oControlEvent
1965
+ * @param {sap.ui.base.EventProvider} oControlEvent.getSource
1966
+ * @param {object} oControlEvent.getParameters
1967
+ * @param {jQuery.Event} oEvent The event object
1887
1968
  * @param {sap.ui.core.Control} oEvent.srcControl the NavContainer firing the event
1888
- * @name sap.m.NavContainerChild.prototype.AfterHide
1889
1969
  * @public
1890
1970
  */
1891
1971
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.91.0
28
+ * @version 1.93.2
29
29
  * @since 1.34
30
30
  *
31
31
  * @public
@@ -27,7 +27,7 @@ function(
27
27
  * @extends sap.m.ListBase
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.91.0
30
+ * @version 1.93.2
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -78,7 +78,7 @@ sap.ui.define([
78
78
  * @extends sap.m.ListItemBase
79
79
  *
80
80
  * @author SAP SE
81
- * @version 1.91.0
81
+ * @version 1.93.2
82
82
  *
83
83
  * @constructor
84
84
  * @public
@@ -66,7 +66,7 @@ function(
66
66
  * @extends sap.m.NotificationListBase
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.91.0
69
+ * @version 1.93.2
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -66,7 +66,7 @@ function(
66
66
  * @extends sap.m.NotificationListBase
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.91.0
69
+ * @version 1.93.2
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -107,7 +107,7 @@ sap.ui.define([
107
107
  * @extends sap.ui.core.Control
108
108
  *
109
109
  * @author SAP SE
110
- * @version 1.91.0
110
+ * @version 1.93.2
111
111
  * @since 1.34
112
112
  *
113
113
  * @public
@@ -38,7 +38,7 @@ function(library, Control, coreLibrary, Text, KeyCodes, ObjectAttributeRenderer,
38
38
  * <code>text</code> property is styled and acts as a link. In this case the <code>text</code>
39
39
  * property must also be set, as otherwise there will be no link displayed for the user.
40
40
  * @extends sap.ui.core.Control
41
- * @version 1.91.0
41
+ * @version 1.93.2
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * <code>sapUiResponsivePadding--header</code>.
81
81
  *
82
82
  * @extends sap.ui.core.Control
83
- * @version 1.91.0
83
+ * @version 1.93.2
84
84
  *
85
85
  * @constructor
86
86
  * @public
@@ -699,13 +699,16 @@ sap.ui.define([
699
699
  oRM.attr("title", sTooltip);
700
700
  }
701
701
  // ARIA attributes
702
- oRM.accessibilityState({
703
- role : "region",
704
- labelledby: {
705
- value: oOH.getId() + "-titleText-inner",
706
- append: true
707
- }
708
- });
702
+ oRM.accessibilityState({ role : "region" });
703
+
704
+ if (oOH.getTitle()) {
705
+ oRM.accessibilityState({
706
+ labelledby: {
707
+ value: oOH.getId() + "-titleText-inner",
708
+ append: true
709
+ }
710
+ });
711
+ }
709
712
 
710
713
  oRM.openEnd();
711
714
 
@@ -15,7 +15,8 @@ sap.ui.define([
15
15
  'sap/ui/core/library',
16
16
  'sap/ui/Device',
17
17
  'sap/ui/base/ManagedObject',
18
- './ObjectIdentifierRenderer'
18
+ './ObjectIdentifierRenderer',
19
+ "sap/ui/events/KeyCodes"
19
20
  ],
20
21
  function(
21
22
  library,
@@ -27,7 +28,8 @@ function(
27
28
  coreLibrary,
28
29
  Device,
29
30
  ManagedObject,
30
- ObjectIdentifierRenderer
31
+ ObjectIdentifierRenderer,
32
+ KeyCodes
31
33
  ) {
32
34
  "use strict";
33
35
 
@@ -50,7 +52,7 @@ function(
50
52
  *
51
53
  * <b>Note:</b> This control should not be used with {@link sap.m.Label} or in Forms along with {@link sap.m.Label}.
52
54
  * @extends sap.ui.core.Control
53
- * @version 1.91.0
55
+ * @version 1.93.2
54
56
  *
55
57
  * @constructor
56
58
  * @public
@@ -399,8 +401,10 @@ function(
399
401
  * @param {jQuery.Event} oEvent The fired event
400
402
  * @private
401
403
  */
402
- ObjectIdentifier.prototype.onsapspace = function(oEvent) {
403
- ObjectIdentifier.prototype._handlePress.apply(this, arguments);
404
+ ObjectIdentifier.prototype.onkeyup = function(oEvent) {
405
+ if (oEvent && oEvent.which === KeyCodes.SPACE) {
406
+ ObjectIdentifier.prototype._handlePress.apply(this, arguments);
407
+ }
404
408
  };
405
409
 
406
410
  /**
@@ -441,7 +445,7 @@ function(
441
445
 
442
446
  /**
443
447
  * @see sap.ui.core.Control#getAccessibilityInfo
444
- * @returns {Object} Current accessibility state of the control
448
+ * @returns {object} Current accessibility state of the control
445
449
  * @protected
446
450
  */
447
451
  ObjectIdentifier.prototype.getAccessibilityInfo = function() {
@@ -108,7 +108,7 @@ sap.ui.define(['./library', 'sap/ui/core/Core'],
108
108
  oRm.openStart("div", oOI.getId() + "-text"); // Text begins
109
109
  oRm.class("sapMObjectIdentifierText");
110
110
 
111
- if (!!oOI.getProperty("text") && !!oOI.getProperty("title")) {
111
+ if (oOI.getProperty("text") && oOI.getProperty("title")) {
112
112
  oRm.class("sapMObjectIdentifierTextBellow");
113
113
  }
114
114
  oRm.openEnd();
@@ -59,7 +59,7 @@ function(
59
59
  *
60
60
  * <b>Note:</b> The control must only be used in the context of a list.
61
61
  * @extends sap.m.ListItemBase
62
- * @version 1.91.0
62
+ * @version 1.93.2
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -416,7 +416,7 @@ function(
416
416
  ObjectListItem.prototype._activeHandlingInheritor = function() {
417
417
  var sActiveSrc = this.getActiveIcon();
418
418
 
419
- if (!!this._oImageControl && !!sActiveSrc) {
419
+ if (this._oImageControl && sActiveSrc) {
420
420
  this._oImageControl.setSrc(sActiveSrc);
421
421
  }
422
422
  };
@@ -428,7 +428,7 @@ function(
428
428
  */
429
429
  ObjectListItem.prototype._inactiveHandlingInheritor = function() {
430
430
  var sSrc = this.getIcon();
431
- if (!!this._oImageControl) {
431
+ if (this._oImageControl) {
432
432
  this._oImageControl.setSrc(sSrc);
433
433
  }
434
434
  };
@@ -132,7 +132,7 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/li
132
132
 
133
133
  rm.openEnd();
134
134
 
135
- if (!!oLI.getIcon()) {
135
+ if (oLI.getIcon()) {
136
136
  rm.openStart("div");
137
137
  rm.class("sapMObjLIconDiv");
138
138
 
@@ -174,7 +174,7 @@ sap.ui.define(['./ListItemBaseRenderer', 'sap/ui/core/Renderer', 'sap/ui/core/li
174
174
  rm.close("div"); // End Top row container
175
175
 
176
176
  rm.openStart("div");
177
- rm.style("clear", "both;");
177
+ rm.style("clear", "both");
178
178
  rm.openEnd();
179
179
  rm.close("div");
180
180
 
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.91.0
65
+ * @version 1.93.2
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -145,13 +145,6 @@ sap.ui.define([
145
145
  }
146
146
  });
147
147
 
148
- /**
149
- * Library internationalization resource bundle.
150
- *
151
- * @type {module:sap/base/i18n/ResourceBundle}
152
- */
153
- var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.m");
154
-
155
148
  /**
156
149
  * Map of predefined <code>ObjectMarker</code> types.
157
150
  *
@@ -167,7 +160,7 @@ sap.ui.define([
167
160
  }
168
161
  },
169
162
  text: {
170
- value: oRB.getText("OM_FLAG"),
163
+ value: "OM_FLAG",
171
164
  visibility: {
172
165
  small: false,
173
166
  large: false
@@ -183,7 +176,7 @@ sap.ui.define([
183
176
  }
184
177
  },
185
178
  text: {
186
- value: oRB.getText("OM_FAVORITE"),
179
+ value: "OM_FAVORITE",
187
180
  visibility: {
188
181
  small: false,
189
182
  large: false
@@ -199,7 +192,7 @@ sap.ui.define([
199
192
  }
200
193
  },
201
194
  text: {
202
- value: oRB.getText("OM_DRAFT"),
195
+ value: "OM_DRAFT",
203
196
  visibility: {
204
197
  small: true,
205
198
  large: true
@@ -215,7 +208,7 @@ sap.ui.define([
215
208
  }
216
209
  },
217
210
  text: {
218
- value: oRB.getText("OM_LOCKED"),
211
+ value: "OM_LOCKED",
219
212
  visibility: {
220
213
  small: false,
221
214
  large: true
@@ -231,7 +224,7 @@ sap.ui.define([
231
224
  }
232
225
  },
233
226
  text: {
234
- value: oRB.getText("OM_UNSAVED"),
227
+ value: "OM_UNSAVED",
235
228
  visibility: {
236
229
  small: false,
237
230
  large: true
@@ -247,7 +240,7 @@ sap.ui.define([
247
240
  }
248
241
  },
249
242
  text: {
250
- value: oRB.getText("OM_LOCKED_BY"),
243
+ value: "OM_LOCKED_BY",
251
244
  visibility: {
252
245
  small: false,
253
246
  large: true
@@ -263,7 +256,7 @@ sap.ui.define([
263
256
  }
264
257
  },
265
258
  text: {
266
- value: oRB.getText("OM_UNSAVED_BY"),
259
+ value: "OM_UNSAVED_BY",
267
260
  visibility: {
268
261
  small: false,
269
262
  large: true
@@ -390,6 +383,7 @@ sap.ui.define([
390
383
 
391
384
  var oType = ObjectMarker.M_PREDEFINED_TYPES[this.getType()],
392
385
  oInnerControl = this._getInnerControl(),
386
+ oInnerIcon = oInnerControl && oInnerControl._getIconAggregation(),
393
387
  sAdditionalInfo = this.getAdditionalInfo(),
394
388
  bIsIconVisible = this._isIconVisible(),
395
389
  bIsTextVisible = this._isTextVisible(),
@@ -408,7 +402,9 @@ sap.ui.define([
408
402
 
409
403
  if (bIsIconVisible) {
410
404
  oInnerControl.setIcon(oType.icon.src, bSuppressInvalidate);
411
- oInnerControl._getIconAggregation().setDecorative(!bIsIconOnly); // icon should be decorative if we have text
405
+ oInnerIcon.setDecorative(!bIsIconOnly); // icon should be decorative if we have text
406
+ oInnerIcon.setAlt(sText);
407
+ oInnerIcon.setUseIconTooltip(false);
412
408
  this.addStyleClass("sapMObjectMarkerIcon");
413
409
  } else {
414
410
  oInnerControl.setIcon(null, bSuppressInvalidate);
@@ -420,7 +416,7 @@ sap.ui.define([
420
416
  oInnerControl.setText(sText, bSuppressInvalidate);
421
417
  this.addStyleClass("sapMObjectMarkerText");
422
418
  } else {
423
- if (oInnerControl.getIcon()) {
419
+ if (oInnerIcon) {
424
420
  oInnerControl.setAggregation("tooltip", sText, bSuppressInvalidate);
425
421
  }
426
422
  oInnerControl.setText(null, bSuppressInvalidate);
@@ -451,6 +447,7 @@ sap.ui.define([
451
447
  * @private
452
448
  */
453
449
  ObjectMarker.prototype._getMarkerText = function (oType, sType, sAdditionalInfo) {
450
+ var oRB = sap.ui.getCore().getLibraryResourceBundle("sap.m");
454
451
 
455
452
  switch (sType) {
456
453
  case "LockedBy":
@@ -458,10 +455,11 @@ sap.ui.define([
458
455
  case "UnsavedBy":
459
456
  return (sAdditionalInfo === "") ? oRB.getText('OM_UNSAVED_BY_ANOTHER_USER') : oRB.getText('OM_UNSAVED_BY', [sAdditionalInfo]);
460
457
  default:
461
- return (sAdditionalInfo === "") ? oType.text.value : oType.text.value + " " + sAdditionalInfo;
458
+ return (sAdditionalInfo === "") ? oRB.getText(oType.text.value) : oRB.getText(oType.text.value) + " " + sAdditionalInfo;
462
459
  }
463
460
  };
464
461
 
462
+
465
463
  /**
466
464
  * Determines if the icon of the control should be visible or not.
467
465
  *
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  *
48
48
  * @extends sap.ui.core.Control
49
49
  * @implements sap.ui.core.IFormContent
50
- * @version 1.91.0
50
+ * @version 1.93.2
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -156,7 +156,7 @@ sap.ui.define([
156
156
 
157
157
  /**
158
158
  * @see sap.ui.core.Control#getAccessibilityInfo
159
- * @returns {Object} Current accessibility state of the control
159
+ * @returns {object} Current accessibility state of the control
160
160
  * @protected
161
161
  */
162
162
  ObjectNumber.prototype.getAccessibilityInfo = function() {
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @extends sap.ui.core.Control
48
48
  * @implements sap.ui.core.IFormContent
49
- * @version 1.91.0
49
+ * @version 1.93.2
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -137,29 +137,22 @@ sap.ui.define([
137
137
  }});
138
138
 
139
139
  /**
140
- * Creates a new sap.ui.core.InvisibleText control instance with a text property value compliant
141
- * to the sap.m.ObjectStatus control instance state and attaches its DOM representation
142
- * to the static area.
140
+ * Returns a text compliant to the sap.m.ObjectStatus control instance state
143
141
  *
144
142
  * @private
145
143
  * @param {string} sState the propety state value.
144
+ * @returns {string} The text compliant to the control state
146
145
  */
147
- ObjectStatus.prototype._createInvisibleTextReferece = function(sState) {
146
+ ObjectStatus.prototype._getStateText = function(sState) {
148
147
  var sStateText;
149
148
 
150
149
  if (sState !== ValueState.None) {
151
150
  sStateText = ValueStateSupport.getAdditionalText(sState) ?
152
151
  ValueStateSupport.getAdditionalText(sState) :
153
152
  IndicationColorSupport.getAdditionalText(sState);
154
-
155
- if (this._oInvisibleText) {
156
- this._oInvisibleText.setText(sStateText);
157
- } else {
158
- this._oInvisibleText = new InvisibleText({
159
- text: sStateText
160
- }).toStatic();
161
- }
162
153
  }
154
+
155
+ return sStateText;
163
156
  };
164
157
 
165
158
  /**
@@ -172,11 +165,6 @@ sap.ui.define([
172
165
  this._oImageControl.destroy();
173
166
  this._oImageControl = null;
174
167
  }
175
-
176
- if (this._oInvisibleText){
177
- this._oInvisibleText.destroy();
178
- this._oInvisibleText = null;
179
- }
180
168
  };
181
169
 
182
170
  /**
@@ -218,7 +206,6 @@ sap.ui.define([
218
206
  throw new Error('"' + sValue + '" is not a value of the enums sap.ui.core.ValueState or sap.ui.core.IndicationColor for property "state" of ' + this);
219
207
  }
220
208
 
221
- this._createInvisibleTextReferece(sValue);
222
209
  return this.setProperty("state", sValue);
223
210
  };
224
211
 
@@ -288,24 +275,26 @@ sap.ui.define([
288
275
  /**
289
276
  * @see sap.ui.core.Control#getAccessibilityInfo
290
277
  *
291
- * @returns {Object} Current accessibility state of the control
278
+ * @returns {object} Current accessibility state of the control
292
279
  * @protected
293
280
  */
294
281
  ObjectStatus.prototype.getAccessibilityInfo = function() {
295
- var sState = ValueStateSupport.getAdditionalText(this.getState());
282
+ var sState = ValueStateSupport.getAdditionalText(this.getState()),
283
+ sDescription;
296
284
 
297
285
  if (this.getState() != ValueState.None) {
298
286
  sState = (sState !== null) ? sState : IndicationColorSupport.getAdditionalText(this.getState());
299
287
  }
300
288
 
289
+ sDescription = (
290
+ (this.getTitle() || "") + " " +
291
+ (this.getText() || "") + " " +
292
+ (sState !== null ? sState : "") + " " +
293
+ (this.getTooltip() || "")
294
+ ).trim();
295
+
301
296
  return {
302
- description: (
303
- (this.getTitle() || "") + " " +
304
- (this.getText() || "") + " " +
305
- (sState !== null ? sState : "") + " " +
306
- (this.getTooltip() || "") + " " +
307
- sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("OBJECT_STATUS")
308
- ).trim()
297
+ description: sDescription + (sDescription ? " " + sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("OBJECT_STATUS") : "")
309
298
  };
310
299
  };
311
300