@openui5/sap.m 1.93.3 → 1.96.2

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 (485) hide show
  1. package/.reuse/dep5 +6 -11
  2. package/THIRDPARTY.txt +10 -16
  3. package/package.json +4 -4
  4. package/src/sap/m/.library +1 -1
  5. package/src/sap/m/AccButton.js +1 -1
  6. package/src/sap/m/ActionListItem.js +1 -1
  7. package/src/sap/m/ActionSelect.js +1 -1
  8. package/src/sap/m/ActionSheet.js +1 -1
  9. package/src/sap/m/App.js +5 -1
  10. package/src/sap/m/AssociativeOverflowToolbar.js +1 -1
  11. package/src/sap/m/Avatar.js +1 -4
  12. package/src/sap/m/Bar.js +13 -7
  13. package/src/sap/m/Breadcrumbs.js +2 -2
  14. package/src/sap/m/BusyDialog.js +1 -1
  15. package/src/sap/m/BusyIndicator.js +1 -1
  16. package/src/sap/m/Button.js +34 -1
  17. package/src/sap/m/Carousel.js +11 -3
  18. package/src/sap/m/CarouselLayout.js +1 -1
  19. package/src/sap/m/CheckBox.js +1 -1
  20. package/src/sap/m/CheckBoxRenderer.js +12 -3
  21. package/src/sap/m/ColorPalette.js +7 -11
  22. package/src/sap/m/ColorPalettePopover.js +1 -6
  23. package/src/sap/m/Column.js +5 -1
  24. package/src/sap/m/ColumnHeaderPopover.js +1 -1
  25. package/src/sap/m/ColumnListItem.js +1 -1
  26. package/src/sap/m/ColumnPopoverActionItem.js +1 -1
  27. package/src/sap/m/ColumnPopoverCustomItem.js +1 -1
  28. package/src/sap/m/ColumnPopoverItem.js +1 -1
  29. package/src/sap/m/ColumnPopoverSelectListItem.js +1 -1
  30. package/src/sap/m/ColumnPopoverSortItem.js +1 -1
  31. package/src/sap/m/ComboBox.js +1 -1
  32. package/src/sap/m/ComboBoxBase.js +5 -2
  33. package/src/sap/m/ComboBoxRenderer.js +25 -9
  34. package/src/sap/m/ComboBoxTextField.js +1 -1
  35. package/src/sap/m/CustomDynamicDateOption.js +14 -2
  36. package/src/sap/m/CustomListItem.js +1 -1
  37. package/src/sap/m/CustomTile.js +1 -1
  38. package/src/sap/m/CustomTreeItem.js +1 -1
  39. package/src/sap/m/DatePicker.js +33 -11
  40. package/src/sap/m/DatePickerRenderer.js +1 -1
  41. package/src/sap/m/DateRangeSelection.js +6 -9
  42. package/src/sap/m/DateTimeField.js +1 -1
  43. package/src/sap/m/DateTimeInput.js +1 -1
  44. package/src/sap/m/DateTimePicker.js +6 -9
  45. package/src/sap/m/Dialog.js +44 -127
  46. package/src/sap/m/DialogRenderer.js +1 -1
  47. package/src/sap/m/DisplayListItem.js +1 -1
  48. package/src/sap/m/DraftIndicator.js +1 -1
  49. package/src/sap/m/DynamicDate.js +15 -6
  50. package/src/sap/m/DynamicDateOption.js +58 -17
  51. package/src/sap/m/DynamicDateRange.js +47 -10
  52. package/src/sap/m/DynamicDateUtil.js +6 -3
  53. package/src/sap/m/DynamicDateValueHelpUIType.js +1 -1
  54. package/src/sap/m/ExpandableText.js +1 -1
  55. package/src/sap/m/FacetFilter.js +47 -16
  56. package/src/sap/m/FacetFilterItem.js +1 -1
  57. package/src/sap/m/FacetFilterList.js +1 -1
  58. package/src/sap/m/FeedContent.js +1 -1
  59. package/src/sap/m/FeedInput.js +1 -1
  60. package/src/sap/m/FeedListItem.js +1 -1
  61. package/src/sap/m/FeedListItemAction.js +1 -1
  62. package/src/sap/m/Fiori20Adapter.js +2 -2
  63. package/src/sap/m/FlexBox.js +1 -1
  64. package/src/sap/m/FlexItemData.js +1 -1
  65. package/src/sap/m/FormattedText.js +1 -1
  66. package/src/sap/m/GenericTag.js +1 -1
  67. package/src/sap/m/GenericTile.js +265 -53
  68. package/src/sap/m/GenericTileRenderer.js +228 -84
  69. package/src/sap/m/GroupHeaderListItem.js +1 -1
  70. package/src/sap/m/GrowingList.js +1 -1
  71. package/src/sap/m/HBox.js +1 -1
  72. package/src/sap/m/HeaderContainer.js +53 -1
  73. package/src/sap/m/HeaderContainerItemNavigator.js +1 -1
  74. package/src/sap/m/IconTabBar.js +8 -1
  75. package/src/sap/m/IconTabBarSelectList.js +1 -1
  76. package/src/sap/m/IconTabFilter.js +8 -6
  77. package/src/sap/m/IconTabFilterExpandButtonBadge.js +1 -1
  78. package/src/sap/m/IconTabHeader.js +16 -4
  79. package/src/sap/m/IconTabSeparator.js +1 -1
  80. package/src/sap/m/Image.js +1 -1
  81. package/src/sap/m/ImageContent.js +1 -1
  82. package/src/sap/m/Input.js +125 -28
  83. package/src/sap/m/InputBase.js +104 -17
  84. package/src/sap/m/InputBaseRenderer.js +8 -20
  85. package/src/sap/m/InputListItem.js +1 -1
  86. package/src/sap/m/Label.js +1 -1
  87. package/src/sap/m/LightBox.js +2 -2
  88. package/src/sap/m/LightBoxItem.js +1 -1
  89. package/src/sap/m/Link.js +1 -1
  90. package/src/sap/m/List.js +1 -1
  91. package/src/sap/m/ListBase.js +12 -5
  92. package/src/sap/m/ListItemBase.js +16 -16
  93. package/src/sap/m/MaskEnabler.js +106 -4
  94. package/src/sap/m/MaskInput.js +19 -4
  95. package/src/sap/m/MaskInputRule.js +1 -1
  96. package/src/sap/m/Menu.js +8 -6
  97. package/src/sap/m/MenuButton.js +20 -3
  98. package/src/sap/m/MenuButtonRenderer.js +1 -0
  99. package/src/sap/m/MenuItem.js +1 -1
  100. package/src/sap/m/MenuListItem.js +1 -1
  101. package/src/sap/m/MessageBox.js +1 -1
  102. package/src/sap/m/MessageItem.js +1 -1
  103. package/src/sap/m/MessageListItem.js +1 -1
  104. package/src/sap/m/MessagePage.js +1 -1
  105. package/src/sap/m/MessagePopover.js +1 -1
  106. package/src/sap/m/MessagePopoverItem.js +1 -1
  107. package/src/sap/m/MessageStrip.js +7 -3
  108. package/src/sap/m/MessageStripRenderer.js +2 -2
  109. package/src/sap/m/MessageToast.js +1 -1
  110. package/src/sap/m/MessageView.js +5 -5
  111. package/src/sap/m/MultiComboBox.js +343 -114
  112. package/src/sap/m/MultiEditField.js +1 -1
  113. package/src/sap/m/MultiInput.js +82 -7
  114. package/src/sap/m/NavContainer.js +24 -7
  115. package/src/sap/m/NewsContent.js +19 -10
  116. package/src/sap/m/NewsContentRenderer.js +1 -2
  117. package/src/sap/m/NotificationList.js +1 -1
  118. package/src/sap/m/NotificationListBase.js +1 -1
  119. package/src/sap/m/NotificationListGroup.js +1 -1
  120. package/src/sap/m/NotificationListItem.js +1 -1
  121. package/src/sap/m/NumericContent.js +1 -1
  122. package/src/sap/m/NumericContentRenderer.js +34 -17
  123. package/src/sap/m/ObjectAttribute.js +46 -5
  124. package/src/sap/m/ObjectHeader.js +3 -3
  125. package/src/sap/m/ObjectHeaderRenderer.js +6 -7
  126. package/src/sap/m/ObjectIdentifier.js +1 -1
  127. package/src/sap/m/ObjectListItem.js +1 -1
  128. package/src/sap/m/ObjectMarker.js +1 -1
  129. package/src/sap/m/ObjectNumber.js +13 -1
  130. package/src/sap/m/ObjectStatus.js +1 -1
  131. package/src/sap/m/ObjectStatusRenderer.js +4 -1
  132. package/src/sap/m/OverflowToolbar.js +1 -1
  133. package/src/sap/m/OverflowToolbarAssociativePopover.js +1 -1
  134. package/src/sap/m/OverflowToolbarButton.js +4 -2
  135. package/src/sap/m/OverflowToolbarLayoutData.js +1 -1
  136. package/src/sap/m/OverflowToolbarToggleButton.js +1 -1
  137. package/src/sap/m/P13nAnyFilterItem.js +1 -1
  138. package/src/sap/m/P13nColumnsItem.js +1 -1
  139. package/src/sap/m/P13nColumnsPanel.js +3 -3
  140. package/src/sap/m/P13nConditionPanel.js +23 -53
  141. package/src/sap/m/P13nDialog.js +1 -1
  142. package/src/sap/m/P13nDimMeasureItem.js +1 -1
  143. package/src/sap/m/P13nDimMeasurePanel.js +3 -3
  144. package/src/sap/m/P13nFilterItem.js +1 -1
  145. package/src/sap/m/P13nFilterPanel.js +1 -3
  146. package/src/sap/m/P13nGroupItem.js +1 -1
  147. package/src/sap/m/P13nGroupPanel.js +1 -3
  148. package/src/sap/m/P13nItem.js +1 -1
  149. package/src/sap/m/P13nPanel.js +1 -1
  150. package/src/sap/m/P13nSelectionItem.js +1 -1
  151. package/src/sap/m/P13nSelectionPanel.js +1 -1
  152. package/src/sap/m/P13nSortItem.js +1 -1
  153. package/src/sap/m/P13nSortPanel.js +1 -3
  154. package/src/sap/m/PDFViewer.js +14 -5
  155. package/src/sap/m/Page.js +1 -1
  156. package/src/sap/m/PageAccessibleLandmarkInfo.js +1 -1
  157. package/src/sap/m/PagingButton.js +1 -1
  158. package/src/sap/m/Panel.js +1 -1
  159. package/src/sap/m/PlanningCalendar.js +139 -41
  160. package/src/sap/m/PlanningCalendarHeader.js +5 -8
  161. package/src/sap/m/PlanningCalendarLegend.js +1 -6
  162. package/src/sap/m/PlanningCalendarLegendRenderer.js +2 -5
  163. package/src/sap/m/PlanningCalendarRow.js +1 -1
  164. package/src/sap/m/PlanningCalendarView.js +1 -6
  165. package/src/sap/m/Popover.js +7 -7
  166. package/src/sap/m/PopoverRenderer.js +3 -2
  167. package/src/sap/m/ProgressIndicator.js +1 -1
  168. package/src/sap/m/PullToRefresh.js +1 -1
  169. package/src/sap/m/QuickView.js +1 -1
  170. package/src/sap/m/QuickViewBase.js +1 -1
  171. package/src/sap/m/QuickViewCard.js +1 -1
  172. package/src/sap/m/QuickViewGroup.js +1 -1
  173. package/src/sap/m/QuickViewGroupElement.js +1 -1
  174. package/src/sap/m/QuickViewPage.js +1 -1
  175. package/src/sap/m/RadioButton.js +1 -1
  176. package/src/sap/m/RadioButtonGroup.js +1 -1
  177. package/src/sap/m/RangeSlider.js +1 -1
  178. package/src/sap/m/RatingIndicator.js +10 -8
  179. package/src/sap/m/ResponsivePopover.js +1 -1
  180. package/src/sap/m/ResponsiveScale.js +1 -1
  181. package/src/sap/m/ScrollBar.js +1 -1
  182. package/src/sap/m/ScrollContainer.js +1 -1
  183. package/src/sap/m/SearchField.js +6 -34
  184. package/src/sap/m/SearchFieldRenderer.js +16 -12
  185. package/src/sap/m/SegmentedButton.js +12 -17
  186. package/src/sap/m/SegmentedButtonItem.js +1 -1
  187. package/src/sap/m/Select.js +18 -8
  188. package/src/sap/m/SelectDialog.js +1 -1
  189. package/src/sap/m/SelectDialogBase.js +1 -1
  190. package/src/sap/m/SelectList.js +1 -1
  191. package/src/sap/m/SelectRenderer.js +6 -1
  192. package/src/sap/m/SelectionDetails.js +7 -9
  193. package/src/sap/m/SelectionDetailsFacade.js +2 -2
  194. package/src/sap/m/SelectionDetailsItem.js +8 -4
  195. package/src/sap/m/SelectionDetailsItemLine.js +1 -1
  196. package/src/sap/m/Shell.js +9 -17
  197. package/src/sap/m/SimpleFixFlex.js +1 -1
  198. package/src/sap/m/SinglePlanningCalendar.js +7 -10
  199. package/src/sap/m/SinglePlanningCalendarDayView.js +1 -1
  200. package/src/sap/m/SinglePlanningCalendarGrid.js +15 -13
  201. package/src/sap/m/SinglePlanningCalendarGridRenderer.js +17 -7
  202. package/src/sap/m/SinglePlanningCalendarMonthGrid.js +1 -6
  203. package/src/sap/m/SinglePlanningCalendarMonthGridRenderer.js +4 -6
  204. package/src/sap/m/SinglePlanningCalendarMonthView.js +1 -6
  205. package/src/sap/m/SinglePlanningCalendarView.js +1 -1
  206. package/src/sap/m/SinglePlanningCalendarWeekView.js +1 -6
  207. package/src/sap/m/SinglePlanningCalendarWorkWeekView.js +1 -6
  208. package/src/sap/m/SlideTile.js +31 -3
  209. package/src/sap/m/SlideTileRenderer.js +9 -0
  210. package/src/sap/m/Slider.js +1 -1
  211. package/src/sap/m/SliderTooltip.js +1 -1
  212. package/src/sap/m/SliderTooltipBase.js +1 -1
  213. package/src/sap/m/SliderTooltipContainer.js +1 -1
  214. package/src/sap/m/SplitApp.js +1 -1
  215. package/src/sap/m/SplitButton.js +3 -7
  216. package/src/sap/m/SplitContainer.js +13 -8
  217. package/src/sap/m/StandardDynamicDateOption.js +50 -12
  218. package/src/sap/m/StandardListItem.js +69 -26
  219. package/src/sap/m/StandardListItemRenderer.js +21 -9
  220. package/src/sap/m/StandardTile.js +1 -1
  221. package/src/sap/m/StandardTreeItem.js +1 -1
  222. package/src/sap/m/StepInput.js +30 -14
  223. package/src/sap/m/Suggest.js +25 -25
  224. package/src/sap/m/SuggestionItem.js +1 -7
  225. package/src/sap/m/SuggestionsPopover.js +1 -1
  226. package/src/sap/m/Switch.js +2 -2
  227. package/src/sap/m/TabContainer.js +1 -1
  228. package/src/sap/m/TabContainerItem.js +1 -1
  229. package/src/sap/m/TabStrip.js +1 -1
  230. package/src/sap/m/TabStripItem.js +1 -1
  231. package/src/sap/m/Table.js +2 -4
  232. package/src/sap/m/TablePersoController.js +1 -1
  233. package/src/sap/m/TablePersoDialog.js +1 -1
  234. package/src/sap/m/TablePersoProvider.js +1 -1
  235. package/src/sap/m/TableRenderer.js +3 -3
  236. package/src/sap/m/TableSelectDialog.js +1 -1
  237. package/src/sap/m/Text.js +1 -1
  238. package/src/sap/m/TextArea.js +2 -2
  239. package/src/sap/m/Tile.js +1 -1
  240. package/src/sap/m/TileContainer.js +1 -1
  241. package/src/sap/m/TileContent.js +22 -4
  242. package/src/sap/m/TileContentRenderer.js +73 -5
  243. package/src/sap/m/TimePicker.js +4 -3
  244. package/src/sap/m/TimePickerClock.js +2 -2
  245. package/src/sap/m/TimePickerClocks.js +2 -1
  246. package/src/sap/m/TimePickerInputs.js +3 -3
  247. package/src/sap/m/TimePickerInternals.js +1 -1
  248. package/src/sap/m/TimePickerSlider.js +2 -2
  249. package/src/sap/m/TimePickerSliders.js +1 -1
  250. package/src/sap/m/Title.js +1 -1
  251. package/src/sap/m/TitlePropagationSupport.js +1 -1
  252. package/src/sap/m/ToggleButton.js +1 -1
  253. package/src/sap/m/Token.js +1 -1
  254. package/src/sap/m/Tokenizer.js +45 -3
  255. package/src/sap/m/TokenizerRenderer.js +5 -0
  256. package/src/sap/m/Toolbar.js +1 -1
  257. package/src/sap/m/ToolbarLayoutData.js +1 -1
  258. package/src/sap/m/ToolbarSeparator.js +1 -1
  259. package/src/sap/m/ToolbarSpacer.js +1 -1
  260. package/src/sap/m/Tree.js +1 -1
  261. package/src/sap/m/TreeItemBase.js +1 -1
  262. package/src/sap/m/UploadCollection.js +2 -7
  263. package/src/sap/m/UploadCollectionItem.js +1 -1
  264. package/src/sap/m/UploadCollectionParameter.js +1 -1
  265. package/src/sap/m/UploadCollectionToolbarPlaceholder.js +1 -1
  266. package/src/sap/m/VBox.js +1 -1
  267. package/src/sap/m/ValueStateHeader.js +1 -1
  268. package/src/sap/m/ViewSettingsCustomItem.js +1 -1
  269. package/src/sap/m/ViewSettingsCustomTab.js +1 -1
  270. package/src/sap/m/ViewSettingsDialog.js +1 -1
  271. package/src/sap/m/ViewSettingsFilterItem.js +1 -1
  272. package/src/sap/m/ViewSettingsItem.js +1 -1
  273. package/src/sap/m/VisibleItem.js +1 -1
  274. package/src/sap/m/WheelSlider.js +2 -2
  275. package/src/sap/m/WheelSliderContainer.js +1 -1
  276. package/src/sap/m/Wizard.js +18 -8
  277. package/src/sap/m/WizardProgressNavigator.js +1 -1
  278. package/src/sap/m/WizardProgressNavigatorRenderer.js +3 -2
  279. package/src/sap/m/WizardStep.js +1 -1
  280. package/src/sap/m/changeHandler/AddTableColumn.js +1 -1
  281. package/src/sap/m/changeHandler/ChangeLinkTarget.js +1 -1
  282. package/src/sap/m/changeHandler/CombineButtons.js +16 -17
  283. package/src/sap/m/changeHandler/MoveTableColumns.js +1 -1
  284. package/src/sap/m/changeHandler/SelectIconTabBarFilter.js +86 -0
  285. package/src/sap/m/changeHandler/SplitMenuButton.js +12 -6
  286. package/src/sap/m/delegate/DateNavigation.js +4 -5
  287. package/src/sap/m/delegate/ValueStateMessage.js +4 -7
  288. package/src/sap/m/designtime/IconTabBar.designtime.js +85 -2
  289. package/src/sap/m/designtime/IconTabBarSelectTab.fragment.xml +17 -0
  290. package/src/sap/m/designtime/MenuButton.designtime.js +3 -0
  291. package/src/sap/m/designtime/ObjectIdentifier.designtime.js +16 -12
  292. package/src/sap/m/designtime/messagebundle.properties +9 -0
  293. package/src/sap/m/designtime/messagebundle_ar.properties +6 -0
  294. package/src/sap/m/designtime/messagebundle_bg.properties +6 -0
  295. package/src/sap/m/designtime/messagebundle_ca.properties +6 -0
  296. package/src/sap/m/designtime/messagebundle_cs.properties +6 -0
  297. package/src/sap/m/designtime/messagebundle_cy.properties +6 -0
  298. package/src/sap/m/designtime/messagebundle_da.properties +6 -0
  299. package/src/sap/m/designtime/messagebundle_de.properties +8 -2
  300. package/src/sap/m/designtime/messagebundle_el.properties +6 -0
  301. package/src/sap/m/designtime/messagebundle_en.properties +6 -0
  302. package/src/sap/m/designtime/messagebundle_en_GB.properties +6 -0
  303. package/src/sap/m/designtime/messagebundle_en_US_sappsd.properties +6 -0
  304. package/src/sap/m/designtime/messagebundle_en_US_saprigi.properties +6 -0
  305. package/src/sap/m/designtime/messagebundle_en_US_saptrc.properties +6 -0
  306. package/src/sap/m/designtime/messagebundle_es.properties +6 -0
  307. package/src/sap/m/designtime/messagebundle_es_MX.properties +6 -0
  308. package/src/sap/m/designtime/messagebundle_et.properties +6 -0
  309. package/src/sap/m/designtime/messagebundle_fi.properties +6 -0
  310. package/src/sap/m/designtime/messagebundle_fr.properties +6 -0
  311. package/src/sap/m/designtime/messagebundle_fr_CA.properties +6 -0
  312. package/src/sap/m/designtime/messagebundle_hi.properties +6 -0
  313. package/src/sap/m/designtime/messagebundle_hr.properties +6 -0
  314. package/src/sap/m/designtime/messagebundle_hu.properties +6 -0
  315. package/src/sap/m/designtime/messagebundle_id.properties +6 -0
  316. package/src/sap/m/designtime/messagebundle_it.properties +6 -0
  317. package/src/sap/m/designtime/messagebundle_iw.properties +6 -0
  318. package/src/sap/m/designtime/messagebundle_ja.properties +6 -0
  319. package/src/sap/m/designtime/messagebundle_kk.properties +6 -0
  320. package/src/sap/m/designtime/messagebundle_ko.properties +6 -0
  321. package/src/sap/m/designtime/messagebundle_lt.properties +6 -0
  322. package/src/sap/m/designtime/messagebundle_lv.properties +6 -0
  323. package/src/sap/m/designtime/messagebundle_ms.properties +6 -0
  324. package/src/sap/m/designtime/messagebundle_nl.properties +6 -0
  325. package/src/sap/m/designtime/messagebundle_no.properties +6 -0
  326. package/src/sap/m/designtime/messagebundle_pl.properties +6 -0
  327. package/src/sap/m/designtime/messagebundle_pt.properties +6 -0
  328. package/src/sap/m/designtime/messagebundle_pt_PT.properties +6 -0
  329. package/src/sap/m/designtime/messagebundle_ro.properties +6 -0
  330. package/src/sap/m/designtime/messagebundle_ru.properties +6 -0
  331. package/src/sap/m/designtime/messagebundle_sh.properties +6 -0
  332. package/src/sap/m/designtime/messagebundle_sk.properties +6 -0
  333. package/src/sap/m/designtime/messagebundle_sl.properties +6 -0
  334. package/src/sap/m/designtime/messagebundle_sv.properties +6 -0
  335. package/src/sap/m/designtime/messagebundle_th.properties +6 -0
  336. package/src/sap/m/designtime/messagebundle_tr.properties +6 -0
  337. package/src/sap/m/designtime/messagebundle_uk.properties +6 -0
  338. package/src/sap/m/designtime/messagebundle_vi.properties +6 -0
  339. package/src/sap/m/designtime/messagebundle_zh_CN.properties +6 -0
  340. package/src/sap/m/designtime/messagebundle_zh_TW.properties +6 -0
  341. package/src/sap/m/flexibility/IconTabBar.flexibility.js +21 -0
  342. package/src/sap/m/flexibility/MenuButton.flexibility.js +1 -0
  343. package/src/sap/m/inputUtils/ListHelpers.js +16 -3
  344. package/src/sap/m/library.js +60 -34
  345. package/src/sap/m/messagebundle.properties +62 -7
  346. package/src/sap/m/messagebundle_ar.properties +35 -6
  347. package/src/sap/m/messagebundle_bg.properties +35 -6
  348. package/src/sap/m/messagebundle_ca.properties +40 -11
  349. package/src/sap/m/messagebundle_cs.properties +46 -17
  350. package/src/sap/m/messagebundle_cy.properties +35 -6
  351. package/src/sap/m/messagebundle_da.properties +36 -7
  352. package/src/sap/m/messagebundle_de.properties +36 -7
  353. package/src/sap/m/messagebundle_el.properties +35 -6
  354. package/src/sap/m/messagebundle_en.properties +32 -3
  355. package/src/sap/m/messagebundle_en_GB.properties +32 -3
  356. package/src/sap/m/messagebundle_en_US_sappsd.properties +26 -3
  357. package/src/sap/m/messagebundle_en_US_saprigi.properties +39 -3
  358. package/src/sap/m/messagebundle_en_US_saptrc.properties +14 -6
  359. package/src/sap/m/messagebundle_es.properties +35 -6
  360. package/src/sap/m/messagebundle_es_MX.properties +38 -9
  361. package/src/sap/m/messagebundle_et.properties +35 -6
  362. package/src/sap/m/messagebundle_fi.properties +35 -6
  363. package/src/sap/m/messagebundle_fr.properties +48 -19
  364. package/src/sap/m/messagebundle_fr_CA.properties +36 -7
  365. package/src/sap/m/messagebundle_hi.properties +35 -6
  366. package/src/sap/m/messagebundle_hr.properties +35 -6
  367. package/src/sap/m/messagebundle_hu.properties +35 -6
  368. package/src/sap/m/messagebundle_id.properties +37 -8
  369. package/src/sap/m/messagebundle_it.properties +41 -12
  370. package/src/sap/m/messagebundle_iw.properties +35 -6
  371. package/src/sap/m/messagebundle_ja.properties +35 -6
  372. package/src/sap/m/messagebundle_kk.properties +35 -6
  373. package/src/sap/m/messagebundle_ko.properties +36 -7
  374. package/src/sap/m/messagebundle_lt.properties +35 -6
  375. package/src/sap/m/messagebundle_lv.properties +35 -6
  376. package/src/sap/m/messagebundle_ms.properties +36 -7
  377. package/src/sap/m/messagebundle_nl.properties +37 -8
  378. package/src/sap/m/messagebundle_no.properties +47 -18
  379. package/src/sap/m/messagebundle_pl.properties +39 -10
  380. package/src/sap/m/messagebundle_pt.properties +38 -9
  381. package/src/sap/m/messagebundle_pt_PT.properties +35 -6
  382. package/src/sap/m/messagebundle_ro.properties +40 -11
  383. package/src/sap/m/messagebundle_ru.properties +36 -7
  384. package/src/sap/m/messagebundle_sh.properties +36 -7
  385. package/src/sap/m/messagebundle_sk.properties +35 -6
  386. package/src/sap/m/messagebundle_sl.properties +35 -6
  387. package/src/sap/m/messagebundle_sv.properties +35 -6
  388. package/src/sap/m/messagebundle_th.properties +35 -6
  389. package/src/sap/m/messagebundle_tr.properties +35 -6
  390. package/src/sap/m/messagebundle_uk.properties +42 -13
  391. package/src/sap/m/messagebundle_vi.properties +36 -7
  392. package/src/sap/m/messagebundle_zh_CN.properties +35 -6
  393. package/src/sap/m/messagebundle_zh_TW.properties +35 -6
  394. package/src/sap/m/p13n/AbstractContainer.js +243 -0
  395. package/src/sap/m/p13n/AbstractContainerItem.js +94 -0
  396. package/src/sap/m/p13n/BasePanel.js +643 -0
  397. package/src/sap/m/p13n/Container.js +239 -0
  398. package/src/sap/m/p13n/GroupPanel.js +119 -0
  399. package/src/sap/m/p13n/QueryPanel.js +312 -0
  400. package/src/sap/m/p13n/SelectionPanel.js +403 -0
  401. package/src/sap/m/p13n/SortPanel.js +139 -0
  402. package/src/sap/m/plugins/ColumnResizer.js +23 -2
  403. package/src/sap/m/plugins/DataStateIndicator.js +1 -1
  404. package/src/sap/m/plugins/PasteProvider.js +9 -1
  405. package/src/sap/m/plugins/PluginBase.js +1 -1
  406. package/src/sap/m/routing/TargetHandler.js +24 -22
  407. package/src/sap/m/routing/async/Target.js +3 -2
  408. package/src/sap/m/semantic/AddAction.js +1 -1
  409. package/src/sap/m/semantic/CancelAction.js +1 -1
  410. package/src/sap/m/semantic/DeleteAction.js +1 -1
  411. package/src/sap/m/semantic/DetailPage.js +1 -1
  412. package/src/sap/m/semantic/DiscussInJamAction.js +1 -1
  413. package/src/sap/m/semantic/EditAction.js +1 -1
  414. package/src/sap/m/semantic/FavoriteAction.js +1 -1
  415. package/src/sap/m/semantic/FilterAction.js +1 -1
  416. package/src/sap/m/semantic/FilterSelect.js +1 -1
  417. package/src/sap/m/semantic/FlagAction.js +1 -1
  418. package/src/sap/m/semantic/ForwardAction.js +1 -1
  419. package/src/sap/m/semantic/FullscreenPage.js +1 -1
  420. package/src/sap/m/semantic/GroupAction.js +1 -1
  421. package/src/sap/m/semantic/GroupSelect.js +1 -1
  422. package/src/sap/m/semantic/MainAction.js +1 -1
  423. package/src/sap/m/semantic/MasterPage.js +1 -1
  424. package/src/sap/m/semantic/MessagesIndicator.js +1 -1
  425. package/src/sap/m/semantic/MultiSelectAction.js +1 -1
  426. package/src/sap/m/semantic/NegativeAction.js +1 -1
  427. package/src/sap/m/semantic/OpenInAction.js +1 -1
  428. package/src/sap/m/semantic/PositiveAction.js +1 -1
  429. package/src/sap/m/semantic/PrintAction.js +1 -1
  430. package/src/sap/m/semantic/SaveAction.js +1 -1
  431. package/src/sap/m/semantic/Segment.js +1 -1
  432. package/src/sap/m/semantic/SegmentedContainer.js +1 -1
  433. package/src/sap/m/semantic/SemanticButton.js +1 -1
  434. package/src/sap/m/semantic/SemanticConfiguration.js +3 -5
  435. package/src/sap/m/semantic/SemanticControl.js +1 -1
  436. package/src/sap/m/semantic/SemanticOverflowToolbarButton.js +1 -1
  437. package/src/sap/m/semantic/SemanticOverflowToolbarToggleButton.js +2 -2
  438. package/src/sap/m/semantic/SemanticPage.js +1 -1
  439. package/src/sap/m/semantic/SemanticSelect.js +1 -1
  440. package/src/sap/m/semantic/SemanticToggleButton.js +1 -1
  441. package/src/sap/m/semantic/SendEmailAction.js +1 -1
  442. package/src/sap/m/semantic/SendMessageAction.js +1 -1
  443. package/src/sap/m/semantic/ShareInJamAction.js +1 -1
  444. package/src/sap/m/semantic/ShareMenu.js +1 -1
  445. package/src/sap/m/semantic/ShareMenuPage.js +1 -1
  446. package/src/sap/m/semantic/SortAction.js +1 -1
  447. package/src/sap/m/semantic/SortSelect.js +1 -1
  448. package/src/sap/m/table/Util.js +192 -0
  449. package/src/sap/m/themes/base/AbstractContainer.less +17 -0
  450. package/src/sap/m/themes/base/ColumnListItem.less +2 -2
  451. package/src/sap/m/themes/base/Dialog.less +11 -28
  452. package/src/sap/m/themes/base/GenericTile.less +453 -18
  453. package/src/sap/m/themes/base/IconTabBar.less +5 -6
  454. package/src/sap/m/themes/base/Input.less +12 -0
  455. package/src/sap/m/themes/base/ListBase.less +7 -5
  456. package/src/sap/m/themes/base/MessagePage.less +1 -7
  457. package/src/sap/m/themes/base/MessageView.less +4 -0
  458. package/src/sap/m/themes/base/MultiComboBox.less +17 -0
  459. package/src/sap/m/themes/base/NewsContent.less +48 -1
  460. package/src/sap/m/themes/base/NumericContent.less +87 -0
  461. package/src/sap/m/themes/base/ObjectMarker.less +3 -0
  462. package/src/sap/m/themes/base/ObjectNumber.less +10 -2
  463. package/src/sap/m/themes/base/ObjectStatus.less +14 -0
  464. package/src/sap/m/themes/base/OverflowToolbarAssociativePopover.less +0 -6
  465. package/src/sap/m/themes/base/P13nContainer.less +17 -0
  466. package/src/sap/m/themes/base/P13nDialog.less +4 -0
  467. package/src/sap/m/themes/base/SinglePlanningCalendarGrid.less +1 -2
  468. package/src/sap/m/themes/base/SlideTile.less +15 -0
  469. package/src/sap/m/themes/base/StandardListItem.less +5 -0
  470. package/src/sap/m/themes/base/Table.less +9 -19
  471. package/src/sap/m/themes/base/TextArea.less +1 -1
  472. package/src/sap/m/themes/base/TileContent.less +20 -0
  473. package/src/sap/m/themes/base/Token.less +0 -3
  474. package/src/sap/m/themes/base/Tokenizer.less +6 -0
  475. package/src/sap/m/themes/base/UploadSet.less +5 -0
  476. package/src/sap/m/themes/base/ViewSettingsDialog.less +28 -1
  477. package/src/sap/m/themes/base/library.source.less +4 -0
  478. package/src/sap/m/themes/base/p13n.Container.less +17 -0
  479. package/src/sap/m/themes/base/p13n.QueryPanel.less +7 -0
  480. package/src/sap/m/themes/base/p13n.SelectionPanel.less +32 -0
  481. package/src/sap/m/themes/sap_hcb/IconTabBar.less +3 -3
  482. package/src/sap/m/upload/UploadSet.js +48 -23
  483. package/src/sap/m/upload/UploadSetItem.js +9 -4
  484. package/ui5.yaml +4 -1
  485. package/src/sap/m/ios7.js +0 -199
