@openui5/sap.ui.core 1.138.0 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -1
- package/THIRDPARTY.txt +73 -67
- package/package.json +2 -2
- package/src/jquery.sap.global.js +1 -1
- 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/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +22 -1
- package/src/sap/base/i18n/LanguageFallback.js +18 -2
- package/src/sap/base/i18n/LanguageTag.js +11 -5
- package/src/sap/base/i18n/Localization.js +36 -9
- package/src/sap/base/i18n/ResourceBundle.js +59 -35
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +3 -3
- package/src/sap/ui/base/BindingInfo.js +6 -1
- package/src/sap/ui/base/DataType.js +27 -2
- 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 +49 -12
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- 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/OwnStatics.js +49 -0
- package/src/sap/ui/core/.library +7 -2
- package/src/sap/ui/core/BlockLayerUtils.js +2 -2
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +11 -9
- package/src/sap/ui/core/ComponentContainer.js +13 -3
- 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 +1 -1
- 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 +10 -4
- 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 +10 -8
- package/src/sap/ui/core/HTML.js +1 -1
- 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/Lib.js +39 -24
- 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 +7 -4
- 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 +9 -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/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +6 -2
- 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/date/UI5Date.js +1 -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/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/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +43 -19
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/i18n/interaction_ar.xml +1 -1
- package/src/sap/ui/core/interaction/KeyboardInteractionDisplay.js +84 -38
- 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 +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle.properties +58 -28
- package/src/sap/ui/core/messagebundle_cnr.properties +8 -8
- package/src/sap/ui/core/messagebundle_cy.properties +6 -6
- package/src/sap/ui/core/messagebundle_fi.properties +2 -2
- package/src/sap/ui/core/messagebundle_hi.properties +4 -4
- package/src/sap/ui/core/messagebundle_kk.properties +7 -7
- package/src/sap/ui/core/messagebundle_ko.properties +8 -8
- package/src/sap/ui/core/messagebundle_lv.properties +4 -4
- package/src/sap/ui/core/messagebundle_mk.properties +8 -8
- package/src/sap/ui/core/messagebundle_ms.properties +8 -8
- package/src/sap/ui/core/messagebundle_nl.properties +2 -2
- package/src/sap/ui/core/messagebundle_ro.properties +4 -4
- package/src/sap/ui/core/messagebundle_ru.properties +2 -2
- package/src/sap/ui/core/messagebundle_sh.properties +8 -8
- package/src/sap/ui/core/messagebundle_sk.properties +1 -1
- package/src/sap/ui/core/messagebundle_sl.properties +2 -2
- package/src/sap/ui/core/messagebundle_sr.properties +8 -8
- package/src/sap/ui/core/messagebundle_vi.properties +8 -8
- package/src/sap/ui/core/messagebundle_zh_TW.properties +8 -8
- package/src/sap/ui/core/mvc/Controller.js +5 -3
- package/src/sap/ui/core/mvc/HTMLView.js +6 -2
- package/src/sap/ui/core/mvc/JSONView.js +6 -2
- package/src/sap/ui/core/mvc/JSView.js +6 -3
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +63 -20
- package/src/sap/ui/core/mvc/XMLView.js +6 -2
- package/src/sap/ui/core/mvc/_ViewFactory.js +8 -4
- 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 +1 -0
- 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/Support.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 -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/themes/base/base.less +20 -20
- package/src/sap/ui/core/themes/base/skeleton.less +3 -3
- package/src/sap/ui/core/theming/ThemeManager.js +7 -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 +1 -1
- package/src/sap/ui/core/util/PasteHelper.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/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.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/findTabbable.js +1 -1
- package/src/sap/ui/model/ClientModel.js +2 -2
- 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/Filter.js +55 -35
- package/src/sap/ui/model/FilterOperator.js +79 -9
- 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/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/json/JSONPropertyBinding.js +14 -2
- 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 +3 -3
- 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 +17 -11
- package/src/sap/ui/model/odata/v2/ODataModel.js +4 -3
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +10 -2
- package/src/sap/ui/model/odata/v4/Context.js +19 -15
- package/src/sap/ui/model/odata/v4/ODataBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +4 -4
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +26 -14
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +4 -4
- package/src/sap/ui/model/odata/v4/ODataModel.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +2 -2
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataUtils.js +2 -2
- package/src/sap/ui/model/odata/v4/_AnnotationHelperExpression.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +69 -27
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +10 -7
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +52 -60
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +49 -31
- package/src/sap/ui/model/odata/v4/lib/_MinMaxHelper.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +19 -9
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.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/test/generic/GenericTestCollection.js +11 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/thirdparty/jquery.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +49 -42
- package/src/ui5loader.js +1 -1
- package/src/sap/ui/base/_runWithOwner.js +0 -43
package/src/sap/ui/Device.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* This API is independent from any other part of the UI5 framework. This allows it to be loaded beforehand, if it is needed, to create the UI5 bootstrap
|
|
12
12
|
* dynamically depending on the capabilities of the browser or device.
|
|
13
13
|
*
|
|
14
|
-
* @version 1.
|
|
14
|
+
* @version 1.139.1
|
|
15
15
|
* @namespace
|
|
16
16
|
* @name sap.ui.Device
|
|
17
17
|
* @public
|
|
@@ -33,7 +33,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
33
33
|
// Skip initialization if API is already available
|
|
34
34
|
// ui5lint-disable no-globals
|
|
35
35
|
if (typeof window.sap.ui.Device === "object" || typeof window.sap.ui.Device === "function") {
|
|
36
|
-
var apiVersion = "1.
|
|
36
|
+
var apiVersion = "1.139.1";
|
|
37
37
|
window.sap.ui.Device._checkAPIVersion(apiVersion);
|
|
38
38
|
return;
|
|
39
39
|
}
|
|
@@ -107,7 +107,7 @@ if (typeof window.sap.ui !== "object") {
|
|
|
107
107
|
|
|
108
108
|
//Only used internal to make clear when Device API is loaded in wrong version
|
|
109
109
|
Device._checkAPIVersion = function(sVersion) {
|
|
110
|
-
var v = "1.
|
|
110
|
+
var v = "1.139.1";
|
|
111
111
|
if (v != sVersion) {
|
|
112
112
|
oLogger.log(WARNING, "Device API version differs: " + v + " <-> " + sVersion);
|
|
113
113
|
}
|
package/src/sap/ui/Global.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* sap.ui.lazyRequire("sap.ui.core.Control");
|
|
19
19
|
* sap.ui.lazyRequire("sap.m.Button");
|
|
20
20
|
*
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.139.1
|
|
22
22
|
* @author SAP SE
|
|
23
23
|
* @public
|
|
24
24
|
* @fileoverview
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* The <code>sap.ui</code> namespace is the central OpenAjax compliant entry
|
|
49
49
|
* point for UI related JavaScript functionality provided by SAP.
|
|
50
50
|
*
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.139.1
|
|
52
52
|
* @namespace
|
|
53
53
|
* @name sap.ui
|
|
54
54
|
* @public
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* The version of the SAP UI Library
|
|
60
60
|
* @type string
|
|
61
61
|
*/
|
|
62
|
-
version: "1.
|
|
62
|
+
version: "1.139.1",
|
|
63
63
|
// buildinfo.lastchange is deprecated and is therefore defaulted to empty string
|
|
64
64
|
buildinfo : { lastchange : "", buildtime : "${buildtime}" }
|
|
65
65
|
};
|
|
@@ -188,7 +188,12 @@ sap.ui.define([
|
|
|
188
188
|
// property:"{path}" or "\{path\}"
|
|
189
189
|
if (typeof oValue === "string") {
|
|
190
190
|
// either returns a binding info or an unescaped string or undefined - depending on binding syntax
|
|
191
|
-
|
|
191
|
+
const args = [oValue, oScope, true];
|
|
192
|
+
// provide variable "$control" to be used with ".bind()" in the binding string
|
|
193
|
+
// see BindingParser.complexParser
|
|
194
|
+
args[8] = { "$control": null };
|
|
195
|
+
|
|
196
|
+
oBindingInfo = BindingInfo.parse(...args);
|
|
192
197
|
}
|
|
193
198
|
return oBindingInfo;
|
|
194
199
|
},
|
|
@@ -470,6 +470,29 @@ sap.ui.define([
|
|
|
470
470
|
return oType;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
+
const oLoggedErrors = new Set();
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Logs an error only once per class name and property name combination.
|
|
477
|
+
*
|
|
478
|
+
* If the class name and property name are not given, the message is logged.
|
|
479
|
+
*
|
|
480
|
+
* @param {string} sClassName - The name of the class where the error occurred.
|
|
481
|
+
* @param {string} sPropertyName - The name of the property causing the error.
|
|
482
|
+
* @param {string} sMessage - Additional message to log.
|
|
483
|
+
*/
|
|
484
|
+
function logErrorOnce(sClassName, sPropertyName, sMessage) {
|
|
485
|
+
if (sClassName && sPropertyName) {
|
|
486
|
+
const sKey = `${sClassName}::${sPropertyName}`;
|
|
487
|
+
if (!oLoggedErrors.has(sKey)) {
|
|
488
|
+
oLoggedErrors.add(sKey);
|
|
489
|
+
Log.error(`Property "${sPropertyName}" of "${sClassName}": ${sMessage}`);
|
|
490
|
+
}
|
|
491
|
+
} else {
|
|
492
|
+
Log.error(sMessage);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
473
496
|
/**
|
|
474
497
|
* Looks up the type with the given name and returns it.
|
|
475
498
|
*
|
|
@@ -509,11 +532,12 @@ sap.ui.define([
|
|
|
509
532
|
* needed by the specific control or class definition.
|
|
510
533
|
*
|
|
511
534
|
* @param {string} sTypeName Qualified name of the type to retrieve
|
|
535
|
+
* @param {sap.ui.base.ManagedObject.MetaOptions.Property} [oProperty] Metadata of the property
|
|
512
536
|
* @returns {sap.ui.base.DataType|undefined} Type object or <code>undefined</code> when
|
|
513
537
|
* no such type has been defined yet
|
|
514
538
|
* @public
|
|
515
539
|
*/
|
|
516
|
-
DataType.getType = function(sTypeName) {
|
|
540
|
+
DataType.getType = function(sTypeName, oProperty) {
|
|
517
541
|
assert( sTypeName && typeof sTypeName === 'string', "sTypeName must be a non-empty string");
|
|
518
542
|
|
|
519
543
|
var oType = mTypes[sTypeName];
|
|
@@ -538,7 +562,8 @@ sap.ui.define([
|
|
|
538
562
|
if (oType == null) {
|
|
539
563
|
oType = ObjectPath.get(sTypeName);
|
|
540
564
|
if (oType != null) {
|
|
541
|
-
|
|
565
|
+
logErrorOnce(oProperty?._oParent.getName(), oProperty?.name,
|
|
566
|
+
`[DEPRECATED] The type '${sTypeName}' was accessed via globals. Defining types via globals is deprecated. ` +
|
|
542
567
|
`In case the referenced type is an enum: require the module 'sap/ui/base/DataType' and call the static 'DataType.registerEnum' API. ` +
|
|
543
568
|
`In case the referenced type is non-primitive, please note that only primitive types (and those derived from them) are supported for ManagedObject properties. ` +
|
|
544
569
|
`If the given type is an interface or a subclass of ManagedObject, you can define a "0..1" aggregation instead of a property`);
|
package/src/sap/ui/base/Event.js
CHANGED
|
@@ -23,7 +23,7 @@ sap.ui.define(['./Object', "sap/base/assert"],
|
|
|
23
23
|
* @extends sap.ui.base.Object
|
|
24
24
|
* @implements sap.ui.base.Poolable
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.139.1
|
|
27
27
|
* @alias sap.ui.base.Event
|
|
28
28
|
* @public
|
|
29
29
|
* @template {Object<string,any>} [ParamsType=object]
|
|
@@ -58,7 +58,7 @@ sap.ui.define(['sap/ui/base/Object'], function(BaseObject) {
|
|
|
58
58
|
* </code>
|
|
59
59
|
*
|
|
60
60
|
* @author Malte Wedel, Daniel Brinkmann
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.139.1
|
|
62
62
|
* @param {sap.ui.base.Object} oObject
|
|
63
63
|
* Object for which a facade should be created
|
|
64
64
|
* @param {string[]} aMethods
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides the base class for all objects with managed properties and aggregations.
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"./
|
|
9
|
+
"./BindingInfo",
|
|
10
10
|
"./DataType",
|
|
11
11
|
"./EventProvider",
|
|
12
12
|
"./ManagedObjectMetadata",
|
|
13
13
|
"./Object",
|
|
14
|
-
"./
|
|
14
|
+
"./OwnStatics",
|
|
15
15
|
"sap/ui/util/ActivityDetection",
|
|
16
16
|
"sap/ui/util/_enforceNoReturnValue",
|
|
17
17
|
"sap/base/future",
|
|
@@ -24,12 +24,12 @@ sap.ui.define([
|
|
|
24
24
|
"sap/base/util/extend",
|
|
25
25
|
"sap/base/util/isEmptyObject"
|
|
26
26
|
], function(
|
|
27
|
-
|
|
27
|
+
BindingInfo,
|
|
28
28
|
DataType,
|
|
29
29
|
EventProvider,
|
|
30
30
|
ManagedObjectMetadata,
|
|
31
31
|
BaseObject,
|
|
32
|
-
|
|
32
|
+
OwnStatics,
|
|
33
33
|
ActivityDetection,
|
|
34
34
|
_enforceNoReturnValue,
|
|
35
35
|
future,
|
|
@@ -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.139.1
|
|
270
270
|
* @public
|
|
271
271
|
* @alias sap.ui.base.ManagedObject
|
|
272
272
|
*/
|
|
@@ -508,7 +508,7 @@ sap.ui.define([
|
|
|
508
508
|
this._oContextualSettings = defaultContextualSettings;
|
|
509
509
|
|
|
510
510
|
// apply the owner id if defined
|
|
511
|
-
this._sOwnerId =
|
|
511
|
+
this._sOwnerId = sOwnerId;
|
|
512
512
|
|
|
513
513
|
// make sure that the object is registered before initializing
|
|
514
514
|
// and to deregister the object in case of errors
|
|
@@ -1163,7 +1163,7 @@ sap.ui.define([
|
|
|
1163
1163
|
* @private
|
|
1164
1164
|
* @ui5-restricted sap.ui.base,sap.ui.core
|
|
1165
1165
|
*/
|
|
1166
|
-
|
|
1166
|
+
function runWithPreprocessors(fn, oPreprocessors, oThisArg) {
|
|
1167
1167
|
assert(typeof fn === "function", "fn must be a function");
|
|
1168
1168
|
assert(!oPreprocessors || typeof oPreprocessors === "object", "oPreprocessors must be an object");
|
|
1169
1169
|
|
|
@@ -1179,7 +1179,34 @@ sap.ui.define([
|
|
|
1179
1179
|
[fnCurrentIdPreprocessor, fnCurrentSettingsPreprocessor] = aOldPreprocessors;
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
|
-
}
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
let sOwnerId;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Calls the function <code>fn</code> once and marks all ManagedObjects
|
|
1188
|
+
* created during that call as "owned" by the given ID.
|
|
1189
|
+
*
|
|
1190
|
+
* @param {function} fn Function to execute
|
|
1191
|
+
* @param {string} sOwnerId Id of the owner
|
|
1192
|
+
* @param {Object} [oThisArg=undefined] Value to use as <code>this</code> when executing <code>fn</code>
|
|
1193
|
+
* @return {any} result of function <code>fn</code>
|
|
1194
|
+
* @private
|
|
1195
|
+
* @ui5-restricted sap.ui.core
|
|
1196
|
+
*/
|
|
1197
|
+
function runWithOwner(fn, sNewOwnerId, oThisArg) {
|
|
1198
|
+
|
|
1199
|
+
assert(typeof fn === "function", "fn must be a function");
|
|
1200
|
+
|
|
1201
|
+
var oldOwnerId = sOwnerId;
|
|
1202
|
+
try {
|
|
1203
|
+
sOwnerId = sNewOwnerId;
|
|
1204
|
+
return fn.call(oThisArg);
|
|
1205
|
+
} finally {
|
|
1206
|
+
sOwnerId = oldOwnerId;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
}
|
|
1183
1210
|
|
|
1184
1211
|
/**
|
|
1185
1212
|
* Sets all the properties, aggregations, associations and event handlers as given in
|
|
@@ -1517,7 +1544,7 @@ sap.ui.define([
|
|
|
1517
1544
|
throw new Error("Property \"" + sPropertyName + "\" does not exist in " + this);
|
|
1518
1545
|
}
|
|
1519
1546
|
|
|
1520
|
-
oType = DataType.getType(oProperty.type);
|
|
1547
|
+
oType = DataType.getType(oProperty.type, oProperty);
|
|
1521
1548
|
|
|
1522
1549
|
// If property has an array type, clone the array to avoid modification of original data
|
|
1523
1550
|
if (oType instanceof DataType && oType.isArrayType() && Array.isArray(oValue)) {
|
|
@@ -1566,7 +1593,7 @@ sap.ui.define([
|
|
|
1566
1593
|
throw new Error("Property \"" + sPropertyName + "\" does not exist in " + this);
|
|
1567
1594
|
}
|
|
1568
1595
|
|
|
1569
|
-
oType = DataType.getType(oProperty.type);
|
|
1596
|
+
oType = DataType.getType(oProperty.type, oProperty);
|
|
1570
1597
|
|
|
1571
1598
|
// If property has an array type, clone the array to avoid modification of original data
|
|
1572
1599
|
if (oType instanceof DataType && oType.isArrayType() && Array.isArray(oValue)) {
|
|
@@ -3788,7 +3815,7 @@ sap.ui.define([
|
|
|
3788
3815
|
var sOwnerId = this._sOwnerId;
|
|
3789
3816
|
vBindingInfo.factory = function(sId, oContext) {
|
|
3790
3817
|
// bind original factory with the two arguments: id and bindingContext
|
|
3791
|
-
return
|
|
3818
|
+
return runWithOwner(fnOriginalFactory.bind(null, sId, oContext), sOwnerId);
|
|
3792
3819
|
};
|
|
3793
3820
|
vBindingInfo.factory[BINDING_INFO_FACTORY_SYMBOL] = fnOriginalFactory;
|
|
3794
3821
|
}
|
|
@@ -4334,7 +4361,9 @@ sap.ui.define([
|
|
|
4334
4361
|
if (bUpdateListener || bUpdateAll) {
|
|
4335
4362
|
oObject._callPropagationListener();
|
|
4336
4363
|
}
|
|
4337
|
-
|
|
4364
|
+
if (bUpdateListener !== true) {
|
|
4365
|
+
oObject.fireModelContextChange();
|
|
4366
|
+
}
|
|
4338
4367
|
}
|
|
4339
4368
|
};
|
|
4340
4369
|
|
|
@@ -4829,6 +4858,14 @@ sap.ui.define([
|
|
|
4829
4858
|
|
|
4830
4859
|
const defaultContextualSettings = {};
|
|
4831
4860
|
|
|
4861
|
+
OwnStatics.set(ManagedObject, {
|
|
4862
|
+
runWithOwner,
|
|
4863
|
+
runWithPreprocessors,
|
|
4864
|
+
getCurrentOwnerId() {
|
|
4865
|
+
return sOwnerId;
|
|
4866
|
+
}
|
|
4867
|
+
});
|
|
4868
|
+
|
|
4832
4869
|
return ManagedObject;
|
|
4833
4870
|
|
|
4834
4871
|
});
|
|
@@ -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.139.1
|
|
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.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Provides class sap.ui.base.OwnStatics
|
|
8
|
+
sap.ui.define(function() {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
const statics = new WeakMap();
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A utility module to manage static properties tied to specific classes.
|
|
15
|
+
* Each class can have exactly one static object associated with it.
|
|
16
|
+
* The static object is frozen to prevent modification after registration.
|
|
17
|
+
*
|
|
18
|
+
* @private
|
|
19
|
+
* @alias module:sap/ui/base/OwnStatics
|
|
20
|
+
*/
|
|
21
|
+
const OwnStatics = {
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the static object associated with a given class.
|
|
24
|
+
*
|
|
25
|
+
* @param {function} clazz - The class constructor whose statics should be retrieved.
|
|
26
|
+
* @returns {object|undefined} The static object if defined, or `undefined` if none was set.
|
|
27
|
+
*/
|
|
28
|
+
get(clazz) {
|
|
29
|
+
return statics.get(clazz);
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* Associates a static object with a given class. Can only be called once per class.
|
|
33
|
+
* The object is frozen upon registration to make it immutable.
|
|
34
|
+
*
|
|
35
|
+
* @param {function} clazz - The class constructor to associate with the static object.
|
|
36
|
+
* @param {object} obj - The static object to associate.
|
|
37
|
+
* @throws {TypeError} If statics have already been defined for the class.
|
|
38
|
+
*/
|
|
39
|
+
set(clazz, obj) {
|
|
40
|
+
if (statics.get(clazz)) {
|
|
41
|
+
throw new TypeError("The 'OwnStatics' can only be defined once for a class");
|
|
42
|
+
}
|
|
43
|
+
Object.freeze(obj);
|
|
44
|
+
statics.set(clazz, obj);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
return OwnStatics;
|
|
49
|
+
});
|
package/src/sap/ui/core/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 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.139.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
</jscoverage>
|
|
145
145
|
<!-- Thirdparty references -->
|
|
146
146
|
<thirdparty xmlns="http://www.sap.com/ui5/buildext/thirdparty" >
|
|
147
|
-
<lib name="jquery-3" displayName="jQuery 3" npmName="jquery" version="3.6.0" hash="
|
|
147
|
+
<lib name="jquery-3" displayName="jQuery 3" npmName="jquery" version="3.6.0" hash="dae961667d638591bd0b4717c1f8144b" homepage="https://jquery.com" id="73554900106100068050">
|
|
148
148
|
<license url="http://jQuery.org/license" type="MIT"/>
|
|
149
149
|
<copyright>OpenJS Foundation and other contributors</copyright>
|
|
150
150
|
<pattern>sap/ui/thirdparty/jquery.js</pattern>
|
|
@@ -380,6 +380,11 @@
|
|
|
380
380
|
<copyright>Isaac Z. Schlueter and Contributors</copyright>
|
|
381
381
|
<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>
|
|
382
382
|
</lib>
|
|
383
|
+
<lib name="ui5-webcomponents" displayName="UI5 Web Components" npmName="@ui5/webcomponents" version="2.11.0" homepage="https://github.com/SAP/ui5-webcomponents" id="73554900106100402961">
|
|
384
|
+
<license url="https://github.com/SAP/ui5-webcomponents/blob/main/LICENSE" type="Apache-2.0" />
|
|
385
|
+
<copyright>SAP SE (and OpenUI5 contributors)</copyright>
|
|
386
|
+
<pattern>../test/sap/ui/core/qunit/testdata/fastnavigation/webc/integration/**</pattern>
|
|
387
|
+
</lib>
|
|
383
388
|
<ignore>
|
|
384
389
|
<file pattern="sap/ui/thirdparty/RequestRecorder.js" />
|
|
385
390
|
<file pattern="sap/ui/thirdparty/sinon-ie.js" />
|
|
@@ -151,7 +151,7 @@ sap.ui.define([
|
|
|
151
151
|
function fnAddHTML (oBlockSection, sBlockedLayerId) {
|
|
152
152
|
var oContainer = document.createElement("div");
|
|
153
153
|
oContainer.id = sBlockedLayerId;
|
|
154
|
-
oContainer.
|
|
154
|
+
oContainer.classList.add("sapUiBlockLayer", "sapUiSkipFocusFail");
|
|
155
155
|
|
|
156
156
|
// Make the blockLayer tabbable
|
|
157
157
|
oContainer.setAttribute("tabindex", "0");
|
|
@@ -270,7 +270,7 @@ sap.ui.define([
|
|
|
270
270
|
var oBlockSpan = document.createElement("span");
|
|
271
271
|
|
|
272
272
|
oBlockSpan.setAttribute("tabindex", 0);
|
|
273
|
-
oBlockSpan.classList.add("sapUiBlockLayerTabbable");
|
|
273
|
+
oBlockSpan.classList.add("sapUiBlockLayerTabbable", "sapUiSkipFocusFail");
|
|
274
274
|
oBlockSpan.addEventListener('focusin', fnRedirectFocus);
|
|
275
275
|
|
|
276
276
|
return oBlockSpan;
|