@openui5/sap.ui.core 1.96.5 → 1.99.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 (426) hide show
  1. package/.eslintrc.json +93 -3
  2. package/.reuse/dep5 +26 -31
  3. package/THIRDPARTY.txt +15 -21
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.mobile.js +29 -19
  7. package/src/jquery.sap.properties.js +1 -1
  8. package/src/jquery.sap.resources.js +2 -2
  9. package/src/jquery.sap.script.js +1 -1
  10. package/src/jquery.sap.storage.js +3 -3
  11. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  12. package/src/sap/base/util/restricted/_castArray.js +1 -1
  13. package/src/sap/base/util/restricted/_compact.js +1 -1
  14. package/src/sap/base/util/restricted/_curry.js +1 -1
  15. package/src/sap/base/util/restricted/_debounce.js +1 -1
  16. package/src/sap/base/util/restricted/_difference.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_flatten.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_intersection.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  30. package/src/sap/base/util/restricted/_isNil.js +1 -1
  31. package/src/sap/base/util/restricted/_max.js +1 -1
  32. package/src/sap/base/util/restricted/_merge.js +1 -1
  33. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  34. package/src/sap/base/util/restricted/_min.js +1 -1
  35. package/src/sap/base/util/restricted/_omit.js +1 -1
  36. package/src/sap/base/util/restricted/_pick.js +1 -1
  37. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  38. package/src/sap/base/util/restricted/_throttle.js +1 -1
  39. package/src/sap/base/util/restricted/_toArray.js +1 -1
  40. package/src/sap/base/util/restricted/_union.js +1 -1
  41. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  42. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  43. package/src/sap/base/util/restricted/_uniq.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  46. package/src/sap/base/util/restricted/_without.js +1 -1
  47. package/src/sap/base/util/restricted/_xor.js +1 -1
  48. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  49. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  52. package/src/sap/ui/Device.js +81 -169
  53. package/src/sap/ui/Global.js +11 -16
  54. package/src/sap/ui/VersionInfo.js +13 -10
  55. package/src/sap/ui/base/BindingParser.js +34 -7
  56. package/src/sap/ui/base/Event.js +1 -1
  57. package/src/sap/ui/base/EventProvider.js +1 -1
  58. package/src/sap/ui/base/Interface.js +1 -1
  59. package/src/sap/ui/base/ManagedObject.js +50 -29
  60. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  61. package/src/sap/ui/base/Metadata.js +1 -3
  62. package/src/sap/ui/base/Object.js +1 -1
  63. package/src/sap/ui/base/ObjectPool.js +1 -1
  64. package/src/sap/ui/core/.library +1 -27
  65. package/src/sap/ui/core/AppCacheBuster.js +4 -4
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/BusyIndicatorUtils.js +1 -1
  68. package/src/sap/ui/core/Component.js +33 -11
  69. package/src/sap/ui/core/ComponentContainer.js +1 -1
  70. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  71. package/src/sap/ui/core/ComponentSupport.js +1 -1
  72. package/src/sap/ui/core/Configuration.js +79 -13
  73. package/src/sap/ui/core/Control.js +4 -3
  74. package/src/sap/ui/core/Core.js +4 -7
  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 +6 -12
  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/ExtensionPoint.js +1 -1
  82. package/src/sap/ui/core/FocusHandler.js +1 -1
  83. package/src/sap/ui/core/Fragment.js +1 -1
  84. package/src/sap/ui/core/HTML.js +3 -3
  85. package/src/sap/ui/core/HTMLRenderer.js +1 -1
  86. package/src/sap/ui/core/History.js +1 -1
  87. package/src/sap/ui/core/Icon.js +2 -3
  88. package/src/sap/ui/core/IconRenderer.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 +1 -1
  94. package/src/sap/ui/core/Item.js +1 -1
  95. package/src/sap/ui/core/LabelEnablement.js +9 -2
  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/LocalBusyIndicatorRenderer.js +2 -2
  100. package/src/sap/ui/core/LocalBusyIndicatorSupport.js +1 -1
  101. package/src/sap/ui/core/Locale.js +1 -1
  102. package/src/sap/ui/core/LocaleData.js +39 -4
  103. package/src/sap/ui/core/Manifest.js +1 -1
  104. package/src/sap/ui/core/Message.js +1 -1
  105. package/src/sap/ui/core/Placeholder.js +28 -28
  106. package/src/sap/ui/core/Popup.js +3 -3
  107. package/src/sap/ui/core/RenderManager.js +3 -3
  108. package/src/sap/ui/core/Renderer.js +1 -1
  109. package/src/sap/ui/core/ResizeHandler.js +1 -1
  110. package/src/sap/ui/core/ScrollBar.js +4 -3
  111. package/src/sap/ui/core/ScrollBarRenderer.js +1 -1
  112. package/src/sap/ui/core/SeparatorItem.js +1 -1
  113. package/src/sap/ui/core/ThemeCheck.js +2 -2
  114. package/src/sap/ui/core/Title.js +1 -1
  115. package/src/sap/ui/core/TooltipBase.js +2 -2
  116. package/src/sap/ui/core/UIArea.js +3 -3
  117. package/src/sap/ui/core/UIComponent.js +1 -1
  118. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  119. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  120. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  121. package/src/sap/ui/core/XMLComposite.js +1 -1
  122. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  123. package/src/sap/ui/core/XMLTemplateProcessor.js +26 -5
  124. package/src/sap/ui/core/_IconRegistry.js +10 -1
  125. package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -2
  126. package/src/sap/ui/core/date/Japanese.js +1 -1
  127. package/src/sap/ui/core/date/UniversalDateUtils.js +205 -2
  128. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  129. package/src/sap/ui/core/delegate/ScrollEnablement.js +9 -6
  130. package/src/sap/ui/core/dnd/DragAndDrop.js +2 -2
  131. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  132. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  133. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  134. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  135. package/src/sap/ui/core/format/DateFormat.js +562 -174
  136. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +43 -0
  137. package/src/sap/ui/core/format/ListFormat.js +2 -2
  138. package/src/sap/ui/core/format/NumberFormat.js +1 -1
  139. package/src/sap/ui/core/format/TimezoneUtil.js +248 -0
  140. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  141. package/src/sap/ui/core/library.js +47 -10
  142. package/src/sap/ui/core/message/ControlMessageProcessor.js +5 -5
  143. package/src/sap/ui/core/message/Message.js +1 -1
  144. package/src/sap/ui/core/message/MessageManager.js +1 -1
  145. package/src/sap/ui/core/message/MessageMixin.js +2 -1
  146. package/src/sap/ui/core/message/MessageParser.js +1 -1
  147. package/src/sap/ui/core/message/MessageProcessor.js +22 -12
  148. package/src/sap/ui/core/messagebundle.properties +4 -0
  149. package/src/sap/ui/core/messagebundle_ar.properties +2 -0
  150. package/src/sap/ui/core/messagebundle_bg.properties +7 -5
  151. package/src/sap/ui/core/messagebundle_ca.properties +2 -0
  152. package/src/sap/ui/core/messagebundle_cs.properties +2 -0
  153. package/src/sap/ui/core/messagebundle_cy.properties +2 -0
  154. package/src/sap/ui/core/messagebundle_da.properties +2 -0
  155. package/src/sap/ui/core/messagebundle_de.properties +3 -1
  156. package/src/sap/ui/core/messagebundle_el.properties +2 -0
  157. package/src/sap/ui/core/messagebundle_en.properties +2 -0
  158. package/src/sap/ui/core/messagebundle_en_GB.properties +2 -0
  159. package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +2 -0
  160. package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
  161. package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +2 -0
  162. package/src/sap/ui/core/messagebundle_es.properties +2 -0
  163. package/src/sap/ui/core/messagebundle_es_MX.properties +2 -0
  164. package/src/sap/ui/core/messagebundle_et.properties +2 -0
  165. package/src/sap/ui/core/messagebundle_fi.properties +2 -0
  166. package/src/sap/ui/core/messagebundle_fr.properties +9 -7
  167. package/src/sap/ui/core/messagebundle_fr_CA.properties +2 -0
  168. package/src/sap/ui/core/messagebundle_hi.properties +2 -0
  169. package/src/sap/ui/core/messagebundle_hr.properties +2 -0
  170. package/src/sap/ui/core/messagebundle_hu.properties +2 -0
  171. package/src/sap/ui/core/messagebundle_id.properties +4 -2
  172. package/src/sap/ui/core/messagebundle_it.properties +3 -1
  173. package/src/sap/ui/core/messagebundle_iw.properties +2 -0
  174. package/src/sap/ui/core/messagebundle_ja.properties +2 -0
  175. package/src/sap/ui/core/messagebundle_kk.properties +2 -0
  176. package/src/sap/ui/core/messagebundle_ko.properties +2 -0
  177. package/src/sap/ui/core/messagebundle_lt.properties +2 -0
  178. package/src/sap/ui/core/messagebundle_lv.properties +3 -1
  179. package/src/sap/ui/core/messagebundle_ms.properties +2 -0
  180. package/src/sap/ui/core/messagebundle_nl.properties +2 -0
  181. package/src/sap/ui/core/messagebundle_no.properties +6 -4
  182. package/src/sap/ui/core/messagebundle_pl.properties +2 -0
  183. package/src/sap/ui/core/messagebundle_pt.properties +2 -0
  184. package/src/sap/ui/core/messagebundle_pt_PT.properties +2 -0
  185. package/src/sap/ui/core/messagebundle_ro.properties +2 -0
  186. package/src/sap/ui/core/messagebundle_ru.properties +23 -21
  187. package/src/sap/ui/core/messagebundle_sh.properties +2 -0
  188. package/src/sap/ui/core/messagebundle_sk.properties +2 -0
  189. package/src/sap/ui/core/messagebundle_sl.properties +2 -0
  190. package/src/sap/ui/core/messagebundle_sv.properties +2 -0
  191. package/src/sap/ui/core/messagebundle_th.properties +2 -0
  192. package/src/sap/ui/core/messagebundle_tr.properties +2 -0
  193. package/src/sap/ui/core/messagebundle_uk.properties +2 -0
  194. package/src/sap/ui/core/messagebundle_vi.properties +2 -0
  195. package/src/sap/ui/core/messagebundle_zh_CN.properties +2 -0
  196. package/src/sap/ui/core/messagebundle_zh_TW.properties +2 -0
  197. package/src/sap/ui/core/mvc/Controller.js +4 -4
  198. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  199. package/src/sap/ui/core/mvc/HTMLViewRenderer.js +1 -1
  200. package/src/sap/ui/core/mvc/JSONView.js +2 -1
  201. package/src/sap/ui/core/mvc/JSONViewRenderer.js +1 -1
  202. package/src/sap/ui/core/mvc/JSView.js +1 -1
  203. package/src/sap/ui/core/mvc/JSViewRenderer.js +1 -1
  204. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  205. package/src/sap/ui/core/mvc/TemplateViewRenderer.js +1 -1
  206. package/src/sap/ui/core/mvc/View.js +2 -1
  207. package/src/sap/ui/core/mvc/ViewRenderer.js +1 -1
  208. package/src/sap/ui/core/mvc/XMLView.js +16 -3
  209. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  210. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  211. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  212. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  213. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  214. package/src/sap/ui/core/routing/Route.js +6 -6
  215. package/src/sap/ui/core/routing/Router.js +4 -3
  216. package/src/sap/ui/core/routing/Targets.js +17 -13
  217. package/src/sap/ui/core/rules/Misc.support.js +51 -1
  218. package/src/sap/ui/core/rules/Model.support.js +95 -8
  219. package/src/sap/ui/core/rules/Rendering.support.js +1 -4
  220. package/src/sap/ui/core/rules/View.support.js +14 -46
  221. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  222. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  223. package/src/sap/ui/core/service/Service.js +1 -1
  224. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  225. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  226. package/src/sap/ui/core/support/Plugin.js +2 -2
  227. package/src/sap/ui/core/support/RuleEngineOpaExtension.js +0 -1
  228. package/src/sap/ui/core/support/Support.js +1 -1
  229. package/src/sap/ui/core/support/controls/TreeViewer.js +1 -1
  230. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  231. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  232. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  233. package/src/sap/ui/core/support/plugins/Performance.js +1 -2
  234. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  235. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  236. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  237. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  238. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +2 -6
  239. package/src/sap/ui/core/support/trace/E2eTraceLib.js +3 -3
  240. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  241. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  242. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  243. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  244. package/src/sap/ui/core/tmpl/Template.js +1 -1
  245. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  246. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  247. package/src/sap/ui/core/util/DraftEnabledMockServer.js +21 -16
  248. package/src/sap/ui/core/util/Export.js +1 -1
  249. package/src/sap/ui/core/util/ExportCell.js +1 -1
  250. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  251. package/src/sap/ui/core/util/ExportRow.js +1 -1
  252. package/src/sap/ui/core/util/ExportType.js +1 -1
  253. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  254. package/src/sap/ui/core/util/File.js +1 -1
  255. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  256. package/src/sap/ui/core/util/MockServer.js +157 -58
  257. package/src/sap/ui/core/util/PasteHelper.js +4 -4
  258. package/src/sap/ui/core/util/XMLPreprocessor.js +16 -4
  259. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +1 -1
  260. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  261. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  262. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  263. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  264. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  265. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  266. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  267. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  268. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  269. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  270. package/src/sap/ui/debug/ControlTree.js +1 -1
  271. package/src/sap/ui/debug/DebugEnv.js +1 -1
  272. package/src/sap/ui/debug/PropertyList.js +1 -1
  273. package/src/sap/ui/dom/includeStylesheet.js +8 -3
  274. package/src/sap/ui/events/jquery/EventExtension.js +1 -1
  275. package/src/sap/ui/events/jquery/EventSimulation.js +3 -13
  276. package/src/sap/ui/model/Binding.js +4 -3
  277. package/src/sap/ui/model/ChangeReason.js +1 -1
  278. package/src/sap/ui/model/ClientListBinding.js +7 -0
  279. package/src/sap/ui/model/ClientModel.js +6 -5
  280. package/src/sap/ui/model/ClientTreeBinding.js +1 -1
  281. package/src/sap/ui/model/ClientTreeBindingAdapter.js +1 -1
  282. package/src/sap/ui/model/CompositeBinding.js +1 -1
  283. package/src/sap/ui/model/CompositeDataState.js +26 -4
  284. package/src/sap/ui/model/CompositeType.js +1 -1
  285. package/src/sap/ui/model/ContextBinding.js +1 -1
  286. package/src/sap/ui/model/DataState.js +27 -6
  287. package/src/sap/ui/model/ListBinding.js +24 -5
  288. package/src/sap/ui/model/MetaModel.js +2 -3
  289. package/src/sap/ui/model/Model.js +6 -11
  290. package/src/sap/ui/model/SelectionModel.js +1 -1
  291. package/src/sap/ui/model/SimpleType.js +1 -1
  292. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  293. package/src/sap/ui/model/TreeBindingAdapter.js +0 -2
  294. package/src/sap/ui/model/TreeBindingUtils.js +2 -0
  295. package/src/sap/ui/model/Type.js +1 -1
  296. package/src/sap/ui/model/analytics/AnalyticalBinding.js +13 -8
  297. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +16 -18
  298. package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -15
  299. package/src/sap/ui/model/base/ManagedObjectModel.js +1 -1
  300. package/src/sap/ui/model/json/JSONListBinding.js +1 -1
  301. package/src/sap/ui/model/json/JSONModel.js +7 -7
  302. package/src/sap/ui/model/json/JSONPropertyBinding.js +2 -2
  303. package/src/sap/ui/model/message/MessageListBinding.js +1 -1
  304. package/src/sap/ui/model/message/MessageModel.js +3 -3
  305. package/src/sap/ui/model/message/MessagePropertyBinding.js +2 -2
  306. package/src/sap/ui/model/odata/AnnotationHelper.js +2 -2
  307. package/src/sap/ui/model/odata/AnnotationParser.js +4 -2
  308. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  309. package/src/sap/ui/model/odata/ODataListBinding.js +62 -39
  310. package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
  311. package/src/sap/ui/model/odata/ODataMetaModel.js +3 -3
  312. package/src/sap/ui/model/odata/ODataMetadata.js +138 -87
  313. package/src/sap/ui/model/odata/ODataModel.js +443 -216
  314. package/src/sap/ui/model/odata/ODataPropertyBinding.js +7 -5
  315. package/src/sap/ui/model/odata/ODataTreeBinding.js +1 -1
  316. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +27 -17
  317. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +440 -260
  318. package/src/sap/ui/model/odata/ODataUtils.js +24 -9
  319. package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +3 -2
  320. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +11 -9
  321. package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +7 -5
  322. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  323. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  324. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  325. package/src/sap/ui/model/odata/type/Date.js +1 -1
  326. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  327. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  328. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  329. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +338 -0
  330. package/src/sap/ui/model/odata/type/Decimal.js +5 -1
  331. package/src/sap/ui/model/odata/type/Double.js +1 -1
  332. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  333. package/src/sap/ui/model/odata/type/Int.js +1 -1
  334. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  335. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  336. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  337. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  338. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  339. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  340. package/src/sap/ui/model/odata/type/Single.js +1 -1
  341. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  342. package/src/sap/ui/model/odata/type/String.js +1 -1
  343. package/src/sap/ui/model/odata/type/Time.js +1 -1
  344. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  345. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  346. package/src/sap/ui/model/odata/type/UnitMixin.js +1 -2
  347. package/src/sap/ui/model/odata/v2/Context.js +98 -14
  348. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  349. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +8 -4
  350. package/src/sap/ui/model/odata/v2/ODataListBinding.js +418 -172
  351. package/src/sap/ui/model/odata/v2/ODataModel.js +242 -138
  352. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +164 -92
  353. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +117 -7
  354. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +21 -22
  355. package/src/sap/ui/model/odata/v4/Context.js +249 -83
  356. package/src/sap/ui/model/odata/v4/ODataBinding.js +100 -43
  357. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +309 -228
  358. package/src/sap/ui/model/odata/v4/ODataListBinding.js +573 -278
  359. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +131 -100
  360. package/src/sap/ui/model/odata/v4/ODataModel.js +342 -259
  361. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +113 -100
  362. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +87 -81
  363. package/src/sap/ui/model/odata/v4/ODataUtils.js +5 -5
  364. package/src/sap/ui/model/odata/v4/SubmitMode.js +0 -1
  365. package/src/sap/ui/model/odata/v4/ValueListType.js +0 -1
  366. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +20 -20
  367. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +3 -5
  368. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +5 -4
  369. package/src/sap/ui/model/odata/v4/lib/_Batch.js +21 -20
  370. package/src/sap/ui/model/odata/v4/lib/_Cache.js +278 -103
  371. package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +1 -1
  372. package/src/sap/ui/model/odata/v4/lib/_Helper.js +55 -21
  373. package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +62 -61
  374. package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +1 -1
  375. package/src/sap/ui/model/odata/v4/lib/_Parser.js +52 -43
  376. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +61 -41
  377. package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +147 -147
  378. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +14 -13
  379. package/src/sap/ui/model/odata/v4/lib/_V4MetadataConverter.js +66 -67
  380. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  381. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  382. package/src/sap/ui/model/type/Boolean.js +1 -1
  383. package/src/sap/ui/model/type/Currency.js +1 -1
  384. package/src/sap/ui/model/type/Date.js +1 -1
  385. package/src/sap/ui/model/type/DateInterval.js +1 -1
  386. package/src/sap/ui/model/type/DateTime.js +1 -1
  387. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  388. package/src/sap/ui/model/type/FileSize.js +1 -1
  389. package/src/sap/ui/model/type/Float.js +1 -1
  390. package/src/sap/ui/model/type/Integer.js +1 -1
  391. package/src/sap/ui/model/type/String.js +1 -1
  392. package/src/sap/ui/model/type/Time.js +1 -1
  393. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  394. package/src/sap/ui/model/type/Unit.js +1 -1
  395. package/src/sap/ui/model/xml/XMLListBinding.js +1 -1
  396. package/src/sap/ui/model/xml/XMLModel.js +5 -5
  397. package/src/sap/ui/model/xml/XMLPropertyBinding.js +2 -2
  398. package/src/sap/ui/performance/trace/Passport.js +3 -3
  399. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  400. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  401. package/src/sap/ui/test/BlanketReporter.js +1 -1
  402. package/src/sap/ui/test/Opa5.js +1 -1
  403. package/src/sap/ui/test/TestUtils.js +2 -2
  404. package/src/sap/ui/test/_LogCollector.js +1 -1
  405. package/src/sap/ui/test/actions/Action.js +11 -2
  406. package/src/sap/ui/test/actions/Press.js +79 -3
  407. package/src/sap/ui/test/autowaiter/_XHRWaiter.js +1 -1
  408. package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +111 -0
  409. package/src/sap/ui/test/starter/createSuite.js +1 -2
  410. package/src/sap/ui/thirdparty/jquery-mobile-custom.js +3 -6
  411. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-datepicker.js +143 -3
  412. package/src/sap/ui/thirdparty/jqueryui/jquery-ui-position.js +8 -1
  413. package/src/sap/ui/util/Mobile.js +28 -39
  414. package/src/sap/ui/util/Storage.js +1 -1
  415. package/src/sap/ui/util/XMLHelper.js +53 -30
  416. package/src/ui5loader.js +9 -9
  417. package/ui5.yaml +244 -1
  418. package/src/sap/ui/core/CustomizingConfiguration.js +0 -47
  419. package/src/sap/ui/thirdparty/baseuri.js +0 -1
  420. package/src/sap/ui/thirdparty/es6-object-assign.js +0 -1
  421. package/src/sap/ui/thirdparty/es6-promise.js +0 -1
  422. package/src/sap/ui/thirdparty/es6-shim-nopromise.js +0 -1
  423. package/src/sap/ui/thirdparty/es6-string-methods.js +0 -1
  424. package/src/sap/ui/thirdparty/flexie.js +0 -1
  425. package/src/sap/ui/thirdparty/unorm.js +0 -1
  426. package/src/sap/ui/thirdparty/unormdata.js +0 -1
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
28
28
  * no internals of the class can be accessed.
