@openui5/sap.ui.core 1.142.1 → 1.143.1

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 (273) 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/Event.js +1 -1
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/LanguageTag.js +1 -1
  11. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  12. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  13. package/src/sap/base/util/restricted/_castArray.js +1 -1
  14. package/src/sap/base/util/restricted/_compact.js +1 -1
  15. package/src/sap/base/util/restricted/_curry.js +1 -1
  16. package/src/sap/base/util/restricted/_debounce.js +1 -1
  17. package/src/sap/base/util/restricted/_difference.js +1 -1
  18. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  19. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  20. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  21. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  23. package/src/sap/base/util/restricted/_flatten.js +1 -1
  24. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  25. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  26. package/src/sap/base/util/restricted/_intersection.js +1 -1
  27. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  28. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  29. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  30. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isNil.js +1 -1
  32. package/src/sap/base/util/restricted/_max.js +1 -1
  33. package/src/sap/base/util/restricted/_merge.js +1 -1
  34. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  35. package/src/sap/base/util/restricted/_min.js +1 -1
  36. package/src/sap/base/util/restricted/_omit.js +1 -1
  37. package/src/sap/base/util/restricted/_pick.js +1 -1
  38. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  39. package/src/sap/base/util/restricted/_throttle.js +1 -1
  40. package/src/sap/base/util/restricted/_toArray.js +1 -1
  41. package/src/sap/base/util/restricted/_union.js +1 -1
  42. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  43. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  44. package/src/sap/base/util/restricted/_uniq.js +1 -1
  45. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  46. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  47. package/src/sap/base/util/restricted/_without.js +1 -1
  48. package/src/sap/base/util/restricted/_xor.js +1 -1
  49. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  50. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  51. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  52. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  53. package/src/sap/ui/Device.js +3 -3
  54. package/src/sap/ui/Global.js +3 -3
  55. package/src/sap/ui/base/Event.js +1 -1
  56. package/src/sap/ui/base/EventProvider.js +1 -1
  57. package/src/sap/ui/base/Exception.js +9 -7
  58. package/src/sap/ui/base/ExpressionParser.js +8 -7
  59. package/src/sap/ui/base/Interface.js +1 -1
  60. package/src/sap/ui/base/ManagedObject.js +1 -1
  61. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  62. package/src/sap/ui/base/Metadata.js +1 -1
  63. package/src/sap/ui/base/Object.js +1 -1
  64. package/src/sap/ui/base/ObjectPool.js +1 -1
  65. package/src/sap/ui/core/.library +2 -2
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/Component.js +7 -6
  68. package/src/sap/ui/core/ComponentContainer.js +1 -1
  69. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  70. package/src/sap/ui/core/ComponentSupport.js +1 -1
  71. package/src/sap/ui/core/Configuration.js +1 -1
  72. package/src/sap/ui/core/Control.js +1 -1
  73. package/src/sap/ui/core/Core.js +6 -3
  74. package/src/sap/ui/core/CustomData.js +1 -1
  75. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  76. package/src/sap/ui/core/Element.js +1 -1
  77. package/src/sap/ui/core/ElementMetadata.js +1 -1
  78. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  79. package/src/sap/ui/core/EventBus.js +1 -1
  80. package/src/sap/ui/core/Fragment.js +1 -1
  81. package/src/sap/ui/core/HTML.js +1 -1
  82. package/src/sap/ui/core/History.js +1 -1
  83. package/src/sap/ui/core/Icon.js +1 -1
  84. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  85. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  86. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  87. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  88. package/src/sap/ui/core/InvisibleText.js +1 -1
  89. package/src/sap/ui/core/Item.js +1 -1
  90. package/src/sap/ui/core/LabelEnablement.js +6 -4
  91. package/src/sap/ui/core/LayoutData.js +1 -1
  92. package/src/sap/ui/core/ListItem.js +1 -1
  93. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  94. package/src/sap/ui/core/Locale.js +1 -1
  95. package/src/sap/ui/core/LocaleData.js +1 -1
  96. package/src/sap/ui/core/Manifest.js +1 -1
  97. package/src/sap/ui/core/Message.js +1 -1
  98. package/src/sap/ui/core/RenderManager.js +1 -1
  99. package/src/sap/ui/core/Renderer.js +1 -1
  100. package/src/sap/ui/core/ResizeHandler.js +1 -1
  101. package/src/sap/ui/core/ScrollBar.js +1 -1
  102. package/src/sap/ui/core/SeparatorItem.js +1 -1
  103. package/src/sap/ui/core/ShortcutHintsMixin.js +1 -13
  104. package/src/sap/ui/core/Title.js +1 -1
  105. package/src/sap/ui/core/TooltipBase.js +1 -1
  106. package/src/sap/ui/core/UIArea.js +1 -1
  107. package/src/sap/ui/core/UIComponent.js +1 -1
  108. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  109. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  110. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  111. package/src/sap/ui/core/XMLComposite.js +1 -1
  112. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  113. package/src/sap/ui/core/date/UI5Date.js +1 -1
  114. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  115. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  116. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  117. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  118. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  119. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  120. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  121. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  122. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  123. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  124. package/src/sap/ui/core/library.js +11 -11
  125. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  126. package/src/sap/ui/core/message/Message.js +1 -1
  127. package/src/sap/ui/core/message/MessageManager.js +1 -1
  128. package/src/sap/ui/core/message/MessageParser.js +1 -1
  129. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  130. package/src/sap/ui/core/messagebundle_de.properties +1 -1
  131. package/src/sap/ui/core/messagebundle_es.properties +20 -20
  132. package/src/sap/ui/core/messagebundle_id.properties +2 -2
  133. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  134. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  135. package/src/sap/ui/core/mvc/JSView.js +1 -1
  136. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  137. package/src/sap/ui/core/mvc/View.js +1 -1
  138. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  139. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  140. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  141. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  142. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  143. package/src/sap/ui/core/routing/History.js +8 -4
  144. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  145. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  146. package/src/sap/ui/core/service/Service.js +1 -1
  147. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  148. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  149. package/src/sap/ui/core/support/Plugin.js +1 -1
  150. package/src/sap/ui/core/support/Support.js +1 -1
  151. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  153. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  154. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  156. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  157. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  158. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  159. package/src/sap/ui/core/themes/base/BrowserScrollbar.less +1 -1
  160. package/src/sap/ui/core/themes/base/DragAndDrop.less +21 -20
  161. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  162. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  163. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  164. package/src/sap/ui/core/tmpl/Template.js +1 -1
  165. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  166. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  167. package/src/sap/ui/core/util/Export.js +1 -1
  168. package/src/sap/ui/core/util/ExportCell.js +1 -1
  169. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  170. package/src/sap/ui/core/util/ExportRow.js +1 -1
  171. package/src/sap/ui/core/util/ExportType.js +1 -1
  172. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  173. package/src/sap/ui/core/util/File.js +1 -1
  174. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  175. package/src/sap/ui/core/util/MockServer.js +1 -1
  176. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  177. package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +2 -2
  178. package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +1 -1
  179. package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +2 -2
  180. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  181. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  182. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  183. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  184. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  185. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  186. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  187. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  188. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  189. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  190. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  191. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  192. package/src/sap/ui/debug/ControlTree.js +1 -1
  193. package/src/sap/ui/debug/DebugEnv.js +1 -1
  194. package/src/sap/ui/debug/PropertyList.js +1 -1
  195. package/src/sap/ui/model/ClientModel.js +1 -1
  196. package/src/sap/ui/model/ClientTreeBinding.js +56 -7
  197. package/src/sap/ui/model/CompositeDataState.js +1 -1
  198. package/src/sap/ui/model/CompositeType.js +1 -1
  199. package/src/sap/ui/model/DataState.js +1 -1
  200. package/src/sap/ui/model/MetaModel.js +1 -1
  201. package/src/sap/ui/model/Model.js +1 -1
  202. package/src/sap/ui/model/SelectionModel.js +1 -1
  203. package/src/sap/ui/model/SimpleType.js +1 -1
  204. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  205. package/src/sap/ui/model/Type.js +1 -1
  206. package/src/sap/ui/model/json/JSONModel.js +2 -2
  207. package/src/sap/ui/model/message/MessageModel.js +1 -1
  208. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  209. package/src/sap/ui/model/odata/ODataMessageParser.js +31 -64
  210. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  211. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  212. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  213. package/src/sap/ui/model/odata/type/Boolean.js +8 -4
  214. package/src/sap/ui/model/odata/type/Byte.js +8 -4
  215. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  216. package/src/sap/ui/model/odata/type/Date.js +2 -2
  217. package/src/sap/ui/model/odata/type/DateTime.js +2 -2
  218. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  219. package/src/sap/ui/model/odata/type/DateTimeOffset.js +8 -4
  220. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  221. package/src/sap/ui/model/odata/type/Decimal.js +8 -4
  222. package/src/sap/ui/model/odata/type/Double.js +8 -4
  223. package/src/sap/ui/model/odata/type/Guid.js +8 -4
  224. package/src/sap/ui/model/odata/type/Int.js +9 -4
  225. package/src/sap/ui/model/odata/type/Int16.js +8 -4
  226. package/src/sap/ui/model/odata/type/Int32.js +8 -4
  227. package/src/sap/ui/model/odata/type/Int64.js +8 -4
  228. package/src/sap/ui/model/odata/type/ODataType.js +6 -7
  229. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  230. package/src/sap/ui/model/odata/type/SByte.js +8 -4
  231. package/src/sap/ui/model/odata/type/Single.js +8 -4
  232. package/src/sap/ui/model/odata/type/Stream.js +2 -2
  233. package/src/sap/ui/model/odata/type/String.js +8 -4
  234. package/src/sap/ui/model/odata/type/Time.js +2 -2
  235. package/src/sap/ui/model/odata/type/TimeOfDay.js +2 -2
  236. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  237. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  238. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  239. package/src/sap/ui/model/odata/v2/ODataModel.js +6 -11
  240. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  241. package/src/sap/ui/model/odata/v4/Context.js +2 -1
  242. package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
  243. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  244. package/src/sap/ui/model/odata/v4/ODataListBinding.js +19 -2
  245. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +7 -29
  246. package/src/sap/ui/model/odata/v4/ODataModel.js +17 -16
  247. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +13 -8
  248. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  249. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +26 -11
  250. package/src/sap/ui/model/odata/v4/lib/_Cache.js +5 -3
  251. package/src/sap/ui/model/odata/v4/lib/_Helper.js +45 -31
  252. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  253. package/src/sap/ui/model/type/Boolean.js +1 -1
  254. package/src/sap/ui/model/type/Currency.js +1 -1
  255. package/src/sap/ui/model/type/Date.js +1 -1
  256. package/src/sap/ui/model/type/DateInterval.js +1 -1
  257. package/src/sap/ui/model/type/DateTime.js +1 -1
  258. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  259. package/src/sap/ui/model/type/FileSize.js +1 -1
  260. package/src/sap/ui/model/type/Float.js +1 -1
  261. package/src/sap/ui/model/type/Integer.js +1 -1
  262. package/src/sap/ui/model/type/String.js +1 -1
  263. package/src/sap/ui/model/type/Time.js +1 -1
  264. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  265. package/src/sap/ui/model/type/Unit.js +1 -1
  266. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  267. package/src/sap/ui/model/xml/XMLTreeBinding.js +10 -0
  268. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  269. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  270. package/src/sap/ui/test/generic/TestBase.js +1 -1
  271. package/src/sap/ui/thirdparty/caja-html-sanitizer.js +6 -0
  272. package/src/sap/ui/util/Storage.js +1 -1
  273. package/src/ui5loader.js +2 -8
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * With this plugIn the performance measurements are displayed
57
57
  *
