@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
|
@@ -21,7 +21,7 @@ sap.ui.define(['./WebSocket', "sap/base/Log"],
|
|
|
21
21
|
* @class WebSocket class implementing the pcp-protocol.
|
|
22
22
|
* @extends sap.ui.core.ws.WebSocket
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.122.0
|
|
25
25
|
* @alias sap.ui.core.ws.SapPcpWebSocket
|
|
26
26
|
*/
|
|
27
27
|
var SapPcpWebSocket = WebSocket.extend("sap.ui.core.ws.SapPcpWebSocket", /** @lends sap.ui.core.ws.SapPcpWebSocket.prototype */ {
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class Basic WebSocket class.
|
|
26
26
|
* @extends sap.ui.base.EventProvider
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.122.0
|
|
29
29
|
* @alias sap.ui.core.ws.WebSocket
|
|
30
30
|
*/
|
|
31
31
|
var WebSocket = EventProvider.extend("sap.ui.core.ws.WebSocket", /** @lends sap.ui.core.ws.WebSocket.prototype */ {
|
|
@@ -34,7 +34,7 @@ sap.ui.define('sap/ui/debug/ControlTree', [
|
|
|
34
34
|
* @class Control Tree used for the Debug Environment
|
|
35
35
|
* @extends sap.ui.base.EventProvider
|
|
36
36
|
* @author Martin Schaus, Frank Weigel
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.122.0
|
|
38
38
|
* @alias sap.ui.debug.ControlTree
|
|
39
39
|
* @private
|
|
40
40
|
*/
|
|
@@ -37,7 +37,7 @@ sap.ui.define('sap/ui/debug/DebugEnv', [
|
|
|
37
37
|
* @class Central Class for the Debug Environment
|
|
38
38
|
*
|
|
39
39
|
* @author Martin Schaus, Frank Weigel
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.122.0
|
|
41
41
|
* @private
|
|
42
42
|
* @alias sap.ui.debug.DebugEnv
|
|
43
43
|
* @deprecated As of Version 1.120
|
|
@@ -27,8 +27,11 @@ sap.ui.define([
|
|
|
27
27
|
* @param {sap.ui.model.Model} oModel Model instance that this binding is created for and that it belongs to
|
|
28
28
|
* @param {string} sPath Binding path to be used for this binding, syntax depends on the concrete subclass
|
|
29
29
|
* @param {sap.ui.model.Context} oContext Binding context relative to which a relative binding path will be resolved
|
|
30
|
-
* @param {sap.ui.model.Sorter|sap.ui.model.Sorter
|
|
31
|
-
*
|
|
30
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
31
|
+
* The sorters used initially; call {@link #sort} to replace them
|
|
32
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
33
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
34
|
+
* replace them
|
|
32
35
|
* @param {object} [mParameters] Map of optional parameters as defined by subclasses; this class does not introduce any own parameters
|
|
33
36
|
* @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
|
|
34
37
|
* implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in <code>aFilters</code>
|
|
@@ -320,10 +323,14 @@ sap.ui.define([
|
|
|
320
323
|
* When no <code>sFilterType</code> is given, any previously configured application
|
|
321
324
|
* filters are cleared and the given filters are used as control filters
|
|
322
325
|
*
|
|
323
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
324
|
-
* @
|
|
325
|
-
*
|
|
326
|
-
*
|
|
326
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
327
|
+
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
|
|
328
|
+
* in {@link sap.ui.model.ClientModel#bindList}; a falsy value is treated as an empty array and thus removes all
|
|
329
|
+
* filters of the specified type
|
|
330
|
+
* @param {sap.ui.model.FilterType} [sFilterType]
|
|
331
|
+
* The type of the filter to replace; if no type is given, all filters previously configured with type
|
|
332
|
+
* {@link sap.ui.model.FilterType.Application} are cleared, and the given filters are used as filters of type
|
|
333
|
+
* {@link sap.ui.model.FilterType.Control}
|
|
327
334
|
* @returns {this} returns <code>this</code> to facilitate method chaining
|
|
328
335
|
* @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
|
|
329
336
|
* implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
@@ -24,9 +24,12 @@ sap.ui.define([
|
|
|
24
24
|
* @param {sap.ui.model.Model} oModel Model instance that this binding is created for and that it belongs to
|
|
25
25
|
* @param {string} sPath Binding path pointing to the tree / array that should be bound; syntax is defined by subclasses
|
|
26
26
|
* @param {sap.ui.model.Context} [oContext=null] Context object for this binding, mandatory when when a relative binding path is given
|
|
27
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
27
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aApplicationFilters=[]]
|
|
28
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
29
|
+
* replace them
|
|
28
30
|
* @param {object} [mParameters=null] Additional model specific parameters as defined by subclasses; this class does not introduce any own parameters
|
|
29
|
-
* @param {sap.ui.model.Sorter[]} [aSorters=
|
|
31
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
32
|
+
* The sorters used initially; call {@link #sort} to replace them
|
|
30
33
|
* @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
|
|
31
34
|
* implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
32
35
|
* <code>aApplicationFilters</code> together with other filters
|
|
@@ -264,10 +267,14 @@ sap.ui.define([
|
|
|
264
267
|
* results of all groups are ANDed.
|
|
265
268
|
*
|
|
266
269
|
* @see sap.ui.model.TreeBinding.prototype.filter
|
|
267
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
268
|
-
* @
|
|
269
|
-
*
|
|
270
|
-
*
|
|
270
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
271
|
+
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
|
|
272
|
+
* in {@link sap.ui.model.ClientModel#bindTree}; a falsy value is treated as an empty array and thus removes all
|
|
273
|
+
* filters of the specified type
|
|
274
|
+
* @param {sap.ui.model.FilterType} [sFilterType]
|
|
275
|
+
* The type of the filter to replace; if no type is given, all filters previously configured with type
|
|
276
|
+
* {@link sap.ui.model.FilterType.Application} are cleared, and the given filters are used as filters of type
|
|
277
|
+
* {@link sap.ui.model.FilterType.Control}
|
|
271
278
|
* @return {this} <code>this</code> to facilitate method chaining
|
|
272
279
|
* @throws {Error} If one of the filters uses an operator that is not supported by the underlying model
|
|
273
280
|
* implementation or if the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
@@ -380,7 +387,9 @@ sap.ui.define([
|
|
|
380
387
|
* The tree will be sorted level by level. So the nodes are NOT sorted absolute, but relative to
|
|
381
388
|
* their parent node, to keep the hierarchy untouched.
|
|
382
389
|
*
|
|
383
|
-
* @param {sap.ui.model.Sorter[]} aSorters
|
|
390
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
391
|
+
* The sorters to use; they replace the sorters given in {@link sap.ui.model.ClientModel#bindTree}; a falsy value
|
|
392
|
+
* is treated as an empty array and thus removes all sorters
|
|
384
393
|
*
|
|
385
394
|
* @return {this} Returns <code>this</code> to facilitate method chaining
|
|
386
395
|
* @public
|
|
@@ -166,7 +166,13 @@ sap.ui.define([
|
|
|
166
166
|
* @public
|
|
167
167
|
*/
|
|
168
168
|
CompositeBinding.prototype.setType = function(oType, sInternalType) {
|
|
169
|
-
|
|
169
|
+
const that = this;
|
|
170
|
+
|
|
171
|
+
function processPartTypes () {
|
|
172
|
+
that.oType?.processPartTypes(that.aBindings.map(function (oBinding) {
|
|
173
|
+
return oBinding.getType();
|
|
174
|
+
}));
|
|
175
|
+
}
|
|
170
176
|
|
|
171
177
|
if (oType && !(oType instanceof CompositeType)) {
|
|
172
178
|
throw new Error("Only CompositeType can be used as type for composite bindings!");
|
|
@@ -186,9 +192,10 @@ sap.ui.define([
|
|
|
186
192
|
|
|
187
193
|
this.bRawValues = this.oType.getUseRawValues();
|
|
188
194
|
this.bInternalValues = this.oType.getUseInternalValues();
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
195
|
+
processPartTypes();
|
|
196
|
+
oType.getPartsListeningToTypeChanges().forEach((iIndex) => {
|
|
197
|
+
this.aBindings[iIndex].registerTypeChanged(processPartTypes);
|
|
198
|
+
});
|
|
192
199
|
|
|
193
200
|
if (this.bRawValues && this.bInternalValues) {
|
|
194
201
|
throw new Error(this.oType + " has both 'bUseRawValues' & 'bUseInternalValues' set to true. Only one of them is allowed to be true");
|
|
@@ -39,7 +39,7 @@ sap.ui.define(['./SimpleType'],
|
|
|
39
39
|
* <code>true</code>.
|
|
40
40
|
* @extends sap.ui.model.SimpleType
|
|
41
41
|
* @public
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.122.0
|
|
43
43
|
*/
|
|
44
44
|
var CompositeType = SimpleType.extend("sap.ui.model.CompositeType", /** @lends sap.ui.model.CompositeType.prototype */ {
|
|
45
45
|
|
|
@@ -122,9 +122,9 @@ sap.ui.define(['./SimpleType'],
|
|
|
122
122
|
* model messages to the attached control. Prerequisite is that the corresponding binding
|
|
123
123
|
* supports this feature, see {@link sap.ui.model.Binding#supportsIgnoreMessages}.
|
|
124
124
|
*
|
|
125
|
-
* @return {
|
|
125
|
+
* @return {int[]}
|
|
126
126
|
* An array of indices that determine which parts of this type shall not propagate their model
|
|
127
|
-
* messages to the attached control
|
|
127
|
+
* messages to the attached control; an empty array is returned by default
|
|
128
128
|
*
|
|
129
129
|
* @public
|
|
130
130
|
* @see sap.ui.model.Binding#supportsIgnoreMessages
|
|
@@ -134,6 +134,20 @@ sap.ui.define(['./SimpleType'],
|
|
|
134
134
|
return [];
|
|
135
135
|
};
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Gets the indices of the binding parts for which this type requires the binding's type for formatting
|
|
139
|
+
* or parsing. An empty array is returned by default. Subclasses need to overwrite this function if they
|
|
140
|
+
* are interested in type changes of the corresponding binding part.
|
|
141
|
+
*
|
|
142
|
+
* @returns {int[]}
|
|
143
|
+
* The indices of the parts with a relevant type for this composite type
|
|
144
|
+
*
|
|
145
|
+
* @see #processPartTypes
|
|
146
|
+
*/
|
|
147
|
+
CompositeType.prototype.getPartsListeningToTypeChanges = function () {
|
|
148
|
+
return [];
|
|
149
|
+
};
|
|
150
|
+
|
|
137
151
|
/**
|
|
138
152
|
* Returns whether the {@link #formatValue} and {@link #parseValue} methods operate on the raw
|
|
139
153
|
* model values instead of formatted values.
|
|
@@ -25,10 +25,11 @@ sap.ui.define(['./Binding', './Filter', './FilterType', './Sorter', 'sap/base/ut
|
|
|
25
25
|
* Binding path for this binding; a relative path will be resolved relative to a given context
|
|
26
26
|
* @param {sap.ui.model.Context} oContext
|
|
27
27
|
* Context to be used to resolve a relative path
|
|
28
|
-
* @param {sap.ui.model.Sorter|sap.ui.model.Sorter
|
|
29
|
-
*
|
|
30
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
31
|
-
*
|
|
28
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
29
|
+
* The sorters used initially; call {@link #sort} to replace them
|
|
30
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
31
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
32
|
+
* replace them
|
|
32
33
|
* @param {object} [mParameters]
|
|
33
34
|
* Additional, implementation-specific parameters that should be used by the new list binding;
|
|
34
35
|
* this base class doesn't define any parameters, check the API reference for the concrete
|
|
@@ -156,11 +157,12 @@ sap.ui.define(['./Binding', './Filter', './FilterType', './Sorter', 'sap/base/ut
|
|
|
156
157
|
* Please use either the automatic grouping of filters (where applicable) or explicit
|
|
157
158
|
* AND/OR filters, as a mixture of both is not supported.
|
|
158
159
|
*
|
|
159
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
160
|
-
*
|
|
161
|
-
* @
|
|
162
|
-
*
|
|
163
|
-
*
|
|
160
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
161
|
+
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
|
|
162
|
+
* in {@link sap.ui.model.Model#bindList}; a falsy value is treated as an empty array and thus removes all filters
|
|
163
|
+
* of the specified type
|
|
164
|
+
* @param {sap.ui.model.FilterType} [sFilterType]
|
|
165
|
+
* The type of the filter to replace; if no type is given, the behavior depends on the model implementation
|
|
164
166
|
* @return {this}
|
|
165
167
|
* Returns <code>this</code> to facilitate method chaining
|
|
166
168
|
*
|
|
@@ -184,8 +186,9 @@ sap.ui.define(['./Binding', './Filter', './FilterType', './Sorter', 'sap/base/ut
|
|
|
184
186
|
*
|
|
185
187
|
* @function
|
|
186
188
|
* @name sap.ui.model.ListBinding.prototype.sort
|
|
187
|
-
* @param {sap.ui.model.Sorter|sap.ui.model.Sorter
|
|
188
|
-
* The
|
|
189
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
190
|
+
* The sorters to use; they replace the sorters given in {@link sap.ui.model.Model#bindList}; a falsy value is
|
|
191
|
+
* treated as an empty array and thus removes all sorters
|
|
189
192
|
* @return {this}
|
|
190
193
|
* Returns <code>this</code> to facilitate method chaining
|
|
191
194
|
* @public
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
* @extends sap.ui.core.message.MessageProcessor
|
|
52
52
|
*
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.122.0
|
|
55
55
|
*
|
|
56
56
|
* @public
|
|
57
57
|
* @alias sap.ui.model.Model
|
|
@@ -627,10 +627,11 @@ sap.ui.define([
|
|
|
627
627
|
* The path pointing to the list / array that should be bound
|
|
628
628
|
* @param {sap.ui.model.Context} [oContext]
|
|
629
629
|
* The context object for this databinding
|
|
630
|
-
* @param {sap.ui.model.Sorter|sap.ui.model.Sorter
|
|
631
|
-
*
|
|
632
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
633
|
-
*
|
|
630
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
631
|
+
* The sorters used initially; call {@link sap.ui.model.ListBinding#sort} to replace them
|
|
632
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
633
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call
|
|
634
|
+
* {@link sap.ui.model.ListBinding#filter} to replace them
|
|
634
635
|
* @param {object} [mParameters]
|
|
635
636
|
* Additional model-specific parameters
|
|
636
637
|
* @throws {Error} If the {@link sap.ui.model.Filter.NONE} filter instance is contained in <code>aFilters</code>
|
|
@@ -650,12 +651,13 @@ sap.ui.define([
|
|
|
650
651
|
* The path pointing to the tree / array that should be bound
|
|
651
652
|
* @param {sap.ui.model.Context} [oContext]
|
|
652
653
|
* The context object for this databinding
|
|
653
|
-
* @param {sap.ui.model.Filter[]} [aFilters]
|
|
654
|
-
*
|
|
654
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
655
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call
|
|
656
|
+
* {@link sap.ui.model.TreeBinding#filter} to replace them
|
|
655
657
|
* @param {object} [mParameters]
|
|
656
658
|
* Additional model specific parameters
|
|
657
|
-
* @param {sap.ui.model.Sorter[]} [aSorters]
|
|
658
|
-
*
|
|
659
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
660
|
+
* The sorters used initially; call {@link sap.ui.model.TreeBinding#sort} to replace them
|
|
659
661
|
* @throws {Error} If the {@link sap.ui.model.Filter.NONE} filter instance is contained in <code>aFilters</code>
|
|
660
662
|
* together with other filters
|
|
661
663
|
*
|
|
@@ -6,14 +6,15 @@
|
|
|
6
6
|
/*eslint-disable max-len */
|
|
7
7
|
// Provides an abstract property binding.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
|
|
9
|
+
"./Binding",
|
|
10
10
|
"sap/ui/base/SyncPromise",
|
|
11
|
+
"sap/ui/model/ChangeReason",
|
|
11
12
|
"sap/base/Log",
|
|
12
13
|
"sap/base/assert",
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
"./SimpleType", // convenience dependency for legacy code that uses global names
|
|
15
|
+
"./DataState" // convenience dependency for legacy code that uses global names
|
|
15
16
|
],
|
|
16
|
-
function(Binding, SyncPromise, Log, assert) {
|
|
17
|
+
function(Binding, SyncPromise, ChangeReason, Log, assert) {
|
|
17
18
|
"use strict";
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -337,8 +338,13 @@ sap.ui.define([
|
|
|
337
338
|
* @public
|
|
338
339
|
*/
|
|
339
340
|
PropertyBinding.prototype.setType = function(oType, sInternalType) {
|
|
341
|
+
const oOldType = this.oType;
|
|
340
342
|
this.oType = oType;
|
|
341
343
|
this.sInternalType = sInternalType;
|
|
344
|
+
if (this.fnTypeChangedCallback && oType && oOldType !== oType) {
|
|
345
|
+
this.fnTypeChangedCallback();
|
|
346
|
+
this._fireChange({reason: ChangeReason.Change});
|
|
347
|
+
}
|
|
342
348
|
};
|
|
343
349
|
|
|
344
350
|
/**
|
|
@@ -388,6 +394,17 @@ sap.ui.define([
|
|
|
388
394
|
this.sMode = sBindingMode;
|
|
389
395
|
};
|
|
390
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Sets the callback which is called when the type of the binding is changed, if not supplied a
|
|
399
|
+
* former callback is deregistered.
|
|
400
|
+
*
|
|
401
|
+
* @param {function} [fnTypeChangedCallback]
|
|
402
|
+
* The function to be called, if this binding's type changes
|
|
403
|
+
*/
|
|
404
|
+
PropertyBinding.prototype.registerTypeChanged = function (fnTypeChangedCallback) {
|
|
405
|
+
this.fnTypeChangedCallback = fnTypeChangedCallback;
|
|
406
|
+
};
|
|
407
|
+
|
|
391
408
|
/**
|
|
392
409
|
* Resumes the binding update. Change events will be fired again.
|
|
393
410
|
*
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['sap/ui/base/EventProvider', "sap/base/assert"],
|
|
|
20
20
|
* @extends sap.ui.base.EventProvider
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.122.0
|
|
24
24
|
*
|
|
25
25
|
* @param {int} iSelectionMode <code>sap.ui.model.SelectionModel.SINGLE_SELECTION</code> or <code>sap.ui.model.SelectionModel.MULTI_SELECTION</code>
|
|
26
26
|
*
|
|
@@ -27,12 +27,13 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
27
27
|
* sPath Path pointing to the tree / array that should be bound
|
|
28
28
|
* @param {object}
|
|
29
29
|
* [oContext=null] Context object for this binding (optional)
|
|
30
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter[]
|
|
31
|
-
*
|
|
30
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
31
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
32
|
+
* replace them
|
|
32
33
|
* @param {string}
|
|
33
34
|
* [mParameters=null] Additional model specific parameters (optional)
|
|
34
|
-
* @param {sap.ui.model.Sorter|sap.ui.model.Sorter[]
|
|
35
|
-
*
|
|
35
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
36
|
+
* The sorters used initially; call {@link #sort} to replace them
|
|
36
37
|
* @throws {Error} If the {@link sap.ui.model.Filter.NONE} filter instance is contained in
|
|
37
38
|
* <code>aFilters</code> together with other filters
|
|
38
39
|
* @public
|
|
@@ -144,8 +145,12 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
144
145
|
*
|
|
145
146
|
* @function
|
|
146
147
|
* @name sap.ui.model.TreeBinding.prototype.filter
|
|
147
|
-
* @param {sap.ui.model.Filter|sap.ui.model.Filter
|
|
148
|
-
* @
|
|
148
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
149
|
+
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters given
|
|
150
|
+
* in {@link sap.ui.model.Model#bindTree}; a falsy value is treated as an empty array and thus removes all filters
|
|
151
|
+
* of the specified type
|
|
152
|
+
* @param {sap.ui.model.FilterType} [sFilterType]
|
|
153
|
+
* The type of the filter to replace; if no type is given, the behavior depends on the model implementation
|
|
149
154
|
*
|
|
150
155
|
* @public
|
|
151
156
|
*/
|
|
@@ -155,7 +160,9 @@ sap.ui.define(['./Binding', './Filter', './Sorter'],
|
|
|
155
160
|
*
|
|
156
161
|
* @function
|
|
157
162
|
* @name sap.ui.model.TreeBinding.prototype.sort
|
|
158
|
-
* @param {sap.ui.model.Sorter[]} aSorters
|
|
163
|
+
* @param {sap.ui.model.Sorter[]} [aSorters=[]]
|
|
164
|
+
* The sorters to use; they replace the sorters given in {@link sap.ui.model.Model#bindTree}; a falsy value is
|
|
165
|
+
* treated as an empty array and thus removes all sorters
|
|
159
166
|
*
|
|
160
167
|
* @public
|
|
161
168
|
*/
|
package/src/sap/ui/model/Type.js
CHANGED
|
@@ -232,10 +232,11 @@ sap.ui.define([
|
|
|
232
232
|
* The path pointing to the tree / array that should be bound
|
|
233
233
|
* @param {object} [oContext=null]
|
|
234
234
|
* The context object for this data binding
|
|
235
|
-
* @param {
|
|
236
|
-
*
|
|
237
|
-
* @param {
|
|
238
|
-
*
|
|
235
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorters=[]]
|
|
236
|
+
* The sorters used initially; call {@link #sort} to replace them
|
|
237
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
238
|
+
* The filters to be used initially with type {@link sap.ui.model.FilterType.Application}; call {@link #filter} to
|
|
239
|
+
* replace them
|
|
239
240
|
* @param {object} [mParameters=null]
|
|
240
241
|
* A map containing additional binding parameters; for the <code>AnalyticalBinding</code> this
|
|
241
242
|
* parameter is mandatory
|
|
@@ -990,8 +991,10 @@ sap.ui.define([
|
|
|
990
991
|
*
|
|
991
992
|
* @function
|
|
992
993
|
* @name sap.ui.model.analytics.AnalyticalBinding.prototype.filter
|
|
993
|
-
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter}
|
|
994
|
-
*
|
|
994
|
+
* @param {sap.ui.model.Filter[]|sap.ui.model.Filter} [aFilters=[]]
|
|
995
|
+
* The filters to use; in case of type {@link sap.ui.model.FilterType.Application} this replaces the filters
|
|
996
|
+
* given in {@link sap.ui.model.odata.v2.ODataModel#bindList}; a falsy value is treated as an empty array and thus
|
|
997
|
+
* removes all filters of the specified type
|
|
995
998
|
* @param {sap.ui.model.FilterType}
|
|
996
999
|
* [sFilterType=sap.ui.model.FilterType.Control] Type of the filter which should be adjusted.
|
|
997
1000
|
* @return {this}
|
|
@@ -1063,8 +1066,9 @@ sap.ui.define([
|
|
|
1063
1066
|
*
|
|
1064
1067
|
* @function
|
|
1065
1068
|
* @name sap.ui.model.analytics.AnalyticalBinding.prototype.sort
|
|
1066
|
-
* @param {sap.ui.model.Sorter|
|
|
1067
|
-
*
|
|
1069
|
+
* @param {sap.ui.model.Sorter[]|sap.ui.model.Sorter} [aSorter=[]]
|
|
1070
|
+
* The sorters to use; they replace the sorters given in {@link sap.ui.model.odata.v2.ODataModel#bindList}; a
|
|
1071
|
+
* falsy value is treated as an empty array and thus removes all sorters
|
|
1068
1072
|
* @return {this}
|
|
1069
1073
|
* returns <code>this</code> to facilitate method chaining.
|
|
1070
1074
|
*
|
|
@@ -26,7 +26,7 @@ sap.ui.define(function() {
|
|
|
26
26
|
* @alias sap.ui.model.analytics.BatchResponseCollector
|
|
27
27
|
* @constructor
|
|
28
28
|
* @public
|
|
29
|
-
* @param {object} [mParams] optional Setup-Parameter,
|
|
29
|
+
* @param {object} [mParams] optional Setup-Parameter, see {@link #setup}
|
|
30
30
|
*/
|
|
31
31
|
function BatchResponseCollector(mParams) {
|
|
32
32
|
if (mParams) {
|