@openui5/sap.m 1.141.2 → 1.142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +38 -0
  3. package/THIRDPARTY.txt +34 -1
  4. package/package.json +4 -4
  5. package/src/sap/m/.library +1 -1
  6. package/src/sap/m/AccButton.js +1 -1
  7. package/src/sap/m/ActionListItem.js +1 -1
  8. package/src/sap/m/ActionSelect.js +1 -1
  9. package/src/sap/m/ActionSheet.js +1 -1
  10. package/src/sap/m/ActionTile.js +1 -1
  11. package/src/sap/m/ActionTileContent.js +1 -1
  12. package/src/sap/m/AdditionalTextButton.js +1 -1
  13. package/src/sap/m/App.js +1 -1
  14. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  15. package/src/sap/m/Avatar.js +136 -43
  16. package/src/sap/m/AvatarRenderer.js +1 -1
  17. package/src/sap/m/Bar.js +6 -45
  18. package/src/sap/m/Breadcrumbs.js +1 -2
  19. package/src/sap/m/BusyDialog.js +1 -1
  20. package/src/sap/m/BusyIndicator.js +1 -1
  21. package/src/sap/m/Button.js +1 -1
  22. package/src/sap/m/ButtonRenderer.js +0 -1
  23. package/src/sap/m/Carousel.js +8 -9
  24. package/src/sap/m/CarouselLayout.js +1 -1
  25. package/src/sap/m/CarouselRenderer.js +40 -22
  26. package/src/sap/m/CheckBox.js +1 -1
  27. package/src/sap/m/ColorPalette.js +1 -1
  28. package/src/sap/m/ColorPalettePopover.js +1 -1
  29. package/src/sap/m/Column.js +1 -1
  30. package/src/sap/m/ColumnListItem.js +10 -4
  31. package/src/sap/m/ColumnListItemRenderer.js +4 -4
  32. package/src/sap/m/ComboBox.js +1 -1
  33. package/src/sap/m/ComboBoxBase.js +1 -1
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/ContentConfig.js +1 -1
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +1 -1
  40. package/src/sap/m/DateRangeSelection.js +2 -2
  41. package/src/sap/m/DateTimeField.js +1 -1
  42. package/src/sap/m/DateTimeInput.js +1 -1
  43. package/src/sap/m/DateTimePicker.js +1 -1
  44. package/src/sap/m/Dialog.js +42 -27
  45. package/src/sap/m/DialogRenderer.js +2 -0
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +1 -1
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +1 -1
  58. package/src/sap/m/FeedListItem.js +1 -1
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/FeedListItemRenderer.js +14 -13
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +1 -1
  64. package/src/sap/m/FormattedText.js +1 -1
  65. package/src/sap/m/GenericTag.js +1 -1
  66. package/src/sap/m/GenericTile.js +1 -1
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GrowingList.js +1 -1
  69. package/src/sap/m/HBox.js +1 -1
  70. package/src/sap/m/HeaderContainer.js +1 -1
  71. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  72. package/src/sap/m/IconTabBar.js +1 -1
  73. package/src/sap/m/IconTabBarSelectList.js +1 -1
  74. package/src/sap/m/IconTabFilter.js +1 -1
  75. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  76. package/src/sap/m/IconTabHeader.js +3 -1
  77. package/src/sap/m/IconTabSeparator.js +1 -1
  78. package/src/sap/m/IllustratedMessage.js +1 -1
  79. package/src/sap/m/Illustration.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +1 -1
  83. package/src/sap/m/InputBase.js +2 -2
  84. package/src/sap/m/InputListItem.js +1 -1
  85. package/src/sap/m/Label.js +1 -1
  86. package/src/sap/m/LightBox.js +1 -1
  87. package/src/sap/m/LightBoxItem.js +1 -1
  88. package/src/sap/m/Link.js +1 -1
  89. package/src/sap/m/LinkTileContent.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +19 -14
  92. package/src/sap/m/ListItemAction.js +1 -1
  93. package/src/sap/m/ListItemActionBase.js +1 -1
  94. package/src/sap/m/ListItemBase.js +18 -1
  95. package/src/sap/m/MaskEnabler.js +1 -1
  96. package/src/sap/m/MaskInput.js +1 -1
  97. package/src/sap/m/MaskInputRule.js +1 -1
  98. package/src/sap/m/Menu.js +1 -1
  99. package/src/sap/m/MenuButton.js +1 -1
  100. package/src/sap/m/MenuItem.js +1 -1
  101. package/src/sap/m/MenuItemGroup.js +1 -1
  102. package/src/sap/m/MenuListItem.js +1 -1
  103. package/src/sap/m/MenuWrapper.js +1 -1
  104. package/src/sap/m/MessageBox.js +8 -10
  105. package/src/sap/m/MessageItem.js +1 -1
  106. package/src/sap/m/MessageListItem.js +1 -1
  107. package/src/sap/m/MessagePage.js +1 -1
  108. package/src/sap/m/MessagePopover.js +1 -1
  109. package/src/sap/m/MessagePopoverItem.js +1 -1
  110. package/src/sap/m/MessageStrip.js +1 -1
  111. package/src/sap/m/MessageToast.js +1 -1
  112. package/src/sap/m/MessageView.js +1 -1
  113. package/src/sap/m/MultiComboBox.js +1 -1
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +1 -1
  116. package/src/sap/m/NavContainer.js +1 -1
  117. package/src/sap/m/NewsContent.js +1 -1
  118. package/src/sap/m/NotificationList.js +1 -1
  119. package/src/sap/m/NotificationListBase.js +1 -1
  120. package/src/sap/m/NotificationListGroup.js +1 -1
  121. package/src/sap/m/NotificationListItem.js +1 -1
  122. package/src/sap/m/NumericContent.js +1 -1
  123. package/src/sap/m/NumericInput.js +1 -1
  124. package/src/sap/m/ObjectAttribute.js +1 -1
  125. package/src/sap/m/ObjectHeader.js +1 -1
  126. package/src/sap/m/ObjectIdentifier.js +1 -1
  127. package/src/sap/m/ObjectListItem.js +1 -1
  128. package/src/sap/m/ObjectMarker.js +1 -1
  129. package/src/sap/m/ObjectNumber.js +1 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +1 -1
  132. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  133. package/src/sap/m/OverflowToolbarButton.js +1 -1
  134. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  135. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  136. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  137. package/src/sap/m/OverflowToolbarTokenizer.js +1 -1
  138. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  139. package/src/sap/m/P13nColumnsItem.js +1 -1
  140. package/src/sap/m/P13nColumnsPanel.js +1 -1
  141. package/src/sap/m/P13nConditionPanel.js +1 -1
  142. package/src/sap/m/P13nDialog.js +1 -1
  143. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  144. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  145. package/src/sap/m/P13nFilterItem.js +1 -1
  146. package/src/sap/m/P13nFilterPanel.js +1 -1
  147. package/src/sap/m/P13nGroupItem.js +1 -1
  148. package/src/sap/m/P13nGroupPanel.js +1 -1
  149. package/src/sap/m/P13nItem.js +1 -1
  150. package/src/sap/m/P13nPanel.js +1 -1
  151. package/src/sap/m/P13nSelectionItem.js +1 -1
  152. package/src/sap/m/P13nSelectionPanel.js +1 -1
  153. package/src/sap/m/P13nSortItem.js +1 -1
  154. package/src/sap/m/P13nSortPanel.js +1 -1
  155. package/src/sap/m/PDFViewer.js +2 -3
  156. package/src/sap/m/Page.js +1 -1
  157. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  158. package/src/sap/m/PagingButton.js +1 -1
  159. package/src/sap/m/Panel.js +1 -1
  160. package/src/sap/m/PlanningCalendar.js +2 -2
  161. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  162. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  163. package/src/sap/m/PlanningCalendarRow.js +1 -1
  164. package/src/sap/m/PlanningCalendarView.js +1 -1
  165. package/src/sap/m/Popover.js +1 -2
  166. package/src/sap/m/ProgressIndicator.js +1 -1
  167. package/src/sap/m/PullToRefresh.js +1 -1
  168. package/src/sap/m/QuickView.js +1 -1
  169. package/src/sap/m/QuickViewBase.js +1 -1
  170. package/src/sap/m/QuickViewCard.js +1 -1
  171. package/src/sap/m/QuickViewGroup.js +1 -1
  172. package/src/sap/m/QuickViewGroupElement.js +1 -1
  173. package/src/sap/m/QuickViewPage.js +1 -1
  174. package/src/sap/m/RadioButton.js +1 -1
  175. package/src/sap/m/RadioButtonGroup.js +1 -1
  176. package/src/sap/m/RangeSlider.js +1 -1
  177. package/src/sap/m/RatingIndicator.js +1 -1
  178. package/src/sap/m/ResponsivePopover.js +1 -1
  179. package/src/sap/m/ResponsiveScale.js +1 -1
  180. package/src/sap/m/ScrollBar.js +1 -1
  181. package/src/sap/m/ScrollContainer.js +1 -1
  182. package/src/sap/m/SearchField.js +1 -1
  183. package/src/sap/m/SegmentedButton.js +23 -8
  184. package/src/sap/m/SegmentedButtonItem.js +3 -2
  185. package/src/sap/m/SegmentedButtonRenderer.js +22 -9
  186. package/src/sap/m/Select.js +40 -1
  187. package/src/sap/m/SelectDialog.js +1 -1
  188. package/src/sap/m/SelectDialogBase.js +1 -1
  189. package/src/sap/m/SelectList.js +1 -1
  190. package/src/sap/m/SelectionDetails.js +1 -1
  191. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  192. package/src/sap/m/SelectionDetailsItem.js +1 -1
  193. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  194. package/src/sap/m/Shell.js +1 -1
  195. package/src/sap/m/SimpleFixFlex.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendar.js +1 -8
  197. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  204. package/src/sap/m/SlideTile.js +1 -1
  205. package/src/sap/m/Slider.js +1 -1
  206. package/src/sap/m/SliderTooltip.js +1 -1
  207. package/src/sap/m/SliderTooltipBase.js +1 -1
  208. package/src/sap/m/SliderTooltipContainer.js +1 -1
  209. package/src/sap/m/SplitApp.js +1 -1
  210. package/src/sap/m/SplitButton.js +1 -1
  211. package/src/sap/m/SplitContainer.js +1 -1
  212. package/src/sap/m/StandardDynamicDateOption.js +24 -48
  213. package/src/sap/m/StandardListItem.js +1 -1
  214. package/src/sap/m/StandardTile.js +1 -1
  215. package/src/sap/m/StandardTreeItem.js +1 -1
  216. package/src/sap/m/StepInput.js +1 -1
  217. package/src/sap/m/SuggestionItem.js +1 -1
  218. package/src/sap/m/SuggestionsPopover.js +8 -2
  219. package/src/sap/m/Switch.js +1 -1
  220. package/src/sap/m/TabContainer.js +1 -1
  221. package/src/sap/m/TabContainerItem.js +1 -1
  222. package/src/sap/m/TabStrip.js +1 -1
  223. package/src/sap/m/TabStripItem.js +1 -1
  224. package/src/sap/m/Table.js +2 -2
  225. package/src/sap/m/TablePersoController.js +1 -1
  226. package/src/sap/m/TablePersoDialog.js +1 -1
  227. package/src/sap/m/TablePersoProvider.js +1 -1
  228. package/src/sap/m/TableRenderer.js +18 -6
  229. package/src/sap/m/TableSelectDialog.js +1 -1
  230. package/src/sap/m/Text.js +1 -1
  231. package/src/sap/m/TextArea.js +1 -1
  232. package/src/sap/m/Tile.js +1 -1
  233. package/src/sap/m/TileContainer.js +1 -1
  234. package/src/sap/m/TileContent.js +1 -1
  235. package/src/sap/m/TileInfo.js +1 -1
  236. package/src/sap/m/TimePicker.js +30 -1
  237. package/src/sap/m/TimePickerClock.js +1 -1
  238. package/src/sap/m/TimePickerClocks.js +2 -16
  239. package/src/sap/m/TimePickerInputs.js +1 -1
  240. package/src/sap/m/TimePickerInternals.js +1 -1
  241. package/src/sap/m/TimePickerSlider.js +1 -1
  242. package/src/sap/m/TimePickerSliders.js +1 -1
  243. package/src/sap/m/Title.js +1 -1
  244. package/src/sap/m/TitlePropagationSupport.js +1 -1
  245. package/src/sap/m/ToggleButton.js +1 -1
  246. package/src/sap/m/Token.js +1 -1
  247. package/src/sap/m/Tokenizer.js +154 -5
  248. package/src/sap/m/TokenizerRenderer.js +30 -3
  249. package/src/sap/m/Toolbar.js +1 -1
  250. package/src/sap/m/ToolbarLayoutData.js +1 -1
  251. package/src/sap/m/ToolbarSeparator.js +1 -1
  252. package/src/sap/m/ToolbarSpacer.js +1 -1
  253. package/src/sap/m/Tree.js +1 -1
  254. package/src/sap/m/TreeItemBase.js +1 -1
  255. package/src/sap/m/UploadCollection.js +1 -1
  256. package/src/sap/m/UploadCollectionItem.js +1 -1
  257. package/src/sap/m/UploadCollectionParameter.js +1 -1
  258. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  259. package/src/sap/m/VBox.js +1 -1
  260. package/src/sap/m/ValueStateHeader.js +1 -1
  261. package/src/sap/m/VariantManagement.js +83 -6
  262. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  263. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  264. package/src/sap/m/ViewSettingsDialog.js +1 -1
  265. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  266. package/src/sap/m/ViewSettingsItem.js +1 -1
  267. package/src/sap/m/VisibleItem.js +1 -1
  268. package/src/sap/m/WheelSlider.js +1 -1
  269. package/src/sap/m/WheelSliderContainer.js +1 -1
  270. package/src/sap/m/Wizard.js +1 -1
  271. package/src/sap/m/WizardProgressNavigator.js +1 -1
  272. package/src/sap/m/WizardStep.js +1 -1
  273. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  274. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  275. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  276. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  277. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  278. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  279. package/src/sap/m/library.js +26 -4
  280. package/src/sap/m/messagebundle.properties +17 -6
  281. package/src/sap/m/messagebundle_ar.properties +4 -4
  282. package/src/sap/m/messagebundle_bg.properties +6 -6
  283. package/src/sap/m/messagebundle_ca.properties +4 -4
  284. package/src/sap/m/messagebundle_cnr.properties +4 -4
  285. package/src/sap/m/messagebundle_cs.properties +4 -4
  286. package/src/sap/m/messagebundle_cy.properties +4 -4
  287. package/src/sap/m/messagebundle_da.properties +4 -4
  288. package/src/sap/m/messagebundle_de.properties +4 -4
  289. package/src/sap/m/messagebundle_el.properties +4 -4
  290. package/src/sap/m/messagebundle_en.properties +4 -4
  291. package/src/sap/m/messagebundle_en_GB.properties +4 -4
  292. package/src/sap/m/messagebundle_en_US_saprigi.properties +3 -0
  293. package/src/sap/m/messagebundle_es.properties +4 -4
  294. package/src/sap/m/messagebundle_es_MX.properties +4 -4
  295. package/src/sap/m/messagebundle_et.properties +4 -4
  296. package/src/sap/m/messagebundle_fi.properties +4 -4
  297. package/src/sap/m/messagebundle_fr.properties +4 -4
  298. package/src/sap/m/messagebundle_fr_CA.properties +4 -4
  299. package/src/sap/m/messagebundle_hi.properties +4 -4
  300. package/src/sap/m/messagebundle_hr.properties +4 -4
  301. package/src/sap/m/messagebundle_hu.properties +4 -4
  302. package/src/sap/m/messagebundle_id.properties +5 -5
  303. package/src/sap/m/messagebundle_it.properties +4 -4
  304. package/src/sap/m/messagebundle_iw.properties +4 -4
  305. package/src/sap/m/messagebundle_ja.properties +4 -4
  306. package/src/sap/m/messagebundle_kk.properties +4 -4
  307. package/src/sap/m/messagebundle_ko.properties +5 -5
  308. package/src/sap/m/messagebundle_lt.properties +4 -4
  309. package/src/sap/m/messagebundle_lv.properties +4 -4
  310. package/src/sap/m/messagebundle_mk.properties +4 -4
  311. package/src/sap/m/messagebundle_ms.properties +4 -4
  312. package/src/sap/m/messagebundle_nl.properties +4 -4
  313. package/src/sap/m/messagebundle_no.properties +4 -4
  314. package/src/sap/m/messagebundle_pl.properties +4 -4
  315. package/src/sap/m/messagebundle_pt.properties +4 -4
  316. package/src/sap/m/messagebundle_pt_PT.properties +4 -4
  317. package/src/sap/m/messagebundle_ro.properties +4 -4
  318. package/src/sap/m/messagebundle_ru.properties +4 -4
  319. package/src/sap/m/messagebundle_sh.properties +4 -4
  320. package/src/sap/m/messagebundle_sk.properties +4 -4
  321. package/src/sap/m/messagebundle_sl.properties +4 -4
  322. package/src/sap/m/messagebundle_sr.properties +4 -4
  323. package/src/sap/m/messagebundle_sv.properties +4 -4
  324. package/src/sap/m/messagebundle_th.properties +4 -4
  325. package/src/sap/m/messagebundle_tr.properties +4 -4
  326. package/src/sap/m/messagebundle_uk.properties +4 -4
  327. package/src/sap/m/messagebundle_vi.properties +4 -4
  328. package/src/sap/m/messagebundle_zh_CN.properties +4 -4
  329. package/src/sap/m/messagebundle_zh_TW.properties +4 -4
  330. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  331. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  332. package/src/sap/m/p13n/BasePanel.js +31 -12
  333. package/src/sap/m/p13n/Container.js +1 -1
  334. package/src/sap/m/p13n/Engine.js +1 -1
  335. package/src/sap/m/p13n/FilterController.js +1 -1
  336. package/src/sap/m/p13n/FilterPanel.js +1 -1
  337. package/src/sap/m/p13n/GroupController.js +1 -1
  338. package/src/sap/m/p13n/GroupPanel.js +1 -1
  339. package/src/sap/m/p13n/MessageStrip.js +1 -1
  340. package/src/sap/m/p13n/Popup.js +1 -1
  341. package/src/sap/m/p13n/QueryPanel.js +1 -1
  342. package/src/sap/m/p13n/SelectionController.js +3 -2
  343. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  344. package/src/sap/m/p13n/SortController.js +1 -1
  345. package/src/sap/m/p13n/SortPanel.js +1 -1
  346. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  347. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  348. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  349. package/src/sap/m/p13n/modules/xConfigAPI.js +5 -2
  350. package/src/sap/m/plugins/CellSelector.js +1 -1
  351. package/src/sap/m/plugins/ColumnAIAction.js +1 -1
  352. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  353. package/src/sap/m/plugins/ContextMenuSetting.js +1 -1
  354. package/src/sap/m/plugins/CopyProvider.js +1 -1
  355. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  356. package/src/sap/m/plugins/PasteProvider.js +1 -1
  357. package/src/sap/m/plugins/PluginBase.js +1 -1
  358. package/src/sap/m/plugins/UploadSetwithTable.js +16 -1
  359. package/src/sap/m/semantic/AddAction.js +1 -1
  360. package/src/sap/m/semantic/CancelAction.js +1 -1
  361. package/src/sap/m/semantic/DeleteAction.js +1 -1
  362. package/src/sap/m/semantic/DetailPage.js +1 -1
  363. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  364. package/src/sap/m/semantic/EditAction.js +1 -1
  365. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  366. package/src/sap/m/semantic/FilterAction.js +1 -1
  367. package/src/sap/m/semantic/FilterSelect.js +1 -1
  368. package/src/sap/m/semantic/FlagAction.js +1 -1
  369. package/src/sap/m/semantic/ForwardAction.js +1 -1
  370. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  371. package/src/sap/m/semantic/GroupAction.js +1 -1
  372. package/src/sap/m/semantic/GroupSelect.js +1 -1
  373. package/src/sap/m/semantic/MainAction.js +1 -1
  374. package/src/sap/m/semantic/MasterPage.js +1 -1
  375. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  376. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  377. package/src/sap/m/semantic/NegativeAction.js +1 -1
  378. package/src/sap/m/semantic/OpenInAction.js +1 -1
  379. package/src/sap/m/semantic/PositiveAction.js +1 -1
  380. package/src/sap/m/semantic/PrintAction.js +1 -1
  381. package/src/sap/m/semantic/SaveAction.js +1 -1
  382. package/src/sap/m/semantic/Segment.js +1 -1
  383. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  384. package/src/sap/m/semantic/SemanticButton.js +1 -1
  385. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  386. package/src/sap/m/semantic/SemanticControl.js +1 -1
  387. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  388. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  389. package/src/sap/m/semantic/SemanticPage.js +1 -1
  390. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  391. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  392. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  393. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  394. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  395. package/src/sap/m/semantic/ShareMenu.js +1 -1
  396. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  397. package/src/sap/m/semantic/SortAction.js +1 -1
  398. package/src/sap/m/semantic/SortSelect.js +1 -1
  399. package/src/sap/m/table/ColumnWidthController.js +1 -1
  400. package/src/sap/m/table/Util.js +1 -1
  401. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  402. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  403. package/src/sap/m/table/columnmenu/Item.js +1 -1
  404. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  405. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  406. package/src/sap/m/table/columnmenu/MenuBase.js +1 -1
  407. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  408. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  410. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickResize.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  417. package/src/sap/m/themes/base/Carousel.less +11 -6
  418. package/src/sap/m/themes/base/ColumnListItem.less +5 -1
  419. package/src/sap/m/themes/base/ContextMenuSetting.less +2 -1
  420. package/src/sap/m/themes/base/FeedListItem.less +5 -2
  421. package/src/sap/m/themes/base/Label.less +2 -1
  422. package/src/sap/m/themes/base/Menu.less +5 -1
  423. package/src/sap/m/themes/base/MultiComboBox.less +4 -0
  424. package/src/sap/m/themes/base/MultiInput.less +5 -0
  425. package/src/sap/m/themes/base/OverflowToolbarTokenizer.less +4 -0
  426. package/src/sap/m/themes/base/Popover.less +0 -5
  427. package/src/sap/m/themes/base/SegmentedButton.less +21 -1
  428. package/src/sap/m/themes/base/Table.less +1 -0
  429. package/src/sap/m/themes/base/Text.less +2 -1
  430. package/src/sap/m/themes/base/Tokenizer.less +34 -0
  431. package/src/sap/m/upload/ActionsPlaceholder.js +1 -1
  432. package/src/sap/m/upload/Column.js +1 -1
  433. package/src/sap/m/upload/FilePreviewDialog.js +1 -1
  434. package/src/sap/m/upload/UploadItem.js +1 -1
  435. package/src/sap/m/upload/UploadItemConfiguration.js +1 -1
  436. package/src/sap/m/upload/UploadSet.js +1 -1
  437. package/src/sap/m/upload/UploadSetItem.js +1 -1
  438. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  439. package/src/sap/m/upload/UploaderTableItem.js +1 -1
