@openui5/sap.ui.core 1.120.31 → 1.120.32

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 (257) 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/sap/base/Event.js +1 -1
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/LanguageTag.js +1 -1
  11. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  12. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  13. package/src/sap/base/util/restricted/_castArray.js +1 -1
  14. package/src/sap/base/util/restricted/_compact.js +1 -1
  15. package/src/sap/base/util/restricted/_curry.js +1 -1
  16. package/src/sap/base/util/restricted/_debounce.js +1 -1
  17. package/src/sap/base/util/restricted/_difference.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_flatten.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_intersection.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isNil.js +1 -1
  32. package/src/sap/base/util/restricted/_max.js +1 -1
  33. package/src/sap/base/util/restricted/_merge.js +1 -1
  34. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  35. package/src/sap/base/util/restricted/_min.js +1 -1
  36. package/src/sap/base/util/restricted/_omit.js +1 -1
  37. package/src/sap/base/util/restricted/_pick.js +1 -1
  38. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  39. package/src/sap/base/util/restricted/_throttle.js +1 -1
  40. package/src/sap/base/util/restricted/_toArray.js +1 -1
  41. package/src/sap/base/util/restricted/_union.js +1 -1
  42. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  43. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  44. package/src/sap/base/util/restricted/_uniq.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  47. package/src/sap/base/util/restricted/_without.js +1 -1
  48. package/src/sap/base/util/restricted/_xor.js +1 -1
  49. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  50. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  53. package/src/sap/ui/Device.js +3 -3
  54. package/src/sap/ui/Global.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/Metadata.js +1 -1
  61. package/src/sap/ui/base/Object.js +1 -1
  62. package/src/sap/ui/base/ObjectPool.js +1 -1
  63. package/src/sap/ui/core/.library +1 -1
  64. package/src/sap/ui/core/BusyIndicator.js +1 -1
  65. package/src/sap/ui/core/Component.js +1 -1
  66. package/src/sap/ui/core/ComponentContainer.js +1 -1
  67. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  68. package/src/sap/ui/core/ComponentSupport.js +1 -1
  69. package/src/sap/ui/core/Configuration.js +1 -1
  70. package/src/sap/ui/core/Control.js +1 -1
  71. package/src/sap/ui/core/Core.js +1 -1
  72. package/src/sap/ui/core/CustomData.js +1 -1
  73. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  74. package/src/sap/ui/core/Element.js +1 -1
  75. package/src/sap/ui/core/ElementMetadata.js +1 -1
  76. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  77. package/src/sap/ui/core/EventBus.js +1 -1
  78. package/src/sap/ui/core/Fragment.js +1 -1
  79. package/src/sap/ui/core/HTML.js +1 -1
  80. package/src/sap/ui/core/History.js +1 -1
  81. package/src/sap/ui/core/Icon.js +1 -1
  82. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  83. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  84. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  85. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  86. package/src/sap/ui/core/InvisibleText.js +1 -1
  87. package/src/sap/ui/core/Item.js +1 -1
  88. package/src/sap/ui/core/LabelEnablement.js +1 -1
  89. package/src/sap/ui/core/LayoutData.js +1 -1
  90. package/src/sap/ui/core/ListItem.js +1 -1
  91. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  92. package/src/sap/ui/core/Locale.js +1 -1
  93. package/src/sap/ui/core/LocaleData.js +1 -1
  94. package/src/sap/ui/core/Manifest.js +1 -1
  95. package/src/sap/ui/core/Message.js +1 -1
  96. package/src/sap/ui/core/Popup.js +1 -47
  97. package/src/sap/ui/core/RenderManager.js +1 -1
  98. package/src/sap/ui/core/Renderer.js +1 -1
  99. package/src/sap/ui/core/ResizeHandler.js +1 -1
  100. package/src/sap/ui/core/ScrollBar.js +1 -1
  101. package/src/sap/ui/core/SeparatorItem.js +1 -1
  102. package/src/sap/ui/core/Title.js +1 -1
  103. package/src/sap/ui/core/TooltipBase.js +1 -1
  104. package/src/sap/ui/core/UIArea.js +1 -1
  105. package/src/sap/ui/core/UIComponent.js +1 -1
  106. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  107. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  108. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  109. package/src/sap/ui/core/XMLComposite.js +1 -1
  110. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  111. package/src/sap/ui/core/date/UI5Date.js +1 -1
  112. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  113. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  114. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  115. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  116. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  117. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  118. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  119. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  120. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  121. package/src/sap/ui/core/library.js +3 -3
  122. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  123. package/src/sap/ui/core/message/Message.js +1 -1
  124. package/src/sap/ui/core/message/MessageManager.js +1 -1
  125. package/src/sap/ui/core/message/MessageParser.js +1 -1
  126. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  127. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  128. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  129. package/src/sap/ui/core/mvc/JSView.js +1 -1
  130. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  131. package/src/sap/ui/core/mvc/View.js +1 -1
  132. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  133. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  134. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  135. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  136. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  137. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  138. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  139. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  140. package/src/sap/ui/core/service/Service.js +1 -1
  141. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  142. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  143. package/src/sap/ui/core/support/Plugin.js +1 -1
  144. package/src/sap/ui/core/support/Support.js +1 -1
  145. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  146. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  147. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  148. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  149. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  150. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  151. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  152. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  153. package/src/sap/ui/core/theming/ThemeManager.js +75 -31
  154. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  155. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  156. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  157. package/src/sap/ui/core/tmpl/Template.js +1 -1
  158. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  159. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  160. package/src/sap/ui/core/util/Export.js +1 -1
  161. package/src/sap/ui/core/util/ExportCell.js +1 -1
  162. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  163. package/src/sap/ui/core/util/ExportRow.js +1 -1
  164. package/src/sap/ui/core/util/ExportType.js +1 -1
  165. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  166. package/src/sap/ui/core/util/File.js +1 -1
  167. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  168. package/src/sap/ui/core/util/MockServer.js +1 -1
  169. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  170. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  171. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  172. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  173. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  174. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  175. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  176. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  177. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  178. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  179. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  180. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  181. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  182. package/src/sap/ui/debug/ControlTree.js +1 -1
  183. package/src/sap/ui/debug/DebugEnv.js +1 -1
  184. package/src/sap/ui/debug/PropertyList.js +1 -1
  185. package/src/sap/ui/events/isMouseEventDelayed.js +6 -12
  186. package/src/sap/ui/model/ClientModel.js +1 -1
  187. package/src/sap/ui/model/CompositeDataState.js +1 -1
  188. package/src/sap/ui/model/CompositeType.js +1 -1
  189. package/src/sap/ui/model/DataState.js +1 -1
  190. package/src/sap/ui/model/MetaModel.js +1 -1
  191. package/src/sap/ui/model/Model.js +1 -1
  192. package/src/sap/ui/model/SelectionModel.js +1 -1
  193. package/src/sap/ui/model/SimpleType.js +1 -1
  194. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  195. package/src/sap/ui/model/Type.js +1 -1
  196. package/src/sap/ui/model/json/JSONModel.js +1 -1
  197. package/src/sap/ui/model/message/MessageModel.js +1 -1
  198. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  199. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  200. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  201. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  202. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  203. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  204. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  205. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  206. package/src/sap/ui/model/odata/type/Date.js +1 -1
  207. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  208. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  209. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  210. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  211. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  212. package/src/sap/ui/model/odata/type/Double.js +1 -1
  213. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  214. package/src/sap/ui/model/odata/type/Int.js +1 -1
  215. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  216. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  217. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  218. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  219. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  220. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  221. package/src/sap/ui/model/odata/type/Single.js +1 -1
  222. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  223. package/src/sap/ui/model/odata/type/String.js +1 -1
  224. package/src/sap/ui/model/odata/type/Time.js +1 -1
  225. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  226. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  227. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  228. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  229. package/src/sap/ui/model/odata/v2/ODataModel.js +18 -14
  230. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  231. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  232. package/src/sap/ui/model/odata/v4/ODataBinding.js +13 -0
  233. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +22 -5
  234. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  235. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  236. package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
  237. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  238. package/src/sap/ui/model/odata/v4/lib/_Cache.js +11 -6
  239. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  240. package/src/sap/ui/model/type/Boolean.js +1 -1
  241. package/src/sap/ui/model/type/Currency.js +1 -1
  242. package/src/sap/ui/model/type/Date.js +1 -1
  243. package/src/sap/ui/model/type/DateInterval.js +1 -1
  244. package/src/sap/ui/model/type/DateTime.js +1 -1
  245. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  246. package/src/sap/ui/model/type/FileSize.js +1 -1
  247. package/src/sap/ui/model/type/Float.js +1 -1
  248. package/src/sap/ui/model/type/Integer.js +1 -1
  249. package/src/sap/ui/model/type/String.js +1 -1
  250. package/src/sap/ui/model/type/Time.js +1 -1
  251. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  252. package/src/sap/ui/model/type/Unit.js +1 -1
  253. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  254. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  255. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  256. package/src/sap/ui/test/generic/TestBase.js +1 -1
  257. package/src/sap/ui/util/Storage.js +1 -1
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/core/Element", "./DragInfo", "./DropInfo", "sap/base/Log"
22
22
  * @extends sap.ui.core.dnd.DropInfo
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.120.31
25
+ * @version 1.120.32
26
26
  *
