@openui5/sap.ui.core 1.120.9 → 1.120.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +11 -5
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +5 -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 +31 -3
- 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 +1 -1
- 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/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/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/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/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/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +59 -65
- package/src/sap/ui/core/util/_LocalizationHelper.js +2 -1
- 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/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +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 +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +36 -24
- 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 +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -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/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/_enforceNoReturnValue.js +27 -0
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +1 -1
- 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/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- 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/EventProvider.qunit.js +30 -2
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +45 -3
- 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/component/Component_keepAlive.qunit.js +33 -2
- 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/mvc/Controller.qunit.js +104 -49
- package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +7 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +34 -19
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +137 -26
- package/test/sap/ui/core/relnotes/changes-1.120.json +27 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides class sap.ui.base.EventProvider
|
|
8
|
-
sap.ui.define(['./Event', './Object', "sap/base/assert"],
|
|
9
|
-
function(Event, BaseObject, assert) {
|
|
8
|
+
sap.ui.define(['./Event', './Object', "sap/base/assert", "sap/base/Log"],
|
|
9
|
+
function(Event, BaseObject, assert, Log) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./Event', './Object', "sap/base/assert"],
|
|
|
18
18
|
* @abstract
|
|
19
19
|
* @extends sap.ui.base.Object
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.120.
|
|
21
|
+
* @version 1.120.11
|
|
22
22
|
* @public
|
|
23
23
|
* @alias sap.ui.base.EventProvider
|
|
24
24
|
*/
|
|
@@ -238,7 +238,13 @@ sap.ui.define(['./Event', './Object', "sap/base/assert"],
|
|
|
238
238
|
|
|
239
239
|
for (i = 0, iL = aEventListeners.length; i < iL; i++) {
|
|
240
240
|
oInfo = aEventListeners[i];
|
|
241
|
-
oInfo.fFunction.call(oInfo.oListener || oProvider, oEvent, oInfo.oData);
|
|
241
|
+
const vResult = oInfo.fFunction.call(oInfo.oListener || oProvider, oEvent, oInfo.oData);
|
|
242
|
+
// proper error handling for rejected promises
|
|
243
|
+
if (typeof vResult?.then === "function") {
|
|
244
|
+
vResult.catch?.((err) => {
|
|
245
|
+
Log.error(`EventProvider.fireEvent: Event Listener for event '${sEventId}' failed during execution.`, err);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
242
248
|
}
|
|
243
249
|
|
|
244
250
|
bEnableEventBubbling = bEnableEventBubbling && !oEvent.bCancelBubble;
|
|
@@ -368,4 +374,4 @@ sap.ui.define(['./Event', './Object', "sap/base/assert"],
|
|
|
368
374
|
|
|
369
375
|
|
|
370
376
|
return EventProvider;
|
|
371
|
-
});
|
|
377
|
+
});
|
|
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
|
|
|
28
28
|
* no internals of the class can be accessed.
|
|
29
29
|
*
|
|
30
30
|
* @author Malte Wedel, Daniel Brinkmann
|
|
31
|
-
* @version 1.120.
|
|
31
|
+
* @version 1.120.11
|
|
32
32
|
* @param {sap.ui.base.Object} oObject
|
|
33
33
|
* Object for which a facade should be created
|
|
34
34
|
* @param {string[]} aMethods
|
|
@@ -12,6 +12,7 @@ sap.ui.define([
|
|
|
12
12
|
"./Object",
|
|
13
13
|
"./BindingInfo",
|
|
14
14
|
"sap/ui/util/ActivityDetection",
|
|
15
|
+
"sap/ui/util/_enforceNoReturnValue",
|
|
15
16
|
"sap/base/util/ObjectPath",
|
|
16
17
|
"sap/base/Log",
|
|
17
18
|
"sap/base/assert",
|
|
@@ -27,6 +28,7 @@ sap.ui.define([
|
|
|
27
28
|
BaseObject,
|
|
28
29
|
BindingInfo,
|
|
29
30
|
ActivityDetection,
|
|
31
|
+
_enforceNoReturnValue,
|
|
30
32
|
ObjectPath,
|
|
31
33
|
Log,
|
|
32
34
|
assert,
|
|
@@ -260,7 +262,7 @@ sap.ui.define([
|
|
|
260
262
|
*
|
|
261
263
|
* @extends sap.ui.base.EventProvider
|
|
262
264
|
* @author SAP SE
|
|
263
|
-
* @version 1.120.
|
|
265
|
+
* @version 1.120.11
|
|
264
266
|
* @public
|
|
265
267
|
* @alias sap.ui.base.ManagedObject
|
|
266
268
|
*/
|
|
@@ -526,7 +528,7 @@ sap.ui.define([
|
|
|
526
528
|
|
|
527
529
|
// Call init method here instead of specific Controls constructor.
|
|
528
530
|
if (that.init) {
|
|
529
|
-
that.init();
|
|
531
|
+
_enforceNoReturnValue(that.init(), /*mLogInfo=*/{ name: "init", component: that.getId()}); // 'init' hook isn't allowed to return any values.
|
|
530
532
|
}
|
|
531
533
|
|
|
532
534
|
// apply the settings
|
|
@@ -2998,7 +3000,7 @@ sap.ui.define([
|
|
|
2998
3000
|
}
|
|
2999
3001
|
|
|
3000
3002
|
if (this.exit) {
|
|
3001
|
-
this.exit();
|
|
3003
|
+
_enforceNoReturnValue(this.exit(), /*mLogInfo=*/{ name: "exit", component: this.getId() }); // 'exit' hook isn't allowed to return any values.
|
|
3002
3004
|
}
|
|
3003
3005
|
|
|
3004
3006
|
// TODO: generic concept for exit hooks?
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
|
|
|
26
26
|
* @class Base class for all SAPUI5 Objects.
|
|
27
27
|
* @abstract
|
|
28
28
|
* @author Malte Wedel
|
|
29
|
-
* @version 1.120.
|
|
29
|
+
* @version 1.120.11
|
|
30
30
|
* @public
|
|
31
31
|
* @alias sap.ui.base.Object
|
|
32
32
|
* @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
|
package/src/sap/ui/core/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.120.
|
|
9
|
+
<version>1.120.11</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -19,6 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/core/ResizeHandler',
|
|
20
20
|
'sap/ui/thirdparty/URI',
|
|
21
21
|
'sap/ui/performance/trace/Interaction',
|
|
22
|
+
'sap/ui/util/_enforceNoReturnValue',
|
|
22
23
|
'sap/base/assert',
|
|
23
24
|
'sap/base/Log',
|
|
24
25
|
'sap/base/util/Deferred',
|
|
@@ -46,6 +47,7 @@ sap.ui.define([
|
|
|
46
47
|
ResizeHandler,
|
|
47
48
|
URI,
|
|
48
49
|
Interaction,
|
|
50
|
+
_enforceNoReturnValue,
|
|
49
51
|
assert,
|
|
50
52
|
Log,
|
|
51
53
|
Deferred,
|
|
@@ -236,7 +238,7 @@ sap.ui.define([
|
|
|
236
238
|
* @extends sap.ui.base.ManagedObject
|
|
237
239
|
* @abstract
|
|
238
240
|
* @author SAP SE
|
|
239
|
-
* @version 1.120.
|
|
241
|
+
* @version 1.120.11
|
|
240
242
|
* @alias sap.ui.core.Component
|
|
241
243
|
* @since 1.9.2
|
|
242
244
|
*/
|
|
@@ -1387,6 +1389,13 @@ sap.ui.define([
|
|
|
1387
1389
|
*
|
|
1388
1390
|
* @function
|
|
1389
1391
|
* @name sap.ui.core.Component.prototype.init
|
|
1392
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
1393
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
1394
|
+
*
|
|
1395
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
1396
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
1397
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
1398
|
+
* major versions of UI5.
|
|
1390
1399
|
* @protected
|
|
1391
1400
|
*/
|
|
1392
1401
|
//Component.prototype.init = function() {};
|
|
@@ -1402,6 +1411,13 @@ sap.ui.define([
|
|
|
1402
1411
|
*
|
|
1403
1412
|
* @function
|
|
1404
1413
|
* @name sap.ui.core.Component.prototype.exit
|
|
1414
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
1415
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
1416
|
+
*
|
|
1417
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
1418
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
1419
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
1420
|
+
* major versions of UI5.
|
|
1405
1421
|
* @protected
|
|
1406
1422
|
*/
|
|
1407
1423
|
//Component.prototype.exit = function() {};
|
|
@@ -3866,7 +3882,7 @@ sap.ui.define([
|
|
|
3866
3882
|
|
|
3867
3883
|
// call lifecyclehook 'onDeactivate'
|
|
3868
3884
|
if (typeof this.onDeactivate === "function") {
|
|
3869
|
-
this.onDeactivate();
|
|
3885
|
+
_enforceNoReturnValue(this.onDeactivate(), /*mLogInfo=*/{name: "onDeactivate", component: this.getId()});
|
|
3870
3886
|
}
|
|
3871
3887
|
};
|
|
3872
3888
|
|
|
@@ -3929,7 +3945,7 @@ sap.ui.define([
|
|
|
3929
3945
|
|
|
3930
3946
|
// call lifecyclehook 'onActivate'
|
|
3931
3947
|
if (typeof this.onActivate === "function") {
|
|
3932
|
-
this.onActivate();
|
|
3948
|
+
_enforceNoReturnValue(this.onActivate(), /*mLogInfo=*/{ name: "onActivate", component: this.getId() });
|
|
3933
3949
|
}
|
|
3934
3950
|
};
|
|
3935
3951
|
|
|
@@ -3981,6 +3997,12 @@ sap.ui.define([
|
|
|
3981
3997
|
* @name sap.ui.core.Component.prototype.onActivate
|
|
3982
3998
|
* @abstract
|
|
3983
3999
|
* @since 1.88
|
|
4000
|
+
* @returns {void|undefined} This lifecycle hook must not have a return value.
|
|
4001
|
+
*
|
|
4002
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
4003
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
4004
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
4005
|
+
* major versions of UI5.
|
|
3984
4006
|
* @protected
|
|
3985
4007
|
*/
|
|
3986
4008
|
|
|
@@ -3991,6 +4013,12 @@ sap.ui.define([
|
|
|
3991
4013
|
* @name sap.ui.core.Component.prototype.onDeactivate
|
|
3992
4014
|
* @abstract
|
|
3993
4015
|
* @since 1.88
|
|
4016
|
+
* @returns {void|undefined} This lifecycle hook must not have a return value.
|
|
4017
|
+
*
|
|
4018
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
4019
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
4020
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
4021
|
+
* major versions of UI5.
|
|
3994
4022
|
* @protected
|
|
3995
4023
|
*/
|
|
3996
4024
|
|
|
@@ -83,7 +83,7 @@ sap.ui.define([
|
|
|
83
83
|
* @extends sap.ui.core.Element
|
|
84
84
|
* @abstract
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.120.
|
|
86
|
+
* @version 1.120.11
|
|
87
87
|
* @alias sap.ui.core.Control
|
|
88
88
|
*/
|
|
89
89
|
var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
|
|
@@ -748,11 +748,19 @@ sap.ui.define([
|
|
|
748
748
|
* Subclasses of Control should override this hook to implement any necessary actions before the rendering.
|
|
749
749
|
*
|
|
750
750
|
* @param {jQuery.Event} oEvent onBeforeRendering event object
|
|
751
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
752
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
753
|
+
*
|
|
754
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
755
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
756
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
757
|
+
* major versions of UI5.
|
|
751
758
|
* @protected
|
|
752
759
|
*/
|
|
753
|
-
Control.prototype.onBeforeRendering = function(
|
|
760
|
+
Control.prototype.onBeforeRendering = function() {
|
|
754
761
|
// Before adding any implementation, please remember that this method was first implemented in release 1.54.
|
|
755
762
|
// Therefore, many subclasses will not call this method at all.
|
|
763
|
+
return undefined;
|
|
756
764
|
};
|
|
757
765
|
|
|
758
766
|
/**
|
|
@@ -763,11 +771,19 @@ sap.ui.define([
|
|
|
763
771
|
* Subclasses of Control should override this hook to implement any necessary actions after the rendering.
|
|
764
772
|
*
|
|
765
773
|
* @param {jQuery.Event} oEvent onAfterRendering event object
|
|
774
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
775
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
776
|
+
*
|
|
777
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
778
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
779
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
780
|
+
* major versions of UI5.
|
|
766
781
|
* @protected
|
|
767
782
|
*/
|
|
768
|
-
Control.prototype.onAfterRendering = function(
|
|
783
|
+
Control.prototype.onAfterRendering = function() {
|
|
769
784
|
// Before adding any implementation, please remember that this method was first implemented in release 1.54.
|
|
770
785
|
// Therefore, many subclasses will not call this method at all.
|
|
786
|
+
return undefined;
|
|
771
787
|
};
|
|
772
788
|
|
|
773
789
|
/**
|
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -16,6 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
"sap/base/assert",
|
|
17
17
|
"sap/ui/thirdparty/jquery",
|
|
18
18
|
"sap/ui/events/F6Navigation",
|
|
19
|
+
"sap/ui/util/_enforceNoReturnValue",
|
|
19
20
|
"./RenderManager",
|
|
20
21
|
"./Configuration",
|
|
21
22
|
"./EnabledPropagator",
|
|
@@ -34,6 +35,7 @@ sap.ui.define([
|
|
|
34
35
|
assert,
|
|
35
36
|
jQuery,
|
|
36
37
|
F6Navigation,
|
|
38
|
+
_enforceNoReturnValue,
|
|
37
39
|
RenderManager,
|
|
38
40
|
Configuration,
|
|
39
41
|
EnabledPropagator,
|
|
@@ -134,7 +136,7 @@ sap.ui.define([
|
|
|
134
136
|
*
|
|
135
137
|
* @extends sap.ui.base.ManagedObject
|
|
136
138
|
* @author SAP SE
|
|
137
|
-
* @version 1.120.
|
|
139
|
+
* @version 1.120.11
|
|
138
140
|
* @public
|
|
139
141
|
* @alias sap.ui.core.Element
|
|
140
142
|
*/
|
|
@@ -338,14 +340,20 @@ sap.ui.define([
|
|
|
338
340
|
}
|
|
339
341
|
|
|
340
342
|
each(this.aBeforeDelegates);
|
|
343
|
+
|
|
341
344
|
if ( oEvent.isImmediateHandlerPropagationStopped() ) {
|
|
342
345
|
return;
|
|
343
346
|
}
|
|
344
347
|
if ( this[sHandlerName] ) {
|
|
345
|
-
|
|
348
|
+
if (oEvent._bNoReturnValue) {
|
|
349
|
+
// fatal throw if listener isn't allowed to have a return value
|
|
350
|
+
_enforceNoReturnValue(this[sHandlerName](oEvent), /*mLogInfo=*/{ name: sHandlerName, component: this.getId() });
|
|
351
|
+
} else {
|
|
352
|
+
this[sHandlerName](oEvent);
|
|
353
|
+
}
|
|
346
354
|
}
|
|
347
|
-
each(this.aDelegates);
|
|
348
355
|
|
|
356
|
+
each(this.aDelegates);
|
|
349
357
|
};
|
|
350
358
|
|
|
351
359
|
|
|
@@ -357,11 +365,19 @@ sap.ui.define([
|
|
|
357
365
|
*
|
|
358
366
|
* Subclasses of Element should override this hook to implement any necessary initialization.
|
|
359
367
|
*
|
|
368
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
369
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
370
|
+
*
|
|
371
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
372
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
373
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
374
|
+
* major versions of UI5.
|
|
360
375
|
* @protected
|
|
361
376
|
*/
|
|
362
377
|
Element.prototype.init = function() {
|
|
363
378
|
// Before adding any implementation, please remember that this method was first implemented in release 1.54.
|
|
364
379
|
// Therefore, many subclasses will not call this method at all.
|
|
380
|
+
return undefined;
|
|
365
381
|
};
|
|
366
382
|
|
|
367
383
|
/**
|
|
@@ -386,11 +402,19 @@ sap.ui.define([
|
|
|
386
402
|
* For a more detailed description how to to use the exit hook, see Section
|
|
387
403
|
* {@link topic:d4ac0edbc467483585d0c53a282505a5 exit() Method} in the documentation.
|
|
388
404
|
*
|
|
405
|
+
* @returns {void|undefined} This hook method must not have a return value. Return value <code>void</code> is deprecated since 1.120, as it does not force functions to <b>not</b> return something.
|
|
406
|
+
* This implies that, for instance, no async function returning a Promise should be used.
|
|
407
|
+
*
|
|
408
|
+
* <b>Note:</b> While the return type is currently <code>void|undefined</code>, any
|
|
409
|
+
* implementation of this hook must not return anything but undefined. Any other
|
|
410
|
+
* return value will cause an error log in this version of UI5 and will fail in future
|
|
411
|
+
* major versions of UI5.
|
|
389
412
|
* @protected
|
|
390
413
|
*/
|
|
391
414
|
Element.prototype.exit = function() {
|
|
392
415
|
// Before adding any implementation, please remember that this method was first implemented in release 1.54.
|
|
393
416
|
// Therefore, many subclasses will not call this method at all.
|
|
417
|
+
return undefined;
|
|
394
418
|
};
|
|
395
419
|
|
|
396
420
|
/**
|
|
@@ -1960,6 +1984,7 @@ sap.ui.define([
|
|
|
1960
1984
|
var oJQueryEvent = jQuery.Event("ThemeChanged");
|
|
1961
1985
|
oJQueryEvent.theme = oEvent.theme;
|
|
1962
1986
|
ElementRegistry.forEach(function(oElement) {
|
|
1987
|
+
oJQueryEvent._bNoReturnValue = true; // themeChanged handler aren't allowed to have any retun value. Mark for future fatal throw.
|
|
1963
1988
|
oElement._handleEvent(oJQueryEvent);
|
|
1964
1989
|
});
|
|
1965
1990
|
});
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
*
|
|
44
44
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
45
45
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
46
|
-
* @version 1.120.
|
|
46
|
+
* @version 1.120.11
|
|
47
47
|
* @public
|
|
48
48
|
* @class
|
|
49
49
|
* @alias sap.ui.core.EnabledPropagator
|
package/src/sap/ui/core/HTML.js
CHANGED
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
|
|
|
12
12
|
* Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
|
|
13
13
|
*
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.120.
|
|
15
|
+
* @version 1.120.11
|
|
16
16
|
* @alias module:sap/ui/core/InvisibleRenderer
|
|
17
17
|
* @since 1.66.0
|
|
18
18
|
* @protected
|
package/src/sap/ui/core/Item.js
CHANGED
|
@@ -140,7 +140,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
|
|
|
140
140
|
* @see sap.ui.core.LabelEnablement#enrich
|
|
141
141
|
*
|
|
142
142
|
* @author SAP SE
|
|
143
|
-
* @version 1.120.
|
|
143
|
+
* @version 1.120.11
|
|
144
144
|
* @protected
|
|
145
145
|
* @alias sap.ui.core.LabelEnablement
|
|
146
146
|
* @namespace
|