@openui5/sap.m 1.115.0 → 1.116.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 (431) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  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 +6 -2
  9. package/src/sap/m/ActionTile.js +1 -1
  10. package/src/sap/m/ActionTileContent.js +1 -1
  11. package/src/sap/m/AdditionalTextButton.js +1 -1
  12. package/src/sap/m/App.js +1 -1
  13. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  14. package/src/sap/m/Avatar.js +25 -2
  15. package/src/sap/m/Bar.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +1 -1
  17. package/src/sap/m/BusyDialog.js +5 -3
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +1 -1
  20. package/src/sap/m/Carousel.js +1 -1
  21. package/src/sap/m/CarouselLayout.js +1 -1
  22. package/src/sap/m/CarouselRenderer.js +1 -0
  23. package/src/sap/m/CheckBox.js +1 -1
  24. package/src/sap/m/ColorPalette.js +1 -1
  25. package/src/sap/m/ColorPalettePopover.js +1 -1
  26. package/src/sap/m/Column.js +29 -170
  27. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  28. package/src/sap/m/ColumnListItem.js +5 -11
  29. package/src/sap/m/ColumnListItemRenderer.js +16 -27
  30. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  35. package/src/sap/m/ComboBox.js +1 -1
  36. package/src/sap/m/ComboBoxBase.js +1 -1
  37. package/src/sap/m/ComboBoxTextField.js +1 -1
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomTile.js +1 -1
  40. package/src/sap/m/CustomTreeItem.js +1 -1
  41. package/src/sap/m/DatePicker.js +23 -1
  42. package/src/sap/m/DateRangeSelection.js +34 -5
  43. package/src/sap/m/DateTimeField.js +13 -8
  44. package/src/sap/m/DateTimeInput.js +1 -1
  45. package/src/sap/m/DateTimePicker.js +1 -1
  46. package/src/sap/m/Dialog.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/DynamicDateOption.js +1 -1
  51. package/src/sap/m/DynamicDateRange.js +1 -1
  52. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  53. package/src/sap/m/ExpandableText.js +1 -1
  54. package/src/sap/m/FacetFilter.js +1 -1
  55. package/src/sap/m/FacetFilterItem.js +1 -1
  56. package/src/sap/m/FacetFilterList.js +1 -1
  57. package/src/sap/m/FeedContent.js +1 -1
  58. package/src/sap/m/FeedInput.js +1 -1
  59. package/src/sap/m/FeedListItem.js +18 -1
  60. package/src/sap/m/FeedListItemAction.js +1 -1
  61. package/src/sap/m/Fiori20Adapter.js +2 -2
  62. package/src/sap/m/FlexBox.js +1 -1
  63. package/src/sap/m/FlexItemData.js +1 -1
  64. package/src/sap/m/FormattedText.js +43 -49
  65. package/src/sap/m/GenericTag.js +1 -1
  66. package/src/sap/m/GenericTile.js +1 -1
  67. package/src/sap/m/GroupHeaderListItem.js +1 -1
  68. package/src/sap/m/GroupHeaderListItemRenderer.js +5 -5
  69. package/src/sap/m/GrowingEnablement.js +22 -25
  70. package/src/sap/m/GrowingList.js +1 -1
  71. package/src/sap/m/HBox.js +1 -1
  72. package/src/sap/m/HeaderContainer.js +1 -1
  73. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  74. package/src/sap/m/IconTabBar.js +1 -1
  75. package/src/sap/m/IconTabBarSelectList.js +1 -1
  76. package/src/sap/m/IconTabFilter.js +1 -2
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +1 -1
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/IllustratedMessage.js +1 -1
  81. package/src/sap/m/Illustration.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 +12 -7
  85. package/src/sap/m/InputBase.js +1 -1
  86. package/src/sap/m/InputListItem.js +1 -1
  87. package/src/sap/m/Label.js +1 -1
  88. package/src/sap/m/LightBox.js +1 -1
  89. package/src/sap/m/LightBoxItem.js +1 -1
  90. package/src/sap/m/Link.js +29 -1
  91. package/src/sap/m/List.js +1 -1
  92. package/src/sap/m/ListBase.js +3 -8
  93. package/src/sap/m/ListItemBase.js +1 -1
  94. package/src/sap/m/MaskEnabler.js +1 -1
  95. package/src/sap/m/MaskInput.js +1 -1
  96. package/src/sap/m/MaskInputRule.js +1 -1
  97. package/src/sap/m/Menu.js +1 -1
  98. package/src/sap/m/MenuButton.js +1 -1
  99. package/src/sap/m/MenuItem.js +1 -1
  100. package/src/sap/m/MenuListItem.js +1 -1
  101. package/src/sap/m/MessageItem.js +1 -1
  102. package/src/sap/m/MessageListItem.js +1 -1
  103. package/src/sap/m/MessagePage.js +1 -1
  104. package/src/sap/m/MessagePopover.js +1 -1
  105. package/src/sap/m/MessagePopoverItem.js +1 -1
  106. package/src/sap/m/MessageStrip.js +1 -1
  107. package/src/sap/m/MessageToast.js +1 -12
  108. package/src/sap/m/MessageView.js +1 -1
  109. package/src/sap/m/MultiComboBox.js +1 -1
  110. package/src/sap/m/MultiEditField.js +1 -1
  111. package/src/sap/m/MultiInput.js +1 -1
  112. package/src/sap/m/NavContainer.js +1 -1
  113. package/src/sap/m/NewsContent.js +1 -1
  114. package/src/sap/m/NotificationList.js +1 -1
  115. package/src/sap/m/NotificationListBase.js +1 -1
  116. package/src/sap/m/NotificationListGroup.js +1 -1
  117. package/src/sap/m/NotificationListItem.js +1 -1
  118. package/src/sap/m/NumericContent.js +1 -1
  119. package/src/sap/m/NumericInput.js +1 -1
  120. package/src/sap/m/ObjectAttribute.js +1 -1
  121. package/src/sap/m/ObjectHeader.js +1 -1
  122. package/src/sap/m/ObjectIdentifier.js +1 -1
  123. package/src/sap/m/ObjectListItem.js +1 -1
  124. package/src/sap/m/ObjectMarker.js +1 -1
  125. package/src/sap/m/ObjectNumber.js +1 -1
  126. package/src/sap/m/ObjectStatus.js +47 -4
  127. package/src/sap/m/ObjectStatusRenderer.js +7 -0
  128. package/src/sap/m/OverflowToolbar.js +7 -1
  129. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  130. package/src/sap/m/OverflowToolbarButton.js +1 -1
  131. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  132. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  133. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  134. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  135. package/src/sap/m/P13nColumnsItem.js +1 -1
  136. package/src/sap/m/P13nColumnsPanel.js +1 -1
  137. package/src/sap/m/P13nConditionPanel.js +1 -1
  138. package/src/sap/m/P13nDialog.js +1 -1
  139. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  140. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  141. package/src/sap/m/P13nFilterItem.js +1 -1
  142. package/src/sap/m/P13nFilterPanel.js +1 -1
  143. package/src/sap/m/P13nGroupItem.js +1 -1
  144. package/src/sap/m/P13nGroupPanel.js +1 -1
  145. package/src/sap/m/P13nItem.js +1 -1
  146. package/src/sap/m/P13nPanel.js +1 -1
  147. package/src/sap/m/P13nSelectionItem.js +1 -1
  148. package/src/sap/m/P13nSelectionPanel.js +1 -1
  149. package/src/sap/m/P13nSortItem.js +1 -1
  150. package/src/sap/m/P13nSortPanel.js +1 -1
  151. package/src/sap/m/PDFViewer.js +1 -1
  152. package/src/sap/m/Page.js +1 -1
  153. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  154. package/src/sap/m/PagingButton.js +1 -1
  155. package/src/sap/m/Panel.js +1 -1
  156. package/src/sap/m/PlanningCalendar.js +1 -1
  157. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  158. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  159. package/src/sap/m/PlanningCalendarRow.js +1 -1
  160. package/src/sap/m/PlanningCalendarView.js +1 -1
  161. package/src/sap/m/Popover.js +1 -1
  162. package/src/sap/m/ProgressIndicator.js +1 -1
  163. package/src/sap/m/PullToRefresh.js +1 -1
  164. package/src/sap/m/QuickView.js +1 -1
  165. package/src/sap/m/QuickViewBase.js +1 -1
  166. package/src/sap/m/QuickViewCard.js +1 -1
  167. package/src/sap/m/QuickViewGroup.js +1 -1
  168. package/src/sap/m/QuickViewGroupElement.js +1 -1
  169. package/src/sap/m/QuickViewPage.js +1 -1
  170. package/src/sap/m/RadioButton.js +1 -1
  171. package/src/sap/m/RadioButtonGroup.js +1 -1
  172. package/src/sap/m/RangeSlider.js +1 -1
  173. package/src/sap/m/RatingIndicator.js +16 -4
  174. package/src/sap/m/RatingIndicatorRenderer.js +9 -2
  175. package/src/sap/m/ResponsivePopover.js +1 -1
  176. package/src/sap/m/ResponsiveScale.js +1 -1
  177. package/src/sap/m/ScrollBar.js +1 -1
  178. package/src/sap/m/ScrollContainer.js +1 -1
  179. package/src/sap/m/SearchField.js +1 -1
  180. package/src/sap/m/SearchFieldRenderer.js +1 -1
  181. package/src/sap/m/SegmentedButton.js +1 -1
  182. package/src/sap/m/SegmentedButtonItem.js +1 -1
  183. package/src/sap/m/Select.js +1 -1
  184. package/src/sap/m/SelectDialog.js +1 -1
  185. package/src/sap/m/SelectDialogBase.js +1 -1
  186. package/src/sap/m/SelectList.js +1 -1
  187. package/src/sap/m/SelectionDetails.js +1 -1
  188. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  189. package/src/sap/m/SelectionDetailsItem.js +1 -1
  190. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  191. package/src/sap/m/Shell.js +1 -1
  192. package/src/sap/m/SimpleFixFlex.js +1 -1
  193. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  194. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  195. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  196. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -1
  197. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  199. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  201. package/src/sap/m/SlideTile.js +1 -1
  202. package/src/sap/m/Slider.js +1 -1
  203. package/src/sap/m/SliderTooltip.js +1 -1
  204. package/src/sap/m/SliderTooltipBase.js +1 -1
  205. package/src/sap/m/SliderTooltipContainer.js +1 -1
  206. package/src/sap/m/SplitApp.js +1 -1
  207. package/src/sap/m/SplitButton.js +1 -1
  208. package/src/sap/m/SplitContainer.js +1 -1
  209. package/src/sap/m/StandardDynamicDateOption.js +1 -1
  210. package/src/sap/m/StandardListItem.js +1 -1
  211. package/src/sap/m/StandardTile.js +1 -1
  212. package/src/sap/m/StandardTreeItem.js +1 -1
  213. package/src/sap/m/StepInput.js +1 -1
  214. package/src/sap/m/SuggestionItem.js +1 -1
  215. package/src/sap/m/SuggestionsPopover.js +1 -1
  216. package/src/sap/m/Switch.js +1 -1
  217. package/src/sap/m/TabContainer.js +1 -1
  218. package/src/sap/m/TabContainerItem.js +1 -1
  219. package/src/sap/m/TabStrip.js +1 -1
  220. package/src/sap/m/TabStripItem.js +1 -1
  221. package/src/sap/m/Table.js +46 -169
  222. package/src/sap/m/TablePersoController.js +1 -1
  223. package/src/sap/m/TablePersoDialog.js +1 -1
  224. package/src/sap/m/TablePersoProvider.js +4 -1
  225. package/src/sap/m/TableRenderer.js +93 -121
  226. package/src/sap/m/TableSelectDialog.js +1 -1
  227. package/src/sap/m/Text.js +1 -1
  228. package/src/sap/m/TextArea.js +1 -1
  229. package/src/sap/m/Tile.js +1 -1
  230. package/src/sap/m/TileContainer.js +1 -1
  231. package/src/sap/m/TileContent.js +1 -1
  232. package/src/sap/m/TimePicker.js +29 -2
  233. package/src/sap/m/TimePickerClock.js +1 -1
  234. package/src/sap/m/TimePickerClocks.js +1 -1
  235. package/src/sap/m/TimePickerClocksRenderer.js +6 -13
  236. package/src/sap/m/TimePickerInputs.js +1 -1
  237. package/src/sap/m/TimePickerInputsRenderer.js +6 -10
  238. package/src/sap/m/TimePickerInternals.js +1 -44
  239. package/src/sap/m/TimePickerSlider.js +1 -1
  240. package/src/sap/m/TimePickerSliders.js +1 -1
  241. package/src/sap/m/Title.js +1 -1
  242. package/src/sap/m/TitlePropagationSupport.js +1 -1
  243. package/src/sap/m/ToggleButton.js +15 -3
  244. package/src/sap/m/Token.js +1 -1
  245. package/src/sap/m/Tokenizer.js +1 -1
  246. package/src/sap/m/Toolbar.js +1 -1
  247. package/src/sap/m/ToolbarLayoutData.js +1 -1
  248. package/src/sap/m/ToolbarSeparator.js +1 -1
  249. package/src/sap/m/ToolbarSpacer.js +1 -1
  250. package/src/sap/m/Tree.js +1 -1
  251. package/src/sap/m/TreeItemBase.js +1 -1
  252. package/src/sap/m/UploadCollection.js +1 -1
  253. package/src/sap/m/UploadCollectionItem.js +1 -1
  254. package/src/sap/m/UploadCollectionParameter.js +1 -1
  255. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  256. package/src/sap/m/VBox.js +1 -1
  257. package/src/sap/m/ValueStateHeader.js +1 -1
  258. package/src/sap/m/VariantManagement.js +1 -38
  259. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  260. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  261. package/src/sap/m/ViewSettingsDialog.js +1 -1
  262. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  263. package/src/sap/m/ViewSettingsItem.js +1 -1
  264. package/src/sap/m/VisibleItem.js +1 -1
  265. package/src/sap/m/WheelSlider.js +1 -1
  266. package/src/sap/m/WheelSliderContainer.js +1 -1
  267. package/src/sap/m/Wizard.js +1 -1
  268. package/src/sap/m/WizardProgressNavigator.js +1 -1
  269. package/src/sap/m/WizardStep.js +1 -1
  270. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  271. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  272. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  273. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  274. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  275. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  276. package/src/sap/m/designtime/HBox.designtime.js +16 -0
  277. package/src/sap/m/designtime/IconTabFilter.designtime.js +0 -9
  278. package/src/sap/m/designtime/ObjectHeader.designtime.js +26 -0
  279. package/src/sap/m/designtime/Select.designtime.js +2 -1
  280. package/src/sap/m/designtime/VBox.designtime.js +16 -0
  281. package/src/sap/m/library.js +9 -2
  282. package/src/sap/m/messagebundle.properties +22 -11
  283. package/src/sap/m/messagebundle_ar.properties +16 -10
  284. package/src/sap/m/messagebundle_bg.properties +83 -77
  285. package/src/sap/m/messagebundle_ca.properties +14 -8
  286. package/src/sap/m/messagebundle_cs.properties +20 -14
  287. package/src/sap/m/messagebundle_cy.properties +15 -9
  288. package/src/sap/m/messagebundle_da.properties +15 -9
  289. package/src/sap/m/messagebundle_de.properties +15 -9
  290. package/src/sap/m/messagebundle_el.properties +16 -10
  291. package/src/sap/m/messagebundle_en.properties +15 -9
  292. package/src/sap/m/messagebundle_en_GB.properties +15 -9
  293. package/src/sap/m/messagebundle_en_US_sappsd.properties +13 -7
  294. package/src/sap/m/messagebundle_en_US_saprigi.properties +15 -7
  295. package/src/sap/m/messagebundle_en_US_saptrc.properties +13 -7
  296. package/src/sap/m/messagebundle_es.properties +13 -7
  297. package/src/sap/m/messagebundle_es_MX.properties +13 -7
  298. package/src/sap/m/messagebundle_et.properties +13 -7
  299. package/src/sap/m/messagebundle_fi.properties +18 -12
  300. package/src/sap/m/messagebundle_fr.properties +18 -12
  301. package/src/sap/m/messagebundle_fr_CA.properties +15 -9
  302. package/src/sap/m/messagebundle_hi.properties +16 -10
  303. package/src/sap/m/messagebundle_hr.properties +16 -10
  304. package/src/sap/m/messagebundle_hu.properties +20 -14
  305. package/src/sap/m/messagebundle_id.properties +17 -11
  306. package/src/sap/m/messagebundle_it.properties +13 -7
  307. package/src/sap/m/messagebundle_iw.properties +19 -13
  308. package/src/sap/m/messagebundle_ja.properties +50 -44
  309. package/src/sap/m/messagebundle_kk.properties +15 -9
  310. package/src/sap/m/messagebundle_ko.properties +15 -9
  311. package/src/sap/m/messagebundle_lt.properties +15 -9
  312. package/src/sap/m/messagebundle_lv.properties +13 -7
  313. package/src/sap/m/messagebundle_ms.properties +15 -9
  314. package/src/sap/m/messagebundle_nl.properties +13 -7
  315. package/src/sap/m/messagebundle_no.properties +18 -12
  316. package/src/sap/m/messagebundle_pl.properties +17 -11
  317. package/src/sap/m/messagebundle_pt.properties +13 -7
  318. package/src/sap/m/messagebundle_pt_PT.properties +13 -7
  319. package/src/sap/m/messagebundle_ro.properties +25 -19
  320. package/src/sap/m/messagebundle_ru.properties +14 -8
  321. package/src/sap/m/messagebundle_sh.properties +23 -17
  322. package/src/sap/m/messagebundle_sk.properties +15 -9
  323. package/src/sap/m/messagebundle_sl.properties +77 -71
  324. package/src/sap/m/messagebundle_sv.properties +17 -11
  325. package/src/sap/m/messagebundle_th.properties +21 -15
  326. package/src/sap/m/messagebundle_tr.properties +16 -10
  327. package/src/sap/m/messagebundle_uk.properties +18 -12
  328. package/src/sap/m/messagebundle_vi.properties +15 -9
  329. package/src/sap/m/messagebundle_zh_CN.properties +20 -14
  330. package/src/sap/m/messagebundle_zh_TW.properties +17 -11
  331. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  332. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  333. package/src/sap/m/p13n/BasePanel.js +11 -4
  334. package/src/sap/m/p13n/Container.js +9 -6
  335. package/src/sap/m/p13n/Engine.js +2 -1
  336. package/src/sap/m/p13n/GroupController.js +1 -1
  337. package/src/sap/m/p13n/GroupPanel.js +6 -1
  338. package/src/sap/m/p13n/PersistenceProvider.js +11 -6
  339. package/src/sap/m/p13n/Popup.js +1 -1
  340. package/src/sap/m/p13n/QueryPanel.js +18 -3
  341. package/src/sap/m/p13n/SelectionController.js +6 -7
  342. package/src/sap/m/p13n/SelectionPanel.js +11 -4
  343. package/src/sap/m/p13n/SortController.js +1 -1
  344. package/src/sap/m/p13n/SortPanel.js +8 -4
  345. package/src/sap/m/p13n/handler/xConfigHandler.js +1 -1
  346. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  347. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +1 -1
  348. package/src/sap/m/p13n/modules/UIManager.js +1 -1
  349. package/src/sap/m/plugins/CellSelector.js +1 -1
  350. package/src/sap/m/plugins/ColumnResizer.js +1 -9
  351. package/src/sap/m/plugins/CopyProvider.js +2 -10
  352. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  353. package/src/sap/m/plugins/PasteProvider.js +1 -1
  354. package/src/sap/m/plugins/PluginBase.js +1 -1
  355. package/src/sap/m/semantic/AddAction.js +1 -1
  356. package/src/sap/m/semantic/CancelAction.js +1 -1
  357. package/src/sap/m/semantic/DeleteAction.js +1 -1
  358. package/src/sap/m/semantic/DetailPage.js +1 -1
  359. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  360. package/src/sap/m/semantic/EditAction.js +1 -1
  361. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  362. package/src/sap/m/semantic/FilterAction.js +1 -1
  363. package/src/sap/m/semantic/FilterSelect.js +1 -1
  364. package/src/sap/m/semantic/FlagAction.js +1 -1
  365. package/src/sap/m/semantic/ForwardAction.js +1 -1
  366. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  367. package/src/sap/m/semantic/GroupAction.js +1 -1
  368. package/src/sap/m/semantic/GroupSelect.js +1 -1
  369. package/src/sap/m/semantic/MainAction.js +1 -1
  370. package/src/sap/m/semantic/MasterPage.js +1 -1
  371. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  372. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  373. package/src/sap/m/semantic/NegativeAction.js +1 -1
  374. package/src/sap/m/semantic/OpenInAction.js +1 -1
  375. package/src/sap/m/semantic/PositiveAction.js +1 -1
  376. package/src/sap/m/semantic/PrintAction.js +1 -1
  377. package/src/sap/m/semantic/SaveAction.js +1 -1
  378. package/src/sap/m/semantic/Segment.js +1 -1
  379. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  380. package/src/sap/m/semantic/SemanticButton.js +1 -1
  381. package/src/sap/m/semantic/SemanticConfiguration.js +3 -3
  382. package/src/sap/m/semantic/SemanticControl.js +1 -1
  383. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  384. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  385. package/src/sap/m/semantic/SemanticPage.js +1 -1
  386. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  387. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  388. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  389. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  390. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  391. package/src/sap/m/semantic/ShareMenu.js +1 -1
  392. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  393. package/src/sap/m/semantic/SortAction.js +1 -1
  394. package/src/sap/m/semantic/SortSelect.js +1 -1
  395. package/src/sap/m/table/Util.js +1 -1
  396. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  397. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  398. package/src/sap/m/table/columnmenu/Item.js +1 -1
  399. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  400. package/src/sap/m/table/columnmenu/Menu.js +1 -1
  401. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  402. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  403. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  404. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  405. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  406. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  407. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  408. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  409. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  410. package/src/sap/m/themes/base/Avatar.less +32 -0
  411. package/src/sap/m/themes/base/MessageStrip.less +1 -1
  412. package/src/sap/m/themes/base/ObjectStatus.less +1 -2
  413. package/src/sap/m/themes/base/PlanningCalendarHeader.less +2 -1
  414. package/src/sap/m/themes/base/RadioButton.less +3 -1
  415. package/src/sap/m/themes/base/SearchField.less +8 -3
  416. package/src/sap/m/themes/base/Select.less +31 -2
  417. package/src/sap/m/themes/base/Table.less +0 -8
  418. package/src/sap/m/themes/base/TimePickerClocks.less +4 -0
  419. package/src/sap/m/themes/base/UploadSetTable.less +80 -0
  420. package/src/sap/m/themes/base/ValueStateMessage.less +1 -0
  421. package/src/sap/m/themes/base/Wizard.less +1 -1
  422. package/src/sap/m/themes/base/library.source.less +1 -0
  423. package/src/sap/m/upload/FilePreviewDialog.js +223 -0
  424. package/src/sap/m/upload/UploadSet.js +5 -4
  425. package/src/sap/m/upload/UploadSetItem.js +1 -27
  426. package/src/sap/m/upload/UploadSetTable.js +929 -0
  427. package/src/sap/m/upload/UploadSetTableItem.js +327 -0
  428. package/src/sap/m/upload/UploadSetTableItemRenderer.js +22 -0
  429. package/src/sap/m/upload/UploadSetTableRenderer.js +34 -0
  430. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  431. package/src/sap/m/upload/UploaderTableItem.js +276 -0
