@sapui5/sap.ushell 1.138.1 → 1.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +14 -10
- 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 +3 -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 +112 -92
- 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 +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +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 +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
- 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 +30 -23
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -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 +21 -9
- 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 +8 -3
- 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 +7 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
- 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 +8 -4
- package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
- 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 +2 -2
- 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 +3 -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 +1 -0
- 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/AccessibilityTextsHelper.js +13 -0
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
- package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
- package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
- package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
- package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
- package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
- package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -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 +177 -170
- 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 +3248 -0
- package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
- package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
- package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
- 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/_dynamics/InputSuggestions.js +444 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -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 +143 -149
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -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 +2 -2
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -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/webcomponents-base.js +35 -31
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
- 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/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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's bookmark service. Allows creating shortcuts on the user's home page.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.
|
|
6
|
+
* @version 1.139.0
|
|
7
7
|
* @deprecated since 1.120
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
"sap/base/util/deepClone",
|
|
16
16
|
"sap/base/util/deepExtend",
|
|
17
17
|
"sap/base/Log"
|
|
18
|
-
],
|
|
18
|
+
], (
|
|
19
19
|
EventBus,
|
|
20
20
|
jQuery,
|
|
21
21
|
Config,
|
|
@@ -24,14 +24,14 @@ sap.ui.define([
|
|
|
24
24
|
deepClone,
|
|
25
25
|
deepExtend,
|
|
26
26
|
Log
|
|
27
|
-
) {
|
|
27
|
+
) => {
|
|
28
28
|
"use strict";
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
const sModuleName = "sap.ushell.services.Bookmark";
|
|
31
|
+
const LEGACY_HANA_CATALOG_ID = "X-SAP-UI2-HANA:hana?remoteId=HANA_CATALOG";
|
|
32
32
|
|
|
33
33
|
// shortcut for sap.ushell.ContentNodeType
|
|
34
|
-
|
|
34
|
+
const ContentNodeType = ushellLibrary.ContentNodeType;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* @alias sap.ushell.services.Bookmark
|
|
@@ -78,28 +78,27 @@ sap.ui.define([
|
|
|
78
78
|
* @private
|
|
79
79
|
*/
|
|
80
80
|
this._addBookmarkToContentNodes = function (oBookmarkParams, aContentNodes, bCustom, sContentProviderId) {
|
|
81
|
-
|
|
81
|
+
const aPromises = aContentNodes.map((oContentNode) => {
|
|
82
82
|
if (oContentNode && oContentNode.hasOwnProperty("type") && oContentNode.isContainer) {
|
|
83
83
|
switch (oContentNode.type) {
|
|
84
84
|
case ContentNodeType.Page:
|
|
85
85
|
return this.addBookmarkToPage(oBookmarkParams, oContentNode.id, sContentProviderId);
|
|
86
86
|
case ContentNodeType.HomepageGroup:
|
|
87
|
-
return new Promise(
|
|
88
|
-
this._oLaunchPageServicePromise.then(
|
|
87
|
+
return new Promise((resolve, reject) => {
|
|
88
|
+
this._oLaunchPageServicePromise.then((LaunchPageService) => {
|
|
89
89
|
LaunchPageService.getGroupById(oContentNode.id)
|
|
90
90
|
.done(resolve)
|
|
91
91
|
.fail(reject);
|
|
92
92
|
});
|
|
93
|
-
}.
|
|
94
|
-
.
|
|
95
|
-
|
|
96
|
-
}.bind(this));
|
|
93
|
+
}).then((oGroup) => {
|
|
94
|
+
return this.addBookmarkToHomepageGroup(oBookmarkParams, oGroup, bCustom, sContentProviderId);
|
|
95
|
+
});
|
|
97
96
|
default:
|
|
98
|
-
return Promise.reject(
|
|
97
|
+
return Promise.reject(`Bookmark Service: The API needs to be called with a valid content node type. '${oContentNode.type}' is not supported.`);
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
100
|
return Promise.reject("Bookmark Service: Not a valid content node.");
|
|
102
|
-
}
|
|
101
|
+
});
|
|
103
102
|
|
|
104
103
|
return Promise.all(aPromises);
|
|
105
104
|
};
|
|
@@ -190,10 +189,10 @@ sap.ui.define([
|
|
|
190
189
|
* @public
|
|
191
190
|
*/
|
|
192
191
|
this.addBookmark = function (oParameters, vContainer, sContentProviderId) {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
const oDeferred = new jQuery.Deferred();
|
|
193
|
+
const bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
|
|
194
|
+
const bEnableSpace = Config.last("/core/spaces/enabled");
|
|
195
|
+
const bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
|
|
197
196
|
|
|
198
197
|
// Ignore call and do not complain if personalization is disabled
|
|
199
198
|
if (!bEnablePersonalization && (!bEnableSpace || !bEnableMyHome)) {
|
|
@@ -204,22 +203,22 @@ sap.ui.define([
|
|
|
204
203
|
.then(() => {
|
|
205
204
|
return this._changeUrlStatesToPersistent(oParameters.url);
|
|
206
205
|
})
|
|
207
|
-
.then(
|
|
206
|
+
.then((sNewUrl) => {
|
|
208
207
|
oParameters.url = sNewUrl;
|
|
209
208
|
|
|
210
209
|
// Check if no container was provided and we are in spaces mode.
|
|
211
210
|
if (typeof vContainer === "undefined" && bEnableSpace) {
|
|
212
211
|
return sap.ushell.Container.getServiceAsync("Menu")
|
|
213
|
-
.then(
|
|
212
|
+
.then((oMenuService) => {
|
|
214
213
|
return oMenuService.getDefaultSpace();
|
|
215
214
|
})
|
|
216
|
-
.then(
|
|
217
|
-
|
|
215
|
+
.then((oDefaultSpace) => {
|
|
216
|
+
const oDefaultPage = oDefaultSpace && oDefaultSpace.children && oDefaultSpace.children[0];
|
|
218
217
|
return oDefaultPage;
|
|
219
218
|
})
|
|
220
|
-
.then(
|
|
219
|
+
.then((oContentNode) => {
|
|
221
220
|
return this._addBookmarkToContentNodes(oParameters, [oContentNode], false, sContentProviderId);
|
|
222
|
-
}
|
|
221
|
+
});
|
|
223
222
|
}
|
|
224
223
|
|
|
225
224
|
// Check if an old Launchpad Group object was provided instead of a content node
|
|
@@ -228,12 +227,12 @@ sap.ui.define([
|
|
|
228
227
|
}
|
|
229
228
|
|
|
230
229
|
// Make sure we always use an array of content nodes
|
|
231
|
-
|
|
230
|
+
const aContentNodes = [].concat(vContainer);
|
|
232
231
|
|
|
233
232
|
return this._addBookmarkToContentNodes(oParameters, aContentNodes, false, sContentProviderId);
|
|
234
|
-
}
|
|
233
|
+
})
|
|
235
234
|
.then(oDeferred.resolve)
|
|
236
|
-
.catch(
|
|
235
|
+
.catch((vError) => {
|
|
237
236
|
Log.error("Error during Bookmark creation: ", vError, sModuleName);
|
|
238
237
|
oDeferred.reject(vError);
|
|
239
238
|
});
|
|
@@ -293,8 +292,8 @@ sap.ui.define([
|
|
|
293
292
|
* @ui5-restricted ssuite.smartbusiness
|
|
294
293
|
*/
|
|
295
294
|
this.addCustomBookmark = async function (sVizType, oConfig, vContentNodes, sContentProviderId) {
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
const oClonedConfig = deepClone(oConfig);
|
|
296
|
+
const oBookmarkConfig = deepExtend(oClonedConfig, {
|
|
298
297
|
vizType: sVizType,
|
|
299
298
|
vizConfig: {
|
|
300
299
|
"sap.flp": {
|
|
@@ -312,7 +311,7 @@ sap.ui.define([
|
|
|
312
311
|
oBookmarkConfig.url = await this._changeUrlStatesToPersistent(oBookmarkConfig.url);
|
|
313
312
|
|
|
314
313
|
// Make sure we always use an array of content nodes
|
|
315
|
-
|
|
314
|
+
const aContentNodes = [].concat(vContentNodes);
|
|
316
315
|
|
|
317
316
|
return this._addBookmarkToContentNodes(oBookmarkConfig, aContentNodes, true, sContentProviderId);
|
|
318
317
|
};
|
|
@@ -363,14 +362,14 @@ sap.ui.define([
|
|
|
363
362
|
this.addBookmarkToHomepageGroup = function (oParameters, oGroup, bCustom, sContentProviderId) {
|
|
364
363
|
// Reject if in launchpad spaces mode
|
|
365
364
|
if (Config.last("/core/spaces/enabled")) {
|
|
366
|
-
|
|
365
|
+
const sError = "Bookmark Service: The API is not available in spaces mode.";
|
|
367
366
|
return Promise.reject(sError);
|
|
368
367
|
}
|
|
369
368
|
|
|
370
369
|
// Delegate to launchpage service and publish event
|
|
371
|
-
return new Promise(
|
|
372
|
-
this._oLaunchPageServicePromise.then(
|
|
373
|
-
|
|
370
|
+
return new Promise((resolve, reject) => {
|
|
371
|
+
this._oLaunchPageServicePromise.then((LaunchPageService) => {
|
|
372
|
+
let oDeferred;
|
|
374
373
|
|
|
375
374
|
if (bCustom) {
|
|
376
375
|
oDeferred = LaunchPageService.addCustomBookmark(oParameters, oGroup, sContentProviderId);
|
|
@@ -379,8 +378,8 @@ sap.ui.define([
|
|
|
379
378
|
}
|
|
380
379
|
|
|
381
380
|
oDeferred
|
|
382
|
-
.done(
|
|
383
|
-
|
|
381
|
+
.done((oTile) => {
|
|
382
|
+
const oData = {
|
|
384
383
|
tile: oTile,
|
|
385
384
|
group: oGroup
|
|
386
385
|
};
|
|
@@ -389,7 +388,7 @@ sap.ui.define([
|
|
|
389
388
|
})
|
|
390
389
|
.fail(reject);
|
|
391
390
|
});
|
|
392
|
-
}
|
|
391
|
+
});
|
|
393
392
|
};
|
|
394
393
|
|
|
395
394
|
/**
|
|
@@ -439,9 +438,9 @@ sap.ui.define([
|
|
|
439
438
|
}
|
|
440
439
|
|
|
441
440
|
// Reject if personalization is disabled
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
441
|
+
const bEnablePersonalization = Config.last("/core/shell/enablePersonalization");
|
|
442
|
+
const bEnableMyHome = Config.last("/core/spaces/myHome/enabled");
|
|
443
|
+
const sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
|
|
445
444
|
if (!bEnablePersonalization && (!bEnableMyHome || (bEnableMyHome && sPageId !== sMyHomePageId))) {
|
|
446
445
|
return Promise.reject("Bookmark Service: Add bookmark is not allowed as the personalization functionality is not enabled.");
|
|
447
446
|
}
|
|
@@ -451,7 +450,7 @@ sap.ui.define([
|
|
|
451
450
|
}
|
|
452
451
|
|
|
453
452
|
// Delegate to pages service
|
|
454
|
-
return this._oPagesServicePromise.then(
|
|
453
|
+
return this._oPagesServicePromise.then((oPagesService) => {
|
|
455
454
|
return oPagesService.addBookmarkToPage(sPageId, oParameters, undefined, sContentProviderId);
|
|
456
455
|
});
|
|
457
456
|
};
|
|
@@ -467,6 +466,8 @@ sap.ui.define([
|
|
|
467
466
|
* For list of parameters see the description for the addBookmark function
|
|
468
467
|
* @param {string} [groupId]
|
|
469
468
|
* ID of the group the bookmark tile should be added to.
|
|
469
|
+
* @param {string} [sContentProviderId]
|
|
470
|
+
* the content provider id.
|
|
470
471
|
*
|
|
471
472
|
* @returns {jQuery.Promise} Resolves on success, but rejects
|
|
472
473
|
* (with a reason-message) on failure to add the bookmark to the specified or implied group.
|
|
@@ -478,26 +479,26 @@ sap.ui.define([
|
|
|
478
479
|
*/
|
|
479
480
|
this.addBookmarkByGroupId = function (oParameters, groupId, sContentProviderId) {
|
|
480
481
|
// Reject if in launchpad spaces mode
|
|
481
|
-
|
|
482
|
+
const oDeferred = new jQuery.Deferred();
|
|
482
483
|
if (Config.last("/core/spaces/enabled")) {
|
|
483
|
-
|
|
484
|
+
const sError = "Bookmark Service: The API 'addBookmarkByGroupId' is not supported in launchpad spaces mode.";
|
|
484
485
|
return oDeferred.reject(sError).promise();
|
|
485
486
|
}
|
|
486
487
|
|
|
487
488
|
this._oLaunchPageServicePromise
|
|
488
|
-
.then(
|
|
489
|
+
.then((LaunchPageService) => {
|
|
489
490
|
LaunchPageService.getGroups()
|
|
490
|
-
.done(
|
|
491
|
-
|
|
491
|
+
.done((aGroups) => {
|
|
492
|
+
const oGroup = aGroups.find((entry) => {
|
|
492
493
|
return entry.id === groupId;
|
|
493
494
|
}) || null;
|
|
494
495
|
|
|
495
496
|
this.addBookmark(oParameters, oGroup, sContentProviderId)
|
|
496
497
|
.done(oDeferred.resolve)
|
|
497
498
|
.fail(oDeferred.reject);
|
|
498
|
-
}
|
|
499
|
+
})
|
|
499
500
|
.fail(oDeferred.reject);
|
|
500
|
-
}
|
|
501
|
+
})
|
|
501
502
|
.catch(oDeferred.reject);
|
|
502
503
|
|
|
503
504
|
return oDeferred.promise();
|
|
@@ -516,19 +517,19 @@ sap.ui.define([
|
|
|
516
517
|
* @private
|
|
517
518
|
*/
|
|
518
519
|
this.getShellGroupIDs = function (bGetAll) {
|
|
519
|
-
|
|
520
|
+
const oDeferred = new jQuery.Deferred();
|
|
520
521
|
|
|
521
522
|
// Reject if in launchpad spaces mode
|
|
522
523
|
if (Config.last("/core/spaces/enabled")) {
|
|
523
|
-
|
|
524
|
+
const sError = "Bookmark Service: The API 'getShellGroupIDs' is not supported in launchpad spaces mode.";
|
|
524
525
|
|
|
525
526
|
return oDeferred.reject(sError).promise();
|
|
526
527
|
}
|
|
527
528
|
|
|
528
|
-
this._oLaunchPageServicePromise.then(
|
|
529
|
+
this._oLaunchPageServicePromise.then((LaunchPageService) => {
|
|
529
530
|
LaunchPageService.getGroupsForBookmarks(bGetAll)
|
|
530
|
-
.done(
|
|
531
|
-
aGroups = aGroups.map(
|
|
531
|
+
.done((aGroups) => {
|
|
532
|
+
aGroups = aGroups.map((group) => {
|
|
532
533
|
return {
|
|
533
534
|
id: LaunchPageService.getGroupId(group.object),
|
|
534
535
|
title: group.title
|
|
@@ -557,41 +558,41 @@ sap.ui.define([
|
|
|
557
558
|
*/
|
|
558
559
|
this._doAddCatalogTileToGroup = function (oDeferred, sCatalogTileId, oCatalog, sGroupId) {
|
|
559
560
|
this._oLaunchPageServicePromise
|
|
560
|
-
.then(
|
|
561
|
+
.then((LaunchPageService) => {
|
|
561
562
|
if (sGroupId) {
|
|
562
563
|
LaunchPageService.getGroups()
|
|
563
564
|
.fail(oDeferred.reject)
|
|
564
|
-
.done(
|
|
565
|
-
|
|
565
|
+
.done((aGroups) => {
|
|
566
|
+
const bGroupFound = aGroups.some((oGroup) => {
|
|
566
567
|
if (LaunchPageService.getGroupId(oGroup) === sGroupId) {
|
|
567
568
|
this._addToGroup(oCatalog, oDeferred, sCatalogTileId, oGroup);
|
|
568
569
|
return true;
|
|
569
570
|
}
|
|
570
|
-
}
|
|
571
|
+
});
|
|
571
572
|
|
|
572
573
|
if (!bGroupFound) {
|
|
573
574
|
// TODO: Consider adding the tile to the default group. This would
|
|
574
575
|
// enable the user to add tiles if no valid group ID is available.
|
|
575
576
|
// Take into account how the consumer app requests the group ids.
|
|
576
|
-
|
|
577
|
+
const sError = `Group '${sGroupId}' is unknown`;
|
|
577
578
|
Log.error(sError, null, "sap.ushell.services.Bookmark");
|
|
578
579
|
oDeferred.reject(sError);
|
|
579
580
|
}
|
|
580
|
-
}
|
|
581
|
+
});
|
|
581
582
|
} else {
|
|
582
583
|
LaunchPageService.getDefaultGroup()
|
|
583
584
|
.fail(oDeferred.reject)
|
|
584
|
-
.done(
|
|
585
|
+
.done((oGroup) => {
|
|
585
586
|
this._addToGroup(oCatalog, oDeferred, sCatalogTileId, oGroup);
|
|
586
|
-
}
|
|
587
|
+
});
|
|
587
588
|
}
|
|
588
|
-
}
|
|
589
|
+
});
|
|
589
590
|
|
|
590
591
|
return oDeferred.promise();
|
|
591
592
|
};
|
|
592
593
|
|
|
593
594
|
this._isSameCatalogTile = function (sCatalogTileId, oCatalogTile, oLaunchPageService) {
|
|
594
|
-
|
|
595
|
+
const sIdWithPotentialSuffix = oLaunchPageService.getCatalogTileId(oCatalogTile);
|
|
595
596
|
|
|
596
597
|
if (sIdWithPotentialSuffix === undefined) {
|
|
597
598
|
// prevent to call undefined.indexOf.
|
|
@@ -606,31 +607,31 @@ sap.ui.define([
|
|
|
606
607
|
|
|
607
608
|
this._addToGroup = function (oCatalog, oDeferred, sCatalogTileId, oGroup) {
|
|
608
609
|
return this._oLaunchPageServicePromise
|
|
609
|
-
.then(
|
|
610
|
+
.then((LaunchPageService) => {
|
|
610
611
|
LaunchPageService.getCatalogTiles(oCatalog)
|
|
611
612
|
.fail(oDeferred.reject)
|
|
612
|
-
.done(
|
|
613
|
-
|
|
614
|
-
|
|
613
|
+
.done((aCatalogTiles) => {
|
|
614
|
+
const sGroupId = LaunchPageService.getGroupId(oGroup);
|
|
615
|
+
const bTileFound = aCatalogTiles.some((oCatalogTile) => {
|
|
615
616
|
if (this._isSameCatalogTile(sCatalogTileId, oCatalogTile, LaunchPageService)) {
|
|
616
617
|
LaunchPageService.addTile(oCatalogTile, oGroup)
|
|
617
618
|
.fail(oDeferred.reject)
|
|
618
|
-
.done(
|
|
619
|
+
.done(() => { // ignore argument oTile!
|
|
619
620
|
oDeferred.resolve();
|
|
620
621
|
EventBus.getInstance().publish("sap.ushell.services.Bookmark", "catalogTileAdded", sGroupId);
|
|
621
622
|
});
|
|
622
623
|
return true;
|
|
623
624
|
}
|
|
624
|
-
}
|
|
625
|
+
});
|
|
625
626
|
|
|
626
627
|
if (!bTileFound) {
|
|
627
|
-
|
|
628
|
-
|
|
628
|
+
const sError = `No tile '${sCatalogTileId}' in catalog '${
|
|
629
|
+
LaunchPageService.getCatalogId(oCatalog)}'`;
|
|
629
630
|
Log.error(sError, null, "sap.ushell.services.Bookmark");
|
|
630
631
|
oDeferred.reject(sError);
|
|
631
632
|
}
|
|
632
|
-
}
|
|
633
|
-
}
|
|
633
|
+
});
|
|
634
|
+
});
|
|
634
635
|
};
|
|
635
636
|
|
|
636
637
|
/**
|
|
@@ -657,8 +658,8 @@ sap.ui.define([
|
|
|
657
658
|
* @deprecated since 1.112. Please use {@link sap.ushell.services.BookmarkV2#addBookmark} instead.
|
|
658
659
|
*/
|
|
659
660
|
this.addCatalogTileToGroup = function (sCatalogTileId, sGroupId, oCatalogData) {
|
|
660
|
-
|
|
661
|
-
|
|
661
|
+
const oDeferred = new jQuery.Deferred();
|
|
662
|
+
let sError;
|
|
662
663
|
|
|
663
664
|
Log.error("Deprecated API call of 'sap.ushell.Bookmark.addCatalogTileToGroup'. Please use 'addBookmark' instead",
|
|
664
665
|
null,
|
|
@@ -672,17 +673,17 @@ sap.ui.define([
|
|
|
672
673
|
}
|
|
673
674
|
|
|
674
675
|
this._oLaunchPageServicePromise
|
|
675
|
-
.then(
|
|
676
|
-
|
|
676
|
+
.then((LaunchPageService) => {
|
|
677
|
+
const fnMatcher = oCatalogData ? this._isMatchingRemoteCatalog : this._isLegacyHANACatalog;
|
|
677
678
|
|
|
678
679
|
oCatalogData = oCatalogData || { id: LEGACY_HANA_CATALOG_ID };
|
|
679
680
|
// TODO first determine the catalog, then call onCatalogTileAdded incl. its ID
|
|
680
681
|
LaunchPageService.onCatalogTileAdded(sCatalogTileId);
|
|
681
682
|
LaunchPageService.getCatalogs()
|
|
682
683
|
.fail(oDeferred.reject)
|
|
683
|
-
.done(
|
|
684
|
-
|
|
685
|
-
aCatalogs.forEach(
|
|
684
|
+
.done((aCatalogs) => {
|
|
685
|
+
let oSourceCatalog;
|
|
686
|
+
aCatalogs.forEach((oCatalog) => {
|
|
686
687
|
if (fnMatcher(oCatalog, oCatalogData, LaunchPageService)) {
|
|
687
688
|
if (!oSourceCatalog) {
|
|
688
689
|
oSourceCatalog = oCatalog;
|
|
@@ -690,19 +691,19 @@ sap.ui.define([
|
|
|
690
691
|
// Note: We use the first match. If more than one catalog matches
|
|
691
692
|
// this might be the wrong one, resulting in a "missing tile"
|
|
692
693
|
// error. However we log the multiple catalog match before.
|
|
693
|
-
Log.warning(
|
|
694
|
+
Log.warning(`More than one matching catalog: ${JSON.stringify(oCatalogData)}`, null, "sap.ushell.services.Bookmark");
|
|
694
695
|
}
|
|
695
696
|
}
|
|
696
697
|
});
|
|
697
698
|
if (oSourceCatalog) {
|
|
698
699
|
this._doAddCatalogTileToGroup(oDeferred, sCatalogTileId, oSourceCatalog, sGroupId);
|
|
699
700
|
} else {
|
|
700
|
-
sError =
|
|
701
|
+
sError = `No matching catalog found: ${JSON.stringify(oCatalogData)}`;
|
|
701
702
|
Log.error(sError, null, "sap.ushell.services.Bookmark");
|
|
702
703
|
oDeferred.reject(sError);
|
|
703
704
|
}
|
|
704
|
-
}
|
|
705
|
-
}
|
|
705
|
+
});
|
|
706
|
+
});
|
|
706
707
|
|
|
707
708
|
return oDeferred.promise();
|
|
708
709
|
};
|
|
@@ -711,41 +712,38 @@ sap.ui.define([
|
|
|
711
712
|
* Check if the bookmark parameters are valid.
|
|
712
713
|
*
|
|
713
714
|
* @param {object} oParameters The bookmark parameters
|
|
714
|
-
* @returns {Promise
|
|
715
|
+
* @returns {Promise} Rejects with an error message if invalid bookmark data is found.
|
|
715
716
|
*
|
|
716
717
|
* @since 1.112
|
|
717
718
|
* @private
|
|
718
719
|
*/
|
|
719
|
-
this._checkBookmarkParameters = function (oParameters) {
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
throw new Error("Invalid Bookmark Data: No bookmark parameters passed.");
|
|
724
|
-
}
|
|
720
|
+
this._checkBookmarkParameters = async function (oParameters) {
|
|
721
|
+
if (!oParameters) {
|
|
722
|
+
throw new Error("Invalid Bookmark Data: No bookmark parameters passed.");
|
|
723
|
+
}
|
|
725
724
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
725
|
+
const oDataSource = oParameters.dataSource;
|
|
726
|
+
let sODataVersion;
|
|
727
|
+
if (oDataSource) {
|
|
728
|
+
if (oDataSource.type !== "OData") {
|
|
729
|
+
throw new Error(`Invalid Bookmark Data: Unknown data source type: ${oDataSource.type}`);
|
|
730
|
+
}
|
|
732
731
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
732
|
+
sODataVersion = oDataSource.settings && oDataSource.settings.odataVersion;
|
|
733
|
+
const aValidODataVersions = ["2.0", "4.0"];
|
|
734
|
+
if (!aValidODataVersions.includes(sODataVersion)) {
|
|
735
|
+
throw new Error(`Invalid Bookmark Data: Unknown OData version in the data source: ${sODataVersion}`);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
739
738
|
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
});
|
|
739
|
+
if (oParameters.serviceUrl) {
|
|
740
|
+
return sap.ushell.Container.getServiceAsync("ReferenceResolver")
|
|
741
|
+
.then((oReferenceResolver) => {
|
|
742
|
+
if (oReferenceResolver.hasSemanticDateRanges(oParameters.serviceUrl) && !oDataSource) {
|
|
743
|
+
throw new Error("Invalid Bookmark Data: Provide a data source to use semantic date ranges.");
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
}
|
|
749
747
|
};
|
|
750
748
|
|
|
751
749
|
/**
|
|
@@ -759,13 +757,15 @@ sap.ui.define([
|
|
|
759
757
|
* the catalog ID in the remote system
|
|
760
758
|
* @param {string} oRemoteCatalogData.baseUrl
|
|
761
759
|
* the base URL of the catalog in the remote system
|
|
760
|
+
* @param {object} LaunchPageService
|
|
761
|
+
* the launch page service
|
|
762
762
|
*
|
|
763
763
|
* @returns {boolean} Resolves to true if the given catalog data matches a remote catalog, otherwise it resolves to false.
|
|
764
764
|
* @static
|
|
765
765
|
* @private
|
|
766
766
|
*/
|
|
767
767
|
this._isMatchingRemoteCatalog = function (oCatalog, oRemoteCatalogData, LaunchPageService) {
|
|
768
|
-
|
|
768
|
+
const oCatalogData = LaunchPageService.getCatalogData(oCatalog);
|
|
769
769
|
|
|
770
770
|
// systemAlias is not considered yet, which might lead to multiple matches
|
|
771
771
|
return oCatalogData.remoteId === oRemoteCatalogData.remoteId
|
|
@@ -798,17 +798,17 @@ sap.ui.define([
|
|
|
798
798
|
* @public
|
|
799
799
|
*/
|
|
800
800
|
this.countBookmarks = function (sUrl, sContentProviderId) {
|
|
801
|
-
|
|
801
|
+
const oDeferred = new jQuery.Deferred();
|
|
802
802
|
|
|
803
803
|
if (Config.last("/core/spaces/enabled")) {
|
|
804
804
|
this._oPagesServicePromise
|
|
805
|
-
.then(
|
|
805
|
+
.then((oPagesService) => {
|
|
806
806
|
return oPagesService.countBookmarks({ url: sUrl, contentProviderId: sContentProviderId });
|
|
807
807
|
})
|
|
808
808
|
.then(oDeferred.resolve, oDeferred.reject);
|
|
809
809
|
} else {
|
|
810
810
|
this._oLaunchPageServicePromise
|
|
811
|
-
.then(
|
|
811
|
+
.then((LaunchPageService) => {
|
|
812
812
|
LaunchPageService.countBookmarks(sUrl, sContentProviderId)
|
|
813
813
|
.done(oDeferred.resolve)
|
|
814
814
|
.fail(oDeferred.reject);
|
|
@@ -840,22 +840,18 @@ sap.ui.define([
|
|
|
840
840
|
* @private
|
|
841
841
|
* @ui5-restricted ssuite.smartbusiness
|
|
842
842
|
*/
|
|
843
|
-
this.countCustomBookmarks = function (oIdentifier) {
|
|
843
|
+
this.countCustomBookmarks = async function (oIdentifier) {
|
|
844
844
|
if (!oIdentifier || !oIdentifier.url || !oIdentifier.vizType) {
|
|
845
845
|
return Promise.reject("countCustomBookmarks: Some required parameters are missing.");
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
if (Config.last("/core/spaces/enabled")) {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
return oPagesService.countBookmarks(oIdentifier);
|
|
852
|
-
});
|
|
849
|
+
const oPagesService = await this._oPagesServicePromise;
|
|
850
|
+
return oPagesService.countBookmarks(oIdentifier);
|
|
853
851
|
}
|
|
854
852
|
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
return LaunchPageService.countCustomBookmarks(oIdentifier);
|
|
858
|
-
});
|
|
853
|
+
const oLaunchPageService = await this._oLaunchPageServicePromise;
|
|
854
|
+
return oLaunchPageService.countCustomBookmarks(oIdentifier);
|
|
859
855
|
};
|
|
860
856
|
|
|
861
857
|
/**
|
|
@@ -876,18 +872,18 @@ sap.ui.define([
|
|
|
876
872
|
* @public
|
|
877
873
|
*/
|
|
878
874
|
this.deleteBookmarks = function (sUrl, sContentProviderId) {
|
|
879
|
-
|
|
875
|
+
const oDeferred = new jQuery.Deferred();
|
|
880
876
|
|
|
881
877
|
if (Config.last("/core/spaces/enabled")) {
|
|
882
878
|
this._oPagesServicePromise
|
|
883
|
-
.then(
|
|
879
|
+
.then((oPagesService) => {
|
|
884
880
|
return oPagesService.deleteBookmarks({ url: sUrl, contentProviderId: sContentProviderId });
|
|
885
881
|
})
|
|
886
882
|
.then(oDeferred.resolve, oDeferred.reject);
|
|
887
883
|
} else {
|
|
888
|
-
this._oLaunchPageServicePromise.then(
|
|
884
|
+
this._oLaunchPageServicePromise.then((LaunchPageService) => {
|
|
889
885
|
LaunchPageService.deleteBookmarks(sUrl, sContentProviderId)
|
|
890
|
-
.done(
|
|
886
|
+
.done((oResult) => {
|
|
891
887
|
EventBus.getInstance().publish("sap.ushell.services.Bookmark", "bookmarkTileDeleted", sUrl);
|
|
892
888
|
|
|
893
889
|
oDeferred.resolve(oResult);
|
|
@@ -927,17 +923,18 @@ sap.ui.define([
|
|
|
927
923
|
}
|
|
928
924
|
if (Config.last("/core/spaces/enabled")) {
|
|
929
925
|
return this._oPagesServicePromise
|
|
930
|
-
.then(
|
|
926
|
+
.then((oPagesService) => {
|
|
931
927
|
return oPagesService.deleteBookmarks(oIdentifier);
|
|
932
928
|
});
|
|
933
929
|
}
|
|
934
930
|
|
|
935
931
|
return this._oLaunchPageServicePromise
|
|
936
|
-
.then(
|
|
932
|
+
.then((LaunchPageService) => {
|
|
937
933
|
return LaunchPageService.deleteCustomBookmarks(oIdentifier);
|
|
938
934
|
})
|
|
939
|
-
.then(
|
|
935
|
+
.then((iDeletedBookmarksCount) => {
|
|
940
936
|
EventBus.getInstance().publish("sap.ushell.services.Bookmark", "bookmarkTileDeleted", oIdentifier.url);
|
|
937
|
+
return iDeletedBookmarksCount;
|
|
941
938
|
});
|
|
942
939
|
};
|
|
943
940
|
|
|
@@ -996,14 +993,14 @@ sap.ui.define([
|
|
|
996
993
|
* @public
|
|
997
994
|
*/
|
|
998
995
|
this.updateBookmarks = function (sUrl, oParameters, sContentProviderId) {
|
|
999
|
-
|
|
996
|
+
const oDeferred = new jQuery.Deferred();
|
|
1000
997
|
|
|
1001
998
|
if (Config.last("/core/spaces/enabled")) {
|
|
1002
999
|
Promise.all([
|
|
1003
1000
|
this._oPagesServicePromise,
|
|
1004
1001
|
this._changeUrlStatesToPersistent(oParameters.url)
|
|
1005
1002
|
])
|
|
1006
|
-
.then(
|
|
1003
|
+
.then(([oPagesService, sNewUrl]) => {
|
|
1007
1004
|
oParameters.url = sNewUrl;
|
|
1008
1005
|
return oPagesService.updateBookmarks({ url: sUrl, contentProviderId: sContentProviderId }, oParameters);
|
|
1009
1006
|
})
|
|
@@ -1013,7 +1010,7 @@ sap.ui.define([
|
|
|
1013
1010
|
this._oLaunchPageServicePromise,
|
|
1014
1011
|
this._changeUrlStatesToPersistent(oParameters.url)
|
|
1015
1012
|
])
|
|
1016
|
-
.then(
|
|
1013
|
+
.then(([LaunchPageService, sNewUrl]) => {
|
|
1017
1014
|
oParameters.url = sNewUrl;
|
|
1018
1015
|
LaunchPageService.updateBookmarks(sUrl, oParameters, sContentProviderId)
|
|
1019
1016
|
.done(oDeferred.resolve)
|
|
@@ -1083,7 +1080,7 @@ sap.ui.define([
|
|
|
1083
1080
|
return Promise.reject("deleteCustomBookmarks: Some required parameters are missing.");
|
|
1084
1081
|
}
|
|
1085
1082
|
|
|
1086
|
-
|
|
1083
|
+
const oBookmarkConfig = deepExtend({}, oConfig, {
|
|
1087
1084
|
vizConfig: {
|
|
1088
1085
|
"sap.flp": {
|
|
1089
1086
|
chipConfig: oConfig.chipConfig
|
|
@@ -1101,13 +1098,13 @@ sap.ui.define([
|
|
|
1101
1098
|
|
|
1102
1099
|
if (Config.last("/core/spaces/enabled")) {
|
|
1103
1100
|
return this._oPagesServicePromise
|
|
1104
|
-
.then(
|
|
1101
|
+
.then((oPagesService) => {
|
|
1105
1102
|
return oPagesService.updateBookmarks(oIdentifier, oBookmarkConfig);
|
|
1106
1103
|
});
|
|
1107
1104
|
}
|
|
1108
1105
|
|
|
1109
1106
|
return this._oLaunchPageServicePromise
|
|
1110
|
-
.then(
|
|
1107
|
+
.then((LaunchPageService) => {
|
|
1111
1108
|
return LaunchPageService.updateCustomBookmarks(oIdentifier, oBookmarkConfig);
|
|
1112
1109
|
});
|
|
1113
1110
|
};
|
|
@@ -1152,35 +1149,31 @@ sap.ui.define([
|
|
|
1152
1149
|
* @since 1.81
|
|
1153
1150
|
* @deprecated since 1.119. Please use {@link sap.ushell.services.BookmarkV2#getContentNodes} instead.
|
|
1154
1151
|
*/
|
|
1155
|
-
this.getContentNodes = function () {
|
|
1152
|
+
this.getContentNodes = async function () {
|
|
1156
1153
|
// Spaces mode
|
|
1157
1154
|
if (Config.last("/core/spaces/enabled")) {
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
return oMenuService.getContentNodes();
|
|
1161
|
-
});
|
|
1155
|
+
const oMenuService = await sap.ushell.Container.getServiceAsync("Menu");
|
|
1156
|
+
return oMenuService.getContentNodes();
|
|
1162
1157
|
}
|
|
1163
1158
|
|
|
1164
1159
|
// Classic home page
|
|
1165
|
-
return new Promise(
|
|
1166
|
-
this._oLaunchPageServicePromise
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
});
|
|
1160
|
+
return new Promise(async (resolve, reject) => {
|
|
1161
|
+
const oLaunchPageService = await this._oLaunchPageServicePromise;
|
|
1162
|
+
oLaunchPageService.getGroupsForBookmarks()
|
|
1163
|
+
.done((aHomepageGroups) => {
|
|
1164
|
+
const aResults = aHomepageGroups.map((oBookmarkGroup) => {
|
|
1165
|
+
return {
|
|
1166
|
+
id: oLaunchPageService.getGroupId(oBookmarkGroup.object),
|
|
1167
|
+
label: oBookmarkGroup.title,
|
|
1168
|
+
type: ContentNodeType.HomepageGroup,
|
|
1169
|
+
isContainer: true
|
|
1170
|
+
};
|
|
1171
|
+
});
|
|
1178
1172
|
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
}.bind(this));
|
|
1173
|
+
resolve(aResults);
|
|
1174
|
+
})
|
|
1175
|
+
.fail(reject);
|
|
1176
|
+
});
|
|
1184
1177
|
};
|
|
1185
1178
|
|
|
1186
1179
|
/**
|
|
@@ -1197,7 +1190,7 @@ sap.ui.define([
|
|
|
1197
1190
|
this._changeUrlStatesToPersistent = async function (sUrl) {
|
|
1198
1191
|
const AppState = await sap.ushell.Container.getServiceAsync("AppState");
|
|
1199
1192
|
|
|
1200
|
-
|
|
1193
|
+
const bAppStateConfigPersistent = AppState.getPersistentWhenShared();
|
|
1201
1194
|
// gate keeper - if the platform did not implement yet the new persistency mechanism
|
|
1202
1195
|
// with different persistency method types, no action should be taken
|
|
1203
1196
|
if (AppState.getSupportedPersistencyMethods().length === 0 && bAppStateConfigPersistent !== true) {
|
|
@@ -1212,7 +1205,6 @@ sap.ui.define([
|
|
|
1212
1205
|
};
|
|
1213
1206
|
}
|
|
1214
1207
|
|
|
1215
|
-
|
|
1216
1208
|
Bookmark.hasNoAdapter = true;
|
|
1217
1209
|
return Bookmark;
|
|
1218
1210
|
}, true /* bExport */);
|