@@ -48,7 +48,7 @@ function(
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.141.2
51
+ * @version 1.142.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', "sap/base/i18n/Localization", 'sap/ui/core/library',
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.141.2
26
+ * @version 1.142.0
27
27
  * @since 1.34.0
28
28
  *
29
29
  * @public
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @class This element is used within the GenericTile control that generates a combination of an icon and a text to create a TileInfo
18
18
  * @extends sap.ui.core.Element
19
19
  * @author SAP SE
20
- * @version 1.141.2
20
+ * @version 1.142.0
21
21
  * @constructor
22
22
  * @public
23
23
  * @since 1.124
@@ -185,7 +185,7 @@ function(
185
185
  * @extends sap.m.DateTimeField
186
186
  *
187
187
  * @author SAP SE
188
- * @version 1.141.2
188
+ * @version 1.142.0
189
189
  *
190
190
  * @constructor
191
191
  * @public
@@ -432,6 +432,8 @@ function(
432
432
 
433
433
  this.setDisplayFormat(getDefaultDisplayFormat());
434
434
 
435
+ this._createFormatHelp();
436
+
435
437
  this._oResourceBundle = Library.getResourceBundleFor("sap.m");
436
438
 
437
439
  // marks if the value is valid or not
@@ -513,6 +515,11 @@ function(
513
515
  this._invisibleLabelText = null;
514
516
  }
515
517
 
518
+ if (this._formatHelp) {
519
+ this._formatHelp.destroy();
520
+ this._formatHelp = null;
521
+ }
522
+
516
523
  MaskEnabler.exit.apply(this, arguments);
517
524
 
518
525
  this._removePickerEvents();
@@ -1030,6 +1037,10 @@ function(
1030
1037
 
1031
1038
  this._initMask();
1032
1039
 
1040
+ if (this._formatHelp) {
1041
+ this._formatHelp.setText(sDisplayFormat);
1042
+ }
1043
+
1033
1044
  if (oClocks) {
1034
1045
  oClocks.setValueFormat(sDisplayFormat);
1035
1046
  oClocks.setDisplayFormat(sDisplayFormat);
@@ -1748,6 +1759,24 @@ function(
1748
1759
  return this._invisibleLabelText;
1749
1760
  };
1750
1761
 
1762
+ /**
1763
+ * Returns the invisible format text for the TimePicker.
1764
+ * @private
1765
+ * @returns {sap.ui.core.InvisibleText} The invisible placeholder text
1766
+ */
1767
+ TimePicker.prototype._createFormatHelp = function () {
1768
+ if (!this._formatHelp) {
1769
+ var sPattern = this.getDisplayFormat();
1770
+ this._formatHelp = new InvisibleText({
1771
+ text: sPattern
1772
+ }).toStatic();
1773
+
1774
+ this.addAriaDescribedBy(this._formatHelp.getId());
1775
+
1776
+ }
1777
+ return this._formatHelp;
1778
+ };
1779
+
1751
1780
  /**
1752
1781
  * Returns the accessible name for the TimePicker.
1753
1782
  * @returns {string} The accessible name
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.141.2
31
+ * @version 1.142.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.141.2
56
+ * @version 1.142.0
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -116,9 +116,7 @@ sap.ui.define([
116
116
  sTooltip = oButton._getTooltip(),
117
117
  sText = oButton._getText(),
118
118
  sTextDir = oButton.getTextDirection(),
119
- bIE_Edge = Device.browser.internet_explorer || Device.browser.edge,
120
- // render bdi tag only if the browser is different from IE and Edge since it is not supported there
121
- bRenderBDI = (sTextDir === TextDirection.Inherit) && !bIE_Edge;
119
+ bRenderBDI = (sTextDir === TextDirection.Inherit);
122
120
 
123
121
  // start button tag
124
122
  oRm.openStart("div", oButton);
@@ -174,10 +172,6 @@ sap.ui.define([
174
172
  // check if button is focusable (not disabled)
175
173
  if (bEnabled) {
176
174
  oRm.class("sapMFocusable");
177
- // special focus handling for IE
178
- if (bIE_Edge) {
179
- oRm.class("sapMIE");
180
- }
181
175
  }
182
176
 
183
177
  if (sText) {
@@ -218,14 +212,6 @@ sap.ui.define([
218
212
  oRm.close("span");
219
213
  }
220
214
 
221
- // special handling for IE focus outline
222
- if (bIE_Edge && bEnabled) {
223
- oRm.openStart("span");
224
- oRm.class("sapMBtnFocusDiv");
225
- oRm.openEnd();
226
- oRm.close("span");
227
- }
228
-
229
215
  // end inner button tag
230
216
  oRm.close("span");
231
217
 
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.Control
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.141.2
54
+ * @version 1.142.0
55
55
  *
56
56
  * @constructor
57
57
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.141.2
53
+ * @version 1.142.0
54
54
  *
55
55
  * @constructor
56
56
  * @private
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.core.Control
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.141.2
33
+ * @version 1.142.0
34
34
  *
35
35
  * @constructor
36
36
  * @private
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.core.Control
56
56
  *
57
57
  * @author SAP SE
58
- * @version 1.141.2
58
+ * @version 1.142.0
59
59
  *
60
60
  * @constructor
61
61
  * @public
@@ -74,7 +74,7 @@ sap.ui.define([
74
74
  * @implements sap.ui.core.IShrinkable
75
75
  *
76
76
  * @author SAP SE
77
- * @version 1.141.2
77
+ * @version 1.142.0
78
78
  * @since 1.27.0
79
79
  *
80
80
  * @constructor
@@ -51,7 +51,7 @@ sap.ui.define(["sap/ui/core/ControlBehavior"],
51
51
  * style class support on existing elements by calling this function.
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.141.2
54
+ * @version 1.142.0
55
55
  *
56
56
  * @param {string} sAggregationName the name of the aggregation which should be affected
57
57
  * @param {object} fnGetTitleID function that would return the ID of the title
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.m.Button
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.141.2
36
+ * @version 1.142.0
37
37
  *
38
38
  * @constructor
39
39
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  *
51
51
  * @extends sap.ui.core.Control
52
52
  * @author SAP SE
53
- * @version 1.141.2
53
+ * @version 1.142.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -12,6 +12,7 @@ sap.ui.define([
12
12
  'sap/m/List',
13
13
  'sap/m/StandardListItem',
14
14
  'sap/m/ResponsivePopover',
15
+ "sap/ui/core/Core",
15
16
  "sap/ui/core/ControlBehavior",
16
17
  'sap/ui/core/Control',
17
18
  'sap/ui/core/Element',
@@ -37,6 +38,7 @@ sap.ui.define([
37
38
  List,
38
39
  StandardListItem,
39
40
  ResponsivePopover,
41
+ Core,
40
42
  ControlBehavior,
41
43
  Control,
42
44
  Element,
@@ -82,8 +84,14 @@ sap.ui.define([
82
84
  * Still the Token itself can determine if it is <code>editable</code>. This allows you to have non-editable Tokens in an editable Tokenizer.
83
85
  *
84
86
  * @extends sap.ui.core.Control
87
+ * @implements sap.ui.core.ISemanticFormContent
88
+ *
89
+ * @borrows sap.ui.core.ISemanticFormContent.getFormFormattedValue as #getFormFormattedValue
90
+ * @borrows sap.ui.core.ISemanticFormContent.getFormValueProperty as #getFormValueProperty
91
+ * @borrows sap.ui.core.ISemanticFormContent.getFormObservingProperties as #getFormObservingProperties
92
+ * @borrows sap.ui.core.ISemanticFormContent.getFormRenderAsControl as #getFormRenderAsControl
85
93
  * @author SAP SE
86
- * @version 1.141.2
94
+ * @version 1.142.0
87
95
  *
88
96
  * @constructor
89
97
  * @public
@@ -93,6 +101,10 @@ sap.ui.define([
93
101
  */
94
102
  var Tokenizer = Control.extend("sap.m.Tokenizer", /** @lends sap.m.Tokenizer.prototype */ {
95
103
  metadata : {
104
+ interfaces : [
105
+ "sap.ui.core.IFormContent",
106
+ "sap.ui.core.ISemanticFormContent"
107
+ ],
96
108
  library : "sap.m",
97
109
  properties : {
98
110
 
@@ -136,7 +148,42 @@ sap.ui.define([
136
148
  /**
137
149
  * The ID of the opener of the tokens popup.
138
150
  */
139
- opener: { type: "string", multiple: false, visibility: "hidden" }
151
+ opener: { type: "string", multiple: false, visibility: "hidden" },
152
+
153
+ /**
154
+ * The name property to be used in the HTML code for the tokenizer (e.g. for HTML forms that send data to the server via submit).
155
+ * @since 1.142.0
156
+ */
157
+ name: { type: "string", group: "Misc", defaultValue: "" },
158
+
159
+ /**
160
+ * Determines whether the <code>Tokenizer</code> is in display only state.
161
+ *
162
+ * When set to <code>true</code>, the <code>Tokenizer</code> is not editable.
163
+ * This setting is used for forms in review mode.
164
+ *
165
+ * @since 1.142.0
166
+ */
167
+ displayOnly : {type : "boolean", group : "Behavior", defaultValue : false},
168
+
169
+ /**
170
+ * Changed when tokens are changed. The value for sap.ui.core.ISemanticFormContent interface.
171
+ * Contains a comma-separated list of all token texts for form processing.
172
+ * @private
173
+ */
174
+ _semanticFormValue: {type: "string", group: "Behavior", defaultValue: "", visibility: "hidden"},
175
+
176
+ /**
177
+ * Defines whether tokens are displayed on multiple lines.
178
+ * @experimental since 1.142
179
+ */
180
+ multiLine: {type: "boolean", group: "Misc", defaultValue: false},
181
+
182
+ /**
183
+ * Defines whether "Clear All" button is present. Ensure `multiLine` is enabled, otherwise `showClearAll` will have no effect.
184
+ * @experimental since 1.142
185
+ */
186
+ showClearAll: {type: "boolean", group: "Misc", defaultValue: false}
140
187
 
141
188
  },
142
189
  defaultAggregation : "tokens",
@@ -285,6 +332,7 @@ sap.ui.define([
285
332
  this.allowTextSelection(false);
286
333
  this._oTokensWidthMap = {};
287
334
  this._oIndicator = null;
335
+ this._bInForm = false;
288
336
  this._bShouldRenderTabIndex = null;
289
337
  this._oScroller = new ScrollEnablement(this, this.getId() + "-scrollContainer", {
290
338
  horizontal : true,
@@ -390,6 +438,46 @@ sap.ui.define([
390
438
  return this._oTokensList;
391
439
  };
392
440
 
441
+ Tokenizer.prototype.getFormFormattedValue = function () {
442
+ this._bInForm = true;
443
+ const sTokens = this.getTokens()
444
+ .map(function (oToken) { return oToken.getText(); })
445
+ .join(", ");
446
+
447
+ // show en-dash in form display mode when empty
448
+ if (!sTokens) {
449
+ return "\u2013";
450
+ }
451
+ return sTokens;
452
+ };
453
+
454
+ Tokenizer.prototype.getFormValueProperty = function () {
455
+ return "_semanticFormValue";
456
+ };
457
+
458
+ Tokenizer.prototype.getFormObservingProperties = function() {
459
+ return ["_semanticFormValue"];
460
+ };
461
+
462
+ Tokenizer.prototype.getFormRenderAsControl = function () {
463
+ // if there are no tokens, we render the tokenizer as en-dash and not as a control
464
+ if (this.getDisplayOnly() && !this.getTokens().length) {
465
+ return false;
466
+ } else {
467
+ return this.getDisplayOnly();
468
+ }
469
+ };
470
+
471
+ /**
472
+ * ISemanticFormContent interface works only with properties. The state of Tokenizer is kept as Tokens.
473
+ * Update _semanticFormValue property so it'd match Tokenizer's state, but as a string which could be reused.
474
+ *
475
+ * @private
476
+ */
477
+ Tokenizer.prototype.updateFormValueProperty = function () {
478
+ this.setProperty("_semanticFormValue", this.getFormFormattedValue(), true);
479
+ };
480
+
393
481
  /**
394
482
  * Changes list mode.
395
483
  *
@@ -741,10 +829,20 @@ sap.ui.define([
741
829
  iLabelWidth, iFreeSpace,
742
830
  iCounter, iFirstTokenToHide = -1;
743
831
 
832
+ if (this.getMultiLine()) {
833
+ aTokens.forEach(function (oToken) {
834
+ const iTokenWidth = iTokenizerWidth - this._oTokensWidthMap[oToken.getId()];
835
+ if (iTokenWidth <= 0) {
836
+ oToken.setTruncated(true);
837
+ }
838
+ }, this);
839
+ return;
840
+ }
841
+
744
842
  // find the index of the first overflowing token
745
843
  aTokens.some(function (oToken, iIndex) {
746
844
  iTokenizerWidth = iTokenizerWidth - this._oTokensWidthMap[oToken.getId()];
747
- if ((iTokenizerWidth <= 1 && iTokensCount === 1) || iTokenizerWidth < 0) {
845
+ if (iTokenizerWidth < 0) {
748
846
  iFirstTokenToHide = iIndex;
749
847
  return true;
750
848
  } else {
@@ -974,7 +1072,7 @@ sap.ui.define([
974
1072
  Tokenizer.prototype.onBeforeRendering = function() {
975
1073
  var aTokens = this.getTokens();
976
1074
 
977
- if (aTokens.length !== 1) {
1075
+ if (aTokens.length !== 1 && !this.getMultiLine()) {
978
1076
  this.setFirstTokenTruncated(false);
979
1077
  }
980
1078
 
@@ -1240,6 +1338,9 @@ sap.ui.define([
1240
1338
  default:
1241
1339
  break;
1242
1340
  }
1341
+
1342
+ this.updateFormValueProperty();
1343
+ this.invalidate();
1243
1344
  }.bind(this));
1244
1345
 
1245
1346
  oTokensObserver.observe(this, {
@@ -1483,7 +1584,7 @@ sap.ui.define([
1483
1584
  this._oSelectionOrigin = oFocusedToken;
1484
1585
  }
1485
1586
 
1486
- if (oTargetToken && this.hasOneTruncatedToken()) {
1587
+ if (oTargetToken && this.hasOneTruncatedToken() && !this.getMultiLine()) {
1487
1588
  this._handleNMoreIndicatorPress();
1488
1589
  return;
1489
1590
  }
@@ -1808,6 +1909,18 @@ sap.ui.define([
1808
1909
  if (this._nMoreIndicatorPressed) {
1809
1910
  this._handleNMoreIndicatorPress();
1810
1911
  }
1912
+
1913
+ const _bClearAllPressed = oEvent.target.classList.contains("sapMTokenizerClearAll");
1914
+
1915
+ if (_bClearAllPressed) {
1916
+ this._handleClearAll();
1917
+ }
1918
+
1919
+ const bMultiLineTruncatedTokenPressed = (oEvent.target.classList.contains("sapMTokenTruncated") && !this.hasStyleClass("sapMTokenizerIndicatorDisabled")) && this.getMultiLine();
1920
+
1921
+ if (bMultiLineTruncatedTokenPressed) {
1922
+ this._togglePopup(this.getTokensPopup());
1923
+ }
1811
1924
  };
1812
1925
 
1813
1926
  /**
@@ -1854,6 +1967,7 @@ sap.ui.define([
1854
1967
  this._oIndicator = null;
1855
1968
  this._aTokenValidators = null;
1856
1969
  this._bShouldRenderTabIndex = null;
1970
+ this._bInForm = false;
1857
1971
  this._bThemeApplied = false;
1858
1972
 
1859
1973
  };
@@ -2004,6 +2118,41 @@ sap.ui.define([
2004
2118
  return this._handleDelete(iIndex, fnFallback);
2005
2119
  };
2006
2120
 
2121
+ /**
2122
+ * Handler for clear all button click.
2123
+ *
2124
+ * @private
2125
+ */
2126
+ Tokenizer.prototype._handleClearAll = function() {
2127
+ this.fireTokenDelete({
2128
+ tokens: this.getTokens()
2129
+ });
2130
+ };
2131
+
2132
+ /**
2133
+ * Determines if the clear all button should be displayed.
2134
+ *
2135
+ * @private
2136
+ * @returns {boolean} True if clear all button should be displayed
2137
+ */
2138
+ Tokenizer.prototype.showEffectiveClearAll = function() {
2139
+ return this.getShowClearAll() &&
2140
+ this.getMultiLine() &&
2141
+ this.getTokens().length > 0 &&
2142
+ this.getEditable() &&
2143
+ this.getEnabled();
2144
+ };
2145
+
2146
+ /**
2147
+ * Returns text for the clear all button.
2148
+ *
2149
+ * @private
2150
+ * @returns {string} Text for the clear all button
2151
+ */
2152
+ Tokenizer.prototype._getClearAllText = function() {
2153
+ return Core.getLibraryResourceBundle("sap.m").getText("TOKENIZER_CLEAR_ALL");
2154
+ };
2155
+
2007
2156
  Tokenizer.TokenChangeType = {
2008
2157
  Added : "added",
2009
2158
  Removed : "removed",
@@ -37,10 +37,19 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
37
37
  */
38
38
  TokenizerRenderer.renderInnerContent = function(oRm, oControl) {
39
39
  var aTokens = oControl.getTokens();
40
+ var bMultiLine = oControl.getMultiLine();
40
41
 
41
42
  oRm.class("sapMTokenizer");
42
43
 
43
- if (!oControl.getEditable()) {
44
+ if (bMultiLine) {
45
+ oRm.class("sapMTokenizerMultiLine");
46
+ }
47
+
48
+ if (oControl._bInForm){
49
+ oRm.class("sapMTokenizerHeightMargin");
50
+ }
51
+
52
+ if (!oControl.getEditable() || oControl.getDisplayOnly()) {
44
53
  oRm.class("sapMTokenizerReadonly");
45
54
  }
46
55
 
@@ -49,7 +58,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
49
58
 
50
59
  }
51
60
 
52
- if (!aTokens.length) {
61
+ if (!aTokens.length && !oControl._bInForm) {
53
62
  oRm.class("sapMTokenizerEmpty");
54
63
  oRm.attr("aria-hidden", "true");
55
64
  }
@@ -87,7 +96,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
87
96
  }
88
97
 
89
98
  oRm.openStart("div", oControl.getId() + "-scrollContainer");
90
- oRm.class("sapMTokenizerScrollContainer");
99
+ oRm.class(bMultiLine ? "sapMTokenizerMultiLineContainer" : "sapMTokenizerScrollContainer");
91
100
 
92
101
  if (oControl.getHiddenTokensCount() === oControl.getTokens().length) {
93
102
  oRm.class("sapMTokenizerScrollContainerNoVisibleTokens");
@@ -95,6 +104,7 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
95
104
 
96
105
  oRm.openEnd();
97
106
  this._renderTokens(oRm, oControl);
107
+ this._renderClearAll(oRm, oControl);
98
108
 
99
109
  oRm.close("div");
100
110
  this._renderIndicator(oRm, oControl);
@@ -160,6 +170,23 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/InvisibleText'],
160
170
  oRm.openEnd().close("span");
161
171
  };
162
172
 
173
+ /**
174
+ * Renders the Clear All button
175
+ *
176
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
177
+ * @param {sap.m.Tokenizer} oControl an object representation of the control that should be rendered
178
+ */
179
+ TokenizerRenderer._renderClearAll = function(oRm, oControl){
180
+ if (oControl.showEffectiveClearAll()) {
181
+ oRm.openStart("span", oControl.getId() + "-clearAll")
182
+ .class("sapMTokenizerClearAll")
183
+ .attr("role", "button")
184
+ .openEnd();
185
+ oRm.text(oControl._getClearAllText());
186
+ oRm.close("span");
187
+ }
188
+ };
189
+
163
190
  /**
164
191
  * Callback for specific rendering of Tokenizer N-more indicator tabindex attribute.
165
192
  *
@@ -80,7 +80,7 @@ function(
80
80
  * @implements sap.ui.core.Toolbar,sap.m.IBar
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.141.2
83
+ * @version 1.142.0
84
84
  *
85
85
  * @constructor
86
86
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['./library', 'sap/ui/core/LayoutData'],
25
25
  * <code>layoutData</code> aggregation of {@link sap.m.ToolbarSpacer} and if set it's ignored.
26
26
  *
27
27
  * @extends sap.ui.core.LayoutData
28
- * @version 1.141.2
28
+ * @version 1.142.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./library', 'sap/ui/core/Control', './ToolbarSeparatorRenderer']
23
23
  * @extends sap.ui.core.Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.141.2
26
+ * @version 1.142.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -29,7 +29,7 @@ function(library, Control, ToolbarSpacerRenderer, Log) {
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.141.2
32
+ * @version 1.142.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
package/src/sap/m/Tree.js CHANGED
@@ -43,7 +43,7 @@ function(
43
43
  * @extends sap.m.ListBase
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.141.2
46
+ * @version 1.142.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.m.ListItemBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.141.2
34
+ * @version 1.142.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @extends sap.ui.core.Control
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.141.2
100
+ * @version 1.142.0
101
101
  *
102
102
  * @constructor
103
103
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.141.2
31
+ * @version 1.142.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.141.2
23
+ * @version 1.142.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.141.2
25
+ * @version 1.142.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
package/src/sap/m/VBox.js CHANGED
@@ -26,7 +26,7 @@ sap.ui.define(['./FlexBox', './library', "./VBoxRenderer"],
26
26
  * @extends sap.m.FlexBox
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.141.2
29
+ * @version 1.142.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(
23
23
  *
24
24
  * @extends sap.ui.core.Control
25
25
  * @author SAP SE
26
- * @version 1.141.2
26
+ * @version 1.142.0
27
27
  *
28
28
  * @constructor
29
29
  * @private