@sapui5/sap.ushell 1.117.2 → 1.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -5
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType.js +5 -7
- 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 +254 -190
- 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/SessionHandler.js +4 -4
- 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 +11 -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 +75 -62
- package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +5 -5
- 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 +15 -9
- 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 +11 -9
- package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +3 -3
- 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 +3 -2
- 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 +22 -28
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +10 -0
- 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 +4 -11
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +8 -4
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/EventProcessor.js +21 -2
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPLoader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +23 -7
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +4 -3
- 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 +3 -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/HeaderManager.js +6 -6
- 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 +17 -18
- 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/HierarchyAppsView.js +1 -1
- 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 +16 -16
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +8 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +9 -18
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +9 -5
- 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 +2 -4
- 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 +25 -23
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +3 -3
- 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 +4 -2
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +111 -35
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +37 -18
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +24 -15
- package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +67 -39
- 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/factsheet/tools/ODataUrlTemplating.js +1 -1
- 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 +94 -96
- 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 -1
- 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 +3 -3
- 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 +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +43 -40
- 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 +8 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +65 -17
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +18 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.view.xml +2 -2
- 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/Configuration.view.xml +2 -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 +4 -3
- 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 +332 -153
- 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 +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +9 -11
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +48 -48
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +12 -12
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +8 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +7 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +44 -44
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +7 -4
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +60 -10
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +12 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +8 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +10 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +6 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +13 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +11 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +10 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +50 -34
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +25 -0
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +13 -5
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +7 -3
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +5 -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/components/workPageRuntime/view/WorkPageRuntime.view.xml +5 -4
- 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 +111 -122
- package/src/main/js/sap/ushell/override.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +258 -183
- 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/LogonFrameProvider.js +2 -2
- 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 +67 -50
- package/src/main/js/sap/ushell/renderers/fiori2/ShellLayout.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +21 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ar.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_bg.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ca.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cs.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_cy.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_da.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +15 -4
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_el.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_GB.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_sappsd.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saprigi.properties +11 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_en_US_saptrc.properties +12 -0
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_es_MX.properties +14 -3
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_et.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_fr_CA.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_hu.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_id.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_it.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_iw.properties +16 -5
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ja.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_kk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ko.properties +13 -2
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lt.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_lv.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ms.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_nl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_no.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_pt_PT.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ro.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_ru.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sh.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sl.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_sv.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_th.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_tr.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_uk.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_vi.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_CN.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_zh_TW.properties +12 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/CEPSearchApp.controller.js +4 -4
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/controller/SearchApp.controller.js +3 -3
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/CEPSearchApp.view.js +4 -3
- package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/view/SearchApp.view.js +4 -3
- 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 +97 -101
- 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 +70 -43
- 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 +2 -2
- 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 +9 -8
- package/src/main/js/sap/ushell/services/UserInfo.js +8 -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 +6 -26
- 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 +2 -2
- 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/ContentFinder.less +8 -12
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +11 -4
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -4
- package/src/main/js/sap/ushell/themes/base/UserSettings.less +3 -46
- package/src/main/js/sap/ushell/themes/base/WorkPage.less +39 -10
- package/src/main/js/sap/ushell/themes/base/WorkPageButton.less +7 -7
- package/src/main/js/sap/ushell/themes/base/WorkPageCell.less +48 -45
- package/src/main/js/sap/ushell/themes/base/WorkPageColumn.less +7 -69
- package/src/main/js/sap/ushell/themes/base/WorkPageColumnResizer.less +43 -38
- package/src/main/js/sap/ushell/themes/base/WorkPageRow.less +879 -29
- package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +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/sap_horizon/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/WorkPageCell.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/SearchCEP.less +5 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/WorkPageCell.less +2 -1
- 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 +0 -33
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +16 -2
- 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 +35 -20
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +5 -5
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +13 -12
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +30 -23
- 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/TileContainerRenderer.js +3 -3
- 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/ShellAppTitle.js +3 -2
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +7 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +5 -4
- 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/DynamicTileRequest.js +353 -323
- 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 +167 -37
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
- package/ui5.yaml +2 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Menu.js +0 -22
- package/src/main/js/sap/ushell/utils/clone.js +0 -167
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ushell/utils/UrlShortening",
|
|
10
10
|
"sap/ushell/utils/UrlParsing",
|
|
11
11
|
"sap/ui/core/routing/HashChanger",
|
|
12
|
+
"sap/ui/performance/trace/Interaction",
|
|
12
13
|
"sap/ui/thirdparty/hasher",
|
|
13
14
|
"sap/ushell/TechnicalParameters",
|
|
14
15
|
"sap/base/util/merge",
|
|
@@ -21,6 +22,7 @@ sap.ui.define([
|
|
|
21
22
|
UrlShortening,
|
|
22
23
|
UrlParsing,
|
|
23
24
|
HashChanger,
|
|
25
|
+
Interaction,
|
|
24
26
|
hasher,
|
|
25
27
|
TechnicalParameters,
|
|
26
28
|
merge,
|
|
@@ -89,6 +91,9 @@ sap.ui.define([
|
|
|
89
91
|
}
|
|
90
92
|
};
|
|
91
93
|
|
|
94
|
+
const sModuleName = "ShellNavigationHashChanger";
|
|
95
|
+
const sLogFesrPrefix = "[FesrFlp]";
|
|
96
|
+
|
|
92
97
|
var ShellNavigationHashChanger = HashChanger.extend("sap.ushell.services.ShellNavigationHashChanger", {
|
|
93
98
|
constructor: function (oConfig) {
|
|
94
99
|
this.oServiceConfig = oConfig;
|
|
@@ -131,7 +136,7 @@ sap.ui.define([
|
|
|
131
136
|
/**
|
|
132
137
|
* Obtains the current shell hash (with #) urlDecoded
|
|
133
138
|
* Shortened(!)
|
|
134
|
-
* @
|
|
139
|
+
* @returns {object} Object containing the shell hash
|
|
135
140
|
* @private
|
|
136
141
|
*/
|
|
137
142
|
ShellNavigationHashChanger.prototype.privgetCurrentShellHash = function () {
|
|
@@ -145,7 +150,7 @@ sap.ui.define([
|
|
|
145
150
|
* Internally constructs the next hash, with #
|
|
146
151
|
* shortened(!)
|
|
147
152
|
* @param {string} sAppSpecific Application specific hash
|
|
148
|
-
* @
|
|
153
|
+
* @returns {string} constructed full hash
|
|
149
154
|
* @private
|
|
150
155
|
*/
|
|
151
156
|
ShellNavigationHashChanger.prototype.privconstructHash = function (sAppSpecific) {
|
|
@@ -157,7 +162,7 @@ sap.ui.define([
|
|
|
157
162
|
/**
|
|
158
163
|
* internal, without #
|
|
159
164
|
* @param {object} oShellHash shell hash concept
|
|
160
|
-
* @
|
|
165
|
+
* @returns {string} return constructed string
|
|
161
166
|
* @private
|
|
162
167
|
*/
|
|
163
168
|
ShellNavigationHashChanger.prototype.privconstructShellHash = function (oShellHash) {
|
|
@@ -265,7 +270,7 @@ sap.ui.define([
|
|
|
265
270
|
* @param {object} AppStateService The AppState service
|
|
266
271
|
* @param {object} oComponent a ui5 component
|
|
267
272
|
* @param {boolean} [bTransient] whether the AppState is supposed to be transient
|
|
268
|
-
* @
|
|
273
|
+
* @class
|
|
269
274
|
* @alias sap.ushell.services.StoreContext
|
|
270
275
|
* @class
|
|
271
276
|
*/
|
|
@@ -335,7 +340,7 @@ sap.ui.define([
|
|
|
335
340
|
|
|
336
341
|
/// protected API, only used by shell services
|
|
337
342
|
/**
|
|
338
|
-
* Returns a string which can be put into the DOM (e.g. in a link tag)
|
|
343
|
+
* Returns a string which can be put into the DOM (e.g. in a link tag), asynchronously.
|
|
339
344
|
* Please use CrossApplicationNavigation service and do not invoke this method directly
|
|
340
345
|
* if you are an application.
|
|
341
346
|
*
|
|
@@ -369,13 +374,7 @@ sap.ui.define([
|
|
|
369
374
|
* instead of a string.
|
|
370
375
|
* @param {object} [oComponent]
|
|
371
376
|
* an optional instance of sap.ui.core.UIComponent
|
|
372
|
-
* @
|
|
373
|
-
* indicates whether the method should return the result
|
|
374
|
-
* asynchronously. When set to <code>true</code>, the method
|
|
375
|
-
* returns a jQuery Deferred object that is resolved only after
|
|
376
|
-
* the URLShortening save operation is completed.
|
|
377
|
-
*
|
|
378
|
-
* @returns {object}
|
|
377
|
+
* @returns {Promise<object>}
|
|
379
378
|
* <p>a string that can be put into an href attribute of an
|
|
380
379
|
* HTML anchor. The returned string will always start with a
|
|
381
380
|
* hash character.</p>
|
|
@@ -398,12 +397,12 @@ sap.ui.define([
|
|
|
398
397
|
* <li><code>skippedParams</code> is an object containing truncated parameters if truncation occurred or undefined if not</li>
|
|
399
398
|
* </ul>
|
|
400
399
|
*
|
|
401
|
-
* @
|
|
400
|
+
* @memberof sap.ushell.services.ShellNavigation#
|
|
402
401
|
* @name hrefForExternal
|
|
403
402
|
* @since 1.15.0
|
|
404
403
|
* @private
|
|
405
404
|
*/
|
|
406
|
-
ShellNavigationHashChanger.prototype.hrefForExternal = function (oArgs, bVerbose, oComponent
|
|
405
|
+
ShellNavigationHashChanger.prototype.hrefForExternal = function (oArgs, bVerbose, oComponent) {
|
|
407
406
|
// must encode the result
|
|
408
407
|
function encodeResult (vResult, bIsVerbose) {
|
|
409
408
|
if (bIsVerbose === true) {
|
|
@@ -414,16 +413,84 @@ sap.ui.define([
|
|
|
414
413
|
return vResult;
|
|
415
414
|
}
|
|
416
415
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
.then(function (vResult) {
|
|
422
|
-
oDeferred.resolve(encodeResult(vResult, bVerbose));
|
|
423
|
-
})
|
|
424
|
-
.catch(oDeferred.reject.bind(oDeferred));
|
|
416
|
+
return this.hrefForExternalNoEncAsync(oArgs, bVerbose, oComponent).then(function (vResult) {
|
|
417
|
+
return encodeResult(vResult, bVerbose);
|
|
418
|
+
});
|
|
419
|
+
};
|
|
425
420
|
|
|
426
|
-
|
|
421
|
+
/**
|
|
422
|
+
* Returns a string which can be put into the DOM (e.g. in a link tag), synchronously.
|
|
423
|
+
* Please use CrossApplicationNavigation service and do not invoke this method directly
|
|
424
|
+
* if you are an application.
|
|
425
|
+
*
|
|
426
|
+
* @param {object} oArgs
|
|
427
|
+
* object encoding a semantic object and action
|
|
428
|
+
* e.g.:
|
|
429
|
+
* <pre>
|
|
430
|
+
* {
|
|
431
|
+
* target: {
|
|
432
|
+
* semanticObject: "AnObject",
|
|
433
|
+
* action: "Action"
|
|
434
|
+
* },
|
|
435
|
+
* params: {
|
|
436
|
+
* A: "B"
|
|
437
|
+
* }
|
|
438
|
+
* }
|
|
439
|
+
* </pre>
|
|
440
|
+
*
|
|
441
|
+
* or
|
|
442
|
+
*
|
|
443
|
+
* <pre>
|
|
444
|
+
* {
|
|
445
|
+
* target: {
|
|
446
|
+
* shellHash: "SO-36&jumper=postman"
|
|
447
|
+
* }
|
|
448
|
+
* }
|
|
449
|
+
* </pre>
|
|
450
|
+
* @param {boolean} [bVerbose]
|
|
451
|
+
* whether the response should be returned in verbose format. If
|
|
452
|
+
* this flag is set to true, this function returns an object
|
|
453
|
+
* instead of a string.
|
|
454
|
+
* @param {object} [oComponent]
|
|
455
|
+
* an optional instance of sap.ui.core.UIComponent
|
|
456
|
+
* @returns {object}
|
|
457
|
+
* <p>a string that can be put into an href attribute of an
|
|
458
|
+
* HTML anchor. The returned string will always start with a
|
|
459
|
+
* hash character.</p>
|
|
460
|
+
*
|
|
461
|
+
* <p>
|
|
462
|
+
* In case the <b>bVerbose</b> parameter is set to true, an
|
|
463
|
+
* object that wraps the result string will be returned
|
|
464
|
+
* instead:
|
|
465
|
+
* <pre>
|
|
466
|
+
* { hash : {string},
|
|
467
|
+
* params : {object}
|
|
468
|
+
* skippedParams : {object}
|
|
469
|
+
* }
|
|
470
|
+
* </pre>
|
|
471
|
+
* </p>
|
|
472
|
+
*
|
|
473
|
+
* where:
|
|
474
|
+
* <ul>
|
|
475
|
+
* <li><code>params</code> is an object containing non-truncated parameters</li>
|
|
476
|
+
* <li><code>skippedParams</code> is an object containing truncated parameters if truncation occurred or undefined if not</li>
|
|
477
|
+
* </ul>
|
|
478
|
+
*
|
|
479
|
+
* @memberof sap.ushell.services.ShellNavigation#
|
|
480
|
+
* @name hrefForExternal
|
|
481
|
+
* @since 1.119.0
|
|
482
|
+
* @deprecated since 1.119.0 Please use {@link #hrefForExternal} instead.
|
|
483
|
+
* @private
|
|
484
|
+
*/
|
|
485
|
+
ShellNavigationHashChanger.prototype.hrefForExternalSync = function (oArgs, bVerbose, oComponent) {
|
|
486
|
+
// must encode the result
|
|
487
|
+
function encodeResult (vResult, bIsVerbose) {
|
|
488
|
+
if (bIsVerbose === true) {
|
|
489
|
+
vResult.hash = encodeURI(vResult.hash);
|
|
490
|
+
} else {
|
|
491
|
+
vResult = encodeURI(vResult);
|
|
492
|
+
}
|
|
493
|
+
return vResult;
|
|
427
494
|
}
|
|
428
495
|
|
|
429
496
|
var vResult = this.hrefForExternalNoEnc(oArgs, bVerbose, oComponent);
|
|
@@ -434,7 +501,7 @@ sap.ui.define([
|
|
|
434
501
|
* Behaves as {@link #hrefForExternal} but does not encode the
|
|
435
502
|
* returned intents with encodeURI.
|
|
436
503
|
*
|
|
437
|
-
* @param {
|
|
504
|
+
* @param {object} oArgs
|
|
438
505
|
* object encoding a semantic object and action
|
|
439
506
|
* @param {boolean} [bVerbose]
|
|
440
507
|
* whether the response should be returned in verbose format.
|
|
@@ -448,10 +515,10 @@ sap.ui.define([
|
|
|
448
515
|
* <p>a string that can be put into an href attribute of an
|
|
449
516
|
* HTML anchor.</p>
|
|
450
517
|
*
|
|
451
|
-
* @
|
|
518
|
+
* @memberof sap.ushell.services.ShellNavigation#
|
|
452
519
|
* @name hrefForExternal
|
|
453
520
|
* @see {@link #hrefForExternal}
|
|
454
|
-
* @deprecated since 1.108. Please use {@link #hrefForExternalNoEncAsync} instead.
|
|
521
|
+
* @deprecated since 1.108.0 Please use {@link #hrefForExternalNoEncAsync} instead.
|
|
455
522
|
* @since 1.32.0
|
|
456
523
|
* @private
|
|
457
524
|
*/
|
|
@@ -493,7 +560,7 @@ sap.ui.define([
|
|
|
493
560
|
* Behaves as {@link #hrefForExternal} but does not encode the
|
|
494
561
|
* returned intents with encodeURI.
|
|
495
562
|
*
|
|
496
|
-
* @param {
|
|
563
|
+
* @param {object} oArgs
|
|
497
564
|
* object encoding a semantic object and action
|
|
498
565
|
* @param {boolean} [bVerbose]
|
|
499
566
|
* whether the response should be returned in verbose format.
|
|
@@ -540,17 +607,16 @@ sap.ui.define([
|
|
|
540
607
|
* Shortened(!)
|
|
541
608
|
* @param {object} oArgs arguments
|
|
542
609
|
* @param {object} oSaveContext Save context
|
|
543
|
-
* @
|
|
610
|
+
* @returns {string} Shell hash
|
|
544
611
|
*/
|
|
545
612
|
ShellNavigationHashChanger.prototype.privhrefForExternalNoEnc = function (oArgs, oSaveContext) {
|
|
546
|
-
var r;
|
|
547
613
|
if (oArgs === undefined) {
|
|
548
614
|
return this.privgetCurrentShellHash();
|
|
549
615
|
}
|
|
550
616
|
// construct url
|
|
551
617
|
if (oArgs && oArgs.target && (typeof oArgs.target.semanticObject === "string" || typeof oArgs.target.shellHash === "string")) {
|
|
552
|
-
|
|
553
|
-
return UrlShortening.compactHash(
|
|
618
|
+
const sHash = "#" + this.privconstructShellHash(oArgs);
|
|
619
|
+
return UrlShortening.compactHash(sHash, undefined, oSaveContext);
|
|
554
620
|
}
|
|
555
621
|
return this.privgetCurrentShellHash();
|
|
556
622
|
};
|
|
@@ -576,7 +642,7 @@ sap.ui.define([
|
|
|
576
642
|
*
|
|
577
643
|
* example: hrefForAppSpecificHash("View1/details/0/") returns
|
|
578
644
|
* "#MyApp-Display&/View1/details/0/"
|
|
579
|
-
* @
|
|
645
|
+
* @memberof sap.ushell.services.ShellNavigation#
|
|
580
646
|
* @name parseShellHash
|
|
581
647
|
* @since 1.15.0
|
|
582
648
|
* @private
|
|
@@ -590,18 +656,18 @@ sap.ui.define([
|
|
|
590
656
|
* Navigate to an external target
|
|
591
657
|
* Please use CrossApplicationNavigation service and do not invoke this method directly!
|
|
592
658
|
*
|
|
593
|
-
* @param {
|
|
659
|
+
* @param {object} oArgs configuration object describing the target
|
|
594
660
|
*
|
|
595
661
|
* e.g. { target : { semanticObject : "AnObject", action: "Action" },
|
|
596
662
|
* params : { A : "B" } }
|
|
597
663
|
*
|
|
598
664
|
* constructs sth. like http://....ushell#AnObject-Action?A=B ....
|
|
599
665
|
* and navigates to it.
|
|
600
|
-
* @param {
|
|
666
|
+
* @param {object} oComponent runtime
|
|
601
667
|
* @param {boolean} bWriteHistory
|
|
602
668
|
* set to false to invoke replaceHash
|
|
603
669
|
*
|
|
604
|
-
* @returns {Promise<
|
|
670
|
+
* @returns {Promise<undefined>} A Promise which resolves after the navigation was triggered
|
|
605
671
|
*
|
|
606
672
|
* @private
|
|
607
673
|
*/
|
|
@@ -633,7 +699,7 @@ sap.ui.define([
|
|
|
633
699
|
* This will start listening to hash changes and also fire a hash changed event with the initial hash.
|
|
634
700
|
* @param {function} fnShellCallback Shell callback
|
|
635
701
|
* @protected
|
|
636
|
-
* @
|
|
702
|
+
* @returns {boolean} false if it was initialized before, true if it was initialized the first time
|
|
637
703
|
*/
|
|
638
704
|
ShellNavigationHashChanger.prototype.initShellNavigation = function (fnShellCallback) {
|
|
639
705
|
if (this._initializedByShellNav) {
|
|
@@ -661,7 +727,7 @@ sap.ui.define([
|
|
|
661
727
|
* The init method of the base class is overridden, because the hasher initialization (registration for hash changes) is already done
|
|
662
728
|
* in <code>initShellNavigation</code> method. The application-specific initialization ensures that the application receives a hash change event for the
|
|
663
729
|
* application-specific part if set in the initial hash.
|
|
664
|
-
* @
|
|
730
|
+
* @returns {boolean} false if it was initialized before, true if it was initialized the first time
|
|
665
731
|
* @protected
|
|
666
732
|
*/
|
|
667
733
|
ShellNavigationHashChanger.prototype.init = function () {
|
|
@@ -687,6 +753,16 @@ sap.ui.define([
|
|
|
687
753
|
};
|
|
688
754
|
|
|
689
755
|
ShellNavigationHashChanger.prototype._setNavigationStatus = function (sNavigationStatus) {
|
|
756
|
+
// inform ui5 interaction about pending navigation
|
|
757
|
+
if (sNavigationStatus === NavigationState.InProgress && !this._fnResolveInteraction) {
|
|
758
|
+
Log.debug(`${sLogFesrPrefix} Interaction Start`, null, sModuleName);
|
|
759
|
+
this._fnResolveInteraction = Interaction.notifyAsyncStep();
|
|
760
|
+
} else if (sNavigationStatus === NavigationState.Finished && this._fnResolveInteraction) {
|
|
761
|
+
Log.debug(`${sLogFesrPrefix} Interaction End`, null, sModuleName);
|
|
762
|
+
this._fnResolveInteraction();
|
|
763
|
+
this._fnResolveInteraction = null;
|
|
764
|
+
}
|
|
765
|
+
|
|
690
766
|
this._oNavigationState.status = sNavigationStatus;
|
|
691
767
|
};
|
|
692
768
|
|
|
@@ -1034,7 +1110,7 @@ sap.ui.define([
|
|
|
1034
1110
|
* @param {string} sOldHash
|
|
1035
1111
|
* The old hash as returned by <code>treatHashChanged</code>
|
|
1036
1112
|
*
|
|
1037
|
-
* @
|
|
1113
|
+
* @returns {boolean}
|
|
1038
1114
|
* Whether the hash change is only in the appSpecificRoute.
|
|
1039
1115
|
*
|
|
1040
1116
|
* @protected
|
|
@@ -1057,7 +1133,7 @@ sap.ui.define([
|
|
|
1057
1133
|
* @param {object} oNewHash New hash split by privsplitHash
|
|
1058
1134
|
* @param {object} oOldHash Old hash split by privsplitHash
|
|
1059
1135
|
*
|
|
1060
|
-
* @
|
|
1136
|
+
* @returns {boolean}
|
|
1061
1137
|
* Whether two hash fragments have the same semantic object and action
|
|
1062
1138
|
* during an app-to-app navigation.
|
|
1063
1139
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* it is pertinent that the API user employs this service's version of <code>toExternal()</code> for cross application
|
|
13
13
|
* navigation (instead) of using the one provided by CrossApplicationNavigation service.</p>
|
|
14
14
|
*
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.119.0
|
|
16
16
|
*/
|
|
17
17
|
sap.ui.define([
|
|
18
18
|
"sap/ui/thirdparty/jquery",
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
47
47
|
*
|
|
48
48
|
* @name sap.ushell.services.SmartNavigation
|
|
49
|
-
* @
|
|
49
|
+
* @class
|
|
50
50
|
* @public
|
|
51
51
|
* @deprecated since 1.112. This service has been deprecated. Please use the CrossApplicationNavigation service instead.
|
|
52
52
|
* @since 1.44.0
|
|
@@ -358,8 +358,8 @@ sap.ui.define([
|
|
|
358
358
|
* For object inputs, this method is guaranteed to execute with a meaningful outcome provided
|
|
359
359
|
* that the input passed has an appropriately implemented `toString` method.
|
|
360
360
|
*
|
|
361
|
-
* @param {object|string|
|
|
362
|
-
* @returns {
|
|
361
|
+
* @param {object|string|int|undefined} vAny Value for which hash code should be calculated.
|
|
362
|
+
* @returns {int} Hash code of the input value.
|
|
363
363
|
*/
|
|
364
364
|
SmartNavigation.prototype._getHashCode = function (vAny) {
|
|
365
365
|
var sAny = vAny + "";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview APIs for the S/4 MyHome
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.119.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell/Config",
|
|
@@ -36,7 +36,6 @@ sap.ui.define([
|
|
|
36
36
|
*
|
|
37
37
|
* @namespace sap.ushell.services.SpaceContent
|
|
38
38
|
*
|
|
39
|
-
* @constructor
|
|
40
39
|
* @class
|
|
41
40
|
* @see {@link sap.ushell.services.Container#getServiceAsync}
|
|
42
41
|
* @since 1.103.0
|
|
@@ -116,7 +115,7 @@ sap.ui.define([
|
|
|
116
115
|
* @param {int} sectionIndex The index of the added section on the page
|
|
117
116
|
* @param {object} [sectionProperties] Properties of the added section
|
|
118
117
|
*
|
|
119
|
-
* @returns {Promise<
|
|
118
|
+
* @returns {Promise<undefined>} Promise which resolves after the personalization was saved
|
|
120
119
|
*
|
|
121
120
|
* @since 1.103.0
|
|
122
121
|
*
|
|
@@ -140,7 +139,7 @@ sap.ui.define([
|
|
|
140
139
|
* @param {string} [sectionId] The ID of the section the visualization should be added to
|
|
141
140
|
* @param {string} vizId The ID of the visualization to add
|
|
142
141
|
*
|
|
143
|
-
* @returns {Promise<
|
|
142
|
+
* @returns {Promise<undefined>} Promise which resolves after the personalization was saved
|
|
144
143
|
*
|
|
145
144
|
* @since 1.103.0
|
|
146
145
|
*
|
|
@@ -191,7 +190,7 @@ sap.ui.define([
|
|
|
191
190
|
* @param {string} [visualizationData.subtitle] The subtitle of the visualization
|
|
192
191
|
* @param {string} [visualizationData.info] The information text of the visualization
|
|
193
192
|
*
|
|
194
|
-
* @returns {Promise<
|
|
193
|
+
* @returns {Promise<undefined>} The promise resolves when the visualization has been updated successfully
|
|
195
194
|
*
|
|
196
195
|
* @since 1.105
|
|
197
196
|
* @private
|
|
@@ -220,7 +219,7 @@ sap.ui.define([
|
|
|
220
219
|
* @param {int} sectionIndex The index of the section from where the visualization is deleted
|
|
221
220
|
* @param {int} visualizationIndex The index of the deleted visualization
|
|
222
221
|
*
|
|
223
|
-
* @returns {Promise<
|
|
222
|
+
* @returns {Promise<undefined>} Promise which resolves after the personalization was saved.
|
|
224
223
|
*
|
|
225
224
|
* @since 1.103.0
|
|
226
225
|
* @private
|
|
@@ -76,7 +76,7 @@ sap.ui.define([
|
|
|
76
76
|
* <p>
|
|
77
77
|
* The service enablement depends on the configuration in the back-end system and the bootstrap configuration.
|
|
78
78
|
*
|
|
79
|
-
* @
|
|
79
|
+
* @returns {boolean} <code>true</code> if the service is enabled; <code>false</code> otherwise
|
|
80
80
|
*
|
|
81
81
|
* @public
|
|
82
82
|
* @alias sap.ushell.services.SupportTicket#isEnabled
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's UI tracing service.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.
|
|
6
|
+
* @version 1.119.0
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ushell/EventHub",
|
|
@@ -219,7 +219,7 @@ sap.ui.define([
|
|
|
219
219
|
this._sDeviceType = this._getDeviceType();
|
|
220
220
|
|
|
221
221
|
if (sap.ushell.Container) {
|
|
222
|
-
sap.ushell.Container.getFLPPlatform().then(function (sPlatform) {
|
|
222
|
+
this._initialized = sap.ushell.Container.getFLPPlatform().then(function (sPlatform) {
|
|
223
223
|
if (sPlatform === "MYHOME") {
|
|
224
224
|
this._sSiteType = "sap-start" + this._sSpacesPages;
|
|
225
225
|
return;
|
|
@@ -236,8 +236,10 @@ sap.ui.define([
|
|
|
236
236
|
this._sSiteType = "wz-advanced" + this._sSpacesPages;
|
|
237
237
|
}
|
|
238
238
|
}.bind(this));
|
|
239
|
-
});
|
|
239
|
+
}.bind(this));
|
|
240
240
|
}.bind(this));
|
|
241
|
+
} else {
|
|
242
|
+
this._initialized = Promise.resolve();
|
|
241
243
|
}
|
|
242
244
|
}
|
|
243
245
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* @fileOverview URLShortening
|
|
5
5
|
*
|
|
6
6
|
* Service wrapper for the sap/ushell/utils/UrlShortening module.
|
|
7
|
-
*
|
|
7
|
+
* @deprecated since 1.118. Please use the UrlShortening module directly.
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.119.0
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define(["sap/ushell/utils/UrlShortening"], function (UrlShortening) {
|
|
12
12
|
"use strict";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The URLTemplate service provides utilities when working with URL templates
|
|
4
|
-
* @version 1.
|
|
4
|
+
* @version 1.119.0
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ushell/utils",
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Constructs a new instance of the URLTemplate service.
|
|
19
19
|
*
|
|
20
20
|
* @namespace sap.ushell.services.URLTemplate
|
|
21
|
-
* @
|
|
21
|
+
* @class
|
|
22
22
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
23
23
|
* @since 1.94.0
|
|
24
24
|
* @private
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's UI5 component loader service.
|
|
5
5
|
* This is a shell-internal service and no public or application facing API!
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.119.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/Config",
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @param {*} sParameter Not used
|
|
48
48
|
* @param {*} oConfig Used to configure the loader with properties loadDefaultDependencies
|
|
49
49
|
* @private
|
|
50
|
-
* @
|
|
50
|
+
* @class
|
|
51
51
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
52
52
|
* @since 1.38.0
|
|
53
53
|
*/
|
|
@@ -58,8 +58,8 @@ sap.ui.define([
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Logger adding a trace an propagates the eror
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
61
|
+
* @param {object} oComponentProperties The component properties
|
|
62
|
+
* @param {object} vError The error to be logged
|
|
63
63
|
* @returns {Promise} Promise that resolves with vError
|
|
64
64
|
*/
|
|
65
65
|
this._logStackTrace = function (oComponentProperties, vError) {
|
|
@@ -80,7 +80,7 @@ sap.ui.define([
|
|
|
80
80
|
* It is the wrapper for the adapter, that may implement this method or not
|
|
81
81
|
* @param {object} oData The oData with component properties as a member
|
|
82
82
|
* @param {string} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
|
|
83
|
-
* @
|
|
83
|
+
* @returns {Promise} oPromise The promise that resolves with the modified oData
|
|
84
84
|
*/
|
|
85
85
|
this.modifyComponentProperties = function (oData, sUI5ComponentType) {
|
|
86
86
|
if (!this._oAdapter.modifyComponentProperties) {
|
|
@@ -106,7 +106,7 @@ sap.ui.define([
|
|
|
106
106
|
* the Component class until those Promises are resolved.
|
|
107
107
|
* @param {string} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
|
|
108
108
|
* as defined ushellLibrary
|
|
109
|
-
* @
|
|
109
|
+
* @returns {jQuery.Deferred.promise} a jQuery promise which resolves with the application properties object which is enriched
|
|
110
110
|
* with an <code>componentHandle<code> object that encapsulates the loaded component.
|
|
111
111
|
* If the UI5 core resources have been loaded completely as a result of this call
|
|
112
112
|
* (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
|
|
@@ -216,7 +216,7 @@ sap.ui.define([
|
|
|
216
216
|
* (the result of a navigation target resolution).
|
|
217
217
|
*
|
|
218
218
|
* @param {object} oData Contains all application & component properties and data
|
|
219
|
-
* @
|
|
219
|
+
* @returns {jQuery.Deferred.promise} a jQuery promise which resolves with the application properties object which is enriched
|
|
220
220
|
* with an <code>componentHandle<code> object that encapsulates the loaded component.
|
|
221
221
|
* If the UI5 core resources have been loaded completely as a result of this call
|
|
222
222
|
* (either customPreload is disabled or the core-ext-light.js module is loaded as part of this call or was already loaded),
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This is *not* an application facing service, but for Shell Internal usage.
|
|
16
16
|
*
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.119.0
|
|
18
18
|
*/
|
|
19
19
|
sap.ui.define([
|
|
20
20
|
"sap/base/Log",
|
|
@@ -48,7 +48,6 @@ sap.ui.define([
|
|
|
48
48
|
* @param {object} oContainerInterface interface
|
|
49
49
|
* @param {string} sParameter Service instantiation
|
|
50
50
|
* @param {object} oConfig Service configuration (not in use)
|
|
51
|
-
* @constructor
|
|
52
51
|
* @class
|
|
53
52
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
54
53
|
* @since 1.32.0
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
* This service should be accessed by the application
|
|
8
8
|
* via the CrossApplicationNavigation service.
|
|
9
9
|
*
|
|
10
|
-
* @version 1.
|
|
10
|
+
* @version 1.119.0
|
|
11
11
|
*/
|
|
12
12
|
sap.ui.define([
|
|
13
13
|
"sap/base/Log",
|
|
14
|
+
"sap/base/util/deepClone",
|
|
14
15
|
"sap/base/util/deepEqual",
|
|
15
16
|
"sap/base/util/deepExtend",
|
|
16
17
|
"sap/base/util/isEmptyObject",
|
|
@@ -19,6 +20,7 @@ sap.ui.define([
|
|
|
19
20
|
"sap/ushell/utils"
|
|
20
21
|
], function (
|
|
21
22
|
Log,
|
|
23
|
+
deepClone,
|
|
22
24
|
deepEqual,
|
|
23
25
|
deepExtend,
|
|
24
26
|
isEmptyObject,
|
|
@@ -45,7 +47,6 @@ sap.ui.define([
|
|
|
45
47
|
*
|
|
46
48
|
*
|
|
47
49
|
* @private
|
|
48
|
-
* @constructor
|
|
49
50
|
* @class
|
|
50
51
|
* @see sap.ushell.services.Container#getServiceAsync
|
|
51
52
|
*
|
|
@@ -67,7 +68,7 @@ sap.ui.define([
|
|
|
67
68
|
*
|
|
68
69
|
* @param {object} oPlugin a plug-in
|
|
69
70
|
*
|
|
70
|
-
* @returns {
|
|
71
|
+
* @returns {int} an integer value (default 0) representing the priority of the plug-in
|
|
71
72
|
*
|
|
72
73
|
*/
|
|
73
74
|
function getPrio (oPlugin) {
|
|
@@ -281,7 +282,7 @@ sap.ui.define([
|
|
|
281
282
|
.always(function () {
|
|
282
283
|
var oStoreValue = {
|
|
283
284
|
parameterName: sParameterName,
|
|
284
|
-
parameterValue:
|
|
285
|
+
parameterValue: deepClone(oValueObject || {}),
|
|
285
286
|
systemContext: oSystemContext
|
|
286
287
|
};
|
|
287
288
|
|
|
@@ -341,7 +342,7 @@ sap.ui.define([
|
|
|
341
342
|
* @param {array} aMembersToCheck
|
|
342
343
|
* An array of members to check
|
|
343
344
|
*
|
|
344
|
-
* @
|
|
345
|
+
* @returns {boolean}
|
|
345
346
|
* true if each member in <code>aMembersToCheck</code> has the same
|
|
346
347
|
* value in both the objects. false in case at least one member
|
|
347
348
|
* differs.
|
|
@@ -490,7 +491,7 @@ sap.ui.define([
|
|
|
490
491
|
});
|
|
491
492
|
}.bind(this))
|
|
492
493
|
.then(function (oPersistedValue) {
|
|
493
|
-
var oValueClone =
|
|
494
|
+
var oValueClone = deepClone(oPersistedValue);
|
|
494
495
|
|
|
495
496
|
var bAskValueToPlugins =
|
|
496
497
|
(!oPersistedValue._shellData && this._valueIsEmpty(oPersistedValue)) // _shellData is added by the shell when the parameter is stored
|
|
@@ -829,7 +830,7 @@ sap.ui.define([
|
|
|
829
830
|
* @param {function} fnFunction
|
|
830
831
|
* Event handler to be attached.
|
|
831
832
|
*
|
|
832
|
-
* @
|
|
833
|
+
* @memberof sap.ushell.services.UserDefaultParameters#
|
|
833
834
|
* @name attachValueStored
|
|
834
835
|
* @since 1.34.0
|
|
835
836
|
* @public
|
|
@@ -845,7 +846,7 @@ sap.ui.define([
|
|
|
845
846
|
* @param {function} fnFunction
|
|
846
847
|
* Event handler to be detached.
|
|
847
848
|
*
|
|
848
|
-
* @
|
|
849
|
+
* @memberof sap.ushell.services.UserDefaultParameters#
|
|
849
850
|
* @name detachValueStored
|
|
850
851
|
* @since 1.34.0
|
|
851
852
|
* @public
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's user information service, which allows you to retrieve
|
|
5
5
|
* information about the user.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.119.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -144,6 +144,13 @@ sap.ui.define([
|
|
|
144
144
|
fullName: this.getFullName()
|
|
145
145
|
});
|
|
146
146
|
};
|
|
147
|
+
/**
|
|
148
|
+
* Returns the list of available calendar week numberings to the user.
|
|
149
|
+
* @returns {Array|null} Array of calendar week numberings, null if method in adapter does not exist.
|
|
150
|
+
*/
|
|
151
|
+
this.getCalendarWeekNumberingList = function () {
|
|
152
|
+
return oAdapter.getCalendarWeekNumberingList?.();
|
|
153
|
+
};
|
|
147
154
|
|
|
148
155
|
/**
|
|
149
156
|
* Returns the list of themes available for the user.
|