@openui5/sap.ui.core 1.105.1 → 1.107.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 (351) hide show
  1. package/.reuse/dep5 +20 -17
  2. package/THIRDPARTY.txt +31 -21
  3. package/package.json +1 -1
  4. package/src/jquery.sap.dom.js +10 -10
  5. package/src/jquery.sap.global.js +24 -216
  6. package/src/jquery.sap.history.js +1 -1
  7. package/src/jquery.sap.properties.js +2 -2
  8. package/src/jquery.sap.resources.js +1 -1
  9. package/src/jquery.sap.script.js +1 -1
  10. package/src/jquery.sap.storage.js +4 -4
  11. package/src/jquery.sap.ui.js +5 -7
  12. package/src/sap/base/i18n/ResourceBundle.js +7 -11
  13. package/src/sap/base/util/LoaderExtensions.js +6 -6
  14. package/src/sap/base/util/ObjectPath.js +1 -1
  15. package/src/sap/base/util/Properties.js +1 -1
  16. package/src/sap/base/util/fetch.js +8 -10
  17. package/src/sap/base/util/mixedFetch.js +1 -1
  18. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  19. package/src/sap/base/util/restricted/_castArray.js +1 -1
  20. package/src/sap/base/util/restricted/_compact.js +1 -1
  21. package/src/sap/base/util/restricted/_curry.js +1 -1
  22. package/src/sap/base/util/restricted/_debounce.js +1 -1
  23. package/src/sap/base/util/restricted/_difference.js +1 -1
  24. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  25. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  28. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  29. package/src/sap/base/util/restricted/_flatten.js +1 -1
  30. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  31. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  32. package/src/sap/base/util/restricted/_intersection.js +1 -1
  33. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  34. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  36. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  37. package/src/sap/base/util/restricted/_isNil.js +1 -1
  38. package/src/sap/base/util/restricted/_max.js +1 -1
  39. package/src/sap/base/util/restricted/_merge.js +1 -1
  40. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  41. package/src/sap/base/util/restricted/_min.js +1 -1
  42. package/src/sap/base/util/restricted/_omit.js +1 -1
  43. package/src/sap/base/util/restricted/_pick.js +1 -1
  44. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  45. package/src/sap/base/util/restricted/_throttle.js +1 -1
  46. package/src/sap/base/util/restricted/_toArray.js +1 -1
  47. package/src/sap/base/util/restricted/_union.js +1 -1
  48. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  49. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  50. package/src/sap/base/util/restricted/_uniq.js +1 -1
  51. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  52. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  53. package/src/sap/base/util/restricted/_without.js +1 -1
  54. package/src/sap/base/util/restricted/_xor.js +1 -1
  55. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  56. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  57. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  58. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  59. package/src/sap/base/util/syncFetch.js +9 -16
  60. package/src/sap/ui/Device.js +3 -3
  61. package/src/sap/ui/Global.js +7 -14
  62. package/src/sap/ui/VersionInfo.js +57 -54
  63. package/src/sap/ui/base/BindingInfo.js +198 -0
  64. package/src/sap/ui/base/DataType.js +5 -5
  65. package/src/sap/ui/base/Event.js +2 -2
  66. package/src/sap/ui/base/EventProvider.js +2 -2
  67. package/src/sap/ui/base/Interface.js +1 -1
  68. package/src/sap/ui/base/ManagedObject.js +209 -979
  69. package/src/sap/ui/base/ManagedObjectMetadata.js +6 -6
  70. package/src/sap/ui/base/ManagedObjectRegistry.js +4 -3
  71. package/src/sap/ui/base/Metadata.js +1 -1
  72. package/src/sap/ui/base/Object.js +1 -1
  73. package/src/sap/ui/base/ObjectPool.js +1 -1
  74. package/src/sap/ui/core/.library +13 -9
  75. package/src/sap/ui/core/AppCacheBuster.js +3 -4
  76. package/src/sap/ui/core/BusyIndicator.js +1 -1
  77. package/src/sap/ui/core/BusyIndicatorUtils.js +5 -6
  78. package/src/sap/ui/core/CalendarType.js +0 -1
  79. package/src/sap/ui/core/Component.js +16 -14
  80. package/src/sap/ui/core/ComponentContainer.js +6 -5
  81. package/src/sap/ui/core/ComponentMetadata.js +5 -12
  82. package/src/sap/ui/core/ComponentSupport.js +1 -1
  83. package/src/sap/ui/core/Configuration.js +525 -336
  84. package/src/sap/ui/core/Control.js +7 -7
  85. package/src/sap/ui/core/Core.js +102 -422
  86. package/src/sap/ui/core/CustomData.js +1 -1
  87. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  88. package/src/sap/ui/core/Element.js +65 -9
  89. package/src/sap/ui/core/ElementMetadata.js +1 -1
  90. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  91. package/src/sap/ui/core/EventBus.js +1 -1
  92. package/src/sap/ui/core/FocusHandler.js +79 -9
  93. package/src/sap/ui/core/Fragment.js +1 -1
  94. package/src/sap/ui/core/HTML.js +1 -2
  95. package/src/sap/ui/core/History.js +1 -1
  96. package/src/sap/ui/core/Icon.js +1 -2
  97. package/src/sap/ui/core/IconPool.js +8 -8
  98. package/src/sap/ui/core/IndicationColorSupport.js +2 -2
  99. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  100. package/src/sap/ui/core/InvisibleMessage.js +1 -2
  101. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  102. package/src/sap/ui/core/InvisibleText.js +5 -5
  103. package/src/sap/ui/core/Item.js +1 -2
  104. package/src/sap/ui/core/LabelEnablement.js +1 -1
  105. package/src/sap/ui/core/LayoutData.js +1 -2
  106. package/src/sap/ui/core/ListItem.js +1 -2
  107. package/src/sap/ui/core/LocalBusyIndicator.js +1 -2
  108. package/src/sap/ui/core/Locale.js +1 -1
  109. package/src/sap/ui/core/LocaleData.js +15 -13
  110. package/src/sap/ui/core/Manifest.js +8 -6
  111. package/src/sap/ui/core/Message.js +4 -6
  112. package/src/sap/ui/core/Popup.js +63 -6
  113. package/src/sap/ui/core/RenderManager.js +13 -5
  114. package/src/sap/ui/core/Renderer.js +5 -4
  115. package/src/sap/ui/core/Rendering.js +251 -0
  116. package/src/sap/ui/core/ResizeHandler.js +7 -7
  117. package/src/sap/ui/core/ScrollBar.js +6 -9
  118. package/src/sap/ui/core/ScrollBarRenderer.js +3 -3
  119. package/src/sap/ui/core/SeparatorItem.js +1 -2
  120. package/src/sap/ui/core/Title.js +1 -2
  121. package/src/sap/ui/core/TooltipBase.js +12 -14
  122. package/src/sap/ui/core/UIArea.js +396 -129
  123. package/src/sap/ui/core/UIComponent.js +3 -4
  124. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  125. package/src/sap/ui/core/ValueStateSupport.js +2 -2
  126. package/src/sap/ui/core/VariantLayoutData.js +1 -2
  127. package/src/sap/ui/core/XMLComposite.js +2 -2
  128. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  129. package/src/sap/ui/core/XMLTemplateProcessor.js +12 -10
  130. package/src/sap/ui/core/_ConfigurationProvider.js +187 -0
  131. package/src/sap/ui/core/cache/CacheManager.js +9 -8
  132. package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -4
  133. package/src/sap/ui/core/cldr/es_BO.json +3 -3
  134. package/src/sap/ui/core/cldr/es_CL.json +3 -3
  135. package/src/sap/ui/core/cldr/es_MX.json +3 -3
  136. package/src/sap/ui/core/cldr/es_PE.json +3 -3
  137. package/src/sap/ui/core/cldr/es_UY.json +3 -3
  138. package/src/sap/ui/core/cldr/es_VE.json +2 -2
  139. package/src/sap/ui/core/date/Islamic.js +4 -4
  140. package/src/sap/ui/core/date/UniversalDate.js +8 -8
  141. package/src/sap/ui/core/date/UniversalDateUtils.js +3 -3
  142. package/src/sap/ui/core/delegate/ItemNavigation.js +5 -5
  143. package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -6
  144. package/src/sap/ui/core/dnd/DragAndDrop.js +14 -9
  145. package/src/sap/ui/core/dnd/DragDropBase.js +1 -2
  146. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -2
  147. package/src/sap/ui/core/dnd/DragInfo.js +1 -2
  148. package/src/sap/ui/core/dnd/DropInfo.js +1 -2
  149. package/src/sap/ui/core/format/DateFormat.js +14 -7
  150. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +0 -1
  151. package/src/sap/ui/core/format/FileSizeFormat.js +4 -3
  152. package/src/sap/ui/core/format/ListFormat.js +4 -3
  153. package/src/sap/ui/core/format/NumberFormat.js +7 -6
  154. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  155. package/src/sap/ui/core/hyphenation/Hyphenation.js +7 -6
  156. package/src/sap/ui/core/library.js +3 -55
  157. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  158. package/src/sap/ui/core/message/Message.js +1 -1
  159. package/src/sap/ui/core/message/MessageManager.js +13 -23
  160. package/src/sap/ui/core/message/MessageParser.js +1 -1
  161. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  162. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  163. package/src/sap/ui/core/mvc/Controller.js +8 -3
  164. package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -3
  165. package/src/sap/ui/core/mvc/HTMLView.js +1 -2
  166. package/src/sap/ui/core/mvc/JSONView.js +1 -2
  167. package/src/sap/ui/core/mvc/JSView.js +2 -3
  168. package/src/sap/ui/core/mvc/TemplateView.js +1 -2
  169. package/src/sap/ui/core/mvc/View.js +21 -20
  170. package/src/sap/ui/core/mvc/ViewType.js +0 -1
  171. package/src/sap/ui/core/mvc/XMLView.js +18 -18
  172. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  173. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  174. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  175. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  176. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  177. package/src/sap/ui/core/routing/Router.js +1 -1
  178. package/src/sap/ui/core/routing/async/Target.js +4 -3
  179. package/src/sap/ui/core/rules/App.support.js +11 -13
  180. package/src/sap/ui/core/rules/Config.support.js +19 -17
  181. package/src/sap/ui/core/rules/CoreHelper.support.js +4 -4
  182. package/src/sap/ui/core/rules/Model.support.js +8 -8
  183. package/src/sap/ui/core/rules/Rendering.support.js +1 -1
  184. package/src/sap/ui/core/rules/Theming.support.js +8 -8
  185. package/src/sap/ui/core/rules/View.support.js +9 -9
  186. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -2
  187. package/src/sap/ui/core/search/SearchProvider.js +1 -3
  188. package/src/sap/ui/core/service/Service.js +1 -1
  189. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  190. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  191. package/src/sap/ui/core/support/Hotkeys.js +2 -3
  192. package/src/sap/ui/core/support/Plugin.js +1 -1
  193. package/src/sap/ui/core/support/Support.js +1 -1
  194. package/src/sap/ui/core/support/ToolsAPI.js +11 -13
  195. package/src/sap/ui/core/support/plugins/ControlTree.js +4 -4
  196. package/src/sap/ui/core/support/plugins/Debugging.js +3 -3
  197. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  198. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  199. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  200. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  201. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  202. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  203. package/src/sap/ui/core/support/plugins/ViewInfo.js +2 -2
  204. package/src/sap/ui/core/support/support.html +1 -1
  205. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +10 -8
  206. package/src/sap/ui/core/theming/Parameters.js +8 -15
  207. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -2
  208. package/src/sap/ui/core/tmpl/DOMElement.js +1 -4
  209. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  210. package/src/sap/ui/core/tmpl/Template.js +6 -5
  211. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -2
  212. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  213. package/src/sap/ui/core/util/Export.js +1 -1
  214. package/src/sap/ui/core/util/ExportCell.js +1 -1
  215. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  216. package/src/sap/ui/core/util/ExportRow.js +1 -1
  217. package/src/sap/ui/core/util/ExportType.js +1 -1
  218. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  219. package/src/sap/ui/core/util/File.js +1 -1
  220. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  221. package/src/sap/ui/core/util/MockServer.js +48 -72
  222. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  223. package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +4 -3
  224. package/src/sap/ui/core/util/XMLPreprocessor.js +2 -2
  225. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +1 -1
  226. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  227. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  228. package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
  229. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  230. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  231. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  232. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  233. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  234. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  235. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  236. package/src/sap/ui/debug/ControlTree.js +3 -3
  237. package/src/sap/ui/debug/DebugEnv.js +4 -4
  238. package/src/sap/ui/debug/PropertyList.css +1 -31
  239. package/src/sap/ui/debug/PropertyList.js +6 -250
  240. package/src/sap/ui/dom/getScrollbarSize.js +1 -1
  241. package/src/sap/ui/dom/jquery/control.js +1 -0
  242. package/src/sap/ui/events/jquery/EventSimulation.js +4 -4
  243. package/src/sap/ui/model/ClientModel.js +1 -1
  244. package/src/sap/ui/model/ClientTreeBinding.js +3 -1
  245. package/src/sap/ui/model/CompositeDataState.js +1 -1
  246. package/src/sap/ui/model/CompositeType.js +1 -1
  247. package/src/sap/ui/model/Context.js +3 -0
  248. package/src/sap/ui/model/ContextBinding.js +1 -1
  249. package/src/sap/ui/model/DataState.js +2 -2
  250. package/src/sap/ui/model/ListBinding.js +2 -2
  251. package/src/sap/ui/model/ManagedObjectBindingSupport.js +871 -0
  252. package/src/sap/ui/model/MetaModel.js +1 -1
  253. package/src/sap/ui/model/Model.js +16 -5
  254. package/src/sap/ui/model/SelectionModel.js +1 -1
  255. package/src/sap/ui/model/SimpleType.js +2 -2
  256. package/src/sap/ui/model/Sorter.js +24 -19
  257. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  258. package/src/sap/ui/model/TreeBindingAdapter.js +3 -7
  259. package/src/sap/ui/model/Type.js +1 -1
  260. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  261. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +5 -7
  262. package/src/sap/ui/model/json/JSONModel.js +9 -7
  263. package/src/sap/ui/model/message/MessageModel.js +1 -1
  264. package/src/sap/ui/model/odata/AnnotationHelper.js +4 -4
  265. package/src/sap/ui/model/odata/ODataAnnotations.js +5 -3
  266. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  267. package/src/sap/ui/model/odata/ODataMetaModel.js +10 -10
  268. package/src/sap/ui/model/odata/ODataMetadata.js +5 -4
  269. package/src/sap/ui/model/odata/ODataModel.js +6 -5
  270. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +0 -1
  271. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  272. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  273. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  274. package/src/sap/ui/model/odata/type/Date.js +1 -1
  275. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  276. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  277. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  278. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  279. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  280. package/src/sap/ui/model/odata/type/Double.js +1 -1
  281. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  282. package/src/sap/ui/model/odata/type/Int.js +1 -1
  283. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  284. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  285. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  286. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  287. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  288. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  289. package/src/sap/ui/model/odata/type/Single.js +1 -1
  290. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  291. package/src/sap/ui/model/odata/type/String.js +1 -1
  292. package/src/sap/ui/model/odata/type/Time.js +1 -1
  293. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  294. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  295. package/src/sap/ui/model/odata/v2/Context.js +5 -5
  296. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +4 -3
  297. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +25 -16
  298. package/src/sap/ui/model/odata/v2/ODataListBinding.js +46 -28
  299. package/src/sap/ui/model/odata/v2/ODataModel.js +97 -39
  300. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +5 -5
  301. package/src/sap/ui/model/odata/v4/AnnotationHelper.js +3 -3
  302. package/src/sap/ui/model/odata/v4/Context.js +109 -71
  303. package/src/sap/ui/model/odata/v4/ODataBinding.js +50 -7
  304. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +88 -68
  305. package/src/sap/ui/model/odata/v4/ODataListBinding.js +116 -81
  306. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +23 -20
  307. package/src/sap/ui/model/odata/v4/ODataModel.js +350 -88
  308. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +35 -9
  309. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +15 -9
  310. package/src/sap/ui/model/odata/v4/ODataUtils.js +8 -5
  311. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +45 -33
  312. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +40 -6
  313. package/src/sap/ui/model/odata/v4/lib/_Cache.js +135 -81
  314. package/src/sap/ui/model/odata/v4/lib/_ConcatHelper.js +2 -3
  315. package/src/sap/ui/model/odata/v4/lib/_Helper.js +179 -36
  316. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +2 -3
  317. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +26 -7
  318. package/src/sap/ui/model/resource/ResourceModel.js +8 -7
  319. package/src/sap/ui/model/type/Boolean.js +1 -1
  320. package/src/sap/ui/model/type/Currency.js +2 -2
  321. package/src/sap/ui/model/type/Date.js +1 -1
  322. package/src/sap/ui/model/type/DateInterval.js +1 -1
  323. package/src/sap/ui/model/type/DateTime.js +1 -1
  324. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  325. package/src/sap/ui/model/type/FileSize.js +1 -1
  326. package/src/sap/ui/model/type/Float.js +1 -1
  327. package/src/sap/ui/model/type/Integer.js +1 -1
  328. package/src/sap/ui/model/type/String.js +2 -2
  329. package/src/sap/ui/model/type/Time.js +1 -1
  330. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  331. package/src/sap/ui/model/type/Unit.js +5 -4
  332. package/src/sap/ui/model/xml/XMLModel.js +8 -6
  333. package/src/sap/ui/performance/trace/Interaction.js +1 -1
  334. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  335. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  336. package/src/sap/ui/test/Opa.js +7 -5
  337. package/src/sap/ui/test/Opa5.js +9 -15
  338. package/src/sap/ui/test/OpaBuilder.js +1 -1
  339. package/src/sap/ui/test/RecorderHotkeyListener.js +1 -1
  340. package/src/sap/ui/test/TestUtils.js +83 -1
  341. package/src/sap/ui/test/autowaiter/_autoWaiter.js +9 -0
  342. package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +114 -0
  343. package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +99 -0
  344. package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +70 -0
  345. package/src/sap/ui/test/autowaiter/_resourceWaiter.js +3 -12
  346. package/src/sap/ui/test/autowaiter/_utils.js +13 -1
  347. package/src/sap/ui/test/generic/TestBase.js +1 -1
  348. package/src/sap/ui/test/matchers/Ancestor.js +1 -0
  349. package/src/sap/ui/test/matchers/Descendant.js +1 -0
  350. package/src/sap/ui/test/matchers/Sibling.js +1 -0
  351. package/src/sap/ui/util/Storage.js +1 -1