58
58
  * @extends sap.ui.core.support.Plugin
59
- * @version 1.142.1
59
+ * @version 1.143.1
60
60
  * @private
61
61
  * @alias sap.ui.core.support.plugins.Performance
62
62
  */
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
23
23
  *
24
24
  * @extends sap.ui.core.support.Plugin
25
- * @version 1.142.1
25
+ * @version 1.143.1
26
26
  * @private
27
27
  * @alias sap.ui.core.support.plugins.Selector
28
28
  */
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
37
37
  *
38
38
  * @extends sap.ui.core.support.Plugin
39
- * @version 1.142.1
39
+ * @version 1.143.1
40
40
  * @private
41
41
  * @alias sap.ui.core.support.plugins.TechInfo
42
42
  */
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
22
22
  *
23
23
  * @extends sap.ui.core.support.Plugin
24
- * @version 1.142.1
24
+ * @version 1.143.1
25
25
  * @private
26
26
  * @alias sap.ui.core.support.plugins.Trace
27
27
  */
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * Creates an instance of sap.ui.core.support.plugins.ViewInfo.
37
37
  * @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
38
38
  * @extends sap.ui.core.support.Plugin
39
- * @version 1.142.1
39
+ * @version 1.143.1
40
40
  * @private
41
41
  * @deprecated As of version 1.118
