@sapui5/sap.ushell 1.140.0 → 1.141.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 +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +0 -1
- package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +6 -6
- package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +22 -25
- package/src/main/js/sap/ushell/ApplicationType/urlResolution.js +12 -6
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +277 -302
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +11 -10
- package/src/main/js/sap/ushell/ApplicationType.js +8 -8
- package/src/main/js/sap/ushell/Container.js +53 -55
- package/src/main/js/sap/ushell/EventHub.js +5 -7
- package/src/main/js/sap/ushell/Fiori20Adapter.js +17 -11
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +5 -5
- 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 +11 -4
- 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 +13 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +13 -3
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +4 -2
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +29 -27
- package/src/main/js/sap/ushell/User.js +12 -12
- package/src/main/js/sap/ushell/UserActivityLog.js +3 -3
- package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +19 -15
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +13 -10
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +15 -14
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +155 -129
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +25 -23
- 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/Settings/UserLanguageAndRegion/UserLanguageAndRegion.controller.js +4 -4
- 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/_Personalization/internals.js +8 -13
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +6 -3
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +42 -30
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +112 -97
- 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/cdm/v3/utilsCdm.js +5 -6
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +10 -8
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +13 -14
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +162 -162
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +14 -14
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +22 -22
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +4 -4
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +4 -4
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +2 -2
- 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 +2 -2
- 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 +14 -14
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +8 -13
- package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +5 -5
- package/src/main/js/sap/ushell/api/performance/Extension.js +2 -2
- package/src/main/js/sap/ushell/api/performance/NavigationSource.js +8 -8
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +48 -81
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +7 -35
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerCache.js +9 -6
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +31 -7
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +0 -3
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/AppInfoHandler.js +8 -5
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/AppStateHandler.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/BookmarkHandler.js +15 -11
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/LifecycleHandler.js +21 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/MessageBrokerHandler.js +110 -17
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/SessionHandler.js +20 -4
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +26 -12
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +0 -1
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +2 -23
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +0 -3
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +11 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/libsPreload.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +11 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus.js +9 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +18 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +2 -1
- 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 +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +7 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +3 -3
- 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 +5 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +75 -18
- 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/FlpLaunchPage.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/Client.js +114 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +155 -56
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +17 -21
- 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 +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPLoader.js +1 -3
- 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/SchedulingAgent.js +21 -22
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +5 -5
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +14 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +3 -3
- package/src/main/js/sap/ushell/components/HomepageManager.js +120 -117
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +24 -13
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +17 -17
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +6 -3
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +119 -108
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +17 -15
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -33
- package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +6 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/People.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +29 -13
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +6 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +8 -8
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +38 -29
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +24 -15
- 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 +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- 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/controller/NavigationBarMenuButton.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 +3 -3
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +9 -9
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +0 -11
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +3 -3
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +32 -30
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +19 -17
- 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 +30 -28
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +14 -18
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +3 -3
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +19 -17
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +30 -28
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +2 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ar.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_bg.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ca.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cnr.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cs.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cy.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_da.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_de.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_el.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en_GB.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en_US_saprigi.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_es.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_es_MX.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_et.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fi.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fr.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fr_CA.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hi.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hr.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hu.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_id.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_it.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_iw.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ja.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_kk.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ko.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_lt.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_lv.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_mk.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ms.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_nl.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_no.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pl.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pt.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pt_PT.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ro.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ru.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sh.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sk.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sl.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sr.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sv.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_th.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_tr.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_uk.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_vi.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_zh_CN.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_zh_TW.properties +4 -0
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +21 -20
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +88 -65
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +6 -6
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +8 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +4 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +40 -2
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +7 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +9 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +48 -59
- package/src/main/js/sap/ushell/components/shell/SideNavigation/interface/ListProviderAPI.js +144 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/interface/NavContainer.js +82 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +49 -28
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +104 -49
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +18 -7
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +11 -5
- 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/tiles/action/ActionTile.controller.js +22 -14
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +43 -13
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +43 -13
- package/src/main/js/sap/ushell/components/tiles/utils.js +25 -25
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- 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/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/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +111 -111
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +215 -145
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +68 -70
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +81 -78
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +40 -39
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +146 -85
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -110
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +186 -144
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +519 -339
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/IllustratedMessage.js +91 -90
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -73
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +76 -71
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +119 -97
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +48 -46
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +156 -128
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -65
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +30 -29
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +46 -45
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +48 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -198
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +71 -68
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -62
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +150 -122
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +42 -41
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +190 -121
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +76 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +35 -34
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1706 -1389
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +3011 -2450
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/modules/NavigationMenu/ListProvider.js +56 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/ListProviderAPI.js +119 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/NavContainer.js +60 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/NavigationMenuMode.js +37 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu.js +17 -16
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +1 -3
- 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/BaseRTAPlugin.js +6 -2
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +17 -13
- package/src/main/js/sap/ushell/renderer/Renderer.js +12 -12
- package/src/main/js/sap/ushell/renderer/RendererAppContainer.js +3 -3
- package/src/main/js/sap/ushell/renderer/RendererManagedComponents.js +134 -140
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +29 -22
- package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +8 -8
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +2 -2
- package/src/main/js/sap/ushell/resources.js +1 -1
- package/src/main/js/sap/ushell/services/AllMyApps.js +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +2 -2
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +19 -22
- package/src/main/js/sap/ushell/services/AppState.js +3 -3
- package/src/main/js/sap/ushell/services/Bookmark.js +35 -39
- package/src/main/js/sap/ushell/services/BookmarkV2.js +6 -8
- 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 +5 -5
- 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 +13 -14
- 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 +82 -78
- 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 +201 -230
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
- 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 +61 -57
- 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/UserSettingsEntry.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 +2 -2
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/ClientAlias.js +37 -0
- package/src/main/js/sap/ushell/services/MessageBroker/ClientConnectionMessage.js +37 -0
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +463 -642
- package/src/main/js/sap/ushell/services/MessageBroker.js +126 -48
- package/src/main/js/sap/ushell/services/MessageInternal.js +2 -2
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +4 -4
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -2
- package/src/main/js/sap/ushell/services/Navigation/utils.js +3 -3
- package/src/main/js/sap/ushell/services/Navigation.js +5 -5
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +19 -10
- package/src/main/js/sap/ushell/services/NotificationsV2.js +151 -108
- package/src/main/js/sap/ushell/services/PageBuilding.js +4 -2
- 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 +32 -32
- package/src/main/js/sap/ushell/services/Personalization.js +36 -32
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +6 -6
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +3 -3
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +4 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +4 -8
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +17 -15
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +3 -3
- 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/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +22 -22
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +3 -3
- package/src/main/js/sap/ushell/services/SearchableContent.js +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +2 -2
- package/src/main/js/sap/ushell/services/SmartNavigation.js +2 -3
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -5
- package/src/main/js/sap/ushell/services/URLParsing.js +2 -2
- 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.js +15 -15
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +6 -6
- package/src/main/js/sap/ushell/services/UserInfo.js +3 -3
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +6 -6
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +18 -15
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +3 -3
- 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 +3 -3
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +2 -2
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +10 -10
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +8 -8
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +14 -14
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
- package/src/main/js/sap/ushell/services/appstate/AppState.js +8 -8
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +3 -3
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +7 -24
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +1 -1
- package/src/main/js/sap/ushell/state/modules/Favicon.js +1 -1
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ActionMode.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/Button2.js +9 -8
- package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Icon.js +29 -31
- package/src/main/js/sap/ushell/thirdparty/Icons.js +121 -84
- package/src/main/js/sap/ushell/thirdparty/IllustratedMessage.js +7 -2
- package/src/main/js/sap/ushell/thirdparty/Label.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/Link.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/List.js +14 -17
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +41 -39
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +15 -18
- package/src/main/js/sap/ushell/thirdparty/Menu.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +16 -16
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +14 -14
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +69 -41
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +2 -5
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +58 -27
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +166 -150
- package/src/main/js/sap/ushell/thirdparty/Tag.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/Text.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/Title.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +21 -21
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +2 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +2 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +93 -12
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +7 -4
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +75 -15
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en4.js +12 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +71 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd4.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +75 -15
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi4.js +12 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +174 -756
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +837 -585
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc4.js +596 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +95 -14
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +94 -13
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +92 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +6 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css27.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/information.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css3.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +68 -68
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +7 -7
- package/src/main/js/sap/ushell/ui/QuickAccess.js +10 -12
- package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -4
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +3 -3
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +4 -4
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +7 -7
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +4 -3
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +2 -3
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerUtils.js +1 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +3 -2
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +20 -20
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +3 -3
- package/src/main/js/sap/ushell/ui/utils.js +6 -6
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +3 -0
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/CallbackQueue.js +114 -0
- package/src/main/js/sap/ushell/utils/Deferred.js +3 -3
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +6 -6
- package/src/main/js/sap/ushell/utils/HttpClient.js +68 -68
- package/src/main/js/sap/ushell/utils/LaunchpadError.js +21 -0
- package/src/main/js/sap/ushell/utils/UrlParsing.js +12 -13
- package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/WindowUtils.js +5 -3
- package/src/main/js/sap/ushell/utils/chipsUtils.js +7 -5
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +2 -2
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +9 -9
- package/src/main/js/sap/ushell/utils/utilsCdm.js +5 -6
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +15 -11
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +18 -19
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +11 -7
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils.js +45 -65
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +37 -16
- package/src/main/js/sap/ushell/thirdparty/getEffectiveScrollbarStyle.js +0 -33
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* It exposes interfaces to perform a hash change and/or trigger an external navigation.
|
|
7
7
|
*
|
|
8
8
|
* @deprecated since 1.120. Please use {@link sap.ushell.services.Navigation} instead.
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.141.0
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/ushell/services/AppConfiguration",
|
|
@@ -26,7 +26,8 @@ sap.ui.define([
|
|
|
26
26
|
"sap/ushell/utils/UrlParsing",
|
|
27
27
|
"sap/base/util/deepClone",
|
|
28
28
|
"sap/ui/base/Object",
|
|
29
|
-
"sap/ushell/api/common/ComponentInstantiation"
|
|
29
|
+
"sap/ushell/api/common/ComponentInstantiation",
|
|
30
|
+
"sap/ushell/Container"
|
|
30
31
|
], (
|
|
31
32
|
AppConfiguration,
|
|
32
33
|
crossApplicationNavigationUtils,
|
|
@@ -45,7 +46,8 @@ sap.ui.define([
|
|
|
45
46
|
UrlParsing,
|
|
46
47
|
deepClone,
|
|
47
48
|
BaseObject,
|
|
48
|
-
ComponentInstantiation
|
|
49
|
+
ComponentInstantiation,
|
|
50
|
+
Container
|
|
49
51
|
) => {
|
|
50
52
|
"use strict";
|
|
51
53
|
|
|
@@ -56,7 +58,7 @@ sap.ui.define([
|
|
|
56
58
|
* Allows navigating to "external" targets outside of the currently running app (but still in scope of the current Fiori launchpad)
|
|
57
59
|
* or to create links to such external targets.
|
|
58
60
|
*
|
|
59
|
-
* <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call {@link
|
|
61
|
+
* <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call {@link Container#getServiceAsync}.
|
|
60
62
|
* <pre>
|
|
61
63
|
* sap.ui.require(["sap/ushell/Container"], async function (Container) {
|
|
62
64
|
* const CrossApplicationNavigation = await Container.getServiceAsync("CrossApplicationNavigation");
|
|
@@ -112,7 +114,7 @@ sap.ui.define([
|
|
|
112
114
|
* @augments sap.ushell.services.Service
|
|
113
115
|
* @hideconstructor
|
|
114
116
|
*
|
|
115
|
-
* @see
|
|
117
|
+
* @see Container#getServiceAsync
|
|
116
118
|
* @since 1.15.0
|
|
117
119
|
* @deprecated since 1.120. Please use {@link sap.ushell.services.Navigation} instead.
|
|
118
120
|
* @public
|
|
@@ -550,12 +552,8 @@ sap.ui.define([
|
|
|
550
552
|
}
|
|
551
553
|
|
|
552
554
|
if (bAsync) {
|
|
553
|
-
const
|
|
554
|
-
|
|
555
|
-
.then(oDeferred.resolve)
|
|
556
|
-
.catch(oDeferred.reject);
|
|
557
|
-
|
|
558
|
-
return oDeferred.promise();
|
|
555
|
+
const pResult = this.hrefForExternalAsync(oArgs, oComponent);
|
|
556
|
+
return ushellUtils.toDeferred(pResult);
|
|
559
557
|
}
|
|
560
558
|
|
|
561
559
|
Log.error("Deprecated option 'bAsync=false'. Please use 'bAsync=true' instead",
|
|
@@ -586,7 +584,7 @@ sap.ui.define([
|
|
|
586
584
|
|
|
587
585
|
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
588
586
|
|
|
589
|
-
const ShellNavigationInternal =
|
|
587
|
+
const ShellNavigationInternal = Container.getService("ShellNavigationInternal"); // LEGACY API (deprecated)
|
|
590
588
|
|
|
591
589
|
if (!ShellNavigationInternal) {
|
|
592
590
|
Log.debug("Shell not available, no Cross App Navigation");
|
|
@@ -691,12 +689,10 @@ sap.ui.define([
|
|
|
691
689
|
oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
|
|
692
690
|
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
693
691
|
|
|
694
|
-
const ShellNavigationInternal = await
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
.catch(reject);
|
|
699
|
-
});
|
|
692
|
+
const ShellNavigationInternal = await Container.getServiceAsync("ShellNavigationInternal");
|
|
693
|
+
const oDeferred = ShellNavigationInternal.hrefForExternal(oArgsClone, undefined, oComponent);
|
|
694
|
+
|
|
695
|
+
return ushellUtils.promisify(oDeferred);
|
|
700
696
|
} catch (oError) {
|
|
701
697
|
Log.debug("Shell not available, no Cross App Navigation");
|
|
702
698
|
return "";
|
|
@@ -713,15 +709,14 @@ sap.ui.define([
|
|
|
713
709
|
* @public
|
|
714
710
|
*/
|
|
715
711
|
this.expandCompactHash = function (sHashFragment) {
|
|
716
|
-
const
|
|
712
|
+
const pResult = Promise.resolve().then(async () => {
|
|
713
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
714
|
+
const oDeferred = NavTargetResolutionInternal.expandCompactHash(sHashFragment);
|
|
717
715
|
|
|
718
|
-
|
|
719
|
-
NavTargetResolutionInternal.expandCompactHash(sHashFragment)
|
|
720
|
-
.done(oDeferred.resolve)
|
|
721
|
-
.fail(oDeferred.reject);
|
|
716
|
+
return ushellUtils.promisify(oDeferred);
|
|
722
717
|
});
|
|
723
718
|
|
|
724
|
-
return
|
|
719
|
+
return ushellUtils.toDeferred(pResult);
|
|
725
720
|
};
|
|
726
721
|
|
|
727
722
|
/**
|
|
@@ -787,12 +782,8 @@ sap.ui.define([
|
|
|
787
782
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
788
783
|
);
|
|
789
784
|
|
|
790
|
-
const
|
|
791
|
-
|
|
792
|
-
&& typeof oContainer.getService === "function"
|
|
793
|
-
&& oContainer.getService("ShellNavigationInternal");
|
|
794
|
-
|
|
795
|
-
if (!oShellNavigationInternal) {
|
|
785
|
+
const ShellNavigationInternal = Container.getService("ShellNavigationInternal");
|
|
786
|
+
if (!ShellNavigationInternal) {
|
|
796
787
|
Log.debug(
|
|
797
788
|
"ShellNavigationInternal service not available",
|
|
798
789
|
"This will be treated as the initial navigation",
|
|
@@ -801,7 +792,7 @@ sap.ui.define([
|
|
|
801
792
|
return true;
|
|
802
793
|
}
|
|
803
794
|
|
|
804
|
-
const bIsInitialNavigation =
|
|
795
|
+
const bIsInitialNavigation = ShellNavigationInternal.isInitialNavigation();
|
|
805
796
|
|
|
806
797
|
// An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
|
|
807
798
|
// Hence this is the first navigation in case asked at this point in time.
|
|
@@ -824,7 +815,7 @@ sap.ui.define([
|
|
|
824
815
|
*/
|
|
825
816
|
this.isInitialNavigationAsync = async function () {
|
|
826
817
|
try {
|
|
827
|
-
const ShellNavigationInternal = await
|
|
818
|
+
const ShellNavigationInternal = await Container.getServiceAsync("ShellNavigationInternal");
|
|
828
819
|
const bIsInitialNavigation = ShellNavigationInternal.isInitialNavigation();
|
|
829
820
|
|
|
830
821
|
// An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
|
|
@@ -951,8 +942,8 @@ sap.ui.define([
|
|
|
951
942
|
const vIntentNoAppRoute = oExtraction.intent;
|
|
952
943
|
|
|
953
944
|
try {
|
|
954
|
-
const oAppLifeCycleService = await
|
|
955
|
-
const oShellNavigationInternal = await
|
|
945
|
+
const oAppLifeCycleService = await Container.getServiceAsync("AppLifeCycle");
|
|
946
|
+
const oShellNavigationInternal = await Container.getServiceAsync("ShellNavigationInternal");
|
|
956
947
|
const oCurrentApplication = oAppLifeCycleService.getCurrentApplication();
|
|
957
948
|
const oIntent = oCurrentApplication && await oCurrentApplication.getIntent();
|
|
958
949
|
this._checkIfAppNeedsToBeReloaded(oNavTarget, oCurrentApplication, oIntent, oShellNavigationInternal.hashChanger);
|
|
@@ -1068,12 +1059,9 @@ sap.ui.define([
|
|
|
1068
1059
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
1069
1060
|
);
|
|
1070
1061
|
|
|
1071
|
-
const
|
|
1072
|
-
if (
|
|
1073
|
-
|
|
1074
|
-
if (oShellNavigationInternal) {
|
|
1075
|
-
return oShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
|
|
1076
|
-
}
|
|
1062
|
+
const ShellNavigationInternal = Container.getService("ShellNavigationInternal");
|
|
1063
|
+
if (ShellNavigationInternal) {
|
|
1064
|
+
return ShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
|
|
1077
1065
|
}
|
|
1078
1066
|
Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
|
|
1079
1067
|
// Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
|
|
@@ -1099,7 +1087,7 @@ sap.ui.define([
|
|
|
1099
1087
|
*/
|
|
1100
1088
|
this.hrefForAppSpecificHashAsync = async function (sAppHash) {
|
|
1101
1089
|
try {
|
|
1102
|
-
const ShellNavigationInternal = await
|
|
1090
|
+
const ShellNavigationInternal = await Container.getServiceAsync("ShellNavigationInternal");
|
|
1103
1091
|
return ShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
|
|
1104
1092
|
} catch (oError) {
|
|
1105
1093
|
Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
|
|
@@ -1229,9 +1217,7 @@ sap.ui.define([
|
|
|
1229
1217
|
* @public
|
|
1230
1218
|
*/
|
|
1231
1219
|
this.getSemanticObjectLinks = function (sSemanticObject, mParameters, bIgnoreFormFactor, oComponent, sAppStateKey, bCompactIntents) {
|
|
1232
|
-
const
|
|
1233
|
-
|
|
1234
|
-
Promise.resolve()
|
|
1220
|
+
const pResult = Promise.resolve()
|
|
1235
1221
|
.then(() => {
|
|
1236
1222
|
return crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
1237
1223
|
args: { params: mParameters },
|
|
@@ -1271,19 +1257,21 @@ sap.ui.define([
|
|
|
1271
1257
|
}
|
|
1272
1258
|
|
|
1273
1259
|
return Promise.all([
|
|
1274
|
-
|
|
1260
|
+
Container.getServiceAsync("NavTargetResolutionInternal"),
|
|
1275
1261
|
vArgs
|
|
1276
1262
|
]);
|
|
1277
1263
|
})
|
|
1278
1264
|
.then((aResults) => {
|
|
1279
1265
|
const NavTargetResolutionInternal = aResults[0];
|
|
1280
1266
|
const vArgs = aResults[1];
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
.
|
|
1267
|
+
|
|
1268
|
+
return ushellUtils.invokeUnfoldingArrayArguments(
|
|
1269
|
+
NavTargetResolutionInternal.getLinks.bind(NavTargetResolutionInternal),
|
|
1270
|
+
[vArgs]
|
|
1271
|
+
);
|
|
1284
1272
|
});
|
|
1285
1273
|
|
|
1286
|
-
return
|
|
1274
|
+
return ushellUtils.toDeferred(pResult);
|
|
1287
1275
|
};
|
|
1288
1276
|
|
|
1289
1277
|
/**
|
|
@@ -1436,14 +1424,15 @@ sap.ui.define([
|
|
|
1436
1424
|
this.getLinks = function (vArgs) {
|
|
1437
1425
|
// the invokeUnfoldingArrayArguments does not want [oArg1, oArg2, oArg3], but [ [oArg1], [oArg2], [oArg3] ], because the
|
|
1438
1426
|
// logic in that method is based on positional parameters - however we have only one argument (the oArg object in this case).
|
|
1439
|
-
const
|
|
1427
|
+
const pExpandedIntents = ushellUtils.invokeUnfoldingArrayArguments(
|
|
1428
|
+
this._getLinks.bind(this),
|
|
1429
|
+
[vArgs]
|
|
1430
|
+
);
|
|
1440
1431
|
|
|
1441
|
-
return
|
|
1432
|
+
return ushellUtils.toDeferred(pExpandedIntents);
|
|
1442
1433
|
};
|
|
1443
1434
|
|
|
1444
|
-
this._getLinks = function (oNominalArgs) {
|
|
1445
|
-
const oDeferred = new jQuery.Deferred();
|
|
1446
|
-
|
|
1435
|
+
this._getLinks = async function (oNominalArgs) {
|
|
1447
1436
|
// If method gets called without vArgs, the result should be the same as if vArgs was an empty object.
|
|
1448
1437
|
if (typeof oNominalArgs === "undefined") {
|
|
1449
1438
|
oNominalArgs = {};
|
|
@@ -1455,48 +1444,40 @@ sap.ui.define([
|
|
|
1455
1444
|
oNominalArgsClone.action = oNominalArgsClone.action || undefined;
|
|
1456
1445
|
oNominalArgsClone.paramsOptions = crossApplicationNavigationUtils.extractGetLinksParameterOptions(oNominalArgsClone.params);
|
|
1457
1446
|
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
type: typeUtils
|
|
1465
|
-
});
|
|
1466
|
-
})
|
|
1467
|
-
.then((oNominalArgsCloneResult) => {
|
|
1468
|
-
oNominalArgsClone = oNominalArgsCloneResult;
|
|
1469
|
-
let mParameterDefinition;
|
|
1470
|
-
if (oNominalArgsClone.params) {
|
|
1471
|
-
mParameterDefinition = crossApplicationNavigationUtils.extractGetLinksParameterDefinition(oNominalArgsClone.params);
|
|
1472
|
-
} else {
|
|
1473
|
-
mParameterDefinition = oNominalArgsClone.params;
|
|
1474
|
-
}
|
|
1447
|
+
const oNominalArgsCloneResult = await crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
1448
|
+
args: oNominalArgsClone,
|
|
1449
|
+
appLifeCycle: AppLifeCycleAI,
|
|
1450
|
+
technicalParameters: TechnicalParameters,
|
|
1451
|
+
type: typeUtils
|
|
1452
|
+
});
|
|
1475
1453
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
}).params;
|
|
1484
|
-
if (oNominalArgsClone.appStateKey) {
|
|
1485
|
-
mParametersPlusSapSystem["sap-xapp-state"] = [oNominalArgsClone.appStateKey];
|
|
1486
|
-
delete oNominalArgsClone.appStateKey;
|
|
1487
|
-
}
|
|
1454
|
+
oNominalArgsClone = oNominalArgsCloneResult;
|
|
1455
|
+
let mParameterDefinition;
|
|
1456
|
+
if (oNominalArgsClone.params) {
|
|
1457
|
+
mParameterDefinition = crossApplicationNavigationUtils.extractGetLinksParameterDefinition(oNominalArgsClone.params);
|
|
1458
|
+
} else {
|
|
1459
|
+
mParameterDefinition = oNominalArgsClone.params;
|
|
1460
|
+
}
|
|
1488
1461
|
|
|
1489
|
-
|
|
1462
|
+
// propagate sap-system into parameters
|
|
1463
|
+
let mParametersPlusSapSystem = getTargetWithCurrentSystem(
|
|
1464
|
+
{ params: mParameterDefinition }, oNominalArgsClone.ui5Component
|
|
1465
|
+
).params;
|
|
1466
|
+
|
|
1467
|
+
mParametersPlusSapSystem = amendTargetWithSapUshellEncTestParameter({
|
|
1468
|
+
params: mParametersPlusSapSystem
|
|
1469
|
+
}).params;
|
|
1470
|
+
if (oNominalArgsClone.appStateKey) {
|
|
1471
|
+
mParametersPlusSapSystem["sap-xapp-state"] = [oNominalArgsClone.appStateKey];
|
|
1472
|
+
delete oNominalArgsClone.appStateKey;
|
|
1473
|
+
}
|
|
1490
1474
|
|
|
1491
|
-
|
|
1492
|
-
})
|
|
1493
|
-
.then((NavTargetResolutionInternal) => {
|
|
1494
|
-
NavTargetResolutionInternal.getLinks(oNominalArgsClone)
|
|
1495
|
-
.done(oDeferred.resolve)
|
|
1496
|
-
.fail(oDeferred.reject);
|
|
1497
|
-
});
|
|
1475
|
+
oNominalArgsClone.params = mParametersPlusSapSystem;
|
|
1498
1476
|
|
|
1499
|
-
|
|
1477
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
1478
|
+
const oDeferred = NavTargetResolutionInternal.getLinks(oNominalArgsClone);
|
|
1479
|
+
|
|
1480
|
+
return ushellUtils.promisify(oDeferred);
|
|
1500
1481
|
};
|
|
1501
1482
|
|
|
1502
1483
|
/**
|
|
@@ -1511,15 +1492,14 @@ sap.ui.define([
|
|
|
1511
1492
|
* @public
|
|
1512
1493
|
*/
|
|
1513
1494
|
this.getDistinctSemanticObjects = function () {
|
|
1514
|
-
const
|
|
1495
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1496
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
1497
|
+
const oDeferred = NavTargetResolutionInternal.getDistinctSemanticObjects();
|
|
1515
1498
|
|
|
1516
|
-
|
|
1517
|
-
NavTargetResolutionInternal.getDistinctSemanticObjects()
|
|
1518
|
-
.done(oDeferred.resolve)
|
|
1519
|
-
.fail(oDeferred.reject);
|
|
1499
|
+
return ushellUtils.promisify(oDeferred);
|
|
1520
1500
|
});
|
|
1521
1501
|
|
|
1522
|
-
return
|
|
1502
|
+
return ushellUtils.toDeferred(pResult);
|
|
1523
1503
|
};
|
|
1524
1504
|
|
|
1525
1505
|
/**
|
|
@@ -1561,30 +1541,30 @@ sap.ui.define([
|
|
|
1561
1541
|
* @deprecated since 1.31. Please use {@link #isNavigationSupported} instead. Note that this has a slightly different response format.
|
|
1562
1542
|
*/
|
|
1563
1543
|
this.isIntentSupported = function (aIntents, oComponent) {
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1544
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1545
|
+
const mOriginalIntentHash = {}; // used for remapping
|
|
1546
|
+
const aClonedIntentsWithSapSystem = aIntents.map((sIntent) => {
|
|
1547
|
+
const sIntentWithSystem = getTargetWithCurrentSystem(sIntent, oComponent); // returns clone
|
|
1548
|
+
mOriginalIntentHash[sIntentWithSystem] = sIntent;
|
|
1549
|
+
return sIntentWithSystem;
|
|
1550
|
+
});
|
|
1571
1551
|
|
|
1572
|
-
|
|
1573
|
-
NavTargetResolutionInternal.isIntentSupported(aClonedIntentsWithSapSystem)
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1552
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
1553
|
+
const oDeferred = NavTargetResolutionInternal.isIntentSupported(aClonedIntentsWithSapSystem);
|
|
1554
|
+
const mIntentSupportedPlusSapSystem = await ushellUtils.promisify(oDeferred);
|
|
1555
|
+
|
|
1556
|
+
// Must restore keys to what the application expects, as per NavTargetResolutionInternal contract.
|
|
1557
|
+
const mIntentSupportedNoSapSystem = {};
|
|
1558
|
+
Object.keys(mIntentSupportedPlusSapSystem).forEach((sKeyPlusSapSystem) => {
|
|
1559
|
+
mIntentSupportedNoSapSystem[
|
|
1560
|
+
mOriginalIntentHash[sKeyPlusSapSystem]
|
|
1561
|
+
] = mIntentSupportedPlusSapSystem[sKeyPlusSapSystem];
|
|
1562
|
+
});
|
|
1563
|
+
|
|
1564
|
+
return mIntentSupportedNoSapSystem;
|
|
1585
1565
|
});
|
|
1586
1566
|
|
|
1587
|
-
return
|
|
1567
|
+
return ushellUtils.toDeferred(pResult);
|
|
1588
1568
|
};
|
|
1589
1569
|
|
|
1590
1570
|
/**
|
|
@@ -1689,20 +1669,20 @@ sap.ui.define([
|
|
|
1689
1669
|
* @public
|
|
1690
1670
|
*/
|
|
1691
1671
|
this.isNavigationSupported = function (aIntents, oComponent) {
|
|
1692
|
-
const
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1672
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1673
|
+
const aClonedIntents = deepClone(aIntents)
|
|
1674
|
+
.map((oIntent) => {
|
|
1675
|
+
const oExtraction = this._extractInnerAppRoute(oIntent);
|
|
1676
|
+
return getTargetWithCurrentSystem(oExtraction.intent, oComponent); // returns only shallow clone
|
|
1677
|
+
});
|
|
1678
|
+
|
|
1679
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
1680
|
+
const oDeferred = NavTargetResolutionInternal.isNavigationSupported(aClonedIntents);
|
|
1698
1681
|
|
|
1699
|
-
|
|
1700
|
-
NavTargetResolutionInternal.isNavigationSupported(aClonedIntents)
|
|
1701
|
-
.done(oDeferred.resolve)
|
|
1702
|
-
.fail(oDeferred.reject);
|
|
1682
|
+
return ushellUtils.promisify(oDeferred);
|
|
1703
1683
|
});
|
|
1704
1684
|
|
|
1705
|
-
return
|
|
1685
|
+
return ushellUtils.toDeferred(pResult);
|
|
1706
1686
|
};
|
|
1707
1687
|
|
|
1708
1688
|
/**
|
|
@@ -1731,32 +1711,29 @@ sap.ui.define([
|
|
|
1731
1711
|
* @since 1.30.0
|
|
1732
1712
|
* @private
|
|
1733
1713
|
*/
|
|
1734
|
-
this.isUrlSupported = function (sUrl) {
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
}
|
|
1714
|
+
this.isUrlSupported = async function (sUrl) {
|
|
1715
|
+
if (typeof sUrl !== "string") {
|
|
1716
|
+
throw new Error("Input is not a string");
|
|
1717
|
+
}
|
|
1739
1718
|
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
.done((oResult) => {
|
|
1749
|
-
if (oResult[0].supported) {
|
|
1750
|
-
resolve();
|
|
1751
|
-
} else {
|
|
1752
|
-
reject();
|
|
1753
|
-
}
|
|
1754
|
-
})
|
|
1755
|
-
.fail(reject);
|
|
1756
|
-
} else {
|
|
1757
|
-
resolve();
|
|
1719
|
+
if (!UrlParsing.isIntentUrl(sUrl)) {
|
|
1720
|
+
return;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
const sHash = UrlParsing.getHash(sUrl);
|
|
1724
|
+
const oTarget = {
|
|
1725
|
+
target: {
|
|
1726
|
+
shellHash: sHash
|
|
1758
1727
|
}
|
|
1759
|
-
}
|
|
1728
|
+
};
|
|
1729
|
+
const oDeferred = this.isNavigationSupported([oTarget]);
|
|
1730
|
+
const oResult = await ushellUtils.promisify(oDeferred);
|
|
1731
|
+
|
|
1732
|
+
if (oResult[0].supported) {
|
|
1733
|
+
return;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
throw new Error("Navigation not supported");
|
|
1760
1737
|
};
|
|
1761
1738
|
|
|
1762
1739
|
/**
|
|
@@ -1779,21 +1756,18 @@ sap.ui.define([
|
|
|
1779
1756
|
* @ui5-restricted cross.fnd.fiori.inbox (CA-INB-FIO), sap.cp.ui (MOB-UIA-CP-CLT)
|
|
1780
1757
|
*/
|
|
1781
1758
|
this.createComponentInstance = function (sIntent, oConfig, oOwnerComponent) {
|
|
1782
|
-
const
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
return oDeferred.promise();
|
|
1789
|
-
}
|
|
1759
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1760
|
+
// The following check is not needed by the new API, but it is kept for backward compatibility.
|
|
1761
|
+
const sErrorMessage = this._checkComponentConfig(oConfig);
|
|
1762
|
+
if (sErrorMessage) {
|
|
1763
|
+
throw new Error(sErrorMessage);
|
|
1764
|
+
}
|
|
1790
1765
|
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
.catch(oDeferred.reject);
|
|
1766
|
+
const oComponentData = oConfig?.componentData;
|
|
1767
|
+
return ComponentInstantiation.createComponentInstance(sIntent, oComponentData, oOwnerComponent);
|
|
1768
|
+
});
|
|
1795
1769
|
|
|
1796
|
-
return
|
|
1770
|
+
return ushellUtils.toDeferred(pResult);
|
|
1797
1771
|
};
|
|
1798
1772
|
|
|
1799
1773
|
/**
|
|
@@ -1813,11 +1787,11 @@ sap.ui.define([
|
|
|
1813
1787
|
* @private
|
|
1814
1788
|
* @ui5-restricted cross.fnd.fiori.inbox (CA-INB-FIO)
|
|
1815
1789
|
*/
|
|
1816
|
-
this.createComponentData = function (sIntent, oConfig) {
|
|
1790
|
+
this.createComponentData = async function (sIntent, oConfig) {
|
|
1817
1791
|
// The following check is not needed by the new API, but it is kept for backward compatibility.
|
|
1818
1792
|
const sErrorMessage = this._checkComponentConfig(oConfig);
|
|
1819
1793
|
if (sErrorMessage) {
|
|
1820
|
-
|
|
1794
|
+
throw new Error(sErrorMessage);
|
|
1821
1795
|
}
|
|
1822
1796
|
|
|
1823
1797
|
const oComponentData = oConfig?.componentData;
|
|
@@ -1865,7 +1839,7 @@ sap.ui.define([
|
|
|
1865
1839
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
1866
1840
|
);
|
|
1867
1841
|
|
|
1868
|
-
const AppStateService =
|
|
1842
|
+
const AppStateService = Container.getService("AppState");
|
|
1869
1843
|
|
|
1870
1844
|
if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
|
|
1871
1845
|
throw new Error("The passed oAppComponent must be a UI5 Component.");
|
|
@@ -1890,9 +1864,9 @@ sap.ui.define([
|
|
|
1890
1864
|
*/
|
|
1891
1865
|
this.createEmptyAppStateAsync = async function (oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings) {
|
|
1892
1866
|
if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
|
|
1893
|
-
|
|
1867
|
+
throw new Error("The passed oAppComponent must be a UI5 Component.");
|
|
1894
1868
|
}
|
|
1895
|
-
const AppStateService = await
|
|
1869
|
+
const AppStateService = await Container.getServiceAsync("AppState");
|
|
1896
1870
|
return AppStateService.createEmptyAppState(oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings);
|
|
1897
1871
|
};
|
|
1898
1872
|
|
|
@@ -1941,26 +1915,26 @@ sap.ui.define([
|
|
|
1941
1915
|
*/
|
|
1942
1916
|
this.getAppState = function (oAppComponent, sAppStateKey) {
|
|
1943
1917
|
// see stakeholders in SFIN etc.
|
|
1944
|
-
const
|
|
1945
|
-
|
|
1918
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1919
|
+
this._checkComponent(oAppComponent);
|
|
1946
1920
|
|
|
1947
|
-
|
|
1921
|
+
const AppState = await Container.getServiceAsync("AppState");
|
|
1948
1922
|
if (typeof sAppStateKey !== "string") {
|
|
1949
1923
|
if (sAppStateKey !== undefined) {
|
|
1950
1924
|
Log.error("Illegal Argument sAppStateKey ");
|
|
1951
1925
|
}
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
return;
|
|
1926
|
+
|
|
1927
|
+
await ushellUtils.awaitTimeout(0);
|
|
1928
|
+
const oContainer = AppState.createEmptyUnmodifiableAppState(oAppComponent);
|
|
1929
|
+
return oContainer;
|
|
1957
1930
|
}
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1931
|
+
|
|
1932
|
+
const oDeferred = AppState.getAppState(sAppStateKey);
|
|
1933
|
+
|
|
1934
|
+
return ushellUtils.promisify(oDeferred);
|
|
1961
1935
|
});
|
|
1962
1936
|
|
|
1963
|
-
return
|
|
1937
|
+
return ushellUtils.toDeferred(pResult);
|
|
1964
1938
|
};
|
|
1965
1939
|
|
|
1966
1940
|
/**
|
|
@@ -1983,7 +1957,11 @@ sap.ui.define([
|
|
|
1983
1957
|
* @private
|
|
1984
1958
|
*/
|
|
1985
1959
|
this.getAppStateData = function (sAppStateKeyOrArray) {
|
|
1986
|
-
|
|
1960
|
+
const pResult = ushellUtils.invokeUnfoldingArrayArguments(
|
|
1961
|
+
this._getAppStateData.bind(this),
|
|
1962
|
+
[sAppStateKeyOrArray]
|
|
1963
|
+
);
|
|
1964
|
+
return ushellUtils.toDeferred(pResult);
|
|
1987
1965
|
};
|
|
1988
1966
|
|
|
1989
1967
|
/**
|
|
@@ -2006,26 +1984,24 @@ sap.ui.define([
|
|
|
2006
1984
|
* @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation.
|
|
2007
1985
|
*/
|
|
2008
1986
|
this._getAppStateData = function (sAppStateKey) {
|
|
2009
|
-
const
|
|
2010
|
-
|
|
2011
|
-
sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
|
|
1987
|
+
const pResult = Promise.resolve().then(async () => {
|
|
1988
|
+
const AppState = await Container.getServiceAsync("AppState");
|
|
2012
1989
|
if (typeof sAppStateKey !== "string") {
|
|
2013
1990
|
if (sAppStateKey !== undefined) {
|
|
2014
1991
|
Log.error("Illegal Argument sAppStateKey ");
|
|
2015
1992
|
}
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
} else {
|
|
2020
|
-
AppState.getAppState(sAppStateKey)
|
|
2021
|
-
.done((oAppState) => {
|
|
2022
|
-
oDeferred.resolve(oAppState.getData());
|
|
2023
|
-
})
|
|
2024
|
-
.fail(oDeferred.resolve.bind(oDeferred, undefined));
|
|
1993
|
+
|
|
1994
|
+
await ushellUtils.awaitTimeout(0);
|
|
1995
|
+
return;
|
|
2025
1996
|
}
|
|
2026
|
-
});
|
|
2027
1997
|
|
|
2028
|
-
|
|
1998
|
+
const oDeferred = AppState.getAppState(sAppStateKey);
|
|
1999
|
+
const oAppState = await ushellUtils.promisify(oDeferred);
|
|
2000
|
+
|
|
2001
|
+
return oAppState.getData();
|
|
2002
|
+
}).catch(() => { /* Fail silently */ });
|
|
2003
|
+
|
|
2004
|
+
return ushellUtils.toDeferred(pResult);
|
|
2029
2005
|
};
|
|
2030
2006
|
|
|
2031
2007
|
/**
|
|
@@ -2038,19 +2014,15 @@ sap.ui.define([
|
|
|
2038
2014
|
* @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation
|
|
2039
2015
|
*/
|
|
2040
2016
|
this.saveMultipleAppStates = function (aAppStates) {
|
|
2041
|
-
const
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
aResult.push(oAppState.save());
|
|
2045
|
-
});
|
|
2046
|
-
jQuery.when.apply(this, aResult)
|
|
2047
|
-
.done(() => {
|
|
2048
|
-
oDeferred.resolve(aResult);
|
|
2049
|
-
})
|
|
2050
|
-
.fail(() => {
|
|
2051
|
-
oDeferred.reject("save failed");
|
|
2017
|
+
const pResult = Promise.resolve().then(async () => {
|
|
2018
|
+
const pResults = aAppStates.map((oAppState) => {
|
|
2019
|
+
return oAppState.save();
|
|
2052
2020
|
});
|
|
2053
|
-
|
|
2021
|
+
|
|
2022
|
+
return Promise.all(pResults);
|
|
2023
|
+
});
|
|
2024
|
+
|
|
2025
|
+
return ushellUtils.toDeferred(pResult);
|
|
2054
2026
|
};
|
|
2055
2027
|
|
|
2056
2028
|
/*
|
|
@@ -2096,7 +2068,7 @@ sap.ui.define([
|
|
|
2096
2068
|
null,
|
|
2097
2069
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
2098
2070
|
);
|
|
2099
|
-
const AppStateService =
|
|
2071
|
+
const AppStateService = Container.getService("AppState");
|
|
2100
2072
|
|
|
2101
2073
|
return AppStateService.getSupportedPersistencyMethods();
|
|
2102
2074
|
};
|
|
@@ -2109,7 +2081,7 @@ sap.ui.define([
|
|
|
2109
2081
|
* @since 1.95
|
|
2110
2082
|
*/
|
|
2111
2083
|
this.getSupportedAppStatePersistencyMethodsAsync = async function () {
|
|
2112
|
-
const oAppStateService = await
|
|
2084
|
+
const oAppStateService = await Container.getServiceAsync("AppState");
|
|
2113
2085
|
return oAppStateService.getSupportedPersistencyMethods();
|
|
2114
2086
|
};
|
|
2115
2087
|
|
|
@@ -2123,14 +2095,14 @@ sap.ui.define([
|
|
|
2123
2095
|
* @returns {jQuery.Promise<string>}Resolves a new key.
|
|
2124
2096
|
*/
|
|
2125
2097
|
this.makeStatePersistent = function (sKey, iPersistencyMethod, oPersistencySettings) {
|
|
2126
|
-
const
|
|
2127
|
-
|
|
2128
|
-
AppState.makeStatePersistent(sKey, iPersistencyMethod, oPersistencySettings)
|
|
2129
|
-
|
|
2130
|
-
|
|
2098
|
+
const pResult = Promise.resolve().then(async () => {
|
|
2099
|
+
const AppState = await Container.getServiceAsync("AppState");
|
|
2100
|
+
const oDeferred = AppState.makeStatePersistent(sKey, iPersistencyMethod, oPersistencySettings);
|
|
2101
|
+
|
|
2102
|
+
return ushellUtils.promisify(oDeferred);
|
|
2131
2103
|
});
|
|
2132
2104
|
|
|
2133
|
-
return
|
|
2105
|
+
return ushellUtils.toDeferred(pResult);
|
|
2134
2106
|
};
|
|
2135
2107
|
|
|
2136
2108
|
/**
|
|
@@ -2146,18 +2118,17 @@ sap.ui.define([
|
|
|
2146
2118
|
* @protected
|
|
2147
2119
|
*/
|
|
2148
2120
|
this.resolveIntent = function (sHashFragment) {
|
|
2149
|
-
const
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
oDeferred.reject(sMessage);
|
|
2158
|
-
});
|
|
2121
|
+
const pResult = Promise.resolve().then(async () => {
|
|
2122
|
+
const NavTargetResolutionInternal = await Container.getServiceAsync("NavTargetResolutionInternal");
|
|
2123
|
+
const oDeferred = NavTargetResolutionInternal.resolveHashFragment(sHashFragment);
|
|
2124
|
+
const oResolvedHashFragment = await ushellUtils.promisify(oDeferred);
|
|
2125
|
+
|
|
2126
|
+
return {
|
|
2127
|
+
url: oResolvedHashFragment.url
|
|
2128
|
+
};
|
|
2159
2129
|
});
|
|
2160
|
-
|
|
2130
|
+
|
|
2131
|
+
return ushellUtils.toDeferred(pResult);
|
|
2161
2132
|
};
|
|
2162
2133
|
}
|
|
2163
2134
|
|