@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
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
*
|
|
174
174
|
* @extends sap.ui.base.ManagedObject
|
|
175
175
|
* @author SAP SE
|
|
176
|
-
* @version 1.
|
|
176
|
+
* @version 1.103.1
|
|
177
177
|
* @param {sap.ui.core.Core} oCore internal API of the <core>Core</code> that manages this UIArea
|
|
178
178
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
179
179
|
* @public
|
|
@@ -1201,9 +1201,10 @@ sap.ui.define([
|
|
|
1201
1201
|
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Returns the current valid field group control.
|
|
1204
|
+
*
|
|
1204
1205
|
* There is only one field group control for all UI areas.
|
|
1205
1206
|
*
|
|
1206
|
-
* @
|
|
1207
|
+
* @returns {sap.ui.core.Control|null} the current valid field group control or <code>null</code>.
|
|
1207
1208
|
*
|
|
1208
1209
|
* @private
|
|
1209
1210
|
*/
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* @extends sap.ui.core.Component
|
|
55
55
|
* @abstract
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.103.1
|
|
58
58
|
* @alias sap.ui.core.UIComponent
|
|
59
59
|
* @since 1.9.2
|
|
60
60
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -451,7 +451,7 @@ sap.ui.define([
|
|
|
451
451
|
* For synchronous root control creation the Promise resolves immediately with the root control instance or null if none was created.
|
|
452
452
|
*
|
|
453
453
|
* @since 1.90.0
|
|
454
|
-
* @
|
|
454
|
+
* @returns {Promise<sap.ui.core.Control|null>} resolves with the created root control or null if none was created, rejects with any thrown error
|
|
455
455
|
* @public
|
|
456
456
|
*/
|
|
457
457
|
UIComponent.prototype.rootControlLoaded = function() {
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
18
18
|
* @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
|
|
19
19
|
* @class
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.103.1
|
|
22
22
|
* @since 1.15.1
|
|
23
23
|
* @alias sap.ui.core.UIComponentMetadata
|
|
24
24
|
* @extends sap.ui.core.ComponentMetadata
|
|
@@ -57,7 +57,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
57
57
|
* the Component metadata or in the proper Component manifest.
|
|
58
58
|
*
|
|
59
59
|
* @param {boolean} [bDoNotMerge] Returns the local root view configuration if set to <code>true</code>.
|
|
60
|
-
* @return {object} root view as configuration object or null ({@link sap.ui.view})
|
|
60
|
+
* @return {object|null} root view as configuration object or null ({@link sap.ui.view})
|
|
61
61
|
* @protected
|
|
62
62
|
* @since 1.15.1
|
|
63
63
|
* @deprecated Since 1.27.1. Please use {@link sap.ui.core.Component#getManifestEntry}("/sap.ui5/rootView")
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
|
|
22
22
|
* @extends sap.ui.core.LayoutData
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.103.1
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
* @extends sap.ui.core.Control
|
|
144
144
|
*
|
|
145
145
|
* @author SAP SE
|
|
146
|
-
* @version 1.
|
|
146
|
+
* @version 1.103.1
|
|
147
147
|
* @since 1.56.0
|
|
148
148
|
* @alias sap.ui.core.XMLComposite
|
|
149
149
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.103.1
|
|
34
34
|
* @since 1.50.0
|
|
35
35
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
36
36
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
/*global HTMLTemplateElement, Promise */
|
|
8
8
|
|
|
9
9
|
sap.ui.define([
|
|
10
|
-
'sap/ui/thirdparty/jquery',
|
|
11
10
|
'sap/ui/base/DataType',
|
|
12
11
|
'sap/ui/base/ManagedObject',
|
|
13
12
|
'sap/ui/core/CustomData',
|
|
@@ -23,13 +22,12 @@ sap.ui.define([
|
|
|
23
22
|
'sap/base/util/ObjectPath',
|
|
24
23
|
'sap/base/util/values',
|
|
25
24
|
'sap/base/assert',
|
|
26
|
-
'sap/base/security/encodeXML',
|
|
27
25
|
'sap/base/util/LoaderExtensions',
|
|
28
26
|
'sap/base/util/JSTokenizer',
|
|
27
|
+
'sap/base/util/each',
|
|
29
28
|
'sap/base/util/isEmptyObject'
|
|
30
29
|
],
|
|
31
30
|
function(
|
|
32
|
-
jQuery,
|
|
33
31
|
DataType,
|
|
34
32
|
ManagedObject,
|
|
35
33
|
CustomData,
|
|
@@ -45,9 +43,9 @@ function(
|
|
|
45
43
|
ObjectPath,
|
|
46
44
|
values,
|
|
47
45
|
assert,
|
|
48
|
-
encodeXML,
|
|
49
46
|
LoaderExtensions,
|
|
50
47
|
JSTokenizer,
|
|
48
|
+
each,
|
|
51
49
|
isEmptyObject
|
|
52
50
|
) {
|
|
53
51
|
"use strict";
|
|
@@ -749,7 +747,7 @@ function(
|
|
|
749
747
|
function findControlClass(sNamespaceURI, sLocalName) {
|
|
750
748
|
var sClassName;
|
|
751
749
|
var mLibraries = sap.ui.getCore().getLoadedLibraries();
|
|
752
|
-
|
|
750
|
+
each(mLibraries, function(sLibName, oLibrary) {
|
|
753
751
|
if ( sNamespaceURI === oLibrary.namespace || sNamespaceURI === oLibrary.name ) {
|
|
754
752
|
sClassName = oLibrary.name + "." + ((oLibrary.tagNames && oLibrary.tagNames[sLocalName]) || sLocalName);
|
|
755
753
|
}
|
|
@@ -320,7 +320,8 @@ sap.ui.define(["sap/base/Log", "sap/ui/performance/Measurement"],
|
|
|
320
320
|
sKey = oCursor.value.key;
|
|
321
321
|
|
|
322
322
|
if (sKey.indexOf(sPrefix) === 0
|
|
323
|
-
&& (!oFilters.olderThan || self._metadata.timestamps
|
|
323
|
+
&& (!oFilters.olderThan || !(sKey in self._metadata.timestamps)
|
|
324
|
+
|| self._metadata.timestamps[sKey] <= oFilters.olderThan)) {
|
|
324
325
|
oRequest = oCursor.delete();
|
|
325
326
|
oRequest.onsuccess = function() {
|
|
326
327
|
Log.debug('Deleted ' + sKey + '!');
|
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @param {Element[]} aItemDomRefs Array of DOM references representing the items for the navigation
|
|
82
82
|
* @param {boolean} [bNotInTabChain=false] Whether the selected element should be in the tab chain or not
|
|
83
83
|
*
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.103.1
|
|
85
85
|
* @alias sap.ui.core.delegate.ItemNavigation
|
|
86
86
|
* @public
|
|
87
87
|
*/
|
|
@@ -58,7 +58,7 @@ sap.ui.define([
|
|
|
58
58
|
*
|
|
59
59
|
* @protected
|
|
60
60
|
* @alias sap.ui.core.delegate.ScrollEnablement
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.103.1
|
|
62
62
|
* @author SAP SE
|
|
63
63
|
*/
|
|
64
64
|
var ScrollEnablement = BaseObject.extend("sap.ui.core.delegate.ScrollEnablement", /** @lends sap.ui.core.delegate.ScrollEnablement.prototype */ {
|
|
@@ -191,7 +191,7 @@ function(lib, Device, UIArea, jQuery) {
|
|
|
191
191
|
* Returns the data that has been set via <code>setComplexData</code> method.
|
|
192
192
|
*
|
|
193
193
|
* @param {string} sKey The key of the data
|
|
194
|
-
* @returns {any} The previously set data or undefined
|
|
194
|
+
* @returns {any|undefined} The previously set data or undefined
|
|
195
195
|
* @public
|
|
196
196
|
*/
|
|
197
197
|
getComplexData: function(sKey) {
|
|
@@ -2600,7 +2600,7 @@ sap.ui.define([
|
|
|
2600
2600
|
* @param {string} sValue the string containing a formatted date/time value
|
|
2601
2601
|
* @param {boolean} bUTC whether to use UTC, if no timezone is contained
|
|
2602
2602
|
* @param {boolean} bStrict to use strict value check
|
|
2603
|
-
* @
|
|
2603
|
+
* @returns {Date|null} the parsed value or <code>null</code> if relative parsing not possible
|
|
2604
2604
|
* @private
|
|
2605
2605
|
*/
|
|
2606
2606
|
DateFormat.prototype.parseRelative = function(sValue, bUTC) {
|
|
@@ -2664,7 +2664,7 @@ sap.ui.define([
|
|
|
2664
2664
|
* @param {boolean} bUTC whether to use UTC
|
|
2665
2665
|
* @param {number[]} aRange scale ranges
|
|
2666
2666
|
* @param {string} sTimezone the IANA timezone ID
|
|
2667
|
-
* @
|
|
2667
|
+
* @returns {string|null} the formatted output value or <code>null</code> if relative formatting is not possible
|
|
2668
2668
|
* @private
|
|
2669
2669
|
*/
|
|
2670
2670
|
DateFormat.prototype.formatRelative = function(oJSDate, bUTC, aRange, sTimezone) {
|
|
@@ -317,7 +317,7 @@ sap.ui.define([
|
|
|
317
317
|
* oFormat.format(1234.56); // "1.234,56"
|
|
318
318
|
* </pre>
|
|
319
319
|
*
|
|
320
|
-
|
|
320
|
+
* @param {object} [oFormatOptions] The option object, which supports the following parameters.
|
|
321
321
|
* If no options are given, default values according to the type and locale settings are used.
|
|
322
322
|
* @param {int} [oFormatOptions.decimals] defines the number of decimal digits
|
|
323
323
|
* @param {string} [oFormatOptions.decimalSeparator] defines the character used as decimal separator.
|
|
@@ -2738,7 +2738,7 @@ sap.ui.define([
|
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
2740
2740
|
/**
|
|
2741
|
-
* Parses number and currency
|
|
2741
|
+
* Parses number and currency.
|
|
2742
2742
|
*
|
|
2743
2743
|
* Search for the currency symbol first, looking for the longest match. In case no currency
|
|
2744
2744
|
* symbol is found, search for a three letter currency code.
|
|
@@ -2753,7 +2753,7 @@ sap.ui.define([
|
|
|
2753
2753
|
* @param {boolean} oConfig.customCurrenciesAvailable a flag to mark if custom currencies are available on the instance
|
|
2754
2754
|
*
|
|
2755
2755
|
* @private
|
|
2756
|
-
* @
|
|
2756
|
+
* @returns {object|undefined} returns object containing numberValue and currencyCode or undefined
|
|
2757
2757
|
*/
|
|
2758
2758
|
function parseNumberAndCurrency(oConfig) {
|
|
2759
2759
|
var sValue = oConfig.value;
|
|
@@ -398,7 +398,7 @@ sap.ui.define([
|
|
|
398
398
|
* @see {@link topic:6322164936f047de941ec522b95d7b70 Hyphenation for Text Controls}
|
|
399
399
|
* @extends sap.ui.base.ManagedObject
|
|
400
400
|
* @author SAP SE
|
|
401
|
-
* @version 1.
|
|
401
|
+
* @version 1.103.1
|
|
402
402
|
* @hideconstructor
|
|
403
403
|
* @public
|
|
404
404
|
* @since 1.60
|
|
@@ -25,13 +25,13 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.ui.core
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.103.1
|
|
29
29
|
* @since 0.8
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
33
33
|
name : "sap.ui.core",
|
|
34
|
-
version: "1.
|
|
34
|
+
version: "1.103.1",
|
|
35
35
|
designtime: "sap/ui/core/designtime/library.designtime",
|
|
36
36
|
types: [
|
|
37
37
|
|
|
@@ -1509,7 +1509,7 @@ sap.ui.define([
|
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Sort order of a column.
|
|
1511
1511
|
*
|
|
1512
|
-
* @version 1.
|
|
1512
|
+
* @version 1.103.1
|
|
1513
1513
|
* @enum {string}
|
|
1514
1514
|
* @public
|
|
1515
1515
|
* @since 1.61.0
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.base.Object
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.103.1
|
|
39
39
|
*
|
|
40
40
|
* @param {object} [mParameters] a map which contains the following parameter properties:
|
|
41
41
|
* @param {string} [mParameters.id] The message id: will be generated if no id is set
|
|
@@ -24,7 +24,7 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/Log"],
|
|
|
24
24
|
* @extends sap.ui.base.Object
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.103.1
|
|
28
28
|
* @public
|
|
29
29
|
* @abstract
|
|
30
30
|
* @alias sap.ui.core.message.MessageParser
|
|
@@ -56,7 +56,7 @@ MessageParser.prototype.setProcessor = function(oProcessor) {
|
|
|
56
56
|
/**
|
|
57
57
|
* Returns the registered processor on which the events for message handling can be fired
|
|
58
58
|
*
|
|
59
|
-
* @
|
|
59
|
+
* @returns {sap.ui.core.message.MessageProcessor|null} The currently set MessageProcessor or <code>null</code> if none is set
|
|
60
60
|
* @protected
|
|
61
61
|
*/
|
|
62
62
|
MessageParser.prototype.getProcessor = function() {
|
|
@@ -194,8 +194,8 @@ Icon.synchronize=\u03A3\u03C5\u03B3\u03C7\u03C1\u03BF\u03BD\u03B9\u03C3\u03BC.
|
|
|
194
194
|
Icon.undo=\u0391\u03BD\u03AC\u03BA\u03BB\u03B7\u03C3\u03B7
|
|
195
195
|
Icon.up=\u03A0\u03AC\u03BD\u03C9
|
|
196
196
|
Icon.upload=\u03A6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7
|
|
197
|
-
Icon.zoom-in
|
|
198
|
-
Icon.zoom-out
|
|
197
|
+
Icon.zoom-in=\u039C\u03B5\u03B3\u03AD\u03B8\u03C5\u03BD\u03C3\u03B7
|
|
198
|
+
Icon.zoom-out=\u03A3\u03BC\u03AF\u03BA\u03C1\u03C5\u03BD\u03C3\u03B7
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
TechInfo.DialogTitle=\u0394\u03B9\u03AC\u03BB\u03BF\u03B3\u03BF\u03C2 \u03A4\u03B5\u03C7\u03BD\u03B9\u03BA\u03CE\u03BD \u03A3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03C9\u03BD
|
|
@@ -56,79 +56,79 @@ CommunicationError=Errore di comunicazione
|
|
|
56
56
|
|
|
57
57
|
NO=No
|
|
58
58
|
YES=S\u00EC
|
|
59
|
-
EnterYesOrNo=
|
|
60
|
-
EnterDigitsOnly=
|
|
61
|
-
EnterMaximumOfDigits=
|
|
62
|
-
EnterNumber=
|
|
63
|
-
EnterNumberPrecision=
|
|
64
|
-
EnterNumberInteger=
|
|
65
|
-
EnterNumberFraction=
|
|
66
|
-
EnterNumberIntegerFraction=
|
|
67
|
-
EnterNumberFractionOnly=
|
|
68
|
-
EnterNumberMin=
|
|
69
|
-
EnterNumberMinExclusive=
|
|
70
|
-
EnterNumberMax=
|
|
71
|
-
EnterNumberMaxExclusive=
|
|
72
|
-
EnterText=
|
|
73
|
-
EnterTextMaxLength=
|
|
74
|
-
EnterInt=
|
|
75
|
-
EnterDateTime=
|
|
76
|
-
EnterDateTimeTimezone=
|
|
77
|
-
EnterDate=
|
|
78
|
-
EnterGuid=
|
|
79
|
-
EnterTime=
|
|
59
|
+
EnterYesOrNo=Inserire "{0}" oppure "{1}".
|
|
60
|
+
EnterDigitsOnly=Inserire solo cifre
|
|
61
|
+
EnterMaximumOfDigits=Inserire non pi\u00F9 di {0} caratteri.
|
|
62
|
+
EnterNumber=Inserire un numero
|
|
63
|
+
EnterNumberPrecision=Inserire un numero di massimo {0} cifre, compresi i decimali
|
|
64
|
+
EnterNumberInteger=Inserire un numero con non pi\u00F9 di {0} cifre a sinistra del segno separatore dei decimali
|
|
65
|
+
EnterNumberFraction=Inserire un numero con non pi\u00F9 di {0} decimali
|
|
66
|
+
EnterNumberIntegerFraction=Inserire un numero con non pi\u00F9 di {0} cifre a sinistra del segno separatore dei decimali e non pi\u00F9 di {1} decimali
|
|
67
|
+
EnterNumberFractionOnly=Inserire un numero con un valore assoluto inferiore a 1 e un massimo di {0} posizioni decimali
|
|
68
|
+
EnterNumberMin=Inserire un numero almeno pari a {0}
|
|
69
|
+
EnterNumberMinExclusive=Inserire un numero maggiore di {0}
|
|
70
|
+
EnterNumberMax=Inserire un numero con valore massimo pari a {0}
|
|
71
|
+
EnterNumberMaxExclusive=Inserire un numero minore di {0}
|
|
72
|
+
EnterText=Inserire un testo
|
|
73
|
+
EnterTextMaxLength=Inserire un testo con massimo {0} caratteri e spazi vuoti
|
|
74
|
+
EnterInt=Inserire un numero senza decimali.
|
|
75
|
+
EnterDateTime=Inserire una data e un''ora valide nel seguente formato\: {0}
|
|
76
|
+
EnterDateTimeTimezone=Inserire un fuso orario valido, ad esempio\: {0}
|
|
77
|
+
EnterDate=Inserire una data valida nel seguente formato\: {0}
|
|
78
|
+
EnterGuid=Inserire un GUID nel seguente formato\: 12345678-90AB-CDEF-1234-567890ABCDEF
|
|
79
|
+
EnterTime=Inserire un''ora valida nel seguente formato\: {0}
|
|
80
80
|
Currency.WithDecimals=Questa divisa supporta un massimo di {0} decimali. Adeguare l''importo o inserire una divisa differente.
|
|
81
81
|
Currency.WithoutDecimals=Questa divisa non supporta i decimali. Adeguare l'importo o inserire una divisa differente.
|
|
82
82
|
Unit.WithDecimals=Questa unit\u00E0 supporta un massimo di {0} decimali. Adeguare il valore o inserire un''unit\u00E0 differente.
|
|
83
83
|
Unit.WithoutDecimals=Questa unit\u00E0 non supporta i decimali. Adeguare il valore o inserire un'unit\u00E0 differente.
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
Boolean.Invalid=
|
|
86
|
+
Boolean.Invalid=Inserire un valore boleano valido
|
|
87
87
|
|
|
88
|
-
Integer.Invalid=
|
|
89
|
-
Integer.Minimum=
|
|
90
|
-
Integer.Maximum=
|
|
88
|
+
Integer.Invalid=Inserire un numero valido
|
|
89
|
+
Integer.Minimum=Inserire un numero maggiore di/uguale a {0}
|
|
90
|
+
Integer.Maximum=Inserire un numero minore di/uguale a {0}
|
|
91
91
|
|
|
92
|
-
Float.Invalid=
|
|
93
|
-
Float.Minimum=
|
|
94
|
-
Float.Maximum=
|
|
92
|
+
Float.Invalid=Inserire un numero valido
|
|
93
|
+
Float.Minimum=Inserire un numero maggiore di/uguale a {0}
|
|
94
|
+
Float.Maximum=Inserire un numero minore di/uguale a {0}
|
|
95
95
|
|
|
96
|
-
Currency.Invalid=
|
|
97
|
-
Currency.InvalidMeasure=
|
|
98
|
-
Currency.Minimum=
|
|
99
|
-
Currency.Maximum=
|
|
96
|
+
Currency.Invalid=Inserire un importo divisa valido
|
|
97
|
+
Currency.InvalidMeasure=Inserire una divisa valida
|
|
98
|
+
Currency.Minimum=Inserire un numero maggiore di/uguale a {0}
|
|
99
|
+
Currency.Maximum=Inserire un numero minore di/uguale a {0}
|
|
100
100
|
|
|
101
|
-
Unit.Invalid=
|
|
102
|
-
Unit.InvalidMeasure=
|
|
103
|
-
Unit.Minimum=
|
|
104
|
-
Unit.Maximum=
|
|
105
|
-
Unit.Decimals=
|
|
101
|
+
Unit.Invalid=Inserire un importo unit\u00E0 valido
|
|
102
|
+
Unit.InvalidMeasure=Inserire un'unit\u00E0 valida
|
|
103
|
+
Unit.Minimum=Inserire un numero maggiore di/uguale a {0}
|
|
104
|
+
Unit.Maximum=Inserire un numero minore di/uguale a {0}
|
|
105
|
+
Unit.Decimals=Inserire un importo con un numero di decimali inferiore a {0}
|
|
106
106
|
|
|
107
|
-
FileSize.Invalid=
|
|
108
|
-
FileSize.Minimum=
|
|
109
|
-
FileSize.Maximum=
|
|
107
|
+
FileSize.Invalid=Inserire una dimensione file valida
|
|
108
|
+
FileSize.Minimum=Inserire una dimensione file maggiore di/uguale a {0}
|
|
109
|
+
FileSize.Maximum=Inserire una dimensione file minore di/uguale a {0}
|
|
110
110
|
|
|
111
|
-
Date.Invalid=
|
|
112
|
-
Date.Minimum=
|
|
113
|
-
Date.Maximum=
|
|
111
|
+
Date.Invalid=Inserire una data
|
|
112
|
+
Date.Minimum=Inserire una data successiva al {0}
|
|
113
|
+
Date.Maximum=Inserire una data precedente al {0}
|
|
114
114
|
|
|
115
|
-
Time.Invalid=
|
|
116
|
-
Time.Minimum=
|
|
117
|
-
Time.Maximum=
|
|
115
|
+
Time.Invalid=Inserire un'ora valida
|
|
116
|
+
Time.Minimum=Inserire un''ora successiva alle {0}
|
|
117
|
+
Time.Maximum=Inserire un''ora precedente alle {0}
|
|
118
118
|
|
|
119
|
-
DateTime.Invalid=
|
|
120
|
-
DateTime.Minimum=
|
|
121
|
-
DateTime.Maximum=
|
|
119
|
+
DateTime.Invalid=Inserire una data e un'ora valide
|
|
120
|
+
DateTime.Minimum=Inserire una data e un''ora successive a {0}
|
|
121
|
+
DateTime.Maximum=Inserire una data e un''ora precedenti a {0}
|
|
122
122
|
|
|
123
123
|
DateInterval.Invalid=Inserire un intervallo date valido
|
|
124
124
|
|
|
125
|
-
String.MinLength=
|
|
126
|
-
String.MaxLength=
|
|
127
|
-
String.StartsWith=
|
|
128
|
-
String.EndsWith=
|
|
129
|
-
String.Contains=
|
|
130
|
-
String.Equals=
|
|
131
|
-
String.Search=
|
|
125
|
+
String.MinLength=Inserire un valore con almeno {0} caratteri
|
|
126
|
+
String.MaxLength=Inserire un valore con massimo {0} caratteri
|
|
127
|
+
String.StartsWith=Inserire un valore che inizi per "{0}"
|
|
128
|
+
String.EndsWith=Inserire un valore che termini per "{0}"
|
|
129
|
+
String.Contains=Inserire un valore che contenga "{0}"
|
|
130
|
+
String.Equals=Inserire il valore "{0}"
|
|
131
|
+
String.Search=Inserire un valore valido
|
|
132
132
|
|
|
133
133
|
ACC_CTR_TYPE_IMAGE=Videata
|
|
134
134
|
ACC_CTR_TYPE_BUTTON=Pulsante di comando
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
/**
|
|
46
46
|
* Sets the controller for this extension. Accessible by the base member.
|
|
47
47
|
*
|
|
48
|
-
* @param {sap.ui.core.
|
|
48
|
+
* @param {sap.ui.core.mvc.Controller} oController The controller
|
|
49
49
|
* @private
|
|
50
50
|
*/
|
|
51
51
|
_setController: function(oController) {
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides control sap.ui.core.mvc.HTMLView.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
'sap/ui/thirdparty/jquery',
|
|
10
9
|
'./View',
|
|
11
10
|
'./HTMLViewRenderer',
|
|
12
11
|
'./ViewType',
|
|
@@ -17,7 +16,6 @@ sap.ui.define([
|
|
|
17
16
|
'sap/base/util/LoaderExtensions'
|
|
18
17
|
],
|
|
19
18
|
function(
|
|
20
|
-
jQuery,
|
|
21
19
|
View,
|
|
22
20
|
HTMLViewRenderer,
|
|
23
21
|
ViewType,
|
|
@@ -45,7 +43,7 @@ sap.ui.define([
|
|
|
45
43
|
* @extends sap.ui.core.mvc.View
|
|
46
44
|
*
|
|
47
45
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
46
|
+
* @version 1.103.1
|
|
49
47
|
*
|
|
50
48
|
* @public
|
|
51
49
|
* @since 1.9.2
|
|
@@ -259,18 +257,20 @@ sap.ui.define([
|
|
|
259
257
|
var oProperties = that.getMetadata().getAllProperties();
|
|
260
258
|
|
|
261
259
|
if (oMetaElement) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
|
|
260
|
+
var aAttributes = oMetaElement.getAttributeNames();
|
|
261
|
+
for (var j = 0; j < aAttributes.length; j++) {
|
|
262
|
+
var sAttributeName = aAttributes[j];
|
|
263
|
+
var sSettingName = DeclarativeSupport.convertAttributeToSettingName(sAttributeName, that.getId());
|
|
264
|
+
var sValue = oMetaElement.getAttribute(sAttributeName);
|
|
265
|
+
var oProperty = oProperties[sSettingName];
|
|
266
|
+
if (!mSettings[sSettingName]) {
|
|
267
267
|
if (oProperty) {
|
|
268
|
-
mSettings[
|
|
269
|
-
} else if (HTMLView._mAllowedSettings[
|
|
270
|
-
mSettings[
|
|
268
|
+
mSettings[sSettingName] = DeclarativeSupport.convertValueToType(DeclarativeSupport.getPropertyDataType(oProperty),sValue);
|
|
269
|
+
} else if (HTMLView._mAllowedSettings[sSettingName]) {
|
|
270
|
+
mSettings[sSettingName] = sValue;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
}
|
|
273
|
+
}
|
|
274
274
|
that._oTemplate = oMetaElement;
|
|
275
275
|
}
|
|
276
276
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.103.1
|
|
31
31
|
* @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
|
|
32
32
|
* by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
|
|
33
33
|
* creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
|
|
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
|
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.103.1
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
|
|
@@ -107,7 +107,7 @@ sap.ui.define([
|
|
|
107
107
|
* bound content aggregation. An error will be thrown when the above combination is detected.
|
|
108
108
|
*
|
|
109
109
|
* @extends sap.ui.core.mvc.View
|
|
110
|
-
* @version 1.
|
|
110
|
+
* @version 1.103.1
|
|
111
111
|
*
|
|
112
112
|
* @public
|
|
113
113
|
* @alias sap.ui.core.mvc.XMLView
|