@openui5/sap.ui.core 1.94.0 → 1.95.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 +1 -2
- package/.reuse/dep5 +1 -6
- package/THIRDPARTY.txt +3 -9
- 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/i18n/ResourceBundle.js +6 -2
- 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 +14 -10
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/DataType.js +14 -8
- 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 +11 -6
- 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 +5 -5
- package/src/sap/ui/core/AppCacheBuster.js +4 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +272 -125
- package/src/sap/ui/core/ComponentContainer.js +3 -5
- 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 +62 -31
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +15 -9
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/CustomizingConfiguration.js +35 -260
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +1 -1
- 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 +6 -13
- package/src/sap/ui/core/Fragment.js +29 -31
- 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 +5 -5
- package/src/sap/ui/core/IconPool.js +15 -1097
- package/src/sap/ui/core/IconRenderer.js +2 -2
- 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 +26 -4
- package/src/sap/ui/core/LocaleData.js +1 -1
- package/src/sap/ui/core/Manifest.js +2 -60
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +17 -3
- package/src/sap/ui/core/Renderer.js +13 -3
- 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/ShortcutHintsMixin.js +14 -7
- 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 +17 -8
- 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 +1 -1
- package/src/sap/ui/core/_IconRegistry.js +1215 -0
- 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/hyphenation/Hyphenation.js +61 -80
- 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 +13 -15
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_de.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr.properties +1 -1
- package/src/sap/ui/core/messagebundle_it.properties +1 -1
- package/src/sap/ui/core/messagebundle_pl.properties +1 -1
- package/src/sap/ui/core/messagebundle_th.properties +2 -2
- package/src/sap/ui/core/mvc/Controller.js +1 -1
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +30 -32
- package/src/sap/ui/core/mvc/ControllerMetadata.js +18 -18
- package/src/sap/ui/core/mvc/HTMLView.js +2 -2
- package/src/sap/ui/core/mvc/JSONView.js +2 -2
- package/src/sap/ui/core/mvc/JSView.js +2 -2
- package/src/sap/ui/core/mvc/TemplateView.js +2 -2
- package/src/sap/ui/core/mvc/View.js +58 -85
- package/src/sap/ui/core/mvc/XMLView.js +2 -2
- 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 +10 -1
- package/src/sap/ui/core/routing/Router.js +8 -5
- package/src/sap/ui/core/routing/Targets.js +26 -0
- package/src/sap/ui/core/routing/async/Route.js +6 -3
- package/src/sap/ui/core/routing/async/Target.js +26 -0
- package/src/sap/ui/core/routing/sync/Target.js +15 -0
- 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 +2 -2
- package/src/sap/ui/core/support/support.css +2 -8
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.fragment.xml +1 -0
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +149 -72
- package/src/sap/ui/core/theming/Parameters.js +21 -0
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +11 -12
- 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/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/ClientPropertyBinding.js +3 -1
- package/src/sap/ui/model/ClientTreeBinding.js +14 -8
- 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/analytics/AnalyticalBinding.js +6 -3
- package/src/sap/ui/model/base/ManagedObjectModel.js +4 -0
- package/src/sap/ui/model/json/JSONModel.js +4 -2
- package/src/sap/ui/model/message/MessageModel.js +4 -2
- 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 +3 -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/ODataUtils.js +12 -10
- 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/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 +2 -2
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +179 -109
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +29 -20
- package/src/sap/ui/model/odata/v4/Context.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -3
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +76 -11
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +74 -4
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +3 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +25 -12
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -0
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +11 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +8 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +39 -3
- package/src/sap/ui/model/resource/ResourceModel.js +5 -2
- 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 +4 -2
- package/src/sap/ui/performance/trace/Interaction.js +31 -16
- 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/TestUtils.js +11 -4
- package/src/sap/ui/test/matchers/I18NText.js +29 -11
- package/src/sap/ui/test/opaQunit.js +5 -0
- package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly.js +1196 -0
- package/src/sap/ui/thirdparty/hyphenopoly/Hyphenopoly_Loader.js +797 -0
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.asm.js +108 -127
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenEngine.wasm +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/bg.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/ca.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/da.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/de.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/el-monoton.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/en-us.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/es.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/et.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/fi.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/fr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hi.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/hu.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/it.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/lt.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/nb-no.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/nl.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/pt.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/ru.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/sl.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/sv.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/th.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/tr.hpb +0 -0
- package/src/sap/ui/thirdparty/hyphenopoly/patterns/uk.hpb +0 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/isCrossOriginURL.js +16 -6
- package/src/sap/ui/core/support/plugins/MessageTest.js +0 -96
- package/src/sap/ui/thirdparty/hyphenopoly/hyphenopoly.bundle.js +0 -860
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(['./
|
|
6
|
+
sap.ui.define(['./_IconRegistry', './library', "sap/base/security/encodeCSS"], function(_IconRegistry, library, encodeCSS) {
|
|
7
7
|
"use strict";
|
|
8
8
|
|
|
9
9
|
// shortcut for enum(s)
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['./IconPool', './library', "sap/base/security/encodeCSS"], functi
|
|
|
26
26
|
*/
|
|
27
27
|
IconRenderer.render = function(oRm, oControl) {
|
|
28
28
|
// write the HTML into the render manager
|
|
29
|
-
var vIconInfo =
|
|
29
|
+
var vIconInfo = _IconRegistry.getIconInfo(oControl.getSrc(), undefined, "mixed"),
|
|
30
30
|
sWidth = oControl.getWidth(),
|
|
31
31
|
sHeight = oControl.getHeight(),
|
|
32
32
|
sColor = oControl.getColor(),
|
|
@@ -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.
|
|
15
|
+
* @version 1.95.0
|
|
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
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
//Provides the locale object sap.ui.core.Locale
|
|
8
|
-
sap.ui.define(['sap/ui/base/Object',
|
|
9
|
-
function(BaseObject, assert) {
|
|
8
|
+
sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
9
|
+
function(BaseObject, assert, CalendarType) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
|
|
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert"],
|
|
|
38
38
|
*
|
|
39
39
|
* @extends sap.ui.base.Object
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.95.0
|
|
42
42
|
* @public
|
|
43
43
|
* @alias sap.ui.core.Locale
|
|
44
44
|
*/
|
|
@@ -291,8 +291,19 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert"],
|
|
|
291
291
|
|| M_LOCALE_TO_ABAP_LANGUAGE[getPseudoLanguageTag(this.sPrivateUse)]
|
|
292
292
|
|| sLanguage.toUpperCase()
|
|
293
293
|
);
|
|
294
|
-
}
|
|
294
|
+
},
|
|
295
295
|
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @returns {sap.ui.core.CalendarType} The preferred Calendar type.
|
|
299
|
+
* @private
|
|
300
|
+
* @ui5-restricted sap.ui.core
|
|
301
|
+
*/
|
|
302
|
+
getPreferredCalendarType: function() {
|
|
303
|
+
return Locale._mPreferredCalendar[this.getLanguage() + "-" + this.getRegion()] ||
|
|
304
|
+
Locale._mPreferredCalendar[this.getLanguage()] ||
|
|
305
|
+
Locale._mPreferredCalendar["default"];
|
|
306
|
+
}
|
|
296
307
|
});
|
|
297
308
|
|
|
298
309
|
/*
|
|
@@ -366,6 +377,17 @@ sap.ui.define(['sap/ui/base/Object', "sap/base/assert"],
|
|
|
366
377
|
*/
|
|
367
378
|
Locale._cldrLocales = getDesigntimePropertyAsArray("$cldr-locales:ar,ar_EG,ar_SA,bg,ca,cy,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sr_Latn,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW$");
|
|
368
379
|
|
|
380
|
+
/**
|
|
381
|
+
* A map of preferred Calendar types according to the language.
|
|
382
|
+
* @private
|
|
383
|
+
*/
|
|
384
|
+
Locale._mPreferredCalendar = {
|
|
385
|
+
"ar-SA": CalendarType.Islamic,
|
|
386
|
+
"fa": CalendarType.Persian,
|
|
387
|
+
"th": CalendarType.Buddhist,
|
|
388
|
+
"default": CalendarType.Gregorian
|
|
389
|
+
};
|
|
390
|
+
|
|
369
391
|
/**
|
|
370
392
|
* List of locales for which translated texts have been bundled with the UI5 runtime.
|
|
371
393
|
* @private
|
|
@@ -137,7 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
* @class The Manifest class.
|
|
138
138
|
* @extends sap.ui.base.Object
|
|
139
139
|
* @author SAP SE
|
|
140
|
-
* @version 1.
|
|
140
|
+
* @version 1.95.0
|
|
141
141
|
* @alias sap.ui.core.Manifest
|
|
142
142
|
* @since 1.33.0
|
|
143
143
|
*/
|
|
@@ -438,7 +438,7 @@ sap.ui.define([
|
|
|
438
438
|
if (bAsync) {
|
|
439
439
|
oPromise = oPromise.then(requireAsync(sJsUrl));
|
|
440
440
|
} else {
|
|
441
|
-
sap.ui.requireSync(sJsUrl);
|
|
441
|
+
sap.ui.requireSync(sJsUrl); // legacy-relevant: Sync path
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
}
|
|
@@ -687,19 +687,8 @@ sap.ui.define([
|
|
|
687
687
|
*/
|
|
688
688
|
init: function(oInstance) {
|
|
689
689
|
if (this._iInstanceCount === 0) {
|
|
690
|
-
|
|
691
690
|
this.loadDependenciesAndIncludes();
|
|
692
|
-
|
|
693
|
-
// activate the static customizing
|
|
694
|
-
this.activateCustomizing();
|
|
695
|
-
|
|
696
691
|
}
|
|
697
|
-
|
|
698
|
-
// activate the instance customizing
|
|
699
|
-
if (oInstance) {
|
|
700
|
-
this.activateCustomizing(oInstance);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
692
|
this._iInstanceCount++;
|
|
704
693
|
},
|
|
705
694
|
|
|
@@ -751,16 +740,7 @@ sap.ui.define([
|
|
|
751
740
|
// ensure that the instance count is never negative
|
|
752
741
|
var iInstanceCount = Math.max(this._iInstanceCount - 1, 0);
|
|
753
742
|
|
|
754
|
-
// deactivate the instance customizing
|
|
755
|
-
if (oInstance) {
|
|
756
|
-
this.deactivateCustomizing(oInstance);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
743
|
if (iInstanceCount === 0) {
|
|
760
|
-
|
|
761
|
-
// deactivcate the customizing
|
|
762
|
-
this.deactivateCustomizing();
|
|
763
|
-
|
|
764
744
|
// remove the custom scripts and CSS files
|
|
765
745
|
this.removeIncludes();
|
|
766
746
|
|
|
@@ -769,44 +749,6 @@ sap.ui.define([
|
|
|
769
749
|
|
|
770
750
|
this._iInstanceCount = iInstanceCount;
|
|
771
751
|
|
|
772
|
-
},
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* Activates the customizing for the component or a dedicated component
|
|
776
|
-
* instance when providing the component instance as parameter.
|
|
777
|
-
* @param {sap.ui.core.Component} [oInstance] Reference to the Component instance
|
|
778
|
-
* @private
|
|
779
|
-
*/
|
|
780
|
-
activateCustomizing: function(oInstance) {
|
|
781
|
-
// activate the customizing configuration
|
|
782
|
-
var oUI5Manifest = this.getEntry("sap.ui5", true),
|
|
783
|
-
mExtensions = oUI5Manifest && oUI5Manifest["extends"] && oUI5Manifest["extends"].extensions;
|
|
784
|
-
if (!isEmptyObject(mExtensions)) {
|
|
785
|
-
var CustomizingConfiguration = sap.ui.requireSync('sap/ui/core/CustomizingConfiguration');
|
|
786
|
-
if (!oInstance) {
|
|
787
|
-
CustomizingConfiguration.activateForComponent(this.getComponentName());
|
|
788
|
-
} else {
|
|
789
|
-
CustomizingConfiguration.activateForComponentInstance(oInstance);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Deactivates the customizing for the component or a dedicated component
|
|
796
|
-
* instance when providing the component instance as parameter.
|
|
797
|
-
* @param {sap.ui.core.Component} [oInstance] Reference to the Component instance
|
|
798
|
-
* @private
|
|
799
|
-
*/
|
|
800
|
-
deactivateCustomizing: function(oInstance) {
|
|
801
|
-
// deactivate the customizing configuration
|
|
802
|
-
var CustomizingConfiguration = sap.ui.require('sap/ui/core/CustomizingConfiguration');
|
|
803
|
-
if (CustomizingConfiguration) {
|
|
804
|
-
if (!oInstance) {
|
|
805
|
-
CustomizingConfiguration.deactivateForComponent(this.getComponentName());
|
|
806
|
-
} else {
|
|
807
|
-
CustomizingConfiguration.deactivateForComponentInstance(oInstance);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
752
|
}
|
|
811
753
|
|
|
812
754
|
});
|
|
@@ -182,7 +182,7 @@ sap.ui.define([
|
|
|
182
182
|
*
|
|
183
183
|
* @extends Object
|
|
184
184
|
* @author SAP SE
|
|
185
|
-
* @version 1.
|
|
185
|
+
* @version 1.95.0
|
|
186
186
|
* @alias sap.ui.core.RenderManager
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
@@ -773,6 +773,9 @@ sap.ui.define([
|
|
|
773
773
|
* <li><code>alt: ""</code></li>
|
|
774
774
|
* </ul>
|
|
775
775
|
*
|
|
776
|
+
* <b>Note:</b> This function requires the {@link sap.ui.core.IconPool} module. Ensure that the module is
|
|
777
|
+
* loaded before this function is called to avoid syncXHRs.
|
|
778
|
+
*
|
|
776
779
|
* @param {sap.ui.core.URI} sURI URI of an image or of an icon registered in {@link sap.ui.core.IconPool}
|
|
777
780
|
* @param {array|string} [aClasses] Additional classes that are added to the rendered tag
|
|
778
781
|
* @param {object} [mAttributes] Additional attributes that will be added to the rendered tag.
|
|
@@ -1866,8 +1869,19 @@ sap.ui.define([
|
|
|
1866
1869
|
* @deprecated Since 1.92. Instead use {@link sap.ui.core.RenderManager#icon} of the {@link sap.ui.core.RenderManager Semantic Rendering API}.
|
|
1867
1870
|
*/
|
|
1868
1871
|
RenderManager.prototype.writeIcon = function(sURI, aClasses, mAttributes){
|
|
1869
|
-
var IconPool = sap.ui.
|
|
1870
|
-
|
|
1872
|
+
var IconPool = sap.ui.require("sap/ui/core/IconPool");
|
|
1873
|
+
if (!IconPool) {
|
|
1874
|
+
Log.warning("Synchronous loading of IconPool due to sap.ui.core.RenderManager#icon call. " +
|
|
1875
|
+
"Ensure that 'sap/ui/core/IconPool is loaded before this function is called" , "SyncXHR", null, function() {
|
|
1876
|
+
return {
|
|
1877
|
+
type: "SyncXHR",
|
|
1878
|
+
name: "rendermanager-icon"
|
|
1879
|
+
};
|
|
1880
|
+
});
|
|
1881
|
+
IconPool = sap.ui.requireSync("sap/ui/core/IconPool"); // legacy-relevant: Sync fallback
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
var bIconURI = IconPool.isIconURI(sURI),
|
|
1871
1885
|
bAriaLabelledBy = false,
|
|
1872
1886
|
sProp, oIconInfo, mDefaultAttributes, sLabel, sInvTextId;
|
|
1873
1887
|
|
|
@@ -6,18 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides (optional) base class for all renderers
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"sap/base/Log",
|
|
9
10
|
"sap/base/util/isPlainObject",
|
|
10
11
|
"sap/base/util/ObjectPath",
|
|
11
12
|
"sap/base/assert",
|
|
12
13
|
"sap/base/util/extend"
|
|
13
|
-
], function(isPlainObject, ObjectPath, assert, extend) {
|
|
14
|
+
], function(Log, isPlainObject, ObjectPath, assert, extend) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* @classdesc Base Class for a Renderer.
|
|
18
19
|
*
|
|
19
20
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
21
|
+
* @version 1.95.0
|
|
21
22
|
* @namespace
|
|
22
23
|
* @public
|
|
23
24
|
* @alias sap.ui.core.Renderer
|
|
@@ -218,8 +219,17 @@ sap.ui.define([
|
|
|
218
219
|
*/
|
|
219
220
|
Renderer.getTextAlign = function(oTextAlign, oTextDirection) {
|
|
220
221
|
// lazy require sap.ui.core library
|
|
222
|
+
sapUiCore = sap.ui.require("sap/ui/core/library");
|
|
223
|
+
|
|
221
224
|
if (!sapUiCore) {
|
|
222
|
-
|
|
225
|
+
Log.warning("Synchronous loading of a library.js. Ensure that 'sap/ui/core/library.js' is loaded" +
|
|
226
|
+
" before sap.ui.core.Renderer#getTextAlign is called.", "SyncXHR", null, function() {
|
|
227
|
+
return {
|
|
228
|
+
type: "SyncXHR",
|
|
229
|
+
name: "renderer-getTextAlign"
|
|
230
|
+
};
|
|
231
|
+
});
|
|
232
|
+
sapUiCore = sap.ui.requireSync("sap/ui/core/library"); // legacy-relevant: core/library.js available via dependency in most cases
|
|
223
233
|
}
|
|
224
234
|
|
|
225
235
|
// create shortcuts for enums from sap.ui.core library
|
|
@@ -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.95.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @deprecated as of version 1.56
|
|
@@ -394,7 +394,7 @@ sap.ui.define([
|
|
|
394
394
|
return;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
oInvText = getInvisibleText();
|
|
397
|
+
oInvText = getInvisibleText(oControl);
|
|
398
398
|
sInvTextId = oInvText.getId();
|
|
399
399
|
|
|
400
400
|
oInvText.setText(_getShortcutHintText(oHintInfo.id));
|
|
@@ -502,15 +502,22 @@ sap.ui.define([
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
* Gets or creates an InvisibleText for the
|
|
505
|
+
* Gets or creates an InvisibleText for the control's shortcut accessiblity.
|
|
506
|
+
*
|
|
507
|
+
* @param {sap.ui.core.Control} oControl A control that have shortcut assigned
|
|
506
508
|
*/
|
|
507
|
-
function getInvisibleText() {
|
|
508
|
-
if (!
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
function getInvisibleText(oControl) {
|
|
510
|
+
if (!oControl._shortcutInvisibleText) {
|
|
511
|
+
var oFunc = oControl.exit;
|
|
512
|
+
oControl._shortcutInvisibleText = new InvisibleText();
|
|
513
|
+
oControl._shortcutInvisibleText.toStatic();
|
|
514
|
+
oControl.exit = function() {
|
|
515
|
+
this._shortcutInvisibleText.destroy();
|
|
516
|
+
oFunc.call(this);
|
|
517
|
+
};
|
|
511
518
|
}
|
|
512
519
|
|
|
513
|
-
return
|
|
520
|
+
return oControl._shortcutInvisibleText;
|
|
514
521
|
}
|
|
515
522
|
|
|
516
523
|
/**
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class
|
|
32
32
|
* 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.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.95.0
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
37
|
* @alias sap.ui.core.TooltipBase
|
|
@@ -175,7 +175,7 @@ sap.ui.define([
|
|
|
175
175
|
*
|
|
176
176
|
* @extends sap.ui.base.ManagedObject
|
|
177
177
|
* @author SAP SE
|
|
178
|
-
* @version 1.
|
|
178
|
+
* @version 1.95.0
|
|
179
179
|
* @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
|
|
180
180
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
181
181
|
* @public
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* @extends sap.ui.core.Component
|
|
55
55
|
* @abstract
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.95.0
|
|
58
58
|
* @alias sap.ui.core.UIComponent
|
|
59
59
|
* @since 1.9.2
|
|
60
60
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -298,7 +298,7 @@ sap.ui.define([
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
function setRootControl(vRootControl) {
|
|
301
|
-
var
|
|
301
|
+
var fnFireInstanceInitialized = function() {
|
|
302
302
|
if (typeof UIComponent._fnOnInstanceInitialized === "function") {
|
|
303
303
|
UIComponent._fnOnInstanceInitialized(that);
|
|
304
304
|
}
|
|
@@ -309,19 +309,19 @@ sap.ui.define([
|
|
|
309
309
|
if (vRootControl instanceof Promise) {
|
|
310
310
|
that.pRootControlLoaded = that.pRootControlLoaded.then(function(oRootControl) {
|
|
311
311
|
fnAggregateRootControl(oRootControl);
|
|
312
|
-
|
|
312
|
+
fnFireInstanceInitialized();
|
|
313
313
|
return oRootControl;
|
|
314
314
|
});
|
|
315
315
|
} else if (vRootControl instanceof View && vRootControl.oAsyncState && vRootControl.oAsyncState.promise) {
|
|
316
316
|
fnAggregateRootControl(vRootControl);
|
|
317
317
|
that.pRootControlLoaded = that.pRootControlLoaded.then(function(oRootControl) {
|
|
318
318
|
// notify Component initialization callback handler
|
|
319
|
-
|
|
319
|
+
fnFireInstanceInitialized();
|
|
320
320
|
return oRootControl;
|
|
321
321
|
});
|
|
322
322
|
} else {
|
|
323
323
|
fnAggregateRootControl(vRootControl);
|
|
324
|
-
|
|
324
|
+
fnFireInstanceInitialized();
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
|
|
@@ -367,7 +367,8 @@ sap.ui.define([
|
|
|
367
367
|
fnRouterConstructor = getConstructorFunctionFor(sRouterClassName);
|
|
368
368
|
} else {
|
|
369
369
|
// require default Router class
|
|
370
|
-
fnRouterConstructor = sap.ui.require("sap/ui/core/routing/Router")
|
|
370
|
+
fnRouterConstructor = sap.ui.require("sap/ui/core/routing/Router")
|
|
371
|
+
|| sap.ui.requireSync("sap/ui/core/routing/Router"); // legacy-relevant: Sync path
|
|
371
372
|
}
|
|
372
373
|
this._oRouter = new fnRouterConstructor(vRoutes, oRoutingConfig, this, oRoutingManifestEntry.targets, this._oRouterHashChanger);
|
|
373
374
|
this._oTargets = this._oRouter.getTargets();
|
|
@@ -375,7 +376,8 @@ sap.ui.define([
|
|
|
375
376
|
} else if (oRoutingManifestEntry.targets) {
|
|
376
377
|
// legacy-relevant: Sync path via sync component factory.
|
|
377
378
|
// For async, no sync request is triggered as the class is already loaded by the component factory.
|
|
378
|
-
var Views = sap.ui.require("sap/ui/core/routing/Views")
|
|
379
|
+
var Views = sap.ui.require("sap/ui/core/routing/Views")
|
|
380
|
+
|| sap.ui.requireSync("sap/ui/core/routing/Views"); // legacy-relevant: Sync path
|
|
379
381
|
|
|
380
382
|
this._oViews = new Views({
|
|
381
383
|
component: this
|
|
@@ -387,7 +389,8 @@ sap.ui.define([
|
|
|
387
389
|
fnTargetsConstructor = getConstructorFunctionFor(oRoutingConfig.targetsClass);
|
|
388
390
|
} else {
|
|
389
391
|
// For async, no sync request is triggered as the class is already loaded by the component factory.
|
|
390
|
-
fnTargetsConstructor = sap.ui.require("sap/ui/core/routing/Targets")
|
|
392
|
+
fnTargetsConstructor = sap.ui.require("sap/ui/core/routing/Targets")
|
|
393
|
+
|| sap.ui.requireSync("sap/ui/core/routing/Targets"); // legacy-relevant: Sync path
|
|
391
394
|
}
|
|
392
395
|
this._oTargets = new fnTargetsConstructor({
|
|
393
396
|
targets: oRoutingManifestEntry.targets,
|
|
@@ -733,6 +736,12 @@ sap.ui.define([
|
|
|
733
736
|
type: ViewType.XML
|
|
734
737
|
});
|
|
735
738
|
} else if (oRootView && typeof oRootView === "object") {
|
|
739
|
+
|
|
740
|
+
// default ViewType to XML, except for typed views
|
|
741
|
+
if (!oRootView.type && !View._getModuleName(oRootView)) {
|
|
742
|
+
oRootView.type = ViewType.XML;
|
|
743
|
+
}
|
|
744
|
+
|
|
736
745
|
// make sure to prefix the ID of the rootView
|
|
737
746
|
if (oRootView.id) {
|
|
738
747
|
oRootView.id = this.createId(oRootView.id);
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
18
18
|
* @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
|
|
19
19
|
* @class
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.95.0
|
|
22
22
|
* @since 1.15.1
|
|
23
23
|
* @alias sap.ui.core.UIComponentMetadata
|
|
24
24
|
* @extends sap.ui.core.ComponentMetadata
|
|
@@ -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.95.0
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
* @extends sap.ui.core.Control
|
|
144
144
|
*
|
|
145
145
|
* @author SAP SE
|
|
146
|
-
* @version 1.
|
|
146
|
+
* @version 1.95.0
|
|
147
147
|
* @since 1.56.0
|
|
148
148
|
* @alias sap.ui.core.XMLComposite
|
|
149
149
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.95.0
|
|
34
34
|
* @since 1.50.0
|
|
35
35
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
36
36
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -62,7 +62,7 @@ function(
|
|
|
62
62
|
return oBindingInfo;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
var vValue = sValue = oBindingInfo
|
|
65
|
+
var vValue = sValue = typeof oBindingInfo === "string" ? oBindingInfo : sValue; // oBindingInfo could be an unescaped string
|
|
66
66
|
var oType = DataType.getType(sType);
|
|
67
67
|
if (oType) {
|
|
68
68
|
if (oType instanceof DataType) {
|