@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
@@ -4,24 +4,29 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(['jquery.sap.global',
8
- './Toolbar',
9
- './Button',
10
- './SuggestionsList',
11
- './SuggestionItem',
12
- 'sap/ui/Device',
13
- 'sap/m/library',
14
- 'sap/ui/core/Core',
15
- 'sap/ui/core/InvisibleText'],
16
- function(jQuery,
17
- Toolbar,
18
- Button,
19
- SuggestionsList,
20
- SuggestionItem,
21
- Device,
22
- library,
23
- Core,
24
- InvisibleText) {
7
+ sap.ui.define([
8
+ "./Toolbar",
9
+ "./Button",
10
+ "./Dialog",
11
+ "./Popover",
12
+ "./SuggestionsList",
13
+ "./SuggestionItem",
14
+ "sap/ui/Device",
15
+ "sap/m/library",
16
+ "sap/ui/core/Core",
17
+ "sap/ui/core/InvisibleText"
18
+ ], function (
19
+ Toolbar,
20
+ Button,
21
+ Dialog,
22
+ Popover,
23
+ SuggestionsList,
24
+ SuggestionItem,
25
+ Device,
26
+ library,
27
+ Core,
28
+ InvisibleText
29
+ ) {
25
30
  "use strict";
26
31
 
27
32
  // shortcut for sap.m.PlacementType
@@ -53,11 +58,6 @@ sap.ui.define(['jquery.sap.global',
53
58
  bUseDialog = Device.system.phone,
54
59
  self = this;
55
60
 
56
- // 1. Conditional loading depending on the device type.
57
- // 2. Resolve circular dependency Dialog -> OverflowToolbar -> SearchField:
58
- //TODO: global jquery call found
59
- jQuery.sap.require(bUseDialog ? "sap.m.Dialog" : "sap.m.Popover");
60
-
61
61
  /* =========================================================== */
62
62
  /* events processing */
63
63
  /* =========================================================== */
@@ -133,7 +133,7 @@ sap.ui.define(['jquery.sap.global',
133
133
  }
134
134
  });
135
135
 
136
- dialog = new (sap.ui.require('sap/m/Dialog'))({
136
+ dialog = new Dialog({
137
137
  stretch: true,
138
138
  customHeader: customHeader,
139
139
  content: getList(),
@@ -164,7 +164,7 @@ sap.ui.define(['jquery.sap.global',
164
164
  }
165
165
 
166
166
  function createPopover() {
167
- var popover = self._oPopover = new (sap.ui.require('sap/m/Popover'))({
167
+ var popover = self._oPopover = new Popover({
168
168
  showArrow: false,
169
169
  showHeader: false,
170
170
  horizontalScrolling: false,
@@ -22,7 +22,7 @@ sap.ui.define(['./library', 'sap/ui/core/Item', 'sap/ui/core/IconPool'],
22
22
  * @extends sap.ui.core.Item
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.92.0
25
+ * @version 1.95.0
26
26
  * @since 1.34
27
27
  *
28
28
  * @constructor
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @alias sap.m.SuggestionsPopover
61
61
  *
62
62
  * @author SAP SE
63
- * @version 1.92.0
63
+ * @version 1.95.0
64
64
  */
65
65
  var SuggestionsPopover = EventProvider.extend("sap.m.SuggestionsPopover", /** @lends sap.m.SuggestionsPopover.prototype */ {
66
66
 
@@ -48,7 +48,7 @@ function(
48
48
  * @extends sap.ui.core.Control
49
49
  *
50
50
  * @author SAP SE
51
- * @version 1.92.0
51
+ * @version 1.95.0
52
52
  *
53
53
  * @constructor
54
54
  * @public
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.92.0
69
+ * @version 1.95.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element',
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.92.0
26
+ * @version 1.95.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -73,7 +73,7 @@ function(
73
73
  * space is exceeded, a horizontal scrollbar appears.
74
74
  *
75
75
  * @extends sap.ui.core.Control
76
- * @version 1.92.0
76
+ * @version 1.95.0
77
77
  *
78
78
  * @constructor
79
79
  * @private
@@ -25,7 +25,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
25
25
  * @extends sap.ui.core.Item
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.92.0
28
+ * @version 1.95.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -19,10 +19,11 @@ sap.ui.define([
19
19
  "sap/ui/events/KeyCodes",
20
20
  "sap/ui/thirdparty/jquery",
21
21
  "sap/m/ListBaseRenderer",
22
+ "sap/ui/core/Icon",
22
23
  // jQuery custom selectors ":sapTabbable"
23
24
  "sap/ui/dom/jquery/Selectors"
24
25
  ],
25
- function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer) {
26
+ function(Core, Device, library, ListBase, ListItemBase, CheckBox, TableRenderer, Log, ResizeHandler, PasteHelper, KeyCodes, jQuery, ListBaseRenderer, Icon) {
26
27
  "use strict";
27
28
 
28
29
 
@@ -64,7 +65,7 @@ sap.ui.define([
64
65
  * @extends sap.m.ListBase
65
66
  *
66
67
  * @author SAP SE
67
- * @version 1.92.0
68
+ * @version 1.95.0
68
69
  *
69
70
  * @constructor
70
71
  * @public
@@ -495,6 +496,10 @@ sap.ui.define([
495
496
  this._selectAllCheckBox.destroy();
496
497
  this._selectAllCheckBox = null;
497
498
  }
499
+ if (this._clearAllButton) {
500
+ this._clearAllButton.destroy();
501
+ this._clearAllButton = null;
502
+ }
498
503
  };
499
504
 
500
505
  Table.prototype.destroyItems = function() {
@@ -522,7 +527,7 @@ sap.ui.define([
522
527
  /**
523
528
  * Getter for aggregation columns.
524
529
  *
525
- * @param {Boolean} [bSort] set true to get the columns in an order that respects personalization settings
530
+ * @param {boolean} [bSort] set true to get the columns in an order that respects personalization settings
526
531
  * @returns {sap.m.Column[]} columns of the Table
527
532
  * @public
528
533
  */
@@ -702,6 +707,7 @@ sap.ui.define([
702
707
  if (!hasPopin) {
703
708
  oColumn.setDisplay(this.getTableDomRef(), !oColumn.isHidden());
704
709
  this._firePopinChangedEvent();
710
+ this._oGrowingDelegate && this._oGrowingDelegate.adaptTriggerButtonWidth(this);
705
711
  return;
706
712
  }
707
713
  }
@@ -793,6 +799,30 @@ sap.ui.define([
793
799
  });
794
800
  };
795
801
 
802
+ /**
803
+ * This method takes care of the clear all icon for table lists. It
804
+ * will automatically be created on demand and returned when needed
805
+ *
806
+ * @private
807
+ * @return {sap.ui.core.Icon} reference to the internal select all checkbox
808
+ */
809
+ Table.prototype._getClearAllButton = function() {
810
+ if (!this._clearAllButton) {
811
+ this._clearAllButton = new Icon({
812
+ id: this.getId() + "-clearSelection",
813
+ src: "sap-icon://clear-all",
814
+ decorative: false,
815
+ press: this.removeSelections.bind(this, false, true, false)
816
+ }).setParent(this, null, true).addEventDelegate({
817
+ onAfterRendering: function() {
818
+ this._clearAllButton.getDomRef().setAttribute("tabindex", -1);
819
+ }
820
+ }, this);
821
+ }
822
+
823
+ return this._clearAllButton;
824
+ };
825
+
796
826
  /**
797
827
  * This method takes care of the select all checkbox for table lists. It
798
828
  * will automatically be created on demand and returned when needed
@@ -819,9 +849,7 @@ sap.ui.define([
819
849
  }
820
850
 
821
851
  // prevent disabling of internal controls by the sap.ui.core.EnabledPropagator
822
- this._selectAllCheckBox.getEnabled = function() {
823
- return this._selectAllCheckBox.getProperty("enabled");
824
- }.bind(this);
852
+ this._selectAllCheckBox.useEnabledPropagator(false);
825
853
 
826
854
  return this._selectAllCheckBox;
827
855
  };
@@ -834,7 +862,10 @@ sap.ui.define([
834
862
  */
835
863
  Table.prototype.updateSelectAllCheckbox = function () {
836
864
  // checks if the list is in multi select mode and has selectAll checkbox
837
- if (this._selectAllCheckBox && this.getMode() === "MultiSelect") {
865
+ if (this.getMode() !== "MultiSelect") {
866
+ return;
867
+ }
868
+ if (this._selectAllCheckBox && this.getMultiSelectMode() == "Default") {
838
869
  var aItems = this.getItems(),
839
870
  iSelectedItemCount = this.getSelectedItems().length,
840
871
  iSelectableItemCount = aItems.filter(function(oItem) {
@@ -843,6 +874,8 @@ sap.ui.define([
843
874
 
844
875
  // set state of the checkbox by comparing item length and selected item length
845
876
  this._selectAllCheckBox.setSelected(aItems.length > 0 && iSelectedItemCount == iSelectableItemCount);
877
+ } else if (this._clearAllButton) {
878
+ this._clearAllButton.toggleStyleClass("sapMTableDisableClearAll", !this.getSelectedItems().length);
846
879
  }
847
880
  };
848
881
 
@@ -857,7 +890,10 @@ sap.ui.define([
857
890
  * @protected
858
891
  */
859
892
  Table.prototype.enhanceAccessibilityState = function(oElement, mAriaProps) {
860
- if (oElement == this._selectAllCheckBox) {
893
+ if (oElement == this._clearAllButton) {
894
+ var oBundle = Core.getLibraryResourceBundle("sap.m");
895
+ mAriaProps.label = oBundle.getText("TABLE_ICON_DESELECT_ALL");
896
+ } else if (oElement == this._selectAllCheckBox) {
861
897
  var oBundle = Core.getLibraryResourceBundle("sap.m");
862
898
  mAriaProps.label = oBundle.getText("TABLE_CHECKBOX_SELECT_ALL");
863
899
  }
@@ -976,11 +1012,15 @@ sap.ui.define([
976
1012
  if (oEvent.target.id == this.getId("tblHeader")) {
977
1013
  // prevent from scrolling
978
1014
  oEvent.preventDefault();
1015
+ var sMultiSelectMode = this.getMultiSelectMode();
979
1016
 
980
1017
  // toggle select all header checkbox and fire its event
981
- if (this._selectAllCheckBox) {
1018
+ if (this._selectAllCheckBox && sMultiSelectMode == "Default") {
982
1019
  this._selectAllCheckBox.setSelected(!this._selectAllCheckBox.getSelected()).fireSelect();
983
1020
  oEvent.setMarked();
1021
+ } else if (this._clearAllButton && sMultiSelectMode == "ClearAll" && !this._clearAllButton.hasStyleClass("sapMTableDisableClearAll")) {
1022
+ this._clearAllButton.firePress();
1023
+ oEvent.setMarked();
984
1024
  }
985
1025
  }
986
1026
  };
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @class Table Personalization Controller
39
39
  * @extends sap.ui.base.ManagedObject
40
40
  * @author SAP
41
- * @version 1.92.0
41
+ * @version 1.95.0
42
42
  * @alias sap.m.TablePersoController
43
43
  */
44
44
  var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController */
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  * @class Table Personalization Dialog
88
88
  * @extends sap.ui.base.ManagedObject
89
89
  * @author SAP
90
- * @version 1.92.0
90
+ * @version 1.95.0
91
91
  * @alias sap.m.TablePersoDialog
92
92
  */
93
93
  var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog */
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  * @abstract
23
23
  * @author SAP
24
- * @version 1.92.0
24
+ * @version 1.95.0
25
25
  * @alias sap.m.TablePersoProvider
26
26
  */
27
27
  var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider */
@@ -4,14 +4,15 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
8
- function(Renderer, Core, library, ListBaseRenderer, ColumnListItemRenderer) {
7
+ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "sap/ui/core/InvisibleText", "./library", "./ListBaseRenderer", "./ColumnListItemRenderer"],
8
+ function(Renderer, Core, InvisibleText, library, ListBaseRenderer, ColumnListItemRenderer) {
9
9
  "use strict";
10
10
 
11
11
 
12
12
  // shortcut for sap.m.ListKeyboardMode
13
13
  var ListKeyboardMode = library.ListKeyboardMode;
14
-
14
+ // shortcut for sap.m.MultiSelectMode
15
+ var MultiSelectMode = library.MultiSelectMode;
15
16
 
16
17
  /**
17
18
  * Table renderer.
@@ -144,7 +145,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "./library", "./ListB
144
145
  rm.class(clsPrefix + "SelCol");
145
146
  rm.attr("role", "presentation");
146
147
  rm.openEnd();
147
- rm.renderControl(oTable._getSelectAllCheckbox());
148
+ rm.renderControl(oTable.getMultiSelectMode() == MultiSelectMode.Default ? oTable._getSelectAllCheckbox() : oTable._getClearAllButton());
148
149
  rm.close("th");
149
150
  index++;
150
151
  } else {
@@ -288,7 +289,7 @@ sap.ui.define(["sap/ui/core/Renderer", "sap/ui/core/Core", "./library", "./ListB
288
289
  TableRenderer.renderListStartAttributes = function(rm, oControl) {
289
290
  rm.openStart("table", oControl.getId("listUl"));
290
291
  rm.class("sapMListTbl");
291
- rm.attr("aria-labelledby", Core.getLibraryResourceBundle("sap.m").getText("TABLE_ARIA_LABEL"));
292
+ rm.attr("aria-labelledby", oControl.getAriaLabelledBy().concat(this.getAriaLabelledBy(oControl), InvisibleText.getStaticId("sap.m", "TABLE_ARIA_LABEL")).join(" "));
292
293
  if (oControl.getFixedLayout() === false) {
293
294
  rm.style("table-layout", "auto");
294
295
  }
@@ -11,7 +11,7 @@ sap.ui.define([
11
11
  './SearchField',
12
12
  './Table',
13
13
  './library',
14
- 'sap/ui/core/Control',
14
+ './SelectDialogBase',
15
15
  'sap/ui/core/InvisibleText',
16
16
  'sap/ui/Device',
17
17
  'sap/m/Toolbar',
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  SearchField,
27
27
  Table,
28
28
  library,
29
- Control,
29
+ SelectDialogBase,
30
30
  InvisibleText,
31
31
  Device,
32
32
  Toolbar,
@@ -96,9 +96,9 @@ sap.ui.define([
96
96
  * <li>On smaller screens, the columns of the table wrap and build a list that shows all the information.</li>
97
97
  * </ul>
98
98
  * When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
99
- * @extends sap.ui.core.Control
99
+ * @extends sap.m.SelectDialogBase
100
100
  * @author SAP SE
101
- * @version 1.92.0
101
+ * @version 1.95.0
102
102
  *
103
103
  * @constructor
104
104
  * @public
@@ -107,7 +107,7 @@ sap.ui.define([
107
107
  * @see {@link fiori:https://experience.sap.com/fiori-design-web/table-select-dialog/ Table Select Dialog}
108
108
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
109
109
  */
110
- var TableSelectDialog = Control.extend("sap.m.TableSelectDialog", /** @lends sap.m.TableSelectDialog.prototype */ {
110
+ var TableSelectDialog = SelectDialogBase.extend("sap.m.TableSelectDialog", /** @lends sap.m.TableSelectDialog.prototype */ {
111
111
  metadata : {
112
112
 
113
113
  library : "sap.m",
@@ -353,6 +353,8 @@ sap.ui.define([
353
353
  ]
354
354
  }),
355
355
  selectionChange: function (oEvent) {
356
+ that.fireSelectionChange(oEvent.getParameters());
357
+
356
358
  if (that._oDialog) {
357
359
  if (!that.getMultiSelect()) {
358
360
  // attach the reset function to afterClose to hide the dialog changes from the end user
@@ -363,7 +365,9 @@ sap.ui.define([
363
365
  that._updateSelectionIndicator();
364
366
  }
365
367
  }
366
- }
368
+ },
369
+ updateStarted: this._updateStarted.bind(this),
370
+ updateFinished: this._updateFinished.bind(this)
367
371
  });
368
372
 
369
373
 
@@ -430,7 +434,6 @@ sap.ui.define([
430
434
  subHeader: this._oSubHeader,
431
435
  content: [this._oBusyIndicator, this._oTable],
432
436
  endButton: this._getCancelButton(),
433
- initialFocus: ((Device.system.desktop && this._oSearchField) ? this._oSearchField : null),
434
437
  draggable: this.getDraggable() && Device.system.desktop,
435
438
  resizable: this.getResizable() && Device.system.desktop,
436
439
  escapeHandler: function (oPromiseWrapper) {
@@ -446,12 +449,11 @@ sap.ui.define([
446
449
  this._sSearchFieldValue = "";
447
450
 
448
451
  // flags to control the busy indicator behaviour because the growing table will always show the no data text when updating
449
- this._bFirstRequest = true; // to only show the busy indicator for the first request when the dialog has been openend
450
452
  this._iTableUpdateRequested = 0; // to only show the busy indicator when we initiated the change
451
453
 
452
454
  this._oDialog.getProperty = function (sName) {
453
455
  if (sName !== "title") {
454
- return Control.prototype.getProperty.call(this, sName);
456
+ return SelectDialogBase.prototype.getProperty.call(this, sName);
455
457
  }
456
458
 
457
459
  return this.getCustomHeader().getAggregation("contentMiddle")[0].getText();
@@ -471,7 +473,6 @@ sap.ui.define([
471
473
  this._oBusyIndicator = null;
472
474
  this._sSearchFieldValue = null;
473
475
  this._iTableUpdateRequested = null;
474
- this._bFirstRequest = false;
475
476
  this._bInitBusy = false;
476
477
  this._bFirstRender = false;
477
478
 
@@ -531,7 +532,7 @@ sap.ui.define([
531
532
  if (this._oDialog && (!arguments[0] || arguments[0] && arguments[0].getId() !== this.getId() + "-dialog")) {
532
533
  this._oDialog.invalidate(arguments);
533
534
  } else {
534
- Control.prototype.invalidate.apply(this, arguments);
535
+ SelectDialogBase.prototype.invalidate.apply(this, arguments);
535
536
  }
536
537
 
537
538
  return this;
@@ -553,17 +554,14 @@ sap.ui.define([
553
554
  this._bAppendedToUIArea = true;
554
555
  }
555
556
 
556
- // reset internal variables
557
- this._bFirstRequest = true;
558
-
559
557
  // set search field value
560
558
  this._oSearchField.setValue(sSearchValue);
561
559
  this._sSearchFieldValue = sSearchValue || "";
562
560
 
563
561
  // open the dialog
562
+ this._setInitialFocus();
564
563
  this._oDialog.open();
565
564
 
566
-
567
565
  // open dialog with busy state if a list update is still in progress
568
566
  if (this._bInitBusy) {
569
567
  this._setBusy(true);
@@ -919,13 +917,9 @@ sap.ui.define([
919
917
  // we made a request in this control, so we update the counter
920
918
  this._iTableUpdateRequested += 1;
921
919
 
922
- // attach events to listen to model updates and show/hide a busy indicator
923
- this._oTable.attachUpdateStarted(this._updateStarted, this);
924
- this._oTable.attachUpdateFinished(this._updateFinished, this);
925
-
926
920
  // pass the model to the table and also to the local control to allow binding of own properties
927
921
  this._oTable.setModel(oModel, sModelName);
928
- Control.prototype.setModel.apply(this, arguments);
922
+ SelectDialogBase.prototype.setModel.apply(this, arguments);
929
923
 
930
924
  // clear the selection label when setting the model
931
925
  this._updateSelectionIndicator();
@@ -944,7 +938,7 @@ sap.ui.define([
944
938
  TableSelectDialog.prototype.setBindingContext = function (oContext, sModelName) {
945
939
  // pass the model to the table and also to the local control to allow binding of own properties
946
940
  this._oTable.setBindingContext(oContext, sModelName);
947
- Control.prototype.setBindingContext.apply(this, arguments);
941
+ SelectDialogBase.prototype.setBindingContext.apply(this, arguments);
948
942
 
949
943
  return this;
950
944
  };
@@ -1038,6 +1032,8 @@ sap.ui.define([
1038
1032
  * @param {jQuery.Event} oEvent The event object
1039
1033
  */
1040
1034
  TableSelectDialog.prototype._updateStarted = function (oEvent) {
1035
+ this.fireUpdateStarted(oEvent.getParameters());
1036
+
1041
1037
  if (this.getModel() && this.getModel() instanceof sap.ui.model.odata.ODataModel) {
1042
1038
  if (this._oDialog.isOpen() && this._iTableUpdateRequested) {
1043
1039
  // only set busy mode when we have an OData model
@@ -1055,6 +1051,8 @@ sap.ui.define([
1055
1051
  * @param {jQuery.Event} oEvent The event object
1056
1052
  */
1057
1053
  TableSelectDialog.prototype._updateFinished = function (oEvent) {
1054
+ this.fireUpdateFinished(oEvent.getParameters());
1055
+
1058
1056
  this._updateSelectionIndicator();
1059
1057
  // only reset busy mode when we have an OData model
1060
1058
  if (this.getModel() && this.getModel() instanceof sap.ui.model.odata.ODataModel) {
@@ -1062,31 +1060,8 @@ sap.ui.define([
1062
1060
  this._bInitBusy = false;
1063
1061
  }
1064
1062
 
1065
- if (Device.system.desktop) {
1066
-
1067
- if (this._oTable.getItems()[0]) {
1068
- this._oDialog.setInitialFocus(this._oTable.getItems()[0]);
1069
- } else {
1070
- this._oDialog.setInitialFocus(this._oSearchField);
1071
- }
1072
-
1073
- // set initial focus manually after all items are visible
1074
- if (this._bFirstRequest) {
1075
- var oFocusControl = this._oTable.getItems()[0];
1076
- if (!oFocusControl) {
1077
- oFocusControl = this._oSearchField;
1078
- }
1079
-
1080
- if (oFocusControl.getFocusDomRef()) {
1081
- oFocusControl.getFocusDomRef().focus();
1082
- }
1083
- }
1084
- }
1085
-
1086
- this._bFirstRequest = false;
1087
-
1088
- // we received a request (from this or from another control) so set the counter to 0
1089
- this._iTableUpdateRequested = 0;
1063
+ // we received a request (from this or from another control) so set the counter to 0
1064
+ this._iTableUpdateRequested = 0;
1090
1065
  };
1091
1066
 
1092
1067
  /**
package/src/sap/m/Text.js CHANGED
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
54
54
  * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.92.0
57
+ * @version 1.95.0
58
58
  *
59
59
  * @constructor
60
60
  * @public
@@ -293,7 +293,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
293
293
  *
294
294
  * @since 1.20
295
295
  * @protected
296
- * @return {Boolean}
296
+ * @return {boolean}
297
297
  */
298
298
  Text.prototype.canUseNativeLineClamp = function () {
299
299
  // has line clamp feature
@@ -82,7 +82,7 @@ function(
82
82
  * @extends sap.m.InputBase
83
83
  *
84
84
  * @author SAP SE
85
- * @version 1.92.0
85
+ * @version 1.95.0
86
86
  *
87
87
  * @constructor
88
88
  * @public
@@ -142,7 +142,7 @@ function(
142
142
 
143
143
  /**
144
144
  * Indicates the ability of the control to automatically grow and shrink dynamically with its content.
145
- * <b>Note:</b> The <code>height</code> property is ignored, if this property set to <code>true</code>.
145
+ * <b>Note:</b> This property should not be used when the <code>height</code> property is set.
146
146
  * @since 1.38.0
147
147
  */
148
148
  growing : {type : "boolean", group : "Behavior", defaultValue : false},
package/src/sap/m/Tile.js CHANGED
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.92.0
38
+ * @version 1.95.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -44,7 +44,7 @@ function(
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.92.0
47
+ * @version 1.95.0
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -932,7 +932,7 @@ function(
932
932
  * To be used within jQuery.filter function.
933
933
  * @param {int} index Index of the element within an array
934
934
  * @param {Element} element DOM element to check
935
- * @returns {Boolean} If a DOM element is focusable
935
+ * @returns {boolean} If a DOM element is focusable
936
936
  * @private
937
937
  */
938
938
  TileContainer.prototype._isFocusable = function(index, element) {
@@ -18,7 +18,7 @@ sap.ui.define(['./library', 'sap/ui/core/Control', './TileContentRenderer'],
18
18
  * @extends sap.ui.core.Control
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.92.0
21
+ * @version 1.95.0
22
22
  * @since 1.34.0
23
23
  *
24
24
  * @public