@sapui5/sap.ushell 1.127.2 → 1.128.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 +3 -3
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/guiResolution.js +4 -4
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/systemAlias.js +45 -0
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/ui5Resolution.js +1 -1
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/urlResolution.js +2 -2
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/urlTemplateResolution.js +21 -10
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/utils.js +1 -1
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/wcfResolution.js +2 -2
- package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/wdaResolution.js +2 -2
- package/src/main/js/sap/ushell/ApplicationType.js +8 -8
- package/src/main/js/sap/ushell/Config.js +1 -1
- package/src/main/js/sap/ushell/Container.js +14 -6
- 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 → URLTemplateProcessor}/DefinitionParameterSetBuilder.js +4 -4
- package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/Functions.js +2 -2
- package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/Resolvers.js +3 -3
- package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/TemplateParameterParser.js +2 -2
- package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +6 -6
- 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/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 +60 -61
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +2 -2
- 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 +4 -8
- 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 +2 -2
- 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/Inbox.js +222 -0
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +32 -27
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +15 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +19 -12
- 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 +1 -1
- 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 +1 -1
- 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 → SchedulingAgent}/EventProcessor.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/FLPScheduler.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/logger.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/state.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +5 -5
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +433 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBoot.json +4 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBootTask.js +16 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +35 -430
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +2 -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 +7 -29
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.css +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +32 -3
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +193 -0
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +71 -18
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +62 -18
- 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 +9 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +9 -9
- package/src/main/js/sap/ushell/components/contentFinder/view/{AppSearchCategoryTree.view.xml → AppSearchCategoryTree.fragment.xml} +12 -12
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +66 -4
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +8 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources.properties +9 -0
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +4 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +4 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -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 +2 -3
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +2 -3
- 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/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +26 -38
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +5 -6
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +4 -7
- package/src/main/js/sap/ushell/components/tiles/utils.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 +3 -4
- 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/iconfonts.js +776 -363
- 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 +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +28 -39
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/Component.js +45 -60
- package/src/main/js/sap/ushell/renderer/History.js +1 -11
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +0 -8
- package/src/main/js/sap/ushell/renderer/Renderer.js +9 -6
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +6 -2
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +4 -2
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +0 -8
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +4 -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/AppType.js +5 -0
- 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 → ClientSideTargetResolution}/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/InboundProvider.js +3 -3
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/Search.js +4 -4
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/XAppStateProcessing.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +12 -12
- package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/vizTypeDefaults/VizTypeDefaults.js +2 -2
- package/src/main/js/sap/ushell/services/CommonDataModel.js +14 -6
- 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/Container.js +4 -0
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +2 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +4 -4
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -3
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +1 -0
- package/src/main/js/sap/ushell/services/Extension/Item.js +22 -3
- package/src/main/js/sap/ushell/services/Extension.js +9 -4
- 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 +23 -4
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +5 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +5 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +11 -5
- 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 → MessageBroker}/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +2 -2
- package/src/main/js/sap/ushell/services/MessageInternal.js +2 -6
- 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 +4 -143
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +3 -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 +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/Extensions.js +5 -5
- package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +2 -2
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -3
- 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/ShellNavigationHashChanger.js +7 -101
- package/src/main/js/sap/ushell/services/SmartNavigation.js +3 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +2 -6
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/{_Ui5ComponentLoader → Ui5ComponentLoader}/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +2 -2
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +1 -0
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +55 -99
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +82 -119
- 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/_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/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +1 -0
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +1 -0
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +5 -0
- package/src/main/js/sap/ushell/state/ControlManager.js +38 -3
- package/src/main/js/sap/ushell/state/StateManager.js +43 -1
- package/src/main/js/sap/ushell/state/StateRules.js +0 -20
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/IconFonts.less +23 -15
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +333 -331
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -13
- package/src/main/js/sap/ushell/themes/sap_belize_base/IconFonts.less +23 -15
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -13
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -13
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/IconFonts.less +23 -15
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -12
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -12
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -13
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -13
- package/src/main/js/sap/ushell/themes/sap_hcb/base_IconFonts.less +23 -15
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -12
- package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -12
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -12
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +1 -13
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +1 -13
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +4 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +4 -0
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActions.js +7 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/StaticTile.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 +2 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +122 -2
- 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/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +47 -8
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +2 -2
- package/src/main/js/sap/ushell/utils.js +4 -2
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +13 -6
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -58
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -104
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/SmileIconFont.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.eot +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.ttf +0 -0
- /package/src/main/js/sap/ushell/{_Config → Config}/utils.js +0 -0
- /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/FLPLoader.js +0 -0
- /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/LoadingConfiguration.json +0 -0
- /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/StepConfiguration.json +0 -0
- /package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/ParameterMapping.js +0 -0
- /package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/PersonalizationProcessor.js +0 -0
- /package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/vizTypeDefaults/cardManifest.json +0 -0
|
@@ -14,13 +14,30 @@
|
|
|
14
14
|
*/
|
|
15
15
|
sap.ui.define([
|
|
16
16
|
"sap/ui/thirdparty/URI",
|
|
17
|
-
"sap/base/Log"
|
|
17
|
+
"sap/base/Log",
|
|
18
|
+
"sap/base/util/deepEqual",
|
|
19
|
+
"sap/base/util/merge",
|
|
20
|
+
"sap/ushell/TechnicalParameters"
|
|
18
21
|
], function (
|
|
19
22
|
URI,
|
|
20
|
-
Log
|
|
23
|
+
Log,
|
|
24
|
+
deepEqual,
|
|
25
|
+
merge,
|
|
26
|
+
TechnicalParameters
|
|
21
27
|
) {
|
|
22
28
|
"use strict";
|
|
23
29
|
|
|
30
|
+
/**
|
|
31
|
+
* @typedef {object} sap.ushell.utils.URLParsing.HashComparison
|
|
32
|
+
* Type for HashComparison
|
|
33
|
+
* @property {boolean} sameIntent The intent is the semantic object, action and contextRaw of the hash
|
|
34
|
+
* @property {boolean} sameParameters The intent parameters are the parameters of the hash that are not technical parameters
|
|
35
|
+
* @property {boolean} sameAppSpecificRoute The app specific route is the part of the hash after the shell part
|
|
36
|
+
*
|
|
37
|
+
* @since 1.128.0
|
|
38
|
+
* @private
|
|
39
|
+
*/
|
|
40
|
+
|
|
24
41
|
/**
|
|
25
42
|
* @alias sap.ushell.utils.UrlParsing
|
|
26
43
|
* @namespace
|
|
@@ -548,5 +565,108 @@ sap.ui.define([
|
|
|
548
565
|
return appendIf(shellPart, oShellHash.appSpecificRoute);
|
|
549
566
|
};
|
|
550
567
|
|
|
568
|
+
/**
|
|
569
|
+
* Calculates the similarities of the hashes
|
|
570
|
+
*
|
|
571
|
+
* @param {sap.ushell.services.Navigation.TargetIntent} sHash1 The first hash
|
|
572
|
+
* @param {sap.ushell.services.Navigation.TargetIntent} sHash2 The second hash
|
|
573
|
+
* @returns {sap.ushell.utils.URLParsing.HashComparison} A object describing the similarities
|
|
574
|
+
*
|
|
575
|
+
* @since 1.128.0
|
|
576
|
+
* @private
|
|
577
|
+
*/
|
|
578
|
+
UrlParsing.compareHashes = function (sHash1, sHash2) {
|
|
579
|
+
var oNewHash = this.parseShellHash(sHash1) || {};
|
|
580
|
+
var oOldHash = this.parseShellHash(sHash2) || {};
|
|
581
|
+
return {
|
|
582
|
+
sameIntent: this.haveSameIntent(oNewHash, oOldHash),
|
|
583
|
+
sameParameters: this.haveSameIntentParameters(oNewHash, oOldHash),
|
|
584
|
+
sameAppSpecificRoute: oNewHash.appSpecificRoute === oOldHash.appSpecificRoute
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Determines whether two hash fragments have the same intent during an
|
|
590
|
+
* app-to-app navigation.
|
|
591
|
+
*
|
|
592
|
+
* @param {sap.ushell.services.URLParsing.DecomposedHash} oHash1 The first hash split by parseShellHash
|
|
593
|
+
* @param {sap.ushell.services.URLParsing.DecomposedHash} oHash2 The second hash split by parseShellHash
|
|
594
|
+
*
|
|
595
|
+
* @returns {boolean}
|
|
596
|
+
* Whether two hash fragments have the same semantic object and action
|
|
597
|
+
* during an app-to-app navigation.
|
|
598
|
+
*
|
|
599
|
+
* @since 1.128.0
|
|
600
|
+
* @private
|
|
601
|
+
*/
|
|
602
|
+
UrlParsing.haveSameIntent = function (oHash1, oHash2) {
|
|
603
|
+
oHash1 = oHash1 || {};
|
|
604
|
+
oHash2 = oHash2 || {};
|
|
605
|
+
return oHash1.semanticObject === oHash2.semanticObject &&
|
|
606
|
+
oHash1.action === oHash2.action &&
|
|
607
|
+
oHash1.contextRaw === oHash2.contextRaw;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Determines whether two sets of parameters have the same intent parameters.
|
|
612
|
+
*
|
|
613
|
+
* @param {sap.ushell.services.URLParsing.DecomposedHash} oHash1 The first hash split by parseShellHash
|
|
614
|
+
* @param {sap.ushell.services.URLParsing.DecomposedHash} oHash2 The second hash split by parseShellHash
|
|
615
|
+
* @returns {boolean} Whether the two given set of parameters have the same intent parameters.
|
|
616
|
+
*
|
|
617
|
+
* @since 1.128.0
|
|
618
|
+
* @private
|
|
619
|
+
*/
|
|
620
|
+
UrlParsing.haveSameIntentParameters = function (oHash1, oHash2) {
|
|
621
|
+
oHash1 = oHash1 || {};
|
|
622
|
+
oHash2 = oHash2 || {};
|
|
623
|
+
var oParams1Copy = merge({}, oHash1.params);
|
|
624
|
+
var oParams2Copy = merge({}, oHash2.params);
|
|
625
|
+
return !this._parametersChanged(
|
|
626
|
+
this._removeNonIntentParameters(oParams1Copy),
|
|
627
|
+
this._removeNonIntentParameters(oParams2Copy)
|
|
628
|
+
);
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Removes all technical parameters from the hash parameters that are not intent parameters
|
|
633
|
+
* and returns the new hash parameters
|
|
634
|
+
*
|
|
635
|
+
* @param {Object<string, string[]>} oHashParams the hash parameters that should be checked for non-intent parameters
|
|
636
|
+
* @returns {Object<string, string[]>} the given hash parameters with the non-intent parameters
|
|
637
|
+
*
|
|
638
|
+
* @since 1.128.0
|
|
639
|
+
* @private
|
|
640
|
+
*/
|
|
641
|
+
UrlParsing._removeNonIntentParameters = function (oHashParams) {
|
|
642
|
+
var aTechnicalParameters = TechnicalParameters.getParameters({ isIntentParameter: false });
|
|
643
|
+
var oTechnicalParam;
|
|
644
|
+
|
|
645
|
+
if (oHashParams) {
|
|
646
|
+
for (var i = 0; i < aTechnicalParameters.length; i++) {
|
|
647
|
+
oTechnicalParam = aTechnicalParameters[i];
|
|
648
|
+
if (oHashParams[oTechnicalParam.name]) {
|
|
649
|
+
delete oHashParams[oTechnicalParam.name];
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
return oHashParams || {};
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Checks whether shell hash parameters have changed
|
|
659
|
+
*
|
|
660
|
+
* @param {Object<string, string[]>} oNewParameters the new parameters
|
|
661
|
+
* @param {Object<string, string[]>} oOldParameters the old parameters
|
|
662
|
+
* @returns {boolean} <code>true</code> if oNewParameters are not equal to oOldParameters
|
|
663
|
+
*
|
|
664
|
+
* @since 1.128.0
|
|
665
|
+
* @private
|
|
666
|
+
*/
|
|
667
|
+
UrlParsing._parametersChanged = function (oNewParameters, oOldParameters) {
|
|
668
|
+
return !deepEqual(oNewParameters, oOldParameters);
|
|
669
|
+
};
|
|
670
|
+
|
|
551
671
|
return UrlParsing;
|
|
552
672
|
});
|
|
@@ -187,9 +187,9 @@ sap.ui.define([
|
|
|
187
187
|
var sLocationSearch = ushellUtils.getLocationSearch();
|
|
188
188
|
var sNewLocationSearch = WindowUtils._getAdjustedQueryString(aUrlParams, aObsoleteUrlParams);
|
|
189
189
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
if (sNewLocationSearch) {
|
|
191
|
+
sNewHref = sNewHref.replace(sLocationSearch, "?" + sNewLocationSearch);
|
|
192
|
+
}
|
|
193
193
|
if (ushellUtils.getLocationHref() === sNewHref) {
|
|
194
194
|
ushellUtils.windowLocationReload();
|
|
195
195
|
} else {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module communicates with the content API graphql service to retrieve workpage and visualization data.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.128.1
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/i18n/Localization",
|
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
"sap/base/util/deepExtend",
|
|
15
15
|
"sap/ushell/adapters/cdm/v3/utilsCdm",
|
|
16
16
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils",
|
|
17
|
-
"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations"
|
|
17
|
+
"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations",
|
|
18
|
+
"sap/ushell/utils"
|
|
18
19
|
], function (
|
|
19
20
|
Localization,
|
|
20
21
|
HttpClient,
|
|
@@ -25,7 +26,8 @@ sap.ui.define([
|
|
|
25
26
|
deepExtend,
|
|
26
27
|
utilsCdm,
|
|
27
28
|
readUtils,
|
|
28
|
-
readVisualizations
|
|
29
|
+
readVisualizations,
|
|
30
|
+
ushellUtils
|
|
29
31
|
) {
|
|
30
32
|
"use strict";
|
|
31
33
|
|
|
@@ -91,16 +93,17 @@ sap.ui.define([
|
|
|
91
93
|
* Additionally, load the visualizations used on that WorkPage.
|
|
92
94
|
*
|
|
93
95
|
* @param {string} sPageId The WorkPage id.
|
|
96
|
+
* @param {boolean} bFilterByDevice Filter visualizations by device type.
|
|
94
97
|
* @returns {Promise<{ workPage: {usedVisualizations: { nodes: ExtendedVisualization[] }, editable: boolean}}>}
|
|
95
98
|
* A promise resolving with the loaded work page and visualizations, enhanced with app data retrieved from the CDM Runtime Site.
|
|
96
99
|
*/
|
|
97
|
-
WorkPage.prototype.loadWorkPageAndVisualizations = async function (sPageId) {
|
|
100
|
+
WorkPage.prototype.loadWorkPageAndVisualizations = async function (sPageId, bFilterByDevice) {
|
|
98
101
|
let pageInfo;
|
|
99
102
|
let workPage;
|
|
100
103
|
|
|
101
104
|
do {
|
|
102
105
|
const bUseIntentNavigation = Config.last("/core/shell/intentNavigation");
|
|
103
|
-
const sWorkPageQuery = this._createWorkPageQuery(this._sSiteId, sPageId, workPage === undefined, pageInfo?.endCursor, bUseIntentNavigation);
|
|
106
|
+
const sWorkPageQuery = this._createWorkPageQuery(this._sSiteId, sPageId, workPage === undefined, pageInfo?.endCursor, bUseIntentNavigation, bFilterByDevice);
|
|
104
107
|
|
|
105
108
|
const oRequestedData = await this._doRequest(sWorkPageQuery);
|
|
106
109
|
const oValidatedData = await this._validateData(oRequestedData);
|
|
@@ -126,13 +129,28 @@ sap.ui.define([
|
|
|
126
129
|
* @param {boolean} bIncludeWorkPage toggles if {id, contents, editable} should also be part of the requetst. undefined object will cause errors
|
|
127
130
|
* @param {string} sEndCursor endCursor of previous request
|
|
128
131
|
* @param {boolean} bUseIntentNavigation Toggle to retrieve targetAppIntent if intentNavigation feature in config is true
|
|
132
|
+
* @param {boolean} bFilterByDevice Filter visualizations by device type.
|
|
129
133
|
* @returns {string} A GraphQL Query as a string
|
|
130
134
|
*/
|
|
131
|
-
WorkPage.prototype._createWorkPageQuery = function (sSiteId, sPageId, bIncludeWorkPage, sEndCursor, bUseIntentNavigation) {
|
|
135
|
+
WorkPage.prototype._createWorkPageQuery = function (sSiteId, sPageId, bIncludeWorkPage, sEndCursor, bUseIntentNavigation, bFilterByDevice) {
|
|
132
136
|
if (!sSiteId || !sPageId) {
|
|
133
137
|
throw new Error(`Invalid Arguments, missing either siteId: ${sSiteId} or pageId: ${sPageId}`);
|
|
134
138
|
}
|
|
135
139
|
|
|
140
|
+
const sDeviceType = ushellUtils.getFormFactor();
|
|
141
|
+
|
|
142
|
+
const sContentFilter = `
|
|
143
|
+
queryInput: {
|
|
144
|
+
filterWidgets: {
|
|
145
|
+
visualization: {
|
|
146
|
+
targetApp: {
|
|
147
|
+
deviceType: { eq: "${sDeviceType}" },
|
|
148
|
+
launchType: { in: ["embedded", "standalone"] }
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}`;
|
|
153
|
+
|
|
136
154
|
return `{
|
|
137
155
|
workPage(
|
|
138
156
|
siteId: "${sSiteId}",
|
|
@@ -140,7 +158,7 @@ sap.ui.define([
|
|
|
140
158
|
) {
|
|
141
159
|
${bIncludeWorkPage ? `
|
|
142
160
|
id,
|
|
143
|
-
contents,
|
|
161
|
+
contents${bFilterByDevice ? `(${sContentFilter})` : ""},
|
|
144
162
|
editable,
|
|
145
163
|
` : ""
|
|
146
164
|
}
|
|
@@ -228,9 +246,10 @@ sap.ui.define([
|
|
|
228
246
|
*
|
|
229
247
|
* @since 1.123.0
|
|
230
248
|
* @param {object} oFilterParams The filter object.
|
|
249
|
+
* @param {boolean} bFilterByDevice Filter visualizations by device type.
|
|
231
250
|
* @returns {Promise<{visualizations, totalCount}>} The result.
|
|
232
251
|
*/
|
|
233
|
-
WorkPage.prototype.loadVisualizations = function (oFilterParams) {
|
|
252
|
+
WorkPage.prototype.loadVisualizations = function (oFilterParams, bFilterByDevice) {
|
|
234
253
|
let sQuery = `
|
|
235
254
|
visualizations($queryInput: QueryVisualizationsInput) {
|
|
236
255
|
visualizations(queryInput: $queryInput, siteId: "${this._sSiteId}") {
|
|
@@ -266,6 +285,26 @@ sap.ui.define([
|
|
|
266
285
|
|
|
267
286
|
sQuery = `query ${sQuery}`;
|
|
268
287
|
|
|
288
|
+
if (bFilterByDevice) {
|
|
289
|
+
const deviceType = ushellUtils.getFormFactor();
|
|
290
|
+
oFilterParams.filter = oFilterParams.filter || [{}];
|
|
291
|
+
|
|
292
|
+
oFilterParams.filter = oFilterParams.filter.map(
|
|
293
|
+
(filter) => ({
|
|
294
|
+
...filter,
|
|
295
|
+
targetApp: {
|
|
296
|
+
deviceType: { eq: deviceType },
|
|
297
|
+
launchType: {
|
|
298
|
+
in: [
|
|
299
|
+
"embedded",
|
|
300
|
+
"standalone"
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
})
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
|
|
269
308
|
const oVariables = {
|
|
270
309
|
queryInput: oFilterParams
|
|
271
310
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module provides utilities for creating visualization instances for work pages.
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.128.1
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/services/VisualizationInstantiation",
|
|
@@ -13,7 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
"sap/ushell/adapters/cdm/v3/utilsCdm",
|
|
14
14
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils",
|
|
15
15
|
"sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations",
|
|
16
|
-
"sap/ushell/services/
|
|
16
|
+
"sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults",
|
|
17
17
|
"sap/ushell/utils/tilecard/TileCard",
|
|
18
18
|
"sap/ushell/Config"
|
|
19
19
|
], function (
|
|
@@ -18,7 +18,8 @@ sap.ui.define([
|
|
|
18
18
|
"sap/ushell/utils/UrlParsing",
|
|
19
19
|
"sap/ushell/utils/objectOperations",
|
|
20
20
|
"sap/ushell/utils/type",
|
|
21
|
-
"sap/ushell/renderer/History"
|
|
21
|
+
"sap/ushell/renderer/History",
|
|
22
|
+
"sap/ushell/renderers/fiori2/History" // restore deprecated globals
|
|
22
23
|
//"sap/ushell/resources" --> cannot be declared here currently: utils is used very early - before core boot, but resources uses UI5 core.
|
|
23
24
|
], function (
|
|
24
25
|
Log,
|
|
@@ -34,7 +35,8 @@ sap.ui.define([
|
|
|
34
35
|
urlParsing,
|
|
35
36
|
ushellObjectOperations,
|
|
36
37
|
ushellType,
|
|
37
|
-
History
|
|
38
|
+
History,
|
|
39
|
+
DeprecatedHistory // restore deprecated globals
|
|
38
40
|
) {
|
|
39
41
|
"use strict";
|
|
40
42
|
|
package/ui5.yaml
CHANGED
|
@@ -65,16 +65,22 @@ builder:
|
|
|
65
65
|
- sap/ushell/utils/objectOperations.js
|
|
66
66
|
- sap/ushell/EventHub.js
|
|
67
67
|
- sap/ushell/resources.js
|
|
68
|
+
- sap/ushell/renderer/History
|
|
69
|
+
- sap/ushell/renderer/utils
|
|
70
|
+
- sap/ushell/renderer/ShellLayout
|
|
68
71
|
- sap/ushell/renderer/search/HashChangeHandler.js
|
|
72
|
+
- sap/ushell/renderers/fiori2/History
|
|
69
73
|
- sap/ushell/System.js
|
|
70
74
|
- sap/ushell/Ui5NativeServiceFactory.js
|
|
71
75
|
- sap/ushell/shells/demo/cspJSFiles/AppInfoAdapterSample.js
|
|
72
76
|
- sap/ushell/User.js
|
|
73
77
|
- sap/ushell/services/AppConfiguration.js
|
|
74
78
|
- sap/ushell/Container.js
|
|
79
|
+
- sap/ushell/services/appstate/AppState
|
|
80
|
+
- sap/ushell/services/appstate/AppStatePersistencyMethod
|
|
75
81
|
- sap/ushell/services/PluginManager.js
|
|
76
|
-
- sap/ushell/services/
|
|
77
|
-
- sap/ushell/services/
|
|
82
|
+
- sap/ushell/services/PluginManager/Extensions.js
|
|
83
|
+
- sap/ushell/services/PluginManager/HeaderExtensions.js
|
|
78
84
|
- sap/ushell/services/ShellNavigation.js
|
|
79
85
|
- sap/ushell/services/ShellNavigationInternal.js
|
|
80
86
|
- sap/ushell/services/ShellNavigationHashChanger.js
|
|
@@ -82,11 +88,11 @@ builder:
|
|
|
82
88
|
- sap/ushell/services/URLParsing.js
|
|
83
89
|
- sap/ushell/services/Ui5ComponentLoader.js
|
|
84
90
|
- sap/ushell/services/Ui5ComponentHandle.js
|
|
85
|
-
- sap/ushell/services/
|
|
91
|
+
- sap/ushell/services/Ui5ComponentLoader/utils.js
|
|
86
92
|
- sap/ushell/TechnicalParameters.js
|
|
87
93
|
- sap/ushell/Config.js
|
|
88
94
|
- sap/ushell/bootstrap/common/common.create.configcontract.core.js
|
|
89
|
-
- sap/ushell/
|
|
95
|
+
- sap/ushell/Config/utils.js
|
|
90
96
|
- sap/m/
|
|
91
97
|
- sap/m/manifest.json
|
|
92
98
|
- sap/ushell/Fiori20AdapterTest.js
|
|
@@ -238,7 +244,7 @@ builder:
|
|
|
238
244
|
- sap/ui/model/odata/v2/ODataModel.js
|
|
239
245
|
- sap/ui/thirdparty/jquery-mobile-custom.js
|
|
240
246
|
# dynamically required in ApplicationType (which is a dependency of ClientSideTargetResolution service)
|
|
241
|
-
- sap/ushell/
|
|
247
|
+
- sap/ushell/ApplicationType/
|
|
242
248
|
- sap/ushell/CanvasShapesManager.js
|
|
243
249
|
- sap/ushell/Container.js
|
|
244
250
|
- sap/ushell/Fiori20AdapterTest.js
|
|
@@ -264,8 +270,9 @@ builder:
|
|
|
264
270
|
- sap/ushell/adapters/local/NavTargetResolutionAdapter.js
|
|
265
271
|
- sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js
|
|
266
272
|
- sap/ushell/adapters/local/UserInfoAdapter.js
|
|
273
|
+
- sap/ushell/api/Inbox.js
|
|
267
274
|
- sap/ushell/api/RTA.js
|
|
268
|
-
- sap/ushell/bootstrap/
|
|
275
|
+
- sap/ushell/bootstrap/SchedulingAgent/*.json # json files must be explicitly defined
|
|
269
276
|
- sap/ushell/components/ComponentKeysHandler.js
|
|
270
277
|
- sap/ushell/components/container/ApplicationContainer.js
|
|
271
278
|
- sap/ushell/components/pages/controller/PagesAndSpaceId.js
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This copy of the StaticTile.view is needed for compatibility reasons until the changes to applauncher.chip.xml have been delivered.
|
|
5
|
-
* Afterwards this file can be used in all scenarios and StaticTile.view.js can be replaced by it.
|
|
6
|
-
*/
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"sap/ui/core/mvc/View",
|
|
9
|
-
"sap/m/GenericTile",
|
|
10
|
-
"sap/m/ImageContent",
|
|
11
|
-
"sap/m/TileContent",
|
|
12
|
-
"sap/ushell/components/tiles/applauncher/StaticTile.controller" // Controller needs to be loaded
|
|
13
|
-
], function (View, GenericTile, ImageContent, TileContent) {
|
|
14
|
-
"use strict";
|
|
15
|
-
|
|
16
|
-
return View.extend("sap.ushell.components.tiles.applauncher.StaticTile", {
|
|
17
|
-
getControllerName: function () {
|
|
18
|
-
return "sap.ushell.components.tiles.applauncher.StaticTile";
|
|
19
|
-
},
|
|
20
|
-
createContent: function (/*oController*/) {
|
|
21
|
-
this.setHeight("100%");
|
|
22
|
-
this.setWidth("100%");
|
|
23
|
-
|
|
24
|
-
return this.getTileControl();
|
|
25
|
-
},
|
|
26
|
-
getTileControl: function () {
|
|
27
|
-
var oController = this.getController();
|
|
28
|
-
|
|
29
|
-
//Return the GenericTile if it already exists instead of creating a new one
|
|
30
|
-
if (this.getContent().length === 1) {
|
|
31
|
-
return this.getContent()[0];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
return new GenericTile({
|
|
35
|
-
mode: "{= ${/mode} || (${/config/display_icon_url} ? 'ContentMode' : 'HeaderMode') }",
|
|
36
|
-
header: "{/config/display_title_text}",
|
|
37
|
-
subheader: "{/config/display_subtitle_text}",
|
|
38
|
-
sizeBehavior: "{/sizeBehavior}",
|
|
39
|
-
wrappingType: "{/wrappingType}",
|
|
40
|
-
url: {
|
|
41
|
-
parts: ["/targetURL", "/nav/navigation_target_url"],
|
|
42
|
-
formatter: oController.formatters.leanURL
|
|
43
|
-
},
|
|
44
|
-
tileContent: new TileContent({
|
|
45
|
-
footer: "{/config/display_info_text}",
|
|
46
|
-
content: new ImageContent({
|
|
47
|
-
src: "{/config/display_icon_url}"
|
|
48
|
-
})
|
|
49
|
-
}),
|
|
50
|
-
press: [oController.onPress, oController]
|
|
51
|
-
});
|
|
52
|
-
},
|
|
53
|
-
getMode: function () {
|
|
54
|
-
return this.getModel().getProperty("/mode")
|
|
55
|
-
|| (this.getModel().getProperty("/config/display_icon_url") ? "ContentMode" : "HeaderMode");
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
});
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This copy of the DynamicTile.view is needed for compatibility reasons until the changes to applauncher_dynamic.chip.xml have been delivered.
|
|
5
|
-
* Afterwards this file can be used in all scenarios and DynamicTile.view.js can be replaced by it.
|
|
6
|
-
*/
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"sap/ui/core/mvc/View",
|
|
9
|
-
"sap/m/GenericTile",
|
|
10
|
-
"sap/m/TileContent",
|
|
11
|
-
"sap/m/library",
|
|
12
|
-
"sap/m/NumericContent",
|
|
13
|
-
"sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller" // Controller needs to be loaded
|
|
14
|
-
], function (
|
|
15
|
-
View,
|
|
16
|
-
GenericTile,
|
|
17
|
-
TileContent,
|
|
18
|
-
mobileLibrary,
|
|
19
|
-
NumericContent
|
|
20
|
-
) {
|
|
21
|
-
"use strict";
|
|
22
|
-
|
|
23
|
-
// shortcut for sap.m.ValueColor
|
|
24
|
-
var ValueColor = mobileLibrary.ValueColor;
|
|
25
|
-
|
|
26
|
-
return View.extend("sap.ushell.components.tiles.applauncherdynamic.DynamicTile", {
|
|
27
|
-
getControllerName: function () {
|
|
28
|
-
return "sap.ushell.components.tiles.applauncherdynamic.DynamicTile";
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
createContent: function () {
|
|
32
|
-
this.setHeight("100%");
|
|
33
|
-
this.setWidth("100%");
|
|
34
|
-
|
|
35
|
-
return this.getTileControl();
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
getTileControl: function () {
|
|
39
|
-
var oController = this.getController();
|
|
40
|
-
|
|
41
|
-
//Return the GenericTile if it already exists instead of creating a new one
|
|
42
|
-
if (this.getContent().length === 1) {
|
|
43
|
-
return this.getContent()[0];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return new GenericTile({
|
|
47
|
-
mode: "{/mode}",
|
|
48
|
-
header: "{/data/display_title_text}",
|
|
49
|
-
subheader: "{/data/display_subtitle_text}",
|
|
50
|
-
sizeBehavior: "{/sizeBehavior}",
|
|
51
|
-
wrappingType: "{/wrappingType}",
|
|
52
|
-
url: {
|
|
53
|
-
parts: ["/targetURL", "/nav/navigation_target_url"],
|
|
54
|
-
formatter: oController.formatters.leanURL
|
|
55
|
-
},
|
|
56
|
-
tileContent: [new TileContent({
|
|
57
|
-
footer: "{/data/display_info_text}",
|
|
58
|
-
footerColor: {
|
|
59
|
-
path: "/data/display_info_state",
|
|
60
|
-
formatter: function (sFooterColor) {
|
|
61
|
-
if (sFooterColor === "Positive") {
|
|
62
|
-
sFooterColor = ValueColor.Good;
|
|
63
|
-
}
|
|
64
|
-
if (sFooterColor === "Negative") {
|
|
65
|
-
sFooterColor = ValueColor.Error;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
if (!ValueColor[sFooterColor]) {
|
|
69
|
-
sFooterColor = ValueColor.Neutral;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return sFooterColor;
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
unit: "{/data/display_number_unit}",
|
|
76
|
-
//We'll utilize NumericContent for the "Dynamic" content.
|
|
77
|
-
content: [new NumericContent({
|
|
78
|
-
scale: "{/data/display_number_factor}",
|
|
79
|
-
value: "{/data/display_number_value}",
|
|
80
|
-
truncateValueTo: 5, //Otherwise, The default value is 4.
|
|
81
|
-
indicator: "{/data/display_state_arrow}",
|
|
82
|
-
valueColor: {
|
|
83
|
-
path: "/data/display_number_state",
|
|
84
|
-
formatter: function (sState) {
|
|
85
|
-
if (!sState || sState === "Neutral" || !ValueColor[sState]) {
|
|
86
|
-
return ValueColor.None;
|
|
87
|
-
}
|
|
88
|
-
return sState;
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
icon: "{/data/display_icon_url}",
|
|
92
|
-
width: "100%",
|
|
93
|
-
withMargin: false
|
|
94
|
-
})]
|
|
95
|
-
})],
|
|
96
|
-
press: [oController.onPress, oController]
|
|
97
|
-
});
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
getMode: function () {
|
|
101
|
-
return this.getModel().getProperty("/mode");
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|