@openui5/sap.ui.core 1.129.0 → 1.130.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/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +7 -7
- 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/jquery.sap.trace.js +18 -18
- 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/future.js +10 -2
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +3 -3
- package/src/sap/ui/base/BindingParser.js +1 -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 +4 -9
- 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/core/.library +2 -2
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +32 -130
- package/src/sap/ui/core/ComponentContainer.js +2 -2
- package/src/sap/ui/core/ComponentHooks.js +174 -0
- 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 +6 -2
- 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 +6 -5
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +2 -15
- 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 +43 -37
- package/src/sap/ui/core/Manifest.js +2 -2
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/RenderManager.js +41 -32
- 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/StaticArea.js +0 -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 +3 -3
- 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 +3 -3
- package/src/sap/ui/core/_IconRegistry.js +1 -1
- package/src/sap/ui/core/cldr/ar.json +5 -1
- package/src/sap/ui/core/cldr/ar_EG.json +5 -1
- package/src/sap/ui/core/cldr/ar_SA.json +5 -1
- package/src/sap/ui/core/cldr/bg.json +4 -0
- package/src/sap/ui/core/cldr/ca.json +4 -0
- package/src/sap/ui/core/cldr/cnr.json +4 -0
- package/src/sap/ui/core/cldr/cs.json +4 -0
- package/src/sap/ui/core/cldr/cy.json +4 -0
- package/src/sap/ui/core/cldr/da.json +4 -0
- package/src/sap/ui/core/cldr/de.json +4 -0
- package/src/sap/ui/core/cldr/de_AT.json +4 -0
- package/src/sap/ui/core/cldr/de_CH.json +4 -0
- package/src/sap/ui/core/cldr/el.json +4 -0
- package/src/sap/ui/core/cldr/el_CY.json +4 -0
- package/src/sap/ui/core/cldr/en.json +4 -0
- package/src/sap/ui/core/cldr/en_AU.json +4 -0
- package/src/sap/ui/core/cldr/en_GB.json +4 -0
- package/src/sap/ui/core/cldr/en_HK.json +5 -1
- package/src/sap/ui/core/cldr/en_IE.json +4 -0
- package/src/sap/ui/core/cldr/en_IN.json +5 -1
- package/src/sap/ui/core/cldr/en_NZ.json +4 -0
- package/src/sap/ui/core/cldr/en_PG.json +4 -0
- package/src/sap/ui/core/cldr/en_SG.json +5 -1
- package/src/sap/ui/core/cldr/en_ZA.json +4 -0
- package/src/sap/ui/core/cldr/es.json +4 -0
- package/src/sap/ui/core/cldr/es_AR.json +4 -0
- package/src/sap/ui/core/cldr/es_BO.json +4 -0
- package/src/sap/ui/core/cldr/es_CL.json +4 -0
- package/src/sap/ui/core/cldr/es_CO.json +4 -0
- package/src/sap/ui/core/cldr/es_MX.json +4 -0
- package/src/sap/ui/core/cldr/es_PE.json +4 -0
- package/src/sap/ui/core/cldr/es_UY.json +4 -0
- package/src/sap/ui/core/cldr/es_VE.json +4 -0
- package/src/sap/ui/core/cldr/et.json +4 -0
- package/src/sap/ui/core/cldr/fa.json +6 -3
- package/src/sap/ui/core/cldr/fi.json +4 -0
- package/src/sap/ui/core/cldr/fr.json +4 -0
- package/src/sap/ui/core/cldr/fr_BE.json +4 -0
- package/src/sap/ui/core/cldr/fr_CA.json +4 -0
- package/src/sap/ui/core/cldr/fr_CH.json +4 -0
- package/src/sap/ui/core/cldr/fr_LU.json +4 -0
- package/src/sap/ui/core/cldr/he.json +6 -3
- package/src/sap/ui/core/cldr/hi.json +5 -1
- package/src/sap/ui/core/cldr/hr.json +4 -0
- package/src/sap/ui/core/cldr/hu.json +4 -0
- package/src/sap/ui/core/cldr/id.json +5 -1
- package/src/sap/ui/core/cldr/it.json +4 -0
- package/src/sap/ui/core/cldr/it_CH.json +4 -0
- package/src/sap/ui/core/cldr/ja.json +5 -1
- package/src/sap/ui/core/cldr/kk.json +4 -0
- package/src/sap/ui/core/cldr/ko.json +5 -1
- package/src/sap/ui/core/cldr/lt.json +4 -0
- package/src/sap/ui/core/cldr/lv.json +4 -0
- package/src/sap/ui/core/cldr/mk.json +4 -0
- package/src/sap/ui/core/cldr/ms.json +5 -1
- package/src/sap/ui/core/cldr/nb.json +5 -2
- package/src/sap/ui/core/cldr/nl.json +4 -0
- package/src/sap/ui/core/cldr/nl_BE.json +4 -0
- package/src/sap/ui/core/cldr/pl.json +4 -0
- package/src/sap/ui/core/cldr/pt.json +4 -0
- package/src/sap/ui/core/cldr/pt_PT.json +4 -0
- package/src/sap/ui/core/cldr/ro.json +4 -0
- package/src/sap/ui/core/cldr/ru.json +4 -0
- package/src/sap/ui/core/cldr/ru_UA.json +4 -0
- package/src/sap/ui/core/cldr/sk.json +4 -0
- package/src/sap/ui/core/cldr/sl.json +4 -0
- package/src/sap/ui/core/cldr/sr.json +4 -0
- package/src/sap/ui/core/cldr/sr_Latn.json +6 -2
- package/src/sap/ui/core/cldr/sv.json +4 -0
- package/src/sap/ui/core/cldr/th.json +5 -1
- package/src/sap/ui/core/cldr/tr.json +5 -1
- package/src/sap/ui/core/cldr/uk.json +4 -0
- package/src/sap/ui/core/cldr/vi.json +4 -0
- package/src/sap/ui/core/cldr/zh_CN.json +5 -1
- package/src/sap/ui/core/cldr/zh_HK.json +6 -3
- package/src/sap/ui/core/cldr/zh_SG.json +6 -3
- package/src/sap/ui/core/cldr/zh_TW.json +5 -1
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/fieldhelp/FieldHelp.js +5 -7
- package/src/sap/ui/core/fieldhelp/FieldHelpCustomData.js +88 -0
- package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +22 -26
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/NumberFormat.js +11 -22
- 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 +5 -7
- package/src/sap/ui/core/library.support.js +10 -1
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle.properties +6 -12
- package/src/sap/ui/core/messagebundle_ar.properties +3 -6
- package/src/sap/ui/core/messagebundle_bg.properties +3 -6
- package/src/sap/ui/core/messagebundle_ca.properties +3 -6
- package/src/sap/ui/core/messagebundle_cnr.properties +3 -6
- package/src/sap/ui/core/messagebundle_cs.properties +3 -6
- package/src/sap/ui/core/messagebundle_cy.properties +3 -6
- package/src/sap/ui/core/messagebundle_da.properties +3 -6
- package/src/sap/ui/core/messagebundle_de.properties +3 -6
- package/src/sap/ui/core/messagebundle_el.properties +3 -6
- package/src/sap/ui/core/messagebundle_en.properties +3 -6
- package/src/sap/ui/core/messagebundle_en_GB.properties +3 -6
- package/src/sap/ui/core/messagebundle_en_US_saprigi.properties +3 -6
- package/src/sap/ui/core/messagebundle_es.properties +3 -6
- package/src/sap/ui/core/messagebundle_es_MX.properties +3 -6
- package/src/sap/ui/core/messagebundle_et.properties +3 -6
- package/src/sap/ui/core/messagebundle_fi.properties +3 -6
- package/src/sap/ui/core/messagebundle_fr.properties +3 -6
- package/src/sap/ui/core/messagebundle_fr_CA.properties +3 -6
- package/src/sap/ui/core/messagebundle_hi.properties +3 -6
- package/src/sap/ui/core/messagebundle_hr.properties +3 -6
- package/src/sap/ui/core/messagebundle_hu.properties +3 -6
- package/src/sap/ui/core/messagebundle_id.properties +3 -6
- package/src/sap/ui/core/messagebundle_it.properties +53 -56
- package/src/sap/ui/core/messagebundle_iw.properties +3 -6
- package/src/sap/ui/core/messagebundle_ja.properties +3 -6
- package/src/sap/ui/core/messagebundle_kk.properties +3 -6
- package/src/sap/ui/core/messagebundle_ko.properties +3 -6
- package/src/sap/ui/core/messagebundle_lt.properties +3 -6
- package/src/sap/ui/core/messagebundle_lv.properties +3 -6
- package/src/sap/ui/core/messagebundle_mk.properties +3 -6
- package/src/sap/ui/core/messagebundle_ms.properties +3 -6
- package/src/sap/ui/core/messagebundle_nl.properties +3 -6
- package/src/sap/ui/core/messagebundle_no.properties +4 -7
- package/src/sap/ui/core/messagebundle_pl.properties +3 -6
- package/src/sap/ui/core/messagebundle_pt.properties +3 -6
- package/src/sap/ui/core/messagebundle_pt_PT.properties +3 -6
- package/src/sap/ui/core/messagebundle_ro.properties +3 -6
- package/src/sap/ui/core/messagebundle_ru.properties +3 -6
- package/src/sap/ui/core/messagebundle_sh.properties +3 -6
- package/src/sap/ui/core/messagebundle_sk.properties +3 -6
- package/src/sap/ui/core/messagebundle_sl.properties +3 -6
- package/src/sap/ui/core/messagebundle_sr.properties +3 -6
- package/src/sap/ui/core/messagebundle_sv.properties +3 -6
- package/src/sap/ui/core/messagebundle_th.properties +3 -6
- package/src/sap/ui/core/messagebundle_tr.properties +3 -6
- package/src/sap/ui/core/messagebundle_uk.properties +3 -6
- package/src/sap/ui/core/messagebundle_vi.properties +3 -6
- package/src/sap/ui/core/messagebundle_zh_CN.properties +3 -6
- package/src/sap/ui/core/messagebundle_zh_TW.properties +3 -6
- package/src/sap/ui/core/mvc/Controller.js +2 -2
- 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 +3 -3
- package/src/sap/ui/core/mvc/XMLView.js +2 -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/routing/Route.js +4 -4
- package/src/sap/ui/core/routing/Router.js +5 -5
- package/src/sap/ui/core/routing/Targets.js +3 -3
- package/src/sap/ui/core/routing/async/Target.js +1 -1
- package/src/sap/ui/core/routing/async/Targets.js +2 -2
- package/src/sap/ui/core/rules/App.support.js +13 -2
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/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/theming/Parameters.js +6 -6
- package/src/sap/ui/core/theming/ThemeHelper.js +16 -13
- package/src/sap/ui/core/theming/ThemeManager.js +1 -1
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/dom/findTabbable.js +10 -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/Context.js +0 -2
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ListBinding.js +19 -0
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +12 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/ODataTreeBindingFlat.js +106 -19
- 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 +33 -2
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +62 -13
- package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -0
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +50 -76
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -10
- package/src/sap/ui/model/odata/v4/ODataModel.js +30 -7
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +75 -8
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +13 -4
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +106 -10
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +62 -4
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +20 -8
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +51 -30
- 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 +3 -2
- package/src/sap/ui/model/type/DateInterval.js +3 -2
- 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/performance/trace/FESR.js +19 -10
- package/src/sap/ui/performance/trace/Interaction.js +45 -659
- package/src/sap/ui/performance/trace/_InteractionImpl.js +705 -0
- 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 +6 -5
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/gherkin/opa5TestHarness.js +6 -2
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/sap/ui/util/_enforceNoReturnValue.js +1 -1
- package/src/ui5loader.js +1 -1
|
@@ -420,7 +420,7 @@ sap.ui.define([
|
|
|
420
420
|
oExtControllerDef = mRegistry[sControllerName] || oExtControllerDef;
|
|
421
421
|
if (oExtControllerDef !== undefined) {
|
|
422
422
|
if (oExtControllerDef.getMetadata && oExtControllerDef.getMetadata().isA("sap.ui.core.mvc.Controller")) {
|
|
423
|
-
future.fatalThrows("Attempt to load Extension Controller " + sControllerName + " was not successful
|
|
423
|
+
future.fatalThrows("Attempt to load Extension Controller " + sControllerName + " was not successful. Controller extension should be a plain object.", "", null, function() {
|
|
424
424
|
return {
|
|
425
425
|
type: "ControllerExtension",
|
|
426
426
|
name: sControllerName
|
|
@@ -650,7 +650,7 @@ sap.ui.define([
|
|
|
650
650
|
*/
|
|
651
651
|
Controller.prototype._getDestroyables = function() {
|
|
652
652
|
if (!this._aDestroyables) {
|
|
653
|
-
future.errorThrows(
|
|
653
|
+
future.errorThrows(`${this.getMetadata().getName()}: A sub-class of sap.ui.core.mvc.Controller which overrides the constructor must apply the super constructor as well.`,
|
|
654
654
|
null,
|
|
655
655
|
"sap.ui.support",
|
|
656
656
|
function() {
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @param {object} [mSettings] initial settings for the new control
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.130.0
|
|
31
31
|
* @deprecated Since 1.90. Instead use {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed Views}
|
|
32
32
|
* by defining the view class with {@link sap.ui.core.mvc.View.extend View.extend} and
|
|
33
33
|
* creating the view instances with {@link sap.ui.core.mvc.View.create View.create}.
|
|
@@ -29,7 +29,7 @@ function(View, TemplateViewRenderer, ViewType, Log) {
|
|
|
29
29
|
* @extends sap.ui.core.mvc.View
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.130.0
|
|
33
33
|
*
|
|
34
34
|
* @public
|
|
35
35
|
* @deprecated Since version 1.56.0, use {@link sap.ui.core.mvc.XMLView} in combination with
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
* The default implementation of this method returns <code>false</code>.
|
|
145
145
|
*
|
|
146
146
|
* @extends sap.ui.core.Control
|
|
147
|
-
* @version 1.
|
|
147
|
+
* @version 1.130.0
|
|
148
148
|
*
|
|
149
149
|
* @public
|
|
150
150
|
* @alias sap.ui.core.mvc.View
|
|
@@ -964,7 +964,7 @@ sap.ui.define([
|
|
|
964
964
|
if (vPreprocessor) {
|
|
965
965
|
initGlobalPreprocessorsRegistry(sType, sViewType);
|
|
966
966
|
if (bOnDemand && onDemandPreprocessorExists(sViewType, sType)) {
|
|
967
|
-
future.errorThrows(
|
|
967
|
+
future.errorThrows(`${this.getMetadata().getName()}: Registration for "${sType}" failed, only one on-demand-preprocessor allowed`);
|
|
968
968
|
return;
|
|
969
969
|
}
|
|
970
970
|
View._mPreprocessors[sViewType][sType].push({
|
|
@@ -976,7 +976,7 @@ sap.ui.define([
|
|
|
976
976
|
Log.debug("Registered " + (bOnDemand ? "on-demand-" : "") + "preprocessor for \"" + sType + "\"" +
|
|
977
977
|
(bSyncSupport ? " with syncSupport" : ""), this.getMetadata().getName());
|
|
978
978
|
} else {
|
|
979
|
-
future.errorThrows(
|
|
979
|
+
future.errorThrows(`${this.getMetadata().getName()}: Registration for "${sType}" failed, no preprocessor specified`);
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
|
|
@@ -113,7 +113,7 @@ sap.ui.define([
|
|
|
113
113
|
* bound content aggregation. An error will be thrown when the above combination is detected.
|
|
114
114
|
*
|
|
115
115
|
* @extends sap.ui.core.mvc.View
|
|
116
|
-
* @version 1.
|
|
116
|
+
* @version 1.130.0
|
|
117
117
|
*
|
|
118
118
|
* @public
|
|
119
119
|
* @alias sap.ui.core.mvc.XMLView
|
|
@@ -862,7 +862,7 @@ sap.ui.define([
|
|
|
862
862
|
if (XMLView.PreprocessorType[sType]) {
|
|
863
863
|
View.registerPreprocessor(XMLView.PreprocessorType[sType], vPreprocessor, sOwnViewType, bSyncSupport, bOnDemand, mSettings);
|
|
864
864
|
} else {
|
|
865
|
-
future.errorThrows(
|
|
865
|
+
future.errorThrows(`${this.getMetadata().getName()}: Preprocessor could not be registered due to unknown sType "${sType}"`);
|
|
866
866
|
}
|
|
867
867
|
};
|
|
868
868
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @public
|
|
22
22
|
* @since 1.15.0
|
|
23
23
|
* @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.130.0
|
|
25
25
|
* @alias sap.ui.core.plugin.TemplatingSupport
|
|
26
26
|
*/
|
|
27
27
|
var TemplatingSupport = function() {
|
|
@@ -139,9 +139,9 @@ sap.ui.define([
|
|
|
139
139
|
if (oConfig.parent) {
|
|
140
140
|
var oRoute = this._getParentRoute(oConfig.parent);
|
|
141
141
|
if (!oRoute) {
|
|
142
|
-
future.errorThrows(
|
|
142
|
+
future.errorThrows(`${this}: No parent route with "${oConfig.parent}" could be found`);
|
|
143
143
|
} else if (oRoute._aPattern.length > 1) {
|
|
144
|
-
future.errorThrows(
|
|
144
|
+
future.errorThrows(`${this}: Routes with multiple patterns cannot be used as parent for nested routes`);
|
|
145
145
|
return;
|
|
146
146
|
} else {
|
|
147
147
|
this._oNestingParent = oRoute;
|
|
@@ -641,11 +641,11 @@ sap.ui.define([
|
|
|
641
641
|
|
|
642
642
|
_validateConfig: function(oConfig) {
|
|
643
643
|
if (!oConfig.name) {
|
|
644
|
-
future.errorThrows(
|
|
644
|
+
future.errorThrows(`${this}: A name has to be specified for every route`);
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
if (oConfig.viewName) {
|
|
648
|
-
future.errorThrows(
|
|
648
|
+
future.errorThrows(`${this}: The 'viewName' option shouldn't be used in Route. please use 'view' instead`);
|
|
649
649
|
}
|
|
650
650
|
},
|
|
651
651
|
|
|
@@ -357,7 +357,7 @@ sap.ui.define([
|
|
|
357
357
|
*/
|
|
358
358
|
addRoute : function (oConfig, oParent) {
|
|
359
359
|
if (!oConfig.name) {
|
|
360
|
-
future.errorThrows(
|
|
360
|
+
future.errorThrows(`${this}: A name has to be specified for every route`);
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
if (this._oRoutes[oConfig.name]) {
|
|
@@ -376,7 +376,7 @@ sap.ui.define([
|
|
|
376
376
|
if (this._oRouter) {
|
|
377
377
|
this._oRouter.parse(sNewHash);
|
|
378
378
|
} else {
|
|
379
|
-
future.warningThrows(
|
|
379
|
+
future.warningThrows(`${this}: This router has been destroyed while the hash changed. No routing events where fired by the destroyed instance.`);
|
|
380
380
|
}
|
|
381
381
|
},
|
|
382
382
|
|
|
@@ -409,7 +409,7 @@ sap.ui.define([
|
|
|
409
409
|
};
|
|
410
410
|
|
|
411
411
|
if (!this.oHashChanger) {
|
|
412
|
-
future.errorThrows(
|
|
412
|
+
future.errorThrows(`${this}: navTo of the router is called before the router is initialized. If you want to replace the current hash before you initialize the router you may use getUrl and use replaceHash of the Hashchanger.`);
|
|
413
413
|
return this;
|
|
414
414
|
}
|
|
415
415
|
|
|
@@ -628,7 +628,7 @@ sap.ui.define([
|
|
|
628
628
|
if (oRoute) {
|
|
629
629
|
return oRoute.getURL(oParameters);
|
|
630
630
|
} else {
|
|
631
|
-
future.warningThrows(
|
|
631
|
+
future.warningThrows(`${this}: Route with name "${sName}" does not exist`);
|
|
632
632
|
}
|
|
633
633
|
},
|
|
634
634
|
|
|
@@ -858,7 +858,7 @@ sap.ui.define([
|
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
if (!oRoute) {
|
|
861
|
-
future.warningThrows(
|
|
861
|
+
future.warningThrows(`${this}: Route with name "${sName}" does not exist`);
|
|
862
862
|
return this;
|
|
863
863
|
}
|
|
864
864
|
|
|
@@ -263,7 +263,7 @@ sap.ui.define([
|
|
|
263
263
|
oTarget;
|
|
264
264
|
|
|
265
265
|
if (oOldTarget) {
|
|
266
|
-
future.errorThrows(
|
|
266
|
+
future.errorThrows(`${this}: Target with name "${sName}" already exists`);
|
|
267
267
|
} else {
|
|
268
268
|
oTarget = this._createTarget(sName, oTargetOptions);
|
|
269
269
|
this._addParentTo(oTarget);
|
|
@@ -560,7 +560,7 @@ sap.ui.define([
|
|
|
560
560
|
oParentTarget = this._mTargets[sParent];
|
|
561
561
|
|
|
562
562
|
if (!oParentTarget) {
|
|
563
|
-
future.errorThrows(
|
|
563
|
+
future.errorThrows(`${this}: The target "${oTarget._oOptions._name}" has a parent "${sParent}" defined, but it was not found in the other targets`);
|
|
564
564
|
return;
|
|
565
565
|
}
|
|
566
566
|
|
|
@@ -682,7 +682,7 @@ sap.ui.define([
|
|
|
682
682
|
oTitleTarget.attachTitleChanged({name:oTitleTarget._oOptions._name}, this._forwardTitleChanged, this);
|
|
683
683
|
this._oLastDisplayedTitleTarget = oTitleTarget;
|
|
684
684
|
} else if (sTitleTarget) {
|
|
685
|
-
future.errorThrows(
|
|
685
|
+
future.errorThrows(`${this}: The target with the name "${sTitleTarget}" where the titleChanged event should be fired does not exist!`);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
|
|
@@ -119,8 +119,8 @@ sap.ui.define(["sap/base/future"], function(future) {
|
|
|
119
119
|
}
|
|
120
120
|
return oTarget._display(vData, oSequencePromise, oTargetCreateInfo);
|
|
121
121
|
} else {
|
|
122
|
-
var sErrorMessage =
|
|
123
|
-
future.errorThrows(sErrorMessage
|
|
122
|
+
var sErrorMessage = `${this}: The target with the name "${sName}" does not exist!`;
|
|
123
|
+
future.errorThrows(sErrorMessage);
|
|
124
124
|
return Promise.resolve({
|
|
125
125
|
name: sName,
|
|
126
126
|
error: sErrorMessage
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Defines Application related support rules.
|
|
8
|
+
*
|
|
9
|
+
* @deprecated since 1.120 No rule will survive as all will throw an error in the future.
|
|
10
|
+
* @fileoverview
|
|
8
11
|
*/
|
|
9
12
|
sap.ui.define([
|
|
10
13
|
"sap/ui/support/library",
|
|
@@ -356,6 +359,8 @@ sap.ui.define([
|
|
|
356
359
|
|
|
357
360
|
/**
|
|
358
361
|
* Check for usage of Controller Extension API.
|
|
362
|
+
*
|
|
363
|
+
* @deprecated since 1.120 Will throw an error instead.
|
|
359
364
|
*/
|
|
360
365
|
var oControllerExtensionRule = {
|
|
361
366
|
id: "controllerExtension",
|
|
@@ -422,6 +427,8 @@ sap.ui.define([
|
|
|
422
427
|
|
|
423
428
|
/**
|
|
424
429
|
* Checks for missing super init() calls on sap.ui.core.UIComponents.
|
|
430
|
+
*
|
|
431
|
+
* @deprecated since 1.120 Will throw an error instead.
|
|
425
432
|
*/
|
|
426
433
|
var oMissingSuperInitRule = {
|
|
427
434
|
id: "missingInitInUIComponent",
|
|
@@ -452,6 +459,8 @@ sap.ui.define([
|
|
|
452
459
|
|
|
453
460
|
/**
|
|
454
461
|
* Checks for missing super constructor calls on sap.ui.core.Component and sap.ui.core.mvc.Controller.
|
|
462
|
+
*
|
|
463
|
+
* @deprecated since 1.120 Will throw an error instead.
|
|
455
464
|
*/
|
|
456
465
|
var oMissingSuperConstructorRule = {
|
|
457
466
|
id: "missingSuperConstructor",
|
|
@@ -501,9 +510,11 @@ sap.ui.define([
|
|
|
501
510
|
oJQueryThreeDeprecationRule,
|
|
502
511
|
/** @deprecated */
|
|
503
512
|
oJSViewRule,
|
|
504
|
-
|
|
505
|
-
oMissingSuperInitRule,
|
|
513
|
+
/** @deprecated */
|
|
506
514
|
oMissingSuperConstructorRule,
|
|
515
|
+
/** @deprecated */
|
|
516
|
+
oMissingSuperInitRule,
|
|
517
|
+
/** @deprecated */
|
|
507
518
|
oControllerExtensionRule
|
|
508
519
|
];
|
|
509
520
|
}, true);
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* A SearchProvider which uses the OpenSearch protocol (either JSON or XML).
|
|
29
29
|
* @extends sap.ui.core.search.SearchProvider
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.130.0
|
|
31
31
|
* @deprecated as of version 1.120. There is no API replacement.
|
|
32
32
|
*
|
|
33
33
|
* @public
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', "sap/base/Log", 'sap/ui/core/library'],
|
|
|
23
23
|
*
|
|
24
24
|
* Do not create instances of this class, but use a concrete subclass instead.
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.130.0
|
|
27
27
|
* @deprecated since 1.120. There is no API replacement.
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/base/Object', 'sap/ui/core/service/Service', "sap/base/as
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.ui.base.Object
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.130.0
|
|
87
87
|
* @alias sap.ui.core.service.ServiceFactory
|
|
88
88
|
* @private
|
|
89
89
|
* @ui5-restricted sap.ushell
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* @class This class provides the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
32
32
|
*
|
|
33
33
|
* @extends sap.ui.base.EventProvider
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.130.0
|
|
35
35
|
* @private
|
|
36
36
|
* @alias sap.ui.core.support.Support
|
|
37
37
|
*/
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @class This class represents the ControlTree plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
60
60
|
*
|
|
61
61
|
* @extends sap.ui.core.support.Plugin
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.130.0
|
|
63
63
|
* @private
|
|
64
64
|
* @alias sap.ui.core.support.plugins.ControlTree
|
|
65
65
|
*/
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/support/Plugin', "sap/base/Log"],
|
|
|
15
15
|
* @class This class represents the LocalStorage plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
16
16
|
*
|
|
17
17
|
* @extends sap.ui.core.support.Plugin
|
|
18
|
-
* @version 1.
|
|
18
|
+
* @version 1.130.0
|
|
19
19
|
* @private
|
|
20
20
|
* @alias sap.ui.core.support.plugins.LocalStorage
|
|
21
21
|
*/
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @class This class represents the selector plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
23
23
|
*
|
|
24
24
|
* @extends sap.ui.core.support.Plugin
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.130.0
|
|
26
26
|
* @private
|
|
27
27
|
* @alias sap.ui.core.support.plugins.Selector
|
|
28
28
|
*/
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @class This class represents the technical info plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.core.support.Plugin
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.130.0
|
|
40
40
|
* @private
|
|
41
41
|
* @alias sap.ui.core.support.plugins.TechInfo
|
|
42
42
|
*/
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @class This class represents the trace plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
22
22
|
*
|
|
23
23
|
* @extends sap.ui.core.support.Plugin
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.130.0
|
|
25
25
|
* @private
|
|
26
26
|
* @alias sap.ui.core.support.plugins.Trace
|
|
27
27
|
*/
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* Creates an instance of sap.ui.core.support.plugins.ViewInfo.
|
|
35
35
|
* @class This class represents the ViewInfo plugin for the support tool functionality of UI5. This class is internal and all its functions must not be used by an application.
|
|
36
36
|
* @extends sap.ui.core.support.Plugin
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.130.0
|
|
38
38
|
* @private
|
|
39
39
|
* @deprecated As of version 1.118
|
|
40
40
|
* @alias sap.ui.core.support.plugins.ViewInfo
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
try {
|
|
144
144
|
sParams = decodeURIComponent(sParams);
|
|
145
145
|
} catch (ex) {
|
|
146
|
-
future.warningThrows("Could not decode theme parameters URI from " + oUrl.styleSheetUrl);
|
|
146
|
+
future.warningThrows("Could not decode theme parameters URI from " + oUrl.styleSheetUrl, { cause: ex });
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
try {
|
|
@@ -151,7 +151,7 @@ sap.ui.define([
|
|
|
151
151
|
mergeParameters(oParams, oUrl.themeBaseUrl);
|
|
152
152
|
return true; // parameters successfully parsed
|
|
153
153
|
} catch (ex) {
|
|
154
|
-
future.warningThrows("Could not parse theme parameters from " + oUrl.styleSheetUrl + ". Loading library-parameters.json as fallback solution.");
|
|
154
|
+
future.warningThrows("Could not parse theme parameters from " + oUrl.styleSheetUrl + ".", { cause: ex , suffix: "Loading library-parameters.json as fallback solution." });
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
}
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
var oLink = document.getElementById(sId);
|
|
216
216
|
|
|
217
217
|
if (!oLink) {
|
|
218
|
-
future.warningThrows(
|
|
218
|
+
future.warningThrows(`sap.ui.core.theming.Parameters: Could not find stylesheet element with ID "${sId}"`);
|
|
219
219
|
return undefined;
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -250,7 +250,7 @@ sap.ui.define([
|
|
|
250
250
|
|
|
251
251
|
function fnErrorCallback(error) {
|
|
252
252
|
// ignore failure at least temporarily as long as there are libraries built using outdated tools which produce no json file
|
|
253
|
-
future.errorThrows("Could not load theme parameters from: " + sUrl, error); // could be an error as well, but let's avoid more CSN messages...
|
|
253
|
+
future.errorThrows("Could not load theme parameters from: " + sUrl, { cause: error }); // could be an error as well, but let's avoid more CSN messages...
|
|
254
254
|
|
|
255
255
|
if (aWithCredentials.length > 0) {
|
|
256
256
|
// In a CORS scenario, IF we have sent credentials on the first try AND the request failed,
|
|
@@ -663,7 +663,7 @@ sap.ui.define([
|
|
|
663
663
|
if (vName instanceof Object && !Array.isArray(vName)) {
|
|
664
664
|
// async variant of Parameters.get
|
|
665
665
|
if (!vName.name) {
|
|
666
|
-
future.warningThrows("sap.ui.core.theming.Parameters
|
|
666
|
+
future.warningThrows("sap.ui.core.theming.Parameters: Get was called with an object argument without one or more parameter names.");
|
|
667
667
|
return undefined;
|
|
668
668
|
}
|
|
669
669
|
oElement = vName.scopeElement;
|
|
@@ -728,7 +728,7 @@ sap.ui.define([
|
|
|
728
728
|
});
|
|
729
729
|
|
|
730
730
|
if (!vParams || (typeof vParams === "object" && (Object.keys(vParams).length !== aNames.length))) {
|
|
731
|
-
future.errorThrows(
|
|
731
|
+
future.errorThrows(`sap.ui.core.theming.Parameters: The following parameters could not be found: "${aNames.filter((n) => vParams && !Object.hasOwn(vParams, n))}"`);
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
fnAsyncCallback(vParams);
|
|
@@ -40,17 +40,20 @@ sap.ui.define([
|
|
|
40
40
|
"sap_fiori_3_hcb",
|
|
41
41
|
"sap_fiori_3_hcw",
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
/** @deprecated Obsolete themes should be removed in main */
|
|
44
|
+
...[
|
|
45
|
+
// belize (deprecated as of 1.120)
|
|
46
|
+
"sap_belize",
|
|
47
|
+
"sap_belize_plus",
|
|
48
|
+
"sap_belize_hcb",
|
|
49
|
+
"sap_belize_hcw",
|
|
50
|
+
|
|
51
|
+
// bluecrystal (deprecated as of 1.40)
|
|
52
|
+
"sap_bluecrystal",
|
|
53
|
+
|
|
54
|
+
// hcb (deprecated as of 1.46) - the standard HCB theme, newer themes have a dedicated HCB/HCW variant
|
|
55
|
+
"sap_hcb"
|
|
56
|
+
]
|
|
54
57
|
];
|
|
55
58
|
|
|
56
59
|
// cache for already calculated theme fallbacks
|
|
@@ -154,14 +157,14 @@ sap.ui.define([
|
|
|
154
157
|
var bResult = bNoLinkElement || bSheet || bInnerHtml || bLinkElementFinishedLoading;
|
|
155
158
|
|
|
156
159
|
if (bLog) {
|
|
157
|
-
Log.debug("ThemeHelper: " + sId + ": " + bResult + " (noLinkElement: " + bNoLinkElement + ", sheet: " + bSheet + ", innerHtml: " + bInnerHtml + ", linkElementFinishedLoading: " + bLinkElementFinishedLoading + ")");
|
|
160
|
+
Log.debug("sap.ui.core.theming.ThemeHelper: " + sId + ": " + bResult + " (noLinkElement: " + bNoLinkElement + ", sheet: " + bSheet + ", innerHtml: " + bInnerHtml + ", linkElementFinishedLoading: " + bLinkElementFinishedLoading + ")");
|
|
158
161
|
}
|
|
159
162
|
|
|
160
163
|
return bResult;
|
|
161
164
|
|
|
162
165
|
} catch (e) {
|
|
163
166
|
if (bLog) {
|
|
164
|
-
future.errorThrows(
|
|
167
|
+
future.errorThrows(`sap.ui.core.theming.ThemeHelper: Error during check styles for Id: "${sId}"`, { cause: e });
|
|
165
168
|
}
|
|
166
169
|
}
|
|
167
170
|
|
|
@@ -457,7 +457,7 @@ sap.ui.define([
|
|
|
457
457
|
|
|
458
458
|
} catch (e) {
|
|
459
459
|
// parsing error
|
|
460
|
-
future.errorThrows("Custom check: Error parsing JSON string for custom.css indication.", e);
|
|
460
|
+
future.errorThrows("Custom check: Error parsing JSON string for custom.css indication.", { cause: e });
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.tmpl.Template
|
|
50
50
|
* @abstract
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.130.0
|
|
53
53
|
* @alias sap.ui.core.tmpl.HandlebarsTemplate
|
|
54
54
|
* @since 1.15
|
|
55
55
|
* @deprecated as of version 1.56. Use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
|
|
@@ -54,7 +54,7 @@ function(
|
|
|
54
54
|
* @extends sap.ui.base.ManagedObject
|
|
55
55
|
* @abstract
|
|
56
56
|
* @author SAP SE
|
|
57
|
-
* @version 1.
|
|
57
|
+
* @version 1.130.0
|
|
58
58
|
* @alias sap.ui.core.tmpl.Template
|
|
59
59
|
* @since 1.15
|
|
60
60
|
* @deprecated since 1.56, use an {@link sap.ui.core.mvc.XMLView XMLView} or a {@link topic:e6bb33d076dc4f23be50c082c271b9f0 Typed View} instead.
|