@openui5/sap.ui.core 1.95.0 → 1.96.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 (334) hide show
  1. package/.eslintrc.json +12 -0
  2. package/.reuse/dep5 +10 -5
  3. package/THIRDPARTY.txt +17 -8
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.properties.js +1 -1
  7. package/src/jquery.sap.resources.js +1 -1
  8. package/src/jquery.sap.script.js +1 -1
  9. package/src/jquery.sap.storage.js +3 -3
  10. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  11. package/src/sap/base/util/restricted/_castArray.js +1 -1
  12. package/src/sap/base/util/restricted/_compact.js +1 -1
  13. package/src/sap/base/util/restricted/_curry.js +1 -1
  14. package/src/sap/base/util/restricted/_debounce.js +1 -1
  15. package/src/sap/base/util/restricted/_difference.js +1 -1
  16. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  18. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  21. package/src/sap/base/util/restricted/_flatten.js +1 -1
  22. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  24. package/src/sap/base/util/restricted/_intersection.js +1 -1
  25. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  27. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isNil.js +1 -1
  30. package/src/sap/base/util/restricted/_max.js +1 -1
  31. package/src/sap/base/util/restricted/_merge.js +1 -1
  32. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  33. package/src/sap/base/util/restricted/_min.js +1 -1
  34. package/src/sap/base/util/restricted/_omit.js +1 -1
  35. package/src/sap/base/util/restricted/_pick.js +1 -1
  36. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  37. package/src/sap/base/util/restricted/_throttle.js +1 -1
  38. package/src/sap/base/util/restricted/_toArray.js +1 -1
  39. package/src/sap/base/util/restricted/_union.js +1 -1
  40. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  41. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  42. package/src/sap/base/util/restricted/_uniq.js +1 -1
  43. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  45. package/src/sap/base/util/restricted/_without.js +1 -1
  46. package/src/sap/base/util/restricted/_xor.js +1 -1
  47. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  48. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  49. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  51. package/src/sap/ui/Device.js +3 -3
  52. package/src/sap/ui/Global.js +6 -5
  53. package/src/sap/ui/base/Event.js +1 -1
  54. package/src/sap/ui/base/EventProvider.js +1 -1
  55. package/src/sap/ui/base/Interface.js +1 -1
  56. package/src/sap/ui/base/ManagedObject.js +1 -1
  57. package/src/sap/ui/base/ManagedObjectMetadata.js +2 -2
  58. package/src/sap/ui/base/Metadata.js +1 -1
  59. package/src/sap/ui/base/Object.js +1 -1
  60. package/src/sap/ui/base/ObjectPool.js +1 -1
  61. package/src/sap/ui/core/.library +2 -2
  62. package/src/sap/ui/core/BusyIndicator.js +1 -1
  63. package/src/sap/ui/core/Component.js +2 -3
  64. package/src/sap/ui/core/ComponentContainer.js +9 -3
  65. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  66. package/src/sap/ui/core/ComponentSupport.js +1 -1
  67. package/src/sap/ui/core/Configuration.js +6 -1
  68. package/src/sap/ui/core/Control.js +1 -1
  69. package/src/sap/ui/core/Core.js +64 -6
  70. package/src/sap/ui/core/CustomData.js +1 -1
  71. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  72. package/src/sap/ui/core/Element.js +1 -1
  73. package/src/sap/ui/core/ElementMetadata.js +1 -1
  74. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  75. package/src/sap/ui/core/EventBus.js +1 -1
  76. package/src/sap/ui/core/Fragment.js +2 -2
  77. package/src/sap/ui/core/HTML.js +1 -1
  78. package/src/sap/ui/core/History.js +1 -1
  79. package/src/sap/ui/core/Icon.js +3 -4
  80. package/src/sap/ui/core/IconPool.js +11 -0
  81. package/src/sap/ui/core/IconRenderer.js +4 -4
  82. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  83. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  84. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  85. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  86. package/src/sap/ui/core/InvisibleText.js +1 -1
  87. package/src/sap/ui/core/Item.js +1 -1
  88. package/src/sap/ui/core/LabelEnablement.js +1 -1
  89. package/src/sap/ui/core/LayoutData.js +1 -1
  90. package/src/sap/ui/core/ListItem.js +1 -1
  91. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  92. package/src/sap/ui/core/Locale.js +1 -1
  93. package/src/sap/ui/core/LocaleData.js +1 -1
  94. package/src/sap/ui/core/Manifest.js +1 -1
  95. package/src/sap/ui/core/Message.js +1 -1
  96. package/src/sap/ui/core/Patcher.js +27 -3
  97. package/src/sap/ui/core/Placeholder.js +4 -4
  98. package/src/sap/ui/core/RenderManager.js +20 -4
  99. package/src/sap/ui/core/Renderer.js +1 -1
  100. package/src/sap/ui/core/ResizeHandler.js +1 -1
  101. package/src/sap/ui/core/ScrollBar.js +1 -1
  102. package/src/sap/ui/core/SeparatorItem.js +1 -1
  103. package/src/sap/ui/core/Title.js +1 -1
  104. package/src/sap/ui/core/TooltipBase.js +1 -1
  105. package/src/sap/ui/core/UIArea.js +1 -1
  106. package/src/sap/ui/core/UIComponent.js +3 -4
  107. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  108. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  109. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  110. package/src/sap/ui/core/XMLComposite.js +2 -2
  111. package/src/sap/ui/core/XMLCompositeMetadata.js +2 -2
  112. package/src/sap/ui/core/XMLTemplateProcessor.js +93 -37
  113. package/src/sap/ui/core/_IconRegistry.js +31 -98
  114. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  115. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  116. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  117. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  118. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  119. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  120. package/src/sap/ui/core/format/NumberFormat.js +16 -1
  121. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  122. package/src/sap/ui/core/library.js +3 -3
  123. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  124. package/src/sap/ui/core/message/Message.js +1 -1
  125. package/src/sap/ui/core/message/MessageManager.js +1 -1
  126. package/src/sap/ui/core/message/MessageParser.js +1 -1
  127. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  128. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  129. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  130. package/src/sap/ui/core/mvc/JSView.js +1 -1
  131. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  132. package/src/sap/ui/core/mvc/View.js +1 -1
  133. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  134. package/src/sap/ui/core/mvc/XMLViewRenderer.js +17 -20
  135. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  136. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  137. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  138. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  139. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  140. package/src/sap/ui/core/routing/Router.js +8 -1
  141. package/src/sap/ui/core/routing/async/Target.js +2 -4
  142. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  143. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  144. package/src/sap/ui/core/service/Service.js +1 -1
  145. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  146. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  147. package/src/sap/ui/core/support/Plugin.js +1 -1
  148. package/src/sap/ui/core/support/Support.js +1 -1
  149. package/src/sap/ui/core/support/plugins/ControlTree.js +37 -43
  150. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  151. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  153. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  154. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  156. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  157. package/src/sap/ui/core/themes/base/Icon.less +9 -0
  158. package/src/sap/ui/core/themes/base/SAP-icons.css +2 -0
  159. package/src/sap/ui/core/themes/base/SAP-icons.less +10 -0
  160. package/src/sap/ui/core/themes/base/base.less +543 -390
  161. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  162. package/src/sap/ui/core/themes/base/global.less +38 -0
  163. package/src/sap/ui/core/themes/base/library.source.less +1 -2
  164. package/src/sap/ui/core/themes/sap_hcb/global.less +34 -0
  165. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  166. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  167. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  168. package/src/sap/ui/core/tmpl/Template.js +1 -1
  169. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  170. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  171. package/src/sap/ui/core/util/Export.js +1 -1
  172. package/src/sap/ui/core/util/ExportCell.js +1 -1
  173. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  174. package/src/sap/ui/core/util/ExportRow.js +1 -1
  175. package/src/sap/ui/core/util/ExportType.js +1 -1
  176. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  177. package/src/sap/ui/core/util/File.js +1 -1
  178. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  179. package/src/sap/ui/core/util/MockServer.js +1 -1
  180. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  181. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +7 -9
  182. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +6 -3
  183. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  184. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  185. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  186. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  187. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  188. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  189. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  190. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  191. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  192. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  193. package/src/sap/ui/debug/ControlTree.js +1 -1
  194. package/src/sap/ui/debug/DebugEnv.js +1 -1
  195. package/src/sap/ui/debug/Highlighter.js +8 -2
  196. package/src/sap/ui/debug/PropertyList.js +1 -1
  197. package/src/sap/ui/model/Binding.js +174 -118
  198. package/src/sap/ui/model/ClientContextBinding.js +1 -1
  199. package/src/sap/ui/model/ClientListBinding.js +1 -3
  200. package/src/sap/ui/model/ClientModel.js +4 -4
  201. package/src/sap/ui/model/ClientPropertyBinding.js +1 -1
  202. package/src/sap/ui/model/ClientTreeBinding.js +1 -1
  203. package/src/sap/ui/model/ClientTreeBindingAdapter.js +28 -23
  204. package/src/sap/ui/model/CompositeBinding.js +98 -77
  205. package/src/sap/ui/model/CompositeDataState.js +2 -2
  206. package/src/sap/ui/model/CompositeType.js +2 -2
  207. package/src/sap/ui/model/Context.js +4 -2
  208. package/src/sap/ui/model/ContextBinding.js +6 -14
  209. package/src/sap/ui/model/DataState.js +2 -2
  210. package/src/sap/ui/model/Filter.js +255 -53
  211. package/src/sap/ui/model/FilterOperator.js +1 -1
  212. package/src/sap/ui/model/FilterProcessor.js +27 -17
  213. package/src/sap/ui/model/FilterType.js +1 -1
  214. package/src/sap/ui/model/ListBinding.js +180 -117
  215. package/src/sap/ui/model/MetaModel.js +4 -9
  216. package/src/sap/ui/model/Model.js +345 -294
  217. package/src/sap/ui/model/PropertyBinding.js +92 -58
  218. package/src/sap/ui/model/SelectionModel.js +2 -2
  219. package/src/sap/ui/model/SimpleType.js +2 -2
  220. package/src/sap/ui/model/Sorter.js +1 -1
  221. package/src/sap/ui/model/SorterProcessor.js +1 -1
  222. package/src/sap/ui/model/StaticBinding.js +1 -1
  223. package/src/sap/ui/model/TreeAutoExpandMode.js +2 -2
  224. package/src/sap/ui/model/TreeBinding.js +1 -1
  225. package/src/sap/ui/model/TreeBindingAdapter.js +251 -100
  226. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +16 -9
  227. package/src/sap/ui/model/TreeBindingUtils.js +1 -0
  228. package/src/sap/ui/model/Type.js +1 -1
  229. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -1
  230. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +1 -1
  231. package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +1 -1
  232. package/src/sap/ui/model/analytics/BatchResponseCollector.js +1 -1
  233. package/src/sap/ui/model/analytics/ODataModelAdapter.js +1 -1
  234. package/src/sap/ui/model/analytics/odata4analytics.js +3 -2
  235. package/src/sap/ui/model/json/JSONListBinding.js +8 -5
  236. package/src/sap/ui/model/json/JSONModel.js +21 -14
  237. package/src/sap/ui/model/json/JSONPropertyBinding.js +4 -3
  238. package/src/sap/ui/model/json/JSONTreeBinding.js +1 -1
  239. package/src/sap/ui/model/message/MessageListBinding.js +6 -3
  240. package/src/sap/ui/model/message/MessageModel.js +20 -14
  241. package/src/sap/ui/model/message/MessagePropertyBinding.js +2 -2
  242. package/src/sap/ui/model/odata/AnnotationHelper.js +1 -1
  243. package/src/sap/ui/model/odata/AnnotationParser.js +1 -1
  244. package/src/sap/ui/model/odata/CountMode.js +1 -1
  245. package/src/sap/ui/model/odata/Filter.js +1 -1
  246. package/src/sap/ui/model/odata/ODataAnnotations.js +2 -2
  247. package/src/sap/ui/model/odata/ODataContextBinding.js +1 -1
  248. package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
  249. package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
  250. package/src/sap/ui/model/odata/ODataMetaModel.js +2 -2
  251. package/src/sap/ui/model/odata/ODataMetadata.js +2 -2
  252. package/src/sap/ui/model/odata/ODataModel.js +2 -2
  253. package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -1
  254. package/src/sap/ui/model/odata/ODataTreeBinding.js +65 -33
  255. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +1 -1
  256. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +2 -2
  257. package/src/sap/ui/model/odata/ODataUtils.js +1 -1
  258. package/src/sap/ui/model/odata/OperationMode.js +1 -1
  259. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +1 -1
  260. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  261. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  262. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  263. package/src/sap/ui/model/odata/type/Date.js +1 -1
  264. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  265. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  266. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  267. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  268. package/src/sap/ui/model/odata/type/Double.js +1 -1
  269. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  270. package/src/sap/ui/model/odata/type/Int.js +1 -1
  271. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  272. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  273. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  274. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  275. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  276. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  277. package/src/sap/ui/model/odata/type/Single.js +1 -1
  278. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  279. package/src/sap/ui/model/odata/type/String.js +1 -1
  280. package/src/sap/ui/model/odata/type/Time.js +1 -1
  281. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  282. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  283. package/src/sap/ui/model/odata/v2/Context.js +59 -9
  284. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +2 -2
  285. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +1 -1
  286. package/src/sap/ui/model/odata/v2/ODataListBinding.js +212 -45
  287. package/src/sap/ui/model/odata/v2/ODataModel.js +139 -59
  288. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +2 -2
  289. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +129 -0
  290. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  291. package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -3
  292. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +37 -26
  293. package/src/sap/ui/model/odata/v4/ODataListBinding.js +22 -12
  294. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +30 -20
  295. package/src/sap/ui/model/odata/v4/ODataModel.js +4 -4
  296. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +37 -28
  297. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  298. package/src/sap/ui/model/odata/v4/lib/_Cache.js +3 -5
  299. package/src/sap/ui/model/odata/v4/lib/_Helper.js +2 -2
  300. package/src/sap/ui/model/resource/ResourceModel.js +2 -1
  301. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  302. package/src/sap/ui/model/type/Boolean.js +2 -2
  303. package/src/sap/ui/model/type/Currency.js +2 -2
  304. package/src/sap/ui/model/type/Date.js +9 -3
  305. package/src/sap/ui/model/type/DateInterval.js +4 -2
  306. package/src/sap/ui/model/type/DateTime.js +2 -2
  307. package/src/sap/ui/model/type/DateTimeInterval.js +2 -2
  308. package/src/sap/ui/model/type/FileSize.js +4 -2
  309. package/src/sap/ui/model/type/Float.js +4 -2
  310. package/src/sap/ui/model/type/Integer.js +4 -2
  311. package/src/sap/ui/model/type/String.js +2 -2
  312. package/src/sap/ui/model/type/Time.js +2 -2
  313. package/src/sap/ui/model/type/TimeInterval.js +2 -2
  314. package/src/sap/ui/model/type/Unit.js +14 -7
  315. package/src/sap/ui/model/xml/XMLListBinding.js +15 -9
  316. package/src/sap/ui/model/xml/XMLModel.js +67 -40
  317. package/src/sap/ui/model/xml/XMLPropertyBinding.js +4 -4
  318. package/src/sap/ui/model/xml/XMLTreeBinding.js +5 -4
  319. package/src/sap/ui/performance/trace/Interaction.js +1 -1
  320. package/src/sap/ui/qunit/QUnitUtils.js +3 -2
  321. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  322. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +9 -11
  323. package/src/sap/ui/test/matchers/I18NText.js +2 -2
  324. package/src/sap/ui/test/opaQunit.js +1 -1
  325. package/src/sap/ui/thirdparty/IPv6.js +2 -2
  326. package/src/sap/ui/thirdparty/SecondLevelDomains.js +2 -2
  327. package/src/sap/ui/thirdparty/URI.js +14 -5
  328. package/src/sap/ui/thirdparty/URITemplate.js +2 -2
  329. package/src/sap/ui/thirdparty/jquery.js +9 -1
  330. package/src/sap/ui/thirdparty/qunit-2.js +1 -1
  331. package/src/sap/ui/thirdparty/qunit.js +1 -1
  332. package/src/sap/ui/util/Mobile.js +2 -20
  333. package/src/sap/ui/util/Storage.js +1 -1
  334. package/ui5.yaml +5 -2
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define([
9
9
  "sap/base/util/each",
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.model.SimpleType
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.95.0
29
+ * @version 1.96.0
30
30
  *
31
31
  * @public
32
32
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  if (oValue === "") {
81
81
  return null;
82
82
  }
83
- var oResult = this.oOutputFormat.parse(oValue);
83
+ oResult = this.oOutputFormat.parse(oValue);
84
84
  if (!oResult) {
85
85
  oBundle = sap.ui.getCore().getLibraryResourceBundle();
86
86
  throw new ParseException(oBundle.getText(this.sName + ".Invalid"));
@@ -131,6 +131,7 @@ sap.ui.define([
131
131
  aMessages.push(oBundle.getText(that.sName + ".Maximum", [sContent]));
132
132
  }
133
133
  break;
134
+ default: break;
134
135
  }
135
136
  });
136
137
  if (aViolatedConstraints.length > 0) {
@@ -176,6 +177,11 @@ sap.ui.define([
176
177
  };
177
178
 
178
179
  /**
180
+ * Returns the output pattern.
181
+ *
182
+ * @returns {string} The output pattern
183
+ *
184
+ * @see sap.ui.core.format.DateFormat.getDateInstance
179
185
  * @protected
180
186
  */
181
187
  Date1.prototype.getOutputPattern = function() {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
 
8
8
  sap.ui.define([
9
9
  'sap/ui/core/format/DateFormat',
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.model.CompositeType
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.95.0
36
+ * @version 1.96.0
37
37
  *
38
38
  * @public
39
39
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
@@ -216,6 +216,8 @@ sap.ui.define([
216
216
  aViolatedConstraints.push("maximum");
217
217
  aMessages.push(oBundle.getText("Date.Maximum", [oCompareValue]));
218
218
  }
219
+ break;
220
+ default: break;
219
221
  }
220
222
  }.bind(this));
221
223
 
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
9
9
  function(Date, DateFormat) {
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.Date
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
9
9
  function(DateInterval, DateFormat) {
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.DateInterval
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides class sap.ui.model.type.FileSize
8
8
  sap.ui.define([
9
9
  "sap/base/util/each",
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.SimpleType
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.0
28
28
  *
29
29
  * @public
30
30
  * @param {object} [oFormatOptions] formatting options. Supports the same options as {@link sap.ui.core.format.FileSizeFormat.getInstance FileSizeFormat.getInstance}
@@ -145,6 +145,8 @@ sap.ui.define([
145
145
  aViolatedConstraints.push("maximum");
146
146
  aMessages.push(oBundle.getText("FileSize.Maximum", [oContent]));
147
147
  }
148
+ break;
149
+ default: break;
148
150
  }
149
151
  });
150
152
  if (aViolatedConstraints.length > 0) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define([
9
9
  "sap/base/util/each",
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.model.SimpleType
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.95.0
29
+ * @version 1.96.0
30
30
  *
31
31
  * @public
32
32
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.NumberFormat NumberFormat}.
@@ -121,6 +121,8 @@ sap.ui.define([
121
121
  aMessages.push(oBundle.getText("Float.Maximum",
122
122
  [that.oOutputFormat.format(oContent)]));
123
123
  }
124
+ break;
125
+ default: break;
124
126
  }
125
127
  });
126
128
  if (aViolatedConstraints.length > 0) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define([
9
9
  "sap/base/util/each",
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.model.SimpleType
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.95.0
29
+ * @version 1.96.0
30
30
  *
31
31
  * @public
32
32
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.NumberFormat NumberFormat}.
@@ -124,6 +124,8 @@ sap.ui.define([
124
124
  aMessages.push(oBundle.getText("Integer.Maximum",
125
125
  [that.oOutputFormat.format(oContent)]));
126
126
  }
127
+ break;
128
+ default: break;
127
129
  }
128
130
  });
129
131
  if (aViolatedConstraints.length > 0) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.SimpleType
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.95.0
27
+ * @version 1.96.0
28
28
  *
29
29
  * @alias sap.ui.model.type.String
30
30
  * @param {object} [oFormatOptions]
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
9
9
  function(Date, DateFormat) {
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.Date
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
9
9
  function(DateInterval, DateFormat) {
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.DateInterval
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.95.0
22
+ * @version 1.96.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the base implementation for all model implementations
8
8
  sap.ui.define([
9
9
  "sap/base/strings/hash",
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  *
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.95.0
50
+ * @version 1.96.0
51
51
  *
52
52
  * @public
53
53
  * @param {object} [oFormatOptions]
@@ -97,8 +97,10 @@ sap.ui.define([
97
97
  * If a Unit is already known during formatting, we also pass it along to construct
98
98
  * an optimal NumberFormat instance.
99
99
  *
100
- * @param {*} aArgs an array containing the parsed dynamic format options
101
- * @param {*} sUnitToBeFormatted
100
+ * @param {any[]} aArgs An array containing the parsed dynamic format options
101
+ * @param {string} sUnitToBeFormatted The name of the unit to be formatted
102
+ *
103
+ * @return {sap.ui.core.format.NumberFormat} The new NumberFormat instance
102
104
  */
103
105
  Unit.prototype._getInstance = function(aArgs, sUnitToBeFormatted) {
104
106
  var oFormatArgs = this.createFormatOptions(aArgs);
@@ -180,9 +182,13 @@ sap.ui.define([
180
182
  };
181
183
 
182
184
  /**
183
- * Extracts arguments from the given value
184
- * @param vValue
185
- * @returns {Array}
185
+ * Extracts arguments from the given value.
186
+ *
187
+ * @param {any} vValue
188
+ * The value to extract parameters from
189
+ * @returns {any[]}
190
+ * Returns a copy of the given value starting with the third entry if the given value is an
191
+ * array; returns an empty array otherwise
186
192
  */
187
193
  Unit.prototype.extractArguments = function(vValue) {
188
194
  return Array.isArray(vValue) && vValue.length > 2 ? vValue.slice(2) : [];
@@ -308,6 +314,7 @@ sap.ui.define([
308
314
  aMessages.push(oBundle.getText("Unit.Decimals", [oContent]));
309
315
  }
310
316
  break;
317
+ default: break;
311
318
  }
312
319
  });
313
320
  if (aViolatedConstraints.length > 0) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the XML model implementation of a list binding
8
8
  sap.ui.define([
9
9
  'sap/ui/model/ChangeReason',
@@ -83,8 +83,12 @@ sap.ui.define([
83
83
  };
84
84
 
85
85
  /**
86
- * Returns the entry data as required for change detection/diff. For the XMLModel this is the node
87
- * referenced by the context, serialized as XML.
86
+ * Returns the entry data as required for change detection/diff. For the XMLModel this is the
87
+ * node referenced by the context, serialized as XML.
88
+ *
89
+ * @param {sap.ui.model.Context} oContext The context to get the entry data from
90
+ *
91
+ * @returns {string} The entry data of the given context
88
92
  *
89
93
  * @private
90
94
  */
@@ -120,23 +124,23 @@ sap.ui.define([
120
124
  };
121
125
 
122
126
  /**
123
- * Check whether this Binding would provide new values and in case it changed,
124
- * inform interested parties about this.
127
+ * Checks whether this Binding would provide new values and in case it changed, fires a change
128
+ * event with change reason <code>Change</code>.
125
129
  *
126
130
  * @param {boolean} bForceupdate
131
+ * Whether the change event is fired regardless of the binding's state
127
132
  *
128
133
  */
129
134
  XMLListBinding.prototype.checkUpdate = function(bForceupdate){
135
+ var oList;
130
136
 
131
137
  if (this.bSuspended && !this.bIgnoreSuspend && !bForceupdate) {
132
138
  return;
133
139
  }
134
140
 
135
141
  if (!this.bUseExtendedChangeDetection) {
136
- var oList = this.oModel._getObject(this.sPath, this.oContext) || [];
142
+ oList = this.oModel._getObject(this.sPath, this.oContext) || [];
137
143
  if (oList.length != this.oList.length || bForceupdate) {
138
- // TODO does not work currently, so so old behavior
139
- //if (!jQuery.sap.equal(this.oList, oList)) {
140
144
  this.update();
141
145
  this._fireChange({reason: ChangeReason.Change});
142
146
  }
@@ -145,7 +149,7 @@ sap.ui.define([
145
149
  var that = this;
146
150
 
147
151
  //If the list has changed we need to update the indices first
148
- var oList = this.oModel._getObject(this.sPath, this.oContext) || [];
152
+ oList = this.oModel._getObject(this.sPath, this.oContext) || [];
149
153
  if (this.oList.length != oList.length) {
150
154
  bChangeDetected = true;
151
155
  }
@@ -165,6 +169,8 @@ sap.ui.define([
165
169
  bChangeDetected = true;
166
170
  return false;
167
171
  }
172
+
173
+ return true;
168
174
  });
169
175
  }
170
176
  } else {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * XML-based DataBinding
9
9
  *
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.model.ClientModel
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.95.0
50
+ * @version 1.96.0
51
51
  *
52
52
  * @param {object} oData either the URL where to load the XML from or an XML
53
53
  * @public
@@ -93,7 +93,7 @@ sap.ui.define([
93
93
  /**
94
94
  * Serializes the current XML data of the model into a string.
95
95
  *
96
- * @return the XML document serialized as string
96
+ * @return {string} The XML document serialized as string
97
97
  * @public
98
98
  */
99
99
  XMLModel.prototype.getXML = function(){
@@ -167,8 +167,8 @@ sap.ui.define([
167
167
  /**
168
168
  * Sets an XML namespace to use in the binding path
169
169
  *
170
- * @param {string} sNameSpace the namespace URI
171
- * @param {string} [sPrefix=null] the prefix for the namespace (optional)
170
+ * @param {string} sNameSpace The namespace URI
171
+ * @param {string} [sPrefix] The prefix for the namespace
172
172
  * @public
173
173
  */
174
174
  XMLModel.prototype.setNameSpace = function(sNameSpace, sPrefix){
@@ -209,11 +209,17 @@ sap.ui.define([
209
209
  * Sets a new value for the given property <code>sPropertyName</code> in the model.
210
210
  * If the model value changed all interested parties are informed.
211
211
  *
212
- * @param {string} sPath path of the property to set
213
- * @param {any} oValue value to set the property to
214
- * @param {object} [oContext=null] the context which will be used to set the property
215
- * @param {boolean} [bAsyncUpdate] whether to update other bindings dependent on this property asynchronously
216
- * @return {boolean} true if the value was set correctly and false if errors occurred like the entry was not found.
212
+ * @param {string} sPath
213
+ * Path of the property to set
214
+ * @param {any} oValue
215
+ * Value to set the property to
216
+ * @param {object} [oContext]
217
+ * The context which will be used to set the property
218
+ * @param {boolean} [bAsyncUpdate]
219
+ * Whether to update other bindings dependent on this property asynchronously
220
+ *
221
+ * @return {boolean}
222
+ * Whether the value was set correctly
217
223
  * @public
218
224
  */
219
225
  XMLModel.prototype.setProperty = function(sPath, oValue, oContext, bAsyncUpdate) {
@@ -250,14 +256,14 @@ sap.ui.define([
250
256
  };
251
257
 
252
258
  /**
253
- * Returns the value for the property with the given <code>sPropertyName</code>
254
- *
255
- * @param {string} sPath the path to the property
256
- * @param {object} [oContext=null] the context which will be used to retrieve the property
257
- * @type any
258
- * @return the value of the property
259
- * @public
260
- */
259
+ * Returns the value for the property with the given <code>sPropertyName</code>.
260
+ *
261
+ * @param {string} sPath The path to the property
262
+ * @param {object} [oContext] The context which will be used to retrieve the property
263
+ *
264
+ * @return {string} The value of the property
265
+ * @public
266
+ */
261
267
  XMLModel.prototype.getProperty = function(sPath, oContext) {
262
268
  var oResult = this._getObject(sPath, oContext);
263
269
  if (oResult && typeof oResult != "string") {
@@ -267,14 +273,14 @@ sap.ui.define([
267
273
  };
268
274
 
269
275
  /**
270
- * Returns the object for the given <code>path</code>
271
- *
272
- * @param {string} sPath the path to the object
273
- * @param {object} [oContext=null] the context which will be used to retrieve the object
274
- * @type any
275
- * @return the object
276
- * @public
277
- */
276
+ * Returns the object for the given path and context.
277
+ *
278
+ * @param {string} sPath The path to the object
279
+ * @param {object} [oContext] The context which will be used to retrieve the object
280
+ *
281
+ * @return {object} The object
282
+ * @public
283
+ */
278
284
  XMLModel.prototype.getObject = function(sPath, oContext) {
279
285
  var oObject = this._getObject(sPath, oContext);
280
286
  if (Array.isArray(oObject)) {
@@ -284,8 +290,11 @@ sap.ui.define([
284
290
  };
285
291
 
286
292
  /**
287
- * @param {string} sPath
288
- * @param {object} oContext
293
+ * Returns the object for the given path and context.
294
+ *
295
+ * @param {string} sPath The path to the object
296
+ * @param {object} [oContext] The context which will be used to retrieve the object
297
+ *
289
298
  * @returns {any} the node of the specified path/context
290
299
  */
291
300
  XMLModel.prototype._getObject = function (sPath, oContext) {
@@ -331,9 +340,12 @@ sap.ui.define([
331
340
  };
332
341
 
333
342
  /**
334
- * @param {string} sPath
335
- * @param {object} oContext
336
- * @returns {any}
343
+ * Returns the attribute for the given path and context.
344
+ *
345
+ * @param {string} oNode The node to get the attribute of
346
+ * @param {object} sName The name of the attribute to return
347
+ *
348
+ * @returns {any} The extracted attribute
337
349
  */
338
350
  XMLModel.prototype._getAttribute = function (oNode, sName) {
339
351
  if (!this.oNameSpaces || sName.indexOf(":") == -1) {
@@ -345,9 +357,12 @@ sap.ui.define([
345
357
  };
346
358
 
347
359
  /**
348
- * @param {object} oNode
349
- * @param {string} sName
350
- * @returns {any}
360
+ * Retrieves the child elements of the node by their name.
361
+ *
362
+ * @param {object} oNode The node holding the child elements
363
+ * @param {string} sName The name of the child elements
364
+ *
365
+ * @returns {any} The child elements matching the given name
351
366
  */
352
367
  XMLModel.prototype._getChildElementsByTagName = function (oNode, sName) {
353
368
  var aChildNodes = oNode.childNodes,
@@ -375,8 +390,10 @@ sap.ui.define([
375
390
  };
376
391
 
377
392
  /**
378
- * @param {string} sName
379
- * @returns {string}
393
+ * Gets the namespace for the given name.
394
+ *
395
+ * @param {string} sName The full name
396
+ * @returns {string} The namespace for the given name
380
397
  */
381
398
  XMLModel.prototype._getNameSpace = function (sName) {
382
399
  var iColonPos = sName.indexOf(":"),
@@ -388,8 +405,11 @@ sap.ui.define([
388
405
  };
389
406
 
390
407
  /**
391
- * @param {string} sName
392
- * @returns {string}
408
+ * Gets the local name for the given name.
409
+ *
410
+ * @param {string} sName The full name
411
+ *
412
+ * @returns {string} The local name for the given name
393
413
  */
394
414
  XMLModel.prototype._getLocalName = function (sName) {
395
415
  var iColonPos = sName.indexOf(":"),
@@ -402,7 +422,9 @@ sap.ui.define([
402
422
 
403
423
 
404
424
  /**
405
- * @returns {object}
425
+ * Gets the namespaces of the XML document
426
+ *
427
+ * @returns {object} The document's namespace prefixes
406
428
  */
407
429
  XMLModel.prototype._getDocNSPrefixes = function () {
408
430
  var oPrefixes = {},
@@ -424,7 +446,12 @@ sap.ui.define([
424
446
  };
425
447
 
426
448
  /**
427
- * Resolve the path relative to the given context
449
+ * Resolves the path relative to the given context.
450
+ *
451
+ * @param {string} sPath Path to resolve
452
+ * @param {sap.ui.model.Context} [oContext] Context to resolve a relative path against
453
+ *
454
+ * @return {string} Resolved path or undefined
428
455
  */
429
456
  XMLModel.prototype._resolve = function(sPath, oContext) {
430
457
  var bIsRelative = !sPath.startsWith("/"),
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the XML model implementation of a property binding
8
8
  sap.ui.define([
9
9
  'sap/ui/model/ChangeReason',
@@ -45,11 +45,11 @@ sap.ui.define([
45
45
  };
46
46
 
47
47
  /**
48
- * Check whether this Binding would provide new values and in case it changed,
49
- * inform interested parties about this.
48
+ * Checks whether this Binding would provide new values and in case it changed, fires a change
49
+ * event with change reason <code>sap.ui.model.ChangeReason.Change</code>.
50
50
  *
51
51
  * @param {boolean} bForceupdate
52
- *
52
+ * Whether the change event will be fired regardless of the binding's state
53
53
  */
54
54
  XMLPropertyBinding.prototype.checkUpdate = function(bForceupdate){
55
55
  if (this.bSuspended && !bForceupdate) {
@@ -17,9 +17,9 @@ sap.ui.define(['sap/ui/model/ClientTreeBinding', "sap/base/util/each"],
17
17
  *
18
18
  * @param {sap.ui.model.xml.XMLModel} [oModel]
19
19
  * @param {string} Path pointing to the tree or array that should be bound
20
- * @param {object} [oContext=null] Context object for this binding
21
- * @param {array} [aFilters=null] Predefined filters contained in an array
22
- * @param {object} [mParameters=null] Additional model-specific parameters
20
+ * @param {object} [oContext] Context object for this binding
21
+ * @param {array} [aFilters] Predefined filters contained in an array
22
+ * @param {object} [mParameters] Additional model-specific parameters
23
23
  * @protected
24
24
  * @alias sap.ui.model.xml.XMLTreeBinding
25
25
  * @extends sap.ui.model.ClientTreeBinding
@@ -68,7 +68,8 @@ sap.ui.define(['sap/ui/model/ClientTreeBinding', "sap/base/util/each"],
68
68
  oChildContext = that.oModel.getContext(sChildPath);
69
69
  // check if there is a filter on this level applied
70
70
  if (that.oCombinedFilter && !that.bIsFiltering) {
71
- if (that.filterInfo.aFilteredContexts && that.filterInfo.aFilteredContexts.indexOf(oChildContext) != -1) {
71
+ if (that.filterInfo.aFilteredContexts
72
+ && that.filterInfo.aFilteredContexts.indexOf(oChildContext) != -1) {
72
73
  aContexts.push(oChildContext);
73
74
  }
74
75
  } else {
@@ -591,7 +591,7 @@ sap.ui.define([
591
591
  */
592
592
  notifyStepStart : function(sEventId, oElement, bForce) {
593
593
  if (bInteractionActive) {
594
- if ((!oPendingInteraction && oCurrentBrowserEvent && oCurrentBrowserEvent.srcControl.getId() === oElement.getId() && !bInteractionProcessed) || bForce) {
594
+ if ((!oPendingInteraction && oCurrentBrowserEvent && !bInteractionProcessed) || bForce) {
595
595
  var sType;
596
596
  if (bForce) {
597
597
  sType = "startup";
@@ -13,7 +13,8 @@
13
13
  * @name sap.ui.test
14
14
  * @public
15
15
  */
16
-
16
+ // The module ID argument is given because QUnitUtils.js often was included as a script Element in the past.
17
+ // It is now recommended to use it via a module dependency (sap.ui.define).
17
18
  sap.ui.define('sap/ui/qunit/QUnitUtils', [
18
19
  'jquery.sap.global',
19
20
  'sap/base/util/ObjectPath',
@@ -78,7 +79,7 @@ sap.ui.define('sap/ui/qunit/QUnitUtils', [
78
79
  var QUnit = window.QUnit;
79
80
  window.QUnit = undefined;
80
81
  // load the blanket instance
81
- sap.ui.requireSync("sap/ui/thirdparty/blanket");
82
+ sap.ui.requireSync("sap/ui/thirdparty/blanket"); // legacy-relevant
82
83
  // restore the QUnit object
83
84
  window.QUnit = QUnit;
84
85
  // trigger blanket to display the coverage report
@@ -53,7 +53,7 @@ sap.ui.define(['sap/ui/core/Core', "sap/ui/VersionInfo"],
53
53
  * @namespace
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.95.0
56
+ * @version 1.96.0
57
57
  *
58
58
  * @public
59
59
  * @since 1.48.0