@openui5/sap.ui.core 1.102.1 → 1.103.1
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/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/i18n/ResourceBundle.js +2 -2
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/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 +1 -89
- package/src/sap/ui/core/AppCacheBuster.js +4 -4
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +4 -4
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +1 -1
- package/src/sap/ui/core/Control.js +2 -2
- package/src/sap/ui/core/Core.js +8 -8
- 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/FocusHandler.js +2 -2
- 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 +6 -6
- 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 +1 -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 +4 -2
- 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 +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- 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 +3 -2
- 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 +3 -5
- package/src/sap/ui/core/cache/LRUPersistentCache.js +2 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragAndDrop.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/format/DateFormat.js +2 -2
- package/src/sap/ui/core/format/NumberFormat.js +3 -3
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +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 +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +1 -1
- 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/History.js +5 -3
- package/src/sap/ui/core/routing/Router.js +4 -2
- package/src/sap/ui/core/routing/Targets.js +2 -2
- 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 +1 -1
- package/src/sap/ui/core/support/ToolsAPI.js +4 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +3 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/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 +1 -1
- 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 +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/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/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/TreeBindingAdapter.js +134 -0
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +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/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +36 -4
- package/src/sap/ui/model/odata/v4/Context.js +7 -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 +29 -2
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +5 -5
- package/src/sap/ui/model/odata/v4/ODataModel.js +66 -3
- 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 +183 -20
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +10 -3
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +3 -7
- 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/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/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 +5 -5
- 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 +71 -0
|
@@ -126,7 +126,7 @@ sap.ui.define([
|
|
|
126
126
|
*
|
|
127
127
|
* @extends sap.ui.base.ManagedObject
|
|
128
128
|
* @author SAP SE
|
|
129
|
-
* @version 1.
|
|
129
|
+
* @version 1.103.1
|
|
130
130
|
* @public
|
|
131
131
|
* @alias sap.ui.core.Element
|
|
132
132
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -437,7 +437,7 @@ sap.ui.define([
|
|
|
437
437
|
* This matches the UI5 naming convention for named inner DOM nodes of a control.
|
|
438
438
|
*
|
|
439
439
|
* @param {string} [sSuffix] ID suffix to get the DOMRef for
|
|
440
|
-
* @
|
|
440
|
+
* @returns {Element|null} The Element's DOM Element, sub DOM Element or <code>null</code>
|
|
441
441
|
* @protected
|
|
442
442
|
*/
|
|
443
443
|
Element.prototype.getDomRef = function(sSuffix) {
|
|
@@ -536,7 +536,7 @@ sap.ui.define([
|
|
|
536
536
|
/**
|
|
537
537
|
* Returns the UI area of this element, if any.
|
|
538
538
|
*
|
|
539
|
-
* @return {sap.ui.core.UIArea} The UI area of this element or null
|
|
539
|
+
* @return {sap.ui.core.UIArea|null} The UI area of this element or <code>null</code>
|
|
540
540
|
* @private
|
|
541
541
|
*/
|
|
542
542
|
Element.prototype.getUIArea = function() {
|
|
@@ -789,11 +789,11 @@ sap.ui.define([
|
|
|
789
789
|
};
|
|
790
790
|
|
|
791
791
|
/**
|
|
792
|
-
* Returns the DOM Element that should get the focus.
|
|
792
|
+
* Returns the DOM Element that should get the focus or <code>null</code> if there's no such element currently.
|
|
793
793
|
*
|
|
794
794
|
* To be overwritten by the specific control method.
|
|
795
795
|
*
|
|
796
|
-
* @
|
|
796
|
+
* @returns {Element|null} Returns the DOM Element that should get the focus or <code>null</code>
|
|
797
797
|
* @protected
|
|
798
798
|
*/
|
|
799
799
|
Element.prototype.getFocusDomRef = function () {
|
|
@@ -957,9 +957,9 @@ sap.ui.define([
|
|
|
957
957
|
|
|
958
958
|
/**
|
|
959
959
|
* Returns the tooltip for this element but only if it is a simple string.
|
|
960
|
-
* Otherwise
|
|
960
|
+
* Otherwise, <code>undefined</code> is returned.
|
|
961
961
|
*
|
|
962
|
-
* @
|
|
962
|
+
* @returns {string|undefined} string tooltip or <code>undefined</code>
|
|
963
963
|
* @public
|
|
964
964
|
*/
|
|
965
965
|
Element.prototype.getTooltip_AsString = function() {
|
|
@@ -971,12 +971,13 @@ sap.ui.define([
|
|
|
971
971
|
};
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
|
-
* Returns the main text for the current tooltip or undefined if there is no such text.
|
|
975
|
-
*
|
|
974
|
+
* Returns the main text for the current tooltip or <code>undefined</code> if there is no such text.
|
|
975
|
+
*
|
|
976
|
+
* If the tooltip is an object derived from <code>sap.ui.core.TooltipBase</code>, then the text property
|
|
976
977
|
* of that object is returned. Otherwise the object itself is returned (either a string
|
|
977
|
-
* or undefined or null).
|
|
978
|
+
* or <code>undefined</code> or <code>null</code>).
|
|
978
979
|
*
|
|
979
|
-
* @
|
|
980
|
+
* @returns {string|undefined} Text of the current tooltip or <code>undefined</code> or <code>null</code>
|
|
980
981
|
* @public
|
|
981
982
|
*/
|
|
982
983
|
Element.prototype.getTooltip_Text = function() {
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides mixin sap.ui.core.EnabledPropagator
|
|
8
|
-
sap.ui.define([
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/ui/dom/jquery/Selectors"// jQuery custom selectors ":focusable"
|
|
10
|
+
], function() {
|
|
9
11
|
"use strict";
|
|
10
12
|
|
|
11
13
|
/**
|
|
@@ -41,7 +43,7 @@ sap.ui.define([], function() {
|
|
|
41
43
|
*
|
|
42
44
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
43
45
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
44
|
-
* @version 1.
|
|
46
|
+
* @version 1.103.1
|
|
45
47
|
* @public
|
|
46
48
|
* @class
|
|
47
49
|
* @alias sap.ui.core.EnabledPropagator
|
|
@@ -302,12 +302,12 @@ sap.ui.define([
|
|
|
302
302
|
//***********************************************************
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
* Returns the
|
|
305
|
+
* Returns the ID of the control/element to which the given DOM
|
|
306
306
|
* reference belongs to or <code>null</code> if no such
|
|
307
307
|
* control/element exists.
|
|
308
308
|
*
|
|
309
309
|
* @param {Element} oDOM the DOM reference
|
|
310
|
-
* @returns {string}
|
|
310
|
+
* @returns {string|null} ID of the control or <code>null</code>
|
|
311
311
|
* @private
|
|
312
312
|
*/
|
|
313
313
|
var getControlIdForDOM = function(oDOM){
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
'sap/ui/thirdparty/jquery',
|
|
9
8
|
'../base/ManagedObject',
|
|
10
9
|
'./Element',
|
|
11
10
|
'./DeclarativeSupport',
|
|
@@ -13,11 +12,11 @@ sap.ui.define([
|
|
|
13
12
|
'sap/base/Log',
|
|
14
13
|
'sap/base/util/LoaderExtensions',
|
|
15
14
|
'sap/base/util/merge',
|
|
15
|
+
'sap/ui/util/XMLHelper',
|
|
16
16
|
'sap/ui/core/Component',
|
|
17
17
|
'sap/ui/core/mvc/XMLProcessingMode'
|
|
18
18
|
],
|
|
19
19
|
function(
|
|
20
|
-
jQuery,
|
|
21
20
|
ManagedObject,
|
|
22
21
|
Element,
|
|
23
22
|
DeclarativeSupport,
|
|
@@ -25,6 +24,7 @@ function(
|
|
|
25
24
|
Log,
|
|
26
25
|
LoaderExtensions,
|
|
27
26
|
merge,
|
|
27
|
+
XMLHelper,
|
|
28
28
|
Component,
|
|
29
29
|
XMLProcessingMode
|
|
30
30
|
) {
|
|
@@ -60,7 +60,7 @@ function(
|
|
|
60
60
|
* @class
|
|
61
61
|
* @extends sap.ui.base.ManagedObject
|
|
62
62
|
* @author SAP SE
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.103.1
|
|
64
64
|
* @public
|
|
65
65
|
* @alias sap.ui.core.Fragment
|
|
66
66
|
*/
|
|
@@ -210,7 +210,7 @@ function(
|
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
*
|
|
213
|
-
* @returns {sap.ui.core.mvc.Controller} the Controller connected to this Fragment, or null
|
|
213
|
+
* @returns {sap.ui.core.mvc.Controller|null} the Controller connected to this Fragment, or <code>null</code>
|
|
214
214
|
* @private
|
|
215
215
|
*/
|
|
216
216
|
Fragment.prototype.getController = function() { // required for the parsers to find the specified Controller methods
|
|
@@ -771,7 +771,7 @@ function(
|
|
|
771
771
|
// use specified content or load the content definition
|
|
772
772
|
if (mSettings.fragmentContent) {
|
|
773
773
|
if (typeof (mSettings.fragmentContent) === "string") {
|
|
774
|
-
this._xContent =
|
|
774
|
+
this._xContent = XMLHelper.parse(mSettings.fragmentContent).documentElement;
|
|
775
775
|
} else {
|
|
776
776
|
this._xContent = mSettings.fragmentContent;
|
|
777
777
|
}
|
|
@@ -982,18 +982,21 @@ function(
|
|
|
982
982
|
|
|
983
983
|
if (oMetaElement) {
|
|
984
984
|
var that = this;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
var
|
|
988
|
-
var
|
|
989
|
-
|
|
985
|
+
var aAttributes = oMetaElement.getAttributeNames();
|
|
986
|
+
for (var i = 0; i < aAttributes.length - 1; i++) {
|
|
987
|
+
var sAttributeName = aAttributes[i];
|
|
988
|
+
var sSettingName = DeclarativeSupport.convertAttributeToSettingName(sAttributeName, that.getId());
|
|
989
|
+
var sValue = oMetaElement.getAttribute(sAttributeName);
|
|
990
|
+
|
|
991
|
+
var oProperty = oProperties[sSettingName];
|
|
992
|
+
if (!mSettings[sSettingName]) {
|
|
990
993
|
if (oProperty) {
|
|
991
|
-
mSettings[
|
|
992
|
-
} else if (sap.ui.core.mvc.HTMLView._mAllowedSettings[
|
|
993
|
-
mSettings[
|
|
994
|
+
mSettings[sSettingName] = DeclarativeSupport.convertValueToType(DeclarativeSupport.getPropertyDataType(oProperty),sValue);
|
|
995
|
+
} else if (sap.ui.core.mvc.HTMLView._mAllowedSettings[sSettingName]) {
|
|
996
|
+
mSettings[sSettingName] = sValue;
|
|
994
997
|
}
|
|
995
998
|
}
|
|
996
|
-
}
|
|
999
|
+
}
|
|
997
1000
|
this._oTemplate = oMetaElement;
|
|
998
1001
|
}
|
|
999
1002
|
// This is a fix for browsers that support web components
|
package/src/sap/ui/core/HTML.js
CHANGED
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.103.1
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @alias sap.ui.core.HTML
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* @param {string} [sSuffix=''] Suffix of the Element to be retrieved or empty
|
|
146
|
-
* @
|
|
146
|
+
* @returns {Element|null} The element's DOM reference or <code>null</code>
|
|
147
147
|
* @public
|
|
148
148
|
*/
|
|
149
149
|
HTML.prototype.getDomRef = function(sSuffix) {
|
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -14,8 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
'./library',
|
|
15
15
|
"./IconRenderer",
|
|
16
16
|
"sap/ui/events/KeyCodes",
|
|
17
|
-
"sap/
|
|
18
|
-
"sap/base/
|
|
17
|
+
"sap/base/Log",
|
|
18
|
+
"sap/base/util/each"
|
|
19
19
|
],
|
|
20
20
|
function(
|
|
21
21
|
assert,
|
|
@@ -26,8 +26,8 @@ sap.ui.define([
|
|
|
26
26
|
library,
|
|
27
27
|
IconRenderer,
|
|
28
28
|
KeyCodes,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Log,
|
|
30
|
+
each
|
|
31
31
|
) {
|
|
32
32
|
"use strict";
|
|
33
33
|
|
|
@@ -73,7 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
* @implements sap.ui.core.IFormContent
|
|
74
74
|
*
|
|
75
75
|
* @author SAP SE
|
|
76
|
-
* @version 1.
|
|
76
|
+
* @version 1.103.1
|
|
77
77
|
*
|
|
78
78
|
* @public
|
|
79
79
|
* @since 1.11.1
|
|
@@ -391,7 +391,7 @@ sap.ui.define([
|
|
|
391
391
|
return;
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
|
|
394
|
+
each(IconColor, function(sPropertyName, sPropertyValue) {
|
|
395
395
|
that.removeStyleClass(sCSSClassNamePrefix + sPropertyValue);
|
|
396
396
|
});
|
|
397
397
|
|
|
@@ -7,10 +7,8 @@ sap.ui.define([
|
|
|
7
7
|
'sap/ui/core/Icon',
|
|
8
8
|
'sap/ui/core/_IconRegistry',
|
|
9
9
|
"sap/base/Log",
|
|
10
|
-
"sap/ui/thirdparty/jquery",
|
|
11
10
|
'./Core' // provides sap.ui.getCore()
|
|
12
|
-
],
|
|
13
|
-
function(Icon, _IconRegistry, Log, jQuery) {
|
|
11
|
+
], function(Icon, _IconRegistry, Log) {
|
|
14
12
|
"use strict";
|
|
15
13
|
|
|
16
14
|
/**
|
|
@@ -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.103.1
|
|
16
16
|
* @alias module:sap/ui/core/InvisibleRenderer
|
|
17
17
|
* @since 1.66.0
|
|
18
18
|
* @protected
|
package/src/sap/ui/core/Item.js
CHANGED
|
@@ -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.103.1
|
|
140
140
|
* @protected
|
|
141
141
|
* @alias sap.ui.core.LabelEnablement
|
|
142
142
|
* @namespace
|
|
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
|
38
38
|
*
|
|
39
39
|
* @extends sap.ui.base.Object
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.103.1
|
|
42
42
|
* @public
|
|
43
43
|
* @alias sap.ui.core.Locale
|
|
44
44
|
*/
|
|
@@ -98,7 +98,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
|
98
98
|
* (Upper case first letter and lower case reminder enforced as
|
|
99
99
|
* recommended by BCP47/ISO15924)
|
|
100
100
|
*
|
|
101
|
-
* @
|
|
101
|
+
* @returns {string|null} the script code or <code>null</code>
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
getScript : function() {
|
|
@@ -123,7 +123,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
|
123
123
|
*
|
|
124
124
|
* Multiple variants are separated by a dash '-'.
|
|
125
125
|
*
|
|
126
|
-
* @return {string} the variant or null
|
|
126
|
+
* @return {string|null} the variant or <code>null</code>
|
|
127
127
|
* @public
|
|
128
128
|
*/
|
|
129
129
|
getVariant : function() {
|
|
@@ -152,7 +152,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
|
152
152
|
*
|
|
153
153
|
* Use {@link #getExtensions} to get the individual extension tokens as an array.
|
|
154
154
|
*
|
|
155
|
-
* @return {string} the extension
|
|
155
|
+
* @return {string|null} the extension or <code>null</code>
|
|
156
156
|
* @public
|
|
157
157
|
*/
|
|
158
158
|
getExtension : function() {
|
|
@@ -269,6 +269,30 @@ sap.ui.define(['sap/ui/base/Object', 'sap/base/assert', './CalendarType'],
|
|
|
269
269
|
* as that class allows to configure an SAP Logon language.
|
|
270
270
|
*/
|
|
271
271
|
getSAPLogonLanguage : function() {
|
|
272
|
+
return this._getSAPLogonLanguage();
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* Best guess to get a proper SAP Logon Language for this locale.
|
|
276
|
+
*
|
|
277
|
+
* Conversions taken into account:
|
|
278
|
+
* <ul>
|
|
279
|
+
* <li>use the language part only</li>
|
|
280
|
+
* <li>convert old ISO639 codes to newer ones (e.g. 'iw' to 'he')</li>
|
|
281
|
+
* <li>for Chinese, map 'Traditional Chinese' or region 'TW' to SAP proprietary code 'zf'</li>
|
|
282
|
+
* <li>map private extensions x-saptrc, x-sappsd and saprigi to SAP pseudo languages '1Q', '2Q' and '3Q'</li>
|
|
283
|
+
* <li>remove ext. language sub tags</li>
|
|
284
|
+
* <li>convert to uppercase</li>
|
|
285
|
+
* </ul>
|
|
286
|
+
*
|
|
287
|
+
* Note that the conversion also returns a result for languages that are not
|
|
288
|
+
* supported by the default set of SAP languages. This method has no knowledge
|
|
289
|
+
* about the concrete languages of any given backend system.
|
|
290
|
+
*
|
|
291
|
+
* @return {string} a language code that should
|
|
292
|
+
* @private
|
|
293
|
+
* @ui5-restricted sap.ui.core.Configuration
|
|
294
|
+
**/
|
|
295
|
+
_getSAPLogonLanguage : function() {
|
|
272
296
|
|
|
273
297
|
var sLanguage = this.sLanguage || "";
|
|
274
298
|
|
package/src/sap/ui/core/Popup.js
CHANGED
|
@@ -23,6 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
"sap/base/util/Version",
|
|
24
24
|
"sap/base/util/uid",
|
|
25
25
|
"sap/base/util/extend",
|
|
26
|
+
"sap/base/util/each",
|
|
26
27
|
"sap/base/util/deepExtend",
|
|
27
28
|
"sap/ui/thirdparty/jquery",
|
|
28
29
|
"sap/ui/events/F6Navigation",
|
|
@@ -47,6 +48,7 @@ sap.ui.define([
|
|
|
47
48
|
Version,
|
|
48
49
|
uid,
|
|
49
50
|
extend,
|
|
51
|
+
each,
|
|
50
52
|
deepExtend,
|
|
51
53
|
jQuery,
|
|
52
54
|
F6Navigation,
|
|
@@ -2499,7 +2501,7 @@ sap.ui.define([
|
|
|
2499
2501
|
Popup.prototype._registerEventBusEvents = function() {
|
|
2500
2502
|
var that = this;
|
|
2501
2503
|
|
|
2502
|
-
|
|
2504
|
+
each(that._mEvents, function(sEventId, fnListener) {
|
|
2503
2505
|
sap.ui.getCore().getEventBus().subscribe("sap.ui", sEventId, fnListener, that);
|
|
2504
2506
|
});
|
|
2505
2507
|
|
|
@@ -2514,7 +2516,7 @@ sap.ui.define([
|
|
|
2514
2516
|
Popup.prototype._unregisterEventBusEvents = function() {
|
|
2515
2517
|
var that = this;
|
|
2516
2518
|
|
|
2517
|
-
|
|
2519
|
+
each(that._mEvents, function(sEventId, fnListener) {
|
|
2518
2520
|
sap.ui.getCore().getEventBus().unsubscribe("sap.ui", sEventId, fnListener, that);
|
|
2519
2521
|
});
|
|
2520
2522
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* The ScrollBar control can be used for virtual scrolling of a certain area.
|
|
43
43
|
* This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.103.1
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
* @deprecated as of version 1.56
|
|
@@ -9,11 +9,11 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/Device",
|
|
10
10
|
"sap/ui/base/Object",
|
|
11
11
|
"sap/base/Log",
|
|
12
|
+
"sap/base/util/each",
|
|
12
13
|
"sap/ui/dom/includeStylesheet",
|
|
13
|
-
"sap/ui/thirdparty/jquery",
|
|
14
14
|
"./theming/ThemeHelper"
|
|
15
15
|
],
|
|
16
|
-
function(Device, BaseObject, Log,
|
|
16
|
+
function(Device, BaseObject, Log, each, includeStylesheet, ThemeHelper) {
|
|
17
17
|
"use strict";
|
|
18
18
|
|
|
19
19
|
|
|
@@ -158,7 +158,7 @@ sap.ui.define([
|
|
|
158
158
|
var aOldStyles = document.querySelectorAll("link[data-sap-ui-foucmarker='" + sPrefix + sLib + "']");
|
|
159
159
|
if (aOldStyles.length > 0) {
|
|
160
160
|
for (var i = 0, l = aOldStyles.length; i < l; i++) {
|
|
161
|
-
aOldStyles[i].
|
|
161
|
+
aOldStyles[i].remove();
|
|
162
162
|
}
|
|
163
163
|
Log.debug("ThemeCheck: Old stylesheets removed for library: " + sLib);
|
|
164
164
|
}
|
|
@@ -201,9 +201,9 @@ sap.ui.define([
|
|
|
201
201
|
} else {
|
|
202
202
|
// remove stylesheet once the particular class is not available (e.g. after theme switch)
|
|
203
203
|
/*check for custom theme was not successful, so we need to make sure there are no custom style sheets attached*/
|
|
204
|
-
var
|
|
205
|
-
if (
|
|
206
|
-
|
|
204
|
+
var oCustomCssLink = document.querySelector("LINK[id='" + oThemeCheck._CUSTOMID + "']");
|
|
205
|
+
if (oCustomCssLink) {
|
|
206
|
+
oCustomCssLink.remove();
|
|
207
207
|
Log.debug("ThemeCheck: Custom CSS removed");
|
|
208
208
|
}
|
|
209
209
|
oThemeCheck._customCSSAdded = false;
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
each(mLibs, checkLib);
|
|
232
232
|
|
|
233
233
|
// Try to load a fallback theme for all libs that couldn't be loaded
|
|
234
234
|
if (aFailedLibs.length > 0) {
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class
|
|
32
32
|
* Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
|
|
33
33
|
* @extends sap.ui.core.Control
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.103.1
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
37
|
* @alias sap.ui.core.TooltipBase
|