@openui5/sap.ui.core 1.116.0 → 1.117.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 +1 -22
- 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 +4 -4
- package/src/sap/base/Eventing.js +5 -6
- package/src/sap/base/config/MemoryConfigurationProvider.js +10 -1
- package/src/sap/base/config.js +3 -2
- package/src/sap/base/i18n/Formatting.js +30 -32
- package/src/sap/base/i18n/LanguageTag.js +2 -2
- package/src/sap/base/i18n/Localization.js +19 -20
- package/src/sap/base/i18n/date/CalendarType.js +1 -1
- package/src/sap/base/i18n/date/CalendarWeekNumbering.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/JSTokenizer.js +1 -1
- package/src/sap/base/util/fetch.js +4 -4
- package/src/sap/base/util/mixedFetch.js +2 -2
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/base/util/syncFetch.js +2 -2
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +4 -4
- package/src/sap/ui/base/Event.js +6 -4
- 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 +2 -4
- package/src/sap/ui/base/ManagedObjectMetadata.js +4 -6
- 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/core/.library +2 -2
- package/src/sap/ui/core/AnimationMode.js +1 -1
- 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/ConfigTest.js +17 -0
- package/src/sap/ui/core/Configuration.js +2 -14
- package/src/sap/ui/core/Control.js +4 -1
- package/src/sap/ui/core/ControlBehavior.js +2 -2
- package/src/sap/ui/core/Core.js +3 -1
- 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 +1 -1
- package/src/sap/ui/core/ElementMetadata.js +2 -4
- 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 +1 -2
- 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 +17 -16
- 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 +5 -2
- package/src/sap/ui/core/LocaleData.js +12 -4
- package/src/sap/ui/core/Manifest.js +5 -5
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +37 -50
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.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/Shortcut.js +11 -9
- package/src/sap/ui/core/StaticArea.js +1 -1
- package/src/sap/ui/core/Theming.js +16 -9
- 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 +27 -5
- package/src/sap/ui/core/_IconRegistry.js +82 -11
- package/src/sap/ui/core/boot/_bootConfig.js +137 -0
- package/src/sap/ui/core/boot/_runBoot.js +16 -0
- package/src/sap/ui/core/boot/initDOM.js +96 -0
- package/src/sap/ui/core/boot/loadCalendar.js +50 -0
- package/src/sap/ui/core/boot/loadManifest.js +55 -0
- package/src/sap/ui/core/boot/loadModules.js +80 -0
- package/src/sap/ui/core/boot/manifest.json +11 -0
- package/src/sap/ui/core/boot/onInit.js +44 -0
- package/src/sap/ui/core/boot.js +107 -0
- package/src/sap/ui/core/date/UI5Date.js +9 -3
- 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/DateFormat.js +13 -12
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +32 -6
- 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 +6 -5
- 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_ar.properties +57 -55
- package/src/sap/ui/core/messagebundle_bg.properties +57 -55
- package/src/sap/ui/core/messagebundle_ca.properties +30 -28
- package/src/sap/ui/core/messagebundle_cs.properties +43 -41
- package/src/sap/ui/core/messagebundle_cy.properties +58 -56
- package/src/sap/ui/core/messagebundle_da.properties +56 -54
- package/src/sap/ui/core/messagebundle_de.properties +58 -56
- package/src/sap/ui/core/messagebundle_el.properties +47 -45
- package/src/sap/ui/core/messagebundle_en.properties +58 -56
- package/src/sap/ui/core/messagebundle_en_GB.properties +58 -56
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +3 -0
- package/src/sap/ui/core/messagebundle_es.properties +47 -45
- package/src/sap/ui/core/messagebundle_es_MX.properties +57 -55
- package/src/sap/ui/core/messagebundle_et.properties +54 -52
- package/src/sap/ui/core/messagebundle_fi.properties +51 -49
- package/src/sap/ui/core/messagebundle_fr.properties +36 -34
- package/src/sap/ui/core/messagebundle_fr_CA.properties +21 -19
- package/src/sap/ui/core/messagebundle_hi.properties +42 -40
- package/src/sap/ui/core/messagebundle_hr.properties +57 -55
- package/src/sap/ui/core/messagebundle_hu.properties +58 -56
- package/src/sap/ui/core/messagebundle_id.properties +58 -56
- package/src/sap/ui/core/messagebundle_it.properties +59 -57
- package/src/sap/ui/core/messagebundle_iw.properties +58 -56
- package/src/sap/ui/core/messagebundle_ja.properties +50 -48
- package/src/sap/ui/core/messagebundle_kk.properties +43 -41
- package/src/sap/ui/core/messagebundle_ko.properties +19 -17
- package/src/sap/ui/core/messagebundle_lt.properties +58 -56
- package/src/sap/ui/core/messagebundle_lv.properties +58 -56
- package/src/sap/ui/core/messagebundle_ms.properties +58 -56
- package/src/sap/ui/core/messagebundle_nl.properties +57 -55
- package/src/sap/ui/core/messagebundle_no.properties +55 -53
- package/src/sap/ui/core/messagebundle_pl.properties +55 -53
- package/src/sap/ui/core/messagebundle_pt.properties +57 -55
- package/src/sap/ui/core/messagebundle_pt_PT.properties +57 -55
- package/src/sap/ui/core/messagebundle_ro.properties +58 -56
- package/src/sap/ui/core/messagebundle_ru.properties +57 -55
- package/src/sap/ui/core/messagebundle_sh.properties +58 -56
- package/src/sap/ui/core/messagebundle_sk.properties +57 -55
- package/src/sap/ui/core/messagebundle_sl.properties +58 -56
- package/src/sap/ui/core/messagebundle_sv.properties +54 -52
- package/src/sap/ui/core/messagebundle_th.properties +17 -15
- package/src/sap/ui/core/messagebundle_tr.properties +58 -56
- package/src/sap/ui/core/messagebundle_uk.properties +58 -56
- package/src/sap/ui/core/messagebundle_vi.properties +58 -56
- package/src/sap/ui/core/messagebundle_zh_CN.properties +58 -56
- package/src/sap/ui/core/messagebundle_zh_TW.properties +58 -56
- 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 +14 -2
- 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 +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 +7 -4
- 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/Icon.less +2 -2
- package/src/sap/ui/core/theming/Parameters.js +0 -5
- package/src/sap/ui/core/theming/ThemeManager.js +3 -4
- 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 +4 -5
- 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/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/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +166 -79
- package/src/sap/ui/model/analytics/AnalyticalVersionInfo.js +4 -3
- package/src/sap/ui/model/analytics/BatchResponseCollector.js +2 -2
- package/src/sap/ui/model/analytics/ODataModelAdapter.js +14 -27
- package/src/sap/ui/model/analytics/odata4analytics.js +6 -12
- package/src/sap/ui/model/base/ManagedObjectModel.js +2 -1
- package/src/sap/ui/model/json/JSONModel.js +6 -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 +191 -5
- package/src/sap/ui/model/odata/ODataMetadata.js +38 -4
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +2 -2
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/AnnotationHelper.js +4 -4
- package/src/sap/ui/model/odata/v4/Context.js +33 -30
- package/src/sap/ui/model/odata/v4/ODataBinding.js +18 -14
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +12 -12
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +110 -43
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -28
- package/src/sap/ui/model/odata/v4/ODataModel.js +40 -31
- package/src/sap/ui/model/odata/v4/ODataParentBinding.js +8 -6
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +14 -14
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +93 -9
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +25 -27
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +58 -195
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +157 -0
- package/src/sap/ui/model/odata/v4/lib/_MetadataRequestor.js +14 -5
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +27 -15
- 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/TestUtils.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/_EnforceSemanticRendering.js +1 -3
- package/src/sap/ui/test/matchers/_Visitor.js +6 -1
- package/src/sap/ui/test/starter/_setupAndStart.js +2 -5
- package/src/sap/ui/thirdparty/qunit-2.js +9 -3
- package/src/sap/ui/util/Mobile.js +10 -6
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap-ui-boot.js +23 -6
- package/src/ui5-boot.js +50 -0
- package/src/ui5loader-autoconfig.js +147 -75
- package/src/ui5loader.js +322 -362
- package/test/sap/ui/core/Device.js +1 -1
- package/test/sap/ui/core/demokit/sample/OpaAction/applicationUnderTest/view/Main.view.xml +1 -0
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Template.controller.js +2 -2
- package/test/sap/ui/core/demokit/sample/odata/v2/AutoExpand/AutoExpand.view.xml +24 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/Ancestry/Main.view.xml +24 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/DataAggregation.view.xml +20 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FieldGroups/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/FlatDataAggregation.view.xml +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/GridTable/GridTable.view.xml +12 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Main.controller.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +26 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/data/metadata.xml +4 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/pages/Main.js +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/Create.js +10 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/manifest.json +18 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/pages/Main.js +4 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Opa.qunit.js +2 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +1 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +3 -8
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/localService/mockserver.js +1 -0
- package/test/sap/ui/core/qunit/IconPool.qunit.js +53 -4
- package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +43 -5
- package/test/sap/ui/core/qunit/Theming.qunit.js +19 -1
- package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +510 -185
- package/test/sap/ui/core/qunit/analytics/ODataModelAdapter.qunit.js +80 -10
- package/test/sap/ui/core/qunit/analytics/odata4analytics.qunit.js +20 -29
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +18 -1
- package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +15 -13
- package/test/sap/ui/core/qunit/base/i18n/Localization.qunit.js +35 -12
- package/test/sap/ui/core/qunit/bootstrap/Configuration.main.qunit.js +11 -0
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.html +4 -3
- package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +71 -35
- package/test/sap/ui/core/qunit/component/Models.qunit.js +5 -2
- package/test/sap/ui/core/qunit/generic/EnforceSemanticRendering.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/generic/legacy/SettersContextReturn.qunit.js +2 -2
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +48 -13
- package/test/sap/ui/core/qunit/i18n/UI5Date.qunit.js +16 -4
- package/test/sap/ui/core/qunit/i18n/UniversalDate.qunit.js +73 -103
- package/test/sap/ui/core/qunit/i18n/UniversalDateUtils.qunit.js +34 -39
- package/test/sap/ui/core/qunit/internal/BeforePush.ODataV4.js +28 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.html +1 -0
- package/test/sap/ui/core/qunit/internal/BeforePush.js +15 -0
- package/test/sap/ui/core/qunit/internal/performance/ExpressionParser.performance.qunit.js +1 -0
- package/test/sap/ui/core/qunit/loader/asyncMode.qunit.js +2 -2
- package/test/sap/ui/core/qunit/loader/asyncMode_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/loader/testsuite.loader.qunit.js +0 -3
- package/test/sap/ui/core/qunit/model/FAR_CUSTOMER_LINE_ITEMS.metadata.xml +2 -0
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +51 -0
- package/test/sap/ui/core/qunit/mvc/testdata/Async.view.xml +1 -1
- package/test/sap/ui/core/qunit/mvc/testdata/AsyncTypedView.js +5 -1
- package/test/sap/ui/core/qunit/odata/ODataMetadataNoFakeService.qunit.js +68 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +232 -37
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +10 -5
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +33 -1
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +5 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +186 -65
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +17 -66
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +528 -60
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +48 -8
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.realOData.qunit.js +0 -3
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +2 -1
- package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +4 -0
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +2 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +148 -1
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +24 -11
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +196 -404
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +201 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_MetadataRequestor.qunit.js +7 -3
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +21 -4
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +4 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +129 -2
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +5 -1
- package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +1 -1
- package/test/sap/ui/core/qunit/testdata/xml-require/helper/Formatter.js +7 -4
- package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_in_html.view.xml +36 -0
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +2 -2
- package/test/sap/ui/core/qunit/types/DateFormatTimezones.qunit.js +1222 -1201
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +7 -11
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +3 -1
- package/test/sap/ui/core/qunit/util/jQuery.sap.Version.qunit.js +3 -0
- package/test/sap/ui/core/qunit/util/reflection/BaseTreeModifier.qunit.js +1 -1
- package/test/sap/ui/core/relnotes/changes-1.116.json +1 -12
- package/test/sap/ui/core/relnotes/changes-1.117.json +127 -0
- package/test/sap/ui/core/visual/images/HyphenationPlayground/windows/1600x1200/chrome/horizon/ltr/cozy/19_thirdParty_language_sl.ref.lnk +1 -1
- package/ui5.yaml +165 -0
- package/src/sap/ui/core/util/MockServerAnnotationsHandler.js +0 -45
- /package/test/sap/ui/core/qunit/bootstrap/{GlobalConfigurationSettings.js → Configuration.beforeBootstrap.qunit.js} +0 -0
|
@@ -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.117.0
|
|
32
32
|
* @param {sap.ui.base.Object} oObject
|
|
33
33
|
* Object for which a facade should be created
|
|
34
34
|
* @param {string[]} aMethods
|
|
@@ -45,8 +45,6 @@ sap.ui.define([
|
|
|
45
45
|
// Binding info factory symbol
|
|
46
46
|
var BINDING_INFO_FACTORY_SYMBOL = Symbol("bindingInfoFactory");
|
|
47
47
|
|
|
48
|
-
var Object_hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
49
|
-
|
|
50
48
|
/**
|
|
51
49
|
* Constructs and initializes a managed object with the given <code>sId</code> and settings.
|
|
52
50
|
*
|
|
@@ -253,7 +251,7 @@ sap.ui.define([
|
|
|
253
251
|
*
|
|
254
252
|
* @extends sap.ui.base.EventProvider
|
|
255
253
|
* @author SAP SE
|
|
256
|
-
* @version 1.
|
|
254
|
+
* @version 1.117.0
|
|
257
255
|
* @public
|
|
258
256
|
* @alias sap.ui.base.ManagedObject
|
|
259
257
|
*/
|
|
@@ -1589,7 +1587,7 @@ sap.ui.define([
|
|
|
1589
1587
|
* @protected
|
|
1590
1588
|
*/
|
|
1591
1589
|
ManagedObject.prototype.isPropertyInitial = function(sPropertyName) {
|
|
1592
|
-
return !
|
|
1590
|
+
return !Object.hasOwn(this.mProperties, sPropertyName) && !this.isBound(sPropertyName);
|
|
1593
1591
|
};
|
|
1594
1592
|
|
|
1595
1593
|
/**
|
|
@@ -83,7 +83,7 @@ function(
|
|
|
83
83
|
*
|
|
84
84
|
*
|
|
85
85
|
* @author Frank Weigel
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.117.0
|
|
87
87
|
* @since 0.8.6
|
|
88
88
|
* @alias sap.ui.base.ManagedObjectMetadata
|
|
89
89
|
* @extends sap.ui.base.Metadata
|
|
@@ -102,8 +102,6 @@ function(
|
|
|
102
102
|
ManagedObjectMetadata.prototype = Object.create(Metadata.prototype);
|
|
103
103
|
ManagedObjectMetadata.prototype.constructor = ManagedObjectMetadata;
|
|
104
104
|
|
|
105
|
-
var Object_hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
106
|
-
|
|
107
105
|
var rPlural = /(children|ies|ves|oes|ses|ches|shes|xes|s)$/i;
|
|
108
106
|
var mSingular = {'children' : -3, 'ies' : 'y', 'ves' : 'f', 'oes' : -2, 'ses' : -2, 'ches' : -2, 'shes' : -2, 'xes' : -2, 's' : -1 };
|
|
109
107
|
|
|
@@ -125,7 +123,7 @@ function(
|
|
|
125
123
|
var result = null;
|
|
126
124
|
|
|
127
125
|
for (var n in info) {
|
|
128
|
-
if (
|
|
126
|
+
if ( Object.hasOwn(info, n) && typeof obj[n] === 'undefined' ) {
|
|
129
127
|
result = result || {};
|
|
130
128
|
result[n] = info[n];
|
|
131
129
|
}
|
|
@@ -844,7 +842,7 @@ function(
|
|
|
844
842
|
|
|
845
843
|
if ( mInfoMap ) {
|
|
846
844
|
for (sName in mInfoMap) {
|
|
847
|
-
if (
|
|
845
|
+
if ( Object.hasOwn(mInfoMap, sName) ) {
|
|
848
846
|
mResult[sName] = new FNClass(that, sName, mInfoMap[sName]);
|
|
849
847
|
}
|
|
850
848
|
}
|
|
@@ -1754,7 +1752,7 @@ function(
|
|
|
1754
1752
|
sName;
|
|
1755
1753
|
|
|
1756
1754
|
for ( sName in mSettings ) {
|
|
1757
|
-
if (
|
|
1755
|
+
if ( Object.hasOwn(mValidKeys, sName) ) {
|
|
1758
1756
|
mResult[sName] = mSettings[sName];
|
|
1759
1757
|
}
|
|
1760
1758
|
}
|
|
@@ -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.117.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-2023 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.117.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>The SAPUI5 Core Runtime.
|
|
12
12
|
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
<pattern>sap/ui/thirdparty/qunit.css</pattern>
|
|
186
186
|
<pattern>sap/ui/thirdparty/qunit.js</pattern>
|
|
187
187
|
</lib>
|
|
188
|
-
<lib name="qunit-2" displayName="QUnit 2" npmName="n/a" version="2.3.2" hash="
|
|
188
|
+
<lib name="qunit-2" displayName="QUnit 2" npmName="n/a" version="2.3.2" hash="38899a9d9321402ff815cff5682e8e5b" homepage="https://qunitjs.com" id="73555000106100006951">
|
|
189
189
|
<license url="http://jQuery.org/license" type="MIT" />
|
|
190
190
|
<copyright>jQuery Foundation and other contributors</copyright>
|
|
191
191
|
<pattern>sap/ui/thirdparty/qunit-2.css</pattern>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
], function(
|
|
8
|
+
) {
|
|
9
|
+
"use strict";
|
|
10
|
+
|
|
11
|
+
return {
|
|
12
|
+
run: function(config) {
|
|
13
|
+
//config.set("sapUiLibs", ["sap.ui.core", "sap.m"]);
|
|
14
|
+
return Promise.resolve();
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
});
|
|
@@ -48,12 +48,10 @@ sap.ui.define([
|
|
|
48
48
|
"use strict";
|
|
49
49
|
|
|
50
50
|
var M_SETTINGS;
|
|
51
|
-
var VERSION = "1.
|
|
51
|
+
var VERSION = "1.117.0";
|
|
52
52
|
var mCompatVersion;
|
|
53
53
|
|
|
54
54
|
// Helper Functions
|
|
55
|
-
var Object_hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
56
|
-
|
|
57
55
|
function _calcCompatVersions() {
|
|
58
56
|
var PARAM_CVERS = "sapUiCompatversion";
|
|
59
57
|
|
|
@@ -1318,16 +1316,6 @@ sap.ui.define([
|
|
|
1318
1316
|
return Configuration.getValue("xx-handleValidation");
|
|
1319
1317
|
},
|
|
1320
1318
|
|
|
1321
|
-
/**
|
|
1322
|
-
* Gets if the hyphenation has to be forced to use only browser-native or only third-party.
|
|
1323
|
-
*
|
|
1324
|
-
* @returns {string} empty string, "native" or "thirdparty"
|
|
1325
|
-
* @private
|
|
1326
|
-
*/
|
|
1327
|
-
getHyphenation : function() {
|
|
1328
|
-
return Configuration.getValue("xx-hyphenation");
|
|
1329
|
-
},
|
|
1330
|
-
|
|
1331
1319
|
/**
|
|
1332
1320
|
* Returns the list of active terminologies defined via the Configuration.
|
|
1333
1321
|
*
|
|
@@ -1480,7 +1468,7 @@ sap.ui.define([
|
|
|
1480
1468
|
*/
|
|
1481
1469
|
getValue: function(sName) {
|
|
1482
1470
|
var vValue;
|
|
1483
|
-
if (typeof sName !== "string" || !
|
|
1471
|
+
if (typeof sName !== "string" || !Object.hasOwn(M_SETTINGS, sName)) {
|
|
1484
1472
|
throw new TypeError(
|
|
1485
1473
|
"Parameter 'sName' must be the name of a valid configuration option (one of "
|
|
1486
1474
|
+ Object.keys(M_SETTINGS).map(function(key) {
|
|
@@ -81,7 +81,7 @@ sap.ui.define([
|
|
|
81
81
|
* @extends sap.ui.core.Element
|
|
82
82
|
* @abstract
|
|
83
83
|
* @author SAP SE
|
|
84
|
-
* @version 1.
|
|
84
|
+
* @version 1.117.0
|
|
85
85
|
* @alias sap.ui.core.Control
|
|
86
86
|
*/
|
|
87
87
|
var Control = Element.extend("sap.ui.core.Control", /** @lends sap.ui.core.Control.prototype */ {
|
|
@@ -978,6 +978,9 @@ sap.ui.define([
|
|
|
978
978
|
* @returns {this} <code>this</code> to allow method chaining
|
|
979
979
|
* @private
|
|
980
980
|
* @ui5-restricted sap.ui.core, sap.m, sap.viz
|
|
981
|
+
* @deprecated since version 1.69, the blocked property is deprecated.
|
|
982
|
+
* There is no accessibility support for this property.
|
|
983
|
+
* Blocked controls should not be used inside Controls, which rely on keyboard navigation, e.g. List controls.
|
|
981
984
|
*/
|
|
982
985
|
Control.prototype.setBlocked = function(bBlocked, sBlockedSection /* this is an internal parameter to apply partial blocking for a specific section of the control */) {
|
|
983
986
|
//If the new state is already set, we don't need to do anything
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
/**
|
|
90
90
|
* Returns the current animation mode.
|
|
91
91
|
*
|
|
92
|
-
* @return {sap
|
|
92
|
+
* @return {module:sap/ui/core/AnimationMode} The current animationMode
|
|
93
93
|
* @public
|
|
94
94
|
*/
|
|
95
95
|
getAnimationMode: function() {
|
|
@@ -125,7 +125,7 @@ sap.ui.define([
|
|
|
125
125
|
* If the <code>animationMode</code> is <code>AnimationMode.none</code> the old
|
|
126
126
|
* <code>animation</code> property is set to <code>false</code>, otherwise it is set to <code>true</code>.
|
|
127
127
|
*
|
|
128
|
-
* @param {sap
|
|
128
|
+
* @param {module:sap/ui/core/AnimationMode} sAnimationMode A valid animation mode
|
|
129
129
|
* @throws {Error} If the provided <code>sAnimationMode</code> does not exist, an error is thrown
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
package/src/sap/ui/core/Core.js
CHANGED
|
@@ -216,7 +216,7 @@ sap.ui.define([
|
|
|
216
216
|
* @extends sap.ui.base.Object
|
|
217
217
|
* @final
|
|
218
218
|
* @author SAP SE
|
|
219
|
-
* @version 1.
|
|
219
|
+
* @version 1.117.0
|
|
220
220
|
* @alias sap.ui.core.Core
|
|
221
221
|
* @public
|
|
222
222
|
* @hideconstructor
|
|
@@ -1147,6 +1147,7 @@ sap.ui.define([
|
|
|
1147
1147
|
* If the styles are not yet applied a theme changed event will follow when the styles will be applied.
|
|
1148
1148
|
*
|
|
1149
1149
|
* @return {boolean} whether the styles of the current theme are already applied
|
|
1150
|
+
* @function
|
|
1150
1151
|
* @public
|
|
1151
1152
|
*/
|
|
1152
1153
|
Core.prototype.isThemeApplied = Theming.isApplied;
|
|
@@ -1812,6 +1813,7 @@ sap.ui.define([
|
|
|
1812
1813
|
* it might not be necessary to trigger the realigment of all controls placed in the DOM,
|
|
1813
1814
|
* for example changing the cozy/compact CSS class at a single control
|
|
1814
1815
|
* @public
|
|
1816
|
+
* @function
|
|
1815
1817
|
*/
|
|
1816
1818
|
Core.prototype.notifyContentDensityChanged = Theming.notifyContentDensityChanged;
|
|
1817
1819
|
|
|
@@ -26,8 +26,6 @@ sap.ui.define([
|
|
|
26
26
|
* sap.ui.core.RenderManager RenderManager} API documentation for detailed information
|
|
27
27
|
*/
|
|
28
28
|
|
|
29
|
-
var Object_hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
30
|
-
|
|
31
29
|
/**
|
|
32
30
|
* Creates a new metadata object for a UIElement subclass.
|
|
33
31
|
*
|
|
@@ -38,7 +36,7 @@ sap.ui.define([
|
|
|
38
36
|
*
|
|
39
37
|
* @class
|
|
40
38
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
39
|
+
* @version 1.117.0
|
|
42
40
|
* @since 0.8.6
|
|
43
41
|
* @alias sap.ui.core.ElementMetadata
|
|
44
42
|
* @extends sap.ui.base.ManagedObjectMetadata
|
|
@@ -132,7 +130,7 @@ sap.ui.define([
|
|
|
132
130
|
this._sVisibility = oStaticInfo.visibility || "public";
|
|
133
131
|
|
|
134
132
|
// remove renderer stuff before calling super.
|
|
135
|
-
var vRenderer =
|
|
133
|
+
var vRenderer = Object.hasOwn(oClassInfo, "renderer") ? (oClassInfo.renderer || "") : undefined;
|
|
136
134
|
delete oClassInfo.renderer;
|
|
137
135
|
|
|
138
136
|
ManagedObjectMetadata.prototype.applySettings.call(this, oClassInfo);
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
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.117.0
|
|
47
47
|
* @public
|
|
48
48
|
* @class
|
|
49
49
|
* @alias sap.ui.core.EnabledPropagator
|
package/src/sap/ui/core/HTML.js
CHANGED
package/src/sap/ui/core/Icon.js
CHANGED
|
@@ -257,8 +257,7 @@ sap.ui.define([
|
|
|
257
257
|
// create an initial configuration for the font
|
|
258
258
|
if (!mFontRegistry[oConfig.collectionName] || mFontRegistry[oConfig.collectionName].metadataLoaded === false) {
|
|
259
259
|
mFontRegistry[oConfig.collectionName] = {
|
|
260
|
-
config: oConfig
|
|
261
|
-
inserted: false
|
|
260
|
+
config: oConfig
|
|
262
261
|
};
|
|
263
262
|
} else {
|
|
264
263
|
Log.warning("The font '" + oConfig.collectionName + "' is already registered");
|
|
@@ -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.117.0
|
|
16
16
|
* @alias module:sap/ui/core/InvisibleRenderer
|
|
17
17
|
* @since 1.66.0
|
|
18
18
|
* @protected
|
package/src/sap/ui/core/Item.js
CHANGED
|
@@ -136,7 +136,7 @@ sap.ui.define(['../base/ManagedObject', "sap/base/assert"],
|
|
|
136
136
|
* @see sap.ui.core.LabelEnablement#enrich
|
|
137
137
|
*
|
|
138
138
|
* @author SAP SE
|
|
139
|
-
* @version 1.
|
|
139
|
+
* @version 1.117.0
|
|
140
140
|
* @protected
|
|
141
141
|
* @alias sap.ui.core.LabelEnablement
|
|
142
142
|
* @namespace
|
package/src/sap/ui/core/Lib.js
CHANGED
|
@@ -72,7 +72,7 @@ sap.ui.define([
|
|
|
72
72
|
* The file will be loaded, when a lazy dependency to the library is encountered.
|
|
73
73
|
* @private
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
var oLibraryWithBundleInfo = new Set([
|
|
76
76
|
"sap.suite.ui.generic.template",
|
|
77
77
|
"sap.ui.comp",
|
|
78
78
|
"sap.ui.layout",
|
|
@@ -111,7 +111,7 @@ sap.ui.define([
|
|
|
111
111
|
* @param {string} sURL URL from which the bundle has been loaded
|
|
112
112
|
*
|
|
113
113
|
* @private
|
|
114
|
-
|
|
114
|
+
*/
|
|
115
115
|
function registerPreloadedModules(oData, sURL) {
|
|
116
116
|
var modules = oData.modules,
|
|
117
117
|
fnUI5ToRJS = function(sName) {
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
if (oObject && typeof oObject === 'object' && !Object.isFrozen(oObject)) {
|
|
216
216
|
Object.freeze(oObject);
|
|
217
217
|
for (var sKey in oObject) {
|
|
218
|
-
if (
|
|
218
|
+
if (Object.hasOwn(oObject, sKey)) {
|
|
219
219
|
deepFreeze(oObject[sKey]);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
@@ -259,7 +259,7 @@ sap.ui.define([
|
|
|
259
259
|
return aPreloadLibCSS;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
|
|
262
|
+
/**
|
|
263
263
|
* Create an instance that represents a library with the given name.
|
|
264
264
|
*
|
|
265
265
|
* <h3>Note</h3>
|
|
@@ -284,10 +284,10 @@ sap.ui.define([
|
|
|
284
284
|
* @param {string} mSettings.name Name of the library; when given it must match the name by which the library has been loaded
|
|
285
285
|
* @class
|
|
286
286
|
* @alias sap.ui.core.Lib
|
|
287
|
-
* @extends sap.ui.base.
|
|
287
|
+
* @extends sap.ui.base.Object
|
|
288
288
|
* @since 1.110
|
|
289
|
-
* @private
|
|
290
289
|
* @hideconstructor
|
|
290
|
+
* @private
|
|
291
291
|
* @ui5-restricted sap.ui.core
|
|
292
292
|
*/
|
|
293
293
|
var Library = BaseObject.extend("sap.ui.core.Lib", /** @lends sap.ui.core.Lib.prototype */ {
|
|
@@ -380,8 +380,9 @@ sap.ui.define([
|
|
|
380
380
|
* controls); names are in dot notation (e.g. "sap.ui.core.Item")
|
|
381
381
|
* @param {boolean} [mSettings.noLibraryCSS=false] Indicates whether the library doesn't provide/use theming.
|
|
382
382
|
* When set to true, no library.css will be loaded for this library
|
|
383
|
-
* @param {
|
|
384
|
-
* the UI5 core framework.
|
|
383
|
+
* @param {Object<string,any>} [mSettings.extensions] A map of potential extensions of the library metadata; structure not defined by
|
|
384
|
+
* the UI5 core framework. Keys should be qualified names derived from the namespace of the code that introduces the feature, e.g.
|
|
385
|
+
* <code>""sap.ui.support"</code> is used for the support rule metadata of a library.
|
|
385
386
|
* @returns {sap.ui.core.Lib} The library instance
|
|
386
387
|
* @private
|
|
387
388
|
*/
|
|
@@ -1073,7 +1074,7 @@ sap.ui.define([
|
|
|
1073
1074
|
* library, {@link #.load} can be used directly without calling this method in advance.
|
|
1074
1075
|
*
|
|
1075
1076
|
* @param {string} sName The name of the library
|
|
1076
|
-
* @returns {Promise<
|
|
1077
|
+
* @returns {Promise<sap.ui.core.Lib>|undefined} Either an instance of the library or <code>undefined</code>
|
|
1077
1078
|
* @public
|
|
1078
1079
|
*/
|
|
1079
1080
|
Library.get = function(sName) {
|
|
@@ -1090,7 +1091,7 @@ sap.ui.define([
|
|
|
1090
1091
|
* @param {string} sName The name of the library
|
|
1091
1092
|
* @param {boolean} bCreate Whether to create an instance for the library when there's no instance saved in the
|
|
1092
1093
|
* cache under the given <code>sName</code>
|
|
1093
|
-
* @returns {Promise<
|
|
1094
|
+
* @returns {Promise<sap.ui.core.Lib>|undefined} Either an instance of the library or <code>undefined</code>
|
|
1094
1095
|
* @private
|
|
1095
1096
|
*/
|
|
1096
1097
|
Library._get = function(sName, bCreate) {
|
|
@@ -1433,7 +1434,7 @@ sap.ui.define([
|
|
|
1433
1434
|
* @param {object} mOptions The options object that contains the following properties
|
|
1434
1435
|
* @param {string} mOptions.name The name of the library
|
|
1435
1436
|
* @param {string} [mOptions.url] URL to load the library from
|
|
1436
|
-
* @returns {Promise<
|
|
1437
|
+
* @returns {Promise<sap.ui.core.Lib>} A promise that resolves with the library instance after the loading of
|
|
1437
1438
|
* the library is finished
|
|
1438
1439
|
* @public
|
|
1439
1440
|
*/
|
|
@@ -1467,14 +1468,14 @@ sap.ui.define([
|
|
|
1467
1468
|
*
|
|
1468
1469
|
* @param {object[]|object} vLibConfigs An array of objects for libraries or a single object for one library
|
|
1469
1470
|
* which contain the following properties
|
|
1470
|
-
* @param {string}
|
|
1471
|
-
* @param {string} [
|
|
1472
|
-
* @param {boolean} [
|
|
1471
|
+
* @param {string} vLibConfigs.name The name of the library
|
|
1472
|
+
* @param {string} [vLibConfigs.url] URL to load the library from
|
|
1473
|
+
* @param {boolean} [vLibConfigs.json] Whether to load the library's preload bundle in JSON format
|
|
1473
1474
|
* @param {object} [mOptions] The options object that contains the following properties
|
|
1474
1475
|
* @param {boolean} [mOptions.sync] Whether to load the preload bundle(s) in sync mode
|
|
1475
1476
|
* @param {boolean} [mOptions.preloadOnly] Whether to skip executing the entry module(s) after preloading the
|
|
1476
1477
|
* library/libraries
|
|
1477
|
-
* @return {Promise<Array<
|
|
1478
|
+
* @return {Promise<Array<sap.ui.core.Lib>>|Array<sap.ui.core.Lib>} A promise that resolves with an
|
|
1478
1479
|
* array of library instances in async mode or an array of library instances in sync mode
|
|
1479
1480
|
* @private
|
|
1480
1481
|
*/
|
|
@@ -1678,7 +1679,7 @@ sap.ui.define([
|
|
|
1678
1679
|
* Guesses if the given bundleUrl is pointing to a library's ResourceBundle and adapts the given bundle definition accordingly
|
|
1679
1680
|
* based on the inferred library's manifest.
|
|
1680
1681
|
*
|
|
1681
|
-
* @param {module:sap/base/i18n/ResourceBundle.Configuration} mParams Map containing the arguments of the
|
|
1682
|
+
* @param {module:sap/base/i18n/ResourceBundle.Configuration} mParams Map containing the arguments of the <code>ResourceBundle.create</code> call
|
|
1682
1683
|
* @returns {module:sap/base/i18n/ResourceBundle.Configuration} mParams The enriched config object
|
|
1683
1684
|
* @private
|
|
1684
1685
|
*/
|