@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
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
3
|
+
*/
|
|
4
|
+
@import "../../../../sap/ui/core/themes/base/base.less";
|
|
5
|
+
@import "../../../../sap/ui/core/themes/base/global.less";
|
|
6
|
+
@import "shared.less";
|
|
7
|
+
|
|
8
|
+
@import "ActionMode.less";
|
|
9
|
+
@import "AddBookmarkButton.less";
|
|
10
|
+
@import "AnchorItem.less";
|
|
11
|
+
@import "AnchorNavigationBar.less";
|
|
12
|
+
@import "AppearanceView.less";
|
|
13
|
+
@import "ApplicationContainer.less";
|
|
14
|
+
@import "Catalog.less";
|
|
15
|
+
@import "ContentFinder.less";
|
|
16
|
+
@import "ContactSupport.less";
|
|
17
|
+
@import "CustomGroupHeaderListItem.less";
|
|
18
|
+
@import "Dashboard.less";
|
|
19
|
+
@import "DynamicTile.less";
|
|
20
|
+
@import "Factsheet.less";
|
|
21
|
+
@import "FloatingContainer.less";
|
|
22
|
+
@import "FlpSettings.less";
|
|
23
|
+
@import "GroupList.less";
|
|
24
|
+
@import "GroupListItem.less";
|
|
25
|
+
@import "IconFonts.less";
|
|
26
|
+
@import "ImageTile.less";
|
|
27
|
+
@import "LoadingDialog.less";
|
|
28
|
+
@import "MenuBar.less";
|
|
29
|
+
@import "Notifications.less";
|
|
30
|
+
@import "Page.less";
|
|
31
|
+
@import "PictureTile.less";
|
|
32
|
+
@import "PictureViewer.less";
|
|
33
|
+
@import "PlusTile.less";
|
|
34
|
+
@import "QuickAccess.less";
|
|
35
|
+
@import "RightFloatingContainerItem.less";
|
|
36
|
+
@import "SearchFLP.less";
|
|
37
|
+
@import "SearchCEP.less";
|
|
38
|
+
@import "Section.less";
|
|
39
|
+
@import "ShellFloatingAction.less";
|
|
40
|
+
@import "ShellFloatingActions.less";
|
|
41
|
+
@import "ShellHeader.less";
|
|
42
|
+
@import "ShellAppTitle.less";
|
|
43
|
+
@import "ShellLayout.less";
|
|
44
|
+
@import "SidePane.less";
|
|
45
|
+
@import "StaticTile.less";
|
|
46
|
+
@import "SubHeader.less";
|
|
47
|
+
@import "SysInfoBar.less";
|
|
48
|
+
@import "TargetMappingConfiguration.less";
|
|
49
|
+
@import "Tile.less";
|
|
50
|
+
@import "TileBase.less";
|
|
51
|
+
@import "TileContainer.less";
|
|
52
|
+
@import "TilePlaceholder.less";
|
|
53
|
+
@import "TileState.less";
|
|
54
|
+
@import "ToolAreaItem.less";
|
|
55
|
+
@import "UserActionsMenu.less";
|
|
56
|
+
@import "UserConsentDialog.less";
|
|
57
|
+
@import "UserSettings.less";
|
|
58
|
+
@import "ViewPortContainer.less";
|
|
59
|
+
@import "WorkPage.less";
|
|
60
|
+
@import "WorkPageButton.less";
|
|
61
|
+
@import "WorkPageRow.less";
|
|
62
|
+
@import "WorkPageColumn.less";
|
|
63
|
+
@import "WorkPageCell.less";
|
|
64
|
+
@import "WorkPageColumnResizer.less";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* =============================================== */
|
|
2
|
+
/* Shared styles for all other CSS of this library */
|
|
3
|
+
/* =============================================== */
|
|
4
|
+
|
|
5
|
+
/* In order to override any unwanted scrolling, overflow should be hidden */
|
|
6
|
+
html {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Shared between ShellLayout and ShellHeader */
|
|
11
|
+
@_sap_ushell_ShellHeader_BarHeight: 2.75rem;
|
|
12
|
+
@_sap_ushell_CoPilot_DockingWidth: 26rem;
|
|
13
|
+
|
|
14
|
+
/* For cross-browser compatible animations */
|
|
15
|
+
.opacity(@opacity: 0.5) {
|
|
16
|
+
opacity: @opacity;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.transition(...) {
|
|
20
|
+
-webkit-transition: @arguments;
|
|
21
|
+
-moz-transition: @arguments;
|
|
22
|
+
transition: @arguments;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sapUshellIframeDialog .sapMDialogScrollCont {
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sapUShellFullHeight {
|
|
30
|
+
height: 100%;
|
|
31
|
+
overflow-y: hidden;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sapUshellFullWidth {
|
|
35
|
+
width: 100%
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sapUshellZeroOpacity {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
/***********************************************************************************
|
|
5
|
+
/* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the
|
|
6
|
+
/* inheritance of the base theme is now updated to an inheritance of a static
|
|
7
|
+
/* copy of the base theme named sap_belize_base. The respective
|
|
8
|
+
/* control css files of base are copied to the sap_belize_base theme folder.
|
|
9
|
+
/* This decoupling of the base theme is introduced with SAPUI5 version 1.125.
|
|
10
|
+
***********************************************************************************/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@import "../sap_belize_base/library.source.less";
|
|
5
14
|
@import "../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
|
|
6
15
|
@import "../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
|
|
7
16
|
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
/***********************************************************************************
|
|
5
|
+
/* Due to deprecation of the Belize theme family with SAPUI5 version 1.120 the
|
|
6
|
+
/* inheritance of the base theme is now updated to an inheritance of a static
|
|
7
|
+
/* copy of the base theme named sap_belize_base. The respective
|
|
8
|
+
/* control css files of base are copied to the sap_belize_base theme folder.
|
|
9
|
+
/* This decoupling of the base theme is introduced with SAPUI5 version 1.125.
|
|
10
|
+
***********************************************************************************/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@import "../sap_belize_base/library.source.less";
|
|
5
14
|
@import "../../../../sap/ui/core/themes/sap_belize_hcw/base.less";
|
|
6
15
|
@import "../../../../sap/ui/core/themes/sap_belize_hcw/global.less";
|
|
7
16
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* CSS for control sap.ushell
|
|
3
|
-
/*
|
|
4
|
-
/* ======================================= */
|
|
1
|
+
/* ========================================================= */
|
|
2
|
+
/* CSS for control "sap.ushell.ui.ShellHeader" (sap_horizon) */
|
|
3
|
+
/* ========================================================= */
|
|
5
4
|
|
|
6
|
-
// ShellHeader in general
|
|
7
5
|
.sapUshellShellHeader {
|
|
8
6
|
background-color: @sapUiShellColor;
|
|
9
7
|
height: 3.25rem;
|
|
@@ -33,23 +31,23 @@
|
|
|
33
31
|
box-shadow: none;
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
.sapUshellShellHeadItm:hover
|
|
34
|
+
.sapUshellShellHeadItm:hover > .sapUshellShellHeadItmCntnt {
|
|
37
35
|
box-shadow: @sapUiContentInteractionShadow;
|
|
38
36
|
background-color: @sapUiShellHoverBackground;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
|
-
.sapUshellShellHeadItm:focus:not(:focus-visible)
|
|
39
|
+
.sapUshellShellHeadItm:focus:not(:focus-visible) > .sapUshellShellHeadItmCntnt {
|
|
42
40
|
background-color: @sapUiShellHoverBackground;
|
|
43
41
|
border-color: @sapUiButtonLiteBorderColor;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
|
-
.sapUshellShellHeadItm:focus-visible
|
|
44
|
+
.sapUshellShellHeadItm:focus-visible > .sapUshellShellHeadItmCntnt {
|
|
47
45
|
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
48
46
|
}
|
|
49
47
|
|
|
50
|
-
.sapUshellShellHeadItm:active
|
|
51
|
-
.sapUshellShellHeadItm:focus:active
|
|
52
|
-
.sapUshellShellHeadItm:focus-visible:active
|
|
48
|
+
.sapUshellShellHeadItm:active > .sapUshellShellHeadItmCntnt,
|
|
49
|
+
.sapUshellShellHeadItm:focus:active > .sapUshellShellHeadItmCntnt,
|
|
50
|
+
.sapUshellShellHeadItm:focus-visible:active > .sapUshellShellHeadItmCntnt {
|
|
53
51
|
color: @sapUiShellActiveTextColor;
|
|
54
52
|
background-color: @sapUiShellActiveBackground;
|
|
55
53
|
border-color: @sapUiButtonLiteActiveBorderColor;
|
|
@@ -69,12 +67,6 @@
|
|
|
69
67
|
|
|
70
68
|
/** Logo **/
|
|
71
69
|
|
|
72
|
-
// Image of the Logo Control
|
|
73
|
-
#shell-header-icon {
|
|
74
|
-
max-height: 2rem;
|
|
75
|
-
border: none;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
70
|
// CSS class for the Logo control itself.
|
|
79
71
|
.sapUshellShellIco {
|
|
80
72
|
height: inherit;
|
|
@@ -131,7 +123,6 @@
|
|
|
131
123
|
box-shadow: @sapUiContentInteractionShadow;
|
|
132
124
|
}
|
|
133
125
|
|
|
134
|
-
|
|
135
126
|
#userActionsMenuHeaderButton:focus:not(:focus-visible) {
|
|
136
127
|
border-color: @sapUiButtonLiteBorderColor;
|
|
137
128
|
outline: none;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* CSS for control sap.ushell
|
|
3
|
-
/*
|
|
4
|
-
/* ======================================= */
|
|
1
|
+
/* ============================================================== */
|
|
2
|
+
/* CSS for control "sap.ushell.ui.ShellHeader" (sap_horizon_dark) */
|
|
3
|
+
/* ============================================================== */
|
|
5
4
|
|
|
6
|
-
// ShellHeader in general
|
|
7
5
|
.sapUshellShellHeader {
|
|
8
6
|
background-color: @sapUiShellColor;
|
|
9
7
|
height: 3.25rem;
|
|
@@ -33,23 +31,23 @@
|
|
|
33
31
|
box-shadow: none;
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
.sapUshellShellHeadItm:hover
|
|
34
|
+
.sapUshellShellHeadItm:hover > .sapUshellShellHeadItmCntnt {
|
|
37
35
|
box-shadow: @sapUiContentInteractionShadow;
|
|
38
36
|
background-color: @sapUiShellHoverBackground;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
|
-
.sapUshellShellHeadItm:focus:not(:focus-visible)
|
|
39
|
+
.sapUshellShellHeadItm:focus:not(:focus-visible) > .sapUshellShellHeadItmCntnt {
|
|
42
40
|
background-color: @sapUiShellHoverBackground;
|
|
43
41
|
border-color: @sapUiButtonLiteBorderColor;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
|
-
.sapUshellShellHeadItm:focus-visible
|
|
44
|
+
.sapUshellShellHeadItm:focus-visible > .sapUshellShellHeadItmCntnt {
|
|
47
45
|
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
48
46
|
}
|
|
49
47
|
|
|
50
|
-
.sapUshellShellHeadItm:active
|
|
51
|
-
.sapUshellShellHeadItm:focus:active
|
|
52
|
-
.sapUshellShellHeadItm:focus-visible:active
|
|
48
|
+
.sapUshellShellHeadItm:active > .sapUshellShellHeadItmCntnt,
|
|
49
|
+
.sapUshellShellHeadItm:focus:active > .sapUshellShellHeadItmCntnt,
|
|
50
|
+
.sapUshellShellHeadItm:focus-visible:active > .sapUshellShellHeadItmCntnt {
|
|
53
51
|
color: @sapUiShellActiveTextColor;
|
|
54
52
|
background-color: @sapUiShellActiveBackground;
|
|
55
53
|
border-color: @sapUiButtonLiteActiveBorderColor;
|
|
@@ -69,12 +67,6 @@
|
|
|
69
67
|
|
|
70
68
|
/** Logo **/
|
|
71
69
|
|
|
72
|
-
// Image of the Logo Control
|
|
73
|
-
#shell-header-icon {
|
|
74
|
-
max-height: 2rem;
|
|
75
|
-
border: none;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
70
|
// CSS class for the Logo control itself.
|
|
79
71
|
.sapUshellShellIco {
|
|
80
72
|
height: inherit;
|
|
@@ -131,7 +123,6 @@
|
|
|
131
123
|
box-shadow: @sapUiContentInteractionShadow;
|
|
132
124
|
}
|
|
133
125
|
|
|
134
|
-
|
|
135
126
|
#userActionsMenuHeaderButton:focus:not(:focus-visible) {
|
|
136
127
|
border-color: @sapUiButtonLiteBorderColor;
|
|
137
128
|
outline: none;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* CSS for control sap.ushell
|
|
3
|
-
/*
|
|
4
|
-
/* ======================================= */
|
|
1
|
+
/* ============================================================= */
|
|
2
|
+
/* CSS for control "sap.ushell.ui.ShellHeader" (sap_horizon_hcb) */
|
|
3
|
+
/* ============================================================= */
|
|
5
4
|
|
|
6
|
-
// Shell header in general
|
|
7
5
|
.sapUshellShellHeader {
|
|
8
6
|
height: 3.25rem;
|
|
9
7
|
line-height: 2.75rem;
|
|
@@ -32,20 +30,20 @@
|
|
|
32
30
|
border: 1px @sapDefault_BorderStyle @sapUiContentFocusColor;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
|
-
.sapUshellShellHeadItm:hover
|
|
33
|
+
.sapUshellShellHeadItm:hover > .sapUshellShellHeadItmCntnt {
|
|
36
34
|
background-color: @sapUiShellHoverBackground;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
|
-
.sapUshellShellHeadItm:focus:not(:focus-visible)
|
|
37
|
+
.sapUshellShellHeadItm:focus:not(:focus-visible) > .sapUshellShellHeadItmCntnt {
|
|
40
38
|
background-color: @sapUiShellHoverBackground;
|
|
41
39
|
border-color: @sapUiButtonLiteBorderColor;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
|
-
.sapUshellShellHeadItm:focus-visible
|
|
42
|
+
.sapUshellShellHeadItm:focus-visible > .sapUshellShellHeadItmCntnt {
|
|
45
43
|
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
.sapUshellShellHeadItm:active
|
|
46
|
+
.sapUshellShellHeadItm:active > .sapUshellShellHeadItmCntnt {
|
|
49
47
|
background-color: @sapUiButtonHoverBackground;
|
|
50
48
|
}
|
|
51
49
|
|
|
@@ -56,11 +54,6 @@
|
|
|
56
54
|
|
|
57
55
|
/** Logo **/
|
|
58
56
|
|
|
59
|
-
// Image of the Logo Control
|
|
60
|
-
#shell-header-icon {
|
|
61
|
-
max-height: 2rem;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
57
|
.sapUshellShellIco {
|
|
65
58
|
height: inherit;
|
|
66
59
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* CSS for control sap.ushell
|
|
3
|
-
/*
|
|
4
|
-
/* ======================================= */
|
|
1
|
+
/* ============================================================= */
|
|
2
|
+
/* CSS for control "sap.ushell.ui.ShellHeader" (sap_horizon_hcw) */
|
|
3
|
+
/* ============================================================= */
|
|
5
4
|
|
|
6
|
-
// Shell header in general
|
|
7
5
|
.sapUshellShellHeader {
|
|
8
6
|
height: 3.25rem;
|
|
9
7
|
line-height: 2.75rem;
|
|
@@ -32,20 +30,20 @@
|
|
|
32
30
|
border: 1px @sapDefault_BorderStyle @sapUiContentFocusColor;
|
|
33
31
|
}
|
|
34
32
|
|
|
35
|
-
.sapUshellShellHeadItm:hover
|
|
33
|
+
.sapUshellShellHeadItm:hover > .sapUshellShellHeadItmCntnt {
|
|
36
34
|
background-color: @sapUiShellHoverBackground;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
|
-
.sapUshellShellHeadItm:focus:not(:focus-visible)
|
|
37
|
+
.sapUshellShellHeadItm:focus:not(:focus-visible) > .sapUshellShellHeadItmCntnt {
|
|
40
38
|
background-color: @sapUiShellHoverBackground;
|
|
41
39
|
border-color: @sapUiButtonLiteBorderColor;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
|
-
.sapUshellShellHeadItm:focus-visible
|
|
42
|
+
.sapUshellShellHeadItm:focus-visible > .sapUshellShellHeadItmCntnt {
|
|
45
43
|
outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
.sapUshellShellHeadItm:active
|
|
46
|
+
.sapUshellShellHeadItm:active > .sapUshellShellHeadItmCntnt {
|
|
49
47
|
background-color: @sapUiButtonHoverBackground;
|
|
50
48
|
}
|
|
51
49
|
|
|
@@ -56,11 +54,6 @@
|
|
|
56
54
|
|
|
57
55
|
/** Logo **/
|
|
58
56
|
|
|
59
|
-
// Image of the Logo Control
|
|
60
|
-
#shell-header-icon {
|
|
61
|
-
max-height: 2rem;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
57
|
.sapUshellShellIco {
|
|
65
58
|
height: inherit;
|
|
66
59
|
}
|
|
@@ -7,14 +7,16 @@ sap.ui.define([
|
|
|
7
7
|
"sap/ui/Device",
|
|
8
8
|
"sap/base/Log",
|
|
9
9
|
"./AppContainerRenderer",
|
|
10
|
-
"sap/ui/core/RenderManager"
|
|
10
|
+
"sap/ui/core/RenderManager",
|
|
11
|
+
"sap/ushell/Container"
|
|
11
12
|
], function (
|
|
12
13
|
Control,
|
|
13
14
|
Element,
|
|
14
15
|
Device,
|
|
15
16
|
Log,
|
|
16
17
|
AppContainerRenderer,
|
|
17
|
-
RenderManager
|
|
18
|
+
RenderManager,
|
|
19
|
+
Container
|
|
18
20
|
) {
|
|
19
21
|
"use strict";
|
|
20
22
|
|
|
@@ -99,7 +101,7 @@ sap.ui.define([
|
|
|
99
101
|
var oTargetPage = Element.getElementById(pageId),
|
|
100
102
|
sCurrentPageId = this.getCurrentCenterPage(),
|
|
101
103
|
oCurrentPage = Element.getElementById(sCurrentPageId) || null,
|
|
102
|
-
oHomeContainer =
|
|
104
|
+
oHomeContainer = Container.getRendererInternal("fiori2").byId("Shell-home-component-container"),
|
|
103
105
|
sHomeContainerId = oHomeContainer && oHomeContainer.getId(),
|
|
104
106
|
bNavFromHome = sCurrentPageId && (sHomeContainerId === sCurrentPageId),
|
|
105
107
|
bNavToHome = sHomeContainerId === pageId;
|
|
@@ -1,31 +1,43 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
+
"./ContentNodeSelectorRenderer",
|
|
4
5
|
"sap/base/util/deepClone",
|
|
6
|
+
"sap/m/Column",
|
|
7
|
+
"sap/m/ColumnListItem",
|
|
8
|
+
"sap/m/Label",
|
|
9
|
+
"sap/m/MultiInput",
|
|
5
10
|
"sap/m/Token",
|
|
6
11
|
"sap/ui/core/Element",
|
|
7
12
|
"sap/ui/core/Fragment",
|
|
8
|
-
"sap/ui/core/
|
|
13
|
+
"sap/ui/core/Control",
|
|
9
14
|
"sap/ui/Device",
|
|
10
15
|
"sap/ui/model/Filter",
|
|
11
16
|
"sap/ui/model/FilterOperator",
|
|
12
17
|
"sap/ui/model/json/JSONModel",
|
|
13
18
|
"sap/ushell/Config",
|
|
19
|
+
"sap/ushell/Container",
|
|
14
20
|
"sap/ushell/library",
|
|
15
21
|
"sap/ushell/resources"
|
|
16
22
|
], function (
|
|
23
|
+
ContentNodeSelectorRenderer,
|
|
17
24
|
deepClone,
|
|
25
|
+
Column,
|
|
26
|
+
ColumnListItem,
|
|
27
|
+
Label,
|
|
28
|
+
MultiInput,
|
|
18
29
|
Token,
|
|
19
30
|
Element,
|
|
20
31
|
Fragment,
|
|
21
|
-
|
|
32
|
+
Control,
|
|
22
33
|
Device,
|
|
23
34
|
Filter,
|
|
24
35
|
FilterOperator,
|
|
25
36
|
JSONModel,
|
|
26
37
|
Config,
|
|
38
|
+
Container,
|
|
27
39
|
ushellLibrary,
|
|
28
|
-
|
|
40
|
+
ushellResources
|
|
29
41
|
) {
|
|
30
42
|
"use strict";
|
|
31
43
|
|
|
@@ -41,15 +53,22 @@ sap.ui.define([
|
|
|
41
53
|
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
42
54
|
* @param {object} [mSettings] Initial settings for the new control
|
|
43
55
|
*
|
|
44
|
-
* @extends sap.ui.core.
|
|
56
|
+
* @extends sap.ui.core.Control
|
|
45
57
|
*
|
|
46
58
|
* @since 1.81
|
|
47
59
|
*
|
|
48
60
|
* @private
|
|
49
61
|
*/
|
|
50
|
-
var ContentNodeSelector =
|
|
62
|
+
var ContentNodeSelector = Control.extend("sap.ushell.ui.ContentNodeSelector", /** @lends sap.ushell.ui.ContentNodeSelector.prototype */ {
|
|
51
63
|
metadata: {
|
|
52
64
|
library: "sap.ushell",
|
|
65
|
+
aggregations: {
|
|
66
|
+
content: {
|
|
67
|
+
type: "sap.m.MultiInput",
|
|
68
|
+
multiple: false,
|
|
69
|
+
visibility: "hidden"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
53
72
|
associations: {
|
|
54
73
|
labelId: {
|
|
55
74
|
type: "sap.ui.core.Control",
|
|
@@ -64,7 +83,8 @@ sap.ui.define([
|
|
|
64
83
|
selectionChanged: {},
|
|
65
84
|
valueHelpEndButtonPressed: {}
|
|
66
85
|
}
|
|
67
|
-
}
|
|
86
|
+
},
|
|
87
|
+
renderer: ContentNodeSelectorRenderer
|
|
68
88
|
});
|
|
69
89
|
|
|
70
90
|
ContentNodeSelector.prototype.init = function () {
|
|
@@ -77,19 +97,56 @@ sap.ui.define([
|
|
|
77
97
|
|
|
78
98
|
this.setModel(this._oModel, "_internal");
|
|
79
99
|
this.setModel(this._oDeviceModel, "_device");
|
|
80
|
-
this.setModel(
|
|
100
|
+
this.setModel(ushellResources.getTranslationModel(), "_i18n");
|
|
81
101
|
|
|
82
|
-
|
|
83
|
-
|
|
102
|
+
|
|
103
|
+
if (!this.getAggregation("content")) {
|
|
104
|
+
const oMultiInput = this._createMultiInput();
|
|
105
|
+
this.setAggregation("content", oMultiInput);
|
|
106
|
+
}
|
|
84
107
|
|
|
85
108
|
this.setBusyIndicatorDelay(0); // TODO: the busy indicator delay should never be changed (this line should be removed)
|
|
86
109
|
this._loadContentNodes()
|
|
87
110
|
.then(this._overwriteLabel.bind(this));
|
|
88
111
|
};
|
|
89
112
|
|
|
90
|
-
ContentNodeSelector.prototype.
|
|
91
|
-
|
|
92
|
-
|
|
113
|
+
ContentNodeSelector.prototype._createMultiInput = function () {
|
|
114
|
+
const oMultiInput = new MultiInput({
|
|
115
|
+
ariaLabelledBy: "ContentNodeLabel",
|
|
116
|
+
valueHelpRequest: this._showValueHelp.bind(this),
|
|
117
|
+
tokenUpdate: this._onTokenUpdate.bind(this),
|
|
118
|
+
required: true,
|
|
119
|
+
suggestionColumns: [
|
|
120
|
+
new Column({
|
|
121
|
+
header: new Label({
|
|
122
|
+
text: "{= ${_internal>/isSpaces} ? ${_i18n>contentNodeSelectorPage} : ${_i18n>contentNodeSelectorHomepageGroup}}"
|
|
123
|
+
})
|
|
124
|
+
}),
|
|
125
|
+
new Column({
|
|
126
|
+
visible: "{= ${_internal>/isSpaces}}",
|
|
127
|
+
header: new Label({
|
|
128
|
+
text: "{_i18n>contentNodeSelectorSpace}"
|
|
129
|
+
})
|
|
130
|
+
})
|
|
131
|
+
],
|
|
132
|
+
suggestionRows: {
|
|
133
|
+
path: "_internal>/suggestions",
|
|
134
|
+
template: new ColumnListItem({
|
|
135
|
+
cells: [
|
|
136
|
+
new Label({
|
|
137
|
+
text: "{_internal>label}"
|
|
138
|
+
}),
|
|
139
|
+
new Label({
|
|
140
|
+
visible: "{_internal>/isSpaces}",
|
|
141
|
+
text: "{= ${_internal>spaceTitles}.join(', ')}"
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
}),
|
|
145
|
+
templateShareable: false
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
oMultiInput.addValidator(this._validateItem.bind(this));
|
|
149
|
+
return oMultiInput;
|
|
93
150
|
};
|
|
94
151
|
|
|
95
152
|
/**
|
|
@@ -104,9 +161,9 @@ sap.ui.define([
|
|
|
104
161
|
|
|
105
162
|
if (oLabel && typeof oLabel.setText === "function") {
|
|
106
163
|
if (this._oModel.getProperty("/isSpaces")) {
|
|
107
|
-
oLabel.setText(
|
|
164
|
+
oLabel.setText(ushellResources.i18n.getText("contentNodeSelectorHomepagePages"));
|
|
108
165
|
} else {
|
|
109
|
-
oLabel.setText(
|
|
166
|
+
oLabel.setText(ushellResources.i18n.getText("contentNodeSelectorHomepageGroups"));
|
|
110
167
|
}
|
|
111
168
|
}
|
|
112
169
|
|
|
@@ -129,7 +186,7 @@ sap.ui.define([
|
|
|
129
186
|
* @returns {object[]} All selected content nodes
|
|
130
187
|
*/
|
|
131
188
|
ContentNodeSelector.prototype.getSelectedContentNodes = function () {
|
|
132
|
-
var oMultiInput = this.getAggregation("
|
|
189
|
+
var oMultiInput = this.getAggregation("content");
|
|
133
190
|
var aTokens = oMultiInput.getTokens();
|
|
134
191
|
|
|
135
192
|
return aTokens.map(function (oToken) {
|
|
@@ -154,7 +211,7 @@ sap.ui.define([
|
|
|
154
211
|
ContentNodeSelector.prototype._getMyHomeEnablement = function () {
|
|
155
212
|
return new Promise(function (resolve, reject) {
|
|
156
213
|
var bMyHomeEnabled = Config.last("/core/spaces/myHome/enabled");
|
|
157
|
-
var bUserMyHome =
|
|
214
|
+
var bUserMyHome = Container.getUser().getShowMyHome();
|
|
158
215
|
resolve(bMyHomeEnabled && bUserMyHome);
|
|
159
216
|
});
|
|
160
217
|
};
|
|
@@ -199,7 +256,7 @@ sap.ui.define([
|
|
|
199
256
|
this.setBusy(true);
|
|
200
257
|
|
|
201
258
|
return Promise.all([
|
|
202
|
-
|
|
259
|
+
Container.getServiceAsync("BookmarkV2"),
|
|
203
260
|
this._getMyHomeEnablement()
|
|
204
261
|
]).then(function (aResult) {
|
|
205
262
|
var oBookmarkService = aResult[0];
|
|
@@ -302,7 +359,7 @@ sap.ui.define([
|
|
|
302
359
|
|
|
303
360
|
var aSelectedContextsPaths = oTree.getSelectedContextPaths();
|
|
304
361
|
|
|
305
|
-
var oMultiInput = this.getAggregation("
|
|
362
|
+
var oMultiInput = this.getAggregation("content");
|
|
306
363
|
oMultiInput.destroyTokens();
|
|
307
364
|
|
|
308
365
|
var oToken;
|
|
@@ -519,7 +576,7 @@ sap.ui.define([
|
|
|
519
576
|
* @since 1.86.0
|
|
520
577
|
*/
|
|
521
578
|
ContentNodeSelector.prototype.clearSelection = function () {
|
|
522
|
-
var oMultiInput = this.getAggregation("
|
|
579
|
+
var oMultiInput = this.getAggregation("content");
|
|
523
580
|
var aTokens = oMultiInput.getTokens();
|
|
524
581
|
|
|
525
582
|
aTokens.forEach(function (oToken) {
|
|
@@ -541,7 +598,7 @@ sap.ui.define([
|
|
|
541
598
|
* @since 1.86.0
|
|
542
599
|
*/
|
|
543
600
|
ContentNodeSelector.prototype.setValueState = function (valueState) {
|
|
544
|
-
var oMultiInput = this.getAggregation("
|
|
601
|
+
var oMultiInput = this.getAggregation("content");
|
|
545
602
|
oMultiInput.setValueState(valueState);
|
|
546
603
|
};
|
|
547
604
|
|
|
@@ -555,7 +612,7 @@ sap.ui.define([
|
|
|
555
612
|
* @since 1.86.0
|
|
556
613
|
*/
|
|
557
614
|
ContentNodeSelector.prototype.setValueStateText = function (valueStateText) {
|
|
558
|
-
var oMultiInput = this.getAggregation("
|
|
615
|
+
var oMultiInput = this.getAggregation("content");
|
|
559
616
|
oMultiInput.setValueStateText(valueStateText);
|
|
560
617
|
};
|
|
561
618
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
sap.ui.define([
|
|
4
|
+
], function (
|
|
5
|
+
) {
|
|
6
|
+
"use strict";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* ContentNodeSelector renderer.
|
|
10
|
+
* @namespace
|
|
11
|
+
*/
|
|
12
|
+
var ContentNodeSelectorRenderer = {
|
|
13
|
+
apiVersion: 2
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
18
|
+
*
|
|
19
|
+
* @param {sap.ui.core.RenderManager} oRenderManager the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
20
|
+
* @param {sap.ushell.ui.ContentNodeSelector} oSelector The control.
|
|
21
|
+
*/
|
|
22
|
+
ContentNodeSelectorRenderer.render = function (oRenderManager, oSelector) {
|
|
23
|
+
oRenderManager.openStart("div", oSelector);
|
|
24
|
+
oRenderManager.openEnd(); // div - tag
|
|
25
|
+
|
|
26
|
+
oRenderManager.renderControl(oSelector.getAggregation("content"));
|
|
27
|
+
|
|
28
|
+
oRenderManager.close("div");
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return ContentNodeSelectorRenderer;
|
|
32
|
+
});
|