@openui5/sap.ui.core 1.138.0 → 1.139.1
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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +73 -67
- 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 +22 -1
- package/src/sap/base/i18n/LanguageFallback.js +18 -2
- package/src/sap/base/i18n/LanguageTag.js +11 -5
- package/src/sap/base/i18n/Localization.js +36 -9
- 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 +6 -1
- package/src/sap/ui/base/DataType.js +27 -2
- 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 +49 -12
- 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 +7 -2
- package/src/sap/ui/core/BlockLayerUtils.js +2 -2
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +11 -9
- package/src/sap/ui/core/ComponentContainer.js +13 -3
- 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 +1 -1
- package/src/sap/ui/core/Element.js +10 -4
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +10 -8
- 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 +7 -4
- 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 +9 -2
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +6 -2
- 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/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +43 -19
- 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/i18n/interaction_ar.xml +1 -1
- package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +84 -38
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle.properties +58 -28
- package/src/sap/ui/core/messagebundle_cnr.properties +8 -8
- package/src/sap/ui/core/messagebundle_cy.properties +6 -6
- package/src/sap/ui/core/messagebundle_fi.properties +2 -2
- package/src/sap/ui/core/messagebundle_hi.properties +4 -4
- package/src/sap/ui/core/messagebundle_kk.properties +7 -7
- package/src/sap/ui/core/messagebundle_ko.properties +8 -8
- package/src/sap/ui/core/messagebundle_lv.properties +4 -4
- package/src/sap/ui/core/messagebundle_mk.properties +8 -8
- package/src/sap/ui/core/messagebundle_ms.properties +8 -8
- package/src/sap/ui/core/messagebundle_nl.properties +2 -2
- package/src/sap/ui/core/messagebundle_ro.properties +4 -4
- package/src/sap/ui/core/messagebundle_ru.properties +2 -2
- package/src/sap/ui/core/messagebundle_sh.properties +8 -8
- package/src/sap/ui/core/messagebundle_sk.properties +1 -1
- package/src/sap/ui/core/messagebundle_sl.properties +2 -2
- package/src/sap/ui/core/messagebundle_sr.properties +8 -8
- package/src/sap/ui/core/messagebundle_vi.properties +8 -8
- package/src/sap/ui/core/messagebundle_zh_TW.properties +8 -8
- package/src/sap/ui/core/mvc/Controller.js +5 -3
- 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 +63 -20
- package/src/sap/ui/core/mvc/XMLView.js +6 -2
- package/src/sap/ui/core/mvc/_ViewFactory.js +8 -4
- 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/History.js +1 -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 +1 -1
- package/src/sap/ui/core/themes/base/base.less +20 -20
- package/src/sap/ui/core/themes/base/skeleton.less +3 -3
- package/src/sap/ui/core/theming/ThemeManager.js +7 -3
- 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/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/dom/findTabbable.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/json/JSONModel.js +1 -1
- package/src/sap/ui/model/json/JSONPropertyBinding.js +14 -2
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +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/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 +17 -11
- package/src/sap/ui/model/odata/v2/ODataModel.js +4 -3
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +10 -2
- package/src/sap/ui/model/odata/v4/Context.js +19 -15
- 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 +26 -14
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +4 -4
- package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
- 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 +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +69 -27
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +10 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +52 -60
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +49 -31
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +19 -9
- 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 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/generic/GenericTestCollection.js +11 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/thirdparty/jquery.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +49 -42
- package/src/ui5loader.js +1 -1
- package/src/sap/ui/base/_runWithOwner.js +0 -43
|
@@ -16,8 +16,8 @@ sap.ui.define([
|
|
|
16
16
|
'sap/base/util/extend',
|
|
17
17
|
'sap/base/util/deepExtend',
|
|
18
18
|
'sap/base/util/merge',
|
|
19
|
-
'sap/ui/base/_runWithOwner',
|
|
20
19
|
'sap/ui/base/ManagedObject',
|
|
20
|
+
'sap/ui/base/OwnStatics',
|
|
21
21
|
'sap/ui/core/Lib',
|
|
22
22
|
'sap/ui/core/ResizeHandler',
|
|
23
23
|
'sap/ui/thirdparty/URI',
|
|
@@ -46,8 +46,8 @@ sap.ui.define([
|
|
|
46
46
|
extend,
|
|
47
47
|
deepExtend,
|
|
48
48
|
merge,
|
|
49
|
-
_runWithOwner,
|
|
50
49
|
ManagedObject,
|
|
50
|
+
OwnStatics,
|
|
51
51
|
Library,
|
|
52
52
|
ResizeHandler,
|
|
53
53
|
URI,
|
|
@@ -70,6 +70,8 @@ sap.ui.define([
|
|
|
70
70
|
|
|
71
71
|
/* global Promise */
|
|
72
72
|
|
|
73
|
+
const { runWithOwner, getCurrentOwnerId } = OwnStatics.get(ManagedObject);
|
|
74
|
+
|
|
73
75
|
var ServiceStartupOptions = {
|
|
74
76
|
lazy: "lazy",
|
|
75
77
|
eager: "eager",
|
|
@@ -290,7 +292,7 @@ sap.ui.define([
|
|
|
290
292
|
* @extends sap.ui.base.ManagedObject
|
|
291
293
|
* @abstract
|
|
292
294
|
* @author SAP SE
|
|
293
|
-
* @version 1.
|
|
295
|
+
* @version 1.139.1
|
|
294
296
|
* @alias sap.ui.core.Component
|
|
295
297
|
* @since 1.9.2
|
|
296
298
|
*/
|
|
@@ -835,7 +837,7 @@ sap.ui.define([
|
|
|
835
837
|
throw new Error("Execute 'runAsOwner' on an inactive owner component is not supported. Component: '" +
|
|
836
838
|
this.getMetadata().getName() + "' with id '" + this.getId() + "'.");
|
|
837
839
|
}
|
|
838
|
-
return
|
|
840
|
+
return runWithOwner(fn, this.getId());
|
|
839
841
|
};
|
|
840
842
|
|
|
841
843
|
// ---- ----
|
|
@@ -2211,10 +2213,10 @@ sap.ui.define([
|
|
|
2211
2213
|
model: oModel,
|
|
2212
2214
|
modelId: sModelName
|
|
2213
2215
|
};
|
|
2214
|
-
const oOwnerComponent = Component.getComponentById(
|
|
2216
|
+
const oOwnerComponent = Component.getComponentById(getCurrentOwnerId());
|
|
2215
2217
|
if (oOwnerComponent) {
|
|
2216
2218
|
oInfo.owner = {
|
|
2217
|
-
id:
|
|
2219
|
+
id: getCurrentOwnerId(),
|
|
2218
2220
|
config: oOwnerComponent._componentConfig
|
|
2219
2221
|
};
|
|
2220
2222
|
}
|
|
@@ -2619,7 +2621,7 @@ sap.ui.define([
|
|
|
2619
2621
|
* Part of the old sap.ui.component implementation than can be re-used by the new factory
|
|
2620
2622
|
*/
|
|
2621
2623
|
function componentFactory(vConfig, bLegacy) {
|
|
2622
|
-
var oOwnerComponent = Component.getComponentById(
|
|
2624
|
+
var oOwnerComponent = Component.getComponentById(getCurrentOwnerId());
|
|
2623
2625
|
|
|
2624
2626
|
if (Array.isArray(vConfig.activeTerminologies) && vConfig.activeTerminologies.length &&
|
|
2625
2627
|
Array.isArray(Localization.getActiveTerminologies()) && Localization.getActiveTerminologies().length) {
|
|
@@ -2731,7 +2733,7 @@ sap.ui.define([
|
|
|
2731
2733
|
if ( vConfig.async ) {
|
|
2732
2734
|
// async: instantiate component after Promise has been fulfilled with component
|
|
2733
2735
|
// constructor and delegate the current owner id for the instance creation
|
|
2734
|
-
var sCurrentOwnerId =
|
|
2736
|
+
var sCurrentOwnerId = getCurrentOwnerId();
|
|
2735
2737
|
return vClassOrPromise.then(function(oClass) {
|
|
2736
2738
|
// [Compatibility]: We sequentialize the dependency loading for the inheritance chain of the component.
|
|
2737
2739
|
// This keeps the order of the dependency execution stable (e.g. thirdparty script includes).
|
|
@@ -2788,7 +2790,7 @@ sap.ui.define([
|
|
|
2788
2790
|
// load all classes in parallel
|
|
2789
2791
|
await Promise.all([...aModuleLoadingPromises, pModelClassLoading]);
|
|
2790
2792
|
|
|
2791
|
-
return
|
|
2793
|
+
return runWithOwner(function() {
|
|
2792
2794
|
return createInstance(oClass);
|
|
2793
2795
|
}, sCurrentOwnerId);
|
|
2794
2796
|
});
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* See also {@link module:sap/ui/core/ComponentSupport}.
|
|
61
61
|
*
|
|
62
62
|
* @extends sap.ui.core.Control
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.139.1
|
|
64
64
|
*
|
|
65
65
|
* @public
|
|
66
66
|
* @alias sap.ui.core.ComponentContainer
|
|
@@ -526,8 +526,18 @@ sap.ui.define([
|
|
|
526
526
|
*/
|
|
527
527
|
ComponentContainer.prototype.propagateProperties = function (vName) {
|
|
528
528
|
var oComponent = this.getComponentInstance();
|
|
529
|
-
if (oComponent
|
|
530
|
-
this.
|
|
529
|
+
if (oComponent) {
|
|
530
|
+
if (this.getPropagateModel()) {
|
|
531
|
+
this._propagateProperties(vName, oComponent);
|
|
532
|
+
} else if (oComponent.getParent() == null) {
|
|
533
|
+
const { aPropagationListeners } = this._getPropertiesToPropagate();
|
|
534
|
+
const oProperties = {
|
|
535
|
+
oModels: {},
|
|
536
|
+
oBindingContexts: {},
|
|
537
|
+
aPropagationListeners
|
|
538
|
+
};
|
|
539
|
+
this._propagateProperties(false, oComponent, oProperties, false, vName, true);
|
|
540
|
+
}
|
|
531
541
|
}
|
|
532
542
|
Control.prototype.propagateProperties.apply(this, arguments);
|
|
533
543
|
};
|
|
@@ -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.
|
|
87
|
+
* @version 1.139.1
|
|
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
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
* @private
|
|
119
119
|
* @ui5-restricted sap.ui.core, sap.ui.test
|
|
120
120
|
*/
|
|
121
|
-
const sVersion = "1.
|
|
121
|
+
const sVersion = "1.139.1";
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The buildinfo.
|
|
@@ -443,7 +443,7 @@ sap.ui.define([
|
|
|
443
443
|
* @extends sap.ui.base.Object
|
|
444
444
|
* @final
|
|
445
445
|
* @author SAP SE
|
|
446
|
-
* @version 1.
|
|
446
|
+
* @version 1.139.1
|
|
447
447
|
* @alias sap.ui.core.Core
|
|
448
448
|
* @public
|
|
449
449
|
* @hideconstructor
|
|
@@ -142,7 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
*
|
|
143
143
|
* @extends sap.ui.base.ManagedObject
|
|
144
144
|
* @author SAP SE
|
|
145
|
-
* @version 1.
|
|
145
|
+
* @version 1.139.1
|
|
146
146
|
* @public
|
|
147
147
|
* @alias sap.ui.core.Element
|
|
148
148
|
*/
|
|
@@ -639,8 +639,13 @@ sap.ui.define([
|
|
|
639
639
|
oParent = oParent?.getParent();
|
|
640
640
|
oParentDomRef = oParent?.getDomRef?.();
|
|
641
641
|
} else {
|
|
642
|
-
// If the lost focus element is outside the parent, look for the parent's first focusable element
|
|
643
|
-
|
|
642
|
+
// If the lost focus element is outside the parent, look for the parent's first focusable element (including the parent itself)
|
|
643
|
+
if (jQuery(oParentDomRef).is(":sapFocusable")) {
|
|
644
|
+
// If the parent is focusable, we can focus it
|
|
645
|
+
oFocusTarget = oParentDomRef;
|
|
646
|
+
} else {
|
|
647
|
+
oFocusTarget = oParentDomRef && jQuery(oParentDomRef).firstFocusableDomRef();
|
|
648
|
+
}
|
|
644
649
|
break;
|
|
645
650
|
}
|
|
646
651
|
} while ((!oRes || oRes.startOver) && oDomRef);
|
|
@@ -1383,7 +1388,8 @@ sap.ui.define([
|
|
|
1383
1388
|
// should not fire 'FocusFail' even when the oFocusDomRef isn't
|
|
1384
1389
|
// focusable because not all controls defines the 'getFocusDomRef'
|
|
1385
1390
|
// method properly
|
|
1386
|
-
if (
|
|
1391
|
+
if ((document.activeElement?.closest(".sapUiSkipFocusFail"))
|
|
1392
|
+
|| (oDomRef && !oDomRef.contains(document.activeElement))) {
|
|
1387
1393
|
Element.fireFocusFail.call(this, FocusMode.DEFAULT);
|
|
1388
1394
|
}
|
|
1389
1395
|
}
|
|
@@ -43,7 +43,7 @@ sap.ui.define(["./FocusMode"], function(FocusMode) {
|
|
|
43
43
|
*
|
|
44
44
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
45
45
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.139.1
|
|
47
47
|
* @public
|
|
48
48
|
* @class
|
|
49
49
|
* @alias sap.ui.core.EnabledPropagator
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
'../base/_runWithOwner',
|
|
9
8
|
'../base/ManagedObject',
|
|
9
|
+
'../base/OwnStatics',
|
|
10
10
|
'./Element',
|
|
11
11
|
'./DeclarativeSupport',
|
|
12
12
|
'./XMLTemplateProcessor',
|
|
@@ -19,8 +19,8 @@ sap.ui.define([
|
|
|
19
19
|
'sap/ui/core/mvc/XMLProcessingMode'
|
|
20
20
|
],
|
|
21
21
|
function(
|
|
22
|
-
_runWithOwner,
|
|
23
22
|
ManagedObject,
|
|
23
|
+
OwnStatics,
|
|
24
24
|
Element,
|
|
25
25
|
DeclarativeSupport,
|
|
26
26
|
XMLTemplateProcessor,
|
|
@@ -38,6 +38,8 @@ function(
|
|
|
38
38
|
var mRegistry = {}, // the Fragment registry
|
|
39
39
|
mTypes = {}; // the Fragment types registry, holding their implementations
|
|
40
40
|
|
|
41
|
+
const { getCurrentOwnerId, runWithPreprocessors } = OwnStatics.get(ManagedObject);
|
|
42
|
+
|
|
41
43
|
/**
|
|
42
44
|
* @classdesc Fragments support the definition of light-weight stand-alone UI control trees.
|
|
43
45
|
* This class acts as factory which returns the UI control tree defined inside the Fragments. When used within declarative Views,
|
|
@@ -101,7 +103,7 @@ function(
|
|
|
101
103
|
* @class
|
|
102
104
|
* @extends sap.ui.base.ManagedObject
|
|
103
105
|
* @author SAP SE
|
|
104
|
-
* @version 1.
|
|
106
|
+
* @version 1.139.1
|
|
105
107
|
* @public
|
|
106
108
|
* @alias sap.ui.core.Fragment
|
|
107
109
|
*/
|
|
@@ -219,7 +221,7 @@ function(
|
|
|
219
221
|
// remember the name of this Fragment
|
|
220
222
|
this._sFragmentName = mSettings.fragmentName;
|
|
221
223
|
|
|
222
|
-
// if the containing view (or fragment) has a scoped
|
|
224
|
+
// if the containing view (or fragment) has a scoped runWithOwner function we need to propagate this to the nested Fragment (only for async case)
|
|
223
225
|
this.fnScopedRunWithOwner = mSettings.containingView && mSettings.containingView.fnScopedRunWithOwner;
|
|
224
226
|
|
|
225
227
|
if (!this.fnScopedRunWithOwner && this._sOwnerId) {
|
|
@@ -595,7 +597,7 @@ function(
|
|
|
595
597
|
mParameters.fragmentName = mParameters.fragmentName || mParameters.name;
|
|
596
598
|
mParameters.fragmentContent = mParameters.fragmentContent || mParameters.definition;
|
|
597
599
|
mParameters.oController = mParameters.controller;
|
|
598
|
-
mParameters.sOwnerId =
|
|
600
|
+
mParameters.sOwnerId = getCurrentOwnerId();
|
|
599
601
|
delete mParameters.name;
|
|
600
602
|
delete mParameters.definition;
|
|
601
603
|
delete mParameters.controller;
|
|
@@ -871,7 +873,7 @@ function(
|
|
|
871
873
|
// similar to the XMLView we need to have a scoped runWithPreprocessors function
|
|
872
874
|
var oParseConfig = {
|
|
873
875
|
fnRunWithPreprocessor: function(fn) {
|
|
874
|
-
return
|
|
876
|
+
return runWithPreprocessors(fn, {
|
|
875
877
|
settings: fnSettingsPreprocessor
|
|
876
878
|
});
|
|
877
879
|
}
|
|
@@ -959,7 +961,7 @@ function(
|
|
|
959
961
|
this._oContainingView = mSettings.containingView || this;
|
|
960
962
|
|
|
961
963
|
// unset any preprocessors (e.g. from an enclosing JSON view)
|
|
962
|
-
return
|
|
964
|
+
return runWithPreprocessors(function() {
|
|
963
965
|
var vContent;
|
|
964
966
|
if (this.fnScopedRunWithOwner) {
|
|
965
967
|
this.fnScopedRunWithOwner(function () {
|
|
@@ -1097,7 +1099,7 @@ function(
|
|
|
1097
1099
|
}
|
|
1098
1100
|
|
|
1099
1101
|
// unset any preprocessors (e.g. from an enclosing HTML view)
|
|
1100
|
-
return
|
|
1102
|
+
return runWithPreprocessors(function() {
|
|
1101
1103
|
if (this.fnScopedRunWithOwner) {
|
|
1102
1104
|
this.fnScopedRunWithOwner(function () {
|
|
1103
1105
|
DeclarativeSupport.compile(this._oTemplate, this);
|
package/src/sap/ui/core/HTML.js
CHANGED
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
|
|
|
12
12
|
* Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
|
|
13
13
|
*
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.139.1
|
|
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
|
@@ -192,7 +192,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
|
|
|
192
192
|
* @see sap.ui.core.LabelEnablement#enrich
|
|
193
193
|
*
|
|
194
194
|
* @author SAP SE
|
|
195
|
-
* @version 1.
|
|
195
|
+
* @version 1.139.1
|
|
196
196
|
* @protected
|
|
197
197
|
* @alias sap.ui.core.LabelEnablement
|
|
198
198
|
* @namespace
|
package/src/sap/ui/core/Lib.js
CHANGED
|
@@ -65,17 +65,31 @@ sap.ui.define([
|
|
|
65
65
|
/**
|
|
66
66
|
* Bookkeeping for the guessing of library names.
|
|
67
67
|
*
|
|
68
|
-
* Set of bundleUrls from which a library name has been derived
|
|
69
|
-
* If no library name can be derived, the result will also be tracked with 'false' as value.
|
|
68
|
+
* Set of bundleUrls from which a library name has been derived, see #_getByBundleUrl
|
|
70
69
|
*
|
|
71
70
|
* Example:
|
|
72
71
|
* mGuessedLibraries = {
|
|
73
|
-
* "my/simple/library/i18n/i18n.properties": "my.simple.library"
|
|
74
|
-
* "no/library/i18n/i18n.properties": false
|
|
72
|
+
* "my/simple/library/i18n/i18n.properties": "my.simple.library"
|
|
75
73
|
* }
|
|
76
74
|
*/
|
|
77
75
|
var mGuessedLibraries = {};
|
|
78
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Negative result bookkeeping for the guessing of library names.
|
|
79
|
+
*
|
|
80
|
+
* Set of bundleUrls from which a library name could not be derived, see #_getByBundleUrl
|
|
81
|
+
*
|
|
82
|
+
* Note: This cache is maintained separately from the positive cache to ease clearing it
|
|
83
|
+
* when a new library instance is created (see #_get). This prevents that a negative result
|
|
84
|
+
* is cached for a library that has been created/loaded in the meantime.
|
|
85
|
+
*
|
|
86
|
+
* Example:
|
|
87
|
+
* mGuessedLibrariesNegative = {
|
|
88
|
+
* "no/library/i18n/i18n.properties": undefined
|
|
89
|
+
* }
|
|
90
|
+
*/
|
|
91
|
+
var mGuessedLibrariesNegative = {};
|
|
92
|
+
|
|
79
93
|
/**
|
|
80
94
|
* Set of libraries that provide a bundle info file (library-preload-lazy.js).
|
|
81
95
|
*
|
|
@@ -303,6 +317,7 @@ sap.ui.define([
|
|
|
303
317
|
}
|
|
304
318
|
|
|
305
319
|
this.name = mSettings.name;
|
|
320
|
+
this.namespace = mSettings.name.replace(/\./g, '/');
|
|
306
321
|
|
|
307
322
|
var aPropsWithDefaults = ["dependencies", "types", "interfaces", "controls", "elements"];
|
|
308
323
|
|
|
@@ -520,8 +535,7 @@ sap.ui.define([
|
|
|
520
535
|
mOptions = mOptions || {};
|
|
521
536
|
|
|
522
537
|
var sFileType = this._getFileType(mOptions.json),
|
|
523
|
-
|
|
524
|
-
bEntryModuleExists = !!sap.ui.loader._.getModuleState(sLibPackage + '/library.js'),
|
|
538
|
+
bEntryModuleExists = !!sap.ui.loader._.getModuleState(this.namespace + '/library.js'),
|
|
525
539
|
bHttp2 = Library.isDepCacheEnabled();
|
|
526
540
|
|
|
527
541
|
if (sFileType === 'none') {
|
|
@@ -571,15 +585,15 @@ sap.ui.define([
|
|
|
571
585
|
/** @deprecated */
|
|
572
586
|
if (mOptions.sync) {
|
|
573
587
|
try {
|
|
574
|
-
sap.ui.requireSync(
|
|
588
|
+
sap.ui.requireSync(this.namespace + '/library-preload-lazy'); // legacy-relevant: Sync path
|
|
575
589
|
} catch (e) {
|
|
576
|
-
Log.error("failed to load '" +
|
|
590
|
+
Log.error("failed to load '" + this.namespace + "/library-preload-lazy.js" + "' synchronously (" + (e && e.message || e) + ")");
|
|
577
591
|
}
|
|
578
592
|
return this;
|
|
579
593
|
}
|
|
580
594
|
|
|
581
595
|
return sap.ui.loader._.loadJSResourceAsync(
|
|
582
|
-
|
|
596
|
+
this.namespace + '/library-preload-lazy.js', /* ignoreErrors = */ true);
|
|
583
597
|
}
|
|
584
598
|
|
|
585
599
|
// otherwise mark as pending
|
|
@@ -663,7 +677,7 @@ sap.ui.define([
|
|
|
663
677
|
mOptions = mOptions || {};
|
|
664
678
|
|
|
665
679
|
var that = this;
|
|
666
|
-
var sPreloadModule = this.
|
|
680
|
+
var sPreloadModule = this.namespace
|
|
667
681
|
+ (mOptions.http2 ? '/library-h2-preload' : '/library-preload')
|
|
668
682
|
+ (mOptions.sync ? '' : '.js');
|
|
669
683
|
var pResult;
|
|
@@ -765,7 +779,7 @@ sap.ui.define([
|
|
|
765
779
|
*/
|
|
766
780
|
getManifest: function(bSync) {
|
|
767
781
|
if (!this.oManifest) {
|
|
768
|
-
var manifestModule = this.
|
|
782
|
+
var manifestModule = this.namespace + '/manifest.json';
|
|
769
783
|
|
|
770
784
|
if (sap.ui.loader._.getModuleState(manifestModule) || (bSync && !this._manifestFailed)) {
|
|
771
785
|
try {
|
|
@@ -1077,6 +1091,7 @@ sap.ui.define([
|
|
|
1077
1091
|
name: sName,
|
|
1078
1092
|
_key: oConstructorKey
|
|
1079
1093
|
});
|
|
1094
|
+
mGuessedLibrariesNegative = {}; // Reset negative cache to enforce re-evaluation
|
|
1080
1095
|
}
|
|
1081
1096
|
|
|
1082
1097
|
return oLibrary;
|
|
@@ -1095,6 +1110,9 @@ sap.ui.define([
|
|
|
1095
1110
|
if (mGuessedLibraries[sBundleUrl]) {
|
|
1096
1111
|
return mGuessedLibraries[sBundleUrl];
|
|
1097
1112
|
}
|
|
1113
|
+
if (sBundleUrl in mGuessedLibrariesNegative) {
|
|
1114
|
+
return undefined;
|
|
1115
|
+
}
|
|
1098
1116
|
|
|
1099
1117
|
// [1] Guess ResourceName
|
|
1100
1118
|
var sBundleName = sap.ui.loader._.guessResourceName(sBundleUrl);
|
|
@@ -1102,14 +1120,13 @@ sap.ui.define([
|
|
|
1102
1120
|
|
|
1103
1121
|
// [2] Guess library name
|
|
1104
1122
|
for (var sLibrary in mLibraries) {
|
|
1105
|
-
|
|
1123
|
+
var oLib = mLibraries[sLibrary];
|
|
1124
|
+
if (!oLib.isSettingsEnhanced()) {
|
|
1106
1125
|
// ignore libraries that haven't been initialized
|
|
1107
1126
|
continue;
|
|
1108
1127
|
}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
if (sLibraryName !== "" && sBundleName.startsWith(sLibraryName + "/")) {
|
|
1112
|
-
var sBundlePath = sBundleName.replace(sLibraryName + "/", "");
|
|
1128
|
+
if (oLib.namespace !== "" && sBundleName.startsWith(oLib.namespace + "/")) {
|
|
1129
|
+
var sBundlePath = sBundleName.replace(oLib.namespace + "/", "");
|
|
1113
1130
|
|
|
1114
1131
|
// [3] Retrieve i18n from manifest for looking up the base bundle
|
|
1115
1132
|
// (can be undefined if the lib defines "sap.ui5/library/i18n" with <false>)
|
|
@@ -1117,8 +1134,8 @@ sap.ui.define([
|
|
|
1117
1134
|
|
|
1118
1135
|
if (vI18n) {
|
|
1119
1136
|
// Resolve bundle paths relative to library before comparing
|
|
1120
|
-
var sManifestBaseBundlePath = getModulePath(
|
|
1121
|
-
sBundlePath = getModulePath(
|
|
1137
|
+
var sManifestBaseBundlePath = getModulePath(oLib.namespace, "/" + vI18n.bundleUrl);
|
|
1138
|
+
sBundlePath = getModulePath(oLib.namespace, "/" + sBundlePath);
|
|
1122
1139
|
|
|
1123
1140
|
// the input bundle-path and the derived library bundle-path must match,
|
|
1124
1141
|
// otherwise we would enhance the wrong bundle with terminologies etc.
|
|
@@ -1128,7 +1145,7 @@ sap.ui.define([
|
|
|
1128
1145
|
return oLib;
|
|
1129
1146
|
}
|
|
1130
1147
|
// [4.2] Cache none-matching result
|
|
1131
|
-
|
|
1148
|
+
mGuessedLibrariesNegative[sBundleUrl] = undefined;
|
|
1132
1149
|
}
|
|
1133
1150
|
}
|
|
1134
1151
|
}
|
|
@@ -1455,7 +1472,7 @@ sap.ui.define([
|
|
|
1455
1472
|
sTypeName.replace(/\./g, "/") + ".js",
|
|
1456
1473
|
() => (
|
|
1457
1474
|
`Importing the pseudo module '${sTypeName.replace(/\./g, "/")}' is deprecated.`
|
|
1458
|
-
+ ` To access the type '${sTypeName}', please import '${oLib.
|
|
1475
|
+
+ ` To access the type '${sTypeName}', please import '${oLib.namespace}/library'`
|
|
1459
1476
|
+ createHintForType(sTypeName)
|
|
1460
1477
|
+ ` For more information, see documentation under 'Best Practices for Loading Modules'.`
|
|
1461
1478
|
)
|
|
@@ -1511,7 +1528,7 @@ sap.ui.define([
|
|
|
1511
1528
|
|
|
1512
1529
|
function getLibraryModuleNames(aLibs) {
|
|
1513
1530
|
return aLibs.map(function(oLib) {
|
|
1514
|
-
return oLib.
|
|
1531
|
+
return oLib.namespace + "/library";
|
|
1515
1532
|
});
|
|
1516
1533
|
}
|
|
1517
1534
|
|
|
@@ -1884,9 +1901,7 @@ sap.ui.define([
|
|
|
1884
1901
|
// enrich i18n information
|
|
1885
1902
|
if (vI18n) {
|
|
1886
1903
|
// resolve bundleUrls relative to library path
|
|
1887
|
-
var sLibraryPath =
|
|
1888
|
-
sLibraryPath = sLibraryPath.endsWith("/") ? sLibraryPath : sLibraryPath + "/"; // add trailing slash if missing
|
|
1889
|
-
sLibraryPath = sap.ui.require.toUrl(sLibraryPath);
|
|
1904
|
+
var sLibraryPath = sap.ui.require.toUrl(oLib.namespace + "/");
|
|
1890
1905
|
|
|
1891
1906
|
_UrlResolver._processResourceConfiguration(vI18n, {
|
|
1892
1907
|
alreadyResolvedOnRoot: true,
|