@openui5/sap.ui.core 1.130.0 → 1.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +1 -1
  3. package/src/jquery.sap.global.js +1 -1
  4. package/src/jquery.sap.properties.js +1 -1
  5. package/src/jquery.sap.resources.js +1 -1
  6. package/src/jquery.sap.script.js +1 -1
  7. package/src/jquery.sap.storage.js +3 -3
  8. package/src/sap/base/Event.js +1 -1
  9. package/src/sap/base/Eventing.js +3 -2
  10. package/src/sap/base/config.js +1 -1
  11. package/src/sap/base/i18n/LanguageTag.js +1 -1
  12. package/src/sap/base/i18n/date/CalendarType.js +3 -1
  13. package/src/sap/base/i18n/date/CalendarWeekNumbering.js +3 -1
  14. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  15. package/src/sap/base/i18n/date/_EnumHelper.js +43 -0
  16. package/src/sap/base/util/clamp.js +26 -0
  17. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  18. package/src/sap/base/util/restricted/_castArray.js +1 -1
  19. package/src/sap/base/util/restricted/_compact.js +1 -1
  20. package/src/sap/base/util/restricted/_curry.js +1 -1
  21. package/src/sap/base/util/restricted/_debounce.js +1 -1
  22. package/src/sap/base/util/restricted/_difference.js +1 -1
  23. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  24. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  25. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  27. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  28. package/src/sap/base/util/restricted/_flatten.js +1 -1
  29. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  30. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  31. package/src/sap/base/util/restricted/_intersection.js +1 -1
  32. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  33. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  34. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  35. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  36. package/src/sap/base/util/restricted/_isNil.js +1 -1
  37. package/src/sap/base/util/restricted/_max.js +1 -1
  38. package/src/sap/base/util/restricted/_merge.js +1 -1
  39. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  40. package/src/sap/base/util/restricted/_min.js +1 -1
  41. package/src/sap/base/util/restricted/_omit.js +1 -1
  42. package/src/sap/base/util/restricted/_pick.js +1 -1
  43. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  44. package/src/sap/base/util/restricted/_throttle.js +1 -1
  45. package/src/sap/base/util/restricted/_toArray.js +1 -1
  46. package/src/sap/base/util/restricted/_union.js +1 -1
  47. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  48. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  49. package/src/sap/base/util/restricted/_uniq.js +1 -1
  50. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  51. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  52. package/src/sap/base/util/restricted/_without.js +1 -1
  53. package/src/sap/base/util/restricted/_xor.js +1 -1
  54. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  55. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  56. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  57. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  58. package/src/sap/ui/Device.js +11 -8
  59. package/src/sap/ui/Global.js +3 -3
  60. package/src/sap/ui/base/BindingInfo.js +4 -2
  61. package/src/sap/ui/base/DataType.js +7 -2
  62. package/src/sap/ui/base/Event.js +1 -1
  63. package/src/sap/ui/base/EventProvider.js +1 -1
  64. package/src/sap/ui/base/Interface.js +1 -1
  65. package/src/sap/ui/base/ManagedObject.js +1 -1
  66. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  67. package/src/sap/ui/base/Metadata.js +1 -1
  68. package/src/sap/ui/base/Object.js +1 -1
  69. package/src/sap/ui/base/ObjectPool.js +1 -1
  70. package/src/sap/ui/core/.library +3 -3
  71. package/src/sap/ui/core/BlockLayerUtils.js +17 -29
  72. package/src/sap/ui/core/BusyIndicator.js +2 -15
  73. package/src/sap/ui/core/BusyIndicatorUtils.js +34 -3
  74. package/src/sap/ui/core/Component.js +1 -1
  75. package/src/sap/ui/core/ComponentContainer.js +1 -1
  76. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  77. package/src/sap/ui/core/ComponentSupport.js +1 -1
  78. package/src/sap/ui/core/Configuration.js +1 -1
  79. package/src/sap/ui/core/ContextMenuSupport.js +2 -1
  80. package/src/sap/ui/core/Control.js +46 -10
  81. package/src/sap/ui/core/ControlBehavior.js +14 -18
  82. package/src/sap/ui/core/Core.js +2 -2
  83. package/src/sap/ui/core/CustomData.js +1 -1
  84. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  85. package/src/sap/ui/core/Element.js +230 -32
  86. package/src/sap/ui/core/ElementMetadata.js +1 -1
  87. package/src/sap/ui/core/EnabledPropagator.js +4 -4
  88. package/src/sap/ui/core/EventBus.js +1 -1
  89. package/src/sap/ui/core/FocusMode.js +28 -0
  90. package/src/sap/ui/core/Fragment.js +1 -1
  91. package/src/sap/ui/core/HTML.js +1 -1
  92. package/src/sap/ui/core/History.js +1 -1
  93. package/src/sap/ui/core/Icon.js +1 -1
  94. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  95. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  96. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  97. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  98. package/src/sap/ui/core/InvisibleText.js +1 -1
  99. package/src/sap/ui/core/Item.js +1 -1
  100. package/src/sap/ui/core/LabelEnablement.js +1 -1
  101. package/src/sap/ui/core/LayoutData.js +1 -1
  102. package/src/sap/ui/core/ListItem.js +1 -1
  103. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  104. package/src/sap/ui/core/Locale.js +1 -1
  105. package/src/sap/ui/core/LocaleData.js +3 -3
  106. package/src/sap/ui/core/Manifest.js +2 -2
  107. package/src/sap/ui/core/Message.js +1 -1
  108. package/src/sap/ui/core/Popup.js +12 -0
  109. package/src/sap/ui/core/RenderManager.js +4 -1
  110. package/src/sap/ui/core/Renderer.js +1 -1
  111. package/src/sap/ui/core/ResizeHandler.js +1 -1
  112. package/src/sap/ui/core/ScrollBar.js +1 -1
  113. package/src/sap/ui/core/SeparatorItem.js +1 -1
  114. package/src/sap/ui/core/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 +1 -1
  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 +1 -1
  122. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  123. package/src/sap/ui/core/_IconRegistry.js +1 -0
  124. package/src/sap/ui/core/cldr/ca.json +1 -1
  125. package/src/sap/ui/core/cldr/cs.json +1 -1
  126. package/src/sap/ui/core/cldr/es.json +2 -2
  127. package/src/sap/ui/core/cldr/es_AR.json +2 -2
  128. package/src/sap/ui/core/cldr/es_BO.json +2 -2
  129. package/src/sap/ui/core/cldr/es_CL.json +2 -2
  130. package/src/sap/ui/core/cldr/es_CO.json +2 -2
  131. package/src/sap/ui/core/cldr/es_PE.json +2 -2
  132. package/src/sap/ui/core/cldr/es_UY.json +2 -2
  133. package/src/sap/ui/core/cldr/es_VE.json +2 -2
  134. package/src/sap/ui/core/cldr/fi.json +1 -1
  135. package/src/sap/ui/core/cldr/hu.json +1 -1
  136. package/src/sap/ui/core/cldr/id.json +2 -2
  137. package/src/sap/ui/core/cldr/mk.json +2 -2
  138. package/src/sap/ui/core/cldr/tr.json +1 -1
  139. package/src/sap/ui/core/cldr/vi.json +2 -2
  140. package/src/sap/ui/core/date/CalendarWeekNumbering.js +1 -1
  141. package/src/sap/ui/core/date/UI5Date.js +1 -1
  142. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  143. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  144. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  145. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  146. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  147. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  148. package/src/sap/ui/core/fieldhelp/FieldHelpCustomData.js +5 -1
  149. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  150. package/src/sap/ui/core/format/NumberFormat.js +38 -17
  151. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  152. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  153. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  154. package/src/sap/ui/core/library.js +23 -19
  155. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  156. package/src/sap/ui/core/message/Message.js +1 -1
  157. package/src/sap/ui/core/message/MessageManager.js +1 -1
  158. package/src/sap/ui/core/message/MessageMixin.js +5 -2
  159. package/src/sap/ui/core/message/MessageParser.js +1 -1
  160. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  161. package/src/sap/ui/core/messagebundle_no.properties +1 -1
  162. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  163. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  164. package/src/sap/ui/core/mvc/JSView.js +1 -1
  165. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  166. package/src/sap/ui/core/mvc/View.js +1 -1
  167. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  168. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  169. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  170. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  171. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  172. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  173. package/src/sap/ui/core/routing/Target.js +5 -5
  174. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  175. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  176. package/src/sap/ui/core/service/Service.js +1 -1
  177. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  178. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  179. package/src/sap/ui/core/support/Plugin.js +1 -1
  180. package/src/sap/ui/core/support/Support.js +1 -1
  181. package/src/sap/ui/core/support/bootstrapFallback.js +1 -0
  182. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  183. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  184. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  185. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  186. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  187. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  188. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  189. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  190. package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -0
  191. package/src/sap/ui/core/themes/base/base.less +1353 -247
  192. package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
  193. package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
  194. package/src/sap/ui/core/themes/base/global.less +32 -0
  195. package/src/sap/ui/core/themes/base/skeleton.less +93 -3
  196. package/src/sap/ui/core/theming/ThemeManager.js +2 -2
  197. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  198. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  199. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  200. package/src/sap/ui/core/tmpl/Template.js +1 -1
  201. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  202. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  203. package/src/sap/ui/core/util/Export.js +1 -1
  204. package/src/sap/ui/core/util/ExportCell.js +1 -1
  205. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  206. package/src/sap/ui/core/util/ExportRow.js +1 -1
  207. package/src/sap/ui/core/util/ExportType.js +1 -1
  208. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  209. package/src/sap/ui/core/util/File.js +1 -1
  210. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  211. package/src/sap/ui/core/util/MockServer.js +1 -1
  212. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  213. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  214. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  215. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  216. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  217. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  218. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  219. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  220. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  221. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  222. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  223. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  224. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  225. package/src/sap/ui/debug/ControlTree.js +1 -1
  226. package/src/sap/ui/debug/DebugEnv.js +1 -1
  227. package/src/sap/ui/debug/PropertyList.js +1 -1
  228. package/src/sap/ui/model/ClientModel.js +1 -1
  229. package/src/sap/ui/model/ClientTreeBinding.js +32 -19
  230. package/src/sap/ui/model/CompositeDataState.js +1 -1
  231. package/src/sap/ui/model/CompositeType.js +1 -1
  232. package/src/sap/ui/model/DataState.js +1 -1
  233. package/src/sap/ui/model/Filter.js +2 -1
  234. package/src/sap/ui/model/MetaModel.js +1 -1
  235. package/src/sap/ui/model/Model.js +1 -1
  236. package/src/sap/ui/model/SelectionModel.js +1 -1
  237. package/src/sap/ui/model/SimpleType.js +1 -1
  238. package/src/sap/ui/model/Sorter.js +61 -31
  239. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  240. package/src/sap/ui/model/TreeBinding.js +21 -17
  241. package/src/sap/ui/model/Type.js +1 -1
  242. package/src/sap/ui/model/analytics/AnalyticalBinding.js +13 -7
  243. package/src/sap/ui/model/base/ManagedObjectModel.js +1 -1
  244. package/src/sap/ui/model/json/JSONModel.js +1 -1
  245. package/src/sap/ui/model/message/MessageModel.js +1 -1
  246. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  247. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  248. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  249. package/src/sap/ui/model/odata/ODataMetadata.js +16 -6
  250. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  251. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  252. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  253. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  254. package/src/sap/ui/model/odata/type/Date.js +1 -1
  255. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  256. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  257. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  258. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  259. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  260. package/src/sap/ui/model/odata/type/Double.js +1 -1
  261. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  262. package/src/sap/ui/model/odata/type/Int.js +1 -1
  263. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  264. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  265. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  266. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  267. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  268. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  269. package/src/sap/ui/model/odata/type/Single.js +1 -1
  270. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  271. package/src/sap/ui/model/odata/type/String.js +1 -1
  272. package/src/sap/ui/model/odata/type/Time.js +1 -1
  273. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  274. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  275. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  276. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  277. package/src/sap/ui/model/odata/v2/ODataListBinding.js +7 -4
  278. package/src/sap/ui/model/odata/v2/ODataModel.js +14 -10
  279. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  280. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  281. package/src/sap/ui/model/odata/v4/ODataBinding.js +1 -0
  282. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -1
  283. package/src/sap/ui/model/odata/v4/ODataListBinding.js +74 -11
  284. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +93 -19
  285. package/src/sap/ui/model/odata/v4/ODataModel.js +49 -8
  286. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +3 -1
  287. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +2 -1
  288. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +12 -1
  289. package/src/sap/ui/model/odata/v4/lib/_Cache.js +51 -30
  290. package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +49 -31
  291. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +8 -26
  292. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  293. package/src/sap/ui/model/type/Boolean.js +1 -1
  294. package/src/sap/ui/model/type/Currency.js +1 -1
  295. package/src/sap/ui/model/type/Date.js +1 -1
  296. package/src/sap/ui/model/type/DateInterval.js +1 -1
  297. package/src/sap/ui/model/type/DateTime.js +1 -1
  298. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  299. package/src/sap/ui/model/type/FileSize.js +1 -1
  300. package/src/sap/ui/model/type/Float.js +1 -1
  301. package/src/sap/ui/model/type/Integer.js +1 -1
  302. package/src/sap/ui/model/type/String.js +1 -1
  303. package/src/sap/ui/model/type/Time.js +1 -1
  304. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  305. package/src/sap/ui/model/type/Unit.js +1 -1
  306. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  307. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  308. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  309. package/src/sap/ui/test/OpaBuilder.js +1 -1
  310. package/src/sap/ui/test/autowaiter/_promiseWaiter.js +21 -0
  311. package/src/sap/ui/test/generic/TestBase.js +1 -1
  312. package/src/sap/ui/test/starter/_utils.js +8 -1
  313. package/src/sap/ui/test/starter/createSuite.js +1 -1
  314. package/src/sap/ui/thirdparty/less.js +23 -72
  315. package/src/sap/ui/util/Storage.js +1 -1
  316. package/src/ui5loader.js +9 -4
  317. package/test/sap/ui/qunit/TestRunner.js +2 -0
