@openui5/sap.ui.core 1.96.5 → 1.99.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 (426) hide show
  1. package/.eslintrc.json +93 -3
  2. package/.reuse/dep5 +26 -31
  3. package/THIRDPARTY.txt +15 -21
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.mobile.js +29 -19
  7. package/src/jquery.sap.properties.js +1 -1
  8. package/src/jquery.sap.resources.js +2 -2
  9. package/src/jquery.sap.script.js +1 -1
  10. package/src/jquery.sap.storage.js +3 -3
  11. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  12. package/src/sap/base/util/restricted/_castArray.js +1 -1
  13. package/src/sap/base/util/restricted/_compact.js +1 -1
  14. package/src/sap/base/util/restricted/_curry.js +1 -1
  15. package/src/sap/base/util/restricted/_debounce.js +1 -1
  16. package/src/sap/base/util/restricted/_difference.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_flatten.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_intersection.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isNil.js +1 -1
  31. package/src/sap/base/util/restricted/_max.js +1 -1
  32. package/src/sap/base/util/restricted/_merge.js +1 -1
  33. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  34. package/src/sap/base/util/restricted/_min.js +1 -1
  35. package/src/sap/base/util/restricted/_omit.js +1 -1
  36. package/src/sap/base/util/restricted/_pick.js +1 -1
  37. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  38. package/src/sap/base/util/restricted/_throttle.js +1 -1
  39. package/src/sap/base/util/restricted/_toArray.js +1 -1
  40. package/src/sap/base/util/restricted/_union.js +1 -1
  41. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  42. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  43. package/src/sap/base/util/restricted/_uniq.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  46. package/src/sap/base/util/restricted/_without.js +1 -1
  47. package/src/sap/base/util/restricted/_xor.js +1 -1
  48. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  49. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  52. package/src/sap/ui/Device.js +81 -169
  53. package/src/sap/ui/Global.js +11 -16
  54. package/src/sap/ui/VersionInfo.js +13 -10
  55. package/src/sap/ui/base/BindingParser.js +34 -7
  56. package/src/sap/ui/base/Event.js +1 -1
  57. package/src/sap/ui/base/EventProvider.js +1 -1
  58. package/src/sap/ui/base/Interface.js +1 -1
  59. package/src/sap/ui/base/ManagedObject.js +50 -29
  60. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  61. package/src/sap/ui/base/Metadata.js +1 -3
  62. package/src/sap/ui/base/Object.js +1 -1
  63. package/src/sap/ui/base/ObjectPool.js +1 -1
  64. package/src/sap/ui/core/.library +1 -27
  65. package/src/sap/ui/core/AppCacheBuster.js +4 -4
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/BusyIndicatorUtils.js +1 -1
  68. package/src/sap/ui/core/Component.js +33 -11
  69. package/src/sap/ui/core/ComponentContainer.js +1 -1
  70. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  71. package/src/sap/ui/core/ComponentSupport.js +1 -1
  72. package/src/sap/ui/core/Configuration.js +79 -13
  73. package/src/sap/ui/core/Control.js +4 -3
  74. package/src/sap/ui/core/Core.js +4 -7
  75. package/src/sap/ui/core/CustomData.js +1 -1
  76. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  77. package/src/sap/ui/core/Element.js +6 -12
  78. package/src/sap/ui/core/ElementMetadata.js +1 -1
  79. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  80. package/src/sap/ui/core/EventBus.js +1 -1
  81. package/src/sap/ui/core/ExtensionPoint.js +1 -1
  82. package/src/sap/ui/core/FocusHandler.js +1 -1
  83. package/src/sap/ui/core/Fragment.js +1 -1
  84. package/src/sap/ui/core/HTML.js +3 -3
  85. package/src/sap/ui/core/HTMLRenderer.js +1 -1
  86. package/src/sap/ui/core/History.js +1 -1
  87. package/src/sap/ui/core/Icon.js +2 -3
  88. package/src/sap/ui/core/IconRenderer.js +1 -1
  89. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  90. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  91. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  92. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  93. package/src/sap/ui/core/InvisibleText.js +1 -1
  94. package/src/sap/ui/core/Item.js +1 -1
  95. package/src/sap/ui/core/LabelEnablement.js +9 -2
  96. package/src/sap/ui/core/LayoutData.js +1 -1
  97. package/src/sap/ui/core/ListItem.js +1 -1
  98. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  99. package/src/sap/ui/core/LocalBusyIndicatorRenderer.js +2 -2
  100. package/src/sap/ui/core/LocalBusyIndicatorSupport.js +1 -1
  101. package/src/sap/ui/core/Locale.js +1 -1
  102. package/src/sap/ui/core/LocaleData.js +39 -4
  103. package/src/sap/ui/core/Manifest.js +1 -1
  104. package/src/sap/ui/core/Message.js +1 -1
  105. package/src/sap/ui/core/Placeholder.js +28 -28
  106. package/src/sap/ui/core/Popup.js +3 -3
  107. package/src/sap/ui/core/RenderManager.js +3 -3
  108. package/src/sap/ui/core/Renderer.js +1 -1
  109. package/src/sap/ui/core/ResizeHandler.js +1 -1
  110. package/src/sap/ui/core/ScrollBar.js +4 -3
  111. package/src/sap/ui/core/ScrollBarRenderer.js +1 -1
  112. package/src/sap/ui/core/SeparatorItem.js +1 -1
  113. package/src/sap/ui/core/ThemeCheck.js +2 -2
  114. package/src/sap/ui/core/Title.js +1 -1
  115. package/src/sap/ui/core/TooltipBase.js +2 -2
  116. package/src/sap/ui/core/UIArea.js +3 -3
  117. package/src/sap/ui/core/UIComponent.js +1 -1
  118. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  119. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  120. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  121. package/src/sap/ui/core/XMLComposite.js +1 -1
  122. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  123. package/src/sap/ui/core/XMLTemplateProcessor.js +26 -5
  124. package/src/sap/ui/core/_IconRegistry.js +10 -1
  125. package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -2
  126. package/src/sap/ui/core/date/Japanese.js +1 -1
  127. package/src/sap/ui/core/date/UniversalDateUtils.js +205 -2
  128. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  129. package/src/sap/ui/core/delegate/ScrollEnablement.js +9 -6
  130. package/src/sap/ui/core/dnd/DragAndDrop.js +2 -2
  131. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  132. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  133. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  134. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  135. package/src/sap/ui/core/format/DateFormat.js +562 -174
  136. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +43 -0
  137. package/src/sap/ui/core/format/ListFormat.js +2 -2
  138. package/src/sap/ui/core/format/NumberFormat.js +1 -1
  139. package/src/sap/ui/core/format/TimezoneUtil.js +248 -0
  140. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  141. package/src/sap/ui/core/library.js +47 -10
  142. package/src/sap/ui/core/message/ControlMessageProcessor.js +5 -5
  143. package/src/sap/ui/core/message/Message.js +1 -1
  144. package/src/sap/ui/core/message/MessageManager.js +1 -1
  145. package/src/sap/ui/core/message/MessageMixin.js +2 -1
  146. package/src/sap/ui/core/message/MessageParser.js +1 -1
  147. package/src/sap/ui/core/message/MessageProcessor.js +22 -12
  148. package/src/sap/ui/core/messagebundle.properties +4 -0
  149. package/src/sap/ui/core/messagebundle_ar.properties +2 -0
  150. package/src/sap/ui/core/messagebundle_bg.properties +7 -5
  151. package/src/sap/ui/core/messagebundle_ca.properties +2 -0
  152. package/src/sap/ui/core/messagebundle_cs.properties +2 -0
  153. package/src/sap/ui/core/messagebundle_cy.properties +2 -0
  154. package/src/sap/ui/core/messagebundle_da.properties +2 -0
  155. package/src/sap/ui/core/messagebundle_de.properties +3 -1
  156. package/src/sap/ui/core/messagebundle_el.properties +2 -0
  157. package/src/sap/ui/core/messagebundle_en.properties +2 -0
  158. package/src/sap/ui/core/messagebundle_en_GB.properties +2 -0
  159. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +2 -0
  160. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  161. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +2 -0
  162. package/src/sap/ui/core/messagebundle_es.properties +2 -0
  163. package/src/sap/ui/core/messagebundle_es_MX.properties +2 -0
  164. package/src/sap/ui/core/messagebundle_et.properties +2 -0
  165. package/src/sap/ui/core/messagebundle_fi.properties +2 -0
  166. package/src/sap/ui/core/messagebundle_fr.properties +9 -7
  167. package/src/sap/ui/core/messagebundle_fr_CA.properties +2 -0
  168. package/src/sap/ui/core/messagebundle_hi.properties +2 -0
  169. package/src/sap/ui/core/messagebundle_hr.properties +2 -0
  170. package/src/sap/ui/core/messagebundle_hu.properties +2 -0
  171. package/src/sap/ui/core/messagebundle_id.properties +4 -2
  172. package/src/sap/ui/core/messagebundle_it.properties +3 -1
  173. package/src/sap/ui/core/messagebundle_iw.properties +2 -0
  174. package/src/sap/ui/core/messagebundle_ja.properties +2 -0
  175. package/src/sap/ui/core/messagebundle_kk.properties +2 -0
  176. package/src/sap/ui/core/messagebundle_ko.properties +2 -0
  177. package/src/sap/ui/core/messagebundle_lt.properties +2 -0
  178. package/src/sap/ui/core/messagebundle_lv.properties +3 -1
  179. package/src/sap/ui/core/messagebundle_ms.properties +2 -0
  180. package/src/sap/ui/core/messagebundle_nl.properties +2 -0
  181. package/src/sap/ui/core/messagebundle_no.properties +6 -4
  182. package/src/sap/ui/core/messagebundle_pl.properties +2 -0
  183. package/src/sap/ui/core/messagebundle_pt.properties +2 -0
  184. package/src/sap/ui/core/messagebundle_pt_PT.properties +2 -0
  185. package/src/sap/ui/core/messagebundle_ro.properties +2 -0
  186. package/src/sap/ui/core/messagebundle_ru.properties +23 -21
  187. package/src/sap/ui/core/messagebundle_sh.properties +2 -0
  188. package/src/sap/ui/core/messagebundle_sk.properties +2 -0
  189. package/src/sap/ui/core/messagebundle_sl.properties +2 -0
  190. package/src/sap/ui/core/messagebundle_sv.properties +2 -0
  191. package/src/sap/ui/core/messagebundle_th.properties +2 -0
  192. package/src/sap/ui/core/messagebundle_tr.properties +2 -0
  193. package/src/sap/ui/core/messagebundle_uk.properties +2 -0
  194. package/src/sap/ui/core/messagebundle_vi.properties +2 -0
  195. package/src/sap/ui/core/messagebundle_zh_CN.properties +2 -0
  196. package/src/sap/ui/core/messagebundle_zh_TW.properties +2 -0
  197. package/src/sap/ui/core/mvc/Controller.js +4 -4
  198. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  199. package/src/sap/ui/core/mvc/HTMLViewRenderer.js +1 -1
  200. package/src/sap/ui/core/mvc/JSONView.js +2 -1
  201. package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -1
  202. package/src/sap/ui/core/mvc/JSView.js +1 -1
  203. package/src/sap/ui/core/mvc/JSViewRenderer.js +1 -1
  204. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  205. package/src/sap/ui/core/mvc/TemplateViewRenderer.js +1 -1
  206. package/src/sap/ui/core/mvc/View.js +2 -1
  207. package/src/sap/ui/core/mvc/ViewRenderer.js +1 -1
  208. package/src/sap/ui/core/mvc/XMLView.js +16 -3
  209. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  210. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  211. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  212. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  213. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  214. package/src/sap/ui/core/routing/Route.js +6 -6
  215. package/src/sap/ui/core/routing/Router.js +4 -3
  216. package/src/sap/ui/core/routing/Targets.js +17 -13
  217. package/src/sap/ui/core/rules/Misc.support.js +51 -1
  218. package/src/sap/ui/core/rules/Model.support.js +95 -8
  219. package/src/sap/ui/core/rules/Rendering.support.js +1 -4
  220. package/src/sap/ui/core/rules/View.support.js +14 -46
  221. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  222. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  223. package/src/sap/ui/core/service/Service.js +1 -1
  224. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  225. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  226. package/src/sap/ui/core/support/Plugin.js +2 -2
  227. package/src/sap/ui/core/support/RuleEngineOpaExtension.js +0 -1
  228. package/src/sap/ui/core/support/Support.js +1 -1
  229. package/src/sap/ui/core/support/controls/TreeViewer.js +1 -1
  230. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  231. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  232. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  233. package/src/sap/ui/core/support/plugins/Performance.js +1 -2
  234. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  235. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  236. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  237. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  238. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +2 -6
  239. package/src/sap/ui/core/support/trace/E2eTraceLib.js +3 -3
  240. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  241. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  242. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  243. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  244. package/src/sap/ui/core/tmpl/Template.js +1 -1
  245. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  246. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  247. package/src/sap/ui/core/util/DraftEnabledMockServer.js +21 -16
  248. package/src/sap/ui/core/util/Export.js +1 -1
  249. package/src/sap/ui/core/util/ExportCell.js +1 -1
  250. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  251. package/src/sap/ui/core/util/ExportRow.js +1 -1
  252. package/src/sap/ui/core/util/ExportType.js +1 -1
  253. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  254. package/src/sap/ui/core/util/File.js +1 -1
  255. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  256. package/src/sap/ui/core/util/MockServer.js +157 -58
  257. package/src/sap/ui/core/util/PasteHelper.js +4 -4
  258. package/src/sap/ui/core/util/XMLPreprocessor.js +16 -4
  259. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +1 -1
  260. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  261. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  262. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  263. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  264. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  265. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  266. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  267. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  268. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  269. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  270. package/src/sap/ui/debug/ControlTree.js +1 -1
  271. package/src/sap/ui/debug/DebugEnv.js +1 -1
  272. package/src/sap/ui/debug/PropertyList.js +1 -1
  273. package/src/sap/ui/dom/includeStylesheet.js +8 -3
  274. package/src/sap/ui/events/jquery/EventExtension.js +1 -1
  275. package/src/sap/ui/events/jquery/EventSimulation.js +3 -13
  276. package/src/sap/ui/model/Binding.js +4 -3
  277. package/src/sap/ui/model/ChangeReason.js +1 -1
  278. package/src/sap/ui/model/ClientListBinding.js +7 -0
  279. package/src/sap/ui/model/ClientModel.js +6 -5
  280. package/src/sap/ui/model/ClientTreeBinding.js +1 -1
  281. package/src/sap/ui/model/ClientTreeBindingAdapter.js +1 -1
  282. package/src/sap/ui/model/CompositeBinding.js +1 -1
  283. package/src/sap/ui/model/CompositeDataState.js +26 -4
  284. package/src/sap/ui/model/CompositeType.js +1 -1
  285. package/src/sap/ui/model/ContextBinding.js +1 -1
  286. package/src/sap/ui/model/DataState.js +27 -6
  287. package/src/sap/ui/model/ListBinding.js +24 -5
  288. package/src/sap/ui/model/MetaModel.js +2 -3
  289. package/src/sap/ui/model/Model.js +6 -11
  290. package/src/sap/ui/model/SelectionModel.js +1 -1
  291. package/src/sap/ui/model/SimpleType.js +1 -1
  292. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  293. package/src/sap/ui/model/TreeBindingAdapter.js +0 -2
  294. package/src/sap/ui/model/TreeBindingUtils.js +2 -0
  295. package/src/sap/ui/model/Type.js +1 -1
  296. package/src/sap/ui/model/analytics/AnalyticalBinding.js +13 -8
  297. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +16 -18
  298. package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -15
  299. package/src/sap/ui/model/base/ManagedObjectModel.js +1 -1
  300. package/src/sap/ui/model/json/JSONListBinding.js +1 -1
  301. package/src/sap/ui/model/json/JSONModel.js +7 -7
  302. package/src/sap/ui/model/json/JSONPropertyBinding.js +2 -2
  303. package/src/sap/ui/model/message/MessageListBinding.js +1 -1
  304. package/src/sap/ui/model/message/MessageModel.js +3 -3
  305. package/src/sap/ui/model/message/MessagePropertyBinding.js +2 -2
  306. package/src/sap/ui/model/odata/AnnotationHelper.js +2 -2
  307. package/src/sap/ui/model/odata/AnnotationParser.js +4 -2
  308. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  309. package/src/sap/ui/model/odata/ODataListBinding.js +62 -39
  310. package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
  311. package/src/sap/ui/model/odata/ODataMetaModel.js +3 -3
  312. package/src/sap/ui/model/odata/ODataMetadata.js +138 -87
  313. package/src/sap/ui/model/odata/ODataModel.js +443 -216
  314. package/src/sap/ui/model/odata/ODataPropertyBinding.js +7 -5
  315. package/src/sap/ui/model/odata/ODataTreeBinding.js +1 -1
  316. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +27 -17
  317. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +440 -260
  318. package/src/sap/ui/model/odata/ODataUtils.js +24 -9
  319. package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +3 -2
  320. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +11 -9
  321. package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +7 -5
  322. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  323. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  324. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  325. package/src/sap/ui/model/odata/type/Date.js +1 -1
  326. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  327. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  328. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  329. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +338 -0
  330. package/src/sap/ui/model/odata/type/Decimal.js +5 -1
  331. package/src/sap/ui/model/odata/type/Double.js +1 -1
  332. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  333. package/src/sap/ui/model/odata/type/Int.js +1 -1
  334. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  335. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  336. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  337. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  338. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  339. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  340. package/src/sap/ui/model/odata/type/Single.js +1 -1
  341. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  342. package/src/sap/ui/model/odata/type/String.js +1 -1
  343. package/src/sap/ui/model/odata/type/Time.js +1 -1
  344. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  345. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  346. package/src/sap/ui/model/odata/type/UnitMixin.js +1 -2
  347. package/src/sap/ui/model/odata/v2/Context.js +98 -14
  348. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  349. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +8 -4
  350. package/src/sap/ui/model/odata/v2/ODataListBinding.js +418 -172
  351. package/src/sap/ui/model/odata/v2/ODataModel.js +242 -138
  352. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +164 -92
  353. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +117 -7
  354. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +21 -22
  355. package/src/sap/ui/model/odata/v4/Context.js +249 -83
  356. package/src/sap/ui/model/odata/v4/ODataBinding.js +100 -43
  357. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +309 -228
  358. package/src/sap/ui/model/odata/v4/ODataListBinding.js +573 -278
  359. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +131 -100
  360. package/src/sap/ui/model/odata/v4/ODataModel.js +342 -259
  361. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +113 -100
  362. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +87 -81
  363. package/src/sap/ui/model/odata/v4/ODataUtils.js +5 -5
  364. package/src/sap/ui/model/odata/v4/SubmitMode.js +0 -1
  365. package/src/sap/ui/model/odata/v4/ValueListType.js +0 -1
  366. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +20 -20
  367. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +3 -5
  368. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +5 -4
  369. package/src/sap/ui/model/odata/v4/lib/_Batch.js +21 -20
  370. package/src/sap/ui/model/odata/v4/lib/_Cache.js +278 -103
  371. package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +1 -1
  372. package/src/sap/ui/model/odata/v4/lib/_Helper.js +55 -21
  373. package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +62 -61
  374. package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +1 -1
  375. package/src/sap/ui/model/odata/v4/lib/_Parser.js +52 -43
  376. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +61 -41
  377. package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +147 -147
  378. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +14 -13
  379. package/src/sap/ui/model/odata/v4/lib/_V4MetadataConverter.js +66 -67
  380. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  381. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  382. package/src/sap/ui/model/type/Boolean.js +1 -1
  383. package/src/sap/ui/model/type/Currency.js +1 -1
  384. package/src/sap/ui/model/type/Date.js +1 -1
  385. package/src/sap/ui/model/type/DateInterval.js +1 -1
  386. package/src/sap/ui/model/type/DateTime.js +1 -1
  387. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  388. package/src/sap/ui/model/type/FileSize.js +1 -1
  389. package/src/sap/ui/model/type/Float.js +1 -1
  390. package/src/sap/ui/model/type/Integer.js +1 -1
  391. package/src/sap/ui/model/type/String.js +1 -1
  392. package/src/sap/ui/model/type/Time.js +1 -1
  393. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  394. package/src/sap/ui/model/type/Unit.js +1 -1
  395. package/src/sap/ui/model/xml/XMLListBinding.js +1 -1
  396. package/src/sap/ui/model/xml/XMLModel.js +5 -5
  397. package/src/sap/ui/model/xml/XMLPropertyBinding.js +2 -2
  398. package/src/sap/ui/performance/trace/Passport.js +3 -3
  399. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  400. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  401. package/src/sap/ui/test/BlanketReporter.js +1 -1
  402. package/src/sap/ui/test/Opa5.js +1 -1
  403. package/src/sap/ui/test/TestUtils.js +2 -2
  404. package/src/sap/ui/test/_LogCollector.js +1 -1
  405. package/src/sap/ui/test/actions/Action.js +11 -2
  406. package/src/sap/ui/test/actions/Press.js +79 -3
  407. package/src/sap/ui/test/autowaiter/_XHRWaiter.js +1 -1
  408. package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +111 -0
  409. package/src/sap/ui/test/starter/createSuite.js +1 -2
  410. package/src/sap/ui/thirdparty/jquery-mobile-custom.js +3 -6
  411. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-datepicker.js +143 -3
  412. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-position.js +8 -1
  413. package/src/sap/ui/util/Mobile.js +28 -39
  414. package/src/sap/ui/util/Storage.js +1 -1
  415. package/src/sap/ui/util/XMLHelper.js +53 -30
  416. package/src/ui5loader.js +9 -9
  417. package/ui5.yaml +244 -1
  418. package/src/sap/ui/core/CustomizingConfiguration.js +0 -47
  419. package/src/sap/ui/thirdparty/baseuri.js +0 -1
  420. package/src/sap/ui/thirdparty/es6-object-assign.js +0 -1
  421. package/src/sap/ui/thirdparty/es6-promise.js +0 -1
  422. package/src/sap/ui/thirdparty/es6-shim-nopromise.js +0 -1
  423. package/src/sap/ui/thirdparty/es6-string-methods.js +0 -1
  424. package/src/sap/ui/thirdparty/flexie.js +0 -1
  425. package/src/sap/ui/thirdparty/unorm.js +0 -1
  426. package/src/sap/ui/thirdparty/unormdata.js +0 -1
