@openui5/sap.m 1.119.1 → 1.120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (463) hide show
  1. package/THIRDPARTY.txt +6 -6
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +8 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +10 -6
  14. package/src/sap/m/AvatarRenderer.js +10 -3
  15. package/src/sap/m/Bar.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +1 -1
  17. package/src/sap/m/BusyDialog.js +1 -1
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +1 -1
  20. package/src/sap/m/Carousel.js +1 -1
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CheckBox.js +1 -1
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +7 -8
  27. package/src/sap/m/ColumnListItem.js +1 -1
  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 +1 -1
  34. package/src/sap/m/ComboBoxBase.js +20 -3
  35. package/src/sap/m/ComboBoxTextField.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 +22 -12
  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 +1 -1
  45. package/src/sap/m/DisplayListItem.js +1 -1
  46. package/src/sap/m/DraftIndicator.js +1 -1
  47. package/src/sap/m/DynamicDate.js +1 -1
  48. package/src/sap/m/DynamicDateOption.js +1 -1
  49. package/src/sap/m/DynamicDateRange.js +10 -2
  50. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  51. package/src/sap/m/ExpandableText.js +1 -1
  52. package/src/sap/m/FacetFilter.js +2 -1
  53. package/src/sap/m/FacetFilterItem.js +1 -1
  54. package/src/sap/m/FacetFilterList.js +1 -1
  55. package/src/sap/m/FeedContent.js +1 -1
  56. package/src/sap/m/FeedInput.js +5 -4
  57. package/src/sap/m/FeedInputRenderer.js +3 -3
  58. package/src/sap/m/FeedListItem.js +6 -4
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/Fiori20Adapter.js +2 -2
  61. package/src/sap/m/FlexBox.js +1 -1
  62. package/src/sap/m/FlexItemData.js +1 -1
  63. package/src/sap/m/FormattedText.js +1 -1
  64. package/src/sap/m/GenericTag.js +1 -1
  65. package/src/sap/m/GenericTile.js +58 -23
  66. package/src/sap/m/GenericTileRenderer.js +11 -0
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingEnablement.js +2 -3
  69. package/src/sap/m/GrowingList.js +1 -1
  70. package/src/sap/m/HBox.js +1 -1
  71. package/src/sap/m/HeaderContainer.js +6 -4
  72. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  73. package/src/sap/m/IconTabBar.js +1 -1
  74. package/src/sap/m/IconTabBarSelectList.js +1 -1
  75. package/src/sap/m/IconTabFilter.js +1 -1
  76. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  77. package/src/sap/m/IconTabHeader.js +1 -1
  78. package/src/sap/m/IconTabSeparator.js +1 -1
  79. package/src/sap/m/IllustratedMessage.js +1 -1
  80. package/src/sap/m/Illustration.js +1 -1
  81. package/src/sap/m/Image.js +1 -1
  82. package/src/sap/m/ImageContent.js +1 -1
  83. package/src/sap/m/Input.js +79 -14
  84. package/src/sap/m/InputBase.js +3 -1
  85. package/src/sap/m/InputListItem.js +1 -1
  86. package/src/sap/m/InputRenderer.js +7 -3
  87. package/src/sap/m/Label.js +1 -1
  88. package/src/sap/m/LightBox.js +1 -1
  89. package/src/sap/m/LightBoxItem.js +1 -1
  90. package/src/sap/m/Link.js +1 -1
  91. package/src/sap/m/LinkTileContent.js +143 -0
  92. package/src/sap/m/List.js +1 -1
  93. package/src/sap/m/ListBase.js +32 -14
  94. package/src/sap/m/ListItemBase.js +1 -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 +3 -3
  100. package/src/sap/m/MenuItem.js +1 -1
  101. package/src/sap/m/MenuListItem.js +1 -1
  102. package/src/sap/m/MessageItem.js +1 -1
  103. package/src/sap/m/MessageListItem.js +1 -1
  104. package/src/sap/m/MessagePage.js +1 -1
  105. package/src/sap/m/MessagePopover.js +2 -3
  106. package/src/sap/m/MessagePopoverItem.js +1 -1
  107. package/src/sap/m/MessageStrip.js +1 -1
  108. package/src/sap/m/MessageToast.js +5 -19
  109. package/src/sap/m/MessageView.js +1 -1
  110. package/src/sap/m/MessageViewRenderer.js +2 -3
  111. package/src/sap/m/MultiComboBox.js +1 -1
  112. package/src/sap/m/MultiEditField.js +1 -1
  113. package/src/sap/m/MultiInput.js +4 -2
  114. package/src/sap/m/NavContainer.js +4 -3
  115. package/src/sap/m/NewsContent.js +1 -1
  116. package/src/sap/m/NotificationList.js +1 -1
  117. package/src/sap/m/NotificationListBase.js +1 -1
  118. package/src/sap/m/NotificationListGroup.js +1 -1
  119. package/src/sap/m/NotificationListItem.js +1 -1
  120. package/src/sap/m/NumericContent.js +9 -10
  121. package/src/sap/m/NumericContentRenderer.js +5 -4
  122. package/src/sap/m/NumericInput.js +1 -1
  123. package/src/sap/m/ObjectAttribute.js +1 -1
  124. package/src/sap/m/ObjectHeader.js +1 -1
  125. package/src/sap/m/ObjectIdentifier.js +1 -1
  126. package/src/sap/m/ObjectListItem.js +1 -1
  127. package/src/sap/m/ObjectMarker.js +1 -1
  128. package/src/sap/m/ObjectNumber.js +1 -1
  129. package/src/sap/m/ObjectStatus.js +4 -6
  130. package/src/sap/m/ObjectStatusRenderer.js +3 -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/OverflowToolbarRenderer.js +8 -1
  137. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  138. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  139. package/src/sap/m/P13nColumnsItem.js +2 -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 +2 -1
  144. package/src/sap/m/P13nDimMeasurePanel.js +2 -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 +2 -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 +2 -1
  154. package/src/sap/m/P13nSortPanel.js +1 -1
  155. package/src/sap/m/PDFViewer.js +20 -8
  156. package/src/sap/m/PDFViewerRenderManager.js +18 -18
  157. package/src/sap/m/PDFViewerRenderer.js +1 -1
  158. package/src/sap/m/Page.js +1 -1
  159. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  160. package/src/sap/m/PagingButton.js +1 -1
  161. package/src/sap/m/Panel.js +1 -1
  162. package/src/sap/m/PlanningCalendar.js +37 -12
  163. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  164. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  165. package/src/sap/m/PlanningCalendarRow.js +1 -1
  166. package/src/sap/m/PlanningCalendarView.js +1 -1
  167. package/src/sap/m/Popover.js +5 -4
  168. package/src/sap/m/ProgressIndicator.js +1 -1
  169. package/src/sap/m/PullToRefresh.js +1 -1
  170. package/src/sap/m/QuickView.js +1 -1
  171. package/src/sap/m/QuickViewBase.js +1 -1
  172. package/src/sap/m/QuickViewCard.js +1 -1
  173. package/src/sap/m/QuickViewGroup.js +1 -1
  174. package/src/sap/m/QuickViewGroupElement.js +1 -1
  175. package/src/sap/m/QuickViewPage.js +1 -1
  176. package/src/sap/m/RadioButton.js +3 -3
  177. package/src/sap/m/RadioButtonGroup.js +1 -1
  178. package/src/sap/m/RangeSlider.js +1 -1
  179. package/src/sap/m/RangeSliderRenderer.js +15 -8
  180. package/src/sap/m/RatingIndicator.js +4 -3
  181. package/src/sap/m/ResponsivePopover.js +13 -7
  182. package/src/sap/m/ResponsiveScale.js +1 -1
  183. package/src/sap/m/ScrollBar.js +1 -1
  184. package/src/sap/m/ScrollContainer.js +1 -1
  185. package/src/sap/m/SearchField.js +1 -1
  186. package/src/sap/m/SegmentedButton.js +1 -1
  187. package/src/sap/m/SegmentedButtonItem.js +1 -1
  188. package/src/sap/m/Select.js +1 -1
  189. package/src/sap/m/SelectDialog.js +5 -7
  190. package/src/sap/m/SelectDialogBase.js +1 -1
  191. package/src/sap/m/SelectList.js +1 -1
  192. package/src/sap/m/SelectionDetails.js +1 -1
  193. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  194. package/src/sap/m/SelectionDetailsItem.js +1 -1
  195. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  196. package/src/sap/m/Shell.js +1 -1
  197. package/src/sap/m/SimpleFixFlex.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarGrid.js +2 -2
  201. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +3 -2
  202. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  205. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  206. package/src/sap/m/SlideTile.js +7 -9
  207. package/src/sap/m/Slider.js +1 -1
  208. package/src/sap/m/SliderTooltip.js +1 -1
  209. package/src/sap/m/SliderTooltipBase.js +1 -1
  210. package/src/sap/m/SliderTooltipContainer.js +1 -1
  211. package/src/sap/m/SplitApp.js +1 -1
  212. package/src/sap/m/SplitButton.js +1 -1
  213. package/src/sap/m/SplitContainer.js +4 -2
  214. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  215. package/src/sap/m/StandardListItem.js +1 -1
  216. package/src/sap/m/StandardTile.js +1 -1
  217. package/src/sap/m/StandardTreeItem.js +1 -1
  218. package/src/sap/m/StepInput.js +1 -1
  219. package/src/sap/m/SuggestionItem.js +1 -1
  220. package/src/sap/m/SuggestionsPopover.js +5 -5
  221. package/src/sap/m/Switch.js +1 -1
  222. package/src/sap/m/TabContainer.js +10 -4
  223. package/src/sap/m/TabContainerItem.js +1 -1
  224. package/src/sap/m/TabStrip.js +2 -2
  225. package/src/sap/m/TabStripItem.js +1 -1
  226. package/src/sap/m/Table.js +35 -4
  227. package/src/sap/m/TablePersoController.js +1 -1
  228. package/src/sap/m/TablePersoDialog.js +1 -1
  229. package/src/sap/m/TablePersoProvider.js +1 -1
  230. package/src/sap/m/TableSelectDialog.js +5 -7
  231. package/src/sap/m/Text.js +1 -1
  232. package/src/sap/m/TextArea.js +1 -1
  233. package/src/sap/m/Tile.js +1 -1
  234. package/src/sap/m/TileContainer.js +1 -1
  235. package/src/sap/m/TileContent.js +4 -4
  236. package/src/sap/m/TimePicker.js +1 -1
  237. package/src/sap/m/TimePickerClock.js +1 -1
  238. package/src/sap/m/TimePickerClocks.js +1 -1
  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 +1 -1
  248. package/src/sap/m/Toolbar.js +1 -1
  249. package/src/sap/m/ToolbarLayoutData.js +1 -1
  250. package/src/sap/m/ToolbarRenderer.js +8 -0
  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 +17 -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 +9 -4
  261. package/src/sap/m/VariantItem.js +99 -27
  262. package/src/sap/m/VariantManagement.js +196 -90
  263. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  264. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  265. package/src/sap/m/ViewSettingsDialog.js +44 -44
  266. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  267. package/src/sap/m/ViewSettingsItem.js +1 -1
  268. package/src/sap/m/VisibleItem.js +1 -1
  269. package/src/sap/m/WheelSlider.js +1 -1
  270. package/src/sap/m/WheelSliderContainer.js +1 -1
  271. package/src/sap/m/Wizard.js +6 -6
  272. package/src/sap/m/WizardProgressNavigator.js +1 -1
  273. package/src/sap/m/WizardStep.js +1 -1
  274. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  275. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  276. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  277. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  278. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  279. package/src/sap/m/changeHandler/SplitMenuButton.js +2 -2
  280. package/src/sap/m/designtime/IconTabFilter.designtime.js +1 -1
  281. package/src/sap/m/designtime/VariantManagement.designtime.js +0 -6
  282. package/src/sap/m/designtime/messagebundle_mk.properties +182 -0
  283. package/src/sap/m/designtime/messagebundle_sh.properties +3 -3
  284. package/src/sap/m/flexibility/EngineFlex.js +5 -0
  285. package/src/sap/m/inputUtils/highlightItemsWithContains.js +82 -0
  286. package/src/sap/m/library.js +76 -136
  287. package/src/sap/m/messagebundle.properties +37 -6
  288. package/src/sap/m/messagebundle_ar.properties +46 -2
  289. package/src/sap/m/messagebundle_bg.properties +49 -5
  290. package/src/sap/m/messagebundle_ca.properties +47 -3
  291. package/src/sap/m/messagebundle_cs.properties +46 -2
  292. package/src/sap/m/messagebundle_cy.properties +46 -2
  293. package/src/sap/m/messagebundle_da.properties +46 -2
  294. package/src/sap/m/messagebundle_de.properties +46 -2
  295. package/src/sap/m/messagebundle_el.properties +48 -4
  296. package/src/sap/m/messagebundle_en.properties +23 -6
  297. package/src/sap/m/messagebundle_en_GB.properties +46 -2
  298. package/src/sap/m/messagebundle_es.properties +46 -2
  299. package/src/sap/m/messagebundle_es_MX.properties +46 -2
  300. package/src/sap/m/messagebundle_et.properties +44 -0
  301. package/src/sap/m/messagebundle_fi.properties +46 -2
  302. package/src/sap/m/messagebundle_fr.properties +46 -2
  303. package/src/sap/m/messagebundle_fr_CA.properties +46 -2
  304. package/src/sap/m/messagebundle_hi.properties +48 -4
  305. package/src/sap/m/messagebundle_hr.properties +46 -2
  306. package/src/sap/m/messagebundle_hu.properties +51 -7
  307. package/src/sap/m/messagebundle_id.properties +48 -4
  308. package/src/sap/m/messagebundle_it.properties +44 -0
  309. package/src/sap/m/messagebundle_iw.properties +46 -2
  310. package/src/sap/m/messagebundle_ja.properties +44 -0
  311. package/src/sap/m/messagebundle_kk.properties +60 -16
  312. package/src/sap/m/messagebundle_ko.properties +44 -0
  313. package/src/sap/m/messagebundle_lt.properties +46 -2
  314. package/src/sap/m/messagebundle_lv.properties +57 -13
  315. package/src/sap/m/messagebundle_mk.properties +1869 -0
  316. package/src/sap/m/messagebundle_ms.properties +46 -2
  317. package/src/sap/m/messagebundle_nl.properties +44 -0
  318. package/src/sap/m/messagebundle_no.properties +47 -3
  319. package/src/sap/m/messagebundle_pl.properties +46 -2
  320. package/src/sap/m/messagebundle_pt.properties +44 -0
  321. package/src/sap/m/messagebundle_pt_PT.properties +44 -0
  322. package/src/sap/m/messagebundle_ro.properties +46 -2
  323. package/src/sap/m/messagebundle_ru.properties +48 -4
  324. package/src/sap/m/messagebundle_sh.properties +149 -105
  325. package/src/sap/m/messagebundle_sk.properties +46 -2
  326. package/src/sap/m/messagebundle_sl.properties +62 -18
  327. package/src/sap/m/messagebundle_sv.properties +50 -6
  328. package/src/sap/m/messagebundle_th.properties +44 -0
  329. package/src/sap/m/messagebundle_tr.properties +49 -5
  330. package/src/sap/m/messagebundle_uk.properties +59 -15
  331. package/src/sap/m/messagebundle_vi.properties +46 -2
  332. package/src/sap/m/messagebundle_zh_CN.properties +44 -0
  333. package/src/sap/m/messagebundle_zh_TW.properties +46 -2
  334. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  335. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  336. package/src/sap/m/p13n/BasePanel.js +13 -3
  337. package/src/sap/m/p13n/Container.js +1 -1
  338. package/src/sap/m/p13n/Engine.js +1 -1
  339. package/src/sap/m/p13n/FlexUtil.js +0 -41
  340. package/src/sap/m/p13n/GroupController.js +1 -1
  341. package/src/sap/m/p13n/GroupPanel.js +1 -1
  342. package/src/sap/m/p13n/Popup.js +16 -1
  343. package/src/sap/m/p13n/QueryPanel.js +1 -1
  344. package/src/sap/m/p13n/SelectionController.js +457 -423
  345. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  346. package/src/sap/m/p13n/SortController.js +1 -1
  347. package/src/sap/m/p13n/SortPanel.js +4 -3
  348. package/src/sap/m/p13n/handler/xConfigHandler.js +18 -5
  349. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  350. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  351. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  352. package/src/sap/m/p13n/modules/xConfigAPI.js +1 -1
  353. package/src/sap/m/plugins/CellSelector.js +203 -160
  354. package/src/sap/m/plugins/ColumnResizer.js +9 -2
  355. package/src/sap/m/plugins/CopyProvider.js +21 -10
  356. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  357. package/src/sap/m/plugins/PasteProvider.js +1 -1
  358. package/src/sap/m/plugins/PluginBase.js +1 -1
  359. package/src/sap/m/routing/Target.js +3 -3
  360. package/src/sap/m/routing/Targets.js +3 -3
  361. package/src/sap/m/semantic/AddAction.js +1 -1
  362. package/src/sap/m/semantic/CancelAction.js +1 -1
  363. package/src/sap/m/semantic/DeleteAction.js +1 -1
  364. package/src/sap/m/semantic/DetailPage.js +1 -1
  365. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  366. package/src/sap/m/semantic/EditAction.js +1 -1
  367. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  368. package/src/sap/m/semantic/FilterAction.js +1 -1
  369. package/src/sap/m/semantic/FilterSelect.js +1 -1
  370. package/src/sap/m/semantic/FlagAction.js +1 -1
  371. package/src/sap/m/semantic/ForwardAction.js +1 -1
  372. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  373. package/src/sap/m/semantic/GroupAction.js +1 -1
  374. package/src/sap/m/semantic/GroupSelect.js +1 -1
  375. package/src/sap/m/semantic/MainAction.js +1 -1
  376. package/src/sap/m/semantic/MasterPage.js +1 -1
  377. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  378. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  379. package/src/sap/m/semantic/NegativeAction.js +1 -1
  380. package/src/sap/m/semantic/OpenInAction.js +1 -1
  381. package/src/sap/m/semantic/PositiveAction.js +1 -1
  382. package/src/sap/m/semantic/PrintAction.js +1 -1
  383. package/src/sap/m/semantic/SaveAction.js +1 -1
  384. package/src/sap/m/semantic/Segment.js +1 -1
  385. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  386. package/src/sap/m/semantic/SemanticButton.js +1 -1
  387. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  388. package/src/sap/m/semantic/SemanticControl.js +1 -1
  389. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  390. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  391. package/src/sap/m/semantic/SemanticPage.js +1 -1
  392. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  393. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  394. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  395. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  396. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  397. package/src/sap/m/semantic/ShareMenu.js +1 -1
  398. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  399. package/src/sap/m/semantic/SortAction.js +1 -1
  400. package/src/sap/m/semantic/SortSelect.js +1 -1
  401. package/src/sap/m/table/ColumnWidthController.js +177 -0
  402. package/src/sap/m/table/Util.js +1 -1
  403. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  404. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  405. package/src/sap/m/table/columnmenu/Item.js +1 -1
  406. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  407. package/src/sap/m/table/columnmenu/Menu.js +17 -13
  408. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  410. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickGroup.js +5 -1
  412. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickSortItem.js +2 -2
  415. package/src/sap/m/table/columnmenu/QuickTotal.js +5 -1
  416. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  417. package/src/sap/m/themes/base/Avatar.less +0 -1
  418. package/src/sap/m/themes/base/BarBase.less +1 -1
  419. package/src/sap/m/themes/base/BusyIndicator.less +0 -10
  420. package/src/sap/m/themes/base/ExpandableText.less +6 -0
  421. package/src/sap/m/themes/base/GenericTile.less +36 -0
  422. package/src/sap/m/themes/base/LinkTileContent.less +17 -0
  423. package/src/sap/m/themes/base/MenuButton.less +1 -1
  424. package/src/sap/m/themes/base/NotificationListBase.less +3 -3
  425. package/src/sap/m/themes/base/ObjectStatus.less +241 -1
  426. package/src/sap/m/themes/base/RadioButton.less +1 -1
  427. package/src/sap/m/themes/base/SearchField.less +2 -1
  428. package/src/sap/m/themes/base/SplitButton.less +0 -1
  429. package/src/sap/m/themes/base/Table.less +0 -7
  430. package/src/sap/m/themes/base/Text.less +4 -1
  431. package/src/sap/m/themes/base/Toolbar.less +7 -14
  432. package/src/sap/m/themes/base/ValueStateHeader.less +4 -0
  433. package/src/sap/m/themes/base/library.source.less +1 -0
  434. package/src/sap/m/upload/ActionsPlaceholder.js +49 -0
  435. package/src/sap/m/upload/Column.js +58 -0
  436. package/src/sap/m/upload/FilePreviewDialog.js +22 -3
  437. package/src/sap/m/upload/FilterPanel.js +280 -0
  438. package/src/sap/m/upload/UploadSet.js +11 -6
  439. package/src/sap/m/upload/UploadSetItem.js +6 -5
  440. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  441. package/src/sap/m/upload/UploadSetwithTable.js +487 -93
  442. package/src/sap/m/upload/UploadSetwithTableItem.js +26 -11
  443. package/src/sap/m/upload/Uploader.js +3 -0
  444. package/src/sap/m/upload/UploaderTableItem.js +4 -1
  445. package/src/sap/m/upload/p13n/PersManager.js +251 -0
  446. package/src/sap/m/upload/p13n/flexibility/UploadSetwithTable.flexibility.js +32 -0
  447. package/src/sap/m/upload/p13n/handlers/BaseConfigHandler.js +44 -0
  448. package/src/sap/m/upload/p13n/handlers/ChangeHandler.js +98 -0
  449. package/src/sap/m/upload/p13n/handlers/ColumnConfigHandler.js +57 -0
  450. package/src/sap/m/upload/p13n/handlers/ColumnsStateChangeHandler.js +43 -0
  451. package/src/sap/m/upload/p13n/handlers/FilterConfigHandler.js +71 -0
  452. package/src/sap/m/upload/p13n/handlers/FilterStateChangeHandler.js +65 -0
  453. package/src/sap/m/upload/p13n/handlers/GroupConfigHandler.js +57 -0
  454. package/src/sap/m/upload/p13n/handlers/GroupStateChangeHandler.js +46 -0
  455. package/src/sap/m/upload/p13n/handlers/SortConfigHandler.js +57 -0
  456. package/src/sap/m/upload/p13n/handlers/SortStateChangeHandler.js +48 -0
  457. package/src/sap/m/upload/p13n/mediator/BaseMediator.js +183 -0
  458. package/src/sap/m/upload/p13n/mediator/ColumnsMediator.js +210 -0
  459. package/src/sap/m/upload/p13n/mediator/FilterMediator.js +196 -0
  460. package/src/sap/m/upload/p13n/mediator/GroupMediator.js +192 -0
  461. package/src/sap/m/upload/p13n/mediator/SortMediator.js +200 -0
  462. package/src/sap/m/upload/p13n/modules/CustomDataConfig.js +100 -0
  463. package/src/sap/m/upload/p13n/modules/PersPopupManager.js +76 -0
