@openui5/sap.ui.core 1.136.4 → 1.139.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 (333) hide show
  1. package/.eslintrc.json +3 -3
  2. package/README.md +1 -1
  3. package/REUSE.toml +8 -29
  4. package/THIRDPARTY.txt +72 -90
  5. package/package.json +2 -2
  6. package/src/jquery.sap.global.js +1 -1
  7. package/src/jquery.sap.properties.js +1 -1
  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 +3 -3
  11. package/src/sap/base/Event.js +1 -1
  12. package/src/sap/base/Eventing.js +1 -1
  13. package/src/sap/base/config.js +1 -1
  14. package/src/sap/base/i18n/LanguageFallback.js +18 -2
  15. package/src/sap/base/i18n/LanguageTag.js +1 -1
  16. package/src/sap/base/i18n/Localization.js +5 -3
  17. package/src/sap/base/i18n/ResourceBundle.js +59 -35
  18. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  19. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  20. package/src/sap/base/util/restricted/_castArray.js +1 -1
  21. package/src/sap/base/util/restricted/_compact.js +1 -1
  22. package/src/sap/base/util/restricted/_curry.js +1 -1
  23. package/src/sap/base/util/restricted/_debounce.js +1 -1
  24. package/src/sap/base/util/restricted/_difference.js +1 -1
  25. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  26. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  28. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  29. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  30. package/src/sap/base/util/restricted/_flatten.js +1 -1
  31. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  32. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  33. package/src/sap/base/util/restricted/_intersection.js +1 -1
  34. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  35. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  36. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  37. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  38. package/src/sap/base/util/restricted/_isNil.js +1 -1
  39. package/src/sap/base/util/restricted/_max.js +1 -1
  40. package/src/sap/base/util/restricted/_merge.js +1 -1
  41. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  42. package/src/sap/base/util/restricted/_min.js +1 -1
  43. package/src/sap/base/util/restricted/_omit.js +1 -1
  44. package/src/sap/base/util/restricted/_pick.js +1 -1
  45. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  46. package/src/sap/base/util/restricted/_throttle.js +1 -1
  47. package/src/sap/base/util/restricted/_toArray.js +1 -1
  48. package/src/sap/base/util/restricted/_union.js +1 -1
  49. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  50. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  51. package/src/sap/base/util/restricted/_uniq.js +1 -1
  52. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  53. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  54. package/src/sap/base/util/restricted/_without.js +1 -1
  55. package/src/sap/base/util/restricted/_xor.js +1 -1
  56. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  57. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  58. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  59. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  60. package/src/sap/ui/Device.js +3 -3
  61. package/src/sap/ui/Global.js +3 -3
  62. package/src/sap/ui/base/BindingInfo.js +18 -9
  63. package/src/sap/ui/base/BindingParser.js +13 -6
  64. package/src/sap/ui/base/Event.js +1 -1
  65. package/src/sap/ui/base/EventProvider.js +1 -8
  66. package/src/sap/ui/base/Interface.js +1 -1
  67. package/src/sap/ui/base/ManagedObject.js +37 -27
  68. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  69. package/src/sap/ui/base/Metadata.js +1 -1
  70. package/src/sap/ui/base/Object.js +1 -1
  71. package/src/sap/ui/base/ObjectPool.js +1 -1
  72. package/src/sap/ui/base/OwnStatics.js +49 -0
  73. package/src/sap/ui/core/.library +9 -31
  74. package/src/sap/ui/core/BusyIndicator.js +8 -8
  75. package/src/sap/ui/core/Component.js +63 -73
  76. package/src/sap/ui/core/ComponentContainer.js +34 -4
  77. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  78. package/src/sap/ui/core/ComponentSupport.js +1 -1
  79. package/src/sap/ui/core/Configuration.js +1 -1
  80. package/src/sap/ui/core/Control.js +1 -1
  81. package/src/sap/ui/core/Core.js +2 -2
  82. package/src/sap/ui/core/CustomData.js +1 -1
  83. package/src/sap/ui/core/DeclarativeSupport.js +13 -11
  84. package/src/sap/ui/core/Element.js +1 -3
  85. package/src/sap/ui/core/ElementMetadata.js +1 -1
  86. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  87. package/src/sap/ui/core/EventBus.js +1 -1
  88. package/src/sap/ui/core/ExtensionPoint.js +4 -4
  89. package/src/sap/ui/core/Fragment.js +10 -6
  90. package/src/sap/ui/core/HTML.js +1 -1
  91. package/src/sap/ui/core/History.js +1 -1
  92. package/src/sap/ui/core/Icon.js +1 -1
  93. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  94. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  95. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  96. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  97. package/src/sap/ui/core/InvisibleText.js +1 -1
  98. package/src/sap/ui/core/Item.js +1 -1
  99. package/src/sap/ui/core/LabelEnablement.js +1 -1
  100. package/src/sap/ui/core/LayoutData.js +1 -1
  101. package/src/sap/ui/core/Lib.js +39 -24
  102. package/src/sap/ui/core/ListItem.js +1 -1
  103. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  104. package/src/sap/ui/core/Locale.js +1 -1
  105. package/src/sap/ui/core/LocaleData.js +1 -1
  106. package/src/sap/ui/core/Manifest.js +1 -1
  107. package/src/sap/ui/core/Message.js +1 -1
  108. package/src/sap/ui/core/Popup.js +39 -178
  109. package/src/sap/ui/core/RenderManager.js +1 -1
  110. package/src/sap/ui/core/Renderer.js +1 -1
  111. package/src/sap/ui/core/ResizeHandler.js +1 -1
  112. package/src/sap/ui/core/ScrollBar.js +1 -1
  113. package/src/sap/ui/core/SeparatorItem.js +1 -1
  114. package/src/sap/ui/core/Theming.js +2 -2
  115. package/src/sap/ui/core/Title.js +1 -1
  116. package/src/sap/ui/core/TooltipBase.js +1 -1
  117. package/src/sap/ui/core/UIArea.js +1 -1
  118. package/src/sap/ui/core/UIComponent.js +16 -57
  119. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  120. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  121. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  122. package/src/sap/ui/core/XMLComposite.js +1 -1
  123. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  124. package/src/sap/ui/core/XMLTemplateProcessor.js +5 -1
  125. package/src/sap/ui/core/_IconRegistry.js +2 -0
  126. package/src/sap/ui/core/date/UI5Date.js +1 -1
  127. package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
  128. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  129. package/src/sap/ui/core/dnd/DragDropBase.js +12 -2
  130. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  131. package/src/sap/ui/core/dnd/DragInfo.js +5 -3
  132. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  133. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  134. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  135. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  136. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  137. package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +64 -37
  138. package/src/sap/ui/core/library.js +3 -3
  139. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  140. package/src/sap/ui/core/message/Message.js +1 -1
  141. package/src/sap/ui/core/message/MessageManager.js +1 -1
  142. package/src/sap/ui/core/message/MessageParser.js +1 -1
  143. package/src/sap/ui/core/message/MessageProcessor.js +6 -6
  144. package/src/sap/ui/core/messagebundle.properties +58 -28
  145. package/src/sap/ui/core/messagebundle_mk.properties +3 -3
  146. package/src/sap/ui/core/mvc/Controller.js +5 -1
  147. package/src/sap/ui/core/mvc/HTMLView.js +6 -2
  148. package/src/sap/ui/core/mvc/JSONView.js +6 -2
  149. package/src/sap/ui/core/mvc/JSView.js +6 -3
  150. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  151. package/src/sap/ui/core/mvc/View.js +69 -195
  152. package/src/sap/ui/core/mvc/XMLView.js +7 -2
  153. package/src/sap/ui/core/mvc/_ViewFactory.js +196 -0
  154. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  155. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  156. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  157. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  158. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  159. package/src/sap/ui/core/routing/Route.js +197 -13
  160. package/src/sap/ui/core/routing/Router.js +19 -8
  161. package/src/sap/ui/core/routing/RouterHashChanger.js +12 -3
  162. package/src/sap/ui/core/routing/Target.js +714 -61
  163. package/src/sap/ui/core/routing/TargetCache.js +205 -25
  164. package/src/sap/ui/core/routing/Targets.js +162 -67
  165. package/src/sap/ui/core/routing/Views.js +1 -0
  166. package/src/sap/ui/core/routing/sync/Route.js +1 -1
  167. package/src/sap/ui/core/routing/sync/Target.js +11 -1
  168. package/src/sap/ui/core/routing/sync/TargetCache.js +3 -3
  169. package/src/sap/ui/core/routing/sync/Targets.js +1 -1
  170. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  171. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  172. package/src/sap/ui/core/service/Service.js +1 -48
  173. package/src/sap/ui/core/service/ServiceFactory.js +44 -4
  174. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  175. package/src/sap/ui/core/support/Plugin.js +1 -1
  176. package/src/sap/ui/core/support/Support.js +356 -353
  177. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  178. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  179. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  180. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  181. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  182. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  183. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  184. package/src/sap/ui/core/support/plugins/ViewInfo.js +4 -2
  185. package/src/sap/ui/core/themes/base/base.less +20 -20
  186. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  187. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  188. package/src/sap/ui/core/themes/base/global.less +4 -0
  189. package/src/sap/ui/core/themes/base/skeleton.less +3 -3
  190. package/src/sap/ui/core/theming/ThemeHelper.js +1 -18
  191. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  192. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  193. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +4 -4
  194. package/src/sap/ui/core/tmpl/Template.js +1 -1
  195. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  196. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  197. package/src/sap/ui/core/util/Export.js +1 -1
  198. package/src/sap/ui/core/util/ExportCell.js +1 -1
  199. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  200. package/src/sap/ui/core/util/ExportRow.js +1 -1
  201. package/src/sap/ui/core/util/ExportType.js +1 -1
  202. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  203. package/src/sap/ui/core/util/File.js +1 -1
  204. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  205. package/src/sap/ui/core/util/MockServer.js +1 -1
  206. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  207. package/src/sap/ui/core/util/XMLPreprocessor.js +8 -1
  208. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +4 -4
  209. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  210. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  211. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  212. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  213. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  214. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  215. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  216. package/src/sap/ui/core/webc/WebComponent.js +2 -3
  217. package/src/sap/ui/core/webc/WebComponentMetadata.js +2 -3
  218. package/src/sap/ui/core/webc/WebComponentRenderer.js +1 -1
  219. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  220. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  221. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  222. package/src/sap/ui/debug/ControlTree.js +1 -1
  223. package/src/sap/ui/debug/DebugEnv.js +1 -1
  224. package/src/sap/ui/debug/PropertyList.js +1 -1
  225. package/src/sap/ui/model/ClientModel.js +2 -2
  226. package/src/sap/ui/model/CompositeDataState.js +1 -1
  227. package/src/sap/ui/model/CompositeType.js +1 -1
  228. package/src/sap/ui/model/DataState.js +1 -1
  229. package/src/sap/ui/model/Filter.js +55 -35
  230. package/src/sap/ui/model/FilterOperator.js +79 -9
  231. package/src/sap/ui/model/MetaModel.js +1 -1
  232. package/src/sap/ui/model/Model.js +1 -1
  233. package/src/sap/ui/model/SelectionModel.js +1 -1
  234. package/src/sap/ui/model/SimpleType.js +1 -1
  235. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  236. package/src/sap/ui/model/Type.js +1 -1
  237. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -1
  238. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +2 -1
  239. package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -1
  240. package/src/sap/ui/model/analytics/odata4analytics.js +2 -1
  241. package/src/sap/ui/model/json/JSONModel.js +1 -1
  242. package/src/sap/ui/model/message/MessageModel.js +1 -1
  243. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  244. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  245. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  246. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  247. package/src/sap/ui/model/odata/ODataModel.js +3 -3
  248. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +2 -1
  249. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +3 -3
  250. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  251. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  252. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  253. package/src/sap/ui/model/odata/type/Date.js +1 -1
  254. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  255. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  256. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  257. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  258. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  259. package/src/sap/ui/model/odata/type/Double.js +1 -1
  260. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  261. package/src/sap/ui/model/odata/type/Int.js +1 -1
  262. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  263. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  264. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  265. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  266. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  267. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  268. package/src/sap/ui/model/odata/type/Single.js +1 -1
  269. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  270. package/src/sap/ui/model/odata/type/String.js +1 -1
  271. package/src/sap/ui/model/odata/type/Time.js +1 -1
  272. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  273. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  274. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  275. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  276. package/src/sap/ui/model/odata/v2/ODataModel.js +2 -2
  277. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  278. package/src/sap/ui/model/odata/v4/Context.js +20 -17
  279. package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -2
  280. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +4 -4
  281. package/src/sap/ui/model/odata/v4/ODataListBinding.js +34 -22
  282. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +60 -22
  283. package/src/sap/ui/model/odata/v4/ODataModel.js +9 -8
  284. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +2 -2
  285. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  286. package/src/sap/ui/model/odata/v4/ODataUtils.js +2 -2
  287. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +4 -4
  288. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +98 -89
  289. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +39 -7
  290. package/src/sap/ui/model/odata/v4/lib/_Cache.js +32 -26
  291. package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +10 -4
  292. package/src/sap/ui/model/odata/v4/lib/_Helper.js +44 -24
  293. package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
  294. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +50 -19
  295. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
  296. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  297. package/src/sap/ui/model/type/Boolean.js +1 -1
  298. package/src/sap/ui/model/type/Currency.js +1 -1
  299. package/src/sap/ui/model/type/Date.js +1 -1
  300. package/src/sap/ui/model/type/DateInterval.js +1 -1
  301. package/src/sap/ui/model/type/DateTime.js +1 -1
  302. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  303. package/src/sap/ui/model/type/FileSize.js +1 -1
  304. package/src/sap/ui/model/type/Float.js +1 -1
  305. package/src/sap/ui/model/type/Integer.js +1 -1
  306. package/src/sap/ui/model/type/String.js +1 -1
  307. package/src/sap/ui/model/type/Time.js +1 -1
  308. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  309. package/src/sap/ui/model/type/Unit.js +1 -4
  310. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  311. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  312. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  313. package/src/sap/ui/test/Opa.js +14 -2
  314. package/src/sap/ui/test/Opa5.js +61 -10
  315. package/src/sap/ui/test/TestUtils.js +6 -2
  316. package/src/sap/ui/test/generic/GenericTestCollection.js +11 -1
  317. package/src/sap/ui/test/generic/TestBase.js +1 -1
  318. package/src/sap/ui/thirdparty/datajs.js +13 -10
  319. package/src/sap/ui/thirdparty/jquery.js +1 -1
  320. package/src/sap/ui/util/Storage.js +1 -1
  321. package/src/ui5loader-autoconfig.js +49 -59
  322. package/src/ui5loader.js +1 -1
  323. package/src/sap/ui/core/routing/async/Route.js +0 -186
  324. package/src/sap/ui/core/routing/async/Target.js +0 -712
  325. package/src/sap/ui/core/routing/async/TargetCache.js +0 -196
  326. package/src/sap/ui/core/routing/async/Targets.js +0 -130
  327. package/src/sap/ui/thirdparty/iscroll-lite.js +0 -603
  328. package/src/sap/ui/thirdparty/iscroll.js +0 -1104
  329. package/src/sap/ui/thirdparty/mobiscroll/css/mobiscroll-core.css +0 -416
  330. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js +0 -127
  331. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-datetime.js +0 -818
  332. package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-scroller.js +0 -1264
  333. package/src/sap/ui/thirdparty/swipe-view.js +0 -560
