@openui5/sap.ui.core 1.108.0 → 1.109.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/THIRDPARTY.txt +1 -1
- 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/Log.js +125 -84
- package/src/sap/base/i18n/ResourceBundle.js +41 -11
- package/src/sap/base/util/includes.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/base/util/values.js +2 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +1 -1
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/ManagedObjectObserver.js +33 -11
- 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 +3 -3
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +1 -1
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +4 -4
- 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 +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/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +133 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +82 -50
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +29 -9
- 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 +7 -5
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/XMLTemplateProcessor.js +1 -3
- package/src/sap/ui/core/cldr/ar.json +330 -0
- package/src/sap/ui/core/cldr/ar_EG.json +330 -0
- package/src/sap/ui/core/cldr/ar_SA.json +330 -0
- package/src/sap/ui/core/cldr/bg.json +295 -0
- package/src/sap/ui/core/cldr/ca.json +329 -0
- package/src/sap/ui/core/cldr/cs.json +328 -0
- package/src/sap/ui/core/cldr/cy.json +260 -0
- package/src/sap/ui/core/cldr/da.json +295 -0
- package/src/sap/ui/core/cldr/de.json +329 -0
- package/src/sap/ui/core/cldr/de_AT.json +329 -0
- package/src/sap/ui/core/cldr/de_CH.json +329 -0
- package/src/sap/ui/core/cldr/el.json +228 -0
- package/src/sap/ui/core/cldr/el_CY.json +228 -0
- package/src/sap/ui/core/cldr/en.json +294 -0
- package/src/sap/ui/core/cldr/en_AU.json +294 -0
- package/src/sap/ui/core/cldr/en_GB.json +294 -0
- package/src/sap/ui/core/cldr/en_HK.json +294 -0
- package/src/sap/ui/core/cldr/en_IE.json +294 -0
- package/src/sap/ui/core/cldr/en_IN.json +294 -0
- package/src/sap/ui/core/cldr/en_NZ.json +294 -0
- package/src/sap/ui/core/cldr/en_PG.json +294 -0
- package/src/sap/ui/core/cldr/en_SG.json +294 -0
- package/src/sap/ui/core/cldr/en_ZA.json +294 -0
- package/src/sap/ui/core/cldr/es.json +261 -0
- package/src/sap/ui/core/cldr/es_AR.json +261 -0
- package/src/sap/ui/core/cldr/es_BO.json +261 -0
- package/src/sap/ui/core/cldr/es_CL.json +261 -0
- package/src/sap/ui/core/cldr/es_CO.json +261 -0
- package/src/sap/ui/core/cldr/es_MX.json +261 -0
- package/src/sap/ui/core/cldr/es_PE.json +261 -0
- package/src/sap/ui/core/cldr/es_UY.json +261 -0
- package/src/sap/ui/core/cldr/es_VE.json +261 -0
- package/src/sap/ui/core/cldr/et.json +294 -0
- package/src/sap/ui/core/cldr/fa.json +296 -0
- package/src/sap/ui/core/cldr/fi.json +328 -0
- package/src/sap/ui/core/cldr/fr.json +294 -0
- package/src/sap/ui/core/cldr/fr_BE.json +294 -0
- package/src/sap/ui/core/cldr/fr_CA.json +294 -0
- package/src/sap/ui/core/cldr/fr_CH.json +294 -0
- package/src/sap/ui/core/cldr/fr_LU.json +294 -0
- package/src/sap/ui/core/cldr/he.json +329 -0
- package/src/sap/ui/core/cldr/hi.json +261 -0
- package/src/sap/ui/core/cldr/hr.json +294 -0
- package/src/sap/ui/core/cldr/hu.json +362 -0
- package/src/sap/ui/core/cldr/id.json +294 -0
- package/src/sap/ui/core/cldr/it.json +294 -0
- package/src/sap/ui/core/cldr/it_CH.json +294 -0
- package/src/sap/ui/core/cldr/ja.json +328 -0
- package/src/sap/ui/core/cldr/kk.json +294 -0
- package/src/sap/ui/core/cldr/ko.json +328 -0
- package/src/sap/ui/core/cldr/lt.json +294 -0
- package/src/sap/ui/core/cldr/lv.json +294 -0
- package/src/sap/ui/core/cldr/ms.json +262 -0
- package/src/sap/ui/core/cldr/nb.json +295 -0
- package/src/sap/ui/core/cldr/nl.json +261 -0
- package/src/sap/ui/core/cldr/nl_BE.json +261 -0
- package/src/sap/ui/core/cldr/pl.json +328 -0
- package/src/sap/ui/core/cldr/pt.json +294 -0
- package/src/sap/ui/core/cldr/pt_PT.json +294 -0
- package/src/sap/ui/core/cldr/ro.json +294 -0
- package/src/sap/ui/core/cldr/ru.json +294 -0
- package/src/sap/ui/core/cldr/ru_UA.json +294 -0
- package/src/sap/ui/core/cldr/sk.json +328 -0
- package/src/sap/ui/core/cldr/sl.json +328 -0
- package/src/sap/ui/core/cldr/sr.json +294 -0
- package/src/sap/ui/core/cldr/sr_Latn.json +294 -0
- package/src/sap/ui/core/cldr/sv.json +295 -0
- package/src/sap/ui/core/cldr/th.json +362 -0
- package/src/sap/ui/core/cldr/tr.json +362 -0
- package/src/sap/ui/core/cldr/uk.json +294 -0
- package/src/sap/ui/core/cldr/vi.json +294 -0
- package/src/sap/ui/core/cldr/zh_CN.json +329 -0
- package/src/sap/ui/core/cldr/zh_HK.json +329 -0
- package/src/sap/ui/core/cldr/zh_SG.json +329 -0
- package/src/sap/ui/core/cldr/zh_TW.json +329 -0
- package/src/sap/ui/core/date/Japanese.js +30 -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/DragAndDrop.js +2 -2
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +122 -2
- package/src/sap/ui/core/format/NumberFormat.js +111 -70
- package/src/sap/ui/core/format/TimezoneUtil.js +2 -2
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +3 -3
- package/src/sap/ui/core/mvc/ViewType.js +4 -0
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +12 -17
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/Icon.less +17 -4
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
- package/src/sap/ui/core/themes/base/base.less +599 -90
- package/src/sap/ui/core/themes/base/global.less +64 -0
- package/src/sap/ui/core/themes/sap_hcb/global.less +65 -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/reflection/XmlTreeModifier.js +1 -3
- 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/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/controlhelper/TreeBindingProxy.js +11 -3
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +3 -4
- package/src/sap/ui/model/odata/v4/Context.js +82 -29
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +3 -2
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +77 -23
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +334 -142
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +109 -16
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +82 -42
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +26 -0
- 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/QUnitUtils.js +14 -2
- 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/OpaExtension.js +1 -1
- package/src/sap/ui/test/OpaPlugin.js +6 -4
- package/src/sap/ui/test/PageObjectFactory.js +11 -9
- package/src/sap/ui/test/RecordReplay.js +1 -1
- package/src/sap/ui/test/_OpaLogger.js +1 -1
- package/src/sap/ui/test/autowaiter/_promiseWaiter.js +4 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Mobile.js +17 -18
- package/src/sap/ui/util/Storage.js +90 -63
package/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.1.44
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
package/src/jquery.sap.global.js
CHANGED
|
@@ -67,7 +67,7 @@ sap.ui.define(['jquery.sap.global', 'sap/base/util/Properties'],
|
|
|
67
67
|
* {@link #setProperty} to store or change a value for a key and {@link #getKeys}
|
|
68
68
|
* can be used to retrieve an array of all keys that are currently stored in the collection.
|
|
69
69
|
*
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.109.0
|
|
71
71
|
* @since 0.9.0
|
|
72
72
|
* @name jQuery.sap.util.Properties
|
|
73
73
|
* @public
|
package/src/jquery.sap.script.js
CHANGED
|
@@ -267,7 +267,7 @@ sap.ui.define([
|
|
|
267
267
|
* Use {@link jQuery.sap.getUriParameters} to create an instance of jQuery.sap.util.UriParameters.
|
|
268
268
|
*
|
|
269
269
|
* @author SAP SE
|
|
270
|
-
* @version 1.
|
|
270
|
+
* @version 1.109.0
|
|
271
271
|
* @since 0.9.0
|
|
272
272
|
* @name jQuery.sap.util.UriParameters
|
|
273
273
|
* @public
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @param {string} [sIdPrefix] Prefix used for the Ids. If not set a default prefix is used.
|
|
38
38
|
* @returns {jQuery.sap.storage.Storage}
|
|
39
39
|
*
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.109.0
|
|
41
41
|
* @since 0.11.0
|
|
42
42
|
* @namespace
|
|
43
43
|
* @public
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
* should be deleted the method {@link #removeAll} should be used.
|
|
98
98
|
*
|
|
99
99
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
100
|
+
* @version 1.109.0
|
|
101
101
|
* @since 0.11.0
|
|
102
102
|
* @public
|
|
103
103
|
* @name jQuery.sap.storage.Storage
|
|
@@ -201,7 +201,7 @@ sap.ui.define([
|
|
|
201
201
|
* Enumeration of the storage types supported by {@link jQuery.sap.storage.Storage}
|
|
202
202
|
* @enum {string}
|
|
203
203
|
* @public
|
|
204
|
-
* @version 1.
|
|
204
|
+
* @version 1.109.0
|
|
205
205
|
* @since 0.11.0
|
|
206
206
|
*/
|
|
207
207
|
jQuery.sap.storage.Type = Storage.Type;
|
package/src/sap/base/Log.js
CHANGED
|
@@ -97,12 +97,10 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
97
97
|
ALL : (5 + 1)
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
var sDefaultComponent,
|
|
101
|
-
|
|
102
100
|
/**
|
|
103
101
|
* The array that holds the log entries that have been recorded so far
|
|
104
102
|
*/
|
|
105
|
-
aLog = [],
|
|
103
|
+
var aLog = [],
|
|
106
104
|
|
|
107
105
|
/**
|
|
108
106
|
* Maximum log level to be recorded (per component).
|
|
@@ -201,107 +199,144 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
201
199
|
|
|
202
200
|
/**
|
|
203
201
|
* Creates a new fatal-level entry in the log with the given message, details and calling component.
|
|
204
|
-
*
|
|
205
|
-
* @param {string}
|
|
206
|
-
*
|
|
207
|
-
* @param {
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
202
|
+
*
|
|
203
|
+
* @param {string} sMessage
|
|
204
|
+
* Message text to display
|
|
205
|
+
* @param {string|Error} [vDetails='']
|
|
206
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
207
|
+
* logged together with its stacktrace.
|
|
208
|
+
* @param {string} [sComponent='']
|
|
209
|
+
* Name of the component that produced the log entry
|
|
210
|
+
* @param {function} [fnSupportInfo]
|
|
211
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
212
|
+
* This function is only called if support info mode is turned on with
|
|
213
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
214
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
215
|
+
* static and stable content.
|
|
211
216
|
* @public
|
|
212
217
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
213
218
|
*/
|
|
214
|
-
Log.fatal = function(sMessage,
|
|
215
|
-
log(Log.Level.FATAL, sMessage,
|
|
219
|
+
Log.fatal = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
220
|
+
log(Log.Level.FATAL, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
216
221
|
};
|
|
217
222
|
|
|
218
223
|
/**
|
|
219
224
|
* Creates a new error-level entry in the log with the given message, details and calling component.
|
|
220
225
|
*
|
|
221
|
-
* @param {string} sMessage
|
|
222
|
-
*
|
|
223
|
-
* @param {string} [
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
226
|
+
* @param {string} sMessage
|
|
227
|
+
* Message text to display
|
|
228
|
+
* @param {string|Error} [vDetails='']
|
|
229
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
230
|
+
* logged together with its stacktrace.
|
|
231
|
+
* @param {string} [sComponent='']
|
|
232
|
+
* Name of the component that produced the log entry
|
|
233
|
+
* @param {function} [fnSupportInfo]
|
|
234
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
235
|
+
* This function is only called if support info mode is turned on with
|
|
236
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
237
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
238
|
+
* static and stable content.
|
|
228
239
|
* @public
|
|
229
240
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
230
241
|
*/
|
|
231
|
-
Log.error = function(sMessage,
|
|
232
|
-
log(Log.Level.ERROR, sMessage,
|
|
242
|
+
Log.error = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
243
|
+
log(Log.Level.ERROR, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
233
244
|
};
|
|
234
245
|
|
|
235
246
|
/**
|
|
236
247
|
* Creates a new warning-level entry in the log with the given message, details and calling component.
|
|
237
248
|
*
|
|
238
|
-
* @param {string} sMessage
|
|
239
|
-
*
|
|
240
|
-
* @param {string} [
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
249
|
+
* @param {string} sMessage
|
|
250
|
+
* Message text to display
|
|
251
|
+
* @param {string|Error} [vDetails='']
|
|
252
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
253
|
+
* logged together with its stacktrace.
|
|
254
|
+
* @param {string} [sComponent='']
|
|
255
|
+
* Name of the component that produced the log entry
|
|
256
|
+
* @param {function} [fnSupportInfo]
|
|
257
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
258
|
+
* This function is only called if support info mode is turned on with
|
|
259
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
260
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
261
|
+
* static and stable content.
|
|
245
262
|
* @public
|
|
246
263
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
247
264
|
*/
|
|
248
|
-
Log.warning = function(sMessage,
|
|
249
|
-
log(Log.Level.WARNING, sMessage,
|
|
265
|
+
Log.warning = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
266
|
+
log(Log.Level.WARNING, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
250
267
|
};
|
|
251
268
|
|
|
252
269
|
/**
|
|
253
270
|
* Creates a new info-level entry in the log with the given message, details and calling component.
|
|
254
271
|
*
|
|
255
|
-
* @param {string} sMessage
|
|
256
|
-
*
|
|
257
|
-
* @param {string} [
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
272
|
+
* @param {string} sMessage
|
|
273
|
+
* Message text to display
|
|
274
|
+
* @param {string|Error} [vDetails='']
|
|
275
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
276
|
+
* logged with the stack.
|
|
277
|
+
* @param {string} [sComponent='']
|
|
278
|
+
* Name of the component that produced the log entry
|
|
279
|
+
* @param {function} [fnSupportInfo]
|
|
280
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
281
|
+
* This function is only called if support info mode is turned on with
|
|
282
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
283
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
284
|
+
* static and stable content.
|
|
262
285
|
* @public
|
|
263
286
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
264
287
|
*/
|
|
265
|
-
Log.info = function(sMessage,
|
|
266
|
-
log(Log.Level.INFO, sMessage,
|
|
288
|
+
Log.info = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
289
|
+
log(Log.Level.INFO, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
267
290
|
};
|
|
268
291
|
|
|
269
292
|
/**
|
|
270
293
|
* Creates a new debug-level entry in the log with the given message, details and calling component.
|
|
271
294
|
*
|
|
272
|
-
* @param {string} sMessage
|
|
273
|
-
*
|
|
274
|
-
* @param {string} [
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
*
|
|
295
|
+
* @param {string} sMessage
|
|
296
|
+
* Message text to display
|
|
297
|
+
* @param {string|Error} [vDetails='']
|
|
298
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
299
|
+
* logged with the stack.
|
|
300
|
+
* @param {string} [sComponent='']
|
|
301
|
+
* Name of the component that produced the log entry
|
|
302
|
+
* @param {function} [fnSupportInfo]
|
|
303
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
304
|
+
* This function is only called if support info mode is turned on with
|
|
305
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
306
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
307
|
+
* static and stable content.
|
|
279
308
|
* @public
|
|
280
309
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
281
310
|
*/
|
|
282
|
-
Log.debug = function(sMessage,
|
|
283
|
-
log(Log.Level.DEBUG, sMessage,
|
|
311
|
+
Log.debug = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
312
|
+
log(Log.Level.DEBUG, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
284
313
|
};
|
|
285
314
|
|
|
286
315
|
/**
|
|
287
316
|
* Creates a new trace-level entry in the log with the given message, details and calling component.
|
|
288
317
|
*
|
|
289
|
-
* @param {string} sMessage
|
|
290
|
-
*
|
|
291
|
-
* @param {string} [
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
318
|
+
* @param {string} sMessage
|
|
319
|
+
* Message text to display
|
|
320
|
+
* @param {string|Error} [vDetails='']
|
|
321
|
+
* Optional details about the message, might be omitted. Can be an Error object which will be
|
|
322
|
+
* logged with the stack.
|
|
323
|
+
* @param {string} [sComponent='']
|
|
324
|
+
* Name of the component that produced the log entry
|
|
325
|
+
* @param {function} [fnSupportInfo]
|
|
326
|
+
* Callback that returns an additional support object to be logged in support mode.
|
|
327
|
+
* This function is only called if support info mode is turned on with
|
|
328
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
329
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
330
|
+
* static and stable content.
|
|
296
331
|
* @public
|
|
297
332
|
* @SecSink {0 1 2|SECRET} Could expose secret data in logs
|
|
298
333
|
*/
|
|
299
|
-
Log.trace = function(sMessage,
|
|
300
|
-
log(Log.Level.TRACE, sMessage,
|
|
334
|
+
Log.trace = function(sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
335
|
+
log(Log.Level.TRACE, sMessage, vDetails, sComponent, fnSupportInfo);
|
|
301
336
|
};
|
|
302
337
|
|
|
303
338
|
/**
|
|
304
|
-
* Defines the maximum <code>sap
|
|
339
|
+
* Defines the maximum <code>sap/base/Log.Level</code> of log entries that will be recorded.
|
|
305
340
|
* Log entries with a higher (less important) log level will be omitted from the log.
|
|
306
341
|
* When a component name is given, the log level will be configured for that component
|
|
307
342
|
* only, otherwise the log level for the default component of this logger is set.
|
|
@@ -315,7 +350,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
315
350
|
* @public
|
|
316
351
|
*/
|
|
317
352
|
Log.setLevel = function(iLogLevel, sComponent, _bDefault) {
|
|
318
|
-
sComponent = sComponent ||
|
|
353
|
+
sComponent = sComponent || '';
|
|
319
354
|
if (!_bDefault || mMaxLevel[sComponent] == null) {
|
|
320
355
|
mMaxLevel[sComponent] = iLogLevel;
|
|
321
356
|
var sLogLevel;
|
|
@@ -338,7 +373,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
338
373
|
* @public
|
|
339
374
|
*/
|
|
340
375
|
Log.getLevel = function(sComponent) {
|
|
341
|
-
return level(sComponent
|
|
376
|
+
return level(sComponent);
|
|
342
377
|
};
|
|
343
378
|
|
|
344
379
|
/**
|
|
@@ -353,7 +388,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
353
388
|
* @public
|
|
354
389
|
*/
|
|
355
390
|
Log.isLoggable = function(iLevel, sComponent) {
|
|
356
|
-
return (iLevel == null ? Log.Level.DEBUG : iLevel) <= level(sComponent
|
|
391
|
+
return (iLevel == null ? Log.Level.DEBUG : iLevel) <= level(sComponent);
|
|
357
392
|
};
|
|
358
393
|
|
|
359
394
|
/**
|
|
@@ -376,32 +411,38 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
376
411
|
* (or higher than the global level, if no component is given),
|
|
377
412
|
* then no entry is created and <code>undefined</code> is returned.
|
|
378
413
|
*
|
|
379
|
-
* If an <code>Error</code> is passed via <code>
|
|
414
|
+
* If an <code>Error</code> is passed via <code>vDetails</code> the stack
|
|
380
415
|
* of the <code>Error</code> will be logged as a separate parameter in
|
|
381
416
|
* the proper <code>console</code> function for the matching log level.
|
|
382
417
|
*
|
|
383
|
-
* @param {module:sap/base/Log.Level} iLevel
|
|
384
|
-
*
|
|
385
|
-
* @param {string
|
|
386
|
-
*
|
|
387
|
-
* @param {
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
418
|
+
* @param {module:sap/base/Log.Level} iLevel
|
|
419
|
+
* One of the log levels FATAL, ERROR, WARNING, INFO, DEBUG, TRACE
|
|
420
|
+
* @param {string} sMessage
|
|
421
|
+
* The message to be logged
|
|
422
|
+
* @param {string|Error} [vDetails]
|
|
423
|
+
* The optional details for the message; could be an Error which will be logged with the
|
|
424
|
+
* stacktrace, to easily find the root cause of the Error
|
|
425
|
+
* @param {string} [sComponent]
|
|
426
|
+
* The log component under which the message should be logged
|
|
427
|
+
* @param {function} [fnSupportInfo] Callback that returns an additional support object to be
|
|
428
|
+
* logged in support mode. This function is only called if support info mode is turned on with
|
|
429
|
+
* <code>logSupportInfo(true)</code>. To avoid negative effects regarding execution times and
|
|
430
|
+
* memory consumption, the returned object should be a simple immutable JSON object with mostly
|
|
431
|
+
* static and stable content.
|
|
432
|
+
* @returns {object}
|
|
433
|
+
* The log entry as an object or <code>undefined</code> if no entry was created
|
|
392
434
|
* @private
|
|
393
435
|
*/
|
|
394
|
-
function log(iLevel, sMessage,
|
|
395
|
-
if (!fnSupportInfo && !sComponent && typeof
|
|
396
|
-
fnSupportInfo =
|
|
397
|
-
|
|
436
|
+
function log(iLevel, sMessage, vDetails, sComponent, fnSupportInfo) {
|
|
437
|
+
if (!fnSupportInfo && !sComponent && typeof vDetails === "function") {
|
|
438
|
+
fnSupportInfo = vDetails;
|
|
439
|
+
vDetails = "";
|
|
398
440
|
}
|
|
399
441
|
if (!fnSupportInfo && typeof sComponent === "function") {
|
|
400
442
|
fnSupportInfo = sComponent;
|
|
401
443
|
sComponent = "";
|
|
402
444
|
}
|
|
403
445
|
|
|
404
|
-
sComponent = sComponent || sDefaultComponent;
|
|
405
446
|
if (iLevel <= level(sComponent) ) {
|
|
406
447
|
var fNow = now(),
|
|
407
448
|
oNow = new Date(fNow),
|
|
@@ -412,7 +453,7 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
412
453
|
timestamp: fNow,
|
|
413
454
|
level : iLevel,
|
|
414
455
|
message : String(sMessage || ""),
|
|
415
|
-
details : String(
|
|
456
|
+
details : String(vDetails || ""),
|
|
416
457
|
component: String(sComponent || "")
|
|
417
458
|
};
|
|
418
459
|
if (bLogSupportInfo && typeof fnSupportInfo === "function") {
|
|
@@ -445,24 +486,24 @@ sap.ui.define(["sap/base/util/now"], function(now) {
|
|
|
445
486
|
*/
|
|
446
487
|
/*eslint-disable no-console */
|
|
447
488
|
if (console) { // in Firefox, console might not exist or it might even disappear
|
|
448
|
-
var isDetailsError =
|
|
489
|
+
var isDetailsError = vDetails instanceof Error,
|
|
449
490
|
logText = oLogEntry.date + " " + oLogEntry.time + " " + oLogEntry.message + " - " + oLogEntry.details + " " + oLogEntry.component;
|
|
450
491
|
switch (iLevel) {
|
|
451
492
|
case Log.Level.FATAL:
|
|
452
|
-
case Log.Level.ERROR: isDetailsError ? console.error(logText, "\n",
|
|
453
|
-
case Log.Level.WARNING: isDetailsError ? console.warn(logText, "\n",
|
|
493
|
+
case Log.Level.ERROR: isDetailsError ? console.error(logText, "\n", vDetails) : console.error(logText); break;
|
|
494
|
+
case Log.Level.WARNING: isDetailsError ? console.warn(logText, "\n", vDetails) : console.warn(logText); break;
|
|
454
495
|
case Log.Level.INFO:
|
|
455
496
|
if (console.info) { // info not available in iOS simulator
|
|
456
|
-
isDetailsError ? console.info(logText, "\n",
|
|
497
|
+
isDetailsError ? console.info(logText, "\n", vDetails) : console.info(logText);
|
|
457
498
|
} else {
|
|
458
|
-
isDetailsError ? console.log(logText, "\n",
|
|
499
|
+
isDetailsError ? console.log(logText, "\n", vDetails) : console.log(logText);
|
|
459
500
|
}
|
|
460
501
|
break;
|
|
461
502
|
case Log.Level.DEBUG:
|
|
462
|
-
isDetailsError ? console.debug(logText, "\n",
|
|
503
|
+
isDetailsError ? console.debug(logText, "\n", vDetails) : console.debug(logText);
|
|
463
504
|
break;
|
|
464
505
|
case Log.Level.TRACE:
|
|
465
|
-
isDetailsError ? console.trace(logText, "\n",
|
|
506
|
+
isDetailsError ? console.trace(logText, "\n", vDetails) : console.trace(logText);
|
|
466
507
|
break;
|
|
467
508
|
}
|
|
468
509
|
if (console.info && oLogEntry.supportInfo) {
|
|
@@ -334,20 +334,42 @@ sap.ui.define([
|
|
|
334
334
|
* Returns a locale-specific string value for the given key sKey.
|
|
335
335
|
*
|
|
336
336
|
* The text is searched in this resource bundle according to the fallback chain described in
|
|
337
|
-
* {@link module:sap/base/i18n/ResourceBundle}. If no text could be found, the key itself is used
|
|
337
|
+
* {@link module:sap/base/i18n/ResourceBundle}. If no text could be found, the key itself is used
|
|
338
|
+
* as text.
|
|
339
|
+
*
|
|
340
|
+
*
|
|
341
|
+
* <h3>Placeholders</h3>
|
|
342
|
+
*
|
|
343
|
+
* A text can contain placeholders that will be replaced with concrete values when
|
|
344
|
+
* <code>getText</code> is called. The replacement is triggered by the <code>aArgs</code> parameter.
|
|
345
|
+
*
|
|
346
|
+
* Whenever this parameter is given, then the text and the arguments are additionally run through
|
|
347
|
+
* the {@link module:sap/base/strings/formatMessage} API to replace placeholders in the text with
|
|
348
|
+
* the corresponding values from the arguments array. The resulting string is returned by
|
|
349
|
+
* <code>getText</code>.
|
|
350
|
+
*
|
|
351
|
+
* As the <code>formatMessage</code> API imposes some requirements on the input text (regarding
|
|
352
|
+
* curly braces and single apostrophes), text authors need to be aware of the specifics of the
|
|
353
|
+
* <code>formatMessage</code> API. Callers of <code>getText</code>, on the other side, should only
|
|
354
|
+
* supply <code>aArgs</code> when the text has been created with the <code>formatMessage</code> API
|
|
355
|
+
* in mind. Otherwise, single apostrophes in the text might be removed unintentionally.
|
|
356
|
+
*
|
|
357
|
+
* When <code>getText</code> is called without <code>aArgs</code>, the <code>formatMessage</code>
|
|
358
|
+
* API is not applied and the transformation reg. placeholders and apostrophes does not happen.
|
|
338
359
|
*
|
|
339
|
-
* If the second parameter <code>aArgs</code> is given, then any placeholder of the form "{<i>n</i>}"
|
|
340
|
-
* (with <i>n</i> being an integer) is replaced by the corresponding value from <code>aArgs</code>
|
|
341
|
-
* with index <i>n</i>. Note: This replacement is applied to the key if no text could be found.
|
|
342
360
|
* For more details on the replacement mechanism refer to {@link module:sap/base/strings/formatMessage}.
|
|
343
361
|
*
|
|
344
362
|
* @param {string} sKey Key to retrieve the text for
|
|
345
363
|
* @param {any[]} [aArgs] List of parameter values which should replace the placeholders "{<i>n</i>}"
|
|
346
|
-
* (<i>n</i> is the index) in the found locale-specific string value. Note that the replacement
|
|
347
|
-
* whenever <code>aArgs</code> is given, no matter whether the text contains placeholders
|
|
348
|
-
* and no matter whether <code>aArgs</code> contains a value for <i>n</i> or not.
|
|
349
|
-
* @param {boolean} [bIgnoreKeyFallback=false]
|
|
350
|
-
*
|
|
364
|
+
* (<i>n</i> is the index) in the found locale-specific string value. Note that the replacement
|
|
365
|
+
* is done whenever <code>aArgs</code> is given, no matter whether the text contains placeholders
|
|
366
|
+
* or not and no matter whether <code>aArgs</code> contains a value for <i>n</i> or not.
|
|
367
|
+
* @param {boolean} [bIgnoreKeyFallback=false]
|
|
368
|
+
* If set, <code>undefined</code> is returned instead of the key string, when the key is not found
|
|
369
|
+
* in any bundle or fallback bundle.
|
|
370
|
+
* @returns {string|undefined}
|
|
371
|
+
* The value belonging to the key, if found; otherwise the key itself or <code>undefined</code>
|
|
372
|
+
* depending on <code>bIgnoreKeyFallback</code>.
|
|
351
373
|
*
|
|
352
374
|
* @public
|
|
353
375
|
*/
|
|
@@ -929,12 +951,20 @@ sap.ui.define([
|
|
|
929
951
|
};
|
|
930
952
|
|
|
931
953
|
/**
|
|
932
|
-
* Hook
|
|
954
|
+
* Hook implemented by sap.ui.core.Core. to enrich bundle config with terminologies.
|
|
955
|
+
* See also the documentation of the hook's implementation in Core.js.
|
|
933
956
|
*
|
|
957
|
+
* @see sap.ui.core.Core.getLibraryResourceBundle
|
|
958
|
+
*
|
|
959
|
+
* @params {object} the ResourceBundle.create bundle config
|
|
934
960
|
* @private
|
|
935
961
|
* @ui5-restricted sap.ui.core.Core
|
|
936
962
|
*/
|
|
937
|
-
ResourceBundle._enrichBundleConfig = function() {
|
|
963
|
+
ResourceBundle._enrichBundleConfig = function(mParams) {
|
|
964
|
+
// Note: the ResourceBundle is a base module, which might be used standalone without the Core,
|
|
965
|
+
// so the bundle config must remain untouched
|
|
966
|
+
return mParams;
|
|
967
|
+
};
|
|
938
968
|
|
|
939
969
|
// ---- handling of supported locales and fallback chain ------------------------------------------
|
|
940
970
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @param {int} [iFromIndex=0] - optional start index, negative start index will start from the end
|
|
50
50
|
* @returns {boolean} - true if value is in the collection, false otherwise
|
|
51
51
|
* @public
|
|
52
|
-
* @deprecated as of version 1.90. Use the <code>Array.includes</code> or <code>String.includes</code> instead.
|
|
52
|
+
* @deprecated as of version 1.90. Use the <code>Array.prototype.includes</code> or <code>String.prototype.includes</code> instead, but note that <code>Array.prototype.includes</code> or <code>String.prototype.includes</code> fail when called on null values.
|
|
53
53
|
*/
|
|
54
54
|
var fnIncludes = function (vCollection, vValue, iFromIndex) {
|
|
55
55
|
if (typeof iFromIndex !== 'number') {
|