@openui5/sap.ui.core 1.103.0 → 1.105.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/.reuse/dep5 +18 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +36 -3
- 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/util/LoaderExtensions.js +69 -61
- package/src/sap/base/util/fetch.js +230 -0
- package/src/sap/base/util/mixedFetch.js +69 -0
- 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/syncFetch.js +73 -0
- package/src/sap/ui/Device.js +5 -5
- 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 +2 -2
- 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 +63 -45
- package/src/sap/ui/core/AccessKeysEnablement.js +173 -0
- package/src/sap/ui/core/AppCacheBuster.js +65 -51
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +48 -21
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +12 -12
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +77 -26
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +49 -61
- 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 +9 -1
- package/src/sap/ui/core/ElementMetadata.js +6 -4
- 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 +2 -2
- package/src/sap/ui/core/FocusHandler.js +56 -33
- 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 +4 -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 +4 -47
- package/src/sap/ui/core/Manifest.js +3 -5
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +11 -21
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +22 -43
- 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 +6 -4
- 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 +4 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/_IconRegistry.js +66 -55
- package/src/sap/ui/core/cache/CacheManager.js +18 -14
- package/src/sap/ui/core/cache/CacheManagerNOP.js +5 -2
- package/src/sap/ui/core/cache/LRUPersistentCache.js +15 -8
- package/src/sap/ui/core/cldr/en.json +0 -1
- package/src/sap/ui/core/date/Buddhist.js +15 -13
- package/src/sap/ui/core/date/Japanese.js +0 -6
- package/src/sap/ui/core/date/UniversalDate.js +144 -34
- package/src/sap/ui/core/delegate/ItemNavigation.js +2 -2
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +3 -3
- 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 +31 -9
- package/src/sap/ui/core/format/NumberFormat.js +91 -25
- 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 +44 -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 +2 -0
- package/src/sap/ui/core/messagebundle_ar.properties +54 -53
- package/src/sap/ui/core/messagebundle_bg.properties +54 -53
- package/src/sap/ui/core/messagebundle_ca.properties +28 -27
- package/src/sap/ui/core/messagebundle_cs.properties +37 -36
- package/src/sap/ui/core/messagebundle_cy.properties +57 -56
- package/src/sap/ui/core/messagebundle_da.properties +53 -52
- package/src/sap/ui/core/messagebundle_de.properties +54 -53
- package/src/sap/ui/core/messagebundle_el.properties +46 -45
- package/src/sap/ui/core/messagebundle_en.properties +57 -56
- package/src/sap/ui/core/messagebundle_en_GB.properties +57 -56
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +1 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +1 -0
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +1 -0
- package/src/sap/ui/core/messagebundle_es.properties +42 -41
- package/src/sap/ui/core/messagebundle_es_MX.properties +54 -53
- package/src/sap/ui/core/messagebundle_et.properties +51 -50
- package/src/sap/ui/core/messagebundle_fi.properties +48 -47
- package/src/sap/ui/core/messagebundle_fr.properties +37 -36
- package/src/sap/ui/core/messagebundle_fr_CA.properties +22 -21
- package/src/sap/ui/core/messagebundle_hi.properties +42 -41
- package/src/sap/ui/core/messagebundle_hr.properties +55 -54
- package/src/sap/ui/core/messagebundle_hu.properties +56 -55
- package/src/sap/ui/core/messagebundle_id.properties +55 -54
- package/src/sap/ui/core/messagebundle_it.properties +55 -54
- package/src/sap/ui/core/messagebundle_iw.properties +55 -54
- package/src/sap/ui/core/messagebundle_ja.properties +48 -47
- package/src/sap/ui/core/messagebundle_kk.properties +41 -40
- package/src/sap/ui/core/messagebundle_ko.properties +21 -20
- package/src/sap/ui/core/messagebundle_lt.properties +55 -54
- package/src/sap/ui/core/messagebundle_lv.properties +55 -54
- package/src/sap/ui/core/messagebundle_ms.properties +52 -51
- package/src/sap/ui/core/messagebundle_nl.properties +53 -52
- package/src/sap/ui/core/messagebundle_no.properties +53 -52
- package/src/sap/ui/core/messagebundle_pl.properties +52 -51
- package/src/sap/ui/core/messagebundle_pt.properties +54 -53
- package/src/sap/ui/core/messagebundle_pt_PT.properties +55 -54
- package/src/sap/ui/core/messagebundle_ro.properties +56 -55
- package/src/sap/ui/core/messagebundle_ru.properties +52 -51
- package/src/sap/ui/core/messagebundle_sh.properties +57 -56
- package/src/sap/ui/core/messagebundle_sk.properties +54 -53
- package/src/sap/ui/core/messagebundle_sl.properties +56 -55
- package/src/sap/ui/core/messagebundle_sv.properties +52 -51
- package/src/sap/ui/core/messagebundle_th.properties +25 -24
- package/src/sap/ui/core/messagebundle_tr.properties +56 -55
- package/src/sap/ui/core/messagebundle_uk.properties +55 -54
- package/src/sap/ui/core/messagebundle_vi.properties +56 -55
- package/src/sap/ui/core/messagebundle_zh_CN.properties +55 -54
- package/src/sap/ui/core/messagebundle_zh_TW.properties +55 -54
- package/src/sap/ui/core/mvc/Controller.js +12 -12
- 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 +7 -7
- package/src/sap/ui/core/mvc/XMLView.js +1 -2
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +16 -14
- package/src/sap/ui/core/plugin/TemplatingSupport.js +2 -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/Router.js +3 -3
- package/src/sap/ui/core/routing/async/TargetCache.js +4 -0
- package/src/sap/ui/core/rules/Config.support.js +1 -1
- package/src/sap/ui/core/rules/View.support.js +11 -4
- package/src/sap/ui/core/search/OpenSearchProvider.js +25 -12
- package/src/sap/ui/core/search/SearchProvider.js +2 -2
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +3 -4
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Debugging.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 +46 -33
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +2 -3
- package/src/sap/ui/core/themes/base/Icon.less +4 -0
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +1 -1
- package/src/sap/ui/core/themes/base/base.less +26 -26
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/themes/base/global.less +5 -1
- package/src/sap/ui/core/theming/Parameters.js +45 -39
- 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 +2 -2
- 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 +61 -42
- 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 +1 -1
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +0 -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 +19 -9
- 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 +2 -2
- 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/_Helper.js +3 -1
- package/src/sap/ui/model/analytics/odata4analytics.js +2 -2
- package/src/sap/ui/model/base/ManagedObjectModel.js +2 -2
- 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 +4 -4
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +6 -3
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +437 -239
- 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/ODataContextBinding.js +4 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +25 -0
- package/src/sap/ui/model/odata/v2/ODataModel.js +161 -122
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +18 -2
- package/src/sap/ui/model/odata/v4/Context.js +86 -30
- package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -8
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +26 -27
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +121 -93
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +3 -2
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -13
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +4 -4
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +135 -28
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +133 -16
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +341 -161
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +73 -9
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +8 -6
- 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 +4 -2
- package/src/sap/ui/performance/trace/FESR.js +27 -24
- package/src/sap/ui/performance/trace/Interaction.js +66 -16
- package/src/sap/ui/qunit/sinon-qunit-bridge.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/Opa5.js +1 -1
- package/src/sap/ui/test/TestUtils.js +35 -2
- package/src/sap/ui/test/actions/Press.js +7 -0
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/matchers/AggregationContainsPropertyEqual.js +2 -3
- package/src/sap/ui/test/matchers/AggregationFilled.js +2 -3
- package/src/sap/ui/test/matchers/AggregationLengthEquals.js +2 -3
- package/src/sap/ui/test/matchers/Matcher.js +9 -11
- package/src/sap/ui/test/opaQunit.js +15 -9
- package/src/sap/ui/test/pipelines/ActionPipeline.js +2 -3
- package/src/sap/ui/test/pipelines/MatcherPipeline.js +2 -3
- package/src/sap/ui/test/pipelines/PipelineFactory.js +2 -3
- package/src/sap/ui/thirdparty/IPv6.js +1 -1
- package/src/sap/ui/thirdparty/SecondLevelDomains.js +1 -1
- package/src/sap/ui/thirdparty/URI.js +8 -2
- package/src/sap/ui/thirdparty/URITemplate.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/XMLHelper.js +1 -1
|
@@ -57,78 +57,78 @@ CommunicationError=\u901A\u8A0A\u932F\u8AA4
|
|
|
57
57
|
NO=\u5426
|
|
58
58
|
YES=\u662F
|
|
59
59
|
EnterYesOrNo=\u8F38\u5165\u300C{0}\u300D\u6216\u300C{1}\u300D\u3002
|
|
60
|
-
EnterDigitsOnly=\u50C5\u8F38\u5165\u6578\u5B57
|
|
60
|
+
EnterDigitsOnly=\u8ACB\u50C5\u8F38\u5165\u6578\u5B57\u3002
|
|
61
61
|
EnterMaximumOfDigits=\u8F38\u5165\u6700\u591A {0} \u4F4D\u6578\u7684\u6578\u5B57\u3002
|
|
62
|
-
EnterNumber=\u8F38\u5165\u6578\u5B57
|
|
63
|
-
EnterNumberPrecision=\u8F38\u5165\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\uFF0C\u5305\u542B\u5C0F\u6578\u4F4D
|
|
64
|
-
EnterNumberInteger=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57
|
|
65
|
-
EnterNumberFraction=\u8F38\u5165\u6700\u591A\u542B {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
|
|
66
|
-
EnterNumberIntegerFraction=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\uFF0C\u4E14\u6700\u591A\u542B {1} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
|
|
67
|
-
EnterNumberFractionOnly=\u8F38\u5165\u7D55\u5C0D\u503C\u5C0F\u65BC 1 \u4E14\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57
|
|
68
|
-
EnterNumberMin=\u8F38\u5165\u6700\u5C0F\u503C\u70BA {0} \u7684\u6578\u5B57
|
|
69
|
-
EnterNumberMinExclusive=\u8F38\u5165\u5927\u65BC {0} \u7684\u6578\u5B57
|
|
70
|
-
EnterNumberMax=\u8F38\u5165\u6700\u5927\u503C\u70BA {0} \u7684\u6578\u5B57
|
|
71
|
-
EnterNumberMaxExclusive=\u8F38\u5165\u5C0F\u65BC {0} \u7684\u6578\u5B57
|
|
72
|
-
EnterText=\u8F38\u5165\u6587\u5B57
|
|
73
|
-
EnterTextMaxLength=\u8F38\u5165\u6700\u591A
|
|
62
|
+
EnterNumber=\u8ACB\u8F38\u5165\u6578\u5B57\u3002
|
|
63
|
+
EnterNumberPrecision=\u8F38\u5165\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\uFF0C\u5305\u542B\u5C0F\u6578\u4F4D\u3002
|
|
64
|
+
EnterNumberInteger=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\u7684\u6578\u5B57\u3002
|
|
65
|
+
EnterNumberFraction=\u8F38\u5165\u6700\u591A\u542B {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
|
|
66
|
+
EnterNumberIntegerFraction=\u8F38\u5165\u5C0F\u6578\u9EDE\u7B26\u865F\u5DE6\u65B9\u6700\u591A\u542B {0} \u4F4D\u6578\uFF0C\u4E14\u6700\u591A\u542B {1} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
|
|
67
|
+
EnterNumberFractionOnly=\u8ACB\u8F38\u5165\u7D55\u5C0D\u503C\u5C0F\u65BC 1 \u4E14\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
|
|
68
|
+
EnterNumberMin=\u8ACB\u8F38\u5165\u6700\u5C0F\u503C\u70BA {0} \u7684\u6578\u5B57\u3002
|
|
69
|
+
EnterNumberMinExclusive=\u8ACB\u8F38\u5165\u5927\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
70
|
+
EnterNumberMax=\u8ACB\u8F38\u5165\u6700\u5927\u503C\u70BA {0} \u7684\u6578\u5B57\u3002
|
|
71
|
+
EnterNumberMaxExclusive=\u8ACB\u8F38\u5165\u5C0F\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
72
|
+
EnterText=\u8ACB\u8F38\u5165\u6587\u5B57\u3002
|
|
73
|
+
EnterTextMaxLength=\u8ACB\u8F38\u5165\u6700\u591A {0} \u500B\u5B57\u5143\u548C\u7A7A\u683C\u7684\u6587\u5B57\u3002
|
|
74
74
|
EnterInt=\u8F38\u5165\u4E0D\u542B\u5C0F\u6578\u4F4D\u7684\u6578\u5B57\u3002
|
|
75
|
-
EnterDateTime=\
|
|
76
|
-
EnterDateTimeTimezone=\u8F38\u5165\u6709\u6548\u6642\u5340\uFF0C\u4F8B\u5982\uFF1A{0}
|
|
77
|
-
EnterDate=\
|
|
78
|
-
EnterGuid=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165 GUID\uFF1A12345678-90AB-CDEF-1234-567890ABCDEF
|
|
79
|
-
EnterTime=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\uFF1A
|
|
75
|
+
EnterDateTime=\u8ACB\u4F7F\u7528\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\uFF1A{0}\u3002
|
|
76
|
+
EnterDateTimeTimezone=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6642\u5340\uFF0C\u4F8B\u5982\uFF1A{0}\u3002
|
|
77
|
+
EnterDate=\u8ACB\u4F7F\u7528\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\uFF1A{0}\u3002
|
|
78
|
+
EnterGuid=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165 GUID\uFF1A12345678-90AB-CDEF-1234-567890ABCDEF\u3002
|
|
79
|
+
EnterTime=\u4EE5\u4E0B\u5217\u683C\u5F0F\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\uFF1A{0}\u3002
|
|
80
80
|
Currency.WithDecimals=\u6B64\u5E63\u5225\u652F\u63F4\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u91D1\u984D\u6216\u8F38\u5165\u4E0D\u540C\u5E63\u5225\u3002
|
|
81
81
|
Currency.WithoutDecimals=\u6B64\u5E63\u5225\u4E0D\u652F\u63F4\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u91D1\u984D\u6216\u8F38\u5165\u4E0D\u540C\u5E63\u5225\u3002
|
|
82
82
|
Unit.WithDecimals=\u6B64\u55AE\u4F4D\u652F\u63F4\u6700\u591A {0} \u500B\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u503C\u6216\u8F38\u5165\u4E0D\u540C\u55AE\u4F4D\u3002
|
|
83
83
|
Unit.WithoutDecimals=\u6B64\u55AE\u4F4D\u4E0D\u652F\u63F4\u5C0F\u6578\u4F4D\u6578\uFF0C\u8ACB\u8ABF\u6574\u503C\u6216\u8F38\u5165\u4E0D\u540C\u55AE\u4F4D\u3002
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
Boolean.Invalid=\u8F38\u5165\u6709\u6548\u7684\u5E03\u6797\u503C
|
|
86
|
+
Boolean.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u5E03\u6797\u503C\u3002
|
|
87
87
|
|
|
88
|
-
Integer.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57
|
|
89
|
-
Integer.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
|
|
90
|
-
Integer.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
|
|
88
|
+
Integer.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57\u3002
|
|
89
|
+
Integer.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
90
|
+
Integer.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
91
91
|
|
|
92
|
-
Float.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57
|
|
93
|
-
Float.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
|
|
94
|
-
Float.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57
|
|
92
|
+
Float.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6578\u5B57\u3002
|
|
93
|
+
Float.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
94
|
+
Float.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6578\u5B57\u3002
|
|
95
95
|
|
|
96
|
-
Currency.Invalid=\u8F38\u5165\u6709\u6548\u7684\u5E63\u5225\u91D1\u984D
|
|
97
|
-
Currency.InvalidMeasure=\u8F38\u5165\u6709\u6548\
|
|
98
|
-
Currency.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
|
|
99
|
-
Currency.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
|
|
96
|
+
Currency.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u5E63\u5225\u91D1\u984D\u3002
|
|
97
|
+
Currency.InvalidMeasure=\u8ACB\u8F38\u5165\u6709\u6548\u5E63\u5225\u3002
|
|
98
|
+
Currency.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
|
|
99
|
+
Currency.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
|
|
100
100
|
|
|
101
|
-
Unit.Invalid=\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u91D1\u984D
|
|
102
|
-
Unit.InvalidMeasure=\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D
|
|
103
|
-
Unit.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
|
|
104
|
-
Unit.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D
|
|
105
|
-
Unit.Decimals=\u8F38\u5165\u5C0F\u6578\u5C11\u65BC {0} \u4F4D\u6578\u7684\u91D1\u984D
|
|
101
|
+
Unit.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u91D1\u984D\u3002
|
|
102
|
+
Unit.InvalidMeasure=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u55AE\u4F4D\u3002
|
|
103
|
+
Unit.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
|
|
104
|
+
Unit.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u91D1\u984D\u3002
|
|
105
|
+
Unit.Decimals=\u8ACB\u8F38\u5165\u5C0F\u6578\u5C11\u65BC {0} \u4F4D\u6578\u7684\u91D1\u984D\u3002
|
|
106
106
|
|
|
107
|
-
FileSize.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6A94\u6848\u5927\u5C0F
|
|
108
|
-
FileSize.Minimum=\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F
|
|
109
|
-
FileSize.Maximum=\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F
|
|
107
|
+
FileSize.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6A94\u6848\u5927\u5C0F\u3002
|
|
108
|
+
FileSize.Minimum=\u8ACB\u8F38\u5165\u5927\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F\u3002
|
|
109
|
+
FileSize.Maximum=\u8ACB\u8F38\u5165\u5C0F\u65BC\u6216\u7B49\u65BC {0} \u7684\u6A94\u6848\u5927\u5C0F\u3002
|
|
110
110
|
|
|
111
|
-
Date.Invalid=\u8F38\u5165\u65E5\u671F
|
|
112
|
-
Date.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F
|
|
113
|
-
Date.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F
|
|
111
|
+
Date.Invalid=\u8ACB\u8F38\u5165\u65E5\u671F\u3002
|
|
112
|
+
Date.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u3002
|
|
113
|
+
Date.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u3002
|
|
114
114
|
|
|
115
|
-
Time.Invalid=\u8F38\u5165\u6709\u6548\u7684\u6642\u9593
|
|
116
|
-
Time.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u6642\u9593
|
|
117
|
-
Time.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u6642\u9593
|
|
115
|
+
Time.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u6642\u9593\u3002
|
|
116
|
+
Time.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u6642\u9593\u3002
|
|
117
|
+
Time.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u6642\u9593\u3002
|
|
118
118
|
|
|
119
|
-
DateTime.Invalid=\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\u3002
|
|
120
|
-
DateTime.Minimum=\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593
|
|
121
|
-
DateTime.Maximum=\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593
|
|
119
|
+
DateTime.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u6642\u9593\u3002
|
|
120
|
+
DateTime.Minimum=\u8ACB\u8F38\u5165\u665A\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593\u3002
|
|
121
|
+
DateTime.Maximum=\u8ACB\u8F38\u5165\u65E9\u65BC {0} \u7684\u65E5\u671F\u548C\u6642\u9593\u3002
|
|
122
122
|
|
|
123
|
-
DateInterval.Invalid=\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u9593\u9694
|
|
123
|
+
DateInterval.Invalid=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u65E5\u671F\u9593\u9694\u3002
|
|
124
124
|
|
|
125
|
-
String.MinLength=\u8F38\u5165\u81F3\u5C11 {0} \u500B\u5B57\u5143\u7684\u503C
|
|
126
|
-
String.MaxLength=\u8F38\u5165\u4E0D\u8D85\u904E {0} \u500B\u5B57\u5143\u7684\u503C
|
|
127
|
-
String.StartsWith=\u8F38\u5165\u4EE5 "{0}" \u958B\u982D\u7684\u503C
|
|
128
|
-
String.EndsWith=\u8F38\u5165\u4EE5 "{0}" \u7D50\u5C3E\u7684\u503C\u3002
|
|
129
|
-
String.Contains=\u8F38\u5165\u5305\u542B "{0}" \u7684\u503C
|
|
130
|
-
String.Equals=\u8F38\u5165\u503C "{0}"
|
|
131
|
-
String.Search=\u8F38\u5165\u6709\u6548\u503C
|
|
125
|
+
String.MinLength=\u8ACB\u8F38\u5165\u81F3\u5C11 {0} \u500B\u5B57\u5143\u7684\u503C\u3002
|
|
126
|
+
String.MaxLength=\u8ACB\u8F38\u5165\u4E0D\u8D85\u904E {0} \u500B\u5B57\u5143\u7684\u503C\u3002
|
|
127
|
+
String.StartsWith=\u8ACB\u8F38\u5165\u4EE5 "{0}" \u958B\u982D\u7684\u503C\u3002
|
|
128
|
+
String.EndsWith=\u8ACB\u8F38\u5165\u4EE5 "{0}" \u7D50\u5C3E\u7684\u503C\u3002
|
|
129
|
+
String.Contains=\u8ACB\u8F38\u5165\u5305\u542B "{0}" \u7684\u503C\u3002
|
|
130
|
+
String.Equals=\u8ACB\u8F38\u5165\u503C "{0}"\u3002
|
|
131
|
+
String.Search=\u8ACB\u8F38\u5165\u6709\u6548\u503C\u3002
|
|
132
132
|
|
|
133
133
|
ACC_CTR_TYPE_IMAGE=\u5716\u50CF
|
|
134
134
|
ACC_CTR_TYPE_BUTTON=\u6309\u9215
|
|
@@ -295,6 +295,7 @@ TestRecorder.Inspect.Snippet.Dropdown.Label=\u9078\u64C7\u65B9\u8A00\uFF1A
|
|
|
295
295
|
TestRecorder.Inspect.Snippet.Dialect.Raw=\u539F\u59CB\u9078\u64C7\u5668
|
|
296
296
|
TestRecorder.Inspect.Snippet.Dialect.OPA5=OPA5
|
|
297
297
|
TestRecorder.Inspect.Snippet.Dialect.UIVeri5=UIVeri5
|
|
298
|
+
TestRecorder.Inspect.Snippet.Dialect.WDI5=wdi5
|
|
298
299
|
TestRecorder.Inspect.Snippet.MultiSwitch.Label=\u591A\u500B\uFF1A
|
|
299
300
|
|
|
300
301
|
TestRecorder.Inspect.Snippet.Copy.Text=\u8907\u88FD
|
|
@@ -654,8 +654,8 @@ sap.ui.define([
|
|
|
654
654
|
};
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
* Returns the view associated with this controller or undefined
|
|
658
|
-
* @
|
|
657
|
+
* Returns the view associated with this controller or <code>undefined</code>.
|
|
658
|
+
* @returns {sap.ui.core.mvc.View|undefined} View connected to this controller.
|
|
659
659
|
* @public
|
|
660
660
|
*/
|
|
661
661
|
Controller.prototype.getView = function() {
|
|
@@ -670,10 +670,10 @@ sap.ui.define([
|
|
|
670
670
|
* This method helps to find an element by its local ID only.
|
|
671
671
|
*
|
|
672
672
|
* If no view is connected or if the view doesn't contain an element with
|
|
673
|
-
* the given local ID, undefined is returned.
|
|
673
|
+
* the given local ID, <code>undefined</code> is returned.
|
|
674
674
|
*
|
|
675
675
|
* @param {string} sId View-local ID
|
|
676
|
-
* @
|
|
676
|
+
* @returns {sap.ui.core.Element|undefined} Element by its (view local) ID
|
|
677
677
|
* @public
|
|
678
678
|
*/
|
|
679
679
|
Controller.prototype.byId = function(sId) {
|
|
@@ -685,10 +685,10 @@ sap.ui.define([
|
|
|
685
685
|
* Converts a view local ID to a globally unique one by prepending
|
|
686
686
|
* the view ID.
|
|
687
687
|
*
|
|
688
|
-
* If no view is connected, undefined is returned.
|
|
688
|
+
* If no view is connected, <code>undefined</code> is returned.
|
|
689
689
|
*
|
|
690
690
|
* @param {string} sId View-local ID
|
|
691
|
-
* @
|
|
691
|
+
* @returns {string|undefined} Prefixed ID
|
|
692
692
|
* @public
|
|
693
693
|
*/
|
|
694
694
|
Controller.prototype.createId = function(sId) {
|
|
@@ -699,9 +699,9 @@ sap.ui.define([
|
|
|
699
699
|
* Gets the component of the controller's view
|
|
700
700
|
*
|
|
701
701
|
* If there is no Component connected to the view or the view is not connected to the controller,
|
|
702
|
-
* undefined is returned.
|
|
702
|
+
* <code>undefined</code> is returned.
|
|
703
703
|
*
|
|
704
|
-
* @return {sap.ui.core.Component} Component instance
|
|
704
|
+
* @return {sap.ui.core.Component|undefined} Component instance
|
|
705
705
|
* @since 1.23.0
|
|
706
706
|
* @public
|
|
707
707
|
*/
|
|
@@ -783,11 +783,11 @@ sap.ui.define([
|
|
|
783
783
|
* @param {object} mOptions Options regarding fragment loading
|
|
784
784
|
* @param {string} mOptions.name The Fragment name, which must correspond to a Fragment which can be loaded via the module system
|
|
785
785
|
* (fragmentName + suffix ".fragment.[typeextension]") and which contains the Fragment definition.
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {
|
|
786
|
+
* @param {boolean} [mOptions.addToDependents=true] Whether the fragment content should be added to the <code>dependents</code> aggregation of the view
|
|
787
|
+
* @param {boolean} [mOptions.autoPrefixId=true] Whether the IDs of the fragment content will be prefixed by the view ID
|
|
788
788
|
* @param {string} [mOptions.id] the ID of the Fragment
|
|
789
789
|
* @param {string} [mOptions.type=XML] the Fragment type, e.g. "XML", "JS", or "HTML" (see above). Default is "XML"
|
|
790
|
-
* @
|
|
790
|
+
* @returns {Promise<sap.ui.core.Control|sap.ui.core.Control[]>} A Promise that resolves with the fragment content
|
|
791
791
|
*
|
|
792
792
|
* @since 1.93
|
|
793
793
|
* @public
|
|
@@ -923,7 +923,7 @@ sap.ui.define([
|
|
|
923
923
|
* controller. The event handler functions, such as <code>onButtonClick</code>,
|
|
924
924
|
* are replacing the original controller's function.
|
|
925
925
|
*
|
|
926
|
-
* When using an async extension provider you need to ensure that the
|
|
926
|
+
* When using an async extension provider, you need to ensure that the
|
|
927
927
|
* view is loaded in async mode.
|
|
928
928
|
*
|
|
929
929
|
* In both cases, return <code>undefined</code> if no controller extension shall be applied.
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.105.0
|
|
31
31
|
* @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
|
|
32
32
|
* by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
|
|
33
33
|
* creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
|
|
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
|
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.105.0
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
|
|
@@ -145,7 +145,7 @@ sap.ui.define([
|
|
|
145
145
|
* The default implementation of this method returns <code>false</code>.
|
|
146
146
|
*
|
|
147
147
|
* @extends sap.ui.core.Control
|
|
148
|
-
* @version 1.
|
|
148
|
+
* @version 1.105.0
|
|
149
149
|
*
|
|
150
150
|
* @public
|
|
151
151
|
* @alias sap.ui.core.mvc.View
|
|
@@ -663,7 +663,7 @@ sap.ui.define([
|
|
|
663
663
|
* you should rather use {@link sap.ui.core.Core#byId sap.ui.getCore().byId()}.
|
|
664
664
|
*
|
|
665
665
|
* @param {string} sId View local ID of the element
|
|
666
|
-
* @return {sap.ui.core.Element} Element by its ID or <code>undefined</code>
|
|
666
|
+
* @return {sap.ui.core.Element|undefined} Element by its ID or <code>undefined</code>
|
|
667
667
|
* @public
|
|
668
668
|
*/
|
|
669
669
|
View.prototype.byId = function(sId) {
|
|
@@ -675,7 +675,7 @@ sap.ui.define([
|
|
|
675
675
|
* by prefixing it with the view ID.
|
|
676
676
|
*
|
|
677
677
|
* @param {string} sId View local ID of the element
|
|
678
|
-
* @
|
|
678
|
+
* @returns {string} prefixed id
|
|
679
679
|
* @public
|
|
680
680
|
*/
|
|
681
681
|
View.prototype.createId = function(sId) {
|
|
@@ -691,7 +691,7 @@ sap.ui.define([
|
|
|
691
691
|
* <code>null</code> if the ID does not contain a prefix.
|
|
692
692
|
*
|
|
693
693
|
* @param {string} sId Prefixed ID
|
|
694
|
-
* @
|
|
694
|
+
* @returns {string|null} ID without prefix or <code>null</code>
|
|
695
695
|
* @public
|
|
696
696
|
* @since 1.39.0
|
|
697
697
|
*/
|
|
@@ -704,16 +704,16 @@ sap.ui.define([
|
|
|
704
704
|
* Checks whether the given ID already contains this view's ID prefix
|
|
705
705
|
*
|
|
706
706
|
* @param {string} sId ID that is checked for the prefix
|
|
707
|
-
* @
|
|
707
|
+
* @returns {boolean} Whether the ID is already prefixed
|
|
708
708
|
*/
|
|
709
709
|
View.prototype.isPrefixedId = function(sId) {
|
|
710
710
|
return !!(sId && sId.indexOf(this.getId() + "--") === 0);
|
|
711
711
|
};
|
|
712
712
|
|
|
713
713
|
/**
|
|
714
|
-
* Returns user specific data object
|
|
714
|
+
* Returns user specific data object.
|
|
715
715
|
*
|
|
716
|
-
* @
|
|
716
|
+
* @returns {object} viewData
|
|
717
717
|
* @public
|
|
718
718
|
*/
|
|
719
719
|
View.prototype.getViewData = function() {
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
* bound content aggregation. An error will be thrown when the above combination is detected.
|
|
108
108
|
*
|
|
109
109
|
* @extends sap.ui.core.mvc.View
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.105.0
|
|
111
111
|
*
|
|
112
112
|
* @public
|
|
113
113
|
* @alias sap.ui.core.mvc.XMLView
|
|
@@ -281,7 +281,6 @@ sap.ui.define([
|
|
|
281
281
|
/**
|
|
282
282
|
* Flag indicating whether to use the cache
|
|
283
283
|
* @private
|
|
284
|
-
* @experimental
|
|
285
284
|
* @since 1.44
|
|
286
285
|
*/
|
|
287
286
|
XMLView._bUseCache = sap.ui.getCore().getConfiguration().getViewCache() && Cache._isSupportedEnvironment();
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
'sap/ui/thirdparty/jquery',
|
|
22
22
|
'sap/ui/core/ThemeCheck',
|
|
23
23
|
'sap/base/Log',
|
|
24
|
+
'sap/base/util/syncFetch',
|
|
24
25
|
'sap/base/util/UriParameters',
|
|
25
26
|
'sap/ui/core/Core' // provides sap.ui.getCore()
|
|
26
|
-
], function(jQuery, ThemeCheck, Log, UriParameters) {
|
|
27
|
+
], function(jQuery, ThemeCheck, Log, syncFetch, UriParameters) {
|
|
27
28
|
|
|
28
29
|
var LESS_FILENAME = "library.source";
|
|
29
30
|
var CSS_FILENAME = "library";
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
* feature - DO NOT USE IN PRODUCTIVE SCENARIOS!!
|
|
38
39
|
*
|
|
39
40
|
* @author Peter Muessig
|
|
40
|
-
* @version 1.
|
|
41
|
+
* @version 1.105.0
|
|
41
42
|
* @private
|
|
42
43
|
* @alias sap.ui.core.plugin.LessSupport
|
|
43
44
|
*/
|
|
@@ -281,21 +282,22 @@
|
|
|
281
282
|
* @private
|
|
282
283
|
*/
|
|
283
284
|
LessSupport.prototype.getLastModified = function(sUrl) {
|
|
284
|
-
|
|
285
285
|
// HEAD request to retrieve the last modified header
|
|
286
286
|
var iLastModified;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
287
|
+
try {
|
|
288
|
+
var response = syncFetch(sUrl, {
|
|
289
|
+
method: "HEAD"
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
if (response.ok) {
|
|
293
|
+
var sLastModified = response.headers.get("Last-Modified");
|
|
294
|
+
iLastModified = sLastModified ? Date.parse(sLastModified) : 0;
|
|
295
|
+
} else {
|
|
296
|
+
throw Error("HTTP status error: " + response.status);
|
|
297
297
|
}
|
|
298
|
-
})
|
|
298
|
+
} catch (error) {
|
|
299
|
+
iLastModified = -1;
|
|
300
|
+
}
|
|
299
301
|
// convert the string into a timestamp or return the -1 value
|
|
300
302
|
Log.debug("CSS/LESS head-check: " + sUrl + "; last-modified: " + iLastModified);
|
|
301
303
|
return iLastModified;
|
|
@@ -20,7 +20,8 @@ sap.ui.define([
|
|
|
20
20
|
* @author Peter Muessig
|
|
21
21
|
* @public
|
|
22
22
|
* @since 1.15.0
|
|
23
|
-
* @
|
|
23
|
+
* @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
|
|
24
|
+
* @version 1.105.0
|
|
24
25
|
* @alias sap.ui.core.plugin.TemplatingSupport
|
|
25
26
|
*/
|
|
26
27
|
var TemplatingSupport = function() {
|
|
@@ -694,7 +694,7 @@ sap.ui.define([
|
|
|
694
694
|
* Returns the route with the given name or <code>undefined</code> if no route is found.
|
|
695
695
|
*
|
|
696
696
|
* @param {string} sName Name of the route
|
|
697
|
-
* @returns {sap.ui.core.routing.Route} Route with the provided name or <code>undefined</code>.
|
|
697
|
+
* @returns {sap.ui.core.routing.Route|undefined} Route with the provided name or <code>undefined</code>.
|
|
698
698
|
* @public
|
|
699
699
|
* @since 1.25.1
|
|
700
700
|
*/
|
|
@@ -886,9 +886,9 @@ sap.ui.define([
|
|
|
886
886
|
|
|
887
887
|
/**
|
|
888
888
|
* Returns the name of the last matched route.
|
|
889
|
-
* If there's no route matched before, it returns undefined
|
|
889
|
+
* If there's no route matched before, it returns <code>undefined</code>
|
|
890
890
|
*
|
|
891
|
-
* @returns {string} The name of the last matched route
|
|
891
|
+
* @returns {string|undefined} The name of the last matched route
|
|
892
892
|
*/
|
|
893
893
|
_getLastMatchedRouteName: function() {
|
|
894
894
|
return this._oMatchedRoute && this._oMatchedRoute._oConfig.name;
|
|
@@ -107,6 +107,10 @@ sap.ui.define([
|
|
|
107
107
|
|
|
108
108
|
if (oOwnerComponent) {
|
|
109
109
|
vPromiseOrObject = oOwnerComponent.runAsOwner(fnCreateObjectAsync);
|
|
110
|
+
|
|
111
|
+
if (vPromiseOrObject instanceof Promise) {
|
|
112
|
+
oOwnerComponent.registerForDestroy(vPromiseOrObject);
|
|
113
|
+
}
|
|
110
114
|
} else {
|
|
111
115
|
vPromiseOrObject = fnCreateObjectAsync();
|
|
112
116
|
}
|
|
@@ -462,7 +462,7 @@ sap.ui.define([
|
|
|
462
462
|
|
|
463
463
|
// 1. Collect XML views in analyzed scope
|
|
464
464
|
var aSyncXMLViews = oScope.getElementsByClassName(XMLView).filter(function(oXMLView) {
|
|
465
|
-
return oXMLView.oAsyncState === undefined;
|
|
465
|
+
return oXMLView.oAsyncState === undefined && !oXMLView.isSubView();
|
|
466
466
|
});
|
|
467
467
|
|
|
468
468
|
Object.keys(mComponents).forEach(function(sComponentId) {
|
|
@@ -38,13 +38,16 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
38
38
|
minversion: "-",
|
|
39
39
|
title: "XML View is not configured with namespace 'sap.ui.core.mvc'",
|
|
40
40
|
description: "For consistency and proper resource loading, the root node of an XML view must be configured with the namespace 'mvc'",
|
|
41
|
-
resolution: "Define the XML view as '<mvc:View ...>' and configure the XML
|
|
41
|
+
resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namespace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
|
|
42
42
|
resolutionurls: [{
|
|
43
43
|
text: "Documentation: Namespaces in XML Views",
|
|
44
44
|
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
45
45
|
}],
|
|
46
46
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
47
|
-
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
47
|
+
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
48
|
+
return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
|
|
49
|
+
});
|
|
50
|
+
|
|
48
51
|
aXMLViews.forEach(function (oXMLView) {
|
|
49
52
|
if (oXMLView._xContent.namespaceURI !== "sap.ui.core.mvc") {
|
|
50
53
|
var sViewName = oXMLView.getViewName().split("\.").pop();
|
|
@@ -77,7 +80,9 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
77
80
|
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
78
81
|
}],
|
|
79
82
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
80
|
-
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
83
|
+
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
84
|
+
return oControl.isA("sap.ui.core.mvc.XMLView") && !oControl.isSubView();
|
|
85
|
+
});
|
|
81
86
|
|
|
82
87
|
aXMLViews.forEach(function (oXMLView) {
|
|
83
88
|
if (!oXMLView._xContent.attributes.getNamedItem("xmlns")) {
|
|
@@ -140,7 +145,9 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
140
145
|
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
141
146
|
}],
|
|
142
147
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
143
|
-
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
148
|
+
var aXMLViews = oScope.getElements().filter(function (oControl) {
|
|
149
|
+
return oControl.isA("sap.ui.core.mvc.XMLView");
|
|
150
|
+
});
|
|
144
151
|
|
|
145
152
|
aXMLViews.forEach(function (oXMLView) {
|
|
146
153
|
for (var i = 0; i < oXMLView._xContent.attributes.length; i++) {
|
|
@@ -9,10 +9,11 @@ sap.ui.define([
|
|
|
9
9
|
'./SearchProvider',
|
|
10
10
|
"sap/base/Log",
|
|
11
11
|
"sap/base/security/encodeURL",
|
|
12
|
+
"sap/base/util/fetch",
|
|
12
13
|
"sap/ui/thirdparty/jquery",
|
|
13
14
|
'sap/ui/core/library' // ensure that required DataTypes are available
|
|
14
15
|
],
|
|
15
|
-
function(SearchProvider, Log, encodeURL, jQuery) {
|
|
16
|
+
function(SearchProvider, Log, encodeURL, fetch, jQuery) {
|
|
16
17
|
"use strict";
|
|
17
18
|
|
|
18
19
|
|
|
@@ -26,7 +27,7 @@ sap.ui.define([
|
|
|
26
27
|
* @class
|
|
27
28
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
28
29
|
* @extends sap.ui.core.search.SearchProvider
|
|
29
|
-
* @version 1.
|
|
30
|
+
* @version 1.105.0
|
|
30
31
|
*
|
|
31
32
|
* @public
|
|
32
33
|
* @alias sap.ui.core.search.OpenSearchProvider
|
|
@@ -56,7 +57,7 @@ sap.ui.define([
|
|
|
56
57
|
* and an array of the suggestions (type '[string]', 2nd parameter).
|
|
57
58
|
*
|
|
58
59
|
* @param {string} sValue The value for which suggestions are requested.
|
|
59
|
-
* @param {function} fCallback The callback function which is called when the suggestions are available.
|
|
60
|
+
* @param {function(string, string[])} fCallback The callback function which is called when the suggestions are available.
|
|
60
61
|
* @type void
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
@@ -88,19 +89,31 @@ sap.ui.define([
|
|
|
88
89
|
fCallback(sValue, data[1]);
|
|
89
90
|
};
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
fetch(sUrl, {
|
|
93
|
+
headers: {
|
|
94
|
+
Accept: fetch.ContentTypes[sType.toUpperCase()]
|
|
95
|
+
}
|
|
96
|
+
}).then(function(response) {
|
|
97
|
+
if (response.ok) {
|
|
98
|
+
return response.text().then(function (responseText) {
|
|
99
|
+
var data;
|
|
100
|
+
if (sType === "json") {
|
|
101
|
+
data = JSON.parse(responseText);
|
|
102
|
+
} else {
|
|
103
|
+
// sType == "xml"
|
|
104
|
+
var parser = new DOMParser();
|
|
105
|
+
data = parser.parseFromString(responseText, "text/xml");
|
|
106
|
+
}
|
|
107
|
+
fSuccess(data);
|
|
108
|
+
});
|
|
109
|
+
} else {
|
|
110
|
+
throw new Error(response.statusText || response.status);
|
|
99
111
|
}
|
|
112
|
+
}).catch(function(error) {
|
|
113
|
+
Log.fatal("The following problem occurred: " + error.message);
|
|
100
114
|
});
|
|
101
115
|
};
|
|
102
116
|
|
|
103
|
-
|
|
104
117
|
return OpenSearchProvider;
|
|
105
118
|
|
|
106
119
|
});
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
23
23
|
*
|
|
24
24
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.105.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.search.SearchProvider
|
|
@@ -49,7 +49,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
49
49
|
* and an array of the suggestions (type '[string]', 2nd parameter).
|
|
50
50
|
*
|
|
51
51
|
* @param {string} sValue The value for which suggestions are requested.
|
|
52
|
-
* @param {function} fnCallback The callback function which is called when the suggestions are available.
|
|
52
|
+
* @param {function(string, string[])} fnCallback The callback function which is called when the suggestions are available.
|
|
53
53
|
* @public
|
|
54
54
|
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
55
55
|
*/
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.base.Object
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.105.0
|
|
87
87
|
* @alias sap.ui.core.service.ServiceFactory
|
|
88
88
|
* @private
|
|
89
89
|
* @ui5-restricted sap.ushell
|