@@ -6,6 +6,7 @@
6
6
 
7
7
  sap.ui.define([
8
8
  './ComboBoxTextField',
9
+ './ComboBoxBaseRenderer',
9
10
  './SuggestionsPopover',
10
11
  'sap/ui/base/ManagedObjectObserver',
11
12
  'sap/ui/core/SeparatorItem',
@@ -25,6 +26,7 @@ sap.ui.define([
25
26
  ],
26
27
  function(
27
28
  ComboBoxTextField,
29
+ ComboBoxBaseRenderer,
28
30
  SuggestionsPopover,
29
31
  ManagedObjectObserver,
30
32
  SeparatorItem,
@@ -62,7 +64,7 @@ sap.ui.define([
62
64
  * @abstract
63
65
  *
64
66
  * @author SAP SE
65
- * @version 1.93.3
67
+ * @version 1.96.2
66
68
  *
67
69
  * @constructor
68
70
  * @public
@@ -140,7 +142,8 @@ sap.ui.define([
140
142
  loadItems: {}
141
143
  },
142
144
  dnd: { draggable: false, droppable: true }
143
- }
145
+ },
146
+ renderer: ComboBoxBaseRenderer
144
147
  });
145
148
 
146
149
  /**
@@ -69,23 +69,39 @@ sap.ui.define(['./ComboBoxBaseRenderer', 'sap/ui/core/Renderer', 'sap/m/inputUti
69
69
  * @param {sap.ui.core.Control} oControl An object representation of the control that should be rendered.
70
70
  */
71
71
  ComboBoxRenderer.writeInnerAttributes = function(oRm, oControl) {
72
- var oSelectedItem = oControl.getSelectedItem(),
73
- oSelectedListItem = oSelectedItem && ListHelpers.getListItem(oSelectedItem),
74
- bOpen = oControl.isOpen();
72
+ var bOpen = oControl.isOpen(), bIsGroupHeader, oSelectedItem, oListItem;
73
+ var oSuggestionPopover = oControl._getSuggestionsPopover();
75
74
 
76
75
  ComboBoxBaseRenderer.writeInnerAttributes.apply(this, arguments);
77
76
  oRm.attr("aria-expanded", bOpen);
78
77
 
79
- if (!oControl.isOpen()) {
78
+ if (!oSuggestionPopover) {
80
79
  return;
81
80
  }
82
81
 
83
- // Aria-activedescendant attributed must be added only if there is selected item
84
- // and the visual focus is on it or the visual focus is on the formatted text value state header
85
- if (oControl._getSuggestionsPopover().getValueStateActiveState()) {
82
+ var oFocusedItem = oSuggestionPopover.getFocusedListItem();
83
+ var bValueStateFocused = oSuggestionPopover.getValueStateActiveState();
84
+
85
+ // If the picker is not opened, no active descendant should be set
86
+ // If there is no focused element in the picker, no active descendant should be set
87
+ if (!bOpen || (!oFocusedItem && !bValueStateFocused)) {
88
+ return;
89
+ }
90
+
91
+ // If the value state is focused, set the active descendant in order to read out the value state header
92
+ if (bValueStateFocused) {
86
93
  oRm.attr("aria-activedescendant", oControl._getFormattedValueStateText().getId());
87
- } else if (oSelectedListItem && oSelectedListItem.hasStyleClass("sapMLIBFocused") && oControl.getFocusDomRef() === document.activeElement) {
88
- oRm.attr("aria-activedescendant", oSelectedListItem.getId());
94
+ return;
95
+ }
96
+
97
+ // Active descendant should be set only when there is a selected item or a group header is set
98
+ bIsGroupHeader = (oFocusedItem.isA("sap.m.GroupHeaderListItem") || oFocusedItem.isA("sap.ui.core.SeparatorItem"));
99
+ oSelectedItem = oControl.getSelectedItem();
100
+ oListItem = oSelectedItem && ListHelpers.getListItem(oSelectedItem);
101
+ oFocusedItem = bIsGroupHeader ? oFocusedItem : oListItem;
102
+
103
+ if (oFocusedItem) {
104
+ oRm.attr("aria-activedescendant", oFocusedItem.getId());
89
105
  }
90
106
  };
91
107
 
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.m.InputBase
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.93.3
38
+ * @version 1.96.2
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -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.93.3
23
+ * @version 1.96.2
24
24
  *
25
25
  * @public
26
26
  * @since 1.92
@@ -46,6 +46,10 @@ sap.ui.define(['sap/m/DynamicDateOption'],
46
46
  * getValueHelpUITypes is not enough to define the UI.
47
47
  */
48
48
  createValueHelpUI: { type: "function" },
49
+ /**
50
+ * Defines a method that can validate all controls from the value help UI related to a given option.
51
+ */
52
+ validateValueHelpUI: { type: "function" },
49
53
  /**
50
54
  * Defines a method that can collect the value from the value help UI.
51
55
  */
@@ -84,7 +88,7 @@ sap.ui.define(['sap/m/DynamicDateOption'],
84
88
  return sString.charAt(0).toUpperCase() + sString.slice(1);
85
89
  }
86
90
 
87
- ["getText", "getValueHelpUITypes", "createValueHelpUI", "getValueHelpOutput",
91
+ ["getText", "getValueHelpUITypes", "createValueHelpUI", "getValueHelpOutput", "validateValueHelpUI",
88
92
  "getGroup", "getGroupHeader", "format", "parse", "toDates", "enhanceFormattedValue"]
89
93
  .forEach(function(sFnName) {
90
94
  CustomDynamicDateOption.prototype[sFnName] = function() {
@@ -95,5 +99,13 @@ sap.ui.define(['sap/m/DynamicDateOption'],
95
99
  };
96
100
  });
97
101
 
102
+ CustomDynamicDateOption.prototype.getGroupHeader = function() {
103
+ if ((this.getGroup() < 7 && this.getGroup() > -1) || !this.getGetGroupHeader()) {
104
+ return DynamicDateOption.prototype.getGroupHeader.apply(this, arguments);
105
+ } else {
106
+ return this.getGetGroupHeader().apply(this, arguments);
107
+ }
108
+ };
109
+
98
110
  return CustomDynamicDateOption;
99
111
  });
@@ -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.93.3
27
+ * @version 1.96.2
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -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.93.3
24
+ * @version 1.96.2
25
25
  *
26
26
  * @constructor
27
27
  * @public
@@ -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.93.3
26
+ * @version 1.96.2
27
27
  * @constructor
28
28
  * @public
29
29
  * @since 1.48.0
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  // Provides control sap.m.DatePicker.
13
8
  sap.ui.define([
14
9
  'sap/ui/thirdparty/jquery',
@@ -89,13 +84,15 @@ sap.ui.define([
89
84
  * mouse, or keyboard input. It consists of two parts: the date input field and the
90
85
  * date picker.
91
86
  *
92
- * <b>Note:</b> The {@link sap.ui.unified.Calendar} is used internally only if the
87
+ * <b>Note:</b> The application developer should add dependency to <code>sap.ui.unified</code>
88
+ * library on application level to ensure that the library is loaded before the module dependencies will be required.
89
+ * The {@link sap.ui.unified.Calendar} is used internally only if the
93
90
  * <code>DatePicker</code> is opened (not used for the initial rendering). If the
94
91
  * <code>sap.ui.unified</code> library is not loaded before the
95
92
  * <code>DatePicker</code> is opened, it will be loaded upon opening. This could
96
- * lead to a waiting time when the <code>DatePicker</code> is opened for the
93
+ * lead to CSP compliance issues and adds an additional waiting time when the <code>DatePicker</code> is opened for the
97
94
  * first time. To prevent this, apps using the <code>DatePicker</code> should also
98
- * load the <code>sap.ui.unified</code> library.
95
+ * load the <code>sap.ui.unified</code> library in advance.
99
96
  *
100
97
  * <h3>Usage</h3>
101
98
  *
@@ -151,7 +148,7 @@ sap.ui.define([
151
148
  * the close event), or select Cancel.
152
149
  *
153
150
  * @extends sap.m.DateTimeField
154
- * @version 1.93.3
151
+ * @version 1.96.2
155
152
  *
156
153
  * @constructor
157
154
  * @public
@@ -204,7 +201,17 @@ sap.ui.define([
204
201
  *
205
202
  * @since 1.70
206
203
  */
207
- showFooter : {type : "boolean", group : "Misc", defaultValue : false}
204
+ showFooter : {type : "boolean", group : "Misc", defaultValue : false},
205
+
206
+ /**
207
+ * Determines whether there is a shortcut navigation to Today. When used in Month, Year or
208
+ * Year-range picker view, the calendar navigates to Day picker view.
209
+ *
210
+ * Note: The Current date button appears if the <code>displayFormat</code> property allows entering day.
211
+ *
212
+ * @since 1.95
213
+ */
214
+ showCurrentDateButton : {type : "boolean", group : "Behavior", defaultValue : false}
208
215
 
209
216
  },
210
217
 
@@ -654,6 +661,7 @@ sap.ui.define([
654
661
  var oDateValue = this.getDateValue();
655
662
  if (oDateValue && oDateValue.getTime() < oDate.getTime()) {
656
663
  this._bValid = false;
664
+ this._bOutOfAllowedRange = true;
657
665
  Log.warning("DateValue not in valid date range", this);
658
666
  }
659
667
  } else {
@@ -694,6 +702,7 @@ sap.ui.define([
694
702
  var oDateValue = this.getDateValue();
695
703
  if (oDateValue && oDateValue.getTime() > oDate.getTime()) {
696
704
  this._bValid = false;
705
+ this._bOutOfAllowedRange = true;
697
706
  Log.warning("DateValue not in valid date", this);
698
707
  }
699
708
  } else {
@@ -713,6 +722,12 @@ sap.ui.define([
713
722
 
714
723
  };
715
724
 
725
+ DatePicker.prototype.setCurrentDateButton = function(bShow) {
726
+ var oCalendar = this._getCalendar();
727
+ oCalendar && oCalendar.setCurrentDateButton(bShow);
728
+ return this.setProperty("showCurrentDateButton", bShow);
729
+ };
730
+
716
731
  DatePicker.prototype._checkMinMaxDate = function () {
717
732
 
718
733
  if (this._oMinDate.getTime() > this._oMaxDate.getTime()) {
@@ -1101,6 +1116,7 @@ sap.ui.define([
1101
1116
  showArrow: false,
1102
1117
  showHeader: false,
1103
1118
  placement: library.PlacementType.VerticalPreferedBottom,
1119
+ contentWidth: this.$().closest(".sapUiSizeCompact").length > 0 ? "18rem" : "21rem",
1104
1120
  beginButton: new Button({
1105
1121
  type: library.ButtonType.Emphasized,
1106
1122
  text: oResourceBundle.getText("DATEPICKER_SELECTION_CONFIRM"),
@@ -1192,6 +1208,7 @@ sap.ui.define([
1192
1208
  }.bind(this)
1193
1209
  });
1194
1210
 
1211
+ this._oCalendar.setShowCurrentDateButton(this.getShowCurrentDateButton());
1195
1212
  this._oDateRange = new DateRange();
1196
1213
  this._getCalendar().addSelectedDate(this._oDateRange);
1197
1214
  this._getCalendar()._setSpecialDatesControlOrigin(this);
@@ -1225,7 +1242,10 @@ sap.ui.define([
1225
1242
  onAfterRendering: function() {
1226
1243
  var oPopup = this._oPopup && this._oPopup._getPopup();
1227
1244
  oPopup && oPopup._oLastPosition && oPopup._applyPosition(oPopup._oLastPosition);
1228
- this._oCalendar.focus();
1245
+
1246
+ if (this._oPopup.isOpen()) {
1247
+ this._oCalendar.focus();
1248
+ }
1229
1249
  }.bind(this)
1230
1250
  };
1231
1251
  this._oCalendar.addDelegate(this._oCalendarAfterRenderDelegate);
@@ -1514,6 +1534,8 @@ sap.ui.define([
1514
1534
  this.$("inner").attr("aria-expanded", true);
1515
1535
 
1516
1536
  InstanceManager.addPopoverInstance(this._oPopup);
1537
+
1538
+ this._oCalendar.focus();
1517
1539
  }
1518
1540
 
1519
1541
  function _handleClose() {
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/Renderer', './InputBaseRenderer', 'sap/ui/core/libra
21
21
  * @param {sap.m.DatePicker} oDP An object representation of the control that should be rendered.
22
22
  */
23
23
  DatePickerRenderer.writeInnerValue = function(oRm, oDP) {
24
- if (oDP._bValid) {
24
+ if (oDP._bValid || oDP._bOutOfAllowedRange) {
25
25
  oRm.attr("value", oDP._formatValue(oDP.getDateValue()));
26
26
  } else {
27
27
  oRm.attr("value", oDP.getValue());
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  // Provides control sap.m.DateRangeSelection.
13
8
  sap.ui.define([
14
9
  'sap/ui/Device',
@@ -59,14 +54,16 @@ sap.ui.define([
59
54
  * <b>Note:</b>
60
55
  * The control is not UTC aware and the selected date range starts from 00:00:00:000 of the first date and ends in 23:59:59:999 on the second date.
61
56
  *
57
+ * The application developer should add dependency to <code>sap.ui.unified</code> library
58
+ * on application level to ensure that the library is loaded before the module dependencies will be required.
62
59
  * The {@link sap.ui.unified.Calendar} is used internally only if the
63
60
  * <code>DateRangeSelection</code> is opened (not used for the initial rendering).
64
61
  * If the <code>sap.ui.unified</code> library is not loaded before the
65
62
  * <code>DateRangeSelection</code> is opened, it will be loaded upon opening.
66
- * This could lead to a waiting time when the <code>DateRangeSelection</code> is
63
+ * This could lead to CSP compliance issues and adds an additional waiting time when the <code>DateRangeSelection</code> is
67
64
  * opened for the first time. To prevent this, apps using the
68
65
  * <code>DateRangeSelection</code> should also load the <code>sap.ui.unified</code>
69
- * library.
66
+ * library in advance.
70
67
  *
71
68
  * <h3>Usage</h3>
72
69
  *
@@ -129,8 +126,8 @@ sap.ui.define([
129
126
  * compact mode and provides a touch-friendly size in cozy mode.
130
127
  *
131
128
  * @extends sap.m.DatePicker
132
- * @version 1.93.3
133
- * @version 1.93.3
129
+ * @version 1.96.2
130
+ * @version 1.96.2
134
131
  *
135
132
  * @constructor
136
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.93.3
62
+ * @version 1.96.2
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -62,7 +62,7 @@ function(
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.93.3
65
+ * @version 1.96.2
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -4,11 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Ensure that sap.ui.unified is loaded before the module dependencies will be required.
8
- // Loading it synchronously is the only compatible option and doesn't harm when sap.ui.unified
9
- // already has been loaded asynchronously (e.g. via a dependency declared in the manifest)
10
- sap.ui.getCore().loadLibrary("sap.ui.unified");
11
-
12
7
  //Provides control sap.m.DateTimePicker.
13
8
  sap.ui.define([
14
9
  "sap/ui/thirdparty/jquery",
@@ -71,13 +66,15 @@ sap.ui.define([
71
66
  * The <code>DateTimePicker</code> control consists of two parts: the input field and the
72
67
  * date/time picker.
73
68
  *
74
- * <b>Note:</b> The {@link sap.ui.unified.Calendar} is used internally only if the
69
+ * <b>Note:</b> The application developer should add dependency to <code>sap.ui.unified</code> library
70
+ * on application level to ensure that the library is loaded before the module dependencies will be required.
71
+ * The {@link sap.ui.unified.Calendar} is used internally only if the
75
72
  * <code>DateTimePicker</code> is opened (not used for the initial rendering). If
76
73
  * the <code>sap.ui.unified</code> library is not loaded before the
77
74
  * <code>DateTimePicker</code> is opened, it will be loaded upon opening. This
78
- * could lead to a waiting time when the <code>DateTimePicker</code> is opened for
75
+ * could lead to CSP compliance issues and adds an additional waiting time when the <code>DateTimePicker</code> is opened for
79
76
  * the first time. To prevent this, apps using the <code>DateTimePicker</code>
80
- * should also load the <code>sap.ui.unified</code> library.
77
+ * should also load the <code>sap.ui.unified</code> library in advance.
81
78
  *
82
79
  * <h3>Usage</h3>
83
80
  *
@@ -139,7 +136,7 @@ sap.ui.define([
139
136
  * mobile devices, it opens in full screen.
140
137
  *
141
138
  * @extends sap.m.DatePicker
142
- * @version 1.93.3
139
+ * @version 1.96.2
143
140
  *
144
141
  * @constructor
145
142
  * @public