@openui5/sap.m 1.118.0 → 1.119.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 (419) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +16 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +1 -1
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +5 -5
  14. package/src/sap/m/Bar.js +38 -19
  15. package/src/sap/m/BarRenderer.js +12 -1
  16. package/src/sap/m/Breadcrumbs.js +44 -6
  17. package/src/sap/m/BreadcrumbsRenderer.js +4 -0
  18. package/src/sap/m/BusyDialog.js +1 -1
  19. package/src/sap/m/BusyIndicator.js +1 -1
  20. package/src/sap/m/Button.js +5 -2
  21. package/src/sap/m/Carousel.js +1 -1
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CheckBox.js +1 -1
  24. package/src/sap/m/ColorPalette.js +1 -1
  25. package/src/sap/m/ColorPalettePopover.js +1 -1
  26. package/src/sap/m/Column.js +1 -1
  27. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  28. package/src/sap/m/ColumnListItem.js +5 -2
  29. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  34. package/src/sap/m/ComboBox.js +3 -2
  35. package/src/sap/m/ComboBoxBase.js +1 -1
  36. package/src/sap/m/ComboBoxTextField.js +1 -1
  37. package/src/sap/m/CustomListItem.js +1 -1
  38. package/src/sap/m/CustomTile.js +1 -1
  39. package/src/sap/m/CustomTreeItem.js +1 -1
  40. package/src/sap/m/DatePicker.js +1 -1
  41. package/src/sap/m/DateRangeSelection.js +2 -2
  42. package/src/sap/m/DateTimeField.js +1 -1
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +23 -20
  45. package/src/sap/m/Dialog.js +1 -1
  46. package/src/sap/m/DisplayListItem.js +1 -1
  47. package/src/sap/m/DraftIndicator.js +1 -1
  48. package/src/sap/m/DynamicDate.js +1 -1
  49. package/src/sap/m/DynamicDateOption.js +1 -1
  50. package/src/sap/m/DynamicDateRange.js +1 -1
  51. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  52. package/src/sap/m/ExpandableText.js +1 -1
  53. package/src/sap/m/FacetFilter.js +1 -1
  54. package/src/sap/m/FacetFilterItem.js +1 -1
  55. package/src/sap/m/FacetFilterList.js +1 -1
  56. package/src/sap/m/FeedContent.js +1 -1
  57. package/src/sap/m/FeedInput.js +3 -3
  58. package/src/sap/m/FeedListItem.js +6 -5
  59. package/src/sap/m/FeedListItemAction.js +1 -1
  60. package/src/sap/m/Fiori20Adapter.js +2 -2
  61. package/src/sap/m/FlexBox.js +1 -1
  62. package/src/sap/m/FlexItemData.js +1 -1
  63. package/src/sap/m/FormattedText.js +1 -1
  64. package/src/sap/m/GenericTag.js +1 -1
  65. package/src/sap/m/GenericTile.js +1 -1
  66. package/src/sap/m/GroupHeaderListItem.js +6 -2
  67. package/src/sap/m/GrowingList.js +1 -1
  68. package/src/sap/m/HBox.js +1 -1
  69. package/src/sap/m/HeaderContainer.js +1 -1
  70. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  71. package/src/sap/m/IconTabBar.js +1 -1
  72. package/src/sap/m/IconTabBarSelectList.js +35 -10
  73. package/src/sap/m/IconTabFilter.js +1 -1
  74. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  75. package/src/sap/m/IconTabHeader.js +1 -1
  76. package/src/sap/m/IconTabSeparator.js +1 -1
  77. package/src/sap/m/IllustratedMessage.js +1 -1
  78. package/src/sap/m/Illustration.js +1 -1
  79. package/src/sap/m/Image.js +1 -1
  80. package/src/sap/m/ImageContent.js +1 -1
  81. package/src/sap/m/Input.js +33 -22
  82. package/src/sap/m/InputBase.js +1 -1
  83. package/src/sap/m/InputListItem.js +1 -1
  84. package/src/sap/m/Label.js +1 -1
  85. package/src/sap/m/LightBox.js +1 -1
  86. package/src/sap/m/LightBoxItem.js +1 -1
  87. package/src/sap/m/Link.js +1 -1
  88. package/src/sap/m/List.js +1 -1
  89. package/src/sap/m/ListBase.js +1 -1
  90. package/src/sap/m/ListItemBase.js +2 -2
  91. package/src/sap/m/ListItemBaseRenderer.js +1 -1
  92. package/src/sap/m/MaskEnabler.js +1 -1
  93. package/src/sap/m/MaskInput.js +1 -1
  94. package/src/sap/m/MaskInputRule.js +1 -1
  95. package/src/sap/m/Menu.js +3 -3
  96. package/src/sap/m/MenuButton.js +2 -2
  97. package/src/sap/m/MenuItem.js +3 -3
  98. package/src/sap/m/MenuListItem.js +1 -1
  99. package/src/sap/m/MessageItem.js +1 -1
  100. package/src/sap/m/MessageListItem.js +1 -1
  101. package/src/sap/m/MessagePage.js +1 -1
  102. package/src/sap/m/MessagePopover.js +1 -1
  103. package/src/sap/m/MessagePopoverItem.js +1 -1
  104. package/src/sap/m/MessageStrip.js +1 -1
  105. package/src/sap/m/MessageToast.js +1 -1
  106. package/src/sap/m/MessageView.js +1 -1
  107. package/src/sap/m/MultiComboBox.js +3 -2
  108. package/src/sap/m/MultiEditField.js +1 -1
  109. package/src/sap/m/MultiInput.js +4 -6
  110. package/src/sap/m/NavContainer.js +1 -1
  111. package/src/sap/m/NewsContent.js +1 -1
  112. package/src/sap/m/NotificationList.js +1 -1
  113. package/src/sap/m/NotificationListBase.js +1 -1
  114. package/src/sap/m/NotificationListGroup.js +1 -1
  115. package/src/sap/m/NotificationListItem.js +1 -1
  116. package/src/sap/m/NumericContent.js +16 -14
  117. package/src/sap/m/NumericInput.js +1 -1
  118. package/src/sap/m/ObjectAttribute.js +1 -1
  119. package/src/sap/m/ObjectHeader.js +15 -3
  120. package/src/sap/m/ObjectHeaderRenderer.js +24 -9
  121. package/src/sap/m/ObjectIdentifier.js +1 -1
  122. package/src/sap/m/ObjectListItem.js +10 -3
  123. package/src/sap/m/ObjectMarker.js +1 -1
  124. package/src/sap/m/ObjectNumber.js +1 -1
  125. package/src/sap/m/ObjectNumberRenderer.js +17 -2
  126. package/src/sap/m/ObjectStatus.js +1 -1
  127. package/src/sap/m/OverflowToolbar.js +1 -1
  128. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  129. package/src/sap/m/OverflowToolbarButton.js +1 -1
  130. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  131. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  132. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  133. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  134. package/src/sap/m/P13nColumnsItem.js +1 -1
  135. package/src/sap/m/P13nColumnsPanel.js +1 -1
  136. package/src/sap/m/P13nConditionPanel.js +1 -1
  137. package/src/sap/m/P13nDialog.js +1 -1
  138. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  139. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  140. package/src/sap/m/P13nFilterItem.js +1 -1
  141. package/src/sap/m/P13nFilterPanel.js +2 -9
  142. package/src/sap/m/P13nGroupItem.js +1 -1
  143. package/src/sap/m/P13nGroupPanel.js +1 -1
  144. package/src/sap/m/P13nItem.js +1 -1
  145. package/src/sap/m/P13nPanel.js +1 -1
  146. package/src/sap/m/P13nSelectionItem.js +1 -1
  147. package/src/sap/m/P13nSelectionPanel.js +1 -1
  148. package/src/sap/m/P13nSortItem.js +1 -1
  149. package/src/sap/m/P13nSortPanel.js +1 -1
  150. package/src/sap/m/PDFViewer.js +1 -1
  151. package/src/sap/m/Page.js +1 -1
  152. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  153. package/src/sap/m/PagingButton.js +1 -1
  154. package/src/sap/m/Panel.js +1 -1
  155. package/src/sap/m/PlanningCalendar.js +56 -9
  156. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  157. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  158. package/src/sap/m/PlanningCalendarRow.js +1 -1
  159. package/src/sap/m/PlanningCalendarView.js +1 -1
  160. package/src/sap/m/Popover.js +1 -1
  161. package/src/sap/m/ProgressIndicator.js +1 -1
  162. package/src/sap/m/PullToRefresh.js +1 -1
  163. package/src/sap/m/QuickView.js +1 -1
  164. package/src/sap/m/QuickViewBase.js +1 -1
  165. package/src/sap/m/QuickViewCard.js +1 -1
  166. package/src/sap/m/QuickViewGroup.js +1 -1
  167. package/src/sap/m/QuickViewGroupElement.js +1 -1
  168. package/src/sap/m/QuickViewPage.js +8 -2
  169. package/src/sap/m/RadioButton.js +1 -1
  170. package/src/sap/m/RadioButtonGroup.js +1 -1
  171. package/src/sap/m/RangeSlider.js +1 -1
  172. package/src/sap/m/RatingIndicator.js +1 -1
  173. package/src/sap/m/ResponsivePopover.js +6 -4
  174. package/src/sap/m/ResponsiveScale.js +1 -1
  175. package/src/sap/m/ScrollBar.js +1 -1
  176. package/src/sap/m/ScrollContainer.js +1 -1
  177. package/src/sap/m/SearchField.js +1 -1
  178. package/src/sap/m/SegmentedButton.js +6 -4
  179. package/src/sap/m/SegmentedButtonItem.js +1 -1
  180. package/src/sap/m/Select.js +1 -1
  181. package/src/sap/m/SelectDialog.js +1 -1
  182. package/src/sap/m/SelectDialogBase.js +1 -1
  183. package/src/sap/m/SelectList.js +1 -1
  184. package/src/sap/m/SelectionDetails.js +1 -1
  185. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  186. package/src/sap/m/SelectionDetailsItem.js +1 -1
  187. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  188. package/src/sap/m/Shell.js +1 -1
  189. package/src/sap/m/SimpleFixFlex.js +1 -1
  190. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  191. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  192. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  193. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +23 -16
  194. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  195. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  197. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  198. package/src/sap/m/SlideTile.js +1 -1
  199. package/src/sap/m/Slider.js +1 -1
  200. package/src/sap/m/SliderTooltip.js +1 -1
  201. package/src/sap/m/SliderTooltipBase.js +1 -1
  202. package/src/sap/m/SliderTooltipContainer.js +1 -1
  203. package/src/sap/m/SplitApp.js +1 -1
  204. package/src/sap/m/SplitButton.js +1 -1
  205. package/src/sap/m/SplitContainer.js +1 -1
  206. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  207. package/src/sap/m/StandardListItem.js +1 -1
  208. package/src/sap/m/StandardTile.js +1 -1
  209. package/src/sap/m/StandardTreeItem.js +1 -1
  210. package/src/sap/m/StepInput.js +1 -1
  211. package/src/sap/m/SuggestionItem.js +1 -1
  212. package/src/sap/m/SuggestionsPopover.js +1 -1
  213. package/src/sap/m/Switch.js +1 -1
  214. package/src/sap/m/TabContainer.js +14 -14
  215. package/src/sap/m/TabContainerItem.js +1 -1
  216. package/src/sap/m/TabStrip.js +1 -1
  217. package/src/sap/m/TabStripItem.js +1 -1
  218. package/src/sap/m/Table.js +4 -1
  219. package/src/sap/m/TablePersoController.js +1 -1
  220. package/src/sap/m/TablePersoDialog.js +1 -1
  221. package/src/sap/m/TablePersoProvider.js +1 -1
  222. package/src/sap/m/TableSelectDialog.js +1 -1
  223. package/src/sap/m/Text.js +1 -1
  224. package/src/sap/m/TextArea.js +1 -1
  225. package/src/sap/m/Tile.js +1 -1
  226. package/src/sap/m/TileContainer.js +1 -1
  227. package/src/sap/m/TileContent.js +1 -1
  228. package/src/sap/m/TimePicker.js +1 -1
  229. package/src/sap/m/TimePickerClock.js +1 -1
  230. package/src/sap/m/TimePickerClocks.js +1 -1
  231. package/src/sap/m/TimePickerInputs.js +1 -1
  232. package/src/sap/m/TimePickerInternals.js +1 -1
  233. package/src/sap/m/TimePickerSlider.js +2 -2
  234. package/src/sap/m/TimePickerSliders.js +1 -1
  235. package/src/sap/m/Title.js +1 -1
  236. package/src/sap/m/TitlePropagationSupport.js +1 -1
  237. package/src/sap/m/ToggleButton.js +1 -1
  238. package/src/sap/m/Token.js +1 -1
  239. package/src/sap/m/Tokenizer.js +1 -1
  240. package/src/sap/m/Toolbar.js +1 -1
  241. package/src/sap/m/ToolbarLayoutData.js +1 -1
  242. package/src/sap/m/ToolbarSeparator.js +1 -1
  243. package/src/sap/m/ToolbarSpacer.js +1 -1
  244. package/src/sap/m/Tree.js +1 -1
  245. package/src/sap/m/TreeItemBase.js +1 -1
  246. package/src/sap/m/UploadCollection.js +1 -1
  247. package/src/sap/m/UploadCollectionItem.js +1 -1
  248. package/src/sap/m/UploadCollectionParameter.js +1 -1
  249. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  250. package/src/sap/m/VBox.js +1 -1
  251. package/src/sap/m/ValueStateHeader.js +1 -1
  252. package/src/sap/m/VariantManagement.js +21 -3
  253. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  254. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  255. package/src/sap/m/ViewSettingsDialog.js +13 -7
  256. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  257. package/src/sap/m/ViewSettingsItem.js +1 -1
  258. package/src/sap/m/VisibleItem.js +1 -1
  259. package/src/sap/m/WheelSlider.js +1 -1
  260. package/src/sap/m/WheelSliderContainer.js +1 -1
  261. package/src/sap/m/Wizard.js +12 -2
  262. package/src/sap/m/WizardProgressNavigator.js +1 -1
  263. package/src/sap/m/WizardStep.js +1 -1
  264. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  265. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  266. package/src/sap/m/changeHandler/CombineButtons.js +4 -2
  267. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  268. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  269. package/src/sap/m/changeHandler/SplitMenuButton.js +3 -2
  270. package/src/sap/m/designtime/messagebundle_hu.properties +1 -1
  271. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +13 -4
  272. package/src/sap/m/library.js +42 -5
  273. package/src/sap/m/messagebundle.properties +36 -4
  274. package/src/sap/m/messagebundle_ar.properties +36 -36
  275. package/src/sap/m/messagebundle_bg.properties +101 -101
  276. package/src/sap/m/messagebundle_ca.properties +4 -4
  277. package/src/sap/m/messagebundle_cs.properties +27 -27
  278. package/src/sap/m/messagebundle_cy.properties +6 -6
  279. package/src/sap/m/messagebundle_da.properties +5 -5
  280. package/src/sap/m/messagebundle_de.properties +7 -7
  281. package/src/sap/m/messagebundle_el.properties +8 -8
  282. package/src/sap/m/messagebundle_en.properties +35 -8
  283. package/src/sap/m/messagebundle_en_GB.properties +4 -4
  284. package/src/sap/m/messagebundle_es.properties +17 -17
  285. package/src/sap/m/messagebundle_es_MX.properties +4 -4
  286. package/src/sap/m/messagebundle_et.properties +5 -5
  287. package/src/sap/m/messagebundle_fi.properties +10 -10
  288. package/src/sap/m/messagebundle_fr.properties +50 -50
  289. package/src/sap/m/messagebundle_fr_CA.properties +4 -4
  290. package/src/sap/m/messagebundle_hi.properties +11 -11
  291. package/src/sap/m/messagebundle_hr.properties +36 -36
  292. package/src/sap/m/messagebundle_hu.properties +6 -6
  293. package/src/sap/m/messagebundle_id.properties +13 -13
  294. package/src/sap/m/messagebundle_it.properties +34 -34
  295. package/src/sap/m/messagebundle_iw.properties +10 -10
  296. package/src/sap/m/messagebundle_ja.properties +45 -45
  297. package/src/sap/m/messagebundle_kk.properties +46 -46
  298. package/src/sap/m/messagebundle_ko.properties +14 -14
  299. package/src/sap/m/messagebundle_lt.properties +4 -4
  300. package/src/sap/m/messagebundle_lv.properties +4 -4
  301. package/src/sap/m/messagebundle_ms.properties +4 -4
  302. package/src/sap/m/messagebundle_nl.properties +58 -58
  303. package/src/sap/m/messagebundle_no.properties +5 -5
  304. package/src/sap/m/messagebundle_pl.properties +10 -10
  305. package/src/sap/m/messagebundle_pt.properties +6 -6
  306. package/src/sap/m/messagebundle_pt_PT.properties +4 -4
  307. package/src/sap/m/messagebundle_ro.properties +5 -5
  308. package/src/sap/m/messagebundle_ru.properties +5 -5
  309. package/src/sap/m/messagebundle_sh.properties +15 -15
  310. package/src/sap/m/messagebundle_sk.properties +11 -11
  311. package/src/sap/m/messagebundle_sl.properties +85 -85
  312. package/src/sap/m/messagebundle_sv.properties +16 -16
  313. package/src/sap/m/messagebundle_th.properties +23 -23
  314. package/src/sap/m/messagebundle_tr.properties +7 -7
  315. package/src/sap/m/messagebundle_uk.properties +42 -42
  316. package/src/sap/m/messagebundle_vi.properties +4 -4
  317. package/src/sap/m/messagebundle_zh_CN.properties +19 -19
  318. package/src/sap/m/messagebundle_zh_TW.properties +8 -8
  319. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  320. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  321. package/src/sap/m/p13n/BasePanel.js +2 -8
  322. package/src/sap/m/p13n/Container.js +1 -1
  323. package/src/sap/m/p13n/Engine.js +1 -1
  324. package/src/sap/m/p13n/GroupController.js +1 -1
  325. package/src/sap/m/p13n/GroupPanel.js +1 -1
  326. package/src/sap/m/p13n/Popup.js +1 -1
  327. package/src/sap/m/p13n/QueryPanel.js +1 -1
  328. package/src/sap/m/p13n/SelectionController.js +1 -1
  329. package/src/sap/m/p13n/SelectionPanel.js +18 -1
  330. package/src/sap/m/p13n/SortController.js +1 -1
  331. package/src/sap/m/p13n/SortPanel.js +1 -1
  332. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  333. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  334. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  335. package/src/sap/m/plugins/CellSelector.js +24 -23
  336. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  337. package/src/sap/m/plugins/CopyProvider.js +27 -10
  338. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  339. package/src/sap/m/plugins/PasteProvider.js +1 -1
  340. package/src/sap/m/plugins/PluginBase.js +1 -1
  341. package/src/sap/m/rules/IconTabBar.support.js +1 -1
  342. package/src/sap/m/semantic/AddAction.js +1 -1
  343. package/src/sap/m/semantic/CancelAction.js +1 -1
  344. package/src/sap/m/semantic/DeleteAction.js +1 -1
  345. package/src/sap/m/semantic/DetailPage.js +1 -1
  346. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  347. package/src/sap/m/semantic/EditAction.js +1 -1
  348. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  349. package/src/sap/m/semantic/FilterAction.js +1 -1
  350. package/src/sap/m/semantic/FilterSelect.js +1 -1
  351. package/src/sap/m/semantic/FlagAction.js +1 -1
  352. package/src/sap/m/semantic/ForwardAction.js +1 -1
  353. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  354. package/src/sap/m/semantic/GroupAction.js +1 -1
  355. package/src/sap/m/semantic/GroupSelect.js +1 -1
  356. package/src/sap/m/semantic/MainAction.js +1 -1
  357. package/src/sap/m/semantic/MasterPage.js +1 -1
  358. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  359. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  360. package/src/sap/m/semantic/NegativeAction.js +1 -1
  361. package/src/sap/m/semantic/OpenInAction.js +1 -1
  362. package/src/sap/m/semantic/PositiveAction.js +1 -1
  363. package/src/sap/m/semantic/PrintAction.js +1 -1
  364. package/src/sap/m/semantic/SaveAction.js +1 -1
  365. package/src/sap/m/semantic/Segment.js +1 -1
  366. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  367. package/src/sap/m/semantic/SemanticButton.js +1 -1
  368. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  369. package/src/sap/m/semantic/SemanticControl.js +1 -1
  370. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  371. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  372. package/src/sap/m/semantic/SemanticPage.js +1 -1
  373. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  374. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  375. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  376. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  377. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  378. package/src/sap/m/semantic/ShareMenu.js +1 -1
  379. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  380. package/src/sap/m/semantic/SortAction.js +1 -1
  381. package/src/sap/m/semantic/SortSelect.js +1 -1
  382. package/src/sap/m/table/Util.js +7 -5
  383. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  384. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  385. package/src/sap/m/table/columnmenu/Item.js +1 -1
  386. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  387. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  388. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  389. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  390. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  391. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  392. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  393. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  394. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  395. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  396. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  397. package/src/sap/m/themes/base/Breadcrumbs.less +2 -1
  398. package/src/sap/m/themes/base/Button.less +2 -172
  399. package/src/sap/m/themes/base/Dialog.less +1 -1
  400. package/src/sap/m/themes/base/FeedListItem.less +2 -3
  401. package/src/sap/m/themes/base/InputBase.less +2 -2
  402. package/src/sap/m/themes/base/ObjectStatus.less +1 -1
  403. package/src/sap/m/themes/base/QuickView.less +1 -1
  404. package/src/sap/m/themes/base/SearchField.less +2 -2
  405. package/src/sap/m/themes/base/StepInput.less +4 -0
  406. package/src/sap/m/themes/base/SuggestionsPopover.less +10 -4
  407. package/src/sap/m/themes/base/TextArea.less +13 -29
  408. package/src/sap/m/themes/base/{UploadSetTable.less → UploadSetwithTable.less} +0 -5
  409. package/src/sap/m/themes/base/library.source.less +1 -1
  410. package/src/sap/m/themes/sap_hcb/InputBase.less +1 -2
  411. package/src/sap/m/upload/FilePreviewDialog.js +106 -58
  412. package/src/sap/m/upload/UploadSet.js +1 -1
  413. package/src/sap/m/upload/UploadSetItem.js +1 -1
  414. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  415. package/src/sap/m/upload/{UploadSetTable.js → UploadSetwithTable.js} +460 -192
  416. package/src/sap/m/upload/{UploadSetTableItem.js → UploadSetwithTableItem.js} +49 -41
  417. package/src/sap/m/upload/{UploadSetTableItemRenderer.js → UploadSetwithTableItemRenderer.js} +6 -5
  418. package/src/sap/m/upload/{UploadSetTableRenderer.js → UploadSetwithTableRenderer.js} +7 -10
  419. package/src/sap/m/upload/UploaderTableItem.js +16 -18
