@openui5/sap.ui.core 1.128.0 → 1.130.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 (432) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +1 -1
  3. package/src/jquery.sap.global.js +7 -7
  4. package/src/jquery.sap.properties.js +1 -1
  5. package/src/jquery.sap.resources.js +1 -1
  6. package/src/jquery.sap.script.js +1 -1
  7. package/src/jquery.sap.storage.js +3 -3
  8. package/src/jquery.sap.trace.js +18 -18
  9. package/src/sap/base/Event.js +1 -1
  10. package/src/sap/base/Eventing.js +1 -1
  11. package/src/sap/base/config.js +1 -1
  12. package/src/sap/base/future.js +10 -2
  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/BindingParser.js +1 -3
  59. package/src/sap/ui/base/Event.js +1 -1
  60. package/src/sap/ui/base/EventProvider.js +1 -1
  61. package/src/sap/ui/base/Interface.js +1 -1
  62. package/src/sap/ui/base/ManagedObject.js +4 -9
  63. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  64. package/src/sap/ui/base/Metadata.js +1 -1
  65. package/src/sap/ui/base/Object.js +1 -1
  66. package/src/sap/ui/base/ObjectPool.js +1 -1
  67. package/src/sap/ui/core/.library +2 -2
  68. package/src/sap/ui/core/BusyIndicator.js +1 -1
  69. package/src/sap/ui/core/Component.js +46 -122
  70. package/src/sap/ui/core/ComponentContainer.js +2 -2
  71. package/src/sap/ui/core/ComponentHooks.js +174 -0
  72. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  73. package/src/sap/ui/core/ComponentSupport.js +1 -1
  74. package/src/sap/ui/core/Configuration.js +1 -1
  75. package/src/sap/ui/core/Control.js +1 -1
  76. package/src/sap/ui/core/Core.js +8 -3
  77. package/src/sap/ui/core/CustomData.js +1 -1
  78. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  79. package/src/sap/ui/core/Element.js +6 -2
  80. package/src/sap/ui/core/ElementMetadata.js +1 -1
  81. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  82. package/src/sap/ui/core/EventBus.js +1 -1
  83. package/src/sap/ui/core/Fragment.js +6 -5
  84. package/src/sap/ui/core/HTML.js +1 -1
  85. package/src/sap/ui/core/History.js +1 -1
  86. package/src/sap/ui/core/Icon.js +2 -2
  87. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  88. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  89. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  90. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  91. package/src/sap/ui/core/InvisibleText.js +1 -1
  92. package/src/sap/ui/core/Item.js +1 -1
  93. package/src/sap/ui/core/LabelEnablement.js +2 -15
  94. package/src/sap/ui/core/LayoutData.js +1 -1
  95. package/src/sap/ui/core/ListItem.js +1 -1
  96. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  97. package/src/sap/ui/core/Locale.js +1 -1
  98. package/src/sap/ui/core/LocaleData.js +43 -37
  99. package/src/sap/ui/core/Manifest.js +2 -2
  100. package/src/sap/ui/core/Message.js +1 -1
  101. package/src/sap/ui/core/RenderManager.js +41 -32
  102. package/src/sap/ui/core/Renderer.js +1 -1
  103. package/src/sap/ui/core/ResizeHandler.js +1 -1
  104. package/src/sap/ui/core/ScrollBar.js +1 -1
  105. package/src/sap/ui/core/SeparatorItem.js +1 -1
  106. package/src/sap/ui/core/StaticArea.js +0 -1
  107. package/src/sap/ui/core/Title.js +1 -1
  108. package/src/sap/ui/core/TooltipBase.js +1 -1
  109. package/src/sap/ui/core/UIArea.js +1 -1
  110. package/src/sap/ui/core/UIComponent.js +3 -3
  111. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  112. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  113. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  114. package/src/sap/ui/core/XMLComposite.js +1 -1
  115. package/src/sap/ui/core/XMLCompositeMetadata.js +4 -4
  116. package/src/sap/ui/core/XMLTemplateProcessor.js +3 -3
  117. package/src/sap/ui/core/_IconRegistry.js +1 -1
  118. package/src/sap/ui/core/cldr/ar.json +5 -1
  119. package/src/sap/ui/core/cldr/ar_EG.json +5 -1
  120. package/src/sap/ui/core/cldr/ar_SA.json +5 -1
  121. package/src/sap/ui/core/cldr/bg.json +4 -0
  122. package/src/sap/ui/core/cldr/ca.json +4 -0
  123. package/src/sap/ui/core/cldr/cnr.json +4 -0
  124. package/src/sap/ui/core/cldr/cs.json +4 -0
  125. package/src/sap/ui/core/cldr/cy.json +4 -0
  126. package/src/sap/ui/core/cldr/da.json +4 -0
  127. package/src/sap/ui/core/cldr/de.json +4 -0
  128. package/src/sap/ui/core/cldr/de_AT.json +4 -0
  129. package/src/sap/ui/core/cldr/de_CH.json +4 -0
  130. package/src/sap/ui/core/cldr/el.json +4 -0
  131. package/src/sap/ui/core/cldr/el_CY.json +4 -0
  132. package/src/sap/ui/core/cldr/en.json +4 -0
  133. package/src/sap/ui/core/cldr/en_AU.json +4 -0
  134. package/src/sap/ui/core/cldr/en_GB.json +4 -0
  135. package/src/sap/ui/core/cldr/en_HK.json +5 -1
  136. package/src/sap/ui/core/cldr/en_IE.json +4 -0
  137. package/src/sap/ui/core/cldr/en_IN.json +5 -1
  138. package/src/sap/ui/core/cldr/en_NZ.json +4 -0
  139. package/src/sap/ui/core/cldr/en_PG.json +4 -0
  140. package/src/sap/ui/core/cldr/en_SG.json +5 -1
  141. package/src/sap/ui/core/cldr/en_ZA.json +4 -0
  142. package/src/sap/ui/core/cldr/es.json +4 -0
  143. package/src/sap/ui/core/cldr/es_AR.json +4 -0
  144. package/src/sap/ui/core/cldr/es_BO.json +4 -0
  145. package/src/sap/ui/core/cldr/es_CL.json +4 -0
  146. package/src/sap/ui/core/cldr/es_CO.json +4 -0
  147. package/src/sap/ui/core/cldr/es_MX.json +4 -0
  148. package/src/sap/ui/core/cldr/es_PE.json +4 -0
  149. package/src/sap/ui/core/cldr/es_UY.json +4 -0
  150. package/src/sap/ui/core/cldr/es_VE.json +4 -0
  151. package/src/sap/ui/core/cldr/et.json +4 -0
  152. package/src/sap/ui/core/cldr/fa.json +6 -3
  153. package/src/sap/ui/core/cldr/fi.json +4 -0
  154. package/src/sap/ui/core/cldr/fr.json +4 -0
  155. package/src/sap/ui/core/cldr/fr_BE.json +4 -0
  156. package/src/sap/ui/core/cldr/fr_CA.json +4 -0
  157. package/src/sap/ui/core/cldr/fr_CH.json +4 -0
  158. package/src/sap/ui/core/cldr/fr_LU.json +4 -0
  159. package/src/sap/ui/core/cldr/he.json +6 -3
  160. package/src/sap/ui/core/cldr/hi.json +5 -1
  161. package/src/sap/ui/core/cldr/hr.json +4 -0
  162. package/src/sap/ui/core/cldr/hu.json +4 -0
  163. package/src/sap/ui/core/cldr/id.json +5 -1
  164. package/src/sap/ui/core/cldr/it.json +4 -0
  165. package/src/sap/ui/core/cldr/it_CH.json +4 -0
  166. package/src/sap/ui/core/cldr/ja.json +5 -1
  167. package/src/sap/ui/core/cldr/kk.json +4 -0
  168. package/src/sap/ui/core/cldr/ko.json +5 -1
  169. package/src/sap/ui/core/cldr/lt.json +4 -0
  170. package/src/sap/ui/core/cldr/lv.json +4 -0
  171. package/src/sap/ui/core/cldr/mk.json +4 -0
  172. package/src/sap/ui/core/cldr/ms.json +5 -1
  173. package/src/sap/ui/core/cldr/nb.json +5 -2
  174. package/src/sap/ui/core/cldr/nl.json +4 -0
  175. package/src/sap/ui/core/cldr/nl_BE.json +4 -0
  176. package/src/sap/ui/core/cldr/pl.json +4 -0
  177. package/src/sap/ui/core/cldr/pt.json +4 -0
  178. package/src/sap/ui/core/cldr/pt_PT.json +4 -0
  179. package/src/sap/ui/core/cldr/ro.json +4 -0
  180. package/src/sap/ui/core/cldr/ru.json +4 -0
  181. package/src/sap/ui/core/cldr/ru_UA.json +4 -0
  182. package/src/sap/ui/core/cldr/sk.json +4 -0
  183. package/src/sap/ui/core/cldr/sl.json +4 -0
  184. package/src/sap/ui/core/cldr/sr.json +4 -0
  185. package/src/sap/ui/core/cldr/sr_Latn.json +6 -2
  186. package/src/sap/ui/core/cldr/sv.json +4 -0
  187. package/src/sap/ui/core/cldr/th.json +5 -1
  188. package/src/sap/ui/core/cldr/tr.json +5 -1
  189. package/src/sap/ui/core/cldr/uk.json +4 -0
  190. package/src/sap/ui/core/cldr/vi.json +4 -0
  191. package/src/sap/ui/core/cldr/zh_CN.json +5 -1
  192. package/src/sap/ui/core/cldr/zh_HK.json +6 -3
  193. package/src/sap/ui/core/cldr/zh_SG.json +6 -3
  194. package/src/sap/ui/core/cldr/zh_TW.json +5 -1
  195. package/src/sap/ui/core/date/UI5Date.js +1 -1
  196. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  197. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  198. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  199. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  200. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  201. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  202. package/src/sap/ui/core/fieldhelp/FieldHelp.js +8 -10
  203. package/src/sap/ui/core/fieldhelp/FieldHelpCustomData.js +88 -0
  204. package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +22 -26
  205. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  206. package/src/sap/ui/core/format/NumberFormat.js +17 -24
  207. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  208. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  209. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  210. package/src/sap/ui/core/library.js +5 -7
  211. package/src/sap/ui/core/library.support.js +10 -1
  212. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  213. package/src/sap/ui/core/message/Message.js +1 -1
  214. package/src/sap/ui/core/message/MessageManager.js +1 -1
  215. package/src/sap/ui/core/message/MessageParser.js +1 -1
  216. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  217. package/src/sap/ui/core/messagebundle.properties +6 -12
  218. package/src/sap/ui/core/messagebundle_ar.properties +3 -6
  219. package/src/sap/ui/core/messagebundle_bg.properties +3 -6
  220. package/src/sap/ui/core/messagebundle_ca.properties +3 -6
  221. package/src/sap/ui/core/messagebundle_cnr.properties +3 -6
  222. package/src/sap/ui/core/messagebundle_cs.properties +3 -6
  223. package/src/sap/ui/core/messagebundle_cy.properties +3 -6
  224. package/src/sap/ui/core/messagebundle_da.properties +3 -6
  225. package/src/sap/ui/core/messagebundle_de.properties +3 -6
  226. package/src/sap/ui/core/messagebundle_el.properties +3 -6
  227. package/src/sap/ui/core/messagebundle_en.properties +3 -6
  228. package/src/sap/ui/core/messagebundle_en_GB.properties +3 -6
  229. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +3 -6
  230. package/src/sap/ui/core/messagebundle_es.properties +3 -6
  231. package/src/sap/ui/core/messagebundle_es_MX.properties +3 -6
  232. package/src/sap/ui/core/messagebundle_et.properties +3 -6
  233. package/src/sap/ui/core/messagebundle_fi.properties +3 -6
  234. package/src/sap/ui/core/messagebundle_fr.properties +3 -6
  235. package/src/sap/ui/core/messagebundle_fr_CA.properties +3 -6
  236. package/src/sap/ui/core/messagebundle_hi.properties +3 -6
  237. package/src/sap/ui/core/messagebundle_hr.properties +3 -6
  238. package/src/sap/ui/core/messagebundle_hu.properties +3 -6
  239. package/src/sap/ui/core/messagebundle_id.properties +3 -6
  240. package/src/sap/ui/core/messagebundle_it.properties +53 -56
  241. package/src/sap/ui/core/messagebundle_iw.properties +3 -6
  242. package/src/sap/ui/core/messagebundle_ja.properties +3 -6
  243. package/src/sap/ui/core/messagebundle_kk.properties +3 -6
  244. package/src/sap/ui/core/messagebundle_ko.properties +3 -6
  245. package/src/sap/ui/core/messagebundle_lt.properties +3 -6
  246. package/src/sap/ui/core/messagebundle_lv.properties +3 -6
  247. package/src/sap/ui/core/messagebundle_mk.properties +3 -6
  248. package/src/sap/ui/core/messagebundle_ms.properties +3 -6
  249. package/src/sap/ui/core/messagebundle_nl.properties +3 -6
  250. package/src/sap/ui/core/messagebundle_no.properties +4 -7
  251. package/src/sap/ui/core/messagebundle_pl.properties +3 -6
  252. package/src/sap/ui/core/messagebundle_pt.properties +3 -6
  253. package/src/sap/ui/core/messagebundle_pt_PT.properties +3 -6
  254. package/src/sap/ui/core/messagebundle_ro.properties +3 -6
  255. package/src/sap/ui/core/messagebundle_ru.properties +3 -6
  256. package/src/sap/ui/core/messagebundle_sh.properties +3 -6
  257. package/src/sap/ui/core/messagebundle_sk.properties +3 -6
  258. package/src/sap/ui/core/messagebundle_sl.properties +3 -6
  259. package/src/sap/ui/core/messagebundle_sr.properties +3 -6
  260. package/src/sap/ui/core/messagebundle_sv.properties +3 -6
  261. package/src/sap/ui/core/messagebundle_th.properties +3 -6
  262. package/src/sap/ui/core/messagebundle_tr.properties +3 -6
  263. package/src/sap/ui/core/messagebundle_uk.properties +3 -6
  264. package/src/sap/ui/core/messagebundle_vi.properties +3 -6
  265. package/src/sap/ui/core/messagebundle_zh_CN.properties +3 -6
  266. package/src/sap/ui/core/messagebundle_zh_TW.properties +3 -6
  267. package/src/sap/ui/core/mvc/Controller.js +2 -2
  268. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  269. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  270. package/src/sap/ui/core/mvc/JSView.js +1 -1
  271. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  272. package/src/sap/ui/core/mvc/View.js +3 -3
  273. package/src/sap/ui/core/mvc/XMLView.js +2 -2
  274. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  275. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  276. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  277. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  278. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  279. package/src/sap/ui/core/routing/Route.js +4 -4
  280. package/src/sap/ui/core/routing/Router.js +5 -5
  281. package/src/sap/ui/core/routing/Targets.js +3 -3
  282. package/src/sap/ui/core/routing/async/Target.js +1 -1
  283. package/src/sap/ui/core/routing/async/Targets.js +2 -2
  284. package/src/sap/ui/core/rules/App.support.js +13 -2
  285. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  286. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  287. package/src/sap/ui/core/service/Service.js +1 -1
  288. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  289. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  290. package/src/sap/ui/core/support/Plugin.js +1 -1
  291. package/src/sap/ui/core/support/Support.js +1 -1
  292. package/src/sap/ui/core/support/ToolsAPI.js +4 -2
  293. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  294. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  295. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  296. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  297. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  298. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  299. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  300. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  301. package/src/sap/ui/core/themes/base/base.less +4238 -122
  302. package/src/sap/ui/core/themes/base/global.less +460 -7
  303. package/src/sap/ui/core/themes/base/skeleton.less +454 -3
  304. package/src/sap/ui/core/themes/sap_hcb/global.less +493 -40
  305. package/src/sap/ui/core/theming/Parameters.js +6 -6
  306. package/src/sap/ui/core/theming/ThemeHelper.js +16 -13
  307. package/src/sap/ui/core/theming/ThemeManager.js +1 -1
  308. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  309. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  310. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  311. package/src/sap/ui/core/tmpl/Template.js +1 -1
  312. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  313. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  314. package/src/sap/ui/core/util/Export.js +1 -1
  315. package/src/sap/ui/core/util/ExportCell.js +1 -1
  316. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  317. package/src/sap/ui/core/util/ExportRow.js +1 -1
  318. package/src/sap/ui/core/util/ExportType.js +1 -1
  319. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  320. package/src/sap/ui/core/util/File.js +1 -1
  321. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  322. package/src/sap/ui/core/util/MockServer.js +1 -1
  323. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  324. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +134 -148
  325. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +165 -202
  326. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +365 -468
  327. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  328. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  329. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  330. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  331. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  332. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  333. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  334. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  335. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  336. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  337. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  338. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  339. package/src/sap/ui/debug/ControlTree.js +1 -1
  340. package/src/sap/ui/debug/DebugEnv.js +1 -1
  341. package/src/sap/ui/debug/PropertyList.js +1 -1
  342. package/src/sap/ui/dom/findTabbable.js +13 -6
  343. package/src/sap/ui/model/ClientModel.js +1 -1
  344. package/src/sap/ui/model/CompositeDataState.js +11 -12
  345. package/src/sap/ui/model/CompositeType.js +1 -1
  346. package/src/sap/ui/model/Context.js +0 -2
  347. package/src/sap/ui/model/DataState.js +33 -5
  348. package/src/sap/ui/model/ListBinding.js +19 -0
  349. package/src/sap/ui/model/MetaModel.js +1 -1
  350. package/src/sap/ui/model/Model.js +1 -1
  351. package/src/sap/ui/model/SelectionModel.js +1 -1
  352. package/src/sap/ui/model/SimpleType.js +1 -1
  353. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  354. package/src/sap/ui/model/Type.js +1 -1
  355. package/src/sap/ui/model/_Helper.js +3 -1
  356. package/src/sap/ui/model/json/JSONModel.js +12 -1
  357. package/src/sap/ui/model/message/MessageModel.js +1 -1
  358. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  359. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  360. package/src/sap/ui/model/odata/ODataMetaModel.js +116 -35
  361. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  362. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  363. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +106 -19
  364. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  365. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  366. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  367. package/src/sap/ui/model/odata/type/Date.js +1 -1
  368. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  369. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  370. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  371. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  372. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  373. package/src/sap/ui/model/odata/type/Double.js +1 -1
  374. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  375. package/src/sap/ui/model/odata/type/Int.js +1 -1
  376. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  377. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  378. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  379. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  380. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  381. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  382. package/src/sap/ui/model/odata/type/Single.js +1 -1
  383. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  384. package/src/sap/ui/model/odata/type/String.js +1 -1
  385. package/src/sap/ui/model/odata/type/Time.js +1 -1
  386. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  387. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  388. package/src/sap/ui/model/odata/type/UnitMixin.js +14 -9
  389. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  390. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  391. package/src/sap/ui/model/odata/v2/ODataListBinding.js +21 -6
  392. package/src/sap/ui/model/odata/v2/ODataModel.js +109 -8
  393. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  394. package/src/sap/ui/model/odata/v4/Context.js +63 -14
  395. package/src/sap/ui/model/odata/v4/ODataBinding.js +10 -0
  396. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  397. package/src/sap/ui/model/odata/v4/ODataListBinding.js +135 -98
  398. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -10
  399. package/src/sap/ui/model/odata/v4/ODataModel.js +62 -4
  400. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  401. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +141 -51
  402. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +53 -19
  403. package/src/sap/ui/model/odata/v4/lib/_Cache.js +152 -37
  404. package/src/sap/ui/model/odata/v4/lib/_Helper.js +70 -9
  405. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +44 -7
  406. package/src/sap/ui/model/odata/v4/lib/_TreeState.js +57 -40
  407. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  408. package/src/sap/ui/model/type/Boolean.js +1 -1
  409. package/src/sap/ui/model/type/Currency.js +1 -1
  410. package/src/sap/ui/model/type/Date.js +3 -2
  411. package/src/sap/ui/model/type/DateInterval.js +3 -2
  412. package/src/sap/ui/model/type/DateTime.js +1 -1
  413. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  414. package/src/sap/ui/model/type/FileSize.js +1 -1
  415. package/src/sap/ui/model/type/Float.js +1 -1
  416. package/src/sap/ui/model/type/Integer.js +1 -1
  417. package/src/sap/ui/model/type/String.js +1 -1
  418. package/src/sap/ui/model/type/Time.js +1 -1
  419. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  420. package/src/sap/ui/model/type/Unit.js +1 -1
  421. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  422. package/src/sap/ui/performance/trace/FESR.js +19 -10
  423. package/src/sap/ui/performance/trace/Interaction.js +45 -659
  424. package/src/sap/ui/performance/trace/_InteractionImpl.js +705 -0
  425. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  426. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  427. package/src/sap/ui/test/TestUtils.js +51 -24
  428. package/src/sap/ui/test/generic/TestBase.js +1 -1
  429. package/src/sap/ui/test/gherkin/opa5TestHarness.js +6 -2
  430. package/src/sap/ui/util/Storage.js +1 -1
  431. package/src/sap/ui/util/_enforceNoReturnValue.js +1 -1
  432. package/src/ui5loader.js +1 -1
