@openui5/sap.ui.core 1.105.1 → 1.107.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 (351) hide show
  1. package/.reuse/dep5 +20 -17
  2. package/THIRDPARTY.txt +31 -21
  3. package/package.json +1 -1
  4. package/src/jquery.sap.dom.js +10 -10
  5. package/src/jquery.sap.global.js +24 -216
  6. package/src/jquery.sap.history.js +1 -1
  7. package/src/jquery.sap.properties.js +2 -2
  8. package/src/jquery.sap.resources.js +1 -1
  9. package/src/jquery.sap.script.js +1 -1
  10. package/src/jquery.sap.storage.js +4 -4
  11. package/src/jquery.sap.ui.js +5 -7
  12. package/src/sap/base/i18n/ResourceBundle.js +7 -11
  13. package/src/sap/base/util/LoaderExtensions.js +6 -6
  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 +8 -10
  17. package/src/sap/base/util/mixedFetch.js +1 -1
  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 +9 -16
  60. package/src/sap/ui/Device.js +3 -3
  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 +5 -5
  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/ManagedObjectRegistry.js +4 -3
  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 +13 -9
  75. package/src/sap/ui/core/AppCacheBuster.js +3 -4
  76. package/src/sap/ui/core/BusyIndicator.js +1 -1
  77. package/src/sap/ui/core/BusyIndicatorUtils.js +5 -6
  78. package/src/sap/ui/core/CalendarType.js +0 -1
  79. package/src/sap/ui/core/Component.js +16 -14
  80. package/src/sap/ui/core/ComponentContainer.js +6 -5
  81. package/src/sap/ui/core/ComponentMetadata.js +5 -12
  82. package/src/sap/ui/core/ComponentSupport.js +1 -1
  83. package/src/sap/ui/core/Configuration.js +525 -336
  84. package/src/sap/ui/core/Control.js +7 -7
  85. package/src/sap/ui/core/Core.js +102 -422
  86. package/src/sap/ui/core/CustomData.js +1 -1
  87. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  88. package/src/sap/ui/core/Element.js +65 -9
  89. package/src/sap/ui/core/ElementMetadata.js +1 -1
  90. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  91. package/src/sap/ui/core/EventBus.js +1 -1
  92. package/src/sap/ui/core/FocusHandler.js +79 -9
  93. package/src/sap/ui/core/Fragment.js +1 -1
  94. package/src/sap/ui/core/HTML.js +1 -2
  95. package/src/sap/ui/core/History.js +1 -1
  96. package/src/sap/ui/core/Icon.js +1 -2
  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 -2
  101. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  102. package/src/sap/ui/core/InvisibleText.js +5 -5
  103. package/src/sap/ui/core/Item.js +1 -2
  104. package/src/sap/ui/core/LabelEnablement.js +1 -1
  105. package/src/sap/ui/core/LayoutData.js +1 -2
  106. package/src/sap/ui/core/ListItem.js +1 -2
  107. package/src/sap/ui/core/LocalBusyIndicator.js +1 -2
  108. package/src/sap/ui/core/Locale.js +1 -1
  109. package/src/sap/ui/core/LocaleData.js +15 -13
  110. package/src/sap/ui/core/Manifest.js +8 -6
  111. package/src/sap/ui/core/Message.js +4 -6
  112. package/src/sap/ui/core/Popup.js +63 -6
  113. package/src/sap/ui/core/RenderManager.js +13 -5
  114. package/src/sap/ui/core/Renderer.js +5 -4
  115. package/src/sap/ui/core/Rendering.js +251 -0
  116. package/src/sap/ui/core/ResizeHandler.js +7 -7
  117. package/src/sap/ui/core/ScrollBar.js +6 -9
  118. package/src/sap/ui/core/ScrollBarRenderer.js +3 -3
  119. package/src/sap/ui/core/SeparatorItem.js +1 -2
  120. package/src/sap/ui/core/Title.js +1 -2
  121. package/src/sap/ui/core/TooltipBase.js +12 -14
  122. package/src/sap/ui/core/UIArea.js +396 -129
  123. package/src/sap/ui/core/UIComponent.js +3 -4
  124. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  125. package/src/sap/ui/core/ValueStateSupport.js +2 -2
  126. package/src/sap/ui/core/VariantLayoutData.js +1 -2
  127. package/src/sap/ui/core/XMLComposite.js +2 -2
  128. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  129. package/src/sap/ui/core/XMLTemplateProcessor.js +12 -10
  130. package/src/sap/ui/core/_ConfigurationProvider.js +187 -0
  131. package/src/sap/ui/core/cache/CacheManager.js +9 -8
  132. package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -4
  133. package/src/sap/ui/core/cldr/es_BO.json +3 -3
  134. package/src/sap/ui/core/cldr/es_CL.json +3 -3
  135. package/src/sap/ui/core/cldr/es_MX.json +3 -3
  136. package/src/sap/ui/core/cldr/es_PE.json +3 -3
  137. package/src/sap/ui/core/cldr/es_UY.json +3 -3
  138. package/src/sap/ui/core/cldr/es_VE.json +2 -2
  139. package/src/sap/ui/core/date/Islamic.js +4 -4
  140. package/src/sap/ui/core/date/UniversalDate.js +8 -8
  141. package/src/sap/ui/core/date/UniversalDateUtils.js +3 -3
  142. package/src/sap/ui/core/delegate/ItemNavigation.js +5 -5
  143. package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -6
  144. package/src/sap/ui/core/dnd/DragAndDrop.js +14 -9
  145. package/src/sap/ui/core/dnd/DragDropBase.js +1 -2
  146. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -2
  147. package/src/sap/ui/core/dnd/DragInfo.js +1 -2
  148. package/src/sap/ui/core/dnd/DropInfo.js +1 -2
  149. package/src/sap/ui/core/format/DateFormat.js +14 -7
  150. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +0 -1
  151. package/src/sap/ui/core/format/FileSizeFormat.js +4 -3
  152. package/src/sap/ui/core/format/ListFormat.js +4 -3
  153. package/src/sap/ui/core/format/NumberFormat.js +7 -6
  154. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  155. package/src/sap/ui/core/hyphenation/Hyphenation.js +7 -6
  156. package/src/sap/ui/core/library.js +3 -55
  157. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  158. package/src/sap/ui/core/message/Message.js +1 -1
  159. package/src/sap/ui/core/message/MessageManager.js +13 -23
  160. package/src/sap/ui/core/message/MessageParser.js +1 -1
  161. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  162. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  163. package/src/sap/ui/core/mvc/Controller.js +8 -3
  164. package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -3
  165. package/src/sap/ui/core/mvc/HTMLView.js +1 -2
  166. package/src/sap/ui/core/mvc/JSONView.js +1 -2
  167. package/src/sap/ui/core/mvc/JSView.js +2 -3
  168. package/src/sap/ui/core/mvc/TemplateView.js +1 -2
  169. package/src/sap/ui/core/mvc/View.js +21 -20
  170. package/src/sap/ui/core/mvc/ViewType.js +0 -1
  171. package/src/sap/ui/core/mvc/XMLView.js +18 -18
  172. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  173. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  174. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  175. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  176. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  177. package/src/sap/ui/core/routing/Router.js +1 -1
  178. package/src/sap/ui/core/routing/async/Target.js +4 -3
  179. package/src/sap/ui/core/rules/App.support.js +11 -13
  180. package/src/sap/ui/core/rules/Config.support.js +19 -17
  181. package/src/sap/ui/core/rules/CoreHelper.support.js +4 -4
  182. package/src/sap/ui/core/rules/Model.support.js +8 -8
  183. package/src/sap/ui/core/rules/Rendering.support.js +1 -1
  184. package/src/sap/ui/core/rules/Theming.support.js +8 -8
  185. package/src/sap/ui/core/rules/View.support.js +9 -9
  186. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -2
  187. package/src/sap/ui/core/search/SearchProvider.js +1 -3
  188. package/src/sap/ui/core/service/Service.js +1 -1
  189. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  190. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  191. package/src/sap/ui/core/support/Hotkeys.js +2 -3
  192. package/src/sap/ui/core/support/Plugin.js +1 -1
  193. package/src/sap/ui/core/support/Support.js +1 -1
  194. package/src/sap/ui/core/support/ToolsAPI.js +11 -13
  195. package/src/sap/ui/core/support/plugins/ControlTree.js +4 -4
  196. package/src/sap/ui/core/support/plugins/Debugging.js +3 -3
  197. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  198. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  199. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  200. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  201. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  202. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  203. package/src/sap/ui/core/support/plugins/ViewInfo.js +2 -2
  204. package/src/sap/ui/core/support/support.html +1 -1
  205. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +10 -8
  206. package/src/sap/ui/core/theming/Parameters.js +8 -15
  207. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -2
  208. package/src/sap/ui/core/tmpl/DOMElement.js +1 -4
  209. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  210. package/src/sap/ui/core/tmpl/Template.js +6 -5
  211. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -2
  212. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  213. package/src/sap/ui/core/util/Export.js +1 -1
  214. package/src/sap/ui/core/util/ExportCell.js +1 -1
  215. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  216. package/src/sap/ui/core/util/ExportRow.js +1 -1
  217. package/src/sap/ui/core/util/ExportType.js +1 -1
  218. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  219. package/src/sap/ui/core/util/File.js +1 -1
  220. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  221. package/src/sap/ui/core/util/MockServer.js +48 -72
  222. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  223. package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +4 -3
  224. package/src/sap/ui/core/util/XMLPreprocessor.js +2 -2
  225. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +1 -1
  226. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  227. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  228. package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
  229. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  230. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  231. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  232. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  233. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  234. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  235. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  236. package/src/sap/ui/debug/ControlTree.js +3 -3
  237. package/src/sap/ui/debug/DebugEnv.js +4 -4
  238. package/src/sap/ui/debug/PropertyList.css +1 -31
  239. package/src/sap/ui/debug/PropertyList.js +6 -250
  240. package/src/sap/ui/dom/getScrollbarSize.js +1 -1
  241. package/src/sap/ui/dom/jquery/control.js +1 -0
  242. package/src/sap/ui/events/jquery/EventSimulation.js +4 -4
  243. package/src/sap/ui/model/ClientModel.js +1 -1
  244. package/src/sap/ui/model/ClientTreeBinding.js +3 -1
  245. package/src/sap/ui/model/CompositeDataState.js +1 -1
  246. package/src/sap/ui/model/CompositeType.js +1 -1
  247. package/src/sap/ui/model/Context.js +3 -0
  248. package/src/sap/ui/model/ContextBinding.js +1 -1
  249. package/src/sap/ui/model/DataState.js +2 -2
  250. package/src/sap/ui/model/ListBinding.js +2 -2
  251. package/src/sap/ui/model/ManagedObjectBindingSupport.js +871 -0
  252. package/src/sap/ui/model/MetaModel.js +1 -1
  253. package/src/sap/ui/model/Model.js +16 -5
  254. package/src/sap/ui/model/SelectionModel.js +1 -1
  255. package/src/sap/ui/model/SimpleType.js +2 -2
  256. package/src/sap/ui/model/Sorter.js +24 -19
  257. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  258. package/src/sap/ui/model/TreeBindingAdapter.js +3 -7
  259. package/src/sap/ui/model/Type.js +1 -1
  260. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  261. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +5 -7
  262. package/src/sap/ui/model/json/JSONModel.js +9 -7
  263. package/src/sap/ui/model/message/MessageModel.js +1 -1
  264. package/src/sap/ui/model/odata/AnnotationHelper.js +4 -4
  265. package/src/sap/ui/model/odata/ODataAnnotations.js +5 -3
  266. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  267. package/src/sap/ui/model/odata/ODataMetaModel.js +10 -10
  268. package/src/sap/ui/model/odata/ODataMetadata.js +5 -4
  269. package/src/sap/ui/model/odata/ODataModel.js +6 -5
  270. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +0 -1
  271. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  272. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  273. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  274. package/src/sap/ui/model/odata/type/Date.js +1 -1
  275. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  276. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  277. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  278. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  279. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  280. package/src/sap/ui/model/odata/type/Double.js +1 -1
  281. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  282. package/src/sap/ui/model/odata/type/Int.js +1 -1
  283. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  284. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  285. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  286. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  287. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  288. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  289. package/src/sap/ui/model/odata/type/Single.js +1 -1
  290. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  291. package/src/sap/ui/model/odata/type/String.js +1 -1
  292. package/src/sap/ui/model/odata/type/Time.js +1 -1
  293. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  294. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  295. package/src/sap/ui/model/odata/v2/Context.js +5 -5
  296. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +4 -3
  297. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +25 -16
  298. package/src/sap/ui/model/odata/v2/ODataListBinding.js +46 -28
  299. package/src/sap/ui/model/odata/v2/ODataModel.js +97 -39
  300. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +5 -5
  301. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +3 -3
  302. package/src/sap/ui/model/odata/v4/Context.js +109 -71
  303. package/src/sap/ui/model/odata/v4/ODataBinding.js +50 -7
  304. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +88 -68
  305. package/src/sap/ui/model/odata/v4/ODataListBinding.js +116 -81
  306. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +23 -20
  307. package/src/sap/ui/model/odata/v4/ODataModel.js +350 -88
  308. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +35 -9
  309. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +15 -9
  310. package/src/sap/ui/model/odata/v4/ODataUtils.js +8 -5
  311. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +45 -33
  312. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +40 -6
  313. package/src/sap/ui/model/odata/v4/lib/_Cache.js +135 -81
  314. package/src/sap/ui/model/odata/v4/lib/_ConcatHelper.js +2 -3
  315. package/src/sap/ui/model/odata/v4/lib/_Helper.js +179 -36
  316. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +2 -3
  317. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +26 -7
  318. package/src/sap/ui/model/resource/ResourceModel.js +8 -7
  319. package/src/sap/ui/model/type/Boolean.js +1 -1
  320. package/src/sap/ui/model/type/Currency.js +2 -2
  321. package/src/sap/ui/model/type/Date.js +1 -1
  322. package/src/sap/ui/model/type/DateInterval.js +1 -1
  323. package/src/sap/ui/model/type/DateTime.js +1 -1
  324. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  325. package/src/sap/ui/model/type/FileSize.js +1 -1
  326. package/src/sap/ui/model/type/Float.js +1 -1
  327. package/src/sap/ui/model/type/Integer.js +1 -1
  328. package/src/sap/ui/model/type/String.js +2 -2
  329. package/src/sap/ui/model/type/Time.js +1 -1
  330. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  331. package/src/sap/ui/model/type/Unit.js +5 -4
  332. package/src/sap/ui/model/xml/XMLModel.js +8 -6
  333. package/src/sap/ui/performance/trace/Interaction.js +1 -1
  334. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  335. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  336. package/src/sap/ui/test/Opa.js +7 -5
  337. package/src/sap/ui/test/Opa5.js +9 -15
  338. package/src/sap/ui/test/OpaBuilder.js +1 -1
  339. package/src/sap/ui/test/RecorderHotkeyListener.js +1 -1
  340. package/src/sap/ui/test/TestUtils.js +83 -1
  341. package/src/sap/ui/test/autowaiter/_autoWaiter.js +9 -0
  342. package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +114 -0
  343. package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +99 -0
  344. package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +70 -0
  345. package/src/sap/ui/test/autowaiter/_resourceWaiter.js +3 -12
  346. package/src/sap/ui/test/autowaiter/_utils.js +13 -1
  347. package/src/sap/ui/test/generic/TestBase.js +1 -1
  348. package/src/sap/ui/test/matchers/Ancestor.js +1 -0
  349. package/src/sap/ui/test/matchers/Descendant.js +1 -0
  350. package/src/sap/ui/test/matchers/Sibling.js +1 -0
  351. package/src/sap/ui/util/Storage.js +1 -1
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.model.odata.type.ODataType
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.105.1
65
+ * @version 1.107.0
66
66
  *
