@openui5/sap.ui.core 1.116.0 → 1.117.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/.eslintrc.json +1 -22
- 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 +4 -4
- package/src/sap/base/Eventing.js +5 -6
- package/src/sap/base/config/MemoryConfigurationProvider.js +10 -1
- package/src/sap/base/config.js +3 -2
- package/src/sap/base/i18n/Formatting.js +30 -32
- package/src/sap/base/i18n/LanguageTag.js +2 -2
- package/src/sap/base/i18n/Localization.js +19 -20
- package/src/sap/base/i18n/date/CalendarType.js +1 -1
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/JSTokenizer.js +1 -1
- package/src/sap/base/util/fetch.js +4 -4
- package/src/sap/base/util/mixedFetch.js +2 -2
- 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/base/util/syncFetch.js +2 -2
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +6 -4
- 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 +2 -4
- package/src/sap/ui/base/ManagedObjectMetadata.js +4 -6
- 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 +2 -2
- package/src/sap/ui/core/AnimationMode.js +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/ConfigTest.js +17 -0
- package/src/sap/ui/core/Configuration.js +2 -14
- package/src/sap/ui/core/Control.js +4 -1
- package/src/sap/ui/core/ControlBehavior.js +2 -2
- package/src/sap/ui/core/Core.js +3 -1
- 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 +1 -1
- package/src/sap/ui/core/ElementMetadata.js +2 -4
- 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/IconPool.js +1 -2
- 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 +17 -16
- 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 +5 -2
- package/src/sap/ui/core/LocaleData.js +12 -4
- package/src/sap/ui/core/Manifest.js +5 -5
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +37 -50
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.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/Shortcut.js +11 -9
- package/src/sap/ui/core/StaticArea.js +1 -1
- package/src/sap/ui/core/Theming.js +16 -9
- 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 +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/XMLTemplateProcessor.js +27 -5
- package/src/sap/ui/core/_IconRegistry.js +82 -11
- package/src/sap/ui/core/boot/_bootConfig.js +137 -0
- package/src/sap/ui/core/boot/_runBoot.js +16 -0
- package/src/sap/ui/core/boot/initDOM.js +96 -0
- package/src/sap/ui/core/boot/loadCalendar.js +50 -0
- package/src/sap/ui/core/boot/loadManifest.js +55 -0
- package/src/sap/ui/core/boot/loadModules.js +80 -0
- package/src/sap/ui/core/boot/manifest.json +11 -0
- package/src/sap/ui/core/boot/onInit.js +44 -0
- package/src/sap/ui/core/boot.js +107 -0
- package/src/sap/ui/core/date/UI5Date.js +9 -3
- 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/DateFormat.js +13 -12
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +32 -6
- 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/MessageMixin.js +6 -5
- 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_ar.properties +57 -55
- package/src/sap/ui/core/messagebundle_bg.properties +57 -55
- package/src/sap/ui/core/messagebundle_ca.properties +30 -28
- package/src/sap/ui/core/messagebundle_cs.properties +43 -41
- package/src/sap/ui/core/messagebundle_cy.properties +58 -56
- package/src/sap/ui/core/messagebundle_da.properties +56 -54
- package/src/sap/ui/core/messagebundle_de.properties +58 -56
- package/src/sap/ui/core/messagebundle_el.properties +47 -45
- package/src/sap/ui/core/messagebundle_en.properties +58 -56
- package/src/sap/ui/core/messagebundle_en_GB.properties +58 -56
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +3 -0
- package/src/sap/ui/core/messagebundle_es.properties +47 -45
- package/src/sap/ui/core/messagebundle_es_MX.properties +57 -55
- package/src/sap/ui/core/messagebundle_et.properties +54 -52
- package/src/sap/ui/core/messagebundle_fi.properties +51 -49
- package/src/sap/ui/core/messagebundle_fr.properties +36 -34
- package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -19
- package/src/sap/ui/core/messagebundle_hi.properties +42 -40
- package/src/sap/ui/core/messagebundle_hr.properties +57 -55
- package/src/sap/ui/core/messagebundle_hu.properties +58 -56
- package/src/sap/ui/core/messagebundle_id.properties +58 -56
- package/src/sap/ui/core/messagebundle_it.properties +59 -57
- package/src/sap/ui/core/messagebundle_iw.properties +58 -56
- package/src/sap/ui/core/messagebundle_ja.properties +50 -48
- package/src/sap/ui/core/messagebundle_kk.properties +43 -41
- package/src/sap/ui/core/messagebundle_ko.properties +19 -17
- package/src/sap/ui/core/messagebundle_lt.properties +58 -56
- package/src/sap/ui/core/messagebundle_lv.properties +58 -56
- package/src/sap/ui/core/messagebundle_ms.properties +58 -56
- package/src/sap/ui/core/messagebundle_nl.properties +57 -55
- package/src/sap/ui/core/messagebundle_no.properties +55 -53
- package/src/sap/ui/core/messagebundle_pl.properties +55 -53
- package/src/sap/ui/core/messagebundle_pt.properties +57 -55
- package/src/sap/ui/core/messagebundle_pt_PT.properties +57 -55
- package/src/sap/ui/core/messagebundle_ro.properties +58 -56
- package/src/sap/ui/core/messagebundle_ru.properties +57 -55
- package/src/sap/ui/core/messagebundle_sh.properties +58 -56
- package/src/sap/ui/core/messagebundle_sk.properties +57 -55
- package/src/sap/ui/core/messagebundle_sl.properties +58 -56
- package/src/sap/ui/core/messagebundle_sv.properties +54 -52
- package/src/sap/ui/core/messagebundle_th.properties +17 -15
- package/src/sap/ui/core/messagebundle_tr.properties +58 -56
- package/src/sap/ui/core/messagebundle_uk.properties +58 -56
- package/src/sap/ui/core/messagebundle_vi.properties +58 -56
- package/src/sap/ui/core/messagebundle_zh_CN.properties +58 -56
- package/src/sap/ui/core/messagebundle_zh_TW.properties +58 -56
- 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 +14 -2
- 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/rules/Misc.support.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 +7 -4
- 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/themes/base/Icon.less +2 -2
- package/src/sap/ui/core/theming/Parameters.js +0 -5
- package/src/sap/ui/core/theming/ThemeManager.js +3 -4
- 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 +4 -5
- 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/analytics/AnalyticalBinding.js +166 -79
- package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +4 -3
- package/src/sap/ui/model/analytics/BatchResponseCollector.js +2 -2
- package/src/sap/ui/model/analytics/ODataModelAdapter.js +14 -27
- package/src/sap/ui/model/analytics/odata4analytics.js +6 -12
- package/src/sap/ui/model/base/ManagedObjectModel.js +2 -1
- package/src/sap/ui/model/json/JSONModel.js +6 -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 +191 -5
- package/src/sap/ui/model/odata/ODataMetadata.js +38 -4
- 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/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 +2 -2
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +4 -4
- package/src/sap/ui/model/odata/v4/Context.js +33 -30
- package/src/sap/ui/model/odata/v4/ODataBinding.js +18 -14
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +12 -12
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +110 -43
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -28
- package/src/sap/ui/model/odata/v4/ODataModel.js +40 -31
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +8 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +14 -14
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +93 -9
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +25 -27
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +58 -195
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +157 -0
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +14 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +27 -15
- 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/test/TestUtils.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +1 -3
- package/src/sap/ui/test/matchers/_Visitor.js +6 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +2 -5
- package/src/sap/ui/thirdparty/qunit-2.js +9 -3
- package/src/sap/ui/util/Mobile.js +10 -6
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap-ui-boot.js +23 -6
- package/src/ui5-boot.js +50 -0
- package/src/ui5loader-autoconfig.js +147 -75
- package/src/ui5loader.js +320 -360
- package/test/sap/ui/core/Device.js +1 -1
- package/test/sap/ui/core/demokit/sample/OpaAction/applicationUnderTest/view/Main.view.xml +1 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v2/AutoExpand/AutoExpand.view.xml +24 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.view.xml +24 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.view.xml +20 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FieldGroups/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.view.xml +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/GridTable/GridTable.view.xml +12 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +26 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/data/metadata.xml +4 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/pages/Main.js +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/Create.js +10 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/manifest.json +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/pages/Main.js +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/qunit/IconPool.qunit.js +53 -4
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +43 -5
- package/test/sap/ui/core/qunit/Theming.qunit.js +19 -1
- package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +510 -185
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +80 -10
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +20 -29
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +18 -1
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +15 -13
- package/test/sap/ui/core/qunit/base/i18n/Localization.qunit.js +35 -12
- package/test/sap/ui/core/qunit/bootstrap/Configuration.main.qunit.js +11 -0
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.html +4 -3
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +71 -35
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Models.qunit.js +5 -2
- package/test/sap/ui/core/qunit/generic/EnforceSemanticRendering.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +48 -13
- package/test/sap/ui/core/qunit/i18n/UI5Date.qunit.js +16 -4
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +73 -103
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +34 -39
- package/test/sap/ui/core/qunit/internal/BeforePush.ODataV4.js +28 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.html +1 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.js +15 -0
- package/test/sap/ui/core/qunit/internal/performance/ExpressionParser.performance.qunit.js +1 -0
- package/test/sap/ui/core/qunit/loader/asyncMode.qunit.js +2 -2
- package/test/sap/ui/core/qunit/loader/asyncMode_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/loader/testsuite.loader.qunit.js +0 -3
- package/test/sap/ui/core/qunit/model/FAR_CUSTOMER_LINE_ITEMS.metadata.xml +2 -0
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +51 -0
- package/test/sap/ui/core/qunit/mvc/testdata/Async.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testdata/AsyncTypedView.js +5 -1
- package/test/sap/ui/core/qunit/odata/ODataMetadataNoFakeService.qunit.js +68 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +232 -37
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +10 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +33 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +5 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +186 -65
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +17 -66
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +528 -60
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +48 -8
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +0 -3
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +2 -1
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +4 -0
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +2 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +148 -1
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +24 -11
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +196 -404
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +201 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +7 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +21 -4
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +4 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +129 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +5 -1
- package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +1 -1
- package/test/sap/ui/core/qunit/testdata/xml-require/helper/Formatter.js +7 -4
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_in_html.view.xml +36 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +2 -2
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +1222 -1201
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +7 -11
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +3 -1
- package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +3 -0
- package/test/sap/ui/core/qunit/util/reflection/BaseTreeModifier.qunit.js +1 -1
- package/test/sap/ui/core/relnotes/changes-1.116.json +1 -12
- package/test/sap/ui/core/relnotes/changes-1.117.json +127 -0
- package/test/sap/ui/core/visual/images/HyphenationPlayground/windows/1600x1200/chrome/horizon/ltr/cozy/19_thirdParty_language_sl.ref.lnk +1 -1
- package/ui5.yaml +165 -0
- package/src/sap/ui/core/util/MockServerAnnotationsHandler.js +0 -45
- /package/test/sap/ui/core/qunit/bootstrap/{GlobalConfigurationSettings.js → Configuration.beforeBootstrap.qunit.js} +0 -0
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @extends sap.ui.model.TreeBinding
|
|
94
94
|
* @hideconstructor
|
|
95
95
|
* @public
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.117.1
|
|
97
97
|
*/
|
|
98
98
|
var ODataTreeBinding = TreeBinding.extend("sap.ui.model.odata.v2.ODataTreeBinding", /** @lends sap.ui.model.odata.v2.ODataTreeBinding.prototype */ {
|
|
99
99
|
|
|
@@ -248,7 +248,7 @@ sap.ui.define([
|
|
|
248
248
|
* "14.5.12 Expression edm:Path" and "14.5.13 Expression edm:PropertyPath" where it
|
|
249
249
|
* might be used as a first segment (since 1.71.0). This does not apply to annotations
|
|
250
250
|
* on a parameter (since 1.76.0).
|
|
251
|
-
* @returns {string|Promise}
|
|
251
|
+
* @returns {string|Promise<string>}
|
|
252
252
|
* A data binding, or a fixed text, or a sequence thereof, or a <code>Promise</code>
|
|
253
253
|
* resolving with that string, for example if not all type information is already
|
|
254
254
|
* available
|
|
@@ -434,7 +434,7 @@ sap.ui.define([
|
|
|
434
434
|
* @param {string} oDetails.schemaChildName
|
|
435
435
|
* The qualified name of the schema child where the computed annotation has been
|
|
436
436
|
* found, for example "name.space.EntityType"
|
|
437
|
-
* @returns {sap.ui.model.odata.v4.ValueListType|Promise}
|
|
437
|
+
* @returns {sap.ui.model.odata.v4.ValueListType|Promise<sap.ui.model.odata.v4.ValueListType>}
|
|
438
438
|
* The type of the value list or a <code>Promise</code> resolving with the type of the
|
|
439
439
|
* value list or rejected, if the property cannot be found in the metadata
|
|
440
440
|
* @throws {Error}
|
|
@@ -488,7 +488,7 @@ sap.ui.define([
|
|
|
488
488
|
* @param {string} oDetails.schemaChildName
|
|
489
489
|
* The qualified name of the schema child where the computed annotation has been
|
|
490
490
|
* found, for example "name.space.EntityType"
|
|
491
|
-
* @returns {boolean|Promise}
|
|
491
|
+
* @returns {boolean|Promise<boolean>}
|
|
492
492
|
* <code>true</code> if the given path ends with "$count" or with a multi-valued
|
|
493
493
|
* structural or navigation property, <code>false</code> otherwise. If
|
|
494
494
|
* <code>oDetails.$$valueAsPromise</code> is <code>true</code> a <code>Promise</code>
|
|
@@ -548,7 +548,7 @@ sap.ui.define([
|
|
|
548
548
|
* @param {sap.ui.model.Context} oDetails.context
|
|
549
549
|
* Points to the given raw value, that is
|
|
550
550
|
* <code>oDetails.context.getProperty("") === vRawValue</code>
|
|
551
|
-
* @returns {string|Promise|undefined}
|
|
551
|
+
* @returns {string|Promise<string|undefined>|undefined}
|
|
552
552
|
* A data binding or a fixed text or a sequence thereof or <code>undefined</code>. If
|
|
553
553
|
* <code>oDetails.$$valueAsPromise</code> is <code>true</code> a <code>Promise</code>
|
|
554
554
|
* may be returned resolving with the value for the label.
|
|
@@ -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.117.1
|
|
46
46
|
*/
|
|
47
47
|
Context = BaseContext.extend("sap.ui.model.odata.v4.Context", {
|
|
48
48
|
constructor : constructor
|
|
@@ -133,16 +133,18 @@ sap.ui.define([
|
|
|
133
133
|
* @private
|
|
134
134
|
*/
|
|
135
135
|
Context.prototype.checkUpdate = function () {
|
|
136
|
-
this.oModel
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
if (this.oModel) { // might have already been destroyed
|
|
137
|
+
this.oModel.getDependentBindings(this).forEach(function (oDependentBinding) {
|
|
138
|
+
oDependentBinding.checkUpdate();
|
|
139
|
+
});
|
|
140
|
+
}
|
|
139
141
|
};
|
|
140
142
|
|
|
141
143
|
/**
|
|
142
144
|
* Updates all dependent bindings of this context.
|
|
143
145
|
*
|
|
144
146
|
* @returns {sap.ui.base.SyncPromise}
|
|
145
|
-
* A promise
|
|
147
|
+
* A promise which is resolved without a defined result when the update is finished
|
|
146
148
|
* @private
|
|
147
149
|
*/
|
|
148
150
|
Context.prototype.checkUpdateInternal = function () {
|
|
@@ -196,10 +198,11 @@ sap.ui.define([
|
|
|
196
198
|
* details.
|
|
197
199
|
*
|
|
198
200
|
* @returns {Promise<void>|undefined}
|
|
199
|
-
* A promise
|
|
200
|
-
* been created in the back end. It is rejected with an <code>Error</code>
|
|
201
|
-
* <code>oError.canceled === true</code> if the transient entity is deleted
|
|
202
|
-
* created in the back end, for example via
|
|
201
|
+
* A promise which is resolved without a defined result when the entity represented by this
|
|
202
|
+
* context has been created in the back end. It is rejected with an <code>Error</code>
|
|
203
|
+
* instance where <code>oError.canceled === true</code> if the transient entity is deleted
|
|
204
|
+
* before it is created in the back end, for example via
|
|
205
|
+
* {@link sap.ui.model.odata.v4.Context#delete},
|
|
203
206
|
* {@link sap.ui.model.odata.v4.ODataListBinding#resetChanges} or
|
|
204
207
|
* {@link sap.ui.model.odata.v4.ODataModel#resetChanges}, and for all nested contexts within a
|
|
205
208
|
* deep create. It is rejected with an <code>Error</code> instance without
|
|
@@ -251,9 +254,9 @@ sap.ui.define([
|
|
|
251
254
|
* Whether not to request the new count from the server; useful in case of
|
|
252
255
|
* {@link #replaceWith} where it is known that the count remains unchanged (since 1.97.0).
|
|
253
256
|
* Since 1.98.0, this is implied if a <code>null</code> group ID is used.
|
|
254
|
-
* @returns {Promise}
|
|
255
|
-
* A promise which is resolved without a result in case of success, or rejected with
|
|
256
|
-
* instance of <code>Error</code> in case of failure, for example if:
|
|
257
|
+
* @returns {Promise<void>}
|
|
258
|
+
* A promise which is resolved without a defined result in case of success, or rejected with
|
|
259
|
+
* an instance of <code>Error</code> in case of failure, for example if:
|
|
257
260
|
* <ul>
|
|
258
261
|
* <li> the given context does not point to an entity,
|
|
259
262
|
* <li> the deletion on the server fails,
|
|
@@ -1260,7 +1263,7 @@ sap.ui.define([
|
|
|
1260
1263
|
* Note: For a transient context (see {@link #isTransient}) a wrong path is returned unless all
|
|
1261
1264
|
* key properties are available within the initial data.
|
|
1262
1265
|
*
|
|
1263
|
-
* @returns {Promise}
|
|
1266
|
+
* @returns {Promise<string>}
|
|
1264
1267
|
* A promise which is resolved with the canonical path (e.g. "/SalesOrderList('0500000000')")
|
|
1265
1268
|
* in case of success, or rejected with an instance of <code>Error</code> in case of failure,
|
|
1266
1269
|
* e.g. if the given context does not point to an entity
|
|
@@ -1287,7 +1290,7 @@ sap.ui.define([
|
|
|
1287
1290
|
*
|
|
1288
1291
|
* @param {string} [sPath=""]
|
|
1289
1292
|
* A path relative to this context
|
|
1290
|
-
* @returns {Promise}
|
|
1293
|
+
* @returns {Promise<any>}
|
|
1291
1294
|
* A promise on the requested value
|
|
1292
1295
|
* @throws {Error}
|
|
1293
1296
|
* If the context's root binding is suspended, or if the context is a header context and the
|
|
@@ -1316,7 +1319,7 @@ sap.ui.define([
|
|
|
1316
1319
|
* @param {boolean} [bExternalFormat]
|
|
1317
1320
|
* If <code>true</code>, the values are returned in external format using UI5 types for the
|
|
1318
1321
|
* given property paths that format corresponding to the properties' EDM types and constraints
|
|
1319
|
-
* @returns {Promise}
|
|
1322
|
+
* @returns {Promise<any>}
|
|
1320
1323
|
* A promise on the requested value or values; it is rejected if a value is not primitive or
|
|
1321
1324
|
* if the context is a header context and a path is not "$count"
|
|
1322
1325
|
* @throws {Error}
|
|
@@ -1355,9 +1358,9 @@ sap.ui.define([
|
|
|
1355
1358
|
* The group ID to be used
|
|
1356
1359
|
* @param {boolean} [bAllowRemoval]
|
|
1357
1360
|
* Allows to remove the context
|
|
1358
|
-
* @returns {Promise}
|
|
1359
|
-
* A promise which
|
|
1360
|
-
* with an
|
|
1361
|
+
* @returns {Promise<void>}
|
|
1362
|
+
* A promise which is resolved without a defined result when the refresh is finished, or
|
|
1363
|
+
* rejected with an error if the refresh failed
|
|
1361
1364
|
* @throws {Error}
|
|
1362
1365
|
* See {@link #refresh} for details
|
|
1363
1366
|
*
|
|
@@ -1465,11 +1468,11 @@ sap.ui.define([
|
|
|
1465
1468
|
* specified, make sure that {@link #requestSideEffects} is called after the corresponding
|
|
1466
1469
|
* updates have been successfully processed by the server and that there are no pending
|
|
1467
1470
|
* changes for the affected properties.
|
|
1468
|
-
* @returns {Promise<
|
|
1469
|
-
*
|
|
1470
|
-
* effects fails. Use it to set fields affected by side effects to read-only
|
|
1471
|
-
* {@link #requestSideEffects} and make them editable again when the promise resolves;
|
|
1472
|
-
* error handler, you can repeat the loading of side effects.
|
|
1471
|
+
* @returns {Promise<void>}
|
|
1472
|
+
* A promise which is resolved without a defined result, or rejected with an error if
|
|
1473
|
+
* loading of side effects fails. Use it to set fields affected by side effects to read-only
|
|
1474
|
+
* before {@link #requestSideEffects} and make them editable again when the promise resolves;
|
|
1475
|
+
* in the error handler, you can repeat the loading of side effects.
|
|
1473
1476
|
* <br>
|
|
1474
1477
|
* The promise is rejected if the call wants to refresh a whole list binding (via header
|
|
1475
1478
|
* context or an absolute path), but the deletion of a row context (see {@link #delete}) is
|
|
@@ -1618,8 +1621,8 @@ sap.ui.define([
|
|
|
1618
1621
|
* @param {string} sGroupId
|
|
1619
1622
|
* The effective group ID
|
|
1620
1623
|
* @returns {sap.ui.base.SyncPromise|undefined}
|
|
1621
|
-
* A promise
|
|
1622
|
-
* effects fails, or <code>undefined</code> if there is nothing to do
|
|
1624
|
+
* A promise which is resolved without a defined result, or rejected with an error if loading
|
|
1625
|
+
* of side effects fails, or <code>undefined</code> if there is nothing to do
|
|
1623
1626
|
*
|
|
1624
1627
|
* @private
|
|
1625
1628
|
*/
|
|
@@ -1690,7 +1693,7 @@ sap.ui.define([
|
|
|
1690
1693
|
* context which is currently {@link #delete deleted} on the client, but not yet on the server,
|
|
1691
1694
|
* this method cancels the deletion and restores the context.
|
|
1692
1695
|
*
|
|
1693
|
-
* @returns {Promise}
|
|
1696
|
+
* @returns {Promise<void>}
|
|
1694
1697
|
* A promise which is resolved without a defined result as soon as all changes in the context
|
|
1695
1698
|
* and its current dependent bindings are canceled
|
|
1696
1699
|
* @throws {Error} If
|
|
@@ -1888,10 +1891,10 @@ sap.ui.define([
|
|
|
1888
1891
|
* Each time the PATCH request is sent to the server, a 'patchSent' event is fired on the
|
|
1889
1892
|
* binding sending the request. When the response for this request is received, a
|
|
1890
1893
|
* 'patchCompleted' with a boolean parameter 'success' is fired.
|
|
1891
|
-
* @returns {Promise}
|
|
1892
|
-
* A promise which is resolved without a result in case of success, or rejected with
|
|
1893
|
-
* instance of <code>Error</code> in case of failure, for example if the annotation belongs
|
|
1894
|
-
* the read-only namespace "@$ui5.*". With <code>bRetry</code> it is only rejected with an
|
|
1894
|
+
* @returns {Promise<void>}
|
|
1895
|
+
* A promise which is resolved without a defined result in case of success, or rejected with
|
|
1896
|
+
* an instance of <code>Error</code> in case of failure, for example if the annotation belongs
|
|
1897
|
+
* to the read-only namespace "@$ui5.*". With <code>bRetry</code> it is only rejected with an
|
|
1895
1898
|
* <code>Error</code> instance where <code>oError.canceled === true</code> when the entity has
|
|
1896
1899
|
* been deleted while the request was pending or the property has been reset via the methods
|
|
1897
1900
|
* <ul>
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @param {boolean} [sPathPrefix]
|
|
90
90
|
* If supplied, only caches having a resource path starting with <code>sPathPrefix</code> are
|
|
91
91
|
* reset
|
|
92
|
-
* @returns {Promise}
|
|
92
|
+
* @returns {Promise<void>}
|
|
93
93
|
* A promise which is resolved without a defined result as soon as all changes in the binding
|
|
94
94
|
* itself and all dependent bindings are canceled
|
|
95
95
|
* @throws {Error}
|
|
@@ -309,8 +309,8 @@ sap.ui.define([
|
|
|
309
309
|
* @param {boolean} [bForceUpdate]
|
|
310
310
|
* Whether the change event is fired in any case (only allowed for property bindings)
|
|
311
311
|
* @returns {sap.ui.base.SyncPromise}
|
|
312
|
-
* A promise
|
|
313
|
-
* case of an error
|
|
312
|
+
* A promise which is resolved without a defined result when the check is finished, or
|
|
313
|
+
* rejected in case of an error
|
|
314
314
|
* @throws {Error} If called with illegal parameters
|
|
315
315
|
*
|
|
316
316
|
* @abstract
|
|
@@ -545,10 +545,13 @@ sap.ui.define([
|
|
|
545
545
|
oError.canceled = true;
|
|
546
546
|
throw oError;
|
|
547
547
|
}
|
|
548
|
+
that.oFetchCacheCallToken = undefined; // cleanup
|
|
548
549
|
return that.createAndSetCache(mQueryOptions, sResourcePath, oContext,
|
|
549
550
|
sGroupId, oCallToken.oOldCache);
|
|
550
551
|
});
|
|
551
552
|
}
|
|
553
|
+
|
|
554
|
+
oCallToken.oOldCache = undefined; // cleanup own token only
|
|
552
555
|
if (oCache) {
|
|
553
556
|
oCache.setActive(false);
|
|
554
557
|
}
|
|
@@ -621,7 +624,7 @@ sap.ui.define([
|
|
|
621
624
|
*/
|
|
622
625
|
function wrapQueryOptions(bDropEmptyObject, sReducedPath) {
|
|
623
626
|
if (vQueryOptions instanceof SyncPromise) {
|
|
624
|
-
if (vQueryOptions.
|
|
627
|
+
if (!vQueryOptions.isFulfilled()) {
|
|
625
628
|
return vQueryOptions.then(function (mQueryOptions) {
|
|
626
629
|
return _wrapQueryOptions(mQueryOptions, bDropEmptyObject, sReducedPath);
|
|
627
630
|
});
|
|
@@ -1255,8 +1258,8 @@ sap.ui.define([
|
|
|
1255
1258
|
* @param {boolean} [bKeepCacheOnError]
|
|
1256
1259
|
* If <code>true</code>, the binding data remains unchanged if the refresh fails
|
|
1257
1260
|
* @returns {sap.ui.base.SyncPromise}
|
|
1258
|
-
* A promise
|
|
1259
|
-
* when the refresh fails; the promise is resolved immediately on a suspended binding
|
|
1261
|
+
* A promise which is resolved without a defined result when the refresh is finished, or
|
|
1262
|
+
* rejected when the refresh fails; the promise is resolved immediately on a suspended binding
|
|
1260
1263
|
* @throws {Error}
|
|
1261
1264
|
* If the binding's root binding is suspended and a group ID different from the binding's
|
|
1262
1265
|
* group ID is given
|
|
@@ -1326,8 +1329,8 @@ sap.ui.define([
|
|
|
1326
1329
|
* @param {string[]} aAbsolutePaths
|
|
1327
1330
|
* The absolute paths to request side effects for
|
|
1328
1331
|
* @returns {sap.ui.base.SyncPromise|undefined}
|
|
1329
|
-
* A promise
|
|
1330
|
-
* effects fails, or <code>undefined</code> if there is nothing to do
|
|
1332
|
+
* A promise which is resolved without a defined result, or rejected with an error if loading
|
|
1333
|
+
* of side effects fails, or <code>undefined</code> if there is nothing to do
|
|
1331
1334
|
*
|
|
1332
1335
|
* @private
|
|
1333
1336
|
*/
|
|
@@ -1361,9 +1364,9 @@ sap.ui.define([
|
|
|
1361
1364
|
*
|
|
1362
1365
|
* @param {string} [sGroupId]
|
|
1363
1366
|
* The group ID to be used
|
|
1364
|
-
* @returns {Promise}
|
|
1365
|
-
* A promise which
|
|
1366
|
-
* with an
|
|
1367
|
+
* @returns {Promise<void>}
|
|
1368
|
+
* A promise which is resolved without a defined result when the refresh is finished, or
|
|
1369
|
+
* rejected with an error if the refresh failed
|
|
1367
1370
|
* @throws {Error}
|
|
1368
1371
|
* See {@link #refresh} for details
|
|
1369
1372
|
*
|
|
@@ -1389,7 +1392,7 @@ sap.ui.define([
|
|
|
1389
1392
|
* Resets all pending changes of this binding, see {@link #hasPendingChanges}. Resets also
|
|
1390
1393
|
* invalid user input.
|
|
1391
1394
|
*
|
|
1392
|
-
* @returns {Promise}
|
|
1395
|
+
* @returns {Promise<void>}
|
|
1393
1396
|
* A promise which is resolved without a defined result as soon as all changes in the binding
|
|
1394
1397
|
* itself and all dependent bindings are canceled (since 1.72.0)
|
|
1395
1398
|
* @throws {Error} If
|
|
@@ -1491,8 +1494,9 @@ sap.ui.define([
|
|
|
1491
1494
|
* @param {string} sGroupId
|
|
1492
1495
|
* The group ID for missing properties requests
|
|
1493
1496
|
* @returns {sap.ui.base.SyncPromise|undefined}
|
|
1494
|
-
* A promise
|
|
1495
|
-
* went wrong; or <code>undefined</code> if there is no
|
|
1497
|
+
* A promise which is resolved without a defined result when the update is finished, or
|
|
1498
|
+
* rejected with an error if something went wrong; or <code>undefined</code> if there is no
|
|
1499
|
+
* need to wait
|
|
1496
1500
|
*
|
|
1497
1501
|
* @abstract
|
|
1498
1502
|
* @function
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @mixes sap.ui.model.odata.v4.ODataParentBinding
|
|
75
75
|
* @public
|
|
76
76
|
* @since 1.37.0
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.117.1
|
|
78
78
|
*
|
|
79
79
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
80
80
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
@@ -328,8 +328,8 @@ sap.ui.define([
|
|
|
328
328
|
* Registered event handlers are called with the change reason as parameter.
|
|
329
329
|
*
|
|
330
330
|
* @param {sap.ui.base.Event} oEvent
|
|
331
|
-
* @param {object} oEvent.getParameters
|
|
332
|
-
* @param {sap.ui.model.ChangeReason} oEvent.getParameters
|
|
331
|
+
* @param {object} oEvent.getParameters
|
|
332
|
+
* @param {sap.ui.model.ChangeReason} oEvent.getParameters.reason
|
|
333
333
|
* The reason for the 'change' event could be
|
|
334
334
|
* <ul>
|
|
335
335
|
* <li> {@link sap.ui.model.ChangeReason.Change Change} when the binding is initialized,
|
|
@@ -373,10 +373,10 @@ sap.ui.define([
|
|
|
373
373
|
* @param {sap.ui.base.Event} oEvent
|
|
374
374
|
* @param {function} oEvent.cancelBubble
|
|
375
375
|
* A callback function to prevent that the event is bubbled up to the model
|
|
376
|
-
* @param {object} oEvent.getParameters
|
|
377
|
-
* @param {object} [oEvent.getParameters
|
|
376
|
+
* @param {object} oEvent.getParameters
|
|
377
|
+
* @param {object} [oEvent.getParameters.data]
|
|
378
378
|
* An empty data object if a back-end request succeeds
|
|
379
|
-
* @param {Error} [oEvent.getParameters
|
|
379
|
+
* @param {Error} [oEvent.getParameters.error] The error object if a back-end request failed.
|
|
380
380
|
* If there are multiple failed back-end requests, the error of the first one is provided.
|
|
381
381
|
*
|
|
382
382
|
* @event sap.ui.model.odata.v4.ODataContextBinding#dataReceived
|
|
@@ -414,8 +414,8 @@ sap.ui.define([
|
|
|
414
414
|
*
|
|
415
415
|
* @param {sap.ui.base.Event} oEvent The event object
|
|
416
416
|
* @param {sap.ui.model.odata.v4.ODataContextBinding} oEvent.getSource() This binding
|
|
417
|
-
* @param {object} oEvent.getParameters
|
|
418
|
-
* @param {boolean} oEvent.getParameters
|
|
417
|
+
* @param {object} oEvent.getParameters Object containing all event parameters
|
|
418
|
+
* @param {boolean} oEvent.getParameters.success
|
|
419
419
|
* Whether all PATCHes are successfully processed
|
|
420
420
|
*
|
|
421
421
|
* @event sap.ui.model.odata.v4.ODataContextBinding#patchCompleted
|
|
@@ -764,7 +764,7 @@ sap.ui.define([
|
|
|
764
764
|
ODataContextBinding.prototype.doSetProperty = function (sPath, vValue, oGroupLock) {
|
|
765
765
|
if (this.oOperation && (sPath === "$Parameter" || sPath.startsWith("$Parameter/"))) {
|
|
766
766
|
_Helper.updateAll(this.oOperation.mChangeListeners, "", this.oOperation.mParameters,
|
|
767
|
-
|
|
767
|
+
_Helper.makeUpdateData(sPath.split("/").slice(1), vValue));
|
|
768
768
|
this.oOperation.bAction = undefined; // "not yet executed"
|
|
769
769
|
if (oGroupLock) {
|
|
770
770
|
oGroupLock.unlock();
|
|
@@ -837,7 +837,7 @@ sap.ui.define([
|
|
|
837
837
|
* currently if it is {@link sap.ui.model.odata.v4.Context#isKeepAlive kept alive}. If the
|
|
838
838
|
* parent context has requested messages when it was kept alive, they will be inherited if the
|
|
839
839
|
* $$inheritExpandSelect binding parameter is set to <code>true</code>. Since 1.97.0.
|
|
840
|
-
* @returns {Promise}
|
|
840
|
+
* @returns {Promise<sap.ui.model.odata.v4.Context|undefined>}
|
|
841
841
|
* A promise that is resolved without data or with a return value context when the operation
|
|
842
842
|
* call succeeded, or rejected with an <code>Error</code> instance <code>oError</code> in case
|
|
843
843
|
* of failure, for instance if the operation metadata is not found, if overloading is not
|
|
@@ -1459,8 +1459,8 @@ sap.ui.define([
|
|
|
1459
1459
|
* @param {boolean} [bKeepCacheOnError]
|
|
1460
1460
|
* If <code>true</code>, the binding data remains unchanged if the refresh fails
|
|
1461
1461
|
* @returns {sap.ui.base.SyncPromise}
|
|
1462
|
-
* A promise
|
|
1463
|
-
* this binding's return value context; <code>null</code> otherwise
|
|
1462
|
+
* A promise which is resolved without a defined result when the refresh is finished and if
|
|
1463
|
+
* the context is this binding's return value context; <code>null</code> otherwise
|
|
1464
1464
|
*
|
|
1465
1465
|
* @private
|
|
1466
1466
|
*/
|