@openui5/sap.ui.core 1.105.1 → 1.105.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 (249) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/sap/base/security/URLListValidator.js +36 -3
  8. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  9. package/src/sap/base/util/restricted/_castArray.js +1 -1
  10. package/src/sap/base/util/restricted/_compact.js +1 -1
  11. package/src/sap/base/util/restricted/_curry.js +1 -1
  12. package/src/sap/base/util/restricted/_debounce.js +1 -1
  13. package/src/sap/base/util/restricted/_difference.js +1 -1
  14. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  15. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  16. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  17. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  18. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  19. package/src/sap/base/util/restricted/_flatten.js +1 -1
  20. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  21. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  22. package/src/sap/base/util/restricted/_intersection.js +1 -1
  23. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  24. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  25. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  26. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  27. package/src/sap/base/util/restricted/_isNil.js +1 -1
  28. package/src/sap/base/util/restricted/_max.js +1 -1
  29. package/src/sap/base/util/restricted/_merge.js +1 -1
  30. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  31. package/src/sap/base/util/restricted/_min.js +1 -1
  32. package/src/sap/base/util/restricted/_omit.js +1 -1
  33. package/src/sap/base/util/restricted/_pick.js +1 -1
  34. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  35. package/src/sap/base/util/restricted/_throttle.js +1 -1
  36. package/src/sap/base/util/restricted/_toArray.js +1 -1
  37. package/src/sap/base/util/restricted/_union.js +1 -1
  38. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  39. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  40. package/src/sap/base/util/restricted/_uniq.js +1 -1
  41. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  42. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  43. package/src/sap/base/util/restricted/_without.js +1 -1
  44. package/src/sap/base/util/restricted/_xor.js +1 -1
  45. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  46. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  47. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  48. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  49. package/src/sap/ui/Device.js +3 -3
  50. package/src/sap/ui/Global.js +4 -4
  51. package/src/sap/ui/base/Event.js +1 -1
  52. package/src/sap/ui/base/EventProvider.js +1 -1
  53. package/src/sap/ui/base/Interface.js +1 -1
  54. package/src/sap/ui/base/ManagedObject.js +1 -1
  55. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  56. package/src/sap/ui/base/Metadata.js +1 -1
  57. package/src/sap/ui/base/Object.js +1 -1
  58. package/src/sap/ui/base/ObjectPool.js +1 -1
  59. package/src/sap/ui/core/.library +1 -1
  60. package/src/sap/ui/core/BusyIndicator.js +1 -1
  61. package/src/sap/ui/core/Component.js +1 -1
  62. package/src/sap/ui/core/ComponentContainer.js +1 -1
  63. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  64. package/src/sap/ui/core/ComponentSupport.js +1 -1
  65. package/src/sap/ui/core/Control.js +1 -1
  66. package/src/sap/ui/core/Core.js +1 -1
  67. package/src/sap/ui/core/CustomData.js +1 -1
  68. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  69. package/src/sap/ui/core/Element.js +1 -1
  70. package/src/sap/ui/core/ElementMetadata.js +1 -1
  71. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  72. package/src/sap/ui/core/EventBus.js +1 -1
  73. package/src/sap/ui/core/Fragment.js +1 -1
  74. package/src/sap/ui/core/HTML.js +1 -1
  75. package/src/sap/ui/core/History.js +1 -1
  76. package/src/sap/ui/core/Icon.js +1 -1
  77. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  78. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  79. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  80. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  81. package/src/sap/ui/core/InvisibleText.js +1 -1
  82. package/src/sap/ui/core/Item.js +1 -1
  83. package/src/sap/ui/core/LabelEnablement.js +1 -1
  84. package/src/sap/ui/core/LayoutData.js +1 -1
  85. package/src/sap/ui/core/ListItem.js +1 -1
  86. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  87. package/src/sap/ui/core/Locale.js +1 -1
  88. package/src/sap/ui/core/LocaleData.js +1 -1
  89. package/src/sap/ui/core/Manifest.js +1 -1
  90. package/src/sap/ui/core/Message.js +1 -1
  91. package/src/sap/ui/core/RenderManager.js +1 -1
  92. package/src/sap/ui/core/Renderer.js +1 -1
  93. package/src/sap/ui/core/ResizeHandler.js +1 -1
  94. package/src/sap/ui/core/ScrollBar.js +1 -1
  95. package/src/sap/ui/core/SeparatorItem.js +1 -1
  96. package/src/sap/ui/core/Title.js +1 -1
  97. package/src/sap/ui/core/TooltipBase.js +1 -1
  98. package/src/sap/ui/core/UIArea.js +1 -1
  99. package/src/sap/ui/core/UIComponent.js +1 -1
  100. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  101. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  102. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  103. package/src/sap/ui/core/XMLComposite.js +1 -1
  104. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  105. package/src/sap/ui/core/date/CalendarUtils.js +91 -0
  106. package/src/sap/ui/core/date/CalendarWeekNumbering.js +76 -0
  107. package/src/sap/ui/core/date/UniversalDate.js +196 -74
  108. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  109. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  110. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  111. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  112. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  113. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  114. package/src/sap/ui/core/format/DateFormat.js +83 -14
  115. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  116. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  117. package/src/sap/ui/core/library.js +3 -3
  118. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  119. package/src/sap/ui/core/message/Message.js +1 -1
  120. package/src/sap/ui/core/message/MessageManager.js +1 -1
  121. package/src/sap/ui/core/message/MessageParser.js +1 -1
  122. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  123. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  124. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  125. package/src/sap/ui/core/mvc/JSView.js +1 -1
  126. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  127. package/src/sap/ui/core/mvc/View.js +1 -1
  128. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  129. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  130. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  131. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  132. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  133. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  134. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  135. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  136. package/src/sap/ui/core/service/Service.js +1 -1
  137. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  138. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  139. package/src/sap/ui/core/support/Plugin.js +1 -1
  140. package/src/sap/ui/core/support/Support.js +1 -1
  141. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  142. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  143. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  144. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  145. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  146. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  147. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  148. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  149. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  150. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  151. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  152. package/src/sap/ui/core/tmpl/Template.js +1 -1
  153. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  154. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  155. package/src/sap/ui/core/util/Export.js +1 -1
  156. package/src/sap/ui/core/util/ExportCell.js +1 -1
  157. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  158. package/src/sap/ui/core/util/ExportRow.js +1 -1
  159. package/src/sap/ui/core/util/ExportType.js +1 -1
  160. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  161. package/src/sap/ui/core/util/File.js +1 -1
  162. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  163. package/src/sap/ui/core/util/MockServer.js +1 -1
  164. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  165. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  166. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  167. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  168. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  169. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  170. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  171. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  172. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  173. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  174. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  175. package/src/sap/ui/debug/ControlTree.js +1 -1
  176. package/src/sap/ui/debug/DebugEnv.js +1 -1
  177. package/src/sap/ui/debug/PropertyList.js +1 -1
  178. package/src/sap/ui/model/ClientModel.js +1 -1
  179. package/src/sap/ui/model/CompositeDataState.js +1 -1
  180. package/src/sap/ui/model/CompositeType.js +1 -1
  181. package/src/sap/ui/model/DataState.js +1 -1
  182. package/src/sap/ui/model/MetaModel.js +1 -1
  183. package/src/sap/ui/model/Model.js +1 -1
  184. package/src/sap/ui/model/SelectionModel.js +1 -1
  185. package/src/sap/ui/model/SimpleType.js +1 -1
  186. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  187. package/src/sap/ui/model/Type.js +1 -1
  188. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  189. package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +28 -34
  190. package/src/sap/ui/model/json/JSONModel.js +1 -1
  191. package/src/sap/ui/model/message/MessageModel.js +1 -1
  192. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  193. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  194. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  195. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  196. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  197. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  198. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  199. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  200. package/src/sap/ui/model/odata/type/Date.js +1 -1
  201. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  202. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  203. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  204. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  205. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  206. package/src/sap/ui/model/odata/type/Double.js +1 -1
  207. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  208. package/src/sap/ui/model/odata/type/Int.js +1 -1
  209. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  210. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  211. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  212. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  213. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  214. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  215. package/src/sap/ui/model/odata/type/Single.js +1 -1
  216. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  217. package/src/sap/ui/model/odata/type/String.js +1 -1
  218. package/src/sap/ui/model/odata/type/Time.js +1 -1
  219. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  220. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  221. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  222. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  223. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  224. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  225. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  226. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  227. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  228. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  229. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  230. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  231. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  232. package/src/sap/ui/model/type/Boolean.js +1 -1
  233. package/src/sap/ui/model/type/Currency.js +1 -1
  234. package/src/sap/ui/model/type/Date.js +1 -1
  235. package/src/sap/ui/model/type/DateInterval.js +1 -1
  236. package/src/sap/ui/model/type/DateTime.js +1 -1
  237. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  238. package/src/sap/ui/model/type/FileSize.js +1 -1
  239. package/src/sap/ui/model/type/Float.js +1 -1
  240. package/src/sap/ui/model/type/Integer.js +1 -1
  241. package/src/sap/ui/model/type/String.js +1 -1
  242. package/src/sap/ui/model/type/Time.js +1 -1
  243. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  244. package/src/sap/ui/model/type/Unit.js +1 -1
  245. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  246. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  247. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  248. package/src/sap/ui/test/generic/TestBase.js +1 -1
  249. package/src/sap/ui/util/Storage.js +1 -1
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/core/Element'],
20
20
  * @extends sap.ui.core.Element
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.105.1
23
+ * @version 1.105.2
24
24
  * @since 1.22.0
