@openui5/sap.ui.core 1.103.1 → 1.106.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/.reuse/dep5 +35 -15
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +64 -21
  4. package/package.json +1 -1
  5. package/src/jquery.sap.dom.js +10 -10
  6. package/src/jquery.sap.global.js +24 -216
  7. package/src/jquery.sap.history.js +1 -1
  8. package/src/jquery.sap.properties.js +2 -2
  9. package/src/jquery.sap.resources.js +1 -1
  10. package/src/jquery.sap.script.js +1 -1
  11. package/src/jquery.sap.storage.js +4 -4
  12. package/src/sap/base/i18n/ResourceBundle.js +7 -11
  13. package/src/sap/base/util/LoaderExtensions.js +69 -61
  14. package/src/sap/base/util/ObjectPath.js +1 -1
  15. package/src/sap/base/util/Properties.js +1 -1
  16. package/src/sap/base/util/fetch.js +228 -0
  17. package/src/sap/base/util/mixedFetch.js +69 -0
  18. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  19. package/src/sap/base/util/restricted/_castArray.js +1 -1
  20. package/src/sap/base/util/restricted/_compact.js +1 -1
  21. package/src/sap/base/util/restricted/_curry.js +1 -1
  22. package/src/sap/base/util/restricted/_debounce.js +1 -1
  23. package/src/sap/base/util/restricted/_difference.js +1 -1
  24. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  25. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_flatten.js +1 -1
  30. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  31. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  32. package/src/sap/base/util/restricted/_intersection.js +1 -1
  33. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  34. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  36. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  37. package/src/sap/base/util/restricted/_isNil.js +1 -1
  38. package/src/sap/base/util/restricted/_max.js +1 -1
  39. package/src/sap/base/util/restricted/_merge.js +1 -1
  40. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  41. package/src/sap/base/util/restricted/_min.js +1 -1
  42. package/src/sap/base/util/restricted/_omit.js +1 -1
  43. package/src/sap/base/util/restricted/_pick.js +1 -1
  44. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  45. package/src/sap/base/util/restricted/_throttle.js +1 -1
  46. package/src/sap/base/util/restricted/_toArray.js +1 -1
  47. package/src/sap/base/util/restricted/_union.js +1 -1
  48. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  49. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  50. package/src/sap/base/util/restricted/_uniq.js +1 -1
  51. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  52. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  53. package/src/sap/base/util/restricted/_without.js +1 -1
  54. package/src/sap/base/util/restricted/_xor.js +1 -1
  55. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  56. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  57. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  58. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  59. package/src/sap/base/util/syncFetch.js +66 -0
  60. package/src/sap/ui/Device.js +5 -5
  61. package/src/sap/ui/Global.js +7 -14
  62. package/src/sap/ui/VersionInfo.js +57 -54
  63. package/src/sap/ui/base/BindingInfo.js +198 -0
  64. package/src/sap/ui/base/DataType.js +1 -1
  65. package/src/sap/ui/base/Event.js +2 -2
  66. package/src/sap/ui/base/EventProvider.js +2 -2
  67. package/src/sap/ui/base/Interface.js +1 -1
  68. package/src/sap/ui/base/ManagedObject.js +209 -979
  69. package/src/sap/ui/base/ManagedObjectMetadata.js +6 -6
  70. package/src/sap/ui/base/ManagedObjectObserver.js +2 -2
  71. package/src/sap/ui/base/Metadata.js +1 -1
  72. package/src/sap/ui/base/Object.js +1 -1
  73. package/src/sap/ui/base/ObjectPool.js +1 -1
  74. package/src/sap/ui/core/.library +72 -50
  75. package/src/sap/ui/core/AccessKeysEnablement.js +173 -0
  76. package/src/sap/ui/core/AppCacheBuster.js +65 -51
  77. package/src/sap/ui/core/BusyIndicator.js +1 -1
  78. package/src/sap/ui/core/Component.js +52 -25
  79. package/src/sap/ui/core/ComponentContainer.js +1 -1
  80. package/src/sap/ui/core/ComponentMetadata.js +16 -23
  81. package/src/sap/ui/core/ComponentSupport.js +1 -1
  82. package/src/sap/ui/core/Configuration.js +598 -358
  83. package/src/sap/ui/core/Control.js +1 -1
  84. package/src/sap/ui/core/Core.js +126 -185
  85. package/src/sap/ui/core/CustomData.js +1 -1
  86. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  87. package/src/sap/ui/core/Element.js +68 -4
  88. package/src/sap/ui/core/ElementMetadata.js +6 -4
  89. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  90. package/src/sap/ui/core/EventBus.js +1 -1
  91. package/src/sap/ui/core/ExtensionPoint.js +2 -2
  92. package/src/sap/ui/core/FocusHandler.js +84 -39
  93. package/src/sap/ui/core/Fragment.js +1 -1
  94. package/src/sap/ui/core/HTML.js +1 -1
  95. package/src/sap/ui/core/History.js +1 -1
  96. package/src/sap/ui/core/Icon.js +1 -1
  97. package/src/sap/ui/core/IconPool.js +8 -8
  98. package/src/sap/ui/core/IndicationColorSupport.js +2 -2
  99. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  100. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  101. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  102. package/src/sap/ui/core/InvisibleText.js +4 -1
  103. package/src/sap/ui/core/Item.js +1 -1
  104. package/src/sap/ui/core/LabelEnablement.js +1 -1
  105. package/src/sap/ui/core/LayoutData.js +1 -1
  106. package/src/sap/ui/core/ListItem.js +1 -1
  107. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  108. package/src/sap/ui/core/Locale.js +1 -1
  109. package/src/sap/ui/core/LocaleData.js +8 -51
  110. package/src/sap/ui/core/Manifest.js +3 -5
  111. package/src/sap/ui/core/Message.js +1 -1
  112. package/src/sap/ui/core/Popup.js +13 -8
  113. package/src/sap/ui/core/RenderManager.js +17 -21
  114. package/src/sap/ui/core/Renderer.js +1 -1
  115. package/src/sap/ui/core/ResizeHandler.js +28 -49
  116. package/src/sap/ui/core/ScrollBar.js +1 -1
  117. package/src/sap/ui/core/SeparatorItem.js +1 -1
  118. package/src/sap/ui/core/Title.js +1 -1
  119. package/src/sap/ui/core/TooltipBase.js +12 -13
  120. package/src/sap/ui/core/UIArea.js +13 -12
  121. package/src/sap/ui/core/UIComponent.js +3 -3
  122. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  123. package/src/sap/ui/core/ValueStateSupport.js +2 -2
  124. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  125. package/src/sap/ui/core/XMLComposite.js +5 -2
  126. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  127. package/src/sap/ui/core/XMLTemplateProcessor.js +7 -7
  128. package/src/sap/ui/core/_ConfigurationProvider.js +187 -0
  129. package/src/sap/ui/core/_IconRegistry.js +66 -55
  130. package/src/sap/ui/core/cache/CacheManager.js +20 -16
  131. package/src/sap/ui/core/cache/CacheManagerNOP.js +5 -2
  132. package/src/sap/ui/core/cache/LRUPersistentCache.js +15 -8
  133. package/src/sap/ui/core/cldr/en.json +0 -1
  134. package/src/sap/ui/core/cldr/es_BO.json +3 -3
  135. package/src/sap/ui/core/cldr/es_CL.json +3 -3
  136. package/src/sap/ui/core/cldr/es_MX.json +3 -3
  137. package/src/sap/ui/core/cldr/es_PE.json +3 -3
  138. package/src/sap/ui/core/cldr/es_UY.json +3 -3
  139. package/src/sap/ui/core/cldr/es_VE.json +2 -2
  140. package/src/sap/ui/core/date/Buddhist.js +15 -13
  141. package/src/sap/ui/core/date/Japanese.js +0 -6
  142. package/src/sap/ui/core/date/UniversalDate.js +144 -34
  143. package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
  144. package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -6
  145. package/src/sap/ui/core/dnd/DragAndDrop.js +13 -9
  146. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  147. package/src/sap/ui/core/dnd/DragDropInfo.js +3 -3
  148. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  149. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  150. package/src/sap/ui/core/format/DateFormat.js +36 -9
  151. package/src/sap/ui/core/format/NumberFormat.js +92 -26
  152. package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
  153. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  154. package/src/sap/ui/core/library.js +44 -3
  155. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  156. package/src/sap/ui/core/message/Message.js +1 -1
  157. package/src/sap/ui/core/message/MessageManager.js +1 -1
  158. package/src/sap/ui/core/message/MessageParser.js +1 -1
  159. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  160. package/src/sap/ui/core/messagebundle.properties +2 -0
  161. package/src/sap/ui/core/messagebundle_ar.properties +54 -53
  162. package/src/sap/ui/core/messagebundle_bg.properties +54 -53
  163. package/src/sap/ui/core/messagebundle_ca.properties +28 -27
  164. package/src/sap/ui/core/messagebundle_cs.properties +37 -36
  165. package/src/sap/ui/core/messagebundle_cy.properties +57 -56
  166. package/src/sap/ui/core/messagebundle_da.properties +53 -52
  167. package/src/sap/ui/core/messagebundle_de.properties +54 -53
  168. package/src/sap/ui/core/messagebundle_el.properties +46 -45
  169. package/src/sap/ui/core/messagebundle_en.properties +57 -56
  170. package/src/sap/ui/core/messagebundle_en_GB.properties +57 -56
  171. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
  172. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  173. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +1 -0
  174. package/src/sap/ui/core/messagebundle_es.properties +42 -41
  175. package/src/sap/ui/core/messagebundle_es_MX.properties +54 -53
  176. package/src/sap/ui/core/messagebundle_et.properties +51 -50
  177. package/src/sap/ui/core/messagebundle_fi.properties +48 -47
  178. package/src/sap/ui/core/messagebundle_fr.properties +37 -36
  179. package/src/sap/ui/core/messagebundle_fr_CA.properties +22 -21
  180. package/src/sap/ui/core/messagebundle_hi.properties +42 -41
  181. package/src/sap/ui/core/messagebundle_hr.properties +55 -54
  182. package/src/sap/ui/core/messagebundle_hu.properties +56 -55
  183. package/src/sap/ui/core/messagebundle_id.properties +55 -54
  184. package/src/sap/ui/core/messagebundle_it.properties +55 -54
  185. package/src/sap/ui/core/messagebundle_iw.properties +55 -54
  186. package/src/sap/ui/core/messagebundle_ja.properties +48 -47
  187. package/src/sap/ui/core/messagebundle_kk.properties +41 -40
  188. package/src/sap/ui/core/messagebundle_ko.properties +21 -20
  189. package/src/sap/ui/core/messagebundle_lt.properties +55 -54
  190. package/src/sap/ui/core/messagebundle_lv.properties +55 -54
  191. package/src/sap/ui/core/messagebundle_ms.properties +52 -51
  192. package/src/sap/ui/core/messagebundle_nl.properties +53 -52
  193. package/src/sap/ui/core/messagebundle_no.properties +53 -52
  194. package/src/sap/ui/core/messagebundle_pl.properties +52 -51
  195. package/src/sap/ui/core/messagebundle_pt.properties +54 -53
  196. package/src/sap/ui/core/messagebundle_pt_PT.properties +55 -54
  197. package/src/sap/ui/core/messagebundle_ro.properties +56 -55
  198. package/src/sap/ui/core/messagebundle_ru.properties +52 -51
  199. package/src/sap/ui/core/messagebundle_sh.properties +57 -56
  200. package/src/sap/ui/core/messagebundle_sk.properties +54 -53
  201. package/src/sap/ui/core/messagebundle_sl.properties +56 -55
  202. package/src/sap/ui/core/messagebundle_sv.properties +52 -51
  203. package/src/sap/ui/core/messagebundle_th.properties +25 -24
  204. package/src/sap/ui/core/messagebundle_tr.properties +56 -55
  205. package/src/sap/ui/core/messagebundle_uk.properties +55 -54
  206. package/src/sap/ui/core/messagebundle_vi.properties +56 -55
  207. package/src/sap/ui/core/messagebundle_zh_CN.properties +55 -54
  208. package/src/sap/ui/core/messagebundle_zh_TW.properties +55 -54
  209. package/src/sap/ui/core/mvc/Controller.js +17 -12
  210. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  211. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  212. package/src/sap/ui/core/mvc/JSView.js +2 -2
  213. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  214. package/src/sap/ui/core/mvc/View.js +7 -7
  215. package/src/sap/ui/core/mvc/XMLView.js +1 -2
  216. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  217. package/src/sap/ui/core/plugin/LessSupport.js +16 -14
  218. package/src/sap/ui/core/plugin/TemplatingSupport.js +2 -1
  219. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  220. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  221. package/src/sap/ui/core/routing/Router.js +4 -4
  222. package/src/sap/ui/core/routing/async/TargetCache.js +4 -0
  223. package/src/sap/ui/core/rules/App.support.js +11 -13
  224. package/src/sap/ui/core/rules/Config.support.js +14 -14
  225. package/src/sap/ui/core/rules/CoreHelper.support.js +3 -3
  226. package/src/sap/ui/core/rules/Model.support.js +8 -8
  227. package/src/sap/ui/core/rules/Rendering.support.js +1 -1
  228. package/src/sap/ui/core/rules/Theming.support.js +8 -8
  229. package/src/sap/ui/core/rules/View.support.js +20 -13
  230. package/src/sap/ui/core/search/OpenSearchProvider.js +25 -12
  231. package/src/sap/ui/core/search/SearchProvider.js +2 -2
  232. package/src/sap/ui/core/service/Service.js +1 -1
  233. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  234. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  235. package/src/sap/ui/core/support/Hotkeys.js +2 -3
  236. package/src/sap/ui/core/support/Plugin.js +1 -1
  237. package/src/sap/ui/core/support/Support.js +3 -4
  238. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  239. package/src/sap/ui/core/support/plugins/Debugging.js +4 -4
  240. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  241. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  242. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  243. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  244. package/src/sap/ui/core/support/plugins/TechInfo.js +46 -33
  245. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  246. package/src/sap/ui/core/support/plugins/ViewInfo.js +3 -4
  247. package/src/sap/ui/core/support/support.html +1 -1
  248. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +3 -3
  249. package/src/sap/ui/core/themes/base/Icon.less +4 -0
  250. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
  251. package/src/sap/ui/core/themes/base/base.less +26 -26
  252. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  253. package/src/sap/ui/core/themes/base/global.less +5 -1
  254. package/src/sap/ui/core/themes/base/shared.less +6 -0
  255. package/src/sap/ui/core/theming/Parameters.js +52 -53
  256. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  257. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  258. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  259. package/src/sap/ui/core/tmpl/Template.js +7 -5
  260. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  261. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  262. package/src/sap/ui/core/util/Export.js +1 -1
  263. package/src/sap/ui/core/util/ExportCell.js +1 -1
  264. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  265. package/src/sap/ui/core/util/ExportRow.js +1 -1
  266. package/src/sap/ui/core/util/ExportType.js +1 -1
  267. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  268. package/src/sap/ui/core/util/File.js +1 -1
  269. package/src/sap/ui/core/util/LibraryInfo.js +61 -42
  270. package/src/sap/ui/core/util/MockServer.js +45 -71
  271. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  272. package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +4 -3
  273. package/src/sap/ui/core/util/XMLPreprocessor.js +3 -3
  274. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +1 -4
  275. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  276. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  277. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  278. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  279. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  280. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  281. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  282. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  283. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  284. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  285. package/src/sap/ui/debug/ControlTree.js +1 -1
  286. package/src/sap/ui/debug/DebugEnv.js +1 -1
  287. package/src/sap/ui/debug/PropertyList.css +1 -31
  288. package/src/sap/ui/debug/PropertyList.js +6 -240
  289. package/src/sap/ui/dom/getScrollbarSize.js +1 -1
  290. package/src/sap/ui/dom/jquery/control.js +1 -0
  291. package/src/sap/ui/events/jquery/EventSimulation.js +4 -4
  292. package/src/sap/ui/model/ClientModel.js +1 -1
  293. package/src/sap/ui/model/CompositeDataState.js +1 -1
  294. package/src/sap/ui/model/CompositeType.js +1 -1
  295. package/src/sap/ui/model/Context.js +3 -0
  296. package/src/sap/ui/model/ContextBinding.js +1 -1
  297. package/src/sap/ui/model/DataState.js +3 -3
  298. package/src/sap/ui/model/ListBinding.js +2 -2
  299. package/src/sap/ui/model/ManagedObjectBindingSupport.js +871 -0
  300. package/src/sap/ui/model/MetaModel.js +1 -1
  301. package/src/sap/ui/model/Model.js +16 -5
  302. package/src/sap/ui/model/SelectionModel.js +1 -1
  303. package/src/sap/ui/model/SimpleType.js +2 -2
  304. package/src/sap/ui/model/Sorter.js +2 -2
  305. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  306. package/src/sap/ui/model/Type.js +1 -1
  307. package/src/sap/ui/model/_Helper.js +3 -1
  308. package/src/sap/ui/model/analytics/odata4analytics.js +2 -2
  309. package/src/sap/ui/model/base/ManagedObjectModel.js +2 -2
  310. package/src/sap/ui/model/json/JSONModel.js +2 -2
  311. package/src/sap/ui/model/message/MessageModel.js +1 -1
  312. package/src/sap/ui/model/odata/AnnotationHelper.js +4 -4
  313. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  314. package/src/sap/ui/model/odata/ODataMessageParser.js +4 -4
  315. package/src/sap/ui/model/odata/ODataMetaModel.js +10 -10
  316. package/src/sap/ui/model/odata/ODataMetadata.js +6 -3
  317. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  318. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +459 -268
  319. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  320. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  321. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  322. package/src/sap/ui/model/odata/type/Date.js +1 -1
  323. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  324. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  325. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  326. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  327. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  328. package/src/sap/ui/model/odata/type/Double.js +1 -1
  329. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  330. package/src/sap/ui/model/odata/type/Int.js +1 -1
  331. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  332. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  333. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  334. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  335. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  336. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  337. package/src/sap/ui/model/odata/type/Single.js +1 -1
  338. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  339. package/src/sap/ui/model/odata/type/String.js +1 -1
  340. package/src/sap/ui/model/odata/type/Time.js +1 -1
  341. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  342. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  343. package/src/sap/ui/model/odata/v2/Context.js +5 -5
  344. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  345. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +5 -2
  346. package/src/sap/ui/model/odata/v2/ODataListBinding.js +26 -1
  347. package/src/sap/ui/model/odata/v2/ODataModel.js +164 -125
  348. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +18 -2
  349. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +3 -3
  350. package/src/sap/ui/model/odata/v4/Context.js +169 -79
  351. package/src/sap/ui/model/odata/v4/ODataBinding.js +51 -12
  352. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +111 -92
  353. package/src/sap/ui/model/odata/v4/ODataListBinding.js +206 -150
  354. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +13 -10
  355. package/src/sap/ui/model/odata/v4/ODataModel.js +249 -28
  356. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +33 -18
  357. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +17 -11
  358. package/src/sap/ui/model/odata/v4/ODataUtils.js +7 -4
  359. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +142 -35
  360. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +167 -16
  361. package/src/sap/ui/model/odata/v4/lib/_Cache.js +388 -188
  362. package/src/sap/ui/model/odata/v4/lib/_ConcatHelper.js +2 -3
  363. package/src/sap/ui/model/odata/v4/lib/_Helper.js +119 -43
  364. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +2 -3
  365. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +13 -6
  366. package/src/sap/ui/model/resource/ResourceModel.js +2 -2
  367. package/src/sap/ui/model/type/Boolean.js +1 -1
  368. package/src/sap/ui/model/type/Currency.js +2 -2
  369. package/src/sap/ui/model/type/Date.js +1 -1
  370. package/src/sap/ui/model/type/DateInterval.js +1 -1
  371. package/src/sap/ui/model/type/DateTime.js +1 -1
  372. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  373. package/src/sap/ui/model/type/FileSize.js +1 -1
  374. package/src/sap/ui/model/type/Float.js +1 -1
  375. package/src/sap/ui/model/type/Integer.js +1 -1
  376. package/src/sap/ui/model/type/String.js +2 -2
  377. package/src/sap/ui/model/type/Time.js +1 -1
  378. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  379. package/src/sap/ui/model/type/Unit.js +1 -1
  380. package/src/sap/ui/model/xml/XMLModel.js +4 -2
  381. package/src/sap/ui/performance/trace/FESR.js +27 -24
  382. package/src/sap/ui/performance/trace/Interaction.js +66 -16
  383. package/src/sap/ui/qunit/QUnitUtils.js +1 -2
  384. package/src/sap/ui/qunit/sinon-qunit-bridge.js +1 -1
  385. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  386. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  387. package/src/sap/ui/test/Opa5.js +1 -1
  388. package/src/sap/ui/test/OpaBuilder.js +1 -1
  389. package/src/sap/ui/test/TestUtils.js +35 -2
  390. package/src/sap/ui/test/actions/Press.js +7 -0
  391. package/src/sap/ui/test/generic/TestBase.js +1 -1
  392. package/src/sap/ui/test/matchers/AggregationContainsPropertyEqual.js +2 -3
  393. package/src/sap/ui/test/matchers/AggregationFilled.js +2 -3
  394. package/src/sap/ui/test/matchers/AggregationLengthEquals.js +2 -3
  395. package/src/sap/ui/test/matchers/Matcher.js +9 -11
  396. package/src/sap/ui/test/opaQunit.js +15 -9
  397. package/src/sap/ui/test/pipelines/ActionPipeline.js +2 -3
  398. package/src/sap/ui/test/pipelines/MatcherPipeline.js +2 -3
  399. package/src/sap/ui/test/pipelines/PipelineFactory.js +2 -3
  400. package/src/sap/ui/thirdparty/IPv6.js +1 -1
  401. package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
  402. package/src/sap/ui/thirdparty/URI.js +8 -2
  403. package/src/sap/ui/thirdparty/URITemplate.js +1 -1
  404. package/src/sap/ui/util/Storage.js +1 -1
  405. package/src/sap/ui/util/XMLHelper.js +1 -1
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  resolution: "Use asynchronous XHR calls instead",
50
50
  resolutionurls: [{
51
51
  text: 'Documentation: Loading a Module',
52
- href: 'https://openui5.hana.ondemand.com/topic/d12024e38385472a89c1ad204e1edb48'
52
+ href: 'https://sdk.openui5.org/topic/d12024e38385472a89c1ad204e1edb48'
53
53
  }],
