@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
|
@@ -8,7 +8,6 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/Device",
|
|
9
9
|
"sap/ui/thirdparty/jquery",
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
|
-
"sap/ui/core/Core",
|
|
12
11
|
"sap/ui/base/EventProvider",
|
|
13
12
|
"sap/ui/qunit/QUnitUtils",
|
|
14
13
|
"sap/m/Panel",
|
|
@@ -16,7 +15,8 @@ sap.ui.define([
|
|
|
16
15
|
"sap/m/Text",
|
|
17
16
|
"sap/ui/core/ResizeHandler",
|
|
18
17
|
"sap/ui/dom/containsOrEquals",
|
|
19
|
-
"sap/ui/events/KeyCodes"
|
|
18
|
+
"sap/ui/events/KeyCodes",
|
|
19
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
20
20
|
], function(
|
|
21
21
|
Popup,
|
|
22
22
|
Localization,
|
|
@@ -25,7 +25,6 @@ sap.ui.define([
|
|
|
25
25
|
Device,
|
|
26
26
|
jQuery,
|
|
27
27
|
Control,
|
|
28
|
-
Core,
|
|
29
28
|
EventProvider,
|
|
30
29
|
QUnitUtils,
|
|
31
30
|
Panel,
|
|
@@ -33,7 +32,8 @@ sap.ui.define([
|
|
|
33
32
|
Text,
|
|
34
33
|
ResizeHandler,
|
|
35
34
|
containsOrEquals,
|
|
36
|
-
KeyCodes
|
|
35
|
+
KeyCodes,
|
|
36
|
+
nextUIUpdate
|
|
37
37
|
){
|
|
38
38
|
"use strict";
|
|
39
39
|
|
|
@@ -225,7 +225,7 @@ sap.ui.define([
|
|
|
225
225
|
var oSpyPopAfterRendering = sinon.spy(this.oPopup, "onAfterRendering");
|
|
226
226
|
this.oPopup.setContent(oControl);
|
|
227
227
|
|
|
228
|
-
var fnOpened = function() {
|
|
228
|
+
var fnOpened = async function() {
|
|
229
229
|
|
|
230
230
|
assert.equal(oSpyControlAfterRendering.callCount, 1, "'onAfterRendering' of control was called");
|
|
231
231
|
assert.equal(oControl.$().css("height"), "100px", "Initial height set (100px)");
|
|
@@ -239,7 +239,7 @@ sap.ui.define([
|
|
|
239
239
|
oControl.setCounter(1);
|
|
240
240
|
|
|
241
241
|
// Make sure re-rendering happens synchronously
|
|
242
|
-
|
|
242
|
+
await nextUIUpdate();
|
|
243
243
|
|
|
244
244
|
assert.equal(oSpyControlAfterRendering.callCount, 2, "'onAfterRendering' of control was called");
|
|
245
245
|
assert.equal(oControl.$().css("height"), "200px", "Height changed to 200px");
|
|
@@ -521,7 +521,7 @@ sap.ui.define([
|
|
|
521
521
|
|
|
522
522
|
return oPopupWrap
|
|
523
523
|
.open()
|
|
524
|
-
.then(function() {
|
|
524
|
+
.then(async function() {
|
|
525
525
|
var oPopup = oPopupWrap.instance;
|
|
526
526
|
var oButton = oPopup.getContent();
|
|
527
527
|
var oApplyFocusInfoSpy = this.spy(oButton, "applyFocusInfo");
|
|
@@ -530,7 +530,7 @@ sap.ui.define([
|
|
|
530
530
|
oButton.focus();
|
|
531
531
|
|
|
532
532
|
oButton.setText("Changed");
|
|
533
|
-
|
|
533
|
+
await nextUIUpdate();
|
|
534
534
|
|
|
535
535
|
assert.ok(oApplyFocusInfoSpy.calledOnce, "focus info applied");
|
|
536
536
|
assert.strictEqual(oApplyFocusInfoSpy.getCall(0).args[0].preventScroll, true, "preventScrolling flag is set");
|
|
@@ -542,12 +542,12 @@ sap.ui.define([
|
|
|
542
542
|
var oButton = oPopup.getContent();
|
|
543
543
|
var oApplyFocusInfoSpy = this.spy(oButton, "applyFocusInfo");
|
|
544
544
|
|
|
545
|
-
return oPopupWrap1.open().then(function() {
|
|
545
|
+
return oPopupWrap1.open().then(async function() {
|
|
546
546
|
assert.equal(oPopup.isOpen(), true, "Popup should be open after opening");
|
|
547
547
|
oButton.focus();
|
|
548
548
|
|
|
549
549
|
oButton.setText("Changed");
|
|
550
|
-
|
|
550
|
+
await nextUIUpdate();
|
|
551
551
|
|
|
552
552
|
assert.ok(oApplyFocusInfoSpy.calledOnce, "focus info applied");
|
|
553
553
|
assert.strictEqual(oApplyFocusInfoSpy.getCall(0).args[0].preventScroll, true, "preventScrolling flag is set");
|
|
@@ -1034,7 +1034,7 @@ sap.ui.define([
|
|
|
1034
1034
|
// var oFocusEvent = jQuery.Event("focus"),
|
|
1035
1035
|
// $focus = jQuery("#focusableElement2");
|
|
1036
1036
|
// $focus.trigger(oFocusEvent);
|
|
1037
|
-
//
|
|
1037
|
+
// await nextUIUpdate();
|
|
1038
1038
|
// };
|
|
1039
1039
|
// var fnClosed = function() {
|
|
1040
1040
|
// this.oPopup.detachClosed(fnClosed, this);
|
|
@@ -2403,7 +2403,7 @@ sap.ui.define([
|
|
|
2403
2403
|
}
|
|
2404
2404
|
});
|
|
2405
2405
|
|
|
2406
|
-
QUnit.test("The DOM element of extra content should be updated when it's rerendered", function(assert) {
|
|
2406
|
+
QUnit.test("The DOM element of extra content should be updated when it's rerendered", async function(assert) {
|
|
2407
2407
|
assert.expect(4);
|
|
2408
2408
|
|
|
2409
2409
|
var that = this, done = assert.async();
|
|
@@ -2414,19 +2414,19 @@ sap.ui.define([
|
|
|
2414
2414
|
}
|
|
2415
2415
|
}).placeAt("uiarea");
|
|
2416
2416
|
|
|
2417
|
-
|
|
2417
|
+
await nextUIUpdate();
|
|
2418
2418
|
|
|
2419
2419
|
var fnClosed = function() {
|
|
2420
2420
|
assert.ok(true, "Popup is closed through autoclose");
|
|
2421
2421
|
done();
|
|
2422
2422
|
};
|
|
2423
2423
|
|
|
2424
|
-
var fnOpened = function() {
|
|
2424
|
+
var fnOpened = async function() {
|
|
2425
2425
|
this.oPopup.detachOpened(fnOpened);
|
|
2426
2426
|
this.oPopup.attachClosed(fnClosed);
|
|
2427
2427
|
|
|
2428
2428
|
this.oInput.invalidate();
|
|
2429
|
-
|
|
2429
|
+
await nextUIUpdate();
|
|
2430
2430
|
|
|
2431
2431
|
this.oInput.focus();
|
|
2432
2432
|
|
|
@@ -2452,7 +2452,7 @@ sap.ui.define([
|
|
|
2452
2452
|
assert.ok(this.oPopup.isOpen(), "Popup should be opened");
|
|
2453
2453
|
});
|
|
2454
2454
|
|
|
2455
|
-
QUnit.test("The previous active element isn't blurred before the opening animation, if it's the same element which gets the focus after popup open", function(assert) {
|
|
2455
|
+
QUnit.test("The previous active element isn't blurred before the opening animation, if it's the same element which gets the focus after popup open", async function(assert) {
|
|
2456
2456
|
var done = assert.async(),
|
|
2457
2457
|
that = this,
|
|
2458
2458
|
oFocusDomElement, oBlurSpy;
|
|
@@ -2464,7 +2464,7 @@ sap.ui.define([
|
|
|
2464
2464
|
}
|
|
2465
2465
|
}).placeAt("uiarea");
|
|
2466
2466
|
|
|
2467
|
-
|
|
2467
|
+
await nextUIUpdate();
|
|
2468
2468
|
|
|
2469
2469
|
var fnOpened = function() {
|
|
2470
2470
|
assert.equal(oBlurSpy.callCount, 0, "The document.activeElement isn't blurred");
|
|
@@ -2491,7 +2491,7 @@ sap.ui.define([
|
|
|
2491
2491
|
assert.ok(this.oPopup.isOpen(), "Popup should be opened");
|
|
2492
2492
|
});
|
|
2493
2493
|
|
|
2494
|
-
QUnit.test("Extra content delegate should be removed when popup is destroyed", function(assert) {
|
|
2494
|
+
QUnit.test("Extra content delegate should be removed when popup is destroyed", async function(assert) {
|
|
2495
2495
|
this.oInput = new this.CustomInput({
|
|
2496
2496
|
change: function () {
|
|
2497
2497
|
this.oPopup.open();
|
|
@@ -2500,7 +2500,7 @@ sap.ui.define([
|
|
|
2500
2500
|
|
|
2501
2501
|
this.oRemoveDelegateSpy = this.spy(this.oInput, "removeEventDelegate");
|
|
2502
2502
|
|
|
2503
|
-
|
|
2503
|
+
await nextUIUpdate();
|
|
2504
2504
|
|
|
2505
2505
|
this.oPopup.setExtraContent([this.oInput]);
|
|
2506
2506
|
|
|
@@ -2509,14 +2509,14 @@ sap.ui.define([
|
|
|
2509
2509
|
assert.equal(this.oRemoveDelegateSpy.callCount, 1, "Delegate is removed after destroy popup");
|
|
2510
2510
|
});
|
|
2511
2511
|
|
|
2512
|
-
QUnit.test("Extra content delegate should be added once even when the same control is added again", function(assert) {
|
|
2512
|
+
QUnit.test("Extra content delegate should be added once even when the same control is added again", async function(assert) {
|
|
2513
2513
|
this.oInput = new this.CustomInput({
|
|
2514
2514
|
change: function () {
|
|
2515
2515
|
this.oPopup.open();
|
|
2516
2516
|
}.bind(this)
|
|
2517
2517
|
}).placeAt("uiarea");
|
|
2518
2518
|
|
|
2519
|
-
|
|
2519
|
+
await nextUIUpdate();
|
|
2520
2520
|
|
|
2521
2521
|
this.oPopup.setExtraContent([this.oInput]);
|
|
2522
2522
|
// call the function again because popup control calls the function before each open action
|
|
@@ -2844,7 +2844,7 @@ sap.ui.define([
|
|
|
2844
2844
|
|
|
2845
2845
|
if (!Localization.getRTL()) {
|
|
2846
2846
|
// The test checks for "right" CSS proprety explicitly which isn't set in RTL mode
|
|
2847
|
-
QUnit.test("Align the popup correctly in cases where position is more precisely than one pixel", function(assert){
|
|
2847
|
+
QUnit.test("Align the popup correctly in cases where position is more precisely than one pixel", async function(assert){
|
|
2848
2848
|
var done = assert.async();
|
|
2849
2849
|
var oButton = new Button("buttonOpenPopup", {text: "Open Popup"});
|
|
2850
2850
|
var oText = new Text("myText", {text: "This is the text shown inside the Popup."});
|
|
@@ -2863,7 +2863,7 @@ sap.ui.define([
|
|
|
2863
2863
|
oPopup.attachOpened(fnOpened);
|
|
2864
2864
|
|
|
2865
2865
|
oButton.placeAt(document.getElementById("uiarea"));
|
|
2866
|
-
|
|
2866
|
+
await nextUIUpdate();
|
|
2867
2867
|
oPopup.open("end top", "end bottom", oButton);
|
|
2868
2868
|
});
|
|
2869
2869
|
}
|
|
@@ -2963,7 +2963,7 @@ sap.ui.define([
|
|
|
2963
2963
|
assert.equal(Popup.getWithinAreaDomRef(), window, "window is returned");
|
|
2964
2964
|
});
|
|
2965
2965
|
|
|
2966
|
-
QUnit.test("set/getWithinArea sap.ui.core.Element", function(assert) {
|
|
2966
|
+
QUnit.test("set/getWithinArea sap.ui.core.Element", async function(assert) {
|
|
2967
2967
|
var oControl = new Button("withinButton", {text: "within"});
|
|
2968
2968
|
|
|
2969
2969
|
Popup.setWithinArea(oControl);
|
|
@@ -2972,7 +2972,7 @@ sap.ui.define([
|
|
|
2972
2972
|
assert.equal(Popup.getWithinAreaDomRef(), window, "window is returned before the control is rendered");
|
|
2973
2973
|
|
|
2974
2974
|
oControl.placeAt("uiarea");
|
|
2975
|
-
|
|
2975
|
+
await nextUIUpdate();
|
|
2976
2976
|
|
|
2977
2977
|
assert.equal(Popup.getWithinAreaDomRef(), oControl.getDomRef(), "Correct Dom Element returned");
|
|
2978
2978
|
});
|
|
@@ -3412,7 +3412,7 @@ sap.ui.define([
|
|
|
3412
3412
|
* @deprecated Since 1.92 as string based rendering has been deprecated
|
|
3413
3413
|
* @todo-semantic-rendering discuss whether test really can be deprecated together with string based rendering
|
|
3414
3414
|
*/
|
|
3415
|
-
QUnit.test("Global within set with a control and check after the control is rendered", function(assert) {
|
|
3415
|
+
QUnit.test("Global within set with a control and check after the control is rendered", async function(assert) {
|
|
3416
3416
|
// need to create a custom control to create new DOM element after the control is rendered because most of the
|
|
3417
3417
|
// sap.m controls use the rendering api version 2 in which the DOM element is not deleted but only updated
|
|
3418
3418
|
var MyCustomControl = Control.extend("MyCustomControl", {
|
|
@@ -3430,7 +3430,7 @@ sap.ui.define([
|
|
|
3430
3430
|
|
|
3431
3431
|
var oControl = new MyCustomControl();
|
|
3432
3432
|
oControl.placeAt("uiarea");
|
|
3433
|
-
|
|
3433
|
+
await nextUIUpdate();
|
|
3434
3434
|
|
|
3435
3435
|
var oDomRef = document.getElementById("popup");
|
|
3436
3436
|
var oPopup = new Popup(oDomRef);
|
|
@@ -5,13 +5,15 @@ sap.ui.define([
|
|
|
5
5
|
"sap/ui/core/util/ResponsivePaddingsEnablement",
|
|
6
6
|
"sap/ui/core/Item",
|
|
7
7
|
"sap/ui/thirdparty/jquery",
|
|
8
|
-
"sap/base/Log"
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
9
10
|
], function(
|
|
10
11
|
Control,
|
|
11
12
|
ResponsivePaddingsEnablement,
|
|
12
13
|
Item,
|
|
13
14
|
jQuery,
|
|
14
|
-
Log
|
|
15
|
+
Log,
|
|
16
|
+
nextUIUpdate
|
|
15
17
|
){
|
|
16
18
|
"use strict";
|
|
17
19
|
var MyCustomControl = Control.extend("sap.custom.MyCustomControl", {
|
|
@@ -54,7 +56,7 @@ sap.ui.define([
|
|
|
54
56
|
this._initResponsivePaddingsEnablement();
|
|
55
57
|
};
|
|
56
58
|
|
|
57
|
-
QUnit.test("The enabler should be correctly applied over Control's prototype", function(assert) {
|
|
59
|
+
QUnit.test("The enabler should be correctly applied over Control's prototype", async function(assert) {
|
|
58
60
|
//System under test
|
|
59
61
|
var oControl = new MyCustomControl("_control",{}),
|
|
60
62
|
oSpy = sinon.spy(oControl, "onBeforeRendering"),
|
|
@@ -65,13 +67,15 @@ sap.ui.define([
|
|
|
65
67
|
|
|
66
68
|
//Act
|
|
67
69
|
oControl.placeAt("qunit-fixture");
|
|
68
|
-
|
|
70
|
+
this.clock.tick(1);
|
|
71
|
+
await nextUIUpdate();
|
|
69
72
|
|
|
70
73
|
oControl.addStyleClass("sapUiResponsivePadding--div1");
|
|
71
74
|
oControl.addStyleClass("sapUiResponsivePadding--div2");
|
|
72
75
|
oControl.addStyleClass("sapUiResponsivePadding--div3");
|
|
73
76
|
oControl.invalidate();
|
|
74
|
-
|
|
77
|
+
this.clock.tick(1);
|
|
78
|
+
await nextUIUpdate();
|
|
75
79
|
|
|
76
80
|
//Assert
|
|
77
81
|
assert.strictEqual(oSpy.callCount, 2, "onBeforeRendering is called twice");
|
|
@@ -81,7 +85,7 @@ sap.ui.define([
|
|
|
81
85
|
$customControl = jQuery("#_control");
|
|
82
86
|
$customControl.css("width", "300px");
|
|
83
87
|
this.clock.tick(300);
|
|
84
|
-
|
|
88
|
+
await nextUIUpdate();
|
|
85
89
|
|
|
86
90
|
$firstElement = jQuery("[id*='the-first']");
|
|
87
91
|
$secondElement = jQuery("[id*='the-second']");
|
|
@@ -96,7 +100,7 @@ sap.ui.define([
|
|
|
96
100
|
//Act
|
|
97
101
|
$customControl.css("width", "700px");
|
|
98
102
|
this.clock.tick(300);
|
|
99
|
-
|
|
103
|
+
await nextUIUpdate();
|
|
100
104
|
|
|
101
105
|
bIsFirstElementResponsive = $firstElement.hasClass("sapUi-Std-PaddingM");
|
|
102
106
|
bIsSecondElementResponsive = $secondElement.hasClass("sapUi-Std-PaddingM");
|
|
@@ -108,7 +112,7 @@ sap.ui.define([
|
|
|
108
112
|
//Act
|
|
109
113
|
$customControl.css("width", "1300px");
|
|
110
114
|
this.clock.tick(300);
|
|
111
|
-
|
|
115
|
+
await nextUIUpdate();
|
|
112
116
|
|
|
113
117
|
bIsFirstElementResponsive = $firstElement.hasClass("sapUi-Std-PaddingL");
|
|
114
118
|
bIsSecondElementResponsive = $secondElement.hasClass("sapUi-Std-PaddingL");
|
|
@@ -120,7 +124,7 @@ sap.ui.define([
|
|
|
120
124
|
//Act
|
|
121
125
|
$customControl.css("width", "2000px");
|
|
122
126
|
this.clock.tick(300);
|
|
123
|
-
|
|
127
|
+
await nextUIUpdate();
|
|
124
128
|
|
|
125
129
|
bIsFirstElementResponsive = $firstElement.hasClass("sapUi-Std-PaddingXL");
|
|
126
130
|
bIsSecondElementResponsive = $secondElement.hasClass("sapUi-Std-PaddingXL");
|
|
@@ -15,13 +15,11 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/model/ChangeReason",
|
|
16
16
|
"sap/ui/model/Context",
|
|
17
17
|
"sap/ui/model/json/JSONModel",
|
|
18
|
-
// explicit import for type Boolean to resolve import issues with legacy-free UI5
|
|
19
|
-
"sap/ui/model/type/Boolean",
|
|
20
18
|
"sap/ui/performance/Measurement",
|
|
21
19
|
"sap/ui/util/XMLHelper"
|
|
22
20
|
], function (Log, ObjectPath, BindingParser, ManagedObject, SyncPromise, Component,
|
|
23
21
|
XMLTemplateProcessor, UI5Date, XMLPreprocessor, BindingMode, ChangeReason, Context,
|
|
24
|
-
JSONModel,
|
|
22
|
+
JSONModel, Measurement, XMLHelper) {
|
|
25
23
|
/*global QUnit, sinon */
|
|
26
24
|
/*eslint consistent-this: 0, max-nested-callbacks: 0, no-loop-func: 0, no-warning-comments: 0*/
|
|
27
25
|
"use strict";
|
|
@@ -323,7 +321,7 @@ sap.ui.define([
|
|
|
323
321
|
this.oSapUiMock = this.mock(sap.ui);
|
|
324
322
|
// @see sap.ui.base.Event#init
|
|
325
323
|
this.oSapUiMock.expects("require").on(sap.ui).atLeast(0)
|
|
326
|
-
.withExactArgs("sap/ui/core/
|
|
324
|
+
.withExactArgs("sap/ui/core/Messaging").callThrough();
|
|
327
325
|
},
|
|
328
326
|
|
|
329
327
|
/**
|
|
@@ -483,6 +481,8 @@ sap.ui.define([
|
|
|
483
481
|
}
|
|
484
482
|
|
|
485
483
|
this.oDebugExpectation.never();
|
|
484
|
+
this.oLogMock.expects("debug").atLeast(0)
|
|
485
|
+
.withArgs(sinon.match.string, sinon.match.func, "sap.ui.Rendering");
|
|
486
486
|
if (!bDebug) {
|
|
487
487
|
Log.setLevel(Log.Level.WARNING, sComponent);
|
|
488
488
|
} else {
|
|
@@ -704,10 +704,14 @@ sap.ui.define([
|
|
|
704
704
|
|
|
705
705
|
//*********************************************************************************************
|
|
706
706
|
// Note: "X" is really nothing special
|
|
707
|
+
[false, true].forEach(function (bAsync) {
|
|
707
708
|
["true", true, 1, "X"].forEach(function (oFlag) {
|
|
708
709
|
QUnit.test("XML with template:if test='{/flag}', truthy, flag = " + oFlag,
|
|
709
710
|
function (assert) {
|
|
710
|
-
this.
|
|
711
|
+
this.oSapUiMock.expects("require").on(sap.ui)
|
|
712
|
+
.atLeast(0) // only for the 1st run
|
|
713
|
+
.withArgs(["sap/ui/model/type/Boolean"]).callThrough();
|
|
714
|
+
return this.check(assert, [
|
|
711
715
|
mvcView("t"),
|
|
712
716
|
'<t:if test="{path: \'/flag\', type: \'sap.ui.model.type.Boolean\'}">',
|
|
713
717
|
'<In id="flag"/>',
|
|
@@ -715,10 +719,11 @@ sap.ui.define([
|
|
|
715
719
|
'</mvc:View>'
|
|
716
720
|
], {
|
|
717
721
|
models: new JSONModel({flag: oFlag})
|
|
718
|
-
});
|
|
722
|
+
}, undefined, /*bAsync*/bAsync);
|
|
719
723
|
}
|
|
720
724
|
);
|
|
721
725
|
});
|
|
726
|
+
});
|
|
722
727
|
|
|
723
728
|
//*********************************************************************************************
|
|
724
729
|
// Note: " " intentionally not included yet, should not matter for OData!
|
|
@@ -3145,6 +3150,32 @@ sap.ui.define([
|
|
|
3145
3150
|
});
|
|
3146
3151
|
});
|
|
3147
3152
|
|
|
3153
|
+
//*********************************************************************************************
|
|
3154
|
+
QUnit.test("plugIn, async getResult uncaught promise", function (assert) {
|
|
3155
|
+
return this.checkTracing(assert, true, [
|
|
3156
|
+
{m : "[ 0] Start processing qux"},
|
|
3157
|
+
{m : "[ 1] Calling visitor", d : 1},
|
|
3158
|
+
{m : "[ 1] Finished", d : "</f:Bar>"},
|
|
3159
|
+
{m : "[ 0] Finished processing qux"}
|
|
3160
|
+
], [
|
|
3161
|
+
mvcView(),
|
|
3162
|
+
'<f:Bar xmlns:f="foo" test="{/hello}" tooltip="{/sync}"/>',
|
|
3163
|
+
'</mvc:View>'
|
|
3164
|
+
], {
|
|
3165
|
+
models : asyncModel({hello : "world", sync : "sync"})
|
|
3166
|
+
}, [
|
|
3167
|
+
'<f:Bar xmlns:f="foo" test="{/hello}" tooltip="{/sync}"/>'
|
|
3168
|
+
], true, function (oElement, oInterface) { // visitor for f:Bar
|
|
3169
|
+
|
|
3170
|
+
// code under test
|
|
3171
|
+
const oPromise = oInterface.getResult(); // will fail, first param is not optional
|
|
3172
|
+
assert.strictEqual(oPromise.isRejected(), true);
|
|
3173
|
+
oPromise.caught();
|
|
3174
|
+
|
|
3175
|
+
return SyncPromise.resolve();
|
|
3176
|
+
});
|
|
3177
|
+
});
|
|
3178
|
+
|
|
3148
3179
|
//*********************************************************************************************
|
|
3149
3180
|
QUnit.test("plugIn, getSettings, getViewInfo", function (assert) {
|
|
3150
3181
|
var mSettings = {
|
|
@@ -394,10 +394,10 @@ sap.ui.define([
|
|
|
394
394
|
QUnit.module("Interaction", {
|
|
395
395
|
beforeEach: function() {
|
|
396
396
|
this.oButton = new Button();
|
|
397
|
+
Interaction.setActive(true);
|
|
397
398
|
jQuery.sap.measure.endInteraction(true);
|
|
398
399
|
jQuery.sap.measure.clearInteractionMeasurements();
|
|
399
400
|
jQuery.sap.measure.clear();
|
|
400
|
-
Interaction.setActive(true);
|
|
401
401
|
},
|
|
402
402
|
afterEach: function() {
|
|
403
403
|
this.oButton.destroy();
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"sap/base/util/LoaderExtensions",
|
|
4
4
|
"jquery.sap.dom",
|
|
5
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
5
6
|
"sap/ui/qunit/QUnitUtils" // implicit dependency, implements jQuery#_sapTest_dataEvents
|
|
6
|
-
], function (LoaderExtensions, jQuery /*, qutils */) {
|
|
7
|
+
], function (LoaderExtensions, jQuery, nextUIUpdate /*, qutils */) {
|
|
7
8
|
"use strict";
|
|
8
9
|
|
|
9
10
|
return LoaderExtensions.loadResource("static/jquery.sap.dom.html", {
|
|
@@ -482,7 +483,7 @@ sap.ui.define([
|
|
|
482
483
|
jQuery(document.body).append(this.$Image);
|
|
483
484
|
jQuery(document.body).append(this.$ImageMap);
|
|
484
485
|
|
|
485
|
-
|
|
486
|
+
return nextUIUpdate();
|
|
486
487
|
},
|
|
487
488
|
|
|
488
489
|
afterEach: function () {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/m/Button",
|
|
5
5
|
"sap/m/Label",
|
|
6
|
-
"sap/m/
|
|
6
|
+
"sap/m/DynamicDateRange",
|
|
7
7
|
"sap/ui/base/Event",
|
|
8
8
|
"sap/ui/core/mvc/XMLView",
|
|
9
9
|
"sap/ui/core/util/reflection/JsControlTreeModifier",
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
], function(
|
|
18
18
|
Button,
|
|
19
19
|
Label,
|
|
20
|
-
|
|
20
|
+
DynamicDateRange,
|
|
21
21
|
Event,
|
|
22
22
|
XMLView,
|
|
23
23
|
JsControlTreeModifier,
|
|
@@ -598,20 +598,20 @@ sap.ui.define([
|
|
|
598
598
|
});
|
|
599
599
|
|
|
600
600
|
QUnit.test("when getProperty is called for a property of type object", function(assert) {
|
|
601
|
-
this.oControl = new
|
|
601
|
+
this.oControl = new DynamicDateRange();
|
|
602
602
|
var oSomeObject = new Button();
|
|
603
603
|
this.oControl.addDependent(oSomeObject); //for later cleanup
|
|
604
604
|
|
|
605
605
|
var mData = { key : "value"};
|
|
606
|
-
JsControlTreeModifier.setProperty(this.oControl, "
|
|
607
|
-
assert.deepEqual(this.oControl.
|
|
606
|
+
JsControlTreeModifier.setProperty(this.oControl, "value", mData);
|
|
607
|
+
assert.deepEqual(this.oControl.getValue(), mData, "then serializable data (plain object) can be passed");
|
|
608
608
|
|
|
609
609
|
var aData = [mData];
|
|
610
|
-
JsControlTreeModifier.setProperty(this.oControl, "
|
|
611
|
-
assert.deepEqual(this.oControl.
|
|
610
|
+
JsControlTreeModifier.setProperty(this.oControl, "value", aData);
|
|
611
|
+
assert.deepEqual(this.oControl.getValue(), aData, "then serializable data (array) can be passed");
|
|
612
612
|
|
|
613
613
|
assert.throws(function() {
|
|
614
|
-
JsControlTreeModifier.setProperty(this.oControl, "
|
|
614
|
+
JsControlTreeModifier.setProperty(this.oControl, "value", oSomeObject);
|
|
615
615
|
},
|
|
616
616
|
/TypeError/,
|
|
617
617
|
"then passing non JSON data will throw a message");
|
|
@@ -92,11 +92,11 @@ sap.ui.define([
|
|
|
92
92
|
'<Label text="visibleLabel" stashed="false"></Label>' +
|
|
93
93
|
'<Label text="stashedInvisibleLabel" visible="false" stashed="true"></Label>' +
|
|
94
94
|
'</VBox>' +
|
|
95
|
-
'<
|
|
96
|
-
'<
|
|
97
|
-
'<
|
|
98
|
-
'<
|
|
99
|
-
'<
|
|
95
|
+
'<DynamicDateRange id="' + ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT + '" value="\\{"key":"value"\\}" />' +
|
|
96
|
+
'<DynamicDateRange id="' + ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT_2 + '" value="\{"key":"value"\}" />' +
|
|
97
|
+
'<DynamicDateRange id="' + ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT_3 + '" value="{\'key\': \'value\'}" />' +
|
|
98
|
+
'<DynamicDateRange id="' + ID_OF_CONTROL_WITH_PROP_BINDING + '" value="{/foo}" />' +
|
|
99
|
+
'<DynamicDateRange id="' + ID_OF_CONTROL_WITH_PROP_TYPE_ARRAY + '" value="[\\{"key":"value"\\}]" />' +
|
|
100
100
|
'<f:DynamicPageTitle id="' + ID_OF_CONTROL_WITH_INLINE_CUSTOM_DATA + '" app:someInlineAppCustomData="inlineValue" />' +
|
|
101
101
|
'</mvc:View>';
|
|
102
102
|
this.oXmlView = XMLHelper.parse(this.oXmlString, "application/xml").documentElement;
|
|
@@ -529,7 +529,7 @@ sap.ui.define([
|
|
|
529
529
|
|
|
530
530
|
QUnit.test("getProperty for properties of type object (double escaped case)", function (assert) {
|
|
531
531
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
532
|
-
return XmlTreeModifier.getProperty(oControl, "
|
|
532
|
+
return XmlTreeModifier.getProperty(oControl, "value")
|
|
533
533
|
.then(function (mData) {
|
|
534
534
|
assert.deepEqual(mData, { key : "value"}, "returns json value");
|
|
535
535
|
});
|
|
@@ -537,7 +537,7 @@ sap.ui.define([
|
|
|
537
537
|
|
|
538
538
|
QUnit.test("getProperty for properties of type object (single escaped case)", function (assert) {
|
|
539
539
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT_2, this.oXmlView);
|
|
540
|
-
return XmlTreeModifier.getProperty(oControl, "
|
|
540
|
+
return XmlTreeModifier.getProperty(oControl, "value")
|
|
541
541
|
.then(function (mData) {
|
|
542
542
|
assert.deepEqual(mData, { key : "value"}, "returns json value");
|
|
543
543
|
});
|
|
@@ -545,7 +545,7 @@ sap.ui.define([
|
|
|
545
545
|
|
|
546
546
|
QUnit.test("getProperty for properties of type object (single quote case)", function (assert) {
|
|
547
547
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT_3, this.oXmlView);
|
|
548
|
-
return XmlTreeModifier.getProperty(oControl, "
|
|
548
|
+
return XmlTreeModifier.getProperty(oControl, "value")
|
|
549
549
|
.then(function (mData) {
|
|
550
550
|
assert.deepEqual(mData, { key : "value"}, "returns json value");
|
|
551
551
|
});
|
|
@@ -553,7 +553,7 @@ sap.ui.define([
|
|
|
553
553
|
|
|
554
554
|
QUnit.test("getProperty for properties of type object with an array (curly braces escaped case)", function (assert) {
|
|
555
555
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_ARRAY, this.oXmlView);
|
|
556
|
-
return XmlTreeModifier.getProperty(oControl, "
|
|
556
|
+
return XmlTreeModifier.getProperty(oControl, "value")
|
|
557
557
|
.then(function (mData) {
|
|
558
558
|
assert.deepEqual(mData, [{ "key" : "value"}], "returns array value");
|
|
559
559
|
});
|
|
@@ -561,7 +561,7 @@ sap.ui.define([
|
|
|
561
561
|
|
|
562
562
|
QUnit.test("getProperty for properties controlled by a binding", function(assert) {
|
|
563
563
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_BINDING, this.oXmlView);
|
|
564
|
-
return XmlTreeModifier.getProperty(oControl, "
|
|
564
|
+
return XmlTreeModifier.getProperty(oControl, "value")
|
|
565
565
|
.then(function (mData) {
|
|
566
566
|
assert.equal(mData, undefined, "nothing is returned");
|
|
567
567
|
});
|
|
@@ -569,23 +569,23 @@ sap.ui.define([
|
|
|
569
569
|
|
|
570
570
|
QUnit.test("setProperty for properties of type object", function (assert) {
|
|
571
571
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
572
|
-
XmlTreeModifier.setProperty(oControl, "
|
|
572
|
+
XmlTreeModifier.setProperty(oControl, "value", { key2 : 2});
|
|
573
573
|
|
|
574
|
-
var sStringifiedData = oControl.getAttribute("
|
|
574
|
+
var sStringifiedData = oControl.getAttribute("value");
|
|
575
575
|
assert.strictEqual(sStringifiedData, '\\{"key2":2\\}', "returns json value stringified and escaped");
|
|
576
576
|
});
|
|
577
577
|
|
|
578
578
|
QUnit.test("setProperty for properties of type array", function (assert) {
|
|
579
579
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
580
|
-
XmlTreeModifier.setProperty(oControl, "
|
|
580
|
+
XmlTreeModifier.setProperty(oControl, "value", [{ key2 : 2}]);
|
|
581
581
|
|
|
582
|
-
var sStringifiedData = oControl.getAttribute("
|
|
582
|
+
var sStringifiedData = oControl.getAttribute("value");
|
|
583
583
|
assert.strictEqual(sStringifiedData, '[\\{"key2":2\\}]', "returns json value stringified and escaped");
|
|
584
584
|
});
|
|
585
585
|
|
|
586
586
|
QUnit.test("getPropertyBinding for bound properties", function(assert) {
|
|
587
587
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_BINDING, this.oXmlView);
|
|
588
|
-
var mData = XmlTreeModifier.getPropertyBinding(oControl, "
|
|
588
|
+
var mData = XmlTreeModifier.getPropertyBinding(oControl, "value");
|
|
589
589
|
var oBindingInfo = {
|
|
590
590
|
path: "/foo"
|
|
591
591
|
};
|
|
@@ -594,7 +594,7 @@ sap.ui.define([
|
|
|
594
594
|
|
|
595
595
|
QUnit.test("getPropertyBinding for unbound properties of type object", function(assert) {
|
|
596
596
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
597
|
-
var mData = XmlTreeModifier.getPropertyBinding(oControl, "
|
|
597
|
+
var mData = XmlTreeModifier.getPropertyBinding(oControl, "value");
|
|
598
598
|
assert.equal(mData, undefined, "nothing is returned");
|
|
599
599
|
});
|
|
600
600
|
|
|
@@ -606,23 +606,23 @@ sap.ui.define([
|
|
|
606
606
|
|
|
607
607
|
QUnit.test("getPropertyBinding for empty properties", function(assert) {
|
|
608
608
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_BINDING, this.oXmlView);
|
|
609
|
-
var mData = XmlTreeModifier.getPropertyBinding(oControl, "
|
|
609
|
+
var mData = XmlTreeModifier.getPropertyBinding(oControl, "value2");
|
|
610
610
|
assert.equal(mData, undefined, "nothing is returned");
|
|
611
611
|
});
|
|
612
612
|
|
|
613
613
|
QUnit.test("setPropertyBinding with a binding string", function(assert) {
|
|
614
614
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
615
|
-
XmlTreeModifier.setPropertyBinding(oControl, "
|
|
616
|
-
assert.equal(oControl.getAttribute("
|
|
615
|
+
XmlTreeModifier.setPropertyBinding(oControl, "value", "{/foo}");
|
|
616
|
+
assert.equal(oControl.getAttribute("value"), "{/foo}", "the string was set");
|
|
617
617
|
});
|
|
618
618
|
|
|
619
619
|
QUnit.test("setPropertyBinding with a binding info object", function(assert) {
|
|
620
620
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
621
|
-
var oValueBefore = oControl.getAttribute("
|
|
621
|
+
var oValueBefore = oControl.getAttribute("value");
|
|
622
622
|
assert.throws(function() {
|
|
623
|
-
XmlTreeModifier.setPropertyBinding(oControl, "
|
|
623
|
+
XmlTreeModifier.setPropertyBinding(oControl, "value", {path: "foo"});
|
|
624
624
|
}, Error, "the function throws an error");
|
|
625
|
-
assert.deepEqual(oValueBefore, oControl.getAttribute("
|
|
625
|
+
assert.deepEqual(oValueBefore, oControl.getAttribute("value"), "the property was not changed");
|
|
626
626
|
});
|
|
627
627
|
|
|
628
628
|
function getVisibleLabel(oXmlView) {
|
|
@@ -667,8 +667,8 @@ sap.ui.define([
|
|
|
667
667
|
QUnit.test("applySetting with property of type object", function (assert) {
|
|
668
668
|
var oControl = XmlTreeModifier._byId(ID_OF_CONTROL_WITH_PROP_TYPE_OBJECT, this.oXmlView);
|
|
669
669
|
var mData = { key2 : 2};
|
|
670
|
-
return XmlTreeModifier.applySettings(oControl, {
|
|
671
|
-
.then(XmlTreeModifier.getProperty.bind(XmlTreeModifier, oControl, "
|
|
670
|
+
return XmlTreeModifier.applySettings(oControl, {value: mData})
|
|
671
|
+
.then(XmlTreeModifier.getProperty.bind(XmlTreeModifier, oControl, "value"))
|
|
672
672
|
.then(function (oProperty) {
|
|
673
673
|
assert.deepEqual(oProperty, mData, "the property of type object returns in JSON notation");
|
|
674
674
|
});
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
sap.ui.
|
|
1
|
+
sap.ui.require([
|
|
2
|
+
"sap/ui/core/Core",
|
|
3
|
+
"sap/m/Text"
|
|
4
|
+
], function(
|
|
5
|
+
Core,
|
|
6
|
+
Text
|
|
7
|
+
) {
|
|
2
8
|
"use strict";
|
|
3
|
-
|
|
9
|
+
Core.ready().then(function() {
|
|
4
10
|
new Text({text: "A simple test page that is used to trigger the Technical Information Dialog"}).placeAt("content");
|
|
5
11
|
});
|
|
6
12
|
});
|