@@ -11,6 +11,7 @@ sap.ui.define([
11
11
  '../base/Object',
12
12
  './CalendarType',
13
13
  './Locale',
14
+ "./format/TimezoneUtil",
14
15
  'sap/ui/thirdparty/URI',
15
16
  "sap/base/util/UriParameters",
16
17
  "sap/base/util/deepEqual",
@@ -26,6 +27,7 @@ sap.ui.define([
26
27
  BaseObject,
27
28
  CalendarType,
28
29
  Locale,
30
+ TimezoneUtil,
29
31
  URI,
30
32
  UriParameters,
31
33
  deepEqual,
@@ -101,12 +103,12 @@ sap.ui.define([
101
103
  var M_SETTINGS = {
102
104
  "theme" : { type : "string", defaultValue : "base" },
103
105
  "language" : { type : "Locale", defaultValue : detectLanguage() },
106
+ "timezone" : { type : "string", defaultValue : TimezoneUtil.getLocalTimezone() },
104
107
  "formatLocale" : { type : "Locale", defaultValue : null },
105
108
  "calendarType" : { type : "string", defaultValue : null },
106
109
  "trailingCurrencyCode" : { type : "boolean", defaultValue : true },
107
- // "timezone" : "UTC",
108
110
  "accessibility" : { type : "boolean", defaultValue : true },
109
- "autoAriaBodyRole" : { type : "boolean", defaultValue : false, noUrl:true }, //whether the framework automatically adds automatically the ARIA role 'application' to the html body
111
+ "autoAriaBodyRole" : { type : "boolean", defaultValue : false, noUrl:true }, //whether the framework automatically adds the ARIA role 'application' to the html body
110
112
  "animation" : { type : "boolean", defaultValue : true }, // deprecated, please use animationMode
111
113
  "animationMode" : { type : Configuration.AnimationMode, defaultValue : undefined }, // If no value is provided, animationMode will be set on instantiation depending on the animation setting.
112
114
  "rtl" : { type : "boolean", defaultValue : null },
@@ -145,7 +147,6 @@ sap.ui.define([
145
147
  "xx-appCacheBusterHooks": { type : "object", defaultValue : undefined, noUrl:true }, // e.g.: { handleURL: fn, onIndexLoad: fn, onIndexLoaded: fn }
146
148
  "xx-disableCustomizing" : { type : "boolean", defaultValue : false, noUrl:true },
147
149
  "xx-viewCache" : { type : "boolean", defaultValue : true },
148
- "xx-test-mobile" : { type : "boolean", defaultValue : false },
149
150
  "xx-depCache" : { type : "boolean", defaultValue : false },
150
151
  "xx-libraryPreloadFiles": { type : "string[]", defaultValue : [] },
151
152
  "xx-componentPreload" : { type : "string", defaultValue : "" },
@@ -372,6 +373,15 @@ sap.ui.define([
372
373
  }
373
374
  }
374
375
 
376
+ if (oUriParams.has('sap-timezone')) {
377
+ // validate the IANA timezone ID, but do not trigger a localizationChanged event
378
+ // because the initialization should not trigger a "*Changed" event
379
+ var sTimezone = oUriParams.get('sap-timezone');
380
+ if (checkTimezone(sTimezone)) {
381
+ this.timezone = sTimezone;
382
+ }
383
+ }
384
+
375
385
  if (oUriParams.has('sap-theme')) {
376
386
  var sValue = oUriParams.get('sap-theme');
377
387
  if (sValue === "") {
@@ -633,7 +643,7 @@ sap.ui.define([
633
643
  /**
634
644
  * Returns a string that identifies the current language.
635
645
  *
636
- * The value returned by this methods in most cases corresponds to the exact value that has been
646
+ * The value returned by this method in most cases corresponds to the exact value that has been
637
647
  * configured by the user or application or that has been determined from the user agent settings.
638
648
  * It has not been normalized, but has been validated against a relaxed version of
639
649
  * {@link http://www.ietf.org/rfc/bcp/bcp47.txt BCP47}, allowing underscores ('_') instead of the
@@ -693,6 +703,18 @@ sap.ui.define([
693
703
  return (this.sapLogonLanguage && this.sapLogonLanguage.toUpperCase()) || this.language.getSAPLogonLanguage();
694
704
  },
695
705
 
706
+ /**
707
+ * Retrieves the configured IANA timezone ID
708
+ *
709
+ * @returns {string} The configured IANA timezone ID, e.g. "America/New_York"
710
+ * @public
711
+ * @since 1.99.0
712
+ * @experimental As of version 1.99.0, time zones are currently not supported by all controls.
713
+ */
714
+ getTimezone : function () {
715
+ return this.timezone;
716
+ },
717
+
696
718
  /**
697
719
  * Sets a new language to be used from now on for language/region dependent
698
720
  * functionality (e.g. formatting, data types, translated texts, ...).
@@ -779,6 +801,36 @@ sap.ui.define([
779
801
  return this;
780
802
  },
781
803
 
804
+ /**
805
+ * Sets the timezone such that all date and time based calculations use this timezone.
806
+ *
807
+ * When the timezone has changed, the Core will fire its
808
+ * {@link sap.ui.core.Core#event:localizationChanged localizationChanged} event.
809
+ *
810
+ * @param {string|null} [sTimezone] IANA timezone ID, e.g. "America/New_York". Use <code>null</code> to reset the timezone to the browser's local timezone.
811
+ * An invalid IANA timezone ID will fall back to the browser's timezone.
812
+ * @public
813
+ * @return {this} <code>this</code> to allow method chaining
814
+ * @since 1.99.0
815
+ * @experimental As of version 1.99.0, time zones are currently not supported by all controls.
816
+ */
817
+ setTimezone : function (sTimezone) {
818
+ check(sTimezone == null || typeof sTimezone === 'string',
819
+ "Configuration.setTimezone: sTimezone must be null or be a string", /* warn= */ true);
820
+
821
+ if (sTimezone == null || !checkTimezone(sTimezone)) {
822
+ sTimezone = TimezoneUtil.getLocalTimezone();
823
+ }
824
+ if (this.timezone !== sTimezone) {
825
+ this.timezone = sTimezone;
826
+
827
+ var mChanges = this._collect();
828
+ mChanges.timezone = sTimezone;
829
+ this._endCollect();
830
+ }
831
+ return this;
832
+ },
833
+
782
834
  /**
783
835
  * Returns a Locale object for the current language.
784
836
  *
@@ -1006,7 +1058,7 @@ sap.ui.define([
1006
1058
  },
1007
1059
 
1008
1060
  /**
1009
- * Returns whether the framework automatically adds automatically
1061
+ * Returns whether the framework automatically adds
1010
1062
  * the ARIA role 'application' to the HTML body or not.
1011
1063
  * @return {boolean}
1012
1064
  * @since 1.27.0
@@ -1538,9 +1590,8 @@ sap.ui.define([
1538
1590
  },
1539
1591
 
1540
1592
  /**
1541
- * Sets the security token handlers for an OData V4 model. See chapter "Security Token
1542
- * Handling" in
1543
- * {@link topic:9613f1f2d88747cab21896f7216afdac Model Instantiation and Data Access}.
1593
+ * Sets the security token handlers for an OData V4 model. See chapter
1594
+ * {@link topic:9613f1f2d88747cab21896f7216afdac/section_STH Security Token Handling}.
1544
1595
  *
1545
1596
  * @param {function[]} aSecurityTokenHandlers - The security token handlers
1546
1597
  * @public
@@ -1732,6 +1783,21 @@ sap.ui.define([
1732
1783
  throw new Error("Unsupported Enumeration value for " + sPropertyName + ", valid values are: " + aValidValues.join(", "));
1733
1784
  }
1734
1785
 
1786
+ /**
1787
+ * Checks if the provided timezone is valid and logs an error if not.
1788
+ *
1789
+ * @param {string} sTimezone The IANA timezone ID
1790
+ * @returns {boolean} Returns true if the timezone is valid
1791
+ */
1792
+ function checkTimezone(sTimezone) {
1793
+ var bIsValidTimezone = TimezoneUtil.isValidTimezone(sTimezone);
1794
+ if (!bIsValidTimezone) {
1795
+ Log.error("The provided timezone '" + sTimezone + "' is not a valid IANA timezone ID." +
1796
+ " Falling back to browser's local timezone '" + TimezoneUtil.getLocalTimezone() + "'.");
1797
+ }
1798
+ return bIsValidTimezone;
1799
+ }
1800
+
1735
1801
  /**
1736
1802
  * @class Encapsulates configuration settings that are related to data formatting/parsing.
1737
1803
  *
@@ -1843,7 +1909,7 @@ sap.ui.define([
1843
1909
  * * In the patterns <code>{0}</code> is replaced by the number
1844
1910
  *
1845
1911
  * E.g. In locale 'en' value <code>1</code> would result in <code>1 Bag</code>, while <code>2</code> would result in <code>2 Bags</code>
1846
- * @param mUnits {object} custom unit object which replaces the current custom unit definition. Call with <code>null</code> to delete custom units.
1912
+ * @param {object} mUnits custom unit object which replaces the current custom unit definition. Call with <code>null</code> to delete custom units.
1847
1913
  * @returns {this}
1848
1914
  */
1849
1915
  setCustomUnits: function (mUnits) {
@@ -1861,7 +1927,7 @@ sap.ui.define([
1861
1927
  /**
1862
1928
  * Adds custom units.
1863
1929
  * Similar to {@link sap.ui.core.Configuration#setCustomUnits} but instead of setting the custom units, it will add additional ones.
1864
- * @param mUnits {object} custom unit object which replaces the current custom unit definition. Call with <code>null</code> to delete custom units.
1930
+ * @param {object} mUnits custom unit object which replaces the current custom unit definition. Call with <code>null</code> to delete custom units.
1865
1931
  * @returns {this}
1866
1932
  * @see sap.ui.core.Configuration#setCustomUnits
1867
1933
  */
@@ -1890,7 +1956,7 @@ sap.ui.define([
1890
1956
  * </code>
1891
1957
  * Note: It is possible to create multiple entries per unit key.
1892
1958
  * Call with <code>null</code> to delete unit mappings.
1893
- * @param mUnitMappings {object} unit mappings
1959
+ * @param {object} mUnitMappings unit mappings
1894
1960
  * @returns {this} Returns <code>this</code> to allow method chaining
1895
1961
  */
1896
1962
  setUnitMappings: function (mUnitMappings) {
@@ -1901,7 +1967,7 @@ sap.ui.define([
1901
1967
  /**
1902
1968
  * Adds unit mappings.
1903
1969
  * Similar to {@link sap.ui.core.Configuration#setUnitMappings} but instead of setting the unit mappings, it will add additional ones.
1904
- * @param mUnitMappings {object} unit mappings
1970
+ * @param {object} mUnitMappings unit mappings
1905
1971
  * @returns {this}
1906
1972
  * @see sap.ui.core.Configuration#setUnitMappings
1907
1973
  */
@@ -2015,7 +2081,7 @@ sap.ui.define([
2015
2081
  * specific parts of the UI. See the documentation of {@link sap.ui.core.Configuration#setLanguage}
2016
2082
  * for details and restrictions.
2017
2083
  *
2018
- * @param {string} sStyle must be one of decimal, group, plusSign, minusSign.
2084
+ * @param {string} sType must be one of decimal, group, plusSign, minusSign.
2019
2085
  * @param {string} sSymbol will be used to represent the given symbol type
2020
2086
  * @returns {this} Returns <code>this</code> to allow method chaining
2021
2087
  * @public
@@ -77,7 +77,7 @@ sap.ui.define([
77
77
  * @extends sap.ui.core.Element
78
78
  * @abstract
79
79
  * @author SAP SE
80
- * @version 1.96.5
80
+ * @version 1.99.0
81
81
  * @alias sap.ui.core.Control
82
82
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
83
83
  */
@@ -275,6 +275,7 @@ sap.ui.define([
275
275
  * @param {string} [sIdSuffix] a suffix to be appended to the cloned element id
276
276
  * @param {string[]} [aLocalIds] an array of local IDs within the cloned hierarchy (internally used)
277
277
  * @returns {this} reference to the newly created clone
278
+ * @override
278
279
  * @public
279
280
  */
280
281
  Control.prototype.clone = function() {
@@ -498,7 +499,7 @@ sap.ui.define([
498
499
  * <b>IMPORTANT:</b></br>
499
500
  * This should be only used as FALLBACK when the Control events do not cover a specific use-case! Always try using
500
501
  * SAPUI5 control events, as e.g. accessibility-related functionality is then provided automatically.
501
- * E.g. when working with a <code>sap.ui.commons.Button</code>, always use the Button's "press" event, not the native "click" event, because
502
+ * E.g. when working with a <code>sap.m.Button</code>, always use the Button's "press" event, not the native "click" event, because
502
503
  * "press" is also guaranteed to be fired when certain keyboard activity is supposed to trigger the Button.
503
504
  *
504
505
  * In the event handler, <code>this</code> refers to the Control - not to the root DOM element like in jQuery. While the DOM element can
@@ -683,7 +684,7 @@ sap.ui.define([
683
684
  } else {
684
685
  // core not yet initialized, defer execution
685
686
  var that = this;
686
- oCore.attachInitEvent(function () {
687
+ oCore.attachInit(function () {
687
688
  that.placeAt(oRef, vPosition);
688
689
  });
689
690
  }
@@ -210,7 +210,7 @@ sap.ui.define([
210
210
  * @extends sap.ui.base.Object
211
211
  * @final
212
212
  * @author SAP SE
213
- * @version 1.96.5
213
+ * @version 1.99.0
214
214
  * @alias sap.ui.core.Core
215
215
  * @public
216
216
  * @hideconstructor
@@ -809,9 +809,6 @@ sap.ui.define([
809
809
  case Device.os.OS.ANDROID:
810
810
  osCSS = "sap-android";
811
811
  break;
812
- case Device.os.OS.BLACKBERRY:
813
- osCSS = "sap-bb";
814
- break;
815
812
  }
816
813
  if (osCSS) {
817
814
  html.classList.add(osCSS);
@@ -3553,13 +3550,13 @@ sap.ui.define([
3553
3550
  * @param {string} sUIAreaId id of the UIArea that received the event
3554
3551
  * @private
3555
3552
  */
3556
- Core.prototype._handleControlEvent = function(/**event*/oEvent, sUiAreaId) {
3553
+ Core.prototype._handleControlEvent = function(/**event*/oEvent, sUIAreaId) {
3557
3554
  // Create a copy of the event
3558
3555
  var oEventClone = jQuery.Event(oEvent.type);
3559
3556
  Object.assign(oEventClone, oEvent);
3560
3557
  oEventClone.originalEvent = undefined;
3561
3558
 
3562
- this.fireControlEvent({"browserEvent": oEventClone, "uiArea": sUiAreaId});
3559
+ this.fireControlEvent({"browserEvent": oEventClone, "uiArea": sUIAreaId});
3563
3560
  };
3564
3561
 
3565
3562
 
@@ -4276,7 +4273,7 @@ sap.ui.define([
4276
4273
  * <pre>
4277
4274
  * &lt;div id="SAPUI5UiArea">&lt;/div>
4278
4275
  * &lt;script>
4279
- * var oRoot = new sap.ui.commons.Label();
4276
+ * var oRoot = new sap.m.Label();
4280
4277
  * oRoot.setText("Hello world!");
4281
4278
  * sap.ui.setRoot("SAPUI5UiArea", oRoot);
4282
4279
  * &lt;/script>
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.96.5
27
+ * @version 1.99.0
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.CustomData
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class Static class for enabling declarative UI support.
41
41
  *
42
42
  * @author Peter Muessig, Tino Butz
43
- * @version 1.96.5
43
+ * @version 1.99.0
44
44
  * @since 1.7.0
45
45
  * @public
46
46
  * @alias sap.ui.core.DeclarativeSupport
@@ -126,7 +126,7 @@ sap.ui.define([
126
126
  *
127
127
  * @extends sap.ui.base.ManagedObject
128
128
  * @author SAP SE
129
- * @version 1.96.5
129
+ * @version 1.99.0
130
130
  * @public
131
131
  * @alias sap.ui.core.Element
132
132
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -519,11 +519,6 @@ sap.ui.define([
519
519
  return this; // explicitly return 'this' to fix controls that override destroyAggregation wrongly
520
520
  };
521
521
 
522
-
523
- /// cyclic dependency
524
- //jQuery.sap.require("sap.ui.core.TooltipBase"); /// cyclic dependency
525
-
526
-
527
522
  /**
528
523
  * This triggers immediate rerendering of its parent and thus of itself and its children.
529
524
  *
@@ -842,6 +837,7 @@ sap.ui.define([
842
837
  * @param {object} [oFocusInfo={}] Options for setting the focus
843
838
  * @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 if it's set to true, the focused
844
839
  * element won't be shifted into the viewport if it's not completely visible before the focus is set
840
+ * @param {any} [oFocusInfo.targetInfo] Further control-specific setting of the focus target within the control @since 1.98
845
841
  * @public
846
842
  */
847
843
  Element.prototype.focus = function (oFocusInfo) {
@@ -1423,12 +1419,9 @@ sap.ui.define([
1423
1419
  *
1424
1420
  * There's no difference between <code>bindElement</code> and {@link sap.ui.base.ManagedObject#bindObject}.
1425
1421
  *
1426
- * @param {string|object} vPath the binding path or an object with more detailed binding options
1427
- * @param {string} vPath.path the binding path
1428
- * @param {object} [vPath.parameters] map of additional parameters for this binding
1429
- * @param {string} [vPath.model] name of the model
1430
- * @param {object} [vPath.events] map of event listeners for the binding events
1431
- * @param {object} [mParameters] map of additional parameters for this binding (only taken into account when vPath is a string in that case it corresponds to vPath.parameters).
1422
+ * @param {string|sap.ui.base.ManagedObject.ObjectBindingInfo} vPath the binding path or an object with more detailed binding options
1423
+ * @param {object} [mParameters] map of additional parameters for this binding.
1424
+ * Only taken into account when <code>vPath</code> is a string. In that case it corresponds to <code>mParameters</code> of {@link sap.ui.base.ManagedObject.ObjectBindingInfo}.
1432
1425
  * The supported parameters are listed in the corresponding model-specific implementation of <code>sap.ui.model.ContextBinding</code>.
1433
1426
  *
1434
1427
  * @returns {this} reference to the instance itself
@@ -1674,6 +1667,7 @@ sap.ui.define([
1674
1667
  *
1675
1668
  * @namespace sap.ui.core.Element.registry
1676
1669
  * @public
1670
+ * @since 1.67
1677
1671
  */
1678
1672
 
1679
1673
  /**
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @class
25
25
  * @author SAP SE
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  * @since 0.8.6
28
28
  * @alias sap.ui.core.ElementMetadata
29
29
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -41,7 +41,7 @@ sap.ui.define([], function() {
41
41
  *
42
42
  * @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
43
43
  * @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
44
- * @version 1.96.5
44
+ * @version 1.99.0
45
45
  * @public
46
46
  * @class
47
47
  * @alias sap.ui.core.EnabledPropagator
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @extends sap.ui.base.Object
32
32
  * @author SAP SE
33
- * @version 1.96.5
33
+ * @version 1.99.0
34
34
  * @public
35
35
  * @since 1.8.0
36
36
  * @alias sap.ui.core.EventBus
@@ -113,7 +113,7 @@ sap.ui.define(["sap/base/Log", "sap/base/util/ObjectPath", "sap/ui/core/mvc/View
113
113
  // We cannot model the Fragment class as a dependency of the ExtensionPoint class,
114
114
  // since the XML Fragments rely on the XMLTP for parsing and thus create a cyclic dependency:
115
115
  // XMLTP -> ExtensionPoint -> Fragment -> XMLTP
116
- var Fragment = sap.ui.require("sap.ui.core.Fragment");
116
+ var Fragment = sap.ui.require("sap/ui/core/Fragment");
117
117
 
118
118
  oFactoryConfig.fragmentName = oExtensionConfig.fragmentName;
119
119
  oFactoryConfig.containingView = oView;
@@ -201,7 +201,7 @@ sap.ui.define([
201
201
  /**
202
202
  * Handles the focus/blur events.
203
203
  *
204
- * @param oRootRef e.g. document.body
204
+ * @param {FocusEvent} oBrowserEvent Native browser focus/blur event object
205
205
  * @private
206
206
  */
207
207
  FocusHandler.prototype.onEvent = function(oBrowserEvent){
@@ -60,7 +60,7 @@ function(
60
60
  * @class
61
61
  * @extends sap.ui.base.ManagedObject
62
62
  * @author SAP SE
63
- * @version 1.96.5
63
+ * @version 1.99.0
64
64
  * @public
65
65
  * @alias sap.ui.core.Fragment
66
66
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.96.5
47
+ * @version 1.99.0
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.HTML
@@ -83,8 +83,8 @@ sap.ui.define([
83
83
  * @SecSink {,XSS} The content of the 'content' property is rendered 1:1 to allow the full
84
84
  * flexibility of HTML in UI5 applications. Applications therefore must ensure, that they don't
85
85
  * set malicious content (e.g. derived from user input). UI5 does not provide an HTML validation
86
- * function. jQuery.sap.encodeHTML will encode any HTML relevant character, but this is in
87
- * nearly all cases not what applications want here.
86
+ * function. {@link sap/base/security/encodeXML encodeXML} will encode any HTML relevant character,
87
+ * but this is in nearly all cases not what applications want here.
88
88
  */
89
89
  content : {type : "string", group : "Misc", defaultValue : null},
90
90
 
@@ -20,7 +20,7 @@ sap.ui.define(['./RenderManager'], function(RenderManager) {
20
20
  * Renders either the configured content or a dummy div that will be replaced after rendering
21
21
  *
22
22
  * @param {sap.ui.core.RenderManager} [oRM] The RenderManager instance
23
- * @param {sap.ui.core.Control} [oControl] The instance of the invisible control
23
+ * @param {sap.ui.core.HTML} [oControl] The instance of the invisible control
24
24
  */
25
25
  render : function(oRM, oControl) {
26
26
  // render an invisible, but easily identifiable placeholder for the content
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/util/Storage"],
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  * @author SAP SE
25
- * @version 1.96.5
25
+ * @version 1.99.0
26
26
  * @alias sap.ui.core.History
27
27
  * @protected
28
28
  */
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @implements sap.ui.core.IFormContent
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.96.5
73
+ * @version 1.99.0
74
74
  *
75
75
  * @public
76
76
  * @since 1.11.1
@@ -520,8 +520,7 @@ sap.ui.define([
520
520
  });
521
521
  this.setAggregation("_invisibleText", oInvisibleText, true);
522
522
  } else {
523
- // avoid triggering invalidation during rendering
524
- oInvisibleText.setProperty("text", sText, true);
523
+ oInvisibleText.setText(sText);
525
524
  }
526
525
 
527
526
  return oInvisibleText;
@@ -22,7 +22,7 @@ sap.ui.define(['./_IconRegistry', './library', "sap/base/security/encodeCSS"], f
22
22
  * Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
23
23
  *
24
24
  * @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer.
25
- * @param {sap.ui.core.Control} oControl An object representation of the control that should be rendered.
25
+ * @param {sap.ui.core.Icon} oControl An object representation of the control that should be rendered.
26
26
  */
27
27
  IconRenderer.render = function(oRm, oControl) {
28
28
  // write the HTML into the render manager
@@ -16,7 +16,7 @@ sap.ui.define(['./library'],
16
16
  * Helper functionality for indication color support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.96.5
19
+ * @version 1.99.0
20
20
  * @public
21
21
  * @namespace sap.ui.core.IndicationColorSupport
22
22
  * @since 1.66
@@ -23,7 +23,7 @@ sap.ui.define(['../base/Object', './EventBus', "sap/base/assert"],
23
23
  *
24
24
  * @extends sap.ui.base.Object
25
25
  * @author SAP SE
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  * @public
28
28
  * @since 1.11.0
29
29
  * @alias sap.ui.core.IntervalTrigger
@@ -32,7 +32,7 @@ function (coreLibrary, ManagedObject, Log) {
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.96.5
35
+ * @version 1.99.0
36
36
  * @hideconstructor
37
37
  * @public
38
38
  * @since 1.78
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  * Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
13
13
  *
14
14
  * @author SAP SE
15
- * @version 1.96.5
15
+ * @version 1.99.0
16
16
  * @alias module:sap/ui/core/InvisibleRenderer
17
17
  * @since 1.66.0
18
18
  * @protected
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.core.Control
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.96.5
32
+ * @version 1.99.0
33
33
  *
34
34
  * @public
35
35
  * @since 1.27.0
@@ -24,7 +24,7 @@ sap.ui.define(['./Element', './library'],
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.96.5
27
+ * @version 1.99.0
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.Item
@@ -14,7 +14,14 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
14
14
 
15
15
  // The controls which should not be referenced by a "for" attribute (Specified in the HTML standard).
16
16
  // Extend when needed.
17
- var NON_LABELABLE_CONTROLS = ["sap.ui.comp.navpopover.SmartLink", "sap.m.Link", "sap.m.Label", "sap.m.Text"];
17
+ var NON_LABELABLE_CONTROLS = [
18
+ "sap.ui.comp.navpopover.SmartLink",
19
+ "sap.m.Link",
20
+ "sap.m.Label",
21
+ "sap.m.Text",
22
+ "sap.ui.webc.main.Label",
23
+ "sap.ui.webc.main.Link"
24
+ ];
18
25
 
19
26
  // Returns the control for the given id (if available) and invalidates it if desired
20
27
  function toControl(sId, bInvalidate) {
@@ -129,7 +136,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
129
136
  * @see sap.ui.core.LabelEnablement#enrich
130
137
  *
131
138
  * @author SAP SE
132
- * @version 1.96.5
139
+ * @version 1.99.0
133
140
  * @protected
134
141
  * @alias sap.ui.core.LabelEnablement
135
142
  * @namespace
@@ -23,7 +23,7 @@ sap.ui.define(['./Element', "sap/ui/thirdparty/jquery", './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.96.5
26
+ * @version 1.99.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.96.5
35
+ * @version 1.99.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.11.0
@@ -13,7 +13,7 @@ sap.ui.define(function() {
13
13
  * @param {sap.ui.core.RenderManager}
14
14
  * oRm the RenderManager that can be used for writing to the
15
15
  * render output buffer
16
- * @param {sap.ui.core.Control}
16
+ * @param {sap.ui.core.LocalBusyIndicator}
17
17
  * oControl an object representation of the control that should
18
18
  * be rendered
19
19
  * @private
@@ -53,7 +53,7 @@ sap.ui.define(function() {
53
53
  * @param {sap.ui.core.RenderManager}
54
54
  * oRm the RenderManager that can be used for writing to the
55
55
  * render output buffer
56
- * @param {sap.ui.core.Control}
56
+ * @param {sap.ui.core.LocalBusyIndicator}
57
57
  * oControl an object representation of the control that should
58
58
  * be rendered
59
59
  */
@@ -15,7 +15,7 @@ sap.ui.define(['./Control', "sap/base/Log"],
15
15
  *
16
16
  * @function
17
17
  * @private
18
- * @deprecated
18
+ * @deprecated Since 1.15
19
19
  * @alias sap.ui.core.LocalBusyIndicatorSupport
20
20
  */
21
21
  var LocalBusyIndicatorSupport = function() {
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
38
38
  *
39
39
  * @extends sap.ui.base.Object
40
40
  * @author SAP SE
41
- * @version 1.96.5
41
+ * @version 1.99.0
42
42
  * @public
43
43
  * @alias sap.ui.core.Locale
44
44
  */