@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.
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +1 -1
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/CustomizingConfiguration.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +1 -1
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +74 -48
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +22 -1
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/MessageTest.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/control/ControlModel.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
package/src/sap/ui/core/Popup.js
CHANGED
|
@@ -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
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
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
|
|
2038
|
+
* @return {boolean} bModal whether the Popup is of modal type
|
|
2013
2039
|
* @public
|
|
2014
2040
|
*/
|
|
2015
2041
|
Popup.prototype.getModal = function() {
|
|
@@ -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.
|
|
47
|
+
* @version 1.71.64
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @deprecated as of version 1.56
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
25
|
+
* @version 1.71.64
|
|
26
26
|
* @since 1.15.1
|
|
27
27
|
* @alias sap.ui.core.UIComponentMetadata
|
|
28
28
|
*/
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 */ {
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -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.
|
|
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
|
|
@@ -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.
|
|
22
|
+
* @version 1.71.64
|
|
23
23
|
* @alias sap.ui.core.plugin.DeclarativeSupport
|
|
24
24
|
*/
|
|
25
25
|
var DeclarativeSupport = function() {
|
|
@@ -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.
|
|
21
|
+
* @version 1.71.64
|
|
22
22
|
* @alias sap.ui.core.plugin.TemplatingSupport
|
|
23
23
|
*/
|
|
24
24
|
var TemplatingSupport = function() {
|