@openui5/sap.ui.core 1.103.0 → 1.105.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 (360) hide show
  1. package/.reuse/dep5 +18 -1
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +36 -3
  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 +5 -5
  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/ManagedObjectObserver.js +2 -2
  63. package/src/sap/ui/base/Metadata.js +1 -1
  64. package/src/sap/ui/base/Object.js +1 -1
  65. package/src/sap/ui/base/ObjectPool.js +1 -1
  66. package/src/sap/ui/core/.library +63 -45
  67. package/src/sap/ui/core/AccessKeysEnablement.js +173 -0
  68. package/src/sap/ui/core/AppCacheBuster.js +65 -51
  69. package/src/sap/ui/core/BusyIndicator.js +1 -1
  70. package/src/sap/ui/core/Component.js +48 -21
  71. package/src/sap/ui/core/ComponentContainer.js +1 -1
  72. package/src/sap/ui/core/ComponentMetadata.js +12 -12
  73. package/src/sap/ui/core/ComponentSupport.js +1 -1
  74. package/src/sap/ui/core/Configuration.js +77 -26
  75. package/src/sap/ui/core/Control.js +1 -1
  76. package/src/sap/ui/core/Core.js +49 -61
  77. package/src/sap/ui/core/CustomData.js +1 -1
  78. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  79. package/src/sap/ui/core/Element.js +9 -1
  80. package/src/sap/ui/core/ElementMetadata.js +6 -4
  81. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  82. package/src/sap/ui/core/EventBus.js +1 -1
  83. package/src/sap/ui/core/ExtensionPoint.js +2 -2
  84. package/src/sap/ui/core/FocusHandler.js +56 -33
  85. package/src/sap/ui/core/Fragment.js +1 -1
  86. package/src/sap/ui/core/HTML.js +1 -1
  87. package/src/sap/ui/core/History.js +1 -1
  88. package/src/sap/ui/core/Icon.js +1 -1
  89. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  90. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  91. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  92. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  93. package/src/sap/ui/core/InvisibleText.js +4 -1
  94. package/src/sap/ui/core/Item.js +1 -1
  95. package/src/sap/ui/core/LabelEnablement.js +1 -1
  96. package/src/sap/ui/core/LayoutData.js +1 -1
  97. package/src/sap/ui/core/ListItem.js +1 -1
  98. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  99. package/src/sap/ui/core/Locale.js +1 -1
  100. package/src/sap/ui/core/LocaleData.js +4 -47
  101. package/src/sap/ui/core/Manifest.js +3 -5
  102. package/src/sap/ui/core/Message.js +1 -1
  103. package/src/sap/ui/core/RenderManager.js +11 -21
  104. package/src/sap/ui/core/Renderer.js +1 -1
  105. package/src/sap/ui/core/ResizeHandler.js +22 -43
  106. package/src/sap/ui/core/ScrollBar.js +1 -1
  107. package/src/sap/ui/core/SeparatorItem.js +1 -1
  108. package/src/sap/ui/core/Title.js +1 -1
  109. package/src/sap/ui/core/TooltipBase.js +1 -1
  110. package/src/sap/ui/core/UIArea.js +6 -4
  111. package/src/sap/ui/core/UIComponent.js +1 -1
  112. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  113. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  114. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  115. package/src/sap/ui/core/XMLComposite.js +4 -1
  116. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  117. package/src/sap/ui/core/_IconRegistry.js +66 -55
  118. package/src/sap/ui/core/cache/CacheManager.js +18 -14
  119. package/src/sap/ui/core/cache/CacheManagerNOP.js +5 -2
  120. package/src/sap/ui/core/cache/LRUPersistentCache.js +15 -8
  121. package/src/sap/ui/core/cldr/en.json +0 -1
  122. package/src/sap/ui/core/date/Buddhist.js +15 -13
  123. package/src/sap/ui/core/date/Japanese.js +0 -6
  124. package/src/sap/ui/core/date/UniversalDate.js +144 -34
  125. package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
  126. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  127. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  128. package/src/sap/ui/core/dnd/DragDropInfo.js +3 -3
  129. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  130. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  131. package/src/sap/ui/core/format/DateFormat.js +31 -9
  132. package/src/sap/ui/core/format/NumberFormat.js +91 -25
  133. package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
  134. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  135. package/src/sap/ui/core/library.js +44 -3
  136. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  137. package/src/sap/ui/core/message/Message.js +1 -1
  138. package/src/sap/ui/core/message/MessageManager.js +1 -1
  139. package/src/sap/ui/core/message/MessageParser.js +1 -1
  140. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  141. package/src/sap/ui/core/messagebundle.properties +2 -0
  142. package/src/sap/ui/core/messagebundle_ar.properties +54 -53
  143. package/src/sap/ui/core/messagebundle_bg.properties +54 -53
  144. package/src/sap/ui/core/messagebundle_ca.properties +28 -27
  145. package/src/sap/ui/core/messagebundle_cs.properties +37 -36
  146. package/src/sap/ui/core/messagebundle_cy.properties +57 -56
  147. package/src/sap/ui/core/messagebundle_da.properties +53 -52
  148. package/src/sap/ui/core/messagebundle_de.properties +54 -53
  149. package/src/sap/ui/core/messagebundle_el.properties +46 -45
  150. package/src/sap/ui/core/messagebundle_en.properties +57 -56
  151. package/src/sap/ui/core/messagebundle_en_GB.properties +57 -56
  152. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
  153. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  154. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +1 -0
  155. package/src/sap/ui/core/messagebundle_es.properties +42 -41
  156. package/src/sap/ui/core/messagebundle_es_MX.properties +54 -53
  157. package/src/sap/ui/core/messagebundle_et.properties +51 -50
  158. package/src/sap/ui/core/messagebundle_fi.properties +48 -47
  159. package/src/sap/ui/core/messagebundle_fr.properties +37 -36
  160. package/src/sap/ui/core/messagebundle_fr_CA.properties +22 -21
  161. package/src/sap/ui/core/messagebundle_hi.properties +42 -41
  162. package/src/sap/ui/core/messagebundle_hr.properties +55 -54
  163. package/src/sap/ui/core/messagebundle_hu.properties +56 -55
  164. package/src/sap/ui/core/messagebundle_id.properties +55 -54
  165. package/src/sap/ui/core/messagebundle_it.properties +55 -54
  166. package/src/sap/ui/core/messagebundle_iw.properties +55 -54
  167. package/src/sap/ui/core/messagebundle_ja.properties +48 -47
  168. package/src/sap/ui/core/messagebundle_kk.properties +41 -40
  169. package/src/sap/ui/core/messagebundle_ko.properties +21 -20
  170. package/src/sap/ui/core/messagebundle_lt.properties +55 -54
  171. package/src/sap/ui/core/messagebundle_lv.properties +55 -54
  172. package/src/sap/ui/core/messagebundle_ms.properties +52 -51
  173. package/src/sap/ui/core/messagebundle_nl.properties +53 -52
  174. package/src/sap/ui/core/messagebundle_no.properties +53 -52
  175. package/src/sap/ui/core/messagebundle_pl.properties +52 -51
  176. package/src/sap/ui/core/messagebundle_pt.properties +54 -53
  177. package/src/sap/ui/core/messagebundle_pt_PT.properties +55 -54
  178. package/src/sap/ui/core/messagebundle_ro.properties +56 -55
  179. package/src/sap/ui/core/messagebundle_ru.properties +52 -51
  180. package/src/sap/ui/core/messagebundle_sh.properties +57 -56
  181. package/src/sap/ui/core/messagebundle_sk.properties +54 -53
  182. package/src/sap/ui/core/messagebundle_sl.properties +56 -55
  183. package/src/sap/ui/core/messagebundle_sv.properties +52 -51
  184. package/src/sap/ui/core/messagebundle_th.properties +25 -24
  185. package/src/sap/ui/core/messagebundle_tr.properties +56 -55
  186. package/src/sap/ui/core/messagebundle_uk.properties +55 -54
  187. package/src/sap/ui/core/messagebundle_vi.properties +56 -55
  188. package/src/sap/ui/core/messagebundle_zh_CN.properties +55 -54
  189. package/src/sap/ui/core/messagebundle_zh_TW.properties +55 -54
  190. package/src/sap/ui/core/mvc/Controller.js +12 -12
  191. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  192. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  193. package/src/sap/ui/core/mvc/JSView.js +1 -1
  194. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  195. package/src/sap/ui/core/mvc/View.js +7 -7
  196. package/src/sap/ui/core/mvc/XMLView.js +1 -2
  197. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  198. package/src/sap/ui/core/plugin/LessSupport.js +16 -14
  199. package/src/sap/ui/core/plugin/TemplatingSupport.js +2 -1
  200. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  201. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  202. package/src/sap/ui/core/routing/Router.js +3 -3
  203. package/src/sap/ui/core/routing/async/TargetCache.js +4 -0
  204. package/src/sap/ui/core/rules/Config.support.js +1 -1
  205. package/src/sap/ui/core/rules/View.support.js +11 -4
  206. package/src/sap/ui/core/search/OpenSearchProvider.js +25 -12
  207. package/src/sap/ui/core/search/SearchProvider.js +2 -2
  208. package/src/sap/ui/core/service/Service.js +1 -1
  209. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  210. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  211. package/src/sap/ui/core/support/Plugin.js +1 -1
  212. package/src/sap/ui/core/support/Support.js +3 -4
  213. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  214. package/src/sap/ui/core/support/plugins/Debugging.js +1 -1
  215. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  216. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  217. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  218. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  219. package/src/sap/ui/core/support/plugins/TechInfo.js +46 -33
  220. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  221. package/src/sap/ui/core/support/plugins/ViewInfo.js +2 -3
  222. package/src/sap/ui/core/themes/base/Icon.less +4 -0
  223. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
  224. package/src/sap/ui/core/themes/base/base.less +26 -26
  225. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  226. package/src/sap/ui/core/themes/base/global.less +5 -1
  227. package/src/sap/ui/core/theming/Parameters.js +45 -39
  228. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  229. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  230. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  231. package/src/sap/ui/core/tmpl/Template.js +2 -2
  232. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  233. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  234. package/src/sap/ui/core/util/Export.js +1 -1
  235. package/src/sap/ui/core/util/ExportCell.js +1 -1
  236. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  237. package/src/sap/ui/core/util/ExportRow.js +1 -1
  238. package/src/sap/ui/core/util/ExportType.js +1 -1
  239. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  240. package/src/sap/ui/core/util/File.js +1 -1
  241. package/src/sap/ui/core/util/LibraryInfo.js +61 -42
  242. package/src/sap/ui/core/util/MockServer.js +1 -1
  243. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  244. package/src/sap/ui/core/util/XMLPreprocessor.js +1 -1
  245. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +0 -3
  246. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  247. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  248. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  249. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  250. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  251. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  252. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  253. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  254. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  255. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  256. package/src/sap/ui/debug/ControlTree.js +1 -1
  257. package/src/sap/ui/debug/DebugEnv.js +1 -1
  258. package/src/sap/ui/debug/PropertyList.js +19 -9
  259. package/src/sap/ui/model/ClientModel.js +1 -1
  260. package/src/sap/ui/model/CompositeDataState.js +1 -1
  261. package/src/sap/ui/model/CompositeType.js +1 -1
  262. package/src/sap/ui/model/DataState.js +2 -2
  263. package/src/sap/ui/model/MetaModel.js +1 -1
  264. package/src/sap/ui/model/Model.js +1 -1
  265. package/src/sap/ui/model/SelectionModel.js +1 -1
  266. package/src/sap/ui/model/SimpleType.js +1 -1
  267. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  268. package/src/sap/ui/model/Type.js +1 -1
  269. package/src/sap/ui/model/_Helper.js +3 -1
  270. package/src/sap/ui/model/analytics/odata4analytics.js +2 -2
  271. package/src/sap/ui/model/base/ManagedObjectModel.js +2 -2
  272. package/src/sap/ui/model/json/JSONModel.js +1 -1
  273. package/src/sap/ui/model/message/MessageModel.js +1 -1
  274. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  275. package/src/sap/ui/model/odata/ODataMessageParser.js +4 -4
  276. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  277. package/src/sap/ui/model/odata/ODataMetadata.js +6 -3
  278. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  279. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +437 -239
  280. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  281. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  282. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  283. package/src/sap/ui/model/odata/type/Date.js +1 -1
  284. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  285. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  286. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  287. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  288. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  289. package/src/sap/ui/model/odata/type/Double.js +1 -1
  290. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  291. package/src/sap/ui/model/odata/type/Int.js +1 -1
  292. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  293. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  294. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  295. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  296. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  297. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  298. package/src/sap/ui/model/odata/type/Single.js +1 -1
  299. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  300. package/src/sap/ui/model/odata/type/String.js +1 -1
  301. package/src/sap/ui/model/odata/type/Time.js +1 -1
  302. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  303. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  304. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  305. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  306. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +4 -1
  307. package/src/sap/ui/model/odata/v2/ODataListBinding.js +25 -0
  308. package/src/sap/ui/model/odata/v2/ODataModel.js +161 -122
  309. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +18 -2
  310. package/src/sap/ui/model/odata/v4/Context.js +86 -30
  311. package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -8
  312. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +26 -27
  313. package/src/sap/ui/model/odata/v4/ODataListBinding.js +121 -93
  314. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  315. package/src/sap/ui/model/odata/v4/ODataModel.js +3 -2
  316. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -13
  317. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +4 -4
  318. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +135 -28
  319. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +133 -16
  320. package/src/sap/ui/model/odata/v4/lib/_Cache.js +341 -161
  321. package/src/sap/ui/model/odata/v4/lib/_Helper.js +73 -9
  322. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +8 -6
  323. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  324. package/src/sap/ui/model/type/Boolean.js +1 -1
  325. package/src/sap/ui/model/type/Currency.js +1 -1
  326. package/src/sap/ui/model/type/Date.js +1 -1
  327. package/src/sap/ui/model/type/DateInterval.js +1 -1
  328. package/src/sap/ui/model/type/DateTime.js +1 -1
  329. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  330. package/src/sap/ui/model/type/FileSize.js +1 -1
  331. package/src/sap/ui/model/type/Float.js +1 -1
  332. package/src/sap/ui/model/type/Integer.js +1 -1
  333. package/src/sap/ui/model/type/String.js +1 -1
  334. package/src/sap/ui/model/type/Time.js +1 -1
  335. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  336. package/src/sap/ui/model/type/Unit.js +1 -1
  337. package/src/sap/ui/model/xml/XMLModel.js +4 -2
  338. package/src/sap/ui/performance/trace/FESR.js +27 -24
  339. package/src/sap/ui/performance/trace/Interaction.js +66 -16
  340. package/src/sap/ui/qunit/sinon-qunit-bridge.js +1 -1
  341. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  342. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  343. package/src/sap/ui/test/Opa5.js +1 -1
  344. package/src/sap/ui/test/TestUtils.js +35 -2
  345. package/src/sap/ui/test/actions/Press.js +7 -0
  346. package/src/sap/ui/test/generic/TestBase.js +1 -1
  347. package/src/sap/ui/test/matchers/AggregationContainsPropertyEqual.js +2 -3
  348. package/src/sap/ui/test/matchers/AggregationFilled.js +2 -3
  349. package/src/sap/ui/test/matchers/AggregationLengthEquals.js +2 -3
  350. package/src/sap/ui/test/matchers/Matcher.js +9 -11
  351. package/src/sap/ui/test/opaQunit.js +15 -9
  352. package/src/sap/ui/test/pipelines/ActionPipeline.js +2 -3
  353. package/src/sap/ui/test/pipelines/MatcherPipeline.js +2 -3
  354. package/src/sap/ui/test/pipelines/PipelineFactory.js +2 -3
  355. package/src/sap/ui/thirdparty/IPv6.js +1 -1
  356. package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
  357. package/src/sap/ui/thirdparty/URI.js +8 -2
  358. package/src/sap/ui/thirdparty/URITemplate.js +1 -1
  359. package/src/sap/ui/util/Storage.js +1 -1
  360. package/src/sap/ui/util/XMLHelper.js +1 -1
