@openui5/sap.ui.core 1.93.3 → 1.96.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 (416) hide show
  1. package/.eslintrc.json +13 -2
  2. package/.reuse/dep5 +6 -11
  3. package/THIRDPARTY.txt +10 -16
  4. package/package.json +1 -1
  5. package/src/jquery.sap.global.js +5 -2
  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/jquery.sap.stubs.js +2 -1
  11. package/src/jquery.sap.trace.js +2 -1
  12. package/src/sap/base/i18n/ResourceBundle.js +6 -2
  13. package/src/sap/base/strings/whitespaceReplacer.js +52 -0
  14. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  15. package/src/sap/base/util/restricted/_castArray.js +1 -1
  16. package/src/sap/base/util/restricted/_compact.js +1 -1
  17. package/src/sap/base/util/restricted/_curry.js +1 -1
  18. package/src/sap/base/util/restricted/_debounce.js +1 -1
  19. package/src/sap/base/util/restricted/_difference.js +1 -1
  20. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  21. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_flatten.js +1 -1
  26. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  27. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  28. package/src/sap/base/util/restricted/_intersection.js +1 -1
  29. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  30. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  32. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  33. package/src/sap/base/util/restricted/_isNil.js +1 -1
  34. package/src/sap/base/util/restricted/_max.js +1 -1
  35. package/src/sap/base/util/restricted/_merge.js +1 -1
  36. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  37. package/src/sap/base/util/restricted/_min.js +1 -1
  38. package/src/sap/base/util/restricted/_omit.js +1 -1
  39. package/src/sap/base/util/restricted/_pick.js +1 -1
  40. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  41. package/src/sap/base/util/restricted/_throttle.js +1 -1
  42. package/src/sap/base/util/restricted/_toArray.js +1 -1
  43. package/src/sap/base/util/restricted/_union.js +1 -1
  44. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  45. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  46. package/src/sap/base/util/restricted/_uniq.js +1 -1
  47. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  48. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  49. package/src/sap/base/util/restricted/_without.js +1 -1
  50. package/src/sap/base/util/restricted/_xor.js +1 -1
  51. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  52. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  53. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  54. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  55. package/src/sap/ui/Device.js +37 -42
  56. package/src/sap/ui/Global.js +8 -7
  57. package/src/sap/ui/base/DataType.js +14 -8
  58. package/src/sap/ui/base/Event.js +1 -1
  59. package/src/sap/ui/base/EventProvider.js +1 -1
  60. package/src/sap/ui/base/ExpressionParser.js +9 -6
  61. package/src/sap/ui/base/Interface.js +3 -49
  62. package/src/sap/ui/base/ManagedObject.js +12 -7
  63. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  64. package/src/sap/ui/base/Metadata.js +1 -1
  65. package/src/sap/ui/base/Object.js +49 -4
  66. package/src/sap/ui/base/ObjectPool.js +1 -1
  67. package/src/sap/ui/base/syncXHRFix.js +2 -1
  68. package/src/sap/ui/core/.library +5 -5
  69. package/src/sap/ui/core/AppCacheBuster.js +4 -4
  70. package/src/sap/ui/core/BusyIndicator.js +1 -11
  71. package/src/sap/ui/core/Component.js +300 -140
  72. package/src/sap/ui/core/ComponentContainer.js +24 -8
  73. package/src/sap/ui/core/ComponentMetadata.js +14 -3
  74. package/src/sap/ui/core/ComponentSupport.js +1 -1
  75. package/src/sap/ui/core/Configuration.js +67 -31
  76. package/src/sap/ui/core/Control.js +1 -1
  77. package/src/sap/ui/core/Core.js +103 -25
  78. package/src/sap/ui/core/CustomData.js +1 -1
  79. package/src/sap/ui/core/CustomizingConfiguration.js +35 -260
  80. package/src/sap/ui/core/DeclarativeSupport.js +3 -2
  81. package/src/sap/ui/core/Element.js +1 -1
  82. package/src/sap/ui/core/ElementMetadata.js +4 -2
  83. package/src/sap/ui/core/EnabledPropagator.js +91 -73
  84. package/src/sap/ui/core/EventBus.js +1 -1
  85. package/src/sap/ui/core/ExtensionPoint.js +7 -14
  86. package/src/sap/ui/core/Fragment.js +30 -32
  87. package/src/sap/ui/core/HTML.js +1 -1
  88. package/src/sap/ui/core/History.js +1 -1
  89. package/src/sap/ui/core/Icon.js +7 -8
  90. package/src/sap/ui/core/IconPool.js +26 -1097
  91. package/src/sap/ui/core/IconRenderer.js +6 -6
  92. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  93. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  94. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  95. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  96. package/src/sap/ui/core/InvisibleText.js +1 -1
  97. package/src/sap/ui/core/Item.js +1 -1
  98. package/src/sap/ui/core/LabelEnablement.js +1 -1
  99. package/src/sap/ui/core/LayoutData.js +1 -1
  100. package/src/sap/ui/core/ListItem.js +1 -1
  101. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  102. package/src/sap/ui/core/Locale.js +26 -4
  103. package/src/sap/ui/core/LocaleData.js +1 -1
  104. package/src/sap/ui/core/Manifest.js +4 -61
  105. package/src/sap/ui/core/Message.js +1 -1
  106. package/src/sap/ui/core/Patcher.js +27 -3
  107. package/src/sap/ui/core/Placeholder.js +28 -15
  108. package/src/sap/ui/core/RenderManager.js +36 -6
  109. package/src/sap/ui/core/Renderer.js +13 -3
  110. package/src/sap/ui/core/ResizeHandler.js +1 -1
  111. package/src/sap/ui/core/ScrollBar.js +2 -2
  112. package/src/sap/ui/core/SeparatorItem.js +1 -1
  113. package/src/sap/ui/core/ShortcutHintsMixin.js +14 -7
  114. package/src/sap/ui/core/Title.js +1 -1
  115. package/src/sap/ui/core/TooltipBase.js +1 -1
  116. package/src/sap/ui/core/UIArea.js +1 -1
  117. package/src/sap/ui/core/UIComponent.js +42 -16
  118. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  119. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  120. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  121. package/src/sap/ui/core/XMLComposite.js +2 -2
  122. package/src/sap/ui/core/XMLCompositeMetadata.js +2 -2
  123. package/src/sap/ui/core/XMLTemplateProcessor.js +116 -41
  124. package/src/sap/ui/core/_IconRegistry.js +1148 -0
  125. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  126. package/src/sap/ui/core/delegate/ScrollEnablement.js +6 -3
  127. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  128. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  129. package/src/sap/ui/core/dnd/DragInfo.js +2 -2
  130. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  131. package/src/sap/ui/core/format/NumberFormat.js +16 -1
  132. package/src/sap/ui/core/hyphenation/Hyphenation.js +73 -221
  133. package/src/sap/ui/core/hyphenation/HyphenationTestingWords.js +11 -10
  134. package/src/sap/ui/core/library.js +3 -3
  135. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  136. package/src/sap/ui/core/message/Message.js +1 -1
  137. package/src/sap/ui/core/message/MessageManager.js +13 -15
  138. package/src/sap/ui/core/message/MessageParser.js +1 -1
  139. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  140. package/src/sap/ui/core/messagebundle_de.properties +1 -1
  141. package/src/sap/ui/core/messagebundle_fr.properties +1 -1
  142. package/src/sap/ui/core/messagebundle_it.properties +1 -1
  143. package/src/sap/ui/core/messagebundle_pl.properties +1 -1
  144. package/src/sap/ui/core/messagebundle_th.properties +2 -2
  145. package/src/sap/ui/core/mvc/Controller.js +38 -19
  146. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +30 -32
  147. package/src/sap/ui/core/mvc/ControllerMetadata.js +18 -18
  148. package/src/sap/ui/core/mvc/HTMLView.js +2 -2
  149. package/src/sap/ui/core/mvc/JSONView.js +2 -2
  150. package/src/sap/ui/core/mvc/JSView.js +2 -2
  151. package/src/sap/ui/core/mvc/TemplateView.js +2 -2
  152. package/src/sap/ui/core/mvc/View.js +58 -85
  153. package/src/sap/ui/core/mvc/XMLView.js +2 -2
  154. package/src/sap/ui/core/mvc/XMLViewRenderer.js +17 -20
  155. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  156. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  157. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  158. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  159. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  160. package/src/sap/ui/core/routing/History.js +10 -2
  161. package/src/sap/ui/core/routing/Router.js +8 -1
  162. package/src/sap/ui/core/routing/Target.js +13 -0
  163. package/src/sap/ui/core/routing/Targets.js +13 -2
  164. package/src/sap/ui/core/routing/async/Route.js +1 -1
  165. package/src/sap/ui/core/routing/async/Target.js +353 -259
  166. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  167. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  168. package/src/sap/ui/core/service/Service.js +1 -1
  169. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  170. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  171. package/src/sap/ui/core/support/BootSupportTool.js +11 -0
  172. package/src/sap/ui/core/support/InteractionTree.css +4 -0
  173. package/src/sap/ui/core/support/Plugin.js +1 -1
  174. package/src/sap/ui/core/support/Support.js +1 -1
  175. package/src/sap/ui/core/support/ViewInfo.css +599 -0
  176. package/src/sap/ui/core/support/controls/InteractionTree.js +352 -222
  177. package/src/sap/ui/core/support/controls/ObjectViewer.js +3 -41
  178. package/src/sap/ui/core/support/controls/TimelineOverview.js +49 -24
  179. package/src/sap/ui/core/support/controls/TreeViewer.js +12 -58
  180. package/src/sap/ui/core/support/plugins/ControlTree.js +59 -68
  181. package/src/sap/ui/core/support/plugins/Debugging.js +9 -11
  182. package/src/sap/ui/core/support/plugins/Interaction.js +2 -2
  183. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  184. package/src/sap/ui/core/support/plugins/Performance.js +147 -75
  185. package/src/sap/ui/core/support/plugins/Selector.js +19 -24
  186. package/src/sap/ui/core/support/plugins/TechInfo.js +5 -5
  187. package/src/sap/ui/core/support/plugins/Trace.js +95 -32
  188. package/src/sap/ui/core/support/plugins/ViewInfo.js +9 -73
  189. package/src/sap/ui/core/support/support.css +109 -14
  190. package/src/sap/ui/core/support/support.html +6 -2
  191. package/src/sap/ui/core/support/techinfo/TechnicalInfo.fragment.xml +1 -0
  192. package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +149 -72
  193. package/src/sap/ui/core/themes/base/Icon.less +9 -0
  194. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  195. package/src/sap/ui/core/theming/Parameters.js +6 -4
  196. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  197. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  198. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  199. package/src/sap/ui/core/tmpl/Template.js +10 -28
  200. package/src/sap/ui/core/tmpl/TemplateControl.js +4 -4
  201. package/src/sap/ui/core/tmpl/_parsePath.js +35 -0
  202. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  203. package/src/sap/ui/core/util/DraftEnabledMockServer.js +9 -4
  204. package/src/sap/ui/core/util/Export.js +1 -1
  205. package/src/sap/ui/core/util/ExportCell.js +1 -1
  206. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  207. package/src/sap/ui/core/util/ExportRow.js +1 -1
  208. package/src/sap/ui/core/util/ExportType.js +1 -1
  209. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  210. package/src/sap/ui/core/util/File.js +1 -1
  211. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  212. package/src/sap/ui/core/util/MockServer.js +5 -5
  213. package/src/sap/ui/core/util/MockServerAnnotationsHandler.js +3 -2
  214. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  215. package/src/sap/ui/core/util/XMLPreprocessor.js +11 -12
  216. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +136 -63
  217. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +170 -153
  218. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +424 -293
  219. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  220. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  221. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  222. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  223. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  224. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  225. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  226. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  227. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  228. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  229. package/src/sap/ui/debug/ControlTree.js +10 -4
  230. package/src/sap/ui/debug/DebugEnv.js +3 -4
  231. package/src/sap/ui/debug/Highlighter.js +8 -2
  232. package/src/sap/ui/debug/PropertyList.css +55 -0
  233. package/src/sap/ui/debug/PropertyList.js +111 -182
  234. package/src/sap/ui/model/Binding.js +174 -118
  235. package/src/sap/ui/model/ClientContextBinding.js +1 -1
  236. package/src/sap/ui/model/ClientListBinding.js +1 -3
  237. package/src/sap/ui/model/ClientModel.js +4 -4
  238. package/src/sap/ui/model/ClientPropertyBinding.js +4 -2
  239. package/src/sap/ui/model/ClientTreeBinding.js +15 -9
  240. package/src/sap/ui/model/ClientTreeBindingAdapter.js +28 -23
  241. package/src/sap/ui/model/CompositeBinding.js +98 -77
  242. package/src/sap/ui/model/CompositeDataState.js +2 -2
  243. package/src/sap/ui/model/CompositeType.js +2 -2
  244. package/src/sap/ui/model/Context.js +4 -2
  245. package/src/sap/ui/model/ContextBinding.js +6 -14
  246. package/src/sap/ui/model/DataState.js +2 -2
  247. package/src/sap/ui/model/Filter.js +255 -53
  248. package/src/sap/ui/model/FilterOperator.js +1 -1
  249. package/src/sap/ui/model/FilterProcessor.js +27 -17
  250. package/src/sap/ui/model/FilterType.js +1 -1
  251. package/src/sap/ui/model/ListBinding.js +180 -117
  252. package/src/sap/ui/model/MetaModel.js +4 -9
  253. package/src/sap/ui/model/Model.js +345 -294
  254. package/src/sap/ui/model/PropertyBinding.js +92 -58
  255. package/src/sap/ui/model/SelectionModel.js +2 -2
  256. package/src/sap/ui/model/SimpleType.js +2 -2
  257. package/src/sap/ui/model/Sorter.js +1 -1
  258. package/src/sap/ui/model/SorterProcessor.js +1 -1
  259. package/src/sap/ui/model/StaticBinding.js +1 -1
  260. package/src/sap/ui/model/TreeAutoExpandMode.js +2 -2
  261. package/src/sap/ui/model/TreeBinding.js +1 -1
  262. package/src/sap/ui/model/TreeBindingAdapter.js +251 -100
  263. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +16 -9
  264. package/src/sap/ui/model/TreeBindingUtils.js +1 -0
  265. package/src/sap/ui/model/Type.js +1 -1
  266. package/src/sap/ui/model/analytics/AnalyticalBinding.js +8 -4
  267. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +1 -1
  268. package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +1 -1
  269. package/src/sap/ui/model/analytics/BatchResponseCollector.js +1 -1
  270. package/src/sap/ui/model/analytics/ODataModelAdapter.js +1 -1
  271. package/src/sap/ui/model/analytics/odata4analytics.js +34 -25
  272. package/src/sap/ui/model/base/ManagedObjectModel.js +4 -0
  273. package/src/sap/ui/model/json/JSONListBinding.js +8 -5
  274. package/src/sap/ui/model/json/JSONModel.js +24 -15
  275. package/src/sap/ui/model/json/JSONPropertyBinding.js +4 -3
  276. package/src/sap/ui/model/json/JSONTreeBinding.js +1 -1
  277. package/src/sap/ui/model/message/MessageListBinding.js +6 -3
  278. package/src/sap/ui/model/message/MessageModel.js +23 -15
  279. package/src/sap/ui/model/message/MessagePropertyBinding.js +2 -2
  280. package/src/sap/ui/model/odata/AnnotationHelper.js +1 -1
  281. package/src/sap/ui/model/odata/AnnotationParser.js +1 -1
  282. package/src/sap/ui/model/odata/CountMode.js +1 -1
  283. package/src/sap/ui/model/odata/Filter.js +1 -1
  284. package/src/sap/ui/model/odata/ODataAnnotations.js +2 -2
  285. package/src/sap/ui/model/odata/ODataContextBinding.js +1 -1
  286. package/src/sap/ui/model/odata/ODataListBinding.js +1 -1
  287. package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
  288. package/src/sap/ui/model/odata/ODataMetaModel.js +5 -3
  289. package/src/sap/ui/model/odata/ODataMetadata.js +2 -2
  290. package/src/sap/ui/model/odata/ODataModel.js +8 -7
  291. package/src/sap/ui/model/odata/ODataPropertyBinding.js +1 -1
  292. package/src/sap/ui/model/odata/ODataTreeBinding.js +65 -33
  293. package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +1 -1
  294. package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +2 -2
  295. package/src/sap/ui/model/odata/ODataUtils.js +13 -11
  296. package/src/sap/ui/model/odata/OperationMode.js +1 -1
  297. package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +1 -1
  298. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  299. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  300. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  301. package/src/sap/ui/model/odata/type/Date.js +1 -1
  302. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  303. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  304. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  305. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  306. package/src/sap/ui/model/odata/type/Double.js +1 -1
  307. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  308. package/src/sap/ui/model/odata/type/Int.js +1 -1
  309. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  310. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  311. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  312. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  313. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  314. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  315. package/src/sap/ui/model/odata/type/Single.js +1 -1
  316. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  317. package/src/sap/ui/model/odata/type/String.js +1 -1
  318. package/src/sap/ui/model/odata/type/Time.js +1 -1
  319. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  320. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  321. package/src/sap/ui/model/odata/v2/Context.js +81 -9
  322. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +3 -3
  323. package/src/sap/ui/model/odata/v2/ODataContextBinding.js +39 -49
  324. package/src/sap/ui/model/odata/v2/ODataListBinding.js +236 -73
  325. package/src/sap/ui/model/odata/v2/ODataModel.js +314 -164
  326. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +110 -97
  327. package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +129 -0
  328. package/src/sap/ui/model/odata/v4/Context.js +6 -3
  329. package/src/sap/ui/model/odata/v4/ODataBinding.js +5 -6
  330. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +117 -40
  331. package/src/sap/ui/model/odata/v4/ODataListBinding.js +95 -15
  332. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +44 -31
  333. package/src/sap/ui/model/odata/v4/ODataModel.js +86 -78
  334. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +47 -28
  335. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +11 -7
  336. package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +10 -3
  337. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +8 -1
  338. package/src/sap/ui/model/odata/v4/lib/_Cache.js +24 -16
  339. package/src/sap/ui/model/odata/v4/lib/_Helper.js +32 -30
  340. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +52 -17
  341. package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +2 -2
  342. package/src/sap/ui/model/resource/ResourceModel.js +6 -2
  343. package/src/sap/ui/model/resource/ResourcePropertyBinding.js +1 -1
  344. package/src/sap/ui/model/type/Boolean.js +2 -2
  345. package/src/sap/ui/model/type/Currency.js +2 -2
  346. package/src/sap/ui/model/type/Date.js +9 -3
  347. package/src/sap/ui/model/type/DateInterval.js +4 -2
  348. package/src/sap/ui/model/type/DateTime.js +2 -2
  349. package/src/sap/ui/model/type/DateTimeInterval.js +2 -2
  350. package/src/sap/ui/model/type/FileSize.js +4 -2
  351. package/src/sap/ui/model/type/Float.js +4 -2
  352. package/src/sap/ui/model/type/Integer.js +4 -2
  353. package/src/sap/ui/model/type/String.js +2 -2
  354. package/src/sap/ui/model/type/Time.js +2 -2
  355. package/src/sap/ui/model/type/TimeInterval.js +2 -2
  356. package/src/sap/ui/model/type/Unit.js +14 -7
  357. package/src/sap/ui/model/xml/XMLListBinding.js +15 -9
  358. package/src/sap/ui/model/xml/XMLModel.js +70 -41
  359. package/src/sap/ui/model/xml/XMLPropertyBinding.js +4 -4
  360. package/src/sap/ui/model/xml/XMLTreeBinding.js +5 -4
  361. package/src/sap/ui/performance/trace/Interaction.js +30 -15
  362. package/src/sap/ui/performance/trace/initTraces.js +1 -1
  363. package/src/sap/ui/qunit/QUnitUtils.js +3 -2
  364. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  365. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +9 -11
  366. package/src/sap/ui/test/TestUtils.js +11 -4
  367. package/src/sap/ui/test/actions/Drag.js +6 -2
  368. package/src/sap/ui/test/actions/Drop.js +6 -2
  369. package/src/sap/ui/test/actions/EnterText.js +6 -0
  370. package/src/sap/ui/test/actions/Press.js +6 -0
  371. package/src/sap/ui/test/actions/Scroll.js +6 -0
  372. package/src/sap/ui/test/autowaiter/_resourceWaiter.js +4 -4
  373. package/src/sap/ui/test/launchers/componentLauncher.js +0 -4
  374. package/src/sap/ui/test/matchers/I18NText.js +29 -11
  375. package/src/sap/ui/test/opaQunit.js +5 -0
  376. package/src/sap/ui/thirdparty/crossroads.js +6 -4
  377. package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly.js +1196 -0
  378. package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly_Loader.js +797 -0
  379. package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.asm.js +108 -127
  380. package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.wasm +0 -0
  381. package/src/sap/ui/thirdparty/hyphenopoly/patterns/bg.hpb +0 -0
  382. package/src/sap/ui/thirdparty/hyphenopoly/patterns/ca.hpb +0 -0
  383. package/src/sap/ui/thirdparty/hyphenopoly/patterns/da.hpb +0 -0
  384. package/src/sap/ui/thirdparty/hyphenopoly/patterns/de.hpb +0 -0
  385. package/src/sap/ui/thirdparty/hyphenopoly/patterns/el-monoton.hpb +0 -0
  386. package/src/sap/ui/thirdparty/hyphenopoly/patterns/en-us.hpb +0 -0
  387. package/src/sap/ui/thirdparty/hyphenopoly/patterns/es.hpb +0 -0
  388. package/src/sap/ui/thirdparty/hyphenopoly/patterns/et.hpb +0 -0
  389. package/src/sap/ui/thirdparty/hyphenopoly/patterns/fi.hpb +0 -0
  390. package/src/sap/ui/thirdparty/hyphenopoly/patterns/fr.hpb +0 -0
  391. package/src/sap/ui/thirdparty/hyphenopoly/patterns/hi.hpb +0 -0
  392. package/src/sap/ui/thirdparty/hyphenopoly/patterns/hr.hpb +0 -0
  393. package/src/sap/ui/thirdparty/hyphenopoly/patterns/hu.hpb +0 -0
  394. package/src/sap/ui/thirdparty/hyphenopoly/patterns/it.hpb +0 -0
  395. package/src/sap/ui/thirdparty/hyphenopoly/patterns/lt.hpb +0 -0
  396. package/src/sap/ui/thirdparty/hyphenopoly/patterns/nb-no.hpb +0 -0
  397. package/src/sap/ui/thirdparty/hyphenopoly/patterns/nl.hpb +0 -0
  398. package/src/sap/ui/thirdparty/hyphenopoly/patterns/pt.hpb +0 -0
  399. package/src/sap/ui/thirdparty/hyphenopoly/patterns/ru.hpb +0 -0
  400. package/src/sap/ui/thirdparty/hyphenopoly/patterns/sl.hpb +0 -0
  401. package/src/sap/ui/thirdparty/hyphenopoly/patterns/sv.hpb +0 -0
  402. package/src/sap/ui/thirdparty/hyphenopoly/patterns/th.hpb +0 -0
  403. package/src/sap/ui/thirdparty/hyphenopoly/patterns/tr.hpb +0 -0
  404. package/src/sap/ui/thirdparty/hyphenopoly/patterns/uk.hpb +0 -0
  405. package/src/sap/ui/thirdparty/jquery.js +9 -1
  406. package/src/sap/ui/thirdparty/qunit-2.js +1 -1
  407. package/src/sap/ui/thirdparty/qunit.js +1 -1
  408. package/src/sap/ui/util/Mobile.js +2 -20
  409. package/src/sap/ui/util/Storage.js +1 -1
  410. package/src/sap/ui/util/isCrossOriginURL.js +16 -6
  411. package/src/sap-ui-core-nojQuery.js +1 -1
  412. package/src/sap-ui-core.js +1 -1
  413. package/src/sap-ui-debug.js +3 -17
  414. package/ui5.yaml +5 -2
  415. package/src/sap/ui/core/support/plugins/MessageTest.js +0 -96
  416. package/src/sap/ui/thirdparty/hyphenopoly/hyphenopoly.bundle.js +0 -860
