@openui5/sap.ui.core 1.71.63 → 1.71.64

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 (217) 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/util/restricted/_castArray.js +1 -1
  8. package/src/sap/base/util/restricted/_curry.js +1 -1
  9. package/src/sap/base/util/restricted/_debounce.js +1 -1
  10. package/src/sap/base/util/restricted/_intersection.js +1 -1
  11. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  12. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  13. package/src/sap/base/util/restricted/_max.js +1 -1
  14. package/src/sap/base/util/restricted/_merge.js +1 -1
  15. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  16. package/src/sap/base/util/restricted/_min.js +1 -1
  17. package/src/sap/base/util/restricted/_omit.js +1 -1
  18. package/src/sap/base/util/restricted/_pick.js +1 -1
  19. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  20. package/src/sap/base/util/restricted/_throttle.js +1 -1
  21. package/src/sap/base/util/restricted/_uniq.js +1 -1
  22. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  23. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  24. package/src/sap/ui/Device.js +3 -3
  25. package/src/sap/ui/Global.js +4 -4
  26. package/src/sap/ui/base/Event.js +1 -1
  27. package/src/sap/ui/base/EventProvider.js +1 -1
  28. package/src/sap/ui/base/Interface.js +1 -1
  29. package/src/sap/ui/base/ManagedObject.js +1 -1
  30. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  31. package/src/sap/ui/base/Metadata.js +1 -1
  32. package/src/sap/ui/base/Object.js +1 -1
  33. package/src/sap/ui/base/ObjectPool.js +1 -1
  34. package/src/sap/ui/core/.library +1 -1
  35. package/src/sap/ui/core/BusyIndicator.js +1 -1
  36. package/src/sap/ui/core/Component.js +1 -1
  37. package/src/sap/ui/core/ComponentContainer.js +1 -1
  38. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  39. package/src/sap/ui/core/ComponentSupport.js +1 -1
  40. package/src/sap/ui/core/Control.js +1 -1
  41. package/src/sap/ui/core/Core.js +1 -1
  42. package/src/sap/ui/core/CustomData.js +1 -1
  43. package/src/sap/ui/core/CustomizingConfiguration.js +1 -1
  44. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  45. package/src/sap/ui/core/Element.js +1 -1
  46. package/src/sap/ui/core/ElementMetadata.js +1 -1
  47. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  48. package/src/sap/ui/core/EventBus.js +1 -1
  49. package/src/sap/ui/core/Fragment.js +1 -1
  50. package/src/sap/ui/core/HTML.js +1 -1
  51. package/src/sap/ui/core/History.js +1 -1
  52. package/src/sap/ui/core/Icon.js +1 -1
  53. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  54. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  55. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  56. package/src/sap/ui/core/InvisibleText.js +1 -1
  57. package/src/sap/ui/core/Item.js +1 -1
  58. package/src/sap/ui/core/LabelEnablement.js +1 -1
  59. package/src/sap/ui/core/LayoutData.js +1 -1
  60. package/src/sap/ui/core/ListItem.js +1 -1
  61. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  62. package/src/sap/ui/core/Locale.js +1 -1
  63. package/src/sap/ui/core/LocaleData.js +1 -1
  64. package/src/sap/ui/core/Manifest.js +1 -1
  65. package/src/sap/ui/core/Message.js +1 -1
  66. package/src/sap/ui/core/Popup.js +74 -48
  67. package/src/sap/ui/core/RenderManager.js +1 -1
  68. package/src/sap/ui/core/Renderer.js +1 -1
  69. package/src/sap/ui/core/ResizeHandler.js +1 -1
  70. package/src/sap/ui/core/ScrollBar.js +1 -1
  71. package/src/sap/ui/core/SeparatorItem.js +1 -1
  72. package/src/sap/ui/core/Title.js +1 -1
  73. package/src/sap/ui/core/TooltipBase.js +1 -1
  74. package/src/sap/ui/core/UIArea.js +22 -1
  75. package/src/sap/ui/core/UIComponent.js +1 -1
  76. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  77. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  78. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  79. package/src/sap/ui/core/XMLComposite.js +1 -1
  80. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  81. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  82. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  83. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  84. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  85. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  86. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  87. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  88. package/src/sap/ui/core/library.js +3 -3
  89. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  90. package/src/sap/ui/core/message/Message.js +1 -1
  91. package/src/sap/ui/core/message/MessageManager.js +1 -1
  92. package/src/sap/ui/core/message/MessageParser.js +1 -1
  93. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  94. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  95. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  96. package/src/sap/ui/core/mvc/JSView.js +1 -1
  97. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  98. package/src/sap/ui/core/mvc/View.js +1 -1
  99. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  100. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  101. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  102. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  103. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  104. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  105. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  106. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  107. package/src/sap/ui/core/service/Service.js +1 -1
  108. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  109. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  110. package/src/sap/ui/core/support/Plugin.js +1 -1
  111. package/src/sap/ui/core/support/Support.js +1 -1
  112. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  113. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  114. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  115. package/src/sap/ui/core/support/plugins/MessageTest.js +1 -1
  116. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  117. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  118. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  119. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  120. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  121. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  122. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  123. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  124. package/src/sap/ui/core/tmpl/Template.js +1 -1
  125. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  126. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  127. package/src/sap/ui/core/util/Export.js +1 -1
  128. package/src/sap/ui/core/util/ExportCell.js +1 -1
  129. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  130. package/src/sap/ui/core/util/ExportRow.js +1 -1
  131. package/src/sap/ui/core/util/ExportType.js +1 -1
  132. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  133. package/src/sap/ui/core/util/File.js +1 -1
  134. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  135. package/src/sap/ui/core/util/MockServer.js +1 -1
  136. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  137. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  138. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  139. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  140. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  141. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  142. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  143. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  144. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  145. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  146. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  147. package/src/sap/ui/debug/ControlTree.js +1 -1
  148. package/src/sap/ui/debug/DebugEnv.js +1 -1
  149. package/src/sap/ui/debug/PropertyList.js +1 -1
  150. package/src/sap/ui/model/ClientModel.js +1 -1
  151. package/src/sap/ui/model/CompositeDataState.js +1 -1
  152. package/src/sap/ui/model/CompositeType.js +1 -1
  153. package/src/sap/ui/model/DataState.js +1 -1
  154. package/src/sap/ui/model/MetaModel.js +1 -1
  155. package/src/sap/ui/model/Model.js +1 -1
  156. package/src/sap/ui/model/SelectionModel.js +1 -1
  157. package/src/sap/ui/model/SimpleType.js +1 -1
  158. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  159. package/src/sap/ui/model/Type.js +1 -1
  160. package/src/sap/ui/model/control/ControlModel.js +1 -1
  161. package/src/sap/ui/model/json/JSONModel.js +1 -1
  162. package/src/sap/ui/model/message/MessageModel.js +1 -1
  163. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  164. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  165. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  166. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  167. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  168. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  169. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  170. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  171. package/src/sap/ui/model/odata/type/Date.js +1 -1
  172. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  173. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  174. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  175. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  176. package/src/sap/ui/model/odata/type/Double.js +1 -1
  177. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  178. package/src/sap/ui/model/odata/type/Int.js +1 -1
  179. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  180. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  181. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  182. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  183. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  184. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  185. package/src/sap/ui/model/odata/type/Single.js +1 -1
  186. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  187. package/src/sap/ui/model/odata/type/String.js +1 -1
  188. package/src/sap/ui/model/odata/type/Time.js +1 -1
  189. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  190. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  191. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  192. package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
  193. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  194. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  195. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  196. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  197. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  198. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  199. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  200. package/src/sap/ui/model/type/Boolean.js +1 -1
  201. package/src/sap/ui/model/type/Currency.js +1 -1
  202. package/src/sap/ui/model/type/Date.js +1 -1
  203. package/src/sap/ui/model/type/DateInterval.js +1 -1
  204. package/src/sap/ui/model/type/DateTime.js +1 -1
  205. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  206. package/src/sap/ui/model/type/FileSize.js +1 -1
  207. package/src/sap/ui/model/type/Float.js +1 -1
  208. package/src/sap/ui/model/type/Integer.js +1 -1
  209. package/src/sap/ui/model/type/String.js +1 -1
  210. package/src/sap/ui/model/type/Time.js +1 -1
  211. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  212. package/src/sap/ui/model/type/Unit.js +1 -1
  213. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  214. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  215. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  216. package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
  217. package/src/sap/ui/util/Storage.js +1 -1
