@openui5/sap.m 1.99.0 → 1.100.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/THIRDPARTY.txt +2 -2
  2. package/package.json +4 -4
  3. package/src/sap/m/.library +1 -1
  4. package/src/sap/m/AccButton.js +1 -1
  5. package/src/sap/m/ActionListItem.js +1 -1
  6. package/src/sap/m/ActionListItemRenderer.js +5 -7
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +2 -2
  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 +1 -1
  12. package/src/sap/m/BadgeEnabler.js +3 -2
  13. package/src/sap/m/Bar.js +1 -1
  14. package/src/sap/m/Breadcrumbs.js +81 -8
  15. package/src/sap/m/BreadcrumbsRenderer.js +8 -7
  16. package/src/sap/m/BusyDialog.js +1 -1
  17. package/src/sap/m/BusyIndicator.js +1 -1
  18. package/src/sap/m/Button.js +2 -2
  19. package/src/sap/m/Carousel.js +1 -1
  20. package/src/sap/m/CarouselLayout.js +1 -1
  21. package/src/sap/m/CarouselRenderer.js +2 -1
  22. package/src/sap/m/CheckBox.js +2 -4
  23. package/src/sap/m/ColorPalette.js +1 -1
  24. package/src/sap/m/ColorPalettePopover.js +1 -1
  25. package/src/sap/m/Column.js +1 -1
  26. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  27. package/src/sap/m/ColumnListItem.js +1 -1
  28. package/src/sap/m/ColumnListItemRenderer.js +9 -11
  29. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  34. package/src/sap/m/ComboBox.js +2 -1
  35. package/src/sap/m/ComboBoxBase.js +1 -1
  36. package/src/sap/m/ComboBoxTextField.js +1 -1
  37. package/src/sap/m/CustomDynamicDateOption.js +1 -1
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomListItemRenderer.js +4 -6
  40. package/src/sap/m/CustomTile.js +1 -1
  41. package/src/sap/m/CustomTileRenderer.js +1 -1
  42. package/src/sap/m/CustomTreeItem.js +1 -1
  43. package/src/sap/m/CustomTreeItemRenderer.js +2 -2
  44. package/src/sap/m/DatePicker.js +4 -3
  45. package/src/sap/m/DateRangeSelection.js +2 -2
  46. package/src/sap/m/DateTimeField.js +4 -4
  47. package/src/sap/m/DateTimeInput.js +1 -1
  48. package/src/sap/m/DateTimePicker.js +65 -22
  49. package/src/sap/m/DateTimePickerRenderer.js +19 -2
  50. package/src/sap/m/Dialog.js +1 -1
  51. package/src/sap/m/DisplayListItem.js +1 -1
  52. package/src/sap/m/DisplayListItemRenderer.js +4 -6
  53. package/src/sap/m/DraftIndicator.js +1 -1
  54. package/src/sap/m/DynamicDate.js +1 -1
  55. package/src/sap/m/DynamicDateFormat.js +8 -2
  56. package/src/sap/m/DynamicDateOption.js +1 -1
  57. package/src/sap/m/DynamicDateRange.js +23 -6
  58. package/src/sap/m/DynamicDateUtil.js +1 -2
  59. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  60. package/src/sap/m/ExpandableText.js +1 -1
  61. package/src/sap/m/FacetFilter.js +1 -1
  62. package/src/sap/m/FacetFilterItem.js +1 -1
  63. package/src/sap/m/FacetFilterList.js +6 -4
  64. package/src/sap/m/FeedContent.js +1 -1
  65. package/src/sap/m/FeedInput.js +1 -1
  66. package/src/sap/m/FeedListItem.js +2 -2
  67. package/src/sap/m/FeedListItemAction.js +1 -1
  68. package/src/sap/m/FeedListItemRenderer.js +10 -5
  69. package/src/sap/m/Fiori20Adapter.js +2 -2
  70. package/src/sap/m/FlexBox.js +1 -1
  71. package/src/sap/m/FlexItemData.js +1 -1
  72. package/src/sap/m/FormattedText.js +1 -1
  73. package/src/sap/m/GenericTag.js +5 -3
  74. package/src/sap/m/GenericTagRenderer.js +3 -3
  75. package/src/sap/m/GenericTile.js +6 -2
  76. package/src/sap/m/GenericTileRenderer.js +3 -10
  77. package/src/sap/m/GroupHeaderListItem.js +1 -1
  78. package/src/sap/m/GrowingEnablement.js +39 -3
  79. package/src/sap/m/GrowingList.js +1 -1
  80. package/src/sap/m/HBox.js +1 -1
  81. package/src/sap/m/HeaderContainer.js +1 -1
  82. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  83. package/src/sap/m/HyphenationSupport.js +0 -4
  84. package/src/sap/m/IconTabBar.js +1 -1
  85. package/src/sap/m/IconTabBarDragAndDropUtil.js +3 -2
  86. package/src/sap/m/IconTabBarSelectList.js +3 -5
  87. package/src/sap/m/IconTabFilter.js +1 -1
  88. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  89. package/src/sap/m/IconTabHeader.js +7 -11
  90. package/src/sap/m/IconTabSeparator.js +1 -1
  91. package/src/sap/m/IllustratedMessage.js +1 -1
  92. package/src/sap/m/Illustration.js +1 -1
  93. package/src/sap/m/Image.js +1 -1
  94. package/src/sap/m/ImageContent.js +1 -1
  95. package/src/sap/m/Input.js +7 -10
  96. package/src/sap/m/InputBase.js +1 -1
  97. package/src/sap/m/InputBaseRenderer.js +1 -2
  98. package/src/sap/m/InputListItem.js +1 -1
  99. package/src/sap/m/InputListItemRenderer.js +4 -6
  100. package/src/sap/m/Label.js +1 -1
  101. package/src/sap/m/LabelRenderer.js +1 -1
  102. package/src/sap/m/LightBox.js +1 -1
  103. package/src/sap/m/LightBoxItem.js +1 -1
  104. package/src/sap/m/Link.js +1 -1
  105. package/src/sap/m/List.js +1 -1
  106. package/src/sap/m/ListBase.js +1 -1
  107. package/src/sap/m/ListBaseRenderer.js +4 -6
  108. package/src/sap/m/ListItemBase.js +1 -1
  109. package/src/sap/m/MaskEnabler.js +1 -1
  110. package/src/sap/m/MaskInput.js +1 -1
  111. package/src/sap/m/MaskInputRule.js +1 -1
  112. package/src/sap/m/Menu.js +1 -1
  113. package/src/sap/m/MenuButton.js +1 -1
  114. package/src/sap/m/MenuItem.js +1 -1
  115. package/src/sap/m/MenuListItem.js +1 -1
  116. package/src/sap/m/MessageItem.js +1 -1
  117. package/src/sap/m/MessageListItem.js +1 -1
  118. package/src/sap/m/MessagePage.js +1 -1
  119. package/src/sap/m/MessagePopover.js +1 -1
  120. package/src/sap/m/MessagePopoverItem.js +1 -1
  121. package/src/sap/m/MessageStrip.js +2 -2
  122. package/src/sap/m/MessageToast.js +1 -1
  123. package/src/sap/m/MessageView.js +1 -1
  124. package/src/sap/m/MultiComboBox.js +2 -1
  125. package/src/sap/m/MultiEditField.js +1 -1
  126. package/src/sap/m/MultiInput.js +5 -5
  127. package/src/sap/m/NavContainer.js +17 -17
  128. package/src/sap/m/NewsContent.js +1 -1
  129. package/src/sap/m/NotificationList.js +1 -1
  130. package/src/sap/m/NotificationListBase.js +1 -1
  131. package/src/sap/m/NotificationListGroup.js +1 -1
  132. package/src/sap/m/NotificationListItem.js +1 -1
  133. package/src/sap/m/NumericContent.js +29 -21
  134. package/src/sap/m/NumericInput.js +1 -1
  135. package/src/sap/m/ObjectAttribute.js +4 -5
  136. package/src/sap/m/ObjectAttributeRenderer.js +2 -2
  137. package/src/sap/m/ObjectHeader.js +1 -1
  138. package/src/sap/m/ObjectIdentifier.js +3 -3
  139. package/src/sap/m/ObjectListItem.js +1 -1
  140. package/src/sap/m/ObjectMarker.js +1 -1
  141. package/src/sap/m/ObjectNumber.js +1 -1
  142. package/src/sap/m/ObjectStatus.js +1 -1
  143. package/src/sap/m/ObjectStatusRenderer.js +3 -4
  144. package/src/sap/m/OverflowToolbar.js +5 -1
  145. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  146. package/src/sap/m/OverflowToolbarButton.js +1 -1
  147. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  148. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  149. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  150. package/src/sap/m/P13nColumnsItem.js +1 -1
  151. package/src/sap/m/P13nColumnsPanel.js +1 -1
  152. package/src/sap/m/P13nConditionPanel.js +1 -1
  153. package/src/sap/m/P13nDialog.js +1 -1
  154. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  155. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  156. package/src/sap/m/P13nFilterItem.js +1 -1
  157. package/src/sap/m/P13nFilterPanel.js +1 -1
  158. package/src/sap/m/P13nGroupItem.js +1 -1
  159. package/src/sap/m/P13nGroupPanel.js +1 -1
  160. package/src/sap/m/P13nItem.js +1 -1
  161. package/src/sap/m/P13nPanel.js +1 -1
  162. package/src/sap/m/P13nSelectionItem.js +1 -1
  163. package/src/sap/m/P13nSelectionPanel.js +1 -1
  164. package/src/sap/m/P13nSortItem.js +1 -1
  165. package/src/sap/m/P13nSortPanel.js +1 -1
  166. package/src/sap/m/PDFViewer.js +1 -1
  167. package/src/sap/m/Page.js +1 -1
  168. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  169. package/src/sap/m/PagingButton.js +1 -1
  170. package/src/sap/m/Panel.js +1 -1
  171. package/src/sap/m/PlanningCalendar.js +2 -2
  172. package/src/sap/m/PlanningCalendarHeader.js +1 -1
  173. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  174. package/src/sap/m/PlanningCalendarRow.js +1 -1
  175. package/src/sap/m/PlanningCalendarView.js +1 -1
  176. package/src/sap/m/Popover.js +1 -1
  177. package/src/sap/m/ProgressIndicator.js +1 -1
  178. package/src/sap/m/PullToRefresh.js +1 -1
  179. package/src/sap/m/QuickView.js +1 -1
  180. package/src/sap/m/QuickViewBase.js +1 -1
  181. package/src/sap/m/QuickViewCard.js +1 -1
  182. package/src/sap/m/QuickViewGroup.js +1 -1
  183. package/src/sap/m/QuickViewGroupElement.js +1 -1
  184. package/src/sap/m/QuickViewPage.js +5 -2
  185. package/src/sap/m/RadioButton.js +1 -1
  186. package/src/sap/m/RadioButtonGroup.js +12 -1
  187. package/src/sap/m/RadioButtonRenderer.js +0 -1
  188. package/src/sap/m/RangeSlider.js +1 -1
  189. package/src/sap/m/RatingIndicator.js +2 -2
  190. package/src/sap/m/ResponsivePopover.js +3 -5
  191. package/src/sap/m/ResponsiveScale.js +1 -1
  192. package/src/sap/m/ScrollBar.js +2 -2
  193. package/src/sap/m/ScrollContainer.js +1 -1
  194. package/src/sap/m/SearchField.js +1 -1
  195. package/src/sap/m/SegmentedButton.js +13 -7
  196. package/src/sap/m/SegmentedButtonItem.js +1 -1
  197. package/src/sap/m/SegmentedButtonRenderer.js +1 -1
  198. package/src/sap/m/Select.js +31 -3
  199. package/src/sap/m/SelectDialog.js +3 -3
  200. package/src/sap/m/SelectDialogBase.js +1 -1
  201. package/src/sap/m/SelectList.js +1 -1
  202. package/src/sap/m/SelectionDetails.js +3 -5
  203. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  204. package/src/sap/m/SelectionDetailsItem.js +1 -1
  205. package/src/sap/m/SelectionDetailsItemLine.js +3 -3
  206. package/src/sap/m/Shell.js +1 -1
  207. package/src/sap/m/SimpleFixFlex.js +1 -1
  208. package/src/sap/m/SinglePlanningCalendar.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  210. package/src/sap/m/SinglePlanningCalendarGrid.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +5 -3
  212. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  213. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  214. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  215. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  216. package/src/sap/m/SlideTile.js +2 -2
  217. package/src/sap/m/SlideTileRenderer.js +8 -1
  218. package/src/sap/m/Slider.js +1 -1
  219. package/src/sap/m/SliderTooltip.js +1 -1
  220. package/src/sap/m/SliderTooltipBase.js +1 -1
  221. package/src/sap/m/SliderTooltipContainer.js +1 -1
  222. package/src/sap/m/SplitApp.js +1 -1
  223. package/src/sap/m/SplitButton.js +1 -1
  224. package/src/sap/m/SplitContainer.js +4 -4
  225. package/src/sap/m/StandardDynamicDateOption.js +8 -8
  226. package/src/sap/m/StandardListItem.js +1 -1
  227. package/src/sap/m/StandardTile.js +1 -1
  228. package/src/sap/m/StandardTreeItem.js +1 -1
  229. package/src/sap/m/StepInput.js +2 -2
  230. package/src/sap/m/SuggestionItem.js +1 -1
  231. package/src/sap/m/SuggestionsPopover.js +2 -2
  232. package/src/sap/m/Switch.js +1 -1
  233. package/src/sap/m/TabContainer.js +1 -1
  234. package/src/sap/m/TabContainerItem.js +1 -1
  235. package/src/sap/m/TabStrip.js +2 -2
  236. package/src/sap/m/TabStripItem.js +1 -1
  237. package/src/sap/m/TabStripRenderer.js +2 -2
  238. package/src/sap/m/Table.js +1 -1
  239. package/src/sap/m/TablePersoController.js +1 -1
  240. package/src/sap/m/TablePersoDialog.js +1 -1
  241. package/src/sap/m/TablePersoProvider.js +1 -1
  242. package/src/sap/m/TableSelectDialog.js +3 -3
  243. package/src/sap/m/Text.js +1 -1
  244. package/src/sap/m/TextArea.js +1 -1
  245. package/src/sap/m/Tile.js +3 -3
  246. package/src/sap/m/TileContainer.js +6 -4
  247. package/src/sap/m/TileContent.js +34 -2
  248. package/src/sap/m/TileContentRenderer.js +40 -3
  249. package/src/sap/m/TileRenderer.js +1 -1
  250. package/src/sap/m/TimePicker.js +2 -2
  251. package/src/sap/m/TimePickerClock.js +1 -1
  252. package/src/sap/m/TimePickerClocks.js +1 -1
  253. package/src/sap/m/TimePickerInputs.js +1 -1
  254. package/src/sap/m/TimePickerInternals.js +2 -2
  255. package/src/sap/m/TimePickerRenderer.js +2 -3
  256. package/src/sap/m/TimePickerSlider.js +1 -1
  257. package/src/sap/m/TimePickerSliders.js +1 -1
  258. package/src/sap/m/Title.js +1 -1
  259. package/src/sap/m/TitlePropagationSupport.js +1 -1
  260. package/src/sap/m/TitleRenderer.js +2 -2
  261. package/src/sap/m/ToggleButton.js +1 -1
  262. package/src/sap/m/Token.js +1 -1
  263. package/src/sap/m/Tokenizer.js +5 -5
  264. package/src/sap/m/TokenizerRenderer.js +1 -1
  265. package/src/sap/m/Toolbar.js +1 -1
  266. package/src/sap/m/ToolbarLayoutData.js +1 -1
  267. package/src/sap/m/ToolbarSeparator.js +5 -3
  268. package/src/sap/m/ToolbarSpacer.js +1 -1
  269. package/src/sap/m/Tree.js +1 -1
  270. package/src/sap/m/TreeItemBase.js +1 -1
  271. package/src/sap/m/UploadCollection.js +5 -3
  272. package/src/sap/m/UploadCollectionItem.js +1 -1
  273. package/src/sap/m/UploadCollectionParameter.js +1 -1
  274. package/src/sap/m/UploadCollectionRenderer.js +1 -0
  275. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  276. package/src/sap/m/VBox.js +1 -1
  277. package/src/sap/m/ValueStateHeader.js +1 -1
  278. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  279. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  280. package/src/sap/m/ViewSettingsDialog.js +99 -41
  281. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  282. package/src/sap/m/ViewSettingsItem.js +1 -1
  283. package/src/sap/m/VisibleItem.js +1 -1
  284. package/src/sap/m/WheelSlider.js +1 -1
  285. package/src/sap/m/WheelSliderContainer.js +1 -1
  286. package/src/sap/m/Wizard.js +1 -1
  287. package/src/sap/m/WizardProgressNavigator.js +1 -1
  288. package/src/sap/m/WizardStep.js +1 -1
  289. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  290. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  291. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  292. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  293. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  294. package/src/sap/m/changeHandler/SplitMenuButton.js +5 -5
  295. package/src/sap/m/delegate/DateNavigation.js +2 -2
  296. package/src/sap/m/inputUtils/highlightDOMElements.js +1 -1
  297. package/src/sap/m/inputUtils/typeAhead.js +7 -7
  298. package/src/sap/m/library.js +30 -17
  299. package/src/sap/m/messagebundle.properties +8 -5
  300. package/src/sap/m/messagebundle_ar.properties +14 -6
  301. package/src/sap/m/messagebundle_bg.properties +14 -6
  302. package/src/sap/m/messagebundle_ca.properties +14 -6
  303. package/src/sap/m/messagebundle_cs.properties +16 -8
  304. package/src/sap/m/messagebundle_cy.properties +14 -6
  305. package/src/sap/m/messagebundle_da.properties +14 -6
  306. package/src/sap/m/messagebundle_de.properties +15 -7
  307. package/src/sap/m/messagebundle_el.properties +17 -9
  308. package/src/sap/m/messagebundle_en.properties +13 -5
  309. package/src/sap/m/messagebundle_en_GB.properties +13 -5
  310. package/src/sap/m/messagebundle_en_US_sappsd.properties +14 -6
  311. package/src/sap/m/messagebundle_en_US_saprigi.properties +14 -6
  312. package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
  313. package/src/sap/m/messagebundle_es.properties +14 -6
  314. package/src/sap/m/messagebundle_es_MX.properties +14 -6
  315. package/src/sap/m/messagebundle_et.properties +14 -6
  316. package/src/sap/m/messagebundle_fi.properties +14 -6
  317. package/src/sap/m/messagebundle_fr.properties +16 -8
  318. package/src/sap/m/messagebundle_fr_CA.properties +13 -5
  319. package/src/sap/m/messagebundle_hi.properties +12 -4
  320. package/src/sap/m/messagebundle_hr.properties +14 -6
  321. package/src/sap/m/messagebundle_hu.properties +14 -6
  322. package/src/sap/m/messagebundle_id.properties +13 -5
  323. package/src/sap/m/messagebundle_it.properties +14 -6
  324. package/src/sap/m/messagebundle_iw.properties +14 -6
  325. package/src/sap/m/messagebundle_ja.properties +13 -5
  326. package/src/sap/m/messagebundle_kk.properties +14 -6
  327. package/src/sap/m/messagebundle_ko.properties +13 -5
  328. package/src/sap/m/messagebundle_lt.properties +14 -6
  329. package/src/sap/m/messagebundle_lv.properties +14 -6
  330. package/src/sap/m/messagebundle_ms.properties +13 -5
  331. package/src/sap/m/messagebundle_nl.properties +14 -6
  332. package/src/sap/m/messagebundle_no.properties +14 -6
  333. package/src/sap/m/messagebundle_pl.properties +14 -6
  334. package/src/sap/m/messagebundle_pt.properties +15 -7
  335. package/src/sap/m/messagebundle_pt_PT.properties +14 -6
  336. package/src/sap/m/messagebundle_ro.properties +14 -6
  337. package/src/sap/m/messagebundle_ru.properties +14 -6
  338. package/src/sap/m/messagebundle_sh.properties +14 -6
  339. package/src/sap/m/messagebundle_sk.properties +14 -6
  340. package/src/sap/m/messagebundle_sl.properties +14 -6
  341. package/src/sap/m/messagebundle_sv.properties +14 -6
  342. package/src/sap/m/messagebundle_th.properties +13 -5
  343. package/src/sap/m/messagebundle_tr.properties +14 -6
  344. package/src/sap/m/messagebundle_uk.properties +14 -6
  345. package/src/sap/m/messagebundle_vi.properties +13 -5
  346. package/src/sap/m/messagebundle_zh_CN.properties +14 -6
  347. package/src/sap/m/messagebundle_zh_TW.properties +13 -5
  348. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  349. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  350. package/src/sap/m/p13n/BasePanel.js +26 -13
  351. package/src/sap/m/p13n/Container.js +1 -1
  352. package/src/sap/m/p13n/GroupPanel.js +1 -1
  353. package/src/sap/m/p13n/Popup.js +1 -1
  354. package/src/sap/m/p13n/QueryPanel.js +5 -3
  355. package/src/sap/m/p13n/SelectionPanel.js +15 -7
  356. package/src/sap/m/p13n/SortPanel.js +1 -1
  357. package/src/sap/m/plugins/ColumnResizer.js +8 -8
  358. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  359. package/src/sap/m/plugins/PasteProvider.js +1 -1
  360. package/src/sap/m/plugins/PluginBase.js +1 -1
  361. package/src/sap/m/rules/Breadcrumbs.support.js +1 -1
  362. package/src/sap/m/rules/Tokenizer.support.js +4 -2
  363. package/src/sap/m/semantic/AddAction.js +1 -1
  364. package/src/sap/m/semantic/CancelAction.js +1 -1
  365. package/src/sap/m/semantic/DeleteAction.js +1 -1
  366. package/src/sap/m/semantic/DetailPage.js +1 -1
  367. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  368. package/src/sap/m/semantic/EditAction.js +1 -1
  369. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  370. package/src/sap/m/semantic/FilterAction.js +1 -1
  371. package/src/sap/m/semantic/FilterSelect.js +1 -1
  372. package/src/sap/m/semantic/FlagAction.js +1 -1
  373. package/src/sap/m/semantic/ForwardAction.js +1 -1
  374. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  375. package/src/sap/m/semantic/GroupAction.js +1 -1
  376. package/src/sap/m/semantic/GroupSelect.js +1 -1
  377. package/src/sap/m/semantic/MainAction.js +1 -1
  378. package/src/sap/m/semantic/MasterPage.js +1 -1
  379. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  380. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  381. package/src/sap/m/semantic/NegativeAction.js +1 -1
  382. package/src/sap/m/semantic/OpenInAction.js +1 -1
  383. package/src/sap/m/semantic/PositiveAction.js +1 -1
  384. package/src/sap/m/semantic/PrintAction.js +1 -1
  385. package/src/sap/m/semantic/SaveAction.js +1 -1
  386. package/src/sap/m/semantic/Segment.js +1 -1
  387. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  388. package/src/sap/m/semantic/SemanticButton.js +1 -1
  389. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  390. package/src/sap/m/semantic/SemanticControl.js +1 -1
  391. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  392. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  393. package/src/sap/m/semantic/SemanticPage.js +1 -1
  394. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  395. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  396. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  397. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  398. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  399. package/src/sap/m/semantic/ShareMenu.js +2 -2
  400. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  401. package/src/sap/m/semantic/SortAction.js +1 -1
  402. package/src/sap/m/semantic/SortSelect.js +1 -1
  403. package/src/sap/m/table/Util.js +21 -18
  404. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  405. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  406. package/src/sap/m/table/columnmenu/Item.js +1 -1
  407. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  408. package/src/sap/m/table/columnmenu/Menu.js +7 -2
  409. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  410. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  411. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  412. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  413. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  414. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  415. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  416. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  417. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  418. package/src/sap/m/themes/base/Button.less +2 -2
  419. package/src/sap/m/themes/base/DatePicker.less +7 -2
  420. package/src/sap/m/themes/base/GenericTile.less +27 -14
  421. package/src/sap/m/themes/base/Label.less +1 -1
  422. package/src/sap/m/themes/base/MenuButton.less +4 -4
  423. package/src/sap/m/themes/base/MessageToast.less +2 -2
  424. package/src/sap/m/themes/base/NumericContent.less +1 -5
  425. package/src/sap/m/themes/base/Page.less +1 -1
  426. package/src/sap/m/themes/base/RadioButton.less +1 -0
  427. package/src/sap/m/themes/base/SearchField.less +23 -59
  428. package/src/sap/m/themes/base/SplitButton.less +5 -0
  429. package/src/sap/m/themes/base/TileContent.less +41 -1
  430. package/src/sap/m/upload/UploadSet.js +236 -14
  431. package/src/sap/m/upload/UploadSetItem.js +64 -5
