@openui5/sap.ui.core 1.120.0 → 1.120.2
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 +1 -1
- 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/Event.js +2 -2
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/Formatting.js +30 -14
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/Localization.js +1 -2
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/BindingParser.js +4 -4
- package/src/sap/ui/base/DataType.js +5 -5
- 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 +9 -65
- package/src/sap/ui/base/ManagedObjectMetadata.js +25 -1
- package/src/sap/ui/base/ManagedObjectRegistry.js +186 -169
- 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 +55 -150
- package/src/sap/ui/core/ComponentContainer.js +5 -5
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentRegistry.js +153 -0
- package/src/sap/ui/core/ComponentSupport.js +3 -3
- package/src/sap/ui/core/Configuration.js +9 -7
- package/src/sap/ui/core/Control.js +6 -4
- package/src/sap/ui/core/Core.js +19 -71
- 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 +30 -142
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/ElementRegistry.js +159 -0
- 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 +5 -5
- package/src/sap/ui/core/FocusHandler.js +3 -2
- package/src/sap/ui/core/Fragment.js +7 -7
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +62 -32
- 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 +55 -11
- package/src/sap/ui/core/Manifest.js +4 -5
- package/src/sap/ui/core/Message.js +2 -1
- package/src/sap/ui/core/Messaging.js +2 -2
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Shortcut.js +15 -9
- package/src/sap/ui/core/StaticArea.js +4 -1
- package/src/sap/ui/core/Theming.js +3 -3
- 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 +54 -12
- package/src/sap/ui/core/UIAreaRegistry.js +150 -0
- package/src/sap/ui/core/UIComponent.js +3 -3
- 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 +95 -76
- package/src/sap/ui/core/cldr/Unicode-Data-Files-LICENSE.txt +1 -1
- package/src/sap/ui/core/cldr/cy.json +12 -3
- package/src/sap/ui/core/cldr/en_AU.json +48 -12
- package/src/sap/ui/core/cldr/en_GB.json +24 -6
- package/src/sap/ui/core/cldr/en_HK.json +24 -6
- package/src/sap/ui/core/cldr/en_IE.json +24 -6
- package/src/sap/ui/core/cldr/en_IN.json +24 -6
- package/src/sap/ui/core/cldr/en_NZ.json +24 -6
- package/src/sap/ui/core/cldr/en_PG.json +24 -6
- package/src/sap/ui/core/cldr/en_SG.json +24 -6
- package/src/sap/ui/core/cldr/en_ZA.json +24 -6
- package/src/sap/ui/core/cldr/es.json +288 -72
- package/src/sap/ui/core/cldr/es_AR.json +288 -72
- package/src/sap/ui/core/cldr/es_BO.json +288 -72
- package/src/sap/ui/core/cldr/es_CL.json +144 -36
- package/src/sap/ui/core/cldr/es_CO.json +144 -36
- package/src/sap/ui/core/cldr/es_MX.json +288 -72
- package/src/sap/ui/core/cldr/fa.json +48 -12
- package/src/sap/ui/core/cldr/id.json +56 -14
- package/src/sap/ui/core/cldr/kk.json +184 -46
- package/src/sap/ui/core/cldr/ms.json +56 -14
- package/src/sap/ui/core/cldr/nb.json +36 -9
- package/src/sap/ui/core/cldr/nl.json +264 -66
- package/src/sap/ui/core/cldr/nl_BE.json +264 -66
- package/src/sap/ui/core/cldr/pt.json +288 -72
- package/src/sap/ui/core/cldr/pt_PT.json +288 -72
- package/src/sap/ui/core/cldr/sr.json +96 -24
- package/src/sap/ui/core/cldr/sr_Latn.json +72 -18
- package/src/sap/ui/core/date/Islamic.js +4 -4
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +25 -13
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +9 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +7 -7
- 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/message/MessageType.js +1 -1
- package/src/sap/ui/core/mvc/Controller.js +15 -13
- package/src/sap/ui/core/mvc/ControllerExtension.js +7 -5
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +2 -2
- package/src/sap/ui/core/mvc/ControllerMetadata.js +1 -1
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +4 -4
- 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 +21 -10
- package/src/sap/ui/core/mvc/XMLView.js +8 -2
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/routing/History.js +1 -1
- package/src/sap/ui/core/routing/Route.js +6 -6
- package/src/sap/ui/core/routing/Router.js +6 -6
- package/src/sap/ui/core/routing/Targets.js +3 -3
- package/src/sap/ui/core/routing/async/Target.js +2 -2
- package/src/sap/ui/core/routing/async/Targets.js +1 -1
- package/src/sap/ui/core/rules/Misc.support.js +3 -3
- package/src/sap/ui/core/search/OpenSearchProvider.js +2 -1
- package/src/sap/ui/core/search/SearchProvider.js +2 -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 +7 -5
- 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/theming/Parameters.js +7 -7
- package/src/sap/ui/core/theming/ThemeHelper.js +2 -2
- package/src/sap/ui/core/theming/ThemeManager.js +2 -2
- 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 +34 -3
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/_LocalizationHelper.js +122 -0
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/Binding.js +2 -2
- package/src/sap/ui/model/ClientListBinding.js +6 -3
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +6 -3
- package/src/sap/ui/model/CompositeDataState.js +5 -5
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +10 -10
- package/src/sap/ui/model/FilterProcessor.js +19 -16
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +2 -2
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +10 -8
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/odata4analytics.js +6 -6
- 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/ODataListBinding.js +5 -2
- package/src/sap/ui/model/odata/ODataMessageParser.js +3 -3
- 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 +5 -2
- package/src/sap/ui/model/odata/v2/ODataModel.js +9 -58
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +6 -3
- package/src/sap/ui/model/odata/v4/Context.js +32 -27
- package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +198 -155
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataModel.js +9 -4
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +9 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +220 -85
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +33 -20
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +70 -18
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +9 -5
- 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/performance/trace/Interaction.js +20 -16
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +5 -5
- package/src/sap/ui/test/BranchTracking.js +4 -0
- package/src/sap/ui/test/actions/EnterText.js +1 -1
- package/src/sap/ui/test/generic/GenericTestCollection.js +1 -0
- package/src/sap/ui/test/generic/TestBase.js +4 -4
- package/src/sap/ui/test/generic/Utils.js +3 -2
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +23 -15
- package/src/ui5loader.js +9 -4
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/manifest.json +3 -10
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/common/Controller.js +0 -1
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/Component.js +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/manifest.json +3 -11
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/package.json +13 -0
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +14 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +6 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/MIT.MultipleInlineCreationRowsGrid.html +5 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.view.xml +9 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +23 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/pages/Main.js +58 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +75 -30
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +19 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +84 -28
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/data/metadata.xml +3 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/01/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/Component.js +9 -25
- package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +20 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/Component.js +9 -26
- package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +21 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/Component.js +9 -26
- package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +21 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/Component.js +9 -27
- package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +22 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/Component.js +9 -28
- package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +23 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/Component.js +9 -28
- package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +23 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js +9 -32
- package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +5 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/Component.js +9 -30
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/manifest.json +24 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/manifest.json +27 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/01/Component.js +9 -33
- package/test/sap/ui/core/demokit/tutorial/navigation/01/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/Component.js +9 -35
- package/test/sap/ui/core/demokit/tutorial/navigation/02/manifest.json +30 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/Component.js +9 -37
- package/test/sap/ui/core/demokit/tutorial/navigation/03/manifest.json +32 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/Component.js +9 -38
- package/test/sap/ui/core/demokit/tutorial/navigation/04/manifest.json +33 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/Component.js +9 -38
- package/test/sap/ui/core/demokit/tutorial/navigation/05/manifest.json +33 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/Component.js +9 -40
- package/test/sap/ui/core/demokit/tutorial/navigation/06/manifest.json +35 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/Component.js +9 -42
- package/test/sap/ui/core/demokit/tutorial/navigation/07/manifest.json +37 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/Component.js +9 -45
- package/test/sap/ui/core/demokit/tutorial/navigation/08/manifest.json +40 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/Component.js +9 -45
- package/test/sap/ui/core/demokit/tutorial/navigation/09/manifest.json +40 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/Component.js +9 -47
- package/test/sap/ui/core/demokit/tutorial/navigation/10/manifest.json +42 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/11/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/12/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/13/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/14/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/15/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/16/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/Component.js +9 -52
- package/test/sap/ui/core/demokit/tutorial/navigation/17/manifest.json +47 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/Component.js +3 -27
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/manifest.json +28 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/Component.js +9 -29
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/manifest.json +25 -0
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/qunit/BindingParser.qunit.js +4 -4
- package/test/sap/ui/core/qunit/ClientModel.qunit.js +28 -28
- package/test/sap/ui/core/qunit/CommandExecution.qunit.js +3 -1
- package/test/sap/ui/core/qunit/Core.qunit.js +1 -1
- package/test/sap/ui/core/qunit/DataBinding.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Declarative.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Element_base.qunit.js +8 -7
- package/test/sap/ui/core/qunit/Element_base_legacyAPIs.qunit.js +48 -0
- package/test/sap/ui/core/qunit/Element_closestTo.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Fragment.qunit.js +63 -13
- package/test/sap/ui/core/qunit/HTML.qunit.js +5 -5
- package/test/sap/ui/core/qunit/Lib.qunit.js +59 -0
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +86 -3
- package/test/sap/ui/core/qunit/PlaceAt.qunit.js +6 -6
- package/test/sap/ui/core/qunit/Shortcut.qunit.js +9 -1
- package/test/sap/ui/core/qunit/UIArea.qunit.js +7 -6
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +41 -0
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.html +7 -5
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +46 -7
- package/test/sap/ui/core/qunit/base/config/GlobalConfigForCascade.js +24 -21
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +19 -0
- package/test/sap/ui/core/qunit/component/Component.qunit.js +35 -11
- package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Models.qunit.js +29 -30
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +3 -3
- package/test/sap/ui/core/qunit/generic/ControlMemoryLeaks.qunit.js +4 -3
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +6 -7
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +3 -2
- package/test/sap/ui/core/qunit/generic/legacy/testsuite.generic.qunit.js +3 -0
- package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +4 -4
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +65 -0
- package/test/sap/ui/core/qunit/jquery.sap.ui.qunit.js +12 -12
- package/test/sap/ui/core/qunit/loader/syncMode_unavoidablySync.qunit.js +54 -1
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +3 -1
- package/test/sap/ui/core/qunit/mockserver/testdata/shopping/Products.json +1 -1
- package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +2 -2
- package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +2 -2
- package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +58 -16
- package/test/sap/ui/core/qunit/model/Model.qunit.js +43 -2
- package/test/sap/ui/core/qunit/mvc/AnyView.qunit.js +3 -0
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +3 -2
- package/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js +2 -2
- package/test/sap/ui/core/qunit/mvc/View.qunit.js +38 -35
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +5 -5
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/extensions/ControllerMetadata.qunit.js +6 -2
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +12 -0
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +12 -0
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/AnotherMain.controller.js +3 -1
- package/test/sap/ui/core/qunit/mvc/testdata/XMLViewEmbeddingTypedViews.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +26 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +5 -5
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLView_legacyAPIs.qunit.js +2 -2
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +36 -34
- package/test/sap/ui/core/qunit/odata/ODataModel_legacyAPIs.qunit.js +22 -22
- package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +16 -16
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +69 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +2 -11
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +17 -17
- package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +32 -36
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +43 -22
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +19 -9
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +318 -217
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +5 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +2148 -124
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +43 -35
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +20 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +453 -125
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +70 -33
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +256 -8
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +10 -2
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +40 -1
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +11 -2
- package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +4 -7
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +102 -52
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +4 -5
- package/test/sap/ui/core/qunit/routing/async/TitleHistory.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Child/Component.js +1 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Child/manifest.json +1 -5
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Parent/Component.js +1 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/Parent/manifest.json +1 -5
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/ParentExtended/Component.js +15 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/parentRoute/ParentExtended/manifest.json +8 -0
- package/test/sap/ui/core/qunit/routing/sync/Router.qunit.js +2 -2
- package/test/sap/ui/core/qunit/routing/sync/Targets.qunit.js +2 -3
- package/test/sap/ui/core/qunit/testdata/fragments/XMLTestFragmentWithXMLView.fragment.xml +5 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.base.configuration.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +4 -0
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +190 -0
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +2 -2
- package/test/sap/ui/core/qunit/ui5classes/ManagedObjectRegistry.qunit.js +161 -0
- package/test/sap/ui/core/qunit/ui5classes/ManagedObjectRegistry_legacyAPIs.qunit.js +150 -0
- package/test/sap/ui/core/qunit/ui5classes/testsuite.ui5classes.qunit.js +84 -0
- package/test/sap/ui/core/qunit/util/ViewSerializer.qunit.js +4 -3
- package/test/sap/ui/core/relnotes/changes-1.120.json +307 -0
|
@@ -692,10 +692,10 @@ sap.ui.define([
|
|
|
692
692
|
DateFormat.prototype.init = function() {
|
|
693
693
|
var sCalendarType = this.oFormatOptions.calendarType;
|
|
694
694
|
|
|
695
|
-
this.aMonthsAbbrev = this.oLocaleData.
|
|
695
|
+
this.aMonthsAbbrev = this.oLocaleData._getMonthsWithAlternatives("abbreviated", sCalendarType);
|
|
696
696
|
this.aMonthsWide = this.oLocaleData.getMonths("wide", sCalendarType);
|
|
697
697
|
this.aMonthsNarrow = this.oLocaleData.getMonths("narrow", sCalendarType);
|
|
698
|
-
this.aMonthsAbbrevSt = this.oLocaleData.
|
|
698
|
+
this.aMonthsAbbrevSt = this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated", sCalendarType);
|
|
699
699
|
this.aMonthsWideSt = this.oLocaleData.getMonthsStandAlone("wide", sCalendarType);
|
|
700
700
|
this.aMonthsNarrowSt = this.oLocaleData.getMonthsStandAlone("narrow", sCalendarType);
|
|
701
701
|
this.aDaysAbbrev = this.oLocaleData.getDays("abbreviated", sCalendarType);
|
|
@@ -873,23 +873,32 @@ sap.ui.define([
|
|
|
873
873
|
* @example
|
|
874
874
|
* findEntry("MÄRZ 2013", ["Januar", "Februar", "März", "April", ...], "de-DE");
|
|
875
875
|
* // {length: 4, index: 2}
|
|
876
|
+
* @example
|
|
877
|
+
* findEntry("Sep 2013", [..., "Aug", ["Sept", "Sep"], "Oct", ...], "en-GB");
|
|
878
|
+
* // {length: 3, index: 8}
|
|
876
879
|
*
|
|
877
880
|
* @param {string} sValue the input value, e.g. "MÄRZ 2013"
|
|
878
|
-
* @param {string[]} aList
|
|
881
|
+
* @param {string[]|Array<string[]>} aList
|
|
882
|
+
* The list of values to check, e.g. ["Januar", "Februar", "März", "April", ...]; the list may contain also
|
|
883
|
+
* arrays of strings containing alternatives, e.g. [..., "Aug", ["Sept", "Sep"], "Oct", ...]
|
|
879
884
|
* @param {string} sLocale the locale which is used for the string comparison, e.g. "de-DE"
|
|
880
885
|
* @returns {{length: number, index: number}} the length of the match in sValue, the index in the list of values
|
|
881
886
|
* e.g. length: 4, index: 2 ("MÄRZ")
|
|
882
887
|
* @private
|
|
883
888
|
*/
|
|
884
889
|
findEntry: function (sValue, aList, sLocale) {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
iMatchedLength
|
|
891
|
-
|
|
892
|
-
|
|
890
|
+
let iFoundIndex = -1;
|
|
891
|
+
let iMatchedLength = 0;
|
|
892
|
+
|
|
893
|
+
aList.forEach((vEntry, j) => {
|
|
894
|
+
(Array.isArray(vEntry) ? vEntry : [vEntry]).forEach((sEntry) => {
|
|
895
|
+
if (sEntry.length > iMatchedLength && this.startsWithIgnoreCase(sValue, sEntry, sLocale)) {
|
|
896
|
+
iFoundIndex = j;
|
|
897
|
+
iMatchedLength = sEntry.length;
|
|
898
|
+
}
|
|
899
|
+
});
|
|
900
|
+
});
|
|
901
|
+
|
|
893
902
|
return {
|
|
894
903
|
index: iFoundIndex,
|
|
895
904
|
length: iMatchedLength
|
|
@@ -956,6 +965,7 @@ sap.ui.define([
|
|
|
956
965
|
return true;
|
|
957
966
|
}
|
|
958
967
|
};
|
|
968
|
+
DateFormat._oParseHelper = oParseHelper; // make parse helper a private static member for testing
|
|
959
969
|
|
|
960
970
|
/**
|
|
961
971
|
* Creates a pattern symbol object containing all needed functions to be used for formatting and parsing.
|
|
@@ -1284,7 +1294,8 @@ sap.ui.define([
|
|
|
1284
1294
|
format: function(oField, oDate, bUTC, oFormat) {
|
|
1285
1295
|
var iMonth = oDate.getUTCMonth();
|
|
1286
1296
|
if (oField.digits === 3) {
|
|
1287
|
-
|
|
1297
|
+
const vName = oFormat.aMonthsAbbrev[iMonth]; // vName may be an array if there are alternatives
|
|
1298
|
+
return Array.isArray(vName) ? vName[0] : vName;
|
|
1288
1299
|
} else if (oField.digits === 4) {
|
|
1289
1300
|
return oFormat.aMonthsWide[iMonth];
|
|
1290
1301
|
} else if (oField.digits > 4) {
|
|
@@ -1338,7 +1349,8 @@ sap.ui.define([
|
|
|
1338
1349
|
format: function(oField, oDate, bUTC, oFormat) {
|
|
1339
1350
|
var iMonth = oDate.getUTCMonth();
|
|
1340
1351
|
if (oField.digits === 3) {
|
|
1341
|
-
|
|
1352
|
+
const vName = oFormat.aMonthsAbbrevSt[iMonth]; // vName may be an array if there are alternatives
|
|
1353
|
+
return Array.isArray(vName) ? vName[0] : vName;
|
|
1342
1354
|
} else if (oField.digits === 4) {
|
|
1343
1355
|
return oFormat.aMonthsWideSt[iMonth];
|
|
1344
1356
|
} else if (oField.digits > 4) {
|
|
@@ -400,7 +400,7 @@ sap.ui.define([
|
|
|
400
400
|
* @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
|
|
401
401
|
* @extends sap.ui.base.ManagedObject
|
|
402
402
|
* @author SAP SE
|
|
403
|
-
* @version 1.120.
|
|
403
|
+
* @version 1.120.2
|
|
404
404
|
* @hideconstructor
|
|
405
405
|
* @public
|
|
406
406
|
* @since 1.60
|
|
@@ -26,13 +26,13 @@ sap.ui.define([
|
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.core
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.120.
|
|
29
|
+
* @version 1.120.2
|
|
30
30
|
* @since 0.8
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
var thisLib = Library.init({
|
|
34
34
|
name: "sap.ui.core",
|
|
35
|
-
version: "1.120.
|
|
35
|
+
version: "1.120.2",
|
|
36
36
|
designtime: "sap/ui/core/designtime/library.designtime",
|
|
37
37
|
// "apiVersion" is still WIP and in 1.120 restricted to the sap.ui.core library only!
|
|
38
38
|
// TODO: Remove spread operator once UI5 Tooling can validate this new property
|
|
@@ -1608,7 +1608,7 @@ sap.ui.define([
|
|
|
1608
1608
|
/**
|
|
1609
1609
|
* Sort order of a column.
|
|
1610
1610
|
*
|
|
1611
|
-
* @version 1.120.
|
|
1611
|
+
* @version 1.120.2
|
|
1612
1612
|
* @enum {string}
|
|
1613
1613
|
* @public
|
|
1614
1614
|
* @since 1.61.0
|
|
@@ -2354,9 +2354,15 @@ sap.ui.define([
|
|
|
2354
2354
|
* @borrows module:sap/ui/core/message/MessageType.Warning as Warning
|
|
2355
2355
|
* @borrows module:sap/ui/core/message/MessageType.Success as Success
|
|
2356
2356
|
* @borrows module:sap/ui/core/message/MessageType.None as None
|
|
2357
|
+
* @deprecated As of version 1.120. Please use {@link sap.ui.core.message.MessageType} instead.
|
|
2357
2358
|
*/
|
|
2358
2359
|
thisLib.MessageType = MessageType;
|
|
2359
2360
|
|
|
2361
|
+
/**
|
|
2362
|
+
* @deprecated As of version 1.120.
|
|
2363
|
+
*/
|
|
2364
|
+
DataType.registerEnum("sap.ui.core.MessageType", thisLib.MessageType);
|
|
2365
|
+
|
|
2360
2366
|
/**
|
|
2361
2367
|
* Specifies possible view types.
|
|
2362
2368
|
*
|
|
@@ -29,7 +29,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/core/message/MessageProcessor'],
|
|
|
29
29
|
* @extends sap.ui.core.message.MessageProcessor
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.120.
|
|
32
|
+
* @version 1.120.2
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @alias sap.ui.core.message.ControlMessageProcessor
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.base.Object
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.120.
|
|
38
|
+
* @version 1.120.2
|
|
39
39
|
*
|
|
40
40
|
* @param {object} [mParameters] a map which contains the following parameter properties:
|
|
41
41
|
* @param {string} [mParameters.id] The message id: will be generated if no id is set
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
* @param {string} [mParameters.description] The message description
|
|
44
44
|
* @param {string} [mParameters.descriptionUrl] The message description url to get a more detailed message
|
|
45
45
|
* @param {string} [mParameters.additionalText] The message additionalText
|
|
46
|
-
* @param {sap
|
|
46
|
+
* @param {module:sap/ui/core/message/MessageType} [mParameters.type=module:sap/ui/core/message/MessageType.None] The message type
|
|
47
47
|
* @param {string} [mParameters.code] The message code
|
|
48
48
|
* @param {boolean} [mParameters.technical=false] If the message is set as technical message
|
|
49
49
|
* @param {object} [mParameters.technicalDetails] An object containing technical details for a message
|
|
@@ -270,21 +270,21 @@ sap.ui.define([
|
|
|
270
270
|
/**
|
|
271
271
|
* Set message type
|
|
272
272
|
*
|
|
273
|
-
* @param {sap
|
|
273
|
+
* @param {module:sap/ui/core/message/MessageType} sType The Message type
|
|
274
274
|
* @public
|
|
275
275
|
*/
|
|
276
276
|
Message.prototype.setType = function(sType) {
|
|
277
277
|
if (sType in MessageType) {
|
|
278
278
|
this.type = sType;
|
|
279
279
|
} else {
|
|
280
|
-
Log.error("MessageType must be of type sap
|
|
280
|
+
Log.error("[FUTURE FATAL] MessageType must be of type sap/ui/core/message/MessageType");
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
285
|
* Returns the message type
|
|
286
286
|
*
|
|
287
|
-
* @returns {sap
|
|
287
|
+
* @returns {module:sap/ui/core/message/MessageType} type
|
|
288
288
|
* @public
|
|
289
289
|
*/
|
|
290
290
|
Message.prototype.getType = function() {
|
|
@@ -355,7 +355,7 @@ sap.ui.define([
|
|
|
355
355
|
if (BaseObject.isObjectA(oMessageProcessor, "sap.ui.core.message.MessageProcessor")) {
|
|
356
356
|
this.processor = oMessageProcessor;
|
|
357
357
|
} else {
|
|
358
|
-
Log.error("oMessageProcessor must be an instance of 'sap.ui.core.message.MessageProcessor'");
|
|
358
|
+
Log.error("[FUTURE FATAL] oMessageProcessor must be an instance of 'sap.ui.core.message.MessageProcessor'");
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
|
|
@@ -508,7 +508,7 @@ sap.ui.define([
|
|
|
508
508
|
* <code>0</code> if the message types are equal, a number smaller than <code>0</code> if the
|
|
509
509
|
* first message's type has higher severity, a number larger than <code>0</code> if the
|
|
510
510
|
* first message's type has lower severity and <code>NaN</code> in case one of the given
|
|
511
|
-
* messages has a type not defined in {@link sap
|
|
511
|
+
* messages has a type not defined in {@link module:sap/ui/core/message/MessageType}
|
|
512
512
|
* @private
|
|
513
513
|
*/
|
|
514
514
|
Message.compare = function (oMessage0, oMessage1) {
|
|
@@ -54,12 +54,14 @@ sap.ui.define([
|
|
|
54
54
|
stereotype: "controller",
|
|
55
55
|
methods: {
|
|
56
56
|
"byId": {"public": true, "final": true},
|
|
57
|
-
"getView" : {"public": true, "final": true},
|
|
58
57
|
"getInterface" : {"public": false, "final": true},
|
|
59
|
-
"
|
|
58
|
+
"getMetadata" : {"public": true, "final": true},
|
|
59
|
+
"getView" : {"public": true, "final": true},
|
|
60
|
+
"isA" : {"public": true, "final": true},
|
|
60
61
|
"onExit": {"public": false, "final": false, "overrideExecution": OverrideExecution.Before},
|
|
61
|
-
"
|
|
62
|
-
"onAfterRendering": {"public": false, "final": false, "overrideExecution": OverrideExecution.After}
|
|
62
|
+
"onInit": {"public": false, "final": false, "overrideExecution": OverrideExecution.After},
|
|
63
|
+
"onAfterRendering": {"public": false, "final": false, "overrideExecution": OverrideExecution.After},
|
|
64
|
+
"onBeforeRendering": {"public": false, "final": false, "overrideExecution": OverrideExecution.Before}
|
|
63
65
|
}
|
|
64
66
|
},
|
|
65
67
|
constructor : function(sName) {
|
|
@@ -156,7 +158,7 @@ sap.ui.define([
|
|
|
156
158
|
if (!oOrigExtensionMetadata.isMethodFinal(sOverrideMember)) {
|
|
157
159
|
ControllerExtension.overrideMethod(sOverrideMember, oExtension, oStaticOverrides, oExtension, oOrigExtensionMetadata.getOverrideExecution(sOverrideMember));
|
|
158
160
|
} else {
|
|
159
|
-
Log.error("Method '" + sOverrideMember + "' of extension '" + sNamespace + "' is flagged final and cannot be overridden by calling 'override'");
|
|
161
|
+
Log.error("[FUTURE FATAL] Method '" + sOverrideMember + "' of extension '" + sNamespace + "' is flagged final and cannot be overridden by calling 'override'");
|
|
160
162
|
}
|
|
161
163
|
}
|
|
162
164
|
//handle 'normal' overrides
|
|
@@ -175,13 +177,13 @@ sap.ui.define([
|
|
|
175
177
|
if (!oOrigExtensionMetadata.isMethodFinal(sExtensionOverride)) {
|
|
176
178
|
ControllerExtension.overrideMethod(sExtensionOverride, fnOriginal, vMember, oExtension, oOrigExtensionMetadata.getOverrideExecution(sExtensionOverride));
|
|
177
179
|
} else {
|
|
178
|
-
Log.error("Method '" + sExtensionOverride + "' of extension '" + oOrigExtensionInfo.namespace + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
180
|
+
Log.error("[FUTURE FATAL] Method '" + sExtensionOverride + "' of extension '" + oOrigExtensionInfo.namespace + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
183
|
} else if (!oControllerMetadata.isMethodFinal(sOverrideMember)) {
|
|
182
184
|
ControllerExtension.overrideMethod(sOverrideMember, oController, oOverrides, oExtension, oControllerMetadata.getOverrideExecution(sOverrideMember));
|
|
183
185
|
} else {
|
|
184
|
-
Log.error("Method '" + sOverrideMember + "' of controller '" + oController.getMetadata().getName() + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
186
|
+
Log.error("[FUTURE FATAL] Method '" + sOverrideMember + "' of controller '" + oController.getMetadata().getName() + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
185
187
|
}
|
|
186
188
|
} else if (sOverrideMember in mLifecycleConfig) {
|
|
187
189
|
//apply lifecycle hooks even if they don't exist on controller
|
|
@@ -192,7 +194,7 @@ sap.ui.define([
|
|
|
192
194
|
} else if (sOverrideMember.startsWith("extHook") && oController[sOverrideMember] === null) {
|
|
193
195
|
ControllerExtension.overrideMethod(sOverrideMember, oController, oOverrides, oExtension);
|
|
194
196
|
} else {
|
|
195
|
-
Log.error("Method '" + sOverrideMember + "' does not exist in controller " + oController.getMetadata().getName() + " and cannot be overridden");
|
|
197
|
+
Log.error("[FUTURE FATAL] Method '" + sOverrideMember + "' does not exist in controller " + oController.getMetadata().getName() + " and cannot be overridden");
|
|
196
198
|
}
|
|
197
199
|
}
|
|
198
200
|
oExtensionInfo.reloadNeeded = true;
|
|
@@ -212,7 +214,7 @@ sap.ui.define([
|
|
|
212
214
|
//override Extension so 'this' is working for overrides
|
|
213
215
|
ControllerExtension.overrideMethod(sExtensionOverride, oOrigExtension, oExtensionOverrides, oExtension, oOrigExtensionMetadata.getOverrideExecution(sExtensionOverride));
|
|
214
216
|
} else {
|
|
215
|
-
Log.error("Method '" + sExtensionOverride + "' of extension '" + sExtensionNamespace + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
217
|
+
Log.error("[FUTURE FATAL] Method '" + sExtensionOverride + "' of extension '" + sExtensionNamespace + "' is flagged final and cannot be overridden by extension '" + sNamespace + "'");
|
|
216
218
|
}
|
|
217
219
|
}
|
|
218
220
|
}
|
|
@@ -395,7 +397,7 @@ sap.ui.define([
|
|
|
395
397
|
oExtControllerDef = mRegistry[sControllerName] || oExtControllerDef;
|
|
396
398
|
if (oExtControllerDef !== undefined) {
|
|
397
399
|
if (oExtControllerDef.getMetadata && oExtControllerDef.getMetadata().isA("sap.ui.core.mvc.Controller")) {
|
|
398
|
-
Log.
|
|
400
|
+
Log.fatal("[FUTURE-FATAL] Attempt to load Extension Controller " + sControllerName + " was not successful", "Controller extension should be a plain object.", null, function() {
|
|
399
401
|
return {
|
|
400
402
|
type: "ControllerExtension",
|
|
401
403
|
name: sControllerName
|
|
@@ -406,7 +408,7 @@ sap.ui.define([
|
|
|
406
408
|
}
|
|
407
409
|
|
|
408
410
|
}, function(err) {
|
|
409
|
-
Log.error("Attempt to load Extension Controller " + sControllerName + " was not successful - is the Controller correctly defined in its file?");
|
|
411
|
+
Log.error("[FUTURE FATAL] Attempt to load Extension Controller " + sControllerName + " was not successful - is the Controller correctly defined in its file?");
|
|
410
412
|
});
|
|
411
413
|
} else {
|
|
412
414
|
// sync load Controller extension if necessary
|
|
@@ -452,7 +454,7 @@ sap.ui.define([
|
|
|
452
454
|
return oController;
|
|
453
455
|
});
|
|
454
456
|
}, function(err){
|
|
455
|
-
Log.error("Controller Extension Provider: Error '" + err + "' thrown in " + Controller._sExtensionProvider + "; extension provider ignored.");
|
|
457
|
+
Log.error("[FUTURE FATAL] Controller Extension Provider: Error '" + err + "' thrown in " + Controller._sExtensionProvider + "; extension provider ignored.");
|
|
456
458
|
return oController;
|
|
457
459
|
});
|
|
458
460
|
} else {
|
|
@@ -616,7 +618,7 @@ sap.ui.define([
|
|
|
616
618
|
*/
|
|
617
619
|
Controller.prototype._getDestroyables = function() {
|
|
618
620
|
if (!this._aDestroyables) {
|
|
619
|
-
Log.error("Mandatory super constructor not called for Controller: '" + this.getMetadata().getName() + "'.",
|
|
621
|
+
Log.error("[FUTURE FATAL] Mandatory super constructor not called for Controller: '" + this.getMetadata().getName() + "'.",
|
|
620
622
|
null,
|
|
621
623
|
"sap.ui.support",
|
|
622
624
|
function() {
|
|
@@ -36,9 +36,11 @@ sap.ui.define([
|
|
|
36
36
|
metadata: {
|
|
37
37
|
stereotype: "controllerextension",
|
|
38
38
|
methods: {
|
|
39
|
-
"byId"
|
|
39
|
+
"byId": {"public": true, "final": true},
|
|
40
|
+
"getInterface" : {"public": false, "final": true},
|
|
41
|
+
"getMetadata" : {"public": true, "final": true},
|
|
40
42
|
"getView" : {"public": true, "final": true},
|
|
41
|
-
"
|
|
43
|
+
"isA" : {"public": true, "final": true}
|
|
42
44
|
}
|
|
43
45
|
},
|
|
44
46
|
|
|
@@ -186,7 +188,7 @@ sap.ui.define([
|
|
|
186
188
|
} else if (typeof fnCust === "function") {
|
|
187
189
|
oOrigDef[sMemberName] = fnCust;
|
|
188
190
|
} else {
|
|
189
|
-
Log.error("Controller extension failed: lifecycleMethod '" + sMemberName + "', is not a function");
|
|
191
|
+
Log.error("[FUTURE FATAL] Controller extension failed: lifecycleMethod '" + sMemberName + "', is not a function");
|
|
190
192
|
}
|
|
191
193
|
break;
|
|
192
194
|
case OverrideExecution.After:
|
|
@@ -195,7 +197,7 @@ sap.ui.define([
|
|
|
195
197
|
} else if (typeof fnCust === "function") {
|
|
196
198
|
oOrigDef[sMemberName] = fnCust;
|
|
197
199
|
} else {
|
|
198
|
-
Log.error("Controller extension failed: lifecycleMethod '" + sMemberName + "', is not a function");
|
|
200
|
+
Log.error("[FUTURE FATAL] Controller extension failed: lifecycleMethod '" + sMemberName + "', is not a function");
|
|
199
201
|
}
|
|
200
202
|
break;
|
|
201
203
|
case OverrideExecution.Instead:
|
|
@@ -205,7 +207,7 @@ sap.ui.define([
|
|
|
205
207
|
if (!this.getMetadata().isMethodFinal(sMemberName)) {
|
|
206
208
|
oOrigDef[sMemberName] = fnCust;
|
|
207
209
|
} else {
|
|
208
|
-
Log.error("Error in ControllerExtension.override: Method '" + sMemberName + "' of extension '" + this.getMetadata().getName() + "' is flagged final and cannot be overridden!");
|
|
210
|
+
Log.error("[FUTURE FATAL] Error in ControllerExtension.override: Method '" + sMemberName + "' of extension '" + this.getMetadata().getName() + "' is flagged final and cannot be overridden!");
|
|
209
211
|
}
|
|
210
212
|
} else {
|
|
211
213
|
oOrigDef[sMemberName] = fnCust;
|
|
@@ -68,7 +68,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/core/Component"], function(Log, Component
|
|
|
68
68
|
providerControllers: [] // extensions loaded via external provider
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
var oComponent = Component.
|
|
71
|
+
var oComponent = Component.getComponentById(sComponentId);
|
|
72
72
|
// the view ID used in the customizing definition in the manifest.json
|
|
73
73
|
// must not contain a reference to the runtime ID of the component itself
|
|
74
74
|
if (oComponent && oComponent.getLocalId) {
|
|
@@ -104,7 +104,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/core/Component"], function(Log, Component
|
|
|
104
104
|
// add provider-extensions
|
|
105
105
|
mControllerExtensions.providerControllers = aExternalExtensions;
|
|
106
106
|
} else {
|
|
107
|
-
Log.error("Controller Extension Provider: Error in ExtensionProvider.getControllerExtensions: " + ControllerExtensionProvider._sExtensionProvider +
|
|
107
|
+
Log.error("[FUTURE FATAL] Controller Extension Provider: Error in ExtensionProvider.getControllerExtensions: " + ControllerExtensionProvider._sExtensionProvider +
|
|
108
108
|
" - no valid extensions returned. Return value must be an array of ControllerExtensions.");
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
if (!n.match(rPrivateCheck)) {
|
|
94
94
|
//final check
|
|
95
95
|
if (bExtendsController && this._oParent && this._oParent.isMethodFinal(n)) {
|
|
96
|
-
Log.error("Method: '" + n + "' of controller '" + this._oParent.getName() + "' is final and cannot be overridden by controller '" + this.getName() + "'");
|
|
96
|
+
Log.error("[FUTURE FATAL] Method: '" + n + "' of controller '" + this._oParent.getName() + "' is final and cannot be overridden by controller '" + this.getName() + "'");
|
|
97
97
|
delete this._oClass.prototype[n];
|
|
98
98
|
}
|
|
99
99
|
// default metadata for methods
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
if (oCommandExecution) {
|
|
93
93
|
oCommandExecution.trigger();
|
|
94
94
|
} else {
|
|
95
|
-
Log.error("Handler '" + sName + "' could not be resolved. No CommandExecution defined for command: " + sCommand);
|
|
95
|
+
Log.error("[FUTURE FATAL] Handler '" + sName + "' could not be resolved. No CommandExecution defined for command: " + sCommand);
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
fnHandler._sapui_commandName = sCommand;
|
|
@@ -125,7 +125,7 @@ sap.ui.define([
|
|
|
125
125
|
if (iEndBracket > iStartBracket) {
|
|
126
126
|
|
|
127
127
|
if (sName.substring(iStartBracket).indexOf("{=") > -1) {
|
|
128
|
-
Log.warning("It looks like an event handler parameter contains a binding expression ({=...}). This is not allowed and will cause an error later on " +
|
|
128
|
+
Log.warning("[FUTURE FATAL] It looks like an event handler parameter contains a binding expression ({=...}). This is not allowed and will cause an error later on " +
|
|
129
129
|
"because the entire event handler is already considered an expression: " + sName);
|
|
130
130
|
}
|
|
131
131
|
|
|
@@ -186,7 +186,7 @@ sap.ui.define([
|
|
|
186
186
|
};
|
|
187
187
|
})(sFunctionName, oController);
|
|
188
188
|
} else {
|
|
189
|
-
Log.error("Syntax error in event handler '" + sName + "': arguments must be enclosed in a pair of brackets");
|
|
189
|
+
Log.error("[FUTURE FATAL] Syntax error in event handler '" + sName + "': arguments must be enclosed in a pair of brackets");
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|
|
@@ -199,7 +199,7 @@ sap.ui.define([
|
|
|
199
199
|
return [ fnHandler, oController ];
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
Log.warning("Event handler name '" + sName + "' could not be resolved to an event handler function");
|
|
202
|
+
Log.warning("[FUTURE FATAL] Event handler name '" + sName + "' could not be resolved to an event handler function");
|
|
203
203
|
// return undefined
|
|
204
204
|
},
|
|
205
205
|
|
|
@@ -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.120.
|
|
30
|
+
* @version 1.120.2
|
|
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.120.
|
|
32
|
+
* @version 1.120.2
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
|
|
@@ -142,7 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
* The default implementation of this method returns <code>false</code>.
|
|
143
143
|
*
|
|
144
144
|
* @extends sap.ui.core.Control
|
|
145
|
-
* @version 1.120.
|
|
145
|
+
* @version 1.120.2
|
|
146
146
|
*
|
|
147
147
|
* @public
|
|
148
148
|
* @alias sap.ui.core.mvc.View
|
|
@@ -561,7 +561,7 @@ sap.ui.define([
|
|
|
561
561
|
// only 'visible' property can be customized
|
|
562
562
|
for (var sProperty in oCustomSetting) {
|
|
563
563
|
if (sProperty !== "visible") {
|
|
564
|
-
Log.warning("Customizing: custom value for property '" + sProperty + "' of control '" + sId + "' in View '" + that.sViewName + "' ignored: only the 'visible' property can be customized.");
|
|
564
|
+
Log.warning("[FUTURE FATAL] Customizing: custom value for property '" + sProperty + "' of control '" + sId + "' in View '" + that.sViewName + "' ignored: only the 'visible' property can be customized.");
|
|
565
565
|
delete oCustomSetting[sProperty];
|
|
566
566
|
}
|
|
567
567
|
}
|
|
@@ -772,8 +772,11 @@ sap.ui.define([
|
|
|
772
772
|
* @param {string[]} [aLocalIds] Array of local IDs within the cloned hierarchy (internally used)
|
|
773
773
|
* @returns {this} Reference to the newly created clone
|
|
774
774
|
* @public
|
|
775
|
+
* @deprecated As of version 1.120, please call the corresponding View factory instead, e.g. {@link sap.ui.core.mvc.XMLView.create}
|
|
775
776
|
*/
|
|
776
777
|
View.prototype.clone = function(sIdSuffix, aLocalIds) {
|
|
778
|
+
Log.error("[FUTURE FATAL] Cloning a View and/or using a View as a binding template is deprecated. Please call the corresponding View factory instead, e.g. XMLView.create()");
|
|
779
|
+
|
|
777
780
|
var mSettings = {}, sKey, oClone;
|
|
778
781
|
//Clone properties (only those with non-default value)
|
|
779
782
|
for (sKey in this.mProperties && !(this.isBound && this.isBound(sKey))) {
|
|
@@ -953,7 +956,7 @@ sap.ui.define([
|
|
|
953
956
|
if (vPreprocessor) {
|
|
954
957
|
initGlobalPreprocessorsRegistry(sType, sViewType);
|
|
955
958
|
if (bOnDemand && onDemandPreprocessorExists(sViewType, sType)) {
|
|
956
|
-
Log.error("Registration for \"" + sType + "\" failed, only one on-demand-preprocessor allowed", this.getMetadata().getName());
|
|
959
|
+
Log.error("[FUTURE FATAL] Registration for \"" + sType + "\" failed, only one on-demand-preprocessor allowed", this.getMetadata().getName());
|
|
957
960
|
return;
|
|
958
961
|
}
|
|
959
962
|
View._mPreprocessors[sViewType][sType].push({
|
|
@@ -965,7 +968,7 @@ sap.ui.define([
|
|
|
965
968
|
Log.debug("Registered " + (bOnDemand ? "on-demand-" : "") + "preprocessor for \"" + sType + "\"" +
|
|
966
969
|
(bSyncSupport ? " with syncSupport" : ""), this.getMetadata().getName());
|
|
967
970
|
} else {
|
|
968
|
-
Log.error("Registration for \"" + sType + "\" failed, no preprocessor specified", this.getMetadata().getName());
|
|
971
|
+
Log.error("[FUTURE FATAL] Registration for \"" + sType + "\" failed, no preprocessor specified", this.getMetadata().getName());
|
|
969
972
|
}
|
|
970
973
|
};
|
|
971
974
|
|
|
@@ -1070,7 +1073,7 @@ sap.ui.define([
|
|
|
1070
1073
|
var Component = sap.ui.require("sap/ui/core/Component");
|
|
1071
1074
|
var oOwnerComponent;
|
|
1072
1075
|
if (Component && ManagedObject._sOwnerId) {
|
|
1073
|
-
oOwnerComponent = Component.
|
|
1076
|
+
oOwnerComponent = Component.getComponentById(ManagedObject._sOwnerId);
|
|
1074
1077
|
}
|
|
1075
1078
|
|
|
1076
1079
|
function createView() {
|
|
@@ -1078,7 +1081,7 @@ sap.ui.define([
|
|
|
1078
1081
|
}
|
|
1079
1082
|
|
|
1080
1083
|
return new Promise(function(resolve, reject) {
|
|
1081
|
-
var sViewClass =
|
|
1084
|
+
var sViewClass = View._getViewClassName(mParameters);
|
|
1082
1085
|
sap.ui.require([sViewClass], function(ViewClass){
|
|
1083
1086
|
resolve(ViewClass);
|
|
1084
1087
|
}, reject);
|
|
@@ -1243,17 +1246,25 @@ sap.ui.define([
|
|
|
1243
1246
|
}
|
|
1244
1247
|
}
|
|
1245
1248
|
|
|
1246
|
-
var sViewClass =
|
|
1249
|
+
var sViewClass = View._getViewClassName(oView);
|
|
1247
1250
|
view = createView(sViewClass, oView);
|
|
1248
1251
|
return view;
|
|
1249
1252
|
}
|
|
1250
1253
|
|
|
1251
|
-
|
|
1254
|
+
/**
|
|
1255
|
+
* Extract the class name from the given view settings object
|
|
1256
|
+
*
|
|
1257
|
+
* @param {object} oViewSettings Settings object as given to the view factory
|
|
1258
|
+
* @param {boolean} [bSkipLog=false] Whether to skip the logging
|
|
1259
|
+
* @returns {string|undefined} Name of the view class (in sap.ui.define syntax)
|
|
1260
|
+
* @private
|
|
1261
|
+
*/
|
|
1262
|
+
View._getViewClassName = function(oViewSettings, bSkipLog) {
|
|
1252
1263
|
var sViewClass = View._getModuleName(oViewSettings);
|
|
1253
1264
|
|
|
1254
1265
|
// view creation
|
|
1255
1266
|
if (sViewClass) {
|
|
1256
|
-
if (oViewSettings.type) {
|
|
1267
|
+
if (oViewSettings.type && !bSkipLog) {
|
|
1257
1268
|
Log.error("When using the view factory, the 'type' setting must be omitted for typed views. When embedding typed views in XML, don't use the <JSView> tag, use the <View> tag instead.");
|
|
1258
1269
|
}
|
|
1259
1270
|
return sViewClass;
|
|
@@ -1287,7 +1298,7 @@ sap.ui.define([
|
|
|
1287
1298
|
}
|
|
1288
1299
|
|
|
1289
1300
|
return sViewClass;
|
|
1290
|
-
}
|
|
1301
|
+
};
|
|
1291
1302
|
|
|
1292
1303
|
function createView(sViewClass, oViewSettings) {
|
|
1293
1304
|
var ViewClass = sap.ui.require(sViewClass);
|