@sapui5/sap.ushell 1.111.0 → 1.112.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/AppInfoParameters.js +104 -4
- package/src/main/js/sap/ushell/ApplicationType.js +11 -4
- package/src/main/js/sap/ushell/Container.js +0 -32
- 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 +51 -21
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.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/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 +24 -158
- 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/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 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +22 -140
- 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 +2 -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/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/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.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/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/appRuntime/ui5/AppRuntime.js +12 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +10 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +28 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +7 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- 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 +1 -0
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +26 -23
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +69 -33
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +3 -0
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +17 -4
- package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +21 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +9 -4
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +1 -7
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.css +14 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.js +57 -11
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +16 -3
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +470 -23
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +308 -6
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +83 -12
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +33 -6
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +7 -7
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +96 -0
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +44 -14
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +82 -25
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +18 -10
- package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +52 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/controller/ContentFinderAppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderAppSearch/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +116 -40
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +17 -6
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/NavigationSvcSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +9 -10
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +49 -57
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +4 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +26 -27
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +23 -4
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/ContentFinderDialog.controller.js +12 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +67 -16
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +3 -0
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +5 -3
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -262
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -170
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -3
- 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/renderers/fiori2/AccessKeysHandler.js +3 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +2 -1
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.view.xml +10 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +15 -5
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +0 -37
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +50 -3
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +93 -30
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +5 -243
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +31 -12
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +4 -2
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +21 -3
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -3
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +178 -125
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +15 -18
- package/src/main/js/sap/ushell/services/SmartNavigation.js +32 -6
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +5 -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 +2 -2
- 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/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +131 -135
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +341 -308
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -0
- package/src/main/js/sap/ushell/themes/base/ContentFinder.less +5 -1
- package/src/main/js/sap/ushell/themes/base/SearchFLP.less +0 -5
- package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +6 -9
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +2 -2
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +8 -0
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +2 -2
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +16 -1
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -27
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +2 -11
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +2 -11
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -24
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +2 -12
- package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +2 -12
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -25
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +0 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +0 -15
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +199 -0
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +202 -0
- package/src/main/js/sap/ushell/ui/contentFinder/AppBox.js +17 -2
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -45
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +4 -21
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +6 -8
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +21 -62
- package/src/main/js/sap/ushell/ui/shell/SplitContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +25 -5
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +53 -51
- package/src/main/js/sap/ushell/services/ContentExtension.js +0 -114
- package/src/main/js/sap/ushell/themes/base/UserPreferencesButton.less +0 -35
- package/src/main/js/sap/ushell/themes/base/flower-standalone.less +0 -774
- package/src/main/js/sap/ushell/themes/sap_belize/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/flower-standalone.less +0 -23
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/flower-standalone.less +0 -33
- package/src/main/js/sap/ushell/themes/sap_hcb/UserPreferencesButton.less +0 -7
- package/src/main/js/sap/ushell/themes/sap_hcb/flower-standalone.less +0 -34
- package/src/main/js/sap/ushell/themes/sap_horizon/UserPreferencesButton.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/UserPreferencesButton.less +0 -8
- package/src/main/js/sap/ushell/ui/footerbar/SettingsButton.js +0 -90
- package/src/main/js/sap/ushell/ui/footerbar/UserPreferencesButton.js +0 -505
- package/src/main/js/sap/ushell/ui5service/CardNavigation.js +0 -131
- package/src/main/js/sap/ushell/ui5service/CardUserFrequents.js +0 -138
- package/src/main/js/sap/ushell/ui5service/CardUserRecents.js +0 -101
- package/src/main/js/sap/ushell/ui5service/_CardUserRecents/CardUserRecentsBase.js +0 -108
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's LaunchPageAdapter for the
|
|
5
5
|
* 'CDM' platform - Version 2 (V2)
|
|
6
6
|
* @deprecated since 1.100
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.112.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/adapters/cdm/_LaunchPage/readHome",
|
|
@@ -95,7 +95,6 @@ sap.ui.define([
|
|
|
95
95
|
this._mCatalogTilePromises = {};
|
|
96
96
|
this._mFailedResolvedCatalogTiles = {};
|
|
97
97
|
this._mFailedResolvedTiles = {};
|
|
98
|
-
this._mContentProviders = {};
|
|
99
98
|
|
|
100
99
|
Promise.all([
|
|
101
100
|
sap.ushell.Container.getServiceAsync("URLParsing"),
|
|
@@ -2212,21 +2211,6 @@ sap.ui.define([
|
|
|
2212
2211
|
if (!oGroup) {
|
|
2213
2212
|
oGroup = _oDefaultGroup;
|
|
2214
2213
|
}
|
|
2215
|
-
if (oCatalogTile.contentProviderId) {
|
|
2216
|
-
// This is an extension tile from an extension site provided by a ContentProvider plugin.
|
|
2217
|
-
// See "sap-ushell-plugin-type": "ContentProvider"
|
|
2218
|
-
if (oCatalogTile.externalUrl) {
|
|
2219
|
-
// Add extension catalog tile as bookmark so that the
|
|
2220
|
-
// extension site is not needed during FLP start-up for
|
|
2221
|
-
// resolving the tile (fast, stable startup). This is a
|
|
2222
|
-
// restriction for extension tiles.
|
|
2223
|
-
return this.addBookmark(
|
|
2224
|
-
this._getBookmarkDataForExtensionCatalogTile(oCatalogTile),
|
|
2225
|
-
oGroup
|
|
2226
|
-
);
|
|
2227
|
-
}
|
|
2228
|
-
return oDeferred.reject("Extension Tile without URL").promise();
|
|
2229
|
-
}
|
|
2230
2214
|
|
|
2231
2215
|
oGroupTile = composeNewTile();
|
|
2232
2216
|
oGroupTile.appId = oCatalogTile.tileResolutionResult.appId;
|
|
@@ -2259,38 +2243,6 @@ sap.ui.define([
|
|
|
2259
2243
|
return oDeferred.promise();
|
|
2260
2244
|
};
|
|
2261
2245
|
|
|
2262
|
-
/**
|
|
2263
|
-
* Returns a settings object (necessary to call
|
|
2264
|
-
* <code>#addBookmark</code>) out of a tile from an extension
|
|
2265
|
-
* catalog.
|
|
2266
|
-
*
|
|
2267
|
-
* @param {object} oExtensionCatalogTile
|
|
2268
|
-
* Catalog tile from an extension catalog. Catalog tiles form the
|
|
2269
|
-
* main site's catalogs are not supported!
|
|
2270
|
-
*
|
|
2271
|
-
* @returns {object}
|
|
2272
|
-
* Object as expected by <code>#addBookmark</code>
|
|
2273
|
-
*
|
|
2274
|
-
* @private
|
|
2275
|
-
*/
|
|
2276
|
-
this._getBookmarkDataForExtensionCatalogTile = function (oExtensionCatalogTile) {
|
|
2277
|
-
var oBookmarkSettings = {
|
|
2278
|
-
title: oExtensionCatalogTile.tileResolutionResult.title,
|
|
2279
|
-
subtitle: oExtensionCatalogTile.tileResolutionResult.subTitle,
|
|
2280
|
-
icon: oExtensionCatalogTile.tileResolutionResult.icon,
|
|
2281
|
-
info: oExtensionCatalogTile.tileResolutionResult.info,
|
|
2282
|
-
url: oExtensionCatalogTile.externalUrl
|
|
2283
|
-
};
|
|
2284
|
-
|
|
2285
|
-
if (oExtensionCatalogTile.tileResolutionResult.indicatorDataSource &&
|
|
2286
|
-
oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path) {
|
|
2287
|
-
oBookmarkSettings.serviceUrl = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path;
|
|
2288
|
-
oBookmarkSettings.serviceRefreshInterval = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.refresh;
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
return oBookmarkSettings;
|
|
2292
|
-
};
|
|
2293
|
-
|
|
2294
2246
|
/**
|
|
2295
2247
|
* Removes a tile from a given group on the homepage. Furthermore the personalization will be
|
|
2296
2248
|
* persisted for the end user.
|
|
@@ -2502,15 +2454,8 @@ sap.ui.define([
|
|
|
2502
2454
|
oDeferred = new jQuery.Deferred(),
|
|
2503
2455
|
aCatalogs = [];
|
|
2504
2456
|
|
|
2505
|
-
function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred
|
|
2457
|
+
function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred) {
|
|
2506
2458
|
var oCatalog = oCdmSite.catalogs[sCatalogId];
|
|
2507
|
-
|
|
2508
|
-
if (sProviderId && oProviderCache) {
|
|
2509
|
-
// This is an extension catalog from an extension site provided by a ContentProvider plugin.
|
|
2510
|
-
// See "sap-ushell-plugin-type": "ContentProvider"
|
|
2511
|
-
oCatalog.contentProviderId = sProviderId;
|
|
2512
|
-
oProviderCache.catalogsMap[sCatalogId] = oCatalog;
|
|
2513
|
-
}
|
|
2514
2459
|
aCatalogs.push(oCatalog);
|
|
2515
2460
|
oGetCatalogsDeferred.notify(oCatalog);
|
|
2516
2461
|
}
|
|
@@ -2524,66 +2469,17 @@ sap.ui.define([
|
|
|
2524
2469
|
Object.keys(oSite.catalogs).forEach(function (sCatalogId) {
|
|
2525
2470
|
processCatalog(oSite, sCatalogId, aCatalogs, oDeferred);
|
|
2526
2471
|
});
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
// one site was loaded
|
|
2540
|
-
Object.keys(oExtensionSite.catalogs).forEach(function (sCatalogId) {
|
|
2541
|
-
that._mContentProviders[sProviderId] = oProviderCache;
|
|
2542
|
-
|
|
2543
|
-
processCatalog(
|
|
2544
|
-
oExtensionSite,
|
|
2545
|
-
sCatalogId,
|
|
2546
|
-
aCatalogs,
|
|
2547
|
-
oDeferred,
|
|
2548
|
-
sProviderId, // note: difference to .getSite() catalogs
|
|
2549
|
-
oProviderCache
|
|
2550
|
-
);
|
|
2551
|
-
});
|
|
2552
|
-
}).done(function (aLoadReport) {
|
|
2553
|
-
aLoadReport.filter(function (oLoadReport) {
|
|
2554
|
-
// error logging
|
|
2555
|
-
return !oLoadReport.success;
|
|
2556
|
-
}).forEach(function (oFailedLoadReport, iIdx) {
|
|
2557
|
-
// Add the failed site as a catalog to signal that
|
|
2558
|
-
// an error occurred. The consumer should always
|
|
2559
|
-
// call #getCatalogError on the returned catalog.
|
|
2560
|
-
aCatalogs.push({
|
|
2561
|
-
identification: {
|
|
2562
|
-
// id needed for sorting
|
|
2563
|
-
id: oFailedLoadReport.providerId
|
|
2564
|
-
},
|
|
2565
|
-
contentProviderId: oFailedLoadReport.providerId,
|
|
2566
|
-
error: "The following content providers could not provide catalogs: "
|
|
2567
|
-
+ oFailedLoadReport.providerId
|
|
2568
|
-
+ (oFailedLoadReport.error
|
|
2569
|
-
? " -> " + oFailedLoadReport.error
|
|
2570
|
-
: ""
|
|
2571
|
-
)
|
|
2572
|
-
});
|
|
2573
|
-
});
|
|
2574
|
-
|
|
2575
|
-
// In our tests we use indices to access specific
|
|
2576
|
-
// catalogs from the getCatalogs response. For this
|
|
2577
|
-
// reason we are sorting the result. As stated in the
|
|
2578
|
-
// documentation, this shouldn't really matter for the
|
|
2579
|
-
// caller. The caller should not code against a
|
|
2580
|
-
// specific sort order.
|
|
2581
|
-
//
|
|
2582
|
-
// Note that oA.identification.id is a string and
|
|
2583
|
-
// usually not a number Note that "A" is bigger than
|
|
2584
|
-
// "1"
|
|
2585
|
-
oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
|
|
2586
|
-
});
|
|
2472
|
+
// In our tests we use indices to access specific
|
|
2473
|
+
// catalogs from the getCatalogs response. For this
|
|
2474
|
+
// reason we are sorting the result. As stated in the
|
|
2475
|
+
// documentation, this shouldn't really matter for the
|
|
2476
|
+
// caller. The caller should not code against a
|
|
2477
|
+
// specific sort order.
|
|
2478
|
+
//
|
|
2479
|
+
// Note that oA.identification.id is a string and
|
|
2480
|
+
// usually not a number Note that "A" is bigger than
|
|
2481
|
+
// "1"
|
|
2482
|
+
oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
|
|
2587
2483
|
});
|
|
2588
2484
|
}, 0);
|
|
2589
2485
|
return oDeferred.promise();
|
|
@@ -2724,28 +2620,15 @@ sap.ui.define([
|
|
|
2724
2620
|
return oDeferred.reject("Invalid input parameter '" + oCatalog + "' passed to getCatalogTiles.").promise();
|
|
2725
2621
|
}
|
|
2726
2622
|
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
2737
|
-
});
|
|
2738
|
-
} else {
|
|
2739
|
-
that.oCDMService.getSite()
|
|
2740
|
-
.done(function (oSite) {
|
|
2741
|
-
getCatalogTilesFromSite.call(that, oCatalog, oSite)
|
|
2742
|
-
.done(oDeferred.resolve)
|
|
2743
|
-
.fail(oDeferred.reject);
|
|
2744
|
-
})
|
|
2745
|
-
.fail(function (sErrorMessage2) {
|
|
2746
|
-
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
2747
|
-
});
|
|
2748
|
-
}
|
|
2623
|
+
that.oCDMService.getSite()
|
|
2624
|
+
.done(function (oSite) {
|
|
2625
|
+
getCatalogTilesFromSite.call(that, oCatalog, oSite)
|
|
2626
|
+
.done(oDeferred.resolve)
|
|
2627
|
+
.fail(oDeferred.reject);
|
|
2628
|
+
})
|
|
2629
|
+
.fail(function (sErrorMessage2) {
|
|
2630
|
+
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
2631
|
+
});
|
|
2749
2632
|
|
|
2750
2633
|
return oDeferred.promise();
|
|
2751
2634
|
};
|
|
@@ -2770,7 +2653,6 @@ sap.ui.define([
|
|
|
2770
2653
|
oInbound,
|
|
2771
2654
|
oTileResolutionResult,
|
|
2772
2655
|
oCatalogTile,
|
|
2773
|
-
sExternalUrl,
|
|
2774
2656
|
sApplicationType,
|
|
2775
2657
|
sAdditionalInformation,
|
|
2776
2658
|
bIsApplicationTypeConfiguredInPlace,
|
|
@@ -2807,29 +2689,13 @@ sap.ui.define([
|
|
|
2807
2689
|
oTileResolutionResult = oInbound.tileResolutionResult;
|
|
2808
2690
|
sTileIntent = that._toHashFromInbound(oFirstInbound);
|
|
2809
2691
|
|
|
2810
|
-
if (oCatalog.contentProviderId) {
|
|
2811
|
-
// This is an extension catalog from an extension site provided by a
|
|
2812
|
-
// ContentProvider plugin. See "sap-ushell-plugin-type": "ContentProvider"
|
|
2813
|
-
sExternalUrl = that._getMember(
|
|
2814
|
-
oAppDescriptor,
|
|
2815
|
-
"sap|app.crossNavigation.inbounds.Shell-launchURL.signature.parameters.sap-external-url.launcherValue.value"
|
|
2816
|
-
);
|
|
2817
|
-
}
|
|
2818
|
-
|
|
2819
2692
|
oCatalogTile = {
|
|
2820
|
-
id:
|
|
2821
|
-
tileIntent:
|
|
2693
|
+
id: sTileIntent, // reuse the intent as ID as it is stable and unique
|
|
2694
|
+
tileIntent: sTileIntent,
|
|
2822
2695
|
tileResolutionResult: oTileResolutionResult,
|
|
2823
2696
|
isCatalogTile: true
|
|
2824
2697
|
};
|
|
2825
2698
|
|
|
2826
|
-
if (oCatalog.contentProviderId && sExternalUrl) {
|
|
2827
|
-
// extension catalog tiles get additional properties
|
|
2828
|
-
// as they are treated differently in addTile
|
|
2829
|
-
oCatalogTile.contentProviderId = oCatalog.contentProviderId;
|
|
2830
|
-
oCatalogTile.externalUrl = sExternalUrl;
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
2699
|
aReturnedCatalogTiles.push(oCatalogTile);
|
|
2834
2700
|
}
|
|
2835
2701
|
return aReturnedCatalogTiles;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Base of Unified Shell's LaunchPageAdapter for the 'CDM' platform - Version 3 (V3)
|
|
5
5
|
* and StaticGroupsContainer for Featured Group
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.112.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome",
|
|
@@ -81,7 +81,6 @@ sap.ui.define([
|
|
|
81
81
|
this._mCatalogTilePromises = {};
|
|
82
82
|
this._mFailedResolvedCatalogTiles = {};
|
|
83
83
|
this._mFailedResolvedTiles = {};
|
|
84
|
-
this._mContentProviders = {};
|
|
85
84
|
|
|
86
85
|
this.TileType = {
|
|
87
86
|
Tile: "tile",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 'CDM' platform - Version 3 (V3)
|
|
6
6
|
*
|
|
7
7
|
* @deprecated since 1.100
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.112.0
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readHome",
|
|
@@ -790,21 +790,6 @@ sap.ui.define([
|
|
|
790
790
|
if (!oGroup) {
|
|
791
791
|
oGroup = this._oDefaultGroup;
|
|
792
792
|
}
|
|
793
|
-
if (oCatalogTile.contentProviderId) {
|
|
794
|
-
// This is an extension tile from an extension site provided by a ContentProvider plugin.
|
|
795
|
-
// See "sap-ushell-plugin-type": "ContentProvider"
|
|
796
|
-
if (oCatalogTile.externalUrl) {
|
|
797
|
-
// Add extension catalog tile as bookmark so that the
|
|
798
|
-
// extension site is not needed during FLP start-up for
|
|
799
|
-
// resolving the tile (fast, stable startup). This is a
|
|
800
|
-
// restriction for extension tiles.
|
|
801
|
-
return this.addBookmark(
|
|
802
|
-
this._getBookmarkDataForExtensionCatalogTile(oCatalogTile),
|
|
803
|
-
oGroup
|
|
804
|
-
);
|
|
805
|
-
}
|
|
806
|
-
return oDeferred.reject("Extension Tile without URL").promise();
|
|
807
|
-
}
|
|
808
793
|
|
|
809
794
|
oGroupTile = composeNewTile();
|
|
810
795
|
oGroupTile.vizId = oCatalogTile.vizId;
|
|
@@ -838,38 +823,6 @@ sap.ui.define([
|
|
|
838
823
|
return oDeferred.promise();
|
|
839
824
|
};
|
|
840
825
|
|
|
841
|
-
/**
|
|
842
|
-
* Returns a settings object (necessary to call
|
|
843
|
-
* <code>#addBookmark</code>) out of a tile from an extension
|
|
844
|
-
* catalog.
|
|
845
|
-
*
|
|
846
|
-
* @param {object} oExtensionCatalogTile
|
|
847
|
-
* Catalog tile from an extension catalog. Catalog tiles form the
|
|
848
|
-
* main site's catalogs are not supported!
|
|
849
|
-
*
|
|
850
|
-
* @returns {object}
|
|
851
|
-
* Object as expected by <code>#addBookmark</code>
|
|
852
|
-
*
|
|
853
|
-
* @private
|
|
854
|
-
*/
|
|
855
|
-
this._getBookmarkDataForExtensionCatalogTile = function (oExtensionCatalogTile) {
|
|
856
|
-
var oBookmarkSettings = {
|
|
857
|
-
title: oExtensionCatalogTile.tileResolutionResult.title,
|
|
858
|
-
subtitle: oExtensionCatalogTile.tileResolutionResult.subTitle,
|
|
859
|
-
icon: oExtensionCatalogTile.tileResolutionResult.icon,
|
|
860
|
-
info: oExtensionCatalogTile.tileResolutionResult.info,
|
|
861
|
-
url: oExtensionCatalogTile.externalUrl
|
|
862
|
-
};
|
|
863
|
-
|
|
864
|
-
if (oExtensionCatalogTile.tileResolutionResult.indicatorDataSource &&
|
|
865
|
-
oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path) {
|
|
866
|
-
oBookmarkSettings.serviceUrl = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.path;
|
|
867
|
-
oBookmarkSettings.serviceRefreshInterval = oExtensionCatalogTile.tileResolutionResult.indicatorDataSource.refresh;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
return oBookmarkSettings;
|
|
871
|
-
};
|
|
872
|
-
|
|
873
826
|
/**
|
|
874
827
|
* Removes a tile from a given group on the homepage. Furthermore the personalization will be
|
|
875
828
|
* persisted for the end user.
|
|
@@ -1075,15 +1028,8 @@ sap.ui.define([
|
|
|
1075
1028
|
oDeferred = new jQuery.Deferred(),
|
|
1076
1029
|
aCatalogs = [];
|
|
1077
1030
|
|
|
1078
|
-
function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred
|
|
1031
|
+
function processCatalog (oCdmSite, sCatalogId, aCatalogs, oGetCatalogsDeferred) {
|
|
1079
1032
|
var oCatalog = oCdmSite.catalogs[sCatalogId];
|
|
1080
|
-
|
|
1081
|
-
if (sProviderId && oProviderCache) {
|
|
1082
|
-
// This is an extension catalog from an extension site provided by a ContentProvider plugin.
|
|
1083
|
-
// See "sap-ushell-plugin-type": "ContentProvider"
|
|
1084
|
-
oCatalog.contentProviderId = sProviderId;
|
|
1085
|
-
oProviderCache.catalogsMap[sCatalogId] = oCatalog;
|
|
1086
|
-
}
|
|
1087
1033
|
aCatalogs.push(oCatalog);
|
|
1088
1034
|
oGetCatalogsDeferred.notify(oCatalog);
|
|
1089
1035
|
}
|
|
@@ -1092,71 +1038,20 @@ sap.ui.define([
|
|
|
1092
1038
|
// be a synchrounous call, which would cause wrong behaviour in some scenarios
|
|
1093
1039
|
sap.ushell.Container.getServiceAsync("CommonDataModel").then(function (oCDMSiteService) {
|
|
1094
1040
|
oCDMSiteService.getSite().done(function (oSite) {
|
|
1095
|
-
// catalogs from site should be loaded first as they require
|
|
1096
|
-
// loading of less resources
|
|
1097
1041
|
Object.keys(oSite.catalogs).forEach(function (sCatalogId) {
|
|
1098
1042
|
processCatalog(oSite, sCatalogId, aCatalogs, oDeferred);
|
|
1099
1043
|
});
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
// one site was loaded
|
|
1113
|
-
Object.keys(oExtensionSite.catalogs).forEach(function (sCatalogId) {
|
|
1114
|
-
that._mContentProviders[sProviderId] = oProviderCache;
|
|
1115
|
-
|
|
1116
|
-
processCatalog(
|
|
1117
|
-
oExtensionSite,
|
|
1118
|
-
sCatalogId,
|
|
1119
|
-
aCatalogs,
|
|
1120
|
-
oDeferred,
|
|
1121
|
-
sProviderId, // note: difference to .getSite() catalogs
|
|
1122
|
-
oProviderCache
|
|
1123
|
-
);
|
|
1124
|
-
});
|
|
1125
|
-
}).done(function (aLoadReport) {
|
|
1126
|
-
aLoadReport.filter(function (oLoadReport) {
|
|
1127
|
-
// error logging
|
|
1128
|
-
return !oLoadReport.success;
|
|
1129
|
-
}).forEach(function (oFailedLoadReport) {
|
|
1130
|
-
// Add the failed site as a catalog to signal that
|
|
1131
|
-
// an error occurred. The consumer should always
|
|
1132
|
-
// call #getCatalogError on the returned catalog.
|
|
1133
|
-
aCatalogs.push({
|
|
1134
|
-
identification: {
|
|
1135
|
-
// id needed for sorting
|
|
1136
|
-
id: oFailedLoadReport.providerId
|
|
1137
|
-
},
|
|
1138
|
-
contentProviderId: oFailedLoadReport.providerId,
|
|
1139
|
-
error: "The following content providers could not provide catalogs: "
|
|
1140
|
-
+ oFailedLoadReport.providerId
|
|
1141
|
-
+ (oFailedLoadReport.error
|
|
1142
|
-
? " -> " + oFailedLoadReport.error
|
|
1143
|
-
: ""
|
|
1144
|
-
)
|
|
1145
|
-
});
|
|
1146
|
-
});
|
|
1147
|
-
|
|
1148
|
-
// In our tests we use indices to access specific
|
|
1149
|
-
// catalogs from the getCatalogs response. For this
|
|
1150
|
-
// reason we are sorting the result. As stated in the
|
|
1151
|
-
// documentation, this shouldn't really matter for the
|
|
1152
|
-
// caller. The caller should not code against a
|
|
1153
|
-
// specific sort order.
|
|
1154
|
-
//
|
|
1155
|
-
// Note that oA.identification.id is a string and
|
|
1156
|
-
// usually not a number Note that "A" is bigger than
|
|
1157
|
-
// "1"
|
|
1158
|
-
oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
|
|
1159
|
-
});
|
|
1044
|
+
// In our tests we use indices to access specific
|
|
1045
|
+
// catalogs from the getCatalogs response. For this
|
|
1046
|
+
// reason we are sorting the result. As stated in the
|
|
1047
|
+
// documentation, this shouldn't really matter for the
|
|
1048
|
+
// caller. The caller should not code against a
|
|
1049
|
+
// specific sort order.
|
|
1050
|
+
//
|
|
1051
|
+
// Note that oA.identification.id is a string and
|
|
1052
|
+
// usually not a number Note that "A" is bigger than
|
|
1053
|
+
// "1"
|
|
1054
|
+
oDeferred.resolve(aCatalogs.sort(that._compareCatalogs));
|
|
1160
1055
|
});
|
|
1161
1056
|
});
|
|
1162
1057
|
return oDeferred.promise();
|
|
@@ -1312,28 +1207,15 @@ sap.ui.define([
|
|
|
1312
1207
|
return oDeferred.reject("Invalid input parameter '" + oCatalog + "' passed to getCatalogTiles.").promise();
|
|
1313
1208
|
}
|
|
1314
1209
|
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
1325
|
-
});
|
|
1326
|
-
} else {
|
|
1327
|
-
this.oCDMService.getSite()
|
|
1328
|
-
.done(function (oSite) {
|
|
1329
|
-
getCatalogTilesFromSite.call(that, oCatalog, oSite)
|
|
1330
|
-
.done(oDeferred.resolve)
|
|
1331
|
-
.fail(oDeferred.reject);
|
|
1332
|
-
})
|
|
1333
|
-
.fail(function (sErrorMessage2) {
|
|
1334
|
-
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
1335
|
-
});
|
|
1336
|
-
}
|
|
1210
|
+
this.oCDMService.getSite()
|
|
1211
|
+
.done(function (oSite) {
|
|
1212
|
+
getCatalogTilesFromSite.call(that, oCatalog, oSite)
|
|
1213
|
+
.done(oDeferred.resolve)
|
|
1214
|
+
.fail(oDeferred.reject);
|
|
1215
|
+
})
|
|
1216
|
+
.fail(function (sErrorMessage2) {
|
|
1217
|
+
oDeferred.reject("Failed to get site: " + sErrorMessage2);
|
|
1218
|
+
});
|
|
1337
1219
|
|
|
1338
1220
|
return oDeferred.promise();
|
|
1339
1221
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview Helper for accessing the read utils for the 'CDM' platform.
|
|
4
4
|
*
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.112.0
|
|
6
6
|
* @private
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
@@ -171,6 +171,7 @@ sap.ui.define([
|
|
|
171
171
|
info: oVizData.info,
|
|
172
172
|
target: oVizData.target,
|
|
173
173
|
indicatorDataSource: oVizData.indicatorDataSource,
|
|
174
|
+
dataSource: oVizData.dataSource,
|
|
174
175
|
contentProviderId: oVizData.contentProviderId,
|
|
175
176
|
displayFormatHint: oVizData.displayFormatHint,
|
|
176
177
|
numberUnit: oVizData.numberUnit
|