@openui5/sap.ui.core 1.122.0 → 1.123.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/.dtsgenrc +7 -1
- package/.eslintrc.json +3 -0
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -17
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/future.js +3 -1
- package/src/sap/base/i18n/Formatting.js +119 -94
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- 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 +7 -4
- package/src/sap/ui/base/BindingInfo.js +22 -0
- 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 +5 -14
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +15 -14
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +17 -16
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +53 -18
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +58 -21
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +1 -1
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +6 -2
- package/src/sap/ui/core/Fragment.js +10 -5
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +37 -21
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +7 -1
- package/src/sap/ui/core/Renderer.js +4 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +2 -2
- 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 +37 -47
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/XMLTemplateProcessor.js +12 -0
- package/src/sap/ui/core/_IconRegistry.js +1 -0
- 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 +2 -2
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +28 -3
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +6 -2
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +12 -7
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/rules/CoreHelper.support.js +2 -3
- package/src/sap/ui/core/rules/Misc.support.js +3 -12
- package/src/sap/ui/core/rules/Theming.support.js +5 -9
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -20
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/.theming +3 -1
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/theming/Parameters.js +5 -1
- 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 +2 -2
- package/src/sap/ui/core/util/ExportCell.js +2 -2
- package/src/sap/ui/core/util/ExportColumn.js +2 -2
- package/src/sap/ui/core/util/ExportRow.js +2 -2
- package/src/sap/ui/core/util/ExportType.js +2 -2
- package/src/sap/ui/core/util/ExportTypeCSV.js +2 -2
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/XMLPreprocessor.js +8 -13
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/dom/jquery/Aria.js +19 -0
- package/src/sap/ui/events/jquery/EventExtension.js +4 -3
- 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 +4 -4
- package/src/sap/ui/model/DataState.js +2 -2
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +22 -33
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +1 -1
- package/src/sap/ui/model/controlhelper/TreeBindingProxy.js +7 -1
- 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/AnnotationHelper.js +11 -8
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataExpressionAddons.js +21 -0
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +17 -48
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +2 -0
- package/src/sap/ui/model/odata/v4/Context.js +66 -22
- package/src/sap/ui/model/odata/v4/ODataBinding.js +10 -11
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +207 -180
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +75 -52
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +9 -11
- package/src/sap/ui/model/odata/v4/ODataModel.js +34 -35
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +9 -9
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +20 -8
- package/src/sap/ui/model/odata/v4/SubmitMode.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +126 -46
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +56 -11
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +21 -34
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +16 -27
- package/src/sap/ui/model/odata/v4/lib/_MetadataConverter.js +2 -6
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Parser.js +6 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +49 -38
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +75 -24
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +3 -4
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +4 -12
- package/src/sap/ui/model/odata/v4/lib/_V4MetadataConverter.js +1 -1
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +48 -4
- 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 +5 -4
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +4 -1
- package/src/sap/ui/test/ModuleTracking.js +46 -0
- package/src/sap/ui/test/OpaBuilder.js +19 -19
- package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +39 -6
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/_enforceNoReturnValue.js +3 -1
- package/src/ui5loader-autoconfig.js +22 -16
- package/src/ui5loader.js +38 -1
- package/test/sap/ui/core/demokit/docuindex.json +17 -6
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicMessages/Component.js +1 -1
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicMessages/Controller.controller.js +30 -47
- package/test/sap/ui/core/demokit/sample/Messaging/BasicMessages/MessagePopover.fragment.xml +13 -0
- package/test/sap/ui/core/demokit/sample/Messaging/BasicMessages/View.view.xml +135 -0
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicMessages/manifest.json +2 -2
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/Component.js +1 -1
- package/test/sap/ui/core/demokit/sample/Messaging/BasicODataMessages/Controller.controller.js +58 -0
- package/test/sap/ui/core/demokit/sample/Messaging/BasicODataMessages/MessagePopover.fragment.xml +13 -0
- package/test/sap/ui/core/demokit/sample/Messaging/BasicODataMessages/View.view.xml +57 -0
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/localService/mockserver.js +11 -13
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/manifest.json +2 -2
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/Component.js +1 -1
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/manifest.json +2 -1
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/package.json +1 -1
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/ui5.yaml +11 -0
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/Component.js +2 -2
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/controller/App.controller.js +12 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/controller/BaseController.js +41 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/controller/Employee.controller.js +54 -0
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/controller/NotFound.controller.js +9 -11
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/fragment/MessagePopover.fragment.xml +13 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/i18n/i18n.properties +9 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/index.html +20 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/index.js +16 -0
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/mockserver.js +27 -27
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/manifest.json +7 -4
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/view/App.view.xml +1 -1
- package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/view/Employee.view.xml +6 -6
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/view/NotFound.view.xml +13 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Types.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/common/Helper.js +8 -9
- package/test/sap/ui/core/demokit/sample/common/SandboxModelHelper.js +1 -1
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithOPA5/GherkinTestRunner.html +2 -2
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithPageObjects/GherkinTestRunner.html +2 -2
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithQUnit/GherkinTestRunner.html +2 -2
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithQUnit/Steps.js +4 -5
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithUIComponent/GherkinTestRunner.html +2 -2
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v2/AutoExpand/AutoExpand.view.xml +1 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/ConsumeV2Service/Main.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/ObjectPage.controller.js +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Main.controller.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/MIT.ListBinding.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Main.controller.js +5 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Main.view.xml +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/MIT.ListBindingTemplate.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.view.xml +6 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/MusicArtists/ObjectPage.controller.js +5 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/MIT.Products.html +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/pages/Main.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +27 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/MIT.SalesOrderTP100.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/MIT.SalesOrderTP100.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.Basics.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.SalesOrderAdditionalTargets.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.SalesOrderCreate.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.SalesOrderCreateMultiple.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.SalesOrderCreateRelative.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/MIT.SalesOrderMessageHandling.html +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +5 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/pages/Main.js +7 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/MessageHandling.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/MIT.RTA.html +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/MIT.SalesOrdersTemplate.html +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/MIT.Sticky.html +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Main.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/pages/Main.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/localService/mockserver.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/Products/Main.view.xml +1 -1
- package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +12 -3
- package/test/sap/ui/core/qunit/CustomThemeFallback.qunit.js +33 -38
- package/test/sap/ui/core/qunit/CustomThemeFallback_unavoidablySync.qunit.js +119 -0
- package/test/sap/ui/core/qunit/EventBus.qunit.js +15 -0
- package/test/sap/ui/core/qunit/Lib_terminologies.qunit.js +109 -0
- package/test/sap/ui/core/qunit/StashedControlSupport_unavoidablySync.qunit.js +19 -0
- package/test/sap/ui/core/qunit/StashedControlSupport_unavoidablySync.view.xml +27 -0
- package/test/sap/ui/core/qunit/app/ThemeClassParameters.qunit.js +105 -140
- package/test/sap/ui/core/qunit/app/testsuite.app.qunit.js +75 -2
- package/test/sap/ui/core/qunit/base/Config.qunit.js +6 -2
- package/test/sap/ui/core/qunit/base/Config_bootstrap.qunit.html +4 -1
- package/test/sap/ui/core/qunit/base/Config_bootstrap.qunit.js +6 -2
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +6 -3
- package/test/sap/ui/core/qunit/base/Config_global.qunit.html +5 -2
- package/test/sap/ui/core/qunit/base/Config_meta.qunit.html +5 -2
- package/test/sap/ui/core/qunit/base/Config_noUrl.qunit.html +5 -2
- package/test/sap/ui/core/qunit/base/Config_noUrl.qunit.js +5 -1
- package/test/sap/ui/core/qunit/base/Config_url.qunit.html +5 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithNoJQuery-without-jquery-ui-position.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithNoJQuery.qunit.html +2 -1
- package/test/sap/ui/core/qunit/bootstrap/DebugMode.beforeBootstrap.qunit.js +7 -0
- package/test/sap/ui/core/qunit/bootstrap/DebugModeAsync.qunit.html +10 -4
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +7 -0
- package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +9 -0
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessAmbiguous.html +2 -2
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessDuplicate.html +2 -2
- package/test/sap/ui/core/qunit/gherkin/fixture/testHarnessFailing.html +2 -2
- package/test/sap/ui/core/qunit/gherkin/opa5TestHarness.qunit.html +2 -2
- package/test/sap/ui/core/qunit/gherkin/qUnitTestHarness.qunit.html +2 -2
- package/test/sap/ui/core/qunit/gherkin/testHarnessTests.js +1 -1
- package/test/sap/ui/core/qunit/i18n/GenericLocaleData.qunit.js +1 -1
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +15 -15
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +7 -1
- package/test/sap/ui/core/qunit/loader/config.qunit.js +14 -6
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +288 -0
- package/test/sap/ui/core/qunit/model/controlhelper/TreeBindingProxy.qunit.js +12 -0
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +7 -2
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +223 -40
- package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBinding.qunit.js +78 -7
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +142 -17
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +93 -87
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +116 -86
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1828 -548
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +26 -23
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +9 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +251 -113
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +50 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +3 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +31 -11
- package/test/sap/ui/core/qunit/odata/v4/lib/_Parser.qunit.js +8 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +46 -31
- package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +144 -45
- package/test/sap/ui/core/qunit/odata/v4/lib/_V2Requestor.qunit.js +5 -5
- package/test/sap/ui/core/qunit/odata/v4/lib/data/v2/QM_INSP_PLAN_SRV/metadata.xml +3 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/data/v2/QM_INSP_PLAN_SRV/metadata_only.xml +3 -3
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +82 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/i18n/i18n_fr.properties +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/i18n/terminologies/oil/i18n_fr.properties +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/library-preload.js +2 -2
- package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/themes/sap_hcb/library.css +3 -0
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +19 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +14 -0
- package/test/sap/ui/core/qunit/types/NumberFormat.qunit.js +37 -20
- package/test/sap/ui/core/qunit/types/NumberFormatCurrencies.qunit.js +21 -0
- package/test/sap/ui/core/qunit/types/Types.qunit.js +126 -15
- package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +58 -4
- package/test/sap/ui/core/relnotes/changes-1.122.json +0 -22
- package/test/sap/ui/core/relnotes/changes-1.123.json +47 -0
- package/test/sap/ui/core/samples/databinding/DataBindingDeclarativeSyntax.js +55 -56
- package/test/sap/ui/core/samples/databinding/DatabindingDeclarativeSyntax.html +4 -4
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/firstItem-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/initial.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/lastItem-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/leftDownBtn-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/myButtonSample-contextMenu.ref.lnk +1 -1
- package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/rightDownBtn-contextMenu.ref.lnk +1 -1
- package/test/testsuite/js/testfwk.js +47 -64
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicMessages/MessagePopover.fragment.xml +0 -13
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicMessages/View.view.xml +0 -136
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/Controller.controller.js +0 -74
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/MessagePopover.fragment.xml +0 -13
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/View.view.xml +0 -58
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +0 -11
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/controller/App.controller.js +0 -14
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/controller/BaseController.js +0 -55
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/controller/Employee.controller.js +0 -56
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/fragment/MessagePopover.fragment.xml +0 -13
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/i18n/i18n.properties +0 -5
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/index.html +0 -42
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/view/NotFound.view.xml +0 -11
- package/test/sap/ui/core/qunit/app/beforeBootstrap.js +0 -19
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.html +0 -24
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/localService/metadata.xml +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/localService/mockdata/Employees.json +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/BasicODataMessages/localService/response/ODataErrorResponse.json +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/metadata.xml +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/mockdata/Employees.json +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/mockdata/Employees_3.json +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/response/ODataErrorResponseTemplate.json +0 -0
- /package/test/sap/ui/core/demokit/sample/{MessageManager → Messaging}/ODataBackendMessagesComp/webapp/localService/response/SAP-Message-Header.json +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"1.123.0": {
|
|
3
|
+
"date": "April 2024",
|
|
4
|
+
"notes": [
|
|
5
|
+
{
|
|
6
|
+
"id": "f866420cc64e1fb51aab57d2e9aeadb61f2ff566",
|
|
7
|
+
"type": "FEATURE",
|
|
8
|
+
"text": " sap.ui.core.IconPool: Update icon font v5.8 and v4.20"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "f807f228c175d5a3302a232be0fd887330ecad56",
|
|
12
|
+
"type": "FIX",
|
|
13
|
+
"text": " sap/ui/core/EventBus: add try/catch around calling the listeners"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "49417009768027f6cc41df864834798d27e16c2a",
|
|
17
|
+
"type": "FIX",
|
|
18
|
+
"text": " XMLTemplateProcessor: Keep sync. processing of stashed controls stable"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "9cd5d20b0853149dec130cddcdf73e6a4933dbbc",
|
|
22
|
+
"type": "FIX",
|
|
23
|
+
"text": " sap.ui.model.type.Currency: amount scale is used instead of currency's decimal places"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "b63a716908e8b33c16c7af843afc56038eedf508",
|
|
27
|
+
"type": "FIX",
|
|
28
|
+
"text": " sap/ui/model/odata/v2/ODataModel#setChangeGroups: Improve JSDoc"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "2c575d67d5fbac4d3cca0c7cff5dad5060ef5437",
|
|
32
|
+
"type": "FIX",
|
|
33
|
+
"text": " sap.ui.model.type.Unit: do not overwrite Unit's maxFractionDigits format option"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "5068829194c2e1e1a4c7b072f798e8dc646eaa20",
|
|
37
|
+
"type": "FIX",
|
|
38
|
+
"text": " sap.m,sap.ui.commons,sap.ui.core,sap.uxap: Deprecated API descriptions enhanced"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "dce2ca3fd4ba116b9c141333acc045c9c0032cc6",
|
|
42
|
+
"type": "FIX",
|
|
43
|
+
"text": " mvc/Controller: Replace function call with apply"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -5,62 +5,61 @@ sap.ui.define([
|
|
|
5
5
|
], function (JSONModel, View, XMLView) {
|
|
6
6
|
"use strict";
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sap.ui.getCore().setModel(oModel);
|
|
8
|
+
(async function() {
|
|
9
|
+
const oModel = new JSONModel({
|
|
10
|
+
singleEntry: {
|
|
11
|
+
firstName: "John",
|
|
12
|
+
lastName: "Doe",
|
|
13
|
+
birthday: { day: 1, month: 4, year: 1970 },
|
|
14
|
+
amount: 6000.94,
|
|
15
|
+
gender: 'male',
|
|
16
|
+
address: [{ city: "Walldorf" }],
|
|
17
|
+
enabled: true
|
|
18
|
+
},
|
|
19
|
+
table: [{
|
|
20
|
+
firstName: "Horsti",
|
|
21
|
+
lastName: "von Drueben",
|
|
22
|
+
birthday: { day: 1, month: 4, year: 1972 },
|
|
23
|
+
amount: 6000.94,
|
|
24
|
+
gender: 'male',
|
|
25
|
+
address: [{ city: "Walldorf" }],
|
|
26
|
+
enabled: true
|
|
27
|
+
}, {
|
|
28
|
+
firstName: "Egon",
|
|
29
|
+
lastName: "the Ugly",
|
|
30
|
+
birthday: { day: 10, month: 4, year: 1952 },
|
|
31
|
+
amount: 6000.94,
|
|
32
|
+
gender: 'male',
|
|
33
|
+
address: [{ city: "Walldorf" }],
|
|
34
|
+
enabled: true
|
|
35
|
+
}, {
|
|
36
|
+
firstName: "Verena",
|
|
37
|
+
lastName: "die Schoene",
|
|
38
|
+
birthday: { day: 10, month: 4, year: 1982 },
|
|
39
|
+
amount: 6000.94,
|
|
40
|
+
gender: 'female',
|
|
41
|
+
address: [{ city: "Walldorf" }],
|
|
42
|
+
enabled: true
|
|
43
|
+
}]
|
|
44
|
+
});
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
});
|
|
52
|
-
sap.ui.getCore().setModel(oModel2, "model2");
|
|
46
|
+
const oModel2 = new JSONModel({
|
|
47
|
+
amount: 3000.53,
|
|
48
|
+
currency: "$"
|
|
49
|
+
});
|
|
53
50
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
// XMLView
|
|
52
|
+
const oXMLView = await XMLView.create({
|
|
53
|
+
viewName: "testdata.complexsyntax"
|
|
54
|
+
});
|
|
55
|
+
oXMLView.setModel(oModel).setModel(oModel2, "model2");
|
|
56
|
+
oXMLView.placeAt("XMLView");
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
58
|
+
// TypedView
|
|
59
|
+
const oTypedView = await View.create({
|
|
60
|
+
viewName: "module:testdata/ComplexSyntax"
|
|
61
|
+
});
|
|
62
|
+
oTypedView.setModel(oModel).setModel(oModel2, "model2");
|
|
63
|
+
oTypedView.placeAt("TypedView");
|
|
64
|
+
})();
|
|
65
|
+
});
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
data-sap-ui-async="true"
|
|
18
18
|
data-sap-ui-onInit="module:local/DataBindingDeclarativeSyntax"
|
|
19
19
|
data-sap-ui-xx-bindingSyntax="complex"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
data-sap-ui-resourceroots='{
|
|
21
|
+
"testdata": "./testdata/",
|
|
22
|
+
"local": "./"
|
|
23
|
+
}'>
|
|
24
24
|
</script>
|
|
25
25
|
</head>
|
|
26
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=a96c1f646a7f4a9b444c0fabec7d6ce8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=3ea95ff26cad225728be6fc61f541330
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=13ccf2e44740fe2c55bc9da63304298f
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=1dd2aa0ebd7bc815bf6316fc855a0b1d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=a4060135acc609ed04f1eccb4872aff8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
uuid=
|
|
1
|
+
uuid=67e83186799bbc8b914df5a0fa638606
|
|
@@ -9,11 +9,48 @@ sap.ui.define([
|
|
|
9
9
|
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
|
+
const THEMES = {
|
|
13
|
+
"base": "Base",
|
|
14
|
+
"sap_horizon": "Morning Horizon",
|
|
15
|
+
"sap_horizon_dark": "Evening Horizon",
|
|
16
|
+
"sap_horizon_hcb": "High Contrast Black Horizon",
|
|
17
|
+
"sap_horizon_hcw": "High Contrast White Horizon",
|
|
18
|
+
"sap_fiori_3": "Quartz Light",
|
|
19
|
+
"sap_fiori_3_dark": "Quartz Dark",
|
|
20
|
+
"sap_fiori_3_hcb": "Quartz High Contrast Black",
|
|
21
|
+
"sap_fiori_3_hcw": "Quartz High Contrast White",
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated As of version 1.120.2
|
|
24
|
+
*/
|
|
25
|
+
"sap_belize": "Belize",
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated As of version 1.120.2
|
|
28
|
+
*/
|
|
29
|
+
"sap_belize_plus": "Belize Plus",
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated As of version 1.120.2
|
|
32
|
+
*/
|
|
33
|
+
"sap_belize_hcb": "Belize High Contrast Black",
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated As of version 1.120.2
|
|
36
|
+
*/
|
|
37
|
+
"sap_belize_hcw": "Belize High Contrast White",
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated As of version 1.40
|
|
40
|
+
*/
|
|
41
|
+
"sap_bluecrystal": "Blue Crystal",
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated As of version 1.48
|
|
44
|
+
*/
|
|
45
|
+
"sap_hcb": "High Contrast Black"
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const THEME_NAMES_WITHOUT_BASE = Object.keys(THEMES).filter((name) => name != "base");
|
|
12
49
|
|
|
13
|
-
|
|
50
|
+
const TestFWK = {
|
|
14
51
|
|
|
15
|
-
sLanguage: (navigator.languages && navigator.languages[0]) || navigator.language || navigator.userLanguage,
|
|
16
|
-
sTheme: "
|
|
52
|
+
sLanguage: (window.navigator.languages && window.navigator.languages[0]) || window.navigator.language || window.navigator.userLanguage,
|
|
53
|
+
sTheme: "sap_horizon",
|
|
17
54
|
bContrastMode: false,
|
|
18
55
|
bRTL: false,
|
|
19
56
|
bAccessibilityMode: true,
|
|
@@ -26,76 +63,22 @@ sap.ui.define([
|
|
|
26
63
|
"de": "Deutsch"
|
|
27
64
|
},
|
|
28
65
|
|
|
29
|
-
THEMES
|
|
30
|
-
"base": "Base",
|
|
31
|
-
"sap_horizon": "Horizon",
|
|
32
|
-
"sap_fiori_3": "Quartz Light",
|
|
33
|
-
"sap_fiori_3_dark": "Quartz Dark",
|
|
34
|
-
"sap_fiori_3_hcb": "Quartz High Contrast Black",
|
|
35
|
-
"sap_fiori_3_hcw": "Quartz High Contrast White",
|
|
36
|
-
"sap_belize": "Belize",
|
|
37
|
-
"sap_belize_plus": "Belize Plus",
|
|
38
|
-
"sap_belize_hcb": "Belize High Contrast Black",
|
|
39
|
-
"sap_belize_hcw": "Belize High Contrast White",
|
|
40
|
-
"sap_bluecrystal": "Blue Crystal",
|
|
41
|
-
"sap_hcb": "High Contrast Black"
|
|
42
|
-
},
|
|
66
|
+
THEMES,
|
|
43
67
|
|
|
44
68
|
// the themes supported by each library
|
|
45
69
|
LIBRARY_THEMES: {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"sap_bluecrystal","sap_horizon","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"sap.me" : {
|
|
53
|
-
"default" : "sap_bluecrystal",
|
|
54
|
-
"supports" : [
|
|
55
|
-
"sap_bluecrystal","sap_hcb"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"sap.ui.commons" : {
|
|
59
|
-
"default" : "sap_bluecrystal",
|
|
60
|
-
"supports" : [
|
|
61
|
-
"sap_bluecrystal","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"sap.ui.composite" : {
|
|
65
|
-
"default" : "sap_bluecrystal",
|
|
66
|
-
"supports" : [
|
|
67
|
-
"sap_bluecrystal","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated As of version 1.120
|
|
72
|
+
*/
|
|
70
73
|
"sap.ui.dev" : {
|
|
71
74
|
"default" : "sap_bluecrystal",
|
|
72
75
|
"supports" : [
|
|
73
|
-
"sap_bluecrystal","
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
"sap.ui.richtexteditor" : {
|
|
77
|
-
"default" : "sap_bluecrystal",
|
|
78
|
-
"supports" : [
|
|
79
|
-
"sap_bluecrystal","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"sap.ui.suite" : {
|
|
83
|
-
"default" : "sap_bluecrystal",
|
|
84
|
-
"supports" : [
|
|
85
|
-
"sap_bluecrystal","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"sap.ui.ux3" : {
|
|
89
|
-
"default" : "sap_bluecrystal",
|
|
90
|
-
"supports" : [
|
|
91
|
-
"sap_bluecrystal","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
76
|
+
"sap_bluecrystal","sap_hcb"
|
|
92
77
|
]
|
|
93
78
|
},
|
|
94
79
|
"all" : {
|
|
95
|
-
"default" : "
|
|
96
|
-
"supports"
|
|
97
|
-
"sap_bluecrystal","sap_horizon","sap_fiori_3","sap_fiori_3_hcb","sap_fiori_3_dark","sap_fiori_3_hcw","sap_belize","sap_belize_plus","sap_belize_hcb","sap_belize_hcw","sap_hcb"
|
|
98
|
-
]
|
|
80
|
+
"default" : "sap_horizon",
|
|
81
|
+
"supports": THEME_NAMES_WITHOUT_BASE
|
|
99
82
|
}
|
|
100
83
|
},
|
|
101
84
|
|
package/test/sap/ui/core/demokit/sample/MessageManager/BasicMessages/MessagePopover.fragment.xml
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<core:FragmentDefinition
|
|
2
|
-
xmlns="sap.m"
|
|
3
|
-
xmlns:core="sap.ui.core">
|
|
4
|
-
<MessagePopover
|
|
5
|
-
items="{message>/}"
|
|
6
|
-
initiallyExpanded="true">
|
|
7
|
-
<MessageItem
|
|
8
|
-
type="{message>type}"
|
|
9
|
-
title="{message>message}"
|
|
10
|
-
subtitle="{message>additionalText}"
|
|
11
|
-
description="{message>description}"/>
|
|
12
|
-
</MessagePopover>
|
|
13
|
-
</core:FragmentDefinition>
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
<mvc:View
|
|
2
|
-
controllerName="sap.ui.core.sample.MessageManager.BasicMessages.Controller"
|
|
3
|
-
xmlns="sap.m"
|
|
4
|
-
xmlns:core="sap.ui.core"
|
|
5
|
-
xmlns:mvc="sap.ui.core.mvc"
|
|
6
|
-
xmlns:f="sap.ui.layout.form"
|
|
7
|
-
height="100%"
|
|
8
|
-
displayBlock="true">
|
|
9
|
-
|
|
10
|
-
<Page
|
|
11
|
-
id="page"
|
|
12
|
-
showHeader="false"
|
|
13
|
-
class="sapUiContentPadding">
|
|
14
|
-
<content>
|
|
15
|
-
<f:Form
|
|
16
|
-
id="form"
|
|
17
|
-
editable="true"
|
|
18
|
-
title="UI Messages">
|
|
19
|
-
<f:layout>
|
|
20
|
-
<f:ResponsiveGridLayout />
|
|
21
|
-
</f:layout>
|
|
22
|
-
<f:formContainers>
|
|
23
|
-
<f:FormContainer
|
|
24
|
-
id="formContainer"
|
|
25
|
-
title="Fields">
|
|
26
|
-
|
|
27
|
-
<f:FormElement>
|
|
28
|
-
<f:label>
|
|
29
|
-
<Label
|
|
30
|
-
text="String\{3,10\}"
|
|
31
|
-
required="true"/>
|
|
32
|
-
</f:label>
|
|
33
|
-
<f:fields>
|
|
34
|
-
<Input
|
|
35
|
-
id="mandatoryInput"
|
|
36
|
-
value="{
|
|
37
|
-
path: '/MandatoryInputValue',
|
|
38
|
-
type: 'sap.ui.model.type.String',
|
|
39
|
-
constraints: {
|
|
40
|
-
minLength: 3,
|
|
41
|
-
maxLength: 10
|
|
42
|
-
}
|
|
43
|
-
}"/>
|
|
44
|
-
</f:fields>
|
|
45
|
-
</f:FormElement>
|
|
46
|
-
|
|
47
|
-
<f:FormElement>
|
|
48
|
-
<f:label>
|
|
49
|
-
<Label text="DatePicker"/>
|
|
50
|
-
</f:label>
|
|
51
|
-
<f:fields>
|
|
52
|
-
<DatePicker
|
|
53
|
-
id="date"
|
|
54
|
-
value="{
|
|
55
|
-
path:'/DateValue',
|
|
56
|
-
type:'sap.ui.model.type.Date',
|
|
57
|
-
formatOptions: {
|
|
58
|
-
style: 'short',
|
|
59
|
-
strictParsing: true
|
|
60
|
-
},
|
|
61
|
-
constraints: { }
|
|
62
|
-
}" />
|
|
63
|
-
</f:fields>
|
|
64
|
-
</f:FormElement>
|
|
65
|
-
|
|
66
|
-
<f:FormElement>
|
|
67
|
-
<f:label>
|
|
68
|
-
<Label text="Integer 0-100"/>
|
|
69
|
-
</f:label>
|
|
70
|
-
<f:fields>
|
|
71
|
-
<Input
|
|
72
|
-
id="int"
|
|
73
|
-
value="{
|
|
74
|
-
path: '/IntegerValue',
|
|
75
|
-
type:'sap.ui.model.type.Integer',
|
|
76
|
-
constraints: {
|
|
77
|
-
minimum: 0,
|
|
78
|
-
maximum: 100
|
|
79
|
-
}
|
|
80
|
-
}"/>
|
|
81
|
-
</f:fields>
|
|
82
|
-
</f:FormElement>
|
|
83
|
-
|
|
84
|
-
<f:FormElement>
|
|
85
|
-
<f:label>
|
|
86
|
-
<Label text="Message Buttons"/>
|
|
87
|
-
</f:label>
|
|
88
|
-
<f:fields>
|
|
89
|
-
<Input
|
|
90
|
-
id="dummy"
|
|
91
|
-
value="{/Dummy}"/>
|
|
92
|
-
</f:fields>
|
|
93
|
-
</f:FormElement>
|
|
94
|
-
|
|
95
|
-
<f:FormElement>
|
|
96
|
-
<f:label>
|
|
97
|
-
<Label text="ValueState Only"/>
|
|
98
|
-
</f:label>
|
|
99
|
-
<f:fields>
|
|
100
|
-
<Input
|
|
101
|
-
id="valuesStateOnly"
|
|
102
|
-
value="{/ValueStateOnly}"/>
|
|
103
|
-
</f:fields>
|
|
104
|
-
</f:FormElement>
|
|
105
|
-
|
|
106
|
-
</f:FormContainer>
|
|
107
|
-
</f:formContainers>
|
|
108
|
-
</f:Form>
|
|
109
|
-
</content>
|
|
110
|
-
|
|
111
|
-
<footer>
|
|
112
|
-
<Toolbar
|
|
113
|
-
id="otbFooter">
|
|
114
|
-
|
|
115
|
-
<Button
|
|
116
|
-
icon="sap-icon://alert"
|
|
117
|
-
text="{= ${message>/}.length }"
|
|
118
|
-
visible="{= ${message>/}.length > 0 }"
|
|
119
|
-
type="Emphasized"
|
|
120
|
-
press="onMessagePopoverPress" />
|
|
121
|
-
|
|
122
|
-
<ToolbarSpacer/>
|
|
123
|
-
|
|
124
|
-
<Button type="Accept" text="Success" press="onSuccessPress"/>
|
|
125
|
-
<Button type="Reject" text="Error" press="onErrorPress"/>
|
|
126
|
-
<Button text="Warning" press="onWarningPress"/>
|
|
127
|
-
<Button text="Info" press="onInfoPress"/>
|
|
128
|
-
<Button text="ValueState" press="onValueStatePress"/>
|
|
129
|
-
<Button text="Clear" press="onClearPress"/>
|
|
130
|
-
|
|
131
|
-
</Toolbar>
|
|
132
|
-
</footer>
|
|
133
|
-
|
|
134
|
-
</Page>
|
|
135
|
-
|
|
136
|
-
</mvc:View>
|
package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/Controller.controller.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
"sap/ui/core/mvc/Controller",
|
|
3
|
-
"sap/ui/model/odata/v2/ODataModel",
|
|
4
|
-
"sap/ui/core/sample/MessageManager/BasicODataMessages/localService/mockserver",
|
|
5
|
-
"sap/ui/core/Fragment",
|
|
6
|
-
"sap/ui/core/Messaging"
|
|
7
|
-
], function(Controller, ODataModel, mockserver, Fragment, Messaging) {
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
return Controller.extend("sap.ui.core.sample.MessageManager.BasicODataMessages.Controller", {
|
|
11
|
-
|
|
12
|
-
onInit : function () {
|
|
13
|
-
|
|
14
|
-
var sODataServiceUrl;
|
|
15
|
-
|
|
16
|
-
// set message model
|
|
17
|
-
this.getView().setModel(Messaging.getMessageModel(), "message");
|
|
18
|
-
|
|
19
|
-
// activate automatic message generation for complete view
|
|
20
|
-
Messaging.registerObject(this.getView(), true);
|
|
21
|
-
|
|
22
|
-
sODataServiceUrl = "/here/goes/your/odata/service/url/";
|
|
23
|
-
|
|
24
|
-
// init our mock server
|
|
25
|
-
mockserver.init(sODataServiceUrl);
|
|
26
|
-
|
|
27
|
-
// Northwind service
|
|
28
|
-
this.getView().setModel(
|
|
29
|
-
new ODataModel(sODataServiceUrl, {
|
|
30
|
-
defaultBindingMode : "TwoWay"
|
|
31
|
-
})
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
this.getView().bindElement("/Employees(1)");
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
onMessagePopoverPress : function (oEvent) {
|
|
39
|
-
var oSourceControl = oEvent.getSource();
|
|
40
|
-
this._getMessagePopover().then(function(oMessagePopover){
|
|
41
|
-
oMessagePopover.openBy(oSourceControl);
|
|
42
|
-
});
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
onDelete : function (oEvent) {
|
|
46
|
-
var sPath = this.getView().getBindingContext().getPath();
|
|
47
|
-
this.getView().getModel().remove(sPath);
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
onClearPress : function(){
|
|
51
|
-
Messaging.removeAllMessages();
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
//################ Private APIs ###################
|
|
55
|
-
|
|
56
|
-
_getMessagePopover : function () {
|
|
57
|
-
var oView = this.getView();
|
|
58
|
-
|
|
59
|
-
// create popover lazily (singleton)
|
|
60
|
-
if (!this._pMessagePopover) {
|
|
61
|
-
this._pMessagePopover = Fragment.load({
|
|
62
|
-
id: oView.getId(),
|
|
63
|
-
name: "sap.ui.core.sample.MessageManager.BasicODataMessages.MessagePopover"
|
|
64
|
-
}).then(function (oMessagePopover) {
|
|
65
|
-
oView.addDependent(oMessagePopover);
|
|
66
|
-
return oMessagePopover;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
return this._pMessagePopover;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<core:FragmentDefinition
|
|
2
|
-
xmlns="sap.m"
|
|
3
|
-
xmlns:core="sap.ui.core">
|
|
4
|
-
<MessagePopover
|
|
5
|
-
items="{message>/}"
|
|
6
|
-
initiallyExpanded="true">
|
|
7
|
-
<MessageItem
|
|
8
|
-
type="{message>type}"
|
|
9
|
-
title="{message>message}"
|
|
10
|
-
subtitle="{message>additionalText}"
|
|
11
|
-
description="{message>description}"/>
|
|
12
|
-
</MessagePopover>
|
|
13
|
-
</core:FragmentDefinition>
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<mvc:View
|
|
2
|
-
controllerName="sap.ui.core.sample.MessageManager.BasicODataMessages.Controller"
|
|
3
|
-
xmlns="sap.m"
|
|
4
|
-
xmlns:core="sap.ui.core"
|
|
5
|
-
xmlns:mvc="sap.ui.core.mvc"
|
|
6
|
-
xmlns:l="sap.ui.layout"
|
|
7
|
-
xmlns:f="sap.ui.layout.form"
|
|
8
|
-
height="100%">
|
|
9
|
-
|
|
10
|
-
<Page
|
|
11
|
-
showHeader="false">
|
|
12
|
-
<content>
|
|
13
|
-
<VBox class="sapUiSmallMargin">
|
|
14
|
-
<f:SimpleForm id="SimpleFormToolbar"
|
|
15
|
-
editable="true"
|
|
16
|
-
layout="ResponsiveGridLayout" >
|
|
17
|
-
<f:content>
|
|
18
|
-
|
|
19
|
-
<Label text="First Name" />
|
|
20
|
-
<Input value="{FirstName}" />
|
|
21
|
-
|
|
22
|
-
<Label text="Last Name" />
|
|
23
|
-
<Input value="{LastName}" />
|
|
24
|
-
|
|
25
|
-
<Label text="ZIP Code/City" />
|
|
26
|
-
<Input value="{PostalCode}">
|
|
27
|
-
<layoutData>
|
|
28
|
-
<l:GridData span="L3 M4 S4" />
|
|
29
|
-
</layoutData>
|
|
30
|
-
</Input>
|
|
31
|
-
<Input value="{City}" />
|
|
32
|
-
|
|
33
|
-
</f:content>
|
|
34
|
-
</f:SimpleForm>
|
|
35
|
-
</VBox>
|
|
36
|
-
</content>
|
|
37
|
-
|
|
38
|
-
<footer>
|
|
39
|
-
<OverflowToolbar id="otbFooter">
|
|
40
|
-
<Button
|
|
41
|
-
icon="sap-icon://alert"
|
|
42
|
-
text="{=${message>/}.length}"
|
|
43
|
-
visible="{=${message>/}.length > 0}"
|
|
44
|
-
type="Emphasized"
|
|
45
|
-
press="onMessagePopoverPress">
|
|
46
|
-
</Button>
|
|
47
|
-
|
|
48
|
-
<ToolbarSpacer/>
|
|
49
|
-
|
|
50
|
-
<Button text="Delete" press="onDelete" type="Reject"/>
|
|
51
|
-
<Button text="Clear" press="onClearPress"/>
|
|
52
|
-
|
|
53
|
-
</OverflowToolbar>
|
|
54
|
-
</footer>
|
|
55
|
-
|
|
56
|
-
</Page>
|
|
57
|
-
|
|
58
|
-
</mvc:View>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
specVersion: "3.0"
|
|
2
|
-
metadata:
|
|
3
|
-
name: sap.ui.core.sample.messagemanager.odatabackendmessagescomp
|
|
4
|
-
type: application
|
|
5
|
-
framework:
|
|
6
|
-
name: OpenUI5
|
|
7
|
-
version: "1.122.0" #MainVersion#
|
|
8
|
-
libraries:
|
|
9
|
-
- name: sap.m
|
|
10
|
-
- name: sap.ui.core
|
|
11
|
-
- name: themelib_sap_horizon
|