@sapui5/sap.ushell 1.138.1 → 1.139.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 +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +14 -10
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +0 -9
- package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +32 -26
- package/src/main/js/sap/ushell/Container.js +0 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- 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/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +12 -12
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/User.js +32 -12
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +6 -5
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
- package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +114 -91
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +74 -17
- 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 +25 -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.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +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 +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
- package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
- package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
- package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
- package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
- package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
- package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
- package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
- 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 +2 -2
- 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/contentFinder/model/GraphQLListBinding.js +3 -5
- package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
- package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
- package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
- package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
- package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
- package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
- package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
- package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
- package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
- package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +69 -24
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +42 -22
- 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 +24 -10
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
- 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 +3 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +14 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
- package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
- package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
- package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
- 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 -107
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +215 -137
- 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 -80
- 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 +152 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -120
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +186 -146
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +517 -360
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -79
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +76 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +119 -99
- 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 +162 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +74 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +35 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +52 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +54 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -209
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +77 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -64
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +156 -0
- 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 -137
- 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 -1307
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +3011 -2372
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +25 -17
- package/src/main/js/sap/ushell/renderer/NavContainer.js +6 -0
- package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +10 -21
- package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
- package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +27 -4
- package/src/main/js/sap/ushell/services/AppState.js +86 -102
- package/src/main/js/sap/ushell/services/AppType.js +2 -2
- package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
- package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
- 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 +295 -353
- package/src/main/js/sap/ushell/services/Configuration.js +14 -12
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
- package/src/main/js/sap/ushell/services/Container.js +2 -2
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
- package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
- package/src/main/js/sap/ushell/services/Extension.js +54 -19
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
- 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 +4 -4
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
- package/src/main/js/sap/ushell/services/Menu.js +264 -289
- package/src/main/js/sap/ushell/services/Message.js +3 -3
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
- package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
- package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
- package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
- package/src/main/js/sap/ushell/services/Navigation.js +10 -14
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/Notifications.js +29 -15
- package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
- package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
- package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
- package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
- package/src/main/js/sap/ushell/services/Pages.js +635 -683
- package/src/main/js/sap/ushell/services/Personalization.js +103 -134
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
- package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
- package/src/main/js/sap/ushell/services/Search.js +25 -21
- package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
- package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
- package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
- package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
- package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
- package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +48 -62
- package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
- package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
- package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
- package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
- package/src/main/js/sap/ushell/state/BaseState.js +2 -3
- package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
- package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
- package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
- package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
- package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
- package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager.js +3 -3
- package/src/main/js/sap/ushell/state/StateRules.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +10 -4
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
- package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
- package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
- package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
- package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +86 -19
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +23 -245
- package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Button2.js +100 -28
- package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/Icon.js +37 -20
- package/src/main/js/sap/ushell/thirdparty/Icons.js +151 -111
- package/src/main/js/sap/ushell/thirdparty/Label.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/Link.js +14 -13
- package/src/main/js/sap/ushell/thirdparty/List.js +76 -549
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +251 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1685 -91
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +637 -0
- package/src/main/js/sap/ushell/thirdparty/Menu.js +78 -90
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +391 -49
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +21 -21
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +520 -517
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2306 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +128 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +44 -0
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
- package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +226 -185
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3380 -0
- package/src/main/js/sap/ushell/thirdparty/Tag.js +16 -15
- package/src/main/js/sap/ushell/thirdparty/Text.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +60 -59
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/WrappingType.js +24 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +397 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +202 -178
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +145 -121
- 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 +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +184 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +185 -20
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +174 -672
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +837 -564
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en4.js +602 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +174 -672
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +837 -564
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd4.js +596 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +174 -672
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +837 -567
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi4.js +602 -0
- 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 -672
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +837 -564
- 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 +185 -20
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +185 -20
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +34 -10
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +184 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +186 -21
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +35 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +184 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +33 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +185 -20
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +183 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +31 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +182 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +32 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +184 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +31 -7
- 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 +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.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/encodeXML.js +87 -0
- package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +157 -149
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +18 -0
- package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
- package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
- package/src/main/js/sap/ushell/thirdparty/overflow.js +16 -36
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +40 -4
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +8 -0
- package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
- package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
- 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 +96 -79
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +14 -14
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +29 -29
- package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
- package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -0
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- 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/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils.js +32 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +2 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
- /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
|
@@ -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.139.1
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/ushell/services/AppConfiguration",
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
"sap/base/util/deepClone",
|
|
28
28
|
"sap/ui/base/Object",
|
|
29
29
|
"sap/ushell/api/common/ComponentInstantiation"
|
|
30
|
-
],
|
|
30
|
+
], (
|
|
31
31
|
AppConfiguration,
|
|
32
32
|
crossApplicationNavigationUtils,
|
|
33
33
|
typeUtils,
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
deepClone,
|
|
47
47
|
BaseObject,
|
|
48
48
|
ComponentInstantiation
|
|
49
|
-
) {
|
|
49
|
+
) => {
|
|
50
50
|
"use strict";
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -118,7 +118,7 @@ sap.ui.define([
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
function CrossApplicationNavigation (oContainerInterface, sParameters, oServiceConf) {
|
|
121
|
-
|
|
121
|
+
let oServiceConfiguration;
|
|
122
122
|
if (oServiceConf && oServiceConf.config) {
|
|
123
123
|
oServiceConfiguration = oServiceConf.config;
|
|
124
124
|
}
|
|
@@ -163,9 +163,9 @@ sap.ui.define([
|
|
|
163
163
|
* @private
|
|
164
164
|
*/
|
|
165
165
|
function getTargetWithCurrentSystem (vTarget, oComponent) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
let sSystem;
|
|
167
|
+
let sNextNavMode;
|
|
168
|
+
let sAppOrigin;
|
|
169
169
|
|
|
170
170
|
if (typeof vTarget !== "string" && !isPlainObject(vTarget) && vTarget !== undefined) {
|
|
171
171
|
Log.error("Unexpected input type", null, "sap.ushell.services.CrossApplicationNavigation");
|
|
@@ -176,7 +176,7 @@ sap.ui.define([
|
|
|
176
176
|
return undefined;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
|
|
179
|
+
const oResolution = AppConfiguration.getCurrentApplication();
|
|
180
180
|
if (oComponent) {
|
|
181
181
|
// Take sap-system, sap-ushell-next-navmode and sap-app-origin-hint parameters from the component
|
|
182
182
|
if (typeof oComponent.getComponentData !== "function" ||
|
|
@@ -189,7 +189,7 @@ sap.ui.define([
|
|
|
189
189
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
190
190
|
);
|
|
191
191
|
} else {
|
|
192
|
-
|
|
192
|
+
const oComponentStartupParams = oComponent.getComponentData().startupParameters; // assume always present on root component
|
|
193
193
|
if (oComponentStartupParams.hasOwnProperty("sap-system")) {
|
|
194
194
|
sSystem = oComponentStartupParams["sap-system"][0];
|
|
195
195
|
}
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
sAppOrigin = oResolution.contentProviderId;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
const vInjectedTarget = crossApplicationNavigationUtils._injectParameters({
|
|
219
219
|
type: typeUtils,
|
|
220
220
|
inject: {
|
|
221
221
|
"sap-system": sSystem,
|
|
@@ -315,7 +315,7 @@ sap.ui.define([
|
|
|
315
315
|
|
|
316
316
|
if (isPlainObject(vTarget)) {
|
|
317
317
|
// needs deep copy
|
|
318
|
-
|
|
318
|
+
const oClonedTarget = deepExtend({}, vTarget);
|
|
319
319
|
if (oClonedTarget.target && oClonedTarget.target.shellHash) {
|
|
320
320
|
if (typeof oClonedTarget.target.shellHash === "string") {
|
|
321
321
|
// process shell hash as a string
|
|
@@ -332,11 +332,11 @@ sap.ui.define([
|
|
|
332
332
|
|
|
333
333
|
return oClonedTarget;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
let sShellHash = vTarget;
|
|
336
336
|
|
|
337
337
|
if (!/[?&]sap-system=/.test(sShellHash)) {
|
|
338
|
-
|
|
339
|
-
sShellHash += sSeparator
|
|
338
|
+
const sSeparator = (sShellHash.indexOf("?") > -1) ? "&" : "?";
|
|
339
|
+
sShellHash += `${sSeparator}sap-ushell-enc-test=${encodeURIComponent("A B%20C")}`;
|
|
340
340
|
}
|
|
341
341
|
return sShellHash;
|
|
342
342
|
}
|
|
@@ -381,24 +381,22 @@ sap.ui.define([
|
|
|
381
381
|
* @private
|
|
382
382
|
*/
|
|
383
383
|
this._extractInnerAppRoute = function (vIntent) {
|
|
384
|
-
var that = this;
|
|
385
|
-
|
|
386
384
|
if (typeof vIntent === "string") {
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
const aParts = vIntent.split("&/"); // ["Object-action", "inner-app/route", ... ]
|
|
386
|
+
const sIntent = aParts.shift(); // aParts now contains parts of inner-app route
|
|
389
387
|
|
|
390
388
|
return {
|
|
391
389
|
intent: sIntent,
|
|
392
390
|
innerAppRoute: aParts.length > 0
|
|
393
|
-
?
|
|
391
|
+
? `&/${aParts.join("&/")}`
|
|
394
392
|
: ""
|
|
395
393
|
};
|
|
396
394
|
}
|
|
397
395
|
|
|
398
396
|
if (Object.prototype.toString.apply(vIntent) === "[object Object]") {
|
|
399
|
-
|
|
397
|
+
const sShellHash = ObjectPath.get("target.shellHash", vIntent);
|
|
400
398
|
if (typeof sShellHash === "string") {
|
|
401
|
-
|
|
399
|
+
const oResult = this._extractInnerAppRoute(sShellHash);
|
|
402
400
|
|
|
403
401
|
// modify the source object
|
|
404
402
|
vIntent.target.shellHash = oResult.intent;
|
|
@@ -410,17 +408,17 @@ sap.ui.define([
|
|
|
410
408
|
}
|
|
411
409
|
|
|
412
410
|
if (vIntent.hasOwnProperty("appSpecificRoute")) {
|
|
413
|
-
|
|
411
|
+
const vAppSpecificRoute = vIntent.appSpecificRoute;
|
|
414
412
|
|
|
415
413
|
delete vIntent.appSpecificRoute;
|
|
416
414
|
|
|
417
|
-
|
|
415
|
+
const bIsStringWithoutSeparator = typeof vAppSpecificRoute === "string"
|
|
418
416
|
&& vAppSpecificRoute.indexOf("&/") !== 0
|
|
419
417
|
&& vAppSpecificRoute.length > 0;
|
|
420
418
|
|
|
421
419
|
return {
|
|
422
420
|
innerAppRoute: bIsStringWithoutSeparator
|
|
423
|
-
?
|
|
421
|
+
? `&/${vAppSpecificRoute}` // vAppSpecificRoute guaranteed to be string
|
|
424
422
|
: vAppSpecificRoute, // can be an object
|
|
425
423
|
intent: vIntent
|
|
426
424
|
};
|
|
@@ -451,8 +449,6 @@ sap.ui.define([
|
|
|
451
449
|
* @private
|
|
452
450
|
*/
|
|
453
451
|
this._injectInnerAppRoute = function (vIntent, sInnerAppRoute) {
|
|
454
|
-
var that = this;
|
|
455
|
-
|
|
456
452
|
if (!sInnerAppRoute) {
|
|
457
453
|
return vIntent;
|
|
458
454
|
}
|
|
@@ -462,9 +458,9 @@ sap.ui.define([
|
|
|
462
458
|
}
|
|
463
459
|
|
|
464
460
|
if (Object.prototype.toString.apply(vIntent) === "[object Object]") {
|
|
465
|
-
|
|
461
|
+
const sShellHash = ObjectPath.get("target.shellHash", vIntent);
|
|
466
462
|
if (typeof sShellHash === "string") {
|
|
467
|
-
vIntent.target.shellHash =
|
|
463
|
+
vIntent.target.shellHash = this._injectInnerAppRoute(
|
|
468
464
|
sShellHash, sInnerAppRoute
|
|
469
465
|
);
|
|
470
466
|
|
|
@@ -554,7 +550,7 @@ sap.ui.define([
|
|
|
554
550
|
}
|
|
555
551
|
|
|
556
552
|
if (bAsync) {
|
|
557
|
-
|
|
553
|
+
const oDeferred = new jQuery.Deferred();
|
|
558
554
|
this.hrefForExternalAsync(oArgs, oComponent)
|
|
559
555
|
.then(oDeferred.resolve)
|
|
560
556
|
.catch(oDeferred.reject);
|
|
@@ -569,10 +565,10 @@ sap.ui.define([
|
|
|
569
565
|
|
|
570
566
|
// clone because _extractInnerAppRoute may change the original structure
|
|
571
567
|
// (we don't want to create side effects on the original object).
|
|
572
|
-
|
|
573
|
-
|
|
568
|
+
let oArgsClone = merge({}, oArgs);
|
|
569
|
+
const oExtraction = this._extractInnerAppRoute(oArgsClone);
|
|
574
570
|
|
|
575
|
-
|
|
571
|
+
const vIntentNoAppRoute = oExtraction.intent;
|
|
576
572
|
|
|
577
573
|
crossApplicationNavigationUtils.addXAppStateFromParameter(
|
|
578
574
|
vIntentNoAppRoute,
|
|
@@ -590,7 +586,7 @@ sap.ui.define([
|
|
|
590
586
|
|
|
591
587
|
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
592
588
|
|
|
593
|
-
|
|
589
|
+
const ShellNavigationInternal = sap.ushell.Container.getService("ShellNavigationInternal"); // LEGACY API (deprecated)
|
|
594
590
|
|
|
595
591
|
if (!ShellNavigationInternal) {
|
|
596
592
|
Log.debug("Shell not available, no Cross App Navigation");
|
|
@@ -673,48 +669,38 @@ sap.ui.define([
|
|
|
673
669
|
* @since 1.94.0
|
|
674
670
|
* @public
|
|
675
671
|
*/
|
|
676
|
-
this.hrefForExternalAsync = function (oArgs, oComponent) {
|
|
672
|
+
this.hrefForExternalAsync = async function (oArgs, oComponent) {
|
|
677
673
|
// clone because _extractInnerAppRoute may change the original structure
|
|
678
674
|
// (we don't want to create side effects on the original object).
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
704
|
-
|
|
705
|
-
return sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
|
|
706
|
-
}.bind(this))
|
|
707
|
-
.then(function (ShellNavigationInternal) {
|
|
708
|
-
return new Promise(function (resolve, reject) {
|
|
709
|
-
ShellNavigationInternal.hrefForExternal(oArgsClone, undefined, oComponent)
|
|
710
|
-
.then(resolve)
|
|
711
|
-
.catch(reject);
|
|
712
|
-
});
|
|
713
|
-
})
|
|
714
|
-
.catch(function () {
|
|
715
|
-
Log.debug("Shell not available, no Cross App Navigation");
|
|
716
|
-
return "";
|
|
675
|
+
let oArgsClone = merge({}, oArgs);
|
|
676
|
+
const oExtraction = this._extractInnerAppRoute(oArgsClone);
|
|
677
|
+
|
|
678
|
+
const vIntentNoAppRoute = oExtraction.intent;
|
|
679
|
+
|
|
680
|
+
try {
|
|
681
|
+
/* parameter containing data */
|
|
682
|
+
await crossApplicationNavigationUtils.addXAppStateFromParameterAsync(vIntentNoAppRoute, "sap-xapp-state-data");
|
|
683
|
+
oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
|
|
684
|
+
const oArgsCloneResult = await crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
685
|
+
args: oArgsClone,
|
|
686
|
+
appLifeCycle: AppLifeCycleAI,
|
|
687
|
+
technicalParameters: TechnicalParameters,
|
|
688
|
+
type: typeUtils
|
|
689
|
+
});
|
|
690
|
+
oArgsClone = oArgsCloneResult;
|
|
691
|
+
oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
|
|
692
|
+
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
693
|
+
|
|
694
|
+
const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
|
|
695
|
+
return new Promise((resolve, reject) => {
|
|
696
|
+
ShellNavigationInternal.hrefForExternal(oArgsClone, undefined, oComponent)
|
|
697
|
+
.then(resolve)
|
|
698
|
+
.catch(reject);
|
|
717
699
|
});
|
|
700
|
+
} catch (oError) {
|
|
701
|
+
Log.debug("Shell not available, no Cross App Navigation");
|
|
702
|
+
return "";
|
|
703
|
+
}
|
|
718
704
|
};
|
|
719
705
|
|
|
720
706
|
/**
|
|
@@ -727,9 +713,9 @@ sap.ui.define([
|
|
|
727
713
|
* @public
|
|
728
714
|
*/
|
|
729
715
|
this.expandCompactHash = function (sHashFragment) {
|
|
730
|
-
|
|
716
|
+
const oDeferred = new jQuery.Deferred();
|
|
731
717
|
|
|
732
|
-
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(
|
|
718
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
|
|
733
719
|
NavTargetResolutionInternal.expandCompactHash(sHashFragment)
|
|
734
720
|
.done(oDeferred.resolve)
|
|
735
721
|
.fail(oDeferred.reject);
|
|
@@ -747,21 +733,18 @@ sap.ui.define([
|
|
|
747
733
|
* Note that the behavior of this method is subject to change and therefore it may not yield to the expected results
|
|
748
734
|
* especially on mobile devices where "back" is the previous inner-app state if these are put into the history!
|
|
749
735
|
*
|
|
750
|
-
* @returns {Promise
|
|
736
|
+
* @returns {Promise} A promise which resolves once the back navigation was triggered
|
|
751
737
|
*
|
|
752
738
|
* @public
|
|
753
739
|
*/
|
|
754
|
-
this.backToPreviousApp = function () {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
740
|
+
this.backToPreviousApp = async function () {
|
|
741
|
+
const bIsInitial = await this.isInitialNavigationAsync();
|
|
742
|
+
if (bIsInitial) {
|
|
743
|
+
// go back home
|
|
744
|
+
return this.toExternal({ target: { shellHash: "#" }, writeHistory: false });
|
|
745
|
+
}
|
|
761
746
|
|
|
762
|
-
|
|
763
|
-
return undefined;
|
|
764
|
-
}.bind(this));
|
|
747
|
+
this.historyBack();
|
|
765
748
|
};
|
|
766
749
|
|
|
767
750
|
/**
|
|
@@ -773,7 +756,7 @@ sap.ui.define([
|
|
|
773
756
|
* @public
|
|
774
757
|
*/
|
|
775
758
|
this.historyBack = function (iSteps) {
|
|
776
|
-
|
|
759
|
+
let iActualStepsBack = -1;
|
|
777
760
|
if (iSteps && typeof iSteps === "number") {
|
|
778
761
|
if (iSteps <= 0) {
|
|
779
762
|
Log.warning(
|
|
@@ -804,8 +787,8 @@ sap.ui.define([
|
|
|
804
787
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
805
788
|
);
|
|
806
789
|
|
|
807
|
-
|
|
808
|
-
|
|
790
|
+
const oContainer = ObjectPath.get("sap.ushell.Container");
|
|
791
|
+
const oShellNavigationInternal = oContainer
|
|
809
792
|
&& typeof oContainer.getService === "function"
|
|
810
793
|
&& oContainer.getService("ShellNavigationInternal");
|
|
811
794
|
|
|
@@ -818,7 +801,7 @@ sap.ui.define([
|
|
|
818
801
|
return true;
|
|
819
802
|
}
|
|
820
803
|
|
|
821
|
-
|
|
804
|
+
const bIsInitialNavigation = oShellNavigationInternal.isInitialNavigation();
|
|
822
805
|
|
|
823
806
|
// An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
|
|
824
807
|
// Hence this is the first navigation in case asked at this point in time.
|
|
@@ -839,27 +822,26 @@ sap.ui.define([
|
|
|
839
822
|
* @since 1.94.0
|
|
840
823
|
* @public
|
|
841
824
|
*/
|
|
842
|
-
this.isInitialNavigationAsync = function () {
|
|
843
|
-
|
|
844
|
-
.
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
return true;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
return bIsInitialNavigation;
|
|
854
|
-
})
|
|
855
|
-
.catch(function () {
|
|
856
|
-
Log.debug(
|
|
857
|
-
"ShellNavigationInternal service not available",
|
|
858
|
-
"This will be treated as the initial navigation",
|
|
859
|
-
"sap.ushell.services.CrossApplicationNavigation"
|
|
860
|
-
);
|
|
825
|
+
this.isInitialNavigationAsync = async function () {
|
|
826
|
+
try {
|
|
827
|
+
const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
|
|
828
|
+
const bIsInitialNavigation = ShellNavigationInternal.isInitialNavigation();
|
|
829
|
+
|
|
830
|
+
// An undefined value indicates that the ShellNavigationInternal service did not initialize the ShellNavigationHashChanger yet.
|
|
831
|
+
// Hence this is the first navigation in case asked at this point in time.
|
|
832
|
+
if (typeof bIsInitialNavigation === "undefined") {
|
|
861
833
|
return true;
|
|
862
|
-
}
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
return bIsInitialNavigation;
|
|
837
|
+
} catch (oError) {
|
|
838
|
+
Log.debug(
|
|
839
|
+
"ShellNavigationInternal service not available",
|
|
840
|
+
"This will be treated as the initial navigation",
|
|
841
|
+
"sap.ushell.services.CrossApplicationNavigation"
|
|
842
|
+
);
|
|
843
|
+
return true;
|
|
844
|
+
}
|
|
863
845
|
};
|
|
864
846
|
|
|
865
847
|
/**
|
|
@@ -950,65 +932,50 @@ sap.ui.define([
|
|
|
950
932
|
*
|
|
951
933
|
* @param {object} [oComponent] an optional UI5 component, used to logically attach a possibly generated app state.
|
|
952
934
|
*
|
|
953
|
-
* @returns {Promise
|
|
935
|
+
* @returns {Promise} A <code>Promise</code> which resolves once the navigation was triggered. The <code>Promise</code> might never reject or resolve
|
|
954
936
|
* when an error occurs during the navigation.
|
|
955
937
|
*
|
|
956
938
|
* @since 1.15.0
|
|
957
939
|
* @public
|
|
958
940
|
*/
|
|
959
|
-
this.toExternal = function (oArgs, oComponent) {
|
|
960
|
-
|
|
941
|
+
this.toExternal = async function (oArgs, oComponent) {
|
|
942
|
+
const bWriteHistory = oArgs.writeHistory;
|
|
961
943
|
// clone because _extractInnerAppRoute may change the original structure
|
|
962
944
|
// (we don't want to create side effects on the original object).
|
|
963
|
-
|
|
945
|
+
let oArgsClone = merge({}, oArgs);
|
|
964
946
|
// clone again because _extractInnerAppRoute may change the original structure
|
|
965
|
-
|
|
947
|
+
const oNavTarget = merge({}, oArgsClone);
|
|
966
948
|
this._processShellHashWithParams(oArgsClone);
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
);
|
|
989
|
-
}.bind(this))
|
|
990
|
-
.then(function () {
|
|
991
|
-
oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
|
|
992
|
-
return crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
993
|
-
args: oArgsClone,
|
|
994
|
-
appLifeCycle: AppLifeCycleAI,
|
|
995
|
-
technicalParameters: TechnicalParameters,
|
|
996
|
-
type: typeUtils
|
|
997
|
-
});
|
|
998
|
-
})
|
|
999
|
-
.then(function (oArgsCloneResult) {
|
|
1000
|
-
oArgsClone = oArgsCloneResult;
|
|
1001
|
-
oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
|
|
949
|
+
const oExtraction = this._extractInnerAppRoute(oArgsClone);
|
|
950
|
+
|
|
951
|
+
const vIntentNoAppRoute = oExtraction.intent;
|
|
952
|
+
|
|
953
|
+
try {
|
|
954
|
+
const oAppLifeCycleService = await sap.ushell.Container.getServiceAsync("AppLifeCycle");
|
|
955
|
+
const oShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
|
|
956
|
+
const oCurrentApplication = oAppLifeCycleService.getCurrentApplication();
|
|
957
|
+
const oIntent = oCurrentApplication && await oCurrentApplication.getIntent();
|
|
958
|
+
this._checkIfAppNeedsToBeReloaded(oNavTarget, oCurrentApplication, oIntent, oShellNavigationInternal.hashChanger);
|
|
959
|
+
/* parameter containing data */
|
|
960
|
+
await crossApplicationNavigationUtils.addXAppStateFromParameterAsync(vIntentNoAppRoute, "sap-xapp-state-data");
|
|
961
|
+
oArgsClone = getTargetWithCurrentSystem(vIntentNoAppRoute, oComponent);
|
|
962
|
+
const oArgsCloneResult = await crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
963
|
+
args: oArgsClone,
|
|
964
|
+
appLifeCycle: AppLifeCycleAI,
|
|
965
|
+
technicalParameters: TechnicalParameters,
|
|
966
|
+
type: typeUtils
|
|
967
|
+
});
|
|
968
|
+
oArgsClone = oArgsCloneResult;
|
|
969
|
+
oArgsClone = amendTargetWithSapUshellEncTestParameter(oArgsClone);
|
|
1002
970
|
|
|
1003
|
-
|
|
971
|
+
delete oArgsClone.writeHistory;
|
|
1004
972
|
|
|
1005
|
-
|
|
973
|
+
oArgsClone = this._injectInnerAppRoute(oArgsClone, oExtraction.innerAppRoute);
|
|
1006
974
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
.
|
|
1010
|
-
|
|
1011
|
-
});
|
|
975
|
+
return await oShellNavigationInternal.toExternal(oArgsClone, oComponent, bWriteHistory);
|
|
976
|
+
} catch (oError) {
|
|
977
|
+
Log.error("CrossAppNavigation.toExternal failed", oError, "sap.ushell.services.CrossApplicationNavigation");
|
|
978
|
+
}
|
|
1012
979
|
};
|
|
1013
980
|
|
|
1014
981
|
/**
|
|
@@ -1030,7 +997,7 @@ sap.ui.define([
|
|
|
1030
997
|
|
|
1031
998
|
if (navTarget.target.shellHash) {
|
|
1032
999
|
// convert shell hash in to semantic object and action form
|
|
1033
|
-
|
|
1000
|
+
const oHash = UrlParsing.parseShellHash(navTarget.target.shellHash) || {};
|
|
1034
1001
|
|
|
1035
1002
|
navTarget.target = {
|
|
1036
1003
|
semanticObject: oHash.semanticObject,
|
|
@@ -1059,12 +1026,12 @@ sap.ui.define([
|
|
|
1059
1026
|
|
|
1060
1027
|
// Navigation parameter may not be inside an array and might not be strings
|
|
1061
1028
|
// So they have to be adjusted in order to be matched against the current parameters
|
|
1062
|
-
|
|
1029
|
+
const oTargetIntent = { params: {} };
|
|
1063
1030
|
if (navTarget.params) {
|
|
1064
|
-
Object.keys(navTarget.params).forEach(
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
oTargetIntent.params[sKey] = aValue.map(
|
|
1031
|
+
Object.keys(navTarget.params).forEach((sKey) => {
|
|
1032
|
+
const vValue = navTarget.params[sKey];
|
|
1033
|
+
const aValue = Array.isArray(vValue) ? vValue : [vValue];
|
|
1034
|
+
oTargetIntent.params[sKey] = aValue.map((vInnerValue) => {
|
|
1068
1035
|
return vInnerValue.toString();
|
|
1069
1036
|
});
|
|
1070
1037
|
});
|
|
@@ -1101,16 +1068,16 @@ sap.ui.define([
|
|
|
1101
1068
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
1102
1069
|
);
|
|
1103
1070
|
|
|
1104
|
-
|
|
1071
|
+
const oContainer = ObjectPath.get("sap.ushell.Container");
|
|
1105
1072
|
if (oContainer && typeof oContainer.getService === "function") {
|
|
1106
|
-
|
|
1073
|
+
const oShellNavigationInternal = oContainer.getService("ShellNavigationInternal");
|
|
1107
1074
|
if (oShellNavigationInternal) {
|
|
1108
1075
|
return oShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
|
|
1109
1076
|
}
|
|
1110
1077
|
}
|
|
1111
1078
|
Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
|
|
1112
1079
|
// Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
|
|
1113
|
-
return
|
|
1080
|
+
return `#${encodeURI(sAppHash)}`;
|
|
1114
1081
|
};
|
|
1115
1082
|
|
|
1116
1083
|
/**
|
|
@@ -1130,16 +1097,15 @@ sap.ui.define([
|
|
|
1130
1097
|
* @since 1.94.0
|
|
1131
1098
|
* @public
|
|
1132
1099
|
*/
|
|
1133
|
-
this.hrefForAppSpecificHashAsync = function (sAppHash) {
|
|
1134
|
-
|
|
1135
|
-
.
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
.
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
});
|
|
1100
|
+
this.hrefForAppSpecificHashAsync = async function (sAppHash) {
|
|
1101
|
+
try {
|
|
1102
|
+
const ShellNavigationInternal = await sap.ushell.Container.getServiceAsync("ShellNavigationInternal");
|
|
1103
|
+
return ShellNavigationInternal.hrefForAppSpecificHash(sAppHash);
|
|
1104
|
+
} catch (oError) {
|
|
1105
|
+
Log.debug("Shell not available, no Cross App Navigation; fallback to app-specific part only");
|
|
1106
|
+
// Note: this encoding is to be kept aligned with the encoding in hasher.js ( see _encodePath( ) )
|
|
1107
|
+
return `#${encodeURI(sAppHash)}`;
|
|
1108
|
+
}
|
|
1143
1109
|
};
|
|
1144
1110
|
|
|
1145
1111
|
/**
|
|
@@ -1170,9 +1136,9 @@ sap.ui.define([
|
|
|
1170
1136
|
* @public
|
|
1171
1137
|
*/
|
|
1172
1138
|
this.getPrimaryIntent = function (sSemanticObject, mParameters) {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1139
|
+
const oQuery = {};
|
|
1140
|
+
let fnSortPredicate;
|
|
1141
|
+
const rgxDisplayFactSheetAction = /^#\w+-displayFactSheet(?:$|\?.)/;
|
|
1176
1142
|
|
|
1177
1143
|
oQuery.tags = ["primaryAction"];
|
|
1178
1144
|
oQuery.semanticObject = sSemanticObject;
|
|
@@ -1181,20 +1147,18 @@ sap.ui.define([
|
|
|
1181
1147
|
}
|
|
1182
1148
|
|
|
1183
1149
|
return this.getLinks(oQuery)
|
|
1184
|
-
.then(
|
|
1150
|
+
.then((aLinks) => {
|
|
1185
1151
|
if (aLinks.length === 0) {
|
|
1186
1152
|
delete oQuery.tags;
|
|
1187
1153
|
oQuery.action = "displayFactSheet";
|
|
1188
1154
|
|
|
1189
1155
|
// Priority given to intents with the action "displayFactSheet"
|
|
1190
1156
|
fnSortPredicate = function (oLink, oOtherLink) {
|
|
1191
|
-
var bEitherIsFactSheetAction;
|
|
1192
|
-
|
|
1193
1157
|
if (oLink.intent === oOtherLink.intent) {
|
|
1194
1158
|
return 0;
|
|
1195
1159
|
}
|
|
1196
1160
|
|
|
1197
|
-
bEitherIsFactSheetAction = rgxDisplayFactSheetAction.test(oLink.intent)
|
|
1161
|
+
const bEitherIsFactSheetAction = rgxDisplayFactSheetAction.test(oLink.intent)
|
|
1198
1162
|
^ rgxDisplayFactSheetAction.test(oOtherLink.intent);
|
|
1199
1163
|
|
|
1200
1164
|
if (bEitherIsFactSheetAction) {
|
|
@@ -1217,8 +1181,8 @@ sap.ui.define([
|
|
|
1217
1181
|
};
|
|
1218
1182
|
|
|
1219
1183
|
return aLinks;
|
|
1220
|
-
}
|
|
1221
|
-
.then(
|
|
1184
|
+
})
|
|
1185
|
+
.then((aLinks) => {
|
|
1222
1186
|
return aLinks.length === 0 ? null : aLinks.sort(fnSortPredicate)[0];
|
|
1223
1187
|
});
|
|
1224
1188
|
};
|
|
@@ -1265,10 +1229,10 @@ sap.ui.define([
|
|
|
1265
1229
|
* @public
|
|
1266
1230
|
*/
|
|
1267
1231
|
this.getSemanticObjectLinks = function (sSemanticObject, mParameters, bIgnoreFormFactor, oComponent, sAppStateKey, bCompactIntents) {
|
|
1268
|
-
|
|
1232
|
+
const oDeferred = new jQuery.Deferred();
|
|
1269
1233
|
|
|
1270
1234
|
Promise.resolve()
|
|
1271
|
-
.then(
|
|
1235
|
+
.then(() => {
|
|
1272
1236
|
return crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
1273
1237
|
args: { params: mParameters },
|
|
1274
1238
|
appLifeCycle: AppLifeCycleAI,
|
|
@@ -1276,15 +1240,15 @@ sap.ui.define([
|
|
|
1276
1240
|
type: typeUtils
|
|
1277
1241
|
});
|
|
1278
1242
|
})
|
|
1279
|
-
.then(
|
|
1243
|
+
.then((mParametersPlusSapSystem) => {
|
|
1280
1244
|
mParametersPlusSapSystem = getTargetWithCurrentSystem(mParametersPlusSapSystem, oComponent).params;
|
|
1281
1245
|
mParametersPlusSapSystem = amendTargetWithSapUshellEncTestParameter({ params: mParametersPlusSapSystem }).params;
|
|
1282
1246
|
|
|
1283
1247
|
// deal with multi-arg calls
|
|
1284
|
-
|
|
1248
|
+
let vArgs;
|
|
1285
1249
|
if (Array.isArray(sSemanticObject)) {
|
|
1286
1250
|
vArgs = [];
|
|
1287
|
-
sSemanticObject.forEach(
|
|
1251
|
+
sSemanticObject.forEach((aArgs) => {
|
|
1288
1252
|
vArgs.push([{
|
|
1289
1253
|
semanticObject: aArgs[0],
|
|
1290
1254
|
params: aArgs[1],
|
|
@@ -1311,9 +1275,9 @@ sap.ui.define([
|
|
|
1311
1275
|
vArgs
|
|
1312
1276
|
]);
|
|
1313
1277
|
})
|
|
1314
|
-
.then(
|
|
1315
|
-
|
|
1316
|
-
|
|
1278
|
+
.then((aResults) => {
|
|
1279
|
+
const NavTargetResolutionInternal = aResults[0];
|
|
1280
|
+
const vArgs = aResults[1];
|
|
1317
1281
|
ushellUtils.invokeUnfoldingArrayArguments(NavTargetResolutionInternal.getLinks.bind(NavTargetResolutionInternal), [vArgs])
|
|
1318
1282
|
.done(oDeferred.resolve)
|
|
1319
1283
|
.fail(oDeferred.reject);
|
|
@@ -1470,16 +1434,15 @@ sap.ui.define([
|
|
|
1470
1434
|
* @since 1.38.0
|
|
1471
1435
|
*/
|
|
1472
1436
|
this.getLinks = function (vArgs) {
|
|
1473
|
-
var aExpandedIntents;
|
|
1474
1437
|
// the invokeUnfoldingArrayArguments does not want [oArg1, oArg2, oArg3], but [ [oArg1], [oArg2], [oArg3] ], because the
|
|
1475
1438
|
// logic in that method is based on positional parameters - however we have only one argument (the oArg object in this case).
|
|
1476
|
-
aExpandedIntents = ushellUtils.invokeUnfoldingArrayArguments(this._getLinks.bind(this), [vArgs]);
|
|
1439
|
+
const aExpandedIntents = ushellUtils.invokeUnfoldingArrayArguments(this._getLinks.bind(this), [vArgs]);
|
|
1477
1440
|
|
|
1478
1441
|
return aExpandedIntents;
|
|
1479
1442
|
};
|
|
1480
1443
|
|
|
1481
1444
|
this._getLinks = function (oNominalArgs) {
|
|
1482
|
-
|
|
1445
|
+
const oDeferred = new jQuery.Deferred();
|
|
1483
1446
|
|
|
1484
1447
|
// If method gets called without vArgs, the result should be the same as if vArgs was an empty object.
|
|
1485
1448
|
if (typeof oNominalArgs === "undefined") {
|
|
@@ -1487,13 +1450,13 @@ sap.ui.define([
|
|
|
1487
1450
|
}
|
|
1488
1451
|
|
|
1489
1452
|
// ensure certain parameters are specified
|
|
1490
|
-
|
|
1453
|
+
let oNominalArgsClone = deepExtend({}, oNominalArgs);
|
|
1491
1454
|
oNominalArgsClone.compactIntents = !!oNominalArgsClone.compactIntents;
|
|
1492
1455
|
oNominalArgsClone.action = oNominalArgsClone.action || undefined;
|
|
1493
1456
|
oNominalArgsClone.paramsOptions = crossApplicationNavigationUtils.extractGetLinksParameterOptions(oNominalArgsClone.params);
|
|
1494
1457
|
|
|
1495
1458
|
Promise.resolve()
|
|
1496
|
-
.then(
|
|
1459
|
+
.then(() => {
|
|
1497
1460
|
return crossApplicationNavigationUtils.injectStickyParametersAsync({
|
|
1498
1461
|
args: oNominalArgsClone,
|
|
1499
1462
|
appLifeCycle: AppLifeCycleAI,
|
|
@@ -1501,9 +1464,9 @@ sap.ui.define([
|
|
|
1501
1464
|
type: typeUtils
|
|
1502
1465
|
});
|
|
1503
1466
|
})
|
|
1504
|
-
.then(
|
|
1467
|
+
.then((oNominalArgsCloneResult) => {
|
|
1505
1468
|
oNominalArgsClone = oNominalArgsCloneResult;
|
|
1506
|
-
|
|
1469
|
+
let mParameterDefinition;
|
|
1507
1470
|
if (oNominalArgsClone.params) {
|
|
1508
1471
|
mParameterDefinition = crossApplicationNavigationUtils.extractGetLinksParameterDefinition(oNominalArgsClone.params);
|
|
1509
1472
|
} else {
|
|
@@ -1511,7 +1474,7 @@ sap.ui.define([
|
|
|
1511
1474
|
}
|
|
1512
1475
|
|
|
1513
1476
|
// propagate sap-system into parameters
|
|
1514
|
-
|
|
1477
|
+
let mParametersPlusSapSystem = getTargetWithCurrentSystem(
|
|
1515
1478
|
{ params: mParameterDefinition }, oNominalArgsClone.ui5Component
|
|
1516
1479
|
).params;
|
|
1517
1480
|
|
|
@@ -1527,7 +1490,7 @@ sap.ui.define([
|
|
|
1527
1490
|
|
|
1528
1491
|
return sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal");
|
|
1529
1492
|
})
|
|
1530
|
-
.then(
|
|
1493
|
+
.then((NavTargetResolutionInternal) => {
|
|
1531
1494
|
NavTargetResolutionInternal.getLinks(oNominalArgsClone)
|
|
1532
1495
|
.done(oDeferred.resolve)
|
|
1533
1496
|
.fail(oDeferred.reject);
|
|
@@ -1548,9 +1511,9 @@ sap.ui.define([
|
|
|
1548
1511
|
* @public
|
|
1549
1512
|
*/
|
|
1550
1513
|
this.getDistinctSemanticObjects = function () {
|
|
1551
|
-
|
|
1514
|
+
const oDeferred = new jQuery.Deferred();
|
|
1552
1515
|
|
|
1553
|
-
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(
|
|
1516
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
|
|
1554
1517
|
NavTargetResolutionInternal.getDistinctSemanticObjects()
|
|
1555
1518
|
.done(oDeferred.resolve)
|
|
1556
1519
|
.fail(oDeferred.reject);
|
|
@@ -1598,20 +1561,20 @@ sap.ui.define([
|
|
|
1598
1561
|
* @deprecated since 1.31. Please use {@link #isNavigationSupported} instead. Note that this has a slightly different response format.
|
|
1599
1562
|
*/
|
|
1600
1563
|
this.isIntentSupported = function (aIntents, oComponent) {
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1564
|
+
const oDeferred = new jQuery.Deferred();
|
|
1565
|
+
const mOriginalIntentHash = {}; // used for remapping
|
|
1566
|
+
const aClonedIntentsWithSapSystem = aIntents.map((sIntent) => {
|
|
1567
|
+
const sIntentWithSystem = getTargetWithCurrentSystem(sIntent, oComponent); // returns clone
|
|
1605
1568
|
mOriginalIntentHash[sIntentWithSystem] = sIntent;
|
|
1606
1569
|
return sIntentWithSystem;
|
|
1607
1570
|
});
|
|
1608
1571
|
|
|
1609
|
-
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(
|
|
1572
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
|
|
1610
1573
|
NavTargetResolutionInternal.isIntentSupported(aClonedIntentsWithSapSystem)
|
|
1611
|
-
.done(
|
|
1574
|
+
.done((mIntentSupportedPlusSapSystem) => {
|
|
1612
1575
|
// Must restore keys to what the application expects, as per NavTargetResolutionInternal contract.
|
|
1613
|
-
|
|
1614
|
-
Object.keys(mIntentSupportedPlusSapSystem).forEach(
|
|
1576
|
+
const mIntentSupportedNoSapSystem = {};
|
|
1577
|
+
Object.keys(mIntentSupportedPlusSapSystem).forEach((sKeyPlusSapSystem) => {
|
|
1615
1578
|
mIntentSupportedNoSapSystem[
|
|
1616
1579
|
mOriginalIntentHash[sKeyPlusSapSystem]
|
|
1617
1580
|
] = mIntentSupportedPlusSapSystem[sKeyPlusSapSystem];
|
|
@@ -1726,14 +1689,14 @@ sap.ui.define([
|
|
|
1726
1689
|
* @public
|
|
1727
1690
|
*/
|
|
1728
1691
|
this.isNavigationSupported = function (aIntents, oComponent) {
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
.map(
|
|
1732
|
-
|
|
1692
|
+
const oDeferred = new jQuery.Deferred();
|
|
1693
|
+
const aClonedIntents = deepClone(aIntents)
|
|
1694
|
+
.map((oIntent) => {
|
|
1695
|
+
const oExtraction = this._extractInnerAppRoute(oIntent);
|
|
1733
1696
|
return getTargetWithCurrentSystem(oExtraction.intent, oComponent); // returns only shallow clone
|
|
1734
|
-
}
|
|
1697
|
+
});
|
|
1735
1698
|
|
|
1736
|
-
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(
|
|
1699
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
|
|
1737
1700
|
NavTargetResolutionInternal.isNavigationSupported(aClonedIntents)
|
|
1738
1701
|
.done(oDeferred.resolve)
|
|
1739
1702
|
.fail(oDeferred.reject);
|
|
@@ -1789,9 +1752,7 @@ sap.ui.define([
|
|
|
1789
1752
|
reject();
|
|
1790
1753
|
}
|
|
1791
1754
|
})
|
|
1792
|
-
.fail(
|
|
1793
|
-
reject();
|
|
1794
|
-
});
|
|
1755
|
+
.fail(reject);
|
|
1795
1756
|
} else {
|
|
1796
1757
|
resolve();
|
|
1797
1758
|
}
|
|
@@ -1873,7 +1834,7 @@ sap.ui.define([
|
|
|
1873
1834
|
*/
|
|
1874
1835
|
this._checkComponentConfig = function (oConfig) {
|
|
1875
1836
|
if (oConfig) {
|
|
1876
|
-
|
|
1837
|
+
const iConfigPropertyCount = Object.keys(oConfig).length;
|
|
1877
1838
|
if (iConfigPropertyCount > 1 ||
|
|
1878
1839
|
(iConfigPropertyCount === 1 && !oConfig.componentData)) {
|
|
1879
1840
|
return "`oConfig` argument should either be an empty object or contain only the `componentData` property.";
|
|
@@ -1904,7 +1865,7 @@ sap.ui.define([
|
|
|
1904
1865
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
1905
1866
|
);
|
|
1906
1867
|
|
|
1907
|
-
|
|
1868
|
+
const AppStateService = sap.ushell.Container.getService("AppState");
|
|
1908
1869
|
|
|
1909
1870
|
if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
|
|
1910
1871
|
throw new Error("The passed oAppComponent must be a UI5 Component.");
|
|
@@ -1927,14 +1888,12 @@ sap.ui.define([
|
|
|
1927
1888
|
* @private
|
|
1928
1889
|
* @ui5-restricted SAP-internally public, must not be changed. Not part of public documentation.
|
|
1929
1890
|
*/
|
|
1930
|
-
this.createEmptyAppStateAsync = function (oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings) {
|
|
1891
|
+
this.createEmptyAppStateAsync = async function (oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings) {
|
|
1931
1892
|
if (!BaseObject.isA(oAppComponent, "sap.ui.core.UIComponent")) {
|
|
1932
1893
|
return Promise.reject("The passed oAppComponent must be a UI5 Component.");
|
|
1933
1894
|
}
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
return AppStateService.createEmptyAppState(oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings);
|
|
1937
|
-
});
|
|
1895
|
+
const AppStateService = await sap.ushell.Container.getServiceAsync("AppState");
|
|
1896
|
+
return AppStateService.createEmptyAppState(oAppComponent, bTransientEnforced, sPersistencyMethod, oPersistencySettings);
|
|
1938
1897
|
};
|
|
1939
1898
|
|
|
1940
1899
|
/**
|
|
@@ -1949,7 +1908,9 @@ sap.ui.define([
|
|
|
1949
1908
|
*/
|
|
1950
1909
|
this.getStartupAppState = function (oAppComponent) {
|
|
1951
1910
|
this._checkComponent(oAppComponent);
|
|
1952
|
-
|
|
1911
|
+
const oComponentData = oAppComponent.getComponentData();
|
|
1912
|
+
const sXAppState = oComponentData && oComponentData["sap-xapp-state"];
|
|
1913
|
+
const sContainerKey = sXAppState && sXAppState[0];
|
|
1953
1914
|
return this.getAppState(oAppComponent, sContainerKey);
|
|
1954
1915
|
};
|
|
1955
1916
|
|
|
@@ -1980,17 +1941,16 @@ sap.ui.define([
|
|
|
1980
1941
|
*/
|
|
1981
1942
|
this.getAppState = function (oAppComponent, sAppStateKey) {
|
|
1982
1943
|
// see stakeholders in SFIN etc.
|
|
1983
|
-
|
|
1984
|
-
var oDeferred = new jQuery.Deferred();
|
|
1944
|
+
const oDeferred = new jQuery.Deferred();
|
|
1985
1945
|
this._checkComponent(oAppComponent);
|
|
1986
1946
|
|
|
1987
|
-
sap.ushell.Container.getServiceAsync("AppState").then(
|
|
1947
|
+
sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
|
|
1988
1948
|
if (typeof sAppStateKey !== "string") {
|
|
1989
1949
|
if (sAppStateKey !== undefined) {
|
|
1990
1950
|
Log.error("Illegal Argument sAppStateKey ");
|
|
1991
1951
|
}
|
|
1992
|
-
setTimeout(
|
|
1993
|
-
oContainer = AppState.createEmptyUnmodifiableAppState(oAppComponent);
|
|
1952
|
+
setTimeout(() => {
|
|
1953
|
+
const oContainer = AppState.createEmptyUnmodifiableAppState(oAppComponent);
|
|
1994
1954
|
oDeferred.resolve(oContainer);
|
|
1995
1955
|
}, 0);
|
|
1996
1956
|
return;
|
|
@@ -2023,8 +1983,7 @@ sap.ui.define([
|
|
|
2023
1983
|
* @private
|
|
2024
1984
|
*/
|
|
2025
1985
|
this.getAppStateData = function (sAppStateKeyOrArray) {
|
|
2026
|
-
return ushellUtils.invokeUnfoldingArrayArguments(this._getAppStateData.bind(this),
|
|
2027
|
-
[sAppStateKeyOrArray]);
|
|
1986
|
+
return ushellUtils.invokeUnfoldingArrayArguments(this._getAppStateData.bind(this), [sAppStateKeyOrArray]);
|
|
2028
1987
|
};
|
|
2029
1988
|
|
|
2030
1989
|
/**
|
|
@@ -2047,19 +2006,19 @@ sap.ui.define([
|
|
|
2047
2006
|
* @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation.
|
|
2048
2007
|
*/
|
|
2049
2008
|
this._getAppStateData = function (sAppStateKey) {
|
|
2050
|
-
|
|
2009
|
+
const oDeferred = new jQuery.Deferred();
|
|
2051
2010
|
|
|
2052
|
-
sap.ushell.Container.getServiceAsync("AppState").then(
|
|
2011
|
+
sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
|
|
2053
2012
|
if (typeof sAppStateKey !== "string") {
|
|
2054
2013
|
if (sAppStateKey !== undefined) {
|
|
2055
2014
|
Log.error("Illegal Argument sAppStateKey ");
|
|
2056
2015
|
}
|
|
2057
|
-
setTimeout(
|
|
2016
|
+
setTimeout(() => {
|
|
2058
2017
|
oDeferred.resolve(undefined);
|
|
2059
2018
|
}, 0);
|
|
2060
2019
|
} else {
|
|
2061
2020
|
AppState.getAppState(sAppStateKey)
|
|
2062
|
-
.done(
|
|
2021
|
+
.done((oAppState) => {
|
|
2063
2022
|
oDeferred.resolve(oAppState.getData());
|
|
2064
2023
|
})
|
|
2065
2024
|
.fail(oDeferred.resolve.bind(oDeferred, undefined));
|
|
@@ -2079,20 +2038,22 @@ sap.ui.define([
|
|
|
2079
2038
|
* @ui5-restricted SAP Internal usage only, beware! internally public, cannot be changed, but not part of the public documentation
|
|
2080
2039
|
*/
|
|
2081
2040
|
this.saveMultipleAppStates = function (aAppStates) {
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
aAppStates.forEach(
|
|
2041
|
+
const aResult = [];
|
|
2042
|
+
const oDeferred = new jQuery.Deferred();
|
|
2043
|
+
aAppStates.forEach((oAppState) => {
|
|
2085
2044
|
aResult.push(oAppState.save());
|
|
2086
2045
|
});
|
|
2087
|
-
jQuery.when.apply(this, aResult)
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2046
|
+
jQuery.when.apply(this, aResult)
|
|
2047
|
+
.done(() => {
|
|
2048
|
+
oDeferred.resolve(aResult);
|
|
2049
|
+
})
|
|
2050
|
+
.fail(() => {
|
|
2051
|
+
oDeferred.reject("save failed");
|
|
2052
|
+
});
|
|
2092
2053
|
return oDeferred.promise();
|
|
2093
2054
|
};
|
|
2094
2055
|
|
|
2095
|
-
|
|
2056
|
+
/*
|
|
2096
2057
|
* Process navigation parameters to allow "shellHash" together with parameters section, something that is currently not allowed.
|
|
2097
2058
|
* This functionality is enabled only upon flag that is added to the navigation parameters. e.g.:
|
|
2098
2059
|
* <pre>
|
|
@@ -2110,8 +2071,8 @@ sap.ui.define([
|
|
|
2110
2071
|
*
|
|
2111
2072
|
*/
|
|
2112
2073
|
this._processShellHashWithParams = function (oArgs) {
|
|
2113
|
-
if (oArgs
|
|
2114
|
-
|
|
2074
|
+
if (oArgs?.processParams === true && oArgs?.target?.shellHash && oArgs?.params) {
|
|
2075
|
+
const oHash = UrlParsing.parseShellHash(oArgs.target.shellHash);
|
|
2115
2076
|
|
|
2116
2077
|
oArgs.target = {
|
|
2117
2078
|
semanticObject: oHash.semanticObject,
|
|
@@ -2135,7 +2096,7 @@ sap.ui.define([
|
|
|
2135
2096
|
null,
|
|
2136
2097
|
"sap.ushell.services.CrossApplicationNavigation"
|
|
2137
2098
|
);
|
|
2138
|
-
|
|
2099
|
+
const AppStateService = sap.ushell.Container.getService("AppState");
|
|
2139
2100
|
|
|
2140
2101
|
return AppStateService.getSupportedPersistencyMethods();
|
|
2141
2102
|
};
|
|
@@ -2143,15 +2104,13 @@ sap.ui.define([
|
|
|
2143
2104
|
/**
|
|
2144
2105
|
* Method to get an array of sap.ushell.services.AppStatePersistencyMethod.
|
|
2145
2106
|
*
|
|
2146
|
-
* @returns {string[]} Returns an array of sap.ushell.services.AppStatePersistencyMethod.
|
|
2107
|
+
* @returns {Promise<string[]>} Returns an array of sap.ushell.services.AppStatePersistencyMethod.
|
|
2147
2108
|
* An empty array indicates that the platform does not support persistent states
|
|
2148
2109
|
* @since 1.95
|
|
2149
2110
|
*/
|
|
2150
|
-
this.getSupportedAppStatePersistencyMethodsAsync = function () {
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
return AppStateService.getSupportedPersistencyMethods();
|
|
2154
|
-
});
|
|
2111
|
+
this.getSupportedAppStatePersistencyMethodsAsync = async function () {
|
|
2112
|
+
const oAppStateService = await sap.ushell.Container.getServiceAsync("AppState");
|
|
2113
|
+
return oAppStateService.getSupportedPersistencyMethods();
|
|
2155
2114
|
};
|
|
2156
2115
|
|
|
2157
2116
|
/**
|
|
@@ -2164,8 +2123,8 @@ sap.ui.define([
|
|
|
2164
2123
|
* @returns {jQuery.Promise<string>}Resolves a new key.
|
|
2165
2124
|
*/
|
|
2166
2125
|
this.makeStatePersistent = function (sKey, iPersistencyMethod, oPersistencySettings) {
|
|
2167
|
-
|
|
2168
|
-
sap.ushell.Container.getServiceAsync("AppState").then(
|
|
2126
|
+
const oDeferred = new jQuery.Deferred();
|
|
2127
|
+
sap.ushell.Container.getServiceAsync("AppState").then((AppState) => {
|
|
2169
2128
|
AppState.makeStatePersistent(sKey, iPersistencyMethod, oPersistencySettings)
|
|
2170
2129
|
.done(oDeferred.resolve)
|
|
2171
2130
|
.fail(oDeferred.reject);
|
|
@@ -2187,14 +2146,16 @@ sap.ui.define([
|
|
|
2187
2146
|
* @protected
|
|
2188
2147
|
*/
|
|
2189
2148
|
this.resolveIntent = function (sHashFragment) {
|
|
2190
|
-
|
|
2149
|
+
const oDeferred = new jQuery.Deferred();
|
|
2191
2150
|
|
|
2192
|
-
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then(
|
|
2193
|
-
NavTargetResolutionInternal.resolveHashFragment(sHashFragment)
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2151
|
+
sap.ushell.Container.getServiceAsync("NavTargetResolutionInternal").then((NavTargetResolutionInternal) => {
|
|
2152
|
+
NavTargetResolutionInternal.resolveHashFragment(sHashFragment)
|
|
2153
|
+
.then((oResult) => {
|
|
2154
|
+
oDeferred.resolve({ url: oResult.url });
|
|
2155
|
+
})
|
|
2156
|
+
.fail((sMessage) => {
|
|
2157
|
+
oDeferred.reject(sMessage);
|
|
2158
|
+
});
|
|
2198
2159
|
});
|
|
2199
2160
|
return oDeferred.promise();
|
|
2200
2161
|
};
|