@openui5/sap.ui.core 1.138.0 → 1.139.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 (313) hide show
  1. package/README.md +1 -1
  2. package/REUSE.toml +8 -1
  3. package/THIRDPARTY.txt +73 -67
  4. package/package.json +2 -2
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.properties.js +1 -1
  7. package/src/jquery.sap.resources.js +1 -1
  8. package/src/jquery.sap.script.js +1 -1
  9. package/src/jquery.sap.storage.js +3 -3
  10. package/src/sap/base/Event.js +1 -1
  11. package/src/sap/base/Eventing.js +1 -1
  12. package/src/sap/base/config.js +22 -1
  13. package/src/sap/base/i18n/LanguageFallback.js +18 -2
  14. package/src/sap/base/i18n/LanguageTag.js +11 -5
  15. package/src/sap/base/i18n/Localization.js +36 -9
  16. package/src/sap/base/i18n/ResourceBundle.js +59 -35
  17. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  18. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  19. package/src/sap/base/util/restricted/_castArray.js +1 -1
  20. package/src/sap/base/util/restricted/_compact.js +1 -1
  21. package/src/sap/base/util/restricted/_curry.js +1 -1
  22. package/src/sap/base/util/restricted/_debounce.js +1 -1
  23. package/src/sap/base/util/restricted/_difference.js +1 -1
  24. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  25. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_flatten.js +1 -1
  30. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  31. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  32. package/src/sap/base/util/restricted/_intersection.js +1 -1
  33. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  34. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  36. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  37. package/src/sap/base/util/restricted/_isNil.js +1 -1
  38. package/src/sap/base/util/restricted/_max.js +1 -1
  39. package/src/sap/base/util/restricted/_merge.js +1 -1
  40. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  41. package/src/sap/base/util/restricted/_min.js +1 -1
  42. package/src/sap/base/util/restricted/_omit.js +1 -1
  43. package/src/sap/base/util/restricted/_pick.js +1 -1
  44. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  45. package/src/sap/base/util/restricted/_throttle.js +1 -1
  46. package/src/sap/base/util/restricted/_toArray.js +1 -1
  47. package/src/sap/base/util/restricted/_union.js +1 -1
  48. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  49. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  50. package/src/sap/base/util/restricted/_uniq.js +1 -1
  51. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  52. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  53. package/src/sap/base/util/restricted/_without.js +1 -1
  54. package/src/sap/base/util/restricted/_xor.js +1 -1
  55. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  56. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  57. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  58. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  59. package/src/sap/ui/Device.js +3 -3
  60. package/src/sap/ui/Global.js +3 -3
  61. package/src/sap/ui/base/BindingInfo.js +6 -1
  62. package/src/sap/ui/base/DataType.js +27 -2
  63. package/src/sap/ui/base/Event.js +1 -1
  64. package/src/sap/ui/base/EventProvider.js +1 -1
  65. package/src/sap/ui/base/Interface.js +1 -1
  66. package/src/sap/ui/base/ManagedObject.js +49 -12
  67. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  68. package/src/sap/ui/base/Metadata.js +1 -1
  69. package/src/sap/ui/base/Object.js +1 -1
  70. package/src/sap/ui/base/ObjectPool.js +1 -1
  71. package/src/sap/ui/base/OwnStatics.js +49 -0
  72. package/src/sap/ui/core/.library +7 -2
  73. package/src/sap/ui/core/BlockLayerUtils.js +2 -2
  74. package/src/sap/ui/core/BusyIndicator.js +1 -1
  75. package/src/sap/ui/core/Component.js +11 -9
  76. package/src/sap/ui/core/ComponentContainer.js +13 -3
  77. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  78. package/src/sap/ui/core/ComponentSupport.js +1 -1
  79. package/src/sap/ui/core/Configuration.js +1 -1
  80. package/src/sap/ui/core/Control.js +1 -1
  81. package/src/sap/ui/core/Core.js +2 -2
  82. package/src/sap/ui/core/CustomData.js +1 -1
  83. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  84. package/src/sap/ui/core/Element.js +10 -4
  85. package/src/sap/ui/core/ElementMetadata.js +1 -1
  86. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  87. package/src/sap/ui/core/EventBus.js +1 -1
  88. package/src/sap/ui/core/Fragment.js +10 -8
  89. package/src/sap/ui/core/HTML.js +1 -1
  90. package/src/sap/ui/core/History.js +1 -1
  91. package/src/sap/ui/core/Icon.js +1 -1
  92. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  93. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  94. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  95. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  96. package/src/sap/ui/core/InvisibleText.js +1 -1
  97. package/src/sap/ui/core/Item.js +1 -1
  98. package/src/sap/ui/core/LabelEnablement.js +1 -1
  99. package/src/sap/ui/core/LayoutData.js +1 -1
  100. package/src/sap/ui/core/Lib.js +39 -24
  101. package/src/sap/ui/core/ListItem.js +1 -1
  102. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  103. package/src/sap/ui/core/Locale.js +1 -1
  104. package/src/sap/ui/core/LocaleData.js +7 -4
  105. package/src/sap/ui/core/Manifest.js +1 -1
  106. package/src/sap/ui/core/Message.js +1 -1
  107. package/src/sap/ui/core/Popup.js +9 -2
  108. package/src/sap/ui/core/RenderManager.js +1 -1
  109. package/src/sap/ui/core/Renderer.js +1 -1
  110. package/src/sap/ui/core/ResizeHandler.js +1 -1
  111. package/src/sap/ui/core/ScrollBar.js +1 -1
  112. package/src/sap/ui/core/SeparatorItem.js +1 -1
  113. package/src/sap/ui/core/Title.js +1 -1
  114. package/src/sap/ui/core/TooltipBase.js +1 -1
  115. package/src/sap/ui/core/UIArea.js +1 -1
  116. package/src/sap/ui/core/UIComponent.js +6 -2
  117. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  118. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  119. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  120. package/src/sap/ui/core/XMLComposite.js +1 -1
  121. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  122. package/src/sap/ui/core/date/UI5Date.js +1 -1
  123. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  124. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  125. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  126. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  127. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  128. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  129. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  130. package/src/sap/ui/core/format/NumberFormat.js +43 -19
  131. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  132. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  133. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  134. package/src/sap/ui/core/i18n/interaction_ar.xml +1 -1
  135. package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +84 -38
  136. package/src/sap/ui/core/library.js +3 -3
  137. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  138. package/src/sap/ui/core/message/Message.js +1 -1
  139. package/src/sap/ui/core/message/MessageManager.js +1 -1
  140. package/src/sap/ui/core/message/MessageParser.js +1 -1
  141. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  142. package/src/sap/ui/core/messagebundle.properties +58 -28
  143. package/src/sap/ui/core/messagebundle_cnr.properties +8 -8
  144. package/src/sap/ui/core/messagebundle_cy.properties +6 -6
  145. package/src/sap/ui/core/messagebundle_fi.properties +2 -2
  146. package/src/sap/ui/core/messagebundle_hi.properties +4 -4
  147. package/src/sap/ui/core/messagebundle_kk.properties +7 -7
  148. package/src/sap/ui/core/messagebundle_ko.properties +8 -8
  149. package/src/sap/ui/core/messagebundle_lv.properties +4 -4
  150. package/src/sap/ui/core/messagebundle_mk.properties +8 -8
  151. package/src/sap/ui/core/messagebundle_ms.properties +8 -8
  152. package/src/sap/ui/core/messagebundle_nl.properties +2 -2
  153. package/src/sap/ui/core/messagebundle_ro.properties +4 -4
  154. package/src/sap/ui/core/messagebundle_ru.properties +2 -2
  155. package/src/sap/ui/core/messagebundle_sh.properties +8 -8
  156. package/src/sap/ui/core/messagebundle_sk.properties +1 -1
  157. package/src/sap/ui/core/messagebundle_sl.properties +2 -2
  158. package/src/sap/ui/core/messagebundle_sr.properties +8 -8
  159. package/src/sap/ui/core/messagebundle_vi.properties +8 -8
  160. package/src/sap/ui/core/messagebundle_zh_TW.properties +8 -8
  161. package/src/sap/ui/core/mvc/Controller.js +5 -3
  162. package/src/sap/ui/core/mvc/HTMLView.js +6 -2
  163. package/src/sap/ui/core/mvc/JSONView.js +6 -2
  164. package/src/sap/ui/core/mvc/JSView.js +6 -3
  165. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  166. package/src/sap/ui/core/mvc/View.js +63 -20
  167. package/src/sap/ui/core/mvc/XMLView.js +6 -2
  168. package/src/sap/ui/core/mvc/_ViewFactory.js +8 -4
  169. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  170. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  171. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  172. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  173. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  174. package/src/sap/ui/core/routing/History.js +1 -0
  175. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  176. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  177. package/src/sap/ui/core/service/Service.js +1 -1
  178. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  179. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  180. package/src/sap/ui/core/support/Plugin.js +1 -1
  181. package/src/sap/ui/core/support/Support.js +1 -1
  182. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  183. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  184. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  185. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  186. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  187. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  188. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  189. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  190. package/src/sap/ui/core/themes/base/base.less +20 -20
  191. package/src/sap/ui/core/themes/base/skeleton.less +3 -3
  192. package/src/sap/ui/core/theming/ThemeManager.js +7 -3
  193. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  194. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  195. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  196. package/src/sap/ui/core/tmpl/Template.js +1 -1
  197. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  198. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  199. package/src/sap/ui/core/util/Export.js +1 -1
  200. package/src/sap/ui/core/util/ExportCell.js +1 -1
  201. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  202. package/src/sap/ui/core/util/ExportRow.js +1 -1
  203. package/src/sap/ui/core/util/ExportType.js +1 -1
  204. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  205. package/src/sap/ui/core/util/File.js +1 -1
  206. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  207. package/src/sap/ui/core/util/MockServer.js +1 -1
  208. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  209. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  210. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  211. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  212. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  213. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  214. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  215. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  216. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  217. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  218. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  219. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  220. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  221. package/src/sap/ui/debug/ControlTree.js +1 -1
  222. package/src/sap/ui/debug/DebugEnv.js +1 -1
  223. package/src/sap/ui/debug/PropertyList.js +1 -1
  224. package/src/sap/ui/dom/findTabbable.js +1 -1
  225. package/src/sap/ui/model/ClientModel.js +2 -2
  226. package/src/sap/ui/model/CompositeDataState.js +1 -1
  227. package/src/sap/ui/model/CompositeType.js +1 -1
  228. package/src/sap/ui/model/DataState.js +1 -1
  229. package/src/sap/ui/model/Filter.js +55 -35
  230. package/src/sap/ui/model/FilterOperator.js +79 -9
  231. package/src/sap/ui/model/MetaModel.js +1 -1
  232. package/src/sap/ui/model/Model.js +1 -1
  233. package/src/sap/ui/model/SelectionModel.js +1 -1
  234. package/src/sap/ui/model/SimpleType.js +1 -1
  235. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  236. package/src/sap/ui/model/Type.js +1 -1
  237. package/src/sap/ui/model/json/JSONModel.js +1 -1
  238. package/src/sap/ui/model/json/JSONPropertyBinding.js +14 -2
  239. package/src/sap/ui/model/message/MessageModel.js +1 -1
  240. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  241. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  242. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  243. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  244. package/src/sap/ui/model/odata/ODataModel.js +3 -3
  245. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  246. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  247. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  248. package/src/sap/ui/model/odata/type/Date.js +1 -1
  249. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  250. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  251. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  252. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  253. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  254. package/src/sap/ui/model/odata/type/Double.js +1 -1
  255. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  256. package/src/sap/ui/model/odata/type/Int.js +1 -1
  257. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  258. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  259. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  260. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  261. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  262. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  263. package/src/sap/ui/model/odata/type/Single.js +1 -1
  264. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  265. package/src/sap/ui/model/odata/type/String.js +1 -1
  266. package/src/sap/ui/model/odata/type/Time.js +1 -1
  267. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  268. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  269. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  270. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +17 -11
  271. package/src/sap/ui/model/odata/v2/ODataModel.js +4 -3
  272. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +10 -2
  273. package/src/sap/ui/model/odata/v4/Context.js +19 -15
  274. package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -2
  275. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +4 -4
  276. package/src/sap/ui/model/odata/v4/ODataListBinding.js +26 -14
  277. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +4 -4
  278. package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
  279. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +2 -2
  280. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  281. package/src/sap/ui/model/odata/v4/ODataUtils.js +2 -2
  282. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +1 -1
  283. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +69 -27
  284. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +10 -7
  285. package/src/sap/ui/model/odata/v4/lib/_Cache.js +52 -60
  286. package/src/sap/ui/model/odata/v4/lib/_Helper.js +49 -31
  287. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
  288. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +19 -9
  289. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
  290. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  291. package/src/sap/ui/model/type/Boolean.js +1 -1
  292. package/src/sap/ui/model/type/Currency.js +1 -1
  293. package/src/sap/ui/model/type/Date.js +1 -1
  294. package/src/sap/ui/model/type/DateInterval.js +1 -1
  295. package/src/sap/ui/model/type/DateTime.js +1 -1
  296. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  297. package/src/sap/ui/model/type/FileSize.js +1 -1
  298. package/src/sap/ui/model/type/Float.js +1 -1
  299. package/src/sap/ui/model/type/Integer.js +1 -1
  300. package/src/sap/ui/model/type/String.js +1 -1
  301. package/src/sap/ui/model/type/Time.js +1 -1
  302. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  303. package/src/sap/ui/model/type/Unit.js +1 -1
  304. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  305. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  306. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  307. package/src/sap/ui/test/generic/GenericTestCollection.js +11 -1
  308. package/src/sap/ui/test/generic/TestBase.js +1 -1
  309. package/src/sap/ui/thirdparty/jquery.js +1 -1
  310. package/src/sap/ui/util/Storage.js +1 -1
  311. package/src/ui5loader-autoconfig.js +49 -42
  312. package/src/ui5loader.js +1 -1
  313. package/src/sap/ui/base/_runWithOwner.js +0 -43
