@openui5/sap.ui.core 1.96.2 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +2 -2
- package/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +2 -2
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- 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 +4 -4
- package/src/sap/ui/Global.js +11 -16
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +1 -1
- package/src/sap/ui/base/ManagedObject.js +3 -3
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -3
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -27
- 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 +31 -9
- 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/Control.js +2 -2
- package/src/sap/ui/core/Core.js +2 -2
- 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 +2 -6
- 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/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +3 -3
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- 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 +1 -1
- package/src/sap/ui/core/LocaleData.js +3 -3
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +3 -3
- 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 +4 -3
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ThemeCheck.js +2 -2
- 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 -3
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- 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 +19 -5
- package/src/sap/ui/core/cache/LRUPersistentCache.js +4 -2
- package/src/sap/ui/core/date/UniversalDateUtils.js +33 -0
- 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/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/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +5 -5
- package/src/sap/ui/core/message/ControlMessageProcessor.js +5 -5
- 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 +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +22 -12
- package/src/sap/ui/core/messagebundle_fr.properties +7 -7
- package/src/sap/ui/core/messagebundle_ru.properties +21 -21
- package/src/sap/ui/core/mvc/Controller.js +4 -4
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- 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/rules/Misc.support.js +51 -1
- package/src/sap/ui/core/rules/Rendering.support.js +1 -4
- package/src/sap/ui/core/rules/View.support.js +14 -46
- 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 +2 -2
- package/src/sap/ui/core/support/RuleEngineOpaExtension.js +0 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/controls/TreeViewer.js +1 -1
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -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 -2
- 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/support/techinfo/TechnicalInfo.js +1 -1
- package/src/sap/ui/core/support/trace/E2eTraceLib.js +3 -3
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +2 -2
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/reflection/JsControlTreeModifier.js +4 -4
- 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/model/ChangeReason.js +1 -1
- package/src/sap/ui/model/ClientListBinding.js +7 -0
- package/src/sap/ui/model/ClientModel.js +6 -5
- package/src/sap/ui/model/ClientTreeBindingAdapter.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +24 -5
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +5 -10
- 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 +0 -2
- package/src/sap/ui/model/TreeBindingUtils.js +2 -0
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +12 -6
- package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +16 -18
- package/src/sap/ui/model/json/JSONModel.js +7 -7
- package/src/sap/ui/model/json/JSONPropertyBinding.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +3 -3
- package/src/sap/ui/model/message/MessagePropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/AnnotationHelper.js +2 -2
- package/src/sap/ui/model/odata/AnnotationParser.js +4 -2
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataListBinding.js +61 -38
- package/src/sap/ui/model/odata/ODataMessageParser.js +2 -2
- package/src/sap/ui/model/odata/ODataMetaModel.js +3 -3
- package/src/sap/ui/model/odata/ODataMetadata.js +136 -85
- package/src/sap/ui/model/odata/ODataModel.js +442 -215
- package/src/sap/ui/model/odata/ODataPropertyBinding.js +7 -5
- package/src/sap/ui/model/odata/ODataTreeBindingAdapter.js +27 -17
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +440 -260
- package/src/sap/ui/model/odata/ODataUtils.js +24 -9
- package/src/sap/ui/model/odata/_AnnotationHelperBasics.js +2 -1
- package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +10 -8
- package/src/sap/ui/model/odata/_ODataMetaModelUtils.js +6 -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/Decimal.js +5 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/type/UnitMixin.js +0 -1
- package/src/sap/ui/model/odata/v2/Context.js +42 -11
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +205 -88
- package/src/sap/ui/model/odata/v2/ODataModel.js +154 -89
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +162 -89
- package/src/sap/ui/model/odata/v2/_CreatedContextsCache.js +52 -2
- package/src/sap/ui/model/odata/v4/Context.js +48 -7
- package/src/sap/ui/model/odata/v4/ODataBinding.js +55 -24
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +67 -19
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +211 -78
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +2 -1
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +36 -23
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +3 -3
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +106 -11
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +33 -3
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +11 -2
- 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 +5 -5
- package/src/sap/ui/model/xml/XMLPropertyBinding.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/actions/Action.js +9 -2
- package/src/sap/ui/test/actions/Press.js +28 -1
- package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +111 -0
- package/src/sap/ui/util/Mobile.js +28 -39
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader.js +6 -6
- package/ui5.yaml +244 -1
- package/src/sap/ui/core/CustomizingConfiguration.js +0 -47
- package/src/sap/ui/thirdparty/baseuri.js +0 -1
- package/src/sap/ui/thirdparty/es6-object-assign.js +0 -1
- package/src/sap/ui/thirdparty/es6-promise.js +0 -1
- package/src/sap/ui/thirdparty/es6-shim-nopromise.js +0 -1
- package/src/sap/ui/thirdparty/es6-string-methods.js +0 -1
- package/src/sap/ui/thirdparty/flexie.js +0 -1
- package/src/sap/ui/thirdparty/unorm.js +0 -1
- package/src/sap/ui/thirdparty/unormdata.js +0 -1
package/src/sap/ui/Global.js
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
* @sample
|
|
17
17
|
* Ensures a control can be used afterwards but does not load immediately
|
|
18
18
|
* sap.ui.lazyRequire("sap.ui.core.Control");
|
|
19
|
-
* sap.ui.lazyRequire("sap.
|
|
19
|
+
* sap.ui.lazyRequire("sap.m.Button");
|
|
20
20
|
*
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.97.0
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* The <code>sap</code> namespace is automatically registered with the
|
|
49
49
|
* OpenAjax hub if it exists.
|
|
50
50
|
*
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.97.0
|
|
52
52
|
* @namespace
|
|
53
53
|
* @public
|
|
54
54
|
* @name sap
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
* The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
|
|
62
62
|
* point for UI related JavaScript functionality provided by SAP.
|
|
63
63
|
*
|
|
64
|
-
* @version 1.
|
|
64
|
+
* @version 1.97.0
|
|
65
65
|
* @namespace
|
|
66
66
|
* @name sap.ui
|
|
67
67
|
* @public
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
* The version of the SAP UI Library
|
|
76
76
|
* @type string
|
|
77
77
|
*/
|
|
78
|
-
version: "1.
|
|
78
|
+
version: "1.97.0",
|
|
79
79
|
// buildinfo.lastchange is deprecated and is therefore defaulted to empty string
|
|
80
80
|
buildinfo : { lastchange : "", buildtime : "${buildtime}" }
|
|
81
81
|
});
|
|
@@ -306,12 +306,12 @@ sap.ui.define([
|
|
|
306
306
|
/**
|
|
307
307
|
* Returns the URL of a resource that belongs to the given library and has the given relative location within the library.
|
|
308
308
|
* This is mainly meant for static resources like images that are inside the library.
|
|
309
|
-
* It is NOT meant for access to JavaScript modules or anything for which a different URL has been registered with
|
|
310
|
-
* these cases use
|
|
309
|
+
* It is NOT meant for access to JavaScript modules or anything for which a different URL has been registered with
|
|
310
|
+
* sap.ui.loader.config({paths:...}). For these cases use sap.ui.require.toUrl().
|
|
311
311
|
* It DOES work, however, when the given sResourcePath starts with "themes/" (= when it is a theme-dependent resource). Even when for this theme a different
|
|
312
312
|
* location outside the normal library location is configured.
|
|
313
313
|
*
|
|
314
|
-
* @param {string} sLibraryName the name of a library, like "sap.ui.
|
|
314
|
+
* @param {string} sLibraryName the name of a library, like "sap.ui.layout"
|
|
315
315
|
* @param {string} sResourcePath the relative path of a resource inside this library, like "img/mypic.png" or "themes/my_theme/img/mypic.png"
|
|
316
316
|
* @returns {string} the URL of the requested resource
|
|
317
317
|
*
|
|
@@ -337,8 +337,8 @@ sap.ui.define([
|
|
|
337
337
|
* is assumed to represent an individual folder. In other words: when a resource name is
|
|
338
338
|
* converted to a URL, any dots ('.') are converted to slashes ('/').
|
|
339
339
|
*
|
|
340
|
-
* <b>
|
|
341
|
-
*
|
|
340
|
+
* <b>Note:</b> The <b>application root folder</b> is assumed to be the same as the folder
|
|
341
|
+
* where the current page resides in.
|
|
342
342
|
*
|
|
343
343
|
* Usage sample:
|
|
344
344
|
* <pre>
|
|
@@ -354,16 +354,11 @@ sap.ui.define([
|
|
|
354
354
|
* </pre>
|
|
355
355
|
*
|
|
356
356
|
* When applications need a more flexible mapping between resource names and their location,
|
|
357
|
-
* they can use {@link
|
|
358
|
-
*
|
|
359
|
-
* It is intended to make this configuration obsolete in future releases, but for the time
|
|
360
|
-
* being, applications must call this method when they want to store resources relative to
|
|
361
|
-
* the assumed application root folder.
|
|
357
|
+
* they can use {@link sap.ui.loader.config} with option <code>paths</code>.
|
|
362
358
|
*
|
|
363
359
|
* @param {string} sNamespace Namespace prefix for which to load resources relative to the application root folder
|
|
364
360
|
* @public
|
|
365
361
|
* @static
|
|
366
|
-
* @see jQuery.sap.registerModulePath
|
|
367
362
|
* @deprecated since 1.56, use <code>sap.ui.loader.config</code> instead.
|
|
368
363
|
*/
|
|
369
364
|
sap.ui.localResources = function(sNamespace) {
|
package/src/sap/ui/base/Event.js
CHANGED
|
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
|
|
|
28
28
|
* no internals of the class can be accessed.
|
|
29
29
|
*
|
|
30
30
|
* @author Malte Wedel, Daniel Brinkmann
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.97.0
|
|
32
32
|
* @param {sap.ui.base.Object} oObject
|
|
33
33
|
* Object for which a facade should be created
|
|
34
34
|
* @param {string[]} aMethods
|
|
@@ -266,7 +266,7 @@ sap.ui.define([
|
|
|
266
266
|
*
|
|
267
267
|
* @extends sap.ui.base.EventProvider
|
|
268
268
|
* @author SAP SE
|
|
269
|
-
* @version 1.
|
|
269
|
+
* @version 1.97.0
|
|
270
270
|
* @public
|
|
271
271
|
* @alias sap.ui.base.ManagedObject
|
|
272
272
|
*/
|
|
@@ -637,8 +637,8 @@ sap.ui.define([
|
|
|
637
637
|
* <b>'library'</b> : <i>string</i><br>
|
|
638
638
|
* Name of the library that the new subclass should belong to. If the subclass is a control or element, it will
|
|
639
639
|
* automatically register with that library so that authoring tools can discover it.
|
|
640
|
-
* By convention, the name of the subclass should have the library name as a prefix,
|
|
641
|
-
* to library
|
|
640
|
+
* By convention, the name of the subclass should have the library name as a prefix, but subfolders are allowed,
|
|
641
|
+
* e.g. <code>sap.ui.layout.form.Form</code> belongs to library <code>sap.ui.layout</code>.
|
|
642
642
|
*
|
|
643
643
|
*
|
|
644
644
|
* <b>'properties'</b> : <i>object</i><br>
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
*
|
|
27
27
|
* @class Metadata for a class.
|
|
28
28
|
* @author Frank Weigel
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.97.0
|
|
30
30
|
* @since 0.8.6
|
|
31
31
|
* @public
|
|
32
32
|
* @alias sap.ui.base.Metadata
|
|
@@ -131,11 +131,9 @@ sap.ui.define([
|
|
|
131
131
|
Metadata.prototype.afterApplySettings = function() {
|
|
132
132
|
// create the flattened "all" view
|
|
133
133
|
if ( this._oParent ) {
|
|
134
|
-
//this._aAllInterfaces = jQuery.sap.unique(this._oParent._aAllInterfaces.concat(this._aInterfaces));
|
|
135
134
|
this._aAllPublicMethods = this._oParent._aAllPublicMethods.concat(this._aPublicMethods);
|
|
136
135
|
this._bInterfacesUnique = false;
|
|
137
136
|
} else {
|
|
138
|
-
//this._aAllInterfaces = this._aInterfaces;
|
|
139
137
|
this._aAllPublicMethods = this._aPublicMethods;
|
|
140
138
|
}
|
|
141
139
|
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['./Metadata', "sap/base/Log"],
|
|
|
26
26
|
* @class Base class for all SAPUI5 Objects.
|
|
27
27
|
* @abstract
|
|
28
28
|
* @author Malte Wedel
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.97.0
|
|
30
30
|
* @public
|
|
31
31
|
* @alias sap.ui.base.Object
|
|
32
32
|
* @throws {Error} When an instance of the class or its subclasses is created without the <code>new</code> operator.
|
package/src/sap/ui/core/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.97.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -21,24 +21,15 @@
|
|
|
21
21
|
<!-- excludes for the all-in-one file -->
|
|
22
22
|
<packaging xmlns="http://www.sap.com/ui5/buildext/packaging" version="2.0" >
|
|
23
23
|
<module-infos>
|
|
24
|
-
<!--
|
|
25
|
-
<raw-module name="jquery.sap.global.js" depends="sap/ui/Device.js,sap/ui/thirdparty/jquery.js,sap/ui/thirdparty/jqueryui/jquery-ui-position.js,sap/ui/thirdparty/URI.js,sap/ui/thirdparty/es6-promise.js,sap/ui/thirdparty/baseuri.js,sap/ui/thirdparty/es6-object-assign.js" />
|
|
26
|
-
-->
|
|
27
24
|
<raw-module name="sap/ui/core/support/trace/EppLib.js" />
|
|
28
25
|
<raw-module name="sap/ui/core/support/trace/E2eTraceLib.js" depends="sap/ui/core/support/trace/EppLib.js" />
|
|
29
26
|
<raw-module name="sap/ui/Device.js" />
|
|
30
|
-
<raw-module name="sap/ui/thirdparty/baseuri.js" />
|
|
31
27
|
<raw-module name="sap/ui/thirdparty/blanket.js" requiresTopLevelScope="false" />
|
|
32
28
|
<raw-module name="sap/ui/thirdparty/bignumber.js" />
|
|
33
29
|
<raw-module name="sap/ui/thirdparty/caja-html-sanitizer.js" />
|
|
34
30
|
<raw-module name="sap/ui/thirdparty/crossroads.js" depends="sap/ui/thirdparty/signals.js" />
|
|
35
31
|
<raw-module name="sap/ui/thirdparty/d3.js" />
|
|
36
32
|
<raw-module name="sap/ui/thirdparty/datajs.js" />
|
|
37
|
-
<raw-module name="sap/ui/thirdparty/es6-object-assign.js" />
|
|
38
|
-
<raw-module name="sap/ui/thirdparty/es6-promise.js" />
|
|
39
|
-
<raw-module name="sap/ui/thirdparty/es6-shim-nopromise.js" />
|
|
40
|
-
<raw-module name="sap/ui/thirdparty/es6-string-methods.js" />
|
|
41
|
-
<raw-module name="sap/ui/thirdparty/flexie.js" requiresTopLevelScope="false" />
|
|
42
33
|
<raw-module name="sap/ui/thirdparty/handlebars.js" />
|
|
43
34
|
<raw-module name="sap/ui/thirdparty/hasher.js" depends="sap/ui/thirdparty/signals.js" />
|
|
44
35
|
<raw-module name="sap/ui/thirdparty/IPv6.js" />
|
|
@@ -106,8 +97,6 @@
|
|
|
106
97
|
<raw-module name="sap/ui/thirdparty/sinon.js" />
|
|
107
98
|
<raw-module name="sap/ui/thirdparty/sinon-4.js" />
|
|
108
99
|
<raw-module name="sap/ui/thirdparty/swipe-view.js" requiresTopLevelScope="false" />
|
|
109
|
-
<raw-module name="sap/ui/thirdparty/unorm.js" />
|
|
110
|
-
<raw-module name="sap/ui/thirdparty/unormdata.js" depends="sap/ui/thirdparty/unorm.js" />
|
|
111
100
|
<raw-module name="sap/ui/thirdparty/URI.js" />
|
|
112
101
|
<raw-module name="sap/ui/thirdparty/URITemplate.js" depends="sap/ui/thirdparty/URI.js"/>
|
|
113
102
|
<raw-module name="sap/ui/thirdparty/vkbeautify.js" />
|
|
@@ -138,18 +127,12 @@
|
|
|
138
127
|
<exclude name="jquery-ui-position.js" />
|
|
139
128
|
<exclude name="sap/ui/model/odata/datajs.js" />
|
|
140
129
|
<!-- Third party libs which should NOT be part of the all-in-one file -->
|
|
141
|
-
<exclude name="sap/ui/thirdparty/baseuri.js" />
|
|
142
130
|
<exclude name="sap/ui/thirdparty/bignumber.js" />
|
|
143
131
|
<exclude name="sap/ui/thirdparty/blanket.js" />
|
|
144
132
|
<!-- <exclude name="sap/ui/thirdparty/crossroads.js" /> -->
|
|
145
133
|
<!-- <exclude name="sap/ui/thirdparty/caja-html-sanitizer.js" /> -->
|
|
146
134
|
<exclude name="sap/ui/thirdparty/d3.js" />
|
|
147
135
|
<exclude name="sap/ui/thirdparty/datajs.js" />
|
|
148
|
-
<exclude name="sap/ui/thirdparty/es6-object-assign.js" />
|
|
149
|
-
<exclude name="sap/ui/thirdparty/es6-promise.js" />
|
|
150
|
-
<exclude name="sap/ui/thirdparty/es6-shim-nopromise.js" />
|
|
151
|
-
<exclude name="sap/ui/thirdparty/es6-string-methods.js" />
|
|
152
|
-
<exclude name="sap/ui/thirdparty/flexie.js" />
|
|
153
136
|
<exclude name="sap/ui/thirdparty/handlebars.js" />
|
|
154
137
|
<!-- <exclude name="sap/ui/thirdparty/hasher.js" /> -->
|
|
155
138
|
<exclude name="sap/ui/thirdparty/IPv6.js" />
|
|
@@ -199,8 +182,6 @@
|
|
|
199
182
|
<exclude name="sap/ui/thirdparty/sinon-server.js" />
|
|
200
183
|
<exclude name="sap/ui/thirdparty/sinon.js" />
|
|
201
184
|
<exclude name="sap/ui/thirdparty/swipe-view.js" />
|
|
202
|
-
<exclude name="sap/ui/thirdparty/unorm.js" />
|
|
203
|
-
<exclude name="sap/ui/thirdparty/unormdata.js" />
|
|
204
185
|
<!-- URI is no longer excluded because it's needed in jquery.sap.global and others -->
|
|
205
186
|
<!-- <exclude name="sap/ui/thirdparty/URI.js" /> -->
|
|
206
187
|
<exclude name="sap/ui/thirdparty/URITemplate.js" />
|
|
@@ -502,15 +483,8 @@
|
|
|
502
483
|
<pattern partial="true" otherContent="SAP" explanation="LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.">sap/ui/core/cache/LRUPersistentCache.js</pattern>
|
|
503
484
|
</lib>
|
|
504
485
|
<ignore>
|
|
505
|
-
<file pattern="sap/ui/thirdparty/baseuri.js" />
|
|
506
|
-
<file pattern="sap/ui/thirdparty/es6-object-assign.js" />
|
|
507
|
-
<file pattern="sap/ui/thirdparty/es6-shim-nopromise.js" />
|
|
508
|
-
<file pattern="sap/ui/thirdparty/es6-promise.js" />
|
|
509
|
-
<file pattern="sap/ui/thirdparty/es6-string-methods.js" />
|
|
510
|
-
<file pattern="sap/ui/thirdparty/flexie.js" />
|
|
511
486
|
<file pattern="sap/ui/thirdparty/RequestRecorder.js" />
|
|
512
487
|
<file pattern="sap/ui/thirdparty/sinon-ie.js" />
|
|
513
|
-
<file pattern="sap/ui/thirdparty/unorm*" />
|
|
514
488
|
</ignore>
|
|
515
489
|
</thirdparty>
|
|
516
490
|
|
|
@@ -24,8 +24,8 @@ sap.ui.define([
|
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
* The AppCacheBuster is only aware of resources which are relative to the
|
|
27
|
-
* current application or have been registered via
|
|
28
|
-
*
|
|
27
|
+
* current application or have been registered via resource mapping (e.g.
|
|
28
|
+
* sap.ui.loader.config({paths...})}.
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
31
|
// intercept function to avoid usage of cachebuster
|
|
@@ -369,8 +369,8 @@ sap.ui.define([
|
|
|
369
369
|
fnEnhancedXhrOpen = XMLHttpRequest.prototype.open;
|
|
370
370
|
|
|
371
371
|
// enhance the validateProperty function to intercept URI types
|
|
372
|
-
// test via: new sap.
|
|
373
|
-
// new sap.
|
|
372
|
+
// test via: new sap.m.Image({src: "acctest/img/Employee.png"}).getSrc()
|
|
373
|
+
// new sap.m.Image({src: "./acctest/../acctest/img/Employee.png"}).getSrc()
|
|
374
374
|
ManagedObject.prototype.validateProperty = function(sPropertyName, oValue) {
|
|
375
375
|
var oMetadata = this.getMetadata(),
|
|
376
376
|
oProperty = oMetadata.getProperty(sPropertyName),
|
|
@@ -228,7 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
* @extends sap.ui.base.ManagedObject
|
|
229
229
|
* @abstract
|
|
230
230
|
* @author SAP SE
|
|
231
|
-
* @version 1.
|
|
231
|
+
* @version 1.97.0
|
|
232
232
|
* @alias sap.ui.core.Component
|
|
233
233
|
* @since 1.9.2
|
|
234
234
|
*/
|
|
@@ -2930,7 +2930,18 @@ sap.ui.define([
|
|
|
2930
2930
|
http2 = sap.ui.getCore().getConfiguration().getDepCache(),
|
|
2931
2931
|
sPreloadName,
|
|
2932
2932
|
oTransitiveDependencies,
|
|
2933
|
-
aLibs
|
|
2933
|
+
aLibs,
|
|
2934
|
+
errorLogging = function (sPreloadName, bAsync) {
|
|
2935
|
+
return function (e) {
|
|
2936
|
+
var sErrorMessage = "Component-preload for this component does not exist.";
|
|
2937
|
+
Log.warning(
|
|
2938
|
+
"Couldn't preload component from " + sPreloadName + ": " + ((e && e.message) || e),
|
|
2939
|
+
!bAsync ? sErrorMessage : sErrorMessage + " If the component is part of a library or another component, the configuration 'sap.app/embeddedBy' is not maintained. " +
|
|
2940
|
+
" The 'sap.app/embeddedBy' property must be relative path inside the deployment unit (library or component).",
|
|
2941
|
+
"sap.ui.core.Component#preload"
|
|
2942
|
+
);
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2934
2945
|
|
|
2935
2946
|
// only load the Component-preload file if the Component module is not yet available
|
|
2936
2947
|
if ( bComponentPreload && sComponentName != null && !sap.ui.loader._.getModuleState(sController.replace(/\./g, "/") + ".js") ) {
|
|
@@ -2945,10 +2956,10 @@ sap.ui.define([
|
|
|
2945
2956
|
Array.prototype.push.apply(aLibs, oTransitiveDependencies.dependencies);
|
|
2946
2957
|
|
|
2947
2958
|
// load library preload for every transitive dependency
|
|
2948
|
-
return sap.ui.getCore().loadLibraries( aLibs, { preloadOnly: true } );
|
|
2959
|
+
return sap.ui.getCore().loadLibraries( aLibs, { preloadOnly: true } ).catch(errorLogging(oTransitiveDependencies.library, true));
|
|
2949
2960
|
} else {
|
|
2950
2961
|
sPreloadName = sController.replace(/\./g, "/") + (http2 ? '-h2-preload.js' : '-preload.js'); // URN
|
|
2951
|
-
return sap.ui.loader._.loadJSResourceAsync(sPreloadName, true);
|
|
2962
|
+
return sap.ui.loader._.loadJSResourceAsync(sPreloadName).catch(errorLogging(sPreloadName, true));
|
|
2952
2963
|
}
|
|
2953
2964
|
}
|
|
2954
2965
|
|
|
@@ -2956,7 +2967,7 @@ sap.ui.define([
|
|
|
2956
2967
|
sPreloadName = sController + '-preload'; // Module name
|
|
2957
2968
|
sap.ui.requireSync(sPreloadName.replace(/\./g, "/"));
|
|
2958
2969
|
} catch (e) {
|
|
2959
|
-
|
|
2970
|
+
errorLogging(sPreloadName, false)(e);
|
|
2960
2971
|
}
|
|
2961
2972
|
} else if (bAsync) {
|
|
2962
2973
|
return Promise.resolve();
|
|
@@ -3159,11 +3170,21 @@ sap.ui.define([
|
|
|
3159
3170
|
collect(oManifest.then(function(oManifest) {
|
|
3160
3171
|
|
|
3161
3172
|
// preload the component only if not embedded in a library
|
|
3162
|
-
//
|
|
3163
|
-
//
|
|
3173
|
+
// If the Component controller is not preloaded, the Component.js file is loaded as a single request later on.
|
|
3174
|
+
// This situation should be fixed by the factory caller, so we log it as a warning.
|
|
3164
3175
|
var pPreload = Promise.resolve();
|
|
3165
|
-
|
|
3166
|
-
|
|
3176
|
+
var sEmbeddedBy = oManifest.getEntry("/sap.app/embeddedBy");
|
|
3177
|
+
var sComponentName = oManifest.getComponentName();
|
|
3178
|
+
if (!sEmbeddedBy) {
|
|
3179
|
+
pPreload = preload(sComponentName, true);
|
|
3180
|
+
} else if (!sap.ui.loader._.getModuleState(getControllerModuleName() + ".js")) {
|
|
3181
|
+
Log.warning(
|
|
3182
|
+
"Component '" + sComponentName + "' is defined to be embedded in a library or another component" +
|
|
3183
|
+
"The relatively given preload for the embedding resource was not loaded before hand. " +
|
|
3184
|
+
"Please make sure to load the embedding resource containing this Component before instantiating.",
|
|
3185
|
+
undefined,
|
|
3186
|
+
"sap.ui.core.Component#embeddedBy"
|
|
3187
|
+
);
|
|
3167
3188
|
}
|
|
3168
3189
|
|
|
3169
3190
|
return pPreload.then(function() {
|
|
@@ -3530,6 +3551,7 @@ sap.ui.define([
|
|
|
3530
3551
|
*
|
|
3531
3552
|
* @namespace sap.ui.core.Component.registry
|
|
3532
3553
|
* @public
|
|
3554
|
+
* @since 1.67
|
|
3533
3555
|
*/
|
|
3534
3556
|
|
|
3535
3557
|
/**
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @extends sap.ui.core.Element
|
|
78
78
|
* @abstract
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.
|
|
80
|
+
* @version 1.97.0
|
|
81
81
|
* @alias sap.ui.core.Control
|
|
82
82
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
83
83
|
*/
|
|
@@ -498,7 +498,7 @@ sap.ui.define([
|
|
|
498
498
|
* <b>IMPORTANT:</b></br>
|
|
499
499
|
* This should be only used as FALLBACK when the Control events do not cover a specific use-case! Always try using
|
|
500
500
|
* SAPUI5 control events, as e.g. accessibility-related functionality is then provided automatically.
|
|
501
|
-
* E.g. when working with a <code>sap.
|
|
501
|
+
* E.g. when working with a <code>sap.m.Button</code>, always use the Button's "press" event, not the native "click" event, because
|
|
502
502
|
* "press" is also guaranteed to be fired when certain keyboard activity is supposed to trigger the Button.
|
|
503
503
|
*
|
|
504
504
|
* In the event handler, <code>this</code> refers to the Control - not to the root DOM element like in jQuery. While the DOM element can
|
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -210,7 +210,7 @@ sap.ui.define([
|
|
|
210
210
|
* @extends sap.ui.base.Object
|
|
211
211
|
* @final
|
|
212
212
|
* @author SAP SE
|
|
213
|
-
* @version 1.
|
|
213
|
+
* @version 1.97.0
|
|
214
214
|
* @alias sap.ui.core.Core
|
|
215
215
|
* @public
|
|
216
216
|
* @hideconstructor
|
|
@@ -4276,7 +4276,7 @@ sap.ui.define([
|
|
|
4276
4276
|
* <pre>
|
|
4277
4277
|
* <div id="SAPUI5UiArea"></div>
|
|
4278
4278
|
* <script>
|
|
4279
|
-
* var oRoot = new sap.
|
|
4279
|
+
* var oRoot = new sap.m.Label();
|
|
4280
4280
|
* oRoot.setText("Hello world!");
|
|
4281
4281
|
* sap.ui.setRoot("SAPUI5UiArea", oRoot);
|
|
4282
4282
|
* </script>
|
|
@@ -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.97.0
|
|
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
|
|
@@ -519,11 +519,6 @@ sap.ui.define([
|
|
|
519
519
|
return this; // explicitly return 'this' to fix controls that override destroyAggregation wrongly
|
|
520
520
|
};
|
|
521
521
|
|
|
522
|
-
|
|
523
|
-
/// cyclic dependency
|
|
524
|
-
//jQuery.sap.require("sap.ui.core.TooltipBase"); /// cyclic dependency
|
|
525
|
-
|
|
526
|
-
|
|
527
522
|
/**
|
|
528
523
|
* This triggers immediate rerendering of its parent and thus of itself and its children.
|
|
529
524
|
*
|
|
@@ -1674,6 +1669,7 @@ sap.ui.define([
|
|
|
1674
1669
|
*
|
|
1675
1670
|
* @namespace sap.ui.core.Element.registry
|
|
1676
1671
|
* @public
|
|
1672
|
+
* @since 1.67
|
|
1677
1673
|
*/
|
|
1678
1674
|
|
|
1679
1675
|
/**
|
|
@@ -41,7 +41,7 @@ sap.ui.define([], function() {
|
|
|
41
41
|
*
|
|
42
42
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
43
43
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.97.0
|
|
45
45
|
* @public
|
|
46
46
|
* @class
|
|
47
47
|
* @alias sap.ui.core.EnabledPropagator
|
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.97.0
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @alias sap.ui.core.HTML
|
|
@@ -83,8 +83,8 @@ sap.ui.define([
|
|
|
83
83
|
* @SecSink {,XSS} The content of the 'content' property is rendered 1:1 to allow the full
|
|
84
84
|
* flexibility of HTML in UI5 applications. Applications therefore must ensure, that they don't
|
|
85
85
|
* set malicious content (e.g. derived from user input). UI5 does not provide an HTML validation
|
|
86
|
-
* function.
|
|
87
|
-
* nearly all cases not what applications want here.
|
|
86
|
+
* function. {@link sap/base/security/encodeXML encodeXML} will encode any HTML relevant character,
|
|
87
|
+
* but this is in nearly all cases not what applications want here.
|
|
88
88
|
*/
|
|
89
89
|
content : {type : "string", group : "Misc", defaultValue : null},
|
|
90
90
|
|
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -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.97.0
|
|
16
16
|
* @alias module:sap/ui/core/InvisibleRenderer
|
|
17
17
|
* @since 1.66.0
|
|
18
18
|
* @protected
|