@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
|
@@ -3,8 +3,9 @@ sap.ui.define([
|
|
|
3
3
|
"sap/base/Log",
|
|
4
4
|
"sap/ui/core/InvisibleText",
|
|
5
5
|
"sap/ui/thirdparty/jquery",
|
|
6
|
-
"sap/ui/core/Configuration"
|
|
7
|
-
|
|
6
|
+
"sap/ui/core/Configuration",
|
|
7
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
8
|
+
], function(Log, InvisibleText, jQuery, Configuration, nextUIUpdate) {
|
|
8
9
|
"use strict";
|
|
9
10
|
|
|
10
11
|
var oDIV = document.createElement("div");
|
|
@@ -13,30 +14,30 @@ sap.ui.define([
|
|
|
13
14
|
|
|
14
15
|
QUnit.module("");
|
|
15
16
|
|
|
16
|
-
QUnit.test("Hidden Text is really hidden", function(assert) {
|
|
17
|
+
QUnit.test("Hidden Text is really hidden", async function(assert) {
|
|
17
18
|
var iWidth = jQuery("#content").width();
|
|
18
19
|
var iHeight = jQuery("#content").height();
|
|
19
20
|
|
|
20
21
|
var text = new InvisibleText({text: "Hello"});
|
|
21
22
|
text.placeAt("content");
|
|
22
|
-
|
|
23
|
+
await nextUIUpdate();
|
|
23
24
|
|
|
24
25
|
assert.equal(iWidth, jQuery("#content").width(), "Width of container not influenced by hidden text.");
|
|
25
26
|
assert.equal(iHeight, jQuery("#content").height(), "Height of container not influenced by hidden text.");
|
|
26
27
|
assert.ok(text.$().parent().attr("id") == "content", "Invisible Text was rendered.");
|
|
27
28
|
});
|
|
28
29
|
|
|
29
|
-
QUnit.test("Render to static area", function(assert) {
|
|
30
|
+
QUnit.test("Render to static area", async function(assert) {
|
|
30
31
|
var text = new InvisibleText({text: "Hello"});
|
|
31
32
|
text.toStatic();
|
|
32
|
-
|
|
33
|
+
await nextUIUpdate();
|
|
33
34
|
assert.ok(text.$().parent().attr("id") == "sap-ui-static", "Invisible Text was rendered to static area");
|
|
34
35
|
});
|
|
35
36
|
|
|
36
|
-
QUnit.test("Rendering", function(assert) {
|
|
37
|
+
QUnit.test("Rendering", async function(assert) {
|
|
37
38
|
var text = new InvisibleText({text: "Hello"});
|
|
38
39
|
text.toStatic();
|
|
39
|
-
|
|
40
|
+
await nextUIUpdate();
|
|
40
41
|
assert.equal(text.$().text(), "Hello", "Text rendered correctly");
|
|
41
42
|
text.setText("Hello2");
|
|
42
43
|
assert.equal(text.$().text(), "Hello2", "Text rendered correctly");
|
|
@@ -44,7 +45,7 @@ sap.ui.define([
|
|
|
44
45
|
assert.ok(text.$().hasClass("sapUiInvisibleText"), "Class sapUiInvisibleText is set");
|
|
45
46
|
});
|
|
46
47
|
|
|
47
|
-
QUnit.test("Shared Instances", function(assert) {
|
|
48
|
+
QUnit.test("Shared Instances", async function(assert) {
|
|
48
49
|
// Note: configuration enforces initial language 'en'
|
|
49
50
|
var sExpectedTextEN = sap.ui.getCore().getLibraryResourceBundle("sap.ui.core").getText("VALUE_STATE_ERROR");
|
|
50
51
|
|
|
@@ -60,7 +61,7 @@ sap.ui.define([
|
|
|
60
61
|
|
|
61
62
|
// switch language
|
|
62
63
|
Configuration.setLanguage("de");
|
|
63
|
-
|
|
64
|
+
await nextUIUpdate();
|
|
64
65
|
var sExpectedTextDE = sap.ui.getCore().getLibraryResourceBundle("sap.ui.core").getText("VALUE_STATE_ERROR");
|
|
65
66
|
assert.notEqual(sExpectedTextEN, sExpectedTextDE, "texts should differ between 'en' and 'de'");
|
|
66
67
|
|
|
@@ -90,10 +91,10 @@ sap.ui.define([
|
|
|
90
91
|
}, this);
|
|
91
92
|
});
|
|
92
93
|
|
|
93
|
-
QUnit.test("getRendererMarkup is an equivalent of renderer output", function(assert) {
|
|
94
|
+
QUnit.test("getRendererMarkup is an equivalent of renderer output", async function(assert) {
|
|
94
95
|
var oSUT = new InvisibleText({text: "Hello"});
|
|
95
96
|
oSUT.placeAt("content");
|
|
96
|
-
|
|
97
|
+
await nextUIUpdate();
|
|
97
98
|
|
|
98
99
|
var oDomRef = oSUT.getDomRef();
|
|
99
100
|
var oMarkupDomRef = jQuery(oSUT.getRendererMarkup())[0];
|
|
@@ -151,14 +151,14 @@ sap.ui.require([
|
|
|
151
151
|
|
|
152
152
|
QUnit.module("Static methods");
|
|
153
153
|
|
|
154
|
-
QUnit.test("Static method '
|
|
155
|
-
var oLib = Library.
|
|
154
|
+
QUnit.test("Static method '_get'", function(assert) {
|
|
155
|
+
var oLib = Library._get("my.test.library");
|
|
156
156
|
assert.notOk(oLib, "Library instance should not be created without giving the second parameter");
|
|
157
157
|
|
|
158
158
|
oLib = Library._get("my.test.library", true);
|
|
159
159
|
assert.ok(oLib instanceof Library, "Library instance is created");
|
|
160
160
|
|
|
161
|
-
var oLibCopy = Library.
|
|
161
|
+
var oLibCopy = Library._get("my.test.library");
|
|
162
162
|
assert.strictEqual(oLibCopy, oLib, "Multiple call to Library.get should return the same instance");
|
|
163
163
|
assert.notOk(oLib.isSettingsEnhanced(), "Lib's settings aren't enhanced yet");
|
|
164
164
|
|
|
@@ -201,18 +201,18 @@ sap.ui.require([
|
|
|
201
201
|
|
|
202
202
|
// lib3 should not be preloaded as its library.js has been (pre)loaded before
|
|
203
203
|
checkLibInitialized('testlibs.scenario1.lib3');
|
|
204
|
-
var oLib3 = Library.
|
|
204
|
+
var oLib3 = Library._get('testlibs.scenario1.lib3');
|
|
205
205
|
assert.ok(oLib3, "Library instance is created");
|
|
206
206
|
sinon.assert.calledOn(Library.prototype._preload, oLib3, "Library.prototype.preload is called");
|
|
207
207
|
|
|
208
208
|
// lib4 and lib5 should have been preloaded
|
|
209
209
|
checkLibInitialized('testlibs.scenario1.lib4');
|
|
210
|
-
var oLib4 = Library.
|
|
210
|
+
var oLib4 = Library._get('testlibs.scenario1.lib4');
|
|
211
211
|
sinon.assert.calledOn(Library.prototype._preload, oLib4, "Library.prototype.preload is called");
|
|
212
212
|
|
|
213
213
|
// lib5 should load the json format as fallback
|
|
214
214
|
checkLibInitialized('testlibs.scenario1.lib5');
|
|
215
|
-
var oLib5 = Library.
|
|
215
|
+
var oLib5 = Library._get('testlibs.scenario1.lib5');
|
|
216
216
|
sinon.assert.calledOn(Library.prototype._preload, oLib5, "Library.prototype.preload is called");
|
|
217
217
|
});
|
|
218
218
|
});
|
|
@@ -388,7 +388,7 @@ sap.ui.require([
|
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
assert.ok(Library.
|
|
391
|
+
assert.ok(Library._get("sap.ui.core").controls.includes("sap.ui.core.TestControlInLibUnitTest"), "The new control is registered in the library");
|
|
392
392
|
resolve();
|
|
393
393
|
}, reject);
|
|
394
394
|
});
|
|
@@ -420,7 +420,7 @@ sap.ui.require([
|
|
|
420
420
|
|
|
421
421
|
assert.notOk(Object.keys(Library.all()).includes("dummy.library"), "The library is created implicitly. But it's not listed in Library.all()");
|
|
422
422
|
assert.ok(Object.keys(Library._all(true)).includes("dummy.library"), "The library is created implicitly. And it's listed in Library._all(true) where the settings enhancement status isn't considered");
|
|
423
|
-
assert.ok(Library.
|
|
423
|
+
assert.ok(Library._get("dummy.library").controls.includes("dummy.library.TestControlInLibUnitTest"), "The new control is registered in the library");
|
|
424
424
|
resolve();
|
|
425
425
|
}, reject);
|
|
426
426
|
});
|
|
@@ -8,13 +8,13 @@ sap.ui.define([
|
|
|
8
8
|
"sap/m/StandardListItem",
|
|
9
9
|
"sap/m/VBox",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
-
"sap/ui/core/Core",
|
|
12
11
|
"sap/ui/core/Element",
|
|
13
12
|
"sap/ui/core/mvc/XMLView",
|
|
14
13
|
"sap/ui/events/KeyCodes",
|
|
15
14
|
"sap/ui/thirdparty/jquery",
|
|
16
|
-
"sap/ui/qunit/QUnitUtils"
|
|
17
|
-
|
|
15
|
+
"sap/ui/qunit/QUnitUtils",
|
|
16
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
17
|
+
], function(LocalBusyIndicatorSupport, BusyDialog, Button, List, Slider, StandardListItem, VBox, Control, Element, XMLView, KeyCodes, jQuery, qutils, nextUIUpdate) {
|
|
18
18
|
"use strict";
|
|
19
19
|
|
|
20
20
|
// Checks whether the given DomRef is contained or equals (in) one of the given container
|
|
@@ -114,7 +114,7 @@ sap.ui.define([
|
|
|
114
114
|
this.oFocusAfter = new Button("FocusAfter").placeAt("target1");
|
|
115
115
|
this.oSlider = new Slider().placeAt("target2");
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
return nextUIUpdate();
|
|
118
118
|
},
|
|
119
119
|
|
|
120
120
|
afterEach : function() {
|
|
@@ -286,7 +286,7 @@ sap.ui.define([
|
|
|
286
286
|
|
|
287
287
|
this.oSlider = new Slider().placeAt("target2");
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
return nextUIUpdate();
|
|
290
290
|
},
|
|
291
291
|
|
|
292
292
|
afterEach : function() {
|
|
@@ -381,13 +381,13 @@ sap.ui.define([
|
|
|
381
381
|
// setup the busy view
|
|
382
382
|
return XMLView.create({
|
|
383
383
|
definition: '<mvc:View xmlns:mvc="sap.ui.core.mvc" busyIndicatorDelay="0"></mvc:View>'
|
|
384
|
-
}).then(function(myView) {
|
|
384
|
+
}).then(async function(myView) {
|
|
385
385
|
myView.placeAt('target1');
|
|
386
|
-
|
|
386
|
+
await nextUIUpdate();
|
|
387
387
|
myView.setBusy(true);
|
|
388
388
|
// this rerendering is crucial to test the behavior
|
|
389
389
|
myView.invalidate();
|
|
390
|
-
|
|
390
|
+
await nextUIUpdate();
|
|
391
391
|
setTimeout(function() {
|
|
392
392
|
// assert
|
|
393
393
|
assert.ok(myView.$("busyIndicator").length, "BusyIndicator rendered");
|
|
@@ -439,7 +439,7 @@ sap.ui.define([
|
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
441
|
|
|
442
|
-
QUnit.test("OnBeforeRendering", function(assert) {
|
|
442
|
+
QUnit.test("OnBeforeRendering", async function(assert) {
|
|
443
443
|
var done = assert.async();
|
|
444
444
|
|
|
445
445
|
this.oButton.setBusyIndicatorDelay(0);
|
|
@@ -447,7 +447,7 @@ sap.ui.define([
|
|
|
447
447
|
this.oButton.placeAt("target1");
|
|
448
448
|
this.oButton.setBusy(true);
|
|
449
449
|
|
|
450
|
-
|
|
450
|
+
await nextUIUpdate();
|
|
451
451
|
|
|
452
452
|
// before delegate
|
|
453
453
|
this.oButton.addDelegate({
|
|
@@ -484,14 +484,14 @@ sap.ui.define([
|
|
|
484
484
|
|
|
485
485
|
// force a rendering
|
|
486
486
|
this.oButton.invalidate();
|
|
487
|
-
|
|
487
|
+
await nextUIUpdate();
|
|
488
488
|
});
|
|
489
489
|
|
|
490
|
-
QUnit.test("OnAfterRendering", function(assert) {
|
|
490
|
+
QUnit.test("OnAfterRendering", async function(assert) {
|
|
491
491
|
var done = assert.async();
|
|
492
492
|
assert.expect(4);
|
|
493
493
|
this.oButton.placeAt("target1");
|
|
494
|
-
|
|
494
|
+
await nextUIUpdate();
|
|
495
495
|
var that = this;
|
|
496
496
|
|
|
497
497
|
setTimeout(function() {
|
|
@@ -511,7 +511,7 @@ sap.ui.define([
|
|
|
511
511
|
}, 200);
|
|
512
512
|
});
|
|
513
513
|
|
|
514
|
-
QUnit.test("Ensuring DelayedCall Only Used Once", function(assert) {
|
|
514
|
+
QUnit.test("Ensuring DelayedCall Only Used Once", async function(assert) {
|
|
515
515
|
var done = assert.async();
|
|
516
516
|
assert.expect(2);
|
|
517
517
|
|
|
@@ -530,7 +530,7 @@ sap.ui.define([
|
|
|
530
530
|
};
|
|
531
531
|
this.oButton.addDelegate(oOnAfterRenderingDelegate, false, this);
|
|
532
532
|
this.oButton.placeAt("target1");
|
|
533
|
-
|
|
533
|
+
await nextUIUpdate();
|
|
534
534
|
var that = this;
|
|
535
535
|
|
|
536
536
|
setTimeout(function() {
|
|
@@ -553,7 +553,7 @@ sap.ui.define([
|
|
|
553
553
|
|
|
554
554
|
QUnit.module("Busy Animation");
|
|
555
555
|
|
|
556
|
-
QUnit.test("Check if small Animation is used", function(assert) {
|
|
556
|
+
QUnit.test("Check if small Animation is used", async function(assert) {
|
|
557
557
|
var done = assert.async();
|
|
558
558
|
|
|
559
559
|
this.oBtn = new Button({
|
|
@@ -570,7 +570,7 @@ sap.ui.define([
|
|
|
570
570
|
this.oBtn.addDelegate(this.oDelegate);
|
|
571
571
|
this.oSpy = sinon.spy(this.oDelegate, "onAfterRendering");
|
|
572
572
|
|
|
573
|
-
|
|
573
|
+
await nextUIUpdate();
|
|
574
574
|
|
|
575
575
|
setTimeout(function() {
|
|
576
576
|
var $Animation = jQuery(".sapUiLocalBusyIndicatorAnimation");
|
|
@@ -589,7 +589,7 @@ sap.ui.define([
|
|
|
589
589
|
}.bind(this), 50);
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
QUnit.test("Check if small Animation is used", function(assert) {
|
|
592
|
+
QUnit.test("Check if small Animation is used", async function(assert) {
|
|
593
593
|
var done = assert.async();
|
|
594
594
|
|
|
595
595
|
this.oBtn = new Button({
|
|
@@ -606,7 +606,7 @@ sap.ui.define([
|
|
|
606
606
|
this.oBtn.addDelegate(this.oDelegate);
|
|
607
607
|
this.oSpy = sinon.spy(this.oDelegate, "onAfterRendering");
|
|
608
608
|
|
|
609
|
-
|
|
609
|
+
await nextUIUpdate();
|
|
610
610
|
|
|
611
611
|
setTimeout(function() {
|
|
612
612
|
var $Animation = jQuery(".sapUiLocalBusyIndicatorAnimation");
|
|
@@ -625,7 +625,7 @@ sap.ui.define([
|
|
|
625
625
|
}.bind(this), 50);
|
|
626
626
|
});
|
|
627
627
|
|
|
628
|
-
QUnit.test("Check if animations are stacked", function(assert) {
|
|
628
|
+
QUnit.test("Check if animations are stacked", async function(assert) {
|
|
629
629
|
var done = assert.async();
|
|
630
630
|
this.oVBox = new VBox({
|
|
631
631
|
items : [
|
|
@@ -642,7 +642,7 @@ sap.ui.define([
|
|
|
642
642
|
busy : true
|
|
643
643
|
}).placeAt("target3");
|
|
644
644
|
|
|
645
|
-
|
|
645
|
+
await nextUIUpdate();
|
|
646
646
|
|
|
647
647
|
setTimeout(function() {
|
|
648
648
|
var $Animation = jQuery(".sapUiLocalBusyIndicatorAnimation");
|
|
@@ -684,7 +684,7 @@ sap.ui.define([
|
|
|
684
684
|
}
|
|
685
685
|
});
|
|
686
686
|
|
|
687
|
-
QUnit.test("on control which is migrated with the new renderer mechanism", function(assert) {
|
|
687
|
+
QUnit.test("on control which is migrated with the new renderer mechanism", async function(assert) {
|
|
688
688
|
// add one event delegate which set the busy state before the control is rerendered
|
|
689
689
|
this.oButton.addEventDelegate({
|
|
690
690
|
onBeforeRendering: function() {
|
|
@@ -693,14 +693,14 @@ sap.ui.define([
|
|
|
693
693
|
}, this.oButton);
|
|
694
694
|
|
|
695
695
|
this.oButton.placeAt("target1");
|
|
696
|
-
|
|
696
|
+
await nextUIUpdate();
|
|
697
697
|
this.oButton.setBusy(false);
|
|
698
698
|
// after reset the busy state, the control should be able to react to click event
|
|
699
699
|
this.testClickEventOn(this.oButton, assert);
|
|
700
700
|
|
|
701
701
|
// rerender the control to activate the busy state (problem only occurs with 2nd. rendering)
|
|
702
702
|
this.oButton.invalidate();
|
|
703
|
-
|
|
703
|
+
await nextUIUpdate();
|
|
704
704
|
this.oButton.setBusy(false);
|
|
705
705
|
// after reset the busy state, the control should be able to react to click event
|
|
706
706
|
this.testClickEventOn(this.oButton, assert);
|
|
@@ -12,9 +12,10 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/thirdparty/jquery",
|
|
13
13
|
"sap/base/security/encodeXML",
|
|
14
14
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
15
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
15
16
|
"sap/base/Log",
|
|
16
17
|
"sap/ui/core/Configuration"
|
|
17
|
-
], function(Device, Control, Core, RenderManager, Element, HTML, IconPool, XMLView, jQuery, encodeXML, createAndAppendDiv, Log, Configuration) {
|
|
18
|
+
], function(Device, Control, Core, RenderManager, Element, HTML, IconPool, XMLView, jQuery, encodeXML, createAndAppendDiv, nextUIUpdate, Log, Configuration) {
|
|
18
19
|
"use strict";
|
|
19
20
|
|
|
20
21
|
// prepare DOM
|
|
@@ -1085,13 +1086,13 @@ sap.ui.define([
|
|
|
1085
1086
|
}, Device.browser.safari ? 500 : 0);
|
|
1086
1087
|
});
|
|
1087
1088
|
|
|
1088
|
-
QUnit.test("RenderManager lock", function(assert) {
|
|
1089
|
+
QUnit.test("RenderManager lock", async function(assert) {
|
|
1089
1090
|
var oCtrl1 = new TestControl();
|
|
1090
1091
|
var oCtrl2 = new TestControl();
|
|
1091
1092
|
|
|
1092
1093
|
oCtrl1.placeAt("area5");
|
|
1093
1094
|
oCtrl2.placeAt("area5");
|
|
1094
|
-
|
|
1095
|
+
await nextUIUpdate();
|
|
1095
1096
|
|
|
1096
1097
|
oCtrl1.doBeforeRendering = function() {
|
|
1097
1098
|
oCtrl2.rerender();
|
|
@@ -1315,13 +1316,13 @@ sap.ui.define([
|
|
|
1315
1316
|
}, Device.browser.safari ? 500 : 0);
|
|
1316
1317
|
});
|
|
1317
1318
|
|
|
1318
|
-
QUnit.test("RenderManager lock", function(assert) {
|
|
1319
|
+
QUnit.test("RenderManager lock", async function(assert) {
|
|
1319
1320
|
var oCtrl1 = new TestControlSemanticRendering();
|
|
1320
1321
|
var oCtrl2 = new TestControlSemanticRendering();
|
|
1321
1322
|
|
|
1322
1323
|
oCtrl1.placeAt("area5");
|
|
1323
1324
|
oCtrl2.placeAt("area5");
|
|
1324
|
-
|
|
1325
|
+
await nextUIUpdate();
|
|
1325
1326
|
|
|
1326
1327
|
oCtrl1.doBeforeRendering = function() {
|
|
1327
1328
|
oCtrl2.rerender();
|
|
@@ -1525,7 +1526,7 @@ sap.ui.define([
|
|
|
1525
1526
|
assert.equal($img1.attr("alt"), "test alt message", "Attribute should be changed");
|
|
1526
1527
|
});
|
|
1527
1528
|
|
|
1528
|
-
QUnit.test("RenderManager should not break for controls with invalid renderer", function(assert) {
|
|
1529
|
+
QUnit.test("RenderManager should not break for controls with invalid renderer", async function(assert) {
|
|
1529
1530
|
|
|
1530
1531
|
var Log = sap.ui.require("sap/base/Log");
|
|
1531
1532
|
assert.ok(Log, "Log module should be available");
|
|
@@ -1550,7 +1551,7 @@ sap.ui.define([
|
|
|
1550
1551
|
|
|
1551
1552
|
// rendering should not lead to an error
|
|
1552
1553
|
oControl.placeAt("area8");
|
|
1553
|
-
|
|
1554
|
+
await nextUIUpdate();
|
|
1554
1555
|
oControl.destroy();
|
|
1555
1556
|
|
|
1556
1557
|
// check the error message
|
|
@@ -1612,10 +1613,10 @@ sap.ui.define([
|
|
|
1612
1613
|
*/
|
|
1613
1614
|
QUnit.module("Invisible - String based rendering");
|
|
1614
1615
|
|
|
1615
|
-
QUnit.test("Render visible control", function(assert) {
|
|
1616
|
+
QUnit.test("Render visible control", async function(assert) {
|
|
1616
1617
|
var oControl = new TestControl("testVisible");
|
|
1617
1618
|
oControl.placeAt("testArea");
|
|
1618
|
-
|
|
1619
|
+
await nextUIUpdate();
|
|
1619
1620
|
|
|
1620
1621
|
var oDomRef = document.getElementById("testVisible"),
|
|
1621
1622
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1625,13 +1626,13 @@ sap.ui.define([
|
|
|
1625
1626
|
assert.ok(!oInvisbleRef, "Invisible DOM reference doesn't exist");
|
|
1626
1627
|
|
|
1627
1628
|
oControl.destroy();
|
|
1628
|
-
|
|
1629
|
+
await nextUIUpdate();
|
|
1629
1630
|
});
|
|
1630
1631
|
|
|
1631
|
-
QUnit.test("Render invisible control", function(assert) {
|
|
1632
|
+
QUnit.test("Render invisible control", async function(assert) {
|
|
1632
1633
|
var oControl = new TestControl("testVisible", {visible: false});
|
|
1633
1634
|
oControl.placeAt("testArea");
|
|
1634
|
-
|
|
1635
|
+
await nextUIUpdate();
|
|
1635
1636
|
|
|
1636
1637
|
var oDomRef = document.getElementById("testVisible"),
|
|
1637
1638
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1641,19 +1642,19 @@ sap.ui.define([
|
|
|
1641
1642
|
assert.ok(oInvisbleRef instanceof HTMLElement, "Invisible DOM reference is an HTML element");
|
|
1642
1643
|
|
|
1643
1644
|
oControl.destroy();
|
|
1644
|
-
|
|
1645
|
+
await nextUIUpdate();
|
|
1645
1646
|
});
|
|
1646
1647
|
|
|
1647
|
-
QUnit.test("Render control made visible in onBeforeRendering", function(assert) {
|
|
1648
|
+
QUnit.test("Render control made visible in onBeforeRendering", async function(assert) {
|
|
1648
1649
|
var oControl = new TestControl("testVisible", {visible: false});
|
|
1649
1650
|
oControl.placeAt("testArea");
|
|
1650
|
-
|
|
1651
|
+
await nextUIUpdate();
|
|
1651
1652
|
|
|
1652
1653
|
oControl.doBeforeRendering = function() {
|
|
1653
1654
|
this.setVisible(true);
|
|
1654
1655
|
};
|
|
1655
1656
|
oControl.rerender();
|
|
1656
|
-
|
|
1657
|
+
await nextUIUpdate();
|
|
1657
1658
|
|
|
1658
1659
|
var oDomRef = document.getElementById("testVisible"),
|
|
1659
1660
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1663,19 +1664,19 @@ sap.ui.define([
|
|
|
1663
1664
|
assert.ok(!oInvisbleRef, "Invisible DOM reference doesn't exist");
|
|
1664
1665
|
|
|
1665
1666
|
oControl.destroy();
|
|
1666
|
-
|
|
1667
|
+
await nextUIUpdate();
|
|
1667
1668
|
});
|
|
1668
1669
|
|
|
1669
|
-
QUnit.test("Render control made invisible in onBeforeRendering", function(assert) {
|
|
1670
|
+
QUnit.test("Render control made invisible in onBeforeRendering", async function(assert) {
|
|
1670
1671
|
var oControl = new TestControl("testVisible", {visible: true});
|
|
1671
1672
|
oControl.placeAt("testArea");
|
|
1672
|
-
|
|
1673
|
+
await nextUIUpdate();
|
|
1673
1674
|
|
|
1674
1675
|
oControl.doBeforeRendering = function() {
|
|
1675
1676
|
this.setVisible(false);
|
|
1676
1677
|
};
|
|
1677
1678
|
oControl.rerender();
|
|
1678
|
-
|
|
1679
|
+
await nextUIUpdate();
|
|
1679
1680
|
|
|
1680
1681
|
var oDomRef = document.getElementById("testVisible"),
|
|
1681
1682
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1685,15 +1686,15 @@ sap.ui.define([
|
|
|
1685
1686
|
assert.ok(oInvisbleRef instanceof HTMLElement, "Invisible DOM reference is an HTML element");
|
|
1686
1687
|
|
|
1687
1688
|
oControl.destroy();
|
|
1688
|
-
|
|
1689
|
+
await nextUIUpdate();
|
|
1689
1690
|
});
|
|
1690
1691
|
|
|
1691
1692
|
QUnit.module("Invisible - Semantic Rendering");
|
|
1692
1693
|
|
|
1693
|
-
QUnit.test("Render visible control", function(assert) {
|
|
1694
|
+
QUnit.test("Render visible control", async function(assert) {
|
|
1694
1695
|
var oControl = new TestControlSemanticRendering("testVisible");
|
|
1695
1696
|
oControl.placeAt("testArea");
|
|
1696
|
-
|
|
1697
|
+
await nextUIUpdate();
|
|
1697
1698
|
|
|
1698
1699
|
var oDomRef = document.getElementById("testVisible"),
|
|
1699
1700
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1703,13 +1704,13 @@ sap.ui.define([
|
|
|
1703
1704
|
assert.ok(!oInvisbleRef, "Invisible DOM reference doesn't exist");
|
|
1704
1705
|
|
|
1705
1706
|
oControl.destroy();
|
|
1706
|
-
|
|
1707
|
+
await nextUIUpdate();
|
|
1707
1708
|
});
|
|
1708
1709
|
|
|
1709
|
-
QUnit.test("Render invisible control", function(assert) {
|
|
1710
|
+
QUnit.test("Render invisible control", async function(assert) {
|
|
1710
1711
|
var oControl = new TestControlSemanticRendering("testVisible", {visible: false});
|
|
1711
1712
|
oControl.placeAt("testArea");
|
|
1712
|
-
|
|
1713
|
+
await nextUIUpdate();
|
|
1713
1714
|
|
|
1714
1715
|
var oDomRef = document.getElementById("testVisible"),
|
|
1715
1716
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1719,16 +1720,16 @@ sap.ui.define([
|
|
|
1719
1720
|
assert.ok(oInvisbleRef instanceof HTMLElement, "Invisible DOM reference is an HTML element");
|
|
1720
1721
|
|
|
1721
1722
|
oControl.destroy();
|
|
1722
|
-
|
|
1723
|
+
await nextUIUpdate();
|
|
1723
1724
|
});
|
|
1724
1725
|
|
|
1725
|
-
QUnit.test("Render control made visible in onBeforeRendering", function(assert) {
|
|
1726
|
+
QUnit.test("Render control made visible in onBeforeRendering", async function(assert) {
|
|
1726
1727
|
var oControl = new TestControlSemanticRendering("testVisible", {visible: false});
|
|
1727
1728
|
oControl.doBeforeRendering = function() {
|
|
1728
1729
|
this.setVisible(true);
|
|
1729
1730
|
};
|
|
1730
1731
|
oControl.placeAt("testArea");
|
|
1731
|
-
|
|
1732
|
+
await nextUIUpdate();
|
|
1732
1733
|
|
|
1733
1734
|
var oDomRef = document.getElementById("testVisible"),
|
|
1734
1735
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1738,16 +1739,16 @@ sap.ui.define([
|
|
|
1738
1739
|
assert.ok(!oInvisbleRef, "Invisible DOM reference doesn't exist");
|
|
1739
1740
|
|
|
1740
1741
|
oControl.destroy();
|
|
1741
|
-
|
|
1742
|
+
await nextUIUpdate();
|
|
1742
1743
|
});
|
|
1743
1744
|
|
|
1744
|
-
QUnit.test("Render control made invisible in onBeforeRendering", function(assert) {
|
|
1745
|
+
QUnit.test("Render control made invisible in onBeforeRendering", async function(assert) {
|
|
1745
1746
|
var oControl = new TestControlSemanticRendering("testVisible", {visible: true});
|
|
1746
1747
|
oControl.doBeforeRendering = function() {
|
|
1747
1748
|
this.setVisible(false);
|
|
1748
1749
|
};
|
|
1749
1750
|
oControl.placeAt("testArea");
|
|
1750
|
-
|
|
1751
|
+
await nextUIUpdate();
|
|
1751
1752
|
|
|
1752
1753
|
var oDomRef = document.getElementById("testVisible"),
|
|
1753
1754
|
oInvisbleRef = document.getElementById("sap-ui-invisible-testVisible");
|
|
@@ -1757,7 +1758,7 @@ sap.ui.define([
|
|
|
1757
1758
|
assert.ok(oInvisbleRef instanceof HTMLElement, "Invisible DOM reference is an HTML element");
|
|
1758
1759
|
|
|
1759
1760
|
oControl.destroy();
|
|
1760
|
-
|
|
1761
|
+
await nextUIUpdate();
|
|
1761
1762
|
});
|
|
1762
1763
|
|
|
1763
1764
|
/**
|
|
@@ -1828,13 +1829,13 @@ sap.ui.define([
|
|
|
1828
1829
|
this.oContainer = null;
|
|
1829
1830
|
},
|
|
1830
1831
|
|
|
1831
|
-
executeTest: function (assert, fnApplyLuckyOne) {
|
|
1832
|
+
executeTest: async function (assert, fnApplyLuckyOne) {
|
|
1832
1833
|
var oView1 = this.oView1;
|
|
1833
1834
|
var oView2 = this.oView2;
|
|
1834
1835
|
var oContainer = this.oContainer;
|
|
1835
1836
|
// initially show view 1. view 2 has not been rendered yet
|
|
1836
1837
|
oContainer.placeAt("area9");
|
|
1837
|
-
|
|
1838
|
+
await nextUIUpdate();
|
|
1838
1839
|
assert.ok(oView1.getDomRef(), "view1 should have DOM");
|
|
1839
1840
|
assert.ok(oView1.bOutput, "view1 should be marked with bOutput");
|
|
1840
1841
|
assert.notOk(RenderManager.isPreservedContent(oView1.getDomRef()), "DOM of view1 should not be in preserve area");
|
|
@@ -1842,7 +1843,7 @@ sap.ui.define([
|
|
|
1842
1843
|
assert.notOk(oView2.bOutput, "view2 should not be marked with bOutput");
|
|
1843
1844
|
|
|
1844
1845
|
// show view 2. view 1 will be moved to preserve area
|
|
1845
|
-
fnApplyLuckyOne(1);
|
|
1846
|
+
await fnApplyLuckyOne(1);
|
|
1846
1847
|
assert.ok(oView1.getDomRef(), "view1 still should have DOM");
|
|
1847
1848
|
assert.ok(RenderManager.isPreservedContent(oView1.getDomRef()), "DOM of view1 should be in preserve area");
|
|
1848
1849
|
assert.ok(oView1.bOutput, "view1 should be marked with bOutput");
|
|
@@ -1851,7 +1852,7 @@ sap.ui.define([
|
|
|
1851
1852
|
assert.notOk(RenderManager.isPreservedContent(oView2.getDomRef()), "DOM of view2 should not be in preserve area");
|
|
1852
1853
|
|
|
1853
1854
|
// show view 1 again (includes restore from preserve area
|
|
1854
|
-
fnApplyLuckyOne(0);
|
|
1855
|
+
await fnApplyLuckyOne(0);
|
|
1855
1856
|
assert.ok(oView1.getDomRef(), "view1 still should have DOM");
|
|
1856
1857
|
assert.ok(oView1.bOutput, "view1 should be marked with bOutput");
|
|
1857
1858
|
assert.notOk(RenderManager.isPreservedContent(oView1.getDomRef()), "DOM of view1 should not be in preserve area");
|
|
@@ -1860,7 +1861,7 @@ sap.ui.define([
|
|
|
1860
1861
|
assert.ok(RenderManager.isPreservedContent(oView2.getDomRef()), "DOM of view2 should be in preserve area");
|
|
1861
1862
|
|
|
1862
1863
|
// show view 3 (which does not exists). view 1 & 2 are moved to the preserve area
|
|
1863
|
-
fnApplyLuckyOne(2);
|
|
1864
|
+
await fnApplyLuckyOne(2);
|
|
1864
1865
|
assert.ok(oView1.getDomRef(), "view1 still should have DOM");
|
|
1865
1866
|
assert.ok(oView1.bOutput, "view1 should be marked with bOutput");
|
|
1866
1867
|
assert.ok(RenderManager.isPreservedContent(oView1.getDomRef()), "DOM of view1 should be in preserve area");
|
|
@@ -1875,43 +1876,43 @@ sap.ui.define([
|
|
|
1875
1876
|
}
|
|
1876
1877
|
});
|
|
1877
1878
|
|
|
1878
|
-
QUnit.test("default rendering (string)", function(assert) {
|
|
1879
|
+
QUnit.test("default rendering (string)", async function(assert) {
|
|
1879
1880
|
TestContainer.getMetadata().getRenderer().apiVersion = 1;
|
|
1880
|
-
this.executeTest(assert, function(value) {
|
|
1881
|
+
await this.executeTest(assert, async function(value) {
|
|
1881
1882
|
// use normal invalidation
|
|
1882
1883
|
this.oContainer.setTheLuckyOne(value);
|
|
1883
1884
|
// and force re-rendering
|
|
1884
|
-
|
|
1885
|
+
await nextUIUpdate();
|
|
1885
1886
|
}.bind(this));
|
|
1886
1887
|
});
|
|
1887
1888
|
|
|
1888
|
-
QUnit.test("custom rendering (string)", function(assert) {
|
|
1889
|
+
QUnit.test("custom rendering (string)", async function(assert) {
|
|
1889
1890
|
TestContainer.getMetadata().getRenderer().apiVersion = 1;
|
|
1890
|
-
this.executeTest(assert, function(value) {
|
|
1891
|
+
await this.executeTest(assert, function(value) {
|
|
1891
1892
|
// use custom rendering (leaves the preservation to the flush call)
|
|
1892
1893
|
this.oContainer.setTheLuckyOneAndRender(value);
|
|
1893
1894
|
}.bind(this));
|
|
1894
1895
|
});
|
|
1895
1896
|
|
|
1896
|
-
QUnit.test("default rendering (patcher)", function(assert) {
|
|
1897
|
+
QUnit.test("default rendering (patcher)", async function(assert) {
|
|
1897
1898
|
TestContainer.getMetadata().getRenderer().apiVersion = 2;
|
|
1898
|
-
this.executeTest(assert, function(value) {
|
|
1899
|
+
await this.executeTest(assert, async function(value) {
|
|
1899
1900
|
// use normal invalidation
|
|
1900
1901
|
this.oContainer.setTheLuckyOne(value);
|
|
1901
1902
|
// and force re-rendering
|
|
1902
|
-
|
|
1903
|
+
await nextUIUpdate();
|
|
1903
1904
|
}.bind(this));
|
|
1904
1905
|
});
|
|
1905
1906
|
|
|
1906
|
-
QUnit.test("custom rendering (patcher)", function(assert) {
|
|
1907
|
+
QUnit.test("custom rendering (patcher)", async function(assert) {
|
|
1907
1908
|
TestContainer.getMetadata().getRenderer().apiVersion = 2;
|
|
1908
|
-
this.executeTest(assert, function(value) {
|
|
1909
|
+
await this.executeTest(assert, function(value) {
|
|
1909
1910
|
// use custom rendering (leaves the preservation to the flush call)
|
|
1910
1911
|
this.oContainer.setTheLuckyOneAndRender(value);
|
|
1911
1912
|
}.bind(this));
|
|
1912
1913
|
});
|
|
1913
1914
|
|
|
1914
|
-
QUnit.test("preservation of not-rendered, indirect descendants (grand children etc.)", function(assert) {
|
|
1915
|
+
QUnit.test("preservation of not-rendered, indirect descendants (grand children etc.)", async function(assert) {
|
|
1915
1916
|
TestContainer.getMetadata().getRenderer().apiVersion = 2;
|
|
1916
1917
|
var oHtml1 = new HTML({content: "<div></div>"}),
|
|
1917
1918
|
oHtml2 = new HTML({content: "<div></div>"}),
|
|
@@ -1928,7 +1929,7 @@ sap.ui.define([
|
|
|
1928
1929
|
|
|
1929
1930
|
// act 1: initial rendering
|
|
1930
1931
|
oContainer.placeAt("area9");
|
|
1931
|
-
|
|
1932
|
+
await nextUIUpdate();
|
|
1932
1933
|
|
|
1933
1934
|
// assert 1: HTML1 rendered, HTML2 not yet rendered
|
|
1934
1935
|
assert.ok(oHtml1.getDomRef() && !RenderManager.isPreservedContent(oHtml1.getDomRef()),
|
|
@@ -1938,7 +1939,7 @@ sap.ui.define([
|
|
|
1938
1939
|
|
|
1939
1940
|
// act 2: switch rendered control
|
|
1940
1941
|
oContainer.setTheLuckyOne(1);
|
|
1941
|
-
|
|
1942
|
+
await nextUIUpdate();
|
|
1942
1943
|
oHtml2.$().append("<span></span>");
|
|
1943
1944
|
oHtml2.$().append("<span></span>");
|
|
1944
1945
|
oHtml2.$().append("<span></span>");
|
|
@@ -1954,7 +1955,7 @@ sap.ui.define([
|
|
|
1954
1955
|
|
|
1955
1956
|
// act 3: switch again
|
|
1956
1957
|
oContainer.setTheLuckyOne(0);
|
|
1957
|
-
|
|
1958
|
+
await nextUIUpdate();
|
|
1958
1959
|
|
|
1959
1960
|
// assert 3: HTML1 rendered, HTML2 not rendered, but preserved
|
|
1960
1961
|
assert.ok(oHtml1.getDomRef() && !RenderManager.isPreservedContent(oHtml1.getDomRef()),
|
|
@@ -1966,7 +1967,7 @@ sap.ui.define([
|
|
|
1966
1967
|
|
|
1967
1968
|
// act 4: switch again
|
|
1968
1969
|
oContainer.setTheLuckyOne(1);
|
|
1969
|
-
|
|
1970
|
+
await nextUIUpdate();
|
|
1970
1971
|
|
|
1971
1972
|
// assert 3: HTML1 not rendered but preserved, HTML2 rendered incl. dynamic modifications
|
|
1972
1973
|
assert.ok(oHtml1.getDomRef() && RenderManager.isPreservedContent(oHtml1.getDomRef()),
|