@openui5/sap.ui.core 1.95.0 → 1.96.3

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 (338) hide show
  1. package/.eslintrc.json +12 -0
  2. package/.reuse/dep5 +10 -5
  3. package/THIRDPARTY.txt +17 -8
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +1 -1
  6. package/src/jquery.sap.properties.js +1 -1
  7. package/src/jquery.sap.resources.js +1 -1
  8. package/src/jquery.sap.script.js +1 -1
  9. package/src/jquery.sap.storage.js +3 -3
  10. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  11. package/src/sap/base/util/restricted/_castArray.js +1 -1
  12. package/src/sap/base/util/restricted/_compact.js +1 -1
  13. package/src/sap/base/util/restricted/_curry.js +1 -1
  14. package/src/sap/base/util/restricted/_debounce.js +1 -1
  15. package/src/sap/base/util/restricted/_difference.js +1 -1
  16. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  17. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  18. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  19. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  21. package/src/sap/base/util/restricted/_flatten.js +1 -1
  22. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  23. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  24. package/src/sap/base/util/restricted/_intersection.js +1 -1
  25. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  26. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  27. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  28. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isNil.js +1 -1
  30. package/src/sap/base/util/restricted/_max.js +1 -1
  31. package/src/sap/base/util/restricted/_merge.js +1 -1
  32. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  33. package/src/sap/base/util/restricted/_min.js +1 -1
  34. package/src/sap/base/util/restricted/_omit.js +1 -1
  35. package/src/sap/base/util/restricted/_pick.js +1 -1
  36. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  37. package/src/sap/base/util/restricted/_throttle.js +1 -1
  38. package/src/sap/base/util/restricted/_toArray.js +1 -1
  39. package/src/sap/base/util/restricted/_union.js +1 -1
  40. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  41. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  42. package/src/sap/base/util/restricted/_uniq.js +1 -1
  43. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  44. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  45. package/src/sap/base/util/restricted/_without.js +1 -1
  46. package/src/sap/base/util/restricted/_xor.js +1 -1
  47. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  48. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  49. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  50. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  51. package/src/sap/ui/Device.js +3 -3
  52. package/src/sap/ui/Global.js +6 -5
  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 +2 -2
  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 +2 -2
  62. package/src/sap/ui/core/BusyIndicator.js +1 -1
  63. package/src/sap/ui/core/Component.js +2 -3
  64. package/src/sap/ui/core/ComponentContainer.js +9 -3
  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 +6 -2
  68. package/src/sap/ui/core/Control.js +1 -1
  69. package/src/sap/ui/core/Core.js +64 -6
  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 +2 -2
  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 +3 -4
  80. package/src/sap/ui/core/IconPool.js +11 -0
  81. package/src/sap/ui/core/IconRenderer.js +4 -4
  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/Patcher.js +27 -3
  97. package/src/sap/ui/core/Placeholder.js +4 -4
  98. package/src/sap/ui/core/RenderManager.js +20 -4
  99. package/src/sap/ui/core/Renderer.js +1 -1
  100. package/src/sap/ui/core/ResizeHandler.js +1 -1
  101. package/src/sap/ui/core/ScrollBar.js +1 -1
  102. package/src/sap/ui/core/SeparatorItem.js +1 -1
  103. package/src/sap/ui/core/Title.js +1 -1
  104. package/src/sap/ui/core/TooltipBase.js +1 -1
  105. package/src/sap/ui/core/UIArea.js +1 -1
  106. package/src/sap/ui/core/UIComponent.js +3 -4
  107. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  108. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  109. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  110. package/src/sap/ui/core/XMLComposite.js +2 -2
  111. package/src/sap/ui/core/XMLCompositeMetadata.js +2 -2
  112. package/src/sap/ui/core/XMLTemplateProcessor.js +112 -37
  113. package/src/sap/ui/core/_IconRegistry.js +31 -98
  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/NumberFormat.js +16 -1
  121. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  122. package/src/sap/ui/core/library.js +3 -3
  123. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  124. package/src/sap/ui/core/message/Message.js +1 -1
  125. package/src/sap/ui/core/message/MessageManager.js +1 -1
  126. package/src/sap/ui/core/message/MessageParser.js +1 -1
  127. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  128. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  129. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  130. package/src/sap/ui/core/mvc/JSView.js +1 -1
  131. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  132. package/src/sap/ui/core/mvc/View.js +1 -1
  133. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  134. package/src/sap/ui/core/mvc/XMLViewRenderer.js +17 -20
  135. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  136. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  137. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  138. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  139. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  140. package/src/sap/ui/core/routing/Router.js +8 -1
  141. package/src/sap/ui/core/routing/async/Target.js +2 -4
  142. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  143. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  144. package/src/sap/ui/core/service/Service.js +1 -1
  145. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  146. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  147. package/src/sap/ui/core/support/Plugin.js +1 -1
  148. package/src/sap/ui/core/support/Support.js +1 -1
  149. package/src/sap/ui/core/support/plugins/ControlTree.js +37 -43
  150. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  151. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  153. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  154. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  156. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  157. package/src/sap/ui/core/themes/base/Icon.less +9 -0
  158. package/src/sap/ui/core/themes/base/SAP-icons.css +2 -0
  159. package/src/sap/ui/core/themes/base/SAP-icons.less +10 -0
  160. package/src/sap/ui/core/themes/base/base.less +543 -390
  161. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  162. package/src/sap/ui/core/themes/base/global.less +38 -0
  163. package/src/sap/ui/core/themes/base/library.source.less +1 -2
  164. package/src/sap/ui/core/themes/sap_hcb/global.less +34 -0
  165. package/src/sap/ui/core/theming/Parameters.js +22 -142
  166. package/src/sap/ui/core/theming/ThemeHelper.js +26 -37
  167. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  168. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  169. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  170. package/src/sap/ui/core/tmpl/Template.js +1 -1
  171. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  172. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  173. package/src/sap/ui/core/util/Export.js +1 -1
  174. package/src/sap/ui/core/util/ExportCell.js +1 -1
  175. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  176. package/src/sap/ui/core/util/ExportRow.js +1 -1
  177. package/src/sap/ui/core/util/ExportType.js +1 -1
  178. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  179. package/src/sap/ui/core/util/File.js +1 -1
  180. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  181. package/src/sap/ui/core/util/MockServer.js +1 -1
  182. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  183. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +4 -0
  184. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +36 -28
  185. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +6 -3
  186. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  187. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  188. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  189. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  190. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  191. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  192. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  193. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  194. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  195. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  196. package/src/sap/ui/debug/ControlTree.js +1 -1
  197. package/src/sap/ui/debug/DebugEnv.js +1 -1
  198. package/src/sap/ui/debug/Highlighter.js +8 -2
  199. package/src/sap/ui/debug/PropertyList.js +1 -1
  200. package/src/sap/ui/model/Binding.js +174 -118
  201. package/src/sap/ui/model/ClientContextBinding.js +1 -1
  202. package/src/sap/ui/model/ClientListBinding.js +1 -3
  203. package/src/sap/ui/model/ClientModel.js +4 -4
  204. package/src/sap/ui/model/ClientPropertyBinding.js +1 -1
  205. package/src/sap/ui/model/ClientTreeBinding.js +1 -1
  206. package/src/sap/ui/model/ClientTreeBindingAdapter.js +28 -23
  207. package/src/sap/ui/model/CompositeBinding.js +98 -77
  208. package/src/sap/ui/model/CompositeDataState.js +2 -2
  209. package/src/sap/ui/model/CompositeType.js +2 -2
  210. package/src/sap/ui/model/Context.js +4 -2
  211. package/src/sap/ui/model/ContextBinding.js +6 -14
  212. package/src/sap/ui/model/DataState.js +2 -2
  213. package/src/sap/ui/model/Filter.js +255 -53
  214. package/src/sap/ui/model/FilterOperator.js +1 -1
  215. package/src/sap/ui/model/FilterProcessor.js +27 -17
  216. package/src/sap/ui/model/FilterType.js +1 -1
  217. package/src/sap/ui/model/ListBinding.js +180 -117
  218. package/src/sap/ui/model/MetaModel.js +4 -9
  219. package/src/sap/ui/model/Model.js +345 -294
  220. package/src/sap/ui/model/PropertyBinding.js +92 -58
  221. package/src/sap/ui/model/SelectionModel.js +2 -2
  222. package/src/sap/ui/model/SimpleType.js +2 -2
  223. package/src/sap/ui/model/Sorter.js +1 -1
  224. package/src/sap/ui/model/SorterProcessor.js +1 -1
  225. package/src/sap/ui/model/StaticBinding.js +1 -1
  226. package/src/sap/ui/model/TreeAutoExpandMode.js +2 -2
  227. package/src/sap/ui/model/TreeBinding.js +1 -1
  228. package/src/sap/ui/model/TreeBindingAdapter.js +251 -100
  229. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +16 -9
  230. package/src/sap/ui/model/TreeBindingUtils.js +1 -0
  231. package/src/sap/ui/model/Type.js +1 -1
  232. package/src/sap/ui/model/analytics/AnalyticalBinding.js +41 -29
  233. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +1 -1
  234. package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +1 -1
  235. package/src/sap/ui/model/analytics/BatchResponseCollector.js +1 -1
  236. package/src/sap/ui/model/analytics/ODataModelAdapter.js +1 -1
  237. package/src/sap/ui/model/analytics/odata4analytics.js +3 -2
  238. package/src/sap/ui/model/json/JSONListBinding.js +8 -5
  239. package/src/sap/ui/model/json/JSONModel.js +21 -14
  240. package/src/sap/ui/model/json/JSONPropertyBinding.js +4 -3
  241. package/src/sap/ui/model/json/JSONTreeBinding.js +1 -1
  242. package/src/sap/ui/model/message/MessageListBinding.js +6 -3
  243. package/src/sap/ui/model/message/MessageModel.js +20 -14
  244. package/src/sap/ui/model/message/MessagePropertyBinding.js +2 -2
  245. package/src/sap/ui/model/odata/AnnotationHelper.js +1 -1
  246. package/src/sap/ui/model/odata/AnnotationParser.js +1 -1
  247. package/src/sap/ui/model/odata/CountMode.js +1 -1
  248. package/src/sap/ui/model/odata/Filter.js +1 -1
  249. package/src/sap/ui/model/odata/ODataAnnotations.js +2 -2
  250. package/src/sap/ui/model/odata/ODataContextBinding.js +1 -1
  251. package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
  252. package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
  253. package/src/sap/ui/model/odata/ODataMetaModel.js +2 -2
  254. package/src/sap/ui/model/odata/ODataMetadata.js +2 -2
  255. package/src/sap/ui/model/odata/ODataModel.js +2 -2
  256. package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -1
  257. package/src/sap/ui/model/odata/ODataTreeBinding.js +65 -33
  258. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +1 -1
  259. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +2 -2
  260. package/src/sap/ui/model/odata/ODataUtils.js +1 -1
  261. package/src/sap/ui/model/odata/OperationMode.js +1 -1
  262. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +1 -1
  263. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  264. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  265. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  266. package/src/sap/ui/model/odata/type/Date.js +1 -1
  267. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  268. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  269. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  270. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  271. package/src/sap/ui/model/odata/type/Double.js +1 -1
  272. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  273. package/src/sap/ui/model/odata/type/Int.js +1 -1
  274. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  275. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  276. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  277. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  278. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  279. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  280. package/src/sap/ui/model/odata/type/Single.js +1 -1
  281. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  282. package/src/sap/ui/model/odata/type/String.js +1 -1
  283. package/src/sap/ui/model/odata/type/Time.js +1 -1
  284. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  285. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  286. package/src/sap/ui/model/odata/v2/Context.js +59 -9
  287. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +2 -2
  288. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +1 -1
  289. package/src/sap/ui/model/odata/v2/ODataListBinding.js +212 -45
  290. package/src/sap/ui/model/odata/v2/ODataModel.js +139 -59
  291. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +2 -2
  292. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +129 -0
  293. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  294. package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -3
  295. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +37 -26
  296. package/src/sap/ui/model/odata/v4/ODataListBinding.js +22 -12
  297. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +30 -20
  298. package/src/sap/ui/model/odata/v4/ODataModel.js +4 -4
  299. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +37 -28
  300. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  301. package/src/sap/ui/model/odata/v4/lib/_Cache.js +3 -5
  302. package/src/sap/ui/model/odata/v4/lib/_Helper.js +2 -2
  303. package/src/sap/ui/model/resource/ResourceModel.js +2 -1
  304. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  305. package/src/sap/ui/model/type/Boolean.js +2 -2
  306. package/src/sap/ui/model/type/Currency.js +2 -2
  307. package/src/sap/ui/model/type/Date.js +9 -3
  308. package/src/sap/ui/model/type/DateInterval.js +4 -2
  309. package/src/sap/ui/model/type/DateTime.js +2 -2
  310. package/src/sap/ui/model/type/DateTimeInterval.js +2 -2
  311. package/src/sap/ui/model/type/FileSize.js +4 -2
  312. package/src/sap/ui/model/type/Float.js +4 -2
  313. package/src/sap/ui/model/type/Integer.js +4 -2
  314. package/src/sap/ui/model/type/String.js +2 -2
  315. package/src/sap/ui/model/type/Time.js +2 -2
  316. package/src/sap/ui/model/type/TimeInterval.js +2 -2
  317. package/src/sap/ui/model/type/Unit.js +14 -7
  318. package/src/sap/ui/model/xml/XMLListBinding.js +15 -9
  319. package/src/sap/ui/model/xml/XMLModel.js +67 -40
  320. package/src/sap/ui/model/xml/XMLPropertyBinding.js +4 -4
  321. package/src/sap/ui/model/xml/XMLTreeBinding.js +5 -4
  322. package/src/sap/ui/performance/trace/Interaction.js +1 -1
  323. package/src/sap/ui/qunit/QUnitUtils.js +3 -2
  324. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  325. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +9 -11
  326. package/src/sap/ui/test/matchers/I18NText.js +2 -2
  327. package/src/sap/ui/test/opaQunit.js +1 -1
  328. package/src/sap/ui/test/starter/createSuite.js +2 -1
  329. package/src/sap/ui/thirdparty/IPv6.js +2 -2
  330. package/src/sap/ui/thirdparty/SecondLevelDomains.js +2 -2
  331. package/src/sap/ui/thirdparty/URI.js +14 -5
  332. package/src/sap/ui/thirdparty/URITemplate.js +2 -2
  333. package/src/sap/ui/thirdparty/jquery.js +9 -1
  334. package/src/sap/ui/thirdparty/qunit-2.js +1 -1
  335. package/src/sap/ui/thirdparty/qunit.js +1 -1
  336. package/src/sap/ui/util/Mobile.js +2 -20
  337. package/src/sap/ui/util/Storage.js +1 -1
  338. package/ui5.yaml +5 -2
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides class sap.ui.model.odata.TreeBindingAdapter
8
8
  sap.ui.define(["sap/base/util/each"],
9
9
  function(each) {
@@ -15,13 +15,20 @@ sap.ui.define(["sap/base/util/each"],
15
15
  *
16
16
  * This module is only for experimental and internal use!
17
17
  *
18
+ * @param {sap.ui.model.TreeBinding} oBinding
19
+ * The binding to add ListBinding functionality to
20
+ * @param {object} oControl
21
+ * The tree or tree table control using the given binding; the control is used for
22
+ * selection handling
23
+ *
18
24
  * @alias sap.ui.model.TreeBindingCompatibilityAdapter
19
25
  * @class
20
26
  * @protected
27
+ *
28
+ * @deprecated use {@link sap.ui.model.TreeBindingAdapter} instead
21
29
  */
22
- var TreeBindingCompatibilityAdapter = function (oBinding, oTable) {
30
+ var TreeBindingCompatibilityAdapter = function (oBinding, oControl) {
23
31
  // Code necessary for ClientTreeBinding
24
- var that = oTable;
25
32
  Object.assign(oBinding, {
26
33
  _init: function(bExpandFirstLevel) {
27
34
  this._bExpandFirstLevel = bExpandFirstLevel;
@@ -219,19 +226,19 @@ sap.ui.define(["sap/base/util/each"],
219
226
  this.toggleContext(this.getContextByIndex(iRowIndex));
220
227
  },
221
228
  storeSelection: function() {
222
- var aSelectedIndices = that.getSelectedIndices();
229
+ var aSelectedIndices = oControl.getSelectedIndices();
223
230
  var aSelectedContexts = [];
224
231
  each(aSelectedIndices, function(iIndex, iValue) {
225
- aSelectedContexts.push(that.getContextByIndex(iValue));
232
+ aSelectedContexts.push(oControl.getContextByIndex(iValue));
226
233
  });
227
234
  this._aSelectedContexts = aSelectedContexts;
228
235
  },
229
236
  restoreSelection: function() {
230
- that.clearSelection();
237
+ oControl.clearSelection();
231
238
  var _aSelectedContexts = this._aSelectedContexts;
232
239
  each(this.aContexts, function(iIndex, oContext) {
233
240
  if (((_aSelectedContexts ? _aSelectedContexts.indexOf(oContext) : -1)) >= 0) {
234
- that.addSelectionInterval(iIndex, iIndex);
241
+ oControl.addSelectionInterval(iIndex, iIndex);
235
242
  }
236
243
  });
237
244
  this._aSelectedContexts = undefined;
@@ -242,13 +249,13 @@ sap.ui.define(["sap/base/util/each"],
242
249
  },
243
250
  detachSelectionChanged: function() {}, // for compatibility
244
251
  clearSelection: function () {
245
- that._oSelection.clearSelection();
252
+ oControl._oSelection.clearSelection();
246
253
  },
247
254
  attachSort: function() {},
248
255
  detachSort: function() {}
249
256
  });
250
257
  // initialize the binding
251
- oBinding._init(oTable.getExpandFirstLevel());
258
+ oBinding._init(oControl.getExpandFirstLevel());
252
259
 
253
260
  };
254
261
 
@@ -3,6 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
+ /*eslint-disable max-len */
6
7
  sap.ui.define(function() {
7
8
  "use strict";
8
9
 
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/base/Object'],
19
19
  *
20
20
  * @extends sap.ui.base.Object
21
21
  * @public
22
- * @version 1.95.0
22
+ * @version 1.96.3
23
23
  */
24
24
  var Type = BaseObject.extend("sap.ui.model.Type", /** @lends sap.ui.model.Type.prototype */ {
25
25
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  // Disable some ESLint rules. camelcase (some "_" in names to indicate indexed variables (like in math)), valid-jsdoc (not completed yet), no-warning-comments (some TODOs are left)
8
8
  // All other warnings, errors should be resolved
9
- /*eslint camelcase:0, valid-jsdoc:0, no-warning-comments:0 */
9
+ /*eslint camelcase:0, valid-jsdoc:0, no-warning-comments:0, max-len:0 */
10
10
 
11
11
  // Provides class sap.ui.model.odata.ODataListBinding
12
12
  sap.ui.define([
@@ -52,7 +52,9 @@ sap.ui.define([
52
52
  * <li>if an associated property (e.g. text property) of an additional measure is contained in
53
53
  * the select binding parameter
54
54
  * <li>if a dimension or a measure of the current analytical info is not contained in the select
55
- * binding parameter
55
+ * binding parameter, unless the dimension or measure has been added automatically by the
56
+ * binding, because a property associated to the dimension or measure has been added as a
57
+ * "visible" or "inResult" column
56
58
  * </ul>
57
59
  *
58
60
  * @param {sap.ui.model.analytics.AnalyticalBinding} oBinding
@@ -61,16 +63,10 @@ sap.ui.define([
61
63
  * array if there are no additional select properties needed
62
64
  */
63
65
  function getAdditionalSelects(oBinding) {
64
- var oAnalyticalQueryRequest
66
+ var oColumn, aComputedSelect, sComputedSelect, oDimension, i, j, oMeasure, n, sPropertyName,
67
+ oAnalyticalQueryRequest
65
68
  = new odata4analytics.QueryResultRequest(oBinding.oAnalyticalQueryResult),
66
- aComputedSelect,
67
- sComputedSelect,
68
- oDimension,
69
- i,
70
- j,
71
- oMeasure,
72
- n,
73
- sPropertyName,
69
+
74
70
  aSelect = oBinding.mParameters.select.split(","),
75
71
  bError = trimAndCheckForDuplicates(aSelect, oBinding.sPath);
76
72
 
@@ -106,6 +102,10 @@ sap.ui.define([
106
102
  sPropertyName = aComputedSelect[i];
107
103
  j = aSelect.indexOf(sPropertyName);
108
104
  if (j < 0) {
105
+ oColumn = oBinding.mAnalyticalInfoByProperty[sPropertyName];
106
+ if (!oColumn || (!oColumn.visible && !oColumn.inResult)) {
107
+ continue; // ignore automatically added columns
108
+ }
109
109
  oLogger.warning("Ignored the 'select' binding parameter, because"
110
110
  + " it does not contain the property '" + sPropertyName + "'",
111
111
  oBinding.sPath);
@@ -248,10 +248,10 @@ sap.ui.define([
248
248
  * A comma-separated list of property names that need to be selected.<br/>
249
249
  * If the <code>select</code> parameter is given, it has to contain all properties that are
250
250
  * contained in the analytical information (see
251
- * {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo}) and their associated
252
- * dimensions and measures. It must not contain additional dimensions or measures or
253
- * associated properties for additional dimensions or measures. But it may contain additional
254
- * properties like a text property of a dimension that is also selected.<br/>
251
+ * {@link sap.ui.model.analytics.AnalyticalBinding#updateAnalyticalInfo}). It must not contain
252
+ * additional dimensions or measures or associated properties for additional dimensions or
253
+ * measures. But it may contain additional properties like a text property of a dimension that
254
+ * is also selected.<br/>
255
255
  * All properties of the <code>select</code> parameter are also considered in
256
256
  * {@link sap.ui.model.analytics.AnalyticalBinding#getDownloadUrl}.<br/>
257
257
  * The <code>select</code> parameter must not contain any duplicate entry.<br/>
@@ -1128,42 +1128,53 @@ sap.ui.define([
1128
1128
  /**
1129
1129
  * Updates the binding's structure with new analytical information.
1130
1130
  *
1131
- * Analytical information is the mapping of UI columns to properties in the bound OData entity set. Every column object contains
1132
- * the name of the bound property and in addition:
1131
+ * Analytical information is the mapping of UI columns to properties in the bound OData entity
1132
+ * set. Every column object contains the <code>name</code> of the bound property and in
1133
+ * addition:
1133
1134
  * <ol>
1134
1135
  * <li>A column bound to a dimension property has further boolean properties:
1135
1136
  * <ul>
1136
- * <li>grouped: dimension will be used for building groups</li>
1137
- * <li>visible: if the column is visible, values for the related property will be fetched from the OData service</li>
1138
- * <li>inResult: if the column is not visible, but declared to be part of the result, values for the related property
1139
- * will also be fetched from the OData service</li>
1137
+ * <li>grouped: dimension is used for building groups</li>
1138
+ * <li>inResult: if the column is not visible, but declared to be part of the result,
1139
+ * values for the related property are also fetched from the OData service</li>
1140
+ * <li>visible: if the column is visible, values for the related property are fetched from
1141
+ * the OData service</li>
1140
1142
  * </ul>
1141
1143
  * </li>
1142
1144
  * <li>A column bound to a measure property has further boolean properties:
1143
1145
  * <ul>
1144
- * <li>total: totals and sub-totals will be provided for the measure at all aggregation levels</li>
1146
+ * <li>inResult: if the column is not visible, but declared to be part of the result,
1147
+ * values for the related property are also fetched from the OData service</li>
1148
+ * <li>total: totals and sub-totals are provided for the measure at all aggregation
1149
+ * levels</li>
1150
+ * <li>visible: if the column is visible, values for the related property are fetched from
1151
+ * the OData service</li>
1145
1152
  * </ul>
1146
1153
  * </li>
1147
1154
  * <li>A column bound to a hierarchy property has further properties:
1148
1155
  * <ul>
1149
- * <li>grouped: boolean value; indicates whether the hierarchy will be used for building
1156
+ * <li>grouped: boolean value; indicates whether the hierarchy is used for building
1150
1157
  * groups</li>
1151
1158
  * <li>level: integer value; the hierarchy level is mandatory for at least one of those
1152
- * columns that represent the same hierarchy.</li>
1159
+ * columns that represent the same hierarchy</li>
1153
1160
  * </ul>
1154
1161
  * </li>
1155
1162
  * </ol>
1156
1163
  *
1157
- * Invoking this function resets the state of the binding and subsequent data requests such as calls to getNodeContexts() will
1158
- * need to trigger OData requests in order to fetch the data that are in line with this analytical information.
1164
+ * Invoking this function resets the state of the binding and subsequent data requests such as
1165
+ * calls to getNodeContexts() trigger OData requests in order to fetch the data that are in line
1166
+ * with this analytical information.
1159
1167
  *
1160
- * Please be aware that a call of this function might lead to additional back-end requests, as well as a control re-rendering later on.
1168
+ * Be aware that a call of this function might lead to additional back-end requests, as well as
1169
+ * a control re-rendering later on.
1161
1170
  * Whenever possible use the API of the analytical control, instead of relying on the binding.
1162
1171
  *
1163
1172
  * @function
1164
1173
  * @name sap.ui.model.analytics.AnalyticalBinding.prototype.updateAnalyticalInfo
1165
- * @param {array}
1166
- * aColumns an array with objects holding the analytical information for every column, from left to right.
1174
+ * @param {object[]} aColumns
1175
+ * An array with objects holding the analytical information for every column
1176
+ * @param {boolean} bForceChange
1177
+ * Whether to fire a change event asynchronously even if columns didn't change
1167
1178
  * @protected
1168
1179
  */
1169
1180
  AnalyticalBinding.prototype.updateAnalyticalInfo = function(aColumns, bForceChange) {
@@ -3383,6 +3394,7 @@ sap.ui.define([
3383
3394
  // function implementation starts here
3384
3395
 
3385
3396
  if (oData.results.length == 0) {
3397
+ this.bNeedsUpdate = true;
3386
3398
  return;
3387
3399
  }
3388
3400
  // Collecting contexts
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides class sap.ui.model.odata.ODataAnnotations
8
8
  sap.ui.define([
9
9
  "./AnalyticalBinding",
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * Analytical Version Information, used to figure out the version of the ODataModel
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * Internal Component of the AnalyticalBinding, only used there
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * Analytical Adapter for ODataModels
9
9
  *
@@ -4,9 +4,10 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Disable some ESLint rules. camelcase (some "_" in names to indicate indexed variables (like in math)), valid-jsdoc (not completed yet), no-warning-comments (some TODOs are left)
7
+ // Disable some ESLint rules. camelcase (some "_" in names to indicate indexed variables (like in
8
+ // math)), valid-jsdoc (not completed yet), no-warning-comments (some TODOs are left)
8
9
  // All other warnings, errors should be resolved
9
- /*eslint-disable camelcase, valid-jsdoc, no-warning-comments */
10
+ /*eslint-disable camelcase, valid-jsdoc, no-warning-comments, max-len */
10
11
 
11
12
  // Provides API for analytical extensions in OData service metadata
12
13
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the JSON model implementation of a list binding
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -142,20 +142,22 @@ sap.ui.define([
142
142
  };
143
143
 
144
144
  /**
145
- * Check whether this Binding would provide new values and in case it changed,
146
- * inform interested parties about this.
145
+ * Check whether this Binding would provide new values and in case it changed, fire a change
146
+ * event with change reason <code>sap.ui.model.ChangeReason.Change</code>.
147
147
  *
148
148
  * @param {boolean} bForceupdate
149
+ * Whether the change event will be fired regardless of the bindings state
149
150
  *
150
151
  */
151
152
  JSONListBinding.prototype.checkUpdate = function(bForceupdate){
153
+ var oList;
152
154
 
153
155
  if (this.bSuspended && !this.bIgnoreSuspend && !bForceupdate) {
154
156
  return;
155
157
  }
156
158
 
157
159
  if (!this.bUseExtendedChangeDetection) {
158
- var oList = this.oModel._getObject(this.sPath, this.oContext) || [];
160
+ oList = this.oModel._getObject(this.sPath, this.oContext) || [];
159
161
  if (!deepEqual(this.oList, oList) || bForceupdate) {
160
162
  this.update();
161
163
  this._fireChange({reason: ChangeReason.Change});
@@ -165,7 +167,7 @@ sap.ui.define([
165
167
  var that = this;
166
168
 
167
169
  //If the list has changed we need to update the indices first
168
- var oList = this.oModel._getObject(this.sPath, this.oContext) || [];
170
+ oList = this.oModel._getObject(this.sPath, this.oContext) || [];
169
171
  if (this.oList.length != oList.length) {
170
172
  bChangeDetected = true;
171
173
  }
@@ -185,6 +187,7 @@ sap.ui.define([
185
187
  bChangeDetected = true;
186
188
  return false;
187
189
  }
190
+ return true;
188
191
  });
189
192
  }
190
193
  } else {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * JSON-based DataBinding
9
9
  *
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.model.ClientModel
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.95.0
47
+ * @version 1.96.3
48
48
  * @public
49
49
  * @alias sap.ui.model.json.JSONModel
50
50
  */
@@ -118,12 +118,14 @@ sap.ui.define([
118
118
  }
119
119
  }
120
120
  function observeRecursive(oObject, oParentObject, sName) {
121
+ var i;
122
+
121
123
  if (Array.isArray(oObject)) {
122
- for (var i = 0; i < oObject.length; i++) {
124
+ for (i = 0; i < oObject.length; i++) {
123
125
  observeRecursive(oObject[i], oObject, i);
124
126
  }
125
127
  } else if (isPlainObject(oObject)) {
126
- for (var i in oObject) {
128
+ for (i in oObject) {
127
129
  observeRecursive(oObject[i], oObject, i);
128
130
  }
129
131
  }
@@ -211,10 +213,10 @@ sap.ui.define([
211
213
  // the textStatus is either passed by jQuery via arguments,
212
214
  // or by us from a promise reject() in the async case
213
215
  var sMessage = sTextStatus || oParams.textStatus;
214
- var oParams = bAsync ? oParams.request : oParams;
215
- var iStatusCode = oParams.status;
216
- var sStatusText = oParams.statusText;
217
- var sResponseText = oParams.responseText;
216
+ var oParameters = bAsync ? oParams.request : oParams;
217
+ var iStatusCode = oParameters.status;
218
+ var sStatusText = oParameters.statusText;
219
+ var sResponseText = oParameters.responseText;
218
220
 
219
221
  var oError = {
220
222
  message : sMessage,
@@ -231,6 +233,8 @@ sap.ui.define([
231
233
  if (bAsync) {
232
234
  return Promise.reject(oError);
233
235
  }
236
+
237
+ return undefined;
234
238
  }.bind(this);
235
239
 
236
240
  var _loadData = function(fnSuccess, fnError) {
@@ -270,6 +274,8 @@ sap.ui.define([
270
274
  return pReturn;
271
275
  } else {
272
276
  _loadData(fnSuccess, fnError);
277
+
278
+ return undefined;
273
279
  }
274
280
  };
275
281
 
@@ -309,12 +315,13 @@ sap.ui.define([
309
315
  /**
310
316
  * @see sap.ui.model.Model.prototype.bindTree
311
317
  *
312
- * @param {object}
313
- * [mParameters=null] additional model specific parameters (optional)
314
- * If the mParameter <code>arrayNames</code> is specified with an array of string names this names will be checked against the tree data structure
315
- * and the found data in this array is included in the tree but only if also the parent array is included.
316
- * If this parameter is not specified then all found arrays in the data structure are bound.
317
- * If the tree data structure doesn't contain an array you don't have to specify this parameter.
318
+ * @param {object} [mParameters=null]
319
+ * Additional model specific parameters; if the mParameter <code>arrayNames</code> is
320
+ * specified with an array of string names these names will be checked against the tree data
321
+ * structure and the found data in this array is included in the tree, but only if the parent
322
+ * array is also included; if this parameter is not specified then all found arrays in the
323
+ * data structure are bound; if the tree data structure doesn't contain an array, this
324
+ * parameter doesn't need to be specified
318
325
  *
319
326
  */
320
327
  JSONModel.prototype.bindTree = function(sPath, oContext, aFilters, mParameters, aSorters) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the JSON model implementation of a property binding
8
8
  sap.ui.define([
9
9
  'sap/ui/model/ChangeReason',
@@ -51,10 +51,11 @@ sap.ui.define([
51
51
  };
52
52
 
53
53
  /**
54
- * Check whether this Binding would provide new values and in case it changed,
55
- * inform interested parties about this.
54
+ * Check whether this Binding would provide new values and in case it changed, fire a change
55
+ * event with change reason <code>Change</code>.
56
56
  *
57
57
  * @param {boolean} bForceupdate
58
+ * Whether the change event will be fired regardless of the bindings state
58
59
  *
59
60
  */
60
61
  JSONPropertyBinding.prototype.checkUpdate = function(bForceupdate){
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the JSON model implementation of a list binding
8
8
  sap.ui.define(['sap/ui/model/ClientTreeBinding'],
9
9
  function(ClientTreeBinding) {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the JSON model implementation of a list binding
8
8
  sap.ui.define([
9
9
  "sap/base/strings/hash",
@@ -135,16 +135,18 @@ sap.ui.define([
135
135
  * inform interested parties about this.
136
136
  *
137
137
  * @param {boolean} bForceupdate
138
+ * Whether interested parties should be informed regardless of the bindings state
138
139
  *
139
140
  */
140
141
  MessageListBinding.prototype.checkUpdate = function(bForceupdate){
142
+ var oList;
141
143
 
142
144
  if (this.bSuspended && !this.bIgnoreSuspend) {
143
145
  return;
144
146
  }
145
147
 
146
148
  if (!this.bUseExtendedChangeDetection) {
147
- var oList = this.oModel._getObject(this.sPath, this.oContext);
149
+ oList = this.oModel._getObject(this.sPath, this.oContext);
148
150
  if (!deepEqual(this.oList, oList) || bForceupdate) {
149
151
  this.update();
150
152
  this._fireChange({reason: ChangeReason.Change});
@@ -154,7 +156,7 @@ sap.ui.define([
154
156
  var that = this;
155
157
 
156
158
  //If the list has changed we need to update the indices first.
157
- var oList = this.oModel._getObject(this.sPath, this.oContext);
159
+ oList = this.oModel._getObject(this.sPath, this.oContext);
158
160
  if (!deepEqual(this.oList, oList)) {
159
161
  this.update();
160
162
  }
@@ -170,6 +172,7 @@ sap.ui.define([
170
172
  bChangeDetected = true;
171
173
  return false;
172
174
  }
175
+ return true;
173
176
  });
174
177
  }
175
178
  } else {
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  /**
8
8
  * Message DataBinding
9
9
  *
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/model/BindingMode', 'sap/ui/model/ClientModel', 'sap/ui/m
29
29
  * @extends sap.ui.model.ClientModel
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.95.0
32
+ * @version 1.96.3
33
33
  *
34
34
  * @param {sap.ui.core.message.MessageManager} oMessageManager The MessageManager instance
35
35
  * @public
@@ -90,7 +90,12 @@ sap.ui.define(['sap/ui/model/BindingMode', 'sap/ui/model/ClientModel', 'sap/ui/m
90
90
  * Unsupported operation.
91
91
  *
92
92
  * Other models provide this method to set a new value for a specific property.
93
- * <code>MessageModel</code> does not support it as it supports the <code>OneWay</code> mode only.
93
+ * <code>MessageModel</code> does not support it as it supports the <code>OneWay</code> mode
94
+ * only.
95
+ *
96
+ * @param {string} sPath Unused in this implementation
97
+ * @param {object} oValue Unused in this implementation
98
+ * @param {sap.ui.model.Context} oContext Unused in this implementation
94
99
  *
95
100
  * @public
96
101
  */
@@ -100,23 +105,24 @@ sap.ui.define(['sap/ui/model/BindingMode', 'sap/ui/model/ClientModel', 'sap/ui/m
100
105
  };
101
106
 
102
107
  /**
103
- * Returns the value for the property with the given <code>sPropertyName</code>
104
- *
105
- * @param {string} sPath the path to the property
106
- * @param {object} [oContext=null] the context which will be used to retrieve the property
107
- * @type any
108
- * @return the value of the property
109
- * @public
110
- */
108
+ * Returns the value for the property with the given <code>sPropertyName</code>.
109
+ *
110
+ * @param {string} sPath The path to the property
111
+ * @param {sap.ui.model.Context} [oContext] The context to resolve a relative path with
112
+ *
113
+ * @return {any} The value of the property
114
+ * @public
115
+ */
111
116
  MessageModel.prototype.getProperty = function(sPath, oContext) {
112
117
  return this._getObject(sPath, oContext);
113
118
 
114
119
  };
115
120
 
116
121
  /**
117
- * @param {string} sPath
118
- * @param {object} [oContext]
119
- * @returns {any} the node of the specified path/context
122
+ * @param {string} sPath The path to the property
123
+ * @param {sap.ui.model.Context} [oContext] The context to resolve a relative path with
124
+ *
125
+ * @returns {any} The node of the specified path/context
120
126
  */
121
127
  MessageModel.prototype._getObject = function (sPath, oContext) {
122
128
  var oNode;
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides the JSON model implementation of a property binding
8
8
  sap.ui.define([
9
9
  'sap/ui/model/ChangeReason',
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * inform interested parties about this.
44
44
  *
45
45
  * @param {boolean} bForceupdate
46
- *
46
+ * Whether interested parties should be informed regardless of the bindings state
47
47
  */
48
48
  MessagePropertyBinding.prototype.checkUpdate = function(bForceupdate){
49
49
  var oValue = this._getValue();
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides object sap.ui.model.odata.AnnotationHelper
8
8
  sap.ui.define([
9
9
  "./_AnnotationHelperBasics",
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides class sap.ui.model.odata.ODataAnnotations
8
8
  sap.ui.define([
9
9
  "sap/base/assert",
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides enumeration sap.ui.model.CountMode
8
8
  sap.ui.define(function() {
9
9
  "use strict";
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides a filter for list bindings
8
8
  sap.ui.define([
9
9
  'sap/ui/base/Object',
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  // Provides class sap.ui.model.odata.ODataAnnotations
8
8
  sap.ui.define([
9
9
  "./AnnotationParser",
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  * @author SAP SE
27
27
  * @version
28
- * 1.95.0
28
+ * 1.96.3
29
29
  *
30
30
  * @public
31
31
  * @deprecated As of version 1.66, please use {@link sap.ui.model.odata.v2.ODataAnnotations} instead.
@@ -3,7 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
-
6
+ /*eslint-disable max-len */
7
7
  //Provides an abstraction for list bindings
8
8
  sap.ui.define(['sap/ui/model/ContextBinding', 'sap/ui/model/ChangeReason'],
9
9
  function(ContextBinding, ChangeReason) {