@openui5/sap.ui.core 1.120.9 → 1.120.11

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 (326) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/sap/base/Event.js +1 -1
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/LanguageTag.js +1 -1
  11. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  12. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  13. package/src/sap/base/util/restricted/_castArray.js +1 -1
  14. package/src/sap/base/util/restricted/_compact.js +1 -1
  15. package/src/sap/base/util/restricted/_curry.js +1 -1
  16. package/src/sap/base/util/restricted/_debounce.js +1 -1
  17. package/src/sap/base/util/restricted/_difference.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_flatten.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_intersection.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isNil.js +1 -1
  32. package/src/sap/base/util/restricted/_max.js +1 -1
  33. package/src/sap/base/util/restricted/_merge.js +1 -1
  34. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  35. package/src/sap/base/util/restricted/_min.js +1 -1
  36. package/src/sap/base/util/restricted/_omit.js +1 -1
  37. package/src/sap/base/util/restricted/_pick.js +1 -1
  38. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  39. package/src/sap/base/util/restricted/_throttle.js +1 -1
  40. package/src/sap/base/util/restricted/_toArray.js +1 -1
  41. package/src/sap/base/util/restricted/_union.js +1 -1
  42. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  43. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  44. package/src/sap/base/util/restricted/_uniq.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  47. package/src/sap/base/util/restricted/_without.js +1 -1
  48. package/src/sap/base/util/restricted/_xor.js +1 -1
  49. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  50. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  53. package/src/sap/ui/Device.js +3 -3
  54. package/src/sap/ui/Global.js +4 -4
  55. package/src/sap/ui/base/Event.js +1 -1
  56. package/src/sap/ui/base/EventProvider.js +11 -5
  57. package/src/sap/ui/base/Interface.js +1 -1
  58. package/src/sap/ui/base/ManagedObject.js +5 -3
  59. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  60. package/src/sap/ui/base/Metadata.js +1 -1
  61. package/src/sap/ui/base/Object.js +1 -1
  62. package/src/sap/ui/base/ObjectPool.js +1 -1
  63. package/src/sap/ui/core/.library +1 -1
  64. package/src/sap/ui/core/BusyIndicator.js +1 -1
  65. package/src/sap/ui/core/Component.js +31 -3
  66. package/src/sap/ui/core/ComponentContainer.js +1 -1
  67. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  68. package/src/sap/ui/core/ComponentSupport.js +1 -1
  69. package/src/sap/ui/core/Configuration.js +1 -1
  70. package/src/sap/ui/core/Control.js +19 -3
  71. package/src/sap/ui/core/Core.js +1 -1
  72. package/src/sap/ui/core/CustomData.js +1 -1
  73. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  74. package/src/sap/ui/core/Element.js +28 -3
  75. package/src/sap/ui/core/ElementMetadata.js +1 -1
  76. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  77. package/src/sap/ui/core/EventBus.js +1 -1
  78. package/src/sap/ui/core/Fragment.js +1 -1
  79. package/src/sap/ui/core/HTML.js +1 -1
  80. package/src/sap/ui/core/History.js +1 -1
  81. package/src/sap/ui/core/Icon.js +1 -1
  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/RenderManager.js +1 -1
  97. package/src/sap/ui/core/Renderer.js +1 -1
  98. package/src/sap/ui/core/ResizeHandler.js +1 -1
  99. package/src/sap/ui/core/ScrollBar.js +1 -1
  100. package/src/sap/ui/core/SeparatorItem.js +1 -1
  101. package/src/sap/ui/core/Title.js +1 -1
  102. package/src/sap/ui/core/TooltipBase.js +1 -1
  103. package/src/sap/ui/core/UIArea.js +1 -1
  104. package/src/sap/ui/core/UIComponent.js +1 -1
  105. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  106. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  107. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  108. package/src/sap/ui/core/XMLComposite.js +1 -1
  109. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  110. package/src/sap/ui/core/date/UI5Date.js +1 -1
  111. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  112. package/src/sap/ui/core/delegate/ScrollEnablement.js +4 -4
  113. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  114. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  115. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  116. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  117. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  118. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  119. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  120. package/src/sap/ui/core/library.js +3 -3
  121. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  122. package/src/sap/ui/core/message/Message.js +1 -1
  123. package/src/sap/ui/core/message/MessageManager.js +1 -1
  124. package/src/sap/ui/core/message/MessageParser.js +1 -1
  125. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  126. package/src/sap/ui/core/mvc/Controller.js +42 -7
  127. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  128. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  129. package/src/sap/ui/core/mvc/JSView.js +1 -1
  130. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  131. package/src/sap/ui/core/mvc/View.js +1 -1
  132. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  133. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  134. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  135. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  136. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  137. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  138. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  139. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  140. package/src/sap/ui/core/service/Service.js +1 -1
  141. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  142. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  143. package/src/sap/ui/core/support/Plugin.js +1 -1
  144. package/src/sap/ui/core/support/Support.js +1 -1
  145. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  146. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  147. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  148. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  149. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  150. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  151. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  152. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  153. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  154. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  155. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  156. package/src/sap/ui/core/tmpl/Template.js +1 -1
  157. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  158. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  159. package/src/sap/ui/core/util/Export.js +1 -1
  160. package/src/sap/ui/core/util/ExportCell.js +1 -1
  161. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  162. package/src/sap/ui/core/util/ExportRow.js +1 -1
  163. package/src/sap/ui/core/util/ExportType.js +1 -1
  164. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  165. package/src/sap/ui/core/util/File.js +1 -1
  166. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  167. package/src/sap/ui/core/util/MockServer.js +1 -1
  168. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  169. package/src/sap/ui/core/util/XMLPreprocessor.js +59 -65
  170. package/src/sap/ui/core/util/_LocalizationHelper.js +2 -1
  171. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  172. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  173. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  174. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  175. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  176. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  177. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  178. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  179. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  180. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  181. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  182. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  183. package/src/sap/ui/debug/ControlTree.js +1 -1
  184. package/src/sap/ui/debug/DebugEnv.js +1 -1
  185. package/src/sap/ui/debug/PropertyList.js +1 -1
  186. package/src/sap/ui/model/ClientModel.js +1 -1
  187. package/src/sap/ui/model/CompositeDataState.js +1 -1
  188. package/src/sap/ui/model/CompositeType.js +1 -1
  189. package/src/sap/ui/model/DataState.js +1 -1
  190. package/src/sap/ui/model/MetaModel.js +1 -1
  191. package/src/sap/ui/model/Model.js +1 -1
  192. package/src/sap/ui/model/SelectionModel.js +1 -1
  193. package/src/sap/ui/model/SimpleType.js +1 -1
  194. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  195. package/src/sap/ui/model/Type.js +1 -1
  196. package/src/sap/ui/model/json/JSONModel.js +1 -1
  197. package/src/sap/ui/model/message/MessageModel.js +1 -1
  198. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  199. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  200. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  201. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  202. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  203. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  204. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  205. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  206. package/src/sap/ui/model/odata/type/Date.js +1 -1
  207. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  208. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  209. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  210. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  211. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  212. package/src/sap/ui/model/odata/type/Double.js +1 -1
  213. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  214. package/src/sap/ui/model/odata/type/Int.js +1 -1
  215. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  216. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  217. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  218. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  219. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  220. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  221. package/src/sap/ui/model/odata/type/Single.js +1 -1
  222. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  223. package/src/sap/ui/model/odata/type/String.js +1 -1
  224. package/src/sap/ui/model/odata/type/Time.js +1 -1
  225. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  226. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  227. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  228. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  229. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  230. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  231. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  232. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  233. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  234. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
  235. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  236. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  237. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +36 -24
  238. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  239. package/src/sap/ui/model/type/Boolean.js +1 -1
  240. package/src/sap/ui/model/type/Currency.js +1 -1
  241. package/src/sap/ui/model/type/Date.js +1 -1
  242. package/src/sap/ui/model/type/DateInterval.js +1 -1
  243. package/src/sap/ui/model/type/DateTime.js +1 -1
  244. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  245. package/src/sap/ui/model/type/FileSize.js +1 -1
  246. package/src/sap/ui/model/type/Float.js +1 -1
  247. package/src/sap/ui/model/type/Integer.js +1 -1
  248. package/src/sap/ui/model/type/String.js +1 -1
  249. package/src/sap/ui/model/type/Time.js +1 -1
  250. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  251. package/src/sap/ui/model/type/Unit.js +1 -1
  252. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  253. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  254. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  255. package/src/sap/ui/test/generic/TestBase.js +1 -1
  256. package/src/sap/ui/util/Storage.js +1 -1
  257. package/src/sap/ui/util/_enforceNoReturnValue.js +27 -0
  258. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +1 -1
  259. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
  260. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
  261. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
  262. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
  263. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  264. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  265. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  266. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  267. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  268. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  269. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  270. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  271. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  272. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  273. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  274. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  275. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  276. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  277. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  278. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  279. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  280. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  281. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  282. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  283. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  284. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  285. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  286. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  287. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  288. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  289. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  290. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  291. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  292. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  293. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  294. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  295. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  296. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  297. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  298. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  299. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  300. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  301. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  302. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  303. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  304. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  305. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  306. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  307. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  308. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  309. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  310. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  311. package/test/sap/ui/core/qunit/EventProvider.qunit.js +30 -2
  312. package/test/sap/ui/core/qunit/ManagedObject.qunit.js +45 -3
  313. package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +8 -4
  314. package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -4
  315. package/test/sap/ui/core/qunit/app/fixture/designmode/test01.controller.js +4 -4
  316. package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +33 -2
  317. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/App.view.xml +3 -0
  318. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Component.js +20 -0
  319. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Home.view.xml +5 -0
  320. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Other.view.xml +5 -0
  321. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/manifest.json +54 -0
  322. package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +104 -49
  323. package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +7 -0
  324. package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +34 -19
  325. package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +137 -26
  326. package/test/sap/ui/core/relnotes/changes-1.120.json +27 -0
