@openui5/sap.ui.core 1.119.0 → 1.120.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 (828) hide show
  1. package/THIRDPARTY.txt +6 -6
  2. package/package.json +1 -1
  3. package/src/jquery.sap.global.js +40 -111
  4. package/src/jquery.sap.properties.js +7 -1
  5. package/src/jquery.sap.resources.js +1 -1
  6. package/src/jquery.sap.script.js +5 -3
  7. package/src/jquery.sap.storage.js +6 -3
  8. package/src/sap/base/Event.js +32 -78
  9. package/src/sap/base/Eventing.js +114 -271
  10. package/src/sap/base/Log.js +21 -1
  11. package/src/sap/base/config.js +14 -9
  12. package/src/sap/base/i18n/Formatting.js +378 -250
  13. package/src/sap/base/i18n/LanguageTag.js +64 -66
  14. package/src/sap/base/i18n/Localization.js +124 -85
  15. package/src/sap/base/i18n/ResourceBundle.js +1 -1
  16. package/src/sap/base/i18n/date/CalendarType.js +2 -2
  17. package/src/sap/base/i18n/date/CalendarWeekNumbering.js +2 -2
  18. package/src/sap/base/i18n/date/TimezoneUtils.js +43 -6
  19. package/src/sap/base/util/LoaderExtensions.js +8 -2
  20. package/src/sap/base/util/mixedFetch.js +1 -0
  21. package/src/sap/base/util/resolveReference.js +31 -13
  22. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  23. package/src/sap/base/util/restricted/_castArray.js +1 -1
  24. package/src/sap/base/util/restricted/_compact.js +1 -1
  25. package/src/sap/base/util/restricted/_curry.js +1 -1
  26. package/src/sap/base/util/restricted/_debounce.js +1 -1
  27. package/src/sap/base/util/restricted/_difference.js +1 -1
  28. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  29. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  30. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  31. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  32. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  33. package/src/sap/base/util/restricted/_flatten.js +1 -1
  34. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  35. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  36. package/src/sap/base/util/restricted/_intersection.js +1 -1
  37. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  38. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  39. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  40. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  41. package/src/sap/base/util/restricted/_isNil.js +1 -1
  42. package/src/sap/base/util/restricted/_max.js +1 -1
  43. package/src/sap/base/util/restricted/_merge.js +1 -1
  44. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  45. package/src/sap/base/util/restricted/_min.js +1 -1
  46. package/src/sap/base/util/restricted/_omit.js +1 -1
  47. package/src/sap/base/util/restricted/_pick.js +1 -1
  48. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  49. package/src/sap/base/util/restricted/_throttle.js +1 -1
  50. package/src/sap/base/util/restricted/_toArray.js +1 -1
  51. package/src/sap/base/util/restricted/_union.js +1 -1
  52. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  53. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  54. package/src/sap/base/util/restricted/_uniq.js +1 -1
  55. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  56. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  57. package/src/sap/base/util/restricted/_without.js +1 -1
  58. package/src/sap/base/util/restricted/_xor.js +1 -1
  59. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  60. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  61. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  62. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  63. package/src/sap/base/util/syncFetch.js +1 -0
  64. package/src/sap/ui/Device.js +3 -3
  65. package/src/sap/ui/Global.js +6 -7
  66. package/src/sap/ui/base/BindingInfo.js +3 -3
  67. package/src/sap/ui/base/BindingParser.js +5 -2
  68. package/src/sap/ui/base/DataType.js +57 -1
  69. package/src/sap/ui/base/DesignTime.js +69 -0
  70. package/src/sap/ui/base/Event.js +2 -2
  71. package/src/sap/ui/base/EventProvider.js +1 -1
  72. package/src/sap/ui/base/ExpressionParser.js +25 -4
  73. package/src/sap/ui/base/Interface.js +1 -1
  74. package/src/sap/ui/base/ManagedObject.js +102 -29
  75. package/src/sap/ui/base/ManagedObjectMetadata.js +29 -31
  76. package/src/sap/ui/base/ManagedObjectObserver.js +1 -0
  77. package/src/sap/ui/base/Metadata.js +3 -3
  78. package/src/sap/ui/base/Object.js +19 -1
  79. package/src/sap/ui/base/ObjectPool.js +1 -1
  80. package/src/sap/ui/core/.library +3 -3
  81. package/src/sap/ui/core/AnimationMode.js +2 -2
  82. package/src/sap/ui/core/AppCacheBuster.js +30 -18
  83. package/src/sap/ui/core/BusyIndicator.js +1 -1
  84. package/src/sap/ui/core/CalendarType.js +6 -0
  85. package/src/sap/ui/core/Component.js +150 -80
  86. package/src/sap/ui/core/ComponentContainer.js +4 -3
  87. package/src/sap/ui/core/ComponentMetadata.js +3 -4
  88. package/src/sap/ui/core/ComponentSupport.js +1 -1
  89. package/src/sap/ui/core/Configuration.js +390 -706
  90. package/src/sap/ui/core/Control.js +1 -1
  91. package/src/sap/ui/core/ControlBehavior.js +37 -28
  92. package/src/sap/ui/core/Core.js +327 -151
  93. package/src/sap/ui/core/CustomData.js +1 -1
  94. package/src/sap/ui/core/DeclarativeSupport.js +3 -1
  95. package/src/sap/ui/core/Element.js +18 -8
  96. package/src/sap/ui/core/ElementMetadata.js +1 -1
  97. package/src/sap/ui/core/EnabledPropagator.js +3 -2
  98. package/src/sap/ui/core/EventBus.js +1 -1
  99. package/src/sap/ui/core/Fragment.js +1 -1
  100. package/src/sap/ui/core/HTML.js +1 -1
  101. package/src/sap/ui/core/History.js +1 -1
  102. package/src/sap/ui/core/Icon.js +1 -1
  103. package/src/sap/ui/core/IndicationColorSupport.js +13 -1
  104. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  105. package/src/sap/ui/core/InvisibleMessage.js +2 -3
  106. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  107. package/src/sap/ui/core/InvisibleText.js +17 -1
  108. package/src/sap/ui/core/Item.js +1 -1
  109. package/src/sap/ui/core/LabelEnablement.js +8 -1
  110. package/src/sap/ui/core/LayoutData.js +1 -1
  111. package/src/sap/ui/core/Lib.js +195 -29
  112. package/src/sap/ui/core/ListItem.js +1 -1
  113. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  114. package/src/sap/ui/core/Locale.js +1 -1
  115. package/src/sap/ui/core/LocaleData.js +118 -32
  116. package/src/sap/ui/core/Manifest.js +4 -2
  117. package/src/sap/ui/core/Message.js +1 -1
  118. package/src/sap/ui/core/Placeholder.js +18 -0
  119. package/src/sap/ui/core/Popup.js +5 -0
  120. package/src/sap/ui/core/RenderManager.js +21 -17
  121. package/src/sap/ui/core/Renderer.js +1 -1
  122. package/src/sap/ui/core/Rendering.js +51 -47
  123. package/src/sap/ui/core/ResizeHandler.js +2 -2
  124. package/src/sap/ui/core/ScrollBar.js +1 -1
  125. package/src/sap/ui/core/SeparatorItem.js +1 -1
  126. package/src/sap/ui/core/Shortcut.js +5 -3
  127. package/src/sap/ui/core/Supportability.js +146 -0
  128. package/src/sap/ui/core/Theming.js +130 -88
  129. package/src/sap/ui/core/Title.js +1 -1
  130. package/src/sap/ui/core/TooltipBase.js +4 -3
  131. package/src/sap/ui/core/UIArea.js +1 -4
  132. package/src/sap/ui/core/UIComponent.js +38 -12
  133. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  134. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  135. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  136. package/src/sap/ui/core/XMLComposite.js +1 -1
  137. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  138. package/src/sap/ui/core/XMLTemplateProcessor.js +3 -3
  139. package/src/sap/ui/core/_IconRegistry.js +13 -6
  140. package/src/sap/ui/core/cldr/ar.json +143 -137
  141. package/src/sap/ui/core/cldr/ar_EG.json +143 -137
  142. package/src/sap/ui/core/cldr/ar_SA.json +143 -137
  143. package/src/sap/ui/core/cldr/bg.json +423 -423
  144. package/src/sap/ui/core/cldr/ca.json +541 -494
  145. package/src/sap/ui/core/cldr/cs.json +475 -364
  146. package/src/sap/ui/core/cldr/cy.json +656 -477
  147. package/src/sap/ui/core/cldr/da.json +334 -275
  148. package/src/sap/ui/core/cldr/de.json +388 -291
  149. package/src/sap/ui/core/cldr/de_AT.json +388 -291
  150. package/src/sap/ui/core/cldr/de_CH.json +394 -297
  151. package/src/sap/ui/core/cldr/el.json +169 -166
  152. package/src/sap/ui/core/cldr/el_CY.json +169 -166
  153. package/src/sap/ui/core/cldr/en.json +558 -521
  154. package/src/sap/ui/core/cldr/en_AU.json +558 -520
  155. package/src/sap/ui/core/cldr/en_GB.json +476 -439
  156. package/src/sap/ui/core/cldr/en_HK.json +520 -482
  157. package/src/sap/ui/core/cldr/en_IE.json +486 -448
  158. package/src/sap/ui/core/cldr/en_IN.json +466 -428
  159. package/src/sap/ui/core/cldr/en_NZ.json +506 -468
  160. package/src/sap/ui/core/cldr/en_PG.json +506 -468
  161. package/src/sap/ui/core/cldr/en_SG.json +506 -468
  162. package/src/sap/ui/core/cldr/en_ZA.json +486 -448
  163. package/src/sap/ui/core/cldr/es.json +473 -468
  164. package/src/sap/ui/core/cldr/es_AR.json +445 -440
  165. package/src/sap/ui/core/cldr/es_BO.json +479 -474
  166. package/src/sap/ui/core/cldr/es_CL.json +469 -464
  167. package/src/sap/ui/core/cldr/es_CO.json +387 -381
  168. package/src/sap/ui/core/cldr/es_MX.json +502 -497
  169. package/src/sap/ui/core/cldr/es_PE.json +455 -450
  170. package/src/sap/ui/core/cldr/es_UY.json +479 -474
  171. package/src/sap/ui/core/cldr/es_VE.json +499 -494
  172. package/src/sap/ui/core/cldr/et.json +378 -320
  173. package/src/sap/ui/core/cldr/fa.json +104 -104
  174. package/src/sap/ui/core/cldr/fi.json +401 -315
  175. package/src/sap/ui/core/cldr/fr.json +391 -385
  176. package/src/sap/ui/core/cldr/fr_BE.json +391 -385
  177. package/src/sap/ui/core/cldr/fr_CA.json +499 -493
  178. package/src/sap/ui/core/cldr/fr_CH.json +334 -328
  179. package/src/sap/ui/core/cldr/fr_LU.json +391 -385
  180. package/src/sap/ui/core/cldr/he.json +291 -159
  181. package/src/sap/ui/core/cldr/hi.json +157 -128
  182. package/src/sap/ui/core/cldr/hr.json +514 -461
  183. package/src/sap/ui/core/cldr/hu.json +287 -257
  184. package/src/sap/ui/core/cldr/id.json +463 -416
  185. package/src/sap/ui/core/cldr/it.json +468 -413
  186. package/src/sap/ui/core/cldr/it_CH.json +468 -413
  187. package/src/sap/ui/core/cldr/ja.json +98 -61
  188. package/src/sap/ui/core/cldr/kk.json +631 -571
  189. package/src/sap/ui/core/cldr/ko.json +79 -71
  190. package/src/sap/ui/core/cldr/lt.json +361 -270
  191. package/src/sap/ui/core/cldr/lv.json +234 -242
  192. package/src/sap/ui/core/cldr/ms.json +463 -408
  193. package/src/sap/ui/core/cldr/nb.json +176 -143
  194. package/src/sap/ui/core/cldr/nl.json +463 -393
  195. package/src/sap/ui/core/cldr/nl_BE.json +463 -393
  196. package/src/sap/ui/core/cldr/pl.json +633 -344
  197. package/src/sap/ui/core/cldr/pt.json +447 -336
  198. package/src/sap/ui/core/cldr/pt_PT.json +488 -449
  199. package/src/sap/ui/core/cldr/ro.json +477 -383
  200. package/src/sap/ui/core/cldr/ru.json +367 -332
  201. package/src/sap/ui/core/cldr/ru_UA.json +361 -326
  202. package/src/sap/ui/core/cldr/sk.json +502 -537
  203. package/src/sap/ui/core/cldr/sl.json +168 -161
  204. package/src/sap/ui/core/cldr/sr.json +276 -225
  205. package/src/sap/ui/core/cldr/sr_Latn.json +972 -907
  206. package/src/sap/ui/core/cldr/sv.json +420 -346
  207. package/src/sap/ui/core/cldr/th.json +117 -94
  208. package/src/sap/ui/core/cldr/tr.json +413 -359
  209. package/src/sap/ui/core/cldr/uk.json +395 -368
  210. package/src/sap/ui/core/cldr/vi.json +392 -379
  211. package/src/sap/ui/core/cldr/zh_CN.json +91 -33
  212. package/src/sap/ui/core/cldr/zh_HK.json +90 -32
  213. package/src/sap/ui/core/cldr/zh_SG.json +90 -32
  214. package/src/sap/ui/core/cldr/zh_TW.json +75 -51
  215. package/src/sap/ui/core/date/CalendarWeekNumbering.js +6 -0
  216. package/src/sap/ui/core/date/UI5Date.js +1 -1
  217. package/src/sap/ui/core/date/_Calendars.js +5 -2
  218. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  219. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  220. package/src/sap/ui/core/dnd/DragAndDrop.js +3 -2
  221. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  222. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  223. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  224. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  225. package/src/sap/ui/core/format/DateFormat.js +33 -21
  226. package/src/sap/ui/core/format/NumberFormat.js +3 -2
  227. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  228. package/src/sap/ui/core/getCompatibilityVersion.js +2 -2
  229. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  230. package/src/sap/ui/core/library.js +128 -8
  231. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  232. package/src/sap/ui/core/message/Message.js +2 -2
  233. package/src/sap/ui/core/message/MessageManager.js +1 -1
  234. package/src/sap/ui/core/message/MessageParser.js +1 -1
  235. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  236. package/src/sap/ui/core/message/MessageType.js +2 -1
  237. package/src/sap/ui/core/messagebundle.properties +24 -0
  238. package/src/sap/ui/core/messagebundle_ar.properties +15 -3
  239. package/src/sap/ui/core/messagebundle_bg.properties +14 -2
  240. package/src/sap/ui/core/messagebundle_ca.properties +13 -1
  241. package/src/sap/ui/core/messagebundle_cs.properties +15 -3
  242. package/src/sap/ui/core/messagebundle_cy.properties +16 -4
  243. package/src/sap/ui/core/messagebundle_da.properties +15 -3
  244. package/src/sap/ui/core/messagebundle_de.properties +15 -3
  245. package/src/sap/ui/core/messagebundle_el.properties +16 -4
  246. package/src/sap/ui/core/messagebundle_en.properties +12 -0
  247. package/src/sap/ui/core/messagebundle_en_GB.properties +16 -4
  248. package/src/sap/ui/core/messagebundle_es.properties +15 -3
  249. package/src/sap/ui/core/messagebundle_es_MX.properties +15 -3
  250. package/src/sap/ui/core/messagebundle_et.properties +15 -3
  251. package/src/sap/ui/core/messagebundle_fi.properties +15 -3
  252. package/src/sap/ui/core/messagebundle_fr.properties +15 -3
  253. package/src/sap/ui/core/messagebundle_fr_CA.properties +14 -2
  254. package/src/sap/ui/core/messagebundle_hi.properties +16 -4
  255. package/src/sap/ui/core/messagebundle_hr.properties +14 -2
  256. package/src/sap/ui/core/messagebundle_hu.properties +16 -4
  257. package/src/sap/ui/core/messagebundle_id.properties +15 -3
  258. package/src/sap/ui/core/messagebundle_it.properties +17 -5
  259. package/src/sap/ui/core/messagebundle_iw.properties +15 -3
  260. package/src/sap/ui/core/messagebundle_ja.properties +25 -13
  261. package/src/sap/ui/core/messagebundle_kk.properties +15 -3
  262. package/src/sap/ui/core/messagebundle_ko.properties +14 -2
  263. package/src/sap/ui/core/messagebundle_lt.properties +15 -3
  264. package/src/sap/ui/core/messagebundle_lv.properties +15 -3
  265. package/src/sap/ui/core/messagebundle_mk.properties +352 -0
  266. package/src/sap/ui/core/messagebundle_ms.properties +15 -3
  267. package/src/sap/ui/core/messagebundle_nl.properties +15 -3
  268. package/src/sap/ui/core/messagebundle_no.properties +14 -2
  269. package/src/sap/ui/core/messagebundle_pl.properties +15 -3
  270. package/src/sap/ui/core/messagebundle_pt.properties +15 -3
  271. package/src/sap/ui/core/messagebundle_pt_PT.properties +14 -2
  272. package/src/sap/ui/core/messagebundle_ro.properties +15 -3
  273. package/src/sap/ui/core/messagebundle_ru.properties +15 -3
  274. package/src/sap/ui/core/messagebundle_sh.properties +43 -31
  275. package/src/sap/ui/core/messagebundle_sk.properties +16 -4
  276. package/src/sap/ui/core/messagebundle_sl.properties +15 -3
  277. package/src/sap/ui/core/messagebundle_sv.properties +22 -10
  278. package/src/sap/ui/core/messagebundle_th.properties +15 -3
  279. package/src/sap/ui/core/messagebundle_tr.properties +15 -3
  280. package/src/sap/ui/core/messagebundle_uk.properties +18 -6
  281. package/src/sap/ui/core/messagebundle_vi.properties +18 -6
  282. package/src/sap/ui/core/messagebundle_zh_CN.properties +15 -3
  283. package/src/sap/ui/core/messagebundle_zh_TW.properties +15 -3
  284. package/src/sap/ui/core/mvc/Controller.js +22 -16
  285. package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -15
  286. package/src/sap/ui/core/mvc/HTMLView.js +2 -2
  287. package/src/sap/ui/core/mvc/JSONView.js +4 -1
  288. package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -0
  289. package/src/sap/ui/core/mvc/JSView.js +1 -1
  290. package/src/sap/ui/core/mvc/OverrideExecution.js +4 -4
  291. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  292. package/src/sap/ui/core/mvc/View.js +24 -14
  293. package/src/sap/ui/core/mvc/ViewType.js +2 -0
  294. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  295. package/src/sap/ui/core/plugin/DeclarativeSupport.js +2 -1
  296. package/src/sap/ui/core/plugin/LessSupport.js +3 -1
  297. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  298. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  299. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  300. package/src/sap/ui/core/routing/Router.js +2 -4
  301. package/src/sap/ui/core/routing/Target.js +1 -3
  302. package/src/sap/ui/core/routing/Targets.js +2 -3
  303. package/src/sap/ui/core/routing/Views.js +2 -3
  304. package/src/sap/ui/core/routing/async/Target.js +1 -1
  305. package/src/sap/ui/core/rules/Config.support.js +11 -17
  306. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  307. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  308. package/src/sap/ui/core/service/Service.js +1 -1
  309. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  310. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  311. package/src/sap/ui/core/support/Hotkeys.js +5 -3
  312. package/src/sap/ui/core/support/Plugin.js +1 -1
  313. package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -3
  314. package/src/sap/ui/core/support/Support.js +3 -5
  315. package/src/sap/ui/core/support/ToolsAPI.js +15 -11
  316. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  317. package/src/sap/ui/core/support/plugins/Interaction.js +4 -4
  318. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  319. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  320. package/src/sap/ui/core/support/plugins/Selector.js +7 -5
  321. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  322. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  323. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  324. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +3 -1
  325. package/src/sap/ui/core/syncStyleClass.js +2 -2
  326. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  327. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  328. package/src/sap/ui/core/themes/base/global.less +9 -9
  329. package/src/sap/ui/core/theming/Parameters.js +18 -19
  330. package/src/sap/ui/core/theming/ThemeManager.js +23 -4
  331. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  332. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  333. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  334. package/src/sap/ui/core/tmpl/Template.js +1 -1
  335. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  336. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  337. package/src/sap/ui/core/util/Export.js +1 -1
  338. package/src/sap/ui/core/util/ExportCell.js +1 -1
  339. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  340. package/src/sap/ui/core/util/ExportRow.js +1 -1
  341. package/src/sap/ui/core/util/ExportType.js +1 -1
  342. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  343. package/src/sap/ui/core/util/File.js +1 -1
  344. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  345. package/src/sap/ui/core/util/MockServer.js +1 -1
  346. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  347. package/src/sap/ui/core/util/XMLPreprocessor.js +3 -0
  348. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  349. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  350. package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
  351. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  352. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  353. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  354. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  355. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  356. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  357. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  358. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  359. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  360. package/src/sap/ui/debug/ControlTree.js +1 -1
  361. package/src/sap/ui/debug/DebugEnv.js +29 -7
  362. package/src/sap/ui/debug/PropertyList.js +1 -1
  363. package/src/sap/ui/model/ClientListBinding.js +3 -1
  364. package/src/sap/ui/model/ClientModel.js +1 -1
  365. package/src/sap/ui/model/ClientTreeBinding.js +3 -1
  366. package/src/sap/ui/model/CompositeDataState.js +1 -1
  367. package/src/sap/ui/model/CompositeType.js +1 -1
  368. package/src/sap/ui/model/DataState.js +2 -2
  369. package/src/sap/ui/model/Filter.js +39 -1
  370. package/src/sap/ui/model/FilterProcessor.js +12 -2
  371. package/src/sap/ui/model/ListBinding.js +5 -0
  372. package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
  373. package/src/sap/ui/model/MetaModel.js +1 -1
  374. package/src/sap/ui/model/Model.js +5 -1
  375. package/src/sap/ui/model/SelectionModel.js +1 -1
  376. package/src/sap/ui/model/SimpleType.js +1 -1
  377. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  378. package/src/sap/ui/model/TreeBinding.js +3 -0
  379. package/src/sap/ui/model/Type.js +1 -1
  380. package/src/sap/ui/model/analytics/AnalyticalBinding.js +3 -1
  381. package/src/sap/ui/model/json/JSONListBinding.js +3 -1
  382. package/src/sap/ui/model/json/JSONModel.js +1 -1
  383. package/src/sap/ui/model/json/JSONTreeBinding.js +3 -2
  384. package/src/sap/ui/model/message/MessageListBinding.js +3 -0
  385. package/src/sap/ui/model/message/MessageModel.js +1 -1
  386. package/src/sap/ui/model/odata/AnnotationHelper.js +9 -3
  387. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  388. package/src/sap/ui/model/odata/ODataListBinding.js +3 -0
  389. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  390. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  391. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  392. package/src/sap/ui/model/odata/ODataModel.js +9 -5
  393. package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -2
  394. package/src/sap/ui/model/odata/ODataTreeBinding.js +2 -0
  395. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +9 -14
  396. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  397. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  398. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  399. package/src/sap/ui/model/odata/type/Date.js +1 -1
  400. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  401. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  402. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  403. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  404. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  405. package/src/sap/ui/model/odata/type/Double.js +1 -1
  406. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  407. package/src/sap/ui/model/odata/type/Int.js +1 -1
  408. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  409. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  410. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  411. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  412. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  413. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  414. package/src/sap/ui/model/odata/type/Single.js +1 -1
  415. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  416. package/src/sap/ui/model/odata/type/String.js +1 -1
  417. package/src/sap/ui/model/odata/type/Time.js +1 -1
  418. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  419. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  420. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  421. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  422. package/src/sap/ui/model/odata/v2/ODataListBinding.js +35 -13
  423. package/src/sap/ui/model/odata/v2/ODataModel.js +21 -8
  424. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +33 -2
  425. package/src/sap/ui/model/odata/v4/Context.js +81 -7
  426. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  427. package/src/sap/ui/model/odata/v4/ODataListBinding.js +217 -75
  428. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  429. package/src/sap/ui/model/odata/v4/ODataModel.js +6 -6
  430. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  431. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +406 -199
  432. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +12 -7
  433. package/src/sap/ui/model/odata/v4/lib/_Cache.js +53 -30
  434. package/src/sap/ui/model/odata/v4/lib/_Helper.js +6 -4
  435. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -6
  436. package/src/sap/ui/model/resource/ResourceModel.js +5 -6
  437. package/src/sap/ui/model/type/Boolean.js +1 -1
  438. package/src/sap/ui/model/type/Currency.js +1 -1
  439. package/src/sap/ui/model/type/Date.js +1 -1
  440. package/src/sap/ui/model/type/DateInterval.js +1 -1
  441. package/src/sap/ui/model/type/DateTime.js +1 -1
  442. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  443. package/src/sap/ui/model/type/FileSize.js +1 -1
  444. package/src/sap/ui/model/type/Float.js +1 -1
  445. package/src/sap/ui/model/type/Integer.js +1 -1
  446. package/src/sap/ui/model/type/String.js +1 -1
  447. package/src/sap/ui/model/type/Time.js +1 -1
  448. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  449. package/src/sap/ui/model/type/Unit.js +1 -1
  450. package/src/sap/ui/model/xml/XMLListBinding.js +3 -0
  451. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  452. package/src/sap/ui/model/xml/XMLTreeBinding.js +3 -0
  453. package/src/sap/ui/performance/BeaconRequest.js +2 -2
  454. package/src/sap/ui/qunit/QUnitUtils.js +64 -45
  455. package/src/sap/ui/qunit/qunit-coverage.js +6 -0
  456. package/src/sap/ui/qunit/utils/ControlIterator.js +31 -1
  457. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  458. package/src/sap/ui/security/Security.js +128 -0
  459. package/src/sap/ui/test/BlanketReporter.js +2 -3
  460. package/src/sap/ui/test/BlanketReporterUI.view.xml +1 -1
  461. package/src/sap/ui/test/BranchTracking.js +2 -3
  462. package/src/sap/ui/test/ModuleTracking.js +48 -20
  463. package/src/sap/ui/test/OpaExtension.js +3 -3
  464. package/src/sap/ui/test/OpaPlugin.js +16 -6
  465. package/src/sap/ui/test/TestUtils.js +7 -4
  466. package/src/sap/ui/test/_BrowserLogCollector.js +1 -0
  467. package/src/sap/ui/test/_ControlFinder.js +3 -2
  468. package/src/sap/ui/test/_LogCollector.js +1 -0
  469. package/src/sap/ui/test/_UsageReport.js +115 -114
  470. package/src/sap/ui/test/actions/EnterText.js +20 -2
  471. package/src/sap/ui/test/autowaiter/WaiterBase.js +1 -0
  472. package/src/sap/ui/test/autowaiter/_moduleWaiter.js +1 -2
  473. package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +1 -1
  474. package/src/sap/ui/test/generic/GenericTestCollection.js +5 -0
  475. package/src/sap/ui/test/generic/TestBase.js +1 -1
  476. package/src/sap/ui/test/generic/Utils.js +1 -1
  477. package/src/sap/ui/test/matchers/LabelFor.js +2 -12
  478. package/src/sap/ui/test/matchers/Matcher.js +1 -1
  479. package/src/sap/ui/test/pipelines/PipelineFactory.js +1 -0
  480. package/src/sap/ui/test/selectors/_Selector.js +1 -1
  481. package/src/sap/ui/util/Storage.js +1 -1
  482. package/src/ui5loader-autoconfig.js +84 -11
  483. package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/localService/mockserver.js +3 -4
  484. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/ChartAnnotation.fragment.xml +7 -7
  485. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Component.js +2 -3
  486. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Detail.view.xml +12 -13
  487. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Facets.fragment.xml +4 -4
  488. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Field.fragment.xml +8 -8
  489. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/FormFacet.fragment.xml +3 -5
  490. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/LabeledField.fragment.xml +3 -3
  491. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Table.fragment.xml +10 -10
  492. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/TableFacet.fragment.xml +3 -3
  493. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/extension/HeaderInfo.fragment.xml +1 -1
  494. package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Field.fragment.xml +2 -2
  495. package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Template.view.xml +19 -21
  496. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV4.view.xml +2 -2
  497. package/test/sap/ui/core/demokit/sample/ViewTemplate/valuelist/Component.js +2 -3
  498. package/test/sap/ui/core/demokit/sample/common/SandboxModelHelper.js +2 -3
  499. package/test/sap/ui/core/demokit/sample/common/ValueHelp.js +2 -3
  500. package/test/sap/ui/core/demokit/sample/common/pages/Any.js +7 -8
  501. package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +15 -6
  502. package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.controller.js +2 -3
  503. package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.controller.js +3 -4
  504. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +39 -16
  505. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +18 -21
  506. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +509 -395
  507. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +586 -422
  508. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +1 -1
  509. package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -3
  510. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Facets.fragment.xml +22 -23
  511. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/FormattedText.fragment.xml +2 -3
  512. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Main.view.xml +7 -7
  513. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +0 -3
  514. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -9
  515. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +34 -9
  516. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +156 -23
  517. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +3 -2
  518. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Facets.fragment.xml +22 -23
  519. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/FormattedText.fragment.xml +2 -3
  520. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Main.view.xml +5 -5
  521. package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.controller.js +2 -3
  522. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +2 -2
  523. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +2 -2
  524. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +2 -2
  525. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +2 -2
  526. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +2 -2
  527. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +2 -2
  528. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +2 -2
  529. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +2 -2
  530. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +2 -2
  531. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +2 -2
  532. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +2 -2
  533. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +2 -2
  534. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +2 -2
  535. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +2 -2
  536. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +2 -2
  537. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +2 -2
  538. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +2 -2
  539. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +2 -2
  540. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +2 -2
  541. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +2 -2
  542. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +2 -2
  543. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +2 -2
  544. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +2 -2
  545. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +2 -2
  546. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +2 -2
  547. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +2 -2
  548. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +2 -2
  549. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +2 -2
  550. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +2 -2
  551. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +2 -2
  552. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +2 -2
  553. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +2 -2
  554. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +2 -2
  555. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +2 -2
  556. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +2 -2
  557. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +2 -2
  558. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +2 -2
  559. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +2 -2
  560. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +2 -2
  561. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +2 -2
  562. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +2 -2
  563. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +2 -2
  564. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +2 -2
  565. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +2 -2
  566. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +2 -2
  567. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +2 -2
  568. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +2 -2
  569. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +2 -2
  570. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +2 -3
  571. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.view.xml +1 -1
  572. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +2 -3
  573. package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +18 -0
  574. package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +4 -3
  575. package/test/sap/ui/core/qunit/Core.qunit.js +5 -14
  576. package/test/sap/ui/core/qunit/Core_libraryPreloadFiles.qunit.js +4 -4
  577. package/test/sap/ui/core/qunit/Core_libraryPreloadFiles_unavoidablyUsingEval.qunit.js +6 -6
  578. package/test/sap/ui/core/qunit/Core_unavoidablyUsingEval.qunit.js +31 -30
  579. package/test/sap/ui/core/qunit/DataState.qunit.js +7 -4
  580. package/test/sap/ui/core/qunit/DuplicateIds.qunit.js +3 -0
  581. package/test/sap/ui/core/qunit/DuplicateIds_noError.qunit.js +4 -0
  582. package/test/sap/ui/core/qunit/Element_metadata_renderer.qunit.js +6 -0
  583. package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +144 -85
  584. package/test/sap/ui/core/qunit/HTML.qunit.js +87 -84
  585. package/test/sap/ui/core/qunit/InvisibleText.qunit.js +22 -1
  586. package/test/sap/ui/core/qunit/LRUPersistentCache.qunit.js +4 -4
  587. package/test/sap/ui/core/qunit/Lib.qunit.js +22 -1
  588. package/test/sap/ui/core/qunit/ListBinding.qunit.js +14 -1
  589. package/test/sap/ui/core/qunit/ManagedObject.qunit.js +5 -2
  590. package/test/sap/ui/core/qunit/ManagedObjectMetadata.qunit.js +41 -40
  591. package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -1
  592. package/test/sap/ui/core/qunit/{ManagedObject_noBoot.qunit.js → ManagedObject_BindingParser.qunit.js} +10 -9
  593. package/test/sap/ui/core/qunit/Object.qunit.js +36 -0
  594. package/test/sap/ui/core/qunit/RenderManager.qunit.js +86 -94
  595. package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +11 -97
  596. package/test/sap/ui/core/qunit/StaticBinding.qunit.js +3 -0
  597. package/test/sap/ui/core/qunit/UIArea.qunit.js +34 -35
  598. package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +3 -0
  599. package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +3 -0
  600. package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +3 -0
  601. package/test/sap/ui/core/qunit/app/DesignMode_controllerDeactivated.qunit.js +5 -6
  602. package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +5 -6
  603. package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +3 -0
  604. package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -10
  605. package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +2 -2
  606. package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +30 -30
  607. package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +123 -10
  608. package/test/sap/ui/core/qunit/base/util/resolveReference.qunit.js +9 -0
  609. package/test/sap/ui/core/qunit/base/util/testdata/MyModule.js +5 -0
  610. package/test/sap/ui/core/qunit/bootstrap/BootstrapCustomBootTaskPreloadCss.beforeBootstrap.qunit.js +4 -2
  611. package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.html +1 -0
  612. package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +9 -10
  613. package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload_legacyAPIs.qunit.js +0 -2
  614. package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinBody.qunit.html +2 -1
  615. package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinHead.qunit.html +2 -1
  616. package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +122 -266
  617. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.html +22 -0
  618. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.js +22 -0
  619. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.html +22 -0
  620. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.js +16 -0
  621. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.html +22 -0
  622. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.js +14 -0
  623. package/test/sap/ui/core/qunit/bootstrap/ControlBehavior.qunit.js +110 -0
  624. package/test/sap/ui/core/qunit/bootstrap/PreloadCfg.qunit.js +4 -3
  625. package/test/sap/ui/core/qunit/bootstrap/ResourceRoot_ResourcesURL_Standard.qunit.html +1 -1
  626. package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.beforeBootstrap.qunit.js +2 -3
  627. package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +39 -34
  628. package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted_legacyAPIs.qunit.js +5 -1
  629. package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +51 -15
  630. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.html +23 -0
  631. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.js +1 -1
  632. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery.sap.stubs.qunit.js +16 -20
  633. package/test/sap/ui/core/qunit/compat_legacyAPIs/testsuite.compat.qunit.js +1 -4
  634. package/test/sap/ui/core/qunit/component/Component.qunit.js +74 -4
  635. package/test/sap/ui/core/qunit/component/Models.qunit.js +3 -1
  636. package/test/sap/ui/core/qunit/component/Preloading.qunit.js +8 -12
  637. package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +8 -2
  638. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Component.js +23 -0
  639. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Main.view.xml +8 -0
  640. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/manifest.json +34 -0
  641. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Component.js +23 -0
  642. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Main.view.xml +8 -0
  643. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/manifest.json +28 -0
  644. package/test/sap/ui/core/qunit/date/_Calendars.qunit.js +52 -0
  645. package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +18 -0
  646. package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaksUsingIterator.qunit.js +3 -4
  647. package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +18 -0
  648. package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +15 -0
  649. package/test/sap/ui/core/qunit/generic/testsuite.generic.qunit.js +21 -0
  650. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.js +2 -3
  651. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.js +2 -3
  652. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.js +2 -3
  653. package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +16 -0
  654. package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.js +1 -1
  655. package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +16 -0
  656. package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.js +1 -1
  657. package/test/sap/ui/core/qunit/gherkin/testsuite.gherkin.qunit.js +3 -2
  658. package/test/sap/ui/core/qunit/i18n/Buddhist.qunit.js +3 -0
  659. package/test/sap/ui/core/qunit/i18n/GenericLocaleData.qunit.js +217 -114
  660. package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +3 -0
  661. package/test/sap/ui/core/qunit/i18n/Japanese.qunit.js +3 -0
  662. package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +341 -7
  663. package/test/sap/ui/core/qunit/i18n/Persian.qunit.js +3 -0
  664. package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +3 -0
  665. package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +10 -1
  666. package/test/sap/ui/core/qunit/i18n/helper/_timezones.js +17 -11
  667. package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +7 -1
  668. package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +5 -1
  669. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.html +2 -2
  670. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
  671. package/test/sap/ui/core/qunit/internal/AnnotationParser.qunit.html +1 -2
  672. package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -1
  673. package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +2 -1
  674. package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.html +24 -0
  675. package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.js +12 -6
  676. package/test/sap/ui/core/qunit/jquery.sap.global-config_beforeBootstrap.qunit.js +1 -1
  677. package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +30 -0
  678. package/test/sap/ui/core/qunit/loader/exposeAsAMDLoader.qunit.html +1 -0
  679. package/test/sap/ui/core/qunit/model/Binding.qunit.js +3 -0
  680. package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +3 -0
  681. package/test/sap/ui/core/qunit/model/ClientPropertyBinding.qunit.js +3 -0
  682. package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +3 -0
  683. package/test/sap/ui/core/qunit/model/ClientTreeBindingAdapter.qunit.js +6 -0
  684. package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +3 -0
  685. package/test/sap/ui/core/qunit/model/Context.qunit.js +3 -0
  686. package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +3 -0
  687. package/test/sap/ui/core/qunit/model/Filter.qunit.js +49 -0
  688. package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +40 -1
  689. package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +23 -5
  690. package/test/sap/ui/core/qunit/model/Model.qunit.js +3 -0
  691. package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +3 -0
  692. package/test/sap/ui/core/qunit/model/Sorter.qunit.js +3 -0
  693. package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +43 -3
  694. package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +3 -0
  695. package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +107 -93
  696. package/test/sap/ui/core/qunit/mvc/View.qunit.js +3 -0
  697. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +17 -14
  698. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +23 -12
  699. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +29 -82
  700. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML_unavoidablySync.qunit.js +123 -0
  701. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -0
  702. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -0
  703. package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +16 -0
  704. package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +408 -419
  705. package/test/sap/ui/core/qunit/odata/AnnotationHelper.qunit.js +6 -4
  706. package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +16 -0
  707. package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +8 -1
  708. package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +5 -1
  709. package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +4 -4
  710. package/test/sap/ui/core/qunit/odata/type/DateTimeWithTimezone.qunit.js +6 -6
  711. package/test/sap/ui/core/qunit/odata/type/Time.qunit.js +3 -4
  712. package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +4 -4
  713. package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +36 -13
  714. package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +952 -292
  715. package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +6 -4
  716. package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +6 -7
  717. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +215 -1
  718. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +194 -3
  719. package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -2
  720. package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +69 -2
  721. package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +601 -99
  722. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1859 -407
  723. package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +7 -5
  724. package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +4 -4
  725. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +909 -422
  726. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +21 -6
  727. package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +104 -33
  728. package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +8 -0
  729. package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +4 -4
  730. package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +9 -9
  731. package/test/sap/ui/core/qunit/odata/v4/lib/_V2MetadataConverter.qunit.js +3 -3
  732. package/test/sap/ui/core/qunit/odata/v4/lib/_V4MetadataConverter.qunit.js +3 -3
  733. package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +16 -0
  734. package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +17 -9
  735. package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +51 -3
  736. package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +3 -3
  737. package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +3 -3
  738. package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +3 -3
  739. package/test/sap/ui/core/qunit/opa/autowaiter/_timeoutWaiter.js +11 -0
  740. package/test/sap/ui/core/qunit/opa/fixture/miniUI5Site.js +14 -8
  741. package/test/sap/ui/core/qunit/opa/fixture/uncaughtError.js +18 -12
  742. package/test/sap/ui/core/qunit/performance/BeaconRequest.qunit.js +18 -2
  743. package/test/sap/ui/core/qunit/resource/ResourceBinding.qunit.js +1 -0
  744. package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +5 -4
  745. package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +20 -18
  746. package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +1 -4
  747. package/test/sap/ui/core/qunit/routing/fixture/routingConfig/Component.js +2 -25
  748. package/test/sap/ui/core/qunit/routing/fixture/routingConfig/manifest.json +28 -0
  749. package/test/sap/ui/core/qunit/rule/misc/silentEventBus.qunit.js +1 -2
  750. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +11 -0
  751. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +3 -1
  752. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +3 -1
  753. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +3 -1
  754. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +3 -1
  755. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -1
  756. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +2 -1
  757. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -1
  758. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +2 -1
  759. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -1
  760. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +2 -1
  761. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -1
  762. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +2 -1
  763. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +1 -1
  764. package/test/sap/ui/core/qunit/testdata/shortcutHints/Component.js +9 -0
  765. package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.controller.js +8 -0
  766. package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.view.xml +16 -0
  767. package/test/sap/ui/core/qunit/testdata/shortcutHints/lib/MyControl.js +27 -0
  768. package/test/sap/ui/core/qunit/testdata/shortcutHints/manifest.json +26 -0
  769. package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +4 -5
  770. package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +5 -6
  771. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.controller.js +2 -1
  772. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +18 -1
  773. package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +3 -0
  774. package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +0 -4
  775. package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +6 -1
  776. package/test/sap/ui/core/qunit/testsuites/testsuite.managed.object.qunit.js +4 -1
  777. package/test/sap/ui/core/qunit/testsuites/testsuite.modular.core.qunit.js +1 -1
  778. package/test/sap/ui/core/qunit/testsuites/testsuite.security.qunit.js +3 -9
  779. package/test/sap/ui/core/qunit/types/DataType.qunit.js +14 -3
  780. package/test/sap/ui/core/qunit/types/Date.qunit.js +3 -0
  781. package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +391 -147
  782. package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +32 -29
  783. package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +7 -4
  784. package/test/sap/ui/core/qunit/types/FileSizeFormat.qunit.js +5 -1
  785. package/test/sap/ui/core/qunit/types/ListFormat.qunit.js +3 -0
  786. package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +4 -3
  787. package/test/sap/ui/core/qunit/types/NumberFormatCurrencies.qunit.js +5 -4
  788. package/test/sap/ui/core/qunit/types/NumberFormatCurrenciesTrailing.qunit.js +4 -3
  789. package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +3 -0
  790. package/test/sap/ui/core/qunit/types/TimezoneUtil.qunit.js +23 -0
  791. package/test/sap/ui/core/qunit/types/Types.qunit.js +44 -10
  792. package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +3 -0
  793. package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
  794. package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +592 -83
  795. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-allowlist.js +7 -0
  796. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-frameOptions.js +7 -0
  797. package/test/sap/ui/core/qunit/{bootstrap/CfgFromGlobalObject.qunit.html → util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.html} +7 -11
  798. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.js +3 -4
  799. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.html +26 -0
  800. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.js +3 -4
  801. package/test/sap/ui/core/qunit/{bootstrap/CfgDefaults.qunit.html → util/jQuery.sap.FrameOptions-meta-tag.qunit.html} +5 -8
  802. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag.qunit.js +3 -4
  803. package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +10 -10
  804. package/test/sap/ui/core/qunit/util/jquery.sap.logger.qunit.html +18 -0
  805. package/test/sap/ui/core/qunit/util/jquery.sap.resources.qunit.js +1 -1
  806. package/test/sap/ui/core/qunit/util/testsuite.util.qunit.js +1 -3
  807. package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +3 -0
  808. package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +3 -0
  809. package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +3 -0
  810. package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +3 -0
  811. package/test/sap/ui/core/relnotes/changes-1.119.json +1 -12
  812. package/test/sap/ui/core/relnotes/changes-1.120.json +360 -0
  813. package/test/sap/ui/core/terminologies/App.controller.js +2 -3
  814. package/test/sap/ui/core/terminologies/main.js +2 -3
  815. package/test/sap/ui/test/qunit/TestUtils.qunit.js +3 -3
  816. package/src/sap/ui/core/ConfigTest.js +0 -17
  817. package/src/sap/ui/core/_ConfigurationProvider.js +0 -187
  818. package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +0 -57
  819. package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +0 -71
  820. package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.html +0 -29
  821. package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.js +0 -40
  822. package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.beforeBootstrap.qunit.js +0 -20
  823. package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.qunit.js +0 -40
  824. package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.html +0 -42
  825. package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +0 -49
  826. package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +0 -96
  827. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-meta-tag.js +0 -10
  828. package/test/sap/ui/core/samples/mvc/JSONView.html +0 -65