54
54
  check: function(oIssueManager, oCoreFacade, oScope) {
55
55
  // get the controllers and the associated viewId
@@ -150,8 +150,7 @@ sap.ui.define([
150
150
  resolution: "Declare the dependency properly or even better: Migrate to the modern module API as documented.",
151
151
  resolutionurls: [{
152
152
  text: 'Documentation: Modularization',
153
- // TODO: link to the modularization dev guide
154
- href: 'https://openui5.hana.ondemand.com/api'
153
+ href: 'https://sdk.openui5.org/topic/b8fdf0c903424c9191f142842323ae22'
155
154
  }],
156
155
  check: function(oIssueManager, oCoreFacade, oScope) {
157
156
  var oLoggedObjects = oScope.getLoggedObjects("jquery.sap.stubs");
@@ -183,8 +182,7 @@ sap.ui.define([
183
182
  resolution: "Migrate to the modern module API as documented.",
184
183
  resolutionurls: [{
185
184
  text: 'Documentation: Modularization',
186
- // TODO: link to the modularization dev guide
187
- href: 'https://openui5.hana.ondemand.com/topic/a075ed88ef324261bca41813a6ac4a1c'
185
+ href: 'https://sdk.openui5.org/topic/a075ed88ef324261bca41813a6ac4a1c'
188
186
  }],
189
187
  check: function(oIssueManager, oCoreFacade, oScope, fnResolve) {
190
188
  if (oScope.getType() === "global") {
@@ -224,7 +222,7 @@ sap.ui.define([
224
222
  resolution: "Avoid using synchronous factory functions. Use the create() and/or load() functions of the respective modules instead. For example: View.create(...) or Component.load(). Migrate to the modern module API as documented.",
225
223
  resolutionurls: [{
226
224
  text: 'Documentation: Legacy Factories Replacement',
227
- href: 'https://openui5.hana.ondemand.com/topic/491bd9c70b9f4c4d913c8c7b4a970833'
225
+ href: 'https://sdk.openui5.org/topic/491bd9c70b9f4c4d913c8c7b4a970833'
228
226
  }],
229
227
  check: function(oIssueManager, oCoreFacade, oScope) {
230
228
  var aFactoryTypes = [
@@ -268,7 +266,7 @@ sap.ui.define([
268
266
  resolution: "Avoid using sap.ui.core.mvc.JSView. Instead use Typed Views by defining the view class with 'sap.ui.core.mvc.View.extend' and creating the view instances with 'sap.ui.core.mvc.View.create'.",
269
267
  resolutionurls: [{
270
268
  text: 'Documentation: Typed Views',
271
- href: 'https://openui5.hana.ondemand.com/topic/e6bb33d076dc4f23be50c082c271b9f0'
269
+ href: 'https://sdk.openui5.org/topic/e6bb33d076dc4f23be50c082c271b9f0'
272
270
  }],
273
271
  check: function(oIssueManager, oCoreFacade, oScope) {
274
272
  var oLoggedObjects = oScope.getLoggedObjects("sap.ui.core.mvc.JSView");
@@ -298,11 +296,11 @@ sap.ui.define([
298
296
  resolution: "Check the details of the findings for tips to fix the issue.",
299
297
  resolutionurls: [{
300
298
  text: "Performance: Speed Up Your App",
301
- href: "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4"
299
+ href: "https://sdk.openui5.org/topic/408b40efed3c416681e1bd8cdd8910d4"
302
300
  },
303
301
  {
304
302
  text: "Configuration of 'sap.ui.loader'",
305
- href: "https://openui5.hana.ondemand.com/api/sap.ui.loader"
303
+ href: "https://sdk.openui5.org/api/sap.ui.loader"
306
304
  }],
307
305
  check: function(oIssueManager, oCoreFacade, oScope) {
308
306
  var oLoggedObjects = oScope.getLoggedObjects("SyncXHR");
@@ -333,7 +331,7 @@ sap.ui.define([
333
331
  resolution: "Check the details of the findings for tips to fix the issue.",
334
332
  resolutionurls: [{
335
333
  text: 'Documentation: Adapting to the Modularization of the Core',
336
- href: 'https://openui5.hana.ondemand.com/topic/b8fdf0c903424c9191f142842323ae22'
334
+ href: 'https://sdk.openui5.org/topic/b8fdf0c903424c9191f142842323ae22'
337
335
  }],
338
336
  check: function(oIssueManager, oCoreFacade, oScope) {
339
337
  var oLoggedObjects = oScope.getLoggedObjects("Deprecation");
@@ -428,7 +426,7 @@ sap.ui.define([
428
426
  resolution: "A bound call to sap.ui.core.UIComponent.prototype.init must be introduced in the sub-class.",
429
427
  resolutionurls: [{
430
428
  text: "API Documentation: sap.ui.core.UIComponent#init",
431
- href: "https://openui5.hana.ondemand.com/api/sap.ui.core.UIComponent#methods/init"
429
+ href: "https://sdk.openui5.org/api/sap.ui.core.UIComponent/methods/init"
432
430
  }],
433
431
  check: function(oIssueManager, oCoreFacade, oScope) {
434
432
  var oLoggedObjects = oScope.getLoggedObjects("missingInitInUIComponent");
@@ -458,11 +456,11 @@ sap.ui.define([
458
456
  resolution: "A bound call to sap.ui.core.Component or sap.ui.core.mvc.Controller must be introduced in the sub-class.",
459
457
  resolutionurls: [{
460
458
  text: "API Documentation: sap.ui.core.mvc.Controller",
461
- href: "https://openui5.hana.ondemand.com/api/sap.ui.core.mvc.Controller"
459
+ href: "https://sdk.openui5.org/api/sap.ui.core.mvc.Controller"
462
460
  },
463
461
  {
464
462
  text: "API Documentation: sap.ui.core.Component",
465
- href: "https://openui5.hana.ondemand.com/api/sap.ui.core.Component"
463
+ href: "https://sdk.openui5.org/api/sap.ui.core.Component"
466
464
  }],
467
465
  check: function(oIssueManager, oCoreFacade, oScope) {
468
466
  var oLoggedObjects = oScope.getLoggedObjects("missingSuperConstructor");
@@ -39,15 +39,15 @@ sap.ui.define([
39
39
  resolutionurls: [
40
40
  {
41
41
  text: "Performance: Speed Up Your App",
42
- href: "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4"
42
+ href: "https://sdk.openui5.org/topic/408b40efed3c416681e1bd8cdd8910d4"
43
43
  },
44
44
  {
45
45
  text: "Best Practices for Loading Modules Asynchronously",
46
- href: "https://openui5.hana.ondemand.com/topic/00737d6c1b864dc3ab72ef56611491c4#loio00737d6c1b864dc3ab72ef56611491c4"
46
+ href: "https://sdk.openui5.org/topic/00737d6c1b864dc3ab72ef56611491c4"
47
47
  },
48
48
  {
49
49
  text: "Is Your Application Ready for Asynchronous Loading?",
50
- href: "https://openui5.hana.ondemand.com/topic/493a15aa978d4fe9a67ea9407166eb01"
50
+ href: "https://sdk.openui5.org/topic/493a15aa978d4fe9a67ea9407166eb01"
51
51
  }
52
52
  ]
53
53
  };
@@ -115,7 +115,7 @@ sap.ui.define([
115
115
  "For more information, see the SAPUI5 developer guide.",
116
116
  resolutionurls: [{
117
117
  text: "Documentation: Cache Buster for SAPUI5 Application Resources",
118
- href: "https://openui5.hana.ondemand.com/topic/4cfe7eff3001447a9d4b0abeaba95166"
118
+ href: "https://sdk.openui5.org/topic/4cfe7eff3001447a9d4b0abeaba95166"
119
119
  }],
120
120
  check: function(oIssueManager, oCoreFacade, oScope) {
121
121
  var sUI5ICFNode = "/sap/bc/ui5_ui5/";
@@ -164,7 +164,7 @@ sap.ui.define([
164
164
  resolution: "Adapt your application descriptor and your application coding to improve the performance",
165
165
  resolutionurls: [{
166
166
  text: 'Documentation: Descriptor Dependencies to Libraries and Components',
167
- href: 'https://openui5.hana.ondemand.com/topic/8521ad1955f340f9a6207d615c88d7fd'
167
+ href: 'https://sdk.openui5.org/topic/8521ad1955f340f9a6207d615c88d7fd'
168
168
  }],
169
169
  check: function(oIssueManager, oCoreFacade, oScope) {
170
170
  if (oScope.getType() === "global") {
@@ -248,7 +248,7 @@ sap.ui.define([
248
248
  resolution: "Adapt your application descriptor and your application coding to improve the performance",
249
249
  resolutionurls: [{
250
250
  text: 'Documentation: Descriptor Dependencies to Libraries and Components',
251
- href: 'https://openui5.hana.ondemand.com/topic/8521ad1955f340f9a6207d615c88d7fd'
251
+ href: 'https://sdk.openui5.org/topic/8521ad1955f340f9a6207d615c88d7fd'
252
252
  }],
253
253
  check: function(oIssueManager, oCoreFacade, oScope) {
254
254
  var mComponents = oCoreFacade.getComponents();
@@ -295,7 +295,7 @@ sap.ui.define([
295
295
  resolution: "Adapt your application descriptor and your application coding to improve the performance",
296
296
  resolutionurls: [{
297
297
  text: 'Documentation: Using and Nesting Components',
298
- href: 'https://openui5.hana.ondemand.com/topic/346599f0890d4dfaaa11c6b4ffa96312'
298
+ href: 'https://sdk.openui5.org/topic/346599f0890d4dfaaa11c6b4ffa96312'
299
299
  }],
300
300
  check: function(oIssueManager, oCoreFacade, oScope) {
301
301
  var mComponents = oCoreFacade.getComponents();
@@ -345,7 +345,7 @@ sap.ui.define([
345
345
  resolution: "Adapt your application descriptor and your application coding to improve the performance",
346
346
  resolutionurls: [{
347
347
  text: 'Documentation: Manifest Model Preload',
348
- href: 'https://openui5.hana.ondemand.com/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
348
+ href: 'https://sdk.openui5.org/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
349
349
  }],
350
350
  check: function(oIssueManager, oCoreFacade, oScope) {
351
351
  var mComponents = oCoreFacade.getComponents();
@@ -397,10 +397,10 @@ sap.ui.define([
397
397
  resolution: "Set manifest parameter models[<Model Name>].settings.earlyRequests to true",
398
398
  resolutionurls: [{
399
399
  text: 'Documentation: Manifest Model Preload',
400
- href: 'https://openui5.hana.ondemand.com/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
400
+ href: 'https://sdk.openui5.org/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
401
401
  }, {
402
402
  text: 'API: V4 ODataModel, parameter earlyRequests',
403
- href: 'https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v4.ODataModel'
403
+ href: 'https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel'
404
404
  }],
405
405
  check: function(oIssueManager, oCoreFacade, oScope) {
406
406
  var mComponents = oCoreFacade.getComponents();
@@ -448,13 +448,13 @@ sap.ui.define([
448
448
  resolution: "Adapt your application descriptor and your application coding to improve the performance and efficiency",
449
449
  resolutionurls: [{
450
450
  text: 'Documentation: Routing Configuration',
451
- href: 'https://openui5.hana.ondemand.com/topic/902313063d6f45aeaa3388cc4c13c34e'
451
+ href: 'https://sdk.openui5.org/topic/902313063d6f45aeaa3388cc4c13c34e'
452
452
  }, {
453
453
  text: "Documentation: Instantiating Views",
454
- href: "https://openui5.hana.ondemand.com/topic/68d0e58857a647d49470d9f92dd859bd"
454
+ href: "https://sdk.openui5.org/topic/68d0e58857a647d49470d9f92dd859bd"
455
455
  }, {
456
456
  text: "Documentation: UI Adaptation at Runtime: Enable Your App",
457
- href: "https://openui5.hana.ondemand.com/topic/f1430c0337534d469da3a56307ff76af"
457
+ href: "https://sdk.openui5.org/topic/f1430c0337534d469da3a56307ff76af"
458
458
  }],
459
459
  check: function(oIssueManager, oCoreFacade, oScope) {
460
460
  var mComponents = oCoreFacade.getComponents();
@@ -462,7 +462,7 @@ sap.ui.define([
462
462
 
463
463
  // 1. Collect XML views in analyzed scope
464
464
  var aSyncXMLViews = oScope.getElementsByClassName(XMLView).filter(function(oXMLView) {
465
- return oXMLView.oAsyncState === undefined;
465
+ return oXMLView.oAsyncState === undefined && !oXMLView.isSubView();
466
466
  });
467
467
 
468
468
  Object.keys(mComponents).forEach(function(sComponentId) {
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * Helper for core functionality in Support Tool infrastructure.
8
8
  */
9
- sap.ui.define(["sap/ui/thirdparty/jquery", "sap/ui/dom/jquery/control"], // jQuery Plugin "control"
10
- function(jQuery) {
9
+ sap.ui.define(["sap/ui/core/Element", "sap/ui/thirdparty/jquery"],
10
+ function(Element, jQuery) {
11
11
  "use strict";
12
12
 
13
13
  var CoreHelper = {
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery", "sap/ui/dom/jquery/control"], // jQu
24
24
  */
25
25
  // jQuery Plugin "control"
26
26
  var skipParents = ["sap.ui.core.HTML"],
27
- parentNode = jQuery(node).control()[0];
27
+ parentNode = Element.closestTo(node);
28
28
 
29
29
  if (!parentNode) {
30
30
  return false;
@@ -120,19 +120,19 @@ sap.ui.define([
120
120
  resolution: "Check the binding path for typos",
121
121
  resolutionurls: [
122
122
  {
123
- href: "https://openui5.hana.ondemand.com/api/sap.ui.model.Context",
123
+ href: "https://sdk.openui5.org/api/sap.ui.model.Context",
124
124
  text: "API Reference: Context"
125
125
  },
126
126
  {
127
- href: "https://openui5.hana.ondemand.com/topic/e5310932a71f42daa41f3a6143efca9c",
127
+ href: "https://sdk.openui5.org/topic/e5310932a71f42daa41f3a6143efca9c",
128
128
  text: "Documentation: Data Binding Tutorial"
129
129
  },
130
130
  {
131
- href: "https://openui5.hana.ondemand.com/topic/97830de2d7314e93b5c1ee3878a17be9",
131
+ href: "https://sdk.openui5.org/topic/97830de2d7314e93b5c1ee3878a17be9",
132
132
  text: "Documentation: Data Binding Tutorial - Step 12: Aggregation Binding Using Templates"
133
133
  },
134
134
  {
135
- href: "https://openui5.hana.ondemand.com/topic/6c7c5c266b534e7ea9a28f861dc515f5",
135
+ href: "https://sdk.openui5.org/topic/6c7c5c266b534e7ea9a28f861dc515f5",
136
136
  text: "Documentation: Data Binding Tutorial - Step 13: Element Binding"
137
137
  }
138
138
  ],
@@ -224,16 +224,16 @@ sap.ui.define([
224
224
  resolution : "Use the '$select' binding parameter when binding an aggregation against "
225
225
  + "an OData V4 model, or 'select' in case of an OData V2 model",
226
226
  resolutionurls : [{
227
- href : "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4.html#loio408b40efed3c416681e1bd8cdd8910d4/section_useSelectQuery",
227
+ href : "https://sdk.openui5.org/topic/408b40efed3c416681e1bd8cdd8910d4#section_useSelectQuery",
228
228
  text : "Documentation: Performance: Speed Up Your App"
229
229
  }, {
230
- href : "https://openui5.hana.ondemand.com/topic/10ca58b701414f7f93cd97156f898f80",
230
+ href : "https://sdk.openui5.org/topic/10ca58b701414f7f93cd97156f898f80",
231
231
  text : "OData V4 only: Automatic determination of $expand and $select"
232
232
  }, {
233
- href : "https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v4.ODataModel%23methods/bindList",
233
+ href : "https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel/methods/bindList",
234
234
  text : "Documentation: v4.ODataModel#bindList"
235
235
  }, {
236
- href : "https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v2.ODataModel%23methods/bindList",
236
+ href : "https://sdk.openui5.org/api/sap.ui.model.odata.v2.ODataModel/methods/bindList",
237
237
  text : "Documentation: v2.ODataModel#bindList"
238
238
  }],
239
239
  title : "Model: Use the $select/select binding parameter when binding aggregations to "
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  resolution: "Control and renderer must be migrated to modern rendering syntax. For more information consult with documentation.",
37
37
  resolutionurls: [{
38
38
  text: "Documentation: RenderManager syntax",
39
- href: "https://openui5.hana.ondemand.com/api/sap.ui.core.RenderManager"
39
+ href: "https://sdk.openui5.org/api/sap.ui.core.RenderManager"
40
40
  }],
41
41
  check: function(oIssueManager, oCoreFacade, oScope) {
42
42
  var aControls = oScope.getElements().filter(function (oElement) { return oElement.isA("sap.ui.core.Control"); });
@@ -6,8 +6,8 @@
6
6
  /**
7
7
  * Defines miscellaneous support rules.
8
8
  */
9
- sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdparty/jquery", "sap/ui/dom/jquery/control"], // jQuery Plugin "control"
10
- function(SupportLib, CoreHelper, jQuery) {
9
+ sap.ui.define(["sap/ui/core/Element", "sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdparty/jquery"],
10
+ function(Element, SupportLib, CoreHelper, jQuery) {
11
11
  "use strict";
12
12
 
13
13
  // support rules can get loaded within a ui5 version which does not have module "sap/base/Log" yet
@@ -40,10 +40,10 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
40
40
  resolution: "Avoid CSS manipulations with custom CSS values as this could lead to rendering issues ",
41
41
  resolutionurls: [{
42
42
  text: 'CSS Styling Issues',
43
- href: 'https://openui5.hana.ondemand.com/topic/9d87f925dfbb4e99b9e2963693aa00ef'
43
+ href: 'https://sdk.openui5.org/topic/9d87f925dfbb4e99b9e2963693aa00ef'
44
44
  }, {
45
45
  text: 'General Guidelines',
46
- href: 'https://openui5.hana.ondemand.com/topic/5e08ff90b7434990bcb459513d8c52c4'
46
+ href: 'https://sdk.openui5.org/topic/5e08ff90b7434990bcb459513d8c52c4'
47
47
  }],
48
48
  check: function (issueManager, oCoreFacade, oScope) {
49
49
  var cssFilesMessage = "Following stylesheet file(s) contain 'custom' CSS that could affects (overwrites) UI5 controls' own styles: \n",
@@ -97,10 +97,10 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
97
97
  resolution: "Avoid CSS manipulations with custom CSS values as this could lead to rendering issues ",
98
98
  resolutionurls: [{
99
99
  text: 'CSS Styling Issues',
100
- href: 'https://openui5.hana.ondemand.com/topic/9d87f925dfbb4e99b9e2963693aa00ef'
100
+ href: 'https://sdk.openui5.org/topic/9d87f925dfbb4e99b9e2963693aa00ef'
101
101
  }, {
102
102
  text: 'General Guidelines',
103
- href: 'https://openui5.hana.ondemand.com/topic/5e08ff90b7434990bcb459513d8c52c4'
103
+ href: 'https://sdk.openui5.org/topic/5e08ff90b7434990bcb459513d8c52c4'
104
104
  }],
105
105
  check: function (issueManager, oCoreFacade, oScope) {
106
106
  var controlCustomCssHashMap = {},
@@ -116,7 +116,7 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
116
116
  var hasUI5Parent = CoreHelper.nodeHasUI5ParentControl(node, oScope);
117
117
  if (hasUI5Parent) {
118
118
  // jQuery Plugin "control"
119
- var ui5Control = jQuery(node).control()[0];
119
+ var ui5Control = Element.closestTo(node);
120
120
 
121
121
  if (!controlCustomCssHashMap.hasOwnProperty(ui5Control.getId())) {
122
122
  controlCustomCssHashMap[ui5Control.getId()] = "";
@@ -156,7 +156,7 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
156
156
  resolution: "Use asynchronous variant of the Parameters.get API",
157
157
  resolutionurls: [{
158
158
  text: 'Parameters.get API Reference',
159
- href: 'https://openui5.hana.ondemand.com/api/sap.ui.core.theming.Parameters#methods/sap.ui.core.theming.Parameters.get'
159
+ href: 'https://sdk.openui5.org/api/sap.ui.core.theming.Parameters/methods/sap.ui.core.theming.Parameters.get'
160
160
  }],
161
161
  check: function (issueManager, oCoreFacade, oScope) {
162
162
  var oLoggedObjects = oScope.getLoggedObjects("LegacyParametersGet");
@@ -38,13 +38,16 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
38
38
  minversion: "-",
39
39
  title: "XML View is not configured with namespace 'sap.ui.core.mvc'",
40
40
  description: "For consistency and proper resource loading, the root node of an XML view must be configured with the namespace 'mvc'",
41
- resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namepspace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
41
+ resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namespace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
42
42
  resolutionurls: [{
43
43
  text: "Documentation: Namespaces in XML Views",
44
- href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
44
+ href: "https://sdk.openui5.org/topic/2421a2c9fa574b2e937461b5313671f0"
45
45
  }],
46
46
  check: function(oIssueManager, oCoreFacade, oScope) {
47
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
47
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
48
+ return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
49
+ });
50
+
48
51
  aXMLViews.forEach(function (oXMLView) {
49
52
  if (oXMLView._xContent.namespaceURI !== "sap.ui.core.mvc") {
50
53
  var sViewName = oXMLView.getViewName().split("\.").pop();
@@ -74,10 +77,12 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
74
77
  resolution: "Set the namespace of the control library that holds most of the controls you use as default namespace (e.g. xmlns=\"sap.m\")",
75
78
  resolutionurls: [{
76
79
  text: "Documentation: Namespaces in XML Views",
77
- href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
80
+ href: "https://sdk.openui5.org/topic/2421a2c9fa574b2e937461b5313671f0"
78
81
  }],
79
82
  check: function(oIssueManager, oCoreFacade, oScope) {
80
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
83
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
84
+ return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
85
+ });
81
86
 
82
87
  aXMLViews.forEach(function (oXMLView) {
83
88
  if (!oXMLView._xContent.attributes.getNamedItem("xmlns")) {
@@ -105,7 +110,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
105
110
  resolution: "Start the Control tag with upper case",
106
111
  resolutionurls: [{
107
112
  text: "Documentation: SAPUI5 Control Development Guidelines",
108
- href: "https://openui5.hana.ondemand.com/topic/4549da61e2d949d6a3d20ad8a9d17a6f"
113
+ href: "https://sdk.openui5.org/topic/4549da61e2d949d6a3d20ad8a9d17a6f"
109
114
  }],
110
115
  check: function (oIssueManager, oCoreFacade, oScope) {
111
116
  var aRelevantLogMessages = Log.getLogEntries().filter(function(oEntry) {
@@ -137,10 +142,12 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
137
142
  resolution: "Remove the unused namespaces from the view definition",
138
143
  resolutionurls: [{
139
144
  text: "Documentation: Namespaces in XML Views",
140
- href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
145
+ href: "https://sdk.openui5.org/topic/2421a2c9fa574b2e937461b5313671f0"
141
146
  }],
142
147
  check: function(oIssueManager, oCoreFacade, oScope) {
143
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
148
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
149
+ return oControl.isA("sap.ui.core.mvc.XMLView");
150
+ });
144
151
 
145
152
  aXMLViews.forEach(function (oXMLView) {
146
153
  for (var i = 0; i < oXMLView._xContent.attributes.length; i++) {
@@ -188,7 +195,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
188
195
  resolution: "Refer to the API of the element which property should be used instead.",
189
196
  resolutionurls: [{
190
197
  text: "API Reference",
191
- href: "https://openui5.hana.ondemand.com/api/deprecated"
198
+ href: "https://sdk.openui5.org/api/deprecated"
192
199
  }],
193
200
  check: function(oIssueManager, oCoreFacade, oScope) {
194
201
  oScope.getElementsByClassName(Element).forEach(function(oElement) {
@@ -231,7 +238,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
231
238
  resolution: "Refer to the API of the element which element should be used instead.",
232
239
  resolutionurls: [{
233
240
  text: "API Reference",
234
- href: "https://openui5.hana.ondemand.com/api/deprecated"
241
+ href: "https://sdk.openui5.org/api/deprecated"
235
242
  }],
236
243
  check: function(oIssueManager, oCoreFacade, oScope) {
237
244
  oScope.getElementsByClassName(Element).forEach(function(oElement) {
@@ -265,7 +272,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
265
272
  resolution: "Refer to the API of the element which aggregation should be used instead.",
266
273
  resolutionurls: [{
267
274
  text: "API Reference",
268
- href: "https://openui5.hana.ondemand.com/api/deprecated"
275
+ href: "https://sdk.openui5.org/api/deprecated"
269
276
  }],
270
277
  check: function(oIssueManager, oCoreFacade, oScope) {
271
278
  oScope.getElementsByClassName(Element).forEach(function(oElement) {
@@ -305,7 +312,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
305
312
  resolution: "Refer to the API of the element which association should be used instead.",
306
313
  resolutionurls: [{
307
314
  text: "API Reference",
308
- href: "https://openui5.hana.ondemand.com/api/deprecated"
315
+ href: "https://sdk.openui5.org/api/deprecated"
309
316
  }],
310
317
  check: function(oIssueManager, oCoreFacade, oScope) {
311
318
  oScope.getElementsByClassName(Element).forEach(function(oElement) {
@@ -345,7 +352,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
345
352
  resolution: "Refer to the API of the element which event should be used instead.",
346
353
  resolutionurls: [{
347
354
  text: "API Reference",
348
- href: "https://openui5.hana.ondemand.com/api/deprecated"
355
+ href: "https://sdk.openui5.org/api/deprecated"
349
356
  }],
350
357
  check: function(oIssueManager, oCoreFacade, oScope) {
351
358
  oScope.getElementsByClassName(Element).forEach(function(oElement) {
@@ -9,10 +9,11 @@ sap.ui.define([
9
9
  './SearchProvider',
10
10
  "sap/base/Log",
11
11
  "sap/base/security/encodeURL",
12
+ "sap/base/util/fetch",
12
13
  "sap/ui/thirdparty/jquery",
13
14
  'sap/ui/core/library' // ensure that required DataTypes are available
14
15
  ],
15
- function(SearchProvider, Log, encodeURL, jQuery) {
16
+ function(SearchProvider, Log, encodeURL, fetch, jQuery) {
16
17
  "use strict";
17
18
 
18
19
 
@@ -26,7 +27,7 @@ sap.ui.define([
26
27
  * @class
27
28
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
28
29
  * @extends sap.ui.core.search.SearchProvider
29
- * @version 1.103.1
30
+ * @version 1.106.0
30
31
  *
31
32
  * @public
32
33
  * @alias sap.ui.core.search.OpenSearchProvider
@@ -56,7 +57,7 @@ sap.ui.define([
56
57
  * and an array of the suggestions (type '[string]', 2nd parameter).
57
58
  *
58
59
  * @param {string} sValue The value for which suggestions are requested.
59
- * @param {function} fCallback The callback function which is called when the suggestions are available.
60
+ * @param {function(string, string[])} fCallback The callback function which is called when the suggestions are available.
60
61
  * @type void
61
62
  * @public
62
63
  */
@@ -88,19 +89,31 @@ sap.ui.define([
88
89
  fCallback(sValue, data[1]);
89
90
  };
90
91
  }
91
-
92
- jQuery.ajax({
93
- url: sUrl,
94
- dataType: sType,
95
- success: fSuccess,
96
- error: function(XMLHttpRequest, textStatus, errorThrown) {
97
- Log.fatal("The following problem occurred: " + textStatus, XMLHttpRequest.responseText + ","
98
- + XMLHttpRequest.status);
92
+ fetch(sUrl, {
93
+ headers: {
94
+ Accept: fetch.ContentTypes[sType.toUpperCase()]
95
+ }
96
+ }).then(function(response) {
97
+ if (response.ok) {
98
+ return response.text().then(function (responseText) {
99
+ var data;
100
+ if (sType === "json") {
101
+ data = JSON.parse(responseText);
102
+ } else {
103
+ // sType == "xml"
104
+ var parser = new DOMParser();
105
+ data = parser.parseFromString(responseText, "text/xml");
106
+ }
107
+ fSuccess(data);
108
+ });
109
+ } else {
110
+ throw new Error(response.statusText || response.status);
99
111
  }
112
+ }).catch(function(error) {
113
+ Log.fatal("The following problem occurred: " + error.message);
100
114
  });
101
115
  };
102
116
 
103
-
104
117
  return OpenSearchProvider;
105
118
 
106
119
  });
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
23
23
  *
24
24
  * Do not create instances of this class, but use a concrete subclass instead.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.103.1
26
+ * @version 1.106.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.search.SearchProvider
@@ -49,7 +49,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
49
49
  * and an array of the suggestions (type '[string]', 2nd parameter).
50
50
  *
51
51
  * @param {string} sValue The value for which suggestions are requested.
52
- * @param {function} fnCallback The callback function which is called when the suggestions are available.
52
+ * @param {function(string, string[])} fnCallback The callback function which is called when the suggestions are available.
53
53
  * @public
54
54
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
55
55
  */
@@ -71,7 +71,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert", "sap/base/Log"],
71
71
  *
72
72
  * @extends sap.ui.base.Object
73
73
  * @author SAP SE
74
- * @version 1.103.1
74
+ * @version 1.106.0
75
75
  * @alias sap.ui.core.service.Service
76
76
  * @abstract
77
77
  * @private
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
83
83
  *
84
84
  * @extends sap.ui.base.Object
85
85
  * @author SAP SE
86
- * @version 1.103.1
86
+ * @version 1.106.0
87
87
  * @alias sap.ui.core.service.ServiceFactory
88
88
  * @private
89
89
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define(['./ServiceFactory', "sap/base/assert"],
18
18
  * The service factory registry.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.103.1
21
+ * @version 1.106.0
22
22
  * @alias sap.ui.core.service.ServiceFactoryRegistry
23
23
  * @private
24
24
  * @ui5-restricted sap.ushell
@@ -27,9 +27,8 @@ sap.ui.define(["sap/base/Log"], function(Log) {
27
27
  * @private
28
28
  * @static
29
29
  * @param {Object} getModuleSystemInfo Function, which should retrieve modules and prefixes.
30
- * @param {Object} oCfgData Configuration object of the project.
31
30
  */
32
- init: function(getModuleSystemInfo, oCfgData) {
31
+ init: function(getModuleSystemInfo) {
33
32
  // Check whether the left 'alt' key is used
34
33
  // The TechnicalInfo should be shown only when left 'alt' key is used
35
34
  // because the right 'alt' key is mapped to 'alt' + 'ctrl' on windows
@@ -51,7 +50,7 @@ sap.ui.define(["sap/base/Log"], function(Log) {
51
50
  sap.ui.require(['sap/ui/core/support/techinfo/TechnicalInfo'], function(TechnicalInfo) {
52
51
  TechnicalInfo.open(function() {
53
52
  var oInfo = getModuleSystemInfo();
54
- return { modules : oInfo.modules, prefixes : oInfo.prefixes, config: oCfgData };
53
+ return { modules : oInfo.modules, prefixes : oInfo.prefixes };
55
54
  });
56
55
  }, function (oError) {
57
56
  Log.error("Could not load module 'sap/ui/core/support/techinfo/TechnicalInfo':", oError);
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/thirdparty/jquery", "sap/base/util/
17
17
  *
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
- * @version 1.103.1
20
+ * @version 1.106.0
21
21
  * @private
22
22
  * @ui5-restricted
23
23
  * @alias sap.ui.core.support.Plugin
@@ -5,14 +5,13 @@
5
5
  */
6
6
 
7
7
  // Provides the basic UI5 support functionality
8
- sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParameters", "sap/ui/thirdparty/jquery", "sap/base/Log", "sap/base/util/deepExtend", "sap/base/security/encodeURL"],
8
+ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParameters", "sap/ui/thirdparty/jquery", "sap/base/Log", "sap/base/security/encodeURL"],
9
9
  function(
10
10
  EventProvider,
11
11
  Plugin,
12
12
  UriParameters,
13
13
  jQuery,
14
14
  Log,
15
- deepExtend,
16
15
  encodeURL
17
16
  ) {
18
17
  "use strict";
@@ -26,7 +25,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
26
25
  * @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
27
26
  *
28
27
  * @extends sap.ui.base.EventProvider
29
- * @version 1.103.1
28
+ * @version 1.106.0
30
29
  * @private
31
30
  * @alias sap.ui.core.support.Support
32
31
  */
@@ -942,7 +941,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
942
941
  if ( bAsync ) {
943
942
  sap.ui.require(aModulesWhereToInjectSupportInfo, injectSupportInfo);
944
943
  } else {
945
- injectSupportInfo.apply(null, aModulesWhereToInjectSupportInfo.map(sap.ui.requireSync) );
944
+ injectSupportInfo.apply(null, aModulesWhereToInjectSupportInfo.map(sap.ui.requireSync) ); // legacy-relevant: Sync path
946
945
  }
947
946
  };
948
947
 
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  * @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
59
59
  *
60
60
  * @extends sap.ui.core.support.Plugin
61
- * @version 1.103.1
61
+ * @version 1.106.0
62
62
  * @private
63
63
  * @alias sap.ui.core.support.plugins.ControlTree
64
64
  */