@sapui5/sap.ushell 1.133.0 → 1.134.1
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 +3 -2
- package/src/main/js/sap/ushell/AppInfoParameters.js +18 -4
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +217 -0
- package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/ui5Resolution.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/urlResolution.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +14 -7
- package/src/main/js/sap/ushell/ApplicationType/utils.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +1 -1
- package/src/main/js/sap/ushell/ApplicationType.js +1 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +1 -1
- package/src/main/js/sap/ushell/Config/utils.js +1 -1
- package/src/main/js/sap/ushell/Config.js +1 -1
- package/src/main/js/sap/ushell/Container.js +1 -1
- package/src/main/js/sap/ushell/EventHub.js +1 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +2 -2
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +2 -2
- package/src/main/js/sap/ushell/Layout.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +11 -5
- package/src/main/js/sap/ushell/SessionHandler.js +139 -97
- package/src/main/js/sap/ushell/System.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +2 -2
- package/src/main/js/sap/ushell/UI5ComponentType.js +1 -1
- package/src/main/js/sap/ushell/UIActions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +2 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +2 -2
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +2 -2
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +2 -2
- package/src/main/js/sap/ushell/User.js +43 -11
- package/src/main/js/sap/ushell/UserActivityLog.js +1 -1
- package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +22 -6
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.controller.js +251 -0
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +69 -0
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegionEntry.js +67 -0
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +6 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +2 -2
- package/src/main/js/sap/ushell/api/BootstrapObserver.js +1 -1
- package/src/main/js/sap/ushell/api/Copilot.js +1 -1
- package/src/main/js/sap/ushell/api/Inbox.js +1 -1
- package/src/main/js/sap/ushell/api/NewExperience/CustomOverflowListItem.js +1 -1
- package/src/main/js/sap/ushell/api/NewExperience.js +1 -1
- package/src/main/js/sap/ushell/api/RTA.js +1 -1
- package/src/main/js/sap/ushell/api/S4MyHome.js +1 -1
- package/src/main/js/sap/ushell/api/SAPBusinessClient.js +129 -0
- package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +1 -1
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +1 -1
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +24 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/BusyIndicator.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/libsPreload.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/Component.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/ui/UIProxy.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/EventProcessor.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPLoader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPScheduler.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/LoadingConfiguration.json +4 -0
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +33 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-loader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.boot.task.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.path.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.script.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.task.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.extractLibs.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5language.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5theme.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.constants.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +58 -25
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.bootstrapExtension.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.override.registermodulepath.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ui5theme.from.config.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBootTask.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/ui5loader-config.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +1 -1
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +1 -1
- package/src/main/js/sap/ushell/components/DestroyHelper.js +1 -1
- package/src/main/js/sap/ushell/components/GroupsHelper.js +1 -1
- package/src/main/js/sap/ushell/components/HomepageManager.js +1 -1
- package/src/main/js/sap/ushell/components/MessagingHelper.js +1 -1
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +11 -3
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +707 -916
- package/src/main/js/sap/ushell/components/applicationIntegration/ApplicationContainer.js +272 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/ApplicationContainerCache.js +229 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/ApplicationContainerRenderer.js +35 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/IframeApplicationContainer.js +372 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/IframeApplicationContainerRenderer.js +296 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/KeepAliveApps.js +68 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/AppruntimeHandler.js +120 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/ExtensionItems.js +143 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/LifecycleHandler.js +618 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/MessageBrokerHandler.js +64 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/NWBCHandler.js +83 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager/ServiceHandler.js +1503 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessageManager.js +638 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/PostMessagePluginInterface.js +152 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +21 -50
- package/src/main/js/sap/ushell/components/applicationIntegration/UI5ApplicationContainer.js +168 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/UI5ApplicationContainerRenderer.js +41 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +30 -679
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +13 -390
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxesCache.js +8 -249
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +9 -2365
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPIInterface.js +10 -127
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageUtils.js +10 -177
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +10 -74
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +21 -12
- package/src/main/js/sap/ushell/components/applicationIntegration/contracts/EmbeddedUI5Handler.js +176 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/contracts/StatefulContainerV1Handler.js +91 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/contracts/StatefulContainerV2Handler.js +175 -0
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +13 -74
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/AppLifeCycle.js +1926 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/Storage.js +62 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/Application.js +709 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/BlueBoxHandler.js +406 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/BlueBoxesCache.js +263 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageAPI.js +2382 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageAPIInterface.js +143 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageUtils.js +192 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/WebGUIStatefulHandler.js +90 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/configuration/AppMeta.js +193 -0
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/relatedServices/RelatedServices.js +91 -0
- package/src/main/js/sap/ushell/components/cards/Card.controller.js +1 -1
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +1 -1
- package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Component.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Config.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionStandard.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/All.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/People.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Workpage.js +1 -1
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +38 -22
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +5 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +14 -5
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +32 -8
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +6 -2
- package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +6 -3
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +54 -14
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources.properties +6 -0
- package/src/main/js/sap/ushell/components/factsheet/Component.js +2 -2
- package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +1 -1
- package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +2 -2
- package/src/main/js/sap/ushell/components/pages/Component.js +2 -2
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +2 -2
- package/src/main/js/sap/ushell/components/pages/StateManager.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +1 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +2 -2
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +1 -2
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +39 -4
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +30 -63
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +118 -0
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenu.view.xml +64 -17
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/view/NavigationBarMenuButton.view.xml +24 -0
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +2 -2
- 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 +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/ProvidersExecuter.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +19 -16
- package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +3 -2
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +44 -17
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +29 -24
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +95 -215
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +77 -178
- package/src/main/js/sap/ushell/components/shell/SideNavigation/css/style.css +3 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/fragment/Popover.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +8 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +52 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +48 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +222 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +142 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +186 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +73 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +79 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +141 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +288 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +79 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources.properties +15 -6
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ar.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_bg.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ca.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cnr.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cs.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cy.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_da.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_de.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_el.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_GB.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_US_saprigi.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es_MX.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_et.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fi.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr_CA.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hi.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hr.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hu.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_id.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_it.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_iw.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ja.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_kk.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ko.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lt.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lv.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_mk.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ms.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_nl.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_no.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pl.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt_PT.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ro.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ru.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sh.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sk.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sl.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sr.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sv.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_th.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_tr.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_uk.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_vi.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_CN.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_TW.properties +10 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/view/SideNavigation.view.xml +37 -28
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +142 -15
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.fragment.xml +33 -0
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenuPopover.fragment.xml +25 -8
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +1 -3
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/generic.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +2 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +2 -2
- package/src/main/js/sap/ushell/functionBindPrototype.js +1 -1
- package/src/main/js/sap/ushell/iconfonts.js +1 -1
- package/src/main/js/sap/ushell/library.js +68 -2
- package/src/main/js/sap/ushell/navigationMode.js +2 -2
- package/src/main/js/sap/ushell/override.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +2 -2
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +2 -2
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +2 -2
- package/src/main/js/sap/ushell/plugins/appwarmup/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/plugins/ghostapp/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +1 -1
- package/src/main/js/sap/ushell/renderer/History.js +1 -1
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +1 -1
- package/src/main/js/sap/ushell/renderer/Renderer.js +3 -3
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +327 -140
- package/src/main/js/sap/ushell/renderer/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/ShellLayout.js +10 -2
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +1 -1
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +5 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +51 -45
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +12 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +11 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +10 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +11 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +9 -3
- package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/CEPSearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/SearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/util.js +1 -1
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +13 -7
- package/src/main/js/sap/ushell/renderer/utils.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/History.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +1 -1
- package/src/main/js/sap/ushell/resources.js +1 -1
- package/src/main/js/sap/ushell/services/AllMyApps.js +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +4 -3
- package/src/main/js/sap/ushell/services/AppState.js +2 -2
- package/src/main/js/sap/ushell/services/AppType.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +2 -2
- package/src/main/js/sap/ushell/services/BookmarkV2.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/ParameterMapping.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +2 -2
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +2 -2
- package/src/main/js/sap/ushell/services/CommonDataModel/PersonalizationProcessor.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +2 -2
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +2 -2
- package/src/main/js/sap/ushell/services/CommonDataModel.js +2 -13
- package/src/main/js/sap/ushell/services/Configuration.js +2 -2
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -2
- package/src/main/js/sap/ushell/services/Container.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +2 -2
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +2 -2
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +2 -2
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +2 -2
- package/src/main/js/sap/ushell/services/Extension.js +2 -2
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +63 -0
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +14 -10
- package/src/main/js/sap/ushell/services/LaunchPage.js +2 -2
- package/src/main/js/sap/ushell/services/Menu.js +2 -2
- package/src/main/js/sap/ushell/services/Message.js +2 -2
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +269 -143
- package/src/main/js/sap/ushell/services/MessageBroker.js +2 -2
- package/src/main/js/sap/ushell/services/MessageInternal.js +2 -2
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +2 -2
- package/src/main/js/sap/ushell/services/Navigation/utils.js +2 -2
- package/src/main/js/sap/ushell/services/Navigation.js +6 -6
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/Notifications.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +2 -2
- package/src/main/js/sap/ushell/services/PagePersistence.js +2 -2
- package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
- package/src/main/js/sap/ushell/services/Pages.js +2 -2
- package/src/main/js/sap/ushell/services/Personalization.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager.js +22 -9
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +2 -2
- package/src/main/js/sap/ushell/services/SearchCEP.js +2 -2
- package/src/main/js/sap/ushell/services/SearchableContent.js +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigation.js +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +2 -2
- package/src/main/js/sap/ushell/services/SpaceContent.js +2 -2
- package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +2 -2
- package/src/main/js/sap/ushell/services/URLParsing.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
- package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +11 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader/utils.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +2 -2
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +2 -2
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +2 -2
- package/src/main/js/sap/ushell/services/UserInfo.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +2 -2
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +2 -2
- package/src/main/js/sap/ushell/services/_AppState/AppStatePersistencyMethod.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +2 -2
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +2 -2
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +2 -2
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +2 -2
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/constants.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/AppStatePersistencyMethod.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/AppStatePersistencySettings.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/SequentializingAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +1 -1
- package/src/main/js/sap/ushell/state/BackNavigation.js +91 -0
- package/src/main/js/sap/ushell/state/BaseState.js +1 -1
- package/src/main/js/sap/ushell/state/BindingHelper.js +18 -15
- package/src/main/js/sap/ushell/state/ControlManager.js +1 -1
- package/src/main/js/sap/ushell/state/CurrentState.js +1 -1
- package/src/main/js/sap/ushell/state/KeepAlive.js +1 -1
- package/src/main/js/sap/ushell/state/ShellModel.js +1 -1
- package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +1 -1
- package/src/main/js/sap/ushell/state/StateManager/Operation.js +1 -1
- package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +1 -1
- package/src/main/js/sap/ushell/state/StateManager.js +1 -1
- package/src/main/js/sap/ushell/state/StateRules.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +2 -2
- package/src/main/js/sap/ushell/themes/base/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_base/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/HistoryScreen.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/HistoryScreen.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_belize_plus/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/HistoryScreen.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_hcb/HistoryScreen.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/Icons.js +191 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +1809 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenuAccount.js +104 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +420 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +2508 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +2508 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar.js +7139 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_EG.js +7139 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_SA.js +7138 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/bg.js +6031 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ca.js +6133 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/cnr.js +6219 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/cs.js +6759 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/da.js +5977 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de.js +6098 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de_AT.js +6099 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de_CH.js +6097 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/el.js +5882 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/el_CY.js +5882 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en.js +6094 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_AU.js +6134 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_GB.js +6125 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_HK.js +6136 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IE.js +6125 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IN.js +6132 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_NZ.js +6125 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_PG.js +6126 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_SG.js +6132 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_ZA.js +6126 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es.js +6153 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_AR.js +6156 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_BO.js +6155 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CL.js +6048 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CO.js +6048 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_MX.js +6157 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_PE.js +5939 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_UY.js +5941 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_VE.js +5940 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/et.js +6077 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fa.js +6002 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fi.js +6245 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr.js +6047 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_BE.js +6047 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CA.js +6041 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CH.js +6065 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_LU.js +6047 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/he.js +6593 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hi.js +5911 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hr.js +6246 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hu.js +5995 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/id.js +5783 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/it.js +6036 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/it_CH.js +6036 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ja.js +5942 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/kk.js +5989 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ko.js +5823 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/lt.js +6628 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/lv.js +6164 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +656 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +542 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_in.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_in2.js +266 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_in3.js +143 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +182 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +515 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/mk.js +6095 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ms.js +5617 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nb.js +6085 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nl.js +6252 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nl_BE.js +6252 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pl.js +6639 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pt.js +6165 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pt_PT.js +6230 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ro.js +6250 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ru.js +6553 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ru_UA.js +6553 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sk.js +6482 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sl.js +6494 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sr.js +6291 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sr_Latn.js +6278 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sv.js +6126 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/th.js +5928 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/tr.js +6146 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/uk.js +6504 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/vi.js +5720 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_CN.js +5770 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_HK.js +5779 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_SG.js +5779 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_TW.js +5846 -0
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css25.js +7177 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/ListItem.js +81 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/ListItemBase.js +44 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/MenuItem.js +119 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-base.js +212 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenu.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenuAccount.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenuItem.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenu.js +99 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenuAccount.js +75 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenuItem.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori.js +347 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +26 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents.js +650 -0
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +4279 -0
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base2.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +146 -0
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +381 -0
- package/src/main/js/sap/ushell/ui/AppContainer.js +22 -8
- package/src/main/js/sap/ushell/ui/AppContainerRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +1 -1
- package/src/main/js/sap/ushell/ui/ContentNodeSelectorRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/ContentNodeTreeItem.js +1 -1
- package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItem.js +1 -1
- package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItemRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/QuickAccess.js +1 -1
- package/src/main/js/sap/ushell/ui/ShellHeader.js +56 -40
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternalRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/PinButton.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/PinButtonRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +2 -2
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AccessibilityCustomData.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBarRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItemRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/PageRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerUtils.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternal.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternalRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileStateRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceAbap.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceBase.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLink.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactAreaRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ContentRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/NavigationMiniTile.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/OverflowListItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingAction.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActionRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActions.js +1 -9
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/SidePane.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/SubHeader.js +8 -51
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/SysInfoBarRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +2 -2
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/DynamicTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/StaticTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/TileBaseRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +2 -2
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +2 -2
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +2 -2
- package/src/main/js/sap/ushell/utils/AppType.js +1 -1
- package/src/main/js/sap/ushell/utils/Deferred.js +1 -1
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +1 -1
- package/src/main/js/sap/ushell/utils/HttpClient.js +1 -1
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +17 -1
- package/src/main/js/sap/ushell/utils/UriParameters.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/WindowUtils.js +1 -1
- package/src/main/js/sap/ushell/utils/chipsUtils.js +1 -1
- package/src/main/js/sap/ushell/utils/objectOperations.js +1 -1
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +1 -1
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +1 -1
- package/src/main/js/sap/ushell/utils/type.js +1 -1
- package/src/main/js/sap/ushell/utils/utilsCdm.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +2 -2
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +3 -3
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +3 -3
- package/src/main/js/sap/ushell/utils.js +9 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +2 -2
- package/ui5.yaml +20 -1
|
@@ -0,0 +1,1809 @@
|
|
|
1
|
+
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/parameters-bundle.css25', 'sap/ushell/thirdparty/Icons'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, parametersBundle_css, Icons) { 'use strict';
|
|
2
|
+
|
|
3
|
+
const o=e=>(t,r)=>{Object.defineProperty(t,r,{get(){return this.shadowRoot?.querySelector(e)}});};
|
|
4
|
+
|
|
5
|
+
function AvatarTemplate() {
|
|
6
|
+
return (parametersBundle_css.jsxs("div", { class: "ui5-avatar-root", tabindex: this.tabindex, "data-sap-focus-ref": true, role: this._role, "aria-haspopup": this._ariaHasPopup, "aria-label": this.accessibleNameText, onKeyUp: this._onkeyup, onKeyDown: this._onkeydown, onClick: this._onclick, children: [this.hasImage ?
|
|
7
|
+
parametersBundle_css.jsx("slot", {})
|
|
8
|
+
:
|
|
9
|
+
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [this.icon && parametersBundle_css.jsx(parametersBundle_css.Icon, { class: "ui5-avatar-icon", name: this.icon, accessibleName: this.accessibleName }), this.initials &&
|
|
10
|
+
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("span", { class: "ui5-avatar-initials ui5-avatar-initials-hidden", children: this.validInitials }), parametersBundle_css.jsx(parametersBundle_css.Icon, { name: this.fallbackIcon, class: "ui5-avatar-icon ui5-avatar-icon-fallback ui5-avatar-fallback-icon-hidden" })] })] }), parametersBundle_css.jsx("slot", { name: "badge" })] }));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
14
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
15
|
+
var AvatarCss = `:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative;font-family:"72override",var(--sapFontFamily)}:host(:not([hidden]).ui5_hovered){opacity:.7}:host([interactive]:not([disabled])){cursor:pointer}:host([interactive]:not([hidden]):active){background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([interactive]:not([hidden]):not([disabled]):not(:active):not([focused]):hover){box-shadow:var(--ui5-v2-8-0-avatar-hover-box-shadow-offset)}:host([interactive][desktop]:not([hidden])) .ui5-avatar-root:focus,:host([interactive]:not([hidden])) .ui5-avatar-root:focus-visible{outline:var(--_ui5-v2-8-0_avatar_outline);outline-offset:var(--_ui5-v2-8-0_avatar_focus_offset)}:host([disabled]){opacity:var(--sapContent_DisabledOpacity)}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v2-8-0-avatar-initials-border);outline:none;color:var(--ui5-v2-8-0-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%;border-radius:inherit}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v2-8-0_avatar_fontsize_XS)}:host(:not([size])),:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v2-8-0_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v2-8-0_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v2-8-0_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v2-8-0_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_fontsize_S);width:var(--_ui5-v2-8-0_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_icon_XS);width:var(--_ui5-v2-8-0_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_icon_S);width:var(--_ui5-v2-8-0_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_icon_M);width:var(--_ui5-v2-8-0_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_icon_L);width:var(--_ui5-v2-8-0_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v2-8-0_avatar_icon_XL);width:var(--_ui5-v2-8-0_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v2-8-0-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v2-8-0-avatar-border-radius) - var(--ui5-v2-8-0-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v2-8-0-avatar-accent6);color:var(--ui5-v2-8-0-avatar-accent6-color);border-color:var(--ui5-v2-8-0-avatar-accent6-border-color)}:host([_color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_6_Hover_Background)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v2-8-0-avatar-accent1);color:var(--ui5-v2-8-0-avatar-accent1-color);border-color:var(--ui5-v2-8-0-avatar-accent1-border-color)}:host([_color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_1_Hover_Background)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v2-8-0-avatar-accent2);color:var(--ui5-v2-8-0-avatar-accent2-color);border-color:var(--ui5-v2-8-0-avatar-accent2-border-color)}:host([_color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_2_Hover_Background)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v2-8-0-avatar-accent3);color:var(--ui5-v2-8-0-avatar-accent3-color);border-color:var(--ui5-v2-8-0-avatar-accent3-border-color)}:host([_color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_3_Hover_Background)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v2-8-0-avatar-accent4);color:var(--ui5-v2-8-0-avatar-accent4-color);border-color:var(--ui5-v2-8-0-avatar-accent4-border-color)}:host([_color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_4_Hover_Background)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v2-8-0-avatar-accent5);color:var(--ui5-v2-8-0-avatar-accent5-color);border-color:var(--ui5-v2-8-0-avatar-accent5-border-color)}:host([_color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_5_Hover_Background)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v2-8-0-avatar-accent7);color:var(--ui5-v2-8-0-avatar-accent7-color);border-color:var(--ui5-v2-8-0-avatar-accent7-border-color)}:host([_color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_7_Hover_Background)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v2-8-0-avatar-accent8);color:var(--ui5-v2-8-0-avatar-accent8-color);border-color:var(--ui5-v2-8-0-avatar-accent8-border-color)}:host([_color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_8_Hover_Background)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v2-8-0-avatar-accent9);color:var(--ui5-v2-8-0-avatar-accent9-color);border-color:var(--ui5-v2-8-0-avatar-accent9-border-color)}:host([_color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_9_Hover_Background)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v2-8-0-avatar-accent10);color:var(--ui5-v2-8-0-avatar-accent10-color);border-color:var(--ui5-v2-8-0-avatar-accent10-border-color)}:host([_color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_10_Hover_Background)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v2-8-0-avatar-placeholder);color:var(--ui5-v2-8-0-avatar-placeholder-color);border-color:var(--sapAvatar_Lite_BorderColor)}:host([_has-image]){color:var(--ui5-v2-8-0-avatar-accent10-color);background-color:transparent;vertical-align:middle}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-fallback-icon-hidden{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){pointer-events:initial;position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapBackgroundColor);--_ui5-v2-8-0-tag-height: 1.125rem;--_ui5-v2-8-0-tag-border-radius: 50%}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem;--_ui5-v2-8-0-tag-height: 1.25rem;--_ui5-v2-8-0-tag-icon-width: .875rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){width:1.75rem;height:1.75rem;--_ui5-v2-8-0-tag-height: 1.75rem;--_ui5-v2-8-0-tag-icon-width: 1rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem}
|
|
16
|
+
`;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Different types of AvatarSize.
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
var AvatarSize;
|
|
23
|
+
(function (AvatarSize) {
|
|
24
|
+
/**
|
|
25
|
+
* component size - 2rem
|
|
26
|
+
* font size - 1rem
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
AvatarSize["XS"] = "XS";
|
|
30
|
+
/**
|
|
31
|
+
* component size - 3rem
|
|
32
|
+
* font size - 1.5rem
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
AvatarSize["S"] = "S";
|
|
36
|
+
/**
|
|
37
|
+
* component size - 4rem
|
|
38
|
+
* font size - 2rem
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
AvatarSize["M"] = "M";
|
|
42
|
+
/**
|
|
43
|
+
* component size - 5rem
|
|
44
|
+
* font size - 2.5rem
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
AvatarSize["L"] = "L";
|
|
48
|
+
/**
|
|
49
|
+
* component size - 7rem
|
|
50
|
+
* font size - 3rem
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
AvatarSize["XL"] = "XL";
|
|
54
|
+
})(AvatarSize || (AvatarSize = {}));
|
|
55
|
+
var AvatarSize$1 = AvatarSize;
|
|
56
|
+
|
|
57
|
+
const name$b = "employee";
|
|
58
|
+
const pathData$b = "M448 512H64V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128zM96 384v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm160-160q40 0 68-28t28-68-28-68-68-28-68 28-28 68 28 68 68 28zm32 192v-32h96v32h-96z";
|
|
59
|
+
const ltr$b = false;
|
|
60
|
+
const collection$b = "SAP-icons-v4";
|
|
61
|
+
const packageName$b = "@ui5/webcomponents-icons";
|
|
62
|
+
|
|
63
|
+
Icons.f(name$b, { pathData: pathData$b, ltr: ltr$b, collection: collection$b, packageName: packageName$b });
|
|
64
|
+
|
|
65
|
+
const name$a = "employee";
|
|
66
|
+
const pathData$a = "M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-55 29-99.5t77-67.5l-4-5q-19-17-28.5-40.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zm-163-95q0 32 22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83t-54.5 22.5T179 160zm51 181l-25-15q-13-7-13-19v-6q-34 17-55.5 49T115 422v7h115v-88zm167 81q0-40-21-72t-56-49v6q0 12-13 19l-26 15v88h116v-7zm-71-70q11 0 18.5 7.5T352 378t-7.5 18-18.5 7h-12q-11 0-18.5-7t-7.5-18 7.5-18.5T314 352h12z";
|
|
67
|
+
const ltr$a = false;
|
|
68
|
+
const collection$a = "SAP-icons-v5";
|
|
69
|
+
const packageName$a = "@ui5/webcomponents-icons";
|
|
70
|
+
|
|
71
|
+
Icons.f(name$a, { pathData: pathData$a, ltr: ltr$a, collection: collection$a, packageName: packageName$a });
|
|
72
|
+
|
|
73
|
+
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
74
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
75
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
76
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
77
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
78
|
+
};
|
|
79
|
+
var Avatar_1;
|
|
80
|
+
/**
|
|
81
|
+
* @class
|
|
82
|
+
* ### Overview
|
|
83
|
+
*
|
|
84
|
+
* An image-like component that has different display options for representing images and icons
|
|
85
|
+
* in different shapes and sizes, depending on the use case.
|
|
86
|
+
*
|
|
87
|
+
* The shape can be circular or square. There are several predefined sizes, as well as an option to
|
|
88
|
+
* set a custom size.
|
|
89
|
+
*
|
|
90
|
+
* ### Keyboard Handling
|
|
91
|
+
*
|
|
92
|
+
* - [Space] / [Enter] or [Return] - Fires the `click` event if the `interactive` property is set to true.
|
|
93
|
+
* - [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.
|
|
94
|
+
*
|
|
95
|
+
* ### ES6 Module Import
|
|
96
|
+
* `import "@ui5/webcomponents/dist/Avatar.js";`
|
|
97
|
+
* @constructor
|
|
98
|
+
* @extends UI5Element
|
|
99
|
+
* @since 1.0.0-rc.6
|
|
100
|
+
* @implements {IAvatarGroupItem}
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
let Avatar = Avatar_1 = class Avatar extends webcomponentsBase.b {
|
|
104
|
+
constructor() {
|
|
105
|
+
super();
|
|
106
|
+
/**
|
|
107
|
+
* Defines whether the component is disabled.
|
|
108
|
+
* A disabled component can't be pressed or
|
|
109
|
+
* focused, and it is not in the tab chain.
|
|
110
|
+
* @default false
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
this.disabled = false;
|
|
114
|
+
/**
|
|
115
|
+
* Defines if the avatar is interactive (focusable and pressable).
|
|
116
|
+
*
|
|
117
|
+
* **Note:** This property won't have effect if the `disabled`
|
|
118
|
+
* property is set to `true`.
|
|
119
|
+
* @default false
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
this.interactive = false;
|
|
123
|
+
/**
|
|
124
|
+
* Defines the name of the fallback icon, which should be displayed in the following cases:
|
|
125
|
+
*
|
|
126
|
+
* - If the initials are not valid (more than 3 letters, unsupported languages or empty initials).
|
|
127
|
+
* - If there are three initials and they do not fit in the shape (e.g. WWW for some of the sizes).
|
|
128
|
+
* - If the image src is wrong.
|
|
129
|
+
*
|
|
130
|
+
* **Note:** If not set, a default fallback icon "employee" is displayed.
|
|
131
|
+
*
|
|
132
|
+
* **Note:** You should import the desired icon first, then use its name as "fallback-icon".
|
|
133
|
+
*
|
|
134
|
+
* `import "@ui5/webcomponents-icons/dist/{icon_name}.js"`
|
|
135
|
+
*
|
|
136
|
+
* `<ui5-avatar fallback-icon="alert">`
|
|
137
|
+
*
|
|
138
|
+
* See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
139
|
+
* @default "employee"
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
this.fallbackIcon = "employee";
|
|
143
|
+
/**
|
|
144
|
+
* Defines the shape of the component.
|
|
145
|
+
* @default "Circle"
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
this.shape = "Circle";
|
|
149
|
+
/**
|
|
150
|
+
* Defines predefined size of the component.
|
|
151
|
+
* @default "S"
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
this.size = "S";
|
|
155
|
+
/**
|
|
156
|
+
* Defines the background color of the desired image.
|
|
157
|
+
* @default "Accent6"
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
this.colorScheme = "Accent6";
|
|
161
|
+
/**
|
|
162
|
+
* @private
|
|
163
|
+
*/
|
|
164
|
+
this._colorScheme = "Accent6";
|
|
165
|
+
/**
|
|
166
|
+
* Defines the additional accessibility attributes that will be applied to the component.
|
|
167
|
+
* The following field is supported:
|
|
168
|
+
*
|
|
169
|
+
* - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
|
|
170
|
+
* Accepts the following string values: `dialog`, `grid`, `listbox`, `menu` or `tree`.
|
|
171
|
+
*
|
|
172
|
+
* @public
|
|
173
|
+
* @since 2.0.0
|
|
174
|
+
* @default {}
|
|
175
|
+
*/
|
|
176
|
+
this.accessibilityAttributes = {};
|
|
177
|
+
this._hasImage = false;
|
|
178
|
+
this._handleResizeBound = this.handleResize.bind(this);
|
|
179
|
+
}
|
|
180
|
+
get tabindex() {
|
|
181
|
+
if (this.forcedTabIndex) {
|
|
182
|
+
return parseInt(this.forcedTabIndex);
|
|
183
|
+
}
|
|
184
|
+
return this._interactive ? 0 : undefined;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Returns the effective avatar size.
|
|
188
|
+
* @default "S"
|
|
189
|
+
* @private
|
|
190
|
+
*/
|
|
191
|
+
get effectiveSize() {
|
|
192
|
+
// we read the attribute, because the "size" property will always have a default value
|
|
193
|
+
return this.getAttribute("size") || AvatarSize$1.S;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Returns the effective background color.
|
|
197
|
+
* @default "Accent6"
|
|
198
|
+
* @private
|
|
199
|
+
*/
|
|
200
|
+
get еffectiveBackgroundColor() {
|
|
201
|
+
// we read the attribute, because the "background-color" property will always have a default value
|
|
202
|
+
return this.getAttribute("color-scheme") || this._colorScheme;
|
|
203
|
+
}
|
|
204
|
+
get _role() {
|
|
205
|
+
return this._interactive ? "button" : "img";
|
|
206
|
+
}
|
|
207
|
+
get _ariaHasPopup() {
|
|
208
|
+
return this._getAriaHasPopup();
|
|
209
|
+
}
|
|
210
|
+
get _interactive() {
|
|
211
|
+
return this.interactive && !this.disabled;
|
|
212
|
+
}
|
|
213
|
+
get validInitials() {
|
|
214
|
+
// initials should consist of only 1,2 or 3 latin letters
|
|
215
|
+
const validInitials = /^[a-zA-Zà-üÀ-Ü]{1,3}$/, areInitialsValid = this.initials && validInitials.test(this.initials);
|
|
216
|
+
if (areInitialsValid) {
|
|
217
|
+
return this.initials;
|
|
218
|
+
}
|
|
219
|
+
return null;
|
|
220
|
+
}
|
|
221
|
+
get accessibleNameText() {
|
|
222
|
+
if (this.accessibleName) {
|
|
223
|
+
return this.accessibleName;
|
|
224
|
+
}
|
|
225
|
+
const defaultLabel = Avatar_1.i18nBundle.getText(parametersBundle_css.AVATAR_TOOLTIP);
|
|
226
|
+
return this.initials ? `${defaultLabel} ${this.initials}`.trim() : defaultLabel;
|
|
227
|
+
}
|
|
228
|
+
get hasImage() {
|
|
229
|
+
this._hasImage = !!this.image.length;
|
|
230
|
+
return this._hasImage;
|
|
231
|
+
}
|
|
232
|
+
get initialsContainer() {
|
|
233
|
+
return this.getDomRef().querySelector(".ui5-avatar-initials");
|
|
234
|
+
}
|
|
235
|
+
get fallBackIconDomRef() {
|
|
236
|
+
return this.getDomRef().querySelector(".ui5-avatar-icon-fallback");
|
|
237
|
+
}
|
|
238
|
+
async onAfterRendering() {
|
|
239
|
+
await Icons.f$1();
|
|
240
|
+
if (this.initials && !this.icon) {
|
|
241
|
+
this._checkInitials();
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
onEnterDOM() {
|
|
245
|
+
if (Icons.f$2()) {
|
|
246
|
+
this.setAttribute("desktop", "");
|
|
247
|
+
}
|
|
248
|
+
this.initialsContainer && webcomponentsBase.f$1.register(this.initialsContainer, this._handleResizeBound);
|
|
249
|
+
}
|
|
250
|
+
onExitDOM() {
|
|
251
|
+
this.initialsContainer && webcomponentsBase.f$1.deregister(this.initialsContainer, this._handleResizeBound);
|
|
252
|
+
}
|
|
253
|
+
handleResize() {
|
|
254
|
+
if (this.initials && !this.icon) {
|
|
255
|
+
this._checkInitials();
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
_checkInitials() {
|
|
259
|
+
const avatar = this.getDomRef();
|
|
260
|
+
const avatarInitials = avatar.querySelector(".ui5-avatar-initials");
|
|
261
|
+
const validInitials = this.validInitials && avatarInitials && avatarInitials.scrollWidth <= avatar.scrollWidth;
|
|
262
|
+
if (validInitials) {
|
|
263
|
+
this.showInitials();
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
this.showFallbackIcon();
|
|
267
|
+
}
|
|
268
|
+
showFallbackIcon() {
|
|
269
|
+
this.initialsContainer?.classList.add("ui5-avatar-initials-hidden");
|
|
270
|
+
this.fallBackIconDomRef?.classList.remove("ui5-avatar-fallback-icon-hidden");
|
|
271
|
+
}
|
|
272
|
+
showInitials() {
|
|
273
|
+
this.initialsContainer?.classList.remove("ui5-avatar-initials-hidden");
|
|
274
|
+
this.fallBackIconDomRef?.classList.add("ui5-avatar-fallback-icon-hidden");
|
|
275
|
+
}
|
|
276
|
+
_onclick(e) {
|
|
277
|
+
e.stopPropagation();
|
|
278
|
+
this._fireClick();
|
|
279
|
+
}
|
|
280
|
+
_onkeydown(e) {
|
|
281
|
+
if (!this._interactive) {
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
if (webcomponentsBase.b$1(e)) {
|
|
285
|
+
this._fireClick();
|
|
286
|
+
}
|
|
287
|
+
if (webcomponentsBase.i(e)) {
|
|
288
|
+
e.preventDefault(); // prevent scrolling
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
_onkeyup(e) {
|
|
292
|
+
if (this._interactive && !e.shiftKey && webcomponentsBase.i(e)) {
|
|
293
|
+
this._fireClick();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
_fireClick() {
|
|
297
|
+
this.fireDecoratorEvent("click");
|
|
298
|
+
}
|
|
299
|
+
_getAriaHasPopup() {
|
|
300
|
+
const ariaHaspopup = this.accessibilityAttributes.hasPopup;
|
|
301
|
+
if (!this._interactive || !ariaHaspopup) {
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
return ariaHaspopup;
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
__decorate$6([
|
|
308
|
+
webcomponentsBase.s({ type: Boolean })
|
|
309
|
+
], Avatar.prototype, "disabled", void 0);
|
|
310
|
+
__decorate$6([
|
|
311
|
+
webcomponentsBase.s({ type: Boolean })
|
|
312
|
+
], Avatar.prototype, "interactive", void 0);
|
|
313
|
+
__decorate$6([
|
|
314
|
+
webcomponentsBase.s()
|
|
315
|
+
], Avatar.prototype, "icon", void 0);
|
|
316
|
+
__decorate$6([
|
|
317
|
+
webcomponentsBase.s()
|
|
318
|
+
], Avatar.prototype, "fallbackIcon", void 0);
|
|
319
|
+
__decorate$6([
|
|
320
|
+
webcomponentsBase.s()
|
|
321
|
+
], Avatar.prototype, "initials", void 0);
|
|
322
|
+
__decorate$6([
|
|
323
|
+
webcomponentsBase.s()
|
|
324
|
+
], Avatar.prototype, "shape", void 0);
|
|
325
|
+
__decorate$6([
|
|
326
|
+
webcomponentsBase.s()
|
|
327
|
+
], Avatar.prototype, "size", void 0);
|
|
328
|
+
__decorate$6([
|
|
329
|
+
webcomponentsBase.s()
|
|
330
|
+
], Avatar.prototype, "colorScheme", void 0);
|
|
331
|
+
__decorate$6([
|
|
332
|
+
webcomponentsBase.s()
|
|
333
|
+
], Avatar.prototype, "_colorScheme", void 0);
|
|
334
|
+
__decorate$6([
|
|
335
|
+
webcomponentsBase.s()
|
|
336
|
+
], Avatar.prototype, "accessibleName", void 0);
|
|
337
|
+
__decorate$6([
|
|
338
|
+
webcomponentsBase.s({ type: Object })
|
|
339
|
+
], Avatar.prototype, "accessibilityAttributes", void 0);
|
|
340
|
+
__decorate$6([
|
|
341
|
+
webcomponentsBase.s({ noAttribute: true })
|
|
342
|
+
], Avatar.prototype, "forcedTabIndex", void 0);
|
|
343
|
+
__decorate$6([
|
|
344
|
+
webcomponentsBase.s({ type: Boolean })
|
|
345
|
+
], Avatar.prototype, "_hasImage", void 0);
|
|
346
|
+
__decorate$6([
|
|
347
|
+
webcomponentsBase.d({ type: HTMLElement, "default": true })
|
|
348
|
+
], Avatar.prototype, "image", void 0);
|
|
349
|
+
__decorate$6([
|
|
350
|
+
webcomponentsBase.d()
|
|
351
|
+
], Avatar.prototype, "badge", void 0);
|
|
352
|
+
__decorate$6([
|
|
353
|
+
parametersBundle_css.i("@ui5/webcomponents")
|
|
354
|
+
], Avatar, "i18nBundle", void 0);
|
|
355
|
+
Avatar = Avatar_1 = __decorate$6([
|
|
356
|
+
webcomponentsBase.m({
|
|
357
|
+
tag: "ui5-avatar",
|
|
358
|
+
languageAware: true,
|
|
359
|
+
renderer: parametersBundle_css.d,
|
|
360
|
+
styles: AvatarCss,
|
|
361
|
+
template: AvatarTemplate,
|
|
362
|
+
})
|
|
363
|
+
/**
|
|
364
|
+
* Fired on mouseup, space and enter if avatar is interactive
|
|
365
|
+
*
|
|
366
|
+
* **Note:** The event will not be fired if the `disabled`
|
|
367
|
+
* property is set to `true`.
|
|
368
|
+
* @private
|
|
369
|
+
* @since 1.0.0-rc.11
|
|
370
|
+
*/
|
|
371
|
+
,
|
|
372
|
+
parametersBundle_css.l("click", {
|
|
373
|
+
bubbles: true,
|
|
374
|
+
})
|
|
375
|
+
], Avatar);
|
|
376
|
+
Avatar.define();
|
|
377
|
+
var Avatar$1 = Avatar;
|
|
378
|
+
|
|
379
|
+
const name$9 = "sys-help-2";
|
|
380
|
+
const pathData$9 = "M256 0q53 0 99.5 20T437 74.5t55 81.5 20 100-20 99.5-55 81.5-81.5 55-99.5 20-100-20-81.5-55T20 355.5 0 256t20-100 54.5-81.5T156 20 256 0zm-5 425q15 0 26-11t11-26-11-25.5-26-10.5-25.5 10.5T215 388t10.5 26 25.5 11zm101-239q0-32-27-57t-77-25q-46 0-72.5 24T146 187h52q5-24 17.5-32.5T251 146t35 12.5 12 27.5q0 10-2.5 14T282 215l-20 17q-15 12-23 21t-11.5 18.5-4.5 21-1 27.5h50q0-12 .5-19t3-12.5T283 278t15-13l27-25 16-18 9-16z";
|
|
381
|
+
const ltr$9 = true;
|
|
382
|
+
const collection$9 = "SAP-icons-v4";
|
|
383
|
+
const packageName$9 = "@ui5/webcomponents-icons";
|
|
384
|
+
|
|
385
|
+
Icons.f(name$9, { pathData: pathData$9, ltr: ltr$9, collection: collection$9, packageName: packageName$9 });
|
|
386
|
+
|
|
387
|
+
const name$8 = "sys-help-2";
|
|
388
|
+
const pathData$8 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm32 289q31-10 50.5-36.5T358 192q0-43-29.5-72.5T256 90q-21 0-39.5 8T184 118.5 162 148t-8 35q0 20 9 30.5t23 10.5q13 0 22.5-9t9.5-23q0-16 11-27t27-11 27 11 11 27-11 27-27 11q-14 0-23 9.5t-9 22.5v26q0 14 9 23t23 9q13 0 22-9t10-22zm-32 127q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
|
|
389
|
+
const ltr$8 = true;
|
|
390
|
+
const collection$8 = "SAP-icons-v5";
|
|
391
|
+
const packageName$8 = "@ui5/webcomponents-icons";
|
|
392
|
+
|
|
393
|
+
Icons.f(name$8, { pathData: pathData$8, ltr: ltr$8, collection: collection$8, packageName: packageName$8 });
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Defines tag design types.
|
|
397
|
+
* @public
|
|
398
|
+
*/
|
|
399
|
+
var TagDesign;
|
|
400
|
+
(function (TagDesign) {
|
|
401
|
+
/**
|
|
402
|
+
* Set1 of generic indication colors that are intended for industry-specific use cases
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
TagDesign["Set1"] = "Set1";
|
|
406
|
+
/**
|
|
407
|
+
* Set2 of generic indication colors that are intended for industry-specific use cases
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
TagDesign["Set2"] = "Set2";
|
|
411
|
+
/**
|
|
412
|
+
* Neutral design
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
TagDesign["Neutral"] = "Neutral";
|
|
416
|
+
/**
|
|
417
|
+
* Information design
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
TagDesign["Information"] = "Information";
|
|
421
|
+
/**
|
|
422
|
+
* Positive design
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
TagDesign["Positive"] = "Positive";
|
|
426
|
+
/**
|
|
427
|
+
* Negative design
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
TagDesign["Negative"] = "Negative";
|
|
431
|
+
/**
|
|
432
|
+
* Critical design
|
|
433
|
+
* @public
|
|
434
|
+
*/
|
|
435
|
+
TagDesign["Critical"] = "Critical";
|
|
436
|
+
})(TagDesign || (TagDesign = {}));
|
|
437
|
+
var TagDesign$1 = TagDesign;
|
|
438
|
+
|
|
439
|
+
function TagTemplate() {
|
|
440
|
+
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.interactive ?
|
|
441
|
+
parametersBundle_css.jsx("button", { class: "ui5-tag-root", title: this._title, "aria-roledescription": this._roleDescription, "aria-description": this._valueState, onClick: this._onclick, part: "root", children: content.call(this) })
|
|
442
|
+
:
|
|
443
|
+
parametersBundle_css.jsx("div", { class: "ui5-tag-root", title: this._title, part: "root", children: content.call(this) }) }));
|
|
444
|
+
}
|
|
445
|
+
function content() {
|
|
446
|
+
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: "icon" }), this._semanticIconName &&
|
|
447
|
+
parametersBundle_css.jsx(parametersBundle_css.Icon, { class: "ui5-tag-semantic-icon", name: this._semanticIconName }), parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.tagDescription }), this.hasText &&
|
|
448
|
+
parametersBundle_css.jsx("span", { class: "ui5-tag-text", children: parametersBundle_css.jsx("slot", {}) })] }));
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
452
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
453
|
+
var tagCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-v2-8-0-tag-font-weight);letter-spacing:var(--_ui5-v2-8-0-tag-letter-spacing);line-height:var(--_ui5-v2-8-0-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-v2-8-0-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-v2-8-0-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-v2-8-0-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-v2-8-0-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-v2-8-0-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-v2-8-0-tag-icon-width);min-width:var(--_ui5-v2-8-0-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-v2-8-0-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-v2-8-0-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-v2-8-0-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-v2-8-0-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-v2-8-0-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-v2-8-0-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-v2-8-0-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-active-border);color:var(--ui5-v2-8-0-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-v2-8-0-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-v2-8-0-tag-font-size_size_l);min-width:var(--_ui5-v2-8-0-tag-min-width_size_l);padding:var(--_ui5-v2-8-0-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-v2-8-0-tag-icon_min_width_size_l);min-height:var(--_ui5-v2-8-0-tag-icon_min_height_size_l);height:var(--_ui5-v2-8-0-tag-icon_height_size_l)}
|
|
454
|
+
`;
|
|
455
|
+
|
|
456
|
+
var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
457
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
458
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
459
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
460
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
461
|
+
};
|
|
462
|
+
var Tag_1;
|
|
463
|
+
/**
|
|
464
|
+
* @class
|
|
465
|
+
* ### Overview
|
|
466
|
+
*
|
|
467
|
+
* The `ui5-tag` is a component which serves
|
|
468
|
+
* the purpose to attract the user attention to some piece
|
|
469
|
+
* of information (state, quantity, condition, etc.).
|
|
470
|
+
* It can contain icon and text information, and its design can be chosen from specific design types.
|
|
471
|
+
*
|
|
472
|
+
* ### Usage Guidelines
|
|
473
|
+
*
|
|
474
|
+
* - If the text is longer than the width of the component, it can wrap, or it can show ellipsis, depending on the `wrappingType` property.
|
|
475
|
+
* - Colors can be semantic or not semantic.
|
|
476
|
+
*
|
|
477
|
+
* ### ES6 Module Import
|
|
478
|
+
*
|
|
479
|
+
* `import "@ui5/webcomponents/dist/Tag.js";`
|
|
480
|
+
* @csspart root - Used to style the root element.
|
|
481
|
+
* @constructor
|
|
482
|
+
* @extends UI5Element
|
|
483
|
+
* @since 2.0.0
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
let Tag = Tag_1 = class Tag extends webcomponentsBase.b {
|
|
487
|
+
constructor() {
|
|
488
|
+
super(...arguments);
|
|
489
|
+
/**
|
|
490
|
+
* Defines the design type of the component.
|
|
491
|
+
* @default "Neutral"
|
|
492
|
+
* @public
|
|
493
|
+
* @since 1.22.0
|
|
494
|
+
*/
|
|
495
|
+
this.design = "Neutral";
|
|
496
|
+
/**
|
|
497
|
+
* Defines the color scheme of the component.
|
|
498
|
+
* There are 10 predefined schemes.
|
|
499
|
+
* To use one you can set a number from `"1"` to `"10"`. The `colorScheme` `"1"` will be set by default.
|
|
500
|
+
* @default "1"
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
this.colorScheme = "1";
|
|
504
|
+
/**
|
|
505
|
+
* Defines if the default state icon is shown.
|
|
506
|
+
* @default false
|
|
507
|
+
* @public
|
|
508
|
+
* @since 1.22.0
|
|
509
|
+
*/
|
|
510
|
+
this.hideStateIcon = false;
|
|
511
|
+
/**
|
|
512
|
+
* Defines if the component is interactive (focusable and pressable).
|
|
513
|
+
*
|
|
514
|
+
* @default false
|
|
515
|
+
* @public
|
|
516
|
+
* @since 1.22.0
|
|
517
|
+
*/
|
|
518
|
+
this.interactive = false;
|
|
519
|
+
/**
|
|
520
|
+
* Defines how the text of a component will be displayed when there is not enough space.
|
|
521
|
+
*
|
|
522
|
+
* **Note:** For option "Normal" the text will wrap and the
|
|
523
|
+
* words will not be broken based on hyphenation.
|
|
524
|
+
* @default "Normal"
|
|
525
|
+
* @public
|
|
526
|
+
* @since 1.22.0
|
|
527
|
+
*/
|
|
528
|
+
this.wrappingType = "Normal";
|
|
529
|
+
/**
|
|
530
|
+
* Defines predefined size of the component.
|
|
531
|
+
* @default "S"
|
|
532
|
+
* @public
|
|
533
|
+
* @since 2.0.0
|
|
534
|
+
*/
|
|
535
|
+
this.size = "S";
|
|
536
|
+
/**
|
|
537
|
+
* Defines if the tag has an icon.
|
|
538
|
+
* @private
|
|
539
|
+
*/
|
|
540
|
+
this._hasIcon = false;
|
|
541
|
+
/**
|
|
542
|
+
* Defines if the tag has only an icon (and no text).
|
|
543
|
+
* @private
|
|
544
|
+
*/
|
|
545
|
+
this._iconOnly = false;
|
|
546
|
+
}
|
|
547
|
+
onEnterDOM() {
|
|
548
|
+
if (Icons.f$2()) {
|
|
549
|
+
this.setAttribute("desktop", "");
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
onBeforeRendering() {
|
|
553
|
+
this._hasIcon = this.hasIcon || !!this._semanticIconName;
|
|
554
|
+
this._iconOnly = this.iconOnly;
|
|
555
|
+
}
|
|
556
|
+
get _roleDescription() {
|
|
557
|
+
return Tag_1.i18nBundle.getText(parametersBundle_css.TAG_ROLE_DESCRIPTION);
|
|
558
|
+
}
|
|
559
|
+
get _valueState() {
|
|
560
|
+
switch (this.design) {
|
|
561
|
+
case TagDesign$1.Positive:
|
|
562
|
+
return Tag_1.i18nBundle.getText(parametersBundle_css.TAG_SUCCESS);
|
|
563
|
+
case TagDesign$1.Negative:
|
|
564
|
+
return Tag_1.i18nBundle.getText(parametersBundle_css.TAG_ERROR);
|
|
565
|
+
case TagDesign$1.Critical:
|
|
566
|
+
return Tag_1.i18nBundle.getText(parametersBundle_css.TAG_WARNING);
|
|
567
|
+
case TagDesign$1.Information:
|
|
568
|
+
return Tag_1.i18nBundle.getText(parametersBundle_css.TAG_INFORMATION);
|
|
569
|
+
}
|
|
570
|
+
return undefined;
|
|
571
|
+
}
|
|
572
|
+
get hasText() {
|
|
573
|
+
return parametersBundle_css.t(this.text);
|
|
574
|
+
}
|
|
575
|
+
get hasIcon() {
|
|
576
|
+
return !!this.icon.length;
|
|
577
|
+
}
|
|
578
|
+
get iconOnly() {
|
|
579
|
+
return this.hasIcon && !this.hasText;
|
|
580
|
+
}
|
|
581
|
+
get _title() {
|
|
582
|
+
return this.title || undefined;
|
|
583
|
+
}
|
|
584
|
+
get tagDescription() {
|
|
585
|
+
if (this.interactive) {
|
|
586
|
+
return undefined;
|
|
587
|
+
}
|
|
588
|
+
const valueState = this._valueState;
|
|
589
|
+
let description = Tag_1.i18nBundle.getText(parametersBundle_css.TAG_DESCRIPTION_TAG);
|
|
590
|
+
if (valueState) {
|
|
591
|
+
description = `${description} ${valueState}`;
|
|
592
|
+
}
|
|
593
|
+
return description;
|
|
594
|
+
}
|
|
595
|
+
get _semanticIconName() {
|
|
596
|
+
if (this.hideStateIcon || this.hasIcon) {
|
|
597
|
+
return null;
|
|
598
|
+
}
|
|
599
|
+
switch (this.design) {
|
|
600
|
+
case TagDesign$1.Neutral:
|
|
601
|
+
return "sys-help-2";
|
|
602
|
+
case TagDesign$1.Positive:
|
|
603
|
+
return "sys-enter-2";
|
|
604
|
+
case TagDesign$1.Negative:
|
|
605
|
+
return "error";
|
|
606
|
+
case TagDesign$1.Critical:
|
|
607
|
+
return "alert";
|
|
608
|
+
case TagDesign$1.Information:
|
|
609
|
+
return "information";
|
|
610
|
+
default:
|
|
611
|
+
return null;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
_onclick() {
|
|
615
|
+
this.fireDecoratorEvent("click");
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
__decorate$5([
|
|
619
|
+
webcomponentsBase.s()
|
|
620
|
+
], Tag.prototype, "design", void 0);
|
|
621
|
+
__decorate$5([
|
|
622
|
+
webcomponentsBase.s()
|
|
623
|
+
], Tag.prototype, "colorScheme", void 0);
|
|
624
|
+
__decorate$5([
|
|
625
|
+
webcomponentsBase.s({ type: Boolean })
|
|
626
|
+
], Tag.prototype, "hideStateIcon", void 0);
|
|
627
|
+
__decorate$5([
|
|
628
|
+
webcomponentsBase.s({ type: Boolean })
|
|
629
|
+
], Tag.prototype, "interactive", void 0);
|
|
630
|
+
__decorate$5([
|
|
631
|
+
webcomponentsBase.s()
|
|
632
|
+
], Tag.prototype, "wrappingType", void 0);
|
|
633
|
+
__decorate$5([
|
|
634
|
+
webcomponentsBase.s()
|
|
635
|
+
], Tag.prototype, "size", void 0);
|
|
636
|
+
__decorate$5([
|
|
637
|
+
webcomponentsBase.s({ type: Boolean })
|
|
638
|
+
], Tag.prototype, "_hasIcon", void 0);
|
|
639
|
+
__decorate$5([
|
|
640
|
+
webcomponentsBase.s({ type: Boolean })
|
|
641
|
+
], Tag.prototype, "_iconOnly", void 0);
|
|
642
|
+
__decorate$5([
|
|
643
|
+
webcomponentsBase.d({ type: Node, "default": true })
|
|
644
|
+
], Tag.prototype, "text", void 0);
|
|
645
|
+
__decorate$5([
|
|
646
|
+
webcomponentsBase.d()
|
|
647
|
+
], Tag.prototype, "icon", void 0);
|
|
648
|
+
__decorate$5([
|
|
649
|
+
parametersBundle_css.i("@ui5/webcomponents")
|
|
650
|
+
], Tag, "i18nBundle", void 0);
|
|
651
|
+
Tag = Tag_1 = __decorate$5([
|
|
652
|
+
webcomponentsBase.m({
|
|
653
|
+
tag: "ui5-tag",
|
|
654
|
+
languageAware: true,
|
|
655
|
+
renderer: parametersBundle_css.d,
|
|
656
|
+
template: TagTemplate,
|
|
657
|
+
styles: tagCss,
|
|
658
|
+
})
|
|
659
|
+
/**
|
|
660
|
+
* Fired when the user clicks on an interactive tag.
|
|
661
|
+
*
|
|
662
|
+
* **Note:** The event will be fired if the `interactive` property is `true`
|
|
663
|
+
* @public
|
|
664
|
+
* @since 1.22.0
|
|
665
|
+
*/
|
|
666
|
+
,
|
|
667
|
+
parametersBundle_css.l("click", {
|
|
668
|
+
bubbles: true,
|
|
669
|
+
})
|
|
670
|
+
], Tag);
|
|
671
|
+
Tag.define();
|
|
672
|
+
var Tag$1 = Tag;
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Empty Indicator Mode.
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
var TextEmptyIndicatorMode;
|
|
679
|
+
(function (TextEmptyIndicatorMode) {
|
|
680
|
+
/**
|
|
681
|
+
* Empty indicator is never rendered.
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
TextEmptyIndicatorMode["Off"] = "Off";
|
|
685
|
+
/**
|
|
686
|
+
* Empty indicator is rendered always when the component's content is empty.
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
TextEmptyIndicatorMode["On"] = "On";
|
|
690
|
+
})(TextEmptyIndicatorMode || (TextEmptyIndicatorMode = {}));
|
|
691
|
+
var TextEmptyIndicatorMode$1 = TextEmptyIndicatorMode;
|
|
692
|
+
|
|
693
|
+
function TextTemplate() {
|
|
694
|
+
return parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsx("span", { children: this._renderEmptyIndicator ?
|
|
695
|
+
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("span", { className: "empty-indicator", "aria-hidden": "true", children: this._emptyIndicatorSymbol }), parametersBundle_css.jsx("span", { className: "empty-indicator-aria-label", children: this._emptyIndicatorAriaLabel })] })
|
|
696
|
+
:
|
|
697
|
+
parametersBundle_css.jsx("slot", {}) }) });
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
701
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
702
|
+
var styles = `:host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden}:host([max-lines="1"]){display:inline-block;text-overflow:ellipsis;white-space:nowrap}:host(:not([max-lines="1"])){display:-webkit-box;-webkit-line-clamp:var(--_ui5-v2-8-0_text_max_lines);line-clamp:var(--_ui5-v2-8-0_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0}
|
|
703
|
+
`;
|
|
704
|
+
|
|
705
|
+
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
706
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
707
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
708
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
709
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
710
|
+
};
|
|
711
|
+
var Text_1;
|
|
712
|
+
/**
|
|
713
|
+
* @class
|
|
714
|
+
*
|
|
715
|
+
* <h3>Overview</h3>
|
|
716
|
+
*
|
|
717
|
+
* The `ui5-text` component displays text that can be used in any content area of an application.
|
|
718
|
+
*
|
|
719
|
+
* <h3>Usage</h3>
|
|
720
|
+
*
|
|
721
|
+
* - Use the `ui5-text` if you want to display text inside a form, table, or any other content area.
|
|
722
|
+
* - Do not use the `ui5-text` if you need to reference input type of components (use ui5-label).
|
|
723
|
+
*
|
|
724
|
+
* <h3>Responsive behavior</h3>
|
|
725
|
+
*
|
|
726
|
+
* The `ui5-text` component is fully adaptive to all screen sizes.
|
|
727
|
+
* By default, the text will wrap when the space is not enough.
|
|
728
|
+
* In addition, the component supports truncation via the <code>max-lines</code> property,
|
|
729
|
+
* by defining the number of lines the text should wrap before start truncating.
|
|
730
|
+
*
|
|
731
|
+
* <h3>ES6 Module Import</h3>
|
|
732
|
+
*
|
|
733
|
+
* <code>import "@ui5/webcomponents/dist/Text";</code>
|
|
734
|
+
*
|
|
735
|
+
* @constructor
|
|
736
|
+
* @extends UI5Element
|
|
737
|
+
* @public
|
|
738
|
+
* @since 2.0.0
|
|
739
|
+
*/
|
|
740
|
+
let Text = Text_1 = class Text extends webcomponentsBase.b {
|
|
741
|
+
constructor() {
|
|
742
|
+
super(...arguments);
|
|
743
|
+
/**
|
|
744
|
+
* Defines the number of lines the text should wrap before it truncates.
|
|
745
|
+
* @default Infinity
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
this.maxLines = Infinity;
|
|
749
|
+
/**
|
|
750
|
+
* Specifies if an empty indicator should be displayed when there is no text.
|
|
751
|
+
* @default "Off"
|
|
752
|
+
* @since 2.2.0
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
this.emptyIndicatorMode = "Off";
|
|
756
|
+
}
|
|
757
|
+
onBeforeRendering() {
|
|
758
|
+
this.style.setProperty(Icons.d$1("--_ui5_text_max_lines"), `${this.maxLines}`);
|
|
759
|
+
}
|
|
760
|
+
get hasText() {
|
|
761
|
+
return parametersBundle_css.t(this.text);
|
|
762
|
+
}
|
|
763
|
+
get _renderEmptyIndicator() {
|
|
764
|
+
return !this.hasText && this.emptyIndicatorMode === TextEmptyIndicatorMode$1.On;
|
|
765
|
+
}
|
|
766
|
+
get _emptyIndicatorAriaLabel() {
|
|
767
|
+
return Text_1.i18nBundle.getText(parametersBundle_css.EMPTY_INDICATOR_ACCESSIBLE_TEXT);
|
|
768
|
+
}
|
|
769
|
+
get _emptyIndicatorSymbol() {
|
|
770
|
+
return Text_1.i18nBundle.getText(parametersBundle_css.EMPTY_INDICATOR_SYMBOL);
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
__decorate$4([
|
|
774
|
+
webcomponentsBase.s({ type: Number })
|
|
775
|
+
], Text.prototype, "maxLines", void 0);
|
|
776
|
+
__decorate$4([
|
|
777
|
+
webcomponentsBase.s()
|
|
778
|
+
], Text.prototype, "emptyIndicatorMode", void 0);
|
|
779
|
+
__decorate$4([
|
|
780
|
+
webcomponentsBase.d({ type: Node, "default": true })
|
|
781
|
+
], Text.prototype, "text", void 0);
|
|
782
|
+
__decorate$4([
|
|
783
|
+
parametersBundle_css.i("@ui5/webcomponents")
|
|
784
|
+
], Text, "i18nBundle", void 0);
|
|
785
|
+
Text = Text_1 = __decorate$4([
|
|
786
|
+
webcomponentsBase.m({
|
|
787
|
+
tag: "ui5-text",
|
|
788
|
+
renderer: parametersBundle_css.d,
|
|
789
|
+
template: TextTemplate,
|
|
790
|
+
styles,
|
|
791
|
+
})
|
|
792
|
+
], Text);
|
|
793
|
+
Text.define();
|
|
794
|
+
var Text$1 = Text;
|
|
795
|
+
|
|
796
|
+
const predefinedHooks = {
|
|
797
|
+
listItemContent,
|
|
798
|
+
};
|
|
799
|
+
function ListItemCustomTemplate(hooks) {
|
|
800
|
+
const currentHooks = { ...predefinedHooks, ...hooks };
|
|
801
|
+
return parametersBundle_css.ListItemTemplate.call(this, currentHooks);
|
|
802
|
+
}
|
|
803
|
+
function listItemContent() {
|
|
804
|
+
return parametersBundle_css.jsx("slot", {});
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
808
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
809
|
+
var ListItemCustomCss = `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v2-8-0_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5-v2-8-0_custom_list_item_rb_min_width)}
|
|
810
|
+
`;
|
|
811
|
+
|
|
812
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
813
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
814
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
815
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
816
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
817
|
+
};
|
|
818
|
+
/**
|
|
819
|
+
* @class
|
|
820
|
+
*
|
|
821
|
+
* A component to be used as custom list item within the `ui5-list`
|
|
822
|
+
* the same way as the standard `ui5-li`.
|
|
823
|
+
*
|
|
824
|
+
* The component accepts arbitrary HTML content to allow full customization.
|
|
825
|
+
* @csspart native-li - Used to style the main li tag of the list item
|
|
826
|
+
* @csspart content - Used to style the content area of the list item
|
|
827
|
+
* @csspart detail-button - Used to style the button rendered when the list item is of type detail
|
|
828
|
+
* @csspart delete-button - Used to style the button rendered when the list item is in delete mode
|
|
829
|
+
* @csspart radio - Used to style the radio button rendered when the list item is in single selection mode
|
|
830
|
+
* @csspart checkbox - Used to style the checkbox rendered when the list item is in multiple selection mode
|
|
831
|
+
* @slot {Node[]} default - Defines the content of the component.
|
|
832
|
+
* @constructor
|
|
833
|
+
* @extends ListItem
|
|
834
|
+
* @public
|
|
835
|
+
*/
|
|
836
|
+
let ListItemCustom = class ListItemCustom extends parametersBundle_css.ListItem {
|
|
837
|
+
constructor() {
|
|
838
|
+
super(...arguments);
|
|
839
|
+
/**
|
|
840
|
+
* Defines whether the item is movable.
|
|
841
|
+
* @default false
|
|
842
|
+
* @public
|
|
843
|
+
* @since 2.0.0
|
|
844
|
+
*/
|
|
845
|
+
this.movable = false;
|
|
846
|
+
}
|
|
847
|
+
async _onkeydown(e) {
|
|
848
|
+
const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
|
|
849
|
+
const isFocused = this.matches(":focus");
|
|
850
|
+
if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
|
|
851
|
+
return;
|
|
852
|
+
}
|
|
853
|
+
await super._onkeydown(e);
|
|
854
|
+
}
|
|
855
|
+
_onkeyup(e) {
|
|
856
|
+
const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
|
|
857
|
+
const isFocused = this.matches(":focus");
|
|
858
|
+
if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
|
|
859
|
+
return;
|
|
860
|
+
}
|
|
861
|
+
super._onkeyup(e);
|
|
862
|
+
}
|
|
863
|
+
get classes() {
|
|
864
|
+
const result = super.classes;
|
|
865
|
+
result.main["ui5-custom-li-root"] = true;
|
|
866
|
+
return result;
|
|
867
|
+
}
|
|
868
|
+
};
|
|
869
|
+
__decorate$3([
|
|
870
|
+
webcomponentsBase.s({ type: Boolean })
|
|
871
|
+
], ListItemCustom.prototype, "movable", void 0);
|
|
872
|
+
__decorate$3([
|
|
873
|
+
webcomponentsBase.s()
|
|
874
|
+
], ListItemCustom.prototype, "accessibleName", void 0);
|
|
875
|
+
ListItemCustom = __decorate$3([
|
|
876
|
+
webcomponentsBase.m({
|
|
877
|
+
tag: "ui5-li-custom",
|
|
878
|
+
template: ListItemCustomTemplate,
|
|
879
|
+
renderer: parametersBundle_css.d,
|
|
880
|
+
styles: [parametersBundle_css.ListItem.styles, ListItemCustomCss],
|
|
881
|
+
})
|
|
882
|
+
], ListItemCustom);
|
|
883
|
+
ListItemCustom.define();
|
|
884
|
+
var ListItemCustom$1 = ListItemCustom;
|
|
885
|
+
|
|
886
|
+
function PanelTemplate() {
|
|
887
|
+
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs("div", { class: "ui5-panel-root", role: this.accRole, "aria-label": this.effectiveAccessibleName, "aria-labelledby": this.fixedPanelAriaLabelledbyReference, children: [this.hasHeaderOrHeaderText &&
|
|
888
|
+
// header: either header or h1 with header text
|
|
889
|
+
parametersBundle_css.jsx("div", { class: {
|
|
890
|
+
"ui5-panel-heading-wrapper": true,
|
|
891
|
+
"ui5-panel-heading-wrapper-sticky": this.stickyHeader,
|
|
892
|
+
}, role: this.headingWrapperRole, "aria-level": this.headingWrapperAriaLevel, children: parametersBundle_css.jsxs("div", { onClick: this._headerClick, onKeyDown: this._headerKeyDown, onKeyUp: this._headerKeyUp, class: "ui5-panel-header", tabindex: this.headerTabIndex, role: this.accInfo.role, "aria-expanded": this.accInfo.ariaExpanded, "aria-controls": this.accInfo.ariaControls, "aria-labelledby": this.accInfo.ariaLabelledby, part: "header", children: [!this.fixed &&
|
|
893
|
+
parametersBundle_css.jsx("div", { class: "ui5-panel-header-button-root", children: this._hasHeader ?
|
|
894
|
+
parametersBundle_css.jsx(parametersBundle_css.Button, { design: "Transparent", class: "ui5-panel-header-button ui5-panel-header-button-with-icon", onClick: this._toggleButtonClick, accessibilityAttributes: this.accInfo.button.accessibilityAttributes, tooltip: this.accInfo.button.title, accessibleName: this.accInfo.button.ariaLabelButton, children: parametersBundle_css.jsx("div", { class: "ui5-panel-header-icon-wrapper", children: parametersBundle_css.jsx(parametersBundle_css.Icon, { class: {
|
|
895
|
+
"ui5-panel-header-icon": true,
|
|
896
|
+
"ui5-panel-header-button-animated": !this.shouldNotAnimate,
|
|
897
|
+
}, name: parametersBundle_css.slimArrowRight }) }) })
|
|
898
|
+
: // else
|
|
899
|
+
parametersBundle_css.jsx(parametersBundle_css.Icon, { class: {
|
|
900
|
+
"ui5-panel-header-button": true,
|
|
901
|
+
"ui5-panel-header-icon": true,
|
|
902
|
+
"ui5-panel-header-button-animated": !this.shouldNotAnimate,
|
|
903
|
+
}, name: parametersBundle_css.slimArrowRight, showTooltip: true, accessibleName: this.toggleButtonTitle }) }), this._hasHeader ?
|
|
904
|
+
parametersBundle_css.jsx("slot", { name: "header" })
|
|
905
|
+
: // else
|
|
906
|
+
parametersBundle_css.jsx("div", { id: `${this._id}-header-title`, class: "ui5-panel-header-title", children: this.headerText })] }) }), parametersBundle_css.jsx("div", { class: "ui5-panel-content", id: `${this._id}-content`, tabindex: -1, style: {
|
|
907
|
+
display: this._contentExpanded ? "block" : "none",
|
|
908
|
+
}, part: "content", children: parametersBundle_css.jsx("slot", {}) })] }) }));
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
912
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
913
|
+
var panelCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v2-8-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v2-8-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v2-8-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v2-8-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v2-8-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v2-8-0_panel_focus_border);border-radius:var(--_ui5-v2-8-0_panel_border_radius);top:var(--_ui5-v2-8-0_panel_focus_offset);bottom:var(--_ui5-v2-8-0_panel_focus_bottom_offset);left:var(--_ui5-v2-8-0_panel_focus_offset);right:var(--_ui5-v2-8-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v2-8-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v2-8-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v2-8-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v2-8-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v2-8-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v2-8-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v2-8-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-8-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v2-8-0_panel_button_root_width);height:var(--_ui5-v2-8-0_panel_button_root_height);padding:var(--_ui5-v2-8-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v2-8-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-8-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v2-8-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column}
|
|
914
|
+
`;
|
|
915
|
+
|
|
916
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
917
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
918
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
919
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
920
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
921
|
+
};
|
|
922
|
+
var Panel_1;
|
|
923
|
+
/**
|
|
924
|
+
* @class
|
|
925
|
+
*
|
|
926
|
+
* ### Overview
|
|
927
|
+
*
|
|
928
|
+
* The `ui5-panel` component is a container which has a header and a
|
|
929
|
+
* content area and is used
|
|
930
|
+
* for grouping and displaying information. It can be collapsed to save space on the screen.
|
|
931
|
+
*
|
|
932
|
+
* ### Guidelines:
|
|
933
|
+
*
|
|
934
|
+
* - Nesting two or more panels is not recommended.
|
|
935
|
+
* - Do not stack too many panels on one page.
|
|
936
|
+
*
|
|
937
|
+
* ### Structure
|
|
938
|
+
* The panel's header area consists of a title bar with a header text or custom header.
|
|
939
|
+
*
|
|
940
|
+
* The header is clickable and can be used to toggle between the expanded and collapsed state. It includes an icon which rotates depending on the state.
|
|
941
|
+
*
|
|
942
|
+
* The custom header can be set through the `header` slot and it may contain arbitraray content, such as: title, buttons or any other HTML elements.
|
|
943
|
+
*
|
|
944
|
+
* The content area can contain an arbitrary set of controls.
|
|
945
|
+
*
|
|
946
|
+
* **Note:** The custom header is not clickable out of the box, but in this case the icon is interactive and allows to show/hide the content area.
|
|
947
|
+
*
|
|
948
|
+
* ### Responsive Behavior
|
|
949
|
+
*
|
|
950
|
+
* - If the width of the panel is set to 100% (default), the panel and its children are
|
|
951
|
+
* resized responsively,
|
|
952
|
+
* depending on its parent container.
|
|
953
|
+
* - If the panel has a fixed height, it will take up the space even if the panel is
|
|
954
|
+
* collapsed.
|
|
955
|
+
* - When the panel is expandable (the `fixed` property is set to `false`),
|
|
956
|
+
* an arrow icon (pointing to the right) appears in front of the header.
|
|
957
|
+
* - When the animation is activated, expand/collapse uses a smooth animation to open or
|
|
958
|
+
* close the content area.
|
|
959
|
+
* - When the panel expands/collapses, the arrow icon rotates 90 degrees
|
|
960
|
+
* clockwise/counter-clockwise.
|
|
961
|
+
*
|
|
962
|
+
* ### Keyboard Handling
|
|
963
|
+
*
|
|
964
|
+
* #### Fast Navigation
|
|
965
|
+
* This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
|
|
966
|
+
* In order to use this functionality, you need to import the following module:
|
|
967
|
+
* `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
|
|
968
|
+
*
|
|
969
|
+
* ### ES6 Module Import
|
|
970
|
+
*
|
|
971
|
+
* `import "@ui5/webcomponents/dist/Panel.js";`
|
|
972
|
+
* @constructor
|
|
973
|
+
* @extends UI5Element
|
|
974
|
+
* @public
|
|
975
|
+
* @slot {Array<Node>} default - Defines the content of the component. The content is visible only when the component is expanded.
|
|
976
|
+
* @csspart header - Used to style the wrapper of the header.
|
|
977
|
+
* @csspart content - Used to style the wrapper of the content.
|
|
978
|
+
*/
|
|
979
|
+
let Panel = Panel_1 = class Panel extends webcomponentsBase.b {
|
|
980
|
+
constructor() {
|
|
981
|
+
super(...arguments);
|
|
982
|
+
/**
|
|
983
|
+
* Determines whether the component is in a fixed state that is not
|
|
984
|
+
* expandable/collapsible by user interaction.
|
|
985
|
+
* @default false
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
this.fixed = false;
|
|
989
|
+
/**
|
|
990
|
+
* Indicates whether the component is collapsed and only the header is displayed.
|
|
991
|
+
* @default false
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
this.collapsed = false;
|
|
995
|
+
/**
|
|
996
|
+
* Indicates whether the transition between the expanded and the collapsed state of the component is animated. By default the animation is enabled.
|
|
997
|
+
* @default false
|
|
998
|
+
* @public
|
|
999
|
+
* @since 1.0.0-rc.16
|
|
1000
|
+
*/
|
|
1001
|
+
this.noAnimation = false;
|
|
1002
|
+
/**
|
|
1003
|
+
* Sets the accessible ARIA role of the component.
|
|
1004
|
+
* Depending on the usage, you can change the role from the default `Form`
|
|
1005
|
+
* to `Region` or `Complementary`.
|
|
1006
|
+
* @default "Form"
|
|
1007
|
+
* @public
|
|
1008
|
+
*/
|
|
1009
|
+
this.accessibleRole = "Form";
|
|
1010
|
+
/**
|
|
1011
|
+
* Defines the "aria-level" of component heading,
|
|
1012
|
+
* set by the `headerText`.
|
|
1013
|
+
* @default "H2"
|
|
1014
|
+
* @public
|
|
1015
|
+
*/
|
|
1016
|
+
this.headerLevel = "H2";
|
|
1017
|
+
/**
|
|
1018
|
+
* Indicates whether the Panel header is sticky or not.
|
|
1019
|
+
* If stickyHeader is set to true, then whenever you scroll the content or
|
|
1020
|
+
* the application, the header of the panel will be always visible and
|
|
1021
|
+
* a solid color will be used for its design.
|
|
1022
|
+
* @default false
|
|
1023
|
+
* @public
|
|
1024
|
+
* @since 1.16.0-rc.1
|
|
1025
|
+
*/
|
|
1026
|
+
this.stickyHeader = false;
|
|
1027
|
+
/**
|
|
1028
|
+
* When set to `true`, the `accessibleName` property will be
|
|
1029
|
+
* applied not only on the panel root itself, but on its toggle button too.
|
|
1030
|
+
* **Note:** This property only has effect if `accessibleName` is set and a header slot is provided.
|
|
1031
|
+
* @default false
|
|
1032
|
+
* @private
|
|
1033
|
+
*/
|
|
1034
|
+
this.useAccessibleNameForToggleButton = false;
|
|
1035
|
+
/**
|
|
1036
|
+
* @private
|
|
1037
|
+
*/
|
|
1038
|
+
this._hasHeader = false;
|
|
1039
|
+
this._contentExpanded = false;
|
|
1040
|
+
this._animationRunning = false;
|
|
1041
|
+
}
|
|
1042
|
+
onBeforeRendering() {
|
|
1043
|
+
// If the animation is running, it will set the content expanded state at the end
|
|
1044
|
+
if (!this._animationRunning) {
|
|
1045
|
+
this._contentExpanded = !this.collapsed;
|
|
1046
|
+
}
|
|
1047
|
+
this._hasHeader = !!this.header.length;
|
|
1048
|
+
}
|
|
1049
|
+
shouldToggle(element) {
|
|
1050
|
+
const customContent = this.header.length;
|
|
1051
|
+
if (customContent) {
|
|
1052
|
+
return element.classList.contains("ui5-panel-header-button");
|
|
1053
|
+
}
|
|
1054
|
+
return true;
|
|
1055
|
+
}
|
|
1056
|
+
get shouldNotAnimate() {
|
|
1057
|
+
return this.noAnimation || webcomponentsBase.d$1() === Icons.u.None;
|
|
1058
|
+
}
|
|
1059
|
+
_headerClick(e) {
|
|
1060
|
+
if (!this.shouldToggle(e.target)) {
|
|
1061
|
+
return;
|
|
1062
|
+
}
|
|
1063
|
+
this._toggleOpen();
|
|
1064
|
+
}
|
|
1065
|
+
_toggleButtonClick(e) {
|
|
1066
|
+
if (e.x === 0 && e.y === 0) {
|
|
1067
|
+
e.stopImmediatePropagation();
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
_headerKeyDown(e) {
|
|
1071
|
+
if (!this.shouldToggle(e.target)) {
|
|
1072
|
+
return;
|
|
1073
|
+
}
|
|
1074
|
+
if (webcomponentsBase.b$1(e)) {
|
|
1075
|
+
e.preventDefault();
|
|
1076
|
+
}
|
|
1077
|
+
if (webcomponentsBase.i(e)) {
|
|
1078
|
+
e.preventDefault();
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
_headerKeyUp(e) {
|
|
1082
|
+
if (!this.shouldToggle(e.target)) {
|
|
1083
|
+
return;
|
|
1084
|
+
}
|
|
1085
|
+
if (webcomponentsBase.b$1(e)) {
|
|
1086
|
+
this._toggleOpen();
|
|
1087
|
+
}
|
|
1088
|
+
if (webcomponentsBase.i(e)) {
|
|
1089
|
+
this._toggleOpen();
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
_toggleOpen() {
|
|
1093
|
+
if (this.fixed) {
|
|
1094
|
+
return;
|
|
1095
|
+
}
|
|
1096
|
+
this.collapsed = !this.collapsed;
|
|
1097
|
+
if (this.shouldNotAnimate) {
|
|
1098
|
+
this.fireDecoratorEvent("toggle");
|
|
1099
|
+
return;
|
|
1100
|
+
}
|
|
1101
|
+
this._animationRunning = true;
|
|
1102
|
+
const elements = this.getDomRef().querySelectorAll(".ui5-panel-content");
|
|
1103
|
+
const animations = [];
|
|
1104
|
+
[].forEach.call(elements, oElement => {
|
|
1105
|
+
if (this.collapsed) {
|
|
1106
|
+
animations.push(webcomponentsBase.u(oElement).promise());
|
|
1107
|
+
}
|
|
1108
|
+
else {
|
|
1109
|
+
animations.push(webcomponentsBase.b$2(oElement).promise());
|
|
1110
|
+
}
|
|
1111
|
+
});
|
|
1112
|
+
Promise.all(animations).then(() => {
|
|
1113
|
+
this._animationRunning = false;
|
|
1114
|
+
this._contentExpanded = !this.collapsed;
|
|
1115
|
+
this.fireDecoratorEvent("toggle");
|
|
1116
|
+
});
|
|
1117
|
+
}
|
|
1118
|
+
_headerOnTarget(target) {
|
|
1119
|
+
return target.classList.contains("sapMPanelWrappingDiv");
|
|
1120
|
+
}
|
|
1121
|
+
get toggleButtonTitle() {
|
|
1122
|
+
return Panel_1.i18nBundle.getText(parametersBundle_css.PANEL_ICON);
|
|
1123
|
+
}
|
|
1124
|
+
get expanded() {
|
|
1125
|
+
return !this.collapsed;
|
|
1126
|
+
}
|
|
1127
|
+
get accRole() {
|
|
1128
|
+
return this.accessibleRole.toLowerCase();
|
|
1129
|
+
}
|
|
1130
|
+
get effectiveAccessibleName() {
|
|
1131
|
+
return typeof this.accessibleName === "string" && this.accessibleName.length ? this.accessibleName : undefined;
|
|
1132
|
+
}
|
|
1133
|
+
get accInfo() {
|
|
1134
|
+
return {
|
|
1135
|
+
"button": {
|
|
1136
|
+
"accessibilityAttributes": {
|
|
1137
|
+
"expanded": this.expanded,
|
|
1138
|
+
},
|
|
1139
|
+
"title": this.toggleButtonTitle,
|
|
1140
|
+
"ariaLabelButton": !this.nonFocusableButton && this.useAccessibleNameForToggleButton ? this.effectiveAccessibleName : undefined,
|
|
1141
|
+
},
|
|
1142
|
+
"ariaExpanded": this.nonFixedInternalHeader ? this.expanded : undefined,
|
|
1143
|
+
"ariaControls": this.nonFixedInternalHeader ? `${this._id}-content` : undefined,
|
|
1144
|
+
"ariaLabelledby": this.nonFocusableButton ? this.ariaLabelledbyReference : undefined,
|
|
1145
|
+
"role": this.nonFixedInternalHeader ? "button" : undefined,
|
|
1146
|
+
};
|
|
1147
|
+
}
|
|
1148
|
+
get ariaLabelledbyReference() {
|
|
1149
|
+
return (this.nonFocusableButton && this.headerText && !this.fixed) ? `${this._id}-header-title` : undefined;
|
|
1150
|
+
}
|
|
1151
|
+
get fixedPanelAriaLabelledbyReference() {
|
|
1152
|
+
return this.fixed && !this.effectiveAccessibleName ? `${this._id}-header-title` : undefined;
|
|
1153
|
+
}
|
|
1154
|
+
get headerAriaLevel() {
|
|
1155
|
+
return Number.parseInt(this.headerLevel.slice(1));
|
|
1156
|
+
}
|
|
1157
|
+
get headerTabIndex() {
|
|
1158
|
+
return (this.header.length || this.fixed) ? -1 : 0;
|
|
1159
|
+
}
|
|
1160
|
+
get headingWrapperAriaLevel() {
|
|
1161
|
+
return !this._hasHeader ? this.headerAriaLevel : undefined;
|
|
1162
|
+
}
|
|
1163
|
+
get headingWrapperRole() {
|
|
1164
|
+
return !this._hasHeader ? "heading" : undefined;
|
|
1165
|
+
}
|
|
1166
|
+
get nonFixedInternalHeader() {
|
|
1167
|
+
return !this._hasHeader && !this.fixed;
|
|
1168
|
+
}
|
|
1169
|
+
get hasHeaderOrHeaderText() {
|
|
1170
|
+
return this._hasHeader || this.headerText;
|
|
1171
|
+
}
|
|
1172
|
+
get nonFocusableButton() {
|
|
1173
|
+
return !this.header.length;
|
|
1174
|
+
}
|
|
1175
|
+
};
|
|
1176
|
+
__decorate$2([
|
|
1177
|
+
webcomponentsBase.s()
|
|
1178
|
+
], Panel.prototype, "headerText", void 0);
|
|
1179
|
+
__decorate$2([
|
|
1180
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1181
|
+
], Panel.prototype, "fixed", void 0);
|
|
1182
|
+
__decorate$2([
|
|
1183
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1184
|
+
], Panel.prototype, "collapsed", void 0);
|
|
1185
|
+
__decorate$2([
|
|
1186
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1187
|
+
], Panel.prototype, "noAnimation", void 0);
|
|
1188
|
+
__decorate$2([
|
|
1189
|
+
webcomponentsBase.s()
|
|
1190
|
+
], Panel.prototype, "accessibleRole", void 0);
|
|
1191
|
+
__decorate$2([
|
|
1192
|
+
webcomponentsBase.s()
|
|
1193
|
+
], Panel.prototype, "headerLevel", void 0);
|
|
1194
|
+
__decorate$2([
|
|
1195
|
+
webcomponentsBase.s()
|
|
1196
|
+
], Panel.prototype, "accessibleName", void 0);
|
|
1197
|
+
__decorate$2([
|
|
1198
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1199
|
+
], Panel.prototype, "stickyHeader", void 0);
|
|
1200
|
+
__decorate$2([
|
|
1201
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1202
|
+
], Panel.prototype, "useAccessibleNameForToggleButton", void 0);
|
|
1203
|
+
__decorate$2([
|
|
1204
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1205
|
+
], Panel.prototype, "_hasHeader", void 0);
|
|
1206
|
+
__decorate$2([
|
|
1207
|
+
webcomponentsBase.s({ type: Boolean, noAttribute: true })
|
|
1208
|
+
], Panel.prototype, "_contentExpanded", void 0);
|
|
1209
|
+
__decorate$2([
|
|
1210
|
+
webcomponentsBase.s({ type: Boolean, noAttribute: true })
|
|
1211
|
+
], Panel.prototype, "_animationRunning", void 0);
|
|
1212
|
+
__decorate$2([
|
|
1213
|
+
webcomponentsBase.d()
|
|
1214
|
+
], Panel.prototype, "header", void 0);
|
|
1215
|
+
__decorate$2([
|
|
1216
|
+
parametersBundle_css.i("@ui5/webcomponents")
|
|
1217
|
+
], Panel, "i18nBundle", void 0);
|
|
1218
|
+
Panel = Panel_1 = __decorate$2([
|
|
1219
|
+
webcomponentsBase.m({
|
|
1220
|
+
tag: "ui5-panel",
|
|
1221
|
+
fastNavigation: true,
|
|
1222
|
+
languageAware: true,
|
|
1223
|
+
renderer: parametersBundle_css.d,
|
|
1224
|
+
template: PanelTemplate,
|
|
1225
|
+
styles: panelCss,
|
|
1226
|
+
})
|
|
1227
|
+
/**
|
|
1228
|
+
* Fired when the component is expanded/collapsed by user interaction.
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
,
|
|
1232
|
+
parametersBundle_css.l("toggle", {
|
|
1233
|
+
bubbles: true,
|
|
1234
|
+
})
|
|
1235
|
+
], Panel);
|
|
1236
|
+
Panel.define();
|
|
1237
|
+
var Panel$1 = Panel;
|
|
1238
|
+
|
|
1239
|
+
function BarTemplate() {
|
|
1240
|
+
return (parametersBundle_css.jsxs("div", { class: "ui5-bar-root", "aria-label": this.accInfo.label, role: "toolbar", part: "bar", children: [parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-startcontent-container", part: "startContent", children: parametersBundle_css.jsx("slot", { name: "startContent" }) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-midcontent-container", part: "midContent", children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-endcontent-container", part: "endContent", children: parametersBundle_css.jsx("slot", { name: "endContent" }) })] }));
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1244
|
+
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
1245
|
+
var BarCss = `:host{background-color:var(--sapPageHeader_Background);height:var(--_ui5-v2-8-0_bar_base_height);width:100%;box-shadow:var(--sapContent_HeaderShadow);display:block}.ui5-bar-root{container-type:size;display:flex;align-items:center;justify-content:space-between;height:100%;width:100%;background-color:inherit;box-shadow:inherit;border-radius:inherit}.ui5-bar-root .ui5-bar-startcontent-container{padding-inline-start:var(--_ui5-v2-8-0_bar-start-container-padding-start);display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.ui5-bar-root .ui5-bar-content-container{min-width:calc(30% - calc(var(--_ui5-v2-8-0_bar-start-container-padding-start) + var(--_ui5-v2-8-0_bar-end-container-padding-end) + (2*var(--_ui5-v2-8-0_bar-mid-container-padding-start-end))))}.ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container{min-width:0px;overflow:hidden;height:100%}.ui5-bar-root .ui5-bar-endcontent-container{padding-inline-end:var(--_ui5-v2-8-0_bar-end-container-padding-end);display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.ui5-bar-root .ui5-bar-midcontent-container{padding:0 var(--_ui5-v2-8-0_bar-mid-container-padding-start-end);display:flex;flex-direction:row;align-items:center;justify-content:center}:host([design="Footer"]){background-color:var(--sapPageFooter_Background);border-top:.0625rem solid var(--sapPageFooter_BorderColor);box-shadow:none}:host([design="Subheader"]){height:var(--_ui5-v2-8-0_bar_subheader_height);margin-top:var(--_ui5-v2-8-0_bar_subheader_margin-top)}:host([design="FloatingFooter"]){border-radius:var(--sapElement_BorderCornerRadius);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow1);border:none}::slotted(*){margin:0 .25rem}@container (width < 600px){*{--_ui5-v2-8-0_bar-start-container-padding-start: var(--_ui5-v2-8-0_bar-start-container-padding-start_S);--_ui5-v2-8-0_bar-end-container-padding-end: var(--_ui5-v2-8-0_bar-end-container-padding-end_S) }}@container (width > 1439px){*{--_ui5-v2-8-0_bar-start-container-padding-start: var(--_ui5-v2-8-0_bar-start-container-padding-start_XL);--_ui5-v2-8-0_bar-end-container-padding-end: var(--_ui5-v2-8-0_bar-end-container-padding-end_XL)}}
|
|
1246
|
+
`;
|
|
1247
|
+
|
|
1248
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1249
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1250
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1251
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1252
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* @class
|
|
1256
|
+
*
|
|
1257
|
+
* ### Overview
|
|
1258
|
+
* The Bar is a container which is primarily used to hold titles, buttons and input elements
|
|
1259
|
+
* and its design and functionality is the basis for page headers and footers.
|
|
1260
|
+
* The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
|
|
1261
|
+
* It has the capability to center content, such as a title, while having other components on the left and right side.
|
|
1262
|
+
*
|
|
1263
|
+
* ### Usage
|
|
1264
|
+
* With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
|
|
1265
|
+
*
|
|
1266
|
+
* **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
|
|
1267
|
+
*
|
|
1268
|
+
* ### Responsive Behavior
|
|
1269
|
+
* The default slot will be centered in the available space between the startContent and the endContent areas,
|
|
1270
|
+
* therefore it might not always be centered in the entire bar.
|
|
1271
|
+
*
|
|
1272
|
+
* ### Keyboard Handling
|
|
1273
|
+
*
|
|
1274
|
+
* #### Fast Navigation
|
|
1275
|
+
* This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
|
|
1276
|
+
* In order to use this functionality, you need to import the following module:
|
|
1277
|
+
* `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
|
|
1278
|
+
*
|
|
1279
|
+
* ### ES6 Module Import
|
|
1280
|
+
*
|
|
1281
|
+
* `import "@ui5/webcomponents/dist/Bar.js";`
|
|
1282
|
+
* @csspart bar - Used to style the wrapper of the content of the component
|
|
1283
|
+
* @csspart startContent - Used to style the wrapper of the start content of the component
|
|
1284
|
+
* @csspart midContent - Used to style the wrapper of the middle content of the component
|
|
1285
|
+
* @csspart endContent - Used to style the wrapper of the end content of the component
|
|
1286
|
+
* @constructor
|
|
1287
|
+
* @extends UI5Element
|
|
1288
|
+
* @public
|
|
1289
|
+
* @since 1.0.0-rc.11
|
|
1290
|
+
*/
|
|
1291
|
+
let Bar = class Bar extends webcomponentsBase.b {
|
|
1292
|
+
get accInfo() {
|
|
1293
|
+
return {
|
|
1294
|
+
"label": this.design,
|
|
1295
|
+
};
|
|
1296
|
+
}
|
|
1297
|
+
constructor() {
|
|
1298
|
+
super();
|
|
1299
|
+
/**
|
|
1300
|
+
* Defines the component's design.
|
|
1301
|
+
* @default "Header"
|
|
1302
|
+
* @public
|
|
1303
|
+
*/
|
|
1304
|
+
this.design = "Header";
|
|
1305
|
+
this._handleResizeBound = this.handleResize.bind(this);
|
|
1306
|
+
}
|
|
1307
|
+
handleResize() {
|
|
1308
|
+
const bar = this.getDomRef();
|
|
1309
|
+
const barWidth = bar.offsetWidth;
|
|
1310
|
+
const needShrinked = Array.from(bar.children).some(child => {
|
|
1311
|
+
return child.offsetWidth > barWidth / 3;
|
|
1312
|
+
});
|
|
1313
|
+
bar.classList.toggle("ui5-bar-root-shrinked", needShrinked);
|
|
1314
|
+
}
|
|
1315
|
+
onEnterDOM() {
|
|
1316
|
+
webcomponentsBase.f$1.register(this, this._handleResizeBound);
|
|
1317
|
+
this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
|
|
1318
|
+
webcomponentsBase.f$1.register(child, this._handleResizeBound);
|
|
1319
|
+
}, this);
|
|
1320
|
+
}
|
|
1321
|
+
onExitDOM() {
|
|
1322
|
+
webcomponentsBase.f$1.deregister(this, this._handleResizeBound);
|
|
1323
|
+
this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
|
|
1324
|
+
webcomponentsBase.f$1.deregister(child, this._handleResizeBound);
|
|
1325
|
+
}, this);
|
|
1326
|
+
}
|
|
1327
|
+
};
|
|
1328
|
+
__decorate$1([
|
|
1329
|
+
webcomponentsBase.s()
|
|
1330
|
+
], Bar.prototype, "design", void 0);
|
|
1331
|
+
__decorate$1([
|
|
1332
|
+
webcomponentsBase.d({ type: HTMLElement })
|
|
1333
|
+
], Bar.prototype, "startContent", void 0);
|
|
1334
|
+
__decorate$1([
|
|
1335
|
+
webcomponentsBase.d({ type: HTMLElement, "default": true })
|
|
1336
|
+
], Bar.prototype, "middleContent", void 0);
|
|
1337
|
+
__decorate$1([
|
|
1338
|
+
webcomponentsBase.d({ type: HTMLElement })
|
|
1339
|
+
], Bar.prototype, "endContent", void 0);
|
|
1340
|
+
Bar = __decorate$1([
|
|
1341
|
+
webcomponentsBase.m({
|
|
1342
|
+
tag: "ui5-bar",
|
|
1343
|
+
fastNavigation: true,
|
|
1344
|
+
renderer: parametersBundle_css.d,
|
|
1345
|
+
styles: BarCss,
|
|
1346
|
+
template: BarTemplate,
|
|
1347
|
+
})
|
|
1348
|
+
], Bar);
|
|
1349
|
+
Bar.define();
|
|
1350
|
+
var Bar$1 = Bar;
|
|
1351
|
+
|
|
1352
|
+
const name$7 = "person-placeholder";
|
|
1353
|
+
const pathData$7 = "M64 512V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128H64zm32-128v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm64-256q0 40 28 68t68 28 68-28 28-68-28-68-68-28-68 28-28 68z";
|
|
1354
|
+
const ltr$7 = false;
|
|
1355
|
+
const collection$7 = "SAP-icons-v4";
|
|
1356
|
+
const packageName$7 = "@ui5/webcomponents-icons";
|
|
1357
|
+
|
|
1358
|
+
Icons.f(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
|
|
1359
|
+
|
|
1360
|
+
const name$6 = "person-placeholder";
|
|
1361
|
+
const pathData$6 = "M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-56 29-100t77-67q-20-18-31-42.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zM256 83q-32 0-54.5 22.5T179 160t22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83zm141 339q0-28-10.5-52.5t-29-42.5-43-28.5T262 288h-12q-28 0-52.5 10.5t-43 28.5-29 42.5T115 422v7h282v-7z";
|
|
1362
|
+
const ltr$6 = false;
|
|
1363
|
+
const collection$6 = "SAP-icons-v5";
|
|
1364
|
+
const packageName$6 = "@ui5/webcomponents-icons";
|
|
1365
|
+
|
|
1366
|
+
Icons.f(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
|
|
1367
|
+
|
|
1368
|
+
var personPlaceholder = "person-placeholder";
|
|
1369
|
+
|
|
1370
|
+
const name$5 = "user-settings";
|
|
1371
|
+
const pathData$5 = "M512 512H192v-64q0-27 10-50t27.5-40.5T270 330t50-10h32q-43 0-69.5-27T256 224q0-13 1-14 5-32 27-54t54-27q1-1 14-1 42 0 69 26.5t27 69.5q0 40-28 68t-68 28h32q26 0 49.5 10t41 27.5T502 398t10 50v64zM0 224q0-14 9-23t23-9h28q2-8 5.5-15t6.5-14l-20-20q-9-10-9-23t9-22l46-46q9-9 22-9 14 0 23 9l20 20q7-3 14-6.5t15-5.5V32q0-14 9-23t23-9h64q14 0 23 9t9 23v28q8 2 15 5.5t14 6.5l20-20q9-9 23-9 13 0 22 9l46 46q9 9 9 22t-9 23l-6 5-10-12-12-11 5-5-45-45-23 23q-5-1-8.5-1.5T352 96q-6 0-12 .5T328 98q-1-1-4-1-4-2-6.5-3l-7.5-3-22-8V32h-64v51l-22 8q-2 1-5 1.5t-5 2.5l-15 6-20 10-37-36-45 45 36 37-10 20q-3 6-5.5 12.5T91 202l-8 22H32v64h51l8 22q1 2 2 5t2 5q0 2 2 4 1 3 2 5.5t2 4.5l10 21-36 37 45 45 37-37 9 5q-5 18-6 37l-17 18q-9 9-23 9-13 0-22-9l-46-46q-9-9-9-22.5t9-22.5l20-20q-3-7-6.5-14T60 320H32q-14 0-23-9.5T0 288v-64zm480 256v-32q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256zM288 224q0 27 18.5 45.5T352 288q26 0 45-19t19-45q0-27-18.5-45.5T352 160q-26 0-45 19t-19 45zm-128 37q0-35 16-59.5t48-36.5l8-2 9-2q-5 8-8.5 16.5T227 194q0 1-.5 2t-.5 3q-1 0-1 .5t-1 .5l-12 9q-11 11-15.5 21.5T192 256q0 4 .5 8t1.5 9q8 25 30 38l4 2 4 2q-4 1-8 5-5 4-9.5 8t-9.5 9q-4-2-7-5t-6-5q-4-3-7-7-13-15-18-27t-7-32z";
|
|
1372
|
+
const ltr$5 = false;
|
|
1373
|
+
const collection$5 = "SAP-icons-v4";
|
|
1374
|
+
const packageName$5 = "@ui5/webcomponents-icons";
|
|
1375
|
+
|
|
1376
|
+
Icons.f(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
|
|
1377
|
+
|
|
1378
|
+
const name$4 = "user-settings";
|
|
1379
|
+
const pathData$4 = "M166.907 396.779q10.994 0 18.49 6.996t7.495 17.99-7.495 18.49-18.49 7.495H25.985q-10.993 0-18.49-7.496T0 421.764v-31.982q0-55.968 28.984-99.944t76.957-66.962q-41.977-38.979-41.977-94.947 0-26.985 10.494-50.472t27.985-40.977T142.92 9.495 191.893 0q26.985 0 49.972 10.494t40.477 27.985 27.485 40.477 9.995 48.973-9.495 48.972-26.985 40.478-40.977 27.984-50.472 10.494h-5.997q-27.984 0-52.47 10.494T90.45 294.835t-28.984 42.477-10.494 52.47v6.997h115.935zm24.986-345.807q-31.982 0-54.47 22.487t-22.487 54.47 22.487 54.47 54.47 22.487q32.982 0 54.97-22.988t21.987-53.97q0-31.982-22.487-54.469t-54.47-22.487zm310.826 340.81q4.998 1.998 7.496 5.996t1.5 8.995l-3.998 16.99q-2 9.995-11.994 9.995l-27.984-3.998q-5.997 11.993-15.991 21.988l-6.996 6.996 9.994 26.985q0 1 .5 1.999t.5 1.999q0 8.995-7.996 11.993l-14.991 7.996q-2 0-2.5.5t-2.498.499q-7.995 0-10.994-6.996l-14.991-25.986q-4.997 1-8.995 1.5t-8.995.5q-3.998 0-7.496-.5t-8.495-.5l-14.992 26.985q-2.998 5.996-10.994 5.996-3.998 0-5.996-.999l-14.992-7.996q-6.996-2.998-6.996-10.993 0-3.998 1-4.998l9.994-26.985q-7.996-4.997-13.493-11.993t-10.494-14.991l-27.984 3.997q-10.994 0-12.993-9.994l-3.998-19.989q0-9.994 8.995-11.993l22.987-7.996q0-21.988 6.996-39.978l-16.99-15.99q-3.998-3.998-3.998-9.995 0-3.998 2.999-7.996l9.994-12.992q4.997-4.998 9.994-4.998 2.999 0 6.996 2l18.99 12.992q7.995-6.996 16.99-11.493t18.99-7.496l1.999-22.987q1.999-11.994 12.992-11.994h16.99q4.998 0 8.496 3.498t3.498 8.496l2 21.987q21.987 4.997 37.978 17.99l18.99-12.993q3.997-1.998 6.995-1.998 4.998 0 9.995 4.997l9.994 12.993q2.999 3.997 2.999 7.995 0 5.997-3.998 9.995l-15.991 14.991q7.995 20.988 7.995 40.977zm-163.908-7.996q0 18.99 12.993 31.982t31.982 12.993 31.982-12.993 12.993-31.982-12.993-31.982-31.982-12.993-31.982 12.993-12.993 31.982z";
|
|
1380
|
+
const ltr$4 = false;
|
|
1381
|
+
const collection$4 = "SAP-icons-v5";
|
|
1382
|
+
const packageName$4 = "@ui5/webcomponents-icons";
|
|
1383
|
+
|
|
1384
|
+
Icons.f(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
|
|
1385
|
+
|
|
1386
|
+
var userSettings = "user-settings";
|
|
1387
|
+
|
|
1388
|
+
const name$3 = "log";
|
|
1389
|
+
const pathData$3 = "M352 86q57 27 92.5 81T480 288q0 47-17.5 87.5t-48 71-71.5 48-87 17.5q-47 0-87.5-17.5t-71-48-48-71T32 288q0-67 35.5-121T160 86v36q-43 25-69.5 68.5T64 288q0 40 15 75t41 61 61 41 75 15 75-15 61-41 41-61 15-75q0-54-26.5-97.5T352 122V86zm-96 202q-14 0-23-9t-9-23V32q0-13 9-22.5T256 0q13 0 22.5 9.5T288 32v224q0 14-9.5 23t-22.5 9z";
|
|
1390
|
+
const ltr$3 = false;
|
|
1391
|
+
const collection$3 = "SAP-icons-v4";
|
|
1392
|
+
const packageName$3 = "@ui5/webcomponents-icons";
|
|
1393
|
+
|
|
1394
|
+
Icons.f(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
|
|
1395
|
+
|
|
1396
|
+
const name$2 = "log";
|
|
1397
|
+
const pathData$2 = "M256 256q-11 0-18.5-7.5T230 230V26q0-11 7.5-18.5T256 0t18.5 7.5T282 26v204q0 11-7.5 18.5T256 256zm0 256q-53 0-100-20t-81.5-54.5T20 356 0 256q0-67 31-125t82-90q9-6 13.5-7.5T134 32q11 0 18.5 7.5T160 58q0 13-12 21-46 29-71.5 76T51 256q0 43 16 80t44 65 65 44 80 16 80.5-16 65-44 43.5-65 16-80q0-54-26-101t-71-76q-12-8-12-21 0-11 7.5-18.5T378 32q3 0 7.5 1.5T399 41q51 32 82 90t31 126q0 53-20 99.5t-54.5 81T356 492t-100 20z";
|
|
1398
|
+
const ltr$2 = false;
|
|
1399
|
+
const collection$2 = "SAP-icons-v5";
|
|
1400
|
+
const packageName$2 = "@ui5/webcomponents-icons";
|
|
1401
|
+
|
|
1402
|
+
Icons.f(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
|
|
1403
|
+
|
|
1404
|
+
var log = "log";
|
|
1405
|
+
|
|
1406
|
+
const name$1 = "user-edit";
|
|
1407
|
+
const pathData$1 = "M151.25 384H.25v-64q0-26 10-49.5t27.5-41 40.5-27.5 50-10h32q-40 0-68-28t-28-68 28-68 68-28 68 28 28 68-28 68-68 28h32q31 0 57 14t44 37l-23 22q-13-19-33.5-30t-44.5-11h-64q-40 0-68 28t-28 68v32h151zm-9 128q2-4 8-20t12-34q4-10 7.5-21t8.5-24l261-260q5-5 11-5t11 5l45 45q11 11 0 22l-260 261q-1 1-17 6t-36 10q-22 8-51 15zm18-352q26 0 45-19t19-45-19-45-45-19q-27 0-45.5 19t-18.5 45 18.5 45 45.5 19zm45 271l23 22 181-181-22-22zm204-204l23 23 40-41-22-22z";
|
|
1408
|
+
const ltr$1 = false;
|
|
1409
|
+
const collection$1 = "SAP-icons-v4";
|
|
1410
|
+
const packageName$1 = "@ui5/webcomponents-icons";
|
|
1411
|
+
|
|
1412
|
+
Icons.f(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
|
|
1413
|
+
|
|
1414
|
+
const name = "user-edit";
|
|
1415
|
+
const pathData = "M70 397q11 0 18.5 7t7.5 18-7.5 18.5T70 448H26q-11 0-18.5-7.5T0 422v-32q0-55 29-99.5t77-67.5l-4-5q-19-18-28.5-41T64 128q0-27 10.5-50.5t28-41 40.5-27T192 0q27 0 50 10.5t40.5 28T310 79t10 49-9.5 49-27 40.5-41 28T192 256h-6q-28 0-52.5 10.5t-43 28.5-29 42.5T51 390v7h19zM192 51q-32 0-54.5 22.5T115 128t22.5 54.5T192 205q33 0 55-23t22-54q0-32-22.5-54.5T192 51zm313 161q7 7 7 18t-7 18l-25 26q-8 8-19 8-10 0-18-8l-50-51q-7-7-7-18t7-18l25-26q7-7 18-7 12 0 19 7zm-75 77q7 9 7 18t-7 18L254 504q-8 8-18 8h-50q-11 0-18.5-7.5T160 486v-51q0-9 7-18l176-179q8-8 18-8 12 0 18 8zm-55 18l-14-14-150 153v15h14z";
|
|
1416
|
+
const ltr = false;
|
|
1417
|
+
const collection = "SAP-icons-v5";
|
|
1418
|
+
const packageName = "@ui5/webcomponents-icons";
|
|
1419
|
+
|
|
1420
|
+
Icons.f(name, { pathData, ltr, collection, packageName });
|
|
1421
|
+
|
|
1422
|
+
var userEdit = "user-edit";
|
|
1423
|
+
|
|
1424
|
+
function UserMenuTemplate() {
|
|
1425
|
+
return (parametersBundle_css.jsxs(parametersBundle_css.ResponsivePopover, { id: "user-menu-rp", class: "ui5-pm-rp", tabIndex: -1, placement: "Bottom", verticalAlign: "Bottom", horizontalAlign: "End", accessibleName: this.accessibleNameText, open: this.open, opener: this.opener, onClose: this._handlePopoverAfterClose, onOpen: this._handlePopoverAfterOpen, children: [this._isPhone ?
|
|
1426
|
+
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsxs(Bar$1, { class: "ui5-pm-phone-header", slot: "header", children: [this._manageAccountVisibleInHeader &&
|
|
1427
|
+
parametersBundle_css.jsx(parametersBundle_css.Button, { icon: userSettings, onClick: this._handleManageAccountClick, slot: "startContent" }), this._titleMovedToHeader &&
|
|
1428
|
+
parametersBundle_css.jsx(parametersBundle_css.Title, { level: "H1", wrappingType: "None", children: this._selectedAccount.titleText }), parametersBundle_css.jsx(parametersBundle_css.Button, { icon: parametersBundle_css.declineIcon, design: "Transparent", accessibleName: this._closeDialogAriaLabel, onClick: this._closeUserMenu, slot: "endContent" })] }), parametersBundle_css.jsx("div", { class: "ui5-pm-header", children: headerContent.call(this) })] })
|
|
1429
|
+
:
|
|
1430
|
+
parametersBundle_css.jsx("div", { class: "ui5-pm-header", slot: "header", children: headerContent.call(this) }), this.showOtherAccounts &&
|
|
1431
|
+
parametersBundle_css.jsxs(Panel$1, { collapsed: true, class: "ui5-pm-other-accounts", children: [parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-user-menu-account-header", children: [parametersBundle_css.jsxs(parametersBundle_css.Title, { slot: "header", level: "H4", children: [this._otherAccountsButtonText, " (", this._otherAccounts.length, ")"] }), this.showEditAccounts &&
|
|
1432
|
+
parametersBundle_css.jsx(parametersBundle_css.Button, { slot: "header", class: "ui5-pm-add-account-btn", design: "Transparent", icon: userEdit, onClick: this._handleEditAccountsClick, tooltip: this._editAccountsTooltip })] }), this._otherAccounts.length > 0 &&
|
|
1433
|
+
parametersBundle_css.jsx(parametersBundle_css.List, { onItemClick: this._handleAccountSwitch, children: this._otherAccounts.map(account => parametersBundle_css.jsx(ListItemCustom$1, { ref: this.captureRef.bind(account), children: parametersBundle_css.jsxs("div", { class: "ui5-pm-other-accounts-content", children: [parametersBundle_css.jsx(Avatar$1, { slot: "image", size: "S", initials: account._initials, fallbackIcon: personPlaceholder, children: account.avatarSrc &&
|
|
1434
|
+
parametersBundle_css.jsx("img", { src: account.avatarSrc }) }), parametersBundle_css.jsxs("div", { children: [account.titleText &&
|
|
1435
|
+
parametersBundle_css.jsx(parametersBundle_css.Title, { children: account.titleText }), account.subtitleText &&
|
|
1436
|
+
parametersBundle_css.jsx(parametersBundle_css.Label, { children: account.subtitleText }), account.description &&
|
|
1437
|
+
parametersBundle_css.jsx(parametersBundle_css.Label, { children: account.description })] })] }) })) })] }), this.menuItems.length > 0 &&
|
|
1438
|
+
parametersBundle_css.jsx(parametersBundle_css.List, { class: "ui5-user-menu-list", selectionMode: "None", separators: "None", accessibleRole: "Menu", onItemClick: this._handleMenuItemClick, "onui5-close-menu": this._handleMenuItemClose, children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { slot: "footer", class: "ui5-pm-footer", children: parametersBundle_css.jsx(parametersBundle_css.Button, { class: "ui5-pm-sign-out-btn", design: "Transparent", icon: log, onClick: this._handleSignOutClick, children: this._signOutButtonText }) })] }));
|
|
1439
|
+
}
|
|
1440
|
+
function headerContent() {
|
|
1441
|
+
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this._selectedAccount &&
|
|
1442
|
+
parametersBundle_css.jsxs("div", { class: "ui5-pm-selected-account", children: [parametersBundle_css.jsxs(Avatar$1, { size: "L", onClick: this._handleAvatarClick, initials: this._selectedAccount._initials, fallbackIcon: personPlaceholder, class: "ui5-pm--selected-account-avatar", children: [this._selectedAccount.avatarSrc &&
|
|
1443
|
+
parametersBundle_css.jsx("img", { src: this._selectedAccount.avatarSrc }), this.showEditButton &&
|
|
1444
|
+
parametersBundle_css.jsx(Tag$1, { slot: "badge", wrappingType: "None", design: "Set1", colorScheme: "5", title: this._editAvatarTooltip, children: parametersBundle_css.jsx(parametersBundle_css.Icon, { slot: "icon", name: parametersBundle_css.edit }) })] }), this._selectedAccount.titleText &&
|
|
1445
|
+
parametersBundle_css.jsx(parametersBundle_css.Title, { id: "selected-account-title", class: "ui5-pm-selected-account-title", children: this._selectedAccount.titleText }), this._selectedAccount.subtitleText &&
|
|
1446
|
+
parametersBundle_css.jsx(Text$1, { class: "ui5-pm-selected-account-subtitleText", children: this._selectedAccount.subtitleText }), this._selectedAccount.description &&
|
|
1447
|
+
parametersBundle_css.jsx(Text$1, { class: "ui5-pm-selected-account-description", children: this._selectedAccount.description }), this.showManageAccount &&
|
|
1448
|
+
parametersBundle_css.jsx(parametersBundle_css.Button, { id: "selected-account-manage-btn", icon: userSettings, class: "ui5-pm-manage-account-btn", onClick: this._handleManageAccountClick, children: this._manageAccountButtonText })] }) }));
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1452
|
+
Icons.p("@ui5/webcomponents-fiori", "sap_horizon", async () => parametersBundle_css.defaultTheme$1);
|
|
1453
|
+
var UserMenuCss = `.ui5-pm-rp{width:20rem}.ui5-pm-rp::part(content),.ui5-pm-rp::part(footer){padding-inline:.5rem}.ui5-pm-rp::part(header){box-shadow:none;padding:0}.ui5-pm-header{width:100%;padding-block-start:1rem;padding-inline:.5rem;display:flex;flex-direction:column}[on-phone] .ui5-pm-header{padding-inline:0}.ui5-pm-phone-header::part(startContent),.ui5-pm-phone-header::part(endContent){padding:0}.ui5-pm-phone-header [ui5-button]{margin-inline:.5rem;font-family:var(--sapFontSemiboldFamily)}.ui5-pm-rp::part(content){padding-top:0;padding-bottom:.5rem}.ui5-pm-rp::part(footer){padding-block:.5rem}.ui5-pm-selected-account{display:flex;align-items:center;flex-direction:column;margin-bottom:1rem}.ui5-pm--selected-account-avatar{margin-block:.5rem}.ui5-pm-selected-account-title{margin-block:.25rem;font-family:var(--sapFontBoldFamily);font-size:var(--sapFontLargeSize);color:var(--sapTextColor)}.ui5-pm-selected-account-subtitleText{margin-block:.25rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-pm-selected-account-description{margin-bottom:1rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-pm-decline-btn{align-self:flex-end;font-family:var(--sapFontSemiboldFamily)}.ui5-pm-manage-account-btn{margin-top:.5rem;font-family:var(--sapFontSemiboldFamily)}.ui5-pm-sign-out-btn{font-family:var(--sapFontSemiboldFamily)}.ui5-pm-other-accounts{margin-bottom:1rem}.ui5-pm-other-accounts::part(content){padding:0}.ui5-pm-other-accounts-content{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem;padding-block:1rem}.ui5-user-menu-account-header{display:flex;flex:1;justify-content:space-between;align-items:center}.ui5-pm-footer{display:flex;flex:1;justify-content:flex-end;align-items:center}
|
|
1454
|
+
`;
|
|
1455
|
+
|
|
1456
|
+
const USER_MENU_OTHER_ACCOUNT_BUTTON_TXT = { key: "USER_MENU_OTHER_ACCOUNT_BUTTON_TXT", defaultText: "Other Accounts" };
|
|
1457
|
+
const USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT = { key: "USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT", defaultText: "Manage Account" };
|
|
1458
|
+
const USER_MENU_SIGN_OUT_BUTTON_TXT = { key: "USER_MENU_SIGN_OUT_BUTTON_TXT", defaultText: "Sign Out" };
|
|
1459
|
+
const USER_MENU_EDIT_AVATAR_TXT = { key: "USER_MENU_EDIT_AVATAR_TXT", defaultText: "Edit avatar" };
|
|
1460
|
+
const USER_MENU_EDIT_ACCOUNTS_TXT = { key: "USER_MENU_EDIT_ACCOUNTS_TXT", defaultText: "Edit accounts" };
|
|
1461
|
+
const USER_MENU_POPOVER_ACCESSIBLE_NAME = { key: "USER_MENU_POPOVER_ACCESSIBLE_NAME", defaultText: "User menu for" };
|
|
1462
|
+
const USER_MENU_CLOSE_DIALOG_BUTTON = { key: "USER_MENU_CLOSE_DIALOG_BUTTON", defaultText: "Decline" };
|
|
1463
|
+
|
|
1464
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1465
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1466
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1467
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1468
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1469
|
+
};
|
|
1470
|
+
var UserMenu_1;
|
|
1471
|
+
/**
|
|
1472
|
+
* @class
|
|
1473
|
+
* ### Overview
|
|
1474
|
+
*
|
|
1475
|
+
* The `ui5-user-menu` is an SAP Fiori specific web component that is used in `ui5-shellbar`
|
|
1476
|
+
* and allows the user to easily see information and settings for the current user and all other logged in accounts.
|
|
1477
|
+
*
|
|
1478
|
+
* ### ES6 Module Import
|
|
1479
|
+
* `import "@ui5/webcomponents-fiori/dist/UserMenu.js";`
|
|
1480
|
+
*
|
|
1481
|
+
* `import "@ui5/webcomponents-fiori/dist/UserMenuItem.js";` (for `ui5-user-menu-item`)
|
|
1482
|
+
*
|
|
1483
|
+
* @constructor
|
|
1484
|
+
* @extends UI5Element
|
|
1485
|
+
* @experimental
|
|
1486
|
+
* @public
|
|
1487
|
+
* @since 2.5.0
|
|
1488
|
+
*/
|
|
1489
|
+
let UserMenu = UserMenu_1 = class UserMenu extends webcomponentsBase.b {
|
|
1490
|
+
constructor() {
|
|
1491
|
+
super(...arguments);
|
|
1492
|
+
/**
|
|
1493
|
+
* Defines if the User Menu is opened.
|
|
1494
|
+
*
|
|
1495
|
+
* @default false
|
|
1496
|
+
* @public
|
|
1497
|
+
*/
|
|
1498
|
+
this.open = false;
|
|
1499
|
+
/**
|
|
1500
|
+
* Defines if the User Menu shows the Manage Account option.
|
|
1501
|
+
*
|
|
1502
|
+
* @default false
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1505
|
+
this.showManageAccount = false;
|
|
1506
|
+
/**
|
|
1507
|
+
* Defines if the User Menu shows the Other Accounts option.
|
|
1508
|
+
*
|
|
1509
|
+
* @default false
|
|
1510
|
+
* @public
|
|
1511
|
+
*/
|
|
1512
|
+
this.showOtherAccounts = false;
|
|
1513
|
+
/**
|
|
1514
|
+
* Defines if the User Menu shows the Edit Accounts option.
|
|
1515
|
+
*
|
|
1516
|
+
* @default false
|
|
1517
|
+
* @public
|
|
1518
|
+
*/
|
|
1519
|
+
this.showEditAccounts = false;
|
|
1520
|
+
/**
|
|
1521
|
+
* Defines if the User menu shows edit button.
|
|
1522
|
+
*
|
|
1523
|
+
* @default false
|
|
1524
|
+
* @public
|
|
1525
|
+
* @since 2.7.0
|
|
1526
|
+
*/
|
|
1527
|
+
this.showEditButton = false;
|
|
1528
|
+
/**
|
|
1529
|
+
* @default false
|
|
1530
|
+
* @private
|
|
1531
|
+
*/
|
|
1532
|
+
this._titleMovedToHeader = false;
|
|
1533
|
+
/**
|
|
1534
|
+
* @default false
|
|
1535
|
+
* @private
|
|
1536
|
+
*/
|
|
1537
|
+
this._manageAccountMovedToHeader = false;
|
|
1538
|
+
}
|
|
1539
|
+
onBeforeRendering() {
|
|
1540
|
+
this._selectedAccount = this.accounts.find(account => account.selected) || this.accounts[0];
|
|
1541
|
+
}
|
|
1542
|
+
onAfterRendering() {
|
|
1543
|
+
if (this._isPhone && this._responsivePopover) {
|
|
1544
|
+
const observerOptions = {
|
|
1545
|
+
threshold: [0.15],
|
|
1546
|
+
};
|
|
1547
|
+
this._observer?.disconnect();
|
|
1548
|
+
this._observer = new IntersectionObserver(entries => this._handleIntersection(entries), observerOptions);
|
|
1549
|
+
if (this._selectedAccountTitleEl) {
|
|
1550
|
+
this._observer.observe(this._selectedAccountTitleEl);
|
|
1551
|
+
}
|
|
1552
|
+
if (this._selectedAccountManageBtn) {
|
|
1553
|
+
this._observer.observe(this._selectedAccountManageBtn);
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
get _isPhone() {
|
|
1558
|
+
return Icons.d();
|
|
1559
|
+
}
|
|
1560
|
+
_handleIntersection(entries) {
|
|
1561
|
+
entries.forEach(entry => {
|
|
1562
|
+
if (entry.isIntersecting) {
|
|
1563
|
+
if (entry.target.id === "selected-account-title") {
|
|
1564
|
+
this._titleMovedToHeader = false;
|
|
1565
|
+
}
|
|
1566
|
+
else if (entry.target.id === "selected-account-manage-btn") {
|
|
1567
|
+
this._manageAccountMovedToHeader = false;
|
|
1568
|
+
}
|
|
1569
|
+
return;
|
|
1570
|
+
}
|
|
1571
|
+
if (entry.target.id === "selected-account-title") {
|
|
1572
|
+
this._titleMovedToHeader = true;
|
|
1573
|
+
}
|
|
1574
|
+
else if (entry.target.id === "selected-account-manage-btn") {
|
|
1575
|
+
this._manageAccountMovedToHeader = true;
|
|
1576
|
+
}
|
|
1577
|
+
}, this);
|
|
1578
|
+
}
|
|
1579
|
+
_handleAvatarClick(e) {
|
|
1580
|
+
if (e.type === "click") {
|
|
1581
|
+
// TOFIX: Discuss this check: Fire the custom UserMenu#avatar-click only for Avatar#click (not for Avatar#ui5-click as well).
|
|
1582
|
+
this.fireDecoratorEvent("avatar-click");
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
_handleManageAccountClick() {
|
|
1586
|
+
this.fireDecoratorEvent("manage-account-click");
|
|
1587
|
+
}
|
|
1588
|
+
_handleEditAccountsClick() {
|
|
1589
|
+
this.fireDecoratorEvent("edit-accounts-click");
|
|
1590
|
+
}
|
|
1591
|
+
_handleAccountSwitch(e) {
|
|
1592
|
+
const item = e.detail.item;
|
|
1593
|
+
const eventPrevented = !this.fireDecoratorEvent("change-account", {
|
|
1594
|
+
prevSelectedAccount: this._selectedAccount,
|
|
1595
|
+
selectedAccount: item.associatedAccount,
|
|
1596
|
+
});
|
|
1597
|
+
if (eventPrevented) {
|
|
1598
|
+
return;
|
|
1599
|
+
}
|
|
1600
|
+
this._selectedAccount.selected = false;
|
|
1601
|
+
item.associatedAccount.selected = true;
|
|
1602
|
+
}
|
|
1603
|
+
_handleSignOutClick() {
|
|
1604
|
+
const eventPrevented = !this.fireDecoratorEvent("sign-out-click");
|
|
1605
|
+
if (eventPrevented) {
|
|
1606
|
+
return;
|
|
1607
|
+
}
|
|
1608
|
+
this._closeUserMenu();
|
|
1609
|
+
}
|
|
1610
|
+
_handleMenuItemClick(e) {
|
|
1611
|
+
const item = e.detail.item; // imrove: improve this ideally without "as" cating
|
|
1612
|
+
if (!item._popover) {
|
|
1613
|
+
const eventPrevented = !this.fireDecoratorEvent("item-click", {
|
|
1614
|
+
"item": item,
|
|
1615
|
+
});
|
|
1616
|
+
if (!eventPrevented) {
|
|
1617
|
+
item.fireEvent("close-menu");
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
else {
|
|
1621
|
+
this._openItemSubMenu(item);
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
_handleMenuItemClose() {
|
|
1625
|
+
this._closeUserMenu();
|
|
1626
|
+
}
|
|
1627
|
+
_handlePopoverAfterOpen() {
|
|
1628
|
+
this.fireDecoratorEvent("open");
|
|
1629
|
+
}
|
|
1630
|
+
_handlePopoverAfterClose() {
|
|
1631
|
+
this.open = false;
|
|
1632
|
+
this.fireDecoratorEvent("close");
|
|
1633
|
+
}
|
|
1634
|
+
_openItemSubMenu(item) {
|
|
1635
|
+
if (!item._popover || item._popover.open) {
|
|
1636
|
+
return;
|
|
1637
|
+
}
|
|
1638
|
+
item._popover.opener = item;
|
|
1639
|
+
item._popover.open = true;
|
|
1640
|
+
item.selected = true;
|
|
1641
|
+
}
|
|
1642
|
+
_closeUserMenu() {
|
|
1643
|
+
this.open = false;
|
|
1644
|
+
}
|
|
1645
|
+
get _manageAccountVisibleInHeader() {
|
|
1646
|
+
return this.showManageAccount && this._manageAccountMovedToHeader;
|
|
1647
|
+
}
|
|
1648
|
+
get _otherAccounts() {
|
|
1649
|
+
return this.accounts.filter(account => account !== this._selectedAccount);
|
|
1650
|
+
}
|
|
1651
|
+
get _manageAccountButtonText() {
|
|
1652
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT);
|
|
1653
|
+
}
|
|
1654
|
+
get _otherAccountsButtonText() {
|
|
1655
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_OTHER_ACCOUNT_BUTTON_TXT);
|
|
1656
|
+
}
|
|
1657
|
+
get _signOutButtonText() {
|
|
1658
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_SIGN_OUT_BUTTON_TXT);
|
|
1659
|
+
}
|
|
1660
|
+
get _editAvatarTooltip() {
|
|
1661
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_EDIT_AVATAR_TXT);
|
|
1662
|
+
}
|
|
1663
|
+
get _editAccountsTooltip() {
|
|
1664
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_EDIT_ACCOUNTS_TXT);
|
|
1665
|
+
}
|
|
1666
|
+
get _closeDialogAriaLabel() {
|
|
1667
|
+
return UserMenu_1.i18nBundle.getText(USER_MENU_CLOSE_DIALOG_BUTTON);
|
|
1668
|
+
}
|
|
1669
|
+
get accessibleNameText() {
|
|
1670
|
+
if (!this._selectedAccount) {
|
|
1671
|
+
return "";
|
|
1672
|
+
}
|
|
1673
|
+
return `${UserMenu_1.i18nBundle.getText(USER_MENU_POPOVER_ACCESSIBLE_NAME)} ${this._selectedAccount.titleText}`;
|
|
1674
|
+
}
|
|
1675
|
+
getAccountByRefId(refId) {
|
|
1676
|
+
return this.accounts.find(account => account._id === refId);
|
|
1677
|
+
}
|
|
1678
|
+
captureRef(ref) {
|
|
1679
|
+
if (ref) {
|
|
1680
|
+
ref.associatedAccount = this;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
};
|
|
1684
|
+
__decorate([
|
|
1685
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1686
|
+
], UserMenu.prototype, "open", void 0);
|
|
1687
|
+
__decorate([
|
|
1688
|
+
webcomponentsBase.s({ converter: parametersBundle_css.e })
|
|
1689
|
+
], UserMenu.prototype, "opener", void 0);
|
|
1690
|
+
__decorate([
|
|
1691
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1692
|
+
], UserMenu.prototype, "showManageAccount", void 0);
|
|
1693
|
+
__decorate([
|
|
1694
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1695
|
+
], UserMenu.prototype, "showOtherAccounts", void 0);
|
|
1696
|
+
__decorate([
|
|
1697
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1698
|
+
], UserMenu.prototype, "showEditAccounts", void 0);
|
|
1699
|
+
__decorate([
|
|
1700
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1701
|
+
], UserMenu.prototype, "showEditButton", void 0);
|
|
1702
|
+
__decorate([
|
|
1703
|
+
webcomponentsBase.d({
|
|
1704
|
+
type: HTMLElement,
|
|
1705
|
+
"default": true,
|
|
1706
|
+
})
|
|
1707
|
+
], UserMenu.prototype, "menuItems", void 0);
|
|
1708
|
+
__decorate([
|
|
1709
|
+
webcomponentsBase.d({
|
|
1710
|
+
type: HTMLElement,
|
|
1711
|
+
invalidateOnChildChange: {
|
|
1712
|
+
properties: true,
|
|
1713
|
+
slots: false,
|
|
1714
|
+
},
|
|
1715
|
+
})
|
|
1716
|
+
], UserMenu.prototype, "accounts", void 0);
|
|
1717
|
+
__decorate([
|
|
1718
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1719
|
+
], UserMenu.prototype, "_titleMovedToHeader", void 0);
|
|
1720
|
+
__decorate([
|
|
1721
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1722
|
+
], UserMenu.prototype, "_manageAccountMovedToHeader", void 0);
|
|
1723
|
+
__decorate([
|
|
1724
|
+
o("#user-menu-rp")
|
|
1725
|
+
], UserMenu.prototype, "_responsivePopover", void 0);
|
|
1726
|
+
__decorate([
|
|
1727
|
+
o("#selected-account-title")
|
|
1728
|
+
], UserMenu.prototype, "_selectedAccountTitleEl", void 0);
|
|
1729
|
+
__decorate([
|
|
1730
|
+
o("#selected-account-manage-btn")
|
|
1731
|
+
], UserMenu.prototype, "_selectedAccountManageBtn", void 0);
|
|
1732
|
+
__decorate([
|
|
1733
|
+
parametersBundle_css.i("@ui5/webcomponents-fiori")
|
|
1734
|
+
], UserMenu, "i18nBundle", void 0);
|
|
1735
|
+
UserMenu = UserMenu_1 = __decorate([
|
|
1736
|
+
webcomponentsBase.m({
|
|
1737
|
+
tag: "ui5-user-menu",
|
|
1738
|
+
languageAware: true,
|
|
1739
|
+
renderer: parametersBundle_css.d,
|
|
1740
|
+
template: UserMenuTemplate,
|
|
1741
|
+
styles: [UserMenuCss],
|
|
1742
|
+
})
|
|
1743
|
+
/**
|
|
1744
|
+
* Fired when the account avatar is selected.
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1747
|
+
,
|
|
1748
|
+
parametersBundle_css.l("avatar-click")
|
|
1749
|
+
/**
|
|
1750
|
+
* Fired when the "Manage Account" button is selected.
|
|
1751
|
+
* @public
|
|
1752
|
+
*/
|
|
1753
|
+
,
|
|
1754
|
+
parametersBundle_css.l("manage-account-click")
|
|
1755
|
+
/**
|
|
1756
|
+
* Fired when the "Edit Accounts" button is selected.
|
|
1757
|
+
* @public
|
|
1758
|
+
*/
|
|
1759
|
+
,
|
|
1760
|
+
parametersBundle_css.l("edit-accounts-click")
|
|
1761
|
+
/**
|
|
1762
|
+
* Fired when the account is switched to a different one.
|
|
1763
|
+
* @param {UserMenuAccount} prevSelectedAccount The previously selected account.
|
|
1764
|
+
* @param {UserMenuAccount} selectedAccount The selected account.
|
|
1765
|
+
* @public
|
|
1766
|
+
*/
|
|
1767
|
+
,
|
|
1768
|
+
parametersBundle_css.l("change-account", {
|
|
1769
|
+
cancelable: true,
|
|
1770
|
+
})
|
|
1771
|
+
/**
|
|
1772
|
+
* Fired when a menu item is selected.
|
|
1773
|
+
* @param {UserMenuItem} item The selected `user menu item`.
|
|
1774
|
+
* @public
|
|
1775
|
+
*/
|
|
1776
|
+
,
|
|
1777
|
+
parametersBundle_css.l("item-click", {
|
|
1778
|
+
cancelable: true,
|
|
1779
|
+
})
|
|
1780
|
+
/**
|
|
1781
|
+
* Fired when a user menu is open.
|
|
1782
|
+
* @public
|
|
1783
|
+
* @since 2.6.0
|
|
1784
|
+
*/
|
|
1785
|
+
,
|
|
1786
|
+
parametersBundle_css.l("open")
|
|
1787
|
+
/**
|
|
1788
|
+
* Fired when a user menu is close.
|
|
1789
|
+
* @public
|
|
1790
|
+
* @since 2.6.0
|
|
1791
|
+
*/
|
|
1792
|
+
,
|
|
1793
|
+
parametersBundle_css.l("close")
|
|
1794
|
+
/**
|
|
1795
|
+
* Fired when the "Sign Out" button is selected.
|
|
1796
|
+
* @public
|
|
1797
|
+
* @since 2.6.0
|
|
1798
|
+
*/
|
|
1799
|
+
,
|
|
1800
|
+
parametersBundle_css.l("sign-out-click", {
|
|
1801
|
+
cancelable: true,
|
|
1802
|
+
})
|
|
1803
|
+
], UserMenu);
|
|
1804
|
+
UserMenu.define();
|
|
1805
|
+
var UserMenu$1 = UserMenu;
|
|
1806
|
+
|
|
1807
|
+
return UserMenu$1;
|
|
1808
|
+
|
|
1809
|
+
}));
|