@openui5/sap.m 1.92.0 → 1.95.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 (463) hide show
  1. package/.reuse/dep5 +1 -6
  2. package/THIRDPARTY.txt +4 -10
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +1 -1
  9. package/src/sap/m/App.js +5 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -4
  12. package/src/sap/m/Bar.js +26 -7
  13. package/src/sap/m/Breadcrumbs.js +2 -2
  14. package/src/sap/m/BusyDialog.js +1 -1
  15. package/src/sap/m/BusyIndicator.js +1 -1
  16. package/src/sap/m/Button.js +42 -6
  17. package/src/sap/m/Carousel.js +11 -3
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +9 -4
  20. package/src/sap/m/CheckBoxRenderer.js +12 -3
  21. package/src/sap/m/ColorPalette.js +1 -1
  22. package/src/sap/m/ColorPalettePopover.js +1 -1
  23. package/src/sap/m/Column.js +9 -1
  24. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  25. package/src/sap/m/ColumnListItem.js +8 -2
  26. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  31. package/src/sap/m/ComboBox.js +1 -1
  32. package/src/sap/m/ComboBoxBase.js +5 -2
  33. package/src/sap/m/ComboBoxRenderer.js +25 -9
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/CustomDynamicDateOption.js +6 -2
  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 +30 -3
  40. package/src/sap/m/DatePickerRenderer.js +1 -1
  41. package/src/sap/m/DateRangeSelection.js +2 -2
  42. package/src/sap/m/DateTimeField.js +69 -1
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +15 -8
  45. package/src/sap/m/Dialog.js +31 -93
  46. package/src/sap/m/DialogRenderer.js +1 -1
  47. package/src/sap/m/DisplayListItem.js +1 -1
  48. package/src/sap/m/DraftIndicator.js +1 -1
  49. package/src/sap/m/DynamicDate.js +67 -13
  50. package/src/sap/m/DynamicDateFormat.js +12 -1
  51. package/src/sap/m/DynamicDateOption.js +56 -16
  52. package/src/sap/m/DynamicDateRange.js +136 -23
  53. package/src/sap/m/DynamicDateUtil.js +20 -2
  54. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  55. package/src/sap/m/ExpandableText.js +4 -2
  56. package/src/sap/m/FacetFilter.js +47 -16
  57. package/src/sap/m/FacetFilterItem.js +1 -1
  58. package/src/sap/m/FacetFilterList.js +2 -2
  59. package/src/sap/m/FeedContent.js +1 -1
  60. package/src/sap/m/FeedInput.js +5 -2
  61. package/src/sap/m/FeedListItem.js +1 -1
  62. package/src/sap/m/FeedListItemAction.js +1 -1
  63. package/src/sap/m/Fiori20Adapter.js +2 -2
  64. package/src/sap/m/FlexBox.js +32 -67
  65. package/src/sap/m/FlexItemData.js +1 -1
  66. package/src/sap/m/FormattedText.js +1 -1
  67. package/src/sap/m/GenericTag.js +1 -1
  68. package/src/sap/m/GenericTile.js +9 -3
  69. package/src/sap/m/GenericTileRenderer.js +46 -8
  70. package/src/sap/m/GroupHeaderListItem.js +1 -1
  71. package/src/sap/m/GrowingEnablement.js +31 -34
  72. package/src/sap/m/GrowingList.js +1 -1
  73. package/src/sap/m/HBox.js +1 -1
  74. package/src/sap/m/HeaderContainer.js +53 -1
  75. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  76. package/src/sap/m/IconTabBar.js +2 -2
  77. package/src/sap/m/IconTabBarSelectList.js +1 -1
  78. package/src/sap/m/IconTabFilter.js +75 -37
  79. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  80. package/src/sap/m/IconTabHeader.js +21 -7
  81. package/src/sap/m/IconTabHeaderRenderer.js +1 -0
  82. package/src/sap/m/IconTabSeparator.js +1 -1
  83. package/src/sap/m/Image.js +1 -1
  84. package/src/sap/m/ImageContent.js +1 -1
  85. package/src/sap/m/Input.js +131 -37
  86. package/src/sap/m/InputBase.js +13 -6
  87. package/src/sap/m/InputListItem.js +1 -1
  88. package/src/sap/m/Label.js +1 -1
  89. package/src/sap/m/LightBox.js +2 -2
  90. package/src/sap/m/LightBoxItem.js +1 -1
  91. package/src/sap/m/Link.js +2 -2
  92. package/src/sap/m/List.js +1 -1
  93. package/src/sap/m/ListBase.js +61 -24
  94. package/src/sap/m/ListItemBase.js +22 -21
  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 +21 -4
  100. package/src/sap/m/MenuButtonRenderer.js +1 -0
  101. package/src/sap/m/MenuItem.js +1 -1
  102. package/src/sap/m/MenuListItem.js +1 -1
  103. package/src/sap/m/MessageBox.js +31 -1
  104. package/src/sap/m/MessageItem.js +1 -1
  105. package/src/sap/m/MessageListItem.js +1 -1
  106. package/src/sap/m/MessagePage.js +1 -1
  107. package/src/sap/m/MessagePopover.js +1 -4
  108. package/src/sap/m/MessagePopoverItem.js +1 -1
  109. package/src/sap/m/MessageStrip.js +1 -1
  110. package/src/sap/m/MessageStripUtilities.js +15 -2
  111. package/src/sap/m/MessageToast.js +2 -2
  112. package/src/sap/m/MessageView.js +10 -10
  113. package/src/sap/m/MultiComboBox.js +164 -163
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +54 -6
  116. package/src/sap/m/NavContainer.js +20 -9
  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/ObjectAttribute.js +1 -1
  124. package/src/sap/m/ObjectHeader.js +1 -1
  125. package/src/sap/m/ObjectHeaderRenderer.js +9 -7
  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 +13 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/OverflowToolbar.js +8 -2
  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/OverflowToolbarToggleButton.js +1 -1
  136. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  137. package/src/sap/m/P13nColumnsItem.js +1 -1
  138. package/src/sap/m/P13nColumnsPanel.js +1 -1
  139. package/src/sap/m/P13nConditionPanel.js +2 -2
  140. package/src/sap/m/P13nDialog.js +1 -1
  141. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  142. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  143. package/src/sap/m/P13nFilterItem.js +1 -1
  144. package/src/sap/m/P13nFilterPanel.js +1 -1
  145. package/src/sap/m/P13nGroupItem.js +1 -1
  146. package/src/sap/m/P13nGroupPanel.js +1 -1
  147. package/src/sap/m/P13nItem.js +1 -1
  148. package/src/sap/m/P13nPanel.js +1 -1
  149. package/src/sap/m/P13nSelectionItem.js +1 -1
  150. package/src/sap/m/P13nSelectionPanel.js +1 -1
  151. package/src/sap/m/P13nSortItem.js +1 -1
  152. package/src/sap/m/P13nSortPanel.js +1 -1
  153. package/src/sap/m/PDFViewer.js +14 -5
  154. package/src/sap/m/Page.js +1 -1
  155. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  156. package/src/sap/m/PagingButton.js +1 -1
  157. package/src/sap/m/Panel.js +1 -1
  158. package/src/sap/m/PlanningCalendar.js +260 -54
  159. package/src/sap/m/PlanningCalendarHeader.js +36 -5
  160. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  161. package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -0
  162. package/src/sap/m/PlanningCalendarRow.js +1 -1
  163. package/src/sap/m/PlanningCalendarView.js +26 -2
  164. package/src/sap/m/Popover.js +15 -6
  165. package/src/sap/m/ProgressIndicator.js +1 -1
  166. package/src/sap/m/PullToRefresh.js +1 -1
  167. package/src/sap/m/QuickView.js +1 -1
  168. package/src/sap/m/QuickViewBase.js +1 -1
  169. package/src/sap/m/QuickViewCard.js +1 -1
  170. package/src/sap/m/QuickViewGroup.js +1 -1
  171. package/src/sap/m/QuickViewGroupElement.js +1 -1
  172. package/src/sap/m/QuickViewPage.js +5 -5
  173. package/src/sap/m/RadioButton.js +1 -1
  174. package/src/sap/m/RadioButtonGroup.js +1 -1
  175. package/src/sap/m/RangeSlider.js +1 -1
  176. package/src/sap/m/RatingIndicator.js +78 -36
  177. package/src/sap/m/ResponsivePopover.js +1 -1
  178. package/src/sap/m/ResponsiveScale.js +1 -1
  179. package/src/sap/m/ScrollBar.js +1 -1
  180. package/src/sap/m/ScrollContainer.js +1 -1
  181. package/src/sap/m/SearchField.js +38 -20
  182. package/src/sap/m/SearchFieldRenderer.js +29 -15
  183. package/src/sap/m/SegmentedButton.js +12 -17
  184. package/src/sap/m/SegmentedButtonItem.js +1 -1
  185. package/src/sap/m/Select.js +36 -17
  186. package/src/sap/m/SelectDialog.js +21 -49
  187. package/src/sap/m/SelectDialogBase.js +148 -0
  188. package/src/sap/m/SelectList.js +13 -3
  189. package/src/sap/m/SelectRenderer.js +15 -3
  190. package/src/sap/m/SelectionDetails.js +5 -2
  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 +9 -17
  195. package/src/sap/m/SimpleFixFlex.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendar.js +4 -1
  197. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarGrid.js +57 -7
  199. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +27 -19
  200. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +11 -1
  201. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  205. package/src/sap/m/SlideTile.js +3 -3
  206. package/src/sap/m/Slider.js +1 -1
  207. package/src/sap/m/SliderRenderer.js +2 -2
  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 +3 -7
  213. package/src/sap/m/SplitContainer.js +4 -5
  214. package/src/sap/m/StandardDynamicDateOption.js +45 -10
  215. package/src/sap/m/StandardListItem.js +63 -13
  216. package/src/sap/m/StandardListItemRenderer.js +21 -9
  217. package/src/sap/m/StandardTile.js +1 -1
  218. package/src/sap/m/StandardTreeItem.js +1 -1
  219. package/src/sap/m/StepInput.js +22 -5
  220. package/src/sap/m/Suggest.js +25 -25
  221. package/src/sap/m/SuggestionItem.js +1 -1
  222. package/src/sap/m/SuggestionsPopover.js +1 -1
  223. package/src/sap/m/Switch.js +1 -1
  224. package/src/sap/m/TabContainer.js +1 -1
  225. package/src/sap/m/TabContainerItem.js +1 -1
  226. package/src/sap/m/TabStrip.js +1 -1
  227. package/src/sap/m/TabStripItem.js +1 -1
  228. package/src/sap/m/Table.js +49 -9
  229. package/src/sap/m/TablePersoController.js +1 -1
  230. package/src/sap/m/TablePersoDialog.js +1 -1
  231. package/src/sap/m/TablePersoProvider.js +1 -1
  232. package/src/sap/m/TableRenderer.js +6 -5
  233. package/src/sap/m/TableSelectDialog.js +21 -46
  234. package/src/sap/m/Text.js +2 -2
  235. package/src/sap/m/TextArea.js +2 -2
  236. package/src/sap/m/Tile.js +1 -1
  237. package/src/sap/m/TileContainer.js +2 -2
  238. package/src/sap/m/TileContent.js +1 -1
  239. package/src/sap/m/TimePicker.js +11 -5
  240. package/src/sap/m/TimePickerClock.js +2 -2
  241. package/src/sap/m/TimePickerClocks.js +4 -1
  242. package/src/sap/m/TimePickerInputs.js +5 -3
  243. package/src/sap/m/TimePickerInternals.js +1 -1
  244. package/src/sap/m/TimePickerSlider.js +2 -2
  245. package/src/sap/m/TimePickerSliders.js +1 -1
  246. package/src/sap/m/TimePickerSlidersRenderer.js +0 -1
  247. package/src/sap/m/Title.js +1 -1
  248. package/src/sap/m/TitlePropagationSupport.js +1 -1
  249. package/src/sap/m/ToggleButton.js +1 -1
  250. package/src/sap/m/Token.js +1 -1
  251. package/src/sap/m/Tokenizer.js +45 -3
  252. package/src/sap/m/TokenizerRenderer.js +6 -0
  253. package/src/sap/m/Toolbar.js +1 -1
  254. package/src/sap/m/ToolbarLayoutData.js +1 -1
  255. package/src/sap/m/ToolbarSeparator.js +1 -1
  256. package/src/sap/m/ToolbarSpacer.js +1 -1
  257. package/src/sap/m/Tree.js +1 -1
  258. package/src/sap/m/TreeItemBase.js +4 -4
  259. package/src/sap/m/UploadCollection.js +2 -2
  260. package/src/sap/m/UploadCollectionItem.js +1 -1
  261. package/src/sap/m/UploadCollectionParameter.js +1 -1
  262. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  263. package/src/sap/m/VBox.js +1 -1
  264. package/src/sap/m/ValueStateHeader.js +1 -1
  265. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  266. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  267. package/src/sap/m/ViewSettingsDialog.js +7 -7
  268. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  269. package/src/sap/m/ViewSettingsItem.js +1 -1
  270. package/src/sap/m/VisibleItem.js +1 -1
  271. package/src/sap/m/WheelSlider.js +2 -2
  272. package/src/sap/m/WheelSliderContainer.js +1 -1
  273. package/src/sap/m/Wizard.js +1 -1
  274. package/src/sap/m/WizardProgressNavigator.js +1 -1
  275. package/src/sap/m/WizardStep.js +1 -1
  276. package/src/sap/m/changeHandler/AddTableColumn.js +76 -44
  277. package/src/sap/m/changeHandler/ChangeLinkTarget.js +18 -23
  278. package/src/sap/m/changeHandler/CombineButtons.js +281 -175
  279. package/src/sap/m/changeHandler/MoveTableColumns.js +143 -111
  280. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +77 -0
  281. package/src/sap/m/changeHandler/SplitMenuButton.js +147 -93
  282. package/src/sap/m/designtime/IconTabBar.designtime.js +82 -2
  283. package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
  284. package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
  285. package/src/sap/m/designtime/messagebundle.properties +9 -0
  286. package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
  287. package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
  288. package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
  289. package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
  290. package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
  291. package/src/sap/m/designtime/messagebundle_da.properties +6 -0
  292. package/src/sap/m/designtime/messagebundle_de.properties +6 -0
  293. package/src/sap/m/designtime/messagebundle_el.properties +6 -0
  294. package/src/sap/m/designtime/messagebundle_en.properties +6 -0
  295. package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
  296. package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
  297. package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
  298. package/src/sap/m/designtime/messagebundle_es.properties +6 -0
  299. package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
  300. package/src/sap/m/designtime/messagebundle_et.properties +6 -0
  301. package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
  302. package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
  303. package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
  304. package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
  305. package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
  306. package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
  307. package/src/sap/m/designtime/messagebundle_id.properties +6 -0
  308. package/src/sap/m/designtime/messagebundle_it.properties +6 -0
  309. package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
  310. package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
  311. package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
  312. package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
  313. package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
  314. package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
  315. package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
  316. package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
  317. package/src/sap/m/designtime/messagebundle_no.properties +6 -0
  318. package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
  319. package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
  320. package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
  321. package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
  322. package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
  323. package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
  324. package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
  325. package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
  326. package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
  327. package/src/sap/m/designtime/messagebundle_th.properties +6 -0
  328. package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
  329. package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
  330. package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
  331. package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
  332. package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
  333. package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
  334. package/src/sap/m/inputUtils/calculateSelectionStart.js +1 -1
  335. package/src/sap/m/inputUtils/wordStartsWithValue.js +5 -1
  336. package/src/sap/m/library.js +28 -5
  337. package/src/sap/m/messagebundle.properties +22 -5
  338. package/src/sap/m/messagebundle_ar.properties +13 -0
  339. package/src/sap/m/messagebundle_bg.properties +13 -0
  340. package/src/sap/m/messagebundle_ca.properties +13 -0
  341. package/src/sap/m/messagebundle_cs.properties +24 -11
  342. package/src/sap/m/messagebundle_cy.properties +13 -0
  343. package/src/sap/m/messagebundle_da.properties +14 -1
  344. package/src/sap/m/messagebundle_de.properties +18 -5
  345. package/src/sap/m/messagebundle_el.properties +14 -1
  346. package/src/sap/m/messagebundle_en.properties +15 -2
  347. package/src/sap/m/messagebundle_en_GB.properties +13 -0
  348. package/src/sap/m/messagebundle_en_US_sappsd.properties +15 -2
  349. package/src/sap/m/messagebundle_en_US_saptrc.properties +18 -5
  350. package/src/sap/m/messagebundle_es.properties +13 -0
  351. package/src/sap/m/messagebundle_es_MX.properties +16 -3
  352. package/src/sap/m/messagebundle_et.properties +13 -0
  353. package/src/sap/m/messagebundle_fi.properties +13 -0
  354. package/src/sap/m/messagebundle_fr.properties +19 -6
  355. package/src/sap/m/messagebundle_fr_CA.properties +13 -0
  356. package/src/sap/m/messagebundle_hi.properties +13 -0
  357. package/src/sap/m/messagebundle_hr.properties +13 -0
  358. package/src/sap/m/messagebundle_hu.properties +13 -0
  359. package/src/sap/m/messagebundle_id.properties +15 -2
  360. package/src/sap/m/messagebundle_it.properties +19 -6
  361. package/src/sap/m/messagebundle_iw.properties +13 -0
  362. package/src/sap/m/messagebundle_ja.properties +13 -0
  363. package/src/sap/m/messagebundle_kk.properties +13 -0
  364. package/src/sap/m/messagebundle_ko.properties +14 -1
  365. package/src/sap/m/messagebundle_lt.properties +13 -0
  366. package/src/sap/m/messagebundle_lv.properties +13 -0
  367. package/src/sap/m/messagebundle_ms.properties +14 -1
  368. package/src/sap/m/messagebundle_nl.properties +15 -2
  369. package/src/sap/m/messagebundle_no.properties +25 -12
  370. package/src/sap/m/messagebundle_pl.properties +17 -4
  371. package/src/sap/m/messagebundle_pt.properties +16 -3
  372. package/src/sap/m/messagebundle_pt_PT.properties +13 -0
  373. package/src/sap/m/messagebundle_ro.properties +18 -5
  374. package/src/sap/m/messagebundle_ru.properties +14 -1
  375. package/src/sap/m/messagebundle_sh.properties +14 -1
  376. package/src/sap/m/messagebundle_sk.properties +13 -0
  377. package/src/sap/m/messagebundle_sl.properties +13 -0
  378. package/src/sap/m/messagebundle_sv.properties +13 -0
  379. package/src/sap/m/messagebundle_th.properties +13 -0
  380. package/src/sap/m/messagebundle_tr.properties +13 -0
  381. package/src/sap/m/messagebundle_uk.properties +16 -3
  382. package/src/sap/m/messagebundle_vi.properties +14 -1
  383. package/src/sap/m/messagebundle_zh_CN.properties +13 -0
  384. package/src/sap/m/messagebundle_zh_TW.properties +13 -0
  385. package/src/sap/m/plugins/ColumnResizer.js +23 -2
  386. package/src/sap/m/plugins/DataStateIndicator.js +5 -3
  387. package/src/sap/m/plugins/PasteProvider.js +9 -1
  388. package/src/sap/m/plugins/PluginBase.js +1 -1
  389. package/src/sap/m/routing/TargetHandler.js +15 -18
  390. package/src/sap/m/routing/async/Target.js +3 -2
  391. package/src/sap/m/semantic/AddAction.js +1 -1
  392. package/src/sap/m/semantic/CancelAction.js +1 -1
  393. package/src/sap/m/semantic/DeleteAction.js +1 -1
  394. package/src/sap/m/semantic/DetailPage.js +1 -1
  395. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  396. package/src/sap/m/semantic/EditAction.js +1 -1
  397. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  398. package/src/sap/m/semantic/FilterAction.js +1 -1
  399. package/src/sap/m/semantic/FilterSelect.js +1 -1
  400. package/src/sap/m/semantic/FlagAction.js +1 -1
  401. package/src/sap/m/semantic/ForwardAction.js +1 -1
  402. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  403. package/src/sap/m/semantic/GroupAction.js +1 -1
  404. package/src/sap/m/semantic/GroupSelect.js +1 -1
  405. package/src/sap/m/semantic/MainAction.js +1 -1
  406. package/src/sap/m/semantic/MasterPage.js +1 -1
  407. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  408. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  409. package/src/sap/m/semantic/NegativeAction.js +1 -1
  410. package/src/sap/m/semantic/OpenInAction.js +1 -1
  411. package/src/sap/m/semantic/PositiveAction.js +1 -1
  412. package/src/sap/m/semantic/PrintAction.js +1 -1
  413. package/src/sap/m/semantic/SaveAction.js +1 -1
  414. package/src/sap/m/semantic/Segment.js +1 -1
  415. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  416. package/src/sap/m/semantic/SemanticButton.js +1 -1
  417. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  418. package/src/sap/m/semantic/SemanticControl.js +1 -1
  419. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  420. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
  421. package/src/sap/m/semantic/SemanticPage.js +1 -1
  422. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  423. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  424. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  425. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  426. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  427. package/src/sap/m/semantic/ShareMenu.js +1 -1
  428. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  429. package/src/sap/m/semantic/SortAction.js +1 -1
  430. package/src/sap/m/semantic/SortSelect.js +1 -1
  431. package/src/sap/m/themes/base/CheckBox.less +1 -1
  432. package/src/sap/m/themes/base/ColumnListItem.less +2 -2
  433. package/src/sap/m/themes/base/Dialog.less +11 -28
  434. package/src/sap/m/themes/base/FeedInput.less +5 -6
  435. package/src/sap/m/themes/base/GenericTile.less +129 -6
  436. package/src/sap/m/themes/base/IconTabBar.less +169 -61
  437. package/src/sap/m/themes/base/IconTabBarSelectList.less +8 -0
  438. package/src/sap/m/themes/base/Input.less +12 -0
  439. package/src/sap/m/themes/base/ListBase.less +7 -5
  440. package/src/sap/m/themes/base/MessagePage.less +1 -7
  441. package/src/sap/m/themes/base/MessageView.less +4 -0
  442. package/src/sap/m/themes/base/ObjectHeader.less +2 -1
  443. package/src/sap/m/themes/base/ObjectMarker.less +3 -0
  444. package/src/sap/m/themes/base/ObjectNumber.less +1 -1
  445. package/src/sap/m/themes/base/ObjectStatus.less +19 -2
  446. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
  447. package/src/sap/m/themes/base/PlanningCalendar.less +23 -7
  448. package/src/sap/m/themes/base/Popover.less +1 -1
  449. package/src/sap/m/themes/base/ProgressIndicator.less +7 -6
  450. package/src/sap/m/themes/base/RadioButton.less +3 -0
  451. package/src/sap/m/themes/base/SearchField.less +1 -1
  452. package/src/sap/m/themes/base/StandardListItem.less +9 -0
  453. package/src/sap/m/themes/base/Table.less +14 -23
  454. package/src/sap/m/themes/base/TextArea.less +1 -1
  455. package/src/sap/m/themes/base/TimePicker.less +5 -1
  456. package/src/sap/m/themes/base/TimePickerSliders.less +1 -5
  457. package/src/sap/m/themes/base/Tokenizer.less +6 -0
  458. package/src/sap/m/themes/base/Toolbar.less +6 -0
  459. package/src/sap/m/themes/base/UploadSet.less +5 -0
  460. package/src/sap/m/themes/base/ViewSettingsDialog.less +29 -2
  461. package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
  462. package/src/sap/m/upload/UploadSet.js +35 -6
  463. package/src/sap/m/upload/UploadSetItem.js +18 -3
