@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
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.105.1
27
+ * @version 1.107.0
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.CustomData
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class Static class for enabling declarative UI support.
41
41
  *
42
42
  * @author Peter Muessig, Tino Butz
43
- * @version 1.105.1
43
+ * @version 1.107.0
44
44
  * @since 1.7.0
45
45
  * @public
46
46
  * @alias sap.ui.core.DeclarativeSupport
@@ -17,7 +17,8 @@ sap.ui.define([
17
17
  "sap/base/assert",
18
18
  "sap/ui/thirdparty/jquery",
19
19
  "sap/ui/events/F6Navigation",
20
- "./RenderManager"
20
+ "./RenderManager",
21
+ "sap/ui/core/Configuration"
21
22
  ],
22
23
  function(
23
24
  DataType,
@@ -31,7 +32,8 @@ sap.ui.define([
31
32
  assert,
32
33
  jQuery,
33
34
  F6Navigation,
34
- RenderManager
35
+ RenderManager,
36
+ Configuration
35
37
  ) {
36
38
  "use strict";
37
39
 
@@ -126,10 +128,9 @@ sap.ui.define([
126
128
  *
127
129
  * @extends sap.ui.base.ManagedObject
128
130
  * @author SAP SE
129
- * @version 1.105.1
131
+ * @version 1.107.0
130
132
  * @public
131
133
  * @alias sap.ui.core.Element
132
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
133
134
  */
134
135
  var Element = ManagedObject.extend("sap.ui.core.Element", {
135
136
 
@@ -213,7 +214,7 @@ sap.ui.define([
213
214
  } else {
214
215
  var sMsg = "adding element with duplicate id '" + sId + "'";
215
216
  // duplicate ID detected => fail or at least log a warning
216
- if (sap.ui.getCore().getConfiguration().getNoDuplicateIds()) {
217
+ if (Configuration.getNoDuplicateIds()) {
217
218
  Log.error(sMsg);
218
219
  throw new Error("Error: " + sMsg);
219
220
  } else {
@@ -946,7 +947,7 @@ sap.ui.define([
946
947
  * matter where it comes from (be it a string tooltip or the text from a TooltipBase
947
948
  * instance) then they could call {@link #getTooltip_Text} instead.
948
949
  *
949
- * @return {string|sap.ui.core.TooltipBase} The tooltip for this Element.
950
+ * @returns {string|sap.ui.core.TooltipBase|null} The tooltip for this Element or <code>null</code>.
950
951
  * @public
951
952
  */
952
953
  Element.prototype.getTooltip = function() {
@@ -977,7 +978,7 @@ sap.ui.define([
977
978
  * of that object is returned. Otherwise the object itself is returned (either a string
978
979
  * or <code>undefined</code> or <code>null</code>).
979
980
  *
980
- * @returns {string|undefined} Text of the current tooltip or <code>undefined</code> or <code>null</code>
981
+ * @returns {string|undefined|null} Text of the current tooltip or <code>undefined</code> or <code>null</code>
981
982
  * @public
982
983
  */
983
984
  Element.prototype.getTooltip_Text = function() {
@@ -1020,7 +1021,6 @@ sap.ui.define([
1020
1021
  * Contains a single key/value pair of custom data attached to an <code>Element</code>.
1021
1022
  * @public
1022
1023
  * @alias sap.ui.core.CustomData
1023
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
1024
1024
  * @synthetic
1025
1025
  */
1026
1026
  var CustomData = Element.extend("sap.ui.core.CustomData", /** @lends sap.ui.core.CustomData.prototype */ { metadata : {
@@ -1456,7 +1456,7 @@ sap.ui.define([
1456
1456
  * refers to the default model.
1457
1457
  *
1458
1458
  * @param {string} [sModelName=undefined] Name of the model or <code>undefined</code>
1459
- * @return {sap.ui.model.ContextBinding} Context binding for the given model name or <code>undefined</code>
1459
+ * @return {sap.ui.model.ContextBinding|undefined} Context binding for the given model name or <code>undefined</code>
1460
1460
  * @public
1461
1461
  * @function
1462
1462
  */
@@ -1671,6 +1671,62 @@ sap.ui.define([
1671
1671
  }
1672
1672
  };
1673
1673
 
1674
+ /**
1675
+ * Returns the nearest [UI5 Element]{@link sap.ui.core.Element} that wraps the given DOM element.
1676
+ *
1677
+ * A DOM element or a CSS selector is accepted as a given parameter. When a CSS selector is given as parameter, only
1678
+ * the first DOM element that matches the CSS selector is taken to find the nearest UI5 Element that wraps it. When
1679
+ * no UI5 Element can be found, <code>undefined</code> is returned.
1680
+ *
1681
+ * @param {HTMLElement|string} vParam A DOM Element or a CSS selector from which to start the search for the nearest
1682
+ * UI5 Element by traversing up the DOM tree
1683
+ * @param {boolean} [bIncludeRelated=false] Whether the <code>data-sap-ui-related</code> attribute is also accepted
1684
+ * as a selector for a UI5 Element, in addition to <code>data-sap-ui</code>
1685
+ * @returns {sap.ui.core.Element} The UI5 Element that wraps the given DOM element. <code>undefined</code> is
1686
+ * returned when no UI5 Element can be found.
1687
+ * @public
1688
+ * @since 1.106
1689
+ * @throws {DOMException} when an invalid CSS selector is given
1690
+ *
1691
+ */
1692
+ Element.closestTo = function(vParam, bIncludeRelated) {
1693
+ var sSelector = "[data-sap-ui]",
1694
+ oDomRef, sId;
1695
+
1696
+ if (vParam === undefined || vParam === null) {
1697
+ return undefined;
1698
+ }
1699
+
1700
+ if (typeof vParam === "string") {
1701
+ oDomRef = document.querySelector(vParam);
1702
+ } else if (vParam instanceof window.Element){
1703
+ oDomRef = vParam;
1704
+ } else if (vParam.jquery) {
1705
+ oDomRef = vParam[0];
1706
+ Log.error("[FUTURE] Do not call Element.closestTo() with jQuery object as parameter. \
1707
+ The function should be called with either a DOM Element or a CSS selector. \
1708
+ (future error, ignored for now)");
1709
+ } else {
1710
+ throw new TypeError("Element.closestTo accepts either a DOM element or a CSS selector string as parameter, but not '" + vParam + "'");
1711
+ }
1712
+
1713
+ if (bIncludeRelated) {
1714
+ sSelector += ",[data-sap-ui-related]";
1715
+ }
1716
+
1717
+ oDomRef = oDomRef && oDomRef.closest(sSelector);
1718
+
1719
+ if (oDomRef) {
1720
+ if (bIncludeRelated) {
1721
+ sId = oDomRef.getAttribute("data-sap-ui-related");
1722
+ }
1723
+
1724
+ sId = sId || oDomRef.getAttribute("id");
1725
+ }
1726
+
1727
+ return Element.registry.get(sId);
1728
+ };
1729
+
1674
1730
  /**
1675
1731
  * Registry of all <code>sap.ui.core.Element</code>s that currently exist.
1676
1732
  *
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @class
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.107.0
27
27
  * @since 0.8.6
28
28
  * @alias sap.ui.core.ElementMetadata
29
29
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  *
44
44
  * @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
45
45
  * @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
46
- * @version 1.105.1
46
+ * @version 1.107.0
47
47
  * @public
48
48
  * @class
49
49
  * @alias sap.ui.core.EnabledPropagator
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @extends sap.ui.base.Object
32
32
  * @author SAP SE
33
- * @version 1.105.1
33
+ * @version 1.107.0
34
34
  * @public
35
35
  * @since 1.8.0
36
36
  * @alias sap.ui.core.EventBus
@@ -6,20 +6,23 @@
6
6
 
7
7
  // Provides class sap.ui.core.FocusHandler
8
8
  sap.ui.define([
9
+ "../base/EventProvider",
9
10
  "../base/Object",
10
11
  "sap/base/Log",
11
12
  "sap/ui/thirdparty/jquery",
12
- "sap/ui/dom/_ready",
13
- // jQuery Plugin "control"
14
- "sap/ui/dom/jquery/control"
13
+ "sap/ui/dom/_ready"
15
14
  ],
16
- function(BaseObject, Log, jQuery, _ready) {
15
+ function(EventProvider, BaseObject, Log, jQuery, _ready) {
17
16
  "use strict";
18
17
 
19
18
  // Element, Core module references, lazily probed when needed
20
19
  var Element;
21
20
  var Core;
22
21
 
22
+ var oFocusInfoEventProvider = new EventProvider();
23
+ var FOCUS_INFO_EVENT = "focusInfo";
24
+ var oEventData = {};
25
+
23
26
  /**
24
27
  * Constructs an instance of an sap.ui.core.FocusHandler.
25
28
  * Keeps track of the focused element.
@@ -63,16 +66,19 @@ sap.ui.define([
63
66
  * @public
64
67
  */
65
68
  FocusHandler.prototype.getCurrentFocusedControlId = function(){
66
- var aCtrls = null;
69
+ var oControl;
67
70
  try {
68
71
  var $Act = jQuery(document.activeElement);
69
72
  if ($Act.is(":focus")) {
70
- aCtrls = $Act.control();
73
+ if (!Element) {
74
+ Element = sap.ui.require("sap/ui/core/Element");
75
+ }
76
+ oControl = Element && Element.closestTo($Act[0]);
71
77
  }
72
78
  } catch (err) {
73
79
  //escape eslint check for empty block
74
80
  }
75
- return aCtrls && aCtrls.length > 0 ? aCtrls[0].getId() : null;
81
+ return oControl ? oControl.getId() : null;
76
82
  };
77
83
 
78
84
  /**
@@ -153,6 +159,36 @@ sap.ui.define([
153
159
  }
154
160
  };
155
161
 
162
+ /**
163
+ * Adds the given function as an extender of the focus info. The given function will be called within the
164
+ * <code>restoreFocus</code> function before the focus info is forwarded to the corresponding control.
165
+ *
166
+ * @see sap.ui.core.FocusHandler#restoreFocus
167
+ * @param {function} fnFunction The function that will be called to extend the focus info
168
+ * @param {object} oListener An object which is set as "this" context when callin the "fnFunction"
169
+ * @return {sap.ui.core.FocusHandler} The object itself to allow function chaining
170
+ * @private
171
+ */
172
+ FocusHandler.prototype.addFocusInfoExtender = function(fnFunction, oListener) {
173
+ oFocusInfoEventProvider.attachEvent(FOCUS_INFO_EVENT, oEventData, fnFunction, oListener);
174
+ return this;
175
+ };
176
+
177
+ /**
178
+ * Removes the given function from being an extender of the focus info.
179
+ *
180
+ * @param {function} fnFunction The function that will be removed
181
+ * @param {object} oListener An object which is set as "this" context when callin the "fnFunction". Only when
182
+ * the same "oListener" is given as the one that is used to call <code>addFocusInfoExtender</code>, the function
183
+ * can be removed correctly.
184
+ * @return {sap.ui.core.FocusHandler} The object itself to allow function chaining
185
+ * @private
186
+ */
187
+ FocusHandler.prototype.removeFocusInfoExtender = function(fnFunction, oListener) {
188
+ oFocusInfoEventProvider.detachEvent(FOCUS_INFO_EVENT, fnFunction, oListener);
189
+ return this;
190
+ };
191
+
156
192
  /**
157
193
  * Restores the focus to the last known focused control or to the given focusInfo, if possible.
158
194
  *
@@ -175,13 +211,26 @@ sap.ui.define([
175
211
  && oControl.getMetadata().getName() == oInfo.type
176
212
  && (oInfo.patching
177
213
  || (oControl.getFocusDomRef() != oFocusRef
178
- && (oControlFocusInfo || /*!oControlFocusInfo &&*/ oControl !== oInfo.control)))) {
214
+ && (oControlFocusInfo || /*!oControlFocusInfo &&*/ oControl !== oInfo.control || oInfo.preserved)))) {
179
215
  Log.debug("Apply focus info of control " + oInfo.id, null, "sap.ui.core.FocusHandler");
180
216
  oInfo.control = oControl;
181
217
  this.oLastFocusedControlInfo = oInfo;
182
218
  // Do not store dom patch info in the last focused control info
183
219
  delete this.oLastFocusedControlInfo.patching;
184
- oControl.applyFocusInfo(oInfo.info);
220
+
221
+ // expose focus info into the oEventData which is forwarded to the focus info extender
222
+ oEventData.info = oInfo.info;
223
+ oFocusInfoEventProvider.fireEvent(FOCUS_INFO_EVENT, {
224
+ domRef: oControl.getDomRef()
225
+ });
226
+
227
+ oControl.applyFocusInfo(oEventData.info);
228
+
229
+ // oEventData is given to the event handler as event data, thus we can't assign it with a new empty
230
+ // object. We need to clear it by deleting all of its own properties
231
+ Object.keys(oEventData).forEach(function(sKey) {
232
+ delete oEventData[sKey];
233
+ });
185
234
  } else {
186
235
  Log.debug("Apply focus info of control " + oInfo.id + " not possible", null, "sap.ui.core.FocusHandler");
187
236
  }
@@ -302,6 +351,27 @@ sap.ui.define([
302
351
  this.oLast = null;
303
352
  };
304
353
 
354
+ /**
355
+ * Tracks the focus before it is lost during DOM preserving.
356
+ * Called by the RenderManager when a DOM element is moved to the preserved area.
357
+ *
358
+ * If the preserved Element contains the activeElement, the focus is set to the body.
359
+ *
360
+ * In case the currently activeElement is also the last known focus-ref, we need to track
361
+ * this information, so the Focus can correctly restored later on.
362
+ *
363
+ * @param {Element} oCandidate the DOM element that will be preserved
364
+ * @private
365
+ * @ui5-restricted sap.ui.core.RenderManager
366
+ */
367
+ FocusHandler.prototype.trackFocusForPreservedElement = function(oCandidate) {
368
+ if (oCandidate.contains(document.activeElement) &&
369
+ this.oLastFocusedControlInfo && document.activeElement === this.oLastFocusedControlInfo.focusref) {
370
+ // the 'preserved' flag will be read during restoreFocus
371
+ this.oLastFocusedControlInfo.preserved = true;
372
+ }
373
+ };
374
+
305
375
 
306
376
  //***********************************************************
307
377
  // Utility / convenience
@@ -60,7 +60,7 @@ function(
60
60
  * @class
61
61
  * @extends sap.ui.base.ManagedObject
62
62
  * @author SAP SE
63
- * @version 1.105.1
63
+ * @version 1.107.0
64
64
  * @public
65
65
  * @alias sap.ui.core.Fragment
66
66
  */
@@ -44,11 +44,10 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.105.1
47
+ * @version 1.107.0
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.HTML
51
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
52
51
  */
53
52
  var HTML = Control.extend("sap.ui.core.HTML", /** @lends sap.ui.core.HTML.prototype */ {
54
53
  metadata : {
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/ui/util/Storage"],
22
22
  *
23
23
  * @extends sap.ui.base.Object
24
24
  * @author SAP SE
25
- * @version 1.105.1
25
+ * @version 1.107.0
26
26
  * @alias sap.ui.core.History
27
27
  * @protected
28
28
  */
@@ -73,12 +73,11 @@ sap.ui.define([
73
73
  * @implements sap.ui.core.IFormContent
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.105.1
76
+ * @version 1.107.0
77
77
  *
78
78
  * @public
79
79
  * @since 1.11.1
80
80
  * @alias sap.ui.core.Icon
81
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
82
81
  */
83
82
  var Icon = Control.extend("sap.ui.core.Icon", /** @lends sap.ui.core.Icon.prototype */ {
84
83
  metadata : {
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * All properties of the associated constructor can be used. Unknown properties are ignored.
40
40
  * It should contain at least a property named src. If it's given with a string type, it will be taken as the value of src property.
41
41
  * @param {function} constructor The constructor function which is called when the given URI isn't an icon URI
42
- * @return {sap.ui.core.Control} Either an instance of sap.ui.core.Icon or instance created by calling the given constructor
42
+ * @returns {sap.ui.core.Control} Either an instance of <code>sap.ui.core.Icon</code> or instance created by calling the given constructor
43
43
  * @static
44
44
  * @public
45
45
  */
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @param {boolean} [iconInfo.suppressMirroring=false] indicates whether this icon should NOT be mirrored in RTL (right to left) mode.
80
80
  * @param {module:sap/base/i18n/ResourceBundle} [iconInfo.resourceBundle] ResourceBundle to be used for translation. Key format: "Icon.<iconName>".
81
81
  *
82
- * @return {object} the info object of the registered icon which has the name, collection, uri, fontFamily, content and suppressMirroring properties.
82
+ * @returns {{name: string, collection: string, uri: string, fontFamily: string, content: string | string[], suppressMirroring: boolean}} the info object of the registered icon which has the name, collection, uri, fontFamily, content and suppressMirroring properties.
83
83
  * @static
84
84
  * @public
85
85
  * @function
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  *
92
92
  * @param {string} iconName Name of the icon, must not be empty
93
93
  * @param {string} [collectionName] Name of the icon collection; to access built-in icons, omit the collection name
94
- * @return {string} URI of the icon or <code>undefined</code> if the icon can't be found in the IconPool
94
+ * @returns {string|undefined} URI of the icon or <code>undefined</code> if the icon can't be found in the IconPool
95
95
  * @static
96
96
  * @public
97
97
  * @function
@@ -124,7 +124,7 @@ sap.ui.define([
124
124
  * sync - font metadata is loaded synchronously and the icon info is returned immediately
125
125
  * async - a promise is returned that returns the icon info when the font metadata is loaded
126
126
  * mixed - until the font metadata is loaded a promise is returned, afterwards the icon info
127
- * @return {object|Promise|undefined} Info object or Promise for the icon depending on the loadingMode
127
+ * @returns {object|Promise|undefined} Info object or Promise for the icon depending on the loadingMode
128
128
  * or <code>undefined</code> when the icon can't be found or no icon name was given.
129
129
  * @static
130
130
  * @public
@@ -163,7 +163,7 @@ sap.ui.define([
163
163
  * where collectionName and iconName must be non-empty.
164
164
  *
165
165
  * @param {string} uri The URI to check
166
- * @return {boolean} Whether the URI matches the icon URI format
166
+ * @returns {boolean} Whether the URI matches the icon URI format
167
167
  * @static
168
168
  * @public
169
169
  * @function
@@ -173,7 +173,7 @@ sap.ui.define([
173
173
  /**
174
174
  * Returns all names of registered collections in IconPool
175
175
  *
176
- * @return {array} An array contains all of the registered collections' names.
176
+ * @returns {array} An array contains all of the registered collections' names.
177
177
  * @static
178
178
  * @public
179
179
  * @function
@@ -184,7 +184,7 @@ sap.ui.define([
184
184
  * Returns all name of icons that are registered under the given collection.
185
185
  *
186
186
  * @param {string} collectionName the name of collection where icon names are retrieved.
187
- * @return {array} An array contains all of the registered icon names under the given collection.
187
+ * @returns {array} An array contains all of the registered icon names under the given collection.
188
188
  * @static
189
189
  * @public
190
190
  * @function
@@ -307,7 +307,7 @@ sap.ui.define([
307
307
  * Returns the icon url based on the given mime type
308
308
  *
309
309
  * @param {string} sMimeType the mime type of a file (e.g. "application/zip")
310
- * @return {string} the icon url (e.g. "sap-icon://attachment-zip-file")
310
+ * @returns {string} the icon url (e.g. "sap-icon://attachment-zip-file")
311
311
  * @static
312
312
  * @public
313
313
  * @since 1.25.0
@@ -16,7 +16,7 @@ sap.ui.define(['./library'],
16
16
  * Helper functionality for indication color 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.IndicationColorSupport
22
22
  * @since 1.66
@@ -47,7 +47,7 @@ sap.ui.define(['./library'],
47
47
  * represents one of five states.
48
48
  *
49
49
  * @param {sap.ui.core.Element|sap.ui.core.IndicationColor} vValue the Element of which the indicationColor needs to be checked, or the IndicationColor explicitly
50
- * @returns {string} the indication color text, if appropriate; otherwise null
50
+ * @returns {string|null} the indication color text, if appropriate; otherwise <code>null</code>
51
51
  *
52
52
  * @public
53
53
  * @name sap.ui.core.IndicationColorSupport.getAdditionalText
@@ -23,7 +23,7 @@ sap.ui.define(['../base/Object', './EventBus', "sap/base/assert"],
23
23
  *
24
24
  * @extends sap.ui.base.Object
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.107.0
27
27
  * @public
28
28
  * @since 1.11.0
29
29
  * @alias sap.ui.core.IntervalTrigger
@@ -32,12 +32,11 @@ function (coreLibrary, ManagedObject, Log) {
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.105.1
35
+ * @version 1.107.0
36
36
  * @hideconstructor
37
37
  * @public
38
38
  * @since 1.78
39
39
  * @alias sap.ui.core.InvisibleMessage
40
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
41
40
  */
42
41
 
43
42
  var InvisibleMessage = ManagedObject.extend("sap.ui.core.InvisibleMessage", /** @lends sap.ui.core.InvisibleMessage.prototype */ {
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  * Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
13
13
  *
14
14
  * @author SAP SE
15
- * @version 1.105.1
15
+ * @version 1.107.0
16
16
  * @alias module:sap/ui/core/InvisibleRenderer
17
17
  * @since 1.66.0
18
18
  * @protected
@@ -6,11 +6,12 @@
6
6
 
7
7
  // Provides control sap.ui.core.InvisibleText.
8
8
  sap.ui.define([
9
- "./Control",
10
9
  "sap/base/Log",
11
10
  "sap/base/security/encodeXML",
11
+ "./Configuration",
12
+ "./Control",
12
13
  "./library" // ensure loading of CSS
13
- ], function(Control, Log, encodeXML) {
14
+ ], function(Log, encodeXML, Configuration, Control) {
14
15
  "use strict";
15
16
 
16
17
 
@@ -29,12 +30,11 @@ sap.ui.define([
29
30
  * @extends sap.ui.core.Control
30
31
  *
31
32
  * @author SAP SE
32
- * @version 1.105.1
33
+ * @version 1.107.0
33
34
  *
34
35
  * @public
35
36
  * @since 1.27.0
36
37
  * @alias sap.ui.core.InvisibleText
37
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
38
38
  */
39
39
  var InvisibleText = Control.extend("sap.ui.core.InvisibleText", /** @lends sap.ui.core.InvisibleText.prototype */ {
40
40
  metadata : {
@@ -180,7 +180,7 @@ sap.ui.define([
180
180
  InvisibleText.getStaticId = function(sLibrary, sTextKey) {
181
181
  var sTextId = "", sKey, oBundle, oText;
182
182
 
183
- if ( sap.ui.getCore().getConfiguration().getAccessibility() && sTextKey ) {
183
+ if ( Configuration.getAccessibility() && sTextKey ) {
184
184
  // Note: identify by lib and text key, not by text to avoid conflicts after a language change
185
185
  sKey = sLibrary + "|" + sTextKey;
186
186
  sTextId = mTextIds[sKey];
@@ -24,11 +24,10 @@ sap.ui.define(['./Element', './library'],
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.107.0
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.Item
31
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
32
31
  */
33
32
  var Item = Element.extend("sap.ui.core.Item", /** @lends sap.ui.core.Item.prototype */ { metadata : {
34
33
 
@@ -136,7 +136,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
136
136
  * @see sap.ui.core.LabelEnablement#enrich
137
137
  *
138
138
  * @author SAP SE
139
- * @version 1.105.1
139
+ * @version 1.107.0
140
140
  * @protected
141
141
  * @alias sap.ui.core.LabelEnablement
142
142
  * @namespace
@@ -23,11 +23,10 @@ sap.ui.define(['./Element', "sap/ui/thirdparty/jquery", './library'],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.107.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var LayoutData = Element.extend("sap.ui.core.LayoutData", /** @lends sap.ui.core.LayoutData.prototype */ { metadata : {
33
32
 
@@ -23,11 +23,10 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.107.0
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
30
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
31
30
  */
32
31
  var ListItem = Item.extend("sap.ui.core.ListItem", /** @lends sap.ui.core.ListItem.prototype */ { metadata : {
33
32
 
@@ -32,14 +32,13 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.105.1
35
+ * @version 1.107.0
36
36
  *
37
37
  * @public
38
38
  * @since 1.11.0
39
39
  * @deprecated Since version 1.14.2.
40
40
  * The LocalBusyIndicator Control is not needed anymore by the new implementation of the LBI. Hence, it is not used anymore.
41
41
  * @alias sap.ui.core.LocalBusyIndicator
42
- * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
43
42
  */
44
43
  var LocalBusyIndicator = Control.extend("sap.ui.core.LocalBusyIndicator", /** @lends sap.ui.core.LocalBusyIndicator.prototype */ {
45
44
  metadata : {
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
38
38
  *
39
39
  * @extends sap.ui.base.Object
40
40
  * @author SAP SE
41
- * @version 1.105.1
41
+ * @version 1.107.0
42
42
  * @public
43
43
  * @alias sap.ui.core.Locale
44
44
  */