@@ -23,7 +23,7 @@ sap.ui.define(['./Element', './library', "sap/ui/thirdparty/jquery"],
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.71.63
26
+ * @version 1.71.64
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.LayoutData
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.71.63
26
+ * @version 1.71.64
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.ListItem
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * @extends sap.ui.core.Control
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.71.63
36
+ * @version 1.71.64
37
37
  *
38
38
  * @public
39
39
  * @since 1.11.0
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert"],
38
38
  *
39
39
  * @extends sap.ui.base.Object
40
40
  * @author SAP SE
41
- * @version 1.71.63
41
+ * @version 1.71.64
42
42
  * @public
43
43
  * @alias sap.ui.core.Locale
44
44
  */
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/thirdparty/jquery', 'sap/ui/base/Object', './CalendarType
18
18
  *
19
19
  * @extends sap.ui.base.Object
20
20
  * @author SAP SE
21
- * @version 1.71.63
21
+ * @version 1.71.64
22
22
  * @public
23
23
  * @alias sap.ui.core.LocaleData
24
24
  */
@@ -159,7 +159,7 @@ sap.ui.define([
159
159
  * @class The Manifest class.
160
160
  * @extends sap.ui.base.Object
161
161
  * @author SAP SE
162
- * @version 1.71.63
162
+ * @version 1.71.64
163
163
  * @alias sap.ui.core.Manifest
164
164
  * @since 1.33.0
165
165
  */
@@ -26,7 +26,7 @@ sap.ui.define(['./Element', './library', "sap/base/Log"],
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.71.63
29
+ * @version 1.71.64
30
30
  *
31
31
  * @public
32
32
  * @alias sap.ui.core.Message
@@ -150,6 +150,33 @@ sap.ui.define([
150
150
  });
151
151
  }
152
152
 
153
+ var oStaticUIArea;
154
+
155
+ function getStaticUIArea() {
156
+ if (oStaticUIArea) {
157
+ return oStaticUIArea;
158
+ }
159
+
160
+ var oStaticAreaRef, oControl;
161
+ try {
162
+ oStaticAreaRef = sap.ui.getCore().getStaticAreaRef();
163
+ // only a facade of the static UIArea is returned that contains only the public methods
164
+ oStaticUIArea = sap.ui.getCore().getUIArea(oStaticAreaRef);
165
+ } catch (e) {
166
+ Log.error(e);
167
+ throw new Error("Popup cannot be opened because static UIArea cannot be determined.");
168
+ }
169
+
170
+ oControl = new Control();
171
+ oStaticUIArea.addDependent(oControl);
172
+ // get the real instance (not facade) of the static UIArea
173
+ oStaticUIArea = oControl.getUIArea();
174
+
175
+ oControl.destroy();
176
+
177
+ return oStaticUIArea;
178
+ }
179
+
153
180
  /**
154
181
  * Creates an instance of <code>sap.ui.core.Popup</code> that can be used to open controls as a Popup,
155
182
  * visually appearing in front of other controls.
@@ -739,6 +766,38 @@ sap.ui.define([
739
766
  return;
740
767
  }
741
768
 
769
+ this.eOpenState = OpenState.OPENING;
770
+
771
+ var oStaticUIArea = getStaticUIArea(),
772
+ oUIArea;
773
+
774
+ // If the content is a control and has no parent, add it to the static UIArea. This makes automatic rerendering
775
+ // after invalidation work. When the popup closes, the content is removed again from the static UIArea.
776
+ //
777
+ // If the content has a parent, but the parent isn't connected to any UIArea, the getUIArea function is
778
+ // overwritten to return the static UIArea to make further rerendering works. The function is deleted once the
779
+ // popup is closed.
780
+ this._bContentAddedToStatic = false;
781
+ this._bUIAreaPatched = false;
782
+ if (this.oContent instanceof Control) {
783
+ if (!this.oContent.getParent()) {
784
+ oStaticUIArea.addContent(this.oContent, true);
785
+ this._bContentAddedToStatic = true;
786
+ } else if (!this.oContent.getUIArea()) {
787
+ this.oContent.getUIArea = function() {
788
+ return oStaticUIArea;
789
+ };
790
+ this._bUIAreaPatched = true;
791
+ }
792
+
793
+ oUIArea = this.oContent.getUIArea();
794
+ if (Popup._bEnableUIAreaCheck && oUIArea.getRootNode().id !== oStaticUIArea.getRootNode().id) {
795
+ // the variable 'sap.ui.core.Popup._bEnableUIAreaCheck' isn't defined anywhere. To enable this check this variable
796
+ // has to be defined within the console or somehow else.
797
+ Log.warning("The Popup content is NOT connected with the static-UIArea and may not work properly!");
798
+ }
799
+ }
800
+
742
801
  // iDuration is optional... if not given:
743
802
  if (typeof (iDuration) == "string") {
744
803
  followOf = collision;
@@ -765,44 +824,6 @@ sap.ui.define([
765
824
  assert(!offset || typeof offset === "string", "offset must be empty or a string");
766
825
  assert(!collision || typeof collision === "string", "collision must be empty or a string");
767
826
 
768
- this.eOpenState = OpenState.OPENING;
769
-
770
- var oStatic;
771
- try {
772
- oStatic = sap.ui.getCore().getStaticAreaRef();
773
- oStatic = sap.ui.getCore().getUIArea(oStatic);
774
- } catch (e) {
775
- Log.error(e);
776
- throw new Error("Popup cannot be opened because static UIArea cannot be determined.");
777
- }
778
-
779
- // If the content is a control and has no parent, add it to the static UIArea.
780
- // This makes automatic rerendering after invalidation work.
781
- // When the popup closes, the content is removed again from the static UIArea.
782
- this._bContentAddedToStatic = false;
783
- if ( this.oContent instanceof Control && !this.oContent.getParent() ) {
784
- oStatic.addContent(this.oContent, true);
785
- this._bContentAddedToStatic = true;
786
- }
787
-
788
- // Check if the content isn't connected properly to a UIArea. This could cause strange behavior of events and rendering.
789
- // To find a Popup issue in this case a warning should be logged to the console.
790
- //
791
- // E.g. if the content has a different UI-area than its parent -> warning is thrown if 'sap.ui.core.Popup._bEnableUIAreaCheck'
792
- // is set
793
- if (this.oContent.getUIArea) {
794
- var oArea = this.oContent.getUIArea();
795
-
796
- if (oArea === null) {
797
- Log.warning("The Popup content is NOT connected with a UIArea and may not work properly!");
798
- } else if (Popup._bEnableUIAreaCheck && oArea.getRootNode().id !== oStatic.getRootNode().id) {
799
-
800
- // the variable 'sap.ui.core.Popup._bEnableUIAreaCheck' isn't defined anywhere. To enable this check this variable
801
- // has to be defined within the console or somehow else.
802
- Log.warning("The Popup content is NOT connected with the static-UIArea and may not work properly!");
803
- }
804
- }
805
-
806
827
  // save current focused element to restore the focus after closing
807
828
  this._oPreviousFocus = Popup.getCurrentFocusInfo();
808
829
 
@@ -1284,18 +1305,23 @@ sap.ui.define([
1284
1305
  Popup.DockTrigger.removeListener(Popup.checkDocking, this);
1285
1306
  }
1286
1307
 
1287
- // If we added the content control to the static UIArea,
1288
- // then we should remove it again now.
1289
- // Assumption: application did not move the content in the meantime!
1290
- if ( this.oContent && this._bContentAddedToStatic ) {
1291
- //Fix for RTE in PopUp
1292
- sap.ui.getCore().getEventBus().publish("sap.ui","__beforePopupClose", { domNode : this._$().get(0) });
1293
- var oStatic = sap.ui.getCore().getStaticAreaRef();
1294
- oStatic = sap.ui.getCore().getUIArea(oStatic);
1295
- oStatic.removeContent(oStatic.indexOfContent(this.oContent), true);
1308
+ if (this.oContent) {
1309
+ // If we added the content control to the static UIArea,
1310
+ // then we should remove it again now.
1311
+ // Assumption: application did not move the content in the meantime!
1312
+ if (this._bContentAddedToStatic ) {
1313
+ //Fix for RTE in PopUp
1314
+ sap.ui.getCore().getEventBus().publish("sap.ui","__beforePopupClose", { domNode : this._$().get(0) });
1315
+ var oStatic = sap.ui.getCore().getStaticAreaRef();
1316
+ oStatic = sap.ui.getCore().getUIArea(oStatic);
1317
+ oStatic.removeContent(oStatic.indexOfContent(this.oContent), true);
1318
+ } else if (this._bUIAreaPatched) { // if the getUIArea function is patched, delete it
1319
+ delete this.oContent.getUIArea;
1320
+ }
1296
1321
  }
1297
1322
 
1298
1323
  this._bContentAddedToStatic = false;
1324
+ this._bUIAreaPatched = false;
1299
1325
 
1300
1326
  this._sTimeoutId = null;
1301
1327
 
@@ -2009,7 +2035,7 @@ sap.ui.define([
2009
2035
  /**
2010
2036
  * Returns the value if a Popup is of modal type
2011
2037
  *
2012
- * @return {boolean] bModal whether the Popup is of modal type
2038
+ * @return {boolean} bModal whether the Popup is of modal type
2013
2039
  * @public
2014
2040
  */
2015
2041
  Popup.prototype.getModal = function() {
@@ -156,7 +156,7 @@ sap.ui.define([
156
156
  *
157
157
  * @extends Object
158
158
  * @author SAP SE
159
- * @version 1.71.63
159
+ * @version 1.71.64
160
160
  * @alias sap.ui.core.RenderManager
161
161
  * @public
162
162
  */
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * @classdesc Base Class for a Renderer.
18
18
  *
19
19
  * @author SAP SE
20
- * @version 1.71.63
20
+ * @version 1.71.64
21
21
  * @namespace
22
22
  * @public
23
23
  * @alias sap.ui.core.Renderer
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @alias sap.ui.core.ResizeHandler
33
33
  * @extends sap.ui.base.Object
34
34
  * @author SAP SE
35
- * @version 1.71.63
35
+ * @version 1.71.64
36
36
  * @public
37
37
  */
38
38
 
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * The ScrollBar control can be used for virtual scrolling of a certain area.
45
45
  * This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
46
46
  * @extends sap.ui.core.Control
47
- * @version 1.71.63
47
+ * @version 1.71.64
48
48
  *
49
49
  * @public
50
50
  * @deprecated as of version 1.56
@@ -23,7 +23,7 @@ sap.ui.define(['./Item', './library'],
23
23
  * @extends sap.ui.core.Item
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.71.63
26
+ * @version 1.71.64
27
27
  *
28
28
  * @public
29
29
  * @alias sap.ui.core.SeparatorItem
@@ -25,7 +25,7 @@ sap.ui.define(['./Element', './library'],
25
25
  * @extends sap.ui.core.Element
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.71.63
28
+ * @version 1.71.64
29
29
  *
30
30
  * @public
31
31
  * @since 1.16.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @class
32
32
  * Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
33
33
  * @extends sap.ui.core.Control
34
- * @version 1.71.63
34
+ * @version 1.71.64
35
35
  *
36
36
  * @public
37
37
  * @alias sap.ui.core.TooltipBase
@@ -175,7 +175,7 @@ sap.ui.define([
175
175
  *
176
176
  * @extends sap.ui.base.ManagedObject
177
177
  * @author SAP SE
178
- * @version 1.71.63
178
+ * @version 1.71.64
179
179
  * @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
180
180
  * @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
181
181
  * @public
@@ -229,6 +229,27 @@ sap.ui.define([
229
229
  */
230
230
  dependents : {name : "dependents", type : "sap.ui.core.Control", multiple : true}
231
231
  }
232
+ },
233
+
234
+ // make 'dependents' a non-invalidating aggregation
235
+ insertDependent: function(oElement, iIndex) {
236
+ return this.insertAggregation("dependents", oElement, iIndex, true);
237
+ },
238
+
239
+ addDependent: function(oElement) {
240
+ return this.addAggregation("dependents", oElement, true);
241
+ },
242
+
243
+ removeDependent: function(vElement) {
244
+ return this.removeAggregation("dependents", vElement, true);
245
+ },
246
+
247
+ removeAllDependents: function() {
248
+ return this.removeAllAggregation("dependents", true);
249
+ },
250
+
251
+ destroyDependents: function() {
252
+ return this.destroyAggregation("dependents", true);
232
253
  }
233
254
  });
234
255
 
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  * @extends sap.ui.core.Component
56
56
  * @abstract
57
57
  * @author SAP SE
58
- * @version 1.71.63
58
+ * @version 1.71.64
59
59
  * @alias sap.ui.core.UIComponent
60
60
  * @since 1.9.2
61
61
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
@@ -22,7 +22,7 @@ sap.ui.define(['./ComponentMetadata', './library'],
22
22
  * @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
23
23
  * @class
24
24
  * @author SAP SE
25
- * @version 1.71.63
25
+ * @version 1.71.64
26
26
  * @since 1.15.1
27
27
  * @alias sap.ui.core.UIComponentMetadata
28
28
  */
@@ -16,7 +16,7 @@ sap.ui.define(['./Element', './library', "sap/base/assert"],
16
16
  * Helper functionality for value state support.
17
17
  *
18
18
  * @author SAP SE
19
- * @version 1.71.63
19
+ * @version 1.71.64
20
20
  * @public
21
21
  * @namespace sap.ui.core.ValueStateSupport
22
22
  */
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
20
20
  * @class
21
21
  * Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.71.63
23
+ * @version 1.71.64
24
24
  *
25
25
  * @public
26
26
  * @since 1.9.2
@@ -149,7 +149,7 @@ sap.ui.define([
149
149
  * @extends sap.ui.core.Control
150
150
  *
151
151
  * @author SAP SE
152
- * @version 1.71.63
152
+ * @version 1.71.64
153
153
  * @since 1.56.0
154
154
  * @alias sap.ui.core.XMLComposite
155
155
  * @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @param {object} oClassInfo static info to construct the metadata from
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.71.63
33
+ * @version 1.71.64
34
34
  * @since 1.50.0
35
35
  * @alias sap.ui.core.XMLCompositeMetadata
36
36
  * @extends sap.ui.core.ElementMetadata
@@ -82,7 +82,7 @@ sap.ui.define([
82
82
  * @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
83
83
  * @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
84
84
  *
85
- * @version 1.71.63
85
+ * @version 1.71.64
86
86
  * @alias sap.ui.core.delegate.ItemNavigation
87
87
  * @public
88
88
  */
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  *
57
57
  * @protected
58
58
  * @alias sap.ui.core.delegate.ScrollEnablement
59
- * @version 1.71.63
59
+ * @version 1.71.64
60
60
  * @author SAP SE
61
61
  */
62
62
  var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
@@ -37,7 +37,7 @@ sap.ui.define(['../Element', '../library', 'sap/base/Log', './DragAndDrop'],
37
37
  *
38
38
  * @extends sap.ui.core.Element
39
39
  * @author SAP SE
40
- * @version 1.71.63
40
+ * @version 1.71.64
41
41
  *
42
42
  * @public
43
43
  * @since 1.52
@@ -22,7 +22,7 @@ sap.ui.define(["./DragInfo", "./DropInfo", "sap/ui/Device", "sap/base/Log"],
22
22
  * @extends sap.ui.core.dnd.DropInfo
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.71.63
25
+ * @version 1.71.64
26
26
  *
27
27
  * @public
28
28
  * @since 1.52
@@ -22,7 +22,7 @@ sap.ui.define(["./DragDropBase"],
22
22
  * @extends sap.ui.core.dnd.DragDropBase
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.71.63
25
+ * @version 1.71.64
26
26
  *
27
27
  * @public
28
28
  * @since 1.56
@@ -21,7 +21,7 @@ sap.ui.define(["./DragDropBase"],
21
21
  * @extends sap.ui.core.dnd.DragDropBase
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.71.63
24
+ * @version 1.71.64
25
25
  *
26
26
  * @public
27
27
  * @since 1.56
@@ -466,7 +466,7 @@ function (ManagedObject, Log, deepEqual, Locale, LocaleData) {
466
466
  * @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
467
467
  * @extends sap.ui.base.ManagedObject
468
468
  * @author SAP SE
469
- * @version 1.71.63
469
+ * @version 1.71.64
470
470
  * @hideconstructor
471
471
  * @public
472
472
  * @since 1.60
@@ -14,7 +14,7 @@ sap.ui.define(['sap/ui/base/DataType', './CalendarType', './date/CalendarWeekNum
14
14
  // delegate further initialization of this library to the Core
15
15
  sap.ui.getCore().initLibrary({
16
16
  name : "sap.ui.core",
17
- version: "1.71.63",
17
+ version: "1.71.64",
18
18
  designtime: "sap/ui/core/designtime/library.designtime",
19
19
  types: [
20
20
 
@@ -149,7 +149,7 @@ sap.ui.define(['sap/ui/base/DataType', './CalendarType', './date/CalendarWeekNum
149
149
  * @namespace
150
150
  * @alias sap.ui.core
151
151
  * @author SAP SE
152
- * @version 1.71.63
152
+ * @version 1.71.64
153
153
  * @public
154
154
  */
155
155
  var thisLib = sap.ui.core;
@@ -1406,7 +1406,7 @@ sap.ui.define(['sap/ui/base/DataType', './CalendarType', './date/CalendarWeekNum
1406
1406
  /**
1407
1407
  * Sort order of a column.
1408
1408
  *
1409
- * @version 1.71.63
1409
+ * @version 1.71.64
1410
1410
  * @enum {string}
1411
1411
  * @public
1412
1412
  * @since 1.61.0
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/core/message/MessageProcessor', "sap/ui/thirdparty/jquery
29
29
  * @extends sap.ui.core.message.MessageProcessor
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.71.63
32
+ * @version 1.71.64
33
33
  *
34
34
  * @public
35
35
  * @alias sap.ui.core.message.ControlMessageProcessor
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.base.Object
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.71.63
30
+ * @version 1.71.64
31
31
  *
32
32
  * @param {object} [mParameters] a map which contains the following parameter properties:
33
33
  * @param {string} [mParameters.id] The message id: will be generated if no id is set
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.base.EventProvider
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.71.63
49
+ * @version 1.71.64
50
50
  *
51
51
  * @public
52
52
  * @alias sap.ui.core.message.MessageManager
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/Log"],
24
24
  * @extends sap.ui.base.Object
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.71.63
27
+ * @version 1.71.64
28
28
  * @public
29
29
  * @abstract
30
30
  * @alias sap.ui.core.message.MessageParser
@@ -27,7 +27,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/util/uid"],
27
27
  * @extends sap.ui.base.EventProvider
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.71.63
30
+ * @version 1.71.64
31
31
  *
32
32
  * @public
33
33
  * @alias sap.ui.core.message.MessageProcessor
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @extends sap.ui.core.mvc.View
44
44
  *
45
45
  * @author SAP SE
46
- * @version 1.71.63
46
+ * @version 1.71.64
47
47
  *
48
48
  * @public
49
49
  * @since 1.9.2
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @class
45
45
  * A View defined using JSON.
46
46
  * @extends sap.ui.core.mvc.View
47
- * @version 1.71.63
47
+ * @version 1.71.64
48
48
  *
49
49
  * @public
50
50
  * @alias sap.ui.core.mvc.JSONView
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @class
28
28
  * A View defined/constructed by JavaScript code.
29
29
  * @extends sap.ui.core.mvc.View
30
- * @version 1.71.63
30
+ * @version 1.71.64
31
31
  *
32
32
  * @public
33
33
  * @alias sap.ui.core.mvc.JSView
@@ -29,7 +29,7 @@ function(library, View, TemplateViewRenderer, Log) {
29
29
  * @extends sap.ui.core.mvc.View
30
30
  *
31
31
  * @author SAP SE
32
- * @version 1.71.63
32
+ * @version 1.71.64
33
33
  *
34
34
  * @public
35
35
  * @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * Also see {@link topic:91f28be26f4d1014b6dd926db0e91070 "Support for Unique IDs"} in the documentation.
57
57
  *
58
58
  * @extends sap.ui.core.Control
59
- * @version 1.71.63
59
+ * @version 1.71.64
60
60
  *
61
61
  * @public
62
62
  * @alias sap.ui.core.mvc.View
@@ -69,7 +69,7 @@ sap.ui.define([
69
69
  * control's dependents aggregation or add it by using {@link sap.ui.core.mvc.XMLView#addDependent}.
70
70
  *
71
71
  * @extends sap.ui.core.mvc.View
72
- * @version 1.71.63
72
+ * @version 1.71.64
73
73
  *
74
74
  * @public
75
75
  * @alias sap.ui.core.mvc.XMLView
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/core/DeclarativeSupport', "sap/base/L
19
19
  * @see sap.ui.core.DeclarativeSupport
20
20
  * @public
21
21
  * @since 1.7.0
22
- * @version 1.71.63
22
+ * @version 1.71.64
23
23
  * @alias sap.ui.core.plugin.DeclarativeSupport
24
24
  */
25
25
  var DeclarativeSupport = function() {
@@ -37,7 +37,7 @@
37
37
  * feature - DO NOT USE IN PRODUCTIVE SCENARIOS!!
38
38
  *
39
39
  * @author Peter Muessig
40
- * @version 1.71.63
40
+ * @version 1.71.64
41
41
  * @private
42
42
  * @alias sap.ui.core.plugin.LessSupport
43
43
  */
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/core/tmpl/Template', "sap/base/Log"],
18
18
  * @author Peter Muessig
19
19
  * @public
20
20
  * @since 1.15.0
21
- * @version 1.71.63
21
+ * @version 1.71.64
22
22
  * @alias sap.ui.core.plugin.TemplatingSupport
23
23
  */
24
24
  var TemplatingSupport = function() {
@@ -38,7 +38,7 @@ function (
38
38
  * @alias sap.ui.core.postmessage.Bus
39
39
  * @author SAP SE
40
40
  * @since 1.56.0
41
- * @version 1.71.63
41
+ * @version 1.71.64
42
42
  * @private
43
43
  * @ui5-restricted sap.ui.core.support, sap.ui.support, sap.ui.rta
44
44
  */