@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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @file The Unified Shell's page builder service providing the data for the Fiori launchpad's classic Homepage.
|
|
5
5
|
* This is the privately used subset of the previously deprecated public LaunchPage service API
|
|
6
6
|
* @private
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.139.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
"sap/m/library",
|
|
17
17
|
"sap/m/GenericTile",
|
|
18
18
|
"sap/ushell/Container"
|
|
19
|
-
],
|
|
19
|
+
], (
|
|
20
20
|
Log,
|
|
21
21
|
extend,
|
|
22
22
|
ContentExtensionAdapterFactory,
|
|
@@ -26,14 +26,14 @@ sap.ui.define([
|
|
|
26
26
|
mobileLibrary,
|
|
27
27
|
GenericTile,
|
|
28
28
|
Container
|
|
29
|
-
) {
|
|
29
|
+
) => {
|
|
30
30
|
"use strict";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* shortcut for sap.m.LoadState
|
|
34
34
|
* @deprecated since 1.120
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
const LoadState = mobileLibrary.LoadState;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* @alias sap.ushell.services.FlpLaunchPage
|
|
@@ -62,24 +62,23 @@ sap.ui.define([
|
|
|
62
62
|
* @since 1.121
|
|
63
63
|
* @private
|
|
64
64
|
*/
|
|
65
|
-
function FlpLaunchPage (oAdapter
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
oAdaptersPromise;
|
|
65
|
+
function FlpLaunchPage (oAdapter/* , oContainerInterface */) {
|
|
66
|
+
const that = this;
|
|
67
|
+
const aTileActionsProviders = [];
|
|
69
68
|
|
|
70
69
|
this.oAdapters = { default: oAdapter };
|
|
71
70
|
|
|
72
71
|
/**
|
|
73
72
|
* @deprecated since 1.120
|
|
74
73
|
*/
|
|
75
|
-
oAdaptersPromise = ContentExtensionAdapterFactory.getAdapters();
|
|
74
|
+
const oAdaptersPromise = ContentExtensionAdapterFactory.getAdapters();
|
|
76
75
|
|
|
77
76
|
/**
|
|
78
77
|
* @deprecated since 1.120
|
|
79
78
|
*/
|
|
80
|
-
oAdaptersPromise.then(
|
|
79
|
+
oAdaptersPromise.then((oAdapters) => {
|
|
81
80
|
extend(this.oAdapters, oAdapters);
|
|
82
|
-
}
|
|
81
|
+
});
|
|
83
82
|
|
|
84
83
|
/**
|
|
85
84
|
* Returns the groups of the user.
|
|
@@ -97,18 +96,18 @@ sap.ui.define([
|
|
|
97
96
|
return new jQuery.Deferred().resolve([]).promise();
|
|
98
97
|
}
|
|
99
98
|
|
|
100
|
-
|
|
99
|
+
const oDeferred = new jQuery.Deferred();
|
|
101
100
|
|
|
102
|
-
oAdaptersPromise.then(
|
|
103
|
-
|
|
101
|
+
oAdaptersPromise.then(() => {
|
|
102
|
+
const aGroupsPromises = Object.keys(that.oAdapters).map((sAdapterName) => {
|
|
104
103
|
return that._getAdapter(sAdapterName).getGroups();
|
|
105
104
|
});
|
|
106
105
|
|
|
107
|
-
jQuery.when.apply(jQuery, aGroupsPromises)
|
|
108
|
-
function () {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
106
|
+
jQuery.when.apply(jQuery, aGroupsPromises)
|
|
107
|
+
.done(function () {
|
|
108
|
+
oDeferred.resolve([].concat.apply([], arguments));
|
|
109
|
+
})
|
|
110
|
+
.fail(() => {
|
|
112
111
|
Log.error("getGroups failed");
|
|
113
112
|
});
|
|
114
113
|
});
|
|
@@ -122,38 +121,38 @@ sap.ui.define([
|
|
|
122
121
|
*
|
|
123
122
|
* @param {boolean} bGetAll If set to `true`, all groups, including locked groups, are returned.
|
|
124
123
|
*
|
|
125
|
-
* @returns {Promise<object>} A promise that resolves to the list of groups
|
|
124
|
+
* @returns {Promise<object[]>} A promise that resolves to the list of groups
|
|
126
125
|
* @private
|
|
127
126
|
* @deprecated since 1.120
|
|
128
127
|
*/
|
|
129
128
|
this.getGroupsForBookmarks = function (bGetAll) {
|
|
130
|
-
|
|
129
|
+
const oDeferred = new jQuery.Deferred();
|
|
131
130
|
|
|
132
|
-
this.getGroups().then(
|
|
133
|
-
this.getDefaultGroup().then(
|
|
131
|
+
this.getGroups().then((aGroups) => {
|
|
132
|
+
this.getDefaultGroup().then((oDefaultGroup) => {
|
|
134
133
|
if (aGroups.length > 0) {
|
|
135
|
-
aGroups = aGroups.filter(
|
|
134
|
+
aGroups = aGroups.filter((group) => {
|
|
136
135
|
if (bGetAll === true) {
|
|
137
136
|
return this.isGroupVisible(group);
|
|
138
137
|
}
|
|
139
138
|
return !this.isGroupLocked(group) && this.isGroupVisible(group);
|
|
140
|
-
}
|
|
139
|
+
});
|
|
141
140
|
|
|
142
141
|
// create the model structure
|
|
143
|
-
aGroups = aGroups.map(
|
|
142
|
+
aGroups = aGroups.map((group) => {
|
|
144
143
|
return {
|
|
145
144
|
title: (group === oDefaultGroup && resources.i18n.getText("my_group")) || this.getGroupTitle(group),
|
|
146
145
|
object: group
|
|
147
146
|
};
|
|
148
|
-
}
|
|
147
|
+
});
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
oDeferred.resolve(aGroups);
|
|
152
|
-
}
|
|
153
|
-
Log.error(
|
|
151
|
+
}, (oError) => {
|
|
152
|
+
Log.error(`getGroupsForBookmarks - getDefaultGroup - failed: ${oError.message}`);
|
|
154
153
|
});
|
|
155
|
-
}
|
|
156
|
-
Log.error(
|
|
154
|
+
}, (oError) => {
|
|
155
|
+
Log.error(`getGroupsForBookmarks - getGroups - failed: ${oError.message}`);
|
|
157
156
|
});
|
|
158
157
|
|
|
159
158
|
return oDeferred.promise();
|
|
@@ -175,7 +174,7 @@ sap.ui.define([
|
|
|
175
174
|
* @deprecated since 1.120
|
|
176
175
|
*/
|
|
177
176
|
this.getGroupTilesForSearch = function (oGroup) {
|
|
178
|
-
|
|
177
|
+
const oAdapter = this._getAdapter(oGroup.contentProvider);
|
|
179
178
|
|
|
180
179
|
if (oAdapter.getGroupTileClones) {
|
|
181
180
|
return oAdapter.getGroupTileClones(oGroup);
|
|
@@ -191,8 +190,8 @@ sap.ui.define([
|
|
|
191
190
|
* @deprecated since 1.120
|
|
192
191
|
*/
|
|
193
192
|
this.getDefaultGroup = function () {
|
|
194
|
-
|
|
195
|
-
oPromise.fail(
|
|
193
|
+
const oPromise = this._getAdapter().getDefaultGroup();
|
|
194
|
+
oPromise.fail(() => {
|
|
196
195
|
Log.error("getDefaultGroup failed");
|
|
197
196
|
});
|
|
198
197
|
return oPromise;
|
|
@@ -231,13 +230,13 @@ sap.ui.define([
|
|
|
231
230
|
* @deprecated since 1.120
|
|
232
231
|
*/
|
|
233
232
|
this.getGroupById = function (sGroupId) {
|
|
234
|
-
|
|
233
|
+
const oDeferred = new jQuery.Deferred();
|
|
235
234
|
|
|
236
|
-
this.getGroups().then(
|
|
237
|
-
oDeferred.resolve(aGroups.find(
|
|
235
|
+
this.getGroups().then((aGroups) => {
|
|
236
|
+
oDeferred.resolve(aGroups.find((oGroup) => {
|
|
238
237
|
return this.getGroupId(oGroup) === sGroupId;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
238
|
+
}));
|
|
239
|
+
});
|
|
241
240
|
|
|
242
241
|
return oDeferred.promise();
|
|
243
242
|
};
|
|
@@ -265,22 +264,21 @@ sap.ui.define([
|
|
|
265
264
|
* @deprecated since 1.120
|
|
266
265
|
*/
|
|
267
266
|
this.getTilesByGroupId = function (sGroupId) {
|
|
268
|
-
|
|
269
|
-
that = this;
|
|
267
|
+
const Deferred = new jQuery.Deferred();
|
|
270
268
|
|
|
271
|
-
this.getGroupById(sGroupId).then(
|
|
269
|
+
this.getGroupById(sGroupId).then((oGroup) => {
|
|
272
270
|
if (oGroup) {
|
|
273
|
-
|
|
271
|
+
let aTiles = this._getAdapter(oGroup.contentProvider).getGroupTiles(oGroup);
|
|
274
272
|
|
|
275
273
|
if (aTiles) {
|
|
276
|
-
aTiles = aTiles.map(
|
|
274
|
+
aTiles = aTiles.map((oTile) => {
|
|
277
275
|
return {
|
|
278
|
-
id:
|
|
279
|
-
title:
|
|
280
|
-
subtitle:
|
|
281
|
-
//info: that.getCatalogTilePreviewInfo(oTile), //not supported yet in CDM
|
|
282
|
-
url:
|
|
283
|
-
icon:
|
|
276
|
+
id: this.getTileId(oTile),
|
|
277
|
+
title: this.getTileTitle(oTile),
|
|
278
|
+
subtitle: this.getCatalogTilePreviewSubtitle(oTile),
|
|
279
|
+
// info: that.getCatalogTilePreviewInfo(oTile), //not supported yet in CDM
|
|
280
|
+
url: this.getCatalogTileTargetURL(oTile),
|
|
281
|
+
icon: this.getCatalogTilePreviewIcon(oTile),
|
|
284
282
|
groupId: sGroupId
|
|
285
283
|
};
|
|
286
284
|
});
|
|
@@ -324,31 +322,30 @@ sap.ui.define([
|
|
|
324
322
|
* @deprecated since 1.120
|
|
325
323
|
*/
|
|
326
324
|
this.addGroupAt = function (sTitle, iIndex) {
|
|
327
|
-
|
|
328
|
-
|
|
325
|
+
let oPromise;
|
|
326
|
+
const index = iIndex;
|
|
327
|
+
const oAdapter = this._getAdapter();
|
|
329
328
|
|
|
330
329
|
if (oAdapter.addGroupAt) {
|
|
331
330
|
oPromise = oAdapter.addGroupAt(sTitle, iIndex);
|
|
332
|
-
oPromise.fail(
|
|
333
|
-
Log.error(
|
|
331
|
+
oPromise.fail(() => {
|
|
332
|
+
Log.error(`addGroup ${sTitle} failed`);
|
|
334
333
|
});
|
|
335
334
|
} else {
|
|
336
|
-
|
|
335
|
+
const oDeferred = new jQuery.Deferred();
|
|
337
336
|
|
|
338
337
|
oPromise = oAdapter.addGroup(sTitle);
|
|
339
|
-
oPromise.done(
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
movePromise.done(
|
|
338
|
+
oPromise.done((oNewGroup/* , sGroupId */) => {
|
|
339
|
+
const movePromise = this.moveGroup(oNewGroup, index);
|
|
340
|
+
const newGroup = oNewGroup;
|
|
341
|
+
movePromise.done(() => {
|
|
343
342
|
oDeferred.resolve(newGroup);
|
|
344
343
|
});
|
|
345
|
-
movePromise.fail(
|
|
346
|
-
|
|
347
|
-
});
|
|
348
|
-
}.bind(this));
|
|
344
|
+
movePromise.fail(oDeferred.reject);
|
|
345
|
+
});
|
|
349
346
|
|
|
350
|
-
oPromise.fail(
|
|
351
|
-
Log.error(
|
|
347
|
+
oPromise.fail(() => {
|
|
348
|
+
Log.error(`addGroup ${sTitle} failed`);
|
|
352
349
|
oDeferred.reject();
|
|
353
350
|
});
|
|
354
351
|
|
|
@@ -371,9 +368,9 @@ sap.ui.define([
|
|
|
371
368
|
* @deprecated since 1.120
|
|
372
369
|
*/
|
|
373
370
|
this.addGroup = function (sTitle) {
|
|
374
|
-
|
|
375
|
-
oPromise.fail(
|
|
376
|
-
Log.error(
|
|
371
|
+
const oPromise = this._getAdapter().addGroup(sTitle);
|
|
372
|
+
oPromise.fail(() => {
|
|
373
|
+
Log.error(`addGroup ${sTitle} failed`);
|
|
377
374
|
});
|
|
378
375
|
return oPromise;
|
|
379
376
|
};
|
|
@@ -392,9 +389,9 @@ sap.ui.define([
|
|
|
392
389
|
* @deprecated since 1.120
|
|
393
390
|
*/
|
|
394
391
|
this.removeGroup = function (oGroup, iIndex) {
|
|
395
|
-
|
|
396
|
-
oPromise.fail(
|
|
397
|
-
Log.error(
|
|
392
|
+
const oPromise = this._getAdapter(oGroup.contentProvider).removeGroup(oGroup, iIndex);
|
|
393
|
+
oPromise.fail(() => {
|
|
394
|
+
Log.error(`Fail to removeGroup ${that.getGroupTitle(oGroup)}`);
|
|
398
395
|
});
|
|
399
396
|
return oPromise;
|
|
400
397
|
};
|
|
@@ -418,9 +415,9 @@ sap.ui.define([
|
|
|
418
415
|
* @deprecated since 1.120
|
|
419
416
|
*/
|
|
420
417
|
this.resetGroup = function (oGroup, iIndex) {
|
|
421
|
-
|
|
422
|
-
oPromise.fail(
|
|
423
|
-
Log.error(
|
|
418
|
+
const oPromise = this._getAdapter(oGroup.contentProvider).resetGroup(oGroup, iIndex);
|
|
419
|
+
oPromise.fail(() => {
|
|
420
|
+
Log.error(`Fail to resetGroup ${that.getGroupTitle(oGroup)}`);
|
|
424
421
|
});
|
|
425
422
|
return oPromise;
|
|
426
423
|
};
|
|
@@ -451,7 +448,7 @@ sap.ui.define([
|
|
|
451
448
|
* @deprecated since 1.120
|
|
452
449
|
*/
|
|
453
450
|
this.isGroupLocked = function (oGroup) {
|
|
454
|
-
|
|
451
|
+
const oAdapter = this._getAdapter(oGroup.contentProvider);
|
|
455
452
|
if (typeof oAdapter.isGroupLocked === "function") {
|
|
456
453
|
return oAdapter.isGroupLocked(oGroup);
|
|
457
454
|
}
|
|
@@ -469,7 +466,7 @@ sap.ui.define([
|
|
|
469
466
|
* @deprecated since 1.120
|
|
470
467
|
*/
|
|
471
468
|
this.isGroupFeatured = function (oGroup) {
|
|
472
|
-
|
|
469
|
+
const oAdapter = this._getAdapter(oGroup.contentProvider);
|
|
473
470
|
if (typeof oAdapter.isGroupFeatured === "function") {
|
|
474
471
|
return oAdapter.isGroupFeatured(oGroup);
|
|
475
472
|
}
|
|
@@ -489,9 +486,9 @@ sap.ui.define([
|
|
|
489
486
|
* @deprecated since 1.120
|
|
490
487
|
*/
|
|
491
488
|
this.moveGroup = function (oGroup, iNewIndex) {
|
|
492
|
-
|
|
493
|
-
oPromise.fail(
|
|
494
|
-
Log.error(
|
|
489
|
+
const oPromise = this._getAdapter(oGroup.contentProvider).moveGroup(oGroup, iNewIndex);
|
|
490
|
+
oPromise.fail(() => {
|
|
491
|
+
Log.error(`Fail to moveGroup ${that.getGroupTitle(oGroup)}`);
|
|
495
492
|
});
|
|
496
493
|
return oPromise;
|
|
497
494
|
};
|
|
@@ -510,9 +507,9 @@ sap.ui.define([
|
|
|
510
507
|
* @deprecated since 1.120
|
|
511
508
|
*/
|
|
512
509
|
this.setGroupTitle = function (oGroup, sTitle) {
|
|
513
|
-
|
|
514
|
-
oPromise.fail(
|
|
515
|
-
Log.error(
|
|
510
|
+
const oPromise = this._getAdapter(oGroup.contentProvider).setGroupTitle(oGroup, sTitle);
|
|
511
|
+
oPromise.fail(() => {
|
|
512
|
+
Log.error(`Fail to set Group title: ${that.getGroupTitle(oGroup)}`);
|
|
516
513
|
});
|
|
517
514
|
return oPromise;
|
|
518
515
|
};
|
|
@@ -526,15 +523,15 @@ sap.ui.define([
|
|
|
526
523
|
* @deprecated since 1.120
|
|
527
524
|
*/
|
|
528
525
|
this.hideGroups = function (aHiddenGroupsIDs) {
|
|
529
|
-
|
|
530
|
-
|
|
526
|
+
const oDeferred = new jQuery.Deferred();
|
|
527
|
+
const oAdapter = this._getAdapter();
|
|
531
528
|
if (typeof oAdapter.hideGroups !== "function") {
|
|
532
529
|
oDeferred.reject("hideGroups() is not implemented in the Adapter.");
|
|
533
530
|
} else {
|
|
534
|
-
oAdapter.hideGroups(aHiddenGroupsIDs).done(
|
|
531
|
+
oAdapter.hideGroups(aHiddenGroupsIDs).done(() => {
|
|
535
532
|
oDeferred.resolve();
|
|
536
|
-
}).fail(
|
|
537
|
-
Log.error(
|
|
533
|
+
}).fail((sMsg) => {
|
|
534
|
+
Log.error(`Fail to store groups visibility.${sMsg}`);
|
|
538
535
|
oDeferred.reject();
|
|
539
536
|
});
|
|
540
537
|
}
|
|
@@ -550,7 +547,7 @@ sap.ui.define([
|
|
|
550
547
|
* @deprecated since 1.120
|
|
551
548
|
*/
|
|
552
549
|
this.isGroupVisible = function (oGroup) {
|
|
553
|
-
|
|
550
|
+
const oAdapter = this._getAdapter(oGroup.contentProvider);
|
|
554
551
|
if (typeof oAdapter.isGroupVisible === "function") {
|
|
555
552
|
return oAdapter.isGroupVisible(oGroup);
|
|
556
553
|
}
|
|
@@ -572,10 +569,9 @@ sap.ui.define([
|
|
|
572
569
|
* @deprecated since 1.120
|
|
573
570
|
*/
|
|
574
571
|
this.addTile = function (oCatalogTile, oGroup) {
|
|
575
|
-
return this._getAdapter(oGroup.contentProvider).addTile(oCatalogTile, oGroup)
|
|
576
|
-
.
|
|
577
|
-
|
|
578
|
-
});
|
|
572
|
+
return this._getAdapter(oGroup.contentProvider).addTile(oCatalogTile, oGroup).fail((aGroups, vError) => {
|
|
573
|
+
Log.error(`Fail to add Tile: ${that.getCatalogTileId(oCatalogTile)}`, vError, "sap.ushell.services.LaunchPage");
|
|
574
|
+
});
|
|
579
575
|
};
|
|
580
576
|
|
|
581
577
|
/**
|
|
@@ -593,23 +589,23 @@ sap.ui.define([
|
|
|
593
589
|
* @deprecated since 1.120
|
|
594
590
|
*/
|
|
595
591
|
this.removeTile = function (oGroup, oTile, iIndex) {
|
|
596
|
-
|
|
592
|
+
const oDeferred = new jQuery.Deferred();
|
|
597
593
|
|
|
598
594
|
Container.getServiceAsync("AppState")
|
|
599
|
-
.then(
|
|
595
|
+
.then((AppStateService) => {
|
|
600
596
|
this._getAdapter(oGroup.contentProvider).removeTile(oGroup, oTile, iIndex)
|
|
601
|
-
.done(
|
|
602
|
-
|
|
597
|
+
.done(() => {
|
|
598
|
+
const sTileUrl = this.getCatalogTileTargetURL(oTile);
|
|
603
599
|
|
|
604
600
|
this.deleteURLStatesPersistentData(sTileUrl, AppStateService);
|
|
605
601
|
|
|
606
602
|
oDeferred.resolve();
|
|
607
|
-
}
|
|
608
|
-
.fail(
|
|
609
|
-
Log.error(
|
|
603
|
+
})
|
|
604
|
+
.fail((error) => {
|
|
605
|
+
Log.error(`Fail to remove Tile: ${this.getTileId(oTile)}`);
|
|
610
606
|
oDeferred.reject(error);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
607
|
+
});
|
|
608
|
+
})
|
|
613
609
|
.catch(oDeferred.reject);
|
|
614
610
|
|
|
615
611
|
return oDeferred.promise();
|
|
@@ -639,9 +635,9 @@ sap.ui.define([
|
|
|
639
635
|
* @deprecated since 1.120
|
|
640
636
|
*/
|
|
641
637
|
this.moveTile = function (oTile, iSourceIndex, iTargetIndex, oSourceGroup, oTargetGroup, sNewTileType) {
|
|
642
|
-
|
|
643
|
-
oPromise.fail(
|
|
644
|
-
Log.error(
|
|
638
|
+
const oPromise = this._getAdapter().moveTile(oTile, iSourceIndex, iTargetIndex, oSourceGroup, oTargetGroup, sNewTileType);
|
|
639
|
+
oPromise.fail(() => {
|
|
640
|
+
Log.error(`Fail to move Tile: ${that.getTileId(oTile)}`);
|
|
645
641
|
});
|
|
646
642
|
return oPromise;
|
|
647
643
|
};
|
|
@@ -657,8 +653,8 @@ sap.ui.define([
|
|
|
657
653
|
* @deprecated since 1.120
|
|
658
654
|
*/
|
|
659
655
|
this.isLinkPersonalizationSupported = function (oTile) {
|
|
660
|
-
|
|
661
|
-
|
|
656
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
657
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
662
658
|
if (typeof oAdapter.isLinkPersonalizationSupported === "function") {
|
|
663
659
|
return oAdapter.isLinkPersonalizationSupported(oTile);
|
|
664
660
|
}
|
|
@@ -674,7 +670,7 @@ sap.ui.define([
|
|
|
674
670
|
* @deprecated since 1.120
|
|
675
671
|
*/
|
|
676
672
|
this.getTileId = function (oTile) {
|
|
677
|
-
|
|
673
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
678
674
|
return this._getAdapter(sAdapterName).getTileId(oTile);
|
|
679
675
|
};
|
|
680
676
|
|
|
@@ -687,7 +683,7 @@ sap.ui.define([
|
|
|
687
683
|
* @deprecated since 1.120
|
|
688
684
|
*/
|
|
689
685
|
this.getTileTitle = function (oTile) {
|
|
690
|
-
|
|
686
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
691
687
|
return this._getAdapter(sAdapterName).getTileTitle(oTile);
|
|
692
688
|
};
|
|
693
689
|
|
|
@@ -700,8 +696,8 @@ sap.ui.define([
|
|
|
700
696
|
* @deprecated since 1.120
|
|
701
697
|
*/
|
|
702
698
|
this.getTileType = function (oTile) {
|
|
703
|
-
|
|
704
|
-
|
|
699
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
700
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
705
701
|
if (oAdapter.getTileType) {
|
|
706
702
|
return oAdapter.getTileType(oTile);
|
|
707
703
|
}
|
|
@@ -717,8 +713,8 @@ sap.ui.define([
|
|
|
717
713
|
* @deprecated since 1.120
|
|
718
714
|
*/
|
|
719
715
|
this.getTileView = function (oTile) {
|
|
720
|
-
|
|
721
|
-
|
|
716
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
717
|
+
let oDfd = this._getAdapter(sAdapterName).getTileView(oTile);
|
|
722
718
|
|
|
723
719
|
/**
|
|
724
720
|
* API has change to return a promise object instead the tile view since 1.24 version.
|
|
@@ -739,7 +735,7 @@ sap.ui.define([
|
|
|
739
735
|
* @deprecated since 1.120
|
|
740
736
|
*/
|
|
741
737
|
this.getCardManifest = function (oGroupCard) {
|
|
742
|
-
|
|
738
|
+
const sAdapterName = oGroupCard && oGroupCard.contentProvider;
|
|
743
739
|
return this._getAdapter(sAdapterName).getCardManifest(oGroupCard);
|
|
744
740
|
};
|
|
745
741
|
|
|
@@ -752,8 +748,8 @@ sap.ui.define([
|
|
|
752
748
|
* @deprecated since 1.120
|
|
753
749
|
*/
|
|
754
750
|
this.getAppBoxPressHandler = function (oTile) {
|
|
755
|
-
|
|
756
|
-
|
|
751
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
752
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
757
753
|
if (oAdapter.getAppBoxPressHandler) {
|
|
758
754
|
return oAdapter.getAppBoxPressHandler(oTile);
|
|
759
755
|
}
|
|
@@ -768,7 +764,7 @@ sap.ui.define([
|
|
|
768
764
|
* @private
|
|
769
765
|
*/
|
|
770
766
|
this.getTileSize = function (oTile) {
|
|
771
|
-
|
|
767
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
772
768
|
return this._getAdapter(sAdapterName).getTileSize(oTile);
|
|
773
769
|
};
|
|
774
770
|
|
|
@@ -784,7 +780,7 @@ sap.ui.define([
|
|
|
784
780
|
* @deprecated since 1.120
|
|
785
781
|
*/
|
|
786
782
|
this.getTileTarget = function (oTile) {
|
|
787
|
-
|
|
783
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
788
784
|
return this._getAdapter(sAdapterName).getTileTarget(oTile);
|
|
789
785
|
};
|
|
790
786
|
|
|
@@ -797,8 +793,8 @@ sap.ui.define([
|
|
|
797
793
|
* @deprecated since 1.120
|
|
798
794
|
*/
|
|
799
795
|
this.getTileDebugInfo = function (oTile) {
|
|
800
|
-
|
|
801
|
-
|
|
796
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
797
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
802
798
|
if (typeof oAdapter.getTileDebugInfo === "function") {
|
|
803
799
|
return oAdapter.getTileDebugInfo(oTile);
|
|
804
800
|
}
|
|
@@ -815,8 +811,8 @@ sap.ui.define([
|
|
|
815
811
|
* @since 1.21.0
|
|
816
812
|
*/
|
|
817
813
|
this.isTileIntentSupported = function (oTile) {
|
|
818
|
-
|
|
819
|
-
|
|
814
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
815
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
820
816
|
if (typeof oAdapter.isTileIntentSupported === "function") {
|
|
821
817
|
return oAdapter.isTileIntentSupported(oTile);
|
|
822
818
|
}
|
|
@@ -832,7 +828,7 @@ sap.ui.define([
|
|
|
832
828
|
* @deprecated since 1.120
|
|
833
829
|
*/
|
|
834
830
|
this.refreshTile = function (oTile) {
|
|
835
|
-
|
|
831
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
836
832
|
this._getAdapter(sAdapterName).refreshTile(oTile);
|
|
837
833
|
};
|
|
838
834
|
|
|
@@ -844,7 +840,7 @@ sap.ui.define([
|
|
|
844
840
|
* @private
|
|
845
841
|
*/
|
|
846
842
|
this.setTileVisible = function (oTile, bNewVisible) {
|
|
847
|
-
|
|
843
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
848
844
|
this._getAdapter(sAdapterName).setTileVisible(oTile, bNewVisible);
|
|
849
845
|
};
|
|
850
846
|
|
|
@@ -904,10 +900,10 @@ sap.ui.define([
|
|
|
904
900
|
* @deprecated since 1.120
|
|
905
901
|
*/
|
|
906
902
|
this.getTileActions = function (oTile) {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
903
|
+
const aTileActions = [];
|
|
904
|
+
let aActions;
|
|
905
|
+
const sAdapterName = oTile && oTile.contentProvider;
|
|
906
|
+
const oAdapter = this._getAdapter(sAdapterName);
|
|
911
907
|
|
|
912
908
|
if (typeof oAdapter.getTileActions === "function") {
|
|
913
909
|
aActions = oAdapter.getTileActions(oTile);
|
|
@@ -916,7 +912,7 @@ sap.ui.define([
|
|
|
916
912
|
}
|
|
917
913
|
}
|
|
918
914
|
|
|
919
|
-
for (
|
|
915
|
+
for (let i = 0; i < aTileActionsProviders.length; i++) {
|
|
920
916
|
aActions = aTileActionsProviders[i](oTile);
|
|
921
917
|
if (aActions && aActions.length) {
|
|
922
918
|
aTileActions.push.apply(aTileActions, aActions);
|
|
@@ -994,15 +990,15 @@ sap.ui.define([
|
|
|
994
990
|
* @private
|
|
995
991
|
*/
|
|
996
992
|
this.getCatalogData = function (oCatalog) {
|
|
997
|
-
|
|
998
|
-
if (typeof
|
|
993
|
+
const oLaunchPageAdapter = this._getAdapter();
|
|
994
|
+
if (typeof oLaunchPageAdapter.getCatalogData !== "function") {
|
|
999
995
|
Log.warning("getCatalogData not implemented in adapter", null,
|
|
1000
996
|
"sap.ushell.services.LaunchPage");
|
|
1001
997
|
return {
|
|
1002
998
|
id: this.getCatalogId(oCatalog)
|
|
1003
999
|
};
|
|
1004
1000
|
}
|
|
1005
|
-
return
|
|
1001
|
+
return oLaunchPageAdapter.getCatalogData(oCatalog);
|
|
1006
1002
|
};
|
|
1007
1003
|
|
|
1008
1004
|
/**
|
|
@@ -1049,9 +1045,9 @@ sap.ui.define([
|
|
|
1049
1045
|
* @private
|
|
1050
1046
|
*/
|
|
1051
1047
|
this.getCatalogTiles = function (oCatalog) {
|
|
1052
|
-
|
|
1053
|
-
oPromise.fail(
|
|
1054
|
-
Log.error(
|
|
1048
|
+
const oPromise = this._getAdapter().getCatalogTiles(oCatalog);
|
|
1049
|
+
oPromise.fail(() => {
|
|
1050
|
+
Log.error(`Fail to get Tiles of Catalog: ${that.getCatalogTitle(oCatalog)}`);
|
|
1055
1051
|
});
|
|
1056
1052
|
return oPromise;
|
|
1057
1053
|
};
|
|
@@ -1093,7 +1089,7 @@ sap.ui.define([
|
|
|
1093
1089
|
* @private
|
|
1094
1090
|
*/
|
|
1095
1091
|
this.getStableCatalogTileId = function (oTile) {
|
|
1096
|
-
|
|
1092
|
+
const oAdapter = this._getAdapter(oTile.contentProvider);
|
|
1097
1093
|
|
|
1098
1094
|
if (oAdapter && !oAdapter.getStableCatalogTileId) {
|
|
1099
1095
|
return null;
|
|
@@ -1110,7 +1106,7 @@ sap.ui.define([
|
|
|
1110
1106
|
* @private
|
|
1111
1107
|
*/
|
|
1112
1108
|
this.getCatalogTileTitle = function (oCatalogTile) {
|
|
1113
|
-
|
|
1109
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1114
1110
|
return this._getAdapter(sAdapterName).getCatalogTileTitle(oCatalogTile);
|
|
1115
1111
|
};
|
|
1116
1112
|
|
|
@@ -1122,7 +1118,7 @@ sap.ui.define([
|
|
|
1122
1118
|
* @private
|
|
1123
1119
|
*/
|
|
1124
1120
|
this.getCatalogTileSize = function (oCatalogTile) {
|
|
1125
|
-
|
|
1121
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1126
1122
|
return this._getAdapter(sAdapterName).getCatalogTileSize(oCatalogTile);
|
|
1127
1123
|
};
|
|
1128
1124
|
|
|
@@ -1136,13 +1132,13 @@ sap.ui.define([
|
|
|
1136
1132
|
*/
|
|
1137
1133
|
this.getCatalogTileViewControl = function (oCatalogTile, bPreview) {
|
|
1138
1134
|
// bPreview is only implemented on the abap platform
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
if (typeof
|
|
1142
|
-
return
|
|
1135
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1136
|
+
const oLaunchPageAdapter = this._getAdapter(sAdapterName);
|
|
1137
|
+
if (typeof oLaunchPageAdapter.getCatalogTileViewControl === "function") {
|
|
1138
|
+
return oLaunchPageAdapter.getCatalogTileViewControl(oCatalogTile, bPreview);
|
|
1143
1139
|
}
|
|
1144
|
-
|
|
1145
|
-
|
|
1140
|
+
const oDeferred = new jQuery.Deferred();
|
|
1141
|
+
const oResult = this.getCatalogTileView(oCatalogTile, bPreview);
|
|
1146
1142
|
|
|
1147
1143
|
oDeferred.resolve(oResult);
|
|
1148
1144
|
return oDeferred.promise();
|
|
@@ -1163,12 +1159,12 @@ sap.ui.define([
|
|
|
1163
1159
|
null,
|
|
1164
1160
|
"sap.ushell.services.LaunchPage"
|
|
1165
1161
|
);
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
if (
|
|
1169
|
-
return
|
|
1162
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1163
|
+
const oLaunchPageAdapter = this._getAdapter(sAdapterName);
|
|
1164
|
+
if (oLaunchPageAdapter.getCatalogTileView) {
|
|
1165
|
+
return oLaunchPageAdapter.getCatalogTileView(oCatalogTile, bPreview);
|
|
1170
1166
|
}
|
|
1171
|
-
|
|
1167
|
+
const sTitle = this.getTileTitle(oCatalogTile) || this.getCatalogTileTitle(oCatalogTile);
|
|
1172
1168
|
return this._createErrorTile(sTitle, "The LaunchPageAdapter does not support getCatalogTileView");
|
|
1173
1169
|
};
|
|
1174
1170
|
|
|
@@ -1183,7 +1179,7 @@ sap.ui.define([
|
|
|
1183
1179
|
* @deprecated since 1.120
|
|
1184
1180
|
*/
|
|
1185
1181
|
this._createErrorTile = function (sTitle, sMessage) {
|
|
1186
|
-
|
|
1182
|
+
const oErrorTile = new GenericTile({
|
|
1187
1183
|
state: LoadState.Failed,
|
|
1188
1184
|
header: sTitle,
|
|
1189
1185
|
subheader: sMessage || ""
|
|
@@ -1199,7 +1195,7 @@ sap.ui.define([
|
|
|
1199
1195
|
* @private
|
|
1200
1196
|
*/
|
|
1201
1197
|
this.getCatalogTileTargetURL = function (oCatalogTile) {
|
|
1202
|
-
|
|
1198
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1203
1199
|
return this._getAdapter(sAdapterName).getCatalogTileTargetURL(oCatalogTile);
|
|
1204
1200
|
};
|
|
1205
1201
|
|
|
@@ -1211,10 +1207,10 @@ sap.ui.define([
|
|
|
1211
1207
|
* @private
|
|
1212
1208
|
*/
|
|
1213
1209
|
this.getCatalogTileTags = function (oCatalogTile) {
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
if (typeof
|
|
1217
|
-
return
|
|
1210
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1211
|
+
const oLaunchPageAdapter = this._getAdapter(sAdapterName);
|
|
1212
|
+
if (typeof oLaunchPageAdapter.getCatalogTileTags === "function") {
|
|
1213
|
+
return oLaunchPageAdapter.getCatalogTileTags(oCatalogTile);
|
|
1218
1214
|
}
|
|
1219
1215
|
return [];
|
|
1220
1216
|
};
|
|
@@ -1228,7 +1224,7 @@ sap.ui.define([
|
|
|
1228
1224
|
* @private
|
|
1229
1225
|
*/
|
|
1230
1226
|
this.getCatalogTileKeywords = function (oCatalogTile) {
|
|
1231
|
-
|
|
1227
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1232
1228
|
return this._getAdapter(sAdapterName).getCatalogTileKeywords(oCatalogTile);
|
|
1233
1229
|
};
|
|
1234
1230
|
|
|
@@ -1241,8 +1237,8 @@ sap.ui.define([
|
|
|
1241
1237
|
* @private
|
|
1242
1238
|
*/
|
|
1243
1239
|
this.getCatalogTileTechnicalAttributes = function (oCatalogTile) {
|
|
1244
|
-
|
|
1245
|
-
|
|
1240
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1241
|
+
const oActualAdapter = this._getAdapter(sAdapterName);
|
|
1246
1242
|
if (typeof oActualAdapter.getCatalogTileTechnicalAttributes === "function") {
|
|
1247
1243
|
return oActualAdapter.getCatalogTileTechnicalAttributes(oCatalogTile);
|
|
1248
1244
|
}
|
|
@@ -1258,7 +1254,7 @@ sap.ui.define([
|
|
|
1258
1254
|
* @private
|
|
1259
1255
|
*/
|
|
1260
1256
|
this.getCatalogTilePreviewTitle = function (oCatalogTile) {
|
|
1261
|
-
|
|
1257
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1262
1258
|
return this._getAdapter(sAdapterName).getCatalogTilePreviewTitle(oCatalogTile);
|
|
1263
1259
|
};
|
|
1264
1260
|
|
|
@@ -1271,7 +1267,7 @@ sap.ui.define([
|
|
|
1271
1267
|
* @private
|
|
1272
1268
|
*/
|
|
1273
1269
|
this.getCatalogTilePreviewInfo = function (oCatalogTile) {
|
|
1274
|
-
|
|
1270
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1275
1271
|
// As not all LaunchPageAdapters have implemented getCatalogTilePreviewInfo yet, the call needs to be more defensive
|
|
1276
1272
|
if (this._getAdapter(sAdapterName).getCatalogTilePreviewInfo) {
|
|
1277
1273
|
return this._getAdapter(sAdapterName).getCatalogTilePreviewInfo(oCatalogTile);
|
|
@@ -1288,10 +1284,10 @@ sap.ui.define([
|
|
|
1288
1284
|
* @private
|
|
1289
1285
|
*/
|
|
1290
1286
|
this.getCatalogTilePreviewSubtitle = function (oCatalogTile) {
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
if (
|
|
1294
|
-
return
|
|
1287
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1288
|
+
const oLaunchPageAdapter = this._getAdapter(sAdapterName);
|
|
1289
|
+
if (oLaunchPageAdapter.getCatalogTilePreviewSubtitle) {
|
|
1290
|
+
return oLaunchPageAdapter.getCatalogTilePreviewSubtitle(oCatalogTile);
|
|
1295
1291
|
}
|
|
1296
1292
|
return undefined;
|
|
1297
1293
|
};
|
|
@@ -1305,7 +1301,7 @@ sap.ui.define([
|
|
|
1305
1301
|
* @private
|
|
1306
1302
|
*/
|
|
1307
1303
|
this.getCatalogTilePreviewIcon = function (oCatalogTile) {
|
|
1308
|
-
|
|
1304
|
+
const sAdapterName = oCatalogTile && oCatalogTile.contentProvider;
|
|
1309
1305
|
return this._getAdapter(sAdapterName).getCatalogTilePreviewIcon(oCatalogTile);
|
|
1310
1306
|
};
|
|
1311
1307
|
|
|
@@ -1334,20 +1330,20 @@ sap.ui.define([
|
|
|
1334
1330
|
* @deprecated since 1.120
|
|
1335
1331
|
*/
|
|
1336
1332
|
this.addBookmark = function (oParameters, oGroup, sContentProviderId) {
|
|
1337
|
-
|
|
1333
|
+
const oDeferred = new jQuery.Deferred();
|
|
1338
1334
|
if (this._hasRequiredBookmarkParameters(oParameters)) {
|
|
1339
1335
|
if (oGroup && this.isGroupLocked(oGroup)) {
|
|
1340
|
-
|
|
1336
|
+
const sMessage = `Tile cannot be added, target group (${this.getGroupTitle(oGroup)})is locked!`;
|
|
1341
1337
|
Log.error(sMessage);
|
|
1342
1338
|
return oDeferred.reject(sMessage);
|
|
1343
1339
|
}
|
|
1344
1340
|
|
|
1345
|
-
|
|
1341
|
+
const sAdapterName = oGroup && oGroup.contentProvider;
|
|
1346
1342
|
this._getAdapter(sAdapterName).addBookmark(oParameters, oGroup, sContentProviderId)
|
|
1347
1343
|
.done(oDeferred.resolve)
|
|
1348
|
-
.fail(
|
|
1349
|
-
Log.error(
|
|
1350
|
-
|
|
1344
|
+
.fail(() => {
|
|
1345
|
+
Log.error(`Fail to add bookmark for URL: ${
|
|
1346
|
+
oParameters.url} and Title: ${oParameters.title}`);
|
|
1351
1347
|
oDeferred.reject();
|
|
1352
1348
|
});
|
|
1353
1349
|
}
|
|
@@ -1392,20 +1388,20 @@ sap.ui.define([
|
|
|
1392
1388
|
* @deprecated since 1.120
|
|
1393
1389
|
*/
|
|
1394
1390
|
this.addCustomBookmark = function (oBookmarkConfig, oGroup, sContentProviderId) {
|
|
1395
|
-
|
|
1391
|
+
const oDeferred = new jQuery.Deferred();
|
|
1396
1392
|
if (this._hasRequiredBookmarkParameters(oBookmarkConfig)) {
|
|
1397
1393
|
if (oGroup && this.isGroupLocked(oGroup)) {
|
|
1398
|
-
|
|
1394
|
+
const sMessage = `Tile cannot be added, target group (${this.getGroupTitle(oGroup)})is locked!`;
|
|
1399
1395
|
Log.error(sMessage);
|
|
1400
1396
|
return oDeferred.reject(sMessage);
|
|
1401
1397
|
}
|
|
1402
1398
|
|
|
1403
|
-
|
|
1399
|
+
const sAdapterName = oGroup && oGroup.contentProvider;
|
|
1404
1400
|
this._getAdapter(sAdapterName).addCustomBookmark(oBookmarkConfig, oGroup, sContentProviderId)
|
|
1405
1401
|
.done(oDeferred.resolve)
|
|
1406
|
-
.fail(
|
|
1407
|
-
Log.error(
|
|
1408
|
-
|
|
1402
|
+
.fail(() => {
|
|
1403
|
+
Log.error(`Fail to add bookmark for URL: ${
|
|
1404
|
+
oBookmarkConfig.url} and Title: ${oBookmarkConfig.title}`);
|
|
1409
1405
|
oDeferred.reject();
|
|
1410
1406
|
});
|
|
1411
1407
|
}
|
|
@@ -1455,8 +1451,8 @@ sap.ui.define([
|
|
|
1455
1451
|
throw new Error("Missing URL");
|
|
1456
1452
|
}
|
|
1457
1453
|
|
|
1458
|
-
|
|
1459
|
-
oPromise.fail(
|
|
1454
|
+
const oPromise = this._getAdapter().countBookmarks(sUrl, sContentProviderId);
|
|
1455
|
+
oPromise.fail(() => {
|
|
1460
1456
|
Log.error("Fail to count bookmarks");
|
|
1461
1457
|
});
|
|
1462
1458
|
return oPromise;
|
|
@@ -1505,26 +1501,26 @@ sap.ui.define([
|
|
|
1505
1501
|
* @deprecated since 1.120
|
|
1506
1502
|
*/
|
|
1507
1503
|
this.deleteBookmarks = function (sUrl, sContentProviderId) {
|
|
1508
|
-
|
|
1504
|
+
const oDeferred = new jQuery.Deferred();
|
|
1509
1505
|
|
|
1510
1506
|
if (!sUrl || typeof sUrl !== "string") {
|
|
1511
1507
|
return oDeferred.reject(new Error("Missing URL")).promise();
|
|
1512
1508
|
}
|
|
1513
1509
|
|
|
1514
1510
|
Container.getServiceAsync("AppState")
|
|
1515
|
-
.then(
|
|
1511
|
+
.then((AppStateService) => {
|
|
1516
1512
|
this._getAdapter().deleteBookmarks(sUrl, undefined, sContentProviderId)
|
|
1517
|
-
.done(
|
|
1513
|
+
.done((iCount) => {
|
|
1518
1514
|
this.deleteURLStatesPersistentData(sUrl, AppStateService);
|
|
1519
1515
|
|
|
1520
1516
|
oDeferred.resolve(iCount);
|
|
1521
|
-
}
|
|
1522
|
-
.fail(
|
|
1523
|
-
Log.error(
|
|
1517
|
+
})
|
|
1518
|
+
.fail((error) => {
|
|
1519
|
+
Log.error(`Fail to delete bookmark for: ${sUrl}`);
|
|
1524
1520
|
|
|
1525
1521
|
oDeferred.reject(error);
|
|
1526
1522
|
});
|
|
1527
|
-
}
|
|
1523
|
+
})
|
|
1528
1524
|
.catch(oDeferred.reject);
|
|
1529
1525
|
|
|
1530
1526
|
return oDeferred.promise();
|
|
@@ -1583,14 +1579,14 @@ sap.ui.define([
|
|
|
1583
1579
|
throw new Error("Missing URL");
|
|
1584
1580
|
}
|
|
1585
1581
|
if (!oParameters || typeof oParameters !== "object") {
|
|
1586
|
-
Log.error(
|
|
1582
|
+
Log.error(`Fail to update bookmark. No valid parameters, URL is: ${sUrl}`);
|
|
1587
1583
|
throw new Error("Missing parameters");
|
|
1588
1584
|
}
|
|
1589
|
-
|
|
1585
|
+
const oPromise = new jQuery.Deferred();
|
|
1590
1586
|
this._getAdapter().updateBookmarks(sUrl, oParameters, undefined, sContentProviderId)
|
|
1591
1587
|
.done(oPromise.resolve)
|
|
1592
|
-
.fail(
|
|
1593
|
-
Log.error(
|
|
1588
|
+
.fail(() => {
|
|
1589
|
+
Log.error(`Fail to update bookmark for: ${sUrl}`);
|
|
1594
1590
|
oPromise.reject();
|
|
1595
1591
|
});
|
|
1596
1592
|
|
|
@@ -1664,6 +1660,24 @@ sap.ui.define([
|
|
|
1664
1660
|
this._getAdapter().onCatalogTileAdded(sTileId);
|
|
1665
1661
|
};
|
|
1666
1662
|
|
|
1663
|
+
/**
|
|
1664
|
+
* @param {string} sUrl Url
|
|
1665
|
+
* @param {string} sParamName Parameter name
|
|
1666
|
+
* @returns {string} Parameter value
|
|
1667
|
+
* @deprecated since 1.120
|
|
1668
|
+
*/
|
|
1669
|
+
function getURLParamValue (sUrl, sParamName) {
|
|
1670
|
+
const sReg = new RegExp(`(?:${sParamName}=)([^&/]+)`);
|
|
1671
|
+
const sRes = sReg.exec(sUrl);
|
|
1672
|
+
let sValue;
|
|
1673
|
+
|
|
1674
|
+
if (sRes && sRes.length === 2) {
|
|
1675
|
+
sValue = sRes[1];
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
return sValue;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1667
1681
|
/**
|
|
1668
1682
|
* If the bookmark deleted contains state keys, we need to delete
|
|
1669
1683
|
* also the persistent data, only if this is the only tile with this URL
|
|
@@ -1678,21 +1692,21 @@ sap.ui.define([
|
|
|
1678
1692
|
* @private
|
|
1679
1693
|
*/
|
|
1680
1694
|
this.deleteURLStatesPersistentData = function (sURL, oAppStateService) {
|
|
1681
|
-
//gate keeper - if the platform did not implement yet the new persistency mechanism
|
|
1682
|
-
//with different persistency method types, no action should be taken
|
|
1695
|
+
// gate keeper - if the platform did not implement yet the new persistency mechanism
|
|
1696
|
+
// with different persistency method types, no action should be taken
|
|
1683
1697
|
if (oAppStateService.getSupportedPersistencyMethods().length === 0) {
|
|
1684
1698
|
return;
|
|
1685
1699
|
}
|
|
1686
1700
|
|
|
1687
1701
|
if (sURL && sURL.length > 0) {
|
|
1688
1702
|
try {
|
|
1689
|
-
|
|
1690
|
-
|
|
1703
|
+
const sXStateKey = getURLParamValue(sURL, "sap-xapp-state");
|
|
1704
|
+
const sIStateKey = getURLParamValue(sURL, "sap-iapp-state");
|
|
1691
1705
|
if (sXStateKey !== undefined || sIStateKey !== undefined) {
|
|
1692
|
-
//before deleting the state data behind the URL of the tile, we need to check if this
|
|
1706
|
+
// before deleting the state data behind the URL of the tile, we need to check if this
|
|
1693
1707
|
// URL is appears in other tiles. Only if the result iz zero (because the current tile
|
|
1694
1708
|
// was already deleted) we can go ahead and delete also the states data
|
|
1695
|
-
this.countBookmarks(sURL).done(
|
|
1709
|
+
this.countBookmarks(sURL).done((iCount) => {
|
|
1696
1710
|
if (iCount === 0) {
|
|
1697
1711
|
if (sXStateKey !== undefined) {
|
|
1698
1712
|
oAppStateService.deleteAppState(sXStateKey);
|
|
@@ -1708,24 +1722,6 @@ sap.ui.define([
|
|
|
1708
1722
|
}
|
|
1709
1723
|
}
|
|
1710
1724
|
};
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* @param {string} sUrl Url
|
|
1714
|
-
* @param {string} sParamName Parameter name
|
|
1715
|
-
* @returns {string} Parameter value
|
|
1716
|
-
* @deprecated since 1.120
|
|
1717
|
-
*/
|
|
1718
|
-
function getURLParamValue (sUrl, sParamName) {
|
|
1719
|
-
var sReg = new RegExp("(?:" + sParamName + "=)([^&/]+)"),
|
|
1720
|
-
sRes = sReg.exec(sUrl),
|
|
1721
|
-
sValue;
|
|
1722
|
-
|
|
1723
|
-
if (sRes && sRes.length === 2) {
|
|
1724
|
-
sValue = sRes[1];
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
return sValue;
|
|
1728
|
-
}
|
|
1729
1725
|
}
|
|
1730
1726
|
|
|
1731
1727
|
FlpLaunchPage.prototype._getAdapter = function (sAdapter) {
|