@sapui5/sap.ushell 1.124.2 → 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 +5 -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/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 +239 -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 +1 -1
- 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/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
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.ushell</name>
|
|
4
4
|
<vendor>SAP SE</vendor>
|
|
5
|
-
<version>1.
|
|
5
|
+
<version>1.125.0</version>
|
|
6
6
|
<copyright>Copyright (c) 2009-2023 SAP SE, All Rights Reserved</copyright>
|
|
7
7
|
<documentation>SAP library: sap.ushell</documentation>
|
|
8
8
|
|
|
@@ -6,8 +6,9 @@ sap.ui.define([
|
|
|
6
6
|
"sap/base/util/restricted/_curry",
|
|
7
7
|
"sap/base/util/restricted/_zipObject",
|
|
8
8
|
"sap/ui/VersionInfo",
|
|
9
|
-
"sap/ushell/Config"
|
|
10
|
-
|
|
9
|
+
"sap/ushell/Config",
|
|
10
|
+
"sap/ushell/Container"
|
|
11
|
+
], function (Log, oAppConfiguration, _curry, _zipObject, VersionInfo, Config, Container) {
|
|
11
12
|
"use strict";
|
|
12
13
|
/*global */
|
|
13
14
|
|
|
@@ -192,7 +193,7 @@ sap.ui.define([
|
|
|
192
193
|
* @returns {Promise<string>} The promise resolves the user parameter
|
|
193
194
|
*/
|
|
194
195
|
function getUserEnv (sUserEnv) {
|
|
195
|
-
return
|
|
196
|
+
return Container.getServiceAsync("ReferenceResolver")
|
|
196
197
|
.then(function (oReferenceResolverService) {
|
|
197
198
|
return new Promise(function (fnResolve, fnReject) {
|
|
198
199
|
oReferenceResolverService.resolveReferences([sUserEnv])
|
|
@@ -340,33 +341,34 @@ sap.ui.define([
|
|
|
340
341
|
* @returns {Promise} oPromise Promise that resolves to an object
|
|
341
342
|
* keeping the application info parameters with values
|
|
342
343
|
*/
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
344
|
+
function _getInfo (aParameters, oCurrentApplication, oApplicationContainer) {
|
|
345
|
+
var oHandlersIncludingCustom = {...oHandlers};
|
|
346
|
+
var aPromises = aParameters.map(function (sParameter) {
|
|
347
|
+
if (isAttributeExist(sParameter)) {
|
|
348
|
+
return Promise.resolve(getCustomValue(sParameter));
|
|
349
|
+
}
|
|
350
|
+
// add handler function in case of custom property
|
|
351
|
+
if (_isCustom(sParameter)) {
|
|
352
|
+
oHandlersIncludingCustom[sParameter] = _curry(getSystemContext)(sParameter);
|
|
353
|
+
}
|
|
354
|
+
if (!oHandlersIncludingCustom[sParameter]) {
|
|
355
|
+
Log.error(sParameter + " is not a valid app info parameter");
|
|
356
|
+
return undefined;
|
|
357
|
+
}
|
|
358
|
+
return oHandlersIncludingCustom[sParameter](oCurrentApplication, oApplicationContainer);
|
|
359
|
+
});
|
|
358
360
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
361
|
+
return Promise.allSettled(aPromises).then(function (aValues) {
|
|
362
|
+
for (var i = 0; i < aValues.length; i++) {
|
|
363
|
+
if (aValues[i].status === "fulfilled") {
|
|
364
|
+
aValues[i] = aValues[i].value;
|
|
365
|
+
} else {
|
|
366
|
+
aValues[i] = undefined;
|
|
366
367
|
}
|
|
368
|
+
}
|
|
367
369
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
+
return _zipObject(aParameters, aValues);
|
|
371
|
+
});
|
|
370
372
|
}
|
|
371
373
|
|
|
372
374
|
//object of all app info
|
|
@@ -133,9 +133,6 @@ sap.ui.define([
|
|
|
133
133
|
// Special case: Notifications and NotificationsV2 configurations are interchangeable.
|
|
134
134
|
// Notifications service configuration has priority
|
|
135
135
|
if (sServiceName === "Notifications" || sServiceName === "NotificationsV2") {
|
|
136
|
-
if (oServices.Notifications && oServices.NotificationsV2) {
|
|
137
|
-
Log.error("Notifications and NotificationsV2 services should not be configured at the same time. NotificationsV2 configuration is ignored.");
|
|
138
|
-
}
|
|
139
136
|
return oServices.Notifications || oServices.NotificationsV2 || {};
|
|
140
137
|
}
|
|
141
138
|
return oServices[sServiceName] || {};
|
|
@@ -229,7 +226,6 @@ sap.ui.define([
|
|
|
229
226
|
* });
|
|
230
227
|
* </pre>
|
|
231
228
|
*
|
|
232
|
-
* @see sap.ushell.bootstrap
|
|
233
229
|
* @since 1.15.0
|
|
234
230
|
* @public
|
|
235
231
|
*/
|
|
@@ -643,7 +639,7 @@ sap.ui.define([
|
|
|
643
639
|
*
|
|
644
640
|
* @since 1.30.0
|
|
645
641
|
* @public
|
|
646
|
-
* @deprecated since 1.120.
|
|
642
|
+
* @deprecated since 1.120. Use {@link sap.ushell.services.Extension} for shell extensions instead.
|
|
647
643
|
* @alias sap.ushell.Container#getRenderer
|
|
648
644
|
*/
|
|
649
645
|
this.getRenderer = function (sRendererName) {
|
|
@@ -1298,7 +1294,7 @@ sap.ui.define([
|
|
|
1298
1294
|
// Note: this might become really asynchronous once the remote adapter is loaded
|
|
1299
1295
|
// from the remote system itself
|
|
1300
1296
|
oDeferred.resolve(createAdapter(sServiceName, oSystem, sParameter));
|
|
1301
|
-
|
|
1297
|
+
oContainerInstance.addRemoteSystem(oSystem);
|
|
1302
1298
|
return oDeferred.promise();
|
|
1303
1299
|
}
|
|
1304
1300
|
|
|
@@ -1415,7 +1411,7 @@ sap.ui.define([
|
|
|
1415
1411
|
// Note: this might become really asynchronous once the remote adapter is loaded
|
|
1416
1412
|
// from the remote system itself
|
|
1417
1413
|
oDeferred.resolve(createAdapter(sServiceName, oSystem, sParameter));
|
|
1418
|
-
|
|
1414
|
+
oContainerInstance.addRemoteSystem(oSystem);
|
|
1419
1415
|
return oDeferred.promise();
|
|
1420
1416
|
}
|
|
1421
1417
|
|
|
@@ -2175,7 +2171,7 @@ sap.ui.define([
|
|
|
2175
2171
|
|
|
2176
2172
|
function handleDarkMode (Config) {
|
|
2177
2173
|
if (Config.last("/core/darkMode/enabled")) {
|
|
2178
|
-
|
|
2174
|
+
oContainerInstance.getServiceAsync("DarkModeSupport").then(function (DarkModeSupportService) {
|
|
2179
2175
|
if (DarkModeSupportService && DarkModeSupportService.setup) { // Many qUnits mock getServiceAsync without DarkModeSupport
|
|
2180
2176
|
DarkModeSupportService.setup();
|
|
2181
2177
|
}
|
|
@@ -2186,7 +2182,7 @@ sap.ui.define([
|
|
|
2186
2182
|
function initUITracer (Config) {
|
|
2187
2183
|
var bTraceEnabled = !!(new URLSearchParams(window.location.search)).get("sap-ui-xx-ushell-UITraceEnabled");
|
|
2188
2184
|
if (Config.last("/core/uiTracer/enabled") || bTraceEnabled) {
|
|
2189
|
-
|
|
2185
|
+
oContainerInstance.getServiceAsync("UITracer");
|
|
2190
2186
|
}
|
|
2191
2187
|
}
|
|
2192
2188
|
}.bind(this));
|
|
@@ -2208,7 +2204,7 @@ sap.ui.define([
|
|
|
2208
2204
|
that._redirectWindow();
|
|
2209
2205
|
}
|
|
2210
2206
|
|
|
2211
|
-
if (
|
|
2207
|
+
if (oContainerInstance !== that) {
|
|
2212
2208
|
// In integration test suite, old listeners remain which do not belong to the current sap.ushell.Container instance.
|
|
2213
2209
|
// IE sends events also to own window. Then these old listeners react as if a remote window logged out...
|
|
2214
2210
|
return;
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
* @fileOverview The purpose Fiori20AdapterTest in this file is to decide whether to load the Fiori20Adapter at all.
|
|
5
5
|
* This file is kept small in size on purpose as it is always required in productive code even when Fiori 2 adaptation is not required.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.125.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
11
11
|
"sap/base/util/isEmptyObject",
|
|
12
|
-
"sap/base/util/UriParameters",
|
|
13
12
|
"sap/base/util/Version",
|
|
14
13
|
"sap/ui/core/Configuration",
|
|
15
14
|
"sap/ui/core/library",
|
|
@@ -19,7 +18,6 @@ sap.ui.define([
|
|
|
19
18
|
], function (
|
|
20
19
|
Log,
|
|
21
20
|
isEmptyObject,
|
|
22
|
-
UriParameters,
|
|
23
21
|
Version,
|
|
24
22
|
Configuration,
|
|
25
23
|
coreLibrary,
|
|
@@ -77,7 +75,9 @@ sap.ui.define([
|
|
|
77
75
|
],
|
|
78
76
|
|
|
79
77
|
getConfiguration: function (oComp) {
|
|
80
|
-
var oConfig
|
|
78
|
+
var oConfig;
|
|
79
|
+
|
|
80
|
+
oConfig = this._getURLParamConfiguration(); // highest priority
|
|
81
81
|
|
|
82
82
|
if (!oConfig) {
|
|
83
83
|
oConfig = this._getMetadataConfiguration(oComp); // second source, if no URL config specified
|
|
@@ -102,11 +102,11 @@ sap.ui.define([
|
|
|
102
102
|
* @private
|
|
103
103
|
*/
|
|
104
104
|
_getURLParamConfiguration: function () {
|
|
105
|
-
if (typeof Configuration.getFiori2Adaptation !== "function") {
|
|
105
|
+
if (!Configuration || typeof Configuration.getFiori2Adaptation !== "function") {
|
|
106
106
|
return; // parameter is not defined in the Core
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
var oUriParameters =
|
|
109
|
+
var oUriParameters = new URLSearchParams(window.location.search);
|
|
110
110
|
if (!oUriParameters.get(Fiori20AdapterConfiguration.S_FIORI20ADAPTER_URL_PARAM_NAME)) {
|
|
111
111
|
return; // no param value specified in the URL
|
|
112
112
|
}
|
|
@@ -200,6 +200,10 @@ sap.ui.define([
|
|
|
200
200
|
* The allowlist is only used for applications with minUI5Version lower than 1.38 and for applications without
|
|
201
201
|
* valid minUI5Version or valid app descriptor.
|
|
202
202
|
* Any new/modified app with version 1.38 and higher is assumed to be built according to the Fiori 2.0 guidelines
|
|
203
|
+
*
|
|
204
|
+
* @param {sap.ui.core.UIComponent} oComp The component to check
|
|
205
|
+
* @param {string} sVersion The version to compare with
|
|
206
|
+
* @returns {boolean} Whether the component has a min version smaller than the given version
|
|
203
207
|
*/
|
|
204
208
|
_hasMinVersionSmallerThan: function (oComp, sVersion) {
|
|
205
209
|
var oInfo = oComp.getManifestEntry("sap.ui5");
|
|
@@ -253,9 +257,9 @@ sap.ui.define([
|
|
|
253
257
|
// check: ShellUIService is available
|
|
254
258
|
// this check is done after attaching onBeforeRendering since the service is obtained asynchronously
|
|
255
259
|
const oService = ServiceFactoryRegistry.get("sap.ushell.ui5service.ShellUIService"),
|
|
256
|
-
|
|
260
|
+
oServiceInstancePromise = oService && oService.createInstance();
|
|
257
261
|
|
|
258
|
-
if (!oService || !
|
|
262
|
+
if (!oService || !oServiceInstancePromise) {
|
|
259
263
|
Log.warning(
|
|
260
264
|
"Fiori20Adapter not loaded because ShellUIService is not available",
|
|
261
265
|
"sap.ushell.ui5service.ShellUIService should be declared by configuration",
|
|
@@ -264,7 +268,7 @@ sap.ui.define([
|
|
|
264
268
|
return;
|
|
265
269
|
}
|
|
266
270
|
|
|
267
|
-
|
|
271
|
+
oServiceInstancePromise.then(
|
|
268
272
|
(oServiceParam) => Fiori20Adapter.applyTo(oControl, oComponent, oConfig, oServiceParam),
|
|
269
273
|
(oError) => {
|
|
270
274
|
Log.warning(
|
|
@@ -274,7 +278,6 @@ sap.ui.define([
|
|
|
274
278
|
);
|
|
275
279
|
}
|
|
276
280
|
);
|
|
277
|
-
|
|
278
281
|
}
|
|
279
282
|
};
|
|
280
283
|
oControl.addEventDelegate(oDelegate);
|
|
@@ -10,7 +10,8 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/core/Element",
|
|
11
11
|
"sap/ui/core/EventBus",
|
|
12
12
|
"sap/ui/thirdparty/jquery",
|
|
13
|
-
"sap/ushell/Config"
|
|
13
|
+
"sap/ushell/Config",
|
|
14
|
+
"sap/ushell/Container"
|
|
14
15
|
], function (
|
|
15
16
|
Localization,
|
|
16
17
|
Extend,
|
|
@@ -18,7 +19,8 @@ sap.ui.define([
|
|
|
18
19
|
Element,
|
|
19
20
|
EventBus,
|
|
20
21
|
jQuery,
|
|
21
|
-
Config
|
|
22
|
+
Config,
|
|
23
|
+
Container
|
|
22
24
|
) {
|
|
23
25
|
"use strict";
|
|
24
26
|
|
|
@@ -1273,8 +1275,9 @@ sap.ui.define([
|
|
|
1273
1275
|
this.oTabBarItemClickTimer = new Date();
|
|
1274
1276
|
this.bTabBarModeActive = false;
|
|
1275
1277
|
this.bOnTabBarElement = false;
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
+
var oLaunchpageService = Container.getServiceAsync("FlpLaunchPage");
|
|
1279
|
+
if (oLaunchpageService) {
|
|
1280
|
+
oLaunchpageService.then(function (oLaunchPageService) {
|
|
1278
1281
|
this.oLaunchPageService = oLaunchPageService;
|
|
1279
1282
|
timeoutLayoutInfo();
|
|
1280
1283
|
}.bind(this));
|
|
@@ -31,16 +31,18 @@
|
|
|
31
31
|
* Therefore, applications are encouraged to use
|
|
32
32
|
* the <code>AppLifeCycle</code> service in the following way:
|
|
33
33
|
* <pre>
|
|
34
|
-
*
|
|
34
|
+
* sap.ui.require(["sap/ushell/Container"], function(Container) {
|
|
35
|
+
* Container.getServiceAsync("AppLifeCycle").then(function (oAppLifeCycle) {
|
|
35
36
|
* oAppLifeCycle.getCurrentApplication().getTechnicalParameter("sap-fiori-id");
|
|
36
|
-
*
|
|
37
|
+
* });
|
|
38
|
+
* })
|
|
37
39
|
* </pre>
|
|
38
40
|
*
|
|
39
41
|
* It is also possible to prevent applications from using the technical
|
|
40
42
|
* parameters. If the application tries to access an internal parameter (e.g.,
|
|
41
43
|
* sap-ui-app-id-hint) via the API, the application receives an error message.
|
|
42
44
|
*
|
|
43
|
-
* @version 1.
|
|
45
|
+
* @version 1.125.0
|
|
44
46
|
* @private
|
|
45
47
|
*/
|
|
46
48
|
sap.ui.define([
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* The language to define parameters in the URL Template parameter set contains a minimal set of conditionals,
|
|
27
27
|
* logical operators, and functions that allow to define the parameter set with a certain degree of control.
|
|
28
28
|
*
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.125.0
|
|
30
30
|
* @private
|
|
31
31
|
*/
|
|
32
32
|
sap.ui.define([
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Exposes methods to create a UI5 Service Factory for a specific Unified Shell
|
|
7
7
|
* Service.
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.125.0
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
sap.ui.define([
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
|
|
118
118
|
// clone args to allow Chrome to optimize addCallAllowedCheck
|
|
119
119
|
aArgs = new Array(arguments.length);
|
|
120
|
-
for (i=0; i < aArgs.length; ++i) {
|
|
120
|
+
for (i = 0; i < aArgs.length; ++i) {
|
|
121
121
|
aArgs[i] = arguments[i];
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -295,7 +295,13 @@ sap.ui.define([
|
|
|
295
295
|
* @private
|
|
296
296
|
*/
|
|
297
297
|
function getServiceAsync (sUshellServiceName) {
|
|
298
|
-
return
|
|
298
|
+
return new Promise(function (resolve, reject) {
|
|
299
|
+
// avoid cyclic dependencies to sap/ushell/Container. Hence the Container is required here
|
|
300
|
+
sap.ui.require(["sap/ushell/Container"], function (Container) {
|
|
301
|
+
Container.getServiceAsync(sUshellServiceName).then(
|
|
302
|
+
(serviceInstance) => { resolve(serviceInstance); });
|
|
303
|
+
});
|
|
304
|
+
});
|
|
299
305
|
}
|
|
300
306
|
|
|
301
307
|
/**
|
|
@@ -32,7 +32,8 @@ sap.ui.define([
|
|
|
32
32
|
"sap/ushell/EventHub",
|
|
33
33
|
"sap/ushell/ui/launchpad/Tile",
|
|
34
34
|
"sap/ushell/utils",
|
|
35
|
-
"sap/ushell/utils/UrlParsing"
|
|
35
|
+
"sap/ushell/utils/UrlParsing",
|
|
36
|
+
"sap/ushell/Container"
|
|
36
37
|
], function (
|
|
37
38
|
Log,
|
|
38
39
|
extend,
|
|
@@ -42,7 +43,8 @@ sap.ui.define([
|
|
|
42
43
|
EventHub,
|
|
43
44
|
Tile,
|
|
44
45
|
utils,
|
|
45
|
-
urlParsing
|
|
46
|
+
urlParsing,
|
|
47
|
+
Container
|
|
46
48
|
) {
|
|
47
49
|
"use strict";
|
|
48
50
|
|
|
@@ -415,7 +417,7 @@ sap.ui.define([
|
|
|
415
417
|
* @private
|
|
416
418
|
*/
|
|
417
419
|
_getUserDetails: function (/*sUserText*/) {
|
|
418
|
-
var oUser =
|
|
420
|
+
var oUser = Container.getUser();
|
|
419
421
|
return {
|
|
420
422
|
fullName: oUser.getFullName() || "",
|
|
421
423
|
userId: oUser.getId() || "",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The proper order of evaluation can be determined by creating and visiting a graph that represents parameters and depending parameters
|
|
9
9
|
* as nodes. This graph can be also used to detect cyclic references in the parameter set definition.
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.125.0
|
|
12
12
|
* @private
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* For a given context (e.g. the reference to a site, the application section from the site, parameters added during runtime, etc),
|
|
6
6
|
* this module can be used to find the values associated to given URL Template parameter names.
|
|
7
7
|
*
|
|
8
|
-
* @version 1.
|
|
8
|
+
* @version 1.125.0
|
|
9
9
|
* @private
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define([
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* <li>provide the resolveHashFragment function, a fallback method called by ClientSideTargetResolution service.</li>
|
|
10
10
|
* </ul>
|
|
11
11
|
*
|
|
12
|
-
* @version 1.
|
|
12
|
+
* @version 1.125.0
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
15
|
"sap/base/util/Version",
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
if (!this._getInboundsDeferred) {
|
|
98
98
|
this._getInboundsDeferred = new jQuery.Deferred();
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
Container.getServiceAsync("CommonDataModel")
|
|
101
101
|
.then(function (oService) {
|
|
102
102
|
return oService.getSiteWithoutPersonalization();
|
|
103
103
|
})
|
|
@@ -137,7 +137,7 @@ sap.ui.define([
|
|
|
137
137
|
if (!this.oSystemAliasesDeferred) {
|
|
138
138
|
this.oSystemAliasesDeferred = new jQuery.Deferred();
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
Container.getServiceAsync("CommonDataModel")
|
|
141
141
|
.then(function (oService) {
|
|
142
142
|
return oService.getSiteWithoutPersonalization();
|
|
143
143
|
})
|
|
@@ -255,7 +255,7 @@ sap.ui.define([
|
|
|
255
255
|
if (!this.oContentProviderDataOriginsDeferred) {
|
|
256
256
|
this.oContentProviderDataOriginsDeferred = new jQuery.Deferred();
|
|
257
257
|
|
|
258
|
-
|
|
258
|
+
Container.getServiceAsync("CommonDataModel")
|
|
259
259
|
.then(function (oService) {
|
|
260
260
|
return oService.getSiteWithoutPersonalization();
|
|
261
261
|
})
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's sap.ushell.adapters.cdm.CommonDataModelAdapter for the 'CDM'
|
|
5
5
|
* platform.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.125.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
11
11
|
"sap/base/util/extend",
|
|
12
|
-
"sap/base/util/UriParameters",
|
|
13
12
|
"sap/base/util/Version",
|
|
14
13
|
"sap/ui/thirdparty/URI",
|
|
15
14
|
"sap/ui/thirdparty/jquery",
|
|
@@ -17,7 +16,6 @@ sap.ui.define([
|
|
|
17
16
|
], function (
|
|
18
17
|
Log,
|
|
19
18
|
extend,
|
|
20
|
-
UriParameters,
|
|
21
19
|
Version,
|
|
22
20
|
URI,
|
|
23
21
|
jQuery,
|
|
@@ -327,7 +325,7 @@ sap.ui.define([
|
|
|
327
325
|
* @private
|
|
328
326
|
*/
|
|
329
327
|
CommonDataModelAdapter.prototype._identifySiteUrlFromConfig = function (oAdapterConfiguration) {
|
|
330
|
-
var oParams =
|
|
328
|
+
var oParams = new URLSearchParams(window.location.search);
|
|
331
329
|
var sSiteURL = oParams.get("sap-ushell-cdm-site-url");
|
|
332
330
|
var oConfig = oAdapterConfiguration && oAdapterConfiguration.config;
|
|
333
331
|
// take the site URL from the url parameter "sap-ushell-cdm-site-url" preferred if provided
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's LaunchPageAdapter for the
|
|
5
5
|
* 'CDM' platform - Version 2 (V2)
|
|
6
6
|
* @deprecated since 1.100
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.125.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell/adapters/cdm/_LaunchPage/readHome",
|
|
@@ -32,7 +32,8 @@ sap.ui.define([
|
|
|
32
32
|
"sap/base/util/ObjectPath",
|
|
33
33
|
"sap/base/Log",
|
|
34
34
|
"sap/ushell/UI5ComponentType",
|
|
35
|
-
"sap/ushell/EventHub"
|
|
35
|
+
"sap/ushell/EventHub",
|
|
36
|
+
"sap/ushell/Container"
|
|
36
37
|
], function (
|
|
37
38
|
oReadHomePageUtils,
|
|
38
39
|
oModifyHomePageUtils, // TODO should be loaded lazy only when really needed
|
|
@@ -59,7 +60,8 @@ sap.ui.define([
|
|
|
59
60
|
ObjectPath,
|
|
60
61
|
Log,
|
|
61
62
|
UI5ComponentType,
|
|
62
|
-
EventHub
|
|
63
|
+
EventHub,
|
|
64
|
+
Container
|
|
63
65
|
) {
|
|
64
66
|
"use strict";
|
|
65
67
|
|
|
@@ -98,8 +100,8 @@ sap.ui.define([
|
|
|
98
100
|
this._mFailedResolvedTiles = {};
|
|
99
101
|
|
|
100
102
|
Promise.all([
|
|
101
|
-
|
|
102
|
-
|
|
103
|
+
Container.getServiceAsync("URLParsing"),
|
|
104
|
+
Container.getServiceAsync("CommonDataModel")
|
|
103
105
|
]).then(function (aServices) {
|
|
104
106
|
this.oURLParsingService = aServices[0]; // It is not used internally. Keep it for back compatibility.
|
|
105
107
|
this.oCDMService = aServices[1];
|
|
@@ -235,7 +237,7 @@ sap.ui.define([
|
|
|
235
237
|
this._getTileFromHash = function (sIntent) {
|
|
236
238
|
var oDeferred = new jQuery.Deferred();
|
|
237
239
|
|
|
238
|
-
|
|
240
|
+
Container.getServiceAsync("ClientSideTargetResolution").then(function (oCstrService) {
|
|
239
241
|
var fnResolveTile = oCstrService.resolveTileIntent.bind(oCstrService);
|
|
240
242
|
this._getTileFromHashInContextOfSite(fnResolveTile, this._mCatalogTilePromises, sIntent)
|
|
241
243
|
.done(oDeferred.resolve)
|
|
@@ -671,7 +673,7 @@ sap.ui.define([
|
|
|
671
673
|
oDeferred = new jQuery.Deferred();
|
|
672
674
|
this._assureLoadedDeferred = oDeferred;
|
|
673
675
|
|
|
674
|
-
|
|
676
|
+
Container.getServiceAsync("CommonDataModel").then(function (oCDMSiteService) {
|
|
675
677
|
oCDMSiteService.getSite()
|
|
676
678
|
.done(function (oSite) {
|
|
677
679
|
// Ensure site has expected CDM format
|
|
@@ -1906,7 +1908,7 @@ sap.ui.define([
|
|
|
1906
1908
|
if (bIsCustomTile) {
|
|
1907
1909
|
oEventHub.once("CoreResourcesComplementLoaded")
|
|
1908
1910
|
.do(function () {
|
|
1909
|
-
|
|
1911
|
+
Container.getServiceAsync("Ui5ComponentLoader").then(function (oComponentLoader) {
|
|
1910
1912
|
_customTileCreateCompContainer(oComponentLoader)
|
|
1911
1913
|
.then(function (oCompContainer) {
|
|
1912
1914
|
oDeferred.resolve(oCompContainer);
|
|
@@ -2478,7 +2480,7 @@ sap.ui.define([
|
|
|
2478
2480
|
|
|
2479
2481
|
// setTimeout is required here. Otherwise the the oDeferred.notify() would
|
|
2480
2482
|
// be a synchronous call, which would cause wrong behavior in some scenarios
|
|
2481
|
-
|
|
2483
|
+
Container.getServiceAsync("CommonDataModel").then(function (oCDMSiteService) {
|
|
2482
2484
|
oCDMSiteService.getSite().done(function (oSite) {
|
|
2483
2485
|
// catalogs from site should be loaded first as they require
|
|
2484
2486
|
// loading of less resources
|
|
@@ -3518,7 +3520,7 @@ sap.ui.define([
|
|
|
3518
3520
|
}
|
|
3519
3521
|
|
|
3520
3522
|
// Persist personalization changes
|
|
3521
|
-
|
|
3523
|
+
Container.getServiceAsync("CommonDataModel")
|
|
3522
3524
|
.then(function (oCdmService) {
|
|
3523
3525
|
oCdmService.save()
|
|
3524
3526
|
.fail(function (sErrorMsg0) {
|