@openui5/sap.ui.core 1.129.0 → 1.130.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +16 -27
- 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/ClientTreeBinding.js +32 -19
- 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/TreeBinding.js +21 -17
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/analytics/AnalyticalBinding.js +4 -4
- 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 +58 -81
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +20 -10
- package/src/sap/ui/model/odata/v4/ODataModel.js +65 -11
- 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/_MetadataRequestor.js +49 -31
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +22 -28
- 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
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
//Provides the locale object sap.ui.core.LocaleData
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
"./CalendarType",
|
|
10
9
|
"./Lib",
|
|
11
10
|
"./Locale",
|
|
12
11
|
"sap/base/assert",
|
|
13
12
|
"sap/base/i18n/Formatting",
|
|
14
13
|
"sap/base/i18n/LanguageTag",
|
|
15
14
|
"sap/base/i18n/Localization",
|
|
15
|
+
"sap/base/i18n/date/CalendarType",
|
|
16
16
|
"sap/base/util/extend",
|
|
17
17
|
"sap/base/util/LoaderExtensions",
|
|
18
18
|
"sap/ui/base/Object",
|
|
19
19
|
"sap/ui/base/SyncPromise",
|
|
20
20
|
"sap/ui/core/date/CalendarWeekNumbering"
|
|
21
|
-
], function(
|
|
21
|
+
], function(Lib, Locale, assert, Formatting, LanguageTag, Localization, CalendarType, extend, LoaderExtensions,
|
|
22
22
|
BaseObject, SyncPromise, CalendarWeekNumbering) {
|
|
23
23
|
"use strict";
|
|
24
24
|
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
* {@link https://cldr.unicode.org/ Unicode CLDR}.
|
|
79
79
|
* @hideconstructor
|
|
80
80
|
* @public
|
|
81
|
-
* @version 1.
|
|
81
|
+
* @version 1.130.1
|
|
82
82
|
*/
|
|
83
83
|
var LocaleData = BaseObject.extend("sap.ui.core.LocaleData", /** @lends sap.ui.core.LocaleData.prototype */ {
|
|
84
84
|
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
*
|
|
118
118
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth
|
|
119
119
|
* The required width for the month names
|
|
120
|
-
* @param {sap
|
|
120
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
121
121
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
122
122
|
* locale
|
|
123
123
|
* @returns {array}
|
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
*
|
|
136
136
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth
|
|
137
137
|
* The required width for the month names
|
|
138
|
-
* @param {sap
|
|
138
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
139
139
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
140
140
|
* locale
|
|
141
141
|
* @returns {array}
|
|
@@ -302,7 +302,7 @@ sap.ui.define([
|
|
|
302
302
|
*
|
|
303
303
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth
|
|
304
304
|
* The required width for the month names
|
|
305
|
-
* @param {sap
|
|
305
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
306
306
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
307
307
|
* locale
|
|
308
308
|
* @returns {string[]}
|
|
@@ -321,7 +321,7 @@ sap.ui.define([
|
|
|
321
321
|
*
|
|
322
322
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth
|
|
323
323
|
* The required width for the month names
|
|
324
|
-
* @param {sap
|
|
324
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
325
325
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
326
326
|
* locale
|
|
327
327
|
* @returns {string[]}
|
|
@@ -339,7 +339,7 @@ sap.ui.define([
|
|
|
339
339
|
* Get day names in the given width.
|
|
340
340
|
*
|
|
341
341
|
* @param {"abbreviated"|"narrow"|"short"|"wide"} sWidth the required width for the day names
|
|
342
|
-
* @param {sap
|
|
342
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
343
343
|
* @returns {string[]} array of day names (starting with Sunday)
|
|
344
344
|
* @public
|
|
345
345
|
*/
|
|
@@ -352,7 +352,7 @@ sap.ui.define([
|
|
|
352
352
|
* Get standalone day names in the given width.
|
|
353
353
|
*
|
|
354
354
|
* @param {"abbreviated"|"narrow"|"short"|"wide"} sWidth the required width for the day names
|
|
355
|
-
* @param {sap
|
|
355
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
356
356
|
* @returns {string[]} array of day names (starting with Sunday)
|
|
357
357
|
* @public
|
|
358
358
|
*/
|
|
@@ -365,7 +365,7 @@ sap.ui.define([
|
|
|
365
365
|
* Get quarter names in the given width.
|
|
366
366
|
*
|
|
367
367
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth the required width for the quarter names
|
|
368
|
-
* @param {sap
|
|
368
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
369
369
|
* @returns {string[]} array of quarters
|
|
370
370
|
* @public
|
|
371
371
|
*/
|
|
@@ -378,7 +378,7 @@ sap.ui.define([
|
|
|
378
378
|
* Get standalone quarter names in the given width.
|
|
379
379
|
*
|
|
380
380
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth the required width for the quarter names
|
|
381
|
-
* @param {sap
|
|
381
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
382
382
|
* @returns {string[]} array of quarters
|
|
383
383
|
* @public
|
|
384
384
|
*/
|
|
@@ -391,7 +391,7 @@ sap.ui.define([
|
|
|
391
391
|
* Get day periods in the given width.
|
|
392
392
|
*
|
|
393
393
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth the required width for the day period names
|
|
394
|
-
* @param {sap
|
|
394
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
395
395
|
* @returns {string[]} array of day periods (AM, PM)
|
|
396
396
|
* @public
|
|
397
397
|
*/
|
|
@@ -404,7 +404,7 @@ sap.ui.define([
|
|
|
404
404
|
* Get standalone day periods in the given width.
|
|
405
405
|
*
|
|
406
406
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth the required width for the day period names
|
|
407
|
-
* @param {sap
|
|
407
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
408
408
|
* @returns {string[]} array of day periods (AM, PM)
|
|
409
409
|
* @public
|
|
410
410
|
*/
|
|
@@ -417,7 +417,7 @@ sap.ui.define([
|
|
|
417
417
|
* Get date pattern in the given style.
|
|
418
418
|
*
|
|
419
419
|
* @param {"full"|"long"|"medium"|"short"} sStyle the required style for the date pattern
|
|
420
|
-
* @param {sap
|
|
420
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
421
421
|
* @returns {string} the selected date pattern
|
|
422
422
|
* @public
|
|
423
423
|
*/
|
|
@@ -431,7 +431,7 @@ sap.ui.define([
|
|
|
431
431
|
*
|
|
432
432
|
* @param {string} sWidth
|
|
433
433
|
* The required width for the flexible day period names
|
|
434
|
-
* @param {sap
|
|
434
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
435
435
|
* The type of calendar. If it's not set, it falls back to the calendar type either set in
|
|
436
436
|
* configuration or calculated from locale.
|
|
437
437
|
* @returns {object|undefined}
|
|
@@ -460,7 +460,7 @@ sap.ui.define([
|
|
|
460
460
|
*
|
|
461
461
|
* @param {string} sWidth
|
|
462
462
|
* The required width for the flexible day period names
|
|
463
|
-
* @param {sap
|
|
463
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
464
464
|
* The type of calendar. If it's not set, it falls back to the calendar type either set in
|
|
465
465
|
* configuration or calculated from locale.
|
|
466
466
|
* @returns {object|undefined}
|
|
@@ -562,7 +562,7 @@ sap.ui.define([
|
|
|
562
562
|
* Get time pattern in the given style.
|
|
563
563
|
*
|
|
564
564
|
* @param {"full"|"long"|"medium"|"short"} sStyle the required style for the time pattern
|
|
565
|
-
* @param {sap
|
|
565
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
566
566
|
* @returns {string} the selected time pattern
|
|
567
567
|
* @public
|
|
568
568
|
*/
|
|
@@ -575,7 +575,7 @@ sap.ui.define([
|
|
|
575
575
|
* Get datetime pattern in the given style.
|
|
576
576
|
*
|
|
577
577
|
* @param {"full"|"long"|"medium"|"short"} sStyle the required style for the datetime pattern
|
|
578
|
-
* @param {sap
|
|
578
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
579
579
|
* @returns {string} the selected datetime pattern
|
|
580
580
|
* @public
|
|
581
581
|
*/
|
|
@@ -591,7 +591,7 @@ sap.ui.define([
|
|
|
591
591
|
*
|
|
592
592
|
* @param {"full"|"long"|"medium"|"short"} sDateStyle the required style for the date part
|
|
593
593
|
* @param {"full"|"long"|"medium"|"short"} sTimeStyle the required style for the time part
|
|
594
|
-
* @param {sap
|
|
594
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
595
595
|
* @returns {string} the combined datetime pattern
|
|
596
596
|
* @public
|
|
597
597
|
*/
|
|
@@ -618,7 +618,7 @@ sap.ui.define([
|
|
|
618
618
|
*
|
|
619
619
|
* @param {string} sDateStyle The required style for the date part
|
|
620
620
|
* @param {string} sTimeStyle The required style for the time part
|
|
621
|
-
* @param {sap
|
|
621
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] The type of calendar. If it's not set,
|
|
622
622
|
* it falls back to the calendar type either set in the configuration or calculated from
|
|
623
623
|
* the locale.
|
|
624
624
|
* @returns {string} the combined pattern with datetime and timezone
|
|
@@ -691,7 +691,7 @@ sap.ui.define([
|
|
|
691
691
|
* See https://unicode.org/reports/tr35/tr35-dates.html#availableFormats_appendItems
|
|
692
692
|
*
|
|
693
693
|
* @param {string} sSkeleton the wanted skeleton format for the datetime pattern
|
|
694
|
-
* @param {sap
|
|
694
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
695
695
|
* @returns {string} the best matching datetime pattern
|
|
696
696
|
* @since 1.34
|
|
697
697
|
* @public
|
|
@@ -708,7 +708,7 @@ sap.ui.define([
|
|
|
708
708
|
* The empty Id ("") might be used to retrieve the interval format fallback.
|
|
709
709
|
*
|
|
710
710
|
* @param {string} sId Id of the interval format, e.g. "d-d"
|
|
711
|
-
* @param {sap
|
|
711
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
712
712
|
* @returns {string} interval format string with placeholders {0} and {1}
|
|
713
713
|
* @public
|
|
714
714
|
* @since 1.17.0
|
|
@@ -738,7 +738,7 @@ sap.ui.define([
|
|
|
738
738
|
* pattern based on a given pattern, using the fallback interval pattern.
|
|
739
739
|
*
|
|
740
740
|
* @param {string} sPattern the single date pattern to use within the interval pattern
|
|
741
|
-
* @param {sap
|
|
741
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
742
742
|
* @returns {string} the calculated interval pattern
|
|
743
743
|
* @since 1.46
|
|
744
744
|
* @public
|
|
@@ -768,7 +768,7 @@ sap.ui.define([
|
|
|
768
768
|
* @param {object|string} vGreatestDiff is either a string which represents the symbol matching the greatest difference in the two dates to format or an object which contains key-value pairs.
|
|
769
769
|
* The value is always true. The key is one of the date field symbol groups whose value are different between the two dates. The key can only be set with 'Year', 'Quarter', 'Month', 'Week',
|
|
770
770
|
* 'Day', 'DayPeriod', 'Hour', 'Minute', or 'Second'.
|
|
771
|
-
* @param {sap
|
|
771
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
|
|
772
772
|
* @returns {string|string[]} the best matching interval pattern if interval difference is given otherwise an array with all possible interval patterns which match the given skeleton format
|
|
773
773
|
* @since 1.46
|
|
774
774
|
* @public
|
|
@@ -1971,7 +1971,7 @@ sap.ui.define([
|
|
|
1971
1971
|
* Returns array of eras in the given width.
|
|
1972
1972
|
*
|
|
1973
1973
|
* @param {"abbreviated"|"narrow"|"wide"} sWidth the width of the era name
|
|
1974
|
-
* @param {sap
|
|
1974
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
1975
1975
|
* The type of calendar; defaults to the calendar type either set in configuration or calculated from the
|
|
1976
1976
|
* locale
|
|
1977
1977
|
* @return {string[]} the array of eras
|
|
@@ -1993,12 +1993,15 @@ sap.ui.define([
|
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Returns the map of era IDs to era dates.
|
|
1995
1995
|
*
|
|
1996
|
-
* @param {sap
|
|
1996
|
+
* @param {module:sap/base/i18n/date/CalendarType} [sCalendarType]
|
|
1997
|
+
* The type of calendar; defaults to the calendar type either set via the "calendar-type" formatting
|
|
1998
|
+
* configuration option, see {@link topic:91f2d03b6f4d1014b6dd926db0e91070 Configuration Options and URL
|
|
1999
|
+
* Parameters}, or determined from the current locale
|
|
1997
2000
|
* @return {object[]} the array of eras containing objects with either an _end or _start property with a date
|
|
1998
2001
|
* @public
|
|
1999
2002
|
* @since 1.32.0
|
|
2000
2003
|
*/
|
|
2001
|
-
getEraDates: function(sCalendarType) {
|
|
2004
|
+
getEraDates: function(sCalendarType = Formatting.getCalendarType()) {
|
|
2002
2005
|
//TODO Adapt generation so that eradates are an array instead of object
|
|
2003
2006
|
var oEraDates = this._get("eras-" + sCalendarType.toLowerCase()),
|
|
2004
2007
|
aEraDates = [];
|
|
@@ -2009,11 +2012,13 @@ sap.ui.define([
|
|
|
2009
2012
|
},
|
|
2010
2013
|
|
|
2011
2014
|
/**
|
|
2012
|
-
* Returns the pattern for representing the calendar week number in the given style.
|
|
2015
|
+
* Returns the pattern for representing the calendar week number in the given style. If
|
|
2016
|
+
* <code>iWeekNumber</code> is given, the week number placeholder will be replaced by it.
|
|
2013
2017
|
*
|
|
2014
|
-
* @param {"narrow"|"wide"} sStyle
|
|
2015
|
-
* @param {
|
|
2016
|
-
* @
|
|
2018
|
+
* @param {"narrow"|"wide"} sStyle The style of the pattern
|
|
2019
|
+
* @param {string} [sWeekNumber] The week number, e.g. "01" or "42"
|
|
2020
|
+
* @returns {string}
|
|
2021
|
+
* The calendar week with the week number placeholder or the week number e.g. "Calendar Week {0}" or "CW 01"
|
|
2017
2022
|
*
|
|
2018
2023
|
* @public
|
|
2019
2024
|
* @since 1.32.0
|
|
@@ -2021,10 +2026,9 @@ sap.ui.define([
|
|
|
2021
2026
|
getCalendarWeek: function(sStyle, iWeekNumber) {
|
|
2022
2027
|
assert(sStyle == "wide" || sStyle == "narrow" , "sStyle must be wide or narrow");
|
|
2023
2028
|
|
|
2024
|
-
const
|
|
2025
|
-
const sKey = "date.week.calendarweek." + sStyle;
|
|
2029
|
+
const sText = this._get("sap-calendarWeek")[sStyle];
|
|
2026
2030
|
|
|
2027
|
-
return
|
|
2031
|
+
return iWeekNumber ? sText.replace("{0}", iWeekNumber) : sText;
|
|
2028
2032
|
},
|
|
2029
2033
|
|
|
2030
2034
|
/**
|
|
@@ -2040,9 +2044,10 @@ sap.ui.define([
|
|
|
2040
2044
|
},
|
|
2041
2045
|
|
|
2042
2046
|
/**
|
|
2043
|
-
* Returns the preferred calendar type for the current locale which exists in
|
|
2047
|
+
* Returns the preferred calendar type for the current locale which exists in
|
|
2048
|
+
* {@link module:sap/base/i18n/date/CalendarType}
|
|
2044
2049
|
*
|
|
2045
|
-
* @returns {sap
|
|
2050
|
+
* @returns {module:sap/base/i18n/date/CalendarType} the preferred calendar type
|
|
2046
2051
|
* @public
|
|
2047
2052
|
* @since 1.28.6
|
|
2048
2053
|
*/
|
|
@@ -2540,7 +2545,8 @@ sap.ui.define([
|
|
|
2540
2545
|
* Returns the corresponding calendar name in CLDR of the given calendar type, or the calendar type
|
|
2541
2546
|
* from the configuration, in case sCalendarType is undefined.
|
|
2542
2547
|
*
|
|
2543
|
-
* @param {sap
|
|
2548
|
+
* @param {module:sap/base/i18n/date/CalendarType} sCalendarType
|
|
2549
|
+
* The type defined in {@link module:sap/base/i18n/date/CalendarType}.
|
|
2544
2550
|
* @returns {string} calendar name
|
|
2545
2551
|
* @private
|
|
2546
2552
|
*/
|
|
@@ -165,7 +165,7 @@ sap.ui.define([
|
|
|
165
165
|
* @class The Manifest class.
|
|
166
166
|
* @extends sap.ui.base.Object
|
|
167
167
|
* @author SAP SE
|
|
168
|
-
* @version 1.
|
|
168
|
+
* @version 1.130.1
|
|
169
169
|
* @alias sap.ui.core.Manifest
|
|
170
170
|
* @since 1.33.0
|
|
171
171
|
*/
|
|
@@ -631,7 +631,7 @@ sap.ui.define([
|
|
|
631
631
|
var sResourceRootPath = mResourceRoots[sResourceRoot];
|
|
632
632
|
var oResourceRootURI = new URI(sResourceRootPath);
|
|
633
633
|
if (oResourceRootURI.is("absolute") || (oResourceRootURI.path() && oResourceRootURI.path()[0] === "/")) {
|
|
634
|
-
future.errorThrows(
|
|
634
|
+
future.errorThrows(`${this.getComponentName()}: Resource root for "${sResourceRoot}" is absolute and therefore won't be registered! "${sResourceRootPath}"`);
|
|
635
635
|
continue;
|
|
636
636
|
}
|
|
637
637
|
sResourceRootPath = this.resolveUri(sResourceRootPath);
|
|
@@ -6,39 +6,41 @@
|
|
|
6
6
|
|
|
7
7
|
// Provides the render manager sap.ui.core.RenderManager
|
|
8
8
|
sap.ui.define([
|
|
9
|
+
"./ControlBehavior",
|
|
10
|
+
"./FocusHandler",
|
|
11
|
+
"./InvisibleRenderer",
|
|
9
12
|
'./LabelEnablement',
|
|
10
|
-
|
|
11
|
-
'sap/ui/performance/trace/Interaction',
|
|
12
|
-
'sap/base/util/uid',
|
|
13
|
-
"sap/ui/util/ActivityDetection",
|
|
14
|
-
"sap/ui/thirdparty/jquery",
|
|
15
|
-
"sap/base/security/encodeXML",
|
|
16
|
-
"sap/base/security/encodeCSS",
|
|
13
|
+
"./Patcher",
|
|
17
14
|
"sap/base/assert",
|
|
18
|
-
"sap/
|
|
15
|
+
"sap/base/future",
|
|
19
16
|
"sap/base/Log",
|
|
17
|
+
"sap/base/security/encodeCSS",
|
|
18
|
+
"sap/base/security/encodeXML",
|
|
20
19
|
"sap/base/util/extend",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
20
|
+
'sap/base/util/uid',
|
|
21
|
+
'sap/ui/base/Object',
|
|
22
|
+
"sap/ui/performance/Measurement",
|
|
23
|
+
'sap/ui/performance/trace/Interaction',
|
|
24
|
+
"sap/ui/thirdparty/jquery",
|
|
25
|
+
"sap/ui/util/ActivityDetection"
|
|
25
26
|
], function(
|
|
27
|
+
ControlBehavior,
|
|
28
|
+
FocusHandler,
|
|
29
|
+
InvisibleRenderer,
|
|
26
30
|
LabelEnablement,
|
|
27
|
-
|
|
28
|
-
Interaction,
|
|
29
|
-
uid,
|
|
30
|
-
ActivityDetection,
|
|
31
|
-
jQuery,
|
|
32
|
-
encodeXML,
|
|
33
|
-
encodeCSS,
|
|
31
|
+
Patcher,
|
|
34
32
|
assert,
|
|
35
|
-
|
|
33
|
+
future,
|
|
36
34
|
Log,
|
|
35
|
+
encodeCSS,
|
|
36
|
+
encodeXML,
|
|
37
37
|
extend,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
uid,
|
|
39
|
+
BaseObject,
|
|
40
|
+
Measurement,
|
|
41
|
+
Interaction,
|
|
42
|
+
jQuery,
|
|
43
|
+
ActivityDetection
|
|
42
44
|
) {
|
|
43
45
|
|
|
44
46
|
"use strict";
|
|
@@ -239,7 +241,7 @@ sap.ui.define([
|
|
|
239
241
|
*
|
|
240
242
|
* @extends Object
|
|
241
243
|
* @author SAP SE
|
|
242
|
-
* @version 1.
|
|
244
|
+
* @version 1.130.1
|
|
243
245
|
* @alias sap.ui.core.RenderManager
|
|
244
246
|
* @hideconstructor
|
|
245
247
|
* @public
|
|
@@ -1971,13 +1973,20 @@ sap.ui.define([
|
|
|
1971
1973
|
RenderManager.prototype.icon = function(sURI, aClasses, mAttributes){
|
|
1972
1974
|
var IconPool = sap.ui.require("sap/ui/core/IconPool");
|
|
1973
1975
|
if (!IconPool) {
|
|
1974
|
-
|
|
1975
|
-
"
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1976
|
+
future.warningThrows(
|
|
1977
|
+
"sap/ui/core/IconPool must be loaded before sap.ui.core.RenderManager#icon can be called.",
|
|
1978
|
+
{
|
|
1979
|
+
suffix: "Falling back to synchronous loading of IconPool"
|
|
1980
|
+
},
|
|
1981
|
+
"SyncXHR",
|
|
1982
|
+
null,
|
|
1983
|
+
function() {
|
|
1984
|
+
return {
|
|
1985
|
+
type: "SyncXHR",
|
|
1986
|
+
name: "rendermanager-icon"
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
);
|
|
1981
1990
|
IconPool = sap.ui.requireSync("sap/ui/core/IconPool"); // legacy-relevant: Sync fallback
|
|
1982
1991
|
}
|
|
1983
1992
|
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* The ScrollBar control can be used for virtual scrolling of a certain area.
|
|
45
45
|
* This means: to simulate a very large scrollable area when technically the area is small and the control takes care of displaying the respective part only. E.g. a Table control can take care of only rendering the currently visible rows and use this ScrollBar control to make the user think he actually scrolls through a long list.
|
|
46
46
|
* @extends sap.ui.core.Control
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.130.1
|
|
48
48
|
*
|
|
49
49
|
* @public
|
|
50
50
|
* @deprecated As of version 1.56, the concept has been discarded.
|
|
@@ -122,7 +122,6 @@ sap.ui.define([
|
|
|
122
122
|
|
|
123
123
|
oFirstFocusElement.setAttribute("id", StaticArea.STATIC_UIAREA_ID + "-firstfe");
|
|
124
124
|
oFirstFocusElement.setAttribute("tabindex", -1);
|
|
125
|
-
oFirstFocusElement.setAttribute("aria-hidden", true);
|
|
126
125
|
oFirstFocusElement.style.fontSize = 0;
|
|
127
126
|
|
|
128
127
|
oStaticArea.appendChild(oFirstFocusElement);
|
package/src/sap/ui/core/Title.js
CHANGED
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class
|
|
33
33
|
* Abstract class that can be extended in order to implement any extended tooltip. For example, RichTooltip Control is based on it. It provides the opening/closing behavior and the main "text" property.
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.130.1
|
|
36
36
|
*
|
|
37
37
|
* @public
|
|
38
38
|
* @alias sap.ui.core.TooltipBase
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
*
|
|
171
171
|
* @extends sap.ui.base.ManagedObject
|
|
172
172
|
* @author SAP SE
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.130.1
|
|
174
174
|
* @param {object} [oRootNode] reference to the DOM element that should be 'hosting' the UI Area.
|
|
175
175
|
* @public
|
|
176
176
|
* @alias sap.ui.core.UIArea
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.ui.core.Component
|
|
60
60
|
* @abstract
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.130.1
|
|
63
63
|
* @alias sap.ui.core.UIComponent
|
|
64
64
|
* @since 1.9.2
|
|
65
65
|
*/
|
|
@@ -440,7 +440,7 @@ sap.ui.define([
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
if (!fnConstructor) {
|
|
443
|
-
future.errorThrows(
|
|
443
|
+
future.errorThrows(`${this}: The specified class for router or targets "${vRoutingObjectConstructor}" is undefined.`);
|
|
444
444
|
}
|
|
445
445
|
} else {
|
|
446
446
|
fnConstructor = vRoutingObjectConstructor;
|
|
@@ -470,7 +470,7 @@ sap.ui.define([
|
|
|
470
470
|
UIComponent.prototype.rootControlLoaded = function() {
|
|
471
471
|
if (!this.pRootControlLoaded) {
|
|
472
472
|
future.errorThrows(
|
|
473
|
-
"Mandatory init() not called for UIComponent: '" + this.getManifestObject().getComponentName() + "'.
|
|
473
|
+
"Mandatory init() not called for UIComponent: '" + this.getManifestObject().getComponentName() + "'. A sub-class of sap.ui.core.UIComponent which overrides the init() function must apply the super init() function as well.",
|
|
474
474
|
null,
|
|
475
475
|
"sap.ui.support",
|
|
476
476
|
function() {
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['./ComponentMetadata', 'sap/ui/core/mvc/ViewType'],
|
|
|
18
18
|
* @experimental Since 1.15.1. The Component concept is still under construction, so some implementation details can be changed in future.
|
|
19
19
|
* @class
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.130.1
|
|
22
22
|
* @since 1.15.1
|
|
23
23
|
* @alias sap.ui.core.UIComponentMetadata
|
|
24
24
|
* @extends sap.ui.core.ComponentMetadata
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./LayoutData', './library'],
|
|
|
20
20
|
* @class
|
|
21
21
|
* Allows to add multiple LayoutData to one control in case that an easy switch of layouts (e.g. in a Form) is needed.
|
|
22
22
|
* @extends sap.ui.core.LayoutData
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.130.1
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
* @since 1.9.2
|
|
@@ -148,7 +148,7 @@ sap.ui.define([
|
|
|
148
148
|
* @extends sap.ui.core.Control
|
|
149
149
|
*
|
|
150
150
|
* @author SAP SE
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.130.1
|
|
152
152
|
* @since 1.56.0
|
|
153
153
|
* @alias sap.ui.core.XMLComposite
|
|
154
154
|
* @see {@link topic:b83a4dcb7d0e46969027345b8d32fd44 XML Composite Controls}
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @param {object} oClassInfo static info to construct the metadata from
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.130.1
|
|
33
33
|
* @since 1.50.0
|
|
34
34
|
* @alias sap.ui.core.XMLCompositeMetadata
|
|
35
35
|
* @extends sap.ui.core.ElementMetadata
|
|
@@ -865,7 +865,7 @@ function(
|
|
|
865
865
|
}
|
|
866
866
|
})();
|
|
867
867
|
|
|
868
|
-
future.errorThrows(sErrorLogMessage
|
|
868
|
+
future.errorThrows(`XMLTemplateProcessor: ${sErrorLogMessage}`);
|
|
869
869
|
}
|
|
870
870
|
return fnClass;
|
|
871
871
|
}
|
|
@@ -927,7 +927,7 @@ function(
|
|
|
927
927
|
if ( node.nodeType === 1 /* ELEMENT_NODE */ ) {
|
|
928
928
|
// Using native HTML in future is not allowed. We need to check explicitely in order to throw
|
|
929
929
|
if (node.namespaceURI === XHTML_NAMESPACE || node.namespaceURI === SVG_NAMESPACE) {
|
|
930
|
-
future.warningThrows(
|
|
930
|
+
future.warningThrows(`${oView.getId()}: Using native HTML content in XMLViews is deprecated.`);
|
|
931
931
|
}
|
|
932
932
|
/**
|
|
933
933
|
* Differentiate between SAPUI5 and plain-HTML children
|
|
@@ -1338,7 +1338,7 @@ function(
|
|
|
1338
1338
|
try {
|
|
1339
1339
|
mMetaContextsInfo = XMLTemplateProcessor._calculatedModelMapping(sValue, oView._oContainingView.oController, true);
|
|
1340
1340
|
} catch (e) {
|
|
1341
|
-
future.errorThrows(
|
|
1341
|
+
future.errorThrows(`Failed to parse metadataContexts in view "${oView}"`, { cause: e });
|
|
1342
1342
|
}
|
|
1343
1343
|
|
|
1344
1344
|
if (mMetaContextsInfo) {
|