@sapui5/sap.ushell 1.140.0 → 1.141.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
@@ -77,8 +77,8 @@ sap.ui.define([
|
|
|
77
77
|
undefined /* no Component */,
|
|
78
78
|
true /* transient */
|
|
79
79
|
)
|
|
80
|
-
.fail((
|
|
81
|
-
fnReject(
|
|
80
|
+
.fail((oError) => {
|
|
81
|
+
fnReject(oError);
|
|
82
82
|
})
|
|
83
83
|
.then((oEffectiveCompactedIntentParams) => {
|
|
84
84
|
// important to extract after compaction to get a potentially modified client
|
|
@@ -360,8 +360,6 @@ sap.ui.define([
|
|
|
360
360
|
const oResolutionResult = createWDAResolutionResult(oInbound, sFinalWDAURL, sSapSystem, sSapSystemDataSrc);
|
|
361
361
|
|
|
362
362
|
return oResolutionResult;
|
|
363
|
-
}, (sError) => {
|
|
364
|
-
return Promise.reject(sError);
|
|
365
363
|
});
|
|
366
364
|
}
|
|
367
365
|
|
|
@@ -418,12 +416,15 @@ sap.ui.define([
|
|
|
418
416
|
}
|
|
419
417
|
|
|
420
418
|
if (oPromise) {
|
|
421
|
-
oPromise
|
|
422
|
-
oResult
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
419
|
+
oPromise
|
|
420
|
+
.then((oResult) => {
|
|
421
|
+
oResult.extendedInfo = oApplicationTypeUtils.getExtendedInfo(oMatchingTarget);
|
|
422
|
+
oApplicationTypeUtils.checkOpenWithPost(oMatchingTarget, oResult);
|
|
423
|
+
oApplicationTypeUtils.addKeepAliveToURLTemplateResult(oResult);
|
|
424
|
+
return oResult;
|
|
425
|
+
})
|
|
426
|
+
.then(fnResolve)
|
|
427
|
+
.catch(fnReject);
|
|
427
428
|
} else {
|
|
428
429
|
fnResolve();
|
|
429
430
|
}
|
|
@@ -11,7 +11,7 @@ sap.ui.define([
|
|
|
11
11
|
const _arguments = arguments;
|
|
12
12
|
return new Promise((fnResolve, fnReject) => {
|
|
13
13
|
sap.ui.require(["sap/ushell/ApplicationType/wdaResolution"], (oWdaResolution) => {
|
|
14
|
-
oWdaResolution.generateWDAResolutionResult.apply(oWdaResolution, _arguments).then(fnResolve
|
|
14
|
+
oWdaResolution.generateWDAResolutionResult.apply(oWdaResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
}
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
const _arguments = arguments;
|
|
21
21
|
return new Promise((fnResolve, fnReject) => {
|
|
22
22
|
sap.ui.require(["sap/ushell/ApplicationType/wdaResolution"], (oWdaResolution) => {
|
|
23
|
-
oWdaResolution.resolveEasyAccessMenuIntentWDA.apply(oWdaResolution, _arguments).then(fnResolve
|
|
23
|
+
oWdaResolution.resolveEasyAccessMenuIntentWDA.apply(oWdaResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
26
|
}
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
function generateTRResolutionResult (oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver) {
|
|
29
29
|
return new Promise((fnResolve, fnReject) => {
|
|
30
30
|
sap.ui.require(["sap/ushell/ApplicationType/guiResolution"], (oGuiResolution) => {
|
|
31
|
-
oGuiResolution.generateTRResolutionResult(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver).then(fnResolve
|
|
31
|
+
oGuiResolution.generateTRResolutionResult(oMatchingTarget, sBaseUrl, fnExternalSystemAliasResolver).then(fnResolve).catch(fnReject);
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
const _arguments = arguments;
|
|
38
38
|
return new Promise((fnResolve, fnReject) => {
|
|
39
39
|
sap.ui.require(["sap/ushell/ApplicationType/guiResolution"], (oGuiResolution) => {
|
|
40
|
-
oGuiResolution.resolveEasyAccessMenuIntentWebgui.apply(oGuiResolution, _arguments).then(fnResolve
|
|
40
|
+
oGuiResolution.resolveEasyAccessMenuIntentWebgui.apply(oGuiResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
}
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
const _arguments = arguments;
|
|
47
47
|
return new Promise((fnResolve, fnReject) => {
|
|
48
48
|
sap.ui.require(["sap/ushell/ApplicationType/wcfResolution"], (oWcfResolution) => {
|
|
49
|
-
oWcfResolution.generateWCFResolutionResult.apply(oWcfResolution, _arguments).then(fnResolve
|
|
49
|
+
oWcfResolution.generateWCFResolutionResult.apply(oWcfResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
const _arguments = arguments;
|
|
56
56
|
return new Promise((fnResolve, fnReject) => {
|
|
57
57
|
sap.ui.require(["sap/ushell/ApplicationType/ui5Resolution"], (oUi5Resolution) => {
|
|
58
|
-
oUi5Resolution.generateUI5ResolutionResult.apply(oUi5Resolution, _arguments).then(fnResolve
|
|
58
|
+
oUi5Resolution.generateUI5ResolutionResult.apply(oUi5Resolution, _arguments).then(fnResolve).catch(fnReject);
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
61
|
}
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
const _arguments = arguments;
|
|
65
65
|
return new Promise((fnResolve, fnReject) => {
|
|
66
66
|
sap.ui.require(["sap/ushell/ApplicationType/urlTemplateResolution"], (oUrlTemplateResolution) => {
|
|
67
|
-
oUrlTemplateResolution.generateURLTemplateResolutionResult.apply(oUrlTemplateResolution, _arguments).then(fnResolve
|
|
67
|
+
oUrlTemplateResolution.generateURLTemplateResolutionResult.apply(oUrlTemplateResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
}
|
|
@@ -73,7 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
const _arguments = arguments;
|
|
74
74
|
return new Promise((fnResolve, fnReject) => {
|
|
75
75
|
sap.ui.require(["sap/ushell/ApplicationType/urlResolution"], (oUrlResolution) => {
|
|
76
|
-
oUrlResolution.generateURLResolutionResult.apply(oUrlResolution, _arguments).then(fnResolve
|
|
76
|
+
oUrlResolution.generateURLResolutionResult.apply(oUrlResolution, _arguments).then(fnResolve).catch(fnReject);
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
79
|
}
|
|
@@ -904,9 +904,8 @@ sap.ui.define([
|
|
|
904
904
|
try {
|
|
905
905
|
oLocalStorage.setItem(sUid, "CHECK");
|
|
906
906
|
oLocalStorage.removeItem(sUid);
|
|
907
|
-
} catch (
|
|
908
|
-
Log.warning(
|
|
909
|
-
"sap.ushell.Container");
|
|
907
|
+
} catch (oError) {
|
|
908
|
+
Log.warning("Error calling localStorage.setItem():", oError, "sap.ushell.Container");
|
|
910
909
|
return oDeferred.resolve(this.DirtyState.MAYBE_DIRTY).promise();
|
|
911
910
|
}
|
|
912
911
|
|
|
@@ -1358,15 +1357,14 @@ sap.ui.define([
|
|
|
1358
1357
|
* @name sap.ushell.services.ContainerInterface#createAdapter
|
|
1359
1358
|
*/
|
|
1360
1359
|
function createRemoteAdapter (oSystem) {
|
|
1361
|
-
const oDeferred = new jQuery.Deferred();
|
|
1362
1360
|
if (!oSystem) {
|
|
1363
1361
|
throw new Error("Missing system");
|
|
1364
1362
|
}
|
|
1365
1363
|
// Note: this might become really asynchronous once the remote adapter is loaded
|
|
1366
1364
|
// from the remote system itself
|
|
1367
|
-
|
|
1365
|
+
const oRemoteAdapter = createAdapter(sServiceName, oSystem, sParameter);
|
|
1368
1366
|
oContainerInstance.addRemoteSystem(oSystem);
|
|
1369
|
-
return
|
|
1367
|
+
return ushellUtils.toDeferred(oRemoteAdapter);
|
|
1370
1368
|
}
|
|
1371
1369
|
|
|
1372
1370
|
if (!sServiceName) {
|
|
@@ -1475,15 +1473,14 @@ sap.ui.define([
|
|
|
1475
1473
|
* @name sap.ushell.services.ContainerInterface#createAdapter
|
|
1476
1474
|
*/
|
|
1477
1475
|
function createRemoteAdapter (oSystem) {
|
|
1478
|
-
const oDeferred = new jQuery.Deferred();
|
|
1479
1476
|
if (!oSystem) {
|
|
1480
1477
|
throw new Error("Missing system");
|
|
1481
1478
|
}
|
|
1482
1479
|
// Note: this might become really asynchronous once the remote adapter is loaded
|
|
1483
1480
|
// from the remote system itself
|
|
1484
|
-
|
|
1481
|
+
const oRemoteAdapter = createAdapter(sServiceName, oSystem, sParameter);
|
|
1485
1482
|
oContainerInstance.addRemoteSystem(oSystem);
|
|
1486
|
-
return
|
|
1483
|
+
return ushellUtils.toDeferred(oRemoteAdapter);
|
|
1487
1484
|
}
|
|
1488
1485
|
|
|
1489
1486
|
if (!sServiceName) {
|
|
@@ -1514,8 +1511,13 @@ sap.ui.define([
|
|
|
1514
1511
|
oService = new ServiceClass(oContainerInterface, sParameter, oServiceProperties);
|
|
1515
1512
|
} else {
|
|
1516
1513
|
// create and pass adapter for logon system as first parameter
|
|
1517
|
-
const oServiceAdapter = createAdapter(
|
|
1518
|
-
|
|
1514
|
+
const oServiceAdapter = createAdapter(
|
|
1515
|
+
sServiceName,
|
|
1516
|
+
oAdapter.getSystem(),
|
|
1517
|
+
sParameter,
|
|
1518
|
+
true,
|
|
1519
|
+
ServiceClass.useConfiguredAdapterOnly
|
|
1520
|
+
);
|
|
1519
1521
|
return oServiceAdapter.then((serviceAdapter) => {
|
|
1520
1522
|
const oServiceInstance = createService(ServiceClass, serviceAdapter);
|
|
1521
1523
|
mServicesByName.put(sKey, oServiceInstance);
|
|
@@ -1562,7 +1564,7 @@ sap.ui.define([
|
|
|
1562
1564
|
const sSystemAlias = sKey.substring(sRemoteSystemPrefix.length);
|
|
1563
1565
|
const oSystemData = JSON.parse(oLocalStorage.getItem(sKey));
|
|
1564
1566
|
mRemoteSystems[sSystemAlias] = new System(oSystemData);
|
|
1565
|
-
} catch
|
|
1567
|
+
} catch {
|
|
1566
1568
|
// local storage contained garbage (non-parsable)
|
|
1567
1569
|
oLocalStorage.removeItem(sKey);
|
|
1568
1570
|
}
|
|
@@ -1806,26 +1808,16 @@ sap.ui.define([
|
|
|
1806
1808
|
* Logs out the current user from all relevant back-end systems, including the logon system itself.
|
|
1807
1809
|
* This method also iterates through all registered logout handlers and calls them before continuing with the default logout.
|
|
1808
1810
|
*
|
|
1809
|
-
* @returns {
|
|
1811
|
+
* @returns {Promise} Resolves when logout is finished, even when it fails.
|
|
1810
1812
|
*
|
|
1811
1813
|
* @since 1.15.0
|
|
1812
1814
|
* @private
|
|
1813
1815
|
* @alias sap.ushell.Container#defaultLogout
|
|
1814
1816
|
*/
|
|
1815
1817
|
this.defaultLogout = function () {
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
function resolve () {
|
|
1820
|
-
ushellUtils.promisify(oAdapter.logout(true)).finally(() => {
|
|
1821
|
-
oLocalStorage.removeItem(sSessionTerminationKey);
|
|
1822
|
-
oDeferred.resolve();
|
|
1823
|
-
});
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
function logoutLogonSystem () {
|
|
1827
|
-
const oDeferredAsyncLogoutEvent = new jQuery.Deferred();
|
|
1828
|
-
const oPromiseAsyncLogoutEvent = oDeferredAsyncLogoutEvent.promise();
|
|
1818
|
+
return this.callRegisteredLogoutHandlers().then(async () => {
|
|
1819
|
+
async function logoutLogonSystem () {
|
|
1820
|
+
const oDeferredAsyncLogoutEvent = new Deferred();
|
|
1829
1821
|
const arrLogoutEventsPromises = [];
|
|
1830
1822
|
|
|
1831
1823
|
if (aAsyncLogoutEventFunctions.length > 0) {
|
|
@@ -1841,17 +1833,20 @@ sap.ui.define([
|
|
|
1841
1833
|
oDeferredAsyncLogoutEvent.resolve();
|
|
1842
1834
|
}
|
|
1843
1835
|
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1836
|
+
return oDeferredAsyncLogoutEvent.promise
|
|
1837
|
+
.then(() => {
|
|
1838
|
+
if (oEventProvider.fireEvent("Logout", true)) {
|
|
1839
|
+
return;
|
|
1840
|
+
}
|
|
1848
1841
|
// defer UShell redirect to let NWBC receive message asynchronously
|
|
1849
|
-
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1842
|
+
return ushellUtils.awaitTimeout(1000);
|
|
1843
|
+
})
|
|
1844
|
+
.then(() => {
|
|
1845
|
+
return ushellUtils.promisify(oAdapter.logout(true));
|
|
1846
|
+
});
|
|
1852
1847
|
}
|
|
1853
1848
|
|
|
1854
|
-
function federatedLogout () {
|
|
1849
|
+
async function federatedLogout () {
|
|
1855
1850
|
const aRemoteLogoutPromises = [];
|
|
1856
1851
|
|
|
1857
1852
|
if (fnStorageEventListener) {
|
|
@@ -1870,9 +1865,8 @@ sap.ui.define([
|
|
|
1870
1865
|
// may return a native promise or jQuery deferred.
|
|
1871
1866
|
ushellUtils.promisify(createAdapter("Container", mSystems[sAlias]).logout(false))
|
|
1872
1867
|
);
|
|
1873
|
-
} catch (
|
|
1874
|
-
Log.warning(`Could not create adapter for ${sAlias}`,
|
|
1875
|
-
e.toString(), "sap.ushell.Container");
|
|
1868
|
+
} catch (oError) {
|
|
1869
|
+
Log.warning(`Could not create adapter for ${sAlias}`, oError, "sap.ushell.Container");
|
|
1876
1870
|
}
|
|
1877
1871
|
oLocalStorage.removeItem(sRemoteSystemPrefix + sAlias);
|
|
1878
1872
|
});
|
|
@@ -1881,21 +1875,26 @@ sap.ui.define([
|
|
|
1881
1875
|
// If we use "Promise.all" and any adapter's promise is rejected, all other promises are *immediately* rejected, too.
|
|
1882
1876
|
// Then the redirect happens before all remote logouts are finished.
|
|
1883
1877
|
// TODO force logoutLogonSystem after timeout?
|
|
1884
|
-
Promise.allSettled(aRemoteLogoutPromises)
|
|
1878
|
+
return Promise.allSettled(aRemoteLogoutPromises)
|
|
1879
|
+
.then(logoutLogonSystem)
|
|
1880
|
+
.catch(() => {
|
|
1881
|
+
// fail silently
|
|
1882
|
+
})
|
|
1883
|
+
.then(() => {
|
|
1884
|
+
oLocalStorage.removeItem(sSessionTerminationKey);
|
|
1885
|
+
});
|
|
1885
1886
|
}
|
|
1886
1887
|
|
|
1887
1888
|
if (typeof oAdapter.addFurtherRemoteSystems === "function") {
|
|
1888
|
-
oAdapter.addFurtherRemoteSystems()
|
|
1889
|
-
|
|
1890
|
-
federatedLogout();
|
|
1889
|
+
await ushellUtils.promisify(oAdapter.addFurtherRemoteSystems())
|
|
1890
|
+
.catch(() => { /* fail silently */ });
|
|
1891
1891
|
}
|
|
1892
|
-
});
|
|
1893
1892
|
|
|
1894
|
-
|
|
1893
|
+
return federatedLogout();
|
|
1894
|
+
});
|
|
1895
1895
|
};
|
|
1896
1896
|
|
|
1897
1897
|
/**
|
|
1898
|
-
* @function
|
|
1899
1898
|
* Logs out the current user from all relevant back-end systems, including the logon system itself.
|
|
1900
1899
|
* This member represents the default native implementation of logout.
|
|
1901
1900
|
* If SessionHandler was created, we register the alternate logout function using registerLogout function.
|
|
@@ -1907,7 +1906,9 @@ sap.ui.define([
|
|
|
1907
1906
|
* @deprecated since 1.120
|
|
1908
1907
|
* @alias sap.ushell.Container#logout
|
|
1909
1908
|
*/
|
|
1910
|
-
this.logout =
|
|
1909
|
+
this.logout = function () {
|
|
1910
|
+
return ushellUtils.toDeferred(this.defaultLogout());
|
|
1911
|
+
};
|
|
1911
1912
|
|
|
1912
1913
|
/**
|
|
1913
1914
|
* If SessionHandler was created, we will override the default native container logout
|
|
@@ -1987,9 +1988,9 @@ sap.ui.define([
|
|
|
1987
1988
|
if (aRegisteredLogoutHandlers.length > 0) {
|
|
1988
1989
|
for (const fnLogout of aRegisteredLogoutHandlers) {
|
|
1989
1990
|
try {
|
|
1990
|
-
await fnLogout();
|
|
1991
|
-
} catch (
|
|
1992
|
-
Log.error("Error executing logout handler:",
|
|
1991
|
+
await ushellUtils.promisify(fnLogout());
|
|
1992
|
+
} catch (oError) {
|
|
1993
|
+
Log.error("Error executing logout handler:", oError);
|
|
1993
1994
|
}
|
|
1994
1995
|
}
|
|
1995
1996
|
}
|
|
@@ -2117,10 +2118,11 @@ sap.ui.define([
|
|
|
2117
2118
|
*
|
|
2118
2119
|
* @since 1.87
|
|
2119
2120
|
* @private
|
|
2121
|
+
* @ui5-restricted sap.fe, sap.suite.ui.generic
|
|
2120
2122
|
* @alias sap.ushell.Container#getFLPUrlAsync
|
|
2121
2123
|
*/
|
|
2122
2124
|
this.getFLPUrlAsync = function (bIncludeHash) {
|
|
2123
|
-
return
|
|
2125
|
+
return ushellUtils.toDeferred(that.getFLPUrl(bIncludeHash));
|
|
2124
2126
|
};
|
|
2125
2127
|
|
|
2126
2128
|
/**
|
|
@@ -2454,12 +2456,8 @@ sap.ui.define([
|
|
|
2454
2456
|
commonUtils.migrateV2ServiceConfig(window["sap-ushell-config"]);
|
|
2455
2457
|
}
|
|
2456
2458
|
|
|
2457
|
-
const
|
|
2458
|
-
|
|
2459
|
-
.then(() => {
|
|
2460
|
-
oDeferred.resolve();
|
|
2461
|
-
});
|
|
2462
|
-
return oDeferred.promise();
|
|
2459
|
+
const pInit = oContainerInstance.init(sPlatform, mAdapterPackagesByPlatform);
|
|
2460
|
+
return ushellUtils.toDeferred(pInit);
|
|
2463
2461
|
};
|
|
2464
2462
|
|
|
2465
2463
|
return oContainerInstance;
|
|
@@ -26,8 +26,8 @@ sap.ui.define([
|
|
|
26
26
|
store: createEmptyStore()
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
function log (
|
|
30
|
-
Log.error(
|
|
29
|
+
function log (sErrorMessage, oError, fnCausedBy) {
|
|
30
|
+
Log.error(sErrorMessage, oError, "sap.ushell.EventHub");
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
}
|
|
98
98
|
return JSON.stringify.apply(JSON, aStringifyArgs);
|
|
99
99
|
} catch (oError) {
|
|
100
|
-
log(
|
|
100
|
+
log("serialize failed:", oError, serialize);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
return vData;
|
|
@@ -223,10 +223,8 @@ sap.ui.define([
|
|
|
223
223
|
return dispatchEventToGroup(oHub, sEvent, aSubscriberGroup, oDispatchOperation, 0);
|
|
224
224
|
});
|
|
225
225
|
|
|
226
|
-
Promise.all(aGroupsDispatchedPromise)
|
|
227
|
-
oDispatchOperation.complete
|
|
228
|
-
oDispatchOperation.complete
|
|
229
|
-
);
|
|
226
|
+
Promise.all(aGroupsDispatchedPromise)
|
|
227
|
+
.finally(oDispatchOperation.complete);
|
|
230
228
|
|
|
231
229
|
return oDispatchOperation;
|
|
232
230
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* The Fiori20 adapter automatically re-styles old (Fiori 1) applications to match Fiori2 design requirements.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.141.1
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ui/base/Object",
|
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ui/model/resource/ResourceModel",
|
|
15
15
|
"sap/m/Fiori20Adapter",
|
|
16
16
|
"sap/ui/thirdparty/hasher",
|
|
17
|
-
"sap/base/util/extend"
|
|
17
|
+
"sap/base/util/extend",
|
|
18
|
+
"sap/ushell/utils/CallbackQueue"
|
|
18
19
|
], (
|
|
19
20
|
BaseObject,
|
|
20
21
|
Component,
|
|
@@ -23,7 +24,8 @@ sap.ui.define([
|
|
|
23
24
|
ResourceModel,
|
|
24
25
|
SapMFiori20Adapter,
|
|
25
26
|
hasher,
|
|
26
|
-
extend
|
|
27
|
+
extend,
|
|
28
|
+
CallbackQueue
|
|
27
29
|
) => {
|
|
28
30
|
"use strict";
|
|
29
31
|
ComponentHooks.onUIComponentInstanceDestroy.register((oComponent) => {
|
|
@@ -91,7 +93,7 @@ sap.ui.define([
|
|
|
91
93
|
this._sDefaultTitle = sDefaultTitle;
|
|
92
94
|
});
|
|
93
95
|
},
|
|
94
|
-
registerView: async function (oViewInfo) {
|
|
96
|
+
registerView: async function (oViewInfo, sHash) {
|
|
95
97
|
if (this._oConfig.bMoveTitle === true) { // disabled by configuration
|
|
96
98
|
if (!oViewInfo.oTitleInfo && oViewInfo.oSubTitleInfo) {
|
|
97
99
|
oViewInfo.oTitleInfo = oViewInfo.oSubTitleInfo; // subtitle promotion in the absence of title
|
|
@@ -108,7 +110,7 @@ sap.ui.define([
|
|
|
108
110
|
*/
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
|
-
await this._updateHierarchy(oViewInfo);
|
|
113
|
+
await this._updateHierarchy(oViewInfo, sHash);
|
|
112
114
|
}
|
|
113
115
|
this._setBackNavigation(oViewInfo.oBackButton, oViewInfo.oAdaptOptions);
|
|
114
116
|
},
|
|
@@ -122,7 +124,7 @@ sap.ui.define([
|
|
|
122
124
|
}
|
|
123
125
|
this._oShellUIService.setBackNavigation(fnBackPress);
|
|
124
126
|
},
|
|
125
|
-
_updateHierarchy: async function (oViewInfo) {
|
|
127
|
+
_updateHierarchy: async function (oViewInfo, sHash) {
|
|
126
128
|
if (this._oConfig.bHierarchy === false) { // disabled by configuration
|
|
127
129
|
return;
|
|
128
130
|
}
|
|
@@ -131,7 +133,6 @@ sap.ui.define([
|
|
|
131
133
|
return;
|
|
132
134
|
}
|
|
133
135
|
let bNew = true;
|
|
134
|
-
const sHash = `#${hasher.getHash()}`;
|
|
135
136
|
for (let i = this._aHierarchy.length - 1; i >= 0; i--) {
|
|
136
137
|
let oEntry = this._aHierarchy[i];
|
|
137
138
|
const bKnownView = (oEntry.id === oViewInfo.sViewId);
|
|
@@ -148,7 +149,7 @@ sap.ui.define([
|
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
if (bNew) {
|
|
151
|
-
const oHierarchyEntry = this._createHierarchyEntry(oViewInfo);
|
|
152
|
+
const oHierarchyEntry = this._createHierarchyEntry(oViewInfo, sHash);
|
|
152
153
|
this._aHierarchy.push(oHierarchyEntry);
|
|
153
154
|
}
|
|
154
155
|
const aNewHierarchy = [];
|
|
@@ -164,12 +165,12 @@ sap.ui.define([
|
|
|
164
165
|
*/
|
|
165
166
|
}
|
|
166
167
|
},
|
|
167
|
-
_createHierarchyEntry: function (oViewInfo) {
|
|
168
|
+
_createHierarchyEntry: function (oViewInfo, sHash) {
|
|
168
169
|
return {
|
|
169
170
|
id: oViewInfo.sViewId,
|
|
170
171
|
title: oViewInfo.oTitleInfo ? oViewInfo.oTitleInfo.text : this._sDefaultTitle,
|
|
171
172
|
subtitle: oViewInfo.oSubTitleInfo ? oViewInfo.oSubTitleInfo.text : undefined,
|
|
172
|
-
intent:
|
|
173
|
+
intent: sHash
|
|
173
174
|
};
|
|
174
175
|
},
|
|
175
176
|
_updateHierarchyEntry: function (oEntry, oViewInfo) {
|
|
@@ -199,6 +200,7 @@ sap.ui.define([
|
|
|
199
200
|
if (SapMFiori20Adapter) {
|
|
200
201
|
SapMFiori20Adapter.attachViewChange(this._onViewChange, this);
|
|
201
202
|
}
|
|
203
|
+
this._oViewChangeQueue = new CallbackQueue();
|
|
202
204
|
},
|
|
203
205
|
init: function () {
|
|
204
206
|
if (!SapMFiori20Adapter) {
|
|
@@ -213,7 +215,11 @@ sap.ui.define([
|
|
|
213
215
|
}
|
|
214
216
|
},
|
|
215
217
|
_onViewChange: async function (oEvent) {
|
|
216
|
-
await
|
|
218
|
+
// await previous view changes as they might interfere with each other
|
|
219
|
+
const sHash = `#${hasher.getHash()}`; // store now the hash as it might change later on
|
|
220
|
+
await this._oViewChangeQueue.push(async () => {
|
|
221
|
+
await this._oHeaderInfo.registerView(oEvent.getParameters(), sHash);
|
|
222
|
+
});
|
|
217
223
|
}
|
|
218
224
|
});
|
|
219
225
|
Fiori20Adapter.applyTo = function (oControl, oComponent, oConfig, oShellUIService) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The purpose Fiori20AdapterTest in this file is to decide whether to load the Fiori20Adapter at all.
|
|
5
5
|
* This file is kept small in size on purpose as it is always required in productive code even when Fiori2 adaptation is not required.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.141.1
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
* parameters. If the application tries to access an internal parameter (e.g.,
|
|
43
43
|
* sap-ui-app-id-hint) via the API, the application receives an error message.
|
|
44
44
|
*
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.141.1
|
|
46
46
|
* @private
|
|
47
47
|
*/
|
|
48
48
|
sap.ui.define([
|
|
@@ -61,8 +61,8 @@ sap.ui.define([
|
|
|
61
61
|
*
|
|
62
62
|
* @private
|
|
63
63
|
*/
|
|
64
|
-
function denyParameterValue (sParameterName) {
|
|
65
|
-
|
|
64
|
+
async function denyParameterValue (sParameterName) {
|
|
65
|
+
throw new Error(`${sParameterName} is reserved for shell internal usage only`);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -262,9 +262,9 @@ sap.ui.define([
|
|
|
262
262
|
*
|
|
263
263
|
* @private
|
|
264
264
|
*/
|
|
265
|
-
function getParameterValue (sParameterName, oApplicationComponent, oApplicationContainer, sApplicationType) {
|
|
265
|
+
async function getParameterValue (sParameterName, oApplicationComponent, oApplicationContainer, sApplicationType) {
|
|
266
266
|
if (!oTechnicalParameters[sParameterName]) {
|
|
267
|
-
|
|
267
|
+
throw new Error(`${sParameterName} is not a known technical parameter`);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
return oTechnicalParameters[sParameterName].getValue(
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The proper order of evaluation can be determined by creating and visiting a graph that represents parameters and depending parameters
|
|
9
9
|
* as nodes. This graph can be also used to detect cyclic references in the parameter set definition.
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.141.1
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file Methods to parse and execute functions defined for the URL Template parameter language.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.141.1
|
|
6
6
|
* @private
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
@@ -104,7 +104,15 @@ sap.ui.define([
|
|
|
104
104
|
minValues: 0,
|
|
105
105
|
maxValues: 0,
|
|
106
106
|
fn: function (oArgs) {
|
|
107
|
-
|
|
107
|
+
let oURL;
|
|
108
|
+
const sURIHashContext = _utils.getURIHashContext();
|
|
109
|
+
if (typeof sURIHashContext === "string") {
|
|
110
|
+
const sUrlWithoutHash = location.hash ? location.href.split(location.hash)[0] : location.href;
|
|
111
|
+
oURL = new URI(sUrlWithoutHash + sURIHashContext);
|
|
112
|
+
} else {
|
|
113
|
+
oURL = new URI();
|
|
114
|
+
}
|
|
115
|
+
|
|
108
116
|
const aAllowedPartArg = [
|
|
109
117
|
"protocol",
|
|
110
118
|
"scheme",
|
|
@@ -459,8 +467,7 @@ sap.ui.define([
|
|
|
459
467
|
|
|
460
468
|
function applyFunction (bPipeContext, sFunctionName, aFunctionArgs, aInitialValues) {
|
|
461
469
|
if (!O_FUNCTION.hasOwnProperty(sFunctionName)) {
|
|
462
|
-
|
|
463
|
-
throw `Invalid function: ${sFunctionName}`;
|
|
470
|
+
throw new Error(`Invalid function: ${sFunctionName}`);
|
|
464
471
|
}
|
|
465
472
|
|
|
466
473
|
const oParsedArgs = parseFunctionArgs(sFunctionName, aFunctionArgs);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* For a given context (e.g. the reference to a site, the application section from the site, parameters added during runtime, etc),
|
|
6
6
|
* this module can be used to find the values associated to given URL Template parameter names.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.141.1
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file Utility functions for modules of <code>URLTemplateProcessor</code>.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.141.1
|
|
6
6
|
* @private
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
@@ -12,6 +12,15 @@ sap.ui.define([
|
|
|
12
12
|
) => {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
|
+
let sURIContext;
|
|
16
|
+
function getURIHashContext () {
|
|
17
|
+
return sURIContext;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function setURIHashContext (sContext) {
|
|
21
|
+
sURIContext = sContext;
|
|
22
|
+
}
|
|
23
|
+
|
|
15
24
|
function hasValue (vValue) {
|
|
16
25
|
return vValue !== null && typeof vValue !== "undefined";
|
|
17
26
|
}
|
|
@@ -43,6 +52,8 @@ sap.ui.define([
|
|
|
43
52
|
return {
|
|
44
53
|
mergeObject: mergeObject,
|
|
45
54
|
hasValue: hasValue,
|
|
46
|
-
removeArrayParameterNotation: removeArrayParameterNotation
|
|
55
|
+
removeArrayParameterNotation: removeArrayParameterNotation,
|
|
56
|
+
getURIHashContext: getURIHashContext,
|
|
57
|
+
setURIHashContext: setURIHashContext
|
|
47
58
|
};
|
|
48
59
|
});
|