29
29
  *
30
30
  * @author Malte Wedel, Daniel Brinkmann
31
- * @version 1.96.5
31
+ * @version 1.99.0
32
32
  * @param {sap.ui.base.Object} oObject
33
33
  * Object for which a facade should be created
34
34
  * @param {string[]} aMethods
@@ -266,7 +266,7 @@ sap.ui.define([
266
266
  *
267
267
  * @extends sap.ui.base.EventProvider
268
268
  * @author SAP SE
269
- * @version 1.96.5
269
+ * @version 1.99.0
270
270
  * @public
271
271
  * @alias sap.ui.base.ManagedObject
272
272
  */
@@ -556,6 +556,9 @@ sap.ui.define([
556
556
 
557
557
  }, /* Metadata constructor */ ManagedObjectMetadata);
558
558
 
559
+ // Marker to not 'forget' ui5Objects
560
+ var sUI5ObjectMarker = Symbol("ui5object");
561
+
559
562
  /**
560
563
  * Returns the metadata for the ManagedObject class.
561
564
  *
@@ -637,8 +640,8 @@ sap.ui.define([
637
640
  * <b>'library'</b> : <i>string</i><br>
638
641
  * Name of the library that the new subclass should belong to. If the subclass is a control or element, it will
639
642
  * automatically register with that library so that authoring tools can discover it.
640
- * By convention, the name of the subclass should have the library name as a prefix, e.g. 'sap.ui.commons.Panel' belongs
641
- * to library 'sap.ui.commons'.
643
+ * By convention, the name of the subclass should have the library name as a prefix, but subfolders are allowed,
644
+ * e.g. <code>sap.ui.layout.form.Form</code> belongs to library <code>sap.ui.layout</code>.
642
645
  *
643
646
  *
644
647
  * <b>'properties'</b> : <i>object</i><br>
@@ -657,14 +660,13 @@ sap.ui.define([
657
660
  * <li><code>byValue: <i>boolean</i></code> (either can be omitted or set to the boolean value <code>true</code>)
658
661
  * If set to <code>true</code>, the property value will be {@link module:sap/base/util/deepClone deep cloned}
659
662
  * on write and read operations to ensure that the internal value can't be modified by the outside. The property
660
- * <code>byValue</code> is currently limited to a <code>boolean</code> value. Other types are reserved for future
663
+ * <code>byValue</code> is currently restricted to a <code>boolean</code> value. Other types are reserved for future
661
664
  * use. Class definitions must only use boolean values for the flag (or omit it), but readers of ManagedObject
662
665
  * metadata should handle any truthy value as <code>true</code> to be future safe.
663
666
  * Note that using <code>byValue:true</code> has a performance impact on property access and therefore should be
664
667
  * used carefully. It also doesn't make sense to set this option for properties with a primitive type (they have
665
- * value semantic anyhow) or for properties with arrays of primitive types (they have been cloned already in the
666
- * past with a cheaper implementation). Future versions of UI5 might encourage this as a limitation during class
667
- * definition.
668
+ * value semantic anyhow) or for properties with arrays of primitive types (they are already cloned
669
+ * with a less expensive implementation).
668
670
  * <li><code>group:<i>string</i></code> a semantic grouping of the properties, intended to be used in design time tools.
669
671
  * Allowed values are (case sensitive): Accessibility, Appearance, Behavior, Data, Designtime, Dimension, Identification, Misc</li>
670
672
  * <li><code>defaultValue: <i>any</i></code> the default value for the property or null if there is no defaultValue.</li>
@@ -2934,6 +2936,9 @@ sap.ui.define([
2934
2936
  if (oValue.Type) {
2935
2937
  // if value contains the 'Type' property (capital 'T'), this is not a binding info.
2936
2938
  return undefined;
2939
+ } else if (oValue[sUI5ObjectMarker]) {
2940
+ // no bindingInfo, delete marker
2941
+ delete oValue[sUI5ObjectMarker];
2937
2942
  } else if (oValue.ui5object) {
2938
2943
  // if value contains ui5object property, this is not a binding info,
2939
2944
  // remove it and not check for path or parts property
@@ -2977,6 +2982,32 @@ sap.ui.define([
2977
2982
  return this.mBindingInfos[sName];
2978
2983
  };
2979
2984
 
2985
+ /**
2986
+ * Configuration for the binding of a managed object
2987
+ *
2988
+ * <code>path</code> is the only mandatory property, all others are optional.
2989
+ *
2990
+ * @typedef {object} sap.ui.base.ManagedObject.ObjectBindingInfo
2991
+ *
2992
+ * @property {string} path
2993
+ * Path in the model to bind to, either an absolute path or relative to the binding context for the
2994
+ * corresponding model. If the path contains a '&gt;' sign, the string preceding it will override
2995
+ * the <code>model</code> property, and the remainder after the '&gt;' sign will be used as binding path
2996
+ * @property {string} [model]
2997
+ * Name of the model to bind against; when <code>undefined</code> or omitted, the default model is used
2998
+ * @property {boolean} [suspended]
2999
+ * Whether the binding is initially suspended
3000
+ * @property {object} [parameters]
3001
+ * Map of additional parameters for this binding; the names and value ranges of the supported
3002
+ * parameters depend on the model implementation and should be documented with the
3003
+ * <code>bindContext</code> method of the corresponding model class or with the model-specific
3004
+ * subclass of <code>sap.ui.model.ContextBinding</code>
3005
+ * @property {Object<string,function>} [events]
3006
+ * Map of event handler functions keyed by the name of the binding events that they are attached to
3007
+ *
3008
+ * @public
3009
+ */
3010
+
2980
3011
  /**
2981
3012
  * Bind the object to the referenced entity in the model.
2982
3013
  *
@@ -2997,23 +3028,8 @@ sap.ui.define([
2997
3028
  *
2998
3029
  * Also see {@link topic:91f05e8b6f4d1014b6dd926db0e91070 Context Binding} in the documentation.
2999
3030
  *
3000
- * @param {object} oBindingInfo
3001
- * An object describing the binding
3002
- * @param {string} oBindingInfo.path
3003
- * Path in the model to bind to, either an absolute path or relative to the binding context for the
3004
- * corresponding model; when the path contains a '&gt;' sign, the string preceding it will override
3005
- * the <code>model</code> property and the remainder after the '&gt;' will be used as binding path
3006
- * @param {string} [oBindingInfo.model]
3007
- * Name of the model to bind against; when <code>undefined</code> or omitted, the default model is used
3008
- * @param {object} [oBindingInfo.parameters=null]
3009
- * Map of additional parameters for this binding; the names and value ranges of the supported parameters
3010
- * depend on the model implementation, they should be documented with the <code>bindContext</code>
3011
- * method of the corresponding model class or with the model specific subclass of
3012
- * <code>sap.ui.model.ContextBinding</code>
3013
- * @param {boolean} [oBindingInfo.suspended=false]
3014
- * Whether the binding should be suspended initially
3015
- * @param {object} [oBindingInfo.events=null]
3016
- * Map of event handler functions keyed by the name of the binding events that they should be attached to
3031
+ * @param {sap.ui.base.ManagedObject.ObjectBindingInfo} oBindingInfo
3032
+ * Binding info
3017
3033
  * @returns {this}
3018
3034
  * Returns <code>this</code> to allow method chaining
3019
3035
  * @public
@@ -3064,7 +3080,7 @@ sap.ui.define([
3064
3080
  /**
3065
3081
  * Create object binding.
3066
3082
  *
3067
- * @param {object} oBindingInfo The bindingInfo object
3083
+ * @param {sap.ui.base.ManagedObject.ObjectBindingInfo} oBindingInfo The bindingInfo object
3068
3084
  * @private
3069
3085
  */
3070
3086
  ManagedObject.prototype._bindObject = function(oBindingInfo) {
@@ -4242,7 +4258,6 @@ sap.ui.define([
4242
4258
  * is called and the method implementation might rely on those conditions.
4243
4259
  *
4244
4260
  * @param {string} sName name of the aggregation to refresh
4245
- * @param {sap.ui.model.ChangeReason} sChangeReason the change reason
4246
4261
  * @protected
4247
4262
  */
4248
4263
  ManagedObject.prototype.refreshAggregation = function(sName) {
@@ -4811,8 +4826,8 @@ sap.ui.define([
4811
4826
  /**
4812
4827
  * Calls a registered listener during propagation
4813
4828
  *
4814
- * @param {string|boolean} sName If set true all listeners will be called.
4815
- * If a name is specified only the listener for this name is called
4829
+ * @param {function} listener
4830
+ * If given, the given function will be called, other wise all propagation listeners will be called.
4816
4831
  * @returns {this} Returns <code>this</code> to allow method chaining
4817
4832
  * @private
4818
4833
  */
@@ -5082,6 +5097,7 @@ sap.ui.define([
5082
5097
 
5083
5098
  // Clone properties (only those with non-default value)
5084
5099
  var aKeys = Object.keys(mProps);
5100
+ var vValue;
5085
5101
  i = aKeys.length;
5086
5102
  while ( i > 0 ) {
5087
5103
  sKey = aKeys[--i];
@@ -5092,7 +5108,12 @@ sap.ui.define([
5092
5108
  if (typeof mProps[sKey] === "string") {
5093
5109
  mSettings[sKey] = escape(mProps[sKey]);
5094
5110
  } else {
5095
- mSettings[sKey] = oProperty.byValue ? deepClone(mProps[sKey]) : mProps[sKey];
5111
+ vValue = oProperty.byValue ? deepClone(mProps[sKey]) : mProps[sKey];
5112
+ if (vValue && typeof vValue === "object" && !Object.isFrozen(vValue)) {
5113
+ //mark objects to not interpret it as bindingInfos
5114
+ vValue[sUI5ObjectMarker] = true;
5115
+ }
5116
+ mSettings[sKey] = vValue;
5096
5117
  }
5097
5118
  }
5098
5119
  }
@@ -73,7 +73,7 @@ function(
73
73
  *
74
74
  *
75
75
  * @author Frank Weigel
76
- * @version 1.96.5
76
+ * @version 1.99.0
77
77
  * @since 0.8.6
78
78
  * @alias sap.ui.base.ManagedObjectMetadata
79
79
  * @extends sap.ui.base.Metadata
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  *
27
27
  * @class Metadata for a class.
28
28
  * @author Frank Weigel
29
- * @version 1.96.5
29
+ * @version 1.99.0
30
30
  * @since 0.8.6
31
31
  * @public
32
32
  * @alias sap.ui.base.Metadata
@@ -131,11 +131,9 @@ sap.ui.define([
131
131
  Metadata.prototype.afterApplySettings = function() {
132
132
  // create the flattened "all" view
133
133
  if ( this._oParent ) {
134
- //this._aAllInterfaces = jQuery.sap.unique(this._oParent._aAllInterfaces.concat(this._aInterfaces));
135
134
  this._aAllPublicMethods = this._oParent._aAllPublicMethods.concat(this._aPublicMethods);
136
135
  this._bInterfacesUnique = false;
137
136
  } else {
138
- //this._aAllInterfaces = this._aInterfaces;
139
137
  this._aAllPublicMethods = this._aPublicMethods;
140
138
  }
141
139
 
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
26
26
  * @class Base class for all SAPUI5 Objects.
27
27
  * @abstract
28
28
  * @author Malte Wedel
29
- * @version 1.96.5
29
+ * @version 1.99.0
30
30
  * @public
31
31
  * @alias sap.ui.base.Object
32
32
  * @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
@@ -59,7 +59,7 @@ sap.ui.define(['./Object'],
59
59
  *
60
60
  * @extends sap.ui.base.Object
61
61
  * @author SAP SE
62
- * @version 1.96.5
62
+ * @version 1.99.0
63
63
  * @alias sap.ui.base.ObjectPool
64
64
  * @public
65
65
  */
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.96.5</version>
9
+ <version>1.99.0</version>
10
10
 
11
11
  <documentation>The SAPUI5 Core Runtime.
12
12
 
@@ -21,24 +21,15 @@
21
21
  <!-- excludes for the all-in-one file -->
22
22
  <packaging xmlns="http://www.sap.com/ui5/buildext/packaging" version="2.0" >
23
23
  <module-infos>
24
- <!--
25
- <raw-module name="jquery.sap.global.js" depends="sap/ui/Device.js,sap/ui/thirdparty/jquery.js,sap/ui/thirdparty/jqueryui/jquery-ui-position.js,sap/ui/thirdparty/URI.js,sap/ui/thirdparty/es6-promise.js,sap/ui/thirdparty/baseuri.js,sap/ui/thirdparty/es6-object-assign.js" />
26
- -->
27
24
  <raw-module name="sap/ui/core/support/trace/EppLib.js" />
28
25
  <raw-module name="sap/ui/core/support/trace/E2eTraceLib.js" depends="sap/ui/core/support/trace/EppLib.js" />
29
26
  <raw-module name="sap/ui/Device.js" />
30
- <raw-module name="sap/ui/thirdparty/baseuri.js" />
31
27
  <raw-module name="sap/ui/thirdparty/blanket.js" requiresTopLevelScope="false" />
32
28
  <raw-module name="sap/ui/thirdparty/bignumber.js" />
33
29
  <raw-module name="sap/ui/thirdparty/caja-html-sanitizer.js" />
34
30
  <raw-module name="sap/ui/thirdparty/crossroads.js" depends="sap/ui/thirdparty/signals.js" />
35
31
  <raw-module name="sap/ui/thirdparty/d3.js" />
36
32
  <raw-module name="sap/ui/thirdparty/datajs.js" />
37
- <raw-module name="sap/ui/thirdparty/es6-object-assign.js" />
38
- <raw-module name="sap/ui/thirdparty/es6-promise.js" />
39
- <raw-module name="sap/ui/thirdparty/es6-shim-nopromise.js" />
40
- <raw-module name="sap/ui/thirdparty/es6-string-methods.js" />
41
- <raw-module name="sap/ui/thirdparty/flexie.js" requiresTopLevelScope="false" />
42
33
  <raw-module name="sap/ui/thirdparty/handlebars.js" />
43
34
  <raw-module name="sap/ui/thirdparty/hasher.js" depends="sap/ui/thirdparty/signals.js" />
44
35
  <raw-module name="sap/ui/thirdparty/IPv6.js" />
@@ -106,8 +97,6 @@
106
97
  <raw-module name="sap/ui/thirdparty/sinon.js" />
107
98
  <raw-module name="sap/ui/thirdparty/sinon-4.js" />
108
99
  <raw-module name="sap/ui/thirdparty/swipe-view.js" requiresTopLevelScope="false" />
109
- <raw-module name="sap/ui/thirdparty/unorm.js" />
110
- <raw-module name="sap/ui/thirdparty/unormdata.js" depends="sap/ui/thirdparty/unorm.js" />
111
100
  <raw-module name="sap/ui/thirdparty/URI.js" />
112
101
  <raw-module name="sap/ui/thirdparty/URITemplate.js" depends="sap/ui/thirdparty/URI.js"/>
113
102
  <raw-module name="sap/ui/thirdparty/vkbeautify.js" />
@@ -138,18 +127,12 @@
138
127
  <exclude name="jquery-ui-position.js" />
139
128
  <exclude name="sap/ui/model/odata/datajs.js" />
140
129
  <!-- Third party libs which should NOT be part of the all-in-one file -->
141
- <exclude name="sap/ui/thirdparty/baseuri.js" />
142
130
  <exclude name="sap/ui/thirdparty/bignumber.js" />
143
131
  <exclude name="sap/ui/thirdparty/blanket.js" />
144
132
  <!-- <exclude name="sap/ui/thirdparty/crossroads.js" /> -->
145
133
  <!-- <exclude name="sap/ui/thirdparty/caja-html-sanitizer.js" /> -->
146
134
  <exclude name="sap/ui/thirdparty/d3.js" />
147
135
  <exclude name="sap/ui/thirdparty/datajs.js" />
148
- <exclude name="sap/ui/thirdparty/es6-object-assign.js" />
149
- <exclude name="sap/ui/thirdparty/es6-promise.js" />
150
- <exclude name="sap/ui/thirdparty/es6-shim-nopromise.js" />
151
- <exclude name="sap/ui/thirdparty/es6-string-methods.js" />
152
- <exclude name="sap/ui/thirdparty/flexie.js" />
153
136
  <exclude name="sap/ui/thirdparty/handlebars.js" />
154
137
  <!-- <exclude name="sap/ui/thirdparty/hasher.js" /> -->
155
138
  <exclude name="sap/ui/thirdparty/IPv6.js" />
@@ -199,8 +182,6 @@
199
182
  <exclude name="sap/ui/thirdparty/sinon-server.js" />
200
183
  <exclude name="sap/ui/thirdparty/sinon.js" />
201
184
  <exclude name="sap/ui/thirdparty/swipe-view.js" />
202
- <exclude name="sap/ui/thirdparty/unorm.js" />
203
- <exclude name="sap/ui/thirdparty/unormdata.js" />
204
185
  <!-- URI is no longer excluded because it's needed in jquery.sap.global and others -->
205
186
  <!-- <exclude name="sap/ui/thirdparty/URI.js" /> -->
206
187
  <exclude name="sap/ui/thirdparty/URITemplate.js" />
@@ -502,15 +483,8 @@
502
483
  <pattern partial="true" otherContent="SAP" explanation="LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.">sap/ui/core/cache/LRUPersistentCache.js</pattern>
503
484
  </lib>
504
485
  <ignore>
505
- <file pattern="sap/ui/thirdparty/baseuri.js" />
506
- <file pattern="sap/ui/thirdparty/es6-object-assign.js" />
507
- <file pattern="sap/ui/thirdparty/es6-shim-nopromise.js" />
508
- <file pattern="sap/ui/thirdparty/es6-promise.js" />
509
- <file pattern="sap/ui/thirdparty/es6-string-methods.js" />
510
- <file pattern="sap/ui/thirdparty/flexie.js" />
511
486
  <file pattern="sap/ui/thirdparty/RequestRecorder.js" />
512
487
  <file pattern="sap/ui/thirdparty/sinon-ie.js" />
513
- <file pattern="sap/ui/thirdparty/unorm*" />
514
488
  </ignore>
515
489
  </thirdparty>
516
490
 
@@ -24,8 +24,8 @@ sap.ui.define([
24
24
 
25
25
  /*
26
26
  * The AppCacheBuster is only aware of resources which are relative to the
27
- * current application or have been registered via:
28
- * - jQuery.sap.registerModulePath
27
+ * current application or have been registered via resource mapping (e.g.
28
+ * sap.ui.loader.config({paths...})}.
29
29
  */
30
30
 
31
31
  // intercept function to avoid usage of cachebuster
@@ -369,8 +369,8 @@ sap.ui.define([
369
369
  fnEnhancedXhrOpen = XMLHttpRequest.prototype.open;
370
370
 
371
371
  // enhance the validateProperty function to intercept URI types
372
- // test via: new sap.ui.commons.Image({src: "acctest/img/Employee.png"}).getSrc()
373
- // new sap.ui.commons.Image({src: "./acctest/../acctest/img/Employee.png"}).getSrc()
372
+ // test via: new sap.m.Image({src: "acctest/img/Employee.png"}).getSrc()
373
+ // new sap.m.Image({src: "./acctest/../acctest/img/Employee.png"}).getSrc()
374
374
  ManagedObject.prototype.validateProperty = function(sPropertyName, oValue) {
375
375
  var oMetadata = this.getMetadata(),
376
376
  oProperty = oMetadata.getProperty(sPropertyName),
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * Provides methods to show or hide a waiting animation covering the whole
39
39
  * page and blocking user interaction.
40
40
  * @namespace
41
- * @version 1.96.5
41
+ * @version 1.99.0
42
42
  * @public
43
43
  * @alias sap.ui.core.BusyIndicator
44
44
  */
@@ -24,7 +24,7 @@ sap.ui.define(['./BlockLayerUtils'], //require of sap/ui/core/library not possib
24
24
  * styling + animation: LocalBusyIndicator.less
25
25
  *
26
26
  * @param {string} sSize either "Large" or "Medium". Other sizes will be mapped to "Medium"
27
- * @returns {DOM.element} the element for the busy indicator
27
+ * @returns {Element} the element for the busy indicator
28
28
  * @private
29
29
  * @ui5-restricted sap.ui.core, sap.chart
30
30
  */
@@ -228,7 +228,7 @@ sap.ui.define([
228
228
  * @extends sap.ui.base.ManagedObject
229
229
  * @abstract
230
230
  * @author SAP SE
231
- * @version 1.96.5
231
+ * @version 1.99.0
232
232
  * @alias sap.ui.core.Component
233
233
  * @since 1.9.2
234
234
  */
@@ -423,11 +423,11 @@ sap.ui.define([
423
423
  * @param {object} mOptions.type Either <code>sap.ui.viewExtension</code>, <code>sap.ui.controllerReplacement</code>, <code>sap.ui.viewReplacement</code>, <code>sap.ui.viewModification</code> or <code>sap.ui.controllerExtension</code>
424
424
  * @param {object} mOptions.name Name of the customizing configuration
425
425
  * @param {object} [mOptions.extensionName] If type <code>sap.ui.viewExtension</code>, the extension name must be provided
426
- * @param {object} oExtInfo Config object containing the view/fragment and extension name
427
426
  * @throws {Error} If 'getExtensionComponent' function is given, but does not return an instance.
428
427
  * @returns {object|undefined} Object containing the customizing config or <code>undefined</code>
429
428
  * @static
430
- * @private ui5-restricted sap.ui.core
429
+ * @private
430
+ * @ui5-restricted sap.ui.core
431
431
  */
432
432
  Component.getCustomizing = function(vObject, mOptions) {
433
433
  var sType = mOptions.type,
@@ -2930,7 +2930,18 @@ sap.ui.define([
2930
2930
  http2 = sap.ui.getCore().getConfiguration().getDepCache(),
2931
2931
  sPreloadName,
2932
2932
  oTransitiveDependencies,
2933
- aLibs;
2933
+ aLibs,
2934
+ errorLogging = function (sPreloadName, bAsync) {
2935
+ return function (e) {
2936
+ var sErrorMessage = "Component-preload for this component does not exist.";
2937
+ Log.warning(
2938
+ "Couldn't preload component from " + sPreloadName + ": " + ((e && e.message) || e),
2939
+ !bAsync ? sErrorMessage : sErrorMessage + " If the component is part of a library or another component, the configuration 'sap.app/embeddedBy' is not maintained. " +
2940
+ " The 'sap.app/embeddedBy' property must be relative path inside the deployment unit (library or component).",
2941
+ "sap.ui.core.Component#preload"
2942
+ );
2943
+ };
2944
+ };
2934
2945
 
2935
2946
  // only load the Component-preload file if the Component module is not yet available
2936
2947
  if ( bComponentPreload && sComponentName != null && !sap.ui.loader._.getModuleState(sController.replace(/\./g, "/") + ".js") ) {
@@ -2945,10 +2956,10 @@ sap.ui.define([
2945
2956
  Array.prototype.push.apply(aLibs, oTransitiveDependencies.dependencies);
2946
2957
 
2947
2958
  // load library preload for every transitive dependency
2948
- return sap.ui.getCore().loadLibraries( aLibs, { preloadOnly: true } );
2959
+ return sap.ui.getCore().loadLibraries( aLibs, { preloadOnly: true } ).catch(errorLogging(oTransitiveDependencies.library, true));
2949
2960
  } else {
2950
2961
  sPreloadName = sController.replace(/\./g, "/") + (http2 ? '-h2-preload.js' : '-preload.js'); // URN
2951
- return sap.ui.loader._.loadJSResourceAsync(sPreloadName, true);
2962
+ return sap.ui.loader._.loadJSResourceAsync(sPreloadName).catch(errorLogging(sPreloadName, true));
2952
2963
  }
2953
2964
  }
2954
2965
 
@@ -2956,7 +2967,7 @@ sap.ui.define([
2956
2967
  sPreloadName = sController + '-preload'; // Module name
2957
2968
  sap.ui.requireSync(sPreloadName.replace(/\./g, "/"));
2958
2969
  } catch (e) {
2959
- Log.warning("couldn't preload component from " + sPreloadName + ": " + ((e && e.message) || e));
2970
+ errorLogging(sPreloadName, false)(e);
2960
2971
  }
2961
2972
  } else if (bAsync) {
2962
2973
  return Promise.resolve();
@@ -3159,11 +3170,21 @@ sap.ui.define([
3159
3170
  collect(oManifest.then(function(oManifest) {
3160
3171
 
3161
3172
  // preload the component only if not embedded in a library
3162
- // if the component is embedded in a lib. we expect a matching dependency in the manifest
3163
- // this way the cascading dependency loading later on will make sure the component itself is available
3173
+ // If the Component controller is not preloaded, the Component.js file is loaded as a single request later on.
3174
+ // This situation should be fixed by the factory caller, so we log it as a warning.
3164
3175
  var pPreload = Promise.resolve();
3165
- if (!oManifest.getEntry("/sap.app/embeddedBy")) {
3166
- pPreload = preload(oManifest.getComponentName(), true);
3176
+ var sEmbeddedBy = oManifest.getEntry("/sap.app/embeddedBy");
3177
+ var sComponentName = oManifest.getComponentName();
3178
+ if (!sEmbeddedBy) {
3179
+ pPreload = preload(sComponentName, true);
3180
+ } else if (!sap.ui.loader._.getModuleState(getControllerModuleName() + ".js")) {
3181
+ Log.warning(
3182
+ "Component '" + sComponentName + "' is defined to be embedded in a library or another component" +
3183
+ "The relatively given preload for the embedding resource was not loaded before hand. " +
3184
+ "Please make sure to load the embedding resource containing this Component before instantiating.",
3185
+ undefined,
3186
+ "sap.ui.core.Component#embeddedBy"
3187
+ );
3167
3188
  }
3168
3189
 
3169
3190
  return pPreload.then(function() {
@@ -3530,6 +3551,7 @@ sap.ui.define([
3530
3551
  *
3531
3552
  * @namespace sap.ui.core.Component.registry
3532
3553
  * @public
3554
+ * @since 1.67
3533
3555
  */
3534
3556
 
3535
3557
  /**
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * See also {@link module:sap/ui/core/ComponentSupport}.
60
60
  *
61
61
  * @extends sap.ui.core.Control
62
- * @version 1.96.5
62
+ * @version 1.99.0
63
63
  *
64
64
  * @public
65
65
  * @alias sap.ui.core.ComponentContainer
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @public
37
37
  * @class
38
38
  * @author SAP SE
39
- * @version 1.96.5
39
+ * @version 1.99.0
40
40
  * @since 1.9.2
41
41
  * @alias sap.ui.core.ComponentMetadata
42
42
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @author SAP SE
98
98
  * @public
99
99
  * @since 1.58.0
100
- * @version 1.96.5
100
+ * @version 1.99.0
101
101
  * @namespace
102
102
  * @alias module:sap/ui/core/ComponentSupport
103
103
  */