@openui5/sap.ui.core 1.111.2 → 1.112.2

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 (274) hide show
  1. package/.dtsgenrc +38 -0
  2. package/package.json +1 -1
  3. package/src/jquery.sap.global.js +4 -1
  4. package/src/jquery.sap.properties.js +1 -1
  5. package/src/jquery.sap.resources.js +1 -1
  6. package/src/jquery.sap.script.js +1 -1
  7. package/src/jquery.sap.storage.js +3 -3
  8. package/src/sap/base/util/deepClone.js +4 -0
  9. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  10. package/src/sap/base/util/restricted/_castArray.js +1 -1
  11. package/src/sap/base/util/restricted/_compact.js +1 -1
  12. package/src/sap/base/util/restricted/_curry.js +1 -1
  13. package/src/sap/base/util/restricted/_debounce.js +1 -1
  14. package/src/sap/base/util/restricted/_difference.js +1 -1
  15. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  16. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  17. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  18. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  20. package/src/sap/base/util/restricted/_flatten.js +1 -1
  21. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_intersection.js +1 -1
  24. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  25. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  26. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  27. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  28. package/src/sap/base/util/restricted/_isNil.js +1 -1
  29. package/src/sap/base/util/restricted/_max.js +1 -1
  30. package/src/sap/base/util/restricted/_merge.js +1 -1
  31. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  32. package/src/sap/base/util/restricted/_min.js +1 -1
  33. package/src/sap/base/util/restricted/_omit.js +1 -1
  34. package/src/sap/base/util/restricted/_pick.js +1 -1
  35. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  36. package/src/sap/base/util/restricted/_throttle.js +1 -1
  37. package/src/sap/base/util/restricted/_toArray.js +1 -1
  38. package/src/sap/base/util/restricted/_union.js +1 -1
  39. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  40. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  41. package/src/sap/base/util/restricted/_uniq.js +1 -1
  42. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  43. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  44. package/src/sap/base/util/restricted/_without.js +1 -1
  45. package/src/sap/base/util/restricted/_xor.js +1 -1
  46. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  47. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  48. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  49. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  50. package/src/sap/ui/Device.js +3 -3
  51. package/src/sap/ui/Global.js +4 -4
  52. package/src/sap/ui/VersionInfo.js +14 -0
  53. package/src/sap/ui/base/Event.js +1 -1
  54. package/src/sap/ui/base/EventProvider.js +1 -1
  55. package/src/sap/ui/base/Interface.js +1 -1
  56. package/src/sap/ui/base/ManagedObject.js +1 -1
  57. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  58. package/src/sap/ui/base/Metadata.js +1 -1
  59. package/src/sap/ui/base/Object.js +1 -1
  60. package/src/sap/ui/base/ObjectPool.js +1 -1
  61. package/src/sap/ui/core/.library +4 -4
  62. package/src/sap/ui/core/BusyIndicator.js +1 -1
  63. package/src/sap/ui/core/Component.js +3 -3
  64. package/src/sap/ui/core/ComponentContainer.js +1 -1
  65. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  66. package/src/sap/ui/core/ComponentSupport.js +1 -1
  67. package/src/sap/ui/core/Configuration.js +14 -2
  68. package/src/sap/ui/core/Control.js +1 -1
  69. package/src/sap/ui/core/Core.js +17 -8
  70. package/src/sap/ui/core/CustomData.js +1 -1
  71. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  72. package/src/sap/ui/core/Element.js +1 -1
  73. package/src/sap/ui/core/ElementMetadata.js +1 -1
  74. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  75. package/src/sap/ui/core/EventBus.js +1 -1
  76. package/src/sap/ui/core/Fragment.js +1 -1
  77. package/src/sap/ui/core/HTML.js +1 -1
  78. package/src/sap/ui/core/History.js +1 -1
  79. package/src/sap/ui/core/Icon.js +1 -1
  80. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  81. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  82. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  83. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  84. package/src/sap/ui/core/InvisibleText.js +1 -1
  85. package/src/sap/ui/core/Item.js +1 -1
  86. package/src/sap/ui/core/LabelEnablement.js +1 -1
  87. package/src/sap/ui/core/LayoutData.js +1 -1
  88. package/src/sap/ui/core/Lib.js +40 -28
  89. package/src/sap/ui/core/ListItem.js +1 -1
  90. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  91. package/src/sap/ui/core/Locale.js +1 -1
  92. package/src/sap/ui/core/LocaleData.js +1 -1
  93. package/src/sap/ui/core/Manifest.js +1 -1
  94. package/src/sap/ui/core/Message.js +1 -1
  95. package/src/sap/ui/core/RenderManager.js +1 -1
  96. package/src/sap/ui/core/Renderer.js +1 -1
  97. package/src/sap/ui/core/ResizeHandler.js +1 -1
  98. package/src/sap/ui/core/ScrollBar.js +1 -1
  99. package/src/sap/ui/core/SeparatorItem.js +1 -1
  100. package/src/sap/ui/core/Title.js +1 -1
  101. package/src/sap/ui/core/TooltipBase.js +1 -1
  102. package/src/sap/ui/core/UIArea.js +1 -1
  103. package/src/sap/ui/core/UIComponent.js +1 -1
  104. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  105. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  106. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  107. package/src/sap/ui/core/XMLComposite.js +1 -1
  108. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  109. package/src/sap/ui/core/_IconRegistry.js +19 -4
  110. package/src/sap/ui/core/date/Islamic.js +1 -0
  111. package/src/sap/ui/core/date/UI5Date.js +25 -5
  112. package/src/sap/ui/core/date/UniversalDate.js +2 -0
  113. package/src/sap/ui/core/date/UniversalDateUtils.js +1 -2
  114. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  115. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  116. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  117. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  118. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  119. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  120. package/src/sap/ui/core/format/DateFormat.js +13 -15
  121. package/src/sap/ui/core/format/NumberFormat.js +6 -4
  122. package/src/sap/ui/core/format/TimezoneUtil.js +21 -17
  123. package/src/sap/ui/core/hyphenation/Hyphenation.js +3 -3
  124. package/src/sap/ui/core/library.js +3 -3
  125. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  126. package/src/sap/ui/core/message/Message.js +1 -1
  127. package/src/sap/ui/core/message/MessageManager.js +1 -1
  128. package/src/sap/ui/core/message/MessageParser.js +1 -1
  129. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  130. package/src/sap/ui/core/mvc/Controller.js +1 -1
  131. package/src/sap/ui/core/mvc/ControllerExtension.js +1 -1
  132. package/src/sap/ui/core/mvc/ControllerMetadata.js +4 -3
  133. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  134. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  135. package/src/sap/ui/core/mvc/JSView.js +1 -1
  136. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  137. package/src/sap/ui/core/mvc/View.js +13 -9
  138. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  139. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  140. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  141. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  142. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  143. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  144. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  145. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  146. package/src/sap/ui/core/service/Service.js +1 -1
  147. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  148. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  149. package/src/sap/ui/core/support/Plugin.js +1 -1
  150. package/src/sap/ui/core/support/Support.js +1 -1
  151. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  153. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  154. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  156. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  157. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  158. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  159. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  160. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  161. package/src/sap/ui/core/theming/ThemeManager.js +11 -2
  162. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  163. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  164. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  165. package/src/sap/ui/core/tmpl/Template.js +1 -1
  166. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  167. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  168. package/src/sap/ui/core/util/Export.js +1 -1
  169. package/src/sap/ui/core/util/ExportCell.js +1 -1
  170. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  171. package/src/sap/ui/core/util/ExportRow.js +1 -1
  172. package/src/sap/ui/core/util/ExportType.js +1 -1
  173. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  174. package/src/sap/ui/core/util/File.js +1 -1
  175. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  176. package/src/sap/ui/core/util/MockServer.js +1 -1
  177. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  178. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  179. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  180. package/src/sap/ui/core/util/serializer/ViewSerializer.js +3 -3
  181. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  182. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  183. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  184. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  185. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  186. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  187. package/src/sap/ui/core/ws/WebSocket.js +2 -2
  188. package/src/sap/ui/debug/ControlTree.js +1 -1
  189. package/src/sap/ui/debug/DebugEnv.js +1 -1
  190. package/src/sap/ui/debug/PropertyList.js +1 -1
  191. package/src/sap/ui/model/ClientModel.js +1 -1
  192. package/src/sap/ui/model/CompositeDataState.js +1 -1
  193. package/src/sap/ui/model/CompositeType.js +1 -1
  194. package/src/sap/ui/model/DataState.js +1 -1
  195. package/src/sap/ui/model/MetaModel.js +1 -1
  196. package/src/sap/ui/model/Model.js +1 -1
  197. package/src/sap/ui/model/SelectionModel.js +1 -1
  198. package/src/sap/ui/model/SimpleType.js +1 -1
  199. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  200. package/src/sap/ui/model/Type.js +1 -1
  201. package/src/sap/ui/model/json/JSONModel.js +1 -1
  202. package/src/sap/ui/model/message/MessageModel.js +1 -1
  203. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  204. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  205. package/src/sap/ui/model/odata/ODataMetaModel.js +4 -3
  206. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  207. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  208. package/src/sap/ui/model/odata/ODataUtils.js +5 -2
  209. package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +62 -24
  210. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  211. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  212. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  213. package/src/sap/ui/model/odata/type/Date.js +1 -1
  214. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  215. package/src/sap/ui/model/odata/type/DateTimeBase.js +3 -2
  216. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  217. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +2 -1
  218. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  219. package/src/sap/ui/model/odata/type/Double.js +1 -1
  220. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  221. package/src/sap/ui/model/odata/type/Int.js +1 -1
  222. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  223. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  224. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  225. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  226. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  227. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  228. package/src/sap/ui/model/odata/type/Single.js +1 -1
  229. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  230. package/src/sap/ui/model/odata/type/String.js +1 -1
  231. package/src/sap/ui/model/odata/type/Time.js +2 -1
  232. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  233. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  234. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  235. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +2 -1
  236. package/src/sap/ui/model/odata/v2/ODataListBinding.js +4 -1
  237. package/src/sap/ui/model/odata/v2/ODataModel.js +127 -65
  238. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  239. package/src/sap/ui/model/odata/v4/Context.js +50 -14
  240. package/src/sap/ui/model/odata/v4/ODataBinding.js +83 -14
  241. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +2 -4
  242. package/src/sap/ui/model/odata/v4/ODataListBinding.js +89 -12
  243. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +3 -2
  244. package/src/sap/ui/model/odata/v4/ODataModel.js +5 -4
  245. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +14 -3
  246. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +9 -1
  247. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +63 -62
  248. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +32 -7
  249. package/src/sap/ui/model/odata/v4/lib/_Cache.js +212 -15
  250. package/src/sap/ui/model/odata/v4/lib/_Helper.js +71 -29
  251. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  252. package/src/sap/ui/model/type/Boolean.js +1 -1
  253. package/src/sap/ui/model/type/Currency.js +1 -1
  254. package/src/sap/ui/model/type/Date.js +4 -3
  255. package/src/sap/ui/model/type/DateInterval.js +9 -8
  256. package/src/sap/ui/model/type/DateTime.js +1 -1
  257. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  258. package/src/sap/ui/model/type/FileSize.js +1 -1
  259. package/src/sap/ui/model/type/Float.js +1 -1
  260. package/src/sap/ui/model/type/Integer.js +1 -1
  261. package/src/sap/ui/model/type/String.js +1 -1
  262. package/src/sap/ui/model/type/Time.js +1 -1
  263. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  264. package/src/sap/ui/model/type/Unit.js +1 -1
  265. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  266. package/src/sap/ui/qunit/QUnitUtils.js +6 -4
  267. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  268. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  269. package/src/sap/ui/test/Opa5.js +4 -4
  270. package/src/sap/ui/test/generic/TestBase.js +14 -4
  271. package/src/sap/ui/thirdparty/jquery-mobile-custom.js +10 -4
  272. package/src/sap/ui/thirdparty/qunit-2.js +4 -1
  273. package/src/sap/ui/thirdparty/qunit.js +41 -11
  274. package/src/sap/ui/util/Storage.js +1 -1
