@openui5/sap.ui.core 1.119.1 → 1.120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (968) 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 +400 -256
  13. package/src/sap/base/i18n/LanguageTag.js +64 -66
  14. package/src/sap/base/i18n/Localization.js +125 -87
  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 -85
  75. package/src/sap/ui/base/ManagedObjectMetadata.js +53 -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 +175 -86
  86. package/src/sap/ui/core/ComponentContainer.js +6 -5
  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 +395 -709
  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 +338 -216
  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 +24 -10
  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 +3 -3
  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 +253 -57
  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 +5 -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/Islamic.js +4 -4
  217. package/src/sap/ui/core/date/UI5Date.js +1 -1
  218. package/src/sap/ui/core/date/_Calendars.js +5 -2
  219. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  220. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  221. package/src/sap/ui/core/dnd/DragAndDrop.js +3 -2
  222. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  223. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  224. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  225. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  226. package/src/sap/ui/core/format/DateFormat.js +33 -21
  227. package/src/sap/ui/core/format/NumberFormat.js +3 -2
  228. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  229. package/src/sap/ui/core/getCompatibilityVersion.js +2 -2
  230. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  231. package/src/sap/ui/core/library.js +128 -8
  232. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  233. package/src/sap/ui/core/message/Message.js +2 -2
  234. package/src/sap/ui/core/message/MessageManager.js +1 -1
  235. package/src/sap/ui/core/message/MessageParser.js +1 -1
  236. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  237. package/src/sap/ui/core/message/MessageType.js +2 -1
  238. package/src/sap/ui/core/messagebundle.properties +24 -0
  239. package/src/sap/ui/core/messagebundle_ar.properties +15 -3
  240. package/src/sap/ui/core/messagebundle_bg.properties +14 -2
  241. package/src/sap/ui/core/messagebundle_ca.properties +13 -1
  242. package/src/sap/ui/core/messagebundle_cs.properties +15 -3
  243. package/src/sap/ui/core/messagebundle_cy.properties +16 -4
  244. package/src/sap/ui/core/messagebundle_da.properties +15 -3
  245. package/src/sap/ui/core/messagebundle_de.properties +15 -3
  246. package/src/sap/ui/core/messagebundle_el.properties +16 -4
  247. package/src/sap/ui/core/messagebundle_en.properties +12 -0
  248. package/src/sap/ui/core/messagebundle_en_GB.properties +16 -4
  249. package/src/sap/ui/core/messagebundle_es.properties +15 -3
  250. package/src/sap/ui/core/messagebundle_es_MX.properties +15 -3
  251. package/src/sap/ui/core/messagebundle_et.properties +15 -3
  252. package/src/sap/ui/core/messagebundle_fi.properties +15 -3
  253. package/src/sap/ui/core/messagebundle_fr.properties +15 -3
  254. package/src/sap/ui/core/messagebundle_fr_CA.properties +14 -2
  255. package/src/sap/ui/core/messagebundle_hi.properties +16 -4
  256. package/src/sap/ui/core/messagebundle_hr.properties +14 -2
  257. package/src/sap/ui/core/messagebundle_hu.properties +16 -4
  258. package/src/sap/ui/core/messagebundle_id.properties +15 -3
  259. package/src/sap/ui/core/messagebundle_it.properties +17 -5
  260. package/src/sap/ui/core/messagebundle_iw.properties +15 -3
  261. package/src/sap/ui/core/messagebundle_ja.properties +25 -13
  262. package/src/sap/ui/core/messagebundle_kk.properties +15 -3
  263. package/src/sap/ui/core/messagebundle_ko.properties +14 -2
  264. package/src/sap/ui/core/messagebundle_lt.properties +15 -3
  265. package/src/sap/ui/core/messagebundle_lv.properties +15 -3
  266. package/src/sap/ui/core/messagebundle_mk.properties +352 -0
  267. package/src/sap/ui/core/messagebundle_ms.properties +15 -3
  268. package/src/sap/ui/core/messagebundle_nl.properties +15 -3
  269. package/src/sap/ui/core/messagebundle_no.properties +14 -2
  270. package/src/sap/ui/core/messagebundle_pl.properties +15 -3
  271. package/src/sap/ui/core/messagebundle_pt.properties +15 -3
  272. package/src/sap/ui/core/messagebundle_pt_PT.properties +14 -2
  273. package/src/sap/ui/core/messagebundle_ro.properties +15 -3
  274. package/src/sap/ui/core/messagebundle_ru.properties +15 -3
  275. package/src/sap/ui/core/messagebundle_sh.properties +43 -31
  276. package/src/sap/ui/core/messagebundle_sk.properties +16 -4
  277. package/src/sap/ui/core/messagebundle_sl.properties +15 -3
  278. package/src/sap/ui/core/messagebundle_sv.properties +22 -10
  279. package/src/sap/ui/core/messagebundle_th.properties +15 -3
  280. package/src/sap/ui/core/messagebundle_tr.properties +15 -3
  281. package/src/sap/ui/core/messagebundle_uk.properties +18 -6
  282. package/src/sap/ui/core/messagebundle_vi.properties +18 -6
  283. package/src/sap/ui/core/messagebundle_zh_CN.properties +15 -3
  284. package/src/sap/ui/core/messagebundle_zh_TW.properties +15 -3
  285. package/src/sap/ui/core/mvc/Controller.js +22 -16
  286. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
  287. package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -15
  288. package/src/sap/ui/core/mvc/HTMLView.js +2 -2
  289. package/src/sap/ui/core/mvc/JSONView.js +4 -1
  290. package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -0
  291. package/src/sap/ui/core/mvc/JSView.js +1 -1
  292. package/src/sap/ui/core/mvc/OverrideExecution.js +4 -4
  293. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  294. package/src/sap/ui/core/mvc/View.js +25 -15
  295. package/src/sap/ui/core/mvc/ViewType.js +2 -0
  296. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  297. package/src/sap/ui/core/plugin/DeclarativeSupport.js +2 -1
  298. package/src/sap/ui/core/plugin/LessSupport.js +3 -1
  299. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  300. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  301. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  302. package/src/sap/ui/core/routing/Router.js +2 -4
  303. package/src/sap/ui/core/routing/Target.js +1 -3
  304. package/src/sap/ui/core/routing/Targets.js +2 -3
  305. package/src/sap/ui/core/routing/Views.js +2 -3
  306. package/src/sap/ui/core/routing/async/Target.js +1 -1
  307. package/src/sap/ui/core/rules/Config.support.js +11 -17
  308. package/src/sap/ui/core/search/OpenSearchProvider.js +2 -1
  309. package/src/sap/ui/core/search/SearchProvider.js +2 -1
  310. package/src/sap/ui/core/service/Service.js +1 -1
  311. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  312. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  313. package/src/sap/ui/core/support/Hotkeys.js +5 -3
  314. package/src/sap/ui/core/support/Plugin.js +1 -1
  315. package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -3
  316. package/src/sap/ui/core/support/Support.js +3 -5
  317. package/src/sap/ui/core/support/ToolsAPI.js +15 -11
  318. package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
  319. package/src/sap/ui/core/support/plugins/Interaction.js +4 -4
  320. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  321. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  322. package/src/sap/ui/core/support/plugins/Selector.js +7 -5
  323. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  324. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  325. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  326. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +3 -1
  327. package/src/sap/ui/core/syncStyleClass.js +2 -2
  328. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  329. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  330. package/src/sap/ui/core/themes/base/global.less +9 -9
  331. package/src/sap/ui/core/theming/Parameters.js +18 -19
  332. package/src/sap/ui/core/theming/ThemeManager.js +23 -4
  333. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  334. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  335. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  336. package/src/sap/ui/core/tmpl/Template.js +1 -1
  337. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  338. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  339. package/src/sap/ui/core/util/Export.js +1 -1
  340. package/src/sap/ui/core/util/ExportCell.js +1 -1
  341. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  342. package/src/sap/ui/core/util/ExportRow.js +1 -1
  343. package/src/sap/ui/core/util/ExportType.js +1 -1
  344. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  345. package/src/sap/ui/core/util/File.js +1 -1
  346. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  347. package/src/sap/ui/core/util/MockServer.js +1 -1
  348. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  349. package/src/sap/ui/core/util/XMLPreprocessor.js +3 -0
  350. package/src/sap/ui/core/util/_LocalizationHelper.js +122 -0
  351. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  352. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  353. package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
  354. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  355. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  356. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  357. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  358. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  359. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  360. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  361. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  362. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  363. package/src/sap/ui/debug/ControlTree.js +1 -1
  364. package/src/sap/ui/debug/DebugEnv.js +29 -7
  365. package/src/sap/ui/debug/PropertyList.js +1 -1
  366. package/src/sap/ui/model/ClientListBinding.js +9 -4
  367. package/src/sap/ui/model/ClientModel.js +1 -1
  368. package/src/sap/ui/model/ClientTreeBinding.js +9 -4
  369. package/src/sap/ui/model/CompositeDataState.js +1 -1
  370. package/src/sap/ui/model/CompositeType.js +1 -1
  371. package/src/sap/ui/model/DataState.js +2 -2
  372. package/src/sap/ui/model/Filter.js +39 -1
  373. package/src/sap/ui/model/FilterProcessor.js +15 -5
  374. package/src/sap/ui/model/ListBinding.js +5 -0
  375. package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
  376. package/src/sap/ui/model/MetaModel.js +1 -1
  377. package/src/sap/ui/model/Model.js +14 -8
  378. package/src/sap/ui/model/SelectionModel.js +1 -1
  379. package/src/sap/ui/model/SimpleType.js +1 -1
  380. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  381. package/src/sap/ui/model/TreeBinding.js +3 -0
  382. package/src/sap/ui/model/Type.js +1 -1
  383. package/src/sap/ui/model/analytics/AnalyticalBinding.js +3 -1
  384. package/src/sap/ui/model/json/JSONListBinding.js +3 -1
  385. package/src/sap/ui/model/json/JSONModel.js +1 -1
  386. package/src/sap/ui/model/json/JSONTreeBinding.js +3 -2
  387. package/src/sap/ui/model/message/MessageListBinding.js +3 -0
  388. package/src/sap/ui/model/message/MessageModel.js +1 -1
  389. package/src/sap/ui/model/odata/AnnotationHelper.js +9 -3
  390. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  391. package/src/sap/ui/model/odata/ODataListBinding.js +8 -2
  392. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  393. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  394. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  395. package/src/sap/ui/model/odata/ODataModel.js +9 -5
  396. package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -2
  397. package/src/sap/ui/model/odata/ODataTreeBinding.js +2 -0
  398. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +9 -14
  399. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  400. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  401. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  402. package/src/sap/ui/model/odata/type/Date.js +1 -1
  403. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  404. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  405. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  406. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  407. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  408. package/src/sap/ui/model/odata/type/Double.js +1 -1
  409. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  410. package/src/sap/ui/model/odata/type/Int.js +1 -1
  411. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  412. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  413. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  414. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  415. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  416. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  417. package/src/sap/ui/model/odata/type/Single.js +1 -1
  418. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  419. package/src/sap/ui/model/odata/type/String.js +1 -1
  420. package/src/sap/ui/model/odata/type/Time.js +1 -1
  421. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  422. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  423. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  424. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  425. package/src/sap/ui/model/odata/v2/ODataListBinding.js +40 -15
  426. package/src/sap/ui/model/odata/v2/ODataModel.js +26 -62
  427. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +38 -4
  428. package/src/sap/ui/model/odata/v4/Context.js +81 -7
  429. package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
  430. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  431. package/src/sap/ui/model/odata/v4/ODataListBinding.js +217 -75
  432. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
  433. package/src/sap/ui/model/odata/v4/ODataModel.js +6 -6
  434. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  435. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +406 -199
  436. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +12 -7
  437. package/src/sap/ui/model/odata/v4/lib/_Cache.js +53 -30
  438. package/src/sap/ui/model/odata/v4/lib/_Helper.js +6 -4
  439. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -6
  440. package/src/sap/ui/model/resource/ResourceModel.js +5 -6
  441. package/src/sap/ui/model/type/Boolean.js +1 -1
  442. package/src/sap/ui/model/type/Currency.js +1 -1
  443. package/src/sap/ui/model/type/Date.js +1 -1
  444. package/src/sap/ui/model/type/DateInterval.js +1 -1
  445. package/src/sap/ui/model/type/DateTime.js +1 -1
  446. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  447. package/src/sap/ui/model/type/FileSize.js +1 -1
  448. package/src/sap/ui/model/type/Float.js +1 -1
  449. package/src/sap/ui/model/type/Integer.js +1 -1
  450. package/src/sap/ui/model/type/String.js +1 -1
  451. package/src/sap/ui/model/type/Time.js +1 -1
  452. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  453. package/src/sap/ui/model/type/Unit.js +1 -1
  454. package/src/sap/ui/model/xml/XMLListBinding.js +3 -0
  455. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  456. package/src/sap/ui/model/xml/XMLTreeBinding.js +3 -0
  457. package/src/sap/ui/performance/BeaconRequest.js +2 -2
  458. package/src/sap/ui/performance/trace/Interaction.js +20 -16
  459. package/src/sap/ui/qunit/QUnitUtils.js +64 -45
  460. package/src/sap/ui/qunit/qunit-coverage.js +6 -0
  461. package/src/sap/ui/qunit/utils/ControlIterator.js +31 -1
  462. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  463. package/src/sap/ui/security/Security.js +128 -0
  464. package/src/sap/ui/test/BlanketReporter.js +2 -3
  465. package/src/sap/ui/test/BlanketReporterUI.view.xml +1 -1
  466. package/src/sap/ui/test/BranchTracking.js +2 -3
  467. package/src/sap/ui/test/ModuleTracking.js +48 -20
  468. package/src/sap/ui/test/OpaExtension.js +3 -3
  469. package/src/sap/ui/test/OpaPlugin.js +16 -6
  470. package/src/sap/ui/test/TestUtils.js +7 -4
  471. package/src/sap/ui/test/_BrowserLogCollector.js +1 -0
  472. package/src/sap/ui/test/_ControlFinder.js +3 -2
  473. package/src/sap/ui/test/_LogCollector.js +1 -0
  474. package/src/sap/ui/test/_UsageReport.js +115 -114
  475. package/src/sap/ui/test/actions/EnterText.js +24 -2
  476. package/src/sap/ui/test/autowaiter/WaiterBase.js +1 -0
  477. package/src/sap/ui/test/autowaiter/_moduleWaiter.js +1 -2
  478. package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +1 -1
  479. package/src/sap/ui/test/generic/GenericTestCollection.js +5 -0
  480. package/src/sap/ui/test/generic/TestBase.js +1 -1
  481. package/src/sap/ui/test/generic/Utils.js +1 -1
  482. package/src/sap/ui/test/matchers/LabelFor.js +2 -12
  483. package/src/sap/ui/test/matchers/Matcher.js +1 -1
  484. package/src/sap/ui/test/pipelines/PipelineFactory.js +1 -0
  485. package/src/sap/ui/test/selectors/_Selector.js +1 -1
  486. package/src/sap/ui/util/Storage.js +1 -1
  487. package/src/ui5loader-autoconfig.js +84 -11
  488. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/manifest.json +3 -10
  489. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/package.json +13 -0
  490. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +11 -0
  491. package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/localService/mockserver.js +3 -4
  492. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/ChartAnnotation.fragment.xml +7 -7
  493. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Component.js +2 -3
  494. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Detail.view.xml +12 -13
  495. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Facets.fragment.xml +4 -4
  496. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Field.fragment.xml +8 -8
  497. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/FormFacet.fragment.xml +3 -5
  498. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/LabeledField.fragment.xml +3 -3
  499. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Table.fragment.xml +10 -10
  500. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/TableFacet.fragment.xml +3 -3
  501. package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/extension/HeaderInfo.fragment.xml +1 -1
  502. package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Field.fragment.xml +2 -2
  503. package/test/sap/ui/core/demokit/sample/ViewTemplate/tiny/Template.view.xml +19 -21
  504. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV4.view.xml +2 -2
  505. package/test/sap/ui/core/demokit/sample/ViewTemplate/valuelist/Component.js +2 -3
  506. package/test/sap/ui/core/demokit/sample/common/SandboxModelHelper.js +2 -3
  507. package/test/sap/ui/core/demokit/sample/common/ValueHelp.js +2 -3
  508. package/test/sap/ui/core/demokit/sample/common/pages/Any.js +7 -8
  509. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/manifest.json +3 -11
  510. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/package.json +13 -0
  511. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +11 -0
  512. package/test/sap/ui/core/demokit/sample/matcher/Descendant/Component.js +1 -1
  513. package/test/sap/ui/core/demokit/sample/matcher/Descendant/manifest.json +3 -11
  514. package/test/sap/ui/core/demokit/sample/matcher/Descendant/package.json +13 -0
  515. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +11 -0
  516. package/test/sap/ui/core/demokit/sample/matcher/I18NText/manifest.json +3 -11
  517. package/test/sap/ui/core/demokit/sample/matcher/I18NText/package.json +13 -0
  518. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +11 -0
  519. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/manifest.json +3 -11
  520. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/package.json +13 -0
  521. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +11 -0
  522. package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +15 -6
  523. package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.controller.js +2 -3
  524. package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.controller.js +3 -4
  525. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +39 -16
  526. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +18 -21
  527. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +509 -395
  528. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +586 -422
  529. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +1 -1
  530. package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -3
  531. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Facets.fragment.xml +22 -23
  532. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/FormattedText.fragment.xml +2 -3
  533. package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Main.view.xml +7 -7
  534. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +0 -3
  535. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -9
  536. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +34 -9
  537. package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +156 -23
  538. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +3 -2
  539. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Facets.fragment.xml +22 -23
  540. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/FormattedText.fragment.xml +2 -3
  541. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Main.view.xml +5 -5
  542. package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.controller.js +2 -3
  543. package/test/sap/ui/core/demokit/tutorial/databinding/01/Component.js +9 -25
  544. package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +20 -0
  545. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +2 -2
  546. package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +5 -0
  547. package/test/sap/ui/core/demokit/tutorial/databinding/02/Component.js +9 -25
  548. package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +20 -0
  549. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +2 -2
  550. package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +5 -0
  551. package/test/sap/ui/core/demokit/tutorial/databinding/03/Component.js +9 -25
  552. package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +20 -0
  553. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +2 -2
  554. package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +5 -0
  555. package/test/sap/ui/core/demokit/tutorial/databinding/04/Component.js +9 -26
  556. package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +21 -0
  557. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +2 -2
  558. package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +5 -0
  559. package/test/sap/ui/core/demokit/tutorial/databinding/05/Component.js +9 -26
  560. package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +21 -0
  561. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +2 -2
  562. package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +5 -0
  563. package/test/sap/ui/core/demokit/tutorial/databinding/06/Component.js +9 -27
  564. package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +22 -0
  565. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +2 -2
  566. package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +5 -0
  567. package/test/sap/ui/core/demokit/tutorial/databinding/07/Component.js +9 -28
  568. package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +23 -0
  569. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +2 -2
  570. package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +5 -0
  571. package/test/sap/ui/core/demokit/tutorial/databinding/08/Component.js +9 -28
  572. package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +23 -0
  573. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +2 -2
  574. package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +5 -0
  575. package/test/sap/ui/core/demokit/tutorial/databinding/09/Component.js +9 -29
  576. package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +24 -0
  577. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +2 -2
  578. package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +5 -0
  579. package/test/sap/ui/core/demokit/tutorial/databinding/10/Component.js +9 -29
  580. package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +24 -0
  581. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +2 -2
  582. package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +5 -0
  583. package/test/sap/ui/core/demokit/tutorial/databinding/11/Component.js +9 -29
  584. package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +24 -0
  585. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +2 -2
  586. package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +5 -0
  587. package/test/sap/ui/core/demokit/tutorial/databinding/12/Component.js +9 -30
  588. package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +25 -0
  589. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +2 -2
  590. package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +5 -0
  591. package/test/sap/ui/core/demokit/tutorial/databinding/13/Component.js +9 -30
  592. package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +25 -0
  593. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +2 -2
  594. package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +5 -0
  595. package/test/sap/ui/core/demokit/tutorial/databinding/14/Component.js +9 -30
  596. package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +25 -0
  597. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +2 -2
  598. package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +5 -0
  599. package/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js +9 -32
  600. package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +27 -0
  601. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +2 -2
  602. package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +5 -0
  603. package/test/sap/ui/core/demokit/tutorial/mockserver/01/Component.js +9 -30
  604. package/test/sap/ui/core/demokit/tutorial/mockserver/01/manifest.json +24 -0
  605. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +2 -2
  606. package/test/sap/ui/core/demokit/tutorial/mockserver/02/Component.js +9 -33
  607. package/test/sap/ui/core/demokit/tutorial/mockserver/02/manifest.json +27 -0
  608. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +2 -2
  609. package/test/sap/ui/core/demokit/tutorial/mockserver/03/Component.js +9 -33
  610. package/test/sap/ui/core/demokit/tutorial/mockserver/03/manifest.json +27 -0
  611. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +2 -2
  612. package/test/sap/ui/core/demokit/tutorial/mockserver/04/Component.js +9 -33
  613. package/test/sap/ui/core/demokit/tutorial/mockserver/04/manifest.json +27 -0
  614. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +2 -2
  615. package/test/sap/ui/core/demokit/tutorial/navigation/01/Component.js +9 -33
  616. package/test/sap/ui/core/demokit/tutorial/navigation/01/manifest.json +28 -0
  617. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +2 -2
  618. package/test/sap/ui/core/demokit/tutorial/navigation/02/Component.js +9 -35
  619. package/test/sap/ui/core/demokit/tutorial/navigation/02/manifest.json +30 -0
  620. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +2 -2
  621. package/test/sap/ui/core/demokit/tutorial/navigation/03/Component.js +9 -37
  622. package/test/sap/ui/core/demokit/tutorial/navigation/03/manifest.json +32 -0
  623. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +2 -2
  624. package/test/sap/ui/core/demokit/tutorial/navigation/04/Component.js +9 -38
  625. package/test/sap/ui/core/demokit/tutorial/navigation/04/manifest.json +33 -0
  626. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +2 -2
  627. package/test/sap/ui/core/demokit/tutorial/navigation/05/Component.js +9 -38
  628. package/test/sap/ui/core/demokit/tutorial/navigation/05/manifest.json +33 -0
  629. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +2 -2
  630. package/test/sap/ui/core/demokit/tutorial/navigation/06/Component.js +9 -40
  631. package/test/sap/ui/core/demokit/tutorial/navigation/06/manifest.json +35 -0
  632. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +2 -2
  633. package/test/sap/ui/core/demokit/tutorial/navigation/07/Component.js +9 -42
  634. package/test/sap/ui/core/demokit/tutorial/navigation/07/manifest.json +37 -0
  635. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +2 -2
  636. package/test/sap/ui/core/demokit/tutorial/navigation/08/Component.js +9 -45
  637. package/test/sap/ui/core/demokit/tutorial/navigation/08/manifest.json +40 -0
  638. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +2 -2
  639. package/test/sap/ui/core/demokit/tutorial/navigation/09/Component.js +9 -45
  640. package/test/sap/ui/core/demokit/tutorial/navigation/09/manifest.json +40 -0
  641. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +2 -2
  642. package/test/sap/ui/core/demokit/tutorial/navigation/10/Component.js +9 -47
  643. package/test/sap/ui/core/demokit/tutorial/navigation/10/manifest.json +42 -0
  644. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +2 -2
  645. package/test/sap/ui/core/demokit/tutorial/navigation/11/Component.js +9 -52
  646. package/test/sap/ui/core/demokit/tutorial/navigation/11/manifest.json +47 -0
  647. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +2 -2
  648. package/test/sap/ui/core/demokit/tutorial/navigation/12/Component.js +9 -52
  649. package/test/sap/ui/core/demokit/tutorial/navigation/12/manifest.json +47 -0
  650. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +2 -2
  651. package/test/sap/ui/core/demokit/tutorial/navigation/13/Component.js +9 -52
  652. package/test/sap/ui/core/demokit/tutorial/navigation/13/manifest.json +47 -0
  653. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +2 -2
  654. package/test/sap/ui/core/demokit/tutorial/navigation/14/Component.js +9 -52
  655. package/test/sap/ui/core/demokit/tutorial/navigation/14/manifest.json +47 -0
  656. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +2 -2
  657. package/test/sap/ui/core/demokit/tutorial/navigation/15/Component.js +9 -52
  658. package/test/sap/ui/core/demokit/tutorial/navigation/15/manifest.json +47 -0
  659. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +2 -2
  660. package/test/sap/ui/core/demokit/tutorial/navigation/16/Component.js +9 -52
  661. package/test/sap/ui/core/demokit/tutorial/navigation/16/manifest.json +47 -0
  662. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +2 -2
  663. package/test/sap/ui/core/demokit/tutorial/navigation/17/Component.js +9 -52
  664. package/test/sap/ui/core/demokit/tutorial/navigation/17/manifest.json +47 -0
  665. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +2 -2
  666. package/test/sap/ui/core/demokit/tutorial/odatav4/01/Component.js +3 -27
  667. package/test/sap/ui/core/demokit/tutorial/odatav4/01/manifest.json +28 -0
  668. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +2 -2
  669. package/test/sap/ui/core/demokit/tutorial/odatav4/02/Component.js +3 -27
  670. package/test/sap/ui/core/demokit/tutorial/odatav4/02/manifest.json +28 -0
  671. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +2 -2
  672. package/test/sap/ui/core/demokit/tutorial/odatav4/03/Component.js +3 -27
  673. package/test/sap/ui/core/demokit/tutorial/odatav4/03/manifest.json +28 -0
  674. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +2 -2
  675. package/test/sap/ui/core/demokit/tutorial/odatav4/04/Component.js +3 -27
  676. package/test/sap/ui/core/demokit/tutorial/odatav4/04/manifest.json +28 -0
  677. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +2 -2
  678. package/test/sap/ui/core/demokit/tutorial/odatav4/05/Component.js +3 -27
  679. package/test/sap/ui/core/demokit/tutorial/odatav4/05/manifest.json +28 -0
  680. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +2 -2
  681. package/test/sap/ui/core/demokit/tutorial/odatav4/06/Component.js +3 -27
  682. package/test/sap/ui/core/demokit/tutorial/odatav4/06/manifest.json +28 -0
  683. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +2 -2
  684. package/test/sap/ui/core/demokit/tutorial/odatav4/07/Component.js +3 -27
  685. package/test/sap/ui/core/demokit/tutorial/odatav4/07/manifest.json +28 -0
  686. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +2 -2
  687. package/test/sap/ui/core/demokit/tutorial/odatav4/08/Component.js +3 -27
  688. package/test/sap/ui/core/demokit/tutorial/odatav4/08/manifest.json +28 -0
  689. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +2 -2
  690. package/test/sap/ui/core/demokit/tutorial/odatav4/09/Component.js +3 -27
  691. package/test/sap/ui/core/demokit/tutorial/odatav4/09/manifest.json +28 -0
  692. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +2 -2
  693. package/test/sap/ui/core/demokit/tutorial/odatav4/10/Component.js +3 -27
  694. package/test/sap/ui/core/demokit/tutorial/odatav4/10/manifest.json +28 -0
  695. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +2 -2
  696. package/test/sap/ui/core/demokit/tutorial/odatav4/11/Component.js +3 -27
  697. package/test/sap/ui/core/demokit/tutorial/odatav4/11/manifest.json +28 -0
  698. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +2 -2
  699. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/Component.js +9 -29
  700. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/manifest.json +25 -0
  701. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +2 -2
  702. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +2 -3
  703. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.view.xml +1 -1
  704. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +2 -3
  705. package/test/sap/ui/core/qunit/ClientModel.qunit.js +28 -28
  706. package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +18 -0
  707. package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +4 -3
  708. package/test/sap/ui/core/qunit/Core.qunit.js +5 -14
  709. package/test/sap/ui/core/qunit/Core_libraryPreloadFiles.qunit.js +4 -4
  710. package/test/sap/ui/core/qunit/Core_libraryPreloadFiles_unavoidablyUsingEval.qunit.js +6 -6
  711. package/test/sap/ui/core/qunit/Core_unavoidablyUsingEval.qunit.js +31 -30
  712. package/test/sap/ui/core/qunit/DataState.qunit.js +7 -4
  713. package/test/sap/ui/core/qunit/DuplicateIds.qunit.js +3 -0
  714. package/test/sap/ui/core/qunit/DuplicateIds_noError.qunit.js +4 -0
  715. package/test/sap/ui/core/qunit/Element_metadata_renderer.qunit.js +6 -0
  716. package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +144 -85
  717. package/test/sap/ui/core/qunit/HTML.qunit.js +87 -84
  718. package/test/sap/ui/core/qunit/InvisibleText.qunit.js +22 -1
  719. package/test/sap/ui/core/qunit/LRUPersistentCache.qunit.js +4 -4
  720. package/test/sap/ui/core/qunit/Lib.qunit.js +64 -1
  721. package/test/sap/ui/core/qunit/ListBinding.qunit.js +14 -1
  722. package/test/sap/ui/core/qunit/ManagedObject.qunit.js +90 -4
  723. package/test/sap/ui/core/qunit/ManagedObjectMetadata.qunit.js +41 -40
  724. package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -1
  725. package/test/sap/ui/core/qunit/{ManagedObject_noBoot.qunit.js → ManagedObject_BindingParser.qunit.js} +10 -9
  726. package/test/sap/ui/core/qunit/Object.qunit.js +36 -0
  727. package/test/sap/ui/core/qunit/RenderManager.qunit.js +86 -94
  728. package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +11 -97
  729. package/test/sap/ui/core/qunit/StaticBinding.qunit.js +3 -0
  730. package/test/sap/ui/core/qunit/UIArea.qunit.js +34 -35
  731. package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +3 -0
  732. package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +3 -0
  733. package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +3 -0
  734. package/test/sap/ui/core/qunit/app/DesignMode_controllerDeactivated.qunit.js +5 -6
  735. package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +5 -6
  736. package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +3 -0
  737. package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -10
  738. package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +2 -2
  739. package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +49 -30
  740. package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +123 -10
  741. package/test/sap/ui/core/qunit/base/util/resolveReference.qunit.js +9 -0
  742. package/test/sap/ui/core/qunit/base/util/testdata/MyModule.js +5 -0
  743. package/test/sap/ui/core/qunit/bootstrap/BootstrapCustomBootTaskPreloadCss.beforeBootstrap.qunit.js +4 -2
  744. package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.html +1 -0
  745. package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +9 -10
  746. package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload_legacyAPIs.qunit.js +0 -2
  747. package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinBody.qunit.html +2 -1
  748. package/test/sap/ui/core/qunit/bootstrap/BootstrapWithinHead.qunit.html +2 -1
  749. package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +122 -266
  750. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.html +22 -0
  751. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibConfigured.qunit.js +22 -0
  752. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.html +22 -0
  753. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibLoaded.qunit.js +16 -0
  754. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.html +22 -0
  755. package/test/sap/ui/core/qunit/bootstrap/ConfigurationFlexibility_LibNotLoaded.qunit.js +14 -0
  756. package/test/sap/ui/core/qunit/bootstrap/ControlBehavior.qunit.js +110 -0
  757. package/test/sap/ui/core/qunit/bootstrap/PreloadCfg.qunit.js +4 -3
  758. package/test/sap/ui/core/qunit/bootstrap/ResourceRoot_ResourcesURL_Standard.qunit.html +1 -1
  759. package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.beforeBootstrap.qunit.js +2 -3
  760. package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +39 -34
  761. package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted_legacyAPIs.qunit.js +5 -1
  762. package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +51 -15
  763. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.html +23 -0
  764. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery-compat.qunit.js +1 -1
  765. package/test/sap/ui/core/qunit/compat_legacyAPIs/jquery.sap.stubs.qunit.js +16 -20
  766. package/test/sap/ui/core/qunit/compat_legacyAPIs/testsuite.compat.qunit.js +1 -4
  767. package/test/sap/ui/core/qunit/component/Component.qunit.js +100 -7
  768. package/test/sap/ui/core/qunit/component/Models.qunit.js +3 -1
  769. package/test/sap/ui/core/qunit/component/Preloading.qunit.js +8 -12
  770. package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +8 -2
  771. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Component.js +23 -0
  772. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Main.view.xml +8 -0
  773. package/test/sap/ui/core/qunit/component/testdata/routerPreloading/manifest.json +34 -0
  774. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Component.js +23 -0
  775. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Main.view.xml +8 -0
  776. package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/manifest.json +28 -0
  777. package/test/sap/ui/core/qunit/date/_Calendars.qunit.js +52 -0
  778. package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +18 -0
  779. package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaksUsingIterator.qunit.js +3 -4
  780. package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +18 -0
  781. package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +15 -0
  782. package/test/sap/ui/core/qunit/generic/testsuite.generic.qunit.js +21 -0
  783. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.js +2 -3
  784. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.js +2 -3
  785. package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.js +2 -3
  786. package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +16 -0
  787. package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.js +1 -1
  788. package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +16 -0
  789. package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.js +1 -1
  790. package/test/sap/ui/core/qunit/gherkin/testsuite.gherkin.qunit.js +3 -2
  791. package/test/sap/ui/core/qunit/i18n/Buddhist.qunit.js +3 -0
  792. package/test/sap/ui/core/qunit/i18n/GenericLocaleData.qunit.js +217 -114
  793. package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +7 -4
  794. package/test/sap/ui/core/qunit/i18n/Japanese.qunit.js +3 -0
  795. package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +341 -7
  796. package/test/sap/ui/core/qunit/i18n/Persian.qunit.js +3 -0
  797. package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +3 -0
  798. package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +10 -1
  799. package/test/sap/ui/core/qunit/i18n/helper/_timezones.js +17 -11
  800. package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +7 -1
  801. package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +5 -1
  802. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.html +2 -2
  803. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
  804. package/test/sap/ui/core/qunit/internal/AnnotationParser.qunit.html +1 -2
  805. package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -1
  806. package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +2 -1
  807. package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.html +24 -0
  808. package/test/sap/ui/core/qunit/jquery.sap.global-config.qunit.js +12 -6
  809. package/test/sap/ui/core/qunit/jquery.sap.global-config_beforeBootstrap.qunit.js +1 -1
  810. package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +30 -0
  811. package/test/sap/ui/core/qunit/loader/exposeAsAMDLoader.qunit.html +1 -0
  812. package/test/sap/ui/core/qunit/model/Binding.qunit.js +3 -0
  813. package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +5 -2
  814. package/test/sap/ui/core/qunit/model/ClientPropertyBinding.qunit.js +3 -0
  815. package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +5 -2
  816. package/test/sap/ui/core/qunit/model/ClientTreeBindingAdapter.qunit.js +6 -0
  817. package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +3 -0
  818. package/test/sap/ui/core/qunit/model/Context.qunit.js +3 -0
  819. package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +3 -0
  820. package/test/sap/ui/core/qunit/model/Filter.qunit.js +49 -0
  821. package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +68 -1
  822. package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +23 -5
  823. package/test/sap/ui/core/qunit/model/Model.qunit.js +46 -2
  824. package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +3 -0
  825. package/test/sap/ui/core/qunit/model/Sorter.qunit.js +3 -0
  826. package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +43 -3
  827. package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +3 -0
  828. package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +107 -93
  829. package/test/sap/ui/core/qunit/mvc/View.qunit.js +3 -0
  830. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +17 -14
  831. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +23 -12
  832. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +29 -82
  833. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML_unavoidablySync.qunit.js +123 -0
  834. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -0
  835. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -0
  836. package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +16 -0
  837. package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +408 -419
  838. package/test/sap/ui/core/qunit/odata/AnnotationHelper.qunit.js +6 -4
  839. package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +16 -0
  840. package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +8 -1
  841. package/test/sap/ui/core/qunit/odata/ODataModel_legacyAPIs.qunit.js +22 -22
  842. package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +1 -1
  843. package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +5 -1
  844. package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +4 -4
  845. package/test/sap/ui/core/qunit/odata/type/DateTimeWithTimezone.qunit.js +6 -6
  846. package/test/sap/ui/core/qunit/odata/type/Time.qunit.js +3 -4
  847. package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +4 -4
  848. package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +52 -29
  849. package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +952 -292
  850. package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +8 -15
  851. package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +6 -7
  852. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +215 -1
  853. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +211 -20
  854. package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +32 -36
  855. package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -2
  856. package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +69 -2
  857. package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +19 -9
  858. package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +601 -99
  859. package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +5 -5
  860. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1896 -407
  861. package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +7 -5
  862. package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +4 -4
  863. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +909 -422
  864. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +21 -6
  865. package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +104 -33
  866. package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +8 -0
  867. package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +4 -4
  868. package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +9 -9
  869. package/test/sap/ui/core/qunit/odata/v4/lib/_V2MetadataConverter.qunit.js +3 -3
  870. package/test/sap/ui/core/qunit/odata/v4/lib/_V4MetadataConverter.qunit.js +3 -3
  871. package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +16 -0
  872. package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +17 -9
  873. package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +66 -3
  874. package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +3 -3
  875. package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +3 -3
  876. package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +3 -3
  877. package/test/sap/ui/core/qunit/opa/autowaiter/_timeoutWaiter.js +11 -0
  878. package/test/sap/ui/core/qunit/opa/fixture/miniUI5Site.js +14 -8
  879. package/test/sap/ui/core/qunit/opa/fixture/uncaughtError.js +18 -12
  880. package/test/sap/ui/core/qunit/performance/BeaconRequest.qunit.js +18 -2
  881. package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +11 -2
  882. package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +4 -7
  883. package/test/sap/ui/core/qunit/resource/ResourceBinding.qunit.js +1 -0
  884. package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +5 -4
  885. package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +20 -18
  886. package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +1 -4
  887. package/test/sap/ui/core/qunit/routing/fixture/routingConfig/Component.js +2 -25
  888. package/test/sap/ui/core/qunit/routing/fixture/routingConfig/manifest.json +28 -0
  889. package/test/sap/ui/core/qunit/rule/misc/silentEventBus.qunit.js +1 -2
  890. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +11 -0
  891. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +3 -1
  892. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +3 -1
  893. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +3 -1
  894. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +3 -1
  895. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -1
  896. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +2 -1
  897. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -1
  898. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +2 -1
  899. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -1
  900. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +2 -1
  901. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -1
  902. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +2 -1
  903. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +1 -1
  904. package/test/sap/ui/core/qunit/testdata/shortcutHints/Component.js +9 -0
  905. package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.controller.js +8 -0
  906. package/test/sap/ui/core/qunit/testdata/shortcutHints/RootView.view.xml +16 -0
  907. package/test/sap/ui/core/qunit/testdata/shortcutHints/lib/MyControl.js +27 -0
  908. package/test/sap/ui/core/qunit/testdata/shortcutHints/manifest.json +26 -0
  909. package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +4 -5
  910. package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +5 -6
  911. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.controller.js +2 -1
  912. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +18 -1
  913. package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +3 -0
  914. package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +0 -4
  915. package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +6 -1
  916. package/test/sap/ui/core/qunit/testsuites/testsuite.managed.object.qunit.js +4 -1
  917. package/test/sap/ui/core/qunit/testsuites/testsuite.modular.core.qunit.js +1 -1
  918. package/test/sap/ui/core/qunit/testsuites/testsuite.security.qunit.js +3 -9
  919. package/test/sap/ui/core/qunit/types/DataType.qunit.js +14 -3
  920. package/test/sap/ui/core/qunit/types/Date.qunit.js +3 -0
  921. package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +391 -147
  922. package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +32 -29
  923. package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +7 -4
  924. package/test/sap/ui/core/qunit/types/FileSizeFormat.qunit.js +5 -1
  925. package/test/sap/ui/core/qunit/types/ListFormat.qunit.js +3 -0
  926. package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +4 -3
  927. package/test/sap/ui/core/qunit/types/NumberFormatCurrencies.qunit.js +5 -4
  928. package/test/sap/ui/core/qunit/types/NumberFormatCurrenciesTrailing.qunit.js +4 -3
  929. package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +3 -0
  930. package/test/sap/ui/core/qunit/types/TimezoneUtil.qunit.js +23 -0
  931. package/test/sap/ui/core/qunit/types/Types.qunit.js +44 -10
  932. package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +3 -0
  933. package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
  934. package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +592 -83
  935. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-allowlist.js +7 -0
  936. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-frameOptions.js +7 -0
  937. package/test/sap/ui/core/qunit/{bootstrap/CfgFromGlobalObject.qunit.html → util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.html} +7 -11
  938. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-mode.qunit.js +3 -4
  939. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.html +26 -0
  940. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag-override-service.qunit.js +3 -4
  941. package/test/sap/ui/core/qunit/{bootstrap/CfgDefaults.qunit.html → util/jQuery.sap.FrameOptions-meta-tag.qunit.html} +5 -8
  942. package/test/sap/ui/core/qunit/util/jQuery.sap.FrameOptions-meta-tag.qunit.js +3 -4
  943. package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +10 -10
  944. package/test/sap/ui/core/qunit/util/jquery.sap.logger.qunit.html +18 -0
  945. package/test/sap/ui/core/qunit/util/jquery.sap.resources.qunit.js +1 -1
  946. package/test/sap/ui/core/qunit/util/testsuite.util.qunit.js +1 -3
  947. package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +3 -0
  948. package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +3 -0
  949. package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +3 -0
  950. package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +3 -0
  951. package/test/sap/ui/core/relnotes/changes-1.119.json +1 -12
  952. package/test/sap/ui/core/relnotes/changes-1.120.json +442 -0
  953. package/test/sap/ui/core/terminologies/App.controller.js +2 -3
  954. package/test/sap/ui/core/terminologies/main.js +2 -3
  955. package/test/sap/ui/test/qunit/TestUtils.qunit.js +3 -3
  956. package/src/sap/ui/core/ConfigTest.js +0 -17
  957. package/src/sap/ui/core/_ConfigurationProvider.js +0 -187
  958. package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +0 -57
  959. package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +0 -71
  960. package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.html +0 -29
  961. package/test/sap/ui/core/qunit/bootstrap/CfgFromConfigAttribute.qunit.js +0 -40
  962. package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.beforeBootstrap.qunit.js +0 -20
  963. package/test/sap/ui/core/qunit/bootstrap/CfgFromGlobalObject.qunit.js +0 -40
  964. package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.html +0 -42
  965. package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +0 -49
  966. package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +0 -96
  967. package/test/sap/ui/core/qunit/util/beforeBootstrap/jQuery.sap.FrameOptions-meta-tag.js +0 -10
  968. 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.1";
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.1");
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,78 @@ 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</li>
227
+ * </ul>
228
+ *
229
+ * It furthermore derives the RTL mode from the new language, if no explicit RTL
230
+ * mode has been set. If the RTL mode changes, the following additional actions will be taken:
231
+ *
232
+ * <ul>
233
+ * <li>the URLs of already loaded library theme files will be changed</li>
234
+ * <li>the <code>dir</code> attribute of the page will be changed to reflect the new mode.</li>
235
+ * <li>all UIAreas will be invalidated (which results in a rendering of the whole UI5 UI)</li>
236
+ * </ul>
237
+ *
238
+ * config method does not accept SAP language codes for <code>sLanguage</code>. Instead, a second
239
+ * parameter <code>sSAPLogonLanguage</code> can be provided with an SAP language code corresponding
240
+ * to the given language. A given value will be returned by the {@link #getSAPLogonLanguage} method.
241
+ * It is up to the caller to provide a consistent pair of BCP47 language and SAP language code.
242
+ * The SAP language code is only checked to be of length 2 and must consist of letters or digits only.
243
+ *
244
+ * <b>Note</b>: When using config method please take note of and respect the above mentioned restrictions.
245
+ *
246
+ * @param {string} sLanguage the new language as a BCP47 compliant language tag; case doesn't matter
247
+ * and underscores can be used instead of dashes to separate components (compatibility with Java Locale IDs)
248
+ * @param {string} [sSAPLogonLanguage] SAP language code that corresponds to the <code>sLanguage</code>;
249
+ * if a value is specified, future calls to <code>getSAPLogonLanguage</code> will return that value;
250
+ * if no value is specified, the framework will use the ISO639 language part of <code>sLanguage</code>
251
+ * as SAP Logon language.
252
+ * @throws {Error} When <code>sLanguage</code> can't be interpreted as a BCP47 language or when
253
+ * <code>sSAPLanguage</code> is given and can't be interpreted as SAP language code.
254
+ * @return {this} <code>this</code> to allow method chaining
255
+ *
256
+ * @see http://scn.sap.com/docs/DOC-14377
257
+ * @function
258
+ * @public
259
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setLanguage} instead.
260
+ */
261
+ setLanguage : function() {
262
+ Localization.setLanguage.apply(Localization, arguments);
263
+ return Configuration;
264
+ },
522
265
 
