@openui5/sap.ui.core 1.132.1 → 1.134.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/.dtsgenrc +5 -0
- package/.eslintrc.json +4 -0
- package/.reuse/dep5 +2 -9
- package/LICENSES/LicenseRef-Unicode-3.0.txt +39 -0
- package/THIRDPARTY.txt +45 -78
- 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 +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 +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +159 -12
- package/src/sap/base/util/JSTokenizer.js +25 -18
- package/src/sap/base/util/LoaderExtensions.js +2 -8
- package/src/sap/base/util/mixedFetch.js +0 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/base/util/syncFetch.js +0 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +3 -3
- 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 +14 -11
- 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/SyncPromise.js +136 -25
- package/src/sap/ui/core/.library +5 -10
- package/src/sap/ui/core/AppCacheBuster.js +4 -9
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- 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 +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 +3 -1
- 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 +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/IconPool.js +20 -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 +1 -1
- package/src/sap/ui/core/LocaleData.js +101 -79
- 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 +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 +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 +22 -3
- package/src/sap/ui/core/_IconRegistry.js +2 -0
- package/src/sap/ui/core/boot/_bootConfig.js +134 -105
- package/src/sap/ui/core/cldr/Unicode-Data-Files-LICENSE.txt +36 -24
- package/src/sap/ui/core/cldr/ar.json +106 -98
- package/src/sap/ui/core/cldr/ar_EG.json +106 -98
- package/src/sap/ui/core/cldr/ar_SA.json +106 -98
- package/src/sap/ui/core/cldr/bg.json +44 -38
- package/src/sap/ui/core/cldr/ca.json +65 -65
- package/src/sap/ui/core/cldr/cnr.json +182 -170
- package/src/sap/ui/core/cldr/cs.json +39 -31
- package/src/sap/ui/core/cldr/cy.json +319 -233
- package/src/sap/ui/core/cldr/da.json +36 -32
- package/src/sap/ui/core/cldr/de.json +134 -135
- package/src/sap/ui/core/cldr/de_AT.json +134 -135
- package/src/sap/ui/core/cldr/de_CH.json +135 -136
- package/src/sap/ui/core/cldr/el.json +44 -37
- package/src/sap/ui/core/cldr/el_CY.json +44 -37
- package/src/sap/ui/core/cldr/en.json +91 -53
- package/src/sap/ui/core/cldr/en_AU.json +108 -70
- package/src/sap/ui/core/cldr/en_GB.json +123 -85
- package/src/sap/ui/core/cldr/en_HK.json +102 -64
- package/src/sap/ui/core/cldr/en_IE.json +102 -64
- package/src/sap/ui/core/cldr/en_IN.json +207 -67
- package/src/sap/ui/core/cldr/en_NZ.json +102 -64
- package/src/sap/ui/core/cldr/en_PG.json +102 -64
- package/src/sap/ui/core/cldr/en_SG.json +102 -64
- package/src/sap/ui/core/cldr/en_ZA.json +106 -66
- package/src/sap/ui/core/cldr/es.json +43 -39
- package/src/sap/ui/core/cldr/es_AR.json +92 -64
- package/src/sap/ui/core/cldr/es_BO.json +92 -64
- package/src/sap/ui/core/cldr/es_CL.json +92 -64
- package/src/sap/ui/core/cldr/es_CO.json +92 -64
- package/src/sap/ui/core/cldr/es_MX.json +131 -83
- package/src/sap/ui/core/cldr/es_PE.json +69 -41
- package/src/sap/ui/core/cldr/es_UY.json +93 -65
- package/src/sap/ui/core/cldr/es_VE.json +92 -64
- package/src/sap/ui/core/cldr/et.json +60 -59
- package/src/sap/ui/core/cldr/fa.json +122 -116
- package/src/sap/ui/core/cldr/fi.json +186 -82
- package/src/sap/ui/core/cldr/fr.json +57 -56
- package/src/sap/ui/core/cldr/fr_BE.json +56 -55
- package/src/sap/ui/core/cldr/fr_CA.json +139 -89
- package/src/sap/ui/core/cldr/fr_CH.json +47 -46
- package/src/sap/ui/core/cldr/fr_LU.json +57 -56
- package/src/sap/ui/core/cldr/he.json +458 -381
- package/src/sap/ui/core/cldr/hi.json +204 -170
- package/src/sap/ui/core/cldr/hr.json +64 -57
- package/src/sap/ui/core/cldr/hu.json +145 -148
- package/src/sap/ui/core/cldr/id.json +72 -62
- package/src/sap/ui/core/cldr/it.json +76 -75
- package/src/sap/ui/core/cldr/it_CH.json +76 -75
- package/src/sap/ui/core/cldr/ja.json +62 -44
- package/src/sap/ui/core/cldr/kk.json +171 -146
- package/src/sap/ui/core/cldr/ko.json +91 -73
- package/src/sap/ui/core/cldr/lt.json +134 -135
- package/src/sap/ui/core/cldr/lv.json +119 -111
- package/src/sap/ui/core/cldr/mk.json +316 -314
- package/src/sap/ui/core/cldr/ms.json +91 -75
- package/src/sap/ui/core/cldr/nb.json +37 -37
- package/src/sap/ui/core/cldr/nl.json +45 -48
- package/src/sap/ui/core/cldr/nl_BE.json +45 -48
- package/src/sap/ui/core/cldr/pl.json +47 -42
- package/src/sap/ui/core/cldr/pt.json +129 -124
- package/src/sap/ui/core/cldr/pt_PT.json +43 -38
- package/src/sap/ui/core/cldr/ro.json +42 -37
- package/src/sap/ui/core/cldr/ru.json +59 -51
- package/src/sap/ui/core/cldr/ru_UA.json +59 -51
- package/src/sap/ui/core/cldr/sk.json +55 -46
- package/src/sap/ui/core/cldr/sl.json +45 -31
- package/src/sap/ui/core/cldr/sr.json +189 -177
- package/src/sap/ui/core/cldr/sr_Latn.json +189 -177
- package/src/sap/ui/core/cldr/sv.json +42 -41
- package/src/sap/ui/core/cldr/th.json +104 -90
- package/src/sap/ui/core/cldr/tr.json +40 -39
- package/src/sap/ui/core/cldr/uk.json +143 -123
- package/src/sap/ui/core/cldr/vi.json +136 -133
- package/src/sap/ui/core/cldr/zh_CN.json +47 -41
- package/src/sap/ui/core/cldr/zh_HK.json +47 -41
- package/src/sap/ui/core/cldr/zh_SG.json +47 -41
- package/src/sap/ui/core/cldr/zh_TW.json +163 -160
- package/src/sap/ui/core/date/Buddhist.js +2 -2
- package/src/sap/ui/core/date/CalendarUtils.js +4 -4
- package/src/sap/ui/core/date/Gregorian.js +2 -2
- package/src/sap/ui/core/date/Islamic.js +2 -2
- package/src/sap/ui/core/date/Japanese.js +2 -2
- package/src/sap/ui/core/date/Persian.js +2 -2
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/date/UniversalDate.js +12 -12
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +7 -5
- package/src/sap/ui/core/dnd/DragAndDrop.js +14 -7
- 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/fieldhelp/FieldHelp.js +355 -53
- package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +10 -8
- package/src/sap/ui/core/format/DateFormat.js +18 -16
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +346 -364
- 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/library.js +36 -5
- 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/MessageMixin.js +12 -4
- 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_ko.properties +1 -1
- package/src/sap/ui/core/messagebundle_sv.properties +1 -1
- 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/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/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/theming/Parameters.js +1 -6
- package/src/sap/ui/core/theming/ThemeManager.js +84 -33
- 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 +5 -2
- 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/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientTreeBinding.js +5 -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/ManagedObjectBindingSupport.js +21 -12
- 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/analytics/AnalyticalBinding.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalTreeBindingAdapter.js +51 -13
- package/src/sap/ui/model/base/ManagedObjectModel.js +5 -2
- 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 +46 -14
- package/src/sap/ui/model/odata/ODataMetadata.js +2 -2
- package/src/sap/ui/model/odata/ODataModel.js +2 -2
- package/src/sap/ui/model/odata/ODataUtils.js +2 -2
- package/src/sap/ui/model/odata/UpdateMethod.js +18 -1
- package/src/sap/ui/model/odata/_AnnotationHelperExpression.js +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +4 -3
- package/src/sap/ui/model/odata/v2/ODataListBinding.js +2 -2
- package/src/sap/ui/model/odata/v2/ODataModel.js +63 -37
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +52 -23
- package/src/sap/ui/model/odata/v4/ODataBinding.js +9 -6
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +5 -4
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +137 -56
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +19 -8
- package/src/sap/ui/model/odata/v4/ODataModel.js +54 -33
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +10 -3
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +3 -4
- package/src/sap/ui/model/odata/v4/ODataUtils.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +33 -9
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +13 -16
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +334 -139
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +20 -0
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +26 -4
- 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/BranchTracking.js +1 -1
- package/src/sap/ui/test/TestUtils.js +82 -14
- package/src/sap/ui/test/actions/EnterText.js +2 -20
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +12 -3
- package/src/sap/ui/test/starter/_utils.js +0 -1
- package/src/sap/ui/thirdparty/jquery-compat.js +1 -1
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader.js +4 -1
- package/test/sap/ui/qunit/TestRunner.js +10 -11
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
- package/LICENSES/Unicode-DFS-2015.txt +0 -51
|
@@ -264,7 +264,7 @@ sap.ui.define([
|
|
|
264
264
|
*
|
|
265
265
|
* @extends sap.ui.base.EventProvider
|
|
266
266
|
* @author SAP SE
|
|
267
|
-
* @version 1.
|
|
267
|
+
* @version 1.134.0
|
|
268
268
|
* @public
|
|
269
269
|
* @alias sap.ui.base.ManagedObject
|
|
270
270
|
*/
|
|
@@ -3360,19 +3360,22 @@ sap.ui.define([
|
|
|
3360
3360
|
* of the specified types from the binding parts.
|
|
3361
3361
|
*
|
|
3362
3362
|
* <b>Note</b>: use this flag only when using multiple bindings.
|
|
3363
|
-
* @property {sap.ui.model.Type|string} [type]
|
|
3364
|
-
* A type object or the name of a type class to create
|
|
3365
|
-
*
|
|
3366
|
-
*
|
|
3363
|
+
* @property {sap.ui.model.Type|string|function(new: sap.ui.model.Type, object=, object=)} [type]
|
|
3364
|
+
* A type object, or the name or constructor of a type class which is used to create a type object.
|
|
3365
|
+
*
|
|
3366
|
+
* The type will be used for converting model data to a property value (aka "formatting") and vice
|
|
3367
|
+
* versa (in binding mode <code>TwoWay</code>, aka "parsing")
|
|
3368
|
+
* @property {object} [formatOptions]
|
|
3369
|
+
* Format options to be used when creating the type instance; the structure of the options depends on
|
|
3370
|
+
* the given type class. If a type object is given as <code>type</code>, it won't be modified - the
|
|
3371
|
+
* <code>formatOptions<code> will be ignored
|
|
3372
|
+
* @property {object} [constraints]
|
|
3373
|
+
* Additional constraints to be used when constructing a type instance. Their structure depends on the
|
|
3374
|
+
* given type class. If a type object is given as <code>type</code>, it won't be modified - the
|
|
3375
|
+
* <code>constraints</code> will be ignored
|
|
3367
3376
|
* @property {string} [targetType]
|
|
3368
3377
|
* Target type to be used by the type when formatting model data, for example "boolean"
|
|
3369
3378
|
* or "string" or "any"; defaults to the property's type
|
|
3370
|
-
* @property {object} [formatOptions]
|
|
3371
|
-
* Format options to be used for the type; only taken into account when the type is
|
|
3372
|
-
* specified by its name - a given type object won't be modified
|
|
3373
|
-
* @property {object} [constraints]
|
|
3374
|
-
* Additional constraints to be used when constructing a type object from a type name,
|
|
3375
|
-
* ignored when a type object is given
|
|
3376
3379
|
* @property {sap.ui.model.BindingMode} [mode=Default]
|
|
3377
3380
|
* Binding mode to be used for this property binding (e.g. one way)
|
|
3378
3381
|
* @property {object} [parameters=null]
|
|
@@ -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.134.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.
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
sap.ui.define([], function () {
|
|
8
8
|
"use strict";
|
|
9
9
|
|
|
10
|
-
var oResolved = new SyncPromise(function (resolve,
|
|
10
|
+
var oResolved = new SyncPromise(function (resolve, _reject) {
|
|
11
11
|
resolve();
|
|
12
12
|
}), // a SyncPromise which is resolved w/o arguments
|
|
13
|
-
oResolvedNull = new SyncPromise(function (resolve,
|
|
13
|
+
oResolvedNull = new SyncPromise(function (resolve, _reject) {
|
|
14
14
|
resolve(null);
|
|
15
15
|
}); // a SyncPromise which is resolved w/ null
|
|
16
16
|
|
|
@@ -66,7 +66,7 @@ sap.ui.define([], function () {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
/*
|
|
70
70
|
* Tells whether the given value is a function or object with a "then" property. These are the
|
|
71
71
|
* candidates for "thenables".
|
|
72
72
|
*
|
|
@@ -81,20 +81,24 @@ sap.ui.define([], function () {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Constructor for a {@link sap.ui.base.SyncPromise} which may wrap a thenable
|
|
85
|
-
*
|
|
86
|
-
* the result.
|
|
87
|
-
*
|
|
88
|
-
* Implements https://promisesaplus.com except "2.2.4. onFulfilled or onRejected must not be
|
|
89
|
-
* called until the execution context stack contains only platform code."
|
|
90
|
-
*
|
|
91
|
-
* @param {function} fnExecutor
|
|
92
|
-
* A function that is passed with the arguments resolve and reject...
|
|
84
|
+
* Constructor for a {@link sap.ui.base.SyncPromise} which may wrap a thenable in order to
|
|
85
|
+
* observe settlement and later provide synchronous access to the result.
|
|
93
86
|
*
|
|
94
87
|
* @alias sap.ui.base.SyncPromise
|
|
88
|
+
* @author SAP SE
|
|
95
89
|
* @class
|
|
90
|
+
* @classdesc
|
|
91
|
+
* A wrapper around a thenable (for example, a native <code>Promise</code>) in order to observe
|
|
92
|
+
* settlement and later provide synchronous access to the result.
|
|
93
|
+
*
|
|
94
|
+
* Implements <a href="https://promisesaplus.com">Promises/A+</a> except "2.2.4. onFulfilled or
|
|
95
|
+
* onRejected must not be called until the execution context stack contains only platform code."
|
|
96
96
|
* @private
|
|
97
|
-
* @
|
|
97
|
+
* @since 1.53.0
|
|
98
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
99
|
+
*
|
|
100
|
+
* @param {function} fnExecutor
|
|
101
|
+
* A function that is passed with the arguments resolve and reject...
|
|
98
102
|
*/
|
|
99
103
|
function SyncPromise(fnExecutor) {
|
|
100
104
|
var bCaught = false,
|
|
@@ -137,14 +141,14 @@ sap.ui.define([], function () {
|
|
|
137
141
|
if (vResult0.isFulfilled()) {
|
|
138
142
|
resolve(vResult0.getResult());
|
|
139
143
|
return;
|
|
140
|
-
}
|
|
144
|
+
}
|
|
145
|
+
if (vResult0.isRejected()) {
|
|
141
146
|
vResult0.caught(); // might have been uncaught so far
|
|
142
147
|
reject(vResult0.getResult());
|
|
143
148
|
return;
|
|
144
|
-
} else {
|
|
145
|
-
vResult0.caught(); // make sure it will never count as uncaught
|
|
146
|
-
vResult0 = vResult0.getResult(); // unwrap to access native thenable
|
|
147
149
|
}
|
|
150
|
+
vResult0.caught(); // make sure it will never count as uncaught
|
|
151
|
+
vResult0 = vResult0.getResult(); // unwrap to access native thenable
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
iState = 0;
|
|
@@ -176,6 +180,10 @@ sap.ui.define([], function () {
|
|
|
176
180
|
* {@link #catch}, but with less overhead. Use it together with {@link #isRejected} and
|
|
177
181
|
* {@link #getResult} in cases where the rejection is turned into <code>throw</code>; or
|
|
178
182
|
* simply use {@link #unwrap} instead.
|
|
183
|
+
*
|
|
184
|
+
* @private
|
|
185
|
+
* @since 1.53.0
|
|
186
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
179
187
|
*/
|
|
180
188
|
this.caught = function () {
|
|
181
189
|
if (!bCaught) {
|
|
@@ -192,6 +200,10 @@ sap.ui.define([], function () {
|
|
|
192
200
|
* @returns {any}
|
|
193
201
|
* The result in case this {@link sap.ui.base.SyncPromise} is already fulfilled, the
|
|
194
202
|
* reason if it is already rejected, or the wrapped thenable if it is still pending
|
|
203
|
+
*
|
|
204
|
+
* @private
|
|
205
|
+
* @since 1.53.0
|
|
206
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
195
207
|
*/
|
|
196
208
|
this.getResult = function () {
|
|
197
209
|
return vResult;
|
|
@@ -202,6 +214,10 @@ sap.ui.define([], function () {
|
|
|
202
214
|
*
|
|
203
215
|
* @returns {boolean}
|
|
204
216
|
* Whether this {@link sap.ui.base.SyncPromise} is fulfilled
|
|
217
|
+
*
|
|
218
|
+
* @private
|
|
219
|
+
* @since 1.53.0
|
|
220
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
205
221
|
*/
|
|
206
222
|
this.isFulfilled = function () {
|
|
207
223
|
return iState === 1;
|
|
@@ -212,6 +228,10 @@ sap.ui.define([], function () {
|
|
|
212
228
|
*
|
|
213
229
|
* @returns {boolean}
|
|
214
230
|
* Whether this {@link sap.ui.base.SyncPromise} is still pending
|
|
231
|
+
*
|
|
232
|
+
* @private
|
|
233
|
+
* @since 1.53.0
|
|
234
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
215
235
|
*/
|
|
216
236
|
this.isPending = function () {
|
|
217
237
|
return !iState;
|
|
@@ -222,6 +242,10 @@ sap.ui.define([], function () {
|
|
|
222
242
|
*
|
|
223
243
|
* @returns {boolean}
|
|
224
244
|
* Whether this {@link sap.ui.base.SyncPromise} is rejected
|
|
245
|
+
*
|
|
246
|
+
* @private
|
|
247
|
+
* @since 1.53.0
|
|
248
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
225
249
|
*/
|
|
226
250
|
this.isRejected = function () {
|
|
227
251
|
return iState === -1;
|
|
@@ -231,9 +255,9 @@ sap.ui.define([], function () {
|
|
|
231
255
|
|
|
232
256
|
if (iState === undefined) {
|
|
233
257
|
// make sure we wrap a native Promise while pending
|
|
234
|
-
vResult = new Promise(function (
|
|
235
|
-
fnResolve =
|
|
236
|
-
fnReject =
|
|
258
|
+
vResult = new Promise(function (resolve0, reject0) {
|
|
259
|
+
fnResolve = resolve0;
|
|
260
|
+
fnReject = reject0;
|
|
237
261
|
});
|
|
238
262
|
vResult.catch(function () {}); // avoid "Uncaught (in promise)"
|
|
239
263
|
}
|
|
@@ -249,7 +273,10 @@ sap.ui.define([], function () {
|
|
|
249
273
|
* A new {@link sap.ui.base.SyncPromise}, or <code>this</code> in case it is settled and no
|
|
250
274
|
* corresponding callback function is given
|
|
251
275
|
*
|
|
276
|
+
* @private
|
|
252
277
|
* @see #then
|
|
278
|
+
* @since 1.53.0
|
|
279
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
253
280
|
*/
|
|
254
281
|
SyncPromise.prototype.catch = function (fnOnRejected) {
|
|
255
282
|
return this.then(undefined, fnOnRejected);
|
|
@@ -265,7 +292,10 @@ sap.ui.define([], function () {
|
|
|
265
292
|
* A new {@link sap.ui.base.SyncPromise}, or <code>this</code> in case it is settled and no
|
|
266
293
|
* callback function is given
|
|
267
294
|
*
|
|
295
|
+
* @private
|
|
268
296
|
* @see #then
|
|
297
|
+
* @since 1.59.0
|
|
298
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
269
299
|
*/
|
|
270
300
|
SyncPromise.prototype.finally = function (fnOnFinally) {
|
|
271
301
|
if (typeof fnOnFinally === "function") {
|
|
@@ -297,6 +327,10 @@ sap.ui.define([], function () {
|
|
|
297
327
|
* @returns {sap.ui.base.SyncPromise}
|
|
298
328
|
* A new {@link sap.ui.base.SyncPromise}, or <code>this</code> in case it is settled and no
|
|
299
329
|
* corresponding callback function is given
|
|
330
|
+
*
|
|
331
|
+
* @private
|
|
332
|
+
* @since 1.53.0
|
|
333
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
300
334
|
*/
|
|
301
335
|
SyncPromise.prototype.then = function (fnOnFulfilled, fnOnRejected) {
|
|
302
336
|
var fnCallback = this.isFulfilled() ? fnOnFulfilled : fnOnRejected,
|
|
@@ -310,7 +344,7 @@ sap.ui.define([], function () {
|
|
|
310
344
|
|
|
311
345
|
if (!bPending) {
|
|
312
346
|
return bCallbackIsFunction
|
|
313
|
-
? new SyncPromise(function (resolve,
|
|
347
|
+
? new SyncPromise(function (resolve, _reject) {
|
|
314
348
|
resolve(fnCallback(that.getResult())); // Note: try/catch is present in c'tor!
|
|
315
349
|
})
|
|
316
350
|
: this;
|
|
@@ -324,6 +358,10 @@ sap.ui.define([], function () {
|
|
|
324
358
|
* of the reason is returned.
|
|
325
359
|
*
|
|
326
360
|
* @return {string} A string description of this {@link sap.ui.base.SyncPromise}
|
|
361
|
+
*
|
|
362
|
+
* @private
|
|
363
|
+
* @since 1.53.0
|
|
364
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
327
365
|
*/
|
|
328
366
|
SyncPromise.prototype.toString = function () {
|
|
329
367
|
if (this.isPending()) {
|
|
@@ -344,7 +382,10 @@ sap.ui.define([], function () {
|
|
|
344
382
|
* @throws {any}
|
|
345
383
|
* The reason if this promise is already rejected
|
|
346
384
|
*
|
|
385
|
+
* @private
|
|
347
386
|
* @see #getResult
|
|
387
|
+
* @since 1.57.0
|
|
388
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
348
389
|
*/
|
|
349
390
|
SyncPromise.prototype.unwrap = function () {
|
|
350
391
|
this.caught(); // make sure it will never count as uncaught
|
|
@@ -363,6 +404,10 @@ sap.ui.define([], function () {
|
|
|
363
404
|
* which is supported by <code>Array.prototype.slice</code>
|
|
364
405
|
* @returns {sap.ui.base.SyncPromise}
|
|
365
406
|
* The {@link sap.ui.base.SyncPromise}
|
|
407
|
+
*
|
|
408
|
+
* @private
|
|
409
|
+
* @since 1.53.0
|
|
410
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
366
411
|
*/
|
|
367
412
|
SyncPromise.all = function (aValues) {
|
|
368
413
|
return new SyncPromise(function (resolve, reject) {
|
|
@@ -398,14 +443,17 @@ sap.ui.define([], function () {
|
|
|
398
443
|
|
|
399
444
|
/**
|
|
400
445
|
* Tells whether the given value is a function or object with a "then" property which can be
|
|
401
|
-
* retrieved without an exception being thrown and which is a function
|
|
446
|
+
* retrieved without an exception being thrown and which is a function; see
|
|
447
|
+
* <a href="https://promisesaplus.com">step 2.3.3.</a>.
|
|
402
448
|
*
|
|
403
449
|
* @param {any} vValue
|
|
404
450
|
* Any value
|
|
405
451
|
* @returns {boolean}
|
|
406
452
|
* See above
|
|
407
453
|
*
|
|
408
|
-
* @
|
|
454
|
+
* @private
|
|
455
|
+
* @since 1.72.0
|
|
456
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
409
457
|
*/
|
|
410
458
|
SyncPromise.isThenable = function (vValue) {
|
|
411
459
|
try {
|
|
@@ -431,6 +479,10 @@ sap.ui.define([], function () {
|
|
|
431
479
|
* @param {boolean} bCaught
|
|
432
480
|
* <code>false</code> if the {@link sap.ui.base.SyncPromise} instance just became "uncaught",
|
|
433
481
|
* <code>true</code> if it just became "caught"
|
|
482
|
+
*
|
|
483
|
+
* @private
|
|
484
|
+
* @since 1.53.0
|
|
485
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
434
486
|
*/
|
|
435
487
|
|
|
436
488
|
/**
|
|
@@ -440,9 +492,13 @@ sap.ui.define([], function () {
|
|
|
440
492
|
* The reason for rejection
|
|
441
493
|
* @returns {sap.ui.base.SyncPromise}
|
|
442
494
|
* The {@link sap.ui.base.SyncPromise}
|
|
495
|
+
*
|
|
496
|
+
* @private
|
|
497
|
+
* @since 1.53.0
|
|
498
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
443
499
|
*/
|
|
444
500
|
SyncPromise.reject = function (vReason) {
|
|
445
|
-
return new SyncPromise(function (
|
|
501
|
+
return new SyncPromise(function (_resolve, reject) {
|
|
446
502
|
reject(vReason);
|
|
447
503
|
});
|
|
448
504
|
};
|
|
@@ -457,6 +513,10 @@ sap.ui.define([], function () {
|
|
|
457
513
|
* The thenable to wrap or the result to synchronously fulfill with
|
|
458
514
|
* @returns {sap.ui.base.SyncPromise}
|
|
459
515
|
* The {@link sap.ui.base.SyncPromise}
|
|
516
|
+
*
|
|
517
|
+
* @private
|
|
518
|
+
* @since 1.53.0
|
|
519
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
460
520
|
*/
|
|
461
521
|
SyncPromise.resolve = function (vResult) {
|
|
462
522
|
if (vResult === undefined) {
|
|
@@ -469,10 +529,61 @@ sap.ui.define([], function () {
|
|
|
469
529
|
return vResult;
|
|
470
530
|
}
|
|
471
531
|
|
|
472
|
-
return new SyncPromise(function (resolve,
|
|
532
|
+
return new SyncPromise(function (resolve, _reject) {
|
|
473
533
|
resolve(vResult);
|
|
474
534
|
});
|
|
475
535
|
};
|
|
476
536
|
|
|
537
|
+
/**
|
|
538
|
+
* An object holding a new {@link sap.ui.base.SyncPromise} object and two functions to resolve
|
|
539
|
+
* or reject it.
|
|
540
|
+
*
|
|
541
|
+
* @typedef {object} sap.ui.base.SyncPromise.WithResolvers
|
|
542
|
+
* @property {sap.ui.base.SyncPromise} promise - A promise object
|
|
543
|
+
* @property {function} resolve - A function that resolves the promise
|
|
544
|
+
* @property {function} reject - A function that rejects the promise
|
|
545
|
+
*
|
|
546
|
+
* @private
|
|
547
|
+
* @see sap.ui.base.SyncPromise.withResolvers
|
|
548
|
+
* @since 1.133.0
|
|
549
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
550
|
+
*/
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Returns an object holding a new {@link sap.ui.base.SyncPromise} object and two functions to
|
|
554
|
+
* resolve or reject it.
|
|
555
|
+
*
|
|
556
|
+
* @returns {sap.ui.base.SyncPromise.WithResolvers}
|
|
557
|
+
* An object holding a new promise object and two functions to resolve or reject it
|
|
558
|
+
*
|
|
559
|
+
* @private
|
|
560
|
+
*/
|
|
561
|
+
SyncPromise._withResolvers = function () {
|
|
562
|
+
var fnReject, fnResolve;
|
|
563
|
+
|
|
564
|
+
return {
|
|
565
|
+
promise : new SyncPromise((resolve, reject) => {
|
|
566
|
+
fnResolve = resolve;
|
|
567
|
+
fnReject = reject;
|
|
568
|
+
}),
|
|
569
|
+
resolve : fnResolve,
|
|
570
|
+
reject : fnReject
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Returns an object holding a new {@link sap.ui.base.SyncPromise} object and two functions to
|
|
576
|
+
* resolve or reject it.
|
|
577
|
+
*
|
|
578
|
+
* @returns {sap.ui.base.SyncPromise.WithResolvers}
|
|
579
|
+
* An object holding a new promise object and two functions to resolve or reject it
|
|
580
|
+
*
|
|
581
|
+
* @function
|
|
582
|
+
* @private
|
|
583
|
+
* @since 1.133.0
|
|
584
|
+
* @ui5-restricted sap.ui.core (Lib),sap.m,sap.ui.comp,sap.ui.dt,sap.ui.mdc
|
|
585
|
+
*/
|
|
586
|
+
SyncPromise.withResolvers = Promise.withResolvers ?? SyncPromise._withResolvers;
|
|
587
|
+
|
|
477
588
|
return SyncPromise;
|
|
478
589
|
}, /* bExport= */ true);
|
package/src/sap/ui/core/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-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.134.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
<pattern>../test/sap/ui/core/qunit/thirdparty/qunit-2.18.css</pattern>
|
|
198
198
|
<pattern>../test/sap/ui/core/qunit/thirdparty/qunit-2.18.js</pattern>
|
|
199
199
|
</lib>
|
|
200
|
-
<lib name="jquery-migrate" displayName="jQuery-Migrate" npmName="jquery-migrate" version="3.3.1" hash="
|
|
200
|
+
<lib name="jquery-migrate" displayName="jQuery-Migrate" npmName="jquery-migrate" version="3.3.1" hash="f0db1b18e75cbe903cedfdcf5fc4c706" homepage="https://github.com/jquery/jquery-migrate/" id="73555000106100043843">
|
|
201
201
|
<license url="https://github.com/jquery/jquery-migrate/blob/3.3.1/LICENSE.txt" type="MIT" />
|
|
202
202
|
<copyright>OpenJS Foundation and other contributors</copyright>
|
|
203
203
|
<pattern>sap/ui/thirdparty/jquery-compat.js</pattern>
|
|
@@ -274,9 +274,9 @@
|
|
|
274
274
|
<copyright>Google Inc.</copyright>
|
|
275
275
|
<pattern>sap/ui/thirdparty/caja-html-sanitizer.js</pattern>
|
|
276
276
|
</lib>
|
|
277
|
-
<lib name="cldr" displayName="Unicode Common Locale Data Repository" npmName="cldr-core" version="
|
|
278
|
-
<license url="http://www.unicode.org/copyright.html" type="Unicode-
|
|
279
|
-
<copyright>1991-
|
|
277
|
+
<lib name="cldr" displayName="Unicode Common Locale Data Repository" npmName="cldr-core" version="46.1.0" hash="9223f0ba34bea363c9b8b212fffad1bd" homepage="http://cldr.unicode.org/" id="73555000106100189306">
|
|
278
|
+
<license url="http://www.unicode.org/copyright.html" type="LicenseRef-Unicode-3.0" />
|
|
279
|
+
<copyright>1991-2024 Unicode, Inc.</copyright>
|
|
280
280
|
<pattern>sap/ui/core/cldr/*</pattern>
|
|
281
281
|
</lib>
|
|
282
282
|
<lib name="mobiscroll" displayName="MobiScroll" npmName="n/a" version="2.9.0" hash="2a76d1439bbc5afaf10324b2108e4d9c" homepage="http://mobiscroll.com" id="73554900106100005562">
|
|
@@ -407,11 +407,6 @@
|
|
|
407
407
|
<copyright>Isaac Z. Schlueter and Contributors</copyright>
|
|
408
408
|
<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>
|
|
409
409
|
</lib>
|
|
410
|
-
<lib name="tzdata" displayName="Time Zone Database" npmName="n/a" version="2023d" homepage="http://www.iana.org/time-zones" id="73555000106100181707">
|
|
411
|
-
<license url="https://github.com/eggert/tz/blob/main/LICENSE" type="LicenseRef-tzdata-PublicDomain" />
|
|
412
|
-
<copyright>Arthur David Olson, Paul Eggert and other contributors</copyright>
|
|
413
|
-
<pattern partial="true" otherContent="SAP" explanation="_timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database">../test/sap/ui/core/qunit/i18n/helper/_timezones.js</pattern>
|
|
414
|
-
</lib>
|
|
415
410
|
<ignore>
|
|
416
411
|
<file pattern="sap/ui/thirdparty/RequestRecorder.js" />
|
|
417
412
|
<file pattern="sap/ui/thirdparty/sinon-ie.js" />
|
|
@@ -16,11 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
'sap/base/Log',
|
|
17
17
|
'sap/base/i18n/Localization',
|
|
18
18
|
'sap/base/util/extend',
|
|
19
|
-
'sap/base/util/fetch',
|
|
20
19
|
'sap/base/util/mixedFetch',
|
|
21
20
|
'sap/base/strings/escapeRegExp',
|
|
22
21
|
'sap/ui/core/_IconRegistry'
|
|
23
|
-
], function(ManagedObject, URI, BaseConfig, Log, Localization, extend,
|
|
22
|
+
], function(ManagedObject, URI, BaseConfig, Log, Localization, extend, mixedFetch, escapeRegExp, _IconRegistry) {
|
|
24
23
|
"use strict";
|
|
25
24
|
|
|
26
25
|
/*
|
|
@@ -166,7 +165,7 @@ sap.ui.define([
|
|
|
166
165
|
oInit = {
|
|
167
166
|
body: sContent.join("\n"),
|
|
168
167
|
headers: {
|
|
169
|
-
"Accept":
|
|
168
|
+
"Accept": mixedFetch.ContentTypes.JSON,
|
|
170
169
|
"Content-Type": "text/plain"
|
|
171
170
|
},
|
|
172
171
|
mode: "POST"
|
|
@@ -207,7 +206,7 @@ sap.ui.define([
|
|
|
207
206
|
// configure request; check how to execute the request (sync|async)
|
|
208
207
|
oInit = {
|
|
209
208
|
headers: {
|
|
210
|
-
Accept:
|
|
209
|
+
Accept: mixedFetch.ContentTypes.JSON
|
|
211
210
|
},
|
|
212
211
|
mode: "POST"
|
|
213
212
|
};
|
|
@@ -259,11 +258,7 @@ sap.ui.define([
|
|
|
259
258
|
// load it
|
|
260
259
|
Log.info("Loading AppCacheBuster index file from: \"" + sUrl + "\".");
|
|
261
260
|
|
|
262
|
-
|
|
263
|
-
* @deprecated As of Version 1.120
|
|
264
|
-
*/
|
|
265
|
-
fetch = mixedFetch ? mixedFetch : fetch;
|
|
266
|
-
fetch(sUrl, oInit, !bAsync)
|
|
261
|
+
mixedFetch(sUrl, oInit, !bAsync)
|
|
267
262
|
.then(function(oResponse) {
|
|
268
263
|
if (oResponse.ok) {
|
|
269
264
|
return oResponse.json();
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
* @extends sap.ui.core.Element
|
|
85
85
|
* @abstract
|
|
86
86
|
* @author SAP SE
|
|
87
|
-
* @version 1.
|
|
87
|
+
* @version 1.134.0
|
|
88
88
|
* @alias sap.ui.core.Control
|
|
89
89
|
*/
|
|
90
90
|
var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
|
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
* @private
|
|
119
119
|
* @ui5-restricted sap.ui.core, sap.ui.test
|
|
120
120
|
*/
|
|
121
|
-
const sVersion = "1.
|
|
121
|
+
const sVersion = "1.134.0";
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The buildinfo.
|
|
@@ -443,7 +443,7 @@ sap.ui.define([
|
|
|
443
443
|
* @extends sap.ui.base.Object
|
|
444
444
|
* @final
|
|
445
445
|
* @author SAP SE
|
|
446
|
-
* @version 1.
|
|
446
|
+
* @version 1.134.0
|
|
447
447
|
* @alias sap.ui.core.Core
|
|
448
448
|
* @public
|
|
449
449
|
* @hideconstructor
|
|
@@ -140,7 +140,7 @@ sap.ui.define([
|
|
|
140
140
|
*
|
|
141
141
|
* @extends sap.ui.base.ManagedObject
|
|
142
142
|
* @author SAP SE
|
|
143
|
-
* @version 1.
|
|
143
|
+
* @version 1.134.0
|
|
144
144
|
* @public
|
|
145
145
|
* @alias sap.ui.core.Element
|
|
146
146
|
*/
|
|
@@ -183,6 +183,8 @@ sap.ui.define([
|
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Custom Data, a data structure like a map containing arbitrary key value pairs.
|
|
186
|
+
*
|
|
187
|
+
* @default sap/ui/core/CustomData
|
|
186
188
|
*/
|
|
187
189
|
customData : {type : "sap.ui.core.CustomData", multiple : true, singularName : "customData"},
|
|
188
190
|
|
|
@@ -43,7 +43,7 @@ sap.ui.define(["./FocusMode"], function(FocusMode) {
|
|
|
43
43
|
*
|
|
44
44
|
* @param {boolean} [bDefault=true] Value that should be used as default value for the enhancement of the control.
|
|
45
45
|
* @param {boolean} [bLegacy=false] Whether the introduced property should use the old name <code>Enabled</code>.
|
|
46
|
-
* @version 1.
|
|
46
|
+
* @version 1.134.0
|
|
47
47
|
* @public
|
|
48
48
|
* @class
|
|
49
49
|
* @alias sap.ui.core.EnabledPropagator
|