@openui5/sap.ui.core 1.123.0 → 1.124.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 (811) 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/future.js +66 -6
  11. package/src/sap/base/i18n/LanguageTag.js +1 -1
  12. package/src/sap/base/i18n/date/TimezoneUtils.js +11 -5
  13. package/src/sap/base/util/LoaderExtensions.js +1 -5
  14. package/src/sap/base/util/Version.js +18 -12
  15. package/src/sap/base/util/defineCoupledProperty.js +4 -1
  16. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  17. package/src/sap/base/util/restricted/_castArray.js +1 -1
  18. package/src/sap/base/util/restricted/_compact.js +1 -1
  19. package/src/sap/base/util/restricted/_curry.js +1 -1
  20. package/src/sap/base/util/restricted/_debounce.js +1 -1
  21. package/src/sap/base/util/restricted/_difference.js +1 -1
  22. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  23. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  25. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  27. package/src/sap/base/util/restricted/_flatten.js +1 -1
  28. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  29. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  30. package/src/sap/base/util/restricted/_intersection.js +1 -1
  31. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  32. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  33. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  34. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isNil.js +1 -1
  36. package/src/sap/base/util/restricted/_max.js +1 -1
  37. package/src/sap/base/util/restricted/_merge.js +1 -1
  38. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  39. package/src/sap/base/util/restricted/_min.js +1 -1
  40. package/src/sap/base/util/restricted/_omit.js +1 -1
  41. package/src/sap/base/util/restricted/_pick.js +1 -1
  42. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  43. package/src/sap/base/util/restricted/_throttle.js +1 -1
  44. package/src/sap/base/util/restricted/_toArray.js +1 -1
  45. package/src/sap/base/util/restricted/_union.js +1 -1
  46. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  47. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  48. package/src/sap/base/util/restricted/_uniq.js +1 -1
  49. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  50. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  51. package/src/sap/base/util/restricted/_without.js +1 -1
  52. package/src/sap/base/util/restricted/_xor.js +1 -1
  53. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  54. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  55. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  56. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  57. package/src/sap/ui/Device.js +3 -3
  58. package/src/sap/ui/Global.js +4 -4
  59. package/src/sap/ui/base/Event.js +1 -1
  60. package/src/sap/ui/base/EventProvider.js +1 -2
  61. package/src/sap/ui/base/Interface.js +1 -1
  62. package/src/sap/ui/base/ManagedObject.js +2 -2
  63. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  64. package/src/sap/ui/base/Metadata.js +26 -2
  65. package/src/sap/ui/base/Object.js +1 -1
  66. package/src/sap/ui/base/ObjectPool.js +1 -1
  67. package/src/sap/ui/core/.library +3 -3
  68. package/src/sap/ui/core/BusyIndicator.js +1 -1
  69. package/src/sap/ui/core/Component.js +53 -74
  70. package/src/sap/ui/core/ComponentContainer.js +1 -1
  71. package/src/sap/ui/core/ComponentMetadata.js +33 -21
  72. package/src/sap/ui/core/ComponentSupport.js +4 -4
  73. package/src/sap/ui/core/Configuration.js +1 -1
  74. package/src/sap/ui/core/Control.js +1 -1
  75. package/src/sap/ui/core/Core.js +1 -1
  76. package/src/sap/ui/core/CustomData.js +1 -1
  77. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  78. package/src/sap/ui/core/Element.js +37 -12
  79. package/src/sap/ui/core/ElementMetadata.js +1 -1
  80. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  81. package/src/sap/ui/core/EventBus.js +1 -1
  82. package/src/sap/ui/core/ExtensionPoint.js +4 -2
  83. package/src/sap/ui/core/Fragment.js +2 -2
  84. package/src/sap/ui/core/HTML.js +1 -1
  85. package/src/sap/ui/core/History.js +1 -1
  86. package/src/sap/ui/core/Icon.js +1 -1
  87. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  88. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  89. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  90. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  91. package/src/sap/ui/core/InvisibleText.js +1 -1
  92. package/src/sap/ui/core/Item.js +1 -1
  93. package/src/sap/ui/core/LabelEnablement.js +88 -28
  94. package/src/sap/ui/core/LayoutData.js +1 -1
  95. package/src/sap/ui/core/Lib.js +36 -11
  96. package/src/sap/ui/core/ListItem.js +1 -1
  97. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  98. package/src/sap/ui/core/Locale.js +1 -1
  99. package/src/sap/ui/core/LocaleData.js +1 -1
  100. package/src/sap/ui/core/Manifest.js +44 -21
  101. package/src/sap/ui/core/Message.js +1 -1
  102. package/src/sap/ui/core/Popup.js +5 -1
  103. package/src/sap/ui/core/RenderManager.js +1 -1
  104. package/src/sap/ui/core/Renderer.js +1 -1
  105. package/src/sap/ui/core/ResizeHandler.js +1 -1
  106. package/src/sap/ui/core/ScrollBar.js +1 -1
  107. package/src/sap/ui/core/SeparatorItem.js +1 -1
  108. package/src/sap/ui/core/Title.js +1 -1
  109. package/src/sap/ui/core/TooltipBase.js +1 -1
  110. package/src/sap/ui/core/UIArea.js +1 -1
  111. package/src/sap/ui/core/UIComponent.js +94 -42
  112. package/src/sap/ui/core/UIComponentMetadata.js +5 -1
  113. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  114. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  115. package/src/sap/ui/core/XMLComposite.js +1 -1
  116. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  117. package/src/sap/ui/core/XMLTemplateProcessor.js +23 -12
  118. package/src/sap/ui/core/date/UI5Date.js +1 -1
  119. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  120. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  121. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  122. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  123. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  124. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  125. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  126. package/src/sap/ui/core/format/NumberFormat.js +1 -1
  127. package/src/sap/ui/core/format/TimezoneUtil.js +86 -10
  128. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  129. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  130. package/src/sap/ui/core/library.js +3 -3
  131. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  132. package/src/sap/ui/core/message/Message.js +1 -1
  133. package/src/sap/ui/core/message/MessageManager.js +1 -1
  134. package/src/sap/ui/core/message/MessageParser.js +1 -1
  135. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  136. package/src/sap/ui/core/messagebundle_sh.properties +65 -65
  137. package/src/sap/ui/core/mvc/Controller.js +2 -2
  138. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +2 -0
  139. package/src/sap/ui/core/mvc/EventHandlerResolver.js +1 -1
  140. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  141. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  142. package/src/sap/ui/core/mvc/JSView.js +1 -1
  143. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  144. package/src/sap/ui/core/mvc/View.js +12 -3
  145. package/src/sap/ui/core/mvc/XMLView.js +7 -2
  146. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  147. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  148. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  149. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  150. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  151. package/src/sap/ui/core/routing/Targets.js +1 -1
  152. package/src/sap/ui/core/rules/App.support.js +11 -11
  153. package/src/sap/ui/core/rules/CoreHelper.support.js +3 -3
  154. package/src/sap/ui/core/rules/Theming.support.js +3 -3
  155. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  156. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  157. package/src/sap/ui/core/service/Service.js +1 -1
  158. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  159. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  160. package/src/sap/ui/core/support/Plugin.js +1 -1
  161. package/src/sap/ui/core/support/Support.js +1 -1
  162. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  163. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  164. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  165. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  166. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  167. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  168. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  169. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  170. package/src/sap/ui/core/support/techinfo/moduleTreeHelper.js +1 -1
  171. package/src/sap/ui/core/theming/Parameters.js +21 -25
  172. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  173. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  174. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  175. package/src/sap/ui/core/tmpl/Template.js +1 -1
  176. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  177. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  178. package/src/sap/ui/core/util/Export.js +1 -1
  179. package/src/sap/ui/core/util/ExportCell.js +1 -1
  180. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  181. package/src/sap/ui/core/util/ExportRow.js +1 -1
  182. package/src/sap/ui/core/util/ExportType.js +1 -1
  183. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  184. package/src/sap/ui/core/util/File.js +1 -1
  185. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  186. package/src/sap/ui/core/util/MockServer.js +1 -1
  187. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  188. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  189. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  190. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  191. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  192. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  193. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  194. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  195. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  196. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  197. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  198. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  199. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  200. package/src/sap/ui/debug/ControlTree.js +1 -1
  201. package/src/sap/ui/debug/DebugEnv.js +1 -1
  202. package/src/sap/ui/debug/PropertyList.js +1 -1
  203. package/src/sap/ui/model/ClientModel.js +1 -1
  204. package/src/sap/ui/model/ClientTreeBindingAdapter.js +7 -5
  205. package/src/sap/ui/model/CompositeBinding.js +9 -3
  206. package/src/sap/ui/model/CompositeDataState.js +1 -1
  207. package/src/sap/ui/model/CompositeType.js +1 -1
  208. package/src/sap/ui/model/Context.js +26 -2
  209. package/src/sap/ui/model/DataState.js +1 -1
  210. package/src/sap/ui/model/MetaModel.js +1 -1
  211. package/src/sap/ui/model/Model.js +1 -1
  212. package/src/sap/ui/model/PropertyBinding.js +113 -35
  213. package/src/sap/ui/model/SelectionModel.js +1 -1
  214. package/src/sap/ui/model/SimpleType.js +1 -1
  215. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  216. package/src/sap/ui/model/TreeBindingAdapter.js +5 -5
  217. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +6 -6
  218. package/src/sap/ui/model/Type.js +1 -1
  219. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  220. package/src/sap/ui/model/json/JSONModel.js +1 -1
  221. package/src/sap/ui/model/message/MessageModel.js +1 -1
  222. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  223. package/src/sap/ui/model/odata/ODataMessageParser.js +3 -5
  224. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  225. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  226. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  227. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  228. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  229. package/src/sap/ui/model/odata/type/Currency.js +24 -1
  230. package/src/sap/ui/model/odata/type/Date.js +1 -1
  231. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  232. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  233. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  234. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  235. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  236. package/src/sap/ui/model/odata/type/Double.js +1 -1
  237. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  238. package/src/sap/ui/model/odata/type/Int.js +1 -1
  239. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  240. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  241. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  242. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  243. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  244. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  245. package/src/sap/ui/model/odata/type/Single.js +1 -1
  246. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  247. package/src/sap/ui/model/odata/type/String.js +1 -1
  248. package/src/sap/ui/model/odata/type/Time.js +1 -1
  249. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  250. package/src/sap/ui/model/odata/type/Unit.js +24 -1
  251. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  252. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  253. package/src/sap/ui/model/odata/v2/ODataModel.js +6 -9
  254. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  255. package/src/sap/ui/model/odata/v4/Context.js +73 -48
  256. package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -2
  257. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  258. package/src/sap/ui/model/odata/v4/ODataListBinding.js +160 -94
  259. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  260. package/src/sap/ui/model/odata/v4/ODataModel.js +8 -5
  261. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +5 -2
  262. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  263. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +202 -177
  264. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +9 -3
  265. package/src/sap/ui/model/odata/v4/lib/_Cache.js +7 -13
  266. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -3
  267. package/src/sap/ui/model/odata/v4/lib/_TreeState.js +35 -1
  268. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  269. package/src/sap/ui/model/type/Boolean.js +1 -1
  270. package/src/sap/ui/model/type/Currency.js +1 -1
  271. package/src/sap/ui/model/type/Date.js +1 -1
  272. package/src/sap/ui/model/type/DateInterval.js +1 -1
  273. package/src/sap/ui/model/type/DateTime.js +1 -1
  274. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  275. package/src/sap/ui/model/type/FileSize.js +1 -1
  276. package/src/sap/ui/model/type/Float.js +1 -1
  277. package/src/sap/ui/model/type/Integer.js +1 -1
  278. package/src/sap/ui/model/type/String.js +1 -1
  279. package/src/sap/ui/model/type/Time.js +1 -1
  280. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  281. package/src/sap/ui/model/type/Unit.js +1 -1
  282. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  283. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  284. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  285. package/src/sap/ui/test/ModuleTracking.js +1 -2
  286. package/src/sap/ui/test/autowaiter/_navigationContainerWaiter.js +96 -7
  287. package/src/sap/ui/test/generic/TestBase.js +1 -1
  288. package/src/sap/ui/test/gherkin/opa5TestHarness.js +0 -1
  289. package/src/sap/ui/test/gherkin/qUnitTestHarness.js +0 -1
  290. package/src/sap/ui/test/starter/_utils.js +27 -1
  291. package/src/sap/ui/test/starter/createSuite.js +2 -5
  292. package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
  293. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-blind.js +4 -0
  294. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-bounce.js +4 -0
  295. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-clip.js +4 -0
  296. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-core.js +4 -0
  297. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-drop.js +4 -0
  298. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-explode.js +4 -0
  299. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fade.js +4 -0
  300. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fold.js +4 -0
  301. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-highlight.js +4 -0
  302. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-pulsate.js +4 -0
  303. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-scale.js +4 -0
  304. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-shake.js +4 -0
  305. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-slide.js +4 -0
  306. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-transfer.js +4 -0
  307. package/src/sap/ui/util/Storage.js +1 -1
  308. package/src/ui5loader.js +11 -5
  309. package/test/sap/ui/core/demokit/sample/FieldGroup/Page.view.xml +1 -1
  310. package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/ui5.yaml +1 -1
  311. package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/view/Employee.view.xml +0 -1
  312. package/test/sap/ui/core/demokit/sample/TypeCurrency/Component.js +1 -0
  313. package/test/sap/ui/core/demokit/sample/TypeCurrency/manifest.json +1 -2
  314. package/test/sap/ui/core/demokit/sample/TypeDateAsDate/Component.js +1 -0
  315. package/test/sap/ui/core/demokit/sample/TypeDateAsDate/manifest.json +1 -2
  316. package/test/sap/ui/core/demokit/sample/TypeDateAsString/Component.js +1 -0
  317. package/test/sap/ui/core/demokit/sample/TypeDateAsString/manifest.json +1 -2
  318. package/test/sap/ui/core/demokit/sample/TypeDateTime/Component.js +1 -0
  319. package/test/sap/ui/core/demokit/sample/TypeDateTime/manifest.json +1 -2
  320. package/test/sap/ui/core/demokit/sample/TypeFileSize/Component.js +1 -0
  321. package/test/sap/ui/core/demokit/sample/TypeFileSize/manifest.json +1 -2
  322. package/test/sap/ui/core/demokit/sample/TypeFloat/Component.js +1 -0
  323. package/test/sap/ui/core/demokit/sample/TypeFloat/manifest.json +1 -2
  324. package/test/sap/ui/core/demokit/sample/TypeInteger/Component.js +1 -0
  325. package/test/sap/ui/core/demokit/sample/TypeInteger/manifest.json +1 -2
  326. package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/Component.js +1 -0
  327. package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/manifest.json +1 -2
  328. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +3 -3
  329. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV2.view.xml +3 -2
  330. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
  331. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
  332. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
  333. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
  334. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/webapp/view/Main.view.xml +0 -1
  335. package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Error.view.xml +1 -1
  336. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +30 -7
  337. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +28 -4
  338. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +38 -52
  339. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +13 -13
  340. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -4
  341. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Component.js +3 -3
  342. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +2 -3
  343. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/MessageHandling.js +3 -3
  344. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/additionalTargets.js +3 -3
  345. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  346. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  347. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  348. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  349. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  350. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  351. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  352. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  353. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  354. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  355. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  356. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  357. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  358. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  359. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  360. package/test/sap/ui/core/demokit/tutorial/mockserver/01/package.json +3 -0
  361. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  362. package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/Component.js +1 -0
  363. package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/test/mockServer.html +1 -1
  364. package/test/sap/ui/core/demokit/tutorial/mockserver/02/package.json +3 -0
  365. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  366. package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/Component.js +1 -0
  367. package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/test/mockServer.html +1 -1
  368. package/test/sap/ui/core/demokit/tutorial/mockserver/03/package.json +3 -0
  369. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  370. package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/Component.js +1 -0
  371. package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/test/mockServer.html +1 -1
  372. package/test/sap/ui/core/demokit/tutorial/mockserver/04/package.json +3 -0
  373. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  374. package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/Component.js +1 -0
  375. package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/test/mockServer.html +1 -1
  376. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  377. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  378. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  379. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  380. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  381. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  382. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  383. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  384. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  385. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  386. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  387. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  388. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  389. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  390. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  391. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  392. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  393. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  394. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  395. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  396. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  397. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  398. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  399. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  400. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  401. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  402. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  403. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  404. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  405. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/webapp/controller/App.controller.js +2 -3
  406. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +3 -4
  407. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.controller.js +4 -5
  408. package/test/sap/ui/core/qunit/BindingParser.qunit.js +68 -5
  409. package/test/sap/ui/core/qunit/CacheManager.qunit.js +2 -2
  410. package/test/sap/ui/core/qunit/CommandExecution.qunit.js +1 -1
  411. package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +173 -7
  412. package/test/sap/ui/core/qunit/Core.qunit.js +92 -65
  413. package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +8 -6
  414. package/test/sap/ui/core/qunit/Element_closestTo.qunit.js +26 -5
  415. package/test/sap/ui/core/qunit/Element_data.qunit.js +86 -3
  416. package/test/sap/ui/core/qunit/Fragment.qunit.js +1 -1
  417. package/test/sap/ui/core/qunit/HTML.qunit.js +13 -0
  418. package/test/sap/ui/core/qunit/Lib.qunit.js +160 -42
  419. package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -2
  420. package/test/sap/ui/core/qunit/ThemeManager.qunit.js +1 -0
  421. package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +63 -4
  422. package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +1 -0
  423. package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +4 -4
  424. package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +3 -0
  425. package/test/sap/ui/core/qunit/component/Component.qunit.js +88 -16
  426. package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +26 -2
  427. package/test/sap/ui/core/qunit/component/ComponentSupport.qunit.js +62 -59
  428. package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +75 -7
  429. package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +128 -117
  430. package/test/sap/ui/core/qunit/component/Manifest.qunit.js +57 -5
  431. package/test/sap/ui/core/qunit/component/Metadata.qunit.js +72 -7
  432. package/test/sap/ui/core/qunit/component/Metadata_unavoidablySync.qunit.js +62 -17
  433. package/test/sap/ui/core/qunit/component/Models.qunit.js +573 -237
  434. package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +211 -33
  435. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.js +2 -0
  436. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.json +1 -1
  437. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library.js +1 -0
  438. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.js +2 -0
  439. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.json +1 -1
  440. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library.js +1 -0
  441. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.js +2 -0
  442. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.json +1 -1
  443. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library.js +1 -0
  444. package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component-preload.js +1 -0
  445. package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component-preload.js +1 -0
  446. package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component-preload.js +1 -0
  447. package/test/sap/ui/core/qunit/component/testdata/customizing/customer/Component.js +1 -2
  448. package/test/sap/ui/core/qunit/component/testdata/customizing_legacyAPIs/customer/Component.js +1 -2
  449. package/test/sap/ui/core/qunit/component/testdata/inherit/manifest.json +3 -5
  450. package/test/sap/ui/core/qunit/component/testdata/inherit/parent/manifest.json +2 -2
  451. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/App.view.xml +3 -0
  452. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Component.js +15 -0
  453. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Home.view.xml +5 -0
  454. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Other.view.xml +5 -0
  455. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/manifest.json +54 -0
  456. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/App.view.xml +3 -0
  457. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Component.js +17 -0
  458. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Home.view.xml +5 -0
  459. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Other.view.xml +5 -0
  460. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/manifest.json +54 -0
  461. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Component.js +18 -0
  462. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.controller.js +6 -0
  463. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.view.xml +6 -0
  464. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/manifest.json +12 -0
  465. package/test/sap/ui/core/qunit/component/testdata/mixed/Component.js +3 -1
  466. package/test/sap/ui/core/qunit/component/testdata/mixed/manifest.json +3 -11
  467. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/Component.js +16 -0
  468. package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/component.json +3 -3
  469. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/i18n/i18n.properties +3 -0
  470. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/manifest.json +139 -0
  471. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/style.css +0 -0
  472. package/test/sap/ui/core/qunit/component/testdata/routerClass/Component.js +33 -0
  473. package/test/sap/ui/core/qunit/component/testdata/routerClass/Main.view.xml +8 -0
  474. package/test/sap/ui/core/qunit/component/testdata/routerClass/manifest.json +38 -0
  475. package/test/sap/ui/core/qunit/component/testdata/v1/component.json +2 -2
  476. package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +2 -2
  477. package/test/sap/ui/core/qunit/component/testdata/v2/manifest.json +3 -5
  478. package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/manifest.json +2 -4
  479. package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +2 -4
  480. package/test/sap/ui/core/qunit/component/testdata/v2models/empty/Component.js +1 -1
  481. package/test/sap/ui/core/qunit/component/testdata/v2models/extension/Component.js +1 -1
  482. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/Component.js +286 -0
  483. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties +2 -0
  484. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n_de.properties +2 -0
  485. package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +5 -5
  486. package/test/sap/ui/core/qunit/{types/TimezoneUtil.qunit.js → i18n/TimezoneUtils.qunit.js} +85 -87
  487. package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +6 -0
  488. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +2 -2
  489. package/test/sap/ui/core/qunit/json/JSONModel.qunit.js +117 -85
  490. package/test/sap/ui/core/qunit/messages/Message.qunit.js +7 -5
  491. package/test/sap/ui/core/qunit/messages/messagesDataBinding.qunit.js +3 -5
  492. package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +41 -4
  493. package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +3 -2
  494. package/test/sap/ui/core/qunit/model/Context.qunit.js +29 -0
  495. package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +490 -5
  496. package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +164 -12
  497. package/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js +144 -6
  498. package/test/sap/ui/core/qunit/mvc/View.qunit.js +2 -2
  499. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +60 -5
  500. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +58 -3
  501. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +127 -10
  502. package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +108 -10
  503. package/test/sap/ui/core/qunit/mvc/extensions/ControllerMetadata.qunit.js +74 -7
  504. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +0 -6
  505. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +0 -6
  506. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ExtendMainLegacy.controller.js +15 -0
  507. package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainContext.controller.js +0 -3
  508. package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainMemberExtLegacyFinal.controller.js +38 -0
  509. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtension.js +0 -3
  510. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionContext.js +0 -3
  511. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionFinal.js +47 -0
  512. package/test/sap/ui/core/qunit/mvc/testdata/HtmlOnRoot.view.xml +8 -0
  513. package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypes.view.xml +1 -1
  514. package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypesFailure.view.xml +41 -0
  515. package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +1 -1
  516. package/test/sap/ui/core/qunit/mvc/testdata/test.controller.js +4 -0
  517. package/test/sap/ui/core/qunit/mvc/testdata/test.view.xml +1 -1
  518. package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +12 -2
  519. package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +23 -4
  520. package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +1 -1
  521. package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +3 -5
  522. package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +3 -5
  523. package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +171 -5
  524. package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +3 -5
  525. package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -6
  526. package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +145 -91
  527. package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +5 -1
  528. package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +338 -169
  529. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +6061 -2815
  530. package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +2 -4
  531. package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +11 -4
  532. package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +24 -0
  533. package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +14 -2
  534. package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +16 -0
  535. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +407 -403
  536. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +11 -1
  537. package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +14 -15
  538. package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +68 -59
  539. package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +91 -2
  540. package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +62 -15
  541. package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +91 -19
  542. package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -1
  543. package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +131 -16
  544. package/test/sap/ui/core/qunit/routing/async/TitleHistory.qunit.js +111 -3
  545. package/test/sap/ui/core/qunit/routing/async/Views.qunit.js +3 -0
  546. package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +2 -2
  547. package/test/sap/ui/core/qunit/routing/fixture/Async2.view.xml +2 -2
  548. package/test/sap/ui/core/qunit/routing/fixture/Async3.view.xml +2 -2
  549. package/test/sap/ui/core/qunit/routing/fixture/router/component/titleChanged/Parent/manifest.json +2 -1
  550. package/test/sap/ui/core/qunit/rule/testsuite.rule.qunit.js +3 -0
  551. package/test/sap/ui/core/qunit/testdata/fragments/XMLTestFragmentWithXMLView.fragment.xml +1 -1
  552. package/test/sap/ui/core/qunit/testdata/libraries/customCss/lib1/library.js +4 -11
  553. package/test/sap/ui/core/qunit/testdata/libraries/make.js +8 -1
  554. package/test/sap/ui/core/qunit/testdata/libraries/myGlobalLib/library.js +1 -0
  555. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/library.js +1 -0
  556. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/intentionally_no_manifest_here.txt +7 -0
  557. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/library.js +1 -0
  558. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library-preload.js +2 -0
  559. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library.js +1 -0
  560. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library-preload.json +1 -1
  561. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library.js +1 -0
  562. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library-preload.js +2 -0
  563. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library.js +1 -0
  564. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.js +2 -0
  565. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.json +1 -1
  566. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library.js +1 -0
  567. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library-preload.json +1 -1
  568. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library.js +1 -0
  569. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library-preload.js +2 -0
  570. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library.js +1 -0
  571. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib7/library.js +1 -0
  572. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +6 -4
  573. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/manifest.json +7 -0
  574. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library-preload.js +2 -0
  575. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library.js +1 -0
  576. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library-preload.json +1 -1
  577. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library.js +1 -0
  578. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library-preload.js +2 -0
  579. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library.js +1 -0
  580. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.js +2 -0
  581. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.json +1 -1
  582. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library.js +1 -0
  583. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library-preload.json +1 -1
  584. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library.js +1 -0
  585. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library-preload.js +2 -0
  586. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library.js +1 -0
  587. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib7/library.js +1 -0
  588. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +2 -0
  589. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +1 -0
  590. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +2 -0
  591. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +1 -0
  592. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -0
  593. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +1 -0
  594. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library-preload.js +2 -0
  595. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library.js +1 -0
  596. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -0
  597. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +1 -0
  598. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -0
  599. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +1 -0
  600. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library-preload.js +2 -0
  601. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library.js +1 -0
  602. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -0
  603. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +1 -0
  604. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library-preload.js +2 -0
  605. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library.js +1 -0
  606. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library-preload.js +2 -0
  607. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library.js +1 -0
  608. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library-preload.json +1 -1
  609. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library.js +1 -0
  610. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library-preload.js +2 -0
  611. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library.js +1 -0
  612. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.js +2 -0
  613. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.json +1 -1
  614. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library.js +1 -0
  615. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library-preload.json +1 -1
  616. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library.js +1 -0
  617. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library-preload.js +2 -0
  618. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library.js +1 -0
  619. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library-preload.js +2 -0
  620. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library.js +1 -0
  621. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library-preload.js +2 -0
  622. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library.js +1 -0
  623. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library-preload.js +2 -0
  624. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library.js +1 -0
  625. package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library-preload.js +2 -0
  626. package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library.js +1 -0
  627. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library-preload.js +2 -0
  628. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library.js +1 -0
  629. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library-preload.json +1 -1
  630. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library.js +1 -0
  631. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library-preload.js +2 -0
  632. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library.js +1 -0
  633. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.js +2 -0
  634. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.json +1 -1
  635. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library.js +1 -0
  636. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library-preload.json +1 -1
  637. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library.js +1 -0
  638. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library-preload.js +2 -0
  639. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library.js +1 -0
  640. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib7/library.js +1 -0
  641. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library-preload.js +2 -0
  642. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library.js +1 -0
  643. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library-preload.json +1 -1
  644. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library.js +1 -0
  645. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library-preload.js +2 -0
  646. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library.js +1 -0
  647. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library-preload.js +2 -0
  648. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library.js +1 -0
  649. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library-preload.json +1 -1
  650. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library.js +1 -0
  651. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library-preload.js +2 -0
  652. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library.js +1 -0
  653. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library-preload.js +2 -0
  654. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library.js +1 -0
  655. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library-preload.js +2 -0
  656. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library.js +1 -0
  657. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.js +2 -0
  658. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.json +1 -1
  659. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library.js +1 -0
  660. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library-preload.json +1 -1
  661. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library.js +1 -0
  662. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library-preload.js +2 -0
  663. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library.js +1 -0
  664. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library-preload.json +1 -1
  665. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library.js +1 -0
  666. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library-preload.json +1 -1
  667. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library.js +1 -0
  668. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.js +2 -0
  669. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.json +1 -1
  670. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library.js +1 -0
  671. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library-preload.json +1 -1
  672. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library.js +1 -0
  673. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library-preload.js +2 -0
  674. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library.js +1 -0
  675. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library-preload.json +1 -1
  676. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library.js +1 -0
  677. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library-preload.js +2 -0
  678. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library.js +1 -0
  679. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.js +2 -0
  680. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.json +1 -1
  681. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library.js +1 -0
  682. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library-preload.json +1 -1
  683. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library.js +1 -0
  684. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library-preload.js +2 -0
  685. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library.js +1 -0
  686. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library-preload.json +1 -1
  687. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library.js +1 -0
  688. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library-preload.js +2 -0
  689. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library.js +1 -0
  690. package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library-preload.js +2 -0
  691. package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library.js +1 -0
  692. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/absoluteBundleUrl/library-preload.js +2 -0
  693. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/application/Component-preload.js +1 -1
  694. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +2 -2
  695. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/notLoadedYet/library-preload.js +2 -0
  696. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/library-preload.js +2 -0
  697. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib1/library.js +1 -0
  698. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib10/library.js +1 -0
  699. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib11/library.js +1 -0
  700. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib12/library.js +1 -0
  701. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib13/library.js +1 -0
  702. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib14/library.js +1 -0
  703. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib15/library.js +1 -0
  704. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib16/library.js +1 -0
  705. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib17/library.js +1 -0
  706. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib2/library.js +1 -0
  707. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib3/library.js +1 -0
  708. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib4/library.js +1 -0
  709. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib5/library.js +1 -0
  710. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib6/library.js +1 -0
  711. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib7/library.js +1 -0
  712. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib8/library.js +1 -0
  713. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib9/library.js +1 -0
  714. package/test/sap/ui/core/qunit/testdata/routing/scenario1/RootView.view.xml +1 -2
  715. package/test/sap/ui/core/qunit/testdata/uilib/library.js +1 -0
  716. package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library-parameters.json +25 -0
  717. package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library.css +28 -0
  718. package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +1 -0
  719. package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +1 -0
  720. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +0 -1
  721. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expressionFaulty.view.xml +40 -0
  722. package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +11 -1
  723. package/test/sap/ui/core/qunit/testsuites/testsuite.eventing.qunit.js +3 -0
  724. package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +3 -0
  725. package/test/sap/ui/core/qunit/types/Date.qunit.js +62 -25
  726. package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +79 -12
  727. package/test/sap/ui/core/qunit/types/Types.qunit.js +100 -32
  728. package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +0 -6
  729. package/test/sap/ui/core/qunit/ui5classes/DataType.qunit.js +10 -1
  730. package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +102 -19
  731. package/test/sap/ui/core/qunit/ui5classes/Object.qunit.js +116 -124
  732. package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +122 -3
  733. package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +79 -4
  734. package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +0 -1
  735. package/test/sap/ui/core/relnotes/changes-1.124.json +32 -0
  736. package/test/sap/ui/core/samples/databinding/UnitTable/README.md +18 -0
  737. package/test/sap/ui/core/samples/databinding/UnitTable/package.json +13 -0
  738. package/test/sap/ui/core/samples/databinding/UnitTable/ui5.yaml +12 -0
  739. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/Component.js +29 -0
  740. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/controller/UnitTable.controller.js +58 -0
  741. package/test/sap/ui/core/samples/databinding/{UnitTable.meters.json → UnitTable/webapp/data/UnitTable.meters.json} +42 -42
  742. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/index.html +28 -0
  743. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/manifest.json +40 -0
  744. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/view/UnitTable.view.xml +206 -0
  745. package/test/sap/ui/core/samples/draganddrop/DragAndDrop.html +2 -2
  746. package/test/sap/ui/core/samples/draganddrop/dragBetweenLists.html +10 -5
  747. package/test/sap/ui/core/samples/draganddrop/dragWithinList.html +0 -2
  748. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/firstItem-contextMenu.ref.lnk +1 -1
  749. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/initial.ref.lnk +1 -1
  750. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/lastItem-contextMenu.ref.lnk +1 -1
  751. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/leftDownBtn-contextMenu.ref.lnk +1 -1
  752. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/myButtonSample-contextMenu.ref.lnk +1 -1
  753. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/rightDownBtn-contextMenu.ref.lnk +1 -1
  754. package/test/sap/ui/core/CurrenciesIndia.html +0 -182
  755. package/test/sap/ui/core/CurrenciesRTL.html +0 -312
  756. package/test/sap/ui/core/CustomData.html +0 -161
  757. package/test/sap/ui/core/DataTypeNormalizer.html +0 -44
  758. package/test/sap/ui/core/Formats.html +0 -384
  759. package/test/sap/ui/core/Strings.controller.js +0 -90
  760. package/test/sap/ui/core/Strings.css +0 -8
  761. package/test/sap/ui/core/Strings.html +0 -25
  762. package/test/sap/ui/core/Strings.js +0 -20
  763. package/test/sap/ui/core/Strings.view.xml +0 -86
  764. package/test/sap/ui/core/Timezones.html +0 -23
  765. package/test/sap/ui/core/qunit/ODataModelRefresh.qunit.html +0 -236
  766. package/test/sap/ui/core/qunit/ODataModelThreshold.qunit.html +0 -164
  767. package/test/sap/ui/core/samples/databinding/DataBindingAsyncType.html +0 -85
  768. package/test/sap/ui/core/samples/databinding/DataBindingDeclarativeSyntax.js +0 -65
  769. package/test/sap/ui/core/samples/databinding/DataBindingFragment.html +0 -21
  770. package/test/sap/ui/core/samples/databinding/DatabindingDeclarativeSyntax.html +0 -38
  771. package/test/sap/ui/core/samples/databinding/DatabindingMessages.html +0 -193
  772. package/test/sap/ui/core/samples/databinding/ODatabindingMessages.html +0 -305
  773. package/test/sap/ui/core/samples/databinding/UnitTable.controller.js +0 -202
  774. package/test/sap/ui/core/samples/databinding/UnitTable.html +0 -25
  775. package/test/sap/ui/core/samples/databinding/UnitTable.view.xml +0 -337
  776. package/test/sap/ui/core/samples/databinding/UnitTableMain.js +0 -21
  777. package/test/sap/ui/core/samples/databinding/fragment/Fragment.fragment.xml +0 -6
  778. package/test/sap/ui/core/samples/databinding/fragment/NamedFragment.fragment.xml +0 -6
  779. package/test/sap/ui/core/samples/databinding/fragment/View.controller.js +0 -36
  780. package/test/sap/ui/core/samples/databinding/fragment/View.view.xml +0 -12
  781. package/test/sap/ui/core/samples/databinding/message/Component.js +0 -185
  782. package/test/sap/ui/core/samples/databinding/message/component.json +0 -12
  783. package/test/sap/ui/core/samples/databinding/message/comptree/Component.js +0 -186
  784. package/test/sap/ui/core/samples/databinding/message/comptree/component.json +0 -12
  785. package/test/sap/ui/core/samples/databinding/message/disabled/Component.js +0 -186
  786. package/test/sap/ui/core/samples/databinding/message/disabled/component.json +0 -12
  787. package/test/sap/ui/core/samples/databinding/message/enabled/Component.js +0 -186
  788. package/test/sap/ui/core/samples/databinding/message/enabled/component.json +0 -12
  789. package/test/sap/ui/core/samples/databinding/testdata/ComplexSyntax.js +0 -38
  790. package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.controller.js +0 -26
  791. package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.view.xml +0 -26
  792. package/test/sap/ui/core/samples/databinding/testdata/team.xml +0 -12
  793. package/test/sap/ui/core/samples/databinding/testdata/test.controller.js +0 -39
  794. package/test/sap/ui/core/samples/databinding/testdata/text.properties +0 -5
  795. package/test/sap/ui/core/samples/databinding/testdata/text_de.properties +0 -5
  796. package/test/sap/ui/core/samples/formatting/Component.js +0 -21
  797. package/test/sap/ui/core/samples/formatting/controller/ChooseFormatOptions.controller.js +0 -96
  798. package/test/sap/ui/core/samples/formatting/controller/Main.controller.js +0 -9
  799. package/test/sap/ui/core/samples/formatting/index.html +0 -28
  800. package/test/sap/ui/core/samples/formatting/manifest.json +0 -68
  801. package/test/sap/ui/core/samples/formatting/model/Customizing.js +0 -35
  802. package/test/sap/ui/core/samples/formatting/model/data.json +0 -17
  803. package/test/sap/ui/core/samples/formatting/types/CustomCurrency.js +0 -14
  804. package/test/sap/ui/core/samples/formatting/types/CustomUnit.js +0 -14
  805. package/test/sap/ui/core/samples/formatting/view/App.view.xml +0 -6
  806. package/test/sap/ui/core/samples/formatting/view/ChooseFormatOptions.view.xml +0 -71
  807. package/test/sap/ui/core/samples/formatting/view/InputFields.fragment.xml +0 -118
  808. package/test/sap/ui/core/samples/formatting/view/Main.view.xml +0 -15
  809. package/test/sap/ui/core/timezones.js +0 -92
  810. package/test/sap/ui/core/timezones.view.xml +0 -23
  811. /package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/script.js +0 -0
