@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
|
@@ -14,6 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
'./History',
|
|
15
15
|
'sap/ui/thirdparty/crossroads',
|
|
16
16
|
"sap/base/util/UriParameters",
|
|
17
|
+
"sap/base/util/each",
|
|
17
18
|
"sap/base/util/deepEqual",
|
|
18
19
|
"sap/base/util/isEmptyObject",
|
|
19
20
|
"sap/base/Log",
|
|
@@ -31,6 +32,7 @@ sap.ui.define([
|
|
|
31
32
|
History,
|
|
32
33
|
crossroads,
|
|
33
34
|
UriParameters,
|
|
35
|
+
each,
|
|
34
36
|
deepEqual,
|
|
35
37
|
isEmptyObject,
|
|
36
38
|
Log,
|
|
@@ -288,14 +290,14 @@ sap.ui.define([
|
|
|
288
290
|
});
|
|
289
291
|
}
|
|
290
292
|
|
|
291
|
-
|
|
293
|
+
each(oRoutes, function(sRouteName, oRouteConfig) {
|
|
292
294
|
if (oRouteConfig.name === undefined) {
|
|
293
295
|
oRouteConfig.name = sRouteName;
|
|
294
296
|
}
|
|
295
297
|
that.addRoute(oRouteConfig);
|
|
296
298
|
});
|
|
297
299
|
|
|
298
|
-
this._oRouter.bypassed.add(
|
|
300
|
+
this._oRouter.bypassed.add(this._onBypassed.bind(this));
|
|
299
301
|
|
|
300
302
|
if (!oRouterHashChanger) {
|
|
301
303
|
oRouterHashChanger = HashChanger.getInstance().createRouterHashChanger();
|
|
@@ -592,7 +594,7 @@ sap.ui.define([
|
|
|
592
594
|
this._oRouter.removeAllRoutes();
|
|
593
595
|
this._oRouter = null;
|
|
594
596
|
|
|
595
|
-
|
|
597
|
+
each(this._oRoutes, function(iRouteIndex, oRoute) {
|
|
596
598
|
oRoute.destroy();
|
|
597
599
|
});
|
|
598
600
|
this._oRoutes = null;
|
|
@@ -435,8 +435,8 @@ sap.ui.define([
|
|
|
435
435
|
* @param {string|string[]} vName the name of a single target or the name of multiple targets
|
|
436
436
|
* @param {boolean} [bSuppressNotFoundError=false] In case no target is found for the given name, the not found
|
|
437
437
|
* error is supressed when this is set with true
|
|
438
|
-
* @
|
|
439
|
-
* coresponding name or undefined. If an array
|
|
438
|
+
* @returns {sap.ui.core.routing.Target|undefined|sap.ui.core.routing.Target[]} The target with the
|
|
439
|
+
* coresponding name or undefined. If an array was passed as name, this will return an array with all found
|
|
440
440
|
* targets. Non existing targets will not be returned and an error is logged when
|
|
441
441
|
* <code>bSuppressNotFoundError</code> param isn't set to <code>true</code>.
|
|
442
442
|
* @public
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
resolution: "Use asynchronous XHR calls instead",
|
|
50
50
|
resolutionurls: [{
|
|
51
51
|
text: 'Documentation: Loading a Module',
|
|
52
|
-
href: 'https://
|
|
52
|
+
href: 'https://openui5.hana.ondemand.com/topic/d12024e38385472a89c1ad204e1edb48'
|
|
53
53
|
}],
|
|
54
54
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
55
55
|
// get the controllers and the associated viewId
|
|
@@ -151,7 +151,7 @@ sap.ui.define([
|
|
|
151
151
|
resolutionurls: [{
|
|
152
152
|
text: 'Documentation: Modularization',
|
|
153
153
|
// TODO: link to the modularization dev guide
|
|
154
|
-
href: 'https://openui5.hana.ondemand.com
|
|
154
|
+
href: 'https://openui5.hana.ondemand.com/api'
|
|
155
155
|
}],
|
|
156
156
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
157
157
|
var oLoggedObjects = oScope.getLoggedObjects("jquery.sap.stubs");
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
resolutionurls: [{
|
|
185
185
|
text: 'Documentation: Modularization',
|
|
186
186
|
// TODO: link to the modularization dev guide
|
|
187
|
-
href: 'https://openui5.hana.ondemand.com
|
|
187
|
+
href: 'https://openui5.hana.ondemand.com/topic/a075ed88ef324261bca41813a6ac4a1c'
|
|
188
188
|
}],
|
|
189
189
|
check: function(oIssueManager, oCoreFacade, oScope, fnResolve) {
|
|
190
190
|
if (oScope.getType() === "global") {
|
|
@@ -224,7 +224,7 @@ sap.ui.define([
|
|
|
224
224
|
resolution: "Avoid using synchronous factory functions. Use the create() and/or load() functions of the respective modules instead. For example: View.create(...) or Component.load(). Migrate to the modern module API as documented.",
|
|
225
225
|
resolutionurls: [{
|
|
226
226
|
text: 'Documentation: Legacy Factories Replacement',
|
|
227
|
-
href: 'https://openui5.hana.ondemand.com
|
|
227
|
+
href: 'https://openui5.hana.ondemand.com/topic/491bd9c70b9f4c4d913c8c7b4a970833'
|
|
228
228
|
}],
|
|
229
229
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
230
230
|
var aFactoryTypes = [
|
|
@@ -268,7 +268,7 @@ sap.ui.define([
|
|
|
268
268
|
resolution: "Avoid using sap.ui.core.mvc.JSView. Instead use Typed Views by defining the view class with 'sap.ui.core.mvc.View.extend' and creating the view instances with 'sap.ui.core.mvc.View.create'.",
|
|
269
269
|
resolutionurls: [{
|
|
270
270
|
text: 'Documentation: Typed Views',
|
|
271
|
-
href: 'https://openui5.hana.ondemand.com
|
|
271
|
+
href: 'https://openui5.hana.ondemand.com/topic/e6bb33d076dc4f23be50c082c271b9f0'
|
|
272
272
|
}],
|
|
273
273
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
274
274
|
var oLoggedObjects = oScope.getLoggedObjects("sap.ui.core.mvc.JSView");
|
|
@@ -298,11 +298,11 @@ sap.ui.define([
|
|
|
298
298
|
resolution: "Check the details of the findings for tips to fix the issue.",
|
|
299
299
|
resolutionurls: [{
|
|
300
300
|
text: "Performance: Speed Up Your App",
|
|
301
|
-
href: "https://
|
|
301
|
+
href: "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4"
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
304
|
text: "Configuration of 'sap.ui.loader'",
|
|
305
|
-
href: "https://
|
|
305
|
+
href: "https://openui5.hana.ondemand.com/api/sap.ui.loader"
|
|
306
306
|
}],
|
|
307
307
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
308
308
|
var oLoggedObjects = oScope.getLoggedObjects("SyncXHR");
|
|
@@ -333,7 +333,7 @@ sap.ui.define([
|
|
|
333
333
|
resolution: "Check the details of the findings for tips to fix the issue.",
|
|
334
334
|
resolutionurls: [{
|
|
335
335
|
text: 'Documentation: Adapting to the Modularization of the Core',
|
|
336
|
-
href: 'https://openui5.hana.ondemand.com
|
|
336
|
+
href: 'https://openui5.hana.ondemand.com/topic/b8fdf0c903424c9191f142842323ae22'
|
|
337
337
|
}],
|
|
338
338
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
339
339
|
var oLoggedObjects = oScope.getLoggedObjects("Deprecation");
|
|
@@ -39,15 +39,15 @@ sap.ui.define([
|
|
|
39
39
|
resolutionurls: [
|
|
40
40
|
{
|
|
41
41
|
text: "Performance: Speed Up Your App",
|
|
42
|
-
href: "https://
|
|
42
|
+
href: "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
text: "Best Practices for Loading Modules Asynchronously",
|
|
46
|
-
href: "https://openui5.hana.ondemand.com
|
|
46
|
+
href: "https://openui5.hana.ondemand.com/topic/00737d6c1b864dc3ab72ef56611491c4#loio00737d6c1b864dc3ab72ef56611491c4"
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
text: "Is Your Application Ready for Asynchronous Loading?",
|
|
50
|
-
href: "https://
|
|
50
|
+
href: "https://openui5.hana.ondemand.com/topic/493a15aa978d4fe9a67ea9407166eb01"
|
|
51
51
|
}
|
|
52
52
|
]
|
|
53
53
|
};
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
"For more information, see the SAPUI5 developer guide.",
|
|
116
116
|
resolutionurls: [{
|
|
117
117
|
text: "Documentation: Cache Buster for SAPUI5 Application Resources",
|
|
118
|
-
href: "https://
|
|
118
|
+
href: "https://openui5.hana.ondemand.com/topic/4cfe7eff3001447a9d4b0abeaba95166"
|
|
119
119
|
}],
|
|
120
120
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
121
121
|
var sUI5ICFNode = "/sap/bc/ui5_ui5/";
|
|
@@ -164,7 +164,7 @@ sap.ui.define([
|
|
|
164
164
|
resolution: "Adapt your application descriptor and your application coding to improve the performance",
|
|
165
165
|
resolutionurls: [{
|
|
166
166
|
text: 'Documentation: Descriptor Dependencies to Libraries and Components',
|
|
167
|
-
href: 'https://openui5.hana.ondemand.com
|
|
167
|
+
href: 'https://openui5.hana.ondemand.com/topic/8521ad1955f340f9a6207d615c88d7fd'
|
|
168
168
|
}],
|
|
169
169
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
170
170
|
if (oScope.getType() === "global") {
|
|
@@ -248,7 +248,7 @@ sap.ui.define([
|
|
|
248
248
|
resolution: "Adapt your application descriptor and your application coding to improve the performance",
|
|
249
249
|
resolutionurls: [{
|
|
250
250
|
text: 'Documentation: Descriptor Dependencies to Libraries and Components',
|
|
251
|
-
href: 'https://openui5.hana.ondemand.com
|
|
251
|
+
href: 'https://openui5.hana.ondemand.com/topic/8521ad1955f340f9a6207d615c88d7fd'
|
|
252
252
|
}],
|
|
253
253
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
254
254
|
var mComponents = oCoreFacade.getComponents();
|
|
@@ -295,7 +295,7 @@ sap.ui.define([
|
|
|
295
295
|
resolution: "Adapt your application descriptor and your application coding to improve the performance",
|
|
296
296
|
resolutionurls: [{
|
|
297
297
|
text: 'Documentation: Using and Nesting Components',
|
|
298
|
-
href: 'https://openui5.hana.ondemand.com
|
|
298
|
+
href: 'https://openui5.hana.ondemand.com/topic/346599f0890d4dfaaa11c6b4ffa96312'
|
|
299
299
|
}],
|
|
300
300
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
301
301
|
var mComponents = oCoreFacade.getComponents();
|
|
@@ -345,7 +345,7 @@ sap.ui.define([
|
|
|
345
345
|
resolution: "Adapt your application descriptor and your application coding to improve the performance",
|
|
346
346
|
resolutionurls: [{
|
|
347
347
|
text: 'Documentation: Manifest Model Preload',
|
|
348
|
-
href: 'https://openui5.hana.ondemand.com
|
|
348
|
+
href: 'https://openui5.hana.ondemand.com/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
|
|
349
349
|
}],
|
|
350
350
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
351
351
|
var mComponents = oCoreFacade.getComponents();
|
|
@@ -397,7 +397,7 @@ sap.ui.define([
|
|
|
397
397
|
resolution: "Set manifest parameter models[<Model Name>].settings.earlyRequests to true",
|
|
398
398
|
resolutionurls: [{
|
|
399
399
|
text: 'Documentation: Manifest Model Preload',
|
|
400
|
-
href: 'https://openui5.hana.ondemand.com
|
|
400
|
+
href: 'https://openui5.hana.ondemand.com/topic/26ba6a5c1e5c417f8b21cce1411dba2c'
|
|
401
401
|
}, {
|
|
402
402
|
text: 'API: V4 ODataModel, parameter earlyRequests',
|
|
403
403
|
href: 'https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v4.ODataModel'
|
|
@@ -448,13 +448,13 @@ sap.ui.define([
|
|
|
448
448
|
resolution: "Adapt your application descriptor and your application coding to improve the performance and efficiency",
|
|
449
449
|
resolutionurls: [{
|
|
450
450
|
text: 'Documentation: Routing Configuration',
|
|
451
|
-
href: 'https://openui5.hana.ondemand.com
|
|
451
|
+
href: 'https://openui5.hana.ondemand.com/topic/902313063d6f45aeaa3388cc4c13c34e'
|
|
452
452
|
}, {
|
|
453
453
|
text: "Documentation: Instantiating Views",
|
|
454
|
-
href: "https://openui5.hana.ondemand.com
|
|
454
|
+
href: "https://openui5.hana.ondemand.com/topic/68d0e58857a647d49470d9f92dd859bd"
|
|
455
455
|
}, {
|
|
456
456
|
text: "Documentation: UI Adaptation at Runtime: Enable Your App",
|
|
457
|
-
href: "https://
|
|
457
|
+
href: "https://openui5.hana.ondemand.com/topic/f1430c0337534d469da3a56307ff76af"
|
|
458
458
|
}],
|
|
459
459
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
460
460
|
var mComponents = oCoreFacade.getComponents();
|
|
@@ -120,19 +120,19 @@ sap.ui.define([
|
|
|
120
120
|
resolution: "Check the binding path for typos",
|
|
121
121
|
resolutionurls: [
|
|
122
122
|
{
|
|
123
|
-
href: "https://
|
|
123
|
+
href: "https://openui5.hana.ondemand.com/api/sap.ui.model.Context",
|
|
124
124
|
text: "API Reference: Context"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
href: "https://
|
|
127
|
+
href: "https://openui5.hana.ondemand.com/topic/e5310932a71f42daa41f3a6143efca9c",
|
|
128
128
|
text: "Documentation: Data Binding Tutorial"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
href: "https://
|
|
131
|
+
href: "https://openui5.hana.ondemand.com/topic/97830de2d7314e93b5c1ee3878a17be9",
|
|
132
132
|
text: "Documentation: Data Binding Tutorial - Step 12: Aggregation Binding Using Templates"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
href: "https://
|
|
135
|
+
href: "https://openui5.hana.ondemand.com/topic/6c7c5c266b534e7ea9a28f861dc515f5",
|
|
136
136
|
text: "Documentation: Data Binding Tutorial - Step 13: Element Binding"
|
|
137
137
|
}
|
|
138
138
|
],
|
|
@@ -224,16 +224,16 @@ sap.ui.define([
|
|
|
224
224
|
resolution : "Use the '$select' binding parameter when binding an aggregation against "
|
|
225
225
|
+ "an OData V4 model, or 'select' in case of an OData V2 model",
|
|
226
226
|
resolutionurls : [{
|
|
227
|
-
href : "https://
|
|
227
|
+
href : "https://openui5.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4.html#loio408b40efed3c416681e1bd8cdd8910d4/section_useSelectQuery",
|
|
228
228
|
text : "Documentation: Performance: Speed Up Your App"
|
|
229
229
|
}, {
|
|
230
|
-
href : "https://
|
|
230
|
+
href : "https://openui5.hana.ondemand.com/topic/10ca58b701414f7f93cd97156f898f80",
|
|
231
231
|
text : "OData V4 only: Automatic determination of $expand and $select"
|
|
232
232
|
}, {
|
|
233
|
-
href : "https://
|
|
233
|
+
href : "https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v4.ODataModel%23methods/bindList",
|
|
234
234
|
text : "Documentation: v4.ODataModel#bindList"
|
|
235
235
|
}, {
|
|
236
|
-
href : "https://
|
|
236
|
+
href : "https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v2.ODataModel%23methods/bindList",
|
|
237
237
|
text : "Documentation: v2.ODataModel#bindList"
|
|
238
238
|
}],
|
|
239
239
|
title : "Model: Use the $select/select binding parameter when binding aggregations to "
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
resolution: "Control and renderer must be migrated to modern rendering syntax. For more information consult with documentation.",
|
|
37
37
|
resolutionurls: [{
|
|
38
38
|
text: "Documentation: RenderManager syntax",
|
|
39
|
-
href: "https://
|
|
39
|
+
href: "https://openui5.hana.ondemand.com/api/sap.ui.core.RenderManager"
|
|
40
40
|
}],
|
|
41
41
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
42
42
|
var aControls = oScope.getElements().filter(function (oElement) { return oElement.isA("sap.ui.core.Control"); });
|
|
@@ -40,10 +40,10 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
|
|
|
40
40
|
resolution: "Avoid CSS manipulations with custom CSS values as this could lead to rendering issues ",
|
|
41
41
|
resolutionurls: [{
|
|
42
42
|
text: 'CSS Styling Issues',
|
|
43
|
-
href: 'https://openui5.hana.ondemand.com
|
|
43
|
+
href: 'https://openui5.hana.ondemand.com/topic/9d87f925dfbb4e99b9e2963693aa00ef'
|
|
44
44
|
}, {
|
|
45
45
|
text: 'General Guidelines',
|
|
46
|
-
href: 'https://openui5.hana.ondemand.com
|
|
46
|
+
href: 'https://openui5.hana.ondemand.com/topic/5e08ff90b7434990bcb459513d8c52c4'
|
|
47
47
|
}],
|
|
48
48
|
check: function (issueManager, oCoreFacade, oScope) {
|
|
49
49
|
var cssFilesMessage = "Following stylesheet file(s) contain 'custom' CSS that could affects (overwrites) UI5 controls' own styles: \n",
|
|
@@ -97,10 +97,10 @@ sap.ui.define(["sap/ui/support/library", "./CoreHelper.support", "sap/ui/thirdpa
|
|
|
97
97
|
resolution: "Avoid CSS manipulations with custom CSS values as this could lead to rendering issues ",
|
|
98
98
|
resolutionurls: [{
|
|
99
99
|
text: 'CSS Styling Issues',
|
|
100
|
-
href: 'https://openui5.hana.ondemand.com
|
|
100
|
+
href: 'https://openui5.hana.ondemand.com/topic/9d87f925dfbb4e99b9e2963693aa00ef'
|
|
101
101
|
}, {
|
|
102
102
|
text: 'General Guidelines',
|
|
103
|
-
href: 'https://openui5.hana.ondemand.com
|
|
103
|
+
href: 'https://openui5.hana.ondemand.com/topic/5e08ff90b7434990bcb459513d8c52c4'
|
|
104
104
|
}],
|
|
105
105
|
check: function (issueManager, oCoreFacade, oScope) {
|
|
106
106
|
var controlCustomCssHashMap = {},
|
|
@@ -41,7 +41,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
41
41
|
resolution: "Define the XML view as '<mvc:View ...>' and configure the XML namepspace as 'xmlns:mvc=\"sap.ui.core.mvc\"'",
|
|
42
42
|
resolutionurls: [{
|
|
43
43
|
text: "Documentation: Namespaces in XML Views",
|
|
44
|
-
href: "https://
|
|
44
|
+
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
45
45
|
}],
|
|
46
46
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
47
47
|
var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
|
|
@@ -74,7 +74,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
74
74
|
resolution: "Set the namespace of the control library that holds most of the controls you use as default namespace (e.g. xmlns=\"sap.m\")",
|
|
75
75
|
resolutionurls: [{
|
|
76
76
|
text: "Documentation: Namespaces in XML Views",
|
|
77
|
-
href: "https://
|
|
77
|
+
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
78
78
|
}],
|
|
79
79
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
80
80
|
var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
|
|
@@ -105,7 +105,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
105
105
|
resolution: "Start the Control tag with upper case",
|
|
106
106
|
resolutionurls: [{
|
|
107
107
|
text: "Documentation: SAPUI5 Control Development Guidelines",
|
|
108
|
-
href: "https://
|
|
108
|
+
href: "https://openui5.hana.ondemand.com/topic/4549da61e2d949d6a3d20ad8a9d17a6f"
|
|
109
109
|
}],
|
|
110
110
|
check: function (oIssueManager, oCoreFacade, oScope) {
|
|
111
111
|
var aRelevantLogMessages = Log.getLogEntries().filter(function(oEntry) {
|
|
@@ -137,7 +137,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
137
137
|
resolution: "Remove the unused namespaces from the view definition",
|
|
138
138
|
resolutionurls: [{
|
|
139
139
|
text: "Documentation: Namespaces in XML Views",
|
|
140
|
-
href: "https://
|
|
140
|
+
href: "https://openui5.hana.ondemand.com/topic/2421a2c9fa574b2e937461b5313671f0"
|
|
141
141
|
}],
|
|
142
142
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
143
143
|
var aXMLViews = oScope.getElements().filter(function (oControl) { return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; });
|
|
@@ -188,7 +188,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
188
188
|
resolution: "Refer to the API of the element which property should be used instead.",
|
|
189
189
|
resolutionurls: [{
|
|
190
190
|
text: "API Reference",
|
|
191
|
-
href: "https://
|
|
191
|
+
href: "https://openui5.hana.ondemand.com/api/deprecated"
|
|
192
192
|
}],
|
|
193
193
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
194
194
|
oScope.getElementsByClassName(Element).forEach(function(oElement) {
|
|
@@ -231,7 +231,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
231
231
|
resolution: "Refer to the API of the element which element should be used instead.",
|
|
232
232
|
resolutionurls: [{
|
|
233
233
|
text: "API Reference",
|
|
234
|
-
href: "https://
|
|
234
|
+
href: "https://openui5.hana.ondemand.com/api/deprecated"
|
|
235
235
|
}],
|
|
236
236
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
237
237
|
oScope.getElementsByClassName(Element).forEach(function(oElement) {
|
|
@@ -265,7 +265,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
265
265
|
resolution: "Refer to the API of the element which aggregation should be used instead.",
|
|
266
266
|
resolutionurls: [{
|
|
267
267
|
text: "API Reference",
|
|
268
|
-
href: "https://
|
|
268
|
+
href: "https://openui5.hana.ondemand.com/api/deprecated"
|
|
269
269
|
}],
|
|
270
270
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
271
271
|
oScope.getElementsByClassName(Element).forEach(function(oElement) {
|
|
@@ -305,7 +305,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
305
305
|
resolution: "Refer to the API of the element which association should be used instead.",
|
|
306
306
|
resolutionurls: [{
|
|
307
307
|
text: "API Reference",
|
|
308
|
-
href: "https://
|
|
308
|
+
href: "https://openui5.hana.ondemand.com/api/deprecated"
|
|
309
309
|
}],
|
|
310
310
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
311
311
|
oScope.getElementsByClassName(Element).forEach(function(oElement) {
|
|
@@ -345,7 +345,7 @@ sap.ui.define(["sap/base/Log", "sap/ui/support/library", "sap/ui/core/Element",
|
|
|
345
345
|
resolution: "Refer to the API of the element which event should be used instead.",
|
|
346
346
|
resolutionurls: [{
|
|
347
347
|
text: "API Reference",
|
|
348
|
-
href: "https://
|
|
348
|
+
href: "https://openui5.hana.ondemand.com/api/deprecated"
|
|
349
349
|
}],
|
|
350
350
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
351
351
|
oScope.getElementsByClassName(Element).forEach(function(oElement) {
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @class
|
|
27
27
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
28
28
|
* @extends sap.ui.core.search.SearchProvider
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.103.0
|
|
30
30
|
*
|
|
31
31
|
* @public
|
|
32
32
|
* @alias sap.ui.core.search.OpenSearchProvider
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
23
23
|
*
|
|
24
24
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.103.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.search.SearchProvider
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.base.Object
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.103.0
|
|
87
87
|
* @alias sap.ui.core.service.ServiceFactory
|
|
88
88
|
* @private
|
|
89
89
|
* @ui5-restricted sap.ushell
|
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
* @alias sap.ui.core.support.RuleEngineOpaAssertions
|
|
92
92
|
* @public
|
|
93
93
|
*/
|
|
94
|
-
var oRuleEngineAssertions =
|
|
94
|
+
var oRuleEngineAssertions = {
|
|
95
95
|
/**
|
|
96
96
|
* Run the Support Assistant and analyze against a specific state of the application.
|
|
97
97
|
* Depending on the options passed the assertion might either fail or not if any issues were found.
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
|
|
|
26
26
|
* @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
27
27
|
*
|
|
28
28
|
* @extends sap.ui.base.EventProvider
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.103.0
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.ui.core.support.Support
|
|
32
32
|
*/
|
|
@@ -42,7 +42,7 @@ sap.ui.define(['sap/ui/base/EventProvider', './Plugin', "sap/base/util/UriParame
|
|
|
42
42
|
this._sType = sType;
|
|
43
43
|
this._sLocalOrigin = window.location.protocol + "//" + window.location.host;
|
|
44
44
|
|
|
45
|
-
var fHandler =
|
|
45
|
+
var fHandler = this._receiveEvent.bind(this);
|
|
46
46
|
if (window.addEventListener) {
|
|
47
47
|
window.addEventListener("message", fHandler, false);
|
|
48
48
|
} else {
|
|
@@ -8,6 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
'sap/ui/core/library',
|
|
9
9
|
'sap/ui/Global',
|
|
10
10
|
'sap/ui/core/Core',
|
|
11
|
+
'sap/ui/core/Configuration',
|
|
11
12
|
'sap/ui/core/ElementMetadata',
|
|
12
13
|
"sap/base/util/LoaderExtensions",
|
|
13
14
|
"sap/base/util/UriParameters",
|
|
@@ -17,6 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
library,
|
|
18
19
|
Global,
|
|
19
20
|
Core,
|
|
21
|
+
Configuration,
|
|
20
22
|
ElementMetadata,
|
|
21
23
|
LoaderExtensions,
|
|
22
24
|
UriParameters,
|
|
@@ -103,7 +105,8 @@ sap.ui.define([
|
|
|
103
105
|
language: configurationInfo.getLanguage(),
|
|
104
106
|
formatLocale: configurationInfo.getFormatLocale(),
|
|
105
107
|
accessibility: configurationInfo.getAccessibility(),
|
|
106
|
-
animation: configurationInfo.
|
|
108
|
+
animation: (configurationInfo.getAnimationMode() !== Configuration.AnimationMode.minimal &&
|
|
109
|
+
configurationInfo.getAnimationMode() !== Configuration.AnimationMode.none),
|
|
107
110
|
rtl: configurationInfo.getRTL(),
|
|
108
111
|
debug: configurationInfo.getDebug(),
|
|
109
112
|
inspect: configurationInfo.getInspect(),
|
|
@@ -11,11 +11,13 @@ sap.ui.define([
|
|
|
11
11
|
'sap/ui/core/util/File',
|
|
12
12
|
'sap/ui/thirdparty/jszip',
|
|
13
13
|
'sap/ui/base/DataType',
|
|
14
|
+
'sap/ui/core/Component',
|
|
14
15
|
'sap/ui/core/Element',
|
|
15
16
|
'sap/ui/core/ElementMetadata',
|
|
16
17
|
'sap/ui/core/UIArea',
|
|
17
18
|
'sap/ui/core/mvc/View',
|
|
18
19
|
'sap/ui/core/mvc/XMLView',
|
|
20
|
+
'sap/ui/core/tmpl/Template',
|
|
19
21
|
'sap/ui/model/Binding',
|
|
20
22
|
'sap/ui/model/CompositeBinding',
|
|
21
23
|
'sap/base/util/each',
|
|
@@ -23,6 +25,8 @@ sap.ui.define([
|
|
|
23
25
|
'sap/base/util/ObjectPath',
|
|
24
26
|
"sap/ui/thirdparty/jquery",
|
|
25
27
|
"sap/ui/events/KeyCodes",
|
|
28
|
+
"sap/ui/dom/jquery/selectText",// jQuery Plugin "selectText"
|
|
29
|
+
"sap/ui/dom/jquery/cursorPos",// jQuery Plugin "cursorPos"
|
|
26
30
|
'sap/ui/core/mvc/Controller' // provides sap.ui.controller
|
|
27
31
|
], function(
|
|
28
32
|
Plugin,
|
|
@@ -30,11 +34,13 @@ sap.ui.define([
|
|
|
30
34
|
File,
|
|
31
35
|
JSZip,
|
|
32
36
|
DataType,
|
|
37
|
+
Component,
|
|
33
38
|
Element,
|
|
34
39
|
ElementMetadata,
|
|
35
40
|
UIArea,
|
|
36
41
|
View,
|
|
37
42
|
XMLView,
|
|
43
|
+
Template,
|
|
38
44
|
Binding,
|
|
39
45
|
CompositeBinding,
|
|
40
46
|
each,
|
|
@@ -52,7 +58,7 @@ sap.ui.define([
|
|
|
52
58
|
* @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
53
59
|
*
|
|
54
60
|
* @extends sap.ui.core.support.Plugin
|
|
55
|
-
* @version 1.
|
|
61
|
+
* @version 1.103.0
|
|
56
62
|
* @private
|
|
57
63
|
* @alias sap.ui.core.support.plugins.ControlTree
|
|
58
64
|
*/
|
|
@@ -1421,10 +1427,10 @@ sap.ui.define([
|
|
|
1421
1427
|
oObj = oCore.byId(mAssoc.id);
|
|
1422
1428
|
break;
|
|
1423
1429
|
case "component":
|
|
1424
|
-
oObj =
|
|
1430
|
+
oObj = Component.get(mAssoc.id);
|
|
1425
1431
|
break;
|
|
1426
1432
|
case "template":
|
|
1427
|
-
oObj =
|
|
1433
|
+
oObj = Template.byId(mAssoc.id);
|
|
1428
1434
|
break;
|
|
1429
1435
|
default:
|
|
1430
1436
|
break;
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
|
|
|
15
15
|
* @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
16
16
|
*
|
|
17
17
|
* @extends sap.ui.core.support.Plugin
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.103.0
|
|
19
19
|
* @private
|
|
20
20
|
* @alias sap.ui.core.support.plugins.LocalStorage
|
|
21
21
|
*/
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ui.core.support.Plugin
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.103.0
|
|
24
24
|
* @private
|
|
25
25
|
* @alias sap.ui.core.support.plugins.Selector
|
|
26
26
|
*/
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.core.support.Plugin
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.0
|
|
29
29
|
* @private
|
|
30
30
|
* @alias sap.ui.core.support.plugins.TechInfo
|
|
31
31
|
*/
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
20
20
|
*
|
|
21
21
|
* @extends sap.ui.core.support.Plugin
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.103.0
|
|
23
23
|
* @private
|
|
24
24
|
* @alias sap.ui.core.support.plugins.Trace
|
|
25
25
|
*/
|