@openui5/sap.ui.core 1.116.0 → 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/.eslintrc.json +1 -22
- 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 +4 -4
- package/src/sap/base/Eventing.js +5 -6
- package/src/sap/base/config/MemoryConfigurationProvider.js +10 -1
- package/src/sap/base/config.js +3 -2
- package/src/sap/base/i18n/Formatting.js +30 -32
- package/src/sap/base/i18n/LanguageTag.js +2 -2
- package/src/sap/base/i18n/Localization.js +19 -20
- package/src/sap/base/i18n/date/CalendarType.js +1 -1
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- 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 +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +2 -4
- package/src/sap/ui/base/ManagedObjectMetadata.js +4 -6
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +2 -2
- package/src/sap/ui/core/AnimationMode.js +1 -1
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/ConfigTest.js +17 -0
- package/src/sap/ui/core/Configuration.js +2 -14
- package/src/sap/ui/core/Control.js +4 -1
- package/src/sap/ui/core/ControlBehavior.js +2 -2
- package/src/sap/ui/core/Core.js +3 -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 +1 -1
- 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 +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +17 -16
- 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 +5 -2
- package/src/sap/ui/core/LocaleData.js +12 -4
- 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 +1 -1
- package/src/sap/ui/core/Theming.js +16 -9
- 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 +27 -5
- package/src/sap/ui/core/_IconRegistry.js +82 -11
- 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/UI5Date.js +9 -3
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +13 -12
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- 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 +43 -41
- package/src/sap/ui/core/messagebundle_cy.properties +58 -56
- package/src/sap/ui/core/messagebundle_da.properties +56 -54
- package/src/sap/ui/core/messagebundle_de.properties +58 -56
- package/src/sap/ui/core/messagebundle_el.properties +47 -45
- package/src/sap/ui/core/messagebundle_en.properties +58 -56
- package/src/sap/ui/core/messagebundle_en_GB.properties +58 -56
- 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 +47 -45
- package/src/sap/ui/core/messagebundle_es_MX.properties +57 -55
- package/src/sap/ui/core/messagebundle_et.properties +54 -52
- 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 +58 -56
- package/src/sap/ui/core/messagebundle_it.properties +59 -57
- package/src/sap/ui/core/messagebundle_iw.properties +58 -56
- package/src/sap/ui/core/messagebundle_ja.properties +50 -48
- package/src/sap/ui/core/messagebundle_kk.properties +43 -41
- package/src/sap/ui/core/messagebundle_ko.properties +19 -17
- package/src/sap/ui/core/messagebundle_lt.properties +58 -56
- package/src/sap/ui/core/messagebundle_lv.properties +58 -56
- package/src/sap/ui/core/messagebundle_ms.properties +58 -56
- package/src/sap/ui/core/messagebundle_nl.properties +57 -55
- package/src/sap/ui/core/messagebundle_no.properties +55 -53
- package/src/sap/ui/core/messagebundle_pl.properties +55 -53
- package/src/sap/ui/core/messagebundle_pt.properties +57 -55
- package/src/sap/ui/core/messagebundle_pt_PT.properties +57 -55
- package/src/sap/ui/core/messagebundle_ro.properties +58 -56
- package/src/sap/ui/core/messagebundle_ru.properties +57 -55
- package/src/sap/ui/core/messagebundle_sh.properties +58 -56
- 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 +17 -15
- package/src/sap/ui/core/messagebundle_tr.properties +58 -56
- package/src/sap/ui/core/messagebundle_uk.properties +58 -56
- package/src/sap/ui/core/messagebundle_vi.properties +58 -56
- 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 +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/rules/Misc.support.js +1 -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/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/Icon.less +2 -2
- package/src/sap/ui/core/theming/Parameters.js +0 -5
- package/src/sap/ui/core/theming/ThemeManager.js +3 -4
- 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 +4 -5
- 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/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/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/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/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 +2 -1
- 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 +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +2 -2
- 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 +33 -30
- package/src/sap/ui/model/odata/v4/ODataBinding.js +18 -14
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +12 -12
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +110 -43
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -28
- package/src/sap/ui/model/odata/v4/ODataModel.js +40 -31
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +8 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +14 -14
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +93 -9
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +25 -27
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +58 -195
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +157 -0
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +14 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +27 -15
- 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/TestUtils.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/matchers/_Visitor.js +6 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +2 -5
- package/src/sap/ui/thirdparty/qunit-2.js +9 -3
- package/src/sap/ui/util/Mobile.js +10 -6
- 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 +147 -75
- package/src/ui5loader.js +322 -362
- package/test/sap/ui/core/Device.js +1 -1
- package/test/sap/ui/core/demokit/sample/OpaAction/applicationUnderTest/view/Main.view.xml +1 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +2 -2
- 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/DeepCreate/Opa.qunit.js +2 -1
- 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/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_V4/Opa.qunit.js +2 -1
- 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/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/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/qunit/IconPool.qunit.js +53 -4
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +43 -5
- package/test/sap/ui/core/qunit/Theming.qunit.js +19 -1
- package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +510 -185
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +80 -10
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +20 -29
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +18 -1
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +15 -13
- package/test/sap/ui/core/qunit/base/i18n/Localization.qunit.js +35 -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 +71 -35
- package/test/sap/ui/core/qunit/component/Models.qunit.js +5 -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/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +48 -13
- package/test/sap/ui/core/qunit/i18n/UI5Date.qunit.js +16 -4
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +73 -103
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +34 -39
- 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/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/testsuite.loader.qunit.js +0 -3
- package/test/sap/ui/core/qunit/model/FAR_CUSTOMER_LINE_ITEMS.metadata.xml +2 -0
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +51 -0
- 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/ODataMetadataNoFakeService.qunit.js +68 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +232 -37
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +10 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +33 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +5 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +186 -65
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +17 -66
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +528 -60
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +48 -8
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +0 -3
- 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 +148 -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 +196 -404
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +201 -2
- 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 +21 -4
- 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/routing/fixture/Async1.view.xml +1 -1
- 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.theming.qunit.js +2 -2
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +1222 -1201
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +7 -11
- 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/reflection/BaseTreeModifier.qunit.js +1 -1
- package/test/sap/ui/core/relnotes/changes-1.116.json +1 -12
- package/test/sap/ui/core/relnotes/changes-1.117.json +127 -0
- package/test/sap/ui/core/visual/images/HyphenationPlayground/windows/1600x1200/chrome/horizon/ltr/cozy/19_thirdParty_language_sl.ref.lnk +1 -1
- package/ui5.yaml +165 -0
- 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
|
@@ -121,7 +121,7 @@ sap.ui.define([
|
|
|
121
121
|
|
|
122
122
|
function printProperties(printObject, sPrintHeader) {
|
|
123
123
|
for (var property in printObject) {
|
|
124
|
-
if (
|
|
124
|
+
if (Object.hasOwn(printObject, property)) {
|
|
125
125
|
var value = printObject[property];
|
|
126
126
|
if (typeof value !== 'function') {
|
|
127
127
|
if (sPrintHeader) {
|
|
@@ -11,9 +11,9 @@ sap.ui.define([
|
|
|
11
11
|
return Controller.extend("sap.ui.core.sample.ViewTemplate.types.Template", {
|
|
12
12
|
onBeforeRendering : function () {
|
|
13
13
|
Element.registry.forEach(function (oElement) {
|
|
14
|
-
var oBinding = oElement.getBinding("value")
|
|
14
|
+
var oBinding = oElement.getBinding("value");
|
|
15
15
|
|
|
16
|
-
if (oElement.isA("sap.m.
|
|
16
|
+
if (oElement.isA("sap.m.Input") && oBinding && oBinding.getType()
|
|
17
17
|
&& oBinding.getType().getPlaceholderText) {
|
|
18
18
|
oElement.setPlaceholder(oBinding.getType().getPlaceholderText());
|
|
19
19
|
}
|
|
@@ -18,11 +18,30 @@
|
|
|
18
18
|
reloadSingleUnitMeasures : false
|
|
19
19
|
}}" threshold="5" title="Auto-Expanded Analytical Table" visibleRowCount="5" >
|
|
20
20
|
<columns>
|
|
21
|
-
<AnalyticalColumn leadingProperty="CustomerName"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
<AnalyticalColumn leadingProperty="CustomerName">
|
|
22
|
+
<m:Label text="Customer Name"/>
|
|
23
|
+
<template>
|
|
24
|
+
<m:Text text="{CustomerName}" wrapping="false" />
|
|
25
|
+
</template>
|
|
26
|
+
</AnalyticalColumn>
|
|
27
|
+
<AnalyticalColumn grouped="true" leadingProperty="CompanyCode">
|
|
28
|
+
<m:Label text="Company Code"/>
|
|
29
|
+
<template>
|
|
30
|
+
<m:Text text="{CompanyCode}" wrapping="false" />
|
|
31
|
+
</template>
|
|
32
|
+
</AnalyticalColumn>
|
|
33
|
+
<AnalyticalColumn summed="true" leadingProperty="AmountInCompanyCodeCurrency">
|
|
34
|
+
<m:Label text="Amount In Company Code Currency"/>
|
|
35
|
+
<template>
|
|
36
|
+
<m:Text text="{AmountInCompanyCodeCurrency}" wrapping="false" />
|
|
37
|
+
</template>
|
|
38
|
+
</AnalyticalColumn>
|
|
39
|
+
<AnalyticalColumn leadingProperty="CompanyCodeCurrency">
|
|
40
|
+
<m:Label text="Company Code Currency"/>
|
|
41
|
+
<template>
|
|
42
|
+
<m:Text text="{CompanyCodeCurrency}" wrapping="false" />
|
|
43
|
+
</template>
|
|
44
|
+
</AnalyticalColumn>
|
|
26
45
|
</columns>
|
|
27
46
|
</AnalyticalTable>
|
|
28
47
|
</mvc:View>
|
|
@@ -18,23 +18,41 @@
|
|
|
18
18
|
value="{ui>/sFilter}" width="40%"/>
|
|
19
19
|
</m:Toolbar>
|
|
20
20
|
</extension>
|
|
21
|
-
<Column
|
|
21
|
+
<Column>
|
|
22
22
|
<m:Label text="ID"/>
|
|
23
|
+
<template>
|
|
24
|
+
<m:Text text="{id}" wrapping="false"/>
|
|
25
|
+
</template>
|
|
23
26
|
</Column>
|
|
24
|
-
<Column
|
|
27
|
+
<Column>
|
|
25
28
|
<m:Label text="Parent's ID"/>
|
|
29
|
+
<template>
|
|
30
|
+
<m:Text text="{my_parent_id}" wrapping="false"/>
|
|
31
|
+
</template>
|
|
26
32
|
</Column>
|
|
27
|
-
<Column
|
|
33
|
+
<Column>
|
|
28
34
|
<m:Label text="First Name"/>
|
|
35
|
+
<template>
|
|
36
|
+
<m:Text text="{first_name}" wrapping="false"/>
|
|
37
|
+
</template>
|
|
29
38
|
</Column>
|
|
30
|
-
<Column
|
|
39
|
+
<Column>
|
|
31
40
|
<m:Label text="Last Name"/>
|
|
41
|
+
<template>
|
|
42
|
+
<m:Text text="{last_name}" wrapping="false"/>
|
|
43
|
+
</template>
|
|
32
44
|
</Column>
|
|
33
|
-
<Column
|
|
45
|
+
<Column>
|
|
34
46
|
<m:Button icon="{ui>/sIcon}" iconFirst="false" press="onSort" text="Date Of Birth"/>
|
|
47
|
+
<template>
|
|
48
|
+
<m:Text text="{date_of_birth}" wrapping="false"/>
|
|
49
|
+
</template>
|
|
35
50
|
</Column>
|
|
36
|
-
<Column
|
|
51
|
+
<Column>
|
|
37
52
|
<m:Label text="Hobby"/>
|
|
53
|
+
<template>
|
|
54
|
+
<m:Text text="{hobby}" wrapping="false"/>
|
|
55
|
+
</template>
|
|
38
56
|
</Column>
|
|
39
57
|
</TreeTable>
|
|
40
58
|
|
|
@@ -54,17 +54,29 @@
|
|
|
54
54
|
/>
|
|
55
55
|
</template>
|
|
56
56
|
</Column>
|
|
57
|
-
<Column
|
|
57
|
+
<Column>
|
|
58
58
|
<m:Label text="Country"/>
|
|
59
|
+
<template>
|
|
60
|
+
<m:Text text="{Country}" wrapping="false"/>
|
|
61
|
+
</template>
|
|
59
62
|
</Column>
|
|
60
|
-
<Column
|
|
63
|
+
<Column>
|
|
61
64
|
<m:Label text="Region"/>
|
|
65
|
+
<template>
|
|
66
|
+
<m:Text text="{Region}" wrapping="false"/>
|
|
67
|
+
</template>
|
|
62
68
|
</Column>
|
|
63
|
-
<Column
|
|
69
|
+
<Column>
|
|
64
70
|
<m:Label text="Segment"/>
|
|
71
|
+
<template>
|
|
72
|
+
<m:Text text="{Segment}" wrapping="false"/>
|
|
73
|
+
</template>
|
|
65
74
|
</Column>
|
|
66
|
-
<Column
|
|
75
|
+
<Column>
|
|
67
76
|
<m:Label text="Account Responsible"/>
|
|
77
|
+
<template>
|
|
78
|
+
<m:Text text="{AccountResponsible}" wrapping="false"/>
|
|
79
|
+
</template>
|
|
68
80
|
</Column>
|
|
69
81
|
<Column hAlign="End">
|
|
70
82
|
<m:Label text="Sales Amount"/>
|
|
@@ -80,8 +92,11 @@
|
|
|
80
92
|
}" wrapping="false"/>
|
|
81
93
|
</template>
|
|
82
94
|
</Column>
|
|
83
|
-
<Column
|
|
95
|
+
<Column>
|
|
84
96
|
<m:Label text="Local Currency"/>
|
|
97
|
+
<template>
|
|
98
|
+
<m:Text text="{LocalCurrency}" wrapping="false"/>
|
|
99
|
+
</template>
|
|
85
100
|
</Column>
|
|
86
101
|
<Column hAlign="End">
|
|
87
102
|
<template>
|
|
@@ -10,7 +10,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
10
10
|
"sap/ui/core/sample/common/Helper",
|
|
11
11
|
"sap/ui/core/sample/odata/v4/DataAggregation/tests/expandPageCollapse",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/DataAggregation/tests/filter",
|
|
13
|
-
"sap/ui/test/opaQunit"
|
|
13
|
+
"sap/ui/test/opaQunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/DataAggregation/SandboxModel" // preload only
|
|
14
15
|
], function (Helper, expandPageCollapse, filter, opaTest) {
|
|
15
16
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.DataAggregation");
|
|
16
17
|
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/odata/v4/DeepCreate/pages/Main",
|
|
12
12
|
"sap/ui/test/Opa",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/DeepCreate/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, Opa, opaTest, TestUtils) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.DeepCreate");
|
|
17
18
|
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/Draft/pages/Main",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/Draft/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
16
17
|
/*
|
|
17
18
|
* The actual test run.
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/FieldGroups/pages/Main",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/FieldGroups/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.FieldGroups");
|
|
17
18
|
|
package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.view.xml
CHANGED
|
@@ -65,8 +65,11 @@
|
|
|
65
65
|
visible="{ui>/bRealOData}" width="50%" search="onFilterGrid"/>
|
|
66
66
|
</Toolbar>
|
|
67
67
|
</table:extension>
|
|
68
|
-
<table:Column
|
|
68
|
+
<table:Column>
|
|
69
69
|
<Label text="Region"/>
|
|
70
|
+
<table:template>
|
|
71
|
+
<Text text="{Region}"/>
|
|
72
|
+
</table:template>
|
|
70
73
|
</table:Column>
|
|
71
74
|
<table:Column hAlign="End">
|
|
72
75
|
<Label text="Amount Per Sale"/>
|
|
@@ -18,7 +18,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
18
18
|
"sap/ui/core/sample/common/pages/Any",
|
|
19
19
|
"sap/ui/core/sample/odata/v4/FlexibleColumnLayout/pages/Main",
|
|
20
20
|
"sap/ui/test/opaQunit",
|
|
21
|
-
"sap/ui/test/TestUtils"
|
|
21
|
+
"sap/ui/test/TestUtils",
|
|
22
|
+
"sap/ui/core/sample/odata/v4/FlexibleColumnLayout/SandboxModel" // preload only
|
|
22
23
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
23
24
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.FlexibleColumnLayout");
|
|
24
25
|
|
|
@@ -15,11 +15,17 @@
|
|
|
15
15
|
<m:Button icon="sap-icon://synchronize" press="onSynchronize" tooltip="Synchronize"/>
|
|
16
16
|
</m:Toolbar>
|
|
17
17
|
</extension>
|
|
18
|
-
<Column
|
|
18
|
+
<Column>
|
|
19
19
|
<m:Label text="ID"/>
|
|
20
|
+
<template>
|
|
21
|
+
<m:Text text="{ID}" wrapping="false"/>
|
|
22
|
+
</template>
|
|
20
23
|
</Column>
|
|
21
|
-
<Column
|
|
24
|
+
<Column>
|
|
22
25
|
<m:Label text="Manager's ID"/>
|
|
26
|
+
<template>
|
|
27
|
+
<m:Text text="{MANAGER_ID}" wrapping="false"/>
|
|
28
|
+
</template>
|
|
23
29
|
</Column>
|
|
24
30
|
<Column>
|
|
25
31
|
<m:Label text="Name"/>
|
|
@@ -27,8 +33,11 @@
|
|
|
27
33
|
<m:Input value="{Name}" change="onNameChanged"/>
|
|
28
34
|
</template>
|
|
29
35
|
</Column>
|
|
30
|
-
<Column
|
|
36
|
+
<Column>
|
|
31
37
|
<m:Label text="Age"/>
|
|
38
|
+
<template>
|
|
39
|
+
<m:Text text="{AGE}" wrapping="false"/>
|
|
40
|
+
</template>
|
|
32
41
|
</Column>
|
|
33
42
|
</Table>
|
|
34
43
|
</mvc:View>
|
|
@@ -14,12 +14,13 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/core/sample/common/Controller",
|
|
15
15
|
"sap/ui/core/Title",
|
|
16
16
|
"sap/ui/core/date/UI5Date",
|
|
17
|
+
"sap/ui/layout/form/ColumnLayout",
|
|
17
18
|
"sap/ui/layout/form/SimpleForm",
|
|
18
19
|
"sap/ui/model/Sorter",
|
|
19
20
|
"sap/ui/model/odata/v4/ODataModel",
|
|
20
21
|
"sap/ui/test/TestUtils"
|
|
21
22
|
], function (UriParameters, Button, mobileLibrary, Dialog, Input, Label, MessageToast, Text,
|
|
22
|
-
Controller, Title, UI5Date, SimpleForm, Sorter, ODataModel, TestUtils) {
|
|
23
|
+
Controller, Title, UI5Date, _ColumnLayout, SimpleForm, Sorter, ODataModel, TestUtils) {
|
|
23
24
|
"use strict";
|
|
24
25
|
|
|
25
26
|
// shortcut for sap.m.ButtonType
|
package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js
CHANGED
|
@@ -12,7 +12,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
12
12
|
"sap/ui/core/sample/common/pages/Any",
|
|
13
13
|
"sap/ui/core/sample/odata/v4/LateProperties/pages/Main",
|
|
14
14
|
"sap/ui/model/odata/v4/ODataModel",
|
|
15
|
-
"sap/ui/test/opaQunit"
|
|
15
|
+
"sap/ui/test/opaQunit",
|
|
16
|
+
"sap/ui/core/sample/odata/v4/LateProperties/SandboxModel" // preload only
|
|
16
17
|
], function (Log, CacheManager, Any, Main, ODataModel, opaTest) {
|
|
17
18
|
var sDefaultLanguage = sap.ui.getCore().getConfiguration().getLanguage(),
|
|
18
19
|
oSkipPromise = new Promise(function (fnResolve) {
|
|
@@ -10,7 +10,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
10
10
|
"sap/ui/core/sample/common/Helper",
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/LateProperties/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit"
|
|
13
|
+
"sap/ui/test/opaQunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/LateProperties/SandboxModel" // preload only
|
|
14
15
|
], function (Helper, Any, Main, opaTest) {
|
|
15
16
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.LateProperties");
|
|
16
17
|
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/ListBinding/pages/Main",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/ListBinding/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.ListBinding");
|
|
17
18
|
|
|
@@ -9,7 +9,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
9
9
|
sap.ui.require([
|
|
10
10
|
"sap/ui/core/sample/common/Helper",
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
|
-
"sap/ui/test/opaQunit"
|
|
12
|
+
"sap/ui/test/opaQunit",
|
|
13
|
+
"sap/ui/core/sample/odata/v4/ListBindingTemplate/SandboxModel" // preload only
|
|
13
14
|
], function (Helper, Any, opaTest) {
|
|
14
15
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.ListBindingTemplate");
|
|
15
16
|
|
package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js
CHANGED
|
@@ -13,7 +13,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
13
13
|
"sap/ui/core/sample/common/pages/Any",
|
|
14
14
|
"sap/ui/core/sample/odata/v4/MultipleInlineCreationRowsGrid/pages/Main",
|
|
15
15
|
"sap/ui/test/opaQunit",
|
|
16
|
-
"sap/ui/test/TestUtils"
|
|
16
|
+
"sap/ui/test/TestUtils",
|
|
17
|
+
"sap/ui/core/sample/odata/v4/MultipleInlineCreationRowsGrid/SandboxModel" // preload only
|
|
17
18
|
], function (Log, library, Helper, Any, Main, opaTest, TestUtils) {
|
|
18
19
|
var MessageType = library.MessageType; // shortcut for sap.ui.core.MessageType
|
|
19
20
|
|
|
@@ -12,7 +12,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
12
12
|
"sap/ui/core/sample/odata/v4/Products/pages/Main",
|
|
13
13
|
"sap/base/Log",
|
|
14
14
|
"sap/ui/test/opaQunit",
|
|
15
|
-
"sap/ui/test/TestUtils"
|
|
15
|
+
"sap/ui/test/TestUtils",
|
|
16
|
+
"sap/ui/core/sample/odata/v4/Products/SandboxModel" // preload only
|
|
16
17
|
], function (Helper, Any, Main, Log, opaTest, TestUtils) {
|
|
17
18
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.Products");
|
|
18
19
|
|
package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<Column hAlign="End" width="5em">
|
|
21
21
|
<m:Label text="Level"/>
|
|
22
22
|
<template>
|
|
23
|
-
<m:Text
|
|
23
|
+
<m:Text text="{= %{@$ui5.node.level} }" wrapping="false"/>
|
|
24
24
|
</template>
|
|
25
25
|
</Column>
|
|
26
26
|
<Column width="4em">
|
|
@@ -38,11 +38,17 @@
|
|
|
38
38
|
/>
|
|
39
39
|
</template>
|
|
40
40
|
</Column>
|
|
41
|
-
<Column
|
|
41
|
+
<Column>
|
|
42
42
|
<m:Label text="ID"/>
|
|
43
|
+
<template>
|
|
44
|
+
<m:Text text="{ID}" wrapping="false"/>
|
|
45
|
+
</template>
|
|
43
46
|
</Column>
|
|
44
|
-
<Column
|
|
47
|
+
<Column>
|
|
45
48
|
<m:Label text="Manager's ID"/>
|
|
49
|
+
<template>
|
|
50
|
+
<m:Text text="{MANAGER_ID}" wrapping="false"/>
|
|
51
|
+
</template>
|
|
46
52
|
</Column>
|
|
47
53
|
<Column>
|
|
48
54
|
<m:Label text="Name"/>
|
|
@@ -50,8 +56,11 @@
|
|
|
50
56
|
<m:Input value="{Name}" change="onNameChanged"/>
|
|
51
57
|
</template>
|
|
52
58
|
</Column>
|
|
53
|
-
<Column
|
|
59
|
+
<Column>
|
|
54
60
|
<m:Label text="Age"/>
|
|
61
|
+
<template>
|
|
62
|
+
<m:Text text="{AGE}" wrapping="false"/>
|
|
63
|
+
</template>
|
|
55
64
|
</Column>
|
|
56
65
|
</Table>
|
|
57
66
|
|
|
@@ -67,17 +76,23 @@
|
|
|
67
76
|
press="onSynchronizeTreeTable" tooltip="SynchronizeTreeTable"/>
|
|
68
77
|
</m:Toolbar>
|
|
69
78
|
</extension>
|
|
70
|
-
<Column
|
|
79
|
+
<Column>
|
|
71
80
|
<m:Label text="ID"/>
|
|
81
|
+
<template>
|
|
82
|
+
<m:Text text="{ID}" wrapping="false"/>
|
|
83
|
+
</template>
|
|
72
84
|
</Column>
|
|
73
85
|
<Column hAlign="End" width="5em">
|
|
74
86
|
<m:Label text="Level"/>
|
|
75
87
|
<template>
|
|
76
|
-
<m:Text
|
|
88
|
+
<m:Text text="{= %{@$ui5.node.level} }" wrapping="false"/>
|
|
77
89
|
</template>
|
|
78
90
|
</Column>
|
|
79
|
-
<Column
|
|
91
|
+
<Column>
|
|
80
92
|
<m:Label text="Manager's ID"/>
|
|
93
|
+
<template>
|
|
94
|
+
<m:Text text="{MANAGER_ID}" wrapping="false"/>
|
|
95
|
+
</template>
|
|
81
96
|
</Column>
|
|
82
97
|
<Column>
|
|
83
98
|
<m:Label text="Name"/>
|
|
@@ -85,8 +100,11 @@
|
|
|
85
100
|
<m:Input value="{Name}" change="onNameChangedInTreeTable"/>
|
|
86
101
|
</template>
|
|
87
102
|
</Column>
|
|
88
|
-
<Column
|
|
103
|
+
<Column>
|
|
89
104
|
<m:Label text="Age"/>
|
|
105
|
+
<template>
|
|
106
|
+
<m:Text text="{AGE}" wrapping="false"/>
|
|
107
|
+
</template>
|
|
90
108
|
</Column>
|
|
91
109
|
</TreeTable>
|
|
92
110
|
|
|
@@ -390,6 +390,10 @@
|
|
|
390
390
|
<Annotation Qualifier="OrgChart" Term="Org.OData.Aggregation.V1.RecursiveHierarchy">
|
|
391
391
|
<Record>
|
|
392
392
|
<PropertyValue Property="NodeProperty" PropertyPath="ID"/>
|
|
393
|
+
<!-- TODO "Its type MUST be the entity type annotated with this term"
|
|
394
|
+
=> Manager should derive from Worker
|
|
395
|
+
-->
|
|
396
|
+
<PropertyValue Property="ParentNavigationProperty" NavigationPropertyPath="EMPLOYEE_2_MANAGER"/>
|
|
393
397
|
</Record>
|
|
394
398
|
</Annotation>
|
|
395
399
|
<Annotation Qualifier="OrgChart" Term="com.sap.vocabularies.Hierarchy.v1.RecursiveHierarchy">
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/pages/Main",
|
|
13
13
|
"sap/base/Log",
|
|
14
|
-
"sap/ui/test/opaQunit"
|
|
14
|
+
"sap/ui/test/opaQunit",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V2/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, Log, opaTest) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrderTP100_V2");
|
|
17
18
|
|
|
@@ -10,7 +10,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
10
10
|
"sap/ui/core/sample/common/Helper",
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit"
|
|
13
|
+
"sap/ui/test/opaQunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/SalesOrderTP100_V4/SandboxModel" // preload only
|
|
14
15
|
], function (Helper, Any, Main, opaTest) {
|
|
15
16
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrderTP100_V4");
|
|
16
17
|
|
|
@@ -16,7 +16,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
16
16
|
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreate.qunit",
|
|
17
17
|
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateMultiple.qunit",
|
|
18
18
|
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderCreateRelative.qunit",
|
|
19
|
-
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderWriteNonDeferredGroup.qunit"
|
|
19
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/Opa.SalesOrderWriteNonDeferredGroup.qunit",
|
|
20
|
+
"sap/ui/core/sample/odata/v4/SalesOrders/SandboxModel" // preload only
|
|
20
21
|
], function () {
|
|
21
22
|
QUnit.start();
|
|
22
23
|
});
|
|
@@ -749,6 +749,24 @@ sap.ui.define([
|
|
|
749
749
|
viewName : sViewName
|
|
750
750
|
});
|
|
751
751
|
},
|
|
752
|
+
checkFirstSalesOrderChanged : function () {
|
|
753
|
+
this.waitFor({
|
|
754
|
+
controlType : "sap.m.Table",
|
|
755
|
+
id : "SalesOrderList",
|
|
756
|
+
check : function (oSalesOrderTable) {
|
|
757
|
+
var sActual = oSalesOrderTable.getItems()[0].getCells()[0].getText(),
|
|
758
|
+
sExpected = Opa.getContext().firstSalesOrderId;
|
|
759
|
+
|
|
760
|
+
return sActual !== sExpected;
|
|
761
|
+
},
|
|
762
|
+
success : function (oSalesOrderTable) {
|
|
763
|
+
Opa5.assert.ok(true, "First SalesOrderID changed from: "
|
|
764
|
+
+ Opa.getContext().firstSalesOrderId + " to: "
|
|
765
|
+
+ oSalesOrderTable.getItems()[0].getCells()[0].getText());
|
|
766
|
+
},
|
|
767
|
+
viewName : sViewName
|
|
768
|
+
});
|
|
769
|
+
},
|
|
752
770
|
checkHighlight : function (iRow, sHighlight) {
|
|
753
771
|
this.waitFor({
|
|
754
772
|
controlType : "sap.m.Table",
|
|
@@ -242,16 +242,20 @@ sap.ui.define([
|
|
|
242
242
|
if (bRealOData) {
|
|
243
243
|
// primitive sorter and filter tasks,
|
|
244
244
|
// -> probably not dependent on current sales orders in the back end
|
|
245
|
-
When.onTheMainPage.
|
|
245
|
+
When.onTheMainPage.firstSalesOrderIsVisible(); // remember ID of first sales order
|
|
246
246
|
When.onTheMainPage.sortBySalesOrderID(); // sort via ID ascending (initial order)
|
|
247
|
-
When.onTheMainPage.
|
|
247
|
+
When.onTheMainPage.firstSalesOrderIsAtPos0(); // ID does NOT change
|
|
248
248
|
When.onTheMainPage.sortBySalesOrderID(); // sort via ID descending
|
|
249
|
-
Then.onTheMainPage.
|
|
250
|
-
When.onTheMainPage.
|
|
249
|
+
Then.onTheMainPage.checkFirstSalesOrderChanged(); // ID changed
|
|
250
|
+
When.onTheMainPage.firstSalesOrderIsVisible(); // remembers ID of first sales order
|
|
251
|
+
When.onTheMainPage.sortBySalesOrderID(); // sort
|
|
252
|
+
Then.onTheMainPage.checkFirstSalesOrderChanged(); // ID changed
|
|
253
|
+
When.onTheMainPage.firstSalesOrderIsVisible();
|
|
251
254
|
When.onTheMainPage.sortByGrossAmount(); // sort by GrossAmount ascending
|
|
252
|
-
Then.onTheMainPage.
|
|
255
|
+
Then.onTheMainPage.checkFirstSalesOrderChanged();
|
|
256
|
+
When.onTheMainPage.firstSalesOrderIsVisible(); // remember ID of first sales order
|
|
253
257
|
When.onTheMainPage.sortByGrossAmount(); // sort by GrossAmount descending
|
|
254
|
-
Then.onTheMainPage.
|
|
258
|
+
Then.onTheMainPage.checkFirstSalesOrderChanged();
|
|
255
259
|
// remember GrossAmount of first item
|
|
256
260
|
When.onTheMainPage.selectFirstSalesOrder(true);
|
|
257
261
|
When.onTheMainPage.filterGrossAmount(undefined); // filter by remembered GrossAmount
|
|
@@ -10,7 +10,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
10
10
|
"sap/ui/core/sample/common/pages/Any",
|
|
11
11
|
"sap/ui/core/sample/odata/v4/SalesOrders/pages/Main",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/pages/MainRTA",
|
|
13
|
-
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/Opa.SalesOrderRTATestAdaptUI.qunit"
|
|
13
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/Opa.SalesOrderRTATestAdaptUI.qunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersRTATest/SandboxModel" // preload only
|
|
14
15
|
], function () {
|
|
15
16
|
QUnit.start();
|
|
16
17
|
});
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
+
"_version" : "1.8.0",
|
|
3
|
+
"sap.app" : {
|
|
4
|
+
"ach" : "CA-UI5-COR",
|
|
5
|
+
"applicationVersion" : {
|
|
6
|
+
"version" : "${version}"
|
|
7
|
+
},
|
|
8
|
+
"id" : "sap.ui.core.sample.odata.v4.SalesOrdersRTATest",
|
|
9
|
+
"title" : "EPM Sales Orders (RTA Test)",
|
|
10
|
+
"type" : "application"
|
|
11
|
+
},
|
|
12
|
+
"sap.ui" : {
|
|
13
|
+
"deviceTypes" : {
|
|
14
|
+
"desktop" : true,
|
|
15
|
+
"phone" : true,
|
|
16
|
+
"tablet" : true
|
|
17
|
+
},
|
|
18
|
+
"technology" : "UI5"
|
|
19
|
+
},
|
|
2
20
|
"sap.ui5" : {
|
|
3
21
|
"extends" : {
|
|
4
22
|
"component" : "sap.ui.core.sample.odata.v4.SalesOrders",
|
|
@@ -10,7 +10,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
10
10
|
"sap/ui/core/sample/common/Helper",
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/pages/Main",
|
|
13
|
-
"sap/ui/test/opaQunit"
|
|
13
|
+
"sap/ui/test/opaQunit",
|
|
14
|
+
"sap/ui/core/sample/odata/v4/SalesOrdersTemplate/SandboxModel" // preload only
|
|
14
15
|
], function (Helper, Any, Main, opaTest) {
|
|
15
16
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.SalesOrdersTemplate");
|
|
16
17
|
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/pages/Main",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/ServerDrivenPaging/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.ServerDrivenPaging");
|
|
17
18
|
|
|
@@ -16,7 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
controlType : "sap.ui.table.Table",
|
|
17
17
|
id : "businessPartnerTable",
|
|
18
18
|
success : function (oTable) {
|
|
19
|
-
oTable.setFirstVisibleRow(
|
|
19
|
+
oTable.setFirstVisibleRow(Math.min(
|
|
20
|
+
oTable.getFirstVisibleRow() + oTable.getVisibleRowCount(),
|
|
21
|
+
oTable.getBinding("rows").getCount() - oTable.getVisibleRowCount()
|
|
22
|
+
));
|
|
20
23
|
Opa5.assert.ok(true, "Page down on grid table");
|
|
21
24
|
},
|
|
22
25
|
viewName : sViewName
|
|
@@ -11,7 +11,8 @@ sap.ui.getCore().attachInit(function () {
|
|
|
11
11
|
"sap/ui/core/sample/common/pages/Any",
|
|
12
12
|
"sap/ui/core/sample/odata/v4/Sticky/pages/Main",
|
|
13
13
|
"sap/ui/test/opaQunit",
|
|
14
|
-
"sap/ui/test/TestUtils"
|
|
14
|
+
"sap/ui/test/TestUtils",
|
|
15
|
+
"sap/ui/core/sample/odata/v4/Sticky/SandboxModel" // preload only
|
|
15
16
|
], function (Helper, Any, Main, opaTest, TestUtils) {
|
|
16
17
|
Helper.qUnitModule("sap.ui.core.sample.odata.v4.Sticky");
|
|
17
18
|
|
|
@@ -46,12 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
var oList = this.byId("peopleList"),
|
|
47
47
|
oBinding = oList.getBinding("items"),
|
|
48
48
|
// Create a new entry through the table's list binding
|
|
49
|
-
oContext = oBinding.create({
|
|
50
|
-
UserName : "",
|
|
51
|
-
FirstName : "",
|
|
52
|
-
LastName : "",
|
|
53
|
-
Age : "18"
|
|
54
|
-
});
|
|
49
|
+
oContext = oBinding.create({Age : "18"});
|
|
55
50
|
|
|
56
51
|
this._setUIChanges(true);
|
|
57
52
|
this.getView().getModel("appView").setProperty("/usernameEmpty", true);
|