@openui5/sap.m 1.106.0 → 1.107.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 (444) hide show
  1. package/package.json +4 -4
  2. package/src/sap/m/.library +4 -1
  3. package/src/sap/m/AccButton.js +4 -3
  4. package/src/sap/m/ActionListItem.js +14 -11
  5. package/src/sap/m/ActionSelect.js +14 -11
  6. package/src/sap/m/ActionSheet.js +103 -101
  7. package/src/sap/m/ActionSheetRenderer.js +3 -3
  8. package/src/sap/m/ActionTile.js +90 -0
  9. package/src/sap/m/ActionTileContent.js +71 -0
  10. package/src/sap/m/ActionTileContentRenderer.js +108 -0
  11. package/src/sap/m/App.js +107 -104
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +4 -3
  14. package/src/sap/m/AvatarColor.js +0 -1
  15. package/src/sap/m/AvatarImageFitType.js +0 -1
  16. package/src/sap/m/AvatarShape.js +0 -1
  17. package/src/sap/m/AvatarSize.js +0 -1
  18. package/src/sap/m/AvatarType.js +0 -1
  19. package/src/sap/m/Bar.js +103 -89
  20. package/src/sap/m/BarRenderer.js +3 -3
  21. package/src/sap/m/Breadcrumbs.js +4 -3
  22. package/src/sap/m/BusyDialog.js +1 -2
  23. package/src/sap/m/BusyIndicator.js +76 -73
  24. package/src/sap/m/Button.js +123 -120
  25. package/src/sap/m/Carousel.js +148 -147
  26. package/src/sap/m/CarouselLayout.js +1 -2
  27. package/src/sap/m/CheckBox.js +178 -175
  28. package/src/sap/m/CheckBoxRenderer.js +3 -3
  29. package/src/sap/m/ColorPalette.js +4 -3
  30. package/src/sap/m/ColorPalettePopover.js +24 -21
  31. package/src/sap/m/Column.js +1 -2
  32. package/src/sap/m/ColumnHeaderPopover.js +1 -2
  33. package/src/sap/m/ColumnListItem.js +39 -50
  34. package/src/sap/m/ColumnListItemRenderer.js +0 -3
  35. package/src/sap/m/ColumnPopoverActionItem.js +1 -2
  36. package/src/sap/m/ColumnPopoverCustomItem.js +1 -2
  37. package/src/sap/m/ColumnPopoverItem.js +1 -2
  38. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  39. package/src/sap/m/ColumnPopoverSortItem.js +1 -2
  40. package/src/sap/m/ComboBox.js +4 -3
  41. package/src/sap/m/ComboBoxBase.js +1 -2
  42. package/src/sap/m/ComboBoxTextField.js +4 -3
  43. package/src/sap/m/CustomAttribute.js +53 -0
  44. package/src/sap/m/CustomDynamicDateOption.js +1 -2
  45. package/src/sap/m/CustomListItem.js +24 -21
  46. package/src/sap/m/CustomTile.js +19 -16
  47. package/src/sap/m/CustomTreeItem.js +4 -3
  48. package/src/sap/m/DatePicker.js +146 -141
  49. package/src/sap/m/DateRangeSelection.js +45 -40
  50. package/src/sap/m/DateTimeField.js +11 -8
  51. package/src/sap/m/DateTimeInput.js +147 -142
  52. package/src/sap/m/DateTimePicker.js +78 -72
  53. package/src/sap/m/Dialog.js +4 -6
  54. package/src/sap/m/DisplayListItem.js +23 -20
  55. package/src/sap/m/DraftIndicator.js +4 -3
  56. package/src/sap/m/DynamicDate.js +1 -1
  57. package/src/sap/m/DynamicDateFormat.js +4 -3
  58. package/src/sap/m/DynamicDateOption.js +1 -2
  59. package/src/sap/m/DynamicDateRange.js +11 -10
  60. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
  61. package/src/sap/m/ExpandableText.js +4 -3
  62. package/src/sap/m/FacetFilter.js +112 -110
  63. package/src/sap/m/FacetFilterItem.js +27 -24
  64. package/src/sap/m/FacetFilterList.js +129 -130
  65. package/src/sap/m/FeedContent.js +4 -3
  66. package/src/sap/m/FeedInput.js +136 -133
  67. package/src/sap/m/FeedListItem.js +9 -6
  68. package/src/sap/m/FeedListItemAction.js +1 -2
  69. package/src/sap/m/FeedListItemRenderer.js +3 -3
  70. package/src/sap/m/Fiori20Adapter.js +2 -2
  71. package/src/sap/m/FlexBox.js +96 -93
  72. package/src/sap/m/FlexItemData.js +1 -2
  73. package/src/sap/m/FormattedText.js +12 -5
  74. package/src/sap/m/GenericTag.js +5 -4
  75. package/src/sap/m/GenericTile.js +7 -6
  76. package/src/sap/m/GenericTileLineModeRenderer.js +3 -3
  77. package/src/sap/m/GenericTileRenderer.js +29 -4
  78. package/src/sap/m/GroupHeaderListItem.js +35 -32
  79. package/src/sap/m/GrowingList.js +35 -32
  80. package/src/sap/m/HBox.js +9 -6
  81. package/src/sap/m/HeaderContainer.js +13 -14
  82. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  83. package/src/sap/m/IconTabBar.js +232 -229
  84. package/src/sap/m/IconTabBarDragAndDropUtil.js +5 -4
  85. package/src/sap/m/IconTabBarSelectList.js +28 -25
  86. package/src/sap/m/IconTabFilter.js +1 -2
  87. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -2
  88. package/src/sap/m/IconTabHeader.js +151 -148
  89. package/src/sap/m/IconTabSeparator.js +1 -2
  90. package/src/sap/m/IllustratedMessage.js +4 -3
  91. package/src/sap/m/IllustratedMessageSize.js +0 -1
  92. package/src/sap/m/IllustratedMessageType.js +0 -1
  93. package/src/sap/m/Illustration.js +4 -3
  94. package/src/sap/m/Image.js +199 -196
  95. package/src/sap/m/ImageContent.js +4 -3
  96. package/src/sap/m/Input.js +375 -369
  97. package/src/sap/m/InputBase.js +143 -140
  98. package/src/sap/m/InputBaseRenderer.js +3 -3
  99. package/src/sap/m/InputListItem.js +26 -23
  100. package/src/sap/m/InputRenderer.js +4 -4
  101. package/src/sap/m/Label.js +110 -106
  102. package/src/sap/m/LightBox.js +4 -5
  103. package/src/sap/m/LightBoxItem.js +1 -2
  104. package/src/sap/m/Link.js +182 -179
  105. package/src/sap/m/LinkRenderer.js +5 -1
  106. package/src/sap/m/List.js +15 -12
  107. package/src/sap/m/ListBase.js +447 -454
  108. package/src/sap/m/ListItemBase.js +115 -106
  109. package/src/sap/m/ListItemBaseRenderer.js +1 -1
  110. package/src/sap/m/MaskEnabler.js +5 -5
  111. package/src/sap/m/MaskInput.js +4 -3
  112. package/src/sap/m/MaskInputRule.js +1 -2
  113. package/src/sap/m/Menu.js +1 -2
  114. package/src/sap/m/MenuButton.js +142 -135
  115. package/src/sap/m/MenuItem.js +1 -2
  116. package/src/sap/m/MenuListItem.js +49 -46
  117. package/src/sap/m/MessageItem.js +1 -2
  118. package/src/sap/m/MessageListItem.js +4 -3
  119. package/src/sap/m/MessagePage.js +124 -121
  120. package/src/sap/m/MessagePopover.js +6 -6
  121. package/src/sap/m/MessagePopoverItem.js +1 -2
  122. package/src/sap/m/MessageStrip.js +4 -3
  123. package/src/sap/m/MessageToast.js +6 -5
  124. package/src/sap/m/MessageView.js +6 -5
  125. package/src/sap/m/MultiComboBox.js +84 -87
  126. package/src/sap/m/MultiEditField.js +1 -1
  127. package/src/sap/m/MultiInput.js +4 -3
  128. package/src/sap/m/NavContainer.js +6 -15
  129. package/src/sap/m/NewsContent.js +4 -3
  130. package/src/sap/m/NotificationList.js +4 -3
  131. package/src/sap/m/NotificationListBase.js +5 -7
  132. package/src/sap/m/NotificationListGroup.js +4 -3
  133. package/src/sap/m/NotificationListItem.js +4 -12
  134. package/src/sap/m/NumericContent.js +8 -6
  135. package/src/sap/m/NumericInput.js +1 -1
  136. package/src/sap/m/NumericInputRenderer.js +3 -3
  137. package/src/sap/m/ObjectAttribute.js +77 -74
  138. package/src/sap/m/ObjectAttributeRenderer.js +3 -3
  139. package/src/sap/m/ObjectHeader.js +385 -380
  140. package/src/sap/m/ObjectHeaderRenderer.js +4 -3
  141. package/src/sap/m/ObjectIdentifier.js +106 -101
  142. package/src/sap/m/ObjectListItem.js +150 -145
  143. package/src/sap/m/ObjectMarker.js +4 -3
  144. package/src/sap/m/ObjectNumber.js +90 -87
  145. package/src/sap/m/ObjectStatus.js +84 -81
  146. package/src/sap/m/OverflowToolbar.js +4 -3
  147. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  148. package/src/sap/m/OverflowToolbarButton.js +1 -2
  149. package/src/sap/m/OverflowToolbarLayoutData.js +1 -2
  150. package/src/sap/m/OverflowToolbarToggleButton.js +1 -2
  151. package/src/sap/m/P13nAnyFilterItem.js +1 -2
  152. package/src/sap/m/P13nColumnsItem.js +1 -2
  153. package/src/sap/m/P13nColumnsPanel.js +4 -5
  154. package/src/sap/m/P13nConditionPanel.js +1 -2
  155. package/src/sap/m/P13nDialog.js +1 -2
  156. package/src/sap/m/P13nDimMeasureItem.js +1 -2
  157. package/src/sap/m/P13nDimMeasurePanel.js +6 -5
  158. package/src/sap/m/P13nFilterItem.js +1 -2
  159. package/src/sap/m/P13nFilterPanel.js +1 -2
  160. package/src/sap/m/P13nGroupItem.js +1 -2
  161. package/src/sap/m/P13nGroupPanel.js +1 -2
  162. package/src/sap/m/P13nItem.js +1 -2
  163. package/src/sap/m/P13nPanel.js +1 -2
  164. package/src/sap/m/P13nSelectionItem.js +1 -2
  165. package/src/sap/m/P13nSelectionPanel.js +1 -2
  166. package/src/sap/m/P13nSortItem.js +1 -2
  167. package/src/sap/m/P13nSortPanel.js +1 -2
  168. package/src/sap/m/PDFViewer.js +8 -5
  169. package/src/sap/m/Page.js +9 -7
  170. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -2
  171. package/src/sap/m/PagingButton.js +4 -4
  172. package/src/sap/m/Panel.js +117 -113
  173. package/src/sap/m/PlanningCalendar.js +6 -7
  174. package/src/sap/m/PlanningCalendarHeader.js +135 -129
  175. package/src/sap/m/PlanningCalendarLegend.js +26 -23
  176. package/src/sap/m/PlanningCalendarRow.js +1 -2
  177. package/src/sap/m/PlanningCalendarView.js +1 -2
  178. package/src/sap/m/Popover.js +15 -16
  179. package/src/sap/m/PopoverRenderer.js +5 -4
  180. package/src/sap/m/ProgressIndicator.js +85 -82
  181. package/src/sap/m/ProgressIndicatorRenderer.js +1 -1
  182. package/src/sap/m/PullToRefresh.js +37 -35
  183. package/src/sap/m/QuickView.js +1 -2
  184. package/src/sap/m/QuickViewBase.js +1 -2
  185. package/src/sap/m/QuickViewCard.js +4 -3
  186. package/src/sap/m/QuickViewGroup.js +1 -2
  187. package/src/sap/m/QuickViewGroupElement.js +1 -2
  188. package/src/sap/m/QuickViewPage.js +1 -2
  189. package/src/sap/m/RadioButton.js +117 -114
  190. package/src/sap/m/RadioButtonGroup.js +90 -88
  191. package/src/sap/m/RangeSlider.js +9 -6
  192. package/src/sap/m/RangeSliderRenderer.js +2 -2
  193. package/src/sap/m/RatingIndicator.js +104 -100
  194. package/src/sap/m/RatingIndicatorRenderer.js +3 -5
  195. package/src/sap/m/ResponsivePopover.js +209 -209
  196. package/src/sap/m/ResponsiveScale.js +1 -2
  197. package/src/sap/m/ScrollBar.js +31 -28
  198. package/src/sap/m/ScrollContainer.js +9 -7
  199. package/src/sap/m/SearchField.js +185 -182
  200. package/src/sap/m/SegmentedButton.js +120 -118
  201. package/src/sap/m/SegmentedButtonItem.js +1 -2
  202. package/src/sap/m/Select.js +22 -9
  203. package/src/sap/m/SelectDialog.js +22 -17
  204. package/src/sap/m/SelectDialogBase.js +1 -2
  205. package/src/sap/m/SelectList.js +4 -3
  206. package/src/sap/m/SelectionDetails.js +97 -92
  207. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  208. package/src/sap/m/SelectionDetailsItem.js +1 -2
  209. package/src/sap/m/SelectionDetailsItemLine.js +1 -2
  210. package/src/sap/m/Shell.js +111 -107
  211. package/src/sap/m/SimpleFixFlex.js +5 -5
  212. package/src/sap/m/SinglePlanningCalendar.js +342 -338
  213. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  214. package/src/sap/m/SinglePlanningCalendarGrid.js +25 -10
  215. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +8 -7
  216. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +16 -7
  217. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  218. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  219. package/src/sap/m/SinglePlanningCalendarWeekView.js +5 -4
  220. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +5 -4
  221. package/src/sap/m/SlideTile.js +10 -7
  222. package/src/sap/m/Slider.js +180 -175
  223. package/src/sap/m/SliderRenderer.js +4 -4
  224. package/src/sap/m/SliderTooltip.js +5 -5
  225. package/src/sap/m/SliderTooltipBase.js +4 -3
  226. package/src/sap/m/SliderTooltipContainer.js +10 -6
  227. package/src/sap/m/SplitApp.js +52 -49
  228. package/src/sap/m/SplitButton.js +103 -96
  229. package/src/sap/m/SplitContainer.js +405 -420
  230. package/src/sap/m/StandardDynamicDateOption.js +1 -2
  231. package/src/sap/m/StandardListItem.js +116 -113
  232. package/src/sap/m/StandardTile.js +64 -61
  233. package/src/sap/m/StandardTreeItem.js +20 -17
  234. package/src/sap/m/StepInput.js +4 -3
  235. package/src/sap/m/SuggestionItem.js +1 -2
  236. package/src/sap/m/SuggestionsPopover.js +1 -1
  237. package/src/sap/m/Switch.js +79 -74
  238. package/src/sap/m/SwitchRenderer.js +3 -3
  239. package/src/sap/m/TabContainer.js +4 -3
  240. package/src/sap/m/TabContainerItem.js +1 -2
  241. package/src/sap/m/TabStrip.js +13 -11
  242. package/src/sap/m/TabStripItem.js +1 -1
  243. package/src/sap/m/Table.js +177 -174
  244. package/src/sap/m/TablePersoController.js +6 -5
  245. package/src/sap/m/TablePersoDialog.js +6 -4
  246. package/src/sap/m/TablePersoProvider.js +1 -1
  247. package/src/sap/m/TableRenderer.js +1 -1
  248. package/src/sap/m/TableSelectDialog.js +1 -3
  249. package/src/sap/m/Text.js +4 -3
  250. package/src/sap/m/TextArea.js +87 -84
  251. package/src/sap/m/Tile.js +20 -17
  252. package/src/sap/m/TileContainer.js +73 -73
  253. package/src/sap/m/TileContent.js +57 -6
  254. package/src/sap/m/TimePicker.js +15 -10
  255. package/src/sap/m/TimePickerClock.js +2 -2
  256. package/src/sap/m/TimePickerClocks.js +4 -2
  257. package/src/sap/m/TimePickerInputs.js +4 -2
  258. package/src/sap/m/TimePickerInternals.js +11 -7
  259. package/src/sap/m/TimePickerSlider.js +5 -4
  260. package/src/sap/m/TimePickerSliders.js +11 -7
  261. package/src/sap/m/TimePickerSlidersRenderer.js +2 -2
  262. package/src/sap/m/Title.js +109 -106
  263. package/src/sap/m/TitlePropagationSupport.js +4 -4
  264. package/src/sap/m/ToDoCardRenderer.js +161 -0
  265. package/src/sap/m/ToggleButton.js +29 -26
  266. package/src/sap/m/Token.js +97 -94
  267. package/src/sap/m/Tokenizer.js +153 -150
  268. package/src/sap/m/Toolbar.js +104 -101
  269. package/src/sap/m/ToolbarLayoutData.js +1 -2
  270. package/src/sap/m/ToolbarSeparator.js +11 -8
  271. package/src/sap/m/ToolbarSpacer.js +16 -13
  272. package/src/sap/m/Tree.js +32 -29
  273. package/src/sap/m/TreeItemBase.js +8 -5
  274. package/src/sap/m/TreeItemBaseRenderer.js +3 -3
  275. package/src/sap/m/UploadCollection.js +8 -5
  276. package/src/sap/m/UploadCollectionItem.js +1 -2
  277. package/src/sap/m/UploadCollectionParameter.js +1 -2
  278. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -2
  279. package/src/sap/m/VBox.js +9 -6
  280. package/src/sap/m/ValueStateHeader.js +1 -2
  281. package/src/sap/m/VariantItem.js +6 -1
  282. package/src/sap/m/VariantManagement.js +28 -8
  283. package/src/sap/m/ViewSettingsCustomItem.js +1 -2
  284. package/src/sap/m/ViewSettingsCustomTab.js +1 -2
  285. package/src/sap/m/ViewSettingsDialog.js +189 -188
  286. package/src/sap/m/ViewSettingsFilterItem.js +1 -2
  287. package/src/sap/m/ViewSettingsItem.js +1 -2
  288. package/src/sap/m/VisibleItem.js +1 -1
  289. package/src/sap/m/WheelSlider.js +5 -4
  290. package/src/sap/m/WheelSliderContainer.js +4 -2
  291. package/src/sap/m/WheelSliderContainerRenderer.js +2 -2
  292. package/src/sap/m/Wizard.js +4 -3
  293. package/src/sap/m/WizardProgressNavigator.js +52 -49
  294. package/src/sap/m/WizardStep.js +4 -3
  295. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  296. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  297. package/src/sap/m/changeHandler/CombineButtons.js +4 -3
  298. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  299. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  300. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  301. package/src/sap/m/library.js +10 -115
  302. package/src/sap/m/messagebundle.properties +18 -12
  303. package/src/sap/m/messagebundle_ar.properties +6 -4
  304. package/src/sap/m/messagebundle_bg.properties +5 -3
  305. package/src/sap/m/messagebundle_ca.properties +8 -6
  306. package/src/sap/m/messagebundle_cs.properties +16 -14
  307. package/src/sap/m/messagebundle_cy.properties +5 -3
  308. package/src/sap/m/messagebundle_da.properties +5 -3
  309. package/src/sap/m/messagebundle_de.properties +14 -12
  310. package/src/sap/m/messagebundle_el.properties +5 -3
  311. package/src/sap/m/messagebundle_en.properties +5 -3
  312. package/src/sap/m/messagebundle_en_GB.properties +5 -3
  313. package/src/sap/m/messagebundle_en_US_sappsd.properties +5 -1
  314. package/src/sap/m/messagebundle_en_US_saprigi.properties +9 -7
  315. package/src/sap/m/messagebundle_en_US_saptrc.properties +2 -0
  316. package/src/sap/m/messagebundle_es.properties +5 -3
  317. package/src/sap/m/messagebundle_es_MX.properties +5 -3
  318. package/src/sap/m/messagebundle_et.properties +5 -3
  319. package/src/sap/m/messagebundle_fi.properties +5 -3
  320. package/src/sap/m/messagebundle_fr.properties +6 -4
  321. package/src/sap/m/messagebundle_fr_CA.properties +6 -4
  322. package/src/sap/m/messagebundle_hi.properties +5 -3
  323. package/src/sap/m/messagebundle_hr.properties +5 -3
  324. package/src/sap/m/messagebundle_hu.properties +5 -3
  325. package/src/sap/m/messagebundle_id.properties +5 -3
  326. package/src/sap/m/messagebundle_it.properties +5 -3
  327. package/src/sap/m/messagebundle_iw.properties +5 -3
  328. package/src/sap/m/messagebundle_ja.properties +5 -3
  329. package/src/sap/m/messagebundle_kk.properties +5 -3
  330. package/src/sap/m/messagebundle_ko.properties +5 -3
  331. package/src/sap/m/messagebundle_lt.properties +6 -4
  332. package/src/sap/m/messagebundle_lv.properties +5 -3
  333. package/src/sap/m/messagebundle_ms.properties +5 -3
  334. package/src/sap/m/messagebundle_nl.properties +5 -3
  335. package/src/sap/m/messagebundle_no.properties +5 -3
  336. package/src/sap/m/messagebundle_pl.properties +5 -3
  337. package/src/sap/m/messagebundle_pt.properties +5 -3
  338. package/src/sap/m/messagebundle_pt_PT.properties +5 -3
  339. package/src/sap/m/messagebundle_ro.properties +5 -3
  340. package/src/sap/m/messagebundle_ru.properties +5 -3
  341. package/src/sap/m/messagebundle_sh.properties +5 -3
  342. package/src/sap/m/messagebundle_sk.properties +5 -3
  343. package/src/sap/m/messagebundle_sl.properties +5 -3
  344. package/src/sap/m/messagebundle_sv.properties +5 -3
  345. package/src/sap/m/messagebundle_th.properties +5 -3
  346. package/src/sap/m/messagebundle_tr.properties +5 -3
  347. package/src/sap/m/messagebundle_uk.properties +5 -3
  348. package/src/sap/m/messagebundle_vi.properties +5 -3
  349. package/src/sap/m/messagebundle_zh_CN.properties +5 -3
  350. package/src/sap/m/messagebundle_zh_TW.properties +5 -3
  351. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  352. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  353. package/src/sap/m/p13n/BasePanel.js +5 -1
  354. package/src/sap/m/p13n/Container.js +1 -1
  355. package/src/sap/m/p13n/Engine.js +84 -79
  356. package/src/sap/m/p13n/GroupController.js +3 -4
  357. package/src/sap/m/p13n/GroupPanel.js +1 -1
  358. package/src/sap/m/p13n/MetadataHelper.js +8 -0
  359. package/src/sap/m/p13n/Popup.js +1 -1
  360. package/src/sap/m/p13n/QueryPanel.js +1 -1
  361. package/src/sap/m/p13n/SelectionController.js +8 -7
  362. package/src/sap/m/p13n/SelectionPanel.js +29 -13
  363. package/src/sap/m/p13n/SortController.js +3 -4
  364. package/src/sap/m/p13n/SortPanel.js +1 -1
  365. package/src/sap/m/p13n/modification/FlexModificationHandler.js +1 -1
  366. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +1 -1
  367. package/src/sap/m/p13n/modification/ModificationHandler.js +11 -0
  368. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  369. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  370. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  371. package/src/sap/m/plugins/CellSelector.js +459 -76
  372. package/src/sap/m/plugins/ColumnResizer.js +1 -2
  373. package/src/sap/m/plugins/DataStateIndicator.js +1 -2
  374. package/src/sap/m/plugins/PasteProvider.js +1 -2
  375. package/src/sap/m/plugins/PluginBase.js +1 -2
  376. package/src/sap/m/semantic/AddAction.js +1 -2
  377. package/src/sap/m/semantic/CancelAction.js +1 -2
  378. package/src/sap/m/semantic/DeleteAction.js +1 -2
  379. package/src/sap/m/semantic/DetailPage.js +1 -2
  380. package/src/sap/m/semantic/DiscussInJamAction.js +1 -2
  381. package/src/sap/m/semantic/EditAction.js +1 -2
  382. package/src/sap/m/semantic/FavoriteAction.js +1 -2
  383. package/src/sap/m/semantic/FilterAction.js +1 -2
  384. package/src/sap/m/semantic/FilterSelect.js +1 -2
  385. package/src/sap/m/semantic/FlagAction.js +1 -2
  386. package/src/sap/m/semantic/ForwardAction.js +1 -2
  387. package/src/sap/m/semantic/FullscreenPage.js +1 -2
  388. package/src/sap/m/semantic/GroupAction.js +1 -2
  389. package/src/sap/m/semantic/GroupSelect.js +1 -2
  390. package/src/sap/m/semantic/MainAction.js +1 -2
  391. package/src/sap/m/semantic/MasterPage.js +1 -2
  392. package/src/sap/m/semantic/MessagesIndicator.js +1 -2
  393. package/src/sap/m/semantic/MultiSelectAction.js +1 -2
  394. package/src/sap/m/semantic/NegativeAction.js +1 -2
  395. package/src/sap/m/semantic/OpenInAction.js +1 -2
  396. package/src/sap/m/semantic/PositiveAction.js +1 -2
  397. package/src/sap/m/semantic/PrintAction.js +1 -2
  398. package/src/sap/m/semantic/SaveAction.js +1 -2
  399. package/src/sap/m/semantic/Segment.js +1 -2
  400. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  401. package/src/sap/m/semantic/SemanticButton.js +1 -2
  402. package/src/sap/m/semantic/SemanticConfiguration.js +1 -2
  403. package/src/sap/m/semantic/SemanticControl.js +1 -2
  404. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -2
  405. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -2
  406. package/src/sap/m/semantic/SemanticPage.js +4 -3
  407. package/src/sap/m/semantic/SemanticSelect.js +1 -2
  408. package/src/sap/m/semantic/SemanticToggleButton.js +1 -2
  409. package/src/sap/m/semantic/SendEmailAction.js +1 -2
  410. package/src/sap/m/semantic/SendMessageAction.js +1 -2
  411. package/src/sap/m/semantic/ShareInJamAction.js +1 -2
  412. package/src/sap/m/semantic/ShareMenu.js +1 -2
  413. package/src/sap/m/semantic/ShareMenuPage.js +1 -2
  414. package/src/sap/m/semantic/SortAction.js +1 -2
  415. package/src/sap/m/semantic/SortSelect.js +1 -2
  416. package/src/sap/m/table/Util.js +1 -1
  417. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  418. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  419. package/src/sap/m/table/columnmenu/Item.js +1 -1
  420. package/src/sap/m/table/columnmenu/ItemBase.js +2 -2
  421. package/src/sap/m/table/columnmenu/ItemContainer.js +1 -1
  422. package/src/sap/m/table/columnmenu/Menu.js +20 -9
  423. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  424. package/src/sap/m/table/columnmenu/QuickActionBase.js +2 -2
  425. package/src/sap/m/table/columnmenu/QuickActionContainer.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  429. package/src/sap/m/table/columnmenu/QuickSort.js +6 -4
  430. package/src/sap/m/table/columnmenu/QuickSortItem.js +4 -8
  431. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  433. package/src/sap/m/themes/base/ActionTile.less +239 -0
  434. package/src/sap/m/themes/base/Bar.less +6 -0
  435. package/src/sap/m/themes/base/CellSelector.less +109 -2
  436. package/src/sap/m/themes/base/IconTabBar.less +2 -0
  437. package/src/sap/m/themes/base/Link.less +4 -0
  438. package/src/sap/m/themes/base/Page.less +2 -1
  439. package/src/sap/m/themes/base/library.source.less +1 -0
  440. package/src/sap/m/upload/UploadSet.js +104 -10
  441. package/src/sap/m/upload/UploadSetItem.js +1 -2
  442. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  443. package/src/sap/m/upload/Uploader.js +0 -1
  444. package/src/sap/m/upload/UploaderHttpRequestMethod.js +0 -1
