@openui5/sap.ui.core 1.101.0 → 1.103.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 (405) hide show
  1. package/.eslintrc.json +26 -5
  2. package/THIRDPARTY.txt +1 -1
  3. package/package.json +1 -1
  4. package/src/jquery.sap.global.js +2 -2
  5. package/src/jquery.sap.properties.js +1 -1
  6. package/src/jquery.sap.resources.js +1 -1
  7. package/src/jquery.sap.script.js +1 -1
  8. package/src/jquery.sap.storage.js +3 -3
  9. package/src/sap/base/assert.js +1 -1
  10. package/src/sap/base/i18n/ResourceBundle.js +2 -2
  11. package/src/sap/base/strings/whitespaceReplacer.js +1 -1
  12. package/src/sap/base/util/restricted/_CancelablePromise.js +2 -2
  13. package/src/sap/base/util/restricted/_castArray.js +1 -1
  14. package/src/sap/base/util/restricted/_compact.js +1 -1
  15. package/src/sap/base/util/restricted/_curry.js +1 -1
  16. package/src/sap/base/util/restricted/_debounce.js +1 -1
  17. package/src/sap/base/util/restricted/_difference.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_flatten.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_intersection.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isNil.js +1 -1
  32. package/src/sap/base/util/restricted/_max.js +1 -1
  33. package/src/sap/base/util/restricted/_merge.js +1 -1
  34. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  35. package/src/sap/base/util/restricted/_min.js +1 -1
  36. package/src/sap/base/util/restricted/_omit.js +1 -1
  37. package/src/sap/base/util/restricted/_pick.js +1 -1
  38. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  39. package/src/sap/base/util/restricted/_throttle.js +1 -1
  40. package/src/sap/base/util/restricted/_toArray.js +1 -1
  41. package/src/sap/base/util/restricted/_union.js +1 -1
  42. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  43. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  44. package/src/sap/base/util/restricted/_uniq.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  47. package/src/sap/base/util/restricted/_without.js +1 -1
  48. package/src/sap/base/util/restricted/_xor.js +1 -1
  49. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  50. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  53. package/src/sap/ui/Device.js +9 -3
  54. package/src/sap/ui/Global.js +4 -4
  55. package/src/sap/ui/VersionInfo.js +12 -6
  56. package/src/sap/ui/base/Event.js +1 -1
  57. package/src/sap/ui/base/EventProvider.js +2 -2
  58. package/src/sap/ui/base/ExpressionParser.js +2 -2
  59. package/src/sap/ui/base/Interface.js +1 -1
  60. package/src/sap/ui/base/ManagedObject.js +10 -8
  61. package/src/sap/ui/base/ManagedObjectMetadata.js +21 -8
  62. package/src/sap/ui/base/Metadata.js +1 -1
  63. package/src/sap/ui/base/Object.js +1 -1
  64. package/src/sap/ui/base/ObjectPool.js +1 -1
  65. package/src/sap/ui/base/SyncPromise.js +2 -0
  66. package/src/sap/ui/core/.library +2 -89
  67. package/src/sap/ui/core/AppCacheBuster.js +4 -4
  68. package/src/sap/ui/core/BusyIndicator.js +1 -1
  69. package/src/sap/ui/core/CommandExecution.js +15 -12
  70. package/src/sap/ui/core/Component.js +34 -15
  71. package/src/sap/ui/core/ComponentContainer.js +1 -1
  72. package/src/sap/ui/core/ComponentMetadata.js +27 -12
  73. package/src/sap/ui/core/ComponentSupport.js +1 -1
  74. package/src/sap/ui/core/Configuration.js +23 -9
  75. package/src/sap/ui/core/Control.js +3 -4
  76. package/src/sap/ui/core/Core.js +102 -34
  77. package/src/sap/ui/core/CustomData.js +1 -1
  78. package/src/sap/ui/core/DeclarativeSupport.js +10 -9
  79. package/src/sap/ui/core/Element.js +12 -11
  80. package/src/sap/ui/core/ElementMetadata.js +1 -1
  81. package/src/sap/ui/core/EnabledPropagator.js +4 -2
  82. package/src/sap/ui/core/EventBus.js +1 -1
  83. package/src/sap/ui/core/ExtensionPoint.js +1 -1
  84. package/src/sap/ui/core/FocusHandler.js +4 -5
  85. package/src/sap/ui/core/Fragment.js +17 -14
  86. package/src/sap/ui/core/HTML.js +2 -2
  87. package/src/sap/ui/core/History.js +1 -1
  88. package/src/sap/ui/core/Icon.js +7 -7
  89. package/src/sap/ui/core/IconPool.js +1 -3
  90. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  91. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  92. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  93. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  94. package/src/sap/ui/core/InvisibleText.js +1 -1
  95. package/src/sap/ui/core/Item.js +1 -1
  96. package/src/sap/ui/core/LabelEnablement.js +1 -1
  97. package/src/sap/ui/core/LayoutData.js +1 -1
  98. package/src/sap/ui/core/ListItem.js +1 -1
  99. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  100. package/src/sap/ui/core/Locale.js +28 -4
  101. package/src/sap/ui/core/LocaleData.js +119 -1
  102. package/src/sap/ui/core/Manifest.js +1 -1
  103. package/src/sap/ui/core/Message.js +1 -1
  104. package/src/sap/ui/core/Popup.js +16 -16
  105. package/src/sap/ui/core/RenderManager.js +1 -1
  106. package/src/sap/ui/core/Renderer.js +1 -1
  107. package/src/sap/ui/core/ResizeHandler.js +1 -1
  108. package/src/sap/ui/core/ScrollBar.js +21 -15
  109. package/src/sap/ui/core/SeparatorItem.js +1 -1
  110. package/src/sap/ui/core/ShortcutHintsMixin.js +2 -4
  111. package/src/sap/ui/core/ThemeCheck.js +7 -7
  112. package/src/sap/ui/core/Title.js +1 -1
  113. package/src/sap/ui/core/TooltipBase.js +1 -1
  114. package/src/sap/ui/core/UIArea.js +5 -6
  115. package/src/sap/ui/core/UIComponent.js +2 -2
  116. package/src/sap/ui/core/UIComponentMetadata.js +2 -2
  117. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  118. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  119. package/src/sap/ui/core/XMLComposite.js +1 -1
  120. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  121. package/src/sap/ui/core/XMLTemplateProcessor.js +515 -392
  122. package/src/sap/ui/core/cache/CacheManager.js +27 -0
  123. package/src/sap/ui/core/cache/CacheManagerNOP.js +3 -0
  124. package/src/sap/ui/core/cache/LRUPersistentCache.js +75 -3
  125. package/src/sap/ui/core/cldr/ar.json +469 -1
  126. package/src/sap/ui/core/cldr/ar_EG.json +469 -1
  127. package/src/sap/ui/core/cldr/ar_SA.json +469 -1
  128. package/src/sap/ui/core/cldr/bg.json +469 -1
  129. package/src/sap/ui/core/cldr/ca.json +469 -1
  130. package/src/sap/ui/core/cldr/cs.json +469 -1
  131. package/src/sap/ui/core/cldr/cy.json +469 -1
  132. package/src/sap/ui/core/cldr/da.json +469 -1
  133. package/src/sap/ui/core/cldr/de.json +469 -1
  134. package/src/sap/ui/core/cldr/de_AT.json +469 -1
  135. package/src/sap/ui/core/cldr/de_CH.json +469 -1
  136. package/src/sap/ui/core/cldr/el.json +469 -1
  137. package/src/sap/ui/core/cldr/el_CY.json +469 -1
  138. package/src/sap/ui/core/cldr/en.json +469 -1
  139. package/src/sap/ui/core/cldr/en_AU.json +469 -1
  140. package/src/sap/ui/core/cldr/en_GB.json +469 -1
  141. package/src/sap/ui/core/cldr/en_HK.json +469 -1
  142. package/src/sap/ui/core/cldr/en_IE.json +469 -1
  143. package/src/sap/ui/core/cldr/en_IN.json +469 -1
  144. package/src/sap/ui/core/cldr/en_NZ.json +469 -1
  145. package/src/sap/ui/core/cldr/en_PG.json +469 -1
  146. package/src/sap/ui/core/cldr/en_SG.json +469 -1
  147. package/src/sap/ui/core/cldr/en_ZA.json +469 -1
  148. package/src/sap/ui/core/cldr/es.json +469 -1
  149. package/src/sap/ui/core/cldr/es_AR.json +469 -1
  150. package/src/sap/ui/core/cldr/es_BO.json +469 -1
  151. package/src/sap/ui/core/cldr/es_CL.json +469 -1
  152. package/src/sap/ui/core/cldr/es_CO.json +469 -1
  153. package/src/sap/ui/core/cldr/es_MX.json +469 -1
  154. package/src/sap/ui/core/cldr/es_PE.json +469 -1
  155. package/src/sap/ui/core/cldr/es_UY.json +469 -1
  156. package/src/sap/ui/core/cldr/es_VE.json +469 -1
  157. package/src/sap/ui/core/cldr/et.json +469 -1
  158. package/src/sap/ui/core/cldr/fa.json +469 -1
  159. package/src/sap/ui/core/cldr/fi.json +469 -1
  160. package/src/sap/ui/core/cldr/fr.json +469 -1
  161. package/src/sap/ui/core/cldr/fr_BE.json +469 -1
  162. package/src/sap/ui/core/cldr/fr_CA.json +469 -1
  163. package/src/sap/ui/core/cldr/fr_CH.json +469 -1
  164. package/src/sap/ui/core/cldr/fr_LU.json +469 -1
  165. package/src/sap/ui/core/cldr/he.json +469 -1
  166. package/src/sap/ui/core/cldr/hi.json +469 -1
  167. package/src/sap/ui/core/cldr/hr.json +469 -1
  168. package/src/sap/ui/core/cldr/hu.json +469 -1
  169. package/src/sap/ui/core/cldr/id.json +469 -1
  170. package/src/sap/ui/core/cldr/it.json +469 -1
  171. package/src/sap/ui/core/cldr/it_CH.json +469 -1
  172. package/src/sap/ui/core/cldr/ja.json +469 -1
  173. package/src/sap/ui/core/cldr/kk.json +469 -1
  174. package/src/sap/ui/core/cldr/ko.json +469 -1
  175. package/src/sap/ui/core/cldr/lt.json +469 -1
  176. package/src/sap/ui/core/cldr/lv.json +469 -1
  177. package/src/sap/ui/core/cldr/ms.json +469 -1
  178. package/src/sap/ui/core/cldr/nb.json +469 -1
  179. package/src/sap/ui/core/cldr/nl.json +469 -1
  180. package/src/sap/ui/core/cldr/nl_BE.json +469 -1
  181. package/src/sap/ui/core/cldr/pl.json +469 -1
  182. package/src/sap/ui/core/cldr/pt.json +469 -1
  183. package/src/sap/ui/core/cldr/pt_PT.json +469 -1
  184. package/src/sap/ui/core/cldr/ro.json +469 -1
  185. package/src/sap/ui/core/cldr/ru.json +469 -1
  186. package/src/sap/ui/core/cldr/ru_UA.json +469 -1
  187. package/src/sap/ui/core/cldr/sk.json +469 -1
  188. package/src/sap/ui/core/cldr/sl.json +469 -1
  189. package/src/sap/ui/core/cldr/sr.json +469 -1
  190. package/src/sap/ui/core/cldr/sr_Latn.json +469 -1
  191. package/src/sap/ui/core/cldr/sv.json +469 -1
  192. package/src/sap/ui/core/cldr/th.json +469 -1
  193. package/src/sap/ui/core/cldr/tr.json +469 -1
  194. package/src/sap/ui/core/cldr/uk.json +469 -1
  195. package/src/sap/ui/core/cldr/vi.json +469 -1
  196. package/src/sap/ui/core/cldr/zh_CN.json +470 -2
  197. package/src/sap/ui/core/cldr/zh_HK.json +470 -2
  198. package/src/sap/ui/core/cldr/zh_SG.json +470 -2
  199. package/src/sap/ui/core/cldr/zh_TW.json +469 -1
  200. package/src/sap/ui/core/delegate/ItemNavigation.js +13 -14
  201. package/src/sap/ui/core/delegate/ScrollEnablement.js +11 -7
  202. package/src/sap/ui/core/dnd/DragAndDrop.js +3 -3
  203. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  204. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  205. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  206. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  207. package/src/sap/ui/core/format/DateFormat.js +43 -28
  208. package/src/sap/ui/core/format/NumberFormat.js +30 -30
  209. package/src/sap/ui/core/format/TimezoneUtil.js +48 -16
  210. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  211. package/src/sap/ui/core/library.js +3 -3
  212. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  213. package/src/sap/ui/core/message/Message.js +1 -1
  214. package/src/sap/ui/core/message/MessageManager.js +1 -1
  215. package/src/sap/ui/core/message/MessageParser.js +2 -2
  216. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  217. package/src/sap/ui/core/messagebundle_el.properties +2 -2
  218. package/src/sap/ui/core/messagebundle_it.properties +56 -56
  219. package/src/sap/ui/core/mvc/ControllerExtension.js +1 -1
  220. package/src/sap/ui/core/mvc/HTMLView.js +12 -12
  221. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  222. package/src/sap/ui/core/mvc/JSView.js +2 -2
  223. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  224. package/src/sap/ui/core/mvc/View.js +2 -1
  225. package/src/sap/ui/core/mvc/XMLView.js +12 -20
  226. package/src/sap/ui/core/mvc/XMLViewRenderer.js +81 -62
  227. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  228. package/src/sap/ui/core/plugin/LessSupport.js +3 -3
  229. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  230. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  231. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  232. package/src/sap/ui/core/routing/History.js +5 -3
  233. package/src/sap/ui/core/routing/Router.js +5 -3
  234. package/src/sap/ui/core/routing/Targets.js +2 -2
  235. package/src/sap/ui/core/rules/App.support.js +8 -8
  236. package/src/sap/ui/core/rules/Config.support.js +12 -12
  237. package/src/sap/ui/core/rules/Model.support.js +8 -8
  238. package/src/sap/ui/core/rules/Rendering.support.js +1 -1
  239. package/src/sap/ui/core/rules/Theming.support.js +4 -4
  240. package/src/sap/ui/core/rules/View.support.js +9 -9
  241. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  242. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  243. package/src/sap/ui/core/service/Service.js +1 -1
  244. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  245. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  246. package/src/sap/ui/core/support/Plugin.js +1 -1
  247. package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -1
  248. package/src/sap/ui/core/support/Support.js +2 -2
  249. package/src/sap/ui/core/support/ToolsAPI.js +4 -1
  250. package/src/sap/ui/core/support/plugins/ControlTree.js +9 -3
  251. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  252. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  253. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  254. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  255. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  256. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  257. package/src/sap/ui/core/support/plugins/ViewInfo.js +8 -22
  258. package/src/sap/ui/core/support/support.html +1 -1
  259. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +15 -1
  260. package/src/sap/ui/core/themes/base/base.less +4 -4
  261. package/src/sap/ui/core/themes/base/global.less +2 -0
  262. package/src/sap/ui/core/themes/sap_hcb/global.less +2 -0
  263. package/src/sap/ui/core/theming/Parameters.js +1 -1
  264. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  265. package/src/sap/ui/core/tmpl/DOMElement.js +2 -2
  266. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  267. package/src/sap/ui/core/tmpl/Template.js +4 -4
  268. package/src/sap/ui/core/tmpl/TemplateControl.js +2 -2
  269. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  270. package/src/sap/ui/core/util/Export.js +1 -1
  271. package/src/sap/ui/core/util/ExportCell.js +1 -1
  272. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  273. package/src/sap/ui/core/util/ExportRow.js +1 -1
  274. package/src/sap/ui/core/util/ExportType.js +1 -1
  275. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  276. package/src/sap/ui/core/util/File.js +1 -1
  277. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  278. package/src/sap/ui/core/util/MockServer.js +2 -2
  279. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  280. package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +2 -2
  281. package/src/sap/ui/core/util/XMLPreprocessor.js +1 -1
  282. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  283. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  284. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  285. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  286. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  287. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  288. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  289. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  290. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  291. package/src/sap/ui/core/ws/WebSocket.js +7 -8
  292. package/src/sap/ui/debug/ControlTree.js +1 -1
  293. package/src/sap/ui/debug/DebugEnv.js +1 -1
  294. package/src/sap/ui/debug/PropertyList.js +1 -1
  295. package/src/sap/ui/dom/_ready.js +34 -0
  296. package/src/sap/ui/dom/containsOrEquals.js +2 -2
  297. package/src/sap/ui/dom/getFirstEditableInput.js +2 -2
  298. package/src/sap/ui/dom/jquery/Focusable.js +1 -1
  299. package/src/sap/ui/dom/jquery/control.js +1 -1
  300. package/src/sap/ui/events/jquery/EventExtension.js +1 -1
  301. package/src/sap/ui/events/jquery/EventSimulation.js +1 -1
  302. package/src/sap/ui/model/ClientListBinding.js +127 -21
  303. package/src/sap/ui/model/ClientModel.js +1 -1
  304. package/src/sap/ui/model/CompositeDataState.js +1 -1
  305. package/src/sap/ui/model/CompositeType.js +1 -1
  306. package/src/sap/ui/model/DataState.js +1 -1
  307. package/src/sap/ui/model/ListBinding.js +32 -13
  308. package/src/sap/ui/model/MetaModel.js +1 -1
  309. package/src/sap/ui/model/Model.js +1 -1
  310. package/src/sap/ui/model/SelectionModel.js +1 -1
  311. package/src/sap/ui/model/SimpleType.js +1 -1
  312. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  313. package/src/sap/ui/model/TreeBindingAdapter.js +134 -0
  314. package/src/sap/ui/model/Type.js +1 -1
  315. package/src/sap/ui/model/_Helper.js +3 -1
  316. package/src/sap/ui/model/json/JSONListBinding.js +0 -58
  317. package/src/sap/ui/model/json/JSONModel.js +1 -1
  318. package/src/sap/ui/model/message/MessageListBinding.js +0 -42
  319. package/src/sap/ui/model/message/MessageModel.js +1 -1
  320. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  321. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  322. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  323. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  324. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  325. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +6 -0
  326. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +279 -4
  327. package/src/sap/ui/model/odata/OperationMode.js +6 -0
  328. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  329. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  330. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  331. package/src/sap/ui/model/odata/type/Date.js +1 -1
  332. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  333. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  334. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  335. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -2
  336. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  337. package/src/sap/ui/model/odata/type/Double.js +1 -1
  338. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  339. package/src/sap/ui/model/odata/type/Int.js +1 -1
  340. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  341. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  342. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  343. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  344. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  345. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  346. package/src/sap/ui/model/odata/type/Single.js +1 -1
  347. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  348. package/src/sap/ui/model/odata/type/String.js +1 -1
  349. package/src/sap/ui/model/odata/type/Time.js +1 -1
  350. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  351. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  352. package/src/sap/ui/model/odata/type/UnitMixin.js +1 -1
  353. package/src/sap/ui/model/odata/v2/Context.js +13 -4
  354. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  355. package/src/sap/ui/model/odata/v2/ODataListBinding.js +107 -34
  356. package/src/sap/ui/model/odata/v2/ODataModel.js +70 -22
  357. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +43 -7
  358. package/src/sap/ui/model/odata/v4/Context.js +31 -10
  359. package/src/sap/ui/model/odata/v4/ODataBinding.js +16 -8
  360. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +24 -1
  361. package/src/sap/ui/model/odata/v4/ODataListBinding.js +83 -27
  362. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +17 -10
  363. package/src/sap/ui/model/odata/v4/ODataModel.js +175 -6
  364. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +30 -1
  365. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +17 -6
  366. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +6 -6
  367. package/src/sap/ui/model/odata/v4/lib/_Cache.js +208 -85
  368. package/src/sap/ui/model/odata/v4/lib/_Helper.js +119 -42
  369. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
  370. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +60 -35
  371. package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +1 -1
  372. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  373. package/src/sap/ui/model/type/Boolean.js +1 -1
  374. package/src/sap/ui/model/type/Currency.js +1 -1
  375. package/src/sap/ui/model/type/Date.js +1 -1
  376. package/src/sap/ui/model/type/DateInterval.js +1 -1
  377. package/src/sap/ui/model/type/DateTime.js +1 -1
  378. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  379. package/src/sap/ui/model/type/FileSize.js +1 -1
  380. package/src/sap/ui/model/type/Float.js +1 -1
  381. package/src/sap/ui/model/type/Integer.js +1 -1
  382. package/src/sap/ui/model/type/String.js +1 -1
  383. package/src/sap/ui/model/type/Time.js +1 -1
  384. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  385. package/src/sap/ui/model/type/Unit.js +1 -1
  386. package/src/sap/ui/model/xml/XMLListBinding.js +0 -53
  387. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  388. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  389. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  390. package/src/sap/ui/security/FrameOptions.js +4 -2
  391. package/src/sap/ui/test/OpaBuilder.js +1 -1
  392. package/src/sap/ui/test/OpaPlugin.js +3 -3
  393. package/src/sap/ui/test/_ControlFinder.js +5 -4
  394. package/src/sap/ui/test/actions/Action.js +3 -3
  395. package/src/sap/ui/test/actions/Drag.js +2 -2
  396. package/src/sap/ui/test/actions/Drop.js +2 -2
  397. package/src/sap/ui/test/actions/EnterText.js +8 -8
  398. package/src/sap/ui/test/actions/Press.js +6 -6
  399. package/src/sap/ui/test/actions/Scroll.js +1 -1
  400. package/src/sap/ui/test/generic/TestBase.js +1 -1
  401. package/src/sap/ui/util/Mobile.js +59 -33
  402. package/src/sap/ui/util/Storage.js +2 -2
  403. package/src/sap/ui/util/openWindow.js +1 -1
  404. package/src/ui5loader.js +3 -3
  405. package/ui5.yaml +72 -1
