@openui5/sap.ui.core 1.103.1 → 1.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. package/.reuse/dep5 +17 -0
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +35 -2
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.properties.js +1 -1
  7. package/src/jquery.sap.resources.js +1 -1
  8. package/src/jquery.sap.script.js +1 -1
  9. package/src/jquery.sap.storage.js +3 -3
  10. package/src/sap/base/util/LoaderExtensions.js +69 -61
  11. package/src/sap/base/util/fetch.js +230 -0
  12. package/src/sap/base/util/mixedFetch.js +69 -0
  13. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  14. package/src/sap/base/util/restricted/_castArray.js +1 -1
  15. package/src/sap/base/util/restricted/_compact.js +1 -1
  16. package/src/sap/base/util/restricted/_curry.js +1 -1
  17. package/src/sap/base/util/restricted/_debounce.js +1 -1
  18. package/src/sap/base/util/restricted/_difference.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  20. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  24. package/src/sap/base/util/restricted/_flatten.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  26. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  27. package/src/sap/base/util/restricted/_intersection.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  29. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  31. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  32. package/src/sap/base/util/restricted/_isNil.js +1 -1
  33. package/src/sap/base/util/restricted/_max.js +1 -1
  34. package/src/sap/base/util/restricted/_merge.js +1 -1
  35. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  36. package/src/sap/base/util/restricted/_min.js +1 -1
  37. package/src/sap/base/util/restricted/_omit.js +1 -1
  38. package/src/sap/base/util/restricted/_pick.js +1 -1
  39. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  40. package/src/sap/base/util/restricted/_throttle.js +1 -1
  41. package/src/sap/base/util/restricted/_toArray.js +1 -1
  42. package/src/sap/base/util/restricted/_union.js +1 -1
  43. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  44. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  45. package/src/sap/base/util/restricted/_uniq.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  47. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  48. package/src/sap/base/util/restricted/_without.js +1 -1
  49. package/src/sap/base/util/restricted/_xor.js +1 -1
  50. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  51. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  53. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  54. package/src/sap/base/util/syncFetch.js +73 -0
  55. package/src/sap/ui/Device.js +3 -3
  56. package/src/sap/ui/Global.js +4 -4
  57. package/src/sap/ui/base/Event.js +1 -1
  58. package/src/sap/ui/base/EventProvider.js +1 -1
  59. package/src/sap/ui/base/Interface.js +1 -1
  60. package/src/sap/ui/base/ManagedObject.js +1 -1
  61. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  62. package/src/sap/ui/base/Metadata.js +1 -1
  63. package/src/sap/ui/base/Object.js +1 -1
  64. package/src/sap/ui/base/ObjectPool.js +1 -1
  65. package/src/sap/ui/core/.library +17 -2
  66. package/src/sap/ui/core/AppCacheBuster.js +65 -51
  67. package/src/sap/ui/core/BusyIndicator.js +1 -1
  68. package/src/sap/ui/core/Component.js +48 -21
  69. package/src/sap/ui/core/ComponentContainer.js +1 -1
  70. package/src/sap/ui/core/ComponentMetadata.js +2 -2
  71. package/src/sap/ui/core/ComponentSupport.js +1 -1
  72. package/src/sap/ui/core/Configuration.js +44 -21
  73. package/src/sap/ui/core/Control.js +1 -1
  74. package/src/sap/ui/core/Core.js +49 -61
  75. package/src/sap/ui/core/CustomData.js +1 -1
  76. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  77. package/src/sap/ui/core/Element.js +9 -1
  78. package/src/sap/ui/core/ElementMetadata.js +1 -1
  79. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  80. package/src/sap/ui/core/EventBus.js +1 -1
  81. package/src/sap/ui/core/FocusHandler.js +56 -33
  82. package/src/sap/ui/core/Fragment.js +1 -1
  83. package/src/sap/ui/core/HTML.js +1 -1
  84. package/src/sap/ui/core/History.js +1 -1
  85. package/src/sap/ui/core/Icon.js +1 -1
  86. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  87. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  88. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  89. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  90. package/src/sap/ui/core/InvisibleText.js +4 -1
  91. package/src/sap/ui/core/Item.js +1 -1
  92. package/src/sap/ui/core/LabelEnablement.js +1 -1
  93. package/src/sap/ui/core/LayoutData.js +1 -1
  94. package/src/sap/ui/core/ListItem.js +1 -1
  95. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  96. package/src/sap/ui/core/Locale.js +1 -1
  97. package/src/sap/ui/core/LocaleData.js +3 -45
  98. package/src/sap/ui/core/Manifest.js +1 -1
  99. package/src/sap/ui/core/Message.js +1 -1
  100. package/src/sap/ui/core/RenderManager.js +11 -21
  101. package/src/sap/ui/core/Renderer.js +1 -1
  102. package/src/sap/ui/core/ResizeHandler.js +22 -43
  103. package/src/sap/ui/core/ScrollBar.js +1 -1
  104. package/src/sap/ui/core/SeparatorItem.js +1 -1
  105. package/src/sap/ui/core/Title.js +1 -1
  106. package/src/sap/ui/core/TooltipBase.js +1 -1
  107. package/src/sap/ui/core/UIArea.js +6 -4
  108. package/src/sap/ui/core/UIComponent.js +1 -1
  109. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  110. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  111. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  112. package/src/sap/ui/core/XMLComposite.js +1 -1
  113. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  114. package/src/sap/ui/core/_IconRegistry.js +66 -55
  115. package/src/sap/ui/core/cache/CacheManager.js +18 -14
  116. package/src/sap/ui/core/cache/CacheManagerNOP.js +5 -2
  117. package/src/sap/ui/core/cache/LRUPersistentCache.js +15 -8
  118. package/src/sap/ui/core/cldr/en.json +0 -1
  119. package/src/sap/ui/core/date/Buddhist.js +15 -13
  120. package/src/sap/ui/core/date/Japanese.js +0 -6
  121. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  122. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  123. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  124. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  125. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  126. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  127. package/src/sap/ui/core/format/NumberFormat.js +91 -25
  128. package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
  129. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  130. package/src/sap/ui/core/library.js +3 -3
  131. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  132. package/src/sap/ui/core/message/Message.js +1 -1
  133. package/src/sap/ui/core/message/MessageManager.js +1 -1
  134. package/src/sap/ui/core/message/MessageParser.js +1 -1
  135. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  136. package/src/sap/ui/core/messagebundle_ar.properties +54 -53
  137. package/src/sap/ui/core/messagebundle_bg.properties +54 -53
  138. package/src/sap/ui/core/messagebundle_ca.properties +28 -27
  139. package/src/sap/ui/core/messagebundle_cs.properties +37 -36
  140. package/src/sap/ui/core/messagebundle_cy.properties +56 -55
  141. package/src/sap/ui/core/messagebundle_da.properties +53 -52
  142. package/src/sap/ui/core/messagebundle_de.properties +54 -53
  143. package/src/sap/ui/core/messagebundle_el.properties +45 -44
  144. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
  145. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  146. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +1 -0
  147. package/src/sap/ui/core/messagebundle_es.properties +42 -41
  148. package/src/sap/ui/core/messagebundle_es_MX.properties +54 -53
  149. package/src/sap/ui/core/messagebundle_et.properties +51 -50
  150. package/src/sap/ui/core/messagebundle_fi.properties +48 -47
  151. package/src/sap/ui/core/messagebundle_fr.properties +36 -35
  152. package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -20
  153. package/src/sap/ui/core/messagebundle_hi.properties +41 -40
  154. package/src/sap/ui/core/messagebundle_hr.properties +55 -54
  155. package/src/sap/ui/core/messagebundle_hu.properties +55 -54
  156. package/src/sap/ui/core/messagebundle_id.properties +55 -54
  157. package/src/sap/ui/core/messagebundle_it.properties +55 -54
  158. package/src/sap/ui/core/messagebundle_iw.properties +55 -54
  159. package/src/sap/ui/core/messagebundle_ja.properties +48 -47
  160. package/src/sap/ui/core/messagebundle_kk.properties +41 -40
  161. package/src/sap/ui/core/messagebundle_ko.properties +17 -16
  162. package/src/sap/ui/core/messagebundle_lt.properties +55 -54
  163. package/src/sap/ui/core/messagebundle_lv.properties +55 -54
  164. package/src/sap/ui/core/messagebundle_ms.properties +52 -51
  165. package/src/sap/ui/core/messagebundle_nl.properties +53 -52
  166. package/src/sap/ui/core/messagebundle_no.properties +53 -52
  167. package/src/sap/ui/core/messagebundle_pl.properties +52 -51
  168. package/src/sap/ui/core/messagebundle_pt.properties +54 -53
  169. package/src/sap/ui/core/messagebundle_pt_PT.properties +55 -54
  170. package/src/sap/ui/core/messagebundle_ro.properties +56 -55
  171. package/src/sap/ui/core/messagebundle_ru.properties +52 -51
  172. package/src/sap/ui/core/messagebundle_sh.properties +56 -55
  173. package/src/sap/ui/core/messagebundle_sk.properties +54 -53
  174. package/src/sap/ui/core/messagebundle_sl.properties +56 -55
  175. package/src/sap/ui/core/messagebundle_sv.properties +52 -51
  176. package/src/sap/ui/core/messagebundle_th.properties +25 -24
  177. package/src/sap/ui/core/messagebundle_tr.properties +56 -55
  178. package/src/sap/ui/core/messagebundle_uk.properties +55 -54
  179. package/src/sap/ui/core/messagebundle_vi.properties +55 -54
  180. package/src/sap/ui/core/messagebundle_zh_CN.properties +55 -54
  181. package/src/sap/ui/core/messagebundle_zh_TW.properties +55 -54
  182. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  183. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  184. package/src/sap/ui/core/mvc/JSView.js +1 -1
  185. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  186. package/src/sap/ui/core/mvc/View.js +1 -1
  187. package/src/sap/ui/core/mvc/XMLView.js +1 -2
  188. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  189. package/src/sap/ui/core/plugin/LessSupport.js +16 -14
  190. package/src/sap/ui/core/plugin/TemplatingSupport.js +2 -1
  191. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  192. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  193. package/src/sap/ui/core/routing/async/TargetCache.js +4 -0
  194. package/src/sap/ui/core/rules/Config.support.js +1 -1
  195. package/src/sap/ui/core/rules/View.support.js +11 -4
  196. package/src/sap/ui/core/search/OpenSearchProvider.js +24 -11
  197. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  198. package/src/sap/ui/core/service/Service.js +1 -1
  199. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  200. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  201. package/src/sap/ui/core/support/Plugin.js +1 -1
  202. package/src/sap/ui/core/support/Support.js +2 -2
  203. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  204. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  205. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  206. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  207. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  208. package/src/sap/ui/core/support/plugins/TechInfo.js +46 -33
  209. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  210. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  211. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
  212. package/src/sap/ui/core/themes/base/base.less +26 -26
  213. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  214. package/src/sap/ui/core/theming/Parameters.js +45 -39
  215. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  216. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  217. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  218. package/src/sap/ui/core/tmpl/Template.js +2 -2
  219. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  220. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  221. package/src/sap/ui/core/util/Export.js +1 -1
  222. package/src/sap/ui/core/util/ExportCell.js +1 -1
  223. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  224. package/src/sap/ui/core/util/ExportRow.js +1 -1
  225. package/src/sap/ui/core/util/ExportType.js +1 -1
  226. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  227. package/src/sap/ui/core/util/File.js +1 -1
  228. package/src/sap/ui/core/util/LibraryInfo.js +61 -42
  229. package/src/sap/ui/core/util/MockServer.js +1 -1
  230. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  231. package/src/sap/ui/core/util/XMLPreprocessor.js +1 -1
  232. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  233. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  234. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  235. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  236. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  237. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  238. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  239. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  240. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  241. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  242. package/src/sap/ui/debug/ControlTree.js +1 -1
  243. package/src/sap/ui/debug/DebugEnv.js +1 -1
  244. package/src/sap/ui/debug/PropertyList.js +19 -9
  245. package/src/sap/ui/model/ClientModel.js +1 -1
  246. package/src/sap/ui/model/CompositeDataState.js +1 -1
  247. package/src/sap/ui/model/CompositeType.js +1 -1
  248. package/src/sap/ui/model/DataState.js +2 -2
  249. package/src/sap/ui/model/MetaModel.js +1 -1
  250. package/src/sap/ui/model/Model.js +1 -1
  251. package/src/sap/ui/model/SelectionModel.js +1 -1
  252. package/src/sap/ui/model/SimpleType.js +1 -1
  253. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  254. package/src/sap/ui/model/Type.js +1 -1
  255. package/src/sap/ui/model/analytics/odata4analytics.js +2 -2
  256. package/src/sap/ui/model/json/JSONModel.js +1 -1
  257. package/src/sap/ui/model/message/MessageModel.js +1 -1
  258. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  259. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  260. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  261. package/src/sap/ui/model/odata/ODataMetadata.js +6 -3
  262. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  263. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +128 -87
  264. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  265. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  266. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  267. package/src/sap/ui/model/odata/type/Date.js +1 -1
  268. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  269. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  270. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  271. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  272. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  273. package/src/sap/ui/model/odata/type/Double.js +1 -1
  274. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  275. package/src/sap/ui/model/odata/type/Int.js +1 -1
  276. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  277. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  278. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  279. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  280. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  281. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  282. package/src/sap/ui/model/odata/type/Single.js +1 -1
  283. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  284. package/src/sap/ui/model/odata/type/String.js +1 -1
  285. package/src/sap/ui/model/odata/type/Time.js +1 -1
  286. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  287. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  288. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  289. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  290. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +4 -1
  291. package/src/sap/ui/model/odata/v2/ODataModel.js +112 -104
  292. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +15 -2
  293. package/src/sap/ui/model/odata/v4/Context.js +3 -1
  294. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  295. package/src/sap/ui/model/odata/v4/ODataListBinding.js +2 -1
  296. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  297. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  298. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  299. package/src/sap/ui/model/odata/v4/lib/_Cache.js +74 -24
  300. package/src/sap/ui/model/odata/v4/lib/_Helper.js +42 -0
  301. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +3 -1
  302. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  303. package/src/sap/ui/model/type/Boolean.js +1 -1
  304. package/src/sap/ui/model/type/Currency.js +1 -1
  305. package/src/sap/ui/model/type/Date.js +1 -1
  306. package/src/sap/ui/model/type/DateInterval.js +1 -1
  307. package/src/sap/ui/model/type/DateTime.js +1 -1
  308. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  309. package/src/sap/ui/model/type/FileSize.js +1 -1
  310. package/src/sap/ui/model/type/Float.js +1 -1
  311. package/src/sap/ui/model/type/Integer.js +1 -1
  312. package/src/sap/ui/model/type/String.js +1 -1
  313. package/src/sap/ui/model/type/Time.js +1 -1
  314. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  315. package/src/sap/ui/model/type/Unit.js +1 -1
  316. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  317. package/src/sap/ui/qunit/sinon-qunit-bridge.js +1 -1
  318. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  319. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  320. package/src/sap/ui/test/Opa5.js +1 -1
  321. package/src/sap/ui/test/TestUtils.js +35 -2
  322. package/src/sap/ui/test/generic/TestBase.js +1 -1
  323. package/src/sap/ui/test/matchers/Matcher.js +9 -11
  324. package/src/sap/ui/test/opaQunit.js +4 -3
  325. package/src/sap/ui/thirdparty/IPv6.js +1 -1
  326. package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
  327. package/src/sap/ui/thirdparty/URI.js +8 -2
  328. package/src/sap/ui/thirdparty/URITemplate.js +1 -1
  329. package/src/sap/ui/util/Storage.js +1 -1
  330. package/src/sap/ui/util/XMLHelper.js +1 -1