523
266
  /**
524
267
  * Returns a BCP47-compliant language tag for the current language.
@@ -529,14 +272,35 @@ sap.ui.define([
529
272
  * e.g. sr-Latn (Serbian (Cyrillic)), he (Hebrew), yi (Yiddish)
530
273
  *
531
274
  * @returns {string} The language tag for the current language, conforming to BCP47
275
+ * @function
532
276
  * @public
277
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getLanguageTag} instead.
533
278
  */
534
279
  getLanguageTag : function () {
535
280
  return Localization.getLanguageTag().toString();
536
281
  },
537
282
 
283
+ /**
284
+ * Returns an SAP logon language for the current language.
285
+ *
286
+ * It will be returned in uppercase.
287
+ * e.g. "EN", "DE"
288
+ *
289
+ * @returns {string} The SAP logon language code for the current language
290
+ * @function
291
+ * @public
292
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getSAPLogonLanguage} instead.
293
+ */
538
294
  getSAPLogonLanguage : Localization.getSAPLogonLanguage,
539
295
 
296
+ /**
297
+ * Retrieves the configured IANA timezone ID.
298
+ *
299
+ * @returns {string} The configured IANA timezone ID, e.g. "America/New_York"
300
+ * @function
301
+ * @public
302
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getTimezone} instead.
303
+ */
540
304
  getTimezone : Localization.getTimezone,
