@openui5/sap.ui.core 1.108.0 → 1.109.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 (352) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +1 -1
  3. package/src/jquery.sap.global.js +1 -1
  4. package/src/jquery.sap.properties.js +1 -1
  5. package/src/jquery.sap.resources.js +1 -1
  6. package/src/jquery.sap.script.js +1 -1
  7. package/src/jquery.sap.storage.js +3 -3
  8. package/src/sap/base/Log.js +125 -84
  9. package/src/sap/base/i18n/ResourceBundle.js +41 -11
  10. package/src/sap/base/util/includes.js +1 -1
  11. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  12. package/src/sap/base/util/restricted/_castArray.js +1 -1
  13. package/src/sap/base/util/restricted/_compact.js +1 -1
  14. package/src/sap/base/util/restricted/_curry.js +1 -1
  15. package/src/sap/base/util/restricted/_debounce.js +1 -1
  16. package/src/sap/base/util/restricted/_difference.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_flatten.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_intersection.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isNil.js +1 -1
  31. package/src/sap/base/util/restricted/_max.js +1 -1
  32. package/src/sap/base/util/restricted/_merge.js +1 -1
  33. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  34. package/src/sap/base/util/restricted/_min.js +1 -1
  35. package/src/sap/base/util/restricted/_omit.js +1 -1
  36. package/src/sap/base/util/restricted/_pick.js +1 -1
  37. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  38. package/src/sap/base/util/restricted/_throttle.js +1 -1
  39. package/src/sap/base/util/restricted/_toArray.js +1 -1
  40. package/src/sap/base/util/restricted/_union.js +1 -1
  41. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  42. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  43. package/src/sap/base/util/restricted/_uniq.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  46. package/src/sap/base/util/restricted/_without.js +1 -1
  47. package/src/sap/base/util/restricted/_xor.js +1 -1
  48. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  49. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  52. package/src/sap/base/util/values.js +2 -1
  53. package/src/sap/ui/Device.js +3 -3
  54. package/src/sap/ui/Global.js +4 -4
  55. package/src/sap/ui/base/Event.js +1 -1
  56. package/src/sap/ui/base/EventProvider.js +1 -1
  57. package/src/sap/ui/base/Interface.js +1 -1
  58. package/src/sap/ui/base/ManagedObject.js +1 -1
  59. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  60. package/src/sap/ui/base/ManagedObjectObserver.js +33 -11
  61. package/src/sap/ui/base/Metadata.js +1 -1
  62. package/src/sap/ui/base/Object.js +1 -1
  63. package/src/sap/ui/base/ObjectPool.js +1 -1
  64. package/src/sap/ui/core/.library +3 -3
  65. package/src/sap/ui/core/BusyIndicator.js +1 -1
  66. package/src/sap/ui/core/Component.js +1 -1
  67. package/src/sap/ui/core/ComponentContainer.js +1 -1
  68. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  69. package/src/sap/ui/core/ComponentSupport.js +1 -1
  70. package/src/sap/ui/core/Configuration.js +1 -1
  71. package/src/sap/ui/core/Control.js +1 -1
  72. package/src/sap/ui/core/Core.js +4 -4
  73. package/src/sap/ui/core/CustomData.js +1 -1
  74. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  75. package/src/sap/ui/core/Element.js +1 -1
  76. package/src/sap/ui/core/ElementMetadata.js +1 -1
  77. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  78. package/src/sap/ui/core/EventBus.js +1 -1
  79. package/src/sap/ui/core/Fragment.js +1 -1
  80. package/src/sap/ui/core/HTML.js +1 -1
  81. package/src/sap/ui/core/History.js +1 -1
  82. package/src/sap/ui/core/Icon.js +1 -1
  83. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  84. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  85. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  86. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  87. package/src/sap/ui/core/InvisibleText.js +1 -1
  88. package/src/sap/ui/core/Item.js +1 -1
  89. package/src/sap/ui/core/LabelEnablement.js +1 -1
  90. package/src/sap/ui/core/LayoutData.js +1 -1
  91. package/src/sap/ui/core/ListItem.js +1 -1
  92. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  93. package/src/sap/ui/core/Locale.js +1 -1
  94. package/src/sap/ui/core/LocaleData.js +133 -1
  95. package/src/sap/ui/core/Manifest.js +1 -1
  96. package/src/sap/ui/core/Message.js +1 -1
  97. package/src/sap/ui/core/RenderManager.js +82 -50
  98. package/src/sap/ui/core/Renderer.js +1 -1
  99. package/src/sap/ui/core/Rendering.js +29 -9
  100. package/src/sap/ui/core/ResizeHandler.js +1 -1
  101. package/src/sap/ui/core/ScrollBar.js +1 -1
  102. package/src/sap/ui/core/SeparatorItem.js +1 -1
  103. package/src/sap/ui/core/Title.js +1 -1
  104. package/src/sap/ui/core/TooltipBase.js +1 -1
  105. package/src/sap/ui/core/UIArea.js +7 -5
  106. package/src/sap/ui/core/UIComponent.js +1 -1
  107. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  108. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  109. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  110. package/src/sap/ui/core/XMLComposite.js +1 -1
  111. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  112. package/src/sap/ui/core/XMLTemplateProcessor.js +1 -3
  113. package/src/sap/ui/core/cldr/ar.json +330 -0
  114. package/src/sap/ui/core/cldr/ar_EG.json +330 -0
  115. package/src/sap/ui/core/cldr/ar_SA.json +330 -0
  116. package/src/sap/ui/core/cldr/bg.json +295 -0
  117. package/src/sap/ui/core/cldr/ca.json +329 -0
  118. package/src/sap/ui/core/cldr/cs.json +328 -0
  119. package/src/sap/ui/core/cldr/cy.json +260 -0
  120. package/src/sap/ui/core/cldr/da.json +295 -0
  121. package/src/sap/ui/core/cldr/de.json +329 -0
  122. package/src/sap/ui/core/cldr/de_AT.json +329 -0
  123. package/src/sap/ui/core/cldr/de_CH.json +329 -0
  124. package/src/sap/ui/core/cldr/el.json +228 -0
  125. package/src/sap/ui/core/cldr/el_CY.json +228 -0
  126. package/src/sap/ui/core/cldr/en.json +294 -0
  127. package/src/sap/ui/core/cldr/en_AU.json +294 -0
  128. package/src/sap/ui/core/cldr/en_GB.json +294 -0
  129. package/src/sap/ui/core/cldr/en_HK.json +294 -0
  130. package/src/sap/ui/core/cldr/en_IE.json +294 -0
  131. package/src/sap/ui/core/cldr/en_IN.json +294 -0
  132. package/src/sap/ui/core/cldr/en_NZ.json +294 -0
  133. package/src/sap/ui/core/cldr/en_PG.json +294 -0
  134. package/src/sap/ui/core/cldr/en_SG.json +294 -0
  135. package/src/sap/ui/core/cldr/en_ZA.json +294 -0
  136. package/src/sap/ui/core/cldr/es.json +261 -0
  137. package/src/sap/ui/core/cldr/es_AR.json +261 -0
  138. package/src/sap/ui/core/cldr/es_BO.json +261 -0
  139. package/src/sap/ui/core/cldr/es_CL.json +261 -0
  140. package/src/sap/ui/core/cldr/es_CO.json +261 -0
  141. package/src/sap/ui/core/cldr/es_MX.json +261 -0
  142. package/src/sap/ui/core/cldr/es_PE.json +261 -0
  143. package/src/sap/ui/core/cldr/es_UY.json +261 -0
  144. package/src/sap/ui/core/cldr/es_VE.json +261 -0
  145. package/src/sap/ui/core/cldr/et.json +294 -0
  146. package/src/sap/ui/core/cldr/fa.json +296 -0
  147. package/src/sap/ui/core/cldr/fi.json +328 -0
  148. package/src/sap/ui/core/cldr/fr.json +294 -0
  149. package/src/sap/ui/core/cldr/fr_BE.json +294 -0
  150. package/src/sap/ui/core/cldr/fr_CA.json +294 -0
  151. package/src/sap/ui/core/cldr/fr_CH.json +294 -0
  152. package/src/sap/ui/core/cldr/fr_LU.json +294 -0
  153. package/src/sap/ui/core/cldr/he.json +329 -0
  154. package/src/sap/ui/core/cldr/hi.json +261 -0
  155. package/src/sap/ui/core/cldr/hr.json +294 -0
  156. package/src/sap/ui/core/cldr/hu.json +362 -0
  157. package/src/sap/ui/core/cldr/id.json +294 -0
  158. package/src/sap/ui/core/cldr/it.json +294 -0
  159. package/src/sap/ui/core/cldr/it_CH.json +294 -0
  160. package/src/sap/ui/core/cldr/ja.json +328 -0
  161. package/src/sap/ui/core/cldr/kk.json +294 -0
  162. package/src/sap/ui/core/cldr/ko.json +328 -0
  163. package/src/sap/ui/core/cldr/lt.json +294 -0
  164. package/src/sap/ui/core/cldr/lv.json +294 -0
  165. package/src/sap/ui/core/cldr/ms.json +262 -0
  166. package/src/sap/ui/core/cldr/nb.json +295 -0
  167. package/src/sap/ui/core/cldr/nl.json +261 -0
  168. package/src/sap/ui/core/cldr/nl_BE.json +261 -0
  169. package/src/sap/ui/core/cldr/pl.json +328 -0
  170. package/src/sap/ui/core/cldr/pt.json +294 -0
  171. package/src/sap/ui/core/cldr/pt_PT.json +294 -0
  172. package/src/sap/ui/core/cldr/ro.json +294 -0
  173. package/src/sap/ui/core/cldr/ru.json +294 -0
  174. package/src/sap/ui/core/cldr/ru_UA.json +294 -0
  175. package/src/sap/ui/core/cldr/sk.json +328 -0
  176. package/src/sap/ui/core/cldr/sl.json +328 -0
  177. package/src/sap/ui/core/cldr/sr.json +294 -0
  178. package/src/sap/ui/core/cldr/sr_Latn.json +294 -0
  179. package/src/sap/ui/core/cldr/sv.json +295 -0
  180. package/src/sap/ui/core/cldr/th.json +362 -0
  181. package/src/sap/ui/core/cldr/tr.json +362 -0
  182. package/src/sap/ui/core/cldr/uk.json +294 -0
  183. package/src/sap/ui/core/cldr/vi.json +294 -0
  184. package/src/sap/ui/core/cldr/zh_CN.json +329 -0
  185. package/src/sap/ui/core/cldr/zh_HK.json +329 -0
  186. package/src/sap/ui/core/cldr/zh_SG.json +329 -0
  187. package/src/sap/ui/core/cldr/zh_TW.json +329 -0
  188. package/src/sap/ui/core/date/Japanese.js +30 -0
  189. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  190. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  191. package/src/sap/ui/core/dnd/DragAndDrop.js +2 -2
  192. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  193. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  194. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  195. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  196. package/src/sap/ui/core/format/DateFormat.js +122 -2
  197. package/src/sap/ui/core/format/NumberFormat.js +111 -70
  198. package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
  199. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  200. package/src/sap/ui/core/library.js +3 -3
  201. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  202. package/src/sap/ui/core/message/Message.js +1 -1
  203. package/src/sap/ui/core/message/MessageManager.js +1 -1
  204. package/src/sap/ui/core/message/MessageParser.js +1 -1
  205. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  206. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  207. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  208. package/src/sap/ui/core/mvc/JSView.js +1 -1
  209. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  210. package/src/sap/ui/core/mvc/View.js +3 -3
  211. package/src/sap/ui/core/mvc/ViewType.js +4 -0
  212. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  213. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  214. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  215. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  216. package/src/sap/ui/core/postmessage/Bus.js +12 -17
  217. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  218. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  219. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  220. package/src/sap/ui/core/service/Service.js +1 -1
  221. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  222. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  223. package/src/sap/ui/core/support/Plugin.js +1 -1
  224. package/src/sap/ui/core/support/Support.js +1 -1
  225. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  226. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  227. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  228. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  229. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  230. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  231. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  232. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  233. package/src/sap/ui/core/themes/base/Icon.less +17 -4
  234. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
  235. package/src/sap/ui/core/themes/base/base.less +599 -90
  236. package/src/sap/ui/core/themes/base/global.less +64 -0
  237. package/src/sap/ui/core/themes/sap_hcb/global.less +65 -0
  238. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  239. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  240. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  241. package/src/sap/ui/core/tmpl/Template.js +1 -1
  242. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  243. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  244. package/src/sap/ui/core/util/Export.js +1 -1
  245. package/src/sap/ui/core/util/ExportCell.js +1 -1
  246. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  247. package/src/sap/ui/core/util/ExportRow.js +1 -1
  248. package/src/sap/ui/core/util/ExportType.js +1 -1
  249. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  250. package/src/sap/ui/core/util/File.js +1 -1
  251. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  252. package/src/sap/ui/core/util/MockServer.js +1 -1
  253. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  254. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +1 -3
  255. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  256. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  257. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  258. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  259. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  260. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  261. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  262. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  263. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  264. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  265. package/src/sap/ui/debug/ControlTree.js +1 -1
  266. package/src/sap/ui/debug/DebugEnv.js +1 -1
  267. package/src/sap/ui/debug/PropertyList.js +1 -1
  268. package/src/sap/ui/model/ClientModel.js +1 -1
  269. package/src/sap/ui/model/CompositeDataState.js +1 -1
  270. package/src/sap/ui/model/CompositeType.js +1 -1
  271. package/src/sap/ui/model/DataState.js +1 -1
  272. package/src/sap/ui/model/MetaModel.js +1 -1
  273. package/src/sap/ui/model/Model.js +1 -1
  274. package/src/sap/ui/model/SelectionModel.js +1 -1
  275. package/src/sap/ui/model/SimpleType.js +1 -1
  276. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  277. package/src/sap/ui/model/Type.js +1 -1
  278. package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +11 -3
  279. package/src/sap/ui/model/json/JSONModel.js +1 -1
  280. package/src/sap/ui/model/message/MessageModel.js +1 -1
  281. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  282. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  283. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  284. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  285. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  286. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  287. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  288. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  289. package/src/sap/ui/model/odata/type/Date.js +1 -1
  290. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  291. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  292. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  293. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  294. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  295. package/src/sap/ui/model/odata/type/Double.js +1 -1
  296. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  297. package/src/sap/ui/model/odata/type/Int.js +1 -1
  298. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  299. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  300. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  301. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  302. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  303. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  304. package/src/sap/ui/model/odata/type/Single.js +1 -1
  305. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  306. package/src/sap/ui/model/odata/type/String.js +1 -1
  307. package/src/sap/ui/model/odata/type/Time.js +1 -1
  308. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  309. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  310. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  311. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  312. package/src/sap/ui/model/odata/v2/ODataListBinding.js +1 -1
  313. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  314. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +3 -4
  315. package/src/sap/ui/model/odata/v4/Context.js +82 -29
  316. package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
  317. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +3 -2
  318. package/src/sap/ui/model/odata/v4/ODataListBinding.js +77 -23
  319. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  320. package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
  321. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  322. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +334 -142
  323. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +109 -16
  324. package/src/sap/ui/model/odata/v4/lib/_Cache.js +82 -42
  325. package/src/sap/ui/model/odata/v4/lib/_Helper.js +26 -0
  326. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  327. package/src/sap/ui/model/type/Boolean.js +1 -1
  328. package/src/sap/ui/model/type/Currency.js +1 -1
  329. package/src/sap/ui/model/type/Date.js +1 -1
  330. package/src/sap/ui/model/type/DateInterval.js +1 -1
  331. package/src/sap/ui/model/type/DateTime.js +1 -1
  332. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  333. package/src/sap/ui/model/type/FileSize.js +1 -1
  334. package/src/sap/ui/model/type/Float.js +1 -1
  335. package/src/sap/ui/model/type/Integer.js +1 -1
  336. package/src/sap/ui/model/type/String.js +1 -1
  337. package/src/sap/ui/model/type/Time.js +1 -1
  338. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  339. package/src/sap/ui/model/type/Unit.js +1 -1
  340. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  341. package/src/sap/ui/qunit/QUnitUtils.js +14 -2
  342. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  343. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  344. package/src/sap/ui/test/OpaExtension.js +1 -1
  345. package/src/sap/ui/test/OpaPlugin.js +6 -4
  346. package/src/sap/ui/test/PageObjectFactory.js +11 -9
  347. package/src/sap/ui/test/RecordReplay.js +1 -1
  348. package/src/sap/ui/test/_OpaLogger.js +1 -1
  349. package/src/sap/ui/test/autowaiter/_promiseWaiter.js +4 -1
  350. package/src/sap/ui/test/generic/TestBase.js +1 -1
  351. package/src/sap/ui/util/Mobile.js +17 -18
  352. package/src/sap/ui/util/Storage.js +90 -63
