@openui5/sap.m 1.102.2 → 1.104.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 (460) hide show
  1. package/.eslintrc.json +2 -3
  2. package/.reuse/dep5 +17 -0
  3. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  4. package/THIRDPARTY.txt +35 -2
  5. package/package.json +4 -4
  6. package/src/sap/m/.library +1 -1
  7. package/src/sap/m/AccButton.js +1 -1
  8. package/src/sap/m/ActionListItem.js +1 -1
  9. package/src/sap/m/ActionSelect.js +4 -4
  10. package/src/sap/m/ActionSheet.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 +1 -1
  14. package/src/sap/m/Bar.js +11 -10
  15. package/src/sap/m/BarInPageEnabler.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +27 -2
  17. package/src/sap/m/BusyDialog.js +1 -1
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +6 -5
  20. package/src/sap/m/Carousel.js +1 -1
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CheckBox.js +1 -1
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  33. package/src/sap/m/ComboBox.js +1 -1
  34. package/src/sap/m/ComboBoxBase.js +7 -7
  35. package/src/sap/m/ComboBoxTextField.js +1 -1
  36. package/src/sap/m/CustomDynamicDateOption.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 +15 -23
  41. package/src/sap/m/DateRangeSelection.js +48 -41
  42. package/src/sap/m/DateTimeField.js +87 -20
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +54 -24
  45. package/src/sap/m/DateTimePickerRenderer.js +1 -1
  46. package/src/sap/m/Dialog.js +3 -10
  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 +1 -1
  50. package/src/sap/m/DynamicDateFormat.js +31 -13
  51. package/src/sap/m/DynamicDateOption.js +6 -4
  52. package/src/sap/m/DynamicDateRange.js +20 -3
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +29 -28
  56. package/src/sap/m/FacetFilterItem.js +1 -1
  57. package/src/sap/m/FacetFilterList.js +1 -1
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +1 -1
  60. package/src/sap/m/FeedListItem.js +1 -1
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +2 -2
  65. package/src/sap/m/FormattedText.js +1 -1
  66. package/src/sap/m/GenericTag.js +5 -5
  67. package/src/sap/m/GenericTile.js +11 -7
  68. package/src/sap/m/GenericTileLineModeRenderer.js +4 -5
  69. package/src/sap/m/GenericTileRenderer.js +18 -6
  70. package/src/sap/m/GroupHeaderListItem.js +1 -1
  71. package/src/sap/m/GrowingEnablement.js +59 -10
  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 +5 -24
  75. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  76. package/src/sap/m/IconTabBar.js +2 -1
  77. package/src/sap/m/IconTabBarSelectList.js +1 -1
  78. package/src/sap/m/IconTabFilter.js +4 -4
  79. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  80. package/src/sap/m/IconTabHeader.js +14 -3
  81. package/src/sap/m/IconTabSeparator.js +1 -1
  82. package/src/sap/m/IllustratedMessage.js +63 -24
  83. package/src/sap/m/IllustratedMessageRenderer.js +10 -6
  84. package/src/sap/m/Illustration.js +1 -1
  85. package/src/sap/m/IllustrationPool.js +1 -0
  86. package/src/sap/m/Image.js +1 -1
  87. package/src/sap/m/ImageContent.js +1 -1
  88. package/src/sap/m/Input.js +2 -17
  89. package/src/sap/m/InputBase.js +12 -5
  90. package/src/sap/m/InputListItem.js +1 -1
  91. package/src/sap/m/InstanceManager.js +14 -19
  92. package/src/sap/m/Label.js +1 -1
  93. package/src/sap/m/LightBox.js +1 -1
  94. package/src/sap/m/LightBoxItem.js +1 -1
  95. package/src/sap/m/Link.js +41 -5
  96. package/src/sap/m/LinkRenderer.js +18 -10
  97. package/src/sap/m/List.js +1 -1
  98. package/src/sap/m/ListBase.js +4 -1
  99. package/src/sap/m/ListItemBase.js +10 -2
  100. package/src/sap/m/MaskEnabler.js +52 -2
  101. package/src/sap/m/MaskInput.js +23 -1
  102. package/src/sap/m/MaskInputRenderer.js +10 -0
  103. package/src/sap/m/MaskInputRule.js +1 -1
  104. package/src/sap/m/Menu.js +1 -1
  105. package/src/sap/m/MenuButton.js +2 -1
  106. package/src/sap/m/MenuItem.js +1 -1
  107. package/src/sap/m/MenuListItem.js +3 -3
  108. package/src/sap/m/MessageBox.js +1020 -908
  109. package/src/sap/m/MessageItem.js +1 -1
  110. package/src/sap/m/MessageListItem.js +1 -1
  111. package/src/sap/m/MessagePage.js +1 -1
  112. package/src/sap/m/MessagePopover.js +4 -1
  113. package/src/sap/m/MessagePopoverItem.js +1 -1
  114. package/src/sap/m/MessageStrip.js +1 -1
  115. package/src/sap/m/MessageToast.js +1 -1
  116. package/src/sap/m/MessageView.js +1 -1
  117. package/src/sap/m/MultiComboBox.js +4 -4
  118. package/src/sap/m/MultiEditField.js +1 -1
  119. package/src/sap/m/MultiInput.js +8 -8
  120. package/src/sap/m/NavContainer.js +23 -19
  121. package/src/sap/m/NewsContent.js +1 -1
  122. package/src/sap/m/NotificationList.js +1 -1
  123. package/src/sap/m/NotificationListBase.js +1 -1
  124. package/src/sap/m/NotificationListGroup.js +1 -1
  125. package/src/sap/m/NotificationListItem.js +1 -1
  126. package/src/sap/m/NumericContent.js +1 -1
  127. package/src/sap/m/NumericInput.js +1 -1
  128. package/src/sap/m/ObjectAttribute.js +14 -1
  129. package/src/sap/m/ObjectAttributeRenderer.js +5 -4
  130. package/src/sap/m/ObjectHeader.js +4 -4
  131. package/src/sap/m/ObjectHeaderRenderer.js +11 -11
  132. package/src/sap/m/ObjectIdentifier.js +3 -3
  133. package/src/sap/m/ObjectListItem.js +1 -1
  134. package/src/sap/m/ObjectMarker.js +7 -4
  135. package/src/sap/m/ObjectNumber.js +1 -1
  136. package/src/sap/m/ObjectNumberRenderer.js +10 -3
  137. package/src/sap/m/ObjectStatus.js +1 -1
  138. package/src/sap/m/OverflowToolbar.js +35 -12
  139. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  140. package/src/sap/m/OverflowToolbarAssociativePopoverControls.js +5 -0
  141. package/src/sap/m/OverflowToolbarButton.js +1 -1
  142. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  143. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  144. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  145. package/src/sap/m/P13nColumnsItem.js +1 -1
  146. package/src/sap/m/P13nColumnsPanel.js +1 -1
  147. package/src/sap/m/P13nConditionPanel.js +24 -24
  148. package/src/sap/m/P13nDialog.js +3 -1
  149. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  150. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  151. package/src/sap/m/P13nFilterItem.js +1 -1
  152. package/src/sap/m/P13nFilterPanel.js +1 -1
  153. package/src/sap/m/P13nGroupItem.js +1 -1
  154. package/src/sap/m/P13nGroupPanel.js +1 -1
  155. package/src/sap/m/P13nItem.js +1 -1
  156. package/src/sap/m/P13nPanel.js +1 -1
  157. package/src/sap/m/P13nSelectionItem.js +1 -1
  158. package/src/sap/m/P13nSelectionPanel.js +1 -1
  159. package/src/sap/m/P13nSortItem.js +1 -1
  160. package/src/sap/m/P13nSortPanel.js +1 -1
  161. package/src/sap/m/PDFViewer.js +1 -1
  162. package/src/sap/m/PDFViewerRenderer.js +1 -0
  163. package/src/sap/m/Page.js +1 -1
  164. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  165. package/src/sap/m/PagingButton.js +1 -1
  166. package/src/sap/m/Panel.js +1 -1
  167. package/src/sap/m/PlanningCalendar.js +1 -1
  168. package/src/sap/m/PlanningCalendarHeader.js +2 -2
  169. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  170. package/src/sap/m/PlanningCalendarRow.js +1 -1
  171. package/src/sap/m/PlanningCalendarView.js +1 -1
  172. package/src/sap/m/Popover.js +5 -5
  173. package/src/sap/m/PopoverRenderer.js +2 -2
  174. package/src/sap/m/ProgressIndicator.js +15 -29
  175. package/src/sap/m/ProgressIndicatorRenderer.js +12 -3
  176. package/src/sap/m/PullToRefresh.js +1 -1
  177. package/src/sap/m/QuickView.js +2 -2
  178. package/src/sap/m/QuickViewBase.js +1 -1
  179. package/src/sap/m/QuickViewCard.js +1 -1
  180. package/src/sap/m/QuickViewGroup.js +1 -1
  181. package/src/sap/m/QuickViewGroupElement.js +2 -1
  182. package/src/sap/m/QuickViewPage.js +1 -1
  183. package/src/sap/m/RadioButton.js +1 -1
  184. package/src/sap/m/RadioButtonGroup.js +2 -2
  185. package/src/sap/m/RangeSlider.js +75 -55
  186. package/src/sap/m/RangeSliderRenderer.js +34 -2
  187. package/src/sap/m/RatingIndicator.js +8 -1
  188. package/src/sap/m/RatingIndicatorRenderer.js +13 -4
  189. package/src/sap/m/ResponsivePopover.js +7 -6
  190. package/src/sap/m/ResponsiveScale.js +1 -1
  191. package/src/sap/m/ScrollBar.js +1 -1
  192. package/src/sap/m/ScrollContainer.js +1 -1
  193. package/src/sap/m/SearchField.js +1 -1
  194. package/src/sap/m/SegmentedButton.js +1 -1
  195. package/src/sap/m/SegmentedButtonItem.js +1 -1
  196. package/src/sap/m/Select.js +16 -18
  197. package/src/sap/m/SelectDialog.js +2 -2
  198. package/src/sap/m/SelectDialogBase.js +1 -1
  199. package/src/sap/m/SelectList.js +8 -8
  200. package/src/sap/m/SelectListRenderer.js +2 -2
  201. package/src/sap/m/SelectRenderer.js +37 -13
  202. package/src/sap/m/SelectionDetails.js +1 -1
  203. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  204. package/src/sap/m/SelectionDetailsItem.js +1 -1
  205. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  206. package/src/sap/m/Shell.js +1 -1
  207. package/src/sap/m/SimpleFixFlex.js +5 -6
  208. package/src/sap/m/SimpleFixFlexRenderer.js +1 -0
  209. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  212. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  214. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  215. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  216. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  217. package/src/sap/m/SlideTile.js +1 -1
  218. package/src/sap/m/Slider.js +14 -5
  219. package/src/sap/m/SliderRenderer.js +27 -2
  220. package/src/sap/m/SliderTooltip.js +1 -1
  221. package/src/sap/m/SliderTooltipBase.js +1 -1
  222. package/src/sap/m/SliderTooltipContainer.js +3 -3
  223. package/src/sap/m/SplitApp.js +1 -1
  224. package/src/sap/m/SplitButton.js +1 -1
  225. package/src/sap/m/SplitContainer.js +3 -11
  226. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  227. package/src/sap/m/StandardListItem.js +1 -1
  228. package/src/sap/m/StandardTile.js +1 -1
  229. package/src/sap/m/StandardTreeItem.js +1 -1
  230. package/src/sap/m/StepInput.js +1 -1
  231. package/src/sap/m/SuggestionItem.js +1 -1
  232. package/src/sap/m/SuggestionsPopover.js +1 -1
  233. package/src/sap/m/Switch.js +1 -1
  234. package/src/sap/m/TabContainer.js +3 -2
  235. package/src/sap/m/TabContainerItem.js +1 -1
  236. package/src/sap/m/TabStrip.js +2 -2
  237. package/src/sap/m/TabStripItem.js +1 -1
  238. package/src/sap/m/Table.js +1 -1
  239. package/src/sap/m/TablePersoController.js +2 -2
  240. package/src/sap/m/TablePersoDialog.js +2 -2
  241. package/src/sap/m/TablePersoProvider.js +2 -2
  242. package/src/sap/m/TableSelectDialog.js +2 -2
  243. package/src/sap/m/Text.js +2 -2
  244. package/src/sap/m/TextArea.js +4 -3
  245. package/src/sap/m/TextRenderer.js +2 -0
  246. package/src/sap/m/Tile.js +1 -1
  247. package/src/sap/m/TileContainer.js +6 -6
  248. package/src/sap/m/TileContent.js +9 -9
  249. package/src/sap/m/TileContentRenderer.js +1 -1
  250. package/src/sap/m/TimePicker.js +73 -18
  251. package/src/sap/m/TimePickerClock.js +1 -1
  252. package/src/sap/m/TimePickerClocks.js +5 -3
  253. package/src/sap/m/TimePickerClocksRenderer.js +1 -0
  254. package/src/sap/m/TimePickerInputs.js +1 -1
  255. package/src/sap/m/TimePickerInternals.js +1 -1
  256. package/src/sap/m/TimePickerSlider.js +1 -1
  257. package/src/sap/m/TimePickerSliders.js +1 -1
  258. package/src/sap/m/Title.js +2 -2
  259. package/src/sap/m/TitlePropagationSupport.js +1 -1
  260. package/src/sap/m/ToggleButton.js +2 -2
  261. package/src/sap/m/Token.js +1 -1
  262. package/src/sap/m/Tokenizer.js +1 -1
  263. package/src/sap/m/Toolbar.js +1 -1
  264. package/src/sap/m/ToolbarLayoutData.js +6 -2
  265. package/src/sap/m/ToolbarSeparator.js +1 -1
  266. package/src/sap/m/ToolbarSpacer.js +1 -1
  267. package/src/sap/m/Tree.js +1 -1
  268. package/src/sap/m/TreeItemBase.js +1 -1
  269. package/src/sap/m/UploadCollection.js +6 -6
  270. package/src/sap/m/UploadCollectionItem.js +1 -1
  271. package/src/sap/m/UploadCollectionParameter.js +1 -1
  272. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  273. package/src/sap/m/VBox.js +1 -1
  274. package/src/sap/m/ValueStateHeader.js +1 -1
  275. package/src/sap/m/VariantItem.js +160 -0
  276. package/src/sap/m/VariantManagement.js +610 -547
  277. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  278. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  279. package/src/sap/m/ViewSettingsDialog.js +3 -3
  280. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  281. package/src/sap/m/ViewSettingsItem.js +1 -1
  282. package/src/sap/m/VisibleItem.js +1 -1
  283. package/src/sap/m/WheelSlider.js +1 -1
  284. package/src/sap/m/WheelSliderContainer.js +1 -1
  285. package/src/sap/m/Wizard.js +1 -1
  286. package/src/sap/m/WizardProgressNavigator.js +1 -1
  287. package/src/sap/m/WizardStep.js +1 -1
  288. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  289. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  290. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  291. package/src/sap/m/changeHandler/MoveTableColumns.js +2 -2
  292. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  293. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  294. package/src/sap/m/designtime/VariantManagement.designtime.js +34 -24
  295. package/src/sap/m/designtime/messagebundle_de.properties +2 -2
  296. package/src/sap/m/flexibility/EngineFlex.js +48 -0
  297. package/src/sap/m/inputUtils/forwardItemProperties.js +4 -0
  298. package/src/sap/m/library.js +32 -9
  299. package/src/sap/m/messagebundle.properties +33 -2
  300. package/src/sap/m/messagebundle_ar.properties +27 -12
  301. package/src/sap/m/messagebundle_bg.properties +22 -7
  302. package/src/sap/m/messagebundle_ca.properties +22 -7
  303. package/src/sap/m/messagebundle_cs.properties +24 -9
  304. package/src/sap/m/messagebundle_cy.properties +22 -7
  305. package/src/sap/m/messagebundle_da.properties +22 -7
  306. package/src/sap/m/messagebundle_de.properties +23 -8
  307. package/src/sap/m/messagebundle_el.properties +23 -8
  308. package/src/sap/m/messagebundle_en.properties +22 -7
  309. package/src/sap/m/messagebundle_en_GB.properties +22 -7
  310. package/src/sap/m/messagebundle_en_US_sappsd.properties +22 -7
  311. package/src/sap/m/messagebundle_en_US_saprigi.properties +22 -7
  312. package/src/sap/m/messagebundle_en_US_saptrc.properties +22 -7
  313. package/src/sap/m/messagebundle_es.properties +22 -7
  314. package/src/sap/m/messagebundle_es_MX.properties +22 -7
  315. package/src/sap/m/messagebundle_et.properties +22 -7
  316. package/src/sap/m/messagebundle_fi.properties +22 -7
  317. package/src/sap/m/messagebundle_fr.properties +35 -20
  318. package/src/sap/m/messagebundle_fr_CA.properties +22 -7
  319. package/src/sap/m/messagebundle_hi.properties +22 -7
  320. package/src/sap/m/messagebundle_hr.properties +26 -11
  321. package/src/sap/m/messagebundle_hu.properties +24 -9
  322. package/src/sap/m/messagebundle_id.properties +22 -7
  323. package/src/sap/m/messagebundle_it.properties +29 -14
  324. package/src/sap/m/messagebundle_iw.properties +23 -8
  325. package/src/sap/m/messagebundle_ja.properties +22 -7
  326. package/src/sap/m/messagebundle_kk.properties +22 -7
  327. package/src/sap/m/messagebundle_ko.properties +39 -24
  328. package/src/sap/m/messagebundle_lt.properties +22 -7
  329. package/src/sap/m/messagebundle_lv.properties +22 -7
  330. package/src/sap/m/messagebundle_ms.properties +22 -7
  331. package/src/sap/m/messagebundle_nl.properties +36 -21
  332. package/src/sap/m/messagebundle_no.properties +27 -12
  333. package/src/sap/m/messagebundle_pl.properties +23 -8
  334. package/src/sap/m/messagebundle_pt.properties +27 -12
  335. package/src/sap/m/messagebundle_pt_PT.properties +22 -7
  336. package/src/sap/m/messagebundle_ro.properties +23 -8
  337. package/src/sap/m/messagebundle_ru.properties +22 -7
  338. package/src/sap/m/messagebundle_sh.properties +23 -8
  339. package/src/sap/m/messagebundle_sk.properties +22 -7
  340. package/src/sap/m/messagebundle_sl.properties +24 -9
  341. package/src/sap/m/messagebundle_sv.properties +22 -7
  342. package/src/sap/m/messagebundle_th.properties +45 -30
  343. package/src/sap/m/messagebundle_tr.properties +23 -8
  344. package/src/sap/m/messagebundle_uk.properties +23 -8
  345. package/src/sap/m/messagebundle_vi.properties +22 -7
  346. package/src/sap/m/messagebundle_zh_CN.properties +24 -9
  347. package/src/sap/m/messagebundle_zh_TW.properties +26 -11
  348. package/src/sap/m/p13n/AbstractContainer.js +5 -5
  349. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  350. package/src/sap/m/p13n/BasePanel.js +4 -3
  351. package/src/sap/m/p13n/Container.js +1 -1
  352. package/src/sap/m/p13n/Engine.js +1253 -0
  353. package/src/sap/m/p13n/FlexUtil.js +162 -0
  354. package/src/sap/m/p13n/GroupController.js +145 -0
  355. package/src/sap/m/p13n/GroupPanel.js +10 -3
  356. package/src/sap/m/p13n/MetadataHelper.js +35 -0
  357. package/src/sap/m/p13n/PersistenceProvider.js +135 -0
  358. package/src/sap/m/p13n/Popup.js +46 -9
  359. package/src/sap/m/p13n/QueryPanel.js +1 -1
  360. package/src/sap/m/p13n/SelectionController.js +563 -0
  361. package/src/sap/m/p13n/SelectionPanel.js +13 -1
  362. package/src/sap/m/p13n/SortController.js +153 -0
  363. package/src/sap/m/p13n/SortPanel.js +11 -1
  364. package/src/sap/m/p13n/enum/PersistenceMode.js +43 -0
  365. package/src/sap/m/p13n/handler/xConfigHandler.js +166 -0
  366. package/src/sap/m/p13n/modification/FlexModificationHandler.js +90 -0
  367. package/src/sap/m/p13n/modification/LocalStorageModificationHandler.js +75 -0
  368. package/src/sap/m/p13n/modification/ModificationHandler.js +133 -0
  369. package/src/sap/m/p13n/modules/AdaptationProvider.js +67 -0
  370. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +124 -0
  371. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +101 -0
  372. package/src/sap/m/p13n/modules/UIManager.js +230 -0
  373. package/src/sap/m/p13n/modules/xConfigAPI.js +286 -0
  374. package/src/sap/m/plugins/ColumnResizer.js +15 -1
  375. package/src/sap/m/plugins/DataStateIndicator.js +12 -4
  376. package/src/sap/m/plugins/PasteProvider.js +1 -1
  377. package/src/sap/m/plugins/PluginBase.js +2 -2
  378. package/src/sap/m/rules/DatePicker.support.js +4 -3
  379. package/src/sap/m/semantic/AddAction.js +1 -1
  380. package/src/sap/m/semantic/CancelAction.js +1 -1
  381. package/src/sap/m/semantic/DeleteAction.js +1 -1
  382. package/src/sap/m/semantic/DetailPage.js +1 -1
  383. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  384. package/src/sap/m/semantic/EditAction.js +1 -1
  385. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  386. package/src/sap/m/semantic/FilterAction.js +1 -1
  387. package/src/sap/m/semantic/FilterSelect.js +1 -1
  388. package/src/sap/m/semantic/FlagAction.js +1 -1
  389. package/src/sap/m/semantic/ForwardAction.js +1 -1
  390. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  391. package/src/sap/m/semantic/GroupAction.js +1 -1
  392. package/src/sap/m/semantic/GroupSelect.js +1 -1
  393. package/src/sap/m/semantic/MainAction.js +1 -1
  394. package/src/sap/m/semantic/MasterPage.js +1 -1
  395. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  396. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  397. package/src/sap/m/semantic/NegativeAction.js +1 -1
  398. package/src/sap/m/semantic/OpenInAction.js +1 -1
  399. package/src/sap/m/semantic/PositiveAction.js +1 -1
  400. package/src/sap/m/semantic/PrintAction.js +1 -1
  401. package/src/sap/m/semantic/SaveAction.js +1 -1
  402. package/src/sap/m/semantic/Segment.js +1 -1
  403. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  404. package/src/sap/m/semantic/SemanticButton.js +1 -1
  405. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  406. package/src/sap/m/semantic/SemanticControl.js +1 -1
  407. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +3 -3
  408. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +3 -3
  409. package/src/sap/m/semantic/SemanticPage.js +1 -1
  410. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  411. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  412. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  413. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  414. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  415. package/src/sap/m/semantic/ShareMenu.js +1 -1
  416. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  417. package/src/sap/m/semantic/SortAction.js +1 -1
  418. package/src/sap/m/semantic/SortSelect.js +1 -1
  419. package/src/sap/m/table/Util.js +8 -3
  420. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  421. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  422. package/src/sap/m/table/columnmenu/Item.js +1 -1
  423. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  424. package/src/sap/m/table/columnmenu/Menu.js +9 -3
  425. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickGroup.js +21 -1
  429. package/src/sap/m/table/columnmenu/QuickGroupItem.js +13 -1
  430. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  431. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  432. package/src/sap/m/table/columnmenu/QuickTotal.js +21 -1
  433. package/src/sap/m/table/columnmenu/QuickTotalItem.js +13 -1
  434. package/src/sap/m/themes/base/ActionListItem.less +1 -1
  435. package/src/sap/m/themes/base/Breadcrumbs.less +17 -0
  436. package/src/sap/m/themes/base/CheckBox.less +2 -0
  437. package/src/sap/m/themes/base/Dialog.less +1 -2
  438. package/src/sap/m/themes/base/FeedContent.less +13 -5
  439. package/src/sap/m/themes/base/GenericTag.less +5 -3
  440. package/src/sap/m/themes/base/GenericTile.less +13 -9
  441. package/src/sap/m/themes/base/IllustratedMessage.less +7 -0
  442. package/src/sap/m/themes/base/LightBox.less +0 -12
  443. package/src/sap/m/themes/base/MessageBox.less +4 -3
  444. package/src/sap/m/themes/base/NumericContent.less +1 -1
  445. package/src/sap/m/themes/base/ObjectNumber.less +5 -0
  446. package/src/sap/m/themes/base/ObjectStatus.less +2 -1
  447. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +5 -1
  448. package/src/sap/m/themes/base/ProgressIndicator.less +0 -4
  449. package/src/sap/m/themes/base/Select.less +1 -3
  450. package/src/sap/m/themes/base/SelectList.less +0 -5
  451. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +7 -0
  452. package/src/sap/m/themes/base/SlideTile.less +5 -4
  453. package/src/sap/m/themes/base/StandardListItem.less +1 -0
  454. package/src/sap/m/themes/base/Table.less +11 -1
  455. package/src/sap/m/themes/base/TimePickerClock.less +7 -0
  456. package/src/sap/m/themes/base/Title.less +1 -1
  457. package/src/sap/m/upload/UploadSet.js +98 -15
  458. package/src/sap/m/upload/UploadSetItem.js +16 -4
  459. package/src/sap/m/upload/UploadSetRenderer.js +8 -16
  460. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +2 -1
