@sapui5/sap.ushell 1.124.1 → 1.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +29 -27
- package/src/main/js/sap/ushell/Container.js +6 -10
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +13 -10
- package/src/main/js/sap/ushell/Layout.js +7 -4
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +5 -3
- 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 +9 -3
- package/src/main/js/sap/ushell/UserActivityLog.js +5 -3
- 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 +4 -4
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +2 -4
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +12 -10
- package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +8 -6
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +14 -13
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +7 -5
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +15 -13
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +6 -4
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +7 -5
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +7 -9
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +7 -5
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +5 -3
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +6 -4
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +5 -4
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +5 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +11 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +1 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_sh.properties +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +5 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +37 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +21 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +21 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +38 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +19 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +20 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +28 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +8 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +20 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +18 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +16 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +14 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +24 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +18 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +23 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +21 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +28 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +35 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +19 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +13 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +8 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +9 -4
- package/src/main/js/sap/ushell/components/CatalogsManager.js +24 -16
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +14 -12
- package/src/main/js/sap/ushell/components/HomepageManager.js +6 -4
- package/src/main/js/sap/ushell/components/MessagingHelper.js +5 -4
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +6 -4
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +6 -4
- package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +5 -3
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +4 -2
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +18 -23
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +6 -4
- package/src/main/js/sap/ushell/components/appfinder/Component.js +6 -4
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +10 -10
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +6 -4
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +5 -3
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +78 -3
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +254 -94
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +3 -2
- package/src/main/js/sap/ushell/components/cards/Card.controller.js +5 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +9 -14
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_sh.properties +5 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +7 -14
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sh.properties +19 -19
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +2 -2
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +1 -1
- package/src/main/js/sap/ushell/components/container/resources/resources_sh.properties +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +3 -3
- package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +3 -5
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +2 -27
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +6 -5
- package/src/main/js/sap/ushell/components/pages/Component.js +5 -4
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +9 -7
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +10 -8
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +18 -13
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +6 -5
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +21 -32
- 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 +8 -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 +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +15 -11
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +8 -5
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +6 -4
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +5 -4
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +5 -4
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +10 -8
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +7 -5
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +9 -7
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +6 -4
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +5 -3
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +6 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +6 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +9 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +6 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +7 -5
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +11 -9
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +9 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +5 -3
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +6 -4
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +11 -9
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +5 -3
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +6 -4
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +5 -3
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +5 -3
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +10 -10
- 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 +6 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +17 -17
- 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 -4
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +8 -6
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_sh.properties +2 -2
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +6 -4
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +5 -3
- package/src/main/js/sap/ushell/renderer/Renderer.js +34 -35
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +36 -36
- package/src/main/js/sap/ushell/renderer/Shell.view.js +9 -4
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +8 -6
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +13 -11
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +26 -29
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +25 -28
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +0 -924
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +27 -30
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +22 -25
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +24 -27
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +26 -29
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +24 -27
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +22 -25
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +30 -33
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +13 -16
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +118 -121
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +20 -23
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +15 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +21 -24
- package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +4 -3
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +323 -273
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +14 -14
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +12 -10
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +14 -9
- package/src/main/js/sap/ushell/services/CommonDataModel.js +7 -5
- package/src/main/js/sap/ushell/services/Configuration.js +5 -4
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +2 -2
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +9 -7
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +18 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +8 -6
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +18 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +6 -4
- package/src/main/js/sap/ushell/services/Message.js +91 -412
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +448 -0
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -1
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/Notifications.js +4 -2
- package/src/main/js/sap/ushell/services/NotificationsV2.js +7 -5
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +7 -5
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +13 -11
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +5 -4
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +3 -3
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +38 -56
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +8 -6
- package/src/main/js/sap/ushell/services/SpaceContent.js +16 -14
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLParsing.js +6 -4
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +6 -4
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +11 -9
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +2 -2
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +7 -5
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +6 -4
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +3 -3
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +2 -2
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +32 -24
- package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +10 -1
- package/src/main/js/sap/ushell/themes/sap_belize_base/.theming +4 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ActionMode.less +107 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/AddBookmarkButton.less +37 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/AnchorItem.less +81 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/AnchorNavigationBar.less +86 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/AppearanceView.less +213 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ApplicationContainer.less +37 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Catalog.less +387 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ContactSupport.less +12 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ContentFinder.less +26 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/CustomGroupHeaderListItem.less +10 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Dashboard.less +66 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/DynamicTile.less +114 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Factsheet.less +225 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/FloatingContainer.less +125 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/FlpSettings.less +83 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/GroupList.less +68 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/GroupListItem.less +54 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/IconFonts.less +21 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ImageTile.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/LoadingDialog.less +47 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/MenuBar.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Notifications.less +135 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Page.less +49 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/PictureTile.less +119 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/PictureViewer.less +25 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/PlusTile.less +38 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/QuickAccess.less +18 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/RightFloatingContainerItem.less +82 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/SearchCEP.less +121 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/SearchFLP.less +10 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Section.less +60 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellAppTitle.less +207 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellFloatingAction.less +61 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellFloatingActions.less +14 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellHeader.less +389 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellLayout.less +168 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/SidePane.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/StaticTile.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/SubHeader.less +3 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/SysInfoBar.less +164 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/TargetMappingConfiguration.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Tile.less +223 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/TileBase.less +152 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/TileContainer.less +495 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/TilePlaceholder.less +75 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/TileState.less +62 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ToolAreaItem.less +85 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/UserActionsMenu.less +23 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/UserConsentDialog.less +52 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/UserSettings.less +113 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/ViewPortContainer.less +28 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPage.less +58 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPageButton.less +60 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPageCell.less +144 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPageColumn.less +39 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPageColumnResizer.less +128 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/WorkPageRow.less +987 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/library.source.less +64 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/shared.less +40 -0
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +10 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +10 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellHeader.less +9 -18
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellHeader.less +9 -18
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellHeader.less +7 -14
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellHeader.less +7 -14
- package/src/main/js/sap/ushell/ui/AppContainer.js +5 -3
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +78 -21
- package/src/main/js/sap/ushell/ui/ContentNodeSelectorRenderer.js +32 -0
- package/src/main/js/sap/ushell/ui/ShellHeader.js +8 -5
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +1 -1
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +5 -4
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +6 -5
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +11 -7
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.fragment.xml +3 -3
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +4 -4
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +6 -4
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +8 -5
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +8 -6
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +10 -7
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +5 -3
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +6 -4
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +7 -4
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +14 -10
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +10 -7
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceAbap.js +4 -3
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +5 -3
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +3 -0
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLink.js +5 -3
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +9 -7
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +2 -0
- package/src/main/js/sap/ushell/utils/UriParameters.js +43 -0
- package/src/main/js/sap/ushell/utils/UrlParsing.js +2 -4
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/WindowUtils.js +3 -5
- package/src/main/js/sap/ushell/utils/chipsUtils.js +4 -3
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_en.properties +5 -4
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_sh.properties +21 -20
- package/src/main/js/sap/ushell/utils.js +69 -64
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +6 -8
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.control.xml +0 -26
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @fileOverview The Unified Shell's message service.
|
|
5
|
+
* This is a private service replacing the depercated Message service, as the functionality is used thoughout the ushell.
|
|
6
|
+
*
|
|
7
|
+
* @version 1.125.0
|
|
8
|
+
*/
|
|
9
|
+
sap.ui.define([
|
|
10
|
+
"sap/base/Log",
|
|
11
|
+
"sap/m/MessageBox",
|
|
12
|
+
"sap/ushell/Config",
|
|
13
|
+
"sap/ushell/resources",
|
|
14
|
+
"sap/m/Dialog",
|
|
15
|
+
"sap/m/Text",
|
|
16
|
+
"sap/m/Link",
|
|
17
|
+
"sap/m/Button",
|
|
18
|
+
"sap/m/VBox",
|
|
19
|
+
"sap/m/FormattedText",
|
|
20
|
+
"sap/m/library",
|
|
21
|
+
"sap/ui/core/library"
|
|
22
|
+
], function (
|
|
23
|
+
Log,
|
|
24
|
+
MessageBox,
|
|
25
|
+
Config,
|
|
26
|
+
resources,
|
|
27
|
+
Dialog,
|
|
28
|
+
Text,
|
|
29
|
+
Link,
|
|
30
|
+
Button,
|
|
31
|
+
VBox,
|
|
32
|
+
FormattedText,
|
|
33
|
+
mobileLibrary,
|
|
34
|
+
coreLibrary
|
|
35
|
+
) {
|
|
36
|
+
"use strict";
|
|
37
|
+
|
|
38
|
+
// shortcut for sap.m.ButtonType
|
|
39
|
+
var ButtonType = mobileLibrary.ButtonType;
|
|
40
|
+
|
|
41
|
+
// shortcut for sap.m.DialogType
|
|
42
|
+
var DialogType = mobileLibrary.DialogType;
|
|
43
|
+
|
|
44
|
+
// shortcut for sap.ui.core.ValueState
|
|
45
|
+
var ValueState = coreLibrary.ValueState;
|
|
46
|
+
|
|
47
|
+
// shortcut for sap.m.FlexRendertype
|
|
48
|
+
var FlexRendertype = mobileLibrary.FlexRendertype;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @alias sap.ushell.services.MessageInternal
|
|
52
|
+
* @class
|
|
53
|
+
* @classdesc MessageInternal service.
|
|
54
|
+
*
|
|
55
|
+
* <b>Note:</b> To retrieve a valid instance of this service, it is necessary to call {@link sap.ushell.Container#getServiceAsync}.
|
|
56
|
+
* <pre>
|
|
57
|
+
* sap.ui.require(["sap/ushell/Container"], async function (Container) {
|
|
58
|
+
* const MessageInternal = await Container.getServiceAsync("MessageInternal");
|
|
59
|
+
* // do something with the MessageInternal service
|
|
60
|
+
* });
|
|
61
|
+
* </pre>
|
|
62
|
+
*
|
|
63
|
+
* @augments sap.ushell.services.Service
|
|
64
|
+
* @hideconstructor
|
|
65
|
+
*
|
|
66
|
+
* @since 1.124.0
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
function MessageInternal () {
|
|
70
|
+
var fnShellCallBackFunction;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Initialization:
|
|
74
|
+
* This method is to be invoked by the Shell to register the message callback function.
|
|
75
|
+
* The signature of the callback is defined via the show function.
|
|
76
|
+
*
|
|
77
|
+
* @param {function} fnShellCallback callback for the shell to execute showing the message
|
|
78
|
+
* @returns {this} <code>this</code> for method chaining
|
|
79
|
+
*
|
|
80
|
+
* @private
|
|
81
|
+
*/
|
|
82
|
+
this.init = function (fnShellCallback) {
|
|
83
|
+
fnShellCallBackFunction = fnShellCallback;
|
|
84
|
+
|
|
85
|
+
return this;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Shows a message on the screen.
|
|
90
|
+
*
|
|
91
|
+
* @param {sap.ushell.services.MessageInternal.Type} iType message type
|
|
92
|
+
* @param {string} sMessage the localized message as plain text
|
|
93
|
+
* @param {object} oParameters Some parameters
|
|
94
|
+
*
|
|
95
|
+
* @private
|
|
96
|
+
*/
|
|
97
|
+
this.show = function (iType, sMessage, oParameters) {
|
|
98
|
+
if (!sMessage) {
|
|
99
|
+
Log.error("Message must not be empty.");
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
if (fnShellCallBackFunction && typeof fnShellCallBackFunction === "function") {
|
|
104
|
+
fnShellCallBackFunction(iType, sMessage, oParameters || {});
|
|
105
|
+
} else {
|
|
106
|
+
this.buildMessage(iType, sMessage, oParameters || {});
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Decides wether a MessageBox or a SupportMessage needs to be send and accordingly builds a configuration for it.
|
|
112
|
+
*
|
|
113
|
+
* @param {int} iType message type
|
|
114
|
+
* @param {string} sMessage message text
|
|
115
|
+
* @param {object} oParameters message parameters
|
|
116
|
+
*
|
|
117
|
+
* @private
|
|
118
|
+
*/
|
|
119
|
+
this.buildMessage = function (iType, sMessage, oParameters) {
|
|
120
|
+
var oMessageBoxConfig = {
|
|
121
|
+
title: oParameters.title,
|
|
122
|
+
actions: oParameters.actions,
|
|
123
|
+
details: oParameters.details,
|
|
124
|
+
onClose: oParameters.callback,
|
|
125
|
+
emphasizedAction: oParameters.emphasizedAction
|
|
126
|
+
};
|
|
127
|
+
var sMessageBoxType;
|
|
128
|
+
|
|
129
|
+
switch (iType) {
|
|
130
|
+
case MessageInternal.Type.ERROR:
|
|
131
|
+
this._createAndOpenErrorDialog(sMessage, oMessageBoxConfig);
|
|
132
|
+
return;
|
|
133
|
+
case MessageInternal.Type.CONFIRM:
|
|
134
|
+
if (!oParameters.actions) {
|
|
135
|
+
sMessageBoxType = "confirm";
|
|
136
|
+
} else if (oParameters.actions.indexOf("DELETE") > -1) {
|
|
137
|
+
sMessageBoxType = "warning";
|
|
138
|
+
oMessageBoxConfig.emphasizedAction = MessageBox.Action.DELETE;
|
|
139
|
+
} else {
|
|
140
|
+
oMessageBoxConfig.icon = MessageBox.Icon.QUESTION;
|
|
141
|
+
sMessageBoxType = "show";
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case MessageInternal.Type.INFO:
|
|
145
|
+
sMessageBoxType = "info";
|
|
146
|
+
this.buildAndSendMessageToast(sMessage, oParameters.duration || 3000);
|
|
147
|
+
// Show only Toast. Don't need to show the MessageBox.
|
|
148
|
+
return;
|
|
149
|
+
default:
|
|
150
|
+
oMessageBoxConfig = { duration: oParameters.duration || 3000 };
|
|
151
|
+
sMessageBoxType = "show";
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
this.sendMessageBox(sMessage, sMessageBoxType, oMessageBoxConfig); // Give me some parameters please!
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Copies the content of the dialog to the clipboard.
|
|
160
|
+
*
|
|
161
|
+
* @param {string} message The message displayed by the dialog.
|
|
162
|
+
* @param {object} config The configuration of the dialog.
|
|
163
|
+
* @param {string} dialogTitle The title of the dialog.
|
|
164
|
+
*
|
|
165
|
+
* @private
|
|
166
|
+
*/
|
|
167
|
+
this._copyToClipboard = function (message, config, dialogTitle) {
|
|
168
|
+
var sFormattedDetails = config.details;
|
|
169
|
+
|
|
170
|
+
if (typeof config.details === "object") {
|
|
171
|
+
// Using stringify() with "tab" as space argument and escaping the JSON to prevent binding
|
|
172
|
+
sFormattedDetails = JSON.stringify(config.details, null, "\t");
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
var aCopiedText = [
|
|
176
|
+
"Title: " + (dialogTitle || "-"),
|
|
177
|
+
"Message: " + (message || "-"),
|
|
178
|
+
"Details: " + (sFormattedDetails || "-")
|
|
179
|
+
];
|
|
180
|
+
|
|
181
|
+
var oElementWithPrevFocus = document.activeElement;
|
|
182
|
+
var oTemporaryDomElement = document.createElement("textarea");
|
|
183
|
+
var sMessageToastText;
|
|
184
|
+
|
|
185
|
+
try {
|
|
186
|
+
oTemporaryDomElement.contentEditable = true;
|
|
187
|
+
oTemporaryDomElement.readonly = false;
|
|
188
|
+
oTemporaryDomElement.innerText = aCopiedText.join("\n");
|
|
189
|
+
document.documentElement.appendChild(oTemporaryDomElement);
|
|
190
|
+
|
|
191
|
+
if (navigator.userAgent.match(/ipad|iphone/i)) {
|
|
192
|
+
var oRange = document.createRange();
|
|
193
|
+
oRange.selectNodeContents(oTemporaryDomElement);
|
|
194
|
+
window.getSelection().removeAllRanges();
|
|
195
|
+
window.getSelection().addRange(oRange);
|
|
196
|
+
oTemporaryDomElement.setSelectionRange(0, 999999);
|
|
197
|
+
} else {
|
|
198
|
+
oTemporaryDomElement.select();
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
var bSuccessful = document.execCommand("copy");
|
|
202
|
+
sMessageToastText = bSuccessful ? "CopyWasSuccessful" : "CopyWasNotSuccessful";
|
|
203
|
+
} catch (oException) {
|
|
204
|
+
sMessageToastText = "CopyWasNotSuccessful";
|
|
205
|
+
} finally {
|
|
206
|
+
this.buildAndSendMessageToast(resources.i18n.getText(sMessageToastText));
|
|
207
|
+
document.documentElement.removeChild(oTemporaryDomElement);
|
|
208
|
+
window.getSelection().removeAllRanges();
|
|
209
|
+
oElementWithPrevFocus.focus();
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Creates a Dialog from a given error message.
|
|
215
|
+
*
|
|
216
|
+
* @param {string} message message text
|
|
217
|
+
* @param {object} messageConfig message configuration (title and details)
|
|
218
|
+
*
|
|
219
|
+
* @private
|
|
220
|
+
*/
|
|
221
|
+
this._createAndOpenErrorDialog = function (message, messageConfig) {
|
|
222
|
+
var vDetails = messageConfig.details;
|
|
223
|
+
var oDetailControl;
|
|
224
|
+
if (vDetails) {
|
|
225
|
+
oDetailControl = new FormattedText({
|
|
226
|
+
htmlText: typeof vDetails === "object" ? vDetails.info : vDetails
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
var oErrorDialog = this.errorWithDetails(message, oDetailControl, messageConfig.title);
|
|
231
|
+
|
|
232
|
+
// Check that SupportTicket is enabled and verify that we are not in a flow in which Support ticket creation is failing,
|
|
233
|
+
// if this is the case we don't want to show the user the contact support button again
|
|
234
|
+
// Note: Renderer.qunit.js deletes sap.ushell.container before this code is called.
|
|
235
|
+
// check if container is available
|
|
236
|
+
if (sap.ushell.Container
|
|
237
|
+
&& Config.last("/core/extension/SupportTicket")
|
|
238
|
+
&& message !== resources.i18n.getText("supportTicketCreationFailed")) {
|
|
239
|
+
oErrorDialog.addButton(new Button({
|
|
240
|
+
text: resources.i18n.getText("contactSupportBtn"),
|
|
241
|
+
tooltip: resources.i18n.getText("contactSupportBtn_tooltip"),
|
|
242
|
+
press: function () {
|
|
243
|
+
sap.ui.require(["sap/ushell/ui/footerbar/ContactSupportButton"],
|
|
244
|
+
function (ContactSupportButton) {
|
|
245
|
+
var oContactSupport = new ContactSupportButton();
|
|
246
|
+
if (oContactSupport) {
|
|
247
|
+
oContactSupport.showContactSupportDialog();
|
|
248
|
+
// oContactSupport is redundant after creation of the Contact Support Dialog.
|
|
249
|
+
oContactSupport.destroy();
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
|
|
253
|
+
oErrorDialog.close();
|
|
254
|
+
}
|
|
255
|
+
}));
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (document.queryCommandSupported("copy")) {
|
|
259
|
+
oErrorDialog.addButton(new Button({
|
|
260
|
+
text: resources.i18n.getText("CopyToClipboardBtn"),
|
|
261
|
+
tooltip: resources.i18n.getText("CopyToClipboardBtn_tooltip"),
|
|
262
|
+
press: this._copyToClipboard.bind(this, message, messageConfig, oErrorDialog.getTitle())
|
|
263
|
+
}));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
oErrorDialog.addButton(new Button({
|
|
267
|
+
text: resources.i18n.getText("closeBtn"),
|
|
268
|
+
type: ButtonType.Emphasized,
|
|
269
|
+
press: oErrorDialog.close.bind(oErrorDialog)
|
|
270
|
+
}));
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Sends a MessageToast with provided Message and Duration
|
|
275
|
+
*
|
|
276
|
+
* @param {string} sMessage The message
|
|
277
|
+
* @param {int} iDuration The duration of the MessageToast in ms
|
|
278
|
+
*
|
|
279
|
+
* @private
|
|
280
|
+
*/
|
|
281
|
+
this.buildAndSendMessageToast = function (sMessage, iDuration) {
|
|
282
|
+
sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
|
|
283
|
+
MessageToast.show(sMessage, { duration: iDuration });
|
|
284
|
+
});
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Sends a MessageBox based on the provided configuration
|
|
289
|
+
*
|
|
290
|
+
* @param {string} sMessage The actual error message
|
|
291
|
+
* @param {string} sType The type of the MessageBox. e.g.: show, confirm
|
|
292
|
+
* @param {object} oConfig The configuration of the MessageBox
|
|
293
|
+
*
|
|
294
|
+
* @private
|
|
295
|
+
*/
|
|
296
|
+
this.sendMessageBox = function (sMessage, sType, oConfig) {
|
|
297
|
+
if (typeof MessageBox[sType] === "function") {
|
|
298
|
+
MessageBox[sType](sMessage, oConfig);
|
|
299
|
+
} else {
|
|
300
|
+
Log.error("Unknown Message type: " + sType, null, "MessageInternal Service");
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Shows a MessageToast on the screen.
|
|
306
|
+
*
|
|
307
|
+
* @param {string} sMessage the localized message as plain text
|
|
308
|
+
* @param {int} [iDuration=3000] display duration in ms
|
|
309
|
+
*
|
|
310
|
+
* @private
|
|
311
|
+
*/
|
|
312
|
+
this.info = function (sMessage, iDuration) {
|
|
313
|
+
this.show(MessageInternal.Type.INFO, sMessage, { duration: iDuration || 3000 });
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Shows an error message on the screen.
|
|
318
|
+
*
|
|
319
|
+
* @param {string} sMessage the localized message as plain text
|
|
320
|
+
* @param {string} [sTitle] the localized title as plain text
|
|
321
|
+
*
|
|
322
|
+
* @private
|
|
323
|
+
*/
|
|
324
|
+
this.error = function (sMessage, sTitle) {
|
|
325
|
+
Log.error(sMessage);
|
|
326
|
+
|
|
327
|
+
this.show(MessageInternal.Type.ERROR, sMessage, { title: sTitle });
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Shows an confirmation dialog on the screen.
|
|
332
|
+
*
|
|
333
|
+
* The callback is called with the following signature:
|
|
334
|
+
* <code>function(Action)</code> where Action is the action type that the user has tapped.
|
|
335
|
+
* For example, when the user has pressed the close button, a sap.m.MessageBox.Action.Close is returned.
|
|
336
|
+
*
|
|
337
|
+
* If no actions are provided, "OK" and "Cancel" will be shown. In this case Action is set by one of the following three values:
|
|
338
|
+
* 1. sap.m.MessageBox.Action.OK: "OK" (confirmed) button is tapped.
|
|
339
|
+
* 2. sap.m.MessageBox.Action.Cancel: "Cancel" (unconfirmed) button is tapped.
|
|
340
|
+
* 3. null: Confirm dialog is closed by calling sap.m.InstanceManager.closeAllDialogs()
|
|
341
|
+
*
|
|
342
|
+
* @param {string} sMessage the localized message as plain text
|
|
343
|
+
* @param {function(): string} fnCallback callback function
|
|
344
|
+
* @param {string} [sTitle] the localized title as plain text
|
|
345
|
+
* @param {sap.m.MessageBox.Action|sap.m.MessageBox.Action[]|string|string[]} [vActions]
|
|
346
|
+
* Either a single action, or an array of two actions.
|
|
347
|
+
* If no action(s) are given, the single action MessageBox.Action.OK is taken as a default for the parameter.
|
|
348
|
+
* If more than two actions are given, only the first two actions are taken.
|
|
349
|
+
* Custom action string(s) can be provided, and then the translation of custom action string(s)
|
|
350
|
+
* needs to be done by the application.
|
|
351
|
+
*
|
|
352
|
+
* @private
|
|
353
|
+
*/
|
|
354
|
+
this.confirm = function (sMessage, fnCallback, sTitle, vActions) {
|
|
355
|
+
this.show(MessageInternal.Type.CONFIRM, sMessage, { title: sTitle, callback: fnCallback, actions: vActions });
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Shows an error message with details on the screen.
|
|
360
|
+
* If more than one control should be shown, an {sap.m.VBox} can be used.
|
|
361
|
+
* The default title is "error".
|
|
362
|
+
* If no custom buttons are given, an emphasized "close" button is shown.
|
|
363
|
+
*
|
|
364
|
+
* @param {string} message The localized message as plain text
|
|
365
|
+
* @param {sap.ui.core.Control} [detailControl] The control that should be displayed,
|
|
366
|
+
* once a user presses the "View Details" link
|
|
367
|
+
* @param {string} [title] The localized title as plain text
|
|
368
|
+
* @param {sap.m.Button[]} [buttons] The custom buttons that should be shown on the dialog
|
|
369
|
+
*
|
|
370
|
+
* @returns {sap.m.Dialog} The error dialog, so it can be destroyed by a custom button
|
|
371
|
+
*
|
|
372
|
+
* @private
|
|
373
|
+
*/
|
|
374
|
+
this.errorWithDetails = function (message, detailControl, title, buttons) {
|
|
375
|
+
if (Array.isArray(detailControl)) {
|
|
376
|
+
buttons = detailControl;
|
|
377
|
+
detailControl = null;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
if (typeof detailControl === "string") {
|
|
381
|
+
buttons = title;
|
|
382
|
+
title = detailControl;
|
|
383
|
+
detailControl = null;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
var oText = new Text({
|
|
387
|
+
text: message,
|
|
388
|
+
visible: !!message
|
|
389
|
+
});
|
|
390
|
+
|
|
391
|
+
if (detailControl) {
|
|
392
|
+
oText.addStyleClass("sapUiSmallMarginBottom");
|
|
393
|
+
}
|
|
394
|
+
var oErrorDialog = new Dialog({
|
|
395
|
+
state: ValueState.Error,
|
|
396
|
+
type: DialogType.Message,
|
|
397
|
+
contentWidth: "30rem",
|
|
398
|
+
title: title || resources.i18n.getText("error"),
|
|
399
|
+
content: [
|
|
400
|
+
new VBox({
|
|
401
|
+
renderType: FlexRendertype.Bare,
|
|
402
|
+
items: [
|
|
403
|
+
oText,
|
|
404
|
+
new Link({
|
|
405
|
+
text: resources.i18n.getText("ViewDetails"),
|
|
406
|
+
visible: !!detailControl,
|
|
407
|
+
press: function () {
|
|
408
|
+
oErrorDialog.getContent()[0].addItem(detailControl);
|
|
409
|
+
this.destroy();
|
|
410
|
+
}
|
|
411
|
+
})
|
|
412
|
+
]
|
|
413
|
+
})
|
|
414
|
+
],
|
|
415
|
+
buttons: buttons,
|
|
416
|
+
endButton: new Button({
|
|
417
|
+
text: resources.i18n.getText("closeBtn"),
|
|
418
|
+
type: ButtonType.Emphasized,
|
|
419
|
+
press: function () {
|
|
420
|
+
oErrorDialog.close();
|
|
421
|
+
}
|
|
422
|
+
}),
|
|
423
|
+
afterClose: function () {
|
|
424
|
+
this.destroy();
|
|
425
|
+
}
|
|
426
|
+
}).addStyleClass("sapContrastPlus");
|
|
427
|
+
oErrorDialog.open();
|
|
428
|
+
|
|
429
|
+
return oErrorDialog;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
// Expose Type Enum also via MessageInternal Service Instance, so that a user does not have to require the ushell lib.
|
|
433
|
+
this.Type = MessageInternal.Type;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* @alias sap.ushell.services.MessageInternal.Type
|
|
438
|
+
* @private
|
|
439
|
+
*/
|
|
440
|
+
MessageInternal.Type = {
|
|
441
|
+
INFO: 0,
|
|
442
|
+
ERROR: 1,
|
|
443
|
+
CONFIRM: 2
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
MessageInternal.hasNoAdapter = true;
|
|
447
|
+
return MessageInternal;
|
|
448
|
+
});
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The NavTargetResolution service.
|
|
5
|
+
* @deprecated since 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
|
|
5
6
|
*/
|
|
6
7
|
sap.ui.define([
|
|
7
8
|
"sap/ui/thirdparty/jquery",
|
|
@@ -46,7 +47,7 @@ sap.ui.define([
|
|
|
46
47
|
*
|
|
47
48
|
* @since 1.15.0
|
|
48
49
|
* @public
|
|
49
|
-
* @deprecated since 1.120
|
|
50
|
+
* @deprecated since 1.120. Use {@link sap.ushell.services.Navigation} for Navigation instead.
|
|
50
51
|
*/
|
|
51
52
|
function NavTargetResolution (oAdapter, oContainerInterface, sParameters, oServiceConfiguration) {
|
|
52
53
|
Log.error("NavTargetResolution service has been called, which is deprecated. Remove all dependencies!", null, "sap.ushell.services.NavTargetResolution");
|
|
@@ -420,7 +420,7 @@ sap.ui.define([
|
|
|
420
420
|
if (sSapUshellEncTestValue !== "A%20B%2520C") {
|
|
421
421
|
oErrorDeferred = new jQuery.Deferred();
|
|
422
422
|
|
|
423
|
-
Container.getServiceAsync("
|
|
423
|
+
Container.getServiceAsync("MessageInternal")
|
|
424
424
|
.then(function (MessageService) {
|
|
425
425
|
MessageService.error("This navigation is flagged as erroneous because" +
|
|
426
426
|
" (likely the calling procedure) generated a wrong encoded hash." +
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/thirdparty/jquery",
|
|
8
|
+
"sap/ushell/Container",
|
|
8
9
|
"sap/ushell/services/NotificationsV2" // preload NotificationsV2 early
|
|
9
10
|
], function (
|
|
10
|
-
jQuery
|
|
11
|
+
jQuery,
|
|
12
|
+
Container
|
|
11
13
|
) {
|
|
12
14
|
"use strict";
|
|
13
15
|
|
|
@@ -59,7 +61,7 @@ sap.ui.define([
|
|
|
59
61
|
// Get the reference to the NotificationsV2 service promise
|
|
60
62
|
this._getNotificationsV2 = function () {
|
|
61
63
|
if (!this.oNotificationsV2Promise) {
|
|
62
|
-
this.oNotificationsV2Promise =
|
|
64
|
+
this.oNotificationsV2Promise = Container.getServiceAsync("NotificationsV2");
|
|
63
65
|
this.oNotificationsV2Promise.then(function (oService) {
|
|
64
66
|
this._oNotificationsV2Service = oService; // Save ref to the service for static calls, beware race conditions
|
|
65
67
|
}.bind(this));
|
|
@@ -8,7 +8,8 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/ws/SapPcpWebSocket",
|
|
9
9
|
"sap/ui/model/json/JSONModel",
|
|
10
10
|
"sap/ui/thirdparty/datajs",
|
|
11
|
-
"sap/ushell/utils"
|
|
11
|
+
"sap/ushell/utils",
|
|
12
|
+
"sap/ushell/Container"
|
|
12
13
|
], function (
|
|
13
14
|
Log,
|
|
14
15
|
Localization,
|
|
@@ -17,7 +18,8 @@ sap.ui.define([
|
|
|
17
18
|
SapPcpWebSocket,
|
|
18
19
|
JSONModel,
|
|
19
20
|
OData,
|
|
20
|
-
ushellUtils
|
|
21
|
+
ushellUtils,
|
|
22
|
+
Container
|
|
21
23
|
) {
|
|
22
24
|
"use strict";
|
|
23
25
|
|
|
@@ -1408,11 +1410,11 @@ sap.ui.define([
|
|
|
1408
1410
|
// *************************************************************************************************
|
|
1409
1411
|
|
|
1410
1412
|
this._updateNotificationsConsumers = function () {
|
|
1411
|
-
aUpdateNotificationsCallbacks.forEach(callback => callback());
|
|
1413
|
+
aUpdateNotificationsCallbacks.forEach((callback) => callback());
|
|
1412
1414
|
};
|
|
1413
1415
|
|
|
1414
1416
|
this._updateNotificationsCountConsumers = function () {
|
|
1415
|
-
aUpdateNotificationsCountCallbacks.forEach(callback => callback());
|
|
1417
|
+
aUpdateNotificationsCountCallbacks.forEach((callback) => callback());
|
|
1416
1418
|
};
|
|
1417
1419
|
|
|
1418
1420
|
this._updateAllConsumers = function () {
|
|
@@ -1969,7 +1971,7 @@ sap.ui.define([
|
|
|
1969
1971
|
|
|
1970
1972
|
this._getUserSettingsPersonalizer = function () {
|
|
1971
1973
|
if (!this.oUserSettingsPersonalizerPromise) {
|
|
1972
|
-
this.oUserSettingsPersonalizerPromise =
|
|
1974
|
+
this.oUserSettingsPersonalizerPromise = Container.getServiceAsync("PersonalizationV2")
|
|
1973
1975
|
.then((PersonalizationService) => {
|
|
1974
1976
|
const oScope = {
|
|
1975
1977
|
keyCategory: PersonalizationService.KeyCategory.FIXED_KEY,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
|
|
5
5
|
* personalization settings for the app currently executed in the shell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.125.0
|
|
8
8
|
* @deprecated since 1.120 Please use {@link sap.ushell.services.PersonalizationV2} instead
|
|
9
9
|
*/
|
|
10
10
|
sap.ui.define([
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's personalization service, which provides generic read and write access to the currently logged on user's
|
|
5
5
|
* personalization settings for the app currently executed in the shell.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.125.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|