@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
|
@@ -83,9 +83,9 @@ sap.ui.define([
|
|
|
83
83
|
*/
|
|
84
84
|
var Renderer = UIComponent.extend("sap.ushell.renderer.Renderer", /** @lends sap.ushell.renderer.Renderer.prototype */ {
|
|
85
85
|
metadata: {
|
|
86
|
-
version: "1.
|
|
86
|
+
version: "1.123.0",
|
|
87
87
|
dependencies: {
|
|
88
|
-
version: "1.
|
|
88
|
+
version: "1.123.0",
|
|
89
89
|
libs: ["sap.ui.core", "sap.m"],
|
|
90
90
|
components: []
|
|
91
91
|
},
|
|
@@ -134,7 +134,17 @@ sap.ui.define([
|
|
|
134
134
|
"Shell-appfinder&/:innerHash*:",
|
|
135
135
|
"Shell-appfinder"
|
|
136
136
|
],
|
|
137
|
-
target:
|
|
137
|
+
target: (function () {
|
|
138
|
+
if (
|
|
139
|
+
!!Config.last("/core/site/siteId") &&
|
|
140
|
+
Config.last("/core/catalog/enabled") &&
|
|
141
|
+
Config.last("/core/workPages/contentFinderStandalone")
|
|
142
|
+
) {
|
|
143
|
+
return "contentfinder";
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
return Config.last("/core/catalog/enabled") ? "appfinder" : undefined; // Avoid the loading of Component
|
|
147
|
+
})()
|
|
138
148
|
}, {
|
|
139
149
|
name: "openFLPPage",
|
|
140
150
|
pattern: [
|
|
@@ -212,6 +222,16 @@ sap.ui.define([
|
|
|
212
222
|
}
|
|
213
223
|
}
|
|
214
224
|
},
|
|
225
|
+
contentfinder: {
|
|
226
|
+
name: "sap.ushell.components.contentFinderStandalone",
|
|
227
|
+
type: "Component",
|
|
228
|
+
id: "Shell-appfinder-component",
|
|
229
|
+
options: {
|
|
230
|
+
manifest: true,
|
|
231
|
+
asyncHints: { preloadBundles: [] },
|
|
232
|
+
componentData: {}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
215
235
|
pages: {
|
|
216
236
|
name: "sap.ushell.components.pages",
|
|
217
237
|
type: "Component",
|
|
@@ -1416,18 +1436,6 @@ sap.ui.define([
|
|
|
1416
1436
|
}
|
|
1417
1437
|
};
|
|
1418
1438
|
|
|
1419
|
-
/**
|
|
1420
|
-
* This method returns the current state of the Viewport Container control.
|
|
1421
|
-
*
|
|
1422
|
-
* <br>Note: Was public with fiori2/Renderer
|
|
1423
|
-
* @returns {string} The current Viewport State.
|
|
1424
|
-
* @since 1.37
|
|
1425
|
-
* @private
|
|
1426
|
-
*/
|
|
1427
|
-
Renderer.prototype.getCurrentViewportState = function () {
|
|
1428
|
-
return this.shellCtrl.getCurrentViewportState();
|
|
1429
|
-
};
|
|
1430
|
-
|
|
1431
1439
|
/*------------------------------------------------ Adding controls functionality ------------------------------------------*/
|
|
1432
1440
|
|
|
1433
1441
|
/**
|
|
@@ -2587,20 +2595,28 @@ sap.ui.define([
|
|
|
2587
2595
|
}
|
|
2588
2596
|
};
|
|
2589
2597
|
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2598
|
+
/**
|
|
2599
|
+
* @param {sap.ui.core.Control} oView
|
|
2600
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
2601
|
+
*/
|
|
2602
|
+
Renderer.prototype.addRightViewPort = function (oView) {};
|
|
2593
2603
|
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2604
|
+
/**
|
|
2605
|
+
* @param {sap.ui.core.Control} oView
|
|
2606
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
2607
|
+
*/
|
|
2608
|
+
Renderer.prototype.addLeftViewPort = function (oView) {};
|
|
2597
2609
|
|
|
2598
2610
|
Renderer.prototype.getShellController = function () {
|
|
2599
2611
|
return this.shellCtrl;
|
|
2600
2612
|
};
|
|
2601
2613
|
|
|
2614
|
+
/**
|
|
2615
|
+
* @returns {string} The current ViewPort State
|
|
2616
|
+
* @deprecated since 1.120 The ViewPortState is related to Fiori2 and not used anymore.
|
|
2617
|
+
*/
|
|
2602
2618
|
Renderer.prototype.getViewPortContainerCurrentState = function () {
|
|
2603
|
-
return
|
|
2619
|
+
return "Center";
|
|
2604
2620
|
};
|
|
2605
2621
|
|
|
2606
2622
|
Renderer.prototype.ViewPortContainerNavTo = function (sName, sTargetName, sAction) {
|
|
@@ -2621,18 +2637,10 @@ sap.ui.define([
|
|
|
2621
2637
|
this.shellCtrl.setUserActionsMenuSelected(bSelected);
|
|
2622
2638
|
};
|
|
2623
2639
|
|
|
2624
|
-
Renderer.prototype.getUserActionsMenuSelected = function () {
|
|
2625
|
-
return this.shellCtrl.getUserActionsMenuSelected();
|
|
2626
|
-
};
|
|
2627
|
-
|
|
2628
2640
|
Renderer.prototype.setNotificationsSelected = function (bSelected) {
|
|
2629
2641
|
this.shellCtrl.setNotificationsSelected(bSelected);
|
|
2630
2642
|
};
|
|
2631
2643
|
|
|
2632
|
-
Renderer.prototype.getNotificationsSelected = function () {
|
|
2633
|
-
return this.shellCtrl.getNotificationsSelected();
|
|
2634
|
-
};
|
|
2635
|
-
|
|
2636
2644
|
Renderer.prototype.addShellDanglingControl = function (oControl) {
|
|
2637
2645
|
this.shellCtrl.getView().addDanglingControl(oControl);
|
|
2638
2646
|
};
|
|
@@ -2641,8 +2649,12 @@ sap.ui.define([
|
|
|
2641
2649
|
return (this.shellCtrl.getView().getViewData() ? this.shellCtrl.getView().getViewData().config || {} : {});
|
|
2642
2650
|
};
|
|
2643
2651
|
|
|
2652
|
+
/**
|
|
2653
|
+
* @returns {object} The configuration
|
|
2654
|
+
* @deprecated since 1.93
|
|
2655
|
+
*/
|
|
2644
2656
|
Renderer.prototype.getEndUserFeedbackConfiguration = function () {
|
|
2645
|
-
return {};
|
|
2657
|
+
return {};
|
|
2646
2658
|
};
|
|
2647
2659
|
|
|
2648
2660
|
Renderer.prototype.reorderUserPrefEntries = function (entries) {
|
|
@@ -2677,7 +2689,7 @@ sap.ui.define([
|
|
|
2677
2689
|
* It returns true if it can match the intent, false otherwise.
|
|
2678
2690
|
* On its first call, a copy of all of those path is created and stored.
|
|
2679
2691
|
*
|
|
2680
|
-
* @param {object} oParsedHash A resolved hash as returned by
|
|
2692
|
+
* @param {object} oParsedHash A resolved hash as returned by URLParsing
|
|
2681
2693
|
* @returns {boolean} True if the intent is built in, false otherwise
|
|
2682
2694
|
* @private
|
|
2683
2695
|
* @since 1.85.0
|
|
@@ -228,6 +228,7 @@ sap.ui.define([
|
|
|
228
228
|
// this file to the custom router. Maybe use oRouter.attachBypassed?
|
|
229
229
|
oRouter.getTarget("home").attachDisplay(this.onComponentTargetDisplay, this);
|
|
230
230
|
oRouter.getTarget("appfinder").attachDisplay(this.onComponentTargetDisplay, this);
|
|
231
|
+
oRouter.getTarget("contentfinder").attachDisplay(this.onComponentTargetDisplay, this);
|
|
231
232
|
oRouter.getTarget("pages").attachDisplay(this.onComponentTargetDisplay, this);
|
|
232
233
|
oRouter.getTarget("workpages").attachDisplay(this.onComponentTargetDisplay, this);
|
|
233
234
|
oRouter.getTarget("runtimeSwitcher").attachDisplay(this.onComponentTargetDisplay, this);
|
|
@@ -418,14 +419,12 @@ sap.ui.define([
|
|
|
418
419
|
EventHub.on("toggleContentDensity").do(this.toggleContentDensity.bind(this)),
|
|
419
420
|
EventHub.on("ShellFloatingContainerUndockOnResize").do(this._handleFloatingContainerUndockOnResize.bind(this)),
|
|
420
421
|
EventHub.on("ShellFloatingContainerDockedIsResized").do(this._emitFloatingContainerResizeEvent.bind(this)),
|
|
421
|
-
EventHub.on("LaunchpadCustomRouterRouteMatched").do(this._centerViewPort.bind(this)),
|
|
422
422
|
|
|
423
423
|
EventHub.once("CoreResourcesComplementLoaded").do(this._onCoreResourcesComplementLoaded.bind(this)),
|
|
424
424
|
EventHub.once("loadRendererExtensions").do(this._loadRendererExtensionPlugins.bind(this)),
|
|
425
425
|
EventHub.once("loadUsageAnalytics").do(this._loadUsageAnalytics.bind(this)),
|
|
426
426
|
EventHub.once("loadWarmupPlugins").do(this._loadWarmupPlugins.bind(this)),
|
|
427
|
-
EventHub.once("loadTrackingActivitiesSetting").do(this._loadTrackingActivitiesSetting.bind(this))
|
|
428
|
-
EventHub.on("centerViewPort").do(this._centerViewPort.bind(this))
|
|
427
|
+
EventHub.once("loadTrackingActivitiesSetting").do(this._loadTrackingActivitiesSetting.bind(this))
|
|
429
428
|
].forEach(function (oDoable) {
|
|
430
429
|
this.addDoable(oDoable);
|
|
431
430
|
}.bind(this));
|
|
@@ -1865,10 +1864,6 @@ sap.ui.define([
|
|
|
1865
1864
|
return oHandlerPromise;
|
|
1866
1865
|
},
|
|
1867
1866
|
|
|
1868
|
-
_centerViewPort: function () {
|
|
1869
|
-
this.oViewPortContainer.switchState("Center");
|
|
1870
|
-
},
|
|
1871
|
-
|
|
1872
1867
|
_isShellHomeIntent: function (sIntent) {
|
|
1873
1868
|
return sIntent === "#" || sIntent === oConfig.rootIntent;
|
|
1874
1869
|
},
|
|
@@ -2369,10 +2364,6 @@ sap.ui.define([
|
|
|
2369
2364
|
});
|
|
2370
2365
|
},
|
|
2371
2366
|
|
|
2372
|
-
getCurrentViewportState: function () {
|
|
2373
|
-
return Config.last("/core/shell/model/currentViewPortState");
|
|
2374
|
-
},
|
|
2375
|
-
|
|
2376
2367
|
_activateFloatingUIActions: function (iWindowWidth) {
|
|
2377
2368
|
if (iWindowWidth < 417) {
|
|
2378
2369
|
this.oFloatingUIActions.disable();
|
|
@@ -2516,11 +2507,6 @@ sap.ui.define([
|
|
|
2516
2507
|
},
|
|
2517
2508
|
|
|
2518
2509
|
_emitFloatingContainerResizeEvent: function () {
|
|
2519
|
-
var oViewPortContainer = Element.getElementById("viewPortContainer");
|
|
2520
|
-
if (oViewPortContainer) {
|
|
2521
|
-
oViewPortContainer._handleSizeChange();
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
2510
|
// handle appFinder size changed
|
|
2525
2511
|
// timeOut waiting for resize event is finish
|
|
2526
2512
|
window.setTimeout(function () {
|
|
@@ -3103,16 +3089,8 @@ sap.ui.define([
|
|
|
3103
3089
|
EventHub.emit("showUserActionsMenu", bSelected);
|
|
3104
3090
|
},
|
|
3105
3091
|
|
|
3106
|
-
getUserActionsMenuSelected: function () {
|
|
3107
|
-
return Config.last("/core/shell/model/currentViewPortState") === "LeftCenter";
|
|
3108
|
-
},
|
|
3109
|
-
|
|
3110
3092
|
setNotificationsSelected: function (bSelected) {
|
|
3111
3093
|
EventHub.emit("showNotifications", bSelected);
|
|
3112
|
-
},
|
|
3113
|
-
|
|
3114
|
-
getNotificationsSelected: function () {
|
|
3115
|
-
return Config.last("/core/shell/model/currentViewPortState") === "RightCenter";
|
|
3116
3094
|
}
|
|
3117
3095
|
});
|
|
3118
3096
|
});
|
|
@@ -464,7 +464,8 @@
|
|
|
464
464
|
* @deprecated since 1.120.0 This functionality was discontinued
|
|
465
465
|
*/
|
|
466
466
|
Fiori2Renderer.prototype.getCurrentViewportState = function () {
|
|
467
|
-
|
|
467
|
+
// Hardcoded to "Center" as this is related to removed fiori2 functionality
|
|
468
|
+
return "Center";
|
|
468
469
|
};
|
|
469
470
|
|
|
470
471
|
/**
|
|
@@ -140,18 +140,23 @@ sap.ui.define([
|
|
|
140
140
|
};
|
|
141
141
|
this.getCurrentAppliction = this.getCurrentApplication; // Fixes typo error in the naming of "this.getCurrentAppliction"
|
|
142
142
|
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Type for the metadata object for AppConfiguration
|
|
146
|
+
* @typedef {object} sap.ushell.services.AppConfiguration.Metadata
|
|
147
|
+
* @property {string} title The title of the application
|
|
148
|
+
* @property {string} library The library of the application
|
|
149
|
+
* @property {string} version The version of the application
|
|
150
|
+
* @property {boolean} fullWidth A Boolean value indicating if the application fills the full width of the screen
|
|
151
|
+
* @since 1.120.0
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
|
|
143
155
|
/**
|
|
144
156
|
* Returns the current metadata.
|
|
145
157
|
*
|
|
146
|
-
* {
|
|
147
|
-
* title: {string}
|
|
148
|
-
* library: {string}
|
|
149
|
-
* version: {string}
|
|
150
|
-
* fullWidth: {boolean}
|
|
151
|
-
* }
|
|
152
|
-
*
|
|
153
158
|
* @param {object} [oApplication] oApplication
|
|
154
|
-
* @returns {
|
|
159
|
+
* @returns {sap.ushell.services.AppConfiguration.Metadata} A copy of the metadata object
|
|
155
160
|
*
|
|
156
161
|
* @private
|
|
157
162
|
* @ui5-restricted sap.feedback.ui
|
|
@@ -173,8 +178,10 @@ sap.ui.define([
|
|
|
173
178
|
};
|
|
174
179
|
|
|
175
180
|
/**
|
|
176
|
-
* @private
|
|
177
181
|
* @alias sap.ushell.services.AppConfiguration#_getMemoizationKey
|
|
182
|
+
* @param {string} sCompleteHash The complete hash
|
|
183
|
+
* @returns {sap.ui.core.URI} The intent
|
|
184
|
+
* @private
|
|
178
185
|
*/
|
|
179
186
|
this._getMemoizationKey = function (sCompleteHash) {
|
|
180
187
|
var aHashParts = sCompleteHash.split("?");
|
|
@@ -445,9 +452,12 @@ sap.ui.define([
|
|
|
445
452
|
* whose key is composed of the original key + the string "Resource".
|
|
446
453
|
* e.g. For translating the value of the property "title" - there's another configuration property: "titleResource": "TITLE_KEY".
|
|
447
454
|
* The value (e.g. "TITLE_KEY") is the translation key in the resource bundle
|
|
448
|
-
*
|
|
449
|
-
* @private
|
|
450
455
|
* @alias sap.ushell.services.AppConfiguration#getPropertyValueFromConfig
|
|
456
|
+
* @param {object} oConfig The configuration
|
|
457
|
+
* @param {string} sPropertyKey The property key
|
|
458
|
+
* @param {sap.base.i18n.ResourceBundle} oResourceBundle The resource bundle
|
|
459
|
+
* @returns {string|undefined} The value of the property, or undefined if the property is not found
|
|
460
|
+
* @private
|
|
451
461
|
*/
|
|
452
462
|
this.getPropertyValueFromConfig = function (oConfig, sPropertyKey, oResourceBundle) {
|
|
453
463
|
var oValue;
|
|
@@ -464,8 +474,12 @@ sap.ui.define([
|
|
|
464
474
|
/**
|
|
465
475
|
* Reads a property value from the manifest
|
|
466
476
|
*
|
|
467
|
-
* @private
|
|
468
477
|
* @alias sap.ushell.services.AppConfiguration#getPropertyValueFromManifest
|
|
478
|
+
* @param {object} oLocalMetadataComponent The metadata component
|
|
479
|
+
* @param {object} oProperties The properties
|
|
480
|
+
* @param {string} sPropertyKey The property key
|
|
481
|
+
* @returns {string|Object"""} The value of the property, or undefined if the property is not found
|
|
482
|
+
* @private
|
|
469
483
|
*/
|
|
470
484
|
this.getPropertyValueFromManifest = function (oLocalMetadataComponent, oProperties, sPropertyKey) {
|
|
471
485
|
var sManifestEntryKey = oProperties[sPropertyKey].manifestEntryKey,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's AppLifeCycle service enables plug-ins to enquire the which
|
|
5
5
|
* application is currently displayed and listen to life cycle events.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.123.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -63,46 +63,160 @@ sap.ui.define([
|
|
|
63
63
|
var oEventProvider;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Enumeration of application types.
|
|
67
|
+
* @since 1.120.0
|
|
68
|
+
* @public
|
|
69
|
+
* @enum {string}
|
|
67
70
|
*
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
71
|
+
*/
|
|
72
|
+
AppLifeCycle.ApplicationType = {
|
|
73
|
+
/**
|
|
74
|
+
* The application is a UI5 application.
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
UI5: "UI5",
|
|
78
|
+
/**
|
|
79
|
+
* The application is a Webdynpro application.
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
WDA: "WDA",
|
|
83
|
+
/**
|
|
84
|
+
* The application is starting using the SAP Business Client.
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
NWBC: "NWBC",
|
|
88
|
+
/**
|
|
89
|
+
* The application is started using a URL
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
URL: "URL",
|
|
93
|
+
/**
|
|
94
|
+
* The application is started using a transaction
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
TR: "TR"
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Defines an intent.
|
|
102
|
+
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details.
|
|
103
|
+
*
|
|
104
|
+
* @typedef {object} sap.ushell.services.AppLifeCycle.Intent
|
|
105
|
+
* @property {string} semanticObject The semantic object of the intent.
|
|
106
|
+
* @property {string} action The action of the intent.
|
|
107
|
+
* @property {string} contextRaw The raw context of the intent.
|
|
108
|
+
* @property {Object<string,string[]>} params The parameters of the intent.
|
|
109
|
+
* @property {string} appSpecificRoute The app specific route of the intent.
|
|
110
|
+
* @since 1.120.0
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Enumeration of application info parameter names.
|
|
116
|
+
* @since 1.120.0
|
|
117
|
+
* @public
|
|
118
|
+
* @enum {string}
|
|
98
119
|
*
|
|
120
|
+
*/
|
|
121
|
+
AppLifeCycle.AppInfoParameterName = {
|
|
122
|
+
/**
|
|
123
|
+
* A human readable free form text maintained on the platform where FLP runs, and identifying the current product.
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
productName: "productName",
|
|
127
|
+
/**
|
|
128
|
+
* Current FLP theme. Includes the path to the theme resources if the theme is not an sap theme (does not start with sap_)
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
theme: "theme",
|
|
132
|
+
/**
|
|
133
|
+
* Current Language (BCP47 format)
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
languageTag: "languageTag",
|
|
137
|
+
/**
|
|
138
|
+
* Intent that was used to launch the application (including parameters)
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
appIntent: "appIntent",
|
|
142
|
+
/**
|
|
143
|
+
* ID of the framework
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
appFrameworkId: "appFrameworkId",
|
|
147
|
+
/**
|
|
148
|
+
* Identifier of the component that implements the base application.
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
technicalAppComponentId: "technicalAppComponentId",
|
|
152
|
+
/**
|
|
153
|
+
* Universal stable logical identifier of the application across the whole content.
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
appId: "appId",
|
|
157
|
+
/**
|
|
158
|
+
* Version of the app
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
appVersion: "appVersion",
|
|
162
|
+
/**
|
|
163
|
+
* The name of an organizational component that handles support incidents.
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
appSupportInfo: "appSupportInfo",
|
|
167
|
+
/**
|
|
168
|
+
* Version of the framework
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
appFrameworkVersion: "appFrameworkVersion"
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Defines the application info.
|
|
176
|
+
*
|
|
177
|
+
* @typedef {object} sap.ushell.services.AppLifeCycle.AppInfo
|
|
178
|
+
* @property {string} productName
|
|
179
|
+
* A human readable free form text maintained on the platform where FLP runs, and identifying the current product.
|
|
180
|
+
* @property {string} theme
|
|
181
|
+
* Current FLP theme. Includes the path to the theme resources if the theme is not an sap theme (does not start with sap_)
|
|
182
|
+
* @property {string} languageTag Current Language (BCP47 format)
|
|
183
|
+
* @property {string} appIntent Intent that was used to launch the application (including parameters)
|
|
184
|
+
* @property {string} appFrameworkId ID of the framework
|
|
185
|
+
* @property {string} technicalAppComponentId Identifier of the component that implements the base application.
|
|
186
|
+
* @property {string} appId Universal stable logical identifier of the application across the whole content.
|
|
187
|
+
* @property {string} appVersion Version of the app
|
|
188
|
+
* @property {string} appSupportInfo The name of an organizational component that handles support incidents.
|
|
189
|
+
* @property {string} appFrameworkVersion Version of the framework
|
|
190
|
+
* @since 1.120.0
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Defines the current application.
|
|
196
|
+
*
|
|
197
|
+
* @typedef sap.ushell.services.AppLifeCycle.CurrentApplication
|
|
198
|
+
* @property {sap.ushell.services.AppLifeCycle.ApplicationType} applicationType The type of the current application.
|
|
199
|
+
* @property {sap.ui.core.Component} [componentInstance] reference to component (only for applicationType "UI5")
|
|
200
|
+
* @property {boolean} homePage <code>true</code> when root intent (normally #Shell-home) or Appfinder (#Shell-appfinder) is currently displayed.
|
|
201
|
+
* @property {function} getTechnicalParameter
|
|
202
|
+
* function that returns the value of a technical parameter for the given application.
|
|
203
|
+
* This method is for SAP internal usage only.
|
|
204
|
+
* @property {function():Promise<sap.ushell.services.AppLifeCycle.Intent>} getIntent
|
|
205
|
+
* See {@link sap.ushell.services.URLParsing#parseShellHash} for details. <i>This property is for SAP-internal use only!</i>
|
|
206
|
+
* @property {function(Array<sap.ushell.services.AppLifeCycle.AppInfoParameterName>): Promise<sap.ushell.services.AppLifeCycle.AppInfo>} getInfo
|
|
207
|
+
* provides the values of the given parameters.
|
|
208
|
+
* @since 1.120.0
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Returns information about the currently running application
|
|
214
|
+
* Information object about currently running application or <code>undefined</code> if no application is running.
|
|
215
|
+
*
|
|
216
|
+
* @returns {sap.ushell.services.AppLifeCycle.CurrentApplication|undefined} Information object about currently running application or <code>undefined</code> if no application is running.
|
|
99
217
|
* <b>Note:</b>
|
|
100
218
|
* Return value is only valid after app is loaded. See {@link #attachAppLoaded} for details.
|
|
101
219
|
* Before an app is loaded, <code>undefined</code> is returned.
|
|
102
|
-
*
|
|
103
|
-
* @returns {object|undefined}
|
|
104
|
-
* Information object about currently running application or <code>undefined</code> if no application is running.
|
|
105
|
-
*
|
|
106
220
|
* @since 1.38
|
|
107
221
|
* @public
|
|
108
222
|
*/
|
|
@@ -114,10 +228,11 @@ sap.ui.define([
|
|
|
114
228
|
* Attaches an event handler for the appLoaded event. This event handler will be triggered
|
|
115
229
|
* each time an application has been loaded.
|
|
116
230
|
*
|
|
117
|
-
* @
|
|
231
|
+
* @template ObjectToBePassedToHandler {object} Object that will be passed to the handler along with the event object when the event is fired.
|
|
232
|
+
* @param {ObjectToBePassedToHandler} oData
|
|
118
233
|
* An object that will be passed to the handler along with the event object when the
|
|
119
234
|
* event is fired.
|
|
120
|
-
* @param {function} fnFunction
|
|
235
|
+
* @param {function(sap.ui.base.Event, ObjectToBePassedToHandler)} fnFunction
|
|
121
236
|
* The handler function to call when the event occurs.
|
|
122
237
|
* @param {object} oListener
|
|
123
238
|
* The object that wants to be notified when the event occurs (this context within the
|
|
@@ -147,7 +262,7 @@ sap.ui.define([
|
|
|
147
262
|
* Set current application object from AppRuntime in cFLP
|
|
148
263
|
*
|
|
149
264
|
* @param {string} sApplicationType The type of the current application.
|
|
150
|
-
* @param {
|
|
265
|
+
* @param {sap.ui.core.Component} oComponentInstance The instance of the component.
|
|
151
266
|
* @param {boolean} bHomePage Indicator for a home page.
|
|
152
267
|
* @param {string} oApplicationContainer The application container.
|
|
153
268
|
* @param {string} sFramework The type of the current application running in iframe.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This is *not* an application facing service, but for Shell Internal usage.
|
|
7
7
|
* This service should be accessed by the application via the CrossApplicationNavigation service.
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.123.0
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
12
12
|
"sap/ui/base/Object",
|