@openui5/sap.ui.core 1.140.0 → 1.141.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.
- package/THIRDPARTY.txt +2 -2
- 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/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/Formatting.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +9 -9
- package/src/sap/base/i18n/Localization.js +2 -2
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/security/encodeURL.js +1 -1
- package/src/sap/base/util/resolveReference.js +3 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.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/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.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/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.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/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.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/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +3 -3
- package/src/sap/ui/base/BindingParser.js +21 -4
- package/src/sap/ui/base/DataType.js +1 -1
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/ExpressionParser.js +5 -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 +3 -3
- 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/base/SyncPromise.js +3 -2
- package/src/sap/ui/core/.library +2 -2
- 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 +2 -2
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +3 -3
- package/src/sap/ui/core/Configuration.js +4 -4
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +2 -2
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +3 -3
- 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/InvisibleMessage.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/Lib.js +41 -38
- 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 +7 -7
- package/src/sap/ui/core/LocaleData.js +7 -4
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- 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/Theming.js +22 -18
- 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 +1 -1
- package/src/sap/ui/core/UIComponent.js +16 -7
- 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/_IconRegistry.js +19 -39
- package/src/sap/ui/core/date/UI5Date.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/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +1 -1
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.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/messagebundle_pt.properties +2 -2
- 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 +2 -2
- 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/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/routing/History.js +14 -5
- 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/ViewInfo.css +12 -12
- 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/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/support/techinfo/TechnicalInfo.js +1 -3
- package/src/sap/ui/core/support/trace/E2eTraceLib.js +13 -7
- package/src/sap/ui/core/themes/base/BrowserScrollbar.less +0 -28
- package/src/sap/ui/core/themes/base/ScrollBar.less +4 -0
- package/src/sap/ui/core/themes/base/base.less +66 -17
- package/src/sap/ui/core/themes/base/global.less +5 -0
- package/src/sap/ui/core/themes/base/skeleton.less +7 -3
- package/src/sap/ui/core/themes/sap_hcb/LocalBusyIndicator.less +4 -0
- package/src/sap/ui/core/themes/sap_hcb/base_LocalBusyIndicator.less +4 -0
- package/src/sap/ui/core/themes/sap_hcb/base_ScrollBar.less +4 -0
- package/src/sap/ui/core/theming/Parameters.js +24 -11
- package/src/sap/ui/core/theming/ThemeManager.js +4 -3
- 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/DraftEnabledMockServer.js +47 -43
- 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/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.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/events/F6Navigation.js +11 -3
- 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/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.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/ODataTreeBindingFlat.js +25 -73
- 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/DateTimeWithTimezone.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/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +23 -9
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +3 -11
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +11 -7
- package/src/sap/ui/model/odata/v4/Context.js +27 -27
- package/src/sap/ui/model/odata/v4/ODataBinding.js +44 -28
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +16 -15
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +35 -23
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +47 -34
- package/src/sap/ui/model/odata/v4/ODataModel.js +40 -24
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +19 -15
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +3 -3
- package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +14 -14
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +57 -17
- package/src/sap/ui/model/odata/v4/lib/_Batch.js +10 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +57 -65
- package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +3 -3
- package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +35 -4
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +13 -10
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +2 -2
- 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/performance/XHRInterceptor.js +14 -9
- package/src/sap/ui/performance/trace/FESR.js +4 -11
- package/src/sap/ui/performance/trace/Passport.js +3 -10
- package/src/sap/ui/performance/trace/_InteractionImpl.js +4 -10
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/dataTableUtils.js +2 -2
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +8 -2
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/isCrossOriginURL.js +1 -1
- package/src/ui5loader.js +1 -1
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.model.odata.type.ODataType
|
|
31
31
|
* @public
|
|
32
32
|
* @since 1.37.0
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.141.1
|
|
34
34
|
*/
|
|
35
35
|
var Raw = ODataType.extend("sap.ui.model.odata.type.Raw", {
|
|
36
36
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @extends sap.ui.model.odata.type.ODataType
|
|
61
61
|
* @public
|
|
62
62
|
* @since 1.51.0
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.141.1
|
|
64
64
|
*/
|
|
65
65
|
var Stream = ODataType.extend("sap.ui.model.odata.type.Stream", {
|
|
66
66
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @extends sap.ui.model.odata.type.ODataType
|
|
94
94
|
* @public
|
|
95
95
|
* @since 1.37.0
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.141.1
|
|
97
97
|
*/
|
|
98
98
|
var TimeOfDay = ODataType.extend("sap.ui.model.odata.type.TimeOfDay", {
|
|
99
99
|
constructor : function (oFormatOptions, oConstraints) {
|
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* @extends sap.ui.model.type.Unit
|
|
73
73
|
* @public
|
|
74
74
|
* @since 1.63.0
|
|
75
|
-
* @version 1.
|
|
75
|
+
* @version 1.141.1
|
|
76
76
|
*/
|
|
77
77
|
var Unit = BaseUnit.extend("sap.ui.model.odata.type.Unit", {
|
|
78
78
|
constructor : function (oFormatOptions, oConstraints, aDynamicFormatOptionNames) {
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @hideconstructor
|
|
65
65
|
* @public
|
|
66
66
|
* @since 1.93.0
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.141.1
|
|
68
68
|
*/
|
|
69
69
|
var Context = BaseContext.extend("sap.ui.model.odata.v2.Context", {
|
|
70
70
|
constructor : function (oModel, sPath, sDeepPath, oCreatePromise, bInactive,
|
|
@@ -219,7 +219,7 @@ sap.ui.define([
|
|
|
219
219
|
* This model is not prepared to be inherited from.
|
|
220
220
|
*
|
|
221
221
|
* @author SAP SE
|
|
222
|
-
* @version 1.
|
|
222
|
+
* @version 1.141.1
|
|
223
223
|
*
|
|
224
224
|
* @public
|
|
225
225
|
* @alias sap.ui.model.odata.v2.ODataModel
|
|
@@ -2191,6 +2191,9 @@ sap.ui.define([
|
|
|
2191
2191
|
* @param {string} [mParameters.treeAnnotationProperties.hierarchyNodeDescendantCountFor]
|
|
2192
2192
|
* The property name in the same type holding the descendant count for the node; the type of
|
|
2193
2193
|
* the referenced property has to be an integer type
|
|
2194
|
+
* @param {string} [mParameters.treeAnnotationProperties.hierarchyPreorderRankFor]
|
|
2195
|
+
* The property name in the same type holding the preorder rank for the node; the type of
|
|
2196
|
+
* the referenced property has to be an integer type
|
|
2194
2197
|
* @param {number} [mParameters.numberOfExpandedLevels=0]
|
|
2195
2198
|
* The number of levels that are auto-expanded initially. Setting this property might lead to
|
|
2196
2199
|
* multiple back-end requests. The auto-expand feature is <b>deprecated as of Version 1.44.5
|
|
@@ -2226,14 +2229,25 @@ sap.ui.define([
|
|
|
2226
2229
|
* This feature is not supported if
|
|
2227
2230
|
* {@link sap.ui.model.odata.OperationMode.Server OperationMode.Server} or
|
|
2228
2231
|
* {@link sap.ui.model.odata.OperationMode.Auto OperationMode.Auto} is used.
|
|
2229
|
-
*
|
|
2230
|
-
*
|
|
2231
|
-
*
|
|
2232
|
-
*
|
|
2233
|
-
*
|
|
2234
|
-
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2232
|
+
* @param {boolean} [mParameters.restoreTreeStateAfterChange]
|
|
2233
|
+
* This parameter is experimental as of version 1.141.0.
|
|
2234
|
+
*
|
|
2235
|
+
* Whether the tree state is restored on hierarchy maintenance, such as adding, removing, or deleting a node.
|
|
2236
|
+
* This is only supported if the following conditions are met: <ul>
|
|
2237
|
+
* <li>The binding has to use {@link sap.ui.model.odata.OperationMode.Server OperationMode.Server}</li>
|
|
2238
|
+
* <li>The <code>"hierarchy-node-descendant-count-for"</code> annotation must be present in the service metadata
|
|
2239
|
+
* or provided via <code>treeAnnotationProperties.hierarchyNodeDescendantCountFor</code></li>
|
|
2240
|
+
* <li>The <code>"hierarchy-preorder-rank-for"</code> annotation must be present in the service metadata or
|
|
2241
|
+
* provided via <code>treeAnnotationProperties.hierarchyPreorderRankFor</code></li>
|
|
2242
|
+
* </ul>
|
|
2243
|
+
* @param {sap.ui.model.odata.CountMode} [mParameters.countMode]
|
|
2244
|
+
* Defines the count mode of this binding; if not specified, the default count mode of the
|
|
2245
|
+
* binding's model is applied. The resulting count mode must not be
|
|
2246
|
+
* {@link sap.ui.model.odata.CountMode.None}.
|
|
2247
|
+
* @param {boolean} [mParameters.usePreliminaryContext]
|
|
2248
|
+
* Whether a preliminary context is used; defaults to the value of the parameter
|
|
2249
|
+
* <code>preliminaryContext</code> given on construction of the binding's model, see
|
|
2250
|
+
* {@link sap.ui.model.odata.v2.ODataModel}
|
|
2237
2251
|
* @param {string} [mParameters.batchGroupId]
|
|
2238
2252
|
* <b>Deprecated as of version 1.31.0</b>, use <code>groupId</code> instead. Sets the batch group id to be used
|
|
2239
2253
|
* for requests originating from this binding
|
|
@@ -105,7 +105,7 @@ sap.ui.define([
|
|
|
105
105
|
* @extends sap.ui.model.TreeBinding
|
|
106
106
|
* @hideconstructor
|
|
107
107
|
* @public
|
|
108
|
-
* @version 1.
|
|
108
|
+
* @version 1.141.1
|
|
109
109
|
*/
|
|
110
110
|
var ODataTreeBinding = TreeBinding.extend("sap.ui.model.odata.v2.ODataTreeBinding", /** @lends sap.ui.model.odata.v2.ODataTreeBinding.prototype */ {
|
|
111
111
|
|
|
@@ -2289,7 +2289,6 @@ sap.ui.define([
|
|
|
2289
2289
|
sAdapterModuleName = "sap/ui/model/odata/ODataTreeBindingAdapter",
|
|
2290
2290
|
sMagnitudeAnnotation = "hierarchy-node-descendant-count-for",
|
|
2291
2291
|
sPreorderRankAnnotation = "hierarchy-preorder-rank-for",
|
|
2292
|
-
sSiblingRankAnnotation = "hierarchy-sibling-rank-for",
|
|
2293
2292
|
that = this;
|
|
2294
2293
|
|
|
2295
2294
|
if (!this.bHasTreeAnnotations && !this.oNavigationPaths) {
|
|
@@ -2313,8 +2312,7 @@ sap.ui.define([
|
|
|
2313
2312
|
each(oProperty.extensions, function(iIndex, oExtension) {
|
|
2314
2313
|
sName = oExtension.name;
|
|
2315
2314
|
if (oExtension.namespace === that.oModel.oMetadata.mNamespaces["sap"] &&
|
|
2316
|
-
(sName == sMagnitudeAnnotation || sName ==
|
|
2317
|
-
|| sName == sPreorderRankAnnotation)) {
|
|
2315
|
+
(sName == sMagnitudeAnnotation || sName == sPreorderRankAnnotation)) {
|
|
2318
2316
|
that.oTreeProperties[sName] = oProperty.name;
|
|
2319
2317
|
}
|
|
2320
2318
|
});
|
|
@@ -2331,17 +2329,12 @@ sap.ui.define([
|
|
|
2331
2329
|
if (this.oTreeProperties[sMagnitudeAnnotation]
|
|
2332
2330
|
&& this.sOperationMode == OperationMode.Server) {
|
|
2333
2331
|
// Add Flat-specific tree properties
|
|
2334
|
-
this.oTreeProperties[sSiblingRankAnnotation] =
|
|
2335
|
-
this.oTreeProperties[sSiblingRankAnnotation]
|
|
2336
|
-
|| (this.mParameters.treeAnnotationProperties
|
|
2337
|
-
&& this.mParameters.treeAnnotationProperties.hierarchySiblingRankFor);
|
|
2338
2332
|
this.oTreeProperties[sPreorderRankAnnotation] =
|
|
2339
2333
|
this.oTreeProperties[sPreorderRankAnnotation]
|
|
2340
2334
|
|| (this.mParameters.treeAnnotationProperties
|
|
2341
2335
|
&& this.mParameters.treeAnnotationProperties.hierarchyPreorderRankFor);
|
|
2342
2336
|
if (this.mParameters.restoreTreeStateAfterChange) {
|
|
2343
|
-
if (this.oTreeProperties[
|
|
2344
|
-
&& this.oTreeProperties[sPreorderRankAnnotation]) {
|
|
2337
|
+
if (this.oTreeProperties[sPreorderRankAnnotation]) {
|
|
2345
2338
|
this._bRestoreTreeStateAfterChange = true;
|
|
2346
2339
|
// Collect entity type key properties
|
|
2347
2340
|
this._aTreeKeyProperties = [];
|
|
@@ -2350,7 +2343,6 @@ sap.ui.define([
|
|
|
2350
2343
|
}
|
|
2351
2344
|
} else {
|
|
2352
2345
|
Log.warning("Tree state restoration not possible: Missing annotation "
|
|
2353
|
-
+ "\"hierarchy-sibling-rank-for\" and/or "
|
|
2354
2346
|
+ "\"hierarchy-preorder-rank-for\"");
|
|
2355
2347
|
this._bRestoreTreeStateAfterChange = false;
|
|
2356
2348
|
}
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
rCount = /\/\$count$/,
|
|
15
15
|
rPaths = /\$(?:(?:Annotation)|(?:(?:Navigation)?Property))?Path/,
|
|
16
16
|
rSplitPathSegment = /^(.+?\/(\$(?:Annotation)?Path))(\/?)(.*)$/,
|
|
17
|
-
rUnsupportedPathSegments = /\$(?:Navigation)?
|
|
17
|
+
rUnsupportedPathSegments = /\$(?:(?:Any|Navigation)?Property|ModelElement)Path/,
|
|
18
18
|
/**
|
|
19
19
|
* @classdesc
|
|
20
20
|
* A collection of methods which help to consume <a href=
|
|
@@ -157,7 +157,7 @@ sap.ui.define([
|
|
|
157
157
|
* Since 1.71.0, for annotations on an operation or a parameter, the binding parameter's
|
|
158
158
|
* name is stripped off any dynamic "14.5.12 Expression edm:Path" and
|
|
159
159
|
* "14.5.13 Expression edm:PropertyPath" where it might be used as a first segment.
|
|
160
|
-
* Since 1.76.0 this does not apply to annotations on a parameter.
|
|
160
|
+
* Since 1.76.0, this does not apply to annotations on a parameter.
|
|
161
161
|
* In the former case, we assume that the resulting data binding is
|
|
162
162
|
* relative to the parent context of the operation binding, that is, to the context
|
|
163
163
|
* representing the binding parameter itself.
|
|
@@ -255,9 +255,9 @@ sap.ui.define([
|
|
|
255
255
|
* resolving with that string, for example if not all type information is already
|
|
256
256
|
* available
|
|
257
257
|
* @throws {Error}
|
|
258
|
-
* If <code>oDetails.context.getPath()</code> contains a "$
|
|
259
|
-
* "$NavigationPropertyPath"
|
|
260
|
-
* "$AnnotationPath" or "$Path" segment
|
|
258
|
+
* If <code>oDetails.context.getPath()</code> contains a "$AnyPropertyPath",
|
|
259
|
+
* "$ModelElementPath", "$NavigationPropertyPath", or a "$PropertyPath" segment, or if
|
|
260
|
+
* it contains more than one "$AnnotationPath" or "$Path" segment
|
|
261
261
|
*
|
|
262
262
|
* @public
|
|
263
263
|
* @see sap.ui.model.odata.v4.AnnotationHelper.resolve$Path
|
|
@@ -695,7 +695,7 @@ sap.ui.define([
|
|
|
695
695
|
* Since 1.71.0, for annotations on an operation or a parameter, the binding parameter's
|
|
696
696
|
* name is stripped off any dynamic "14.5.12 Expression edm:Path" and
|
|
697
697
|
* "14.5.13 Expression edm:PropertyPath" where it might be used as a first segment.
|
|
698
|
-
* Since 1.76.0 this does not apply to annotations on a parameter.
|
|
698
|
+
* Since 1.76.0, this does not apply to annotations on a parameter.
|
|
699
699
|
* In the former case, we assume that the resulting data binding is
|
|
700
700
|
* relative to the parent context of the operation binding, that is, to the context
|
|
701
701
|
* representing the binding parameter itself.
|
|
@@ -787,6 +787,10 @@ sap.ui.define([
|
|
|
787
787
|
* "14.5.12 Expression edm:Path" and "14.5.13 Expression edm:PropertyPath" where it
|
|
788
788
|
* might be used as a first segment (since 1.72.0). This does not apply to annotations
|
|
789
789
|
* on a parameter (since 1.76.0).
|
|
790
|
+
* @param {string} [oDetails.prefix=""]
|
|
791
|
+
* Optional prefix to be added to each dynamic "14.5.12 Expression edm:Path" and
|
|
792
|
+
* "14.5.13 Expression edm:PropertyPath"; is either an empty string or a path ending
|
|
793
|
+
* with a "/" (since 1.141.0)
|
|
790
794
|
* @returns {string}
|
|
791
795
|
* A data binding or a fixed text or a sequence thereof
|
|
792
796
|
*
|
|
@@ -818,7 +822,7 @@ sap.ui.define([
|
|
|
818
822
|
model : oDetails.context.getModel(),
|
|
819
823
|
parameters : oDetails.arguments && oDetails.arguments[0],
|
|
820
824
|
path : sPath,
|
|
821
|
-
prefix : "",
|
|
825
|
+
prefix : oDetails.prefix ?? "",
|
|
822
826
|
value : vRawValue,
|
|
823
827
|
$$valueAsPromise : oDetails.$$valueAsPromise
|
|
824
828
|
});
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @hideconstructor
|
|
43
43
|
* @public
|
|
44
44
|
* @since 1.39.0
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.141.1
|
|
46
46
|
*/
|
|
47
47
|
Context = BaseContext.extend("sap.ui.model.odata.v4.Context", {
|
|
48
48
|
constructor : constructor
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @param {number} [iIndex]
|
|
66
66
|
* Index of item (within the collection addressed by <code>sPath</code>) represented
|
|
67
67
|
* by this context; used by list bindings, not context bindings
|
|
68
|
-
* @param {sap.ui.base.SyncPromise} [oCreatePromise]
|
|
68
|
+
* @param {sap.ui.base.SyncPromise<object>} [oCreatePromise]
|
|
69
69
|
* A promise which is resolved with the created entity when the POST request has been
|
|
70
70
|
* successfully sent and the entity has been marked as non-transient; used as base for
|
|
71
71
|
* {@link #created}
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
/**
|
|
145
145
|
* Updates all dependent bindings of this context.
|
|
146
146
|
*
|
|
147
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
147
|
+
* @returns {sap.ui.base.SyncPromise<void>}
|
|
148
148
|
* A promise which is resolved without a defined result when the update is finished
|
|
149
149
|
* @private
|
|
150
150
|
*/
|
|
@@ -233,7 +233,7 @@ sap.ui.define([
|
|
|
233
233
|
* status APIs like {@link #isDeleted}, {@link #isKeepAlive}, {@link #hasPendingChanges},
|
|
234
234
|
* {@link #resetChanges}, or {@link #isSelected} (returns <code>false</code> since 1.114.0).
|
|
235
235
|
*
|
|
236
|
-
* Since 1.105 such a pending deletion is a pending change. It causes
|
|
236
|
+
* Since 1.105, such a pending deletion is a pending change. It causes
|
|
237
237
|
* <code>hasPendingChanges</code> to return <code>true</code> for the context, the binding
|
|
238
238
|
* containing it, and the model. The <code>resetChanges</code> method called on the context, the
|
|
239
239
|
* binding, or the model cancels the deletion and restores the context.
|
|
@@ -261,10 +261,10 @@ sap.ui.define([
|
|
|
261
261
|
* is transient (see {@link #isTransient}), no group ID needs to be specified. Since 1.98.0,
|
|
262
262
|
* you can use <code>null</code> to prevent the DELETE request in case of a kept-alive context
|
|
263
263
|
* that is not in the collection and of which you know that it does not exist on the server
|
|
264
|
-
* anymore (for example, a draft after activation). Since 1.108.0 the usage of a group ID
|
|
265
|
-
* {@link sap.ui.model.odata.v4.SubmitMode.API} is possible. Since 1.121.0, you can use
|
|
266
|
-
* '$single' group ID to send a DELETE request as fast as possible; it will be wrapped in
|
|
267
|
-
* batch request as for a '$auto' group.
|
|
264
|
+
* anymore (for example, a draft after activation). Since 1.108.0, the usage of a group ID
|
|
265
|
+
* with {@link sap.ui.model.odata.v4.SubmitMode.API} is possible. Since 1.121.0, you can use
|
|
266
|
+
* the '$single' group ID to send a DELETE request as fast as possible; it will be wrapped in
|
|
267
|
+
* a batch request as for a '$auto' group.
|
|
268
268
|
* @param {boolean} [bDoNotRequestCount]
|
|
269
269
|
* Whether not to request the new count from the server; useful in case of
|
|
270
270
|
* {@link #replaceWith} where it is known that the count remains unchanged (since 1.97.0).
|
|
@@ -440,7 +440,7 @@ sap.ui.define([
|
|
|
440
440
|
* A function which is called immediately when an entity has been deleted from the cache, or
|
|
441
441
|
* when it was re-inserted; the index of the entity and an offset (-1 for deletion, 1 for
|
|
442
442
|
* re-insertion) are passed as parameter
|
|
443
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
443
|
+
* @returns {sap.ui.base.SyncPromise<void>}
|
|
444
444
|
* A promise which is resolved without a result in case of success, or rejected with an
|
|
445
445
|
* instance of <code>Error</code> in case of failure
|
|
446
446
|
*
|
|
@@ -494,7 +494,7 @@ sap.ui.define([
|
|
|
494
494
|
* fire "patchSent" and "patchCompleted" events
|
|
495
495
|
* @param {boolean} [bUpdating]
|
|
496
496
|
* Whether the given property will not be overwritten by a creation POST(+GET) response
|
|
497
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
497
|
+
* @returns {sap.ui.base.SyncPromise<void>}
|
|
498
498
|
* A promise which is resolved without a result in case of success, or rejected with an
|
|
499
499
|
* instance of <code>Error</code> in case of failure, for example if the annotation belongs to
|
|
500
500
|
* the read-only namespace "@$ui5.*"
|
|
@@ -708,7 +708,7 @@ sap.ui.define([
|
|
|
708
708
|
throw new Error("Already expanded: " + this);
|
|
709
709
|
}
|
|
710
710
|
this.oBinding.collapse(this, /*bAll*/false, /*bSilent*/true);
|
|
711
|
-
//
|
|
711
|
+
// fall through
|
|
712
712
|
case false: {
|
|
713
713
|
const iLevels = bAll ? Number.MAX_SAFE_INTEGER : 1;
|
|
714
714
|
return Promise.resolve(this.oBinding.expand(this, iLevels)).then(() => {});
|
|
@@ -721,7 +721,7 @@ sap.ui.define([
|
|
|
721
721
|
/**
|
|
722
722
|
* Returns a promise for the "canonical path" of the entity for this context.
|
|
723
723
|
*
|
|
724
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
724
|
+
* @returns {sap.ui.base.SyncPromise<string>}
|
|
725
725
|
* A promise which is resolved with the canonical path (e.g. "/SalesOrderList('0500000000')")
|
|
726
726
|
* in case of success, or rejected with an instance of <code>Error</code> in case of failure,
|
|
727
727
|
* e.g. if the given context does not point to an entity
|
|
@@ -741,7 +741,7 @@ sap.ui.define([
|
|
|
741
741
|
* given property path that formats corresponding to the property's EDM type and constraints.
|
|
742
742
|
* @param {boolean} [bCached]
|
|
743
743
|
* Whether to return cached values only and not initiate a request
|
|
744
|
-
* @returns {sap.ui.base.SyncPromise} a promise on the formatted value
|
|
744
|
+
* @returns {sap.ui.base.SyncPromise<any>} a promise on the formatted value
|
|
745
745
|
*
|
|
746
746
|
* @private
|
|
747
747
|
*/
|
|
@@ -778,7 +778,7 @@ sap.ui.define([
|
|
|
778
778
|
* A property binding which registers itself as listener at the cache
|
|
779
779
|
* @param {boolean} [bCached]
|
|
780
780
|
* Whether to return cached values only and not initiate a request
|
|
781
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
781
|
+
* @returns {sap.ui.base.SyncPromise<any>}
|
|
782
782
|
* A promise on the outcome of the binding's <code>fetchValue</code> call; it is rejected
|
|
783
783
|
* in case cached values are asked for, but not found
|
|
784
784
|
* @throws {Error} If this context is a header context and no or empty path is given and
|
|
@@ -1491,8 +1491,8 @@ sap.ui.define([
|
|
|
1491
1491
|
*
|
|
1492
1492
|
* @param {object} oParameters - A parameter object
|
|
1493
1493
|
* @param {boolean} [oParameters.copy]
|
|
1494
|
-
* Whether the node should be copied instead of moved
|
|
1495
|
-
*
|
|
1494
|
+
* Whether the node should be copied instead of moved. The returned promise resolves with the
|
|
1495
|
+
* index for the copied node. Supported since 1.141.0.
|
|
1496
1496
|
* @param {sap.ui.model.odata.v4.Context|null} [oParameters.nextSibling]
|
|
1497
1497
|
* The next sibling's context, or <code>null</code> to turn this node into the last sibling.
|
|
1498
1498
|
* Omitting the sibling moves this node to a position determined by the server.
|
|
@@ -1560,7 +1560,7 @@ sap.ui.define([
|
|
|
1560
1560
|
*
|
|
1561
1561
|
* @param {object} oData
|
|
1562
1562
|
* The data to patch with
|
|
1563
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
1563
|
+
* @returns {sap.ui.base.SyncPromise<void>}
|
|
1564
1564
|
* A promise that is resolved without a result when the patch is done.
|
|
1565
1565
|
*
|
|
1566
1566
|
* @private
|
|
@@ -1617,7 +1617,7 @@ sap.ui.define([
|
|
|
1617
1617
|
* If <code>true</code>, a property binding is expected to check for updates
|
|
1618
1618
|
* @param {boolean} [bKeepCacheOnError]
|
|
1619
1619
|
* If <code>true</code>, the binding data remains unchanged if the refresh fails
|
|
1620
|
-
* @returns {sap.ui.base.SyncPromise}
|
|
1620
|
+
* @returns {sap.ui.base.SyncPromise<void>}
|
|
1621
1621
|
* A promise resolving when all dependent bindings are refreshed; it is rejected
|
|
1622
1622
|
* when the refresh fails; the promise is resolved immediately on a suspended binding
|
|
1623
1623
|
* @throws {Error}
|
|
@@ -1770,7 +1770,7 @@ sap.ui.define([
|
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Returns a promise on the property value for the given path relative to this context. The path
|
|
1772
1772
|
* is expected to point to a structural property with primitive type.
|
|
1773
|
-
* Since 1.81.1 it is possible to request more than one property. Property values that are not
|
|
1773
|
+
* Since 1.81.1, it is possible to request more than one property. Property values that are not
|
|
1774
1774
|
* cached yet are requested from the back end.
|
|
1775
1775
|
*
|
|
1776
1776
|
* @param {string|string[]} [vPath]
|
|
@@ -1939,7 +1939,7 @@ sap.ui.define([
|
|
|
1939
1939
|
* <code>[{$PropertyPath : "*"}, {$NavigationPropertyPath : "EMPLOYEE_2_MANAGER"}]</code> or
|
|
1940
1940
|
* <code>[{$PropertyPath : "EMPLOYEE_2_MANAGER/*"}]</code>.
|
|
1941
1941
|
*
|
|
1942
|
-
* Since 1.82.0 absolute paths are supported. Absolute paths must start with the entity
|
|
1942
|
+
* Since 1.82.0, absolute paths are supported. Absolute paths must start with the entity
|
|
1943
1943
|
* container (example "/com.sap.gateway.default.iwbep.tea_busi.v0001.Container/TEAMS") of the
|
|
1944
1944
|
* service. All (navigation) properties in the complete model matching such an absolute path
|
|
1945
1945
|
* are updated. Since 1.85.0, "14.4.11 Expression edm:String" is accepted as well.
|
|
@@ -2107,7 +2107,7 @@ sap.ui.define([
|
|
|
2107
2107
|
* The absolute paths to request side effects for
|
|
2108
2108
|
* @param {string} sGroupId
|
|
2109
2109
|
* The effective group ID
|
|
2110
|
-
* @returns {sap.ui.base.SyncPromise
|
|
2110
|
+
* @returns {sap.ui.base.SyncPromise<void>|undefined}
|
|
2111
2111
|
* A promise which is resolved without a defined result, or rejected with an error if loading
|
|
2112
2112
|
* of side effects fails, or <code>undefined</code> if there is nothing to do
|
|
2113
2113
|
*
|
|
@@ -2249,7 +2249,7 @@ sap.ui.define([
|
|
|
2249
2249
|
*
|
|
2250
2250
|
* Note: this is a private and internal API. Do not call this!
|
|
2251
2251
|
*
|
|
2252
|
-
* @param {sap.ui.base.SyncPromise} [oSyncCreatePromise]
|
|
2252
|
+
* @param {sap.ui.base.SyncPromise<object>} [oSyncCreatePromise]
|
|
2253
2253
|
* A promise which is resolved with the created entity when the PATCH or POST request has been
|
|
2254
2254
|
* successfully sent and the entity has been marked as non-transient; used as base for
|
|
2255
2255
|
* {@link #created}. If missing, this context's {@link #created created} promise is removed
|
|
@@ -2425,7 +2425,7 @@ sap.ui.define([
|
|
|
2425
2425
|
/**
|
|
2426
2426
|
* Sets a new value for the property identified by the given path. The path is relative to this
|
|
2427
2427
|
* context and is expected to point to a structural property with primitive type or, since
|
|
2428
|
-
* 1.85.0, to an instance annotation. Since 1.122.0 the client-side annotation
|
|
2428
|
+
* 1.85.0, to an instance annotation. Since 1.122.0, the client-side annotation
|
|
2429
2429
|
* "@$ui5.context.isSelected" can be given as a path. Note: Writing to a client-side
|
|
2430
2430
|
* annotation never initiates a PATCH request, even if <code>sGroupId</code> is given.
|
|
2431
2431
|
* Thus, reverting the value of this annotation cannot be done via {@link #resetChanges}.
|
|
@@ -2649,9 +2649,9 @@ sap.ui.define([
|
|
|
2649
2649
|
* @param {boolean} [bSync] Whether to use the synchronously available cache
|
|
2650
2650
|
* @param {boolean} [bWithOrWithoutCache] Whether to call the processor even without a cache
|
|
2651
2651
|
* (currently implemented for operation bindings only)
|
|
2652
|
-
* @returns {sap.ui.base.SyncPromise} A sync promise that is resolved with either the
|
|
2653
|
-
* the processor or <code>undefined</code> if there is no cache for this binding, or
|
|
2654
|
-
* cache determination is not yet completed
|
|
2652
|
+
* @returns {sap.ui.base.SyncPromise<any>} A sync promise that is resolved with either the
|
|
2653
|
+
* result of the processor or <code>undefined</code> if there is no cache for this binding, or
|
|
2654
|
+
* if the cache determination is not yet completed
|
|
2655
2655
|
*
|
|
2656
2656
|
* @private
|
|
2657
2657
|
*/
|
|
@@ -2676,7 +2676,7 @@ sap.ui.define([
|
|
|
2676
2676
|
* An absolute path without trailing slash
|
|
2677
2677
|
* @param {number} [iIndex]
|
|
2678
2678
|
* Index of item represented by this context, used by list bindings, not context bindings
|
|
2679
|
-
* @param {sap.ui.base.SyncPromise} [oCreatePromise]
|
|
2679
|
+
* @param {sap.ui.base.SyncPromise<object>} [oCreatePromise]
|
|
2680
2680
|
* A promise which is resolved with the created entity when the POST request has been
|
|
2681
2681
|
* successfully sent and the entity has been marked as non-transient; used as base for
|
|
2682
2682
|
* {@link #created}
|