@openui5/sap.ui.core 1.120.0 → 1.120.1

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 (464) 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 +2 -2
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/Formatting.js +30 -14
  11. package/src/sap/base/i18n/LanguageTag.js +1 -1
  12. package/src/sap/base/i18n/Localization.js +1 -2
  13. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  14. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  15. package/src/sap/base/util/restricted/_castArray.js +1 -1
  16. package/src/sap/base/util/restricted/_compact.js +1 -1
  17. package/src/sap/base/util/restricted/_curry.js +1 -1
  18. package/src/sap/base/util/restricted/_debounce.js +1 -1
  19. package/src/sap/base/util/restricted/_difference.js +1 -1
  20. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  21. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_flatten.js +1 -1
  26. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  27. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  28. package/src/sap/base/util/restricted/_intersection.js +1 -1
  29. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  30. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  32. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  33. package/src/sap/base/util/restricted/_isNil.js +1 -1
  34. package/src/sap/base/util/restricted/_max.js +1 -1
  35. package/src/sap/base/util/restricted/_merge.js +1 -1
  36. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  37. package/src/sap/base/util/restricted/_min.js +1 -1
  38. package/src/sap/base/util/restricted/_omit.js +1 -1
  39. package/src/sap/base/util/restricted/_pick.js +1 -1
  40. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  41. package/src/sap/base/util/restricted/_throttle.js +1 -1
  42. package/src/sap/base/util/restricted/_toArray.js +1 -1
  43. package/src/sap/base/util/restricted/_union.js +1 -1
  44. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  45. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  46. package/src/sap/base/util/restricted/_uniq.js +1 -1
  47. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  48. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  49. package/src/sap/base/util/restricted/_without.js +1 -1
  50. package/src/sap/base/util/restricted/_xor.js +1 -1
  51. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  52. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  53. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  54. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  55. package/src/sap/ui/Device.js +3 -3
  56. package/src/sap/ui/Global.js +4 -4
  57. package/src/sap/ui/base/Event.js +1 -1
  58. package/src/sap/ui/base/EventProvider.js +1 -1
  59. package/src/sap/ui/base/Interface.js +1 -1
  60. package/src/sap/ui/base/ManagedObject.js +1 -57
  61. package/src/sap/ui/base/ManagedObjectMetadata.js +25 -1
  62. package/src/sap/ui/base/Metadata.js +1 -1
  63. package/src/sap/ui/base/Object.js +1 -1
  64. package/src/sap/ui/base/ObjectPool.js +1 -1
  65. package/src/sap/ui/core/.library +1 -1
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/Component.js +27 -8
  68. package/src/sap/ui/core/ComponentContainer.js +3 -3
  69. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  70. package/src/sap/ui/core/ComponentSupport.js +1 -1
  71. package/src/sap/ui/core/Configuration.js +9 -7
  72. package/src/sap/ui/core/Control.js +1 -1
  73. package/src/sap/ui/core/Core.js +14 -68
  74. package/src/sap/ui/core/CustomData.js +1 -1
  75. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  76. package/src/sap/ui/core/Element.js +7 -3
  77. package/src/sap/ui/core/ElementMetadata.js +1 -1
  78. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  79. package/src/sap/ui/core/EventBus.js +1 -1
  80. package/src/sap/ui/core/Fragment.js +3 -3
  81. package/src/sap/ui/core/HTML.js +1 -1
  82. package/src/sap/ui/core/History.js +1 -1
  83. package/src/sap/ui/core/Icon.js +1 -1
  84. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  85. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  86. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  87. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  88. package/src/sap/ui/core/InvisibleText.js +1 -1
  89. package/src/sap/ui/core/Item.js +1 -1
  90. package/src/sap/ui/core/LabelEnablement.js +1 -1
  91. package/src/sap/ui/core/LayoutData.js +1 -1
  92. package/src/sap/ui/core/Lib.js +59 -29
  93. package/src/sap/ui/core/ListItem.js +1 -1
  94. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  95. package/src/sap/ui/core/Locale.js +1 -1
  96. package/src/sap/ui/core/LocaleData.js +1 -1
  97. package/src/sap/ui/core/Manifest.js +1 -1
  98. package/src/sap/ui/core/Message.js +1 -1
  99. package/src/sap/ui/core/RenderManager.js +1 -1
  100. package/src/sap/ui/core/Renderer.js +1 -1
  101. package/src/sap/ui/core/ResizeHandler.js +1 -1
  102. package/src/sap/ui/core/ScrollBar.js +1 -1
  103. package/src/sap/ui/core/SeparatorItem.js +1 -1
  104. package/src/sap/ui/core/Title.js +1 -1
  105. package/src/sap/ui/core/TooltipBase.js +1 -1
  106. package/src/sap/ui/core/UIArea.js +5 -1
  107. package/src/sap/ui/core/UIComponent.js +1 -1
  108. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  109. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  110. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  111. package/src/sap/ui/core/XMLComposite.js +1 -1
  112. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  113. package/src/sap/ui/core/date/Islamic.js +4 -4
  114. package/src/sap/ui/core/date/UI5Date.js +1 -1
  115. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  116. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  117. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  118. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  119. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  120. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  121. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  122. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  123. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  124. package/src/sap/ui/core/library.js +3 -3
  125. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  126. package/src/sap/ui/core/message/Message.js +1 -1
  127. package/src/sap/ui/core/message/MessageManager.js +1 -1
  128. package/src/sap/ui/core/message/MessageParser.js +1 -1
  129. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  130. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
  131. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  132. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  133. package/src/sap/ui/core/mvc/JSView.js +1 -1
  134. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  135. package/src/sap/ui/core/mvc/View.js +2 -2
  136. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  137. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  138. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  139. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  140. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  141. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  142. package/src/sap/ui/core/search/OpenSearchProvider.js +2 -1
  143. package/src/sap/ui/core/search/SearchProvider.js +2 -1
  144. package/src/sap/ui/core/service/Service.js +1 -1
  145. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  146. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  147. package/src/sap/ui/core/support/Plugin.js +1 -1
  148. package/src/sap/ui/core/support/Support.js +1 -1
  149. package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
  150. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  151. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  153. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  154. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  156. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  157. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  158. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  159. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  160. package/src/sap/ui/core/tmpl/Template.js +1 -1
  161. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  162. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  163. package/src/sap/ui/core/util/Export.js +1 -1
  164. package/src/sap/ui/core/util/ExportCell.js +1 -1
  165. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  166. package/src/sap/ui/core/util/ExportRow.js +1 -1
  167. package/src/sap/ui/core/util/ExportType.js +1 -1
  168. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  169. package/src/sap/ui/core/util/File.js +1 -1
  170. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  171. package/src/sap/ui/core/util/MockServer.js +1 -1
  172. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  173. package/src/sap/ui/core/util/_LocalizationHelper.js +122 -0
  174. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  175. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  176. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  177. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  178. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  179. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  180. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  181. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  182. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  183. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  184. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  185. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  186. package/src/sap/ui/debug/ControlTree.js +1 -1
  187. package/src/sap/ui/debug/DebugEnv.js +1 -1
  188. package/src/sap/ui/debug/PropertyList.js +1 -1
  189. package/src/sap/ui/model/ClientListBinding.js +6 -3
  190. package/src/sap/ui/model/ClientModel.js +1 -1
  191. package/src/sap/ui/model/ClientTreeBinding.js +6 -3
  192. package/src/sap/ui/model/CompositeDataState.js +1 -1
  193. package/src/sap/ui/model/CompositeType.js +1 -1
  194. package/src/sap/ui/model/DataState.js +1 -1
  195. package/src/sap/ui/model/FilterProcessor.js +17 -17
  196. package/src/sap/ui/model/MetaModel.js +1 -1
  197. package/src/sap/ui/model/Model.js +10 -8
  198. package/src/sap/ui/model/SelectionModel.js +1 -1
  199. package/src/sap/ui/model/SimpleType.js +1 -1
  200. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  201. package/src/sap/ui/model/Type.js +1 -1
  202. package/src/sap/ui/model/json/JSONModel.js +1 -1
  203. package/src/sap/ui/model/message/MessageModel.js +1 -1
  204. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  205. package/src/sap/ui/model/odata/ODataListBinding.js +5 -2
  206. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  207. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  208. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  209. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  210. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  211. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  212. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  213. package/src/sap/ui/model/odata/type/Date.js +1 -1
  214. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  215. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  216. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  217. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  218. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  219. package/src/sap/ui/model/odata/type/Double.js +1 -1
  220. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  221. package/src/sap/ui/model/odata/type/Int.js +1 -1
  222. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  223. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  224. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  225. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  226. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  227. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  228. package/src/sap/ui/model/odata/type/Single.js +1 -1
  229. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  230. package/src/sap/ui/model/odata/type/String.js +1 -1
  231. package/src/sap/ui/model/odata/type/Time.js +1 -1
  232. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  233. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  234. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  235. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  236. package/src/sap/ui/model/odata/v2/ODataListBinding.js +5 -2
  237. package/src/sap/ui/model/odata/v2/ODataModel.js +6 -55
  238. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +6 -3
  239. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  240. package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
  241. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  242. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  243. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
  244. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  245. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  246. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  247. package/src/sap/ui/model/type/Boolean.js +1 -1
  248. package/src/sap/ui/model/type/Currency.js +1 -1
  249. package/src/sap/ui/model/type/Date.js +1 -1
  250. package/src/sap/ui/model/type/DateInterval.js +1 -1
  251. package/src/sap/ui/model/type/DateTime.js +1 -1
  252. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  253. package/src/sap/ui/model/type/FileSize.js +1 -1
  254. package/src/sap/ui/model/type/Float.js +1 -1
  255. package/src/sap/ui/model/type/Integer.js +1 -1
  256. package/src/sap/ui/model/type/String.js +1 -1
  257. package/src/sap/ui/model/type/Time.js +1 -1
  258. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  259. package/src/sap/ui/model/type/Unit.js +1 -1
  260. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  261. package/src/sap/ui/performance/trace/Interaction.js +20 -16
  262. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  263. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  264. package/src/sap/ui/test/actions/EnterText.js +4 -0
  265. package/src/sap/ui/test/generic/TestBase.js +1 -1
  266. package/src/sap/ui/util/Storage.js +1 -1
  267. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/manifest.json +3 -10
  268. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/package.json +13 -0
  269. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +11 -0
  270. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/manifest.json +3 -11
  271. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/package.json +13 -0
  272. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +11 -0
  273. package/test/sap/ui/core/demokit/sample/matcher/Descendant/Component.js +1 -1
  274. package/test/sap/ui/core/demokit/sample/matcher/Descendant/manifest.json +3 -11
  275. package/test/sap/ui/core/demokit/sample/matcher/Descendant/package.json +13 -0
  276. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +11 -0
  277. package/test/sap/ui/core/demokit/sample/matcher/I18NText/manifest.json +3 -11
  278. package/test/sap/ui/core/demokit/sample/matcher/I18NText/package.json +13 -0
  279. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +11 -0
  280. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/manifest.json +3 -11
  281. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/package.json +13 -0
  282. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +11 -0
  283. package/test/sap/ui/core/demokit/tutorial/databinding/01/Component.js +9 -25
  284. package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +20 -0
  285. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  286. package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +5 -0
  287. package/test/sap/ui/core/demokit/tutorial/databinding/02/Component.js +9 -25
  288. package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +20 -0
  289. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  290. package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +5 -0
  291. package/test/sap/ui/core/demokit/tutorial/databinding/03/Component.js +9 -25
  292. package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +20 -0
  293. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  294. package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +5 -0
  295. package/test/sap/ui/core/demokit/tutorial/databinding/04/Component.js +9 -26
  296. package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +21 -0
  297. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  298. package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +5 -0
  299. package/test/sap/ui/core/demokit/tutorial/databinding/05/Component.js +9 -26
  300. package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +21 -0
  301. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  302. package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +5 -0
  303. package/test/sap/ui/core/demokit/tutorial/databinding/06/Component.js +9 -27
  304. package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +22 -0
  305. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  306. package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +5 -0
  307. package/test/sap/ui/core/demokit/tutorial/databinding/07/Component.js +9 -28
  308. package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +23 -0
  309. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  310. package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +5 -0
  311. package/test/sap/ui/core/demokit/tutorial/databinding/08/Component.js +9 -28
  312. package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +23 -0
  313. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  314. package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +5 -0
  315. package/test/sap/ui/core/demokit/tutorial/databinding/09/Component.js +9 -29
  316. package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +24 -0
  317. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  318. package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +5 -0
  319. package/test/sap/ui/core/demokit/tutorial/databinding/10/Component.js +9 -29
  320. package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +24 -0
  321. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  322. package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +5 -0
  323. package/test/sap/ui/core/demokit/tutorial/databinding/11/Component.js +9 -29
  324. package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +24 -0
  325. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  326. package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +5 -0
  327. package/test/sap/ui/core/demokit/tutorial/databinding/12/Component.js +9 -30
  328. package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +25 -0
  329. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  330. package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +5 -0
  331. package/test/sap/ui/core/demokit/tutorial/databinding/13/Component.js +9 -30
  332. package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +25 -0
  333. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  334. package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +5 -0
  335. package/test/sap/ui/core/demokit/tutorial/databinding/14/Component.js +9 -30
  336. package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +25 -0
  337. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  338. package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +5 -0
  339. package/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js +9 -32
  340. package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +27 -0
  341. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  342. package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +5 -0
  343. package/test/sap/ui/core/demokit/tutorial/mockserver/01/Component.js +9 -30
  344. package/test/sap/ui/core/demokit/tutorial/mockserver/01/manifest.json +24 -0
  345. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  346. package/test/sap/ui/core/demokit/tutorial/mockserver/02/Component.js +9 -33
  347. package/test/sap/ui/core/demokit/tutorial/mockserver/02/manifest.json +27 -0
  348. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  349. package/test/sap/ui/core/demokit/tutorial/mockserver/03/Component.js +9 -33
  350. package/test/sap/ui/core/demokit/tutorial/mockserver/03/manifest.json +27 -0
  351. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  352. package/test/sap/ui/core/demokit/tutorial/mockserver/04/Component.js +9 -33
  353. package/test/sap/ui/core/demokit/tutorial/mockserver/04/manifest.json +27 -0
  354. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  355. package/test/sap/ui/core/demokit/tutorial/navigation/01/Component.js +9 -33
  356. package/test/sap/ui/core/demokit/tutorial/navigation/01/manifest.json +28 -0
  357. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  358. package/test/sap/ui/core/demokit/tutorial/navigation/02/Component.js +9 -35
  359. package/test/sap/ui/core/demokit/tutorial/navigation/02/manifest.json +30 -0
  360. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  361. package/test/sap/ui/core/demokit/tutorial/navigation/03/Component.js +9 -37
  362. package/test/sap/ui/core/demokit/tutorial/navigation/03/manifest.json +32 -0
  363. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  364. package/test/sap/ui/core/demokit/tutorial/navigation/04/Component.js +9 -38
  365. package/test/sap/ui/core/demokit/tutorial/navigation/04/manifest.json +33 -0
  366. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  367. package/test/sap/ui/core/demokit/tutorial/navigation/05/Component.js +9 -38
  368. package/test/sap/ui/core/demokit/tutorial/navigation/05/manifest.json +33 -0
  369. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  370. package/test/sap/ui/core/demokit/tutorial/navigation/06/Component.js +9 -40
  371. package/test/sap/ui/core/demokit/tutorial/navigation/06/manifest.json +35 -0
  372. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  373. package/test/sap/ui/core/demokit/tutorial/navigation/07/Component.js +9 -42
  374. package/test/sap/ui/core/demokit/tutorial/navigation/07/manifest.json +37 -0
  375. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  376. package/test/sap/ui/core/demokit/tutorial/navigation/08/Component.js +9 -45
  377. package/test/sap/ui/core/demokit/tutorial/navigation/08/manifest.json +40 -0
  378. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  379. package/test/sap/ui/core/demokit/tutorial/navigation/09/Component.js +9 -45
  380. package/test/sap/ui/core/demokit/tutorial/navigation/09/manifest.json +40 -0
  381. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  382. package/test/sap/ui/core/demokit/tutorial/navigation/10/Component.js +9 -47
  383. package/test/sap/ui/core/demokit/tutorial/navigation/10/manifest.json +42 -0
  384. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  385. package/test/sap/ui/core/demokit/tutorial/navigation/11/Component.js +9 -52
  386. package/test/sap/ui/core/demokit/tutorial/navigation/11/manifest.json +47 -0
  387. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  388. package/test/sap/ui/core/demokit/tutorial/navigation/12/Component.js +9 -52
  389. package/test/sap/ui/core/demokit/tutorial/navigation/12/manifest.json +47 -0
  390. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  391. package/test/sap/ui/core/demokit/tutorial/navigation/13/Component.js +9 -52
  392. package/test/sap/ui/core/demokit/tutorial/navigation/13/manifest.json +47 -0
  393. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  394. package/test/sap/ui/core/demokit/tutorial/navigation/14/Component.js +9 -52
  395. package/test/sap/ui/core/demokit/tutorial/navigation/14/manifest.json +47 -0
  396. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  397. package/test/sap/ui/core/demokit/tutorial/navigation/15/Component.js +9 -52
  398. package/test/sap/ui/core/demokit/tutorial/navigation/15/manifest.json +47 -0
  399. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  400. package/test/sap/ui/core/demokit/tutorial/navigation/16/Component.js +9 -52
  401. package/test/sap/ui/core/demokit/tutorial/navigation/16/manifest.json +47 -0
  402. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  403. package/test/sap/ui/core/demokit/tutorial/navigation/17/Component.js +9 -52
  404. package/test/sap/ui/core/demokit/tutorial/navigation/17/manifest.json +47 -0
  405. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  406. package/test/sap/ui/core/demokit/tutorial/odatav4/01/Component.js +3 -27
  407. package/test/sap/ui/core/demokit/tutorial/odatav4/01/manifest.json +28 -0
  408. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  409. package/test/sap/ui/core/demokit/tutorial/odatav4/02/Component.js +3 -27
  410. package/test/sap/ui/core/demokit/tutorial/odatav4/02/manifest.json +28 -0
  411. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  412. package/test/sap/ui/core/demokit/tutorial/odatav4/03/Component.js +3 -27
  413. package/test/sap/ui/core/demokit/tutorial/odatav4/03/manifest.json +28 -0
  414. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  415. package/test/sap/ui/core/demokit/tutorial/odatav4/04/Component.js +3 -27
  416. package/test/sap/ui/core/demokit/tutorial/odatav4/04/manifest.json +28 -0
  417. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  418. package/test/sap/ui/core/demokit/tutorial/odatav4/05/Component.js +3 -27
  419. package/test/sap/ui/core/demokit/tutorial/odatav4/05/manifest.json +28 -0
  420. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  421. package/test/sap/ui/core/demokit/tutorial/odatav4/06/Component.js +3 -27
  422. package/test/sap/ui/core/demokit/tutorial/odatav4/06/manifest.json +28 -0
  423. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  424. package/test/sap/ui/core/demokit/tutorial/odatav4/07/Component.js +3 -27
  425. package/test/sap/ui/core/demokit/tutorial/odatav4/07/manifest.json +28 -0
  426. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  427. package/test/sap/ui/core/demokit/tutorial/odatav4/08/Component.js +3 -27
  428. package/test/sap/ui/core/demokit/tutorial/odatav4/08/manifest.json +28 -0
  429. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  430. package/test/sap/ui/core/demokit/tutorial/odatav4/09/Component.js +3 -27
  431. package/test/sap/ui/core/demokit/tutorial/odatav4/09/manifest.json +28 -0
  432. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  433. package/test/sap/ui/core/demokit/tutorial/odatav4/10/Component.js +3 -27
  434. package/test/sap/ui/core/demokit/tutorial/odatav4/10/manifest.json +28 -0
  435. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  436. package/test/sap/ui/core/demokit/tutorial/odatav4/11/Component.js +3 -27
  437. package/test/sap/ui/core/demokit/tutorial/odatav4/11/manifest.json +28 -0
  438. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  439. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/Component.js +9 -29
  440. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/manifest.json +25 -0
  441. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  442. package/test/sap/ui/core/qunit/ClientModel.qunit.js +28 -28
  443. package/test/sap/ui/core/qunit/Lib.qunit.js +42 -0
  444. package/test/sap/ui/core/qunit/ManagedObject.qunit.js +86 -3
  445. package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +19 -0
  446. package/test/sap/ui/core/qunit/component/Component.qunit.js +26 -3
  447. package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +4 -4
  448. package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +2 -2
  449. package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +2 -2
  450. package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +46 -18
  451. package/test/sap/ui/core/qunit/model/Model.qunit.js +43 -2
  452. package/test/sap/ui/core/qunit/odata/ODataModel_legacyAPIs.qunit.js +22 -22
  453. package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +1 -1
  454. package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +16 -16
  455. package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +2 -11
  456. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +17 -17
  457. package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +32 -36
  458. package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +19 -9
  459. package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +5 -5
  460. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +37 -0
  461. package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +15 -0
  462. package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +11 -2
  463. package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +4 -7
  464. package/test/sap/ui/core/relnotes/changes-1.120.json +82 -0