@@ -5,25 +5,37 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
+ "sap/base/util/isPlainObject",
9
+ "sap/base/Log",
8
10
  "sap/ui/base/ManagedObject",
9
11
  "sap/ui/base/ManagedObjectMetadata",
10
- "sap/ui/util/XMLHelper",
11
- "sap/ui/core/XMLTemplateProcessor",
12
12
  "sap/ui/core/util/XMLPreprocessor",
13
- "sap/base/util/isPlainObject",
14
- "sap/base/Log"
13
+ "sap/ui/core/XMLTemplateProcessor",
14
+ "sap/ui/util/XMLHelper"
15
15
  ], function(
16
+ isPlainObject,
17
+ Log,
16
18
  ManagedObject,
17
19
  ManagedObjectMetadata,
18
- XMLHelper,
19
- XMLTemplateProcessor,
20
20
  XMLPreprocessor,
21
- isPlainObject,
22
- Log
21
+ XMLTemplateProcessor,
22
+ XMLHelper
23
23
  ) {
24
24
 
25
25
  "use strict";
26
26
 
27
+ function requireClass(sClassName) {
28
+ return new Promise(function(fnResolve, fnReject) {
29
+ sap.ui.require([sClassName],
30
+ function(oClassObject) { fnResolve(oClassObject); },
31
+ function() {
32
+ fnReject(new Error("Required control '" + sClassName
33
+ + "' couldn't be created asynchronously"));
34
+ }
35
+ );
36
+ });
37
+ }
38
+
27
39
  /**
28
40
  * Abstract static utility class to access <code>ManagedObjects</code> and <code>XMLNodes</code> that represent
29
41
  * <code>ManagedObjects</code> in a harmonized way.
@@ -42,8 +54,8 @@ sap.ui.define([
42
54
  return /** @lends sap.ui.core.util.reflection.BaseTreeModifier */{
43
55
 
44
56
  /**
45
- * Function determining the control targeted by the change. It is also possible to pass an extensionpoint selector.
46
- * In this case an extension point is referenced in the selector but the parent control of the extensionpoint will be returned.
57
+ * Function determining the control targeted by the change. It is also possible to pass an extension point selector.
58
+ * In this case an extension point is referenced in the selector but the parent control of the extension point will be returned.
47
59
  *
48
60
  * @param {object} oSelector - Target of a flexibility change
49
61
  * @param {string} [oSelector.id] - ID of the control targeted by the change. (name or id property is mandatory for selector)
@@ -55,7 +67,7 @@ sap.ui.define([
55
67
  * @throws {Error} In case no control could be determined, an error is thrown
56
68
  * @public
57
69
  */
58
- bySelectorExtensionPointEnabled: function (oSelector, oAppComponent, oView) {
70
+ bySelectorExtensionPointEnabled: function(oSelector, oAppComponent, oView) {
59
71
  return Promise.resolve(this.bySelector(oSelector, oAppComponent, oView));
60
72
  },
61
73
 
@@ -72,20 +84,14 @@ sap.ui.define([
72
84
  * @throws {Error} In case no control could be determined, an error is thrown
73
85
  * @public
74
86
  */
75
- bySelectorTypeIndependent: function (oSelector, oAppComponent, oView) {
76
- var sControlId;
77
- return Promise.resolve()
78
- .then(function () {
79
- if (oSelector && oSelector.name) {
80
- oView = oView || this.bySelector(oSelector.viewSelector, oAppComponent);
81
- return this.getExtensionPointInfo(oSelector.name, oView)
82
- .then(function (oExtensionPointInfo) {
83
- return oExtensionPointInfo ? oExtensionPointInfo.parent : undefined;
84
- });
85
- }
86
- sControlId = this.getControlIdBySelector(oSelector, oAppComponent);
87
- return this._byId(sControlId, oView);
88
- }.bind(this));
87
+ bySelectorTypeIndependent: async function(oSelector, oAppComponent, oView) {
88
+ if (oSelector?.name) {
89
+ oView ||= this.bySelector(oSelector.viewSelector, oAppComponent);
90
+ const oExtensionPointInfo = await this.getExtensionPointInfo(oSelector.name, oView);
91
+ return oExtensionPointInfo ? oExtensionPointInfo.parent : undefined;
92
+ }
93
+ const sControlId = this.getControlIdBySelector(oSelector, oAppComponent);
94
+ return this._byId(sControlId, oView);
89
95
  },
90
96
 
91
97
  /**
@@ -100,8 +106,8 @@ sap.ui.define([
100
106
  * @throws {Error} In case no control could be determined, an error is thrown
101
107
  * @public
102
108
  */
103
- bySelector: function (oSelector, oAppComponent, oView) {
104
- var sControlId = this.getControlIdBySelector(oSelector, oAppComponent);
109
+ bySelector: function(oSelector, oAppComponent, oView) {
110
+ const sControlId = this.getControlIdBySelector(oSelector, oAppComponent);
105
111
  return this._byId(sControlId, oView);
106
112
  },
107
113
 
@@ -116,7 +122,7 @@ sap.ui.define([
116
122
  * @throws {Error} In case no control could be determined, an error is thrown
117
123
  * @protected
118
124
  */
119
- getControlIdBySelector: function (oSelector, vAppComponent) {
125
+ getControlIdBySelector: function(oSelector, vAppComponent) {
120
126
  if (!oSelector){
121
127
  return undefined;
122
128
  }
@@ -127,7 +133,7 @@ sap.ui.define([
127
133
  };
128
134
  }
129
135
 
130
- var sControlId = oSelector.id;
136
+ let sControlId = oSelector.id;
131
137
 
132
138
  if (oSelector.idIsLocal) {
133
139
  if (vAppComponent) {
@@ -156,8 +162,8 @@ sap.ui.define([
156
162
  * @throws {Error} In case no control could be determined, an error is thrown
157
163
  * @public
158
164
  */
159
- getSelector: function (vControl, oAppComponent, mAdditionalSelectorInformation) {
160
- var sControlId = vControl;
165
+ getSelector: function(vControl, oAppComponent, mAdditionalSelectorInformation) {
166
+ let sControlId = vControl;
161
167
  if (typeof sControlId !== "string") {
162
168
  sControlId = (vControl) ? this.getId(vControl) : undefined;
163
169
  } else if (!oAppComponent) {
@@ -169,19 +175,19 @@ sap.ui.define([
169
175
  "but core properties were overwritten by the additionally passed information.");
170
176
  }
171
177
 
172
- var bValidId = this.checkControlId(sControlId, oAppComponent);
178
+ const bValidId = this.checkControlId(sControlId, oAppComponent);
173
179
  if (!bValidId) {
174
180
  throw new Error("Generated ID attribute found - to offer flexibility a stable control ID is needed to assign the changes to, but for this control the ID was generated by SAPUI5 " + sControlId);
175
181
  }
176
182
 
177
- var oSelector = Object.assign({}, mAdditionalSelectorInformation, {
183
+ const oSelector = Object.assign({}, mAdditionalSelectorInformation, {
178
184
  id: "",
179
185
  idIsLocal: false
180
186
  });
181
187
 
182
188
  if (this.hasLocalIdSuffix(sControlId, oAppComponent)) {
183
189
  // get local Id for control at root component and use it as selector ID
184
- var sLocalId = oAppComponent.getLocalId(sControlId);
190
+ const sLocalId = oAppComponent.getLocalId(sControlId);
185
191
  oSelector.id = sLocalId;
186
192
  oSelector.idIsLocal = true;
187
193
  } else {
@@ -199,9 +205,9 @@ sap.ui.define([
199
205
  * @returns {boolean} <code>true</code> if the ID is maintained by the application
200
206
  * @protected
201
207
  */
202
- checkControlId: function (vControl, oAppComponent) {
203
- var sControlId = vControl instanceof ManagedObject ? vControl.getId() : vControl;
204
- var bIsGenerated = ManagedObjectMetadata.isGeneratedId(sControlId);
208
+ checkControlId: function(vControl, oAppComponent) {
209
+ const sControlId = vControl instanceof ManagedObject ? vControl.getId() : vControl;
210
+ const bIsGenerated = ManagedObjectMetadata.isGeneratedId(sControlId);
205
211
 
206
212
  return !bIsGenerated || this.hasLocalIdSuffix(vControl, oAppComponent);
207
213
  },
@@ -215,8 +221,8 @@ sap.ui.define([
215
221
  * @returns {boolean} <code>true</code> if the control has a local ID
216
222
  * @protected
217
223
  */
218
- hasLocalIdSuffix: function (vControl, oAppComponent) {
219
- var sControlId = (vControl instanceof ManagedObject) ? vControl.getId() : vControl;
224
+ hasLocalIdSuffix: function(vControl, oAppComponent) {
225
+ const sControlId = (vControl instanceof ManagedObject) ? vControl.getId() : vControl;
220
226
 
221
227
  if (!oAppComponent) {
222
228
  return false;
@@ -237,14 +243,15 @@ sap.ui.define([
237
243
  * @returns {Element} Original fragment in XML with updated IDs
238
244
  */
239
245
  _checkAndPrefixIdsInFragment: function(oFragment, sIdPrefix) {
240
- var oParseError = XMLHelper.getParseError(oFragment);
246
+ const oParseError = XMLHelper.getParseError(oFragment);
241
247
  if (oParseError.errorCode !== 0) {
242
248
  return Promise.reject(new Error(oFragment.parseError.reason));
243
249
  }
244
250
 
245
- var oControlNodes = oFragment.documentElement;
251
+ const oControlNodes = oFragment.documentElement;
246
252
 
247
- var aRootChildren = [], aChildren = [];
253
+ let aRootChildren = [];
254
+ let aChildren = [];
248
255
  if (oControlNodes.localName === "FragmentDefinition") {
249
256
  aRootChildren = this._getElementNodeChildren(oControlNodes);
250
257
  } else {
@@ -256,13 +263,13 @@ sap.ui.define([
256
263
  function oCallback(oChild) {
257
264
  aChildren.push(oChild);
258
265
  }
259
- var oPromiseChain = Promise.resolve();
260
- for (var i = 0, n = aRootChildren.length; i < n; i++) {
266
+ let oPromiseChain = Promise.resolve();
267
+ for (let i = 0, n = aRootChildren.length; i < n; i++) {
261
268
  oPromiseChain = oPromiseChain.then(this._traverseXmlTree.bind(this, oCallback, aRootChildren[i]));
262
269
  }
263
270
 
264
- return oPromiseChain.then(function () {
265
- for (var j = 0, m = aChildren.length; j < m; j++) {
271
+ return oPromiseChain.then(function() {
272
+ for (let j = 0, m = aChildren.length; j < m; j++) {
266
273
  // aChildren[j].id is not available in IE11, therefore using .getAttribute/.setAttribute
267
274
  if (aChildren[j].getAttribute("id")) {
268
275
  aChildren[j].setAttribute("id", sIdPrefix + "." + aChildren[j].getAttribute("id"));
@@ -282,9 +289,9 @@ sap.ui.define([
282
289
  * @returns {Element[]} Array with the children of the node
283
290
  */
284
291
  _getElementNodeChildren: function(oNode) {
285
- var aChildren = [];
286
- var aNodes = oNode.childNodes;
287
- for (var i = 0, n = aNodes.length; i < n; i++) {
292
+ const aChildren = [];
293
+ const aNodes = oNode.childNodes;
294
+ for (let i = 0, n = aNodes.length; i < n; i++) {
288
295
  if (aNodes[i].nodeType === 1) {
289
296
  aChildren.push(aNodes[i]);
290
297
  }
@@ -296,27 +303,16 @@ sap.ui.define([
296
303
  * Gets the metadata of an XML control.
297
304
  *
298
305
  * @param {Element} oControl - Control in XML
299
- * @returns {Promise<sap.ui.base.Metadata>} Resolves methadata of the control
306
+ * @returns {Promise<sap.ui.base.Metadata>} Resolves with the metadata of the control
300
307
  */
301
- _getControlMetadataInXml: function(oControl) {
302
- var sControlType = this._getControlTypeInXml(oControl).replace(/\./g, "/");
303
- var oControlType = sap.ui.require(sControlType);
304
- if (oControlType && oControlType.getMetadata) {
305
- return Promise.resolve(oControlType.getMetadata());
308
+ _getControlMetadataInXml: async function(oControl) {
309
+ const sControlType = this._getControlTypeInXml(oControl).replace(/\./g, "/");
310
+ const oControlType = sap.ui.require(sControlType) || await requireClass(sControlType);
311
+ if (oControlType?.getMetadata) {
312
+ return oControlType.getMetadata();
313
+ } else {
314
+ throw new Error("getMetadata function is not available on control type");
306
315
  }
307
- return new Promise(function(fnResolve, fnReject) {
308
- sap.ui.require([sControlType],
309
- function(ControlType) {
310
- if (ControlType.getMetadata) {
311
- fnResolve(ControlType.getMetadata());
312
- }
313
- fnReject(new Error("getMetadata function is not available on control type"));
314
- },
315
- function() {
316
- fnReject(new Error("Required control '" + sControlType + "' couldn't be found"));
317
- }
318
- );
319
- });
320
316
  },
321
317
 
322
318
  /**
@@ -334,11 +330,9 @@ sap.ui.define([
334
330
  * @param {sap.ui.base.ManagedObject|Element} vControl - Control representation
335
331
  * @returns {Promise<string>} library name wrapped in a promise
336
332
  */
337
- getLibraryName: function(vControl) {
338
- return this.getControlMetadata(vControl)
339
- .then(function (oMetadata) {
340
- return oMetadata.getLibraryName();
341
- });
333
+ getLibraryName: async function(vControl) {
334
+ const oMetadata = await this.getControlMetadata(vControl);
335
+ return oMetadata.getLibraryName();
342
336
  },
343
337
 
344
338
 
@@ -348,8 +342,8 @@ sap.ui.define([
348
342
  * @param {Element} oControl - Control in XML
349
343
  * @returns {string} Control type as a string, e.g. <code>sap.m.Button</code>
350
344
  */
351
- _getControlTypeInXml: function (oControl) {
352
- var sControlType = oControl.namespaceURI;
345
+ _getControlTypeInXml: function(oControl) {
346
+ let sControlType = oControl.namespaceURI;
353
347
  sControlType = sControlType ? sControlType + "." : ""; // add a dot if there is already a prefix
354
348
  sControlType += oControl.localName;
355
349
 
@@ -364,42 +358,34 @@ sap.ui.define([
364
358
  * @param {Element} oRootNode - Root node from which we start traversing the tree
365
359
  * @returns {Promise} resolves when async processing is done
366
360
  */
367
- _traverseXmlTree: function (fnCallback, oRootNode) {
368
- function recurse(oParent, oCurrentNode, bIsAggregation) {
369
- return Promise.resolve()
370
- .then(function () {
371
- if (!bIsAggregation) {
372
- return this._getControlMetadataInXml(oCurrentNode, true);
373
- }
374
- return undefined;
375
- }.bind(this))
376
-
377
- .then(function (oMetadata) {
378
- return oMetadata && oMetadata.getAllAggregations();
379
- })
380
- .then(function (aAggregations) {
381
- var aChildren = this._getElementNodeChildren(oCurrentNode);
382
- var oPromiseChain = Promise.resolve();
383
- aChildren.forEach(function(oChild) {
384
- var bIsCurrentNodeAggregation = aAggregations && aAggregations[oChild.localName];
385
- oPromiseChain = oPromiseChain.then(function() {
386
- return recurse.call(this, oCurrentNode, oChild, bIsCurrentNodeAggregation)
387
- .then(function () {
388
- // if it's an aggregation, we don't call the callback function
389
- if (!bIsCurrentNodeAggregation) {
390
- fnCallback(oChild);
391
- }
392
- });
393
- }.bind(this));
394
- }.bind(this));
395
-
396
- return oPromiseChain;
361
+ _traverseXmlTree: function(fnCallback, oRootNode) {
362
+ async function fnRecurse(oCurrentNode, bIsAggregation) {
363
+ let oMetadata;
364
+ if (!bIsAggregation) {
365
+ oMetadata = await this._getControlMetadataInXml(oCurrentNode, true);
366
+ }
367
+ const aAggregations = oMetadata && await oMetadata.getAllAggregations();
368
+ const aChildren = this._getElementNodeChildren(oCurrentNode);
369
+ let oPromiseChain = Promise.resolve();
370
+ aChildren.forEach(function(oChild) {
371
+ const bIsCurrentNodeAggregation = aAggregations && aAggregations[oChild.localName];
372
+ oPromiseChain = oPromiseChain.then(function() {
373
+ return fnRecurse.call(this, oChild, bIsCurrentNodeAggregation)
374
+ .then(function() {
375
+ // if it's an aggregation, we don't call the callback function
376
+ if (!bIsCurrentNodeAggregation) {
377
+ fnCallback(oChild);
378
+ }
379
+ });
397
380
  }.bind(this));
381
+ }.bind(this));
382
+
383
+ return oPromiseChain;
398
384
  }
399
- return recurse.call(this, oRootNode, oRootNode, false);
385
+ return fnRecurse.call(this, oRootNode, false);
400
386
  },
401
387
 
402
- _getSerializedValue: function (vPropertyValue) {
388
+ _getSerializedValue: function(vPropertyValue) {
403
389
  if (this._isSerializable(vPropertyValue) && typeof vPropertyValue !== "string") {
404
390
  //not a property like aggregation
405
391
  //type object can be json objects
@@ -409,12 +395,12 @@ sap.ui.define([
409
395
  return vPropertyValue;
410
396
  },
411
397
 
412
- _isSerializable: function (vPropertyValue) {
398
+ _isSerializable: function(vPropertyValue) {
413
399
  // check for plain object, array, primitives
414
400
  return isPlainObject(vPropertyValue) || Array.isArray(vPropertyValue) || Object(vPropertyValue) !== vPropertyValue;
415
401
  },
416
402
 
417
- _escapeCurlyBracketsInString: function (vPropertyValue) {
403
+ _escapeCurlyBracketsInString: function(vPropertyValue) {
418
404
  return typeof vPropertyValue === "string" ? vPropertyValue.replace(/({|})/g, "\\$&") : vPropertyValue;
419
405
  },
420
406
 
@@ -437,7 +423,7 @@ sap.ui.define([
437
423
  * @public
438
424
  */
439
425
  getPropertyBindingOrProperty: function(vControl, sPropertyName) {
440
- var oPropertyBinding = this.getPropertyBinding(vControl, sPropertyName);
426
+ const oPropertyBinding = this.getPropertyBinding(vControl, sPropertyName);
441
427
  if (oPropertyBinding) {
442
428
  return Promise.resolve(oPropertyBinding);
443
429
  }
@@ -455,10 +441,10 @@ sap.ui.define([
455
441
  * @public
456
442
  */
457
443
  setPropertyBindingOrProperty: function(vControl, sPropertyName, vBindingOrValue) {
458
- var bIsBindingObject = vBindingOrValue && (vBindingOrValue.path || vBindingOrValue.parts);
459
- var bIsBindingString = vBindingOrValue && typeof vBindingOrValue === "string" && vBindingOrValue.substring(0, 1) === "{" && vBindingOrValue.slice(-1) === "}";
444
+ const bIsBindingObject = vBindingOrValue && (vBindingOrValue.path || vBindingOrValue.parts);
445
+ const bIsBindingString = vBindingOrValue && typeof vBindingOrValue === "string" && vBindingOrValue.substring(0, 1) === "{" && vBindingOrValue.slice(-1) === "}";
460
446
 
461
- var sOperation = bIsBindingObject || bIsBindingString ? "setPropertyBinding" : "setProperty";
447
+ const sOperation = bIsBindingObject || bIsBindingString ? "setPropertyBinding" : "setProperty";
462
448
  this[sOperation](vControl, sPropertyName, vBindingOrValue);
463
449
  },
464
450
 
@@ -470,7 +456,7 @@ sap.ui.define([
470
456
  * @param {boolean} bVisible - New value for <code>visible</code> property
471
457
  * @public
472
458
  */
473
- setVisible: function (vControl, bVisible) {},
459
+ setVisible: function(vControl, bVisible) {},
474
460
 
475
461
  /**
476
462
  * See {@link sap.ui.core.Control#getVisible} method.
@@ -480,7 +466,7 @@ sap.ui.define([
480
466
  * @returns {Promise<boolean>} <code>true</code> if the control's <code>visible</code> property is set wrapped in promise
481
467
  * @public
482
468
  */
483
- getVisible: function (vControl) {},
469
+ getVisible: function(vControl) {},
484
470
 
485
471
  /**
486
472
  * Sets the new value for stashed and visible.
@@ -490,7 +476,7 @@ sap.ui.define([
490
476
  * @param {boolean} bStashed - New value for <code>stashed</code> property
491
477
  * @public
492
478
  */
493
- setStashed: function (vControl, bStashed) {},
479
+ setStashed: function(vControl, bStashed) {},
494
480
 
495
481
  /**
496
482
  * Retrieves the current value of the stashed property.
@@ -500,7 +486,7 @@ sap.ui.define([
500
486
  * @returns {boolean} <code>true</code> if the control is stashed
501
487
  * @public
502
488
  */
503
- getStashed: function (vControl) {},
489
+ getStashed: function(vControl) {},
504
490
 
505
491
  /**
506
492
  * See {@link sap.ui.base.ManagedObject#bindProperty} method.
@@ -511,7 +497,7 @@ sap.ui.define([
511
497
  * @param {object} vBindingInfos - Binding info
512
498
  * @public
513
499
  */
514
- bindProperty: function (vControl, sPropertyName, vBindingInfos) {},
500
+ bindProperty: function(vControl, sPropertyName, vBindingInfos) {},
515
501
 
516
502
  /**
517
503
  * See {@link sap.ui.base.ManagedObject#unbindProperty} method.
@@ -521,7 +507,7 @@ sap.ui.define([
521
507
  * @param {string} sPropertyName - Property name to be unbound
522
508
  * @public
523
509
  */
524
- unbindProperty: function (vControl, sPropertyName) {},
510
+ unbindProperty: function(vControl, sPropertyName) {},
525
511
 
526
512
  /**
527
513
  * See {@link sap.ui.base.ManagedObject#bindAggregation} method.
@@ -533,7 +519,7 @@ sap.ui.define([
533
519
  * @returns {Promise} resolves when async processing is done
534
520
  * @public
535
521
  */
536
- bindAggregation: function (vControl, sAggregationName, vBindingInfos) {},
522
+ bindAggregation: function(vControl, sAggregationName, vBindingInfos) {},
537
523
 
538
524
  /**
539
525
  * See {@link sap.ui.base.ManagedObject#unbindAggregation} method.
@@ -544,7 +530,7 @@ sap.ui.define([
544
530
  * @returns {Promise} resolves when async processing is done
545
531
  * @public
546
532
  */
547
- unbindAggregation: function (vControl, sAggregationName) {},
533
+ unbindAggregation: function(vControl, sAggregationName) {},
548
534
 
549
535
  /**
550
536
  * See {@link sap.ui.base.ManagedObject#setProperty} method.
@@ -555,7 +541,7 @@ sap.ui.define([
555
541
  * @param {*} vPropertyValue - New value for the property
556
542
  * @public
557
543
  */
558
- setProperty: function (vControl, sPropertyName, vPropertyValue) {},
544
+ setProperty: function(vControl, sPropertyName, vPropertyValue) {},
559
545
 
560
546
  /**
561
547
  * See {@link sap.ui.base.ManagedObject#getProperty} method.
@@ -563,10 +549,10 @@ sap.ui.define([
563
549
  * @abstract
564
550
  * @param {sap.ui.base.ManagedObject|Element} vControl - Control representation
565
551
  * @param {string} sPropertyName - Property name
566
- * @returns {Promise<any>} Value of the property wrapped in a Pomise
552
+ * @returns {Promise<any>} Value of the property wrapped in a Promise
567
553
  * @public
568
554
  */
569
- getProperty: function (vControl, sPropertyName) {},
555
+ getProperty: function(vControl, sPropertyName) {},
570
556
 
571
557
  /**
572
558
  * See {@link sap.ui.base.ManagedObject#isPropertyInitial} method.
@@ -577,7 +563,7 @@ sap.ui.define([
577
563
  * @returns {boolean} <code>true</code> if the property is initial
578
564
  * @public
579
565
  */
580
- isPropertyInitial: function (oControl, sPropertyName) {},
566
+ isPropertyInitial: function(oControl, sPropertyName) {},
581
567
 
582
568
  /**
583
569
  * Similar as {@link #bindProperty}, but allows to specify binding like in control constructor.
@@ -588,7 +574,7 @@ sap.ui.define([
588
574
  * @param {any} vPropertyBinding - See source of <code>sap.ui.base.ManagedObject#extractBindingInfo</code> method
589
575
  * @public
590
576
  */
591
- setPropertyBinding: function (vControl, sPropertyName, vPropertyBinding) {},
577
+ setPropertyBinding: function(vControl, sPropertyName, vPropertyBinding) {},
592
578
 
593
579
  /**
594
580
  * See {@link sap.ui.base.ManagedObject#getBindingInfo} method.
@@ -599,7 +585,7 @@ sap.ui.define([
599
585
  * @returns {*} Binding info
600
586
  * @public
601
587
  */
602
- getPropertyBinding: function (vControl, sPropertyName) {},
588
+ getPropertyBinding: function(vControl, sPropertyName) {},
603
589
 
604
590
 
605
591
  /**
@@ -641,7 +627,7 @@ sap.ui.define([
641
627
  * @returns {Promise<Element>} Promise with Element of the control that is created
642
628
  * @public
643
629
  */
644
- createControl: function (sClassName, oAppComponent, oView, oSelector, mSettings) {},
630
+ createControl: function(sClassName, oAppComponent, oView, oSelector, mSettings) {},
645
631
 
646
632
  /**
647
633
  * See {@link sap.ui.base.ManagedObject#applySettings} method.
@@ -663,7 +649,7 @@ sap.ui.define([
663
649
  * @returns {sap.ui.core.Element|Element} - Control instance or element node or <code>undefined</code> if control cannot be found
664
650
  * @private
665
651
  */
666
- _byId: function (sId, oView) {},
652
+ _byId: function(sId, oView) {},
667
653
 
668
654
  /**
669
655
  * See {@link sap.ui.base.ManagedObject#getId} method.
@@ -673,7 +659,7 @@ sap.ui.define([
673
659
  * @returns {string} ID
674
660
  * @public
675
661
  */
676
- getId: function (vControl) {},
662
+ getId: function(vControl) {},
677
663
 
678
664
  /**
679
665
  * See {@link sap.ui.base.ManagedObject#getParent} method.
@@ -683,7 +669,7 @@ sap.ui.define([
683
669
  * @returns {sap.ui.base.ManagedObject|Element} Parent control in its representation
684
670
  * @public
685
671
  */
686
- getParent: function (vControl) {},
672
+ getParent: function(vControl) {},
687
673
 
688
674
  /**
689
675
  * See {@link sap.ui.base.Metadata#getName} method.
@@ -693,7 +679,7 @@ sap.ui.define([
693
679
  * @returns {string} Control type
694
680
  * @public
695
681
  */
696
- getControlType: function (vControl) {},
682
+ getControlType: function(vControl) {},
697
683
 
698
684
  /**
699
685
  * See {@link sap.ui.base.ManagedObject#setAssociation} method.
@@ -704,7 +690,7 @@ sap.ui.define([
704
690
  * @param {string|sap.ui.base.ManagedObject|Element} sId - ID of the managed object that is set as an association, or the managed object or XML node itself or <code>null</code>
705
691
  * @public
706
692
  */
707
- setAssociation: function (vParent, sName, sId) {},
693
+ setAssociation: function(vParent, sName, sId) {},
708
694
 
709
695
  /**
710
696
  * See {@link sap.ui.base.ManagedObject#getAssociation} method.
@@ -715,7 +701,7 @@ sap.ui.define([
715
701
  * @returns {string|string[]|null} ID of the associated managed object or an array of such IDs; may be <code>null</code> if the association has not been populated
716
702
  * @public
717
703
  */
718
- getAssociation: function (vParent, sName) {},
704
+ getAssociation: function(vParent, sName) {},
719
705
 
720
706
  /**
721
707
  * See {@link sap.ui.base.ManagedObjectMetadata#getAllAggregations} method.
@@ -725,7 +711,7 @@ sap.ui.define([
725
711
  * @return {Promise<Object>} Map of aggregation info objects keyed by aggregation names wrapped in a Promise
726
712
  * @public
727
713
  */
728
- getAllAggregations: function (vControl) {},
714
+ getAllAggregations: function(vControl) {},
729
715
 
730
716
  /**
731
717
  * See {@link sap.ui.base.ManagedObject#getAggregation} method.
@@ -736,7 +722,7 @@ sap.ui.define([
736
722
  * @returns {Promise<sap.ui.base.ManagedObject[]|Element[]>} Aggregation content
737
723
  * @public
738
724
  */
739
- getAggregation: function (vParent, sName) {},
725
+ getAggregation: function(vParent, sName) {},
740
726
 
741
727
 
742
728
  /**
@@ -752,7 +738,7 @@ sap.ui.define([
752
738
  * @returns {Promise} resolves when async processing is done
753
739
  * @public
754
740
  */
755
- insertAggregation: function (vParent, sAggregationName, oObject, iIndex, oView, bSkipAdjustIndex) {},
741
+ insertAggregation: function(vParent, sAggregationName, oObject, iIndex, oView, bSkipAdjustIndex) {},
756
742
 
757
743
 
758
744
  /**
@@ -766,7 +752,7 @@ sap.ui.define([
766
752
  * @returns {Promise} resolves when async processing is done
767
753
  * @public
768
754
  */
769
- removeAggregation: function (vParent, sAggregationName, oObject) {},
755
+ removeAggregation: function(vParent, sAggregationName, oObject) {},
770
756
 
771
757
  /**
772
758
  * Removes the object from an aggregation of the source control and places it into an aggregation of the target control.
@@ -786,7 +772,7 @@ sap.ui.define([
786
772
  * @returns {Promise} resolves when async processing is done
787
773
  * @public
788
774
  */
789
- moveAggregation: function (vSourceParent, sSourceAggregationName, vTargetParent, sTargetAggregationName, oObject, iIndex, oView, bSkipAdjustIndex) {},
775
+ moveAggregation: function(vSourceParent, sSourceAggregationName, vTargetParent, sTargetAggregationName, oObject, iIndex, oView, bSkipAdjustIndex) {},
790
776
 
791
777
  /**
792
778
  * Replaces the whole content of an (multiple) aggregation and adds the passed content to it.
@@ -801,7 +787,7 @@ sap.ui.define([
801
787
  * @returns {Promise<undefined>} Resolves when async processing is done
802
788
  * @public
803
789
  */
804
- replaceAllAggregation: function (vControl, sAggregationName, aNewControls) {},
790
+ replaceAllAggregation: function(vControl, sAggregationName, aNewControls) {},
805
791
 
806
792
  /**
807
793
  * Removes all objects from the aggregation of the given control.
@@ -813,7 +799,7 @@ sap.ui.define([
813
799
  * @returns {Promise} resolves when async processing is done
814
800
  * @public
815
801
  */
816
- removeAllAggregation: function (vParent, sAggregationName) {},
802
+ removeAllAggregation: function(vParent, sAggregationName) {},
817
803
 
818
804
  /**
819
805
  * Gets the binding template from an aggregation.
@@ -825,7 +811,7 @@ sap.ui.define([
825
811
  * @returns {Promise} resolves when async processing is done
826
812
  * @public
827
813
  */
828
- getBindingTemplate: function (vControl, sAggregationName) {},
814
+ getBindingTemplate: function(vControl, sAggregationName) {},
829
815
 
830
816
  /**
831
817
  * See {@link sap.ui.base.ManagedObject#updateAggregation} method.
@@ -836,7 +822,7 @@ sap.ui.define([
836
822
  * @returns {Promise} resolves when async processing is done
837
823
  * @public
838
824
  */
839
- updateAggregation: function (vParent, sAggregationName) {},
825
+ updateAggregation: function(vParent, sAggregationName) {},
840
826
 
841
827
  /**
842
828
  * Finds the index of the control in its parent aggregation.
@@ -846,7 +832,7 @@ sap.ui.define([
846
832
  * @returns {Promise<int>} Index of the control wrapped in a Promise
847
833
  * @public
848
834
  */
849
- findIndexInParentAggregation: function (vControl) {},
835
+ findIndexInParentAggregation: function(vControl) {},
850
836
 
851
837
  /**
852
838
  * Removes all objects from the aggregation of the given control.
@@ -857,7 +843,7 @@ sap.ui.define([
857
843
  * @returns {Promise<string>} Parent aggregation name wrapped in a Promise
858
844
  * @public
859
845
  */
860
- getParentAggregationName: function (vControl, vParent) {},
846
+ getParentAggregationName: function(vControl, vParent) {},
861
847
 
862
848
  /**
863
849
  * Finds the aggregation by the given aggregation name.
@@ -970,8 +956,8 @@ sap.ui.define([
970
956
  * @public
971
957
  */
972
958
  getFlexDelegate: function(vControl) {
973
- var mDelegateInfo;
974
- var sDelegate = this._getFlexCustomData(vControl, "delegate");
959
+ let mDelegateInfo;
960
+ const sDelegate = this._getFlexCustomData(vControl, "delegate");
975
961
  if (typeof sDelegate === "string") {
976
962
  try {
977
963
  mDelegateInfo = JSON.parse(sDelegate);
@@ -991,7 +977,7 @@ sap.ui.define([
991
977
  * @abstract
992
978
  * @param {string} sExtensionPointName - Name of the extension point
993
979
  * @param {sap.ui.core.mvc.View|Element} oView - View control or XML node of the view
994
- * @returns {Promise<{parent: object, aggregation: string, index: number, defaultContent: array}>} - Object containing parent control, aggregation name, index and the defaultContent of the extensionpoint if exists. It is wrapped in a Promise
980
+ * @returns {Promise<{parent: object, aggregation: string, index: number, defaultContent: array}>} - Object containing parent control, aggregation name, index and the defaultContent of the extension point if exists. It is wrapped in a Promise
995
981
  * @experimental
996
982
  */
997
983
  getExtensionPointInfo: function(sExtensionPointName, oView) {}