@openui5/sap.ui.core 1.115.1 → 1.117.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 +18 -0
- package/.eslintrc.json +1 -11
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- 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.sjax.js +2 -2
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +106 -0
- package/src/sap/base/Eventing.js +319 -0
- package/src/sap/base/config/MemoryConfigurationProvider.js +10 -1
- package/src/sap/base/config.js +3 -2
- package/src/sap/base/i18n/Formatting.js +989 -0
- package/src/sap/base/i18n/LanguageTag.js +189 -0
- package/src/sap/base/i18n/Localization.js +710 -0
- package/src/sap/base/i18n/ResourceBundle.js +5 -20
- package/src/sap/base/i18n/date/CalendarType.js +54 -0
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +105 -0
- package/src/sap/base/i18n/date/TimezoneUtils.js +287 -0
- package/src/sap/base/util/JSTokenizer.js +1 -1
- package/src/sap/base/util/fetch.js +4 -4
- package/src/sap/base/util/mixedFetch.js +2 -2
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/base/util/syncFetch.js +2 -2
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +6 -4
- package/src/sap/ui/base/EventProvider.js +4 -12
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +9 -15
- package/src/sap/ui/base/ManagedObjectMetadata.js +33 -12
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/base/SyncPromise.js +10 -5
- package/src/sap/ui/core/.library +3 -3
- package/src/sap/ui/core/AccessKeysEnablement.js +10 -5
- package/src/sap/ui/core/AnimationMode.js +49 -0
- package/src/sap/ui/core/BusyIndicator.js +33 -42
- package/src/sap/ui/core/CalendarType.js +11 -37
- package/src/sap/ui/core/Component.js +4 -5
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +2 -2
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/ConfigTest.js +17 -0
- package/src/sap/ui/core/Configuration.js +409 -1282
- package/src/sap/ui/core/Control.js +7 -12
- package/src/sap/ui/core/ControlBehavior.js +157 -0
- package/src/sap/ui/core/Core.js +126 -132
- 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 +14 -3
- package/src/sap/ui/core/ElementMetadata.js +2 -4
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IconPool.js +1 -2
- 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 +5 -7
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +12 -12
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +126 -38
- 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 +154 -430
- package/src/sap/ui/core/LocaleData.js +50 -14
- package/src/sap/ui/core/Manifest.js +5 -5
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +37 -50
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Shortcut.js +11 -9
- package/src/sap/ui/core/StaticArea.js +31 -17
- package/src/sap/ui/core/Theming.js +458 -0
- 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 +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 +28 -5
- package/src/sap/ui/core/_IconRegistry.js +89 -12
- package/src/sap/ui/core/boot/_bootConfig.js +137 -0
- package/src/sap/ui/core/boot/_runBoot.js +16 -0
- package/src/sap/ui/core/boot/initDOM.js +96 -0
- package/src/sap/ui/core/boot/loadCalendar.js +50 -0
- package/src/sap/ui/core/boot/loadManifest.js +55 -0
- package/src/sap/ui/core/boot/loadModules.js +80 -0
- package/src/sap/ui/core/boot/manifest.json +11 -0
- package/src/sap/ui/core/boot/onInit.js +44 -0
- package/src/sap/ui/core/boot.js +107 -0
- package/src/sap/ui/core/date/CalendarWeekNumbering.js +12 -83
- package/src/sap/ui/core/date/UI5Date.js +10 -4
- package/src/sap/ui/core/delegate/ItemNavigation.js +8 -10
- package/src/sap/ui/core/delegate/ScrollEnablement.js +5 -5
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +33 -27
- package/src/sap/ui/core/format/TimezoneUtil.js +15 -273
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +32 -6
- 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/MessageMixin.js +6 -5
- 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_ar.properties +57 -55
- package/src/sap/ui/core/messagebundle_bg.properties +57 -55
- package/src/sap/ui/core/messagebundle_ca.properties +30 -28
- package/src/sap/ui/core/messagebundle_cs.properties +44 -42
- package/src/sap/ui/core/messagebundle_cy.properties +59 -57
- package/src/sap/ui/core/messagebundle_da.properties +57 -55
- package/src/sap/ui/core/messagebundle_de.properties +59 -57
- package/src/sap/ui/core/messagebundle_el.properties +48 -46
- package/src/sap/ui/core/messagebundle_en.properties +59 -57
- package/src/sap/ui/core/messagebundle_en_GB.properties +59 -57
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +3 -0
- package/src/sap/ui/core/messagebundle_es.properties +48 -46
- package/src/sap/ui/core/messagebundle_es_MX.properties +58 -56
- package/src/sap/ui/core/messagebundle_et.properties +55 -53
- package/src/sap/ui/core/messagebundle_fi.properties +51 -49
- package/src/sap/ui/core/messagebundle_fr.properties +36 -34
- package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -19
- package/src/sap/ui/core/messagebundle_hi.properties +42 -40
- package/src/sap/ui/core/messagebundle_hr.properties +57 -55
- package/src/sap/ui/core/messagebundle_hu.properties +58 -56
- package/src/sap/ui/core/messagebundle_id.properties +59 -57
- package/src/sap/ui/core/messagebundle_it.properties +75 -73
- package/src/sap/ui/core/messagebundle_iw.properties +59 -57
- package/src/sap/ui/core/messagebundle_ja.properties +50 -48
- package/src/sap/ui/core/messagebundle_kk.properties +44 -42
- package/src/sap/ui/core/messagebundle_ko.properties +20 -18
- package/src/sap/ui/core/messagebundle_lt.properties +59 -57
- package/src/sap/ui/core/messagebundle_lv.properties +59 -57
- package/src/sap/ui/core/messagebundle_ms.properties +60 -58
- package/src/sap/ui/core/messagebundle_nl.properties +58 -56
- package/src/sap/ui/core/messagebundle_no.properties +56 -54
- package/src/sap/ui/core/messagebundle_pl.properties +56 -54
- package/src/sap/ui/core/messagebundle_pt.properties +58 -56
- package/src/sap/ui/core/messagebundle_pt_PT.properties +58 -56
- package/src/sap/ui/core/messagebundle_ro.properties +59 -57
- package/src/sap/ui/core/messagebundle_ru.properties +57 -55
- package/src/sap/ui/core/messagebundle_sh.properties +59 -57
- package/src/sap/ui/core/messagebundle_sk.properties +57 -55
- package/src/sap/ui/core/messagebundle_sl.properties +58 -56
- package/src/sap/ui/core/messagebundle_sv.properties +54 -52
- package/src/sap/ui/core/messagebundle_th.properties +18 -16
- package/src/sap/ui/core/messagebundle_tr.properties +58 -56
- package/src/sap/ui/core/messagebundle_uk.properties +59 -57
- package/src/sap/ui/core/messagebundle_vi.properties +59 -57
- package/src/sap/ui/core/messagebundle_zh_CN.properties +58 -56
- package/src/sap/ui/core/messagebundle_zh_TW.properties +58 -56
- 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 +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +14 -2
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +14 -16
- 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/HashChanger.js +1 -0
- package/src/sap/ui/core/routing/Route.js +1 -0
- package/src/sap/ui/core/routing/Router.js +3 -1
- package/src/sap/ui/core/rules/Config.support.js +2 -2
- package/src/sap/ui/core/rules/Misc.support.js +1 -1
- package/src/sap/ui/core/rules/Model.support.js +3 -1
- 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 +7 -4
- package/src/sap/ui/core/support/controls/TimelineOverview.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
- 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/Icon.less +2 -2
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +4 -4
- package/src/sap/ui/core/themes/base/base.less +41 -20
- 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 +6 -10
- package/src/sap/ui/core/theming/ThemeManager.js +312 -450
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +5 -10
- 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 +4 -5
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.js +3 -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/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/events/PseudoEvents.js +17 -9
- package/src/sap/ui/model/Binding.js +19 -15
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeBinding.js +57 -19
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +42 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +5 -4
- package/src/sap/ui/model/PropertyBinding.js +10 -0
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +4 -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/AnalyticalBinding.js +166 -79
- package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +4 -3
- package/src/sap/ui/model/analytics/BatchResponseCollector.js +2 -2
- package/src/sap/ui/model/analytics/ODataModelAdapter.js +14 -27
- package/src/sap/ui/model/analytics/odata4analytics.js +6 -12
- package/src/sap/ui/model/base/ManagedObjectModel.js +3 -2
- package/src/sap/ui/model/json/JSONModel.js +6 -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 +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +191 -5
- package/src/sap/ui/model/odata/ODataMetadata.js +38 -4
- 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 +8 -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 +3 -3
- 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 +3 -2
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +14 -3
- package/src/sap/ui/model/odata/v2/ODataModel.js +46 -32
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +4 -4
- package/src/sap/ui/model/odata/v4/Context.js +39 -32
- package/src/sap/ui/model/odata/v4/ODataBinding.js +85 -52
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +23 -19
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +139 -50
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +30 -36
- package/src/sap/ui/model/odata/v4/ODataModel.js +49 -44
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +72 -37
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +34 -29
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +95 -9
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +25 -27
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +95 -209
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +168 -1
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +14 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +34 -19
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.js +4 -4
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.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 +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/Opa5.js +1 -1
- package/src/sap/ui/test/TestUtils.js +1 -1
- package/src/sap/ui/test/autowaiter/_autoWaiter.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +1 -3
- package/src/sap/ui/test/gherkin/simpleGherkinParser.js +10 -5
- package/src/sap/ui/test/matchers/LabelFor.js +1 -0
- package/src/sap/ui/test/matchers/_Visitor.js +6 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +2 -5
- package/src/sap/ui/thirdparty/caja-html-sanitizer.js +111 -96
- package/src/sap/ui/thirdparty/qunit-2.js +9 -3
- package/src/sap/ui/util/ActivityDetection.js +7 -1
- package/src/sap/ui/util/Mobile.js +21 -14
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap-ui-boot.js +23 -6
- package/src/ui5-boot.js +50 -0
- package/src/ui5loader-autoconfig.js +150 -75
- package/src/ui5loader.js +458 -514
- package/test/sap/ui/core/Device.js +1 -1
- package/test/sap/ui/core/FormatHelper.js +3 -2
- package/test/sap/ui/core/demokit/docuindex.json +6 -0
- package/test/sap/ui/core/demokit/sample/OpaAction/applicationUnderTest/view/Main.view.xml +1 -0
- package/test/sap/ui/core/demokit/sample/OpaBusyIndicator/OpaBusyIndicator.js +1 -1
- package/test/sap/ui/core/demokit/sample/OpaMatchers/OpaMatchers.js +2 -2
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/MIT.ODataTypes.html +9 -14
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +7 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +2 -2
- package/test/sap/ui/core/demokit/sample/common/pages/Any.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v2/AutoExpand/AutoExpand.view.xml +24 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.view.xml +24 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.view.xml +20 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/tests/filter.js +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Component.js +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ListReport.controller.js +43 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ListReport.view.xml +47 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Main.controller.js +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Main.view.xml +7 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/NotFound.view.xml +8 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.controller.js +123 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.view.xml +92 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.html +27 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +70 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/README.html +55 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/SandboxModel.js +56 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/POST-SalesOrderList.json +66 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000000')-SO_2_SOITEM.json +57 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000000').json +20 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000001').json +9 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList('0500000007')-SO_2_BP.json +12 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/SalesOrderList.json +62 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_CurrencyCode.json +85 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_CurrencyCode.xml +185 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_ProductID.json +93 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/VH_ProductID.xml +262 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/data/metadata.xml +1779 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/manifest.json +134 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/pages/Main.js +119 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FieldGroups/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.view.xml +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/GridTable/GridTable.view.xml +12 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/pages/Main.js +0 -41
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +26 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/data/metadata.xml +4 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/manifest.json +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +5 -17
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/pages/Main.js +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/Create.js +10 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/manifest.json +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Main.view.xml +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/pages/Main.js +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/arrangements/Startup.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/arrangements/Startup.js +1 -1
- package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +25 -7
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +86 -2
- package/test/sap/ui/core/qunit/DataState.qunit.js +2 -7
- package/test/sap/ui/core/qunit/HTML.qunit.js +31 -31
- package/test/sap/ui/core/qunit/IconPool.qunit.js +53 -4
- package/test/sap/ui/core/qunit/Lib.qunit.js +55 -2
- package/test/sap/ui/core/qunit/LocalBusyIndicator.qunit.js +22 -15
- package/test/sap/ui/core/qunit/ManagedObject.qunit.js +5 -3
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +43 -5
- package/test/sap/ui/core/qunit/Object.qunit.js +4 -1
- package/test/sap/ui/core/qunit/ThemeManager.qunit.js +2 -2
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +9 -3
- package/test/sap/ui/core/qunit/Theming.beforeBootstrap.qunit.js +13 -0
- package/test/sap/ui/core/qunit/Theming.qunit.js +247 -0
- package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +510 -185
- package/test/sap/ui/core/qunit/analytics/AnalyticalTreeBindingAdapter.qunit.js +2 -7
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +81 -16
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +20 -29
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +18 -1
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.html +24 -0
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +277 -0
- package/test/sap/ui/core/qunit/base/i18n/Localization.qunit.js +282 -0
- package/test/sap/ui/core/qunit/base/i18n/ResourceBundle.qunit.js +5 -6
- package/test/sap/ui/core/qunit/base/security/sanitizeHTML.qunit.js +17 -0
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +1 -2
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithCustomBootTask.beforeBootstrap.qunit.js +13 -12
- package/test/sap/ui/core/qunit/bootstrap/Configuration.main.qunit.js +11 -0
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.html +4 -3
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +451 -281
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +19 -30
- package/test/sap/ui/core/qunit/component/Models.qunit.js +12 -30
- package/test/sap/ui/core/qunit/component/Models_unavoidablySync.qunit.js +8 -26
- package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.js +2 -2
- 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 +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.js +2 -2
- 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 +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.js +2 -2
- 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 +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component-preload.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component.js +2 -3
- package/test/sap/ui/core/qunit/component/testdata/customizing/customer/ext/Component.js +0 -4
- package/test/sap/ui/core/qunit/component/testdata/customizing/customer/ext/sync/Component.js +2 -6
- package/test/sap/ui/core/qunit/component/testdata/customizing/customersub/Component.js +0 -4
- package/test/sap/ui/core/qunit/component/testdata/inherit/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/other/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/terminologies/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component1/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component2/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component3/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component5/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/reuse/Component.js +2 -3
- package/test/sap/ui/core/qunit/component/testdata/v1/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v1empty/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v1missing/Component.js +2 -7
- package/test/sap/ui/core/qunit/component/testdata/v2/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2empty/Component.js +2 -9
- package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +2 -5
- package/test/sap/ui/core/qunit/component/testdata/v2missing/Component.js +2 -9
- package/test/sap/ui/core/qunit/component/testdata/v2version/Component.js +2 -2
- package/test/sap/ui/core/qunit/dnd/DragDropInfo.qunit.js +1 -2
- package/test/sap/ui/core/qunit/generic/EnforceSemanticRendering.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +2 -0
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +2 -0
- package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/gherkin/dataTableUtils.qunit.js +2 -2
- package/test/sap/ui/core/qunit/i18n/Locale.qunit.js +0 -52
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +49 -14
- package/test/sap/ui/core/qunit/i18n/UI5Date.qunit.js +16 -4
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +74 -114
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +34 -39
- package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +18 -0
- package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +1 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.ODataV4.js +28 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.html +1 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.js +15 -0
- package/test/sap/ui/core/qunit/internal/performance/ExpressionParser.performance.qunit.js +1 -0
- package/test/sap/ui/core/qunit/json/JSONListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/json/JSONPropertyBinding.qunit.js +7 -12
- package/test/sap/ui/core/qunit/json/JSONTwoWay.qunit.js +3 -8
- package/test/sap/ui/core/qunit/loader/asyncMode.qunit.js +2 -2
- package/test/sap/ui/core/qunit/loader/asyncMode_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/loader/fixture/amd-with-export-true/module1.js +2 -2
- package/test/sap/ui/core/qunit/loader/testsuite.loader.qunit.js +0 -3
- package/test/sap/ui/core/qunit/messages/MessageMixin.qunit.js +2 -7
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +1 -1
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +36 -11
- package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/CompositeDataState.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/Context.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/ContextBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/FAR_CUSTOMER_LINE_ITEMS.metadata.xml +2 -0
- package/test/sap/ui/core/qunit/model/ListBinding.qunit.js +63 -6
- package/test/sap/ui/core/qunit/model/Model.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +40 -0
- package/test/sap/ui/core/qunit/model/TreeBinding.qunit.js +2 -7
- package/test/sap/ui/core/qunit/model/TreeBindingAdapter.qunit.js +2 -7
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +51 -0
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +9 -8
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +4 -4
- package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +4 -4
- package/test/sap/ui/core/qunit/mvc/testdata/Async.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testdata/AsyncTypedView.js +5 -1
- package/test/sap/ui/core/qunit/odata/AnnotationParserNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +2 -8
- package/test/sap/ui/core/qunit/odata/ODataMetadataNoFakeService.qunit.js +68 -9
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +24 -0
- package/test/sap/ui/core/qunit/odata/v2/Context.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataContextBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +31 -17
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +260 -56
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +70 -15
- package/test/sap/ui/core/qunit/odata/v2/ODataPropertyBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +4 -9
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v2/_CreatedContextsCache.qunit.js +2 -7
- package/test/sap/ui/core/qunit/odata/v4/AnnotationHelper.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +55 -22
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +184 -151
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +60 -30
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +305 -69
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +20 -69
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1282 -255
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +90 -61
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +0 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +283 -170
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +103 -78
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +2 -1
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +4 -0
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +2 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +151 -1
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +24 -11
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +279 -458
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +204 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +7 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +145 -26
- package/test/sap/ui/core/qunit/odata/v4/testsuite.odatav4.qunit.js +4 -0
- package/test/sap/ui/core/qunit/opa/_LogCollector.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +4 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +129 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +5 -1
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +5 -0
- package/test/sap/ui/core/qunit/resource/ResourceModel.qunit.js +17 -37
- package/test/sap/ui/core/qunit/routing/HashChanger.qunit.js +1 -6
- package/test/sap/ui/core/qunit/routing/RouterHashChanger.qunit.js +1 -10
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +1 -22
- package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -4
- package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +1 -1
- package/test/sap/ui/core/qunit/rule/model/modelSupport.qunit.js +34 -1
- package/test/sap/ui/core/qunit/testdata/fastnavigation/view/FastNavigation.view.xml +2 -2
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/i18n.properties +1 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/library.js +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/manifest.json +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/library.js +10 -0
- package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/messagebundle.properties +1 -0
- package/test/sap/ui/core/qunit/testdata/xml-require/helper/Formatter.js +7 -4
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_in_html.view.xml +36 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.databinding.qunit.js +3 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +29 -0
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +1381 -1570
- package/test/sap/ui/core/qunit/types/SimpleType.qunit.js +16 -2
- package/test/sap/ui/core/qunit/types/Types.qunit.js +2 -37
- package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +7 -11
- package/test/sap/ui/core/qunit/util/SyncPromise.qunit.js +4 -1
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +3 -1
- package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +3 -0
- package/test/sap/ui/core/qunit/util/jQuery.sap.measure.qunit.js +16 -11
- package/test/sap/ui/core/qunit/util/reflection/BaseTreeModifier.qunit.js +1 -1
- package/test/sap/ui/core/qunit/xml/XMLListBinding.qunit.js +1 -3
- package/test/sap/ui/core/qunit/xml/XMLModel.qunit.js +4 -14
- package/test/sap/ui/core/qunit/xml/XMLPropertyBinding.qunit.js +7 -11
- package/test/sap/ui/core/qunit/xml/XMLTreeBinding.qunit.js +1 -1
- package/test/sap/ui/core/qunit/xml/XMLTwoWay.qunit.js +3 -7
- package/test/sap/ui/core/relnotes/changes-1.115.json +1 -37
- package/test/sap/ui/core/relnotes/changes-1.116.json +71 -0
- package/test/sap/ui/core/relnotes/changes-1.117.json +127 -0
- 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/visual/images/HyphenationPlayground/windows/1600x1200/chrome/horizon/ltr/cozy/19_thirdParty_language_sl.ref.lnk +1 -1
- package/test/testsuite/js/samples.js +2 -0
- package/ui5.yaml +166 -1
- package/src/sap/ui/core/util/MockServerAnnotationsHandler.js +0 -45
- /package/test/sap/ui/core/qunit/bootstrap/{GlobalConfigurationSettings.js → Configuration.beforeBootstrap.qunit.js} +0 -0
|
@@ -20,13 +20,21 @@ sap.ui.define([
|
|
|
20
20
|
|
|
21
21
|
//*********************************************************************************************
|
|
22
22
|
QUnit.test("basics", function (assert) {
|
|
23
|
+
var oSetFormatOptionsCall = this.mock(SimpleType.prototype).expects("setFormatOptions").withExactArgs({})
|
|
24
|
+
.callsFake(function () {
|
|
25
|
+
assert.ok(this.hasOwnProperty("oInputFormat"), "oInputFormat set before setFormatOptions call");
|
|
26
|
+
assert.strictEqual(this.oInputFormat, undefined);
|
|
27
|
+
});
|
|
28
|
+
var oSetConstraintsCall = this.mock(SimpleType.prototype).expects("setConstraints").withExactArgs({});
|
|
29
|
+
|
|
30
|
+
// code under test
|
|
23
31
|
var oType = new SimpleType();
|
|
24
32
|
|
|
25
33
|
assert.ok(oType instanceof Type, "is a Type");
|
|
26
34
|
assert.ok(oType instanceof SimpleType, "is a SimpleType");
|
|
27
35
|
assert.strictEqual(oType.getName(), "SimpleType", "type name");
|
|
28
|
-
assert.
|
|
29
|
-
assert.
|
|
36
|
+
assert.ok(oSetFormatOptionsCall.calledOn(oType));
|
|
37
|
+
assert.ok(oSetConstraintsCall.calledOn(oType));
|
|
30
38
|
});
|
|
31
39
|
|
|
32
40
|
//*********************************************************************************************
|
|
@@ -41,6 +49,12 @@ sap.ui.define([
|
|
|
41
49
|
assert.strictEqual(oType.oConstraints, oConstraints);
|
|
42
50
|
assert.strictEqual(oType.oFormatOptions, oFormatOptions);
|
|
43
51
|
|
|
52
|
+
// code under test
|
|
53
|
+
oType = new SimpleType();
|
|
54
|
+
|
|
55
|
+
assert.deepEqual(oType.oConstraints, {});
|
|
56
|
+
assert.deepEqual(oType.oFormatOptions, {});
|
|
57
|
+
|
|
44
58
|
// code under test
|
|
45
59
|
oType = new SimpleType(null, null);
|
|
46
60
|
|
|
@@ -1552,8 +1552,8 @@ sap.ui.define([
|
|
|
1552
1552
|
{constraints : {search : "ab"}, message : "String.Search"},
|
|
1553
1553
|
{constraints : {startsWith : "ab"}, message : "String.StartsWith ab"},
|
|
1554
1554
|
{constraints : {startsWithIgnoreCase : "ab"}, message : "String.StartsWith ab"}
|
|
1555
|
-
].forEach(function (oFixture) {
|
|
1556
|
-
QUnit.test("string validateValue with null, exception, " +
|
|
1555
|
+
].forEach(function (oFixture, i) {
|
|
1556
|
+
QUnit.test("string validateValue with null, exception, #" + i, function (assert) {
|
|
1557
1557
|
var oType = new StringType(null, oFixture.constraints);
|
|
1558
1558
|
|
|
1559
1559
|
TestUtils.withNormalizedMessages(function () {
|
|
@@ -2387,41 +2387,6 @@ sap.ui.define([
|
|
|
2387
2387
|
assert.deepEqual(oUnitType5.parseValue("", "string"), ["0", undefined], "0 is returned");
|
|
2388
2388
|
});
|
|
2389
2389
|
|
|
2390
|
-
QUnit.test("Multiple Unit-Instances with bound custom units and other distinct format options", function (assert) {
|
|
2391
|
-
// new Meter type
|
|
2392
|
-
var CustomUnitType = UnitType.extend("sap.ui.core.test.CustomUnitType", {
|
|
2393
|
-
constructor: function (oFormatOptions, oConstraints) {
|
|
2394
|
-
UnitType.apply(this, [oFormatOptions, oConstraints, ["customUnits"]]);
|
|
2395
|
-
}
|
|
2396
|
-
});
|
|
2397
|
-
|
|
2398
|
-
var oCustomUnitConfig = {
|
|
2399
|
-
"length-meter": {
|
|
2400
|
-
"unitPattern-count-one": "{0} m",
|
|
2401
|
-
"unitPattern-count-many": "{0} m",
|
|
2402
|
-
"unitPattern-count-other": "{0} m",
|
|
2403
|
-
"decimals": 4
|
|
2404
|
-
}
|
|
2405
|
-
};
|
|
2406
|
-
|
|
2407
|
-
var oCustomUnitTypeInstanceSpy = this.spy(NumberFormat, "getUnitInstance");
|
|
2408
|
-
|
|
2409
|
-
var oCustomUnitType = new CustomUnitType(/* showMeasure is true by default*/);
|
|
2410
|
-
var oCustomUnitType2 = new CustomUnitType({showMeasure: false});
|
|
2411
|
-
var oCustomUnitType3 = new CustomUnitType({showMeasure: false});
|
|
2412
|
-
|
|
2413
|
-
// straight forward case
|
|
2414
|
-
assert.strictEqual(oCustomUnitType.formatValue([123.456789, "length-meter", oCustomUnitConfig], "string"), "123.456789 m");
|
|
2415
|
-
assert.strictEqual(oCustomUnitTypeInstanceSpy.callCount, 1, "1st instance created");
|
|
2416
|
-
|
|
2417
|
-
// additional format options
|
|
2418
|
-
assert.strictEqual(oCustomUnitType2.formatValue([123.456789, "length-meter", oCustomUnitConfig], "string"), "123.456789", "formatted value respects the 'decimals' of custom unit");
|
|
2419
|
-
assert.strictEqual(oCustomUnitTypeInstanceSpy.callCount, 2, "2nd instance created, because of different format options");
|
|
2420
|
-
|
|
2421
|
-
assert.strictEqual(oCustomUnitType3.formatValue([123.456789, "length-meter", oCustomUnitConfig], "string"), "123.456789", "formatted value respects the 'decimals' of custom unit");
|
|
2422
|
-
assert.strictEqual(oCustomUnitTypeInstanceSpy.callCount, 2, "No additional instance is created, 2nd instance is taken from cache");
|
|
2423
|
-
});
|
|
2424
|
-
|
|
2425
2390
|
QUnit.test("unit parseValue with strict mode - CLDR (showMeasure=true)", function (assert) {
|
|
2426
2391
|
var oBundle = sap.ui.getCore().getLibraryResourceBundle();
|
|
2427
2392
|
var unitType = new UnitType({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ui/core/Popup",
|
|
5
|
-
"sap/base/
|
|
5
|
+
"sap/base/i18n/Localization",
|
|
6
6
|
"sap/base/util/Deferred",
|
|
7
7
|
"sap/ui/events/isMouseEventDelayed",
|
|
8
8
|
"sap/ui/Device",
|
|
@@ -14,14 +14,12 @@ sap.ui.define([
|
|
|
14
14
|
"sap/m/Panel",
|
|
15
15
|
"sap/m/Button",
|
|
16
16
|
"sap/m/Text",
|
|
17
|
-
"sap/ui/core/FocusHandler",
|
|
18
17
|
"sap/ui/core/ResizeHandler",
|
|
19
18
|
"sap/ui/dom/containsOrEquals",
|
|
20
|
-
"sap/ui/events/KeyCodes"
|
|
21
|
-
"sap/ui/core/Configuration"
|
|
19
|
+
"sap/ui/events/KeyCodes"
|
|
22
20
|
], function(
|
|
23
21
|
Popup,
|
|
24
|
-
|
|
22
|
+
Localization,
|
|
25
23
|
Deferred,
|
|
26
24
|
isMouseEventDelayed,
|
|
27
25
|
Device,
|
|
@@ -33,11 +31,9 @@ sap.ui.define([
|
|
|
33
31
|
Panel,
|
|
34
32
|
Button,
|
|
35
33
|
Text,
|
|
36
|
-
FocusHandler,
|
|
37
34
|
ResizeHandler,
|
|
38
35
|
containsOrEquals,
|
|
39
|
-
KeyCodes
|
|
40
|
-
Configuration
|
|
36
|
+
KeyCodes
|
|
41
37
|
){
|
|
42
38
|
"use strict";
|
|
43
39
|
|
|
@@ -2621,7 +2617,7 @@ sap.ui.define([
|
|
|
2621
2617
|
});
|
|
2622
2618
|
|
|
2623
2619
|
QUnit.test("RTL with 'my' set to 'CenterBottom', changing position again after popup is opened should work", function(assert) {
|
|
2624
|
-
var oStub = sinon.stub(
|
|
2620
|
+
var oStub = sinon.stub(Localization, "getRTL").callsFake(function() {
|
|
2625
2621
|
return true;
|
|
2626
2622
|
});
|
|
2627
2623
|
|
|
@@ -2846,7 +2842,7 @@ sap.ui.define([
|
|
|
2846
2842
|
oPopup2.destroy();
|
|
2847
2843
|
});
|
|
2848
2844
|
|
|
2849
|
-
if (!
|
|
2845
|
+
if (!Localization.getRTL()) {
|
|
2850
2846
|
// The test checks for "right" CSS proprety explicitly which isn't set in RTL mode
|
|
2851
2847
|
QUnit.test("Align the popup correctly in cases where position is more precisely than one pixel", function(assert){
|
|
2852
2848
|
var done = assert.async();
|
|
@@ -3306,7 +3302,7 @@ sap.ui.define([
|
|
|
3306
3302
|
return pPromise;
|
|
3307
3303
|
});
|
|
3308
3304
|
|
|
3309
|
-
if (!
|
|
3305
|
+
if (!Localization.getRTL()) {
|
|
3310
3306
|
// in RTL mode, the "top" CSS between blocklayer and within area has a difference of "0.5px", need further debug
|
|
3311
3307
|
// to check what causes the "0.5px"
|
|
3312
3308
|
// The test is currently disabled in RTL mode
|
|
@@ -1220,6 +1220,9 @@ sap.ui.define([
|
|
|
1220
1220
|
QUnit.test("resolve() re-uses the same instance", function (assert) {
|
|
1221
1221
|
// code under test
|
|
1222
1222
|
assert.strictEqual(SyncPromise.resolve(), SyncPromise.resolve(undefined));
|
|
1223
|
+
|
|
1224
|
+
// code under test
|
|
1225
|
+
assert.strictEqual(SyncPromise.resolve(null), SyncPromise.resolve(null));
|
|
1223
1226
|
});
|
|
1224
1227
|
|
|
1225
1228
|
//*********************************************************************************************
|
|
@@ -1232,4 +1235,4 @@ sap.ui.define([
|
|
|
1232
1235
|
//TODO Promise.race
|
|
1233
1236
|
//TODO treat rejection via RangeError, ReferenceError, SyntaxError(?), TypeError, URIError specially?!
|
|
1234
1237
|
// --> vReason instanceof Error && vReason.constructor !== Error
|
|
1235
|
-
// Error itself is often used during testing!
|
|
1238
|
+
// Error itself is often used during testing!
|
|
@@ -15,11 +15,13 @@ sap.ui.define([
|
|
|
15
15
|
"sap/ui/model/ChangeReason",
|
|
16
16
|
"sap/ui/model/Context",
|
|
17
17
|
"sap/ui/model/json/JSONModel",
|
|
18
|
+
// explicit import for type Boolean to resolve import issues with legacy-free UI5
|
|
19
|
+
"sap/ui/model/type/Boolean",
|
|
18
20
|
"sap/ui/performance/Measurement",
|
|
19
21
|
"sap/ui/util/XMLHelper"
|
|
20
22
|
], function (Log, ObjectPath, BindingParser, ManagedObject, SyncPromise, Component,
|
|
21
23
|
XMLTemplateProcessor, UI5Date, XMLPreprocessor, BindingMode, ChangeReason, Context,
|
|
22
|
-
JSONModel, Measurement, XMLHelper) {
|
|
24
|
+
JSONModel, _Boolean, Measurement, XMLHelper) {
|
|
23
25
|
/*global QUnit, sinon */
|
|
24
26
|
/*eslint consistent-this: 0, max-nested-callbacks: 0, no-loop-func: 0, no-warning-comments: 0*/
|
|
25
27
|
"use strict";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/* global QUnit, sinon */
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
+
"sap/base/config",
|
|
4
5
|
"jquery.sap.global", // provides jQuery.sap.Version
|
|
5
6
|
"sap/base/config/GlobalConfigurationProvider",
|
|
6
7
|
"sap/ui/core/Core",
|
|
7
8
|
"sap/ui/core/Configuration"
|
|
8
9
|
], function(
|
|
10
|
+
BaseConfig,
|
|
9
11
|
jQuery,
|
|
10
12
|
GlobalConfigurationProvider,
|
|
11
13
|
Core,
|
|
@@ -64,6 +66,7 @@ sap.ui.define([
|
|
|
64
66
|
});
|
|
65
67
|
|
|
66
68
|
function checkCompat(oConf, sText, sExp1, sExp2){
|
|
69
|
+
BaseConfig._.invalidate();
|
|
67
70
|
mConfigStubValues = oConf;
|
|
68
71
|
var dflt = jQuery.sap.Version(sExp1).toString();
|
|
69
72
|
assert.equal(Configuration.getCompatibilityVersion("").toString(), dflt, sText + ": Default (feature='')");
|
|
@@ -183,20 +183,25 @@ sap.ui.define([
|
|
|
183
183
|
QUnit.module("test measure rendering");
|
|
184
184
|
|
|
185
185
|
QUnit.test("render Button", function(assert) {
|
|
186
|
+
var done = assert.async();
|
|
186
187
|
assert.expect(4);
|
|
187
188
|
var oButton = new Button("B1",{text:"Test"});
|
|
188
189
|
oButton.placeAt("target1");
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
190
|
+
oButton.onAfterRendering = function() {
|
|
191
|
+
Button.prototype.onAfterRendering.apply(this, arguments);
|
|
192
|
+
var aMeasurements = jQuery.sap.measure.getAllMeasurements();
|
|
193
|
+
assert.ok(aMeasurements.length > 0, "Number of measurements > 0");
|
|
194
|
+
|
|
195
|
+
var oMeasurement = jQuery.sap.measure.getMeasurement("B1---AfterRendering");
|
|
196
|
+
assert.ok(oMeasurement, "Measurement for Button AfterRendering found");
|
|
197
|
+
oMeasurement = jQuery.sap.measure.getMeasurement("renderPendingUIUpdates");
|
|
198
|
+
assert.ok(oMeasurement, "Measurement for rendering all UIAreas found");
|
|
199
|
+
oMeasurement = jQuery.sap.measure.getMeasurement("target1---rerender");
|
|
200
|
+
assert.ok(oMeasurement, "Measurement for rendering UIArea found");
|
|
201
|
+
|
|
202
|
+
oButton.destroy();
|
|
203
|
+
done();
|
|
204
|
+
};
|
|
200
205
|
|
|
201
206
|
/*
|
|
202
207
|
* @evo-todo temp. disable test as JS resources are no longer loaded with jQuery.ajax
|
|
@@ -30,7 +30,7 @@ function(
|
|
|
30
30
|
|
|
31
31
|
var XML_VIEW =
|
|
32
32
|
'<mvc:View xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:form="sap.ui.layout.form">' +
|
|
33
|
-
'<form:SimpleForm id="testComponent---myView--myForm">' +
|
|
33
|
+
'<form:SimpleForm id="testComponent---myView--myForm" layout="ColumnLayout">' +
|
|
34
34
|
'<Title id="testComponent---myView--myGroup" />' +
|
|
35
35
|
'<Input id="testComponent---myView--myGroupElement" />' +
|
|
36
36
|
'</form:SimpleForm>' +
|
|
@@ -11,10 +11,9 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/model/Sorter",
|
|
12
12
|
"sap/ui/model/xml/XMLListBinding",
|
|
13
13
|
"sap/ui/model/xml/XMLModel",
|
|
14
|
-
"sap/ui/test/TestUtils",
|
|
15
14
|
"sap/ui/thirdparty/jquery"
|
|
16
15
|
], function(Log, Device, ChangeReason, ClientListBinding, Filter, FilterOperator, Sorter,
|
|
17
|
-
XMLListBinding, XMLModel,
|
|
16
|
+
XMLListBinding, XMLModel, jQuery) {
|
|
18
17
|
/*global QUnit */
|
|
19
18
|
"use strict";
|
|
20
19
|
|
|
@@ -77,7 +76,6 @@ sap.ui.define([
|
|
|
77
76
|
},
|
|
78
77
|
afterEach: function() {
|
|
79
78
|
this.oModel.destroy();
|
|
80
|
-
return TestUtils.awaitRendering();
|
|
81
79
|
},
|
|
82
80
|
createListBinding: function(sPath, oContext){
|
|
83
81
|
// create binding
|
|
@@ -10,23 +10,13 @@ sap.ui.define([
|
|
|
10
10
|
], function(Label, List, StandardListItem, VerticalLayout, XMLModel, Context, jQuery) {
|
|
11
11
|
"use strict";
|
|
12
12
|
|
|
13
|
-
var oLabel, oLayout, oModel, oModelChild,
|
|
13
|
+
var oLabel, oLayout, oModel, oModelChild, aTestData, aTestDataChild;
|
|
14
14
|
|
|
15
15
|
function cleanUp(){
|
|
16
|
-
document.body.removeChild(oTarget1);
|
|
17
|
-
document.body.removeChild(oTarget2);
|
|
18
16
|
oLabel.destroy();
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
function setup(){
|
|
22
|
-
// add divs for control tests
|
|
23
|
-
oTarget1 = document.createElement("div");
|
|
24
|
-
oTarget1.id = "target1";
|
|
25
|
-
document.body.appendChild(oTarget1);
|
|
26
|
-
oTarget2 = document.createElement("div");
|
|
27
|
-
oTarget2.id = "target2";
|
|
28
|
-
document.body.appendChild(oTarget2);
|
|
29
|
-
|
|
30
20
|
aTestData =
|
|
31
21
|
"<teamMembers>" +
|
|
32
22
|
"<member firstName=\"Andreas\" lastName=\"Klark\"></member>" +
|
|
@@ -57,7 +47,7 @@ sap.ui.define([
|
|
|
57
47
|
oLayout = new VerticalLayout();
|
|
58
48
|
oLabel = new Label("myLabel");
|
|
59
49
|
oLabel.setText("testText");
|
|
60
|
-
oLabel.placeAt("
|
|
50
|
+
oLabel.placeAt("qunit-fixture");
|
|
61
51
|
}
|
|
62
52
|
|
|
63
53
|
QUnit.module("sap.ui.model.xml.XMLModel", {
|
|
@@ -195,7 +185,7 @@ sap.ui.define([
|
|
|
195
185
|
var oLB = new List("myLb"),
|
|
196
186
|
oItemTemplate = new StandardListItem();
|
|
197
187
|
|
|
198
|
-
oLB.placeAt("
|
|
188
|
+
oLB.placeAt("qunit-fixture");
|
|
199
189
|
oItemTemplate.bindProperty("title", "@firstName").bindProperty("description", "@lastName");
|
|
200
190
|
oLB.bindAggregation("items", "/member", oItemTemplate);
|
|
201
191
|
|
|
@@ -212,7 +202,7 @@ sap.ui.define([
|
|
|
212
202
|
assert.equal(item.getDescription(), oModel.getProperty("/member/" + i + "/@lastName"),
|
|
213
203
|
"lastname check");
|
|
214
204
|
});
|
|
215
|
-
|
|
205
|
+
oLB.destroy();
|
|
216
206
|
});
|
|
217
207
|
|
|
218
208
|
QUnit.test("test XMLModel XML constructor", function(assert) {
|
|
@@ -33,10 +33,6 @@ sap.ui.define([
|
|
|
33
33
|
"</values>" +
|
|
34
34
|
"</root>";
|
|
35
35
|
|
|
36
|
-
var oContentDIV = document.createElement("div");
|
|
37
|
-
oContentDIV.id = "target1";
|
|
38
|
-
document.body.appendChild(oContentDIV);
|
|
39
|
-
|
|
40
36
|
QUnit.module("sap.ui.model.xml.XMLPropertyBinding", {
|
|
41
37
|
beforeEach: function() {
|
|
42
38
|
// reset bindings
|
|
@@ -146,7 +142,7 @@ sap.ui.define([
|
|
|
146
142
|
var oInput = new Input({
|
|
147
143
|
value: "{/name}"
|
|
148
144
|
});
|
|
149
|
-
oInput.placeAt("
|
|
145
|
+
oInput.placeAt("qunit-fixture");
|
|
150
146
|
oInput.attachChange(function() {
|
|
151
147
|
assert.ok(false, "should not land here!");
|
|
152
148
|
});
|
|
@@ -176,7 +172,7 @@ sap.ui.define([
|
|
|
176
172
|
var oInput = new Input({
|
|
177
173
|
value: "{/name}"
|
|
178
174
|
});
|
|
179
|
-
oInput.placeAt("
|
|
175
|
+
oInput.placeAt("qunit-fixture");
|
|
180
176
|
oInput.attachChange(this, function() {
|
|
181
177
|
assert.ok(false, "should not land here!");
|
|
182
178
|
});
|
|
@@ -207,7 +203,7 @@ sap.ui.define([
|
|
|
207
203
|
var oInput = new Input({
|
|
208
204
|
value: "{/name}"
|
|
209
205
|
});
|
|
210
|
-
oInput.placeAt("
|
|
206
|
+
oInput.placeAt("qunit-fixture");
|
|
211
207
|
oInput.attachChange(this, function() {
|
|
212
208
|
assert.ok(false, "should not land here!");
|
|
213
209
|
});
|
|
@@ -246,7 +242,7 @@ sap.ui.define([
|
|
|
246
242
|
var oInput = new Input({
|
|
247
243
|
value: "{/name}"
|
|
248
244
|
});
|
|
249
|
-
oInput.placeAt("
|
|
245
|
+
oInput.placeAt("qunit-fixture");
|
|
250
246
|
oInput.attachChange(this, function() {
|
|
251
247
|
assert.ok(false, "should not land here!");
|
|
252
248
|
});
|
|
@@ -281,7 +277,7 @@ sap.ui.define([
|
|
|
281
277
|
var oInput = new Input({
|
|
282
278
|
value: "{/name}"
|
|
283
279
|
});
|
|
284
|
-
oInput.placeAt("
|
|
280
|
+
oInput.placeAt("qunit-fixture");
|
|
285
281
|
this.oModel.attachPropertyChange(this, function(oEvent){
|
|
286
282
|
var sPath = oEvent.getParameter('path');
|
|
287
283
|
var oContext = oEvent.getParameter('context');
|
|
@@ -307,7 +303,7 @@ sap.ui.define([
|
|
|
307
303
|
var oInput = new Input({
|
|
308
304
|
value: "{@firstName}"
|
|
309
305
|
});
|
|
310
|
-
oInput.placeAt("
|
|
306
|
+
oInput.placeAt("qunit-fixture");
|
|
311
307
|
this.oModel.attachPropertyChange(this, function(oEvent){
|
|
312
308
|
var sPath = oEvent.getParameter('path');
|
|
313
309
|
var oContext = oEvent.getParameter('context');
|
|
@@ -335,7 +331,7 @@ sap.ui.define([
|
|
|
335
331
|
value: "{@firstName}"
|
|
336
332
|
});
|
|
337
333
|
var iCount = 0;
|
|
338
|
-
oInput.placeAt("
|
|
334
|
+
oInput.placeAt("qunit-fixture");
|
|
339
335
|
this.oModel.attachPropertyChange(this, function(oEvent){
|
|
340
336
|
iCount++;
|
|
341
337
|
var sPath = oEvent.getParameter('path');
|
|
@@ -129,7 +129,7 @@ sap.ui.define([
|
|
|
129
129
|
|
|
130
130
|
});
|
|
131
131
|
|
|
132
|
-
QUnit.test("TreeBinding getRootContexts getNodeContexts", function(assert) {
|
|
132
|
+
QUnit.test("TreeBinding getRootContexts getNodeContexts setXML", function(assert) {
|
|
133
133
|
var treeBinding = this.createTreeBinding("/orgStructure"),
|
|
134
134
|
contexts,
|
|
135
135
|
context;
|
|
@@ -19,10 +19,6 @@ sap.ui.define([
|
|
|
19
19
|
"<member firstName=\"Flash\" lastName=\"Gordon\"> </member>" +
|
|
20
20
|
"</clients> </root>";
|
|
21
21
|
|
|
22
|
-
var oContentDIV = document.createElement("div");
|
|
23
|
-
oContentDIV.id = "target1";
|
|
24
|
-
document.body.appendChild(oContentDIV);
|
|
25
|
-
|
|
26
22
|
QUnit.module("sap.ui.model.xml.XMLModel: BindingMode", {
|
|
27
23
|
beforeEach: function() {
|
|
28
24
|
this.oModel = new XMLModel();
|
|
@@ -49,7 +45,7 @@ sap.ui.define([
|
|
|
49
45
|
for (i = 0; i < 7; i++){
|
|
50
46
|
oInput = new Input();
|
|
51
47
|
oInput.bindProperty(sName, "/clients/member/" + i + "/" + property, null, sMode);
|
|
52
|
-
oInput.placeAt("
|
|
48
|
+
oInput.placeAt("qunit-fixture");
|
|
53
49
|
aInputs.push(oInput);
|
|
54
50
|
}
|
|
55
51
|
|
|
@@ -177,7 +173,7 @@ sap.ui.define([
|
|
|
177
173
|
var oInput = new Input();
|
|
178
174
|
oInput.bindProperty("value", "/clients/member/0/@lastName");
|
|
179
175
|
oInput.bindProperty("enabled", "model2>/test/0/enabled");
|
|
180
|
-
oInput.placeAt("
|
|
176
|
+
oInput.placeAt("qunit-fixture");
|
|
181
177
|
|
|
182
178
|
var oValue = this.oModel.getProperty("/clients/member/0/@lastName");
|
|
183
179
|
assert.equal(oValue, "Duck", "old value check");
|
|
@@ -214,7 +210,7 @@ sap.ui.define([
|
|
|
214
210
|
var oInput = new Input();
|
|
215
211
|
oInput.bindProperty("value", "/clients/member/0/@lastName");
|
|
216
212
|
oInput.bindProperty("enabled", "model2>/test/0/enabled");
|
|
217
|
-
oInput.placeAt("
|
|
213
|
+
oInput.placeAt("qunit-fixture");
|
|
218
214
|
|
|
219
215
|
var oValue = this.oModel.getProperty("/clients/member/0/@lastName");
|
|
220
216
|
assert.equal(oValue, "Duck", "old value check");
|
|
@@ -1,43 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1.115.0": {
|
|
3
|
-
"date": "
|
|
3
|
+
"date": "May 2023",
|
|
4
4
|
"notes": [
|
|
5
|
-
{
|
|
6
|
-
"id": "497aefe269dc0664c793bec43902635308b82056",
|
|
7
|
-
"type": "FIX",
|
|
8
|
-
"text": " sap.ui.model.odata.v2.ODataModel#_isReloadNeeded: Avoid reload of created expanded entity",
|
|
9
|
-
"references": [
|
|
10
|
-
{
|
|
11
|
-
"type": "BCP",
|
|
12
|
-
"reference": "2370052919"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"id": "fb55ba40404a9bff7206a91d0f95b147ec16221a",
|
|
18
|
-
"type": "FEATURE",
|
|
19
|
-
"text": " sap.ui.model.odata.type.Single: format option parseEmptyValueToZero"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"id": "d28bb22a610910ea2fd37994824a939fd1de84c9",
|
|
23
|
-
"type": "FEATURE",
|
|
24
|
-
"text": " sap.ui.model.odata.type.Int64: format option parseEmptyValueToZero"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"id": "26a20983568ca15d607e2b7d4f2f0126f85a020a",
|
|
28
|
-
"type": "FEATURE",
|
|
29
|
-
"text": " sap.ui.model.odata.type.Int/Int16/Int32/SByte/Byte: format option parseEmptyValueToZero"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "d5115d1213c9b3605be3d7521e6c1038fd3aea6b",
|
|
33
|
-
"type": "FEATURE",
|
|
34
|
-
"text": " sap.ui.model.odata.type.Double: format option parseEmptyValueToZero"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"id": "acf5d14815e8dce22d3976fca03612f1a6a2694a",
|
|
38
|
-
"type": "FEATURE",
|
|
39
|
-
"text": " sap.ui.model.odata.type.Decimal: format option parseEmptyValueToZero"
|
|
40
|
-
},
|
|
41
5
|
{
|
|
42
6
|
"id": "ee4f07bdcb8f6f0aaeca54c9195059cff86fa7c2",
|
|
43
7
|
"type": "FIX",
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"1.116.0": {
|
|
3
|
+
"date": "June 2023",
|
|
4
|
+
"notes": [
|
|
5
|
+
{
|
|
6
|
+
"id": "667f1b33bc3c450b72df9355741f1e1f9609eb40",
|
|
7
|
+
"type": "FIX",
|
|
8
|
+
"text": " Core.attachInitEvent not working",
|
|
9
|
+
"references": [
|
|
10
|
+
{
|
|
11
|
+
"type": "BCP",
|
|
12
|
+
"reference": "2380078824"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "BCP",
|
|
16
|
+
"reference": "2380078825"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "e9e77d4026a172f48246c219ea789b6093dc4ae7",
|
|
22
|
+
"type": "FEATURE",
|
|
23
|
+
"text": " sap.ui.core.IconPool: Update icon font v5.05 and v4.17"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "f65f3a1b525fa9eb6960303f5ec67f5e93ef4d2b",
|
|
27
|
+
"type": "FIX",
|
|
28
|
+
"text": " sap.ui.model.odata.type.DateTimeBase: fix formatting and parsing of dates",
|
|
29
|
+
"references": [
|
|
30
|
+
{
|
|
31
|
+
"type": "BCP",
|
|
32
|
+
"reference": "2380066657"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "3021cc8c6a8f4e3fcd553b8710fe25b95dfaf522",
|
|
38
|
+
"type": "FIX",
|
|
39
|
+
"text": " ManagedObjectModel: getEntryKey fall back to getEntryData",
|
|
40
|
+
"references": [
|
|
41
|
+
{
|
|
42
|
+
"type": "BCP",
|
|
43
|
+
"reference": "2380067347"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "e8833e66b92fd5bcedf9d8fbe601799e41d25eff",
|
|
49
|
+
"type": "FIX",
|
|
50
|
+
"text": " caja-html-sanitizer: properly handle fixed numeric font weights",
|
|
51
|
+
"references": [
|
|
52
|
+
{
|
|
53
|
+
"type": "BCP",
|
|
54
|
+
"reference": "2380058937"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "f34d28d3cbe41cc04e13bc106a462637d3c02963",
|
|
60
|
+
"type": "FIX",
|
|
61
|
+
"text": " sap/ui/util/Mobile: Prevent overwriting existing meta tag",
|
|
62
|
+
"references": [
|
|
63
|
+
{
|
|
64
|
+
"type": "BCP",
|
|
65
|
+
"reference": "2370034490"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|