@openui5/sap.ui.core 1.113.0 → 1.114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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/reflection/BaseTreeModifier.js +3 -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 +6 -2
- package/src/sap/ui/model/odata/v4/ODataBinding.js +5 -3
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +7 -25
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +90 -24
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +4 -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 +17 -12
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +15 -3
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +14 -0
- 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
|
@@ -73,219 +73,10 @@ sap.ui.define([
|
|
|
73
73
|
* If you are using a component and add the routing.targets <b>do not set this parameter</b>,
|
|
74
74
|
* since the component will set the rootView to the view created by the {@link sap.ui.core.UIComponent#createContent} function.
|
|
75
75
|
* If you specify the "parent" property of a target, the control will not be searched in the root view but in the view Created by the parent (see parent documentation).
|
|
76
|
-
* @param {boolean} [oOptions.config.async=false] @since 1.34 Whether the views which are created through this Targets are loaded
|
|
76
|
+
* @param {boolean} [oOptions.config.async=false] @since 1.34 Whether the views which are created through this Targets are loaded asynchronously. This option can be set only when the Targets
|
|
77
77
|
* is used standalone without the involvement of a Router. Otherwise the async option is inherited from the Router.
|
|
78
78
|
|
|
79
|
-
* @param {
|
|
80
|
-
* @param {object} oOptions.targets.anyName a new target, the key severs as a name. An example:
|
|
81
|
-
* <pre>
|
|
82
|
-
* <code>
|
|
83
|
-
* {
|
|
84
|
-
* targets: {
|
|
85
|
-
* welcome: {
|
|
86
|
-
* type: "View",
|
|
87
|
-
* name: "Welcome",
|
|
88
|
-
* viewType: "XML",
|
|
89
|
-
* ....
|
|
90
|
-
* // Other target parameters
|
|
91
|
-
* },
|
|
92
|
-
* goodbye: {
|
|
93
|
-
* type: "Component",
|
|
94
|
-
* usage: "myreuse",
|
|
95
|
-
* containerSettings: {
|
|
96
|
-
* // settings for the component container
|
|
97
|
-
* }
|
|
98
|
-
* ....
|
|
99
|
-
* // Other target parameters
|
|
100
|
-
* }
|
|
101
|
-
* }
|
|
102
|
-
* }
|
|
103
|
-
* </code>
|
|
104
|
-
* </pre>
|
|
105
|
-
*
|
|
106
|
-
* This will create two targets named 'welcome' and 'goodbye' you can display both of them or one of them using the {@link #display} function.
|
|
107
|
-
*
|
|
108
|
-
* The 'welcome' target creates a View instance when it's displayed. The 'goodbye' target creates a Component instance.<br/>
|
|
109
|
-
*
|
|
110
|
-
* The settings for the Component are defined in the manifest of the owner component of the router under path '/sap.ui5/componentUsages' and it can be used in the target by setting the 'usage' option with the name in the 'componentUsages'.<br/>
|
|
111
|
-
* See the following manifest.json example of the owner component. There's a component settings object defined with name "myreuse" which can be used to set the "usage" option in a target's configuration.
|
|
112
|
-
* <pre>
|
|
113
|
-
* <code>
|
|
114
|
-
* {
|
|
115
|
-
* "sap.ui5": {
|
|
116
|
-
* "componentUsages": {
|
|
117
|
-
* "myreuse": {
|
|
118
|
-
* "name": "reuse.component",
|
|
119
|
-
* "settings": {},
|
|
120
|
-
* "componentData": {},
|
|
121
|
-
* "lazy": false,
|
|
122
|
-
* }
|
|
123
|
-
* }
|
|
124
|
-
* }
|
|
125
|
-
* }
|
|
126
|
-
* </code>
|
|
127
|
-
* </pre>
|
|
128
|
-
*
|
|
129
|
-
* @param {string} oOptions.targets.anyName.type Defines whether the target creates an instance of 'View' or 'Component'.
|
|
130
|
-
* @param {string} [oOptions.targets.anyName.name] Defines the name of the View or Component that will be
|
|
131
|
-
* created. For type 'Component', use option 'usage' instead if an owner component exists.
|
|
132
|
-
* To place the view or component into a Control, use the options <code>controlAggregation</code> and
|
|
133
|
-
* <code>controlId</code>. Instance of View or Component will only be created once per <code>name</code> or
|
|
134
|
-
* <code>usage</code> combined with <code>id</code>.
|
|
135
|
-
* <pre>
|
|
136
|
-
* <code>
|
|
137
|
-
* {
|
|
138
|
-
* targets: {
|
|
139
|
-
* // If display("masterWelcome") is called, the master view will be placed in the 'MasterPages' of a control with the id splitContainter
|
|
140
|
-
* masterWelcome: {
|
|
141
|
-
* type: "View",
|
|
142
|
-
* name: "Welcome",
|
|
143
|
-
* controlId: "splitContainer",
|
|
144
|
-
* controlAggregation: "masterPages"
|
|
145
|
-
* },
|
|
146
|
-
* // If display("detailWelcome") is called after the masterWelcome, the view will be removed from the master pages and added to the detail pages, since the same instance is used. Also the controls inside of the view will have the same state.
|
|
147
|
-
* detailWelcome: {
|
|
148
|
-
* // same view here, that's why the same instance is used
|
|
149
|
-
* type: "View",
|
|
150
|
-
* name: "Welcome",
|
|
151
|
-
* controlId: "splitContainer",
|
|
152
|
-
* controlAggregation: "detailPages"
|
|
153
|
-
* }
|
|
154
|
-
* }
|
|
155
|
-
* }
|
|
156
|
-
* </code>
|
|
157
|
-
* </pre>
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* If you want to have a second instance of the 'welcome' view you can set different 'id' to the targets:
|
|
161
|
-
*
|
|
162
|
-
* <pre>
|
|
163
|
-
* <code>
|
|
164
|
-
* {
|
|
165
|
-
* targets: {
|
|
166
|
-
* // If display("masterWelcome") is called, the view with name "Welcome" will be placed in the 'MasterPages' of a control with the id splitContainter
|
|
167
|
-
* masterWelcome: {
|
|
168
|
-
* type: "View",
|
|
169
|
-
* name: "Welcome",
|
|
170
|
-
* id: "masterWelcome",
|
|
171
|
-
* controlId: "splitContainer",
|
|
172
|
-
* controlAggregation: "masterPages"
|
|
173
|
-
* },
|
|
174
|
-
* // If display("detailWelcome") is called after the "masterWelcome" target, a second instance of the same view with its own controller instance will be added in the detail pages.
|
|
175
|
-
* detailWelcome: {
|
|
176
|
-
* type: "View",
|
|
177
|
-
* name: "Welcome",
|
|
178
|
-
* // another instance will be created because a different id is used
|
|
179
|
-
* id: "detailWelcome",
|
|
180
|
-
* controlId: "splitContainer",
|
|
181
|
-
* controlAggregation: "detailPages"
|
|
182
|
-
* }
|
|
183
|
-
* }
|
|
184
|
-
* }
|
|
185
|
-
* </code>
|
|
186
|
-
* </pre>
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* @param {string} [oOptions.targets.anyName.usage] Defines the 'usage' name for 'Component' target which refers to the '/sap.ui5/componentUsages' entry in the owner component's manifest.
|
|
190
|
-
* @param {string} [oOptions.targets.anyName.viewType=oOptions.config.viewType] The type of the view that is going to be created. These are the supported types: {@link sap.ui.core.mvc.ViewType}.
|
|
191
|
-
* You always have to provide a viewType except if <code>oOptions.config.viewType</code> is set or when using {@link sap.ui.core.routing.Views#setView}.
|
|
192
|
-
* @param {string} [oOptions.targets.anyName.path]
|
|
193
|
-
* A prefix that will be prepended in front of the <code>name</code>.<br/>
|
|
194
|
-
* <b>Example:</b> <code>name</code> is set to "myView" and <code>path</code> is set to "myApp" - the created view's name will be "myApp.myView".
|
|
195
|
-
* @param {string} [oOptions.targets.anyName.id] The ID of the created instance.
|
|
196
|
-
* This is will be prefixed with the id of the component set to the views instance provided in oOptions.views. For details see {@link sap.ui.core.routing.Views#getView}.
|
|
197
|
-
* @param {string} [oOptions.targets.anyName.targetParent]
|
|
198
|
-
* The id of the parent of the controlId - This should be the id of the view that contains your controlId,
|
|
199
|
-
* since the target control will be retrieved by calling the {@link sap.ui.core.mvc.View#byId} function of the targetParent. By default,
|
|
200
|
-
* this will be the view created by a component, so you do not have to provide this parameter.
|
|
201
|
-
* If you are using children, the view created by the parent of the child is taken.
|
|
202
|
-
* You only need to specify this, if you are not using a Targets instance created by a component
|
|
203
|
-
* and you should give the id of root view of your application to this property.
|
|
204
|
-
* @param {string} [oOptions.targets.anyName.controlId] The ID of the control where you want to place the instance created by this target. You also need to set "controlAggregation" property to specify to which aggregation of the control should the created instance be added.
|
|
205
|
-
* An example for containers are {@link sap.ui.ux3.Shell} with the aggregation 'content' or a {@link sap.m.NavContainer} with the aggregation 'pages'.
|
|
206
|
-
*
|
|
207
|
-
* @param {string} [oOptions.targets.anyName.controlAggregation] The name of an aggregation of the controlId, where the created instance from the target will be added.
|
|
208
|
-
* Eg: a {@link sap.m.NavContainer} has an aggregation 'pages', another Example is the {@link sap.ui.ux3.Shell} it has 'content'.
|
|
209
|
-
* @param {boolean} [oOptions.targets.anyName.clearControlAggregation] Defines a boolean that can be passed to specify if the aggregation should be cleared
|
|
210
|
-
* - all items will be removed - before adding the View to it.
|
|
211
|
-
* When using a {@link sap.ui.ux3.Shell} this should be true. For a {@link sap.m.NavContainer} it should be false. When you use the {@link sap.m.routing.Router} the default will be false.
|
|
212
|
-
* @param {string} [oOptions.targets.anyName.parent] A reference to another target, using the name of the target.
|
|
213
|
-
* If you display a target that has a parent, the parent will also be displayed.
|
|
214
|
-
* Also the control you specify with the controlId parameter, will be searched inside of the created instance of the parent not in the rootView, provided in the config.
|
|
215
|
-
* The control will be searched using the byId function of a view. When it is not found, the global id is checked.
|
|
216
|
-
* <br/>
|
|
217
|
-
* The main usecase for the parent property is placing a view or component inside a smaller container of an instance, which is also created by targets.
|
|
218
|
-
* This is useful for lazy loading views or components, only if the user really navigates to this part of your application.
|
|
219
|
-
* <br/>
|
|
220
|
-
* <b>Example:</b>
|
|
221
|
-
* Our aim is to lazy load a tab of an IconTabBar (a control that displays a view initially and when a user clicks on it the view changes).
|
|
222
|
-
* It's a perfect candidate to lazy load something inside of it.
|
|
223
|
-
* <br/>
|
|
224
|
-
* <b>Example app structure:</b><br/>
|
|
225
|
-
* We have a rootView that is returned by the createContent function of our UIComponent. This view contains an sap.m.App control with the id 'myApp'
|
|
226
|
-
* <pre>
|
|
227
|
-
* <code>
|
|
228
|
-
* <View xmlns="sap.m">
|
|
229
|
-
* <App id="myApp"/>
|
|
230
|
-
* </View>
|
|
231
|
-
* </code>
|
|
232
|
-
* </pre>
|
|
233
|
-
* an xml view called 'Detail'
|
|
234
|
-
* <pre>
|
|
235
|
-
* <code>
|
|
236
|
-
* <View xmlns="sap.m">
|
|
237
|
-
* <IconTabBar>
|
|
238
|
-
* <items>
|
|
239
|
-
* <IconTabFilter>
|
|
240
|
-
* <!-- content of our first tab -->
|
|
241
|
-
* <IconTabFilter>
|
|
242
|
-
* <IconTabFilter id="mySecondTab">
|
|
243
|
-
* <!-- nothing here, since we will lazy load this one with a target -->
|
|
244
|
-
* <IconTabFilter>
|
|
245
|
-
* </items>
|
|
246
|
-
* </IconTabBar>
|
|
247
|
-
* </View>
|
|
248
|
-
* </code>
|
|
249
|
-
* </pre>
|
|
250
|
-
* and a view called 'SecondTabContent', this one contains our content we want to have lazy loaded.
|
|
251
|
-
* Now we need to create our Targets instance with a config matching our app:
|
|
252
|
-
* <pre>
|
|
253
|
-
* <code>
|
|
254
|
-
* new Targets({
|
|
255
|
-
* //Creates our views except for root, we created this one before - when using a component you
|
|
256
|
-
* views: new Views(),
|
|
257
|
-
* config: {
|
|
258
|
-
* // all of our views have that type
|
|
259
|
-
* viewType: 'XML',
|
|
260
|
-
* // a reference to the app control in the rootView created by our UIComponent
|
|
261
|
-
* controlId: 'myApp',
|
|
262
|
-
* // An app has a pages aggregation where the views need to be put into
|
|
263
|
-
* controlAggregation: 'pages'
|
|
264
|
-
* },
|
|
265
|
-
* targets: {
|
|
266
|
-
* detail: {
|
|
267
|
-
* type: "View",
|
|
268
|
-
* name: 'Detail'
|
|
269
|
-
* },
|
|
270
|
-
* secondTabContent: {
|
|
271
|
-
* // A reference to the detail target defined above
|
|
272
|
-
* parent: 'detail',
|
|
273
|
-
* // A reference to the second Tab container in the Detail view. Here the target does not look in the rootView, it looks in the Parent view (Detail).
|
|
274
|
-
* controlId: 'mySecondTab',
|
|
275
|
-
* // An IconTabFilter has an aggregation called content so we need to overwrite the pages set in the config as default.
|
|
276
|
-
* controlAggregation: 'content',
|
|
277
|
-
* // A view containing the content
|
|
278
|
-
* type: "View",
|
|
279
|
-
* name: 'SecondTabContent'
|
|
280
|
-
* }
|
|
281
|
-
* }
|
|
282
|
-
* });
|
|
283
|
-
* </code>
|
|
284
|
-
* </pre>
|
|
285
|
-
*
|
|
286
|
-
* Now if we call <code> oTargets.display("secondTabContent") </code>, 2 views will be created: Detail and SecondTabContent.
|
|
287
|
-
* The 'Detail' view will be put into the pages aggregation of the App. And afterwards the 'SecondTabContent' view will be put into the content Aggregation of the second IconTabFilter.
|
|
288
|
-
* So a parent will always be created before the target referencing it.
|
|
79
|
+
* @param {Object<string,sap.ui.core.routing.$TargetSettings>} oOptions.targets One or multiple targets in a map.
|
|
289
80
|
*
|
|
290
81
|
* @since 1.28.1
|
|
291
82
|
* @public
|
|
@@ -402,7 +193,7 @@ sap.ui.define([
|
|
|
402
193
|
* @param {object} [oData] an object that will be passed to the display event in the data property. If the target has parents, the data will also be passed to them.
|
|
403
194
|
* @param {string} [sTitleTarget] the name of the target from which the title option is taken for firing the {@link sap.ui.core.routing.Targets#event:titleChanged titleChanged} event
|
|
404
195
|
* @public
|
|
405
|
-
* @returns {sap.ui.core.routing.
|
|
196
|
+
* @returns {this|Promise<Array<{name: string, view: sap.ui.core.mvc.View, control: sap.ui.core.Control, targetInfo: sap.ui.core.routing.TargetInfo}>>} this pointer for chaining or a Promise
|
|
406
197
|
* @name sap.ui.core.routing.Targets#display
|
|
407
198
|
* @function
|
|
408
199
|
*/
|
|
@@ -462,7 +253,7 @@ sap.ui.define([
|
|
|
462
253
|
* an error log will be written to the console.
|
|
463
254
|
*
|
|
464
255
|
* @param {string} sName Name of a target
|
|
465
|
-
* @param {
|
|
256
|
+
* @param {sap.ui.core.routing.$TargetSettings} oTargetOptions Options of a target. The option names are the same as the ones in "oOptions.targets.anyName" of {@link #constructor}.
|
|
466
257
|
* @returns {this} Reference to <code>this</code> in order to allow method chaining
|
|
467
258
|
* @public
|
|
468
259
|
*
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* So you can retrieve the view later by calling the {@link sap.ui.core.UIComponent#byId} function of the UIComponent.
|
|
65
65
|
*
|
|
66
66
|
* @param {string} oOptions.viewName If you do not use setView please see {@link sap.ui.view} for the documentation. This is used as a key in the cache of the Views instance. If you want to retrieve a view that has been given an alternative name in {@link #setView} you need to provide the same name here and you can skip all the other viewOptions.
|
|
67
|
-
* @return {Promise} A promise that is resolved when the view is loaded {@link sap.ui.core.mvc.View#loaded}. The view instance will be passed to the promise.
|
|
67
|
+
* @return {Promise<sap.ui.core.mvc.View>} A promise that is resolved when the view is loaded {@link sap.ui.core.mvc.View#loaded}. The view instance will be passed to the promise.
|
|
68
68
|
* @public
|
|
69
69
|
*/
|
|
70
70
|
getView: function(oOptions) {
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
29
29
|
* @extends sap.ui.core.search.SearchProvider
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.114.1
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
* @alias sap.ui.core.search.OpenSearchProvider
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
23
23
|
*
|
|
24
24
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.114.1
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.search.SearchProvider
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.base.Object
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.114.1
|
|
87
87
|
* @alias sap.ui.core.service.ServiceFactory
|
|
88
88
|
* @private
|
|
89
89
|
* @ui5-restricted sap.ushell
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
34
34
|
*
|
|
35
35
|
* @extends sap.ui.base.EventProvider
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.114.1
|
|
37
37
|
* @private
|
|
38
38
|
* @alias sap.ui.core.support.Support
|
|
39
39
|
*/
|
|
@@ -17,7 +17,8 @@ sap.ui.define([
|
|
|
17
17
|
'sap/m/Link',
|
|
18
18
|
'sap/ui/core/HTML',
|
|
19
19
|
'sap/ui/core/Title',
|
|
20
|
-
"sap/ui/thirdparty/jquery"
|
|
20
|
+
"sap/ui/thirdparty/jquery",
|
|
21
|
+
'sap/ui/core/date/UI5Date'
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
23
24
|
ManagedObject,
|
|
@@ -32,7 +33,8 @@ sap.ui.define([
|
|
|
32
33
|
Link,
|
|
33
34
|
HTML,
|
|
34
35
|
Title,
|
|
35
|
-
jQuery
|
|
36
|
+
jQuery,
|
|
37
|
+
UI5Date
|
|
36
38
|
) {
|
|
37
39
|
'use strict';
|
|
38
40
|
|
|
@@ -1089,7 +1091,7 @@ sap.ui.define([
|
|
|
1089
1091
|
|
|
1090
1092
|
InteractionTree.prototype.formatTime = function (now) {
|
|
1091
1093
|
|
|
1092
|
-
var oNow =
|
|
1094
|
+
var oNow = UI5Date.getInstance(now);
|
|
1093
1095
|
|
|
1094
1096
|
return this.pad0(oNow.getHours(), 2) + ":" + this.pad0(oNow.getMinutes(), 2) + ":" + this.pad0(oNow.getSeconds(), 2) + "." + this.pad0(oNow.getMilliseconds(), 3);
|
|
1095
1097
|
};
|
|
@@ -509,13 +509,13 @@ sap.ui.define(['sap/ui/Device', 'sap/ui/core/ElementMetadata', '../Plugin', "sap
|
|
|
509
509
|
|
|
510
510
|
return function() {
|
|
511
511
|
|
|
512
|
-
var time =
|
|
512
|
+
var time = Date.now();
|
|
513
513
|
|
|
514
514
|
/*eslint-disable no-debugger */
|
|
515
515
|
debugger;
|
|
516
516
|
/*eslint-enable no-debugger */
|
|
517
517
|
|
|
518
|
-
if (
|
|
518
|
+
if (Date.now() - time < 50) {
|
|
519
519
|
that._alertNoDebugger();
|
|
520
520
|
}
|
|
521
521
|
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
61
61
|
*
|
|
62
62
|
* @extends sap.ui.core.support.Plugin
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.114.1
|
|
64
64
|
* @private
|
|
65
65
|
* @alias sap.ui.core.support.plugins.ControlTree
|
|
66
66
|
*/
|
|
@@ -15,7 +15,8 @@ sap.ui.define([
|
|
|
15
15
|
'sap/ui/thirdparty/jszip',
|
|
16
16
|
'sap/ui/core/util/File',
|
|
17
17
|
"sap/ui/performance/trace/Interaction",
|
|
18
|
-
"sap/ui/performance/Measurement"
|
|
18
|
+
"sap/ui/performance/Measurement",
|
|
19
|
+
"sap/ui/core/date/UI5Date"
|
|
19
20
|
],
|
|
20
21
|
function(
|
|
21
22
|
jQuery,
|
|
@@ -27,7 +28,8 @@ sap.ui.define([
|
|
|
27
28
|
JSZip,
|
|
28
29
|
File,
|
|
29
30
|
TraceInteraction,
|
|
30
|
-
Measurement
|
|
31
|
+
Measurement,
|
|
32
|
+
UI5Date
|
|
31
33
|
) {
|
|
32
34
|
"use strict";
|
|
33
35
|
|
|
@@ -38,7 +40,7 @@ sap.ui.define([
|
|
|
38
40
|
* With this plugIn the performance measurements are displayed
|
|
39
41
|
*
|
|
40
42
|
* @extends sap.ui.core.support.Plugin
|
|
41
|
-
* @version 1.
|
|
43
|
+
* @version 1.114.1
|
|
42
44
|
* @private
|
|
43
45
|
* @alias sap.ui.core.support.plugins.Interaction
|
|
44
46
|
*/
|
|
@@ -60,7 +62,7 @@ sap.ui.define([
|
|
|
60
62
|
return ("000" + String(i)).slice(-w);
|
|
61
63
|
};
|
|
62
64
|
this._fnFormatTime = function(fNow) {
|
|
63
|
-
var oNow =
|
|
65
|
+
var oNow = UI5Date.getInstance(fNow),
|
|
64
66
|
iMicroSeconds = Math.floor((fNow - Math.floor(fNow)) * 1000);
|
|
65
67
|
return pad0(oNow.getHours(),2) + ":" + pad0(oNow.getMinutes(),2) + ":" + pad0(oNow.getSeconds(),2) + "." + pad0(oNow.getMilliseconds(),3) + pad0(iMicroSeconds,3);
|
|
66
68
|
};
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
|
|
|
15
15
|
* @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
16
16
|
*
|
|
17
17
|
* @extends sap.ui.core.support.Plugin
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.114.1
|
|
19
19
|
* @private
|
|
20
20
|
* @alias sap.ui.core.support.plugins.LocalStorage
|
|
21
21
|
*/
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ui.core.support.Plugin
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.114.1
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.core.support.plugins.Selector
|
|
26
26
|
*/
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
27
27
|
*
|
|
28
28
|
* @extends sap.ui.core.support.Plugin
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.114.1
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.ui.core.support.plugins.TechInfo
|
|
32
32
|
*/
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'sap/ui/core/support/Plugin',
|
|
10
10
|
'sap/ui/core/format/DateFormat',
|
|
11
|
+
'sap/ui/core/date/UI5Date',
|
|
11
12
|
"sap/base/Log",
|
|
12
13
|
"sap/base/security/encodeXML"
|
|
13
14
|
],
|
|
14
|
-
function(Plugin, DateFormat, Log, encodeXML) {
|
|
15
|
+
function(Plugin, DateFormat, UI5Date, Log, encodeXML) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
/**
|
|
@@ -19,7 +20,7 @@ sap.ui.define([
|
|
|
19
20
|
* @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
20
21
|
*
|
|
21
22
|
* @extends sap.ui.core.support.Plugin
|
|
22
|
-
* @version 1.
|
|
23
|
+
* @version 1.114.1
|
|
23
24
|
* @private
|
|
24
25
|
* @alias sap.ui.core.support.plugins.Trace
|
|
25
26
|
*/
|
|
@@ -228,7 +229,7 @@ sap.ui.define([
|
|
|
228
229
|
function getEntryHTML(oPlugin, oEntry){
|
|
229
230
|
var aLevelInfo = oEntry._levelInfo;
|
|
230
231
|
var sResult = "<div class='sapUiSupportTraceEntry'><span class='sapUiSupportTraceEntryLevel sapUiSupportTraceEntryLevel_" + aLevelInfo[0] + "'>" + aLevelInfo[0] +
|
|
231
|
-
"</span><span class='sapUiSupportTraceEntryTime'>" + oPlugin._oDateFormat.format(
|
|
232
|
+
"</span><span class='sapUiSupportTraceEntryTime'>" + oPlugin._oDateFormat.format(UI5Date.getInstance(oEntry.timestamp)) +
|
|
232
233
|
"</span><span class='sapUiSupportTraceEntryMessage'>" + encodeXML(oEntry.message || "") + "</div>";
|
|
233
234
|
return sResult;
|
|
234
235
|
}
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Creates an instance of sap.ui.core.support.plugins.ViewInfo.
|
|
20
20
|
* @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
21
21
|
* @extends sap.ui.core.support.Plugin
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.114.1
|
|
23
23
|
* @private
|
|
24
24
|
* @alias sap.ui.core.support.plugins.ViewInfo
|
|
25
25
|
*/
|