67
67
  * @alias sap.ui.model.odata.type.Guid
68
68
  * @param {object} [oFormatOptions]
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @extends sap.ui.model.odata.type.ODataType
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.105.1
83
+ * @version 1.107.0
84
84
  *
85
85
  * @abstract
86
86
  * @alias sap.ui.model.odata.type.Int
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.107.0
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Int16
30
30
  * @param {object} [oFormatOptions]
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.107.0
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Int32
30
30
  * @param {object} [oFormatOptions]
@@ -137,7 +137,7 @@ sap.ui.define([
137
137
  * @extends sap.ui.model.odata.type.ODataType
138
138
  *
139
139
  * @author SAP SE
140
- * @version 1.105.1
140
+ * @version 1.107.0
141
141
  *
142
142
  * @alias sap.ui.model.odata.type.Int64
143
143
  * @param {object} [oFormatOptions]
@@ -115,7 +115,7 @@ sap.ui.define([
115
115
  * @extends sap.ui.model.SimpleType
116
116
  *
117
117
  * @author SAP SE
118
- * @version 1.105.1
118
+ * @version 1.107.0
119
119
  *
120
120
  * @abstract
121
121
  * @alias sap.ui.model.odata.type.ODataType
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.model.odata.type.ODataType
31
31
  * @public
32
32
  * @since 1.37.0
33
- * @version 1.105.1
33
+ * @version 1.107.0
34
34
  */
35
35
  var Raw = ODataType.extend("sap.ui.model.odata.type.Raw", {
36
36
  constructor : function (oFormatOptions, oConstraints) {
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.107.0
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.SByte
30
30
  * @param {object} [oFormatOptions]
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  * @extends sap.ui.model.odata.type.ODataType
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.105.1
98
+ * @version 1.107.0
99
99
  *
100
100
  * @alias sap.ui.model.odata.type.Single
101
101
  * @param {object} [oFormatOptions]
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @extends sap.ui.model.odata.type.ODataType
61
61
  * @public
62
62
  * @since 1.51.0
63
- * @version 1.105.1
63
+ * @version 1.107.0
64
64
  */
65
65
  var Stream = ODataType.extend("sap.ui.model.odata.type.Stream", {
66
66
  constructor : function (oFormatOptions, oConstraints) {
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @extends sap.ui.model.odata.type.ODataType
85
85
  *
86
86
  * @author SAP SE
87
- * @version 1.105.1
87
+ * @version 1.107.0
88
88
  *
89
89
  * @alias sap.ui.model.odata.type.String
90
90
  * @param {object} [oFormatOptions]
@@ -154,7 +154,7 @@ sap.ui.define([
154
154
  * @extends sap.ui.model.odata.type.ODataType
155
155
  *
156
156
  * @author SAP SE
157
- * @version 1.105.1
157
+ * @version 1.107.0
158
158
  *
159
159
  * @alias sap.ui.model.odata.type.Time
160
160
  * @param {object} [oFormatOptions]
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * @extends sap.ui.model.odata.type.ODataType
111
111
  * @public
112
112
  * @since 1.37.0
113
- * @version 1.105.1
113
+ * @version 1.107.0
114
114
  */
115
115
  var TimeOfDay = ODataType.extend("sap.ui.model.odata.type.TimeOfDay", {
116
116
  constructor : function (oFormatOptions, oConstraints) {
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @extends sap.ui.model.type.Unit
64
64
  * @public
65
65
  * @since 1.63.0
66
- * @version 1.105.1
66
+ * @version 1.107.0
67
67
  */
68
68
  var Unit = BaseUnit.extend("sap.ui.model.odata.type.Unit", {
69
69
  constructor : function (oFormatOptions, oConstraints, aDynamicFormatOptionNames) {
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @hideconstructor
61
61
  * @public
62
62
  * @since 1.93.0
63
- * @version 1.105.1
63
+ * @version 1.107.0
64
64
  */
65
65
  var Context = BaseContext.extend("sap.ui.model.odata.v2.Context", {
66
66
  constructor : function (oModel, sPath, sDeepPath, oCreatePromise, bInactive) {
@@ -129,7 +129,7 @@ sap.ui.define([
129
129
  * the entity for this context has been stored in the back end, {@link #created} returns
130
130
  * <code>undefined</code>.
131
131
  *
132
- * @returns {Promise}
132
+ * @returns {Promise<any|undefined>|undefined}
133
133
  * A promise for a context which has been created via
134
134
  * {@link sap.ui.model.odata.v2.ODataModel#createEntry} or
135
135
  * {@link sap.ui.model.odata.v2.ODataListBinding#create}, otherwise <code>undefined</code>.
@@ -176,8 +176,8 @@ sap.ui.define([
176
176
  * Defines whether to update all bindings after submitting this change operation,
177
177
  * see {@link #setRefreshAfterChange}. If given, this overrules the model-wide
178
178
  * <code>refreshAfterChange</code> flag for this operation only.
179
- * @returns {Promise} A promise resolving with <code>undefined</code> in case of successful
180
- * deletion or rejecting with an error in case the deletion failed
179
+ * @returns {Promise<undefined>} A promise resolving with <code>undefined</code> in case of
180
+ * successful deletion or rejecting with an error in case the deletion failed
181
181
  * @throws {Error}
182
182
  * If the given parameter map contains any other parameter than those documented above in case
183
183
  * of a persistent context
@@ -308,7 +308,7 @@ sap.ui.define([
308
308
  * "@$ui5.context.isTransient" instance annotation at the entity, see
309
309
  * {@link sap.ui.model.odata.v2.ODataModel#getProperty} for details.
310
310
  *
311
- * @returns {boolean}
311
+ * @returns {boolean|undefined}
312
312
  * <ul>
313
313
  * <li><code>true</code>: if the context has been created via
314
314
  * {@link sap.ui.model.odata.v2.ODataModel#createEntry} or
@@ -9,10 +9,11 @@ sap.ui.define([
9
9
  "sap/base/assert",
10
10
  "sap/base/util/extend",
11
11
  "sap/ui/base/EventProvider",
12
+ "sap/ui/core/Configuration",
12
13
  "sap/ui/core/cache/CacheManager",
13
14
  "sap/ui/model/odata/AnnotationParser",
14
15
  "sap/ui/thirdparty/jquery"
15
- ], function(assert, extend, EventProvider, CacheManager, AnnotationParser, jQuery) {
16
+ ], function(assert, extend, EventProvider, Configuration, CacheManager, AnnotationParser, jQuery) {
16
17
  "use strict";
17
18
 
18
19
  ///////////////////////////////////////////////// Class Definition /////////////////////////////////////////////////
@@ -35,7 +36,7 @@ sap.ui.define([
35
36
  * @class Annotation loader for OData V2 services
36
37
  *
37
38
  * @author SAP SE
38
- * @version 1.105.1
39
+ * @version 1.107.0
39
40
  *
40
41
  * @public
41
42
  * @since 1.37.0
@@ -836,7 +837,7 @@ sap.ui.define([
836
837
  ODataAnnotations.prototype._getHeaders = function() {
837
838
  //The 'sap-cancel-on-close' header marks the OData annotation request as cancelable. This helps to save resources at the back-end.
838
839
  return extend({"sap-cancel-on-close": true}, this.getHeaders(), {
839
- "Accept-Language": sap.ui.getCore().getConfiguration().getLanguageTag() // Always overwrite
840
+ "Accept-Language": Configuration.getLanguageTag() // Always overwrite
840
841
  });
841
842
  };
842
843
 
@@ -15,26 +15,35 @@ sap.ui.define([
15
15
  "use strict";
16
16
 
17
17
  /**
18
- * Constructor for odata.ODataContextBinding
19
- *
20
18
  * @class
21
- * The ContextBinding is a specific binding for a setting context for the model
19
+ * Context binding for an OData V2 model.
22
20
  *
23
- * @param {sap.ui.model.Model} oModel
24
- * @param {string} sPath
25
- * @param {sap.ui.model.Context} oContext
21
+ * @param {sap.ui.model.odata.v2.ODataModel} oModel The OData V2 model
22
+ * @param {string} sPath The binding path in the model
23
+ * @param {sap.ui.model.Context} [oContext]
24
+ * The context which is required as base for a relative path.
26
25
  * @param {object} [mParameters] A map which contains additional parameters for the binding.
27
- * @param {string} [mParameters.expand] For the OData <code>$expand</code> query option parameter which should be included in the request
28
- * @param {string} [mParameters.select] For the OData <code>$select</code> query option parameter which should be included in the request
29
- * @param {Object<string,string>} [mParameters.custom] An optional map of custom query parameters. Custom parameters must not start with <code>$</code>.
30
26
  * @param {boolean} [mParameters.createPreliminaryContext]
31
- * Whether a preliminary context will be created
27
+ * Whether a preliminary context is created
28
+ * @param {Object<string,string>} [mParameters.custom]
29
+ * An optional map of custom query parameters. Custom parameters must not start with
30
+ * <code>$</code>.
31
+ * @param {string} [mParameters.expand]
32
+ * Value for the OData <code>$expand</code> query option parameter which is included in the
33
+ * request after URL encoding of the given value.
34
+ * @param {string} [mParameters.groupId]
35
+ * The group id to be used for requests originating from the binding
36
+ * @param {string} [mParameters.select]
37
+ * Value for the OData <code>$select</code> query option parameter which is included in the
38
+ * request after URL encoding of the given value.
32
39
  * @param {boolean} [mParameters.usePreliminaryContext]
33
- * Whether a preliminary context will be used. When set to <code>true</code>, the model can
34
- * bundle the OData calls for dependent bindings into fewer $batch requests. For more
35
- * information, see
36
- * {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db Optimizing Dependent Bindings}
37
- * @abstract
40
+ * Whether a preliminary context is used. When set to <code>true</code>, the model can bundle
41
+ * the OData calls for dependent bindings into fewer $batch requests. For more information,
42
+ * see {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db
43
+ * Optimizing Dependent Bindings}.
44
+ * @param {string} [mParameters.batchGroupId]
45
+ * <b>Deprecated</b>, use <code>groupId</code> instead. Sets the batch group id to be used for
46
+ * requests originating from the binding.
38
47
  * @public
39
48
  * @alias sap.ui.model.odata.v2.ODataContextBinding
40
49
  * @extends sap.ui.model.ContextBinding
@@ -59,7 +68,7 @@ sap.ui.define([
59
68
  /**
60
69
  * Returns the bound context.
61
70
  *
62
- * @returns {sap.ui.model.odata.v2.Context}
71
+ * @returns {sap.ui.model.odata.v2.Context|null}
63
72
  * The context object used by this context binding or <code>null</code>
64
73
  * @function
65
74
  * @name sap.ui.model.odata.v2.ODataContextBinding#getBoundContext
@@ -35,43 +35,61 @@ sap.ui.define([
35
35
 
36
36
  /**
37
37
  * @class
38
- * List binding implementation for OData format.
39
- *
40
- * @param {sap.ui.model.odata.v2.ODataModel} oModel Model that this list binding belongs to
41
- * @param {string} sPath Path into the model data, relative to the given <code>oContext</code>
42
- * @param {sap.ui.model.Context} oContext Context that the <code>sPath</code> is based on
43
- * @param {sap.ui.model.Sorter|sap.ui.model.Sorter[]} [aSorters] Initial sort order, can be either a sorter or an array of sorters
44
- * @param {sap.ui.model.Filter|sap.ui.model.Filter[]} [aFilters] Predefined filters, can be either a filter or an array of filters
45
- * @param {object} [mParameters] A map which contains additional parameters for the binding
46
- * @param {string} [mParameters.batchGroupId] Sets the batch group ID to be used for requests originating from this binding
47
- * @param {sap.ui.model.odata.CountMode} [mParameters.countMode] Defines the count mode of this binding;
48
- * if not specified, the default count mode of the <code>oModel</code> is applied
38
+ * List binding for an OData V2 model.
39
+ *
40
+ * @param {sap.ui.model.odata.v2.ODataModel} oModel The OData V2 model
41
+ * @param {string} sPath The binding path in the model
42
+ * @param {sap.ui.model.Context} [oContext]
43
+ * The context which is required as base for a relative path.
44
+ * @param {sap.ui.model.Sorter|sap.ui.model.Sorter[]} [aSorters]
45
+ * Initial sort order, can be either a sorter or an array of sorters.
46
+ * @param {sap.ui.model.Filter|sap.ui.model.Filter[]} [aFilters]
47
+ * Predefined filters, can be either a filter or an array of filters.
48
+ * @param {object} [mParameters] A map which contains additional parameters for the binding.
49
+ * @param {sap.ui.model.odata.CountMode} [mParameters.countMode]
50
+ * Defines the count mode of the binding; if not specified, the default count mode of the
51
+ * <code>oModel</code> is applied.
49
52
  * @param {string} [mParameters.createdEntitiesKey=""]
50
- * A key used in combination with the resolved path of this binding to identify the entities
51
- * created by this binding's {@link #create} method.
53
+ * A key used in combination with the resolved path of the binding to identify the entities
54
+ * created by the binding's {@link #create} method.
52
55
  *
53
56
  * <b>Note:</b> Different controls or control aggregation bindings to the same collection must
54
57
  * have different <code>createdEntitiesKey</code> values.
55
- * @param {Object<string,string>} [mParameters.custom] An optional map of custom query parameters. Custom parameters must not start with <code>$</code>
56
- * @param {string} [mParameters.expand] Value for the OData <code>$expand</code> query parameter which is included in the request
57
- * @param {boolean} [mParameters.faultTolerant] Turns on the fault tolerance mode, data is not reset if a back-end request returns an error
58
- * @param {sap.ui.model.odata.OperationMode} [mParameters.operationMode] Defines the operation mode of this binding
59
- * @param {string} [mParameters.select] Value for the OData <code>$select</code> query parameter which is included in the request
60
- * @param {int} [mParameters.threshold]
61
- * Deprecated since 1.102.0, as {@link sap.ui.model.odata.OperationMode.Auto} is deprecated;
62
- * the threshold that defines how many entries should be fetched at least by the binding if
63
- * <code>operationMode</code> is set to <code>Auto</code>
58
+ * @param {Object<string,string>} [mParameters.custom]
59
+ * An optional map of custom query parameters. Custom parameters must not start with
60
+ * <code>$</code>.
61
+ * @param {string} [mParameters.expand]
62
+ * Value for the OData <code>$expand</code> query option parameter which is included in the
63
+ * data request after URL encoding of the given value.
64
+ * @param {boolean} [mParameters.faultTolerant]
65
+ * Turns on the fault tolerance mode, data is not reset if a back-end request returns an
66
+ * error.
67
+ * @param {string} [mParameters.groupId]
68
+ * The group id to be used for requests originating from the binding
69
+ * @param {sap.ui.model.odata.OperationMode} [mParameters.operationMode]
70
+ * The operation mode of the binding
71
+ * @param {string} [mParameters.select]
72
+ * Value for the OData <code>$select</code> query option parameter which is included in the
73
+ * data request after URL encoding of the given value.
64
74
  * @param {boolean} [mParameters.transitionMessagesOnly]
65
- * Whether this list binding only requests transition messages from the back end. If messages
75
+ * Whether the list binding only requests transition messages from the back end. If messages
66
76
  * for entities of this collection need to be updated, use
67
- * {@link sap.ui.model.odata.v2.ODataModel#read} on the parent entity corresponding to this
68
- * list binding's context with the parameter <code>updateAggregatedMessages</code> set to
77
+ * {@link sap.ui.model.odata.v2.ODataModel#read} on the parent entity corresponding to the
78
+ * list binding's context, with the parameter <code>updateAggregatedMessages</code> set to
69
79
  * <code>true</code>.
70
80
  * @param {boolean} [mParameters.usePreliminaryContext]
71
- * Whether a preliminary context will be used. When set to <code>true</code>, the model can
81
+ * Whether a preliminary context is used. When set to <code>true</code>, the model can
72
82
  * bundle the OData calls for dependent bindings into fewer $batch requests. For more
73
83
  * information, see
74
- * {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db Optimizing Dependent Bindings}
84
+ * {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db
85
+ * Optimizing Dependent Bindings}.
86
+ * @param {string} [mParameters.batchGroupId]
87
+ * <b>Deprecated</b>, use <code>groupId</code> instead. Sets the batch group id to be used for
88
+ * requests originating from the binding.
89
+ * @param {int} [mParameters.threshold]
90
+ * Deprecated since 1.102.0, as {@link sap.ui.model.odata.OperationMode.Auto} is deprecated;
91
+ * the threshold that defines how many entries should be fetched at least by the binding if
92
+ * <code>operationMode</code> is set to <code>Auto</code>.
75
93
  * @public
76
94
  * @alias sap.ui.model.odata.v2.ODataListBinding
77
95
  * @extends sap.ui.model.ListBinding
@@ -1973,7 +1991,7 @@ sap.ui.define([
1973
1991
  * A callback function to filter only relevant messages. The callback returns whether the
1974
1992
  * given {@link sap.ui.core.message.Message} is considered. If no callback function is given,
1975
1993
  * all messages are considered.
1976
- * @returns {Promise<sap.ui.model.Filter>}
1994
+ * @returns {Promise<sap.ui.model.Filter|null>}
1977
1995
  * A Promise that resolves with a {@link sap.ui.model.Filter} representing the entries with
1978
1996
  * messages; it resolves with <code>null</code> if the binding is not resolved or if there is
1979
1997
  * no message for any entry
@@ -33,6 +33,7 @@ sap.ui.define([
33
33
  "sap/base/util/uid",
34
34
  "sap/base/util/UriParameters",
35
35
  "sap/ui/base/SyncPromise",
36
+ "sap/ui/core/Configuration",
36
37
  "sap/ui/core/library",
37
38
  "sap/ui/core/message/Message",
38
39
  "sap/ui/core/message/MessageParser",
@@ -55,10 +56,10 @@ sap.ui.define([
55
56
  "sap/ui/util/isCrossOriginURL"
56
57
  ], function(_CreatedContextsCache, Context, ODataAnnotations, ODataContextBinding, ODataListBinding,
57
58
  ODataTreeBinding, assert, Log, encodeURL, deepEqual, deepExtend, each, extend,
58
- isEmptyObject, isPlainObject, merge, uid, UriParameters, SyncPromise, coreLibrary, Message,
59
- MessageParser, _Helper, BindingMode, BaseContext, FilterProcessor, Model, CountMode,
60
- MessageScope, ODataMetadata, ODataMetaModel, ODataMessageParser, ODataPropertyBinding,
61
- ODataUtils, OperationMode, UpdateMethod, OData, URI, isCrossOriginURL
59
+ isEmptyObject, isPlainObject, merge, uid, UriParameters, SyncPromise, Configuration,
60
+ coreLibrary, Message, MessageParser, _Helper, BindingMode, BaseContext, FilterProcessor,
61
+ Model, CountMode, MessageScope, ODataMetadata, ODataMetaModel, ODataMessageParser,
62
+ ODataPropertyBinding, ODataUtils, OperationMode, UpdateMethod, OData, URI, isCrossOriginURL
62
63
  ) {
63
64
 
64
65
  "use strict";
@@ -203,7 +204,7 @@ sap.ui.define([
203
204
  * This model is not prepared to be inherited from.
204
205
  *
205
206
  * @author SAP SE
206
- * @version 1.105.1
207
+ * @version 1.107.0
207
208
  *
208
209
  * @public
209
210
  * @alias sap.ui.model.odata.v2.ODataModel
@@ -386,7 +387,7 @@ sap.ui.define([
386
387
  this.sUser = sUser;
387
388
  this.sPassword = sPassword;
388
389
 
389
- if (sap.ui.getCore().getConfiguration().getStatistics()) {
390
+ if (Configuration.getStatisticsEnabled()) {
390
391
  // add statistics parameter to every request (supported only on Gateway servers)
391
392
  this.aUrlParams.push("sap-statistics=true");
392
393
  }
@@ -486,7 +487,7 @@ sap.ui.define([
486
487
  this.securityTokenAvailable();
487
488
  }
488
489
  }
489
- this.oHeaders["Accept-Language"] = sap.ui.getCore().getConfiguration().getLanguageTag();
490
+ this.oHeaders["Accept-Language"] = Configuration.getLanguageTag();
490
491
 
491
492
  // set version to 2.0 because 1.0 does not support e.g. skip/top, inlinecount...
492
493
  // states the version of the Open Data Protocol used by the client to generate the request.
@@ -1997,31 +1998,59 @@ sap.ui.define([
1997
1998
  /**
1998
1999
  * Creates a new list binding for this model.
1999
2000
  *
2000
- * @param {string} sPath Binding path, either absolute or relative to a given <code>oContext</code>
2001
- * @param {sap.ui.model.Context} [oContext] Binding context referring to this model
2002
- * @param {sap.ui.model.Sorter|sap.ui.model.Sorter[]} [aSorters] Initial sort order, can be either a sorter or an array of sorters
2003
- * @param {sap.ui.model.Filter|sap.ui.model.Filter[]} [aFilters] Predefined filters, can be either a filter or an array of filters
2004
- * @param {object} [mParameters] Map which contains additional parameters for the binding
2005
- * @param {string} [mParameters.expand] Value for the OData <code>$expand</code> query parameter which should be included in the request
2006
- * @param {string} [mParameters.select] Value for the OData <code>$select</code> query parameter which should be included in the request
2007
- * @param {Object<string,string>} [mParameters.custom] Optional map of custom query parameters (name/value pairs); names of custom parameters must not start with <code>$</code>
2008
- * @param {sap.ui.model.odata.CountMode} [mParameters.countMode] Count mode for this binding;
2009
- * if not specified, the default count mode for this model is used
2001
+ * @param {string} sPath The binding path in the model
2002
+ * @param {sap.ui.model.Context} [oContext]
2003
+ * The context which is required as base for a relative path.
2004
+ * @param {sap.ui.model.Sorter|sap.ui.model.Sorter[]} [aSorters]
2005
+ * Initial sort order, can be either a sorter or an array of sorters.
2006
+ * @param {sap.ui.model.Filter|sap.ui.model.Filter[]} [aFilters]
2007
+ * Predefined filters, can be either a filter or an array of filters.
2008
+ * @param {object} [mParameters] A map which contains additional parameters for the binding.
2009
+ * @param {sap.ui.model.odata.CountMode} [mParameters.countMode]
2010
+ * Defines the count mode of the binding; if not specified, the default count mode of the
2011
+ * <code>oModel</code> is applied.
2010
2012
  * @param {string} [mParameters.createdEntitiesKey=""]
2011
2013
  * A key used in combination with the resolved path of the binding to identify the entities
2012
- * created via the binding's {@link #create} method.
2014
+ * created by the binding's {@link #create} method.
2013
2015
  *
2014
2016
  * <b>Note:</b> Different controls or control aggregation bindings to the same collection must
2015
2017
  * have different <code>createdEntitiesKey</code> values.
2016
- * @param {sap.ui.model.odata.OperationMode} [mParameters.operationMode] Operation mode for this binding;
2017
- * if not specified, the default operation mode of this model is used
2018
- * @param {boolean} [mParameters.faultTolerant] Turns on the fault tolerance mode, data is not reset if a backend request returns an error
2019
- * @param {string} [mParameters.batchGroupId] Sets the batch group ID to be used for requests originating from this binding
2018
+ * @param {Object<string,string>} [mParameters.custom]
2019
+ * An optional map of custom query parameters. Custom parameters must not start with
2020
+ * <code>$</code>.
2021
+ * @param {string} [mParameters.expand]
2022
+ * Value for the OData <code>$expand</code> query option parameter which is included in the
2023
+ * data request after URL encoding of the given value.
2024
+ * @param {boolean} [mParameters.faultTolerant]
2025
+ * Turns on the fault tolerance mode, data is not reset if a back-end request returns an
2026
+ * error.
2027
+ * @param {string} [mParameters.groupId]
2028
+ * The group id to be used for requests originating from the binding
2029
+ * @param {sap.ui.model.odata.OperationMode} [mParameters.operationMode]
2030
+ * The operation mode of the binding
2031
+ * @param {string} [mParameters.select]
2032
+ * Value for the OData <code>$select</code> query option parameter which is included in the
2033
+ * data request after URL encoding of the given value.
2034
+ * @param {boolean} [mParameters.transitionMessagesOnly]
2035
+ * Whether the list binding only requests transition messages from the back end. If messages
2036
+ * for entities of this collection need to be updated, use
2037
+ * {@link sap.ui.model.odata.v2.ODataModel#read} on the parent entity corresponding to the
2038
+ * list binding's context, with the parameter <code>updateAggregatedMessages</code> set to
2039
+ * <code>true</code>.
2040
+ * @param {boolean} [mParameters.usePreliminaryContext]
2041
+ * Whether a preliminary context is used. When set to <code>true</code>, the model can
2042
+ * bundle the OData calls for dependent bindings into fewer $batch requests. For more
2043
+ * information, see
2044
+ * {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db
2045
+ * Optimizing Dependent Bindings}.
2046
+ * @param {string} [mParameters.batchGroupId]
2047
+ * <b>Deprecated</b>, use <code>groupId</code> instead. Sets the batch group id to be used for
2048
+ * requests originating from the binding.
2020
2049
  * @param {int} [mParameters.threshold]
2021
2050
  * Deprecated since 1.102.0, as {@link sap.ui.model.odata.OperationMode.Auto} is deprecated;
2022
2051
  * the threshold that defines how many entries should be fetched at least by the binding if
2023
- * <code>operationMode</code> is set to <code>Auto</code>
2024
- * @returns {sap.ui.model.ListBinding} The new list binding
2052
+ * <code>operationMode</code> is set to <code>Auto</code>.
2053
+ * @returns {sap.ui.model.odata.v2.ODataListBinding} The new list binding
2025
2054
  * @see sap.ui.model.Model.prototype.bindList
2026
2055
  * @public
2027
2056
  */
@@ -2169,7 +2198,7 @@ sap.ui.define([
2169
2198
  * @returns {sap.ui.model.odata.v2.ODataTreeBinding}
2170
2199
  * The new tree binding
2171
2200
  * @public
2172
- * @see {@link https://wiki.scn.sap.com/wiki/display/EmTech/SAP+Annotations+for+OData+Version+2.0
2201
+ * @see {@link http://www.sap.com/protocols/SAPData
2173
2202
  * "SAP Annotations for OData Version 2.0" Specification}
2174
2203
  */
2175
2204
  ODataModel.prototype.bindTree = function(sPath, oContext, vFilters, mParameters, vSorters) {
@@ -2650,13 +2679,35 @@ sap.ui.define([
2650
2679
  };
2651
2680
 
2652
2681
  /**
2653
- * Creates new context binding for this model.
2682
+ * Creates a context binding for this model.
2654
2683
  *
2684
+ * @param {string} sPath The binding path in the model
2685
+ * @param {sap.ui.model.Context} [oContext]
2686
+ * The context which is required as base for a relative path.
2687
+ * @param {object} [mParameters] A map which contains additional parameters for the binding.
2688
+ * @param {boolean} [mParameters.createPreliminaryContext]
2689
+ * Whether a preliminary context is created
2690
+ * @param {Object<string,string>} [mParameters.custom]
2691
+ * An optional map of custom query parameters. Custom parameters must not start with
2692
+ * <code>$</code>.
2693
+ * @param {string} [mParameters.expand]
2694
+ * Value for the OData <code>$expand</code> query option parameter which is included in the
2695
+ * request after URL encoding of the given value.
2696
+ * @param {string} [mParameters.groupId]
2697
+ * The group id to be used for requests originating from the binding
2698
+ * @param {string} [mParameters.select]
2699
+ * Value for the OData <code>$select</code> query option parameter which is included in the
2700
+ * request after URL encoding of the given value.
2701
+ * @param {boolean} [mParameters.usePreliminaryContext]
2702
+ * Whether a preliminary context is used. When set to <code>true</code>, the model can bundle
2703
+ * the OData calls for dependent bindings into fewer $batch requests. For more information,
2704
+ * see {@link topic:6c47b2b39db9404582994070ec3d57a2#loio62149734b5c24507868e722fe87a75db
2705
+ * Optimizing Dependent Bindings}.
2706
+ * @param {string} [mParameters.batchGroupId]
2707
+ * <b>Deprecated</b>, use <code>groupId</code> instead. Sets the batch group id to be used for
2708
+ * requests originating from the binding.
2709
+ * @returns {sap.ui.model.odata.v2.ODataContextBinding} The new context binding
2655
2710
  * @see sap.ui.model.Model.prototype.bindContext
2656
- * @param {string} sPath Resolved path
2657
- * @param {sap.ui.model.Context} oContext Context object
2658
- * @param {Object<string,any>} [mParameters] Map of parameters
2659
- * @returns {sap.ui.model.ContextBinding} The new context binding
2660
2711
  * @public
2661
2712
  */
2662
2713
  ODataModel.prototype.bindContext = function(sPath, oContext, mParameters) {
@@ -2771,7 +2822,7 @@ sap.ui.define([
2771
2822
  * <code>undefined</code> when the <code>vValue</code> can't be interpreted.
2772
2823
  *
2773
2824
  * @param {string|object|sap.ui.model.Context} vValue The canonical entry URI, the context or entry object
2774
- * @returns {string} Key of the entry or <code>undefined</code>
2825
+ * @returns {string|undefined} Key of the entry or <code>undefined</code>
2775
2826
  * @public
2776
2827
  */
2777
2828
  ODataModel.prototype.getKey = function(vValue) {
@@ -2916,7 +2967,7 @@ sap.ui.define([
2916
2967
  * Comma-separated list of properties or paths to properties to select
2917
2968
  * @param {string} [mParameters.expand]
2918
2969
  * Comma-separated list of navigation properties or paths to navigation properties to expand
2919
- * @returns {any}
2970
+ * @returns {any|undefined}
2920
2971
  * The value for the given path and context or <code>undefined</code> if data or entity type
2921
2972
  * cannot be found or if not all selected properties are available
2922
2973
  *
@@ -4767,7 +4818,7 @@ sap.ui.define([
4767
4818
  * @param {sap.ui.model.Context} [oContext] The binding context
4768
4819
  * @param {object} [oEntity] The entity data
4769
4820
  *
4770
- * @returns {string} The found ETag (or <code>null</code> if none could be found)
4821
+ * @returns {string|null} The found ETag (or <code>null</code> if none could be found)
4771
4822
  * @public
4772
4823
  */
4773
4824
  ODataModel.prototype.getETag = function(sPath, oContext, oEntity) {
@@ -7220,16 +7271,21 @@ sap.ui.define([
7220
7271
  };
7221
7272
 
7222
7273
  /**
7223
- * @returns {boolean} bRefreshAfterChange Whether to automatically refresh after changes
7274
+ * Whether all affected bindings are refreshed after a change operation.
7275
+ *
7276
+ * This flag can be overruled on request level by providing the <code>refreshAfterChange</code>
7277
+ * parameter to the corresponding function (for example {@link #update}).
7278
+ *
7279
+ * @returns {boolean} Whether to automatically refresh after changes
7224
7280
  * @public
7225
7281
  * @since 1.46.0
7226
7282
  */
7227
- ODataModel.prototype.getRefreshAfterChange = function() {
7283
+ ODataModel.prototype.getRefreshAfterChange = function () {
7228
7284
  return this.bRefreshAfterChange;
7229
7285
  };
7230
7286
 
7231
7287
  /**
7232
- * Defines whether all bindings are updated after a change operation.
7288
+ * Defines whether all affected bindings are refreshed after a change operation.
7233
7289
  *
7234
7290
  * This flag can be overruled on request level by providing the <code>refreshAfterChange</code>
7235
7291
  * parameter to the corresponding function (for example {@link #update}).
@@ -7238,7 +7294,7 @@ sap.ui.define([
7238
7294
  * @public
7239
7295
  * @since 1.16.3
7240
7296
  */
7241
- ODataModel.prototype.setRefreshAfterChange = function(bRefreshAfterChange) {
7297
+ ODataModel.prototype.setRefreshAfterChange = function (bRefreshAfterChange) {
7242
7298
  this.bRefreshAfterChange = bRefreshAfterChange;
7243
7299
  };
7244
7300
 
@@ -7407,9 +7463,11 @@ sap.ui.define([
7407
7463
  };
7408
7464
 
7409
7465
  /**
7410
- * Setting request groups as deferred.
7466
+ * Setting request groups as deferred. <b>Note:</b> This will overwrite existing deferred
7467
+ * groups, including the default group "changes".
7411
7468
  *
7412
- * Requests that belong to a deferred group will be sent by explicitly calling {@link #submitChanges}.
7469
+ * Requests that belong to a deferred group will be sent by explicitly calling
7470
+ * {@link #submitChanges}.
7413
7471
  *
7414
7472
  * @param {array} aGroupIds Array of group IDs that should be set as deferred
7415
7473
  * @public