@sapui5/sap.ushell 1.128.0 → 1.129.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/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +45 -0
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +12 -5
- package/src/main/js/sap/ushell/Fiori20Adapter.js +32 -10
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +17 -14
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/UIActions.js +11 -0
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/Copilot.js +42 -0
- package/src/main/js/sap/ushell/api/Inbox.js +5 -164
- package/src/main/js/sap/ushell/api/S4MyHome.js +132 -0
- package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +215 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +26 -23
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_sappsd.properties +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_saptrc.properties +5 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_sappsd.properties +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_saptrc.properties +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +10 -12
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +2 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +2 -8
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -3
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +5 -7
- package/src/main/js/sap/ushell/components/appfinder/Component.js +9 -9
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +6 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +689 -592
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +5 -5
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +6 -28
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +6 -163
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +9 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_sappsd.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_saptrc.properties +37 -37
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_sappsd.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_saptrc.properties +9 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_sappsd.properties +32 -32
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saptrc.properties +109 -109
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +1 -1
- package/src/main/js/sap/ushell/components/container/resources/resources_en_US_saptrc.properties +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +18 -15
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +27 -20
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +100 -7
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -8
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +16 -0
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ar.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_bg.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ca.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cs.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cy.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_da.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_el.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_GB.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_sappsd.properties +7 -5
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +7 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saptrc.properties +26 -24
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es_MX.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_et.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fi.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr_CA.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hi.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hr.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hu.properties +6 -3
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_id.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_it.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_iw.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ja.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_kk.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ko.properties +6 -3
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lt.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lv.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ms.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_nl.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_no.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pl.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt_PT.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ro.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ru.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sk.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sl.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sv.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_th.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_tr.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_uk.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_vi.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_CN.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_TW.properties +4 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +275 -127
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +61 -24
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchList.fragment.xml +73 -0
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +20 -10
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ar.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_bg.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ca.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cnr.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cs.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_cy.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_da.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_de.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_el.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_GB.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_en_US_saprigi.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_es_MX.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_et.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fi.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_fr_CA.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hi.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hr.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_hu.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_id.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_it.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_iw.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ja.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_kk.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ko.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lt.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_lv.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_mk.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ms.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_nl.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_no.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pl.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_pt_PT.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ro.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_ru.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sh.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sk.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sl.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sr.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_sv.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_th.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_tr.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_uk.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_vi.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_CN.properties +3 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources_zh_TW.properties +3 -0
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +12 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +1158 -0
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/FloatingContainer.fragment.xml +17 -0
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +55 -0
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +84 -0
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +3 -0
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.view.xml +3 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +15 -6
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +43 -62
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +8 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +27 -26
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +68 -67
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +3 -4
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/iconfonts.js +36 -420
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_sappsd.properties +3 -3
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_saptrc.properties +8 -8
- package/src/main/js/sap/ushell/renderer/Renderer.js +135 -127
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +694 -1182
- package/src/main/js/sap/ushell/renderer/Shell.view.js +38 -102
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_sappsd.properties +128 -130
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saptrc.properties +989 -991
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +2 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +1 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +1 -0
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/{components/_HeaderManager → renderer/shellHeader}/ShellHeader.controller.js +1 -5
- package/src/main/js/sap/ushell/{ui → renderer/shellHeader}/ShellHeader.fragment.xml +6 -3
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +36 -100
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +11 -3
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +44 -156
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -4
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +100 -65
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +2 -3
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +4 -4
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +2 -2
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/state/BindingHelper.js +79 -0
- package/src/main/js/sap/ushell/state/StateManager.js +4 -2
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +36 -0
- package/src/main/js/sap/ushell/state/StrategyFactory.js +6 -0
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/UserSettings.less +0 -12
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +393 -384
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/UserSettings.less +0 -13
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/UserSettings.less +0 -13
- package/src/main/js/sap/ushell/themes/sap_hcb/base_UserSettings.less +0 -13
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +18 -6
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +3 -0
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +811 -22
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +477 -0
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/WindowUtils.js +21 -18
- package/src/main/js/sap/ushell/utils/tilecard/resources/resources_en_US_sappsd.properties +5 -0
- package/src/main/js/sap/ushell/utils/tilecard/resources/resources_en_US_saptrc.properties +5 -0
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +68 -25
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +64 -9
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +3 -2
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources.properties +14 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +28 -16
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +29 -17
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +26 -14
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cnr.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +15 -3
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +15 -3
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +19 -7
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +13 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +18 -6
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_sappsd.properties +28 -27
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +78 -66
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saptrc.properties +68 -67
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +44 -32
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +24 -12
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +29 -17
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +19 -7
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +20 -8
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +27 -15
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +19 -7
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +13 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +18 -6
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +13 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +19 -7
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +21 -9
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +14 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +19 -7
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +31 -19
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_mk.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +17 -5
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +17 -5
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +17 -5
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +17 -5
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +34 -22
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +15 -3
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +15 -3
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +16 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +27 -15
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sr.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +14 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +18 -6
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +22 -10
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +15 -3
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +24 -12
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +13 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +17 -5
- package/src/main/js/sap/ushell/utils.js +14 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +5 -3
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/ui/shell/FloatingContainer.js +0 -238
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +0 -746
- /package/src/main/js/sap/ushell/{ui → renderer}/RendererRootView.fragment.xml +0 -0
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @fileOverview The ShellUIService UI5 service factory
|
|
5
|
+
*
|
|
6
|
+
* @version 1.129.0
|
|
7
|
+
*/
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/base/util/Deferred",
|
|
10
|
+
"sap/ui/base/EventProvider",
|
|
11
|
+
"sap/ui/core/Component",
|
|
12
|
+
"sap/ui/core/service/ServiceFactory",
|
|
13
|
+
"sap/ushell/Container",
|
|
14
|
+
"sap/ushell/EventHub",
|
|
15
|
+
"sap/ushell/ui5service/ShellUIService",
|
|
16
|
+
"sap/ushell/utils"
|
|
17
|
+
], (
|
|
18
|
+
Deferred,
|
|
19
|
+
EventProvider,
|
|
20
|
+
Component,
|
|
21
|
+
ServiceFactory,
|
|
22
|
+
Container,
|
|
23
|
+
EventHub,
|
|
24
|
+
ShellUIService,
|
|
25
|
+
ushellUtils
|
|
26
|
+
) => {
|
|
27
|
+
"use strict";
|
|
28
|
+
|
|
29
|
+
const sBackNavigationChanged = "backNavigationChanged";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @alias sap.ushell.ui5service.ShellUIServiceFactory
|
|
33
|
+
* @namespace
|
|
34
|
+
* @description Factory for creating instances of ShellUIService.
|
|
35
|
+
* The factory should be retrieved directly via {@link sap.ui.core.service.ServiceFactoryRegistry#get}.
|
|
36
|
+
*
|
|
37
|
+
* @hideconstructor
|
|
38
|
+
* @extends sap.ui.core.service.ServiceFactory
|
|
39
|
+
*
|
|
40
|
+
* @since 1.129.0
|
|
41
|
+
* @private
|
|
42
|
+
* @ui5-restricted sap.suite.ui.generic
|
|
43
|
+
*/
|
|
44
|
+
const ShellUIServiceFactory = ServiceFactory.extend("sap.ushell.ui5service.ShellUIServiceFactory", /** @lends sap.ushell.ui5service.ShellUIServiceFactory.prototype */ {
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Overwrites the default implementation of constructor of ServiceFactory
|
|
48
|
+
* to initialize the map to store the instances of ShellUIService and
|
|
49
|
+
* to store the current application instance and the root intent.
|
|
50
|
+
*
|
|
51
|
+
* @since 1.129.0
|
|
52
|
+
* @private
|
|
53
|
+
*/
|
|
54
|
+
constructor: function () {
|
|
55
|
+
ServiceFactory.apply(this, arguments);
|
|
56
|
+
|
|
57
|
+
this._mServiceInstances = new Map();
|
|
58
|
+
this._oGlobalServiceInstance = null;
|
|
59
|
+
this._oCurrentApplication = null;
|
|
60
|
+
this._oEventProvider = new EventProvider();
|
|
61
|
+
this._aDoables = [];
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Initializes the AppLifeCycle ushell service and attaches the necessary event handlers to handle service resolving
|
|
66
|
+
* and deletion. The functions are attached as handlers.
|
|
67
|
+
*
|
|
68
|
+
* @returns {Promise} A promise that resolves when factory is initialized.
|
|
69
|
+
*
|
|
70
|
+
* @since 1.129.0
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
init: async function () {
|
|
74
|
+
this._AppLifeCycle = await Container.getServiceAsync("AppLifeCycle");
|
|
75
|
+
|
|
76
|
+
this._AppLifeCycle.attachAppLoaded(this._handleAppOpened, this);
|
|
77
|
+
|
|
78
|
+
const oDoable = EventHub.on("reloadCurrentApp").do(this._handleReloadCurrentApp.bind(this));
|
|
79
|
+
this._aDoables.push(oDoable);
|
|
80
|
+
|
|
81
|
+
// pre create global service
|
|
82
|
+
await this.createInstanceInternal();
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Handles the initial values (title, relatedApps and hierarchy) for the current application
|
|
87
|
+
*
|
|
88
|
+
* @since 1.129.0
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
_setInitialAppValues: function () {
|
|
92
|
+
if (this._oCurrentApplication?.componentInstance) {
|
|
93
|
+
const oEntry = this._mServiceInstances.get(this._oCurrentApplication.componentInstance.getId());
|
|
94
|
+
|
|
95
|
+
if (oEntry?.instance) {
|
|
96
|
+
// no init requires already handled by app specific service
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
if (ushellUtils.isFlpHomeIntent()) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// set the current application as the scopeObject
|
|
106
|
+
this._oGlobalServiceInstance.getContext().scopeObject = this._oCurrentApplication.componentInstance || {};
|
|
107
|
+
// reset title, relatedApps and hierarchy
|
|
108
|
+
this._oGlobalServiceInstance.initService();
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Handles the app opened event.
|
|
113
|
+
* Resolves the deferred promise of the service instance if the current application is the same as the scopeObject
|
|
114
|
+
* @param {sap.ui.base.Event} oEvent The event object
|
|
115
|
+
*
|
|
116
|
+
* @since 1.129.0
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
_handleAppOpened: function (oEvent) {
|
|
120
|
+
this._oCurrentApplication = oEvent.getParameters();
|
|
121
|
+
|
|
122
|
+
// deactivate all services and activate the one for the current application
|
|
123
|
+
this._setServiceActive(null);
|
|
124
|
+
|
|
125
|
+
if (this._oCurrentApplication?.componentInstance) {
|
|
126
|
+
const oAppRootComponent = this._oCurrentApplication.componentInstance;
|
|
127
|
+
|
|
128
|
+
this._setServiceActive(oAppRootComponent);
|
|
129
|
+
|
|
130
|
+
this._resolveServiceInstance(oAppRootComponent);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// todo: calling this should be done by the AppLifeCycle service
|
|
134
|
+
// However, the current implementation of the AppLifeCycle service
|
|
135
|
+
// does not provide a easy way or point in time to do this
|
|
136
|
+
this._setInitialAppValues();
|
|
137
|
+
},
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Activates the given component instance.
|
|
141
|
+
* Called for keep alive apps.
|
|
142
|
+
*
|
|
143
|
+
* @param {object} oStorageEntry The storage entry of the component instance to be activated
|
|
144
|
+
*
|
|
145
|
+
* @since 1.129.0
|
|
146
|
+
* @private
|
|
147
|
+
*/
|
|
148
|
+
restore: function (oStorageEntry) {
|
|
149
|
+
const oComponentInstance = oStorageEntry.app;
|
|
150
|
+
if (!oComponentInstance) {
|
|
151
|
+
// No UI5 app
|
|
152
|
+
this._setServiceActive(null);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
this._oCurrentApplication = { componentInstance: oComponentInstance };
|
|
157
|
+
|
|
158
|
+
this._setServiceActive(this._oCurrentApplication.componentInstance);
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Handles the reload application event.
|
|
163
|
+
*
|
|
164
|
+
* @since 1.129.0
|
|
165
|
+
* @private
|
|
166
|
+
*/
|
|
167
|
+
_handleReloadCurrentApp: function () {
|
|
168
|
+
this._oCurrentApplication = null;
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Handles the service destroyed event.
|
|
173
|
+
* Removes the service from the internal map.
|
|
174
|
+
* @param {object} oEvent The event object
|
|
175
|
+
* @param {object} oContext The component context
|
|
176
|
+
*
|
|
177
|
+
* @since 1.129.0
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
180
|
+
_handleServiceDestroyed: function (oEvent, oContext) {
|
|
181
|
+
this._mServiceInstances.delete(oContext.id);
|
|
182
|
+
},
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Attaches event handlers to the backNavigationChanged event.
|
|
186
|
+
* @param {object} oData An object that will be passed to the handler along with the event object when the event is fired
|
|
187
|
+
* @param {function} fnHandler The handler function to call when the event occurs.
|
|
188
|
+
* @param {object} oListener The data to be passed to the event handler.
|
|
189
|
+
*
|
|
190
|
+
* @since 1.129.0
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
attachBackNavigationChanged: function (...args) {
|
|
194
|
+
this._oEventProvider.attachEvent(sBackNavigationChanged, ...args);
|
|
195
|
+
},
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* detaches event handlers to the backNavigationChanged event.
|
|
199
|
+
* @param {function} fnHandler The handler function.
|
|
200
|
+
* @param {object} oListener The data to be passed to the event handler.
|
|
201
|
+
*
|
|
202
|
+
* @since 1.129.0
|
|
203
|
+
* @private
|
|
204
|
+
*/
|
|
205
|
+
detachBackNavigationChanged: function (...args) {
|
|
206
|
+
this._oEventProvider.detachEvent(sBackNavigationChanged, ...args);
|
|
207
|
+
},
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Handles the back navigation change event by firing the backNavigationChanged event.
|
|
211
|
+
*
|
|
212
|
+
* @param {sap.ui.base.Event} oEvent The event object
|
|
213
|
+
*
|
|
214
|
+
* @since 1.129.0
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
_handleBackNavigationChanged: function (oEvent) {
|
|
218
|
+
const oParameters = oEvent.getParameters();
|
|
219
|
+
this._oEventProvider.fireEvent(sBackNavigationChanged, oParameters);
|
|
220
|
+
},
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Overwrites the default implementation of createInstance of ServiceFactory
|
|
224
|
+
* to create a new instance of ShellUIService and attach the handlers to it.
|
|
225
|
+
* The instance is then stored in a map with the scopeObject id as the key.
|
|
226
|
+
* If the current application is the same as the scopeObject derived from
|
|
227
|
+
* the parameter oServiceContext , the instance is resolved immediately.
|
|
228
|
+
* Otherwise, the instance is resolved when the current application is loaded.
|
|
229
|
+
*
|
|
230
|
+
* @param {sap.ui.core.service.Service.Context} oServiceContext The context for which the service should be created
|
|
231
|
+
* @returns {Promise<sap.ushell.ui5service.ShellUIService>} A promise that resolves with the ShellUIService instance
|
|
232
|
+
*
|
|
233
|
+
* @since 1.129.0
|
|
234
|
+
* @private
|
|
235
|
+
* @ui5-restricted sap.suite.ui.generic
|
|
236
|
+
*/
|
|
237
|
+
createInstance: async function (oServiceContext) {
|
|
238
|
+
if (!oServiceContext || !oServiceContext.scopeObject) {
|
|
239
|
+
throw new Error("No service context provided");
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
const sScopeObjectId = oServiceContext.scopeObject.getId();
|
|
243
|
+
|
|
244
|
+
/*
|
|
245
|
+
* Usually the service caching is done as part of the ui5 component handling.
|
|
246
|
+
* However, for Fiori2Adaptation we need to handle the caching here as well.
|
|
247
|
+
*/
|
|
248
|
+
const oStoredEntry = this._mServiceInstances.get(sScopeObjectId);
|
|
249
|
+
if (oStoredEntry) {
|
|
250
|
+
return oStoredEntry.deferred.promise;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// Enhance settings object for easier debugging
|
|
254
|
+
oServiceContext.settings = oServiceContext.settings || {};
|
|
255
|
+
oServiceContext.settings.isGlobal = false;
|
|
256
|
+
oServiceContext.settings.id = sScopeObjectId;
|
|
257
|
+
|
|
258
|
+
const oService = new ShellUIService(oServiceContext);
|
|
259
|
+
oService.attachBackNavigationChanged(this._handleBackNavigationChanged, this);
|
|
260
|
+
oService.attachServiceDestroyed({ id: sScopeObjectId }, this._handleServiceDestroyed, this);
|
|
261
|
+
|
|
262
|
+
const oEntry = {
|
|
263
|
+
instance: oService,
|
|
264
|
+
scopeObject: oServiceContext.scopeObject || {},
|
|
265
|
+
deferred: new Deferred(),
|
|
266
|
+
resolved: false
|
|
267
|
+
};
|
|
268
|
+
this._mServiceInstances.set(sScopeObjectId, oEntry);
|
|
269
|
+
|
|
270
|
+
// If the current application has already been updated to the scopeObject in the appLoaded event, resolve the promise immediately
|
|
271
|
+
const oAppRootComponent = this._getRootComponent(oServiceContext.scopeObject);
|
|
272
|
+
if (this._isComponentActive(oAppRootComponent)) {
|
|
273
|
+
this._resolveServiceInstance(oAppRootComponent);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
return oEntry.deferred.promise;
|
|
277
|
+
},
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Recursively gets the root component of the given component.
|
|
281
|
+
* @param {sap.ui.core.Component} oComponent The component to get the root component for.
|
|
282
|
+
* @returns {sap.ui.core.Component} The root component
|
|
283
|
+
*
|
|
284
|
+
* @since 1.129.0
|
|
285
|
+
* @private
|
|
286
|
+
*/
|
|
287
|
+
_getRootComponent: function (oComponent) {
|
|
288
|
+
if (!oComponent) {
|
|
289
|
+
return null;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
const oOwnerComponent = Component.getOwnerComponentFor(oComponent);
|
|
293
|
+
if (!oOwnerComponent) {
|
|
294
|
+
return oComponent;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// FLP Components have renderer as owner component
|
|
298
|
+
if (oOwnerComponent.isA("sap.ushell.renderer.Renderer")) {
|
|
299
|
+
return oComponent;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
return this._getRootComponent(oOwnerComponent);
|
|
303
|
+
},
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Checks if the given component or its owner component is the active component.
|
|
307
|
+
* The component has to be a "root component".
|
|
308
|
+
* @param {sap.ui.core.Component} [oComponent] The component to be checked.
|
|
309
|
+
* @returns {boolean} Whether the component is the active component.
|
|
310
|
+
*
|
|
311
|
+
* @since 1.129.0
|
|
312
|
+
* @private
|
|
313
|
+
*/
|
|
314
|
+
_isComponentActive: function (oComponent) {
|
|
315
|
+
const oActiveComponent = this._oCurrentApplication?.componentInstance;
|
|
316
|
+
|
|
317
|
+
if (!oActiveComponent || !oComponent) {
|
|
318
|
+
return false;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
return oComponent === oActiveComponent;
|
|
322
|
+
},
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Implementation of internal service instance creation of ServiceFactory
|
|
326
|
+
* Similar to createInstance, but does not attach the handlers to the service.
|
|
327
|
+
* Furthermore, the service is marked as global service, and the instance is resolved immediately.
|
|
328
|
+
*
|
|
329
|
+
* @returns {Promise<sap.ushell.ui5service.ShellUIService>} A promise that resolves with the ShellUIService instance
|
|
330
|
+
*
|
|
331
|
+
* @since 1.129.0
|
|
332
|
+
* @private
|
|
333
|
+
*/
|
|
334
|
+
createInstanceInternal: async function () {
|
|
335
|
+
if (this._oGlobalServiceInstance) {
|
|
336
|
+
return this._oGlobalServiceInstance;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
const oGlobalServiceContext = {
|
|
340
|
+
scopeObject: {
|
|
341
|
+
getId: function () {
|
|
342
|
+
return "";
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
scopeType: "component",
|
|
346
|
+
settings: {
|
|
347
|
+
isGlobal: true // mark as global service for easier debugging
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
this._oGlobalServiceInstance = new ShellUIService(oGlobalServiceContext);
|
|
352
|
+
this._oGlobalServiceInstance.attachBackNavigationChanged(this._handleBackNavigationChanged, this);
|
|
353
|
+
|
|
354
|
+
return this._oGlobalServiceInstance;
|
|
355
|
+
},
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Sets the related service instances as active and deactivates all other instances.
|
|
359
|
+
* The global service is always active.
|
|
360
|
+
* @param {sap.ui.core.Component} [oAppRootComponent] The "root component" for which the service should be active.
|
|
361
|
+
*
|
|
362
|
+
* @since 1.129.0
|
|
363
|
+
* @private
|
|
364
|
+
*/
|
|
365
|
+
_setServiceActive (oAppRootComponent) {
|
|
366
|
+
this._mServiceInstances.forEach((oEntry) => {
|
|
367
|
+
const oEntryRootComponent = this._getRootComponent(oEntry.scopeObject);
|
|
368
|
+
|
|
369
|
+
if (!oAppRootComponent) {
|
|
370
|
+
oEntry.instance.setActive(false);
|
|
371
|
+
} else if (oEntryRootComponent === oAppRootComponent) {
|
|
372
|
+
oEntry.instance.setActive(true);
|
|
373
|
+
} else {
|
|
374
|
+
oEntry.instance.setActive(false);
|
|
375
|
+
}
|
|
376
|
+
});
|
|
377
|
+
},
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Resolves the related service instances for the given component.
|
|
381
|
+
* Considers also the owner component of the given component.
|
|
382
|
+
* @param {sap.ui.core.Component} [oAppRootComponent] The "root component" for which the service should be resolved.
|
|
383
|
+
*
|
|
384
|
+
* @since 1.129.0
|
|
385
|
+
* @private
|
|
386
|
+
*/
|
|
387
|
+
_resolveServiceInstance (oAppRootComponent) {
|
|
388
|
+
if (!oAppRootComponent) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
this._mServiceInstances.forEach((oEntry) => {
|
|
393
|
+
const oEntryRootComponent = this._getRootComponent(oEntry.scopeObject);
|
|
394
|
+
const bRelatedEntry = oEntryRootComponent === oAppRootComponent;
|
|
395
|
+
|
|
396
|
+
if (bRelatedEntry && !oEntry.resolved) {
|
|
397
|
+
/*
|
|
398
|
+
* Initialize values once(!!) on startup of the app
|
|
399
|
+
* Init auto handling for all services
|
|
400
|
+
*/
|
|
401
|
+
const bSkipInitialValues = this._hasResolvedInstances(oAppRootComponent);
|
|
402
|
+
oEntry.instance.initService(bSkipInitialValues);
|
|
403
|
+
|
|
404
|
+
oEntry.resolved = true;
|
|
405
|
+
oEntry.deferred.resolve(oEntry.instance);
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
},
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Checks if at least one instance for the given component has been resolved.
|
|
412
|
+
* @param {sap.ui.core.Component} [oAppRootComponent] The "root component" to be checked.
|
|
413
|
+
* @returns {boolean} Whether at least one instance has been resolved.
|
|
414
|
+
*
|
|
415
|
+
* @since 1.129.0
|
|
416
|
+
* @private
|
|
417
|
+
*/
|
|
418
|
+
_hasResolvedInstances (oAppRootComponent) {
|
|
419
|
+
if (!oAppRootComponent) {
|
|
420
|
+
return false;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
return Array.from(this._mServiceInstances.values()).some((oEntry) => {
|
|
424
|
+
const oEntryRootComponent = this._getRootComponent(oEntry.scopeObject);
|
|
425
|
+
const bRelatedEntry = oEntryRootComponent === oAppRootComponent;
|
|
426
|
+
|
|
427
|
+
return bRelatedEntry && oEntry.resolved;
|
|
428
|
+
});
|
|
429
|
+
},
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Destroys all instances of ShellUIService and the event provider.
|
|
433
|
+
*
|
|
434
|
+
* @since 1.129.0
|
|
435
|
+
* @private
|
|
436
|
+
*/
|
|
437
|
+
destroy () {
|
|
438
|
+
ServiceFactory.prototype.destroy.apply(this, arguments);
|
|
439
|
+
|
|
440
|
+
this._aDoables.forEach((oDoable) => {
|
|
441
|
+
oDoable.off();
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
this._AppLifeCycle?.detachAppLoaded?.(this._handleAppOpened, this);
|
|
445
|
+
|
|
446
|
+
this._mServiceInstances.forEach((oEntry) => {
|
|
447
|
+
oEntry.instance.destroy();
|
|
448
|
+
});
|
|
449
|
+
|
|
450
|
+
this._oGlobalServiceInstance?.destroy?.();
|
|
451
|
+
this._oEventProvider.destroy();
|
|
452
|
+
|
|
453
|
+
this._oGlobalServiceInstance = null;
|
|
454
|
+
this._mServiceInstances = null;
|
|
455
|
+
this._oCurrentApplication = null;
|
|
456
|
+
this._AppLifeCycle = null;
|
|
457
|
+
this._aDoables = null;
|
|
458
|
+
},
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* ONLY FOR TESTING!
|
|
462
|
+
* Resets the ShellUIServiceFactory to its initial state.
|
|
463
|
+
*
|
|
464
|
+
* @since 1.129.0
|
|
465
|
+
* @private
|
|
466
|
+
*/
|
|
467
|
+
reset () {
|
|
468
|
+
this.destroy();
|
|
469
|
+
|
|
470
|
+
this._mServiceInstances = new Map();
|
|
471
|
+
this._oEventProvider = new EventProvider();
|
|
472
|
+
this._aDoables = [];
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
|
|
476
|
+
return new ShellUIServiceFactory();
|
|
477
|
+
});
|
|
@@ -137,26 +137,30 @@ sap.ui.define([
|
|
|
137
137
|
*
|
|
138
138
|
* Result: sap-client=010&sap-language=EN&sap-theme=sap_horizon
|
|
139
139
|
*
|
|
140
|
-
* @param {string
|
|
140
|
+
* @param {string} sCurrentUrlSearch The current URL's search string
|
|
141
|
+
* @param {string[]} aAdditionalUrlParams Array of objects with url parameters and their value which should be added to the url
|
|
141
142
|
* @param {string[]} aObsoleteUrlParams Array with url parameters (strings) which should be removed from the url
|
|
142
143
|
*
|
|
143
|
-
* @returns {string} new query string
|
|
144
|
+
* @returns {string} new query string. Either with leading "?" or empty string.
|
|
144
145
|
* @private
|
|
145
146
|
* @since 1.86.0
|
|
146
147
|
*/
|
|
147
|
-
WindowUtils.
|
|
148
|
-
if ((!
|
|
149
|
-
|
|
148
|
+
WindowUtils._adjustQueryString = function (sCurrentUrlSearch, aAdditionalUrlParams, aObsoleteUrlParams) {
|
|
149
|
+
if ((!aAdditionalUrlParams || aAdditionalUrlParams.length === 0) && (!aObsoleteUrlParams || aObsoleteUrlParams.length === 0)) {
|
|
150
|
+
// No change required
|
|
151
|
+
return sCurrentUrlSearch;
|
|
150
152
|
}
|
|
151
153
|
|
|
152
|
-
var oOriginUriParameters = new URLSearchParams(
|
|
154
|
+
var oOriginUriParameters = new URLSearchParams(sCurrentUrlSearch);
|
|
155
|
+
// Take all existing params and remove the ones listed in "additional params" - they are added again in a moment with new value
|
|
153
156
|
var oNewUrlParameter = Array.from(oOriginUriParameters.keys()).reduce(function (oResult, sParam) {
|
|
154
157
|
oResult[sParam] = oOriginUriParameters.getAll(sParam);
|
|
155
158
|
return oResult;
|
|
156
159
|
}, {});
|
|
157
160
|
|
|
158
|
-
|
|
159
|
-
|
|
161
|
+
// Add additional URL params
|
|
162
|
+
if (aAdditionalUrlParams && aAdditionalUrlParams.length > 0) {
|
|
163
|
+
aAdditionalUrlParams.forEach(function (oParam) {
|
|
160
164
|
var sParamName = Object.keys(oParam)[0];
|
|
161
165
|
if (sParamName) {
|
|
162
166
|
oNewUrlParameter[sParamName] = oParam[sParamName];
|
|
@@ -164,35 +168,34 @@ sap.ui.define([
|
|
|
164
168
|
});
|
|
165
169
|
}
|
|
166
170
|
|
|
171
|
+
// Remove obsolete URL params
|
|
167
172
|
if (aObsoleteUrlParams && aObsoleteUrlParams.length > 0) {
|
|
168
173
|
aObsoleteUrlParams.forEach(function (sParam) {
|
|
169
174
|
delete oNewUrlParameter[sParam];
|
|
170
175
|
});
|
|
171
176
|
}
|
|
172
|
-
|
|
173
|
-
return
|
|
177
|
+
const sParamString = ushellUtils.urlParametersToString(oNewUrlParameter);
|
|
178
|
+
return sParamString !== "" ? "?" + sParamString : "";
|
|
174
179
|
};
|
|
175
180
|
|
|
176
181
|
/**
|
|
177
182
|
* Triggers a refresh to the current intent
|
|
178
183
|
*
|
|
179
|
-
* @param {string[]}
|
|
184
|
+
* @param {string[]} aAdditionalUrlParams url parameters which should be added to the url
|
|
180
185
|
* @param {string[]} aObsoleteUrlParams url parameters which should be removed from the url
|
|
181
186
|
*
|
|
182
187
|
* @private
|
|
183
188
|
* @since 1.86.0
|
|
184
189
|
*/
|
|
185
|
-
WindowUtils.refreshBrowser = function (
|
|
186
|
-
var
|
|
190
|
+
WindowUtils.refreshBrowser = function (aAdditionalUrlParams, aObsoleteUrlParams) {
|
|
191
|
+
var sHref = ushellUtils.getLocationHref();
|
|
187
192
|
var sLocationSearch = ushellUtils.getLocationSearch();
|
|
188
|
-
var sNewLocationSearch = WindowUtils.
|
|
193
|
+
var sNewLocationSearch = WindowUtils._adjustQueryString(sLocationSearch, aAdditionalUrlParams, aObsoleteUrlParams);
|
|
189
194
|
|
|
190
|
-
if (sNewLocationSearch) {
|
|
191
|
-
sNewHref = sNewHref.replace(sLocationSearch, "?" + sNewLocationSearch);
|
|
192
|
-
}
|
|
193
|
-
if (ushellUtils.getLocationHref() === sNewHref) {
|
|
195
|
+
if (sLocationSearch === sNewLocationSearch) {
|
|
194
196
|
ushellUtils.windowLocationReload();
|
|
195
197
|
} else {
|
|
198
|
+
const sNewHref = sHref.replace(sLocationSearch, sNewLocationSearch);
|
|
196
199
|
ushellUtils.windowLocationAssign(sNewHref);
|
|
197
200
|
}
|
|
198
201
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
TileCard.Data.Error=[[[\u0114\u0157\u0157\u014F\u0157\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
4
|
+
TileCard.Data.Timeout=[[[\u0162\u012F\u0271\u0113\u018C \u014F\u0171\u0163\u2219\u2219\u2219\u2219\u2219]]]
|
|
5
|
+
TileCard.Widget.NotAvailable=[[[\u0174\u012F\u018C\u011F\u0113\u0163 \u014B\u014F\u0163 \u0105\u028B\u0105\u012F\u013A\u0105\u0183\u013A\u0113\u2219\u2219\u2219\u2219]]]
|