package/THIRDPARTY.txt CHANGED
@@ -478,7 +478,7 @@ License: Apache-2.0
478
478
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
479
479
  Contained in: lib/jsdoc/ui5/plugin.js
480
480
 
481
- Component: SAP Theming Base Content, version: 11.1.40
481
+ Component: SAP Theming Base Content, version: 11.1.44
482
482
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
483
483
  License: Apache-2.0
484
484
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.core",
3
- "version": "1.108.0",
3
+ "version": "1.109.0",
4
4
  "description": "OpenUI5 Core Library sap.ui.core",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -202,7 +202,7 @@ sap.ui.define([
202
202
  /**
203
203
  * Root Namespace for the jQuery plug-in provided by SAP SE.
204
204
  *
205
- * @version 1.108.0
205
+ * @version 1.109.0
206
206
  * @namespace
207
207
  * @public
208
208
  * @static
@@ -67,7 +67,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/util/Properties'],
67
67
  * {@link #setProperty} to store or change a value for a key and {@link #getKeys}
68
68
  * can be used to retrieve an array of all keys that are currently stored in the collection.
69
69
  *
70
- * @version 1.108.0
70
+ * @version 1.109.0
71
71
  * @since 0.9.0
72
72
  * @name jQuery.sap.util.Properties
73
73
  * @public
@@ -99,7 +99,7 @@ sap.ui.define([
99
99
  * Exception: Fallback for "zh_HK" is "zh_TW" before zh.
100
100
  *
101
101
  * @author SAP SE
102
- * @version 1.108.0
102
+ * @version 1.109.0
103
103
  * @since 0.9.0
104
104
  * @name jQuery.sap.util.ResourceBundle
105
105
  * @public
@@ -267,7 +267,7 @@ sap.ui.define([
267
267
  * Use {@link jQuery.sap.getUriParameters} to create an instance of jQuery.sap.util.UriParameters.
268
268
  *
269
269
  * @author SAP SE
270
- * @version 1.108.0
270
+ * @version 1.109.0
271
271
  * @since 0.9.0
272
272
  * @name jQuery.sap.util.UriParameters
273
273
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @param {string} [sIdPrefix] Prefix used for the Ids. If not set a default prefix is used.
38
38
  * @returns {jQuery.sap.storage.Storage}
39
39
  *
40
- * @version 1.108.0
40
+ * @version 1.109.0
41
41
  * @since 0.11.0
42
42
  * @namespace
43
43
  * @public
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * should be deleted the method {@link #removeAll} should be used.
98
98
  *
99
99
  * @author SAP SE
100
- * @version 1.108.0
100
+ * @version 1.109.0
101
101
  * @since 0.11.0
102
102
  * @public
103
103
  * @name jQuery.sap.storage.Storage
@@ -201,7 +201,7 @@ sap.ui.define([
201
201
  * Enumeration of the storage types supported by {@link jQuery.sap.storage.Storage}
202
202
  * @enum {string}
203
203
  * @public
204
- * @version 1.108.0
204
+ * @version 1.109.0
205
205
  * @since 0.11.0
206
206
  */
207
207
  jQuery.sap.storage.Type = Storage.Type;
@@ -97,12 +97,10 @@ sap.ui.define(["sap/base/util/now"], function(now) {
97
97
  ALL : (5 + 1)
98
98
  };
99
99
 
100
- var sDefaultComponent,
101
-
102
100
  /**
103
101
  * The array that holds the log entries that have been recorded so far
104
102
  */
105
- aLog = [],
103
+ var aLog = [],
106
104
 
107
105
  /**
108
106
  * Maximum log level to be recorded (per component).
@@ -201,107 +199,144 @@ sap.ui.define(["sap/base/util/now"], function(now) {
201
199
 
202
200
  /**
203
201
  * Creates a new fatal-level entry in the log with the given message, details and calling component.
204
- * @param {string} sMessage Message text to display
205
- * @param {string} [sDetails=''] Details about the message, might be omitted
206
- * @param {string} [sComponent=''] Name of the component that produced the log entry
207
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
208
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
209
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
210
- * immutable JSON object with mostly static and stable content.
202
+ *
203
+ * @param {string} sMessage
204
+ * Message text to display
205
+ * @param {string|Error} [vDetails='']
206
+ * Optional details about the message, might be omitted. Can be an Error object which will be
207
+ * logged together with its stacktrace.
208
+ * @param {string} [sComponent='']
209
+ * Name of the component that produced the log entry
210
+ * @param {function} [fnSupportInfo]
211
+ * Callback that returns an additional support object to be logged in support mode.
212
+ * This function is only called if support info mode is turned on with
213
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
214
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
215
+ * static and stable content.
211
216
  * @public
212
217
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
213
218
  */
214
- Log.fatal = function(sMessage, sDetails, sComponent, fnSupportInfo) {
215
- log(Log.Level.FATAL, sMessage, sDetails, sComponent, fnSupportInfo);
219
+ Log.fatal = function(sMessage, vDetails, sComponent, fnSupportInfo) {
220
+ log(Log.Level.FATAL, sMessage, vDetails, sComponent, fnSupportInfo);
216
221
  };
217
222
 
218
223
  /**
219
224
  * Creates a new error-level entry in the log with the given message, details and calling component.
220
225
  *
221
- * @param {string} sMessage Message text to display
222
- * @param {string} [sDetails=''] Details about the message, might be omitted
223
- * @param {string} [sComponent=''] Name of the component that produced the log entry
224
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
225
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
226
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
227
- * immutable JSON object with mostly static and stable content.
226
+ * @param {string} sMessage
227
+ * Message text to display
228
+ * @param {string|Error} [vDetails='']
229
+ * Optional details about the message, might be omitted. Can be an Error object which will be
230
+ * logged together with its stacktrace.
231
+ * @param {string} [sComponent='']
232
+ * Name of the component that produced the log entry
233
+ * @param {function} [fnSupportInfo]
234
+ * Callback that returns an additional support object to be logged in support mode.
235
+ * This function is only called if support info mode is turned on with
236
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
237
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
238
+ * static and stable content.
228
239
  * @public
229
240
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
230
241
  */
231
- Log.error = function(sMessage, sDetails, sComponent, fnSupportInfo) {
232
- log(Log.Level.ERROR, sMessage, sDetails, sComponent, fnSupportInfo);
242
+ Log.error = function(sMessage, vDetails, sComponent, fnSupportInfo) {
243
+ log(Log.Level.ERROR, sMessage, vDetails, sComponent, fnSupportInfo);
233
244
  };
234
245
 
235
246
  /**
236
247
  * Creates a new warning-level entry in the log with the given message, details and calling component.
237
248
  *
238
- * @param {string} sMessage Message text to display
239
- * @param {string} [sDetails=''] Details about the message, might be omitted
240
- * @param {string} [sComponent=''] Name of the component that produced the log entry
241
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
242
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
243
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
244
- * immutable JSON object with mostly static and stable content.
249
+ * @param {string} sMessage
250
+ * Message text to display
251
+ * @param {string|Error} [vDetails='']
252
+ * Optional details about the message, might be omitted. Can be an Error object which will be
253
+ * logged together with its stacktrace.
254
+ * @param {string} [sComponent='']
255
+ * Name of the component that produced the log entry
256
+ * @param {function} [fnSupportInfo]
257
+ * Callback that returns an additional support object to be logged in support mode.
258
+ * This function is only called if support info mode is turned on with
259
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
260
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
261
+ * static and stable content.
245
262
  * @public
246
263
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
247
264
  */
248
- Log.warning = function(sMessage, sDetails, sComponent, fnSupportInfo) {
249
- log(Log.Level.WARNING, sMessage, sDetails, sComponent, fnSupportInfo);
265
+ Log.warning = function(sMessage, vDetails, sComponent, fnSupportInfo) {
266
+ log(Log.Level.WARNING, sMessage, vDetails, sComponent, fnSupportInfo);
250
267
  };
251
268
 
252
269
  /**
253
270
  * Creates a new info-level entry in the log with the given message, details and calling component.
254
271
  *
255
- * @param {string} sMessage Message text to display
256
- * @param {string} [sDetails=''] Details about the message, might be omitted
257
- * @param {string} [sComponent=''] Name of the component that produced the log entry
258
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
259
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
260
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
261
- * immutable JSON object with mostly static and stable content.
272
+ * @param {string} sMessage
273
+ * Message text to display
274
+ * @param {string|Error} [vDetails='']
275
+ * Optional details about the message, might be omitted. Can be an Error object which will be
276
+ * logged with the stack.
277
+ * @param {string} [sComponent='']
278
+ * Name of the component that produced the log entry
279
+ * @param {function} [fnSupportInfo]
280
+ * Callback that returns an additional support object to be logged in support mode.
281
+ * This function is only called if support info mode is turned on with
282
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
283
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
284
+ * static and stable content.
262
285
  * @public
263
286
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
264
287
  */
265
- Log.info = function(sMessage, sDetails, sComponent, fnSupportInfo) {
266
- log(Log.Level.INFO, sMessage, sDetails, sComponent, fnSupportInfo);
288
+ Log.info = function(sMessage, vDetails, sComponent, fnSupportInfo) {
289
+ log(Log.Level.INFO, sMessage, vDetails, sComponent, fnSupportInfo);
267
290
  };
268
291
 
269
292
  /**
270
293
  * Creates a new debug-level entry in the log with the given message, details and calling component.
271
294
  *
272
- * @param {string} sMessage Message text to display
273
- * @param {string} [sDetails=''] Details about the message, might be omitted
274
- * @param {string} [sComponent=''] Name of the component that produced the log entry
275
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
276
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
277
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
278
- * immutable JSON object with mostly static and stable content.
295
+ * @param {string} sMessage
296
+ * Message text to display
297
+ * @param {string|Error} [vDetails='']
298
+ * Optional details about the message, might be omitted. Can be an Error object which will be
299
+ * logged with the stack.
300
+ * @param {string} [sComponent='']
301
+ * Name of the component that produced the log entry
302
+ * @param {function} [fnSupportInfo]
303
+ * Callback that returns an additional support object to be logged in support mode.
304
+ * This function is only called if support info mode is turned on with
305
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
306
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
307
+ * static and stable content.
279
308
  * @public
280
309
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
281
310
  */
282
- Log.debug = function(sMessage, sDetails, sComponent, fnSupportInfo) {
283
- log(Log.Level.DEBUG, sMessage, sDetails, sComponent, fnSupportInfo);
311
+ Log.debug = function(sMessage, vDetails, sComponent, fnSupportInfo) {
312
+ log(Log.Level.DEBUG, sMessage, vDetails, sComponent, fnSupportInfo);
284
313
  };
285
314
 
286
315
  /**
287
316
  * Creates a new trace-level entry in the log with the given message, details and calling component.
288
317
  *
289
- * @param {string} sMessage Message text to display
290
- * @param {string} [sDetails=''] Details about the message, might be omitted
291
- * @param {string} [sComponent=''] Name of the component that produced the log entry
292
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
293
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
294
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
295
- * immutable JSON object with mostly static and stable content.
318
+ * @param {string} sMessage
319
+ * Message text to display
320
+ * @param {string|Error} [vDetails='']
321
+ * Optional details about the message, might be omitted. Can be an Error object which will be
322
+ * logged with the stack.
323
+ * @param {string} [sComponent='']
324
+ * Name of the component that produced the log entry
325
+ * @param {function} [fnSupportInfo]
326
+ * Callback that returns an additional support object to be logged in support mode.
327
+ * This function is only called if support info mode is turned on with
328
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
329
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
330
+ * static and stable content.
296
331
  * @public
297
332
  * @SecSink {0 1 2|SECRET} Could expose secret data in logs
298
333
  */
299
- Log.trace = function(sMessage, sDetails, sComponent, fnSupportInfo) {
300
- log(Log.Level.TRACE, sMessage, sDetails, sComponent, fnSupportInfo);
334
+ Log.trace = function(sMessage, vDetails, sComponent, fnSupportInfo) {
335
+ log(Log.Level.TRACE, sMessage, vDetails, sComponent, fnSupportInfo);
301
336
  };
302
337
 
303
338
  /**
304
- * Defines the maximum <code>sap.base.log.Level</code> of log entries that will be recorded.
339
+ * Defines the maximum <code>sap/base/Log.Level</code> of log entries that will be recorded.
305
340
  * Log entries with a higher (less important) log level will be omitted from the log.
306
341
  * When a component name is given, the log level will be configured for that component
307
342
  * only, otherwise the log level for the default component of this logger is set.
@@ -315,7 +350,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
315
350
  * @public
316
351
  */
317
352
  Log.setLevel = function(iLogLevel, sComponent, _bDefault) {
318
- sComponent = sComponent || sDefaultComponent || '';
353
+ sComponent = sComponent || '';
319
354
  if (!_bDefault || mMaxLevel[sComponent] == null) {
320
355
  mMaxLevel[sComponent] = iLogLevel;
321
356
  var sLogLevel;
@@ -338,7 +373,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
338
373
  * @public
339
374
  */
340
375
  Log.getLevel = function(sComponent) {
341
- return level(sComponent || sDefaultComponent);
376
+ return level(sComponent);
342
377
  };
343
378
 
344
379
  /**
@@ -353,7 +388,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
353
388
  * @public
354
389
  */
355
390
  Log.isLoggable = function(iLevel, sComponent) {
356
- return (iLevel == null ? Log.Level.DEBUG : iLevel) <= level(sComponent || sDefaultComponent);
391
+ return (iLevel == null ? Log.Level.DEBUG : iLevel) <= level(sComponent);
357
392
  };
358
393
 
359
394
  /**
@@ -376,32 +411,38 @@ sap.ui.define(["sap/base/util/now"], function(now) {
376
411
  * (or higher than the global level, if no component is given),
377
412
  * then no entry is created and <code>undefined</code> is returned.
378
413
  *
379
- * If an <code>Error</code> is passed via <code>sDetails</code> the stack
414
+ * If an <code>Error</code> is passed via <code>vDetails</code> the stack
380
415
  * of the <code>Error</code> will be logged as a separate parameter in
381
416
  * the proper <code>console</code> function for the matching log level.
382
417
  *
383
- * @param {module:sap/base/Log.Level} iLevel One of the log levels FATAL, ERROR, WARNING, INFO, DEBUG, TRACE
384
- * @param {string} sMessage The message to be logged
385
- * @param {string|Error} [sDetails] The optional details for the message; could be an Error which will be logged with the stack to easily find the root cause of the Error
386
- * @param {string} [sComponent] The log component under which the message should be logged
387
- * @param {function} [fnSupportInfo] Callback that returns an additional support object to be logged in support mode.
388
- * This function is only called if support info mode is turned on with <code>logSupportInfo(true)</code>.
389
- * To avoid negative effects regarding execution times and memory consumption, the returned object should be a simple
390
- * immutable JSON object with mostly static and stable content.
391
- * @returns {object} The log entry as an object or <code>undefined</code> if no entry was created
418
+ * @param {module:sap/base/Log.Level} iLevel
419
+ * One of the log levels FATAL, ERROR, WARNING, INFO, DEBUG, TRACE
420
+ * @param {string} sMessage
421
+ * The message to be logged
422
+ * @param {string|Error} [vDetails]
423
+ * The optional details for the message; could be an Error which will be logged with the
424
+ * stacktrace, to easily find the root cause of the Error
425
+ * @param {string} [sComponent]
426
+ * The log component under which the message should be logged
427
+ * @param {function} [fnSupportInfo] Callback that returns an additional support object to be
428
+ * logged in support mode. This function is only called if support info mode is turned on with
429
+ * <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
430
+ * memory consumption, the returned object should be a simple immutable JSON object with mostly
431
+ * static and stable content.
432
+ * @returns {object}
433
+ * The log entry as an object or <code>undefined</code> if no entry was created
392
434
  * @private
393
435
  */
394
- function log(iLevel, sMessage, sDetails, sComponent, fnSupportInfo) {
395
- if (!fnSupportInfo && !sComponent && typeof sDetails === "function") {
396
- fnSupportInfo = sDetails;
397
- sDetails = "";
436
+ function log(iLevel, sMessage, vDetails, sComponent, fnSupportInfo) {
437
+ if (!fnSupportInfo && !sComponent && typeof vDetails === "function") {
438
+ fnSupportInfo = vDetails;
439
+ vDetails = "";
398
440
  }
399
441
  if (!fnSupportInfo && typeof sComponent === "function") {
400
442
  fnSupportInfo = sComponent;
401
443
  sComponent = "";
402
444
  }
403
445
 
404
- sComponent = sComponent || sDefaultComponent;
405
446
  if (iLevel <= level(sComponent) ) {
406
447
  var fNow = now(),
407
448
  oNow = new Date(fNow),
@@ -412,7 +453,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
412
453
  timestamp: fNow,
413
454
  level : iLevel,
414
455
  message : String(sMessage || ""),
415
- details : String(sDetails || ""),
456
+ details : String(vDetails || ""),
416
457
  component: String(sComponent || "")
417
458
  };
418
459
  if (bLogSupportInfo && typeof fnSupportInfo === "function") {
@@ -445,24 +486,24 @@ sap.ui.define(["sap/base/util/now"], function(now) {
445
486
  */
446
487
  /*eslint-disable no-console */
447
488
  if (console) { // in Firefox, console might not exist or it might even disappear
448
- var isDetailsError = sDetails instanceof Error,
489
+ var isDetailsError = vDetails instanceof Error,
449
490
  logText = oLogEntry.date + " " + oLogEntry.time + " " + oLogEntry.message + " - " + oLogEntry.details + " " + oLogEntry.component;
450
491
  switch (iLevel) {
451
492
  case Log.Level.FATAL:
452
- case Log.Level.ERROR: isDetailsError ? console.error(logText, "\n", sDetails) : console.error(logText); break;
453
- case Log.Level.WARNING: isDetailsError ? console.warn(logText, "\n", sDetails) : console.warn(logText); break;
493
+ case Log.Level.ERROR: isDetailsError ? console.error(logText, "\n", vDetails) : console.error(logText); break;
494
+ case Log.Level.WARNING: isDetailsError ? console.warn(logText, "\n", vDetails) : console.warn(logText); break;
454
495
  case Log.Level.INFO:
455
496
  if (console.info) { // info not available in iOS simulator
456
- isDetailsError ? console.info(logText, "\n", sDetails) : console.info(logText);
497
+ isDetailsError ? console.info(logText, "\n", vDetails) : console.info(logText);
457
498
  } else {
458
- isDetailsError ? console.log(logText, "\n", sDetails) : console.log(logText);
499
+ isDetailsError ? console.log(logText, "\n", vDetails) : console.log(logText);
459
500
  }
460
501
  break;
461
502
  case Log.Level.DEBUG:
462
- isDetailsError ? console.debug(logText, "\n", sDetails) : console.debug(logText);
503
+ isDetailsError ? console.debug(logText, "\n", vDetails) : console.debug(logText);
463
504
  break;
464
505
  case Log.Level.TRACE:
465
- isDetailsError ? console.trace(logText, "\n", sDetails) : console.trace(logText);
506
+ isDetailsError ? console.trace(logText, "\n", vDetails) : console.trace(logText);
466
507
  break;
467
508
  }
468
509
  if (console.info && oLogEntry.supportInfo) {
@@ -334,20 +334,42 @@ sap.ui.define([
334
334
  * Returns a locale-specific string value for the given key sKey.
335
335
  *
336
336
  * The text is searched in this resource bundle according to the fallback chain described in
337
- * {@link module:sap/base/i18n/ResourceBundle}. If no text could be found, the key itself is used as text.
337
+ * {@link module:sap/base/i18n/ResourceBundle}. If no text could be found, the key itself is used
338
+ * as text.
339
+ *
340
+ *
341
+ * <h3>Placeholders</h3>
342
+ *
343
+ * A text can contain placeholders that will be replaced with concrete values when
344
+ * <code>getText</code> is called. The replacement is triggered by the <code>aArgs</code> parameter.
345
+ *
346
+ * Whenever this parameter is given, then the text and the arguments are additionally run through
347
+ * the {@link module:sap/base/strings/formatMessage} API to replace placeholders in the text with
348
+ * the corresponding values from the arguments array. The resulting string is returned by
349
+ * <code>getText</code>.
350
+ *
351
+ * As the <code>formatMessage</code> API imposes some requirements on the input text (regarding
352
+ * curly braces and single apostrophes), text authors need to be aware of the specifics of the
353
+ * <code>formatMessage</code> API. Callers of <code>getText</code>, on the other side, should only
354
+ * supply <code>aArgs</code> when the text has been created with the <code>formatMessage</code> API
355
+ * in mind. Otherwise, single apostrophes in the text might be removed unintentionally.
356
+ *
357
+ * When <code>getText</code> is called without <code>aArgs</code>, the <code>formatMessage</code>
358
+ * API is not applied and the transformation reg. placeholders and apostrophes does not happen.
338
359
  *
339
- * If the second parameter <code>aArgs</code> is given, then any placeholder of the form "{<i>n</i>}"
340
- * (with <i>n</i> being an integer) is replaced by the corresponding value from <code>aArgs</code>
341
- * with index <i>n</i>. Note: This replacement is applied to the key if no text could be found.
342
360
  * For more details on the replacement mechanism refer to {@link module:sap/base/strings/formatMessage}.
343
361
  *
344
362
  * @param {string} sKey Key to retrieve the text for
345
363
  * @param {any[]} [aArgs] List of parameter values which should replace the placeholders "{<i>n</i>}"
346
- * (<i>n</i> is the index) in the found locale-specific string value. Note that the replacement is done
347
- * whenever <code>aArgs</code> is given, no matter whether the text contains placeholders or not
348
- * and no matter whether <code>aArgs</code> contains a value for <i>n</i> or not.
349
- * @param {boolean} [bIgnoreKeyFallback=false] If set, <code>undefined</code> is returned instead of the key string, when the key is not found in any bundle or fallback bundle.
350
- * @returns {string|undefined} The value belonging to the key, if found; otherwise the key itself or <code>undefined</code> depending on <code>bIgnoreKeyFallback</code>.
364
+ * (<i>n</i> is the index) in the found locale-specific string value. Note that the replacement
365
+ * is done whenever <code>aArgs</code> is given, no matter whether the text contains placeholders
366
+ * or not and no matter whether <code>aArgs</code> contains a value for <i>n</i> or not.
367
+ * @param {boolean} [bIgnoreKeyFallback=false]
368
+ * If set, <code>undefined</code> is returned instead of the key string, when the key is not found
369
+ * in any bundle or fallback bundle.
370
+ * @returns {string|undefined}
371
+ * The value belonging to the key, if found; otherwise the key itself or <code>undefined</code>
372
+ * depending on <code>bIgnoreKeyFallback</code>.
351
373
  *
352
374
  * @public
353
375
  */
@@ -929,12 +951,20 @@ sap.ui.define([
929
951
  };
930
952
 
931
953
  /**
932
- * Hook called by sap.ui.core.Core to enrich bundle config with terminologies
954
+ * Hook implemented by sap.ui.core.Core. to enrich bundle config with terminologies.
955
+ * See also the documentation of the hook's implementation in Core.js.
933
956
  *
957
+ * @see sap.ui.core.Core.getLibraryResourceBundle
958
+ *
959
+ * @params {object} the ResourceBundle.create bundle config
934
960
  * @private
935
961
  * @ui5-restricted sap.ui.core.Core
936
962
  */
937
- ResourceBundle._enrichBundleConfig = function() {};
963
+ ResourceBundle._enrichBundleConfig = function(mParams) {
964
+ // Note: the ResourceBundle is a base module, which might be used standalone without the Core,
965
+ // so the bundle config must remain untouched
966
+ return mParams;
967
+ };
938
968
 
939
969
  // ---- handling of supported locales and fallback chain ------------------------------------------
940
970
 
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @param {int} [iFromIndex=0] - optional start index, negative start index will start from the end
50
50
  * @returns {boolean} - true if value is in the collection, false otherwise
51
51
  * @public
52
- * @deprecated as of version 1.90. Use the <code>Array.includes</code> or <code>String.includes</code> instead.
52
+ * @deprecated as of version 1.90. Use the <code>Array.prototype.includes</code> or <code>String.prototype.includes</code> instead, but note that <code>Array.prototype.includes</code> or <code>String.prototype.includes</code> fail when called on null values.
53
53
  */
54
54
  var fnIncludes = function (vCollection, vValue, iFromIndex) {
55
55
  if (typeof iFromIndex !== 'number') {
@@ -26,7 +26,7 @@
26
26
  * @alias module:sap/base/util/restricted/_CancelablePromise
27
27
  * @author SAP SE
28
28
  * @since 1.79
29
- * @version 1.108.0
29
+ * @version 1.109.0
30
30
  * @private
31
31
  * @ui5-restricted
32
32
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_castArray
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_compact
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_curry
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_debounce
11
11
  * @author SAP SE
12
12
  * @since 1.71
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_difference
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_differenceBy
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_differenceWith
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_flatMap
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_flatMapDeep
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_flatMapDepth
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_flatten
11
11
  * @author SAP SE
12
12
  * @since 1.80
13
- * @version 1.108.0
13
+ * @version 1.109.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */