@openui5/sap.m 1.112.2 → 1.114.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 (463) hide show
  1. package/THIRDPARTY.txt +1 -1
  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/ActionSelect.js +1 -1
  7. package/src/sap/m/ActionSheet.js +1 -1
  8. package/src/sap/m/ActionTile.js +1 -1
  9. package/src/sap/m/ActionTileContent.js +1 -1
  10. package/src/sap/m/AdditionalTextButton.js +1 -1
  11. package/src/sap/m/App.js +11 -3
  12. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  13. package/src/sap/m/Avatar.js +32 -3
  14. package/src/sap/m/AvatarRenderer.js +1 -1
  15. package/src/sap/m/Bar.js +1 -1
  16. package/src/sap/m/Breadcrumbs.js +1 -1
  17. package/src/sap/m/BusyDialog.js +5 -3
  18. package/src/sap/m/BusyIndicator.js +1 -1
  19. package/src/sap/m/Button.js +19 -3
  20. package/src/sap/m/ButtonRenderer.js +9 -1
  21. package/src/sap/m/Carousel.js +3 -4
  22. package/src/sap/m/CarouselLayout.js +1 -1
  23. package/src/sap/m/CarouselRenderer.js +2 -6
  24. package/src/sap/m/CheckBox.js +1 -1
  25. package/src/sap/m/ColorPalette.js +1 -1
  26. package/src/sap/m/ColorPalettePopover.js +1 -1
  27. package/src/sap/m/Column.js +1 -1
  28. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  29. package/src/sap/m/ColumnListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  31. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  32. package/src/sap/m/ColumnPopoverItem.js +1 -1
  33. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  34. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  35. package/src/sap/m/ComboBox.js +12 -2
  36. package/src/sap/m/ComboBoxBase.js +2 -2
  37. package/src/sap/m/ComboBoxTextField.js +1 -1
  38. package/src/sap/m/CustomListItem.js +1 -1
  39. package/src/sap/m/CustomTile.js +1 -1
  40. package/src/sap/m/CustomTreeItem.js +1 -1
  41. package/src/sap/m/DatePicker.js +52 -18
  42. package/src/sap/m/DatePickerRenderer.js +3 -1
  43. package/src/sap/m/DateRangeSelection.js +87 -26
  44. package/src/sap/m/DateRangeSelectionRenderer.js +3 -2
  45. package/src/sap/m/DateTimeField.js +26 -7
  46. package/src/sap/m/DateTimeInput.js +6 -4
  47. package/src/sap/m/DateTimePicker.js +86 -11
  48. package/src/sap/m/Dialog.js +2 -2
  49. package/src/sap/m/DisplayListItem.js +1 -1
  50. package/src/sap/m/DraftIndicator.js +1 -1
  51. package/src/sap/m/DynamicDate.js +5 -6
  52. package/src/sap/m/DynamicDateFormat.js +10 -7
  53. package/src/sap/m/DynamicDateOption.js +12 -6
  54. package/src/sap/m/DynamicDateRange.js +311 -65
  55. package/src/sap/m/DynamicDateUtil.js +5 -5
  56. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -2
  57. package/src/sap/m/ExpandableText.js +1 -1
  58. package/src/sap/m/FacetFilter.js +7 -5
  59. package/src/sap/m/FacetFilterItem.js +1 -1
  60. package/src/sap/m/FacetFilterList.js +1 -1
  61. package/src/sap/m/FeedContent.js +1 -1
  62. package/src/sap/m/FeedInput.js +2 -2
  63. package/src/sap/m/FeedListItem.js +14 -14
  64. package/src/sap/m/FeedListItemAction.js +1 -1
  65. package/src/sap/m/Fiori20Adapter.js +2 -2
  66. package/src/sap/m/FlexBox.js +1 -1
  67. package/src/sap/m/FlexItemData.js +1 -1
  68. package/src/sap/m/FormattedText.js +62 -6
  69. package/src/sap/m/FormattedTextRenderer.js +10 -52
  70. package/src/sap/m/GenericTag.js +1 -1
  71. package/src/sap/m/GenericTile.js +46 -40
  72. package/src/sap/m/GenericTileRenderer.js +17 -5
  73. package/src/sap/m/GroupHeaderListItem.js +1 -1
  74. package/src/sap/m/GrowingEnablement.js +19 -13
  75. package/src/sap/m/GrowingList.js +1 -1
  76. package/src/sap/m/HBox.js +1 -1
  77. package/src/sap/m/HeaderContainer.js +11 -5
  78. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  79. package/src/sap/m/IconTabBar.js +1 -1
  80. package/src/sap/m/IconTabBarSelectList.js +1 -1
  81. package/src/sap/m/IconTabFilter.js +5 -6
  82. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  83. package/src/sap/m/IconTabHeader.js +1 -1
  84. package/src/sap/m/IconTabSeparator.js +5 -8
  85. package/src/sap/m/IllustratedMessage.js +30 -2
  86. package/src/sap/m/IllustratedMessageType.js +12 -0
  87. package/src/sap/m/Illustration.js +1 -1
  88. package/src/sap/m/Image.js +9 -1
  89. package/src/sap/m/ImageContent.js +1 -1
  90. package/src/sap/m/ImageHelper.js +110 -0
  91. package/src/sap/m/Input.js +23 -5
  92. package/src/sap/m/InputBase.js +1 -1
  93. package/src/sap/m/InputListItem.js +1 -1
  94. package/src/sap/m/Label.js +1 -1
  95. package/src/sap/m/LightBox.js +2 -5
  96. package/src/sap/m/LightBoxItem.js +1 -1
  97. package/src/sap/m/LightBoxRenderer.js +3 -0
  98. package/src/sap/m/Link.js +6 -8
  99. package/src/sap/m/LinkRenderer.js +2 -4
  100. package/src/sap/m/List.js +2 -2
  101. package/src/sap/m/ListBase.js +8 -7
  102. package/src/sap/m/ListItemBase.js +6 -5
  103. package/src/sap/m/MaskEnabler.js +1 -1
  104. package/src/sap/m/MaskInput.js +1 -1
  105. package/src/sap/m/MaskInputRule.js +1 -1
  106. package/src/sap/m/Menu.js +42 -35
  107. package/src/sap/m/MenuButton.js +1 -1
  108. package/src/sap/m/MenuItem.js +8 -8
  109. package/src/sap/m/MenuListItem.js +1 -1
  110. package/src/sap/m/MessageBox.js +5 -0
  111. package/src/sap/m/MessageItem.js +1 -1
  112. package/src/sap/m/MessageListItem.js +4 -5
  113. package/src/sap/m/MessagePage.js +1 -1
  114. package/src/sap/m/MessagePopover.js +7 -2
  115. package/src/sap/m/MessagePopoverItem.js +1 -1
  116. package/src/sap/m/MessageStrip.js +1 -1
  117. package/src/sap/m/MessageToast.js +78 -10
  118. package/src/sap/m/MessageView.js +1 -1
  119. package/src/sap/m/MultiComboBox.js +46 -10
  120. package/src/sap/m/MultiEditField.js +1 -1
  121. package/src/sap/m/MultiInput.js +18 -18
  122. package/src/sap/m/NavContainer.js +1 -1
  123. package/src/sap/m/NewsContent.js +1 -1
  124. package/src/sap/m/NotificationList.js +1 -1
  125. package/src/sap/m/NotificationListBase.js +1 -1
  126. package/src/sap/m/NotificationListGroup.js +1 -1
  127. package/src/sap/m/NotificationListItem.js +1 -1
  128. package/src/sap/m/NumericContent.js +1 -1
  129. package/src/sap/m/NumericInput.js +1 -1
  130. package/src/sap/m/ObjectAttribute.js +6 -6
  131. package/src/sap/m/ObjectHeader.js +5 -5
  132. package/src/sap/m/ObjectIdentifier.js +1 -1
  133. package/src/sap/m/ObjectListItem.js +5 -6
  134. package/src/sap/m/ObjectMarker.js +1 -1
  135. package/src/sap/m/ObjectNumber.js +1 -1
  136. package/src/sap/m/ObjectStatus.js +4 -7
  137. package/src/sap/m/OverflowToolbar.js +1 -1
  138. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  139. package/src/sap/m/OverflowToolbarButton.js +1 -1
  140. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  141. package/src/sap/m/OverflowToolbarMenuButton.js +1 -1
  142. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  143. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  144. package/src/sap/m/P13nColumnsItem.js +1 -1
  145. package/src/sap/m/P13nColumnsPanel.js +1 -1
  146. package/src/sap/m/P13nConditionPanel.js +9 -5
  147. package/src/sap/m/P13nDialog.js +1 -1
  148. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  149. package/src/sap/m/P13nDimMeasurePanel.js +1 -1
  150. package/src/sap/m/P13nFilterItem.js +1 -1
  151. package/src/sap/m/P13nFilterPanel.js +1 -1
  152. package/src/sap/m/P13nGroupItem.js +1 -1
  153. package/src/sap/m/P13nGroupPanel.js +1 -1
  154. package/src/sap/m/P13nItem.js +1 -1
  155. package/src/sap/m/P13nPanel.js +1 -1
  156. package/src/sap/m/P13nSelectionItem.js +1 -1
  157. package/src/sap/m/P13nSelectionPanel.js +1 -1
  158. package/src/sap/m/P13nSortItem.js +1 -1
  159. package/src/sap/m/P13nSortPanel.js +1 -1
  160. package/src/sap/m/PDFViewer.js +1 -1
  161. package/src/sap/m/Page.js +2 -2
  162. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  163. package/src/sap/m/PagingButton.js +1 -1
  164. package/src/sap/m/Panel.js +1 -1
  165. package/src/sap/m/PlanningCalendar.js +51 -39
  166. package/src/sap/m/PlanningCalendarHeader.js +3 -3
  167. package/src/sap/m/PlanningCalendarLegend.js +1 -1
  168. package/src/sap/m/PlanningCalendarRow.js +15 -15
  169. package/src/sap/m/PlanningCalendarView.js +1 -1
  170. package/src/sap/m/Popover.js +5 -5
  171. package/src/sap/m/PopoverRenderer.js +0 -4
  172. package/src/sap/m/ProgressIndicator.js +1 -1
  173. package/src/sap/m/PullToRefresh.js +4 -10
  174. package/src/sap/m/QuickView.js +1 -1
  175. package/src/sap/m/QuickViewBase.js +1 -1
  176. package/src/sap/m/QuickViewCard.js +1 -1
  177. package/src/sap/m/QuickViewGroup.js +1 -1
  178. package/src/sap/m/QuickViewGroupElement.js +1 -1
  179. package/src/sap/m/QuickViewPage.js +1 -1
  180. package/src/sap/m/RadioButton.js +1 -1
  181. package/src/sap/m/RadioButtonGroup.js +2 -1
  182. package/src/sap/m/RangeSlider.js +1 -1
  183. package/src/sap/m/RatingIndicator.js +1 -1
  184. package/src/sap/m/RatingIndicatorRenderer.js +3 -1
  185. package/src/sap/m/ResponsivePopover.js +1 -1
  186. package/src/sap/m/ResponsiveScale.js +1 -1
  187. package/src/sap/m/ScrollBar.js +1 -1
  188. package/src/sap/m/ScrollContainer.js +1 -1
  189. package/src/sap/m/SearchField.js +17 -7
  190. package/src/sap/m/SegmentedButton.js +9 -1
  191. package/src/sap/m/SegmentedButtonItem.js +1 -1
  192. package/src/sap/m/Select.js +1 -1
  193. package/src/sap/m/SelectDialog.js +1 -1
  194. package/src/sap/m/SelectDialogBase.js +1 -1
  195. package/src/sap/m/SelectList.js +1 -1
  196. package/src/sap/m/SelectionDetails.js +1 -1
  197. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  198. package/src/sap/m/SelectionDetailsItem.js +2 -2
  199. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  200. package/src/sap/m/Shell.js +4 -3
  201. package/src/sap/m/SimpleFixFlex.js +1 -1
  202. package/src/sap/m/SinglePlanningCalendar.js +84 -18
  203. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  204. package/src/sap/m/SinglePlanningCalendarGrid.js +196 -17
  205. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +32 -2
  206. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +191 -12
  207. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +25 -6
  208. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -1
  209. package/src/sap/m/SinglePlanningCalendarView.js +2 -2
  210. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -1
  211. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -1
  212. package/src/sap/m/SlideTile.js +1 -1
  213. package/src/sap/m/Slider.js +4 -4
  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/SplitContainer.js +1 -1
  220. package/src/sap/m/StandardDynamicDateOption.js +2 -3
  221. package/src/sap/m/StandardListItem.js +1 -1
  222. package/src/sap/m/StandardListItemRenderer.js +1 -1
  223. package/src/sap/m/StandardTile.js +4 -9
  224. package/src/sap/m/StandardTreeItem.js +1 -1
  225. package/src/sap/m/StepInput.js +1 -1
  226. package/src/sap/m/SuggestionItem.js +1 -1
  227. package/src/sap/m/SuggestionsPopover.js +1 -1
  228. package/src/sap/m/Switch.js +1 -1
  229. package/src/sap/m/TabContainer.js +1 -1
  230. package/src/sap/m/TabContainerItem.js +3 -6
  231. package/src/sap/m/TabStrip.js +1 -1
  232. package/src/sap/m/TabStripItem.js +3 -6
  233. package/src/sap/m/Table.js +5 -4
  234. package/src/sap/m/TablePersoController.js +1 -1
  235. package/src/sap/m/TablePersoDialog.js +1 -1
  236. package/src/sap/m/TablePersoProvider.js +1 -1
  237. package/src/sap/m/TableSelectDialog.js +1 -1
  238. package/src/sap/m/Text.js +1 -1
  239. package/src/sap/m/TextArea.js +1 -1
  240. package/src/sap/m/Tile.js +1 -1
  241. package/src/sap/m/TileContainer.js +1 -1
  242. package/src/sap/m/TileContent.js +8 -8
  243. package/src/sap/m/TileContentRenderer.js +1 -1
  244. package/src/sap/m/TimePicker.js +38 -8
  245. package/src/sap/m/TimePickerClock.js +1 -1
  246. package/src/sap/m/TimePickerClocks.js +4 -4
  247. package/src/sap/m/TimePickerClocksRenderer.js +7 -9
  248. package/src/sap/m/TimePickerInputs.js +10 -8
  249. package/src/sap/m/TimePickerInputsRenderer.js +7 -6
  250. package/src/sap/m/TimePickerInternals.js +15 -2
  251. package/src/sap/m/TimePickerRenderer.js +5 -1
  252. package/src/sap/m/TimePickerSlider.js +1 -1
  253. package/src/sap/m/TimePickerSliders.js +7 -5
  254. package/src/sap/m/Title.js +1 -1
  255. package/src/sap/m/TitlePropagationSupport.js +1 -1
  256. package/src/sap/m/TitleRenderer.js +1 -1
  257. package/src/sap/m/ToggleButton.js +1 -1
  258. package/src/sap/m/Token.js +1 -1
  259. package/src/sap/m/Tokenizer.js +19 -10
  260. package/src/sap/m/Toolbar.js +1 -1
  261. package/src/sap/m/ToolbarLayoutData.js +1 -1
  262. package/src/sap/m/ToolbarSeparator.js +1 -1
  263. package/src/sap/m/ToolbarSpacer.js +1 -1
  264. package/src/sap/m/Tree.js +7 -1
  265. package/src/sap/m/TreeItemBase.js +1 -1
  266. package/src/sap/m/UploadCollection.js +2 -1
  267. package/src/sap/m/UploadCollectionItem.js +1 -1
  268. package/src/sap/m/UploadCollectionParameter.js +1 -1
  269. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  270. package/src/sap/m/VBox.js +10 -1
  271. package/src/sap/m/ValueStateHeader.js +1 -1
  272. package/src/sap/m/VariantManagement.js +78 -83
  273. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  274. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  275. package/src/sap/m/ViewSettingsDialog.js +1 -1
  276. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  277. package/src/sap/m/ViewSettingsItem.js +1 -1
  278. package/src/sap/m/VisibleItem.js +1 -1
  279. package/src/sap/m/WheelSlider.js +1 -1
  280. package/src/sap/m/WheelSliderContainer.js +1 -1
  281. package/src/sap/m/Wizard.js +1 -1
  282. package/src/sap/m/WizardProgressNavigator.js +1 -1
  283. package/src/sap/m/WizardStep.js +1 -1
  284. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  285. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  286. package/src/sap/m/changeHandler/CombineButtons.js +1 -1
  287. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  288. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +1 -1
  289. package/src/sap/m/changeHandler/SplitMenuButton.js +1 -1
  290. package/src/sap/m/delegate/DateNavigation.js +1 -1
  291. package/src/sap/m/delegate/ValueStateMessage.js +15 -4
  292. package/src/sap/m/designtime/PersistenceProvider.designtime.js +21 -0
  293. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
  294. package/src/sap/m/designtime/messagebundle_uk.properties +2 -2
  295. package/src/sap/m/inputUtils/SuggestionsPopoverPopoverMixin.js +0 -2
  296. package/src/sap/m/library.js +46 -90
  297. package/src/sap/m/messagebundle.properties +51 -0
  298. package/src/sap/m/messagebundle_ar.properties +27 -3
  299. package/src/sap/m/messagebundle_bg.properties +49 -25
  300. package/src/sap/m/messagebundle_ca.properties +27 -3
  301. package/src/sap/m/messagebundle_cs.properties +28 -4
  302. package/src/sap/m/messagebundle_cy.properties +27 -3
  303. package/src/sap/m/messagebundle_da.properties +27 -3
  304. package/src/sap/m/messagebundle_de.properties +29 -5
  305. package/src/sap/m/messagebundle_el.properties +27 -3
  306. package/src/sap/m/messagebundle_en.properties +25 -1
  307. package/src/sap/m/messagebundle_en_GB.properties +25 -1
  308. package/src/sap/m/messagebundle_en_US_sappsd.properties +28 -0
  309. package/src/sap/m/messagebundle_en_US_saprigi.properties +24 -0
  310. package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -0
  311. package/src/sap/m/messagebundle_es.properties +27 -3
  312. package/src/sap/m/messagebundle_es_MX.properties +27 -3
  313. package/src/sap/m/messagebundle_et.properties +27 -3
  314. package/src/sap/m/messagebundle_fi.properties +27 -3
  315. package/src/sap/m/messagebundle_fr.properties +27 -3
  316. package/src/sap/m/messagebundle_fr_CA.properties +27 -3
  317. package/src/sap/m/messagebundle_hi.properties +27 -3
  318. package/src/sap/m/messagebundle_hr.properties +27 -3
  319. package/src/sap/m/messagebundle_hu.properties +27 -3
  320. package/src/sap/m/messagebundle_id.properties +27 -3
  321. package/src/sap/m/messagebundle_it.properties +30 -6
  322. package/src/sap/m/messagebundle_iw.properties +28 -4
  323. package/src/sap/m/messagebundle_ja.properties +27 -3
  324. package/src/sap/m/messagebundle_kk.properties +32 -8
  325. package/src/sap/m/messagebundle_ko.properties +27 -3
  326. package/src/sap/m/messagebundle_lt.properties +27 -3
  327. package/src/sap/m/messagebundle_lv.properties +27 -3
  328. package/src/sap/m/messagebundle_ms.properties +27 -3
  329. package/src/sap/m/messagebundle_nl.properties +27 -3
  330. package/src/sap/m/messagebundle_no.properties +27 -3
  331. package/src/sap/m/messagebundle_pl.properties +27 -3
  332. package/src/sap/m/messagebundle_pt.properties +27 -3
  333. package/src/sap/m/messagebundle_pt_PT.properties +27 -3
  334. package/src/sap/m/messagebundle_ro.properties +27 -3
  335. package/src/sap/m/messagebundle_ru.properties +27 -3
  336. package/src/sap/m/messagebundle_sh.properties +28 -4
  337. package/src/sap/m/messagebundle_sk.properties +27 -3
  338. package/src/sap/m/messagebundle_sl.properties +28 -4
  339. package/src/sap/m/messagebundle_sv.properties +27 -3
  340. package/src/sap/m/messagebundle_th.properties +27 -3
  341. package/src/sap/m/messagebundle_tr.properties +27 -3
  342. package/src/sap/m/messagebundle_uk.properties +31 -7
  343. package/src/sap/m/messagebundle_vi.properties +27 -3
  344. package/src/sap/m/messagebundle_zh_CN.properties +28 -4
  345. package/src/sap/m/messagebundle_zh_TW.properties +27 -3
  346. package/src/sap/m/p13n/AbstractContainer.js +2 -2
  347. package/src/sap/m/p13n/AbstractContainerItem.js +2 -2
  348. package/src/sap/m/p13n/BasePanel.js +113 -16
  349. package/src/sap/m/p13n/Container.js +38 -8
  350. package/src/sap/m/p13n/Engine.js +235 -186
  351. package/src/sap/m/p13n/GroupController.js +1 -1
  352. package/src/sap/m/p13n/GroupPanel.js +1 -1
  353. package/src/sap/m/p13n/PersistenceProvider.js +1 -1
  354. package/src/sap/m/p13n/Popup.js +8 -1
  355. package/src/sap/m/p13n/QueryPanel.js +7 -2
  356. package/src/sap/m/p13n/SelectionController.js +42 -22
  357. package/src/sap/m/p13n/SelectionPanel.js +1 -1
  358. package/src/sap/m/p13n/SortController.js +1 -1
  359. package/src/sap/m/p13n/SortPanel.js +1 -1
  360. package/src/sap/m/p13n/handler/xConfigHandler.js +38 -13
  361. package/src/sap/m/p13n/modification/FlexModificationHandler.js +46 -23
  362. package/src/sap/m/p13n/modification/ModificationHandler.js +2 -2
  363. package/src/sap/m/p13n/modules/DefaultProviderRegistry.js +1 -1
  364. package/src/sap/m/p13n/modules/StateHandlerRegistry.js +4 -4
  365. package/src/sap/m/p13n/modules/UIManager.js +22 -13
  366. package/src/sap/m/p13n/modules/xConfigAPI.js +4 -1
  367. package/src/sap/m/plugins/CellSelector.js +1 -1
  368. package/src/sap/m/plugins/ColumnResizer.js +10 -2
  369. package/src/sap/m/plugins/CopyProvider.js +122 -5
  370. package/src/sap/m/plugins/DataStateIndicator.js +15 -3
  371. package/src/sap/m/plugins/PasteProvider.js +1 -1
  372. package/src/sap/m/plugins/PluginBase.js +1 -1
  373. package/src/sap/m/semantic/AddAction.js +1 -1
  374. package/src/sap/m/semantic/CancelAction.js +1 -1
  375. package/src/sap/m/semantic/DeleteAction.js +1 -1
  376. package/src/sap/m/semantic/DetailPage.js +1 -1
  377. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  378. package/src/sap/m/semantic/EditAction.js +1 -1
  379. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  380. package/src/sap/m/semantic/FilterAction.js +1 -1
  381. package/src/sap/m/semantic/FilterSelect.js +1 -1
  382. package/src/sap/m/semantic/FlagAction.js +1 -1
  383. package/src/sap/m/semantic/ForwardAction.js +1 -1
  384. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  385. package/src/sap/m/semantic/GroupAction.js +1 -1
  386. package/src/sap/m/semantic/GroupSelect.js +1 -1
  387. package/src/sap/m/semantic/MainAction.js +1 -1
  388. package/src/sap/m/semantic/MasterPage.js +1 -1
  389. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  390. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  391. package/src/sap/m/semantic/NegativeAction.js +1 -1
  392. package/src/sap/m/semantic/OpenInAction.js +1 -1
  393. package/src/sap/m/semantic/PositiveAction.js +1 -1
  394. package/src/sap/m/semantic/PrintAction.js +1 -1
  395. package/src/sap/m/semantic/SaveAction.js +1 -1
  396. package/src/sap/m/semantic/Segment.js +1 -1
  397. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  398. package/src/sap/m/semantic/SemanticButton.js +1 -1
  399. package/src/sap/m/semantic/SemanticConfiguration.js +1 -1
  400. package/src/sap/m/semantic/SemanticControl.js +1 -1
  401. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  402. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +1 -1
  403. package/src/sap/m/semantic/SemanticPage.js +1 -1
  404. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  405. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  406. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  407. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  408. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  409. package/src/sap/m/semantic/ShareMenu.js +1 -1
  410. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  411. package/src/sap/m/semantic/SortAction.js +1 -1
  412. package/src/sap/m/semantic/SortSelect.js +1 -1
  413. package/src/sap/m/table/Util.js +57 -3
  414. package/src/sap/m/table/columnmenu/ActionItem.js +1 -1
  415. package/src/sap/m/table/columnmenu/Entry.js +1 -1
  416. package/src/sap/m/table/columnmenu/Item.js +1 -1
  417. package/src/sap/m/table/columnmenu/ItemBase.js +1 -1
  418. package/src/sap/m/table/columnmenu/Menu.js +36 -30
  419. package/src/sap/m/table/columnmenu/MenuRenderer.js +0 -6
  420. package/src/sap/m/table/columnmenu/QuickAction.js +1 -1
  421. package/src/sap/m/table/columnmenu/QuickActionBase.js +1 -1
  422. package/src/sap/m/table/columnmenu/QuickActionItem.js +1 -1
  423. package/src/sap/m/table/columnmenu/QuickGroup.js +1 -1
  424. package/src/sap/m/table/columnmenu/QuickGroupItem.js +1 -1
  425. package/src/sap/m/table/columnmenu/QuickSort.js +1 -1
  426. package/src/sap/m/table/columnmenu/QuickSortItem.js +1 -1
  427. package/src/sap/m/table/columnmenu/QuickTotal.js +1 -1
  428. package/src/sap/m/table/columnmenu/QuickTotalItem.js +1 -1
  429. package/src/sap/m/themes/base/Button.less +20 -7
  430. package/src/sap/m/themes/base/Carousel.less +0 -2
  431. package/src/sap/m/themes/base/FacetFilter.less +0 -4
  432. package/src/sap/m/themes/base/FeedInput.less +131 -113
  433. package/src/sap/m/themes/base/GenericTile.less +17 -2
  434. package/src/sap/m/themes/base/IllustratedMessage.less +1 -1
  435. package/src/sap/m/themes/base/Input.less +4 -0
  436. package/src/sap/m/themes/base/InputBase.less +27 -15
  437. package/src/sap/m/themes/base/MessageToast.less +7 -0
  438. package/src/sap/m/themes/base/ObjectHeader.less +20 -0
  439. package/src/sap/m/themes/base/Panel.less +1 -0
  440. package/src/sap/m/themes/base/PlanningCalendar.less +9 -0
  441. package/src/sap/m/themes/base/PlanningCalendarHeader.less +26 -1
  442. package/src/sap/m/themes/base/SelectionDetailsItem.less +1 -1
  443. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +75 -4
  444. package/src/sap/m/themes/base/SinglePlanningCalendarMonthGrid.less +38 -8
  445. package/src/sap/m/themes/base/StandardListItem.less +1 -0
  446. package/src/sap/m/themes/base/Table.less +0 -20
  447. package/src/sap/m/themes/base/TimePickerClocks.less +2 -1
  448. package/src/sap/m/themes/base/TimePickerInputs.less +2 -1
  449. package/src/sap/m/themes/base/Toolbar.less +3 -2
  450. package/src/sap/m/themes/base/UploadCollection.less +1 -0
  451. package/src/sap/m/themes/base/Wizard.less +5 -1
  452. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-NoColumnsSet.svg +35 -0
  453. package/src/sap/m/themes/base/illustrations/sapIllus-Dialog-Survey.svg +22 -0
  454. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-NoColumnsSet.svg +6 -0
  455. package/src/sap/m/themes/base/illustrations/sapIllus-Dot-Survey.svg +7 -0
  456. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-NoColumnsSet.svg +36 -0
  457. package/src/sap/m/themes/base/illustrations/sapIllus-Scene-Survey.svg +21 -0
  458. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-NoColumnsSet.svg +36 -0
  459. package/src/sap/m/themes/base/illustrations/sapIllus-Spot-Survey.svg +32 -0
  460. package/src/sap/m/upload/UploadSet.js +53 -27
  461. package/src/sap/m/upload/UploadSetItem.js +40 -26
  462. package/src/sap/m/upload/UploadSetToolbarPlaceholder.js +1 -1
  463. package/src/sap/m/CustomDynamicDateOption.js +0 -110
