@openui5/sap.ui.core 1.136.1 → 1.138.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 (415) hide show
  1. package/.eslintrc.json +3 -3
  2. package/REUSE.toml +0 -28
  3. package/THIRDPARTY.txt +1 -25
  4. package/package.json +1 -1
  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 +1 -1
  13. package/src/sap/base/i18n/LanguageTag.js +1 -1
  14. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  15. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  16. package/src/sap/base/util/restricted/_castArray.js +1 -1
  17. package/src/sap/base/util/restricted/_compact.js +1 -1
  18. package/src/sap/base/util/restricted/_curry.js +1 -1
  19. package/src/sap/base/util/restricted/_debounce.js +1 -1
  20. package/src/sap/base/util/restricted/_difference.js +1 -1
  21. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  22. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_flatten.js +1 -1
  27. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_intersection.js +1 -1
  30. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  31. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  32. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  33. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  34. package/src/sap/base/util/restricted/_isNil.js +1 -1
  35. package/src/sap/base/util/restricted/_max.js +1 -1
  36. package/src/sap/base/util/restricted/_merge.js +1 -1
  37. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  38. package/src/sap/base/util/restricted/_min.js +1 -1
  39. package/src/sap/base/util/restricted/_omit.js +1 -1
  40. package/src/sap/base/util/restricted/_pick.js +1 -1
  41. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  42. package/src/sap/base/util/restricted/_throttle.js +1 -1
  43. package/src/sap/base/util/restricted/_toArray.js +1 -1
  44. package/src/sap/base/util/restricted/_union.js +1 -1
  45. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  46. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  47. package/src/sap/base/util/restricted/_uniq.js +1 -1
  48. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  49. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  50. package/src/sap/base/util/restricted/_without.js +1 -1
  51. package/src/sap/base/util/restricted/_xor.js +1 -1
  52. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  53. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  54. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  55. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  56. package/src/sap/ui/Device.js +3 -3
  57. package/src/sap/ui/Global.js +3 -3
  58. package/src/sap/ui/base/BindingInfo.js +12 -8
  59. package/src/sap/ui/base/BindingParser.js +14 -7
  60. package/src/sap/ui/base/Event.js +1 -1
  61. package/src/sap/ui/base/EventProvider.js +1 -8
  62. package/src/sap/ui/base/Interface.js +1 -1
  63. package/src/sap/ui/base/ManagedObject.js +15 -42
  64. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  65. package/src/sap/ui/base/Metadata.js +1 -1
  66. package/src/sap/ui/base/Object.js +1 -1
  67. package/src/sap/ui/base/ObjectPool.js +1 -1
  68. package/src/sap/ui/base/_runWithOwner.js +43 -0
  69. package/src/sap/ui/core/.library +3 -30
  70. package/src/sap/ui/core/BusyIndicator.js +8 -8
  71. package/src/sap/ui/core/Component.js +61 -73
  72. package/src/sap/ui/core/ComponentContainer.js +22 -2
  73. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  74. package/src/sap/ui/core/ComponentSupport.js +1 -1
  75. package/src/sap/ui/core/Configuration.js +1 -1
  76. package/src/sap/ui/core/Control.js +1 -1
  77. package/src/sap/ui/core/Core.js +2 -2
  78. package/src/sap/ui/core/CustomData.js +1 -1
  79. package/src/sap/ui/core/DeclarativeSupport.js +13 -11
  80. package/src/sap/ui/core/Element.js +1 -3
  81. package/src/sap/ui/core/ElementMetadata.js +1 -1
  82. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  83. package/src/sap/ui/core/EventBus.js +1 -1
  84. package/src/sap/ui/core/ExtensionPoint.js +4 -4
  85. package/src/sap/ui/core/Fragment.js +4 -2
  86. package/src/sap/ui/core/HTML.js +1 -1
  87. package/src/sap/ui/core/History.js +1 -1
  88. package/src/sap/ui/core/Icon.js +1 -1
  89. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  90. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  91. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  92. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  93. package/src/sap/ui/core/InvisibleText.js +1 -1
  94. package/src/sap/ui/core/Item.js +1 -1
  95. package/src/sap/ui/core/LabelEnablement.js +1 -1
  96. package/src/sap/ui/core/LayoutData.js +1 -1
  97. package/src/sap/ui/core/ListItem.js +1 -1
  98. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  99. package/src/sap/ui/core/Locale.js +1 -1
  100. package/src/sap/ui/core/LocaleData.js +1 -1
  101. package/src/sap/ui/core/Manifest.js +1 -1
  102. package/src/sap/ui/core/Message.js +1 -1
  103. package/src/sap/ui/core/Popup.js +65 -180
  104. package/src/sap/ui/core/RenderManager.js +1 -1
  105. package/src/sap/ui/core/Renderer.js +1 -1
  106. package/src/sap/ui/core/ResizeHandler.js +1 -1
  107. package/src/sap/ui/core/ScrollBar.js +1 -1
  108. package/src/sap/ui/core/SeparatorItem.js +1 -1
  109. package/src/sap/ui/core/Theming.js +2 -2
  110. package/src/sap/ui/core/Title.js +1 -1
  111. package/src/sap/ui/core/TooltipBase.js +1 -1
  112. package/src/sap/ui/core/UIArea.js +1 -1
  113. package/src/sap/ui/core/UIComponent.js +11 -56
  114. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  115. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  116. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  117. package/src/sap/ui/core/XMLComposite.js +1 -1
  118. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  119. package/src/sap/ui/core/XMLTemplateProcessor.js +5 -1
  120. package/src/sap/ui/core/_IconRegistry.js +2 -0
  121. package/src/sap/ui/core/date/UI5Date.js +1 -1
  122. package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
  123. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  124. package/src/sap/ui/core/dnd/DragDropBase.js +12 -2
  125. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  126. package/src/sap/ui/core/dnd/DragInfo.js +5 -3
  127. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  128. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  129. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  130. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  131. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  132. package/src/sap/ui/core/i18n/interaction_ar.xml +27 -0
  133. package/src/sap/ui/core/i18n/interaction_bg.xml +27 -0
  134. package/src/sap/ui/core/i18n/interaction_ca.xml +27 -0
  135. package/src/sap/ui/core/i18n/interaction_cnr.xml +27 -0
  136. package/src/sap/ui/core/i18n/interaction_cs.xml +27 -0
  137. package/src/sap/ui/core/i18n/interaction_cy.xml +27 -0
  138. package/src/sap/ui/core/i18n/interaction_da.xml +27 -0
  139. package/src/sap/ui/core/i18n/interaction_de.xml +27 -0
  140. package/src/sap/ui/core/i18n/interaction_el.xml +27 -0
  141. package/src/sap/ui/core/i18n/interaction_en.xml +27 -0
  142. package/src/sap/ui/core/i18n/interaction_en_GB.xml +27 -0
  143. package/src/sap/ui/core/i18n/interaction_en_US_saprigi.xml +27 -0
  144. package/src/sap/ui/core/i18n/interaction_es.xml +27 -0
  145. package/src/sap/ui/core/i18n/interaction_es_MX.xml +27 -0
  146. package/src/sap/ui/core/i18n/interaction_et.xml +27 -0
  147. package/src/sap/ui/core/i18n/interaction_fi.xml +27 -0
  148. package/src/sap/ui/core/i18n/interaction_fr.xml +27 -0
  149. package/src/sap/ui/core/i18n/interaction_fr_CA.xml +27 -0
  150. package/src/sap/ui/core/i18n/interaction_hi.xml +27 -0
  151. package/src/sap/ui/core/i18n/interaction_hr.xml +27 -0
  152. package/src/sap/ui/core/i18n/interaction_hu.xml +27 -0
  153. package/src/sap/ui/core/i18n/interaction_id.xml +27 -0
  154. package/src/sap/ui/core/i18n/interaction_it.xml +27 -0
  155. package/src/sap/ui/core/i18n/interaction_iw.xml +27 -0
  156. package/src/sap/ui/core/i18n/interaction_ja.xml +27 -0
  157. package/src/sap/ui/core/i18n/interaction_kk.xml +27 -0
  158. package/src/sap/ui/core/i18n/interaction_ko.xml +27 -0
  159. package/src/sap/ui/core/i18n/interaction_lt.xml +27 -0
  160. package/src/sap/ui/core/i18n/interaction_lv.xml +27 -0
  161. package/src/sap/ui/core/i18n/interaction_mk.xml +27 -0
  162. package/src/sap/ui/core/i18n/interaction_ms.xml +27 -0
  163. package/src/sap/ui/core/i18n/interaction_nl.xml +27 -0
  164. package/src/sap/ui/core/i18n/interaction_no.xml +27 -0
  165. package/src/sap/ui/core/i18n/interaction_pl.xml +27 -0
  166. package/src/sap/ui/core/i18n/interaction_pt.xml +27 -0
  167. package/src/sap/ui/core/i18n/interaction_pt_PT.xml +27 -0
  168. package/src/sap/ui/core/i18n/interaction_ro.xml +27 -0
  169. package/src/sap/ui/core/i18n/interaction_ru.xml +27 -0
  170. package/src/sap/ui/core/i18n/interaction_sh.xml +27 -0
  171. package/src/sap/ui/core/i18n/interaction_sk.xml +27 -0
  172. package/src/sap/ui/core/i18n/interaction_sl.xml +27 -0
  173. package/src/sap/ui/core/i18n/interaction_sr.xml +27 -0
  174. package/src/sap/ui/core/i18n/interaction_sv.xml +27 -0
  175. package/src/sap/ui/core/i18n/interaction_th.xml +27 -0
  176. package/src/sap/ui/core/i18n/interaction_tr.xml +27 -0
  177. package/src/sap/ui/core/i18n/interaction_uk.xml +27 -0
  178. package/src/sap/ui/core/i18n/interaction_vi.xml +27 -0
  179. package/src/sap/ui/core/i18n/interaction_zh_CN.xml +27 -0
  180. package/src/sap/ui/core/i18n/interaction_zh_TW.xml +27 -0
  181. package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +43 -7
  182. package/src/sap/ui/core/library.js +3 -3
  183. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  184. package/src/sap/ui/core/message/Message.js +1 -1
  185. package/src/sap/ui/core/message/MessageManager.js +1 -1
  186. package/src/sap/ui/core/message/MessageParser.js +1 -1
  187. package/src/sap/ui/core/message/MessageProcessor.js +6 -6
  188. package/src/sap/ui/core/messagebundle_ar.properties +21 -1
  189. package/src/sap/ui/core/messagebundle_bg.properties +21 -1
  190. package/src/sap/ui/core/messagebundle_ca.properties +21 -1
  191. package/src/sap/ui/core/messagebundle_cnr.properties +21 -1
  192. package/src/sap/ui/core/messagebundle_cs.properties +21 -1
  193. package/src/sap/ui/core/messagebundle_cy.properties +21 -1
  194. package/src/sap/ui/core/messagebundle_da.properties +21 -1
  195. package/src/sap/ui/core/messagebundle_de.properties +22 -2
  196. package/src/sap/ui/core/messagebundle_el.properties +21 -1
  197. package/src/sap/ui/core/messagebundle_en.properties +21 -1
  198. package/src/sap/ui/core/messagebundle_en_GB.properties +21 -1
  199. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +21 -1
  200. package/src/sap/ui/core/messagebundle_es.properties +23 -3
  201. package/src/sap/ui/core/messagebundle_es_MX.properties +21 -1
  202. package/src/sap/ui/core/messagebundle_et.properties +21 -1
  203. package/src/sap/ui/core/messagebundle_fi.properties +22 -2
  204. package/src/sap/ui/core/messagebundle_fr.properties +21 -1
  205. package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -1
  206. package/src/sap/ui/core/messagebundle_hi.properties +21 -1
  207. package/src/sap/ui/core/messagebundle_hr.properties +21 -1
  208. package/src/sap/ui/core/messagebundle_hu.properties +21 -1
  209. package/src/sap/ui/core/messagebundle_id.properties +23 -3
  210. package/src/sap/ui/core/messagebundle_it.properties +21 -1
  211. package/src/sap/ui/core/messagebundle_iw.properties +21 -1
  212. package/src/sap/ui/core/messagebundle_ja.properties +21 -1
  213. package/src/sap/ui/core/messagebundle_kk.properties +23 -3
  214. package/src/sap/ui/core/messagebundle_ko.properties +21 -1
  215. package/src/sap/ui/core/messagebundle_lt.properties +21 -1
  216. package/src/sap/ui/core/messagebundle_lv.properties +21 -1
  217. package/src/sap/ui/core/messagebundle_mk.properties +24 -4
  218. package/src/sap/ui/core/messagebundle_ms.properties +21 -1
  219. package/src/sap/ui/core/messagebundle_nl.properties +21 -1
  220. package/src/sap/ui/core/messagebundle_no.properties +21 -1
  221. package/src/sap/ui/core/messagebundle_pl.properties +21 -1
  222. package/src/sap/ui/core/messagebundle_pt.properties +21 -1
  223. package/src/sap/ui/core/messagebundle_pt_PT.properties +21 -1
  224. package/src/sap/ui/core/messagebundle_ro.properties +21 -1
  225. package/src/sap/ui/core/messagebundle_ru.properties +23 -3
  226. package/src/sap/ui/core/messagebundle_sh.properties +21 -1
  227. package/src/sap/ui/core/messagebundle_sk.properties +21 -1
  228. package/src/sap/ui/core/messagebundle_sl.properties +23 -3
  229. package/src/sap/ui/core/messagebundle_sr.properties +21 -1
  230. package/src/sap/ui/core/messagebundle_sv.properties +21 -1
  231. package/src/sap/ui/core/messagebundle_th.properties +21 -1
  232. package/src/sap/ui/core/messagebundle_tr.properties +21 -1
  233. package/src/sap/ui/core/messagebundle_uk.properties +22 -2
  234. package/src/sap/ui/core/messagebundle_vi.properties +21 -1
  235. package/src/sap/ui/core/messagebundle_zh_CN.properties +21 -1
  236. package/src/sap/ui/core/messagebundle_zh_TW.properties +23 -3
  237. package/src/sap/ui/core/mvc/Controller.js +3 -1
  238. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  239. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  240. package/src/sap/ui/core/mvc/JSView.js +1 -1
  241. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  242. package/src/sap/ui/core/mvc/View.js +12 -181
  243. package/src/sap/ui/core/mvc/XMLView.js +2 -1
  244. package/src/sap/ui/core/mvc/_ViewFactory.js +192 -0
  245. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  246. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  247. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  248. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  249. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  250. package/src/sap/ui/core/routing/Route.js +197 -13
  251. package/src/sap/ui/core/routing/Router.js +19 -8
  252. package/src/sap/ui/core/routing/RouterHashChanger.js +12 -3
  253. package/src/sap/ui/core/routing/Target.js +714 -61
  254. package/src/sap/ui/core/routing/TargetCache.js +205 -25
  255. package/src/sap/ui/core/routing/Targets.js +162 -67
  256. package/src/sap/ui/core/routing/Views.js +1 -0
  257. package/src/sap/ui/core/routing/sync/Route.js +1 -1
  258. package/src/sap/ui/core/routing/sync/Target.js +11 -1
  259. package/src/sap/ui/core/routing/sync/TargetCache.js +3 -3
  260. package/src/sap/ui/core/routing/sync/Targets.js +1 -1
  261. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  262. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  263. package/src/sap/ui/core/service/Service.js +1 -48
  264. package/src/sap/ui/core/service/ServiceFactory.js +44 -4
  265. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  266. package/src/sap/ui/core/support/Plugin.js +1 -1
  267. package/src/sap/ui/core/support/Support.js +356 -353
  268. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  269. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  270. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  271. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  272. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  273. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  274. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  275. package/src/sap/ui/core/support/plugins/ViewInfo.js +4 -2
  276. package/src/sap/ui/core/themes/base/base.less +71 -29
  277. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  278. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  279. package/src/sap/ui/core/themes/base/global.less +4 -0
  280. package/src/sap/ui/core/themes/base/skeleton.less +9 -4
  281. package/src/sap/ui/core/theming/ThemeHelper.js +1 -18
  282. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  283. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  284. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +4 -4
  285. package/src/sap/ui/core/tmpl/Template.js +1 -1
  286. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  287. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  288. package/src/sap/ui/core/util/Export.js +1 -1
  289. package/src/sap/ui/core/util/ExportCell.js +1 -1
  290. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  291. package/src/sap/ui/core/util/ExportRow.js +1 -1
  292. package/src/sap/ui/core/util/ExportType.js +1 -1
  293. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  294. package/src/sap/ui/core/util/File.js +1 -1
  295. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  296. package/src/sap/ui/core/util/MockServer.js +1 -1
  297. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  298. package/src/sap/ui/core/util/XMLPreprocessor.js +8 -1
  299. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +4 -4
  300. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  301. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  302. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  303. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  304. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  305. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  306. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  307. package/src/sap/ui/core/webc/WebComponent.js +71 -3
  308. package/src/sap/ui/core/webc/WebComponentMetadata.js +2 -3
  309. package/src/sap/ui/core/webc/WebComponentRenderer.js +1 -1
  310. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  311. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  312. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  313. package/src/sap/ui/debug/ControlTree.js +1 -1
  314. package/src/sap/ui/debug/DebugEnv.js +1 -1
  315. package/src/sap/ui/debug/PropertyList.js +1 -1
  316. package/src/sap/ui/model/ClientModel.js +1 -1
  317. package/src/sap/ui/model/CompositeDataState.js +1 -1
  318. package/src/sap/ui/model/CompositeType.js +1 -1
  319. package/src/sap/ui/model/DataState.js +1 -1
  320. package/src/sap/ui/model/MetaModel.js +1 -1
  321. package/src/sap/ui/model/Model.js +1 -1
  322. package/src/sap/ui/model/SelectionModel.js +1 -1
  323. package/src/sap/ui/model/SimpleType.js +1 -1
  324. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  325. package/src/sap/ui/model/Type.js +1 -1
  326. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -1
  327. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +2 -1
  328. package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -1
  329. package/src/sap/ui/model/analytics/odata4analytics.js +2 -1
  330. package/src/sap/ui/model/json/JSONModel.js +1 -1
  331. package/src/sap/ui/model/message/MessageModel.js +1 -1
  332. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  333. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  334. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  335. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  336. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  337. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +2 -1
  338. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +3 -3
  339. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  340. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  341. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  342. package/src/sap/ui/model/odata/type/Date.js +1 -1
  343. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  344. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  345. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  346. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  347. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  348. package/src/sap/ui/model/odata/type/Double.js +1 -1
  349. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  350. package/src/sap/ui/model/odata/type/Int.js +1 -1
  351. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  352. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  353. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  354. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  355. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  356. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  357. package/src/sap/ui/model/odata/type/Single.js +1 -1
  358. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  359. package/src/sap/ui/model/odata/type/String.js +1 -1
  360. package/src/sap/ui/model/odata/type/Time.js +1 -1
  361. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  362. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  363. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  364. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  365. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  366. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  367. package/src/sap/ui/model/odata/v4/Context.js +4 -7
  368. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  369. package/src/sap/ui/model/odata/v4/ODataListBinding.js +9 -9
  370. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +57 -19
  371. package/src/sap/ui/model/odata/v4/ODataModel.js +8 -7
  372. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  373. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +3 -3
  374. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +118 -90
  375. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +29 -0
  376. package/src/sap/ui/model/odata/v4/lib/_Cache.js +33 -12
  377. package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +10 -4
  378. package/src/sap/ui/model/odata/v4/lib/_Helper.js +5 -3
  379. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +47 -16
  380. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  381. package/src/sap/ui/model/type/Boolean.js +1 -1
  382. package/src/sap/ui/model/type/Currency.js +1 -1
  383. package/src/sap/ui/model/type/Date.js +1 -1
  384. package/src/sap/ui/model/type/DateInterval.js +1 -1
  385. package/src/sap/ui/model/type/DateTime.js +1 -1
  386. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  387. package/src/sap/ui/model/type/FileSize.js +1 -1
  388. package/src/sap/ui/model/type/Float.js +1 -1
  389. package/src/sap/ui/model/type/Integer.js +1 -1
  390. package/src/sap/ui/model/type/String.js +1 -1
  391. package/src/sap/ui/model/type/Time.js +1 -1
  392. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  393. package/src/sap/ui/model/type/Unit.js +1 -1
  394. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  395. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  396. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  397. package/src/sap/ui/test/Opa.js +14 -2
  398. package/src/sap/ui/test/Opa5.js +61 -10
  399. package/src/sap/ui/test/TestUtils.js +6 -2
  400. package/src/sap/ui/test/generic/TestBase.js +1 -1
  401. package/src/sap/ui/thirdparty/datajs.js +13 -10
  402. package/src/sap/ui/util/Storage.js +1 -1
  403. package/src/ui5loader-autoconfig.js +1 -18
  404. package/src/ui5loader.js +1 -1
  405. package/src/sap/ui/core/routing/async/Route.js +0 -186
  406. package/src/sap/ui/core/routing/async/Target.js +0 -712
  407. package/src/sap/ui/core/routing/async/TargetCache.js +0 -196
  408. package/src/sap/ui/core/routing/async/Targets.js +0 -130
  409. package/src/sap/ui/thirdparty/iscroll-lite.js +0 -603
  410. package/src/sap/ui/thirdparty/iscroll.js +0 -1104
  411. package/src/sap/ui/thirdparty/mobiscroll/css/mobiscroll-core.css +0 -416
  412. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js +0 -127
  413. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-datetime.js +0 -818
  414. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-scroller.js +0 -1264
  415. package/src/sap/ui/thirdparty/swipe-view.js +0 -560
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_zipObject
11
11
  * @author SAP SE
