@openui5/sap.m 1.94.0 → 1.97.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 (520) hide show
  1. package/.reuse/dep5 +12 -12
  2. package/THIRDPARTY.txt +21 -17
  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 +1 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +10 -2
  12. package/src/sap/m/AvatarRenderer.js +3 -0
  13. package/src/sap/m/Bar.js +13 -7
  14. package/src/sap/m/Breadcrumbs.js +2 -2
  15. package/src/sap/m/BusyDialog.js +1 -1
  16. package/src/sap/m/BusyIndicator.js +1 -1
  17. package/src/sap/m/Button.js +34 -1
  18. package/src/sap/m/Carousel.js +11 -3
  19. package/src/sap/m/CarouselLayout.js +1 -1
  20. package/src/sap/m/CheckBox.js +1 -1
  21. package/src/sap/m/ColorPalette.js +7 -11
  22. package/src/sap/m/ColorPalettePopover.js +1 -6
  23. package/src/sap/m/Column.js +6 -1
  24. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  25. package/src/sap/m/ColumnListItem.js +1 -1
  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 +39 -6
  32. package/src/sap/m/ComboBoxBase.js +125 -16
  33. package/src/sap/m/ComboBoxRenderer.js +25 -9
  34. package/src/sap/m/ComboBoxTextField.js +21 -7
  35. package/src/sap/m/CustomDynamicDateOption.js +9 -1
  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 +72 -18
  40. package/src/sap/m/DatePickerRenderer.js +14 -1
  41. package/src/sap/m/DateRangeSelection.js +6 -9
  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 +53 -60
  45. package/src/sap/m/Dialog.js +35 -49
  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 +1 -1
  50. package/src/sap/m/DynamicDateFormat.js +5 -5
  51. package/src/sap/m/DynamicDateOption.js +3 -2
  52. package/src/sap/m/DynamicDateRange.js +20 -8
  53. package/src/sap/m/DynamicDateUtil.js +14 -9
  54. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  55. package/src/sap/m/ExpandableText.js +1 -1
  56. package/src/sap/m/FacetFilter.js +1 -1
  57. package/src/sap/m/FacetFilterItem.js +1 -1
  58. package/src/sap/m/FacetFilterList.js +1 -1
  59. package/src/sap/m/FeedContent.js +1 -1
  60. package/src/sap/m/FeedInput.js +1 -1
  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 +1 -1
  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 +8 -1
  68. package/src/sap/m/GenericTagRenderer.js +1 -1
  69. package/src/sap/m/GenericTile.js +236 -56
  70. package/src/sap/m/GenericTileRenderer.js +229 -84
  71. package/src/sap/m/GroupHeaderListItem.js +1 -1
  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 +1 -1
  75. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  76. package/src/sap/m/IconTabBar.js +8 -1
  77. package/src/sap/m/IconTabBarSelectList.js +1 -1
  78. package/src/sap/m/IconTabFilter.js +2 -2
  79. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  80. package/src/sap/m/IconTabHeader.js +25 -6
  81. package/src/sap/m/IconTabSeparator.js +1 -1
  82. package/src/sap/m/Image.js +1 -1
  83. package/src/sap/m/ImageContent.js +1 -1
  84. package/src/sap/m/Input.js +67 -16
  85. package/src/sap/m/InputBase.js +96 -14
  86. package/src/sap/m/InputBaseRenderer.js +8 -20
  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 +1 -1
  90. package/src/sap/m/LightBoxItem.js +1 -1
  91. package/src/sap/m/Link.js +1 -1
  92. package/src/sap/m/List.js +1 -1
  93. package/src/sap/m/ListBase.js +2 -2
  94. package/src/sap/m/ListItemBase.js +12 -4
  95. package/src/sap/m/MaskEnabler.js +106 -4
  96. package/src/sap/m/MaskInput.js +19 -4
  97. package/src/sap/m/MaskInputRule.js +1 -1
  98. package/src/sap/m/Menu.js +8 -6
  99. package/src/sap/m/MenuButton.js +7 -1
  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/MessageItem.js +1 -16
  104. package/src/sap/m/MessageListItem.js +1 -1
  105. package/src/sap/m/MessagePage.js +35 -6
  106. package/src/sap/m/MessagePopover.js +1 -4
  107. package/src/sap/m/MessagePopoverItem.js +1 -1
  108. package/src/sap/m/MessageStrip.js +7 -3
  109. package/src/sap/m/MessageStripRenderer.js +2 -2
  110. package/src/sap/m/MessageToast.js +1 -1
  111. package/src/sap/m/MessageView.js +16 -27
  112. package/src/sap/m/MultiComboBox.js +412 -150
  113. package/src/sap/m/MultiComboBoxRenderer.js +4 -0
  114. package/src/sap/m/MultiEditField.js +1 -1
  115. package/src/sap/m/MultiInput.js +78 -6
  116. package/src/sap/m/NavContainer.js +13 -5
  117. package/src/sap/m/NewsContent.js +19 -10
  118. package/src/sap/m/NewsContentRenderer.js +1 -2
  119. package/src/sap/m/NotificationList.js +1 -1
  120. package/src/sap/m/NotificationListBase.js +1 -1
  121. package/src/sap/m/NotificationListGroup.js +1 -1
  122. package/src/sap/m/NotificationListGroupRenderer.js +1 -0
  123. package/src/sap/m/NotificationListItem.js +1 -1
  124. package/src/sap/m/NumericContent.js +1 -1
  125. package/src/sap/m/NumericContentRenderer.js +34 -17
  126. package/src/sap/m/ObjectAttribute.js +46 -5
  127. package/src/sap/m/ObjectHeader.js +3 -3
  128. package/src/sap/m/ObjectIdentifier.js +1 -1
  129. package/src/sap/m/ObjectListItem.js +1 -1
  130. package/src/sap/m/ObjectMarker.js +19 -2
  131. package/src/sap/m/ObjectNumber.js +1 -1
  132. package/src/sap/m/ObjectNumberRenderer.js +1 -1
  133. package/src/sap/m/ObjectStatus.js +1 -1
  134. package/src/sap/m/ObjectStatusRenderer.js +4 -1
  135. package/src/sap/m/OverflowToolbar.js +10 -6
  136. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  137. package/src/sap/m/OverflowToolbarButton.js +4 -2
  138. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  139. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  140. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  141. package/src/sap/m/P13nColumnsItem.js +1 -1
  142. package/src/sap/m/P13nColumnsPanel.js +3 -3
  143. package/src/sap/m/P13nConditionPanel.js +22 -52
  144. package/src/sap/m/P13nDialog.js +1 -1
  145. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  146. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  147. package/src/sap/m/P13nFilterItem.js +1 -1
  148. package/src/sap/m/P13nFilterPanel.js +1 -3
  149. package/src/sap/m/P13nGroupItem.js +1 -1
  150. package/src/sap/m/P13nGroupPanel.js +1 -3
  151. package/src/sap/m/P13nItem.js +1 -1
  152. package/src/sap/m/P13nPanel.js +4 -1
  153. package/src/sap/m/P13nSelectionItem.js +1 -1
  154. package/src/sap/m/P13nSelectionPanel.js +1 -1
  155. package/src/sap/m/P13nSortItem.js +1 -1
  156. package/src/sap/m/P13nSortPanel.js +1 -3
  157. package/src/sap/m/PDFViewer.js +14 -5
  158. package/src/sap/m/Page.js +1 -1
  159. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  160. package/src/sap/m/PagingButton.js +1 -1
  161. package/src/sap/m/Panel.js +1 -1
  162. package/src/sap/m/PlanningCalendar.js +70 -35
  163. package/src/sap/m/PlanningCalendarHeader.js +5 -8
  164. package/src/sap/m/PlanningCalendarLegend.js +25 -10
  165. package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -7
  166. package/src/sap/m/PlanningCalendarRow.js +8 -3
  167. package/src/sap/m/PlanningCalendarView.js +1 -6
  168. package/src/sap/m/Popover.js +3 -3
  169. package/src/sap/m/PopoverRenderer.js +3 -2
  170. package/src/sap/m/ProgressIndicator.js +13 -1
  171. package/src/sap/m/PullToRefresh.js +1 -1
  172. package/src/sap/m/QuickView.js +1 -1
  173. package/src/sap/m/QuickViewBase.js +1 -1
  174. package/src/sap/m/QuickViewCard.js +1 -1
  175. package/src/sap/m/QuickViewGroup.js +1 -1
  176. package/src/sap/m/QuickViewGroupElement.js +1 -1
  177. package/src/sap/m/QuickViewPage.js +1 -1
  178. package/src/sap/m/RadioButton.js +1 -1
  179. package/src/sap/m/RadioButtonGroup.js +1 -1
  180. package/src/sap/m/RangeSlider.js +1 -1
  181. package/src/sap/m/RatingIndicator.js +10 -8
  182. package/src/sap/m/ResponsivePopover.js +1 -1
  183. package/src/sap/m/ResponsiveScale.js +1 -1
  184. package/src/sap/m/ScrollBar.js +1 -1
  185. package/src/sap/m/ScrollContainer.js +1 -1
  186. package/src/sap/m/SearchField.js +2 -33
  187. package/src/sap/m/SegmentedButton.js +31 -19
  188. package/src/sap/m/SegmentedButtonItem.js +1 -1
  189. package/src/sap/m/SegmentedButtonRenderer.js +6 -0
  190. package/src/sap/m/Select.js +34 -13
  191. package/src/sap/m/SelectDialog.js +1 -1
  192. package/src/sap/m/SelectDialogBase.js +1 -1
  193. package/src/sap/m/SelectList.js +1 -1
  194. package/src/sap/m/SelectRenderer.js +10 -1
  195. package/src/sap/m/SelectionDetails.js +7 -9
  196. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  197. package/src/sap/m/SelectionDetailsItem.js +8 -4
  198. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  199. package/src/sap/m/Shell.js +9 -17
  200. package/src/sap/m/SimpleFixFlex.js +1 -1
  201. package/src/sap/m/SinglePlanningCalendar.js +7 -10
  202. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  203. package/src/sap/m/SinglePlanningCalendarGrid.js +29 -34
  204. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +34 -22
  205. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
  206. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +7 -8
  207. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
  208. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
  210. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
  211. package/src/sap/m/SlideTile.js +31 -3
  212. package/src/sap/m/SlideTileRenderer.js +9 -0
  213. package/src/sap/m/Slider.js +1 -1
  214. package/src/sap/m/SliderTooltip.js +1 -1
  215. package/src/sap/m/SliderTooltipBase.js +1 -1
  216. package/src/sap/m/SliderTooltipContainer.js +1 -1
  217. package/src/sap/m/SplitApp.js +1 -1
  218. package/src/sap/m/SplitButton.js +1 -1
  219. package/src/sap/m/SplitButtonRenderer.js +5 -1
  220. package/src/sap/m/SplitContainer.js +10 -4
  221. package/src/sap/m/StandardDynamicDateOption.js +98 -69
  222. package/src/sap/m/StandardListItem.js +33 -21
  223. package/src/sap/m/StandardListItemRenderer.js +21 -9
  224. package/src/sap/m/StandardTile.js +1 -1
  225. package/src/sap/m/StandardTreeItem.js +1 -1
  226. package/src/sap/m/StepInput.js +17 -12
  227. package/src/sap/m/Suggest.js +25 -25
  228. package/src/sap/m/SuggestionItem.js +1 -7
  229. package/src/sap/m/SuggestionsPopover.js +44 -1
  230. package/src/sap/m/Switch.js +9 -1
  231. package/src/sap/m/TabContainer.js +1 -1
  232. package/src/sap/m/TabContainerItem.js +33 -3
  233. package/src/sap/m/TabStrip.js +1 -1
  234. package/src/sap/m/TabStripItem.js +11 -15
  235. package/src/sap/m/TabStripRenderer.js +1 -1
  236. package/src/sap/m/Table.js +4 -3
  237. package/src/sap/m/TablePersoController.js +1 -1
  238. package/src/sap/m/TablePersoDialog.js +1 -1
  239. package/src/sap/m/TablePersoProvider.js +1 -1
  240. package/src/sap/m/TableRenderer.js +1 -1
  241. package/src/sap/m/TableSelectDialog.js +1 -1
  242. package/src/sap/m/Text.js +1 -1
  243. package/src/sap/m/TextArea.js +2 -2
  244. package/src/sap/m/Tile.js +1 -1
  245. package/src/sap/m/TileContainer.js +1 -1
  246. package/src/sap/m/TileContent.js +22 -4
  247. package/src/sap/m/TileContentRenderer.js +73 -5
  248. package/src/sap/m/TimePicker.js +45 -6
  249. package/src/sap/m/TimePickerClock.js +2 -2
  250. package/src/sap/m/TimePickerClocks.js +1 -1
  251. package/src/sap/m/TimePickerInputs.js +3 -3
  252. package/src/sap/m/TimePickerInternals.js +1 -1
  253. package/src/sap/m/TimePickerRenderer.js +4 -0
  254. package/src/sap/m/TimePickerSlider.js +2 -2
  255. package/src/sap/m/TimePickerSliders.js +1 -1
  256. package/src/sap/m/Title.js +1 -1
  257. package/src/sap/m/TitlePropagationSupport.js +1 -1
  258. package/src/sap/m/ToggleButton.js +1 -1
  259. package/src/sap/m/ToggleButtonRenderer.js +1 -1
  260. package/src/sap/m/Token.js +1 -1
  261. package/src/sap/m/Tokenizer.js +2 -1
  262. package/src/sap/m/TokenizerRenderer.js +1 -0
  263. package/src/sap/m/Toolbar.js +1 -1
  264. package/src/sap/m/ToolbarLayoutData.js +1 -1
  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 +2 -7
  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/ViewSettingsCustomItem.js +1 -1
  276. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  277. package/src/sap/m/ViewSettingsDialog.js +18 -6
  278. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  279. package/src/sap/m/ViewSettingsItem.js +1 -1
  280. package/src/sap/m/VisibleItem.js +1 -1
  281. package/src/sap/m/WheelSlider.js +2 -2
  282. package/src/sap/m/WheelSliderContainer.js +1 -1
  283. package/src/sap/m/Wizard.js +18 -8
  284. package/src/sap/m/WizardProgressNavigator.js +1 -1
  285. package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
  286. package/src/sap/m/WizardStep.js +1 -1
  287. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  288. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  289. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  290. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  291. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +98 -0
  292. package/src/sap/m/changeHandler/SplitMenuButton.js +5 -2
  293. package/src/sap/m/delegate/DateNavigation.js +4 -5
  294. package/src/sap/m/delegate/ValueStateMessage.js +4 -7
  295. package/src/sap/m/designtime/IconTabBar.designtime.js +86 -2
  296. package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
  297. package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
  298. package/src/sap/m/designtime/messagebundle.properties +9 -0
  299. package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
  300. package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
  301. package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
  302. package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
  303. package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
  304. package/src/sap/m/designtime/messagebundle_da.properties +6 -0
  305. package/src/sap/m/designtime/messagebundle_de.properties +8 -2
  306. package/src/sap/m/designtime/messagebundle_el.properties +6 -0
  307. package/src/sap/m/designtime/messagebundle_en.properties +6 -0
  308. package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
  309. package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
  310. package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
  311. package/src/sap/m/designtime/messagebundle_es.properties +6 -0
  312. package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
  313. package/src/sap/m/designtime/messagebundle_et.properties +6 -0
  314. package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
  315. package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
  316. package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
  317. package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
  318. package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
  319. package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
  320. package/src/sap/m/designtime/messagebundle_id.properties +6 -0
  321. package/src/sap/m/designtime/messagebundle_it.properties +6 -0
  322. package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
  323. package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
  324. package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
  325. package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
  326. package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
  327. package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
  328. package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
  329. package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
  330. package/src/sap/m/designtime/messagebundle_no.properties +6 -0
  331. package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
  332. package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
  333. package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
  334. package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
  335. package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
  336. package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
  337. package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
  338. package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
  339. package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
  340. package/src/sap/m/designtime/messagebundle_th.properties +6 -0
  341. package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
  342. package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
  343. package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
  344. package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
  345. package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
  346. package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
  347. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
  348. package/src/sap/m/inputUtils/ListHelpers.js +16 -3
  349. package/src/sap/m/library.js +122 -35
  350. package/src/sap/m/messagebundle.properties +83 -5
  351. package/src/sap/m/messagebundle_ar.properties +64 -2
  352. package/src/sap/m/messagebundle_bg.properties +64 -2
  353. package/src/sap/m/messagebundle_ca.properties +69 -7
  354. package/src/sap/m/messagebundle_cs.properties +75 -13
  355. package/src/sap/m/messagebundle_cy.properties +64 -2
  356. package/src/sap/m/messagebundle_da.properties +64 -2
  357. package/src/sap/m/messagebundle_de.properties +64 -2
  358. package/src/sap/m/messagebundle_el.properties +64 -2
  359. package/src/sap/m/messagebundle_en.properties +64 -2
  360. package/src/sap/m/messagebundle_en_GB.properties +64 -2
  361. package/src/sap/m/messagebundle_en_US_sappsd.properties +65 -3
  362. package/src/sap/m/messagebundle_en_US_saptrc.properties +65 -3
  363. package/src/sap/m/messagebundle_es.properties +67 -5
  364. package/src/sap/m/messagebundle_es_MX.properties +65 -3
  365. package/src/sap/m/messagebundle_et.properties +64 -2
  366. package/src/sap/m/messagebundle_fi.properties +64 -2
  367. package/src/sap/m/messagebundle_fr.properties +84 -22
  368. package/src/sap/m/messagebundle_fr_CA.properties +65 -3
  369. package/src/sap/m/messagebundle_hi.properties +64 -2
  370. package/src/sap/m/messagebundle_hr.properties +64 -2
  371. package/src/sap/m/messagebundle_hu.properties +64 -2
  372. package/src/sap/m/messagebundle_id.properties +65 -3
  373. package/src/sap/m/messagebundle_it.properties +70 -8
  374. package/src/sap/m/messagebundle_iw.properties +64 -2
  375. package/src/sap/m/messagebundle_ja.properties +64 -2
  376. package/src/sap/m/messagebundle_kk.properties +64 -2
  377. package/src/sap/m/messagebundle_ko.properties +65 -3
  378. package/src/sap/m/messagebundle_lt.properties +64 -2
  379. package/src/sap/m/messagebundle_lv.properties +64 -2
  380. package/src/sap/m/messagebundle_ms.properties +65 -3
  381. package/src/sap/m/messagebundle_nl.properties +65 -3
  382. package/src/sap/m/messagebundle_no.properties +76 -14
  383. package/src/sap/m/messagebundle_pl.properties +68 -6
  384. package/src/sap/m/messagebundle_pt.properties +67 -5
  385. package/src/sap/m/messagebundle_pt_PT.properties +65 -3
  386. package/src/sap/m/messagebundle_ro.properties +70 -8
  387. package/src/sap/m/messagebundle_ru.properties +66 -4
  388. package/src/sap/m/messagebundle_sh.properties +66 -4
  389. package/src/sap/m/messagebundle_sk.properties +64 -2
  390. package/src/sap/m/messagebundle_sl.properties +64 -2
  391. package/src/sap/m/messagebundle_sv.properties +64 -2
  392. package/src/sap/m/messagebundle_th.properties +64 -2
  393. package/src/sap/m/messagebundle_tr.properties +64 -2
  394. package/src/sap/m/messagebundle_uk.properties +71 -9
  395. package/src/sap/m/messagebundle_vi.properties +65 -3
  396. package/src/sap/m/messagebundle_zh_CN.properties +64 -2
  397. package/src/sap/m/messagebundle_zh_TW.properties +64 -2
  398. package/src/sap/m/p13n/AbstractContainer.js +286 -0
  399. package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
  400. package/src/sap/m/p13n/BasePanel.js +644 -0
  401. package/src/sap/m/p13n/Container.js +301 -0
  402. package/src/sap/m/p13n/GroupPanel.js +121 -0
  403. package/src/sap/m/p13n/Popup.js +358 -0
  404. package/src/sap/m/p13n/QueryPanel.js +316 -0
  405. package/src/sap/m/p13n/SelectionPanel.js +403 -0
  406. package/src/sap/m/p13n/SortPanel.js +141 -0
  407. package/src/sap/m/plugins/ColumnResizer.js +1 -1
  408. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  409. package/src/sap/m/plugins/PasteProvider.js +9 -1
  410. package/src/sap/m/plugins/PluginBase.js +1 -1
  411. package/src/sap/m/routing/TargetHandler.js +9 -4
  412. package/src/sap/m/semantic/AddAction.js +1 -1
  413. package/src/sap/m/semantic/CancelAction.js +1 -1
  414. package/src/sap/m/semantic/DeleteAction.js +1 -1
  415. package/src/sap/m/semantic/DetailPage.js +1 -1
  416. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  417. package/src/sap/m/semantic/EditAction.js +1 -1
  418. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  419. package/src/sap/m/semantic/FilterAction.js +1 -1
  420. package/src/sap/m/semantic/FilterSelect.js +1 -1
  421. package/src/sap/m/semantic/FlagAction.js +1 -1
  422. package/src/sap/m/semantic/ForwardAction.js +1 -1
  423. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  424. package/src/sap/m/semantic/GroupAction.js +1 -1
  425. package/src/sap/m/semantic/GroupSelect.js +1 -1
  426. package/src/sap/m/semantic/MainAction.js +1 -1
  427. package/src/sap/m/semantic/MasterPage.js +1 -1
  428. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  429. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  430. package/src/sap/m/semantic/NegativeAction.js +1 -1
  431. package/src/sap/m/semantic/OpenInAction.js +1 -1
  432. package/src/sap/m/semantic/PositiveAction.js +1 -1
  433. package/src/sap/m/semantic/PrintAction.js +1 -1
  434. package/src/sap/m/semantic/SaveAction.js +1 -1
  435. package/src/sap/m/semantic/Segment.js +1 -1
  436. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  437. package/src/sap/m/semantic/SemanticButton.js +1 -1
  438. package/src/sap/m/semantic/SemanticConfiguration.js +3 -5
  439. package/src/sap/m/semantic/SemanticControl.js +1 -1
  440. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  441. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  442. package/src/sap/m/semantic/SemanticPage.js +1 -1
  443. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  444. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  445. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  446. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  447. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  448. package/src/sap/m/semantic/ShareMenu.js +1 -1
  449. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  450. package/src/sap/m/semantic/SortAction.js +1 -1
  451. package/src/sap/m/semantic/SortSelect.js +1 -1
  452. package/src/sap/m/table/ActionItem.js +69 -0
  453. package/src/sap/m/table/ColumnMenu.js +377 -0
  454. package/src/sap/m/table/ColumnMenuEntry.js +101 -0
  455. package/src/sap/m/table/ColumnMenuRenderer.js +82 -0
  456. package/src/sap/m/table/Item.js +130 -0
  457. package/src/sap/m/table/ItemBase.js +153 -0
  458. package/src/sap/m/table/QuickAction.js +53 -0
  459. package/src/sap/m/table/QuickActionBase.js +53 -0
  460. package/src/sap/m/table/Util.js +192 -0
  461. package/src/sap/m/themes/base/AbstractContainer.less +32 -0
  462. package/src/sap/m/themes/base/Breadcrumbs.less +2 -2
  463. package/src/sap/m/themes/base/Carousel.less +37 -2
  464. package/src/sap/m/themes/base/ColumnListItem.less +2 -2
  465. package/src/sap/m/themes/base/ColumnMenu.less +41 -0
  466. package/src/sap/m/themes/base/ComboBox.less +2 -2
  467. package/src/sap/m/themes/base/ComboBoxBase.less +20 -0
  468. package/src/sap/m/themes/base/DatePicker.less +4 -0
  469. package/src/sap/m/themes/base/DateTimePicker.less +20 -1
  470. package/src/sap/m/themes/base/Dialog.less +12 -12
  471. package/src/sap/m/themes/base/GenericTile.less +464 -18
  472. package/src/sap/m/themes/base/IconTabBar.less +17 -16
  473. package/src/sap/m/themes/base/IconTabBarSelectList.less +4 -2
  474. package/src/sap/m/themes/base/Input.less +2 -2
  475. package/src/sap/m/themes/base/InputBase.less +0 -24
  476. package/src/sap/m/themes/base/Label.less +6 -0
  477. package/src/sap/m/themes/base/ListBase.less +7 -5
  478. package/src/sap/m/themes/base/ListItemBase.less +4 -2
  479. package/src/sap/m/themes/base/MessageView.less +4 -0
  480. package/src/sap/m/themes/base/MultiComboBox.less +19 -2
  481. package/src/sap/m/themes/base/NewsContent.less +48 -1
  482. package/src/sap/m/themes/base/NotificationListBase.less +1 -1
  483. package/src/sap/m/themes/base/NumericContent.less +87 -0
  484. package/src/sap/m/themes/base/ObjectAttribute.less +3 -4
  485. package/src/sap/m/themes/base/ObjectNumber.less +10 -2
  486. package/src/sap/m/themes/base/ObjectStatus.less +14 -0
  487. package/src/sap/m/themes/base/P13nContainer.less +17 -0
  488. package/src/sap/m/themes/base/P13nDialog.less +1 -1
  489. package/src/sap/m/themes/base/ProgressIndicator.less +3 -2
  490. package/src/sap/m/themes/base/ScrollContainer.less +1 -3
  491. package/src/sap/m/themes/base/SearchField.less +21 -14
  492. package/src/sap/m/themes/base/SegmentedButton.less +1 -1
  493. package/src/sap/m/themes/base/Select.less +2 -1
  494. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +17 -18
  495. package/src/sap/m/themes/base/SlideTile.less +15 -0
  496. package/src/sap/m/themes/base/StandardListItem.less +6 -1
  497. package/src/sap/m/themes/base/Table.less +16 -27
  498. package/src/sap/m/themes/base/Text.less +6 -0
  499. package/src/sap/m/themes/base/TextArea.less +2 -2
  500. package/src/sap/m/themes/base/TileContent.less +20 -0
  501. package/src/sap/m/themes/base/TimePicker.less +3 -0
  502. package/src/sap/m/themes/base/Token.less +0 -3
  503. package/src/sap/m/themes/base/ValueStateHeader.less +1 -3
  504. package/src/sap/m/themes/base/ViewSettingsDialog.less +5 -5
  505. package/src/sap/m/themes/base/WizardProgressNavigator.less +1 -1
  506. package/src/sap/m/themes/base/library.source.less +5 -0
  507. package/src/sap/m/themes/base/p13n.Container.less +21 -0
  508. package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
  509. package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
  510. package/src/sap/m/themes/sap_hcb/ComboBox.less +9 -0
  511. package/src/sap/m/themes/sap_hcb/Input.less +4 -0
  512. package/src/sap/m/themes/sap_hcb/InputBase.less +25 -0
  513. package/src/sap/m/themes/sap_hcb/MultiComboBox.less +8 -0
  514. package/src/sap/m/themes/sap_hcb/ValueStateHeader.less +3 -0
  515. package/src/sap/m/themes/sap_hcb/WizardProgressNavigator.less +0 -4
  516. package/src/sap/m/themes/sap_hcb/library.source.less +2 -0
  517. package/src/sap/m/upload/UploadSet.js +16 -19
  518. package/src/sap/m/upload/UploadSetItem.js +22 -2
  519. package/ui5.yaml +4 -1
  520. package/src/sap/m/ios7.js +0 -199