package/.reuse/dep5 CHANGED
@@ -457,11 +457,6 @@ Comment: these files belong to: UI5 Web Components
457
457
 
458
458
  # Outside of Libraries:
459
459
 
460
- Files: src/testsuite-utils/src/main/resources/META-INF/less/less.js
461
- Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
462
- License: Apache-2.0
463
- Comment: these files belong to: LESS
464
-
465
460
  Files: lib/jsdoc/ui5/plugin.js
466
461
  Copyright:
467
462
  2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
package/THIRDPARTY.txt CHANGED
@@ -460,19 +460,13 @@ Contained in: src/sap.ui.webc.main/src/sap/ui/webc/main/thirdparty/*.*
460
460
 
461
461
  Outside of Libraries:
462
462
 
463
- Component: LESS, version: 1.6.3
464
- Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
465
- License: Apache-2.0
466
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
- Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
468
-
469
463
  Component: JSDoc 3, version: 3.6.7
470
464
  Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
471
465
  License: Apache-2.0
472
466
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
473
467
  Contained in: lib/jsdoc/ui5/plugin.js
474
468
 
475
- Component: SAP Theming Base Content, version: 11.3.0
469
+ Component: SAP Theming Base Content, version: 11.4.2
476
470
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
477
471
  License: Apache-2.0
478
472
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.m",
3
- "version": "1.115.0",
3
+ "version": "1.116.0",
4
4
  "description": "OpenUI5 UI Library sap.m",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,8 @@
14
14
  "url": "https://github.com/SAP/openui5.git"
15
15
  },
16
16
  "dependencies": {
17
- "@openui5/sap.ui.core": "1.115.0",
18
- "@openui5/sap.ui.layout": "1.115.0",
19
- "@openui5/sap.ui.unified": "1.115.0"
17
+ "@openui5/sap.ui.core": "1.116.0",
18
+ "@openui5/sap.ui.layout": "1.116.0",
19
+ "@openui5/sap.ui.unified": "1.116.0"
20
20
  }
21
21
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.115.0</version>
9
+ <version>1.116.0</version>
10
10
 
11
11
  <documentation>The main UI5 control library, with responsive controls that can be used in touch devices as well as desktop browsers.</documentation>
12
12
 
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AccButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.115.0
24
+ * @version 1.116.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
@@ -31,7 +31,7 @@ sap.ui.define(['./ListItemBase', './library', './ActionListItemRenderer'],
31
31
  * @extends sap.m.ListItemBase
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.115.0
34
+ * @version 1.116.0
35
35
  *
36
36
  * @constructor
37
37
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./Select', 'sap/ui/core/InvisibleText', 'sap/ui/Device', 'sap/ui
20
20
  * @extends sap.m.Select
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.115.0
23
+ * @version 1.116.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -72,7 +72,7 @@ sap.ui.define([
72
72
  * @extends sap.ui.core.Control
73
73
  *
74
74
  * @author SAP SE
75
- * @version 1.115.0
75
+ * @version 1.116.0
76
76
  *
77
77
  * @constructor
78
78
  * @public
@@ -87,7 +87,11 @@ sap.ui.define([
87
87
  properties : {
88
88
 
89
89
  /**
90
- * The ActionSheet behaves as an sap.m.Popover in iPad and this property is the information about on which side will the popover be placed at. Possible values are sap.m.PlacementType.Left, sap.m.PlacementType.Right, sap.m.PlacementType.Top, sap.m.PlacementType.Bottom, sap.m.PlacementType.Horizontal, sap.m.PlacementType.HorizontalPreferedLeft, sap.m.PlacementType.HorizontalPreferedRight, sap.m.PlacementType.Vertical, sap.m.PlacementType.VerticalPreferedTop, sap.m.PlacementType.VerticalPreferedBottom. The default value is sap.m.PlacementType.Bottom.
90
+ * The ActionSheet behaves as an sap.m.Popover in iPad and this property is the information about on which side will the popover be placed at.
91
+ *
92
+ * Possible values are sap.m.PlacementType.Left, sap.m.PlacementType.Right, sap.m.PlacementType.Top, sap.m.PlacementType.Bottom, sap.m.PlacementType.Horizontal,
93
+ * sap.m.PlacementType.HorizontalPreferredLeft, sap.m.PlacementType.HorizontalPreferredRight, sap.m.PlacementType.Vertical, sap.m.PlacementType.VerticalPreferredTop,
94
+ * sap.m.PlacementType.VerticalPreferredBottom. The default value is sap.m.PlacementType.Bottom.
91
95
  */