@@ -165,8 +165,8 @@ sap.ui.define([
165
165
  * compact mode and provides a touch-friendly size in cozy mode.
166
166
  *
167
167
  * @extends sap.m.DatePicker
168
- * @version 1.119.1
169
- * @version 1.119.1
168
+ * @version 1.120.1
169
+ * @version 1.120.1
170
170
  *
171
171
  * @constructor
172
172
  * @public
@@ -851,7 +851,8 @@ sap.ui.define([
851
851
  return;
852
852
  }
853
853
 
854
- var sValue = this._$input.val();
854
+ var sInputValue = this._$input.val();
855
+ var sValue = sInputValue;
855
856
  var aDates = [undefined, undefined];
856
857
 
857
858
  if (this.getShowFooter() && this._oPopup && !sValue) {
@@ -915,6 +916,11 @@ sap.ui.define([
915
916
 
916
917
  _fireChange.call(this, this._bValid);
917
918
 
919
+ } else if (sInputValue !== this.getLastValue() && sValue === this.getLastValue()) {
920
+ if (this.getDomRef() && (this._$input.val() !== sValue)) {
921
+ this._$input.val(sValue);
922
+ this._curpos = this._$input.cursorPos();
923
+ }
918
924
  }
919
925
 
920
926
  };
@@ -1175,10 +1181,8 @@ sap.ui.define([
1175
1181
  DateRangeSelection.prototype._increaseDate = function (iNumber, sUnit) {
1176
1182
  var sValue = this._$input.val(),
1177
1183
  aDates = this._parseValue(sValue),
1178
- oFirstOldDate = aDates[0],
1179
- oSecondOldDate = aDates[1],
1180
- oFormat = _getFormatter.call(this),
1181
- sDelimiter = _getDelimiter.call(this),
1184
+ oFirstOldDate = aDates[0] || null,
1185
+ oSecondOldDate = aDates[1] || null,
1182
1186
  iCurPos,
1183
1187
  iFirstDateValueLen,
1184
1188
  iSecondDateValueLen,
@@ -1199,12 +1203,18 @@ sap.ui.define([
1199
1203
  return;
1200
1204
  }
1201
1205
 
1202
- // Clear all spaces and delimiter characters at the beggining and at the end of the value string
1203
- // as they don't make the input to be considered invalid, but make the cursor position calculations wrong
1204
- sValue = _trim(sValue, [sDelimiter, " "]);
1206
+ var oFormatOptions = { interval: true, singleIntervalValue: true, intervalDelimiter: _getDelimiter.call(this) };
1207
+ oFormatOptions = this.getBinding("value")
1208
+ ? Object.assign(oFormatOptions, this.getBinding("value").getType().oFormatOptions)
1209
+ : Object.assign(oFormatOptions, _getFormatter.call(this).oFormatOptions);
1210
+
1211
+ var oFormat = DateFormat.getDateInstance(oFormatOptions);
1212
+
1213
+ sValue = oFormat.format([oFirstOldDate, oSecondOldDate]);
1205
1214
  iCurPos = this._$input.cursorPos();
1206
- iFirstDateValueLen = oFirstOldDate ? oFormat.format(oFirstOldDate).length : 0;
1207
- iSecondDateValueLen = oSecondOldDate ? oFormat.format(oSecondOldDate).length : 0;
1215
+
1216
+ iFirstDateValueLen = oFirstOldDate ? oFormat.format([oFirstOldDate, null]).length : 0;
1217
+ iSecondDateValueLen = oSecondOldDate ? oFormat.format([oSecondOldDate, null]).length : 0;
1208
1218
 
1209
1219
  iValueLen = sValue.length;
1210
1220
  bFirstDate = iCurPos <= iFirstDateValueLen + 1;
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.m.InputBase
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.119.1
68
+ * @version 1.120.1
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -66,7 +66,7 @@ function(
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.119.1
69
+ * @version 1.120.1
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -176,7 +176,7 @@ sap.ui.define([
176
176
  * mobile devices, it opens in full screen.
177
177
  *
178
178
  * @extends sap.m.DatePicker
179
- * @version 1.119.1
179
+ * @version 1.120.1
180
180
  *
181
181
  * @constructor
182
182
  * @public
@@ -173,7 +173,7 @@ function(
173
173
  *
174
174
  * @implements sap.ui.core.PopupInterface
175
175
  * @author SAP SE
176
- * @version 1.119.1
176
+ * @version 1.120.1
177
177
  *
178
178
  * @constructor
179
179
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.119.1
33
+ * @version 1.120.1
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.119.1
30
+ * @version 1.120.1
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends sap.ui.model.SimpleType
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.119.1
41
+ * @version 1.120.1
42
42
  *
43
43
  * @constructor
44
44
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Element
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.119.1
43
+ * @version 1.120.1
44
44
  *
45
45
  * @public
46
46
  * @since 1.92
@@ -257,7 +257,7 @@ sap.ui.define([
257
257
  * is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
258
258
  *
259
259
  * @author SAP SE
260
- * @version 1.119.1
260
+ * @version 1.120.1
261
261
  *
262
262
  * @constructor
263
263
  * @public
@@ -847,7 +847,7 @@ sap.ui.define([
847
847
  */
848
848
  DynamicDateRange.prototype.toDates = function(oValue) {
849
849
  var sKey = oValue.operator;
850
- return this.getOption(sKey).toDates(oValue);
850
+ return this.getOption(sKey).toDates(oValue, this.getCalendarWeekNumbering());
851
851
  };
852
852
 
853
853
  /**
@@ -1210,6 +1210,14 @@ sap.ui.define([
1210
1210
  });
1211
1211
 
1212
1212
  this._oPopup.addStyleClass("sapMDDRPopover");
1213
+
1214
+ // This event handler prevents bubbling of the validationError events. In case when DynamicDateRange control is registered in the
1215
+ // Message Manager, it will not receive and add validationError message generated by the DynamicDateRange options, as there is
1216
+ // internal validation and it is not possible to set wrong value because in case of validation error, the Apply button is disabled.
1217
+ this._oPopup.attachValidationError(function(oEvent) {
1218
+ oEvent.bCancelBubble = true;
1219
+ });
1220
+
1213
1221
  if (Device.system.phone) {
1214
1222
  this._oPopup.addStyleClass("sapUiNoContentPadding");
1215
1223
  } else {
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.119.1
23
+ * @version 1.120.1
24
24
  *
25
25
  * @public
26
26
  * @since 1.92
@@ -105,7 +105,7 @@ function(library,
105
105
  * @implements sap.ui.core.IFormContent, sap.m.IHyphenation
106
106
  *
107
107
  * @author SAP SE
108
- * @version 1.119.1
108
+ * @version 1.120.1
109
109
  *
110
110
  * @constructor
111
111
  * @public
@@ -174,7 +174,7 @@ sap.ui.define([
174
174
  *
175
175
  * @extends sap.ui.core.Control
176
176
  * @implements sap.ui.core.IShrinkable
177
- * @version 1.119.1
177
+ * @version 1.120.1
178
178
  *
179
179
  * @constructor
180
180
  * @public
@@ -2079,6 +2079,7 @@ sap.ui.define([
2079
2079
  if (!oFooter) {
2080
2080
  oButton = new Button({
2081
2081
  text: this._bundle.getText("FACETFILTER_ACCEPT"),
2082
+ type: ButtonType.Emphasized,
2082
2083
  press: function() {
2083
2084
  this._closePopover();
2084
2085
  }.bind(this)
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
20
20
  * @class
21
21
  * Represents a value for the {@link sap.m.FacetFilterList} control.
22
22
  * @extends sap.m.ListItemBase
23
- * @version 1.119.1
23
+ * @version 1.120.1
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * be closed.
53
53
  *
54
54
  * @extends sap.m.List
55
- * @version 1.119.1
55
+ * @version 1.120.1
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.119.1
31
+ * @version 1.120.1
32
32
  * @since 1.34
33
33
  *
34
34
  * @public
@@ -16,10 +16,11 @@ sap.ui.define([
16
16
  "sap/base/security/sanitizeHTML",
17
17
  "sap/m/Avatar",
18
18
  "sap/m/AvatarShape",
19
- "sap/m/AvatarSize"
19
+ "sap/m/AvatarSize",
20
+ "sap/ui/core/Lib"
20
21
  ],
21
22
  function(library, Control, IconPool, TextArea, Button, FeedInputRenderer, jQuery, URLListValidator, sanitizeHTML0, Avatar,
22
- AvatarShape, AvatarSize) {
23
+ AvatarShape, AvatarSize, CoreLib) {
23
24
  "use strict";
24
25
 
25
26
  // shortcut for sap.m.ButtonType
@@ -40,7 +41,7 @@ sap.ui.define([
40
41
  * @extends sap.ui.core.Control
41
42
  *
42
43
  * @author SAP SE
43
- * @version 1.119.1
44
+ * @version 1.120.1
44
45
  *
45
46
  * @constructor
46
47
  * @public
@@ -320,7 +321,7 @@ sap.ui.define([
320
321
  */
321
322
  FeedInput.prototype.init = function () {
322
323
  // override text defaults
323
- var oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
324
+ var oBundle = CoreLib.getResourceBundleFor("sap.m");
324
325
  this.setProperty("placeholder", oBundle.getText("FEEDINPUT_PLACEHOLDER"), true);
325
326
  this.setProperty("buttonTooltip", oBundle.getText("FEEDINPUT_SUBMIT"), true);
326
327
  };
@@ -4,11 +4,11 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define([],
8
- function() {
7
+ sap.ui.define(["sap/ui/core/Lib"],
8
+ function(CoreLib) {
9
9
  "use strict";
10
10
 
11
- var oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m");
11
+ var oRb = CoreLib.getResourceBundleFor("sap.m");
12
12
 
13
13
  var FeedInputRenderer = {
14
14
  apiVersion: 2
@@ -17,7 +17,8 @@ sap.ui.define([
17
17
  "sap/m/AvatarShape",
18
18
  "sap/m/AvatarSize",
19
19
  "sap/ui/util/openWindow",
20
- "sap/ui/core/Configuration"
20
+ "sap/ui/core/Configuration",
21
+ "sap/ui/core/Lib"
21
22
  ],
22
23
  function(
23
24
  ListItemBase,
@@ -32,7 +33,8 @@ function(
32
33
  AvatarShape,
33
34
  AvatarSize,
34
35
  openWindow,
35
- Configuration
36
+ Configuration,
37
+ CoreLib
36
38
  ) {
37
39
  "use strict";
38
40
 
@@ -58,7 +60,7 @@ function(
58
60
  * @extends sap.m.ListItemBase
59
61
  *
60
62
  * @author SAP SE
61
- * @version 1.119.1
63
+ * @version 1.120.1
62
64
  *
63
65
  * @constructor
64
66
  * @public
@@ -254,7 +256,7 @@ function(
254
256
  renderer: FeedListItemRenderer
255
257
  });
256
258
 
257
- FeedListItem._oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m");
259
+ FeedListItem._oRb = CoreLib.getResourceBundleFor("sap.m");
258
260
  FeedListItem._nMaxCharactersMobile = 300;
259
261
  FeedListItem._nMaxCharactersDesktop = 500;
260
262
 
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/core/Element"],
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.119.1
22
+ * @version 1.120.1
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  *
29
29
  *
30
30
  * @class text
31
- * @version 1.119.1
31
+ * @version 1.120.1
32
32
  * @private
33
33
  * @since 1.38
34
34
  * @alias HeaderAdapter
@@ -228,7 +228,7 @@ sap.ui.define([
228
228
  * Constructor for an sap.m.Fiori20Adapter.
229
229
  *
230
230
  * @class text
231
- * @version 1.119.1
231
+ * @version 1.120.1
232
232
  * @private
233
233
  * @since 1.38
234
234
  * @alias sap.m.Fiori20Adapter
@@ -62,7 +62,7 @@ function(
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.119.1
65
+ * @version 1.120.1
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.FlexBox
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
24
24
  * @class
25
25
  * Holds layout data for a FlexBox / HBox / VBox.
26
26
  * @extends sap.ui.core.LayoutData
27
- * @version 1.119.1
27
+ * @version 1.120.1
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -46,7 +46,7 @@ function(
46
46
  * @class
47
47
  * The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
48
48
  * @extends sap.ui.core.Control
49
- * @version 1.119.1
49
+ * @version 1.120.1
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.119.1
56
+ * @version 1.120.1
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -24,7 +24,9 @@ sap.ui.define([
24
24
  "sap/ui/thirdparty/jquery",
25
25
  "sap/ui/core/library",
26
26
  "sap/ui/core/Configuration",
27
- "sap/ui/core/InvisibleText"
27
+ "sap/ui/core/InvisibleText",
28
+ "sap/ui/core/Core",
29
+ "sap/ui/core/Theming"
28
30
  ], function (
29
31
  library,
30
32
  Control,
@@ -45,7 +47,9 @@ sap.ui.define([
45
47
  jQuery,
46
48
  coreLibrary,
47
49
  Configuration,
48
- InvisibleText
50
+ InvisibleText,
51
+ Core,
52
+ Theming
49
53
  ) {
50
54
  "use strict";
51
55
 
@@ -81,7 +85,7 @@ sap.ui.define([
81
85
  * @extends sap.ui.core.Control
82
86
  *
83
87
  * @author SAP SE
84
- * @version 1.119.1
88
+ * @version 1.120.1
85
89
  * @since 1.34.0
86
90
  *
87
91
  * @public
@@ -263,6 +267,11 @@ sap.ui.define([
263
267
  * The content of the tile.
264
268
  */
265
269
  tileContent: {type: "sap.m.TileContent", multiple: true, bindable: "bindable"},
270
+ /**
271
+ * LinkTileContent is being added to the GenericTile, it is advised to use in TwoByOne frameType
272
+ * @since 1.120
273
+ */
274
+ linkTileContents: {type: "sap.m.LinkTileContent", multiple: true, singularName: "linkTileContent"},
266
275
  /**
267
276
  * An icon or image to be displayed in the control.
268
277
  * This aggregation is deprecated since version 1.36.0, to display an icon or image use sap.m.ImageContent control instead.
@@ -351,7 +360,7 @@ sap.ui.define([
351
360
  /* --- Lifecycle Handling --- */
352
361
 
353
362
  GenericTile.prototype.init = function () {
354
- this._oRb = sap.ui.getCore().getLibraryResourceBundle("sap.m");
363
+ this._oRb = Core.getLibraryResourceBundle("sap.m");
355
364
 
356
365
  // Defines custom screen range set: smaller than or equal to 449px defines 'small' and bigger than 449px defines 'large' screen
357
366
  if (!Device.media.hasRangeSet(DEVICE_SET)) {
@@ -413,13 +422,8 @@ sap.ui.define([
413
422
  this._bTilePress = true;
414
423
 
415
424
  this._sBGColor = DEFAULT_BG_COLOR;
416
- this._bThemeApplied = true;
417
- if (!sap.ui.getCore().isInitialized()) {
418
- this._bThemeApplied = false;
419
- sap.ui.getCore().attachInit(this._handleCoreInitialized.bind(this));
420
- } else {
421
- this._handleCoreInitialized();
422
- }
425
+ this._bThemeApplied = false;
426
+ Core.ready(this._handleCoreInitialized.bind(this));
423
427
 
424
428
  //Navigate Action Button in Article Mode
425
429
  this._oNavigateAction = new Button(this.getId() + "-navigateAction");
@@ -462,10 +466,7 @@ sap.ui.define([
462
466
  * @private
463
467
  */
464
468
  GenericTile.prototype._handleCoreInitialized = function () {
465
- this._bThemeApplied = sap.ui.getCore().isThemeApplied();
466
- if (!this._bThemeApplied) {
467
- sap.ui.getCore().attachThemeChanged(this._handleThemeApplied, this);
468
- }
469
+ Theming.attachApplied(this._handleThemeApplied.bind(this));
469
470
  };
470
471
 
471
472
  /**
@@ -476,7 +477,7 @@ sap.ui.define([
476
477
  GenericTile.prototype._handleThemeApplied = function () {
477
478
  this._bThemeApplied = true;
478
479
  this._oTitle.clampHeight();
479
- sap.ui.getCore().detachThemeChanged(this._handleThemeApplied, this);
480
+ Theming.detachApplied(this._handleThemeApplied.bind(this));
480
481
  };
481
482
 
482
483
  /**
@@ -666,6 +667,7 @@ sap.ui.define([
666
667
  if (this._isIconMode()) {
667
668
  this._validateBackgroundColor();
668
669
  }
670
+ this._isLinkTileContentPresent = this.getLinkTileContents().length > 0;
669
671
  };
670
672
 
671
673
  GenericTile.prototype.onAfterRendering = function () {
@@ -722,7 +724,7 @@ sap.ui.define([
722
724
  }
723
725
 
724
726
  //Adds Extra height to the TileContent when GenericTile is in ActionMode
725
- if (this.getFrameType() === FrameType.TwoByOne && this.getMode() === GenericTileMode.ActionMode && this.getState() === LoadState.Loaded && !this.isA("sap.m.ActionTile")) {
727
+ if (this.getFrameType() === FrameType.TwoByOne && (this.getMode() === GenericTileMode.ActionMode || this._isLinkTileContentPresent) && this.getState() === LoadState.Loaded && !this.isA("sap.m.ActionTile")) {
726
728
  this._applyExtraHeight();
727
729
  }
728
730
 
@@ -750,6 +752,24 @@ sap.ui.define([
750
752
  } else {
751
753
  this.getDomRef("content").classList.remove("sapMGTFtrMarginTop");
752
754
  }
755
+ if (this._isLinkTileContentPresent) {
756
+ this._adjustFocusOnLinkTiles(this.getDomRef().classList.contains("sapMTileSmallPhone"),iHeaderLines);
757
+ }
758
+ };
759
+
760
+ GenericTile.prototype._adjustFocusOnLinkTiles = function(bIsSmall,iHeaderLines) {
761
+ var iVisibleLinks = (bIsSmall) ? 5 : 6;
762
+ iVisibleLinks = (iHeaderLines === 2) ? --iVisibleLinks : iVisibleLinks;
763
+ var i;
764
+ //This removes the focus from the hidden links while navigating from tab
765
+ for (i = this.getLinkTileContents().length - 1; i > iVisibleLinks - 1; --i) {
766
+ this.getLinkTileContents() [i]._getLink().getDomRef().setAttribute("tabindex",-1);
767
+ }
768
+ //The logic mentioned here is useful when a small tile is being changed to a normal tile. In this case, the focus is removed for a couple of links at the bottom. To restore this focus, the tabindex is set back to 0
769
+ while ( i >= 0) {
770
+ this.getLinkTileContents() [i]._getLink().getDomRef().setAttribute("tabindex",0);
771
+ i--;
772
+ }
753
773
  };
754
774
  /**
755
775
  * If the given background color is not from the parameters then the default color is applied
@@ -880,6 +900,9 @@ sap.ui.define([
880
900
  this.$().removeClass("sapMTileSmallPhone");
881
901
  this.removeStyleClass("sapMGTStretch");
882
902
  }
903
+ if (this.__isLinkTileContentPresent) {
904
+ this._applyExtraHeight();
905
+ }
883
906
  }.bind(this);
884
907
 
885
908
  jQuery(window).on("resize", fnCheckMedia);
@@ -1217,7 +1240,7 @@ sap.ui.define([
1217
1240
  };
1218
1241
 
1219
1242
  GenericTile.prototype.ontap = function (event) {
1220
- if (!_isInnerTileButtonPressed(event, this)) {
1243
+ if (!_isInnerTileButtonPressed(event, this) && !this._isLinkPressed(event)) {
1221
1244
  var oParams;
1222
1245
  // The ActionMore button in IconMode tile would be fired irrespective of the pressEnabled property
1223
1246
  if ((this._bTilePress || this._isActionMoreButtonVisibleIconMode(event)) && this.getState() !== LoadState.Disabled) {
@@ -1233,7 +1256,7 @@ sap.ui.define([
1233
1256
 
1234
1257
  var preventPress = false;
1235
1258
  GenericTile.prototype.onkeydown = function (event) {
1236
- if (!_isInnerTileButtonPressed(event, this)) {
1259
+ if (!_isInnerTileButtonPressed(event, this) && !this._isLinkPressed(event)) {
1237
1260
  preventPress = (event.keyCode === 16 || event.keyCode === 27) ? true : false;
1238
1261
  var currentKey = keyPressed[event.keyCode];
1239
1262
  if (!currentKey) {
@@ -1281,7 +1304,7 @@ sap.ui.define([
1281
1304
  }
1282
1305
  };
1283
1306
  GenericTile.prototype.onkeyup = function (event) {
1284
- if (!_isInnerTileButtonPressed(event, this)) {
1307
+ if (!_isInnerTileButtonPressed(event, this) && !this._isLinkPressed(event)) {
1285
1308
  var currentKey = keyPressed[event.keyCode]; //disable navigation to other tiles when one tile is selected
1286
1309
  if (currentKey) {
1287
1310
  delete keyPressed[event.keyCode];
@@ -1385,7 +1408,7 @@ sap.ui.define([
1385
1408
  }
1386
1409
  this._oTitle.setMaxLines(iHeaderLines);
1387
1410
  this._oSubTitle.setMaxLines(iSubHeaderLines);
1388
- } else if (frameType === FrameType.TwoByOne && this.getMode() === GenericTileMode.ActionMode) {
1411
+ } else if (frameType === FrameType.TwoByOne && (this.getLinkTileContents() > 0 || this.getMode() === GenericTileMode.ActionMode)) {
1389
1412
  this._oTitle.setMaxLines(2);
1390
1413
  } else if (frameType === FrameType.OneByHalf || frameType === FrameType.TwoByHalf) {
1391
1414
  this._oTitle.setMaxLines(2);
@@ -1433,7 +1456,7 @@ sap.ui.define([
1433
1456
  } else {
1434
1457
  this._oTitle.setMaxLines(2);
1435
1458
  }
1436
- } else if (frameType === FrameType.TwoByOne && this.getMode() === GenericTileMode.ActionMode) {
1459
+ } else if (frameType === FrameType.TwoByOne && (this.getLinkTileContents().length > 0 || this.getMode() === GenericTileMode.ActionMode)) {
1437
1460
  if (bSubheader) {
1438
1461
  this._oTitle.setMaxLines(1);
1439
1462
  } else {
@@ -1569,7 +1592,11 @@ sap.ui.define([
1569
1592
  }
1570
1593
  if (!bHideSizeAnnouncement) {
1571
1594
  sAriaText = sAriaText.trim();
1572
- sAriaText += ("\n" + this._getSizeDescription());
1595
+ if (this.getLinkTileContents().length > 0) {
1596
+ sAriaText += ("\n" + this._oRb.getText("GENERICTILE_LINK_TILE_CONTENT_DESCRIPTION"));
1597
+ } else {
1598
+ sAriaText += ("\n" + this._getSizeDescription());
1599
+ }
1573
1600
  }
1574
1601
  return sAriaText.trim(); // ARIA label set by the app, equal to tooltip
1575
1602
  };
@@ -1660,6 +1687,14 @@ sap.ui.define([
1660
1687
  || this.getScope() === GenericTileScope.ActionRemove;
1661
1688
  };
1662
1689
 
1690
+ GenericTile.prototype._isLinkPressed = function (oEvent) {
1691
+ var sEventId = oEvent.target.id;
1692
+ var oLinkTileContent = this.getLinkTileContents().find(function(oLinkTileContent){
1693
+ return oLinkTileContent._getLink().getDomRef().id === sEventId;
1694
+ });
1695
+ return !!oLinkTileContent;
1696
+ };
1697
+
1663
1698
  /**
1664
1699
  * Shows if the scope is set to the remove action
1665
1700
  *
@@ -48,6 +48,7 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Conf
48
48
  var isHalfFrame = frameType === frameTypes.OneByHalf || frameType === frameTypes.TwoByHalf;
49
49
  var sBGColor = oControl._sBGColor;
50
50
  var bIsIconModeOneByOne = oControl._isIconMode() && frameType === frameTypes.OneByOne;
51
+ var aLinkTileContent = oControl.getLinkTileContents();
51
52
 
52
53
  // Render a link when URL is provided, not in action scope and the state is enabled
53
54
  var bRenderLink = oControl.getUrl() && (!oControl._isInActionScope() || oControl.getMode() === GenericTileMode.IconMode) && sState !== LoadState.Disabled && !oControl._isNavigateActionEnabled() && !oControl._isActionMode();
@@ -159,6 +160,9 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Conf
159
160
  if (this._isNewsContentPresent(aTileContent,iLength)){
160
161
  oRm.class("sapMGTNewsContent");
161
162
  }
163
+ if (aLinkTileContent.length > 0) {
164
+ oRm.class("sapMGTLinkTileContent");
165
+ }
162
166
  oRm.openEnd();
163
167
  if (sTooltipText) {
164
168
  oControl.getAggregation("_invisibleText").setText(sTooltipText);
@@ -377,6 +381,13 @@ sap.ui.define(["sap/m/library", "sap/base/security/encodeCSS", "sap/ui/core/Conf
377
381
  }
378
382
  }
379
383
  oRm.openEnd();
384
+ if (aLinkTileContent.length > 0) {
385
+ oRm.openStart("div", oControl.getId() + "-linkTileContent").class("sapMGTLinkTileContentWrapper").openEnd();
386
+ for (var i = 0; i < aLinkTileContent.length; i++) {
387
+ oRm.renderControl(aLinkTileContent[i].getLinkTileContentInstance());
388
+ }
389
+ oRm.close("div");
390
+ }
380
391
  for (var i = 0; i < iLength; i++) {
381
392
  oRm.renderControl(aTileContent[i]);
382
393
  }
@@ -32,7 +32,7 @@ sap.ui.define(["sap/ui/core/library", "./library", "./ListItemBase", "./GroupHea
32
32
  * @implements sap.m.ITableItem
33
33
 
34
34
  * @author SAP SE
35
- * @version 1.119.1
35
+ * @version 1.120.1
36
36
  *
37
37
  * @constructor
38
38
  * @public