@sapui5/sap.ushell 1.121.2 → 1.122.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 +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +5 -3
- package/src/main/js/sap/ushell/Container.js +14 -0
- 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/Layout.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +8 -185
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +198 -0
- 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 +6 -5
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +5 -4
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +27 -22
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +7 -193
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +205 -0
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +24 -4
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +45 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +17 -49
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +13 -18
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +24 -36
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +4 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +113 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/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/cdm/cdm.constants.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 +3 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +2 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +17 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +12 -3
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +54 -22
- package/src/main/js/sap/ushell/components/CatalogsManager.js +31 -11
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
- package/src/main/js/sap/ushell/components/HomepageManager.js +5 -3
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +3 -4
- package/src/main/js/sap/ushell/components/appfinder/Component.js +5 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +2 -13
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +64 -8
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +67 -83
- 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/util/AdvancedFormatters.js +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +3 -3
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +4 -4
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +12 -5
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +3 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +37 -37
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
- 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/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/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/Notifications/Notifications.controller.js +525 -613
- 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/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/SearchCEP/SearchProviders/SearchServiceProvider.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/appearance/Appearance.controller.js +4 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +3 -5
- 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/indicatorTileUtils/indicatorTileHelper.js +18 -18
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +2 -2
- 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 +3 -3
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +9 -1
- package/src/main/js/sap/ushell/navigationMode.js +3 -3
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +33 -4
- 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/plugins/rta-personalize/Component.js +6 -254
- package/src/main/js/sap/ushell/plugins/rta-personalize/manifest.json +0 -102
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +0 -8
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +7 -7
- package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -10
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +10 -11
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.view.xml +49 -71
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +0 -2
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +2 -2
- package/src/main/js/sap/ushell/services/BookmarkV2.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +3 -3
- package/src/main/js/sap/ushell/services/CommonDataModel.js +3 -5
- 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 +20 -20
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +3 -3
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.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 +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +24 -995
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +1272 -0
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +11 -11
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/Notifications.js +0 -14
- package/src/main/js/sap/ushell/services/NotificationsV2.js +10 -34
- 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 +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +2 -2
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- 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 +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +3 -2
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -5
- package/src/main/js/sap/ushell/services/URLParsing.js +2 -2
- 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 +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +4 -4
- 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/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/Catalog.less +12 -2
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +15 -57
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +0 -1
- package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-icon_120x120.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/phone-retina_180x180.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-icon_152x152.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/tablet-retina_167x167.png +0 -0
- package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +11 -36
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +9 -31
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +9 -32
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +11 -39
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +11 -39
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +3 -136
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +161 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +6 -0
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +7 -9
- 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/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +366 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +5 -2
- package/src/main/js/sap/ushell/utils/workpage/resources/resources.properties +157 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ar.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_bg.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ca.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cs.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_cy.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_da.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_de.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_el.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_GB.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_sappsd.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saprigi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en_US_saptrc.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_et.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_fr_CA.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_hu.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_id.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_it.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_iw.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ja.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_kk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ko.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lt.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_lv.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ms.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_nl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_no.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_pt_PT.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ro.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_ru.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sl.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sv.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_th.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_tr.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_uk.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_vi.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_CN.properties +78 -0
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_zh_TW.properties +78 -0
- package/src/main/js/sap/ushell/utils.js +2 -2
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +70 -60
- package/ui5.yaml +30 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +0 -350
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n.properties +0 -38
|
@@ -5,18 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
/** All my Apps Popover **/
|
|
7
7
|
|
|
8
|
-
// View inside the AllMyApps Popover
|
|
9
|
-
.sapUshellAllMyAppsView {
|
|
10
|
-
box-shadow: @sapUiShadowLevel2;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.sapUshellAllMyAppsItemTitle {
|
|
14
|
-
font-family: @sapUiFontFamily;
|
|
15
|
-
font-size: @sapMFontMediumSize;
|
|
16
|
-
font-weight: normal;
|
|
17
|
-
color: @sapUiLink;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
8
|
#allMyAppsView--sapUshellAllMyAppsDetailsPage {
|
|
21
9
|
background-color: @sapUiListBackground;
|
|
22
10
|
border-left: 1px solid @sapUiListBorderColor;
|
|
@@ -26,13 +14,6 @@
|
|
|
26
14
|
border-bottom: 0;
|
|
27
15
|
}
|
|
28
16
|
|
|
29
|
-
.sapUshellAllMyAppsItemSubTitle {
|
|
30
|
-
font-family: @sapUiFontFamily;
|
|
31
|
-
font-size: @sapMFontMediumSize;
|
|
32
|
-
font-weight: normal;
|
|
33
|
-
color: @sapUiContentLabelColor;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
17
|
/** --------------------------------------- **/
|
|
37
18
|
/** Styles for Shell Title's Navigation Menu**/
|
|
38
19
|
/** --------------------------------------- **/
|
|
@@ -57,7 +38,7 @@
|
|
|
57
38
|
}
|
|
58
39
|
|
|
59
40
|
// On mobile Portrait Mode the arrow down button is only shown without text (only one child)
|
|
60
|
-
#shellAppTitle-button>span:only-child {
|
|
41
|
+
#shellAppTitle-button > span:only-child {
|
|
61
42
|
min-width: 1rem;
|
|
62
43
|
}
|
|
63
44
|
|
|
@@ -72,25 +53,25 @@
|
|
|
72
53
|
outline: none;
|
|
73
54
|
}
|
|
74
55
|
|
|
75
|
-
#shellAppTitle.sapUshellAppTitleClickable:hover
|
|
76
|
-
#shellAppTitle.sapUshellAppTitleClickable
|
|
77
|
-
#shellAppTitle.sapUshellAppTitleClickable:hover
|
|
56
|
+
#shellAppTitle.sapUshellAppTitleClickable:hover > #shellAppTitle-button,
|
|
57
|
+
#shellAppTitle.sapUshellAppTitleClickable > #shellAppTitle-button:hover,
|
|
58
|
+
#shellAppTitle.sapUshellAppTitleClickable:hover > #shellAppTitle-button:focus-within {
|
|
78
59
|
box-shadow: @sapUiContentInteractionShadow;
|
|
79
60
|
background-color: @sapUiShellHoverBackground;
|
|
80
61
|
}
|
|
81
62
|
|
|
82
|
-
#shellAppTitle.sapUshellAppTitleClickable
|
|
63
|
+
#shellAppTitle.sapUshellAppTitleClickable > #shellAppTitle-button:focus:not(:focus-within) {
|
|
83
64
|
outline-color: transparent;
|
|
84
65
|
}
|
|
85
66
|
|
|
86
|
-
#shellAppTitle.sapUshellAppTitleClickable
|
|
67
|
+
#shellAppTitle.sapUshellAppTitleClickable > #shellAppTitle-button:focus-within {
|
|
87
68
|
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
88
69
|
box-shadow: none;
|
|
89
70
|
}
|
|
90
71
|
|
|
91
|
-
#shellAppTitle.sapUshellAppTitleClickable:active
|
|
92
|
-
#shellAppTitle.sapUshellAppTitleClickable
|
|
93
|
-
#shellAppTitle.sapUshellAppTitleClickable
|
|
72
|
+
#shellAppTitle.sapUshellAppTitleClickable:active > #shellAppTitle-button,
|
|
73
|
+
#shellAppTitle.sapUshellAppTitleClickable > #shellAppTitle-button:active,
|
|
74
|
+
#shellAppTitle.sapUshellAppTitleClickable > #shellAppTitle-button:focus-within:active {
|
|
94
75
|
color: @sapUiShellActiveTextColor;
|
|
95
76
|
background-color: @sapUiButtonActiveBackground;
|
|
96
77
|
border: 1px @sapDefault_BorderStyle @sapUiButtonLiteActiveBorderColor;
|
|
@@ -134,25 +115,16 @@
|
|
|
134
115
|
box-shadow: 0 0 1px 0 @sapUiTileBorderColor;
|
|
135
116
|
}
|
|
136
117
|
|
|
137
|
-
.sapUshellNavMiniTile:hover
|
|
138
|
-
box-shadow: 0 0 0.125rem @sapUiTileBorderColor;
|
|
139
|
-
}
|
|
140
|
-
|
|
118
|
+
.sapUshellNavMiniTile:hover,
|
|
141
119
|
.sapUshellNavMiniTile:active {
|
|
142
120
|
box-shadow: 0 0 0.125rem @sapUiTileBorderColor;
|
|
143
121
|
}
|
|
144
122
|
|
|
145
|
-
|
|
146
|
-
.sapUshellNavMiniTileTitle {
|
|
147
|
-
color: @sapUiListTextColor;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/** Shell Navigation Menu - Mini Tiles - Subtitle **/
|
|
123
|
+
.sapUshellNavMiniTileTitle,
|
|
151
124
|
.sapUshellNavMiniTileSubtitle {
|
|
152
125
|
color: @sapUiListTextColor;
|
|
153
126
|
}
|
|
154
127
|
|
|
155
|
-
/** Shell Navigation Menu - Mini Tiles - Icon **/
|
|
156
128
|
.sapUshellNavMiniTileIcon {
|
|
157
129
|
color: @sapUiBrand;
|
|
158
130
|
}
|
|
@@ -2,14 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// Provides control sap.ushell.ui.appfinder.AppBox.
|
|
4
4
|
sap.ui.define([
|
|
5
|
-
"sap/ui/
|
|
6
|
-
|
|
7
|
-
"sap/ui/core/IconPool",
|
|
8
|
-
"sap/ushell/library", // css style dependency
|
|
9
|
-
"sap/ushell/resources",
|
|
10
|
-
"sap/ushell/ui/appfinder/AppBoxRenderer",
|
|
11
|
-
"sap/ushell/Config"
|
|
12
|
-
], function (Control, Icon, IconPool, ushellLibrary, resources, AppBoxRenderer, Config) {
|
|
5
|
+
"sap/ushell/ui/appfinder/AppBoxInternal"
|
|
6
|
+
], function (AppBoxInternal) {
|
|
13
7
|
"use strict";
|
|
14
8
|
|
|
15
9
|
/**
|
|
@@ -26,133 +20,6 @@ sap.ui.define([
|
|
|
26
20
|
* @public
|
|
27
21
|
* @deprecated since 1.120
|
|
28
22
|
*/
|
|
29
|
-
|
|
30
|
-
metadata: {
|
|
31
|
-
library: "sap.ushell",
|
|
32
|
-
properties: {
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Specifies the title of the appBox.
|
|
36
|
-
*/
|
|
37
|
-
title: { type: "string", group: "Misc", defaultValue: null },
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the subTitle of the appBox.
|
|
41
|
-
*/
|
|
42
|
-
subtitle: { type: "string", group: "Misc", defaultValue: null },
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the icon url of the appBox.
|
|
46
|
-
*/
|
|
47
|
-
icon: { type: "string", group: "Misc", defaultValue: null },
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Specifies the url of the appBox.
|
|
51
|
-
*/
|
|
52
|
-
url: { type: "string", group: "Misc", defaultValue: null },
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Specifies the navigationMode of the appBox.
|
|
56
|
-
*/
|
|
57
|
-
navigationMode: { type: "string", group: "Misc", defaultValue: null },
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Specifies the contentProviderLabel of the appBox.
|
|
61
|
-
*/
|
|
62
|
-
contentProviderLabel: { type: "string", group: "Misc", defaultValue: "" },
|
|
63
|
-
/**
|
|
64
|
-
* Specifies the if the contentProviderLabel of the appBox is shown.
|
|
65
|
-
*/
|
|
66
|
-
showContentProviderLabel: { type: "boolean", group: "Misc", defaultValue: false }
|
|
67
|
-
},
|
|
68
|
-
aggregations: {
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* The pinButton aggregation that can contain the pin button.
|
|
72
|
-
*/
|
|
73
|
-
pinButton: { type: "sap.m.Button", multiple: false }
|
|
74
|
-
},
|
|
75
|
-
events: {
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Fires when the appBox is pressed.
|
|
79
|
-
*/
|
|
80
|
-
press: {},
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Fires after the appBox is rendered.
|
|
84
|
-
*/
|
|
85
|
-
afterRendering: {}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
renderer: AppBoxRenderer
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Provides control sap.ushell.ui.appfinder.AppBox
|
|
93
|
-
* @private
|
|
94
|
-
*/
|
|
95
|
-
AppBox.prototype.init = function () {
|
|
96
|
-
this._oIcon = new Icon().addStyleClass("sapUshellAppBoxIcon");
|
|
97
|
-
this._oDoable = Config.on("/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations").do(bShowContentProviderLabel => {
|
|
98
|
-
this.setProperty("showContentProviderLabel", bShowContentProviderLabel);
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
AppBox.prototype.destroy = function () {
|
|
103
|
-
Control.prototype.destroy.apply(this, arguments);
|
|
104
|
-
this._oIcon.destroy();
|
|
105
|
-
this._oDoable.off();
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
AppBox.prototype.onAfterRendering = function () {
|
|
109
|
-
var jqAppBoxTitle = this.$("title"),
|
|
110
|
-
jqAppBoxSubTitle = this.$("subTitle");
|
|
111
|
-
|
|
112
|
-
var iTitleLineHeight = parseInt(jqAppBoxTitle.css("lineHeight"), 10),
|
|
113
|
-
iTitleHeight = jqAppBoxTitle.height();
|
|
114
|
-
|
|
115
|
-
if ((iTitleHeight / iTitleLineHeight) > 1) {
|
|
116
|
-
jqAppBoxTitle.addClass("sapUshellAppBoxHeaderElementTwoLines");
|
|
117
|
-
jqAppBoxSubTitle.addClass("sapUshellAppBoxHeaderElementOneLine");
|
|
118
|
-
} else {
|
|
119
|
-
jqAppBoxTitle.addClass("sapUshellAppBoxHeaderElementOneLine");
|
|
120
|
-
jqAppBoxSubTitle.addClass("sapUshellAppBoxHeaderElementTwoLines");
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
this.fireAfterRendering();
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
AppBox.prototype.setIcon = function (sIconUrl) {
|
|
127
|
-
this.setProperty("icon", sIconUrl);
|
|
128
|
-
this._oIcon.setSrc(IconPool.isIconURI(sIconUrl) ? sIconUrl : null);
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
AppBox.prototype._getAriaLabel = function () {
|
|
132
|
-
var sAriaLabel = this.getTitle(),
|
|
133
|
-
sSubTitle = this.getSubtitle(),
|
|
134
|
-
sNavigationMode = this.getNavigationMode();
|
|
135
|
-
|
|
136
|
-
if (sSubTitle) {
|
|
137
|
-
sAriaLabel += " " + sSubTitle;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
if (sNavigationMode) {
|
|
141
|
-
sAriaLabel += " " + resources.i18n.getText(sNavigationMode + "NavigationMode");
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
return sAriaLabel;
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
// browser events
|
|
148
|
-
AppBox.prototype.onclick = AppBox.prototype.firePress;
|
|
149
|
-
|
|
150
|
-
AppBox.prototype.onsapspace = function (e) {
|
|
151
|
-
e.preventDefault();
|
|
152
|
-
this.firePress(e);
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
AppBox.prototype.onsapenter = AppBox.prototype.onsapspace;
|
|
156
|
-
|
|
23
|
+
const AppBox = AppBoxInternal.extend("sap.ushell.ui.appfinder.AppBox" /** @lends sap.ushell.ui.appfinder.AppBox.prototype */);
|
|
157
24
|
return AppBox;
|
|
158
25
|
});
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
// Provides control sap.ushell.ui.appfinder.AppBoxInternal.
|
|
4
|
+
sap.ui.define([
|
|
5
|
+
"sap/ui/core/Control",
|
|
6
|
+
"sap/ui/core/Icon",
|
|
7
|
+
"sap/ui/core/IconPool",
|
|
8
|
+
"sap/ushell/library", // css style dependency
|
|
9
|
+
"sap/ushell/resources",
|
|
10
|
+
"sap/ushell/ui/appfinder/AppBoxRenderer",
|
|
11
|
+
"sap/ushell/Config"
|
|
12
|
+
], function (Control, Icon, IconPool, ushellLibrary, resources, AppBoxRenderer, Config) {
|
|
13
|
+
"use strict";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @alias sap.ushell.ui.appfinder.AppBoxInternal
|
|
17
|
+
* @class
|
|
18
|
+
* @classdesc Constructor for a new ui/appfinder/AppBoxInternal.
|
|
19
|
+
*
|
|
20
|
+
* @param {string} [sId] id for the new control, generated automatically if no id is given
|
|
21
|
+
* @param {object} [mSettings] initial settings for the new control
|
|
22
|
+
*
|
|
23
|
+
* Add your documentation for the new ui/appfinder/AppBoxInternal
|
|
24
|
+
* @extends sap.ui.core.Control
|
|
25
|
+
*
|
|
26
|
+
* @private
|
|
27
|
+
*/
|
|
28
|
+
const AppBoxInternal = Control.extend("sap.ushell.ui.appfinder.AppBoxInternal", /** @lends sap.ushell.ui.appfinder.AppBoxInternal.prototype */ {
|
|
29
|
+
metadata: {
|
|
30
|
+
library: "sap.ushell",
|
|
31
|
+
properties: {
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the title of the appBox.
|
|
35
|
+
*/
|
|
36
|
+
title: { type: "string", group: "Misc", defaultValue: null },
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the subTitle of the appBox.
|
|
40
|
+
*/
|
|
41
|
+
subtitle: { type: "string", group: "Misc", defaultValue: null },
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the icon url of the appBox.
|
|
45
|
+
*/
|
|
46
|
+
icon: { type: "string", group: "Misc", defaultValue: null },
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the url of the appBox.
|
|
50
|
+
*/
|
|
51
|
+
url: { type: "string", group: "Misc", defaultValue: null },
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Specifies the navigationMode of the appBox.
|
|
55
|
+
*/
|
|
56
|
+
navigationMode: { type: "string", group: "Misc", defaultValue: null },
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the contentProviderLabel of the appBox.
|
|
60
|
+
*/
|
|
61
|
+
contentProviderLabel: { type: "string", group: "Misc", defaultValue: "" },
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the if the contentProviderLabel of the appBox is shown.
|
|
64
|
+
*/
|
|
65
|
+
showContentProviderLabel: { type: "boolean", group: "Misc", defaultValue: false }
|
|
66
|
+
},
|
|
67
|
+
aggregations: {
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The pinButton aggregation that can contain the pin button.
|
|
71
|
+
*/
|
|
72
|
+
pinButton: { type: "sap.m.Button", multiple: false }
|
|
73
|
+
},
|
|
74
|
+
events: {
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Fires when the appBox is pressed.
|
|
78
|
+
*/
|
|
79
|
+
press: {},
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Fires after the appBox is rendered.
|
|
83
|
+
*/
|
|
84
|
+
afterRendering: {}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
renderer: AppBoxRenderer
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Provides control sap.ushell.ui.appfinder.AppBoxInternal
|
|
92
|
+
* @private
|
|
93
|
+
*/
|
|
94
|
+
AppBoxInternal.prototype.init = function () {
|
|
95
|
+
this._oIcon = new Icon().addStyleClass("sapUshellAppBoxIcon");
|
|
96
|
+
this._oDoable = Config.on("/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations").do(bShowContentProviderLabel => {
|
|
97
|
+
this.setProperty("showContentProviderLabel", bShowContentProviderLabel);
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
AppBoxInternal.prototype.destroy = function () {
|
|
102
|
+
Control.prototype.destroy.apply(this, arguments);
|
|
103
|
+
this._oIcon.destroy();
|
|
104
|
+
this._oDoable.off();
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
AppBoxInternal.prototype.onAfterRendering = function () {
|
|
108
|
+
const jqAppBoxTitle = this.$("title");
|
|
109
|
+
const jqAppBoxSubTitle = this.$("subTitle");
|
|
110
|
+
const iTitleLineHeight = parseInt(jqAppBoxTitle.css("lineHeight"), 10);
|
|
111
|
+
const iTitleHeight = jqAppBoxTitle.height();
|
|
112
|
+
|
|
113
|
+
if ((iTitleHeight / iTitleLineHeight) > 1) {
|
|
114
|
+
jqAppBoxTitle.addClass("sapUshellAppBoxHeaderElementTwoLines");
|
|
115
|
+
jqAppBoxSubTitle.addClass("sapUshellAppBoxHeaderElementOneLine");
|
|
116
|
+
} else {
|
|
117
|
+
jqAppBoxTitle.addClass("sapUshellAppBoxHeaderElementOneLine");
|
|
118
|
+
jqAppBoxSubTitle.addClass("sapUshellAppBoxHeaderElementTwoLines");
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
this.fireAfterRendering();
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
AppBoxInternal.prototype.setIcon = function (sIconUrl) {
|
|
125
|
+
this.setProperty("icon", sIconUrl);
|
|
126
|
+
this._oIcon.setSrc(IconPool.isIconURI(sIconUrl) ? sIconUrl : null);
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
AppBoxInternal.prototype._getAriaLabel = function () {
|
|
130
|
+
let sAriaLabel = this.getTitle();
|
|
131
|
+
const sSubTitle = this.getSubtitle();
|
|
132
|
+
const sNavigationMode = this.getNavigationMode();
|
|
133
|
+
const sContentProviderLabel = this.getShowContentProviderLabel() && this.getContentProviderLabel();
|
|
134
|
+
|
|
135
|
+
if (sSubTitle) {
|
|
136
|
+
sAriaLabel += " " + sSubTitle;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (sNavigationMode) {
|
|
140
|
+
sAriaLabel += " " + resources.i18n.getText(sNavigationMode + "NavigationMode");
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
if (sContentProviderLabel) {
|
|
144
|
+
sAriaLabel += " " + sContentProviderLabel;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
return sAriaLabel;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
// browser events
|
|
151
|
+
AppBoxInternal.prototype.onclick = AppBoxInternal.prototype.firePress;
|
|
152
|
+
|
|
153
|
+
AppBoxInternal.prototype.onsapspace = function (e) {
|
|
154
|
+
e.preventDefault();
|
|
155
|
+
this.firePress(e);
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
AppBoxInternal.prototype.onsapenter = AppBoxInternal.prototype.onsapspace;
|
|
159
|
+
|
|
160
|
+
return AppBoxInternal;
|
|
161
|
+
});
|
|
@@ -81,7 +81,13 @@ sap.ui.define([
|
|
|
81
81
|
rm.openStart("div", oAppBox.getId() + "-contentProviderLabel");
|
|
82
82
|
rm.class("sapUshellAppBoxContentProviderLabel");
|
|
83
83
|
rm.openEnd(); // div - tag
|
|
84
|
+
|
|
85
|
+
rm.openStart("span", oAppBox.getId() + "-contentProviderLabelInner");
|
|
86
|
+
rm.class("sapUshellAppBoxContentProviderLabelInner");
|
|
87
|
+
rm.attr("title", oAppBox.getContentProviderLabel().toUpperCase());
|
|
88
|
+
rm.openEnd(); // div - tag
|
|
84
89
|
rm.text(oAppBox.getContentProviderLabel());
|
|
90
|
+
rm.close("span");
|
|
85
91
|
rm.close("div");
|
|
86
92
|
}
|
|
87
93
|
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
*/
|
|
46
46
|
loadPersonalizedGroups: function () {
|
|
47
47
|
// Determine targets for bookmark placement
|
|
48
|
-
return sap.ushell.Container.getServiceAsync("
|
|
48
|
+
return sap.ushell.Container.getServiceAsync("FlpLaunchPage")
|
|
49
49
|
.then(function (LaunchPageService) {
|
|
50
50
|
return new Promise(function (resolve, reject) {
|
|
51
51
|
LaunchPageService.getGroupsForBookmarks()
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
catalogTagSelector: { type: "object", group: "Appearance", defaultValue: null }
|
|
33
33
|
},
|
|
34
34
|
aggregations: {
|
|
35
|
-
appBoxesContainer: { type: "sap.ushell.ui.appfinder.
|
|
35
|
+
appBoxesContainer: { type: "sap.ushell.ui.appfinder.AppBoxInternal", multiple: true },
|
|
36
36
|
customTilesContainer: { type: "sap.ushell.ui.launchpad.Tile", multiple: true }
|
|
37
37
|
}
|
|
38
38
|
},
|
|
@@ -202,7 +202,7 @@ sap.ui.define([
|
|
|
202
202
|
}).addStyleClass("sapUshellTileContainerTitleInput");
|
|
203
203
|
|
|
204
204
|
if (sap.ushell.Container) {
|
|
205
|
-
sap.ushell.Container.getServiceAsync("
|
|
205
|
+
sap.ushell.Container.getServiceAsync("FlpLaunchPage").then(function (oLaunchPageService) {
|
|
206
206
|
if (oLaunchPageService.isLinkPersonalizationSupported()) {
|
|
207
207
|
TileContainer.prototype.isLinkPersonalizationOveride();
|
|
208
208
|
}
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
*/
|
|
43
43
|
VizInstanceLaunchPage.prototype.load = function () {
|
|
44
44
|
var oTile = this.getInstantiationData().launchPageTile;
|
|
45
|
-
return sap.ushell.Container.getServiceAsync("
|
|
45
|
+
return sap.ushell.Container.getServiceAsync("FlpLaunchPage")
|
|
46
46
|
.then((oLaunchPageService) => {
|
|
47
47
|
return new Promise((resolve, reject) => {
|
|
48
48
|
// The abap platform instantiates CatalogTiles by default as preview true.
|
|
@@ -93,9 +93,14 @@ sap.ui.define([
|
|
|
93
93
|
var bShellAppTitleIsVisible = oControl._getControlVisibilityAndState();
|
|
94
94
|
var sText = oControl.getText();
|
|
95
95
|
|
|
96
|
+
oRm.openStart("div", oControl);
|
|
97
|
+
oRm.class("sapUshellHeadTitle");
|
|
98
|
+
if (bShellAppTitleIsVisible || Device.system.phone) {
|
|
99
|
+
oRm.class("sapUshellAppTitleClickable");
|
|
100
|
+
}
|
|
101
|
+
oRm.openEnd(); // div - tag
|
|
102
|
+
|
|
96
103
|
// This invisible title element is purley for accessibility reasons.
|
|
97
|
-
// It is placed outside of the main control elements,
|
|
98
|
-
// so that automated tests do not read the title string twice.
|
|
99
104
|
oRm.openStart("h1");
|
|
100
105
|
oRm.class("sapUiPseudoInvisibleText");
|
|
101
106
|
oRm.attr("aria-level", "1");
|
|
@@ -103,13 +108,6 @@ sap.ui.define([
|
|
|
103
108
|
oRm.text(sText || "");
|
|
104
109
|
oRm.close("h1");
|
|
105
110
|
|
|
106
|
-
oRm.openStart("div", oControl);
|
|
107
|
-
oRm.class("sapUshellHeadTitle");
|
|
108
|
-
if (bShellAppTitleIsVisible || Device.system.phone) {
|
|
109
|
-
oRm.class("sapUshellAppTitleClickable");
|
|
110
|
-
}
|
|
111
|
-
oRm.openEnd(); // div - tag
|
|
112
|
-
|
|
113
111
|
oRm.openStart("div", oControl.getId() + "-button");
|
|
114
112
|
oRm.class("sapUshellAppTitle");
|
|
115
113
|
if (bShellAppTitleIsVisible || Device.system.phone) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* This module is for internal Shell usage only
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.122.1
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define(["sap/base/Log", "sap/ushell/utils/UrlParsing"], function (Log, urlParsing) {
|
|
11
11
|
"use strict";
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* The browser hash is limited in length on certain platforms.
|
|
21
21
|
*
|
|
22
22
|
* The technical means to resolve URLs in the unified shell do not involve browser has values, as actual parameters are:
|
|
23
|
-
* a) Passed and returned by the
|
|
23
|
+
* a) Passed and returned by the NavTargetResolutionInternal service as an OData request/response value
|
|
24
24
|
* b) subsequently passed to the Application as URL
|
|
25
25
|
*
|
|
26
26
|
* The length of these parameters shall not be restricted by "artificial" and platform dependent browser URL length.
|