541
305
 
542
306
  /**
@@ -559,8 +323,12 @@ sap.ui.define([
559
323
  * @public
560
324
  * @return {this} <code>this</code> to allow method chaining
561
325
  * @since 1.99.0
326
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setTimezone} instead.
562
327
  */
563
- setTimezone : Localization.setTimezone,
328
+ setTimezone : function() {
329
+ Localization.setTimezone.apply(Localization, arguments);
330
+ return Configuration;
331
+ },
564
332
 
565
333
  /**
566
334
  * Returns the calendar type which is being used in locale dependent functionality.
@@ -570,6 +338,9 @@ sap.ui.define([
570
338
  *
571
339
  * @return {sap.ui.core.CalendarType} the current calendar type, e.g. <code>Gregorian</code>
572
340
  * @since 1.28.6
341
+ * @function
342
+ * @public
343
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getCalendarType} instead.
573
344
  */
574
345
  getCalendarType: Formatting.getCalendarType,
575
346
 
@@ -581,12 +352,47 @@ sap.ui.define([
581
352
  * @function
582
353
  * @public
583
354
  * @since 1.113.0
355
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getCalendarWeekNumbering} instead.
584
356
  */
585
357
  getCalendarWeekNumbering: Formatting.getCalendarWeekNumbering,
586
358
 
359
+ /**
360
+ * Returns whether the page uses the RTL text direction.
361
+ *
362
+ * If no mode has been explicitly set (neither <code>true</code> nor <code>false</code>),
363
+ * the mode is derived from the current language setting.
364
+ *
365
+ * @returns {boolean} whether the page uses the RTL text direction
366
+ * @function
367
+ * @public
368
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getRTL} instead.
369
+ */
587
370
  getRTL :Localization.getRTL,
588
371
 
589
- setRTL : Localization.setRTL,
372
+ /**
373
+ * Sets the character orientation mode to be used from now on.
374
+ *
375
+ * Can either be set to a concrete value (true meaning right-to-left,
376
+ * false meaning left-to-right) or to <code>null</code> which means that
377
+ * the character orientation mode should be derived from the current
378
+ * language (incl. region) setting.
379
+ *
380
+ * After changing the character orientation mode, the framework tries
381
+ * to update localization specific parts of the UI. See the documentation of
382
+ * {@link #setLanguage} for details and restrictions.
383
+ *
384
+ * <b>Note</b>: See documentation of {@link #setLanguage} for restrictions.
385
+ *
386
+ * @param {boolean|null} bRTL new character orientation mode or <code>null</code>
387
+ * @returns {this} <code>this</code> to allow method chaining
388
+ * @function
389
+ * @public
390
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.setRTL} instead.
391
+ */
392
+ setRTL : function() {
393
+ Localization.setRTL.apply(Localization, arguments);
394
+ return Configuration;
395
+ },
590
396
 
591
397
  /**
592
398
  * Returns a Locale object for the current language.
@@ -595,6 +401,7 @@ sap.ui.define([
595
401
  *
596
402
  * @return {sap.ui.core.Locale} The locale
597
403
  * @public
404
+ * @deprecated As of Version 1.119. Please use {@link module:sap/base/i18n/Localization.getLanguageTag} instead.
598
405
  */
599
406
  getLocale : function() {
600
407
  var oLanguageTag = Localization.getLanguageTag();
@@ -610,6 +417,7 @@ sap.ui.define([
610
417
  * @return {this} <code>this</code> to allow method chaining
611
418
  * @public
612
419
  * @since 1.28.6
420
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setCalendarType} instead.
613
421
  */
614
422
  setCalendarType : function(sCalendarType) {
615
423
  Formatting.setCalendarType.apply(Formatting, arguments);
@@ -630,6 +438,7 @@ sap.ui.define([
630
438
  *
631
439
  * @public
632
440
  * @since 1.113.0
441
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setCalendarWeekNumbering} instead.
633
442
  */
634
443
  setCalendarWeekNumbering: function(sCalendarWeekNumbering) {
635
444
  Formatting.setCalendarWeekNumbering.apply(Formatting, arguments);
@@ -642,6 +451,7 @@ sap.ui.define([
642
451
  *
643
452
  * @return {string} the format locale string with language and country code
644
453
  * @public
454
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getLanguageTag} instead.
645
455
  */
646
456
  getFormatLocale : function() {
647
457
  return Formatting.getLanguageTag().toString();
@@ -671,6 +481,7 @@ sap.ui.define([
671
481
  * components (compatibility with Java Locale IDs)
672
482
  * @return {this} <code>this</code> to allow method chaining
673
483
  * @public
484
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.setLanguageTag} instead.
674
485
  * @throws {Error} When <code>sFormatLocale</code> is given, but is not a valid BCP47 language
675
486
  * tag or Java locale identifier
676
487
  */
@@ -683,6 +494,14 @@ sap.ui.define([
683
494
 
684
495
  getSupportedLanguages : Localization.getSupportedLanguages,
685
496
 
497
+ /**
498
+ * Returns whether the accessibility mode is enabled or not.
499
+ * @return {boolean} whether the accessibility mode is enabled or not
500
+ * @public
501
+ * @since 1.20
502
+ * @function
503
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.isAccessibilityEnabled} instead.
504
+ */
686
505
  getAccessibility : ControlBehavior.isAccessibilityEnabled,
687
506
 
688
507
  /**
@@ -691,16 +510,17 @@ sap.ui.define([
691
510
  * @return {boolean} Wether the ARIA role 'application' should be added to the HTML body or not
692
511
  * @since 1.27.0
693
512
  * @public
513
+ * @deprecated As of Version 1.120
694
514
  */
695
515
  getAutoAriaBodyRole : function () {
696
- return Configuration.getValue("autoAriaBodyRole");
516
+ return BaseConfig.get({ name: "sapUiAutoAriaBodyRole", type: BaseConfig.Type.Boolean });
697
517
  },
698
518
 
699
519
  /**
700
520
  * Returns whether the animations are globally used.
701
521
  * @return {boolean} whether the animations are globally used
702
522
  * @public
703
- * @deprecated As of version 1.50.0, replaced by {@link sap.ui.core.Configuration#getAnimationMode}
523
+ * @deprecated As of version 1.50. Please use {@link sap.ui.core.Configuration#getAnimationMode} instead.
704
524
  */
705
525
  getAnimation : function () {
706
526
  var sAnimationMode = Configuration.getAnimationMode();
@@ -709,13 +529,14 @@ sap.ui.define([
709
529
  },
710
530
 
711
531
  /**
712
- * Returns the current animation mode.
713
- *
714
- * @return {sap.ui.core.Configuration.AnimationMode} The current animationMode
715
- * @since 1.50.0
532
+ * Returns the current animation mode.
533
+ *
534
+ * @return {sap.ui.core.Configuration.AnimationMode} The current animationMode
535
+ * @since 1.50.0
716
536
  * @function
717
- * @public
718
- */
537
+ * @public
538
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.getAnimationMode} instead.
539
+ */
719
540
  getAnimationMode : ControlBehavior.getAnimationMode,
720
541
 
721
542
  /**
@@ -732,6 +553,7 @@ sap.ui.define([
732
553
  * @since 1.50.0
733
554
  * @function
734
555
  * @public
556
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/ControlBehavior.setAnimationMode} instead.
735
557
  */
736
558
  setAnimationMode : ControlBehavior.setAnimationMode,
737
559
 
@@ -740,77 +562,76 @@ sap.ui.define([
740
562
  * @return {boolean|string} false - no adaptation, true - full adaptation, comma-separated list - partial adaptation
741
563
  * Possible values: style, collapse, title, back, hierarchy
742
564
  * @public
565
+ * @deprecated As of Version 1.120
743
566
  */
744
567
  getFiori2Adaptation : function () {
745
- return Configuration.getValue("xx-fiori2Adaptation");
568
+ var aAdaptations = BaseConfig.get({
569
+ name: "sapUiXxFiori2Adaptation",
570
+ type: BaseConfig.Type.StringArray,
571
+ external: true
572
+ }),
573
+ bAdaptationEnabled;
574
+ //parse fiori 2 adaptation parameters
575
+ if ( aAdaptations.length === 0 || (aAdaptations.length === 1 && aAdaptations[0] === 'false') ) {
576
+ bAdaptationEnabled = false;
577
+ } else if ( aAdaptations.length === 1 && aAdaptations[0] === 'true' ) {
578
+ bAdaptationEnabled = true;
579
+ }
580
+
581
+ return bAdaptationEnabled === undefined ? aAdaptations : bAdaptationEnabled;
746
582
  },
747
583
 
748
584
  /**
749
585
  * Returns whether the page runs in full debug mode.
750
586
  * @returns {boolean} Whether the page runs in full debug mode
751
587
  * @public
588
+ * @function
589
+ * @deprecated As of version 1.120
752
590
  */
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
- },
591
+ getDebug : Supportability.isDebugModeEnabled,
760
592
 
761
593
  /**
762
594
  * Returns whether the UI5 control inspe ctor is displayed.
763
595
  * Has only an effect when the sap-ui-debug module has been loaded
764
596
  * @return {boolean} whether the UI5 control inspector is displayed
765
597
  * @public
598
+ * @function
599
+ * @deprecated As of Version 1.120
766
600
  */
767
- getInspect : function () {
768
- return Configuration.getValue("inspect");
769
- },
601
+ getInspect : Supportability.isControlInspectorEnabled,
770
602
 
771
603
  /**
772
604
  * Returns whether the text origin information is collected.
773
605
  * @return {boolean} whether the text info is collected
774
606
  * @public
607
+ * @function
608
+ * @deprecated As of Version 1.120
775
609
  */
776
- getOriginInfo : function () {
777
- return Configuration.getValue("originInfo");
778
- },
610
+ getOriginInfo : Supportability.collectOriginInfo,
779
611
 
780
612
  /**
781
613
  * Returns whether there should be an exception on any duplicate element IDs.
782
614
  * @return {boolean} whether there should be an exception on any duplicate element IDs
783
615
  * @public
616
+ * @deprecated As of Version 1.120
784
617
  */
785
618
  getNoDuplicateIds : function () {
786
619
  return BaseConfig.get({ name: "sapUiNoDuplicateIds", type: BaseConfig.Type.Boolean, defaultValue: true, external: true });
787
620
  },
788
621
 
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
622
  /**
801
623
  * Prefix to be used for automatically generated control IDs.
802
624
  * Default is a double underscore "__".
803
625
  *
804
626
  * @returns {string} the prefix to be used
805
627
  * @public
806
- * @deprecated since 1.119.0. Please use {@link sap.ui.base.ManagedObjectMetadata.getUIDPrefix ManagedObjectMetadata.getUIDPrefix} instead.
628
+ * @deprecated As of Version 1.119. Please use {@link sap.ui.base.ManagedObjectMetadata.getUIDPrefix ManagedObjectMetadata.getUIDPrefix} instead.
807
629
  */
808
630
  getUIDPrefix : function() {
809
631
  var ManagedObjectMetadata = sap.ui.require("sap/ui/base/ManagedObjectMetadata");
810
632
  return ManagedObjectMetadata.getUIDPrefix();
811
633
  },
812
634
 
813
-
814
635
  /**
815
636
  * Return whether the design mode is active or not.
816
637
  *
@@ -818,15 +639,9 @@ sap.ui.define([
818
639
  * @since 1.13.2
819
640
  * @private
820
641
  * @ui5-restricted sap.ui.core.Core, sap.watt, com.sap.webide, sap.ui.fl, sap.ui.rta, sap.ui.comp, SAP Business Application Studio
642
+ * @deprecated As of Version 1.120
821
643
  */
822
- getDesignMode : function() {
823
- return BaseConfig.get({
824
- name: "sapUiXxDesignMode",
825
- type: BaseConfig.Type.Boolean,
826
- external: true,
827
- freeze: true
828
- });
829
- },
644
+ getDesignMode : DesignTime.isDesignModeEnabled,
830
645
 
831
646
  /**
832
647
  * Return whether the activation of the controller code is suppressed.
@@ -835,15 +650,9 @@ sap.ui.define([
835
650
  * @since 1.13.2
836
651
  * @private
837
652
  * @ui5-restricted sap.watt, com.sap.webide
653
+ * @deprecated As of Version 1.120
838
654
  */
839
- getSuppressDeactivationOfControllerCode : function() {
840
- return BaseConfig.get({
841
- name: "sapUiXxSuppressDeactivationOfControllerCode",
842
- type: BaseConfig.Type.Boolean,
843
- external: true,
844
- freeze: true
845
- });
846
- },
655
+ getSuppressDeactivationOfControllerCode : DesignTime.isControllerCodeDeactivationSuppressed,
847
656
 
848
657
  /**
849
658
  * Return whether the controller code is deactivated. During design mode the.
@@ -852,20 +661,19 @@ sap.ui.define([
852
661
  * @since 1.26.4
853
662
  * @private
854
663
  * @ui5-restricted sap.watt, com.sap.webide
664
+ * @deprecated As of Version 1.120
855
665
  */
856
- getControllerCodeDeactivated : function() {
857
- return Configuration.getDesignMode() && !Configuration.getSuppressDeactivationOfControllerCode();
858
- },
666
+ getControllerCodeDeactivated : DesignTime.isControllerCodeDeactivated,
859
667
 
860
668
  /**
861
669
  * The name of the application to start or empty.
862
670
  *
863
671
  * @returns {string} name of the application
864
672
  * @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}.
673
+ * @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
674
  */
867
675
  getApplication : function() {
868
- return Configuration.getValue("application");
676
+ return BaseConfig.get({ name: "sapUiApplication", type: BaseConfig.Type.String, external: true });
869
677
  },
870
678
 
871
679
  /**
@@ -873,10 +681,10 @@ sap.ui.define([
873
681
  *
874
682
  * @returns {string} name of the root component
875
683
  * @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}.
684
+ * @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
685
  */
878
686
  getRootComponent : function() {
879
- return Configuration.getValue("rootComponent");
687
+ return BaseConfig.get({ name: "sapUiRootComponent", type: BaseConfig.Type.String });
880
688
  },
881
689
 
882
690
  /**
@@ -884,6 +692,7 @@ sap.ui.define([
884
692
  *
885
693
  * @returns {string[]} array of base URLs
886
694
  * @public
695
+ * @deprecated As of Version 1.120
887
696
  */
888
697
  getAppCacheBuster : function() {
889
698
  return BaseConfig.get({name: "sapUiAppCacheBuster", type: BaseConfig.Type.StringArray, external: true, freeze: true});
@@ -892,103 +701,33 @@ sap.ui.define([
892
701
  /**
893
702
  * The loading mode (sync|async|batch) of the AppCacheBuster (sync is default)
894
703
  *
895
- * @returns {string} "sync" | "async"
704
+ * @returns {string} "sync" | "async" | "batch"
896
705
  * @public
706
+ * @deprecated As of Version 1.120
897
707
  */
898
708
  getAppCacheBusterMode : function() {
899
709
  return BaseConfig.get({name: "sapUiXxAppCacheBusterMode", type: BaseConfig.Type.String, defaultValue: "sync", external: true, freeze: true});
900
710
  },
901
711
 
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
712
  /**
915
713
  * Flag, whether the customizing is disabled or not.
916
714
  *
917
715
  * @returns {boolean} true if customizing is disabled
918
716
  * @private
919
717
  * @ui5-restricted
718
+ * @deprecated As of Version 1.120
920
719
  */
921
720
  getDisableCustomizing : function() {
922
721
  return BaseConfig.get({name: "sapUiXxDisableCustomizing", type: BaseConfig.Type.Boolean});
923
722
  },
924
723
 
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
724
  /**
987
725
  * Flag whether a Component should load the manifest first.
988
726
  *
989
727
  * @returns {boolean} true if a Component should load the manifest first
990
728
  * @public
991
729
  * @since 1.33.0
730
+ * @deprecated As of Version 1.120. 'manifest-first' is the default for the {@link sap.ui.core.Component.create} factory.
992
731
  */
993
732
  getManifestFirst : function() {
994
733
  return BaseConfig.get({name: "sapUiManifestFirst", type: BaseConfig.Type.Boolean, external: true});
@@ -1001,54 +740,36 @@ sap.ui.define([
1001
740
  * @returns {object[]} Flexibility services configuration
1002
741
  * @public
1003
742
  * @since 1.60.0
743
+ * @deprecated As of Version 1.120
1004
744
  */
1005
745
  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
- }
746
+ var FlexConfig = sap.ui.require("sap/ui/fl/initial/_internal/FlexConfiguration");
747
+ var vFlexibilityServices;
748
+ if (FlexConfig) {
749
+ vFlexibilityServices = FlexConfig.getFlexibilityServices();
750
+ } else {
751
+ const aDefaultValue = [{
752
+ url: "/sap/bc/lrep",
753
+ connector: "LrepConnector"
754
+ }];
755
+ vFlexibilityServices = BaseConfig.get({
756
+ name: "sapUiFlexibilityServices",
757
+ type: (value) => {
758
+ if (value && typeof value === "string") {
759
+ if (value[0] === "/") {
760
+ aDefaultValue[0].url = value;
761
+ value = aDefaultValue;
762
+ } else {
763
+ value = JSON.parse(value);
764
+ }
765
+ }
766
+ return value || [];
767
+ },
768
+ defaultValue: aDefaultValue,
769
+ external: true
770
+ });
1018
771
  }
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();
772
+ return vFlexibilityServices;
1052
773
  },
1053
774
 
1054
775
  /**
@@ -1056,6 +777,7 @@ sap.ui.define([
1056
777
  *
1057
778
  * @returns {sap.ui.core.Configuration.FormatSettings} A FormatSettings object.
1058
779
  * @public
780
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting} instead.
1059
781
  */
1060
782
  getFormatSettings : function() {
1061
783
  return oFormatSettings;
@@ -1066,33 +788,32 @@ sap.ui.define([
1066
788
  *
1067
789
  * @return {string} frameOptions mode
1068
790
  * @public
791
+ * @function
792
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getFrameOptions} instead.
1069
793
  */
1070
- getFrameOptions : function() {
1071
- return Configuration.getValue("frameOptions");
1072
- },
794
+ getFrameOptions : Security.getFrameOptions,
1073
795
 
1074
796
  /**
1075
797
  * URL of the whitelist service.
1076
798
  *
1077
799
  * @return {string} whitelist service URL
1078
800
  * @public
1079
- * @deprecated Since 1.85.0. Use {@link sap.ui.core.Configuration#getAllowlistService} instead.
801
+ * @function
802
+ * @deprecated As of Version 1.85. Use {@link module:sap/ui/security/Security.getAllowlistService} instead.
1080
803
  * SAP strives to replace insensitive terms with inclusive language.
1081
804
  * Since APIs cannot be renamed or immediately removed for compatibility reasons, this API has been deprecated.
1082
805
  */
1083
- getWhitelistService : function() {
1084
- return Configuration.getAllowlistService();
1085
- },
806
+ getWhitelistService : Security.getAllowlistService,
1086
807
 
1087
808
  /**
1088
809
  * URL of the allowlist service.
1089
810
  *
1090
811
  * @return {string} allowlist service URL
1091
812
  * @public
813
+ * @function
814
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getAllowlistService} instead.
1092
815
  */
1093
- getAllowlistService : function() {
1094
- return Configuration.getValue("allowlistService");
1095
- },
816
+ getAllowlistService : Security.getAllowlistService,
1096
817
 
1097
818
  /**
1098
819
  * Name (ID) of a UI5 module that implements file share support.
@@ -1104,29 +825,14 @@ sap.ui.define([
1104
825
  * @returns {string|undefined} Module name (ID) of a file share support module
1105
826
  * @public
1106
827
  * @since 1.102
828
+ * @deprecated As of version 1.120
1107
829
  */
1108
830
  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");
831
+ return BaseConfig.get({
832
+ name: "sapUiFileShareSupport",
833
+ type: BaseConfig.Type.String,
834
+ defaultValue: undefined
835
+ });
1130
836
  },
1131
837
 
1132
838
  /**
@@ -1137,12 +843,11 @@ sap.ui.define([
1137
843
  *
1138
844
  * @returns {boolean} statistics flag
1139
845
  * @private
1140
- * @deprecated since 1.106.0. Renamed for clarity, use {@link sap.ui.core.Configuration#getStatisticsEnabled} instead
846
+ * @function
1141
847
  * @since 1.20.0
848
+ * @deprecated As of Version 1.106. Renamed for clarity, use {@link sap.ui.core.Configuration#getStatisticsEnabled} instead.
1142
849
  */
1143
- getStatistics : function() {
1144
- return Configuration.getStatisticsEnabled();
1145
- },
850
+ getStatistics : Configuration.getStatisticsEnabled,
1146
851
 
1147
852
  /**
1148
853
  * Flag if statistics are requested.
@@ -1153,23 +858,17 @@ sap.ui.define([
1153
858
  * @returns {boolean} Whether statistics are enabled
1154
859
  * @public
1155
860
  * @since 1.106.0
861
+ * @function
862
+ * @deprecated As of Version 1.120
1156
863
  */
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
- },
864
+ getStatisticsEnabled : Supportability.isStatisticsEnabled,
1166
865
 
1167
866
  /**
1168
867
  * Return whether native scrolling should be suppressed on touch devices.
1169
868
  *
1170
869
  * @returns {boolean} whether native scrolling is suppressed on touch devices
1171
870
  * @since 1.20.0
1172
- * @deprecated since 1.26.0. Always use native scrolling
871
+ * @deprecated As of Version 1.26.0. Always use native scrolling.
1173
872
  * @private
1174
873
  */
1175
874
  getNoNativeScroll : function() {
@@ -1183,7 +882,7 @@ sap.ui.define([
1183
882
  * @since 1.77.0
1184
883
  * @public
1185
884
  * @function
1186
- * @deprecated Since 1.118. Please use {@link module:sap/base/i18n/Localization.getActiveTerminologies} instead.
885
+ * @deprecated As of Version 1.118. Please use {@link module:sap/base/i18n/Localization.getActiveTerminologies} instead.
1187
886
  */
1188
887
  getActiveTerminologies : Localization.getActiveTerminologies,
1189
888
 
@@ -1192,12 +891,11 @@ sap.ui.define([
1192
891
  *
1193
892
  * @returns {Array<function(sap.ui.core.URI):Promise>} the security token handlers (an empty array if there are none)
1194
893
  * @public
1195
- * @since 1.95.0
894
+ * @function
895
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.getSecurityTokenHandlers} instead.
1196
896
  * @see #setSecurityTokenHandlers
1197
897
  */
1198
- getSecurityTokenHandlers : function () {
1199
- return Configuration.getValue("securityTokenHandlers").slice();
1200
- },
898
+ getSecurityTokenHandlers : Security.getSecurityTokenHandlers,
1201
899
 
1202
900
  /**
1203
901
  * Sets the security token handlers for an OData V4 model. See chapter
@@ -1205,16 +903,11 @@ sap.ui.define([
1205
903
  *
1206
904
  * @param {Array<function(sap.ui.core.URI):Promise>} aSecurityTokenHandlers - The security token handlers
1207
905
  * @public
1208
- * @since 1.95.0
906
+ * @function
907
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/security/Security.setSecurityTokenHandlers} instead.
1209
908
  * @see #getSecurityTokenHandlers
1210
909
  */
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
- },
910
+ setSecurityTokenHandlers : Security.setSecurityTokenHandlers,
1218
911
 
1219
912
  /**
1220
913
  * Applies multiple changes to the configuration at once.
@@ -1248,6 +941,7 @@ sap.ui.define([
1248
941
  * @returns {this} Returns <code>this</code> to allow method chaining
1249
942
  * @public
1250
943
  * @since 1.38.6
944
+ * @deprecated As of Version 1.120
1251
945
  */
1252
946
  applySettings: function(mSettings) {
1253
947
 
@@ -1281,64 +975,12 @@ sap.ui.define([
1281
975
  *
1282
976
  * @private
1283
977
  * @ui5-restricted sap.ui.core.Core
978
+ * @deprecated As of Version 1.120
1284
979
  */
1285
- setCore: function (oNewCore) {
980
+ setCore: function (oCore) {
1286
981
  // Setting the core needs to happen before init
1287
982
  // 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;
983
+ Core = oCore;
1342
984
  }
1343
985
  });
1344
986
 
@@ -1353,6 +995,7 @@ sap.ui.define([
1353
995
  * @name sap.ui.core.Configuration.AnimationMode
1354
996
  * @since 1.50.0
1355
997
  * @public
998
+ * @deprecated As of Version 1.120. Please use {@link module:sap/ui/core/AnimationMode} instead.
1356
999
  */
1357
1000
 
1358
1001
  /**
@@ -1384,21 +1027,6 @@ sap.ui.define([
1384
1027
  */
1385
1028
  Configuration.AnimationMode = AnimationMode;
1386
1029
 
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
1030
  function check(bCondition, sMessage) {
1403
1031
  if ( !bCondition ) {
1404
1032
  throw new Error(sMessage);
@@ -1416,6 +1044,7 @@ sap.ui.define([
1416
1044
  * @alias sap.ui.core.Configuration.FormatSettings
1417
1045
  * @extends sap.ui.base.Object
1418
1046
  * @public
1047
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting} instead.
1419
1048
  * @borrows module:sap/base/i18n/Formatting.getCustomUnits as #getCustomUnits
1420
1049
  * @borrows module:sap/base/i18n/Formatting.setCustomUnits as #setCustomUnits
1421
1050
  * @borrows module:sap/base/i18n/Formatting.addCustomUnits as #addCustomUnits
@@ -1431,8 +1060,8 @@ sap.ui.define([
1431
1060
  * @borrows module:sap/base/i18n/Formatting.getLegacyDateFormat as #getLegacyDateFormat
1432
1061
  * @borrows module:sap/base/i18n/Formatting.getLegacyTimeFormat as #getLegacyTimeFormat
1433
1062
  * @borrows module:sap/base/i18n/Formatting.getLegacyNumberFormat as #getLegacyNumberFormat
1434
- * @borrows module:sap/base/i18n/Formatting.getLegacyDateCalendarCustomizing as #getLegacyDateCalendarCustomizing
1435
- * @borrows module:sap/base/i18n/Formatting.setLegacyDateCalendarCustomizing as #setLegacyDateCalendarCustomizing
1063
+ * @borrows module:sap/base/i18n/Formatting.getCustomIslamicCalendarData as #getLegacyDateCalendarCustomizing
1064
+ * @borrows module:sap/base/i18n/Formatting.setCustomIslamicCalendarData as #setLegacyDateCalendarCustomizing
1436
1065
  * @borrows module:sap/base/i18n/Formatting.getTrailingCurrencyCode as #getTrailingCurrencyCode
1437
1066
  * @borrows module:sap/base/i18n/Formatting.setTrailingCurrencyCode as #setTrailingCurrencyCode
1438
1067
  * @borrows module:sap/base/i18n/Formatting.getCustomLocaleData as #getCustomLocaleData
@@ -1440,6 +1069,7 @@ sap.ui.define([
1440
1069
  */
1441
1070
  var FormatSettings = BaseObject.extend("sap.ui.core.Configuration.FormatSettings", /** @lends sap.ui.core.Configuration.FormatSettings.prototype */ {
1442
1071
  constructor : function() {
1072
+ BaseObject.call(this);
1443
1073
  this.mSettings = {};
1444
1074
  },
1445
1075
 
@@ -1456,6 +1086,7 @@ sap.ui.define([
1456
1086
  *
1457
1087
  * @return {sap.ui.core.Locale} the format locale
1458
1088
  * @public
1089
+ * @deprecated As of Version 1.120. Please use {@link module:sap/base/i18n/Formatting.getLanguageTag} instead.
1459
1090
  */
1460
1091
  getFormatLocale : function() {
1461
1092
  var oLocale = Formatting.getLanguageTag();
@@ -1466,13 +1097,25 @@ sap.ui.define([
1466
1097
 
1467
1098
  getCustomUnits: Formatting.getCustomUnits,
1468
1099
 
1469
- setCustomUnits: Formatting.setCustomUnits,
1100
+ setCustomUnits: function() {
1101
+ Formatting.setCustomUnits.apply(Formatting, arguments);
1102
+ return this;
1103
+ },
1470
1104
 
1471
- addCustomUnits: Formatting.addCustomUnits,
1105
+ addCustomUnits: function() {
1106
+ Formatting.addCustomUnits.apply(Formatting, arguments);
1107
+ return this;
1108
+ },
1472
1109
 
1473
- setUnitMappings: Formatting.setUnitMappings,
1110
+ setUnitMappings: function() {
1111
+ Formatting.setUnitMappings.apply(Formatting, arguments);
1112
+ return this;
1113
+ },
1474
1114
 
1475
- addUnitMappings: Formatting.addUnitMappings,
1115
+ addUnitMappings: function() {
1116
+ Formatting.addUnitMappings.apply(Formatting, arguments);
1117
+ return this;
1118
+ },
1476
1119
 
1477
1120
  getUnitMappings: Formatting.getUnitMappings,
1478
1121
 
@@ -1497,7 +1140,10 @@ sap.ui.define([
1497
1140
  * @public
1498
1141
  * @function
1499
1142
  */
1500
- setDatePattern : Formatting.setDatePattern,
1143
+ setDatePattern : function() {
1144
+ Formatting.setDatePattern.apply(Formatting, arguments);
1145
+ return this;
1146
+ },
1501
1147
 
1502
1148
  getTimePattern : Formatting.getTimePattern,
1503
1149
 
@@ -1520,7 +1166,10 @@ sap.ui.define([
1520
1166
  * @public
1521
1167
  * @function
1522
1168
  */
1523
- setTimePattern : Formatting.setTimePattern,
1169
+ setTimePattern : function() {
1170
+ Formatting.setTimePattern.apply(Formatting, arguments);
1171
+ return this;
1172
+ },
1524
1173
 
1525
1174
  getNumberSymbol : Formatting.getNumberSymbol,
1526
1175
 
@@ -1544,13 +1193,22 @@ sap.ui.define([
1544
1193
  * @public
1545
1194
  * @function
1546
1195
  */
1547
- setNumberSymbol : Formatting.setNumberSymbol,
1196
+ setNumberSymbol : function() {
1197
+ Formatting.setNumberSymbol.apply(Formatting, arguments);
1198
+ return this;
1199
+ },
1548
1200
 
1549
1201
  getCustomCurrencies : Formatting.getCustomCurrencies,
1550
1202
 
1551
- setCustomCurrencies : Formatting.setCustomCurrencies,
1203
+ setCustomCurrencies : function() {
1204
+ Formatting.setCustomCurrencies.apply(Formatting, arguments);
1205
+ return this;
1206
+ },
1552
1207
 
1553
- addCustomCurrencies: Formatting.addCustomCurrencies,
1208
+ addCustomCurrencies: function() {
1209
+ Formatting.addCustomCurrencies.apply(Formatting, arguments);
1210
+ return this;
1211
+ },
1554
1212
 
1555
1213
  /**
1556
1214
  * Defines the day used as the first day of the week.
@@ -1571,7 +1229,7 @@ sap.ui.define([
1571
1229
  * @param {int} iValue must be an integer value between 0 and 6
1572
1230
  * @returns {this} Returns <code>this</code> to allow method chaining
1573
1231
  * @public
1574
- * @deprecated Since 1.113.0. Use {@link sap.ui.core.Configuration.FormatSettings#setCalendarWeekNumbering} instead.
1232
+ * @deprecated As of Version 1.113. Use {@link sap.ui.core.Configuration.FormatSettings#setCalendarWeekNumbering} instead.
1575
1233
  */
1576
1234
  setFirstDayOfWeek : function(iValue) {
1577
1235
  check(typeof iValue == "number" && iValue >= 0 && iValue <= 6, "iValue must be an integer value between 0 and 6");
@@ -1581,7 +1239,7 @@ sap.ui.define([
1581
1239
 
1582
1240
  _setDayPeriods: Formatting._setDayPeriods,
1583
1241
 
1584
- getLegacyDateFormat : Formatting.getLegacyDateFormat,
1242
+ getLegacyDateFormat : Formatting.getABAPDateFormat,
1585
1243
 
1586
1244
  /**
1587
1245
  * Allows to specify one of the legacy ABAP date formats.
@@ -1600,9 +1258,12 @@ sap.ui.define([
1600
1258
  * @public
1601
1259
  * @function
1602
1260
  */
1603
- setLegacyDateFormat : Formatting.setLegacyDateFormat,
1261
+ setLegacyDateFormat : function() {
1262
+ Formatting.setABAPDateFormat.apply(Formatting, arguments);
1263
+ return this;
1264
+ },
1604
1265
 
1605
- getLegacyTimeFormat : Formatting.getLegacyTimeFormat,
1266
+ getLegacyTimeFormat : Formatting.getABAPTimeFormat,
1606
1267
 
1607
1268
  /**
1608
1269
  * Allows to specify one of the legacy ABAP time formats.
@@ -1622,9 +1283,12 @@ sap.ui.define([
1622
1283
  * @public
1623
1284
  * @function
1624
1285
  */
1625
- setLegacyTimeFormat : Formatting.setLegacyTimeFormat,
1286
+ setLegacyTimeFormat : function() {
1287
+ Formatting.setABAPTimeFormat.apply(Formatting, arguments);
1288
+ return this;
1289
+ },
1626
1290
 
1627
- getLegacyNumberFormat : Formatting.getLegacyNumberFormat,
1291
+ getLegacyNumberFormat : Formatting.getABAPNumberFormat,
1628
1292
 
1629
1293
  /**
1630
1294
  * Allows to specify one of the legacy ABAP number format.
@@ -1643,35 +1307,57 @@ sap.ui.define([
1643
1307
  * @public
1644
1308
  * @function
1645
1309
  */
1646
- setLegacyNumberFormat : Formatting.setLegacyNumberFormat,
1310
+ setLegacyNumberFormat : function() {
1311
+ Formatting.setABAPNumberFormat.apply(Formatting, arguments);
1312
+ return this;
1313
+ },
1647
1314
 
1648
- setLegacyDateCalendarCustomizing : Formatting.setLegacyDateCalendarCustomizing,
1315
+ setLegacyDateCalendarCustomizing : function() {
1316
+ Formatting.setCustomIslamicCalendarData.apply(Formatting, arguments);
1317
+ return this;
1318
+ },
1649
1319
 
1650
- getLegacyDateCalendarCustomizing : Formatting.getLegacyDateCalendarCustomizing,
1320
+ getLegacyDateCalendarCustomizing : Formatting.getCustomIslamicCalendarData,
1651
1321
 
1652
- setTrailingCurrencyCode : Formatting.setTrailingCurrencyCode,
1322
+ setTrailingCurrencyCode : function() {
1323
+ Formatting.setTrailingCurrencyCode.apply(Formatting, arguments);
1324
+ return this;
1325
+ },
1653
1326
 
1654
1327
  getTrailingCurrencyCode : Formatting.getTrailingCurrencyCode,
1655
1328
 
1656
1329
  getCustomLocaleData : Formatting.getCustomLocaleData
1657
1330
  });
1658
1331
 
1332
+ /**
1333
+ * @deprecated As of Version 1.120
1334
+ */
1659
1335
  oFormatSettings = new FormatSettings(this);
1660
1336
 
1661
1337
  //enable Eventing
1662
1338
  Localization.attachChange(function(oEvent) {
1663
- if (!mChanges && oCore) {
1664
- oCore.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1339
+ if (!mChanges && Core) {
1340
+ Core.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1665
1341
  } else if (mChanges) {
1666
1342
  Object.assign(mChanges, BaseEvent.getParameters(oEvent));
1667
1343
  }
1668
1344
  });
1669
1345
 
1670
1346
  Formatting.attachChange(function(oEvent) {
1671
- if (!mChanges && oCore) {
1672
- oCore.fireLocalizationChanged(BaseEvent.getParameters(oEvent));
1347
+ const mParameters = BaseEvent.getParameters(oEvent);
1348
+ Object.keys(oEvent).forEach((sName) => {
1349
+ if (["ABAPDateFormat", "ABAPTimeFormat", "ABAPNumberFormat"].includes(sName)) {
1350
+ mParameters[sName.replace("ABAP", "legacy")] = mParameters[sName];
1351
+ delete mParameters[sName];
1352
+ } else if (sName === 'customIslamicCalendarData') {
1353
+ mParameters['legacyDateCalendarCustomizing'] = mParameters[sName];
1354
+ delete mParameters[sName];
1355
+ }
1356
+ });
1357
+ if (!mChanges && Core) {
1358
+ Core.fireLocalizationChanged(mParameters);
1673
1359
  } else if (mChanges) {
1674
- Object.assign(mChanges, BaseEvent.getParameters(oEvent));
1360
+ Object.assign(mChanges, mParameters);
1675
1361
  }
1676
1362
  });
1677
1363