@@ -37,7 +37,7 @@ sap.ui.define('sap/ui/debug/DebugEnv', [
37
37
  * @class Central Class for the Debug Environment
38
38
  *
39
39
  * @author Martin Schaus, Frank Weigel
40
- * @version 1.130.0
40
+ * @version 1.131.0
41
41
  * @private
42
42
  * @alias sap.ui.debug.DebugEnv
43
43
  * @deprecated As of Version 1.120
@@ -32,7 +32,7 @@ sap.ui.define('sap/ui/debug/PropertyList', [
32
32
  *
33
33
  * @extends sap.ui.base.EventProvider
34
34
  * @author Martin Schaus
35
- * @version 1.130.0
35
+ * @version 1.131.0
36
36
  *
37
37
  * @param {sap.ui.core.Core}
38
38
  * oCore Core instance of the app; version might differ!
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @extends sap.ui.model.Model
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.130.0
32
+ * @version 1.131.0
33
33
  *
34
34
  * @param {string} [oData] URL where to load the data from
35
35
  * @public
@@ -4,7 +4,7 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  /*eslint-disable max-len */
7
- // Provides the JSON model implementation of a list binding
7
+ // Provides the client model implementation of a tree binding
8
8
  sap.ui.define([
9
9
  "./ChangeReason",
10
10
  "./TreeBinding",
@@ -75,12 +75,14 @@ sap.ui.define([
75
75
  });
76
76
 
77
77
  /**
78
- * Return root contexts for the tree
78
+ * Return root contexts for the tree.
79
+ *
80
+ * @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
81
+ * @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
82
+ * model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
83
+ * @returns {sap.ui.model.Context[]} the context's array
79
84
  *
80
- * @return {object[]} the contexts array
81
85
  * @protected
82
- * @param {int} iStartIndex the startIndex where to start the retrieval of contexts
83
- * @param {int} iLength determines how many contexts to retrieve beginning from the start index.
84
86
  */
85
87
  ClientTreeBinding.prototype.getRootContexts = function(iStartIndex, iLength) {
86
88
  if (!iStartIndex) {
@@ -125,11 +127,14 @@ sap.ui.define([
125
127
  };
126
128
 
127
129
  /**
128
- * Return node contexts for the tree
130
+ * Return node contexts for the tree.
131
+ *
129
132
  * @param {sap.ui.model.Context} oContext to use for retrieving the node contexts
130
- * @param {int} iStartIndex the startIndex where to start the retrieval of contexts
131
- * @param {int} iLength determines how many contexts to retrieve beginning from the start index.
132
- * @return {sap.ui.model.Context[]} the contexts array
133
+ * @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
134
+ * @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
135
+ * model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
136
+ * @returns {sap.ui.model.Context[]} the context's array
137
+ *
133
138
  * @protected
134
139
  */
135
140
  ClientTreeBinding.prototype.getNodeContexts = function(oContext, iStartIndex, iLength) {
@@ -182,8 +187,8 @@ sap.ui.define([
182
187
  /**
183
188
  * Returns if the node has child nodes.
184
189
  *
185
- * @param {object} oContext the context element of the node
186
- * @return {boolean} true if node has children
190
+ * @param {sap.ui.model.Context} oContext the context element of the node
191
+ * @returns {boolean} <code>true</code> if the node has children
187
192
  *
188
193
  * @public
189
194
  */
@@ -200,7 +205,8 @@ sap.ui.define([
200
205
  * Calling it with no arguments or 'null' returns the number of root level nodes.
201
206
  *
202
207
  * @param {sap.ui.model.Context} oContext the context for which the child count should be retrieved
203
- * @return {int} the number of children for the given context
208
+ * @returns {int} the number of children for the given context
209
+ *
204
210
  * @public
205
211
  * @override
206
212
  */
@@ -266,7 +272,6 @@ sap.ui.define([
266
272
  * All filters belonging to a group (=have the same path) are ORed and after that the
267
273
  * results of all groups are ANDed.
268
274
  *
269
- * @see sap.ui.model.TreeBinding.prototype.filter
270
275
  * @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
271
276
  * The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
272
277
  * in {@link sap.ui.model.ClientModel#bindTree}; a falsy value is treated as an empty array and thus removes all
@@ -275,12 +280,13 @@ sap.ui.define([
275
280
  * The type of the filter to replace; if no type is given, all filters previously configured with type
276
281
  * {@link sap.ui.model.FilterType.Application} are cleared, and the given filters are used as filters of type
277
282
  * {@link sap.ui.model.FilterType.Control}
278
- * @return {this} <code>this</code> to facilitate method chaining
283
+ * @returns {this} <code>this</code> to facilitate method chaining
279
284
  * @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
280
285
  * implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in
281
286
  * <code>aFilters</code> together with other filters
282
287
  *
283
288
  * @public
289
+ * @see sap.ui.model.TreeBinding.prototype.filter
284
290
  */
285
291
  ClientTreeBinding.prototype.filter = function(aFilters, sFilterType){
286
292
  // The filtering is applied recursively through the tree and stores all filtered contexts and its parent contexts in an array.
@@ -318,6 +324,7 @@ sap.ui.define([
318
324
 
319
325
  /**
320
326
  * Apply the current defined filters on the existing dataset.
327
+ *
321
328
  * @private
322
329
  */
323
330
  ClientTreeBinding.prototype.applyFilter = function () {
@@ -331,7 +338,10 @@ sap.ui.define([
331
338
  /**
332
339
  * Filters the tree recursively.
333
340
  * Performs the real filtering and stores all filtered contexts and its parent context into an array.
334
- * @param {object} [oParentContext] the context where to start. The children of this node context are then filtered recursively.
341
+ *
342
+ * @param {sap.ui.model.Context} [oParentContext] the context where to start. The children of this node context are
343
+ * then filtered recursively.
344
+ *
335
345
  * @private
336
346
  */
337
347
  ClientTreeBinding.prototype._applyFilterRecursive = function(oParentContext){
@@ -390,8 +400,8 @@ sap.ui.define([
390
400
  * @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
391
401
  * The sorters to use; they replace the sorters given in {@link sap.ui.model.ClientModel#bindTree}; a falsy value
392
402
  * is treated as an empty array and thus removes all sorters
403
+ * @returns {this} Returns <code>this</code> to facilitate method chaining
393
404
  *
394
- * @return {this} Returns <code>this</code> to facilitate method chaining
395
405
  * @public
396
406
  */
397
407
  ClientTreeBinding.prototype.sort = function (aSorters) {
@@ -404,8 +414,9 @@ sap.ui.define([
404
414
  };
405
415
 
406
416
  /**
407
- * internal function to apply the defined this.aSorters for the given array
408
- * @param {array} aContexts the context array which should be sorted (inplace)
417
+ * Internal function to apply this.aSorters to the given array of contexts.
418
+ *
419
+ * @param {sap.ui.model.Context[]} aContexts the context array which should be sorted (inplace)
409
420
  */
410
421
  ClientTreeBinding.prototype._applySorter = function (aContexts) {
411
422
  var that = this;
@@ -423,7 +434,7 @@ sap.ui.define([
423
434
  * Called by get*Contexts() to keep track of the child count (after filtering).
424
435
  *
425
436
  * @param {string} sKey The cache entry to set the length for
426
- * @param {number} iLength The new length
437
+ * @param {int} iLength The new length
427
438
  */
428
439
  ClientTreeBinding.prototype._setLengthCache = function (sKey, iLength) {
429
440
  // keep track of the child count for each context (after filtering)
@@ -451,6 +462,7 @@ sap.ui.define([
451
462
  *
452
463
  * @returns {number|undefined} The count of entries in the tree, or <code>undefined</code> if
453
464
  * the binding is not resolved
465
+ *
454
466
  * @public
455
467
  * @since 1.108.0
456
468
  */
@@ -479,6 +491,7 @@ sap.ui.define([
479
491
  * Whether the given data is the root of the tree
480
492
  * @returns {number}
481
493
  * The total count of objects in the given data
494
+ *
482
495
  * @private
483
496
  */
484
497
  ClientTreeBinding._getTotalNodeCount = function (vData, aArrayNames, bRoot) {
@@ -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.130.0
17
+ * @version 1.131.0
18
18
  *
19
19
  * @public
20
20
  * @alias sap.ui.model.CompositeDataState
@@ -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.130.0
42
+ * @version 1.131.0
43
43
  */
44
44
  var CompositeType = SimpleType.extend("sap.ui.model.CompositeType", /** @lends sap.ui.model.CompositeType.prototype */ {
45
45
 
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.ui.base.Object
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.130.0
68
+ * @version 1.131.0
69
69
  *
70
70
  * @public
71
71
  * @alias sap.ui.model.DataState
@@ -120,7 +120,8 @@ sap.ui.define([
120
120
  * Filter for the list binding.
121
121
  *
122
122
  * @param {object|string|sap.ui.model.Filter[]} vFilterInfo
123
- * Filter info object or a path or an array of filters
123
+ * Filter info object or a path or an array of filters; if a filter info object is given, the
124
+ * other constructor parameters are ignored
124
125
  * @param {string} [vFilterInfo.path]
125
126
  * Binding path for this filter
126
127
  * @param {function(any):boolean} [vFilterInfo.test]
@@ -16,7 +16,7 @@ sap.ui.define(['./Model'],
16
16
  * @extends sap.ui.model.Model
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.130.0
19
+ * @version 1.131.0
20
20
  *
21
21
  * @public
22
22
  * @alias sap.ui.model.MetaModel
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  * @extends sap.ui.core.message.MessageProcessor
52
52
  *
53
53
  * @author SAP SE
54
- * @version 1.130.0
54
+ * @version 1.131.0
55
55
  *
56
56
  * @public
57
57
  * @alias sap.ui.model.Model
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/assert"],
20
20
  * @extends sap.ui.base.EventProvider
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.130.0
23
+ * @version 1.131.0
24
24
  *
25
25
  * @param {int} iSelectionMode <code>sap.ui.model.SelectionModel.SINGLE_SELECTION</code> or <code>sap.ui.model.SelectionModel.MULTI_SELECTION</code>
26
26
  *
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  *
47
47
  * @extends sap.ui.model.Type
48
48
  * @public
49
- * @version 1.130.0
49
+ * @version 1.131.0
50
50
  */
51
51
  var SimpleType = Type.extend("sap.ui.model.SimpleType", /** @lends sap.ui.model.SimpleType.prototype */ {
52
52
 
@@ -21,44 +21,52 @@ sap.ui.define([
21
21
  *
22
22
  * Instances of this class define the sort order for a list binding.
23
23
  *
24
- *
25
- * @param {string} sPath the binding path used for sorting
26
- * @param {boolean} [bDescending=false] whether the sort order should be descending
27
- * @param {boolean|function} [vGroup] configure grouping of the content, can either be true to
28
- * enable grouping based on the raw model property value, or a function which calculates the
29
- * group value out of the context (e.g. oContext.getProperty("date").getYear() for year
30
- * grouping). The control needs to implement the grouping behaviour for the aggregation which
31
- * you want to group. In case a function is provided it must either return a primitive type
32
- * value as the group key or an object containing a "key" property and additional properties
33
- * needed for group visualization. This object or the object with the primitive type return
34
- * value as "key" property is passed to the <code>groupHeaderFactory</code> function that has
35
- * been specified to create the group header for the control aggregation; see
36
- * {@link sap.ui.base.ManagedObject#bindAggregation}.
37
- * <b>Note:</b> Grouping via <code>vGroup=true</code> is only possible (and only makes sense)
38
- * for the primary sort property. A more complicated grouping is possible by providing a
39
- * grouping function. The sort order needs to fit to the grouping also in this case. See also
40
- * {@link topic:ec79a5d5918f4f7f9cbc2150e66778cc Sorting, Grouping, and Filtering for List
41
- * Binding}.
42
- * @param {function} [fnComparator] A custom comparator function, which is used for client-side
43
- * sorting instead of the default comparator method. Information about parameters and expected
44
- * return values of such a method can be found in the
24
+ * @param {string|object} vSorterInfo
25
+ * The binding path used for sorting or the sorter info object; if a sorter info object is given, the other
26
+ * constructor parameters are ignored
27
+ * @param {function} [vSorterInfo.comparator]
28
+ * See <code>fnComparator</code> parameter
29
+ * @param {boolean} [vSorterInfo.descending=false]
30
+ * See <code>bDescending</code> parameter
31
+ * @param {boolean|function} [vSorterInfo.group]
32
+ * See <code>vGroup</code> parameter
33
+ * @param {string} [vSorterInfo.path]
34
+ * The binding path for this sorter
35
+ * @param {boolean} [bDescending=false]
36
+ * Whether the sort order is descending
37
+ * @param {boolean|function} [vGroup]
38
+ * Configure grouping of the content, can either be <code>true</code> to enable grouping based on the raw model
39
+ * property value, or a function which calculates the group value out of the context (e.g.
40
+ * <code>oContext.getProperty("date").getYear()</code> for year grouping). The control needs to implement the
41
+ * grouping behaviour. In case a function is provided it must either return a primitive type value as the group
42
+ * key or an object containing a "key" property and additional properties needed for group visualization. This
43
+ * object or the object with the primitive type return value as "key" property is passed to the
44
+ * <code>groupHeaderFactory</code> function that has been specified to create the group header for the control
45
+ * aggregation; see {@link sap.ui.base.ManagedObject#bindAggregation}.
46
+ * <b>Note:</b> Grouping via <code>vGroup=true</code> is only possible (and only makes sense) for the primary
47
+ * sort property. A more complicated grouping is possible by providing a grouping function. The sort order needs
48
+ * to fit to the grouping also in this case. See also
49
+ * {@link topic:ec79a5d5918f4f7f9cbc2150e66778cc Sorting, Grouping, and Filtering for List Binding}.
50
+ * @param {function} [fnComparator]
51
+ * A custom comparator function, which is used for client-side sorting instead of the default comparator method;
52
+ * information about parameters and expected return values of such a method can be found in the
45
53
  * {@link #.defaultComparator default comparator} documentation.
46
- * <b>Note:</b> Custom comparator functions are meant to be used on the client. Models that
47
- * implement sorting in the backend usually don't support custom comparator functions. Consult
48
- * the documentation of the specific model implementation.
54
+ * <b>Note:</b> Custom comparator functions are meant to be used on the client. Models that implement sorting in
55
+ * the backend usually don't support custom comparator functions. Consult the documentation of the specific model
56
+ * implementation.
49
57
  * @public
50
58
  * @alias sap.ui.model.Sorter
51
59
  * @extends sap.ui.base.Object
52
60
  */
53
61
  var Sorter = BaseObject.extend("sap.ui.model.Sorter", /** @lends sap.ui.model.Sorter.prototype */ {
54
62
 
55
- constructor : function(sPath, bDescending, vGroup, fnComparator){
56
- if (typeof sPath === "object") {
57
- var oSorterData = sPath;
58
- sPath = oSorterData.path;
59
- bDescending = oSorterData.descending;
60
- vGroup = oSorterData.group;
61
- fnComparator = oSorterData.comparator;
63
+ constructor : function(vSorterInfo, bDescending, vGroup, fnComparator) {
64
+ let sPath = vSorterInfo;
65
+ if (typeof vSorterInfo === "object") {
66
+ sPath = vSorterInfo.path;
67
+ bDescending = vSorterInfo.descending;
68
+ vGroup = vSorterInfo.group;
69
+ fnComparator = vSorterInfo.comparator;
62
70
  }
63
71
  this.sPath = sPath;
64
72
 
@@ -113,6 +121,28 @@ sap.ui.define([
113
121
  */
114
122
  getGroupFunction : function() {
115
123
  return this.fnGroup && this.fnGroup.bind(this);
124
+ },
125
+
126
+ /**
127
+ * Returns the binding path for this sorter; see the path parameter of {@link sap.ui.model.Sorter#constructor}.
128
+ *
129
+ * @returns {string} The binding path
130
+ * @public
131
+ * @since 1.131.0
132
+ */
133
+ getPath() {
134
+ return this.sPath;
135
+ },
136
+
137
+ /**
138
+ * Whether to sort in descending order; see the descending parameter of {@link sap.ui.model.Sorter#constructor}.
139
+ *
140
+ * @returns {boolean} Whether to sort in descending order
141
+ * @public
142
+ * @since 1.131.0
143
+ */
144
+ isDescending() {
145
+ return this.bDescending;
116
146
  }
117
147
 
118
148
  });
@@ -12,7 +12,7 @@ sap.ui.define([],
12
12
  /**
13
13
  * Different modes for setting the auto expand mode on tree or analytical bindings.
14
14
  *
15
- * @version 1.130.0
15
+ * @version 1.131.0
16
16
  * @enum {string}
17
17
  * @alias sap.ui.model.TreeAutoExpandMode
18
18
  * @protected
@@ -4,7 +4,7 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
  /*eslint-disable max-len */
7
- // Provides an abstraction for list bindings
7
+ // Provides an abstraction for tree bindings
8
8
  sap.ui.define(['./Binding', './Filter', './Sorter'],
9
9
  function(Binding, Filter, Sorter) {
10
10
  "use strict";
@@ -25,17 +25,18 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
25
25
  * oModel Model instance that this binding is created for and that it belongs to
26
26
  * @param {string}
27
27
  * sPath Path pointing to the tree / array that should be bound
28
- * @param {object}
28
+ * @param {sap.ui.model.Context}
29
29
  * [oContext=null] Context object for this binding (optional)
30
30
  * @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
31
31
  * The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
32
32
  * replace them
33
- * @param {string}
33
+ * @param {object}
34
34
  * [mParameters=null] Additional model specific parameters (optional)
35
35
  * @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
36
36
  * The sorters used initially; call {@link #sort} to replace them
37
37
  * @throws {Error} If the {@link sap.ui.model.Filter.NONE} filter instance is contained in
38
38
  * <code>aFilters</code> together with other filters
39
+ *
39
40
  * @public
40
41
  * @alias sap.ui.model.TreeBinding
41
42
  * @extends sap.ui.model.Binding
@@ -72,46 +73,48 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
72
73
 
73
74
  // the 'abstract methods' to be implemented by child classes
74
75
  /**
75
- * Returns the current value of the bound target
76
+ * Returns the current value of the bound target.
76
77
  *
77
78
  * @function
78
79
  * @name sap.ui.model.TreeBinding.prototype.getRootContexts
79
- * @param {int} iStartIndex the startIndex where to start the retrieval of contexts
80
- * @param {int} iLength determines how many contexts to retrieve beginning from the start index.
81
- * @return {Array} the array of child contexts for the root node
80
+ * @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
81
+ * @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
82
+ * model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
83
+ * @returns {sap.ui.model.Context[]} the array of child contexts for the root node
82
84
  *
83
85
  * @public
84
86
  */
85
87
 
86
88
  /**
87
- * Returns the current value of the bound target
89
+ * Returns the current value of the bound target.
88
90
  *
89
91
  * @function
90
92
  * @name sap.ui.model.TreeBinding.prototype.getNodeContexts
91
93
  * @param {sap.ui.model.Context} oContext the context element of the node
92
- * @param {int} iStartIndex the startIndex where to start the retrieval of contexts
93
- * @param {int} iLength determines how many contexts to retrieve beginning from the start index.
94
- * @return {sap.ui.model.Context[]} the array of child contexts for the given node
94
+ * @param {int} [iStartIndex=0] the index from which to start the retrieval of contexts
95
+ * @param {int} [iLength] determines how many contexts to retrieve, beginning from the start index. Defaults to the
96
+ * model's size limit; see {@link sap.ui.model.Model#setSizeLimit}.
97
+ * @returns {sap.ui.model.Context[]} the array of child contexts for the given node
95
98
  *
96
99
  * @public
97
100
  */
98
101
 
99
102
  /**
100
- * Returns if the node has child nodes
103
+ * Returns <code>true</code> if the node has child nodes.
101
104
  *
102
105
  * @function
103
106
  * @name sap.ui.model.TreeBinding.prototype.hasChildren
104
- * @param {Object} oContext the context element of the node
105
- * @return {boolean} true if node has children
107
+ * @param {sap.ui.model.Context} oContext the context element of the node
108
+ * @returns {boolean} <code>true</code> if the node has children
106
109
  *
107
110
  * @public
108
111
  */
109
112
 
110
113
  /**
111
- * Returns the number of child nodes of a specific context
114
+ * Returns the number of child nodes of a specific context.
112
115
  *
113
- * @param {Object} oContext the context element of the node
114
- * @return {int} the number of children
116
+ * @param {sap.ui.model.Context} oContext the context element of the node
117
+ * @returns {int} the number of children
115
118
  *
116
119
  * @public
117
120
  */
@@ -133,6 +136,7 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
133
136
  * @returns {number|undefined} The count of entries in the tree, or <code>undefined</code> if it
134
137
  * is unknown, for example because the binding is not resolved or because this feature is not
135
138
  * supported.
139
+ *
136
140
  * @public
137
141
  * @since 1.108.0
138
142
  */
@@ -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.130.0
22
+ * @version 1.131.0
23
23
  */
24
24
  var Type = BaseObject.extend("sap.ui.model.Type", /** @lends sap.ui.model.Type.prototype */ {
25
25
 
@@ -127,9 +127,9 @@ sap.ui.define([
127
127
  if (oDimensionDetails === undefined) {
128
128
  logUnsupportedPropertyInSelect(oBinding.sPath, sPropertyName, oDimension);
129
129
  bError = true;
130
- } else {
131
- // eslint-disable-next-line no-use-before-define
132
- AnalyticalBinding._updateDimensionDetailsTextProperty(oDimension, sPropertyName, oDimensionDetails);
130
+ // eslint-disable-next-line no-use-before-define
131
+ } else if (AnalyticalBinding._updateDimensionDetailsTextProperty(oDimension, sPropertyName,
132
+ oDimensionDetails)) {
133
133
  continue;
134
134
  }
135
135
  }
@@ -491,7 +491,7 @@ sap.ui.define([
491
491
  *
492
492
  * @function
493
493
  * @name sap.ui.model.analytics.AnalyticalBinding.prototype.getRootContexts
494
- * @param {object|int} mParameters
494
+ * @param {object|int} [mParameters=0]
495
495
  * Parameter map specifying how the topmost aggregation level shall be fetched. If this
496
496
  * parameter map is set, the optional function parameters are ignored. Optionally, instead
497
497
  * of a parameter map an integer value can be set to define the parameter
@@ -598,9 +598,9 @@ sap.ui.define([
598
598
  * @name sap.ui.model.analytics.AnalyticalBinding.prototype.getNodeContexts
599
599
  * @param {sap.ui.model.Context} oContext
600
600
  * Parent context identifying the requested group of child contexts
601
- * @param {object|int} mParameters
601
+ * @param {object|int} [mParameters=0]
602
602
  * Parameters, specifying the aggregation level for which contexts shall be fetched
603
- * or (legacy signature variant) index of first child entry to return from the parent context (zero-based)
603
+ * or the index of the first child entry to return from the parent contexts
604
604
  * @param {int} mParameters.level
605
605
  * Level number for oContext, because it might occur at multiple levels; context with group ID <code>"/"</code> has level 0
606
606
  * @param {int} [mParameters.numberOfExpandedLevels=0]
@@ -642,7 +642,7 @@ sap.ui.define([
642
642
  iLevel = mParameters.level;
643
643
  iNumberOfExpandedLevels = mParameters.numberOfExpandedLevels;
644
644
  bSupressRequest = mParameters.supressRequest;
645
- } else { // due to compatibility; can be removed if table is adapted
645
+ } else {
646
646
  iStartIndex = arguments[1];
647
647
  iLength = arguments[2];
648
648
  iThreshold = arguments[3];
@@ -5013,6 +5013,8 @@ sap.ui.define([
5013
5013
  * @param {object} oDimension The dimension
5014
5014
  * @param {string} sPropertyName The property name
5015
5015
  * @param {object} oDimensionDetails The dimension details
5016
+ * @returns {boolean} Whether the given property name is the given dimension's text property and therefore has been
5017
+ * added to the given dimension details.
5016
5018
  *
5017
5019
  * @private
5018
5020
  */
@@ -5020,7 +5022,11 @@ sap.ui.define([
5020
5022
  const oTextProperty = oDimension.getTextProperty();
5021
5023
  if (oTextProperty && oTextProperty.name === sPropertyName) {
5022
5024
  oDimensionDetails.textPropertyName = sPropertyName;
5025
+
5026
+ return true;
5023
5027
  }
5028
+
5029
+ return false;
5024
5030
  };
5025
5031
 
5026
5032
  /**
@@ -1035,7 +1035,7 @@ sap.ui.define([
1035
1035
  fnFilter = this.fnFilter === fnFilter ? fnFilter : undefined; // if different filter or no filter set -> use no filter
1036
1036
  this.fnFilter = undefined;
1037
1037
  }
1038
- var aBindings = this.aBindings.slice(0);
1038
+ var aBindings = this.getBindings();
1039
1039
  aBindings.forEach(function (oBinding) {
1040
1040
  if (!fnFilter || fnFilter(oBinding)) {
1041
1041
  oBinding.checkUpdate(bForceUpdate);
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.model.ClientModel
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.130.0
52
+ * @version 1.131.0
53
53
  * @public
54
54
  * @alias sap.ui.model.json.JSONModel
55
55
  */
@@ -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.130.0
32
+ * @version 1.131.0
33
33
  *
34
34
  * @public
35
35
  * @alias sap.ui.model.message.MessageModel
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @author SAP SE
29
29
  * @version
30
- * 1.130.0
30
+ * 1.131.0
31
31
  *
32
32
  * @public
33
33
  * @deprecated As of version 1.66, please use {@link sap.ui.model.odata.v2.ODataAnnotations} instead.
@@ -84,7 +84,7 @@ var sClassName = "sap.ui.model.odata.ODataMessageParser",
84
84
  * @extends sap.ui.core.message.MessageParser
85
85
  *
86
86
  * @author SAP SE
87
- * @version 1.130.0
87
+ * @version 1.131.0
88
88
  * @public
89
89
  * @alias sap.ui.model.odata.ODataMessageParser
90
90
  */
@@ -880,7 +880,7 @@ sap.ui.define([
880
880
  * {@link #loaded loaded} has been resolved!
881
881
  *
882
882
  * @author SAP SE
883
- * @version 1.130.0
883
+ * @version 1.131.0
884
884
  * @alias sap.ui.model.odata.ODataMetaModel
885
885
  * @extends sap.ui.model.MetaModel
886
886
  * @public