12
12
  * @since 1.81
13
- * @version 1.136.1
13
+ * @version 1.138.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -10,7 +10,7 @@
10
10
  * @alias module:sap/base/util/restricted/_zipObjectDeep
11
11
  * @author SAP SE
12
12
  * @since 1.81
13
- * @version 1.136.1
13
+ * @version 1.138.0
14
14
  * @private
15
15
  * @ui5-restricted
16
16
  */
@@ -11,7 +11,7 @@
11
11
  * This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap
12
12
  * dynamically depending on the capabilities of the browser or device.
13
13
  *
14
- * @version 1.136.1
14
+ * @version 1.138.0
15
15
  * @namespace
16
16
  * @name sap.ui.Device
17
17
  * @public
@@ -33,7 +33,7 @@ if (typeof window.sap.ui !== "object") {
33
33
  // Skip initialization if API is already available
34
34
  // ui5lint-disable no-globals
35
35
  if (typeof window.sap.ui.Device === "object" || typeof window.sap.ui.Device === "function") {
36
- var apiVersion = "1.136.1";
36
+ var apiVersion = "1.138.0";
37
37
  window.sap.ui.Device._checkAPIVersion(apiVersion);
38
38
  return;
39
39
  }
@@ -107,7 +107,7 @@ if (typeof window.sap.ui !== "object") {
107
107
 
108
108
  //Only used internal to make clear when Device API is loaded in wrong version
109
109
  Device._checkAPIVersion = function(sVersion) {
110
- var v = "1.136.1";
110
+ var v = "1.138.0";
111
111
  if (v != sVersion) {
112
112
  oLogger.log(WARNING, "Device API version differs: " + v + " <-> " + sVersion);
113
113
  }
@@ -18,7 +18,7 @@
18
18
  * sap.ui.lazyRequire("sap.ui.core.Control");
19
19
  * sap.ui.lazyRequire("sap.m.Button");
20
20
  *
21
- * @version 1.136.1
21
+ * @version 1.138.0
22
22
  * @author SAP SE
23
23
  * @public
24
24
  * @fileoverview
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  * The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
49
49
  * point for UI related JavaScript functionality provided by SAP.
50
50
  *
51
- * @version 1.136.1
51
+ * @version 1.138.0
52
52
  * @namespace
53
53
  * @name sap.ui
54
54
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * The version of the SAP UI Library
60
60
  * @type string
61
61
  */
62
- version: "1.136.1",
62
+ version: "1.138.0",
63
63
  // buildinfo.lastchange is deprecated and is therefore defaulted to empty string
64
64
  buildinfo : { lastchange : "", buildtime : "${buildtime}" }
65
65
  };
@@ -16,9 +16,6 @@ sap.ui.define([
16
16
  function(BaseConfig, DesignTime, getCompatibilityVersion, BindingParser, BindingMode) {
17
17
  "use strict";
18
18
 
19
- // Marker to not 'forget' ui5Objects
20
- const UI5_OBJECT_MARKER = Symbol("ui5object");
21
-
22
19
  // Marker that is used for aggregation binding. It's set on the instance
23
20
  // cloned from the given template with value pointing to the original
24
21
  // parent where the aggregation is defined. In case the aggregation is
@@ -59,7 +56,7 @@ sap.ui.define([
59
56
  * @alias sap.ui.base.BindingInfo
60
57
  * @namespace
61
58
  * @private
62
- * @ui5-restricted sap.ui.base, sap.ui.core
59
+ * @ui5-restricted sap.ui.base, sap.ui.core, sap.ui.model, sap.m, sap.ui.integration, sap.ui.fl, sap.fe
63
60
  */
64
61
  var BindingInfo = {
65
62
  /**
@@ -175,14 +172,15 @@ sap.ui.define([
175
172
  if (oValue.Type) {
176
173
  // if value contains the 'Type' property (capital 'T'), this is not a binding info.
177
174
  oBindingInfo = undefined;
178
- } else if (oValue[UI5_OBJECT_MARKER]) {
175
+ } else if (oValue[this.UI5ObjectMarker]) {
179
176
  // no bindingInfo, delete marker
180
- delete oValue[UI5_OBJECT_MARKER];
177
+ delete oValue[this.UI5ObjectMarker];
181
178
  } else if (oValue.ui5object) {
182
179
  // if value contains ui5object property, this is not a binding info,
183
180
  // remove it and not check for path or parts property
184
181
  delete oValue.ui5object;
185
- } else if (oValue.path != undefined || oValue.parts || (bDetectValue && oValue.value != undefined)) {
182
+ } else if (oValue.path != undefined || oValue.parts
183
+ || (bDetectValue || oValue[this.UI5ObjectMarker] === false) && oValue.value != undefined) {
186
184
  oBindingInfo = oValue;
187
185
  }
188
186
  }
@@ -221,7 +219,7 @@ sap.ui.define([
221
219
  }
222
220
  },
223
221
 
224
- UI5ObjectMarker: UI5_OBJECT_MARKER,
222
+ UI5ObjectMarker: BindingParser.UI5ObjectMarker,
225
223
  OriginalParent: ORIGINAL_PARENT
226
224
  };
227
225
 
@@ -241,6 +239,12 @@ sap.ui.define([
241
239
  return sBindingSyntax;
242
240
  }
243
241
 
242
+ /**
243
+ * Parses the given binding info string and returns a binding info object if valid.
244
+ * @see sap.ui.base.BindingParser
245
+ * @private
246
+ * @ui5-restricted sap.ui.base, sap.ui.core, sap.ui.model, sap.m, sap.ui.integration, sap.ui.fl, sap.fe
247
+ */
244
248
  Object.defineProperty(BindingInfo, "parse", {
245
249
  get: function () {
246
250
  if (!this.oParser) {
@@ -30,7 +30,8 @@ sap.ui.define([
30
30
  * @alias sap.ui.base.BindingParser
31
31
  */
32
32
  var BindingParser = {
33
- _keepBindingStrings : false
33
+ _keepBindingStrings : false,
34
+ UI5ObjectMarker : Symbol("ui5object") // Marker to not 'forget' ui5Objects
34
35
  };
35
36
 
36
37
  /**
@@ -177,7 +178,7 @@ sap.ui.define([
177
178
  // A qualified name, followed by a .bind(id) call
178
179
  // 1st capturing group matches the qualified name w/o .bind() call
179
180
  // 2nd capturing group matches the .bind() argument
180
- const rFormatterBind = /(^(?:[$_\p{ID_Start}][$_\p{ID_Continue}]*\.)*[\p{ID_Start}][$_\p{ID_Continue}]*)\.bind\(([$_\p{ID_Start}][$_\p{ID_Continue}]*)\)$/u;
181
+ const rFormatterBind = /(^(?:\.)?(?:[$_\p{ID_Start}][$_\p{ID_Continue}]*\.)*[\p{ID_Start}][$_\p{ID_Continue}]*)\.bind\(([$_\p{ID_Start}][$_\p{ID_Continue}]*)\)$/u;
181
182
 
182
183
  function resolveBindingInfo(oEnv, oBindingInfo) {
183
184
  var mVariables = Object.assign({".": oEnv.oContext}, oEnv.mLocals);
@@ -516,7 +517,8 @@ sap.ui.define([
516
517
  bUnescaped,
517
518
  p = 0,
518
519
  m,
519
- oEmbeddedBinding;
520
+ oEmbeddedBinding,
521
+ vExpressionConst; // the constant value resulting from an expression binding
520
522
 
521
523
  /**
522
524
  * Parses an expression. Sets the flags accordingly.
@@ -567,7 +569,8 @@ sap.ui.define([
567
569
  if (oBinding.result) {
568
570
  setMode(oBinding.result);
569
571
  } else {
570
- aFragments[aFragments.length - 1] = String(oBinding.constant);
572
+ vExpressionConst = oBinding.constant;
573
+ aFragments[aFragments.length - 1] = String(vExpressionConst);
571
574
  bUnescaped = true;
572
575
  }
573
576
  return oBinding;
@@ -645,14 +648,18 @@ sap.ui.define([
645
648
 
646
649
  return oBindingInfo;
647
650
  } else if ( bUnescape && bUnescaped ) {
648
- var sResult = aFragments.join('');
651
+ // non-string constant -> static binding
652
+ const vResult = vExpressionConst !== undefined && typeof vExpressionConst !== "string"
653
+ && aFragments.length === 1
654
+ ? {value : vExpressionConst, [BindingParser.UI5ObjectMarker] : false}
655
+ : aFragments.join('');
649
656
  if (bResolveTypesAsync) {
650
657
  return {
651
- bindingInfo: sResult,
658
+ bindingInfo: vResult,
652
659
  resolved: Promise.resolve()
653
660
  };
654
661
  }
655
- return sResult;
662
+ return vResult;
656
663
  }
657
664
 
658
665
  };
@@ -23,7 +23,7 @@ sap.ui.define(['./Object', "sap/base/assert"],
23
23
  * @extends sap.ui.base.Object
24
24
  * @implements sap.ui.base.Poolable
25
25
  * @author SAP SE
26
- * @version 1.136.1
26
+ * @version 1.138.0
27
27
  * @alias sap.ui.base.Event
28
28
  * @public
29
29
  * @template {Object<string,any>} [ParamsType=object]
@@ -17,7 +17,7 @@ sap.ui.define(['./Event', './Object', "sap/base/assert", "sap/base/Log"],
17
17
  *
18
18
  * @extends sap.ui.base.Object
19
19
  * @author SAP SE
20
- * @version 1.136.1
20
+ * @version 1.138.0
21
21
  * @public
22
22
  * @alias sap.ui.base.EventProvider
23
23
  */
@@ -39,13 +39,6 @@ sap.ui.define(['./Event', './Object', "sap/base/assert", "sap/base/Log"],
39
39
 
40
40
  var EVENT__LISTENERS_CHANGED = "EventHandlerChange";
41
41
 
42
- /**
43
- * Map of event names and ids, that are provided by this class
44
- * @private
45
- * @static
46
- */
47
- EventProvider.M_EVENTS = {EventHandlerChange:EVENT__LISTENERS_CHANGED};
48
-
49
42
  /**
50
43
  * Attaches an event handler to the event with the given identifier.
51
44
  *
@@ -58,7 +58,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
58
58
  * </code>
59
59
  *
60
60
  * @author Malte Wedel, Daniel Brinkmann
61
- * @version 1.136.1
61
+ * @version 1.138.0
62
62
  * @param {sap.ui.base.Object} oObject
63
63
  * Object for which a facade should be created
64
64
  * @param {string[]} aMethods
@@ -6,6 +6,7 @@
6
6
 
7
7
  // Provides the base class for all objects with managed properties and aggregations.
8
8
  sap.ui.define([
9
+ "./_runWithOwner",
9
10
  "./DataType",
10
11
  "./EventProvider",
11
12
  "./ManagedObjectMetadata",
@@ -23,6 +24,7 @@ sap.ui.define([
23
24
  "sap/base/util/extend",
24
25
  "sap/base/util/isEmptyObject"
25
26
  ], function(
27
+ _runWithOwner,
26
28
  DataType,
27
29
  EventProvider,
28
30
  ManagedObjectMetadata,
@@ -264,7 +266,7 @@ sap.ui.define([
264
266
  *
265
267
  * @extends sap.ui.base.EventProvider
266
268
  * @author SAP SE
267
- * @version 1.136.1
269
+ * @version 1.138.0
268
270
  * @public
269
271
  * @alias sap.ui.base.ManagedObject
270
272
  */
@@ -506,7 +508,7 @@ sap.ui.define([
506
508
  this._oContextualSettings = defaultContextualSettings;
507
509
 
508
510
  // apply the owner id if defined
509
- this._sOwnerId = ManagedObject._sOwnerId;
511
+ this._sOwnerId = _runWithOwner.getCurrentOwnerId();
510
512
 
511
513
  // make sure that the object is registered before initializing
512
514
  // and to deregister the object in case of errors
@@ -553,18 +555,6 @@ sap.ui.define([
553
555
 
554
556
  }, /* Metadata constructor */ ManagedObjectMetadata);
555
557
 
556
- // The current BindingParser implementation is exposed via "ManagedObject.bindingParser".
557
- // This is used in tests for switching the BindingParser implementation on the fly.
558
- // We delegate any changes to this property back to the BindingInfo.
559
- Object.defineProperty(ManagedObject, "bindingParser", {
560
- set: function(v) {
561
- BindingInfo.parse = v;
562
- },
563
- get: function() {
564
- return BindingInfo.parse;
565
- }
566
- });
567
-
568
558
  function assertModelName(sModelName) {
569
559
  assert(sModelName === undefined || (typeof sModelName === "string" && !/^(undefined|null)?$/.test(sModelName)), "sModelName must be a string or omitted");
570
560
  }
@@ -1191,31 +1181,6 @@ sap.ui.define([
1191
1181
 
1192
1182
  };
1193
1183
 
1194
- /**
1195
- * Calls the function <code>fn</code> once and marks all ManagedObjects
1196
- * created during that call as "owned" by the given ID.
1197
- *
1198
- * @param {function} fn Function to execute
1199
- * @param {string} sOwnerId Id of the owner
1200
- * @param {Object} [oThisArg=undefined] Value to use as <code>this</code> when executing <code>fn</code>
1201
- * @return {any} result of function <code>fn</code>
1202
- * @private
1203
- * @ui5-restricted sap.ui.core
1204
- */
1205
- ManagedObject.runWithOwner = function(fn, sOwnerId, oThisArg) {
1206
-
1207
- assert(typeof fn === "function", "fn must be a function");
1208
-
1209
- var oldOwnerId = ManagedObject._sOwnerId;
1210
- try {
1211
- ManagedObject._sOwnerId = sOwnerId;
1212
- return fn.call(oThisArg);
1213
- } finally {
1214
- ManagedObject._sOwnerId = oldOwnerId;
1215
- }
1216
-
1217
- };
1218
-
1219
1184
  /**
1220
1185
  * Sets all the properties, aggregations, associations and event handlers as given in
1221
1186
  * the object literal <code>mSettings</code>. If a property, aggregation, etc.
@@ -3543,11 +3508,18 @@ sap.ui.define([
3543
3508
  // - no handling of parse/validate exceptions
3544
3509
  // - observers won't be called
3545
3510
  if (bIsStaticOnly) {
3546
- var aValues = [];
3511
+ const aValues = [];
3512
+ let vValue;
3547
3513
  oBindingInfo.parts.forEach(function(oPart) {
3548
3514
  aValues.push(oPart.formatter ? oPart.formatter(oPart.value) : oPart.value);
3549
3515
  });
3550
- var vValue = oBindingInfo.formatter ? oBindingInfo.formatter(aValues) : aValues.join(" ");
3516
+ if (oBindingInfo.formatter) {
3517
+ vValue = oBindingInfo.formatter(aValues);
3518
+ } else if (aValues.length > 1) {
3519
+ vValue = aValues.join(" ");
3520
+ } else {
3521
+ vValue = aValues[0];
3522
+ }
3551
3523
  var oPropertyInfo = this.getMetadata().getPropertyLikeSetting(sName);
3552
3524
  this[oPropertyInfo._sMutator](vValue);
3553
3525
  } else {
@@ -3816,7 +3788,7 @@ sap.ui.define([
3816
3788
  var sOwnerId = this._sOwnerId;
3817
3789
  vBindingInfo.factory = function(sId, oContext) {
3818
3790
  // bind original factory with the two arguments: id and bindingContext
3819
- return ManagedObject.runWithOwner(fnOriginalFactory.bind(null, sId, oContext), sOwnerId);
3791
+ return _runWithOwner(fnOriginalFactory.bind(null, sId, oContext), sOwnerId);
3820
3792
  };
3821
3793
  vBindingInfo.factory[BINDING_INFO_FACTORY_SYMBOL] = fnOriginalFactory;
3822
3794
  }
@@ -4687,6 +4659,7 @@ sap.ui.define([
4687
4659
  }
4688
4660
  }
4689
4661
 
4662
+ /** @deprecated since 1.120.0 */
4690
4663
  // Clone the support info
4691
4664
  if (ManagedObject._supportInfo) {
4692
4665
  ManagedObject._supportInfo.addSupportInfo(oClone.getId(), ManagedObject._supportInfo.byId(this.getId()));
@@ -79,7 +79,7 @@ function(
79
79
  *
80
80
  *
81
81
  * @author Frank Weigel
82
- * @version 1.136.1
82
+ * @version 1.138.0
83
83
  * @since 0.8.6
84
84
  * @alias sap.ui.base.ManagedObjectMetadata
85
85
  * @extends sap.ui.base.Metadata
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @class Metadata for a class.
33
33
  * @author Frank Weigel
34
- * @version 1.136.1
34
+ * @version 1.138.0
35
35
  * @since 0.8.6
36
36
  * @public
37
37
  * @alias sap.ui.base.Metadata
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
26
26
  * @class Base class for all SAPUI5 Objects.
27
27
  * @abstract
28
28
  * @author Malte Wedel
29
- * @version 1.136.1
29
+ * @version 1.138.0
30
30
  * @public
31
31
  * @alias sap.ui.base.Object
32
32
  * @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
@@ -59,7 +59,7 @@ sap.ui.define(['./Object'],
59
59
  *
60
60
  * @extends sap.ui.base.Object
61
61
  * @author SAP SE
62
- * @version 1.136.1
62
+ * @version 1.138.0
63
63
  * @alias sap.ui.base.ObjectPool
64
64
  * @public
65
65
  */
@@ -0,0 +1,43 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2025 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+ sap.ui.define([
7
+ "sap/base/assert"
8
+ ], function(
9
+ assert
10
+ ) {
11
+
12
+ "use strict";
13
+
14
+ let _sOwnerId;
15
+
16
+ /**
17
+ * Calls the function <code>fn</code> once and marks all ManagedObjects
18
+ * created during that call as "owned" by the given ID.
19
+ *
20
+ * @param {function} fn Function to execute
21
+ * @param {string} sOwnerId Id of the owner
22
+ * @param {Object} [oThisArg=undefined] Value to use as <code>this</code> when executing <code>fn</code>
23
+ * @return {any} result of function <code>fn</code>
24
+ * @private
25
+ * @ui5-restricted sap.ui.core
26
+ */
27
+ const runWithOwner = function(fn, sOwnerId, oThisArg) {
28
+
29
+ assert(typeof fn === "function", "fn must be a function");
30
+
31
+ var oldOwnerId = _sOwnerId;
32
+ try {
33
+ _sOwnerId = sOwnerId;
34
+ return fn.call(oThisArg);
35
+ } finally {
36
+ _sOwnerId = oldOwnerId;
37
+ }
38
+ };
39
+
40
+ runWithOwner.getCurrentOwnerId = () => { return _sOwnerId; };
41
+
42
+ return runWithOwner;
43
+ });
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2025 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.136.1</version>
9
+ <version>1.138.0</version>
10
10
 
11
11
  <documentation>The SAPUI5 Core Runtime.
12
12
 
@@ -32,8 +32,6 @@
32
32
  <raw-module name="sap/ui/thirdparty/handlebars.js" />
33
33
  <raw-module name="sap/ui/thirdparty/hasher.js" depends="sap/ui/thirdparty/signals.js" />
34
34
  <raw-module name="sap/ui/thirdparty/IPv6.js" />
35
- <raw-module name="sap/ui/thirdparty/iscroll-lite.js" />
36
- <raw-module name="sap/ui/thirdparty/iscroll.js" />
37
35
  <raw-module name="sap/ui/thirdparty/jquery.js" depends="sap/ui/thirdparty/jquery-compat.js" />
38
36
  <raw-module name="sap/ui/thirdparty/jquery-mobile-custom.js" depends="sap/ui/thirdparty/jquery.js" />
39
37
  <raw-module name="sap/ui/thirdparty/jqueryui/jquery-effects-blind.js" depends="sap/ui/thirdparty/jqueryui/jquery-effects-core.js" />
@@ -77,9 +75,6 @@
77
75
  <raw-module name="sap/ui/thirdparty/jszip.js" />
78
76
  <raw-module name="sap/ui/thirdparty/klay.js" />
79
77
  <raw-module name="sap/ui/thirdparty/less.js" />
80
- <raw-module name="sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js" depends="sap/ui/thirdparty/jquery.js" />
81
- <raw-module name="sap/ui/thirdparty/mobiscroll/js/mobiscroll-datetime.js" depends="sap/ui/thirdparty/jquery.js,sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js,sap/ui/thirdparty/mobiscroll/js/mobiscroll-scroller.js" />
82
- <raw-module name="sap/ui/thirdparty/mobiscroll/js/mobiscroll-scroller.js" depends="sap/ui/thirdparty/jquery.js,sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js" />
83
78
  <raw-module name="sap/ui/thirdparty/punycode.js" />
84
79
  <raw-module name="sap/ui/thirdparty/qunit-2.js" />
85
80
  <raw-module name="sap/ui/thirdparty/qunit-composite.js" depends="sap/ui/thirdparty/qunit.js" />
@@ -94,7 +89,6 @@
94
89
  <raw-module name="sap/ui/thirdparty/sinon-server.js" depends="sap/ui/thirdparty/sinon.js" requiresTopLevelScope="false" />
95
90
  <raw-module name="sap/ui/thirdparty/sinon.js" />
96
91
  <raw-module name="sap/ui/thirdparty/sinon-4.js" />
97
- <raw-module name="sap/ui/thirdparty/swipe-view.js" requiresTopLevelScope="false" />
98
92
  <raw-module name="sap/ui/thirdparty/URI.js" />
99
93
  <raw-module name="sap/ui/thirdparty/URITemplate.js" depends="sap/ui/thirdparty/URI.js"/>
100
94
  <raw-module name="sap/ui/thirdparty/vkbeautify.js" />
@@ -225,22 +219,6 @@
225
219
  <pattern>sap/ui/thirdparty/qunit-reporter-junit.js</pattern>
226
220
  <pattern partial="true" otherContent="SAP" explanation="qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)">sap/ui/qunit/qunit-junit.js</pattern>
227
221
  </lib>
228
- <lib name="iscroll" displayName="cubiq.org - iScroll" npmName="n/a" version="4.2.5" hash="d65adf04b7325742c53082ee3e87d034" homepage="https://github.com/cubiq/iscroll" id="73554900106100001862">
229
- <license url="https://github.com/cubiq/iscroll/blob/master/LICENSE" type="MIT" />
230
- <copyright>2012 Matteo Spinelli</copyright>
231
- <pattern>sap/ui/thirdparty/iscroll.js</pattern>
232
- </lib>
233
- <lib name="iscroll-lite" displayName="cubiq.org - iScroll Lite" npmName="n/a" version="4.1.6" hash="c430198bf1e445e8717b911756f92dcd" homepage="https://github.com/cubiq/iscroll">
234
- <license url="https://github.com/cubiq/iscroll/blob/master/LICENSE" type="MIT" />
235
- <copyright>2011 Matteo Spinelli</copyright>
236
- <pattern>sap/ui/thirdparty/iscroll-lite.js</pattern>
237
- <!-- not in PPMS because it is a sub-module of iScroll -->
238
- </lib>
239
- <lib name="swipeview" displayName="cubiq.org - swipeview" npmName="n/a" version="1.0" hash="1fd389111f3853ad478b8c8d8b733ee5" homepage="https://github.com/cubiq/SwipeView/" id="73554900106100001918">
240
- <license url="https://github.com/cubiq/SwipeView/blob/master/license.txt" type="MIT" />
241
- <copyright>2012 Matteo Spinelli</copyright>
242
- <pattern>sap/ui/thirdparty/swipe-view.js</pattern>
243
- </lib>
244
222
  <lib name="zynga" displayName="Zynga Scroller" npmName="n/a" version="1.2.1-0-g5d43806" hash="ed56a75783e6f24f8eefc6e625bc496f" homepage="http://zynga.github.com/scroller/" id="73554900106100001940">
245
223
  <license url="https://github.com/pbakaus/scroller/blob/master/LICENSE.txt" type="MIT" />
246
224
  <copyright>2011 Zynga Inc.</copyright>
@@ -252,10 +230,10 @@
252
230
  <copyright>2009-2014, Alexis Sellier</copyright>
253
231
  <pattern>sap/ui/thirdparty/less.js</pattern>
254
232
  </lib>
255
- <lib name="datajs" displayName="DataJS" npmName="n/a" version="unknown" hash="0df06fd64d1ebdeb81cdd00d1cf04494" homepage="http://datajs.codeplex.com/" id="73554900106100001652">
233
+ <lib name="datajs" displayName="DataJS" npmName="n/a" version="unknown" hash="073c16105db43f4ea0c3aa28754c79c3" homepage="https://codeplexarchive.org/codeplex/project/datajs" id="73554900106100001652">
256
234
  <!-- hints in the source code suggest this is version 1.1.0 with fixes from 1.1.1.beta2,
257
235
  but it could also be version 1.1.2 as modeled in PPMS -->
258
- <license url="http://datajs.codeplex.com/license" type="MIT" />
236
+ <license url="https://codeplexarchive.org/codeplex/projecttab/license/datajs/" type="MIT" />
259
237
  <copyright>2011 Microsoft</copyright>
260
238
  <pattern>sap/ui/thirdparty/datajs.js</pattern>
261
239
  </lib>
@@ -279,11 +257,6 @@
279
257
  <copyright>1991-2024 Unicode, Inc.</copyright>
280
258
  <pattern>sap/ui/core/cldr/**</pattern>
281
259
  </lib>
282
- <lib name="mobiscroll" displayName="MobiScroll" npmName="n/a" version="2.9.0" hash="2a76d1439bbc5afaf10324b2108e4d9c" homepage="http://mobiscroll.com" id="73554900106100005562">
283
- <license url="http://opensource.org/licenses/mit-license.php" type="MIT" />
284
- <copyright>2010-2013, Acid Media</copyright>
285
- <pattern>sap/ui/thirdparty/mobiscroll/**</pattern>
286
- </lib>
287
260
  <lib name="sinonjs" displayName="SinonJS" npmName="sinon" version="1.14.1" hash="5bbc65549709e5c7adc2df0c38ba966a" homepage="http://sinonjs.org" id="73554900106100005532">
288
261
  <license url="https://raw.github.com/cjohansen/Sinon.JS/master/LICENSE" type="BSD-3-Clause" />
289
262
  <copyright>2010-2014, Christian Johansen, christian@cjohansen.no</copyright>
@@ -42,7 +42,7 @@ sap.ui.define([
42
42
  * Provides methods to show or hide a waiting animation covering the whole
43
43
  * page and blocking user interaction.
44
44
  * @namespace
45
- * @version 1.136.1
45
+ * @version 1.138.0
46
46
  * @public
47
47
  * @alias sap.ui.core.BusyIndicator
48
48
  */
@@ -54,7 +54,7 @@ sap.ui.define([
54
54
  sDOM_ID: "sapUiBusyIndicator"
55
55
  });
56
56
 
57
- BusyIndicator.M_EVENTS = {
57
+ const M_EVENTS = {
58
58
  Open: "Open",
59
59
 
60
60
  Close: "Close"
@@ -287,7 +287,7 @@ sap.ui.define([
287
287
  * @public
288
288
  */
289
289
  BusyIndicator.attachOpen = function(fnFunction, oListener) {
290
- this.attachEvent(BusyIndicator.M_EVENTS.Open, fnFunction, oListener);
290
+ this.attachEvent(M_EVENTS.Open, fnFunction, oListener);
291
291
  return this;
292
292
  };
293
293
 
@@ -302,7 +302,7 @@ sap.ui.define([
302
302
  * @public
303
303
  */
304
304
  BusyIndicator.detachOpen = function(fnFunction, oListener) {
305
- this.detachEvent(BusyIndicator.M_EVENTS.Open, fnFunction, oListener);
305
+ this.detachEvent(M_EVENTS.Open, fnFunction, oListener);
306
306
  return this;
307
307
  };
308
308
 
@@ -321,7 +321,7 @@ sap.ui.define([
321
321
  * @public
322
322
  */
323
323
  BusyIndicator.attachClose = function(fnFunction, oListener) {
324
- this.attachEvent(BusyIndicator.M_EVENTS.Close, fnFunction, oListener);
324
+ this.attachEvent(M_EVENTS.Close, fnFunction, oListener);
325
325
  return this;
326
326
  };
327
327
 
@@ -336,16 +336,16 @@ sap.ui.define([
336
336
  * @public
337
337
  */
338
338
  BusyIndicator.detachClose = function(fnFunction, oListener) {
339
- this.detachEvent(BusyIndicator.M_EVENTS.Close, fnFunction, oListener);
339
+ this.detachEvent(M_EVENTS.Close, fnFunction, oListener);
340
340
  return this;
341
341
  };
342
342
 
343
343
  BusyIndicator.fireOpen = function(mParameters) {
344
- this.fireEvent(BusyIndicator.M_EVENTS.Open, mParameters);
344
+ this.fireEvent(M_EVENTS.Open, mParameters);
345
345
  };
346
346
 
347
347
  BusyIndicator.fireClose = function(mParameters) {
348
- this.fireEvent(BusyIndicator.M_EVENTS.Close, mParameters);
348
+ this.fireEvent(M_EVENTS.Close, mParameters);
349
349
  };
350
350
 
351
351
  return BusyIndicator;