@@ -54,10 +54,9 @@ sap.ui.define([
54
54
  * @extends sap.ui.core.Component
55
55
  * @abstract
56
56
  * @author SAP SE
57
- * @version 1.105.1
57
+ * @version 1.107.0
58
58
  * @alias sap.ui.core.UIComponent
59
59
  * @since 1.9.2
60
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
61
60
  */
62
61
  var UIComponent = Component.extend("sap.ui.core.UIComponent", /** @lends sap.ui.core.UIComponent.prototype */
63
62
 
@@ -601,7 +600,7 @@ sap.ui.define([
601
600
  * Returns an element by its ID in the context of the component.
602
601
  *
603
602
  * @param {string} sId Component local ID of the element
604
- * @return {sap.ui.core.Element} element by its ID or <code>undefined</code>
603
+ * @return {sap.ui.core.Element|undefined} element by its ID or <code>undefined</code>
605
604
  * @public
606
605
  */
607
606
  UIComponent.prototype.byId = function(sId) {
@@ -629,7 +628,7 @@ sap.ui.define([
629
628
  * <code>null</code> if the ID does not contain a prefix.
630
629
  *
631
630
  * @param {string} sId Prefixed ID
632
- * @return {string} ID without prefix or <code>null</code>
631
+ * @return {string|null} ID without prefix or <code>null</code>
633
632
  * @public
634
633
  * @since 1.39.0
635
634
  */
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
18
18
  * @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
19
19
  * @class
20
20
  * @author SAP SE
21
- * @version 1.105.1
21
+ * @version 1.107.0
22
22
  * @since 1.15.1
23
23
  * @alias sap.ui.core.UIComponentMetadata
24
24
  * @extends sap.ui.core.ComponentMetadata
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for value state support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.105.1
19
+ * @version 1.107.0
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -70,7 +70,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
70
70
  * represents one of these states.
71
71
  *
72
72
  * @param {sap.ui.core.Element|sap.ui.core.ValueState} vValue the Element of which the valueState needs to be checked, or the ValueState explicitly
73
- * @returns {string} the success/warning/error text, if appropriate; otherwise null
73
+ * @returns {string|null} the success/warning/error text, if appropriate; otherwise null
74
74
  *
75
75
  * @public
76
76
  * @name sap.ui.core.ValueStateSupport.getAdditionalText
@@ -20,12 +20,11 @@ sap.ui.define(['./LayoutData', './library'],
20
20
  * @class
21
21
  * Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.105.1
23
+ * @version 1.107.0
24
24
  *
25
25
  * @public
26
26
  * @since 1.9.2
27
27
  * @alias sap.ui.core.VariantLayoutData
28
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
29
28
  */
30
29
  var VariantLayoutData = LayoutData.extend("sap.ui.core.VariantLayoutData", /** @lends sap.ui.core.VariantLayoutData.prototype */ { metadata : {
31
30
 
@@ -146,7 +146,7 @@ sap.ui.define([
146
146
  * @extends sap.ui.core.Control
147
147
  *
148
148
  * @author SAP SE
149
- * @version 1.105.1
149
+ * @version 1.107.0
150
150
  * @since 1.56.0
151
151
  * @alias sap.ui.core.XMLComposite
152
152
  * @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
@@ -231,7 +231,7 @@ sap.ui.define([
231
231
  * May only be used by the implementation of a specific XMLComposite, not by an application using a XMLComposite.
232
232
  *
233
233
  * @param {string} sId XMLComposite-local ID of the inner element
234
- * @returns {sap.ui.core.Element} element by its ID or <code>undefined</code>
234
+ * @returns {sap.ui.core.Element|undefined} element by its ID or <code>undefined</code>
235
235
  * @protected
236
236
  */
237
237
  XMLComposite.prototype.byId = function (sId) {
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} oClassInfo static info to construct the metadata from
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.105.1
33
+ * @version 1.107.0
34
34
  * @since 1.50.0
35
35
  * @alias sap.ui.core.XMLCompositeMetadata
36
36
  * @extends sap.ui.core.ElementMetadata
@@ -8,7 +8,7 @@
8
8
 
9
9
  sap.ui.define([
10
10
  'sap/ui/base/DataType',
11
- 'sap/ui/base/ManagedObject',
11
+ 'sap/ui/base/BindingInfo',
12
12
  'sap/ui/core/CustomData',
13
13
  'sap/ui/core/Component',
14
14
  './mvc/View',
@@ -25,11 +25,12 @@ sap.ui.define([
25
25
  'sap/base/util/LoaderExtensions',
26
26
  'sap/base/util/JSTokenizer',
27
27
  'sap/base/util/each',
28
- 'sap/base/util/isEmptyObject'
28
+ 'sap/base/util/isEmptyObject',
29
+ 'sap/ui/core/Configuration'
29
30
  ],
30
31
  function(
31
32
  DataType,
32
- ManagedObject,
33
+ BindingInfo,
33
34
  CustomData,
34
35
  Component,
35
36
  View,
@@ -46,13 +47,14 @@ function(
46
47
  LoaderExtensions,
47
48
  JSTokenizer,
48
49
  each,
49
- isEmptyObject
50
+ isEmptyObject,
51
+ Configuration
50
52
  ) {
51
53
  "use strict";
52
54
 
53
55
  function parseScalarType(sType, sValue, sName, oContext, oRequireModules) {
54
56
  // check for a binding expression (string)
55
- var oBindingInfo = ManagedObject.bindingParser(sValue, oContext, /*bUnescape*/true,
57
+ var oBindingInfo = BindingInfo.parse(sValue, oContext, /*bUnescape*/true,
56
58
  /*bTolerateFunctionsNotFound*/false, /*bStaticContext*/false, /*bPreferContext*/false,
57
59
  oRequireModules);
58
60
 
@@ -80,7 +82,7 @@ function(
80
82
  }
81
83
 
82
84
  // Note: to avoid double resolution of binding expressions, we have to escape string values once again
83
- return typeof vValue === "string" ? ManagedObject.bindingParser.escape(vValue) : vValue;
85
+ return typeof vValue === "string" ? BindingInfo.escape(vValue) : vValue;
84
86
  }
85
87
 
86
88
  function localName(xmlNode) {
@@ -585,7 +587,7 @@ function(
585
587
  Log.debug("XML processing mode is " + (oView._sProcessingMode || "default") + ".", "", "XMLTemplateProcessor");
586
588
  Log.debug("XML will be processed " + (bAsync ? "asynchronously" : "synchronously") + ".", "", "XMLTemplateProcessor");
587
589
 
588
- var bDesignMode = sap.ui.getCore().getConfiguration().getDesignMode();
590
+ var bDesignMode = Configuration.getDesignMode();
589
591
  if (bDesignMode) {
590
592
  oView._sapui_declarativeSourceInfo = {
591
593
  // the node representing the current control
@@ -1183,7 +1185,7 @@ function(
1183
1185
 
1184
1186
  } else if ((sName === "binding" && !oInfo) || sName === 'objectBindings' ) {
1185
1187
  if (!bStashedControl) {
1186
- var oBindingInfo = ManagedObject.bindingParser(sValue, oView._oContainingView.oController);
1188
+ var oBindingInfo = BindingInfo.parse(sValue, oView._oContainingView.oController);
1187
1189
  // TODO reject complex bindings, types, formatters; enable 'parameters'?
1188
1190
  if (oBindingInfo) {
1189
1191
  mSettings.objectBindings = mSettings.objectBindings || {};
@@ -1255,7 +1257,7 @@ function(
1255
1257
 
1256
1258
  } else if (oInfo && oInfo._iKind === 2 /* MULTIPLE_AGGREGATION */ ) {
1257
1259
  if (!bStashedControl) {
1258
- var oBindingInfo = ManagedObject.bindingParser(sValue, oView._oContainingView.oController, false, false, false, false, oRequireModules);
1260
+ var oBindingInfo = BindingInfo.parse(sValue, oView._oContainingView.oController, false, false, false, false, oRequireModules);
1259
1261
  if ( oBindingInfo ) {
1260
1262
  mSettings[sName] = oBindingInfo;
1261
1263
  } else {
@@ -1758,7 +1760,7 @@ function(
1758
1760
  XMLTemplateProcessor._calculatedModelMapping = function(sBinding, oContext, bAllowMultipleBindings) {
1759
1761
  var oCtx,
1760
1762
  mBinding = {},
1761
- oBinding = ManagedObject.bindingParser(sBinding, oContext);
1763
+ oBinding = BindingInfo.parse(sBinding, oContext);
1762
1764
 
1763
1765
  function checkFormatter(aFragments) {
1764
1766
  // the pattern must be /d,/d,/d
@@ -0,0 +1,187 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ sap.ui.define([
8
+ "sap/base/Log",
9
+ "sap/base/util/syncFetch"
10
+ ], function (Log, syncFetch) {
11
+ "use strict";
12
+
13
+ /*
14
+ * Merged, raw (un-interpreted) configuration data from the following sources
15
+ * (last one wins)
16
+ * <ol>
17
+ * <li>global configuration object <code>window["sap-ui-config"]</code> (could be either a string/url or a configuration object)</li>
18
+ * <li><code>data-sap-ui-config</code> attribute of the bootstrap script tag</li>
19
+ * <li>other <code>data-sap-ui-<i>xyz</i></code> attributes of the bootstrap tag</li>
20
+ * </ol>
21
+ */
22
+ var oCfgData = window["sap-ui-config"] = (function() {
23
+ function normalize(o) {
24
+ for (var i in o) {
25
+ var v = o[i];
26
+ var il = i.toLowerCase();
27
+ if ( !o.hasOwnProperty(il) ) {
28
+ o[il] = v;
29
+ delete o[i];
30
+ }
31
+ }
32
+ return o;
33
+ }
34
+
35
+ function loadExternalConfig(url) {
36
+ var sCfgFile = "sap-ui-config.json",
37
+ config;
38
+
39
+ Log.warning("Loading external bootstrap configuration from \"" + url + "\". This is a design time feature and not for productive usage!");
40
+ if (url !== sCfgFile) {
41
+ Log.warning("The external bootstrap configuration file should be named \"" + sCfgFile + "\"!");
42
+ }
43
+
44
+ try {
45
+ var oSimpleResponse = syncFetch(url, {
46
+ headers: {
47
+ Accept: syncFetch.ContentTypes.JSON
48
+ }
49
+ });
50
+ if (oSimpleResponse.ok) {
51
+ try {
52
+ config = oSimpleResponse.json();
53
+ } catch (error) {
54
+ Log.error("Parsing externalized bootstrap configuration from \"" + url + "\" failed! Reason: " + error + "!");
55
+ }
56
+ } else {
57
+ Log.error("Loading externalized bootstrap configuration from \"" + url + "\" failed! Response: " + oSimpleResponse.status + "!");
58
+ }
59
+ } catch (error) {
60
+ Log.error("Loading externalized bootstrap configuration from \"" + url + "\" failed! Reason: " + error + "!");
61
+ }
62
+
63
+ config = config || {};
64
+ config.__loaded = true; // mark config as 'being loaded', needed to detect sync call
65
+
66
+ return config;
67
+ }
68
+
69
+ function getInfo() {
70
+ function check(oScript, rUrlPattern) {
71
+ var sUrl = oScript && oScript.getAttribute("src");
72
+ var oMatch = rUrlPattern.exec(sUrl);
73
+ if ( oMatch ) {
74
+ return {
75
+ tag: oScript,
76
+ url: sUrl,
77
+ resourceRoot: oMatch[1] || ""
78
+ };
79
+ }
80
+ }
81
+
82
+ var rResources = /^((?:.*\/)?resources\/)/,
83
+ rBootScripts, aScripts, i, oResult;
84
+
85
+ // Prefer script tags which have the sap-ui-bootstrap ID
86
+ // This prevents issues when multiple script tags point to files named
87
+ // "sap-ui-core.js", for example when using the cache buster for UI5 resources
88
+ oResult = check(document.querySelector('SCRIPT[src][id=sap-ui-bootstrap]'), rResources);
89
+
90
+ if ( !oResult ) {
91
+ aScripts = document.querySelectorAll('SCRIPT[src]');
92
+ rBootScripts = /^([^?#]*\/)?(?:sap-ui-(?:core|custom|boot|merged)(?:-[^?#/]*)?|jquery.sap.global|ui5loader(?:-autoconfig)?)\.js(?:[?#]|$)/;
93
+ for ( i = 0; i < aScripts.length; i++ ) {
94
+ oResult = check(aScripts[i], rBootScripts);
95
+ if ( oResult ) {
96
+ break;
97
+ }
98
+ }
99
+ }
100
+
101
+ return oResult || {};
102
+ }
103
+
104
+ var _oBootstrap = getInfo(),
105
+ oScriptTag = _oBootstrap.tag,
106
+ oCfg = window["sap-ui-config"];
107
+
108
+ // load the configuration from an external JSON file
109
+ if (typeof oCfg === "string") {
110
+ oCfg = loadExternalConfig(oCfg);
111
+ }
112
+ oCfg = normalize(oCfg || {});
113
+ oCfg.resourceroots = oCfg.resourceroots || {};
114
+ oCfg.themeroots = oCfg.themeroots || {};
115
+
116
+ // if a script tag has been identified, collect its configuration info
117
+ if ( oScriptTag ) {
118
+ // evaluate the config attribute first - if present
119
+ var sConfig = oScriptTag.getAttribute("data-sap-ui-config");
120
+ if ( sConfig ) {
121
+ try {
122
+ var oParsedConfig;
123
+ try {
124
+ // first try to parse the config as a plain JSON
125
+ oParsedConfig = JSON.parse("{" + sConfig + "}");
126
+ } catch (e) {
127
+ // if the JSON.parse fails, we fall back to the more lenient "new Function" eval for compatibility reasons
128
+ Log.error("JSON.parse on the data-sap-ui-config attribute failed. Please check the config for JSON syntax violations.");
129
+ /*eslint-disable no-new-func */
130
+ oParsedConfig = (new Function("return {" + sConfig + "};"))();
131
+ /*eslint-enable no-new-func */
132
+ }
133
+ Object.assign(oCfg, normalize(oParsedConfig));
134
+ } catch (e) {
135
+ // no log yet, how to report this error?
136
+ Log.error("failed to parse data-sap-ui-config attribute: " + (e.message || e));
137
+ }
138
+ }
139
+
140
+ // merge with any existing "data-sap-ui-" attributes
141
+ for (var i = 0; i < oScriptTag.attributes.length; i++) {
142
+ var attr = oScriptTag.attributes[i];
143
+ var m = attr.name.match(/^data-sap-ui-(.*)$/);
144
+ if ( m ) {
145
+ // the following (deactivated) conversion would implement multi-word names like "resource-roots"
146
+ m = m[1].toLowerCase(); // .replace(/\-([a-z])/g, function(s,w) { return w.toUpperCase(); })
147
+ if ( m === 'resourceroots' ) {
148
+ // merge map entries instead of overwriting map
149
+ Object.assign(oCfg[m], JSON.parse(attr.value));
150
+ } else if ( m === 'theme-roots' ) {
151
+ // merge map entries, but rename to camelCase
152
+ Object.assign(oCfg.themeroots, JSON.parse(attr.value));
153
+ } else if ( m !== 'config' ) {
154
+ oCfg[m] = attr.value;
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ return oCfg;
161
+ }());
162
+
163
+ // evaluate configuration
164
+ oCfgData.loglevel = (function() {
165
+ var m = /(?:\?|&)sap-ui-log(?:L|-l)evel=([^&]*)/.exec(window.location.search);
166
+ return m && m[1];
167
+ }()) || oCfgData.loglevel;
168
+ if ( oCfgData.loglevel ) {
169
+ Log.setLevel(Log.Level[oCfgData.loglevel.toUpperCase()] || parseInt(oCfgData.loglevel));
170
+ } else if (!window["sap-ui-optimized"]) {
171
+ Log.setLevel(Log.Level.DEBUG);
172
+ }
173
+
174
+ function ui5ToRJS(sName) {
175
+ if ( /^jquery\.sap\./.test(sName) ) {
176
+ return sName;
177
+ }
178
+ return sName.replace(/\./g, "/");
179
+ }
180
+
181
+ // take resource roots from configuration
182
+ var paths = {};
183
+ for ( var n in oCfgData["resourceroots"] ) {
184
+ paths[ui5ToRJS(n)] = oCfgData["resourceroots"][n] || ".";
185
+ }
186
+ sap.ui.loader.config({paths: paths});
187
+ });
@@ -10,9 +10,10 @@ sap.ui.define([
10
10
  'sap/ui/Device',
11
11
  "sap/base/Log",
12
12
  "sap/ui/performance/Measurement",
13
- 'sap/ui/performance/trace/Interaction'
13
+ 'sap/ui/performance/trace/Interaction',
14
+ "sap/ui/core/Configuration"
14
15
  ],
15
- function(LRUPersistentCache, CacheManagerNOP, Device, Log, Measurement, Interaction) {
16
+ function(LRUPersistentCache, CacheManagerNOP, Device, Log, Measurement, Interaction, Configuration) {
16
17
  "use strict";
17
18
 
18
19
  /**
@@ -144,11 +145,11 @@ sap.ui.define([
144
145
  /**
145
146
  * Retrieves a value for given key.
146
147
  * @param key the key to retrieve a value for
147
- * @returns {Promise} a promise that would be resolved in case of successful operation or rejected with
148
+ * @returns {Promise<any|undefined>} a promise that would be resolved in case of successful operation or rejected with
148
149
  * value of the error message if the operation fails. It resolves with a value that is either:
149
150
  * <ul>
150
151
  * <li>undefined - the entry does not exist</li>
151
- * <li>any other - the entry exists and value contains the actually one</li>
152
+ * <li>any other - the entry exists and value contains the actual one</li>
152
153
  * </ul>
153
154
  * @public
154
155
  */
@@ -277,7 +278,7 @@ sap.ui.define([
277
278
  var that = this;
278
279
  return Promise.resolve().then(function () {
279
280
  safeClearInstance(that);
280
- sap.ui.getCore().getConfiguration().setUI5CacheOn(false);
281
+ Configuration.setUI5CacheOn(false);
281
282
  });
282
283
  },
283
284
 
@@ -290,10 +291,10 @@ sap.ui.define([
290
291
  _switchOn: function () {
291
292
  var that = this;
292
293
  return Promise.resolve().then(function () {
293
- var oCfg = sap.ui.getCore().getConfiguration();
294
+ var oCfg = Configuration;
294
295
  if (!oCfg.isUI5CacheOn()) {
295
296
  safeClearInstance(that);
296
- sap.ui.getCore().getConfiguration().setUI5CacheOn(true);
297
+ Configuration.setUI5CacheOn(true);
297
298
  }
298
299
  return Promise.resolve();
299
300
  });
@@ -391,7 +392,7 @@ sap.ui.define([
391
392
  iMsrCounter = 0;
392
393
 
393
394
  function isSwitchedOn() {
394
- return sap.ui.getCore().getConfiguration().isUI5CacheOn();
395
+ return Configuration.isUI5CacheOn();
395
396
  }
396
397
 
397
398
  function safeClearInstance(cm) {
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(["sap/base/Log", "sap/ui/performance/Measurement", "sap/ui/Global"],
8
- function(Log, Measurement, Global) {
7
+ sap.ui.define(["sap/base/Log", "sap/ui/performance/Measurement", "sap/ui/Global", "sap/ui/core/Configuration"],
8
+ function(Log, Measurement, Global, Configuration) {
9
9
  "use strict";
10
10
 
11
11
  /**
@@ -926,11 +926,11 @@ sap.ui.define(["sap/base/Log", "sap/ui/performance/Measurement", "sap/ui/Global"
926
926
  }
927
927
 
928
928
  function isSerializationSupportOn() {
929
- return sap.ui.getCore().getConfiguration().isUI5CacheSerializationSupportOn();
929
+ return Configuration.isUI5CacheSerializationSupportOn();
930
930
  }
931
931
 
932
932
  function getExcludedKeys() {
933
- return sap.ui.getCore().getConfiguration().getUI5CacheExcludedKeys();
933
+ return Configuration.getUI5CacheExcludedKeys();
934
934
  }
935
935
 
936
936
  /**
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "d/M/y",
1108
1108
  "yMEd": "E d/M/y",
1109
1109
  "yMM": "M/y",
1110
- "yMMM": "MMMM 'de' y",
1111
- "yMMMd": "d 'de' MMMM 'de' y",
1112
- "yMMMEd": "E, d 'de' MMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
+ "yMMMd": "d MMM y",
1112
+ "yMMMEd": "E, d MMM y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "dd-MM-y",
1108
1108
  "yMEd": "E dd-MM-y",
1109
1109
  "yMM": "M/y",
1110
- "yMMM": "MMMM 'de' y",
1111
- "yMMMd": "d 'de' MMMM 'de' y",
1112
- "yMMMEd": "E, d 'de' MMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
+ "yMMMd": "d MMM y",
1112
+ "yMMMEd": "E, d MMM y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "d/M/y",
1108
1108
  "yMEd": "E, d/M/y",
1109
1109
  "yMM": "MM/y",
1110
- "yMMM": "MMMM 'de' y",
1111
- "yMMMd": "d 'de' MMMM 'de' y",
1112
- "yMMMEd": "EEE, d 'de' MMMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
+ "yMMMd": "d MMM y",
1112
+ "yMMMEd": "EEE, d 'de' MMM 'de' y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "d/M/y",
1108
1108
  "yMEd": "E d/M/y",
1109
1109
  "yMM": "M/y",
1110
- "yMMM": "MMMM 'de' y",
1111
- "yMMMd": "d 'de' MMMM 'de' y",
1112
- "yMMMEd": "E, d 'de' MMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
+ "yMMMd": "d MMM y",
1112
+ "yMMMEd": "E, d MMM y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "d/M/y",
1108
1108
  "yMEd": "E d/M/y",
1109
1109
  "yMM": "M/y",
1110
- "yMMM": "MMMM 'de' y",
1111
- "yMMMd": "d 'de' MMMM 'de' y",
1112
- "yMMMEd": "E, d 'de' MMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
+ "yMMMd": "d MMM y",
1112
+ "yMMMEd": "E, d MMM y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -1107,9 +1107,9 @@
1107
1107
  "yMd": "d/M/y",
1108
1108
  "yMEd": "E d/M/y",
1109
1109
  "yMM": "M/y",
1110
- "yMMM": "MMMM 'de' y",
1110
+ "yMMM": "MMM y",
1111
1111
  "yMMMd": "d MMM y",
1112
- "yMMMEd": "E, d 'de' MMM 'de' y",
1112
+ "yMMMEd": "E, d MMM y",
1113
1113
  "yMMMM": "MMMM 'de' y",
1114
1114
  "yMMMMd": "d 'de' MMMM 'de' y",
1115
1115
  "yMMMMEd": "EEE, d 'de' MMMM 'de' y",
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  // Provides class sap.ui.core.date.Islamic
8
- sap.ui.define(['./UniversalDate', '../CalendarType', 'sap/base/Log', './_Calendars'],
9
- function(UniversalDate, CalendarType, Log, _Calendars) {
8
+ sap.ui.define(['./UniversalDate', '../CalendarType', 'sap/base/Log', './_Calendars', 'sap/ui/core/Configuration'],
9
+ function(UniversalDate, CalendarType, Log, _Calendars, Configuration) {
10
10
  "use strict";
11
11
 
12
12
 
@@ -212,9 +212,9 @@ sap.ui.define(['./UniversalDate', '../CalendarType', 'sap/base/Log', './_Calenda
212
212
 
213
213
  oCustomizationMap = {};
214
214
 
215
- sDateFormat = sap.ui.getCore().getConfiguration().getFormatSettings().getLegacyDateFormat();
215
+ sDateFormat = Configuration.getFormatSettings().getLegacyDateFormat();
216
216
  sDateFormat = _isSupportedIslamicCalendarType(sDateFormat) ? sDateFormat : "A"; // set "A" as a fall-back format always
217
- oCustomizationJSON = sap.ui.getCore().getConfiguration().getFormatSettings().getLegacyDateCalendarCustomizing();
217
+ oCustomizationJSON = Configuration.getFormatSettings().getLegacyDateCalendarCustomizing();
218
218
  oCustomizationJSON = oCustomizationJSON || [];
219
219
 
220
220
 
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  // Provides class sap.ui.core.date.UniversalDate
8
- sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
9
- function(BaseObject, LocaleData, _Calendars) {
8
+ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars', 'sap/ui/core/Configuration'],
9
+ function(BaseObject, LocaleData, _Calendars, Configuration) {
10
10
  "use strict";
11
11
 
12
12
 
@@ -81,7 +81,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
81
81
  }
82
82
 
83
83
  if (!sCalendarType) {
84
- sCalendarType = sap.ui.getCore().getConfiguration().getCalendarType();
84
+ sCalendarType = Configuration.getCalendarType();
85
85
  }
86
86
  clDate = UniversalDate.getClass(sCalendarType);
87
87
  oInstance = Object.create(clDate.prototype);
@@ -99,7 +99,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
99
99
  */
100
100
  UniversalDate.getClass = function(sCalendarType) {
101
101
  if (!sCalendarType) {
102
- sCalendarType = sap.ui.getCore().getConfiguration().getCalendarType();
102
+ sCalendarType = Configuration.getCalendarType();
103
103
  }
104
104
  return _Calendars.get(sCalendarType);
105
105
  };
@@ -271,7 +271,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
271
271
  * @private
272
272
  */
273
273
  UniversalDate.getWeekByDate = function(sCalendarType, iYear, iMonth, iDay, oLocale, oWeekConfig) {
274
- oLocale = oLocale || sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
274
+ oLocale = oLocale || Configuration.getFormatSettings().getFormatLocale();
275
275
  var oLocaleData = LocaleData.getInstance(oLocale);
276
276
  var clDate = this.getClass(sCalendarType);
277
277
  var oFirstDay = getFirstDayOfFirstWeek(clDate, iYear, oLocale, oWeekConfig);
@@ -320,7 +320,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
320
320
  * @private
321
321
  */
322
322
  UniversalDate.getFirstDateOfWeek = function(sCalendarType, iYear, iWeek, oLocale, oWeekConfig) {
323
- oLocale = oLocale || sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
323
+ oLocale = oLocale || Configuration.getFormatSettings().getFormatLocale();
324
324
  var oLocaleData = LocaleData.getInstance(oLocale);
325
325
  var clDate = this.getClass(sCalendarType);
326
326
  var oFirstDay = getFirstDayOfFirstWeek(clDate, iYear, oLocale, oWeekConfig);
@@ -367,7 +367,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
367
367
  * @private
368
368
  */
369
369
  function getFirstDayOfFirstWeek(clDate, iYear, oLocale, oWeekConfig) {
370
- oLocale = oLocale || sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
370
+ oLocale = oLocale || Configuration.getFormatSettings().getFormatLocale();
371
371
  var oLocaleData = LocaleData.getInstance(oLocale);
372
372
  var iMinDays;
373
373
  var iFirstDayOfWeek;
@@ -438,7 +438,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/LocaleData', './_Calendars'],
438
438
  };
439
439
 
440
440
  function getEras(sCalendarType) {
441
- var oLocale = sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale(),
441
+ var oLocale = Configuration.getFormatSettings().getFormatLocale(),
442
442
  oLocaleData = LocaleData.getInstance(oLocale),
443
443
  aEras = mEras[sCalendarType];
444
444
  if (!aEras) {
@@ -4,8 +4,8 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- sap.ui.define(['sap/ui/core/date/UniversalDate', 'sap/ui/core/Locale', 'sap/ui/core/LocaleData', 'sap/base/assert'],
8
- function (UniversalDate, Locale, LocaleData, assert) {
7
+ sap.ui.define(['sap/ui/core/date/UniversalDate', 'sap/ui/core/Locale', 'sap/ui/core/LocaleData', 'sap/base/assert', 'sap/ui/core/Configuration'],
8
+ function (UniversalDate, Locale, LocaleData, assert, Configuration) {
9
9
  "use strict";
10
10
 
11
11
  function clone(oUniversalDate) {
@@ -178,7 +178,7 @@ sap.ui.define(['sap/ui/core/date/UniversalDate', 'sap/ui/core/Locale', 'sap/ui/c
178
178
  */
179
179
  UniversalDateUtils.getWeekStartDate = function (oUniversalDate, sLocale) {
180
180
  var oLocale = sLocale ? new Locale(sLocale)
181
- : sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale(),
181
+ : Configuration.getFormatSettings().getFormatLocale(),
182
182
  oLocaleData = LocaleData.getInstance(oLocale),
183
183
  iFirstDayOfWeek = oLocaleData.getFirstDayOfWeek();
184
184
  oUniversalDate = oUniversalDate ? clone(oUniversalDate) : clone(UniversalDateUtils.createNewUniversalDate());