@openui5/sap.ui.core 1.136.1 → 1.136.3
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 +1 -1
- 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 +22 -1
- package/src/sap/base/i18n/LanguageTag.js +11 -5
- package/src/sap/base/i18n/Localization.js +31 -6
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -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 +1 -1
- package/src/sap/ui/base/DataType.js +27 -2
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +3 -3
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/BlockLayerUtils.js +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 +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/Configuration.js +1 -1
- 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 +10 -4
- 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/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +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/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 +43 -19
- 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/i18n/interaction_ar.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_bg.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ca.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_cnr.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_cs.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_cy.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_da.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_de.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_el.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_en.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_en_GB.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_en_US_saprigi.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_es.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_es_MX.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_et.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_fi.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_fr.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_fr_CA.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_hi.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_hr.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_hu.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_id.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_it.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_iw.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ja.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_kk.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ko.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_lt.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_lv.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_mk.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ms.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_nl.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_no.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_pl.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_pt.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_pt_PT.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ro.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_ru.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_sh.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_sk.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_sl.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_sr.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_sv.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_th.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_tr.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_uk.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_vi.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_zh_CN.xml +27 -0
- package/src/sap/ui/core/i18n/interaction_zh_TW.xml +27 -0
- package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +43 -7
- 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_ar.properties +21 -1
- package/src/sap/ui/core/messagebundle_bg.properties +21 -1
- package/src/sap/ui/core/messagebundle_ca.properties +21 -1
- package/src/sap/ui/core/messagebundle_cnr.properties +21 -1
- package/src/sap/ui/core/messagebundle_cs.properties +21 -1
- package/src/sap/ui/core/messagebundle_cy.properties +21 -1
- package/src/sap/ui/core/messagebundle_da.properties +21 -1
- package/src/sap/ui/core/messagebundle_de.properties +22 -2
- package/src/sap/ui/core/messagebundle_el.properties +21 -1
- package/src/sap/ui/core/messagebundle_en.properties +21 -1
- package/src/sap/ui/core/messagebundle_en_GB.properties +21 -1
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +21 -1
- package/src/sap/ui/core/messagebundle_es.properties +23 -3
- package/src/sap/ui/core/messagebundle_es_MX.properties +21 -1
- package/src/sap/ui/core/messagebundle_et.properties +21 -1
- package/src/sap/ui/core/messagebundle_fi.properties +22 -2
- package/src/sap/ui/core/messagebundle_fr.properties +21 -1
- package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -1
- package/src/sap/ui/core/messagebundle_hi.properties +21 -1
- package/src/sap/ui/core/messagebundle_hr.properties +21 -1
- package/src/sap/ui/core/messagebundle_hu.properties +21 -1
- package/src/sap/ui/core/messagebundle_id.properties +23 -3
- package/src/sap/ui/core/messagebundle_it.properties +21 -1
- package/src/sap/ui/core/messagebundle_iw.properties +21 -1
- package/src/sap/ui/core/messagebundle_ja.properties +21 -1
- package/src/sap/ui/core/messagebundle_kk.properties +23 -3
- package/src/sap/ui/core/messagebundle_ko.properties +21 -1
- package/src/sap/ui/core/messagebundle_lt.properties +21 -1
- package/src/sap/ui/core/messagebundle_lv.properties +21 -1
- package/src/sap/ui/core/messagebundle_mk.properties +24 -4
- package/src/sap/ui/core/messagebundle_ms.properties +21 -1
- package/src/sap/ui/core/messagebundle_nl.properties +21 -1
- package/src/sap/ui/core/messagebundle_no.properties +21 -1
- package/src/sap/ui/core/messagebundle_pl.properties +21 -1
- package/src/sap/ui/core/messagebundle_pt.properties +21 -1
- package/src/sap/ui/core/messagebundle_pt_PT.properties +21 -1
- package/src/sap/ui/core/messagebundle_ro.properties +21 -1
- package/src/sap/ui/core/messagebundle_ru.properties +23 -3
- package/src/sap/ui/core/messagebundle_sh.properties +21 -1
- package/src/sap/ui/core/messagebundle_sk.properties +21 -1
- package/src/sap/ui/core/messagebundle_sl.properties +23 -3
- package/src/sap/ui/core/messagebundle_sr.properties +21 -1
- package/src/sap/ui/core/messagebundle_sv.properties +21 -1
- package/src/sap/ui/core/messagebundle_th.properties +21 -1
- package/src/sap/ui/core/messagebundle_tr.properties +21 -1
- package/src/sap/ui/core/messagebundle_uk.properties +22 -2
- package/src/sap/ui/core/messagebundle_vi.properties +21 -1
- package/src/sap/ui/core/messagebundle_zh_CN.properties +21 -1
- package/src/sap/ui/core/messagebundle_zh_TW.properties +23 -3
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/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/base.less +71 -29
- package/src/sap/ui/core/themes/base/skeleton.less +9 -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 +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/dom/findTabbable.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/json/JSONModel.js +1 -1
- package/src/sap/ui/model/json/JSONPropertyBinding.js +14 -2
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/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 +17 -11
- package/src/sap/ui/model/odata/v2/ODataModel.js +3 -2
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +3 -5
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +77 -16
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +26 -4
- 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/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +1 -1
- package/src/ui5loader.js +1 -1
|
@@ -31,12 +31,14 @@ sap.ui.define([
|
|
|
31
31
|
* @param {boolean} mOptions.skipMetadata Whether the metadata document will not be parsed for
|
|
32
32
|
* annotations
|
|
33
33
|
* @param {string} [mOptions.cacheKey] A valid cache key
|
|
34
|
+
* @param {boolean} [mOptions.withCredentials=false] If set to <code>true</code>, the user credentials are included
|
|
35
|
+
* in a cross-origin request
|
|
34
36
|
* @public
|
|
35
37
|
*
|
|
36
38
|
* @class Annotation loader for OData V2 services
|
|
37
39
|
*
|
|
38
40
|
* @author SAP SE
|
|
39
|
-
* @version 1.136.
|
|
41
|
+
* @version 1.136.3
|
|
40
42
|
*
|
|
41
43
|
* @public
|
|
42
44
|
* @since 1.37.0
|
|
@@ -49,6 +51,7 @@ sap.ui.define([
|
|
|
49
51
|
var that = this;
|
|
50
52
|
// Allow event subscription in constructor options
|
|
51
53
|
EventProvider.apply(this, [ mOptions ]);
|
|
54
|
+
this.bWithCredentials = mOptions?.withCredentials === true;
|
|
52
55
|
this._oMetadata = oMetadata;
|
|
53
56
|
// The promise to have (loaded,) parsed and merged the previously added source.
|
|
54
57
|
// This promise should never reject; to assign another promise "pPromise" use
|
|
@@ -727,16 +730,19 @@ sap.ui.define([
|
|
|
727
730
|
ODataAnnotations.prototype._loadUrl = function(mSource) {
|
|
728
731
|
assert(mSource.type === "url", "Source type must be \"url\" in order to be loaded");
|
|
729
732
|
|
|
730
|
-
return new Promise(
|
|
733
|
+
return new Promise((fnResolve, fnReject) => {
|
|
731
734
|
var mAjaxOptions = {
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
735
|
+
url: mSource.data,
|
|
736
|
+
async: true,
|
|
737
|
+
headers: this._getHeaders(),
|
|
738
|
+
...(this.bWithCredentials === true
|
|
739
|
+
? {xhrFields: {withCredentials: true}}
|
|
740
|
+
: {}),
|
|
741
|
+
beforeSend: function(oXHR) {
|
|
742
|
+
// Force text/plain so the XML parser does not run twice
|
|
743
|
+
oXHR.overrideMimeType("text/plain");
|
|
744
|
+
}
|
|
745
|
+
};
|
|
740
746
|
|
|
741
747
|
var fnSuccess = function(sData, sStatusText, oXHR) {
|
|
742
748
|
mSource.xml = oXHR.responseText;
|
|
@@ -760,7 +766,7 @@ sap.ui.define([
|
|
|
760
766
|
};
|
|
761
767
|
|
|
762
768
|
jQuery.ajax(mAjaxOptions).done(fnSuccess).fail(fnFail);
|
|
763
|
-
}
|
|
769
|
+
});
|
|
764
770
|
};
|
|
765
771
|
|
|
766
772
|
/**
|
|
@@ -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.136.
|
|
222
|
+
* @version 1.136.3
|
|
223
223
|
*
|
|
224
224
|
* @public
|
|
225
225
|
* @alias sap.ui.model.odata.v2.ODataModel
|
|
@@ -467,7 +467,8 @@ sap.ui.define([
|
|
|
467
467
|
headers: this.mCustomHeaders,
|
|
468
468
|
combineEvents: true,
|
|
469
469
|
cacheKey: this._getAnnotationCacheKey(this.sMetadataUrl),
|
|
470
|
-
useCache: this.bUseCache
|
|
470
|
+
useCache: this.bUseCache,
|
|
471
|
+
withCredentials: this.bWithCredentials
|
|
471
472
|
});
|
|
472
473
|
if (!this.bDisableSoftStateHeader) {
|
|
473
474
|
delete this.mCustomHeaders["sap-contextid-accept"];
|
|
@@ -103,7 +103,7 @@ sap.ui.define([
|
|
|
103
103
|
* @extends sap.ui.model.TreeBinding
|
|
104
104
|
* @hideconstructor
|
|
105
105
|
* @public
|
|
106
|
-
* @version 1.136.
|
|
106
|
+
* @version 1.136.3
|
|
107
107
|
*/
|
|
108
108
|
var ODataTreeBinding = TreeBinding.extend("sap.ui.model.odata.v2.ODataTreeBinding", /** @lends sap.ui.model.odata.v2.ODataTreeBinding.prototype */ {
|
|
109
109
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @hideconstructor
|
|
43
43
|
* @public
|
|
44
44
|
* @since 1.39.0
|
|
45
|
-
* @version 1.136.
|
|
45
|
+
* @version 1.136.3
|
|
46
46
|
*/
|
|
47
47
|
Context = BaseContext.extend("sap.ui.model.odata.v4.Context", {
|
|
48
48
|
constructor : constructor
|
|
@@ -2129,7 +2129,8 @@ sap.ui.define([
|
|
|
2129
2129
|
oBinding = oCandidate.oBinding;
|
|
2130
2130
|
sPath = oBinding.getPath();
|
|
2131
2131
|
oParentContext = oBinding.getContext();
|
|
2132
|
-
if (oBinding.oCache
|
|
2132
|
+
if (oBinding.oCache?.hasChangeListeners() || !oContext && oBinding.oCache !== null) {
|
|
2133
|
+
// Note: undefined cache looks like a refresh in progress
|
|
2133
2134
|
oContext = oCandidate; // active binding with own cache is a good target
|
|
2134
2135
|
}
|
|
2135
2136
|
if (oContext && sPath) {
|
|
@@ -2137,9 +2138,6 @@ sap.ui.define([
|
|
|
2137
2138
|
break;
|
|
2138
2139
|
}
|
|
2139
2140
|
if (!oBinding.getBoundContext) {
|
|
2140
|
-
if (oBinding.oCache === undefined) {
|
|
2141
|
-
return undefined; // nothing to do - looks like a refresh in progress
|
|
2142
|
-
}
|
|
2143
2141
|
throw new Error("Not a context binding: " + oBinding);
|
|
2144
2142
|
}
|
|
2145
2143
|
oCandidate = oParentContext;
|
|
@@ -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.136.
|
|
77
|
+
* @version 1.136.3
|
|
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
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @mixes sap.ui.model.odata.v4.ODataParentBinding
|
|
60
60
|
* @public
|
|
61
61
|
* @since 1.37.0
|
|
62
|
-
* @version 1.136.
|
|
62
|
+
* @version 1.136.3
|
|
63
63
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
64
64
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
65
65
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
|
|
@@ -240,7 +240,7 @@ sap.ui.define([
|
|
|
240
240
|
* @extends sap.ui.model.Model
|
|
241
241
|
* @public
|
|
242
242
|
* @since 1.37.0
|
|
243
|
-
* @version 1.136.
|
|
243
|
+
* @version 1.136.3
|
|
244
244
|
*/
|
|
245
245
|
ODataModel = Model.extend("sap.ui.model.odata.v4.ODataModel",
|
|
246
246
|
/** @lends sap.ui.model.odata.v4.ODataModel.prototype */{
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @mixes sap.ui.model.odata.v4.ODataBinding
|
|
43
43
|
* @public
|
|
44
44
|
* @since 1.37.0
|
|
45
|
-
* @version 1.136.
|
|
45
|
+
* @version 1.136.3
|
|
46
46
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getGroupId as #getGroupId
|
|
47
47
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getRootBinding as #getRootBinding
|
|
48
48
|
* @borrows sap.ui.model.odata.v4.ODataBinding#getUpdateGroupId as #getUpdateGroupId
|
|
@@ -54,7 +54,6 @@ sap.ui.define([
|
|
|
54
54
|
bHasGrandTotal) {
|
|
55
55
|
var fnCount = function () {}, // no specific handling needed for "UI5__count" here
|
|
56
56
|
fnLeaves = null,
|
|
57
|
-
fnResolve,
|
|
58
57
|
that = this;
|
|
59
58
|
|
|
60
59
|
_Cache.call(this, oRequestor, sResourcePath, mQueryOptions, true);
|
|
@@ -70,10 +69,7 @@ sap.ui.define([
|
|
|
70
69
|
this.oCountPromise = undefined;
|
|
71
70
|
if (mQueryOptions.$count) {
|
|
72
71
|
if (oAggregation.hierarchyQualifier) {
|
|
73
|
-
this.
|
|
74
|
-
fnResolve = resolve;
|
|
75
|
-
});
|
|
76
|
-
this.oCountPromise.$resolve = fnResolve;
|
|
72
|
+
this.createCountPromise();
|
|
77
73
|
} else if (oAggregation.groupLevels.length) {
|
|
78
74
|
mQueryOptions.$$leaves = true; // do this after #getDownloadUrl
|
|
79
75
|
this.oCountPromise = new SyncPromise(function (resolve) {
|
|
@@ -176,9 +172,14 @@ sap.ui.define([
|
|
|
176
172
|
_Helper.getPrivateAnnotation(oElement, "transientPredicate"));
|
|
177
173
|
}
|
|
178
174
|
|
|
179
|
-
|
|
180
|
-
this.
|
|
181
|
-
|
|
175
|
+
if (this.oCountPromise) {
|
|
176
|
+
this.createCountPromise();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return SyncPromise.all([
|
|
180
|
+
this.oRequestor.request("DELETE", sEditUrl, oGroupLock, {"If-Match" : oElement}),
|
|
181
|
+
this.readCount(oGroupLock)
|
|
182
|
+
]).then(() => {
|
|
182
183
|
this.oTreeState.delete(oElement);
|
|
183
184
|
// the element might have moved due to parallel insert/delete
|
|
184
185
|
iIndex = _Cache.getElementIndex(this.aElements, sPredicate, iIndex);
|
|
@@ -304,7 +305,8 @@ sap.ui.define([
|
|
|
304
305
|
/**
|
|
305
306
|
* Adjusts the (limited) descendant count at all ancestors of the given element which must be
|
|
306
307
|
* part of <code>this.oFirstLevel</code>, handles placeholders. Makes the parent a leaf if its
|
|
307
|
-
* descendant count becomes 0
|
|
308
|
+
* descendant count becomes 0 and reverts that if its descendant count was 0 before (the latter
|
|
309
|
+
* can only happen when a parent's single child is moved to the same parent).
|
|
308
310
|
*
|
|
309
311
|
* @param {object} oElement - The element
|
|
310
312
|
* @param {number} iIndex - Its index
|
|
@@ -330,6 +332,10 @@ sap.ui.define([
|
|
|
330
332
|
_Helper.setPrivateAnnotation(oCandidate, "descendants", iCount);
|
|
331
333
|
if (iCount === 0) {
|
|
332
334
|
this.makeLeaf(oCandidate);
|
|
335
|
+
} else if (iCount === iOffset) { // not a leaf anymore
|
|
336
|
+
_Helper.updateAll(this.mChangeListeners,
|
|
337
|
+
_Helper.getPrivateAnnotation(oCandidate, "predicate"), oCandidate,
|
|
338
|
+
{"@$ui5.node.isExpanded" : true});
|
|
333
339
|
}
|
|
334
340
|
// the next candidate must be an ancestor of this node
|
|
335
341
|
iIndex = iCandidateIndex;
|
|
@@ -656,6 +662,29 @@ sap.ui.define([
|
|
|
656
662
|
});
|
|
657
663
|
};
|
|
658
664
|
|
|
665
|
+
/**
|
|
666
|
+
* Creates a new <code>this.oCountPromise</code> (suitable for a recursive hierarchy), which has
|
|
667
|
+
* to be resolved by a following {@link #readCount} call. If the old count promise is still
|
|
668
|
+
* pending, no new promise is created in order to avoid duplicate $count requests.
|
|
669
|
+
*
|
|
670
|
+
* @private
|
|
671
|
+
*/
|
|
672
|
+
_AggregationCache.prototype.createCountPromise = function () {
|
|
673
|
+
const oOldCountPromise = this.oCountPromise;
|
|
674
|
+
if (oOldCountPromise?.isPending()) {
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
let fnResolve;
|
|
679
|
+
this.oCountPromise = new SyncPromise(function (resolve) {
|
|
680
|
+
fnResolve = resolve;
|
|
681
|
+
});
|
|
682
|
+
this.oCountPromise.$resolve = fnResolve;
|
|
683
|
+
this.oCountPromise.$restore = () => {
|
|
684
|
+
fnResolve(oOldCountPromise);
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
|
|
659
688
|
/**
|
|
660
689
|
* Creates a cache for the children (next group level or leaves) of the given group node.
|
|
661
690
|
* Creates the first level cache if there is no group node.
|
|
@@ -1261,6 +1290,24 @@ sap.ui.define([
|
|
|
1261
1290
|
} // else: iSiblingRank === undefined => return undefined;
|
|
1262
1291
|
};
|
|
1263
1292
|
|
|
1293
|
+
/**
|
|
1294
|
+
* @override
|
|
1295
|
+
* @see sap.ui.model.odata.v4.lib._Cache#getQueryOptions4Single
|
|
1296
|
+
*/
|
|
1297
|
+
_AggregationCache.prototype.getQueryOptions4Single = function (sPath) {
|
|
1298
|
+
if (sPath !== "") {
|
|
1299
|
+
throw new Error("Unsupported path: " + sPath);
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
const mQueryOptions = _Helper.clone(this.mLateQueryOptions ?? this.mQueryOptions);
|
|
1303
|
+
const iIndex = mQueryOptions.$select.indexOf(this.oAggregation.$NodeProperty);
|
|
1304
|
+
if (iIndex >= 0) {
|
|
1305
|
+
mQueryOptions.$select.splice(iIndex, 1);
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
return mQueryOptions;
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1264
1311
|
/**
|
|
1265
1312
|
* @override
|
|
1266
1313
|
* @see sap.ui.model.odata.v4.lib._Cache#getValue
|
|
@@ -1887,7 +1934,11 @@ sap.ui.define([
|
|
|
1887
1934
|
+ this.oRequestor.buildQueryString(/*sMetaPath*/null, mQueryOptions);
|
|
1888
1935
|
|
|
1889
1936
|
return this.oRequestor.request("GET", sResourcePath, oGroupLock.getUnlockedCopy())
|
|
1890
|
-
.then(fnResolve)
|
|
1937
|
+
.then(fnResolve) // Note: $count is already of type number here
|
|
1938
|
+
.catch((oError) => {
|
|
1939
|
+
this.oCountPromise.$restore();
|
|
1940
|
+
throw oError;
|
|
1941
|
+
});
|
|
1891
1942
|
}
|
|
1892
1943
|
};
|
|
1893
1944
|
|
|
@@ -2098,6 +2149,20 @@ sap.ui.define([
|
|
|
2098
2149
|
/*bDropApply*/true);
|
|
2099
2150
|
};
|
|
2100
2151
|
|
|
2152
|
+
/**
|
|
2153
|
+
* @override
|
|
2154
|
+
* @see sap.ui.model.odata.v4.lib._Cache#replaceElement
|
|
2155
|
+
*/
|
|
2156
|
+
_AggregationCache.prototype.replaceElement = function (aElements, _iIndex, sPredicate,
|
|
2157
|
+
oElement, mTypeForMetaPath, sPath, bKeepReportedMessagesPath) {
|
|
2158
|
+
// Note: iStart is not needed here because we know we have a key predicate
|
|
2159
|
+
this.visitResponse(oElement, mTypeForMetaPath,
|
|
2160
|
+
_Helper.getMetaPath(_Helper.buildPath(this.sMetaPath, sPath)), sPath + sPredicate,
|
|
2161
|
+
undefined, bKeepReportedMessagesPath);
|
|
2162
|
+
|
|
2163
|
+
_Helper.updateAll({/*mChangeListeners*/}, "", aElements.$byPredicate[sPredicate], oElement);
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2101
2166
|
/**
|
|
2102
2167
|
* Sends a request for the elements identified by the given key predicates. Returns predicates
|
|
2103
2168
|
* for elements matching the current filter.
|
|
@@ -2363,8 +2428,7 @@ sap.ui.define([
|
|
|
2363
2428
|
*/
|
|
2364
2429
|
_AggregationCache.prototype.reset = function (aKeptElementPredicates, sGroupId, mQueryOptions,
|
|
2365
2430
|
oAggregation, bIsGrouped) {
|
|
2366
|
-
var
|
|
2367
|
-
that = this;
|
|
2431
|
+
var that = this;
|
|
2368
2432
|
|
|
2369
2433
|
if (bIsGrouped) {
|
|
2370
2434
|
throw new Error("Unsupported grouping via sorter");
|
|
@@ -2399,10 +2463,7 @@ sap.ui.define([
|
|
|
2399
2463
|
this.oAggregation.$ExpandLevels = this.oTreeState.getExpandLevels();
|
|
2400
2464
|
this.oCountPromise = undefined;
|
|
2401
2465
|
if (mQueryOptions.$count) {
|
|
2402
|
-
this.
|
|
2403
|
-
fnResolve = resolve;
|
|
2404
|
-
});
|
|
2405
|
-
this.oCountPromise.$resolve = fnResolve;
|
|
2466
|
+
this.createCountPromise();
|
|
2406
2467
|
}
|
|
2407
2468
|
this.oFirstLevel = this.createGroupLevelCache();
|
|
2408
2469
|
};
|
|
@@ -1322,6 +1322,22 @@ sap.ui.define([
|
|
|
1322
1322
|
return this.mQueryOptions;
|
|
1323
1323
|
};
|
|
1324
1324
|
|
|
1325
|
+
/**
|
|
1326
|
+
* Returns this cache's query options corresponding to the given path (already cloned!) as
|
|
1327
|
+
* suitable for a single-entity GET request.
|
|
1328
|
+
*
|
|
1329
|
+
* @param {string} sPath
|
|
1330
|
+
* The entity collection's path within this cache, may be <code>""</code>
|
|
1331
|
+
* @returns {object|undefined} The query options as a clone, if any
|
|
1332
|
+
*
|
|
1333
|
+
* @protected
|
|
1334
|
+
* @see #getQueryOptions
|
|
1335
|
+
* @see #refreshSingle
|
|
1336
|
+
*/
|
|
1337
|
+
_Cache.prototype.getQueryOptions4Single = function (sPath) {
|
|
1338
|
+
return _Helper.clone(_Helper.getQueryOptionsForPath(this.mQueryOptions, sPath));
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1325
1341
|
/**
|
|
1326
1342
|
* Gets the cache's resource path.
|
|
1327
1343
|
*
|
|
@@ -1485,8 +1501,7 @@ sap.ui.define([
|
|
|
1485
1501
|
&& that.oRequestor.getModelInterface().fetchMetadata(
|
|
1486
1502
|
that.sMetaPath + "/@com.sap.vocabularies.Common.v1.Messages/$Path"
|
|
1487
1503
|
).getResult(),
|
|
1488
|
-
mQueryOptions =
|
|
1489
|
-
_Helper.getQueryOptionsForPath(that.mQueryOptions, sPath)),
|
|
1504
|
+
mQueryOptions = that.getQueryOptions4Single(sPath),
|
|
1490
1505
|
sReadUrl;
|
|
1491
1506
|
|
|
1492
1507
|
if (iIndex >= 0) {
|
|
@@ -1820,7 +1835,7 @@ sap.ui.define([
|
|
|
1820
1835
|
* @param {boolean} [bKeepReportedMessagesPath]
|
|
1821
1836
|
* Whether <code>this.sReportedMessagesPath</code> should be kept unchanged
|
|
1822
1837
|
*
|
|
1823
|
-
* @
|
|
1838
|
+
* @protected
|
|
1824
1839
|
*/
|
|
1825
1840
|
_Cache.prototype.replaceElement = function (aElements, iIndex, sPredicate, oElement,
|
|
1826
1841
|
mTypeForMetaPath, sPath, bKeepReportedMessagesPath) {
|
|
@@ -1838,6 +1853,9 @@ sap.ui.define([
|
|
|
1838
1853
|
aElements[iIndex] = aElements.$byPredicate[sPredicate] = oElement;
|
|
1839
1854
|
sTransientPredicate = _Helper.getPrivateAnnotation(oOldElement, "transientPredicate");
|
|
1840
1855
|
if (sTransientPredicate) {
|
|
1856
|
+
if ("@$ui5.context.isInactive" in oOldElement) {
|
|
1857
|
+
oElement["@$ui5.context.isInactive"] = false;
|
|
1858
|
+
}
|
|
1841
1859
|
oElement["@$ui5.context.isTransient"] = false;
|
|
1842
1860
|
aElements.$byPredicate[sTransientPredicate] = oElement;
|
|
1843
1861
|
_Helper.setPrivateAnnotation(oElement, "transientPredicate", sTransientPredicate);
|
|
@@ -3209,6 +3227,8 @@ sap.ui.define([
|
|
|
3209
3227
|
if (sNewPredicate) {
|
|
3210
3228
|
sPredicate = sNewPredicate;
|
|
3211
3229
|
oKeptElement = oElement; // leads to no-op for _Helper.updateNonExisting
|
|
3230
|
+
} else if (iIndex < iStart || iIndex >= iStart + iResultLength) {
|
|
3231
|
+
oKeptElement = oElement; // leads to no-op for _Helper.updateNonExisting
|
|
3212
3232
|
} else {
|
|
3213
3233
|
throw new Error("Duplicate key predicate: " + sPredicate);
|
|
3214
3234
|
}
|
|
@@ -4574,7 +4594,9 @@ sap.ui.define([
|
|
|
4574
4594
|
}
|
|
4575
4595
|
}
|
|
4576
4596
|
|
|
4577
|
-
|
|
4597
|
+
// Note: ODLB#getKeepAliveContext creates an empty initial object w/ private annotations
|
|
4598
|
+
if (bIgnoreETag && oEntity && !("@odata.etag" in oEntity)
|
|
4599
|
+
&& !_Helper.isEmptyObject(_Helper.publicClone(oEntity))) {
|
|
4578
4600
|
bIgnoreETag = false;
|
|
4579
4601
|
}
|
|
4580
4602
|
if (bIgnoreETag || oEntity) {
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
*
|
|
228
228
|
* @extends sap.ui.model.Model
|
|
229
229
|
* @public
|
|
230
|
-
* @version 1.136.
|
|
230
|
+
* @version 1.136.3
|
|
231
231
|
*/
|
|
232
232
|
var ResourceModel = Model.extend("sap.ui.model.resource.ResourceModel", /** @lends sap.ui.model.resource.ResourceModel.prototype */ {
|
|
233
233
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.ui.model.SimpleType
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.136.
|
|
30
|
+
* @version 1.136.3
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.Date
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.136.
|
|
22
|
+
* @version 1.136.3
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.DateInterval
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.136.
|
|
22
|
+
* @version 1.136.3
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getDateTimeInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./Date', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.Date
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.136.
|
|
22
|
+
* @version 1.136.3
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['./DateInterval', 'sap/ui/core/format/DateFormat'],
|
|
|
19
19
|
* @extends sap.ui.model.type.DateInterval
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.136.
|
|
22
|
+
* @version 1.136.3
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
* @param {object} [oFormatOptions] Formatting options. For a list of all available options, see {@link sap.ui.core.format.DateFormat.getTimeInstance DateFormat}.
|