@openui5/sap.ui.core 1.123.1 → 1.124.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/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/future.js +66 -6
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +11 -5
- package/src/sap/base/util/LoaderExtensions.js +1 -5
- package/src/sap/base/util/Version.js +18 -12
- package/src/sap/base/util/defineCoupledProperty.js +4 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -2
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +2 -2
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +26 -2
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +3 -3
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +53 -74
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +33 -21
- package/src/sap/ui/core/ComponentSupport.js +4 -4
- package/src/sap/ui/core/Configuration.js +1 -1
- package/src/sap/ui/core/Control.js +1 -1
- package/src/sap/ui/core/Core.js +1 -1
- 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 +37 -12
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/ExtensionPoint.js +4 -2
- package/src/sap/ui/core/Fragment.js +2 -2
- 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 +88 -28
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +36 -11
- 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 +1 -1
- package/src/sap/ui/core/Manifest.js +44 -21
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +5 -1
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +94 -42
- package/src/sap/ui/core/UIComponentMetadata.js +5 -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 +23 -12
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +1 -1
- package/src/sap/ui/core/format/TimezoneUtil.js +86 -10
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +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/messagebundle_sh.properties +65 -65
- package/src/sap/ui/core/mvc/Controller.js +2 -2
- package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +2 -0
- package/src/sap/ui/core/mvc/EventHandlerResolver.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 -3
- package/src/sap/ui/core/mvc/XMLView.js +7 -2
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/routing/Targets.js +1 -1
- package/src/sap/ui/core/rules/App.support.js +11 -11
- package/src/sap/ui/core/rules/CoreHelper.support.js +3 -3
- package/src/sap/ui/core/rules/Theming.support.js +3 -3
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/support/techinfo/moduleTreeHelper.js +1 -1
- package/src/sap/ui/core/theming/Parameters.js +21 -25
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBindingAdapter.js +7 -5
- package/src/sap/ui/model/CompositeBinding.js +9 -3
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/Context.js +26 -2
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/PropertyBinding.js +113 -35
- 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/TreeBindingAdapter.js +5 -5
- package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +6 -6
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +3 -5
- 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 +24 -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 +24 -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 +6 -9
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +73 -48
- package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +160 -94
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +8 -5
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +5 -2
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +202 -177
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +9 -3
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +7 -13
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -3
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +35 -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 +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/ModuleTracking.js +1 -2
- package/src/sap/ui/test/autowaiter/_navigationContainerWaiter.js +96 -7
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/opa5TestHarness.js +0 -1
- package/src/sap/ui/test/gherkin/qUnitTestHarness.js +0 -1
- package/src/sap/ui/test/starter/_utils.js +27 -1
- package/src/sap/ui/test/starter/createSuite.js +2 -5
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-blind.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-bounce.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-clip.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-core.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-drop.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-explode.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fade.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fold.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-highlight.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-pulsate.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-scale.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-shake.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-slide.js +4 -0
- package/src/sap/ui/thirdparty/jqueryui/jquery-effects-transfer.js +4 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader.js +11 -5
- package/test/sap/ui/core/demokit/sample/FieldGroup/Page.view.xml +1 -1
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/view/Employee.view.xml +0 -1
- package/test/sap/ui/core/demokit/sample/TypeCurrency/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeCurrency/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeDateAsDate/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeDateAsDate/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeDateAsString/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeDateAsString/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeDateTime/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeDateTime/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeFileSize/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeFileSize/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeFloat/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeFloat/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeInteger/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeInteger/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/Component.js +1 -0
- package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/manifest.json +1 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +3 -3
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV2.view.xml +3 -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/matcher/LabelFor/webapp/view/Main.view.xml +0 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Error.view.xml +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +30 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +28 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +38 -52
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +13 -13
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Component.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +2 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/MessageHandling.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/additionalTargets.js +3 -3
- 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/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/Component.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/test/mockServer.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/Component.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/test/mockServer.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/Component.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/test/mockServer.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/Component.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/test/mockServer.html +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/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/webapp/controller/App.controller.js +2 -3
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +3 -4
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.controller.js +4 -5
- package/test/sap/ui/core/qunit/BindingParser.qunit.js +68 -5
- package/test/sap/ui/core/qunit/CacheManager.qunit.js +2 -2
- package/test/sap/ui/core/qunit/CommandExecution.qunit.js +1 -1
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +173 -7
- package/test/sap/ui/core/qunit/Core.qunit.js +92 -65
- package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +8 -6
- package/test/sap/ui/core/qunit/Element_closestTo.qunit.js +26 -5
- package/test/sap/ui/core/qunit/Element_data.qunit.js +86 -3
- package/test/sap/ui/core/qunit/Fragment.qunit.js +1 -1
- package/test/sap/ui/core/qunit/HTML.qunit.js +13 -0
- package/test/sap/ui/core/qunit/Lib.qunit.js +160 -42
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -2
- package/test/sap/ui/core/qunit/ThemeManager.qunit.js +1 -0
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +63 -4
- package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +1 -0
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +4 -4
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +3 -0
- package/test/sap/ui/core/qunit/component/Component.qunit.js +88 -16
- package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +26 -2
- package/test/sap/ui/core/qunit/component/ComponentSupport.qunit.js +62 -59
- package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +75 -7
- package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +128 -117
- package/test/sap/ui/core/qunit/component/Manifest.qunit.js +57 -5
- package/test/sap/ui/core/qunit/component/Metadata.qunit.js +72 -7
- package/test/sap/ui/core/qunit/component/Metadata_unavoidablySync.qunit.js +62 -17
- package/test/sap/ui/core/qunit/component/Models.qunit.js +573 -237
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +211 -33
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component-preload.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component-preload.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component-preload.js +1 -0
- package/test/sap/ui/core/qunit/component/testdata/customizing/customer/Component.js +1 -2
- package/test/sap/ui/core/qunit/component/testdata/customizing_legacyAPIs/customer/Component.js +1 -2
- package/test/sap/ui/core/qunit/component/testdata/inherit/manifest.json +3 -5
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/App.view.xml +3 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Component.js +15 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Home.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Other.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/manifest.json +54 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/App.view.xml +3 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Component.js +17 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Home.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Other.view.xml +5 -0
- package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/manifest.json +54 -0
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Component.js +18 -0
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.controller.js +6 -0
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.view.xml +6 -0
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/manifest.json +12 -0
- package/test/sap/ui/core/qunit/component/testdata/mixed/Component.js +3 -1
- package/test/sap/ui/core/qunit/component/testdata/mixed/manifest.json +3 -11
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/Component.js +16 -0
- package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/component.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/i18n/i18n.properties +3 -0
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/manifest.json +139 -0
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/style.css +0 -0
- package/test/sap/ui/core/qunit/component/testdata/routerClass/Component.js +33 -0
- package/test/sap/ui/core/qunit/component/testdata/routerClass/Main.view.xml +8 -0
- package/test/sap/ui/core/qunit/component/testdata/routerClass/manifest.json +38 -0
- package/test/sap/ui/core/qunit/component/testdata/v1/component.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2/manifest.json +3 -5
- package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/manifest.json +2 -4
- package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +2 -4
- package/test/sap/ui/core/qunit/component/testdata/v2models/empty/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2models/extension/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/Component.js +286 -0
- package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties +2 -0
- package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n_de.properties +2 -0
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +5 -5
- package/test/sap/ui/core/qunit/{types/TimezoneUtil.qunit.js → i18n/TimezoneUtils.qunit.js} +85 -87
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +6 -0
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +2 -2
- package/test/sap/ui/core/qunit/json/JSONModel.qunit.js +117 -85
- package/test/sap/ui/core/qunit/messages/Message.qunit.js +7 -5
- package/test/sap/ui/core/qunit/messages/messagesDataBinding.qunit.js +3 -5
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +41 -4
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +3 -2
- package/test/sap/ui/core/qunit/model/Context.qunit.js +29 -0
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +490 -5
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +164 -12
- package/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js +144 -6
- package/test/sap/ui/core/qunit/mvc/View.qunit.js +2 -2
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +60 -5
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +58 -3
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +127 -10
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +108 -10
- package/test/sap/ui/core/qunit/mvc/extensions/ControllerMetadata.qunit.js +74 -7
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +0 -6
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +0 -6
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/ExtendMainLegacy.controller.js +15 -0
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainContext.controller.js +0 -3
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainMemberExtLegacyFinal.controller.js +38 -0
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtension.js +0 -3
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionContext.js +0 -3
- package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionFinal.js +47 -0
- package/test/sap/ui/core/qunit/mvc/testdata/HtmlOnRoot.view.xml +8 -0
- package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypes.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypesFailure.view.xml +41 -0
- package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testdata/test.controller.js +4 -0
- package/test/sap/ui/core/qunit/mvc/testdata/test.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +12 -2
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +23 -4
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +3 -5
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +3 -5
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +169 -5
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +3 -5
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -6
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +145 -91
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +5 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +338 -169
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +6061 -2815
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +2 -4
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +11 -4
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +24 -0
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +14 -2
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +16 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +407 -403
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +11 -1
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +14 -15
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +68 -59
- package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +91 -2
- package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +62 -15
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +91 -19
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +131 -16
- package/test/sap/ui/core/qunit/routing/async/TitleHistory.qunit.js +111 -3
- package/test/sap/ui/core/qunit/routing/async/Views.qunit.js +3 -0
- package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +2 -2
- package/test/sap/ui/core/qunit/routing/fixture/Async2.view.xml +2 -2
- package/test/sap/ui/core/qunit/routing/fixture/Async3.view.xml +2 -2
- package/test/sap/ui/core/qunit/routing/fixture/router/component/titleChanged/Parent/manifest.json +2 -1
- package/test/sap/ui/core/qunit/rule/testsuite.rule.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testdata/fragments/XMLTestFragmentWithXMLView.fragment.xml +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/customCss/lib1/library.js +4 -11
- package/test/sap/ui/core/qunit/testdata/libraries/make.js +8 -1
- package/test/sap/ui/core/qunit/testdata/libraries/myGlobalLib/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/intentionally_no_manifest_here.txt +7 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +6 -4
- package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/manifest.json +7 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library-preload.json +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/absoluteBundleUrl/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/application/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +2 -2
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/notLoadedYet/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/library-preload.js +2 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib1/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib10/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib11/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib12/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib13/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib14/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib15/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib16/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib17/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib2/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib3/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib4/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib5/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib6/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib7/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib8/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib9/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/routing/scenario1/RootView.view.xml +1 -2
- package/test/sap/ui/core/qunit/testdata/uilib/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library-parameters.json +25 -0
- package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library.css +28 -0
- package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +1 -0
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +0 -1
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expressionFaulty.view.xml +40 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +11 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.eventing.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +3 -0
- package/test/sap/ui/core/qunit/types/Date.qunit.js +62 -25
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +79 -12
- package/test/sap/ui/core/qunit/types/Types.qunit.js +100 -32
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +0 -6
- package/test/sap/ui/core/qunit/ui5classes/DataType.qunit.js +10 -1
- package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +102 -19
- package/test/sap/ui/core/qunit/ui5classes/Object.qunit.js +116 -124
- package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +122 -3
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +79 -4
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +0 -1
- package/test/sap/ui/core/relnotes/changes-1.124.json +32 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/README.md +18 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/package.json +13 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/ui5.yaml +12 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/webapp/Component.js +29 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/webapp/controller/UnitTable.controller.js +58 -0
- package/test/sap/ui/core/samples/databinding/{UnitTable.meters.json → UnitTable/webapp/data/UnitTable.meters.json} +42 -42
- package/test/sap/ui/core/samples/databinding/UnitTable/webapp/index.html +28 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/webapp/manifest.json +40 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/webapp/view/UnitTable.view.xml +206 -0
- package/test/sap/ui/core/samples/draganddrop/DragAndDrop.html +2 -2
- package/test/sap/ui/core/samples/draganddrop/dragBetweenLists.html +10 -5
- package/test/sap/ui/core/samples/draganddrop/dragWithinList.html +0 -2
- 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/sap/ui/core/CurrenciesIndia.html +0 -182
- package/test/sap/ui/core/CurrenciesRTL.html +0 -312
- package/test/sap/ui/core/CustomData.html +0 -161
- package/test/sap/ui/core/DataTypeNormalizer.html +0 -44
- package/test/sap/ui/core/Formats.html +0 -384
- package/test/sap/ui/core/Strings.controller.js +0 -90
- package/test/sap/ui/core/Strings.css +0 -8
- package/test/sap/ui/core/Strings.html +0 -25
- package/test/sap/ui/core/Strings.js +0 -20
- package/test/sap/ui/core/Strings.view.xml +0 -86
- package/test/sap/ui/core/Timezones.html +0 -23
- package/test/sap/ui/core/qunit/ODataModelRefresh.qunit.html +0 -236
- package/test/sap/ui/core/qunit/ODataModelThreshold.qunit.html +0 -164
- package/test/sap/ui/core/samples/databinding/DataBindingAsyncType.html +0 -85
- package/test/sap/ui/core/samples/databinding/DataBindingDeclarativeSyntax.js +0 -65
- package/test/sap/ui/core/samples/databinding/DataBindingFragment.html +0 -21
- package/test/sap/ui/core/samples/databinding/DatabindingDeclarativeSyntax.html +0 -38
- package/test/sap/ui/core/samples/databinding/DatabindingMessages.html +0 -193
- package/test/sap/ui/core/samples/databinding/ODatabindingMessages.html +0 -305
- package/test/sap/ui/core/samples/databinding/UnitTable.controller.js +0 -202
- package/test/sap/ui/core/samples/databinding/UnitTable.html +0 -25
- package/test/sap/ui/core/samples/databinding/UnitTable.view.xml +0 -337
- package/test/sap/ui/core/samples/databinding/UnitTableMain.js +0 -21
- package/test/sap/ui/core/samples/databinding/fragment/Fragment.fragment.xml +0 -6
- package/test/sap/ui/core/samples/databinding/fragment/NamedFragment.fragment.xml +0 -6
- package/test/sap/ui/core/samples/databinding/fragment/View.controller.js +0 -36
- package/test/sap/ui/core/samples/databinding/fragment/View.view.xml +0 -12
- package/test/sap/ui/core/samples/databinding/message/Component.js +0 -185
- package/test/sap/ui/core/samples/databinding/message/component.json +0 -12
- package/test/sap/ui/core/samples/databinding/message/comptree/Component.js +0 -186
- package/test/sap/ui/core/samples/databinding/message/comptree/component.json +0 -12
- package/test/sap/ui/core/samples/databinding/message/disabled/Component.js +0 -186
- package/test/sap/ui/core/samples/databinding/message/disabled/component.json +0 -12
- package/test/sap/ui/core/samples/databinding/message/enabled/Component.js +0 -186
- package/test/sap/ui/core/samples/databinding/message/enabled/component.json +0 -12
- package/test/sap/ui/core/samples/databinding/testdata/ComplexSyntax.js +0 -38
- package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.controller.js +0 -26
- package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.view.xml +0 -26
- package/test/sap/ui/core/samples/databinding/testdata/team.xml +0 -12
- package/test/sap/ui/core/samples/databinding/testdata/test.controller.js +0 -39
- package/test/sap/ui/core/samples/databinding/testdata/text.properties +0 -5
- package/test/sap/ui/core/samples/databinding/testdata/text_de.properties +0 -5
- package/test/sap/ui/core/samples/formatting/Component.js +0 -21
- package/test/sap/ui/core/samples/formatting/controller/ChooseFormatOptions.controller.js +0 -96
- package/test/sap/ui/core/samples/formatting/controller/Main.controller.js +0 -9
- package/test/sap/ui/core/samples/formatting/index.html +0 -28
- package/test/sap/ui/core/samples/formatting/manifest.json +0 -68
- package/test/sap/ui/core/samples/formatting/model/Customizing.js +0 -35
- package/test/sap/ui/core/samples/formatting/model/data.json +0 -17
- package/test/sap/ui/core/samples/formatting/types/CustomCurrency.js +0 -14
- package/test/sap/ui/core/samples/formatting/types/CustomUnit.js +0 -14
- package/test/sap/ui/core/samples/formatting/view/App.view.xml +0 -6
- package/test/sap/ui/core/samples/formatting/view/ChooseFormatOptions.view.xml +0 -71
- package/test/sap/ui/core/samples/formatting/view/InputFields.fragment.xml +0 -118
- package/test/sap/ui/core/samples/formatting/view/Main.view.xml +0 -15
- package/test/sap/ui/core/timezones.js +0 -92
- package/test/sap/ui/core/timezones.view.xml +0 -23
- /package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/script.js +0 -0
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
|
|
6
|
-
<title>Indian currency formats</title>
|
|
7
|
-
|
|
8
|
-
<!-- Load UI5, select "sap_belize" theme and the "sap.m" and "sap.ui.table" control libraries -->
|
|
9
|
-
<script id='sap-ui-bootstrap'
|
|
10
|
-
src='../../../../resources/sap-ui-core.js'
|
|
11
|
-
data-sap-ui-theme='sap_belize'
|
|
12
|
-
data-sap-ui-libs='sap.m,sap.ui.table,sap.ui.layout'
|
|
13
|
-
data-sap-ui-xx-bindingSyntax='complex'
|
|
14
|
-
data-sap-ui-language='en_IN'></script>
|
|
15
|
-
|
|
16
|
-
<style>
|
|
17
|
-
.sapUiVlt {
|
|
18
|
-
margin: 0.2rem 1rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.sapMTitle {
|
|
22
|
-
margin-top: 2rem;
|
|
23
|
-
margin-bottom: 0.5rem;
|
|
24
|
-
}
|
|
25
|
-
</style>
|
|
26
|
-
|
|
27
|
-
<script>
|
|
28
|
-
jQuery.sap.require("sap.ui.core.format.NumberFormat");
|
|
29
|
-
|
|
30
|
-
function getFormatter(sLocale, sCurrency, oFormatOptions) {
|
|
31
|
-
var oLocale = new sap.ui.core.Locale(sLocale),
|
|
32
|
-
oFormat = sap.ui.core.format.NumberFormat.getCurrencyInstance(oFormatOptions, oLocale);
|
|
33
|
-
return function(fValue) {
|
|
34
|
-
return oFormat.format(fValue, sCurrency);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var oModel = new sap.ui.model.json.JSONModel({
|
|
39
|
-
rows: [
|
|
40
|
-
{value: 0},
|
|
41
|
-
{value: 0.01},
|
|
42
|
-
{value: 1},
|
|
43
|
-
{value: 2},
|
|
44
|
-
{value: 10},
|
|
45
|
-
{value: 100},
|
|
46
|
-
{value: 1000},
|
|
47
|
-
{value: 10000},
|
|
48
|
-
{value: 100000},
|
|
49
|
-
{value: 1000000},
|
|
50
|
-
{value: 10000000},
|
|
51
|
-
{value: 100000000},
|
|
52
|
-
{value: 1000000000},
|
|
53
|
-
{value: 10000000000},
|
|
54
|
-
{value: 100000000000},
|
|
55
|
-
{value: 1000000000000},
|
|
56
|
-
{value: 10000000000000},
|
|
57
|
-
{value: 100000000000000},
|
|
58
|
-
]
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
var oTable = new sap.ui.table.Table({
|
|
62
|
-
models: oModel,
|
|
63
|
-
selectionMode: "None",
|
|
64
|
-
visibleRowCount: oModel.getProperty("/rows").length,
|
|
65
|
-
columns: [
|
|
66
|
-
new sap.ui.table.Column({
|
|
67
|
-
label: new sap.m.Label({text: "INR", textAlign: "Center"}),
|
|
68
|
-
template: new sap.m.Text({
|
|
69
|
-
text: {
|
|
70
|
-
path: "value",
|
|
71
|
-
formatter: getFormatter("en_IN", "INR", {style: "short", currencyCode: true, trailingCurrencyCode: false})
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
}),
|
|
75
|
-
new sap.ui.table.Column({
|
|
76
|
-
label: new sap.m.Label({text: "INR", textAlign: "Center"}),
|
|
77
|
-
template: new sap.m.Text({
|
|
78
|
-
text: {
|
|
79
|
-
path: "value",
|
|
80
|
-
formatter: getFormatter("en_IN", "INR", {style: "short", currencyCode: false})
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
}),
|
|
84
|
-
new sap.ui.table.Column({
|
|
85
|
-
label: new sap.m.Label({text: "INR", textAlign: "Center"}),
|
|
86
|
-
template: new sap.m.Text({
|
|
87
|
-
text: {
|
|
88
|
-
path: "value",
|
|
89
|
-
formatter: getFormatter("en_IN", "INR", {currencyCode: false})
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
}),
|
|
93
|
-
new sap.ui.table.Column({
|
|
94
|
-
label: new sap.m.Label({text: "USD", textAlign: "Center"}),
|
|
95
|
-
template: new sap.m.Text({
|
|
96
|
-
text: {
|
|
97
|
-
path: "value",
|
|
98
|
-
formatter: getFormatter("en_IN", "USD", {style: "short", currencyCode: true, trailingCurrencyCode: false})
|
|
99
|
-
}
|
|
100
|
-
})
|
|
101
|
-
}),
|
|
102
|
-
new sap.ui.table.Column({
|
|
103
|
-
label: new sap.m.Label({text: "USD", textAlign: "Center"}),
|
|
104
|
-
template: new sap.m.Text({
|
|
105
|
-
text: {
|
|
106
|
-
path: "value",
|
|
107
|
-
formatter: getFormatter("en_IN", "USD", {style: "short", currencyCode: false})
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
}),
|
|
111
|
-
new sap.ui.table.Column({
|
|
112
|
-
label: new sap.m.Label({text: "USD", textAlign: "Center"}),
|
|
113
|
-
template: new sap.m.Text({
|
|
114
|
-
text: {
|
|
115
|
-
path: "value",
|
|
116
|
-
formatter: getFormatter("en_IN", "USD", {currencyCode: false})
|
|
117
|
-
}
|
|
118
|
-
})
|
|
119
|
-
})
|
|
120
|
-
],
|
|
121
|
-
rows: {
|
|
122
|
-
path: "/rows"
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
var oCurrencyCodeTableTrailing = new sap.ui.table.Table({
|
|
127
|
-
models: oModel,
|
|
128
|
-
selectionMode: "None",
|
|
129
|
-
visibleRowCount: oModel.getProperty("/rows").length,
|
|
130
|
-
columns: [
|
|
131
|
-
new sap.ui.table.Column({
|
|
132
|
-
label: new sap.m.Label({text: "INR short", textAlign: "Center"}),
|
|
133
|
-
template: new sap.m.Text({
|
|
134
|
-
text: {
|
|
135
|
-
path: "value",
|
|
136
|
-
formatter: getFormatter("en_IN", "INR", {style: "short", currencyCode: true})
|
|
137
|
-
}
|
|
138
|
-
})
|
|
139
|
-
}),
|
|
140
|
-
new sap.ui.table.Column({
|
|
141
|
-
label: new sap.m.Label({text: "INR", textAlign: "Center"}),
|
|
142
|
-
template: new sap.m.Text({
|
|
143
|
-
text: {
|
|
144
|
-
path: "value",
|
|
145
|
-
formatter: getFormatter("en_IN", "INR", {currencyCode: true})
|
|
146
|
-
}
|
|
147
|
-
})
|
|
148
|
-
}),
|
|
149
|
-
new sap.ui.table.Column({
|
|
150
|
-
label: new sap.m.Label({text: "USD short", textAlign: "Center"}),
|
|
151
|
-
template: new sap.m.Text({
|
|
152
|
-
text: {
|
|
153
|
-
path: "value",
|
|
154
|
-
formatter: getFormatter("en_IN", "USD", {style: "short", currencyCode: true})
|
|
155
|
-
}
|
|
156
|
-
})
|
|
157
|
-
}),
|
|
158
|
-
new sap.ui.table.Column({
|
|
159
|
-
label: new sap.m.Label({text: "USD", textAlign: "Center"}),
|
|
160
|
-
template: new sap.m.Text({
|
|
161
|
-
text: {
|
|
162
|
-
path: "value",
|
|
163
|
-
formatter: getFormatter("en_IN", "USD", {currencyCode: true})
|
|
164
|
-
}
|
|
165
|
-
})
|
|
166
|
-
})
|
|
167
|
-
],
|
|
168
|
-
rows: {
|
|
169
|
-
path: "/rows"
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
var oVerticalLayout = new sap.ui.layout.VerticalLayout({
|
|
174
|
-
content: [new sap.m.Title({text:"CLDR"}), oTable, new sap.m.Title({text:"Trailing"}), oCurrencyCodeTableTrailing]
|
|
175
|
-
});
|
|
176
|
-
oVerticalLayout.placeAt("content");
|
|
177
|
-
</script>
|
|
178
|
-
|
|
179
|
-
</head>
|
|
180
|
-
<body id='content' class='sapUiBody'>
|
|
181
|
-
</body>
|
|
182
|
-
</html>
|
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
|
|
6
|
-
<title>RTL currency formats</title>
|
|
7
|
-
|
|
8
|
-
<!-- Load UI5, select "sap_belize" theme and the "sap.m" and "sap.ui.table" control libraries -->
|
|
9
|
-
<script id='sap-ui-bootstrap'
|
|
10
|
-
src='../../../../resources/sap-ui-core.js'
|
|
11
|
-
data-sap-ui-theme='sap_belize'
|
|
12
|
-
data-sap-ui-libs='sap.m,sap.ui.table,sap.ui.layout'
|
|
13
|
-
data-sap-ui-xx-bindingSyntax='complex'
|
|
14
|
-
data-sap-ui-rtl='true'></script>
|
|
15
|
-
|
|
16
|
-
<style>
|
|
17
|
-
.sapUiVlt {
|
|
18
|
-
margin: 0.2rem 1rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.sapMTitle {
|
|
22
|
-
margin-top: 2rem;
|
|
23
|
-
margin-bottom: 0.5rem;
|
|
24
|
-
}
|
|
25
|
-
</style>
|
|
26
|
-
|
|
27
|
-
<script>
|
|
28
|
-
jQuery.sap.require("sap.ui.core.format.NumberFormat");
|
|
29
|
-
|
|
30
|
-
function getFormatter(sLocale, sCurrency, oFormatOptions) {
|
|
31
|
-
var oLocale = new sap.ui.core.Locale(sLocale),
|
|
32
|
-
oFormat = sap.ui.core.format.NumberFormat.getCurrencyInstance(oFormatOptions, oLocale);
|
|
33
|
-
return function(fValue) {
|
|
34
|
-
return oFormat.format(fValue, sCurrency);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var oModel = new sap.ui.model.json.JSONModel({
|
|
39
|
-
rows: [
|
|
40
|
-
{value: 0},
|
|
41
|
-
{value: 0.01},
|
|
42
|
-
{value: 1},
|
|
43
|
-
{value: 2},
|
|
44
|
-
{value: 10},
|
|
45
|
-
{value: 100},
|
|
46
|
-
{value: 1000},
|
|
47
|
-
{value: 10000},
|
|
48
|
-
{value: 100000},
|
|
49
|
-
{value: 1000000},
|
|
50
|
-
{value: 10000000},
|
|
51
|
-
{value: 100000000},
|
|
52
|
-
{value: 1000000000},
|
|
53
|
-
{value: 10000000000},
|
|
54
|
-
]
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
var oTable = new sap.ui.table.Table({
|
|
58
|
-
models: oModel,
|
|
59
|
-
selectionMode: "None",
|
|
60
|
-
visibleRowCount: oModel.getProperty("/rows").length,
|
|
61
|
-
columns: [
|
|
62
|
-
new sap.ui.table.Column({
|
|
63
|
-
multiLabels: [
|
|
64
|
-
new sap.m.Label({text: "Saudi Arabia (ar_SA)", textAlign: "Center", width: "100%"}),
|
|
65
|
-
new sap.m.Label({text: "SAR"})
|
|
66
|
-
],
|
|
67
|
-
headerSpan: [4, 1],
|
|
68
|
-
template: new sap.m.Text({
|
|
69
|
-
text: {
|
|
70
|
-
path: "value",
|
|
71
|
-
formatter: getFormatter("ar_SA", "SAR", {style: "short", currencyCode: true, trailingCurrencyCode: false})
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
}),
|
|
75
|
-
new sap.ui.table.Column({
|
|
76
|
-
multiLabels: [
|
|
77
|
-
new sap.m.Label(),
|
|
78
|
-
new sap.m.Label({text: "ر.س."})
|
|
79
|
-
],
|
|
80
|
-
template: new sap.m.Text({
|
|
81
|
-
text: {
|
|
82
|
-
path: "value",
|
|
83
|
-
formatter: getFormatter("ar_SA", "SAR", {style: "short", currencyCode: false})
|
|
84
|
-
}
|
|
85
|
-
})
|
|
86
|
-
}),
|
|
87
|
-
new sap.ui.table.Column({
|
|
88
|
-
multiLabels: [
|
|
89
|
-
new sap.m.Label(),
|
|
90
|
-
new sap.m.Label({text: "US$"})
|
|
91
|
-
],
|
|
92
|
-
template: new sap.m.Text({
|
|
93
|
-
text: {
|
|
94
|
-
path: "value",
|
|
95
|
-
formatter: getFormatter("ar_SA", "USD", {style: "short", currencyCode: false})
|
|
96
|
-
}
|
|
97
|
-
})
|
|
98
|
-
}),
|
|
99
|
-
new sap.ui.table.Column({
|
|
100
|
-
multiLabels: [
|
|
101
|
-
new sap.m.Label(),
|
|
102
|
-
new sap.m.Label({text: "€"})
|
|
103
|
-
],
|
|
104
|
-
template: new sap.m.Text({
|
|
105
|
-
text: {
|
|
106
|
-
path: "value",
|
|
107
|
-
formatter: getFormatter("ar_SA", "EUR", {style: "short", currencyCode: false})
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
}),
|
|
111
|
-
new sap.ui.table.Column({
|
|
112
|
-
multiLabels: [
|
|
113
|
-
new sap.m.Label({text: "Iran (fa_IR)", textAlign: "Center", width: "100%"}),
|
|
114
|
-
new sap.m.Label({text: "IRR"})
|
|
115
|
-
],
|
|
116
|
-
headerSpan: [4, 1],
|
|
117
|
-
template: new sap.m.Text({
|
|
118
|
-
text: {
|
|
119
|
-
path: "value",
|
|
120
|
-
formatter: getFormatter("fa_IR", "IRR", {style: "short", currencyCode: true, trailingCurrencyCode: false})
|
|
121
|
-
}
|
|
122
|
-
})
|
|
123
|
-
}),
|
|
124
|
-
new sap.ui.table.Column({
|
|
125
|
-
multiLabels: [
|
|
126
|
-
new sap.m.Label(),
|
|
127
|
-
new sap.m.Label({text: "ریال"})
|
|
128
|
-
],
|
|
129
|
-
template: new sap.m.Text({
|
|
130
|
-
text: {
|
|
131
|
-
path: "value",
|
|
132
|
-
formatter: getFormatter("fa_IR", "IRR", {style: "short", currencyCode: false})
|
|
133
|
-
}
|
|
134
|
-
})
|
|
135
|
-
}),
|
|
136
|
-
new sap.ui.table.Column({
|
|
137
|
-
multiLabels: [
|
|
138
|
-
new sap.m.Label(),
|
|
139
|
-
new sap.m.Label({text: "$"})
|
|
140
|
-
],
|
|
141
|
-
template: new sap.m.Text({
|
|
142
|
-
text: {
|
|
143
|
-
path: "value",
|
|
144
|
-
formatter: getFormatter("fa_IR", "USD", {style: "short", currencyCode: false})
|
|
145
|
-
}
|
|
146
|
-
})
|
|
147
|
-
}),
|
|
148
|
-
new sap.ui.table.Column({
|
|
149
|
-
multiLabels: [
|
|
150
|
-
new sap.m.Label(),
|
|
151
|
-
new sap.m.Label({text: "$CA"})
|
|
152
|
-
],
|
|
153
|
-
template: new sap.m.Text({
|
|
154
|
-
text: {
|
|
155
|
-
path: "value",
|
|
156
|
-
formatter: getFormatter("fa_IR", "CAD", {style: "short", currencyCode: false})
|
|
157
|
-
}
|
|
158
|
-
})
|
|
159
|
-
}),
|
|
160
|
-
new sap.ui.table.Column({
|
|
161
|
-
multiLabels: [
|
|
162
|
-
new sap.m.Label({text: "Israel (he_IL)", textAlign: "Center", width: "100%"}),
|
|
163
|
-
new sap.m.Label({text: "ILS"})
|
|
164
|
-
],
|
|
165
|
-
headerSpan: [4, 1],
|
|
166
|
-
template: new sap.m.Text({
|
|
167
|
-
text: {
|
|
168
|
-
path: "value",
|
|
169
|
-
formatter: getFormatter("he_IL", "ILS", {style: "short", currencyCode: true, trailingCurrencyCode: false})
|
|
170
|
-
}
|
|
171
|
-
})
|
|
172
|
-
}),
|
|
173
|
-
new sap.ui.table.Column({
|
|
174
|
-
multiLabels: [
|
|
175
|
-
new sap.m.Label(),
|
|
176
|
-
new sap.m.Label({text: "₪"})
|
|
177
|
-
],
|
|
178
|
-
template: new sap.m.Text({
|
|
179
|
-
text: {
|
|
180
|
-
path: "value",
|
|
181
|
-
formatter: getFormatter("he_IL", "ILS", {style: "short", currencyCode: false})
|
|
182
|
-
}
|
|
183
|
-
})
|
|
184
|
-
}),
|
|
185
|
-
new sap.ui.table.Column({
|
|
186
|
-
multiLabels: [
|
|
187
|
-
new sap.m.Label(),
|
|
188
|
-
new sap.m.Label({text: "$"})
|
|
189
|
-
],
|
|
190
|
-
template: new sap.m.Text({
|
|
191
|
-
text: {
|
|
192
|
-
path: "value",
|
|
193
|
-
formatter: getFormatter("he_IL", "USD", {style: "short", currencyCode: false})
|
|
194
|
-
}
|
|
195
|
-
})
|
|
196
|
-
}),
|
|
197
|
-
new sap.ui.table.Column({
|
|
198
|
-
multiLabels: [
|
|
199
|
-
new sap.m.Label(),
|
|
200
|
-
new sap.m.Label({text: "CA$"})
|
|
201
|
-
],
|
|
202
|
-
template: new sap.m.Text({
|
|
203
|
-
text: {
|
|
204
|
-
path: "value",
|
|
205
|
-
formatter: getFormatter("he_IL", "CAD", {style: "short", currencyCode: false})
|
|
206
|
-
}
|
|
207
|
-
})
|
|
208
|
-
})
|
|
209
|
-
],
|
|
210
|
-
rows: {
|
|
211
|
-
path: "/rows"
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
var oCurrencyCodeTableTrailing = new sap.ui.table.Table({
|
|
217
|
-
models: oModel,
|
|
218
|
-
selectionMode: "None",
|
|
219
|
-
visibleRowCount: oModel.getProperty("/rows").length,
|
|
220
|
-
columns: [
|
|
221
|
-
new sap.ui.table.Column({
|
|
222
|
-
multiLabels: [
|
|
223
|
-
new sap.m.Label({text: "Saudi Arabia (ar_SA)", textAlign: "Center", width: "100%"}),
|
|
224
|
-
new sap.m.Label({text: "SAR short"})
|
|
225
|
-
],
|
|
226
|
-
headerSpan: [2, 1],
|
|
227
|
-
template: new sap.m.Text({
|
|
228
|
-
text: {
|
|
229
|
-
path: "value",
|
|
230
|
-
formatter: getFormatter("ar_SA", "SAR", {style: "short", currencyCode: true})
|
|
231
|
-
}
|
|
232
|
-
})
|
|
233
|
-
}),
|
|
234
|
-
new sap.ui.table.Column({
|
|
235
|
-
multiLabels: [
|
|
236
|
-
new sap.m.Label(),
|
|
237
|
-
new sap.m.Label({text: "SAR"})
|
|
238
|
-
],
|
|
239
|
-
template: new sap.m.Text({
|
|
240
|
-
text: {
|
|
241
|
-
path: "value",
|
|
242
|
-
formatter: getFormatter("ar_SA", "SAR", {currencyCode: true})
|
|
243
|
-
}
|
|
244
|
-
})
|
|
245
|
-
}),
|
|
246
|
-
new sap.ui.table.Column({
|
|
247
|
-
multiLabels: [
|
|
248
|
-
new sap.m.Label({text: "Iran (fa_IR)", textAlign: "Center", width: "100%"}),
|
|
249
|
-
new sap.m.Label({text: "IRR short"})
|
|
250
|
-
],
|
|
251
|
-
headerSpan: [2, 1],
|
|
252
|
-
template: new sap.m.Text({
|
|
253
|
-
text: {
|
|
254
|
-
path: "value",
|
|
255
|
-
formatter: getFormatter("fa_IR", "IRR", {style: "short", currencyCode: true})
|
|
256
|
-
}
|
|
257
|
-
})
|
|
258
|
-
}),
|
|
259
|
-
new sap.ui.table.Column({
|
|
260
|
-
multiLabels: [
|
|
261
|
-
new sap.m.Label(),
|
|
262
|
-
new sap.m.Label({text: "IRR"})
|
|
263
|
-
],
|
|
264
|
-
template: new sap.m.Text({
|
|
265
|
-
text: {
|
|
266
|
-
path: "value",
|
|
267
|
-
formatter: getFormatter("fa_IR", "IRR", {currencyCode: true})
|
|
268
|
-
}
|
|
269
|
-
})
|
|
270
|
-
}),
|
|
271
|
-
new sap.ui.table.Column({
|
|
272
|
-
multiLabels: [
|
|
273
|
-
new sap.m.Label({text: "Israel (he_IL)", textAlign: "Center", width: "100%"}),
|
|
274
|
-
new sap.m.Label({text: "ILS short"})
|
|
275
|
-
],
|
|
276
|
-
headerSpan: [2, 1],
|
|
277
|
-
template: new sap.m.Text({
|
|
278
|
-
text: {
|
|
279
|
-
path: "value",
|
|
280
|
-
formatter: getFormatter("he_IL", "ILS", {style: "short", currencyCode: true})
|
|
281
|
-
}
|
|
282
|
-
})
|
|
283
|
-
}),
|
|
284
|
-
new sap.ui.table.Column({
|
|
285
|
-
multiLabels: [
|
|
286
|
-
new sap.m.Label(),
|
|
287
|
-
new sap.m.Label({text: "ILS"})
|
|
288
|
-
],
|
|
289
|
-
template: new sap.m.Text({
|
|
290
|
-
text: {
|
|
291
|
-
path: "value",
|
|
292
|
-
formatter: getFormatter("he_IL", "ILS", {currencyCode: true})
|
|
293
|
-
}
|
|
294
|
-
})
|
|
295
|
-
})
|
|
296
|
-
],
|
|
297
|
-
rows: {
|
|
298
|
-
path: "/rows"
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
var oVerticalLayout = new sap.ui.layout.VerticalLayout({
|
|
304
|
-
content: [new sap.m.Title({text:"CLDR"}), oTable, new sap.m.Title({text:"Trailing"}), oCurrencyCodeTableTrailing]
|
|
305
|
-
});
|
|
306
|
-
oVerticalLayout.placeAt("content");
|
|
307
|
-
</script>
|
|
308
|
-
|
|
309
|
-
</head>
|
|
310
|
-
<body id='content' class='sapUiBody'>
|
|
311
|
-
</body>
|
|
312
|
-
</html>
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
|
|
5
|
-
<title>CustomData Support - sap.ui.core</title>
|
|
6
|
-
|
|
7
|
-
<script src="shared-config.js"></script>
|
|
8
|
-
<script id="sap-ui-bootstrap"
|
|
9
|
-
src="../../../../resources/sap-ui-core.js"
|
|
10
|
-
data-sap-ui-theme="sap_bluecrystal">
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
try{
|
|
16
|
-
sap.ui.getCore().loadLibrary("sap.ui.commons");
|
|
17
|
-
}catch(e){
|
|
18
|
-
alert("This test page requires the library 'sap.ui.commons' which is not available.");
|
|
19
|
-
throw(e);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function readDataOnPress(evt) {
|
|
23
|
-
var control = evt.getSource();
|
|
24
|
-
alert("The clicked control wants to say:\n\n" + control.data("myData"));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var ctrl = new sap.ui.commons.Button({text:"Click me!",press:readDataOnPress});
|
|
28
|
-
ctrl.data("myData", "Hello, I was born at " + new Date());
|
|
29
|
-
ctrl.placeAt("content");
|
|
30
|
-
|
|
31
|
-
ctrl = new sap.ui.commons.Button({text:"No, click me!",press:readDataOnPress});
|
|
32
|
-
ctrl.data("myData", "Hello, I love you all!");
|
|
33
|
-
ctrl.placeAt("content");
|
|
34
|
-
|
|
35
|
-
ctrl = new sap.ui.commons.Link({text:"Please click me!",press:readDataOnPress});
|
|
36
|
-
ctrl.data("myData", "I am different.");
|
|
37
|
-
ctrl.placeAt("content");
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/* list binding */
|
|
43
|
-
|
|
44
|
-
function giveAnswer(evt) {
|
|
45
|
-
alert("The answer is:\n\n" + evt.getParameter("selectedItem").data("answer"));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// create some local data
|
|
49
|
-
var aData = {questions:[
|
|
50
|
-
{ question : "In which year was SAP founded?", answer : "1972" },
|
|
51
|
-
{ question : "What was the former project name of SAPUI5?", answer : "Phoenix" },
|
|
52
|
-
{ question : "What is the official name of SAPUI5?", answer : "SAP development toolkit for HTML5" },
|
|
53
|
-
{ question : "How many snippix examples have been created and saved as of January 30th 2012?", answer : "1794" },
|
|
54
|
-
{ question : "What is the name of the main character in 'Die Hard'?", answer : "John McClane" },
|
|
55
|
-
{ question : "What is the answer?", answer : "42" }
|
|
56
|
-
]};
|
|
57
|
-
|
|
58
|
-
// create a JSONModel, fill in the data and bind the ListBox to this model
|
|
59
|
-
var oModel = new sap.ui.model.json.JSONModel();
|
|
60
|
-
oModel.setData(aData);
|
|
61
|
-
ctrl = new sap.ui.commons.ListBox({select:giveAnswer,height:"100px"});
|
|
62
|
-
ctrl.setModel(oModel);
|
|
63
|
-
|
|
64
|
-
var oItemTemplate = new sap.ui.core.ListItem();
|
|
65
|
-
oItemTemplate.bindProperty("text", "question");
|
|
66
|
-
|
|
67
|
-
var oDataTemplate = new sap.ui.core.CustomData({key:"answer"});
|
|
68
|
-
oDataTemplate.bindProperty("value", "answer");
|
|
69
|
-
|
|
70
|
-
oItemTemplate.addCustomData(oDataTemplate);
|
|
71
|
-
|
|
72
|
-
ctrl.bindAggregation("items", "/questions", oItemTemplate);
|
|
73
|
-
ctrl.placeAt("content2");
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/* XML View */
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
// define a new (simple) Controller type
|
|
82
|
-
sap.ui.controller("my.own.controller", {
|
|
83
|
-
|
|
84
|
-
// implement an event handler in the Controller
|
|
85
|
-
alertCoordinates: function(evt) {
|
|
86
|
-
var control = evt.getSource();
|
|
87
|
-
var dataObject = control.data("coords");
|
|
88
|
-
alert("The coordinates stored along with the Button are:\n\nx: " + dataObject.x + "\ny: " + dataObject.y + "\nz: " + dataObject.z);
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
var xml = '<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.ui.commons" controllerName="my.own.controller" '
|
|
93
|
-
+ 'xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1">Button inside the View: '
|
|
94
|
-
+ '<Button id="myBtn" text="Click to show stored coordinates data" app:coords="{/data}" press="alertCoordinates"></Button></mvc:View>';
|
|
95
|
-
// create some dummy JSON data
|
|
96
|
-
var data = {
|
|
97
|
-
data : {
|
|
98
|
-
x : 100,
|
|
99
|
-
y : 250,
|
|
100
|
-
z : 455
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
// instantiate the View
|
|
104
|
-
var myView = sap.ui.xmlview({
|
|
105
|
-
viewContent : xml
|
|
106
|
-
});
|
|
107
|
-
// create a Model and assign it to the View
|
|
108
|
-
oModel = new sap.ui.model.json.JSONModel();
|
|
109
|
-
oModel.setData(data);
|
|
110
|
-
myView.setModel(oModel);
|
|
111
|
-
myView.placeAt("content3");
|
|
112
|
-
|
|
113
|
-
</script>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
<style>
|
|
117
|
-
#content > * {
|
|
118
|
-
margin-left: 6px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
pre {
|
|
122
|
-
padding: 10px;
|
|
123
|
-
background-color: white;
|
|
124
|
-
border: 1px solid #333;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
h2 {
|
|
128
|
-
margin-top: 40px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.highlight {
|
|
132
|
-
background-color: yellow;
|
|
133
|
-
}
|
|
134
|
-
</style>
|
|
135
|
-
|
|
136
|
-
</head>
|
|
137
|
-
<body class="sapUiBody">
|
|
138
|
-
<h1>Test Page for sap.ui.core.CustomData</h1>
|
|
139
|
-
|
|
140
|
-
<h2>Controls where each got something to say</h2>
|
|
141
|
-
<div id="content"></div>
|
|
142
|
-
<pre>
|
|
143
|
-
// code used to set the data:
|
|
144
|
-
ctrl<span class="highlight">.data(</span>"myData", "Hello, I was born at " + new Date());</pre>
|
|
145
|
-
|
|
146
|
-
<h2>Quiz with ListBox, custom data, and list binding</h2>
|
|
147
|
-
<div id="content2"></div>
|
|
148
|
-
<pre>
|
|
149
|
-
// list is bound to data like:
|
|
150
|
-
var aData = {questions:[
|
|
151
|
-
{ question : "In which year was SAP founded?", <span class="highlight">answer : "1972"</span> },
|
|
152
|
-
...
|
|
153
|
-
]};
|
|
154
|
-
// text is bound to "question", CustomData aggregation is bound to "answer"</pre>
|
|
155
|
-
|
|
156
|
-
<h2>XMLView with bound custom data</h2>
|
|
157
|
-
<div id="content3"></div>
|
|
158
|
-
<pre>
|
|
159
|
-
<Button id="myBtn" text="Click to show stored coordinates data" <span class="highlight">app:coords="{data}"</span> press="alertCoordinates"></Button></pre>
|
|
160
|
-
</body>
|
|
161
|
-
</html>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE HTML>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>DataType - sap.ui.core</title>
|
|
5
|
-
|
|
6
|
-
<script src="shared-config.js"></script>
|
|
7
|
-
<script id="sap-ui-bootstrap"
|
|
8
|
-
src="../../../../resources/sap-ui-core.js"
|
|
9
|
-
data-sap-ui-theme="sap_bluecrystal">
|
|
10
|
-
</script>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
|
|
14
|
-
sap.ui.core.URI.setNormalizer(function(sUri) {
|
|
15
|
-
|
|
16
|
-
if (sUri === "sap-icon://sys-cancel") {
|
|
17
|
-
sUri = "sap-icon://sys-enter";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return sUri;
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
var oIcon = new sap.ui.core.Icon({
|
|
24
|
-
src: "sap-icon://sys-cancel",
|
|
25
|
-
size: "10rem"
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
oIcon.placeAt("normalized");
|
|
29
|
-
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
</head>
|
|
33
|
-
<body class="sapUiBody">
|
|
34
|
-
<h1>Test Page for <code>sap.ui.core.base.DataType</code></h1>
|
|
35
|
-
|
|
36
|
-
<h2>DataType Normalizer:</h2>
|
|
37
|
-
<div id="normalized"></div>
|
|
38
|
-
|
|
39
|
-
<br />
|
|
40
|
-
|
|
41
|
-
<a href="#" onclick="oIcon.setSrc('sap-icon://sys-cancel');">Change src</a>
|
|
42
|
-
|
|
43
|
-
</body>
|
|
44
|
-
</html>
|