@@ -20,7 +20,7 @@ sap.ui.define(['sap/m/DynamicDateOption'],
20
20
  * @extends sap.m.DynamicDateOption
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.99.0
23
+ * @version 1.100.0
24
24
  *
25
25
  * @public
26
26
  * @since 1.92
@@ -24,7 +24,7 @@ sap.ui.define(['./ListItemBase', './library', './CustomListItemRenderer'],
24
24
  * @extends sap.m.ListItemBase
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.99.0
27
+ * @version 1.100.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -20,12 +20,10 @@ sap.ui.define(["./ListItemBaseRenderer", "sap/ui/core/Renderer"],
20
20
  * Renders the HTML for the given control, using the provided
21
21
  * {@link sap.ui.core.RenderManager}.
22
22
  *
23
- * @param {sap.ui.core.RenderManager}
24
- * oRenderManager the RenderManager that can be used for writing to
25
- * the Render-Output-Buffer
26
- * @param {sap.m.CustomListItem}
27
- * oControl an object representation of the control that should be
28
- * rendered
23
+ * @param {sap.ui.core.RenderManager} rm
24
+ * RenderManager that can be used to render the control's DOM
25
+ * @param {sap.m.CustomListItem} oLI
26
+ * The item to be rendered
29
27
  */
30
28
  CustomListItemRenderer.renderLIAttributes = function(rm, oLI) {
31
29
  rm.class("sapMCLI");
@@ -21,7 +21,7 @@ sap.ui.define(['./Tile', './library', './CustomTileRenderer'],
21
21
  * Use the CustomTile control to display application specific content in the Tile control.
22
22
  * The tile width is 8.5em and height is 10em.
23
23
  * @extends sap.m.Tile
24
- * @version 1.99.0
24
+ * @version 1.100.0
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -34,7 +34,7 @@ sap.ui.define(['./TileRenderer', 'sap/ui/core/Renderer'],
34
34
  }
35
35
 
36
36
  /* WAI ARIA if in TileContainer context */
37
- if (oControl.getParent() instanceof sap.m.TileContainer) {
37
+ if (oControl.getParent() && oControl.getParent().isA("sap.m.TileContainer")) {
38
38
  // @ui5-non-local-rendering
39
39
  oTileContainer = oControl.getParent();
40
40
  aVisibleTiles = oTileContainer._getVisibleTiles();
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * <code>Table, Form</code> etc, should not be aggregated as content.
24
24
  * @extends sap.m.TreeItemBase
25
25
  * @author SAP SE
26
- * @version 1.99.0
26
+ * @version 1.100.0
27
27
  * @constructor
28
28
  * @public
29
29
  * @since 1.48.0
@@ -18,8 +18,8 @@ sap.ui.define([
18
18
  /**
19
19
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
20
20
  *
21
- * @param {sap.ui.core.RenderManager} oRenderManager RenderManager object
22
- * @param {sap.m.CustomTreeItem} oControl An object representation of the control that will be rendered
21
+ * @param {sap.ui.core.RenderManager} rm RenderManager object
22
+ * @param {sap.m.CustomTreeItem} oLI The item to be rendered
23
23
  */
24
24
  CustomTreeItemRenderer.renderLIAttributes = function(rm, oLI) {
25
25
  rm.class("sapMCTI");
@@ -148,7 +148,7 @@ sap.ui.define([
148
148
  * the close event), or select Cancel.
149
149
  *
150
150
  * @extends sap.m.DateTimeField
151
- * @version 1.99.0
151
+ * @version 1.100.0
152
152
  *
153
153
  * @constructor
154
154
  * @public
@@ -1334,10 +1334,11 @@ sap.ui.define([
1334
1334
  } else {
1335
1335
  var oInitialFocusedDateValue = this.getInitialFocusedDateValue();
1336
1336
  var oFocusDate = oInitialFocusedDateValue ? oInitialFocusedDateValue : new Date();
1337
- var iMaxTimeMillis = this._oMaxDate.getTime();
1338
1337
 
1339
- if (oFocusDate.getTime() < this._oMinDate.getTime() || oFocusDate.getTime() > iMaxTimeMillis) {
1338
+ if (oFocusDate.getTime() < this._oMinDate.getTime()) {
1340
1339
  oFocusDate = this._oMinDate;
1340
+ } else if (oFocusDate.getTime() > this._oMaxDate.getTime()) {
1341
+ oFocusDate = this._oMaxDate;
1341
1342
  }
1342
1343
  this._getCalendar().focusDate(oFocusDate);
1343
1344
 
@@ -126,8 +126,8 @@ sap.ui.define([
126
126
  * compact mode and provides a touch-friendly size in cozy mode.
127
127
  *
128
128
  * @extends sap.m.DatePicker
129
- * @version 1.99.0
130
- * @version 1.99.0
129
+ * @version 1.100.0
130
+ * @version 1.100.0
131
131
  *
132
132
  * @constructor
133
133
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.m.InputBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.99.0
62
+ * @version 1.100.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -308,7 +308,7 @@ sap.ui.define([
308
308
  oDateLocal,
309
309
  oDate;
310
310
 
311
- if (oBindingType && this._isSupportedBindingType(oBindingType)) {
311
+ if (this._isSupportedBindingType(oBindingType)) {
312
312
  try {
313
313
  oDate = oBindingType.parseValue(sValue, "string");
314
314
 
@@ -352,7 +352,7 @@ sap.ui.define([
352
352
  oFormatOptions,
353
353
  oDateUTC;
354
354
 
355
- if (oBindingType && this._isSupportedBindingType(oBindingType)) {
355
+ if (this._isSupportedBindingType(oBindingType)) {
356
356
  if ((oBindingType.oFormatOptions && oBindingType.oFormatOptions.UTC) || (oBindingType.oConstraints && oBindingType.oConstraints.isDateOnly)) {
357
357
  // convert to UTC date because it will be formatted as UTC date
358
358
  oDateUTC = new Date(Date.UTC(oDate.getFullYear(), oDate.getMonth(), oDate.getDate(),
@@ -378,7 +378,7 @@ sap.ui.define([
378
378
  };
379
379
 
380
380
  DateTimeField.prototype._isSupportedBindingType = function (oBindingType) {
381
- return oBindingType.isA([
381
+ return !!oBindingType && oBindingType.isA([
382
382
  "sap.ui.model.type.Date",
383
383
  "sap.ui.model.odata.type.DateTime",
384
384
  "sap.ui.model.odata.type.DateTimeOffset"
@@ -62,7 +62,7 @@ function(
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.99.0
65
+ * @version 1.100.0
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  // shortcut for sap.m.PlacementType and sap.m.ButtonType
58
58
  var PlacementType = library.PlacementType,
59
59
  ButtonType = library.ButtonType,
60
- // From sap.ui.Device.media.RANGESETS.SAP_STANDARD - "Phone": For screens smaller than 600 pixels.
60
+ // From Device.media.RANGESETS.SAP_STANDARD - "Phone": For screens smaller than 600 pixels.
61
61
  STANDART_PHONE_RANGESET = "Phone",
62
62
  CalendarType = coreLibrary.CalendarType;
63
63
 
@@ -145,7 +145,7 @@ sap.ui.define([
145
145
  * mobile devices, it opens in full screen.
146
146
  *
147
147
  * @extends sap.m.DatePicker
148
- * @version 1.99.0
148
+ * @version 1.100.0
149
149
  *
150
150
  * @constructor
151
151
  * @public
@@ -397,11 +397,40 @@ sap.ui.define([
397
397
  this._bOnlyCalendar = false;
398
398
  };
399
399
 
400
+ DateTimePicker.prototype.setValue = function(sValue) {
401
+ var sFallbackValue;
402
+
403
+ DatePicker.prototype.setValue.apply(this, arguments);
404
+
405
+ delete this._prefferedValue;
406
+
407
+ if (!this.getDateValue()) {
408
+ sFallbackValue = this._fallbackParse(sValue);
409
+
410
+ if (typeof sFallbackValue === "string") {
411
+ this._bValid = true;
412
+ this._prefferedValue = sFallbackValue;
413
+
414
+ // there is a re-render comming, but this updates the dom immediately to avoid flickering
415
+ if (this.getDomRef() && this._$input.val() !== sFallbackValue) {
416
+ this._$input.val(sFallbackValue);
417
+ this._curpos = this._$input.cursorPos();
418
+ }
419
+ }
420
+ }
421
+
422
+ return this;
423
+ };
424
+
400
425
  DateTimePicker.prototype.setTimezone = function(sTimezone) {
401
426
  var oCurrentDateValue,
402
427
  sFormattedValue,
403
428
  oNewDateValue;
404
429
 
430
+ if (this.getTimezone() === sTimezone) {
431
+ return this;
432
+ }
433
+
405
434
  oCurrentDateValue = this.getDateValue() || this._parseValue(this.getValue(), false);
406
435
  sFormattedValue = this._formatValue(oCurrentDateValue, false);
407
436
 
@@ -438,15 +467,15 @@ sap.ui.define([
438
467
  DateTimePicker.prototype.onAfterRendering = function() {
439
468
  if (this._getShowTimezone()) {
440
469
  waitForThemeApplied().then(function() {
441
- var oDummyContentDomRef = document.querySelector("#" + this.getId() + " .sapMDummyContent"),
470
+ var oDummyContentDomRef = this.$().find(".sapMDummyContent"),
442
471
  iDummyWidth;
443
472
 
444
- if (!oDummyContentDomRef) {
473
+ if (!oDummyContentDomRef || !oDummyContentDomRef.length) {
445
474
  return;
446
475
  }
447
476
 
448
- iDummyWidth = oDummyContentDomRef.getBoundingClientRect().width;
449
- jQuery("#" + this.getId() + "-inner").css("max-width", (iDummyWidth + 2) + "px");
477
+ iDummyWidth = oDummyContentDomRef[0].getBoundingClientRect().width;
478
+ this.$("inner").css("max-width", (iDummyWidth + 2) + "px");
450
479
  }.bind(this));
451
480
  }
452
481
  };
@@ -597,11 +626,11 @@ sap.ui.define([
597
626
  };
598
627
 
599
628
  /**
600
- * Gets the format options of the value or dateValue binding with timezone.
601
- * @returns {object} The binding format options or an empty object instance.
629
+ * Gets the format options of the value or dateValue binding.
630
+ * @returns {object} The binding format options or undefined.
602
631
  * @private
603
632
  */
604
- DateTimePicker.prototype._getBindingWithTimezoneFormatOptions = function() {
633
+ DateTimePicker.prototype._getBindingFormatOptions = function() {
605
634
  var oBinding = this.getBinding("value") || this.getBinding("dateValue"),
606
635
  oBindingType;
607
636
 
@@ -609,7 +638,7 @@ sap.ui.define([
609
638
  oBindingType = oBinding.getType();
610
639
  }
611
640
 
612
- if (oBindingType && oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"])) {
641
+ if (this._isSupportedBindingType(oBindingType)) {
613
642
  return jQuery.extend({}, oBindingType.getFormatOptions());
614
643
  }
615
644
  };
@@ -623,13 +652,13 @@ sap.ui.define([
623
652
  * @private
624
653
  */
625
654
  DateTimePicker.prototype._getTimezoneFormatOptions = function(bDisplayFormat) {
626
- var oFormatOptions = this._getBindingWithTimezoneFormatOptions() || {},
655
+ var oFormatOptions = this._getBindingFormatOptions() || {},
627
656
  sFormat = bDisplayFormat ? this.getDisplayFormat() : this.getValueFormat(),
628
657
  oBinding = this.getBinding("value") || this.getBinding("dateValue"),
629
658
  oBindingType = oBinding && oBinding.getType && oBinding.getType();
630
659
 
631
- if (bDisplayFormat || !this._getTimezone()
632
- || (oBindingType && this._isSupportedBindingType(oBindingType))) {
660
+ if (bDisplayFormat || !this._getTimezone() ||
661
+ (oBindingType && !oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"]))) {
633
662
  oFormatOptions.showTimezone = DateFormatTimezoneDisplay.Hide;
634
663
  }
635
664
 
@@ -647,7 +676,7 @@ sap.ui.define([
647
676
  oFormatOptions.strictParsing = true;
648
677
  }
649
678
 
650
- if (sFormat && (!oBinding || !oBindingType || !this._isSupportedBindingType(oBindingType))) {
679
+ if (sFormat && !this._isSupportedBindingType(oBindingType)) {
651
680
  oFormatOptions[this._checkStyle(sFormat) ? "style" : "pattern"] = sFormat;
652
681
  }
653
682
 
@@ -739,14 +768,10 @@ sap.ui.define([
739
768
  oBindingType = oBinding && oBinding.getType(),
740
769
  aDateWithTimezone;
741
770
 
742
- if (oBindingType) {
743
- if (oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"])) {
744
- var aCurrentBindingValues = oBinding.getCurrentValues().slice(0);
745
- aCurrentBindingValues[1] = sTimezone || this._getTimezone(true);
746
- return oBindingType.parseValue(sValue, "string", aCurrentBindingValues)[0];
747
- } else if (!bDisplayFormat && this._isSupportedBindingType(oBindingType)) {
748
- return DatePicker.prototype._parseValue.apply(this, arguments);
749
- }
771
+ if (oBindingType && oBindingType.isA(["sap.ui.model.odata.type.DateTimeWithTimezone"])) {
772
+ var aCurrentBindingValues = oBinding.getCurrentValues().slice(0);
773
+ aCurrentBindingValues[1] = sTimezone || this._getTimezone(true);
774
+ return oBindingType.parseValue(sValue, "string", aCurrentBindingValues)[0];
750
775
  }
751
776
 
752
777
  aDateWithTimezone = this._getFormatter(bDisplayFormat)
@@ -767,6 +792,24 @@ sap.ui.define([
767
792
  return this._getFormatter(!bValueFormat).format(oDate, sTimezone || this._getTimezone(true));
768
793
  };
769
794
 
795
+ /**
796
+ * Tries to parse the value to see if it is a timezone only string.
797
+ * @param {string} sValue A value string
798
+ * @return {string|null} An empty string indicating success or null
799
+ * @private
800
+ */
801
+ DateTimePicker.prototype._fallbackParse = function(sValue) {
802
+ return this._getFallbackParser().parse(sValue) ? "" : null;
803
+ };
804
+
805
+ DateTimePicker.prototype._getFallbackParser = function() {
806
+ if (!this._fallbackParser) {
807
+ this._fallbackParser = DateFormat.getDateTimeWithTimezoneInstance({ showTimezone: "Only" });
808
+ }
809
+
810
+ return this._fallbackParser;
811
+ };
812
+
770
813
  DateTimePicker.prototype._getLocaleBasedPattern = function(sPlaceholder) {
771
814
  var oLocaleData = LocaleData.getInstance(
772
815
  Core.getConfiguration().getFormatSettings().getFormatLocale()
@@ -15,6 +15,14 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
15
15
 
16
16
  DateTimePickerRenderer.apiVersion = 2;
17
17
 
18
+ DateTimePickerRenderer.writeInnerValue = function(oRm, oControl) {
19
+ if (!oControl.getDateValue() && typeof oControl._prefferedValue === "string") {
20
+ oRm.attr("value", oControl._prefferedValue);
21
+ } else {
22
+ DatePickerRenderer.writeInnerValue.apply(this, arguments);
23
+ }
24
+ };
25
+
18
26
  DateTimePickerRenderer.getDescribedByAnnouncement = function(oDP) {
19
27
 
20
28
  var sBaseAnnouncement = InputBaseRenderer.getDescribedByAnnouncement.apply(this, arguments);
@@ -39,10 +47,9 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
39
47
 
40
48
  oRm.openStart("div", oControl.getId() + "-timezoneLabel");
41
49
  oRm.class("sapMDTPTimezoneLabel");
42
- oRm.attr("title", sTimezone);
43
50
  oRm.openEnd();
44
51
 
45
- oRm.openStart("span");
52
+ oRm.openStart("span", oControl.getId() + "-timezoneID");
46
53
  oRm.openEnd();
47
54
  oRm.text(sTimezone);
48
55
  oRm.close("span");
@@ -70,6 +77,16 @@ sap.ui.define(['sap/ui/core/Renderer', './DatePickerRenderer', './InputBaseRende
70
77
  }
71
78
  };
72
79
 
80
+ DateTimePickerRenderer.getAriaDescribedBy = function(oControl) {
81
+ var sDescribedBy = InputBaseRenderer.getAriaDescribedBy.apply(this, arguments);
82
+
83
+ if (oControl._getShowTimezone()) {
84
+ sDescribedBy += " " + oControl.getId() + "-timezoneID";
85
+ }
86
+
87
+ return sDescribedBy;
88
+ };
89
+
73
90
  return DateTimePickerRenderer;
74
91
 
75
92
  }, /* bExport= */ true);
@@ -175,7 +175,7 @@ function(
175
175
  *
176
176
  * @implements sap.ui.core.PopupInterface
177
177
  * @author SAP SE
178
- * @version 1.99.0
178
+ * @version 1.100.0
179
179
  *
180
180
  * @constructor
181
181
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.m.ListItemBase
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.99.0
33
+ * @version 1.100.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -24,12 +24,10 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/Renderer", "./ListItemBaseRen
24
24
  * Renders the HTML for the given control, using the provided
25
25
  * {@link sap.ui.core.RenderManager}.
26
26
  *
27
- * @param {sap.ui.core.RenderManager}
28
- * oRenderManager the RenderManager that can be used for writing to the
29
- * Render-Output-Buffer
30
- * @param {sap.m.DisplayListItem}
31
- * oControl an object representation of the control that should be
32
- * rendered
27
+ * @param {sap.ui.core.RenderManager} rm
28
+ * RenderManager that can be used to render the control's DOM
29
+ * @param {sap.m.DisplayListItem} oLI
30
+ * The item to be rendered
33
31
  */
34
32
  DisplayListItemRenderer.renderLIAttributes = function(rm, oLI) {
35
33
  rm.class("sapMDLI");
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.99.0
30
+ * @version 1.100.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.99.0
39
+ * @version 1.100.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * Create an instance of the DynamicDateFormat.
125
125
  *
126
126
  * @param {object} [oFormatOptions] Object which defines the format options
127
- * @param {{sap.ui.core.Locale}} [oLocale] Locale to get the formatter for
127
+ * @param {sap.ui.core.Locale} [oLocale] Locale to get the formatter for
128
128
  * @return {sap.m.DynamicDateFormat} Instance of the DynamicDateFormat
129
129
  * @private
130
130
  */
@@ -143,6 +143,7 @@ sap.ui.define([
143
143
  oFormat.oLocaleData = LocaleData.getInstance(oLocale);
144
144
  oFormat.oOriginalFormatOptions = deepExtend({}, DynamicDateFormat.oDefaultDynamicDateFormat, oFormatOptions);
145
145
  oFormat._dateFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["date"]);
146
+ oFormat._dateTimeFormatter = DateFormat.getDateTimeInstance(oFormat.oOriginalFormatOptions["datetime"]);
146
147
  // hack the date formatter not to parse relative
147
148
  // dates like: "next month", "next quarter", "previous week"
148
149
  [oFormat._dateFormatter].concat(oFormat._dateFormatter.aFallbackFormats).forEach(function(f) {
@@ -151,7 +152,12 @@ sap.ui.define([
151
152
  };
152
153
  });
153
154
 
154
- oFormat._dateTimeFormatter = DateFormat.getDateTimeInstance(oFormat.oOriginalFormatOptions["datetime"]);
155
+ [oFormat._dateTimeFormatter].concat(oFormat._dateTimeFormatter.aFallbackFormats).forEach(function(f) {
156
+ f.parseRelative = function() {
157
+ return null;
158
+ };
159
+ });
160
+
155
161
  oFormat._monthFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["month"]);
156
162
  oFormat._yearFormatter = DateFormat.getInstance(oFormat.oOriginalFormatOptions["year"]);
157
163
  oFormat._numberFormatter = NumberFormat.getInstance(oFormat.oOriginalFormatOptions["int"]);
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.core.Element
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.99.0
39
+ * @version 1.100.0
40
40
  *
41
41
  * @public
42
42
  * @since 1.92
@@ -35,8 +35,9 @@ sap.ui.define([
35
35
  './NavContainer',
36
36
  './DynamicDateRangeRenderer',
37
37
  './StandardDynamicDateOption',
38
- 'sap/ui/dom/jquery/Focusable',
39
- './library'],
38
+ './library',
39
+ 'sap/ui/thirdparty/jquery',
40
+ 'sap/ui/dom/jquery/Focusable'], // provides jQuery.fn.firstFocusableDomRef
40
41
  function(
41
42
  InvisibleText,
42
43
  Element,
@@ -67,8 +68,8 @@ sap.ui.define([
67
68
  NavContainer,
68
69
  DynamicDateRangeRenderer,
69
70
  StandardDynamicDateOption,
70
- Focusable,
71
- library
71
+ library,
72
+ jQuery
72
73
  ) {
73
74
  "use strict";
74
75
 
@@ -118,7 +119,7 @@ sap.ui.define([
118
119
  * is opened. The dialog is closed via a date time period value selection or by pressing the "Cancel" button.
119
120
  *
120
121
  * @author SAP SE
121
- * @version 1.99.0
122
+ * @version 1.100.0
122
123
  *
123
124
  * @constructor
124
125
  * @public
@@ -383,10 +384,13 @@ sap.ui.define([
383
384
  };
384
385
 
385
386
  DynamicDateRange.prototype.setValue = function(oValue) {
387
+ var sOptionKey = oValue && oValue.operator;
388
+
386
389
  // substutude the semantically equivalent values
387
390
  oValue = this._substitudeValue(oValue);
388
391
 
389
392
  this.setProperty("value", oValue);
393
+ this._oSelectedOption = DynamicDateUtil.getOption(sOptionKey);
390
394
 
391
395
  // Forward Dynamic Date Range control property values to inner sap.m.Input instance.
392
396
  this._updateInputValue(oValue);
@@ -590,11 +594,13 @@ sap.ui.define([
590
594
  switch (sType) {
591
595
  case "datetime":
592
596
  oFormatOptions = Object.create(this._getFormatter()._dateTimeFormatter.oFormatOptions);
597
+ oFormatOptions.singleIntervalValue = true;
593
598
  oFormatOptions.interval = true;
594
599
  this._oDatesLabelFormatter = DateFormat.getDateTimeInstance(oFormatOptions);
595
600
  break;
596
601
  default:
597
602
  oFormatOptions = Object.create(this._getFormatter()._dateFormatter.oFormatOptions);
603
+ oFormatOptions.singleIntervalValue = true;
598
604
  oFormatOptions.interval = true;
599
605
  this._oDatesLabelFormatter = DateFormat.getInstance(oFormatOptions);
600
606
  }
@@ -914,6 +920,10 @@ sap.ui.define([
914
920
 
915
921
  aResultDates = DynamicDateUtil.toDates(oOutputValue);
916
922
  if (aResultDates) {
923
+ if (this._oSelectedOption.getKey() === "FROMDATETIME" || this._oSelectedOption.getKey() === "TODATETIME"
924
+ || this._oSelectedOption.getKey() === "FROM" || this._oSelectedOption.getKey() === "TO") {
925
+ aResultDates.push(null);
926
+ }
917
927
  sFormattedDates = this._getDatesLabelFormatter().format(aResultDates);
918
928
  this._getDatesLabel().setText(oResourceBundle.getText("DDR_INFO_DATES", [sFormattedDates]));
919
929
  }
@@ -1076,7 +1086,7 @@ sap.ui.define([
1076
1086
 
1077
1087
  if (oToPage === oOptionDetailsPage) {
1078
1088
  this.aInputControls.forEach(function(oControl) {
1079
- if (jQuery(oControl.getDomRef()).firstFocusableDomRef()) {
1089
+ if (oControl.$().firstFocusableDomRef()) {
1080
1090
  oControl.addAriaLabelledBy && oControl.addAriaLabelledBy(oToPage.getAggregation("_internalHeader"));
1081
1091
 
1082
1092
  if (!this._isCalendarBasedControl(oControl) && oControl.addAriaDescribedBy) {
@@ -1312,6 +1322,13 @@ sap.ui.define([
1312
1322
  && (!this._bClearButtonPressed);
1313
1323
  };
1314
1324
 
1325
+ DynamicDateRangeInput.prototype.onfocusin = function (oEvent) {
1326
+ Input.prototype.onfocusin.apply(this, arguments);
1327
+ if (this._getControlOrigin()._oPopup && this._getControlOrigin()._oPopup.isOpen()) {
1328
+ this._getControlOrigin()._closePopup();
1329
+ }
1330
+ };
1331
+
1315
1332
  var DynamicDateRangeListItem = StandardListItem.extend("sap.m.DynamicDateRangeListItem", {
1316
1333
  metadata: {
1317
1334
  library: "sap.m",
@@ -70,11 +70,10 @@ sap.ui.define([
70
70
  ];
71
71
 
72
72
  /**
73
- * @class
74
73
  * The DynamicDateUtil is a utility class for working with the DynamicDateOption instances.
75
74
  *
75
+ * @namespace
76
76
  * @alias sap.m.DynamicDateUtil
77
- * @static
78
77
  * @public
79
78
  * @experimental Since 1.92. This class is experimental and provides only limited functionality. Also the API might be changed in future.
80
79
  */
@@ -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.99.0
23
+ * @version 1.100.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.99.0
103
+ * @version 1.100.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.99.0
173
+ * @version 1.100.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.99.0
23
+ * @version 1.100.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.99.0
55
+ * @version 1.100.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -613,9 +613,11 @@ sap.ui.define([
613
613
 
614
614
  // Checks whether given model is one of the OData Models
615
615
  function isODataModel(oModel) {
616
- return oModel instanceof sap.ui.model.odata.ODataModel ||
617
- oModel instanceof sap.ui.model.odata.v2.ODataModel ||
618
- oModel instanceof sap.ui.model.odata.v4.ODataModel;
616
+ return oModel && (
617
+ oModel.isA("sap.ui.model.odata.ODataModel") ||
618
+ oModel.isA("sap.ui.model.odata.v2.ODataModel") ||
619
+ oModel.isA("sap.ui.model.odata.v4.ODataModel")
620
+ );
619
621
  }
620
622
 
621
623
  if (force || (sSearchVal !== this._searchValue)) {
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.99.0
31
+ * @version 1.100.0
32
32
  * @since 1.34
33
33
  *
34
34
  * @public