@openui5/sap.ui.core 1.117.0 → 1.118.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/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/Localization.js +42 -39
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/BindingParser.js +2 -1
- 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 +7 -3
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +9 -1
- package/src/sap/ui/core/AnimationMode.js +1 -1
- package/src/sap/ui/core/BlockLayerUtils.js +1 -1
- package/src/sap/ui/core/BusyIndicator.js +2 -2
- package/src/sap/ui/core/Component.js +22 -15
- package/src/sap/ui/core/ComponentContainer.js +2 -2
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +1 -13
- package/src/sap/ui/core/Control.js +21 -1
- package/src/sap/ui/core/Core.js +67 -41
- 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 +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +2 -2
- package/src/sap/ui/core/IndicationColorSupport.js +2 -2
- 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 +3 -6
- 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 +9 -13
- 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 +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Messaging.js +472 -0
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +3 -2
- package/src/sap/ui/core/ResizeHandler.js +1 -4
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ShortcutHint.js +1 -1
- package/src/sap/ui/core/Theming.js +28 -31
- 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 +85 -17
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +2 -2
- 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/_IconRegistry.js +1 -1
- package/src/sap/ui/core/boot.js +9 -0
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragAndDrop.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 +4 -0
- 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 +18 -47
- 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 +37 -459
- package/src/sap/ui/core/message/MessageMixin.js +3 -3
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +9 -9
- package/src/sap/ui/core/message/MessageType.js +53 -0
- package/src/sap/ui/core/messagebundle.properties +3 -0
- package/src/sap/ui/core/messagebundle_ar.properties +1 -1
- package/src/sap/ui/core/messagebundle_bg.properties +1 -1
- package/src/sap/ui/core/messagebundle_ca.properties +1 -1
- package/src/sap/ui/core/messagebundle_cs.properties +1 -1
- package/src/sap/ui/core/messagebundle_cy.properties +1 -1
- package/src/sap/ui/core/messagebundle_da.properties +1 -1
- package/src/sap/ui/core/messagebundle_de.properties +1 -1
- package/src/sap/ui/core/messagebundle_el.properties +1 -1
- package/src/sap/ui/core/messagebundle_es.properties +1 -1
- package/src/sap/ui/core/messagebundle_es_MX.properties +1 -1
- package/src/sap/ui/core/messagebundle_et.properties +1 -1
- package/src/sap/ui/core/messagebundle_fi.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr_CA.properties +1 -1
- package/src/sap/ui/core/messagebundle_hi.properties +1 -1
- package/src/sap/ui/core/messagebundle_hr.properties +1 -1
- package/src/sap/ui/core/messagebundle_hu.properties +1 -1
- package/src/sap/ui/core/messagebundle_id.properties +1 -1
- package/src/sap/ui/core/messagebundle_it.properties +1 -1
- package/src/sap/ui/core/messagebundle_iw.properties +1 -1
- package/src/sap/ui/core/messagebundle_ja.properties +1 -1
- package/src/sap/ui/core/messagebundle_kk.properties +1 -1
- package/src/sap/ui/core/messagebundle_ko.properties +1 -1
- package/src/sap/ui/core/messagebundle_lt.properties +1 -1
- package/src/sap/ui/core/messagebundle_lv.properties +1 -1
- package/src/sap/ui/core/messagebundle_ms.properties +1 -1
- package/src/sap/ui/core/messagebundle_nl.properties +1 -1
- package/src/sap/ui/core/messagebundle_no.properties +1 -1
- package/src/sap/ui/core/messagebundle_pl.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt_PT.properties +1 -1
- package/src/sap/ui/core/messagebundle_ro.properties +1 -1
- package/src/sap/ui/core/messagebundle_ru.properties +1 -1
- package/src/sap/ui/core/messagebundle_sh.properties +1 -1
- package/src/sap/ui/core/messagebundle_sk.properties +1 -1
- package/src/sap/ui/core/messagebundle_sl.properties +1 -1
- package/src/sap/ui/core/messagebundle_sv.properties +9 -9
- package/src/sap/ui/core/messagebundle_th.properties +1 -1
- package/src/sap/ui/core/messagebundle_tr.properties +1 -1
- package/src/sap/ui/core/messagebundle_uk.properties +1 -1
- package/src/sap/ui/core/messagebundle_vi.properties +1 -1
- package/src/sap/ui/core/messagebundle_zh_CN.properties +1 -1
- package/src/sap/ui/core/messagebundle_zh_TW.properties +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 +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +9 -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/Router.js +7 -1
- package/src/sap/ui/core/routing/async/Route.js +1 -0
- package/src/sap/ui/core/routing/sync/Route.js +1 -0
- 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 +25 -5
- package/src/sap/ui/core/support/Support.js +34 -4
- package/src/sap/ui/core/support/ToolsAPI.js +6 -16
- package/src/sap/ui/core/support/controls/InteractionTree.js +0 -4
- package/src/sap/ui/core/support/plugins/Breakpoint.js +0 -2
- package/src/sap/ui/core/support/plugins/ControlTree.js +10 -12
- package/src/sap/ui/core/support/plugins/Debugging.js +10 -9
- package/src/sap/ui/core/support/plugins/Interaction.js +12 -13
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -3
- package/src/sap/ui/core/support/plugins/Performance.js +1 -3
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +32 -42
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +27 -13
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +4 -4
- package/src/sap/ui/core/theming/ThemeHelper.js +100 -0
- package/src/sap/ui/core/theming/ThemeManager.js +18 -18
- 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/XMLPreprocessor.js +53 -29
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +659 -0
- package/src/sap/ui/core/webc/WebComponentMetadata.js +253 -0
- package/src/sap/ui/core/webc/WebComponentRenderer.js +323 -0
- 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 +4 -3
- package/src/sap/ui/debug/DebugEnv.js +4 -4
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/Binding.js +6 -6
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientPropertyBinding.js +3 -3
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/Context.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +4 -4
- 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/controlhelper/TreeBindingProxy.js +27 -13
- 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/ODataListBinding.js +24 -0
- package/src/sap/ui/model/odata/ODataMessageParser.js +4 -4
- 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/ODataTreeBindingFlat.js +6 -0
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +7 -2
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +6 -2
- 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/ODataListBinding.js +23 -3
- package/src/sap/ui/model/odata/v2/ODataModel.js +6 -6
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +33 -6
- package/src/sap/ui/model/odata/v4/Context.js +26 -16
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -2
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +62 -29
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +17 -10
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +5 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +129 -6
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +102 -57
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +30 -4
- package/src/sap/ui/model/odata/v4/lib/_Parser.js +3 -0
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +14 -4
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +28 -35
- package/src/sap/ui/model/odata/v4/ts.js +44 -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 +1 -1
- package/src/sap/ui/model/type/DateInterval.js +5 -4
- 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/trace/Interaction.js +11 -2
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +10 -11
- package/src/sap/ui/qunit/utils/nextUIUpdate.js +51 -0
- package/src/sap/ui/test/ModuleTracking.js +326 -0
- package/src/sap/ui/test/TestUtils.js +7 -6
- package/src/sap/ui/test/autowaiter/_UIUpdatesWaiter.js +3 -2
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/selectors/_ControlSelectorGenerator.js +2 -0
- package/src/sap/ui/test/selectors/_DropdownItem.js +1 -0
- package/src/sap/ui/test/selectors/_TableRowItem.js +1 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +14 -10
- package/src/ui5loader.js +2 -2
- package/test/sap/ui/core/ComponentCleanup.html +228 -225
- package/test/sap/ui/core/ComponentConfig.html +1 -1
- package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +1 -1
- package/test/sap/ui/core/ComponentExtensibility_legacyAPIs.html +1 -1
- package/test/sap/ui/core/ComponentSimple.html +1 -1
- package/test/sap/ui/core/ComponentSimpleModel.html +1 -1
- package/test/sap/ui/core/ComponentSupport.html +1 -1
- package/test/sap/ui/core/DateFormat.js +3 -3
- package/test/sap/ui/core/EventBroadcaster.html +62 -62
- package/test/sap/ui/core/Formats.html +4 -2
- package/test/sap/ui/core/GenericEventBinding.html +53 -52
- package/test/sap/ui/core/ListFormat.js +3 -3
- package/test/sap/ui/core/NumberFormat.js +3 -3
- package/test/sap/ui/core/ODataAnnotationsPerformance.html +28 -28
- package/test/sap/ui/core/ODataV2CanonicalRequests.html +3 -2
- package/test/sap/ui/core/ODataV2Messages.html +4 -3
- package/test/sap/ui/core/PopupWithUserSelection.html +1 -1
- package/test/sap/ui/core/Strings.js +3 -3
- package/test/sap/ui/core/ValidateURL.html +143 -143
- package/test/sap/ui/core/demokit/sample/Commands/Commands.html +1 -1
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicMessages/Controller.controller.js +10 -10
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/Controller.controller.js +7 -7
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/Component.js +3 -2
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/controller/Employee.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/index.html +7 -8
- package/test/sap/ui/core/demokit/sample/OpaGetStarted/applicationUnderTest/index.html +9 -6
- package/test/sap/ui/core/demokit/sample/OpaWithSupportAssistant/applicationUnderTest/index.html +13 -10
- package/test/sap/ui/core/demokit/sample/PatternMatching/Patterns.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingFullscreen/RoutingFullscreen.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingMasterDetail/RoutingMasterDetail.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/RoutingNestedComponent.html +1 -1
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/test/integration/opaTests.qunit.html +1 -1
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/test/integration/opaTests.qunit.js +5 -4
- package/test/sap/ui/core/demokit/sample/TargetsStandalone/TargetsStandalone.html +11 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +12 -11
- package/test/sap/ui/core/demokit/sample/common/Controller.js +6 -7
- package/test/sap/ui/core/demokit/sample/common/Helper.js +6 -2
- package/test/sap/ui/core/demokit/sample/common/init.js +25 -21
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithOPA5/WebsiteCode.js +8 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +12 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/ListReport.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/FieldGroups/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/Component.js +4 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Main.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Component.js +19 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +93 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +85 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/SandboxModel.js +10 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +396 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +423 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +70 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js +11 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Opa.qunit.js +8 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +8 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +12 -11
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Main.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Opa.qunit.js +11 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/MIT.RecursiveHierarchy maintenance.html +408 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/Opa.qunit.js +26 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +24 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +352 -287
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/pages/Main.js +38 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/tests/createEdit.js +128 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/tests/pageExpandCollapse.js +23 -22
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Component.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Opa.qunit.js +15 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/tutorial/databinding/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/index.js +7 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/02/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/03/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/04/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/05/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/06/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/07/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/08/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/09/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/10/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/11/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/12/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/13/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/14/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/15/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/02/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/03/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/04/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/05/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/06/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/07/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/08/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/09/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/10/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/11/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/12/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/13/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/14/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/15/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/16/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/package.json +4 -6
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +8 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/index.html +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/controller/App.controller.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/opaTests.qunit.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/pages/Tutorial.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/opaTests.qunit.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/pages/Tutorial.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/webapp/test/integration/opaTests.qunit.js +6 -6
- package/test/sap/ui/core/frameoptions/createcontent.js +7 -6
- package/test/sap/ui/core/internal/samples/client/MusicCollection/index.html +1 -1
- package/test/sap/ui/core/internal/samples/composite/xmlcomposite/exStringAndFloat/Test.controller.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/twoFields/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/twoFields/Opa.qunit.js +8 -8
- package/test/sap/ui/core/internal/samples/odata/twoFields/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/Products/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/Products/Opa.qunit.js +7 -7
- package/test/sap/ui/core/internal/samples/odata/v2/Products/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/MIT.SalesOrders(V2).ODLB.create.html +2 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.controller.js +3 -3
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Opa.qunit.js +9 -6
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +3 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/data/ODLB.create/TC3/SalesOrderSet_desc_4-1.json +16 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/tests/ODataListBinding.create/TC3_SalesOrders_InlineCreationRow.js +9 -0
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/Component.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/Main.controller.js +3 -3
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/index.html +1 -1
- package/test/sap/ui/core/qunit/BlockLayerUtils.qunit.js +9 -7
- package/test/sap/ui/core/qunit/CalculatedFields.qunit.js +4 -2
- package/test/sap/ui/core/qunit/ContextMenuSupport.qunit.js +3 -2
- package/test/sap/ui/core/qunit/ControlDefinition.qunit.js +11 -10
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +218 -223
- package/test/sap/ui/core/qunit/Core.qunit.js +35 -31
- package/test/sap/ui/core/qunit/CoreEvents.qunit.js +17 -15
- package/test/sap/ui/core/qunit/Core_repeatedExecution.qunit.js +3 -3
- package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +4 -3
- package/test/sap/ui/core/qunit/Element_data.qunit.js +5 -5
- package/test/sap/ui/core/qunit/Element_destroy.qunit.js +6 -4
- package/test/sap/ui/core/qunit/Element_focus.qunit.js +25 -24
- package/test/sap/ui/core/qunit/Element_metadata_selector.qunit.js +3 -2
- package/test/sap/ui/core/qunit/EnabledPropagator.qunit.js +7 -6
- package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +1 -1
- package/test/sap/ui/core/qunit/FastNavigationWithWebComponents.qunit.js +5 -5
- package/test/sap/ui/core/qunit/FieldGroup.qunit.js +9 -6
- package/test/sap/ui/core/qunit/FocusHandler.qunit.js +7 -6
- package/test/sap/ui/core/qunit/Fragment.qunit.js +35 -34
- package/test/sap/ui/core/qunit/Fragment_legacyAPIs.qunit.js +51 -50
- package/test/sap/ui/core/qunit/HTML.qunit.js +32 -32
- package/test/sap/ui/core/qunit/Icon.qunit.js +66 -65
- package/test/sap/ui/core/qunit/IconPool.qunit.js +2 -1
- package/test/sap/ui/core/qunit/InvisibleText.qunit.js +13 -12
- package/test/sap/ui/core/qunit/Lib.qunit.js +8 -8
- package/test/sap/ui/core/qunit/LocalBusyIndicator.qunit.js +24 -24
- package/test/sap/ui/core/qunit/RenderManager.qunit.js +54 -53
- package/test/sap/ui/core/qunit/ResizeHandler.qunit.js +8 -9
- package/test/sap/ui/core/qunit/ScrollBar.qunit.js +7 -6
- package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +13 -11
- package/test/sap/ui/core/qunit/StashedControlSupport.qunit.js +6 -5
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +5 -4
- package/test/sap/ui/core/qunit/Theming.qunit.js +88 -50
- package/test/sap/ui/core/qunit/Theming_default_and_fallback.qunit.js +130 -0
- package/test/sap/ui/core/qunit/TooltipBase.qunit.js +4 -3
- package/test/sap/ui/core/qunit/UIArea.qunit.js +248 -18
- package/test/sap/ui/core/qunit/analytics/testsuite4analytics.qunit.js +9 -8
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +10 -10
- package/test/sap/ui/core/qunit/base/Config.qunit.js +12 -2
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +123 -52
- package/test/sap/ui/core/qunit/base/Config_meta.qunit.html +2 -0
- package/test/sap/ui/core/qunit/base/config/GlobalConfig.js +3 -1
- package/test/sap/ui/core/qunit/base/config/GlobalConfigForCascade.js +4 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.js +3 -3
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal_legacyAPIs.qunit.js +13 -11
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithCustomScript_legacyAPIs.qunit.js +13 -11
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithNoJQuery_legacyAPIs.qunit.js +7 -5
- package/test/sap/ui/core/qunit/bootstrap/CalendarClassLoadingWithCustomBootTaskAndPreload.qunit.js +12 -14
- package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +3 -2
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/_checkCoreAndLibraryBooted.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +12 -6
- package/test/sap/ui/core/qunit/component/Component.qunit.js +14 -15
- package/test/sap/ui/core/qunit/component/Component_unavoidablySync.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/Customizing.qunit.js +4 -5
- package/test/sap/ui/core/qunit/component/Customizing_async.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/Customizing_disabled.qunit.js +4 -6
- package/test/sap/ui/core/qunit/component/Customizing_legacyAPIs.qunit.js +3 -5
- package/test/sap/ui/core/qunit/component/Customizing_multi.qunit.js +3 -6
- package/test/sap/ui/core/qunit/component/Customizing_unavoidablySync.qunit.js +5 -8
- package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +4 -5
- package/test/sap/ui/core/qunit/component/ExtensionPoint_unavoidablySync.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +19 -19
- package/test/sap/ui/core/qunit/component/UIComponent_unavoidablySync.qunit.js +19 -19
- package/test/sap/ui/core/qunit/composite/XMLComposite.qunit.js +43 -43
- package/test/sap/ui/core/qunit/csp/ContentSecurityPolicy.qunit.js +18 -13
- package/test/sap/ui/core/qunit/dnd/DragAndDrop.qunit.js +19 -18
- package/test/sap/ui/core/qunit/dnd/DragInfo.qunit.js +13 -12
- package/test/sap/ui/core/qunit/dnd/DropInfo.qunit.js +5 -4
- package/test/sap/ui/core/qunit/generic/ControlMemoryLeaks.qunit.js +7 -6
- package/test/sap/ui/core/qunit/generic/DuplicateIdCheck.qunit.js +7 -6
- package/test/sap/ui/core/qunit/generic/legacy/ControlIterator.qunit.js +6 -6
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +20 -17
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +8 -7
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +1 -2
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +14 -19
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.js +34 -22
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -6
- package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +4 -0
- package/test/sap/ui/core/qunit/isBehindOtherElement.qunit.js +7 -7
- package/test/sap/ui/core/qunit/jquery-mobile-custom.qunit.js +3 -3
- package/test/sap/ui/core/qunit/jquery.sap.events.qunit.js +3 -2
- package/test/sap/ui/core/qunit/jquery.sap.ui.qunit.js +16 -16
- package/test/sap/ui/core/qunit/messages/{MessageManager.qunit.js → Messaging.qunit.js} +46 -49
- package/test/sap/ui/core/qunit/messages/messagesDataBinding.qunit.js +3 -1
- package/test/sap/ui/core/qunit/messages/messagesEnd2End.qunit.js +10 -10
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +36 -46
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +25 -36
- package/test/sap/ui/core/qunit/messages/testsuite.messaging.base.qunit.js +2 -2
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +8 -8
- package/test/sap/ui/core/qunit/model/controlhelper/TreeBindingProxy.qunit.js +24 -14
- package/test/sap/ui/core/qunit/mvc/AnyView.qunit.js +7 -6
- package/test/sap/ui/core/qunit/mvc/AnyViewAsync.qunit.js +3 -2
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync_unavoidablyUsingInlineStyle.qunit.js +5 -4
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +8 -9
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +45 -40
- package/test/sap/ui/core/qunit/mvc/testdata/stashed/OP.html +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +15 -20
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing_legacyAPIs.qunit.js +20 -25
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyViewAsync_legacyAPIs.qunit.js +10 -11
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyView_legacyAPIs.qunit.js +7 -6
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/HTMLView_legacyAPIs.qunit.js +8 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +7 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLView_legacyAPIs.qunit.js +40 -47
- package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +52 -20
- package/test/sap/ui/core/qunit/odata/{ODataListBinding.qunit.js → ODataListBinding_legacyAPIs.qunit.js} +27 -0
- package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +44 -48
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +8 -8
- package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +66 -29
- package/test/sap/ui/core/qunit/odata/ODataMetadata.qunit.js +17 -7
- package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +147 -89
- package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +1 -0
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +33 -12
- package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +33 -12
- package/test/sap/ui/core/qunit/odata/v2/CanonicalRequests.qunit.js +5 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +63 -13
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +281 -59
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +28 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +21 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +1 -2
- package/test/sap/ui/core/qunit/odata/v2/ODataV2ListBinding.qunit.js +7 -207
- package/test/sap/ui/core/qunit/odata/v2/ODataV2ListBinding_Filter_legacyAPIs.qunit.js +281 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +9 -8
- package/test/sap/ui/core/qunit/odata/v2/ODataV2TreeBinding.qunit.js +1 -0
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +95 -85
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelB.qunit.js +70 -67
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +19 -20
- package/test/sap/ui/core/qunit/odata/v2/testsuite.odatav2.qunit.js +4 -0
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +50 -27
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +5 -0
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +4 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +103 -14
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1027 -31
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +18 -17
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +272 -36
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +115 -82
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +10 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +108 -10
- package/test/sap/ui/core/qunit/odata/v4/lib/_V2Requestor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/Opa5PageObject.qunit.js +5 -6
- package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +29 -42
- package/test/sap/ui/core/qunit/opa/RecordReplay.qunit.js +13 -14
- package/test/sap/ui/core/qunit/opa/_ControlFinder.qunit.js +5 -4
- package/test/sap/ui/core/qunit/opa/actions/Action.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +22 -21
- package/test/sap/ui/core/qunit/opa/actions/Press.qunit.js +60 -56
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +5 -7
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +5 -9
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +5 -6
- package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +5 -4
- package/test/sap/ui/core/qunit/opa/autowaiter/_resourceWaiter.js +21 -20
- package/test/sap/ui/core/qunit/opa/fixture/bindingPath.js +6 -5
- package/test/sap/ui/core/qunit/opa/matchers/Interactable.qunit.js +7 -5
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +4 -3
- package/test/sap/ui/core/qunit/opa/matchers/Sibling.qunit.js +4 -3
- package/test/sap/ui/core/qunit/opa/matchers/Visible.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +28 -27
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +11 -10
- package/test/sap/ui/core/qunit/opa/matchers/_Enabled.qunit.js +11 -10
- package/test/sap/ui/core/qunit/opa/matchers/_Visitor.qunit.js +5 -4
- package/test/sap/ui/core/qunit/opa/opa5/actions.qunit.js +8 -7
- package/test/sap/ui/core/qunit/opa/opa5/basics.qunit.js +12 -17
- package/test/sap/ui/core/qunit/opa/opa5/logging.qunit.js +5 -6
- package/test/sap/ui/core/qunit/opa/opa5/matchers.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/selectors/_BindingPath.js +10 -9
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorGenerator.js +6 -7
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorValidator.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_DropdownItem.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_GlobalID.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_LabelFor.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_Properties.js +33 -27
- package/test/sap/ui/core/qunit/opa/selectors/_Selector.js +7 -10
- package/test/sap/ui/core/qunit/opa/selectors/_TableRowItem.js +5 -7
- package/test/sap/ui/core/qunit/opa/selectors/_ViewID.js +5 -7
- package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +35 -28
- package/test/sap/ui/core/qunit/routing/Placeholder.qunit.js +11 -9
- package/test/sap/ui/core/qunit/routing/PlaceholderOptOut.qunit.js +5 -3
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +57 -0
- package/test/sap/ui/core/qunit/routing/fixture/historyIframe/iframe/index.html +1 -1
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Child/Component.js +30 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Child/manifest.json +25 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/Component.js +14 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/manifest.json +51 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/view/NotFound.view.xml +3 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/view/RootView.view.xml +5 -0
- package/test/sap/ui/core/qunit/rule/app/syncXHR.qunit.js +24 -17
- package/test/sap/ui/core/qunit/rule/app/syncXHRBootstrap.qunit.js +3 -3
- package/test/sap/ui/core/qunit/rule/app/syncXHRBootstrapDebug.qunit.js +3 -3
- package/test/sap/ui/core/qunit/rule/config/asynchronousXMLViews.qunit.js +9 -18
- package/test/sap/ui/core/qunit/support/techinfo/TechnicalInfoTestbench.html +3 -1
- package/test/sap/ui/core/qunit/test/starter/find/index.html +1 -1
- package/test/sap/ui/core/qunit/test/starter/find/main.js +3 -2
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +0 -6
- package/test/sap/ui/core/qunit/testsuites/testsuite.base.configuration.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.databinding.qunit.js +10 -6
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +27 -4
- package/test/sap/ui/core/qunit/tmpl/Template.qunit.js +36 -35
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +13 -0
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +2 -2
- package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +2 -2
- package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
- package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +27 -31
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +27 -27
- package/test/sap/ui/core/qunit/util/ResponsivePaddingsEnablement.qunit.js +13 -9
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +37 -6
- package/test/sap/ui/core/qunit/util/jQuery.sap.measure.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/jquery.sap.dom.qunit.js +3 -2
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +8 -8
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +24 -24
- package/test/sap/ui/core/qunit/util/static/TechnicalInfoTestbenchInit.js +8 -2
- package/test/sap/ui/core/qunit/webc/WebComponent.qunit.js +188 -0
- package/test/sap/ui/core/qunit/webc/testsuite.webc.qunit.html +14 -0
- package/test/sap/ui/core/qunit/webc/testsuite.webc.qunit.js +22 -0
- package/test/sap/ui/core/relnotes/changes-1.117.json +1 -34
- package/test/sap/ui/core/relnotes/changes-1.118.json +143 -0
- package/test/sap/ui/core/samples/components/resourcesCSS/index.html +1 -1
- package/test/sap/ui/core/samples/databinding/DataBinding.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingAsyncType.html +3 -2
- package/test/sap/ui/core/samples/databinding/DataBindingCalculatedFields.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingList.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingListNamedModel.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingListXML.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingMultiModel.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingSortingFiltering.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingTreeLarge.html +102 -113
- package/test/sap/ui/core/samples/databinding/DataBindingTwoWay.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingTwoWayTable.html +90 -89
- package/test/sap/ui/core/samples/databinding/DataBindingValidation.html +149 -148
- package/test/sap/ui/core/samples/databinding/DataBindingXML.html +3 -2
- package/test/sap/ui/core/samples/databinding/DatabindingMessages.html +158 -153
- package/test/sap/ui/core/samples/databinding/ODatabindingMessages.html +4 -6
- package/test/sap/ui/core/samples/databinding/UnitTableMain.js +3 -4
- package/test/sap/ui/core/samples/extensions/index_legacyAPIs.html +15 -13
- package/test/sap/ui/core/samples/formatting/controller/ChooseFormatOptions.controller.js +3 -2
- package/test/sap/ui/core/samples/mvc/ExtendedXMLViewEventHandlerSyntax.html +5 -3
- package/test/sap/ui/core/samples/mvc/XMLViewBindableAggregation.html +1 -1
- package/test/testsuite/testframe.html +4 -4
- package/src/ui5-boot.js +0 -50
- package/test/sap/ui/core/qunit/CoreLock.qunit.js +0 -61
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.js +0 -30
- /package/test/sap/ui/core/qunit/{MasterDetail.qunit.js → MasterDetail_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataModel.qunit.js → ODataModel_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataSharedMetadata.qunit.js → ODataSharedMetadata_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataTreeBinding.qunit.js → ODataTreeBinding_legacyAPIs.qunit.js} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*global QUnit */
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"sap/ui/core/FocusHandler",
|
|
4
|
-
"sap/m/Input"
|
|
5
|
-
|
|
4
|
+
"sap/m/Input",
|
|
5
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
6
|
+
], function(FocusHandler, Input, nextUIUpdate) {
|
|
6
7
|
"use strict";
|
|
7
8
|
|
|
8
9
|
// Control initialization
|
|
@@ -134,7 +135,7 @@ sap.ui.define([
|
|
|
134
135
|
|
|
135
136
|
QUnit.module("Extending Focus Info");
|
|
136
137
|
|
|
137
|
-
QUnit.test("add/remove extender for focus info", function(assert) {
|
|
138
|
+
QUnit.test("add/remove extender for focus info", async function(assert) {
|
|
138
139
|
var oDomRef;
|
|
139
140
|
var oSpy = this.spy(function(oEvent, oData) {
|
|
140
141
|
oDomRef = oEvent.getParameter("domRef");
|
|
@@ -148,7 +149,7 @@ sap.ui.define([
|
|
|
148
149
|
oControls.oControl1.focus();
|
|
149
150
|
|
|
150
151
|
oControls.oControl1.invalidate();
|
|
151
|
-
|
|
152
|
+
await nextUIUpdate();
|
|
152
153
|
|
|
153
154
|
assert.ok(oSpy.calledOnce, "focus info extender is called");
|
|
154
155
|
assert.equal(oDomRef, oControls.oControl1.getDomRef(), "DOM element is given to the registered focus info extender");
|
|
@@ -158,7 +159,7 @@ sap.ui.define([
|
|
|
158
159
|
|
|
159
160
|
// trigger the focus info extender again
|
|
160
161
|
oControls.oControl1.invalidate();
|
|
161
|
-
|
|
162
|
+
await nextUIUpdate();
|
|
162
163
|
|
|
163
164
|
assert.equal(oSpy.callCount, 2, "focus info extender is called, again");
|
|
164
165
|
assert.equal(oDomRef, oControls.oControl1.getDomRef(), "DOM element is given to the registered focus info extender");
|
|
@@ -170,7 +171,7 @@ sap.ui.define([
|
|
|
170
171
|
FocusHandler.removeFocusInfoExtender(oSpy);
|
|
171
172
|
|
|
172
173
|
oControls.oControl1.invalidate();
|
|
173
|
-
|
|
174
|
+
await nextUIUpdate();
|
|
174
175
|
|
|
175
176
|
assert.ok(oSpy.notCalled, "Focus info extender isn't called anymore after it's removed");
|
|
176
177
|
});
|
|
@@ -12,13 +12,14 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/layout/HorizontalLayout",
|
|
13
13
|
"sap/ui/model/json/JSONModel",
|
|
14
14
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
15
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
15
16
|
"sap/ui/core/mvc/View",
|
|
16
17
|
"sap/ui/core/mvc/XMLView",
|
|
17
18
|
"sap/ui/core/mvc/JSView",
|
|
18
19
|
"sap/ui/core/mvc/Controller",
|
|
19
20
|
"sap/base/util/LoaderExtensions",
|
|
20
21
|
"sap/ui/thirdparty/jquery"
|
|
21
|
-
], function (Log, qutils, Core, Component, Fragment, Element, XMLTemplateProcessor, Panel, Button, HorizontalLayout, JSONModel, createAndAppendDiv, View, XMLView, JSView, Controller, LoaderExtensions, jQuery) {
|
|
22
|
+
], function (Log, qutils, Core, Component, Fragment, Element, XMLTemplateProcessor, Panel, Button, HorizontalLayout, JSONModel, createAndAppendDiv, nextUIUpdate, View, XMLView, JSView, Controller, LoaderExtensions, jQuery) {
|
|
22
23
|
"use strict";
|
|
23
24
|
|
|
24
25
|
createAndAppendDiv(["content1", "content2", "content3", "content4", "binding"]);
|
|
@@ -57,9 +58,9 @@ sap.ui.define([
|
|
|
57
58
|
return Fragment.load({
|
|
58
59
|
fragmentName: "testdata.fragments.XMLTestFragment",
|
|
59
60
|
controller: this.oDummyController
|
|
60
|
-
}).then(function(oFragment) {
|
|
61
|
+
}).then(async function(oFragment) {
|
|
61
62
|
oFragment.placeAt("content1");
|
|
62
|
-
|
|
63
|
+
await nextUIUpdate();
|
|
63
64
|
|
|
64
65
|
var id = oFragment.getId();
|
|
65
66
|
|
|
@@ -87,9 +88,9 @@ sap.ui.define([
|
|
|
87
88
|
id: "myXmlFrag",
|
|
88
89
|
fragmentName: "testdata.fragments.XMLTestFragment",
|
|
89
90
|
controller: this.oDummyController
|
|
90
|
-
}).then(function(oFragment) {
|
|
91
|
+
}).then(async function(oFragment) {
|
|
91
92
|
oFragment.placeAt("content1");
|
|
92
|
-
|
|
93
|
+
await nextUIUpdate();
|
|
93
94
|
|
|
94
95
|
var id = oFragment.getId();
|
|
95
96
|
|
|
@@ -117,9 +118,9 @@ sap.ui.define([
|
|
|
117
118
|
id: "myXmlFrag1",
|
|
118
119
|
fragmentName: "testdata.fragments.XMLTestFragmentWithId",
|
|
119
120
|
controller: this.oDummyController
|
|
120
|
-
}).then(function(oFragment) {
|
|
121
|
+
}).then(async function(oFragment) {
|
|
121
122
|
oFragment.placeAt("content1");
|
|
122
|
-
|
|
123
|
+
await nextUIUpdate();
|
|
123
124
|
|
|
124
125
|
var id = oFragment.getId();
|
|
125
126
|
assert.equal(id, "myXmlFrag1--layout", "Root control ID should be prefixed");
|
|
@@ -136,9 +137,9 @@ sap.ui.define([
|
|
|
136
137
|
fragmentName: "testdata.fragments.JSTestFragment",
|
|
137
138
|
type: "JS",
|
|
138
139
|
controller: this.oDummyController
|
|
139
|
-
}).then(function(oFragment) {
|
|
140
|
+
}).then(async function(oFragment) {
|
|
140
141
|
oFragment.placeAt("content1");
|
|
141
|
-
|
|
142
|
+
await nextUIUpdate();
|
|
142
143
|
|
|
143
144
|
var id = oFragment.getId();
|
|
144
145
|
|
|
@@ -167,9 +168,9 @@ sap.ui.define([
|
|
|
167
168
|
id: "myJsFrag",
|
|
168
169
|
type: "JS",
|
|
169
170
|
controller: this.oDummyController
|
|
170
|
-
}).then(function(oFragment) {
|
|
171
|
+
}).then(async function(oFragment) {
|
|
171
172
|
oFragment.placeAt("content1");
|
|
172
|
-
|
|
173
|
+
await nextUIUpdate();
|
|
173
174
|
|
|
174
175
|
var id = oFragment.getId();
|
|
175
176
|
|
|
@@ -198,9 +199,9 @@ sap.ui.define([
|
|
|
198
199
|
id: "myJsFrag1",
|
|
199
200
|
type: "JS",
|
|
200
201
|
controller: this.oDummyController
|
|
201
|
-
}).then(function(oFragment) {
|
|
202
|
+
}).then(async function(oFragment) {
|
|
202
203
|
oFragment.placeAt("content1");
|
|
203
|
-
|
|
204
|
+
await nextUIUpdate();
|
|
204
205
|
|
|
205
206
|
var id = oFragment.getId();
|
|
206
207
|
assert.equal(id, "myJsFrag1--layout", "Root control ID should be prefixed");
|
|
@@ -226,9 +227,9 @@ sap.ui.define([
|
|
|
226
227
|
return View.create({
|
|
227
228
|
id: "myView",
|
|
228
229
|
viewName: "module:my/TypedView"
|
|
229
|
-
}).then(function (oViewWithFragments) {
|
|
230
|
+
}).then(async function (oViewWithFragments) {
|
|
230
231
|
oViewWithFragments.placeAt("content2");
|
|
231
|
-
|
|
232
|
+
await nextUIUpdate();
|
|
232
233
|
assert.ok(document.getElementById("myView"), "JSView should be rendered");
|
|
233
234
|
|
|
234
235
|
// Inline JS Fragment
|
|
@@ -255,11 +256,11 @@ sap.ui.define([
|
|
|
255
256
|
QUnit.test("XMLView Rendering", function(assert) {
|
|
256
257
|
return XMLView.create({
|
|
257
258
|
viewName: "testdata.fragments.XMLViewWithFragments"
|
|
258
|
-
}).then(function(oResult) {
|
|
259
|
+
}).then(async function(oResult) {
|
|
259
260
|
oXmlView = oResult;
|
|
260
261
|
|
|
261
262
|
oXmlView.placeAt("content3");
|
|
262
|
-
|
|
263
|
+
await nextUIUpdate();
|
|
263
264
|
|
|
264
265
|
var data = {
|
|
265
266
|
someText: DATABOUND_TEXT_IN_VIEW
|
|
@@ -269,7 +270,7 @@ sap.ui.define([
|
|
|
269
270
|
oModel.setData(data);
|
|
270
271
|
oXmlView.setModel(oModel);
|
|
271
272
|
|
|
272
|
-
|
|
273
|
+
await nextUIUpdate(); // update data binding in DOM
|
|
273
274
|
|
|
274
275
|
var aContent = oXmlView.getContent();
|
|
275
276
|
oXmlFragmentInXmlView = aContent[0];
|
|
@@ -399,12 +400,12 @@ sap.ui.define([
|
|
|
399
400
|
oDialog.open();
|
|
400
401
|
assert.ok(document.getElementById("jsDialog"), "Fragment should be rendered now");
|
|
401
402
|
|
|
402
|
-
window.setTimeout(function() {
|
|
403
|
+
window.setTimeout(async function() {
|
|
403
404
|
assert.ok(oDialog.isOpen(), "Dialog should be open now");
|
|
404
405
|
|
|
405
406
|
assert.equal(oDialog.getContent()[0].getText(), DATABOUND_GLOBAL_TEXT_IN_DIALOG, "TextView should have text from global data binding");
|
|
406
407
|
oDialog.setModel(oDialogModel);
|
|
407
|
-
|
|
408
|
+
await nextUIUpdate();
|
|
408
409
|
assert.equal(oDialog.getContent()[0].getText(), DATABOUND_TEXT_IN_DIALOG, "TextView should have text from Dialog data binding");
|
|
409
410
|
|
|
410
411
|
triggerClickEvent("jsDialogBtn"); // close it
|
|
@@ -437,12 +438,12 @@ sap.ui.define([
|
|
|
437
438
|
oDialog.open();
|
|
438
439
|
assert.ok(document.getElementById("xmlDialog"), "Fragment should be rendered now");
|
|
439
440
|
|
|
440
|
-
window.setTimeout(function() {
|
|
441
|
+
window.setTimeout(async function() {
|
|
441
442
|
assert.ok(oDialog.isOpen(), "Dialog should be open now");
|
|
442
443
|
|
|
443
444
|
assert.equal(oDialog.getContent()[0].getText(), DATABOUND_GLOBAL_TEXT_IN_DIALOG, "TextView should have text from global data binding");
|
|
444
445
|
oDialog.setModel(oDialogModel);
|
|
445
|
-
|
|
446
|
+
await nextUIUpdate();
|
|
446
447
|
assert.equal(oDialog.getContent()[0].getText(), DATABOUND_TEXT_IN_DIALOG, "TextView should have text from Dialog data binding");
|
|
447
448
|
|
|
448
449
|
triggerClickEvent("xmlDialogBtn"); // close it
|
|
@@ -463,9 +464,9 @@ sap.ui.define([
|
|
|
463
464
|
assert.expect(2);
|
|
464
465
|
return Fragment.load({
|
|
465
466
|
fragmentName: "testdata.fragments.XMLTestFragmentNoController"
|
|
466
|
-
}).then(function(oFragment) {
|
|
467
|
+
}).then(async function(oFragment) {
|
|
467
468
|
oFragment.placeAt("content4");
|
|
468
|
-
|
|
469
|
+
await nextUIUpdate();
|
|
469
470
|
|
|
470
471
|
var id = oFragment.getId();
|
|
471
472
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -483,9 +484,9 @@ sap.ui.define([
|
|
|
483
484
|
return Fragment.load({
|
|
484
485
|
fragmentName: "testdata.fragments.JSTestFragmentNoController",
|
|
485
486
|
type: "JS"
|
|
486
|
-
}).then(function(oFragment) {
|
|
487
|
+
}).then(async function(oFragment) {
|
|
487
488
|
oFragment.placeAt("content4");
|
|
488
|
-
|
|
489
|
+
await nextUIUpdate();
|
|
489
490
|
|
|
490
491
|
var id = oFragment.getId();
|
|
491
492
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -511,9 +512,9 @@ sap.ui.define([
|
|
|
511
512
|
return XMLView.create({
|
|
512
513
|
id: "unnamedView",
|
|
513
514
|
viewName: "my.UnnamedView"
|
|
514
|
-
}).then(function(oView) {
|
|
515
|
+
}).then(async function(oView) {
|
|
515
516
|
oView.placeAt("binding");
|
|
516
|
-
|
|
517
|
+
await nextUIUpdate();
|
|
517
518
|
|
|
518
519
|
var oLabel = Core.byId("unnamedView--unnamedName");
|
|
519
520
|
assert.ok(oLabel.getText().indexOf("<Named>") == -1, "Binding of unnamed model set for 'name'");
|
|
@@ -526,9 +527,9 @@ sap.ui.define([
|
|
|
526
527
|
return XMLView.create({
|
|
527
528
|
id: "namedView",
|
|
528
529
|
viewName: "my.View"
|
|
529
|
-
}).then(function(oView) {
|
|
530
|
+
}).then(async function(oView) {
|
|
530
531
|
oView.placeAt("binding");
|
|
531
|
-
|
|
532
|
+
await nextUIUpdate();
|
|
532
533
|
|
|
533
534
|
var oLabel = Core.byId("namedView--namedName");
|
|
534
535
|
assert.ok(oLabel.getText().indexOf("<Named>") > -1, "Binding of named model set for 'name'");
|
|
@@ -560,9 +561,9 @@ sap.ui.define([
|
|
|
560
561
|
type: "JS",
|
|
561
562
|
id: "myJsFragLoadApi",
|
|
562
563
|
controller: this.oDummyController
|
|
563
|
-
}).then(function(oFragment) {
|
|
564
|
+
}).then(async function(oFragment) {
|
|
564
565
|
oFragment.placeAt("content1");
|
|
565
|
-
|
|
566
|
+
await nextUIUpdate();
|
|
566
567
|
|
|
567
568
|
var id = oFragment.getId();
|
|
568
569
|
|
|
@@ -594,9 +595,9 @@ sap.ui.define([
|
|
|
594
595
|
return Fragment.load({
|
|
595
596
|
definition: myXml,
|
|
596
597
|
controller: this.oDummyController
|
|
597
|
-
}).then(function(oFragment) {
|
|
598
|
+
}).then(async function(oFragment) {
|
|
598
599
|
oFragment.placeAt("content1");
|
|
599
|
-
|
|
600
|
+
await nextUIUpdate();
|
|
600
601
|
|
|
601
602
|
var id = oFragment.getId();
|
|
602
603
|
assert.ok(document.getElementById(id), "XML Fragment should be rendered");
|
|
@@ -10,13 +10,14 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/layout/HorizontalLayout",
|
|
11
11
|
"sap/ui/model/json/JSONModel",
|
|
12
12
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
13
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
13
14
|
"sap/ui/core/mvc/View",
|
|
14
15
|
"sap/ui/core/mvc/XMLView",
|
|
15
16
|
"sap/ui/core/mvc/Controller",
|
|
16
17
|
"sap/base/util/LoaderExtensions",
|
|
17
18
|
"sap/ui/thirdparty/jquery",
|
|
18
19
|
"testdata/fragments_legacyAPIs/TypedView"
|
|
19
|
-
], function (Log, qutils, Component, Fragment, XMLTemplateProcessor, Panel, Button, HorizontalLayout, JSONModel, createAndAppendDiv, View, XMLView, Controller, LoaderExtensions, jQuery, TypedView) {
|
|
20
|
+
], function (Log, qutils, Component, Fragment, XMLTemplateProcessor, Panel, Button, HorizontalLayout, JSONModel, createAndAppendDiv, nextUIUpdate, View, XMLView, Controller, LoaderExtensions, jQuery, TypedView) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
createAndAppendDiv(["content1", "content2", "content3", "content4", "binding"]);
|
|
@@ -105,10 +106,10 @@ sap.ui.define([
|
|
|
105
106
|
|
|
106
107
|
|
|
107
108
|
|
|
108
|
-
QUnit.test("XML Fragment loaded from file", function(assert) {
|
|
109
|
+
QUnit.test("XML Fragment loaded from file", async function(assert) {
|
|
109
110
|
var oFragment = sap.ui.xmlfragment("testdata.fragments_legacyAPIs.XMLTestFragment", this.oDummyController);
|
|
110
111
|
oFragment.placeAt("content1");
|
|
111
|
-
|
|
112
|
+
await nextUIUpdate();
|
|
112
113
|
|
|
113
114
|
var id = oFragment.getId();
|
|
114
115
|
|
|
@@ -130,10 +131,10 @@ sap.ui.define([
|
|
|
130
131
|
assert.ok(btn instanceof Button, "Button should be found by ID");
|
|
131
132
|
});
|
|
132
133
|
|
|
133
|
-
QUnit.test("XML Fragment loaded from file with given Fragment ID", function(assert) {
|
|
134
|
+
QUnit.test("XML Fragment loaded from file with given Fragment ID", async function(assert) {
|
|
134
135
|
var oFragment = sap.ui.xmlfragment("myXmlFrag", "testdata.fragments_legacyAPIs.XMLTestFragment", this.oDummyController);
|
|
135
136
|
oFragment.placeAt("content1");
|
|
136
|
-
|
|
137
|
+
await nextUIUpdate();
|
|
137
138
|
|
|
138
139
|
var id = oFragment.getId();
|
|
139
140
|
|
|
@@ -155,10 +156,10 @@ sap.ui.define([
|
|
|
155
156
|
assert.ok(btn instanceof Button, "Button should be found by ID");
|
|
156
157
|
});
|
|
157
158
|
|
|
158
|
-
QUnit.test("XML Fragment loaded from file with given Fragment ID and root control ID", function(assert) {
|
|
159
|
+
QUnit.test("XML Fragment loaded from file with given Fragment ID and root control ID", async function(assert) {
|
|
159
160
|
var oFragment = sap.ui.xmlfragment("myXmlFrag1", "testdata.fragments_legacyAPIs.XMLTestFragmentWithId", this.oDummyController);
|
|
160
161
|
oFragment.placeAt("content1");
|
|
161
|
-
|
|
162
|
+
await nextUIUpdate();
|
|
162
163
|
|
|
163
164
|
var id = oFragment.getId();
|
|
164
165
|
assert.equal(id, "myXmlFrag1--layout", "Root control ID should be prefixed");
|
|
@@ -173,10 +174,10 @@ sap.ui.define([
|
|
|
173
174
|
/**
|
|
174
175
|
* @deprecated Since version 1.108
|
|
175
176
|
*/
|
|
176
|
-
QUnit.test("HTML Fragment loaded from file", function(assert) {
|
|
177
|
+
QUnit.test("HTML Fragment loaded from file", async function(assert) {
|
|
177
178
|
var oFragment = sap.ui.htmlfragment("testdata.fragments_legacyAPIs.HTMLTestFragment", this.oDummyController);
|
|
178
179
|
oFragment.placeAt("content1");
|
|
179
|
-
|
|
180
|
+
await nextUIUpdate();
|
|
180
181
|
|
|
181
182
|
var id = oFragment.getId();
|
|
182
183
|
|
|
@@ -201,10 +202,10 @@ sap.ui.define([
|
|
|
201
202
|
/**
|
|
202
203
|
* @deprecated Since version 1.108
|
|
203
204
|
*/
|
|
204
|
-
QUnit.test("HTML Fragment loaded from file with given Fragment ID", function(assert) {
|
|
205
|
+
QUnit.test("HTML Fragment loaded from file with given Fragment ID", async function(assert) {
|
|
205
206
|
var oFragment = sap.ui.htmlfragment("myHtmlFrag", "testdata.fragments_legacyAPIs.HTMLTestFragment", this.oDummyController);
|
|
206
207
|
oFragment.placeAt("content1");
|
|
207
|
-
|
|
208
|
+
await nextUIUpdate();
|
|
208
209
|
|
|
209
210
|
var id = oFragment.getId();
|
|
210
211
|
|
|
@@ -230,10 +231,10 @@ sap.ui.define([
|
|
|
230
231
|
/**
|
|
231
232
|
* @deprecated Since version 1.108
|
|
232
233
|
*/
|
|
233
|
-
QUnit.test("HTML Fragment loaded from file with given Fragment ID and root control ID", function(assert) {
|
|
234
|
+
QUnit.test("HTML Fragment loaded from file with given Fragment ID and root control ID", async function(assert) {
|
|
234
235
|
var oFragment = sap.ui.htmlfragment("myHtmlFrag1", "testdata.fragments_legacyAPIs.HTMLTestFragmentWithId", this.oDummyController);
|
|
235
236
|
oFragment.placeAt("content1");
|
|
236
|
-
|
|
237
|
+
await nextUIUpdate();
|
|
237
238
|
|
|
238
239
|
var id = oFragment.getId();
|
|
239
240
|
assert.equal(id, "myHtmlFrag1--layout", "Root control ID should be prefixed");
|
|
@@ -246,10 +247,10 @@ sap.ui.define([
|
|
|
246
247
|
|
|
247
248
|
|
|
248
249
|
|
|
249
|
-
QUnit.test("JS Fragment loaded from file", function(assert) {
|
|
250
|
+
QUnit.test("JS Fragment loaded from file", async function(assert) {
|
|
250
251
|
var oFragment = sap.ui.jsfragment("testdata.fragments_legacyAPIs.JSTestFragment", this.oDummyController);
|
|
251
252
|
oFragment.placeAt("content1");
|
|
252
|
-
|
|
253
|
+
await nextUIUpdate();
|
|
253
254
|
|
|
254
255
|
var id = oFragment.getId();
|
|
255
256
|
|
|
@@ -271,10 +272,10 @@ sap.ui.define([
|
|
|
271
272
|
assert.ok(btn instanceof Button, "Button should be found by ID");
|
|
272
273
|
});
|
|
273
274
|
|
|
274
|
-
QUnit.test("JS Fragment loaded from file with given Fragment ID", function(assert) {
|
|
275
|
+
QUnit.test("JS Fragment loaded from file with given Fragment ID", async function(assert) {
|
|
275
276
|
var oFragment = sap.ui.jsfragment("myJsFrag", "testdata.fragments_legacyAPIs.JSTestFragment", this.oDummyController);
|
|
276
277
|
oFragment.placeAt("content1");
|
|
277
|
-
|
|
278
|
+
await nextUIUpdate();
|
|
278
279
|
|
|
279
280
|
var id = oFragment.getId();
|
|
280
281
|
|
|
@@ -297,10 +298,10 @@ sap.ui.define([
|
|
|
297
298
|
});
|
|
298
299
|
|
|
299
300
|
|
|
300
|
-
QUnit.test("JS Fragment loaded from file with given Fragment ID and root control ID", function(assert) {
|
|
301
|
+
QUnit.test("JS Fragment loaded from file with given Fragment ID and root control ID", async function(assert) {
|
|
301
302
|
var oFragment = sap.ui.jsfragment("myJsFrag1", "testdata.fragments_legacyAPIs.JSTestFragmentWithId", this.oDummyController);
|
|
302
303
|
oFragment.placeAt("content1");
|
|
303
|
-
|
|
304
|
+
await nextUIUpdate();
|
|
304
305
|
|
|
305
306
|
var id = oFragment.getId();
|
|
306
307
|
assert.equal(id, "myJsFrag1--layout", "Root control ID should be prefixed");
|
|
@@ -314,7 +315,7 @@ sap.ui.define([
|
|
|
314
315
|
|
|
315
316
|
QUnit.module("Inline Fragments");
|
|
316
317
|
|
|
317
|
-
QUnit.test("Inline Fragments within JSView", function(assert) {
|
|
318
|
+
QUnit.test("Inline Fragments within JSView", async function(assert) {
|
|
318
319
|
assert.expect(10); // incl. Button click handler
|
|
319
320
|
|
|
320
321
|
// Inline Fragments preconditions
|
|
@@ -325,7 +326,7 @@ sap.ui.define([
|
|
|
325
326
|
// JSView creation with Fragments used inside
|
|
326
327
|
var oViewWithFragments = sap.ui.jsview("myView", "example.fragment_legacyAPIs.test");
|
|
327
328
|
oViewWithFragments.placeAt("content2");
|
|
328
|
-
|
|
329
|
+
await nextUIUpdate();
|
|
329
330
|
assert.ok(document.getElementById("myView"), "JSView should be rendered");
|
|
330
331
|
|
|
331
332
|
// Inline JS Fragment
|
|
@@ -346,7 +347,7 @@ sap.ui.define([
|
|
|
346
347
|
oViewWithFragments.destroy();
|
|
347
348
|
});
|
|
348
349
|
|
|
349
|
-
QUnit.test("Inline Fragments within synchronous Typed View", function(assert) {
|
|
350
|
+
QUnit.test("Inline Fragments within synchronous Typed View", async function(assert) {
|
|
350
351
|
assert.expect(10); // incl. Button click handler
|
|
351
352
|
|
|
352
353
|
// Inline Fragments preconditions
|
|
@@ -358,7 +359,7 @@ sap.ui.define([
|
|
|
358
359
|
var oViewWithFragments = new TypedView("myView");
|
|
359
360
|
|
|
360
361
|
oViewWithFragments.placeAt("content2");
|
|
361
|
-
|
|
362
|
+
await nextUIUpdate();
|
|
362
363
|
assert.ok(document.getElementById("myView"), "JSView should be rendered");
|
|
363
364
|
|
|
364
365
|
// Inline JS Fragment
|
|
@@ -391,9 +392,9 @@ sap.ui.define([
|
|
|
391
392
|
return View.create({
|
|
392
393
|
id: "myView",
|
|
393
394
|
viewName: "module:testdata/fragments_legacyAPIs/TypedView"
|
|
394
|
-
}).then(function (oViewWithFragments) {
|
|
395
|
+
}).then(async function (oViewWithFragments) {
|
|
395
396
|
oViewWithFragments.placeAt("content2");
|
|
396
|
-
|
|
397
|
+
await nextUIUpdate();
|
|
397
398
|
assert.ok(document.getElementById("myView"), "JSView should be rendered");
|
|
398
399
|
|
|
399
400
|
// Inline JS Fragment
|
|
@@ -422,10 +423,10 @@ sap.ui.define([
|
|
|
422
423
|
|
|
423
424
|
var DATABOUND_TEXT_IN_VIEW = "Text from Databinding in View";
|
|
424
425
|
|
|
425
|
-
QUnit.test("XMLView Rendering", function(assert) {
|
|
426
|
+
QUnit.test("XMLView Rendering", async function(assert) {
|
|
426
427
|
oXmlView = sap.ui.xmlview("testdata.fragments_legacyAPIs.XMLViewWithFragments");
|
|
427
428
|
oXmlView.placeAt("content3");
|
|
428
|
-
|
|
429
|
+
await nextUIUpdate();
|
|
429
430
|
|
|
430
431
|
var data = {
|
|
431
432
|
someText: DATABOUND_TEXT_IN_VIEW
|
|
@@ -435,7 +436,7 @@ sap.ui.define([
|
|
|
435
436
|
oModel.setData(data);
|
|
436
437
|
oXmlView.setModel(oModel);
|
|
437
438
|
|
|
438
|
-
|
|
439
|
+
await nextUIUpdate(); // update data binding in DOM
|
|
439
440
|
|
|
440
441
|
var aContent = oXmlView.getContent();
|
|
441
442
|
oXmlFragmentInXmlView = aContent[0];
|
|
@@ -613,12 +614,12 @@ sap.ui.define([
|
|
|
613
614
|
oDialog.open();
|
|
614
615
|
assert.ok(document.getElementById("jsDialog"), "Fragment should be rendered now");
|
|
615
616
|
|
|
616
|
-
window.setTimeout(function() {
|
|
617
|
+
window.setTimeout(async function() {
|
|
617
618
|
assert.ok(oDialog.isOpen(), "Dialog should be open now");
|
|
618
619
|
|
|
619
620
|
assert.equal(jQuery("#jsDialogTxt").text(), DATABOUND_GLOBAL_TEXT_IN_DIALOG, "TextView should have text from global data binding");
|
|
620
621
|
oDialog.setModel(oDialogModel);
|
|
621
|
-
|
|
622
|
+
await nextUIUpdate();
|
|
622
623
|
assert.equal(jQuery("#jsDialogTxt").text(), DATABOUND_TEXT_IN_DIALOG, "TextView should have text from Dialog data binding");
|
|
623
624
|
|
|
624
625
|
triggerClickEvent("jsDialogBtn"); // close it
|
|
@@ -646,12 +647,12 @@ sap.ui.define([
|
|
|
646
647
|
oDialog.open();
|
|
647
648
|
assert.ok(document.getElementById("xmlDialog"), "Fragment should be rendered now");
|
|
648
649
|
|
|
649
|
-
window.setTimeout(function() {
|
|
650
|
+
window.setTimeout(async function() {
|
|
650
651
|
assert.ok(oDialog.isOpen(), "Dialog should be open now");
|
|
651
652
|
|
|
652
653
|
assert.equal(jQuery("#xmlDialogTxt").text(), DATABOUND_GLOBAL_TEXT_IN_DIALOG, "TextView should have text from global data binding");
|
|
653
654
|
oDialog.setModel(oDialogModel);
|
|
654
|
-
|
|
655
|
+
await nextUIUpdate();
|
|
655
656
|
assert.equal(jQuery("#xmlDialogTxt").text(), DATABOUND_TEXT_IN_DIALOG, "TextView should have text from Dialog data binding");
|
|
656
657
|
|
|
657
658
|
triggerClickEvent("xmlDialogBtn"); // close it
|
|
@@ -682,12 +683,12 @@ sap.ui.define([
|
|
|
682
683
|
oDialog.open();
|
|
683
684
|
assert.ok(document.getElementById("htmlDialog"), "Fragment should be rendered now");
|
|
684
685
|
|
|
685
|
-
window.setTimeout(function() {
|
|
686
|
+
window.setTimeout(async function() {
|
|
686
687
|
assert.ok(oDialog.isOpen(), "Dialog should be open now");
|
|
687
688
|
|
|
688
689
|
assert.equal(jQuery("#htmlDialogTxt").text(), DATABOUND_GLOBAL_TEXT_IN_DIALOG, "TextView should have text from global data binding");
|
|
689
690
|
oDialog.setModel(oDialogModel);
|
|
690
|
-
|
|
691
|
+
await nextUIUpdate();
|
|
691
692
|
assert.equal(jQuery("#htmlDialogTxt").text(), DATABOUND_TEXT_IN_DIALOG, "TextView should have text from Dialog data binding");
|
|
692
693
|
|
|
693
694
|
triggerClickEvent("htmlDialogBtn"); // close it
|
|
@@ -739,11 +740,11 @@ sap.ui.define([
|
|
|
739
740
|
|
|
740
741
|
QUnit.module("Fragments with no Controller");
|
|
741
742
|
|
|
742
|
-
QUnit.test("XML Fragment loaded from file", function(assert) {
|
|
743
|
+
QUnit.test("XML Fragment loaded from file", async function(assert) {
|
|
743
744
|
assert.expect(2);
|
|
744
745
|
var oFragment = sap.ui.xmlfragment("testdata.fragments_legacyAPIs.XMLTestFragmentNoController");
|
|
745
746
|
oFragment.placeAt("content4");
|
|
746
|
-
|
|
747
|
+
await nextUIUpdate();
|
|
747
748
|
|
|
748
749
|
var id = oFragment.getId();
|
|
749
750
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -755,11 +756,11 @@ sap.ui.define([
|
|
|
755
756
|
oFragment.destroy();
|
|
756
757
|
});
|
|
757
758
|
|
|
758
|
-
QUnit.test("JS Fragment loaded from file", function(assert) {
|
|
759
|
+
QUnit.test("JS Fragment loaded from file", async function(assert) {
|
|
759
760
|
assert.expect(3); // including one check in the View' createContent method
|
|
760
761
|
var oFragment = sap.ui.jsfragment("testdata.fragments_legacyAPIs.JSTestFragmentNoController");
|
|
761
762
|
oFragment.placeAt("content4");
|
|
762
|
-
|
|
763
|
+
await nextUIUpdate();
|
|
763
764
|
|
|
764
765
|
var id = oFragment.getId();
|
|
765
766
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -774,11 +775,11 @@ sap.ui.define([
|
|
|
774
775
|
/**
|
|
775
776
|
* @deprecated Since version 1.108
|
|
776
777
|
*/
|
|
777
|
-
QUnit.test("HTML Fragment loaded from file", function(assert) {
|
|
778
|
+
QUnit.test("HTML Fragment loaded from file", async function(assert) {
|
|
778
779
|
assert.expect(2);
|
|
779
780
|
var oFragment = sap.ui.htmlfragment("testdata.fragments_legacyAPIs.HTMLTestFragmentNoController");
|
|
780
781
|
oFragment.placeAt("content4");
|
|
781
|
-
|
|
782
|
+
await nextUIUpdate();
|
|
782
783
|
|
|
783
784
|
var id = oFragment.getId();
|
|
784
785
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -799,9 +800,9 @@ sap.ui.define([
|
|
|
799
800
|
}
|
|
800
801
|
});
|
|
801
802
|
|
|
802
|
-
QUnit.test("Unnamed Model", function(assert) {
|
|
803
|
+
QUnit.test("Unnamed Model", async function(assert) {
|
|
803
804
|
sap.ui.xmlview("unnamedView", "my.UnnamedView").placeAt("binding");
|
|
804
|
-
|
|
805
|
+
await nextUIUpdate();
|
|
805
806
|
|
|
806
807
|
var oLabel = sap.ui.getCore().byId("unnamedView--unnamedName");
|
|
807
808
|
assert.ok(oLabel.getText().indexOf("<Named>") == -1, "Binding of unnamed model set for 'name'");
|
|
@@ -810,9 +811,9 @@ sap.ui.define([
|
|
|
810
811
|
|
|
811
812
|
});
|
|
812
813
|
|
|
813
|
-
QUnit.test("Named Model", function(assert) {
|
|
814
|
+
QUnit.test("Named Model", async function(assert) {
|
|
814
815
|
sap.ui.xmlview("namedView", "my.View").placeAt("binding");
|
|
815
|
-
|
|
816
|
+
await nextUIUpdate();
|
|
816
817
|
|
|
817
818
|
var oLabel = sap.ui.getCore().byId("namedView--namedName");
|
|
818
819
|
assert.ok(oLabel.getText().indexOf("<Named>") > -1, "Binding of named model set for 'name'");
|
|
@@ -844,9 +845,9 @@ sap.ui.define([
|
|
|
844
845
|
return Fragment.load({
|
|
845
846
|
name: "testdata.fragments_legacyAPIs.HTMLTestFragmentNoController",
|
|
846
847
|
type: "HTML"
|
|
847
|
-
}).then(function(oFragment) {
|
|
848
|
+
}).then(async function(oFragment) {
|
|
848
849
|
oFragment.placeAt("content4");
|
|
849
|
-
|
|
850
|
+
await nextUIUpdate();
|
|
850
851
|
|
|
851
852
|
var id = oFragment.getId();
|
|
852
853
|
assert.ok(document.getElementById(id), "Fragment should be rendered");
|
|
@@ -866,9 +867,9 @@ sap.ui.define([
|
|
|
866
867
|
type: "JS",
|
|
867
868
|
id: "myJsFragLoadApi",
|
|
868
869
|
controller: this.oDummyController
|
|
869
|
-
}).then(function(oFragment) {
|
|
870
|
+
}).then(async function(oFragment) {
|
|
870
871
|
oFragment.placeAt("content1");
|
|
871
|
-
|
|
872
|
+
await nextUIUpdate();
|
|
872
873
|
|
|
873
874
|
var id = oFragment.getId();
|
|
874
875
|
|
|
@@ -900,9 +901,9 @@ sap.ui.define([
|
|
|
900
901
|
return Fragment.load({
|
|
901
902
|
definition: myXml,
|
|
902
903
|
controller: this.oDummyController
|
|
903
|
-
}).then(function(oFragment) {
|
|
904
|
+
}).then(async function(oFragment) {
|
|
904
905
|
oFragment.placeAt("content1");
|
|
905
|
-
|
|
906
|
+
await nextUIUpdate();
|
|
906
907
|
|
|
907
908
|
var id = oFragment.getId();
|
|
908
909
|
assert.ok(document.getElementById(id), "XML Fragment should be rendered");
|