@openui5/sap.ui.core 1.106.0 → 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 (307) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/jquery.sap.ui.js +5 -7
  8. package/src/sap/base/util/LoaderExtensions.js +6 -6
  9. package/src/sap/base/util/fetch.js +3 -0
  10. package/src/sap/base/util/mixedFetch.js +1 -1
  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 +3 -3
  53. package/src/sap/ui/Global.js +4 -4
  54. package/src/sap/ui/base/DataType.js +4 -4
  55. package/src/sap/ui/base/Event.js +1 -1
  56. package/src/sap/ui/base/EventProvider.js +1 -1
  57. package/src/sap/ui/base/Interface.js +1 -1
  58. package/src/sap/ui/base/ManagedObject.js +1 -1
  59. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  60. package/src/sap/ui/base/ManagedObjectRegistry.js +4 -3
  61. package/src/sap/ui/base/Metadata.js +1 -1
  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 -1
  65. package/src/sap/ui/core/AppCacheBuster.js +3 -4
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/BusyIndicatorUtils.js +5 -6
  68. package/src/sap/ui/core/CalendarType.js +0 -1
  69. package/src/sap/ui/core/Component.js +12 -10
  70. package/src/sap/ui/core/ComponentContainer.js +6 -5
  71. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  72. package/src/sap/ui/core/ComponentSupport.js +1 -1
  73. package/src/sap/ui/core/Configuration.js +1 -1
  74. package/src/sap/ui/core/Control.js +7 -7
  75. package/src/sap/ui/core/Core.js +31 -304
  76. package/src/sap/ui/core/CustomData.js +1 -1
  77. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  78. package/src/sap/ui/core/Element.js +6 -6
  79. package/src/sap/ui/core/ElementMetadata.js +1 -1
  80. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  81. package/src/sap/ui/core/EventBus.js +1 -1
  82. package/src/sap/ui/core/FocusHandler.js +50 -2
  83. package/src/sap/ui/core/Fragment.js +1 -1
  84. package/src/sap/ui/core/HTML.js +1 -2
  85. package/src/sap/ui/core/History.js +1 -1
  86. package/src/sap/ui/core/Icon.js +1 -2
  87. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  88. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  89. package/src/sap/ui/core/InvisibleMessage.js +1 -2
  90. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  91. package/src/sap/ui/core/InvisibleText.js +5 -5
  92. package/src/sap/ui/core/Item.js +1 -2
  93. package/src/sap/ui/core/LabelEnablement.js +1 -1
  94. package/src/sap/ui/core/LayoutData.js +1 -2
  95. package/src/sap/ui/core/ListItem.js +1 -2
  96. package/src/sap/ui/core/LocalBusyIndicator.js +1 -2
  97. package/src/sap/ui/core/Locale.js +1 -1
  98. package/src/sap/ui/core/LocaleData.js +11 -9
  99. package/src/sap/ui/core/Manifest.js +8 -6
  100. package/src/sap/ui/core/Message.js +4 -6
  101. package/src/sap/ui/core/Popup.js +62 -5
  102. package/src/sap/ui/core/RenderManager.js +7 -5
  103. package/src/sap/ui/core/Renderer.js +5 -4
  104. package/src/sap/ui/core/Rendering.js +251 -0
  105. package/src/sap/ui/core/ResizeHandler.js +1 -1
  106. package/src/sap/ui/core/ScrollBar.js +6 -9
  107. package/src/sap/ui/core/ScrollBarRenderer.js +3 -3
  108. package/src/sap/ui/core/SeparatorItem.js +1 -2
  109. package/src/sap/ui/core/Title.js +1 -2
  110. package/src/sap/ui/core/TooltipBase.js +1 -2
  111. package/src/sap/ui/core/UIArea.js +389 -121
  112. package/src/sap/ui/core/UIComponent.js +1 -2
  113. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  114. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  115. package/src/sap/ui/core/VariantLayoutData.js +1 -2
  116. package/src/sap/ui/core/XMLComposite.js +1 -1
  117. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  118. package/src/sap/ui/core/XMLTemplateProcessor.js +5 -3
  119. package/src/sap/ui/core/cache/CacheManager.js +7 -6
  120. package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -4
  121. package/src/sap/ui/core/date/Islamic.js +4 -4
  122. package/src/sap/ui/core/date/UniversalDate.js +8 -8
  123. package/src/sap/ui/core/date/UniversalDateUtils.js +3 -3
  124. package/src/sap/ui/core/delegate/ItemNavigation.js +5 -5
  125. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  126. package/src/sap/ui/core/dnd/DragAndDrop.js +4 -3
  127. package/src/sap/ui/core/dnd/DragDropBase.js +1 -2
  128. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -2
  129. package/src/sap/ui/core/dnd/DragInfo.js +1 -2
  130. package/src/sap/ui/core/dnd/DropInfo.js +1 -2
  131. package/src/sap/ui/core/format/DateFormat.js +9 -7
  132. package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +0 -1
  133. package/src/sap/ui/core/format/FileSizeFormat.js +4 -3
  134. package/src/sap/ui/core/format/ListFormat.js +4 -3
  135. package/src/sap/ui/core/format/NumberFormat.js +6 -5
  136. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  137. package/src/sap/ui/core/hyphenation/Hyphenation.js +7 -6
  138. package/src/sap/ui/core/library.js +3 -55
  139. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  140. package/src/sap/ui/core/message/Message.js +1 -1
  141. package/src/sap/ui/core/message/MessageManager.js +13 -23
  142. package/src/sap/ui/core/message/MessageParser.js +1 -1
  143. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  144. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  145. package/src/sap/ui/core/mvc/Controller.js +3 -3
  146. package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -3
  147. package/src/sap/ui/core/mvc/HTMLView.js +1 -2
  148. package/src/sap/ui/core/mvc/JSONView.js +1 -2
  149. package/src/sap/ui/core/mvc/JSView.js +1 -2
  150. package/src/sap/ui/core/mvc/TemplateView.js +1 -2
  151. package/src/sap/ui/core/mvc/View.js +21 -20
  152. package/src/sap/ui/core/mvc/ViewType.js +0 -1
  153. package/src/sap/ui/core/mvc/XMLView.js +18 -18
  154. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  155. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  156. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  157. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  158. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  159. package/src/sap/ui/core/routing/async/Target.js +4 -3
  160. package/src/sap/ui/core/rules/Config.support.js +6 -4
  161. package/src/sap/ui/core/rules/CoreHelper.support.js +3 -3
  162. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -2
  163. package/src/sap/ui/core/search/SearchProvider.js +1 -3
  164. package/src/sap/ui/core/service/Service.js +1 -1
  165. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  166. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  167. package/src/sap/ui/core/support/Plugin.js +1 -1
  168. package/src/sap/ui/core/support/Support.js +1 -1
  169. package/src/sap/ui/core/support/ToolsAPI.js +11 -13
  170. package/src/sap/ui/core/support/plugins/ControlTree.js +4 -4
  171. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  172. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  173. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  174. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  175. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  176. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  177. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  178. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +7 -5
  179. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -2
  180. package/src/sap/ui/core/tmpl/DOMElement.js +1 -4
  181. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  182. package/src/sap/ui/core/tmpl/Template.js +1 -2
  183. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -2
  184. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  185. package/src/sap/ui/core/util/Export.js +1 -1
  186. package/src/sap/ui/core/util/ExportCell.js +1 -1
  187. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  188. package/src/sap/ui/core/util/ExportRow.js +1 -1
  189. package/src/sap/ui/core/util/ExportType.js +1 -1
  190. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  191. package/src/sap/ui/core/util/File.js +1 -1
  192. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  193. package/src/sap/ui/core/util/MockServer.js +4 -2
  194. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  195. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  196. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  197. package/src/sap/ui/core/util/serializer/ViewSerializer.js +4 -4
  198. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  199. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  200. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  201. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  202. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  203. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  204. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  205. package/src/sap/ui/debug/ControlTree.js +3 -3
  206. package/src/sap/ui/debug/DebugEnv.js +4 -4
  207. package/src/sap/ui/debug/PropertyList.js +1 -1
  208. package/src/sap/ui/model/ClientModel.js +1 -1
  209. package/src/sap/ui/model/ClientTreeBinding.js +3 -1
  210. package/src/sap/ui/model/CompositeDataState.js +1 -1
  211. package/src/sap/ui/model/CompositeType.js +1 -1
  212. package/src/sap/ui/model/DataState.js +1 -1
  213. package/src/sap/ui/model/MetaModel.js +1 -1
  214. package/src/sap/ui/model/Model.js +1 -1
  215. package/src/sap/ui/model/SelectionModel.js +1 -1
  216. package/src/sap/ui/model/SimpleType.js +1 -1
  217. package/src/sap/ui/model/Sorter.js +22 -17
  218. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  219. package/src/sap/ui/model/TreeBindingAdapter.js +3 -7
  220. package/src/sap/ui/model/Type.js +1 -1
  221. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  222. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +5 -7
  223. package/src/sap/ui/model/json/JSONModel.js +8 -6
  224. package/src/sap/ui/model/message/MessageModel.js +1 -1
  225. package/src/sap/ui/model/odata/ODataAnnotations.js +5 -3
  226. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  227. package/src/sap/ui/model/odata/ODataMetaModel.js +31 -8
  228. package/src/sap/ui/model/odata/ODataMetadata.js +5 -4
  229. package/src/sap/ui/model/odata/ODataModel.js +6 -5
  230. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +0 -1
  231. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  232. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  233. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  234. package/src/sap/ui/model/odata/type/Date.js +1 -1
  235. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  236. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  237. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  238. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  239. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  240. package/src/sap/ui/model/odata/type/Double.js +1 -1
  241. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  242. package/src/sap/ui/model/odata/type/Int.js +1 -1
  243. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  244. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  245. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  246. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  247. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  248. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  249. package/src/sap/ui/model/odata/type/Single.js +1 -1
  250. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  251. package/src/sap/ui/model/odata/type/String.js +1 -1
  252. package/src/sap/ui/model/odata/type/Time.js +1 -1
  253. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  254. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  255. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  256. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +4 -3
  257. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +24 -15
  258. package/src/sap/ui/model/odata/v2/ODataListBinding.js +45 -27
  259. package/src/sap/ui/model/odata/v2/ODataModel.js +94 -36
  260. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +5 -5
  261. package/src/sap/ui/model/odata/v4/Context.js +23 -19
  262. package/src/sap/ui/model/odata/v4/ODataBinding.js +7 -3
  263. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +3 -3
  264. package/src/sap/ui/model/odata/v4/ODataListBinding.js +121 -57
  265. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +11 -11
  266. package/src/sap/ui/model/odata/v4/ODataModel.js +111 -69
  267. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +12 -4
  268. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +2 -2
  269. package/src/sap/ui/model/odata/v4/ODataUtils.js +1 -1
  270. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +41 -29
  271. package/src/sap/ui/model/odata/v4/lib/_Cache.js +59 -20
  272. package/src/sap/ui/model/odata/v4/lib/_Helper.js +135 -4
  273. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +21 -7
  274. package/src/sap/ui/model/resource/ResourceModel.js +7 -6
  275. package/src/sap/ui/model/type/Boolean.js +1 -1
  276. package/src/sap/ui/model/type/Currency.js +1 -1
  277. package/src/sap/ui/model/type/Date.js +1 -1
  278. package/src/sap/ui/model/type/DateInterval.js +1 -1
  279. package/src/sap/ui/model/type/DateTime.js +1 -1
  280. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  281. package/src/sap/ui/model/type/FileSize.js +1 -1
  282. package/src/sap/ui/model/type/Float.js +1 -1
  283. package/src/sap/ui/model/type/Integer.js +1 -1
  284. package/src/sap/ui/model/type/String.js +1 -1
  285. package/src/sap/ui/model/type/Time.js +1 -1
  286. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  287. package/src/sap/ui/model/type/Unit.js +5 -4
  288. package/src/sap/ui/model/xml/XMLModel.js +8 -6
  289. package/src/sap/ui/performance/trace/Interaction.js +1 -1
  290. package/src/sap/ui/qunit/QUnitUtils.js +2 -1
  291. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  292. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  293. package/src/sap/ui/test/Opa.js +7 -5
  294. package/src/sap/ui/test/Opa5.js +9 -15
  295. package/src/sap/ui/test/RecorderHotkeyListener.js +1 -1
  296. package/src/sap/ui/test/TestUtils.js +83 -1
  297. package/src/sap/ui/test/autowaiter/_autoWaiter.js +9 -0
  298. package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +114 -0
  299. package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +99 -0
  300. package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +70 -0
  301. package/src/sap/ui/test/autowaiter/_resourceWaiter.js +3 -12
  302. package/src/sap/ui/test/autowaiter/_utils.js +13 -1
  303. package/src/sap/ui/test/generic/TestBase.js +1 -1
  304. package/src/sap/ui/test/matchers/Ancestor.js +1 -0
  305. package/src/sap/ui/test/matchers/Descendant.js +1 -0
  306. package/src/sap/ui/test/matchers/Sibling.js +1 -0
  307. 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.106.0
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
 