@@ -11,7 +11,7 @@
11
11
  * This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap
12
12
  * dynamically depending on the capabilities of the browser or device.
13
13
  *
14
- * @version 1.120.0
14
+ * @version 1.120.1
15
15
  * @namespace
16
16
  * @name sap.ui.Device
17
17
  * @public
@@ -32,7 +32,7 @@ if (typeof window.sap.ui !== "object") {
32
32
 
33
33
  //Skip initialization if API is already available
34
34
  if (typeof window.sap.ui.Device === "object" || typeof window.sap.ui.Device === "function") {
35
- var apiVersion = "1.120.0";
35
+ var apiVersion = "1.120.1";
36
36
  window.sap.ui.Device._checkAPIVersion(apiVersion);
37
37
  return;
38
38
  }
@@ -105,7 +105,7 @@ if (typeof window.sap.ui !== "object") {
105
105
 
106
106
  //Only used internal to make clear when Device API is loaded in wrong version
107
107
  Device._checkAPIVersion = function(sVersion) {
108
- var v = "1.120.0";
108
+ var v = "1.120.1";
109
109
  if (v != sVersion) {
110
110
  oLogger.log(WARNING, "Device API version differs: " + v + " <-> " + sVersion);
111
111
  }
@@ -18,7 +18,7 @@
18
18
  * sap.ui.lazyRequire("sap.ui.core.Control");
19
19
  * sap.ui.lazyRequire("sap.m.Button");
20
20
  *
21
- * @version 1.120.0
21
+ * @version 1.120.1
22
22
  * @author SAP SE
23
23
  * @public
24
24
  */
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * The <code>sap</code> namespace is automatically registered with the
49
49
  * OpenAjax hub if it exists.
50
50
  *
51
- * @version 1.120.0
51
+ * @version 1.120.1
52
52
  * @namespace
53
53
  * @public
54
54
  * @name sap
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
62
62
  * point for UI related JavaScript functionality provided by SAP.
63
63
  *
64
- * @version 1.120.0
64
+ * @version 1.120.1
65
65
  * @namespace
66
66
  * @name sap.ui
67
67
  * @public
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * The version of the SAP UI Library
76
76
  * @type string
77
77
  */
78
- version: "1.120.0",
78
+ version: "1.120.1",
79
79
  // buildinfo.lastchange is deprecated and is therefore defaulted to empty string
80
80
  buildinfo : { lastchange : "", buildtime : "${buildtime}" }
81
81
  });
@@ -23,7 +23,7 @@ sap.ui.define(['./Object', "sap/base/assert"],
23
23
  * @extends sap.ui.base.Object
24
24
  * @implements sap.ui.base.Poolable
25
25
  * @author SAP SE
26
- * @version 1.120.0
26
+ * @version 1.120.1
27
27
  * @alias sap.ui.base.Event
28
28
  * @public
29
29
  * @template {Object<string,any>} [ParamsType=object]
@@ -18,7 +18,7 @@ sap.ui.define(['./Event', './Object', "sap/base/assert"],
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
20
  * @author SAP SE
21
- * @version 1.120.0
21
+ * @version 1.120.1
22
22
  * @public
23
23
  * @alias sap.ui.base.EventProvider
24
24
  */
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
28
28
  * no internals of the class can be accessed.
29
29
  *
30
30
  * @author Malte Wedel, Daniel Brinkmann
31
- * @version 1.120.0
31
+ * @version 1.120.1
32
32
  * @param {sap.ui.base.Object} oObject
33
33
  * Object for which a facade should be created
34
34
  * @param {string[]} aMethods
@@ -260,7 +260,7 @@ sap.ui.define([
260
260
  *
261
261
  * @extends sap.ui.base.EventProvider
262
262
  * @author SAP SE
263
- * @version 1.120.0
263
+ * @version 1.120.1
264
264
  * @public
265
265
  * @alias sap.ui.base.ManagedObject
266
266
  */
@@ -4670,62 +4670,6 @@ sap.ui.define([
4670
4670
  return oClone;
4671
4671
  };
4672
4672
 
4673
- /**
4674
- * Update all localization dependent objects that this managed object can reach,
4675
- * except for its aggregated children (which will be updated by the Core).
4676
- *
4677
- * To make the update work as smooth as possible, it happens in two phases:
4678
- * <ol>
4679
- * <li>In phase 1 all known models are updated.</li>
4680
- * <li>In phase 2 all bindings are updated.</li>
4681
- * </ol>
4682
- * This separation is necessary as the models for the bindings might be updated
4683
- * in some ManagedObject or in the Core and the order in which the objects are visited
4684
- * is not defined.
4685
- *
4686
- * @private
4687
- */
4688
- ManagedObject._handleLocalizationChange = function(iPhase) {
4689
- var oModel, sName, oBindingInfo, i;
4690
-
4691
- if ( iPhase === 1 ) {
4692
-
4693
- /*
4694
- * phase 1: update the models
4695
- */
4696
- for (sName in this.oModels) {
4697
- oModel = this.oModels[sName];
4698
- if ( oModel && oModel._handleLocalizationChange ) {
4699
- oModel._handleLocalizationChange();
4700
- }
4701
- }
4702
-
4703
- } else if ( iPhase === 2 ) {
4704
-
4705
- /*
4706
- * phase 2: update bindings and types
4707
- */
4708
- for (sName in this.mBindingInfos) {
4709
- oBindingInfo = this.mBindingInfos[sName];
4710
- var aParts = oBindingInfo.parts;
4711
- if (aParts) {
4712
- // property or composite binding: visit all parts
4713
- for (i = 0; i < aParts.length; i++) {
4714
- if ( oBindingInfo.type && oBindingInfo.type._handleLocalizationChange ) {
4715
- oBindingInfo.type._handleLocalizationChange();
4716
- }
4717
- }
4718
- if ( oBindingInfo.modelChangeHandler ) {
4719
- oBindingInfo.modelChangeHandler();
4720
- }
4721
- } // else: don't update list bindings
4722
- // Note: the template for a list binding will be visited by the core!
4723
- }
4724
-
4725
- }
4726
- };
4727
-
4728
-
4729
4673
  /**
4730
4674
  * Searches and returns all aggregated objects that pass the given check function.
4731
4675
  *
@@ -79,7 +79,7 @@ function(
79
79
  *
80
80
  *
81
81
  * @author Frank Weigel
82
- * @version 1.120.0
82
+ * @version 1.120.1
83
83
  * @since 0.8.6
84
84
  * @alias sap.ui.base.ManagedObjectMetadata
85
85
  * @extends sap.ui.base.Metadata
@@ -128,6 +128,29 @@ function(
128
128
  return result;
129
129
  }
130
130
 
131
+ /**
132
+ * Validates the given default class against its aggregation type.
133
+ */
134
+ function validateDefaultClass(oAggregation, oOriginalAggregationInfo, fnClass) {
135
+ const fnDefaultClass = oOriginalAggregationInfo.defaultClass;
136
+
137
+ // we check if:
138
+ // 1. the defaultClass matches the aggregation type
139
+ // 2. the defaultClass matches the altTypes ('object' must not be included)
140
+ // 3. the defaultClass defined with a nullish value
141
+ if (fnDefaultClass) {
142
+ if (!BaseObject.isObjectA(fnDefaultClass.prototype, oAggregation.type)) {
143
+ throw new TypeError(`The 'defaultClass' of the aggregation '${oAggregation.name}' in '${fnClass.getName()}' is not of type '${oAggregation.type}'.`);
144
+ } else if (oAggregation.altTypes?.includes("object")) {
145
+ throw new TypeError(`The aggregation '${oAggregation.name}' in '${fnClass.getName()}' must not defined a 'defaultClass' together with the altType 'object'.`);
146
+ }
147
+ } else if (oOriginalAggregationInfo.hasOwnProperty("defaultClass")) {
148
+ throw new TypeError(`The 'defaultClass' of the aggregation '${oAggregation.name}' in '${fnClass.getName()}' is defined with a nullish value (${fnDefaultClass}).`);
149
+ }
150
+
151
+ return fnDefaultClass;
152
+ }
153
+
131
154
  var Kind = {
132
155
  SPECIAL_SETTING : -1, PROPERTY : 0, SINGLE_AGGREGATION : 1, MULTIPLE_AGGREGATION : 2, SINGLE_ASSOCIATION : 3, MULTIPLE_ASSOCIATION : 4, EVENT : 5
133
156
  };
@@ -259,6 +282,7 @@ function(
259
282
  this.name = name;
260
283
  this.type = info.type || 'sap.ui.core.Control';
261
284
  this.altTypes = Array.isArray(info.altTypes) ? info.altTypes : undefined;
285
+ this.defaultClass = validateDefaultClass(this, info, oClass) || null;
262
286
  this.multiple = typeof info.multiple === 'boolean' ? info.multiple : true;
263
287
  this.singularName = this.multiple ? info.singularName || guessSingularName(name) : undefined;
264
288
  this.bindable = !!info.bindable;
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @class Metadata for a class.
33
33
  * @author Frank Weigel
34
- * @version 1.120.0
34
+ * @version 1.120.1
35
35
  * @since 0.8.6
36
36
  * @public
37
37
  * @alias sap.ui.base.Metadata
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
26
26
  * @class Base class for all SAPUI5 Objects.
27
27
  * @abstract
28
28
  * @author Malte Wedel
29
- * @version 1.120.0
29
+ * @version 1.120.1
30
30
  * @public
31
31
  * @alias sap.ui.base.Object
32
32
  * @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
@@ -59,7 +59,7 @@ sap.ui.define(['./Object'],
59
59
  *
60
60
  * @extends sap.ui.base.Object
61
61
  * @author SAP SE
62
- * @version 1.120.0
62
+ * @version 1.120.1
63
63
  * @alias sap.ui.base.ObjectPool
64
64
  * @public
65
65
  */
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.120.0</version>
9
+ <version>1.120.1</version>
10
10
 
11
11
  <documentation>The SAPUI5 Core Runtime.
12
12
 
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Provides methods to show or hide a waiting animation covering the whole
43
43
  * page and blocking user interaction.
44
44
  * @namespace
45
- * @version 1.120.0
45
+ * @version 1.120.1
46
46
  * @public
47
47
  * @alias sap.ui.core.BusyIndicator
48
48
  */
@@ -30,7 +30,8 @@ sap.ui.define([
30
30
  'sap/ui/core/_UrlResolver',
31
31
  'sap/ui/VersionInfo',
32
32
  'sap/ui/core/mvc/ViewType',
33
- 'sap/ui/core/Configuration'
33
+ 'sap/ui/core/Configuration',
34
+ 'sap/ui/core/util/_LocalizationHelper'
34
35
  ], function(
35
36
  Manifest,
36
37
  ComponentMetadata,
@@ -56,7 +57,8 @@ sap.ui.define([
56
57
  _UrlResolver,
57
58
  VersionInfo,
58
59
  ViewType,
59
- Configuration
60
+ Configuration,
61
+ _LocalizationHelper
60
62
  ) {
61
63
  "use strict";
62
64
 
@@ -234,7 +236,7 @@ sap.ui.define([
234
236
  * @extends sap.ui.base.ManagedObject
235
237
  * @abstract
236
238
  * @author SAP SE
237
- * @version 1.120.0
239
+ * @version 1.120.1
238
240
  * @alias sap.ui.core.Component
239
241
  * @since 1.9.2
240
242
  */
@@ -473,7 +475,7 @@ sap.ui.define([
473
475
  }
474
476
 
475
477
  if (sComponentId) {
476
- oComponent = Component.get(sComponentId);
478
+ oComponent = Component.getComponentById(sComponentId);
477
479
  }
478
480
 
479
481
  if (oComponent) {
@@ -744,7 +746,7 @@ sap.ui.define([
744
746
  * @since 1.25.1
745
747
  */
746
748
  Component.getOwnerComponentFor = function(oObject) {
747
- return Component.get(Component.getOwnerIdFor(oObject));
749
+ return Component.getComponentById(Component.getOwnerIdFor(oObject));
748
750
  };
749
751
 
750
752
  /**
@@ -2531,7 +2533,7 @@ sap.ui.define([
2531
2533
  "Use 'Component.get' instead", "sap.ui.component", null, fnLogProperties.bind(null, vConfig));
2532
2534
  // when only a string is given, then this function behaves like a
2533
2535
  // getter and returns an existing component instance
2534
- return Component.get(vConfig);
2536
+ return Component.getComponentById(vConfig);
2535
2537
  }
2536
2538
 
2537
2539
  if (vConfig.async) {
@@ -2624,7 +2626,7 @@ sap.ui.define([
2624
2626
  * Part of the old sap.ui.component implementation than can be re-used by the new factory
2625
2627
  */
2626
2628
  function componentFactory(vConfig, bLegacy) {
2627
- var oOwnerComponent = Component.get(ManagedObject._sOwnerId);
2629
+ var oOwnerComponent = Component.getComponentById(ManagedObject._sOwnerId);
2628
2630
 
2629
2631
  if (Array.isArray(vConfig.activeTerminologies) && vConfig.activeTerminologies.length &&
2630
2632
  Array.isArray(Localization.getActiveTerminologies()) && Localization.getActiveTerminologies().length) {
@@ -2869,9 +2871,24 @@ sap.ui.define([
2869
2871
  * @since 1.56.0
2870
2872
  * @static
2871
2873
  * @public
2874
+ * @deprecated As of version 1.120, please use the static {@link sap.ui.core.Component.getComponentById getComponentById} instead.
2872
2875
  */
2873
2876
  Component.get = function (sId) {
2874
2877
  // lookup and return the component
2878
+ return Component.getComponentById(sId);
2879
+ };
2880
+
2881
+ /**
2882
+ * Returns an existing component instance, identified by its ID.
2883
+ *
2884
+ * @param {string} sId ID of the component.
2885
+ * @returns {sap.ui.core.Component|undefined} Component instance or <code>undefined</code> when no component
2886
+ * with the given ID exists.
2887
+ * @since 1.120
2888
+ * @static
2889
+ * @public
2890
+ */
2891
+ Component.getComponentById = function(sId) {
2875
2892
  return Component.registry.get(sId);
2876
2893
  };
2877
2894
 
@@ -3029,7 +3046,7 @@ sap.ui.define([
3029
3046
  // determine the semantic of the manifest property
3030
3047
  bManifestFirst = !!vManifest;
3031
3048
  sManifestUrl = vManifest && typeof vManifest === 'string' ? vManifest : undefined;
3032
- oManifest = vManifest && typeof vManifest === 'object' ? createSanitizedManifest(vManifest, {url: oConfig && oConfig.altManifestUrl, activeTerminologies: aActiveTerminologies}) : undefined;
3049
+ oManifest = vManifest && typeof vManifest === 'object' ? createSanitizedManifest(vManifest, {url: oConfig && oConfig.altManifestUrl, activeTerminologies: aActiveTerminologies, process: !oConfig.async}) : undefined;
3033
3050
  }
3034
3051
 
3035
3052
  // if we find a manifest URL in the configuration
@@ -4091,5 +4108,7 @@ sap.ui.define([
4091
4108
  * @protected
4092
4109
  */
4093
4110
 
4111
+ _LocalizationHelper.registerForUpdate("Components", Component.registry.all);
4112
+
4094
4113
  return Component;
4095
4114
  });
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * See also {@link module:sap/ui/core/ComponentSupport}.
62
62
  *
63
63
  * @extends sap.ui.core.Control
64
- * @version 1.120.0
64
+ * @version 1.120.1
65
65
  *
66
66
  * @public
67
67
  * @alias sap.ui.core.ComponentContainer
@@ -219,7 +219,7 @@ sap.ui.define([
219
219
  */
220
220
  function setContainerComponent(oComponentContainer, vComponent, bSuppressInvalidate, bDestroyOldComponent) {
221
221
  // find the reference to the current component and to the old component
222
- var oComponent = typeof vComponent === "string" ? Component.get(vComponent) : vComponent;
222
+ var oComponent = typeof vComponent === "string" ? Component.getComponentById(vComponent) : vComponent;
223
223
  var oOldComponent = oComponentContainer.getComponentInstance();
224
224
  // if there is no difference between the old and the new component just skip this setter
225
225
  if (oOldComponent !== oComponent) {
@@ -251,7 +251,7 @@ sap.ui.define([
251
251
  */
252
252
  ComponentContainer.prototype.getComponentInstance = function () {
253
253
  var sComponentId = this.getComponent();
254
- return sComponentId && Component.get(sComponentId);
254
+ return sComponentId && Component.getComponentById(sComponentId);
255
255
  };
256
256
 
257
257
  // Delegate registered by the ComponentContainer#showPlaceholder function
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @public
31
31
  * @class
32
32
  * @author SAP SE
33
- * @version 1.120.0
33
+ * @version 1.120.1
34
34
  * @since 1.9.2
35
35
  * @alias sap.ui.core.ComponentMetadata
36
36
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @author SAP SE
98
98
  * @public
99
99
  * @since 1.58.0
100
- * @version 1.120.0
100
+ * @version 1.120.1
101
101
  * @namespace
102
102
  * @alias module:sap/ui/core/ComponentSupport
103
103
  */
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  ) {
42
42
  "use strict";
43
43
 
44
- var oVersion = new Version("1.120.0");
44
+ var oVersion = new Version("1.120.1");
45
45
  var oFormatSettings;
46
46
 
47
47
  // Lazy dependency to core
@@ -223,8 +223,7 @@ sap.ui.define([
223
223
  * bindings in existing Elements, Controls, UIAreas or Components</li>
224
224
  * <li>ResourceModels currently assigned to the Core, a UIArea, Component,
225
225
  * Element or Control</li>
226
- * <li>Elements or Controls that implement the <code>onlocalizationChanged</code> hook
227
- * (note the lowercase 'l' in onlocalizationChanged)</li>
226
+ * <li>Elements or Controls that implement the <code>onLocalizationChanged</code> hook</li>
228
227
  * </ul>
229
228
  *
230
229
  * It furthermore derives the RTL mode from the new language, if no explicit RTL
@@ -1061,8 +1060,8 @@ sap.ui.define([
1061
1060
  * @borrows module:sap/base/i18n/Formatting.getLegacyDateFormat as #getLegacyDateFormat
1062
1061
  * @borrows module:sap/base/i18n/Formatting.getLegacyTimeFormat as #getLegacyTimeFormat
1063
1062
  * @borrows module:sap/base/i18n/Formatting.getLegacyNumberFormat as #getLegacyNumberFormat
1064
- * @borrows module:sap/base/i18n/Formatting.getLegacyDateCalendarCustomizing as #getLegacyDateCalendarCustomizing
1065
- * @borrows module:sap/base/i18n/Formatting.setLegacyDateCalendarCustomizing as #setLegacyDateCalendarCustomizing
1063
+ * @borrows module:sap/base/i18n/Formatting.getCustomIslamicCalendarData as #getLegacyDateCalendarCustomizing
1064
+ * @borrows module:sap/base/i18n/Formatting.setCustomIslamicCalendarData as #setLegacyDateCalendarCustomizing
1066
1065
  * @borrows module:sap/base/i18n/Formatting.getTrailingCurrencyCode as #getTrailingCurrencyCode
1067
1066
  * @borrows module:sap/base/i18n/Formatting.setTrailingCurrencyCode as #setTrailingCurrencyCode
1068
1067
  * @borrows module:sap/base/i18n/Formatting.getCustomLocaleData as #getCustomLocaleData
@@ -1314,11 +1313,11 @@ sap.ui.define([
1314
1313
  },
1315
1314
 
1316
1315
  setLegacyDateCalendarCustomizing : function() {
1317
- Formatting.setLegacyDateCalendarCustomizing.apply(Formatting, arguments);
1316
+ Formatting.setCustomIslamicCalendarData.apply(Formatting, arguments);
1318
1317
  return this;
1319
1318
  },
1320
1319
 
1321
- getLegacyDateCalendarCustomizing : Formatting.getLegacyDateCalendarCustomizing,
1320
+ getLegacyDateCalendarCustomizing : Formatting.getCustomIslamicCalendarData,
1322
1321
 
1323
1322
  setTrailingCurrencyCode : function() {
1324
1323
  Formatting.setTrailingCurrencyCode.apply(Formatting, arguments);
@@ -1350,6 +1349,9 @@ sap.ui.define([
1350
1349
  if (["ABAPDateFormat", "ABAPTimeFormat", "ABAPNumberFormat"].includes(sName)) {
1351
1350
  mParameters[sName.replace("ABAP", "legacy")] = mParameters[sName];
1352
1351
  delete mParameters[sName];
1352
+ } else if (sName === 'customIslamicCalendarData') {
1353
+ mParameters['legacyDateCalendarCustomizing'] = mParameters[sName];
1354
+ delete mParameters[sName];
1353
1355
  }
1354
1356
  });
1355
1357
  if (!mChanges && Core) {
@@ -81,7 +81,7 @@ sap.ui.define([
81
81
  * @extends sap.ui.core.Element
82
82
  * @abstract
83
83
  * @author SAP SE
84
- * @version 1.120.0
84
+ * @version 1.120.1
85
85
  * @alias sap.ui.core.Control
86
86
  */
87
87
  var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
@@ -25,7 +25,6 @@ sap.ui.define([
25
25
  "sap/base/Event",
26
26
  "sap/base/Log",
27
27
  "sap/base/util/Deferred",
28
- "sap/base/util/each",
29
28
  "sap/base/util/isEmptyObject",
30
29
  "sap/base/util/ObjectPath",
31
30
  "sap/base/util/Version",
@@ -37,6 +36,7 @@ sap.ui.define([
37
36
  "sap/ui/base/Object",
38
37
  "sap/ui/base/syncXHRFix",
39
38
  "sap/ui/core/support/Hotkeys",
39
+ "sap/ui/core/util/_LocalizationHelper",
40
40
  "sap/ui/dom/getComputedStyleFix",
41
41
  "sap/ui/performance/Measurement",
42
42
  "sap/ui/performance/trace/initTraces",
@@ -70,7 +70,6 @@ sap.ui.define([
70
70
  BaseEvent,
71
71
  Log,
72
72
  Deferred,
73
- each,
74
73
  isEmptyObject,
75
74
  ObjectPath,
76
75
  Version,
@@ -82,6 +81,7 @@ sap.ui.define([
82
81
  BaseObject,
83
82
  syncXHRFix,
84
83
  Hotkeys,
84
+ _LocalizationHelper,
85
85
  getComputedStyleFix,
86
86
  Measurement,
87
87
  initTraces,
@@ -358,7 +358,7 @@ sap.ui.define([
358
358
  * @extends sap.ui.base.Object
359
359
  * @final
360
360
  * @author SAP SE
361
- * @version 1.120.0
361
+ * @version 1.120.1
362
362
  * @alias sap.ui.core.Core
363
363
  * @public
364
364
  * @hideconstructor
@@ -620,7 +620,14 @@ sap.ui.define([
620
620
 
621
621
  Log.info("Declared libraries: " + this.aLibs, METHOD);
622
622
 
623
- this._setupContentDirection();
623
+ _LocalizationHelper.init();
624
+
625
+ /**
626
+ * @deprecated As of Version 1.120
627
+ */
628
+ _LocalizationHelper.registerForUpdate("Core", () => {
629
+ return {"Core": this};
630
+ });
624
631
 
625
632
  this._setupBrowser();
626
633
 
@@ -630,6 +637,7 @@ sap.ui.define([
630
637
 
631
638
  this._setupAnimation();
632
639
 
640
+
633
641
  // create accessor to the Core API early so that initLibrary and others can use it
634
642
  /**
635
643
  * Retrieve the {@link sap.ui.core.Core SAPUI5 Core} instance for the current window.
@@ -919,18 +927,6 @@ sap.ui.define([
919
927
  };
920
928
  };
921
929
 
922
- /**
923
- * Set the document's dir property
924
- * @private
925
- */
926
- Core.prototype._setupContentDirection = function() {
927
- var METHOD = "sap.ui.core.Core",
928
- sDir = Configuration.getRTL() ? "rtl" : "ltr";
929
-
930
- document.documentElement.setAttribute("dir", sDir); // webkit does not allow setting document.dir before the body exists
931
- Log.info("Content direction set to '" + sDir + "'",null,METHOD);
932
- };
933
-
934
930
  /**
935
931
  * Set the body's browser-related attributes.
936
932
  * @private
@@ -2198,61 +2194,11 @@ sap.ui.define([
2198
2194
 
2199
2195
  /**
2200
2196
  * @private
2197
+ * @deprecated As of Version 1.120
2201
2198
  */
2202
2199
  Core.prototype.fireLocalizationChanged = function(mChanges) {
2203
- var sEventId = Core.M_EVENTS.LocalizationChanged,
2204
- oBrowserEvent = jQuery.Event(sEventId, {changes : mChanges}),
2205
- fnAdapt = ManagedObject._handleLocalizationChange;
2206
-
2207
- Log.info("localization settings changed: " + Object.keys(mChanges).join(","), null, "sap.ui.core.Core");
2208
-
2209
- /*
2210
- * Notify models that are able to handle a localization change
2211
- */
2212
- each(this.oModels, function (prop, oModel) {
2213
- if (oModel && oModel._handleLocalizationChange) {
2214
- oModel._handleLocalizationChange();
2215
- }
2216
- });
2217
-
2218
- /*
2219
- * Notify all UIAreas, Components, Elements to first update their models (phase 1)
2220
- * and then to update their bindings and corresponding data types (phase 2)
2221
- */
2222
- function notifyAll(iPhase) {
2223
- UIArea.registry.forEach(function(oUIArea) {
2224
- fnAdapt.call(oUIArea, iPhase);
2225
- });
2226
- Component.registry.forEach(function(oComponent) {
2227
- fnAdapt.call(oComponent, iPhase);
2228
- });
2229
- Element.registry.forEach(function(oElement) {
2230
- fnAdapt.call(oElement, iPhase);
2231
- });
2232
- }
2233
-
2234
- notifyAll.call(this,1);
2235
- notifyAll.call(this,2);
2236
-
2237
- // special handling for changes of the RTL mode
2238
- if ( mChanges.rtl != undefined ) {
2239
- // update the dir attribute of the document
2240
- document.documentElement.setAttribute("dir", mChanges.rtl ? "rtl" : "ltr");
2241
-
2242
- // invalidate all UIAreas
2243
- UIArea.registry.forEach(function(oUIArea) {
2244
- oUIArea.invalidate();
2245
- });
2246
- Log.info("RTL mode " + mChanges.rtl ? "activated" : "deactivated");
2247
- }
2248
-
2249
- // notify Elements via a pseudo browser event (onlocalizationChanged, note the lower case 'l')
2250
- Element.registry.forEach(function(oElement) {
2251
- oElement._handleEvent(oBrowserEvent);
2252
- });
2253
-
2254
2200
  // notify registered Core listeners
2255
- _oEventProvider.fireEvent(sEventId, {changes : mChanges});
2201
+ _oEventProvider.fireEvent(Core.M_EVENTS.LocalizationChanged, {changes : mChanges});
2256
2202
  };
2257
2203
 
2258
2204
  /**
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.120.0
27
+ * @version 1.120.1
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.CustomData
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class Static class for enabling declarative UI support.
41
41
  *
42
42
  * @author Peter Muessig, Tino Butz
43
- * @version 1.120.0
43
+ * @version 1.120.1
44
44
  * @since 1.7.0
45
45
  * @public
46
46
  * @alias sap.ui.core.DeclarativeSupport