@@ -0,0 +1,153 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/m/table/ColumnMenuEntry"
8
+ ], function(
9
+ ColumnMenuEntry
10
+ ) {
11
+ "use strict";
12
+
13
+ /**
14
+ * Constructor for a new ItemBase.
15
+ *
16
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
17
+ * @param {object} [mSettings] Initial settings for the new control
18
+ *
19
+ * @class
20
+ * The ItemBase control serves as a base class for menu items for the sap.m.table.ColumnMenu.
21
+ * This base class is faceless and should be inherited by controls, which intend to be menu items
22
+ * for the sap.m.table.ColumnMenu.
23
+ *
24
+ * @extends sap.m.table.ColumnMenuEntry
25
+ *
26
+ * @author SAP SE
27
+ * @version 1.97.0
28
+ *
29
+ * @private
30
+ * @experimental
31
+ *
32
+ * @alias sap.m.table.ItemBase
33
+ */
34
+ var ItemBase = ColumnMenuEntry.extend("sap.m.table.ItemBase", {
35
+ metadata: {
36
+ "abstract": true,
37
+ library: "sap.m"
38
+ }
39
+ });
40
+
41
+ ItemBase.prototype.init = function () {
42
+ this._oButtonSettings = {
43
+ reset: {visible: true, enabled: true},
44
+ confirm: {visible: true, enabled: true},
45
+ cancel: {visible: true, enabled: true}
46
+ };
47
+ };
48
+
49
+ /**
50
+ * This method can be used to retrieve the effective items of the item.
51
+ *
52
+ * This method allows subclasses to return composition of other items, if they contain multiple items or controls.
53
+ * @returns {Array<sap.m.table.ItemBase>} A composition of effective items
54
+ *
55
+ * @protected
56
+ */
57
+ ItemBase.prototype.getEffectiveItems = function() {
58
+ return [this];
59
+ };
60
+
61
+ /**
62
+ * This method can be used to retrieve the set icon for a item.
63
+ *
64
+ * @returns {sap.ui.core.URI} The specified icon
65
+ *
66
+ * @protected
67
+ */
68
+ ItemBase.prototype.getIcon = function() {
69
+ if (this.getMetadata().hasProperty("icon")) {
70
+ return this.getProperty("icon");
71
+ }
72
+ throw new Error(this + " does not implement #getIcon");
73
+ };
74
+
75
+ /**
76
+ * This method can be used as an event handler for a press event.
77
+ *
78
+ * @param {jQuery.Event} oEvent The emitted event
79
+ *
80
+ * @protected
81
+ */
82
+ ItemBase.prototype.onPress = function (oEvent) {
83
+ };
84
+
85
+ /**
86
+ * This method can be used as an event handler for a back event.
87
+ *
88
+ * @param {jQuery.Event} oEvent The emitted event
89
+ *
90
+ * @protected
91
+ */
92
+ ItemBase.prototype.onBack = function (oEvent) {
93
+ };
94
+
95
+ /**
96
+ * This method can be used as an event handler for a confirm event.
97
+ *
98
+ * @param {jQuery.Event} oEvent The emitted event
99
+ *
100
+ * @protected
101
+ */
102
+ ItemBase.prototype.onConfirm = function (oEvent) {
103
+ };
104
+
105
+ /**
106
+ * This method can be used as an event handler for a cancel event.
107
+ *
108
+ * @param {jQuery.Event} oEvent The emitted event
109
+ *
110
+ * @protected
111
+ */
112
+ ItemBase.prototype.onCancel = function (oEvent) {
113
+ };
114
+
115
+ /**
116
+ * This method can be used as an event handler for a reset event.
117
+ *
118
+ * @param {jQuery.Event} oEvent The emitted event
119
+ *
120
+ * @protected
121
+ */
122
+ ItemBase.prototype.onReset = function (oEvent) {
123
+ };
124
+
125
+ /**
126
+ * This method can be used to retrieve the button settings.
127
+ *
128
+ * @protected
129
+ */
130
+ ItemBase.prototype.getButtonSettings = function () {
131
+ return this._oButtonSettings;
132
+ };
133
+
134
+ /**
135
+ * This method can be used to change the button settings of an item.
136
+ *
137
+ * @param {object} oButtonSettings Object containing button settings
138
+ *
139
+ * @protected
140
+ */
141
+ ItemBase.prototype.changeButtonSettings = function (oButtonSettings) {
142
+ Object.keys(oButtonSettings).forEach(function (sButtonKey) {
143
+ if (this._oButtonSettings.hasOwnProperty(sButtonKey)) {
144
+ Object.keys(oButtonSettings[sButtonKey]).forEach(function (sSettingKey) {
145
+ this._oButtonSettings[sButtonKey][sSettingKey] = oButtonSettings[sButtonKey][sSettingKey];
146
+ }, this);
147
+ }
148
+ }, this);
149
+ this.getMenu() && this.getMenu()._updateButtonState(this);
150
+ };
151
+
152
+ return ItemBase;
153
+ });
@@ -0,0 +1,53 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/m/table/QuickActionBase"
9
+ ], function (
10
+ QuickActionBase
11
+ ) {
12
+ "use strict";
13
+
14
+ /**
15
+ * Constructor for a new QuickAction.
16
+ *
17
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
18
+ * @param {object} [mSettings] Initial settings for the new control
19
+ *
20
+ * @class
21
+ * This control serves as a quick action for sap.m.table.ColumnMenu.
22
+ * It can be used to specify control- and application specific quick actions.
23
+ *
24
+ * @extends sap.m.table.QuickActionBase
25
+ *
26
+ * @author SAP SE
27
+ * @version 1.97.0
28
+ *
29
+ * @private
30
+ * @experimental
31
+ *
32
+ * @alias sap.m.table.QuickAction
33
+ */
34
+ var QuickAction = QuickActionBase.extend("sap.m.table.QuickAction", {
35
+ metadata: {
36
+ library: "sap.m",
37
+ properties: {
38
+ /**
39
+ * Defines the text for the label.
40
+ */
41
+ label: { type: "string" }
42
+ },
43
+ aggregations: {
44
+ /**
45
+ * Defines the content, which should be shown for the quick action.
46
+ */
47
+ content: { type: "sap.ui.core.Control", multiple: false }
48
+ }
49
+ }
50
+ });
51
+
52
+ return QuickAction;
53
+ });
@@ -0,0 +1,53 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/m/table/ColumnMenuEntry"
8
+ ], function(
9
+ ColumnMenuEntry
10
+ ) {
11
+ "use strict";
12
+
13
+ /**
14
+ * Constructor for a new QuickActionBase.
15
+ *
16
+ * @param {string} [sId] ID for the new control, generated automatically if no ID is given
17
+ * @param {object} [mSettings] Initial settings for the new control
18
+ *
19
+ * @class
20
+ * This control serves as a base class for quick actions.
21
+ * This base class is faceless and should be inherited by controls, which intend to
22
+ * serve as quick actions for the sap.m.table.ColumnMenu.
23
+ *
24
+ * @extends sap.m.table.ColumnMenuEntry
25
+ *
26
+ * @author SAP SE
27
+ * @version 1.97.0
28
+ *
29
+ * @private
30
+ * @experimental
31
+ *
32
+ * @alias sap.m.table.QuickActionBase
33
+ */
34
+ var QuickActionBase = ColumnMenuEntry.extend("sap.m.table.QuickActionBase", {
35
+ metadata: {
36
+ "abstract": true,
37
+ library: "sap.m"
38
+ }
39
+ });
40
+
41
+ /**
42
+ * This method can be used to retrieve the effective quick actions.
43
+ *
44
+ * Sublasses can implement this method, if there are compositions of other quick actions.
45
+ * @returns {Array<sap.m.table.QuickActionBase>} The effective quick actions
46
+ *
47
+ * @public
48
+ */
49
+ QuickActionBase.prototype.getEffectiveQuickActions = function() {
50
+ return [this];
51
+ };
52
+ return QuickActionBase;
53
+ });
@@ -0,0 +1,192 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ /**
8
+ * @class Provides utility functions for tables
9
+ * @alias sap.m.table.Util
10
+ * @author SAP SE
11
+ * @version 1.97.0
12
+ * @since 1.96.0
13
+ * @private
14
+ * @static
15
+ * @experimental Since 1.96.0. This class is experimental and the API might be changed in future.
16
+ */
17
+ sap.ui.define([
18
+ "sap/m/library",
19
+ "sap/ui/core/Core",
20
+ "sap/ui/core/theming/Parameters"
21
+ ], function(MLibrary, Core, ThemeParameters) {
22
+ "use strict";
23
+ /*global Intl*/
24
+
25
+ var Util = {};
26
+
27
+ // local privates
28
+ var sDefaultFont = "";
29
+ var fBaseFontSize = parseFloat(MLibrary.BaseFontSize);
30
+
31
+ /**
32
+ * Measures the given text width in a canvas and returns the value in rem.
33
+ *
34
+ * @param {string} sText The text to be measured
35
+ * @param {string} [sFont] The font. When not given, uses theme parameters: sapMFontMediumSize and sapUiFontFamily.
36
+ * @returns {float} The text width converted to rem
37
+ * @private
38
+ */
39
+ Util.measureText = (function() {
40
+ var fEpsilon = 0.05;
41
+ var oCanvasContext = document.createElement("canvas").getContext("2d");
42
+ var fnSetDefaultFont = function() {
43
+ sDefaultFont = [
44
+ parseFloat(ThemeParameters.get({ name: "sapMFontMediumSize" }) || "0.875rem") * fBaseFontSize + "px",
45
+ ThemeParameters.get({ name: "sapUiFontFamily" }) || "Arial"
46
+ ].join(" ");
47
+ return sDefaultFont;
48
+ };
49
+
50
+ Core.attachThemeChanged(fnSetDefaultFont);
51
+
52
+ return function(sText, sFont) {
53
+ oCanvasContext.font = sFont || sDefaultFont || fnSetDefaultFont();
54
+ return oCanvasContext.measureText(sText || "").width / fBaseFontSize + fEpsilon;
55
+ };
56
+ })();
57
+
58
+
59
+ /**
60
+ * Calculates the width of a give ODataType that is used in tables.
61
+ *
62
+ * @param {sap.ui.model.odata.type.ODataType} oType The ODataType instance
63
+ * @param {object} [mSettings] The settings object
64
+ * @param {int} [mSettings.maxWidth=19] The maximum content width of the field in rem
65
+ * @param {int} [mSettings.defaultWidth=8] The default column content width when type check fails
66
+ * @returns {float} The calculated width of the ODataType converted to rem
67
+ * @private
68
+ */
69
+ Util.calcTypeWidth = (function() {
70
+ var fBooleanWidth = 0;
71
+ var aDateParameter = [2023, 9, 26, 22, 47, 58, 999];
72
+ var oUTCDate = new Date(Date.UTC.apply(0, aDateParameter));
73
+ var oLocalDate = new (Function.prototype.bind.apply(Date, [null].concat(aDateParameter)))();
74
+ var mNumericLimits = { Byte: 3, SByte: 3, Int16: 5, Int32: 9, Int64: 12, Single: 6, Float: 12, Double: 13, Decimal: 15 };
75
+ Core.attachThemeChanged(function() { fBooleanWidth = 0; });
76
+
77
+ return function(oType, mSettings) {
78
+
79
+ var sType = oType.getMetadata().getName().split(".").pop();
80
+
81
+ if (sType == "Boolean") {
82
+ if (!fBooleanWidth) {
83
+ var oResourceBundle = Core.getLibraryResourceBundle("sap.ui.core");
84
+ var fYesWidth = Util.measureText(oResourceBundle.getText("YES"));
85
+ var fNoWidth = Util.measureText(oResourceBundle.getText("NO"));
86
+ fBooleanWidth = Math.max(fYesWidth, fNoWidth);
87
+ }
88
+ return fBooleanWidth;
89
+ }
90
+
91
+ if (sType == "String" || oType.isA("sap.ui.model.odata.type.String")) {
92
+ var iMaxWidth = mSettings && mSettings.maxWidth || 19;
93
+ var iMaxLength = oType.getConstraints().maxLength || 0;
94
+
95
+ if (!iMaxLength) {
96
+ return Math.max(Math.min(10, iMaxWidth), iMaxWidth * 0.75);
97
+ }
98
+ if (iMaxLength * 0.25 > iMaxWidth) {
99
+ return iMaxWidth;
100
+ }
101
+
102
+ var fSampleWidth = Util.measureText("A".repeat(iMaxLength));
103
+ if (iMaxLength < iMaxWidth || iMaxWidth < 10) {
104
+ return Math.min(fSampleWidth, iMaxWidth);
105
+ }
106
+
107
+ var fWidth = Math.log(fSampleWidth - iMaxWidth * 0.16) / Math.log(iMaxWidth / 3) * (iMaxWidth / 2) * Math.pow(iMaxWidth / 19, 1 / fSampleWidth);
108
+ return Math.min(fWidth, fSampleWidth, iMaxWidth);
109
+ }
110
+
111
+ if (sType.startsWith("Date") || sType.startsWith("Time")) {
112
+ var oDate = oType.getFormatOptions().UTC ? oUTCDate : oLocalDate;
113
+ var sSample = oDate.toLocaleDateString();
114
+
115
+ if (sType == "TimeOfDay") {
116
+ sSample = new Intl.DateTimeFormat('de', {hour: 'numeric', minute: 'numeric', second: 'numeric'}).format(oDate);
117
+ sSample = oType.formatValue(sSample, "string");
118
+ } else if (oType.isA("sap.ui.model.odata.type.Time")) {
119
+ sSample = oType.formatValue({ __edmType: "Edm.Time", ms: oUTCDate.valueOf() }, "string");
120
+ } else {
121
+ sSample = oType.formatValue(oDate, "string");
122
+ }
123
+ return Util.measureText(sSample);
124
+ }
125
+
126
+ if (mNumericLimits[sType]) {
127
+ var iScale = oType.getConstraints().scale || 0;
128
+ var iPrecision = oType.getConstraints().precision || 20;
129
+ iPrecision = Math.min(iPrecision, mNumericLimits[sType]);
130
+ var sNumber = 2 * Math.pow(10, iPrecision - iScale - 1);
131
+ sNumber = oType.formatValue(sNumber, "string");
132
+ return Util.measureText(sNumber);
133
+ }
134
+
135
+ return mSettings && mSettings.defaultWidth || 8;
136
+ };
137
+
138
+ })();
139
+
140
+ /**
141
+ * Calculates the width of the column header width according to calculated cell content and min/max width restrictions.
142
+ *
143
+ * @param {string} sHeader The header text
144
+ * @param {float} fContentWidth The calculated width of the cell in rem
145
+ * @param {int} [iMaxWidth=19] The maximum header width in rem
146
+ * @param {int} [iMinWidth=2] The minimum header width in rem
147
+ * @returns {float} The calculated header width in rem
148
+ * @private
149
+ */
150
+ Util.calcHeaderWidth = (function() {
151
+ var sHeaderFont = "";
152
+ var fnGetHeaderFont = function() {
153
+ if (!sHeaderFont) {
154
+ sHeaderFont = [ThemeParameters.get({ name: "sapUiColumnHeaderFontWeight" }) || "normal", sDefaultFont].join(" ");
155
+ }
156
+ return sHeaderFont;
157
+ };
158
+
159
+ Core.attachThemeChanged(function() { sHeaderFont = ""; });
160
+
161
+ return function(sHeader, fContentWidth, iMaxWidth, iMinWidth) {
162
+ var iHeaderLength = sHeader.length;
163
+ iMaxWidth = iMaxWidth || 19;
164
+ iMinWidth = iMinWidth || 2;
165
+
166
+ if (fContentWidth > iMaxWidth) {
167
+ return iMaxWidth;
168
+ }
169
+ if (iMinWidth > iHeaderLength) {
170
+ return iMinWidth;
171
+ }
172
+
173
+ fContentWidth = Math.max(fContentWidth, iMinWidth);
174
+ if (fContentWidth > iHeaderLength) {
175
+ return fContentWidth;
176
+ }
177
+
178
+ var fOrigHeaderWidth = Util.measureText(sHeader, fnGetHeaderFont());
179
+ fOrigHeaderWidth = Math.min(fOrigHeaderWidth, iMaxWidth * 0.7);
180
+
181
+ var fContentHeaderRatio = Math.max(1, 1 - (Math.log(Math.max(fContentWidth - 1.7, 0.2)) / Math.log(iMaxWidth * 0.5)) + 1);
182
+ var fMaxHeaderWidth = fContentHeaderRatio * fContentWidth;
183
+
184
+ var fHeaderWidthDiff = Math.max(0, fOrigHeaderWidth - fMaxHeaderWidth);
185
+ var fHeaderWidth = (fHeaderWidthDiff < 0.15) ? fOrigHeaderWidth : fMaxHeaderWidth + fHeaderWidthDiff * (1 - 1 / fContentWidth) / Math.E;
186
+ return fHeaderWidth;
187
+ };
188
+ })();
189
+
190
+ return Util;
191
+
192
+ }, false);
@@ -0,0 +1,32 @@
1
+ .sapUiMAbstractContainerContent {
2
+
3
+ }
4
+
5
+ //Change background color for the container control
6
+ .sapUiMAbstractContainerContent .sapMITB {
7
+ padding-top: 1.75rem;
8
+ }
9
+
10
+ //Remove padding to align the ITB with the rest of the p13n related controls (left aligned)
11
+ .sapUiMAbstractContainerContent .sapMITH {
12
+ padding: 0
13
+ }
14
+
15
+ .sapUiMAbstractContainerContent .wrapperDefaultList .sapMLIB{
16
+ padding: 1.5rem;
17
+ }
18
+
19
+ .sapMAbstractContainer .sapMPage {
20
+ display: flex;
21
+ flex-direction: column;
22
+
23
+ &>section {
24
+ flex-grow: 1;
25
+ position: unset;
26
+ top: 0;
27
+ }
28
+
29
+ >footer:not(.sapUiHidden) {
30
+ position: relative;
31
+ }
32
+ }
@@ -33,12 +33,12 @@
33
33
  }