@@ -159,7 +159,7 @@ function(
159
159
  *
160
160
  * @extends sap.m.InputBase
161
161
  * @author SAP SE
162
- * @version 1.92.0
162
+ * @version 1.95.0
163
163
  *
164
164
  * @constructor
165
165
  * @public
@@ -315,7 +315,20 @@ function(
315
315
  * <b>Note:</b> The autocomplete feature is disabled on Android devices due to a OS specific issue.
316
316
  * @since 1.61
317
317
  */
318
- autocomplete: {type: "boolean", group: "Behavior", defaultValue: true}
318
+ autocomplete: {type: "boolean", group: "Behavior", defaultValue: true},
319
+
320
+ /**
321
+ * Specifies whether clear icon is shown.
322
+ * Pressing the icon will clear input's value and fire the change and liveChange events.
323
+ * @since 1.94
324
+ */
325
+ showClearIcon: { type: "boolean", defaultValue: false },
326
+
327
+ /**
328
+ * Specifies whether the clear icon should be shown/hidden on user interaction.
329
+ * @private
330
+ */
331
+ effectiveShowClearIcon: { type: "boolean", defaultValue: false, visibility: "hidden" }
319
332
  },
320
333
  defaultAggregation : "suggestionItems",
321
334
  aggregations : {
@@ -568,6 +581,15 @@ function(
568
581
  // phase of the life cycle. Without this line, initially the condition fails and fires liveChange event
569
582
  // even though there is no user input (check Input.prototype.onsapright).
570
583
  this._setTypedInValue("");
584
+
585
+
586
+ // indicates whether input is clicked (on mobile) or the clear button
587
+ // used for identifying whether dialog should be open.
588
+ this._bClearButtonPressed = false;
589
+
590
+ // indicates whether input's popover has finished opening
591
+ // we asume that after open its content has been rendered => we don't have the power user scenario
592
+ this._bAfterOpenFinisihed = false;
571
593
  };
572
594
 
573
595
  /**
@@ -608,10 +630,9 @@ function(
608
630
  */
609
631
  Input.prototype.onBeforeRendering = function() {
610
632
  var sSelectedKey = this.getSelectedKey(),
611
- bShowIcon = this.getShowValueHelp() && this.getEnabled() && this.getEditable(),
612
- aEndIcons = this.getAggregation("_endIcon") || [],
613
-
614
- oIcon = aEndIcons[0],
633
+ bShowValueHelpIcon = this.getShowValueHelp() && this.getEnabled() && this.getEditable(),
634
+ bShowClearIcon = this.getShowClearIcon(),
635
+ oIcon = this._oValueHelpIcon,
615
636
  oSuggestionsPopover = this._getSuggestionsPopover(),
616
637
  bSuggestionsPopoverIsOpen = oSuggestionsPopover && this._isSuggestionsPopoverOpen(),
617
638
  oPopupInput = oSuggestionsPopover && oSuggestionsPopover.getInput(),
@@ -620,6 +641,12 @@ function(
620
641
 
621
642
  InputBase.prototype.onBeforeRendering.call(this);
622
643
 
644
+ if (bShowClearIcon) {
645
+ this._getClearIcon().setProperty("visible", this.getProperty("effectiveShowClearIcon"));
646
+ } else if (this._oClearButton) {
647
+ this._getClearIcon().setProperty("visible", false);
648
+ }
649
+
623
650
  this._deregisterEvents();
624
651
 
625
652
  if (sSelectedKey) {
@@ -639,7 +666,7 @@ function(
639
666
  }
640
667
  }
641
668
 
642
- if (bShowIcon) {
669
+ if (bShowValueHelpIcon) {
643
670
  // ensure the creation of an icon
644
671
  oIcon = this._getValueHelpIcon();
645
672
  oIcon.setProperty("visible", true, true);
@@ -1044,13 +1071,11 @@ function(
1044
1071
  */
1045
1072
  Input.prototype._getValueHelpIcon = function () {
1046
1073
  var that = this,
1047
- aEndIcons = this.getAggregation("_endIcon") || [],
1048
- sIconSrc = this.getValueHelpIconSrc(),
1049
- oValueStateIcon = aEndIcons[0];
1074
+ sIconSrc = this.getValueHelpIconSrc();
1050
1075
 
1051
1076
  // for backward compatibility - leave this method to return the instance
1052
- if (!oValueStateIcon) {
1053
- oValueStateIcon = this.addEndIcon({
1077
+ if (!this._oValueHelpIcon) {
1078
+ this._oValueHelpIcon = this.addEndIcon({
1054
1079
  id: this.getId() + "-vhi",
1055
1080
  src: sIconSrc,
1056
1081
  useIconTooltip: false,
@@ -1079,13 +1104,53 @@ function(
1079
1104
  }
1080
1105
  }
1081
1106
  });
1082
- } else if (oValueStateIcon.getSrc() !== sIconSrc) {
1083
- oValueStateIcon.setSrc(sIconSrc);
1107
+ } else if (this._oValueHelpIcon.getSrc() !== sIconSrc) {
1108
+ this._oValueHelpIcon.setSrc(sIconSrc);
1084
1109
  }
1085
1110
 
1086
- return oValueStateIcon;
1111
+ return this._oValueHelpIcon;
1087
1112
  };
1088
1113
 
1114
+ Input.prototype._getClearIcon = function () {
1115
+ var that = this;
1116
+
1117
+ if (this._oClearButton) {
1118
+ return this._oClearButton;
1119
+ }
1120
+
1121
+ this._oClearButton = this.addEndIcon({
1122
+ src: IconPool.getIconURI("decline"),
1123
+ noTabStop: true,
1124
+ visible: false,
1125
+ alt: this._oRb.getText("INPUT_CLEAR_ICON_ALT"),
1126
+ useIconTooltip: false,
1127
+ decorative: false,
1128
+ press: function () {
1129
+ if (that.getValue() !== "") {
1130
+ that.fireChange({
1131
+ value: ""
1132
+ });
1133
+
1134
+ that.fireLiveChange({
1135
+ value: ""
1136
+ });
1137
+
1138
+ that.setValue("");
1139
+
1140
+ that._bClearButtonPressed = true;
1141
+
1142
+ setTimeout(function() {
1143
+ if (Device.system.desktop) {
1144
+ that.focus();
1145
+ that._closeSuggestionPopup();
1146
+ }
1147
+ }, 0);
1148
+ }
1149
+ }
1150
+ }, 0);
1151
+
1152
+ return this._oClearButton;
1153
+ };
1089
1154
  /**
1090
1155
  * Fire valueHelpRequest event.
1091
1156
  *
@@ -1140,9 +1205,12 @@ function(
1140
1205
  && this.getEditable()
1141
1206
  && this.getEnabled()
1142
1207
  && this.getShowSuggestion()
1208
+ && (!this._bClearButtonPressed)
1143
1209
  && oEvent.target.id !== this.getId() + "-vhi") {
1144
1210
  this._openSuggestionsPopover();
1145
1211
  }
1212
+
1213
+ this._bClearButtonPressed = false;
1146
1214
  };
1147
1215
 
1148
1216
  /**
@@ -1327,11 +1395,13 @@ function(
1327
1395
 
1328
1396
  bFocusInPopup && this.setSelectionUpdatedFromList(true);
1329
1397
 
1330
- // The logic here works solely for suggestionItems. Once we move the whole dependent logic to coreItems
1331
- // it should work for suggetionRows as well.
1332
- if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened && !this._hasTabularSuggestions()) {
1398
+ if (this.getShowSuggestion() && this._bDoTypeAhead && bPopupOpened) {
1333
1399
  oSelectedItem = this._getSuggestionsPopover().getItemsContainer().getSelectedItem();
1334
- oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
1400
+ if (this._hasTabularSuggestions()) {
1401
+ oSelectedItem && this.setSelectionRow(oSelectedItem, true);
1402
+ } else {
1403
+ oSelectedItem && this.setSelectionItem(ListHelpers.getItemByListItem(aItems, oSelectedItem), true);
1404
+ }
1335
1405
  }
1336
1406
 
1337
1407
  if (bPopupOpened && !this.isComposingCharacter()) {
@@ -1397,7 +1467,7 @@ function(
1397
1467
  // There's no typeahead for mobile devices.
1398
1468
  // If the popup has been focused, then the list would take care of that functionality.
1399
1469
  // There should be a matching item (proposed text in order to continue)
1400
- if (!this.isMobileDevice() && this._sProposedItemText) {
1470
+ if (!this.isMobileDevice() && this._sProposedItemText && !this._bAfterOpenFinisihed) {
1401
1471
  // Update selections for poweruser
1402
1472
  var oSelectedItem = this.getSuggestionItems()
1403
1473
  .filter(function (oItem) {
@@ -1586,7 +1656,7 @@ function(
1586
1656
  // when compose a non ASCII character, in Chrome the value is updated in the next browser tick cycle
1587
1657
  setTimeout(function () {
1588
1658
  var sNewValue = this.getDOMValue() || '';
1589
- if (sNewValue < this.getStartSuggestion()) {
1659
+ if (sNewValue.length < this.getStartSuggestion()) {
1590
1660
  this._closeSuggestionPopup();
1591
1661
  }
1592
1662
  }.bind(this), 0);
@@ -1634,7 +1704,7 @@ function(
1634
1704
  * @param {jQuery.Event} oEvent The event.
1635
1705
  */
1636
1706
  Input.prototype.onchange = function (oEvent) {
1637
- if (this.getShowValueHelp() || this.getShowSuggestion()) {
1707
+ if (this.getShowValueHelp() || this.getShowSuggestion() || this.getProperty("effectiveShowClearIcon")) {
1638
1708
  // can not handle browser change if value help or suggestions is enabled
1639
1709
  // because change is fired before the value help is opened or when a link in suggestions is clicked
1640
1710
  return;
@@ -1674,6 +1744,8 @@ function(
1674
1744
  // always focus input field when typing in it
1675
1745
  this.addStyleClass("sapMFocus");
1676
1746
 
1747
+ this.setProperty("effectiveShowClearIcon", !!sValue);
1748
+
1677
1749
  // No need to fire suggest event when suggestion feature isn't enabled or runs on the phone.
1678
1750
  // Because suggest event should only be fired by the input in dialog when runs on the phone.
1679
1751
  if (this.getShowSuggestion() && !this.isMobileDevice()) {
@@ -1772,7 +1844,7 @@ function(
1772
1844
  /**
1773
1845
  * Opens the <code>SuggestionsPopover</code> and adjusts the corresponding acc
1774
1846
  *
1775
- * @param {Boolean} bOpenCondition Additional open condition
1847
+ * @param {boolean} bOpenCondition Additional open condition
1776
1848
  * @private
1777
1849
  */
1778
1850
  Input.prototype._openSuggestionPopup = function (bOpenCondition) {
@@ -2323,6 +2395,9 @@ function(
2323
2395
  InputBase.prototype.setValue.call(this, sValue);
2324
2396
  this._onValueUpdated(sValue);
2325
2397
  this._setTypedInValue("");
2398
+
2399
+ this.setProperty("effectiveShowClearIcon", !!sValue);
2400
+
2326
2401
  return this;
2327
2402
  };
2328
2403
 
@@ -2707,22 +2782,25 @@ function(
2707
2782
  oSuggPopover.attachEvent(SuggestionsPopover.M_EVENTS.SELECTION_CHANGE, function (oEvent) {
2708
2783
  var oItem = oEvent.getParameter("newItem"),
2709
2784
  sNewValue = this.calculateNewValue(oItem),
2710
- bFocusedGroupHeader = oItem && oItem.isA("sap.m.GroupHeaderListItem"),
2785
+ bIsGroupItem = oItem && oItem.isA("sap.m.GroupHeaderListItem"),
2711
2786
  oFocusDomRef = this.getFocusDomRef(),
2712
2787
  sTypedValue = oFocusDomRef && oFocusDomRef.value.substring(0, oFocusDomRef.selectionStart),
2713
2788
  oPreviousItem = oEvent.getParameter("previousItem"),
2714
2789
  bPreviosFocusOnGroup = oPreviousItem && oPreviousItem.isA("sap.m.GroupHeaderListItem"),
2715
2790
  iSelectionStart = calculateSelectionStart(selectionRange(oFocusDomRef, bPreviosFocusOnGroup), sNewValue, sTypedValue, bPreviosFocusOnGroup);
2716
2791
 
2717
- // setValue isn't used because here is too early to modify the lastValue of input
2718
- this.setDOMValue(bFocusedGroupHeader ? sTypedValue : sNewValue);
2792
+ if (!oItem || bIsGroupItem) { // When out of the list or a GroupHeader item, reset to user's input
2793
+ this.setDOMValue(sTypedValue);
2794
+ } else { // Replace the value and highlight it
2795
+ this.setDOMValue(sNewValue);
2719
2796
 
2720
- // memorize the value set by calling jQuery.val, because browser doesn't fire a change event when the value is set programmatically.
2721
- this._sSelectedSuggViaKeyboard = sNewValue;
2722
-
2723
- if (!bFocusedGroupHeader) {
2797
+ // If the matched item starts with user input's value, highlight only the remaining part. Otherwise, the whole item.
2798
+ iSelectionStart = (iSelectionStart === 0 && sNewValue.indexOf(sTypedValue) === 0) ? sTypedValue.length : iSelectionStart;
2724
2799
  this._doSelect(iSelectionStart);
2725
2800
  }
2801
+
2802
+ // memorize the value set by calling jQuery.val, because browser doesn't fire a change event when the value is set programmatically.
2803
+ this._sSelectedSuggViaKeyboard = sNewValue;
2726
2804
  }, this);
2727
2805
 
2728
2806
  if (this.getShowTableSuggestionValueHelp()) {
@@ -2802,15 +2880,21 @@ function(
2802
2880
  .attachBeforeOpen(function() {
2803
2881
  var oSuggestionsInput = oSuggPopover.getInput();
2804
2882
  // set the same placeholder and maxLength as the original input
2805
- oSuggestionsInput.setPlaceholder(this.getPlaceholder());
2806
- oSuggestionsInput.setMaxLength(this.getMaxLength());
2807
- oSuggestionsInput.setValue(this.getValue());
2883
+ ["placeholder",
2884
+ "maxLength",
2885
+ "value",
2886
+ "showClearIcon",
2887
+ "effectiveShowClearIcon"
2888
+ ].forEach(function(sPropName) {
2889
+ oSuggestionsInput.setProperty(sPropName, this.getProperty(sPropName));
2890
+ }, this);
2808
2891
  }, this);
2809
2892
  } else {
2810
2893
  oPopover
2811
2894
  .attachAfterClose(function() {
2812
- var oList = this._getSuggestionsPopover().getItemsContainer(),
2813
- oSelectedItem = oList && oList.getSelectedItem();
2895
+ var oList = this._getSuggestionsPopover().getItemsContainer();
2896
+ var oSelectedItem = oList && oList.getSelectedItem();
2897
+ var oDomRef = this.getDomRef();
2814
2898
 
2815
2899
  if (this.getSelectionUpdatedFromList()) {
2816
2900
  this.updateSelectionFromList(oSelectedItem);
@@ -2820,6 +2904,8 @@ function(
2820
2904
  return;
2821
2905
  }
2822
2906
 
2907
+ this._bAfterOpenFinisihed = false;
2908
+
2823
2909
  // only destroy items in simple suggestion mode
2824
2910
  if (oList instanceof Table) {
2825
2911
  oSelectedItem && oSelectedItem.removeStyleClass("sapMLIBFocused");
@@ -2829,12 +2915,20 @@ function(
2829
2915
  }
2830
2916
 
2831
2917
  this._deregisterPopupResize();
2918
+
2919
+ if (oDomRef && oDomRef.contains(document.activeElement)) {
2920
+ this.addStyleClass("sapMFocus");
2921
+ }
2832
2922
  }, this)
2833
2923
  .attachBeforeOpen(function () {
2834
2924
  oSuggPopover._sPopoverContentWidth = this.getMaxSuggestionWidth();
2835
2925
 
2836
2926
  oSuggPopover.resizePopup(this);
2837
2927
  this._registerPopupResize();
2928
+ this._bAfterOpenFinisihed = false;
2929
+ }, this)
2930
+ .attachAfterOpen(function () {
2931
+ this._bAfterOpenFinisihed = true;
2838
2932
  }, this);
2839
2933
  }
2840
2934
 
@@ -2929,7 +3023,7 @@ function(
2929
3023
  /**
2930
3024
  * Indicates whether the control should use <code>sap.m.Dialog</code> or not.
2931
3025
  *
2932
- * @returns {Boolean} Boolean.
3026
+ * @returns {boolean} Boolean.
2933
3027
  * @protected
2934
3028
  */
2935
3029
  Input.prototype.isMobileDevice = function () {
@@ -2995,7 +3089,7 @@ function(
2995
3089
  *
2996
3090
  * @protected
2997
3091
  * @param {HTMLElement|undefined} oTarget The target of the event.
2998
- * @returns {Boolean} Boolean indicating if the target is a valid opener.
3092
+ * @returns {boolean} Boolean indicating if the target is a valid opener.
2999
3093
  */
3000
3094
  Input.prototype.isValueHelpOnlyOpener = function (oTarget) {
3001
3095
  return true;
@@ -62,7 +62,7 @@ function(
62
62
  * @implements sap.ui.core.IFormContent
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.92.0
65
+ * @version 1.95.0
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -514,7 +514,7 @@ function(
514
514
  mParameters = mParameters || this.getChangeEventParams();
515
515
 
516
516
  // check the control is editable or not
517
- if (!this.getEditable() || !this.getEnabled()) {
517
+ if (this.getDomRef() && (!this.getEditable() || !this.getEnabled())) {
518
518
  return;
519
519
  }
520
520
 
@@ -1091,17 +1091,23 @@ function(
1091
1091
  * Adds an icon to be rendered
1092
1092
  * @param {string} sIconPosition a position for the icon to be rendered - begin or end
1093
1093
  * @param {object} oIconSettings settings for creating an icon
1094
+ * @param {int} iPosition position to be inserted in the aggregation
1094
1095
  * @see sap.ui.core.IconPool.createControlByURI
1095
1096
  * @private
1096
1097
  * @returns {null|sap.ui.core.Icon}
1097
1098
  */
1098
- InputBase.prototype._addIcon = function (sIconPosition, oIconSettings) {
1099
+ InputBase.prototype._addIcon = function (sIconPosition, oIconSettings, iPosition) {
1099
1100
  if (["begin", "end"].indexOf(sIconPosition) === -1) {
1100
1101
  log.error('icon position is not "begin", neither "end", please check again the passed setting');
1101
1102
  return null;
1102
1103
  }
1103
1104
  var oIcon = IconPool.createControlByURI(oIconSettings).addStyleClass(InputBase.ICON_CSS_CLASS);
1104
- this.addAggregation("_" + sIconPosition + "Icon", oIcon);
1105
+
1106
+ if (iPosition !== undefined) {
1107
+ this.insertAggregation("_" + sIconPosition + "Icon", oIcon, iPosition);
1108
+ } else {
1109
+ this.addAggregation("_" + sIconPosition + "Icon", oIcon);
1110
+ }
1105
1111
 
1106
1112
  return oIcon;
1107
1113
  };
@@ -1120,12 +1126,13 @@ function(
1120
1126
  /**
1121
1127
  * Adds an icon to the end of the input
1122
1128
  * @param {object} oIconSettings settings for creating an icon
1129
+ * @param {int} iPosition position to be inserted in the aggregation. If not provided, the icon gets inserted on last position.
1123
1130
  * @see sap.ui.core.IconPool.createControlByURI
1124
1131
  * @protected
1125
1132
  * @returns {null|sap.ui.core.Icon}
1126
1133
  */
1127
- InputBase.prototype.addEndIcon = function (oIconSettings) {
1128
- return this._addIcon("end", oIconSettings);
1134
+ InputBase.prototype.addEndIcon = function (oIconSettings, iPosition) {
1135
+ return this._addIcon("end", oIconSettings, iPosition);
1129
1136
  };
1130
1137
 
1131
1138
  // do not cache jQuery object and define _$input for compatibility reasons
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.92.0
33
+ * @version 1.95.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -76,7 +76,7 @@ function(
76
76
  * @implements sap.ui.core.Label, sap.ui.core.IShrinkable
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.92.0
79
+ * @version 1.95.0
80
80
  *
81
81
  * @constructor
82
82
  * @public
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * @extends sap.ui.core.Control
100
100
  *
101
101
  * @author SAP SE
102
- * @version 1.92.0
102
+ * @version 1.95.0
103
103
  *
104
104
  * @constructor
105
105
  * @public
@@ -253,7 +253,7 @@ sap.ui.define([
253
253
  * Invalidates the LightBox.
254
254
  *
255
255
  * @public
256
- * @param {object} oOrigin Origin of the invalidation.
256
+ * @param {sap.ui.base.ManagedObject} oOrigin Origin of the invalidation.
257
257
  * @returns {this} this LightBox reference for chaining.
258
258
  */
259
259
  LightBox.prototype.invalidate = function (oOrigin) {
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.Element
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.92.0
46
+ * @version 1.95.0
47
47
  *
48
48
  * @constructor
49
49
  * @public
package/src/sap/m/Link.js CHANGED
@@ -81,7 +81,7 @@ function(
81
81
  * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ITitleContent
82
82
  *
83
83
  * @author SAP SE
84
- * @version 1.92.0
84
+ * @version 1.95.0
85
85
  *
86
86
  * @constructor
87
87
  * @public
@@ -386,7 +386,7 @@ function(
386
386
  * Checks if the given sUri is valid depending on the validateUrl property
387
387
  *
388
388
  * @param {String} sUri
389
- * @returns {Boolean}
389
+ * @returns {boolean}
390
390
  * @private
391
391
  */
392
392
  Link.prototype._isHrefValid = function (sUri) {
package/src/sap/m/List.js CHANGED
@@ -30,7 +30,7 @@ sap.ui.define(["./library", "./ListBase", "./ListRenderer"],
30
30
  * @extends sap.m.ListBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.92.0
33
+ * @version 1.95.0
34
34
  *
35
35
  * @constructor
36
36
  * @public