25
25
  *
26
26
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.base.ManagedObject
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.105.2
27
27
  * @since 1.22.0
28
28
  *
29
29
  * @public
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.base.ManagedObject
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.105.1
26
+ * @version 1.105.2
27
27
  * @since 1.22.0
28
28
  *
29
29
  * @public
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/ManagedObject'],
20
20
  * @extends sap.ui.base.ManagedObject
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.105.1
23
+ * @version 1.105.2
24
24
  * @since 1.22.0
25
25
  *
26
26
  * @public
@@ -38,7 +38,7 @@ sap.ui.define(['./ExportType'],
38
38
  * @extends sap.ui.core.util.ExportType
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.105.1
41
+ * @version 1.105.2
42
42
  * @since 1.22.0
43
43
  *
44
44
  * @public
@@ -13,7 +13,7 @@ sap.ui.define(["sap/ui/thirdparty/jquery"],
13
13
  * Utility class to handle files.
14
14
  *
15
15
  * @author SAP SE
16
- * @version 1.105.1
16
+ * @version 1.105.2
17
17
  * @namespace
18
18
  *
19
19
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @extends sap.ui.base.Object
23
23
  * @author SAP SE
24
- * @version 1.105.1
24
+ * @version 1.105.2
25
25
  * @private
26
26
  * @alias sap.ui.core.util.LibraryInfo
27
27
  */
@@ -32,7 +32,7 @@ sap.ui
32
32
  * @extends sap.ui.base.ManagedObject
33
33
  * @abstract
34
34
  * @author SAP SE
35
- * @version 1.105.1
35
+ * @version 1.105.2
36
36
  * @public
37
37
  * @alias sap.ui.core.util.MockServer
38
38
  */
@@ -13,7 +13,7 @@ sap.ui.define([ "sap/ui/core/Core", "sap/ui/model/ParseException", "sap/ui/model
13
13
  *
14
14
  * @class Parses and validates data on the <code>paste</code> event of an SAPUI5 table.
15
15
  * @author SAP SE
16
- * @version 1.105.1
16
+ * @version 1.105.2
17
17
  * @private
18
18
  * @ui5-restricted sap.ui.table.Table, sap.m.Table, sap.m.plugins.PasteProvider
19
19
  * @alias sap.ui.core.util.PasteHelper
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Serializer', './delegate/HTML', '
20
20
  * @class HTMLViewSerializer class.
21
21
  * @extends sap.ui.base.EventProvider
22
22
  * @author SAP SE
23
- * @version 1.105.1
23
+ * @version 1.105.2
24
24
  * @alias sap.ui.core.util.serializer.HTMLViewSerializer
25
25
  * @private
26
26
  * @ui5-restricted sap.watt, com.sap.webide
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/assert"],
21
21
  * @class Serializer class.
22
22
  * @extends sap.ui.base.EventProvider
23
23
  * @author SAP SE
24
- * @version 1.105.1
24
+ * @version 1.105.2
25
25
  * @alias sap.ui.core.util.serializer.Serializer
26
26
  * @private
27
27
  * @ui5-restricted sap.watt, com.sap.webide
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './HTMLViewSerializer', './XMLViewSe
21
21
  * @class ViewSerializer class.
22
22
  * @extends sap.ui.base.EventProvider
23
23
  * @author SAP SE
24
- * @version 1.105.1
24
+ * @version 1.105.2
25
25
  * @alias sap.ui.core.util.serializer.ViewSerializer
26
26
  * @private
27
27
  * @ui5-restricted sap.watt, com.sap.webide
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Serializer', './delegate/XML', 's
20
20
  * @class XMLViewSerializer class.
21
21
  * @extends sap.ui.base.EventProvider
22
22
  * @author SAP SE
23
- * @version 1.105.1
23
+ * @version 1.105.2
24
24
  * @alias sap.ui.core.util.serializer.XMLViewSerializer
25
25
  * @private
26
26
  * @ui5-restricted sap.watt, com.sap.webide
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/base/EventProvider'],
17
17
  * @class Abstract serializer delegate class.
18
18
  * @extends sap.ui.base.EventProvider
19
19
  * @author SAP SE
20
- * @version 1.105.1
20
+ * @version 1.105.2
21
21
  * @alias sap.ui.core.util.serializer.delegate.Delegate
22
22
  * @private
23
23
  * @ui5-restricted sap.watt, com.sap.webide
@@ -19,7 +19,7 @@ sap.ui.define(['./Delegate', "sap/base/strings/hyphenate", "sap/base/util/deepEq
19
19
  * @class HTML serializer delegate class.
20
20
  * @extends sap.ui.core.util.serializer.delegate.Delegate
21
21
  * @author SAP SE
22
- * @version 1.105.1
22
+ * @version 1.105.2
23
23
  * @alias sap.ui.core.util.serializer.delegate.HTML
24
24
  * @private
25
25
  * @ui5-restricted sap.watt, com.sap.webide
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class XML serializer delegate class.
25
25
  * @extends sap.ui.core.util.serializer.delegate.Delegate
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.105.2
28
28
  * @alias sap.ui.core.util.serializer.delegate.XML
29
29
  * @private
30
30
  * @ui5-restricted sap.watt, com.sap.webide
@@ -12,7 +12,7 @@ sap.ui.define(function() {
12
12
  /**
13
13
  * Defines the different ready states for a WebSocket connection.
14
14
  *
15
- * @version 1.105.1
15
+ * @version 1.105.2
16
16
  * @enum {int}
17
17
  * @public
18
18
  * @alias sap.ui.core.ws.ReadyState
@@ -21,7 +21,7 @@ sap.ui.define(['./WebSocket', "sap/base/Log"],
21
21
  * @class WebSocket class implementing the pcp-protocol.
22
22
  * @extends sap.ui.core.ws.WebSocket
23
23
  * @author SAP SE
24
- * @version 1.105.1
24
+ * @version 1.105.2
25
25
  * @alias sap.ui.core.ws.SapPcpWebSocket
26
26
  */
27
27
  var SapPcpWebSocket = WebSocket.extend("sap.ui.core.ws.SapPcpWebSocket", /** @lends sap.ui.core.ws.SapPcpWebSocket.prototype */ {
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @class Basic WebSocket class.
26
26
  * @extends sap.ui.base.EventProvider
27
27
  * @author SAP SE
28
- * @version 1.105.1
28
+ * @version 1.105.2
29
29
  * @alias sap.ui.core.ws.WebSocket
30
30
  */
31
31
  var WebSocket = EventProvider.extend("sap.ui.core.ws.WebSocket", /** @lends sap.ui.core.ws.WebSocket.prototype */ {
@@ -33,7 +33,7 @@ sap.ui.define('sap/ui/debug/ControlTree', [
33
33
  * @class Control Tree used for the Debug Environment
34
34
  * @extends sap.ui.base.EventProvider
35
35
  * @author Martin Schaus, Frank Weigel
36
- * @version 1.105.1
36
+ * @version 1.105.2
37
37
  * @alias sap.ui.debug.ControlTree
38
38
  * @private
39
39
  */
@@ -16,7 +16,7 @@ sap.ui.define('sap/ui/debug/DebugEnv', ['sap/ui/base/Interface', './ControlTree'
16
16
  * @class Central Class for the Debug Environment
17
17
  *
18
18
  * @author Martin Schaus, Frank Weigel
19
- * @version 1.105.1
19
+ * @version 1.105.2
20
20
  * @private
21
21
  * @alias sap.ui.debug.DebugEnv
22
22
  */
@@ -37,7 +37,7 @@ sap.ui.define('sap/ui/debug/PropertyList', [
37
37
  *
38
38
  * @extends sap.ui.base.EventProvider
39
39
  * @author Martin Schaus
40
- * @version 1.105.1
40
+ * @version 1.105.2
41
41
  *
42
42
  * @param {sap.ui.core.Core}
43
43
  * 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.105.1
32
+ * @version 1.105.2
33
33
  *
34
34
  * @param {string} [oData] URL where to load the data from
35
35
  * @public
@@ -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.105.1
17
+ * @version 1.105.2
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.105.1
42
+ * @version 1.105.2
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.105.1
68
+ * @version 1.105.2
69
69
  *
70
70
  * @public
71
71
  * @alias sap.ui.model.DataState
@@ -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.105.1
19
+ * @version 1.105.2
20
20
  *
21
21
  * @public
22
22
  * @alias sap.ui.model.MetaModel
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.message.MessageProcessor
50
50
  *
51
51
  * @author SAP SE
52
- * @version 1.105.1
52
+ * @version 1.105.2
53
53
  *
54
54
  * @public
55
55
  * @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.105.1
23
+ * @version 1.105.2
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.105.1
49
+ * @version 1.105.2
50
50
  */
51
51
  var SimpleType = Type.extend("sap.ui.model.SimpleType", /** @lends sap.ui.model.SimpleType.prototype */ {
52
52
 
@@ -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.105.1
15
+ * @version 1.105.2
16
16
  * @enum {string}
17
17
  * @alias sap.ui.model.TreeAutoExpandMode
18
18
  * @protected
@@ -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.105.1
22
+ * @version 1.105.2
23
23
  */
24
24
  var Type = BaseObject.extend("sap.ui.model.Type", /** @lends sap.ui.model.Type.prototype */ {
25
25
 
@@ -3384,6 +3384,8 @@ sap.ui.define([
3384
3384
  oLogger.fatal("assertion failed: failed to determine position of " + oGroupMembersRequestDetails.sGroupId + " in group " + sParentGroupId);
3385
3385
  } else if (!iPositionInParentGroup) {
3386
3386
  that.mFinalLength[oRequestDetails.sGroupId_Missing_AtLevel] = true;
3387
+ // iStartIndex must be reset to 0, because a new group starts
3388
+ oGroupMembersRequestDetails.iStartIndex = 0;
3387
3389
  } else if (that._getKey(sParentGroupId, iPositionInParentGroup - 1) !== undefined) {
3388
3390
  var sPreviousGroupMemberKey = that._getKey(sParentGroupId, iPositionInParentGroup - 1);
3389
3391
  var sPreviousGroupId = that._getGroupIdFromContext(that.oModel.getContext('/' + sPreviousGroupMemberKey),
@@ -77,21 +77,10 @@ sap.ui.define([
77
77
  return 0;
78
78
  }
79
79
 
80
- //in the autoExpand mode the length of the binding is defined by the watermark's position in the tree
81
- if (this._oRootNode && this._oWatermark && this._isRunningInAutoExpand(TreeAutoExpandMode.Bundled)) {
82
-
83
- //if the root length is not final -> we have to return the root node magnitude instead of the absolute index of the watermark
84
- if (this._oWatermark.groupID === this._oRootNode.groupID) {
85
- return this._oRootNode.magnitude + this._oRootNode.numberOfTotals;
86
- }
87
-
88
- // +1 because we have at least one node more after the watermark
89
- // this is important for the table's scrollbar calculation
90
- return this._oWatermark.absoluteNodeIndex + this._oRootNode.numberOfTotals + 1;
91
- }
92
-
93
80
  // The length is the sum of the trees magnitue + all sum rows (from expanded nodes)
94
- return this._oRootNode.magnitude + this._oRootNode.numberOfTotals;
81
+ return this._oRootNode.magnitude + this._oRootNode.numberOfTotals
82
+ // with a watermark, there is missing data -> add 1 to be able to scroll into that area
83
+ + (this._oWatermark ? 1 : 0);
95
84
  };
96
85
 
97
86
  AnalyticalTreeBindingAdapter.prototype.getContextByIndex = function (iIndex) {
@@ -157,8 +146,13 @@ sap.ui.define([
157
146
  */
158
147
  AnalyticalTreeBindingAdapter.prototype._getContextsOrNodes = function (bReturnNodes,
159
148
  iStartIndex, iLength, iThreshold) {
149
+ var i, mMissingSections, oNode, oParentNode,
150
+ aContexts = [],
151
+ aNodes = [],
152
+ that = this;
153
+
160
154
  if (!this.isResolved()) {
161
- return [];
155
+ return aNodes;
162
156
  }
163
157
  if (!iLength) {
164
158
  iLength = this.oModel.iSizeLimit;
@@ -176,7 +170,6 @@ sap.ui.define([
176
170
  this._buildTree(iStartIndex, iLength);
177
171
 
178
172
  // retrieve the requested/visible section of nodes from the tree
179
- var aNodes = [];
180
173
  if (this._oRootNode) {
181
174
  aNodes = this._retrieveNodeSection(this._oRootNode, iStartIndex, iLength);
182
175
  }
@@ -184,26 +177,29 @@ sap.ui.define([
184
177
  // keep a map between Table.RowIndex and tree nodes
185
178
  this._updateRowIndexMap(aNodes, iStartIndex);
186
179
 
187
- var aContexts = [];
188
- //find missing spots in our visible section
189
- var mMissingSections;
190
- var oNode;
191
- for (var i = 0; i < aNodes.length; i++) {
192
- oNode = aNodes[i];
193
-
194
- //user scrolled into the water mark node, which is the last of the guaranteed loaded page (length + threshold)
195
- if (this._isRunningInAutoExpand(TreeAutoExpandMode.Bundled) && this._oWatermark) {
196
- if (oNode.groupID === this._oWatermark.groupID ||
197
- (this._oWatermark.groupID === this._oRootNode.groupID && (iStartIndex + i + 1) == this.getLength() - 1)) {
198
- this._autoExpandPaging();
180
+ if (this._oWatermark) {
181
+ // check whether the user scrolled into the area of the watermark node, which is the
182
+ // last guaranteed node of the loaded page; remove nodes that are not under the
183
+ // watermark (that means their group IDs don't start with the watermark's group ID),
184
+ // because there are missing nodes in between -> avoids jumping rows
185
+ for (i = aNodes.length - 1; i >= 0; i -= 1) {
186
+ if (aNodes[i].groupID.startsWith(this._oWatermark.groupID)) {
187
+ aNodes.length = i + 1;
188
+ break;
199
189
  }
200
190
  }
201
-
191
+ if (aNodes.length < iLength) {
192
+ this._autoExpandPaging();
193
+ }
194
+ }
195
+ //find missing spots in our visible section
196
+ for (i = 0; i < aNodes.length; i++) {
197
+ oNode = aNodes[i];
202
198
  // we found a gap because the node is empty (context is undefined)
203
199
  if (!oNode.context) {
204
200
  mMissingSections = mMissingSections || {};
205
201
  // check if we already build a missing section
206
- var oParentNode = oNode.parent;
202
+ oParentNode = oNode.parent;
207
203
 
208
204
  mMissingSections[oParentNode.groupID] = oParentNode;
209
205
 
@@ -215,8 +211,6 @@ sap.ui.define([
215
211
 
216
212
  // trigger load for nodes with missing sections
217
213
  if (mMissingSections) {
218
- var that = this;
219
-
220
214
  //if we have a missing section inside a subtree, we need to reload this subtree
221
215
  each(mMissingSections, function (sGroupID, oNode) {
222
216
  // reset the root of the subtree
@@ -228,8 +222,8 @@ sap.ui.define([
228
222
 
229
223
  // try to fill gaps in our return array if we already have new data (thanks to thresholding)
230
224
  aContexts = [];
231
- for (var j = 0; j < aNodes.length; j++) {
232
- oNode = aNodes[j];
225
+ for (i = 0; i < aNodes.length; i += 1) {
226
+ oNode = aNodes[i];
233
227
  aContexts.push(oNode.context);
234
228
  }
235
229
  }
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.model.ClientModel
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.105.1
47
+ * @version 1.105.2
48
48
  * @public
49
49
  * @alias sap.ui.model.json.JSONModel
50
50
  */
@@ -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.105.1
32
+ * @version 1.105.2
33
33
  *
34
34
  * @param {sap.ui.core.message.MessageManager} oMessageManager The MessageManager instance
35
35
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  *
26
26
  * @author SAP SE
27
27
  * @version
28
- * 1.105.1
28
+ * 1.105.2
29
29
  *
30
30
  * @public
31
31
  * @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.105.1
87
+ * @version 1.105.2
88
88
  * @public
89
89
  * @alias sap.ui.model.odata.ODataMessageParser
90
90
  */
@@ -208,7 +208,7 @@ sap.ui.define([
208
208
  * {@link #loaded loaded} has been resolved!
209
209
  *
210
210
  * @author SAP SE
211
- * @version 1.105.1
211
+ * @version 1.105.2
212
212
  * @alias sap.ui.model.odata.ODataMetaModel
213
213
  * @extends sap.ui.model.MetaModel
214
214
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * Implementation to access OData metadata
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.105.1
47
+ * @version 1.105.2
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.model.odata.ODataMetadata
@@ -76,7 +76,7 @@ sap.ui.define([
76
76
  *
77
77
  *
78
78
  * @author SAP SE
79
- * @version 1.105.1
79
+ * @version 1.105.2
80
80
  *
81
81
  * @public
82
82
  * @deprecated As of version 1.48, please use {@link sap.ui.model.odata.v2.ODataModel} instead.
@@ -87,7 +87,7 @@ sap.ui.define([
87
87
  * @extends sap.ui.model.odata.type.ODataType
88
88
  *
89
89
  * @author SAP SE
90
- * @version 1.105.1
90
+ * @version 1.105.2
91
91
  *
92
92
  * @alias sap.ui.model.odata.type.Boolean
93
93
  * @param {object} [oFormatOptions]
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.model.odata.type.Int
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.105.1
27
+ * @version 1.105.2
28
28
  *
29
29
  * @alias sap.ui.model.odata.type.Byte
30
30
  * @param {object} [oFormatOptions]
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  * @extends sap.ui.model.type.Currency
62
62
  * @public
63
63
  * @since 1.63.0
64
- * @version 1.105.1
64
+ * @version 1.105.2
65
65
  */
66
66
  var Currency = BaseCurrency.extend("sap.ui.model.odata.type.Currency", {
67
67
  constructor : function (oFormatOptions, oConstraints) {
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  * @extends sap.ui.model.odata.type.ODataType
107
107
  *
108
108
  * @author SAP SE
109
- * @version 1.105.1
109
+ * @version 1.105.2
110
110
  *
111
111
  * @alias sap.ui.model.odata.type.Date
112
112
  * @param {object} [oFormatOptions]
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.ui.model.odata.type.DateTimeBase
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.105.1
62
+ * @version 1.105.2
63
63
  *
64
64
  * @alias sap.ui.model.odata.type.DateTime
65
65
  * @param {object} [oFormatOptions]
@@ -132,7 +132,7 @@ sap.ui.define([
132
132
  * @extends sap.ui.model.odata.type.ODataType
133
133
  * @public
134
134
  * @since 1.27.0
135
- * @version 1.105.1
135
+ * @version 1.105.2
136
136
  */
137
137
  var DateTimeBase = ODataType.extend("sap.ui.model.odata.type.DateTimeBase", {
138
138
  constructor : function (oFormatOptions, oConstraints) {
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.model.odata.type.DateTimeBase
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.105.1
31
+ * @version 1.105.2
32
32
  *
33
33
  * @alias sap.ui.model.odata.type.DateTimeOffset
34
34
  * @param {object} [oFormatOptions]
@@ -60,7 +60,7 @@ sap.ui.define([
60
60
  * @public
61
61
  * @see {sap.ui.model.odata.v2.ODataModel#bindProperty}
62
62
  * @since 1.99.0
63
- * @version 1.105.1
63
+ * @version 1.105.2
64
64
  */
65
65
  var DateTimeWithTimezone = CompositeType.extend("sap.ui.model.odata.type.DateTimeWithTimezone",
66
66
  {
@@ -201,7 +201,7 @@ sap.ui.define([
201
201
  * @extends sap.ui.model.odata.type.ODataType
202
202
  *
203
203
  * @author SAP SE
204
- * @version 1.105.1
204
+ * @version 1.105.2
205
205
  *
206
206
  * @alias sap.ui.model.odata.type.Decimal
207
207
  * @param {object} [oFormatOptions]
@@ -95,7 +95,7 @@ sap.ui.define([
95
95
  * @extends sap.ui.model.odata.type.ODataType
96
96
  *
97
97
  * @author SAP SE
98
- * @version 1.105.1
98
+ * @version 1.105.2
99
99
  *
100
100
  * @alias sap.ui.model.odata.type.Double
101
101
  * @param {object} [oFormatOptions]
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.model.odata.type.ODataType
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.105.1
65
+ * @version 1.105.2
66
66
  *
67
67
  * @alias sap.ui.model.odata.type.Guid
68
68
  * @param {object} [oFormatOptions]
@@ -80,7 +80,7 @@ sap.ui.define([
80
80
  * @extends sap.ui.model.odata.type.ODataType
81
81
  *
82
82
  * @author SAP SE
83
- * @version 1.105.1
83
+ * @version 1.105.2
84
84
  *
85
85
  * @abstract
86
86
  * @alias sap.ui.model.odata.type.Int