@sapui5/sap.ushell 1.111.1 → 1.112.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/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/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 +15 -3
- 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 +15 -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 +14 -2
- 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/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 +52 -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/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
|
@@ -1,14 +1,44 @@
|
|
|
1
|
-
# Translatable texts for the Fiori Launchpad Content Finder
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
#
|
|
6
|
-
ContentFinder.
|
|
7
|
-
#XBUT
|
|
8
|
-
ContentFinder.Button.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
# Translatable texts for the Fiori Launchpad Content Finder
|
|
2
|
+
# __ldi.translation.uuid=8d87cb08-55aa-4ec1-8982-2cb84f34d554
|
|
3
|
+
|
|
4
|
+
# Content Finder Dialog
|
|
5
|
+
#XBUT: "{0}" is the quantity to be added
|
|
6
|
+
ContentFinder.Button.Add=Add ({0})
|
|
7
|
+
#XBUT
|
|
8
|
+
ContentFinder.Button.Cancel=Cancel
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# Widget Gallery View
|
|
12
|
+
#XTIT
|
|
13
|
+
ContentFinder.WidgetGallery.Title=Widget Gallery
|
|
14
|
+
#XTIT
|
|
15
|
+
ContentFinder.WidgetGallery.AllWidgets.Title=All Widgets
|
|
16
|
+
#XTIT
|
|
17
|
+
ContentFinder.WidgetGallery.Applications.Title=Applications
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
# App Search View
|
|
21
|
+
#XTIT
|
|
22
|
+
ContentFinder.AppSearch.AddTiles.Title=Add Tiles
|
|
23
|
+
#XTIT
|
|
24
|
+
ContentFinder.AppSearch.AddCards.Title=Add Card
|
|
25
|
+
#XMSG
|
|
26
|
+
ContentFinder.AppSearch.SearchPlaceholder=Search by app title
|
|
27
|
+
#XTIT: "{0}" is the number of tiles
|
|
28
|
+
ContentFinder.AppSearch.Title.AllTiles=All Tiles ({0})
|
|
29
|
+
#XTIT
|
|
30
|
+
ContentFinder.AppSearch.Title.NoTiles=No Tiles available
|
|
31
|
+
#XTIT: "{0}" is the number of cards
|
|
32
|
+
ContentFinder.AppSearch.Title.AllCards=All Cards ({0})
|
|
33
|
+
#XTIT
|
|
34
|
+
ContentFinder.AppSearch.Title.NoCards=No Cards available
|
|
35
|
+
#XTIT: "{0}" is the number of selected applications
|
|
36
|
+
ContentFinder.AppSearch.Title.SelectedApp=All Selected Applications ({0})
|
|
37
|
+
#XTIT
|
|
38
|
+
ContentFinder.AppSearch.Title.NoSelectedApp=No Selected Applications
|
|
39
|
+
#XTIT: "{0}" is the search term; "{1}" is the number of applications found
|
|
40
|
+
ContentFinder.AppSearch.Title.SearchResult=Results for: "{0}" ({1})
|
|
41
|
+
#XTIT: "{0}" is the search term
|
|
42
|
+
ContentFinder.AppSearch.Title.NoSearchResult=No Results for: "{0}"
|
|
43
|
+
#XTOL
|
|
44
|
+
ContentFinder.AppSearch.Button.Tooltip.ShowSelected=View all selected apps
|
|
@@ -1,34 +1,91 @@
|
|
|
1
1
|
<mvc:View
|
|
2
2
|
xmlns="sap.m"
|
|
3
3
|
xmlns:mvc="sap.ui.core.mvc"
|
|
4
|
-
xmlns:
|
|
4
|
+
xmlns:f="sap.f"
|
|
5
5
|
xmlns:l="sap.ui.layout"
|
|
6
6
|
controllerName="sap.ushell.components.contentFinder.controller.AppSearch"
|
|
7
7
|
id="sapContentFinderAppSearch"
|
|
8
8
|
height="100%"
|
|
9
9
|
class="sapUiSizeCompact">
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
10
|
+
<!-- The container needs any fixed height (e.g. minFlexSize="1px") to calculate the content heights. -->
|
|
11
|
+
<l:FixFlex minFlexSize="1px">
|
|
12
|
+
<l:fixContent>
|
|
13
|
+
<OverflowToolbar
|
|
14
|
+
id="appSearchOverflowToolbar"
|
|
15
|
+
asyncMode="false"
|
|
16
|
+
style="Clear"
|
|
17
|
+
class="sapCepContentFinderToolbar sapUiSmallMarginTop sapUiTinyMarginBottom sapCepContentFinderBeginEndPadding">
|
|
18
|
+
<Title id="appBoxContainerTitle" titleStyle="H5" text="{
|
|
19
|
+
parts: [
|
|
20
|
+
'/activeNavigationTarget',
|
|
21
|
+
'/appSearch/appBoxCount',
|
|
22
|
+
'/appSearch/searchTerm',
|
|
23
|
+
'/appSearch/showSelectedPressed',
|
|
24
|
+
'/appSearch/selectedAppCount',
|
|
25
|
+
'/appSearch/currentSelectedTreeNode'
|
|
26
|
+
], formatter: '.formatter.formatAppSearchTitle' }">
|
|
27
|
+
<layoutData>
|
|
28
|
+
<OverflowToolbarLayoutData minWidth="6rem" shrinkable="true" priority="High"/>
|
|
29
|
+
</layoutData>
|
|
30
|
+
</Title>
|
|
31
|
+
<ToolbarSpacer/>
|
|
32
|
+
<SearchField
|
|
33
|
+
id="appSearchField"
|
|
34
|
+
value="{/appSearch/searchTerm}"
|
|
35
|
+
placeholder="{i18n>ContentFinder.AppSearch.SearchPlaceholder}"
|
|
36
|
+
liveChange=".onAppSearch">
|
|
37
|
+
<layoutData>
|
|
38
|
+
<OverflowToolbarLayoutData minWidth= "6rem" maxWidth="13.75rem" shrinkable="true" priority="NeverOverflow"/>
|
|
39
|
+
</layoutData>
|
|
40
|
+
</SearchField>
|
|
41
|
+
<ToggleButton
|
|
42
|
+
id="showAllSelectedBtn"
|
|
43
|
+
visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchTiles}}"
|
|
44
|
+
pressed="{/appSearch/showSelectedPressed}"
|
|
45
|
+
enabled="{= ${/appSearch/selectedAppCount} > 0 || ${/appSearch/showSelectedPressed} }"
|
|
46
|
+
icon="sap-icon://multi-select"
|
|
47
|
+
tooltip="{i18n>ContentFinder.AppSearch.Button.Tooltip.ShowSelected}"
|
|
48
|
+
press=".onShowSelectedPressed">
|
|
49
|
+
<layoutData>
|
|
50
|
+
<OverflowToolbarLayoutData shrinkable="false" priority="Low"/>
|
|
51
|
+
</layoutData>
|
|
52
|
+
</ToggleButton>
|
|
53
|
+
</OverflowToolbar>
|
|
54
|
+
</l:fixContent>
|
|
55
|
+
<l:flexContent>
|
|
56
|
+
<ScrollContainer
|
|
57
|
+
class="sapCepContentFinderScrollContainerPadding"
|
|
58
|
+
vertical="true"
|
|
59
|
+
horizontal="false">
|
|
60
|
+
<f:GridContainer
|
|
61
|
+
id="tileGridContainer"
|
|
62
|
+
items="{
|
|
63
|
+
path: '/appSearch/visualizations/tiles',
|
|
64
|
+
factory: '.tileFactory'
|
|
65
|
+
}"
|
|
66
|
+
visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchTiles}}">
|
|
67
|
+
<f:layout>
|
|
68
|
+
<f:GridContainerSettings
|
|
69
|
+
columnSize="19.0625rem"
|
|
70
|
+
rowSize="12.75rem"
|
|
71
|
+
gap="1.5rem"/>
|
|
72
|
+
</f:layout>
|
|
73
|
+
</f:GridContainer>
|
|
74
|
+
<f:GridContainer
|
|
75
|
+
id="cardGridContainer"
|
|
76
|
+
items="{
|
|
77
|
+
path: '/appSearch/visualizations/cards',
|
|
78
|
+
factory: '.cardFactory'
|
|
79
|
+
}"
|
|
80
|
+
visible="{= ${/activeNavigationTarget} === ${/navigationTargets/appSearchCards}}">
|
|
81
|
+
<f:layout>
|
|
82
|
+
<f:GridContainerSettings
|
|
83
|
+
columnSize="19.0625rem"
|
|
84
|
+
rowSize="12.75rem"
|
|
85
|
+
gap="1.5rem"/>
|
|
86
|
+
</f:layout>
|
|
87
|
+
</f:GridContainer>
|
|
88
|
+
</ScrollContainer>
|
|
89
|
+
</l:flexContent>
|
|
90
|
+
</l:FixFlex>
|
|
34
91
|
</mvc:View>
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
xmlns:core="sap.ui.core"
|
|
5
5
|
xmlns:mvc="sap.ui.core.mvc"
|
|
6
6
|
height="100%"
|
|
7
|
-
controllerName="sap.ushell.components.contentFinder.controller.ContentFinderDialog"
|
|
7
|
+
controllerName="sap.ushell.components.contentFinder.controller.ContentFinderDialog"
|
|
8
|
+
core:require="{ formatMessage: 'sap/base/strings/formatMessage' }">
|
|
8
9
|
<Dialog
|
|
9
10
|
id="contentFinderDialog"
|
|
10
11
|
contentWidth="64.5rem"
|
|
@@ -14,14 +15,17 @@
|
|
|
14
15
|
class="sapUiNoContentPadding sapUiSizeCompact"
|
|
15
16
|
horizontalScrolling="false"
|
|
16
17
|
verticalScrolling="false"
|
|
17
|
-
afterClose=".
|
|
18
|
+
afterClose=".onClose">
|
|
18
19
|
<customHeader>
|
|
19
20
|
<OverflowToolbar>
|
|
20
21
|
<Button icon="sap-icon://nav-back"
|
|
21
22
|
id="sapContentFinderBackButton"
|
|
22
|
-
visible="
|
|
23
|
-
press=".
|
|
24
|
-
<Title text="
|
|
23
|
+
visible="{= ${/activeNavigationTarget} !== ${/navigationTargets/widgetGallery} && !${/restrictedMode}}"
|
|
24
|
+
press=".onBackButtonPressed"/>
|
|
25
|
+
<Title text="{
|
|
26
|
+
parts: [
|
|
27
|
+
'/activeNavigationTarget'
|
|
28
|
+
], formatter: '.formatter.formatDialogTitle' }" />
|
|
25
29
|
<ToolbarSpacer />
|
|
26
30
|
</OverflowToolbar>
|
|
27
31
|
</customHeader>
|
|
@@ -36,7 +40,6 @@
|
|
|
36
40
|
height="100%"
|
|
37
41
|
viewName="sap.ushell.components.contentFinder.view.WidgetGallery" />
|
|
38
42
|
</Page>
|
|
39
|
-
|
|
40
43
|
<Page
|
|
41
44
|
id="contentFinderAppSearchPage"
|
|
42
45
|
enableScrolling="false"
|
|
@@ -50,14 +53,19 @@
|
|
|
50
53
|
<beginButton>
|
|
51
54
|
<Button id="sapContentFinderAddButton"
|
|
52
55
|
type="Emphasized"
|
|
53
|
-
visible="
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
visible="{
|
|
57
|
+
parts: [
|
|
58
|
+
'/activeNavigationTarget'
|
|
59
|
+
], formatter: '.formatter.addButtonIsVisibleInAppSearch' }"
|
|
60
|
+
text="{parts: [{path: 'i18n>ContentFinder.Button.Add'}, {path: '/appSearch/selectedAppCount'}],
|
|
61
|
+
formatter: 'formatMessage' }"
|
|
62
|
+
enabled="{= ${/appSearch/selectedAppCount} > 0}"
|
|
63
|
+
press=".onAddButtonPressed"/>
|
|
56
64
|
</beginButton>
|
|
57
65
|
<endButton>
|
|
58
66
|
<Button id="sapContentFinderCancelButton"
|
|
59
67
|
text="{i18n>ContentFinder.Button.Cancel}"
|
|
60
|
-
press=".
|
|
68
|
+
press=".onCancelButtonPressed"/>
|
|
61
69
|
</endButton>
|
|
62
70
|
</Dialog>
|
|
63
71
|
</mvc:View>
|
|
@@ -3,10 +3,61 @@
|
|
|
3
3
|
xmlns:mvc="sap.ui.core.mvc"
|
|
4
4
|
xmlns:core="sap.ui.core"
|
|
5
5
|
xmlns:l="sap.ui.layout"
|
|
6
|
+
xmlns:cssgrid="sap.ui.layout.cssgrid"
|
|
7
|
+
xmlns:f="sap.f"
|
|
6
8
|
controllerName="sap.ushell.components.contentFinder.controller.WidgetGallery"
|
|
7
9
|
id="sapContentFinderWidgetGallery"
|
|
8
10
|
height="100%"
|
|
9
11
|
class="sapUiSizeCompact">
|
|
12
|
+
<VBox class="sapCepContentFinderBeginEndPadding sapUiSmallMarginTop sapUiTinyMarginBottom">
|
|
13
|
+
<Title id="widgetGalleryTitle" titleStyle="H5" text="{i18n>ContentFinder.WidgetGallery.AllWidgets.Title}">
|
|
14
|
+
<layoutData>
|
|
15
|
+
<OverflowToolbarLayoutData minWidth="6rem" shrinkable="true" priority="High"/>
|
|
16
|
+
</layoutData>
|
|
17
|
+
</Title>
|
|
18
|
+
</VBox>
|
|
19
|
+
<VBox items="{path: '/widgetGallery/widgetGroups'}" class="sapCepContentFinderBeginEndPadding">
|
|
20
|
+
<items>
|
|
21
|
+
<VBox class="sapUiTinyMarginBottom">
|
|
22
|
+
<OverflowToolbar asyncMode="true" style="Clear" class="sapCepContentFinderToolbar" visible="{= !!${title}}">
|
|
23
|
+
<Title titleStyle="H6" text="{title}" />
|
|
24
|
+
</OverflowToolbar>
|
|
25
|
+
<f:GridList
|
|
26
|
+
id="sapCepContentFinderGridList"
|
|
27
|
+
mode="None"
|
|
28
|
+
items="{
|
|
29
|
+
path: 'widgets',
|
|
30
|
+
templateShareable: false,
|
|
31
|
+
key: 'id'
|
|
32
|
+
}">
|
|
33
|
+
<f:customLayout>
|
|
34
|
+
<cssgrid:GridResponsiveLayout containerQuery="true">
|
|
35
|
+
<cssgrid:layout>
|
|
36
|
+
<cssgrid:GridSettings gridGap="1.5rem"
|
|
37
|
+
gridTemplateColumns="repeat(2, calc(50% - 0.75rem))"
|
|
38
|
+
gridAutoRows="5rem"/>
|
|
39
|
+
</cssgrid:layout>
|
|
40
|
+
</cssgrid:GridResponsiveLayout>
|
|
41
|
+
</f:customLayout>
|
|
10
42
|
|
|
11
|
-
|
|
43
|
+
<f:GridListItem type="Active" press=".onSelectWidgetType">
|
|
44
|
+
<HBox alignItems="Center" height="100%" class="sapUiSmallMarginEnd">
|
|
45
|
+
|
|
46
|
+
<Avatar src="{icon}" class="sapUiSmallMarginEnd sapUiSmallMarginBegin"
|
|
47
|
+
backgroundColor="Placeholder">
|
|
48
|
+
<layoutData>
|
|
49
|
+
<FlexItemData maxHeight="3rem" />
|
|
50
|
+
</layoutData>
|
|
51
|
+
</Avatar>
|
|
52
|
+
|
|
53
|
+
<VBox>
|
|
54
|
+
<Title text="{title}" titleStyle="H6" wrapping="true" />
|
|
55
|
+
<Label text="{description}" visible="{= !!${description}}" wrapping="true" />
|
|
56
|
+
</VBox>
|
|
57
|
+
</HBox>
|
|
58
|
+
</f:GridListItem>
|
|
59
|
+
</f:GridList>
|
|
60
|
+
</VBox>
|
|
61
|
+
</items>
|
|
62
|
+
</VBox>
|
|
12
63
|
</mvc:View>
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
|
|
18
18
|
// use inline declaration instead of component.json to save 1 round trip
|
|
19
19
|
metadata: {
|
|
20
|
-
version: "1.
|
|
20
|
+
version: "1.112.1",
|
|
21
21
|
library: "sap.ushell",
|
|
22
22
|
dependencies: {
|
|
23
23
|
libs: ["sap.m", "sap.ui.vbm", "sap.suite.ui.commons", "sap.ui.layout", "sap.viz"],
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* with a header of type <code>sap.ushell.ui.launchpad.AnchorNavigationBar</code>
|
|
6
6
|
* and content of type <code>sap.ushell.ui.launchpad.DashboardGroupsContainer</code>.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.112.1
|
|
9
9
|
* @name sap.ushell.components.homepage.DashboardContent.view
|
|
10
10
|
* @private
|
|
11
11
|
*/
|
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
* Exposes the public function <code>createGroupsBox</code>
|
|
7
7
|
* @see sap.ushell.components.homepage.DashboardContent.view
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.112.1
|
|
10
10
|
* @name sap.ushell.components.homepage.DashboardGroupsBox
|
|
11
11
|
* @since 1.35.0
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
|
+
"sap/base/Log",
|
|
15
16
|
"sap/base/util/isEmptyObject",
|
|
16
17
|
"sap/base/util/restricted/_zipObject",
|
|
17
18
|
"sap/m/Button",
|
|
@@ -22,9 +23,14 @@ sap.ui.define([
|
|
|
22
23
|
"sap/ui/core/InvisibleMessage",
|
|
23
24
|
"sap/ui/core/library",
|
|
24
25
|
"sap/ui/Device",
|
|
26
|
+
"sap/ui/integration/Host",
|
|
27
|
+
"sap/ui/integration/library",
|
|
28
|
+
"sap/ui/integration/widgets/Card",
|
|
25
29
|
"sap/ui/model/Filter",
|
|
26
30
|
"sap/ui/model/FilterOperator",
|
|
27
31
|
"sap/ui/performance/Measurement",
|
|
32
|
+
"sap/ui/thirdparty/jquery",
|
|
33
|
+
"sap/ushell/library",
|
|
28
34
|
"sap/ushell/components/homepage/ActionMode",
|
|
29
35
|
"sap/ushell/Config",
|
|
30
36
|
"sap/ushell/EventHub",
|
|
@@ -35,8 +41,11 @@ sap.ui.define([
|
|
|
35
41
|
"sap/ushell/ui/launchpad/LinkTileWrapper",
|
|
36
42
|
"sap/ushell/ui/launchpad/PlusTile",
|
|
37
43
|
"sap/ushell/ui/launchpad/Tile",
|
|
38
|
-
"sap/ushell/ui/launchpad/TileContainer"
|
|
44
|
+
"sap/ushell/ui/launchpad/TileContainer",
|
|
45
|
+
"sap/ushell/ui/QuickAccess",
|
|
46
|
+
"sap/ushell/utils/UrlParsing"
|
|
39
47
|
], function (
|
|
48
|
+
Log,
|
|
40
49
|
isEmptyObject,
|
|
41
50
|
_zipObject,
|
|
42
51
|
Button,
|
|
@@ -47,9 +56,14 @@ sap.ui.define([
|
|
|
47
56
|
InvisibleMessage,
|
|
48
57
|
coreLibrary,
|
|
49
58
|
Device,
|
|
59
|
+
Host,
|
|
60
|
+
integrationLibrary,
|
|
61
|
+
Card,
|
|
50
62
|
Filter,
|
|
51
63
|
FilterOperator,
|
|
52
64
|
Measurement,
|
|
65
|
+
jQuery,
|
|
66
|
+
ushellLibrary,
|
|
53
67
|
ActionMode,
|
|
54
68
|
Config,
|
|
55
69
|
EventHub,
|
|
@@ -60,7 +74,9 @@ sap.ui.define([
|
|
|
60
74
|
LinkTileWrapper,
|
|
61
75
|
PlusTile,
|
|
62
76
|
LaunchpadTile,
|
|
63
|
-
TileContainer
|
|
77
|
+
TileContainer,
|
|
78
|
+
QuickAccess,
|
|
79
|
+
UrlParsing
|
|
64
80
|
) {
|
|
65
81
|
"use strict";
|
|
66
82
|
|
|
@@ -95,6 +111,10 @@ sap.ui.define([
|
|
|
95
111
|
Core.getEventBus().subscribe("launchpad", "GroupHeaderVisibility", this._updateGroupHeaderVisibility, this);
|
|
96
112
|
Core.getEventBus().subscribe("launchpad", "AddTileContainerContent", this._addTileContainersContent, this);
|
|
97
113
|
|
|
114
|
+
this._oHost = new Host({
|
|
115
|
+
action: this._onCardAction.bind(this)
|
|
116
|
+
});
|
|
117
|
+
|
|
98
118
|
return undefined;
|
|
99
119
|
},
|
|
100
120
|
|
|
@@ -107,6 +127,7 @@ sap.ui.define([
|
|
|
107
127
|
this.oGroupsContainer.destroy();
|
|
108
128
|
}
|
|
109
129
|
DashboardGroupsBox.fnDashboardGroupsBoxGetter = undefined;
|
|
130
|
+
this._oHost.destroy();
|
|
110
131
|
},
|
|
111
132
|
|
|
112
133
|
calculateFilter: function () {
|
|
@@ -145,15 +166,13 @@ sap.ui.define([
|
|
|
145
166
|
loadCardModuleIfNeeded: function () {
|
|
146
167
|
var that = this;
|
|
147
168
|
if (Config.last("/core/home/featuredGroup/enable")) {
|
|
148
|
-
return Core.loadLibrary("sap.ui.integration", {async: true})
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
that.Card = Card;
|
|
169
|
+
return Core.loadLibrary("sap.ui.integration", { async: true })
|
|
170
|
+
.then(function () {
|
|
171
|
+
return new Promise(function (resolve) {
|
|
172
|
+
that.Card = new Card();
|
|
153
173
|
resolve();
|
|
154
174
|
});
|
|
155
175
|
});
|
|
156
|
-
});
|
|
157
176
|
}
|
|
158
177
|
return Promise.resolve();
|
|
159
178
|
},
|
|
@@ -170,32 +189,32 @@ sap.ui.define([
|
|
|
170
189
|
fAfterLayoutInit,
|
|
171
190
|
fGroupsContainerAfterRenderingHandler,
|
|
172
191
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
192
|
+
getPlusTileFromGroup = function (oGroup) {
|
|
193
|
+
var groupDomRef,
|
|
194
|
+
plusTileDomRef;
|
|
195
|
+
if (oGroup && (groupDomRef = oGroup.getDomRef())) {
|
|
196
|
+
plusTileDomRef = groupDomRef.querySelector(".sapUshellPlusTile");
|
|
197
|
+
if (plusTileDomRef) {
|
|
198
|
+
return plusTileDomRef;
|
|
199
|
+
}
|
|
180
200
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
reorderTilesCallback = function (layoutInfo) {
|
|
186
|
-
var plusTileStartGroup = getPlusTileFromGroup(layoutInfo.currentGroup),
|
|
187
|
-
plusTileEndGroup = getPlusTileFromGroup(layoutInfo.endGroup),
|
|
188
|
-
isPlusTileVanishRequired = (layoutInfo.tiles[layoutInfo.tiles.length - 2] === layoutInfo.item) || (layoutInfo.endGroup.getTiles().length === 0);
|
|
189
|
-
if (isPlusTileVanishRequired) {
|
|
190
|
-
that._hidePlusTile(plusTileEndGroup);
|
|
191
|
-
} else {
|
|
192
|
-
that._showPlusTile(plusTileEndGroup);
|
|
193
|
-
}
|
|
201
|
+
return null;
|
|
202
|
+
},
|
|
194
203
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
204
|
+
reorderTilesCallback = function (layoutInfo) {
|
|
205
|
+
var plusTileStartGroup = getPlusTileFromGroup(layoutInfo.currentGroup),
|
|
206
|
+
plusTileEndGroup = getPlusTileFromGroup(layoutInfo.endGroup),
|
|
207
|
+
isPlusTileVanishRequired = (layoutInfo.tiles[layoutInfo.tiles.length - 2] === layoutInfo.item) || (layoutInfo.endGroup.getTiles().length === 0);
|
|
208
|
+
if (isPlusTileVanishRequired) {
|
|
209
|
+
that._hidePlusTile(plusTileEndGroup);
|
|
210
|
+
} else {
|
|
211
|
+
that._showPlusTile(plusTileEndGroup);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
if (layoutInfo.currentGroup !== layoutInfo.endGroup) {
|
|
215
|
+
that._showPlusTile(plusTileStartGroup);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
199
218
|
|
|
200
219
|
//Since the layout initialization is async, we need to execute the below function after initialization is done
|
|
201
220
|
fAfterLayoutInit = function () {
|
|
@@ -436,12 +455,6 @@ sap.ui.define([
|
|
|
436
455
|
};
|
|
437
456
|
},
|
|
438
457
|
|
|
439
|
-
_createCard: function (oManifest) {
|
|
440
|
-
return new this.Card({
|
|
441
|
-
manifest: oManifest
|
|
442
|
-
});
|
|
443
|
-
},
|
|
444
|
-
|
|
445
458
|
_itemFactory: function (sId, oContext) {
|
|
446
459
|
var oTileOrCard = oContext.getProperty(oContext.sPath),
|
|
447
460
|
aContent,
|
|
@@ -464,7 +477,10 @@ sap.ui.define([
|
|
|
464
477
|
} else {
|
|
465
478
|
return this._createErrorTile();
|
|
466
479
|
}
|
|
467
|
-
oControl =
|
|
480
|
+
oControl = new Card();
|
|
481
|
+
|
|
482
|
+
oControl.setHost(this._oHost)
|
|
483
|
+
.setManifest(oManifest);
|
|
468
484
|
} else {
|
|
469
485
|
oControl = this._createTile();
|
|
470
486
|
}
|
|
@@ -473,6 +489,64 @@ sap.ui.define([
|
|
|
473
489
|
return oControl;
|
|
474
490
|
},
|
|
475
491
|
|
|
492
|
+
/**
|
|
493
|
+
* When a card is clicked, it is checked whether the header is clicked or one item of the featured group card itself.
|
|
494
|
+
* It then navigates to the corresponding item.
|
|
495
|
+
* @param oEvent The event from the card interaction, for example clicking the header or items.
|
|
496
|
+
* @private
|
|
497
|
+
*/
|
|
498
|
+
_onCardAction: function (oEvent) {
|
|
499
|
+
if (oEvent.getParameter("type") !== integrationLibrary.CardActionType.Navigation) {
|
|
500
|
+
return;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
var oActionParameters = oEvent.getParameter("parameters");
|
|
504
|
+
var oShellHash = UrlParsing.parseShellHash(oActionParameters.url);
|
|
505
|
+
|
|
506
|
+
if (oShellHash) {
|
|
507
|
+
oEvent.preventDefault(); // prevent opening of the url
|
|
508
|
+
this._performIntentBasedNavigation(oShellHash);
|
|
509
|
+
} else if (oActionParameters.openUI) {
|
|
510
|
+
if (oActionParameters.openUI === "RecentActivities" || oActionParameters.openUI === "FrequentActivities") {
|
|
511
|
+
var sTabName = oActionParameters.openUI === "RecentActivities" ? "recentActivityFilter" : "frequentlyUsedFilter";
|
|
512
|
+
QuickAccess.openQuickAccessDialog(sTabName);
|
|
513
|
+
} else {
|
|
514
|
+
Log.error("Request to open unknown User Interface: '" + oActionParameters.openUI + "'");
|
|
515
|
+
}
|
|
516
|
+
oEvent.preventDefault();
|
|
517
|
+
} else if (oActionParameters.url === "") {
|
|
518
|
+
oEvent.preventDefault(); // prevent navigation to empty url
|
|
519
|
+
} else if (Config.last("/core/shell/enableRecentActivity") && Config.last("/core/shell/enableRecentActivityLogging")) {
|
|
520
|
+
var oRecentEntry = {
|
|
521
|
+
title: oEvent.getParameter("parameters").title,
|
|
522
|
+
url: oActionParameters.url,
|
|
523
|
+
appType: ushellLibrary.AppType.URL,
|
|
524
|
+
appId: oActionParameters.url
|
|
525
|
+
};
|
|
526
|
+
sap.ushell.Container.getRenderer("fiori2").logRecentActivity(oRecentEntry);
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Performs an external navigation and forwards the shell hash information.
|
|
532
|
+
* @param oShellHash The shell hash
|
|
533
|
+
* @returns {Promise} Resolves
|
|
534
|
+
* @private
|
|
535
|
+
*/
|
|
536
|
+
_performIntentBasedNavigation: function (oShellHash) {
|
|
537
|
+
return sap.ushell.Container.getServiceAsync("CrossApplicationNavigation")
|
|
538
|
+
.then(function (oCrossAppNav) {
|
|
539
|
+
oCrossAppNav.toExternal({
|
|
540
|
+
target: {
|
|
541
|
+
semanticObject: oShellHash.semanticObject,
|
|
542
|
+
action: oShellHash.action
|
|
543
|
+
},
|
|
544
|
+
params: oShellHash.params,
|
|
545
|
+
appSpecificRoute: oShellHash.appSpecificRoute
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
},
|
|
549
|
+
|
|
476
550
|
/**
|
|
477
551
|
* Creates a generic error tile. It will be displayed with a generic "Cannot load tile" subheader.
|
|
478
552
|
*
|
|
@@ -534,10 +608,12 @@ sap.ui.define([
|
|
|
534
608
|
onclick: function (/*oEvent*/) {
|
|
535
609
|
Measurement.start("FLP:DashboardGroupsBox.onclick", "Click on tile", "FLP");
|
|
536
610
|
Measurement.start("FLP:OpenApplicationonClick", "Open Application", "FLP");
|
|
611
|
+
|
|
537
612
|
function endTileMeasurement () {
|
|
538
613
|
Measurement.end("FLP:DashboardGroupsBox.onclick");
|
|
539
614
|
oViewPortContainer.detachAfterNavigate(endTileMeasurement);
|
|
540
615
|
}
|
|
616
|
+
|
|
541
617
|
oViewPortContainer.attachAfterNavigate(endTileMeasurement);
|
|
542
618
|
}
|
|
543
619
|
});
|