@@ -4,230 +4,48 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- //Provides class sap.ui.core.Configuration
8
7
  sap.ui.define([
9
- '../Device',
10
- '../base/Object',
11
- './AnimationMode',
12
- './ControlBehavior',
13
- './Locale',
14
- "./format/TimezoneUtil",
15
- "sap/ui/core/_ConfigurationProvider",
16
- "sap/ui/core/getCompatibilityVersion",
17
- "sap/ui/core/date/CalendarWeekNumbering",
18
- "sap/ui/core/Theming",
19
- "sap/base/util/Version",
20
- "sap/base/Log",
21
8
  "sap/base/assert",
22
9
  "sap/base/config",
23
10
  "sap/base/Event",
24
- "sap/base/util/deepClone",
11
+ "sap/base/Log",
12
+ "sap/base/i18n/Formatting",
25
13
  "sap/base/i18n/Localization",
26
- "sap/base/i18n/Formatting"
27
- ],
28
- function(
29
- Device,
30
- BaseObject,
31
- AnimationMode,
32
- ControlBehavior,
33
- Locale,
34
- TimezoneUtil,
35
- _ConfigurationProvider,
36
- getCompatibilityVersion,
37
- CalendarWeekNumbering,
38
- Theming,
39
- Version,
40
- Log,
41
- assert,
42
- BaseConfig,
43
- BaseEvent,
44
- deepClone,
45
- Localization,
46
- Formatting
47
- ) {
14
+ "sap/base/util/Version",
15
+ "sap/ui/base/DesignTime",
16
+ "sap/ui/base/Object",
17
+ "sap/ui/core/AnimationMode",
18
+ "sap/ui/core/ControlBehavior",
19
+ "sap/ui/core/getCompatibilityVersion",
20
+ "sap/ui/core/Locale",
21
+ "sap/ui/core/Supportability",
22
+ "sap/ui/core/Theming",
23
+ "sap/ui/security/Security"
24
+ ], function(
25
+ assert,
26
+ BaseConfig,
27
+ BaseEvent,
28
+ Log,
29
+ Formatting,
30
+ Localization,
31
+ Version,
32
+ DesignTime,
33
+ BaseObject,
34
+ AnimationMode,
35
+ ControlBehavior,
36
+ getCompatibilityVersion,
37
+ Locale,
38
+ Supportability,
39
+ Theming,
40
+ Security
41
+ ) {
48
42
  "use strict";
49
43
 
50
- var M_SETTINGS;
51
- var VERSION = "1.119.0";
52
-
53
- function detectLanguage() {
54
-
55
- function navigatorLanguage() {
56
- if ( Device.os.android ) {
57
- // on Android, navigator.language is hardcoded to 'en', so check UserAgent string instead
58
- var match = navigator.userAgent.match(/\s([a-z]{2}-[a-z]{2})[;)]/i);
59
- if ( match ) {
60
- return match[1];
61
- }
62
- // okay, we couldn't find a language setting. It might be better to fallback to 'en' instead of having no language
63
- }
64
- return navigator.language;
65
- }
66
-
67
- return convertToLocaleOrNull( (navigator.languages && navigator.languages[0]) || navigatorLanguage() || navigator.userLanguage || navigator.browserLanguage ) || new Locale("en");
68
- }
69
-
70
- function setValue(sName, vValue) {
71
- if ( vValue == null ) {
72
- return;
73
- }
74
- config[sName] = convertToType(sName, vValue);
75
- }
76
-
77
- function convertToType(sName, vValue) {
78
- if ( vValue == null ) {
79
- return;
80
- }
81
- switch (M_SETTINGS[sName].type) {
82
- case "boolean":
83
- if ( typeof vValue === "string" ) {
84
- if (M_SETTINGS[sName].defaultValue) {
85
- return vValue.toLowerCase() != "false";
86
- } else {
87
- return vValue.toLowerCase() === "true" || vValue.toLowerCase() === "x";
88
- }
89
- } else {
90
- // boolean etc.
91
- return !!vValue;
92
- }
93
- case "string":
94
- return "" + vValue; // enforce string
95
- case "code":
96
- return typeof vValue === "function" ? vValue : String(vValue);
97
- case "function":
98
- if ( typeof vValue !== "function" ) {
99
- throw new Error("unsupported value");
100
- }
101
- return vValue;
102
- case "function[]":
103
- vValue.forEach(function(fnFunction) {
104
- if ( typeof fnFunction !== "function" ) {
105
- throw new Error("Not a function: " + fnFunction);
106
- }
107
- });
108
- return vValue.slice();
109
- case "string[]":
110
- if ( Array.isArray(vValue) ) {
111
- return vValue;
112
- } else if ( typeof vValue === "string" ) {
113
- return vValue.split(/[ ,;]/).map(function(s) {
114
- return s.trim();
115
- });
116
- } else {
117
- throw new Error("unsupported value");
118
- }
119
- case "object":
120
- if ( typeof vValue !== "object" ) {
121
- throw new Error("unsupported value");
122
- }
123
- return vValue;
124
- case "Locale":
125
- var oLocale = convertToLocaleOrNull(vValue);
126
- if ( oLocale || M_SETTINGS[sName].defaultValue == null ) {
127
- return oLocale;
128
- } else {
129
- throw new Error("unsupported value");
130
- }
131
- default:
132
- // When the type is none of the above types, check if an object as enum is provided to validate the value.
133
- var vType = M_SETTINGS[sName].type;
134
- if (typeof vType === "object") {
135
- BaseConfig._.checkEnum(vType, vValue, sName);
136
- return vValue;
137
- } else {
138
- throw new Error("illegal state");
139
- }
140
- }
141
- }
142
-
143
- function getMetaTagValue(sName) {
144
- var oMetaTag = document.querySelector("META[name='" + sName + "']"),
145
- sMetaContent = oMetaTag && oMetaTag.getAttribute("content");
146
- if (sMetaContent) {
147
- return sMetaContent;
148
- }
149
- }
150
-
151
- // Definition of supported settings
152
- // Valid property types are: string, boolean, string[], code, object, function, function[].
153
- // Objects as an enumeration list of valid values can also be provided (e.g. Configuration.AnimationMode).
154
- var M_SETTINGS = {
155
- "theme" : { type : "string", defaultValue : "base" },
156
- "language" : { type : "Locale", defaultValue : detectLanguage() },
157
- "timezone" : { type : "string", defaultValue : TimezoneUtil.getLocalTimezone() },
158
- "formatLocale" : { type : "Locale", defaultValue : null },
159
- "calendarType" : { type : "string", defaultValue : null },
160
- "calendarWeekNumbering" : { type : CalendarWeekNumbering, defaultValue : CalendarWeekNumbering.Default},
161
- "trailingCurrencyCode" : { type : "boolean", defaultValue : true },
162
- "accessibility" : { type : "boolean", defaultValue : true },
163
- "autoAriaBodyRole" : { type : "boolean", defaultValue : false, noUrl:true }, //whether the framework automatically adds the ARIA role 'application' to the html body
164
- "animation" : { type : "boolean", defaultValue : true }, // deprecated, please use animationMode
165
- "animationMode" : { type : AnimationMode, defaultValue : undefined }, // If no value is provided, animationMode will be set on instantiation depending on the animation setting.
166
- "rtl" : { type : "boolean", defaultValue : null },
167
- "debug" : { type : "boolean", defaultValue : false },
168
- "inspect" : { type : "boolean", defaultValue : false },
169
- "originInfo" : { type : "boolean", defaultValue : false },
170
- "noConflict" : { type : "boolean", defaultValue : false, noUrl:true },
171
- "noDuplicateIds" : { type : "boolean", defaultValue : true },
172
- "trace" : { type : "boolean", defaultValue : false, noUrl:true },
173
- "modules" : { type : "string[]", defaultValue : [], noUrl:true },
174
- "areas" : { type : "string[]", defaultValue : null, noUrl:true },
175
- "onInit" : { type : "code", defaultValue : undefined, noUrl:true }, // could be either a reference to a JavaScript function, the name of a global function (string value) or the name of a module (indicated with prefix "module:")
176
- "uidPrefix" : { type : "string", defaultValue : "__", noUrl:true },
177
- "ignoreUrlParams" : { type : "boolean", defaultValue : false, noUrl:true },
178
- "preload" : { type : "string", defaultValue : "auto" },
179
- "rootComponent" : { type : "string", defaultValue : "", noUrl:true },
180
- "preloadLibCss" : { type : "string[]", defaultValue : [] },
181
- "application" : { type : "string", defaultValue : "" },
182
- "appCacheBuster" : { type : "string[]", defaultValue : [] },
183
- "bindingSyntax" : { type : "string", defaultValue : "default", noUrl:true }, // default|simple|complex
184
- "versionedLibCss" : { type : "boolean", defaultValue : false },
185
- "manifestFirst" : { type : "boolean", defaultValue : false },
186
- "flexibilityServices" : { type : "string", defaultValue : "/sap/bc/lrep"},
187
- "whitelistService" : { type : "string", defaultValue : null, noUrl:true }, // deprecated, use allowlistService instead
188
- "allowlistService" : { type : "string", defaultValue : null, noUrl:true }, // url/to/service
189
- "frameOptions" : { type : "string", defaultValue : "default", noUrl:true }, // default/allow/deny/trusted (default => allow)
190
- "frameOptionsConfig" : { type : "object", defaultValue : undefined, noUrl:true }, // advanced frame options configuration
191
- "support" : { type : "string[]", defaultValue : null },
192
- "testRecorder" : { type : "string[]", defaultValue : null },
193
- "activeTerminologies" : { type : "string[]", defaultValue : undefined},
194
- "fileShareSupport" : { type : "string", defaultValue : undefined, noUrl:true }, // Module name (AMD syntax)
195
- "securityTokenHandlers" : { type : "function[]", defaultValue: [], noUrl:true },
196
- "productive" : { type : "boolean", defaultValue: false, noUrl:true },
197
- "themeRoots" : { type : "object", defaultValue: {}, noUrl:true },
198
- "xx-placeholder" : { type : "boolean", defaultValue : true },
199
- "xx-rootComponentNode" : { type : "string", defaultValue : "", noUrl:true },
200
- "xx-appCacheBusterMode" : { type : "string", defaultValue : "sync" },
201
- "xx-appCacheBusterHooks": { type : "object", defaultValue : undefined, noUrl:true }, // e.g.: { handleURL: fn, onIndexLoad: fn, onIndexLoaded: fn }
202
- "xx-disableCustomizing" : { type : "boolean", defaultValue : false, noUrl:true },
203
- "xx-viewCache" : { type : "boolean", defaultValue : true },
204
- "xx-depCache" : { type : "boolean", defaultValue : false },
205
- "xx-libraryPreloadFiles": { type : "string[]", defaultValue : [] },
206
- "xx-componentPreload" : { type : "string", defaultValue : "" },
207
- "xx-designMode" : { type : "boolean", defaultValue : false },
208
- "xx-supportedLanguages" : { type : "string[]", defaultValue : [] }, // *=any, sapui5 or list of locales
209
- "xx-bootTask" : { type : "function", defaultValue : undefined, noUrl:true },
210
- "xx-suppressDeactivationOfControllerCode" : { type : "boolean", defaultValue : false }, //temporarily to suppress the deactivation of controller code in design mode
211
- "xx-lesssupport" : { type : "boolean", defaultValue : false },
212
- "xx-handleValidation" : { type : "boolean", defaultValue : false },
213
- "xx-fiori2Adaptation" : { type : "string[]", defaultValue : [] },
214
- "xx-cache-use" : { type : "boolean", defaultValue : true},
215
- "xx-cache-excludedKeys" : { type : "string[]", defaultValue : []},
216
- "xx-cache-serialization": { type : "boolean", defaultValue : false},
217
- "xx-nosync" : { type : "string", defaultValue : "" },
218
- "xx-waitForTheme" : { type : "string", defaultValue : ""}, // rendering|init
219
- "xx-hyphenation" : { type : "string", defaultValue : ""}, // (empty string)|native|thirdparty|disable
220
- "xx-flexBundleRequestForced" : { type : "boolean", defaultValue : false },
221
- "xx-skipAutomaticFlLibLoading" : { type : "boolean", defaultValue: false },
222
- "xx-cssVariables" : { type : "string", defaultValue : "false" }, // false|true|additional (additional just includes the css_variables.css in addition)
223
- "xx-debugModuleLoading" : { type : "boolean", defaultValue: false },
224
- "statistics" : { type : "boolean", defaultValue : false },
225
- "xx-acc-keys" : { type : "boolean", defaultValue : false },
226
- "xx-measure-cards" : { type : "boolean", defaultValue : false }
227
- };
44
+ var oVersion = new Version("1.120.0");
45
+ var oFormatSettings;
228
46
 
229
47
  // Lazy dependency to core
230
- var oCore;
48
+ var Core;
231
49
 
232
50
  // ---- change handling ----
233
51
 
@@ -244,7 +62,7 @@ sap.ui.define([
244
62
  var mChangesToReport = mChanges;
245
63
  delete mChanges.__count;
246
64
  mChanges = undefined;
247
- oCore && oCore.fireLocalizationChanged(mChangesToReport);
65
+ Core?.fireLocalizationChanged(mChangesToReport);
248
66
  }
249
67
  }
250
68
 
@@ -285,22 +103,15 @@ sap.ui.define([
285
103
  * @extends sap.ui.base.Object
286
104
  * @public
287
105
  * @alias sap.ui.core.Configuration
288
- *
289
- * @borrows module:sap/base/i18n/Localization.getSAPLogonLanguage as getSAPLogonLanguage
290
- * @borrows module:sap/base/i18n/Localization.getTimezone as getTimezone
291
- * @borrows module:sap/base/i18n/Localization.setLanguage as setLanguage
292
- * @borrows module:sap/base/i18n/Localization.getRTL as getRTL
293
- * @borrows module:sap/base/i18n/Localization.setRTL as setRTL
106
+ * @deprecated As of Version 1.120
294
107
  * @borrows module:sap/base/i18n/Localization.getLanguagesDeliveredWithCore as getLanguagesDeliveredWithCore
295
108
  * @borrows module:sap/base/i18n/Localization.getSupportedLanguages as getSupportedLanguages
296
- * @borrows module:sap/ui/core/Theming.getTheme as getTheme
297
- * @borrows module:sap/ui/core/Theming.setTheme as setTheme
298
- * @borrows module:sap/ui/core/ControlBehavior.isAccessibilityEnabled as getAccessibility
299
109
  * @borrows module:sap/ui/core/getCompatibilityVersion as getCompatibilityVersion
300
110
  */
301
111
  var Configuration = BaseObject.extend("sap.ui.core.Configuration", /** @lends sap.ui.core.Configuration.prototype */ {
302
112
 
303
113
  constructor : function() {
114
+ BaseObject.call(this);
304
115
  Log.error(
305
116
  "Configuration is designed as a singleton and should not be created manually! " +
306
117
  "Please require 'sap/ui/core/Configuration' instead and use the module export directly without using 'new'."
@@ -311,139 +122,6 @@ sap.ui.define([
311
122
 
312
123
  });
313
124
 
314
- /* Object that carries the real configuration data */
315
- var config = {};
316
-
317
- var bInitialized = false;
318
-
319
- function init() {
320
- bInitialized = true;
321
-
322
- // apply settings from global config object (already merged with script tag attributes)
323
- var oCfg = window["sap-ui-config"] || {};
324
- for (var n in M_SETTINGS) {
325
- // collect the defaults
326
- config[n] = Array.isArray(M_SETTINGS[n].defaultValue) ? [] : M_SETTINGS[n].defaultValue;
327
- if ( oCfg.hasOwnProperty(n.toLowerCase()) ) {
328
- setValue(n, oCfg[n.toLowerCase()]);
329
- } else if ( !/^xx-/.test(n) && oCfg.hasOwnProperty("xx-" + n.toLowerCase()) ) {
330
- setValue(n, oCfg["xx-" + n.toLowerCase()]);
331
- }
332
- }
333
-
334
- // if libs are configured, convert them to modules and prepend them to the existing modules list
335
- if ( oCfg.libs ) {
336
- config.modules = oCfg.libs.split(",").map(function(lib) {
337
- return lib.trim() + ".library";
338
- }).concat(config.modules);
339
- }
340
-
341
- var oUriParams;
342
-
343
- // apply the settings from the url (only if not blocked by app configuration)
344
- if ( !config.ignoreUrlParams ) {
345
- var sUrlPrefix = "sap-ui-";
346
- oUriParams = new URLSearchParams(window.location.search);
347
-
348
- if (oUriParams.has('sap-statistics')) {
349
- var sValue = oUriParams.get('sap-statistics');
350
- setValue('statistics', sValue);
351
- }
352
-
353
- // now analyze sap-ui parameters
354
- for (var n in M_SETTINGS) {
355
- if ( M_SETTINGS[n].noUrl ) {
356
- continue;
357
- }
358
- var sValue = oUriParams.get(sUrlPrefix + n);
359
- if ( sValue == null && !/^xx-/.test(n) ) {
360
- sValue = oUriParams.get(sUrlPrefix + "xx-" + n);
361
- }
362
- if (sValue === "") {
363
- //empty URL parameters set the parameter back to its system default
364
- config[n] = M_SETTINGS[n].defaultValue;
365
- } else {
366
- //sets the value (null or empty value ignored)
367
- setValue(n, sValue);
368
- }
369
- }
370
- }
371
-
372
- //parse fiori 2 adaptation parameters
373
- var vAdaptations = config['xx-fiori2Adaptation'];
374
- if ( vAdaptations.length === 0 || (vAdaptations.length === 1 && vAdaptations[0] === 'false') ) {
375
- vAdaptations = false;
376
- } else if ( vAdaptations.length === 1 && vAdaptations[0] === 'true' ) {
377
- vAdaptations = true;
378
- }
379
-
380
- config['xx-fiori2Adaptation'] = vAdaptations;
381
-
382
- config["allowlistService"] = config["allowlistService"] || /* fallback to legacy config */ config["whitelistService"];
383
-
384
- // Configure allowlistService / frameOptions via <meta> tag if not already defined via UI5 configuration
385
- if (!config["allowlistService"]) {
386
- var sAllowlistMetaTagValue = getMetaTagValue('sap.allowlistService') || /* fallback to legacy config */ getMetaTagValue('sap.whitelistService');
387
- if (sAllowlistMetaTagValue) {
388
- config["allowlistService"] = sAllowlistMetaTagValue;
389
- // Set default "frameOptions" to "trusted" instead of "allow"
390
- if (config["frameOptions"] === "default") {
391
- config["frameOptions"] = "trusted";
392
- }
393
- }
394
- }
395
-
396
- // Verify and set default for "frameOptions" configuration
397
- if (config["frameOptions"] === "default" ||
398
- (config["frameOptions"] !== "allow"
399
- && config["frameOptions"] !== "deny"
400
- && config["frameOptions"] !== "trusted")) {
401
-
402
- // default => allow
403
- config["frameOptions"] = "allow";
404
- }
405
-
406
- // frameOptionsConfig: Handle compatibility of renamed config option
407
- var oFrameOptionsConfig = config["frameOptionsConfig"];
408
- if (oFrameOptionsConfig) {
409
- oFrameOptionsConfig.allowlist = oFrameOptionsConfig.allowlist || oFrameOptionsConfig.whitelist;
410
- }
411
-
412
- // in case the flexibilityServices configuration was set to a non-empty, non-default value, sap.ui.fl becomes mandatory
413
- // if not overruled by xx-skipAutomaticFlLibLoading
414
- if (config.flexibilityServices
415
- && config.flexibilityServices !== M_SETTINGS.flexibilityServices.defaultValue
416
- && !config['xx-skipAutomaticFlLibLoading']
417
- && config.modules.indexOf("sap.ui.fl.library") == -1) {
418
- config.modules.push("sap.ui.fl.library");
419
- }
420
-
421
- // log all non default value
422
- for (var n in M_SETTINGS) {
423
- if ( config[n] !== M_SETTINGS[n].defaultValue ) {
424
- Log.info(" " + n + " = " + config[n]);
425
- }
426
- }
427
-
428
- // The following code can't be done in the _ConfigurationProvider
429
- // because of cyclic dependency
430
- var syncCallBehavior = Configuration.getSyncCallBehavior();
431
- sap.ui.loader.config({
432
- reportSyncCalls: syncCallBehavior
433
- });
434
-
435
- if ( syncCallBehavior && oCfg.__loaded ) {
436
- var sMessage = "[nosync]: configuration loaded via sync XHR";
437
- if (syncCallBehavior === 1) {
438
- Log.warning(sMessage);
439
- } else {
440
- Log.error(sMessage);
441
- }
442
- }
443
- }
444
-
445
- var oFormatSettings;
446
-
447
125
  Object.assign(Configuration, /** @lends sap.ui.core.Configuration */ {
448
126
  /**
449
127
  * Returns the version of the framework.
@@ -452,33 +130,30 @@ sap.ui.define([
452
130
  *
453
131
  * @return {module:sap/base/util/Version} the version
454
132
  * @public
133
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/VersionInfo.load} instead.
455
134
  */
456
135
  getVersion: function () {
457
- if (config._version) {
458
- return config._version;
459
- }
460
-
461
- config._version = new Version(VERSION);
462
- return config._version;
136
+ return oVersion;
463
137
  },
464
138
 
465
139
  getCompatibilityVersion : getCompatibilityVersion,
466
140
 
141
+ /**
142
+ * Returns the theme name
143
+ * @return {string} the theme name
144
+ * @function
145
+ * @public
146
+ * @deprecated Since 1.119. Please use {@link module:sap/ui/core/Theming.getTheme} instead.
147
+ */
467
148
  getTheme : Theming.getTheme,
468
149
 
469
150
  /**
470
- * Returns whether placeholders are active or not
471
- * @returns {boolean} Whether placeholders are active or not
151
+ * Allows setting the theme name
152
+ * @param {string} sTheme the theme name
153
+ * @return {this} <code>this</code> to allow method chaining
154
+ * @public
155
+ * @deprecated Since 1.119. Please use {@link module:sap/ui/core/Theming.setTheme} instead.
472
156
  */
473
- getPlaceholder : function() {
474
- return BaseConfig.get({
475
- name: "sapUiXxPlaceholder",
476
- type: BaseConfig.Type.Boolean,
477
- external: true,
478
- defaultValue: true
479
- });
480
- },
481
-
482
157
  setTheme : function (sTheme) {
483
158
  Theming.setTheme(sTheme);
484
159
  return this;
@@ -515,10 +190,79 @@ sap.ui.define([
515
190
  * @return {string} Language string as configured
516
191
  * @function
517
192
  * @public
193
+ * @deprecated Since 1.119. Please use {@link module:sap/base/i18n/Localization.getLanguage} instead.
518
194
  */
519
195
  getLanguage : Localization.getLanguage,
520
196
 
521
- setLanguage : Localization.setLanguage,
197
+
198
+ /**
199
+ * Sets a new language to be used from now on for language/region dependent
200
+ * functionality (e.g. formatting, data types, translated texts, ...).
201
+ *
202
+ * When the language can't be interpreted as a BCP47 language (using the relaxed syntax
203
+ * described in {@link #getLanguage}, an error will be thrown.
204
+ *
205
+ * When the language has changed, the Core will fire its
206
+ * {@link sap.ui.core.Core#event:localizationChanged localizationChanged} event.
207
+ *
208
+ *
209
+ * <h3>Restrictions</h3>
210
+ *
211
+ * The framework <strong>does not</strong> guarantee that already created, language
212
+ * dependent objects will be updated by config call. It therefore remains best practice
213
+ * for applications to switch the language early, e.g. before any language dependent
214
+ * objects are created. Applications that need to support more dynamic changes of
215
+ * the language should listen to the <code>localizationChanged</code> event and adapt
216
+ * all language dependent objects that they use (e.g. by rebuilding their UI).
217
+ *
218
+ * Currently, the framework notifies the following objects about a change of the
219
+ * localization settings before it fires the <code>localizationChanged</code> event:
220
+ *
221
+ * <ul>
222
+ * <li>date and number data types that are used in property bindings or composite
223
+ * bindings in existing Elements, Controls, UIAreas or Components</li>
224
+ * <li>ResourceModels currently assigned to the Core, a UIArea, Component,
225
+ * Element or Control</li>
226
+ * <li>Elements or Controls that implement the <code>onlocalizationChanged</code> hook
227
+ * (note the lowercase 'l' in onlocalizationChanged)</li>
228
+ * </ul>
229
+ *
230
+ * It furthermore derives the RTL mode from the new language, if no explicit RTL
231
+ * mode has been set. If the RTL mode changes, the following additional actions will be taken:
232
+ *
233
+ * <ul>
234
+ * <li>the URLs of already loaded library theme files will be changed</li>
235
+ * <li>the <code>dir</code> attribute of the page will be changed to reflect the new mode.</li>
236
+ * <li>all UIAreas will be invalidated (which results in a rendering of the whole UI5 UI)</li>
237
+ * </ul>
238
+ *
239
+ * config method does not accept SAP language codes for <code>sLanguage</code>. Instead, a second
240
+ * parameter <code>sSAPLogonLanguage</code> can be provided with an SAP language code corresponding
241
+ * to the given language. A given value will be returned by the {@link #getSAPLogonLanguage} method.
242
+ * It is up to the caller to provide a consistent pair of BCP47 language and SAP language code.
243
+ * The SAP language code is only checked to be of length 2 and must consist of letters or digits only.
244
+ *
245
+ * <b>Note</b>: When using config method please take note of and respect the above mentioned restrictions.
246
+ *
247
+ * @param {string} sLanguage the new language as a BCP47 compliant language tag; case doesn't matter
248
+ * and underscores can be used instead of dashes to separate components (compatibility with Java Locale IDs)
249
+ * @param {string} [sSAPLogonLanguage] SAP language code that corresponds to the <code>sLanguage</code>;
250
+ * if a value is specified, future calls to <code>getSAPLogonLanguage</code> will return that value;
251
+ * if no value is specified, the framework will use the ISO639 language part of <code>sLanguage</code>
252
+ * as SAP Logon language.
253
+ * @throws {Error} When <code>sLanguage</code> can't be interpreted as a BCP47 language or when
254
+ * <code>sSAPLanguage</code> is given and can't be interpreted as SAP language code.
255
+ * @return {this} <code>this</code> to allow method chaining
256
+ *
257
+ * @see http://scn.sap.com/docs/DOC-14377
258
+ * @function
259
+ * @public
260
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setLanguage} instead.
261
+ */
262
+ setLanguage : function() {
263
+ Localization.setLanguage.apply(Localization, arguments);
264
+ return Configuration;
265
+ },
522
266
 
523
267
  /**
524
268
  * Returns a BCP47-compliant language tag for the current language.
@@ -529,14 +273,35 @@ sap.ui.define([
529
273
  * e.g. sr-Latn (Serbian (Cyrillic)), he (Hebrew), yi (Yiddish)
530
274
  *
531
275
  * @returns {string} The language tag for the current language, conforming to BCP47
276
+ * @function
532
277
  * @public
278
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getLanguageTag} instead.
533
279
  */
534
280
  getLanguageTag : function () {
535
281
  return Localization.getLanguageTag().toString();
536
282
  },
537
283
 
284
+ /**
285
+ * Returns an SAP logon language for the current language.
286
+ *
287
+ * It will be returned in uppercase.
288
+ * e.g. "EN", "DE"
289
+ *
290
+ * @returns {string} The SAP logon language code for the current language
291
+ * @function
292
+ * @public
293
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getSAPLogonLanguage} instead.
294
+ */
538
295
  getSAPLogonLanguage : Localization.getSAPLogonLanguage,
539
296
 
297
+ /**
298
+ * Retrieves the configured IANA timezone ID.
299
+ *
300
+ * @returns {string} The configured IANA timezone ID, e.g. "America/New_York"
301
+ * @function
302
+ * @public
303
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getTimezone} instead.
304
+ */
540
305
  getTimezone : Localization.getTimezone,
541
306
 
542
307
  /**
@@ -559,8 +324,12 @@ sap.ui.define([
559
324
  * @public
560
325
  * @return {this} <code>this</code> to allow method chaining
561
326
  * @since 1.99.0
327
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setTimezone} instead.
562
328
  */
563
- setTimezone : Localization.setTimezone,
329
+ setTimezone : function() {
330
+ Localization.setTimezone.apply(Localization, arguments);
331
+ return Configuration;
332
+ },
564
333
 
565
334
  /**
566
335
  * Returns the calendar type which is being used in locale dependent functionality.
@@ -570,6 +339,9 @@ sap.ui.define([
570
339
  *
571
340
  * @return {sap.ui.core.CalendarType} the current calendar type, e.g. <code>Gregorian</code>
572
341
  * @since 1.28.6
342
+ * @function
343
+ * @public
344
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getCalendarType} instead.
573
345
  */
574
346
  getCalendarType: Formatting.getCalendarType,
575
347
 
@@ -581,12 +353,47 @@ sap.ui.define([
581
353
  * @function
582
354
  * @public
583
355
  * @since 1.113.0
356
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getCalendarWeekNumbering} instead.
584
357
  */
585
358
  getCalendarWeekNumbering: Formatting.getCalendarWeekNumbering,
586
359
 
360
+ /**
361
+ * Returns whether the page uses the RTL text direction.
362
+ *
363
+ * If no mode has been explicitly set (neither <code>true</code> nor <code>false</code>),
364
+ * the mode is derived from the current language setting.
365
+ *
366
+ * @returns {boolean} whether the page uses the RTL text direction
367
+ * @function
368
+ * @public
369
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getRTL} instead.
370
+ */
587
371
  getRTL :Localization.getRTL,
588
372
 
589
- setRTL : Localization.setRTL,
373
+ /**
374
+ * Sets the character orientation mode to be used from now on.
375
+ *
376
+ * Can either be set to a concrete value (true meaning right-to-left,
377
+ * false meaning left-to-right) or to <code>null</code> which means that
378
+ * the character orientation mode should be derived from the current
379
+ * language (incl. region) setting.
380
+ *
381
+ * After changing the character orientation mode, the framework tries
382
+ * to update localization specific parts of the UI. See the documentation of
383
+ * {@link #setLanguage} for details and restrictions.
384
+ *
385
+ * <b>Note</b>: See documentation of {@link #setLanguage} for restrictions.
386
+ *
387
+ * @param {boolean|null} bRTL new character orientation mode or <code>null</code>
388
+ * @returns {this} <code>this</code> to allow method chaining
389
+ * @function
390
+ * @public
391
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setRTL} instead.
392
+ */
393
+ setRTL : function() {
394
+ Localization.setRTL.apply(Localization, arguments);
395
+ return Configuration;
396
+ },
590
397
 
591
398
  /**
592
399
  * Returns a Locale object for the current language.
@@ -595,6 +402,7 @@ sap.ui.define([
595
402
  *
596
403
  * @return {sap.ui.core.Locale} The locale
597
404
  * @public
405
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getLanguageTag} instead.
598
406
  */
599
407
  getLocale : function() {
600
408
  var oLanguageTag = Localization.getLanguageTag();
@@ -610,6 +418,7 @@ sap.ui.define([
610
418
  * @return {this} <code>this</code> to allow method chaining
611
419
  * @public
612
420
  * @since 1.28.6
421
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setCalendarType} instead.
613
422
  */
614
423
  setCalendarType : function(sCalendarType) {
615
424
  Formatting.setCalendarType.apply(Formatting, arguments);
@@ -630,6 +439,7 @@ sap.ui.define([
630
439
  *
631
440
  * @public
632
441
  * @since 1.113.0
442
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setCalendarWeekNumbering} instead.
633
443
  */
634
444
  setCalendarWeekNumbering: function(sCalendarWeekNumbering) {
635
445
  Formatting.setCalendarWeekNumbering.apply(Formatting, arguments);
@@ -642,6 +452,7 @@ sap.ui.define([
642
452
  *
643
453
  * @return {string} the format locale string with language and country code
644
454
  * @public
455
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getLanguageTag} instead.
645
456
  */
646
457
  getFormatLocale : function() {
647
458
  return Formatting.getLanguageTag().toString();
@@ -671,6 +482,7 @@ sap.ui.define([
671
482
  * components (compatibility with Java Locale IDs)
672
483
  * @return {this} <code>this</code> to allow method chaining
673
484
  * @public
485
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setLanguageTag} instead.
674
486
  * @throws {Error} When <code>sFormatLocale</code> is given, but is not a valid BCP47 language
675
487
  * tag or Java locale identifier
676
488
  */
@@ -683,6 +495,14 @@ sap.ui.define([
683
495
 
684
496
  getSupportedLanguages : Localization.getSupportedLanguages,
685
497
 
498
+ /**
499
+ * Returns whether the accessibility mode is enabled or not.
500
+ * @return {boolean} whether the accessibility mode is enabled or not
501
+ * @public
502
+ * @since 1.20
503
+ * @function
504
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.isAccessibilityEnabled} instead.
505
+ */
686
506
  getAccessibility : ControlBehavior.isAccessibilityEnabled,
687
507
 
688
508
  /**
@@ -691,16 +511,17 @@ sap.ui.define([
691
511
  * @return {boolean} Wether the ARIA role 'application' should be added to the HTML body or not
692
512
  * @since 1.27.0
693
513
  * @public
514
+ * @deprecated As of Version 1.120
694
515
  */
695
516
  getAutoAriaBodyRole : function () {
696
- return Configuration.getValue("autoAriaBodyRole");
517
+ return BaseConfig.get({ name: "sapUiAutoAriaBodyRole", type: BaseConfig.Type.Boolean });
697
518
  },
698
519
 
699
520
  /**
700
521
  * Returns whether the animations are globally used.
701
522
  * @return {boolean} whether the animations are globally used
702
523
  * @public
703
- * @deprecated As of version 1.50.0, replaced by {@link sap.ui.core.Configuration#getAnimationMode}
524
+ * @deprecated As of version 1.50. Please use {@link sap.ui.core.Configuration#getAnimationMode} instead.
704
525
  */
705
526
  getAnimation : function () {
706
527
  var sAnimationMode = Configuration.getAnimationMode();
@@ -709,13 +530,14 @@ sap.ui.define([
709
530
  },
710
531
 
711
532
  /**
712
- * Returns the current animation mode.
713
- *
714
- * @return {sap.ui.core.Configuration.AnimationMode} The current animationMode
715
- * @since 1.50.0
533
+ * Returns the current animation mode.
534
+ *
535
+ * @return {sap.ui.core.Configuration.AnimationMode} The current animationMode
536
+ * @since 1.50.0
716
537
  * @function
717
- * @public
718
- */
538
+ * @public
539
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.getAnimationMode} instead.
540
+ */
719
541
  getAnimationMode : ControlBehavior.getAnimationMode,
720
542
 
721
543
  /**
@@ -732,6 +554,7 @@ sap.ui.define([
732
554
  * @since 1.50.0
733
555
  * @function
734
556
  * @public
557
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.setAnimationMode} instead.
735
558
  */
736
559
  setAnimationMode : ControlBehavior.setAnimationMode,
737
560
 
@@ -740,77 +563,76 @@ sap.ui.define([
740
563
  * @return {boolean|string} false - no adaptation, true - full adaptation, comma-separated list - partial adaptation
741
564
  * Possible values: style, collapse, title, back, hierarchy
742
565
  * @public
566
+ * @deprecated As of Version 1.120
743
567
  */
744
568
  getFiori2Adaptation : function () {
745
- return Configuration.getValue("xx-fiori2Adaptation");
569
+ var aAdaptations = BaseConfig.get({
570
+ name: "sapUiXxFiori2Adaptation",
571
+ type: BaseConfig.Type.StringArray,
572
+ external: true
573
+ }),
574
+ bAdaptationEnabled;
575
+ //parse fiori 2 adaptation parameters
576
+ if ( aAdaptations.length === 0 || (aAdaptations.length === 1 && aAdaptations[0] === 'false') ) {
577
+ bAdaptationEnabled = false;
578
+ } else if ( aAdaptations.length === 1 && aAdaptations[0] === 'true' ) {
579
+ bAdaptationEnabled = true;
580
+ }
581
+
582
+ return bAdaptationEnabled === undefined ? aAdaptations : bAdaptationEnabled;
746
583
  },
747
584
 
748
585
  /**
749
586
  * Returns whether the page runs in full debug mode.
750
587
  * @returns {boolean} Whether the page runs in full debug mode
751
588
  * @public
589
+ * @function
590
+ * @deprecated As of version 1.120
752
591
  */
753
- getDebug : function () {
754
- // Configuration only maintains a flag for the full debug mode.
755
- // ui5loader-autoconfig calculates detailed information also for the partial debug
756
- // mode and writes it to window["sap-ui-debug"].
757
- // Only a value of true must be reflected by this getter
758
- return window["sap-ui-debug"] === true || BaseConfig.get({name: "sapUiDebug", type: BaseConfig.Type.Boolean, external: true});
759
- },
592
+ getDebug : Supportability.isDebugModeEnabled,
760
593
 
761
594
  /**
762
595
  * Returns whether the UI5 control inspe ctor is displayed.
763
596
  * Has only an effect when the sap-ui-debug module has been loaded
764
597
  * @return {boolean} whether the UI5 control inspector is displayed
765
598
  * @public
599
+ * @function
600
+ * @deprecated As of Version 1.120
766
601
  */
767
- getInspect : function () {
768
- return Configuration.getValue("inspect");
769
- },
602
+ getInspect : Supportability.isControlInspectorEnabled,
770
603
 
771
604
  /**
772
605
  * Returns whether the text origin information is collected.
773
606
  * @return {boolean} whether the text info is collected
774
607
  * @public
608
+ * @function
609
+ * @deprecated As of Version 1.120
775
610
  */
776
- getOriginInfo : function () {
777
- return Configuration.getValue("originInfo");
778
- },
611
+ getOriginInfo : Supportability.collectOriginInfo,
779
612
 
780
613
  /**
781
614
  * Returns whether there should be an exception on any duplicate element IDs.
782
615
  * @return {boolean} whether there should be an exception on any duplicate element IDs
783
616
  * @public
617
+ * @deprecated As of Version 1.120
784
618
  */
785
619
  getNoDuplicateIds : function () {
786
620
  return BaseConfig.get({ name: "sapUiNoDuplicateIds", type: BaseConfig.Type.Boolean, defaultValue: true, external: true });
787
621
  },
788
622
 
789
- /**
790
- * Whether a trace view should be shown or not.
791
- *
792
- * Has only an effect when the sap-ui-debug module has been loaded
793
- * either by explicitly loading it or by setting the 'debug' option to true.
794
- * @return {boolean} whether a trace view should be shown
795
- */
796
- getTrace : function () {
797
- return Configuration.getValue("trace");
798
- },
799
-
800
623
  /**
801
624
  * Prefix to be used for automatically generated control IDs.
802
625
  * Default is a double underscore "__".
803
626
  *
804
627
  * @returns {string} the prefix to be used
805
628
  * @public
806
- * @deprecated since 1.119.0. Please use {@link sap.ui.base.ManagedObjectMetadata.getUIDPrefix ManagedObjectMetadata.getUIDPrefix} instead.
629
+ * @deprecated As of Version 1.119. Please use {@link sap.ui.base.ManagedObjectMetadata.getUIDPrefix ManagedObjectMetadata.getUIDPrefix} instead.
807
630
  */
808
631
  getUIDPrefix : function() {
809
632
  var ManagedObjectMetadata = sap.ui.require("sap/ui/base/ManagedObjectMetadata");
810
633
  return ManagedObjectMetadata.getUIDPrefix();
811
634
  },
812
635
 
813
-
814
636
  /**
815
637
  * Return whether the design mode is active or not.
816
638
  *
@@ -818,15 +640,9 @@ sap.ui.define([
818
640
  * @since 1.13.2
819
641
  * @private
820
642
  * @ui5-restricted sap.ui.core.Core, sap.watt, com.sap.webide, sap.ui.fl, sap.ui.rta, sap.ui.comp, SAP Business Application Studio
643
+ * @deprecated As of Version 1.120
821
644
  */
822
- getDesignMode : function() {
823
- return BaseConfig.get({
824
- name: "sapUiXxDesignMode",
825
- type: BaseConfig.Type.Boolean,
826
- external: true,
827
- freeze: true
828
- });
829
- },
645
+ getDesignMode : DesignTime.isDesignModeEnabled,
830
646
 
831
647
  /**
832
648
  * Return whether the activation of the controller code is suppressed.
@@ -835,15 +651,9 @@ sap.ui.define([
835
651
  * @since 1.13.2
836
652
  * @private
837
653
  * @ui5-restricted sap.watt, com.sap.webide
654
+ * @deprecated As of Version 1.120
838
655
  */
839
- getSuppressDeactivationOfControllerCode : function() {
840
- return BaseConfig.get({
841
- name: "sapUiXxSuppressDeactivationOfControllerCode",
842
- type: BaseConfig.Type.Boolean,
843
- external: true,
844
- freeze: true
845
- });
846
- },
656
+ getSuppressDeactivationOfControllerCode : DesignTime.isControllerCodeDeactivationSuppressed,
847
657
 
848
658
  /**
849
659
  * Return whether the controller code is deactivated. During design mode the.
@@ -852,20 +662,19 @@ sap.ui.define([
852
662
  * @since 1.26.4
853
663
  * @private
854
664
  * @ui5-restricted sap.watt, com.sap.webide
665
+ * @deprecated As of Version 1.120
855
666
  */
856
- getControllerCodeDeactivated : function() {
857
- return Configuration.getDesignMode() && !Configuration.getSuppressDeactivationOfControllerCode();
858
- },
667
+ getControllerCodeDeactivated : DesignTime.isControllerCodeDeactivated,
859
668
 
860
669
  /**
861
670
  * The name of the application to start or empty.
862
671
  *
863
672
  * @returns {string} name of the application
864
673
  * @public
865
- * @deprecated Since 1.15.1. Please use {@link module:sap/ui/core/ComponentSupport} instead. See also {@link topic:82a0fcecc3cb427c91469bc537ebdddf Declarative API for Initial Components}.
674
+ * @deprecated As of Version 1.15.1. Please use {@link module:sap/ui/core/ComponentSupport} instead. See also {@link topic:82a0fcecc3cb427c91469bc537ebdddf Declarative API for Initial Components}.
866
675
  */
867
676
  getApplication : function() {
868
- return Configuration.getValue("application");
677
+ return BaseConfig.get({ name: "sapUiApplication", type: BaseConfig.Type.String, external: true });
869
678
  },
870
679
 
871
680
  /**
@@ -873,10 +682,10 @@ sap.ui.define([
873
682
  *
874
683
  * @returns {string} name of the root component
875
684
  * @public
876
- * @deprecated Since 1.95. Please use {@link module:sap/ui/core/ComponentSupport} instead. See also {@link topic:82a0fcecc3cb427c91469bc537ebdddf Declarative API for Initial Components}.
685
+ * @deprecated As of Version 1.95. Please use {@link module:sap/ui/core/ComponentSupport} instead. See also {@link topic:82a0fcecc3cb427c91469bc537ebdddf Declarative API for Initial Components}.
877
686
  */
878
687
  getRootComponent : function() {
879
- return Configuration.getValue("rootComponent");
688
+ return BaseConfig.get({ name: "sapUiRootComponent", type: BaseConfig.Type.String });
880
689
  },
881
690
 
882
691
  /**
@@ -884,6 +693,7 @@ sap.ui.define([
884
693
  *
885
694
  * @returns {string[]} array of base URLs
886
695
  * @public
696
+ * @deprecated As of Version 1.120
887
697
  */
888
698
  getAppCacheBuster : function() {
889
699
  return BaseConfig.get({name: "sapUiAppCacheBuster", type: BaseConfig.Type.StringArray, external: true, freeze: true});
@@ -892,103 +702,33 @@ sap.ui.define([
892
702
  /**
893
703
  * The loading mode (sync|async|batch) of the AppCacheBuster (sync is default)
894
704
  *
895
- * @returns {string} "sync" | "async"
705
+ * @returns {string} "sync" | "async" | "batch"
896
706
  * @public
707
+ * @deprecated As of Version 1.120
897
708
  */
898
709
  getAppCacheBusterMode : function() {
899
710
  return BaseConfig.get({name: "sapUiXxAppCacheBusterMode", type: BaseConfig.Type.String, defaultValue: "sync", external: true, freeze: true});
900
711
  },
901
712
 
902
- /**
903
- * Object defining the callback hooks for the AppCacheBuster like e.g.
904
- * <code>handleURL</code>, <code>onIndexLoad</code> or <code>onIndexLoaded</code>.
905
- *
906
- * @returns {object} object containing the callback functions for the AppCacheBuster
907
- * @private
908
- * @ui5-restricted
909
- */
910
- getAppCacheBusterHooks : function() {
911
- return BaseConfig.get({name: "sapUiXxAppCacheBusterHooks", type: BaseConfig.Type.Object, defaultValue: undefined, freeze: true});
912
- },
913
-
914
713
  /**
915
714
  * Flag, whether the customizing is disabled or not.
916
715
  *
917
716
  * @returns {boolean} true if customizing is disabled
918
717
  * @private
919
718
  * @ui5-restricted
719
+ * @deprecated As of Version 1.120
920
720
  */
921
721
  getDisableCustomizing : function() {
922
722
  return BaseConfig.get({name: "sapUiXxDisableCustomizing", type: BaseConfig.Type.Boolean});
923
723
  },
924
724
 
925
- /**
926
- * Currently active preload mode for libraries or falsy value.
927
- *
928
- * @returns {string} preload mode
929
- * @private
930
- * @ui5-restricted sap.ui.core.Core
931
- * @since 1.16.3
932
- */
933
- getPreload : function() {
934
- // if debug sources are requested, then the preload feature must be deactivated
935
- if (Configuration.getDebug() === true) {
936
- return "";
937
- }
938
- // determine preload mode (e.g. resolve default or auto)
939
- var sPreloadMode = BaseConfig.get({name: "sapUiPreload", type: BaseConfig.Type.String, defaultValue: "auto", external: true});
940
- // when the preload mode is 'auto', it will be set to 'async' or 'sync' for optimized sources
941
- // depending on whether the ui5loader is configured async
942
- if ( sPreloadMode === "auto" ) {
943
- if (window["sap-ui-optimized"]) {
944
- sPreloadMode = sap.ui.loader.config().async ? "async" : "sync";
945
- } else {
946
- sPreloadMode = "";
947
- }
948
- }
949
- return sPreloadMode;
950
- },
951
-
952
- /**
953
- * Currently active syncCallBehavior
954
- *
955
- * @returns {int} syncCallBehavior
956
- * @private
957
- * @ui5-restricted sap.ui.core
958
- * @since 1.106.0
959
- */
960
- getSyncCallBehavior : function() {
961
- var syncCallBehavior = 0; // ignore
962
- var sNoSync = BaseConfig.get({
963
- name: "sapUiXxNoSync",
964
- type: BaseConfig.Type.String,
965
- external: true,
966
- freeze: true
967
- });
968
- if (sNoSync === 'warn') {
969
- syncCallBehavior = 1;
970
- } else if (/^(true|x)$/i.test(sNoSync)) {
971
- syncCallBehavior = 2;
972
- }
973
- return syncCallBehavior;
974
- },
975
-
976
- /**
977
- * Whether dependency cache info files should be loaded instead of preload files.
978
- *
979
- * This is an experimental feature intended for HTTP/2 scenarios.
980
- * @private
981
- */
982
- getDepCache : function() {
983
- return BaseConfig.get({name: "sapUiXxDepCache", type: BaseConfig.Type.Boolean, external: true});
984
- },
985
-
986
725
  /**
987
726
  * Flag whether a Component should load the manifest first.
988
727
  *
989
728
  * @returns {boolean} true if a Component should load the manifest first
990
729
  * @public
991
730
  * @since 1.33.0
731
+ * @deprecated As of Version 1.120. 'manifest-first' is the default for the {@link sap.ui.core.Component.create} factory.
992
732
  */
993
733
  getManifestFirst : function() {
994
734
  return BaseConfig.get({name: "sapUiManifestFirst", type: BaseConfig.Type.Boolean, external: true});
@@ -1001,54 +741,36 @@ sap.ui.define([
1001
741
  * @returns {object[]} Flexibility services configuration
1002
742
  * @public
1003
743
  * @since 1.60.0
744
+ * @deprecated As of Version 1.120
1004
745
  */
1005
746
  getFlexibilityServices : function() {
1006
- var vFlexibilityServices = Configuration.getValue("flexibilityServices") || [];
1007
-
1008
- if (typeof vFlexibilityServices === 'string') {
1009
- if (vFlexibilityServices[0] === "/") {
1010
- vFlexibilityServices = [{
1011
- url : vFlexibilityServices,
1012
- layers : ["ALL"],
1013
- connector : "LrepConnector"
1014
- }];
1015
- } else {
1016
- vFlexibilityServices = JSON.parse(vFlexibilityServices);
1017
- }
747
+ var FlexConfig = sap.ui.require("sap/ui/fl/initial/_internal/FlexConfiguration");
748
+ var vFlexibilityServices;
749
+ if (FlexConfig) {
750
+ vFlexibilityServices = FlexConfig.getFlexibilityServices();
751
+ } else {
752
+ const aDefaultValue = [{
753
+ url: "/sap/bc/lrep",
754
+ connector: "LrepConnector"
755
+ }];
756
+ vFlexibilityServices = BaseConfig.get({
757
+ name: "sapUiFlexibilityServices",
758
+ type: (value) => {
759
+ if (value && typeof value === "string") {
760
+ if (value[0] === "/") {
761
+ aDefaultValue[0].url = value;
762
+ value = aDefaultValue;
763
+ } else {
764
+ value = JSON.parse(value);
765
+ }
766
+ }
767
+ return value || [];
768
+ },
769
+ defaultValue: aDefaultValue,
770
+ external: true
771
+ });
1018
772
  }
1019
- config.flexibilityServices = vFlexibilityServices;
1020
-
1021
- return config.flexibilityServices;
1022
- },
1023
-
1024
- /**
1025
- * Sets the UI5 flexibility services configuration.
1026
- *
1027
- * @param {object[]} aFlexibilityServices Connector configuration
1028
- * @param {string} [aFlexibilityServices.connector] Name of the connector
1029
- * @param {string} [aFlexibilityServices.applyConnector] Name of the full module name of the custom apply connector
1030
- * @param {string} [aFlexibilityServices.writeConnector] Name of the full module name of the custom write connector
1031
- * @param {boolean} [aFlexibilityServices.custom=false] Flag to identify the connector as custom or fl owned
1032
- * @param {string} [aFlexibilityServices.url] Url for requests sent by the connector
1033
- * @param {string} [aFlexibilityServices.path] Path for loading data in the ObjectPath connector
1034
- * @param {sap.ui.fl.Layer[]} [aFlexibilityServices.layers] List of layers in which the connector is allowed to write
1035
- * @private
1036
- * @ui5-restricted sap.ui.fl, other ui5 bootstrapping tools
1037
- * @since 1.73.0
1038
- */
1039
- setFlexibilityServices: function (aFlexibilityServices) {
1040
- config.flexibilityServices = aFlexibilityServices.slice();
1041
- },
1042
-
1043
- /**
1044
- * Currently active preload mode for components or falsy value.
1045
- *
1046
- * @returns {string} component preload mode
1047
- * @private
1048
- * @experimental Since 1.16.3, might change completely.
1049
- */
1050
- getComponentPreload : function() {
1051
- return BaseConfig.get({name: "sapUiXxComponentPreload", type: BaseConfig.Type.String, external: true}) || Configuration.getPreload();
773
+ return vFlexibilityServices;
1052
774
  },
1053
775
 
1054
776
  /**
@@ -1056,6 +778,7 @@ sap.ui.define([
1056
778
  *
1057
779
  * @returns {sap.ui.core.Configuration.FormatSettings} A FormatSettings object.
1058
780
  * @public
781
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting} instead.
1059
782
  */
1060
783
  getFormatSettings : function() {
1061
784
  return oFormatSettings;
@@ -1066,33 +789,32 @@ sap.ui.define([
1066
789
  *
1067
790
  * @return {string} frameOptions mode
1068
791
  * @public
792
+ * @function
793
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getFrameOptions} instead.
1069
794
  */
1070
- getFrameOptions : function() {
1071
- return Configuration.getValue("frameOptions");
1072
- },
795
+ getFrameOptions : Security.getFrameOptions,
1073
796
 
1074
797
  /**
1075
798
  * URL of the whitelist service.
1076
799
  *
1077
800
  * @return {string} whitelist service URL
1078
801
  * @public
1079
- * @deprecated Since 1.85.0. Use {@link sap.ui.core.Configuration#getAllowlistService} instead.
802
+ * @function
803
+ * @deprecated As of Version 1.85. Use {@link module:sap/ui/security/Security.getAllowlistService} instead.
1080
804
  * SAP strives to replace insensitive terms with inclusive language.
1081
805
  * Since APIs cannot be renamed or immediately removed for compatibility reasons, this API has been deprecated.
1082
806
  */
1083
- getWhitelistService : function() {
1084
- return Configuration.getAllowlistService();
1085
- },
807
+ getWhitelistService : Security.getAllowlistService,
1086
808
 
1087
809
  /**
1088
810
  * URL of the allowlist service.
1089
811
  *
1090
812
  * @return {string} allowlist service URL
1091
813
  * @public
814
+ * @function
815
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getAllowlistService} instead.
1092
816
  */
1093
- getAllowlistService : function() {
1094
- return Configuration.getValue("allowlistService");
1095
- },
817
+ getAllowlistService : Security.getAllowlistService,
1096
818
 
1097
819
  /**
1098
820
  * Name (ID) of a UI5 module that implements file share support.
@@ -1104,29 +826,14 @@ sap.ui.define([
1104
826
  * @returns {string|undefined} Module name (ID) of a file share support module
1105
827
  * @public
1106
828
  * @since 1.102
829
+ * @deprecated As of version 1.120
1107
830
  */
1108
831
  getFileShareSupport : function() {
1109
- return Configuration.getValue("fileShareSupport") || undefined;
1110
- },
1111
-
1112
- /**
1113
- * Whether support mode is enabled.
1114
- *
1115
- * @return {boolean} support mode is enabled
1116
- * @experimental
1117
- */
1118
- getSupportMode : function() {
1119
- return Configuration.getValue("support");
1120
- },
1121
-
1122
- /**
1123
- * Whether test tools are enabled.
1124
- *
1125
- * @return {boolean} test tools are enabled
1126
- * @experimental
1127
- */
1128
- getTestRecorderMode : function() {
1129
- return Configuration.getValue("testRecorder");
832
+ return BaseConfig.get({
833
+ name: "sapUiFileShareSupport",
834
+ type: BaseConfig.Type.String,
835
+ defaultValue: undefined
836
+ });
1130
837
  },
1131
838
 
1132
839
  /**
@@ -1137,12 +844,11 @@ sap.ui.define([
1137
844
  *
1138
845
  * @returns {boolean} statistics flag
1139
846
  * @private
1140
- * @deprecated since 1.106.0. Renamed for clarity, use {@link sap.ui.core.Configuration#getStatisticsEnabled} instead
847
+ * @function
1141
848
  * @since 1.20.0
849
+ * @deprecated As of Version 1.106. Renamed for clarity, use {@link sap.ui.core.Configuration#getStatisticsEnabled} instead.
1142
850
  */
1143
- getStatistics : function() {
1144
- return Configuration.getStatisticsEnabled();
1145
- },
851
+ getStatistics : Configuration.getStatisticsEnabled,
1146
852
 
1147
853
  /**
1148
854
  * Flag if statistics are requested.
@@ -1153,23 +859,17 @@ sap.ui.define([
1153
859
  * @returns {boolean} Whether statistics are enabled
1154
860
  * @public
1155
861
  * @since 1.106.0
862
+ * @function
863
+ * @deprecated As of Version 1.120
1156
864
  */
1157
- getStatisticsEnabled : function() {
1158
- var result = Configuration.getValue("statistics");
1159
- try {
1160
- result = result || window.localStorage.getItem("sap-ui-statistics") == "X";
1161
- } catch (e) {
1162
- // access to local storage might fail due to security / privacy settings
1163
- }
1164
- return result;
1165
- },
865
+ getStatisticsEnabled : Supportability.isStatisticsEnabled,
1166
866
 
1167
867
  /**
1168
868
  * Return whether native scrolling should be suppressed on touch devices.
1169
869
  *
1170
870
  * @returns {boolean} whether native scrolling is suppressed on touch devices
1171
871
  * @since 1.20.0
1172
- * @deprecated since 1.26.0. Always use native scrolling
872
+ * @deprecated As of Version 1.26.0. Always use native scrolling.
1173
873
  * @private
1174
874
  */
1175
875
  getNoNativeScroll : function() {
@@ -1183,7 +883,7 @@ sap.ui.define([
1183
883
  * @since 1.77.0
1184
884
  * @public
1185
885
  * @function
1186
- * @deprecated Since 1.118. Please use {@link module:sap/base/i18n/Localization.getActiveTerminologies} instead.
886
+ * @deprecated As of Version 1.118. Please use {@link module:sap/base/i18n/Localization.getActiveTerminologies} instead.
1187
887
  */
1188
888
  getActiveTerminologies : Localization.getActiveTerminologies,
1189
889
 
@@ -1192,12 +892,11 @@ sap.ui.define([
1192
892
  *
1193
893
  * @returns {Array<function(sap.ui.core.URI):Promise>} the security token handlers (an empty array if there are none)
1194
894
  * @public
1195
- * @since 1.95.0
895
+ * @function
896
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getSecurityTokenHandlers} instead.
1196
897
  * @see #setSecurityTokenHandlers
1197
898
  */
1198
- getSecurityTokenHandlers : function () {
1199
- return Configuration.getValue("securityTokenHandlers").slice();
1200
- },
899
+ getSecurityTokenHandlers : Security.getSecurityTokenHandlers,
1201
900
 
1202
901
  /**
1203
902
  * Sets the security token handlers for an OData V4 model. See chapter
@@ -1205,16 +904,11 @@ sap.ui.define([
1205
904
  *
1206
905
  * @param {Array<function(sap.ui.core.URI):Promise>} aSecurityTokenHandlers - The security token handlers
1207
906
  * @public
1208
- * @since 1.95.0
907
+ * @function
908
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.setSecurityTokenHandlers} instead.
1209
909
  * @see #getSecurityTokenHandlers
1210
910
  */
1211
- setSecurityTokenHandlers : function (aSecurityTokenHandlers) {
1212
- aSecurityTokenHandlers.forEach(function (fnSecurityTokenHandler) {
1213
- check(typeof fnSecurityTokenHandler === "function",
1214
- "Not a function: " + fnSecurityTokenHandler);
1215
- });
1216
- config.securityTokenHandlers = aSecurityTokenHandlers.slice();
1217
- },
911
+ setSecurityTokenHandlers : Security.setSecurityTokenHandlers,
1218
912
 
1219
913
  /**
1220
914
  * Applies multiple changes to the configuration at once.
@@ -1248,6 +942,7 @@ sap.ui.define([
1248
942
  * @returns {this} Returns <code>this</code> to allow method chaining
1249
943
  * @public
1250
944
  * @since 1.38.6
945
+ * @deprecated As of Version 1.120
1251
946
  */
1252
947
  applySettings: function(mSettings) {
1253
948
 
@@ -1281,64 +976,12 @@ sap.ui.define([
1281
976
  *
1282
977
  * @private
1283
978
  * @ui5-restricted sap.ui.core.Core
979
+ * @deprecated As of Version 1.120
1284
980
  */
1285
- setCore: function (oNewCore) {
981
+ setCore: function (oCore) {
1286
982
  // Setting the core needs to happen before init
1287
983
  // because getValue relies on oCore and is used in init
1288
- oCore = oNewCore;
1289
- init();
1290
- },
1291
-
1292
- /**
1293
- * Generic getter for configuration options that are not explicitly exposed via a dedicated own getter.
1294
- *
1295
- * For now, this getter only supports configuration options that are known to Configuration.js
1296
- * (as maintained in the M_SETTINGS, see code).
1297
- *
1298
- * @param {string} sName Name of the configuration parameter, must be a key of M_SETTINGS
1299
- * @returns {any} Value of the configuration parameter, will be of the type specified in M_SETTINGS
1300
- *
1301
- * @private
1302
- * @ui5-restricted sap.ui.core.Core, jquery.sap.global
1303
- * @since 1.106
1304
- */
1305
- getValue: function(sName) {
1306
- var vValue;
1307
- if (typeof sName !== "string" || !Object.hasOwn(M_SETTINGS, sName)) {
1308
- throw new TypeError(
1309
- "Parameter 'sName' must be the name of a valid configuration option (one of "
1310
- + Object.keys(M_SETTINGS).map(function(key) {
1311
- return "'" + key + "'";
1312
- }).sort().join(", ")
1313
- + ")"
1314
- );
1315
- }
1316
-
1317
- // Until the Configuration is initialized we return the configuration value either from the instance
1318
- // (if a setter was called), from URL or window["sap-ui-config"].
1319
- // In case there is no value or the type conversion fails we return the defaultValue.
1320
- // After the Configuration is initialized we only return the value of the configuration.
1321
- if (bInitialized || config.hasOwnProperty(sName)) {
1322
- vValue = config[sName];
1323
- } else {
1324
- if (!config.ignoreUrlParams && !M_SETTINGS[sName].noUrl) {
1325
- var oUriParams = new URLSearchParams(window.location.search);
1326
- vValue = oUriParams.get("sap-ui-" + sName) || oUriParams.get("sap-" + sName);
1327
- }
1328
- vValue = vValue ? vValue : window["sap-ui-config"][sName] || window["sap-ui-config"][sName.toLowerCase()];
1329
- try {
1330
- vValue = vValue === undefined ? M_SETTINGS[sName].defaultValue : convertToType(sName, vValue);
1331
- } catch (error) {
1332
- // If type conversion fails return defaultValue
1333
- vValue = M_SETTINGS[sName].defaultValue;
1334
- }
1335
- }
1336
- // Return copy of array or object instead of reference
1337
- if (typeof M_SETTINGS[sName].type === "string" &&
1338
- (M_SETTINGS[sName].type.endsWith("[]") || M_SETTINGS[sName].type === "object")) {
1339
- vValue = deepClone(vValue);
1340
- }
1341
- return vValue;
984
+ Core = oCore;
1342
985
  }
1343
986
  });
1344
987
 
@@ -1353,6 +996,7 @@ sap.ui.define([
1353
996
  * @name sap.ui.core.Configuration.AnimationMode
1354
997
  * @since 1.50.0
1355
998
  * @public
999
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/AnimationMode} instead.
1356
1000
  */
1357
1001
 
1358
1002
  /**
@@ -1384,21 +1028,6 @@ sap.ui.define([
1384
1028
  */
1385
1029
  Configuration.AnimationMode = AnimationMode;
1386
1030
 
1387
- /*
1388
- * Helper that creates a Locale object from the given language
1389
- * or, if that fails, returns null.
1390
- * A value of null indicates that the language was not BCP47 compliant.
1391
- */
1392
- function convertToLocaleOrNull(sLanguage) {
1393
- try {
1394
- if ( sLanguage && typeof sLanguage === 'string' ) {
1395
- return new Locale( sLanguage );
1396
- }
1397
- } catch (e) {
1398
- // ignore
1399
- }
1400
- }
1401
-
1402
1031
  function check(bCondition, sMessage) {
1403
1032
  if ( !bCondition ) {
1404
1033
  throw new Error(sMessage);
@@ -1416,6 +1045,7 @@ sap.ui.define([
1416
1045
  * @alias sap.ui.core.Configuration.FormatSettings
1417
1046
  * @extends sap.ui.base.Object
1418
1047
  * @public
1048
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting} instead.
1419
1049
  * @borrows module:sap/base/i18n/Formatting.getCustomUnits as #getCustomUnits
1420
1050
  * @borrows module:sap/base/i18n/Formatting.setCustomUnits as #setCustomUnits
1421
1051
  * @borrows module:sap/base/i18n/Formatting.addCustomUnits as #addCustomUnits
@@ -1440,6 +1070,7 @@ sap.ui.define([
1440
1070
  */
1441
1071
  var FormatSettings = BaseObject.extend("sap.ui.core.Configuration.FormatSettings", /** @lends sap.ui.core.Configuration.FormatSettings.prototype */ {
1442
1072
  constructor : function() {
1073
+ BaseObject.call(this);
1443
1074
  this.mSettings = {};
1444
1075
  },
1445
1076
 
@@ -1456,6 +1087,7 @@ sap.ui.define([
1456
1087
  *
1457
1088
  * @return {sap.ui.core.Locale} the format locale
1458
1089
  * @public
1090
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getLanguageTag} instead.
1459
1091
  */
1460
1092
  getFormatLocale : function() {
1461
1093
  var oLocale = Formatting.getLanguageTag();
@@ -1466,13 +1098,25 @@ sap.ui.define([
1466
1098
 
1467
1099
  getCustomUnits: Formatting.getCustomUnits,
1468
1100
 
1469
- setCustomUnits: Formatting.setCustomUnits,
1101
+ setCustomUnits: function() {
1102
+ Formatting.setCustomUnits.apply(Formatting, arguments);
1103
+ return this;
1104
+ },
1470
1105
 
1471
- addCustomUnits: Formatting.addCustomUnits,
1106
+ addCustomUnits: function() {
1107
+ Formatting.addCustomUnits.apply(Formatting, arguments);
1108
+ return this;
1109
+ },
1472
1110
 
1473
- setUnitMappings: Formatting.setUnitMappings,
1111
+ setUnitMappings: function() {
1112
+ Formatting.setUnitMappings.apply(Formatting, arguments);
1113
+ return this;
1114
+ },
1474
1115
 
1475
- addUnitMappings: Formatting.addUnitMappings,
1116
+ addUnitMappings: function() {
1117
+ Formatting.addUnitMappings.apply(Formatting, arguments);
1118
+ return this;
1119
+ },
1476
1120
 
1477
1121
  getUnitMappings: Formatting.getUnitMappings,
1478
1122
 
@@ -1497,7 +1141,10 @@ sap.ui.define([
1497
1141
  * @public
1498
1142
  * @function
1499
1143
  */
1500
- setDatePattern : Formatting.setDatePattern,
1144
+ setDatePattern : function() {
1145
+ Formatting.setDatePattern.apply(Formatting, arguments);
1146
+ return this;
1147
+ },
1501
1148
 
1502
1149
  getTimePattern : Formatting.getTimePattern,
1503
1150
 
@@ -1520,7 +1167,10 @@ sap.ui.define([
1520
1167
  * @public
1521
1168
  * @function
1522
1169
  */
1523
- setTimePattern : Formatting.setTimePattern,
1170
+ setTimePattern : function() {
1171
+ Formatting.setTimePattern.apply(Formatting, arguments);
1172
+ return this;
1173
+ },
1524
1174
 
1525
1175
  getNumberSymbol : Formatting.getNumberSymbol,
1526
1176
 
@@ -1544,13 +1194,22 @@ sap.ui.define([
1544
1194
  * @public
1545
1195
  * @function
1546
1196
  */
1547
- setNumberSymbol : Formatting.setNumberSymbol,
1197
+ setNumberSymbol : function() {
1198
+ Formatting.setNumberSymbol.apply(Formatting, arguments);
1199
+ return this;
1200
+ },
1548
1201
 
1549
1202
  getCustomCurrencies : Formatting.getCustomCurrencies,
1550
1203
 
1551
- setCustomCurrencies : Formatting.setCustomCurrencies,
1204
+ setCustomCurrencies : function() {
1205
+ Formatting.setCustomCurrencies.apply(Formatting, arguments);
1206
+ return this;
1207
+ },
1552
1208
 
1553
- addCustomCurrencies: Formatting.addCustomCurrencies,
1209
+ addCustomCurrencies: function() {
1210
+ Formatting.addCustomCurrencies.apply(Formatting, arguments);
1211
+ return this;
1212
+ },
1554
1213
 
1555
1214
  /**
1556
1215
  * Defines the day used as the first day of the week.
@@ -1571,7 +1230,7 @@ sap.ui.define([
1571
1230
  * @param {int} iValue must be an integer value between 0 and 6
1572
1231
  * @returns {this} Returns <code>this</code> to allow method chaining
1573
1232
  * @public
1574
- * @deprecated Since 1.113.0. Use {@link sap.ui.core.Configuration.FormatSettings#setCalendarWeekNumbering} instead.
1233
+ * @deprecated As of Version 1.113. Use {@link sap.ui.core.Configuration.FormatSettings#setCalendarWeekNumbering} instead.
1575
1234
  */
1576
1235
  setFirstDayOfWeek : function(iValue) {
1577
1236
  check(typeof iValue == "number" && iValue >= 0 && iValue <= 6, "iValue must be an integer value between 0 and 6");
@@ -1581,7 +1240,7 @@ sap.ui.define([
1581
1240
 
1582
1241
  _setDayPeriods: Formatting._setDayPeriods,
1583
1242
 
1584
- getLegacyDateFormat : Formatting.getLegacyDateFormat,
1243
+ getLegacyDateFormat : Formatting.getABAPDateFormat,
1585
1244
 
1586
1245
  /**
1587
1246
  * Allows to specify one of the legacy ABAP date formats.
@@ -1600,9 +1259,12 @@ sap.ui.define([
1600
1259
  * @public
1601
1260
  * @function
1602
1261
  */
1603
- setLegacyDateFormat : Formatting.setLegacyDateFormat,
1262
+ setLegacyDateFormat : function() {
1263
+ Formatting.setABAPDateFormat.apply(Formatting, arguments);
1264
+ return this;
1265
+ },
1604
1266
 
1605
- getLegacyTimeFormat : Formatting.getLegacyTimeFormat,
1267
+ getLegacyTimeFormat : Formatting.getABAPTimeFormat,
1606
1268
 
1607
1269
  /**
1608
1270
  * Allows to specify one of the legacy ABAP time formats.
@@ -1622,9 +1284,12 @@ sap.ui.define([
1622
1284
  * @public
1623
1285
  * @function
1624
1286
  */
1625
- setLegacyTimeFormat : Formatting.setLegacyTimeFormat,
1287
+ setLegacyTimeFormat : function() {
1288
+ Formatting.setABAPTimeFormat.apply(Formatting, arguments);
1289
+ return this;
1290
+ },
1626
1291
 
1627
- getLegacyNumberFormat : Formatting.getLegacyNumberFormat,
1292
+ getLegacyNumberFormat : Formatting.getABAPNumberFormat,
1628
1293
 
1629
1294
  /**
1630
1295
  * Allows to specify one of the legacy ABAP number format.
@@ -1643,35 +1308,54 @@ sap.ui.define([
1643
1308
  * @public
1644
1309
  * @function
1645
1310
  */
1646
- setLegacyNumberFormat : Formatting.setLegacyNumberFormat,
1311
+ setLegacyNumberFormat : function() {
1312
+ Formatting.setABAPNumberFormat.apply(Formatting, arguments);
1313
+ return this;
1314
+ },
1647
1315
 
1648
- setLegacyDateCalendarCustomizing : Formatting.setLegacyDateCalendarCustomizing,
1316
+ setLegacyDateCalendarCustomizing : function() {
1317
+ Formatting.setLegacyDateCalendarCustomizing.apply(Formatting, arguments);
1318
+ return this;
1319
+ },
1649
1320
 
1650
1321
  getLegacyDateCalendarCustomizing : Formatting.getLegacyDateCalendarCustomizing,
1651
1322
 
1652
- setTrailingCurrencyCode : Formatting.setTrailingCurrencyCode,
1323
+ setTrailingCurrencyCode : function() {
1324
+ Formatting.setTrailingCurrencyCode.apply(Formatting, arguments);
1325
+ return this;
1326
+ },
1653
1327
 
1654
1328
  getTrailingCurrencyCode : Formatting.getTrailingCurrencyCode,
1655
1329
 
1656
1330
  getCustomLocaleData : Formatting.getCustomLocaleData
1657
1331
  });
1658
1332
 
1333
+ /**
1334
+ * @deprecated As of Version 1.120
1335
+ */
1659
1336
  oFormatSettings = new FormatSettings(this);
1660
1337
 
1661
1338
  //enable Eventing
1662
1339
  Localization.attachChange(function(oEvent) {
1663
- if (!mChanges && oCore) {
1664
- oCore.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1340
+ if (!mChanges && Core) {
1341
+ Core.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1665
1342
  } else if (mChanges) {
1666
1343
  Object.assign(mChanges, BaseEvent.getParameters(oEvent));
1667
1344
  }
1668
1345
  });
1669
1346
 
1670
1347
  Formatting.attachChange(function(oEvent) {
1671
- if (!mChanges && oCore) {
1672
- oCore.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1348
+ const mParameters = BaseEvent.getParameters(oEvent);
1349
+ Object.keys(oEvent).forEach((sName) => {
1350
+ if (["ABAPDateFormat", "ABAPTimeFormat", "ABAPNumberFormat"].includes(sName)) {
1351
+ mParameters[sName.replace("ABAP", "legacy")] = mParameters[sName];
1352
+ delete mParameters[sName];
1353
+ }
1354
+ });
1355
+ if (!mChanges && Core) {
1356
+ Core.fireLocalizationChanged(mParameters);
1673
1357
  } else if (mChanges) {
1674
- Object.assign(mChanges, BaseEvent.getParameters(oEvent));
1358
+ Object.assign(mChanges, mParameters);
1675
1359
  }
1676
1360
  });
1677
1361