92
96
  placement : {type : "sap.m.PlacementType", group : "Appearance", defaultValue : PlacementType.Bottom},
93
97
 
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.m.GenericTile
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.115.0
34
+ * @version 1.116.0
35
35
  * @since 1.107.0
36
36
  *
37
37
  * @private
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.TileContent
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.115.0
30
+ * @version 1.116.0
31
31
  * @since 1.107.0
32
32
  *
33
33
  * @private
@@ -21,7 +21,7 @@ sap.ui.define(['./Button','./AdditionalTextButtonRenderer'],
21
21
  * @extends sap.m.Button
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.115.0
24
+ * @version 1.116.0
25
25
  *
26
26
  * @constructor
27
27
  * @private
package/src/sap/m/App.js CHANGED
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.m.NavContainer
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.115.0
52
+ * @version 1.116.0
53
53
  *
54
54
  * @constructor
55
55
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/Log', './OverflowToolbar', './OverflowToolbarRenderer',
20
20
  * @extends sap.m.OverflowToolbar
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.115.0
23
+ * @version 1.116.0
24
24
  *
25
25
  * @constructor
26
26
  * @private
@@ -37,6 +37,9 @@ sap.ui.define([
37
37
  // shortcut for sap.ui.core.aria.HasPopup
38
38
  var AriaHasPopup = coreLibrary.aria.HasPopup;
39
39
 
40
+ // shortcut for sap.ui.core.ValueState
41
+ var ValueState = coreLibrary.ValueState;
42
+
40
43
  // shortcut for Accent colors keys only (from AvatarColor enum)
41
44
  var AccentColors = Object.keys(AvatarColor).filter(function (sCurrColor) {
42
45
  return sCurrColor.indexOf("Accent") !== -1;
@@ -81,7 +84,7 @@ sap.ui.define([
81
84
  * @extends sap.ui.core.Control
82
85
  *
83
86
  * @author SAP SE
84
- * @version 1.115.0
87
+ * @version 1.116.0
85
88
  *
86
89
  * @constructor
87
90
  * @public
@@ -189,8 +192,18 @@ sap.ui.define([
189
192
  *
190
193
  * @since 1.99.0
191
194
  */
192
- ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None}
195
+ ariaHasPopup : {type : "sap.ui.core.aria.HasPopup", group : "Accessibility", defaultValue : AriaHasPopup.None},
193
196
 
197
+ /**
198
+ * Visualizes the validation state of the badge, e.g. <code>Error</code>, <code>Warning</code>,
199
+ * <code>Success</code>, <code>Information</code>.
200
+ * @since 1.116.0
201
+ */
202
+ badgeValueState: {
203
+ type: "sap.ui.core.ValueState",
204
+ group: "Appearance",
205
+ defaultValue: ValueState.None
206
+ }
194
207
  },
195
208
  aggregations : {
196
209
  /**
@@ -338,6 +351,16 @@ sap.ui.define([
338
351
  return this.setAggregation("detailBox", oLightBox);
339
352
  };
340
353
 
354
+ Avatar.prototype.setBadgeValueState = function(sValue) {
355
+
356
+ Object.keys(ValueState).forEach(function(val){
357
+ this.toggleStyleClass('sapFAvatar' + val, val === sValue);
358
+ }.bind(this));
359
+
360
+ this.setProperty("badgeValueState", sValue, true);
361
+ return this;
362
+ };
363
+
341
364
  /*
342
365
  * @override
343
366
  */
package/src/sap/m/Bar.js CHANGED
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @implements sap.m.IBar
58
58
  *
59
59
  * @author SAP SE
60
- * @version 1.115.0
60
+ * @version 1.116.0
61
61
  *
62
62
  * @constructor
63
63
  * @public
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  * @implements sap.m.IBreadcrumbs, sap.m.IOverflowToolbarContent, sap.ui.core.IShrinkable
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.115.0
67
+ * @version 1.116.0
68
68
  *
69
69
  * @constructor
70
70
  * @public
@@ -62,7 +62,7 @@ sap.ui.define(['./library',
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.115.0
65
+ * @version 1.116.0
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.BusyDialog
@@ -277,8 +277,6 @@ sap.ui.define(['./library',
277
277
  }
278
278
  } else if (!this._oDialog.getShowHeader()) {
279
279
  this._oDialog.addAriaLabelledBy(InvisibleText.getStaticId("sap.m", "BUSYDIALOG_TITLE"));
280
- } else {
281
- this._oDialog.removeAriaLabelledBy(InvisibleText.getStaticId("sap.m", "BUSYDIALOG_TITLE"));
282
280
  }
283
281
 
284
282
  //if the code is not ready yet (new sap.m.BusyDialog().open()) wait 50ms and then try ot open it.
@@ -323,6 +321,10 @@ sap.ui.define(['./library',
323
321
  BusyDialog.prototype._fnCloseHandler = function () {
324
322
  //fire the close event with 'cancelPressed' = true/false depending on how the busyDialog is closed
325
323
  this.fireClose({cancelPressed: this._isClosedFromUserInteraction || false});
324
+
325
+ if (this._oDialog) {
326
+ this._oDialog.removeAllAriaLabelledBy();
327
+ }
326
328
  };
327
329
 
328
330
  /**
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.115.0
49
+ * @version 1.116.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -96,7 +96,7 @@ sap.ui.define([
96
96
  * @mixes sap.ui.core.ContextMenuSupport
97
97
  *
98
98
  * @author SAP SE
99
- * @version 1.115.0
99
+ * @version 1.116.0
100
100
  *
101
101
  * @constructor
102
102
  * @public
@@ -126,7 +126,7 @@ sap.ui.define([
126
126
  * @extends sap.ui.core.Control
127
127
  *
128
128
  * @author SAP SE
129
- * @version 1.115.0
129
+ * @version 1.116.0
130
130
  *
131
131
  * @constructor
132
132
  * @public
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/base/ManagedObject"], function (ManagedObject) {
15
15
  * Applies a <code>sap.m.CarouselLayout</code> to a provided DOM element or Control.
16
16
  *
17
17
  * @author SAP SE
18
- * @version 1.115.0
18
+ * @version 1.116.0
19
19
  *
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
@@ -378,6 +378,7 @@ sap.ui.define([
378
378
  CarouselRenderer._renderDummyArea = function(oRM, oControl, sAreaId) {
379
379
  oRM.openStart("div", oControl.getId() + "-" + sAreaId)
380
380
  .class("sapMCrslDummyArea")
381
+ .attr("role", "none")
381
382
  .attr("tabindex", 0)
382
383
  .openEnd()
383
384
  .close("div");
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  * @implements sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent, sap.ui.core.IAccessKeySupport
87
87
  *
88
88
  * @author SAP SE
89
- * @version 1.115.0
89
+ * @version 1.116.0
90
90
  *
91
91
  * @constructor
92
92
  * @public
@@ -104,7 +104,7 @@ sap.ui.define([
104
104
  * To prevent this, apps using the <code>ColorPalette</code> should also load the <code>sap.ui.unified</code> library in advance.
105
105
  *
106
106
  * @extends sap.ui.core.Control
107
- * @version 1.115.0
107
+ * @version 1.116.0
108
108
  *
109
109
  * @constructor
110
110
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * A thin wrapper over {@link sap.m.ColorPalette} allowing the latter to be used in a popover.
38
38
  *
39
39
  * @extends sap.ui.core.Control
40
- * @version 1.115.0
40
+ * @version 1.116.0
41
41
  *
42
42
  * @public
43
43
  * @since 1.54
@@ -11,10 +11,9 @@ sap.ui.define([
11
11
  'sap/ui/core/Renderer',
12
12
  'sap/ui/core/library',
13
13
  'sap/ui/Device',
14
- "sap/ui/thirdparty/jquery",
15
14
  "sap/ui/core/InvisibleText"
16
15
  ],
17
- function(library, Element, Renderer, coreLibrary, Device, jQuery, InvisibleText) {
16
+ function(library, Element, Renderer, coreLibrary, Device, InvisibleText) {
18
17
  "use strict";
19
18
 
20
19
 
@@ -47,7 +46,7 @@ sap.ui.define([
47
46
  * @extends sap.ui.core.Element
48
47
  *
49
48
  * @author SAP SE
50
- * @version 1.115.0
49
+ * @version 1.116.0
51
50
  *
52
51
  * @constructor
53
52
  * @public
@@ -212,9 +211,6 @@ sap.ui.define([
212
211
  // default index
213
212
  Column.prototype._index = -1;
214
213
 
215
- // predefined screen size
216
- Column.prototype._screen = "";
217
-
218
214
  // default media value
219
215
  Column.prototype._media = null;
220
216
 
@@ -272,7 +268,6 @@ sap.ui.define([
272
268
 
273
269
  Column.prototype.oncontextmenu = function (oEvent) {
274
270
  var oMenu = this._getHeaderMenuInstance();
275
-
276
271
  if (oMenu) {
277
272
  oMenu.openBy(this);
278
273
  oEvent.preventDefault();
@@ -281,11 +276,9 @@ sap.ui.define([
281
276
 
282
277
  Column.prototype.invalidate = function() {
283
278
  var oParent = this.getParent();
284
- if (!oParent || !oParent.bOutput) {
285
- return;
279
+ if (oParent && oParent.bOutput) {
280
+ Element.prototype.invalidate.apply(this, arguments);
286
281
  }
287
-
288
- Element.prototype.invalidate.apply(this, arguments);
289
282
  };
290
283
 
291
284
  Column.prototype._clearMedia = function() {
@@ -309,8 +302,7 @@ sap.ui.define([
309
302
  };
310
303
 
311
304
  /**
312
- * Notify parent to re-render
313
- * Also fire media event for listeners
305
+ * Notify table to re-render
314
306
  *
315
307
  * @private
316
308
  */
@@ -324,15 +316,9 @@ sap.ui.define([
324
316
  this._media = oMedia;
325
317
  this._media.matches = !!oMedia.from;
326
318
 
327
- // inform parent delayed
328
- setTimeout(function() {
329
- // make sure that the column is visible
330
- if (!this.getVisible()) {
331
- return;
332
- }
333
- this.fireEvent("media", this);
319
+ if (this.getVisible()) {
334
320
  this.informTable("Resize");
335
- }.bind(this), 0);
321
+ }
336
322
  };
337
323
 
338
324
  Column.prototype._validateMinWidth = function(sWidth) {
@@ -350,35 +336,6 @@ sap.ui.define([
350
336
  }
351
337
  };
352
338
 
353
-
354
- // Checks the given width(px or em), if it is a predefined screen value
355
- Column.prototype._isWidthPredefined = function(sWidth) {
356
- var that = this,
357
- unit = sWidth.replace(/[^a-z]/ig, ""),
358
- baseFontSize = parseFloat(library.BaseFontSize) || 16;
359
-
360
- jQuery.each(library.ScreenSizes, function(screen, size) {
361
- if (unit != "px") {
362
- size /= baseFontSize;
363
- }
364
- if (size + unit == sWidth) {
365
- that._minWidth = this + "px";
366
- that._screen = screen;
367
- return false;
368
- }
369
- });
370
-
371
- if (this._minWidth) {
372
- return true;
373
- }
374
-
375
- if (unit == "px") {
376
- this._minWidth = sWidth;
377
- } else {
378
- this._minWidth = parseFloat(sWidth) * baseFontSize + "px";
379
- }
380
- };
381
-
382
339
  /**
383
340
  * Returns CSS alignment according to column hAlign setting or given parameter
384
341
  * for Begin/End values checks the locale settings
@@ -397,21 +354,6 @@ sap.ui.define([
397
354
  return sAlign.toLowerCase();
398
355
  };
399
356
 
400
-
401
- // Returns styleClass property with extra responsive class if second parameter is set true
402
- Column.prototype.getStyleClass = function(bResponsive) {
403
- var cls = this.getProperty("styleClass");
404
- if (!bResponsive) {
405
- return cls;
406
- }
407
- if (this._screen && (!this.getDemandPopin() || !window.matchMedia)) {
408
- cls += " sapMSize-" + this._screen;
409
- } else if (this._media && !this._media.matches) {
410
- cls += " sapMListTblNone";
411
- }
412
- return cls.trim();
413
- };
414
-
415
357
  /**
416
358
  * Sets the visible column index
417
359
  * Negative index values can be used to clear
@@ -483,83 +425,27 @@ sap.ui.define([
483
425
  return oTable.indexOfColumn(this);
484
426
  };
485
427
 
486
- /**
487
- * Display or hide the column from given table
488
- * This does not set the visibility property of the column
489
- *
490
- * @param {Element} oTableDomRef Table DOM reference
491
- * @param {boolean} [bDisplay] whether visible or not
492
- * @protected
493
- */
494
- Column.prototype.setDisplay = function(oTableDomRef, bDisplay) {
495
- if (!oTableDomRef || this._index < 0) {
496
- return;
497
- }
498
-
499
- // go with native we need speed
500
- var i = this._index + 1,
501
- parent = this.getParent(),
502
- display = bDisplay && !this.isHidden() ? "table-cell" : "none",
503
- header = oTableDomRef.querySelector("tr > th:nth-child(" + i + ")"),
504
- cells = oTableDomRef.querySelectorAll("tr > td:nth-child(" + i + ")"),
505
- length = cells.length;
506
-
507
- // set display and aria
508
- header.style.display = display;
509
- header.setAttribute("aria-hidden", !bDisplay);
510
- for (i = 0; i < length; i++) {
511
- cells[i].style.display = display;
512
- cells[i].setAttribute("aria-hidden", !bDisplay);
513
- }
514
-
515
- // let the parent know the visibility change
516
- if (parent && parent.setTableHeaderVisibility) {
517
- // make it sure rendering phase is done with timeout
518
- setTimeout(function() {
519
- parent.setTableHeaderVisibility(bDisplay);
520
- }, 0);
521
- }
522
- };
523
-
524
- Column.prototype.setVisible = function(bVisible) {
525
- if (bVisible == this.getVisible()) {
526
- return this;
527
- }
528
-
529
- var oParent = this.getParent(),
530
- oTableDomRef = oParent && oParent.getTableDomRef && oParent.getTableDomRef(),
531
- bSupressInvalidate = oTableDomRef && this._index >= 0 && !oParent.getAutoPopinMode() && !this._bForcedColumn;
532
-
533
- if (bSupressInvalidate) {
534
- this.setProperty("visible", bVisible, bSupressInvalidate);
535
- this.setDisplay(oTableDomRef, bVisible);
536
- } else {
537
- this.setProperty("visible", bVisible);
538
- }
539
-
540
- return this;
541
- };
542
-
543
428
  // sets the internals for the minScreenWidth property
544
429
  Column.prototype._setMinScreenWidth = function(sWidth) {
545
430
  // initialize
546
431
  this._clearMedia();
547
432
  this._minWidth = 0;
548
- this._screen = "";
549
433
 
550
434
  if (sWidth) {
551
435
  // check given width is known screen-size
552
436
  sWidth = sWidth.toLowerCase();
553
- var width = library.ScreenSizes[sWidth];
554
- if (width) {
555
- this._screen = sWidth;
556
- this._minWidth = width + "px";
437
+ var sPredefinedWidth = library.ScreenSizes[sWidth];
438
+ if (sPredefinedWidth) {
439
+ this._minWidth = sPredefinedWidth + "px";
440
+ } else if (sWidth.endsWith("px")) {
441
+ this._minWidth = sWidth;
557
442
  } else {
558
- this._isWidthPredefined(sWidth);
443
+ var fBaseFontSize = parseFloat(library.BaseFontSize);
444
+ this._minWidth = parseFloat(sWidth) * fBaseFontSize + "px";
559
445
  }
560
446
 
561
- var parent = this.getTable();
562
- if (parent && parent.isActive()) {
447
+ var oTable = this.getTable();
448
+ if (oTable && oTable.isActive()) {
563
449
  this._addMedia();
564
450
  } else {
565
451
  this._bShouldAddMedia = true;
@@ -588,25 +474,6 @@ sap.ui.define([
588
474
  return this.setProperty("minScreenWidth", sWidth);
589
475
  };
590
476
 
591
- /*
592
- * Decides if we need media query or not according to given settings
593
- * if pop-in is demanded then we always need JS media queries
594
- * if not demanded but if screen size is known CSS media query can handle
595
- */
596
- Column.prototype.setDemandPopin = function(bValue) {
597
- // check if setting the old value
598
- if (bValue == this.getDemandPopin()) {
599
- return this;
600
- }
601
-
602
- // minimum width should have been set
603
- if (!this.getMinScreenWidth()) {
604
- return this.setProperty("demandPopin", bValue, true);
605
- }
606
-
607
- return this.setProperty("demandPopin", bValue);
608
- };
609
-
610
477
  Column.prototype.setSortIndicator = function(sSortIndicator) {
611
478
  this.setProperty("sortIndicator", sSortIndicator, true);
612
479
  this.$().attr("aria-sort", this.getSortIndicator().toLowerCase());
@@ -614,7 +481,7 @@ sap.ui.define([
614
481
  };
615
482
 
616
483
  /**
617
- * Determines whether the column will be shown as pop-in or not
484
+ * Determines whether the column is shown as pop-in or not
618
485
  *
619
486
  * @protected
620
487
  */
@@ -626,35 +493,22 @@ sap.ui.define([
626
493
  var oTable = this.getTable();
627
494
  if (oTable) {
628
495
  var aHiddenInPopin = oTable.getHiddenInPopin() || [];
629
- var bHideColumn = aHiddenInPopin.some(function(sImportance) {
630
- return this.getImportance() === sImportance;
631
- }, this);
632
-
496
+ var bHideColumn = aHiddenInPopin.includes(this.getImportance());
633
497
  if (bHideColumn) {
634
498
  return false;
635
499
  }
636
500
  }
637
501
 
638
- if (this._media) {
639
- return !this._media.matches;
640
- }
641
- return false;
502
+ return this.isHidden();
642
503
  };
643
504
 
644
505
  /**
645
- * Determines whether the column will be hidden via media queries or not
506
+ * Determines whether the column is hidden without being in the popin area
646
507
  *
647
508
  * @protected
648
509
  */
649
510
  Column.prototype.isHidden = function() {
650
- if (this._media) {
651
- return !this._media.matches;
652
- }
653
-
654
- if (this._screen && this._minWidth) {
655
- return parseFloat(this._minWidth) > window.innerWidth;
656
- }
657
- return false;
511
+ return (this._media) ? !this._media.matches : false;
658
512
  };
659
513
 
660
514
  /**
@@ -666,9 +520,7 @@ sap.ui.define([
666
520
  * @protected
667
521
  */
668
522
  Column.prototype.setLastValue = function(value) {
669
- if (this.getMergeDuplicates()) {
670
- this._lastValue = value;
671
- }
523
+ this._lastValue = value;
672
524
  return this;
673
525
  };
674
526
 
@@ -703,6 +555,13 @@ sap.ui.define([
703
555
  this.clearLastValue();
704
556
  };
705
557
 
558
+ Column.prototype.onTableRendering = function() {
559
+ this.clearLastValue();
560
+ if (this._bShouldAddMedia) {
561
+ this._addMedia();
562
+ }
563
+ };
564
+
706
565
  // when the popover opens and later closed, the focus is lost
707
566
  // hence overwriting the getFocusDomRef to restore the focus on the active column header
708
567
  Column.prototype.getFocusDomRef = function() {