@@ -50,7 +50,7 @@ function(
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.112.2
53
+ * @version 1.114.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  * @extends sap.ui.core.Control
67
67
  *
68
68
  * @author SAP SE
69
- * @version 1.112.2
69
+ * @version 1.114.0
70
70
  *
71
71
  * @constructor
72
72
  * @public
@@ -8,13 +8,10 @@
8
8
  sap.ui.define(['sap/ui/core/Element',
9
9
  'sap/ui/core/IconPool',
10
10
  './TabStripItem',
11
- './library'],
12
- function(Element, IconPool, TabStripItem, library) {
11
+ 'sap/m/ImageHelper'],
12
+ function(Element, IconPool, TabStripItem, ImageHelper) {
13
13
  "use strict";
14
14
 
15
- // shortcut for sap.m.ImageHelper
16
- var ImageHelper = library.ImageHelper;
17
-
18
15
  /**
19
16
  * Constructor for a new <code>TabContainerItem</code>.
20
17
  *
@@ -26,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element',
26
23
  * @extends sap.ui.core.Element
27
24
  *
28
25
  * @author SAP SE
29
- * @version 1.112.2
26
+ * @version 1.114.0
30
27
  *
31
28
  * @constructor
32
29
  * @public
@@ -74,7 +74,7 @@ function(
74
74
  * space is exceeded, a horizontal scrollbar appears.
75
75
  *
76
76
  * @extends sap.ui.core.Control
77
- * @version 1.112.2
77
+ * @version 1.114.0
78
78
  *
79
79
  * @constructor
80
80
  * @private
@@ -4,16 +4,13 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  // Provides control sap.m.TabStripItem.
7
- sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sap/ui/core/IconPool", "./AccButton"],
8
- function(library, Item, ManagedObject, IconPool, AccButton) {
7
+ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sap/ui/core/IconPool", "./AccButton", "sap/m/ImageHelper"],
8
+ function(library, Item, ManagedObject, IconPool, AccButton, ImageHelper) {
9
9
  "use strict";
10
10
 
11
11
  // shortcut for sap.m.ButtonType
12
12
  var ButtonType = library.ButtonType;
13
13
 
14
- // shortcut for sap.m.ImageHelper
15
- var ImageHelper = library.ImageHelper;
16
-
17
14
  /**
18
15
  * Constructor for a new <code>TabStripItem</code>.
19
16
  *
@@ -25,7 +22,7 @@ sap.ui.define(["./library", "sap/ui/core/Item", "sap/ui/base/ManagedObject", "sa
25
22
  * @extends sap.ui.core.Item
26
23
  *
27
24
  * @author SAP SE
28
- * @version 1.112.2
25
+ * @version 1.114.0
29
26
  *
30
27
  * @constructor
31
28
  * @private
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.m.ListBase
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.112.2
68
+ * @version 1.114.0
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -931,7 +931,8 @@ sap.ui.define([
931
931
  if (!this._selectAllCheckBox) {
932
932
  this._selectAllCheckBox = new CheckBox({
933
933
  id: this.getId("sa"),
934
- activeHandling: false
934
+ activeHandling: false,
935
+ tooltip: Core.getLibraryResourceBundle("sap.m").getText("TABLE_SELECT_ALL_TOOLTIP")
935
936
  }).addStyleClass("sapMLIBSelectM").setParent(this, null, true).attachSelect(function () {
936
937
  if (this._selectAllCheckBox.getSelected()) {
937
938
  this.selectAll(true);
@@ -1171,8 +1172,8 @@ sap.ui.define([
1171
1172
  /**
1172
1173
  * Sets the focus on the stored focus DOM reference.
1173
1174
  *
1174
- * If {@param oFocusInfo.targetInfo} is of type {@type sap.ui.core.message.Message},
1175
- * the focus will be set as accurately as possible according to the information provided by {@type sap.ui.core.message.Message}.
1175
+ * If <code>oFocusInfo.targetInfo</code> is of type {@link sap.ui.core.message.Message},
1176
+ * the focus will be set as accurately as possible according to the information provided by {@link sap.ui.core.message.Message}.
1176
1177
  *
1177
1178
  * @param {object} [oFocusInfo={}] Options for setting the focus
1178
1179
  * @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 If set to <code>true</code>, the focused
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @class Table Personalization Controller
40
40
  * @extends sap.ui.base.ManagedObject
41
41
  * @author SAP
42
- * @version 1.112.2
42
+ * @version 1.114.0
43
43
  * @alias sap.m.TablePersoController
44
44
  */
45
45
  var TablePersoController = ManagedObject.extend("sap.m.TablePersoController", /** @lends sap.m.TablePersoController.prototype */
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  * @class Table Personalization Dialog
92
92
  * @extends sap.ui.base.ManagedObject
93
93
  * @author SAP
94
- * @version 1.112.2
94
+ * @version 1.114.0
95
95
  * @alias sap.m.TablePersoDialog
96
96
  */
97
97
  var TablePersoDialog = ManagedObject.extend("sap.m.TablePersoDialog", /** @lends sap.m.TablePersoDialog.prototype */
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/ManagedObject', "sap/base/Log"],
21
21
  * @extends sap.ui.base.ManagedObject
22
22
  * @abstract
23
23
  * @author SAP
24
- * @version 1.112.2
24
+ * @version 1.114.0
25
25
  * @alias sap.m.TablePersoProvider
26
26
  */
27
27
  var TablePersoProvider = ManagedObject.extend("sap.m.TablePersoProvider", /** @lends sap.m.TablePersoProvider.prototype */
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * When using the <code>sap.m.TableSelectDialog</code> in SAP Quartz and Horizon themes, the breakpoints and layout paddings could be determined by the dialog's width. To enable this concept and add responsive paddings to an element of the control, you have to add the following classes depending on your use case: <code>sapUiResponsivePadding--header</code>, <code>sapUiResponsivePadding--subHeader</code>, <code>sapUiResponsivePadding--content</code>, <code>sapUiResponsivePadding--footer</code>.
111
111
  * @extends sap.m.SelectDialogBase
112
112
  * @author SAP SE
113
- * @version 1.112.2
113
+ * @version 1.114.0
114
114
  *
115
115
  * @constructor
116
116
  * @public
package/src/sap/m/Text.js CHANGED
@@ -54,7 +54,7 @@ function(library, Core, Control, coreLibrary, Device, HyphenationSupport, TextRe
54
54
  * @implements sap.ui.core.IShrinkable, sap.ui.core.IFormContent, sap.ui.core.ISemanticFormContent
55
55
  *
56
56
  * @author SAP SE
57
- * @version 1.112.2
57
+ * @version 1.114.0
58
58
  *
59
59
  * @constructor
60
60
  * @public
@@ -84,7 +84,7 @@ function(
84
84
  * @extends sap.m.InputBase
85
85
  *
86
86
  * @author SAP SE
87
- * @version 1.112.2
87
+ * @version 1.114.0
88
88
  *
89
89
  * @constructor
90
90
  * @public
package/src/sap/m/Tile.js CHANGED
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.core.Control
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.112.2
38
+ * @version 1.114.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -46,7 +46,7 @@ function(
46
46
  * @extends sap.ui.core.Control
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.112.2
49
+ * @version 1.114.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.112.2
27
+ * @version 1.114.0
28
28
  * @since 1.34.0
29
29
  *
30
30
  * @public
@@ -101,21 +101,21 @@ sap.ui.define(['./library', 'sap/ui/core/library', 'sap/ui/core/Control', './Til
101
101
  if (sState && !this._bStateSetManually) {
102
102
  if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
103
103
  if (this.getParent().getState() === LoadState.Failed) {
104
- this.setProperty("state", LoadState.Loaded, true);
104
+ this.setState(LoadState.Loaded);
105
105
  } else if (this.getParent().getState() === LoadState.Disabled) {
106
- this.setProperty("state", LoadState.Loaded, true);
107
- this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
106
+ this.setState(LoadState.Loaded);
107
+ this.setDisabled(this.getState() === LoadState.Disabled);
108
108
  }
109
109
  }
110
110
  } else {
111
111
  if (this.getParent() && this.getParent().isA("sap.m.GenericTile")) {
112
112
  if (this.getParent().getState() === LoadState.Failed) {
113
- this.setProperty("state", LoadState.Loaded, true);
113
+ this.setState(LoadState.Loaded);
114
114
  } else if (this.getParent().getState() === LoadState.Disabled) {
115
- this.setProperty("state", LoadState.Loaded, true);
116
- this.setProperty("disabled", this.getState() === LoadState.Disabled, true);
115
+ this.setState(LoadState.Loaded);
116
+ this.setDisabled(this.getState() === LoadState.Disabled);
117
117
  } else {
118
- this.setProperty("state", this.getParent().getState(), true);
118
+ this.setState(this.getParent().getState());
119
119
  }
120
120
  }
121
121
  this._bStateSetManually = true;
@@ -142,7 +142,7 @@ sap.ui.define(["./library", "sap/base/security/encodeCSS", "sap/m/GenericTile"],
142
142
  oRm.close("div");
143
143
  }
144
144
  if (oContent.isA("sap.m.Text") && bIsActionMode && (oControl.getFrameType() === FrameType.TwoByOne || oControl.getFrameType() === FrameType.Auto)) {
145
- oContent.setProperty("maxLines", iMaxLines,true);
145
+ oContent.setMaxLines(iMaxLines);
146
146
  }
147
147
  oRm.openStart("div", oControl.getId() + "-content");
148
148
  oRm.class("sapMTileCntContent");
@@ -97,16 +97,46 @@ function(
97
97
  *
98
98
  * On app level, there are two options to provide value for the
99
99
  * <code>TimePicker</code> - as a string to the <code>value</code> property or as a
100
- * JavaScript Date object to the <code>dateValue</code> property (only one of these
100
+ * UI5Date or JavaScript Date object to the <code>dateValue</code> property (only one of these
101
101
  * properties should be used at a time):
102
102
  *
103
103
  * <ul><li>Use the <code>value</code> property if you want to bind the
104
104
  * <code>TimePicker</code> to a model using the
105
105
  * <code>sap.ui.model.type.Time</code></li>
106
+ * @example <caption> binding the <code>value</code> property by using types </caption>
107
+ * new sap.ui.model.json.JSONModel({date: sap.ui.core.date.UI5Date.getInstance(2022,10,10,10,15,10)});
108
+ *
109
+ * new sap.m.TimePicker({
110
+ * value: {
111
+ * type: "sap.ui.model.type.Time",
112
+ * path:"/date"
113
+ * }
114
+ * });
115
+ *
106
116
  * <li>Use the <code>value</code> property if the date is provided as a string from
107
117
  * the backend or inside the app (for example, as ABAP type DATS field)</li>
118
+ * @example <caption> binding the <code>value</code> property by using types </caption>
119
+ * new sap.ui.model.json.JSONModel({date:"10:15:10"});
120
+ * new sap.m.TimePicker({
121
+ * value: {
122
+ * type: "sap.ui.model.type.Time",
123
+ * path: "/date",
124
+ * formatOptions: {
125
+ * source: {
126
+ * pattern: "HH:mm:ss"
127
+ * }
128
+ * }
129
+ * }
130
+ * });
131
+ *
132
+ * <b>Note:</b> There are multiple binding type choices, such as:
133
+ * sap.ui.model.type.Date
134
+ * sap.ui.model.odata.type.DateTime
135
+ * sap.ui.model.odata.type.DateTimeOffset
136
+ * See {@link sap.ui.model.type.Date}, {@link sap.ui.model.odata.type.DateTime} or {@link sap.ui.model.odata.type.DateTimeOffset}
137
+ *
108
138
  * <li>Use the <code>dateValue</code> property if the date is already provided as a
109
- * JavaScript Date object or you want to work with a JavaScript Date object.
139
+ * UI5Date or JavaScript Date object or you want to work with a UI5Date or JavaScript Date object.
110
140
  * Use <code>dateValue</code> as a helper property to easily obtain the hours, minutes and seconds
111
141
  * of the chosen time. Although possible to bind it, the recommendation is to not to do it.
112
142
  * When binding is needed, use <code>value</code> property instead</li></ul>
@@ -144,7 +174,7 @@ function(
144
174
  * @extends sap.m.DateTimeField
145
175
  *
146
176
  * @author SAP SE
147
- * @version 1.112.2
177
+ * @version 1.114.0
148
178
  *
149
179
  * @constructor
150
180
  * @public
@@ -350,13 +380,13 @@ function(
350
380
  */
351
381
 
352
382
  /**
353
- * Holds a reference to a JavaScript Date Object. The <code>value</code> (string)
383
+ * Holds a reference to a UI5Date or JavaScript Date object. The <code>value</code> (string)
354
384
  * property will be set according to it. Alternatively, if the <code>value</code>
355
385
  * and <code>valueFormat</code> pair properties are supplied instead,
356
386
  * the <code>dateValue</code> will be instantiated according to the parsed
357
387
  * <code>value</code>.
358
388
  *
359
- * @returns {Date} the value of property <code>dateValue</code>
389
+ * @returns {Date|module:sap/ui/core/date/UI5Date} the value of property <code>dateValue</code>
360
390
  * @public
361
391
  * @name sap.m.TimePicker#getDateValue
362
392
  * @function
@@ -863,7 +893,7 @@ function(
863
893
  /**
864
894
  * Handles data validation.
865
895
  *
866
- * @param {Date} oDate JavaScript date object
896
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate date instance
867
897
  * @private
868
898
  */
869
899
  TimePicker.prototype._handleDateValidation = function (oDate) {
@@ -1053,7 +1083,7 @@ function(
1053
1083
  * Sets the value of the date.
1054
1084
  *
1055
1085
  * @public
1056
- * @param {Date} oDate A JavaScript date
1086
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
1057
1087
  * @returns {this} Reference to <code>this</code> for method chaining
1058
1088
  */
1059
1089
  TimePicker.prototype.setDateValue = function(oDate) {
@@ -1742,7 +1772,7 @@ function(
1742
1772
  *
1743
1773
  * If bValueFormat is set, it converts it to the <code>valueFormat</code>.
1744
1774
  *
1745
- * @param {Date} oDate A JavaScript date object
1775
+ * @param {Date|module:sap/ui/core/date/UI5Date} oDate A date instance
1746
1776
  * @param {boolean} bValueFormat Defines whether the result is in <code>valueFormat</code> or <code>displayFormat</code>
1747
1777
  * @returns {string} Formatted value
1748
1778
  * @private
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.112.2
32
+ * @version 1.114.0
33
33
  *
34
34
  * @constructor
35
35
  * @private
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.core.Control
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.112.2
55
+ * @version 1.114.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -470,7 +470,7 @@ sap.ui.define([
470
470
  /**
471
471
  * Gets the time values from the clocks, as a date object.
472
472
  *
473
- * @returns {Date} A JavaScript date object
473
+ * @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
474
474
  * @public
475
475
  */
476
476
  TimePickerClocks.prototype.getTimeValues = function() {
@@ -703,7 +703,7 @@ sap.ui.define([
703
703
  /**
704
704
  * Set what clocks show.
705
705
  *
706
- * @param {object} oDate JavaScript date object
706
+ * @param {object} oDate date instance
707
707
  * @param {boolean} bHoursValueIs24 whether the hours value is 24 or not
708
708
  * @private
709
709
  */
@@ -723,7 +723,7 @@ sap.ui.define([
723
723
  // Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
724
724
  // because Date object in the test is different than the Date object in the application (due to the iframe).
725
725
  if (Object.prototype.toString.call(oDate) !== "[object Date]" || isNaN(oDate)) {
726
- throw new Error("Date must be a JavaScript date object; " + this);
726
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
727
727
  }
728
728
 
729
729
  if (!bHoursValueIs24) {
@@ -45,7 +45,6 @@ sap.ui.define([], function() {
45
45
  oSegButton = oControl.getAggregation("_buttonAmPm"),
46
46
  aSeparators = oControl._getTimeSeparators(oControl._getDisplayFormatPattern()),
47
47
  sSeparator,
48
- iSepearatorsIndex,
49
48
  iIndex;
50
49
 
51
50
  if (aButtons) {
@@ -58,14 +57,12 @@ sap.ui.define([], function() {
58
57
  oRm.attr("dir", "ltr");
59
58
  oRm.openEnd();
60
59
 
61
- // render buttons
62
- for (iIndex = 0; iIndex < aButtons.length; iIndex++) {
63
- oRm.renderControl(aButtons[iIndex]);
64
- if (iIndex < aButtons.length - 1) {
65
- iSepearatorsIndex = aSeparators.length - (aButtons.length - 1) + iIndex;
66
- sSeparator = aSeparators[iSepearatorsIndex];
67
- if (!sSeparator) {
68
- sSeparator = " ";
60
+ // render buttons and separators
61
+ for (iIndex = 0; iIndex < aSeparators.length; iIndex++) {
62
+ if (iIndex > 0 || aSeparators[iIndex] !== "") {
63
+ sSeparator = aSeparators[iIndex];
64
+ if (sSeparator === undefined) {
65
+ sSeparator = "";
69
66
  }
70
67
  oRm.openStart("span");
71
68
  oRm.attr("aria-hidden", "true");
@@ -73,6 +70,7 @@ sap.ui.define([], function() {
73
70
  oRm.text(sSeparator);
74
71
  oRm.close("span");
75
72
  }
73
+ aButtons[iIndex] && oRm.renderControl(aButtons[iIndex]);
76
74
  }
77
75
 
78
76
  oRm.renderControl(oControl._getCurrentTimeButton());
@@ -16,7 +16,8 @@ sap.ui.define([
16
16
  "sap/ui/core/InvisibleText",
17
17
  "sap/ui/events/KeyCodes",
18
18
  "./TimePickerInputsRenderer",
19
- "sap/ui/thirdparty/jquery"
19
+ "sap/ui/thirdparty/jquery",
20
+ 'sap/ui/core/date/UI5Date'
20
21
  ],
21
22
  function(
22
23
  library,
@@ -30,7 +31,8 @@ sap.ui.define([
30
31
  InvisibleText,
31
32
  KeyCodes,
32
33
  TimePickerInputsRenderer,
33
- jQuery
34
+ jQuery,
35
+ UI5Date
34
36
  ) {
35
37
  "use strict";
36
38
 
@@ -49,7 +51,7 @@ sap.ui.define([
49
51
  * @extends sap.ui.core.Control
50
52
  *
51
53
  * @author SAP SE
52
- * @version 1.112.2
54
+ * @version 1.114.0
53
55
  *
54
56
  * @constructor
55
57
  * @public
@@ -332,7 +334,7 @@ sap.ui.define([
332
334
  /**
333
335
  * Gets the time values from the clocks, as a date object.
334
336
  *
335
- * @returns {Date} A JavaScript date object
337
+ * @returns {Date|module:sap/ui/core/date/UI5Date} A date instance
336
338
  * @public
337
339
  */
338
340
  TimePickerInputs.prototype.getTimeValues = function() {
@@ -342,7 +344,7 @@ sap.ui.define([
342
344
  oFormatButton = this._getFormatButton(),
343
345
  iHours = null,
344
346
  sAmpm = null,
345
- oDateValue = new Date();
347
+ oDateValue = UI5Date.getInstance();
346
348
 
347
349
  if (oHoursInput) {
348
350
  iHours = parseInt(oHoursInput.getValue());
@@ -404,7 +406,7 @@ sap.ui.define([
404
406
  /**
405
407
  * Set what inputs show.
406
408
  *
407
- * @param {object} oDate JavaScript date object
409
+ * @param {object} oDate date instance
408
410
  * @param {boolean} bHoursValueIs24 whether the hours value is 24 or not
409
411
  * @private
410
412
  */
@@ -417,12 +419,12 @@ sap.ui.define([
417
419
  iHours,
418
420
  sAmPm = null;
419
421
 
420
- oDate = oDate || new Date();
422
+ oDate = oDate || UI5Date.getInstance();
421
423
 
422
424
  // Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
423
425
  // because Date object in the test is different than the Date object in the application (due to the iframe).
424
426
  if (Object.prototype.toString.call(oDate) !== "[object Date]" || isNaN(oDate)) {
425
- throw new Error("Date must be a JavaScript date object; " + this);
427
+ throw new Error("Date must be a JavaScript or UI5Date date object; " + this);
426
428
  }
427
429
 
428
430
  if (!bHoursValueIs24) {
@@ -39,12 +39,12 @@ sap.ui.define([], function() {
39
39
  oRm.attr("aria-roledescription", oControl._getAriaRoleDescription());
40
40
  oRm.openEnd();
41
41
 
42
- for (iIndex = 0; iIndex < aControls.length; iIndex++) {
43
- oRm.renderControl(aControls[iIndex]);
44
- if (iIndex < aControls.length - 1) {
45
- sSeparator = aSeparators.shift();
46
- if (!sSeparator) {
47
- sSeparator = " ";
42
+ // render buttons and separators
43
+ for (iIndex = 0; iIndex < aSeparators.length; iIndex++) {
44
+ if (iIndex > 0 || aSeparators[iIndex] !== "") {
45
+ sSeparator = aSeparators[iIndex];
46
+ if (sSeparator === undefined) {
47
+ sSeparator = "";
48
48
  }
49
49
  oRm.openStart("span");
50
50
  oRm.attr("aria-hidden", "true");
@@ -52,6 +52,7 @@ sap.ui.define([], function() {
52
52
  oRm.text(sSeparator);
53
53
  oRm.close("span");
54
54
  }
55
+ aControls[iIndex] && oRm.renderControl(aControls[iIndex]);
55
56
  }
56
57
 
57
58
  oRm.renderControl(oControl._getCurrentTimeButton());
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.Control
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.112.2
52
+ * @version 1.114.0
53
53
  *
54
54
  * @constructor
55
55
  * @private
@@ -439,11 +439,22 @@ sap.ui.define([
439
439
  TimePickerInternals.prototype._getTimeSeparators = function (sDisplayFormat) {
440
440
  var aFormatParts = DateFormat.getInstance({ pattern: sDisplayFormat }).aFormatArray,
441
441
  aSeparators = [],
442
+ bAmPmMarker,
442
443
  bPreviousWasEntity,
443
444
  iIndex;
444
445
 
446
+ if (!aFormatParts.length) {
447
+ return aSeparators;
448
+ }
449
+
450
+ if (aFormatParts[0].type !== 'text') {
451
+ aSeparators.push("");
452
+ }
453
+
445
454
  for (iIndex = 0; iIndex < aFormatParts.length; iIndex++) {
446
- if (aFormatParts[iIndex].type !== "text") {
455
+ if (aFormatParts[iIndex].type === 'amPmMarker') {
456
+ bAmPmMarker = true;
457
+ } else if (aFormatParts[iIndex].type !== "text") {
447
458
  if (bPreviousWasEntity) {
448
459
  // there was previous non-separator entity, and this one is the same too, so add empty separator
449
460
  aSeparators.push("");
@@ -458,6 +469,8 @@ sap.ui.define([
458
469
  }
459
470
  }
460
471
 
472
+ bAmPmMarker && aSeparators.push("");
473
+
461
474
  return aSeparators;
462
475
  };
463
476
 
@@ -44,7 +44,11 @@ sap.ui.define(['sap/ui/core/Renderer', './DateTimeFieldRenderer', 'sap/ui/core/l
44
44
  * @param {sap.m.TimePicker} oControl An object representation of the control that should be rendered
45
45
  */
46
46
  TimePickerRenderer.writeInnerValue = function(oRm, oControl) {
47
- oRm.attr("value", oControl._formatValue(oControl.getDateValue()));
47
+ if (oControl._inPreferredUserInteraction()) {
48
+ oRm.attr("value", oControl._$input.val());
49
+ } else {
50
+ oRm.attr("value", oControl._formatValue(oControl.getDateValue()));
51
+ }
48
52
  };
49
53
 
50
54
  /**
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Control
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.112.2
31
+ * @version 1.114.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -17,7 +17,8 @@ sap.ui.define([
17
17
  'sap/ui/Device',
18
18
  'sap/ui/core/Locale',
19
19
  "sap/ui/thirdparty/jquery",
20
- "sap/ui/core/Configuration"
20
+ "sap/ui/core/Configuration",
21
+ 'sap/ui/core/date/UI5Date'
21
22
  ],
22
23
  function(
23
24
  coreLibrary,
@@ -32,7 +33,8 @@ sap.ui.define([
32
33
  Device,
33
34
  Locale,
34
35
  jQuery,
35
- Configuration
36
+ Configuration,
37
+ UI5Date
36
38
  ) {
37
39
  "use strict";
38
40
 
@@ -50,7 +52,7 @@ sap.ui.define([
50
52
  * @extends sap.ui.core.Control
51
53
  *
52
54
  * @author SAP SE
53
- * @version 1.112.2
55
+ * @version 1.114.0
54
56
  *
55
57
  * @constructor
56
58
  * @public
@@ -356,7 +358,7 @@ sap.ui.define([
356
358
  oFormatSlider = this._getFormatSlider(),
357
359
  iHours = null,
358
360
  sAmpm = null,
359
- oDateValue = new Date();
361
+ oDateValue = UI5Date.getInstance();
360
362
 
361
363
  if (oHoursSlider) {
362
364
  iHours = parseInt(oHoursSlider.getSelectedValue());
@@ -442,7 +444,7 @@ sap.ui.define([
442
444
  iHours,
443
445
  sAmPm = null;
444
446
 
445
- oDate = oDate || new Date();
447
+ oDate = oDate || UI5Date.getInstance();
446
448
 
447
449
  // Cross frame check for a date should be performed here otherwise setDateValue would fail in OPA tests
448
450
  // because Date object in the test is different than the Date object in the application (due to the iframe).
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @implements sap.ui.core.IShrinkable
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.112.2
76
+ * @version 1.114.0
77
77
  * @since 1.27.0
78
78
  *
79
79
  * @constructor
@@ -51,7 +51,7 @@ sap.ui.define(["sap/ui/core/Configuration"],
51
51
  * style class support on existing elements by calling this function.
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.112.2
54
+ * @version 1.114.0
55
55
  *
56
56
  * @param {string} sAggregationName the name of the aggregation which should be affected
57
57
  * @param {object} fnGetTitleID function that would return the ID of the title