@openui5/sap.ui.core 1.113.0 → 1.114.0
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/.dtsgenrc +86 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +10 -4
- 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/jquery.sap.trace.js +14 -14
- package/src/sap/base/Log.js +92 -8
- package/src/sap/base/assert.js +1 -1
- package/src/sap/base/config/MemoryConfigurationProvider.js +22 -0
- package/src/sap/base/config.js +54 -0
- package/src/sap/base/util/Deferred.js +3 -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/ui/Device.js +8 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/BindingParser.js +79 -18
- 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 +13 -12
- package/src/sap/ui/base/ManagedObjectMetadata.js +26 -24
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/BusyIndicator.js +4 -4
- package/src/sap/ui/core/Component.js +3 -3
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +3 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +47 -37
- package/src/sap/ui/core/Control.js +2 -2
- package/src/sap/ui/core/Core.js +36 -15
- 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 +17 -3
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +4 -4
- 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 +17 -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 +27 -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 +2 -2
- package/src/sap/ui/core/Manifest.js +2 -2
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +15 -9
- package/src/sap/ui/core/RenderManager.js +2 -2
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +2 -3
- package/src/sap/ui/core/ResizeHandler.js +2 -2
- 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 +9 -2
- package/src/sap/ui/core/UIComponent.js +14 -12
- 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 +30 -6
- package/src/sap/ui/core/date/UI5Date.js +14 -8
- package/src/sap/ui/core/date/UniversalDate.js +15 -53
- 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 +63 -29
- 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 +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.properties +2 -0
- package/src/sap/ui/core/messagebundle_ar.properties +1 -0
- package/src/sap/ui/core/messagebundle_bg.properties +1 -0
- package/src/sap/ui/core/messagebundle_ca.properties +1 -0
- package/src/sap/ui/core/messagebundle_cs.properties +1 -0
- package/src/sap/ui/core/messagebundle_cy.properties +1 -0
- package/src/sap/ui/core/messagebundle_da.properties +1 -0
- package/src/sap/ui/core/messagebundle_de.properties +1 -0
- package/src/sap/ui/core/messagebundle_el.properties +1 -0
- package/src/sap/ui/core/messagebundle_en.properties +1 -0
- package/src/sap/ui/core/messagebundle_en_GB.properties +1 -0
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
- package/src/sap/ui/core/messagebundle_es.properties +1 -0
- package/src/sap/ui/core/messagebundle_es_MX.properties +1 -0
- package/src/sap/ui/core/messagebundle_et.properties +1 -0
- package/src/sap/ui/core/messagebundle_fi.properties +1 -0
- package/src/sap/ui/core/messagebundle_fr.properties +1 -0
- package/src/sap/ui/core/messagebundle_fr_CA.properties +1 -0
- package/src/sap/ui/core/messagebundle_hi.properties +1 -0
- package/src/sap/ui/core/messagebundle_hr.properties +1 -0
- package/src/sap/ui/core/messagebundle_hu.properties +1 -0
- package/src/sap/ui/core/messagebundle_id.properties +1 -0
- package/src/sap/ui/core/messagebundle_it.properties +1 -0
- package/src/sap/ui/core/messagebundle_iw.properties +1 -0
- package/src/sap/ui/core/messagebundle_ja.properties +1 -0
- package/src/sap/ui/core/messagebundle_kk.properties +1 -0
- package/src/sap/ui/core/messagebundle_ko.properties +2 -1
- package/src/sap/ui/core/messagebundle_lt.properties +1 -0
- package/src/sap/ui/core/messagebundle_lv.properties +1 -0
- package/src/sap/ui/core/messagebundle_ms.properties +2 -1
- package/src/sap/ui/core/messagebundle_nl.properties +1 -0
- package/src/sap/ui/core/messagebundle_no.properties +1 -0
- package/src/sap/ui/core/messagebundle_pl.properties +1 -0
- package/src/sap/ui/core/messagebundle_pt.properties +1 -0
- package/src/sap/ui/core/messagebundle_pt_PT.properties +1 -0
- package/src/sap/ui/core/messagebundle_ro.properties +1 -0
- package/src/sap/ui/core/messagebundle_ru.properties +2 -1
- package/src/sap/ui/core/messagebundle_sh.properties +1 -0
- package/src/sap/ui/core/messagebundle_sk.properties +1 -0
- package/src/sap/ui/core/messagebundle_sl.properties +1 -0
- package/src/sap/ui/core/messagebundle_sv.properties +1 -0
- package/src/sap/ui/core/messagebundle_th.properties +1 -0
- package/src/sap/ui/core/messagebundle_tr.properties +1 -0
- package/src/sap/ui/core/messagebundle_uk.properties +1 -0
- package/src/sap/ui/core/messagebundle_vi.properties +1 -0
- package/src/sap/ui/core/messagebundle_zh_CN.properties +1 -0
- package/src/sap/ui/core/messagebundle_zh_TW.properties +1 -0
- package/src/sap/ui/core/mvc/Controller.js +2 -3
- package/src/sap/ui/core/mvc/ControllerExtension.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +22 -15
- package/src/sap/ui/core/mvc/XMLView.js +2 -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/routing/Route.js +30 -22
- package/src/sap/ui/core/routing/Router.js +5 -3
- package/src/sap/ui/core/routing/Target.js +169 -2
- package/src/sap/ui/core/routing/Targets.js +4 -213
- package/src/sap/ui/core/routing/Views.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/controls/InteractionTree.js +5 -3
- package/src/sap/ui/core/support/plugins/Breakpoint.js +2 -2
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +6 -4
- 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 +4 -3
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/base.less +1133 -90
- package/src/sap/ui/core/themes/base/global.less +114 -8
- package/src/sap/ui/core/themes/sap_hcb/global.less +114 -8
- package/src/sap/ui/core/theming/Parameters.js +10 -2
- package/src/sap/ui/core/theming/ThemeManager.js +10 -9
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/dom/includeScript.js +3 -3
- package/src/sap/ui/dom/includeStylesheet.js +3 -3
- package/src/sap/ui/events/ControlEvents.js +2 -2
- package/src/sap/ui/events/PseudoEvents.js +4 -2
- 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/ManagedObjectBindingSupport.js +19 -2
- 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/base/ManagedObjectModel.js +12 -4
- package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +2 -0
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +49 -21
- package/src/sap/ui/model/odata/type/DateTime.js +51 -8
- package/src/sap/ui/model/odata/type/DateTimeBase.js +20 -26
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +42 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +34 -21
- package/src/sap/ui/model/odata/type/Decimal.js +28 -33
- package/src/sap/ui/model/odata/type/Double.js +21 -26
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +15 -20
- 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 +16 -21
- package/src/sap/ui/model/odata/type/ODataType.js +33 -6
- 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 +20 -25
- 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 +60 -21
- package/src/sap/ui/model/odata/type/TimeOfDay.js +52 -24
- 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 +65 -21
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +4 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +7 -25
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +48 -16
- 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/ODataParentBinding.js +7 -3
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +13 -3
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +18 -0
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -0
- 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 +15 -1
- package/src/sap/ui/model/type/DateInterval.js +15 -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/Measurement.js +9 -9
- package/src/sap/ui/performance/trace/Interaction.js +50 -4
- package/src/sap/ui/performance/trace/initTraces.js +20 -14
- 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/OpaPlugin.js +19 -25
- package/src/sap/ui/test/PageObjectFactory.js +17 -7
- package/src/sap/ui/test/_ParameterValidator.js +3 -3
- package/src/sap/ui/test/_UsageReport.js +3 -3
- package/src/sap/ui/test/_ValidationParameters.js +8 -10
- package/src/sap/ui/test/actions/Action.js +3 -3
- package/src/sap/ui/test/actions/Press.js +4 -4
- package/src/sap/ui/test/autowaiter/WaiterBase.js +5 -3
- package/src/sap/ui/test/autowaiter/_autoWaiter.js +6 -3
- package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +3 -3
- package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +3 -3
- package/src/sap/ui/test/autowaiter/_fetchWaiter.js +73 -0
- package/src/sap/ui/test/autowaiter/_moduleWaiter.js +2 -2
- package/src/sap/ui/test/autowaiter/_promiseWaiter.js +4 -4
- package/src/sap/ui/test/autowaiter/_resourceWaiter.js +2 -2
- package/src/sap/ui/test/autowaiter/_timeoutWaiter.js +4 -4
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/GherkinTestGenerator.js +424 -423
- package/src/sap/ui/test/gherkin/StepDefinitions.js +160 -158
- package/src/sap/ui/test/gherkin/dataTableUtils.js +387 -385
- package/src/sap/ui/test/gherkin/opa5TestHarness.js +188 -189
- package/src/sap/ui/test/gherkin/qUnitTestHarness.js +74 -71
- package/src/sap/ui/test/gherkin/simpleGherkinParser.js +195 -193
- package/src/sap/ui/test/launchers/componentLauncher.js +11 -9
- package/src/sap/ui/test/launchers/iFrameLauncher.js +34 -20
- package/src/sap/ui/test/matchers/Descendant.js +1 -1
- package/src/sap/ui/test/matchers/Interactable.js +2 -2
- package/src/sap/ui/test/matchers/LabelFor.js +2 -2
- package/src/sap/ui/test/matchers/MatcherFactory.js +10 -9
- package/src/sap/ui/test/matchers/Properties.js +5 -4
- package/src/sap/ui/test/matchers/Sibling.js +1 -1
- package/src/sap/ui/test/matchers/matchers.js +35 -3
- package/src/sap/ui/test/qunitPause.js +3 -2
- package/src/sap/ui/test/starter/_utils.js +3 -3
- package/src/sap/ui/util/Mobile.js +8 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +661 -51
- package/src/ui5loader.js +18 -5
|
@@ -44,6 +44,8 @@ function(
|
|
|
44
44
|
*
|
|
45
45
|
* @param {string} sClassName fully qualified name of the described class
|
|
46
46
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
47
|
+
* @param {sap.ui.base.ManagedObject.MetadataOptions} [oClassInfo.metadata]
|
|
48
|
+
* The metadata object describing the class
|
|
47
49
|
*
|
|
48
50
|
* @class
|
|
49
51
|
* @classdesc
|
|
@@ -77,7 +79,7 @@ function(
|
|
|
77
79
|
*
|
|
78
80
|
*
|
|
79
81
|
* @author Frank Weigel
|
|
80
|
-
* @version 1.
|
|
82
|
+
* @version 1.114.0
|
|
81
83
|
* @since 0.8.6
|
|
82
84
|
* @alias sap.ui.base.ManagedObjectMetadata
|
|
83
85
|
* @extends sap.ui.base.Metadata
|
|
@@ -943,7 +945,7 @@ function(
|
|
|
943
945
|
*
|
|
944
946
|
* Typically used to enrich UIElement classes in an aspect oriented manner.
|
|
945
947
|
* @param {string} sName name of the property to add
|
|
946
|
-
* @param {
|
|
948
|
+
* @param {sap.ui.base.ManagedObject.MetadataOptions.Property} oInfo metadata for the property
|
|
947
949
|
* @private
|
|
948
950
|
* @restricted sap.ui.core
|
|
949
951
|
* @see sap.ui.core.EnabledPropagator
|
|
@@ -985,7 +987,7 @@ function(
|
|
|
985
987
|
* in the constructor documentation of this class.
|
|
986
988
|
*
|
|
987
989
|
* @param {string} sName name of the property
|
|
988
|
-
* @returns {
|
|
990
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Property|undefined} An info object describing the property or <code>undefined</code>
|
|
989
991
|
* @public
|
|
990
992
|
* @since 1.27.0
|
|
991
993
|
*/
|
|
@@ -1005,7 +1007,7 @@ function(
|
|
|
1005
1007
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1006
1008
|
* in the constructor documentation of this class.
|
|
1007
1009
|
*
|
|
1008
|
-
* @return {Object<string,
|
|
1010
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Property>} Map of property info objects keyed by the property names
|
|
1009
1011
|
* @public
|
|
1010
1012
|
*/
|
|
1011
1013
|
ManagedObjectMetadata.prototype.getProperties = function() {
|
|
@@ -1022,7 +1024,7 @@ function(
|
|
|
1022
1024
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1023
1025
|
* in the constructor documentation of this class.
|
|
1024
1026
|
*
|
|
1025
|
-
* @return {Object<string,
|
|
1027
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Property>} Map of property info objects keyed by the property names
|
|
1026
1028
|
* @public
|
|
1027
1029
|
*/
|
|
1028
1030
|
ManagedObjectMetadata.prototype.getAllProperties = function() {
|
|
@@ -1039,7 +1041,7 @@ function(
|
|
|
1039
1041
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1040
1042
|
* in the constructor documentation of this class.
|
|
1041
1043
|
*
|
|
1042
|
-
* @return {Object<string,
|
|
1044
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Property>} Map of property info objects keyed by property names
|
|
1043
1045
|
* @protected
|
|
1044
1046
|
*/
|
|
1045
1047
|
ManagedObjectMetadata.prototype.getAllPrivateProperties = function() {
|
|
@@ -1058,7 +1060,7 @@ function(
|
|
|
1058
1060
|
* in the constructor documentation of this class.
|
|
1059
1061
|
*
|
|
1060
1062
|
* @param {string} sName name of the property to be retrieved or empty
|
|
1061
|
-
* @returns {
|
|
1063
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Property|undefined} property info object or <code>undefined</code>
|
|
1062
1064
|
* @protected
|
|
1063
1065
|
*/
|
|
1064
1066
|
ManagedObjectMetadata.prototype.getManagedProperty = function(sName) {
|
|
@@ -1087,7 +1089,7 @@ function(
|
|
|
1087
1089
|
* If the class itself does not define a default property, then the
|
|
1088
1090
|
* info object for the default property of the parent class is returned.
|
|
1089
1091
|
*
|
|
1090
|
-
* @return {
|
|
1092
|
+
* @return {sap.ui.base.ManagedObject.MetadataOptions.Property|undefined} An info object for the default property
|
|
1091
1093
|
*/
|
|
1092
1094
|
ManagedObjectMetadata.prototype.getDefaultProperty = function() {
|
|
1093
1095
|
return this.getProperty(this.getDefaultPropertyName());
|
|
@@ -1121,7 +1123,7 @@ function(
|
|
|
1121
1123
|
* in the constructor documentation of this class.
|
|
1122
1124
|
*
|
|
1123
1125
|
* @param {string} [sName] name of the aggregation or empty
|
|
1124
|
-
* @returns {
|
|
1126
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Aggregation|undefined} An info object describing the aggregation or <code>undefined</code>
|
|
1125
1127
|
* @public
|
|
1126
1128
|
* @since 1.27.0
|
|
1127
1129
|
*/
|
|
@@ -1143,7 +1145,7 @@ function(
|
|
|
1143
1145
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1144
1146
|
* in the constructor documentation of this class.
|
|
1145
1147
|
*
|
|
1146
|
-
* @return {Object<string,
|
|
1148
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Aggregation>} Map of aggregation info objects keyed by aggregation names
|
|
1147
1149
|
* @public
|
|
1148
1150
|
*/
|
|
1149
1151
|
ManagedObjectMetadata.prototype.getAggregations = function() {
|
|
@@ -1162,7 +1164,7 @@ function(
|
|
|
1162
1164
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1163
1165
|
* in the constructor documentation of this class.
|
|
1164
1166
|
*
|
|
1165
|
-
* @return {Object<string,
|
|
1167
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Aggregation>} Map of aggregation info objects keyed by aggregation names
|
|
1166
1168
|
* @public
|
|
1167
1169
|
*/
|
|
1168
1170
|
ManagedObjectMetadata.prototype.getAllAggregations = function() {
|
|
@@ -1180,7 +1182,7 @@ function(
|
|
|
1180
1182
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1181
1183
|
* in the constructor documentation of this class.
|
|
1182
1184
|
*
|
|
1183
|
-
* @return {Object<string,
|
|
1185
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Aggregation>} Map of aggregation info objects keyed by aggregation names
|
|
1184
1186
|
* @protected
|
|
1185
1187
|
*/
|
|
1186
1188
|
ManagedObjectMetadata.prototype.getAllPrivateAggregations = function() {
|
|
@@ -1199,7 +1201,7 @@ function(
|
|
|
1199
1201
|
* in the constructor documentation of this class.
|
|
1200
1202
|
*
|
|
1201
1203
|
* @param {string} sAggregationName name of the aggregation to be retrieved or empty
|
|
1202
|
-
* @returns {
|
|
1204
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Aggregation|undefined} aggregation info object or <code>undefined</code>
|
|
1203
1205
|
* @protected
|
|
1204
1206
|
*/
|
|
1205
1207
|
ManagedObjectMetadata.prototype.getManagedAggregation = function(sAggregationName) {
|
|
@@ -1230,7 +1232,7 @@ function(
|
|
|
1230
1232
|
* If the class itself does not define a default aggregation, then the
|
|
1231
1233
|
* info object for the default aggregation of the parent class is returned.
|
|
1232
1234
|
*
|
|
1233
|
-
* @return {
|
|
1235
|
+
* @return {sap.ui.base.ManagedObject.MetadataOptions.Aggregation} An info object for the default aggregation
|
|
1234
1236
|
* @public
|
|
1235
1237
|
* @since 1.73
|
|
1236
1238
|
*/
|
|
@@ -1383,7 +1385,7 @@ function(
|
|
|
1383
1385
|
* If the class itself does not define a default property, then the
|
|
1384
1386
|
* info object for the default property of the parent class is returned.
|
|
1385
1387
|
*
|
|
1386
|
-
* @return {
|
|
1388
|
+
* @return {sap.ui.base.ManagedObject.MetadataOptions.Property} An info object for the default property
|
|
1387
1389
|
*/
|
|
1388
1390
|
ManagedObjectMetadata.prototype.getDefaultProperty = function() {
|
|
1389
1391
|
return this.getProperty(this.getDefaultPropertyName());
|
|
@@ -1403,7 +1405,7 @@ function(
|
|
|
1403
1405
|
* in the constructor documentation of this class.
|
|
1404
1406
|
*
|
|
1405
1407
|
* @param {string} sName name of the property like setting
|
|
1406
|
-
* @returns {
|
|
1408
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Property|sap.ui.base.ManagedObject.MetadataOptions.Aggregation|undefined} An info object describing the property or aggregation or <code>undefined</code>
|
|
1407
1409
|
* @public
|
|
1408
1410
|
* @since 1.27.0
|
|
1409
1411
|
*/
|
|
@@ -1443,7 +1445,7 @@ function(
|
|
|
1443
1445
|
* in the constructor documentation of this class.
|
|
1444
1446
|
*
|
|
1445
1447
|
* @param {string} sName name of the association
|
|
1446
|
-
* @returns {
|
|
1448
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Association|undefined} An info object describing the association or <code>undefined</code>
|
|
1447
1449
|
* @public
|
|
1448
1450
|
* @since 1.27.0
|
|
1449
1451
|
*/
|
|
@@ -1464,7 +1466,7 @@ function(
|
|
|
1464
1466
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1465
1467
|
* in the constructor documentation of this class.
|
|
1466
1468
|
*
|
|
1467
|
-
* @return {Object<string,
|
|
1469
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Association>} Map of association info objects keyed by association names
|
|
1468
1470
|
* @public
|
|
1469
1471
|
*/
|
|
1470
1472
|
ManagedObjectMetadata.prototype.getAssociations = function() {
|
|
@@ -1482,7 +1484,7 @@ function(
|
|
|
1482
1484
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1483
1485
|
* in the constructor documentation of this class.
|
|
1484
1486
|
*
|
|
1485
|
-
* @return {Object<string,
|
|
1487
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Association>} Map of association info objects keyed by association names
|
|
1486
1488
|
* @public
|
|
1487
1489
|
*/
|
|
1488
1490
|
ManagedObjectMetadata.prototype.getAllAssociations = function() {
|
|
@@ -1500,7 +1502,7 @@ function(
|
|
|
1500
1502
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1501
1503
|
* in the constructor documentation of this class.
|
|
1502
1504
|
*
|
|
1503
|
-
* @return {Object<string,
|
|
1505
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Association>} Map of association info objects keyed by association names
|
|
1504
1506
|
* @protected
|
|
1505
1507
|
*/
|
|
1506
1508
|
ManagedObjectMetadata.prototype.getAllPrivateAssociations = function() {
|
|
@@ -1516,7 +1518,7 @@ function(
|
|
|
1516
1518
|
* in the constructor documentation of this class.
|
|
1517
1519
|
*
|
|
1518
1520
|
* @param {string} sName name of the association to be retrieved
|
|
1519
|
-
* @returns {
|
|
1521
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Association|undefined} association info object or <code>undefined</code>
|
|
1520
1522
|
* @protected
|
|
1521
1523
|
*/
|
|
1522
1524
|
ManagedObjectMetadata.prototype.getManagedAssociation = function(sName) {
|
|
@@ -1551,7 +1553,7 @@ function(
|
|
|
1551
1553
|
* in the constructor documentation of this class.
|
|
1552
1554
|
*
|
|
1553
1555
|
* @param {string} sName name of the event
|
|
1554
|
-
* @returns {
|
|
1556
|
+
* @returns {sap.ui.base.ManagedObject.MetadataOptions.Event|undefined} An info object describing the event or <code>undefined</code>
|
|
1555
1557
|
* @public
|
|
1556
1558
|
* @since 1.27.0
|
|
1557
1559
|
*/
|
|
@@ -1571,7 +1573,7 @@ function(
|
|
|
1571
1573
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1572
1574
|
* in the constructor documentation of this class.
|
|
1573
1575
|
*
|
|
1574
|
-
* @return {Object<string,
|
|
1576
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Event>} Map of event info objects keyed by event names
|
|
1575
1577
|
* @public
|
|
1576
1578
|
*/
|
|
1577
1579
|
ManagedObjectMetadata.prototype.getEvents = function() {
|
|
@@ -1588,7 +1590,7 @@ function(
|
|
|
1588
1590
|
* and therefore not part of the API. See the {@link #constructor Notes about Info objects}
|
|
1589
1591
|
* in the constructor documentation of this class.
|
|
1590
1592
|
*
|
|
1591
|
-
* @return {Object<string,
|
|
1593
|
+
* @return {Object<string,sap.ui.base.ManagedObject.MetadataOptions.Event>} Map of event info objects keyed by event names
|
|
1592
1594
|
* @public
|
|
1593
1595
|
*/
|
|
1594
1596
|
ManagedObjectMetadata.prototype.getAllEvents = function() {
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
|
|
|
26
26
|
* @class Base class for all SAPUI5 Objects.
|
|
27
27
|
* @abstract
|
|
28
28
|
* @author Malte Wedel
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.114.0
|
|
30
30
|
* @public
|
|
31
31
|
* @alias sap.ui.base.Object
|
|
32
32
|
* @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
|
package/src/sap/ui/core/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.114.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* Provides methods to show or hide a waiting animation covering the whole
|
|
41
41
|
* page and blocking user interaction.
|
|
42
42
|
* @namespace
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.114.0
|
|
44
44
|
* @public
|
|
45
45
|
* @alias sap.ui.core.BusyIndicator
|
|
46
46
|
*/
|
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
* If no delay (or no valid delay) is given, a delay of 1000 milliseconds is used.
|
|
174
174
|
*/
|
|
175
175
|
BusyIndicator.show = function(iDelay) {
|
|
176
|
-
Log.debug("sap.ui.core.BusyIndicator.show (delay: " + iDelay + ") at " +
|
|
176
|
+
Log.debug("sap.ui.core.BusyIndicator.show (delay: " + iDelay + ") at " + Date.now());
|
|
177
177
|
assert(iDelay === undefined || (typeof iDelay == "number" && (iDelay % 1 == 0)), "iDelay must be empty or an integer");
|
|
178
178
|
|
|
179
179
|
// If body/Core are not available yet, give them some more time and open
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
* @private
|
|
229
229
|
*/
|
|
230
230
|
BusyIndicator._showNowIfRequested = function() {
|
|
231
|
-
Log.debug("sap.ui.core.BusyIndicator._showNowIfRequested (bOpenRequested: " + this.bOpenRequested + ") at " +
|
|
231
|
+
Log.debug("sap.ui.core.BusyIndicator._showNowIfRequested (bOpenRequested: " + this.bOpenRequested + ") at " + Date.now());
|
|
232
232
|
|
|
233
233
|
// Do not open if the request has been canceled in the meantime
|
|
234
234
|
if (!this.bOpenRequested) {
|
|
@@ -256,7 +256,7 @@ sap.ui.define([
|
|
|
256
256
|
* @public
|
|
257
257
|
*/
|
|
258
258
|
BusyIndicator.hide = function() {
|
|
259
|
-
Log.debug("sap.ui.core.BusyIndicator.hide at " +
|
|
259
|
+
Log.debug("sap.ui.core.BusyIndicator.hide at " + Date.now());
|
|
260
260
|
if (this._fDelayedStartTime) { // Implies fesr header active
|
|
261
261
|
// The busy indicator shown duration d is calculated with:
|
|
262
262
|
// d = "time busy indicator was hidden" - "time busy indicator was requested" - "busy indicator delay"
|
|
@@ -225,7 +225,7 @@ sap.ui.define([
|
|
|
225
225
|
* @extends sap.ui.base.ManagedObject
|
|
226
226
|
* @abstract
|
|
227
227
|
* @author SAP SE
|
|
228
|
-
* @version 1.
|
|
228
|
+
* @version 1.114.0
|
|
229
229
|
* @alias sap.ui.core.Component
|
|
230
230
|
* @since 1.9.2
|
|
231
231
|
*/
|
|
@@ -1109,7 +1109,7 @@ sap.ui.define([
|
|
|
1109
1109
|
* </pre>
|
|
1110
1110
|
*
|
|
1111
1111
|
* @param {string} sLocalServiceAlias Local service alias as defined in the manifest.json
|
|
1112
|
-
* @return {Promise} Promise which will be resolved with the Service interface
|
|
1112
|
+
* @return {Promise<sap.ui.core.service.Service>} Promise which will be resolved with the Service interface
|
|
1113
1113
|
* @public
|
|
1114
1114
|
* @since 1.37.0
|
|
1115
1115
|
*/
|
|
@@ -1260,7 +1260,7 @@ sap.ui.define([
|
|
|
1260
1260
|
* @param {boolean} [vUsage.async=true] Indicates whether the component creation is done asynchronously (You should use synchronous creation only if really necessary, because this has a negative impact on performance.)
|
|
1261
1261
|
* @param {object} [vUsage.settings] Settings for the nested component like for {#link sap.ui.component} or the component constructor
|
|
1262
1262
|
* @param {object} [vUsage.componentData] Initial data of the component (@see sap.ui.core.Component#getComponentData)
|
|
1263
|
-
* @return {sap.ui.core.Component|Promise} Component instance or Promise which will be resolved with the component instance (defaults to Promise / asynchronous behavior)
|
|
1263
|
+
* @return {sap.ui.core.Component|Promise<sap.ui.core.Component>} Component instance or Promise which will be resolved with the component instance (defaults to Promise / asynchronous behavior)
|
|
1264
1264
|
* @public
|
|
1265
1265
|
* @since 1.47.0
|
|
1266
1266
|
*/
|
|
@@ -25,11 +25,13 @@ sap.ui.define([
|
|
|
25
25
|
*
|
|
26
26
|
* @param {string} sClassName Fully qualified name of the class that is described by this metadata object
|
|
27
27
|
* @param {object} oClassInfo Static info to construct the metadata from
|
|
28
|
+
* @param {sap.ui.core.Component.MetadataOptions} [oClassInfo.metadata]
|
|
29
|
+
* The metadata object describing the class
|
|
28
30
|
*
|
|
29
31
|
* @public
|
|
30
32
|
* @class
|
|
31
33
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
34
|
+
* @version 1.114.0
|
|
33
35
|
* @since 1.9.2
|
|
34
36
|
* @alias sap.ui.core.ComponentMetadata
|
|
35
37
|
* @extends sap.ui.base.ManagedObjectMetadata
|
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
"sap/base/util/Version",
|
|
20
20
|
"sap/base/Log",
|
|
21
21
|
"sap/base/assert",
|
|
22
|
+
"sap/base/config",
|
|
22
23
|
"sap/base/util/deepClone",
|
|
23
24
|
"sap/base/util/extend",
|
|
24
25
|
"sap/base/util/isEmptyObject"
|
|
@@ -37,6 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
Version,
|
|
38
39
|
Log,
|
|
39
40
|
assert,
|
|
41
|
+
BaseConfig,
|
|
40
42
|
deepClone,
|
|
41
43
|
extend,
|
|
42
44
|
isEmptyObject
|
|
@@ -46,7 +48,7 @@ sap.ui.define([
|
|
|
46
48
|
// Singleton instance for configuration
|
|
47
49
|
var oConfiguration;
|
|
48
50
|
var M_SETTINGS;
|
|
49
|
-
var VERSION = "1.
|
|
51
|
+
var VERSION = "1.114.0";
|
|
50
52
|
|
|
51
53
|
// Helper Functions
|
|
52
54
|
var Object_hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
@@ -179,7 +181,7 @@ sap.ui.define([
|
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
183
|
|
|
182
|
-
var M_ANIMATION_MODE = {
|
|
184
|
+
var M_ANIMATION_MODE = /** @lends sap.ui.core.Configuration.AnimationMode */{
|
|
183
185
|
/**
|
|
184
186
|
* <code>full</code> represents a mode with unrestricted animation capabilities.
|
|
185
187
|
* @public
|
|
@@ -431,13 +433,7 @@ sap.ui.define([
|
|
|
431
433
|
// because the initialization should not trigger a "*Changed" event
|
|
432
434
|
var sTimezone = oUriParams.get('sap-timezone');
|
|
433
435
|
if (checkTimezone(sTimezone)) {
|
|
434
|
-
/*
|
|
435
|
-
TODO Timezone Configuration: re-activate following line when re-enabling Configuration#setTimezone
|
|
436
436
|
this.timezone = sTimezone;
|
|
437
|
-
*/
|
|
438
|
-
this._experimentalTimezone = sTimezone;
|
|
439
|
-
} else {
|
|
440
|
-
this._experimentalTimezone = undefined;
|
|
441
437
|
}
|
|
442
438
|
}
|
|
443
439
|
|
|
@@ -797,10 +793,6 @@ sap.ui.define([
|
|
|
797
793
|
},
|
|
798
794
|
|
|
799
795
|
/**
|
|
800
|
-
* <b>Note: Due to compatibility considerations, the time zone can only be changed for test
|
|
801
|
-
* purposes via the <code>sap-timezone</code> URL parameter. If this parameter is not set,
|
|
802
|
-
* the time zone of the browser/host system is returned.</b>
|
|
803
|
-
*
|
|
804
796
|
* Retrieves the configured IANA timezone ID.
|
|
805
797
|
*
|
|
806
798
|
* @returns {string} The configured IANA timezone ID, e.g. "America/New_York"
|
|
@@ -808,9 +800,7 @@ sap.ui.define([
|
|
|
808
800
|
* @since 1.99.0
|
|
809
801
|
*/
|
|
810
802
|
getTimezone : function () {
|
|
811
|
-
|
|
812
|
-
// return this.getValue("timezone");
|
|
813
|
-
return this._experimentalTimezone || TimezoneUtil.getLocalTimezone();
|
|
803
|
+
return this.getValue("timezone");
|
|
814
804
|
},
|
|
815
805
|
|
|
816
806
|
/**
|
|
@@ -900,11 +890,16 @@ sap.ui.define([
|
|
|
900
890
|
},
|
|
901
891
|
|
|
902
892
|
/**
|
|
903
|
-
* <b>Note: Due to compatibility considerations, this function has no effect in this release.
|
|
904
|
-
* The timezone configuration will always reflect the timezone of the browser/host system.</b>
|
|
905
|
-
*
|
|
906
893
|
* Sets the timezone such that all date and time based calculations use this timezone.
|
|
907
894
|
*
|
|
895
|
+
* <b>Important:</b> It is strongly recommended to only use this API at the earliest point
|
|
896
|
+
* of time while initializing a UI5 app. A later adjustment of the time zone should be
|
|
897
|
+
* avoided. It can lead to unexpected data inconsistencies in a running application,
|
|
898
|
+
* because date objects could still be related to a previously configured time zone.
|
|
899
|
+
* Instead, the app should be completely restarted with the new time zone.
|
|
900
|
+
* For more information, see
|
|
901
|
+
* {@link topic:6c9e61dc157a40c19460660ece8368bc Dates, Times, Timestamps, and Time Zones}.
|
|
902
|
+
*
|
|
908
903
|
* When the timezone has changed, the Core will fire its
|
|
909
904
|
* {@link sap.ui.core.Core#event:localizationChanged localizationChanged} event.
|
|
910
905
|
*
|
|
@@ -918,10 +913,6 @@ sap.ui.define([
|
|
|
918
913
|
check(sTimezone == null || typeof sTimezone === 'string',
|
|
919
914
|
"Configuration.setTimezone: sTimezone must be null or be a string", /* warn= */ true);
|
|
920
915
|
|
|
921
|
-
Log.warning("Timezone configuration cannot be changed at the moment");
|
|
922
|
-
sTimezone != null && checkTimezone(sTimezone);
|
|
923
|
-
/*
|
|
924
|
-
TODO Timezone Configuration: re-activate following code when re-enabling Configuration#setTimezone
|
|
925
916
|
if (sTimezone == null || !checkTimezone(sTimezone)) {
|
|
926
917
|
sTimezone = TimezoneUtil.getLocalTimezone();
|
|
927
918
|
}
|
|
@@ -931,7 +922,7 @@ sap.ui.define([
|
|
|
931
922
|
var mChanges = this._collect();
|
|
932
923
|
mChanges.timezone = sTimezone;
|
|
933
924
|
this._endCollect();
|
|
934
|
-
}
|
|
925
|
+
}
|
|
935
926
|
return this;
|
|
936
927
|
},
|
|
937
928
|
|
|
@@ -1531,11 +1522,20 @@ sap.ui.define([
|
|
|
1531
1522
|
*/
|
|
1532
1523
|
getSyncCallBehavior : function() {
|
|
1533
1524
|
var syncCallBehavior = 0; // ignore
|
|
1534
|
-
|
|
1525
|
+
var mOptions = {
|
|
1526
|
+
name: "sapUiXxNoSync",
|
|
1527
|
+
type: BaseConfig.Type.String,
|
|
1528
|
+
external: true,
|
|
1529
|
+
freeze: true
|
|
1530
|
+
};
|
|
1531
|
+
var sNoSync = BaseConfig.get(mOptions);
|
|
1532
|
+
if (sNoSync === 'warn') {
|
|
1535
1533
|
syncCallBehavior = 1;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
|
|
1534
|
+
} else {
|
|
1535
|
+
mOptions.type = BaseConfig.Type.Boolean;
|
|
1536
|
+
if (BaseConfig.get(mOptions)) {
|
|
1537
|
+
syncCallBehavior = 2;
|
|
1538
|
+
}
|
|
1539
1539
|
}
|
|
1540
1540
|
return syncCallBehavior;
|
|
1541
1541
|
},
|
|
@@ -1804,7 +1804,7 @@ sap.ui.define([
|
|
|
1804
1804
|
/**
|
|
1805
1805
|
* Returns the security token handlers of an OData V4 model.
|
|
1806
1806
|
*
|
|
1807
|
-
* @returns {function
|
|
1807
|
+
* @returns {Array<function(sap.ui.core.URI):Promise>} the security token handlers (an empty array if there are none)
|
|
1808
1808
|
* @public
|
|
1809
1809
|
* @since 1.95.0
|
|
1810
1810
|
* @see #setSecurityTokenHandlers
|
|
@@ -1828,7 +1828,7 @@ sap.ui.define([
|
|
|
1828
1828
|
* Sets the security token handlers for an OData V4 model. See chapter
|
|
1829
1829
|
* {@link topic:9613f1f2d88747cab21896f7216afdac/section_STH Security Token Handling}.
|
|
1830
1830
|
*
|
|
1831
|
-
* @param {function
|
|
1831
|
+
* @param {Array<function(sap.ui.core.URI):Promise>} aSecurityTokenHandlers - The security token handlers
|
|
1832
1832
|
* @public
|
|
1833
1833
|
* @since 1.95.0
|
|
1834
1834
|
* @see #getSecurityTokenHandlers
|
|
@@ -2390,7 +2390,7 @@ sap.ui.define([
|
|
|
2390
2390
|
* }
|
|
2391
2391
|
* </code>
|
|
2392
2392
|
* @public
|
|
2393
|
-
* @returns {object} the mapping between custom currencies and its digits
|
|
2393
|
+
* @returns {Object<string,object>} the mapping between custom currencies and its digits
|
|
2394
2394
|
*/
|
|
2395
2395
|
getCustomCurrencies : function() {
|
|
2396
2396
|
return this.mSettings["currency"];
|
|
@@ -2427,7 +2427,7 @@ sap.ui.define([
|
|
|
2427
2427
|
* Custom currencies must not only consist of digits but contain at least one non-digit character, e.g. "a",
|
|
2428
2428
|
* so that the measure part can be distinguished from the number part.
|
|
2429
2429
|
* @public
|
|
2430
|
-
* @param {object} mCurrencies currency map which is set
|
|
2430
|
+
* @param {Object<string,object>} mCurrencies currency map which is set
|
|
2431
2431
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
2432
2432
|
*/
|
|
2433
2433
|
setCustomCurrencies : function(mCurrencies) {
|
|
@@ -2451,7 +2451,7 @@ sap.ui.define([
|
|
|
2451
2451
|
* </code>
|
|
2452
2452
|
*
|
|
2453
2453
|
* @public
|
|
2454
|
-
* @param {object} mCurrencies adds to the currency map
|
|
2454
|
+
* @param {Object<string,object>} mCurrencies adds to the currency map
|
|
2455
2455
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
2456
2456
|
* @see sap.ui.core.Configuration.FormatSettings#setCustomCurrencies
|
|
2457
2457
|
*/
|
|
@@ -2614,13 +2614,22 @@ sap.ui.define([
|
|
|
2614
2614
|
return this;
|
|
2615
2615
|
},
|
|
2616
2616
|
|
|
2617
|
+
/**
|
|
2618
|
+
* The object that contains the information for date calendar customizing
|
|
2619
|
+
*
|
|
2620
|
+
* @typedef {object} sap.ui.core.Configuration.LegacyDateCalendarCustomizing
|
|
2621
|
+
* @public
|
|
2622
|
+
*
|
|
2623
|
+
* @property {"A"|"B"} dateFormat The IO of the date format. It has value "A" or "B".
|
|
2624
|
+
* @property {string} islamicMonthStart The Islamic date in format "yyyyMMdd".
|
|
2625
|
+
* @property {string} gregDate The corresponding Gregorian date in format "yyyyMMdd".
|
|
2626
|
+
*/
|
|
2627
|
+
|
|
2617
2628
|
/**
|
|
2618
2629
|
* Allows to specify the customizing data for Islamic calendar support
|
|
2619
2630
|
*
|
|
2620
|
-
* @param {
|
|
2621
|
-
*
|
|
2622
|
-
* @param {string} aMappings[].islamicMonthStart The Islamic date
|
|
2623
|
-
* @param {string} aMappings[].gregDate The corresponding Gregorian date
|
|
2631
|
+
* @param {Array<sap.ui.core.Configuration.LegacyDateCalendarCustomizing>} aMappings contains the customizing
|
|
2632
|
+
* data for the support of Islamic calendar.
|
|
2624
2633
|
* @returns {this} Returns <code>this</code> to allow method chaining
|
|
2625
2634
|
* @public
|
|
2626
2635
|
*/
|
|
@@ -2636,7 +2645,8 @@ sap.ui.define([
|
|
|
2636
2645
|
/**
|
|
2637
2646
|
* Returns the currently set customizing data for Islamic calendar support
|
|
2638
2647
|
*
|
|
2639
|
-
* @return {
|
|
2648
|
+
* @return {Array<sap.ui.core.Configuration.LegacyDateCalendarCustomizing>} Returns an array contains the
|
|
2649
|
+
* customizing data. For details, please see {@link #setLegacyDateCalendarCustomizing}
|
|
2640
2650
|
* @public
|
|
2641
2651
|
*/
|
|
2642
2652
|
getLegacyDateCalendarCustomizing : function() {
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
* @extends sap.ui.core.Element
|
|
80
80
|
* @abstract
|
|
81
81
|
* @author SAP SE
|
|
82
|
-
* @version 1.
|
|
82
|
+
* @version 1.114.0
|
|
83
83
|
* @alias sap.ui.core.Control
|
|
84
84
|
*/
|
|
85
85
|
var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
|
|
@@ -619,7 +619,7 @@ sap.ui.define([
|
|
|
619
619
|
*
|
|
620
620
|
* It is retrieved using the RenderManager as done during rendering.
|
|
621
621
|
*
|
|
622
|
-
* @return {
|
|
622
|
+
* @return {sap.ui.core.ControlRenderer} a Renderer suitable for this Control instance.
|
|
623
623
|
* @protected
|
|
624
624
|
*/
|
|
625
625
|
Control.prototype.getRenderer = function () {
|