@@ -18,7 +18,7 @@ sap.ui.define(['./Event', './Object', './ObjectPool', "sap/base/assert"],
18
18
  * @abstract
19
19
  * @extends sap.ui.base.Object
20
20
  * @author SAP SE
21
- * @version 1.111.2
21
+ * @version 1.112.2
22
22
  * @public
23
23
  * @alias sap.ui.base.EventProvider
24
24
  */
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
28
28
  * no internals of the class can be accessed.
29
29
  *
30
30
  * @author Malte Wedel, Daniel Brinkmann
31
- * @version 1.111.2
31
+ * @version 1.112.2
32
32
  * @param {sap.ui.base.Object} oObject
33
33
  * Object for which a facade should be created
34
34
  * @param {string[]} aMethods
@@ -251,7 +251,7 @@ sap.ui.define([
251
251
  *
252
252
  * @extends sap.ui.base.EventProvider
253
253
  * @author SAP SE
254
- * @version 1.111.2
254
+ * @version 1.112.2
255
255
  * @public
256
256
  * @alias sap.ui.base.ManagedObject
257
257
  */
@@ -75,7 +75,7 @@ function(
75
75
  *
76
76
  *
77
77
  * @author Frank Weigel
78
- * @version 1.111.2
78
+ * @version 1.112.2
79
79
  * @since 0.8.6
80
80
  * @alias sap.ui.base.ManagedObjectMetadata
81
81
  * @extends sap.ui.base.Metadata
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  *
27
27
  * @class Metadata for a class.
28
28
  * @author Frank Weigel
29
- * @version 1.111.2
29
+ * @version 1.112.2
30
30
  * @since 0.8.6
31
31
  * @public
32
32
  * @alias sap.ui.base.Metadata
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
26
26
  * @class Base class for all SAPUI5 Objects.
27
27
  * @abstract
28
28
  * @author Malte Wedel
29
- * @version 1.111.2
29
+ * @version 1.112.2
30
30
  * @public
31
31
  * @alias sap.ui.base.Object
32
32
  * @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
@@ -59,7 +59,7 @@ sap.ui.define(['./Object'],
59
59
  *
60
60
  * @extends sap.ui.base.Object
61
61
  * @author SAP SE
62
- * @version 1.111.2
62
+ * @version 1.112.2
63
63
  * @alias sap.ui.base.ObjectPool
64
64
  * @public
65
65
  */
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.111.2</version>
9
+ <version>1.112.2</version>
10
10
 
11
11
  <documentation>The SAPUI5 Core Runtime.
12
12
 
@@ -180,13 +180,13 @@
180
180
  <copyright>2014 jQuery Foundation and other contributors</copyright>
181
181
  <pattern partial="true" otherContent="SAP" explanation="zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1">sap/ui/dom/jquery/zIndex.js</pattern>
182
182
  </lib>
183
- <lib name="qunit" displayName="QUnit" npmName="n/a" version="1.18.0" hash="a91331fed4313c15851f69d3d484d087" homepage="https://qunitjs.com" id="73554900106100002636">
183
+ <lib name="qunit" displayName="QUnit" npmName="n/a" version="1.18.0" hash="2172c9592fe6e9d5ef3bdf665cf88ba9" homepage="https://qunitjs.com" id="73554900106100002636">
184
184
  <license url="http://jQuery.org/license" type="MIT" />
185
185
  <copyright>jQuery Foundation and other contributors</copyright>
186
186
  <pattern>sap/ui/thirdparty/qunit.css</pattern>
187
187
  <pattern>sap/ui/thirdparty/qunit.js</pattern>
188
188
  </lib>
189
- <lib name="qunit-2" displayName="QUnit 2" npmName="n/a" version="2.3.2" hash="5a663d008c04935ce54d7b13987fde53" homepage="https://qunitjs.com" id="73555000106100006951">
189
+ <lib name="qunit-2" displayName="QUnit 2" npmName="n/a" version="2.3.2" hash="0fc7923d362acc8a91a6b849fcc978ee" homepage="https://qunitjs.com" id="73555000106100006951">
190
190
  <license url="http://jQuery.org/license" type="MIT" />
191
191
  <copyright>jQuery Foundation and other contributors</copyright>
192
192
  <pattern>sap/ui/thirdparty/qunit-2.css</pattern>
@@ -203,7 +203,7 @@
203
203
  <copyright>OpenJS Foundation and other contributors</copyright>
204
204
  <pattern>sap/ui/thirdparty/jquery-compat.js</pattern>
205
205
  </lib>
206
- <lib name="jquery_mobile" displayName="jQuery Mobile" npmName="n/a" version="1.3.1" hash="9455e32c6b83390085754590a3d71707" homepage="http://jquerymobile.com" id="73554900106100002438">
206
+ <lib name="jquery_mobile" displayName="jQuery Mobile" npmName="n/a" version="1.3.1" hash="353b22bfd4f4c0fabb02c05a36b93efb" homepage="http://jquerymobile.com" id="73554900106100002438">
207
207
  <license url="http://jQuery.org/license" type="MIT" />
208
208
  <copyright>2010, 2013 jQuery Foundation, Inc. and other contributors</copyright>
209
209
  <pattern>sap/ui/thirdparty/jquery-mobile-custom.js</pattern>
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * Provides methods to show or hide a waiting animation covering the whole
41
41
  * page and blocking user interaction.
42
42
  * @namespace
43
- * @version 1.111.2
43
+ * @version 1.112.2
44
44
  * @public
45
45
  * @alias sap.ui.core.BusyIndicator
46
46
  */
@@ -225,7 +225,7 @@ sap.ui.define([
225
225
  * @extends sap.ui.base.ManagedObject
226
226
  * @abstract
227
227
  * @author SAP SE
228
- * @version 1.111.2
228
+ * @version 1.112.2
229
229
  * @alias sap.ui.core.Component
230
230
  * @since 1.9.2
231
231
  */
@@ -1730,8 +1730,8 @@ sap.ui.define([
1730
1730
  oModelConfig.settings.headers["Cache-Control"] = "max-age=" + oDataSource.settings.maxAge;
1731
1731
  }
1732
1732
 
1733
- // The ODataModel's "ignoreAnnotationsFromMetadata" parameter only accepts <true> (see ODataModel constructor documentation)
1734
- if (oDataSource.settings.ignoreAnnotationsFromMetadata === true) {
1733
+ // Pass the ODataModel's "ignoreAnnotationsFromMetadata" setting, if specified
1734
+ if ("ignoreAnnotationsFromMetadata" in oDataSource.settings) {
1735
1735
  oModelConfig.settings.ignoreAnnotationsFromMetadata = oDataSource.settings.ignoreAnnotationsFromMetadata;
1736
1736
  }
1737
1737
 
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * See also {@link module:sap/ui/core/ComponentSupport}.
62
62
  *
63
63
  * @extends sap.ui.core.Control
64
- * @version 1.111.2
64
+ * @version 1.112.2
65
65
  *
66
66
  * @public
67
67
  * @alias sap.ui.core.ComponentContainer
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @public
30
30
  * @class
31
31
  * @author SAP SE
32
- * @version 1.111.2
32
+ * @version 1.112.2
33
33
  * @since 1.9.2
34
34
  * @alias sap.ui.core.ComponentMetadata
35
35
  * @extends sap.ui.base.ManagedObjectMetadata
@@ -97,7 +97,7 @@ sap.ui.define([
97
97
  * @author SAP SE
98
98
  * @public
99
99
  * @since 1.58.0
100
- * @version 1.111.2
100
+ * @version 1.112.2
101
101
  * @namespace
102
102
  * @alias module:sap/ui/core/ComponentSupport
103
103
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  // Singleton instance for configuration
45
45
  var oConfiguration;
46
46
  var M_SETTINGS;
47
- var VERSION = "1.111.2";
47
+ var VERSION = "1.112.2";
48
48
 
49
49
  // Helper Functions
50
50
  function detectLanguage() {
@@ -274,7 +274,8 @@ sap.ui.define([
274
274
  "xx-cssVariables" : { type : "string", defaultValue : "false" }, // false|true|additional (additional just includes the css_variables.css in addition)
275
275
  "xx-debugModuleLoading" : { type : "boolean", defaultValue: false },
276
276
  "statistics" : { type : "boolean", defaultValue : false },
277
- "xx-acc-keys" : { type : "boolean", defaultValue : false }
277
+ "xx-acc-keys" : { type : "boolean", defaultValue : false },
278
+ "xx-measure-cards" : { type : "boolean", defaultValue : false }
278
279
  };
279
280
 
280
281
  var M_COMPAT_FEATURES = {
@@ -1765,6 +1766,17 @@ sap.ui.define([
1765
1766
  return this.getValue("securityTokenHandlers").slice();
1766
1767
  },
1767
1768
 
1769
+ /**
1770
+ * Gets if performance measurement for UI5 Integration Cards should happen.
1771
+ *
1772
+ * @returns {boolean} whether measurement should be executed
1773
+ * @since 1.112.0
1774
+ * @experimental
1775
+ */
1776
+ getMeasureCards: function () {
1777
+ return this.getValue("xx-measure-cards");
1778
+ },
1779
+
1768
1780
  /**
1769
1781
  * Sets the security token handlers for an OData V4 model. See chapter
1770
1782
  * {@link topic:9613f1f2d88747cab21896f7216afdac/section_STH Security Token Handling}.
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @extends sap.ui.core.Element
80
80
  * @abstract
81
81
  * @author SAP SE
82
- * @version 1.111.2
82
+ * @version 1.112.2
83
83
  * @alias sap.ui.core.Control
84
84
  */
85
85
  var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
@@ -170,7 +170,7 @@ sap.ui.define([
170
170
  * @extends sap.ui.base.Object
171
171
  * @final
172
172
  * @author SAP SE
173
- * @version 1.111.2
173
+ * @version 1.112.2
174
174
  * @alias sap.ui.core.Core
175
175
  * @public
176
176
  * @hideconstructor
@@ -657,7 +657,7 @@ sap.ui.define([
657
657
  * Set the body's OS-related attribute and CSS class
658
658
  * @private
659
659
  */
660
- Core.prototype._setupOS = function(html) {
660
+ Core.prototype._setupOS = function() {
661
661
  var html = document.documentElement;
662
662
 
663
663
  html.dataset.sapUiOs = Device.os.name + Device.os.versionStr;
@@ -920,23 +920,32 @@ sap.ui.define([
920
920
  this._executeInitialization();
921
921
  } else {
922
922
  Rendering.suspend();
923
+
924
+ var whenThemeAppliedThen = function(fnCallback) {
925
+ this._getThemeManager().then(function(ThemeManager) {
926
+ if ( ThemeManager.themeLoaded ) {
927
+ fnCallback();
928
+ } else {
929
+ ThemeManager.attachEventOnce("ThemeChanged", fnCallback);
930
+ }
931
+ });
932
+ }.bind(this);
933
+
923
934
  if (sWaitForTheme === "rendering") {
924
935
  Rendering.notifyInteractionStep();
925
936
  this._executeInitialization();
926
937
  Rendering.getLogger().debug("delay initial rendering until theme has been loaded");
927
- _oEventProvider.attachEventOnce(Core.M_EVENTS.ThemeChanged, function() {
938
+ whenThemeAppliedThen(function() {
928
939
  Rendering.resume("after theme has been loaded");
929
- }, this);
940
+ });
930
941
  } else if (sWaitForTheme === "init") {
931
942
  Rendering.getLogger().debug("delay init event and initial rendering until theme has been loaded");
932
943
  Rendering.notifyInteractionStep();
933
- _oEventProvider.attachEventOnce(Core.M_EVENTS.ThemeChanged, function() {
944
+ whenThemeAppliedThen(function() {
934
945
  this._executeInitialization();
935
946
  Rendering.resume("after theme has been loaded");
936
- }, this);
947
+ }.bind(this));
937
948
  }
938
- // Require ThemeManager if not already done to ensure ThemeManager is available and ThemeChanged event will be fired
939
- this._getThemeManager();
940
949
  }
941
950
  };
942
951
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * in the documentation.
25
25
  *
26
26
  * @extends sap.ui.core.Element
27
- * @version 1.111.2
27
+ * @version 1.112.2
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.111.2
43
+ * @version 1.112.2
44
44
  * @since 1.7.0
45
45
  * @public
46
46
  * @alias sap.ui.core.DeclarativeSupport
@@ -130,7 +130,7 @@ sap.ui.define([
130
130
  *
131
131
  * @extends sap.ui.base.ManagedObject
132
132
  * @author SAP SE
133
- * @version 1.111.2
133
+ * @version 1.112.2
134
134
  * @public
135
135
  * @alias sap.ui.core.Element
136
136
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  *
24
24
  * @class
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
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.111.2
46
+ * @version 1.112.2
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.111.2
33
+ * @version 1.112.2
34
34
  * @public
35
35
  * @since 1.8.0
36
36
  * @alias sap.ui.core.EventBus
@@ -60,7 +60,7 @@ function(
60
60
  * @class
61
61
  * @extends sap.ui.base.ManagedObject
62
62
  * @author SAP SE
63
- * @version 1.111.2
63
+ * @version 1.112.2
64
64
  * @public
65
65
  * @alias sap.ui.core.Fragment
66
66
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.111.2
47
+ * @version 1.112.2
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.HTML
@@ -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.111.2
25
+ * @version 1.112.2
26
26
  * @alias sap.ui.core.History
27
27
  * @protected
28
28
  */
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  * @implements sap.ui.core.IFormContent
76
76
  *
77
77
  * @author SAP SE
78
- * @version 1.111.2
78
+ * @version 1.112.2
79
79
  *
80
80
  * @public
81
81
  * @since 1.11.1
@@ -16,7 +16,7 @@ sap.ui.define(['./library', 'sap/ui/core/Lib'],
16
16
  * Helper functionality for indication color support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.111.2
19
+ * @version 1.112.2
20
20
  * @public
21
21
  * @namespace sap.ui.core.IndicationColorSupport
22
22
  * @since 1.66
@@ -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.111.2
26
+ * @version 1.112.2
27
27
  * @public
28
28
  * @since 1.11.0
29
29
  * @alias sap.ui.core.IntervalTrigger
@@ -32,7 +32,7 @@ function (coreLibrary, ManagedObject, Log) {
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.111.2
35
+ * @version 1.112.2
36
36
  * @hideconstructor
37
37
  * @public
38
38
  * @since 1.78
@@ -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.111.2
15
+ * @version 1.112.2
16
16
  * @alias module:sap/ui/core/InvisibleRenderer
17
17
  * @since 1.66.0
18
18
  * @protected
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.ui.core.Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.111.2
34
+ * @version 1.112.2
35
35
  *
36
36
  * @public
37
37
  * @since 1.27.0
@@ -24,7 +24,7 @@ sap.ui.define(['./Element', './library'],
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.111.2
27
+ * @version 1.112.2
28
28
  *
29
29
  * @public
30
30
  * @alias sap.ui.core.Item
@@ -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.111.2
139
+ * @version 1.112.2
140
140
  * @protected
141
141
  * @alias sap.ui.core.LabelEnablement
142
142
  * @namespace
@@ -23,7 +23,7 @@ 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.111.2
26
+ * @version 1.112.2
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
@@ -462,13 +462,10 @@ sap.ui.define([
462
462
 
463
463
  var sFileType = this._getFileType(mOptions.json),
464
464
  sLibPackage = this.name.replace(/\./g, '/'),
465
- bLibLoaded = !!sap.ui.loader._.getModuleState(sLibPackage + '/library.js'),
465
+ bEntryModuleExists = !!sap.ui.loader._.getModuleState(sLibPackage + '/library.js'),
466
466
  bHttp2 = Configuration.getDepCache();
467
467
 
468
- if (sFileType === 'none' || bLibLoaded) {
469
- // When a library's entry module is already available (either loaded or preloaded), a resolved promise
470
- // is returned instead of this._loadingStatus.promise to avoid the deadlock between 2 libraries which
471
- // have dependency of each other
468
+ if (sFileType === 'none') {
472
469
  return mOptions.sync ? this : Promise.resolve(this);
473
470
  }
474
471
 
@@ -478,27 +475,34 @@ sap.ui.define([
478
475
 
479
476
  this._loadingStatus = this._loadingStatus || {};
480
477
 
478
+ if (this._loadingStatus.pending) {
479
+ if (mOptions.sync) {
480
+ if (mOptions.lazy) {
481
+ // ignore a lazy request when an eager request is already pending
482
+ return this;
483
+ } else if (this._loadingStatus.async) {
484
+ Log.warning("request to load " + this.name + " synchronously while async loading is pending; this causes a duplicate request and should be avoided by caller");
485
+ // fall through and preload synchronously
486
+ } else {
487
+ // sync cycle -> ignore nested call (would nevertheless be a dependency cycle)
488
+ Log.warning("request to load " + this.name + " synchronously while sync loading is pending (cycle, ignored)");
489
+ return this;
490
+ }
491
+ } else if (this._loadingStatus.preloadFinished) { // async
492
+ // When it's already in progress for loading a library and loading its own preload file (either JS,
493
+ // JSON or doesn't need to load the preload at all) is finished, a dependency cycle between
494
+ // libraries is detected. A resolved promise is returned instead of this._loadingStatus.promise to
495
+ // avoid the deadlock between the libraries which have dependency of each other
496
+ return Promise.resolve(this);
497
+ }
498
+ }
499
+
481
500
  if ((mOptions.sync && this._loadingStatus.pending === false)
482
501
  || (!mOptions.sync && this._loadingStatus.promise)) {
483
502
  // in the sync case, we can do a immediate return only when the library is fully loaded.
484
503
  return mOptions.sync ? this : this._loadingStatus.promise;
485
504
  }
486
505
 
487
-
488
- if (this._loadingStatus.pending && mOptions.sync) {
489
- if (mOptions.lazy) {
490
- // ignore a lazy request when an eager request is already pending
491
- return this;
492
- } else if (this._loadingStatus.async) {
493
- Log.warning("request to load " + this.name + " synchronously while async loading is pending; this causes a duplicate request and should be avoided by caller");
494
- // fall through and preload synchronously
495
- } else {
496
- // sync cycle -> ignore nested call (would nevertheless be a dependency cycle)
497
- Log.warning("request to load " + this.name + " synchronously while sync loading is pending (cycle, ignored)");
498
- return this;
499
- }
500
- }
501
-
502
506
  if (mOptions.lazy) {
503
507
  // For selected lazy dependencies, we load a library-preload-lazy module.
504
508
  // Errors are ignored and the library is not marked as pending in the bookkeeping
@@ -522,8 +526,12 @@ sap.ui.define([
522
526
  this._loadingStatus.pending = true;
523
527
  this._loadingStatus.async = !mOptions.sync;
524
528
 
525
- // first preload code, resolves with list of dependencies (or undefined)
526
- var pPreload = sFileType !== 'json' ?
529
+ var pPreload;
530
+ if (bEntryModuleExists) {
531
+ pPreload = (mOptions.sync ? SyncPromise : Promise).resolve();
532
+ } else {
533
+ // first preload code, resolves with list of dependencies (or undefined)
534
+ pPreload = sFileType !== 'json' ?
527
535
  /* 'js' or 'both', not forced to JSON */
528
536
  this._preloadJSFormat({
529
537
  fallbackToJSON: sFileType !== "js",
@@ -531,9 +539,15 @@ sap.ui.define([
531
539
  sync: mOptions.sync
532
540
  })
533
541
  : this._preloadJSONFormat({sync: mOptions.sync});
542
+ }
534
543
 
535
544
  // load dependencies, if there are any
536
545
  this._loadingStatus.promise = pPreload.then(function(aDependencies) {
546
+ // resolve dependencies via manifest "this._getDependencies()" except for libary-preload.json
547
+ aDependencies = aDependencies || this._getDependencies();
548
+
549
+ this._loadingStatus.preloadFinished = true;
550
+
537
551
  var oManifest = this.getManifest(),
538
552
  aPromises;
539
553
 
@@ -624,9 +638,7 @@ sap.ui.define([
624
638
  pResult = sap.ui.loader._.loadJSResourceAsync(sPreloadModule);
625
639
  }
626
640
 
627
- return pResult.then(function() {
628
- return that._getDependencies();
629
- }, function(e) {
641
+ return pResult.catch(function(e) {
630
642
  if (mOptions.fallbackToJSON) {
631
643
  var bFallback;
632
644
  if (mOptions.sync) {
@@ -1182,8 +1194,8 @@ sap.ui.define([
1182
1194
  * @public
1183
1195
  */
1184
1196
  Library.init = function(mSettings) {
1185
- assert(typeof mSettings === "object" , "mSettings given to 'sap/ui/core/Lib.create' must be an object");
1186
- assert(typeof mSettings.name === "string" && mSettings.name, "mSettings given to 'sap/ui/core/Lib.create' must have the 'name' property set");
1197
+ assert(typeof mSettings === "object" , "mSettings given to 'sap/ui/core/Lib.init' must be an object");
1198
+ assert(typeof mSettings.name === "string" && mSettings.name, "mSettings given to 'sap/ui/core/Lib.init' must have the 'name' property set");
1187
1199
 
1188
1200
  var METHOD = "sap/ui/core/Lib.init";
1189
1201
  Log.debug("Analyzing Library " + mSettings.name, null, METHOD);
@@ -1459,7 +1471,7 @@ sap.ui.define([
1459
1471
  // check for legacy code
1460
1472
  if (!aLibs[index].isSettingsEnhanced()) {
1461
1473
  Log.warning("library " + aLibs[index].name + " didn't initialize itself");
1462
- Library.create(aLibs[index].name); // TODO redundant to generated initLibrary call....
1474
+ Library.init({ name: aLibs[index].name }); // TODO redundant to generated initLibrary call....
1463
1475
  }
1464
1476
  });
1465
1477
  }
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.111.2
26
+ * @version 1.112.2
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.111.2
35
+ * @version 1.112.2
36
36
  *
37
37
  * @public
38
38
  * @since 1.11.0
@@ -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.111.2
41
+ * @version 1.112.2
42
42
  * @public
43
43
  * @alias sap.ui.core.Locale
44
44
  */
@@ -37,7 +37,7 @@ sap.ui.define(['sap/base/util/extend', 'sap/ui/base/Object', './CalendarType', '
37
37
  *
38
38
  * @extends sap.ui.base.Object
39
39
  * @author SAP SE
40
- * @version 1.111.2
40
+ * @version 1.112.2
41
41
  * @public
42
42
  * @alias sap.ui.core.LocaleData
43
43
  */
@@ -143,7 +143,7 @@ sap.ui.define([
143
143
  * @class The Manifest class.
144
144
  * @extends sap.ui.base.Object
145
145
  * @author SAP SE
146
- * @version 1.111.2
146
+ * @version 1.112.2
147
147
  * @alias sap.ui.core.Manifest
148
148
  * @since 1.33.0
149
149
  */
@@ -26,7 +26,7 @@ sap.ui.define(['./Element', './library', "sap/base/Log", "sap/ui/core/Configurat
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.111.2
29
+ * @version 1.112.2
30
30
  *
31
31
  * @public
32
32
  * @alias sap.ui.core.Message