@openui5/sap.ui.core 1.136.4 → 1.139.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 +3 -3
- package/README.md +1 -1
- package/REUSE.toml +8 -29
- package/THIRDPARTY.txt +72 -90
- package/package.json +2 -2
- 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/LanguageFallback.js +18 -2
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/Localization.js +5 -3
- package/src/sap/base/i18n/ResourceBundle.js +59 -35
- 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 +3 -3
- package/src/sap/ui/base/BindingInfo.js +18 -9
- package/src/sap/ui/base/BindingParser.js +13 -6
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -8
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +37 -27
- 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/base/OwnStatics.js +49 -0
- package/src/sap/ui/core/.library +9 -31
- package/src/sap/ui/core/BusyIndicator.js +8 -8
- package/src/sap/ui/core/Component.js +63 -73
- package/src/sap/ui/core/ComponentContainer.js +34 -4
- 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 +2 -2
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +13 -11
- package/src/sap/ui/core/Element.js +1 -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/ExtensionPoint.js +4 -4
- package/src/sap/ui/core/Fragment.js +10 -6
- 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/Lib.js +39 -24
- 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/Popup.js +39 -178
- 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/Theming.js +2 -2
- 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 +16 -57
- 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/XMLTemplateProcessor.js +5 -1
- package/src/sap/ui/core/_IconRegistry.js +2 -0
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +12 -2
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +5 -3
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- 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/interaction/KeyboardInteractionDisplay.js +64 -37
- 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 +6 -6
- package/src/sap/ui/core/messagebundle.properties +58 -28
- package/src/sap/ui/core/messagebundle_mk.properties +3 -3
- package/src/sap/ui/core/mvc/Controller.js +5 -1
- package/src/sap/ui/core/mvc/HTMLView.js +6 -2
- package/src/sap/ui/core/mvc/JSONView.js +6 -2
- package/src/sap/ui/core/mvc/JSView.js +6 -3
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +69 -195
- package/src/sap/ui/core/mvc/XMLView.js +7 -2
- package/src/sap/ui/core/mvc/_ViewFactory.js +196 -0
- 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/Route.js +197 -13
- package/src/sap/ui/core/routing/Router.js +19 -8
- package/src/sap/ui/core/routing/RouterHashChanger.js +12 -3
- package/src/sap/ui/core/routing/Target.js +714 -61
- package/src/sap/ui/core/routing/TargetCache.js +205 -25
- package/src/sap/ui/core/routing/Targets.js +162 -67
- package/src/sap/ui/core/routing/Views.js +1 -0
- package/src/sap/ui/core/routing/sync/Route.js +1 -1
- package/src/sap/ui/core/routing/sync/Target.js +11 -1
- package/src/sap/ui/core/routing/sync/TargetCache.js +3 -3
- package/src/sap/ui/core/routing/sync/Targets.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 -48
- package/src/sap/ui/core/service/ServiceFactory.js +44 -4
- 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 +356 -353
- 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 +4 -2
- package/src/sap/ui/core/themes/base/base.less +20 -20
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/themes/base/global.less +4 -0
- package/src/sap/ui/core/themes/base/skeleton.less +3 -3
- package/src/sap/ui/core/theming/ThemeHelper.js +1 -18
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +4 -4
- 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 +8 -1
- package/src/sap/ui/core/util/reflection/XmlTreeModifier.js +4 -4
- 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 +2 -3
- package/src/sap/ui/core/webc/WebComponentMetadata.js +2 -3
- package/src/sap/ui/core/webc/WebComponentRenderer.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 +2 -2
- 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/Filter.js +55 -35
- package/src/sap/ui/model/FilterOperator.js +79 -9
- 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/analytics/AnalyticalBinding.js +2 -1
- package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +2 -1
- package/src/sap/ui/model/analytics/ODataModelAdapter.js +2 -1
- package/src/sap/ui/model/analytics/odata4analytics.js +2 -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 +3 -3
- package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +2 -1
- package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +3 -3
- 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 +2 -2
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +20 -17
- package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +4 -4
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +34 -22
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +60 -22
- package/src/sap/ui/model/odata/v4/ODataModel.js +9 -8
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataUtils.js +2 -2
- package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +4 -4
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +98 -89
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +39 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +32 -26
- package/src/sap/ui/model/odata/v4/lib/_GroupLock.js +10 -4
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +44 -24
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +50 -19
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +1 -1
- 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 -4
- 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/Opa.js +14 -2
- package/src/sap/ui/test/Opa5.js +61 -10
- package/src/sap/ui/test/TestUtils.js +6 -2
- package/src/sap/ui/test/generic/GenericTestCollection.js +11 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/thirdparty/datajs.js +13 -10
- package/src/sap/ui/thirdparty/jquery.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +49 -59
- package/src/ui5loader.js +1 -1
- package/src/sap/ui/core/routing/async/Route.js +0 -186
- package/src/sap/ui/core/routing/async/Target.js +0 -712
- package/src/sap/ui/core/routing/async/TargetCache.js +0 -196
- package/src/sap/ui/core/routing/async/Targets.js +0 -130
- package/src/sap/ui/thirdparty/iscroll-lite.js +0 -603
- package/src/sap/ui/thirdparty/iscroll.js +0 -1104
- package/src/sap/ui/thirdparty/mobiscroll/css/mobiscroll-core.css +0 -416
- package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-core.js +0 -127
- package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-datetime.js +0 -818
- package/src/sap/ui/thirdparty/mobiscroll/js/mobiscroll-scroller.js +0 -1264
- package/src/sap/ui/thirdparty/swipe-view.js +0 -560
package/src/sap/ui/core/Popup.js
CHANGED
|
@@ -530,210 +530,71 @@ sap.ui.define([
|
|
|
530
530
|
*/
|
|
531
531
|
Popup.prototype.preventBrowserFocus = Device.support.touch && !Device.system.combi;
|
|
532
532
|
|
|
533
|
-
|
|
534
|
-
//
|
|
535
|
-
|
|
533
|
+
var iLastZIndex = 0;
|
|
534
|
+
// TODO: Implement Number.SAFE_MAX_INTEGER (Math.pow(2, 53) -1) when ECMAScript 6 is mostly supported
|
|
535
|
+
var iMaxInteger = Math.pow(2, 32) - 1;
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
|
-
*
|
|
538
|
+
* Set an initial z-index that should be used by all Popup so all Popups start at least
|
|
539
|
+
* with the set z-index.
|
|
540
|
+
* If the given z-index is lower than any current available z-index the highest z-index will be used.
|
|
539
541
|
*
|
|
540
|
-
* @
|
|
541
|
-
* @
|
|
542
|
-
* @
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
var sDomString = this.getDomString();
|
|
548
|
-
this._$Ref = jQuery(sDomString).appendTo(StaticArea.getDomRef());
|
|
542
|
+
* @param {number} iInitialZIndex is the initial z-index
|
|
543
|
+
* @public
|
|
544
|
+
* @since 1.30.0
|
|
545
|
+
*/
|
|
546
|
+
Popup.setInitialZIndex = function(iInitialZIndex){
|
|
547
|
+
if (iInitialZIndex >= iMaxInteger) {
|
|
548
|
+
throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");
|
|
549
549
|
}
|
|
550
|
-
|
|
550
|
+
|
|
551
|
+
iLastZIndex = Math.max(iInitialZIndex, this.getLastZIndex());
|
|
552
|
+
};
|
|
551
553
|
|
|
552
554
|
/**
|
|
553
|
-
*
|
|
554
|
-
* and insert the popup directly after the given <code>oRef</code> element
|
|
555
|
+
* Returns the last z-index that has been handed out. does not increase the internal z-index counter.
|
|
555
556
|
*
|
|
556
|
-
* @
|
|
557
|
-
* @
|
|
558
|
-
* @private
|
|
557
|
+
* @returns {number} The z-index value
|
|
558
|
+
* @public
|
|
559
559
|
*/
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
"visibility" : "visible",
|
|
563
|
-
"z-index" : iZIndex
|
|
564
|
-
});
|
|
565
|
-
this.update(oRef, iZIndex);
|
|
566
|
-
this._$Ref.insertAfter(oRef).show();
|
|
560
|
+
Popup.getLastZIndex = function(){
|
|
561
|
+
return iLastZIndex;
|
|
567
562
|
};
|
|
568
563
|
|
|
569
564
|
/**
|
|
570
|
-
*
|
|
565
|
+
* Returns the last z-index that has been handed out. does not increase the internal z-index counter.
|
|
571
566
|
*
|
|
572
|
-
* @
|
|
573
|
-
* @
|
|
574
|
-
* @protected
|
|
567
|
+
* @returns {number} Th z-index value
|
|
568
|
+
* @public
|
|
575
569
|
*/
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
var oRect = oRef.rect();
|
|
579
|
-
this._$Ref.css({
|
|
580
|
-
"left" : oRect.left,
|
|
581
|
-
"top" : oRect.top
|
|
582
|
-
});
|
|
583
|
-
|
|
584
|
-
if (oRef.css("right") != "auto" && oRef.css("right") != "inherit") {
|
|
585
|
-
this._$Ref.css({
|
|
586
|
-
"right" : oRef.css("right"),
|
|
587
|
-
"width" : "auto"
|
|
588
|
-
});
|
|
589
|
-
} else {
|
|
590
|
-
this._$Ref.css({
|
|
591
|
-
"width" : oRect.width,
|
|
592
|
-
"right" : "auto"
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
if (oRef.css("bottom") != "auto" && oRef.css("bottom") != "inherit") {
|
|
596
|
-
this._$Ref.css({
|
|
597
|
-
"bottom" : oRef.css("bottom"),
|
|
598
|
-
"height" : "auto"
|
|
599
|
-
});
|
|
600
|
-
} else {
|
|
601
|
-
this._$Ref.css({
|
|
602
|
-
"height" : oRect.height,
|
|
603
|
-
"bottom" : "auto"
|
|
604
|
-
});
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (typeof (iZIndex) === "number") {
|
|
608
|
-
this._$Ref.css("z-index", iZIndex);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
570
|
+
Popup.prototype.getLastZIndex = function(){
|
|
571
|
+
return Popup.getLastZIndex();
|
|
611
572
|
};
|
|
612
573
|
|
|
613
574
|
/**
|
|
614
|
-
*
|
|
575
|
+
* Returns the next available z-index on top of the existing/previous popups. Each call increases the internal z-index counter and the returned z-index.
|
|
615
576
|
*
|
|
616
|
-
* @
|
|
577
|
+
* @returns {number} the next z-index on top of the Popup stack
|
|
578
|
+
* @public
|
|
617
579
|
*/
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
this._$Ref.appendTo(StaticArea.getDomRef());
|
|
580
|
+
Popup.getNextZIndex = function(){
|
|
581
|
+
iLastZIndex += 10;
|
|
582
|
+
if (iLastZIndex >= iMaxInteger) {
|
|
583
|
+
throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");
|
|
624
584
|
}
|
|
585
|
+
return iLastZIndex;
|
|
625
586
|
};
|
|
626
587
|
|
|
627
588
|
/**
|
|
628
|
-
*
|
|
589
|
+
* Returns the next available z-index on top of the existing/previous popups. Each call increases the internal z-index counter and the returned z-index.
|
|
629
590
|
*
|
|
630
|
-
* @
|
|
631
|
-
* @
|
|
591
|
+
* @returns {number} the next z-index on top of the Popup stack
|
|
592
|
+
* @public
|
|
632
593
|
*/
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
return "";
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
// End of Layer
|
|
640
|
-
|
|
641
|
-
//****************************************************
|
|
642
|
-
// ShieldLayer et al.
|
|
643
|
-
//****************************************************
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* @class
|
|
647
|
-
* @private
|
|
648
|
-
* @alias sap.ui.core.Popup.ShieldLayer
|
|
649
|
-
*/
|
|
650
|
-
var ShieldLayer = Layer.extend("sap.ui.core.Popup.ShieldLayer", {
|
|
651
|
-
constructor: function() {
|
|
652
|
-
Layer.apply(this);
|
|
653
|
-
}
|
|
654
|
-
});
|
|
655
|
-
|
|
656
|
-
ShieldLayer.prototype.getDomString = function(){
|
|
657
|
-
return "<div class=\"sapUiPopupShield\" id=\"sap-ui-shieldlayer-" + uid() + "\"></div>";
|
|
594
|
+
Popup.prototype.getNextZIndex = function(){
|
|
595
|
+
return Popup.getNextZIndex();
|
|
658
596
|
};
|
|
659
597
|
|
|
660
|
-
/**
|
|
661
|
-
* Facility for reuse of created shield layers.
|
|
662
|
-
* @type sap.ui.base.ObjectPool
|
|
663
|
-
* @private
|
|
664
|
-
*/
|
|
665
|
-
Popup.prototype.oShieldLayerPool = new ObjectPool(ShieldLayer);
|
|
666
|
-
//End of ShieldLayer
|
|
667
|
-
|
|
668
|
-
// Begin of Popup-Stacking facilities
|
|
669
|
-
(function() {
|
|
670
|
-
var iLastZIndex = 0;
|
|
671
|
-
// TODO: Implement Number.SAFE_MAX_INTEGER (Math.pow(2, 53) -1) when ECMAScript 6 is mostly supported
|
|
672
|
-
var iMaxInteger = Math.pow(2, 32) - 1;
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Set an initial z-index that should be used by all Popup so all Popups start at least
|
|
676
|
-
* with the set z-index.
|
|
677
|
-
* If the given z-index is lower than any current available z-index the highest z-index will be used.
|
|
678
|
-
*
|
|
679
|
-
* @param {number} iInitialZIndex is the initial z-index
|
|
680
|
-
* @public
|
|
681
|
-
* @since 1.30.0
|
|
682
|
-
*/
|
|
683
|
-
Popup.setInitialZIndex = function(iInitialZIndex){
|
|
684
|
-
if (iInitialZIndex >= iMaxInteger) {
|
|
685
|
-
throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
iLastZIndex = Math.max(iInitialZIndex, this.getLastZIndex());
|
|
689
|
-
};
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Returns the last z-index that has been handed out. does not increase the internal z-index counter.
|
|
693
|
-
*
|
|
694
|
-
* @returns {number} The z-index value
|
|
695
|
-
* @public
|
|
696
|
-
*/
|
|
697
|
-
Popup.getLastZIndex = function(){
|
|
698
|
-
return iLastZIndex;
|
|
699
|
-
};
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Returns the last z-index that has been handed out. does not increase the internal z-index counter.
|
|
703
|
-
*
|
|
704
|
-
* @returns {number} Th z-index value
|
|
705
|
-
* @public
|
|
706
|
-
*/
|
|
707
|
-
Popup.prototype.getLastZIndex = function(){
|
|
708
|
-
return Popup.getLastZIndex();
|
|
709
|
-
};
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* Returns the next available z-index on top of the existing/previous popups. Each call increases the internal z-index counter and the returned z-index.
|
|
713
|
-
*
|
|
714
|
-
* @returns {number} the next z-index on top of the Popup stack
|
|
715
|
-
* @public
|
|
716
|
-
*/
|
|
717
|
-
Popup.getNextZIndex = function(){
|
|
718
|
-
iLastZIndex += 10;
|
|
719
|
-
if (iLastZIndex >= iMaxInteger) {
|
|
720
|
-
throw new Error("Z-index can't be higher than Number.MAX_SAFE_INTEGER");
|
|
721
|
-
}
|
|
722
|
-
return iLastZIndex;
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* Returns the next available z-index on top of the existing/previous popups. Each call increases the internal z-index counter and the returned z-index.
|
|
727
|
-
*
|
|
728
|
-
* @returns {number} the next z-index on top of the Popup stack
|
|
729
|
-
* @public
|
|
730
|
-
*/
|
|
731
|
-
Popup.prototype.getNextZIndex = function(){
|
|
732
|
-
return Popup.getNextZIndex();
|
|
733
|
-
};
|
|
734
|
-
}());
|
|
735
|
-
// End of Popup-Stacking facilities
|
|
736
|
-
|
|
737
598
|
/**
|
|
738
599
|
* This function compares two different objects (created via jQuery(DOM-ref).rect()).
|
|
739
600
|
* If the left, top, width or height differs more than a set puffer this function
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* The ScrollBar control can be used for virtual scrolling of a certain area.
|
|
45
45
|
* This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.139.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @deprecated As of version 1.56, the concept has been discarded.
|
|
@@ -123,7 +123,7 @@ sap.ui.define([
|
|
|
123
123
|
* @param {string} [sLib] An optional library name
|
|
124
124
|
* @returns {string} The themeRoot if configured
|
|
125
125
|
* @private
|
|
126
|
-
* @ui5-restricted sap.ui.core.theming.ThemeManager
|
|
126
|
+
* @ui5-restricted sap.ui.core.theming.ThemeManager, sap.ushell
|
|
127
127
|
* @since 1.118
|
|
128
128
|
*/
|
|
129
129
|
getThemeRoot: (sTheme, sLib) => {
|
|
@@ -189,7 +189,7 @@ sap.ui.define([
|
|
|
189
189
|
* @param {string[]} [aLibraryNames] Optional library names to which the configuration should be restricted
|
|
190
190
|
* @param {boolean} [bForceUpdate=false] Force updating URLs of currently loaded theme
|
|
191
191
|
* @private
|
|
192
|
-
* @ui5-restricted sap.ui.core.Core
|
|
192
|
+
* @ui5-restricted sap.ui.core.Core, sap.ushell
|
|
193
193
|
* @since 1.118
|
|
194
194
|
*/
|
|
195
195
|
setThemeRoot: (sThemeName, sThemeBaseUrl, aLibraryNames, bForceUpdate) => {
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class
|
|
33
33
|
* Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.139.0
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @alias sap.ui.core.TooltipBase
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
*
|
|
171
171
|
* @extends sap.ui.base.ManagedObject
|
|
172
172
|
* @author SAP SE
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.139.0
|
|
174
174
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
175
175
|
* @public
|
|
176
176
|
* @alias sap.ui.core.UIArea
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// Provides base class sap.ui.core.Component for all components
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
'../base/ManagedObject',
|
|
10
|
+
'../base/OwnStatics',
|
|
10
11
|
'./Component',
|
|
11
12
|
'./ComponentHooks',
|
|
12
13
|
'./Element',
|
|
@@ -15,12 +16,14 @@ sap.ui.define([
|
|
|
15
16
|
'./UIComponentMetadata',
|
|
16
17
|
'./mvc/Controller',
|
|
17
18
|
'./mvc/View',
|
|
19
|
+
'./mvc/_ViewFactory',
|
|
18
20
|
'sap/base/util/ObjectPath',
|
|
19
21
|
'sap/base/future',
|
|
20
22
|
'sap/base/Log'
|
|
21
23
|
],
|
|
22
24
|
function(
|
|
23
25
|
ManagedObject,
|
|
26
|
+
OwnStatics,
|
|
24
27
|
Component,
|
|
25
28
|
ComponentHooks,
|
|
26
29
|
Element,
|
|
@@ -29,12 +32,15 @@ sap.ui.define([
|
|
|
29
32
|
UIComponentMetadata,
|
|
30
33
|
Controller,
|
|
31
34
|
View,
|
|
35
|
+
_ViewFactory,
|
|
32
36
|
ObjectPath,
|
|
33
37
|
future,
|
|
34
38
|
Log
|
|
35
39
|
) {
|
|
36
40
|
"use strict";
|
|
37
41
|
|
|
42
|
+
const { runWithPreprocessors } = OwnStatics.get(ManagedObject);
|
|
43
|
+
|
|
38
44
|
/**
|
|
39
45
|
* As <code>UIComponent</code> is an abstract base class for UI components, applications should not call the constructor.
|
|
40
46
|
* For many use cases the static {@link sap.ui.core.Component.create Component.create} factory can be used to instantiate a <code>UIComponent</code>.
|
|
@@ -61,7 +67,7 @@ sap.ui.define([
|
|
|
61
67
|
* @extends sap.ui.core.Component
|
|
62
68
|
* @abstract
|
|
63
69
|
* @author SAP SE
|
|
64
|
-
* @version 1.
|
|
70
|
+
* @version 1.139.0
|
|
65
71
|
* @alias sap.ui.core.UIComponent
|
|
66
72
|
* @since 1.9.2
|
|
67
73
|
*/
|
|
@@ -241,46 +247,6 @@ sap.ui.define([
|
|
|
241
247
|
* @public
|
|
242
248
|
*/
|
|
243
249
|
|
|
244
|
-
/**
|
|
245
|
-
* Callback handler which will be executed once a new Component instance is initialized.
|
|
246
|
-
*
|
|
247
|
-
* Example usage:
|
|
248
|
-
* <pre>
|
|
249
|
-
* sap.ui.require(['sap/ui/core/UIComponent'], function(UIComponent) {
|
|
250
|
-
* UIComponent._fnOnInstanceInitialized = function(oComponent) {
|
|
251
|
-
* // do some logic with the Component
|
|
252
|
-
* }
|
|
253
|
-
* });
|
|
254
|
-
* </pre>
|
|
255
|
-
*
|
|
256
|
-
* <b>ATTENTION:</b> This hook must only be used by Fiori 2.0 adapter.
|
|
257
|
-
*
|
|
258
|
-
* @private
|
|
259
|
-
* @ui5-restricted sap.ushell
|
|
260
|
-
* @since 1.37.0
|
|
261
|
-
*/
|
|
262
|
-
UIComponent._fnOnInstanceInitialized = null;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Callback handler which will be executed when a Component instance is destroyed.
|
|
266
|
-
*
|
|
267
|
-
* Example usage:
|
|
268
|
-
* <pre>
|
|
269
|
-
* sap.ui.require(['sap/ui/core/UIComponent'], function(UIComponent) {
|
|
270
|
-
* UIComponent._fnOnInstanceDestroy = function(oComponent) {
|
|
271
|
-
* // do some logic with the Component
|
|
272
|
-
* }
|
|
273
|
-
* });
|
|
274
|
-
* </pre>
|
|
275
|
-
*
|
|
276
|
-
* <b>ATTENTION:</b> This hook must only be used by Fiori 2.0 adapter.
|
|
277
|
-
*
|
|
278
|
-
* @private
|
|
279
|
-
* @ui5-restricted sap.ushell
|
|
280
|
-
* @since 1.40
|
|
281
|
-
*/
|
|
282
|
-
UIComponent._fnOnInstanceDestroy = null;
|
|
283
|
-
|
|
284
250
|
/**
|
|
285
251
|
* Initializes the component instance after creation.
|
|
286
252
|
*
|
|
@@ -309,9 +275,6 @@ sap.ui.define([
|
|
|
309
275
|
function setRootControl(vRootControl) {
|
|
310
276
|
var fnFireInstanceInitialized = function() {
|
|
311
277
|
ComponentHooks.onUIComponentInstanceInitialized.execute(that);
|
|
312
|
-
if (typeof UIComponent._fnOnInstanceInitialized === "function") {
|
|
313
|
-
UIComponent._fnOnInstanceInitialized(that);
|
|
314
|
-
}
|
|
315
278
|
};
|
|
316
279
|
var fnAggregateRootControl = function(oRootControl) {
|
|
317
280
|
that.setAggregation("rootControl", oRootControl);
|
|
@@ -368,7 +331,7 @@ sap.ui.define([
|
|
|
368
331
|
}
|
|
369
332
|
|
|
370
333
|
// create the router for the component instance
|
|
371
|
-
const mRoutingClasses =
|
|
334
|
+
const mRoutingClasses = this.getMetadata().collectRoutingClasses(this) || {};
|
|
372
335
|
if (mRoutingClasses.routerClass) {
|
|
373
336
|
var fnRouterConstructor = mRoutingClasses.routerClass;
|
|
374
337
|
|
|
@@ -393,7 +356,7 @@ sap.ui.define([
|
|
|
393
356
|
|
|
394
357
|
// create the content
|
|
395
358
|
this.runAsOwner(function() {
|
|
396
|
-
|
|
359
|
+
runWithPreprocessors(function() {
|
|
397
360
|
vRootControl = that.createContent();
|
|
398
361
|
}, oPreprocessors);
|
|
399
362
|
});
|
|
@@ -497,9 +460,6 @@ sap.ui.define([
|
|
|
497
460
|
|
|
498
461
|
// notify Component destruction callback handler
|
|
499
462
|
ComponentHooks.onUIComponentInstanceDestroy.execute(this);
|
|
500
|
-
if (typeof UIComponent._fnOnInstanceDestroy === "function") {
|
|
501
|
-
UIComponent._fnOnInstanceDestroy(this);
|
|
502
|
-
}
|
|
503
463
|
// destroy the router
|
|
504
464
|
this._destroyCreatedInstances();
|
|
505
465
|
// make sure that the component is destroyed properly
|
|
@@ -785,7 +745,7 @@ sap.ui.define([
|
|
|
785
745
|
if (bModernFactory) {
|
|
786
746
|
return View.create(oRootView);
|
|
787
747
|
} else {
|
|
788
|
-
return
|
|
748
|
+
return _ViewFactory.create(oRootView);
|
|
789
749
|
}
|
|
790
750
|
} else if (oRootView) {
|
|
791
751
|
throw new Error("Configuration option 'rootView' of component '" + this.getMetadata().getName() + "' is invalid! 'rootView' must be type of string or object!");
|
|
@@ -926,14 +886,13 @@ sap.ui.define([
|
|
|
926
886
|
* <code>_fnGetRouterClassName</code> hook, which is expected to be defined within a subclass of the UIComponent.
|
|
927
887
|
*
|
|
928
888
|
* @param {sap.ui.core.UIComponent} oInstance An UIComponent instance provided by the {@link sap.ui.core.UIComponent#init}.
|
|
929
|
-
* @returns {object} Returns a map containing routing module names. Returns routing classes if <code>
|
|
889
|
+
* @returns {object} Returns a map containing routing module names. Returns routing classes if <code>oInstance</code> is provided.
|
|
930
890
|
*/
|
|
931
|
-
|
|
891
|
+
UIComponentMetadata.prototype.collectRoutingClasses = function(oInstance) {
|
|
932
892
|
const mRoutingClasses = {};
|
|
933
|
-
const oMetadata = this.getMetadata();
|
|
934
893
|
|
|
935
894
|
// lookup rootView class
|
|
936
|
-
const oRootView =
|
|
895
|
+
const oRootView = this._getManifestEntry("/sap.ui5/rootView");
|
|
937
896
|
const sRootViewName = typeof oRootView === "string" ? oRootView : oRootView?.viewName;
|
|
938
897
|
if (sRootViewName?.startsWith("module:")) {
|
|
939
898
|
mRoutingClasses["viewClass"] = sRootViewName;
|
|
@@ -950,15 +909,15 @@ sap.ui.define([
|
|
|
950
909
|
|
|
951
910
|
// lookup of the router / targets and views class
|
|
952
911
|
// ASYNC Only: prevents lazy synchronous loading in UIComponent#init (regardless of manifirst or manilast)
|
|
953
|
-
const oRouting =
|
|
912
|
+
const oRouting = this._getManifestEntry("/sap.ui5/routing", true);
|
|
954
913
|
if (oRouting) {
|
|
955
914
|
if (oRouting.routes) {
|
|
956
915
|
// the "sap.ui5/routing/config/routerClass" entry can also contain a Router constructor
|
|
957
916
|
// See the typedef "sap.ui.core.UIComponent.RoutingMetadata" in sap/ui/core/UIComponent.js
|
|
958
917
|
let vRouterClass;
|
|
959
|
-
const _fnGetRouterClassName = this.
|
|
918
|
+
const _fnGetRouterClassName = this.getStaticProperty("_fnGetRouterClassName");
|
|
960
919
|
if (typeof _fnGetRouterClassName === "function") {
|
|
961
|
-
vRouterClass = _fnGetRouterClassName(this.
|
|
920
|
+
vRouterClass = _fnGetRouterClassName(this.getManifestObject());
|
|
962
921
|
}
|
|
963
922
|
vRouterClass ??= oInstance?._getRouterClassName() || oRouting.config?.routerClass || "sap.ui.core.routing.Router";
|
|
964
923
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
|
|
22
22
|
* @extends sap.ui.core.LayoutData
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.139.0
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -148,7 +148,7 @@ sap.ui.define([
|
|
|
148
148
|
* @extends sap.ui.core.Control
|
|
149
149
|
*
|
|
150
150
|
* @author SAP SE
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.139.0
|
|
152
152
|
* @since 1.56.0
|
|
153
153
|
* @alias sap.ui.core.XMLComposite
|
|
154
154
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.139.0
|
|
33
33
|
* @since 1.50.0
|
|
34
34
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
35
35
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -14,6 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
'sap/ui/core/ElementRegistry',
|
|
15
15
|
'./mvc/View',
|
|
16
16
|
'./mvc/ViewType',
|
|
17
|
+
'./mvc/_ViewFactory',
|
|
17
18
|
'./mvc/XMLProcessingMode',
|
|
18
19
|
'./mvc/EventHandlerResolver',
|
|
19
20
|
'./ExtensionPoint',
|
|
@@ -38,6 +39,7 @@ function(
|
|
|
38
39
|
ElementRegistry,
|
|
39
40
|
View,
|
|
40
41
|
ViewType,
|
|
42
|
+
_ViewFactory,
|
|
41
43
|
XMLProcessingMode,
|
|
42
44
|
EventHandlerResolver,
|
|
43
45
|
ExtensionPoint,
|
|
@@ -1467,6 +1469,7 @@ function(
|
|
|
1467
1469
|
}
|
|
1468
1470
|
} else {
|
|
1469
1471
|
future.assertThrows(sName === 'xmlns', oView + ": encountered unknown setting '" + sName + "' for class " + oMetadata.getName() + " (value:'" + sValue + "')");
|
|
1472
|
+
/** @deprecated since 1.120.0 */
|
|
1470
1473
|
if (XMLTemplateProcessor._supportInfo) {
|
|
1471
1474
|
XMLTemplateProcessor._supportInfo({
|
|
1472
1475
|
context : node,
|
|
@@ -1764,7 +1767,7 @@ function(
|
|
|
1764
1767
|
}
|
|
1765
1768
|
|
|
1766
1769
|
vNewControlInstance = scopedRunWithOwner(function() {
|
|
1767
|
-
return
|
|
1770
|
+
return _ViewFactory.create(mSettings);
|
|
1768
1771
|
});
|
|
1769
1772
|
}
|
|
1770
1773
|
} else if (oClass.getMetadata().isA("sap.ui.core.Fragment") && bAsync) {
|
|
@@ -1871,6 +1874,7 @@ function(
|
|
|
1871
1874
|
}
|
|
1872
1875
|
|
|
1873
1876
|
//apply support info if needed
|
|
1877
|
+
/** @deprecated since 1.120.0 */
|
|
1874
1878
|
if (XMLTemplateProcessor._supportInfo && vFinalInstance) {
|
|
1875
1879
|
for (var i = 0, iLength = vFinalInstance.length; i < iLength; i++) {
|
|
1876
1880
|
var oInstance = vFinalInstance[i];
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
|
|
83
83
|
* @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
|
|
84
84
|
*
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.139.0
|
|
86
86
|
* @alias sap.ui.core.delegate.ItemNavigation
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
@@ -568,7 +568,7 @@ sap.ui.define([
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
if (iIndex != iOldIndex) {
|
|
571
|
-
this.focusItem(iIndex, oEvent);
|
|
571
|
+
this.focusItem(iIndex, oEvent, bPreventScroll);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
return;
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
*
|
|
62
62
|
* @protected
|
|
63
63
|
* @alias sap.ui.core.delegate.ScrollEnablement
|
|
64
|
-
* @version 1.
|
|
64
|
+
* @version 1.139.0
|
|
65
65
|
* @author SAP SE
|
|
66
66
|
*/
|
|
67
67
|
var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
|