@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
|
@@ -53,17 +53,17 @@ sap.ui.define([
|
|
|
53
53
|
const aSupportedWidths = ["narrow", "abbreviated", "wide"];
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* DO NOT call the constructor for <code>LocaleData</code>; use <code>LocaleData.getInstance</code> instead.
|
|
57
57
|
*
|
|
58
|
-
* @
|
|
58
|
+
* @param {sap.ui.core.Locale} oLocale The locale
|
|
59
59
|
*
|
|
60
|
-
* @
|
|
61
|
-
*
|
|
62
|
-
* @extends sap.ui.base.Object
|
|
60
|
+
* @alias sap.ui.core.LocaleData
|
|
63
61
|
* @author SAP SE
|
|
64
|
-
* @
|
|
62
|
+
* @extends sap.ui.base.Object
|
|
63
|
+
* @class Provides access to locale-specific data, such as date formats, number formats, and currencies.
|
|
64
|
+
* @hideconstructor
|
|
65
65
|
* @public
|
|
66
|
-
* @
|
|
66
|
+
* @version 1.123.0
|
|
67
67
|
*/
|
|
68
68
|
var LocaleData = BaseObject.extend("sap.ui.core.LocaleData", /** @lends sap.ui.core.LocaleData.prototype */ {
|
|
69
69
|
|
|
@@ -1505,7 +1505,8 @@ sap.ui.define([
|
|
|
1505
1505
|
* </pre>
|
|
1506
1506
|
*
|
|
1507
1507
|
* @param {string[]} aScales The scales for which the available patterns should be returned
|
|
1508
|
-
* @param {string} [sStyle="wide"]
|
|
1508
|
+
* @param {string} [sStyle="wide"]
|
|
1509
|
+
* Since 1.32.10 and 1.34.4, the style of the scale patterns; valid values are "wide", "short" and "narrow"
|
|
1509
1510
|
* @returns {object[]} An array of all relative time patterns
|
|
1510
1511
|
* @public
|
|
1511
1512
|
* @since 1.34
|
|
@@ -1565,7 +1566,8 @@ sap.ui.define([
|
|
|
1565
1566
|
* @param {string} sScale the scale the relative pattern is needed for
|
|
1566
1567
|
* @param {int} iDiff the difference in the given scale unit
|
|
1567
1568
|
* @param {boolean} [bFuture] whether a future or past pattern should be used
|
|
1568
|
-
* @param {string} [sStyle="wide"]
|
|
1569
|
+
* @param {string} [sStyle="wide"]
|
|
1570
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1569
1571
|
* @returns {string} the relative format pattern
|
|
1570
1572
|
* @public
|
|
1571
1573
|
* @since 1.34
|
|
@@ -1608,7 +1610,8 @@ sap.ui.define([
|
|
|
1608
1610
|
* difference value (0 means now, positive value means in the future and negative value means in the past).
|
|
1609
1611
|
*
|
|
1610
1612
|
* @param {int} iDiff the difference in seconds
|
|
1611
|
-
* @param {string} [sStyle="wide"]
|
|
1613
|
+
* @param {string} [sStyle="wide"]
|
|
1614
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1612
1615
|
* @returns {string} the relative resource pattern in unit 'second'
|
|
1613
1616
|
* @public
|
|
1614
1617
|
* @since 1.31.0
|
|
@@ -1625,7 +1628,8 @@ sap.ui.define([
|
|
|
1625
1628
|
* function to format the difference using unit 'second'.
|
|
1626
1629
|
*
|
|
1627
1630
|
* @param {int} iDiff the difference in minutes
|
|
1628
|
-
* @param {string} [sStyle="wide"]
|
|
1631
|
+
* @param {string} [sStyle="wide"]
|
|
1632
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1629
1633
|
* @returns {string|null} the relative resource pattern in unit 'minute'. The method returns null if 0 is given as parameter.
|
|
1630
1634
|
* @public
|
|
1631
1635
|
* @since 1.31.0
|
|
@@ -1645,7 +1649,8 @@ sap.ui.define([
|
|
|
1645
1649
|
* function to format the difference using unit 'minute' or 'second'.
|
|
1646
1650
|
*
|
|
1647
1651
|
* @param {int} iDiff the difference in hours
|
|
1648
|
-
* @param {string} [sStyle="wide"]
|
|
1652
|
+
* @param {string} [sStyle="wide"]
|
|
1653
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1649
1654
|
* @returns {string|null} the relative resource pattern in unit 'hour'. The method returns null if 0 is given as parameter.
|
|
1650
1655
|
* @public
|
|
1651
1656
|
* @since 1.31.0
|
|
@@ -1662,7 +1667,8 @@ sap.ui.define([
|
|
|
1662
1667
|
* difference of days (0 means today, 1 means tomorrow, -1 means yesterday, ...).
|
|
1663
1668
|
*
|
|
1664
1669
|
* @param {int} iDiff the difference in days
|
|
1665
|
-
* @param {string} [sStyle="wide"]
|
|
1670
|
+
* @param {string} [sStyle="wide"]
|
|
1671
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1666
1672
|
* @returns {string} the relative day resource pattern
|
|
1667
1673
|
* @public
|
|
1668
1674
|
* @since 1.25.0
|
|
@@ -1676,7 +1682,8 @@ sap.ui.define([
|
|
|
1676
1682
|
* difference of weeks (0 means this week, 1 means next week, -1 means last week, ...).
|
|
1677
1683
|
*
|
|
1678
1684
|
* @param {int} iDiff the difference in weeks
|
|
1679
|
-
* @param {string} [sStyle="wide"]
|
|
1685
|
+
* @param {string} [sStyle="wide"]
|
|
1686
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1680
1687
|
* @returns {string} the relative week resource pattern
|
|
1681
1688
|
* @public
|
|
1682
1689
|
* @since 1.31.0
|
|
@@ -1690,7 +1697,8 @@ sap.ui.define([
|
|
|
1690
1697
|
* difference of months (0 means this month, 1 means next month, -1 means last month, ...).
|
|
1691
1698
|
*
|
|
1692
1699
|
* @param {int} iDiff the difference in months
|
|
1693
|
-
* @param {string} [sStyle="wide"]
|
|
1700
|
+
* @param {string} [sStyle="wide"]
|
|
1701
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1694
1702
|
* @returns {string} the relative month resource pattern
|
|
1695
1703
|
* @public
|
|
1696
1704
|
* @since 1.25.0
|
|
@@ -1703,8 +1711,9 @@ sap.ui.define([
|
|
|
1703
1711
|
* Returns the display name for a time unit (second, minute, hour, day, week, month, year).
|
|
1704
1712
|
*
|
|
1705
1713
|
* @param {string} sType Type (second, minute, hour, day, week, month, year)
|
|
1706
|
-
* @param {string} [sStyle="wide"]
|
|
1707
|
-
*
|
|
1714
|
+
* @param {string} [sStyle="wide"]
|
|
1715
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1716
|
+
* @returns {string} display name
|
|
1708
1717
|
* @public
|
|
1709
1718
|
* @since 1.34.0
|
|
1710
1719
|
*/
|
|
@@ -1730,7 +1739,8 @@ sap.ui.define([
|
|
|
1730
1739
|
* difference of years (0 means this year, 1 means next year, -1 means last year, ...).
|
|
1731
1740
|
*
|
|
1732
1741
|
* @param {int} iDiff the difference in years
|
|
1733
|
-
* @param {string} [sStyle="wide"]
|
|
1742
|
+
* @param {string} [sStyle="wide"]
|
|
1743
|
+
* Since 1.32.10 and 1.34.4, the style of the pattern; valid values are "wide", "short" and "narrow"
|
|
1734
1744
|
* @returns {string} the relative year resource pattern
|
|
1735
1745
|
* @public
|
|
1736
1746
|
* @since 1.25.0
|
|
@@ -2712,11 +2722,17 @@ sap.ui.define([
|
|
|
2712
2722
|
});
|
|
2713
2723
|
|
|
2714
2724
|
/**
|
|
2725
|
+
* Creates an instance of <code>LocaleData</code> for the given locale.
|
|
2726
|
+
*
|
|
2727
|
+
* @param {sap.ui.core.Locale|sap.base.i18n.LanguageTag} vLocale The locale or language tag
|
|
2728
|
+
* @returns {sap.ui.core.LocaleData} An instance of <code>LocaleData</code>
|
|
2715
2729
|
*
|
|
2730
|
+
* @public
|
|
2731
|
+
* @since 1.123
|
|
2716
2732
|
*/
|
|
2717
|
-
LocaleData.getInstance = function(
|
|
2718
|
-
|
|
2719
|
-
return
|
|
2733
|
+
LocaleData.getInstance = function(vLocale) {
|
|
2734
|
+
vLocale = Locale._getCoreLocale(vLocale);
|
|
2735
|
+
return vLocale.hasPrivateUseSubtag("sapufmt") ? new CustomLocaleData(vLocale) : new LocaleData(vLocale);
|
|
2720
2736
|
};
|
|
2721
2737
|
|
|
2722
2738
|
LocaleData._cldrLocales = _cldrLocales;
|
|
@@ -48,6 +48,9 @@ sap.ui.define([
|
|
|
48
48
|
|
|
49
49
|
var aCommonMethods = ["renderControl", "cleanupControlWithoutRendering", "accessibilityState", "icon"];
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated As of version 1.92, the string rendering methods are deprecated
|
|
53
|
+
*/
|
|
51
54
|
var aStrInterfaceMethods = ["write", "writeEscaped", "writeAcceleratorKey", "writeControlData", "writeElementData",
|
|
52
55
|
"writeAttribute", "writeAttributeEscaped", "addClass", "writeClasses", "addStyle", "writeStyles",
|
|
53
56
|
"writeAccessibilityState", "writeIcon", "translate", "getConfiguration", "getHTML"];
|
|
@@ -236,7 +239,7 @@ sap.ui.define([
|
|
|
236
239
|
*
|
|
237
240
|
* @extends Object
|
|
238
241
|
* @author SAP SE
|
|
239
|
-
* @version 1.
|
|
242
|
+
* @version 1.123.0
|
|
240
243
|
* @alias sap.ui.core.RenderManager
|
|
241
244
|
* @hideconstructor
|
|
242
245
|
* @public
|
|
@@ -1579,6 +1582,9 @@ sap.ui.define([
|
|
|
1579
1582
|
aDomInterfaceMethods.forEach(function (sMethod) {
|
|
1580
1583
|
oStringInterface[sMethod] = oInterface[sMethod] = this[sMethod];
|
|
1581
1584
|
}, this);
|
|
1585
|
+
/**
|
|
1586
|
+
* @deprecated As of version 1.92, the string rendering methods are deprecated
|
|
1587
|
+
*/
|
|
1582
1588
|
aStrInterfaceMethods.forEach(function (sMethod) {
|
|
1583
1589
|
oStringInterface[sMethod] = oInterface[sMethod] = this[sMethod];
|
|
1584
1590
|
}, this);
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @classdesc Base Class for a Renderer.
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.123.0
|
|
23
23
|
* @namespace
|
|
24
24
|
* @public
|
|
25
25
|
* @alias sap.ui.core.Renderer
|
|
@@ -227,6 +227,9 @@ sap.ui.define([
|
|
|
227
227
|
// lazy require sap.ui.core library
|
|
228
228
|
sapUiCore = sap.ui.require("sap/ui/core/library");
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated
|
|
232
|
+
*/
|
|
230
233
|
if (!sapUiCore) {
|
|
231
234
|
Log.warning("Synchronous loading of a library.js. Ensure that 'sap/ui/core/library.js' is loaded" +
|
|
232
235
|
" before sap.ui.core.Renderer#getTextAlign is called.", "SyncXHR", null, function() {
|
|
@@ -44,10 +44,10 @@ sap.ui.define([
|
|
|
44
44
|
* The ScrollBar control can be used for virtual scrolling of a certain area.
|
|
45
45
|
* This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.123.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
|
-
* @deprecated
|
|
50
|
+
* @deprecated As of version 1.56, the concept has been discarded.
|
|
51
51
|
* @alias sap.ui.core.ScrollBar
|
|
52
52
|
*/
|
|
53
53
|
var ScrollBar = Control.extend("sap.ui.core.ScrollBar", /** @lends sap.ui.core.ScrollBar.prototype */ {
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class
|
|
33
33
|
* Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.123.0
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @alias sap.ui.core.TooltipBase
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
*
|
|
171
171
|
* @extends sap.ui.base.ManagedObject
|
|
172
172
|
* @author SAP SE
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.123.0
|
|
174
174
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
175
175
|
* @public
|
|
176
176
|
* @alias sap.ui.core.UIArea
|
|
@@ -273,7 +273,11 @@ sap.ui.define([
|
|
|
273
273
|
* @param {Element} oRootNode
|
|
274
274
|
* the hosting DOM node for this instance of <code>UIArea</code>.
|
|
275
275
|
* @public
|
|
276
|
-
* @deprecated
|
|
276
|
+
* @deprecated As of version 1.107, without a replacement. Applications should
|
|
277
|
+
* not create or modify <code>UIArea</code>s programmatically. THey should only
|
|
278
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
279
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
280
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
277
281
|
*/
|
|
278
282
|
UIArea.prototype.setRootNode = function(oRootNode) {
|
|
279
283
|
this._setRootNode(oRootNode);
|
|
@@ -1427,12 +1431,16 @@ sap.ui.define([
|
|
|
1427
1431
|
};
|
|
1428
1432
|
|
|
1429
1433
|
/**
|
|
1430
|
-
* Registry of all <code>sap.ui.core.
|
|
1434
|
+
* Registry of all <code>sap.ui.core.UIArea</code>s that currently exist.
|
|
1431
1435
|
*
|
|
1432
1436
|
* @namespace sap.ui.core.UIArea.registry
|
|
1433
1437
|
* @public
|
|
1434
1438
|
* @since 1.107
|
|
1435
|
-
* @deprecated As of version 1.120
|
|
1439
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1440
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1441
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1442
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1443
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1436
1444
|
*/
|
|
1437
1445
|
UIArea.registry = UIAreaRegistry;
|
|
1438
1446
|
|
|
@@ -1443,7 +1451,11 @@ sap.ui.define([
|
|
|
1443
1451
|
* @readonly
|
|
1444
1452
|
* @name sap.ui.core.UIArea.registry.size
|
|
1445
1453
|
* @public
|
|
1446
|
-
* @deprecated As of version 1.120
|
|
1454
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1455
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1456
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1457
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1458
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1447
1459
|
*/
|
|
1448
1460
|
|
|
1449
1461
|
/**
|
|
@@ -1462,45 +1474,11 @@ sap.ui.define([
|
|
|
1462
1474
|
* @name sap.ui.core.UIArea.registry.all
|
|
1463
1475
|
* @function
|
|
1464
1476
|
* @public
|
|
1465
|
-
* @deprecated As of version 1.120
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
*
|
|
1470
|
-
* keyed by their ID.
|
|
1471
|
-
*
|
|
1472
|
-
* Each call creates a new snapshot object. Depending on the size of the UI,
|
|
1473
|
-
* this operation therefore might be expensive. Consider to use the <code>forEach</code>
|
|
1474
|
-
* or <code>filter</code> method instead of executing similar operations on the returned
|
|
1475
|
-
* object.
|
|
1476
|
-
*
|
|
1477
|
-
* <b>Note</b>: The returned object is created by a call to <code>Object.create(null)</code>,
|
|
1478
|
-
* and therefore lacks all methods of <code>Object.prototype</code>, e.g. <code>toString</code> etc.
|
|
1479
|
-
*
|
|
1480
|
-
* @returns {Object<sap.ui.core.ID,sap.ui.core.UIArea>} Object with all UIAreas, keyed by their ID
|
|
1481
|
-
* @name sap.ui.core.UIArea.registry.all
|
|
1482
|
-
* @function
|
|
1483
|
-
* @public
|
|
1484
|
-
* @deprecated As of version 1.120
|
|
1485
|
-
*/
|
|
1486
|
-
|
|
1487
|
-
/**
|
|
1488
|
-
* Return an object with all instances of <code>sap.ui.core.UIArea</code>,
|
|
1489
|
-
* keyed by their ID.
|
|
1490
|
-
*
|
|
1491
|
-
* Each call creates a new snapshot object. Depending on the size of the UI,
|
|
1492
|
-
* this operation therefore might be expensive. Consider to use the <code>forEach</code>
|
|
1493
|
-
* or <code>filter</code> method instead of executing similar operations on the returned
|
|
1494
|
-
* object.
|
|
1495
|
-
*
|
|
1496
|
-
* <b>Note</b>: The returned object is created by a call to <code>Object.create(null)</code>,
|
|
1497
|
-
* and therefore lacks all methods of <code>Object.prototype</code>, e.g. <code>toString</code> etc.
|
|
1498
|
-
*
|
|
1499
|
-
* @returns {Object<sap.ui.core.ID,sap.ui.core.UIArea>} Object with all UIAreas, keyed by their ID
|
|
1500
|
-
* @name sap.ui.core.UIArea.registry.all
|
|
1501
|
-
* @function
|
|
1502
|
-
* @public
|
|
1503
|
-
* @deprecated As of version 1.120
|
|
1477
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1478
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1479
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1480
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1481
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1504
1482
|
*/
|
|
1505
1483
|
|
|
1506
1484
|
/**
|
|
@@ -1514,7 +1492,11 @@ sap.ui.define([
|
|
|
1514
1492
|
* @name sap.ui.core.UIArea.registry.get
|
|
1515
1493
|
* @function
|
|
1516
1494
|
* @public
|
|
1517
|
-
* @deprecated As of version 1.120
|
|
1495
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1496
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1497
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1498
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1499
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1518
1500
|
*/
|
|
1519
1501
|
|
|
1520
1502
|
/**
|
|
@@ -1549,7 +1531,11 @@ sap.ui.define([
|
|
|
1549
1531
|
* @name sap.ui.core.UIArea.registry.forEach
|
|
1550
1532
|
* @function
|
|
1551
1533
|
* @public
|
|
1552
|
-
* @deprecated As of version 1.120
|
|
1534
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1535
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1536
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1537
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1538
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1553
1539
|
*/
|
|
1554
1540
|
|
|
1555
1541
|
/**
|
|
@@ -1588,7 +1574,11 @@ sap.ui.define([
|
|
|
1588
1574
|
* @name sap.ui.core.UIArea.registry.filter
|
|
1589
1575
|
* @function
|
|
1590
1576
|
* @public
|
|
1591
|
-
* @deprecated As of version 1.120
|
|
1577
|
+
* @deprecated As of version 1.120, without a replacement. Applications should
|
|
1578
|
+
* not be interested in the set of all <code>UIArea</code>s. They should only
|
|
1579
|
+
* assign controls to them, by using {@link sap.ui.core.Control.prototype.placeAt
|
|
1580
|
+
* Control.prototype.placeAt} or use the API of a <code>UIArea</code> as reachable
|
|
1581
|
+
* via {@link sap.ui.core.Control.prototype.getUIArea Control.prototype.getUIArea}.
|
|
1592
1582
|
*/
|
|
1593
1583
|
|
|
1594
1584
|
_LocalizationHelper.registerForUpdate("UIAreas", UIAreaRegistry.all);
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
18
18
|
* @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
|
|
19
19
|
* @class
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.123.0
|
|
22
22
|
* @since 1.15.1
|
|
23
23
|
* @alias sap.ui.core.UIComponentMetadata
|
|
24
24
|
* @extends sap.ui.core.ComponentMetadata
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
|
|
22
22
|
* @extends sap.ui.core.LayoutData
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.123.0
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -148,7 +148,7 @@ sap.ui.define([
|
|
|
148
148
|
* @extends sap.ui.core.Control
|
|
149
149
|
*
|
|
150
150
|
* @author SAP SE
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.123.0
|
|
152
152
|
* @since 1.56.0
|
|
153
153
|
* @alias sap.ui.core.XMLComposite
|
|
154
154
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.123.0
|
|
34
34
|
* @since 1.50.0
|
|
35
35
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
36
36
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -1485,6 +1485,18 @@ function(
|
|
|
1485
1485
|
wrapperId: sControlId,
|
|
1486
1486
|
fnCreate: function(bSync) {
|
|
1487
1487
|
var bPrevAsync = bAsync;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* To stay compatible with legacy factories in 1.x, if the view was originally created sync,
|
|
1491
|
+
* we don't switch to async processing here, even if the unstash() is called async.
|
|
1492
|
+
* @deprecated
|
|
1493
|
+
*/
|
|
1494
|
+
if (bAsync === false) {
|
|
1495
|
+
bSync = true;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
// temporarily switch the stashed subtree to async=false in case the unstash() operation is triggered sync.
|
|
1499
|
+
// the scoped var bAsync applies to everything contained in this view, the original value is restored after the unstash operation
|
|
1488
1500
|
bAsync = !bSync;
|
|
1489
1501
|
|
|
1490
1502
|
try {
|
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
|
|
83
83
|
* @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
|
|
84
84
|
*
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.123.0
|
|
86
86
|
* @alias sap.ui.core.delegate.ItemNavigation
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
*
|
|
59
59
|
* @protected
|
|
60
60
|
* @alias sap.ui.core.delegate.ScrollEnablement
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.123.0
|
|
62
62
|
* @author SAP SE
|
|
63
63
|
*/
|
|
64
64
|
var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
* @param {boolean} bBounce new value for property <code>bounce</code>.
|
|
137
137
|
* @protected
|
|
138
138
|
* @since 1.17
|
|
139
|
-
* @deprecated since 1.42
|
|
139
|
+
* @deprecated since 1.42 without replacement.
|
|
140
140
|
*/
|
|
141
141
|
setBounce: function(bBounce) {
|
|
142
142
|
},
|
|
@@ -228,6 +228,32 @@ sap.ui.define([
|
|
|
228
228
|
return sResultSign + (Math.abs(aDigits[0]) - 1) + "." + aFractionDigits.join("");
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Derives the maximal possible decimals from the given format option's <code>maxFractionDigits</code>
|
|
233
|
+
* and <code>decimals</code> properties.
|
|
234
|
+
*
|
|
235
|
+
* If <code>decimals</code> and <code>maxFractionDigits</code> are >= 0, then the minimum of
|
|
236
|
+
* <code>maxFractionDigits</code> and <code>decimals</code> is returned, - otherwise
|
|
237
|
+
* <code>decimals</code> is returned.
|
|
238
|
+
*
|
|
239
|
+
* @param {object} oFormatOptions
|
|
240
|
+
* @param {int} [oFormatOptions.decimals]
|
|
241
|
+
* The number of decimal digits
|
|
242
|
+
* @param {int} [oFormatOptions.maxFractionDigits]
|
|
243
|
+
* The maximum number of decimal digits
|
|
244
|
+
* @returns {int}
|
|
245
|
+
* The maximum decimals to be used
|
|
246
|
+
*
|
|
247
|
+
* @private
|
|
248
|
+
* @static
|
|
249
|
+
*/
|
|
250
|
+
NumberFormat.getMaximalDecimals = function ({decimals, maxFractionDigits}) {
|
|
251
|
+
if (maxFractionDigits >= 0 && decimals > 0 && maxFractionDigits < decimals) {
|
|
252
|
+
return maxFractionDigits;
|
|
253
|
+
}
|
|
254
|
+
return decimals;
|
|
255
|
+
};
|
|
256
|
+
|
|
231
257
|
/**
|
|
232
258
|
* Rounds the given number up to the smallest integer greater than or equal to the given number.
|
|
233
259
|
*
|
|
@@ -1457,9 +1483,7 @@ sap.ui.define([
|
|
|
1457
1483
|
|
|
1458
1484
|
// either take the decimals/precision on the custom units or fallback to the given format-options
|
|
1459
1485
|
oOptions.decimals = (mUnitPatterns && (typeof mUnitPatterns.decimals === "number" && mUnitPatterns.decimals >= 0)) ? mUnitPatterns.decimals : oOptions.decimals;
|
|
1460
|
-
|
|
1461
|
-
oOptions.decimals = oOptions.maxFractionDigits < oOptions.decimals
|
|
1462
|
-
? oOptions.maxFractionDigits : oOptions.decimals;
|
|
1486
|
+
oOptions.decimals = NumberFormat.getMaximalDecimals(oOptions);
|
|
1463
1487
|
oOptions.precision = (mUnitPatterns && (typeof mUnitPatterns.precision === "number" && mUnitPatterns.precision >= 0)) ? mUnitPatterns.precision : oOptions.precision;
|
|
1464
1488
|
}
|
|
1465
1489
|
|
|
@@ -1501,6 +1525,7 @@ sap.ui.define([
|
|
|
1501
1525
|
// we either take the custom decimals or use decimals defined in the format-options
|
|
1502
1526
|
// we check for undefined here, since 0 is an accepted value
|
|
1503
1527
|
oOptions.decimals = oOptions.customCurrencies[sMeasure].decimals !== undefined ? oOptions.customCurrencies[sMeasure].decimals : oOptions.decimals;
|
|
1528
|
+
oOptions.decimals = NumberFormat.getMaximalDecimals(oOptions);
|
|
1504
1529
|
}
|
|
1505
1530
|
}
|
|
1506
1531
|
|