@@ -57,78 +57,78 @@ CommunicationError=\u901A\u8A0A\u932F\u8AA4
57
57
  NO=\u5426
58
58
  YES=\u662F
59
59
  EnterYesOrNo=\u8F38\u5165\u300C{0}\u300D\u6216\u300C{1}\u300D\u3002
60
- EnterDigitsOnly=\u50C5\u8F38\u5165\u6578\u5B57
60
+ EnterDigitsOnly=\u8ACB\u50C5\u8F38\u5165\u6578\u5B57\u3002
61
61
  EnterMaximumOfDigits=\u8F38\u5165\u6700\u591A {0} \u4F4D\u6578\u7684\u6578\u5B57\u3002
62
- EnterNumber=\u8F38\u5165\u6578\u5B57
63
- EnterNumberPrecision=\u8F38\u5165\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\uFF0C\u5305\u542B\u5C0F\u6578\u4F4D
64
- EnterNumberInteger=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57
65
- EnterNumberFraction=\u8F38\u5165\u6700\u591A\u542B {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
66
- EnterNumberIntegerFraction=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\uFF0C\u4E14\u6700\u591A\u542B {1} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
67
- EnterNumberFractionOnly=\u8F38\u5165\u7D55\u5C0D\u503C\u5C0F\u65BC 1 \u4E14\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
68
- EnterNumberMin=\u8F38\u5165\u6700\u5C0F\u503C\u70BA {0} \u7684\u6578\u5B57
69
- EnterNumberMinExclusive=\u8F38\u5165\u5927\u65BC {0} \u7684\u6578\u5B57
70
- EnterNumberMax=\u8F38\u5165\u6700\u5927\u503C\u70BA {0} \u7684\u6578\u5B57
71
- EnterNumberMaxExclusive=\u8F38\u5165\u5C0F\u65BC {0} \u7684\u6578\u5B57
72
- EnterText=\u8F38\u5165\u6587\u5B57
73
- EnterTextMaxLength=\u8F38\u5165\u6700\u591A\u542B {0} \u500B\u5B57\u5143\u548C\u7A7A\u683C\u7684\u5167\u6587
62
+ EnterNumber=\u8ACB\u8F38\u5165\u6578\u5B57\u3002
63
+ EnterNumberPrecision=\u8F38\u5165\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\uFF0C\u5305\u542B\u5C0F\u6578\u4F4D\u3002
64
+ EnterNumberInteger=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\u3002
65
+ EnterNumberFraction=\u8F38\u5165\u6700\u591A\u542B {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
66
+ EnterNumberIntegerFraction=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\uFF0C\u4E14\u6700\u591A\u542B {1} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
67
+ EnterNumberFractionOnly=\u8ACB\u8F38\u5165\u7D55\u5C0D\u503C\u5C0F\u65BC 1 \u4E14\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
68
+ EnterNumberMin=\u8ACB\u8F38\u5165\u6700\u5C0F\u503C\u70BA {0} \u7684\u6578\u5B57\u3002
69
+ EnterNumberMinExclusive=\u8ACB\u8F38\u5165\u5927\u65BC {0} \u7684\u6578\u5B57\u3002
70
+ EnterNumberMax=\u8ACB\u8F38\u5165\u6700\u5927\u503C\u70BA {0} \u7684\u6578\u5B57\u3002
71
+ EnterNumberMaxExclusive=\u8ACB\u8F38\u5165\u5C0F\u65BC {0} \u7684\u6578\u5B57\u3002
72
+ EnterText=\u8ACB\u8F38\u5165\u6587\u5B57\u3002
73
+ EnterTextMaxLength=\u8ACB\u8F38\u5165\u6700\u591A {0} \u500B\u5B57\u5143\u548C\u7A7A\u683C\u7684\u6587\u5B57\u3002
74
74
  EnterInt=\u8F38\u5165\u4E0D\u542B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
75
- EnterDateTime=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\uFF1A{0}
76
- EnterDateTimeTimezone=\u8F38\u5165\u6709\u6548\u6642\u5340\uFF0C\u4F8B\u5982\uFF1A{0}
77
- EnterDate=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\uFF1A{0}
78
- EnterGuid=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165 GUID\uFF1A12345678-90AB-CDEF-1234-567890ABCDEF
79
- EnterTime=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\uFF1A {0}
75
+ EnterDateTime=\u8ACB\u4F7F\u7528\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\uFF1A{0}\u3002
76
+ EnterDateTimeTimezone=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6642\u5340\uFF0C\u4F8B\u5982\uFF1A{0}\u3002
77
+ EnterDate=\u8ACB\u4F7F\u7528\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\uFF1A{0}\u3002
78
+ EnterGuid=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165 GUID\uFF1A12345678-90AB-CDEF-1234-567890ABCDEF\u3002
79
+ EnterTime=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\uFF1A{0}\u3002
80
80
  Currency.WithDecimals=\u6B64\u5E63\u5225\u652F\u63F4\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u91D1\u984D\u6216\u8F38\u5165\u4E0D\u540C\u5E63\u5225\u3002
81
81
  Currency.WithoutDecimals=\u6B64\u5E63\u5225\u4E0D\u652F\u63F4\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u91D1\u984D\u6216\u8F38\u5165\u4E0D\u540C\u5E63\u5225\u3002
82
82
  Unit.WithDecimals=\u6B64\u55AE\u4F4D\u652F\u63F4\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u503C\u6216\u8F38\u5165\u4E0D\u540C\u55AE\u4F4D\u3002
83
83
  Unit.WithoutDecimals=\u6B64\u55AE\u4F4D\u4E0D\u652F\u63F4\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u503C\u6216\u8F38\u5165\u4E0D\u540C\u55AE\u4F4D\u3002
84
84
 
85
85
 
86
- Boolean.Invalid=\u8F38\u5165\u6709\u6548\u7684\u5E03\u6797\u503C
86
+ Boolean.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u5E03\u6797\u503C\u3002
87
87
 
88
- Integer.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57
89
- Integer.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
90
- Integer.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
88
+ Integer.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57\u3002
89
+ Integer.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
90
+ Integer.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
91
91
 
92
- Float.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57
93
- Float.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
94
- Float.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
92
+ Float.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57\u3002
93
+ Float.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
94
+ Float.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
95
95
 
96
- Currency.Invalid=\u8F38\u5165\u6709\u6548\u7684\u5E63\u5225\u91D1\u984D
97
- Currency.InvalidMeasure=\u8F38\u5165\u6709\u6548\u7684\u5E63\u5225
98
- Currency.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
99
- Currency.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
96
+ Currency.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u5E63\u5225\u91D1\u984D\u3002
97
+ Currency.InvalidMeasure=\u8ACB\u8F38\u5165\u6709\u6548\u5E63\u5225\u3002
98
+ Currency.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
99
+ Currency.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
100
100
 
101
- Unit.Invalid=\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u91D1\u984D
102
- Unit.InvalidMeasure=\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D
103
- Unit.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
104
- Unit.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
105
- Unit.Decimals=\u8F38\u5165\u5C0F\u6578\u5C11\u65BC {0} \u4F4D\u6578\u7684\u91D1\u984D
101
+ Unit.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u91D1\u984D\u3002
102
+ Unit.InvalidMeasure=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u3002
103
+ Unit.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
104
+ Unit.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
105
+ Unit.Decimals=\u8ACB\u8F38\u5165\u5C0F\u6578\u5C11\u65BC {0} \u4F4D\u6578\u7684\u91D1\u984D\u3002
106
106
 
107
- FileSize.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6A94\u6848\u5927\u5C0F
108
- FileSize.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F
109
- FileSize.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F
107
+ FileSize.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6A94\u6848\u5927\u5C0F\u3002
108
+ FileSize.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F\u3002
109
+ FileSize.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F\u3002
110
110
 
111
- Date.Invalid=\u8F38\u5165\u65E5\u671F
112
- Date.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F
113
- Date.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F
111
+ Date.Invalid=\u8ACB\u8F38\u5165\u65E5\u671F\u3002
112
+ Date.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u3002
113
+ Date.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u3002
114
114
 
115
- Time.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6642\u9593
116
- Time.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u6642\u9593
117
- Time.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u6642\u9593
115
+ Time.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\u3002
116
+ Time.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u6642\u9593\u3002
117
+ Time.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u6642\u9593\u3002
118
118
 
119
- DateTime.Invalid=\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\u3002
120
- DateTime.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593
121
- DateTime.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593
119
+ DateTime.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\u3002
120
+ DateTime.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593\u3002
121
+ DateTime.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593\u3002
122
122
 
123
- DateInterval.Invalid=\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u9593\u9694
123
+ DateInterval.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u9593\u9694\u3002
124
124
 
125
- String.MinLength=\u8F38\u5165\u81F3\u5C11 {0} \u500B\u5B57\u5143\u7684\u503C
126
- String.MaxLength=\u8F38\u5165\u4E0D\u8D85\u904E {0} \u500B\u5B57\u5143\u7684\u503C
127
- String.StartsWith=\u8F38\u5165\u4EE5 "{0}" \u958B\u982D\u7684\u503C
128
- String.EndsWith=\u8F38\u5165\u4EE5 "{0}" \u7D50\u5C3E\u7684\u503C\u3002
129
- String.Contains=\u8F38\u5165\u5305\u542B "{0}" \u7684\u503C
130
- String.Equals=\u8F38\u5165\u503C "{0}"
131
- String.Search=\u8F38\u5165\u6709\u6548\u503C
125
+ String.MinLength=\u8ACB\u8F38\u5165\u81F3\u5C11 {0} \u500B\u5B57\u5143\u7684\u503C\u3002
126
+ String.MaxLength=\u8ACB\u8F38\u5165\u4E0D\u8D85\u904E {0} \u500B\u5B57\u5143\u7684\u503C\u3002
127
+ String.StartsWith=\u8ACB\u8F38\u5165\u4EE5 "{0}" \u958B\u982D\u7684\u503C\u3002
128
+ String.EndsWith=\u8ACB\u8F38\u5165\u4EE5 "{0}" \u7D50\u5C3E\u7684\u503C\u3002
129
+ String.Contains=\u8ACB\u8F38\u5165\u5305\u542B "{0}" \u7684\u503C\u3002
130
+ String.Equals=\u8ACB\u8F38\u5165\u503C "{0}"\u3002
131
+ String.Search=\u8ACB\u8F38\u5165\u6709\u6548\u503C\u3002
132
132
 
133
133
  ACC_CTR_TYPE_IMAGE=\u5716\u50CF
134
134
  ACC_CTR_TYPE_BUTTON=\u6309\u9215
@@ -295,6 +295,7 @@ TestRecorder.Inspect.Snippet.Dropdown.Label=\u9078\u64C7\u65B9\u8A00\uFF1A
295
295
  TestRecorder.Inspect.Snippet.Dialect.Raw=\u539F\u59CB\u9078\u64C7\u5668
296
296
  TestRecorder.Inspect.Snippet.Dialect.OPA5=OPA5
297
297
  TestRecorder.Inspect.Snippet.Dialect.UIVeri5=UIVeri5
298
+ TestRecorder.Inspect.Snippet.Dialect.WDI5=wdi5
298
299
  TestRecorder.Inspect.Snippet.MultiSwitch.Label=\u591A\u500B\uFF1A
299
300
 
300
301
  TestRecorder.Inspect.Snippet.Copy.Text=\u8907\u88FD
@@ -654,8 +654,8 @@ sap.ui.define([
654
654
  };
655
655
 
656
656
  /**
657
- * Returns the view associated with this controller or undefined.
658
- * @return {sap.ui.core.mvc.View} View connected to this controller.
657
+ * Returns the view associated with this controller or <code>undefined</code>.
658
+ * @returns {sap.ui.core.mvc.View|undefined} View connected to this controller.
659
659
  * @public
660
660
  */
661
661
  Controller.prototype.getView = function() {
@@ -670,10 +670,10 @@ sap.ui.define([
670
670
  * This method helps to find an element by its local ID only.
671
671
  *
672
672
  * If no view is connected or if the view doesn't contain an element with
673
- * the given local ID, undefined is returned.
673
+ * the given local ID, <code>undefined</code> is returned.
674
674
  *
675
675
  * @param {string} sId View-local ID
676
- * @return {sap.ui.core.Element} Element by its (view local) ID
676
+ * @returns {sap.ui.core.Element|undefined} Element by its (view local) ID
677
677
  * @public
678
678
  */
679
679
  Controller.prototype.byId = function(sId) {
@@ -685,10 +685,10 @@ sap.ui.define([
685
685
  * Converts a view local ID to a globally unique one by prepending
686
686
  * the view ID.
687
687
  *
688
- * If no view is connected, undefined is returned.
688
+ * If no view is connected, <code>undefined</code> is returned.
689
689
  *
690
690
  * @param {string} sId View-local ID
691
- * @return {string} Prefixed ID
691
+ * @returns {string|undefined} Prefixed ID
692
692
  * @public
693
693
  */
694
694
  Controller.prototype.createId = function(sId) {
@@ -699,9 +699,9 @@ sap.ui.define([
699
699
  * Gets the component of the controller's view
700
700
  *
701
701
  * If there is no Component connected to the view or the view is not connected to the controller,
702
- * undefined is returned.
702
+ * <code>undefined</code> is returned.
703
703
  *
704
- * @return {sap.ui.core.Component} Component instance
704
+ * @return {sap.ui.core.Component|undefined} Component instance
705
705
  * @since 1.23.0
706
706
  * @public
707
707
  */
@@ -783,11 +783,11 @@ sap.ui.define([
783
783
  * @param {object} mOptions Options regarding fragment loading
784
784
  * @param {string} mOptions.name The Fragment name, which must correspond to a Fragment which can be loaded via the module system
785
785
  * (fragmentName + suffix ".fragment.[typeextension]") and which contains the Fragment definition.
786
- * @param {object} [mOptions.addToDependents=true] Whether the fragment content should be added to the <code>dependents</code> aggregation of the view
787
- * @param {object} [mOptions.autoPrefixId=true] Whether the IDs of the fragment content will be prefixed by the view ID
786
+ * @param {boolean} [mOptions.addToDependents=true] Whether the fragment content should be added to the <code>dependents</code> aggregation of the view
787
+ * @param {boolean} [mOptions.autoPrefixId=true] Whether the IDs of the fragment content will be prefixed by the view ID
788
788
  * @param {string} [mOptions.id] the ID of the Fragment
789
789
  * @param {string} [mOptions.type=XML] the Fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML"
790
- * @return {Promise} A Promise that resolves with the fragment content
790
+ * @returns {Promise<sap.ui.core.Control|sap.ui.core.Control[]>} A Promise that resolves with the fragment content
791
791
  *
792
792
  * @since 1.93
793
793
  * @public
@@ -923,7 +923,7 @@ sap.ui.define([
923
923
  * controller. The event handler functions, such as <code>onButtonClick</code>,
924
924
  * are replacing the original controller's function.
925
925
  *
926
- * When using an async extension provider you need to ensure that the
926
+ * When using an async extension provider, you need to ensure that the
927
927
  * view is loaded in async mode.
928
928
  *
929
929
  * In both cases, return <code>undefined</code> if no controller extension shall be applied.
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.mvc.View
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.103.0
46
+ * @version 1.105.0
47
47
  *
48
48
  * @public
49
49
  * @since 1.9.2
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class
44
44
  * A View defined using JSON.
45
45
  * @extends sap.ui.core.mvc.View
46
- * @version 1.103.0
46
+ * @version 1.105.0
47
47
  *
48
48
  * @public
49
49
  * @alias sap.ui.core.mvc.JSONView
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [mSettings] initial settings for the new control
28
28
  *
29
29
  * @extends sap.ui.core.mvc.View
30
- * @version 1.103.0
30
+ * @version 1.105.0
31
31
  * @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
32
32
  * by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
33
33
  * creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
29
29
  * @extends sap.ui.core.mvc.View
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.103.0
32
+ * @version 1.105.0
33
33
  *
34
34
  * @public
35
35
  * @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
@@ -145,7 +145,7 @@ sap.ui.define([
145
145
  * The default implementation of this method returns <code>false</code>.
146
146
  *
147
147
  * @extends sap.ui.core.Control
148
- * @version 1.103.0
148
+ * @version 1.105.0
149
149
  *
150
150
  * @public
151
151
  * @alias sap.ui.core.mvc.View
@@ -663,7 +663,7 @@ sap.ui.define([
663
663
  * you should rather use {@link sap.ui.core.Core#byId sap.ui.getCore().byId()}.
664
664
  *
665
665
  * @param {string} sId View local ID of the element
666
- * @return {sap.ui.core.Element} Element by its ID or <code>undefined</code>
666
+ * @return {sap.ui.core.Element|undefined} Element by its ID or <code>undefined</code>
667
667
  * @public
668
668
  */
669
669
  View.prototype.byId = function(sId) {
@@ -675,7 +675,7 @@ sap.ui.define([
675
675
  * by prefixing it with the view ID.
676
676
  *
677
677
  * @param {string} sId View local ID of the element
678
- * @return {string} prefixed id
678
+ * @returns {string} prefixed id
679
679
  * @public
680
680
  */
681
681
  View.prototype.createId = function(sId) {
@@ -691,7 +691,7 @@ sap.ui.define([
691
691
  * <code>null</code> if the ID does not contain a prefix.
692
692
  *
693
693
  * @param {string} sId Prefixed ID
694
- * @return {string} ID without prefix or <code>null</code>
694
+ * @returns {string|null} ID without prefix or <code>null</code>
695
695
  * @public
696
696
  * @since 1.39.0
697
697
  */
@@ -704,16 +704,16 @@ sap.ui.define([
704
704
  * Checks whether the given ID already contains this view's ID prefix
705
705
  *
706
706
  * @param {string} sId ID that is checked for the prefix
707
- * @return {boolean} whether the ID is already prefixed
707
+ * @returns {boolean} Whether the ID is already prefixed
708
708
  */
709
709
  View.prototype.isPrefixedId = function(sId) {
710
710
  return !!(sId && sId.indexOf(this.getId() + "--") === 0);
711
711
  };
712
712
 
713
713
  /**
714
- * Returns user specific data object
714
+ * Returns user specific data object.
715
715
  *
716
- * @return {object} viewData
716
+ * @returns {object} viewData
717
717
  * @public
718
718
  */
719
719
  View.prototype.getViewData = function() {
@@ -107,7 +107,7 @@ sap.ui.define([
107
107
  * bound content aggregation. An error will be thrown when the above combination is detected.
108
108
  *
109
109
  * @extends sap.ui.core.mvc.View
110
- * @version 1.103.0
110
+ * @version 1.105.0
111
111
  *
112
112
  * @public
113
113
  * @alias sap.ui.core.mvc.XMLView
@@ -281,7 +281,6 @@ sap.ui.define([
281
281
  /**
282
282
  * Flag indicating whether to use the cache
283
283
  * @private
284
- * @experimental
285
284
  * @since 1.44
286
285
  */
287
286
  XMLView._bUseCache = sap.ui.getCore().getConfiguration().getViewCache() && Cache._isSupportedEnvironment();
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @see sap.ui.core.DeclarativeSupport
22
22
  * @public
23
23
  * @since 1.7.0
24
- * @version 1.103.0
24
+ * @version 1.105.0
25
25
  * @alias sap.ui.core.plugin.DeclarativeSupport
26
26
  */
27
27
  var DeclarativeSupportPlugin = function() {
@@ -21,9 +21,10 @@
21
21
  'sap/ui/thirdparty/jquery',
22
22
  'sap/ui/core/ThemeCheck',
23
23
  'sap/base/Log',
24
+ 'sap/base/util/syncFetch',
24
25
  'sap/base/util/UriParameters',
25
26
  'sap/ui/core/Core' // provides sap.ui.getCore()
26
- ], function(jQuery, ThemeCheck, Log, UriParameters) {
27
+ ], function(jQuery, ThemeCheck, Log, syncFetch, UriParameters) {
27
28
 
28
29
  var LESS_FILENAME = "library.source";
29
30
  var CSS_FILENAME = "library";
@@ -37,7 +38,7 @@
37
38
  * feature - DO NOT USE IN PRODUCTIVE SCENARIOS!!
38
39
  *
39
40
  * @author Peter Muessig
40
- * @version 1.103.0
41
+ * @version 1.105.0
41
42
  * @private
42
43
  * @alias sap.ui.core.plugin.LessSupport
43
44
  */
@@ -281,21 +282,22 @@
281
282
  * @private
282
283
  */
283
284
  LessSupport.prototype.getLastModified = function(sUrl) {
284
-
285
285
  // HEAD request to retrieve the last modified header
286
286
  var iLastModified;
287
- jQuery.ajax({
288
- url: sUrl,
289
- type: "HEAD",
290
- async: false,
291
- success : function(data, textStatus, xhr) {
292
- var sLastModified = xhr.getResponseHeader("Last-Modified");
293
- iLastModified = sLastModified ? Date.parse(sLastModified) : 0;
294
- },
295
- error : function(xhr, textStatus, error) {
296
- iLastModified = -1;
287
+ try {
288
+ var response = syncFetch(sUrl, {
289
+ method: "HEAD"
290
+ });
291
+
292
+ if (response.ok) {
293
+ var sLastModified = response.headers.get("Last-Modified");
294
+ iLastModified = sLastModified ? Date.parse(sLastModified) : 0;
295
+ } else {
296
+ throw Error("HTTP status error: " + response.status);
297
297
  }
298
- });
298
+ } catch (error) {
299
+ iLastModified = -1;
300
+ }
299
301
  // convert the string into a timestamp or return the -1 value
300
302
  Log.debug("CSS/LESS head-check: " + sUrl + "; last-modified: " + iLastModified);
301
303
  return iLastModified;
@@ -20,7 +20,8 @@ sap.ui.define([
20
20
  * @author Peter Muessig
21
21
  * @public
22
22
  * @since 1.15.0
23
- * @version 1.103.0
23
+ * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
24
+ * @version 1.105.0
24
25
  * @alias sap.ui.core.plugin.TemplatingSupport
25
26
  */
26
27
  var TemplatingSupport = function() {
@@ -38,7 +38,7 @@ function (
38
38
  * @alias sap.ui.core.postmessage.Bus
39
39
  * @author SAP SE
40
40
  * @since 1.56.0
41
- * @version 1.103.0
41
+ * @version 1.105.0
42
42
  * @private
43
43
  * @ui5-restricted sap.ui.core.support, sap.ui.support, sap.ui.rta
44
44
  */
@@ -13,7 +13,7 @@ sap.ui.define(function () {
13
13
  *
14
14
  * @author SAP SE
15
15
  * @since 1.56.0
16
- * @version 1.103.0
16
+ * @version 1.105.0
17
17
  *
18
18
  * @function
19
19
  * @param {string} sMessage - Dialog message
@@ -694,7 +694,7 @@ sap.ui.define([
694
694
  * Returns the route with the given name or <code>undefined</code> if no route is found.
695
695
  *
696
696
  * @param {string} sName Name of the route
697
- * @returns {sap.ui.core.routing.Route} Route with the provided name or <code>undefined</code>.
697
+ * @returns {sap.ui.core.routing.Route|undefined} Route with the provided name or <code>undefined</code>.
698
698
  * @public
699
699
  * @since 1.25.1
700
700
  */
@@ -886,9 +886,9 @@ sap.ui.define([
886
886
 
887
887
  /**
888
888
  * Returns the name of the last matched route.
889
- * If there's no route matched before, it returns undefined
889
+ * If there's no route matched before, it returns <code>undefined</code>
890
890
  *
891
- * @returns {string} The name of the last matched route
891
+ * @returns {string|undefined} The name of the last matched route
892
892
  */
893
893
  _getLastMatchedRouteName: function() {
894
894
  return this._oMatchedRoute && this._oMatchedRoute._oConfig.name;
@@ -107,6 +107,10 @@ sap.ui.define([
107
107
 
108
108
  if (oOwnerComponent) {
109
109
  vPromiseOrObject = oOwnerComponent.runAsOwner(fnCreateObjectAsync);
110
+
111
+ if (vPromiseOrObject instanceof Promise) {
112
+ oOwnerComponent.registerForDestroy(vPromiseOrObject);
113
+ }
110
114
  } else {
111
115
  vPromiseOrObject = fnCreateObjectAsync();
112
116
  }
@@ -462,7 +462,7 @@ sap.ui.define([
462
462
 
463
463
  // 1. Collect XML views in analyzed scope
464
464
  var aSyncXMLViews = oScope.getElementsByClassName(XMLView).filter(function(oXMLView) {
465
- return oXMLView.oAsyncState === undefined;
465
+ return oXMLView.oAsyncState === undefined && !oXMLView.isSubView();
466
466
  });
467
467
 
468
468
  Object.keys(mComponents).forEach(function(sComponentId) {
@@ -38,13 +38,16 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
38
38
  minversion: "-",
39
39
  title: "XML View is not configured with namespace 'sap.ui.core.mvc'",
40
40
  description: "For consistency and proper resource loading, the root node of an XML view must be configured with the namespace 'mvc'",
41
- resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namepspace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
41
+ resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namespace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
42
42
  resolutionurls: [{
43
43
  text: "Documentation: Namespaces in XML Views",
44
44
  href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
45
45
  }],
46
46
  check: function(oIssueManager, oCoreFacade, oScope) {
47
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
47
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
48
+ return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
49
+ });
50
+
48
51
  aXMLViews.forEach(function (oXMLView) {
49
52
  if (oXMLView._xContent.namespaceURI !== "sap.ui.core.mvc") {
50
53
  var sViewName = oXMLView.getViewName().split("\.").pop();
@@ -77,7 +80,9 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
77
80
  href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
78
81
  }],
79
82
  check: function(oIssueManager, oCoreFacade, oScope) {
80
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
83
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
84
+ return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
85
+ });
81
86
 
82
87
  aXMLViews.forEach(function (oXMLView) {
83
88
  if (!oXMLView._xContent.attributes.getNamedItem("xmlns")) {
@@ -140,7 +145,9 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
140
145
  href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
141
146
  }],
142
147
  check: function(oIssueManager, oCoreFacade, oScope) {
143
- var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
148
+ var aXMLViews = oScope.getElements().filter(function (oControl) {
149
+ return oControl.isA("sap.ui.core.mvc.XMLView");
150
+ });
144
151
 
145
152
  aXMLViews.forEach(function (oXMLView) {
146
153
  for (var i = 0; i < oXMLView._xContent.attributes.length; i++) {
@@ -9,10 +9,11 @@ sap.ui.define([
9
9
  './SearchProvider',
10
10
  "sap/base/Log",
11
11
  "sap/base/security/encodeURL",
12
+ "sap/base/util/fetch",
12
13
  "sap/ui/thirdparty/jquery",
13
14
  'sap/ui/core/library' // ensure that required DataTypes are available
14
15
  ],
15
- function(SearchProvider, Log, encodeURL, jQuery) {
16
+ function(SearchProvider, Log, encodeURL, fetch, jQuery) {
16
17
  "use strict";
17
18
 
18
19
 
@@ -26,7 +27,7 @@ sap.ui.define([
26
27
  * @class
27
28
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
28
29
  * @extends sap.ui.core.search.SearchProvider
29
- * @version 1.103.0
30
+ * @version 1.105.0
30
31
  *
31
32
  * @public
32
33
  * @alias sap.ui.core.search.OpenSearchProvider
@@ -56,7 +57,7 @@ sap.ui.define([
56
57
  * and an array of the suggestions (type '[string]', 2nd parameter).
57
58
  *
58
59
  * @param {string} sValue The value for which suggestions are requested.
59
- * @param {function} fCallback The callback function which is called when the suggestions are available.
60
+ * @param {function(string, string[])} fCallback The callback function which is called when the suggestions are available.
60
61
  * @type void
61
62
  * @public
62
63
  */
@@ -88,19 +89,31 @@ sap.ui.define([
88
89
  fCallback(sValue, data[1]);
89
90
  };
90
91
  }
91
-
92
- jQuery.ajax({
93
- url: sUrl,
94
- dataType: sType,
95
- success: fSuccess,
96
- error: function(XMLHttpRequest, textStatus, errorThrown) {
97
- Log.fatal("The following problem occurred: " + textStatus, XMLHttpRequest.responseText + ","
98
- + XMLHttpRequest.status);
92
+ fetch(sUrl, {
93
+ headers: {
94
+ Accept: fetch.ContentTypes[sType.toUpperCase()]
95
+ }
96
+ }).then(function(response) {
97
+ if (response.ok) {
98
+ return response.text().then(function (responseText) {
99
+ var data;
100
+ if (sType === "json") {
101
+ data = JSON.parse(responseText);
102
+ } else {
103
+ // sType == "xml"
104
+ var parser = new DOMParser();
105
+ data = parser.parseFromString(responseText, "text/xml");
106
+ }
107
+ fSuccess(data);
108
+ });
109
+ } else {
110
+ throw new Error(response.statusText || response.status);
99
111
  }
112
+ }).catch(function(error) {
113
+ Log.fatal("The following problem occurred: " + error.message);
100
114
  });
101
115
  };
102
116
 
103
-
104
117
  return OpenSearchProvider;
105
118
 
106
119
  });
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
23
23
  *
24
24
  * Do not create instances of this class, but use a concrete subclass instead.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.103.0
26
+ * @version 1.105.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.search.SearchProvider
@@ -49,7 +49,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
49
49
  * and an array of the suggestions (type '[string]', 2nd parameter).
50
50
  *
51
51
  * @param {string} sValue The value for which suggestions are requested.
52
- * @param {function} fnCallback The callback function which is called when the suggestions are available.
52
+ * @param {function(string, string[])} fnCallback The callback function which is called when the suggestions are available.
53
53
  * @public
54
54
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
55
55
  */
@@ -71,7 +71,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert", "sap/base/Log"],
71
71
  *
72
72
  * @extends sap.ui.base.Object
73
73
  * @author SAP SE
74
- * @version 1.103.0
74
+ * @version 1.105.0
75
75
  * @alias sap.ui.core.service.Service
76
76
  * @abstract
77
77
  * @private
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
83
83
  *
84
84
  * @extends sap.ui.base.Object
85
85
  * @author SAP SE
86
- * @version 1.103.0
86
+ * @version 1.105.0
87
87
  * @alias sap.ui.core.service.ServiceFactory
88
88
  * @private
89
89
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define(['./ServiceFactory', "sap/base/assert"],
18
18
  * The service factory registry.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.103.0
21
+ * @version 1.105.0
22
22
  * @alias sap.ui.core.service.ServiceFactoryRegistry
23
23
  * @private
24
24
  * @ui5-restricted sap.ushell
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/thirdparty/jquery", "sap/base/util/
17
17
  *
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
- * @version 1.103.0
20
+ * @version 1.105.0
21
21
  * @private
22
22
  * @ui5-restricted
23
23
  * @alias sap.ui.core.support.Plugin