@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
@@ -79,6 +79,9 @@ function(
79
79
  // shortcut for sap.ui.core.ValueState
80
80
  var ValueState = coreLibrary.ValueState;
81
81
 
82
+ // shortcut for sap.ui.core.TitleLevel
83
+ var TitleLevel = coreLibrary.TitleLevel;
84
+
82
85
  // shortcut for sap.m.TitleAlignment
83
86
  var TitleAlignment = library.TitleAlignment;
84
87
 
@@ -172,7 +175,7 @@ function(
172
175
  *
173
176
  * @implements sap.ui.core.PopupInterface
174
177
  * @author SAP SE
175
- * @version 1.94.0
178
+ * @version 1.97.0
176
179
  *
177
180
  * @constructor
178
181
  * @public
@@ -222,7 +225,7 @@ function(
222
225
  * Determines whether the Dialog will be displayed on full screen on a phone.
223
226
  * @since 1.11.2
224
227
  * @deprecated Since version 1.13.1.
225
- * Please use the new stretch property instead. This enables a stretched Dialog even on tablet and desktop. If you want to achieve the same effect as <code>stretchOnPhone</code>, please set the stretch with jQuery.device.is.phone, then the Dialog is only stretched when it runs on a phone.
228
+ * Please use the new stretch property instead. This enables a stretched Dialog even on tablet and desktop. If you want to achieve the same effect as <code>stretchOnPhone</code>, please set the stretch with <code>Device.system.phone</code>, then the Dialog is only stretched when it runs on a phone.
226
229
  */
227
230
  stretchOnPhone: {type: "boolean", group: "Appearance", defaultValue: false, deprecated: true},
228
231
 
@@ -513,7 +516,7 @@ function(
513
516
  };
514
517
 
515
518
  Dialog.prototype.onBeforeRendering = function () {
516
- var oHeader = this.getCustomHeader() || this._header;
519
+ var oHeader = this._getAnyHeader();
517
520
 
518
521
  if (!Dialog._bPaddingByDefault && this.hasStyleClass("sapUiPopupWithPadding")) {
519
522
  Log.warning("Usage of CSS class 'sapUiPopupWithPadding' is deprecated. Use 'sapUiContentPadding' instead", null, "sap.m.Dialog");
@@ -551,6 +554,11 @@ function(
551
554
  if (oHeader && oHeader.setTitleAlignment) {
552
555
  oHeader.setProperty("titleAlignment", this.getTitleAlignment(), true);
553
556
  }
557
+
558
+ if (oHeader && this._getTitles(oHeader).length === 0) {
559
+ oHeader._setRootAccessibilityRole("heading");
560
+ oHeader._setRootAriaLevel("2");
561
+ }
554
562
  };
555
563
 
556
564
  Dialog.prototype.onAfterRendering = function () {
@@ -1289,8 +1297,6 @@ function(
1289
1297
  this._header = new Bar(this.getId() + "-header", {
1290
1298
  titleAlignment: this.getTitleAlignment()
1291
1299
  });
1292
- this._header._setRootAccessibilityRole("heading");
1293
- this._header._setRootAriaLevel("2");
1294
1300
 
1295
1301
  this.setAggregation("_header", this._header);
1296
1302
  }
@@ -1307,7 +1313,7 @@ function(
1307
1313
  } else {
1308
1314
  this._headerTitle = new Title(this.getId() + "-title", {
1309
1315
  text: sTitle,
1310
- level: "H2"
1316
+ level: TitleLevel.H2
1311
1317
  }).addStyleClass("sapMDialogTitle");
1312
1318
 
1313
1319
  this._header.addContentMiddle(this._headerTitle);
@@ -1502,8 +1508,7 @@ function(
1502
1508
  var oCustomHeader = this.getCustomHeader();
1503
1509
 
1504
1510
  if (oCustomHeader) {
1505
- oCustomHeader._setRootAriaLevel("2");
1506
- return oCustomHeader._setRootAccessibilityRole("heading");
1511
+ return oCustomHeader;
1507
1512
  } else {
1508
1513
  var bShowHeader = this.getShowHeader();
1509
1514
  // if showHeader is set to false and not for standard dialog in iOS in theme sap_mvi, no header.
@@ -1783,9 +1788,7 @@ function(
1783
1788
 
1784
1789
  var oSubHeader = this.getSubHeader();
1785
1790
  if (oSubHeader) {
1786
- var aSubtitles = oSubHeader.findAggregatedObjects(true, function(oObject) {
1787
- return oObject.isA("sap.m.Title");
1788
- });
1791
+ var aSubtitles = this._getTitles(oSubHeader);
1789
1792
 
1790
1793
  // if there are titles in the subheader, add all of them to labels, else use the full subheader
1791
1794
  if (aSubtitles.length) {
@@ -1796,9 +1799,7 @@ function(
1796
1799
  }
1797
1800
 
1798
1801
  if (oHeader) {
1799
- var aTitles = oHeader.findAggregatedObjects(true, function(oObject) {
1800
- return oObject.isA("sap.m.Title");
1801
- });
1802
+ var aTitles = this._getTitles(oHeader);
1802
1803
 
1803
1804
  // if there are titles in the header, add all of them to labels, else use the full header
1804
1805
  if (aTitles.length) {
@@ -1933,16 +1934,11 @@ function(
1933
1934
  var oBoundingClientRect = this.getDomRef().getBoundingClientRect();
1934
1935
 
1935
1936
  var initial = {
1936
- x: e.pageX,
1937
- y: e.pageY,
1937
+ x: e.clientX,
1938
+ y: e.clientY,
1938
1939
  width: that._$dialog.width(),
1939
1940
  height: that._$dialog.height(),
1940
1941
  outerHeight : that._$dialog.outerHeight(),
1941
- offset: {
1942
- //use e.originalEvent.layerX/Y for Firefox
1943
- x: e.offsetX ? e.offsetX : e.originalEvent.layerX,
1944
- y: e.offsetY ? e.offsetY : e.originalEvent.layerY
1945
- },
1946
1942
  position: {
1947
1943
  x: oBoundingClientRect.x,
1948
1944
  y: oBoundingClientRect.y
@@ -1971,22 +1967,9 @@ function(
1971
1967
  }
1972
1968
  }
1973
1969
 
1974
- if ((isHeaderClicked(e.target) && this.getDraggable()) || bResize) {
1970
+ if (isHeaderClicked(e.target) && this.getDraggable() || bResize) {
1975
1971
  that._bDisableRepositioning = true;
1976
-
1977
1972
  that._$dialog.addClass('sapDialogDisableTransition');
1978
-
1979
- that._oManuallySetPosition = {
1980
- x: initial.position.x,
1981
- y: initial.position.y
1982
- };
1983
-
1984
- //set the new position of the dialog on mouse down when the transform is disabled by the class
1985
- that._$dialog.css({
1986
- left: Math.min(Math.max(oAreaDimensions.left, that._oManuallySetPosition.x), oAreaDimensions.right - initial.width),
1987
- top: Math.min(Math.max(oAreaDimensions.top, that._oManuallySetPosition.y), oAreaDimensions.bottom - initial.height),
1988
- width: initial.width
1989
- });
1990
1973
  }
1991
1974
 
1992
1975
  if (isHeaderClicked(e.target) && this.getDraggable()) {
@@ -2003,8 +1986,8 @@ function(
2003
1986
  that._bDisableRepositioning = true;
2004
1987
 
2005
1988
  that._oManuallySetPosition = {
2006
- x: Math.max(oAreaDimensions.left, Math.min(event.pageX - e.pageX + initial.position.x, oAreaDimensions.right - initial.width)), // deltaX + initial dialog position
2007
- y: Math.max(oAreaDimensions.top, Math.min(event.pageY - e.pageY + initial.position.y, oAreaDimensions.bottom - initial.outerHeight)) // deltaY + initial dialog position
1989
+ x: Math.max(oAreaDimensions.left, Math.min(event.clientX - e.clientX + initial.position.x, oAreaDimensions.right - initial.width)), // deltaX + initial dialog position
1990
+ y: Math.max(oAreaDimensions.top, Math.min(event.clientY - e.clientY + initial.position.y, oAreaDimensions.bottom - initial.outerHeight)) // deltaY + initial dialog position
2008
1991
  };
2009
1992
 
2010
1993
  //move the dialog
@@ -2015,8 +1998,6 @@ function(
2015
1998
  });
2016
1999
  });
2017
2000
  };
2018
-
2019
- $w.on("mousemove", mouseMoveHandler);
2020
2001
  } else if (bResize) {
2021
2002
  that._$dialog.addClass('sapMDialogResizing');
2022
2003
 
@@ -2033,22 +2014,22 @@ function(
2033
2014
  // BCP: 1680048166 remove inline set height and width so that the content resizes together with the mouse pointer
2034
2015
  that.$('cont').height('').width('');
2035
2016
 
2036
- if (event.pageY + handleOffsetY > oAreaDimensions.bottom) {
2037
- event.pageY = oAreaDimensions.bottom - handleOffsetY;
2017
+ if (event.clientY + handleOffsetY > oAreaDimensions.bottom) {
2018
+ event.clientY = oAreaDimensions.bottom - handleOffsetY;
2038
2019
  }
2039
2020
 
2040
- if (event.pageX + handleOffsetX > oAreaDimensions.right) {
2041
- event.pageX = oAreaDimensions.right - handleOffsetX;
2021
+ if (event.clientX + handleOffsetX > oAreaDimensions.right) {
2022
+ event.clientX = oAreaDimensions.right - handleOffsetX;
2042
2023
  }
2043
2024
 
2044
2025
  that._oManuallySetSize = {
2045
- width: initial.width + event.pageX - initial.x,
2046
- height: initial.height + event.pageY - initial.y
2026
+ width: initial.width + event.clientX - initial.x,
2027
+ height: initial.height + event.clientY - initial.y
2047
2028
  };
2048
2029
 
2049
2030
  if (that._bRTL) {
2050
- styles.left = Math.min(Math.max(event.pageX, 0), maxLeftOffset);
2051
- that._oManuallySetSize.width = initial.width + initial.x - Math.max(event.pageX, 0);
2031
+ styles.left = Math.min(Math.max(event.clientX, 0), maxLeftOffset);
2032
+ that._oManuallySetSize.width = initial.width + initial.x - Math.max(event.clientX, 0);
2052
2033
  }
2053
2034
 
2054
2035
  styles.width = that._oManuallySetSize.width;
@@ -2057,12 +2038,11 @@ function(
2057
2038
  that._$dialog.css(styles);
2058
2039
  });
2059
2040
  };
2060
-
2061
- $w.on("mousemove", mouseMoveHandler);
2062
2041
  } else {
2063
2042
  return;
2064
2043
  }
2065
2044
 
2045
+ $w.on("mousemove", mouseMoveHandler);
2066
2046
  $w.on("mouseup", mouseUpHandler);
2067
2047
 
2068
2048
  e.stopPropagation();
@@ -2077,5 +2057,11 @@ function(
2077
2057
  Control.prototype._applyContextualSettings.call(this);
2078
2058
  };
2079
2059
 
2060
+ Dialog.prototype._getTitles = function (oContainer) {
2061
+ return oContainer.findAggregatedObjects(true, function(oObject) {
2062
+ return oObject.isA("sap.m.Title");
2063
+ });
2064
+ };
2065
+
2080
2066
  return Dialog;
2081
2067
  });
@@ -178,7 +178,7 @@ sap.ui.define([
178
178
  .close("header");
179
179
  }
180
180
 
181
- if (oSubHeader) {
181
+ if (oSubHeader && oSubHeader.getVisible()) {
182
182
  oSubHeader._applyContextClassFor("subheader");
183
183
  oRM.openStart("header")
184
184
  .class("sapMDialogSubHeader")
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.94.0
33
+ * @version 1.97.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.94.0
30
+ * @version 1.97.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.model.SimpleType
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.94.0
39
+ * @version 1.97.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -10,13 +10,13 @@ sap.ui.define([
10
10
  'sap/ui/core/format/NumberFormat',
11
11
  'sap/ui/core/Locale',
12
12
  'sap/ui/core/LocaleData',
13
- './StandardDynamicDateRangeKeys',
14
13
  "sap/base/Log",
15
14
  "sap/base/util/deepExtend",
16
15
  "sap/base/util/isEmptyObject",
17
- "sap/ui/core/date/UniversalDateUtils"
16
+ "sap/ui/core/date/UniversalDateUtils",
17
+ "./library"
18
18
  ],
19
- function(DateFormat, NumberFormat, Locale, LocaleData, StandardDynamicDateRangeKeys, Log, deepExtend, isEmptyObject, UniversalDateUtils) {
19
+ function(DateFormat, NumberFormat, Locale, LocaleData, Log, deepExtend, isEmptyObject, UniversalDateUtils, library) {
20
20
  "use strict";
21
21
 
22
22
  /**
@@ -58,8 +58,8 @@ sap.ui.define([
58
58
  "TODAYFROMTO": ["int", "int"]
59
59
  };
60
60
 
61
- for (var i = 0; i < StandardDynamicDateRangeKeys.length; i++) {
62
- var sKey = StandardDynamicDateRangeKeys[i];
61
+ for (var i = 0; i < library.StandardDynamicDateRangeKeys.length; i++) {
62
+ var sKey = library.StandardDynamicDateRangeKeys[i];
63
63
  var sPattern = _resourceBundle.getText("DYNAMIC_DATE_" + sKey.toUpperCase() + "_FORMAT");
64
64
  var aStaticParts = sPattern.split('{').map(function(sPart) {
65
65
  var iClosingBracket = sPart.indexOf('}');
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Element
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.94.0
35
+ * @version 1.97.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.92
@@ -231,7 +231,8 @@ sap.ui.define([
231
231
  * @public
232
232
  */
233
233
  DynamicDateOption.prototype.getGroupHeader = function() {
234
- return sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("DDR_OPTIONS_GROUP_0");
234
+ var iGroup = (this.getGroup() > -1 && this.getGroup() < 7) ? this.getGroup() : 0;
235
+ return sap.ui.getCore().getLibraryResourceBundle("sap.m").getText("DDR_OPTIONS_GROUP_" + iGroup);
235
236
  };
236
237
 
237
238
  /**
@@ -34,7 +34,6 @@ sap.ui.define([
34
34
  './NavContainer',
35
35
  './DynamicDateRangeRenderer',
36
36
  './StandardDynamicDateOption',
37
- './StandardDynamicDateRangeKeys',
38
37
  'sap/ui/dom/jquery/Focusable',
39
38
  './library'],
40
39
  function(
@@ -66,7 +65,6 @@ sap.ui.define([
66
65
  NavContainer,
67
66
  DynamicDateRangeRenderer,
68
67
  StandardDynamicDateOption,
69
- StandardDynamicDateRangeKeys,
70
68
  Focusable,
71
69
  library
72
70
  ) {
@@ -118,7 +116,7 @@ sap.ui.define([
118
116
  * is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
119
117
  *
120
118
  * @author SAP SE
121
- * @version 1.94.0
119
+ * @version 1.97.0
122
120
  *
123
121
  * @constructor
124
122
  * @public
@@ -258,7 +256,8 @@ sap.ui.define([
258
256
  }
259
257
  }
260
258
  }
261
- }
259
+ },
260
+ renderer: DynamicDateRangeRenderer
262
261
  });
263
262
 
264
263
  MessageMixin.call(DynamicDateRange.prototype);
@@ -402,6 +401,10 @@ sap.ui.define([
402
401
  this.setOptions(aOptions);
403
402
  };
404
403
 
404
+ DynamicDateRange.prototype.getFocusDomRef = function(){
405
+ return this.getAggregation("_input") && this.getAggregation("_input").getFocusDomRef();
406
+ };
407
+
405
408
  DynamicDateRange.prototype._updateInputValue = function(oValue) {
406
409
  var sInputValue;
407
410
 
@@ -612,7 +615,6 @@ sap.ui.define([
612
615
  this._oPopup.attachAfterClose(function() {
613
616
  this._setFooterVisibility(false);
614
617
  this.invalidate();
615
- this.getAggregation("_input").focus();
616
618
  }, this);
617
619
 
618
620
  this._oPopup.setBeginButton(new Button({
@@ -650,7 +652,7 @@ sap.ui.define([
650
652
  return iGroupDiff;
651
653
  }
652
654
 
653
- return StandardDynamicDateRangeKeys.indexOf(a.getKey()) - StandardDynamicDateRangeKeys.indexOf(b.getKey());
655
+ return library.StandardDynamicDateRangeKeys.indexOf(a.getKey()) - library.StandardDynamicDateRangeKeys.indexOf(b.getKey());
654
656
  });
655
657
 
656
658
  // for last x/next x options leave only the first of each, remove the rest
@@ -910,8 +912,18 @@ sap.ui.define([
910
912
  }
911
913
 
912
914
  oElementToFocus.focus();
915
+
916
+ this._reApplyFocusToElement(oToPage, oValue);
913
917
  };
914
918
 
919
+ /**
920
+ * A hook that provides an option to reapply the focus to another element if needed.
921
+ *
922
+ * @ui5-restricted sap.ui.comp.config.condition.DateRangeType
923
+ * @private
924
+ */
925
+ DynamicDateRange.prototype._reApplyFocusToElement = function (oToPage, oValue) {};
926
+
915
927
  /**
916
928
  * Creates the title text for the options page.
917
929
  *
@@ -953,7 +965,7 @@ sap.ui.define([
953
965
  // There is a custom initial focus handling logic for both options list page and option details page
954
966
  this._applyNavContainerPageFocus(oToPage);
955
967
  } else {
956
- this.getAggregation("_input").focus();
968
+ this.focus();
957
969
  }
958
970
  };
959
971
 
@@ -1033,7 +1045,7 @@ sap.ui.define([
1033
1045
  };
1034
1046
 
1035
1047
  DynamicDateRange.prototype._parseValue = function(sInputValue) {
1036
- var aResults = DynamicDateUtil.parse(sInputValue, this._getFormatter()).filter(function(oResult) {
1048
+ var aResults = DynamicDateUtil.parse(sInputValue, this._getFormatter(), this.getOptions()).filter(function(oResult) {
1037
1049
  return this.getOptions().indexOf(oResult.operator) !== -1;
1038
1050
  }, this);
1039
1051
 
@@ -7,14 +7,15 @@
7
7
  // Provides utility class sap.m.DynamicDateUtil
8
8
  sap.ui.define([
9
9
  "./StandardDynamicDateOption",
10
- "./StandardDynamicDateRangeKeys",
11
- "sap/base/Log"
10
+ "sap/base/Log",
11
+ "./library"
12
12
  ], function(
13
- StandardDynamicDateOption, StandardDynamicDateRangeKeys, Log) {
13
+ StandardDynamicDateOption, Log, library) {
14
14
  "use strict";
15
15
 
16
16
  /**
17
- * A utility class for working with the DynamicDateOption instances.
17
+ * @class
18
+ * The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
18
19
  *
19
20
  * @alias sap.m.DynamicDateUtil
20
21
  * @static
@@ -51,6 +52,7 @@ sap.ui.define([
51
52
  "FROM": new StandardDynamicDateOption({ key: "FROM", valueTypes: ["date"] }),
52
53
  "TO": new StandardDynamicDateOption({ key: "TO", valueTypes: ["date"] }),
53
54
  "YEARTODATE": new StandardDynamicDateOption({ key: "YEARTODATE", valueTypes: [] }),
55
+ "DATETOYEAR": new StandardDynamicDateOption({ key: "DATETOYEAR", valueTypes: [] }),
54
56
  "TODAYFROMTO": new StandardDynamicDateOption({ key: "TODAYFROMTO", valueTypes: ["int", "int"] }),
55
57
  "QUARTER1": new StandardDynamicDateOption({ key: "QUARTER1", valueTypes: [] }),
56
58
  "QUARTER2": new StandardDynamicDateOption({ key: "QUARTER2", valueTypes: [] }),
@@ -60,7 +62,7 @@ sap.ui.define([
60
62
  "DATERANGE": new StandardDynamicDateOption({ key: "DATERANGE", valueTypes: ["date", "date"] }),
61
63
  "DATE": new StandardDynamicDateOption({ key: "DATE", valueTypes: ["date"] })
62
64
  },
63
- _allKeys: StandardDynamicDateRangeKeys.slice(0)
65
+ _allKeys: library.StandardDynamicDateRangeKeys.slice(0)
64
66
  };
65
67
 
66
68
  /**
@@ -113,11 +115,12 @@ sap.ui.define([
113
115
  *
114
116
  * @param {string} sValue The string to be parsed
115
117
  * @param {sap.m.DynamicDateFormat} oFormatter A dynamic date formatter
118
+ * @param {array} aOptionKeys array of option names
116
119
  * @returns {object[]} An array of value objects in the DynamicDateRange's value format
117
120
  * @static
118
121
  * @public
119
122
  */
120
- DynamicDateUtil.parse = function(sValue, oFormatter) {
123
+ DynamicDateUtil.parse = function(sValue, oFormatter, aOptionKeys) {
121
124
  if (typeof sValue !== 'string') {
122
125
  Log.error("DynamicDateFormat can only parse a String.");
123
126
  return [];
@@ -126,14 +129,16 @@ sap.ui.define([
126
129
  var aResults = [],
127
130
  oResult;
128
131
 
129
- var aOptions = Object.keys(DynamicDateUtil._options).sort(function(sKey1, sKey2) {
130
- return StandardDynamicDateRangeKeys.indexOf(sKey1) - StandardDynamicDateRangeKeys.indexOf(sKey2);
132
+ aOptionKeys = aOptionKeys || Object.keys(DynamicDateUtil._options);
133
+
134
+ var aOptions = aOptionKeys.sort(function(sKey1, sKey2) {
135
+ return library.StandardDynamicDateRangeKeys.indexOf(sKey1) - library.StandardDynamicDateRangeKeys.indexOf(sKey2);
131
136
  }).map(function(sKey) {
132
137
  return DynamicDateUtil._options[sKey];
133
138
  });
134
139
 
135
140
  for (var i = 0; i < aOptions.length; i++) {
136
- oResult = aOptions[i].parse(sValue.trim(), oFormatter);
141
+ oResult = aOptions[i] && aOptions[i].parse(sValue.trim(), oFormatter);
137
142
 
138
143
  if (oResult) {
139
144
  oResult.operator = aOptions[i].getKey();
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.94.0
23
+ * @version 1.97.0
24
24
  *
25
25
  * @public
26
26
  * @since 1.92
@@ -100,7 +100,7 @@ function(library,
100
100
  * @implements sap.ui.core.IFormContent, sap.m.IHyphenation
101
101
  *
102
102
  * @author SAP SE
103
- * @version 1.94.0
103
+ * @version 1.97.0
104
104
  *
105
105
  * @constructor
106
106
  * @public
@@ -170,7 +170,7 @@ sap.ui.define([
170
170
  *
171
171
  * @extends sap.ui.core.Control
172
172
  * @implements sap.ui.core.IShrinkable
173
- * @version 1.94.0
173
+ * @version 1.97.0
174
174
  *
175
175
  * @constructor
176
176
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['./ListItemBase', './library', './FacetFilterItemRenderer'],
20
20
  * @class
21
21
  * Represents a value for the {@link sap.m.FacetFilterList} control.
22
22
  * @extends sap.m.ListItemBase
23
- * @version 1.94.0
23
+ * @version 1.97.0
24
24
  *
25
25
  * @constructor
26
26
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * be closed.
53
53
  *
54
54
  * @extends sap.m.List
55
- * @version 1.94.0
55
+ * @version 1.97.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.94.0
31
+ * @version 1.97.0
32
32
  * @since 1.34
33
33
  *
34
34
  * @public
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.94.0
43
+ * @version 1.97.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -54,7 +54,7 @@ function(
54
54
  * @extends sap.m.ListItemBase
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.94.0
57
+ * @version 1.97.0
58
58
  *
59
59
  * @constructor
60
60
  * @public
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/core/Element"],
19
19
  * @extends sap.ui.core.Element
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.94.0
22
+ * @version 1.97.0
23
23
  *
24
24
  * @constructor
25
25
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  *
29
29
  * @class text
30
- * @version 1.94.0
30
+ * @version 1.97.0
31
31
  * @private
32
32
  * @since 1.38
33
33
  * @alias HeaderAdapter
@@ -227,7 +227,7 @@ sap.ui.define([
227
227
  * Constructor for an sap.m.Fiori20Adapter.
228
228
  *
229
229
  * @class text
230
- * @version 1.94.0
230
+ * @version 1.97.0
231
231
  * @private
232
232
  * @since 1.38
233
233
  * @alias sap.m.Fiori20Adapter
@@ -62,7 +62,7 @@ function(
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.94.0
65
+ * @version 1.97.0
66
66
  *
67
67
  * @public
68
68
  * @alias sap.m.FlexBox
@@ -24,7 +24,7 @@ sap.ui.define(["./FlexBoxStylingHelper", "./library", "sap/ui/core/LayoutData"],
24
24
  * @class
25
25
  * Holds layout data for a FlexBox / HBox / VBox.
26
26
  * @extends sap.ui.core.LayoutData
27
- * @version 1.94.0
27
+ * @version 1.97.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -42,7 +42,7 @@ function(
42
42
  * @class
43
43
  * The FormattedText control allows the usage of a limited set of tags for inline display of formatted text in HTML format.
44
44
  * @extends sap.ui.core.Control
45
- * @version 1.94.0
45
+ * @version 1.97.0
46
46
  *
47
47
  * @constructor
48
48
  * @public
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  * @extends sap.ui.core.Control
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.94.0
56
+ * @version 1.97.0
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -91,6 +91,13 @@ sap.ui.define([
91
91
  valueState: {type : "sap.m.GenericTagValueState", defaultValue : GenericTagValueState.None }
92
92
  },
93
93
  defaultAggregation: "value",
94
+ associations : {
95
+ /**
96
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy).
97
+ * @since 1.97.0
98
+ */
99
+ ariaLabelledBy: {type : "sap.ui.core.Control", multiple : true, singularName : "ariaLabelledBy"}
100
+ },
94
101
  aggregations: {
95
102
  /**
96
103
  * Numeric value rendered by the control.
@@ -107,7 +107,7 @@ sap.ui.define([
107
107
  };
108
108
 
109
109
  GenericTagRenderer._getAriaLabelledBy = function(oControl) {
110
- var aLabelledBy = [],
110
+ var aLabelledBy = oControl.getAriaLabelledBy().slice(),
111
111
  sId = oControl.getId(),
112
112
  sTagValueId = this._getTagValueId(oControl);
113
113