@@ -20,7 +20,7 @@ sap.ui.define(['sap/m/semantic/Segment', 'sap/ui/base/Object', "sap/base/Log"],
20
20
  * Constructor for an sap.m.semantic.SegmentedContainer.
21
21
  *
22
22
  * @class text
23
- * @version 1.102.2
23
+ * @version 1.104.0
24
24
  * @private
25
25
  * @since 1.30.0
26
26
  * @alias sap.m.semantic.SegmentedContainer
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @abstract
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.2
28
+ * @version 1.104.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * Constructor for an sap.m.semantic.SemanticConfiguration.
37
37
  *
38
38
  * @class Defines the visual properties and positioning for each supported semantic type
39
- * @version 1.102.2
39
+ * @version 1.104.0
40
40
  * @private
41
41
  * @since 1.30.0
42
42
  * @alias sap.m.semantic.SemanticConfiguration
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @abstract
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.2
28
+ * @version 1.104.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -22,15 +22,15 @@ sap.ui.define(['sap/m/OverflowToolbarButton', 'sap/m/ButtonRenderer'],
22
22
  * @extends sap.m.OverflowToolbarButton
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.102.2
25
+ * @version 1.104.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.38
30
- * @alias sap.m.SemanticOverflowToolbarButton
30
+ * @alias sap.m.semantic.SemanticOverflowToolbarButton
31
31
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
32
  */
33
- var SemanticOverflowToolbarButton = OverflowToolbarButton.extend("sap.m.semantic.SemanticOverflowToolbarButton", /** @lends sap.m.SemanticOverflowToolbarButton.prototype */ {
33
+ var SemanticOverflowToolbarButton = OverflowToolbarButton.extend("sap.m.semantic.SemanticOverflowToolbarButton", /** @lends sap.m.semantic.SemanticOverflowToolbarButton.prototype */ {
34
34
  metadata: {
35
35
  library: "sap.m"
36
36
  },
@@ -22,15 +22,15 @@ sap.ui.define(["sap/m/OverflowToolbarToggleButton", "sap/m/ToggleButtonRenderer"
22
22
  * @extends sap.m.OverflowToolbarToggleButton
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.102.2
25
+ * @version 1.104.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
29
29
  * @since 1.80
30
- * @alias sap.m.SemanticOverflowToolbarToggleButton
30
+ * @alias sap.m.semantic.SemanticOverflowToolbarToggleButton
31
31
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
32
  */
33
- var SemanticOverflowToolbarToggleButton = OverflowToolbarToggleButton.extend("sap.m.semantic.SemanticOverflowToolbarToggleButton", /** @lends sap.m.SemanticOverflowToolbarToggleButton.prototype */ {
33
+ var SemanticOverflowToolbarToggleButton = OverflowToolbarToggleButton.extend("sap.m.semantic.SemanticOverflowToolbarToggleButton", /** @lends sap.m.semantic.SemanticOverflowToolbarToggleButton.prototype */ {
34
34
  metadata: {
35
35
  library: "sap.m"
36
36
  },
@@ -109,7 +109,7 @@ function(
109
109
  * @abstract
110
110
  *
111
111
  * @author SAP SE
112
- * @version 1.102.2
112
+ * @version 1.104.0
113
113
  *
114
114
  * @constructor
115
115
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/m/semantic/SemanticControl', 'sap/m/Select', "sap/base/Log"]
19
19
  * @abstract
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.102.2
22
+ * @version 1.104.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @abstract
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.102.2
32
+ * @version 1.104.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/m/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.m.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.102.2
22
+ * @version 1.104.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/m/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.m.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.102.2
22
+ * @version 1.104.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(['sap/m/semantic/SemanticButton'], function(SemanticButton) {
19
19
  * @extends sap.m.semantic.SemanticButton
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.102.2
22
+ * @version 1.104.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * ShareMenu is a special menu that is represented by (1) an actionSheet with the menu items and (2) a button that opens the actionSheet.
49
49
  * If the menu has only one item, then that item appears in place of the button that opens the actionSheet.
50
50
  *
51
- * @version 1.102.2
51
+ * @version 1.104.0
52
52
  * @private
53
53
  * @since 1.30.0
54
54
  * @alias sap.m.semantic.ShareMenu
@@ -22,7 +22,7 @@ sap.ui.define(["sap/m/semantic/SemanticPage", "sap/m/semantic/SemanticConfigurat
22
22
  * @extends sap.m.semantic.SemanticPage
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.102.2
25
+ * @version 1.104.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -25,7 +25,7 @@ sap.ui.define(['sap/m/semantic/SemanticButton'], function(SemanticButton) {
25
25
  * @implements sap.m.semantic.ISort
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.2
28
+ * @version 1.104.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -24,7 +24,7 @@ sap.ui.define(['sap/m/semantic/SemanticSelect'], function(SemanticSelect) {
24
24
  * @implements sap.m.semantic.ISort
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @namespace
19
19
  * @alias module:sap/m/table/Util
20
20
  * @author SAP SE
21
- * @version 1.102.2
21
+ * @version 1.104.0
22
22
  * @since 1.96.0
23
23
  * @private
24
24
  * @experimental Since 1.96.0. This class is experimental and the API might be changed in future.
@@ -147,7 +147,7 @@ sap.ui.define([
147
147
  * Calculates the width of the column header width according to calculated cell content and min/max width restrictions.
148
148
  *
149
149
  * @param {string} sHeader The header text
150
- * @param {float} fContentWidth The calculated width of the cell in rem
150
+ * @param {float} [fContentWidth] The calculated width of the cell in rem
151
151
  * @param {int} [iMaxWidth=19] The maximum header width in rem
152
152
  * @param {int} [iMinWidth=2] The minimum header width in rem
153
153
  * @returns {float} The calculated header width in rem
@@ -175,6 +175,9 @@ sap.ui.define([
175
175
  if (iMinWidth > iHeaderLength) {
176
176
  return iMinWidth;
177
177
  }
178
+ if (!fContentWidth) {
179
+ return Util.measureText(sHeader, fnGetHeaderFont());
180
+ }
178
181
 
179
182
  fContentWidth = Math.max(fContentWidth, iMinWidth);
180
183
  if (fContentWidth > iHeaderLength) {
@@ -203,6 +206,7 @@ sap.ui.define([
203
206
  * @param {int} [mSettings.maxWidth=19] The maximum content width of the field in rem
204
207
  * @param {int} [mSettings.padding=1] The sum of column padding and border in rem
205
208
  * @param {float} [mSettings.gap=0] The additional content width in rem
209
+ * @param {boolean} [mSettings.truncateLabel=true] Whether the header of the column can be truncated or not
206
210
  * @param {boolean} [mSettings.verticalArrangement=false] Whether the fields are arranged vertically
207
211
  * @param {int} [mSettings.defaultWidth=8] The default column content width when type check fails
208
212
  * @returns {string} The calculated width of the column
@@ -219,6 +223,7 @@ sap.ui.define([
219
223
  minWidth: 2,
220
224
  maxWidth: 19,
221
225
  defaultWidth: 8,
226
+ truncateLabel: true,
222
227
  padding: 1,
223
228
  gap: 0,
224
229
  verticalArrangement: false
@@ -246,7 +251,7 @@ sap.ui.define([
246
251
  }, 0);
247
252
 
248
253
  if (sHeader) {
249
- fHeaderWidth = Util.calcHeaderWidth(sHeader, fContentWidth, iMaxWidth, iMinWidth);
254
+ fHeaderWidth = Util.calcHeaderWidth(sHeader, (mSettings.truncateLabel ? fContentWidth : 0), iMaxWidth, iMinWidth);
250
255
  }
251
256
 
252
257
  fContentWidth = Math.max(iMinWidth, fContentWidth, fHeaderWidth);
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.table.columnmenu.ItemBase
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.table.columnmenu.ItemBase
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.table.columnmenu.Entry
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -55,6 +55,9 @@ sap.ui.define([
55
55
  // shortcut for sap.ui.core.aria.HasPopup
56
56
  var HasPopup = coreLibrary.aria.HasPopup;
57
57
 
58
+ // shortcut for sap.ui.core.VerticalAlign
59
+ var VerticalAlign = coreLibrary.VerticalAlign;
60
+
58
61
  /**
59
62
  * Constructor for a new Menu.
60
63
  *
@@ -75,7 +78,7 @@ sap.ui.define([
75
78
  * @extends sap.ui.core.Control
76
79
  *
77
80
  * @author SAP SE
78
- * @version 1.102.2
81
+ * @version 1.104.0
79
82
  *
80
83
  * @private
81
84
  * @experimental
@@ -210,7 +213,7 @@ sap.ui.define([
210
213
 
211
214
  this._oPopover = new ResponsivePopover({
212
215
  showArrow: false,
213
- showHeader: false,
216
+ showHeader: Device.system.phone,
214
217
  placement: library.PlacementType.Bottom,
215
218
  content: new AssociativeControl({control: this, height: true}),
216
219
  contentWidth: MENU_WIDTH,
@@ -278,6 +281,9 @@ sap.ui.define([
278
281
  };
279
282
 
280
283
  function isInControlTree(oParent, oChild) {
284
+ if (!oParent || !oChild) {
285
+ return false;
286
+ }
281
287
  var temp = oChild.getParent();
282
288
  if (!temp) {
283
289
  return false;
@@ -539,7 +545,7 @@ sap.ui.define([
539
545
  var oLabel = new Label({
540
546
  text: oEffectiveQuickAction.getLabel(),
541
547
  layoutData: oGridData,
542
- vAlign: sap.ui.core.VerticalAlign.Middle,
548
+ vAlign: VerticalAlign.Middle,
543
549
  wrapping: true
544
550
  }).setWidth("100%");
545
551
  oLabel.addStyleClass("sapMTCMenuQALabel");
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.table.columnmenu.QuickActionBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @private
30
30
  * @since 1.99
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.m.table.columnmenu.Entry
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @private
29
29
  * @experimental
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.table.columnmenu.Entry
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @private
30
30
  * @experimental
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.table.columnmenu.QuickActionBase
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.102.2
30
+ * @version 1.104.0
31
31
  *
32
32
  * @private
33
33
  * @experimental
@@ -127,6 +127,26 @@ sap.ui.define([
127
127
  }
128
128
  };
129
129
 
130
+ QuickGroup.prototype._updateContent = function() {
131
+ var aItems = this.getItems();
132
+ var aContent = this.getContent();
133
+ var oItem, oButton;
134
+
135
+ for (var i = 0; i < aItems.length; i++) {
136
+ oItem = aItems[i];
137
+ oButton = aContent[i];
138
+ if (!oButton) {
139
+ oButton = new ToggleButton({press: [oItem, this.onChange, this]});
140
+ }
141
+ oButton.setText(oItem.getLabel());
142
+ oButton.setPressed(oItem.getGrouped());
143
+ }
144
+
145
+ for (var i = aItems.length; i < aContent.length; i++) {
146
+ aContent[i].destroy();
147
+ }
148
+ };
149
+
130
150
  QuickGroup.prototype.onChange = function(oEvent, oItem) {
131
151
  oItem.setProperty("grouped", oEvent.getParameters().pressed, true);
132
152
  this.fireChange({item: oItem});
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.table.columnmenu.QuickActionItem
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @private
30
30
  * @experimental
@@ -43,5 +43,17 @@ sap.ui.define([
43
43
  }
44
44
  });
45
45
 
46
+ /*
47
+ * @see JSDoc generated by SAPUI5 control API generator
48
+ */
49
+ QuickGroupItem.prototype.setGrouped = function(bGrouped) {
50
+ this.setProperty("grouped", bGrouped);
51
+
52
+ var oQuickGroup = this.getParent();
53
+ if (oQuickGroup) {
54
+ oQuickGroup._updateContent();
55
+ }
56
+ };
57
+
46
58
  return QuickGroupItem;
47
59
  });
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.m.table.columnmenu.QuickActionBase
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.102.2
28
+ * @version 1.104.0
29
29
  *
30
30
  * @private
31
31
  * @experimental
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.m.table.columnmenu.QuickActionItem
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.102.2
37
+ * @version 1.104.0
38
38
  *
39
39
  * @private
40
40
  * @experimental
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.table.columnmenu.QuickActionBase
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.102.2
30
+ * @version 1.104.0
31
31
  *
32
32
  * @private
33
33
  * @experimental
@@ -127,6 +127,26 @@ sap.ui.define([
127
127
  }
128
128
  };
129
129
 
130
+ QuickTotal.prototype._updateContent = function() {
131
+ var aItems = this.getItems();
132
+ var aContent = this.getContent();
133
+ var oItem, oButton;
134
+
135
+ for (var i = 0; i < aItems.length; i++) {
136
+ oItem = aItems[i];
137
+ oButton = aContent[i];
138
+ if (!oButton) {
139
+ oButton = new ToggleButton({press: [oItem, this.onChange, this]});
140
+ }
141
+ oButton.setText(oItem.getLabel());
142
+ oButton.setPressed(oItem.getTotaled());
143
+ }
144
+
145
+ for (var i = aItems.length; i < aContent.length; i++) {
146
+ aContent[i].destroy();
147
+ }
148
+ };
149
+
130
150
  QuickTotal.prototype.onChange = function(oEvent, oItem) {
131
151
  oItem.setProperty("totaled", oEvent.getParameters().pressed, true);
132
152
  this.fireChange({item: oItem});
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.m.table.columnmenu.QuickActionItem
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @private
30
30
  * @experimental
@@ -43,5 +43,17 @@ sap.ui.define([
43
43
  }
44
44
  });
45
45
 
46
+ /*
47
+ * @see JSDoc generated by SAPUI5 control API generator
48
+ */
49
+ QuickTotalItem.prototype.setTotaled = function(bTotaled) {
50
+ this.setProperty("totaled", bTotaled);
51
+
52
+ var oQuickTotal = this.getParent();
53
+ if (oQuickTotal) {
54
+ oQuickTotal._updateContent();
55
+ }
56
+ };
57
+
46
58
  return QuickTotalItem;
47
59
  });
@@ -6,7 +6,7 @@
6
6
  .sapMALI {
7
7
  display: -webkit-box;
8
8
  display: flex;
9
- height: 3rem;
9
+ height: 2.75rem;
10
10
  }
11
11
 
12
12
  .sapMALIText {
@@ -114,3 +114,20 @@
114
114
  margin: 0;
115
115
  height: 1.2rem;
116
116
  }
117
+
118
+ /* make Breadcrumbs shrinkable when used in OTB */
119
+ .sapMOTB .sapMBreadcrumbs {
120
+ min-width: 1px; /* needed for width calculations on initial render */
121
+ max-width: 100%;
122
+ }
123
+
124
+ .sapMOTB .sapMBreadcrumbs .sapMBreadcrumbsItem:last-child {
125
+ flex-basis: 2.5rem;
126
+ flex-grow: 1;
127
+ overflow: hidden;
128
+ }
129
+
130
+ /* prevent Breadcrumbs with long text from causing a horizontal scrollbar in OTB Menu */
131
+ .sapMOverflowToolbarMenu-CTX .sapMBreadcrumbs {
132
+ max-width: 90vw;
133
+ }
@@ -84,6 +84,7 @@ html[dir="rtl"] .sapMCb {
84
84
  .sapMCb .sapMLabel {
85
85
  cursor: default;
86
86
  line-height: inherit;
87
+ display: block;
87
88
 
88
89
  &.sapMLabelNoText {
89
90
  position: absolute;
@@ -152,6 +153,7 @@ html[dir="rtl"] .sapMCb {
152
153
  .sapMCbBg > input {
153
154
  left: 0;
154
155
  -webkit-appearance: none;
156
+ position: absolute;
155
157
  visibility: hidden;
156
158
  }
157
159
 
@@ -121,6 +121,7 @@ html.sap-desktop .sapMDialog {
121
121
  html[data-sap-ui-browser^="sf"] & .sapMDialogSection {
122
122
  /* For Safari - allow the vertical scroll bar to overlap the right padding which we use to compensate for its width. This happens by default for other browsers. */
123
123
  overflow-y: overlay !important;
124
+ padding-right: 0px !important;
124
125
  }
125
126
  }
126
127
 
@@ -205,7 +206,6 @@ html.sap-desktop .sapMDialog {
205
206
 
206
207
  .sapMDialog > header.sapMDialogTitle .sapMTitle {
207
208
  color: @sapUiPageHeaderTextColor;
208
- margin: 0;
209
209
  vertical-align: middle;
210
210
  }
211
211
 
@@ -218,7 +218,6 @@ html.sap-desktop .sapMDialog {
218
218
 
219
219
  .sapMDialog > header.sapMDialogTitle .sapMDialogIcon.sapUiIcon {
220
220
  font-size: 1.25rem;
221
- margin-right: 0.5rem;
222
221
  vertical-align: middle;
223
222
  }
224
223
 
@@ -41,9 +41,10 @@
41
41
  text-overflow: ellipsis;
42
42
  padding-left: 1rem;
43
43
  padding-top: 0.875rem;
44
- font-size: 2.5rem;
44
+ font-size: 2.25rem;
45
45
  line-height: 3rem;
46
- max-width: 20.5rem;
46
+ max-width: 10.25rem;
47
+ min-width: 3rem;
47
48
  float: right;
48
49
  font-family: @sapUiFontHeaderFamily;
49
50
  font-weight: @sapUiFontHeaderWeight;
@@ -58,10 +59,16 @@
58
59
  }
59
60
 
60
61
  .sapMFCCTxt .sapMText {
61
- font-size: @sapMFontSmallSize;
62
+ font-size: @sapFontSize;
62
63
  color: @sapUiTileTitleTextColor;
63
64
  }
64
65
 
66
+ .sapMGT.TwoByOne.sapMTileSmallPhone{
67
+ .sapMFCCTxt .sapMText {
68
+ font-size: @sapFontSmallSize;
69
+ }
70
+ }
71
+
65
72
  .sapMFCValue.Neutral {
66
73
  color: @sapUiNeutralText;
67
74
  }
@@ -103,9 +110,10 @@ html.sap-desktop .sapMFC:focus:not([tabindex]) {
103
110
 
104
111
  .sapMFCValue {
105
112
  padding-top: 1.188rem;
106
- padding-left: 0.5rem;
113
+ padding-left: 0.4rem;
107
114
  font-size: 2rem;
108
115
  line-height: 2.25rem;
109
- max-width: 17.75rem;
116
+ max-width: 8.25rem;
117
+ min-width: 2.5rem
110
118
  }
111
119
  }
@@ -3,6 +3,8 @@
3
3
  @sapMGenericTagStatusIconWidth: 1rem;
4
4
  @sapMGenericTagIconPaddingRight: 0.5rem;
5
5
  @sapMGenericTagTextMinWidth: 1.5625rem;
6
+ @sapMGenericTagHeightCompact: 1.625rem;
7
+ @sapMGenericTagHeightCozy: 2.5rem;
6
8
 
7
9
  .sapMGenericTag {
8
10
  margin-top: 0.1875rem;
@@ -72,7 +74,7 @@ html.sap-desktop .sapMGenericTag:focus {
72
74
  flex-flow: row nowrap;
73
75
  align-items: center;
74
76
  page-break-after: auto;
75
- height: 1.625rem;
77
+ height: @sapMGenericTagHeightCompact;
76
78
  min-width: @sapMGenericTagBorderWidth + @sapMGenericTagPaddingLeft + @sapMGenericTagStatusIconWidth + @sapMGenericTagIconPaddingRight+ @sapMGenericTagTextMinWidth;
77
79
 
78
80
  .sapMGenericTagIcon {
@@ -126,7 +128,7 @@ html.sap-desktop .sapMGenericTag:focus {
126
128
  }
127
129
 
128
130
  .sapMGenericTagActive & {
129
- background: @sapUiListActiveBackground;
131
+ background-color: @sapUiListActiveBackground;
130
132
 
131
133
  .sapMGenericTagIcon,
132
134
  .sapMGenericTagText,
@@ -189,7 +191,7 @@ html.sap-desktop .sapMGenericTag:focus {
189
191
  margin: 0.25rem 0;
190
192
 
191
193
  .sapMGenericTagWrap {
192
- height: 2.5rem;
194
+ height: @sapMGenericTagHeightCozy;
193
195
  }
194
196
  }
195
197
  }