@sapui5/sap.ushell 1.122.1 → 1.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/Container.js +9 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.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 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +18 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +13 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +18 -8
- 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 +5 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +27 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +0 -5
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +3 -112
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +8 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +3 -0
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +1 -2
- 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 +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- 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/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +13 -2
- 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/model/formatter.js +0 -4
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +2 -0
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +159 -137
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTree.view.xml +24 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +31 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +146 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +59 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +50 -0
- package/src/main/js/sap/ushell/components/contentFinderStandalone/view/ContentFinderStandalone.view.xml +15 -0
- 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 +1 -1
- 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/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 +0 -4
- 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/userLanguageRegion/LanguageRegionSelector.controller.js +1 -1
- 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/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 +1 -1
- 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/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 +2 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/Renderer.js +44 -32
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +2 -24
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +26 -12
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +154 -39
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +104 -134
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- 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/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 +9 -2
- 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/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +46 -9
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +141 -9
- 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 +58 -16
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +38 -13
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLParsing.js +42 -20
- 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 +17 -4
- 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 +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 +34 -5
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/ui/AppContainer.js +44 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +3 -3
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternalRenderer.js +103 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +7 -98
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +5 -3
- 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/ViewPortState.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.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/ui5service/_ShellUIService/shelluiservice.class.factory.js +30 -48
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +342 -0
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +384 -0
- package/src/main/js/sap/ushell/utils/tilecard/resources/resources.properties +11 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +57 -4
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +44 -17
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +2 -0
|
@@ -187,16 +187,60 @@ sap.ui.define([
|
|
|
187
187
|
|
|
188
188
|
// Stubs for Fiori2 API - these methods are noop in Fiori3
|
|
189
189
|
var noop = function () { };
|
|
190
|
+
/**
|
|
191
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
192
|
+
*/
|
|
190
193
|
AppContainer.prototype.switchState = noop;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
197
|
+
*/
|
|
191
198
|
AppContainer.prototype._handleSizeChange = noop;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
202
|
+
*/
|
|
192
203
|
AppContainer.prototype.shiftCenterTransitionEnabled = noop;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
207
|
+
*/
|
|
193
208
|
AppContainer.prototype.shiftCenterTransition = noop;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
212
|
+
*/
|
|
194
213
|
AppContainer.prototype.addLeftViewPort = noop;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
217
|
+
*/
|
|
195
218
|
AppContainer.prototype.addRightViewPort = noop;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
222
|
+
*/
|
|
196
223
|
AppContainer.prototype.attachAfterSwitchState = noop;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
227
|
+
*/
|
|
197
228
|
AppContainer.prototype.detachAfterSwitchState = noop;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
232
|
+
*/
|
|
198
233
|
AppContainer.prototype.attachAfterSwitchStateAnimationFinished = noop;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
237
|
+
*/
|
|
199
238
|
AppContainer.prototype.detachAfterSwitchStateAnimationFinished = noop;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @returns {string} The current ViewPort State
|
|
242
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
243
|
+
*/
|
|
200
244
|
AppContainer.prototype.getCurrentState = function () {
|
|
201
245
|
return "Center";
|
|
202
246
|
};
|
|
@@ -7,9 +7,9 @@ sap.ui.define([
|
|
|
7
7
|
"sap/ui/core/IconPool",
|
|
8
8
|
"sap/ushell/library", // css style dependency
|
|
9
9
|
"sap/ushell/resources",
|
|
10
|
-
"sap/ushell/ui/appfinder/
|
|
10
|
+
"sap/ushell/ui/appfinder/AppBoxInternalRenderer",
|
|
11
11
|
"sap/ushell/Config"
|
|
12
|
-
], function (Control, Icon, IconPool, ushellLibrary, resources,
|
|
12
|
+
], function (Control, Icon, IconPool, ushellLibrary, resources, AppBoxInternalRenderer, Config) {
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -84,7 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
afterRendering: {}
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
renderer:
|
|
87
|
+
renderer: AppBoxInternalRenderer
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
/**
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
sap.ui.define([
|
|
4
|
+
"sap/ushell/resources"
|
|
5
|
+
], function (resources) {
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* AppBox renderer.
|
|
10
|
+
* @namespace
|
|
11
|
+
*/
|
|
12
|
+
var AppBoxInternalRenderer = {
|
|
13
|
+
apiVersion: 2
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Renders the HTML for the given AppBox control, using the provided
|
|
18
|
+
* {@link sap.ui.core.RenderManager}.
|
|
19
|
+
*
|
|
20
|
+
* @param {sap.ui.core.RenderManager} rm
|
|
21
|
+
* the RenderManager that can be used for writing to
|
|
22
|
+
* the Render-Output-Buffer
|
|
23
|
+
* @param {sap.ui.core.Control} oAppBox
|
|
24
|
+
* the AppBox to be rendered
|
|
25
|
+
*/
|
|
26
|
+
AppBoxInternalRenderer.render = function (rm, oAppBox) {
|
|
27
|
+
rm.openStart("li", oAppBox);
|
|
28
|
+
rm.class("sapUshellAppBox");
|
|
29
|
+
rm.attr("aria-label", oAppBox._getAriaLabel());
|
|
30
|
+
rm.attr("aria-roledescription", resources.i18n.getText("tile"));
|
|
31
|
+
rm.attr("aria-describedby", oAppBox.getId());
|
|
32
|
+
rm.openEnd(); // li - tag
|
|
33
|
+
|
|
34
|
+
rm.openStart("div");
|
|
35
|
+
rm.class("sapUshellAppBoxInner");
|
|
36
|
+
rm.openEnd(); // div - tag
|
|
37
|
+
|
|
38
|
+
// icon
|
|
39
|
+
var bHasIcon = oAppBox.getIcon();
|
|
40
|
+
if (bHasIcon) {
|
|
41
|
+
rm.renderControl(oAppBox._oIcon);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
rm.openStart("div");
|
|
45
|
+
if (bHasIcon) {
|
|
46
|
+
rm.class("sapUshellAppBoxHeader");
|
|
47
|
+
} else {
|
|
48
|
+
rm.class("sapUshellAppBoxHeaderNoIcon");
|
|
49
|
+
}
|
|
50
|
+
rm.openEnd(); // div - tag
|
|
51
|
+
|
|
52
|
+
// title
|
|
53
|
+
rm.openStart("div", oAppBox.getId() + "-title");
|
|
54
|
+
rm.class("sapUshellAppBoxTitle");
|
|
55
|
+
rm.openEnd(); // div - tag
|
|
56
|
+
rm.text(oAppBox.getTitle());
|
|
57
|
+
rm.close("div");
|
|
58
|
+
|
|
59
|
+
// subtitle
|
|
60
|
+
if (oAppBox.getSubtitle()) {
|
|
61
|
+
rm.openStart("div", oAppBox.getId() + "-subTitle");
|
|
62
|
+
rm.class("sapUshellAppBoxSubtitle");
|
|
63
|
+
rm.openEnd(); // div - tag
|
|
64
|
+
rm.text(oAppBox.getSubtitle());
|
|
65
|
+
rm.close("div");
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
rm.close("div");
|
|
69
|
+
rm.close("div");
|
|
70
|
+
|
|
71
|
+
rm.openStart("div");
|
|
72
|
+
rm.class("sapUshellAppBoxActionsArea");
|
|
73
|
+
if (oAppBox.getTitle) {
|
|
74
|
+
rm.attr("role", "toolbar");
|
|
75
|
+
rm.attr("aria-label", oAppBox.getTitle());
|
|
76
|
+
}
|
|
77
|
+
rm.openEnd(); // div - tag
|
|
78
|
+
|
|
79
|
+
// Content Provider Label
|
|
80
|
+
if (oAppBox.getShowContentProviderLabel() && oAppBox.getContentProviderLabel() !== "") {
|
|
81
|
+
rm.openStart("div", oAppBox.getId() + "-contentProviderLabel");
|
|
82
|
+
rm.class("sapUshellAppBoxContentProviderLabel");
|
|
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
|
|
89
|
+
rm.text(oAppBox.getContentProviderLabel());
|
|
90
|
+
rm.close("span");
|
|
91
|
+
rm.close("div");
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
rm.renderControl(oAppBox.getPinButton());
|
|
95
|
+
|
|
96
|
+
rm.close("div");
|
|
97
|
+
rm.close("li");
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
return AppBoxInternalRenderer;
|
|
102
|
+
|
|
103
|
+
}, /* bExport= */ true);
|
|
@@ -1,103 +1,12 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview AppBox renderer
|
|
4
|
+
* @deprecated As of version 1.120
|
|
5
|
+
*/
|
|
3
6
|
sap.ui.define([
|
|
4
|
-
"sap/ushell/
|
|
5
|
-
], function (
|
|
7
|
+
"sap/ushell/ui/appfinder/AppBoxInternalRenderer"
|
|
8
|
+
], function (AppBoxInternalRenderer) {
|
|
6
9
|
"use strict";
|
|
7
10
|
|
|
8
|
-
|
|
9
|
-
* AppBox renderer.
|
|
10
|
-
* @namespace
|
|
11
|
-
*/
|
|
12
|
-
var AppBoxRenderer = {
|
|
13
|
-
apiVersion: 2
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Renders the HTML for the given AppBox control, using the provided
|
|
18
|
-
* {@link sap.ui.core.RenderManager}.
|
|
19
|
-
*
|
|
20
|
-
* @param {sap.ui.core.RenderManager} rm
|
|
21
|
-
* the RenderManager that can be used for writing to
|
|
22
|
-
* the Render-Output-Buffer
|
|
23
|
-
* @param {sap.ui.core.Control} oAppBox
|
|
24
|
-
* the AppBox to be rendered
|
|
25
|
-
*/
|
|
26
|
-
AppBoxRenderer.render = function (rm, oAppBox) {
|
|
27
|
-
rm.openStart("li", oAppBox);
|
|
28
|
-
rm.class("sapUshellAppBox");
|
|
29
|
-
rm.attr("aria-label", oAppBox._getAriaLabel());
|
|
30
|
-
rm.attr("aria-roledescription", resources.i18n.getText("tile"));
|
|
31
|
-
rm.attr("aria-describedby", oAppBox.getId());
|
|
32
|
-
rm.openEnd(); // li - tag
|
|
33
|
-
|
|
34
|
-
rm.openStart("div");
|
|
35
|
-
rm.class("sapUshellAppBoxInner");
|
|
36
|
-
rm.openEnd(); // div - tag
|
|
37
|
-
|
|
38
|
-
// icon
|
|
39
|
-
var bHasIcon = oAppBox.getIcon();
|
|
40
|
-
if (bHasIcon) {
|
|
41
|
-
rm.renderControl(oAppBox._oIcon);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
rm.openStart("div");
|
|
45
|
-
if (bHasIcon) {
|
|
46
|
-
rm.class("sapUshellAppBoxHeader");
|
|
47
|
-
} else {
|
|
48
|
-
rm.class("sapUshellAppBoxHeaderNoIcon");
|
|
49
|
-
}
|
|
50
|
-
rm.openEnd(); // div - tag
|
|
51
|
-
|
|
52
|
-
// title
|
|
53
|
-
rm.openStart("div", oAppBox.getId() + "-title");
|
|
54
|
-
rm.class("sapUshellAppBoxTitle");
|
|
55
|
-
rm.openEnd(); // div - tag
|
|
56
|
-
rm.text(oAppBox.getTitle());
|
|
57
|
-
rm.close("div");
|
|
58
|
-
|
|
59
|
-
// subtitle
|
|
60
|
-
if (oAppBox.getSubtitle()) {
|
|
61
|
-
rm.openStart("div", oAppBox.getId() + "-subTitle");
|
|
62
|
-
rm.class("sapUshellAppBoxSubtitle");
|
|
63
|
-
rm.openEnd(); // div - tag
|
|
64
|
-
rm.text(oAppBox.getSubtitle());
|
|
65
|
-
rm.close("div");
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
rm.close("div");
|
|
69
|
-
rm.close("div");
|
|
70
|
-
|
|
71
|
-
rm.openStart("div");
|
|
72
|
-
rm.class("sapUshellAppBoxActionsArea");
|
|
73
|
-
if (oAppBox.getTitle) {
|
|
74
|
-
rm.attr("role", "toolbar");
|
|
75
|
-
rm.attr("aria-label", oAppBox.getTitle());
|
|
76
|
-
}
|
|
77
|
-
rm.openEnd(); // div - tag
|
|
78
|
-
|
|
79
|
-
// Content Provider Label
|
|
80
|
-
if (oAppBox.getShowContentProviderLabel() && oAppBox.getContentProviderLabel() !== "") {
|
|
81
|
-
rm.openStart("div", oAppBox.getId() + "-contentProviderLabel");
|
|
82
|
-
rm.class("sapUshellAppBoxContentProviderLabel");
|
|
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
|
|
89
|
-
rm.text(oAppBox.getContentProviderLabel());
|
|
90
|
-
rm.close("span");
|
|
91
|
-
rm.close("div");
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
rm.renderControl(oAppBox.getPinButton());
|
|
95
|
-
|
|
96
|
-
rm.close("div");
|
|
97
|
-
rm.close("li");
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return AppBoxRenderer;
|
|
102
|
-
|
|
11
|
+
return AppBoxInternalRenderer;
|
|
103
12
|
}, /* bExport= */ true);
|
|
@@ -5,13 +5,15 @@ sap.ui.define([
|
|
|
5
5
|
"sap/ui/core/Control",
|
|
6
6
|
"sap/ui/performance/Measurement",
|
|
7
7
|
"sap/ushell/library", // css style dependency
|
|
8
|
-
"sap/ushell/ui/launchpad/TileContainerUtils"
|
|
8
|
+
"sap/ushell/ui/launchpad/TileContainerUtils",
|
|
9
|
+
"sap/ushell/resources"
|
|
9
10
|
], function (
|
|
10
11
|
Log,
|
|
11
12
|
Control,
|
|
12
13
|
Measurement,
|
|
13
14
|
ushellLibrary,
|
|
14
|
-
TileContainerUtils
|
|
15
|
+
TileContainerUtils,
|
|
16
|
+
resources
|
|
15
17
|
) {
|
|
16
18
|
"use strict";
|
|
17
19
|
|
|
@@ -73,7 +75,7 @@ sap.ui.define([
|
|
|
73
75
|
var aItems = this.getCatalogs();
|
|
74
76
|
|
|
75
77
|
this.nAllocatedUnits = nAllocatedUnits;
|
|
76
|
-
if (sCatalog && sCatalog !== "
|
|
78
|
+
if (sCatalog && sCatalog !== resources.i18n.getText("all")) {
|
|
77
79
|
this.sCatalogTerm = sCatalog;
|
|
78
80
|
} else {
|
|
79
81
|
this.sCatalogTerm = "";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
-
sap.ui.define(function() {
|
|
2
|
+
sap.ui.define(function () {
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @name sap.ushell.ui.launchpad.ViewPortState
|
|
7
7
|
* @private
|
|
8
|
+
* @deprecated Since version 1.120.0. The ViewPortState is related to Fiori2 and not used anymore.
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
}, /* bExport= */ false);
|
|
@@ -127,10 +127,35 @@ sap.ui.define([
|
|
|
127
127
|
* </pre>
|
|
128
128
|
*
|
|
129
129
|
* @public
|
|
130
|
+
* @hideconstructor
|
|
130
131
|
* @extends sap.ui.core.service.Service
|
|
131
132
|
* @since 1.38.0
|
|
132
133
|
*/
|
|
133
134
|
var ShellUIService = Service.extend("sap.ushell.ui5service.ShellUIService", /** @lends sap.ushell.ui5service.ShellUIService.prototype */ {
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Defines essential information about an app.
|
|
138
|
+
*
|
|
139
|
+
* Example:
|
|
140
|
+
* <pre>
|
|
141
|
+
* {
|
|
142
|
+
* title: "App 1",
|
|
143
|
+
* icon: "sap-icon://folder",
|
|
144
|
+
* subtitle: "go to app 1",
|
|
145
|
+
* intent: "#Action-toapp1"
|
|
146
|
+
* }
|
|
147
|
+
* </pre>
|
|
148
|
+
*
|
|
149
|
+
* @typedef {object} sap.ushell.ui5service.ShellUIService.AppInfo
|
|
150
|
+
* @property {string} title The title of the app.
|
|
151
|
+
* @property {string} icon The icon src representing the app.
|
|
152
|
+
* @property {string} [subtitle] An optional subtitle of the app.
|
|
153
|
+
* @property {string} intent The navigation intent of the app.
|
|
154
|
+
*
|
|
155
|
+
* @since 1.120.0
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
|
|
134
159
|
init: function () {
|
|
135
160
|
// Service injection
|
|
136
161
|
var that = this;
|
|
@@ -549,33 +574,13 @@ sap.ui.define([
|
|
|
549
574
|
"sap.ushell.ui5service.ShellUIService"
|
|
550
575
|
);
|
|
551
576
|
},
|
|
577
|
+
|
|
552
578
|
/**
|
|
553
579
|
* Displays the given hierarchy in the shell header.
|
|
554
580
|
*
|
|
555
|
-
* @param {
|
|
581
|
+
* @param {sap.ushell.ui5service.ShellUIService.AppInfo[]} [aHierarchyLevels]
|
|
556
582
|
* An array representing hierarchies of the currently displayed
|
|
557
|
-
* app.
|
|
558
|
-
* navigation intent as shown in the following example:
|
|
559
|
-
*
|
|
560
|
-
* <pre>
|
|
561
|
-
* [
|
|
562
|
-
* {
|
|
563
|
-
* title: "Main View",
|
|
564
|
-
* icon: "sap-icon://documents",
|
|
565
|
-
* intent: "#Action-sameApp"
|
|
566
|
-
* },
|
|
567
|
-
* {
|
|
568
|
-
* title: "View 2",
|
|
569
|
-
* subtitle: "Application view number 2",
|
|
570
|
-
* intent: "#Action-sameApp&/View2/"
|
|
571
|
-
* },
|
|
572
|
-
* {
|
|
573
|
-
* title: "View 3",
|
|
574
|
-
* subtitle: "Application view number 3",
|
|
575
|
-
* intent: "#Action-sameApp&/View3/"
|
|
576
|
-
* }
|
|
577
|
-
* ]
|
|
578
|
-
* </pre>
|
|
583
|
+
* app.
|
|
579
584
|
*
|
|
580
585
|
* The default app hierarchy is applied if no parameter is given.
|
|
581
586
|
*
|
|
@@ -682,31 +687,8 @@ sap.ui.define([
|
|
|
682
687
|
* Used by apps to set related apps. This setting is propagated
|
|
683
688
|
* towards the Shell Header via corresponding events.
|
|
684
689
|
*
|
|
685
|
-
* @param {
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
* <pre>
|
|
689
|
-
* [
|
|
690
|
-
* {
|
|
691
|
-
* title: "App 1",
|
|
692
|
-
* icon: "sap-icon://folder",
|
|
693
|
-
* subtitle: "go to app 1",
|
|
694
|
-
* intent: "#Action-toapp1"
|
|
695
|
-
* },
|
|
696
|
-
* {
|
|
697
|
-
* title: "App 2",
|
|
698
|
-
* icon: "sap-icon://folder",
|
|
699
|
-
* subtitle: "go to app 2",
|
|
700
|
-
* intent: "#Action-toapp2"
|
|
701
|
-
* },
|
|
702
|
-
* {
|
|
703
|
-
* title: "App 3",
|
|
704
|
-
* icon: "sap-icon://folder",
|
|
705
|
-
* subtitle: "go to app 3",
|
|
706
|
-
* intent: "#Action-toapp3"
|
|
707
|
-
* }
|
|
708
|
-
* ]
|
|
709
|
-
* </pre>
|
|
690
|
+
* @param {sap.ushell.ui5service.ShellUIService.AppInfo[]} [aRelatedApps]
|
|
691
|
+
* An array of related apps.
|
|
710
692
|
*
|
|
711
693
|
* @since 1.40.0
|
|
712
694
|
* @public
|