@openui5/sap.ui.core 1.105.1 → 1.107.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/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +1 -1
- package/src/jquery.sap.dom.js +10 -10
- package/src/jquery.sap.global.js +24 -216
- package/src/jquery.sap.history.js +1 -1
- package/src/jquery.sap.properties.js +2 -2
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +4 -4
- package/src/jquery.sap.ui.js +5 -7
- package/src/sap/base/i18n/ResourceBundle.js +7 -11
- package/src/sap/base/util/LoaderExtensions.js +6 -6
- package/src/sap/base/util/ObjectPath.js +1 -1
- package/src/sap/base/util/Properties.js +1 -1
- package/src/sap/base/util/fetch.js +8 -10
- package/src/sap/base/util/mixedFetch.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/base/util/syncFetch.js +9 -16
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +7 -14
- package/src/sap/ui/VersionInfo.js +57 -54
- package/src/sap/ui/base/BindingInfo.js +198 -0
- package/src/sap/ui/base/DataType.js +5 -5
- package/src/sap/ui/base/Event.js +2 -2
- package/src/sap/ui/base/EventProvider.js +2 -2
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +209 -979
- package/src/sap/ui/base/ManagedObjectMetadata.js +6 -6
- package/src/sap/ui/base/ManagedObjectRegistry.js +4 -3
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +13 -9
- package/src/sap/ui/core/AppCacheBuster.js +3 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/BusyIndicatorUtils.js +5 -6
- package/src/sap/ui/core/CalendarType.js +0 -1
- package/src/sap/ui/core/Component.js +16 -14
- package/src/sap/ui/core/ComponentContainer.js +6 -5
- package/src/sap/ui/core/ComponentMetadata.js +5 -12
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +525 -336
- package/src/sap/ui/core/Control.js +7 -7
- package/src/sap/ui/core/Core.js +102 -422
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +65 -9
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/FocusHandler.js +79 -9
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -2
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -2
- package/src/sap/ui/core/IconPool.js +8 -8
- package/src/sap/ui/core/IndicationColorSupport.js +2 -2
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -2
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +5 -5
- package/src/sap/ui/core/Item.js +1 -2
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -2
- package/src/sap/ui/core/ListItem.js +1 -2
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -2
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +15 -13
- package/src/sap/ui/core/Manifest.js +8 -6
- package/src/sap/ui/core/Message.js +4 -6
- package/src/sap/ui/core/Popup.js +63 -6
- package/src/sap/ui/core/RenderManager.js +13 -5
- package/src/sap/ui/core/Renderer.js +5 -4
- package/src/sap/ui/core/Rendering.js +251 -0
- package/src/sap/ui/core/ResizeHandler.js +7 -7
- package/src/sap/ui/core/ScrollBar.js +6 -9
- package/src/sap/ui/core/ScrollBarRenderer.js +3 -3
- package/src/sap/ui/core/SeparatorItem.js +1 -2
- package/src/sap/ui/core/Title.js +1 -2
- package/src/sap/ui/core/TooltipBase.js +12 -14
- package/src/sap/ui/core/UIArea.js +396 -129
- package/src/sap/ui/core/UIComponent.js +3 -4
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +2 -2
- package/src/sap/ui/core/VariantLayoutData.js +1 -2
- package/src/sap/ui/core/XMLComposite.js +2 -2
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/XMLTemplateProcessor.js +12 -10
- package/src/sap/ui/core/_ConfigurationProvider.js +187 -0
- package/src/sap/ui/core/cache/CacheManager.js +9 -8
- package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -4
- package/src/sap/ui/core/cldr/es_BO.json +3 -3
- package/src/sap/ui/core/cldr/es_CL.json +3 -3
- package/src/sap/ui/core/cldr/es_MX.json +3 -3
- package/src/sap/ui/core/cldr/es_PE.json +3 -3
- package/src/sap/ui/core/cldr/es_UY.json +3 -3
- package/src/sap/ui/core/cldr/es_VE.json +2 -2
- package/src/sap/ui/core/date/Islamic.js +4 -4
- package/src/sap/ui/core/date/UniversalDate.js +8 -8
- package/src/sap/ui/core/date/UniversalDateUtils.js +3 -3
- package/src/sap/ui/core/delegate/ItemNavigation.js +5 -5
- package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -6
- package/src/sap/ui/core/dnd/DragAndDrop.js +14 -9
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -2
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -2
- package/src/sap/ui/core/dnd/DragInfo.js +1 -2
- package/src/sap/ui/core/dnd/DropInfo.js +1 -2
- package/src/sap/ui/core/format/DateFormat.js +14 -7
- package/src/sap/ui/core/format/DateFormatTimezoneDisplay.js +0 -1
- package/src/sap/ui/core/format/FileSizeFormat.js +4 -3
- package/src/sap/ui/core/format/ListFormat.js +4 -3
- package/src/sap/ui/core/format/NumberFormat.js +7 -6
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +7 -6
- package/src/sap/ui/core/library.js +3 -55
- 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 +13 -23
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_fr.properties +1 -1
- package/src/sap/ui/core/mvc/Controller.js +8 -3
- package/src/sap/ui/core/mvc/EventHandlerResolver.js +5 -3
- package/src/sap/ui/core/mvc/HTMLView.js +1 -2
- package/src/sap/ui/core/mvc/JSONView.js +1 -2
- package/src/sap/ui/core/mvc/JSView.js +2 -3
- package/src/sap/ui/core/mvc/TemplateView.js +1 -2
- package/src/sap/ui/core/mvc/View.js +21 -20
- package/src/sap/ui/core/mvc/ViewType.js +0 -1
- package/src/sap/ui/core/mvc/XMLView.js +18 -18
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/routing/Router.js +1 -1
- package/src/sap/ui/core/routing/async/Target.js +4 -3
- package/src/sap/ui/core/rules/App.support.js +11 -13
- package/src/sap/ui/core/rules/Config.support.js +19 -17
- package/src/sap/ui/core/rules/CoreHelper.support.js +4 -4
- 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 +8 -8
- package/src/sap/ui/core/rules/View.support.js +9 -9
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -2
- package/src/sap/ui/core/search/SearchProvider.js +1 -3
- 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/Hotkeys.js +2 -3
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/ToolsAPI.js +11 -13
- package/src/sap/ui/core/support/plugins/ControlTree.js +4 -4
- package/src/sap/ui/core/support/plugins/Debugging.js +3 -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 +2 -2
- package/src/sap/ui/core/support/support.html +1 -1
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +10 -8
- package/src/sap/ui/core/theming/Parameters.js +8 -15
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -2
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -4
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +6 -5
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -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 +48 -72
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/ResponsivePaddingsEnablement.js +4 -3
- package/src/sap/ui/core/util/XMLPreprocessor.js +2 -2
- package/src/sap/ui/core/util/reflection/BaseTreeModifier.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 +4 -4
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +3 -3
- package/src/sap/ui/debug/DebugEnv.js +4 -4
- package/src/sap/ui/debug/PropertyList.css +1 -31
- package/src/sap/ui/debug/PropertyList.js +6 -250
- package/src/sap/ui/dom/getScrollbarSize.js +1 -1
- package/src/sap/ui/dom/jquery/control.js +1 -0
- package/src/sap/ui/events/jquery/EventSimulation.js +4 -4
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +3 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/Context.js +3 -0
- package/src/sap/ui/model/ContextBinding.js +1 -1
- package/src/sap/ui/model/DataState.js +2 -2
- package/src/sap/ui/model/ListBinding.js +2 -2
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +871 -0
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +16 -5
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +2 -2
- package/src/sap/ui/model/Sorter.js +24 -19
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/TreeBindingAdapter.js +3 -7
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
- package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +5 -7
- package/src/sap/ui/model/json/JSONModel.js +9 -7
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.js +4 -4
- package/src/sap/ui/model/odata/ODataAnnotations.js +5 -3
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +10 -10
- package/src/sap/ui/model/odata/ODataMetadata.js +5 -4
- package/src/sap/ui/model/odata/ODataModel.js +6 -5
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +0 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +5 -5
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +4 -3
- package/src/sap/ui/model/odata/v2/ODataContextBinding.js +25 -16
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +46 -28
- package/src/sap/ui/model/odata/v2/ODataModel.js +97 -39
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +5 -5
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +3 -3
- package/src/sap/ui/model/odata/v4/Context.js +109 -71
- package/src/sap/ui/model/odata/v4/ODataBinding.js +50 -7
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +88 -68
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +116 -81
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +23 -20
- package/src/sap/ui/model/odata/v4/ODataModel.js +350 -88
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +35 -9
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +15 -9
- package/src/sap/ui/model/odata/v4/ODataUtils.js +8 -5
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +45 -33
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +40 -6
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +135 -81
- package/src/sap/ui/model/odata/v4/lib/_ConcatHelper.js +2 -3
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +179 -36
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +2 -3
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +26 -7
- package/src/sap/ui/model/resource/ResourceModel.js +8 -7
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +2 -2
- 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 +2 -2
- 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 +5 -4
- package/src/sap/ui/model/xml/XMLModel.js +8 -6
- package/src/sap/ui/performance/trace/Interaction.js +1 -1
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/test/Opa.js +7 -5
- package/src/sap/ui/test/Opa5.js +9 -15
- package/src/sap/ui/test/OpaBuilder.js +1 -1
- package/src/sap/ui/test/RecorderHotkeyListener.js +1 -1
- package/src/sap/ui/test/TestUtils.js +83 -1
- package/src/sap/ui/test/autowaiter/_autoWaiter.js +9 -0
- package/src/sap/ui/test/autowaiter/_cssAnimationWaiter.js +114 -0
- package/src/sap/ui/test/autowaiter/_cssTransitionWaiter.js +99 -0
- package/src/sap/ui/test/autowaiter/_jsAnimationWaiter.js +70 -0
- package/src/sap/ui/test/autowaiter/_resourceWaiter.js +3 -12
- package/src/sap/ui/test/autowaiter/_utils.js +13 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/matchers/Ancestor.js +1 -0
- package/src/sap/ui/test/matchers/Descendant.js +1 -0
- package/src/sap/ui/test/matchers/Sibling.js +1 -0
- package/src/sap/ui/util/Storage.js +1 -1
|
@@ -17,7 +17,8 @@ sap.ui.define([
|
|
|
17
17
|
"sap/base/assert",
|
|
18
18
|
"sap/ui/thirdparty/jquery",
|
|
19
19
|
"sap/ui/events/F6Navigation",
|
|
20
|
-
"./RenderManager"
|
|
20
|
+
"./RenderManager",
|
|
21
|
+
"sap/ui/core/Configuration"
|
|
21
22
|
],
|
|
22
23
|
function(
|
|
23
24
|
DataType,
|
|
@@ -31,7 +32,8 @@ sap.ui.define([
|
|
|
31
32
|
assert,
|
|
32
33
|
jQuery,
|
|
33
34
|
F6Navigation,
|
|
34
|
-
RenderManager
|
|
35
|
+
RenderManager,
|
|
36
|
+
Configuration
|
|
35
37
|
) {
|
|
36
38
|
"use strict";
|
|
37
39
|
|
|
@@ -126,10 +128,9 @@ sap.ui.define([
|
|
|
126
128
|
*
|
|
127
129
|
* @extends sap.ui.base.ManagedObject
|
|
128
130
|
* @author SAP SE
|
|
129
|
-
* @version 1.
|
|
131
|
+
* @version 1.107.0
|
|
130
132
|
* @public
|
|
131
133
|
* @alias sap.ui.core.Element
|
|
132
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
133
134
|
*/
|
|
134
135
|
var Element = ManagedObject.extend("sap.ui.core.Element", {
|
|
135
136
|
|
|
@@ -213,7 +214,7 @@ sap.ui.define([
|
|
|
213
214
|
} else {
|
|
214
215
|
var sMsg = "adding element with duplicate id '" + sId + "'";
|
|
215
216
|
// duplicate ID detected => fail or at least log a warning
|
|
216
|
-
if (
|
|
217
|
+
if (Configuration.getNoDuplicateIds()) {
|
|
217
218
|
Log.error(sMsg);
|
|
218
219
|
throw new Error("Error: " + sMsg);
|
|
219
220
|
} else {
|
|
@@ -946,7 +947,7 @@ sap.ui.define([
|
|
|
946
947
|
* matter where it comes from (be it a string tooltip or the text from a TooltipBase
|
|
947
948
|
* instance) then they could call {@link #getTooltip_Text} instead.
|
|
948
949
|
*
|
|
949
|
-
* @
|
|
950
|
+
* @returns {string|sap.ui.core.TooltipBase|null} The tooltip for this Element or <code>null</code>.
|
|
950
951
|
* @public
|
|
951
952
|
*/
|
|
952
953
|
Element.prototype.getTooltip = function() {
|
|
@@ -977,7 +978,7 @@ sap.ui.define([
|
|
|
977
978
|
* of that object is returned. Otherwise the object itself is returned (either a string
|
|
978
979
|
* or <code>undefined</code> or <code>null</code>).
|
|
979
980
|
*
|
|
980
|
-
* @returns {string|undefined} Text of the current tooltip or <code>undefined</code> or <code>null</code>
|
|
981
|
+
* @returns {string|undefined|null} Text of the current tooltip or <code>undefined</code> or <code>null</code>
|
|
981
982
|
* @public
|
|
982
983
|
*/
|
|
983
984
|
Element.prototype.getTooltip_Text = function() {
|
|
@@ -1020,7 +1021,6 @@ sap.ui.define([
|
|
|
1020
1021
|
* Contains a single key/value pair of custom data attached to an <code>Element</code>.
|
|
1021
1022
|
* @public
|
|
1022
1023
|
* @alias sap.ui.core.CustomData
|
|
1023
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
1024
1024
|
* @synthetic
|
|
1025
1025
|
*/
|
|
1026
1026
|
var CustomData = Element.extend("sap.ui.core.CustomData", /** @lends sap.ui.core.CustomData.prototype */ { metadata : {
|
|
@@ -1456,7 +1456,7 @@ sap.ui.define([
|
|
|
1456
1456
|
* refers to the default model.
|
|
1457
1457
|
*
|
|
1458
1458
|
* @param {string} [sModelName=undefined] Name of the model or <code>undefined</code>
|
|
1459
|
-
* @return {sap.ui.model.ContextBinding} Context binding for the given model name or <code>undefined</code>
|
|
1459
|
+
* @return {sap.ui.model.ContextBinding|undefined} Context binding for the given model name or <code>undefined</code>
|
|
1460
1460
|
* @public
|
|
1461
1461
|
* @function
|
|
1462
1462
|
*/
|
|
@@ -1671,6 +1671,62 @@ sap.ui.define([
|
|
|
1671
1671
|
}
|
|
1672
1672
|
};
|
|
1673
1673
|
|
|
1674
|
+
/**
|
|
1675
|
+
* Returns the nearest [UI5 Element]{@link sap.ui.core.Element} that wraps the given DOM element.
|
|
1676
|
+
*
|
|
1677
|
+
* A DOM element or a CSS selector is accepted as a given parameter. When a CSS selector is given as parameter, only
|
|
1678
|
+
* the first DOM element that matches the CSS selector is taken to find the nearest UI5 Element that wraps it. When
|
|
1679
|
+
* no UI5 Element can be found, <code>undefined</code> is returned.
|
|
1680
|
+
*
|
|
1681
|
+
* @param {HTMLElement|string} vParam A DOM Element or a CSS selector from which to start the search for the nearest
|
|
1682
|
+
* UI5 Element by traversing up the DOM tree
|
|
1683
|
+
* @param {boolean} [bIncludeRelated=false] Whether the <code>data-sap-ui-related</code> attribute is also accepted
|
|
1684
|
+
* as a selector for a UI5 Element, in addition to <code>data-sap-ui</code>
|
|
1685
|
+
* @returns {sap.ui.core.Element} The UI5 Element that wraps the given DOM element. <code>undefined</code> is
|
|
1686
|
+
* returned when no UI5 Element can be found.
|
|
1687
|
+
* @public
|
|
1688
|
+
* @since 1.106
|
|
1689
|
+
* @throws {DOMException} when an invalid CSS selector is given
|
|
1690
|
+
*
|
|
1691
|
+
*/
|
|
1692
|
+
Element.closestTo = function(vParam, bIncludeRelated) {
|
|
1693
|
+
var sSelector = "[data-sap-ui]",
|
|
1694
|
+
oDomRef, sId;
|
|
1695
|
+
|
|
1696
|
+
if (vParam === undefined || vParam === null) {
|
|
1697
|
+
return undefined;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
if (typeof vParam === "string") {
|
|
1701
|
+
oDomRef = document.querySelector(vParam);
|
|
1702
|
+
} else if (vParam instanceof window.Element){
|
|
1703
|
+
oDomRef = vParam;
|
|
1704
|
+
} else if (vParam.jquery) {
|
|
1705
|
+
oDomRef = vParam[0];
|
|
1706
|
+
Log.error("[FUTURE] Do not call Element.closestTo() with jQuery object as parameter. \
|
|
1707
|
+
The function should be called with either a DOM Element or a CSS selector. \
|
|
1708
|
+
(future error, ignored for now)");
|
|
1709
|
+
} else {
|
|
1710
|
+
throw new TypeError("Element.closestTo accepts either a DOM element or a CSS selector string as parameter, but not '" + vParam + "'");
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
if (bIncludeRelated) {
|
|
1714
|
+
sSelector += ",[data-sap-ui-related]";
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
oDomRef = oDomRef && oDomRef.closest(sSelector);
|
|
1718
|
+
|
|
1719
|
+
if (oDomRef) {
|
|
1720
|
+
if (bIncludeRelated) {
|
|
1721
|
+
sId = oDomRef.getAttribute("data-sap-ui-related");
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
sId = sId || oDomRef.getAttribute("id");
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
return Element.registry.get(sId);
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1674
1730
|
/**
|
|
1675
1731
|
* Registry of all <code>sap.ui.core.Element</code>s that currently exist.
|
|
1676
1732
|
*
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
*
|
|
44
44
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
45
45
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.107.0
|
|
47
47
|
* @public
|
|
48
48
|
* @class
|
|
49
49
|
* @alias sap.ui.core.EnabledPropagator
|
|
@@ -6,20 +6,23 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides class sap.ui.core.FocusHandler
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"../base/EventProvider",
|
|
9
10
|
"../base/Object",
|
|
10
11
|
"sap/base/Log",
|
|
11
12
|
"sap/ui/thirdparty/jquery",
|
|
12
|
-
"sap/ui/dom/_ready"
|
|
13
|
-
// jQuery Plugin "control"
|
|
14
|
-
"sap/ui/dom/jquery/control"
|
|
13
|
+
"sap/ui/dom/_ready"
|
|
15
14
|
],
|
|
16
|
-
function(BaseObject, Log, jQuery, _ready) {
|
|
15
|
+
function(EventProvider, BaseObject, Log, jQuery, _ready) {
|
|
17
16
|
"use strict";
|
|
18
17
|
|
|
19
18
|
// Element, Core module references, lazily probed when needed
|
|
20
19
|
var Element;
|
|
21
20
|
var Core;
|
|
22
21
|
|
|
22
|
+
var oFocusInfoEventProvider = new EventProvider();
|
|
23
|
+
var FOCUS_INFO_EVENT = "focusInfo";
|
|
24
|
+
var oEventData = {};
|
|
25
|
+
|
|
23
26
|
/**
|
|
24
27
|
* Constructs an instance of an sap.ui.core.FocusHandler.
|
|
25
28
|
* Keeps track of the focused element.
|
|
@@ -63,16 +66,19 @@ sap.ui.define([
|
|
|
63
66
|
* @public
|
|
64
67
|
*/
|
|
65
68
|
FocusHandler.prototype.getCurrentFocusedControlId = function(){
|
|
66
|
-
var
|
|
69
|
+
var oControl;
|
|
67
70
|
try {
|
|
68
71
|
var $Act = jQuery(document.activeElement);
|
|
69
72
|
if ($Act.is(":focus")) {
|
|
70
|
-
|
|
73
|
+
if (!Element) {
|
|
74
|
+
Element = sap.ui.require("sap/ui/core/Element");
|
|
75
|
+
}
|
|
76
|
+
oControl = Element && Element.closestTo($Act[0]);
|
|
71
77
|
}
|
|
72
78
|
} catch (err) {
|
|
73
79
|
//escape eslint check for empty block
|
|
74
80
|
}
|
|
75
|
-
return
|
|
81
|
+
return oControl ? oControl.getId() : null;
|
|
76
82
|
};
|
|
77
83
|
|
|
78
84
|
/**
|
|
@@ -153,6 +159,36 @@ sap.ui.define([
|
|
|
153
159
|
}
|
|
154
160
|
};
|
|
155
161
|
|
|
162
|
+
/**
|
|
163
|
+
* Adds the given function as an extender of the focus info. The given function will be called within the
|
|
164
|
+
* <code>restoreFocus</code> function before the focus info is forwarded to the corresponding control.
|
|
165
|
+
*
|
|
166
|
+
* @see sap.ui.core.FocusHandler#restoreFocus
|
|
167
|
+
* @param {function} fnFunction The function that will be called to extend the focus info
|
|
168
|
+
* @param {object} oListener An object which is set as "this" context when callin the "fnFunction"
|
|
169
|
+
* @return {sap.ui.core.FocusHandler} The object itself to allow function chaining
|
|
170
|
+
* @private
|
|
171
|
+
*/
|
|
172
|
+
FocusHandler.prototype.addFocusInfoExtender = function(fnFunction, oListener) {
|
|
173
|
+
oFocusInfoEventProvider.attachEvent(FOCUS_INFO_EVENT, oEventData, fnFunction, oListener);
|
|
174
|
+
return this;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Removes the given function from being an extender of the focus info.
|
|
179
|
+
*
|
|
180
|
+
* @param {function} fnFunction The function that will be removed
|
|
181
|
+
* @param {object} oListener An object which is set as "this" context when callin the "fnFunction". Only when
|
|
182
|
+
* the same "oListener" is given as the one that is used to call <code>addFocusInfoExtender</code>, the function
|
|
183
|
+
* can be removed correctly.
|
|
184
|
+
* @return {sap.ui.core.FocusHandler} The object itself to allow function chaining
|
|
185
|
+
* @private
|
|
186
|
+
*/
|
|
187
|
+
FocusHandler.prototype.removeFocusInfoExtender = function(fnFunction, oListener) {
|
|
188
|
+
oFocusInfoEventProvider.detachEvent(FOCUS_INFO_EVENT, fnFunction, oListener);
|
|
189
|
+
return this;
|
|
190
|
+
};
|
|
191
|
+
|
|
156
192
|
/**
|
|
157
193
|
* Restores the focus to the last known focused control or to the given focusInfo, if possible.
|
|
158
194
|
*
|
|
@@ -175,13 +211,26 @@ sap.ui.define([
|
|
|
175
211
|
&& oControl.getMetadata().getName() == oInfo.type
|
|
176
212
|
&& (oInfo.patching
|
|
177
213
|
|| (oControl.getFocusDomRef() != oFocusRef
|
|
178
|
-
&& (oControlFocusInfo || /*!oControlFocusInfo &&*/ oControl !== oInfo.control)))) {
|
|
214
|
+
&& (oControlFocusInfo || /*!oControlFocusInfo &&*/ oControl !== oInfo.control || oInfo.preserved)))) {
|
|
179
215
|
Log.debug("Apply focus info of control " + oInfo.id, null, "sap.ui.core.FocusHandler");
|
|
180
216
|
oInfo.control = oControl;
|
|
181
217
|
this.oLastFocusedControlInfo = oInfo;
|
|
182
218
|
// Do not store dom patch info in the last focused control info
|
|
183
219
|
delete this.oLastFocusedControlInfo.patching;
|
|
184
|
-
|
|
220
|
+
|
|
221
|
+
// expose focus info into the oEventData which is forwarded to the focus info extender
|
|
222
|
+
oEventData.info = oInfo.info;
|
|
223
|
+
oFocusInfoEventProvider.fireEvent(FOCUS_INFO_EVENT, {
|
|
224
|
+
domRef: oControl.getDomRef()
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
oControl.applyFocusInfo(oEventData.info);
|
|
228
|
+
|
|
229
|
+
// oEventData is given to the event handler as event data, thus we can't assign it with a new empty
|
|
230
|
+
// object. We need to clear it by deleting all of its own properties
|
|
231
|
+
Object.keys(oEventData).forEach(function(sKey) {
|
|
232
|
+
delete oEventData[sKey];
|
|
233
|
+
});
|
|
185
234
|
} else {
|
|
186
235
|
Log.debug("Apply focus info of control " + oInfo.id + " not possible", null, "sap.ui.core.FocusHandler");
|
|
187
236
|
}
|
|
@@ -302,6 +351,27 @@ sap.ui.define([
|
|
|
302
351
|
this.oLast = null;
|
|
303
352
|
};
|
|
304
353
|
|
|
354
|
+
/**
|
|
355
|
+
* Tracks the focus before it is lost during DOM preserving.
|
|
356
|
+
* Called by the RenderManager when a DOM element is moved to the preserved area.
|
|
357
|
+
*
|
|
358
|
+
* If the preserved Element contains the activeElement, the focus is set to the body.
|
|
359
|
+
*
|
|
360
|
+
* In case the currently activeElement is also the last known focus-ref, we need to track
|
|
361
|
+
* this information, so the Focus can correctly restored later on.
|
|
362
|
+
*
|
|
363
|
+
* @param {Element} oCandidate the DOM element that will be preserved
|
|
364
|
+
* @private
|
|
365
|
+
* @ui5-restricted sap.ui.core.RenderManager
|
|
366
|
+
*/
|
|
367
|
+
FocusHandler.prototype.trackFocusForPreservedElement = function(oCandidate) {
|
|
368
|
+
if (oCandidate.contains(document.activeElement) &&
|
|
369
|
+
this.oLastFocusedControlInfo && document.activeElement === this.oLastFocusedControlInfo.focusref) {
|
|
370
|
+
// the 'preserved' flag will be read during restoreFocus
|
|
371
|
+
this.oLastFocusedControlInfo.preserved = true;
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
|
|
305
375
|
|
|
306
376
|
//***********************************************************
|
|
307
377
|
// Utility / convenience
|
package/src/sap/ui/core/HTML.js
CHANGED
|
@@ -44,11 +44,10 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.107.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @alias sap.ui.core.HTML
|
|
51
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
52
51
|
*/
|
|
53
52
|
var HTML = Control.extend("sap.ui.core.HTML", /** @lends sap.ui.core.HTML.prototype */ {
|
|
54
53
|
metadata : {
|
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -73,12 +73,11 @@ sap.ui.define([
|
|
|
73
73
|
* @implements sap.ui.core.IFormContent
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.107.0
|
|
77
77
|
*
|
|
78
78
|
* @public
|
|
79
79
|
* @since 1.11.1
|
|
80
80
|
* @alias sap.ui.core.Icon
|
|
81
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
82
81
|
*/
|
|
83
82
|
var Icon = Control.extend("sap.ui.core.Icon", /** @lends sap.ui.core.Icon.prototype */ {
|
|
84
83
|
metadata : {
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* All properties of the associated constructor can be used. Unknown properties are ignored.
|
|
40
40
|
* It should contain at least a property named src. If it's given with a string type, it will be taken as the value of src property.
|
|
41
41
|
* @param {function} constructor The constructor function which is called when the given URI isn't an icon URI
|
|
42
|
-
* @
|
|
42
|
+
* @returns {sap.ui.core.Control} Either an instance of <code>sap.ui.core.Icon</code> or instance created by calling the given constructor
|
|
43
43
|
* @static
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
* @param {boolean} [iconInfo.suppressMirroring=false] indicates whether this icon should NOT be mirrored in RTL (right to left) mode.
|
|
80
80
|
* @param {module:sap/base/i18n/ResourceBundle} [iconInfo.resourceBundle] ResourceBundle to be used for translation. Key format: "Icon.<iconName>".
|
|
81
81
|
*
|
|
82
|
-
* @
|
|
82
|
+
* @returns {{name: string, collection: string, uri: string, fontFamily: string, content: string | string[], suppressMirroring: boolean}} the info object of the registered icon which has the name, collection, uri, fontFamily, content and suppressMirroring properties.
|
|
83
83
|
* @static
|
|
84
84
|
* @public
|
|
85
85
|
* @function
|
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
*
|
|
92
92
|
* @param {string} iconName Name of the icon, must not be empty
|
|
93
93
|
* @param {string} [collectionName] Name of the icon collection; to access built-in icons, omit the collection name
|
|
94
|
-
* @
|
|
94
|
+
* @returns {string|undefined} URI of the icon or <code>undefined</code> if the icon can't be found in the IconPool
|
|
95
95
|
* @static
|
|
96
96
|
* @public
|
|
97
97
|
* @function
|
|
@@ -124,7 +124,7 @@ sap.ui.define([
|
|
|
124
124
|
* sync - font metadata is loaded synchronously and the icon info is returned immediately
|
|
125
125
|
* async - a promise is returned that returns the icon info when the font metadata is loaded
|
|
126
126
|
* mixed - until the font metadata is loaded a promise is returned, afterwards the icon info
|
|
127
|
-
* @
|
|
127
|
+
* @returns {object|Promise|undefined} Info object or Promise for the icon depending on the loadingMode
|
|
128
128
|
* or <code>undefined</code> when the icon can't be found or no icon name was given.
|
|
129
129
|
* @static
|
|
130
130
|
* @public
|
|
@@ -163,7 +163,7 @@ sap.ui.define([
|
|
|
163
163
|
* where collectionName and iconName must be non-empty.
|
|
164
164
|
*
|
|
165
165
|
* @param {string} uri The URI to check
|
|
166
|
-
* @
|
|
166
|
+
* @returns {boolean} Whether the URI matches the icon URI format
|
|
167
167
|
* @static
|
|
168
168
|
* @public
|
|
169
169
|
* @function
|
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
/**
|
|
174
174
|
* Returns all names of registered collections in IconPool
|
|
175
175
|
*
|
|
176
|
-
* @
|
|
176
|
+
* @returns {array} An array contains all of the registered collections' names.
|
|
177
177
|
* @static
|
|
178
178
|
* @public
|
|
179
179
|
* @function
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
* Returns all name of icons that are registered under the given collection.
|
|
185
185
|
*
|
|
186
186
|
* @param {string} collectionName the name of collection where icon names are retrieved.
|
|
187
|
-
* @
|
|
187
|
+
* @returns {array} An array contains all of the registered icon names under the given collection.
|
|
188
188
|
* @static
|
|
189
189
|
* @public
|
|
190
190
|
* @function
|
|
@@ -307,7 +307,7 @@ sap.ui.define([
|
|
|
307
307
|
* Returns the icon url based on the given mime type
|
|
308
308
|
*
|
|
309
309
|
* @param {string} sMimeType the mime type of a file (e.g. "application/zip")
|
|
310
|
-
* @
|
|
310
|
+
* @returns {string} the icon url (e.g. "sap-icon://attachment-zip-file")
|
|
311
311
|
* @static
|
|
312
312
|
* @public
|
|
313
313
|
* @since 1.25.0
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['./library'],
|
|
|
16
16
|
* Helper functionality for indication color support.
|
|
17
17
|
*
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.107.0
|
|
20
20
|
* @public
|
|
21
21
|
* @namespace sap.ui.core.IndicationColorSupport
|
|
22
22
|
* @since 1.66
|
|
@@ -47,7 +47,7 @@ sap.ui.define(['./library'],
|
|
|
47
47
|
* represents one of five states.
|
|
48
48
|
*
|
|
49
49
|
* @param {sap.ui.core.Element|sap.ui.core.IndicationColor} vValue the Element of which the indicationColor needs to be checked, or the IndicationColor explicitly
|
|
50
|
-
* @returns {string} the indication color text, if appropriate; otherwise null
|
|
50
|
+
* @returns {string|null} the indication color text, if appropriate; otherwise <code>null</code>
|
|
51
51
|
*
|
|
52
52
|
* @public
|
|
53
53
|
* @name sap.ui.core.IndicationColorSupport.getAdditionalText
|
|
@@ -32,12 +32,11 @@ function (coreLibrary, ManagedObject, Log) {
|
|
|
32
32
|
* @extends sap.ui.base.ManagedObject
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.107.0
|
|
36
36
|
* @hideconstructor
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.78
|
|
39
39
|
* @alias sap.ui.core.InvisibleMessage
|
|
40
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
40
|
*/
|
|
42
41
|
|
|
43
42
|
var InvisibleMessage = ManagedObject.extend("sap.ui.core.InvisibleMessage", /** @lends sap.ui.core.InvisibleMessage.prototype */ {
|
|
@@ -12,7 +12,7 @@ sap.ui.define([], function() {
|
|
|
12
12
|
* Provides the default renderer for the controls that have set their <code>visible</code> property to <code>false</code>.
|
|
13
13
|
*
|
|
14
14
|
* @author SAP SE
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.107.0
|
|
16
16
|
* @alias module:sap/ui/core/InvisibleRenderer
|
|
17
17
|
* @since 1.66.0
|
|
18
18
|
* @protected
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.ui.core.InvisibleText.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"./Control",
|
|
10
9
|
"sap/base/Log",
|
|
11
10
|
"sap/base/security/encodeXML",
|
|
11
|
+
"./Configuration",
|
|
12
|
+
"./Control",
|
|
12
13
|
"./library" // ensure loading of CSS
|
|
13
|
-
], function(
|
|
14
|
+
], function(Log, encodeXML, Configuration, Control) {
|
|
14
15
|
"use strict";
|
|
15
16
|
|
|
16
17
|
|
|
@@ -29,12 +30,11 @@ sap.ui.define([
|
|
|
29
30
|
* @extends sap.ui.core.Control
|
|
30
31
|
*
|
|
31
32
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
33
|
+
* @version 1.107.0
|
|
33
34
|
*
|
|
34
35
|
* @public
|
|
35
36
|
* @since 1.27.0
|
|
36
37
|
* @alias sap.ui.core.InvisibleText
|
|
37
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
38
38
|
*/
|
|
39
39
|
var InvisibleText = Control.extend("sap.ui.core.InvisibleText", /** @lends sap.ui.core.InvisibleText.prototype */ {
|
|
40
40
|
metadata : {
|
|
@@ -180,7 +180,7 @@ sap.ui.define([
|
|
|
180
180
|
InvisibleText.getStaticId = function(sLibrary, sTextKey) {
|
|
181
181
|
var sTextId = "", sKey, oBundle, oText;
|
|
182
182
|
|
|
183
|
-
if (
|
|
183
|
+
if ( Configuration.getAccessibility() && sTextKey ) {
|
|
184
184
|
// Note: identify by lib and text key, not by text to avoid conflicts after a language change
|
|
185
185
|
sKey = sLibrary + "|" + sTextKey;
|
|
186
186
|
sTextId = mTextIds[sKey];
|
package/src/sap/ui/core/Item.js
CHANGED
|
@@ -24,11 +24,10 @@ sap.ui.define(['./Element', './library'],
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.107.0
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
30
|
* @alias sap.ui.core.Item
|
|
31
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
32
31
|
*/
|
|
33
32
|
var Item = Element.extend("sap.ui.core.Item", /** @lends sap.ui.core.Item.prototype */ { metadata : {
|
|
34
33
|
|
|
@@ -136,7 +136,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
|
|
|
136
136
|
* @see sap.ui.core.LabelEnablement#enrich
|
|
137
137
|
*
|
|
138
138
|
* @author SAP SE
|
|
139
|
-
* @version 1.
|
|
139
|
+
* @version 1.107.0
|
|
140
140
|
* @protected
|
|
141
141
|
* @alias sap.ui.core.LabelEnablement
|
|
142
142
|
* @namespace
|
|
@@ -23,11 +23,10 @@ sap.ui.define(['./Element', "sap/ui/thirdparty/jquery", './library'],
|
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.107.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.LayoutData
|
|
30
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
31
30
|
*/
|
|
32
31
|
var LayoutData = Element.extend("sap.ui.core.LayoutData", /** @lends sap.ui.core.LayoutData.prototype */ { metadata : {
|
|
33
32
|
|
|
@@ -23,11 +23,10 @@ sap.ui.define(['./Item', './library'],
|
|
|
23
23
|
* @extends sap.ui.core.Item
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.107.0
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
* @alias sap.ui.core.ListItem
|
|
30
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
31
30
|
*/
|
|
32
31
|
var ListItem = Item.extend("sap.ui.core.ListItem", /** @lends sap.ui.core.ListItem.prototype */ { metadata : {
|
|
33
32
|
|
|
@@ -32,14 +32,13 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.107.0
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @since 1.11.0
|
|
39
39
|
* @deprecated Since version 1.14.2.
|
|
40
40
|
* The LocalBusyIndicator Control is not needed anymore by the new implementation of the LBI. Hence, it is not used anymore.
|
|
41
41
|
* @alias sap.ui.core.LocalBusyIndicator
|
|
42
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
43
42
|
*/
|
|
44
43
|
var LocalBusyIndicator = Control.extend("sap.ui.core.LocalBusyIndicator", /** @lends sap.ui.core.LocalBusyIndicator.prototype */ {
|
|
45
44
|
metadata : {
|