@openui5/sap.ui.core 1.124.1 → 1.124.3
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/.dtsgenrc +76 -0
- package/package.json +1 -1
- package/src/jquery.sap.global.js +4 -4
- package/src/jquery.sap.properties.js +2 -2
- 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/jquery.sap.ui.js +6 -2
- 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 +35 -10
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/BindingInfo.js +26 -19
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- 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 -8
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- 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 +1 -1
- 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 +50 -13
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +6 -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 +5 -5
- 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 +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +3 -3
- package/src/sap/ui/core/format/FormatUtils.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/ControllerExtension.js +16 -0
- 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 +2 -2
- package/src/sap/ui/core/search/SearchProvider.js +2 -2
- 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/support/trace/E2eTraceLib.js +1 -1
- package/src/sap/ui/core/tmpl/DOMAttribute.js +2 -2
- package/src/sap/ui/core/tmpl/DOMElement.js +2 -2
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +2 -2
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +2 -2
- 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 +2 -2
- package/src/sap/ui/core/util/MockServer.js +1 -2
- package/src/sap/ui/core/util/PasteHelper.js +1 -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 +16 -11
- 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/ODataTreeBindingFlat.js +7 -2
- 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/ODataBinding.js +20 -20
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +8 -4
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +2 -2
- 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/performance/trace/FESR.js +2 -2
- package/src/sap/ui/performance/trace/Interaction.js +1 -1
- package/src/sap/ui/performance/trace/Passport.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/Mobile.js +7 -4
- package/src/sap/ui/util/Storage.js +1 -1
- package/test/sap/ui/core/demokit/sample/Messaging/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/Element_focus.qunit.js +42 -2
- package/test/sap/ui/core/qunit/json/JSONModel.qunit.js +21 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +6 -3
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +94 -2
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +53 -15
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +54 -2
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +1 -1
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +9 -7
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +51 -22
- package/test/sap/ui/core/qunit/ui/Device.qunit.js +68 -25
- package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +19 -0
- package/test/sap/ui/core/qunit/util/Mobile.qunit.js +12 -7
- package/test/sap/ui/core/relnotes/changes-1.124.json +66 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/ui5.yaml +1 -1
package/src/sap/ui/Device.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap
|
|
12
12
|
* dynamically depending on the capabilities of the browser or device.
|
|
13
13
|
*
|
|
14
|
-
* @version 1.124.
|
|
14
|
+
* @version 1.124.3
|
|
15
15
|
* @namespace
|
|
16
16
|
* @name sap.ui.Device
|
|
17
17
|
* @public
|
|
@@ -32,7 +32,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
32
32
|
|
|
33
33
|
//Skip initialization if API is already available
|
|
34
34
|
if (typeof window.sap.ui.Device === "object" || typeof window.sap.ui.Device === "function") {
|
|
35
|
-
var apiVersion = "1.124.
|
|
35
|
+
var apiVersion = "1.124.3";
|
|
36
36
|
window.sap.ui.Device._checkAPIVersion(apiVersion);
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
@@ -105,7 +105,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
105
105
|
|
|
106
106
|
//Only used internal to make clear when Device API is loaded in wrong version
|
|
107
107
|
Device._checkAPIVersion = function(sVersion) {
|
|
108
|
-
var v = "1.124.
|
|
108
|
+
var v = "1.124.3";
|
|
109
109
|
if (v != sVersion) {
|
|
110
110
|
oLogger.log(WARNING, "Device API version differs: " + v + " <-> " + sVersion);
|
|
111
111
|
}
|
|
@@ -416,6 +416,15 @@ if (typeof window.sap.ui !== "object") {
|
|
|
416
416
|
* @type string
|
|
417
417
|
* @public
|
|
418
418
|
*/
|
|
419
|
+
/**
|
|
420
|
+
* The name of the browser for reporting use cases.
|
|
421
|
+
*
|
|
422
|
+
* @see sap.ui.Device.browser.BROWSER
|
|
423
|
+
* @name sap.ui.Device.browser.reportingName
|
|
424
|
+
* @type string
|
|
425
|
+
* @private
|
|
426
|
+
* @ui5-restricted sap.ui.core
|
|
427
|
+
*/
|
|
419
428
|
/**
|
|
420
429
|
* The version of the browser as <code>string</code>.
|
|
421
430
|
*
|
|
@@ -566,8 +575,17 @@ if (typeof window.sap.ui !== "object") {
|
|
|
566
575
|
* @name sap.ui.Device.browser.BROWSER.ANDROID
|
|
567
576
|
* @public
|
|
568
577
|
*/
|
|
578
|
+
/**
|
|
579
|
+
* Edge stock browser name.
|
|
580
|
+
*
|
|
581
|
+
* @see sap.ui.Device.browser.name
|
|
582
|
+
* @name sap.ui.Device.browser.BROWSER.EDGE
|
|
583
|
+
* @private
|
|
584
|
+
* @ui5-restricted sap.ui.core
|
|
585
|
+
*/
|
|
569
586
|
|
|
570
|
-
|
|
587
|
+
const BROWSER = {
|
|
588
|
+
"EDGE": "ed",
|
|
571
589
|
"FIREFOX": "ff",
|
|
572
590
|
"CHROME": "cr",
|
|
573
591
|
"SAFARI": "sf",
|
|
@@ -623,7 +641,8 @@ if (typeof window.sap.ui !== "object") {
|
|
|
623
641
|
versionStr: "" + fVersion,
|
|
624
642
|
version: fVersion,
|
|
625
643
|
mozilla: true,
|
|
626
|
-
mobile: oExpMobile.test(sUserAgent)
|
|
644
|
+
mobile: oExpMobile.test(sUserAgent),
|
|
645
|
+
reportingName: BROWSER.FIREFOX
|
|
627
646
|
};
|
|
628
647
|
} else {
|
|
629
648
|
// unknown mozilla browser
|
|
@@ -642,8 +661,10 @@ if (typeof window.sap.ui !== "object") {
|
|
|
642
661
|
}
|
|
643
662
|
oExpMobile = /Mobile/;
|
|
644
663
|
var aChromeMatch = sUserAgent.match(/(Chrome|CriOS)\/(\d+\.\d+).\d+/);
|
|
664
|
+
var aEdgeMatch = sUserAgent.match(/(Edg)\/(\d+\.\d+).\d+/);
|
|
645
665
|
var aFirefoxMatch = sUserAgent.match(/FxiOS\/(\d+\.\d+)/);
|
|
646
666
|
var aAndroidMatch = sUserAgent.match(/Android .+ Version\/(\d+\.\d+)/);
|
|
667
|
+
let sReportingName;
|
|
647
668
|
|
|
648
669
|
if (aChromeMatch || aFirefoxMatch || aAndroidMatch) {
|
|
649
670
|
var sName, sVersion, bMobile;
|
|
@@ -651,12 +672,13 @@ if (typeof window.sap.ui !== "object") {
|
|
|
651
672
|
sName = BROWSER.CHROME;
|
|
652
673
|
bMobile = oExpMobile.test(sUserAgent);
|
|
653
674
|
sVersion = parseFloat(aChromeMatch[2]);
|
|
675
|
+
sReportingName = aEdgeMatch ? BROWSER.EDGE : BROWSER.CHROME;
|
|
654
676
|
} else if (aFirefoxMatch) {
|
|
655
|
-
sName = BROWSER.FIREFOX;
|
|
677
|
+
sName = sReportingName = BROWSER.FIREFOX;
|
|
656
678
|
bMobile = true;
|
|
657
679
|
sVersion = parseFloat(aFirefoxMatch[1]);
|
|
658
680
|
} else if (aAndroidMatch) {
|
|
659
|
-
sName = BROWSER.ANDROID;
|
|
681
|
+
sName = sReportingName = BROWSER.ANDROID;
|
|
660
682
|
bMobile = oExpMobile.test(sUserAgent);
|
|
661
683
|
sVersion = parseFloat(aAndroidMatch[1]);
|
|
662
684
|
}
|
|
@@ -667,7 +689,8 @@ if (typeof window.sap.ui !== "object") {
|
|
|
667
689
|
versionStr: "" + sVersion,
|
|
668
690
|
version: sVersion,
|
|
669
691
|
webkit: true,
|
|
670
|
-
webkitVersion: webkitVersion
|
|
692
|
+
webkitVersion: webkitVersion,
|
|
693
|
+
reportingName: sReportingName
|
|
671
694
|
};
|
|
672
695
|
} else { // Safari might have an issue with sUserAgent.match(...); thus changing
|
|
673
696
|
var oExp = /Version\/(\d+\.\d+).*Safari/;
|
|
@@ -682,7 +705,8 @@ if (typeof window.sap.ui !== "object") {
|
|
|
682
705
|
webview: /SAPFioriClient/.test(sUserAgent),
|
|
683
706
|
mobile: oExpMobile.test(sUserAgent),
|
|
684
707
|
webkit: true,
|
|
685
|
-
webkitVersion: webkitVersion
|
|
708
|
+
webkitVersion: webkitVersion,
|
|
709
|
+
reportingName: BROWSER.SAFARI
|
|
686
710
|
};
|
|
687
711
|
var aParts = oExp.exec(sUserAgent);
|
|
688
712
|
if (aParts) {
|
|
@@ -706,7 +730,8 @@ if (typeof window.sap.ui !== "object") {
|
|
|
706
730
|
name: "",
|
|
707
731
|
versionStr: "",
|
|
708
732
|
version: -1,
|
|
709
|
-
mobile: false
|
|
733
|
+
mobile: false,
|
|
734
|
+
reportingName: ""
|
|
710
735
|
};
|
|
711
736
|
}
|
|
712
737
|
|
package/src/sap/ui/Global.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* sap.ui.lazyRequire("sap.ui.core.Control");
|
|
19
19
|
* sap.ui.lazyRequire("sap.m.Button");
|
|
20
20
|
*
|
|
21
|
-
* @version 1.124.
|
|
21
|
+
* @version 1.124.3
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* The <code>sap</code> namespace is automatically registered with the
|
|
49
49
|
* OpenAjax hub if it exists.
|
|
50
50
|
*
|
|
51
|
-
* @version 1.124.
|
|
51
|
+
* @version 1.124.3
|
|
52
52
|
* @namespace
|
|
53
53
|
* @public
|
|
54
54
|
* @name sap
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
* The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
|
|
59
59
|
* point for UI related JavaScript functionality provided by SAP.
|
|
60
60
|
*
|
|
61
|
-
* @version 1.124.
|
|
61
|
+
* @version 1.124.3
|
|
62
62
|
* @namespace
|
|
63
63
|
* @name sap.ui
|
|
64
64
|
* @public
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
* The version of the SAP UI Library
|
|
70
70
|
* @type string
|
|
71
71
|
*/
|
|
72
|
-
version: "1.124.
|
|
72
|
+
version: "1.124.3",
|
|
73
73
|
// buildinfo.lastchange is deprecated and is therefore defaulted to empty string
|
|
74
74
|
buildinfo : { lastchange : "", buildtime : "${buildtime}" }
|
|
75
75
|
};
|
|
@@ -19,6 +19,29 @@ sap.ui.define([
|
|
|
19
19
|
// Marker to not 'forget' ui5Objects
|
|
20
20
|
var sUI5ObjectMarker = Symbol("ui5object");
|
|
21
21
|
|
|
22
|
+
// Marker symbol for BindingInfos which already have extracted a
|
|
23
|
+
// named model from their path
|
|
24
|
+
const MODEL_NAME_EXTRACTED = Symbol("ModelNameExtracted");
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Checks if the "path" of the given BindingInfo/part contains
|
|
28
|
+
* a model name and if so extracts it accordingly.
|
|
29
|
+
* @param {sap.ui.base.BindingInfo} oPart the BindingInfo to check for a model name
|
|
30
|
+
* @returns {sap.ui.base.BindingInfo} the modified BindingInfo
|
|
31
|
+
*/
|
|
32
|
+
function extractModelName(oPart) {
|
|
33
|
+
if (!oPart[MODEL_NAME_EXTRACTED]) {
|
|
34
|
+
// if a model separator is found in the path, extract model name and path
|
|
35
|
+
const iSeparatorPos = oPart.path.indexOf(">");
|
|
36
|
+
if (iSeparatorPos > 0) {
|
|
37
|
+
oPart.model = oPart.path.substr(0, iSeparatorPos);
|
|
38
|
+
oPart.path = oPart.path.substr(iSeparatorPos + 1);
|
|
39
|
+
oPart[MODEL_NAME_EXTRACTED] = true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return oPart;
|
|
43
|
+
}
|
|
44
|
+
|
|
22
45
|
/**
|
|
23
46
|
* This module is responsible for the following tasks:
|
|
24
47
|
* - extracting and parsing binding-info objects
|
|
@@ -40,8 +63,6 @@ sap.ui.define([
|
|
|
40
63
|
* @ui5-restricted sap.ui.base, sap.ui.core
|
|
41
64
|
*/
|
|
42
65
|
createProperty: function(oBindingInfo) {
|
|
43
|
-
var iSeparatorPos;
|
|
44
|
-
|
|
45
66
|
// only one binding object with one binding specified
|
|
46
67
|
if (!oBindingInfo.parts) {
|
|
47
68
|
oBindingInfo.parts = [];
|
|
@@ -74,11 +95,7 @@ sap.ui.define([
|
|
|
74
95
|
|
|
75
96
|
// if a model separator is found in the path, extract model name and path
|
|
76
97
|
if (oPart.path !== undefined) {
|
|
77
|
-
|
|
78
|
-
if (iSeparatorPos > 0) {
|
|
79
|
-
oPart.model = oPart.path.substr(0, iSeparatorPos);
|
|
80
|
-
oPart.path = oPart.path.substr(iSeparatorPos + 1);
|
|
81
|
-
}
|
|
98
|
+
extractModelName(oPart);
|
|
82
99
|
}
|
|
83
100
|
// if a formatter exists the binding mode can be one way or one time only
|
|
84
101
|
if (oBindingInfo.formatter &&
|
|
@@ -118,11 +135,7 @@ sap.ui.define([
|
|
|
118
135
|
}
|
|
119
136
|
|
|
120
137
|
// if a model separator is found in the path, extract model name and path
|
|
121
|
-
|
|
122
|
-
if (iSeparatorPos > 0) {
|
|
123
|
-
oBindingInfo.model = oBindingInfo.path.substr(0, iSeparatorPos);
|
|
124
|
-
oBindingInfo.path = oBindingInfo.path.substr(iSeparatorPos + 1);
|
|
125
|
-
}
|
|
138
|
+
extractModelName(oBindingInfo);
|
|
126
139
|
return oBindingInfo;
|
|
127
140
|
},
|
|
128
141
|
|
|
@@ -134,14 +147,8 @@ sap.ui.define([
|
|
|
134
147
|
* @ui5-restricted sap.ui.base, sap.ui.core
|
|
135
148
|
*/
|
|
136
149
|
createObject: function(oBindingInfo) {
|
|
137
|
-
var iSeparatorPos;
|
|
138
|
-
|
|
139
150
|
// if a model separator is found in the path, extract model name and path
|
|
140
|
-
|
|
141
|
-
if (iSeparatorPos > 0) {
|
|
142
|
-
oBindingInfo.model = oBindingInfo.path.substr(0, iSeparatorPos);
|
|
143
|
-
oBindingInfo.path = oBindingInfo.path.substr(iSeparatorPos + 1);
|
|
144
|
-
}
|
|
151
|
+
extractModelName(oBindingInfo);
|
|
145
152
|
return oBindingInfo;
|
|
146
153
|
},
|
|
147
154
|
|
package/src/sap/ui/base/Event.js
CHANGED
|
@@ -23,7 +23,7 @@ sap.ui.define(['./Object', "sap/base/assert"],
|
|
|
23
23
|
* @extends sap.ui.base.Object
|
|
24
24
|
* @implements sap.ui.base.Poolable
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.124.
|
|
26
|
+
* @version 1.124.3
|
|
27
27
|
* @alias sap.ui.base.Event
|
|
28
28
|
* @public
|
|
29
29
|
* @template {Object<string,any>} [ParamsType=object]
|
|
@@ -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.124.
|
|
31
|
+
* @version 1.124.3
|
|
32
32
|
* @param {sap.ui.base.Object} oObject
|
|
33
33
|
* Object for which a facade should be created
|
|
34
34
|
* @param {string[]} aMethods
|
|
@@ -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.124.
|
|
29
|
+
* @version 1.124.3
|
|
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.124.
|
|
9
|
+
<version>1.124.3</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -483,13 +483,6 @@
|
|
|
483
483
|
</modules>
|
|
484
484
|
</component>
|
|
485
485
|
|
|
486
|
-
<component>
|
|
487
|
-
<name>CA-WDE-MCK</name>
|
|
488
|
-
<modules>
|
|
489
|
-
<module>sap/ui/core/util/MockServer</module>
|
|
490
|
-
</modules>
|
|
491
|
-
</component>
|
|
492
|
-
|
|
493
486
|
<component>
|
|
494
487
|
<name>CA-UI5-CTR-ROD</name>
|
|
495
488
|
<modules>
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @extends sap.ui.core.Element
|
|
85
85
|
* @abstract
|
|
86
86
|
* @author SAP SE
|
|
87
|
-
* @version 1.124.
|
|
87
|
+
* @version 1.124.3
|
|
88
88
|
* @alias sap.ui.core.Control
|
|
89
89
|
*/
|
|
90
90
|
var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
|
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -134,7 +134,7 @@ sap.ui.define([
|
|
|
134
134
|
*
|
|
135
135
|
* @extends sap.ui.base.ManagedObject
|
|
136
136
|
* @author SAP SE
|
|
137
|
-
* @version 1.124.
|
|
137
|
+
* @version 1.124.3
|
|
138
138
|
* @public
|
|
139
139
|
* @alias sap.ui.core.Element
|
|
140
140
|
*/
|
|
@@ -522,23 +522,34 @@ sap.ui.define([
|
|
|
522
522
|
};
|
|
523
523
|
|
|
524
524
|
/*
|
|
525
|
-
* Intercept any changes for properties named "enabled".
|
|
525
|
+
* Intercept any changes for properties named "enabled" and "visible".
|
|
526
526
|
*
|
|
527
|
-
* If
|
|
527
|
+
* If a change for "enabled" property is detected, inform all descendants that use the `EnabledPropagator`
|
|
528
528
|
* so that they can recalculate their own, derived enabled state.
|
|
529
529
|
* This is required in the context of rendering V4 to make the state of controls/elements
|
|
530
530
|
* self-contained again when they're using the `EnabledPropagator` mixin.
|
|
531
|
+
*
|
|
532
|
+
* Fires "focusfail" event, if the "enabled" or "visible" property is changed to "false" and the element was focused.
|
|
531
533
|
*/
|
|
532
534
|
Element.prototype.setProperty = function(sPropertyName, vValue, bSuppressInvalidate) {
|
|
533
|
-
|
|
535
|
+
|
|
536
|
+
if ((sPropertyName != "enabled" && sPropertyName != "visible") || bSuppressInvalidate) {
|
|
534
537
|
return ManagedObject.prototype.setProperty.apply(this, arguments);
|
|
535
538
|
}
|
|
536
539
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
540
|
+
if (sPropertyName == "enabled") {
|
|
541
|
+
var bOldEnabled = this.mProperties.enabled;
|
|
542
|
+
ManagedObject.prototype.setProperty.apply(this, arguments);
|
|
543
|
+
|
|
544
|
+
if (bOldEnabled != this.mProperties.enabled) {
|
|
545
|
+
// the EnabledPropagator knows better which descendants to update
|
|
546
|
+
EnabledPropagator.updateDescendants(this);
|
|
547
|
+
}
|
|
548
|
+
} else if (sPropertyName === "visible") {
|
|
549
|
+
ManagedObject.prototype.setProperty.apply(this, arguments);
|
|
550
|
+
if (vValue === false && this.getDomRef()?.contains(document.activeElement)) {
|
|
551
|
+
Element.fireFocusFail.call(this);
|
|
552
|
+
}
|
|
542
553
|
}
|
|
543
554
|
|
|
544
555
|
return this;
|
|
@@ -598,6 +609,20 @@ sap.ui.define([
|
|
|
598
609
|
return this.oParent ? this.oParent.getUIArea() : null;
|
|
599
610
|
};
|
|
600
611
|
|
|
612
|
+
/**
|
|
613
|
+
* Fires a "focusfail" event.
|
|
614
|
+
* The event is propagated to the parent of the current element.
|
|
615
|
+
*
|
|
616
|
+
* @private
|
|
617
|
+
*/
|
|
618
|
+
Element.fireFocusFail = function() {
|
|
619
|
+
const oEvent = jQuery.Event("focusfail");
|
|
620
|
+
oEvent.srcControl = this;
|
|
621
|
+
|
|
622
|
+
const oParent = this.getParent();
|
|
623
|
+
oParent?._handleEvent?.(oEvent);
|
|
624
|
+
};
|
|
625
|
+
|
|
601
626
|
/**
|
|
602
627
|
* Cleans up the resources associated with this element and all its children.
|
|
603
628
|
*
|
|
@@ -1046,16 +1071,19 @@ sap.ui.define([
|
|
|
1046
1071
|
* @param {object} [oFocusInfo={}] Options for setting the focus
|
|
1047
1072
|
* @param {boolean} [oFocusInfo.preventScroll=false] @since 1.60 if it's set to true, the focused
|
|
1048
1073
|
* element won't be shifted into the viewport if it's not completely visible before the focus is set
|
|
1049
|
-
|
|
1074
|
+
* @param {any} [oFocusInfo.targetInfo] Further control-specific setting of the focus target within the control @since 1.98
|
|
1050
1075
|
* @public
|
|
1051
1076
|
*/
|
|
1052
1077
|
Element.prototype.focus = function (oFocusInfo) {
|
|
1053
1078
|
var oFocusDomRef = this.getFocusDomRef(),
|
|
1054
|
-
|
|
1079
|
+
aScrollHierarchy = [];
|
|
1055
1080
|
|
|
1056
|
-
|
|
1081
|
+
if (!oFocusDomRef) {
|
|
1082
|
+
return;
|
|
1083
|
+
}
|
|
1057
1084
|
|
|
1058
|
-
if (oFocusDomRef) {
|
|
1085
|
+
if (jQuery(oFocusDomRef).is(":sapFocusable")) {
|
|
1086
|
+
oFocusInfo = oFocusInfo || {};
|
|
1059
1087
|
// save the scroll position of all ancestor DOM elements
|
|
1060
1088
|
// before the focus is set, because preventScroll is not supported by the following browsers
|
|
1061
1089
|
if (Device.browser.safari) {
|
|
@@ -1071,6 +1099,15 @@ sap.ui.define([
|
|
|
1071
1099
|
} else {
|
|
1072
1100
|
oFocusDomRef.focus(oFocusInfo);
|
|
1073
1101
|
}
|
|
1102
|
+
} else {
|
|
1103
|
+
const oDomRef = this.getDomRef();
|
|
1104
|
+
// In case the control already contains the active element, we
|
|
1105
|
+
// should not fire 'FocusFail' even when the oFocusDomRef isn't
|
|
1106
|
+
// focusable because not all controls defines the 'getFocusDomRef'
|
|
1107
|
+
// method properly
|
|
1108
|
+
if (oDomRef && !oDomRef.contains(document.activeElement) && !this._bIsBeingDestroyed) {
|
|
1109
|
+
Element.fireFocusFail.call(this);
|
|
1110
|
+
}
|
|
1074
1111
|
}
|
|
1075
1112
|
};
|
|
1076
1113
|
|
|
@@ -10,6 +10,8 @@ sap.ui.define([
|
|
|
10
10
|
], function() {
|
|
11
11
|
"use strict";
|
|
12
12
|
|
|
13
|
+
let Element;
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Mixin for enhancement of a control prototype with propagation of the <code>enabled</code> property.
|
|
15
17
|
*
|
|
@@ -43,7 +45,7 @@ sap.ui.define([
|
|
|
43
45
|
*
|
|
44
46
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
45
47
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
46
|
-
* @version 1.124.
|
|
48
|
+
* @version 1.124.3
|
|
47
49
|
* @public
|
|
48
50
|
* @class
|
|
49
51
|
* @alias sap.ui.core.EnabledPropagator
|
|
@@ -152,6 +154,9 @@ sap.ui.define([
|
|
|
152
154
|
oFocusableAncestor.focus({
|
|
153
155
|
preventScroll: true
|
|
154
156
|
});
|
|
157
|
+
} else {
|
|
158
|
+
Element ??= sap.ui.require("sap/ui/core/Element");
|
|
159
|
+
Element?.fireFocusFail.call(oControl);
|
|
155
160
|
}
|
|
156
161
|
}
|
|
157
162
|
}
|
package/src/sap/ui/core/HTML.js
CHANGED