@sapui5/sap.ushell 1.126.1 → 1.127.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/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/SessionHandler.js +2 -2
- 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/User.js +7 -7
- package/src/main/js/sap/ushell/UserActivityLog.js +8 -13
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +10 -3
- package/src/main/js/sap/ushell/_Config/utils.js +18 -0
- 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 +28 -9
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +4 -3
- 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/cdm/v3/utilsCdm.js +6 -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/appRuntime/neo/AppInfoService.js +1 -0
- package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +1 -0
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +1 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +19 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +51 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +6 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- 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/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.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/FLPScheduler.js +47 -16
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +10 -3
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +9 -0
- 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 +13 -33
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +135 -8
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +0 -6
- package/src/main/js/sap/ushell/components/appfinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +74 -72
- 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 +35 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +42 -27
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.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 +19 -12
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +24 -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 +47 -7
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +7 -6
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +5 -4
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTree.view.xml +34 -22
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +7 -6
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +3 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/Component.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 +29 -24
- 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 +10 -3
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +26 -5
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +3 -2
- 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 +19 -3
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenu.view.xml +1 -0
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +24 -22
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +80 -17
- 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 +12 -16
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +9 -4
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +9 -9
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -45
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +31 -23
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenuPopover.fragment.xml +7 -2
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +0 -4
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +0 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.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 +2 -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 +1939 -1946
- 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 +3 -2
- 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 +1 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +15 -12
- 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/AccessKeysHandler.js +31 -9
- package/src/main/js/sap/ushell/renderer/Renderer.js +304 -287
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +99 -101
- package/src/main/js/sap/ushell/renderer/Shell.view.js +110 -89
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +29 -15
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.view.xml +2 -2
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +2 -0
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/History.js +1 -0
- package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +1 -0
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +108 -87
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +1 -0
- 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 +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +2 -15
- 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 +11 -5
- package/src/main/js/sap/ushell/services/Extension/Item.js +4 -4
- package/src/main/js/sap/ushell/services/Extension.js +36 -2
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +4 -4
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +18 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +20 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +96 -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/MessageInternal.js +13 -8
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +4 -3
- 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 +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 +6 -5
- 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 +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLParsing.js +16 -0
- 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 +3 -3
- 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/_AppState/AppStatePersistencyMethod.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 +2 -2
- 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/_Personalization/VariantSetAdapter.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/constants.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +1 -0
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +2 -2
- 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/state/BaseState.js +79 -0
- package/src/main/js/sap/ushell/state/ControlManager.js +209 -0
- package/src/main/js/sap/ushell/state/CurrentState.js +180 -0
- package/src/main/js/sap/ushell/state/KeepAlive.js +75 -0
- package/src/main/js/sap/ushell/state/ShellModel.js +112 -0
- package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +40 -0
- package/src/main/js/sap/ushell/state/StateManager/Operation.js +42 -0
- package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +86 -0
- package/src/main/js/sap/ushell/state/StateManager.js +648 -0
- package/src/main/js/sap/ushell/state/StateRules.js +295 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +74 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +78 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +130 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +104 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +78 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +78 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +60 -0
- package/src/main/js/sap/ushell/state/StrategyFactory.js +168 -0
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/UserSettings.less +1 -5
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +45 -49
- package/src/main/js/sap/ushell/themes/sap_belize_base/UserSettings.less +1 -5
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/UserSettings.less +1 -5
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ActionMode.less +107 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_AddBookmarkButton.less +37 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_AnchorItem.less +81 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_AnchorNavigationBar.less +86 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_AppearanceView.less +213 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ApplicationContainer.less +37 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Catalog.less +387 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ContactSupport.less +12 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ContentFinder.less +26 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_CustomGroupHeaderListItem.less +10 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Dashboard.less +66 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_DynamicTile.less +114 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Factsheet.less +225 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_FloatingContainer.less +125 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_FlpSettings.less +83 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_GroupList.less +68 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_GroupListItem.less +54 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_IconFonts.less +21 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ImageTile.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_LoadingDialog.less +47 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_MenuBar.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Notifications.less +135 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Page.less +49 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_PictureTile.less +119 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_PictureViewer.less +25 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_PlusTile.less +38 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_QuickAccess.less +18 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_RightFloatingContainerItem.less +82 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_SearchCEP.less +121 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_SearchFLP.less +10 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Section.less +60 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellAppTitle.less +207 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellFloatingAction.less +61 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellFloatingActions.less +14 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +389 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellLayout.less +168 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_SidePane.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_StaticTile.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_SubHeader.less +3 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_SysInfoBar.less +164 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_TargetMappingConfiguration.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Tile.less +223 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_TileBase.less +152 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_TileContainer.less +495 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_TilePlaceholder.less +75 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_TileState.less +62 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ToolAreaItem.less +85 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_UserActionsMenu.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_UserConsentDialog.less +52 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_UserSettings.less +109 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ViewPortContainer.less +28 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPage.less +58 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPageButton.less +60 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPageCell.less +144 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPageColumn.less +39 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPageColumnResizer.less +128 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_WorkPageRow.less +987 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_shared.less +40 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +70 -1
- package/src/main/js/sap/ushell/ui/ShellHeader.fragment.xml +17 -11
- package/src/main/js/sap/ushell/ui/ShellHeader.js +10 -3
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +0 -4
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -5
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +19 -5
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +9 -3
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +5 -5
- 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 +17 -12
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +50 -35
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +2 -2
- 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/UrlParsing.js +22 -0
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/WindowUtils.js +3 -3
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +89 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +51 -47
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +32 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils.js +26 -2
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.ui5theme.js +0 -67
- package/src/main/js/sap/ushell/components/HeaderManager.js +0 -547
- package/src/main/js/sap/ushell/components/StateHelper.js +0 -70
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +0 -105
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadItemsStrategy.js +0 -75
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +0 -70
- package/src/main/js/sap/ushell/components/_HeaderManager/ExtendApplicationPropertyStrategy.js +0 -18
- package/src/main/js/sap/ushell/components/_HeaderManager/PropertyStrategiesFactory.js +0 -58
- package/src/main/js/sap/ushell/components/_HeaderManager/RemoveItemsStrategy.js +0 -46
- package/src/main/js/sap/ushell/components/_HeaderManager/SetHeadPropertyStrategy.js +0 -19
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +0 -1309
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +0 -363
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This files exposes an API to extend the launchpad with new elements.
|
|
6
6
|
* It is exposed publicly and meant to be used by apps and plugins.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.127.1
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ushell/services/Extension/Item",
|
|
@@ -93,6 +93,23 @@ sap.ui.define([
|
|
|
93
93
|
* Aggregations, controls and types with prototypes are not allowed!</li>
|
|
94
94
|
* <li>The event handlers are not bound to the actual control and do not receive the event arguments.</li>
|
|
95
95
|
* </ul>
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
*
|
|
99
|
+
* FrameBoundExtension.createHeaderItem({
|
|
100
|
+
* id: "headerItem1",
|
|
101
|
+
* ariaLabel: "headerItem-ariaLabel",
|
|
102
|
+
* ariaHaspopup: "dialog",
|
|
103
|
+
* icon: "sap-icon://action-settings",
|
|
104
|
+
* tooltip: "headerItem-tooltip",
|
|
105
|
+
* text: "headerItem-text",
|
|
106
|
+
* press: () => {
|
|
107
|
+
* MessageToast.show("Press header item");
|
|
108
|
+
* }
|
|
109
|
+
* }, {
|
|
110
|
+
* position: "begin"
|
|
111
|
+
* })
|
|
112
|
+
*
|
|
96
113
|
* @param {sap.ushell.ui.shell.ShellHeadItem.Properties} controlProperties The properties that will be passed to the created control.
|
|
97
114
|
* @param {object} [parameters] Additional parameters.
|
|
98
115
|
* @param {string} [parameters.position=end] Possible values are <code>begin</code> and <code>end</code>.
|
|
@@ -172,15 +189,32 @@ sap.ui.define([
|
|
|
172
189
|
|
|
173
190
|
/**
|
|
174
191
|
* Creates a user action in the user action menu.<br>
|
|
192
|
+
* The <code>controlType</code> can be any control and is by default a {@link sap.ushell.ui.launchpad.ActionItem}.
|
|
193
|
+
* The <code>controlProperties</code> are passed to the constructor of the control.
|
|
194
|
+
* <br>
|
|
175
195
|
* <b>Restrictions:</b>
|
|
176
196
|
* <ul>
|
|
177
197
|
* <li>The control properties are only allowed to contain primitive properties and event handlers.
|
|
178
198
|
* Aggregations, controls and types with prototypes are not allowed!</li>
|
|
179
199
|
* <li>The event handlers are not bound to the actual control and do not receive the event arguments.</li>
|
|
180
200
|
* </ul>
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
*
|
|
204
|
+
* FrameBoundExtension.createUserAction({
|
|
205
|
+
* id: "userAction1",
|
|
206
|
+
* text: "New UserAction",
|
|
207
|
+
* icon: "sap-icon://refresh",
|
|
208
|
+
* press: () => {
|
|
209
|
+
* MessageToast.show("Press UserAction");
|
|
210
|
+
* }
|
|
211
|
+
* }, {
|
|
212
|
+
* controlType: "sap.ushell.ui.launchpad.ActionItem"
|
|
213
|
+
* })
|
|
214
|
+
*
|
|
181
215
|
* @param {object} controlProperties The properties that will be passed to the created control.
|
|
182
216
|
* @param {object} [parameters] Additional parameters.
|
|
183
|
-
* @param {string} [parameters.controlType=sap.ushell.ui.launchpad.ActionItem] Defines the <code>controlType</code
|
|
217
|
+
* @param {string} [parameters.controlType=sap.ushell.ui.launchpad.ActionItem] Defines the <code>controlType</code> of the item.
|
|
184
218
|
* @returns {Promise<sap.ushell.services.Extension.Item>} The newly created user action.
|
|
185
219
|
*
|
|
186
220
|
* @since 1.120.0
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @file The Unified Shell's page builder service providing the data for the Fiori launchpad's classic Homepage.
|
|
5
5
|
* This is the privately used subset of the previously deprecated public LaunchPage service API
|
|
6
6
|
* @private
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.127.1
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
*
|
|
6
6
|
* This interface does NOT work when called from within a iframe.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.127.1
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/base/Log",
|
|
12
|
-
"sap/ushell/
|
|
12
|
+
"sap/ushell/state/StateManager"
|
|
13
13
|
], function (
|
|
14
14
|
Log,
|
|
15
|
-
|
|
15
|
+
StateManager
|
|
16
16
|
) {
|
|
17
17
|
"use strict";
|
|
18
18
|
|
|
@@ -193,7 +193,7 @@ sap.ui.define([
|
|
|
193
193
|
* @private
|
|
194
194
|
*/
|
|
195
195
|
#getCurrentState () {
|
|
196
|
-
const sCurrentState =
|
|
196
|
+
const sCurrentState = StateManager.getLaunchpadState();
|
|
197
197
|
return sCurrentState;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* This interface does NOT work when called from within a iframe.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.127.1
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ushell/services/FrameBoundExtension/Item",
|
|
@@ -56,9 +56,25 @@ sap.ui.define([
|
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Creates an item in the side pane.
|
|
59
|
+
*
|
|
60
|
+
* The <code>controlType</code> can be any control and is by default a {@link sap.m.Button}.
|
|
61
|
+
* The <code>controlProperties</code> are passed to the constructor of the control.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
*
|
|
65
|
+
* SidePane.createItem({
|
|
66
|
+
* id: "sidePaneContent1",
|
|
67
|
+
* text: "SidePaneContent Button",
|
|
68
|
+
* press: () => {
|
|
69
|
+
* MessageToast.show("Press SidePaneContent Button");
|
|
70
|
+
* }
|
|
71
|
+
* }, {
|
|
72
|
+
* controlType: "sap.m.Button"
|
|
73
|
+
* });
|
|
74
|
+
*
|
|
59
75
|
* @param {object} controlProperties The properties that will be passed to the created control.
|
|
60
76
|
* @param {object} [parameters] Additional parameters.
|
|
61
|
-
* @param {string} [parameters.controlType=sap.m.Button] Defines the <code>controlType</code
|
|
77
|
+
* @param {string} [parameters.controlType=sap.m.Button] Defines the <code>controlType</code> of the item.
|
|
62
78
|
* @returns {Promise<sap.ushell.services.FrameBoundExtension.Item>} The newly created item.
|
|
63
79
|
*
|
|
64
80
|
* @since 1.124.0
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* This interface does NOT work when called from within a iframe.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.127.1
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
11
11
|
"sap/ushell/services/FrameBoundExtension/Item",
|
|
@@ -56,9 +56,27 @@ sap.ui.define([
|
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
58
|
* Creates an item in the tool area.
|
|
59
|
-
*
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
*
|
|
62
|
+
* ToolArea.createItem({
|
|
63
|
+
* id: "toolAreaItem1",
|
|
64
|
+
* icon: "sap-icon://documents",
|
|
65
|
+
* text: "My ToolArea Item 1",
|
|
66
|
+
* expandable: true,
|
|
67
|
+
* press: (evt) => {
|
|
68
|
+
* MessageToast.show("Press toolAreaItem1");
|
|
69
|
+
* },
|
|
70
|
+
* expand: (evt) => {
|
|
71
|
+
* MessageToast.show("Expand toolAreaItem1");
|
|
72
|
+
* }
|
|
73
|
+
* });
|
|
74
|
+
*
|
|
75
|
+
* @param {object} controlProperties The properties that will be passed to the {@link sap.ushell.ui.shell.ToolAreaItem}.
|
|
60
76
|
* @returns {Promise<sap.ushell.services.FrameBoundExtension.Item>} The newly created item.
|
|
61
77
|
*
|
|
78
|
+
* @see sap.ushell.ui.shell.ToolAreaItem
|
|
79
|
+
*
|
|
62
80
|
* @since 1.124.0
|
|
63
81
|
* @public
|
|
64
82
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* This service can only be called from the outer shell and is not available
|
|
9
9
|
* in the inner shell or via post message API.
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.127.1
|
|
12
12
|
*/
|
|
13
13
|
sap.ui.define([
|
|
14
14
|
"sap/ushell/services/FrameBoundExtension/FloatingContainer",
|
|
@@ -95,6 +95,23 @@ sap.ui.define([
|
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* Creates a header item in the shell header.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
*
|
|
101
|
+
* FrameBoundExtension.createHeaderItem({
|
|
102
|
+
* id: "headerItem1",
|
|
103
|
+
* ariaLabel: "headerItem-ariaLabel",
|
|
104
|
+
* ariaHaspopup: "dialog",
|
|
105
|
+
* icon: "sap-icon://action-settings",
|
|
106
|
+
* tooltip: "headerItem-tooltip",
|
|
107
|
+
* text: "headerItem-text",
|
|
108
|
+
* press: () => {
|
|
109
|
+
* MessageToast.show("Press header item");
|
|
110
|
+
* }
|
|
111
|
+
* }, {
|
|
112
|
+
* position: "begin"
|
|
113
|
+
* })
|
|
114
|
+
*
|
|
98
115
|
* @param {sap.ushell.ui.shell.ShellHeadItem.Properties} controlProperties The properties that will be passed to the created control.
|
|
99
116
|
* @param {object} [parameters] Additional parameters.
|
|
100
117
|
* @param {string} [parameters.position=end] Possible values are <code>begin</code> and <code>end</code>.
|
|
@@ -175,8 +192,38 @@ sap.ui.define([
|
|
|
175
192
|
/**
|
|
176
193
|
* Creates a new sub header which is positioned below the header.
|
|
177
194
|
*
|
|
195
|
+
* The <code>controlType</code> can be any control and is by default a {@link sap.m.Bar}.
|
|
196
|
+
* The <code>controlProperties</code> are passed to the constructor of the control.
|
|
197
|
+
*
|
|
178
198
|
* <p><b>Note:</b> Only one sub header is displayed at once</p>
|
|
179
199
|
* <p><b>Restriction:</b> NOT available for apps running in an iframe</p>
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
*
|
|
203
|
+
* FrameBoundExtension.createSubHeader({
|
|
204
|
+
* id: "subheader1",
|
|
205
|
+
* contentLeft: [new Button({
|
|
206
|
+
* text: "SubHeader ContentLeftBtn",
|
|
207
|
+
* press: () => {
|
|
208
|
+
* MessageToast.show("Press subheader1 contentLeft");
|
|
209
|
+
* }
|
|
210
|
+
* })],
|
|
211
|
+
* contentMiddle: [new Button({
|
|
212
|
+
* text: "SubHeader contentMiddleBtn",
|
|
213
|
+
* press: () => {
|
|
214
|
+
* MessageToast.show("Press subheader1 contentMiddle");
|
|
215
|
+
* }
|
|
216
|
+
* })],
|
|
217
|
+
* contentRight: [new Button({
|
|
218
|
+
* text: "SubHeader contentRightBtn",
|
|
219
|
+
* press: () => {
|
|
220
|
+
* MessageToast.show("Press subheader1 contentRight");
|
|
221
|
+
* }
|
|
222
|
+
* })]
|
|
223
|
+
* }, {
|
|
224
|
+
* controlType: "sap.m.Bar"
|
|
225
|
+
* })
|
|
226
|
+
*
|
|
180
227
|
* @param {object} controlProperties The properties that will be passed to the created control.
|
|
181
228
|
* @param {object} [parameters] Additional parameters.
|
|
182
229
|
* @param {string} [parameters.controlType=sap.m.Bar] Defines the <code>controlType</code>.
|
|
@@ -240,9 +287,26 @@ sap.ui.define([
|
|
|
240
287
|
|
|
241
288
|
/**
|
|
242
289
|
* Creates a user action in the user action menu.
|
|
290
|
+
*
|
|
291
|
+
* The <code>controlType</code> can be any control and is by default a {@link sap.ushell.ui.launchpad.ActionItem}.
|
|
292
|
+
* The <code>controlProperties</code> are passed to the constructor of the control.
|
|
293
|
+
*
|
|
294
|
+
* @example
|
|
295
|
+
*
|
|
296
|
+
* FrameBoundExtension.createUserAction({
|
|
297
|
+
* id: "userAction1",
|
|
298
|
+
* text: "New UserAction",
|
|
299
|
+
* icon: "sap-icon://refresh",
|
|
300
|
+
* press: () => {
|
|
301
|
+
* MessageToast.show("Press UserAction");
|
|
302
|
+
* }
|
|
303
|
+
* }, {
|
|
304
|
+
* controlType: "sap.ushell.ui.launchpad.ActionItem"
|
|
305
|
+
* })
|
|
306
|
+
*
|
|
243
307
|
* @param {object} controlProperties The properties that will be passed to the created control.
|
|
244
308
|
* @param {object} [parameters] Additional parameters.
|
|
245
|
-
* @param {string} [parameters.controlType=sap.ushell.ui.launchpad.ActionItem] Defines the <code>controlType</code
|
|
309
|
+
* @param {string} [parameters.controlType=sap.ushell.ui.launchpad.ActionItem] Defines the <code>controlType</code> of the item.
|
|
246
310
|
* @returns {Promise<sap.ushell.services.FrameBoundExtension.Item>} The newly created user action.
|
|
247
311
|
*
|
|
248
312
|
* @since 1.124.0
|
|
@@ -273,8 +337,38 @@ sap.ui.define([
|
|
|
273
337
|
/**
|
|
274
338
|
* Creates a new footer which is positioned below the launchpad content.
|
|
275
339
|
*
|
|
340
|
+
* The <code>controlType</code> can be any control and is by default a {@link sap.m.Bar}.
|
|
341
|
+
* The <code>controlProperties</code> are passed to the constructor of the control.
|
|
342
|
+
*
|
|
276
343
|
* <p><b>Note:</b> Only one footer is displayed at once. Any new footer will replace the previous one</p>
|
|
277
344
|
* <p><b>Restriction:</b> NOT available for apps running in an iframe</p>
|
|
345
|
+
*
|
|
346
|
+
* @example
|
|
347
|
+
*
|
|
348
|
+
* FrameBoundExtension.createFooter({
|
|
349
|
+
* id: "footer1",
|
|
350
|
+
* contentLeft: [new Button({
|
|
351
|
+
* text: "Footer ContentLeftBtn",
|
|
352
|
+
* press: () => {
|
|
353
|
+
* MessageToast.show("Press footer1 contentLeft");
|
|
354
|
+
* }
|
|
355
|
+
* })],
|
|
356
|
+
* contentMiddle: [new Button({
|
|
357
|
+
* text: "Footer contentMiddleBtn",
|
|
358
|
+
* press: () => {
|
|
359
|
+
* MessageToast.show("Press footer1 contentMiddle");
|
|
360
|
+
* }
|
|
361
|
+
* })],
|
|
362
|
+
* contentRight: [new Button({
|
|
363
|
+
* text: "Footer contentRightBtn",
|
|
364
|
+
* press: () => {
|
|
365
|
+
* MessageToast.show("Press footer1 contentRight");
|
|
366
|
+
* }
|
|
367
|
+
* })]
|
|
368
|
+
* }, {
|
|
369
|
+
* controlType: "sap.m.Bar"
|
|
370
|
+
* })
|
|
371
|
+
*
|
|
278
372
|
* @param {object} controlProperties The properties that will be passed to the created control.
|
|
279
373
|
* @param {object} [parameters] Additional parameters.
|
|
280
374
|
* @param {string} [parameters.controlType=sap.m.Bar] Defines the <code>controlType</code>.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's message service.
|
|
5
5
|
* This is a private service replacing the depercated Message service, as the functionality is used thoughout the ushell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.127.1
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -214,7 +214,7 @@ sap.ui.define([
|
|
|
214
214
|
* Creates a Dialog from a given error message.
|
|
215
215
|
*
|
|
216
216
|
* @param {string} message message text
|
|
217
|
-
* @param {object} messageConfig message configuration (title
|
|
217
|
+
* @param {object} messageConfig message configuration (title, details, actions, onClose callback)
|
|
218
218
|
*
|
|
219
219
|
* @private
|
|
220
220
|
*/
|
|
@@ -227,7 +227,7 @@ sap.ui.define([
|
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
var oErrorDialog = this.errorWithDetails(message, oDetailControl, messageConfig
|
|
230
|
+
var oErrorDialog = this.errorWithDetails(message, oDetailControl, messageConfig);
|
|
231
231
|
|
|
232
232
|
// Check that SupportTicket is enabled and verify that we are not in a flow in which Support ticket creation is failing,
|
|
233
233
|
// if this is the case we don't want to show the user the contact support button again
|
|
@@ -364,22 +364,24 @@ sap.ui.define([
|
|
|
364
364
|
* @param {string} message The localized message as plain text
|
|
365
365
|
* @param {sap.ui.core.Control} [detailControl] The control that should be displayed,
|
|
366
366
|
* once a user presses the "View Details" link
|
|
367
|
-
* @param {string}
|
|
367
|
+
* @param {string|object} messageConfig The localized title as string or the message configuration object (title, details, actions, onClose callback)
|
|
368
368
|
* @param {sap.m.Button[]} [buttons] The custom buttons that should be shown on the dialog
|
|
369
369
|
*
|
|
370
370
|
* @returns {sap.m.Dialog} The error dialog, so it can be destroyed by a custom button
|
|
371
371
|
*
|
|
372
372
|
* @private
|
|
373
373
|
*/
|
|
374
|
-
this.errorWithDetails = function (message, detailControl,
|
|
374
|
+
this.errorWithDetails = function (message, detailControl, messageConfig, buttons) {
|
|
375
375
|
if (Array.isArray(detailControl)) {
|
|
376
376
|
buttons = detailControl;
|
|
377
377
|
detailControl = null;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
+
var sTitle = typeof messageConfig === "string" ? messageConfig : messageConfig?.title;
|
|
381
|
+
|
|
380
382
|
if (typeof detailControl === "string") {
|
|
381
|
-
buttons =
|
|
382
|
-
|
|
383
|
+
buttons = sTitle;
|
|
384
|
+
sTitle = detailControl;
|
|
383
385
|
detailControl = null;
|
|
384
386
|
}
|
|
385
387
|
|
|
@@ -395,7 +397,7 @@ sap.ui.define([
|
|
|
395
397
|
state: ValueState.Error,
|
|
396
398
|
type: DialogType.Message,
|
|
397
399
|
contentWidth: "30rem",
|
|
398
|
-
title:
|
|
400
|
+
title: sTitle || resources.i18n.getText("error"),
|
|
399
401
|
content: [
|
|
400
402
|
new VBox({
|
|
401
403
|
renderType: FlexRendertype.Bare,
|
|
@@ -424,6 +426,9 @@ sap.ui.define([
|
|
|
424
426
|
this.destroy();
|
|
425
427
|
}
|
|
426
428
|
}).addStyleClass("sapContrastPlus");
|
|
429
|
+
if (typeof messageConfig?.onClose === "function") {
|
|
430
|
+
oErrorDialog.attachAfterClose(messageConfig.onClose);
|
|
431
|
+
}
|
|
427
432
|
oErrorDialog.open();
|
|
428
433
|
|
|
429
434
|
return oErrorDialog;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module exposes a model containing the pages hierarchy to its clients.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.127.1
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/Log",
|
|
@@ -54,7 +54,7 @@ sap.ui.define([
|
|
|
54
54
|
* @private
|
|
55
55
|
*/
|
|
56
56
|
var Pages = function () {
|
|
57
|
-
this.COMPONENT_NAME = "sap
|
|
57
|
+
this.COMPONENT_NAME = "sap.ushell.services.Pages";
|
|
58
58
|
this._oCdmServicePromise = Container.getServiceAsync("CommonDataModel");
|
|
59
59
|
this._oCSTRServicePromise = Container.getServiceAsync("ClientSideTargetResolution");
|
|
60
60
|
this._oPagesModel = new RestrictedJSONModel({
|
|
@@ -1264,7 +1264,8 @@ sap.ui.define([
|
|
|
1264
1264
|
return oViz.id === oVizData.id;
|
|
1265
1265
|
});
|
|
1266
1266
|
oSection.visualizations.splice(iIndex, 1);
|
|
1267
|
-
Log.warning(
|
|
1267
|
+
Log.warning(`The visualization with title '${oVizData.title}' and ID '${oVizData.vizId}' is filtered out, because intent '${oVizData.targetURL}' is not supported.`,
|
|
1268
|
+
null, this.COMPONENT_NAME);
|
|
1268
1269
|
}
|
|
1269
1270
|
}));
|
|
1270
1271
|
}));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
|
|
5
5
|
* personalization settings for the app currently executed in the shell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.127.1
|
|
8
8
|
* @deprecated since 1.120 Please use {@link sap.ushell.services.PersonalizationV2} instead
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
|
|
5
5
|
* personalization settings for the app currently executed in the shell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.127.1
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module exposes the searchable content.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.127.1
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/Config",
|
|
@@ -509,7 +509,7 @@ sap.ui.define([
|
|
|
509
509
|
* @private
|
|
510
510
|
*/
|
|
511
511
|
SearchableContent.prototype._applyCdmVisualizations = async function (oSite, oAppData, oGetAppsOptions) {
|
|
512
|
-
for (
|
|
512
|
+
for (const sKey in oSite.visualizations) {
|
|
513
513
|
try {
|
|
514
514
|
const oVizReference = {
|
|
515
515
|
vizId: sKey,
|
|
@@ -556,7 +556,7 @@ sap.ui.define([
|
|
|
556
556
|
* @private
|
|
557
557
|
*/
|
|
558
558
|
SearchableContent.prototype._applyCdmPages = async function (oSite, aPages, oAppData, oGetAppsOptions) {
|
|
559
|
-
for (
|
|
559
|
+
for (const oPage of aPages) {
|
|
560
560
|
const aVizReferences = readPages.getVisualizationReferences(oPage);
|
|
561
561
|
for (let oVizReference of aVizReferences) {
|
|
562
562
|
try {
|
|
@@ -626,8 +626,9 @@ sap.ui.define([
|
|
|
626
626
|
*/
|
|
627
627
|
SearchableContent.prototype._buildAppDataFromAppAndInbound = function (oApp, oInb, bAddTargetURL) {
|
|
628
628
|
oInb = oInb || {};
|
|
629
|
+
var sAppId = readApplications.getId(oApp);
|
|
629
630
|
var oResult = {
|
|
630
|
-
id:
|
|
631
|
+
id: sAppId,
|
|
631
632
|
title: oInb.title || readApplications.getTitle(oApp),
|
|
632
633
|
subtitle: oInb.subTitle || readApplications.getSubTitle(oApp),
|
|
633
634
|
icon: oInb.icon || readApplications.getIcon(oApp),
|
|
@@ -639,7 +640,7 @@ sap.ui.define([
|
|
|
639
640
|
var sHashFromInbound;
|
|
640
641
|
|
|
641
642
|
if (bAddTargetURL) {
|
|
642
|
-
sHashFromInbound = utilsCdm.toHashFromInbound(oInb);
|
|
643
|
+
sHashFromInbound = utilsCdm.toHashFromInbound(oInb, sAppId);
|
|
643
644
|
if (sHashFromInbound) {
|
|
644
645
|
oResult.targetURL = "#" + sHashFromInbound;
|
|
645
646
|
}
|