@@ -14,9 +14,10 @@ sap.ui.define([
14
14
  '../Plugin',
15
15
  '../Support',
16
16
  '../ToolsAPI',
17
- 'sap/base/security/encodeXML'
17
+ 'sap/base/security/encodeXML',
18
+ 'sap/ui/VersionInfo'
18
19
  ],
19
- function(jQuery, Log, each, isEmptyObject, isPlainObject, Plugin, Support, ToolsAPI, encodeXML) {
20
+ function(jQuery, Log, each, isEmptyObject, isPlainObject, Plugin, Support, ToolsAPI, encodeXML, VersionInfo) {
20
21
  "use strict";
21
22
 
22
23
 
@@ -25,7 +26,7 @@ sap.ui.define([
25
26
  * @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
26
27
  *
27
28
  * @extends sap.ui.core.support.Plugin
28
- * @version 1.103.1
29
+ * @version 1.104.0
29
30
  * @private
30
31
  * @alias sap.ui.core.support.plugins.TechInfo
31
32
  */
@@ -58,8 +59,31 @@ sap.ui.define([
58
59
  * @private
59
60
  */
60
61
  TechInfo.prototype.onsapUiSupportTechInfoData = function(oEvent){
62
+ // read and remember event parameters synchronously
63
+ var oReceivedData = oEvent.getParameter("data");
64
+
65
+ // retrieve and prepare version information
66
+ VersionInfo.load().then(function(oVersionInfo) {
67
+ return {
68
+ productName: oVersionInfo.name,
69
+ versionInfoEncoded:
70
+ "<a href='" + sap.ui.require.toUrl("sap-ui-version.json") + "'"
71
+ + " target='_blank' class='sapUiSupportLink' title='Open Version Info'>"
72
+ + encode(oVersionInfo.version) + "</a>"
73
+ + formatBuildInfo(oVersionInfo.buildTimestamp, oVersionInfo.scmRevision)
74
+ };
75
+ }, function() {
76
+ return {
77
+ productName: "SAPUI5",
78
+ versionInfoEncoded: "not available"
79
+ };
80
+ }).then(function(oVersionInfo) {
81
+ this._createTechInfoUI(oReceivedData, oVersionInfo);
82
+ }.bind(this));
83
+ };
84
+
85
+ TechInfo.prototype._createTechInfoUI = function(oData, oVersionInfo) {
61
86
  var that = this;
62
- var oData = oEvent.getParameter("data");
63
87
  oData.modules.sort();
64
88
  this.e2eTraceStarted = oData["e2e-trace"].isStarted;
65
89
  var html = ["<div class='sapUiSupportToolbar'>",
@@ -67,36 +91,10 @@ sap.ui.define([
67
91
  "<div><div class='sapUiSupportTechInfoCntnt'>",
68
92
  "<table border='0' cellpadding='3' class='infoTable'>"];
69
93
 
70
- // version information
71
- function formatBuildInfo(timestamp, scmRevision) {
72
- var info = [];
73
- if ( timestamp ) {
74
- var match = /^(\d{4})(\d{2})(\d{2})-?(\d{2})(\d{2})$/.exec(timestamp);
75
- if ( match ) {
76
- timestamp = match[1] + '-' + match[2] + '-' + match[3] + 'T' + match[4] + ":" + match[5];
77
- }
78
- info.push("built at " + encode(timestamp));
79
- }
80
- if ( scmRevision ) {
81
- info.push("last change " + encode(scmRevision));
82
- }
83
- return info.length === 0 ? "" : " (" + info.join(", ") + ")";
84
- }
85
- var sProductName = "SAPUI5";
86
- var sVersionInfoEncoded = "not available";
87
- try {
88
- var oVersionInfo = sap.ui.getVersionInfo();
89
- sProductName = oVersionInfo.name;
90
- sVersionInfoEncoded =
91
- "<a href='" + sap.ui.resource("", "sap-ui-version.json") + "' target='_blank' class='sapUiSupportLink' title='Open Version Info'>" + encode(oVersionInfo.version) + "</a>" +
92
- formatBuildInfo(oVersionInfo.buildTimestamp, oVersionInfo.scmRevision);
93
- } catch (ex) {
94
- // ignore
95
- }
96
- line(html, true, true, sProductName, function(buffer) {
97
- buffer.push(sVersionInfoEncoded);
94
+ line(html, true, true, oVersionInfo.productName, function(buffer) {
95
+ buffer.push(oVersionInfo.versionInfoEncoded);
98
96
  });
99
- if ( !/openui5/i.test(sProductName) ) {
97
+ if ( !/openui5/i.test(oVersionInfo.productName) ) {
100
98
  line(html, true, true, "OpenUI5 Version", function(buffer){
101
99
  buffer.push( encode(oData.version) + formatBuildInfo(oData.build, oData.change) );
102
100
  });
@@ -330,6 +328,21 @@ sap.ui.define([
330
328
  });
331
329
  }
332
330
 
331
+ function formatBuildInfo(timestamp, scmRevision) {
332
+ var info = [];
333
+ if ( timestamp ) {
334
+ var match = /^(\d{4})(\d{2})(\d{2})-?(\d{2})(\d{2})$/.exec(timestamp);
335
+ if ( match ) {
336
+ timestamp = match[1] + '-' + match[2] + '-' + match[3] + 'T' + match[4] + ":" + match[5];
337
+ }
338
+ info.push("built at " + encode(timestamp));
339
+ }
340
+ if ( scmRevision ) {
341
+ info.push("last change " + encode(scmRevision));
342
+ }
343
+ return info.length === 0 ? "" : " (" + info.join(", ") + ")";
344
+ }
345
+
333
346
  return TechInfo;
334
347
 
335
348
  });
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
20
20
  *
21
21
  * @extends sap.ui.core.support.Plugin
22
- * @version 1.103.1
22
+ * @version 1.104.0
23
23
  * @private
24
24
  * @alias sap.ui.core.support.plugins.Trace
25
25
  */
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * Creates an instance of sap.ui.core.support.plugins.ViewInfo.
21
21
  * @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
22
22
  * @extends sap.ui.core.support.Plugin
23
- * @version 1.103.1
23
+ * @version 1.104.0
24
24
  * @private
25
25
  * @alias sap.ui.core.support.plugins.ViewInfo
26
26
  */
@@ -34,7 +34,7 @@
34
34
  top: 1px;
35
35
  right: 1px;
36
36
  bottom: 1px;
37
- border: 1px dotted @sapUiContentFocusColor;
37
+ border: 2px solid @sapUiContentFocusColor;
38
38
  pointer-events: none;
39
39
  }
40
40
  }
@@ -1,11 +1,11 @@
1
1
  // /**
2
- // * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company. All rights reserved.
2
+ // * Copyright (c) 2012-2022 SAP SE or an SAP affiliate company and Theming Base Content contributors. Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
3
3
  // * Theming Engine 1.69.2
4
- // * data:{"sModified":"2022-04-26T06:31:06Z"}
4
+ // * data:{"sModified":"2022-05-24T07:19:31Z"}
5
5
  // */
6
6
 
7
7
 
8
- /******************* FILE /Base/baseLib/baseTheme/base.less (Version 11.1.39) *******************/
8
+ /******************* FILE /Base/baseLib/baseTheme/base.less (Version 11.1.40) *******************/
9
9
 
10
10
 
11
11
  // [Label "Brand Color"]
@@ -3885,28 +3885,28 @@
3885
3885
  // font-family: '72';
3886
3886
  // font-style: normal;
3887
3887
  // font-weight: 300;
3888
- // src: local('72-Light'), @sapFontUrl_72_Light_woff2 format('woff2'), @sapFontUrl_72_Light_woff format('woff');
3888
+ // src: @sapFontUrl_72_Light_woff2 format('woff2'), @sapFontUrl_72_Light_woff format('woff'), local('72-Light');
3889
3889
  // }
3890
3890
 
3891
3891
  // @font-face {
3892
3892
  // font-family: '72';
3893
3893
  // font-style: normal;
3894
3894
  // font-weight: 400;
3895
- // src: local('72'), @sapFontUrl_72_Regular_woff2 format('woff2'), @sapFontUrl_72_Regular_woff format('woff');
3895
+ // src: @sapFontUrl_72_Regular_woff2 format('woff2'), @sapFontUrl_72_Regular_woff format('woff'), local('72');
3896
3896
  // }
3897
3897
 
3898
3898
  // @font-face {
3899
3899
  // font-family: '72';
3900
3900
  // font-style: normal;
3901
3901
  // font-weight: 600;
3902
- // src: local('72-Semibold'), @sapFontUrl_72_Semibold_woff2 format('woff2'), @sapFontUrl_72_Semibold_woff format('woff');
3902
+ // src: @sapFontUrl_72_Semibold_woff2 format('woff2'), @sapFontUrl_72_Semibold_woff format('woff'), local('72-Semibold');
3903
3903
  // }
3904
3904
 
3905
3905
  // @font-face {
3906
3906
  // font-family: '72';
3907
3907
  // font-style: normal;
3908
3908
  // font-weight: 700;
3909
- // src: local('72-Bold'), @sapFontUrl_72_Bold_woff2 format('woff2'), @sapFontUrl_72_Bold_woff format('woff');
3909
+ // src: @sapFontUrl_72_Bold_woff2 format('woff2'), @sapFontUrl_72_Bold_woff format('woff'), local('72-Bold');
3910
3910
  // }
3911
3911
 
3912
3912
  // @font-face {
@@ -3941,14 +3941,14 @@
3941
3941
  // font-family: '72';
3942
3942
  // font-style: normal;
3943
3943
  // font-weight: 900;
3944
- // src: local('72Black'), @sapFontUrl_72_Black_woff2 format('woff2'), @sapFontUrl_72_Black_woff format('woff');
3944
+ // src: @sapFontUrl_72_Black_woff2 format('woff2'), @sapFontUrl_72_Black_woff format('woff'), local('72Black');
3945
3945
  // }
3946
3946
 
3947
3947
  // @font-face {
3948
3948
  // font-family: '72';
3949
3949
  // font-style: italic;
3950
3950
  // font-weight: 700;
3951
- // src: local('72-BoldItalic'), @sapFontUrl_72_BoldItalic_woff2 format('woff2'), @sapFontUrl_72_BoldItalic_woff format('woff');
3951
+ // src: @sapFontUrl_72_BoldItalic_woff2 format('woff2'), @sapFontUrl_72_BoldItalic_woff format('woff'), local('72-BoldItalic');
3952
3952
  // }
3953
3953
 
3954
3954
  // @font-face {
@@ -3956,7 +3956,7 @@
3956
3956
  // font-style: normal;
3957
3957
  // font-weight: 400;
3958
3958
  // font-stretch: condensed;
3959
- // src: local('72-Condensed'), @sapFontUrl_72_Condensed_woff2 format('woff2'), @sapFontUrl_72_Condensed_woff format('woff');
3959
+ // src: @sapFontUrl_72_Condensed_woff2 format('woff2'), @sapFontUrl_72_Condensed_woff format('woff'), local('72-Condensed');
3960
3960
  // }
3961
3961
 
3962
3962
  // @font-face {
@@ -3964,19 +3964,19 @@
3964
3964
  // font-style: normal;
3965
3965
  // font-weight: 700;
3966
3966
  // font-stretch: condensed;
3967
- // src: local('72-CondensedBold'), @sapFontUrl_72_CondensedBold_woff2 format('woff2'), @sapFontUrl_72_CondensedBold_woff format('woff');
3967
+ // src: @sapFontUrl_72_CondensedBold_woff2 format('woff2'), @sapFontUrl_72_CondensedBold_woff format('woff'), local('72-CondensedBold');
3968
3968
  // }
3969
3969
 
3970
3970
  // @font-face {
3971
3971
  // font-family: '72';
3972
3972
  // font-style: italic;
3973
3973
  // font-weight: 400;
3974
- // src: local('72-Italic'), @sapFontUrl_72_Italic_woff2 format('woff2'), @sapFontUrl_72_Italic_woff format('woff');
3974
+ // src: @sapFontUrl_72_Italic_woff2 format('woff2'), @sapFontUrl_72_Italic_woff format('woff'), local('72-Italic');
3975
3975
  // }
3976
3976
 
3977
3977
  // @font-face {
3978
3978
  // font-family: '72-Light';
3979
- // src: local('72-Light'), @sapFontUrl_72_Light_woff2 format('woff2'), @sapFontUrl_72_Light_woff format('woff');
3979
+ // src: @sapFontUrl_72_Light_woff2 format('woff2'), @sapFontUrl_72_Light_woff format('woff'), local('72-Light');
3980
3980
  // }
3981
3981
 
3982
3982
  // @font-face {
@@ -3986,7 +3986,7 @@
3986
3986
 
3987
3987
  // @font-face {
3988
3988
  // font-family: '72-Bold';
3989
- // src: local('72-Bold'), @sapFontUrl_72_Bold_woff2 format('woff2'), @sapFontUrl_72_Bold_woff format('woff');
3989
+ // src: @sapFontUrl_72_Bold_woff2 format('woff2'), @sapFontUrl_72_Bold_woff format('woff'), local('72-Bold');
3990
3990
  // }
3991
3991
 
3992
3992
  // @font-face {
@@ -3996,7 +3996,7 @@
3996
3996
 
3997
3997
  // @font-face {
3998
3998
  // font-family: '72-Semibold';
3999
- // src: local('72-Semibold'), @sapFontUrl_72_Semibold_woff2 format('woff2'), @sapFontUrl_72_Semibold_woff format('woff');
3999
+ // src: @sapFontUrl_72_Semibold_woff2 format('woff2'), @sapFontUrl_72_Semibold_woff format('woff'), local('72-Semibold');
4000
4000
  // }
4001
4001
 
4002
4002
  // @font-face {
@@ -4006,7 +4006,7 @@
4006
4006
 
4007
4007
  // @font-face {
4008
4008
  // font-family: '72-SemiboldDuplex';
4009
- // src: local('72-SemiboldDuplex'), @sapFontUrl_72_SemiboldDuplex_woff2 format('woff2'), @sapFontUrl_72_SemiboldDuplex_woff format('woff');
4009
+ // src: @sapFontUrl_72_SemiboldDuplex_woff2 format('woff2'), @sapFontUrl_72_SemiboldDuplex_woff format('woff'), local('72-SemiboldDuplex');
4010
4010
  // }
4011
4011
 
4012
4012
  // @font-face {
@@ -4016,32 +4016,32 @@
4016
4016
 
4017
4017
  // @font-face {
4018
4018
  // font-family: '72Black';
4019
- // src: local('72Black'), @sapFontUrl_72_Black_woff2 format('woff2'), @sapFontUrl_72_Black_woff format('woff');
4019
+ // src: @sapFontUrl_72_Black_woff2 format('woff2'), @sapFontUrl_72_Black_woff format('woff'), local('72Black');
4020
4020
  // }
4021
4021
 
4022
4022
  // @font-face {
4023
4023
  // font-family: '72-BoldItalic';
4024
- // src: local('72-BoldItalic'), @sapFontUrl_72_BoldItalic_woff2 format('woff2'), @sapFontUrl_72_BoldItalic_woff format('woff');
4024
+ // src: @sapFontUrl_72_BoldItalic_woff2 format('woff2'), @sapFontUrl_72_BoldItalic_woff format('woff'), local('72-BoldItalic');
4025
4025
  // }
4026
4026
 
4027
4027
  // @font-face {
4028
4028
  // font-family: '72-Condensed';
4029
- // src: local('72-Condensed'), @sapFontUrl_72_Condensed_woff2 format('woff2'), @sapFontUrl_72_Condensed_woff format('woff');
4029
+ // src: @sapFontUrl_72_Condensed_woff2 format('woff2'), @sapFontUrl_72_Condensed_woff format('woff'), local('72-Condensed');
4030
4030
  // }
4031
4031
 
4032
4032
  // @font-face {
4033
4033
  // font-family: '72-CondensedBold';
4034
- // src: local('72-CondensedBold'), @sapFontUrl_72_CondensedBold_woff2 format('woff2'), @sapFontUrl_72_CondensedBold_woff format('woff');
4034
+ // src: @sapFontUrl_72_CondensedBold_woff2 format('woff2'), @sapFontUrl_72_CondensedBold_woff format('woff'), local('72-CondensedBold');
4035
4035
  // }
4036
4036
 
4037
4037
  // @font-face {
4038
4038
  // font-family: '72-Italic';
4039
- // src: local('72-Italic'), @sapFontUrl_72_Italic_woff2 format('woff2'), @sapFontUrl_72_Italic_woff format('woff');
4039
+ // src: @sapFontUrl_72_Italic_woff2 format('woff2'), @sapFontUrl_72_Italic_woff format('woff'), local('72-Italic');
4040
4040
  // }
4041
4041
 
4042
4042
  // @font-face {
4043
4043
  // font-family: '72Mono';
4044
- // src: local('72Mono'), @sapFontUrl_72Mono_Regular_woff2 format('woff2'), @sapFontUrl_72Mono_Regular_woff format('woff');
4044
+ // src: @sapFontUrl_72Mono_Regular_woff2 format('woff2'), @sapFontUrl_72Mono_Regular_woff format('woff'), local('72Mono');
4045
4045
  // }
4046
4046
 
4047
4047
  // @font-face {
@@ -4051,7 +4051,7 @@
4051
4051
 
4052
4052
  // @font-face {
4053
4053
  // font-family: '72Mono-Bold';
4054
- // src: local('72Mono-Bold'), @sapFontUrl_72Mono_Bold_woff2 format('woff2'), @sapFontUrl_72Mono_Bold_woff format('woff');
4054
+ // src: @sapFontUrl_72Mono_Bold_woff2 format('woff2'), @sapFontUrl_72Mono_Bold_woff format('woff'), local('72Mono-Bold');
4055
4055
  // }
4056
4056
 
4057
4057
  // @font-face {
@@ -4076,13 +4076,13 @@
4076
4076
  // }
4077
4077
 
4078
4078
  // /**
4079
- // * Copyright (c) 2012-2020 SAP SE or an SAP affiliate company. All rights reserved.
4079
+ // * Copyright (c) 2012-2022 SAP SE or an SAP affiliate company and Theming Base Content contributors. Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
4080
4080
  // * Theming Engine 1.69.2
4081
- // * data:{"sModified":"2022-04-26T06:31:06Z"}
4081
+ // * data:{"sModified":"2022-05-24T07:19:31Z"}
4082
4082
  // */
4083
4083
 
4084
4084
 
4085
- /******************* FILE /Base/baseLib/sap_belize_hcw/base.less (Version 11.1.39) *******************/
4085
+ /******************* FILE /Base/baseLib/sap_belize_hcw/base.less (Version 11.1.40) *******************/
4086
4086
 
4087
4087
 
4088
4088
  // [Tags "SapInternal", "Base", "Dimension", "Protected"]
@@ -16,11 +16,11 @@ sap.ui.define([
16
16
  'sap/base/util/UriParameters',
17
17
  'sap/base/Log',
18
18
  'sap/base/util/extend',
19
+ 'sap/base/util/syncFetch',
19
20
  'sap/ui/core/ThemeCheck',
20
- 'sap/ui/thirdparty/jquery',
21
21
  './ThemeHelper'
22
22
  ],
23
- function(URI, Element, UriParameters, Log, extend, ThemeCheck, jQuery, ThemeHelper) {
23
+ function(URI, Element, UriParameters, Log, extend, syncFetch, ThemeCheck, ThemeHelper) {
24
24
  "use strict";
25
25
 
26
26
  var oCfgData = window["sap-ui-config"] || {};
@@ -118,8 +118,8 @@ sap.ui.define([
118
118
  }
119
119
 
120
120
  function forEachStyleSheet(fnCallback) {
121
- jQuery("link[id^=sap-ui-theme-]").each(function() {
122
- fnCallback(this.getAttribute("id"));
121
+ document.querySelectorAll("link[id^=sap-ui-theme-]").forEach(function(linkNode) {
122
+ fnCallback(linkNode.getAttribute("id"));
123
123
  });
124
124
  }
125
125
 
@@ -135,8 +135,8 @@ sap.ui.define([
135
135
  // In some browsers (e.g. Safari) it might happen that after switching the theme or adopting the <link>'s href,
136
136
  // the parameters from the previous stylesheet are taken. This can be prevented by checking whether the theme is applied.
137
137
  if (bThemeApplied && bUseInlineParameters) {
138
- var $link = jQuery(document.getElementById(sId));
139
- var sDataUri = $link.css("background-image");
138
+ var oLink = document.getElementById(sId);
139
+ var sDataUri = window.getComputedStyle(oLink).getPropertyValue("background-image");
140
140
  var aParams = /\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(sDataUri);
141
141
  if (aParams && aParams.length >= 2) {
142
142
  var sParams = aParams[1];
@@ -233,27 +233,46 @@ sap.ui.define([
233
233
  * @param {boolean[]} aWithCredentials probing values for requesting with or without credentials
234
234
  */
235
235
  function loadParametersJSON(sUrl, sThemeBaseUrl, aWithCredentials) {
236
- var bCurrentWithCredentials = aWithCredentials.shift();
236
+ var oHeaders = {
237
+ Accept: syncFetch.ContentTypes.JSON
238
+ };
237
239
 
238
- var mHeaders = bCurrentWithCredentials ? {
240
+ var bCurrentWithCredentials = aWithCredentials.shift();
241
+ if (bCurrentWithCredentials) {
239
242
  // the X-Requested-With Header is essential for the Theming-Service to determine if a GET request will be handled
240
243
  // This forces a preflight request which should give us valid Allow headers:
241
244
  // Access-Control-Allow-Origin: ... fully qualified requestor origin ...
242
245
  // Access-Control-Allow-Credentials: true
243
- "X-Requested-With": "XMLHttpRequest"
244
- } : {};
246
+ oHeaders["X-Requested-With"] = "XMLHttpRequest";
247
+ }
248
+
249
+ function fnErrorCallback(error) {
250
+ // ignore failure at least temporarily as long as there are libraries built using outdated tools which produce no json file
251
+ Log.error("Could not load theme parameters from: " + sUrl, error); // could be an error as well, but let's avoid more CSN messages...
252
+
253
+ if (aWithCredentials.length > 0) {
254
+ // In a CORS scenario, IF we have sent credentials on the first try AND the request failed,
255
+ // we expect that a service could have answered with the following Allow header:
256
+ // Access-Control-Allow-Origin: *
257
+ // In this case we must not send credentials, otherwise the service would have answered with:
258
+ // Access-Control-Allow-Origin: https://...
259
+ // Access-Control-Allow-Credentials: true
260
+ // Due to security constraints, the browser does not hand out any more information in a CORS scenario,
261
+ // so now we try again without credentials.
262
+ Log.warning("Initial library-parameters.json request failed ('withCredentials=" + bCurrentWithCredentials + "'; sUrl: '" + sUrl + "').\n" +
263
+ "Retrying with 'withCredentials=" + !bCurrentWithCredentials + "'.", "sap.ui.core.theming.Parameters");
264
+ loadParametersJSON(sUrl, sThemeBaseUrl, aWithCredentials);
265
+ }
266
+ }
245
267
 
246
268
  // load and evaluate parameter file
247
- jQuery.ajax({
248
- url: sUrl,
249
- dataType: 'json',
250
- async: false,
251
- xhrFields: {
252
- // default is false
253
- withCredentials: bCurrentWithCredentials
254
- },
255
- headers: mHeaders,
256
- success: function(data, textStatus, xhr) {
269
+ try {
270
+ var response = syncFetch(sUrl, {
271
+ credentials: bCurrentWithCredentials ? "include" : "omit",
272
+ headers: oHeaders
273
+ });
274
+ if (response.ok) {
275
+ var data = response.json();
257
276
  // Once we have a successful request we track the credentials setting for this origin
258
277
  var sThemeOrigin = new URI(sThemeBaseUrl).origin();
259
278
  mOriginsNeedingCredentials[sThemeOrigin] = bCurrentWithCredentials;
@@ -267,26 +286,13 @@ sap.ui.define([
267
286
  } else {
268
287
  mergeParameters(data, sThemeBaseUrl);
269
288
  }
270
- },
271
- error: function(xhr, textStatus, error) {
272
- // ignore failure at least temporarily as long as there are libraries built using outdated tools which produce no json file
273
- Log.error("Could not load theme parameters from: " + sUrl, error); // could be an error as well, but let's avoid more CSN messages...
274
-
275
- if (aWithCredentials.length > 0) {
276
- // In a CORS scenario, IF we have sent credentials on the first try AND the request failed,
277
- // we expect that a service could have answered with the following Allow header:
278
- // Access-Control-Allow-Origin: *
279
- // In this case we must not send credentials, otherwise the service would have answered with:
280
- // Access-Control-Allow-Origin: https://...
281
- // Access-Control-Allow-Credentials: true
282
- // Due to security constraints, the browser does not hand out any more information in a CORS scenario,
283
- // so now we try again without credentials.
284
- Log.warning("Initial library-parameters.json request failed ('withCredentials=" + bCurrentWithCredentials + "'; sUrl: '" + sUrl + "').\n" +
285
- "Retrying with 'withCredentials=" + !bCurrentWithCredentials + "'.", "sap.ui.core.theming.Parameters");
286
- loadParametersJSON(sUrl, sThemeBaseUrl, aWithCredentials);
287
- }
289
+ } else {
290
+ throw new Error(response.statusText || response.status);
288
291
  }
289
- });
292
+
293
+ } catch (error) {
294
+ fnErrorCallback(error);
295
+ }
290
296
  }
291
297
 
292
298
  /**
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/core/library'],
19
19
  * @class
20
20
  * Represents a DOM attribute of a DOM element.
21
21
  * @extends sap.ui.core.Element
22
- * @version 1.103.1
22
+ * @version 1.104.0
23
23
  *
24
24
  * @public
25
25
  * @since 1.15
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * Represents a DOM element. It allows to use databinding for the properties and nested DOM attributes.
29
29
  * @extends sap.ui.core.Control
30
- * @version 1.103.1
30
+ * @version 1.104.0
31
31
  *
32
32
  * @public
33
33
  * @since 1.15
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.tmpl.Template
47
47
  * @abstract
48
48
  * @author SAP SE
49
- * @version 1.103.1
49
+ * @version 1.104.0
50
50
  * @alias sap.ui.core.tmpl.HandlebarsTemplate
51
51
  * @since 1.15
52
52
  * @deprecated since 1.56
@@ -52,10 +52,10 @@ function(
52
52
  * @extends sap.ui.base.ManagedObject
53
53
  * @abstract
54
54
  * @author SAP SE
55
- * @version 1.103.1
55
+ * @version 1.104.0
56
56
  * @alias sap.ui.core.tmpl.Template
57
57
  * @since 1.15
58
- * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or {@link sap.ui.core.mvc.JSView JSView} instead.
58
+ * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
59
59
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
60
60
  */
61
61
  var Template = ManagedObject.extend("sap.ui.core.tmpl.Template", /** @lends sap.ui.core.tmpl.Template.prototype */
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class
44
44
  * This is the base class for all template controls. Template controls are declared based on templates.
45
45
  * @extends sap.ui.core.Control
46
- * @version 1.103.1
46
+ * @version 1.104.0
47
47
  *
48
48
  * @public
49
49
  * @since 1.15
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  *
13
13
  * @class Utility class for asyncHints
14
14
  * @author SAP SE
15
- * @version 1.103.1
15
+ * @version 1.104.0
16
16
  *
17
17
  * @private
18
18
  * @ui5-restricted sap.ushell
@@ -141,7 +141,7 @@ sap.ui.define([
141
141
  * @extends sap.ui.core.Control
142
142
  *
143
143
  * @author SAP SE
144
- * @version 1.103.1
144
+ * @version 1.104.0
145
145
  * @since 1.22.0
146
146
  *
147
147
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.103.1
23
+ * @version 1.104.0
24
24
  * @since 1.22.0
25
25
  *
26
26
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.base.ManagedObject
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.103.1
26
+ * @version 1.104.0
27
27
  * @since 1.22.0
28
28
  *
29
29
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.base.ManagedObject
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.103.1
26
+ * @version 1.104.0
27
27
  * @since 1.22.0
28
28
  *
29
29
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/ManagedObject'],
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.103.1
23
+ * @version 1.104.0
24
24
  * @since 1.22.0
25
25
  *
26
26
  * @public
@@ -38,7 +38,7 @@ sap.ui.define(['./ExportType'],
38
38
  * @extends sap.ui.core.util.ExportType
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.103.1
41
+ * @version 1.104.0
42
42
  * @since 1.22.0
43
43
  *
44
44
  * @public
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery"],
13
13
  * Utility class to handle files.
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.103.1
16
+ * @version 1.104.0
17
17
  * @namespace
18
18
  *
19
19
  * @public