@openui5/sap.ui.core 1.101.0 → 1.103.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 +26 -5
- package/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +2 -2
- 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/assert.js +1 -1
- package/src/sap/base/i18n/ResourceBundle.js +2 -2
- package/src/sap/base/strings/whitespaceReplacer.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +2 -2
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +9 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/VersionInfo.js +12 -6
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +2 -2
- package/src/sap/ui/base/ExpressionParser.js +2 -2
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +10 -8
- package/src/sap/ui/base/ManagedObjectMetadata.js +21 -8
- 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 +2 -0
- package/src/sap/ui/core/.library +2 -89
- package/src/sap/ui/core/AppCacheBuster.js +4 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/CommandExecution.js +15 -12
- package/src/sap/ui/core/Component.js +34 -15
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +27 -12
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +23 -9
- package/src/sap/ui/core/Control.js +3 -4
- package/src/sap/ui/core/Core.js +102 -34
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +10 -9
- package/src/sap/ui/core/Element.js +12 -11
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +4 -2
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/ExtensionPoint.js +1 -1
- package/src/sap/ui/core/FocusHandler.js +4 -5
- package/src/sap/ui/core/Fragment.js +17 -14
- package/src/sap/ui/core/HTML.js +2 -2
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +7 -7
- package/src/sap/ui/core/IconPool.js +1 -3
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +28 -4
- package/src/sap/ui/core/LocaleData.js +119 -1
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +16 -16
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +21 -15
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ShortcutHintsMixin.js +2 -4
- package/src/sap/ui/core/ThemeCheck.js +7 -7
- 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 +5 -6
- package/src/sap/ui/core/UIComponent.js +2 -2
- package/src/sap/ui/core/UIComponentMetadata.js +2 -2
- 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 +515 -392
- package/src/sap/ui/core/cache/CacheManager.js +27 -0
- package/src/sap/ui/core/cache/CacheManagerNOP.js +3 -0
- package/src/sap/ui/core/cache/LRUPersistentCache.js +75 -3
- package/src/sap/ui/core/cldr/ar.json +469 -1
- package/src/sap/ui/core/cldr/ar_EG.json +469 -1
- package/src/sap/ui/core/cldr/ar_SA.json +469 -1
- package/src/sap/ui/core/cldr/bg.json +469 -1
- package/src/sap/ui/core/cldr/ca.json +469 -1
- package/src/sap/ui/core/cldr/cs.json +469 -1
- package/src/sap/ui/core/cldr/cy.json +469 -1
- package/src/sap/ui/core/cldr/da.json +469 -1
- package/src/sap/ui/core/cldr/de.json +469 -1
- package/src/sap/ui/core/cldr/de_AT.json +469 -1
- package/src/sap/ui/core/cldr/de_CH.json +469 -1
- package/src/sap/ui/core/cldr/el.json +469 -1
- package/src/sap/ui/core/cldr/el_CY.json +469 -1
- package/src/sap/ui/core/cldr/en.json +469 -1
- package/src/sap/ui/core/cldr/en_AU.json +469 -1
- package/src/sap/ui/core/cldr/en_GB.json +469 -1
- package/src/sap/ui/core/cldr/en_HK.json +469 -1
- package/src/sap/ui/core/cldr/en_IE.json +469 -1
- package/src/sap/ui/core/cldr/en_IN.json +469 -1
- package/src/sap/ui/core/cldr/en_NZ.json +469 -1
- package/src/sap/ui/core/cldr/en_PG.json +469 -1
- package/src/sap/ui/core/cldr/en_SG.json +469 -1
- package/src/sap/ui/core/cldr/en_ZA.json +469 -1
- package/src/sap/ui/core/cldr/es.json +469 -1
- package/src/sap/ui/core/cldr/es_AR.json +469 -1
- package/src/sap/ui/core/cldr/es_BO.json +469 -1
- package/src/sap/ui/core/cldr/es_CL.json +469 -1
- package/src/sap/ui/core/cldr/es_CO.json +469 -1
- package/src/sap/ui/core/cldr/es_MX.json +469 -1
- package/src/sap/ui/core/cldr/es_PE.json +469 -1
- package/src/sap/ui/core/cldr/es_UY.json +469 -1
- package/src/sap/ui/core/cldr/es_VE.json +469 -1
- package/src/sap/ui/core/cldr/et.json +469 -1
- package/src/sap/ui/core/cldr/fa.json +469 -1
- package/src/sap/ui/core/cldr/fi.json +469 -1
- package/src/sap/ui/core/cldr/fr.json +469 -1
- package/src/sap/ui/core/cldr/fr_BE.json +469 -1
- package/src/sap/ui/core/cldr/fr_CA.json +469 -1
- package/src/sap/ui/core/cldr/fr_CH.json +469 -1
- package/src/sap/ui/core/cldr/fr_LU.json +469 -1
- package/src/sap/ui/core/cldr/he.json +469 -1
- package/src/sap/ui/core/cldr/hi.json +469 -1
- package/src/sap/ui/core/cldr/hr.json +469 -1
- package/src/sap/ui/core/cldr/hu.json +469 -1
- package/src/sap/ui/core/cldr/id.json +469 -1
- package/src/sap/ui/core/cldr/it.json +469 -1
- package/src/sap/ui/core/cldr/it_CH.json +469 -1
- package/src/sap/ui/core/cldr/ja.json +469 -1
- package/src/sap/ui/core/cldr/kk.json +469 -1
- package/src/sap/ui/core/cldr/ko.json +469 -1
- package/src/sap/ui/core/cldr/lt.json +469 -1
- package/src/sap/ui/core/cldr/lv.json +469 -1
- package/src/sap/ui/core/cldr/ms.json +469 -1
- package/src/sap/ui/core/cldr/nb.json +469 -1
- package/src/sap/ui/core/cldr/nl.json +469 -1
- package/src/sap/ui/core/cldr/nl_BE.json +469 -1
- package/src/sap/ui/core/cldr/pl.json +469 -1
- package/src/sap/ui/core/cldr/pt.json +469 -1
- package/src/sap/ui/core/cldr/pt_PT.json +469 -1
- package/src/sap/ui/core/cldr/ro.json +469 -1
- package/src/sap/ui/core/cldr/ru.json +469 -1
- package/src/sap/ui/core/cldr/ru_UA.json +469 -1
- package/src/sap/ui/core/cldr/sk.json +469 -1
- package/src/sap/ui/core/cldr/sl.json +469 -1
- package/src/sap/ui/core/cldr/sr.json +469 -1
- package/src/sap/ui/core/cldr/sr_Latn.json +469 -1
- package/src/sap/ui/core/cldr/sv.json +469 -1
- package/src/sap/ui/core/cldr/th.json +469 -1
- package/src/sap/ui/core/cldr/tr.json +469 -1
- package/src/sap/ui/core/cldr/uk.json +469 -1
- package/src/sap/ui/core/cldr/vi.json +469 -1
- package/src/sap/ui/core/cldr/zh_CN.json +470 -2
- package/src/sap/ui/core/cldr/zh_HK.json +470 -2
- package/src/sap/ui/core/cldr/zh_SG.json +470 -2
- package/src/sap/ui/core/cldr/zh_TW.json +469 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +13 -14
- package/src/sap/ui/core/delegate/ScrollEnablement.js +11 -7
- package/src/sap/ui/core/dnd/DragAndDrop.js +3 -3
- 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 +43 -28
- package/src/sap/ui/core/format/NumberFormat.js +30 -30
- package/src/sap/ui/core/format/TimezoneUtil.js +48 -16
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +3 -3
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +2 -2
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_el.properties +2 -2
- package/src/sap/ui/core/messagebundle_it.properties +56 -56
- package/src/sap/ui/core/mvc/ControllerExtension.js +1 -1
- package/src/sap/ui/core/mvc/HTMLView.js +12 -12
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +2 -2
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +2 -1
- package/src/sap/ui/core/mvc/XMLView.js +12 -20
- package/src/sap/ui/core/mvc/XMLViewRenderer.js +81 -62
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +3 -3
- 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/History.js +5 -3
- package/src/sap/ui/core/routing/Router.js +5 -3
- package/src/sap/ui/core/routing/Targets.js +2 -2
- package/src/sap/ui/core/rules/App.support.js +8 -8
- package/src/sap/ui/core/rules/Config.support.js +12 -12
- package/src/sap/ui/core/rules/Model.support.js +8 -8
- package/src/sap/ui/core/rules/Rendering.support.js +1 -1
- package/src/sap/ui/core/rules/Theming.support.js +4 -4
- package/src/sap/ui/core/rules/View.support.js +9 -9
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/RuleEngineOpaExtension.js +1 -1
- package/src/sap/ui/core/support/Support.js +2 -2
- package/src/sap/ui/core/support/ToolsAPI.js +4 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +9 -3
- 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 +8 -22
- package/src/sap/ui/core/support/support.html +1 -1
- package/src/sap/ui/core/themes/base/LocalBusyIndicator.less +15 -1
- package/src/sap/ui/core/themes/base/base.less +4 -4
- package/src/sap/ui/core/themes/base/global.less +2 -0
- package/src/sap/ui/core/themes/sap_hcb/global.less +2 -0
- package/src/sap/ui/core/theming/Parameters.js +1 -1
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +2 -2
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +4 -4
- package/src/sap/ui/core/tmpl/TemplateControl.js +2 -2
- 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 +2 -2
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +2 -2
- package/src/sap/ui/core/util/XMLPreprocessor.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 +7 -8
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/dom/_ready.js +34 -0
- package/src/sap/ui/dom/containsOrEquals.js +2 -2
- package/src/sap/ui/dom/getFirstEditableInput.js +2 -2
- package/src/sap/ui/dom/jquery/Focusable.js +1 -1
- package/src/sap/ui/dom/jquery/control.js +1 -1
- package/src/sap/ui/events/jquery/EventExtension.js +1 -1
- package/src/sap/ui/events/jquery/EventSimulation.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +127 -21
- 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/ListBinding.js +32 -13
- 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/TreeBindingAdapter.js +134 -0
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/_Helper.js +3 -1
- package/src/sap/ui/model/json/JSONListBinding.js +0 -58
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageListBinding.js +0 -42
- 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 +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +6 -0
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +279 -4
- package/src/sap/ui/model/odata/OperationMode.js +6 -0
- 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 -2
- 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/type/UnitMixin.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +13 -4
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +107 -34
- package/src/sap/ui/model/odata/v2/ODataModel.js +70 -22
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +43 -7
- package/src/sap/ui/model/odata/v4/Context.js +31 -10
- package/src/sap/ui/model/odata/v4/ODataBinding.js +16 -8
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +24 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +83 -27
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +17 -10
- package/src/sap/ui/model/odata/v4/ODataModel.js +175 -6
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +30 -1
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +17 -6
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +6 -6
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +208 -85
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +119 -42
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +60 -35
- package/src/sap/ui/model/odata/v4/lib/_V2MetadataConverter.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/XMLListBinding.js +0 -53
- 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/security/FrameOptions.js +4 -2
- package/src/sap/ui/test/OpaBuilder.js +1 -1
- package/src/sap/ui/test/OpaPlugin.js +3 -3
- package/src/sap/ui/test/_ControlFinder.js +5 -4
- package/src/sap/ui/test/actions/Action.js +3 -3
- package/src/sap/ui/test/actions/Drag.js +2 -2
- package/src/sap/ui/test/actions/Drop.js +2 -2
- package/src/sap/ui/test/actions/EnterText.js +8 -8
- package/src/sap/ui/test/actions/Press.js +6 -6
- package/src/sap/ui/test/actions/Scroll.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/util/Mobile.js +59 -33
- package/src/sap/ui/util/Storage.js +2 -2
- package/src/sap/ui/util/openWindow.js +1 -1
- package/src/ui5loader.js +3 -3
- package/ui5.yaml +72 -1
package/src/sap/ui/core/Popup.js
CHANGED
|
@@ -23,8 +23,8 @@ sap.ui.define([
|
|
|
23
23
|
"sap/base/util/Version",
|
|
24
24
|
"sap/base/util/uid",
|
|
25
25
|
"sap/base/util/extend",
|
|
26
|
+
"sap/base/util/each",
|
|
26
27
|
"sap/base/util/deepExtend",
|
|
27
|
-
"sap/ui/dom/containsOrEquals",
|
|
28
28
|
"sap/ui/thirdparty/jquery",
|
|
29
29
|
"sap/ui/events/F6Navigation",
|
|
30
30
|
"sap/ui/events/isMouseEventDelayed",
|
|
@@ -48,8 +48,8 @@ sap.ui.define([
|
|
|
48
48
|
Version,
|
|
49
49
|
uid,
|
|
50
50
|
extend,
|
|
51
|
+
each,
|
|
51
52
|
deepExtend,
|
|
52
|
-
containsOrEquals,
|
|
53
53
|
jQuery,
|
|
54
54
|
F6Navigation,
|
|
55
55
|
isMouseEventDelayed,
|
|
@@ -303,7 +303,7 @@ sap.ui.define([
|
|
|
303
303
|
if (!this._contains(oEvent.target)) {
|
|
304
304
|
this.close();
|
|
305
305
|
}
|
|
306
|
-
};
|
|
306
|
+
}.bind(this);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
this._F6NavigationHandler = function(oEvent) {
|
|
@@ -339,7 +339,7 @@ sap.ui.define([
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
F6Navigation.handleF6GroupNavigation(oEvent, oSettings);
|
|
342
|
-
};
|
|
342
|
+
}.bind(this);
|
|
343
343
|
},
|
|
344
344
|
|
|
345
345
|
metadata : {
|
|
@@ -1106,7 +1106,7 @@ sap.ui.define([
|
|
|
1106
1106
|
|
|
1107
1107
|
this._activateFocusHandle();
|
|
1108
1108
|
|
|
1109
|
-
this._$(false, true).on("keydown",
|
|
1109
|
+
this._$(false, true).on("keydown", this._F6NavigationHandler);
|
|
1110
1110
|
};
|
|
1111
1111
|
|
|
1112
1112
|
Popup.prototype._shouldGetFocusAfterOpen = function() {
|
|
@@ -1126,7 +1126,7 @@ sap.ui.define([
|
|
|
1126
1126
|
return false;
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
var bContains =
|
|
1129
|
+
var bContains = oPopupDomRef.contains(oDomRef);
|
|
1130
1130
|
|
|
1131
1131
|
var aChildPopups;
|
|
1132
1132
|
|
|
@@ -1138,7 +1138,7 @@ sap.ui.define([
|
|
|
1138
1138
|
// therefore we need to try with document.getElementById to check the DOM id case first
|
|
1139
1139
|
// only when it doesn't contain the given DOM, we publish an event to the event bus
|
|
1140
1140
|
var oContainDomRef = (sChildID ? window.document.getElementById(sChildID) : null);
|
|
1141
|
-
var bContains =
|
|
1141
|
+
var bContains = oContainDomRef && oContainDomRef.contains(oDomRef);
|
|
1142
1142
|
if (!bContains) {
|
|
1143
1143
|
var sEventId = "sap.ui.core.Popup.contains-" + sChildID;
|
|
1144
1144
|
var oData = {
|
|
@@ -2029,7 +2029,7 @@ sap.ui.define([
|
|
|
2029
2029
|
if (this.touchEnabled && this._bAutoClose) {
|
|
2030
2030
|
if (!bModal) {
|
|
2031
2031
|
// register the autoclose handler when modal is set to false
|
|
2032
|
-
jQuery(document).on("touchstart mousedown",
|
|
2032
|
+
jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
|
|
2033
2033
|
} else {
|
|
2034
2034
|
// deregister the autoclose handler when modal is set to true
|
|
2035
2035
|
jQuery(document).off("touchstart mousedown", this._fAutoCloseHandler);
|
|
@@ -2085,7 +2085,7 @@ sap.ui.define([
|
|
|
2085
2085
|
if (!this._bModal) {
|
|
2086
2086
|
if (bAutoClose) {
|
|
2087
2087
|
//register the autoclose hanlder when autoclose is set to true
|
|
2088
|
-
jQuery(document).on("touchstart mousedown",
|
|
2088
|
+
jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
|
|
2089
2089
|
} else {
|
|
2090
2090
|
//deregister the autoclose handler when autoclose is set to false
|
|
2091
2091
|
jQuery(document).off("touchstart mousedown", this._fAutoCloseHandler);
|
|
@@ -2413,7 +2413,7 @@ sap.ui.define([
|
|
|
2413
2413
|
*/
|
|
2414
2414
|
Popup.prototype._addFocusEventListeners = function() {
|
|
2415
2415
|
if (!this.fnEventHandler) {
|
|
2416
|
-
this.fnEventHandler =
|
|
2416
|
+
this.fnEventHandler = this.onFocusEvent.bind(this);
|
|
2417
2417
|
}
|
|
2418
2418
|
// make sure to notice all blur's in the popup
|
|
2419
2419
|
var $PopupRoot = this._$();
|
|
@@ -2475,7 +2475,7 @@ sap.ui.define([
|
|
|
2475
2475
|
|
|
2476
2476
|
//autoclose implementation for mobile or desktop browser in touch mode
|
|
2477
2477
|
if (this.touchEnabled && !this._bModal && this._bAutoClose) {
|
|
2478
|
-
jQuery(document).on("touchstart mousedown",
|
|
2478
|
+
jQuery(document).on("touchstart mousedown", this._fAutoCloseHandler);
|
|
2479
2479
|
}
|
|
2480
2480
|
};
|
|
2481
2481
|
|
|
@@ -2501,7 +2501,7 @@ sap.ui.define([
|
|
|
2501
2501
|
Popup.prototype._registerEventBusEvents = function() {
|
|
2502
2502
|
var that = this;
|
|
2503
2503
|
|
|
2504
|
-
|
|
2504
|
+
each(that._mEvents, function(sEventId, fnListener) {
|
|
2505
2505
|
sap.ui.getCore().getEventBus().subscribe("sap.ui", sEventId, fnListener, that);
|
|
2506
2506
|
});
|
|
2507
2507
|
|
|
@@ -2516,7 +2516,7 @@ sap.ui.define([
|
|
|
2516
2516
|
Popup.prototype._unregisterEventBusEvents = function() {
|
|
2517
2517
|
var that = this;
|
|
2518
2518
|
|
|
2519
|
-
|
|
2519
|
+
each(that._mEvents, function(sEventId, fnListener) {
|
|
2520
2520
|
sap.ui.getCore().getEventBus().unsubscribe("sap.ui", sEventId, fnListener, that);
|
|
2521
2521
|
});
|
|
2522
2522
|
|
|
@@ -2821,7 +2821,7 @@ sap.ui.define([
|
|
|
2821
2821
|
Popup.prototype._isFocusInsidePopup = function () {
|
|
2822
2822
|
var oDomRef = this._$(false).get(0);
|
|
2823
2823
|
|
|
2824
|
-
if (oDomRef &&
|
|
2824
|
+
if (oDomRef && oDomRef.contains(document.activeElement)) {
|
|
2825
2825
|
return true;
|
|
2826
2826
|
}
|
|
2827
2827
|
|
|
@@ -2839,7 +2839,7 @@ sap.ui.define([
|
|
|
2839
2839
|
oCurrentOfRect;
|
|
2840
2840
|
|
|
2841
2841
|
if (oCurrentOfRef) {
|
|
2842
|
-
if ((oCurrentOfRef === window) || (oCurrentOfRef === window.document) ||
|
|
2842
|
+
if ((oCurrentOfRef === window) || (oCurrentOfRef === window.document) || document.documentElement.contains(oCurrentOfRef)) {
|
|
2843
2843
|
// When the current Of reference is window or window.document or it's contained in the DOM tree,
|
|
2844
2844
|
// The client bounding rect can be calculated
|
|
2845
2845
|
oCurrentOfRect = jQuery(oCurrentOfRef).rect();
|
|
@@ -3030,7 +3030,7 @@ sap.ui.define([
|
|
|
3030
3030
|
this._addFocusEventListeners();
|
|
3031
3031
|
}
|
|
3032
3032
|
|
|
3033
|
-
this._$(false, true).on("keydown",
|
|
3033
|
+
this._$(false, true).on("keydown", this._F6NavigationHandler);
|
|
3034
3034
|
};
|
|
3035
3035
|
|
|
3036
3036
|
/**
|
|
@@ -12,7 +12,6 @@ sap.ui.define([
|
|
|
12
12
|
"./ScrollBarRenderer",
|
|
13
13
|
"sap/ui/performance/trace/Interaction",
|
|
14
14
|
"sap/base/Log",
|
|
15
|
-
"sap/ui/dom/containsOrEquals",
|
|
16
15
|
"sap/ui/events/jquery/EventSimulation",
|
|
17
16
|
"sap/ui/thirdparty/jquery"
|
|
18
17
|
],
|
|
@@ -23,7 +22,6 @@ sap.ui.define([
|
|
|
23
22
|
ScrollBarRenderer,
|
|
24
23
|
Interaction,
|
|
25
24
|
Log,
|
|
26
|
-
containsOrEquals,
|
|
27
25
|
EventSimulation,
|
|
28
26
|
jQuery
|
|
29
27
|
) {
|
|
@@ -44,7 +42,7 @@ sap.ui.define([
|
|
|
44
42
|
* The ScrollBar control can be used for virtual scrolling of a certain area.
|
|
45
43
|
* This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
|
|
46
44
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
45
|
+
* @version 1.103.0
|
|
48
46
|
*
|
|
49
47
|
* @public
|
|
50
48
|
* @deprecated as of version 1.56
|
|
@@ -127,6 +125,14 @@ sap.ui.define([
|
|
|
127
125
|
*/
|
|
128
126
|
ScrollBar.prototype.init = function(){
|
|
129
127
|
|
|
128
|
+
// Set scope of event handlers to this
|
|
129
|
+
this.ontouchstart = this.ontouchstart.bind(this);
|
|
130
|
+
this.ontouchmove = this.ontouchmove.bind(this);
|
|
131
|
+
this.ontouchend = this.ontouchend.bind(this);
|
|
132
|
+
this.ontouchcancel = this.ontouchcancel.bind(this);
|
|
133
|
+
this.onmousewheel = this.onmousewheel.bind(this);
|
|
134
|
+
this.onscroll = this.onscroll.bind(this);
|
|
135
|
+
|
|
130
136
|
// jQuery Object - Dom reference of the scroll bar
|
|
131
137
|
this._$ScrollDomRef = null;
|
|
132
138
|
|
|
@@ -160,7 +166,7 @@ sap.ui.define([
|
|
|
160
166
|
// number of unneeded rendering is reduced.
|
|
161
167
|
this._bSkipTouchHandling = false;
|
|
162
168
|
|
|
163
|
-
this._oTouchScroller = new window.Scroller(
|
|
169
|
+
this._oTouchScroller = new window.Scroller(this._handleTouchScroll.bind(this), {
|
|
164
170
|
bouncing:false
|
|
165
171
|
});
|
|
166
172
|
}
|
|
@@ -271,7 +277,7 @@ sap.ui.define([
|
|
|
271
277
|
|
|
272
278
|
this.setCheckedScrollPosition(this.getScrollPosition() ? this.getScrollPosition() : 0, true);
|
|
273
279
|
|
|
274
|
-
this._$ScrollDomRef.on("scroll",
|
|
280
|
+
this._$ScrollDomRef.on("scroll", this.onscroll);
|
|
275
281
|
|
|
276
282
|
if (EventSimulation.touchEventMode === "ON") {
|
|
277
283
|
this._bSkipTouchHandling = true;
|
|
@@ -315,7 +321,7 @@ sap.ui.define([
|
|
|
315
321
|
// find out if the user is scrolling up= back or down= forward.
|
|
316
322
|
var bForward = wheelData > 0 ? true : false;
|
|
317
323
|
|
|
318
|
-
if (
|
|
324
|
+
if (this._$ScrollDomRef[0] && this._$ScrollDomRef[0].contains(oEvent.target)) {
|
|
319
325
|
this._doScroll(ScrollBarAction.MouseWheel, bForward);
|
|
320
326
|
} else {
|
|
321
327
|
|
|
@@ -527,10 +533,10 @@ sap.ui.define([
|
|
|
527
533
|
}
|
|
528
534
|
|
|
529
535
|
if (EventSimulation.touchEventMode === "ON") {
|
|
530
|
-
this._$OwnerDomRef.off(this._getTouchEventType("touchstart"),
|
|
531
|
-
this._$OwnerDomRef.off(this._getTouchEventType("touchmove"),
|
|
532
|
-
this._$OwnerDomRef.off(this._getTouchEventType("touchend"),
|
|
533
|
-
this._$OwnerDomRef.off(this._getTouchEventType("touchcancel"),
|
|
536
|
+
this._$OwnerDomRef.off(this._getTouchEventType("touchstart"), this.ontouchstart);
|
|
537
|
+
this._$OwnerDomRef.off(this._getTouchEventType("touchmove"), this.ontouchmove);
|
|
538
|
+
this._$OwnerDomRef.off(this._getTouchEventType("touchend"), this.ontouchend);
|
|
539
|
+
this._$OwnerDomRef.off(this._getTouchEventType("touchcancel"), this.ontouchcancel);
|
|
534
540
|
}
|
|
535
541
|
}
|
|
536
542
|
};
|
|
@@ -547,14 +553,14 @@ sap.ui.define([
|
|
|
547
553
|
if (oOwnerDomRef) {
|
|
548
554
|
this._$OwnerDomRef = jQuery(oOwnerDomRef);
|
|
549
555
|
if (this.getVertical()) {
|
|
550
|
-
this._$OwnerDomRef.on(Device.browser.firefox ? "DOMMouseScroll" : "mousewheel",
|
|
556
|
+
this._$OwnerDomRef.on(Device.browser.firefox ? "DOMMouseScroll" : "mousewheel", this.onmousewheel);
|
|
551
557
|
}
|
|
552
558
|
|
|
553
559
|
if (EventSimulation.touchEventMode === "ON") {
|
|
554
|
-
this._$OwnerDomRef.on(this._getTouchEventType("touchstart"),
|
|
555
|
-
this._$OwnerDomRef.on(this._getTouchEventType("touchmove"),
|
|
556
|
-
this._$OwnerDomRef.on(this._getTouchEventType("touchend"),
|
|
557
|
-
this._$OwnerDomRef.on(this._getTouchEventType("touchcancel"),
|
|
560
|
+
this._$OwnerDomRef.on(this._getTouchEventType("touchstart"), this.ontouchstart);
|
|
561
|
+
this._$OwnerDomRef.on(this._getTouchEventType("touchmove"), this.ontouchmove);
|
|
562
|
+
this._$OwnerDomRef.on(this._getTouchEventType("touchend"), this.ontouchend);
|
|
563
|
+
this._$OwnerDomRef.on(this._getTouchEventType("touchcancel"), this.ontouchcancel);
|
|
558
564
|
}
|
|
559
565
|
}
|
|
560
566
|
};
|
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
"./ShortcutHint",
|
|
11
11
|
"./Popup",
|
|
12
12
|
"./InvisibleText",
|
|
13
|
-
"sap/ui/dom/containsOrEquals",
|
|
14
13
|
"sap/ui/events/checkMouseEnterOrLeave",
|
|
15
14
|
"sap/ui/Device"
|
|
16
15
|
],
|
|
@@ -20,7 +19,6 @@ sap.ui.define([
|
|
|
20
19
|
ShortcutHint,
|
|
21
20
|
Popup,
|
|
22
21
|
InvisibleText,
|
|
23
|
-
containsOrEquals,
|
|
24
22
|
checkMouseEnterOrLeave,
|
|
25
23
|
Device
|
|
26
24
|
) {
|
|
@@ -338,7 +336,7 @@ sap.ui.define([
|
|
|
338
336
|
oHintInfo = aInfos[i];
|
|
339
337
|
oHintInfo.ref = document.getElementById(oHintInfo.id);
|
|
340
338
|
|
|
341
|
-
if (
|
|
339
|
+
if (oHintInfo.ref && oHintInfo.ref.contains(domEventTarget)) {
|
|
342
340
|
aResultInfos.push(oHintInfo);
|
|
343
341
|
}
|
|
344
342
|
}
|
|
@@ -464,7 +462,7 @@ sap.ui.define([
|
|
|
464
462
|
|
|
465
463
|
if (checkMouseEnterOrLeave(oEvent, oShortcutHintRefs[0].ref)) {
|
|
466
464
|
// do not hide if the element is focused
|
|
467
|
-
if (
|
|
465
|
+
if (oShortcutHintRefs[0].ref.contains(document.activeElement)) {
|
|
468
466
|
return;
|
|
469
467
|
}
|
|
470
468
|
|
|
@@ -9,11 +9,11 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/Device",
|
|
10
10
|
"sap/ui/base/Object",
|
|
11
11
|
"sap/base/Log",
|
|
12
|
+
"sap/base/util/each",
|
|
12
13
|
"sap/ui/dom/includeStylesheet",
|
|
13
|
-
"sap/ui/thirdparty/jquery",
|
|
14
14
|
"./theming/ThemeHelper"
|
|
15
15
|
],
|
|
16
|
-
function(Device, BaseObject, Log,
|
|
16
|
+
function(Device, BaseObject, Log, each, includeStylesheet, ThemeHelper) {
|
|
17
17
|
"use strict";
|
|
18
18
|
|
|
19
19
|
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
var aOldStyles = document.querySelectorAll("link[data-sap-ui-foucmarker='" + sPrefix + sLib + "']");
|
|
159
159
|
if (aOldStyles.length > 0) {
|
|
160
160
|
for (var i = 0, l = aOldStyles.length; i < l; i++) {
|
|
161
|
-
aOldStyles[i].
|
|
161
|
+
aOldStyles[i].remove();
|
|
162
162
|
}
|
|
163
163
|
Log.debug("ThemeCheck: Old stylesheets removed for library: " + sLib);
|
|
164
164
|
}
|
|
@@ -201,9 +201,9 @@ sap.ui.define([
|
|
|
201
201
|
} else {
|
|
202
202
|
// remove stylesheet once the particular class is not available (e.g. after theme switch)
|
|
203
203
|
/*check for custom theme was not successful, so we need to make sure there are no custom style sheets attached*/
|
|
204
|
-
var
|
|
205
|
-
if (
|
|
206
|
-
|
|
204
|
+
var oCustomCssLink = document.querySelector("LINK[id='" + oThemeCheck._CUSTOMID + "']");
|
|
205
|
+
if (oCustomCssLink) {
|
|
206
|
+
oCustomCssLink.remove();
|
|
207
207
|
Log.debug("ThemeCheck: Custom CSS removed");
|
|
208
208
|
}
|
|
209
209
|
oThemeCheck._customCSSAdded = false;
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
each(mLibs, checkLib);
|
|
232
232
|
|
|
233
233
|
// Try to load a fallback theme for all libs that couldn't be loaded
|
|
234
234
|
if (aFailedLibs.length > 0) {
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class
|
|
32
32
|
* Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.103.0
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
37
|
* @alias sap.ui.core.TooltipBase
|
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
'./Element',
|
|
11
11
|
'./RenderManager',
|
|
12
12
|
'sap/ui/performance/trace/Interaction',
|
|
13
|
-
"sap/ui/dom/containsOrEquals",
|
|
14
13
|
"sap/ui/util/ActivityDetection",
|
|
15
14
|
"sap/ui/events/KeyCodes",
|
|
16
15
|
"sap/base/Log",
|
|
@@ -27,7 +26,6 @@ sap.ui.define([
|
|
|
27
26
|
Element,
|
|
28
27
|
RenderManager,
|
|
29
28
|
Interaction,
|
|
30
|
-
containsOrEquals,
|
|
31
29
|
ActivityDetection,
|
|
32
30
|
KeyCodes,
|
|
33
31
|
Log,
|
|
@@ -175,7 +173,7 @@ sap.ui.define([
|
|
|
175
173
|
*
|
|
176
174
|
* @extends sap.ui.base.ManagedObject
|
|
177
175
|
* @author SAP SE
|
|
178
|
-
* @version 1.
|
|
176
|
+
* @version 1.103.0
|
|
179
177
|
* @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
|
|
180
178
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
181
179
|
* @public
|
|
@@ -935,7 +933,7 @@ sap.ui.define([
|
|
|
935
933
|
// event is dispatched to the element only when the element's root DOM contains or equals the scope check
|
|
936
934
|
// DOM, so that the simulated 'touchmove' and 'touchend' event is only dispatched to the element when the
|
|
937
935
|
// 'touchstart' also occurred on the same element
|
|
938
|
-
if (!oScopeCheckDOM ||
|
|
936
|
+
if (!oScopeCheckDOM || (oDomRef && oDomRef.contains(oScopeCheckDOM))) {
|
|
939
937
|
// for each event type call the callback method
|
|
940
938
|
// if the execution should be stopped immediately
|
|
941
939
|
// then no further callback method will be executed
|
|
@@ -978,7 +976,7 @@ sap.ui.define([
|
|
|
978
976
|
|
|
979
977
|
// Only process the touchend event which is emulated from mouseout event when the current domRef
|
|
980
978
|
// doesn't equal or contain the relatedTarget
|
|
981
|
-
if (oEvent.isMarked("fromMouseout") &&
|
|
979
|
+
if (oEvent.isMarked("fromMouseout") && (oDomRef && oDomRef.contains(oEvent.relatedTarget))) {
|
|
982
980
|
break;
|
|
983
981
|
}
|
|
984
982
|
|
|
@@ -1203,9 +1201,10 @@ sap.ui.define([
|
|
|
1203
1201
|
|
|
1204
1202
|
/**
|
|
1205
1203
|
* Returns the current valid field group control.
|
|
1204
|
+
*
|
|
1206
1205
|
* There is only one field group control for all UI areas.
|
|
1207
1206
|
*
|
|
1208
|
-
* @
|
|
1207
|
+
* @returns {sap.ui.core.Control|null} the current valid field group control or <code>null</code>.
|
|
1209
1208
|
*
|
|
1210
1209
|
* @private
|
|
1211
1210
|
*/
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* @extends sap.ui.core.Component
|
|
55
55
|
* @abstract
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.103.0
|
|
58
58
|
* @alias sap.ui.core.UIComponent
|
|
59
59
|
* @since 1.9.2
|
|
60
60
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -451,7 +451,7 @@ sap.ui.define([
|
|
|
451
451
|
* For synchronous root control creation the Promise resolves immediately with the root control instance or null if none was created.
|
|
452
452
|
*
|
|
453
453
|
* @since 1.90.0
|
|
454
|
-
* @
|
|
454
|
+
* @returns {Promise<sap.ui.core.Control|null>} resolves with the created root control or null if none was created, rejects with any thrown error
|
|
455
455
|
* @public
|
|
456
456
|
*/
|
|
457
457
|
UIComponent.prototype.rootControlLoaded = function() {
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
18
18
|
* @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
|
|
19
19
|
* @class
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.103.0
|
|
22
22
|
* @since 1.15.1
|
|
23
23
|
* @alias sap.ui.core.UIComponentMetadata
|
|
24
24
|
* @extends sap.ui.core.ComponentMetadata
|
|
@@ -57,7 +57,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
57
57
|
* the Component metadata or in the proper Component manifest.
|
|
58
58
|
*
|
|
59
59
|
* @param {boolean} [bDoNotMerge] Returns the local root view configuration if set to <code>true</code>.
|
|
60
|
-
* @return {object} root view as configuration object or null ({@link sap.ui.view})
|
|
60
|
+
* @return {object|null} root view as configuration object or null ({@link sap.ui.view})
|
|
61
61
|
* @protected
|
|
62
62
|
* @since 1.15.1
|
|
63
63
|
* @deprecated Since 1.27.1. Please use {@link sap.ui.core.Component#getManifestEntry}("/sap.ui5/rootView")
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
|
|
22
22
|
* @extends sap.ui.core.LayoutData
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.103.0
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
* @extends sap.ui.core.Control
|
|
144
144
|
*
|
|
145
145
|
* @author SAP SE
|
|
146
|
-
* @version 1.
|
|
146
|
+
* @version 1.103.0
|
|
147
147
|
* @since 1.56.0
|
|
148
148
|
* @alias sap.ui.core.XMLComposite
|
|
149
149
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.103.0
|
|
34
34
|
* @since 1.50.0
|
|
35
35
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
36
36
|
* @extends sap.ui.core.ElementMetadata
|