42
42
  * @alias sap.ui.core.support.plugins.ViewInfo
@@ -4,5 +4,5 @@
4
4
  /* ============================================= */
5
5
 
6
6
  html.sap-desktop:not(.sapUiNativeScrollbars) {
7
- scrollbar-color: @sapUiScrollBarFaceColor @sapUiScrollBarTrackColor;
7
+ scrollbar-color: var(--sapScrollBar_FaceColor) var(--sapScrollBar_TrackColor);
8
8
  }
@@ -1,3 +1,8 @@
1
+ /* ==================== */
2
+ /* CSS for Drag & Drop */
3
+ /* Base theme */
4
+ /* ==================== */
5
+
1
6
  .sapUiDnDDragging {
2
7
  opacity: 0.5;
3
8
  }
@@ -17,60 +22,56 @@
17
22
  pointer-events: none;
18
23
  z-index: 99;
19
24
 
20
- &[data-drop-position=Between] {
21
- background: @sapUiContentDragAndDropActiveColor;
25
+ &[data-drop-position='Between'] {
26
+ background: var(--sapContent_DragAndDropActiveColor);
22
27
 
23
- &:before {
24
- content: "";
28
+ &::before {
29
+ content: '';
25
30
  position: absolute;
26
31
  width: 0.25rem;
27
32
  height: 0.25rem;
28
33
  border-radius: 0.25rem;
29
- border: 0.125rem solid @sapUiContentDragAndDropActiveColor;
34
+ border: 0.125rem solid var(--sapContent_DragAndDropActiveColor);
30
35
  background: @sapUiWhiteBG;
31
36
  pointer-events: none;
32
37
  }
33
38
 
34
- &[data-drop-layout=Vertical] {
39
+ &[data-drop-layout='Vertical'] {
35
40
  height: 0.125rem;
36
41
 
37
- &:before {
42
+ &::before {
38
43
  top: -0.175rem;
39
44
  }
40
45
 
41
- &:before {
46
+ &::before {
42
47
  left: 0;
43
48
  }
44
49
  }
45
50
 
46
- &[data-drop-layout=Horizontal] {
51
+ &[data-drop-layout='Horizontal'] {
47
52
  width: 0.125rem;
48
53
 
49
- &:before {
54
+ &::before {
50
55
  left: -0.175rem;
51
56
  }
52
57
 
53
- &:before {
58
+ &::before {
54
59
  top: 0;
55
60
  }
56
61
  }
57
62
  }
58
63
 
59
- &[data-drop-position=On] {
60
- background: @sapUiDragAndDropActiveBackground;
61
- border: 0.125rem solid @sapUiContentDragAndDropActiveColor;
64
+ &[data-drop-position='On'] {
65
+ background: var(--sapGroup_ContentBackground);
66
+ border: 0.125rem solid var(--sapContent_DragAndDropActiveColor);
62
67
  box-sizing: border-box;
63
68
  }
64
69
  }
65
70
 
66
- [data-sap-ui-draggable=true] {
71
+ [data-sap-ui-draggable='true'] {
67
72
  cursor: grab;
68
- cursor: -moz-grab;
69
- cursor: -webkit-grab;
70
73
  }
71
74
 
72
- [data-sap-ui-draggable=true]:active {
75
+ [data-sap-ui-draggable='true']:active {
73
76
  cursor: grabbing;
74
- cursor: -moz-grabbing;
75
- cursor: -webkit-grabbing;
76
77
  }
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/core/library'],
19
19
  * @class
20
20
  * Represents a DOM attribute of a DOM element.
21
21
  * @extends sap.ui.core.Element
22
- * @version 1.142.1
22
+ * @version 1.143.1
23
23
  *
24
24
  * @public
25
25
  * @since 1.15
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * Represents a DOM element. It allows to use databinding for the properties and nested DOM attributes.
29
29
  * @extends sap.ui.core.Control
30
- * @version 1.142.1
30
+ * @version 1.143.1
31
31
  *
32
32
  * @public
33
33
  * @since 1.15
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @extends sap.ui.core.tmpl.Template
50
50
  * @abstract
51
51
  * @author SAP SE
52
- * @version 1.142.1
52
+ * @version 1.143.1
53
53
  * @alias sap.ui.core.tmpl.HandlebarsTemplate
54
54
  * @since 1.15
55
55
  * @deprecated as of version 1.56. Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
@@ -54,7 +54,7 @@ function(
54
54
  * @extends sap.ui.base.ManagedObject
55
55
  * @abstract
56
56
  * @author SAP SE
57
- * @version 1.142.1
57
+ * @version 1.143.1
58
58
  * @alias sap.ui.core.tmpl.Template
59
59
  * @since 1.15
60
60
  * @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @class
46
46
  * This is the base class for all template controls. Template controls are declared based on templates.
47
47
  * @extends sap.ui.core.Control
48
- * @version 1.142.1
48
+ * @version 1.143.1
49
49
  *
50
50
  * @public
51
51
  * @since 1.15
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
12
12
  *
13
13
  * @class Utility class for asyncHints
14
14
  * @author SAP SE
15
- * @version 1.142.1
15
+ * @version 1.143.1
16
16
  *
17
17
  * @private
18
18
  * @ui5-restricted sap.ushell
@@ -141,7 +141,7 @@ sap.ui.define([
141
141
  * @extends sap.ui.core.Control
142
142
  *
143
143
  * @author SAP SE
144
- * @version 1.142.1
144
+ * @version 1.143.1
145
145
  * @since 1.22.0
146
146
  *
147
147
  * @public
@@ -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.142.1
23
+ * @version 1.143.1
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.142.1
26
+ * @version 1.143.1
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.142.1
26
+ * @version 1.143.1
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.142.1
23
+ * @version 1.143.1
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.142.1
41
+ * @version 1.143.1
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.142.1
16
+ * @version 1.143.1
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.142.1
24
+ * @version 1.143.1
25
25
  * @private
26
26
  * @alias sap.ui.core.util.LibraryInfo
27
27
  */
@@ -46,7 +46,7 @@ sap.ui
46
46
  * @class Class to mock http requests made to a remote server supporting the OData V2 REST protocol.
47
47
  * @extends sap.ui.base.ManagedObject
48
48
  * @author SAP SE
49
- * @version 1.142.1
49
+ * @version 1.143.1
50
50
  * @public
51
51
  * @alias sap.ui.core.util.MockServer
52
52
  */
@@ -13,7 +13,7 @@ sap.ui.define([ "sap/ui/core/Lib", "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.142.1
16
+ * @version 1.143.1
17
17
  * @private
18
18
  * @ui5-restricted sap.ui.table.Table, sap.m.Table, sap.m.plugins.PasteProvider, sap.m.MultiInput, sap.ui.mdc.FieldBase, sap.ui.comp.smarttable.SmartTable
19
19
  * @alias sap.ui.core.util.PasteHelper
@@ -400,8 +400,8 @@ sap.ui.define([
400
400
  return isPlainObject(vPropertyValue) || Array.isArray(vPropertyValue) || Object(vPropertyValue) !== vPropertyValue;
401
401
  },
402
402
 
403
- _escapeSpecialCharactersInString: function(vPropertyValue) {
404
- return typeof vPropertyValue === "string" ? vPropertyValue.replace(/([\\\{\}])/g, "\\$1") : vPropertyValue;
403
+ _escapeCurlyBracketsInString: function(vPropertyValue) {
404
+ return typeof vPropertyValue === "string" ? vPropertyValue.replace(/({|})/g, "\\$&") : vPropertyValue;
405
405
  },
406
406
 
407
407
  _templateFragment: function(sFragmentName, mPreprocessorSettings) {
@@ -147,7 +147,7 @@ sap.ui.define([
147
147
  if (oMetadata) {
148
148
  if (this._isSerializable(vPropertyValue)) {
149
149
  if (oBindingParserResult && typeof oBindingParserResult === "object" || bError) {
150
- vPropertyValue = this._escapeSpecialCharactersInString(vPropertyValue);
150
+ vPropertyValue = this._escapeCurlyBracketsInString(vPropertyValue);
151
151
  }
152
152
  const sPropertySetter = oMetadata._sMutator;
153
153
  oControl[sPropertySetter](vPropertyValue);
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  _setProperty: function(oControl, sPropertyName, vPropertyValue, bEscapeBindingStrings) {
107
107
  let sValue = XmlTreeModifier._getSerializedValue(vPropertyValue);
108
108
  if (bEscapeBindingStrings) {
109
- sValue = XmlTreeModifier._escapeSpecialCharactersInString(sValue);
109
+ sValue = XmlTreeModifier._escapeCurlyBracketsInString(sValue);
110
110
  }
111
111
  oControl.setAttribute(sPropertyName, sValue);
112
112
  },
@@ -197,7 +197,7 @@ sap.ui.define([
197
197
  * @inheritDoc
198
198
  */
199
199
  createAndAddCustomData: function(oControl, sCustomDataKey, sValue) {
200
- oControl.setAttributeNS(CUSTOM_DATA_NS, "custom.data.via.modifier:" + sCustomDataKey, XmlTreeModifier._escapeSpecialCharactersInString(sValue));
200
+ oControl.setAttributeNS(CUSTOM_DATA_NS, "custom.data.via.modifier:" + sCustomDataKey, XmlTreeModifier._escapeCurlyBracketsInString(sValue));
201
201
  return Promise.resolve();
202
202
  },
203
203
 
@@ -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.142.1
23
+ * @version 1.143.1
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.142.1
24
+ * @version 1.143.1
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.142.1
24
+ * @version 1.143.1
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.142.1
23
+ * @version 1.143.1
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.142.1
20
+ * @version 1.143.1
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.142.1
22
+ * @version 1.143.1
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.142.1
27
+ * @version 1.143.1
28
28
  * @alias sap.ui.core.util.serializer.delegate.XML
29
29
  * @private
30
30
  * @ui5-restricted sap.watt, com.sap.webide
@@ -132,7 +132,7 @@ function(
132
132
  *
133
133
  * @extends sap.ui.core.Control
134
134
  * @author SAP SE
135
- * @version 1.142.1
135
+ * @version 1.143.1
136
136
  * @public
137
137
  * @since 1.138.0
138
138
  * @alias sap.ui.core.webc.WebComponent
@@ -24,7 +24,7 @@ function(ElementMetadata, WebComponentRenderer, camelize, hyphenate) {
24
24
  *
25
25
  * @class
26
26
  * @author SAP SE
27
- * @version 1.142.1
27
+ * @version 1.143.1
28
28
  * @since 1.138.0
29
29
  * @alias sap.ui.core.webc.WebComponentMetadata
30
30
  * @extends sap.ui.core.ElementMetadata
@@ -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.142.1
15
+ * @version 1.143.1
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.142.1
24
+ * @version 1.143.1
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 */ {
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @class Basic WebSocket class.
25
25
  * @extends sap.ui.base.EventProvider
26
26
  * @author SAP SE
27
- * @version 1.142.1
27
+ * @version 1.143.1
28
28
  * @alias sap.ui.core.ws.WebSocket
29
29
  */
30
30
  var WebSocket = EventProvider.extend("sap.ui.core.ws.WebSocket", /** @lends sap.ui.core.ws.WebSocket.prototype */ {
@@ -34,7 +34,7 @@ sap.ui.define('sap/ui/debug/ControlTree', [
34
34
  * @class Control Tree used for the Debug Environment
35
35
  * @extends sap.ui.base.EventProvider
36
36
  * @author Martin Schaus, Frank Weigel
37
- * @version 1.142.1
37
+ * @version 1.143.1
38
38
  * @alias sap.ui.debug.ControlTree
39
39
  * @private
40
40
  */
@@ -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.142.1
40
+ * @version 1.143.1
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.142.1
35
+ * @version 1.143.1
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.142.1
32
+ * @version 1.143.1
33
33
  *
34
34
  * @param {string} [oData] URL where to load the data from
35
35
  * @public
@@ -8,11 +8,12 @@
8
8
  sap.ui.define([
9
9
  "./ChangeReason",
10
10
  "./TreeBinding",
11
+ "sap/base/util/deepEqual",
11
12
  "sap/base/util/each",
12
13
  "sap/ui/model/FilterProcessor",
13
14
  "sap/ui/model/FilterType",
14
15
  "sap/ui/model/SorterProcessor"
15
- ], function(ChangeReason, TreeBinding, each, FilterProcessor, FilterType, SorterProcessor) {
16
+ ], function(ChangeReason, TreeBinding, deepEqual, each, FilterProcessor, FilterType, SorterProcessor) {
16
17
  "use strict";
17
18
 
18
19
  /**
@@ -65,11 +66,12 @@ sap.ui.define([
65
66
  };
66
67
  this.oCombinedFilter = null;
67
68
  this.mNormalizeCache = {};
69
+ this.oTreeData = this.cloneData(this.oModel._getObject(this.sPath, this.oContext));
68
70
 
69
71
  if (aApplicationFilters) {
70
72
  this.oModel.checkFilter(aApplicationFilters);
71
73
 
72
- if (this.oModel._getObject(this.sPath, this.oContext)) {
74
+ if (this.oTreeData) {
73
75
  this.filter(aApplicationFilters, FilterType.Application);
74
76
  }
75
77
  }
@@ -78,6 +80,28 @@ sap.ui.define([
78
80
 
79
81
  });
80
82
 
83
+ ClientTreeBinding.CannotCloneData = Symbol("CannotCloneData");
84
+
85
+ /**
86
+ * Returns a deep clone of the tree data or a symbol indicating that the given tree data cannot be cloned.
87
+ *
88
+ * Uses <code>structuredClone</code> to create a deep copy. If cloning fails (e.g., due to functions, DOM nodes,
89
+ * or other uncloneable values), the symbol <code>ClientTreeBinding.CannotCloneData</code> is returned.
90
+ *
91
+ * @param {any} oTreeData
92
+ * The tree data to clone
93
+ * @returns {any|sap.ui.model.ClientTreeBinding.CannotCloneData}
94
+ * A deep clone or the symbol <code>ClientTreeBinding.CannotCloneData</code> if cloning fails
95
+ * @private
96
+ */
97
+ ClientTreeBinding.prototype.cloneData = function(oTreeData) {
98
+ try {
99
+ return structuredClone(oTreeData);
100
+ } catch {
101
+ return ClientTreeBinding.CannotCloneData;
102
+ }
103
+ };
104
+
81
105
  /**
82
106
  * Return root contexts for the tree.
83
107
  *
@@ -319,7 +343,7 @@ sap.ui.define([
319
343
  this.applyFilter();
320
344
  }
321
345
  this._mLengthsCache = {};
322
- this._fireChange({reason: "filter"});
346
+ this._fireChange({reason: ChangeReason.Filter});
323
347
  /** @deprecated As of version 1.11.0 */
324
348
  this._fireFilter({filters: aFilters});
325
349
 
@@ -445,18 +469,43 @@ sap.ui.define([
445
469
  this._mLengthsCache[sKey] = iLength;
446
470
  };
447
471
 
472
+ /**
473
+ * Sets the context for this instance. If the context changes and the binding is relative a change event is fired
474
+ * with reason {@link sap.ui.model.ChangeReason.Context}.
475
+ *
476
+ * @param {sap.ui.model.Context} oContext
477
+ * The new context object
478
+ */
479
+ ClientTreeBinding.prototype.setContext = function (oContext) {
480
+ if (this.oContext != oContext) {
481
+ this.oContext = oContext;
482
+ if (this.isRelative()) {
483
+ const oTreeData = this.oModel._getObject(this.sPath, this.oContext);
484
+ this.oTreeData = this.cloneData(oTreeData);
485
+ this._fireChange({reason: ChangeReason.Context});
486
+ }
487
+ }
488
+ };
489
+
448
490
  /**
449
491
  * Check whether this Binding would provide new values and in case it changed,
450
492
  * inform interested parties about this.
451
493
  *
452
- * @param {boolean} [bForceupdate] Not used in this method
494
+ * @param {boolean} [bForceUpdate]
495
+ * Whether the change event will be fired regardless of the bindings state
453
496
  *
454
497
  */
455
- ClientTreeBinding.prototype.checkUpdate = function(bForceupdate){
498
+ ClientTreeBinding.prototype.checkUpdate = function(bForceUpdate) {
499
+ const oCurrentTreeData = this.oModel._getObject(this.sPath, this.oContext);
500
+
456
501
  // apply filter again
457
502
  this.applyFilter();
458
503
  this._mLengthsCache = {};
459
- this._fireChange();
504
+
505
+ if (bForceUpdate || !deepEqual(this.oTreeData, oCurrentTreeData)) {
506
+ this.oTreeData = this.cloneData(oCurrentTreeData);
507
+ this._fireChange({reason: ChangeReason.Change});
508
+ }
460
509
  };
461
510
 
462
511
  /**
@@ -515,4 +564,4 @@ sap.ui.define([
515
564
  };
516
565
 
517
566
  return ClientTreeBinding;
518
- });
567
+ });
@@ -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.142.1
17
+ * @version 1.143.1
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.142.1
42
+ * @version 1.143.1
43
43
  */
44
44
  var CompositeType = SimpleType.extend("sap.ui.model.CompositeType", /** @lends sap.ui.model.CompositeType.prototype */ {
45
45