@openui5/sap.ui.core 1.121.0 → 1.122.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/.eslintrc.json +22 -5
- package/THIRDPARTY.txt +1 -1
- 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.sjax.js +6 -5
- 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/Formatting.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/Deferred.js +4 -6
- 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/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +11 -5
- package/src/sap/ui/base/Exception.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +22 -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 +1 -1
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +33 -5
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- 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 -1
- package/src/sap/ui/core/Control.js +19 -3
- package/src/sap/ui/core/Core.js +1 -1
- 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 +28 -3
- 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 +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- 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 +1 -1
- 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/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 +14 -6
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/date/UI5Date.js +1 -1
- package/src/sap/ui/core/date/UniversalDateUtils.js +52 -52
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +4 -4
- 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 -4
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +32 -13
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- 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 +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_ar.properties +1 -1
- package/src/sap/ui/core/messagebundle_mk.properties +1 -1
- package/src/sap/ui/core/mvc/Controller.js +42 -7
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/base.less +239 -8
- package/src/sap/ui/core/themes/base/global.less +20 -0
- package/src/sap/ui/core/themes/sap_hcb/global.less +20 -0
- 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 +2 -2
- package/src/sap/ui/core/util/ShortcutHelper.js +6 -0
- package/src/sap/ui/core/util/XMLPreprocessor.js +112 -94
- package/src/sap/ui/core/util/_LocalizationHelper.js +2 -1
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +0 -29
- package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +0 -26
- package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +0 -56
- 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 +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- 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 +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +13 -6
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +16 -7
- package/src/sap/ui/model/CompositeBinding.js +11 -4
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +17 -3
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +14 -11
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +11 -9
- package/src/sap/ui/model/PropertyBinding.js +21 -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/TreeBinding.js +14 -7
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +12 -8
- package/src/sap/ui/model/analytics/BatchResponseCollector.js +1 -1
- package/src/sap/ui/model/analytics/odata4analytics.js +66 -52
- package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +1 -4
- package/src/sap/ui/model/json/JSONListBinding.js +5 -2
- package/src/sap/ui/model/json/JSONModel.js +7 -5
- package/src/sap/ui/model/json/JSONTreeBinding.js +5 -2
- package/src/sap/ui/model/message/MessageListBinding.js +5 -2
- 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/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +8 -9
- 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/ODataUtils.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +2 -4
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +14 -8
- package/src/sap/ui/model/odata/v2/ODataModel.js +25 -28
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +15 -12
- package/src/sap/ui/model/odata/v4/Context.js +111 -30
- package/src/sap/ui/model/odata/v4/ODataBinding.js +9 -5
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +14 -9
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +4 -3
- package/src/sap/ui/model/odata/v4/ODataModel.js +27 -2
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +19 -7
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +240 -41
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +88 -0
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +13 -4
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +15 -0
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +77 -15
- 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 +1 -1
- 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 +38 -1
- package/src/sap/ui/model/xml/XMLListBinding.js +5 -2
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/model/xml/XMLTreeBinding.js +5 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/RecordReplay.js +1 -0
- package/src/sap/ui/test/autowaiter/_autoWaiterAsync.js +8 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/opa5TestHarness.js +0 -6
- package/src/sap/ui/test/gherkin/qUnitTestHarness.js +0 -6
- package/src/sap/ui/test/qunitPause.js +5 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/_enforceNoReturnValue.js +26 -0
- package/src/ui5loader.js +25 -2
- package/test/sap/ui/core/HyphenationPlayground.html +6 -292
- package/test/sap/ui/core/HyphenationPlayground.js +313 -0
- package/test/sap/ui/core/demokit/docuindex.json +1 -1
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/OpaAutoWaitParams/OpaAutoWaitParams.html +1 -1
- package/test/sap/ui/core/demokit/sample/OpaAutoWaitParams/applicationUnderTest/index.html +1 -2
- package/test/sap/ui/core/demokit/sample/OpaStartup/iStartMyAppInAFrame/README.js +31 -23
- package/test/sap/ui/core/demokit/sample/OpaStartup/iStartMyAppInAFrame/iStartMyAppInAFrame.js +103 -94
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithOPA5/GherkinTestRunner.html +3 -0
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithOPA5/GherkinTestRunner.js +1 -5
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithPageObjects/GherkinTestRunner.html +3 -0
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithPageObjects/GherkinTestRunner.js +1 -5
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithQUnit/GherkinTestRunner.html +3 -0
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithQUnit/GherkinTestRunner.js +1 -5
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithQUnit/Steps.js +5 -5
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithUIComponent/GherkinTestRunner.html +3 -0
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithUIComponent/GherkinTestRunner.js +1 -5
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +16 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.view.xml +9 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/SandboxModel.js +11 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/data/UnitsOfMeasure.json +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +2 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/index.html +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +28 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/view/App.view.xml +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +3 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/index.html +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +34 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/model/data.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/view/App.view.xml +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +3 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/index.html +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +34 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/model/data.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/view/App.view.xml +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +3 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/04/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +35 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/model/data.json +6 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +3 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/05/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/Component.js +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +35 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/model/data.json +6 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/06/package.json +4 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +46 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/model/data.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/07/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +46 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/model/data.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/08/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +46 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/model/data.json +11 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/view/App.view.xml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/09/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/controller/App.controller.js +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +46 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/model/data.json +11 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/view/App.view.xml +2 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/10/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/controller/App.controller.js +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +46 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/model/data.json +13 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/view/App.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/11/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/controller/App.controller.js +8 -7
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +47 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/model/data.json +13 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/view/App.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/12/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/controller/App.controller.js +10 -11
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +51 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/model/Products.json +64 -57
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/model/data.json +13 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/view/App.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/13/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/controller/App.controller.js +16 -16
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +51 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/model/Products.json +64 -57
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/model/data.json +13 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/view/App.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/14/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/controller/App.controller.js +16 -16
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +51 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/model/Products.json +64 -57
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/model/data.json +14 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/view/App.view.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/15/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/Component.js +12 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/controller/App.controller.js +19 -22
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/index.html +8 -10
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +51 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/model/Products.json +64 -57
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/model/data.json +14 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/view/App.view.xml +5 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +67 -0
- package/test/sap/ui/core/qunit/EventProvider.qunit.js +30 -2
- package/test/sap/ui/core/qunit/{Core_libraryPreloadFiles.qunit.html → Lib_preloadFiles.qunit.html} +1 -1
- package/test/sap/ui/core/qunit/{Core_libraryPreloadFiles.qunit.js → Lib_preloadFiles.qunit.js} +5 -10
- package/test/sap/ui/core/qunit/ThemeHelper.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +4 -4
- package/test/sap/ui/core/qunit/ThemeParameters_legacyAPIs.qunit.js +12 -12
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +262 -12
- package/test/sap/ui/core/qunit/app/DesignMode_suppressedDeactivation.qunit.js +8 -4
- package/test/sap/ui/core/qunit/app/_createDesignModeTests_legacyAPIs.qunit.js +8 -4
- package/test/sap/ui/core/qunit/app/fixture/designmode/test01.controller.js +4 -4
- package/test/sap/ui/core/qunit/app/testsuite.app.qunit.js +3 -3
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +11 -0
- package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +30 -2
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +82 -19
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/App.view.xml +3 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Component.js +20 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Home.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/Other.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3/manifest.json +54 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.html +4 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.html +4 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.html +4 -0
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +4 -0
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +4 -0
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.js +1 -1
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.html +1 -1
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +5 -6
- package/test/sap/ui/core/qunit/internal/testsuite.models.qunit.js +43 -16
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +194 -180
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +15 -33
- package/test/sap/ui/core/qunit/mockserver/MockServer.qunit.js +936 -1014
- package/test/sap/ui/core/qunit/mockserver/testsuite.mockserver.qunit.js +2 -4
- package/test/sap/ui/core/qunit/model/FAR_CUSTOMER_LINE_ITEMS.metadata.xml +2 -0
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +50 -1
- package/test/sap/ui/core/qunit/model/controlhelper/TreeBindingProxy.qunit.js +18 -8
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +107 -49
- package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +7 -0
- package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +0 -3
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +143 -2
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +34 -0
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +230 -39
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +57 -18
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +40 -6
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +3 -0
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1715 -106
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +39 -0
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +88 -18
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +544 -50
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +175 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +50 -9
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +17 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +140 -27
- package/test/sap/ui/core/qunit/opa/RecordReplay.qunit.js +12 -3
- package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +1 -2
- package/test/sap/ui/core/qunit/routing/fixture/placeholder/component/NavContainerOptOut/Component.js +1 -0
- package/test/sap/ui/core/qunit/rule/model/bindingPathSyntaxValidation.qunit.js +37 -0
- package/test/sap/ui/core/qunit/rule/model/{modelSupport.qunit.js → selectUsedInBoundAggregation.qunit.js} +86 -154
- package/test/sap/ui/core/qunit/rule/testsuite.rule.qunit.js +5 -2
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib12/themes/{sap_hcb → sap_horizon_hcb}/library.css +1 -1
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +18 -18
- package/test/sap/ui/core/qunit/testsuites/testsuite.base.configuration.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.controls.qunit.js +2 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +3 -3
- package/test/sap/ui/core/qunit/types/CompositeType.qunit.js +6 -0
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +3 -6
- package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +1370 -1242
- package/test/sap/ui/core/qunit/types/Types.qunit.js +65 -0
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +0 -3
- package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +68 -3
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +2757 -1920
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +0 -102
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +0 -165
- package/test/sap/ui/core/relnotes/changes-1.121.json +0 -15
- package/test/sap/ui/core/relnotes/changes-1.122.json +80 -0
- package/test/sap/ui/core/visual/HyphenationPlayground.spec.js +5 -2
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/index.js +0 -15
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/index.js +0 -21
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/index.js +0 -21
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/index.js +0 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/index.js +0 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/index.js +0 -42
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/index.js +0 -44
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/index.js +0 -39
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/index.js +0 -39
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/index.js +0 -41
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/index.js +0 -48
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/index.js +0 -52
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/index.js +0 -52
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/index.js +0 -54
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/index.js +0 -54
- /package/test/sap/ui/core/qunit/testdata/legacy-uilib_legacyAPIs/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/legacy-uilib_legacyAPIs/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/legacy-uilib_legacyAPIs/themes/{sap_hcb → sap_horizon_hcb}/library[legacy].css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib1/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib1/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib10/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib11/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib13/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib14/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib15/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib15/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib16/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib16/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib17/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib2/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib2/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib3/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib3/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib4/themes/{sap_hcb → sap_horizon_hcb}/library-parameters.json +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib5/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib6/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib7/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib8/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
- /package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib9/themes/{sap_hcb → sap_horizon_hcb}/library.css +0 -0
|
@@ -704,108 +704,6 @@ sap.ui.define([
|
|
|
704
704
|
});
|
|
705
705
|
});
|
|
706
706
|
|
|
707
|
-
QUnit.module("Events", {
|
|
708
|
-
beforeEach: function () {
|
|
709
|
-
this.oButton = new Button();
|
|
710
|
-
|
|
711
|
-
this.oSpy1 = sandbox.spy();
|
|
712
|
-
window.$sap__qunit_presshandler1 = this.oSpy1;
|
|
713
|
-
|
|
714
|
-
this.oSpy2 = sandbox.spy();
|
|
715
|
-
window.$sap__qunit_presshandler2 = this.oSpy2;
|
|
716
|
-
|
|
717
|
-
return Component.create({
|
|
718
|
-
name: "sap.ui.test.other",
|
|
719
|
-
id: "testComponent"
|
|
720
|
-
}).then(function(oComponent) {
|
|
721
|
-
this.oComponent = oComponent;
|
|
722
|
-
}.bind(this));
|
|
723
|
-
},
|
|
724
|
-
afterEach: function () {
|
|
725
|
-
this.oComponent.destroy();
|
|
726
|
-
this.oButton.destroy();
|
|
727
|
-
delete window.$sap__qunit_presshandler1;
|
|
728
|
-
delete window.$sap__qunit_presshandler2;
|
|
729
|
-
sandbox.restore();
|
|
730
|
-
}
|
|
731
|
-
}, function () {
|
|
732
|
-
QUnit.test("attachEvent() — basic case", function (assert) {
|
|
733
|
-
return JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1", { foo: "bar" }], window.$sap__qunit_presshandler1)
|
|
734
|
-
.then(function () {
|
|
735
|
-
this.oButton.firePress();
|
|
736
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
737
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1", { foo: "bar" }]).callCount, 1);
|
|
738
|
-
}.bind(this));
|
|
739
|
-
});
|
|
740
|
-
|
|
741
|
-
QUnit.test("attachEvent() — two different event handlers with different set of parameters for the same event name", function (assert) {
|
|
742
|
-
return Promise.all([
|
|
743
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1"], window.$sap__qunit_presshandler1),
|
|
744
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler2", ["param2", "param3"], window.$sap__qunit_presshandler2)
|
|
745
|
-
]).then(function () {
|
|
746
|
-
this.oButton.firePress();
|
|
747
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
748
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1"]).callCount, 1);
|
|
749
|
-
assert.strictEqual(this.oSpy2.callCount, 1);
|
|
750
|
-
assert.strictEqual(this.oSpy2.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
751
|
-
}.bind(this));
|
|
752
|
-
});
|
|
753
|
-
|
|
754
|
-
QUnit.test("attachEvent() — attempt to attach non-existent function", function (assert) {
|
|
755
|
-
return JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_non_existent_handler")
|
|
756
|
-
.catch(function (vError) {
|
|
757
|
-
assert.ok(vError.message.indexOf("fnCallback parameter missing or not a function") > -1, "then an exception is thrown");
|
|
758
|
-
});
|
|
759
|
-
});
|
|
760
|
-
|
|
761
|
-
QUnit.test("attachEvent() — two equal event handler functions with a different set of parameters", function (assert) {
|
|
762
|
-
return Promise.all([
|
|
763
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1"], window.$sap__qunit_presshandler1),
|
|
764
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param2", "param3"], window.$sap__qunit_presshandler1)
|
|
765
|
-
]).then(function () {
|
|
766
|
-
this.oButton.firePress();
|
|
767
|
-
assert.strictEqual(this.oSpy1.callCount, 2);
|
|
768
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1"]).callCount, 1);
|
|
769
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
770
|
-
}.bind(this));
|
|
771
|
-
});
|
|
772
|
-
|
|
773
|
-
QUnit.test("detachEvent() — basic case", function (assert) {
|
|
774
|
-
return JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1)
|
|
775
|
-
.then(function () {
|
|
776
|
-
return JsControlTreeModifier.detachEvent(this.oButton, "press", "$sap__qunit_presshandler1", window.$sap__qunit_presshandler1);
|
|
777
|
-
}.bind(this))
|
|
778
|
-
.then(function () {
|
|
779
|
-
this.oButton.firePress();
|
|
780
|
-
assert.strictEqual(this.oSpy1.callCount, 0);
|
|
781
|
-
}.bind(this));
|
|
782
|
-
});
|
|
783
|
-
|
|
784
|
-
QUnit.test("detachEvent() — three event handlers, two of them are with a different set of parameters", function (assert) {
|
|
785
|
-
return Promise.all([
|
|
786
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1),
|
|
787
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler2", ["param0", "param1"], window.$sap__qunit_presshandler2),
|
|
788
|
-
JsControlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler2", ["param2", "param3"], window.$sap__qunit_presshandler2)
|
|
789
|
-
]).then(function () {
|
|
790
|
-
return JsControlTreeModifier.detachEvent(this.oButton, "press", "$sap__qunit_presshandler2", window.$sap__qunit_presshandler2);
|
|
791
|
-
}.bind(this))
|
|
792
|
-
.then(function () {
|
|
793
|
-
this.oButton.firePress();
|
|
794
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
795
|
-
assert.strictEqual(this.oSpy2.callCount, 1);
|
|
796
|
-
assert.strictEqual(this.oSpy2.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
797
|
-
}.bind(this));
|
|
798
|
-
|
|
799
|
-
});
|
|
800
|
-
|
|
801
|
-
QUnit.test("detachEvent() — attempt to detach non-existent function", function (assert) {
|
|
802
|
-
return JsControlTreeModifier.detachEvent(this.oButton, "press", "$sap__qunit_non_existent_handler")
|
|
803
|
-
.catch(function (vError) {
|
|
804
|
-
assert.ok(vError.message.indexOf("fnCallback parameter missing or not a function") > -1);
|
|
805
|
-
});
|
|
806
|
-
});
|
|
807
|
-
});
|
|
808
|
-
|
|
809
707
|
QUnit.module("Given the 'instantiateFragment' function is called...", {
|
|
810
708
|
beforeEach: function () {
|
|
811
709
|
this.sNamespace = 'fragment-id-prefix';
|
|
@@ -1130,171 +1130,6 @@ sap.ui.define([
|
|
|
1130
1130
|
});
|
|
1131
1131
|
});
|
|
1132
1132
|
|
|
1133
|
-
QUnit.module("Events", {
|
|
1134
|
-
before: function () {
|
|
1135
|
-
this.createView = function (oXmlView) {
|
|
1136
|
-
return XMLView.create({
|
|
1137
|
-
definition: XMLHelper.serialize(oXmlView)
|
|
1138
|
-
}).then(function(oView) {
|
|
1139
|
-
return oView;
|
|
1140
|
-
});
|
|
1141
|
-
};
|
|
1142
|
-
},
|
|
1143
|
-
beforeEach: function () {
|
|
1144
|
-
this.oXmlString = (
|
|
1145
|
-
'<mvc:View ' +
|
|
1146
|
-
'id="testComponent---myView" ' +
|
|
1147
|
-
'xmlns:mvc="sap.ui.core.mvc" ' +
|
|
1148
|
-
'xmlns="sap.m"' +
|
|
1149
|
-
'>' +
|
|
1150
|
-
'<Button text="Button1" id="button1"></Button>' +
|
|
1151
|
-
'</mvc:View>'
|
|
1152
|
-
);
|
|
1153
|
-
this.oXmlView = XMLHelper.parse(this.oXmlString, "application/xml").documentElement;
|
|
1154
|
-
|
|
1155
|
-
this.oButton = XmlTreeModifier._byId('button1', this.oXmlView);
|
|
1156
|
-
|
|
1157
|
-
this.oSpy1 = sandbox.spy();
|
|
1158
|
-
window.$sap__qunit_presshandler1 = this.oSpy1;
|
|
1159
|
-
|
|
1160
|
-
this.oSpy2 = sandbox.spy();
|
|
1161
|
-
window.$sap__qunit_presshandler2 = this.oSpy2;
|
|
1162
|
-
|
|
1163
|
-
return Component.create({
|
|
1164
|
-
name: "sap.ui.test.other",
|
|
1165
|
-
id: "testComponent"
|
|
1166
|
-
}).then(function (oComponent) {
|
|
1167
|
-
this.oComponent = oComponent;
|
|
1168
|
-
}.bind(this));
|
|
1169
|
-
},
|
|
1170
|
-
afterEach: function () {
|
|
1171
|
-
if (this.oView) {
|
|
1172
|
-
this.oView.destroy();
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
this.oComponent.destroy();
|
|
1176
|
-
|
|
1177
|
-
delete window.$sap__qunit_presshandler1;
|
|
1178
|
-
delete window.$sap__qunit_presshandler2;
|
|
1179
|
-
sandbox.restore();
|
|
1180
|
-
}
|
|
1181
|
-
}, function () {
|
|
1182
|
-
QUnit.test("attachEvent() — basic case", function (assert) {
|
|
1183
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1)
|
|
1184
|
-
.then(function () {
|
|
1185
|
-
return this.createView(this.oXmlView).then(function(oView) {
|
|
1186
|
-
this.oView = oView;
|
|
1187
|
-
this.oView.byId("button1").firePress();
|
|
1188
|
-
|
|
1189
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
1190
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event)).callCount, 1);
|
|
1191
|
-
}.bind(this));
|
|
1192
|
-
}.bind(this));
|
|
1193
|
-
});
|
|
1194
|
-
|
|
1195
|
-
QUnit.test("attachEvent() — basic case with parameters", function (assert) {
|
|
1196
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1", { foo: "bar" }], window.$sap__qunit_presshandler1)
|
|
1197
|
-
.then(function () {
|
|
1198
|
-
return this.createView(this.oXmlView).then(function(oView) {
|
|
1199
|
-
this.oView = oView;
|
|
1200
|
-
this.oView.byId("button1").firePress();
|
|
1201
|
-
|
|
1202
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
1203
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1", { foo: "bar" }]).callCount, 1);
|
|
1204
|
-
}.bind(this));
|
|
1205
|
-
}.bind(this));
|
|
1206
|
-
});
|
|
1207
|
-
|
|
1208
|
-
QUnit.test("attachEvent() — two different event handlers with different set of parameters for the same event name", function (assert) {
|
|
1209
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1"], window.$sap__qunit_presshandler1)
|
|
1210
|
-
.then(XmlTreeModifier.attachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler2", ["param2", "param3"], window.$sap__qunit_presshandler2))
|
|
1211
|
-
.then(function () {
|
|
1212
|
-
return this.createView(this.oXmlView).then(function(oView) {
|
|
1213
|
-
this.oView = oView;
|
|
1214
|
-
this.oView.byId("button1").firePress();
|
|
1215
|
-
|
|
1216
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
1217
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1"]).callCount, 1);
|
|
1218
|
-
assert.strictEqual(this.oSpy2.callCount, 1);
|
|
1219
|
-
assert.strictEqual(this.oSpy2.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
1220
|
-
}.bind(this));
|
|
1221
|
-
}.bind(this));
|
|
1222
|
-
});
|
|
1223
|
-
|
|
1224
|
-
QUnit.test("attachEvent() — attempt to attach non-existent function", function (assert) {
|
|
1225
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_non_existent_handler")
|
|
1226
|
-
.catch(function (vError) {
|
|
1227
|
-
assert.ok(vError.message.indexOf("fnCallback parameter missing or not a function") > -1);
|
|
1228
|
-
});
|
|
1229
|
-
});
|
|
1230
|
-
|
|
1231
|
-
QUnit.test("attachEvent() — two equal event handlers with a different set of parameters", function (assert) {
|
|
1232
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", ["param0", "param1"], window.$sap__qunit_presshandler1)
|
|
1233
|
-
.then(XmlTreeModifier.attachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler1", ["param2", "param3"], window.$sap__qunit_presshandler1))
|
|
1234
|
-
.then(function () {
|
|
1235
|
-
return this.createView(this.oXmlView).then(function(oView) {
|
|
1236
|
-
this.oView = oView;
|
|
1237
|
-
this.oView.byId("button1").firePress();
|
|
1238
|
-
assert.strictEqual(this.oSpy1.callCount, 2);
|
|
1239
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param0", "param1"]).callCount, 1);
|
|
1240
|
-
assert.strictEqual(this.oSpy1.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
1241
|
-
}.bind(this));
|
|
1242
|
-
}.bind(this));
|
|
1243
|
-
});
|
|
1244
|
-
|
|
1245
|
-
QUnit.test("detachEvent() — basic case", function (assert) {
|
|
1246
|
-
assert.notOk(this.oButton.hasAttribute("press"));
|
|
1247
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1)
|
|
1248
|
-
.then(XmlTreeModifier.detachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler1", window.$sap__qunit_presshandler1))
|
|
1249
|
-
.then(function () {
|
|
1250
|
-
assert.notOk(this.oButton.hasAttribute("press"));
|
|
1251
|
-
return this.createView(this.oXmlView).then(function(oView) {
|
|
1252
|
-
this.oView = oView;
|
|
1253
|
-
this.oView.byId("button1").firePress();
|
|
1254
|
-
assert.strictEqual(this.oSpy1.callCount, 0);
|
|
1255
|
-
}.bind(this));
|
|
1256
|
-
}.bind(this));
|
|
1257
|
-
});
|
|
1258
|
-
|
|
1259
|
-
QUnit.test("detachEvent() — basic case", function (assert) {
|
|
1260
|
-
assert.notOk(this.oButton.hasAttribute("press"));
|
|
1261
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1)
|
|
1262
|
-
.then(XmlTreeModifier.detachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler1", window.$sap__qunit_presshandler1))
|
|
1263
|
-
.then(function () {
|
|
1264
|
-
assert.notOk(this.oButton.hasAttribute("press"));
|
|
1265
|
-
return this.createView(this.oXmlView).then(function (oView) {
|
|
1266
|
-
this.oView = oView;
|
|
1267
|
-
this.oView.byId("button1").firePress();
|
|
1268
|
-
assert.strictEqual(this.oSpy1.callCount, 0);
|
|
1269
|
-
}.bind(this));
|
|
1270
|
-
}.bind(this));
|
|
1271
|
-
});
|
|
1272
|
-
|
|
1273
|
-
QUnit.test("detachEvent() — three event handlers, two of them are with a different set of parameters", function (assert) {
|
|
1274
|
-
return XmlTreeModifier.attachEvent(this.oButton, "press", "$sap__qunit_presshandler1", null, window.$sap__qunit_presshandler1)
|
|
1275
|
-
.then(XmlTreeModifier.attachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler2", ["param0", "param1"], window.$sap__qunit_presshandler2))
|
|
1276
|
-
.then(XmlTreeModifier.attachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler2", ["param2", "param3"], window.$sap__qunit_presshandler2))
|
|
1277
|
-
.then(XmlTreeModifier.detachEvent.bind(XmlTreeModifier, this.oButton, "press", "$sap__qunit_presshandler2", window.$sap__qunit_presshandler2))
|
|
1278
|
-
.then(function () {
|
|
1279
|
-
return this.createView(this.oXmlView).then(function (oView) {
|
|
1280
|
-
this.oView = oView;
|
|
1281
|
-
this.oView.byId("button1").firePress();
|
|
1282
|
-
|
|
1283
|
-
assert.strictEqual(this.oSpy1.callCount, 1);
|
|
1284
|
-
assert.strictEqual(this.oSpy2.callCount, 1);
|
|
1285
|
-
assert.strictEqual(this.oSpy2.withArgs(sinon.match.instanceOf(Event), ["param2", "param3"]).callCount, 1);
|
|
1286
|
-
}.bind(this));
|
|
1287
|
-
}.bind(this));
|
|
1288
|
-
});
|
|
1289
|
-
|
|
1290
|
-
QUnit.test("detachEvent() — attempt to detach non-existent function", function (assert) {
|
|
1291
|
-
return XmlTreeModifier.detachEvent(this.oButton, "press", "$sap__qunit_non_existent_handler")
|
|
1292
|
-
.catch(function (vError) {
|
|
1293
|
-
assert.ok(vError.message.indexOf("fnCallback parameter missing or not a function") > -1);
|
|
1294
|
-
});
|
|
1295
|
-
});
|
|
1296
|
-
});
|
|
1297
|
-
|
|
1298
1133
|
QUnit.module("Aggregation binding", {
|
|
1299
1134
|
before: function () {
|
|
1300
1135
|
this.createView = function (oXmlView) {
|
|
@@ -2,21 +2,6 @@
|
|
|
2
2
|
"1.121.0": {
|
|
3
3
|
"date": "February 2024",
|
|
4
4
|
"notes": [
|
|
5
|
-
{
|
|
6
|
-
"id": "95e9c4803cec884eacb24c74090d362e6f0da509",
|
|
7
|
-
"type": "FIX",
|
|
8
|
-
"text": " sap/ui/core/format/NumberFormat#format: remove trailing decimal zeros"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "7e0f723e2458178efc90ede18a72a5f431b3f70a",
|
|
12
|
-
"type": "FIX",
|
|
13
|
-
"text": " sap/ui/core/format/NumberFormat.format: fix rounding for positive scientific notation numbers"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"id": "68a5c713682b710055e19e937b55035eb64c279e",
|
|
17
|
-
"type": "FIX",
|
|
18
|
-
"text": " sap/ui/core/format/NumberFormat#format: Fix rounding of \"-.567\""
|
|
19
|
-
},
|
|
20
5
|
{
|
|
21
6
|
"id": "e9c41724de841e30ec58986f16c57b554ec8f91c",
|
|
22
7
|
"type": "FEATURE",
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"1.122.0": {
|
|
3
|
+
"date": "March 2024",
|
|
4
|
+
"notes": [
|
|
5
|
+
{
|
|
6
|
+
"id": "a48651955a56abf7ec746f7f2f0a8b5cfe788110",
|
|
7
|
+
"type": "FIX",
|
|
8
|
+
"text": " mvc/Controller: Replace function call with apply",
|
|
9
|
+
"references": [
|
|
10
|
+
{
|
|
11
|
+
"type": "BCP",
|
|
12
|
+
"reference": ""
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "801bfe2e82c374e9204af6a6547213c23747fe1d",
|
|
18
|
+
"type": "FIX",
|
|
19
|
+
"text": " sap.ui.core: Allow for async control event handlers",
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"type": "BCP",
|
|
23
|
+
"reference": ""
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "071b1c5d2a47cd40cb4a718340049c8521606e94",
|
|
29
|
+
"type": "FIX",
|
|
30
|
+
"text": " sap.ui.model.type.Unit: amount scale is used instead of unit's decimal places"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "fca7af817b577085eb767af05d9cb949c0e0f54a",
|
|
34
|
+
"type": "FIX",
|
|
35
|
+
"text": " sap.ui.model.odata.v4.Context#setSelected: remember to reset selection again"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "62d8756de9f3215a2cb3faf83a99af2d604fe37f",
|
|
39
|
+
"type": "FIX",
|
|
40
|
+
"text": " ui5loader: Prevent unrelated -dbg requests in partial debug mode",
|
|
41
|
+
"references": [
|
|
42
|
+
{
|
|
43
|
+
"type": "BCP",
|
|
44
|
+
"reference": "2370120131"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "6c3f58f44ecaf06dd3b6f8c3b7b955105864dff8",
|
|
50
|
+
"type": "FIX",
|
|
51
|
+
"text": " sap.ui.test.RecordReplay: Configuration initialization corrected"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "a2afc6467234682a143166a8048fe0d54cee2805",
|
|
55
|
+
"type": "FIX",
|
|
56
|
+
"text": " sap/ui/core/format/NumberFormat#format: remove trailing decimal zeros"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "865dd56b2de487c8db9b981a9b491bf3edb265b0",
|
|
60
|
+
"type": "FIX",
|
|
61
|
+
"text": " sap/ui/core/format/NumberFormat.format: fix rounding for positive scientific notation numbers"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "293174e84c1cb572347ce2b119e8c50e919b2526",
|
|
65
|
+
"type": "FIX",
|
|
66
|
+
"text": " sap/ui/core/format/NumberFormat.RoundingMode: improve JSDoc"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "61f4c1d27ab2de2a9639b41fb57aa0ca8a4bbc15",
|
|
70
|
+
"type": "FIX",
|
|
71
|
+
"text": " sap/ui/core/format/NumberFormat#format: Fix rounding of \"-.567\""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "f361e8aba12638258df71272f9d8df86c44991d7",
|
|
75
|
+
"type": "FIX",
|
|
76
|
+
"text": " core/ShortcutHelper: Ensure handling of KeyboardEvents only"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -63,8 +63,11 @@ describe("sap.ui.core.HyphenationPlayground", function() {
|
|
|
63
63
|
it("should visualize hyphenation for language: " + sLang, function () {
|
|
64
64
|
var oText = element(by.id("hyph-" + sLang));
|
|
65
65
|
|
|
66
|
-
browser.executeScript(
|
|
67
|
-
|
|
66
|
+
browser.executeScript(function (sId, width) {
|
|
67
|
+
var Element = sap.ui.require("sap/ui/core/Element");
|
|
68
|
+
Element.getElementById(sId).setWidth(width);
|
|
69
|
+
document.getElementById(sId).scrollIntoView();
|
|
70
|
+
}, 'formWithTexts-' + sLang, aFormWidth[sLang]);
|
|
68
71
|
|
|
69
72
|
expect(takeScreenshot(oText)).toLookAs(n + "_thirdParty_language_" + sLang);
|
|
70
73
|
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/m/Text"
|
|
4
|
-
], function (
|
|
5
|
-
Core,
|
|
6
|
-
Text
|
|
7
|
-
) {
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
11
|
-
Core.ready().then(function () {
|
|
12
|
-
// Create a text UI element that displays a hardcoded text string
|
|
13
|
-
new Text({text: "Hi, my name is Harry Hawk"}).placeAt("content");
|
|
14
|
-
});
|
|
15
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/m/Text",
|
|
4
|
-
"sap/ui/model/json/JSONModel"
|
|
5
|
-
], function (Core, Text, JSONModel) {
|
|
6
|
-
"use strict";
|
|
7
|
-
|
|
8
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
9
|
-
Core.ready().then(function () {
|
|
10
|
-
// Create a JSON model from an object literal
|
|
11
|
-
var oModel = new JSONModel({
|
|
12
|
-
greetingText: "Hi, my name is Harry Hawk"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
// Assign the model object to the SAPUI5 core
|
|
16
|
-
sap.ui.getCore().setModel(oModel);
|
|
17
|
-
|
|
18
|
-
// Create a text UI element that displays a hardcoded text string
|
|
19
|
-
new Text({text: "Hi, my name is Harry Hawk"}).placeAt("content");
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/m/Text",
|
|
4
|
-
"sap/ui/model/json/JSONModel"
|
|
5
|
-
], function (Core, Text, JSONModel) {
|
|
6
|
-
"use strict";
|
|
7
|
-
|
|
8
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
9
|
-
Core.ready().then(function () {
|
|
10
|
-
// Create a JSON model from an object literal
|
|
11
|
-
var oModel = new JSONModel({
|
|
12
|
-
greetingText: "Hi, my name is Harry Hawk"
|
|
13
|
-
});
|
|
14
|
-
// Assign the model object to the SAPUI5 core
|
|
15
|
-
sap.ui.getCore().setModel(oModel);
|
|
16
|
-
|
|
17
|
-
// Display a text element whose text is derived
|
|
18
|
-
// from the model object
|
|
19
|
-
new Text({text: "{/greetingText}"}).placeAt("content");
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/XMLView"
|
|
5
|
-
], function (Core, JSONModel, XMLView) {
|
|
6
|
-
"use strict";
|
|
7
|
-
|
|
8
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
9
|
-
Core.ready().then(function () {
|
|
10
|
-
// Create a JSON model from an object literal
|
|
11
|
-
var oModel = new JSONModel({
|
|
12
|
-
firstName: "Harry",
|
|
13
|
-
lastName: "Hawk",
|
|
14
|
-
enabled: true,
|
|
15
|
-
panelHeaderText: "Data Binding Basics"
|
|
16
|
-
});
|
|
17
|
-
// Assign the model object to the SAPUI5 core
|
|
18
|
-
sap.ui.getCore().setModel(oModel);
|
|
19
|
-
|
|
20
|
-
// Display the XML view called "App"
|
|
21
|
-
new XMLView({
|
|
22
|
-
viewName: "sap.ui.demo.db.view.App"
|
|
23
|
-
}).placeAt("content");
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/XMLView",
|
|
5
|
-
"sap/ui/model/BindingMode"
|
|
6
|
-
], function (Core, JSONModel, XMLView, BindingMode) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
10
|
-
Core.ready().then(function () {
|
|
11
|
-
// Create a JSON model from an object literal
|
|
12
|
-
var oModel = new JSONModel({
|
|
13
|
-
firstName: "Harry",
|
|
14
|
-
lastName: "Hawk",
|
|
15
|
-
enabled: true,
|
|
16
|
-
panelHeaderText: "Data Binding Basics"
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
oModel.setDefaultBindingMode(BindingMode.OneWay);
|
|
20
|
-
|
|
21
|
-
// Assign the model object to the SAPUI5 core
|
|
22
|
-
sap.ui.getCore().setModel(oModel);
|
|
23
|
-
|
|
24
|
-
// Display the XML view called "App"
|
|
25
|
-
new XMLView({
|
|
26
|
-
viewName: "sap.ui.demo.db.view.App"
|
|
27
|
-
}).placeAt("content");
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/XMLView",
|
|
5
|
-
"sap/ui/model/resource/ResourceModel"
|
|
6
|
-
], function (Core, JSONModel, XMLView, ResourceModel) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
10
|
-
Core.ready().then(function () {
|
|
11
|
-
// Create a JSON model from an object literal
|
|
12
|
-
var oModel = new JSONModel({
|
|
13
|
-
firstName: "Harry",
|
|
14
|
-
lastName: "Hawk",
|
|
15
|
-
enabled: true
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// Assign the model object to the SAPUI5 core
|
|
19
|
-
sap.ui.getCore().setModel(oModel);
|
|
20
|
-
|
|
21
|
-
// Create a resource bundle for language specific texts
|
|
22
|
-
// configured supportedLocales represent the i18n files present:
|
|
23
|
-
// * "" - i18n/i18n.properties
|
|
24
|
-
// configured fallbackLocale should represent one of these files
|
|
25
|
-
// * "" - according to the fallback chain the root bundle is the last fallback.
|
|
26
|
-
// Configuring it explicitly avoids side effects when additional resource files are added.
|
|
27
|
-
// @see https://sdk.openui5.org/topic/ec753bc539d748f689e3ac814e129563
|
|
28
|
-
var oResourceModel = new ResourceModel({
|
|
29
|
-
bundleName: "sap.ui.demo.db.i18n.i18n",
|
|
30
|
-
fallbackLocale: "",
|
|
31
|
-
supportedLocales: [""]
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
// Assign the model object to the SAPUI5 core using the name "i18n"
|
|
35
|
-
sap.ui.getCore().setModel(oResourceModel, "i18n");
|
|
36
|
-
|
|
37
|
-
// Display the XML view called "App"
|
|
38
|
-
new XMLView({
|
|
39
|
-
viewName: "sap.ui.demo.db.view.App"
|
|
40
|
-
}).placeAt("content");
|
|
41
|
-
});
|
|
42
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/XMLView",
|
|
5
|
-
"sap/ui/model/resource/ResourceModel"
|
|
6
|
-
], function (Core, JSONModel, XMLView, ResourceModel) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
10
|
-
Core.ready().then(function () {
|
|
11
|
-
// Create a JSON model from an object literal
|
|
12
|
-
var oModel = new JSONModel({
|
|
13
|
-
firstName: "Harry",
|
|
14
|
-
lastName: "Hawk",
|
|
15
|
-
enabled: true
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
// Assign the model object to the SAPUI5 core
|
|
19
|
-
sap.ui.getCore().setModel(oModel);
|
|
20
|
-
|
|
21
|
-
// Create a resource bundle for language specific texts
|
|
22
|
-
// configured supportedLocales represent the i18n files present:
|
|
23
|
-
// * "" - i18n/i18n.properties
|
|
24
|
-
// * "de" - i18n/i18n_de.properties
|
|
25
|
-
// configured fallbackLocale should represent one of these files
|
|
26
|
-
// * "" - according to the fallback chain the root bundle is the last fallback
|
|
27
|
-
// which means that if "de" was requested here the root bundle would never be loaded.
|
|
28
|
-
// Configuring it explicitly avoids side effects when additional resource files are added.
|
|
29
|
-
// @see https://sdk.openui5.org/topic/ec753bc539d748f689e3ac814e129563
|
|
30
|
-
var oResourceModel = new ResourceModel({
|
|
31
|
-
bundleName: "sap.ui.demo.db.i18n.i18n",
|
|
32
|
-
fallbackLocale: "",
|
|
33
|
-
supportedLocales: ["", "de"]
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
// Assign the model object to the SAPUI5 core using the name "i18n"
|
|
37
|
-
sap.ui.getCore().setModel(oResourceModel, "i18n");
|
|
38
|
-
|
|
39
|
-
// Display the XML view called "App"
|
|
40
|
-
new XMLView({
|
|
41
|
-
viewName: "sap.ui.demo.db.view.App"
|
|
42
|
-
}).placeAt("content");
|
|
43
|
-
});
|
|
44
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
sap.ui.require([
|
|
2
|
-
"sap/ui/core/Core",
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/XMLView",
|
|
5
|
-
"sap/ui/model/resource/ResourceModel"
|
|
6
|
-
], function (Core, JSONModel, XMLView, ResourceModel) {
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
// Chain an anonymous function to the SAPUI5 'ready' Promise
|
|
10
|
-
Core.ready().then(function () {
|
|
11
|
-
var oModel = new JSONModel({
|
|
12
|
-
firstName: "Harry",
|
|
13
|
-
lastName: "Hawk",
|
|
14
|
-
enabled: true,
|
|
15
|
-
address: {
|
|
16
|
-
street: "Dietmar-Hopp-Allee 16",
|
|
17
|
-
city: "Walldorf",
|
|
18
|
-
zip: "69190",
|
|
19
|
-
country: "Germany"
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
// Assign the model object to the SAPUI5 core
|
|
24
|
-
sap.ui.getCore().setModel(oModel);
|
|
25
|
-
|
|
26
|
-
var oResourceModel = new ResourceModel({
|
|
27
|
-
bundleName: "sap.ui.demo.db.i18n.i18n",
|
|
28
|
-
fallbackLocale: "",
|
|
29
|
-
supportedLocales: ["", "de"]
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
sap.ui.getCore().setModel(oResourceModel, "i18n");
|
|
33
|
-
|
|
34
|
-
// Display the XML view called "App"
|
|
35
|
-
new XMLView({
|
|
36
|
-
viewName: "sap.ui.demo.db.view.App"
|
|
37
|
-
}).placeAt("content");
|
|
38
|
-
});
|
|
39
|
-
});
|