27
27
  * @public
28
28
  * @since 1.52
@@ -22,7 +22,7 @@ sap.ui.define(["./DragDropBase"],
22
22
  * @extends sap.ui.core.dnd.DragDropBase
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.120.31
25
+ * @version 1.120.32
26
26
  *
27
27
  * @public
28
28
  * @since 1.56
@@ -21,7 +21,7 @@ sap.ui.define(["./DragDropBase"],
21
21
  * @extends sap.ui.core.dnd.DragDropBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.120.31
24
+ * @version 1.120.32
25
25
  *
26
26
  * @public
27
27
  * @since 1.56
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  * Static collection of utility functions to handle time zone related conversions
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.120.31
16
+ * @version 1.120.32
17
17
  * @namespace
18
18
  * @name module:sap/ui/core/format/TimezoneUtils
19
19
  * @private
@@ -16,7 +16,7 @@ sap.ui.define([
16
16
 
17
17
  const BASE_CVERS = Version("1.14");
18
18
 
19
- const VERSION = "1.120.31";
19
+ const VERSION = "1.120.32";
20
20
 
21
21
  var M_COMPAT_FEATURES = {
22
22
  "xx-test" : "1.15", //for testing purposes only
@@ -400,7 +400,7 @@ sap.ui.define([
400
400
  * @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
401
401
  * @extends sap.ui.base.ManagedObject
402
402
  * @author SAP SE
403
- * @version 1.120.31
403
+ * @version 1.120.32
404
404
  * @hideconstructor
405
405
  * @public
406
406
  * @since 1.60
@@ -26,13 +26,13 @@ sap.ui.define([
26
26
  * @namespace
27
27
  * @alias sap.ui.core
28
28
  * @author SAP SE
29
- * @version 1.120.31
29
+ * @version 1.120.32
30
30
  * @since 0.8
31
31
  * @public
32
32
  */
33
33
  var thisLib = Library.init({
34
34
  name: "sap.ui.core",
35
- version: "1.120.31",
35
+ version: "1.120.32",
36
36
  designtime: "sap/ui/core/designtime/library.designtime",
37
37
  // "apiVersion" is still WIP and in 1.120 restricted to the sap.ui.core library only!
38
38
  // TODO: Remove spread operator once UI5 Tooling can validate this new property
@@ -1630,7 +1630,7 @@ sap.ui.define([
1630
1630
  /**
1631
1631
  * Sort order of a column.
1632
1632
  *
1633
- * @version 1.120.31
1633
+ * @version 1.120.32
1634
1634
  * @enum {string}
1635
1635
  * @public
1636
1636
  * @since 1.61.0
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/core/message/MessageProcessor'],
29
29
  * @extends sap.ui.core.message.MessageProcessor
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.31
32
+ * @version 1.120.32
33
33
  *
34
34
  * @public
35
35
  * @alias sap.ui.core.message.ControlMessageProcessor
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  * @extends sap.ui.base.Object
36
36
  *
37
37
  * @author SAP SE
38
- * @version 1.120.31
38
+ * @version 1.120.32
39
39
  *
40
40
  * @param {object} [mParameters] a map which contains the following parameter properties:
41
41
  * @param {string} [mParameters.id] The message id: will be generated if no id is set
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.base.Object
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.120.31
40
+ * @version 1.120.32
41
41
  *
42
42
  * @public
43
43
  * @alias sap.ui.core.message.MessageManager
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/Log"],
17
17
  * @extends sap.ui.base.Object
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.120.31
20
+ * @version 1.120.32
21
21
  * @public
22
22
  * @abstract
23
23
  * @alias sap.ui.core.message.MessageParser
@@ -27,7 +27,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/util/uid"],
27
27
  * @extends sap.ui.base.EventProvider
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.120.31
30
+ * @version 1.120.32
31
31
  *
32
32
  * @public
33
33
  * @alias sap.ui.core.message.MessageProcessor
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.mvc.View
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.120.31
46
+ * @version 1.120.32
47
47
  *
48
48
  * @public
49
49
  * @since 1.9.2
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @class
44
44
  * A View defined using JSON.
45
45
  * @extends sap.ui.core.mvc.View
46
- * @version 1.120.31
46
+ * @version 1.120.32
47
47
  *
48
48
  * @public
49
49
  * @alias sap.ui.core.mvc.JSONView
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [mSettings] initial settings for the new control
28
28
  *
29
29
  * @extends sap.ui.core.mvc.View
30
- * @version 1.120.31
30
+ * @version 1.120.32
31
31
  * @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
32
32
  * by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
33
33
  * creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
29
29
  * @extends sap.ui.core.mvc.View
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.120.31
32
+ * @version 1.120.32
33
33
  *
34
34
  * @public
35
35
  * @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
@@ -142,7 +142,7 @@ sap.ui.define([
142
142
  * The default implementation of this method returns <code>false</code>.
143
143
  *
144
144
  * @extends sap.ui.core.Control
145
- * @version 1.120.31
145
+ * @version 1.120.32
146
146
  *
147
147
  * @public
148
148
  * @alias sap.ui.core.mvc.View
@@ -110,7 +110,7 @@ sap.ui.define([
110
110
  * bound content aggregation. An error will be thrown when the above combination is detected.
111
111
  *
112
112
  * @extends sap.ui.core.mvc.View
113
- * @version 1.120.31
113
+ * @version 1.120.32
114
114
  *
115
115
  * @public
116
116
  * @alias sap.ui.core.mvc.XMLView
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @see sap.ui.core.DeclarativeSupport
22
22
  * @public
23
23
  * @since 1.7.0
24
- * @version 1.120.31
24
+ * @version 1.120.32
25
25
  * @alias sap.ui.core.plugin.DeclarativeSupport
26
26
  * @deprecated since 1.120
27
27
  */
@@ -44,7 +44,7 @@
44
44
  * feature - DO NOT USE IN PRODUCTIVE SCENARIOS!!
45
45
  *
46
46
  * @author Peter Muessig
47
- * @version 1.120.31
47
+ * @version 1.120.32
48
48
  * @private
49
49
  * @alias sap.ui.core.plugin.LessSupport
50
50
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @public
22
22
  * @since 1.15.0
23
23
  * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
24
- * @version 1.120.31
24
+ * @version 1.120.32
25
25
  * @alias sap.ui.core.plugin.TemplatingSupport
26
26
  */
27
27
  var TemplatingSupport = function() {
@@ -36,7 +36,7 @@ function (
36
36
  * @alias sap.ui.core.postmessage.Bus
37
37
  * @author SAP SE
38
38
  * @since 1.56.0
39
- * @version 1.120.31
39
+ * @version 1.120.32
40
40
  * @private
41
41
  * @ui5-restricted sap.ui.core.support, sap.ui.support, sap.ui.rta
42
42
  */
@@ -13,7 +13,7 @@ sap.ui.define(function () {
13
13
  *
14
14
  * @author SAP SE
15
15
  * @since 1.56.0
16
- * @version 1.120.31
16
+ * @version 1.120.32
17
17
  *
18
18
  * @function
19
19
  * @param {string} sMessage - Dialog message
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
29
29
  * @extends sap.ui.core.search.SearchProvider
30
- * @version 1.120.31
30
+ * @version 1.120.32
31
31
  * @deprecated as of version 1.120. There is no API replacement.
32
32
  *
33
33
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
23
23
  *
24
24
  * Do not create instances of this class, but use a concrete subclass instead.
25
25
  * @extends sap.ui.core.Element
26
- * @version 1.120.31
26
+ * @version 1.120.32
27
27
  * @deprecated since 1.120. There is no API replacement.
28
28
  *
29
29
  * @public
@@ -69,7 +69,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert", "sap/base/Log"],
69
69
  *
70
70
  * @extends sap.ui.base.Object
71
71
  * @author SAP SE
72
- * @version 1.120.31
72
+ * @version 1.120.32
73
73
  * @alias sap.ui.core.service.Service
74
74
  * @abstract
75
75
  * @private
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
83
83
  *
84
84
  * @extends sap.ui.base.Object
85
85
  * @author SAP SE
86
- * @version 1.120.31
86
+ * @version 1.120.32
87
87
  * @alias sap.ui.core.service.ServiceFactory
88
88
  * @private
89
89
  * @ui5-restricted sap.ushell
@@ -18,7 +18,7 @@ sap.ui.define(['./ServiceFactory', "sap/base/assert"],
18
18
  * The service factory registry.
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.120.31
21
+ * @version 1.120.32
22
22
  * @alias sap.ui.core.service.ServiceFactoryRegistry
23
23
  * @private
24
24
  * @ui5-restricted sap.ushell
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @abstract
23
23
  * @extends sap.ui.base.Object
24
- * @version 1.120.31
24
+ * @version 1.120.32
25
25
  * @private
26
26
  * @ui5-restricted
27
27
  * @alias sap.ui.core.support.Plugin
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
32
32
  *
33
33
  * @extends sap.ui.base.EventProvider
34
- * @version 1.120.31
34
+ * @version 1.120.32
35
35
  * @private
36
36
  * @alias sap.ui.core.support.Support
37
37
  */
@@ -57,7 +57,7 @@ sap.ui.define([
57
57
  * @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
58
58
  *
59
59
  * @extends sap.ui.core.support.Plugin
60
- * @version 1.120.31
60
+ * @version 1.120.32
61
61
  * @private
62
62
  * @alias sap.ui.core.support.plugins.ControlTree
63
63
  */
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * With this plugIn the performance measurements are displayed
41
41
  *
42
42
  * @extends sap.ui.core.support.Plugin
43
- * @version 1.120.31
43
+ * @version 1.120.32
44
44
  * @private
45
45
  * @alias sap.ui.core.support.plugins.Interaction
46
46
  */
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
15
15
  * @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
16
16
  *
17
17
  * @extends sap.ui.core.support.Plugin
18
- * @version 1.120.31
18
+ * @version 1.120.32
19
19
  * @private
20
20
  * @alias sap.ui.core.support.plugins.LocalStorage
21
21
  */
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * With this plugIn the performance measurements are displayed
57
57
  *
58
58
  * @extends sap.ui.core.support.Plugin
59
- * @version 1.120.31
59
+ * @version 1.120.32
60
60
  * @private
61
61
  * @alias sap.ui.core.support.plugins.Performance
62
62
  */
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
23
23
  *
24
24
  * @extends sap.ui.core.support.Plugin
25
- * @version 1.120.31
25
+ * @version 1.120.32
26
26
  * @private
27
27
  * @alias sap.ui.core.support.plugins.Selector
28
28
  */
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
37
37
  *
38
38
  * @extends sap.ui.core.support.Plugin
39
- * @version 1.120.31
39
+ * @version 1.120.32
40
40
  * @private
41
41
  * @alias sap.ui.core.support.plugins.TechInfo
42
42
  */
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
21
21
  *
22
22
  * @extends sap.ui.core.support.Plugin
23
- * @version 1.120.31
23
+ * @version 1.120.32
24
24
  * @private
25
25
  * @alias sap.ui.core.support.plugins.Trace
26
26
  */
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * Creates an instance of sap.ui.core.support.plugins.ViewInfo.
33
33
  * @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
34
34
  * @extends sap.ui.core.support.Plugin
35
- * @version 1.120.31
35
+ * @version 1.120.32
36
36
  * @private
37
37
  * @deprecated As of version 1.118
38
38
  * @alias sap.ui.core.support.plugins.ViewInfo
@@ -7,9 +7,9 @@
7
7
  // Provides class sap.ui.core.theming.ThemeManager
8
8
  sap.ui.define([
9
9
  "sap/base/assert",
10
+ "sap/base/config",
10
11
  "sap/base/Eventing",
11
12
  "sap/base/Log",
12
- "sap/base/config",
13
13
  "sap/base/i18n/Localization",
14
14
  "sap/base/util/each",
15
15
  "sap/base/util/LoaderExtensions",
@@ -21,9 +21,9 @@ sap.ui.define([
21
21
  "sap/ui/dom/includeStylesheet"
22
22
  ], function(
23
23
  assert,
24
+ BaseConfig,
24
25
  Eventing,
25
26
  Log,
26
- BaseConfig,
27
27
  Localization,
28
28
  each,
29
29
  LoaderExtensions,
@@ -37,17 +37,55 @@ sap.ui.define([
37
37
  "use strict";
38
38
 
39
39
  const oEventing = new Eventing();
40
- var maxThemeCheckCycles = 150;
41
- var mAllLoadedLibraries = {};
42
- var CUSTOMCSSCHECK = /\.sapUiThemeDesignerCustomCss/i;
43
-
44
- var _iCount = 0; // Prevent endless loop
45
- var _CUSTOMID = "sap-ui-core-customcss";
46
- var _customCSSAdded = false;
47
- var _themeCheckedForCustom = null;
48
- var _sFallbackTheme = null;
49
- var _mThemeFallback = {};
50
- var _sThemeCheckId;
40
+ const maxThemeCheckCycles = 150;
41
+ const mAllLoadedLibraries = {};
42
+ const CUSTOMCSSCHECK = /\.sapUiThemeDesignerCustomCss/i;
43
+ const _CUSTOMID = "sap-ui-core-customcss";
44
+ const _THEME_PREFIX = "sap-ui-theme-";
45
+ let bAllPreloadedCssReady = true;
46
+
47
+ // Collect all UI5 relevant CSS files which have been added upfront
48
+ // and add them to UI5 theming lifecycle
49
+ document.querySelectorAll(`link[id^=${_THEME_PREFIX}]`).forEach(function(linkNode) {
50
+ let bPreloadedCssReady = true;
51
+ const sLibId = linkNode.getAttribute("id").replace(_THEME_PREFIX, "");
52
+
53
+ mAllLoadedLibraries[sLibId] = {};
54
+ linkNode.removeAttribute("data-sap-ui-ready");
55
+
56
+ Log.info(`ThemeManager: Preloaded CSS for library ${sLibId} detected: ${linkNode.href}`, undefined, "sap.ui.core.theming.ThemeManager");
57
+
58
+ try {
59
+ bPreloadedCssReady = !!(linkNode.sheet?.href === linkNode.href && linkNode.sheet?.cssRules);
60
+
61
+ if (!bPreloadedCssReady) {
62
+ bAllPreloadedCssReady = bPreloadedCssReady;
63
+ linkNode.addEventListener("load", (oEvent) => {
64
+ const bError = oEvent.type === "error";
65
+ linkNode.setAttribute("data-sap-ui-ready", !bError);
66
+ });
67
+ } else {
68
+ linkNode.setAttribute("data-sap-ui-ready", linkNode.sheet.cssRules.length > 0);
69
+ }
70
+ } catch (e) {
71
+ // If the stylesheet is cross-origin and throws a security error, we can't verify directly
72
+ Log.info("Could not detect ready state of preloaded CSS. Request stylesheet again to verify the response status", undefined, "sap.ui.core.theming.ThemeManager");
73
+
74
+ bAllPreloadedCssReady = false;
75
+
76
+ includeStylesheet({
77
+ url: linkNode.href,
78
+ id: linkNode.getAttribute("id")
79
+ });
80
+ }
81
+ });
82
+
83
+ let _iCount = 0; // Prevent endless loop
84
+ let _customCSSAdded = false;
85
+ let _themeCheckedForCustom = null;
86
+ let _sFallbackTheme = null;
87
+ let _mThemeFallback = {};
88
+ let _sThemeCheckId;
51
89
 
52
90
  /**
53
91
  * Helper class used by the UI5 Core to check whether the themes are applied correctly.
@@ -67,7 +105,7 @@ sap.ui.define([
67
105
  * @private
68
106
  * @ui5-restricted sap.ui.core
69
107
  */
70
- themeLoaded: true,
108
+ themeLoaded: bAllPreloadedCssReady,
71
109
 
72
110
  /**
73
111
  * Trigger ThemeManager
@@ -117,7 +155,10 @@ sap.ui.define([
117
155
  // (e.g. IconPool which includes font files from sap.ui.core base theme)
118
156
  _ensureThemeRoot(sLibName, "base");
119
157
 
120
- mAllLoadedLibraries[sLibName] = oLibThemingInfo;
158
+ // Assume CSS is preloaded in case we detect a link tag with corresponding ID
159
+ const sLinkId = `${sLibName}${oLibThemingInfo.variant ? "-[" + oLibThemingInfo.variant + "]" : ""}`;
160
+ oLibThemingInfo.preloadedCss = oLibThemingInfo.preloadedCss || !!mAllLoadedLibraries[sLinkId];
161
+ mAllLoadedLibraries[sLinkId] = oLibThemingInfo;
121
162
  if (!oLibThemingInfo.preloadedCss) {
122
163
  ThemeManager.includeLibraryTheme(sLibName, oLibThemingInfo.variant, oLibThemingInfo);
123
164
  }
@@ -173,7 +214,7 @@ sap.ui.define([
173
214
  sLibName = sLibName.substring(0, sLibName.indexOf(":"));
174
215
  }
175
216
 
176
- var sLinkId = "sap-ui-theme-" + sLibId;
217
+ var sLinkId = `${_THEME_PREFIX}${sLibId}`;
177
218
  var sSkeletonLinkId = "sap-ui-themeskeleton-" + sLibId;
178
219
  var bCssVariables = /^(true|x|additional)$/i.test(sCssVariablesParam);
179
220
  if (!document.querySelector("LINK[id='" + sLinkId + "']") || (bCssVariables && !document.querySelector("LINK[id='" + sSkeletonLinkId + "']"))) {
@@ -245,7 +286,7 @@ sap.ui.define([
245
286
  */
246
287
  _updateThemeUrls: function(sThemeName, bSuppressFOUC) {
247
288
  // select "our" stylesheets
248
- var oQueryResult = document.querySelectorAll("link[id^=sap-ui-theme-],link[id^=sap-ui-themeskeleton-]");
289
+ var oQueryResult = document.querySelectorAll(`link[id^=${_THEME_PREFIX}],link[id^=sap-ui-themeskeleton-]`);
249
290
 
250
291
  Array.prototype.forEach.call(oQueryResult, function(oHTMLElement) {
251
292
  updateThemeUrl(oHTMLElement, sThemeName, bSuppressFOUC);
@@ -308,8 +349,7 @@ sap.ui.define([
308
349
  }
309
350
 
310
351
  function checkLib(lib) {
311
- var sStyleId = "sap-ui-theme-" + lib;
312
- var currentRes = ThemeHelper.checkAndRemoveStyle({ prefix: "sap-ui-theme-", id: lib });
352
+ var currentRes = ThemeHelper.checkAndRemoveStyle({ prefix: _THEME_PREFIX, id: lib });
313
353
  if (currentRes && document.getElementById("sap-ui-themeskeleton-" + lib)) {
314
354
  // remove also the skeleton if present in the DOM
315
355
  currentRes = ThemeHelper.checkAndRemoveStyle({ prefix: "sap-ui-themeskeleton-", id: lib });
@@ -357,7 +397,7 @@ sap.ui.define([
357
397
  // Collect all libs that failed to load and no fallback has been applied, yet.
358
398
  // The fallback relies on custom theme metadata, so it is not done for standard themes
359
399
  if (!bIsStandardTheme && currentRes && !_mThemeFallback[lib]) {
360
- var oStyle = document.getElementById(sStyleId);
400
+ var oStyle = document.getElementById(`${_THEME_PREFIX}${lib}`);
361
401
  // Check for error marker (data-sap-ui-ready=false) and that there are no rules
362
402
  // to be sure the stylesheet couldn't be loaded at all.
363
403
  // E.g. in case an @import within the stylesheet fails, the error marker will
@@ -389,8 +429,7 @@ sap.ui.define([
389
429
 
390
430
  if (_sFallbackTheme) {
391
431
  aFailedLibs.forEach(function(lib) {
392
- var sStyleId = "sap-ui-theme-" + lib;
393
- var oStyle = document.getElementById(sStyleId);
432
+ const oStyle = document.getElementById(`${_THEME_PREFIX}${lib}`);
394
433
 
395
434
  Log.warning(
396
435
  "ThemeManager: Custom theme '" + sThemeName + "' could not be loaded for library '" + lib + "'. " +
@@ -426,7 +465,7 @@ sap.ui.define([
426
465
  */
427
466
  function checkCustom(lib) {
428
467
 
429
- var cssFile = window.document.getElementById("sap-ui-theme-" + lib);
468
+ var cssFile = window.document.getElementById(`${_THEME_PREFIX}${lib}`);
430
469
 
431
470
  if (!cssFile) {
432
471
  return false;
@@ -593,13 +632,13 @@ sap.ui.define([
593
632
  // this function is also used by "sap.ui.core.theming.ThemeManager" to load a fallback theme for a single library
594
633
  function updateThemeUrl(oLink, sThemeName, bSuppressFOUC) {
595
634
  var sLibName,
596
- iQueryIndex = oLink.href.search(/[?#]/),
597
- sLibFileName,
598
- sQuery,
599
- sStandardLibFilePrefix = "library",
600
- sRTL = Localization.getRTL() ? "-RTL" : "",
601
- sHref,
602
- pos;
635
+ iQueryIndex = oLink.href.search(/[?#]/),
636
+ sLibFileName,
637
+ sQuery,
638
+ sStandardLibFilePrefix = "library",
639
+ sRTL = Localization.getRTL() ? "-RTL" : "",
640
+ sHref,
641
+ pos;
603
642
 
604
643
  // derive lib name from id via regex
605
644
  var mLinkId = /^sap-ui-theme(?:skeleton)?-(.*)$/i.exec(oLink.id);
@@ -607,7 +646,7 @@ sap.ui.define([
607
646
  sLibName = mLinkId[1];
608
647
  } else {
609
648
  // fallback to legacy logic
610
- sLibName = oLink.id.slice(13); // length of "sap-ui-theme-"
649
+ sLibName = oLink.id.slice(_THEME_PREFIX.length);
611
650
  }
612
651
 
613
652
  mAllLoadedLibraries[sLibName] = mAllLoadedLibraries[sLibName] || {};
@@ -692,5 +731,10 @@ sap.ui.define([
692
731
 
693
732
  Theming.registerThemeManager(ThemeManager);
694
733
 
734
+ // Start polling in case preloaded CSS have been detected
735
+ if (!ThemeManager.themeLoaded) {
736
+ ThemeManager.checkThemeApplied();
737
+ }
738
+
695
739
  return ThemeManager;
696
740
  });
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/core/library'],
19
19
  * @class
20
20
  * Represents a DOM attribute of a DOM element.
21
21
  * @extends sap.ui.core.Element
22
- * @version 1.120.31
22
+ * @version 1.120.32
23
23
  *
24
24
  * @public
25
25
  * @since 1.15
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * Represents a DOM element. It allows to use databinding for the properties and nested DOM attributes.
29
29
  * @extends sap.ui.core.Control
30
- * @version 1.120.31
30
+ * @version 1.120.32
31
31
  *
32
32
  * @public
33
33
  * @since 1.15
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.core.tmpl.Template
47
47
  * @abstract
48
48
  * @author SAP SE
49
- * @version 1.120.31
49
+ * @version 1.120.32
50
50
  * @alias sap.ui.core.tmpl.HandlebarsTemplate
51
51
  * @since 1.15
52
52
  * @deprecated as of version 1.56. Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
@@ -54,7 +54,7 @@ function(
54
54
  * @extends sap.ui.base.ManagedObject
55
55
  * @abstract
56
56
  * @author SAP SE
57
- * @version 1.120.31
57
+ * @version 1.120.32
58
58
  * @alias sap.ui.core.tmpl.Template
59
59
  * @since 1.15
60
60
  * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.