@@ -21,13 +21,13 @@ sap.ui.define([
21
21
  "use strict";
22
22
 
23
23
  // get resource translation bundle;
24
- var oLibraryResourceBundle = sap.ui.getCore().getLibraryResourceBundle("sap.m");
24
+ const oLibraryResourceBundle = Core.getLibraryResourceBundle("sap.m");
25
25
 
26
26
  /**
27
27
  * Media types that can be previewed.
28
28
  * @enum {string}
29
29
  */
30
- var PreviewableMediaType = {
30
+ const PreviewableMediaType = {
31
31
  Png: "image/png",
32
32
  Bmp: "image/bmp",
33
33
  Jpeg: "image/jpeg",
@@ -43,35 +43,47 @@ sap.ui.define([
43
43
  };
44
44
 
45
45
  /**
46
- * The file preview dialog.
46
+ * Constructor for a new FilePreviewDialog.
47
47
  *
48
- * @class Dialog with a carousel to preview files uploaded using the UploadSet control.
49
- * @param {sap.m.upload.UploadSetTableItem} oPreviewItem The initial active UploadSetTableItem to be previewed.
48
+ * @class
49
+ * Dialog with a carousel to preview files uploaded using the UploadSetwithTable control.
50
+ * This Element should only be used within the {@link sap.m.upload.UploadSetwithTable UploadSetwithTable} control as an association.
51
+ * @author SAP SE
52
+ * @param {string} [sId] id for the new control, generated automatically if no id is given.
53
+ * @param {object} [mSettings] Initial settings for the new control.
54
+ * @constructor
50
55
  * @private
51
56
  * @extends sap.ui.core.Element
52
57
  * @name sap.m.upload.FilePreviewDialog
53
58
  */
54
- var FilePreviewDialog = Element.extend("sap.m.upload.FilePreviewDialog", {
59
+ const FilePreviewDialog = Element.extend("sap.m.upload.FilePreviewDialog", {
55
60
  library: "sap.m",
56
61
  metadata: {
57
62
  properties: {
58
63
  /**
59
- Current item being previwed in the carousel dialog.
60
- */
61
- previewItem: {type: "sap.m.upload.UploadSetTableItem", defaultValue: null},
64
+ * Show or hide carousel's arrows.
65
+ */
66
+ showCarouselArrows: {type: "boolean", defaultValue: true},
62
67
  /**
63
- * Items set to build the preview Carousel.
64
- * */
65
- items: {type: "sap.m.upload.UploadSetTableItem[]", defaultValue: []}
68
+ * Size limit of the file in megabytes that is allowed to be previewed.
69
+ * <br>If not set, files of any size can be previewed.
70
+ */
71
+ maxFileSizeforPreview: {type: "float", defaultValue: null}
66
72
  },
73
+ defaultAggregation: "additionalFooterButtons",
67
74
  aggregations: {
68
75
  /**
69
76
  * Custom buttons, to be displayed in the preview dialog footer.
77
+ * <br>Control by default adds two buttons (download and close).
70
78
  */
71
79
  additionalFooterButtons: {type: "sap.m.Button", multiple: true}
72
80
  }
73
81
  },
74
82
 
83
+ _previewItem: null,
84
+
85
+ _items: [],
86
+
75
87
  init: function () {
76
88
  this._oRichTextEditor = null;
77
89
  this._oDialog = null;
@@ -81,17 +93,18 @@ sap.ui.define([
81
93
 
82
94
  /**
83
95
  * Opens the {@link sap.m.upload.FilePreviewDialog}.
96
+ * @private
84
97
  */
85
- open: async function () {
86
- var aItems = this.getItems();
87
- if (aItems?.length && this.getPreviewItem()) {
98
+ _open: async function () {
99
+ const aItems = this._items;
100
+ if (aItems?.length && this._previewItem) {
88
101
  this._oCarousel = await this._createCarousel();
89
102
  if (!this._oDialog) {
90
103
  this._oDialog = this._createDialog();
91
104
  } else {
92
- // set title of the dialog to the current previewable item filename.
93
- this._oDialog.setTitle(this.getPreviewItem()?.getFileName() || "");
94
- // remove all the existing content and set the new content on the dialog
105
+ // Sets the title of the dialog to the currently previewed item filename.
106
+ this._oDialog.setTitle(this._previewItem?.getFileName() || "");
107
+ // Removes all the existing content and set the new content on the dialog.
95
108
  this._oDialog.removeAllContent();
96
109
  this._oDialog.insertContent(this._oCarousel);
97
110
  }
@@ -107,14 +120,14 @@ sap.ui.define([
107
120
  _loadVkDependency: function() {
108
121
  return new Promise(function (resolve, reject) {
109
122
  Core.loadLibrary("sap.ui.vk", { async: true })
110
- .then(function() {
111
- sap.ui.require(["sap/ui/vk/Viewer", "sap/ui/vk/ContentResource"], function(viewer, contentResource) {
123
+ .then(() => {
124
+ sap.ui.require(["sap/ui/vk/Viewer", "sap/ui/vk/ContentResource"], (viewer, contentResource) => {
112
125
  resolve({ viewer, contentResource});
113
- }, function (error) {
126
+ }, (error) => {
114
127
  reject(error);
115
128
  });
116
129
  })
117
- .catch(function () {
130
+ .catch(() => {
118
131
  reject("sap.ui.vk.Viewer Control not available.");
119
132
  });
120
133
  });
@@ -126,16 +139,16 @@ sap.ui.define([
126
139
  * @private
127
140
  */
128
141
  _loadRichTextEditorDependency: function() {
129
- return new Promise(function (resolve, reject) {
142
+ return new Promise((resolve, reject) => {
130
143
  Core.loadLibrary("sap.ui.richtexteditor", { async: true })
131
- .then(function() {
132
- sap.ui.require(["sap/ui/richtexteditor/RichTextEditor"], function(richTextEditor) {
144
+ .then(() => {
145
+ sap.ui.require(["sap/ui/richtexteditor/RichTextEditor"], (richTextEditor) => {
133
146
  resolve(richTextEditor);
134
- }, function (error) {
147
+ }, (error) => {
135
148
  reject(error);
136
149
  });
137
150
  })
138
- .catch(function () {
151
+ .catch(() => {
139
152
  reject("RichTextEditor Control not available.");
140
153
  });
141
154
  });
@@ -151,7 +164,7 @@ sap.ui.define([
151
164
  const oIllustratedMessage = new IllustratedMessage({
152
165
  illustrationType: IllustratedMessageType.NoData,
153
166
  title: sFileName,
154
- description: "No preview available for this file.",
167
+ description: oLibraryResourceBundle.getText("FILE_PREVIEW_DIALOG_NO_PREVIEW_AVAILABLE_MSG"),
155
168
  enableVerticalResponsiveness: true
156
169
  });
157
170
  return oIllustratedMessage;
@@ -159,7 +172,7 @@ sap.ui.define([
159
172
 
160
173
  /**
161
174
  * Creates a viewer for .vds files
162
- * @param {sap.m.upload.UploadSetTableItem} oItem The UploadSetTableItem to be previewed
175
+ * @param {sap.m.upload.UploadSetwithTableItem} oItem The UploadSetwithTableItem to be previewed
163
176
  * @return {sap.ui.vk.Viewer} A vds viewer instance or undefined if dependency unavailable
164
177
  * @private
165
178
  */
@@ -189,7 +202,7 @@ sap.ui.define([
189
202
 
190
203
  /**
191
204
  * Creates a rich text viewer
192
- * @param {sap.m.upload.UploadSetTableItem} oItem The UploadSetTableItem to be previewed
205
+ * @param {sap.m.upload.UploadSetwithTableItem} oItem The UploadSetwithTableItem to be previewed
193
206
  * @return {sap.ui.richtexteditor.RichTextEditor} A rich text editor instance or undefined if dependency unavailable
194
207
  * @private
195
208
  */
@@ -230,16 +243,16 @@ sap.ui.define([
230
243
  * @private
231
244
  */
232
245
  _createCarousel: async function () {
233
- const oPreviewItem = this.getPreviewItem();
234
- const aItems = this.getItems();
235
- var sActivePageId = "";
236
- var aPagePromises = aItems.map(async (oItem) => {
237
- var sMediaType = oItem.getMediaType();
246
+ const oPreviewItem = this._previewItem;
247
+ const aItems = !this.getShowCarouselArrows() ? [this._previewItem] : this._items;
248
+ let sActivePageId = "";
249
+ const aPagePromises = aItems.map(async (oItem) => {
250
+ const sMediaType = oItem.getMediaType();
238
251
 
239
- var sFileName = oItem.getFileName();
240
- var oPage = this._createIllustratedMessage(sFileName);
252
+ const sFileName = oItem.getFileName();
253
+ let oPage = this._createIllustratedMessage(sFileName);
241
254
 
242
- if (oItem.getPreviewable()) {
255
+ if (oItem.getPreviewable() && this.isFileSizeWithinMaxLimit(oItem)) {
243
256
  switch (sMediaType?.toLowerCase()) {
244
257
  case PreviewableMediaType.Png:
245
258
  case PreviewableMediaType.Bmp:
@@ -288,6 +301,8 @@ sap.ui.define([
288
301
  }
289
302
  }
290
303
 
304
+ oPage = !this.isFileSizeWithinMaxLimit(oItem) ? this._getMaxSizePageIllustration(oItem) : oPage;
305
+
291
306
  sActivePageId = oItem?.getId() === oPreviewItem?.getId() ? oPage?.getId() : sActivePageId;
292
307
 
293
308
  return oPage;
@@ -296,21 +311,28 @@ sap.ui.define([
296
311
  const aPages = await Promise.all(aPagePromises);
297
312
 
298
313
  const oCarousel = new Carousel({
299
- showPageIndicator: true,
314
+ showPageIndicator: this.getShowCarouselArrows() ? true : false,
300
315
  pages: [
301
316
  aPages
302
317
  ],
303
318
  activePage: sActivePageId,
304
319
  height: "85vh",
305
320
  pageChanged: (oEvent) => {
306
- var iIndex = aPages.findIndex(function(oPage) {
321
+ const iIndex = aPages.findIndex(function(oPage) {
307
322
  return oPage.sId === oEvent.getParameter("newActivePageId");
308
323
  });
309
- var sNewDialogTitle = aItems[iIndex].getFileName();
324
+ const sNewDialogTitle = aItems[iIndex].getFileName();
310
325
  this._oDialog.setTitle(sNewDialogTitle);
311
326
  }
312
327
  });
313
328
 
329
+ // prevent all swipe related events so carousel movement is disabled.
330
+ if (!this.getShowCarouselArrows()) {
331
+ oCarousel.ontouchstart = oCarousel.ontouchmove = oCarousel.ontouchend = (oEvent) => {
332
+ oEvent.preventDefault();
333
+ };
334
+ }
335
+
314
336
  return oCarousel;
315
337
  },
316
338
 
@@ -320,25 +342,26 @@ sap.ui.define([
320
342
  * @private
321
343
  */
322
344
  _createDialog: function() {
323
- var that = this;
324
- var oActiveItem = this._getActiveUploadSetTableItem();
325
- var oDialog = new Dialog({
345
+ const oActiveItem = this._getActiveUploadSetwithTableItem();
346
+ const oDialog = new Dialog({
326
347
  title: oActiveItem.getFileName(),
327
- content: that._oCarousel,
328
- horizontalScrolling: true,
329
- verticalScrolling: true,
348
+ content: this._oCarousel,
349
+ horizontalScrolling: false,
350
+ verticalScrolling: false,
351
+ contentWidth: "100%",
352
+ contentHeight: "100%",
330
353
  buttons: [
331
- that.getAdditionalFooterButtons(),
354
+ this.getAdditionalFooterButtons(),
332
355
  new Button({
333
356
  text: oLibraryResourceBundle.getText("UPLOAD_SET_TABLE_FILE_PREVIEW_DIALOG_DOWNLOAD"),
334
- press: function () {
335
- that._getActiveUploadSetTableItem().download(true);
357
+ press: () => {
358
+ this._getActiveUploadSetwithTableItem().download(true);
336
359
  }
337
360
  }),
338
361
  new Button({
339
362
  text: oLibraryResourceBundle.getText("UPLOAD_SET_TABLE_FILE_PREVIEW_DIALOG_CLOSE"),
340
- press: function () {
341
- that._oDialog.close();
363
+ press: () => {
364
+ this._oDialog.close();
342
365
  }
343
366
  })
344
367
  ]
@@ -349,18 +372,43 @@ sap.ui.define([
349
372
 
350
373
  /**
351
374
  * Creates a {@link sap.m.Carousel} of uploaded files.
352
- * @return {sap.m.upload.UploadSetTableItem} The currently active UploadSetTableItem.
375
+ * @return {sap.m.upload.UploadSetwithTableItem} The currently active UploadSetwithTableItem.
353
376
  * @private
354
377
  */
355
- _getActiveUploadSetTableItem: function () {
356
- var sActivePageId = this._oCarousel.getActivePage();
357
- var aPages = this._oCarousel.getPages();
358
- var iIndex = aPages.findIndex(function (oPage) {
378
+ _getActiveUploadSetwithTableItem: function () {
379
+ const sActivePageId = this._oCarousel.getActivePage();
380
+ const aPages = this._oCarousel.getPages();
381
+ const iIndex = aPages.findIndex((oPage) => {
359
382
  return oPage.sId === sActivePageId;
360
383
  });
361
- return this.getItems()[iIndex];
384
+ return this._items[iIndex];
385
+ },
386
+ isFileSizeWithinMaxLimit: function(oItem) {
387
+ let maxFileSize = this.getMaxFileSizeforPreview();
388
+ const iFileSize = oItem && oItem.getFileSize ? oItem.getFileSize() : 0; // if no file size
389
+
390
+ // if maxfilesize or filesize is not defined any file size can be previwed.
391
+ if (!maxFileSize || !iFileSize) {
392
+ return true;
393
+ }
394
+
395
+ maxFileSize = maxFileSize * (FilePreviewDialog.MEGABYTE);
396
+
397
+ return iFileSize <= maxFileSize;
398
+
399
+ },
400
+ _getMaxSizePageIllustration: function(oItem) {
401
+ const oIllustratedMessage = new IllustratedMessage({
402
+ illustrationType: IllustratedMessageType.NoData,
403
+ title: oItem?.getFileName(),
404
+ description: oLibraryResourceBundle.getText("FILE_PREVIEW_DIALOG_MAX_PREVIEW_SIZE_EXCEEDED", this.getMaxFileSizeforPreview()),
405
+ enableVerticalResponsiveness: true
406
+ });
407
+ return oIllustratedMessage;
362
408
  }
363
409
  });
364
410
 
411
+ FilePreviewDialog.MEGABYTE = 1048576;
412
+
365
413
  return FilePreviewDialog;
366
414
  });
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * and requests, unified behavior of instant and deferred uploads, as well as improved progress indication.
54
54
  * @extends sap.ui.core.Control
55
55
  * @author SAP SE
56
- * @version 1.118.0
56
+ * @version 1.119.0
57
57
  * @constructor
58
58
  * @public
59
59
  * @since 1.63
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class Item that represents one file to be uploaded using the {@link sap.m.upload.UploadSet} control.
37
37
  * @extends sap.ui.core.Element
38
38
  * @author SAP SE
39
- * @version 1.118.0
39
+ * @version 1.119.0
40
40
  * @constructor
41
41
  * @public
42
42
  * @since 1.63
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.118.0
25
+ * @version 1.119.0
26
26
  *
27
27
  * @constructor
28
28
  * @public