@@ -3,6 +3,7 @@ sap.ui.define([
3
3
  "sap/base/Log",
4
4
  "sap/base/i18n/Localization",
5
5
  "sap/base/util/deepEqual",
6
+ "sap/ui/base/DataType",
6
7
  "sap/ui/core/date/UI5Date",
7
8
  "sap/ui/model/BindingMode",
8
9
  "sap/ui/model/CompositeBinding",
@@ -17,7 +18,7 @@ sap.ui.define([
17
18
  "sap/ui/model/type/Float",
18
19
  "sap/ui/model/type/Integer",
19
20
  "sap/ui/model/type/String"
20
- ], function (Log, Localization, deepEqual, UI5Date, BindingMode, CompositeBinding, CompositeType,
21
+ ], function (Log, Localization, deepEqual, DataType, UI5Date, BindingMode, CompositeBinding, CompositeType,
21
22
  Context, ParseException, PropertyBinding, StaticBinding, ValidateException, JSONModel,
22
23
  TypeDate, TypeFloat, TypeInteger, TypeString
23
24
  ) {
@@ -165,6 +166,171 @@ sap.ui.define([
165
166
  "setExternalValue() does change model values for contained bindings");
166
167
  });
167
168
 
169
+ //*********************************************************************************************
170
+ [{
171
+ sMethod: "_setRawValue",
172
+ bInternalValues: false,
173
+ bRawValues: true
174
+ }, {
175
+ sMethod: "_setInternalValue",
176
+ bInternalValues: true,
177
+ bRawValues: false
178
+ }, {
179
+ sMethod: "_setExternalValue",
180
+ bInternalValues: false,
181
+ bRawValues: false
182
+ }].forEach(function (oFixture) {
183
+ QUnit.test(`setExternalValue /w async type and context changed for method ${oFixture.sMethod}`, function (assert) {
184
+ const oBinding1 = {
185
+ getBindingMode() {},
186
+ getContext() {}
187
+ };
188
+ const oBinding2 = {
189
+ getBindingMode() {},
190
+ getContext() {}
191
+ };
192
+ const oCompositeBinding = {
193
+ aBindings: [oBinding1, oBinding2],
194
+ sInternalType: "string",
195
+ bInternalValues: oFixture.bInternalValues,
196
+ bRawValues: oFixture.bRawValues,
197
+ oType: {
198
+ getParseWithValues() {},
199
+ parseValue() {},
200
+ validateValue() {}
201
+ },
202
+ getDataState() {},
203
+ getValidateValues() {},
204
+ getValue() {}
205
+ };
206
+ const oDataState = {
207
+ setInvalidValue() {},
208
+ setValue() {}
209
+ };
210
+ this.mock(DataType).expects("getType").withExactArgs("string").returns("~oType");
211
+ const oCompositeBindingMock = this.mock(oCompositeBinding);
212
+ oCompositeBindingMock.expects("getDataState").withExactArgs().returns(oDataState);
213
+ const oBindingMock1 = this.mock(oBinding1);
214
+ oBindingMock1.expects("getContext").withExactArgs().returns("~oUpdateContext1");
215
+ const oBindingMock2 = this.mock(oBinding2);
216
+ oBindingMock2.expects("getContext").withExactArgs().returns("~oUpdateContext2");
217
+ const oTypeMock = this.mock(oCompositeBinding.oType);
218
+ oTypeMock.expects("getParseWithValues").withExactArgs().returns(false);
219
+ oTypeMock.expects("parseValue")
220
+ .withExactArgs("~vValue", "string", undefined)
221
+ .returns(["~vParsedValue1", "~vParsedValue2"]);
222
+ oCompositeBindingMock.expects("getValidateValues")
223
+ .withExactArgs(["~vParsedValue1", "~vParsedValue2"])
224
+ .returns("~aValidateValues");
225
+ oTypeMock.expects("validateValue")
226
+ .withExactArgs("~aValidateValues").returns(Promise.resolve());
227
+
228
+ // code under test
229
+ const oPromise = CompositeBinding.prototype.setExternalValue.call(oCompositeBinding, "~vValue");
230
+
231
+ // After validation the contexts have changed due to the async nature of the type's validation
232
+ oBindingMock1.expects("getContext").withExactArgs().returns("~oNewContext1");
233
+ oBindingMock2.expects("getContext").withExactArgs().returns("~oNewContext1");
234
+ oBinding1[oFixture.sMethod] = () => {};
235
+ oBinding2[oFixture.sMethod] = () => {};
236
+ oBindingMock1.expects("getBindingMode").withExactArgs().returns(BindingMode.TwoWay);
237
+ oBindingMock1.expects(oFixture.sMethod).withExactArgs("~vParsedValue1" , "~oUpdateContext1");
238
+ oBindingMock2.expects("getBindingMode").withExactArgs().returns(BindingMode.TwoWay);
239
+ oBindingMock2.expects(oFixture.sMethod).withExactArgs("~vParsedValue2" , "~oUpdateContext2");
240
+ const oDataStateMock = this.mock(oDataState);
241
+ oDataStateMock.expects("setInvalidValue").withExactArgs(undefined);
242
+ oCompositeBindingMock.expects("getValue").withExactArgs().returns("~vValue");
243
+ oDataStateMock.expects("setValue").withExactArgs("~vValue");
244
+
245
+ return oPromise.then((vResult) => {
246
+ assert.strictEqual(vResult, undefined);
247
+ });
248
+ });
249
+ });
250
+
251
+ //*********************************************************************************************
252
+ [{
253
+ sMethod: "_setRawValue",
254
+ bInternalValues: false,
255
+ bRawValues: true
256
+ }, {
257
+ sMethod: "_setInternalValue",
258
+ bInternalValues: true,
259
+ bRawValues: false
260
+ }, {
261
+ sMethod: "_setExternalValue",
262
+ bInternalValues: false,
263
+ bRawValues: false
264
+ }].forEach(function (oFixture) {
265
+ const sTitle = `setExternalValue /w async type and w/o context changed for method ${oFixture.sMethod}`;
266
+ QUnit.test(sTitle, function (assert) {
267
+ const oBinding1 = {
268
+ getBindingMode() {},
269
+ getContext() {}
270
+ };
271
+ const oBinding2 = {
272
+ getBindingMode() {},
273
+ getContext() {}
274
+ };
275
+ const oCompositeBinding = {
276
+ aBindings: [oBinding1, oBinding2],
277
+ sInternalType: "string",
278
+ bInternalValues: oFixture.bInternalValues,
279
+ bRawValues: oFixture.bRawValues,
280
+ oType: {
281
+ getParseWithValues() {},
282
+ parseValue() {},
283
+ validateValue() {}
284
+ },
285
+ getDataState() {},
286
+ getValidateValues() {},
287
+ getValue() {}
288
+ };
289
+ const oDataState = {
290
+ setInvalidValue() {},
291
+ setValue() {}
292
+ };
293
+ this.mock(DataType).expects("getType").withExactArgs("string").returns("~oType");
294
+ const oCompositeBindingMock = this.mock(oCompositeBinding);
295
+ oCompositeBindingMock.expects("getDataState").withExactArgs().returns(oDataState);
296
+ const oBindingMock1 = this.mock(oBinding1);
297
+ oBindingMock1.expects("getContext").withExactArgs().returns("~oUpdateContext1");
298
+ const oBindingMock2 = this.mock(oBinding2);
299
+ oBindingMock2.expects("getContext").withExactArgs().returns("~oUpdateContext2");
300
+ const oTypeMock = this.mock(oCompositeBinding.oType);
301
+ oTypeMock.expects("getParseWithValues").withExactArgs().returns(false);
302
+ oTypeMock.expects("parseValue")
303
+ .withExactArgs("~vValue", "string", undefined)
304
+ .returns(["~vParsedValue1", "~vParsedValue2"]);
305
+ oCompositeBindingMock.expects("getValidateValues")
306
+ .withExactArgs(["~vParsedValue1", "~vParsedValue2"])
307
+ .returns("~aValidateValues");
308
+ oTypeMock.expects("validateValue")
309
+ .withExactArgs("~aValidateValues").returns(Promise.resolve());
310
+
311
+ // code under test
312
+ const oPromise = CompositeBinding.prototype.setExternalValue.call(oCompositeBinding, "~vValue");
313
+
314
+ // After validation the contexts have changed due to the async nature of the type's validation
315
+ oBindingMock1.expects("getContext").withExactArgs().returns("~oUpdateContext1");
316
+ oBindingMock2.expects("getContext").withExactArgs().returns("~oUpdateContext2");
317
+ oBinding1[oFixture.sMethod] = () => {};
318
+ oBinding2[oFixture.sMethod] = () => {};
319
+ oBindingMock1.expects("getBindingMode").withExactArgs().returns(BindingMode.TwoWay);
320
+ oBindingMock1.expects(oFixture.sMethod).withExactArgs("~vParsedValue1" , undefined);
321
+ oBindingMock2.expects("getBindingMode").withExactArgs().returns(BindingMode.TwoWay);
322
+ oBindingMock2.expects(oFixture.sMethod).withExactArgs("~vParsedValue2" , undefined);
323
+ const oDataStateMock = this.mock(oDataState);
324
+ oDataStateMock.expects("setInvalidValue").withExactArgs(undefined);
325
+ oCompositeBindingMock.expects("getValue").withExactArgs().returns("~vValue");
326
+ oDataStateMock.expects("setValue").withExactArgs("~vValue");
327
+
328
+ return oPromise.then((vResult) => {
329
+ assert.strictEqual(vResult, undefined);
330
+ });
331
+ });
332
+ });
333
+
168
334
  QUnit.test("disabled methods", function(assert) {
169
335
  assert.equal(this.composite.getContext(), null, "getContext() always returns null");
170
336
  assert.equal(this.composite.getModel(), null, "getModel() always returns null");
@@ -746,17 +912,17 @@ sap.ui.define([
746
912
  });
747
913
 
748
914
  QUnit.test("Call setInternalValue()", function(assert) {
749
- var oSpy1 = this.spy(this.binding1, "setInternalValue");
750
- var oSpy2 = this.spy(this.binding2, "setInternalValue");
751
- var oSpy3 = this.spy(this.binding3, "setInternalValue");
915
+ var oSpy1 = this.spy(this.binding1, "_setInternalValue");
916
+ var oSpy2 = this.spy(this.binding2, "_setInternalValue");
917
+ var oSpy3 = this.spy(this.binding3, "_setInternalValue");
752
918
 
753
919
  var oTypeSpy = this.spy(this.type, "getModelFormat");
754
920
 
755
921
  this.compositeUseInternalValue.setExternalValue("1 2 3");
756
922
 
757
- assert.equal(oSpy1.callCount, 1, "setInternalValue() function should be called");
758
- assert.equal(oSpy2.callCount, 1, "setInternalValue() function should be called");
759
- assert.equal(oSpy3.callCount, 1, "setInternalValue() function should be called");
923
+ assert.equal(oSpy1.callCount, 1, "_setInternalValue() function should be called");
924
+ assert.equal(oSpy2.callCount, 1, "_setInternalValue() function should be called");
925
+ assert.equal(oSpy3.callCount, 1, "_setInternalValue() function should be called");
760
926
  assert.equal(oTypeSpy.callCount, 1, "getModelFormat() function should be called");
761
927
  });
762
928
 
@@ -22,7 +22,10 @@ sap.ui.define([
22
22
  ], function(Log, Localization, ResourceBundle, LoaderExtensions, ObjectPath, Device, Interface, VersionInfo, oCore, Supportability, UIArea, Element, Configuration, Library, RenderManager, Theming, ThemeManager, createAndAppendDiv, nextUIUpdate) {
23
23
  "use strict";
24
24
 
25
- var privateLoaderAPI = sap.ui.loader._;
25
+ /**
26
+ * @deprecated As of version 1.120 as it is used by deprecated tests only
27
+ */
28
+ const privateLoaderAPI = sap.ui.loader._;
26
29
 
27
30
  function _providesPublicMethods(/**sap.ui.base.Object*/oObject, /** function */ fnClass, /**boolean*/ bFailEarly) {
28
31
  var aMethodNames = fnClass.getMetadata().getAllPublicMethods(),
@@ -45,41 +48,90 @@ sap.ui.define([
45
48
  // lazy dependency
46
49
  var TestButton;
47
50
 
48
- // custom assertion
49
- QUnit.assert.equalControls = function(actual, expected, message) {
50
- this.ok(actual === expected, message);
51
- };
52
51
 
53
- QUnit.assert.isLibLoaded = function(libName) {
54
- this.ok(ObjectPath.get(libName), "namespace for " + libName + " should exist");
55
- this.ok(Library.all()[libName], "Core should know and list " + libName + " as 'loaded'");
56
- };
52
+ // ---------------------------------------------------------------------------
53
+ // Basic functionality
54
+ // ---------------------------------------------------------------------------
55
+
56
+ QUnit.module("Basic");
57
+
58
+ QUnit.test("Browser Version Test", function(assert) {
59
+ assert.expect(4);
60
+ var browser = Device.browser;
61
+ var value = document.documentElement.getAttribute("data-sap-ui-browser");
62
+ assert.ok(typeof value === "string" && value, "Data attribute is set and is not empty");
63
+
64
+ var version = browser.version;
65
+ assert.ok(typeof version === "number", "Browser version is set");
66
+
67
+ if (browser.firefox) {
68
+ assert.ok(value.indexOf("ff") === 0, "Browser is Firefox and data attribute is set right");
69
+ } else if (browser.webkit) {
70
+ if (browser.chrome) {
71
+ assert.ok(value.indexOf("cr") === 0, "Browser is Chrome and data attribute is set right");
72
+ }
73
+ // Those tests should not be called anymore
74
+ if (browser.safari && browser.mobile) {
75
+ assert.ok(value.indexOf("msf") === 0, "Browser is Mobile Safari and data attribute is set right");
76
+ } else if (browser.safari) {
77
+ assert.ok(value.indexOf("sf") === 0, "Browser is Safari and data attribute is set right");
78
+ }
79
+ }
80
+
81
+ if (!browser.safari || (!browser.fullscreen && !browser.webview)) {
82
+ assert.ok(value.indexOf(Math.floor(version)) != -1, "Version is set right in data attribute");
83
+ } else {
84
+ assert.ok(!/[0-9]+$/.test(value), "unknown browser versions shouldn't be added to the data attribute");
85
+ }
86
+
87
+ });
57
88
 
58
- // used to get access to the non-public core parts
59
- var oRealCore;
60
- var TestCorePlugin = function() {};
61
- TestCorePlugin.prototype.startPlugin = function(oCore, bOnInit) {
62
- oRealCore = oCore;
63
- };
64
- oCore.registerPlugin(new TestCorePlugin());
89
+ QUnit.test("Locale configuration (via Localization)", function(assert) {
90
+ var oHtml = document.documentElement;
91
+ var sLocale = Localization.getLanguageTag().toString();
92
+
93
+ assert.equal(oHtml.getAttribute("lang"), sLocale, "lang attribute matches locale");
94
+
95
+ sLocale = "de";
96
+ Localization.setLanguage(sLocale);
97
+ assert.equal(oHtml.getAttribute("lang"), sLocale, "lang attribute matches locale");
98
+ });
65
99
 
66
100
 
67
101
  // ---------------------------------------------------------------------------
68
- // Basic functionality
102
+ // Basic functionality, deprecated
69
103
  // ---------------------------------------------------------------------------
70
104
 
71
- QUnit.module("Basic");
105
+ /**
106
+ * @deprecated
107
+ */
108
+ QUnit.module("Basic (deprecated)", {
109
+ before() {
110
+ // custom assertion
111
+ QUnit.assert.equalControls = function(actual, expected, message) {
112
+ this.ok(actual === expected, message);
113
+ };
114
+ // used to get access to the non-public core parts
115
+ const DummyCorePlugin = {
116
+ startPlugin: (oCore, _bOnInit) => {
117
+ this.oRealCore = oCore;
118
+ }
119
+ };
120
+ oCore.registerPlugin(DummyCorePlugin);
121
+ oCore.unregisterPlugin(DummyCorePlugin);
122
+ }
123
+ });
72
124
 
73
125
  /**
74
126
  * @deprecated As of version 1.111, Core facade will be abandoned
75
127
  */
76
128
  QUnit.test("facade", function(assert) {
77
- assert.notStrictEqual(sap.ui.getCore(), oRealCore, "Facade should be different from the implementation");
78
- assert.notOk(sap.ui.getCore() instanceof oRealCore.constructor, "Facade should not be an instance of sap.ui.core.Core");
129
+ assert.notStrictEqual(sap.ui.getCore(), this.oRealCore, "Facade should be different from the implementation");
130
+ assert.notOk(sap.ui.getCore() instanceof this.oRealCore.constructor, "Facade should not be an instance of sap.ui.core.Core");
79
131
  assert.ok(sap.ui.getCore() instanceof Interface, "Facade should be an instance of sap.ui.base.Interface");
80
132
  assert.strictEqual(sap.ui.getCore(), sap.ui.getCore(), "consecutive calls to sap.ui.getCore() should return the exact same facade");
81
133
 
82
- var aMethodNames = oRealCore.getMetadata().getAllPublicMethods(),
134
+ var aMethodNames = this.oRealCore.getMetadata().getAllPublicMethods(),
83
135
  oCoreInterface = sap.ui.getCore(),
84
136
  i;
85
137
 
@@ -114,12 +166,12 @@ sap.ui.define([
114
166
  });
115
167
 
116
168
  /**
117
- * @deprecated Since 1.118, sap.ui.getCore and the constructor are deprecated
169
+ * @deprecated Since 1.118, sap.ui.getCore and the constructor are deprecated
118
170
  */
119
171
  QUnit.test("repeated instantiation", function(assert) {
120
172
  this.spy(Log, 'error');
121
173
 
122
- assert.strictEqual(new oRealCore.constructor(), sap.ui.getCore(), "consecutive calls to the constructor should return the facade");
174
+ assert.strictEqual(new this.oRealCore.constructor(), sap.ui.getCore(), "consecutive calls to the constructor should return the facade");
123
175
  sinon.assert.calledWith(Log.error, sinon.match(/Only.*must create an instance of .*Core/).and(sinon.match(/use the module export directly without using 'new'/)));
124
176
  });
125
177
 
@@ -304,37 +356,6 @@ sap.ui.define([
304
356
  assert.equal(corePath, "http://third.preconfig.com/ui5-themes/sap/ui/core/themes/my_third_preconfigured_theme/", "path should be as configured");
305
357
  });
306
358
 
307
- QUnit.test("Browser Version Test", function(assert) {
308
- assert.expect(4);
309
- var browser = Device.browser;
310
- var value = document.documentElement.getAttribute("data-sap-ui-browser");
311
- assert.ok(typeof value === "string" && value, "Data attribute is set and is not empty");
312
-
313
- var version = browser.version;
314
- assert.ok(typeof version === "number", "Browser version is set");
315
-
316
- if (browser.firefox) {
317
- assert.ok(value.indexOf("ff") === 0, "Browser is Firefox and data attribute is set right");
318
- } else if (browser.webkit) {
319
- if (browser.chrome) {
320
- assert.ok(value.indexOf("cr") === 0, "Browser is Chrome and data attribute is set right");
321
- }
322
- // Those tests should not be called anymore
323
- if (browser.safari && browser.mobile) {
324
- assert.ok(value.indexOf("msf") === 0, "Browser is Mobile Safari and data attribute is set right");
325
- } else if (browser.safari) {
326
- assert.ok(value.indexOf("sf") === 0, "Browser is Safari and data attribute is set right");
327
- }
328
- }
329
-
330
- if (!browser.safari || (!browser.fullscreen && !browser.webview)) {
331
- assert.ok(value.indexOf(Math.floor(version)) != -1, "Version is set right in data attribute");
332
- } else {
333
- assert.ok(!/[0-9]+$/.test(value), "unknown browser versions shouldn't be added to the data attribute");
334
- }
335
-
336
- });
337
-
338
359
  // now check the locale configuration to be applied as lang attribute
339
360
  /**
340
361
  * @deprecated As of Version 1.120.
@@ -352,21 +373,16 @@ sap.ui.define([
352
373
  assert.equal(oHtml.getAttribute("lang"), sLocale, "lang attribute matches locale");
353
374
  });
354
375
 
355
- QUnit.test("Locale configuration (via Localization)", function(assert) {
356
- var oHtml = document.documentElement;
357
- var sLocale = Localization.getLanguageTag().toString();
358
376
 
359
- assert.equal(oHtml.getAttribute("lang"), sLocale, "lang attribute matches locale");
360
377
 
361
- sLocale = "de";
362
- Localization.setLanguage(sLocale);
363
- assert.equal(oHtml.getAttribute("lang"), sLocale, "lang attribute matches locale");
364
- });
378
+ // ---------------------------------------------------------------------------
379
+ // Library Resource Bundles, deprecated
380
+ // ---------------------------------------------------------------------------
365
381
 
366
382
  /**
367
383
  * @deprecated Since 1.119.
368
384
  */
369
- QUnit.module('getLibraryResourceBundle');
385
+ QUnit.module('getLibraryResourceBundle (deprecated)');
370
386
 
371
387
  QUnit.test("async: testGetLibraryResourceBundle", function(assert) {
372
388
  var oSpy = this.spy(ResourceBundle, 'create'),
@@ -574,14 +590,22 @@ sap.ui.define([
574
590
  return pBundle;
575
591
  });
576
592
 
593
+
594
+
577
595
  // ---------------------------------------------------------------------------
578
- // loadLibrary
596
+ // loadLibrary, deprecated
579
597
  // ---------------------------------------------------------------------------
580
598
 
581
599
  /**
582
600
  * @deprecated Since 1.119.
583
601
  */
584
- QUnit.module("loadLibrary", {
602
+ QUnit.module("loadLibrary (deprecated)", {
603
+ before() {
604
+ QUnit.assert.isLibLoaded = function(libName) {
605
+ this.ok(ObjectPath.get(libName), "namespace for " + libName + " should exist");
606
+ this.ok(Library.all()[libName], "Core should know and list " + libName + " as 'loaded'");
607
+ };
608
+ },
585
609
  beforeEach: function(assert) {
586
610
  assert.notOk(Supportability.isDebugModeEnabled(), "debug mode must be deactivated to properly test library loading");
587
611
  this.oLibraryGetPreloadStub = this.stub(Library, "getPreloadMode").returns("sync");
@@ -589,6 +613,9 @@ sap.ui.define([
589
613
  afterEach: function(assert) {
590
614
  this.oLibraryGetPreloadStub.restore();
591
615
  delete window.testlibs;
616
+ },
617
+ after() {
618
+ delete QUnit.assert.isLibLoaded;
592
619
  }
593
620
  });
594
621
 
@@ -16,13 +16,15 @@ sap.ui.define([
16
16
  // this should normally happen in the control which listens to the event
17
17
  // also wait for the result so that the scope check in CustomStyleClassSupport can work
18
18
  await new Promise((resolve) => {
19
- const value = Parameters.get({
20
- name : "sapUiBrand",
21
- callback: resolve
19
+ Theming.attachApplied(() => {
20
+ const value = Parameters.get({
21
+ name : "sapUiTstTextColor", // a parameter which is defined by sap.ui.testlib only
22
+ callback: resolve
23
+ });
24
+ if ( value !== undefined ) {
25
+ resolve();
26
+ }
22
27
  });
23
- if ( value !== undefined ) {
24
- resolve();
25
- }
26
28
  });
27
29
 
28
30
  // define control
@@ -1,10 +1,11 @@
1
1
  /*global QUnit, sinon*/
2
2
  sap.ui.define([
3
+ "sap/base/future",
3
4
  "sap/base/Log",
4
5
  "sap/ui/core/Element",
5
6
  "sap/ui/qunit/utils/createAndAppendDiv",
6
7
  "sap/ui/thirdparty/jquery"
7
- ], function(Log, Element, createAndAppendDiv, jQuery) {
8
+ ], function(future, Log, Element, createAndAppendDiv, jQuery) {
8
9
  "use strict";
9
10
 
10
11
  QUnit.module("Element.closestTo()");
@@ -125,7 +126,11 @@ sap.ui.define([
125
126
  oUI5Element.destroy();
126
127
  });
127
128
 
128
- QUnit.test("Should support jQuery object given as parameter", function(assert) {
129
+ /**
130
+ * @deprecated As of version 1.120
131
+ */
132
+ QUnit.test("Should support jQuery object given as parameter (future=false)", function(assert) {
133
+ future.active = false;
129
134
  var oErrorLogSpy = this.spy(Log, "error");
130
135
  var sId = "el1";
131
136
  var oContainer = createAndAppendDiv(sId);
@@ -139,11 +144,27 @@ sap.ui.define([
139
144
  var oUI5ElementFound = Element.closestTo(jQuery("#startPoint"));
140
145
  assert.strictEqual(oUI5ElementFound, oUI5Element);
141
146
 
142
- sinon.assert.calledWithExactly(oErrorLogSpy, "[FUTURE FATAL] Do not call Element.closestTo() with jQuery object as parameter. \
143
- The function should be called with either a DOM Element or a CSS selector. \
144
- (future error, ignored for now)");
147
+ sinon.assert.calledWithExactly(oErrorLogSpy, "[FUTURE FATAL] Do not call Element.closestTo() with jQuery object as parameter. The function should be called with either a DOM Element or a CSS selector.");
145
148
 
146
149
  oContainer.remove();
147
150
  oUI5Element.destroy();
151
+ future.active = undefined;
152
+ });
153
+
154
+ QUnit.test("Should support jQuery object given as parameter (future=true)", function(assert) {
155
+ future.active = true;
156
+ var sId = "el1";
157
+ var oContainer = createAndAppendDiv(sId);
158
+ oContainer.setAttribute("data-sap-ui", sId);
159
+ oContainer.innerHTML = "<div id='el2' data-sap-ui-related='el2'> \
160
+ <span id='startPoint'></span> \
161
+ </div>";
162
+
163
+ assert.throws(() => {
164
+ Element.closestTo(jQuery("#startPoint"));
165
+ }, new Error("Do not call Element.closestTo() with jQuery object as parameter. The function should be called with either a DOM Element or a CSS selector."), "Error thrown because jQuery object is provided as argument.");
166
+
167
+ oContainer.remove();
168
+ future.active = undefined;
148
169
  });
149
170
  });
@@ -1,5 +1,6 @@
1
1
  /*global QUnit, sinon */
2
2
  sap.ui.define([
3
+ "sap/base/future",
3
4
  "sap/base/Log",
4
5
  "sap/ui/core/Element",
5
6
  "sap/ui/core/library",
@@ -7,7 +8,7 @@ sap.ui.define([
7
8
  "sap/ui/model/json/JSONModel",
8
9
  "sap/m/Button",
9
10
  "sap/ui/qunit/utils/nextUIUpdate"
10
- ], function(Log, Element, library, View, JSONModel, Button, nextUIUpdate) {
11
+ ], function(future, Log, Element, library, View, JSONModel, Button, nextUIUpdate) {
11
12
  "use strict";
12
13
 
13
14
  var ViewType = library.mvc.ViewType;
@@ -173,7 +174,12 @@ sap.ui.define([
173
174
  assert.equal(object_data_ori.two, 3, "The object data of the original object should be changed as well, as only the reference to it is cloned");
174
175
  });
175
176
 
176
- QUnit.test("Calling data() after destroy", function(assert) {
177
+ /**
178
+ * @deprecated As of version 1.120
179
+ */
180
+ QUnit.test("Calling data() after destroy (future=false)", function(assert) {
181
+ future.active = false;
182
+
177
183
  // Setup: create an element, add some custom data and destroy it
178
184
  this.stub(Log, "error");
179
185
  var element = new Element();
@@ -227,6 +233,62 @@ sap.ui.define([
227
233
  assert.strictEqual(element.data({a:"b",b:"c"}), element, "data({data}) should return the element itself");
228
234
  assert.strictEqual(element.getAggregation("customData"), null, "data({data}) should not have modified aggregation 'customData'");
229
235
  assert.ok(Log.error.calledWith(sinon.match(/Cannot create custom data on an already destroyed element/)));
236
+
237
+ future.active = undefined;
238
+ });
239
+
240
+ QUnit.test("Calling data() after destroy (future=true)", function(assert) {
241
+ future.active = true;
242
+ // Setup: create an element, add some custom data and destroy it
243
+
244
+ this.stub(Log, "error");
245
+ var element = new Element({
246
+ id: "myElement"
247
+ });
248
+ element.data("test", "value");
249
+ element.destroy();
250
+
251
+ // Act/Assert
252
+
253
+ // get value for a single key
254
+ Log.error.resetHistory();
255
+ assert.strictEqual(element.data("test"), null, "no more custom data after destroy");
256
+ assert.strictEqual(Log.error.callCount, 0);
257
+
258
+ // get all key/value pairs
259
+ Log.error.resetHistory();
260
+ assert.deepEqual(element.data(), {}, "no more custom data after destroy");
261
+ assert.strictEqual(Log.error.callCount, 0);
262
+
263
+ // destroy all
264
+ Log.error.resetHistory();
265
+ assert.strictEqual(element.data(null), element, "data(null) should return the element itself");
266
+ assert.strictEqual(element.getAggregation("customData"), null, "data(null) should not have modified aggregation 'customData'");
267
+ assert.strictEqual(Log.error.callCount, 0);
268
+
269
+ // add single key/value pairs
270
+ Log.error.resetHistory();
271
+ assert.throws(() => { element.data("a", "b"); }, new Error("Cannot create custom data on an already destroyed element 'Element sap.ui.core.Element#myElement'"), "Error thrown because calling data(key,value) after destroy");
272
+
273
+ // remove single key/value pairs
274
+ Log.error.resetHistory();
275
+ assert.strictEqual(element.data("a", null), element, "data(key,null) should return the element itself");
276
+ assert.strictEqual(element.getAggregation("customData"), null, "data(key,value) should not have modified aggregation 'customData'");
277
+ assert.strictEqual(Log.error.callCount, 0);
278
+
279
+ // add single key/value pair with DOM
280
+ Log.error.resetHistory();
281
+ assert.throws(() => { element.data("a", "b", false); }, new Error("Cannot create custom data on an already destroyed element 'Element sap.ui.core.Element#myElement'"), "Error thrown because calling data(key,value,bool) after destroy");
282
+
283
+ // add single key/value pair with DOM
284
+ Log.error.resetHistory();
285
+ assert.throws(() => { element.data("a", "b", true); }, new Error("Cannot create custom data on an already destroyed element 'Element sap.ui.core.Element#myElement'"), "Error thrown because calling data(key,value,bool) after destroy");
286
+
287
+ // add multiple key/value pairs
288
+ Log.error.resetHistory();
289
+ assert.throws(() => { element.data({a:"b",b:"c"}); }, new Error("Cannot create custom data on an already destroyed element 'Element sap.ui.core.Element#myElement'"), "Error thrown because calling data({data}) after destroy");
290
+
291
+ future.active = undefined;
230
292
  });
231
293
 
232
294
  // Data Binding
@@ -283,8 +345,12 @@ sap.ui.define([
283
345
 
284
346
  });
285
347
 
348
+ /**
349
+ * @deprecated As of version 1.120
350
+ */
351
+ QUnit.test("Write Data to HTML (future=false)", async function(assert) {
352
+ future.active = false;
286
353
 
287
- QUnit.test("Write Data to HTML", async function(assert) {
288
354
  var btn = new Button({text:"Hello"});
289
355
 
290
356
  btn.data("test", "some payload", true);
@@ -302,6 +368,23 @@ sap.ui.define([
302
368
  assert.equal($btn.attr("data-test3"), undefined, "the 'test3' data should NOT be written to DOM");
303
369
  assert.equal($btn.attr("data-test4"), undefined, "the 'test4' data should NOT be written to DOM");
304
370
  assert.equal($btn.attr("data-test5"), undefined, "the 'test5' data should NOT be written to DOM");
371
+
372
+ future.active = undefined;
305
373
  });
306
374
 
375
+ QUnit.test("Write Data to HTML (future=true)", async function(assert) {
376
+ future.active = true;
377
+ var btn = new Button({text:"Hello"});
378
+
379
+ btn.data("test", "some payload", true);
380
+ btn.data("test2", "some other payload");
381
+ btn.data("test3", 42, true);
382
+ btn.data("test4", true, true);
383
+ btn.data("test5", {"test":"nope"}, true);
384
+
385
+ btn.placeAt("content");
386
+ await assert.rejects(nextUIUpdate(), "nextUIUpdate rejected because no string value was provided to CustomData");
387
+
388
+ future.active = undefined;
389
+ });
307
390
  });
@@ -688,7 +688,7 @@ sap.ui.define([
688
688
  });
689
689
 
690
690
  QUnit.test("Fragment.load with properties 'name' and 'definition' provided at the same time", function (assert) {
691
- var myXml = '<Button xmlns="sap.m" id="xmlfragbtn2" text="This is an XML Fragment" press="doSomething"></Button>';
691
+ var myXml = '<Button xmlns="sap.m" id="xmlfragbtn2" text="This is an XML Fragment"></Button>';
692
692
  var oLogErrorSpy = this.spy(Log, "error");
693
693
  return Fragment.load({
694
694
  name: "testdata.fragments.XMLTestFragmentNoController",