@@ -52,141 +52,144 @@ sap.ui.define([
52
52
  * be closed.
53
53
  *
54
54
  * @extends sap.m.List
55
- * @version 1.106.0
55
+ * @version 1.107.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
59
59
  * @alias sap.m.FacetFilterList
60
60
  * @see {@link topic:395392f30f2a4c4d80d110d5f923da77 Facet Filter List}
61
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
62
61
  */
63
- var FacetFilterList = List.extend("sap.m.FacetFilterList", /** @lends sap.m.FacetFilterList.prototype */ { metadata : {
64
-
65
- library : "sap.m",
66
- properties : {
67
-
68
- /**
69
- * Defines the title of the facet. The facet title is displayed on the facet button when the FacetFilter type is set to <code>Simple</code>. It is also displayed as a list item in the facet page of the dialog.
70
- */
71
- title : {type : "string", group : "Appearance", defaultValue : null},
72
- /**
73
- * If set to <code>true</code>, the item text wraps when it is too long.
74
- */
75
- wordWrap: {type : "boolean", group : "Appearance", defaultValue : false},
76
-
77
- /**
78
- * Specifies whether multiple or single selection is used.
79
- * @deprecated as of version 1.20.0, replaced by <code>setMode</code> method.
80
- * <code>FacetFilterList</code> overrides the <code>setMode</code> method to restrict the possible modes to
81
- * <code>MultiSelect</code> and <code>SingleSelectMaster</code>. All other modes are ignored and will not be set.
82
- */
83
- multiSelect : {type : "boolean", group : "Behavior", defaultValue : true, deprecated: true},
84
-
85
- /**
86
- * Indicates that the list is displayed as a button when the FacetFilter type is set to <code>Simple</code>.
87
- *
88
- * <b>Note:</b> Set the <code>showPersonalization</code> property of the
89
- * <code>FacetFilter</code> to <code>true</code> when this property is set to
90
- * <code>false</code>. This is needed, as the non-active lists are not displayed,
91
- * and without a personalization button they can't be selected by the user.
92
- */
93
- active : {type : "boolean", group : "Behavior", defaultValue : true},
94
-
95
- /**
96
- * If set to <code>true</code>, enables case-insensitive search for OData.
97
- */
98
- enableCaseInsensitiveSearch: {type : "boolean", group : "Behavior", defaultValue : false, deprecated: false},
99
-
100
- /**
101
- * Determines the number of objects that match this item in the target data set when all filter items are selected.
102
- */
103
- allCount : {type : "int", group : "Appearance", defaultValue : null},
104
-
105
- /**
106
- * Sequence that determines the order in which FacetFilterList is shown on the FacetFilter. Lists are rendered by ascending order of sequence.
107
- */
108
- sequence : {type : "int", group : "Behavior", defaultValue : -1},
109
-
110
- /**
111
- * Unique identifier for this filter list.
112
- */
113
- key : {type : "string", group : "Identification", defaultValue : null},
114
-
115
- /**
116
- * Specifies whether remove icon for facet is visible or hidden.
117
- * @since 1.20.4
118
- */
119
- showRemoveFacetIcon : {type : "boolean", group : "Misc", defaultValue : true},
120
-
121
- /**
122
- * Retains the list sequence if it is inactive and made active again.
123
- * @since 1.22.1
124
- */
125
- retainListSequence : {type : "boolean", group : "Misc", defaultValue : false},
126
-
127
- /**
128
- * FacetFilterList data type. Only String data type will provide search function.
129
- */
130
- dataType : {type : "sap.m.FacetFilterListDataType", group : "Misc", defaultValue : FacetFilterListDataType.String}
131
- },
132
- events : {
133
-
134
- /**
135
- * Fired before the filter list is opened.
136
- *
137
- * The default filtering behavior of the sap.m.FacetFilterList can be prevented by calling <code>sap.ui.base.Event.prototype.preventDefault</code> function
138
- * in the <code>listOpen</code> event handler function. If the default filtering behavior is prevented then filtering behavior has to be defined at application level
139
- * inside the <code>listOpen</code> event handler function.
140
- */
141
- listOpen: {
142
- allowPreventDefault: true
62
+ var FacetFilterList = List.extend("sap.m.FacetFilterList", /** @lends sap.m.FacetFilterList.prototype */ {
63
+ metadata : {
64
+
65
+ library : "sap.m",
66
+ properties : {
67
+
68
+ /**
69
+ * Defines the title of the facet. The facet title is displayed on the facet button when the FacetFilter type is set to <code>Simple</code>. It is also displayed as a list item in the facet page of the dialog.
70
+ */
71
+ title : {type : "string", group : "Appearance", defaultValue : null},
72
+ /**
73
+ * If set to <code>true</code>, the item text wraps when it is too long.
74
+ */
75
+ wordWrap: {type : "boolean", group : "Appearance", defaultValue : false},
76
+
77
+ /**
78
+ * Specifies whether multiple or single selection is used.
79
+ * @deprecated as of version 1.20.0, replaced by <code>setMode</code> method.
80
+ * <code>FacetFilterList</code> overrides the <code>setMode</code> method to restrict the possible modes to
81
+ * <code>MultiSelect</code> and <code>SingleSelectMaster</code>. All other modes are ignored and will not be set.
82
+ */
83
+ multiSelect : {type : "boolean", group : "Behavior", defaultValue : true, deprecated: true},
84
+
85
+ /**
86
+ * Indicates that the list is displayed as a button when the FacetFilter type is set to <code>Simple</code>.
87
+ *
88
+ * <b>Note:</b> Set the <code>showPersonalization</code> property of the
89
+ * <code>FacetFilter</code> to <code>true</code> when this property is set to
90
+ * <code>false</code>. This is needed, as the non-active lists are not displayed,
91
+ * and without a personalization button they can't be selected by the user.
92
+ */
93
+ active : {type : "boolean", group : "Behavior", defaultValue : true},
94
+
95
+ /**
96
+ * If set to <code>true</code>, enables case-insensitive search for OData.
97
+ */
98
+ enableCaseInsensitiveSearch: {type : "boolean", group : "Behavior", defaultValue : false, deprecated: false},
99
+
100
+ /**
101
+ * Determines the number of objects that match this item in the target data set when all filter items are selected.
102
+ */
103
+ allCount : {type : "int", group : "Appearance", defaultValue : null},
104
+
105
+ /**
106
+ * Sequence that determines the order in which FacetFilterList is shown on the FacetFilter. Lists are rendered by ascending order of sequence.
107
+ */
108
+ sequence : {type : "int", group : "Behavior", defaultValue : -1},
109
+
110
+ /**
111
+ * Unique identifier for this filter list.
112
+ */
113
+ key : {type : "string", group : "Identification", defaultValue : null},
114
+
115
+ /**
116
+ * Specifies whether remove icon for facet is visible or hidden.
117
+ * @since 1.20.4
118
+ */
119
+ showRemoveFacetIcon : {type : "boolean", group : "Misc", defaultValue : true},
120
+
121
+ /**
122
+ * Retains the list sequence if it is inactive and made active again.
123
+ * @since 1.22.1
124
+ */
125
+ retainListSequence : {type : "boolean", group : "Misc", defaultValue : false},
126
+
127
+ /**
128
+ * FacetFilterList data type. Only String data type will provide search function.
129
+ */
130
+ dataType : {type : "sap.m.FacetFilterListDataType", group : "Misc", defaultValue : FacetFilterListDataType.String}
143
131
  },
144
-
145
- /**
146
- * Triggered after the list of items is closed.
147
- */
148
- listClose : {
149
- parameters : {
150
-
151
- /**
152
- * Array of selected items. Items returned are only copies and therefore can only be used to read properties, not set them.
153
- */
154
- selectedItems : {type : "sap.m.FacetFilterItem[]"},
155
-
156
- /**
157
- * <code>True</code> if the select All checkbox is selected. This will be <code>false</code> if all items are actually selected (every FacetFilterItem.selected == true). In that case selectedItems will contain all selected items.
158
- */
159
- allSelected : {type : "boolean"},
160
-
161
- /**
162
- * Associative array containing the keys of selected FacetFilterItems. Unlike the selectedItems parameter, this contains only the keys for all selected items, not the items themselves. Being an associative array, each object property is the FacetFilterItem key value and the value of the property is the FacetFilterItem text.
163
- */
164
- selectedKeys : {type : "object"}
165
- }
166
- },
167
-
168
- /**
169
- * Triggered after the Search button is pressed or by pressing Enter in search input field.
170
- *
171
- * The default filtering behavior of the control can be prevented by calling <code>sap.ui.base.Event.prototype.preventDefault</code>
172
- * function in the <code>search</code> event handler function.
173
- * Preventing the default behavior is useful in cases when items aggregation could be taking long time fetching from the OData model.
174
- * As a result, no list items are loaded initially.
175
- * If the default filtering behavior is prevented then filtering behavior has to be defined at application level
176
- * inside the <code>search</code> event handler function.
177
- * @since 1.76
178
- */
179
- search: {
180
- allowPreventDefault : true,
181
- parameters : {
182
- /**
183
- * Value received as user input in the <code>sap.m.SearchField</code>, and taken as a JavaScript string object.
184
- */
185
- term: {type: "string"}
132
+ events : {
133
+
134
+ /**
135
+ * Fired before the filter list is opened.
136
+ *
137
+ * The default filtering behavior of the sap.m.FacetFilterList can be prevented by calling <code>sap.ui.base.Event.prototype.preventDefault</code> function
138
+ * in the <code>listOpen</code> event handler function. If the default filtering behavior is prevented then filtering behavior has to be defined at application level
139
+ * inside the <code>listOpen</code> event handler function.
140
+ */
141
+ listOpen: {
142
+ allowPreventDefault: true
143
+ },
144
+
145
+ /**
146
+ * Triggered after the list of items is closed.
147
+ */
148
+ listClose : {
149
+ parameters : {
150
+
151
+ /**
152
+ * Array of selected items. Items returned are only copies and therefore can only be used to read properties, not set them.
153
+ */
154
+ selectedItems : {type : "sap.m.FacetFilterItem[]"},
155
+
156
+ /**
157
+ * <code>True</code> if the select All checkbox is selected. This will be <code>false</code> if all items are actually selected (every FacetFilterItem.selected == true). In that case selectedItems will contain all selected items.
158
+ */
159
+ allSelected : {type : "boolean"},
160
+
161
+ /**
162
+ * Associative array containing the keys of selected FacetFilterItems. Unlike the selectedItems parameter, this contains only the keys for all selected items, not the items themselves. Being an associative array, each object property is the FacetFilterItem key value and the value of the property is the FacetFilterItem text.
163
+ */
164
+ selectedKeys : {type : "object"}
165
+ }
166
+ },
167
+
168
+ /**
169
+ * Triggered after the Search button is pressed or by pressing Enter in search input field.
170
+ *
171
+ * The default filtering behavior of the control can be prevented by calling <code>sap.ui.base.Event.prototype.preventDefault</code>
172
+ * function in the <code>search</code> event handler function.
173
+ * Preventing the default behavior is useful in cases when items aggregation could be taking long time fetching from the OData model.
174
+ * As a result, no list items are loaded initially.
175
+ * If the default filtering behavior is prevented then filtering behavior has to be defined at application level
176
+ * inside the <code>search</code> event handler function.
177
+ * @since 1.76
178
+ */
179
+ search: {
180
+ allowPreventDefault : true,
181
+ parameters : {
182
+ /**
183
+ * Value received as user input in the <code>sap.m.SearchField</code>, and taken as a JavaScript string object.
184
+ */
185
+ term: {type: "string"}
186
+ }
186
187
  }
187
188
  }
188
- }
189
- }});
189
+ },
190
+
191
+ renderer: FacetFilterListRenderer
192
+ });
190
193
 
191
194
  /*
192
195
  * Sets the title property.
@@ -332,7 +335,6 @@ sap.ui.define([
332
335
 
333
336
  * @public
334
337
  * @since 1.20.3
335
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
336
338
  */
337
339
  FacetFilterList.prototype.getSelectedKeys = function() {
338
340
  var oResult = {};
@@ -353,7 +355,6 @@ sap.ui.define([
353
355
  * @type {void}
354
356
  * @public
355
357
  * @since 1.20.3
356
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
357
358
  */
358
359
  FacetFilterList.prototype.setSelectedKeys = function(oKeys) {
359
360
 
@@ -400,7 +401,6 @@ sap.ui.define([
400
401
  * @type {void}
401
402
  * @public
402
403
  * @since 1.20.4
403
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
404
404
  */
405
405
  FacetFilterList.prototype.removeSelectedKey = function(sKey, sText) {
406
406
 
@@ -419,7 +419,6 @@ sap.ui.define([
419
419
  * @type {void}
420
420
  * @public
421
421
  * @since 1.20.4
422
- * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
423
422
  */
424
423
  FacetFilterList.prototype.removeSelectedKeys = function() {
425
424
  this._oSelectedKeys = {};
@@ -28,12 +28,11 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.106.0
31
+ * @version 1.107.0
32
32
  * @since 1.34
33
33
  *
34
34
  * @public
35
35
  * @alias sap.m.FeedContent
36
- * @ui5-metamodel This control will also be described in the UI5 (legacy) designtime metamodel
37
36
  */
38
37
  var FeedContent = Control.extend("sap.m.FeedContent", /** @lends sap.m.FeedContent.prototype */ {
39
38
  metadata : {
@@ -86,7 +85,9 @@ sap.ui.define([
86
85
  */
87
86
  "press" : {}
88
87
  }
89
- }
88
+ },
89
+
90
+ renderer: FeedContentRenderer
90
91
  });
91
92
 
92
93
  /* --- Lifecycle Handling --- */
@@ -1,4 +1,4 @@
1
- /*!
1
+ /*!
2
2
  * OpenUI5
3
3
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
@@ -40,144 +40,147 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.106.0
43
+ * @version 1.107.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
47
47
  * @since 1.22
48
48
  * @alias sap.m.FeedInput
49
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
50
49
  */
51
- var FeedInput = Control.extend("sap.m.FeedInput", /** @lends sap.m.FeedInput.prototype */ { metadata : {
52
-
53
- library : "sap.m",
54
- designtime: "sap/m/designtime/FeedInput.designtime",
55
- properties : {
56
-
57
- /**
58
- * Set this flag to "false" to disable both text input and post button.
59
- */
60
- enabled : {type : "boolean", group : "Behavior", defaultValue : true},
61
-
62
- /**
63
- * Defines the number of visible text lines for the control.
64
- * <b>Note:</b> Minimum value is 2, maximum value is 15.
65
- */
66
- rows : {type : "int", group : "Appearance", defaultValue : 2},
67
-
68
- /**
69
- * Determines whether the characters, exceeding the maximum allowed character count, are visible in the input field.
70
- *
71
- * If set to <code>false</code>, the user is not allowed to enter more characters than what is set in the <code>maxLength</code> property.
72
- * If set to <code>true</code>, the characters exceeding the <code>maxLength</code> value are selected on paste and the counter below
73
- * the input field displays their number.
74
- */
75
- showExceededText: {type: "boolean", group: "Behavior", defaultValue: false},
76
-
77
- /**
78
- * The maximum length (the maximum number of characters) for the feed's input value. By default this is not limited.
79
- */
80
- maxLength : {type : "int", group : "Behavior", defaultValue : 0},
81
-
82
- /**
83
- * Indicates the ability of the control to automatically grow and shrink dynamically with its content.
84
- */
85
- growing : {type : "boolean", group : "Behavior", defaultValue : false},
86
-
87
- /**
88
- * Defines the maximum number of lines that the control can grow.
89
- * Value is set to 0 by default, which means an unlimited numbers of rows.
90
- * <b>Note:</b> Minimum value to set is equal to the <code>rows</code> property value, maximum value is 15.
91
- */
92
- growingMaxLines : {type : "int", group : "Behavior", defaultValue : 0},
93
-
94
- /**
95
- * The placeholder text shown in the input area as long as the user has not entered any text value.
96
- */
97
- placeholder : {type : "string", group : "Appearance", defaultValue : "Post something here"},
98
-
99
- /**
100
- * The text value of the feed input. As long as the user has not entered any text the post button is disabled
101
- */
102
- value : {type : "string", group : "Data", defaultValue : null},
103
-
104
- /**
105
- * Icon to be displayed as a graphical element within the feed input. This can be an image or an icon from the icon font.
106
- */
107
- icon : {type : "sap.ui.core.URI", group : "Data", defaultValue : null},
108
-
109
- /**
110
- * Defines the shape of the icon.
111
- * @since 1.88
112
- */
113
- iconDisplayShape: { type: "sap.m.AvatarShape", defaultValue: AvatarShape.Circle},
114
-
115
- /**
116
- * Defines the initials of the icon.
117
- * @since 1.88
118
- */
119
- iconInitials: { type: "string", defaultValue: "" },
120
-
121
- /**
122
- * Defines the size of the icon.
123
- * @since 1.88
124
- */
125
- iconSize: { type: "sap.m.AvatarSize", defaultValue: AvatarSize.M},
126
-
127
- /**
128
- * If set to "true" (default), icons will be displayed. In case no icon is provided the standard placeholder will be displayed. if set to "false" icons are hidden
129
- */
130
- showIcon : {type : "boolean", group : "Behavior", defaultValue : true},
131
-
132
- /**
133
- * Some mobile devices support higher resolution images while others do not. Therefore, you should provide image resources for all relevant densities.
134
- * If the property is set to "true", one or more requests are sent to the server to try and get the perfect density version of an image. If an image of a certain density is not available, the image control falls back to the default image, which should be provided.
135
- *
136
- * If you do not have higher resolution images, you should set the property to "false" to avoid unnecessary round-trips.
137
- *
138
- * Please be aware that this property is relevant only for images and not for icons.
139
- *
140
- * Deprecated as of version 1.88. Image is replaced by avatar.
141
- */
142
- iconDensityAware : {type : "boolean", group : "Appearance", defaultValue : true},
143
-
144
- /**
145
- * Sets a new tooltip for Submit button. The tooltip can either be a simple string (which in most cases will be rendered as the title attribute of this element)
146
- * or an instance of sap.ui.core.TooltipBase.
147
- * If a new tooltip is set, any previously set tooltip is deactivated.
148
- * The default value is set language dependent.
149
- * @since 1.28
150
- */
151
- buttonTooltip : {type : "sap.ui.core.TooltipBase", group : "Accessibility", defaultValue : "Submit"},
152
-
153
- /**
154
- * Text for Picture which will be read by screenreader.
155
- * If a new ariaLabelForPicture is set, any previously set ariaLabelForPicture is deactivated.
156
- * Deprecated as of version 1.88. This will not have any effect in code now.
157
- */
158
- ariaLabelForPicture : {type : "string", group : "Accessibility", defaultValue : null}
159
- },
160
- aggregations : {
161
- /**
162
- * Defines the inner avatar control.
163
- */
164
- _avatar: { type: "sap.m.Avatar", multiple: false, visibility: "hidden" }
165
- },
166
- events : {
167
-
168
- /**
169
- * The Post event is triggered when the user has entered a value and pressed the post button. After firing this event, the value is reset.
170
- */
171
- post : {
172
- parameters : {
173
- /**
174
- * The value of the feed input before reseting it.
175
- */
176
- value : {type : "string"}
50
+ var FeedInput = Control.extend("sap.m.FeedInput", /** @lends sap.m.FeedInput.prototype */ {
51
+ metadata : {
52
+
53
+ library : "sap.m",
54
+ designtime: "sap/m/designtime/FeedInput.designtime",
55
+ properties : {
56
+
57
+ /**
58
+ * Set this flag to "false" to disable both text input and post button.
59
+ */
60
+ enabled : {type : "boolean", group : "Behavior", defaultValue : true},
61
+
62
+ /**
63
+ * Defines the number of visible text lines for the control.
64
+ * <b>Note:</b> Minimum value is 2, maximum value is 15.
65
+ */
66
+ rows : {type : "int", group : "Appearance", defaultValue : 2},
67
+
68
+ /**
69
+ * Determines whether the characters, exceeding the maximum allowed character count, are visible in the input field.
70
+ *
71
+ * If set to <code>false</code>, the user is not allowed to enter more characters than what is set in the <code>maxLength</code> property.
72
+ * If set to <code>true</code>, the characters exceeding the <code>maxLength</code> value are selected on paste and the counter below
73
+ * the input field displays their number.
74
+ */
75
+ showExceededText: {type: "boolean", group: "Behavior", defaultValue: false},
76
+
77
+ /**
78
+ * The maximum length (the maximum number of characters) for the feed's input value. By default this is not limited.
79
+ */
80
+ maxLength : {type : "int", group : "Behavior", defaultValue : 0},
81
+
82
+ /**
83
+ * Indicates the ability of the control to automatically grow and shrink dynamically with its content.
84
+ */
85
+ growing : {type : "boolean", group : "Behavior", defaultValue : false},
86
+
87
+ /**
88
+ * Defines the maximum number of lines that the control can grow.
89
+ * Value is set to 0 by default, which means an unlimited numbers of rows.
90
+ * <b>Note:</b> Minimum value to set is equal to the <code>rows</code> property value, maximum value is 15.
91
+ */
92
+ growingMaxLines : {type : "int", group : "Behavior", defaultValue : 0},
93
+
94
+ /**
95
+ * The placeholder text shown in the input area as long as the user has not entered any text value.
96
+ */
97
+ placeholder : {type : "string", group : "Appearance", defaultValue : "Post something here"},
98
+
99
+ /**
100
+ * The text value of the feed input. As long as the user has not entered any text the post button is disabled
101
+ */
102
+ value : {type : "string", group : "Data", defaultValue : null},
103
+
104
+ /**
105
+ * Icon to be displayed as a graphical element within the feed input. This can be an image or an icon from the icon font.
106
+ */
107
+ icon : {type : "sap.ui.core.URI", group : "Data", defaultValue : null},
108
+
109
+ /**
110
+ * Defines the shape of the icon.
111
+ * @since 1.88
112
+ */
113
+ iconDisplayShape: { type: "sap.m.AvatarShape", defaultValue: AvatarShape.Circle},
114
+
115
+ /**
116
+ * Defines the initials of the icon.
117
+ * @since 1.88
118
+ */
119
+ iconInitials: { type: "string", defaultValue: "" },
120
+
121
+ /**
122
+ * Defines the size of the icon.
123
+ * @since 1.88
124
+ */
125
+ iconSize: { type: "sap.m.AvatarSize", defaultValue: AvatarSize.M},
126
+
127
+ /**
128
+ * If set to "true" (default), icons will be displayed. In case no icon is provided the standard placeholder will be displayed. if set to "false" icons are hidden
129
+ */
130
+ showIcon : {type : "boolean", group : "Behavior", defaultValue : true},
131
+
132
+ /**
133
+ * Some mobile devices support higher resolution images while others do not. Therefore, you should provide image resources for all relevant densities.
134
+ * If the property is set to "true", one or more requests are sent to the server to try and get the perfect density version of an image. If an image of a certain density is not available, the image control falls back to the default image, which should be provided.
135
+ *
136
+ * If you do not have higher resolution images, you should set the property to "false" to avoid unnecessary round-trips.
137
+ *
138
+ * Please be aware that this property is relevant only for images and not for icons.
139
+ *
140
+ * Deprecated as of version 1.88. Image is replaced by avatar.
141
+ */
142
+ iconDensityAware : {type : "boolean", group : "Appearance", defaultValue : true},
143
+
144
+ /**
145
+ * Sets a new tooltip for Submit button. The tooltip can either be a simple string (which in most cases will be rendered as the title attribute of this element)
146
+ * or an instance of sap.ui.core.TooltipBase.
147
+ * If a new tooltip is set, any previously set tooltip is deactivated.
148
+ * The default value is set language dependent.
149
+ * @since 1.28
150
+ */
151
+ buttonTooltip : {type : "sap.ui.core.TooltipBase", group : "Accessibility", defaultValue : "Submit"},
152
+
153
+ /**
154
+ * Text for Picture which will be read by screenreader.
155
+ * If a new ariaLabelForPicture is set, any previously set ariaLabelForPicture is deactivated.
156
+ * Deprecated as of version 1.88. This will not have any effect in code now.
157
+ */
158
+ ariaLabelForPicture : {type : "string", group : "Accessibility", defaultValue : null}
159
+ },
160
+ aggregations : {
161
+ /**
162
+ * Defines the inner avatar control.
163
+ */
164
+ _avatar: { type: "sap.m.Avatar", multiple: false, visibility: "hidden" }
165
+ },
166
+ events : {
167
+
168
+ /**
169
+ * The Post event is triggered when the user has entered a value and pressed the post button. After firing this event, the value is reset.
170
+ */
171
+ post : {
172
+ parameters : {
173
+ /**
174
+ * The value of the feed input before reseting it.
175
+ */
176
+ value : {type : "string"}
177
+ }
177
178
  }
178
179
  }
179
- }
180
- }});
180
+ },
181
+
182
+ renderer: FeedInputRenderer
183
+ });
181
184
 
182
185
 
183
186
  /*
@@ -403,8 +406,8 @@ sap.ui.define([
403
406
  FeedInput.prototype.setEnabled = function (bEnabled) {
404
407
  this.setProperty("enabled", bEnabled, true);
405
408
 
406
- //Dynamically adding or removing the css
407
- if (this.getDomRef("outerContainer")) {
409
+ //Dynamically adding or removing the css
410
+ if (this.getDomRef("outerContainer")) {
408
411
  if (bEnabled) {
409
412
  this.getDomRef("outerContainer").classList.remove("sapMFeedInDisabled");
410
413
  } else {