@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
package/src/sap/ui/Device.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap
|
|
12
12
|
* dynamically depending on the capabilities of the browser or device.
|
|
13
13
|
*
|
|
14
|
-
* @version 1.
|
|
14
|
+
* @version 1.114.0
|
|
15
15
|
* @namespace
|
|
16
16
|
* @name sap.ui.Device
|
|
17
17
|
* @public
|
|
@@ -32,7 +32,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
32
32
|
|
|
33
33
|
//Skip initialization if API is already available
|
|
34
34
|
if (typeof window.sap.ui.Device === "object" || typeof window.sap.ui.Device === "function") {
|
|
35
|
-
var apiVersion = "1.
|
|
35
|
+
var apiVersion = "1.114.0";
|
|
36
36
|
window.sap.ui.Device._checkAPIVersion(apiVersion);
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
@@ -105,7 +105,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
105
105
|
|
|
106
106
|
//Only used internal to make clear when Device API is loaded in wrong version
|
|
107
107
|
Device._checkAPIVersion = function(sVersion) {
|
|
108
|
-
var v = "1.
|
|
108
|
+
var v = "1.114.0";
|
|
109
109
|
if (v != sVersion) {
|
|
110
110
|
oLogger.log(WARNING, "Device API version differs: " + v + " <-> " + sVersion);
|
|
111
111
|
}
|
|
@@ -909,6 +909,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
909
909
|
* screen width range: <code>sapUiMedia-3Step-<i>NAME_OF_THE_INTERVAL</i></code>.
|
|
910
910
|
*
|
|
911
911
|
* @name sap.ui.Device.media.RANGESETS.SAP_3STEPS
|
|
912
|
+
* @type string
|
|
912
913
|
* @public
|
|
913
914
|
*/
|
|
914
915
|
/**
|
|
@@ -928,6 +929,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
928
929
|
* screen width range: <code>sapUiMedia-4Step-<i>NAME_OF_THE_INTERVAL</i></code>.
|
|
929
930
|
*
|
|
930
931
|
* @name sap.ui.Device.media.RANGESETS.SAP_4STEPS
|
|
932
|
+
* @type string
|
|
931
933
|
* @public
|
|
932
934
|
*/
|
|
933
935
|
/**
|
|
@@ -949,6 +951,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
949
951
|
* screen width range: <code>sapUiMedia-6Step-<i>NAME_OF_THE_INTERVAL</i></code>.
|
|
950
952
|
*
|
|
951
953
|
* @name sap.ui.Device.media.RANGESETS.SAP_6STEPS
|
|
954
|
+
* @type string
|
|
952
955
|
* @public
|
|
953
956
|
*/
|
|
954
957
|
/**
|
|
@@ -976,6 +979,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
976
979
|
* </ul>
|
|
977
980
|
*
|
|
978
981
|
* @name sap.ui.Device.media.RANGESETS.SAP_STANDARD
|
|
982
|
+
* @type string
|
|
979
983
|
* @public
|
|
980
984
|
*/
|
|
981
985
|
|
|
@@ -996,6 +1000,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
996
1000
|
* screen width range: <code>sapUiMedia-StdExt-<i>NAME_OF_THE_INTERVAL</i></code>.
|
|
997
1001
|
*
|
|
998
1002
|
* @name sap.ui.Device.media.RANGESETS.SAP_STANDARD_EXTENDED
|
|
1003
|
+
* @type string
|
|
999
1004
|
* @public
|
|
1000
1005
|
*/
|
|
1001
1006
|
|
package/src/sap/ui/Global.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* sap.ui.lazyRequire("sap.ui.core.Control");
|
|
19
19
|
* sap.ui.lazyRequire("sap.m.Button");
|
|
20
20
|
*
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.114.0
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* The <code>sap</code> namespace is automatically registered with the
|
|
50
50
|
* OpenAjax hub if it exists.
|
|
51
51
|
*
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.114.0
|
|
53
53
|
* @namespace
|
|
54
54
|
* @public
|
|
55
55
|
* @name sap
|
|
@@ -62,7 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
* The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
|
|
63
63
|
* point for UI related JavaScript functionality provided by SAP.
|
|
64
64
|
*
|
|
65
|
-
* @version 1.
|
|
65
|
+
* @version 1.114.0
|
|
66
66
|
* @namespace
|
|
67
67
|
* @name sap.ui
|
|
68
68
|
* @public
|
|
@@ -76,7 +76,7 @@ sap.ui.define([
|
|
|
76
76
|
* The version of the SAP UI Library
|
|
77
77
|
* @type string
|
|
78
78
|
*/
|
|
79
|
-
version: "1.
|
|
79
|
+
version: "1.114.0",
|
|
80
80
|
// buildinfo.lastchange is deprecated and is therefore defaulted to empty string
|
|
81
81
|
buildinfo : { lastchange : "", buildtime : "${buildtime}" }
|
|
82
82
|
});
|
|
@@ -228,21 +228,50 @@ sap.ui.define([
|
|
|
228
228
|
bindContext: false
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
231
|
+
var fnInstantiateType = function(TypeClass) {
|
|
232
|
+
if (typeof TypeClass === "function") {
|
|
233
|
+
o.type = new TypeClass(o.formatOptions, o.constraints);
|
|
234
|
+
} else {
|
|
235
|
+
o.type = TypeClass;
|
|
236
|
+
}
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
if (!o.type) {
|
|
239
|
+
Log.error("Failed to resolve type '" + sType + "'. Maybe not loaded or a typo?");
|
|
240
|
+
}
|
|
241
241
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
// TODO why are formatOptions and constraints also removed for an already instantiated type?
|
|
243
|
+
// TODO why is a value of type object not validated (instanceof Type)
|
|
244
|
+
delete o.formatOptions;
|
|
245
|
+
delete o.constraints;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
if (oEnv.aTypePromises) {
|
|
249
|
+
var pType;
|
|
250
|
+
|
|
251
|
+
// FNType is either:
|
|
252
|
+
// a) a function
|
|
253
|
+
// * a lazy-stub
|
|
254
|
+
// * a regular constructor function
|
|
255
|
+
// b) an object that must implement Type interface (we take this "as-is")
|
|
256
|
+
// c) undefined, we try to interpret the original string as a module name then
|
|
257
|
+
if (typeof FNType === "function" && !FNType._sapUiLazyLoader ||
|
|
258
|
+
FNType && typeof FNType === "object") {
|
|
259
|
+
pType = Promise.resolve(fnInstantiateType(FNType));
|
|
260
|
+
} else {
|
|
261
|
+
// load type asynchronously
|
|
262
|
+
pType = new Promise(function(fnResolve, fnReject) {
|
|
263
|
+
sap.ui.require([sType.replace(/\./g, "/")], fnResolve, fnReject);
|
|
264
|
+
}).catch(function(oError){
|
|
265
|
+
// [Compatibility]: We must not throw an error during type creation (except constructor failures!).
|
|
266
|
+
// We catch any require() rejection and log the error.
|
|
267
|
+
Log.error(oError);
|
|
268
|
+
}).then(fnInstantiateType);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
oEnv.aTypePromises.push(pType);
|
|
272
|
+
} else {
|
|
273
|
+
fnInstantiateType(FNType);
|
|
274
|
+
}
|
|
246
275
|
}
|
|
247
276
|
}
|
|
248
277
|
|
|
@@ -382,12 +411,24 @@ sap.ui.define([
|
|
|
382
411
|
};
|
|
383
412
|
}
|
|
384
413
|
|
|
385
|
-
BindingParser.simpleParser = function(sString
|
|
414
|
+
BindingParser.simpleParser = function(sString) {
|
|
415
|
+
// The simpleParser only needs the first string argument and additionally in the async case the 7th one.
|
|
416
|
+
// see "BindingParser.complexParser" for the other arguments
|
|
417
|
+
var bResolveTypesAsync = arguments[7];
|
|
386
418
|
|
|
419
|
+
var oBindingInfo;
|
|
387
420
|
if ( sString.startsWith("{") && sString.endsWith("}") ) {
|
|
388
|
-
|
|
421
|
+
oBindingInfo = makeSimpleBindingInfo(sString.slice(1, -1));
|
|
389
422
|
}
|
|
390
423
|
|
|
424
|
+
if (bResolveTypesAsync) {
|
|
425
|
+
return {
|
|
426
|
+
bindingInfo: oBindingInfo,
|
|
427
|
+
resolved: Promise.resolve()
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
return oBindingInfo;
|
|
391
432
|
};
|
|
392
433
|
|
|
393
434
|
BindingParser.simpleParser.escape = function(sValue) {
|
|
@@ -408,9 +449,12 @@ sap.ui.define([
|
|
|
408
449
|
* globally
|
|
409
450
|
* @param {object} [mLocals]
|
|
410
451
|
* variables allowed in the expression as map of variable name to its value
|
|
452
|
+
* @param {boolean} [bResolveTypesAsync]
|
|
453
|
+
* whether the Type classes should be resolved asynchronously.
|
|
454
|
+
* The parsing result is enriched with an additional Promise capturing all transitive Type loading.
|
|
411
455
|
*/
|
|
412
456
|
BindingParser.complexParser = function(sString, oContext, bUnescape,
|
|
413
|
-
bTolerateFunctionsNotFound, bStaticContext, bPreferContext, mLocals) {
|
|
457
|
+
bTolerateFunctionsNotFound, bStaticContext, bPreferContext, mLocals, bResolveTypesAsync) {
|
|
414
458
|
var b2ndLevelMergedNeeded = false, // whether some 2nd level parts again have parts
|
|
415
459
|
oBindingInfo = {parts:[]},
|
|
416
460
|
bMergeNeeded = false, // whether some top-level parts again have parts
|
|
@@ -420,7 +464,8 @@ sap.ui.define([
|
|
|
420
464
|
aFunctionsNotFound: undefined, // lazy creation
|
|
421
465
|
bPreferContext : bPreferContext,
|
|
422
466
|
bStaticContext: bStaticContext,
|
|
423
|
-
bTolerateFunctionsNotFound: bTolerateFunctionsNotFound
|
|
467
|
+
bTolerateFunctionsNotFound: bTolerateFunctionsNotFound,
|
|
468
|
+
aTypePromises: bResolveTypesAsync ? [] : undefined
|
|
424
469
|
},
|
|
425
470
|
aFragments = [],
|
|
426
471
|
bUnescaped,
|
|
@@ -543,9 +588,25 @@ sap.ui.define([
|
|
|
543
588
|
if (oEnv.aFunctionsNotFound) {
|
|
544
589
|
oBindingInfo.functionsNotFound = oEnv.aFunctionsNotFound;
|
|
545
590
|
}
|
|
591
|
+
|
|
592
|
+
if (bResolveTypesAsync) {
|
|
593
|
+
// parse result contains additionally a Promise with all asynchronously loaded types
|
|
594
|
+
return {
|
|
595
|
+
bindingInfo: oBindingInfo,
|
|
596
|
+
resolved: Promise.all(oEnv.aTypePromises)
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
|
|
546
600
|
return oBindingInfo;
|
|
547
601
|
} else if ( bUnescape && bUnescaped ) {
|
|
548
|
-
|
|
602
|
+
var sResult = aFragments.join('');
|
|
603
|
+
if (bResolveTypesAsync) {
|
|
604
|
+
return {
|
|
605
|
+
bindingInfo: sResult,
|
|
606
|
+
resolved: Promise.resolve()
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
return sResult;
|
|
549
610
|
}
|
|
550
611
|
|
|
551
612
|
};
|
package/src/sap/ui/base/Event.js
CHANGED
|
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
|
|
|
28
28
|
* no internals of the class can be accessed.
|
|
29
29
|
*
|
|
30
30
|
* @author Malte Wedel, Daniel Brinkmann
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.114.0
|
|
32
32
|
* @param {sap.ui.base.Object} oObject
|
|
33
33
|
* Object for which a facade should be created
|
|
34
34
|
* @param {string[]} aMethods
|
|
@@ -253,7 +253,7 @@ sap.ui.define([
|
|
|
253
253
|
*
|
|
254
254
|
* @extends sap.ui.base.EventProvider
|
|
255
255
|
* @author SAP SE
|
|
256
|
-
* @version 1.
|
|
256
|
+
* @version 1.114.0
|
|
257
257
|
* @public
|
|
258
258
|
* @alias sap.ui.base.ManagedObject
|
|
259
259
|
*/
|
|
@@ -1010,7 +1010,7 @@ sap.ui.define([
|
|
|
1010
1010
|
*
|
|
1011
1011
|
* @param {sap.ui.base.ManagedObject|object} vData
|
|
1012
1012
|
* The data to create the object from
|
|
1013
|
-
* @param {
|
|
1013
|
+
* @param {sap.ui.base.ManagedObject.MetadataOptions.Aggregation} [oKeyInfo]
|
|
1014
1014
|
* Info object for the aggregation to which the created object will be added;
|
|
1015
1015
|
* serves as a fallback for determining the type of the object to be created
|
|
1016
1016
|
* @param {object} [oScope]
|
|
@@ -1628,7 +1628,7 @@ sap.ui.define([
|
|
|
1628
1628
|
* If no origin info is available, <code>null</code> will be returned.
|
|
1629
1629
|
*
|
|
1630
1630
|
* @param {string} sPropertyName Name of the property
|
|
1631
|
-
* @returns {
|
|
1631
|
+
* @returns {{source: string, locale: string}}|null} An object describing the origin of this property's value or <code>null</code>
|
|
1632
1632
|
* @public
|
|
1633
1633
|
*/
|
|
1634
1634
|
ManagedObject.prototype.getOriginInfo = function(sPropertyName) {
|
|
@@ -1722,8 +1722,8 @@ sap.ui.define([
|
|
|
1722
1722
|
* Use the concrete method get<i>XYZ</i> for association 'XYZ' instead.
|
|
1723
1723
|
*
|
|
1724
1724
|
* @param {string} sAssociationName the name of the association
|
|
1725
|
-
* @param {
|
|
1726
|
-
* the
|
|
1725
|
+
* @param {null|Array} oDefaultForCreation
|
|
1726
|
+
* the value that is used in case the current aggregation is empty (only null or empty array is allowed)
|
|
1727
1727
|
* @returns {string | string[] | null} the ID of the associated managed object or an array of such IDs; may be null if the association has not been populated
|
|
1728
1728
|
* @protected
|
|
1729
1729
|
*/
|
|
@@ -2034,7 +2034,7 @@ sap.ui.define([
|
|
|
2034
2034
|
*
|
|
2035
2035
|
* @param {string}
|
|
2036
2036
|
* sAggregationName name of an 0..1 aggregation
|
|
2037
|
-
* @param {
|
|
2037
|
+
* @param {sap.ui.base.ManagedObject}
|
|
2038
2038
|
* oObject the managed object that is set as aggregated object
|
|
2039
2039
|
* @param {boolean}
|
|
2040
2040
|
* [bSuppressInvalidate] if true, this ManagedObject is not marked as changed
|
|
@@ -3062,8 +3062,9 @@ sap.ui.define([
|
|
|
3062
3062
|
*
|
|
3063
3063
|
* @param {string} sName Name of the property or aggregation
|
|
3064
3064
|
*
|
|
3065
|
-
* @returns {
|
|
3066
|
-
*
|
|
3065
|
+
* @returns {sap.ui.base.ManagedObject.PropertyBindingInfo|sap.ui.base.ManagedObject.AggregationBindingInfo}
|
|
3066
|
+
* A binding info object, containing at least a <code>path</code> or <code>parts</code> property and, depending on
|
|
3067
|
+
* the binding type, additional properties
|
|
3067
3068
|
*
|
|
3068
3069
|
* @protected
|
|
3069
3070
|
*/
|
|
@@ -3305,7 +3306,7 @@ sap.ui.define([
|
|
|
3305
3306
|
* parameters depend on the model implementation, they should be documented with the
|
|
3306
3307
|
* <code>bindProperty</code> method of the corresponding model class or with the model specific
|
|
3307
3308
|
* subclass of <code>sap.ui.model.PropertyBinding</code>
|
|
3308
|
-
* @property {
|
|
3309
|
+
* @property {Object<string,function>} [events=null]
|
|
3309
3310
|
* Map of event handler functions keyed by the name of the binding events that they should be attached to
|
|
3310
3311
|
* @property {Array<string|sap.ui.base.ManagedObject.PropertyBindingInfo>} [parts]
|
|
3311
3312
|
* Array of binding info objects for the parts of a composite binding; the structure of
|
|
@@ -3565,7 +3566,7 @@ sap.ui.define([
|
|
|
3565
3566
|
* will be destroyed, and when this <code>ManagedObject</code> is cloned, the template will be cloned
|
|
3566
3567
|
* as well; the third option (<code>undefined</code>) only exists for compatibility reasons, its behavior
|
|
3567
3568
|
* is not fully reliable and it may leak the template
|
|
3568
|
-
* @property {function} [factory]
|
|
3569
|
+
* @property {function(string, sap.ui.model.Context):sap.ui.base.ManagedObject} [factory]
|
|
3569
3570
|
* A factory function that will be called to create an object for each item in the aggregation;
|
|
3570
3571
|
* this is an alternative to providing a template object and can be used when the objects should differ
|
|
3571
3572
|
* depending on the binding context; the factory function will be called with two parameters: an ID that
|
|
@@ -3581,7 +3582,7 @@ sap.ui.define([
|
|
|
3581
3582
|
* The initial sort order (optional)
|
|
3582
3583
|
* @property {sap.ui.model.Filter|sap.ui.model.Filter[]} [filters]
|
|
3583
3584
|
* The predefined filters for this aggregation (optional)
|
|
3584
|
-
* @property {string|function} [key]
|
|
3585
|
+
* @property {string|function(sap.ui.model.Context):string} [key]
|
|
3585
3586
|
* Name of the key property or a function getting the context as only parameter to calculate a key
|
|
3586
3587
|
* for entries. This can be used to improve update behaviour in models, where a key is not already
|
|
3587
3588
|
* available.
|
|
@@ -3590,7 +3591,7 @@ sap.ui.define([
|
|
|
3590
3591
|
* parameters depend on the model implementation, they should be documented with the
|
|
3591
3592
|
* <code>bindList</code> method of the corresponding model class or with the model specific
|
|
3592
3593
|
* subclass of <code>sap.ui.model.ListBinding</code>
|
|
3593
|
-
* @property {function} [groupHeaderFactory]
|
|
3594
|
+
* @property {function({key: string}):sap.ui.base.ManagedObject} [groupHeaderFactory]
|
|
3594
3595
|
* A factory function to generate custom group visualization (optional). It should return a
|
|
3595
3596
|
* control suitable to visualize a group header (e.g. a <code>sap.m.GroupHeaderListItem</code>
|
|
3596
3597
|
* for a <code>sap.m.List</code>).
|