@@ -23,8 +23,8 @@ sap.ui.define([
23
23
  "sap/base/util/Version",
24
24
  "sap/base/util/uid",
25
25
  "sap/base/util/extend",
26
+ "sap/base/util/each",
26
27
  "sap/base/util/deepExtend",
27
- "sap/ui/dom/containsOrEquals",
28
28
  "sap/ui/thirdparty/jquery",
29
29
  "sap/ui/events/F6Navigation",
30
30
  "sap/ui/events/isMouseEventDelayed",
@@ -48,8 +48,8 @@ sap.ui.define([
48
48
  Version,
49
49
  uid,
50
50
  extend,
51
+ each,
51
52
  deepExtend,
52
- containsOrEquals,
53
53
  jQuery,
54
54
  F6Navigation,
55
55
  isMouseEventDelayed,
@@ -303,7 +303,7 @@ sap.ui.define([
303
303
  if (!this._contains(oEvent.target)) {
304
304
  this.close();
305
305
  }
306
- };
306
+ }.bind(this);
307
307
  }
308
308
 
309
309
  this._F6NavigationHandler = function(oEvent) {
@@ -339,7 +339,7 @@ sap.ui.define([
339
339
  }
340
340
 
341
341
  F6Navigation.handleF6GroupNavigation(oEvent, oSettings);
342
- };
342
+ }.bind(this);
343
343
  },
344
344
 
345
345
  metadata : {
@@ -1106,7 +1106,7 @@ sap.ui.define([
1106
1106
 
1107
1107
  this._activateFocusHandle();
1108
1108
 
1109
- this._$(false, true).on("keydown", jQuery.proxy(this._F6NavigationHandler, this));
1109
+ this._$(false, true).on("keydown", this._F6NavigationHandler);
1110
1110
  };
1111
1111
 
1112
1112
  Popup.prototype._shouldGetFocusAfterOpen = function() {
@@ -1126,7 +1126,7 @@ sap.ui.define([
1126
1126
  return false;
1127
1127
  }
1128
1128
 
1129
- var bContains = containsOrEquals(oPopupDomRef, oDomRef);
1129
+ var bContains = oPopupDomRef.contains(oDomRef);
1130
1130
 
1131
1131
  var aChildPopups;
1132
1132
 
@@ -1138,7 +1138,7 @@ sap.ui.define([
1138
1138
  // therefore we need to try with document.getElementById to check the DOM id case first
1139
1139
  // only when it doesn't contain the given DOM, we publish an event to the event bus
1140
1140
  var oContainDomRef = (sChildID ? window.document.getElementById(sChildID) : null);
1141
- var bContains = containsOrEquals(oContainDomRef, oDomRef);
1141
+ var bContains = oContainDomRef && oContainDomRef.contains(oDomRef);
1142
1142
  if (!bContains) {
1143
1143
  var sEventId = "sap.ui.core.Popup.contains-" + sChildID;
1144
1144
  var oData = {
@@ -2029,7 +2029,7 @@ sap.ui.define([
2029
2029
  if (this.touchEnabled && this._bAutoClose) {
2030
2030
  if (!bModal) {
2031
2031
  // register the autoclose handler when modal is set to false
2032
- jQuery(document).on("touchstart mousedown", jQuery.proxy(this._fAutoCloseHandler, this));
2032
+ jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
2033
2033
  } else {
2034
2034
  // deregister the autoclose handler when modal is set to true
2035
2035
  jQuery(document).off("touchstart mousedown", this._fAutoCloseHandler);
@@ -2085,7 +2085,7 @@ sap.ui.define([
2085
2085
  if (!this._bModal) {
2086
2086
  if (bAutoClose) {
2087
2087
  //register the autoclose hanlder when autoclose is set to true
2088
- jQuery(document).on("touchstart mousedown", jQuery.proxy(this._fAutoCloseHandler, this));
2088
+ jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
2089
2089
  } else {
2090
2090
  //deregister the autoclose handler when autoclose is set to false
2091
2091
  jQuery(document).off("touchstart mousedown", this._fAutoCloseHandler);
@@ -2413,7 +2413,7 @@ sap.ui.define([
2413
2413
  */
2414
2414
  Popup.prototype._addFocusEventListeners = function() {
2415
2415
  if (!this.fnEventHandler) {
2416
- this.fnEventHandler = jQuery.proxy(this.onFocusEvent, this);
2416
+ this.fnEventHandler = this.onFocusEvent.bind(this);
2417
2417
  }
2418
2418
  // make sure to notice all blur's in the popup
2419
2419
  var $PopupRoot = this._$();
@@ -2475,7 +2475,7 @@ sap.ui.define([
2475
2475
 
2476
2476
  //autoclose implementation for mobile or desktop browser in touch mode
2477
2477
  if (this.touchEnabled && !this._bModal && this._bAutoClose) {
2478
- jQuery(document).on("touchstart mousedown", jQuery.proxy(this._fAutoCloseHandler, this));
2478
+ jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
2479
2479
  }
2480
2480
  };
2481
2481
 
@@ -2501,7 +2501,7 @@ sap.ui.define([
2501
2501
  Popup.prototype._registerEventBusEvents = function() {
2502
2502
  var that = this;
2503
2503
 
2504
- jQuery.each(that._mEvents, function(sEventId, fnListener) {
2504
+ each(that._mEvents, function(sEventId, fnListener) {
2505
2505
  sap.ui.getCore().getEventBus().subscribe("sap.ui", sEventId, fnListener, that);
2506
2506
  });
2507
2507
 
@@ -2516,7 +2516,7 @@ sap.ui.define([
2516
2516
  Popup.prototype._unregisterEventBusEvents = function() {
2517
2517
  var that = this;
2518
2518
 
2519
- jQuery.each(that._mEvents, function(sEventId, fnListener) {
2519
+ each(that._mEvents, function(sEventId, fnListener) {
2520
2520
  sap.ui.getCore().getEventBus().unsubscribe("sap.ui", sEventId, fnListener, that);
2521
2521
  });
2522
2522
 
@@ -2821,7 +2821,7 @@ sap.ui.define([
2821
2821
  Popup.prototype._isFocusInsidePopup = function () {
2822
2822
  var oDomRef = this._$(false).get(0);
2823
2823
 
2824
- if (oDomRef && containsOrEquals(oDomRef, document.activeElement)) {
2824
+ if (oDomRef && oDomRef.contains(document.activeElement)) {
2825
2825
  return true;
2826
2826
  }
2827
2827
 
@@ -2839,7 +2839,7 @@ sap.ui.define([
2839
2839
  oCurrentOfRect;
2840
2840
 
2841
2841
  if (oCurrentOfRef) {
2842
- if ((oCurrentOfRef === window) || (oCurrentOfRef === window.document) || containsOrEquals(document.documentElement, oCurrentOfRef)) {
2842
+ if ((oCurrentOfRef === window) || (oCurrentOfRef === window.document) || document.documentElement.contains(oCurrentOfRef)) {
2843
2843
  // When the current Of reference is window or window.document or it's contained in the DOM tree,
2844
2844
  // The client bounding rect can be calculated
2845
2845
  oCurrentOfRect = jQuery(oCurrentOfRef).rect();
@@ -3030,7 +3030,7 @@ sap.ui.define([
3030
3030
  this._addFocusEventListeners();
3031
3031
  }
3032
3032
 
3033
- this._$(false, true).on("keydown", jQuery.proxy(this._F6NavigationHandler, this));
3033
+ this._$(false, true).on("keydown", this._F6NavigationHandler);
3034
3034
  };
3035
3035
 
3036
3036
  /**
@@ -182,7 +182,7 @@ sap.ui.define([
182
182
  *
183
183
  * @extends Object
184
184
  * @author SAP SE
185
- * @version 1.101.0
185
+ * @version 1.103.0
186
186
  * @alias sap.ui.core.RenderManager
187
187
  * @public
188
188
  */
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @classdesc Base Class for a Renderer.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.101.0
21
+ * @version 1.103.0
22
22
  * @namespace
23
23
  * @public
24
24
  * @alias sap.ui.core.Renderer
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @alias sap.ui.core.ResizeHandler
35
35
  * @extends sap.ui.base.Object
36
36
  * @author SAP SE
37
- * @version 1.101.0
37
+ * @version 1.103.0
38
38
  * @public
39
39
  */
40
40
 
@@ -12,7 +12,6 @@ sap.ui.define([
12
12
  "./ScrollBarRenderer",
13
13
  "sap/ui/performance/trace/Interaction",
14
14
  "sap/base/Log",
15
- "sap/ui/dom/containsOrEquals",
16
15
  "sap/ui/events/jquery/EventSimulation",
17
16
  "sap/ui/thirdparty/jquery"
18
17
  ],
@@ -23,7 +22,6 @@ sap.ui.define([
23
22
  ScrollBarRenderer,
24
23
  Interaction,
25
24
  Log,
26
- containsOrEquals,
27
25
  EventSimulation,
28
26
  jQuery
29
27
  ) {
@@ -44,7 +42,7 @@ sap.ui.define([
44
42
  * The ScrollBar control can be used for virtual scrolling of a certain area.
45
43
  * This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
46
44
  * @extends sap.ui.core.Control
47
- * @version 1.101.0
45
+ * @version 1.103.0
48
46
  *
49
47
  * @public
50
48
  * @deprecated as of version 1.56
@@ -127,6 +125,14 @@ sap.ui.define([
127
125
  */
128
126
  ScrollBar.prototype.init = function(){
129
127
 
128
+ // Set scope of event handlers to this
129
+ this.ontouchstart = this.ontouchstart.bind(this);
130
+ this.ontouchmove = this.ontouchmove.bind(this);
131
+ this.ontouchend = this.ontouchend.bind(this);
132
+ this.ontouchcancel = this.ontouchcancel.bind(this);
133
+ this.onmousewheel = this.onmousewheel.bind(this);
134
+ this.onscroll = this.onscroll.bind(this);
135
+
130
136
  // jQuery Object - Dom reference of the scroll bar
131
137
  this._$ScrollDomRef = null;
132
138
 
@@ -160,7 +166,7 @@ sap.ui.define([
160
166
  // number of unneeded rendering is reduced.
161
167
  this._bSkipTouchHandling = false;
162
168
 
163
- this._oTouchScroller = new window.Scroller(jQuery.proxy(this._handleTouchScroll,this), {
169
+ this._oTouchScroller = new window.Scroller(this._handleTouchScroll.bind(this), {
164
170
  bouncing:false
165
171
  });
166
172
  }
@@ -271,7 +277,7 @@ sap.ui.define([
271
277
 
272
278
  this.setCheckedScrollPosition(this.getScrollPosition() ? this.getScrollPosition() : 0, true);
273
279
 
274
- this._$ScrollDomRef.on("scroll", jQuery.proxy(this.onscroll, this));
280
+ this._$ScrollDomRef.on("scroll", this.onscroll);
275
281
 
276
282
  if (EventSimulation.touchEventMode === "ON") {
277
283
  this._bSkipTouchHandling = true;
@@ -315,7 +321,7 @@ sap.ui.define([
315
321
  // find out if the user is scrolling up= back or down= forward.
316
322
  var bForward = wheelData > 0 ? true : false;
317
323
 
318
- if (containsOrEquals(this._$ScrollDomRef[0], oEvent.target)) {
324
+ if (this._$ScrollDomRef[0] && this._$ScrollDomRef[0].contains(oEvent.target)) {
319
325
  this._doScroll(ScrollBarAction.MouseWheel, bForward);
320
326
  } else {
321
327
 
@@ -527,10 +533,10 @@ sap.ui.define([
527
533
  }
528
534
 
529
535
  if (EventSimulation.touchEventMode === "ON") {
530
- this._$OwnerDomRef.off(this._getTouchEventType("touchstart"), jQuery.proxy(this.ontouchstart, this));
531
- this._$OwnerDomRef.off(this._getTouchEventType("touchmove"), jQuery.proxy(this.ontouchmove, this));
532
- this._$OwnerDomRef.off(this._getTouchEventType("touchend"), jQuery.proxy(this.ontouchend, this));
533
- this._$OwnerDomRef.off(this._getTouchEventType("touchcancel"), jQuery.proxy(this.ontouchcancel, this));
536
+ this._$OwnerDomRef.off(this._getTouchEventType("touchstart"), this.ontouchstart);
537
+ this._$OwnerDomRef.off(this._getTouchEventType("touchmove"), this.ontouchmove);
538
+ this._$OwnerDomRef.off(this._getTouchEventType("touchend"), this.ontouchend);
539
+ this._$OwnerDomRef.off(this._getTouchEventType("touchcancel"), this.ontouchcancel);
534
540
  }
535
541
  }
536
542
  };
@@ -547,14 +553,14 @@ sap.ui.define([
547
553
  if (oOwnerDomRef) {
548
554
  this._$OwnerDomRef = jQuery(oOwnerDomRef);
549
555
  if (this.getVertical()) {
550
- this._$OwnerDomRef.on(Device.browser.firefox ? "DOMMouseScroll" : "mousewheel", jQuery.proxy(this.onmousewheel, this));
556
+ this._$OwnerDomRef.on(Device.browser.firefox ? "DOMMouseScroll" : "mousewheel", this.onmousewheel);
551
557
  }
552
558
 
553
559
  if (EventSimulation.touchEventMode === "ON") {
554
- this._$OwnerDomRef.on(this._getTouchEventType("touchstart"), jQuery.proxy(this.ontouchstart, this));
555
- this._$OwnerDomRef.on(this._getTouchEventType("touchmove"), jQuery.proxy(this.ontouchmove, this));
556
- this._$OwnerDomRef.on(this._getTouchEventType("touchend"), jQuery.proxy(this.ontouchend, this));
557
- this._$OwnerDomRef.on(this._getTouchEventType("touchcancel"), jQuery.proxy(this.ontouchcancel, this));
560
+ this._$OwnerDomRef.on(this._getTouchEventType("touchstart"), this.ontouchstart);
561
+ this._$OwnerDomRef.on(this._getTouchEventType("touchmove"), this.ontouchmove);
562
+ this._$OwnerDomRef.on(this._getTouchEventType("touchend"), this.ontouchend);
563
+ this._$OwnerDomRef.on(this._getTouchEventType("touchcancel"), this.ontouchcancel);
558
564
  }
559
565
  }
560
566
  };
@@ -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.101.0
26
+ * @version 1.103.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.SeparatorItem
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  "./ShortcutHint",
11
11
  "./Popup",
12
12
  "./InvisibleText",
13
- "sap/ui/dom/containsOrEquals",
14
13
  "sap/ui/events/checkMouseEnterOrLeave",
15
14
  "sap/ui/Device"
16
15
  ],
@@ -20,7 +19,6 @@ sap.ui.define([
20
19
  ShortcutHint,
21
20
  Popup,
22
21
  InvisibleText,
23
- containsOrEquals,
24
22
  checkMouseEnterOrLeave,
25
23
  Device
26
24
  ) {
@@ -338,7 +336,7 @@ sap.ui.define([
338
336
  oHintInfo = aInfos[i];
339
337
  oHintInfo.ref = document.getElementById(oHintInfo.id);
340
338
 
341
- if (containsOrEquals(oHintInfo.ref, domEventTarget)) {
339
+ if (oHintInfo.ref && oHintInfo.ref.contains(domEventTarget)) {
342
340
  aResultInfos.push(oHintInfo);
343
341
  }
344
342
  }
@@ -464,7 +462,7 @@ sap.ui.define([
464
462
 
465
463
  if (checkMouseEnterOrLeave(oEvent, oShortcutHintRefs[0].ref)) {
466
464
  // do not hide if the element is focused
467
- if (containsOrEquals(oShortcutHintRefs[0].ref, document.activeElement)) {
465
+ if (oShortcutHintRefs[0].ref.contains(document.activeElement)) {
468
466
  return;
469
467
  }
470
468
 
@@ -9,11 +9,11 @@ sap.ui.define([
9
9
  "sap/ui/Device",
10
10
  "sap/ui/base/Object",
11
11
  "sap/base/Log",
12
+ "sap/base/util/each",
12
13
  "sap/ui/dom/includeStylesheet",
13
- "sap/ui/thirdparty/jquery",
14
14
  "./theming/ThemeHelper"
15
15
  ],
16
- function(Device, BaseObject, Log, includeStylesheet, jQuery, ThemeHelper) {
16
+ function(Device, BaseObject, Log, each, includeStylesheet, ThemeHelper) {
17
17
  "use strict";
18
18
 
19
19
 
@@ -158,7 +158,7 @@ sap.ui.define([
158
158
  var aOldStyles = document.querySelectorAll("link[data-sap-ui-foucmarker='" + sPrefix + sLib + "']");
159
159
  if (aOldStyles.length > 0) {
160
160
  for (var i = 0, l = aOldStyles.length; i < l; i++) {
161
- aOldStyles[i].parentNode.removeChild(aOldStyles[i]);
161
+ aOldStyles[i].remove();
162
162
  }
163
163
  Log.debug("ThemeCheck: Old stylesheets removed for library: " + sLib);
164
164
  }
@@ -201,9 +201,9 @@ sap.ui.define([
201
201
  } else {
202
202
  // remove stylesheet once the particular class is not available (e.g. after theme switch)
203
203
  /*check for custom theme was not successful, so we need to make sure there are no custom style sheets attached*/
204
- var customCssLink = jQuery("LINK[id='" + oThemeCheck._CUSTOMID + "']");
205
- if (customCssLink.length > 0) {
206
- customCssLink.remove();
204
+ var oCustomCssLink = document.querySelector("LINK[id='" + oThemeCheck._CUSTOMID + "']");
205
+ if (oCustomCssLink) {
206
+ oCustomCssLink.remove();
207
207
  Log.debug("ThemeCheck: Custom CSS removed");
208
208
  }
209
209
  oThemeCheck._customCSSAdded = false;
@@ -228,7 +228,7 @@ sap.ui.define([
228
228
 
229
229
  }
230
230
 
231
- jQuery.each(mLibs, checkLib);
231
+ each(mLibs, checkLib);
232
232
 
233
233
  // Try to load a fallback theme for all libs that couldn't be loaded
234
234
  if (aFailedLibs.length > 0) {
@@ -25,7 +25,7 @@ sap.ui.define(['./Element', './library'],
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.101.0
28
+ * @version 1.103.0
29
29
  *
30
30
  * @public
31
31
  * @since 1.16.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class
32
32
  * Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
33
33
  * @extends sap.ui.core.Control
34
- * @version 1.101.0
34
+ * @version 1.103.0
35
35
  *
36
36
  * @public
37
37
  * @alias sap.ui.core.TooltipBase
@@ -10,7 +10,6 @@ sap.ui.define([
10
10
  './Element',
11
11
  './RenderManager',
12
12
  'sap/ui/performance/trace/Interaction',
13
- "sap/ui/dom/containsOrEquals",
14
13
  "sap/ui/util/ActivityDetection",
15
14
  "sap/ui/events/KeyCodes",
16
15
  "sap/base/Log",
@@ -27,7 +26,6 @@ sap.ui.define([
27
26
  Element,
28
27
  RenderManager,
29
28
  Interaction,
30
- containsOrEquals,
31
29
  ActivityDetection,
32
30
  KeyCodes,
33
31
  Log,
@@ -175,7 +173,7 @@ sap.ui.define([
175
173
  *
176
174
  * @extends sap.ui.base.ManagedObject
177
175
  * @author SAP SE
178
- * @version 1.101.0
176
+ * @version 1.103.0
179
177
  * @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
180
178
  * @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
181
179
  * @public
@@ -935,7 +933,7 @@ sap.ui.define([
935
933
  // event is dispatched to the element only when the element's root DOM contains or equals the scope check
936
934
  // DOM, so that the simulated 'touchmove' and 'touchend' event is only dispatched to the element when the
937
935
  // 'touchstart' also occurred on the same element
938
- if (!oScopeCheckDOM || containsOrEquals(oDomRef, oScopeCheckDOM)) {
936
+ if (!oScopeCheckDOM || (oDomRef && oDomRef.contains(oScopeCheckDOM))) {
939
937
  // for each event type call the callback method
940
938
  // if the execution should be stopped immediately
941
939
  // then no further callback method will be executed
@@ -978,7 +976,7 @@ sap.ui.define([
978
976
 
979
977
  // Only process the touchend event which is emulated from mouseout event when the current domRef
980
978
  // doesn't equal or contain the relatedTarget
981
- if (oEvent.isMarked("fromMouseout") && containsOrEquals(oDomRef, oEvent.relatedTarget)) {
979
+ if (oEvent.isMarked("fromMouseout") && (oDomRef && oDomRef.contains(oEvent.relatedTarget))) {
982
980
  break;
983
981
  }
984
982
 
@@ -1203,9 +1201,10 @@ sap.ui.define([
1203
1201
 
1204
1202
  /**
1205
1203
  * Returns the current valid field group control.
1204
+ *
1206
1205
  * There is only one field group control for all UI areas.
1207
1206
  *
1208
- * @return {sap.ui.core.Control} the current valid field group control or null.
1207
+ * @returns {sap.ui.core.Control|null} the current valid field group control or <code>null</code>.
1209
1208
  *
1210
1209
  * @private
1211
1210
  */
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  * @extends sap.ui.core.Component
55
55
  * @abstract
56
56
  * @author SAP SE
57
- * @version 1.101.0
57
+ * @version 1.103.0
58
58
  * @alias sap.ui.core.UIComponent
59
59
  * @since 1.9.2
60
60
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -451,7 +451,7 @@ sap.ui.define([
451
451
  * For synchronous root control creation the Promise resolves immediately with the root control instance or null if none was created.
452
452
  *
453
453
  * @since 1.90.0
454
- * @return {Promise<sap.ui.core.Control|null>} resolves with the created root control or null if none was created, rejects with any thrown error
454
+ * @returns {Promise<sap.ui.core.Control|null>} resolves with the created root control or null if none was created, rejects with any thrown error
455
455
  * @public
456
456
  */
457
457
  UIComponent.prototype.rootControlLoaded = function() {
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
18
18
  * @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
19
19
  * @class
20
20
  * @author SAP SE
21
- * @version 1.101.0
21
+ * @version 1.103.0
22
22
  * @since 1.15.1
23
23
  * @alias sap.ui.core.UIComponentMetadata
24
24
  * @extends sap.ui.core.ComponentMetadata
@@ -57,7 +57,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
57
57
  * the Component metadata or in the proper Component manifest.
58
58
  *
59
59
  * @param {boolean} [bDoNotMerge] Returns the local root view configuration if set to <code>true</code>.
60
- * @return {object} root view as configuration object or null ({@link sap.ui.view})
60
+ * @return {object|null} root view as configuration object or null ({@link sap.ui.view})
61
61
  * @protected
62
62
  * @since 1.15.1
63
63
  * @deprecated Since 1.27.1. Please use {@link sap.ui.core.Component#getManifestEntry}("/sap.ui5/rootView")
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for value state support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.101.0
19
+ * @version 1.103.0
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
20
20
  * @class
21
21
  * Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.101.0
23
+ * @version 1.103.0
24
24
  *
25
25
  * @public
26
26
  * @since 1.9.2
@@ -143,7 +143,7 @@ sap.ui.define([
143
143
  * @extends sap.ui.core.Control
144
144
  *
145
145
  * @author SAP SE
146
- * @version 1.101.0
146
+ * @version 1.103.0
147
147
  * @since 1.56.0
148
148
  * @alias sap.ui.core.XMLComposite
149
149
  * @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} oClassInfo static info to construct the metadata from
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.101.0
33
+ * @version 1.103.0
34
34
  * @since 1.50.0
35
35
  * @alias sap.ui.core.XMLCompositeMetadata
36
36
  * @extends sap.ui.core.ElementMetadata