@@ -16,8 +16,8 @@ sap.ui.define([
16
16
  'sap/base/util/extend',
17
17
  'sap/base/util/deepExtend',
18
18
  'sap/base/util/merge',
19
- 'sap/ui/base/_runWithOwner',
20
19
  'sap/ui/base/ManagedObject',
20
+ 'sap/ui/base/OwnStatics',
21
21
  'sap/ui/core/Lib',
22
22
  'sap/ui/core/ResizeHandler',
23
23
  'sap/ui/thirdparty/URI',
@@ -46,8 +46,8 @@ sap.ui.define([
46
46
  extend,
47
47
  deepExtend,
48
48
  merge,
49
- _runWithOwner,
50
49
  ManagedObject,
50
+ OwnStatics,
51
51
  Library,
52
52
  ResizeHandler,
53
53
  URI,
@@ -70,6 +70,8 @@ sap.ui.define([
70
70
 
71
71
  /* global Promise */
72
72
 
73
+ const { runWithOwner, getCurrentOwnerId } = OwnStatics.get(ManagedObject);
74
+
73
75
  var ServiceStartupOptions = {
74
76
  lazy: "lazy",
75
77
  eager: "eager",
@@ -290,7 +292,7 @@ sap.ui.define([
290
292
  * @extends sap.ui.base.ManagedObject
291
293
  * @abstract
292
294
  * @author SAP SE
293
- * @version 1.138.0
295
+ * @version 1.139.1
294
296
  * @alias sap.ui.core.Component
295
297
  * @since 1.9.2
296
298
  */
@@ -835,7 +837,7 @@ sap.ui.define([
835
837
  throw new Error("Execute 'runAsOwner' on an inactive owner component is not supported. Component: '" +
836
838
  this.getMetadata().getName() + "' with id '" + this.getId() + "'.");
837
839
  }
838
- return _runWithOwner(fn, this.getId());
840
+ return runWithOwner(fn, this.getId());
839
841
  };
840
842
 
841
843
  // ---- ----
@@ -2211,10 +2213,10 @@ sap.ui.define([
2211
2213
  model: oModel,
2212
2214
  modelId: sModelName
2213
2215
  };
2214
- const oOwnerComponent = Component.getComponentById(_runWithOwner.getCurrentOwnerId());
2216
+ const oOwnerComponent = Component.getComponentById(getCurrentOwnerId());
2215
2217
  if (oOwnerComponent) {
2216
2218
  oInfo.owner = {
2217
- id: _runWithOwner.getCurrentOwnerId(),
2219
+ id: getCurrentOwnerId(),
2218
2220
  config: oOwnerComponent._componentConfig
2219
2221
  };
2220
2222
  }
@@ -2619,7 +2621,7 @@ sap.ui.define([
2619
2621
  * Part of the old sap.ui.component implementation than can be re-used by the new factory
2620
2622
  */
2621
2623
  function componentFactory(vConfig, bLegacy) {
2622
- var oOwnerComponent = Component.getComponentById(_runWithOwner.getCurrentOwnerId());
2624
+ var oOwnerComponent = Component.getComponentById(getCurrentOwnerId());
2623
2625
 
2624
2626
  if (Array.isArray(vConfig.activeTerminologies) && vConfig.activeTerminologies.length &&
2625
2627
  Array.isArray(Localization.getActiveTerminologies()) && Localization.getActiveTerminologies().length) {
@@ -2731,7 +2733,7 @@ sap.ui.define([
2731
2733
  if ( vConfig.async ) {
2732
2734
  // async: instantiate component after Promise has been fulfilled with component
2733
2735
  // constructor and delegate the current owner id for the instance creation
2734
- var sCurrentOwnerId = _runWithOwner.getCurrentOwnerId();
2736
+ var sCurrentOwnerId = getCurrentOwnerId();
2735
2737
  return vClassOrPromise.then(function(oClass) {
2736
2738
  // [Compatibility]: We sequentialize the dependency loading for the inheritance chain of the component.
2737
2739
  // This keeps the order of the dependency execution stable (e.g. thirdparty script includes).
@@ -2788,7 +2790,7 @@ sap.ui.define([
2788
2790
  // load all classes in parallel
2789
2791
  await Promise.all([...aModuleLoadingPromises, pModelClassLoading]);
2790
2792
 
2791
- return _runWithOwner(function() {
2793
+ return runWithOwner(function() {
2792
2794
  return createInstance(oClass);
2793
2795
  }, sCurrentOwnerId);
2794
2796
  });
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * See also {@link module:sap/ui/core/ComponentSupport}.
61
61
  *
62
62
  * @extends sap.ui.core.Control
63
- * @version 1.138.0
63
+ * @version 1.139.1
64
64
  *
65
65
  * @public
66
66
  * @alias sap.ui.core.ComponentContainer
@@ -526,8 +526,18 @@ sap.ui.define([
526
526
  */
527
527
  ComponentContainer.prototype.propagateProperties = function (vName) {
528
528
  var oComponent = this.getComponentInstance();
529
- if (oComponent && this.getPropagateModel()) {
530
- this._propagateProperties(vName, oComponent);
529
+ if (oComponent) {
530
+ if (this.getPropagateModel()) {
531
+ this._propagateProperties(vName, oComponent);
532
+ } else if (oComponent.getParent() == null) {
533
+ const { aPropagationListeners } = this._getPropertiesToPropagate();
534
+ const oProperties = {
535
+ oModels: {},
536
+ oBindingContexts: {},
537
+ aPropagationListeners
538
+ };
539
+ this._propagateProperties(false, oComponent, oProperties, false, vName, true);
540
+ }
531
541
  }
532
542
  Control.prototype.propagateProperties.apply(this, arguments);
533
543
  };
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @public
32
32
  * @class
33
33
  * @author SAP SE
34
- * @version 1.138.0
34
+ * @version 1.139.1
35
35
  * @since 1.9.2
36
36
  * @alias sap.ui.core.ComponentMetadata
37
37
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -111,7 +111,7 @@ sap.ui.define([
111
111
  * @author SAP SE
112
112
  * @public
113
113
  * @since 1.58.0
114
- * @version 1.138.0
114
+ * @version 1.139.1
115
115
  * @namespace
116
116
  * @alias module:sap/ui/core/ComponentSupport
117
117
  */
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  ) {
42
42
  "use strict";
43
43
 
44
- var oVersion = new Version("1.138.0");
44
+ var oVersion = new Version("1.139.1");
45
45
  var oFormatSettings;
46
46
 
47
47
  // Lazy dependency to core
@@ -84,7 +84,7 @@ sap.ui.define([
84
84
  * @extends sap.ui.core.Element
85
85
  * @abstract
86
86
  * @author SAP SE
87
- * @version 1.138.0
87
+ * @version 1.139.1
88
88
  * @alias sap.ui.core.Control
89
89
  */
90
90
  var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
@@ -118,7 +118,7 @@ sap.ui.define([
118
118
  * @private
119
119
  * @ui5-restricted sap.ui.core, sap.ui.test
120
120
  */
121
- const sVersion = "1.138.0";
121
+ const sVersion = "1.139.1";
122
122
 
123
123
  /**
124
124
  * The buildinfo.
@@ -443,7 +443,7 @@ sap.ui.define([
443
443
  * @extends sap.ui.base.Object
444
444
  * @final
445
445
  * @author SAP SE
446
- * @version 1.138.0
446
+ * @version 1.139.1
447
447
  * @alias sap.ui.core.Core
448
448
  * @public
449
449
  * @hideconstructor
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.138.0
27
+ * @version 1.139.1
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.CustomData
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * @class Static class for enabling declarative UI support.
43
43
  *
44
44
  * @author Peter Muessig, Tino Butz
45
- * @version 1.138.0
45
+ * @version 1.139.1
46
46
  * @since 1.7.0
47
47
  * @public
48
48
  * @alias sap.ui.core.DeclarativeSupport
@@ -142,7 +142,7 @@ sap.ui.define([
142
142
  *
143
143
  * @extends sap.ui.base.ManagedObject
144
144
  * @author SAP SE
145
- * @version 1.138.0
145
+ * @version 1.139.1
146
146
  * @public
147
147
  * @alias sap.ui.core.Element
148
148
  */
@@ -639,8 +639,13 @@ sap.ui.define([
639
639
  oParent = oParent?.getParent();
640
640
  oParentDomRef = oParent?.getDomRef?.();
641
641
  } else {
642
- // If the lost focus element is outside the parent, look for the parent's first focusable element
643
- oFocusTarget = oParentDomRef && jQuery(oParentDomRef).firstFocusableDomRef();
642
+ // If the lost focus element is outside the parent, look for the parent's first focusable element (including the parent itself)
643
+ if (jQuery(oParentDomRef).is(":sapFocusable")) {
644
+ // If the parent is focusable, we can focus it
645
+ oFocusTarget = oParentDomRef;
646
+ } else {
647
+ oFocusTarget = oParentDomRef && jQuery(oParentDomRef).firstFocusableDomRef();
648
+ }
644
649
  break;
645
650
  }
646
651
  } while ((!oRes || oRes.startOver) && oDomRef);
@@ -1383,7 +1388,8 @@ sap.ui.define([
1383
1388
  // should not fire 'FocusFail' even when the oFocusDomRef isn't
1384
1389
  // focusable because not all controls defines the 'getFocusDomRef'
1385
1390
  // method properly
1386
- if (oDomRef && !oDomRef.contains(document.activeElement) ) {
1391
+ if ((document.activeElement?.closest(".sapUiSkipFocusFail"))
1392
+ || (oDomRef && !oDomRef.contains(document.activeElement))) {
1387
1393
  Element.fireFocusFail.call(this, FocusMode.DEFAULT);
1388
1394
  }
1389
1395
  }
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  *
38
38
  * @class
39
39
  * @author SAP SE
40
- * @version 1.138.0
40
+ * @version 1.139.1
41
41
  * @since 0.8.6
42
42
  * @alias sap.ui.core.ElementMetadata
43
43
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -43,7 +43,7 @@ sap.ui.define(["./FocusMode"], function(FocusMode) {
43
43
  *
44
44
  * @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
45
45
  * @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
46
- * @version 1.138.0
46
+ * @version 1.139.1
47
47
  * @public
48
48
  * @class
49
49
  * @alias sap.ui.core.EnabledPropagator
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @extends sap.ui.base.Object
33
33
  * @author SAP SE
34
- * @version 1.138.0
34
+ * @version 1.139.1
35
35
  * @public
36
36
  * @since 1.8.0
37
37
  * @alias sap.ui.core.EventBus
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- '../base/_runWithOwner',
9
8
  '../base/ManagedObject',
9
+ '../base/OwnStatics',
10
10
  './Element',
11
11
  './DeclarativeSupport',
12
12
  './XMLTemplateProcessor',
@@ -19,8 +19,8 @@ sap.ui.define([
19
19
  'sap/ui/core/mvc/XMLProcessingMode'
20
20
  ],
21
21
  function(
22
- _runWithOwner,
23
22
  ManagedObject,
23
+ OwnStatics,
24
24
  Element,
25
25
  DeclarativeSupport,
26
26
  XMLTemplateProcessor,
@@ -38,6 +38,8 @@ function(
38
38
  var mRegistry = {}, // the Fragment registry
39
39
  mTypes = {}; // the Fragment types registry, holding their implementations
40
40
 
41
+ const { getCurrentOwnerId, runWithPreprocessors } = OwnStatics.get(ManagedObject);
42
+
41
43
  /**
42
44
  * @classdesc Fragments support the definition of light-weight stand-alone UI control trees.
43
45
  * This class acts as factory which returns the UI control tree defined inside the Fragments. When used within declarative Views,
@@ -101,7 +103,7 @@ function(
101
103
  * @class
102
104
  * @extends sap.ui.base.ManagedObject
103
105
  * @author SAP SE
104
- * @version 1.138.0
106
+ * @version 1.139.1
105
107
  * @public
106
108
  * @alias sap.ui.core.Fragment
107
109
  */
@@ -219,7 +221,7 @@ function(
219
221
  // remember the name of this Fragment
220
222
  this._sFragmentName = mSettings.fragmentName;
221
223
 
222
- // if the containing view (or fragment) has a scoped runWithOnwer function we need to propagate this to the nested Fragment (only for async case)
224
+ // if the containing view (or fragment) has a scoped runWithOwner function we need to propagate this to the nested Fragment (only for async case)
223
225
  this.fnScopedRunWithOwner = mSettings.containingView && mSettings.containingView.fnScopedRunWithOwner;
224
226
 
225
227
  if (!this.fnScopedRunWithOwner && this._sOwnerId) {
@@ -595,7 +597,7 @@ function(
595
597
  mParameters.fragmentName = mParameters.fragmentName || mParameters.name;
596
598
  mParameters.fragmentContent = mParameters.fragmentContent || mParameters.definition;
597
599
  mParameters.oController = mParameters.controller;
598
- mParameters.sOwnerId = _runWithOwner.getCurrentOwnerId();
600
+ mParameters.sOwnerId = getCurrentOwnerId();
599
601
  delete mParameters.name;
600
602
  delete mParameters.definition;
601
603
  delete mParameters.controller;
@@ -871,7 +873,7 @@ function(
871
873
  // similar to the XMLView we need to have a scoped runWithPreprocessors function
872
874
  var oParseConfig = {
873
875
  fnRunWithPreprocessor: function(fn) {
874
- return ManagedObject.runWithPreprocessors(fn, {
876
+ return runWithPreprocessors(fn, {
875
877
  settings: fnSettingsPreprocessor
876
878
  });
877
879
  }
@@ -959,7 +961,7 @@ function(
959
961
  this._oContainingView = mSettings.containingView || this;
960
962
 
961
963
  // unset any preprocessors (e.g. from an enclosing JSON view)
962
- return ManagedObject.runWithPreprocessors(function() {
964
+ return runWithPreprocessors(function() {
963
965
  var vContent;
964
966
  if (this.fnScopedRunWithOwner) {
965
967
  this.fnScopedRunWithOwner(function () {
@@ -1097,7 +1099,7 @@ function(
1097
1099
  }
1098
1100
 
1099
1101
  // unset any preprocessors (e.g. from an enclosing HTML view)
1100
- return ManagedObject.runWithPreprocessors(function() {
1102
+ return runWithPreprocessors(function() {
1101
1103
  if (this.fnScopedRunWithOwner) {
1102
1104
  this.fnScopedRunWithOwner(function () {
1103
1105
  DeclarativeSupport.compile(this._oTemplate, this);
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.138.0
47
+ * @version 1.139.1
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.HTML
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/util/Storage"],
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  * @author SAP SE
25
- * @version 1.138.0
25
+ * @version 1.139.1
26
26
  * @alias sap.ui.core.History
27
27
  * @protected
28
28
  */
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * @implements sap.ui.core.IFormContent
76
76
  *
77
77
  * @author SAP SE
78
- * @version 1.138.0
78
+ * @version 1.139.1
79
79
  *
80
80
  * @public
81
81
  * @since 1.11.1
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Lib'],
16
16
  * Helper functionality for indication color support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.138.0
19
+ * @version 1.139.1
20
20
  * @public
21
21
  * @namespace sap.ui.core.IndicationColorSupport
22
22
  * @since 1.66
@@ -23,7 +23,7 @@ sap.ui.define(['../base/Object', './EventBus', "sap/base/assert"],
23
23
  *
24
24
  * @extends sap.ui.base.Object
25
25
  * @author SAP SE
26
- * @version 1.138.0
26
+ * @version 1.139.1
27
27
  * @public
28
28
  * @since 1.11.0
29
29
  * @alias sap.ui.core.IntervalTrigger
@@ -35,7 +35,7 @@ sap.ui.define(["./library", "./Core", "sap/ui/base/ManagedObject", "sap/base/Log
35
35
  * @extends sap.ui.base.ManagedObject
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.138.0
38
+ * @version 1.139.1
39
39
  * @hideconstructor
40
40
  * @public
41
41
  * @since 1.78
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  * Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
13
13
  *
14
14
  * @author SAP SE
15
- * @version 1.138.0
15
+ * @version 1.139.1
16
16
  * @alias module:sap/ui/core/InvisibleRenderer
17
17
  * @since 1.66.0
18
18
  * @protected
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.138.0
37
+ * @version 1.139.1
38
38
  *
39
39
  * @public
40
40
  * @since 1.27.0
@@ -24,7 +24,7 @@ sap.ui.define(['./Element', './library'],
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.138.0
27
+ * @version 1.139.1
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.Item
@@ -192,7 +192,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
192
192
  * @see sap.ui.core.LabelEnablement#enrich
193
193
  *
194
194
  * @author SAP SE
195
- * @version 1.138.0
195
+ * @version 1.139.1
196
196
  * @protected
197
197
  * @alias sap.ui.core.LabelEnablement
198
198
  * @namespace
@@ -23,7 +23,7 @@ sap.ui.define(['./Element', "sap/ui/thirdparty/jquery", './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.138.0
26
+ * @version 1.139.1
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
@@ -65,17 +65,31 @@ sap.ui.define([
65
65
  /**
66
66
  * Bookkeeping for the guessing of library names.
67
67
  *
68
- * Set of bundleUrls from which a library name has been derived or not, see #getLibraryNameForBundle
69
- * If no library name can be derived, the result will also be tracked with 'false' as value.
68
+ * Set of bundleUrls from which a library name has been derived, see #_getByBundleUrl
70
69
  *
71
70
  * Example:
72
71
  * mGuessedLibraries = {
73
- * "my/simple/library/i18n/i18n.properties": "my.simple.library",
74
- * "no/library/i18n/i18n.properties": false
72
+ * "my/simple/library/i18n/i18n.properties": "my.simple.library"
75
73
  * }
76
74
  */
77
75
  var mGuessedLibraries = {};
78
76
 
77
+ /**
78
+ * Negative result bookkeeping for the guessing of library names.
79
+ *
80
+ * Set of bundleUrls from which a library name could not be derived, see #_getByBundleUrl
81
+ *
82
+ * Note: This cache is maintained separately from the positive cache to ease clearing it
83
+ * when a new library instance is created (see #_get). This prevents that a negative result
84
+ * is cached for a library that has been created/loaded in the meantime.
85
+ *
86
+ * Example:
87
+ * mGuessedLibrariesNegative = {
88
+ * "no/library/i18n/i18n.properties": undefined
89
+ * }
90
+ */
91
+ var mGuessedLibrariesNegative = {};
92
+
79
93
  /**
80
94
  * Set of libraries that provide a bundle info file (library-preload-lazy.js).
81
95
  *
@@ -303,6 +317,7 @@ sap.ui.define([
303
317
  }
304
318
 
305
319
  this.name = mSettings.name;
320
+ this.namespace = mSettings.name.replace(/\./g, '/');
306
321
 
307
322
  var aPropsWithDefaults = ["dependencies", "types", "interfaces", "controls", "elements"];
308
323
 
@@ -520,8 +535,7 @@ sap.ui.define([
520
535
  mOptions = mOptions || {};
521
536
 
522
537
  var sFileType = this._getFileType(mOptions.json),
523
- sLibPackage = this.name.replace(/\./g, '/'),
524
- bEntryModuleExists = !!sap.ui.loader._.getModuleState(sLibPackage + '/library.js'),
538
+ bEntryModuleExists = !!sap.ui.loader._.getModuleState(this.namespace + '/library.js'),
525
539
  bHttp2 = Library.isDepCacheEnabled();
526
540
 
527
541
  if (sFileType === 'none') {
@@ -571,15 +585,15 @@ sap.ui.define([
571
585
  /** @deprecated */
572
586
  if (mOptions.sync) {
573
587
  try {
574
- sap.ui.requireSync(sLibPackage + '/library-preload-lazy'); // legacy-relevant: Sync path
588
+ sap.ui.requireSync(this.namespace + '/library-preload-lazy'); // legacy-relevant: Sync path
575
589
  } catch (e) {
576
- Log.error("failed to load '" + sLibPackage + "/library-preload-lazy.js" + "' synchronously (" + (e && e.message || e) + ")");
590
+ Log.error("failed to load '" + this.namespace + "/library-preload-lazy.js" + "' synchronously (" + (e && e.message || e) + ")");
577
591
  }
578
592
  return this;
579
593
  }
580
594
 
581
595
  return sap.ui.loader._.loadJSResourceAsync(
582
- sLibPackage + '/library-preload-lazy.js', /* ignoreErrors = */ true);
596
+ this.namespace + '/library-preload-lazy.js', /* ignoreErrors = */ true);
583
597
  }
584
598
 
585
599
  // otherwise mark as pending
@@ -663,7 +677,7 @@ sap.ui.define([
663
677
  mOptions = mOptions || {};
664
678
 
665
679
  var that = this;
666
- var sPreloadModule = this.name.replace(/\./g, '/')
680
+ var sPreloadModule = this.namespace
667
681
  + (mOptions.http2 ? '/library-h2-preload' : '/library-preload')
668
682
  + (mOptions.sync ? '' : '.js');
669
683
  var pResult;
@@ -765,7 +779,7 @@ sap.ui.define([
765
779
  */
766
780
  getManifest: function(bSync) {
767
781
  if (!this.oManifest) {
768
- var manifestModule = this.name.replace(/\./g, '/') + '/manifest.json';
782
+ var manifestModule = this.namespace + '/manifest.json';
769
783
 
770
784
  if (sap.ui.loader._.getModuleState(manifestModule) || (bSync && !this._manifestFailed)) {
771
785
  try {
@@ -1077,6 +1091,7 @@ sap.ui.define([
1077
1091
  name: sName,
1078
1092
  _key: oConstructorKey
1079
1093
  });
1094
+ mGuessedLibrariesNegative = {}; // Reset negative cache to enforce re-evaluation
1080
1095
  }
1081
1096
 
1082
1097
  return oLibrary;
@@ -1095,6 +1110,9 @@ sap.ui.define([
1095
1110
  if (mGuessedLibraries[sBundleUrl]) {
1096
1111
  return mGuessedLibraries[sBundleUrl];
1097
1112
  }
1113
+ if (sBundleUrl in mGuessedLibrariesNegative) {
1114
+ return undefined;
1115
+ }
1098
1116
 
1099
1117
  // [1] Guess ResourceName
1100
1118
  var sBundleName = sap.ui.loader._.guessResourceName(sBundleUrl);
@@ -1102,14 +1120,13 @@ sap.ui.define([
1102
1120
 
1103
1121
  // [2] Guess library name
1104
1122
  for (var sLibrary in mLibraries) {
1105
- if (!mLibraries[sLibrary].isSettingsEnhanced()) {
1123
+ var oLib = mLibraries[sLibrary];
1124
+ if (!oLib.isSettingsEnhanced()) {
1106
1125
  // ignore libraries that haven't been initialized
1107
1126
  continue;
1108
1127
  }
1109
- var sLibraryName = sLibrary.replace(/\./g, "/");
1110
- var oLib = mLibraries[sLibrary];
1111
- if (sLibraryName !== "" && sBundleName.startsWith(sLibraryName + "/")) {
1112
- var sBundlePath = sBundleName.replace(sLibraryName + "/", "");
1128
+ if (oLib.namespace !== "" && sBundleName.startsWith(oLib.namespace + "/")) {
1129
+ var sBundlePath = sBundleName.replace(oLib.namespace + "/", "");
1113
1130
 
1114
1131
  // [3] Retrieve i18n from manifest for looking up the base bundle
1115
1132
  // (can be undefined if the lib defines "sap.ui5/library/i18n" with <false>)
@@ -1117,8 +1134,8 @@ sap.ui.define([
1117
1134
 
1118
1135
  if (vI18n) {
1119
1136
  // Resolve bundle paths relative to library before comparing
1120
- var sManifestBaseBundlePath = getModulePath(sLibraryName, "/" + vI18n.bundleUrl);
1121
- sBundlePath = getModulePath(sLibraryName, "/" + sBundlePath);
1137
+ var sManifestBaseBundlePath = getModulePath(oLib.namespace, "/" + vI18n.bundleUrl);
1138
+ sBundlePath = getModulePath(oLib.namespace, "/" + sBundlePath);
1122
1139
 
1123
1140
  // the input bundle-path and the derived library bundle-path must match,
1124
1141
  // otherwise we would enhance the wrong bundle with terminologies etc.
@@ -1128,7 +1145,7 @@ sap.ui.define([
1128
1145
  return oLib;
1129
1146
  }
1130
1147
  // [4.2] Cache none-matching result
1131
- mGuessedLibraries[sBundleUrl] = false;
1148
+ mGuessedLibrariesNegative[sBundleUrl] = undefined;
1132
1149
  }
1133
1150
  }
1134
1151
  }
@@ -1455,7 +1472,7 @@ sap.ui.define([
1455
1472
  sTypeName.replace(/\./g, "/") + ".js",
1456
1473
  () => (
1457
1474
  `Importing the pseudo module '${sTypeName.replace(/\./g, "/")}' is deprecated.`
1458
- + ` To access the type '${sTypeName}', please import '${oLib.name.replace(/\./g, "/")}/library'`
1475
+ + ` To access the type '${sTypeName}', please import '${oLib.namespace}/library'`
1459
1476
  + createHintForType(sTypeName)
1460
1477
  + ` For more information, see documentation under 'Best Practices for Loading Modules'.`
1461
1478
  )
@@ -1511,7 +1528,7 @@ sap.ui.define([
1511
1528
 
1512
1529
  function getLibraryModuleNames(aLibs) {
1513
1530
  return aLibs.map(function(oLib) {
1514
- return oLib.name.replace(/\./g, "/") + "/library";
1531
+ return oLib.namespace + "/library";
1515
1532
  });
1516
1533
  }
1517
1534
 
@@ -1884,9 +1901,7 @@ sap.ui.define([
1884
1901
  // enrich i18n information
1885
1902
  if (vI18n) {
1886
1903
  // resolve bundleUrls relative to library path
1887
- var sLibraryPath = oLib.name.replace(/\./g, "/");
1888
- sLibraryPath = sLibraryPath.endsWith("/") ? sLibraryPath : sLibraryPath + "/"; // add trailing slash if missing
1889
- sLibraryPath = sap.ui.require.toUrl(sLibraryPath);
1904
+ var sLibraryPath = sap.ui.require.toUrl(oLib.namespace + "/");
1890
1905
 
1891
1906
  _UrlResolver._processResourceConfiguration(vI18n, {
1892
1907
  alreadyResolvedOnRoot: true,
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.138.0
26
+ * @version 1.139.1
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.138.0
35
+ * @version 1.139.1
36
36
  *
37
37
  * @public
38
38
  * @since 1.11.0
@@ -20,7 +20,7 @@ sap.ui.define(['sap/base/assert', 'sap/ui/base/Object', "sap/base/i18n/Localizat
20
20
  *
21
21
  * @extends sap.ui.base.Object
22
22
  * @author SAP SE
23
- * @version 1.138.0
23
+ * @version 1.139.1
24
24
  * @public
25
25
  * @alias sap.ui.core.Locale
26
26
  */