34
34
  }
35
35
 
36
- .sapMBreadcrumbsItem.sapMBreadcrumbsSelectItem >
36
+ .sapMBreadcrumbsItem.sapMBreadcrumbsSelectItem >
37
37
  .sapMSlt.sapMSltIconOnly.sapMSltWithIcon.sapMSltHoverable.sapMSltWithArrow {
38
38
  background: transparent;
39
39
  border: none;
40
40
 
41
- &:focus,
41
+ &.sapMSltFocused,
42
42
  &:hover {
43
43
  .sapMSltIcon:before {
44
44
  color: @sapUiLinkHover;
@@ -8,6 +8,7 @@
8
8
  @_sap_m_Carousel_NumericIndicatorTextColor: @sapUiContentLabelColor;
9
9
  @_sap_m_Carousel_PrevAndNextSize: 2rem;
10
10
  @_sap_m_Carousel_PrevAndNextPosition: 0.625rem;
11
+ @_sap_m_Carousel_PrevAndNextFocusBorderRadius: unset;
11
12
  @_sap_m_Carousel_PageIndicatorContainerPadding: 1rem;
12
13
  @_sap_m_Carousel_PageIndicatorWidthSizeS: 12rem;
13
14
  @_sap_m_Carousel_PageIndicatorWidthSizeM: 16rem;
@@ -22,6 +23,8 @@
22
23
 
23
24
  @_sap_m_Carousel_BulletInactiveWidth: 0.25rem;
24
25
  @_sap_m_Carousel_BulletInactiveMargin: 0 0.375rem;
26
+ @_sap_m_Carousel_FocusBorderOffset: 0;
27
+ @_sap_m_Carousel_FocusBorderOffsetArrow: -0.125rem;
25
28
 
26
29
  .sapMCrsl {
27
30
  position: relative;
@@ -35,6 +38,20 @@
35
38
  outline: none;
36
39
  }
37
40
 
41
+ .sapMCrsl:focus {
42
+ &:before {
43
+ border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
44
+ position: absolute;
45
+ content: " ";
46
+ top: @_sap_m_Carousel_FocusBorderOffset;
47
+ right: @_sap_m_Carousel_FocusBorderOffset;
48
+ bottom: @_sap_m_Carousel_FocusBorderOffset;
49
+ left: @_sap_m_Carousel_FocusBorderOffset;
50
+ z-index: 2;
51
+ pointer-events: none;
52
+ }
53
+ }
54
+
38
55
  //show the left and right arrows when the carousel is focused
39
56
  .sapMCrsl:focus .sapMCrslHud a {
40
57
  opacity: 0.3;
@@ -445,7 +462,6 @@ html[data-sap-ui-animation='off'] {
445
462
  color: @sapUiContentNonInteractiveIconColor;
446
463
  background-color: @_sap_m_Carousel_BulletActiveBackground;
447
464
  border: 1px solid @_sap_m_Carousel_BulletActiveBorder;
448
-
449
465
  width: 0.5rem;
450
466
  height: 0.5rem;
451
467
  margin: 0 0.25rem;
@@ -463,7 +479,6 @@ html[data-sap-ui-animation='off'] {
463
479
  .sapMCrsl .sapMCrslHud a:hover,
464
480
  .sapMCrsl .sapMCrslHud a:focus {
465
481
  background: @sapUiButtonBackground;
466
-
467
482
  opacity: 1;
468
483
  display: block;
469
484
  }
@@ -542,3 +557,23 @@ html[data-sap-ui-animation='off'] {
542
557
  opacity: 1;
543
558
  display: block;
544
559
  }
560
+
561
+ html.sap-desktop {
562
+ .sapMCrslHud,
563
+ .sapMCrslControls {
564
+ .sapMCrslPrev:focus,
565
+ .sapMCrslNext:focus {
566
+ &::after {
567
+ content: "";
568
+ position: absolute;
569
+ top: @_sap_m_Carousel_FocusBorderOffsetArrow;
570
+ right: @_sap_m_Carousel_FocusBorderOffsetArrow;
571
+ bottom: @_sap_m_Carousel_FocusBorderOffsetArrow;
572
+ left: @_sap_m_Carousel_FocusBorderOffsetArrow;
573
+ pointer-events: none;
574
+ border-radius: @_sap_m_Carousel_PrevAndNextFocusBorderRadius;
575
+ border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
576
+ }
577
+ }
578
+ }
579
+ }
@@ -136,8 +136,8 @@
136
136
  border-top: 1px solid @sapUiListBorderColor;
137
137
  }
138
138
 
139
- .sapMListShowSeparatorsNone .sapMLIBShowSeparator > td,
140
- .sapMListShowSeparatorsInner .sapMLIBShowSeparator:first-child > td {
139
+ .sapMListShowSeparatorsNone .sapMLIBShowSeparator > td:not(.sapMListTblDummyCell),
140
+ .sapMListShowSeparatorsInner .sapMLIBShowSeparator:first-child > td:not(.sapMListTblDummyCell) {
141
141
  border-color: transparent;
142
142
  }
143
143
 
@@ -0,0 +1,41 @@
1
+ /* ======================================= */
2
+ /* CSS for control sap.m/table/ColumnMenu */
3
+ /* Base theme */
4
+ /* ======================================= */
5
+
6
+ .sapMTCMenu {
7
+
8
+ }
9
+
10
+ .sapMTCMenu.sapMWrapper {
11
+ display: flex;
12
+ flex-direction: column;
13
+ height: 100%;
14
+
15
+ .sapMContainerWrapper {
16
+ height: 100%;
17
+ overflow: hidden;
18
+ }
19
+ }
20
+
21
+ .sapMTCMenu .sapMTQAList{
22
+ display: grid;
23
+ grid-template-columns: minmax(min-content, max-content) 2fr;
24
+ column-gap: 10px;
25
+ row-gap: 5px;
26
+ padding: .5rem 1rem .5rem 1rem;
27
+ }
28
+
29
+ .sapMTCMenu .sapMTQAListHidden {
30
+ display: none;
31
+ }
32
+
33
+ .sapMTCMenu .sapMTQAList .sapMQAction {
34
+ display: contents;
35
+
36
+ .sapMQALabel {
37
+ justify-self: end;
38
+ align-self: center;
39
+ text-align: end;
40
+ }
41
+ }
@@ -5,6 +5,6 @@
5
5
 
6
6
  .sapMComboBoxBasePicker-CTX .sapMComboBoxList.sapMListFocus .sapMLIBSelected,
7
7
  .sapMComboBoxBasePicker-CTX .sapMComboBoxList.sapMListFocus .sapMComboBoxBaseNonInteractiveItem.sapMLIBFocused {
8
- outline: 1px dotted @sapUiContentFocusColor;
9
- outline-offset: -2px;
8
+ outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
9
+ outline-offset: -0.125rem;
10
10
  }
@@ -3,12 +3,32 @@
3
3
  /* Base theme */
4
4
  /* =================================== */
5
5
 
6
+ .sapMComboBoxBase.sapMInputBaseHasEndIcons .sapMInputBaseInner {
7
+ width: auto;
8
+ flex: 1
9
+ }
10
+
11
+ .sapMComboBoxBase .sapMInputBaseContentWrapper {
12
+ display: inline-flex;
13
+ }
14
+
6
15
  /* ------------------------------ */
7
16
  /* arrow */
8
17
  /* ------------------------------ */
9
18
 
10
19
  .sapMComboBoxBase.sapMInputBaseReadonly .sapMInputBaseIcon {
11
20
  opacity: 0;
21
+ cursor: default;
22
+ }
23
+
24
+ .sapMInputBase:not(.sapMInputBaseDisabled):not(.sapMInputBaseIconPressed).sapMComboBoxBase.sapMComboBoxBaseArrowPressed .sapMInputBaseIconContainer .sapMInputBaseIcon:last-child {
25
+ background: @sapUiToggleButtonPressedBackground;
26
+ &:hover {
27
+ background: @sapUiToggleButtonPressedBackground;
28
+ }
29
+ &::before {
30
+ color: @sapUiToggleButtonPressedTextColor;
31
+ }
12
32
  }
13
33
 
14
34
  /* ------------------------------ */
@@ -27,4 +27,8 @@ html.sap-phone, html.sapUiMedia-Std-Phone {
27
27
  padding-bottom: 3rem;
28
28
  }
29
29
  }
30
+ }
31
+
32
+ .sapMInputBase.sapMDatePickerHiddenInput {
33
+ display: none;
30
34
  }