@@ -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.106.0
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.106.0
19
+ * @version 1.107.0
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -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.106.0
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.106.0
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}
@@ -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.106.0
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
@@ -25,7 +25,8 @@ 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,
@@ -46,7 +47,8 @@ function(
46
47
  LoaderExtensions,
47
48
  JSTokenizer,
48
49
  each,
49
- isEmptyObject
50
+ isEmptyObject,
51
+ Configuration
50
52
  ) {
51
53
  "use strict";
52
54
 
@@ -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
@@ -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
  /**
@@ -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
  /**
@@ -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());
@@ -17,10 +17,10 @@ sap.ui.define([
17
17
  "sap/base/Log",
18
18
  "sap/ui/events/KeyCodes",
19
19
  "sap/ui/thirdparty/jquery",
20
- // jQuery custom selectors ":sapFocusable"
21
- "sap/ui/dom/jquery/Selectors"
20
+ "sap/ui/core/Configuration",
21
+ "sap/ui/dom/jquery/Selectors" // jQuery custom selectors ":sapFocusable"
22
22
  ],
23
- function(EventProvider, assert, Log, KeyCodes, jQuery) {
23
+ function(EventProvider, assert, Log, KeyCodes, jQuery, Configuration) {
24
24
  "use strict";
25
25
  /* eslint-disable no-lonely-if */
26
26
 
@@ -81,7 +81,7 @@ sap.ui.define([
81
81
  * @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
82
82
  * @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
83
83
  *
84
- * @version 1.106.0
84
+ * @version 1.107.0
85
85
  * @alias sap.ui.core.delegate.ItemNavigation
86
86
  * @public
87
87
  */
@@ -465,7 +465,7 @@ sap.ui.define([
465
465
  ItemNavigation.prototype.setTableMode = function(bTableMode, bTableList) {
466
466
  this.bTableMode = bTableMode;
467
467
  if (this.oConfiguration === undefined) {
468
- this.oConfiguration = sap.ui.getCore().getConfiguration();
468
+ this.oConfiguration = Configuration;
469
469
  }
470
470
  this.bTableList = bTableMode ? bTableList : false;
471
471
  return this;
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  *
59
59
  * @protected
60
60
  * @alias sap.ui.core.delegate.ScrollEnablement
61
- * @version 1.106.0
61
+ * @version 1.107.0
62
62
  * @author SAP SE
63
63
  */
64
64
  var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
@@ -8,9 +8,10 @@ sap.ui.define([
8
8
  "sap/ui/Device",
9
9
  "sap/ui/core/Element",
10
10
  "../UIArea",
11
- "sap/ui/thirdparty/jquery"
11
+ "sap/ui/thirdparty/jquery",
12
+ "sap/ui/core/Configuration"
12
13
  ],
13
- function(lib, Device, Element, UIArea, jQuery) {
14
+ function(lib, Device, Element, UIArea, jQuery, Configuration) {
14
15
  "use strict";
15
16
 
16
17
  var RelativeDropPosition = lib.dnd.RelativeDropPosition;
@@ -354,7 +355,7 @@ function(lib, Device, Element, UIArea, jQuery) {
354
355
  sRelativePosition = RelativeDropPosition.On;
355
356
  }
356
357
  }
357
- if (sRelativePosition != RelativeDropPosition.On && sap.ui.getCore().getConfiguration().getRTL()) {
358
+ if (sRelativePosition != RelativeDropPosition.On && Configuration.getRTL()) {
358
359
  sRelativePosition = (sRelativePosition == RelativeDropPosition.After) ? RelativeDropPosition.Before : RelativeDropPosition.After;
359
360
  }
360
361
  } else {
@@ -37,12 +37,11 @@ sap.ui.define([
37
37
  *
38
38
  * @extends sap.ui.core.Element
39
39
  * @author SAP SE
40
- * @version 1.106.0
40
+ * @version 1.107.0
41
41
  *
42
42
  * @public
43
43
  * @since 1.52
44
44
  * @alias sap.ui.core.dnd.DragDropBase
45
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
46
45
  */
47
46
  var DragDropBase = Element.extend("sap.ui.core.dnd.DragDropBase", /** @lends sap.ui.core.dnd.DragDropBase.prototype */ {
48
47
  metadata: {
@@ -22,12 +22,11 @@ sap.ui.define(["./DragInfo", "./DropInfo", "sap/base/Log"],
22
22
  * @extends sap.ui.core.dnd.DropInfo
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @public
28
28
  * @since 1.52
29
29
  * @alias sap.ui.core.dnd.DragDropInfo
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var DragDropInfo = DropInfo.extend("sap.ui.core.dnd.DragDropInfo", /** @lends sap.ui.core.dnd.DragDropInfo.prototype */ { metadata: {
33
32
 
@@ -22,12 +22,11 @@ sap.ui.define(["./DragDropBase"],
22
22
  * @extends sap.ui.core.dnd.DragDropBase
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.106.0
25
+ * @version 1.107.0
26
26
  *
27
27
  * @public
28
28
  * @since 1.56
29
29
  * @alias sap.ui.core.dnd.DragInfo
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var DragInfo = DragDropBase.extend("sap.ui.core.dnd.DragInfo", /** @lends sap.ui.core.dnd.DragInfo.prototype */ { metadata: {
33
32
 
@@ -21,12 +21,11 @@ sap.ui.define(["./DragDropBase"],
21
21
  * @extends sap.ui.core.dnd.DragDropBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.106.0
24
+ * @version 1.107.0
25
25
  *
26
26
  * @public
27
27
  * @since 1.56
28
28
  * @alias sap.ui.core.dnd.DropInfo
29
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
30
29
  */
31
30
  var DropInfo = DragDropBase.extend("sap.ui.core.dnd.DropInfo", /** @lends sap.ui.core.dnd.DropInfo.prototype */ { metadata: {
32
31
 
@@ -14,7 +14,8 @@ sap.ui.define([
14
14
  "sap/base/util/deepEqual",
15
15
  "sap/base/strings/formatMessage",
16
16
  "sap/base/Log",
17
- "sap/base/util/extend"
17
+ "sap/base/util/extend",
18
+ "sap/ui/core/Configuration"
18
19
  ],
19
20
  function(
20
21
  CalendarType,
@@ -25,7 +26,8 @@ sap.ui.define([
25
26
  deepEqual,
26
27
  formatMessage,
27
28
  Log,
28
- extend
29
+ extend,
30
+ Configuration
29
31
  ) {
30
32
  "use strict";
31
33
 
@@ -498,7 +500,7 @@ sap.ui.define([
498
500
 
499
501
  // Get Locale and LocaleData to use
500
502
  if (!oLocale) {
501
- oLocale = sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
503
+ oLocale = Configuration.getFormatSettings().getFormatLocale();
502
504
  }
503
505
  oFormat.oLocale = oLocale;
504
506
  oFormat.oLocaleData = LocaleData.getInstance(oLocale);
@@ -522,7 +524,7 @@ sap.ui.define([
522
524
  oFormat.type = oInfo.type;
523
525
 
524
526
  if (!oFormat.oFormatOptions.calendarType) {
525
- oFormat.oFormatOptions.calendarType = sap.ui.getCore().getConfiguration().getCalendarType();
527
+ oFormat.oFormatOptions.calendarType = Configuration.getCalendarType();
526
528
  }
527
529
 
528
530
  if (oFormat.oFormatOptions.firstDayOfWeek === undefined && oFormat.oFormatOptions.minimalDaysInFirstWeek !== undefined
@@ -1927,7 +1929,7 @@ sap.ui.define([
1927
1929
 
1928
1930
  sResult = aBuffer.join("");
1929
1931
 
1930
- if (sap.ui.getCore().getConfiguration().getOriginInfo()) {
1932
+ if (Configuration.getOriginInfo()) {
1931
1933
  // String object is created on purpose and must not be a string literal
1932
1934
  // eslint-disable-next-line no-new-wrappers
1933
1935
  sResult = new String(sResult);
@@ -1983,7 +1985,7 @@ sap.ui.define([
1983
1985
  }
1984
1986
 
1985
1987
  // default the timezone to the local timezone to always enforce the conversion
1986
- sTimezone = sTimezone || sap.ui.getCore().getConfiguration().getTimezone();
1988
+ sTimezone = sTimezone || Configuration.getTimezone();
1987
1989
 
1988
1990
  if (Array.isArray(vJSDate)) {
1989
1991
  if (!this.oFormatOptions.interval) {
@@ -2422,7 +2424,7 @@ sap.ui.define([
2422
2424
  var sCalendarType = this.oFormatOptions.calendarType;
2423
2425
 
2424
2426
  // default the timezone to the local timezone to always enforce the conversion
2425
- sTimezone = sTimezone || sap.ui.getCore().getConfiguration().getTimezone();
2427
+ sTimezone = sTimezone || Configuration.getTimezone();
2426
2428
 
2427
2429
  if (bStrict === undefined) {
2428
2430
  bStrict = this.oFormatOptions.strictParsing;
@@ -15,7 +15,6 @@ sap.ui.define([], function() {
15
15
  * @enum {string}
16
16
  * @public
17
17
  * @since 1.99.0
18
- * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
19
18
  * @alias sap.ui.core.format.DateFormatTimezoneDisplay
20
19
  * @deprecated As of version 1.101, replaced by
21
20
  * <code>DateFormat#getDateTimeWithTimezoneInstance</code> with the <code>showDate</code>,
@@ -9,9 +9,10 @@ sap.ui.define([
9
9
  'sap/ui/base/Object',
10
10
  'sap/ui/core/Locale',
11
11
  'sap/ui/core/LocaleData',
12
- 'sap/ui/core/format/NumberFormat'
12
+ 'sap/ui/core/format/NumberFormat',
13
+ 'sap/ui/core/Configuration'
13
14
  ],
14
- function(BaseObject, Locale, LocaleData, NumberFormat) {
15
+ function(BaseObject, Locale, LocaleData, NumberFormat, Configuration) {
15
16
  "use strict";
16
17
 
17
18
 
@@ -96,7 +97,7 @@ sap.ui.define([
96
97
  oFormatOptions = undefined;
97
98
  }
98
99
  if (!oLocale) {
99
- oLocale = sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
100
+ oLocale = Configuration.getFormatSettings().getFormatLocale();
100
101
  }
101
102
  oFormat.oLocale = oLocale;
102
103
  oFormat.oLocaleData = LocaleData.getInstance(oLocale);
@@ -10,9 +10,10 @@ sap.ui.define([
10
10
  'sap/ui/core/LocaleData',
11
11
  "sap/base/Log",
12
12
  "sap/base/util/extend",
13
- "sap/base/util/isEmptyObject"
13
+ "sap/base/util/isEmptyObject",
14
+ "sap/ui/core/Configuration"
14
15
  ],
15
- function(Locale, LocaleData, Log, extend, isEmptyObject) {
16
+ function(Locale, LocaleData, Log, extend, isEmptyObject, Configuration) {
16
17
  "use strict";
17
18
 
18
19
  /**
@@ -66,7 +67,7 @@ sap.ui.define([
66
67
  }
67
68
 
68
69
  if (!oLocale) {
69
- oLocale = sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
70
+ oLocale = Configuration.getFormatSettings().getFormatLocale();
70
71
  }
71
72
  oFormat.oLocale = oLocale;
72
73
  oFormat.oLocaleData = LocaleData.getInstance(oLocale);
@@ -11,10 +11,11 @@ sap.ui.define([
11
11
  'sap/ui/core/LocaleData',
12
12
  'sap/base/Log',
13
13
  'sap/base/assert',
14
- 'sap/base/util/extend'
14
+ 'sap/base/util/extend',
15
+ 'sap/ui/core/Configuration'
15
16
 
16
17
  ],
17
- function(BaseObject, Locale, LocaleData, Log, assert, extend) {
18
+ function(BaseObject, Locale, LocaleData, Log, assert, extend, Configuration) {
18
19
  "use strict";
19
20
 
20
21
 
@@ -880,7 +881,7 @@ sap.ui.define([
880
881
  oFormatOptions = undefined;
881
882
  }
882
883
  if (!oLocale) {
883
- oLocale = sap.ui.getCore().getConfiguration().getFormatSettings().getFormatLocale();
884
+ oLocale = Configuration.getFormatSettings().getFormatLocale();
884
885
  }
885
886
  oFormat.oLocale = oLocale;
886
887
  oFormat.oLocaleData = LocaleData.getInstance(oLocale);
@@ -1631,7 +1632,7 @@ sap.ui.define([
1631
1632
  };
1632
1633
 
1633
1634
  NumberFormat.prototype._addOriginInfo = function(sResult) {
1634
- if (sap.ui.getCore().getConfiguration().getOriginInfo()) {
1635
+ if (Configuration.getOriginInfo()) {
1635
1636
  // String object is created on purpose and must not be a string literal
1636
1637
  // eslint-disable-next-line no-new-wrappers
1637
1638
  sResult = new String(sResult);
@@ -2310,7 +2311,7 @@ sap.ui.define([
2310
2311
  * @returns {boolean}
2311
2312
  */
2312
2313
  function showTrailingCurrencyCode(oFormatOptions) {
2313
- var bShowTrailingCurrencyCodes = sap.ui.getCore().getConfiguration().getFormatSettings().getTrailingCurrencyCode();
2314
+ var bShowTrailingCurrencyCodes = Configuration.getFormatSettings().getTrailingCurrencyCode();
2314
2315
  if (oFormatOptions) {
2315
2316
 
2316
2317
  // overwritten by instance configuration
@@ -11,7 +11,7 @@ sap.ui.define([], function() {
11
11
  * Static collection of utility functions to handle time zone related conversions
12
12
  *
13
13
  * @author SAP SE
14
- * @version 1.106.0
14
+ * @version 1.107.0
15
15
  * @namespace
16
16
  * @alias sap.ui.core.format.TimezoneUtil
17
17
  * @private
@@ -8,12 +8,14 @@ sap.ui.define([
8
8
  "./HyphenationTestingWords",
9
9
  "sap/ui/base/ManagedObject",
10
10
  "sap/base/Log",
11
- "sap/ui/core/Locale"
11
+ "sap/ui/core/Locale",
12
+ "sap/ui/core/Configuration"
12
13
  ], function (
13
14
  HyphenationTestingWords,
14
15
  ManagedObject,
15
16
  Log,
16
- Locale
17
+ Locale,
18
+ Configuration
17
19
  ) {
18
20
  "use strict";
19
21
 
@@ -267,7 +269,7 @@ sap.ui.define([
267
269
  if (sLang) {
268
270
  oLocale = new Locale(sLang);
269
271
  } else {
270
- oLocale = sap.ui.getCore().getConfiguration().getLocale();
272
+ oLocale = Configuration.getLocale();
271
273
  }
272
274
 
273
275
  var sLanguage = oLocale.getLanguage().toLowerCase();
@@ -306,7 +308,7 @@ sap.ui.define([
306
308
  return new Locale(sLang).toString();
307
309
  }
308
310
 
309
- return sap.ui.getCore().getConfiguration().getLocale().toString();
311
+ return Configuration.getLocale().toString();
310
312
  }
311
313
 
312
314
  /**
@@ -398,12 +400,11 @@ sap.ui.define([
398
400
  * @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
399
401
  * @extends sap.ui.base.ManagedObject
400
402
  * @author SAP SE
401
- * @version 1.106.0
403
+ * @version 1.107.0
402
404
  * @hideconstructor
403
405
  * @public
404
406
  * @since 1.60
405
407
  * @alias sap.ui.core.hyphenation.Hyphenation
406
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
407
408
  */
408
409
  var Hyphenation = ManagedObject.extend("sap.ui.core.hyphenation.Hyphenation", {
409
410
  metadata: {