@sapui5/sap.ushell 1.118.0 → 1.119.2
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 +6 -5
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType.js +1 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +13 -7
- package/src/main/js/sap/ushell/Config.js +1 -1
- package/src/main/js/sap/ushell/Container.js +255 -185
- package/src/main/js/sap/ushell/EventHub.js +1 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +2 -2
- package/src/main/js/sap/ushell/Layout.js +3 -3
- package/src/main/js/sap/ushell/NWBCInterface.js +3 -3
- package/src/main/js/sap/ushell/TechnicalParameters.js +3 -3
- package/src/main/js/sap/ushell/UIActions.js +44 -44
- 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 +4 -4
- package/src/main/js/sap/ushell/User.js +1 -1
- package/src/main/js/sap/ushell/UserActivityLog.js +8 -8
- package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +5 -5
- package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +1 -1
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +16 -11
- package/src/main/js/sap/ushell/_Config/utils.js +5 -5
- 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 +14 -8
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +4 -5
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -2
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -13
- package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.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/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
- 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/_Personalization/internals.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +5 -2
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +4 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +3 -4
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +10 -11
- 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 +2 -2
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +0 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -4
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +3 -2
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -3
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.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 +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -2
- 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 -2
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +5 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +5 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +31 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +2 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +2 -2
- 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 +1 -0
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +7 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +4 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +7 -7
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +214 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxSite.json +511 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +398 -0
- package/src/main/js/sap/ushell/components/CatalogsManager.js +26 -25
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +20 -15
- package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
- package/src/main/js/sap/ushell/components/HomepageManager.js +6 -6
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +5 -5
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +19 -15
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +12 -12
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +18 -18
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -6
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +8 -6
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +2 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +5 -5
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -26
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +6 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +44 -6
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +22 -9
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +23 -16
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- 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/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -2
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +5 -6
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -2
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +3 -3
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +0 -1
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +7 -6
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -7
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +13 -13
- 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 +10 -10
- 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/StateManager.js +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +12 -12
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +93 -95
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +31 -23
- 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/controller/MenuBar.controller.js +7 -6
- 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 -3
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -2
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.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 +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +74 -16
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchFieldFragment.fragment.xml +2 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -2
- 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 -2
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +8 -9
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +53 -13
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +5 -0
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +41 -38
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +7 -3
- 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/StaticTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +0 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +41 -48
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +5 -18
- package/src/main/js/sap/ushell/components/visualizationOrganizer/VisualizationOrganizerPopover.fragment.xml +3 -3
- 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 +65 -95
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +182 -90
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.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/WorkPageColumnRenderer.js +0 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +53 -3
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +3 -0
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -0
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +6 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -2
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +4 -2
- package/src/main/js/sap/ushell/navigationMode.js +10 -5
- package/src/main/js/sap/ushell/override.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +248 -187
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +206 -207
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +366 -230
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +39 -23
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +105 -25
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +63 -52
- package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -3
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +2 -3
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -5
- package/src/main/js/sap/ushell/services/Configuration.js +1 -2
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +36 -33
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
- package/src/main/js/sap/ushell/services/LaunchPage.js +11 -8
- package/src/main/js/sap/ushell/services/Menu.js +31 -37
- package/src/main/js/sap/ushell/services/Message.js +1 -2
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -2
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +58 -9
- package/src/main/js/sap/ushell/services/Navigation.js +1356 -0
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +7 -5
- package/src/main/js/sap/ushell/services/Notifications.js +16 -16
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -2
- package/src/main/js/sap/ushell/services/PagePersistence.js +6 -6
- package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
- package/src/main/js/sap/ushell/services/Pages.js +24 -25
- package/src/main/js/sap/ushell/services/Personalization.js +5 -5
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +2 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +85 -59
- package/src/main/js/sap/ushell/services/ShellNavigation.js +59 -17
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +115 -39
- package/src/main/js/sap/ushell/services/SmartNavigation.js +4 -4
- package/src/main/js/sap/ushell/services/SpaceContent.js +5 -6
- package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -3
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +7 -7
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -2
- 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 +91 -69
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +10 -6
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -3
- 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 +2 -5
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +2 -2
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +11 -11
- 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 +6 -6
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +1 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.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 +9 -14
- 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/ContextContainer.js +34 -21
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +5 -2
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +18 -12
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +3 -3
- 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/services/_UserRecents/RecentActivity.js +206 -214
- package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +46 -54
- package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +39 -40
- package/src/main/js/sap/ushell/services/_UserRecents/UserRecentsBase.js +29 -36
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceAbap.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceCdm.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js +10 -8
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +2 -2
- package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -2
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +8 -0
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +12 -6
- package/src/main/js/sap/ushell/themes/base/WorkPage.less +34 -4
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +3 -1
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +3 -76
- package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +2 -1
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +822 -6
- package/src/main/js/sap/ushell/themes/sap_horizon/SearchCEP.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -0
- package/src/main/js/sap/ushell/ui/AppContainer.js +0 -1
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
- package/src/main/js/sap/ushell/ui/QuickAccess.js +2 -2
- package/src/main/js/sap/ushell/ui/ShellHeader.js +21 -5
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -0
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +0 -1
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +6 -6
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +32 -17
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +0 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -12
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +0 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +4 -5
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +0 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +0 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +1 -1
- package/src/main/js/sap/ushell/utils/HttpClient.js +0 -1
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +18 -14
- package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
- package/src/main/js/sap/ushell/utils/type.js +1 -1
- package/src/main/js/sap/ushell/utils/utilsCdm.js +3 -3
- package/src/main/js/sap/ushell/utils.js +128 -21
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
- package/ui5.yaml +1 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"./UserRecentsBase",
|
|
4
4
|
"sap/base/Log",
|
|
5
|
-
"sap/ushell/utils"
|
|
6
|
-
|
|
7
|
-
], function (UserRecentsBase, Log, utils, jQuery) {
|
|
5
|
+
"sap/ushell/utils"
|
|
6
|
+
], function (UserRecentsBase, Log, utils) {
|
|
8
7
|
"use strict";
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* User action collector counter of user usage of applications according to the URL hash.
|
|
12
11
|
*
|
|
13
|
-
* @
|
|
12
|
+
* @class
|
|
14
13
|
* @private
|
|
15
14
|
*/
|
|
16
15
|
var RecentAppsUsage = UserRecentsBase.extend("sap.ushell.services.RecentAppsUsage", {
|
|
@@ -31,36 +30,33 @@ sap.ui.define([
|
|
|
31
30
|
* @private
|
|
32
31
|
*/
|
|
33
32
|
RecentAppsUsage.prototype.init = function () {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}.bind(this));
|
|
62
|
-
}
|
|
63
|
-
return this._oInitDeferred.promise();
|
|
33
|
+
return new Promise((resolve, reject) => {
|
|
34
|
+
const sCurrentDay = this.getDayFromDateObj(new Date());
|
|
35
|
+
let bDataLoadedTriggered = false;
|
|
36
|
+
|
|
37
|
+
// Personalized data not loaded yet
|
|
38
|
+
if (!bDataLoadedTriggered || sCurrentDay !== this.oAppsUsageData.recentDay) {
|
|
39
|
+
bDataLoadedTriggered = true;
|
|
40
|
+
|
|
41
|
+
// Load data
|
|
42
|
+
this._load()
|
|
43
|
+
.then(data => {
|
|
44
|
+
// Initialize structure from the loaded data, or define new
|
|
45
|
+
this.oAppsUsageData = data || {
|
|
46
|
+
recentDay: null,
|
|
47
|
+
recentAppsUsageMap: {}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// Update usage
|
|
51
|
+
this.calculateInitialUsage(sCurrentDay);
|
|
52
|
+
resolve(this.oAppsUsageData);
|
|
53
|
+
})
|
|
54
|
+
.catch(() => {
|
|
55
|
+
Log.error("UShell-lib ; RecentAppsUsage ; Load data in Init failed");
|
|
56
|
+
reject();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
});
|
|
64
60
|
};
|
|
65
61
|
|
|
66
62
|
/**
|
|
@@ -98,13 +94,13 @@ sap.ui.define([
|
|
|
98
94
|
RecentAppsUsage.prototype.addAppUsage = function (hash) {
|
|
99
95
|
// Check hash validity
|
|
100
96
|
if (!utils.validHash(hash)) {
|
|
101
|
-
return
|
|
97
|
+
return Promise.reject("Non valid hash");
|
|
102
98
|
}
|
|
103
99
|
|
|
104
100
|
return this.init()
|
|
105
|
-
.
|
|
101
|
+
.then(() => {
|
|
106
102
|
// Get the data (usage per day) for the given hash
|
|
107
|
-
|
|
103
|
+
const aAppUsageArray = this.oAppsUsageData.recentAppsUsageMap[hash] || [];
|
|
108
104
|
|
|
109
105
|
// New app that wasn't opened so far. Insert "1" since this is the first time it is opened
|
|
110
106
|
if (aAppUsageArray.length === 0) {
|
|
@@ -115,8 +111,8 @@ sap.ui.define([
|
|
|
115
111
|
}
|
|
116
112
|
this.oAppsUsageData.recentAppsUsageMap[hash] = aAppUsageArray;
|
|
117
113
|
this.saveAppsUsage(this.oAppsUsageData);
|
|
118
|
-
}
|
|
119
|
-
.
|
|
114
|
+
})
|
|
115
|
+
.catch(() => {
|
|
120
116
|
Log.error("Ushell-lib ; addAppUsage ; Initialization falied!");
|
|
121
117
|
});
|
|
122
118
|
};
|
|
@@ -125,19 +121,15 @@ sap.ui.define([
|
|
|
125
121
|
* Summarises and returns the usage per hash and the minimum and maximum values
|
|
126
122
|
*/
|
|
127
123
|
RecentAppsUsage.prototype.getAppsUsage = function () {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
oDeferred.reject("Not initialized yet");
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
return oDeferred.promise();
|
|
124
|
+
return new Promise((resolve, reject) => {
|
|
125
|
+
this.init()
|
|
126
|
+
.then(() => {
|
|
127
|
+
resolve(this.summarizeUsage());
|
|
128
|
+
})
|
|
129
|
+
.catch(() => {
|
|
130
|
+
reject("Not initialized yet");
|
|
131
|
+
});
|
|
132
|
+
});
|
|
141
133
|
};
|
|
142
134
|
|
|
143
135
|
RecentAppsUsage.prototype.summarizeUsage = function () {
|
|
@@ -157,7 +149,7 @@ sap.ui.define([
|
|
|
157
149
|
maxUsage = usageMap[hash];
|
|
158
150
|
}
|
|
159
151
|
}
|
|
160
|
-
return {usageMap: usageMap, maxUsage: maxUsage, minUsage: minUsage};
|
|
152
|
+
return { usageMap: usageMap, maxUsage: maxUsage, minUsage: minUsage };
|
|
161
153
|
};
|
|
162
154
|
|
|
163
155
|
RecentAppsUsage.prototype.addNewDay = function () {
|
|
@@ -202,7 +194,7 @@ sap.ui.define([
|
|
|
202
194
|
|
|
203
195
|
RecentAppsUsage.prototype.saveAppsUsage = function (obj) {
|
|
204
196
|
return this._save(obj)
|
|
205
|
-
.
|
|
197
|
+
.catch(() => {
|
|
206
198
|
Log.error("Ushell-lib ; saveAppsUsage ; Save action failed");
|
|
207
199
|
});
|
|
208
200
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
|
-
"./UserRecentsBase"
|
|
4
|
-
|
|
5
|
-
], function (UserRecentsBase, jQuery) {
|
|
3
|
+
"./UserRecentsBase"
|
|
4
|
+
], function (UserRecentsBase) {
|
|
6
5
|
"use strict";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
|
-
* @
|
|
8
|
+
* @class
|
|
10
9
|
* @private
|
|
11
10
|
*/
|
|
12
11
|
var RecentsList = UserRecentsBase.extend("sap.ushell.services.RecentsList");
|
|
@@ -48,45 +47,45 @@ sap.ui.define([
|
|
|
48
47
|
};
|
|
49
48
|
|
|
50
49
|
RecentsList.prototype.newItem = function (oItem) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
50
|
+
return new Promise((resolve, reject) => {
|
|
51
|
+
const iTimestampNow = Date.now();
|
|
52
|
+
let bAlreadyIn;
|
|
53
|
+
|
|
54
|
+
this._load()
|
|
55
|
+
.then(aLoadedRecents => {
|
|
56
|
+
this.aRecents = aLoadedRecents || [];
|
|
57
|
+
|
|
58
|
+
bAlreadyIn = this._updateIfAlreadyIn(oItem, iTimestampNow);
|
|
59
|
+
if (!bAlreadyIn) {
|
|
60
|
+
this._insertNew(oItem, iTimestampNow);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
this._save(this.aRecents)
|
|
64
|
+
.then(() => {
|
|
65
|
+
resolve();
|
|
66
|
+
})
|
|
67
|
+
.catch(errorMessage => {
|
|
68
|
+
reject(errorMessage);
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
});
|
|
74
73
|
};
|
|
75
74
|
|
|
76
75
|
RecentsList.prototype.getRecentItems = function () {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
return new Promise((resolve, reject) => {
|
|
77
|
+
this._load()
|
|
78
|
+
.then(aLoadedRecents => {
|
|
79
|
+
aLoadedRecents = aLoadedRecents || [];
|
|
80
|
+
aLoadedRecents.sort(UserRecentsBase._itemSorter);
|
|
81
|
+
this.aRecents = aLoadedRecents.slice(0, this.iMaxItems);
|
|
82
|
+
resolve(this.aRecents.map(oRecentEntry => oRecentEntry.oItem
|
|
83
|
+
));
|
|
84
|
+
})
|
|
85
|
+
.catch(errorMessage => {
|
|
86
|
+
reject(errorMessage);
|
|
87
|
+
});
|
|
88
|
+
});
|
|
90
89
|
};
|
|
91
90
|
|
|
92
91
|
return RecentsList;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"sap/ui/base/Object",
|
|
4
|
-
"sap/base/Log"
|
|
5
|
-
|
|
6
|
-
], function (BaseObject, Log, jQuery) {
|
|
4
|
+
"sap/base/Log"
|
|
5
|
+
], function (BaseObject, Log) {
|
|
7
6
|
"use strict";
|
|
8
7
|
|
|
9
8
|
var PERSONALIZATION_CONTAINER = "sap.ushell.services.UserRecents";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* Base class for all helper classes.
|
|
13
|
-
* @
|
|
12
|
+
* @class
|
|
14
13
|
* @private
|
|
15
14
|
*/
|
|
16
15
|
var UserRecentsBase = BaseObject.extend("sap.ushell.services.UserRecentsBase", {
|
|
@@ -31,41 +30,35 @@ sap.ui.define([
|
|
|
31
30
|
});
|
|
32
31
|
|
|
33
32
|
UserRecentsBase.prototype._load = function () {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
return oDeferred.promise();
|
|
33
|
+
return new Promise((resolve, reject) => {
|
|
34
|
+
this._oPersonalizerPromise
|
|
35
|
+
.then(oPersonalizer => {
|
|
36
|
+
oPersonalizer.getPersData()
|
|
37
|
+
.done(resolve)
|
|
38
|
+
.fail(reject);
|
|
39
|
+
})
|
|
40
|
+
.catch(error => {
|
|
41
|
+
Log.error("Personalization service does not work:");
|
|
42
|
+
Log.error(error.name + ": " + error.message);
|
|
43
|
+
reject(error);
|
|
44
|
+
});
|
|
45
|
+
});
|
|
50
46
|
};
|
|
51
47
|
|
|
52
48
|
UserRecentsBase.prototype._save = function (aList) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
return oDeferred.promise();
|
|
49
|
+
return new Promise((resolve, reject) => {
|
|
50
|
+
this._oPersonalizerPromise
|
|
51
|
+
.then(oPersonalizer => {
|
|
52
|
+
oPersonalizer.setPersData(aList)
|
|
53
|
+
.done(resolve)
|
|
54
|
+
.fail(reject);
|
|
55
|
+
})
|
|
56
|
+
.catch(error => {
|
|
57
|
+
Log.error("Personalization service does not work:");
|
|
58
|
+
Log.error(error.name + ": " + error.message);
|
|
59
|
+
reject(error);
|
|
60
|
+
});
|
|
61
|
+
});
|
|
69
62
|
};
|
|
70
63
|
|
|
71
64
|
UserRecentsBase._itemSorter = function (oItem1, oItem2) {
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
var DisplayFormat = ushellLibrary.DisplayFormat;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* @
|
|
54
|
+
* @class
|
|
55
55
|
*/
|
|
56
56
|
var VizInstance = Control.extend("sap.ushell.ui.launchpad.VizInstance", /** @lends sap.ushell.ui.launchpad.VizInstance.prototype*/ {
|
|
57
57
|
metadata: {
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
var DisplayFormat = ushellLibrary.DisplayFormat;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @
|
|
20
|
+
* @class for a VizInstance for ABAP data
|
|
21
21
|
*
|
|
22
22
|
* @extends sap.ushell.ui.launchpad.VizInstance
|
|
23
23
|
* @name sap.ushell.ui.launchpad.VizInstanceAbap
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
var LoadState = mobileLibrary.LoadState;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* @
|
|
27
|
+
* @class for a VizInstance for CDM data
|
|
28
28
|
*
|
|
29
29
|
* @extends sap.ushell.ui.launchpad.VizInstance
|
|
30
30
|
* @name sap.ushell.ui.launchpad.VizInstanceCDM
|
package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLaunchPage.js
CHANGED
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
* retrieved from the SearchableContent service for the classic homepage.
|
|
16
16
|
* Only functionality that is needed by the search UI is implemented.
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
18
|
+
* @class for a VizInstance for Classic Homepage tiles
|
|
19
19
|
*
|
|
20
20
|
* @extends sap.ushell.ui.launchpad.VizInstance
|
|
21
21
|
* @param {object} vizData The visualization entity
|
|
@@ -40,24 +40,26 @@ sap.ui.define([
|
|
|
40
40
|
VizInstanceLaunchPage.prototype.load = function () {
|
|
41
41
|
var oTile = this.getInstantiationData().launchPageTile;
|
|
42
42
|
return sap.ushell.Container.getServiceAsync("LaunchPage")
|
|
43
|
-
.then(
|
|
44
|
-
return new Promise(
|
|
43
|
+
.then((oLaunchPageService) => {
|
|
44
|
+
return new Promise((resolve, reject) => {
|
|
45
|
+
// The abap platform instantiates CatalogTiles by default as preview true.
|
|
46
|
+
const bPreview = this.getPreview();
|
|
45
47
|
// on a classic homepage there can be different tiles where the data comes from different sources
|
|
46
48
|
// many of them will be catalog tiles but e.g. bookmarks are group tiles
|
|
47
49
|
// for catalog tiles
|
|
48
|
-
oLaunchPageService.getCatalogTileViewControl(oTile)
|
|
50
|
+
oLaunchPageService.getCatalogTileViewControl(oTile, bPreview)
|
|
49
51
|
.done(resolve)
|
|
50
|
-
.fail(
|
|
52
|
+
.fail(() => {
|
|
51
53
|
// for group tiles
|
|
52
54
|
oLaunchPageService.getTileView(oTile)
|
|
53
55
|
.done(resolve)
|
|
54
56
|
.fail(reject);
|
|
55
57
|
});
|
|
56
|
-
}).then(
|
|
58
|
+
}).then((oTileView) => {
|
|
57
59
|
this._setDisplayFormatFromTileSize(oTile, oLaunchPageService);
|
|
58
60
|
this.setContent(oTileView);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
+
});
|
|
62
|
+
});
|
|
61
63
|
};
|
|
62
64
|
|
|
63
65
|
/**
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* @extends sap.m.GenericTile
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.119.2
|
|
52
52
|
* @since 1.84.0
|
|
53
53
|
*
|
|
54
54
|
* @private
|
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
/**
|
|
174
174
|
* Destroys existing custom TileActions and adds them back.
|
|
175
175
|
* This allows TileActionsProviders to change their tileActions
|
|
176
|
-
* @returns {Promise<
|
|
176
|
+
* @returns {Promise<undefined>} Resolves when the tileActions were added
|
|
177
177
|
* @private
|
|
178
178
|
*/
|
|
179
179
|
VizInstanceLink.prototype._addCustomTileActions = function () {
|
|
@@ -11,8 +11,7 @@ sap.ui.define([], function () {
|
|
|
11
11
|
* Values are added at the "end" of the circular buffer,
|
|
12
12
|
* overwriting present values.
|
|
13
13
|
* Lookup by key is done in reverse order.
|
|
14
|
-
* @param {
|
|
15
|
-
* @constructor
|
|
14
|
+
* @param {int} iCapacity The capacity
|
|
16
15
|
* @class
|
|
17
16
|
* @since 1.28.0
|
|
18
17
|
* @private
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* (note you may use obj.function.bind(obj, arg1, ..., argN) to obtain a parameterless function)
|
|
25
25
|
*
|
|
26
26
|
* @param {function} fFn function to add to queue
|
|
27
|
-
* @
|
|
27
|
+
* @returns {object} next promise
|
|
28
28
|
* @private
|
|
29
29
|
*/
|
|
30
30
|
Sequentializer.prototype.addToQueue = function (fFn) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Fiori launchpad in a tree table separated by IconTabFilters for the first level properties of the configuration object.
|
|
10
10
|
* Also it provides a search for last level properties.
|
|
11
11
|
*
|
|
12
|
-
* @version 1.
|
|
12
|
+
* @version 1.119.2
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
15
|
"sap/ui/core/Core",
|
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
overflow: hidden scroll;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.sapUiTheme-sap_fiori_3 .searchCEPlistItemIcon {
|
|
25
|
+
color: #6a6d70 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sapUiTheme-sap_belize .searchCEPlistItemIcon {
|
|
29
|
+
color: #878787 !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
.sapUshellCEPSearchCenter {
|
|
25
33
|
margin: auto;
|
|
26
34
|
}
|
|
@@ -317,13 +317,13 @@ html[dir=rtl] .sapUiSizeCompact .sapUshellPopupContainer .sapMSLI {
|
|
|
317
317
|
font-size: 0.75rem;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
/* for size factors
|
|
321
|
-
|
|
320
|
+
/* for size factors the OpenUI5 phone, tablet, and desktop and LargeDesktop form factors and additionally
|
|
321
|
+
a shell specific form factor ExtraLargeDesktop are used;
|
|
322
|
+
see "sap.ui.Device.initRangeSet" for the breakpoint definitions for OpenUi5 and
|
|
323
|
+
see "sap.ushell.ui.ShellHeader.FLPRangeSet" for the shell specific breakpoint.
|
|
324
|
+
*/
|
|
322
325
|
|
|
323
|
-
.sapUiMedia-
|
|
324
|
-
.sapUshellShellHeader {
|
|
325
|
-
padding: 0 2.75rem; /* 2.75 + 0.25 of the headbegin/headend === 48px according to the specification */
|
|
326
|
-
}
|
|
326
|
+
.sapUiMedia-Ushell-ExtraLargeDesktop {
|
|
327
327
|
|
|
328
328
|
.sapUshellShellHeadBegin,
|
|
329
329
|
.sapUshellShellHeadEnd {
|
|
@@ -343,6 +343,12 @@ html[dir=rtl] .sapUiSizeCompact .sapUshellPopupContainer .sapMSLI {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
+
.sapUiMedia-StdExt-LargeDesktop {
|
|
347
|
+
.sapUshellShellHeader {
|
|
348
|
+
padding: 0 2.75rem; /* 2.75 + 0.25 of the headbegin/headend === 48px according to the specification */
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
346
352
|
.sapUiMedia-Std-Tablet {
|
|
347
353
|
.sapUshellShellHeader {
|
|
348
354
|
.sapUshellShellHeadTitle {
|
|
@@ -17,11 +17,41 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
[data-wp-breakpoint="lt-lp-4"],
|
|
21
|
+
[data-wp-breakpoint="lt-sp-4"],
|
|
22
|
+
[data-wp-breakpoint="st-lp-4"],
|
|
23
|
+
[data-wp-breakpoint="st-sp-4"] {
|
|
24
|
+
.workPageTitle {
|
|
25
|
+
margin-left: 2.375rem;
|
|
26
|
+
margin-right: 2.375rem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
[data-wp-breakpoint="lt-lp-3"],
|
|
30
|
+
[data-wp-breakpoint="lt-sp-3"],
|
|
31
|
+
[data-wp-breakpoint="st-lp-3"],
|
|
32
|
+
[data-wp-breakpoint="st-sp-3"],
|
|
33
|
+
[data-wp-breakpoint="lt-lp-2"],
|
|
34
|
+
[data-wp-breakpoint="lt-sp-2"],
|
|
35
|
+
[data-wp-breakpoint="st-lp-2"],
|
|
36
|
+
[data-wp-breakpoint="st-sp-2"] {
|
|
37
|
+
.workPageTitle {
|
|
38
|
+
margin-left: 2rem;
|
|
39
|
+
margin-right: 2rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
23
42
|
|
|
24
|
-
|
|
43
|
+
[data-wp-breakpoint="lt-lp-1"],
|
|
44
|
+
[data-wp-breakpoint="lt-sp-1"],
|
|
45
|
+
[data-wp-breakpoint="st-lp-1"],
|
|
46
|
+
[data-wp-breakpoint="st-sp-1"] {
|
|
47
|
+
.workPageTitle {
|
|
48
|
+
margin-left: 1.75rem;
|
|
49
|
+
margin-right: 1.75rem;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-wp-breakpoint="st-sp-0"] {
|
|
54
|
+
.workPageTitle {
|
|
25
55
|
margin-left: 0.5rem;
|
|
26
56
|
margin-right: 0.5rem;
|
|
27
57
|
}
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
margin-left: 0.5rem;
|
|
8
8
|
margin-right: 0.5rem;
|
|
9
9
|
|
|
10
|
+
[data-wp-breakpoint="st-sp-0"] &,
|
|
10
11
|
[data-wp-breakpoint="st-sp-1"] &,
|
|
11
12
|
[data-wp-breakpoint="st-lp-1"] &,
|
|
12
|
-
[data-wp-breakpoint="lt-sp-1"] {
|
|
13
|
+
[data-wp-breakpoint="lt-sp-1"] & {
|
|
13
14
|
margin-left: 0;
|
|
14
15
|
margin-right: 0;
|
|
15
16
|
}
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
|
|
103
104
|
[data-wp-breakpoint="lt-sp-1"],
|
|
104
105
|
[data-wp-breakpoint="st-sp-1"],
|
|
106
|
+
[data-wp-breakpoint="st-sp-0"],
|
|
105
107
|
[data-wp-breakpoint="lt-sp-2"],
|
|
106
108
|
[data-wp-breakpoint="st-sp-2"],
|
|
107
109
|
[data-wp-breakpoint="lt-sp-3"],
|