@@ -144,8 +144,8 @@ sap.ui.define([
144
144
  /**
145
145
  * Adds the given paths to $select of the given query options.
146
146
  *
147
- * @param {object} mQueryOptions The query options
148
- * @param {string[]} aSelectPaths The paths to add to $select
147
+ * @param {object} mQueryOptions - The query options to be MODIFIED
148
+ * @param {string[]} aSelectPaths - The paths to add to $select
149
149
  *
150
150
  * @public
151
151
  */
@@ -237,9 +237,10 @@ sap.ui.define([
237
237
  * Recursively merges $select and $expand from mQueryOptions into mAggregatedQueryOptions.
238
238
  * All other query options in mAggregatedQueryOptions remain untouched.
239
239
  *
240
- * @param {object} mAggregatedQueryOptions The aggregated query options
241
- * @param {object} mQueryOptions The query options to merge into the aggregated query
242
- * options
240
+ * @param {object} mAggregatedQueryOptions
241
+ * The aggregated query options to be MODIFIED
242
+ * @param {object} mQueryOptions
243
+ * The read-only query options to merge into the aggregated query options
243
244
  *
244
245
  * @public
245
246
  */
@@ -493,7 +494,7 @@ sap.ui.define([
493
494
  *
494
495
  * $expand must not contain collection-valued navigation properties.
495
496
  *
496
- * @param {object} mQueryOptions - The query options
497
+ * @param {object} mQueryOptions - The read-only query options
497
498
  * @returns {string[]} The paths
498
499
  *
499
500
  * @public
@@ -591,8 +592,6 @@ sap.ui.define([
591
592
  * response JSON object (if available)
592
593
  * <li> <code>isConcurrentModification</code>: (optional) <code>true</code> In case of a
593
594
  * concurrent modification detected via ETags (i.e. HTTP status code 412)
594
- * <li> <code>strictHandlingFailed</code>: (optional) <code>true</code> In case of HTTP
595
- * status code 412 and response header "Preference-Applied:handling=strict"
596
595
  * <li> <code>message</code>: Error message
597
596
  * <li> <code>requestUrl</code>: (optional) The absolute request URL
598
597
  * <li> <code>resourcePath</code>: (optional) The path by which this resource has
@@ -602,9 +601,11 @@ sap.ui.define([
602
601
  * that header value was an HTTP date or a delay in seconds.
603
602
  * <li> <code>status</code>: HTTP status code
604
603
  * <li> <code>statusText</code>: (optional) HTTP status text
604
+ * <li> <code>strictHandlingFailed</code>: (optional) <code>true</code> In case of HTTP
605
+ * status code 412 and response header "Preference-Applied:handling=strict"
605
606
  * </ul>
606
607
  * @see <a href=
607
- * "http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Representing_Errors_in"
608
+ * "https://docs.oasis-open.org/odata/odata-json-format/v4.0/odata-json-format-v4.0.html#_Representing_Errors_in"
608
609
  * >"19 Error Response"</a>
609
610
  *
610
611
  * @public
@@ -710,6 +711,10 @@ sap.ui.define([
710
711
  * <code>null</code> value
711
712
  *
712
713
  * @public
714
+ * @see .deleteProperty
715
+ * @see .drillDown
716
+ * @see .inheritPathValue
717
+ * @see .makeUpdateData
713
718
  */
714
719
  createMissing : function (oObject, aSegments) {
715
720
  aSegments.reduce(function (oCurrent, sSegment, i) {
@@ -807,7 +812,8 @@ sap.ui.define([
807
812
  * URL of the service document used to resolve relative request URLs
808
813
  * @returns {Error[]}
809
814
  * One error for each request given, suitable for
810
- * {@link sap.ui.model.odata.v4.ODataModel#reportError}
815
+ * {@link sap.ui.model.odata.v4.ODataModel#reportError} and marked as
816
+ * <code>decomposed</code>
811
817
  *
812
818
  * @public
813
819
  */
@@ -842,6 +848,7 @@ sap.ui.define([
842
848
  return sContentID === oRequest.$ContentID;
843
849
  }
844
850
 
851
+ oClone.decomposed = true;
845
852
  oClone.error = _Helper.clone(oError.error);
846
853
  oClone.requestUrl = sServiceUrl + oRequest.url;
847
854
  oClone.resourcePath = oRequest.$resourcePath;
@@ -893,6 +900,10 @@ sap.ui.define([
893
900
  * @param {string} sPath - Some relative path
894
901
  *
895
902
  * @public
903
+ * @see .createMissing
904
+ * @see .drillDown
905
+ * @see .inheritPathValue
906
+ * @see .makeUpdateData
896
907
  */
897
908
  deleteProperty : function (oObject, sPath) {
898
909
  var aSegments;
@@ -948,6 +959,10 @@ sap.ui.define([
948
959
  * into void
949
960
  *
950
961
  * @public
962
+ * @see .createMissing
963
+ * @see .deleteProperty
964
+ * @see .inheritPathValue
965
+ * @see .makeUpdateData
951
966
  */
952
967
  drillDown : function (oObject, vSegments) {
953
968
  if (typeof vSegments === "string") {
@@ -1002,10 +1017,8 @@ sap.ui.define([
1002
1017
  * Extracts the mergeable query options "$expand" and "$select" from the given ones, returns
1003
1018
  * them as a new map while replacing their value with "~" in the old map.
1004
1019
  *
1005
- * @param {object} mQueryOptions
1006
- * The original query options, will be modified
1007
- * @returns {object}
1008
- * The extracted query options
1020
+ * @param {object} mQueryOptions - The original query options to be MODIFIED
1021
+ * @returns {object} The extracted query options
1009
1022
  *
1010
1023
  * @public
1011
1024
  */
@@ -1666,7 +1679,8 @@ sap.ui.define([
1666
1679
  * care of the details).
1667
1680
  *
1668
1681
  * @param {object|object[]} vEntityOrCollection - The entity (collection)
1669
- * @param {object} mQueryOptions - The query options (only $select and $expand required)
1682
+ * @param {object} mQueryOptions
1683
+ * The read-only query options (only $select and $expand required)
1670
1684
  * @returns {string[]}
1671
1685
  * A list of paths relative to vEntityOrCollection for which the property value is missing
1672
1686
  * @throws {Error} If there is a path containing "*"
@@ -1753,7 +1767,7 @@ sap.ui.define([
1753
1767
  * Returns the query options corresponding to the given path.
1754
1768
  *
1755
1769
  * @param {object} [mQueryOptions]
1756
- * A map of query options as returned by
1770
+ * A map of read-only query options as returned by
1757
1771
  * {@link sap.ui.model.odata.v4.ODataModel#buildQueryOptions}
1758
1772
  * @param {string} sPath
1759
1773
  * The path of the cache value in the cache
@@ -1944,6 +1958,10 @@ sap.ui.define([
1944
1958
  * untolerated <code>null</code> value
1945
1959
  *
1946
1960
  * @public
1961
+ * @see .createMissing
1962
+ * @see .deleteProperty
1963
+ * @see .drillDown
1964
+ * @see .makeUpdateData
1947
1965
  */
1948
1966
  inheritPathValue : function (aSegments, oSource, oTarget, bTolerateNull) {
1949
1967
  aSegments.forEach(function (sSegment, i) {
@@ -1995,7 +2013,7 @@ sap.ui.define([
1995
2013
  * key predicate.
1996
2014
  *
1997
2015
  * @param {object} [mCacheQueryOptions]
1998
- * A map of query options as returned by
2016
+ * A read-only map of query options as returned by
1999
2017
  * {@link sap.ui.model.odata.v4.ODataModel#buildQueryOptions}
2000
2018
  * @param {string[]} aPaths
2001
2019
  * The "14.5.11 Expression edm:NavigationPropertyPath" or
@@ -2225,7 +2243,7 @@ sap.ui.define([
2225
2243
  * ok, because within all known scenarios such combinations do not happen.
2226
2244
  *
2227
2245
  * @param {string} sPropertyPath The path to the structural property as meta path
2228
- * @param {object} [mQueryOptions] The query options to be analyzed
2246
+ * @param {object} [mQueryOptions] The read-only query options to be analyzed
2229
2247
  * @returns {boolean} Whether the property for the given path was already selected
2230
2248
  *
2231
2249
  * @public
@@ -2305,6 +2323,10 @@ sap.ui.define([
2305
2323
  * The resulting object
2306
2324
  *
2307
2325
  * @public
2326
+ * @see .createMissing
2327
+ * @see .deleteProperty
2328
+ * @see .drillDown
2329
+ * @see .inheritPathValue
2308
2330
  */
2309
2331
  makeUpdateData : function (aPropertyPath, vValue, bUpdating) {
2310
2332
  return aPropertyPath.reduceRight(function (vValue0, sSegment) {
@@ -2328,7 +2350,7 @@ sap.ui.define([
2328
2350
  * Ensures that the original map is left unchanged, but creates a copy only if necessary.
2329
2351
  *
2330
2352
  * @param {object} [mQueryOptions]
2331
- * The map of query options
2353
+ * The read-only map of query options
2332
2354
  * @param {string} [sOrderby]
2333
2355
  * The new value for the query option "$orderby"
2334
2356
  * @param {string[]} [aFilters]
@@ -2638,10 +2660,8 @@ sap.ui.define([
2638
2660
  /**
2639
2661
  * Adds the key properties of the given entity type to $select of the given query options.
2640
2662
  *
2641
- * @param {object} mQueryOptions
2642
- * The query options
2643
- * @param {object} oType
2644
- * The entity type's metadata "JSON"
2663
+ * @param {object} mQueryOptions - The query options to be MODIFIED
2664
+ * @param {object} oType - The entity type's metadata "JSON"
2645
2665
  *
2646
2666
  * @public
2647
2667
  */
@@ -2939,7 +2959,7 @@ sap.ui.define([
2939
2959
  * regarding order and count.
2940
2960
  *
2941
2961
  * @param {object} mChangeListeners - A map of change listeners by path
2942
- * @param {object} mQueryOptions - The query options
2962
+ * @param {object} mQueryOptions - The read-only query options
2943
2963
  * @param {string} sPath
2944
2964
  * The path of the target entity relative to mChangeListeners and mQueryOptions
2945
2965
  * @param {object} oTargetEntity - The target entity
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * Extension for Data Aggregation Version 4.0"; must already be normalized by
26
26
  * {@link _AggregationHelper.buildApply}
27
27
  * @param {object} mQueryOptions
28
- * A map of key-value pairs representing the query string
28
+ * A map of key-value pairs representing the query string (requires "copy on write"!)
29
29
  * @returns {sap.ui.model.odata.v4.lib._Cache}
30
30
  * The cache
31
31
  */
@@ -297,7 +297,7 @@ sap.ui.define([
297
297
  * @param {string} sMetaPath
298
298
  * The meta path corresponding to the resource path
299
299
  * @param {object} [mQueryOptions]
300
- * A map of key-value pairs representing the query string
300
+ * A read-only map of key-value pairs representing the query string
301
301
  * @param {boolean} [bDropSystemQueryOptions]
302
302
  * Whether all system query options are dropped (useful for non-GET requests)
303
303
  * @param {boolean} [bSortExpandSelect]
@@ -450,34 +450,53 @@ sap.ui.define([
450
450
 
451
451
  /**
452
452
  * Throws an error if the new request uses strict handling and there is a change set containing
453
- * a strict handling request except the one at index <code>iChangeSetNo</code>.
453
+ * a strict handling request except the one at index <code>iChangeSetNo</code>. On the other
454
+ * hand, in case of the "odata.continue-on-error" preference, every request using strict
455
+ * handling must belong to its own change set.
454
456
  *
455
457
  * @param {object} oRequest
456
- * The new request
458
+ * The new request or <code>null</code> to re-check all change sets as a preparation for the
459
+ * "odata.continue-on-error" preference
457
460
  * @param {object[]} aRequests
458
461
  * The batch queue
459
- * @param {number} iChangeSetNo
460
- * The index of the irrelevant change set
462
+ * @param {number} [iChangeSetNo]
463
+ * The index of the irrelevant change set; ignored for a <code>null</code> request
461
464
  * @throws {Error}
462
465
  * If there is a conflicting change set
463
466
  *
464
467
  * @private
465
468
  */
466
469
  _Requestor.prototype.checkConflictingStrictRequest = function (oRequest, aRequests,
467
- iChangeSetNo) {
470
+ iChangeSetNo) {
471
+ function hasManyWithStrictHandling(aChangeSet) {
472
+ return aChangeSet.filter(isUsingStrictHandling).length > 1;
473
+ }
474
+
468
475
  function isOtherChangeSetWithStrictHandling(aChangeSet, i) {
469
476
  return iChangeSetNo !== i && aChangeSet.some(isUsingStrictHandling);
470
477
  }
471
478
 
472
479
  function isUsingStrictHandling(oRequest0) {
473
- return oRequest0.headers.Prefer === "handling=strict";
480
+ return oRequest0.headers.Prefer?.includes("handling=strict");
474
481
  }
475
482
 
476
- // do not look past aRequests.iChangeSet because these cannot be change sets
477
- if (isUsingStrictHandling(oRequest)
478
- && aRequests.slice(0, aRequests.iChangeSet + 1)
479
- .some(isOtherChangeSetWithStrictHandling)) {
480
- throw new Error("All requests with strict handling must belong to the same change set");
483
+ const sMessage = "Each request with strict handling must belong to its own change set due"
484
+ + ' to the "odata.continue-on-error" preference';
485
+ const aChangeSets = aRequests.slice(0, aRequests.iChangeSet + 1);
486
+ if (oRequest === null) {
487
+ if (aChangeSets.some(hasManyWithStrictHandling)) {
488
+ throw new Error(sMessage);
489
+ }
490
+ } else if (aRequests.bContinueOnError) {
491
+ if (aChangeSets[iChangeSetNo].length
492
+ && (isUsingStrictHandling(oRequest)
493
+ || isUsingStrictHandling(aChangeSets[iChangeSetNo][0]))) {
494
+ throw new Error(sMessage);
495
+ }
496
+ } else if (isUsingStrictHandling(oRequest)
497
+ && aChangeSets.some(isOtherChangeSetWithStrictHandling)) {
498
+ throw new Error(
499
+ "All requests with strict handling must belong to the same change set");
481
500
  }
482
501
  };
483
502
 
@@ -689,7 +708,7 @@ sap.ui.define([
689
708
  *
690
709
  * @param {string} sMetaPath
691
710
  * The meta path corresponding to the resource path
692
- * @param {object} [mQueryOptions] The query options
711
+ * @param {object} [mQueryOptions] The read-only query options
693
712
  * @param {boolean} [bDropSystemQueryOptions]
694
713
  * Whether all system query options are dropped (useful for non-GET requests)
695
714
  * @param {boolean} [bSortExpandSelect]
@@ -793,7 +812,7 @@ sap.ui.define([
793
812
  *
794
813
  * @param {string} _sMetaPath
795
814
  * The meta path corresponding to the resource path
796
- * @param {object} mQueryOptions The query options
815
+ * @param {object} mQueryOptions The read-only query options
797
816
  * @param {function (string,any)} fnResultHandler
798
817
  * The function to process the converted options getting the name and the value
799
818
  * @param {boolean} [bDropSystemQueryOptions]
@@ -1793,7 +1812,8 @@ sap.ui.define([
1793
1812
  * other group ID values, the request is added to the given group and you can use
1794
1813
  * {@link #submitBatch} to send all requests in that group. This group lock will be unlocked
1795
1814
  * immediately, even if the request itself is queued. The request is rejected if the lock is
1796
- * already canceled.
1815
+ * already canceled. For a group lock w/o a serial number, a non-GET is put into a change set
1816
+ * of its own (unless <code>bAtFront</code> is used).
1797
1817
  * @param {object} [mHeaders]
1798
1818
  * Map of request-specific headers, overriding both the mandatory OData V4 headers and the
1799
1819
  * default headers given to the factory. This map of headers must not contain
@@ -1843,8 +1863,10 @@ sap.ui.define([
1843
1863
  * <code>oGroupLock</code> is already canceled.
1844
1864
  * @throws {Error} If
1845
1865
  * <ul>
1846
- * <li>group ID is '$cached'. The error has a property <code>$cached = true</code>
1847
- * <li>group ID is '$single' and there is already an existing batch queue for this group
1866
+ * <li>group ID is '$cached'; the error has a property <code>$cached = true</code>,
1867
+ * <li>group ID is '$single' and there is already an existing batch queue for this group,
1868
+ * <li>the {@link #checkConflictingStrictRequest rules for strict handling} w.r.t. change
1869
+ * sets are violated
1848
1870
  * </ul>
1849
1871
  * @public
1850
1872
  */
@@ -1911,13 +1933,18 @@ sap.ui.define([
1911
1933
  } else if (bAtFront) { // add at front of first change set
1912
1934
  aRequests[0].unshift(oRequest);
1913
1935
  } else { // push into change set which was current when the request was initiated
1936
+ if (!iRequestSerialNumber && aRequests[aRequests.iChangeSet].length) {
1937
+ that.addChangeSet(sGroupId);
1938
+ }
1914
1939
  iChangeSetNo = aRequests.iChangeSet;
1915
1940
  while (aRequests[iChangeSetNo].iSerialNumber > iRequestSerialNumber) {
1916
1941
  iChangeSetNo -= 1;
1917
1942
  }
1918
1943
  that.checkConflictingStrictRequest(oRequest, aRequests, iChangeSetNo);
1919
-
1920
1944
  aRequests[iChangeSetNo].push(oRequest);
1945
+ if (!iRequestSerialNumber) {
1946
+ that.addChangeSet(sGroupId);
1947
+ }
1921
1948
  }
1922
1949
  if (sGroupId === "$single") {
1923
1950
  that.submitBatch("$single").catch(that.oModelInterface.getReporter());
@@ -2146,11 +2173,15 @@ sap.ui.define([
2146
2173
  *
2147
2174
  * @param {string} sGroupId
2148
2175
  * The group ID
2176
+ * @throws {Error} If the {@link #checkConflictingStrictRequest rules for strict handling}
2177
+ * w.r.t. change sets are violated
2149
2178
  *
2150
2179
  * @public
2151
2180
  */
2152
2181
  _Requestor.prototype.setContinueOnError = function (sGroupId) {
2153
- this.getOrCreateBatchQueue(sGroupId).bContinueOnError = true;
2182
+ const aRequests = this.getOrCreateBatchQueue(sGroupId);
2183
+ this.checkConflictingStrictRequest(null, aRequests);
2184
+ aRequests.bContinueOnError = true;
2154
2185
  };
2155
2186
 
2156
2187
  /**
@@ -764,7 +764,7 @@ sap.ui.define([
764
764
 
765
765
  /**
766
766
  * Formats a given internal value into a literal suitable for usage in OData V2 URLs. See
767
- * http://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem.
767
+ * https://www.odata.org/documentation/odata-version-2-0/overview#AbstractTypeSystem.
768
768
  *
769
769
  * @param {any} vValue
770
770
  * The value
@@ -227,7 +227,7 @@ sap.ui.define([
227
227
  *
228
228
  * @extends sap.ui.model.Model
229
229
  * @public
230
- * @version 1.136.4
230
+ * @version 1.139.0
231
231
  */
232
232
  var ResourceModel = Model.extend("sap.ui.model.resource.ResourceModel", /** @lends sap.ui.model.resource.ResourceModel.prototype */ {
233
233
 
@@ -19,7 +19,7 @@ sap.ui.define(["sap/ui/core/Lib", 'sap/ui/model/SimpleType', 'sap/ui/model/Forma
19
19
  * @extends sap.ui.model.SimpleType
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.4
22
+ * @version 1.139.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions]
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.model.CompositeType
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.136.4
37
+ * @version 1.139.0
38
38
  *
39
39
  * @public
40
40
  * @param {object} [oFormatOptions]
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.model.SimpleType
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.136.4
30
+ * @version 1.139.0
31
31
  *
32
32
  * @public
33
33
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.model.CompositeType
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.4
28
+ * @version 1.139.0
29
29
  *
30
30
  * @alias sap.ui.model.type.DateInterval
31
31
  * @param {object} [oFormatOptions]
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.Date
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.4
22
+ * @version 1.139.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.DateInterval
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.4
22
+ * @version 1.139.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.model.SimpleType
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.4
28
+ * @version 1.139.0
29
29
  *
30
30
  * @public
31
31
  * @param {object} [oFormatOptions]
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.model.SimpleType
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.136.4
29
+ * @version 1.139.0
30
30
  *
31
31
  * @public
32
32
  * @param {object} [oFormatOptions]
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.model.SimpleType
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.136.4
29
+ * @version 1.139.0
30
30
  *
31
31
  * @public
32
32
  * @param {object} [oFormatOptions]
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.model.SimpleType
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.136.4
28
+ * @version 1.139.0
29
29
  *
30
30
  * @alias sap.ui.model.type.String
31
31
  * @param {object} [oFormatOptions]
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.Date
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.4
22
+ * @version 1.139.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
19
19
  * @extends sap.ui.model.type.DateInterval
20
20
  *
21
21
  * @author SAP SE
22
- * @version 1.136.4
22
+ * @version 1.139.0
23
23
  *
24
24
  * @public
25
25
  * @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  *
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.136.4
52
+ * @version 1.139.0
53
53
  *
54
54
  * @public
55
55
  * @param {object} [oFormatOptions]
@@ -325,9 +325,6 @@ sap.ui.define([
325
325
  */
326
326
  Unit.prototype.processPartTypes = function (aPartTypes) {
327
327
  const oQuantityType = aPartTypes[0];
328
- if (oQuantityType?.isA(["sap.ui.model.odata.type.Int", "sap.ui.model.odata.type.Int64"])) {
329
- this.iScale = 0;
330
- }
331
328
  if (oQuantityType?.isA("sap.ui.model.odata.type.Decimal")) {
332
329
  this.iScale = oQuantityType.oConstraints?.scale || 0;
333
330
  }
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.model.ClientModel
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.136.4
50
+ * @version 1.139.0
51
51
  *
52
52
  * @param {XMLDocument|string} oData
53
53
  * Either the URL where to load the XML from or an XML document
@@ -53,7 +53,7 @@ sap.ui.define(['sap/ui/core/Core', "sap/ui/VersionInfo", "sap/ui/core/Lib"],
53
53
  * @namespace
54
54
  *
55
55
  * @author SAP SE
56
- * @version 1.136.4
56
+ * @version 1.139.0
57
57
  *
58
58
  * @public
59
59
  * @since 1.48.0
@@ -30,7 +30,7 @@ sap.ui.define([ 'sap/ui/core/ElementRegistry', 'sap/ui/core/Control', "sap/ui/qu
30
30
  * @namespace
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.136.4
33
+ * @version 1.139.0
34
34
  *
35
35
  * @public
36
36
  * @since 1.48.0
@@ -611,8 +611,7 @@ sap.ui.define([
611
611
  try {
612
612
  options.success.apply(this, arguments);
613
613
  } catch (oError) {
614
- var sErrorMessage = "Failure in Opa success function\n" + getMessageForException(oError);
615
- addErrorMessageToOptions(sErrorMessage, options, oError.stack);
614
+ this._handleErrorMessage(oError, options);
616
615
  deferred.reject(options);
617
616
  return {error: true, arguments: arguments};
618
617
  } finally {
@@ -630,6 +629,19 @@ sap.ui.define([
630
629
  return _this;
631
630
  },
632
631
 
632
+ _handleErrorMessage: function (oError, options) {
633
+ var sErrorMessage = "Failure in Opa success function\n" + getMessageForException(oError);
634
+ addErrorMessageToOptions(sErrorMessage, options, oError.stack);
635
+ },
636
+
637
+ _ensureNewlyAddedWaitForStatementsPrepended: function (oWaitForCounter, options) {
638
+ ensureNewlyAddedWaitForStatementsPrepended(oWaitForCounter, options);
639
+ },
640
+
641
+ _getQueue : function () {
642
+ return queue.slice(0);
643
+ },
644
+
633
645
  /**
634
646
  * Calls the static extendConfig function in the Opa namespace {@link sap.ui.test.Opa.extendConfig}
635
647
  * @public