@@ -341,9 +341,10 @@ sap.ui.define([
341
341
  this.oXMLTemplateProcessorMock.expects("loadTemplatePromise").never();
342
342
 
343
343
  this.oSapUiMock = this.mock(sap.ui);
344
- // @see sap.ui.base.Event#init
345
- this.oSapUiMock.expects("require").on(sap.ui).atLeast(0)
346
- .withExactArgs("sap/ui/core/Messaging").callThrough();
344
+ // @see sap.ui.base.Event#init: "sap/ui/core/Messaging"
345
+ // also "sap/ui/model/type/Boolean" ends up here
346
+ this.oSapUiMock.expects(`require`).on(sap.ui).atLeast(0)
347
+ .withExactArgs(sinon.match.string).callThrough();
347
348
  },
348
349
 
349
350
  /**
@@ -757,9 +758,6 @@ sap.ui.define([
757
758
  */
758
759
  QUnit.test("XML with template:if test='{/flag}', truthy, async = false, flag = " + oFlag,
759
760
  function (assert) {
760
- this.oSapUiMock.expects("require").on(sap.ui)
761
- .atLeast(0) // only for the 1st run
762
- .withArgs("sap/ui/model/type/Boolean").callThrough();
763
761
  return this.check(assert, [
764
762
  mvcView("t"),
765
763
  '<t:if test="{path: \'/flag\', type: \'sap.ui.model.type.Boolean\'}">',
@@ -955,22 +953,24 @@ sap.ui.define([
955
953
  ]
956
954
  }].forEach(function (oFixture) {
957
955
  [false, true].forEach(function (bWarn) {
958
- var aViewContent = oFixture.aViewContent,
959
- vExpected = oFixture.vExpected && oFixture.vExpected.slice();
960
-
961
- QUnit.test(aViewContent[1] + ", warn = " + bWarn, function (assert) {
962
- this.mock(Component).expects("getCustomizing").never();
963
- if (!bWarn) {
964
- Log.setLevel(Log.Level.ERROR, sComponent);
965
- }
966
- warn(this.oLogMock,
967
- oFixture.sMessage || sinon.match(/\[ \d\] Binding not ready/),
968
- aViewContent[1])
969
- .exactly(bWarn ? 1 : 0); // do not construct arguments in vain!
956
+ [false, true].forEach(function (bAsync) {
957
+ var aViewContent = oFixture.aViewContent,
958
+ vExpected = oFixture.vExpected && oFixture.vExpected.slice();
959
+
960
+ QUnit.test(aViewContent[1] + `, warn = ` + bWarn + `, async = ` + bAsync, function (assert) {
961
+ this.mock(Component).expects(`getCustomizing`).never();
962
+ if (!bWarn) {
963
+ Log.setLevel(Log.Level.ERROR, sComponent);
964
+ }
965
+ warn(this.oLogMock,
966
+ oFixture.sMessage || sinon.match(/\[ \d\] Binding not ready/),
967
+ aViewContent[1])
968
+ .exactly(bWarn ? 1 : 0); // do not construct arguments in vain!
970
969
 
971
- return this.check(assert, aViewContent, {
972
- models : new JSONModel()
973
- }, vExpected);
970
+ return this.check(assert, aViewContent, {
971
+ models : new JSONModel()
972
+ }, vExpected, bAsync);
973
+ });
974
974
  });
975
975
  });
976
976
  });
@@ -1266,7 +1266,7 @@ sap.ui.define([
1266
1266
  + ' path: \'/com.sap.vocabularies.UI.v1.HeaderInfo/Title/Value\'}"/>',
1267
1267
  '<Label text="A \\{ is a special character"/>', // escaping MUST NOT be changed!
1268
1268
  '<Text text="{unrelated>/some/path}"/>', // unrelated binding MUST NOT be changed!
1269
- // avoid error "formatter function .someMethod not found!"
1269
+ // avoid warning "Function name(s) .someMethod not found"
1270
1270
  '<Text text="' + "{path:'/some/path',formatter:'.someMethod'}" + '"/>',
1271
1271
  '<html:img src="{formatter: \'foo.Helper.help\','
1272
1272
  + ' path: \'/com.sap.vocabularies.UI.v1.HeaderInfo/TypeImageUrl\'}"/>',
@@ -3074,7 +3074,7 @@ sap.ui.define([
3074
3074
  /**
3075
3075
  * @deprecated As of version 1.120.0
3076
3076
  */
3077
- QUnit.test("template:alias", function (assert) {
3077
+ QUnit.test("@deprecated template:alias", function (assert) {
3078
3078
  var oObjectPathMock = this.mock(ObjectPath);
3079
3079
 
3080
3080
  window.foo = {
@@ -3110,7 +3110,7 @@ sap.ui.define([
3110
3110
  .withExactArgs(sinon.match.string.or(sinon.match.array), sinon.match.object)
3111
3111
  .callThrough();
3112
3112
  this.mock(BindingParser).expects("complexParser").atLeast(1)
3113
- .withExactArgs(sinon.match.string, sinon.match.object, sinon.match.bool,
3113
+ .withArgs(sinon.match.string, sinon.match.object, sinon.match.bool,
3114
3114
  /*bTolerateFunctionsNotFound*/true, /*bStaticContext*/true, /*bPreferContext*/true)
3115
3115
  .callThrough();
3116
3116
 
@@ -3201,7 +3201,7 @@ sap.ui.define([
3201
3201
  .withExactArgs(sinon.match.string.or(sinon.match.array), sinon.match.object)
3202
3202
  .callThrough();
3203
3203
  this.mock(BindingParser).expects("complexParser").atLeast(1)
3204
- .withExactArgs(sinon.match.string, sinon.match.object, sinon.match.bool,
3204
+ .withArgs(sinon.match.string, sinon.match.object, sinon.match.bool,
3205
3205
  /*bTolerateFunctionsNotFound*/true, /*bStaticContext*/true, /*bPreferContext*/true)
3206
3206
  .callThrough();
3207
3207
 
@@ -4146,7 +4146,7 @@ sap.ui.define([
4146
4146
  '</template:if>',
4147
4147
  '</template:with>', // context goes out of scope
4148
4148
  '</template:alias>', // alias goes out of scope
4149
- '<Text text="{here>flag}"/>',
4149
+ '<Label text="{here>flag}"/>',
4150
4150
  "<Label text=\"{formatter: '.bar', path: '/'}\"/>",
4151
4151
  '</mvc:View>'
4152
4152
  ];
@@ -4535,6 +4535,117 @@ sap.ui.define([
4535
4535
  models : new JSONModel()
4536
4536
  });
4537
4537
  });
4538
+
4539
+ //*********************************************************************************************
4540
+ QUnit.test(`Code coverage for binding info's wait/resolved`, function (assert) {
4541
+ const oAverageSpy = this.spy(Measurement, `average`)
4542
+ .withArgs(`sap.ui.core.util.XMLPreprocessor/getResolvedBinding`);
4543
+ const oEndSpy = this.spy(Measurement, `end`)
4544
+ .withArgs(`sap.ui.core.util.XMLPreprocessor/getResolvedBinding`);
4545
+ this.oSapUiMock.expects(`require`).on(sap.ui).atLeast(0) // only for the 1st run
4546
+ .withArgs([`sap/ui/model/type/Boolean`]).callThrough();
4547
+
4548
+ const aViewContent = [
4549
+ mvcView(``, {
4550
+ join : function () {
4551
+ return Array.prototype.join.call(arguments, `, `);
4552
+ }
4553
+ }, this),
4554
+ // avoid warning "Function name(s) .missing not found"
4555
+ `<Label text="{formatter: '.missing', path: '/'`
4556
+ + `, type: 'sap.ui.model.type.Boolean'}"/>`,
4557
+ // binding not ready => false
4558
+ `<template:if test="{formatter:'.notFound', path: '/'`
4559
+ + `, type: 'sap.ui.model.type.Boolean'}">`,
4560
+ `<Out/>`,
4561
+ `</template:if>`,
4562
+ // automatically expected warning "Constant test condition" (@see #check)
4563
+ `<template:if test="{= false }">`,
4564
+ `<Out/>`,
4565
+ `</template:if>`,
4566
+ `<template:if test="{path: '/flag', type: 'sap.ui.model.type.Boolean'}">`,
4567
+ `<In id="flag"/>`,
4568
+ `</template:if>`,
4569
+ `<ExtensionPoint name="{path: 'unrelated>/', type: 'sap.ui.model.type.Boolean'}"/>`,
4570
+ // NO warning "Constant test condition" (yet); "_type" must be ignored
4571
+ `<template:if test="{_type: 'Constant', value : false}">`,
4572
+ `<Out/>`,
4573
+ `</template:if>`,
4574
+ `<Label text="{formatter: 'join'`
4575
+ + `, parts: [{value: 'Hello'}, {value: 'world!'}]}"/>`,
4576
+ `<Label text="{_type: 'Constant', value : 5}"/>`,
4577
+ `</mvc:View>`
4578
+ ];
4579
+ warn(this.oLogMock, `[ 1] Function name(s) .notFound not found`, aViewContent[2]);
4580
+ warn(this.oLogMock, `[ 0] Binding not ready`, aViewContent[11]);
4581
+ //TODO? warn(this.oLogMock, `[ 0] Constant test condition`, aViewContent[12]);
4582
+
4583
+ return this.checkTracing(assert, true, [
4584
+ {m : `[ 0] Start processing qux`},
4585
+ {m : `[ 0] Binding not ready for attribute text`, d : 1},
4586
+ {m : `[ 1] test == false --> false`, d : 2},
4587
+ {m : `[ 1] Finished`, d : 4},
4588
+ {m : `[ 1] test == "false" --> false`, d : 5},
4589
+ {m : `[ 1] Finished`, d : 7},
4590
+ {m : `[ 1] test == true --> true`, d : 8},
4591
+ {m : `[ 1] Finished`, d : 10},
4592
+ {m : `[ 0] Binding not ready for attribute name`, d : 11},
4593
+ {m : `[ 1] test == false --> false`, d : 12},
4594
+ {m : `[ 1] Finished`, d : 14},
4595
+ {m : `[ 0] text = Hello, world!`, d : 15},
4596
+ {m : `[ 0] text = 5`, d : 16},
4597
+ {m : `[ 0] Finished processing qux`}
4598
+ ], aViewContent, {
4599
+ models : new JSONModel({flag : true})
4600
+ }, [
4601
+ aViewContent[1], // <Label .../>
4602
+ aViewContent[9], // <In .../>
4603
+ // Note: XML serializer outputs &gt; encoding...
4604
+ aViewContent[11].replace(`>`, `&gt;`), // <ExtensionPoint .../>
4605
+ `<Label text="Hello, world!"/>`,
4606
+ `<Label text="5"/>`
4607
+ ], /*bAsync*/true)
4608
+ .finally(function () {
4609
+ // Note: each attribute of <mvc:View> or <In> is also counted here...
4610
+ assert.strictEqual(oAverageSpy.callCount, oEndSpy.callCount);
4611
+ });
4612
+ });
4613
+ //TODO static binding for "Constant test condition" with type?!
4614
+
4615
+ //*********************************************************************************************
4616
+ QUnit.test(`DINC0032093, DINC0074061`, function (assert) {
4617
+ const oModel = new JSONModel({});
4618
+ oModel.$$valueAsPromise = true;
4619
+ this.oSapUiMock.expects(`require`).on(sap.ui).atLeast(0) // only for the 1st run
4620
+ .withArgs([`sap/ui/model/type/Boolean`]).callThrough();
4621
+
4622
+ return this.checkTracing(assert, true, [
4623
+ {m : `[ 0] Start processing qux`},
4624
+ {m : `[ 0] Binding not ready for attribute text`, d : 1},
4625
+ {m : `[ 0] Binding not ready for attribute text`, d : 2},
4626
+ {m : `[ 0] Removed attribute text`, d : 3},
4627
+ {m : `[ 0] Finished processing qux`}
4628
+ ], [
4629
+ mvcView(``, {
4630
+ nil : function () {
4631
+ return null;
4632
+ }
4633
+ }, this),
4634
+ `<Text text="{missing>/flag}"/>`,
4635
+ // async type loading must not make a difference here!
4636
+ `<Text text="{path: 'missing>/flag', type: 'sap.ui.model.type.Boolean'}"/>`,
4637
+ // async view and model with $$valueAsPromise must not make a difference here!
4638
+ `<Text text="{formatter: 'nil', path: '/'}"/>`,
4639
+ `</mvc:View>`
4640
+ ], {
4641
+ models : oModel
4642
+ }, [
4643
+ // Note: XML serializer outputs &gt; encoding...
4644
+ `<Text text="{missing&gt;/flag}"/>`,
4645
+ `<Text text="{path: 'missing&gt;/flag', type: 'sap.ui.model.type.Boolean'}"/>`,
4646
+ `<Text/>`
4647
+ ], /*bAsync*/true);
4648
+ });
4538
4649
  });
4539
4650
  //TODO we have completely missed support for unique IDs in fragments via the "id" property!
4540
4651
  //TODO somehow trace ex.stack, but do not duplicate ex.message
@@ -745,5 +745,32 @@
745
745
  "text": " core/Lib: Improve Error Message reg. Pseudo Modules"
746
746
  }
747
747
  ]
748
+ },
749
+ "1.120.11": {
750
+ "date": "March 2024",
751
+ "notes": [
752
+ {
753
+ "id": "8613e5fe17531c33cda0a4f8fe2d28ae02eead41",
754
+ "type": "FIX",
755
+ "text": " mvc/Controller: Replace function call with apply",
756
+ "references": [
757
+ {
758
+ "type": "BCP",
759
+ "reference": ""
760
+ }
761
+ ]
762
+ },
763
+ {
764
+ "id": "001540a9f49c56046a716e21fcc1f2ce120d99ef",
765
+ "type": "FIX",
766
+ "text": " sap.ui.core: Allow for async control event handlers",
767
+ "references": [
768
+ {
769
+ "type": "BCP",
770
+ "reference": ""
771
+ }
772
+ ]
773
+ }
774
+ ]
748
775
  }
749
776
  }