@openui5/sap.ui.core 1.117.1 → 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/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/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
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
sap.ui.define([
|
|
5
5
|
"sap/ui/core/sample/odata/v4/RecursiveHierarchy/SandboxModel",
|
|
6
6
|
"sap/ui/test/Opa5",
|
|
7
|
+
"sap/ui/test/actions/EnterText",
|
|
7
8
|
"sap/ui/test/actions/Press"
|
|
8
|
-
], function (SandboxModel, Opa5, Press) {
|
|
9
|
+
], function (SandboxModel, Opa5, EnterText, Press) {
|
|
9
10
|
"use strict";
|
|
10
11
|
|
|
11
12
|
var mIcon2DrillState = {
|
|
@@ -103,17 +104,49 @@ sap.ui.define([
|
|
|
103
104
|
Opa5.createPageObjects({
|
|
104
105
|
onTheMainPage : {
|
|
105
106
|
actions : {
|
|
107
|
+
createNewChild : function (iRow, sComment) {
|
|
108
|
+
this.waitFor({
|
|
109
|
+
actions : new Press(),
|
|
110
|
+
controlType : "sap.m.Button",
|
|
111
|
+
errorMessage : `Could not create new child below row ${iRow}`,
|
|
112
|
+
id : bTreeTable ? /createInTreeTable/ : /create/,
|
|
113
|
+
matchers : function (oControl) {
|
|
114
|
+
return oControl.getBindingContext().getIndex() === iRow;
|
|
115
|
+
},
|
|
116
|
+
success : function () {
|
|
117
|
+
Opa5.assert.ok(true,
|
|
118
|
+
`Create new child below row ${iRow}. ${sComment}`);
|
|
119
|
+
},
|
|
120
|
+
viewName : sViewName
|
|
121
|
+
});
|
|
122
|
+
},
|
|
123
|
+
editName : function (iRow, sName, sComment) {
|
|
124
|
+
this.waitFor({
|
|
125
|
+
actions : new EnterText({clearTextFirst : true, text : sName}),
|
|
126
|
+
controlType : "sap.m.Input",
|
|
127
|
+
errorMessage : `Could not edit name in row ${iRow}`,
|
|
128
|
+
id : bTreeTable ? /nameInTreeTable/ : /name/,
|
|
129
|
+
matchers : function (oControl) {
|
|
130
|
+
return oControl.getBindingContext().getIndex() === iRow;
|
|
131
|
+
},
|
|
132
|
+
success : function () {
|
|
133
|
+
Opa5.assert.ok(true,
|
|
134
|
+
`Entered name in row ${iRow} as "${sName}". ${sComment}`);
|
|
135
|
+
},
|
|
136
|
+
viewName : sViewName
|
|
137
|
+
});
|
|
138
|
+
},
|
|
106
139
|
scrollToRow : function (iRow, sComment) {
|
|
107
140
|
this.waitFor({
|
|
108
141
|
actions : function (oTable) {
|
|
109
142
|
oTable.setFirstVisibleRow(iRow);
|
|
110
143
|
},
|
|
111
144
|
controlType : getTableType(),
|
|
112
|
-
errorMessage : "Could not select row
|
|
145
|
+
errorMessage : "Could not select row " + iRow,
|
|
113
146
|
id : getTableId(),
|
|
114
147
|
success : function (oTable) {
|
|
115
148
|
Opa5.assert.strictEqual(oTable.getFirstVisibleRow(), iRow,
|
|
116
|
-
"Scrolled table to row
|
|
149
|
+
"Scrolled table to row " + iRow + ". " + sComment);
|
|
117
150
|
},
|
|
118
151
|
viewName : sViewName
|
|
119
152
|
});
|
|
@@ -143,7 +176,7 @@ sap.ui.define([
|
|
|
143
176
|
errorMessage : "Could not toggle Expand Button in row " + iRow,
|
|
144
177
|
id : getTableId(),
|
|
145
178
|
success : function () {
|
|
146
|
-
Opa5.assert.ok(true, "Toggle Expand Button in row
|
|
179
|
+
Opa5.assert.ok(true, "Toggle Expand Button in row " + iRow
|
|
147
180
|
+ ". " + sComment);
|
|
148
181
|
},
|
|
149
182
|
viewName : sViewName
|
|
@@ -158,7 +191,7 @@ sap.ui.define([
|
|
|
158
191
|
return oControl.getBindingContext().getIndex() === iRow;
|
|
159
192
|
},
|
|
160
193
|
success : function () {
|
|
161
|
-
Opa5.assert.ok(true, "Toggle Expand Button in row
|
|
194
|
+
Opa5.assert.ok(true, "Toggle Expand Button in row " + iRow
|
|
162
195
|
+ ". " + sComment);
|
|
163
196
|
},
|
|
164
197
|
viewName : sViewName
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* ${copyright}
|
|
3
|
+
*/
|
|
4
|
+
sap.ui.define([
|
|
5
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
6
|
+
"sap/ui/core/sample/odata/v4/RecursiveHierarchy/pages/Main",
|
|
7
|
+
"sap/ui/core/sample/odata/v4/RecursiveHierarchy/SandboxModel",
|
|
8
|
+
"sap/ui/test/TestUtils"
|
|
9
|
+
], function (_Any, _Main, SandboxModel, TestUtils) {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
return function (Given, When, Then) {
|
|
13
|
+
const aNodes = SandboxModel.getTopLevels(1);
|
|
14
|
+
let iFirstVisibleRow = 0;
|
|
15
|
+
// Note: If more rows are visible, no placeholders for paging will be created!
|
|
16
|
+
const iVisibleRowCount = 8;
|
|
17
|
+
|
|
18
|
+
function createNewChild(iRow, sComment) {
|
|
19
|
+
When.onTheMainPage.createNewChild(iRow, sComment);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Note: iRow is always in model coordinates! Thus aExpected behaves the same!
|
|
23
|
+
function checkTable(aExpected, mDefaults) {
|
|
24
|
+
aExpected = aExpected.slice(iFirstVisibleRow, iFirstVisibleRow + iVisibleRowCount);
|
|
25
|
+
// Note: clone aExpected in order to deal with OPA's async nature
|
|
26
|
+
Then.onTheMainPage.checkTable(JSON.parse(JSON.stringify(aExpected)), mDefaults);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function editName(iRow, sName, sComment) {
|
|
30
|
+
When.onTheMainPage.editName(iRow, sName, sComment);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function scrollToRow(iRow, sComment) {
|
|
34
|
+
if (iRow + iVisibleRowCount > aNodes.length) {
|
|
35
|
+
throw new Error(
|
|
36
|
+
`Cannot scroll that far! ${iRow} > ${aNodes.length - iVisibleRowCount}`);
|
|
37
|
+
}
|
|
38
|
+
iFirstVisibleRow = iRow;
|
|
39
|
+
When.onTheMainPage.scrollToRow(iRow, sComment);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function toggleExpandInRow(iRow, sComment) {
|
|
43
|
+
When.onTheMainPage.toggleExpandInRow(iRow, sComment);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
TestUtils.setData("sap.ui.core.sample.odata.v4.RecursiveHierarchy.expandTo", "1");
|
|
47
|
+
TestUtils.setData("sap.ui.core.sample.odata.v4.RecursiveHierarchy.visibleRowCount",
|
|
48
|
+
"" + iVisibleRowCount);
|
|
49
|
+
Given.iStartMyUIComponent({
|
|
50
|
+
autoWait : true,
|
|
51
|
+
componentConfig : {
|
|
52
|
+
name : "sap.ui.core.sample.odata.v4.RecursiveHierarchy"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
checkTable(aNodes);
|
|
57
|
+
|
|
58
|
+
toggleExpandInRow(0, "Expand 0 (Alpha)");
|
|
59
|
+
aNodes[0].DrillState = "expanded";
|
|
60
|
+
aNodes.splice(1, 0, ...SandboxModel.getChildren("0"));
|
|
61
|
+
checkTable(aNodes);
|
|
62
|
+
|
|
63
|
+
createNewChild(0, "Create New Child of 0 (Alpha)");
|
|
64
|
+
aNodes.splice(1, 0, {
|
|
65
|
+
AGE : 54,
|
|
66
|
+
DistanceFromRoot : 1,
|
|
67
|
+
DrillState : "leaf",
|
|
68
|
+
ID : "6",
|
|
69
|
+
MANAGER_ID : "0",
|
|
70
|
+
Name : ""
|
|
71
|
+
});
|
|
72
|
+
checkTable(aNodes);
|
|
73
|
+
|
|
74
|
+
const sName1 = "1st new child";
|
|
75
|
+
editName(1, sName1, "Edit New Child's Name");
|
|
76
|
+
aNodes[1].Name = sName1;
|
|
77
|
+
checkTable(aNodes);
|
|
78
|
+
|
|
79
|
+
createNewChild(3, "Create New Child of 2 (Kappa)");
|
|
80
|
+
aNodes[3].DrillState = "expanded";
|
|
81
|
+
aNodes.splice(4, 0, {
|
|
82
|
+
AGE : 55,
|
|
83
|
+
DistanceFromRoot : 2,
|
|
84
|
+
DrillState : "leaf",
|
|
85
|
+
ID : "2.1",
|
|
86
|
+
MANAGER_ID : "2",
|
|
87
|
+
Name : ""
|
|
88
|
+
});
|
|
89
|
+
checkTable(aNodes);
|
|
90
|
+
|
|
91
|
+
const sName2 = "2nd new child";
|
|
92
|
+
editName(4, sName2, "Edit New Child's Name");
|
|
93
|
+
aNodes[4].Name = sName2;
|
|
94
|
+
checkTable(aNodes);
|
|
95
|
+
|
|
96
|
+
toggleExpandInRow(7, "Expand 5 (Xi)");
|
|
97
|
+
aNodes[7].DrillState = "expanded";
|
|
98
|
+
checkTable(aNodes);
|
|
99
|
+
|
|
100
|
+
aNodes.splice(8, 0, ...SandboxModel.getChildren("5"));
|
|
101
|
+
scrollToRow(1, "5.1 (Omicron) comes into view");
|
|
102
|
+
checkTable(aNodes);
|
|
103
|
+
|
|
104
|
+
toggleExpandInRow(8, "Expand 5.1 (Omicron)");
|
|
105
|
+
aNodes[8].DrillState = "expanded";
|
|
106
|
+
aNodes.splice(9, 0, ...SandboxModel.getChildren("5.1"));
|
|
107
|
+
checkTable(aNodes);
|
|
108
|
+
|
|
109
|
+
createNewChild(8, "Create New Child of 5.1 (Omicron)"); // still invisible
|
|
110
|
+
aNodes.splice(9, 0, {
|
|
111
|
+
AGE : 20,
|
|
112
|
+
DistanceFromRoot : 3,
|
|
113
|
+
DrillState : "leaf",
|
|
114
|
+
ID : "5.1.10",
|
|
115
|
+
MANAGER_ID : "5.1",
|
|
116
|
+
Name : ""
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
scrollToRow(2, "5.10 comes into view");
|
|
120
|
+
checkTable(aNodes);
|
|
121
|
+
|
|
122
|
+
scrollToRow(11, "scroll to bottom");
|
|
123
|
+
checkTable(aNodes);
|
|
124
|
+
|
|
125
|
+
Then.onAnyPage.checkLog();
|
|
126
|
+
Then.iTeardownMyUIComponent();
|
|
127
|
+
};
|
|
128
|
+
});
|
package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/tests/pageExpandCollapse.js
CHANGED
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
// basics: initial data
|
|
54
|
-
aNodes = SandboxModel.
|
|
54
|
+
aNodes = SandboxModel.getTopLevels(3, 0, 5);
|
|
55
55
|
checkTable(aNodes);
|
|
56
56
|
|
|
57
57
|
// Note: expand 1.1 (Gamma), synch., collapse 1.1 (Gamma) => Failed to drill-down...
|
|
@@ -71,18 +71,18 @@ sap.ui.define([
|
|
|
71
71
|
// expand nodes "at the edge" of the top pyramid (loads children)
|
|
72
72
|
toggleExpandInRow(3, "Expand 1.2 (Zeta)");
|
|
73
73
|
oExpandedZeta = Object.assign({}, aNodes[3], {DrillState : "expanded"});
|
|
74
|
-
aNodes = aNodes.slice(0, 3).concat(oExpandedZeta, SandboxModel.
|
|
74
|
+
aNodes = aNodes.slice(0, 3).concat(oExpandedZeta, SandboxModel.getChildren("1.2")[0]);
|
|
75
75
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
76
76
|
|
|
77
77
|
toggleExpandInRow(2, "Expand 1.1 (Gamma)");
|
|
78
78
|
oExpandedGamma = Object.assign({}, aNodes[2], {DrillState : "expanded"});
|
|
79
79
|
aAfterExpandGamma
|
|
80
|
-
= aNodes.slice(0, 2).concat(oExpandedGamma, SandboxModel.
|
|
80
|
+
= aNodes.slice(0, 2).concat(oExpandedGamma, SandboxModel.getChildren("1.1"));
|
|
81
81
|
checkTable(aAfterExpandGamma, {DistanceFromRoot : 3});
|
|
82
82
|
|
|
83
83
|
// show more children of newly expanded node
|
|
84
84
|
scrollToRow(5, "1.2 (Zeta) is at the top");
|
|
85
|
-
aNodes = [oExpandedZeta].concat(SandboxModel.
|
|
85
|
+
aNodes = [oExpandedZeta].concat(SandboxModel.getChildren("1.2"));
|
|
86
86
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
87
87
|
|
|
88
88
|
// collapse incl. children outside of top pyramid
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
toggleExpandInRow(1, "Collapse 1 (Beta)");
|
|
93
93
|
oCollapsedBeta = Object.assign({}, aAfterExpandGamma[1], {DrillState : "collapsed"});
|
|
94
94
|
aAfterCollapseBeta = aAfterExpandGamma.slice(0, 1)
|
|
95
|
-
.concat(oCollapsedBeta, SandboxModel.
|
|
95
|
+
.concat(oCollapsedBeta, SandboxModel.getTopLevels(3, 4, 3));
|
|
96
96
|
checkTable(aAfterCollapseBeta);
|
|
97
97
|
|
|
98
98
|
toggleExpandInRow(4, "Collapse 4 (Mu)");
|
|
@@ -102,7 +102,7 @@ sap.ui.define([
|
|
|
102
102
|
|
|
103
103
|
// this skips 4.1 (Nu) which has not been shown so far!
|
|
104
104
|
scrollToRow(2, "Scroll to the bottom");
|
|
105
|
-
aNodes = aNodes.slice(2).concat(SandboxModel.
|
|
105
|
+
aNodes = aNodes.slice(2).concat(SandboxModel.getTopLevels(3, 8, 2));
|
|
106
106
|
checkTable(aNodes);
|
|
107
107
|
|
|
108
108
|
// reveal a child from the top pyramid for the 1st time
|
|
@@ -110,7 +110,8 @@ sap.ui.define([
|
|
|
110
110
|
oExpandedMu = Object.assign({}, aNodes[2], {DrillState : "expanded"});
|
|
111
111
|
// 4.1 (Nu) appears, 5.1 (Omicron) disappears
|
|
112
112
|
oCollapsedOmicron = aNodes[4];
|
|
113
|
-
aNodes = aNodes.slice(0, 2)
|
|
113
|
+
aNodes = aNodes.slice(0, 2)
|
|
114
|
+
.concat(oExpandedMu, SandboxModel.getTopLevels(3, 7, 1)[0], aNodes[3]);
|
|
114
115
|
checkTable(aNodes);
|
|
115
116
|
|
|
116
117
|
// load children outside top pyramid, incl. paging
|
|
@@ -124,10 +125,10 @@ sap.ui.define([
|
|
|
124
125
|
checkTable(aNodes);
|
|
125
126
|
|
|
126
127
|
scrollToRow(8, "Show first page of 5.1's children");
|
|
127
|
-
checkTable(SandboxModel.
|
|
128
|
+
checkTable(SandboxModel.getChildren("5.1", 0, 5), {DistanceFromRoot : 3});
|
|
128
129
|
|
|
129
130
|
scrollToRow(12, "Show second page of 5.1's children");
|
|
130
|
-
checkTable(SandboxModel.
|
|
131
|
+
checkTable(SandboxModel.getChildren("5.1", 4, 5), {DistanceFromRoot : 3});
|
|
131
132
|
|
|
132
133
|
// collapse incl. children not counted via "Descendants" property
|
|
133
134
|
scrollToRow(0, "Scroll to the top");
|
|
@@ -142,33 +143,33 @@ sap.ui.define([
|
|
|
142
143
|
|
|
143
144
|
// tree state must be kept, even inside collapsed node, and update must happen there as well
|
|
144
145
|
toggleExpandInRow(0, "Expand 0 (Alpha)");
|
|
145
|
-
aNodes = SandboxModel.
|
|
146
|
+
aNodes = SandboxModel.getTopLevels(3, 0, 1).concat(aAfterCollapseBeta.slice(1, 5));
|
|
146
147
|
checkTable(aNodes);
|
|
147
148
|
|
|
148
149
|
toggleExpandInRow(1, "Expand 1 (Beta)");
|
|
149
150
|
checkTable(aAfterExpandGamma, {DistanceFromRoot : 3});
|
|
150
151
|
|
|
151
152
|
toggleExpandInRow(2, "Collapse 1.1 (Gamma)");
|
|
152
|
-
aNodes = SandboxModel.
|
|
153
|
-
.concat(SandboxModel.
|
|
153
|
+
aNodes = SandboxModel.getTopLevels(3, 0, 3).concat(oExpandedZeta)
|
|
154
|
+
.concat(SandboxModel.getChildren("1.2")[0]);
|
|
154
155
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
155
156
|
|
|
156
157
|
toggleExpandInRow(3, "Collapse 1.2 (Zeta)");
|
|
157
|
-
checkTable(SandboxModel.
|
|
158
|
+
checkTable(SandboxModel.getTopLevels(3, 0, 5));
|
|
158
159
|
|
|
159
160
|
toggleExpandInRow(2, "Expand 1.1 (Gamma)");
|
|
160
|
-
aNodes = SandboxModel.
|
|
161
|
-
.concat(SandboxModel.
|
|
161
|
+
aNodes = SandboxModel.getTopLevels(3, 0, 2).concat(oExpandedGamma)
|
|
162
|
+
.concat(SandboxModel.getChildren("1.1"));
|
|
162
163
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
163
164
|
|
|
164
165
|
When.onTheMainPage.synchronize("2nd time");
|
|
165
166
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
166
167
|
|
|
167
168
|
toggleExpandInRow(2, "Collapse 1.1 (Gamma)");
|
|
168
|
-
checkTable(SandboxModel.
|
|
169
|
+
checkTable(SandboxModel.getTopLevels(3, 0, 5));
|
|
169
170
|
|
|
170
171
|
toggleExpandInRow(1, "Collapse 1 (Beta)");
|
|
171
|
-
aNodes = SandboxModel.
|
|
172
|
+
aNodes = SandboxModel.getTopLevels(3, 0, 1).concat(aAfterCollapseBeta.slice(1, 5));
|
|
172
173
|
checkTable(aNodes);
|
|
173
174
|
|
|
174
175
|
// still functional
|
|
@@ -177,7 +178,7 @@ sap.ui.define([
|
|
|
177
178
|
checkTable(aAfterCollapseBetaMu);
|
|
178
179
|
|
|
179
180
|
scrollToRow(1, "Scroll down one row"); // 5 (Xi) appears
|
|
180
|
-
aNodes = aAfterCollapseBetaMu.slice(1).concat(SandboxModel.
|
|
181
|
+
aNodes = aAfterCollapseBetaMu.slice(1).concat(SandboxModel.getTopLevels(3, 8, 1));
|
|
181
182
|
checkTable(aNodes);
|
|
182
183
|
|
|
183
184
|
toggleExpandInRow(5, "Collapse 5 (Xi)");
|
|
@@ -203,7 +204,7 @@ sap.ui.define([
|
|
|
203
204
|
|
|
204
205
|
// hidden node 5.1 (Omicron) still expanded and properly updated
|
|
205
206
|
toggleExpandInRow(5, "Expand 5 (Xi)");
|
|
206
|
-
aNodes = aAfterCollapseBetaMu.slice(1).concat(SandboxModel.
|
|
207
|
+
aNodes = aAfterCollapseBetaMu.slice(1).concat(SandboxModel.getTopLevels(3, 8, 1));
|
|
207
208
|
checkTable(aNodes);
|
|
208
209
|
|
|
209
210
|
scrollToRow(2, "Scroll down one row");
|
|
@@ -211,13 +212,13 @@ sap.ui.define([
|
|
|
211
212
|
checkTable(aAfterShowOmicron);
|
|
212
213
|
|
|
213
214
|
scrollToRow(7, "PAGE DOWN");
|
|
214
|
-
checkTable(SandboxModel.
|
|
215
|
+
checkTable(SandboxModel.getChildren("5.1", 0, 5), {DistanceFromRoot : 3});
|
|
215
216
|
|
|
216
217
|
scrollToRow(11, "Scroll To The Bottom");
|
|
217
|
-
checkTable(SandboxModel.
|
|
218
|
+
checkTable(SandboxModel.getChildren("5.1", 4, 5), {DistanceFromRoot : 3});
|
|
218
219
|
|
|
219
220
|
scrollToRow(6, "Scroll To 5.1 (Omicron)");
|
|
220
|
-
aNodes = [oExpandedOmicron].concat(SandboxModel.
|
|
221
|
+
aNodes = [oExpandedOmicron].concat(SandboxModel.getChildren("5.1", 0, 4));
|
|
221
222
|
checkTable(aNodes, {DistanceFromRoot : 3});
|
|
222
223
|
|
|
223
224
|
toggleExpandInRow(6, "Collapse 5.1 (Omicron)");
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/Helper",
|
|
9
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/pages/Main",
|
|
11
|
+
"sap/base/Log",
|
|
12
|
+
"sap/ui/test/opaQunit",
|
|
13
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/SandboxModel" // preload only
|
|
14
|
+
], function (Core, Helper, Any, Main, Log, opaTest) {
|
|
7
15
|
"use strict";
|
|
8
16
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/Helper",
|
|
11
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/pages/Main",
|
|
13
|
-
"sap/base/Log",
|
|
14
|
-
"sap/ui/test/opaQunit",
|
|
15
|
-
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/SandboxModel" // preload only
|
|
16
|
-
], function (Helper, Any, Main, Log, opaTest) {
|
|
17
|
+
Core.ready().then(function () {
|
|
17
18
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrderTP100_V2");
|
|
18
19
|
|
|
19
20
|
//*****************************************************************************
|
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/Helper",
|
|
9
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/pages/Main",
|
|
11
|
+
"sap/ui/test/opaQunit",
|
|
12
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/SandboxModel" // preload only
|
|
13
|
+
], function (Core, Helper, Any, Main, opaTest) {
|
|
7
14
|
"use strict";
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/Helper",
|
|
11
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/SandboxModel" // preload only
|
|
15
|
-
], function (Helper, Any, Main, opaTest) {
|
|
16
|
+
Core.ready().then(function () {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrderTP100_V4");
|
|
17
18
|
|
|
18
19
|
//*****************************************************************************
|
|
@@ -11,11 +11,12 @@ sap.ui.define([
|
|
|
11
11
|
"sap/base/Log",
|
|
12
12
|
"sap/m/HBox",
|
|
13
13
|
"sap/ui/core/library",
|
|
14
|
+
"sap/ui/core/Messaging",
|
|
14
15
|
"sap/ui/core/UIComponent",
|
|
15
16
|
"sap/ui/core/mvc/View",
|
|
16
17
|
"sap/ui/model/json/JSONModel",
|
|
17
18
|
"sap/ui/test/TestUtils"
|
|
18
|
-
], function (Log, HBox, library, UIComponent, View, JSONModel, TestUtils) {
|
|
19
|
+
], function (Log, HBox, library, Messaging, UIComponent, View, JSONModel, TestUtils) {
|
|
19
20
|
"use strict";
|
|
20
21
|
|
|
21
22
|
var MessageType = library.MessageType, // shortcut for sap.ui.core.MessageType
|
|
@@ -45,7 +46,7 @@ sap.ui.define([
|
|
|
45
46
|
// the same model can be accessed via two names to allow for different binding contexts
|
|
46
47
|
this.setModel(oModel, "headerContext");
|
|
47
48
|
this.setModel(oModel, "parameterContext");
|
|
48
|
-
this.setModel(
|
|
49
|
+
this.setModel(Messaging.getMessageModel(), "messageModel");
|
|
49
50
|
|
|
50
51
|
// simulate a Fiori Elements app, where the view is only created after
|
|
51
52
|
// $metadata has been loaded
|
|
@@ -3,22 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
9
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/pages/Main",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderAdditionalTargets.qunit",
|
|
11
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderMessageHandling.qunit",
|
|
12
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderTypeDeterminationAndDelete.qunit",
|
|
13
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderChangeContext.qunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreate.qunit",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateMultiple.qunit",
|
|
16
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateRelative.qunit",
|
|
17
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderWriteNonDeferredGroup.qunit",
|
|
18
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/SandboxModel" // preload only
|
|
19
|
+
], function (Core) {
|
|
7
20
|
"use strict";
|
|
8
21
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
11
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/pages/Main",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderAdditionalTargets.qunit",
|
|
13
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderMessageHandling.qunit",
|
|
14
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderTypeDeterminationAndDelete.qunit",
|
|
15
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderChangeContext.qunit",
|
|
16
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreate.qunit",
|
|
17
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateMultiple.qunit",
|
|
18
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateRelative.qunit",
|
|
19
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderWriteNonDeferredGroup.qunit",
|
|
20
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/SandboxModel" // preload only
|
|
21
|
-
], function () {
|
|
22
|
+
Core.ready().then(function () {
|
|
22
23
|
QUnit.start();
|
|
23
24
|
});
|
|
24
25
|
});
|
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
9
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/pages/Main",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/pages/MainRTA",
|
|
11
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/Opa.SalesOrderRTATestAdaptUI.qunit",
|
|
12
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/SandboxModel" // preload only
|
|
13
|
+
], function (Core) {
|
|
7
14
|
"use strict";
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
11
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/pages/Main",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/pages/MainRTA",
|
|
13
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/Opa.SalesOrderRTATestAdaptUI.qunit",
|
|
14
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/SandboxModel" // preload only
|
|
15
|
-
], function () {
|
|
16
|
+
Core.ready().then(function () {
|
|
16
17
|
QUnit.start();
|
|
17
18
|
});
|
|
18
19
|
});
|
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/Helper",
|
|
9
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/pages/Main",
|
|
11
|
+
"sap/ui/test/opaQunit",
|
|
12
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/SandboxModel" // preload only
|
|
13
|
+
], function (Core, Helper, Any, Main, opaTest) {
|
|
7
14
|
"use strict";
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/Helper",
|
|
11
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/SandboxModel" // preload only
|
|
15
|
-
], function (Helper, Any, Main, opaTest) {
|
|
16
|
+
Core.ready().then(function () {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrdersTemplate");
|
|
17
18
|
|
|
18
19
|
//*****************************************************************************
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/Helper",
|
|
9
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/pages/Main",
|
|
11
|
+
"sap/ui/test/opaQunit",
|
|
12
|
+
"sap/ui/test/TestUtils",
|
|
13
|
+
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/SandboxModel" // preload only
|
|
14
|
+
], function (Core, Helper, Any, Main, opaTest, TestUtils) {
|
|
7
15
|
"use strict";
|
|
8
16
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/Helper",
|
|
11
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils",
|
|
15
|
-
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/SandboxModel" // preload only
|
|
16
|
-
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
17
|
+
Core.ready().then(function () {
|
|
17
18
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.ServerDrivenPaging");
|
|
18
19
|
|
|
19
20
|
//*****************************************************************************
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
QUnit.config.autostart = false;
|
|
5
5
|
|
|
6
|
-
sap.ui.
|
|
6
|
+
sap.ui.require([
|
|
7
|
+
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/core/sample/common/Helper",
|
|
9
|
+
"sap/ui/core/sample/common/pages/Any",
|
|
10
|
+
"sap/ui/core/sample/odata/v4/Sticky/pages/Main",
|
|
11
|
+
"sap/ui/test/opaQunit",
|
|
12
|
+
"sap/ui/test/TestUtils",
|
|
13
|
+
"sap/ui/core/sample/odata/v4/Sticky/SandboxModel" // preload only
|
|
14
|
+
], function (Core, Helper, Any, Main, opaTest, TestUtils) {
|
|
7
15
|
"use strict";
|
|
8
16
|
|
|
9
|
-
|
|
10
|
-
"sap/ui/core/sample/common/Helper",
|
|
11
|
-
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/core/sample/odata/v4/Sticky/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils",
|
|
15
|
-
"sap/ui/core/sample/odata/v4/Sticky/SandboxModel" // preload only
|
|
16
|
-
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
17
|
+
Core.ready().then(function () {
|
|
17
18
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.Sticky");
|
|
18
19
|
|
|
19
20
|
//*****************************************************************************
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"author": "SAP SE",
|
|
6
6
|
"description": "UI5 Demo App - Data Binding Tutorial",
|
|
7
|
-
"
|
|
8
|
-
"@
|
|
9
|
-
"@openui5/sap.ui.core": "^1",
|
|
10
|
-
"@openui5/sap.ui.layout": "^1",
|
|
11
|
-
"@openui5/themelib_sap_belize": "^1"
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@ui5/cli": "^3"
|
|
12
9
|
}
|
|
13
10
|
}
|
|
@@ -2,3 +2,11 @@ specVersion: '3.0'
|
|
|
2
2
|
metadata:
|
|
3
3
|
name: data-binding-tutorial
|
|
4
4
|
type: application
|
|
5
|
+
framework:
|
|
6
|
+
name: OpenUI5
|
|
7
|
+
version: '1.118.0-SNAPSHOT' #DependencyVersion,groupId:com.sap.openui5,artifactId:sap.ui.core#
|
|
8
|
+
libraries:
|
|
9
|
+
- name: sap.m
|
|
10
|
+
- name: sap.ui.layout
|
|
11
|
+
- name: sap.ui.core
|
|
12
|
+
- name: themelib_sap_horizon
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
sap.ui.require([
|
|
2
|
+
"sap/ui/core/Core",
|
|
2
3
|
"sap/m/Text"
|
|
3
|
-
], function (
|
|
4
|
+
], function (
|
|
5
|
+
Core,
|
|
6
|
+
Text
|
|
7
|
+
) {
|
|
4
8
|
"use strict";
|
|
5
9
|
|
|
6
|
-
//
|
|
7
|
-
|
|
10
|
+
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
11
|
+
Core.ready().then(function () {
|
|
8
12
|
// Create a text UI element that displays a hardcoded text string
|
|
9
13
|
new Text({text: "Hi, my name is Harry Hawk"}).placeAt("content");
|
|
10
14
|
});
|
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"author": "SAP SE",
|
|
6
6
|
"description": "UI5 Demo App - Data Binding Tutorial",
|
|
7
|
-
"
|
|
8
|
-
"@
|
|
9
|
-
"@openui5/sap.ui.core": "^1",
|
|
10
|
-
"@openui5/sap.ui.layout": "^1",
|
|
11
|
-
"@openui5/themelib_sap_belize": "^1"
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@ui5/cli": "^3"
|
|
12
9
|
}
|
|
13
10
|
}
|
|
@@ -2,3 +2,11 @@ specVersion: '3.0'
|
|
|
2
2
|
metadata:
|
|
3
3
|
name: data-binding-tutorial
|
|
4
4
|
type: application
|
|
5
|
+
framework:
|
|
6
|
+
name: OpenUI5
|
|
7
|
+
version: '1.118.0-SNAPSHOT' #DependencyVersion,groupId:com.sap.openui5,artifactId:sap.ui.core#
|
|
8
|
+
libraries:
|
|
9
|
+
- name: sap.m
|
|
10
|
+
- name: sap.ui.layout
|
|
11
|
+
- name: sap.ui.core
|
|
12
|
+
- name: themelib_sap_horizon
|