@@ -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
  "./ChangeReason",
@@ -220,7 +220,10 @@ sap.ui.define([
220
220
 
221
221
  /**
222
222
  * Makes sure the path is prepended and appended with a "/" if necessary.
223
- * @param {string} sContextPath the path to be checked
223
+ *
224
+ * @param {string} sContextPath The path to be checked
225
+ *
226
+ * @returns {string} The sanitized path
224
227
  */
225
228
  ClientTreeBinding.prototype._sanitizePath = function (sContextPath) {
226
229
  if (!sContextPath.endsWith("/")) {
@@ -291,7 +294,6 @@ sap.ui.define([
291
294
  }
292
295
  this._mLengthsCache = {};
293
296
  this._fireChange({reason: "filter"});
294
- // TODO remove this if the filter event is removed
295
297
  this._fireFilter({filters: aFilters});
296
298
 
297
299
  return this;
@@ -363,11 +365,12 @@ sap.ui.define([
363
365
 
364
366
  /**
365
367
  * Sorts the contexts of this ClientTreeBinding.
366
- * The tree will be sorted level by level. So the nodes are NOT sorted absolute, but relative to their parent node,
367
- * to keep the hierarchy untouched.
368
+ * The tree will be sorted level by level. So the nodes are NOT sorted absolute, but relative to
369
+ * their parent node, to keep the hierarchy untouched.
368
370
  *
369
- * @param {sap.ui.model.Sorter[]} an array of Sorter instances which will be applied
370
- * @return {this} returns <code>this</code> to facilitate method chaining
371
+ * @param {sap.ui.model.Sorter[]} aSorters An array of Sorter instances which will be applied
372
+ *
373
+ * @return {this} Returns <code>this</code> to facilitate method chaining
371
374
  * @public
372
375
  */
373
376
  ClientTreeBinding.prototype.sort = function (aSorters) {
@@ -396,7 +399,10 @@ sap.ui.define([
396
399
 
397
400
  /**
398
401
  * Sets the length cache.
399
- * Called by get*Contexts() to keep track of the child count (after filtering)
402
+ * Called by get*Contexts() to keep track of the child count (after filtering).
403
+ *
404
+ * @param {string} sKey The cache entry to set the length for
405
+ * @param {number} iLength The new length
400
406
  */
401
407
  ClientTreeBinding.prototype._setLengthCache = function (sKey, iLength) {
402
408
  // keep track of the child count for each context (after filtering)
@@ -407,7 +413,7 @@ sap.ui.define([
407
413
  * Check whether this Binding would provide new values and in case it changed,
408
414
  * inform interested parties about this.
409
415
  *
410
- * @param {boolean} bForceupdate
416
+ * @param {boolean} bForceupdate Not used in this method
411
417
  *
412
418
  */
413
419
  ClientTreeBinding.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 class sap.ui.model.odata.ODataAnnotations
8
8
  sap.ui.define([
9
9
  'sap/ui/model/TreeBinding',
@@ -50,14 +50,6 @@ sap.ui.define([
50
50
 
51
51
  this._invalidTree = true;
52
52
 
53
- // TODO: Decide if the tree state feature should be available for ClientModels
54
- //-> remove comments if yes
55
-
56
- // restore old tree state if given
57
- //if (this.mParameters.treeState) {
58
- // this.setTreeState(this.mParameters.treeState);
59
- //}
60
-
61
53
  //set the default auto expand mode
62
54
  this.setNumberOfExpandedLevels(this.mParameters.numberOfExpandedLevels || 0);
63
55
  };
@@ -205,30 +197,39 @@ sap.ui.define([
205
197
  };
206
198
 
207
199
  /**
208
- * Due to the tree invalidation mechanism the tree has to be rebuilt before a findNode operation.
209
- * Calling buildTree is performance-safe, as the tree is invalid anyway.
200
+ * Find the first node in the tree matching the search criteria. In case the tree structure
201
+ * is invalid, it is rebuilt before finding the node.
202
+ *
203
+ * @param {any} vParam The search criteria
204
+ *
205
+ * @returns {object} A tree node which may be a cached sum row
210
206
  */
211
- ClientTreeBindingAdapter.prototype.findNode = function () {
207
+ ClientTreeBindingAdapter.prototype.findNode = function (vParam) {
212
208
  this._buildTree();
213
209
  return TreeBindingAdapter.prototype.findNode.apply(this, arguments);
214
210
  };
215
211
 
216
212
  /**
217
- * Due to the tree invalidation mechanism the tree has to be rebuilt before a setSelectedIndex operation.
218
- * Calling buildTree is performance-safe, as the tree is invalid anyway.
213
+ * Marks a single node as selected. In case the tree structure is invalid, it is rebuilt
214
+ * before a <code>setSelectedIndex</code> operation.
215
+ *
216
+ * @param {number} iRowIndex Row to mark as selected
219
217
  */
220
- ClientTreeBindingAdapter.prototype.setSelectedIndex = function () {
218
+ ClientTreeBindingAdapter.prototype.setSelectedIndex = function (iRowIndex) {
221
219
  this._buildTree();
222
- return TreeBindingAdapter.prototype.setSelectedIndex.apply(this, arguments);
220
+ TreeBindingAdapter.prototype.setSelectedIndex.apply(this, arguments);
223
221
  };
224
222
 
225
223
  /**
226
- * Due to the tree invalidation mechanism the tree has to be rebuilt before a setSelctionInterval operation.
227
- * Calling buildTree is performance-safe, as the tree is invalid anyway.
224
+ * Marks multiple nodes as selected. In case the tree structure is invalid, it is rebuilt
225
+ * before a <code>setSelctionInterval</code> operation.
226
+ *
227
+ * @param {number} iFromIndex The first index to mark as selected
228
+ * @param {number} iToIndex The last index to mark as selected
228
229
  */
229
- ClientTreeBindingAdapter.prototype.setSelectionInterval = function () {
230
+ ClientTreeBindingAdapter.prototype.setSelectionInterval = function (iFromIndex, iToIndex) {
230
231
  this._buildTree();
231
- return TreeBindingAdapter.prototype.setSelectionInterval.apply(this, arguments);
232
+ TreeBindingAdapter.prototype.setSelectionInterval.apply(this, arguments);
232
233
  };
233
234
 
234
235
  /**
@@ -268,11 +269,15 @@ sap.ui.define([
268
269
  };
269
270
 
270
271
  /**
271
- * Calculate the request length based on the given information
272
+ * Calculate the request length based on the given information.
273
+ *
274
+ * Because client treebinding knows the complete data from the very beginning, it returns
275
+ * the maximum group size, the current section is not considered.
272
276
  *
273
- * Because client treebinding knows all of the data from the very beginning, it should simply return the the
274
- * maximum group size without looking at the current section.
277
+ * @param {number} iMaxGroupSize The maximum group size
278
+ * @param {object} oSection Information of the current section
275
279
  *
280
+ * @returns {number} The request length
276
281
  */
277
282
  ClientTreeBindingAdapter.prototype._calculateRequestLength = function(iMaxGroupSize, oSection) {
278
283
  return iMaxGroupSize;
@@ -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 abstract property binding.
8
8
  sap.ui.define([
9
9
  "./BindingMode",
@@ -28,28 +28,31 @@ sap.ui.define([
28
28
  * @class
29
29
  * Combines multiple property bindings (called 'parts') into a single one.
30
30
  *
31
- * A <code>CompositeBinding</code> combines the values from all its binding parts (each an instance of
32
- * <code>PropertyBinding</code>), either by calling a formatter function or by involving a
33
- * {@link sap.ui.model.CompositeType composite type}. When a formatter function is used, then the
34
- * composite binding is automatically limited to <code>OneWay</code> mode. When a type is used, the binding
35
- * can also operate in <code>TwoWay</code> mode.
31
+ * A <code>CompositeBinding</code> combines the values from all its binding parts (each an
32
+ * instance of <code>PropertyBinding</code>), either by calling a formatter function or by
33
+ * involving a {@link sap.ui.model.CompositeType composite type}. When a formatter function is
34
+ * used, the composite binding is automatically limited to <code>OneWay</code> mode. When a
35
+ * type is used, the binding can also operate in <code>TwoWay</code> mode.
36
36
  *
37
- * Higher layers of the framework derive composite bindings from easy-to-write string representations
38
- * (the following features require complex binding syntax, e.g. <code>data-sap-ui-bindingSyntax="complex"</code>):
37
+ * Higher layers of the framework derive composite bindings from easy-to-write string
38
+ * representations (the following features require complex binding syntax, e.g.
39
+ * <code>data-sap-ui-bindingSyntax="complex"</code>):
39
40
  *
40
41
  * XML views, for example, convert attribute values with nested curly braces like
41
42
  * <pre>
42
43
  * text="{fullname} &amp;lt;{email}&amp;gt;"
43
44
  * </pre>
44
- * into a composite binding with two parts (one property binding for property "fullname" and one for
45
- * property "email") and with a generic formatter function that injects the values of the parts into
46
- * the string literal "{0} &lt;{1}&gt;" accordingly.
45
+ * into a composite binding with two parts (one property binding for property "fullname" and one
46
+ * for property "email") and with a generic formatter function that injects the values of the
47
+ * parts into the string literal "{0} &lt;{1}&gt;" accordingly.
47
48
  *
48
- * Similarly, {@link topic:daf6852a04b44d118963968a1239d2c0 expression bindings} are parsed and converted
49
- * into composite bindings, too. The formatter function is created by the framework and executes the
50
- * calculations as defined by the expression string, taking the values from the binding parts as input.
49
+ * Similarly, {@link topic:daf6852a04b44d118963968a1239d2c0 expression bindings} are parsed and
50
+ * converted into composite bindings, too. The formatter function is created by the framework
51
+ * and executes the calculations as defined by the expression string, taking the values from the
52
+ * binding parts as input.
51
53
  *
52
- * <b>Note:</b> A nesting of composite bindings is currently not supported (albeit being helpful).
54
+ * <b>Note:</b> A nesting of composite bindings is currently not supported (albeit being
55
+ * helpful).
53
56
  *
54
57
  * @see {@link topic:a2fe8e763014477e87990ff50657a0d0}
55
58
  * @public
@@ -113,11 +116,14 @@ sap.ui.define([
113
116
  };
114
117
 
115
118
  /**
116
- * Sets the optional type and internal type for the binding. The type and internal type are used to do the parsing/formatting correctly.
117
- * The internal type is the property type of the element which the value is formatted to.
119
+ * Sets the optional type and internal type for the binding. The type and internal type are used
120
+ * to do the parsing/formatting correctly. The internal type is the property type of the element
121
+ * which the value is formatted to.
118
122
  *
119
- * @param {sap.ui.model.CompositeType} oType the type for the binding
120
- * @param {string} sInternalType the internal type of the element property which this binding is bound against.
123
+ * @param {sap.ui.model.CompositeType} oType
124
+ * The type for the binding
125
+ * @param {string} sInternalType
126
+ * The internal type of the element property which this binding is bound against.
121
127
  *
122
128
  * @public
123
129
  */
@@ -197,7 +203,7 @@ sap.ui.define([
197
203
  * Sets the values. This will cause the setValue to be called for each nested binding, except
198
204
  * for undefined values in the array.
199
205
  *
200
- * @param {array} aValues the values to set for this binding
206
+ * @param {array} aValues The values to set for this binding
201
207
  *
202
208
  * @public
203
209
  */
@@ -218,7 +224,7 @@ sap.ui.define([
218
224
  /**
219
225
  * Returns the raw values of the property bindings in an array.
220
226
  *
221
- * @return {object} the values of the internal property bindings in an array
227
+ * @return {object} The values of the internal property bindings in an array
222
228
  *
223
229
  * @public
224
230
  */
@@ -235,9 +241,10 @@ sap.ui.define([
235
241
  };
236
242
 
237
243
  /**
238
- * Returns the current external value of the bound target which is formatted via a type or formatter function.
244
+ * Returns the current external value of the bound target which is formatted via a type or
245
+ * formatter function.
239
246
  *
240
- * @return {object} the current value of the bound target
247
+ * @return {object} The current value of the bound target
241
248
  *
242
249
  * @throws {sap.ui.model.FormatException}
243
250
  *
@@ -275,12 +282,13 @@ sap.ui.define([
275
282
  };
276
283
 
277
284
  /**
278
- * Sets the external value of a composite binding. If no CompositeType is assigned to the binding, the default
279
- * implementation assumes a space separated list of values. This will cause the setValue to be called for each
280
- * nested binding, except for undefined values in the array.
285
+ * Sets the external value of a composite binding. If no CompositeType is assigned to the
286
+ * binding, the default implementation assumes a space-separated list of values. This will cause
287
+ * the setValue to be called for each nested binding, except for undefined values in the array.
288
+ *
289
+ * @param {object} oValue The value to set for this binding
290
+ * @return {undefined|Promise} A promise in case of asynchronous type parsing or validation
281
291
  *
282
- * @param {object} oValue the value to set for this binding
283
- * @return {undefined|Promise} a promise in case of asynchronous type parsing or validation
284
292
  * @throws sap.ui.model.ParseException
285
293
  * @throws sap.ui.model.ValidateException
286
294
  *
@@ -292,10 +300,10 @@ sap.ui.define([
292
300
 
293
301
  if (this.sInternalType === "raw") {
294
302
  this.setRawValue(oValue);
295
- return;
303
+ return undefined;
296
304
  } else if (this.sInternalType === "internal") {
297
305
  this.setInternalValue(oValue);
298
- return;
306
+ return undefined;
299
307
  }
300
308
 
301
309
  oInternalType = this.sInternalType && DataType.getType(this.sInternalType);
@@ -303,7 +311,7 @@ sap.ui.define([
303
311
  // No twoway binding when using formatters
304
312
  if (this.fnFormatter) {
305
313
  Log.warning("Tried to use twoway binding, but a formatter function is used");
306
- return;
314
+ return undefined;
307
315
  }
308
316
 
309
317
  oDataState = this.getDataState();
@@ -358,10 +366,10 @@ sap.ui.define([
358
366
  };
359
367
 
360
368
  /**
361
- * Returns the current internal value of the bound target which is an array of the
362
- * internal (JS native) values of nested bindings
369
+ * Returns the current internal value of the bound target which is an array of the internal (JS
370
+ * native) values of nested bindings.
363
371
  *
364
- * @return {array} the current values of the nested bindings
372
+ * @return {array} The current values of the nested bindings
365
373
  *
366
374
  * @public
367
375
  */
@@ -372,10 +380,11 @@ sap.ui.define([
372
380
  };
373
381
 
374
382
  /**
375
- * Sets the internal value of the bound target. Parameter must be an array of
376
- * values matching the internal (JS native) types of nested bindings.
383
+ * Sets the internal value of the bound target. Parameter must be an array of values matching
384
+ * the internal (JS native) types of nested bindings.
377
385
  *
378
386
  * @param {array} aValues the new values of the nested bindings
387
+ * @return {undefined|Promise} A promise in case of asynchronous type parsing or validation
379
388
  *
380
389
  * @public
381
390
  */
@@ -421,10 +430,10 @@ sap.ui.define([
421
430
  };
422
431
 
423
432
  /**
424
- * Returns the current raw value of the bound target which is an array of the
425
- * raw (model) values of nested bindings
433
+ * Returns the current raw value of the bound target which is an array of the raw (model)
434
+ * values of nested bindings.
426
435
  *
427
- * @return {array} the current values of the nested bindings
436
+ * @return {array} The current values of the nested bindings
428
437
  *
429
438
  * @public
430
439
  */
@@ -435,10 +444,11 @@ sap.ui.define([
435
444
  };
436
445
 
437
446
  /**
438
- * Sets the raw value of the bound target. Parameter must be an array of
439
- * values matching the raw (model) types of nested bindings.
447
+ * Sets the raw value of the bound target. Parameter must be an array of values matching the raw
448
+ * (model) types of nested bindings.
440
449
  *
441
450
  * @param {array} aValues the new values of the nested bindings
451
+ * @return {undefined|Promise} A promise in case of asynchronous type parsing or validation
442
452
  *
443
453
  * @public
444
454
  */
@@ -510,6 +520,7 @@ sap.ui.define([
510
520
  * method always gets the full set of values to validate, even if partial updates are
511
521
  * used.
512
522
  *
523
+ * @param {any[]} aValues Values to fill empty current values with
513
524
  * @return {array} Array of values used for validation
514
525
  *
515
526
  * @private
@@ -532,7 +543,7 @@ sap.ui.define([
532
543
  /**
533
544
  * Returns the property bindings contained in this composite binding.
534
545
  *
535
- * @return {array} the property bindings in this composite binding
546
+ * @return {array} The property bindings in this composite binding
536
547
  *
537
548
  * @public
538
549
  */
@@ -540,11 +551,11 @@ sap.ui.define([
540
551
  return this.aBindings;
541
552
  };
542
553
 
543
-
544
554
  /**
545
555
  * {@see sap.ui.model.Binding#hasValidation}
546
556
  *
547
- * @returns {boolean} Returns true if the binding throws a validation exception when an invalid value is set on it.
557
+ * @returns {boolean}
558
+ * Whether the binding throws a validation exception when an invalid value is set on it
548
559
  * @private
549
560
  */
550
561
  CompositeBinding.prototype.hasValidation = function() {
@@ -570,11 +581,12 @@ sap.ui.define([
570
581
  * Attaches event handler <code>fnFunction</code> to the <code>change</code> event of this
571
582
  * <code>sap.ui.model.CompositeBinding</code>.
572
583
  *
573
- * When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code>
574
- * if specified, otherwise it will be bound to this <code>sap.ui.model.CompositeBinding</code> itself.
584
+ * When called, the context of the event handler (its <code>this</code>) will be bound to
585
+ * <code>oListener</code> if specified, otherwise it will be bound to this
586
+ * <code>sap.ui.model.CompositeBinding</code> itself.
575
587
  *
576
588
  * @param {function} fnFunction The function to be called, when the event occurs
577
- * @param {object} [oListener] object on which to call the given function
589
+ * @param {object} [oListener] Object on which to call the given function
578
590
  * @protected
579
591
  */
580
592
  CompositeBinding.prototype.attachChange = function(fnFunction, oListener) {
@@ -605,7 +617,7 @@ sap.ui.define([
605
617
  * <code>sap.ui.model.CompositeBinding</code>.
606
618
  *
607
619
  * @param {function} fnFunction The function to be called, when the event occurs
608
- * @param {object} [oListener] object on which to call the given function
620
+ * @param {object} [oListener] Object on which to call the given function
609
621
  * @protected
610
622
  */
611
623
  CompositeBinding.prototype.detachChange = function(fnFunction, oListener) {
@@ -619,14 +631,15 @@ sap.ui.define([
619
631
  };
620
632
 
621
633
  /**
622
- * Attaches event handler <code>fnFunction</code> to the <code>DataStateChange</code> event of this
623
- * <code>sap.ui.model.CompositeBinding</code>.
634
+ * Attaches event handler <code>fnFunction</code> to the <code>DataStateChange</code> event of
635
+ * this <code>sap.ui.model.CompositeBinding</code>.
624
636
  *
625
- * When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code>
626
- * if specified, otherwise it will be bound to this <code>sap.ui.model.CompositeBinding</code> itself.
637
+ * When called, the context of the event handler (its <code>this</code>) will be bound to
638
+ * <code>oListener</code> if specified, otherwise it will be bound to this
639
+ * <code>sap.ui.model.CompositeBinding</code> itself.
627
640
  *
628
641
  * @param {function} fnFunction The function to be called, when the event occurs
629
- * @param {object} [oListener] object on which to call the given function
642
+ * @param {object} [oListener] Object on which to call the given function
630
643
  * @protected
631
644
  */
632
645
  CompositeBinding.prototype.attachDataStateChange = function(fnFunction, oListener) {
@@ -652,7 +665,7 @@ sap.ui.define([
652
665
  * this <code>sap.ui.model.CompositeBinding</code>.
653
666
  *
654
667
  * @param {function} fnFunction The function to be called, when the event occurs
655
- * @param {object} [oListener] object on which to call the given function
668
+ * @param {object} [oListener] Object on which to call the given function
656
669
  * @protected
657
670
  */
658
671
  CompositeBinding.prototype.detachDataStateChange = function(fnFunction, oListener) {
@@ -666,15 +679,15 @@ sap.ui.define([
666
679
  };
667
680
 
668
681
  /**
669
- * Attaches event handler <code>fnFunction</code> to the <code>AggregatedDataStateChange</code> event of this
670
- * <code>sap.ui.model.CompositeBinding</code>.
682
+ * Attaches event handler <code>fnFunction</code> to the <code>AggregatedDataStateChange</code>
683
+ * event of this <code>sap.ui.model.CompositeBinding</code>.
671
684
  *
672
- * The <code>AggregatedDataStateChange</code> event is fired asynchronously, meaning that the <code>DataState</code>
673
- * object given as parameter of the event contains all changes that were applied to the <code>DataState</code>
674
- * in the running thread.
685
+ * The <code>AggregatedDataStateChange</code> event is fired asynchronously, meaning that the
686
+ * <code>DataState</code> object given as parameter of the event contains all changes that were
687
+ * applied to the <code>DataState</code> in the running thread.
675
688
  *
676
689
  * @param {function} fnFunction The function to be called, when the event occurs
677
- * @param {object} [oListener] object on which to call the given function.
690
+ * @param {object} [oListener] Object on which to call the given function
678
691
  * @protected
679
692
  */
680
693
  CompositeBinding.prototype.attachAggregatedDataStateChange = function(fnFunction, oListener) {
@@ -700,11 +713,12 @@ sap.ui.define([
700
713
  };
701
714
 
702
715
  /**
703
- * Detaches event handler <code>fnFunction</code> from the <code>AggregatedDataStateChange</code>
704
- * event of this <code>sap.ui.model.CompositeBinding</code>.
716
+ * Detaches event handler <code>fnFunction</code> from the
717
+ * <code>AggregatedDataStateChange</code> event of this
718
+ * <code>sap.ui.model.CompositeBinding</code>.
705
719
  *
706
720
  * @param {function} fnFunction The function to be called, when the event occurs
707
- * @param {object} [oListener] object on which to call the given function
721
+ * @param {object} [oListener] Object on which to call the given function
708
722
  * @protected
709
723
  */
710
724
  CompositeBinding.prototype.detachAggregatedDataStateChange = function(fnFunction, oListener) {
@@ -717,11 +731,12 @@ sap.ui.define([
717
731
  }
718
732
  };
719
733
 
720
-
721
734
  /**
722
- * Determines if the property bindings in the composite binding should be updated by calling updateRequired on all property bindings with the specified model.
735
+ * Determines if the property bindings in the composite binding should be updated by calling
736
+ * updateRequired on all property bindings with the specified model.
737
+ *
723
738
  * @param {object} oModel The model instance to compare against
724
- * @returns {boolean} true if this binding should be updated
739
+ * @returns {boolean} Whether this binding should be updated
725
740
  * @protected
726
741
  */
727
742
  CompositeBinding.prototype.updateRequired = function(oModel) {
@@ -735,9 +750,11 @@ sap.ui.define([
735
750
  /**
736
751
  * Initialize the binding. The method should be called when creating a binding.
737
752
  * The default implementation calls checkUpdate(true).
738
- * Prevent checkUpdate to be triggered while initializing nestend bindings, it is
753
+ * Prevent checkUpdate to be triggered while initializing nested bindings, it is
739
754
  * sufficient to call checkUpdate when all nested bindings are initialized.
740
755
  *
756
+ * @returns {this} A reference to itself
757
+ *
741
758
  * @protected
742
759
  */
743
760
  CompositeBinding.prototype.initialize = function() {
@@ -756,8 +773,9 @@ sap.ui.define([
756
773
 
757
774
 
758
775
  /**
759
- * Returns the data state for this binding
760
- * @return {sap.ui.model.CompositeDataState} the data state
776
+ * Returns the data state for this binding.
777
+ *
778
+ * @return {sap.ui.model.CompositeDataState} The data state
761
779
  */
762
780
  CompositeBinding.prototype.getDataState = function() {
763
781
  if (!this.oDataState) {
@@ -771,9 +789,11 @@ sap.ui.define([
771
789
  /**
772
790
  * Suspends the binding update. No change events will be fired.
773
791
  *
774
- * A refresh call with bForceUpdate set to true will also update the binding and fire a change in suspended mode.
775
- * Special operations on bindings, which require updates to work properly (as paging or filtering in list bindings)
776
- * will also update and cause a change event although the binding is suspended.
792
+ * A refresh call with bForceUpdate set to true will also update the binding and fire a change
793
+ * in suspended mode. Special operations on bindings, which require updates to work properly
794
+ * (as paging or filtering in list bindings) will also update and cause a change event although
795
+ * the binding is suspended.
796
+ *
777
797
  * @public
778
798
  */
779
799
  CompositeBinding.prototype.suspend = function() {
@@ -786,9 +806,11 @@ sap.ui.define([
786
806
  /**
787
807
  * Suspends the binding update. No change events will be fired.
788
808
  *
789
- * A refresh call with bForceUpdate set to true will also update the binding and fire a change in suspended mode.
790
- * Special operations on bindings, which require updates to work properly (as paging or filtering in list bindings)
791
- * will also update and cause a change event although the binding is suspended.
809
+ * A refresh call with bForceUpdate set to true will also update the binding and fire a change
810
+ * in suspended mode. Special operations on bindings, which require updates to work properly
811
+ * (as paging or filtering in list bindings) will also update and cause a change event although
812
+ * the binding is suspended.
813
+ *
792
814
  * @public
793
815
  */
794
816
  CompositeBinding.prototype.resume = function() {
@@ -803,7 +825,7 @@ sap.ui.define([
803
825
  * Check whether this Binding would provide new values and in case it changed,
804
826
  * inform interested parties about this.
805
827
  *
806
- * @param {boolean} bForceupdate
828
+ * @param {boolean} bForceUpdate Whether an update should be forced
807
829
  *
808
830
  */
809
831
  CompositeBinding.prototype.checkUpdate = function(bForceUpdate){
@@ -842,5 +864,4 @@ sap.ui.define([
842
864
  };
843
865
 
844
866
  return CompositeBinding;
845
-
846
867
  });
@@ -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
  sap.ui.define(['./DataState', "sap/base/util/deepEqual", "sap/base/util/each"], function(DataState, deepEqual, each) {
8
8
  "use strict";
9
9
 
@@ -14,7 +14,7 @@ sap.ui.define(['./DataState', "sap/base/util/deepEqual", "sap/base/util/each"],
14
14
  * @extends sap.ui.model.DataState
15
15
  *
16
16
  * @author SAP SE
17
- * @version 1.93.3
17
+ * @version 1.96.2
18
18
  *
19
19
  * @public
20
20
  * @alias sap.ui.model.CompositeDataState
@@ -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 base implementation for all composite type implementations
8
8
  sap.ui.define(['./SimpleType'],
9
9
  function (SimpleType) {
@@ -39,7 +39,7 @@ sap.ui.define(['./SimpleType'],
39
39
  * <code>true</code>.
40
40
  * @extends sap.ui.model.SimpleType
41
41
  * @public
42
- * @version 1.93.3
42
+ * @version 1.96.2
43
43
  */
44
44
  var CompositeType = SimpleType.extend("sap.ui.model.CompositeType", /** @lends sap.ui.model.CompositeType.prototype */ {
45
45
 
@@ -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 model bindings
8
8
  sap.ui.define(['sap/ui/base/Object', "sap/base/util/isPlainObject"],
9
9
  function(BaseObject, isPlainObject) {
@@ -203,7 +203,9 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/util/isPlainObject"],
203
203
  };
204
204
 
205
205
  /**
206
- * toString method returns path for compatibility
206
+ * Returns the path of this Context instance.
207
+ *
208
+ * @returns {string} The path
207
209
  */
208
210
  Context.prototype.toString = function() {
209
211
  return this.sPath;
@@ -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(['./Binding'],
9
9
  function(Binding) {
@@ -43,28 +43,20 @@ sap.ui.define(['./Binding'],
43
43
  });
44
44
 
45
45
  /**
46
- * Check whether this Binding would provide new values and in case it changed,
47
- * inform interested parties about this.
46
+ * Check whether this Binding would provide new values and in case it changed, inform interested
47
+ * parties about this.
48
48
  *
49
- * @param {boolean} bForceupdate
49
+ * @param {boolean} bForceupdate Ignored in this method
50
50
  */
51
51
  ContextBinding.prototype.checkUpdate = function(bForceupdate) {
52
52
  // nothing to do here, data changes can not change the context
53
53
  };
54
54
 
55
- /**
56
- * Refreshes the binding, check whether the model data has been changed and fire change event
57
- * if this is the case. For server side models this should refetch the data from the server.
58
- *
59
- * @param {boolean} bForceUpdate Does not have any effect on this binding
60
- *
61
- * @public
62
- */
63
-
64
55
  /**
65
56
  * Return the bound context.
66
57
  *
67
- * @returns {sap.ui.model.Context} Context object used by this context binding or <code>null</code>
58
+ * @returns {sap.ui.model.Context}
59
+ * Context object used by this context binding or <code>null</code>
68
60
  * @public
69
61
  */
70
62
  ContextBinding.prototype.getBoundContext = function() {