@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
|
@@ -7,12 +7,13 @@ sap.ui.define([
|
|
|
7
7
|
"composites/TemplateTest", "composites/ChildOfAbstract", "composites/TextToggleButton",
|
|
8
8
|
"composites/TextToggleButtonNested", "composites/TextToggleButtonForwarded",
|
|
9
9
|
"composites/WrapperLayouter", "composites/TranslatableText", "composites/TranslatableTextLib",
|
|
10
|
-
"composites/TranslatableTextBundle"
|
|
10
|
+
"composites/TranslatableTextBundle",
|
|
11
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
11
12
|
], function (QUnitUtils, Core, XMLPreprocessor, XMLComposite, Controller, JSONModel, Item,
|
|
12
13
|
Text, SimpleText, SortedList, TextButton, TextList, ForwardText, Field, HiddenMetadata,
|
|
13
14
|
TemplateTest, ChildOfAbstract, TextToggleButton, TextToggleButtonNested,
|
|
14
15
|
TextToggleButtonForwarded, WrapperLayouter, TranslatableText, TranslatableTextLib,
|
|
15
|
-
TranslatableTextBundle) {
|
|
16
|
+
TranslatableTextBundle, nextUIUpdate) {
|
|
16
17
|
/*global QUnit, sinon */
|
|
17
18
|
/*eslint no-warning-comments: 0 */
|
|
18
19
|
"use strict";
|
|
@@ -22,7 +23,7 @@ sap.ui.define([
|
|
|
22
23
|
beforeEach: function () {
|
|
23
24
|
this.oXMLComposite = new SimpleText();
|
|
24
25
|
this.oXMLComposite.placeAt("qunit-fixture");
|
|
25
|
-
|
|
26
|
+
return nextUIUpdate();
|
|
26
27
|
},
|
|
27
28
|
afterEach: function () {
|
|
28
29
|
this.oXMLComposite.destroy();
|
|
@@ -137,7 +138,7 @@ sap.ui.define([
|
|
|
137
138
|
beforeEach: function() {
|
|
138
139
|
this.oXMLComposite = new HiddenMetadata();
|
|
139
140
|
this.oXMLComposite.placeAt("qunit-fixture");
|
|
140
|
-
|
|
141
|
+
return nextUIUpdate();
|
|
141
142
|
},
|
|
142
143
|
afterEach: function() {
|
|
143
144
|
this.oXMLComposite.destroy();
|
|
@@ -165,7 +166,7 @@ sap.ui.define([
|
|
|
165
166
|
text: this.oText
|
|
166
167
|
});
|
|
167
168
|
this.oXMLComposite.placeAt("qunit-fixture");
|
|
168
|
-
|
|
169
|
+
return nextUIUpdate();
|
|
169
170
|
},
|
|
170
171
|
afterEach: function () {
|
|
171
172
|
this.oXMLComposite.destroy();
|
|
@@ -245,7 +246,7 @@ sap.ui.define([
|
|
|
245
246
|
textItems: this.aTexts
|
|
246
247
|
});
|
|
247
248
|
this.oXMLComposite.placeAt("qunit-fixture");
|
|
248
|
-
|
|
249
|
+
return nextUIUpdate();
|
|
249
250
|
},
|
|
250
251
|
afterEach: function () {
|
|
251
252
|
// this.oXMLComposite.destroy(); TODO: why do this destroy lead to
|
|
@@ -345,7 +346,7 @@ sap.ui.define([
|
|
|
345
346
|
beforeEach: function () {
|
|
346
347
|
this.oXMLComposite = new Field();
|
|
347
348
|
this.oXMLComposite.placeAt("qunit-fixture");
|
|
348
|
-
|
|
349
|
+
return nextUIUpdate();
|
|
349
350
|
},
|
|
350
351
|
afterEach: function () {
|
|
351
352
|
this.oXMLComposite.destroy();
|
|
@@ -412,10 +413,10 @@ sap.ui.define([
|
|
|
412
413
|
oXMLComposite.destroy();
|
|
413
414
|
});
|
|
414
415
|
|
|
415
|
-
QUnit.test("outer", function (assert) {
|
|
416
|
+
QUnit.test("outer", async function (assert) {
|
|
416
417
|
var oXMLComposite = new TextToggleButton();
|
|
417
418
|
oXMLComposite.placeAt("qunit-fixture");
|
|
418
|
-
|
|
419
|
+
await nextUIUpdate();
|
|
419
420
|
var done = assert.async();
|
|
420
421
|
|
|
421
422
|
oXMLComposite.attachTextChanged(function () {
|
|
@@ -430,11 +431,11 @@ sap.ui.define([
|
|
|
430
431
|
oXMLComposite.destroy();
|
|
431
432
|
});
|
|
432
433
|
|
|
433
|
-
QUnit.test("nested - event from deep inner to outer", function (assert) {
|
|
434
|
+
QUnit.test("nested - event from deep inner to outer", async function (assert) {
|
|
434
435
|
var fnFireTextChangedSpy = sinon.spy(TextToggleButtonNested.prototype, "fireTextChanged");
|
|
435
436
|
var oXMLComposite = new TextToggleButtonNested();
|
|
436
437
|
oXMLComposite.placeAt("qunit-fixture");
|
|
437
|
-
|
|
438
|
+
await nextUIUpdate();
|
|
438
439
|
|
|
439
440
|
// act: Click on ToggleButton
|
|
440
441
|
QUnitUtils.triggerTouchEvent("tap", oXMLComposite.getAggregation("_content").getItems()[0].getAggregation("_content").getItems()[1].getDomRef());
|
|
@@ -446,10 +447,10 @@ sap.ui.define([
|
|
|
446
447
|
oXMLComposite.destroy();
|
|
447
448
|
});
|
|
448
449
|
|
|
449
|
-
QUnit.test("nested - event from inner to outer", function (assert) {
|
|
450
|
+
QUnit.test("nested - event from inner to outer", async function (assert) {
|
|
450
451
|
var oXMLComposite = new TextToggleButtonNested();
|
|
451
452
|
oXMLComposite.placeAt("qunit-fixture");
|
|
452
|
-
|
|
453
|
+
await nextUIUpdate();
|
|
453
454
|
var done = assert.async();
|
|
454
455
|
|
|
455
456
|
// Initial state of the nested controls
|
|
@@ -478,14 +479,14 @@ sap.ui.define([
|
|
|
478
479
|
oXMLComposite.destroy();
|
|
479
480
|
});
|
|
480
481
|
|
|
481
|
-
QUnit.test("forwarded - event from deep inner to outer", function (assert) {
|
|
482
|
+
QUnit.test("forwarded - event from deep inner to outer", async function (assert) {
|
|
482
483
|
var oTextToggleButton = new TextToggleButton();
|
|
483
484
|
var fnFireTextChangedSpy = sinon.spy(TextToggleButtonForwarded.prototype, "fireTextChanged");
|
|
484
485
|
var oXMLComposite = new TextToggleButtonForwarded({
|
|
485
486
|
textToggleButton: oTextToggleButton
|
|
486
487
|
});
|
|
487
488
|
oXMLComposite.placeAt("qunit-fixture");
|
|
488
|
-
|
|
489
|
+
await nextUIUpdate();
|
|
489
490
|
|
|
490
491
|
// act: Click on ToggleButton
|
|
491
492
|
QUnitUtils.triggerTouchEvent("tap", oTextToggleButton.getAggregation("_content").getItems()[1].getDomRef());
|
|
@@ -497,12 +498,12 @@ sap.ui.define([
|
|
|
497
498
|
oXMLComposite.destroy();
|
|
498
499
|
});
|
|
499
500
|
|
|
500
|
-
QUnit.test("forwarded - event from inner to outer", function (assert) {
|
|
501
|
+
QUnit.test("forwarded - event from inner to outer", async function (assert) {
|
|
501
502
|
var oXMLComposite = new TextToggleButtonForwarded({
|
|
502
503
|
textToggleButton: new TextToggleButton()
|
|
503
504
|
});
|
|
504
505
|
oXMLComposite.placeAt("qunit-fixture");
|
|
505
|
-
|
|
506
|
+
await nextUIUpdate();
|
|
506
507
|
var done = assert.async();
|
|
507
508
|
|
|
508
509
|
// Initial state of controls
|
|
@@ -558,10 +559,10 @@ sap.ui.define([
|
|
|
558
559
|
oXMLComposite.destroy();
|
|
559
560
|
});
|
|
560
561
|
|
|
561
|
-
QUnit.test("Abstract", function (assert) {
|
|
562
|
+
QUnit.test("Abstract", async function (assert) {
|
|
562
563
|
var oXMLComposite = new ChildOfAbstract();
|
|
563
564
|
oXMLComposite.placeAt("qunit-fixture");
|
|
564
|
-
|
|
565
|
+
await nextUIUpdate();
|
|
565
566
|
assert.ok(oXMLComposite);
|
|
566
567
|
oXMLComposite.destroy();
|
|
567
568
|
});
|
|
@@ -591,14 +592,14 @@ sap.ui.define([
|
|
|
591
592
|
|
|
592
593
|
var oClone = oXMLComposite.clone("MyClone");
|
|
593
594
|
assert.equal(oClone.getId(), "Frag1-MyClone", "XMLComposite cloned");
|
|
594
|
-
setTimeout(function() {
|
|
595
|
+
setTimeout(async function() {
|
|
595
596
|
var oContent = oClone._getCompositeAggregation();
|
|
596
597
|
//TEMP-CLONE-ISSUE assert.notOk(fnVBoxCloneSpy.called, "VBox clone function not called");
|
|
597
598
|
//TEMP-CLONE-ISSUE assert.equal(oContent.getId(), "Frag1-MyClone--myVBox", "VBox created, not cloned");
|
|
598
599
|
|
|
599
600
|
oXMLComposite.placeAt("qunit-fixture");
|
|
600
601
|
oClone.placeAt("qunit-fixture");
|
|
601
|
-
|
|
602
|
+
await nextUIUpdate();
|
|
602
603
|
|
|
603
604
|
//Id access
|
|
604
605
|
oButton = oXMLComposite.byId("myButton");
|
|
@@ -673,7 +674,7 @@ sap.ui.define([
|
|
|
673
674
|
});
|
|
674
675
|
this.oWrapper = new Wrapper("layout");
|
|
675
676
|
this.oWrapper.placeAt("qunit-fixture");
|
|
676
|
-
|
|
677
|
+
return nextUIUpdate();
|
|
677
678
|
},
|
|
678
679
|
afterEach: function () {
|
|
679
680
|
this.oWrapper.destroy();
|
|
@@ -702,7 +703,7 @@ sap.ui.define([
|
|
|
702
703
|
this.oWrapper.setHeight("100%");
|
|
703
704
|
this.oWrapper.setWidth("200px");
|
|
704
705
|
this.oWrapper.setDisplayBlock(false);
|
|
705
|
-
|
|
706
|
+
return nextUIUpdate();
|
|
706
707
|
},
|
|
707
708
|
afterEach: function () {
|
|
708
709
|
this.oWrapper.destroy();
|
|
@@ -731,11 +732,11 @@ sap.ui.define([
|
|
|
731
732
|
});
|
|
732
733
|
//*********************************************************************************************
|
|
733
734
|
|
|
734
|
-
QUnit.test("properties", function (assert) {
|
|
735
|
+
QUnit.test("properties", async function (assert) {
|
|
735
736
|
var done = assert.async();
|
|
736
737
|
var oXMLComposite = new TranslatableText();
|
|
737
738
|
oXMLComposite.placeAt("qunit-fixture");
|
|
738
|
-
|
|
739
|
+
await nextUIUpdate();
|
|
739
740
|
assert.equal(oXMLComposite.bUsesI18n, true, "The i18n resource model is used");
|
|
740
741
|
if (oXMLComposite.getResourceBundle().then) {
|
|
741
742
|
//async loading of resource bundle
|
|
@@ -750,7 +751,7 @@ sap.ui.define([
|
|
|
750
751
|
}
|
|
751
752
|
});
|
|
752
753
|
|
|
753
|
-
QUnit.test("positive tests - not in root", function (assert) {
|
|
754
|
+
QUnit.test("positive tests - not in root", async function (assert) {
|
|
754
755
|
var done = assert.async();
|
|
755
756
|
|
|
756
757
|
var sFragmentContent = '<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core" xmlns:layout="sap.ui.layout">'
|
|
@@ -769,7 +770,7 @@ sap.ui.define([
|
|
|
769
770
|
|
|
770
771
|
var oXMLComposite = new TextInButton({placeholder: "custom placeholder"});
|
|
771
772
|
oXMLComposite.placeAt("qunit-fixture");
|
|
772
|
-
|
|
773
|
+
await nextUIUpdate();
|
|
773
774
|
assert.equal(oXMLComposite.bUsesI18n, true, "The i18n resource model is used");
|
|
774
775
|
if (oXMLComposite.getResourceBundle().then) {
|
|
775
776
|
//async loading of resource bundle
|
|
@@ -784,7 +785,7 @@ sap.ui.define([
|
|
|
784
785
|
}
|
|
785
786
|
});
|
|
786
787
|
|
|
787
|
-
QUnit.test("positive tests - in root", function (assert) {
|
|
788
|
+
QUnit.test("positive tests - in root", async function (assert) {
|
|
788
789
|
var done = assert.async();
|
|
789
790
|
var sFragmentContent = '<m:Panel id="myTranslatableTextControl" headerText="{$this.i18n>panelText}" xmlns:m="sap.m"><m:Input id="innerInput" placeholder="{$this>/placeholder}" />'
|
|
790
791
|
+ '<m:Button text="{$this>/buttonText}" press="handleSearch" /></m:Panel>';
|
|
@@ -802,7 +803,7 @@ sap.ui.define([
|
|
|
802
803
|
|
|
803
804
|
var oXMLComposite = new TextInRoot({placeholder: "custom placeholder"});
|
|
804
805
|
oXMLComposite.placeAt("qunit-fixture");
|
|
805
|
-
|
|
806
|
+
await nextUIUpdate();
|
|
806
807
|
assert.equal(oXMLComposite.bUsesI18n, true, "The i18n resource model is used");
|
|
807
808
|
if (oXMLComposite.getResourceBundle().then) {
|
|
808
809
|
//async loading of resource bundle
|
|
@@ -817,10 +818,10 @@ sap.ui.define([
|
|
|
817
818
|
}
|
|
818
819
|
});
|
|
819
820
|
|
|
820
|
-
QUnit.test("negative test lib not loaded when not used", function (assert) {
|
|
821
|
+
QUnit.test("negative test lib not loaded when not used", async function (assert) {
|
|
821
822
|
var oXMLComposite = new TextToggleButton();
|
|
822
823
|
oXMLComposite.placeAt("qunit-fixture");
|
|
823
|
-
|
|
824
|
+
await nextUIUpdate();
|
|
824
825
|
var oContent = oXMLComposite._getCompositeAggregation();
|
|
825
826
|
assert.equal(oXMLComposite.bUsesI18n, false, "No reference for the i18n resource model is found");
|
|
826
827
|
assert.notOk(oContent.getModel("$" + oXMLComposite.alias + ".i18n"), "there is no i18n Model");
|
|
@@ -836,11 +837,11 @@ sap.ui.define([
|
|
|
836
837
|
});
|
|
837
838
|
//*********************************************************************************************
|
|
838
839
|
|
|
839
|
-
QUnit.test("properties", function (assert) {
|
|
840
|
+
QUnit.test("properties", async function (assert) {
|
|
840
841
|
var done = assert.async();
|
|
841
842
|
var oXMLComposite = new TranslatableTextLib();
|
|
842
843
|
oXMLComposite.placeAt("qunit-fixture");
|
|
843
|
-
|
|
844
|
+
await nextUIUpdate();
|
|
844
845
|
if (oXMLComposite.getResourceBundle().then) {
|
|
845
846
|
//async loading of resource bundle
|
|
846
847
|
oXMLComposite.getResourceBundle().then(function (oBundle) {
|
|
@@ -863,11 +864,11 @@ sap.ui.define([
|
|
|
863
864
|
});
|
|
864
865
|
//*********************************************************************************************
|
|
865
866
|
|
|
866
|
-
QUnit.test("properties", function (assert) {
|
|
867
|
+
QUnit.test("properties", async function (assert) {
|
|
867
868
|
var done = assert.async();
|
|
868
869
|
var oXMLComposite = new TranslatableText();
|
|
869
870
|
oXMLComposite.placeAt("qunit-fixture");
|
|
870
|
-
|
|
871
|
+
await nextUIUpdate();
|
|
871
872
|
if (oXMLComposite.getResourceBundle().then) {
|
|
872
873
|
//async loading of resource bundle
|
|
873
874
|
oXMLComposite.getResourceBundle().then(function (oBundle) {
|
|
@@ -889,11 +890,11 @@ sap.ui.define([
|
|
|
889
890
|
});
|
|
890
891
|
//*********************************************************************************************
|
|
891
892
|
|
|
892
|
-
QUnit.test("properties", function (assert) {
|
|
893
|
+
QUnit.test("properties", async function (assert) {
|
|
893
894
|
var done = assert.async();
|
|
894
895
|
var oXMLComposite = new TranslatableTextBundle();
|
|
895
896
|
oXMLComposite.placeAt("qunit-fixture");
|
|
896
|
-
|
|
897
|
+
await nextUIUpdate();
|
|
897
898
|
if (oXMLComposite.getResourceBundle().then) {
|
|
898
899
|
//async loading of resource bundle
|
|
899
900
|
oXMLComposite.getResourceBundle().then(function (oBundle) {
|
|
@@ -917,11 +918,11 @@ sap.ui.define([
|
|
|
917
918
|
});
|
|
918
919
|
//*********************************************************************************************
|
|
919
920
|
|
|
920
|
-
QUnit.test("properties", function (assert) {
|
|
921
|
+
QUnit.test("properties", async function (assert) {
|
|
921
922
|
var done = assert.async();
|
|
922
923
|
var oXMLComposite = new TranslatableTextBundle();
|
|
923
924
|
oXMLComposite.placeAt("qunit-fixture");
|
|
924
|
-
|
|
925
|
+
await nextUIUpdate();
|
|
925
926
|
if (oXMLComposite.getResourceBundle().then) {
|
|
926
927
|
//async loading of resource bundle
|
|
927
928
|
oXMLComposite.getResourceBundle().then(function (oBundle) {
|
|
@@ -944,13 +945,13 @@ sap.ui.define([
|
|
|
944
945
|
});
|
|
945
946
|
//*********************************************************************************************
|
|
946
947
|
|
|
947
|
-
QUnit.test("properties", function (assert) {
|
|
948
|
+
QUnit.test("properties", async function (assert) {
|
|
948
949
|
var done = assert.async();
|
|
949
950
|
var oXMLComposite0 = new TranslatableTextLib();
|
|
950
951
|
var oXMLComposite1 = new TranslatableTextLib();
|
|
951
952
|
oXMLComposite0.placeAt("qunit-fixture");
|
|
952
953
|
oXMLComposite1.placeAt("qunit-fixture");
|
|
953
|
-
|
|
954
|
+
await nextUIUpdate();
|
|
954
955
|
|
|
955
956
|
//async loading of resource bundle
|
|
956
957
|
var p0 = oXMLComposite0.getResourceBundle();
|
|
@@ -1025,8 +1026,7 @@ sap.ui.define([
|
|
|
1025
1026
|
oField.addAriaLabelledBy(oAdditionalLabel);
|
|
1026
1027
|
this.content = new HBox({items: [oLabel,oField, oAdditionalLabel]});
|
|
1027
1028
|
this.content.placeAt("qunit-fixture");
|
|
1028
|
-
|
|
1029
|
-
resolve();
|
|
1029
|
+
nextUIUpdate().then(resolve);
|
|
1030
1030
|
}.bind(this));
|
|
1031
1031
|
}.bind(this));
|
|
1032
1032
|
},
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/*global QUnit*/
|
|
2
|
-
sap.ui.define([
|
|
2
|
+
sap.ui.define([
|
|
3
|
+
"sap/ui/core/Core"
|
|
4
|
+
], function(
|
|
5
|
+
Core
|
|
6
|
+
) {
|
|
3
7
|
"use strict";
|
|
4
8
|
|
|
5
9
|
QUnit.module("CSP Compliance");
|
|
@@ -24,20 +28,21 @@ sap.ui.define([], function() {
|
|
|
24
28
|
// the browser completely ignores the header and won't report violations
|
|
25
29
|
if (sCsp || (sCspReportOnly && sCspReportOnly.indexOf("report-uri") !== -1)) {
|
|
26
30
|
// Check for reported CSP violations
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
window["ui5-core-csp-violations"].forEach(function(oViolation) {
|
|
32
|
-
assert.ok(
|
|
33
|
-
false,
|
|
34
|
-
oViolation.sourceFile + ":" + oViolation.lineNumber + ":" +
|
|
35
|
-
oViolation.columnNumber + ": " +
|
|
36
|
-
oViolation.effectiveDirective + " - " + oViolation.blockedURI
|
|
31
|
+
Core.ready().then(function() {
|
|
32
|
+
assert.ok(sap.ui.getCore().isInitialized(), "UI5 Core has been initialized");
|
|
33
|
+
assert.ok(window["ui5-core-csp-violations"].length === 0,
|
|
34
|
+
"Found " + window["ui5-core-csp-violations"].length + " CSP violation(s)"
|
|
37
35
|
);
|
|
36
|
+
window["ui5-core-csp-violations"].forEach(function(oViolation) {
|
|
37
|
+
assert.ok(
|
|
38
|
+
false,
|
|
39
|
+
oViolation.sourceFile + ":" + oViolation.lineNumber + ":" +
|
|
40
|
+
oViolation.columnNumber + ": " +
|
|
41
|
+
oViolation.effectiveDirective + " - " + oViolation.blockedURI
|
|
42
|
+
);
|
|
43
|
+
});
|
|
44
|
+
done();
|
|
38
45
|
});
|
|
39
|
-
|
|
40
|
-
done();
|
|
41
46
|
} else {
|
|
42
47
|
// Fail test as headers are not set as required
|
|
43
48
|
oReq.abort();
|
|
@@ -6,12 +6,11 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/dnd/DragDropInfo",
|
|
7
7
|
"sap/ui/thirdparty/jquery",
|
|
8
8
|
"sap/ui/core/Control",
|
|
9
|
-
"sap/ui/core/Element",
|
|
10
9
|
"sap/ui/core/UIArea",
|
|
11
|
-
"sap/ui/core/Core",
|
|
12
10
|
"sap/ui/Device",
|
|
13
|
-
"sap/ui/core/Configuration"
|
|
14
|
-
|
|
11
|
+
"sap/ui/core/Configuration",
|
|
12
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
13
|
+
], function(DragAndDrop, DragInfo, DropInfo, DragDropInfo, jQuery, Control, UIArea, Device, Configuration, nextUIUpdate) {
|
|
15
14
|
"use strict";
|
|
16
15
|
|
|
17
16
|
var DivControl = Control.extend("sap.ui.core.dnd.test.DivControl", {
|
|
@@ -156,7 +155,7 @@ sap.ui.define([
|
|
|
156
155
|
]
|
|
157
156
|
});
|
|
158
157
|
this.oControl.addStyleClass("sapUiScrollDelegate").placeAt("qunit-fixture");
|
|
159
|
-
|
|
158
|
+
return nextUIUpdate();
|
|
160
159
|
},
|
|
161
160
|
afterEach: function() {
|
|
162
161
|
this.oControl.destroy();
|
|
@@ -170,13 +169,13 @@ sap.ui.define([
|
|
|
170
169
|
assert.equal(oEvent.dragSession, null, "No drag session was created for a non draggable element");
|
|
171
170
|
});
|
|
172
171
|
|
|
173
|
-
QUnit.test("Text input elements", function(assert) {
|
|
172
|
+
QUnit.test("Text input elements", async function(assert) {
|
|
174
173
|
var oEvent;
|
|
175
174
|
|
|
176
175
|
this.oControl.addTopItem(new DivControl({elementTag: "input"}));
|
|
177
176
|
this.oControl.addTopItem(new DivControl({elementTag: "textarea"}));
|
|
178
177
|
this.oControl.addDragDropConfig(new DragDropInfo({sourceAggregation: "topItems"}));
|
|
179
|
-
|
|
178
|
+
await nextUIUpdate();
|
|
180
179
|
|
|
181
180
|
oEvent = createjQueryDragEventDummy("dragstart", this.oControl.getTopItems()[0]);
|
|
182
181
|
oEvent.target.focus();
|
|
@@ -190,7 +189,7 @@ sap.ui.define([
|
|
|
190
189
|
assert.equal(oEvent.dragSession, null, "No drag session was created for a textarea element");
|
|
191
190
|
});
|
|
192
191
|
|
|
193
|
-
QUnit.test("Text input elements - Workaround for a bug in Firefox", function(assert) {
|
|
192
|
+
QUnit.test("Text input elements - Workaround for a bug in Firefox", async function(assert) {
|
|
194
193
|
var oBrowserStub = sinon.stub(Device, "browser");
|
|
195
194
|
var that = this;
|
|
196
195
|
var sBrowser = "firefox";
|
|
@@ -200,7 +199,7 @@ sap.ui.define([
|
|
|
200
199
|
that.oControl.addTopItem(new DivControl({elementTag: "input"}));
|
|
201
200
|
that.oControl.addTopItem(new DivControl({elementTag: "textarea"}));
|
|
202
201
|
that.oControl.addDragDropConfig(new DragDropInfo());
|
|
203
|
-
|
|
202
|
+
await nextUIUpdate();
|
|
204
203
|
|
|
205
204
|
assert.ok(that.oControl.getDomRef().draggable, sBrowser + " - Ancestor is draggable before mousedown");
|
|
206
205
|
|
|
@@ -299,7 +298,7 @@ sap.ui.define([
|
|
|
299
298
|
]
|
|
300
299
|
});
|
|
301
300
|
this.oControl.placeAt("qunit-fixture");
|
|
302
|
-
|
|
301
|
+
return nextUIUpdate();
|
|
303
302
|
},
|
|
304
303
|
afterEach: function() {
|
|
305
304
|
this.oControl.destroy();
|
|
@@ -463,7 +462,7 @@ sap.ui.define([
|
|
|
463
462
|
]
|
|
464
463
|
});
|
|
465
464
|
this.oControl.placeAt("qunit-fixture");
|
|
466
|
-
|
|
465
|
+
return nextUIUpdate();
|
|
467
466
|
},
|
|
468
467
|
afterEach: function() {
|
|
469
468
|
this.oControl.destroy();
|
|
@@ -583,7 +582,7 @@ sap.ui.define([
|
|
|
583
582
|
]
|
|
584
583
|
});
|
|
585
584
|
this.oControl.placeAt("qunit-fixture");
|
|
586
|
-
|
|
585
|
+
return nextUIUpdate();
|
|
587
586
|
},
|
|
588
587
|
afterEach: function() {
|
|
589
588
|
this.oControl.destroy();
|
|
@@ -658,7 +657,7 @@ sap.ui.define([
|
|
|
658
657
|
});
|
|
659
658
|
|
|
660
659
|
QUnit.module("dragSession", {
|
|
661
|
-
beforeEach: function() {
|
|
660
|
+
beforeEach: async function() {
|
|
662
661
|
this.oContainer = new DragAndDropControl({
|
|
663
662
|
topItems: [this.oSourceControl = new DivControl()],
|
|
664
663
|
bottomItems: [this.oTargetControl = new DivControl(), this.oLastTargetControl = new DivControl()],
|
|
@@ -673,7 +672,8 @@ sap.ui.define([
|
|
|
673
672
|
});
|
|
674
673
|
|
|
675
674
|
this.oContainer.placeAt("qunit-fixture");
|
|
676
|
-
|
|
675
|
+
|
|
676
|
+
await nextUIUpdate();
|
|
677
677
|
|
|
678
678
|
this.oTargetDomRef = this.oTargetControl.getDomRef();
|
|
679
679
|
this.oSourceDomRef = this.oSourceControl.getDomRef();
|
|
@@ -789,7 +789,7 @@ sap.ui.define([
|
|
|
789
789
|
});
|
|
790
790
|
|
|
791
791
|
QUnit.module("groupName", {
|
|
792
|
-
beforeEach: function() {
|
|
792
|
+
beforeEach: async function() {
|
|
793
793
|
this.oContainer = new DragAndDropControl({
|
|
794
794
|
topItems: [this.oSourceControl = new DivControl()],
|
|
795
795
|
bottomItems: [this.oTargetControl = new DivControl()],
|
|
@@ -807,7 +807,8 @@ sap.ui.define([
|
|
|
807
807
|
});
|
|
808
808
|
|
|
809
809
|
this.oContainer.placeAt("qunit-fixture");
|
|
810
|
-
|
|
810
|
+
|
|
811
|
+
await nextUIUpdate();
|
|
811
812
|
|
|
812
813
|
this.oTargetDomRef = this.oTargetControl.getDomRef();
|
|
813
814
|
this.oSourceDomRef = this.oSourceControl.getDomRef();
|
|
@@ -863,7 +864,7 @@ sap.ui.define([
|
|
|
863
864
|
});
|
|
864
865
|
|
|
865
866
|
QUnit.module("Parent traverse", {
|
|
866
|
-
beforeEach: function() {
|
|
867
|
+
beforeEach: async function() {
|
|
867
868
|
this.oContainer = new DragAndDropControl({
|
|
868
869
|
topItems: [this.oSourceControl = new DivControl()],
|
|
869
870
|
bottomItems: [this.oTargetControl = new DivControl({
|
|
@@ -886,7 +887,7 @@ sap.ui.define([
|
|
|
886
887
|
});
|
|
887
888
|
|
|
888
889
|
this.oContainer.placeAt("qunit-fixture");
|
|
889
|
-
|
|
890
|
+
await nextUIUpdate();
|
|
890
891
|
|
|
891
892
|
this.oTargetDomRef = this.oTargetControl.getDomRef();
|
|
892
893
|
this.oSourceDomRef = this.oSourceControl.getDomRef();
|
|
@@ -6,8 +6,9 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/dnd/DragInfo",
|
|
7
7
|
"sap/ui/base/ManagedObject",
|
|
8
8
|
"sap/ui/core/ElementMetadata",
|
|
9
|
-
"sap/base/Log"
|
|
10
|
-
|
|
9
|
+
"sap/base/Log",
|
|
10
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
11
|
+
], function(jQuery, TestControl, DragInfo, ManagedObject, ElementMetadata, Log, nextUIUpdate) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
QUnit.module("");
|
|
@@ -73,7 +74,7 @@ sap.ui.define([
|
|
|
73
74
|
oControl.destroy();
|
|
74
75
|
});
|
|
75
76
|
|
|
76
|
-
QUnit.test("isDraggable - Aggregated child element", function(assert) {
|
|
77
|
+
QUnit.test("isDraggable - Aggregated child element", async function(assert) {
|
|
77
78
|
var oDragInfo = new DragInfo({
|
|
78
79
|
sourceAggregation: "children"
|
|
79
80
|
});
|
|
@@ -84,7 +85,7 @@ sap.ui.define([
|
|
|
84
85
|
});
|
|
85
86
|
|
|
86
87
|
oParent.placeAt("qunit-fixture");
|
|
87
|
-
|
|
88
|
+
await nextUIUpdate();
|
|
88
89
|
|
|
89
90
|
assert.ok(oDragInfo.isDraggable(oControl), "Draggable: Child control is in the defined sourceAggregation");
|
|
90
91
|
assert.ok(oControl.getDomRef().draggable, "Dom Draggable: Child control is in the defined sourceAggregation");
|
|
@@ -96,31 +97,31 @@ sap.ui.define([
|
|
|
96
97
|
delete oControl.isDragAllowed;
|
|
97
98
|
|
|
98
99
|
oDragInfo.setSourceAggregation("thereIsNoSuchAnAggregationName");
|
|
99
|
-
|
|
100
|
+
await nextUIUpdate();
|
|
100
101
|
|
|
101
102
|
assert.notOk(oDragInfo.isDraggable(oControl), "Not Draggable: Child control is not in the defined sourceAggregation");
|
|
102
103
|
assert.notOk(oControl.getDomRef().draggable, "Dom Not Draggable: Child control is not in the defined sourceAggregation");
|
|
103
104
|
|
|
104
105
|
oDragInfo.setSourceAggregation("children");
|
|
105
|
-
|
|
106
|
+
await nextUIUpdate();
|
|
106
107
|
|
|
107
108
|
assert.ok(oDragInfo.isDraggable(oControl), "Draggable Again: Child control is in the defined sourceAggregation");
|
|
108
109
|
assert.ok(oControl.getDomRef().draggable, "Dom Draggable Again: Child control is in the defined sourceAggregation");
|
|
109
110
|
|
|
110
111
|
oDragInfo.setEnabled(false);
|
|
111
|
-
|
|
112
|
+
await nextUIUpdate();
|
|
112
113
|
|
|
113
114
|
assert.notOk(oDragInfo.isDraggable(oControl), "Not Draggable: DragInfo is disabled");
|
|
114
115
|
assert.notOk(oControl.getDomRef().draggable, "Dom Not Draggable: DragInfo is disabled");
|
|
115
116
|
|
|
116
117
|
oDragInfo.setEnabled(true);
|
|
117
|
-
|
|
118
|
+
await nextUIUpdate();
|
|
118
119
|
|
|
119
120
|
assert.ok(oDragInfo.isDraggable(oControl), "Draggable: DragInfo is enabled");
|
|
120
121
|
assert.ok(oControl.getDomRef().draggable, "Dom Draggable: DragInfo is enabled");
|
|
121
122
|
|
|
122
123
|
oDragInfo.setSourceAggregation();
|
|
123
|
-
|
|
124
|
+
await nextUIUpdate();
|
|
124
125
|
|
|
125
126
|
assert.notOk(oDragInfo.isDraggable(oControl), "Not Draggable: sourceAggregation is empty");
|
|
126
127
|
assert.notOk(oControl.getDomRef().draggable, "Dom Not Draggable: sourceAggregation is empty");
|
|
@@ -130,7 +131,7 @@ sap.ui.define([
|
|
|
130
131
|
oParent.destroy();
|
|
131
132
|
});
|
|
132
133
|
|
|
133
|
-
QUnit.test("isDraggable - Enabled", function(assert) {
|
|
134
|
+
QUnit.test("isDraggable - Enabled", async function(assert) {
|
|
134
135
|
var oDragInfo = new DragInfo({
|
|
135
136
|
enabled: false
|
|
136
137
|
});
|
|
@@ -139,13 +140,13 @@ sap.ui.define([
|
|
|
139
140
|
});
|
|
140
141
|
|
|
141
142
|
oControl.placeAt("qunit-fixture");
|
|
142
|
-
|
|
143
|
+
await nextUIUpdate();
|
|
143
144
|
|
|
144
145
|
assert.notOk(oDragInfo.isDraggable(oControl), "Not draggable: DragInfo is not enabled");
|
|
145
146
|
assert.notOk(oControl.getDomRef().draggable, "Dom Not draggable: DragInfo is not enabled");
|
|
146
147
|
|
|
147
148
|
oDragInfo.setEnabled(true);
|
|
148
|
-
|
|
149
|
+
await nextUIUpdate();
|
|
149
150
|
|
|
150
151
|
assert.ok(oDragInfo.isDraggable(oControl), "Draggable: DragInfo is enabled and drag source is the control itself");
|
|
151
152
|
assert.ok(oControl.getDomRef().draggable, "Dom Draggable: DragInfo is enabled and drag source is the control itself");
|
|
@@ -6,8 +6,9 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/dnd/DropInfo",
|
|
7
7
|
"sap/ui/base/ManagedObject",
|
|
8
8
|
"sap/ui/core/ElementMetadata",
|
|
9
|
-
"sap/base/Log"
|
|
10
|
-
|
|
9
|
+
"sap/base/Log",
|
|
10
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
11
|
+
], function(jQuery, TestControl, DropInfo, ManagedObject, ElementMetadata, Log, nextUIUpdate) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
QUnit.module("");
|
|
@@ -129,7 +130,7 @@ sap.ui.define([
|
|
|
129
130
|
oParent.destroy();
|
|
130
131
|
});
|
|
131
132
|
|
|
132
|
-
QUnit.test("isDroppable - Empty Aggregation", function(assert) {
|
|
133
|
+
QUnit.test("isDroppable - Empty Aggregation", async function(assert) {
|
|
133
134
|
var oDropInfo = new DropInfo({
|
|
134
135
|
targetAggregation: "children"
|
|
135
136
|
});
|
|
@@ -139,7 +140,7 @@ sap.ui.define([
|
|
|
139
140
|
var oEvent = new jQuery.Event("dragenter");
|
|
140
141
|
|
|
141
142
|
oControl.placeAt("qunit-fixture");
|
|
142
|
-
|
|
143
|
+
await nextUIUpdate();
|
|
143
144
|
|
|
144
145
|
oEvent.target = oControl.getDomRef("children");
|
|
145
146
|
assert.notOk(oDropInfo.isDroppable(oControl, oEvent), "Not Droppable: event target is the defined targetAggregation DOM");
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/test/generic/TestBase",
|
|
8
8
|
"sap/ui/test/generic/Utils",
|
|
9
|
-
"sap/ui/core/Element"
|
|
10
|
-
|
|
9
|
+
"sap/ui/core/Element",
|
|
10
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
11
|
+
], function(TestBase, Utils, Element, nextUIUpdate) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
// asserts that both given maps have the same entries
|
|
@@ -80,7 +81,7 @@ sap.ui.define([
|
|
|
80
81
|
mPreElements,
|
|
81
82
|
createAndTestControl = function (bFinalIteration) {
|
|
82
83
|
var oControl = Utils.createControlOrElement(oClassInfo.fnClass, this.getObjectCapabilities(sControlName)),
|
|
83
|
-
testControl = function (oControl) {
|
|
84
|
+
testControl = async function (oControl) {
|
|
84
85
|
// check whether this control can be rendered
|
|
85
86
|
if (oControl.placeAt && !bFinalIteration) {
|
|
86
87
|
try {
|
|
@@ -96,17 +97,17 @@ sap.ui.define([
|
|
|
96
97
|
|
|
97
98
|
if (bCanRender) {
|
|
98
99
|
oControl.placeAt("qunit-fixture");
|
|
99
|
-
|
|
100
|
+
await nextUIUpdate();
|
|
100
101
|
|
|
101
102
|
if (bFinalIteration) {
|
|
102
103
|
oControl.rerender(); // just re-render again - this finds problems
|
|
103
|
-
|
|
104
|
+
await nextUIUpdate();
|
|
104
105
|
}
|
|
105
106
|
} else if (bFinalIteration) {
|
|
106
107
|
assert.ok(true, "Info: " + sControlName + " cannot be rendered");
|
|
107
108
|
}
|
|
108
109
|
oControl.destroy();
|
|
109
|
-
|
|
110
|
+
await nextUIUpdate();
|
|
110
111
|
|
|
111
112
|
if (bFinalIteration) {
|
|
112
113
|
var mPostElements = Element.registry.all();
|