@sapui5/sap.ushell 1.135.0 → 1.136.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 +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +13 -16
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +0 -4
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +5 -12
- package/src/main/js/sap/ushell/Container.js +11 -11
- package/src/main/js/sap/ushell/Fiori20Adapter.js +5 -3
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +6 -4
- package/src/main/js/sap/ushell/Layout.js +3 -3
- package/src/main/js/sap/ushell/NWBCInterface.js +8 -11
- package/src/main/js/sap/ushell/SessionHandler.js +16 -77
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/User.js +8 -19
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -5
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +25 -25
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +50 -50
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +13 -13
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/DWS.js +1 -1
- package/src/main/js/sap/ushell/api/NewExperience.js +24 -2
- package/src/main/js/sap/ushell/api/RTA.js +65 -4
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +59 -49
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +57 -11
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerCache.js +2 -8
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +1 -6
- package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +0 -6
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +27 -4
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +8 -6
- package/src/main/js/sap/ushell/appIntegration/KeepAliveApps.js +0 -6
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +1 -7
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +3 -9
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +3 -9
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler.js +0 -4
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +0 -6
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +6 -12
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +2 -8
- package/src/main/js/sap/ushell/appIntegration/PostMessagePluginInterface.js +2 -8
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +0 -6
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainerRenderer.js +3 -8
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +1 -7
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +0 -6
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +9 -13
- package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +0 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +17 -19
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +2 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +17 -29
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +3 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +3 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +33 -30
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +7 -13
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +25 -39
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +24 -26
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +6 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +58 -75
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +14 -20
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +14 -21
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +30 -45
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +11 -16
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +8 -12
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +16 -21
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +3 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +3 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.override.registermodulepath.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +11 -11
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +6 -6
- package/src/main/js/sap/ushell/components/HomepageManager.js +2 -2
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.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 +21 -21
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +6 -6
- package/src/main/js/sap/ushell/components/appfinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +4 -5
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +3 -3
- package/src/main/js/sap/ushell/components/container/resources/resources_de.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +9 -9
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +5 -5
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +4 -4
- 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/formatter.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ar.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_bg.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ca.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cs.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cy.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_da.properties +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_el.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_GB.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_es_MX.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_et.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fi.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_fr_CA.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hi.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hr.properties +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_hu.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_id.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_it.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_iw.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ja.properties +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_kk.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ko.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lt.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_lv.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ms.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_nl.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_no.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pl.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_pt_PT.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ro.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_ru.properties +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sk.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sl.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sv.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_th.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_tr.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_uk.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_vi.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_CN.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_zh_TW.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +0 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +3 -3
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +1 -0
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.view.xml +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +8 -3
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/view/MyHomeStart.view.xml +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +6 -2
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +4 -0
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +4 -2
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +2 -9
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +191 -64
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +876 -0
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +84 -0
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverHeader.fragment.xml +35 -0
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +23 -9
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +22 -9
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +19 -14
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +5 -4
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +12 -17
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +11 -2
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +123 -21
- package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ar.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_bg.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ca.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_cnr.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_cs.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_cy.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_da.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_de.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_el.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_en.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_en_GB.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_es.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_es_MX.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_et.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_fi.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_fr.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_fr_CA.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_hi.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_hr.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_hu.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_id.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_it.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_iw.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ja.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_kk.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ko.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_lt.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_lv.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_mk.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ms.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_nl.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_no.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_pl.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_pt.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_pt_PT.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ro.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_ru.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_sh.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_sk.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_sl.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_sr.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_sv.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_th.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_tr.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_uk.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_vi.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_zh_CN.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/resources/resources_zh_TW.properties +5 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +23 -3
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +5 -3
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +83 -36
- package/src/main/js/sap/ushell/components/shell/SideNavigation/css/style.css +5 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +8 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +137 -26
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/view/Main.view.xml +2 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +2 -0
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.fragment.xml +1 -0
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/generic.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/indicatorDualComparison/DualComparison.controller.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +18 -18
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +11 -11
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- 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 +30 -36
- 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 +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +4 -4
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +2 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/library.js +10 -2
- package/src/main/js/sap/ushell/modules/NavigationMenu.js +90 -0
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +1 -1
- package/src/main/js/sap/ushell/renderer/NavContainer.js +4 -10
- package/src/main/js/sap/ushell/renderer/Renderer.js +29 -27
- package/src/main/js/sap/ushell/renderer/RendererAppContainer.js +236 -0
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +25 -212
- package/src/main/js/sap/ushell/renderer/Shell.view.js +34 -24
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +6 -6
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/Component.js +105 -0
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller.js +83 -0
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.view.xml +12 -0
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/manifest.json +43 -0
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +34 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +21 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +33 -15
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +19 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +18 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +18 -0
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +5 -11
- package/src/main/js/sap/ushell/renderers/fiori2/History.js +6 -6
- package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +6 -6
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +11 -11
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +2 -8
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +6 -6
- package/src/main/js/sap/ushell/services/AppConfiguration.js +6 -6
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +10 -16
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- 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 +14 -14
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +7 -13
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +6 -6
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +3 -3
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +9 -4
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +54 -53
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +4 -4
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +21 -53
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -3
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -2
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +0 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +3 -2
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/Notifications.js +2 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +7 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +3 -3
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +7 -20
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +5 -5
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +2 -2
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +10 -10
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +2 -2
- package/src/main/js/sap/ushell/services/_AppState/AppStatePersistencyMethod.js +1 -0
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +9 -10
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +6 -6
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +11 -13
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +4 -4
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +12 -11
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +5 -3
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +4 -4
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +7 -7
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +3 -5
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +2 -1
- package/src/main/js/sap/ushell/services/_Personalization/constants.js +9 -10
- package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +3 -4
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -1
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +4 -2
- package/src/main/js/sap/ushell/state/BackNavigation.js +1 -7
- package/src/main/js/sap/ushell/state/ContentDensity.js +1 -7
- package/src/main/js/sap/ushell/state/Favicon.js +1 -5
- package/src/main/js/sap/ushell/state/StateManager.js +9 -3
- package/src/main/js/sap/ushell/state/StateRules.js +5 -0
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +8 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/MenuBar.less +3 -0
- package/src/main/js/sap/ushell/themes/base/Notifications.less +29 -0
- package/src/main/js/sap/ushell/themes/base/ShellBar.less +7 -0
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +5 -0
- package/src/main/js/sap/ushell/themes/base/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/Notifications.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/Notifications.less +4 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_MenuBar.less +3 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellBar.less +7 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/Notifications.less +3 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/Notifications.less +4 -0
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +381 -0
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +464 -0
- package/src/main/js/sap/ushell/thirdparty/Button.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/Button2.js +524 -0
- package/src/main/js/sap/ushell/thirdparty/Icon.js +296 -0
- package/src/main/js/sap/ushell/thirdparty/Icons.js +38 -35
- package/src/main/js/sap/ushell/thirdparty/Label.js +115 -0
- package/src/main/js/sap/ushell/thirdparty/Link.js +315 -0
- package/src/main/js/sap/ushell/thirdparty/List.js +1705 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +95 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +3917 -0
- package/src/main/js/sap/ushell/thirdparty/Menu.js +406 -0
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +2 -350
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +355 -0
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +291 -0
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +310 -0
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +531 -0
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +98 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +319 -547
- package/src/main/js/sap/ushell/thirdparty/Tag.js +307 -0
- package/src/main/js/sap/ushell/thirdparty/Text.js +127 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +68 -866
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +193 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +561 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +561 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite.js +1194 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite2.js +1194 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +4 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +11 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +3 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +141 -135
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +93 -0
- package/src/main/js/sap/ushell/thirdparty/information.js +103 -0
- package/src/main/js/sap/ushell/thirdparty/overflow.js +45 -0
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +8 -0
- package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Avatar.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Button.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Label.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Menu.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/MenuItem.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/Avatar.js +113 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/Button.js +123 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/Label.js +75 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/dist/Menu.js +90 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-base.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationList.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationListGroupItem.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationListItem.js +4 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/NotificationList.js +60 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +72 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/NotificationListItem.js +96 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +51 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/ShellBar.js +18 -6
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +26 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +26 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +41 -37
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +5 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +5 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +2 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +2 -1
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +2 -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/DashboardGroupsContainer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +3 -2
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +19 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceAbap.js +24 -4
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +34 -16
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +28 -3
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLink.js +88 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +249 -249
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +73 -6
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +2 -2
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UriParameters.js +1 -0
- package/src/main/js/sap/ushell/utils/UrlShortening.js +3 -3
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +4 -4
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/resources/resources_es_MX.properties +1 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +0 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +0 -24
- package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +0 -19
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +0 -23
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +0 -23
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxesCache.js +0 -16
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +0 -22
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPIInterface.js +0 -17
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageUtils.js +0 -19
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +0 -20
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +0 -24
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +0 -24
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/AppLifeCycle.js +0 -1926
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/Storage.js +0 -62
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/Application.js +0 -709
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/BlueBoxHandler.js +0 -406
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/BlueBoxesCache.js +0 -263
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageAPI.js +0 -2382
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageAPIInterface.js +0 -143
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/PostMessageUtils.js +0 -192
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/application/WebGUIStatefulHandler.js +0 -90
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/configuration/AppMeta.js +0 -193
- package/src/main/js/sap/ushell/components/applicationIntegrationOld/relatedServices/RelatedServices.js +0 -91
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +0 -1769
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +0 -232
- package/src/main/js/sap/ushell/renderer/RendererRootViewFallback.fragment.xml +0 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css25.js +0 -7194
- package/src/main/js/sap/ushell/ui/AppContainer.js +0 -271
- package/src/main/js/sap/ushell/ui/AppContainerRenderer.js +0 -42
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.
|
|
1
|
+
sap.ui.define(['require', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/ListItemTemplate', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/overflow', 'sap/ushell/thirdparty/List', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Menu', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Label', 'sap/ushell/thirdparty/MenuItem2', 'sap/ushell/thirdparty/ListItemCustom'], (function (require, webcomponentsBase, webcomponents, webcomponentsFiori, Icons, eventStrict, i18nDefaults, toLowercaseEnumValue, ListItemTemplate, Icon, overflow, List, Button, Menu, information, parametersBundle_css, i18nDefaults$1, BusyIndicator, Label, MenuItem, ListItemCustom) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const predefinedHooks = {
|
|
4
4
|
imageBegin,
|
|
@@ -8,33 +8,75 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
8
8
|
};
|
|
9
9
|
function ListItemStandardTemplate(hooks) {
|
|
10
10
|
const currentHooks = { ...predefinedHooks, ...hooks };
|
|
11
|
-
return
|
|
11
|
+
return ListItemTemplate.ListItemTemplate.call(this, currentHooks);
|
|
12
12
|
}
|
|
13
13
|
function listItemContent() {
|
|
14
|
-
return
|
|
14
|
+
return i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [i18nDefaults.jsxs("div", { class: "ui5-li-text-wrapper", children: [renderTitle.call(this), renderDescription.call(this), !this.typeActive && i18nDefaults.jsx("span", { class: "ui5-hidden-text", children: this.type })] }), !this.description && renderAdditionalText.call(this)] });
|
|
15
|
+
}
|
|
16
|
+
function renderTitle() {
|
|
17
|
+
if (this.wrappingType === overflow.WrappingType.Normal) {
|
|
18
|
+
return this.expandableTextTemplate?.call(this, {
|
|
19
|
+
className: "ui5-li-title",
|
|
20
|
+
text: this._textContent,
|
|
21
|
+
maxCharacters: this._maxCharacters,
|
|
22
|
+
part: "title",
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
return (i18nDefaults.jsx("span", { part: "title", class: "ui5-li-title", children: this.text ? this.text : i18nDefaults.jsx("slot", {}) }));
|
|
26
|
+
}
|
|
27
|
+
function renderDescription() {
|
|
28
|
+
if (!this.description) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
if (this.wrappingType === overflow.WrappingType.Normal) {
|
|
32
|
+
return (i18nDefaults.jsxs("div", { class: "ui5-li-description-info-wrapper", children: [this.expandableTextTemplate?.call(this, {
|
|
33
|
+
className: "ui5-li-desc",
|
|
34
|
+
text: this.description,
|
|
35
|
+
maxCharacters: this._maxCharacters,
|
|
36
|
+
part: "description",
|
|
37
|
+
}), renderAdditionalText.call(this)] }));
|
|
38
|
+
}
|
|
39
|
+
return (i18nDefaults.jsxs("div", { class: "ui5-li-description-info-wrapper", children: [i18nDefaults.jsx("span", { part: "description", class: "ui5-li-desc", children: this.description }), renderAdditionalText.call(this)] }));
|
|
40
|
+
}
|
|
41
|
+
function renderAdditionalText() {
|
|
42
|
+
if (!this.additionalText) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return i18nDefaults.jsx("span", { part: "additional-text", class: "ui5-li-additional-text", children: this.additionalText });
|
|
15
46
|
}
|
|
16
47
|
function imageBegin() {
|
|
17
48
|
if (this.hasImage) {
|
|
18
|
-
return
|
|
49
|
+
return i18nDefaults.jsx("div", { class: "ui5-li-image", children: i18nDefaults.jsx("slot", { name: "image" }) });
|
|
19
50
|
}
|
|
20
51
|
}
|
|
21
52
|
function iconBegin() {
|
|
22
53
|
if (this.displayIconBegin) {
|
|
23
|
-
return
|
|
54
|
+
return i18nDefaults.jsx(Icon.Icon, { part: "icon", name: this.icon, class: "ui5-li-icon", mode: "Decorative" });
|
|
24
55
|
}
|
|
25
56
|
}
|
|
26
57
|
function iconEnd() {
|
|
27
58
|
if (this.displayIconEnd) {
|
|
28
|
-
return
|
|
59
|
+
return i18nDefaults.jsx(Icon.Icon, { part: "icon", name: this.icon, class: "ui5-li-icon", mode: "Decorative" });
|
|
29
60
|
}
|
|
30
61
|
}
|
|
31
62
|
|
|
32
|
-
var __decorate$
|
|
63
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
33
64
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
34
65
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
35
66
|
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;
|
|
36
67
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
37
68
|
};
|
|
69
|
+
var ListItemStandard_1;
|
|
70
|
+
/**
|
|
71
|
+
* Maximum number of characters to display for small screens (Size S)
|
|
72
|
+
* @private
|
|
73
|
+
*/
|
|
74
|
+
const MAX_CHARACTERS_SIZE_S = 100;
|
|
75
|
+
/**
|
|
76
|
+
* Maximum number of characters to display for medium and larger screens (Size M and above)
|
|
77
|
+
* @private
|
|
78
|
+
*/
|
|
79
|
+
const MAX_CHARACTERS_SIZE_M = 300;
|
|
38
80
|
/**
|
|
39
81
|
* @class
|
|
40
82
|
* The `ui5-li` represents the simplest type of item for a `ui5-list`.
|
|
@@ -55,12 +97,14 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
55
97
|
* @csspart checkbox - Used to style the checkbox rendered when the list item is in multiple selection mode
|
|
56
98
|
* @slot {Node[]} default - Defines the text of the component.
|
|
57
99
|
*
|
|
58
|
-
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
100
|
+
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design. <br/>
|
|
101
|
+
* **Note:** Deprecated since version `2.10.0`. Use the `text` property instead. <br/>
|
|
102
|
+
* Only use the default slot if you need to apply custom text formatting with HTML elements (like `<b>`, `<i>`, etc.).
|
|
59
103
|
* @constructor
|
|
60
104
|
* @extends ListItem
|
|
61
105
|
* @public
|
|
62
106
|
*/
|
|
63
|
-
let ListItemStandard = class ListItemStandard extends
|
|
107
|
+
let ListItemStandard = ListItemStandard_1 = class ListItemStandard extends ListItemTemplate.ListItem {
|
|
64
108
|
constructor() {
|
|
65
109
|
super(...arguments);
|
|
66
110
|
/**
|
|
@@ -87,12 +131,21 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
87
131
|
*/
|
|
88
132
|
this.movable = false;
|
|
89
133
|
/**
|
|
90
|
-
* Defines if the text of the component should wrap
|
|
134
|
+
* Defines if the text of the component should wrap when it's too long.
|
|
135
|
+
* When set to "Normal", the content (title, description) will be wrapped
|
|
136
|
+
* using the `ui5-expandable-text` component.<br/>
|
|
137
|
+
*
|
|
138
|
+
* The text can wrap up to 100 characters on small screens (size S) and
|
|
139
|
+
* up to 300 characters on larger screens (size M and above). When text exceeds
|
|
140
|
+
* these limits, it truncates with an ellipsis followed by a text expansion trigger.
|
|
141
|
+
*
|
|
142
|
+
* Available options are:
|
|
143
|
+
* - `None` (default) - The text will truncate with an ellipsis.
|
|
144
|
+
* - `Normal` - The text will wrap (without truncation).
|
|
91
145
|
*
|
|
92
|
-
* **Note:** this property takes affect only if text node is provided to default slot of the component
|
|
93
146
|
* @default "None"
|
|
94
|
-
* @
|
|
95
|
-
* @since
|
|
147
|
+
* @public
|
|
148
|
+
* @since 2.10.0
|
|
96
149
|
*/
|
|
97
150
|
this.wrappingType = "None";
|
|
98
151
|
/**
|
|
@@ -104,8 +157,37 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
104
157
|
}
|
|
105
158
|
onBeforeRendering() {
|
|
106
159
|
super.onBeforeRendering();
|
|
107
|
-
this.hasTitle = !!this.textContent;
|
|
160
|
+
this.hasTitle = !!(this.text || this.textContent);
|
|
108
161
|
this._hasImage = this.hasImage;
|
|
162
|
+
// Only load ExpandableText if "Normal" wrapping is used
|
|
163
|
+
if (this.wrappingType === "Normal") {
|
|
164
|
+
// If feature is already loaded (preloaded by the user via importing ListItemStandardExpandableText.js), the template is already available
|
|
165
|
+
if (ListItemStandard_1.ExpandableTextTemplate) {
|
|
166
|
+
this.expandableTextTemplate = ListItemStandard_1.ExpandableTextTemplate;
|
|
167
|
+
// If feature is not preloaded, load the template dynamically
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
new Promise(function (resolve, reject) { require(['sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate'], resolve, reject); }).then(module => {
|
|
171
|
+
this.expandableTextTemplate = module.default;
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Returns the content text, either from text property or from the default slot
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
180
|
+
get _textContent() {
|
|
181
|
+
return this.text || this.textContent || "";
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Determines the maximum characters to display based on the current media range.
|
|
185
|
+
* - Size S: 100 characters
|
|
186
|
+
* - Size M and larger: 300 characters
|
|
187
|
+
* @private
|
|
188
|
+
*/
|
|
189
|
+
get _maxCharacters() {
|
|
190
|
+
return this.mediaRange === "S" ? MAX_CHARACTERS_SIZE_S : MAX_CHARACTERS_SIZE_M;
|
|
109
191
|
}
|
|
110
192
|
get displayIconBegin() {
|
|
111
193
|
return !!(this.icon && !this.iconEnd);
|
|
@@ -117,516 +199,110 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
117
199
|
return !!this.image.length;
|
|
118
200
|
}
|
|
119
201
|
};
|
|
120
|
-
__decorate$
|
|
202
|
+
__decorate$1([
|
|
203
|
+
webcomponentsBase.s()
|
|
204
|
+
], ListItemStandard.prototype, "text", void 0);
|
|
205
|
+
__decorate$1([
|
|
121
206
|
webcomponentsBase.s()
|
|
122
207
|
], ListItemStandard.prototype, "description", void 0);
|
|
123
|
-
__decorate$
|
|
208
|
+
__decorate$1([
|
|
124
209
|
webcomponentsBase.s()
|
|
125
210
|
], ListItemStandard.prototype, "icon", void 0);
|
|
126
|
-
__decorate$
|
|
211
|
+
__decorate$1([
|
|
127
212
|
webcomponentsBase.s({ type: Boolean })
|
|
128
213
|
], ListItemStandard.prototype, "iconEnd", void 0);
|
|
129
|
-
__decorate$
|
|
214
|
+
__decorate$1([
|
|
130
215
|
webcomponentsBase.s()
|
|
131
216
|
], ListItemStandard.prototype, "additionalText", void 0);
|
|
132
|
-
__decorate$
|
|
217
|
+
__decorate$1([
|
|
133
218
|
webcomponentsBase.s()
|
|
134
219
|
], ListItemStandard.prototype, "additionalTextState", void 0);
|
|
135
|
-
__decorate$
|
|
220
|
+
__decorate$1([
|
|
136
221
|
webcomponentsBase.s({ type: Boolean })
|
|
137
222
|
], ListItemStandard.prototype, "movable", void 0);
|
|
138
|
-
__decorate$
|
|
223
|
+
__decorate$1([
|
|
139
224
|
webcomponentsBase.s()
|
|
140
225
|
], ListItemStandard.prototype, "accessibleName", void 0);
|
|
141
|
-
__decorate$
|
|
226
|
+
__decorate$1([
|
|
142
227
|
webcomponentsBase.s()
|
|
143
228
|
], ListItemStandard.prototype, "wrappingType", void 0);
|
|
144
|
-
__decorate$
|
|
229
|
+
__decorate$1([
|
|
145
230
|
webcomponentsBase.s({ type: Boolean })
|
|
146
231
|
], ListItemStandard.prototype, "hasTitle", void 0);
|
|
147
|
-
__decorate$
|
|
232
|
+
__decorate$1([
|
|
148
233
|
webcomponentsBase.s({ type: Boolean })
|
|
149
234
|
], ListItemStandard.prototype, "_hasImage", void 0);
|
|
150
|
-
__decorate$
|
|
235
|
+
__decorate$1([
|
|
236
|
+
webcomponentsBase.s({ noAttribute: true })
|
|
237
|
+
], ListItemStandard.prototype, "expandableTextTemplate", void 0);
|
|
238
|
+
__decorate$1([
|
|
151
239
|
webcomponentsBase.d()
|
|
152
240
|
], ListItemStandard.prototype, "image", void 0);
|
|
153
|
-
ListItemStandard = __decorate$
|
|
241
|
+
ListItemStandard = ListItemStandard_1 = __decorate$1([
|
|
154
242
|
webcomponentsBase.m({
|
|
155
243
|
tag: "ui5-li",
|
|
156
|
-
renderer:
|
|
244
|
+
renderer: i18nDefaults.d,
|
|
157
245
|
template: ListItemStandardTemplate,
|
|
158
246
|
})
|
|
159
247
|
], ListItemStandard);
|
|
160
248
|
ListItemStandard.define();
|
|
161
249
|
var ListItemStandard$1 = ListItemStandard;
|
|
162
250
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
168
|
-
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme$1);
|
|
169
|
-
var menuSeparatorCss = `:host{border-top:.0625rem solid var(--sapGroup_ContentBorderColor);min-height:.125rem}.ui5-menu-separator{border:inherit;min-height:inherit;background:inherit;opacity:1}
|
|
170
|
-
`;
|
|
171
|
-
|
|
172
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
173
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
174
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
175
|
-
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;
|
|
176
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* @class
|
|
180
|
-
* The `ui5-menu-separator` represents a horizontal line to separate menu items inside a `ui5-menu`.
|
|
181
|
-
* @constructor
|
|
182
|
-
* @extends ListItemBase
|
|
183
|
-
* @implements {IMenuItem}
|
|
184
|
-
* @public
|
|
185
|
-
* @since 2.0.0
|
|
186
|
-
*/
|
|
187
|
-
let MenuSeparator = class MenuSeparator extends parametersBundle_css.ListItemBase {
|
|
188
|
-
get isSeparator() {
|
|
189
|
-
return true;
|
|
190
|
-
}
|
|
191
|
-
get classes() {
|
|
192
|
-
return {
|
|
193
|
-
main: {
|
|
194
|
-
"ui5-menu-separator": true,
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* @override
|
|
200
|
-
*/
|
|
201
|
-
get _focusable() {
|
|
202
|
-
return false;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @override
|
|
206
|
-
*/
|
|
207
|
-
get _pressable() {
|
|
208
|
-
return false;
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
MenuSeparator = __decorate$2([
|
|
212
|
-
webcomponentsBase.m({
|
|
213
|
-
tag: "ui5-menu-separator",
|
|
214
|
-
renderer: parametersBundle_css.d,
|
|
215
|
-
styles: [menuSeparatorCss],
|
|
216
|
-
template: MenuSeparatorTemplate,
|
|
217
|
-
})
|
|
218
|
-
], MenuSeparator);
|
|
219
|
-
MenuSeparator.define();
|
|
220
|
-
|
|
221
|
-
function MenuTemplate() {
|
|
222
|
-
return (parametersBundle_css.jsxs(parametersBundle_css.ResponsivePopover, { id: `${this._id}-menu-rp`, class: "ui5-menu-rp", placement: "Bottom", verticalAlign: "Bottom", opener: this.opener, open: this.open, preventInitialFocus: true, hideArrow: true, allowTargetOverlap: true, accessibleName: this.acessibleNameText, onBeforeOpen: this._beforePopoverOpen, onOpen: this._afterPopoverOpen, onBeforeClose: this._beforePopoverClose, onClose: this._afterPopoverClose, children: [this.isPhone &&
|
|
223
|
-
parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-menu-dialog-header", children: [parametersBundle_css.jsx("div", { class: "ui5-menu-dialog-title", children: parametersBundle_css.jsx("h1", { children: this.headerText }) }), parametersBundle_css.jsx(parametersBundle_css.Button, { icon: parametersBundle_css.declineIcon, design: "Transparent", "aria-label": this.labelClose, onClick: this._close })] }), parametersBundle_css.jsx("div", { id: `${this._id}-menu-main`, children: this.items.length ?
|
|
224
|
-
(parametersBundle_css.jsx(parametersBundle_css.List, { id: `${this._id}- menu-list`, selectionMode: "None", loading: this.loading, loadingDelay: this.loadingDelay, separators: "None", accessibleRole: "Menu", onItemClick: this._itemClick, onMouseOver: this._itemMouseOver, onKeyDown: this._itemKeyDown, "onui5-close-menu": this._close, children: parametersBundle_css.jsx("slot", {}) }))
|
|
225
|
-
: this.loading && (parametersBundle_css.jsx(parametersBundle_css.BusyIndicator, { id: `${this._id}-menu-busy-indicator`, delay: this.loadingDelay, class: "ui5-menu-busy-indicator", active: true })) })] }));
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
229
|
-
Icons.p("@ui5/webcomponents", "sap_horizon", async () => parametersBundle_css.defaultTheme$1);
|
|
230
|
-
var menuCss = `:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v2-9-0_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v2-9-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}
|
|
231
|
-
`;
|
|
232
|
-
|
|
233
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
234
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
235
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
236
|
-
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;
|
|
237
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
238
|
-
};
|
|
239
|
-
var Menu_1;
|
|
240
|
-
const MENU_OPEN_DELAY = 300;
|
|
241
|
-
/**
|
|
242
|
-
* @class
|
|
243
|
-
*
|
|
244
|
-
* ### Overview
|
|
245
|
-
*
|
|
246
|
-
* `ui5-menu` component represents a hierarchical menu structure.
|
|
247
|
-
*
|
|
248
|
-
* ### Structure
|
|
249
|
-
*
|
|
250
|
-
* The `ui5-menu` can hold two types of entities:
|
|
251
|
-
*
|
|
252
|
-
* - `ui5-menu-item` components
|
|
253
|
-
* - `ui5-menu-separator` - used to separate menu items with a line
|
|
254
|
-
*
|
|
255
|
-
* An arbitrary hierarchy structure can be represented by recursively nesting menu items.
|
|
256
|
-
*
|
|
257
|
-
* ### Keyboard Handling
|
|
258
|
-
*
|
|
259
|
-
* The `ui5-menu` provides advanced keyboard handling.
|
|
260
|
-
* The user can use the following keyboard shortcuts in order to navigate trough the tree:
|
|
261
|
-
*
|
|
262
|
-
* - `Arrow Up` / `Arrow Down` - Navigates up and down the menu items that are currently visible.
|
|
263
|
-
* - `Arrow Right`, `Space` or `Enter` - Opens a sub-menu if there are menu items nested
|
|
264
|
-
* in the currently clicked menu item.
|
|
265
|
-
* - `Arrow Left` or `Escape` - Closes the currently opened sub-menu.
|
|
266
|
-
*
|
|
267
|
-
* when there is `endContent` :
|
|
268
|
-
* - `Arrow Left` or `ArrowRight` - Navigate between the menu item actions and the menu item itself
|
|
269
|
-
* - `Arrow Up` / `Arrow Down` - Navigates up and down the currently visible menu items
|
|
270
|
-
*
|
|
271
|
-
* Note: if the text ditrection is set to Right-to-left (RTL), `Arrow Right` and `Arrow Left` functionality is swapped.
|
|
272
|
-
*
|
|
273
|
-
* ### ES6 Module Import
|
|
274
|
-
*
|
|
275
|
-
* `import "@ui5/webcomponents/dist/Menu.js";`
|
|
276
|
-
* @constructor
|
|
277
|
-
* @extends UI5Element
|
|
278
|
-
* @since 1.3.0
|
|
279
|
-
* @public
|
|
280
|
-
*/
|
|
281
|
-
let Menu = Menu_1 = class Menu extends webcomponentsBase.b {
|
|
282
|
-
constructor() {
|
|
283
|
-
super(...arguments);
|
|
284
|
-
/**
|
|
285
|
-
* Indicates if the menu is open
|
|
286
|
-
* @public
|
|
287
|
-
* @default false
|
|
288
|
-
* @since 1.10.0
|
|
289
|
-
*/
|
|
290
|
-
this.open = false;
|
|
291
|
-
/**
|
|
292
|
-
* Defines if a loading indicator would be displayed inside the corresponding ui5-menu popover.
|
|
293
|
-
* @default false
|
|
294
|
-
* @public
|
|
295
|
-
* @since 1.13.0
|
|
296
|
-
*/
|
|
297
|
-
this.loading = false;
|
|
298
|
-
/**
|
|
299
|
-
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding ui5-menu popover..
|
|
300
|
-
* @default 1000
|
|
301
|
-
* @public
|
|
302
|
-
* @since 1.13.0
|
|
303
|
-
*/
|
|
304
|
-
this.loadingDelay = 1000;
|
|
305
|
-
}
|
|
306
|
-
get isRtl() {
|
|
307
|
-
return this.effectiveDir === "rtl";
|
|
308
|
-
}
|
|
309
|
-
get labelClose() {
|
|
310
|
-
return Menu_1.i18nBundle.getText(parametersBundle_css.MENU_CLOSE_BUTTON_ARIA_LABEL);
|
|
311
|
-
}
|
|
312
|
-
get isPhone() {
|
|
313
|
-
return Icons.d();
|
|
314
|
-
}
|
|
315
|
-
get _popover() {
|
|
316
|
-
return this.shadowRoot.querySelector("[ui5-responsive-popover]");
|
|
317
|
-
}
|
|
318
|
-
get _menuItems() {
|
|
319
|
-
return this.items.filter((item) => !item.isSeparator);
|
|
320
|
-
}
|
|
321
|
-
get acessibleNameText() {
|
|
322
|
-
return Menu_1.i18nBundle.getText(parametersBundle_css.MENU_POPOVER_ACCESSIBLE_NAME);
|
|
323
|
-
}
|
|
324
|
-
onBeforeRendering() {
|
|
325
|
-
const siblingsWithIcon = this._menuItems.some(menuItem => !!menuItem.icon);
|
|
326
|
-
this._menuItems.forEach(item => {
|
|
327
|
-
item._siblingsWithIcon = siblingsWithIcon;
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
_close() {
|
|
331
|
-
this.open = false;
|
|
332
|
-
}
|
|
333
|
-
_openItemSubMenu(item) {
|
|
334
|
-
clearTimeout(this._timeout);
|
|
335
|
-
if (!item._popover || item._popover.open) {
|
|
336
|
-
return;
|
|
337
|
-
}
|
|
338
|
-
this.fireDecoratorEvent("before-open", {
|
|
339
|
-
item,
|
|
340
|
-
});
|
|
341
|
-
item._popover.opener = item;
|
|
342
|
-
item._popover.open = true;
|
|
343
|
-
item.selected = true;
|
|
344
|
-
}
|
|
345
|
-
_closeItemSubMenu(item) {
|
|
346
|
-
if (item && item._popover) {
|
|
347
|
-
const openedSibling = item._menuItems.find(menuItem => menuItem._popover && menuItem._popover.open);
|
|
348
|
-
if (openedSibling) {
|
|
349
|
-
this._closeItemSubMenu(openedSibling);
|
|
350
|
-
}
|
|
351
|
-
item._popover.open = false;
|
|
352
|
-
item.selected = false;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
_itemMouseOver(e) {
|
|
356
|
-
if (Icons.f$2()) {
|
|
357
|
-
// respect mouseover only on desktop
|
|
358
|
-
const item = e.target;
|
|
359
|
-
if (this._isInstanceOfMenuItem(item)) {
|
|
360
|
-
item.focus();
|
|
361
|
-
// Opens submenu with 300ms delay
|
|
362
|
-
this._startOpenTimeout(item);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
async focus(focusOptions) {
|
|
367
|
-
await Icons.f$1();
|
|
368
|
-
const firstMenuItem = this._menuItems[0];
|
|
369
|
-
if (firstMenuItem) {
|
|
370
|
-
return firstMenuItem.focus(focusOptions);
|
|
371
|
-
}
|
|
372
|
-
return super.focus(focusOptions);
|
|
373
|
-
}
|
|
374
|
-
_startOpenTimeout(item) {
|
|
375
|
-
clearTimeout(this._timeout);
|
|
376
|
-
this._timeout = setTimeout(() => {
|
|
377
|
-
const opener = item.parentElement;
|
|
378
|
-
const openedSibling = opener && opener._menuItems.find(menuItem => menuItem._popover && menuItem._popover.open);
|
|
379
|
-
if (openedSibling) {
|
|
380
|
-
this._closeItemSubMenu(openedSibling);
|
|
381
|
-
}
|
|
382
|
-
this._openItemSubMenu(item);
|
|
383
|
-
}, MENU_OPEN_DELAY);
|
|
384
|
-
}
|
|
385
|
-
_itemClick(e) {
|
|
386
|
-
const item = e.detail.item;
|
|
387
|
-
if (!item._popover) {
|
|
388
|
-
const prevented = !this.fireDecoratorEvent("item-click", {
|
|
389
|
-
"item": item,
|
|
390
|
-
"text": item.text || "",
|
|
391
|
-
});
|
|
392
|
-
if (!prevented && this._popover) {
|
|
393
|
-
item.fireDecoratorEvent("close-menu");
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
else {
|
|
397
|
-
this._openItemSubMenu(item);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
_itemKeyDown(e) {
|
|
401
|
-
const isTabNextPrevious = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
|
|
402
|
-
const item = e.target;
|
|
403
|
-
const parentElement = item.parentElement;
|
|
404
|
-
const shouldItemNavigation = webcomponentsBase.D(e) || webcomponentsBase.P(e);
|
|
405
|
-
const shouldOpenMenu = this.isRtl ? webcomponentsBase.K(e) : webcomponentsBase.c(e);
|
|
406
|
-
const shouldCloseMenu = !shouldItemNavigation && !shouldOpenMenu && this._isInstanceOfMenuItem(parentElement);
|
|
407
|
-
if (this._isInstanceOfMenuItem(item)) {
|
|
408
|
-
if (webcomponentsBase.b$1(e) || isTabNextPrevious) {
|
|
409
|
-
e.preventDefault();
|
|
410
|
-
}
|
|
411
|
-
if (webcomponentsBase.c(e) || webcomponentsBase.K(e)) {
|
|
412
|
-
item._navigateToEndContent(webcomponentsBase.K(e));
|
|
413
|
-
}
|
|
414
|
-
if (shouldOpenMenu) {
|
|
415
|
-
this._openItemSubMenu(item);
|
|
416
|
-
}
|
|
417
|
-
else if ((shouldCloseMenu || isTabNextPrevious) && parentElement._popover) {
|
|
418
|
-
parentElement._popover.open = false;
|
|
419
|
-
parentElement.selected = false;
|
|
420
|
-
parentElement._popover.focusOpener();
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
else if (webcomponentsBase.D(e)) {
|
|
424
|
-
this._navigateOutOfEndContent(parentElement);
|
|
425
|
-
}
|
|
426
|
-
else if (webcomponentsBase.P(e)) {
|
|
427
|
-
this._navigateOutOfEndContent(parentElement, true);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
_navigateOutOfEndContent(menuItem, isDownwards) {
|
|
431
|
-
const opener = menuItem?.parentElement;
|
|
432
|
-
const currentIndex = opener._menuItems.indexOf(menuItem);
|
|
433
|
-
const nextItem = isDownwards ? opener._menuItems[currentIndex + 1] : opener._menuItems[currentIndex - 1];
|
|
434
|
-
const itemToFocus = nextItem || opener._menuItems[currentIndex];
|
|
435
|
-
itemToFocus.focus();
|
|
436
|
-
}
|
|
437
|
-
_beforePopoverOpen(e) {
|
|
438
|
-
const prevented = !this.fireDecoratorEvent("before-open", {});
|
|
439
|
-
if (prevented) {
|
|
440
|
-
this.open = false;
|
|
441
|
-
e.preventDefault();
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
_afterPopoverOpen() {
|
|
445
|
-
this._menuItems[0]?.focus();
|
|
446
|
-
this.fireDecoratorEvent("open");
|
|
447
|
-
}
|
|
448
|
-
_beforePopoverClose(e) {
|
|
449
|
-
const prevented = !this.fireDecoratorEvent("before-close", { escPressed: e.detail.escPressed });
|
|
450
|
-
if (prevented) {
|
|
451
|
-
this.open = true;
|
|
452
|
-
e.preventDefault();
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
_afterPopoverClose() {
|
|
456
|
-
this.open = false;
|
|
457
|
-
this.fireDecoratorEvent("close");
|
|
458
|
-
}
|
|
459
|
-
_isInstanceOfMenuItem(object) {
|
|
460
|
-
return "isMenuItem" in object;
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
|
-
__decorate$1([
|
|
464
|
-
webcomponentsBase.s()
|
|
465
|
-
], Menu.prototype, "headerText", void 0);
|
|
466
|
-
__decorate$1([
|
|
467
|
-
webcomponentsBase.s({ type: Boolean })
|
|
468
|
-
], Menu.prototype, "open", void 0);
|
|
469
|
-
__decorate$1([
|
|
470
|
-
webcomponentsBase.s({ type: Boolean })
|
|
471
|
-
], Menu.prototype, "loading", void 0);
|
|
472
|
-
__decorate$1([
|
|
473
|
-
webcomponentsBase.s({ type: Number })
|
|
474
|
-
], Menu.prototype, "loadingDelay", void 0);
|
|
475
|
-
__decorate$1([
|
|
476
|
-
webcomponentsBase.s({ converter: parametersBundle_css.e })
|
|
477
|
-
], Menu.prototype, "opener", void 0);
|
|
478
|
-
__decorate$1([
|
|
479
|
-
webcomponentsBase.d({ "default": true, type: HTMLElement, invalidateOnChildChange: true })
|
|
480
|
-
], Menu.prototype, "items", void 0);
|
|
481
|
-
__decorate$1([
|
|
482
|
-
parametersBundle_css.i("@ui5/webcomponents")
|
|
483
|
-
], Menu, "i18nBundle", void 0);
|
|
484
|
-
Menu = Menu_1 = __decorate$1([
|
|
485
|
-
webcomponentsBase.m({
|
|
486
|
-
tag: "ui5-menu",
|
|
487
|
-
renderer: parametersBundle_css.d,
|
|
488
|
-
styles: menuCss,
|
|
489
|
-
template: MenuTemplate,
|
|
490
|
-
})
|
|
491
|
-
/**
|
|
492
|
-
* Fired when an item is being clicked.
|
|
493
|
-
*
|
|
494
|
-
* **Note:** Since 1.17.0 the event is preventable, allowing the menu to remain open after an item is pressed.
|
|
495
|
-
* @param { HTMLElement } item The currently clicked menu item.
|
|
496
|
-
* @param { string } text The text of the currently clicked menu item.
|
|
497
|
-
* @public
|
|
498
|
-
*/
|
|
499
|
-
,
|
|
500
|
-
eventStrict.l("item-click", {
|
|
501
|
-
cancelable: true,
|
|
502
|
-
})
|
|
503
|
-
/**
|
|
504
|
-
* Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.
|
|
505
|
-
*
|
|
506
|
-
* **Note:** Since 1.14.0 the event is also fired before a sub-menu opens.
|
|
507
|
-
* @public
|
|
508
|
-
* @since 1.10.0
|
|
509
|
-
* @param { HTMLElement } item The `ui5-menu-item` that triggers opening of the sub-menu or undefined when fired upon root menu opening.
|
|
510
|
-
*/
|
|
511
|
-
,
|
|
512
|
-
eventStrict.l("before-open", {
|
|
513
|
-
bubbles: true,
|
|
514
|
-
cancelable: true,
|
|
515
|
-
})
|
|
516
|
-
/**
|
|
517
|
-
* Fired after the menu is opened.
|
|
518
|
-
* @public
|
|
519
|
-
* @since 1.10.0
|
|
520
|
-
*/
|
|
521
|
-
,
|
|
522
|
-
eventStrict.l("open", {
|
|
523
|
-
bubbles: true,
|
|
524
|
-
})
|
|
525
|
-
/**
|
|
526
|
-
* Fired when the menu is being closed.
|
|
527
|
-
* @private
|
|
528
|
-
*/
|
|
529
|
-
,
|
|
530
|
-
eventStrict.l("close-menu", {
|
|
531
|
-
bubbles: true,
|
|
532
|
-
})
|
|
533
|
-
/**
|
|
534
|
-
* Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.
|
|
535
|
-
* @public
|
|
536
|
-
* @param {boolean} escPressed Indicates that `ESC` key has triggered the event.
|
|
537
|
-
* @since 1.10.0
|
|
538
|
-
*/
|
|
539
|
-
,
|
|
540
|
-
eventStrict.l("before-close", {
|
|
541
|
-
bubbles: true,
|
|
542
|
-
cancelable: true,
|
|
543
|
-
})
|
|
544
|
-
/**
|
|
545
|
-
* Fired after the menu is closed.
|
|
546
|
-
* @public
|
|
547
|
-
* @since 1.10.0
|
|
548
|
-
*/
|
|
549
|
-
,
|
|
550
|
-
eventStrict.l("close")
|
|
551
|
-
], Menu);
|
|
552
|
-
Menu.define();
|
|
553
|
-
var Menu$1 = Menu;
|
|
554
|
-
|
|
555
|
-
const name$b = "search";
|
|
556
|
-
const pathData$b = "M470 426q10 9 10 22.5T470 471q-9 9-22 9t-23-9L308 353q-45 31-100 31-36 0-68-13.5T84 333t-38-56-14-69q0-36 14-68t38-56 56-38 68-14 68 14 56 38 38 56 14 68q0 28-8.5 53T353 308zm-262-74q30 0 56-11t45.5-30.5 31-46T352 208t-11.5-56-31-45.5-45.5-31T208 64t-56.5 11.5-46 31T75 152t-11 56 11 56.5 30.5 46 46 30.5 56.5 11z";
|
|
557
|
-
const ltr$b = true;
|
|
558
|
-
const accData$3 = parametersBundle_css.ICON_SEARCH;
|
|
559
|
-
const collection$b = "SAP-icons-v4";
|
|
560
|
-
const packageName$b = "@ui5/webcomponents-icons";
|
|
561
|
-
|
|
562
|
-
Icons.f(name$b, { pathData: pathData$b, ltr: ltr$b, accData: accData$3, collection: collection$b, packageName: packageName$b });
|
|
563
|
-
|
|
564
|
-
const name$a = "search";
|
|
565
|
-
const pathData$a = "M473 436q7 7 7 18t-7.5 18.5T454 480q-10 0-18-8l-95-95q-51 39-117 39-40 0-75-15t-61-41-41-61-15-75 15-75 41-61 61-41 75-15 75 15 61 41 41 61 15 75q0 64-39 117zM83 224q0 30 11 55.5t30 44.5 44.5 30 55.5 11 55.5-11 44.5-30 30-44.5 11-55.5-11-55.5-30-44.5-44.5-30T224 83t-55.5 11-44.5 30-30 44.5T83 224z";
|
|
566
|
-
const ltr$a = true;
|
|
567
|
-
const accData$2 = parametersBundle_css.ICON_SEARCH;
|
|
568
|
-
const collection$a = "SAP-icons-v5";
|
|
569
|
-
const packageName$a = "@ui5/webcomponents-icons";
|
|
570
|
-
|
|
571
|
-
Icons.f(name$a, { pathData: pathData$a, ltr: ltr$a, accData: accData$2, collection: collection$a, packageName: packageName$a });
|
|
572
|
-
|
|
573
|
-
var search = "search";
|
|
574
|
-
|
|
575
|
-
const name$9 = "da";
|
|
576
|
-
const pathData$9 = "M36 163l220 305 221-306-89-130H137zm220 349q-8 0-13-7L3 172q-3-5-3-10t3-9L117 6q5-6 12-6h267q9 0 13 7l100 146q3 4 3 9t-3 10L269 505q-5 7-13 7zm120-326q-26 9-39.5 22.5T315 248q-3 8-11 8t-11-8q-8-26-21.5-39.5T232 186q-8-2-8-10t8-11q26-9 39.5-22.5T293 103q3-7 11-7t11 7q8 26 21.5 39.5T376 165q8 3 8 11 0 3-1.5 6t-6.5 4z";
|
|
251
|
+
const name$9 = "search";
|
|
252
|
+
const pathData$9 = "M470 426q10 9 10 22.5T470 471q-9 9-22 9t-23-9L308 353q-45 31-100 31-36 0-68-13.5T84 333t-38-56-14-69q0-36 14-68t38-56 56-38 68-14 68 14 56 38 38 56 14 68q0 28-8.5 53T353 308zm-262-74q30 0 56-11t45.5-30.5 31-46T352 208t-11.5-56-31-45.5-45.5-31T208 64t-56.5 11.5-46 31T75 152t-11 56 11 56.5 30.5 46 46 30.5 56.5 11z";
|
|
577
253
|
const ltr$9 = true;
|
|
254
|
+
const accData$1 = information.ICON_SEARCH;
|
|
578
255
|
const collection$9 = "SAP-icons-v4";
|
|
579
256
|
const packageName$9 = "@ui5/webcomponents-icons";
|
|
580
257
|
|
|
581
|
-
Icons.f(name$9, { pathData: pathData$9, ltr: ltr$9, collection: collection$9, packageName: packageName$9 });
|
|
258
|
+
Icons.f(name$9, { pathData: pathData$9, ltr: ltr$9, accData: accData$1, collection: collection$9, packageName: packageName$9 });
|
|
582
259
|
|
|
583
|
-
const name$8 = "
|
|
584
|
-
const pathData$8 = "
|
|
260
|
+
const name$8 = "search";
|
|
261
|
+
const pathData$8 = "M473 436q7 7 7 18t-7.5 18.5T454 480q-10 0-18-8l-95-95q-51 39-117 39-40 0-75-15t-61-41-41-61-15-75 15-75 41-61 61-41 75-15 75 15 61 41 41 61 15 75q0 64-39 117zM83 224q0 30 11 55.5t30 44.5 44.5 30 55.5 11 55.5-11 44.5-30 30-44.5 11-55.5-11-55.5-30-44.5-44.5-30T224 83t-55.5 11-44.5 30-30 44.5T83 224z";
|
|
585
262
|
const ltr$8 = true;
|
|
263
|
+
const accData = information.ICON_SEARCH;
|
|
586
264
|
const collection$8 = "SAP-icons-v5";
|
|
587
265
|
const packageName$8 = "@ui5/webcomponents-icons";
|
|
588
266
|
|
|
589
|
-
Icons.f(name$8, { pathData: pathData$8, ltr: ltr$8, collection: collection$8, packageName: packageName$8 });
|
|
267
|
+
Icons.f(name$8, { pathData: pathData$8, ltr: ltr$8, accData, collection: collection$8, packageName: packageName$8 });
|
|
590
268
|
|
|
591
|
-
var
|
|
269
|
+
var search = "search";
|
|
592
270
|
|
|
593
|
-
const name$7 = "
|
|
594
|
-
const pathData$7 = "
|
|
595
|
-
const ltr$7 =
|
|
271
|
+
const name$7 = "da";
|
|
272
|
+
const pathData$7 = "M36 163l220 305 221-306-89-130H137zm220 349q-8 0-13-7L3 172q-3-5-3-10t3-9L117 6q5-6 12-6h267q9 0 13 7l100 146q3 4 3 9t-3 10L269 505q-5 7-13 7zm120-326q-26 9-39.5 22.5T315 248q-3 8-11 8t-11-8q-8-26-21.5-39.5T232 186q-8-2-8-10t8-11q26-9 39.5-22.5T293 103q3-7 11-7t11 7q8 26 21.5 39.5T376 165q8 3 8 11 0 3-1.5 6t-6.5 4z";
|
|
273
|
+
const ltr$7 = true;
|
|
596
274
|
const collection$7 = "SAP-icons-v4";
|
|
597
275
|
const packageName$7 = "@ui5/webcomponents-icons";
|
|
598
276
|
|
|
599
277
|
Icons.f(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
|
|
600
278
|
|
|
601
|
-
const name$6 = "
|
|
602
|
-
const pathData$6 = "
|
|
603
|
-
const ltr$6 =
|
|
279
|
+
const name$6 = "da";
|
|
280
|
+
const pathData$6 = "M256.499 511.002q-12.975 0-20.959-10.979L5.988 180.647q-11.976-14.97 0-29.941L114.776 9.98Q122.76 0 134.736 0h255.502q14.97 0 20.959 10.979l95.813 140.725q9.98 14.97 0 28.943L277.458 500.023q-7.984 10.979-20.959 10.979zM57.887 166.674l198.612 275.462 198.612-276.46-77.848-114.775H147.712zm318.378 19.961q-25.95 7.985-39.423 21.459t-22.456 39.423q-1.996 7.984-9.98 7.984t-10.98-7.984q-8.982-25.95-22.455-39.423t-39.423-21.459q-7.985-2.994-7.985-10.978t7.985-10.979q25.95-7.984 39.423-21.957t22.456-39.922q2.994-7.984 10.978-7.984t9.981 7.984q8.982 25.95 22.456 39.922t39.423 21.957q7.985 2.995 7.985 10.979t-7.985 10.978z";
|
|
281
|
+
const ltr$6 = true;
|
|
604
282
|
const collection$6 = "SAP-icons-v5";
|
|
605
283
|
const packageName$6 = "@ui5/webcomponents-icons";
|
|
606
284
|
|
|
607
285
|
Icons.f(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
|
|
608
286
|
|
|
609
|
-
var
|
|
287
|
+
var da = "da";
|
|
610
288
|
|
|
611
|
-
const name$5 = "
|
|
612
|
-
const pathData$5 = "
|
|
289
|
+
const name$5 = "bell";
|
|
290
|
+
const pathData$5 = "M32 416q0-7 15-21t31-40.5 25.5-67.5-1.5-101q-5-29 3-54.5t25-45 42-33T225 35q0-15 7-25t24-10q14 0 22.5 9t8.5 26q26 5 50 18t41 33 24.5 45.5T404 186q-12 60-1.5 101t27.5 67.5 33.5 40.5 16.5 21q0 14-9 23t-23 9H320q0 26-19 45t-45 19-45-19-19-45H64q-14 0-23-9t-9-23zm39 0h369q-10-11-25.5-30.5t-28-48.5-18-68 4.5-89q5-25-2.5-44T354 106q-19-23-42-32.5T256 64q-32 0-57.5 9.5T154 106q-10 11-18 30t-3 44q9 50 4 89t-16 68-25.5 48.5T71 416z";
|
|
613
291
|
const ltr$5 = false;
|
|
614
|
-
const accData$1 = parametersBundle_css.ICON_OVERFLOW;
|
|
615
292
|
const collection$5 = "SAP-icons-v4";
|
|
616
293
|
const packageName$5 = "@ui5/webcomponents-icons";
|
|
617
294
|
|
|
618
|
-
Icons.f(name$5, { pathData: pathData$5, ltr: ltr$5,
|
|
295
|
+
Icons.f(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
|
|
619
296
|
|
|
620
|
-
const name$4 = "
|
|
621
|
-
const pathData$4 = "
|
|
297
|
+
const name$4 = "bell";
|
|
298
|
+
const pathData$4 = "M475 374q5 7 5 16 0 11-7 18.5t-18 7.5H334q-5 27-27 45.5T256 480t-51-18.5-27-45.5H58q-11 0-18.5-7.5T32 390q0-10 6-16 1-1 8-9.5T61 341t14.5-35.5T82 260v-20q0-100 45-154t129-54 129.5 54T431 240v20q0 25 6.5 45.5T452 341t15 23.5 8 9.5zm-69-9q-11-20-19-46.5t-8-58.5v-20q0-32-5.5-60t-20-50-38-34.5T256 83t-59.5 12.5-38 34.5-20 50-5.5 60v20q0 32-8 58.5T106 365h300z";
|
|
622
299
|
const ltr$4 = false;
|
|
623
|
-
const accData = parametersBundle_css.ICON_OVERFLOW;
|
|
624
300
|
const collection$4 = "SAP-icons-v5";
|
|
625
301
|
const packageName$4 = "@ui5/webcomponents-icons";
|
|
626
302
|
|
|
627
|
-
Icons.f(name$4, { pathData: pathData$4, ltr: ltr$4,
|
|
303
|
+
Icons.f(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
|
|
628
304
|
|
|
629
|
-
var
|
|
305
|
+
var bell = "bell";
|
|
630
306
|
|
|
631
307
|
const name$3 = "grid";
|
|
632
308
|
const pathData$3 = "M394 362h55q14 0 22.5 9t8.5 23v54q0 14-8.5 23t-22.5 9h-55q-14 0-22.5-9t-8.5-23v-54q0-14 8.5-23t22.5-9zM228 197h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5h-55q-13 0-22-9.5t-9-22.5v-54q0-14 8.5-23t22.5-9zm135-79V64q0-14 8.5-23t22.5-9h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5h-55q-13 0-22-9.5t-9-22.5zm31 79h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5h-55q-13 0-22-9.5t-9-22.5v-54q0-14 8.5-23t22.5-9zM63 32h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5H63q-13 0-22-9.5T32 118V64q0-14 8.5-23T63 32zM32 229q0-14 8.5-23t22.5-9h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5H63q-13 0-22-9.5T32 283v-54zm31 133h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5H63q-13 0-22-9.5T32 448v-54q0-14 8.5-23t22.5-9zM228 32h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5h-55q-13 0-22-9.5t-9-22.5V64q0-14 8.5-23t22.5-9zm-31 362q0-14 8.5-23t22.5-9h55q14 0 22.5 9t8.5 23v54q0 13-9 22.5t-22 9.5h-55q-13 0-22-9.5t-9-22.5v-54z";
|
|
@@ -649,7 +325,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
649
325
|
function n(e,o){let t=null,l=null;return function(...u){if(l){t=u;return}e(...u),l=setTimeout(()=>{t&&(e(...t),t=null),l=null;},o);}}
|
|
650
326
|
|
|
651
327
|
function PopoversTemplate() {
|
|
652
|
-
return (
|
|
328
|
+
return (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [i18nDefaults.jsx(ListItemTemplate.Popover, { class: "ui5-shellbar-menu-popover", hideArrow: true, placement: "Bottom", preventInitialFocus: true, onBeforeOpen: this._menuPopoverBeforeOpen, onClose: this._menuPopoverAfterClose, children: i18nDefaults.jsx(List.List, { separators: "None", selectionMode: "Single", onItemClick: this._menuItemPress, children: i18nDefaults.jsx("slot", { name: "menuItems" }) }) }), i18nDefaults.jsx(ListItemTemplate.Popover, { class: "ui5-shellbar-overflow-popover", placement: "Bottom", preventInitialFocus: true, horizontalAlign: this.popoverHorizontalAlign, hideArrow: true, onBeforeOpen: this._overflowPopoverBeforeOpen, onClose: this._overflowPopoverAfterClose, children: i18nDefaults.jsx(List.List, { separators: "None", onItemClick: this._handleActionListClick, children: this._hiddenIcons.map((icon, index) => (i18nDefaults.jsx(ListItemStandard$1, { "data-count": icon.count, "data-ui5-external-action-item-id": icon.refItemid, icon: icon.icon ? icon.icon : "", type: "Active", "onui5-_press": icon.press, tooltip: icon.tooltip, accessibilityAttributes: this.accInfo.search.accessibilityAttributes, children: icon.text }, index))) }) })] }));
|
|
653
329
|
}
|
|
654
330
|
|
|
655
331
|
const name$1 = "slim-arrow-down";
|
|
@@ -671,66 +347,66 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
671
347
|
var slimArrowDown = "slim-arrow-down";
|
|
672
348
|
|
|
673
349
|
function ShellBarTemplate() {
|
|
674
|
-
return (
|
|
350
|
+
return (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [i18nDefaults.jsxs("header", { class: this.classes.wrapper, "aria-label": this._shellbarText, onKeyDown: this._onKeyDown, part: "root", children: [i18nDefaults.jsxs("div", { class: "ui5-shellbar-overflow-container ui5-shellbar-overflow-container-left", children: [this.startButton.length > 0 && i18nDefaults.jsx("slot", { name: "startButton" }), this.hasMenuItems && (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [!this.showLogoInMenuButton && this.hasLogo && singleLogo.call(this), this.showTitleInMenuButton && i18nDefaults.jsx("h1", { class: "ui5-hidden-text", children: this.primaryTitle }), this.showMenuButton && (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [i18nDefaults.jsxs("button", { class: {
|
|
675
351
|
"ui5-shellbar-menu-button": true,
|
|
676
352
|
...this.classes.button,
|
|
677
|
-
}, onClick: this._headerPress, "aria-haspopup": "menu", "aria-expanded": this._menuPopoverExpanded, "data-ui5-stable": "menu", tabIndex: 0, children: [this.showLogoInMenuButton && (
|
|
353
|
+
}, onClick: this._headerPress, "aria-haspopup": "menu", "aria-expanded": this._menuPopoverExpanded, "aria-label": this._brandingText, "data-ui5-stable": "menu", tabIndex: 0, children: [this.showLogoInMenuButton && (i18nDefaults.jsx("span", { class: "ui5-shellbar-logo", "aria-label": this._logoText, title: this._logoText, children: i18nDefaults.jsx("slot", { name: "logo" }) })), this.showTitleInMenuButton && (i18nDefaults.jsx("div", { class: "ui5-shellbar-menu-button-title", children: this.primaryTitle })), i18nDefaults.jsx(Icon.Icon, { class: "ui5-shellbar-menu-button-arrow", name: slimArrowDown })] }), this.secondaryTitle && !this.isSBreakPoint && (i18nDefaults.jsx("div", { style: { display: "block" }, class: "ui5-shellbar-secondary-title", "data-ui5-stable": "secondary-title", children: this.secondaryTitle }))] }))] })), !this.hasMenuItems && (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [this.isSBreakPoint && this.hasLogo && singleLogo.call(this), !this.isSBreakPoint && (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [combinedLogo.call(this), this.secondaryTitle && this.primaryTitle && (i18nDefaults.jsx("h2", { class: "ui5-shellbar-secondary-title", "data-ui5-stable": "secondary-title", children: this.secondaryTitle }))] }))] }))] }), this.hasMidContent && (i18nDefaults.jsx("div", { class: "ui5-shellbar-overflow-container ui5-shellbar-mid-content", children: i18nDefaults.jsx("slot", { name: "midContent" }) })), i18nDefaults.jsx("div", { class: "ui5-shellbar-overflow-container ui5-shellbar-overflow-container-right", children: i18nDefaults.jsxs("div", { class: "ui5-shellbar-overflow-container-right-inner", children: [this.hasContentItems && (i18nDefaults.jsxs("div", { class: "ui5-shellbar-content-items", role: this._contentItemsRole, "aria-label": this._contentItemsText, children: [this.showStartSeparator && (i18nDefaults.jsx("div", { class: {
|
|
678
354
|
"ui5-shellbar-separator": true,
|
|
679
355
|
"ui5-shellbar-separator-start": true,
|
|
680
356
|
} })), this.startContent.map(item => {
|
|
681
357
|
const itemInfo = this._contentInfo.find(info => info.id === item._individualSlot);
|
|
682
|
-
return (
|
|
358
|
+
return (i18nDefaults.jsxs("div", { id: item._individualSlot, class: itemInfo?.classes, children: [this.shouldIncludeSeparator(itemInfo, this.startContentInfoSorted) && (
|
|
683
359
|
// never displayed, only "packed" with last item that was hidden, used for measurement purposes
|
|
684
|
-
|
|
360
|
+
i18nDefaults.jsx("div", { class: {
|
|
685
361
|
"ui5-shellbar-separator": true,
|
|
686
362
|
"ui5-shellbar-separator-start": true,
|
|
687
|
-
} })),
|
|
688
|
-
}),
|
|
363
|
+
} })), i18nDefaults.jsx("slot", { name: item._individualSlot })] }, item._individualSlot));
|
|
364
|
+
}), i18nDefaults.jsx("div", { class: "ui5-shellbar-spacer" }), this.endContent.map(item => {
|
|
689
365
|
const itemInfo = this._contentInfo.find(info => info.id === item._individualSlot);
|
|
690
|
-
return (
|
|
366
|
+
return (i18nDefaults.jsxs("div", { id: item._individualSlot, class: itemInfo?.classes, children: [i18nDefaults.jsx("slot", { name: item._individualSlot }), this.shouldIncludeSeparator(itemInfo, this.endContentInfoSorted) && (
|
|
691
367
|
// never displayed, only "packed" with last item that was hidden, used for measurement purposes
|
|
692
|
-
|
|
368
|
+
i18nDefaults.jsx("div", { class: {
|
|
693
369
|
"ui5-shellbar-separator": true,
|
|
694
370
|
"ui5-shellbar-separator-end": true,
|
|
695
371
|
} }))] }, item._individualSlot));
|
|
696
|
-
}), this.showEndSeparator && (
|
|
372
|
+
}), this.showEndSeparator && (i18nDefaults.jsx("div", { class: {
|
|
697
373
|
"ui5-shellbar-separator": true,
|
|
698
374
|
"ui5-shellbar-separator-end": true,
|
|
699
|
-
} }))] })), !this.hasContentItems &&
|
|
375
|
+
} }))] })), !this.hasContentItems && i18nDefaults.jsx("div", { class: "ui5-shellbar-spacer" }), i18nDefaults.jsxs("div", { class: "ui5-shellbar-overflow-container-right-child", role: this._rightChildRole, children: [this.hasSearchField && (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [this.showFullWidthSearch && (i18nDefaults.jsxs("div", { class: "ui5-shellbar-search-full-width-wrapper", style: this.styles.searchField, children: [i18nDefaults.jsx("div", { class: "ui5-shellbar-search-full-field", children: i18nDefaults.jsx("slot", { name: "searchField" }) }), i18nDefaults.jsx(Button.Button, { onClick: this._handleCancelButtonPress, class: "ui5-shellbar-button ui5-shellbar-cancel-button", "data-ui5-stable": "cancel-search", children: this._cancelBtnText })] })), i18nDefaults.jsx("div", { id: this.hasSelfCollapsibleSearch ? `${this._id}-item-1` : undefined, class: this.classes.searchField, style: this.styles.searchField, children: i18nDefaults.jsx("slot", { name: "searchField" }) }), !(this.hasSelfCollapsibleSearch || this.hideSearchButton) && (i18nDefaults.jsx(Button.Button, { id: `${this._id}-item-1`, class: {
|
|
700
376
|
"ui5-shellbar-button": true,
|
|
701
377
|
"ui5-shellbar-search-button": true,
|
|
702
378
|
"ui5-shellbar-search-item-for-arrow-nav": true,
|
|
703
379
|
...this.classes.search,
|
|
704
|
-
}, icon: "sap-icon://search", "data-ui5-text": "Search", "data-ui5-notifications-count": this.notificationsCount, "data-ui5-stable": "toggle-search", onClick: this._handleSearchIconPress, tooltip: this._searchBtnOpen, "aria-label": this._searchBtnOpen, "aria-expanded": this.showSearchField, accessibilityAttributes: this.accInfo.search.accessibilityAttributes })] })), this.hasAssistant && (
|
|
380
|
+
}, icon: "sap-icon://search", "data-ui5-text": "Search", "data-ui5-notifications-count": this.notificationsCount, "data-ui5-stable": "toggle-search", onClick: this._handleSearchIconPress, tooltip: this._searchBtnOpen, "aria-label": this._searchBtnOpen, "aria-expanded": this.showSearchField, accessibilityAttributes: this.accInfo.search.accessibilityAttributes }))] })), this.hasAssistant && (i18nDefaults.jsx("div", { id: `${this._id}-assistant`, class: this.classes.assistant, children: i18nDefaults.jsx("slot", { name: "assistant" }) })), this.showNotifications && (i18nDefaults.jsx(Button.Button, { id: `${this._id}-item-2`, class: {
|
|
705
381
|
"ui5-shellbar-button": true,
|
|
706
382
|
"ui5-shellbar-bell-button": true,
|
|
707
383
|
"ui5-shellbar-items-for-arrow-nav": true,
|
|
708
384
|
...this.classes.notification,
|
|
709
|
-
}, icon: "sap-icon://bell", "data-ui5-text": "Notifications", "data-ui5-notifications-count": this.notificationsCount, onClick: this._handleNotificationsPress, tooltip: this._notificationsText, accessibilityAttributes: this.accInfo.notifications.accessibilityAttributes, "data-ui5-stable": "notifications" })), this.customItemsInfo.map(item => (
|
|
385
|
+
}, icon: "sap-icon://bell", "data-ui5-text": "Notifications", "data-ui5-notifications-count": this.notificationsCount, onClick: this._handleNotificationsPress, tooltip: this._notificationsText, accessibilityAttributes: this.accInfo.notifications.accessibilityAttributes, "data-ui5-stable": "notifications" })), this.customItemsInfo.map(item => (i18nDefaults.jsx(Button.Button, { id: item.id, class: `${item.classes} ui5-shellbar-items-for-arrow-nav`, icon: item.icon, tooltip: item.tooltip, "data-count": item.count, "data-ui5-notifications-count": this.notificationsCount, "data-ui5-external-action-item-id": item.refItemid, "data-ui5-stable": item.stableDomRef, onClick: item.press, accessibilityAttributes: item.accessibilityAttributes, accessibleName: item.accessibleName }, item.id)))] })] }) }), i18nDefaults.jsx(Button.Button, { id: `${this._id}-item-5`, class: {
|
|
710
386
|
"ui5-shellbar-button": true,
|
|
711
387
|
"ui5-shellbar-overflow-button": true,
|
|
712
388
|
"ui5-shellbar-items-for-arrow-nav": true,
|
|
713
389
|
...this.classes.overflow,
|
|
714
|
-
}, icon: "sap-icon://overflow", "data-count": this._overflowNotifications, onClick: this._handleOverflowPress, tooltip: this._overflowText, accessibilityAttributes: this.accInfo.overflow.accessibilityAttributes, "data-ui5-stable": "overflow" }), this.hasProfile && profileButton.call(this), this.showProductSwitch && (
|
|
390
|
+
}, icon: "sap-icon://overflow", "data-count": this._overflowNotifications, onClick: this._handleOverflowPress, tooltip: this._overflowText, accessibilityAttributes: this.accInfo.overflow.accessibilityAttributes, "data-ui5-stable": "overflow" }), this.hasProfile && profileButton.call(this), this.showProductSwitch && (i18nDefaults.jsx(Button.Button, { id: `${this._id}-item-4`, class: "ui5-shellbar-no-overflow-button ui5-shellbar-button ui5-shellbar-button-product-switch ui5-shellbar-items-for-arrow-nav", icon: "sap-icon://grid", "data-ui5-text": "Product Switch", onClick: this._handleProductSwitchPress, tooltip: this._productsText, "aria-label": this._productSwitchBtnText, "aria-haspopup": "dialog", "aria-expanded": this.accInfo.products.accessibilityAttributes.expanded, accessibilityAttributes: this.accInfo.products.accessibilityAttributes, "data-ui5-stable": "product-switch" }))] }), PopoversTemplate.call(this)] }));
|
|
715
391
|
}
|
|
716
392
|
function profileButton() {
|
|
717
|
-
return (
|
|
393
|
+
return (i18nDefaults.jsx(Button.Button, { "data-profile-btn": true, id: `${this._id}-item-3`, onClick: this._handleProfilePress, tooltip: this._profileText, class: "ui5-shellbar-button ui5-shellbar-image-button ui5-shellbar-no-overflow-button ui5-shellbar-items-for-arrow-nav", "aria-label": this.imageBtnText, "aria-haspopup": "dialog", accessibilityAttributes: this.accInfo.profile.accessibilityAttributes, "data-ui5-stable": "profile", children: i18nDefaults.jsx("slot", { name: "profile" }) }));
|
|
718
394
|
}
|
|
719
395
|
function singleLogo() {
|
|
720
|
-
return (
|
|
396
|
+
return (i18nDefaults.jsx("span", { role: this.accLogoRole, class: "ui5-shellbar-logo", "aria-label": this._logoText, title: this._logoText, onClick: this._logoPress, onKeyDown: this._logoKeydown, onKeyUp: this._logoKeyup, tabIndex: 0, "data-ui5-stable": "logo", children: i18nDefaults.jsx("slot", { name: "logo" }) }));
|
|
721
397
|
}
|
|
722
398
|
function combinedLogo() {
|
|
723
|
-
return (
|
|
399
|
+
return (i18nDefaults.jsxs("div", { role: this.accLogoRole, class: "ui5-shellbar-logo-area", onClick: this._logoPress, tabIndex: 0, onKeyDown: this._logoKeydown, onKeyUp: this._logoKeyup, "aria-label": this.accessibilityAttributes.branding?.name || this._logoAreaText, children: [this.hasLogo && (i18nDefaults.jsx("span", { class: "ui5-shellbar-logo", title: this._logoText, onClick: this._logoPress, onKeyDown: this._logoKeydown, onKeyUp: this._logoKeyup, "data-ui5-stable": "logo", children: i18nDefaults.jsx("slot", { name: "logo" }) })), i18nDefaults.jsx("div", { class: "ui5-shellbar-headings", children: this.primaryTitle && (i18nDefaults.jsx("h1", { class: "ui5-shellbar-title", children: i18nDefaults.jsx("bdi", { children: this.primaryTitle }) })) })] }));
|
|
724
400
|
}
|
|
725
401
|
|
|
726
|
-
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () =>
|
|
402
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
727
403
|
Icons.p("@ui5/webcomponents-fiori", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
728
|
-
var shellBarStyles = `.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;width:100%;max-width:100%;background:var(--sapShellColor);box-sizing:border-box}:host{--_ui5-v2-9-0_input_placeholder_color: var(--sapShell_InteractiveTextColor);--_ui5-v2-9-0_input_border_radius: var(--_ui5-v2-9-0_shellbar_input_border_radius);--_ui5-v2-9-0_input_focus_border_radius: var(--_ui5-v2-9-0_shellbar_input_focus_border_radius);--_ui5-v2-9-0_input_background_color: var(--_ui5-v2-9-0_shellbar_input_background_color);--_ui5-v2-9-0_input_focus_outline_color: var(--_ui5-v2-9-0_shellbar_input_focus_outline_color);--_ui5-v2-9-0_input_margin_top_bottom: 0;box-shadow:inset 0 -.0625rem 0 0 var(--sapPageHeader_BorderColor)}.ui5-shellbar-root{position:relative;display:flex;justify-content:space-between;align-items:center;height:var(--_ui5-v2-9-0_shellbar_root_height);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;box-sizing:border-box}.ui5-shellbar-menu-button,.ui5-shellbar-button,.ui5-shellbar-image-button,::slotted([ui5-toggle-button]:not([slot^="content"])),::slotted([ui5-button]:not([slot^="content"])){height:2.25rem;padding:0;margin-inline-start:var(--_ui5-v2-9-0-shellbar-overflow-button-margin);border:.0625rem solid var(--sapButton_Lite_BorderColor);background:var(--sapButton_Lite_Background);outline-color:var(--_ui5-v2-9-0_shellbar_logo_outline_color);color:var(--sapShell_TextColor);box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-9-0_shellbar_button_border_radius);position:relative;font-weight:700;white-space:initial;overflow:initial;text-overflow:initial;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}::slotted([ui5-toggle-button][slot="assistant"]){margin-inline-start:0}.ui5-shellbar-assistant-button{margin-inline-start:var(--_ui5-v2-9-0-shellbar-overflow-button-margin)}::slotted([ui5-button][slot="startButton"]){margin-inline-start:0}::slotted([ui5-toggle-button]:hover),::slotted([ui5-button]:hover),.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover,.ui5-shellbar-button:hover,.ui5-shellbar-image-button:hover,::slotted([ui5-button][slot="midContent"]:hover){background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_TextColor)}::slotted([ui5-toggle-button][slot="assistant"][pressed]),::slotted([ui5-toggle-button][slot="assistant"][pressed]:hover:not([active])){color:var(--sapShell_Assistant_ForegroundColor)}::slotted([ui5-toggle-button][active]),::slotted([ui5-button][active]),.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active,.ui5-shellbar-button[active],.ui5-shellbar-image-button:active{background:var(--sapShell_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--_ui5-v2-9-0_shellbar_button_active_color)}:host([desktop]) .ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus-visible{outline:var(--_ui5-v2-9-0_shellbar_logo_outline);outline-offset:var(--_ui5-v2-9-0_shellbar_outline_offset)}slot[name=profile]{min-width:0}::slotted([ui5-avatar][slot="profile"]){display:block;width:2rem;height:2rem;min-width:0;min-height:2rem;pointer-events:none}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive::-moz-focus-inner{border:none}.ui5-shellbar-menu-button-arrow,.ui5-shellbar-menu-button-title,.ui5-shellbar-title{display:inline-block;font-family:var(--sapFontSemiboldFamily);margin:0;font-size:var(--_ui5-v2-9-0_shellbar_menu_button_title_font_size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sapShell_SubBrand_TextColor)}:host(:not([primary-title])) .ui5-shellbar-menu-button{min-width:2.25rem;justify-content:center}.ui5-shellbar-secondary-title{display:inline-block;font-size:var(--sapFontSmallSize);color:var(--sapShell_TextColor);font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0;text-align:start}.ui5-shellbar-headings{display:flex;flex-direction:column;justify-content:center;height:100%;overflow:hidden;margin-left:.25rem}.ui5-shellbar-menu-button--interactive .ui5-shellbar-menu-button-arrow{margin-inline-start:.375rem}.ui5-shellbar-overflow-container{display:flex;justify-content:center;align-items:center;height:100%;overflow:hidden}.ui5-shellbar-overflow-container-middle{align-self:flex-start;height:var(--_ui5-v2-9-0_shellbar_overflow_container_middle_height);width:0;flex-shrink:0}.ui5-shellbar-mid-content{height:var(--_ui5-v2-9-0_shellbar_overflow_container_middle_height)}:host([breakpoint-size="S"]) .ui5-shellbar-menu-button{margin-inline-start:0}:host([breakpoint-size="S"]){padding:0 1rem}:host([breakpoint-size="S"]) .ui5-shellbar-search-full-width-wrapper{padding:0 1rem}:host([breakpoint-size="M"]){padding:0 2rem}:host([breakpoint-size="M"]) .ui5-shellbar-search-full-width-wrapper{padding:0 2rem}:host([breakpoint-size="L"]){padding:0 2rem}:host([breakpoint-size="XL"]){padding:0 3rem}:host([breakpoint-size="XXL"]){padding:0 3rem}.ui5-shellbar-logo{overflow:hidden;cursor:pointer;max-height:2rem;max-width:3.75rem}.ui5-shellbar-logo-area{overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem .25rem .25rem;box-sizing:border-box;cursor:pointer;background:var(--sapButton_Lite_Background);border:1px solid var(--sapButton_Lite_BorderColor);color:var(--sapShell_TextColor);margin-inline-start:.125rem}.ui5-shellbar-logo:focus,.ui5-shellbar-logo-area:focus{outline:var(--_ui5-v2-9-0_shellbar_logo_outline);border-radius:var(--_ui5-v2-9-0_shellbar_logo_border_radius)}.ui5-shellbar-overflow-container>.ui5-shellbar-logo:hover,.ui5-shellbar-logo-area:hover{box-shadow:var(--_ui5-v2-9-0_shellbar_button_box_shadow);border-radius:var(--_ui5-v2-9-0_shellbar_logo_border_radius)}.ui5-shellbar-logo-area:active:focus{background:var(--sapShell_Active_Background);border:1px solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapShell_Active_TextColor)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover{box-shadow:var(--_ui5-v2-9-0_shellbar_button_box_shadow)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active{box-shadow:var(--_ui5-v2-9-0_shellbar_button_box_shadow_active)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-arrow,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-title{color:var(--sapShell_Active_TextColor)}.ui5-shellbar-menu-button .ui5-shellbar-logo:hover{box-shadow:none}.ui5-shellbar-button{width:2.5rem;box-sizing:border-box}.ui5-shellbar-button,::slotted([ui5-button][slot="startButton"]){--_ui5-v2-9-0_button_focused_border: var(--_ui5-v2-9-0_shellbar_button_focused_border)}.ui5-shellbar-search-button{--_ui5-v2-9-0_button_focused_border_radius: var(--_ui5-v2-9-0_shellbar_search_button_border_radius);--_ui5-v2-9-0_shellbar_button_border_radius: var(--_ui5-v2-9-0_shellbar_search_button_border_radius);height:var(--_ui5-v2-9-0_shellbar_search_button_size);width:var(--_ui5-v2-9-0_shellbar_search_button_size);min-width:var(--_ui5-v2-9-0_shellbar_search_button_size)}.ui5-shellbar-image-button{display:flex;justify-content:center;align-items:center;min-width:auto;height:2.5rem;--_ui5-v2-9-0_button_focused_border_radius: var(--_ui5-v2-9-0_shellbar_image_button_border_radius);border-radius:var(--_ui5-v2-9-0_shellbar_image_button_border_radius)}.ui5-shellbar-overflow-container-left{padding:0;justify-content:flex-start;max-width:75%;flex-shrink:0}.ui5-shellbar-overflow-container-left>:nth-child(n){margin-inline-end:.5rem}.ui5-shellbar-menu-button{white-space:nowrap;overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem;cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;background:var(--sapButton_Lite_Background);border:var(--_ui5-v2-9-0_shellbar_button_border);color:var(--sapShell_TextColor)}:host(:not([with-logo])) .ui5-shellbar-menu-button{margin-inline-start:0}.ui5-shellbar-overflow-container-right{flex-grow:1;justify-content:flex-end}.ui5-shellbar-overflow-container-right .ui5-shellbar-overflow-container-right-child{display:flex;justify-content:flex-end;height:inherit;align-items:center}.ui5-shellbar-overflow-container-right-inner{display:flex;justify-content:flex-end;align-items:center;flex-grow:1;min-width:max-content}.ui5-shellbar-spacer{flex-grow:1;height:1px;flex-basis:1rem;flex-shrink:1}.ui5-shellbar-separator{flex-grow:0;flex-shrink:0;height:1rem;width:1px;background-color:var(--sapToolbar_SeparatorColor)}.ui5-shellbar-separator-end{margin-inline-start:.5rem}.ui5-shellbar-overflow-container-right-child .ui5-shellbar-button[data-count]:has(+.ui5-shellbar-overflow-button):before{inset-inline-end:var(--_ui5-v2-9-0-shellbar-notification-btn-count-offset)}:host([breakpoint-size="S"]) .ui5-shellbar-overflow-container-right{padding-inline-start:0}::slotted([hidden]){visibility:hidden;order:-1;position:absolute}.ui5-shellbar-content-item{display:flex;align-items:center;flex-shrink:0;padding-inline-start:var(--_ui5-v2-9-0-shellbar-content-margin-start)}:host(:not([notifications-count])) .ui5-shellbar-bell-button{position:relative}:host([notifications-count]:not([notifications-count=""])) .ui5-shellbar-bell-button:before,.ui5-shellbar-button[data-count]:before{position:absolute;width:auto;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5-v2-9-0_shellbar_button_badge_border);color:var(--sapContent_BadgeTextColor);top:-.25rem;right:-.25rem;padding:0 .3125rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);font-family:"72override",var(--sapFontFamily);z-index:2;box-sizing:border-box}:host([notifications-count]:not([notifications-count=""])) .ui5-shellbar-bell-button:before{content:attr(data-ui5-notifications-count);inset-inline-end:var(--_ui5-v2-9-0-shellbar-notification-btn-count-offset)}.ui5-shellbar-button[data-count]:before{content:attr(data-count)}.ui5-shellbar-button[data-count=" "]:before{height:.75rem;min-width:.75rem}.ui5-shellbar-menu-button{margin-inline-start:.5rem}.ui5-shellbar-search-field{padding-inline-start:var(--_ui5-v2-9-0-shellbar-content-margin-start);min-width:var(--_ui5-v2-9-0_shellbar_search_field_width);align-items:center;flex-grow:1;margin-inline-start:.5rem}.ui5-shellbar-overflow-container-right-child>:first-child,.ui5-shellbar-search-field:first-child+.ui5-shellbar-button:not(.ui5-shellbar-search-button){margin-inline-start:0}.ui5-shellbar-search-full-width-wrapper .ui5-shellbar-search-full-field{height:2.25rem;width:100%}.ui5-shellbar-search-full-width-wrapper{position:absolute;top:0;left:0;background:var(--sapShellColor);height:100%;width:100%;z-index:100;display:flex;align-items:center;box-sizing:border-box}.ui5-shellbar-search-full-width-wrapper .ui5-shellbar-button{width:auto}::slotted([ui5-input]){background:var(--_ui5-v2-9-0_shellbar_search_field_background);border:var(--_ui5-v2-9-0_shellbar_search_field_border);box-shadow:var(--_ui5-v2-9-0_shellbar_search_field_box_shadow);color:var(--_ui5-v2-9-0_shellbar_search_field_color);height:2.25rem;width:100%;min-width:var(--_ui5-v2-9-0_shellbar_search_field_width)}:host([breakpoint-size="M"]) ::slotted([ui5-input]),:host([breakpoint-size="S"]) ::slotted([ui5-input]){min-width:1rem}:host([breakpoint-size="M"][show-search-field]) .ui5-shellbar-overflow-container-right-child{flex-grow:1}::slotted([ui5-input]:hover){background:var(--_ui5-v2-9-0_shellbar_search_field_background_hover);box-shadow:var(--_ui5-v2-9-0_shellbar_search_field_box_shadow_hover)}::slotted([ui5-input][focused]){outline:var(--_ui5-v2-9-0_shellbar_search_field_outline_focused)}::slotted([slot="logo"]){max-height:2rem;max-width:3.75rem;pointer-events:none}.ui5-shellbar-co-pilot-placeholder{width:2.75rem;height:2.75rem}.ui5-shellbar-coPilot-pressed,.ui5-shellbar-coPilot-pressed:hover{color:var(--sapShell_Assistant_ForegroundColor)}::slotted([ui5-button][slot="startButton"]){margin-inline:0 .5rem;justify-content:center;align-items:center}::slotted([ui5-button][data-profile-btn]){width:auto}::slotted(.ui5-shellbar-hidden-button),.ui5-shellbar-hidden-button,.ui5-shellbar-invisible-button{visibility:hidden;order:-1;opacity:0;min-width:0;width:0;margin:0;padding:0;padding-inline-start:0;border:0;margin-inline-start:0}
|
|
404
|
+
var shellBarStyles = `.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;width:100%;max-width:100%;background:var(--sapShellColor);box-sizing:border-box}:host{--_ui5-v2-10-0-rc-2_input_placeholder_color: var(--sapShell_InteractiveTextColor);--_ui5-v2-10-0-rc-2_input_border_radius: var(--_ui5-v2-10-0-rc-2_shellbar_input_border_radius);--_ui5-v2-10-0-rc-2_input_focus_border_radius: var(--_ui5-v2-10-0-rc-2_shellbar_input_focus_border_radius);--_ui5-v2-10-0-rc-2_input_background_color: var(--_ui5-v2-10-0-rc-2_shellbar_input_background_color);--_ui5-v2-10-0-rc-2_input_focus_outline_color: var(--_ui5-v2-10-0-rc-2_shellbar_input_focus_outline_color);--_ui5-v2-10-0-rc-2_input_margin_top_bottom: 0;box-shadow:inset 0 -.0625rem 0 0 var(--sapPageHeader_BorderColor)}.ui5-shellbar-root{position:relative;display:flex;justify-content:space-between;align-items:center;height:var(--_ui5-v2-10-0-rc-2_shellbar_root_height);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;box-sizing:border-box}.ui5-shellbar-menu-button,.ui5-shellbar-button,.ui5-shellbar-image-button,::slotted([ui5-toggle-button]:not([slot^="content"])),::slotted([ui5-button]:not([slot^="content"])){height:2.25rem;padding:0;margin-inline-start:var(--_ui5-v2-10-0-rc-2-shellbar-overflow-button-margin);border:.0625rem solid var(--sapButton_Lite_BorderColor);background:var(--sapButton_Lite_Background);outline-color:var(--_ui5-v2-10-0-rc-2_shellbar_logo_outline_color);color:var(--sapShell_TextColor);box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-10-0-rc-2_shellbar_button_border_radius);position:relative;font-weight:700;white-space:initial;overflow:initial;text-overflow:initial;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}::slotted([ui5-toggle-button][slot="assistant"]){margin-inline-start:0}.ui5-shellbar-assistant-button{margin-inline-start:var(--_ui5-v2-10-0-rc-2-shellbar-overflow-button-margin)}::slotted([ui5-button][slot="startButton"]){margin-inline-start:0}::slotted([ui5-toggle-button]:hover),::slotted([ui5-button]:hover),.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover,.ui5-shellbar-button:hover,.ui5-shellbar-image-button:hover,::slotted([ui5-button][slot="midContent"]:hover){background:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_TextColor)}::slotted([ui5-toggle-button][slot="assistant"][pressed]),::slotted([ui5-toggle-button][slot="assistant"][pressed]:hover:not([active])){color:var(--sapShell_Assistant_ForegroundColor)}::slotted([ui5-toggle-button][active]),::slotted([ui5-button][active]),.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active,.ui5-shellbar-button[active],.ui5-shellbar-image-button:active{background:var(--sapShell_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--_ui5-v2-10-0-rc-2_shellbar_button_active_color)}:host([desktop]) .ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:focus-visible{outline:var(--_ui5-v2-10-0-rc-2_shellbar_logo_outline);outline-offset:var(--_ui5-v2-10-0-rc-2_shellbar_outline_offset)}slot[name=profile]{min-width:0}::slotted([ui5-avatar][slot="profile"]){display:block;width:2rem;height:2rem;min-width:0;min-height:2rem;pointer-events:none}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive::-moz-focus-inner{border:none}.ui5-shellbar-menu-button-arrow,.ui5-shellbar-menu-button-title,.ui5-shellbar-title{display:inline-block;font-family:var(--sapFontSemiboldFamily);margin:0;font-size:var(--_ui5-v2-10-0-rc-2_shellbar_menu_button_title_font_size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sapShell_SubBrand_TextColor)}:host(:not([primary-title])) .ui5-shellbar-menu-button{min-width:2.25rem;justify-content:center}.ui5-shellbar-secondary-title{display:inline-block;font-size:var(--sapFontSmallSize);color:var(--sapShell_TextColor);font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:0;text-align:start}.ui5-shellbar-headings{display:flex;flex-direction:column;justify-content:center;height:100%;overflow:hidden;margin-left:.25rem}.ui5-shellbar-menu-button--interactive .ui5-shellbar-menu-button-arrow{margin-inline-start:.375rem}.ui5-shellbar-overflow-container{display:flex;justify-content:center;align-items:center;height:100%;overflow:hidden}.ui5-shellbar-overflow-container-middle{align-self:flex-start;height:var(--_ui5-v2-10-0-rc-2_shellbar_overflow_container_middle_height);width:0;flex-shrink:0}.ui5-shellbar-mid-content{height:var(--_ui5-v2-10-0-rc-2_shellbar_overflow_container_middle_height)}:host([breakpoint-size="S"]) .ui5-shellbar-menu-button{margin-inline-start:0}:host([breakpoint-size="S"]){padding:0 1rem}:host([breakpoint-size="S"]) .ui5-shellbar-search-full-width-wrapper{padding:0 1rem}:host([breakpoint-size="M"]){padding:0 2rem}:host([breakpoint-size="M"]) .ui5-shellbar-search-full-width-wrapper{padding:0 2rem}:host([breakpoint-size="L"]){padding:0 2rem}:host([breakpoint-size="XL"]){padding:0 3rem}:host([breakpoint-size="XXL"]){padding:0 3rem}.ui5-shellbar-logo{overflow:hidden;cursor:pointer;max-height:2rem;max-width:3.75rem}.ui5-shellbar-logo-area{overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem .25rem .25rem;box-sizing:border-box;cursor:pointer;background:var(--sapButton_Lite_Background);border:1px solid var(--sapButton_Lite_BorderColor);color:var(--sapShell_TextColor);margin-inline-start:.125rem}.ui5-shellbar-logo:focus,.ui5-shellbar-logo-area:focus{outline:var(--_ui5-v2-10-0-rc-2_shellbar_logo_outline);border-radius:var(--_ui5-v2-10-0-rc-2_shellbar_logo_border_radius)}.ui5-shellbar-overflow-container>.ui5-shellbar-logo:hover,.ui5-shellbar-logo-area:hover{box-shadow:var(--_ui5-v2-10-0-rc-2_shellbar_button_box_shadow);border-radius:var(--_ui5-v2-10-0-rc-2_shellbar_logo_border_radius)}.ui5-shellbar-logo-area:active:focus{background:var(--sapShell_Active_Background);border:1px solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapShell_Active_TextColor)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:hover{box-shadow:var(--_ui5-v2-10-0-rc-2_shellbar_button_box_shadow)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active{box-shadow:var(--_ui5-v2-10-0-rc-2_shellbar_button_box_shadow_active)}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-arrow,.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive:active .ui5-shellbar-menu-button-title{color:var(--sapShell_Active_TextColor)}.ui5-shellbar-menu-button .ui5-shellbar-logo:hover{box-shadow:none}.ui5-shellbar-button{width:2.5rem;box-sizing:border-box}.ui5-shellbar-button,::slotted([ui5-button][slot="startButton"]){--_ui5-v2-10-0-rc-2_button_focused_border: var(--_ui5-v2-10-0-rc-2_shellbar_button_focused_border)}.ui5-shellbar-search-button{--_ui5-v2-10-0-rc-2_button_focused_border_radius: var(--_ui5-v2-10-0-rc-2_shellbar_search_button_border_radius);--_ui5-v2-10-0-rc-2_shellbar_button_border_radius: var(--_ui5-v2-10-0-rc-2_shellbar_search_button_border_radius);height:var(--_ui5-v2-10-0-rc-2_shellbar_search_button_size);width:var(--_ui5-v2-10-0-rc-2_shellbar_search_button_size);min-width:var(--_ui5-v2-10-0-rc-2_shellbar_search_button_size)}.ui5-shellbar-image-button{display:flex;justify-content:center;align-items:center;min-width:auto;height:2.5rem;--_ui5-v2-10-0-rc-2_button_focused_border_radius: var(--_ui5-v2-10-0-rc-2_shellbar_image_button_border_radius);border-radius:var(--_ui5-v2-10-0-rc-2_shellbar_image_button_border_radius)}.ui5-shellbar-overflow-container-left{padding:0;justify-content:flex-start;max-width:75%;flex-shrink:0}.ui5-shellbar-overflow-container-left>:nth-child(n){margin-inline-end:.5rem}.ui5-shellbar-menu-button{white-space:nowrap;overflow:hidden;display:flex;align-items:center;padding:.25rem .5rem;cursor:text;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ui5-shellbar-menu-button.ui5-shellbar-menu-button--interactive{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;background:var(--sapButton_Lite_Background);border:var(--_ui5-v2-10-0-rc-2_shellbar_button_border);color:var(--sapShell_TextColor)}:host(:not([with-logo])) .ui5-shellbar-menu-button{margin-inline-start:0}.ui5-shellbar-overflow-container-right{flex-grow:1;justify-content:flex-end}.ui5-shellbar-overflow-container-right .ui5-shellbar-overflow-container-right-child{display:flex;justify-content:flex-end;height:inherit;align-items:center}.ui5-shellbar-overflow-container-right-inner{display:flex;flex-grow:1}.ui5-shellbar-content-items{display:flex;justify-content:center;align-items:center;flex-grow:1;min-width:max-content}.ui5-shellbar-spacer{flex-grow:1;height:1px;flex-basis:1rem;flex-shrink:1}.ui5-shellbar-separator{flex-grow:0;flex-shrink:0;height:1rem;width:1px;background-color:var(--sapToolbar_SeparatorColor)}.ui5-shellbar-separator-end{margin-inline-start:.5rem}.ui5-shellbar-overflow-container-right-child .ui5-shellbar-button[data-count]:has(+.ui5-shellbar-overflow-button):before{inset-inline-end:var(--_ui5-v2-10-0-rc-2-shellbar-notification-btn-count-offset)}:host([breakpoint-size="S"]) .ui5-shellbar-overflow-container-right{padding-inline-start:0}::slotted([hidden]){visibility:hidden;order:-1;position:absolute}.ui5-shellbar-content-item{display:flex;align-items:center;flex-shrink:0;padding-inline-start:var(--_ui5-v2-10-0-rc-2-shellbar-content-margin-start)}:host(:not([notifications-count])) .ui5-shellbar-bell-button{position:relative}:host([notifications-count]:not([notifications-count=""])) .ui5-shellbar-bell-button:before,.ui5-shellbar-button[data-count]:before{position:absolute;width:auto;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5-v2-10-0-rc-2_shellbar_button_badge_border);color:var(--sapContent_BadgeTextColor);top:-.25rem;right:-.25rem;padding:0 .3125rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);font-family:"72override",var(--sapFontFamily);z-index:2;box-sizing:border-box}:host([notifications-count]:not([notifications-count=""])) .ui5-shellbar-bell-button:before{content:attr(data-ui5-notifications-count);inset-inline-end:var(--_ui5-v2-10-0-rc-2-shellbar-notification-btn-count-offset)}.ui5-shellbar-button[data-count]:before{content:attr(data-count)}.ui5-shellbar-button[data-count=" "]:before{height:.75rem;min-width:.75rem}.ui5-shellbar-menu-button{margin-inline-start:.5rem}.ui5-shellbar-search-field{padding-inline-start:var(--_ui5-v2-10-0-rc-2-shellbar-content-margin-start);min-width:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_width);align-items:center;flex-grow:1;margin-inline-start:.5rem}.ui5-shellbar-overflow-container-right-child>:first-child,.ui5-shellbar-search-field:first-child+.ui5-shellbar-button:not(.ui5-shellbar-search-button){margin-inline-start:0}.ui5-shellbar-search-full-width-wrapper .ui5-shellbar-search-full-field{height:2.25rem;width:100%}.ui5-shellbar-search-full-width-wrapper{position:absolute;top:0;left:0;background:var(--sapShellColor);height:100%;width:100%;z-index:100;display:flex;align-items:center;box-sizing:border-box}.ui5-shellbar-search-full-width-wrapper .ui5-shellbar-button{width:auto}::slotted([ui5-input]){background:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_background);border:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_border);box-shadow:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_box_shadow);color:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_color);height:2.25rem;width:100%;min-width:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_width)}:host([breakpoint-size="M"]) ::slotted([ui5-input]),:host([breakpoint-size="S"]) ::slotted([ui5-input]){min-width:1rem}:host([breakpoint-size="M"][show-search-field]) .ui5-shellbar-overflow-container-right-child{flex-grow:1}::slotted([ui5-input]:hover){background:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_background_hover);box-shadow:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_box_shadow_hover)}::slotted([ui5-input][focused]){outline:var(--_ui5-v2-10-0-rc-2_shellbar_search_field_outline_focused)}::slotted([slot="logo"]){max-height:2rem;max-width:3.75rem;pointer-events:none}.ui5-shellbar-co-pilot-placeholder{width:2.75rem;height:2.75rem}.ui5-shellbar-coPilot-pressed,.ui5-shellbar-coPilot-pressed:hover{color:var(--sapShell_Assistant_ForegroundColor)}::slotted([ui5-button][slot="startButton"]){margin-inline:0 .5rem;justify-content:center;align-items:center}::slotted([ui5-button][data-profile-btn]){width:auto}::slotted(.ui5-shellbar-hidden-button),.ui5-shellbar-hidden-button,.ui5-shellbar-invisible-button{visibility:hidden;order:-1;opacity:0;min-width:0;width:0;margin:0;padding:0;padding-inline-start:0;border:0;margin-inline-start:0}
|
|
729
405
|
`;
|
|
730
406
|
|
|
731
|
-
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () =>
|
|
407
|
+
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
732
408
|
Icons.p("@ui5/webcomponents-fiori", "sap_horizon", async () => parametersBundle_css.defaultTheme);
|
|
733
|
-
var ShellBarPopoverCss = `.ui5-shellbar-menu-popover::part(content),.ui5-shellbar-overflow-popover::part(content){padding:0}.ui5-shellbar-overflow-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover [ui5-li]::part(title){font-size:var(--sapFontSize)}.ui5-shellbar-overflow-popover [ui5-li]:after{position:relative;width:fit-content;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5-v2-
|
|
409
|
+
var ShellBarPopoverCss = `.ui5-shellbar-menu-popover::part(content),.ui5-shellbar-overflow-popover::part(content){padding:0}.ui5-shellbar-overflow-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)}.ui5-shellbar-overflow-popover [ui5-li]::part(title){font-size:var(--sapFontSize)}.ui5-shellbar-overflow-popover [ui5-li]:after{position:relative;width:fit-content;height:1rem;min-width:1rem;background:var(--sapContent_BadgeBackground);border:var(--_ui5-v2-10-0-rc-2_shellbar_button_badge_border);color:var(--sapContent_BadgeTextColor);bottom:calc(100% + .0625rem);left:1.25rem;padding:0 .3125rem;border-radius:.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);font-family:"72override",var(--sapFontFamily);z-index:2;box-sizing:border-box;pointer-events:none}.ui5-shellbar-overflow-popover [ui5-li][data-count]:after{content:attr(data-count)}
|
|
734
410
|
`;
|
|
735
411
|
|
|
736
412
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -797,25 +473,33 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
797
473
|
constructor() {
|
|
798
474
|
super();
|
|
799
475
|
/**
|
|
800
|
-
* Defines
|
|
476
|
+
* Defines the visibility state of the search button.
|
|
477
|
+
*
|
|
478
|
+
* **Note:** The `hideSearchButton` property is in an experimental state and is a subject to change.
|
|
801
479
|
* @default false
|
|
802
480
|
* @public
|
|
803
481
|
*/
|
|
804
|
-
this.
|
|
482
|
+
this.hideSearchButton = false;
|
|
805
483
|
/**
|
|
806
|
-
*
|
|
484
|
+
* Disables the automatic search field expansion/collapse when the available space is not enough.
|
|
485
|
+
*
|
|
486
|
+
* **Note:** The `disableAutoSearchField` property is in an experimental state and is a subject to change.
|
|
807
487
|
* @default false
|
|
808
488
|
* @public
|
|
809
489
|
*/
|
|
810
|
-
this.
|
|
490
|
+
this.disableAutoSearchField = false;
|
|
811
491
|
/**
|
|
812
|
-
* Defines, if the
|
|
813
|
-
*
|
|
814
|
-
*
|
|
492
|
+
* Defines, if the notification icon would be displayed.
|
|
493
|
+
* @default false
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
this.showNotifications = false;
|
|
497
|
+
/**
|
|
498
|
+
* Defines, if the product switch icon would be displayed.
|
|
815
499
|
* @default false
|
|
816
500
|
* @public
|
|
817
501
|
*/
|
|
818
|
-
this.
|
|
502
|
+
this.showProductSwitch = false;
|
|
819
503
|
/**
|
|
820
504
|
* Defines additional accessibility attributes on different areas of the component.
|
|
821
505
|
*
|
|
@@ -828,6 +512,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
828
512
|
* - **product** - `product.expanded` and `product.hasPopup`.
|
|
829
513
|
* - **search** - `search.hasPopup`.
|
|
830
514
|
* - **overflow** - `overflow.expanded` and `overflow.hasPopup`.
|
|
515
|
+
* - **branding** - `branding.name`.
|
|
831
516
|
*
|
|
832
517
|
* The accessibility attributes support the following values:
|
|
833
518
|
*
|
|
@@ -867,6 +552,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
867
552
|
this._lastOffsetWidth = 0;
|
|
868
553
|
this._observableContent = [];
|
|
869
554
|
this._autoRestoreSearchField = false;
|
|
555
|
+
this._showSearchField = false;
|
|
870
556
|
this._hiddenIcons = [];
|
|
871
557
|
this._isInitialRendering = true;
|
|
872
558
|
this._overflowNotifications = null;
|
|
@@ -898,15 +584,15 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
898
584
|
const spacerWidth = this.shadowRoot.querySelector(".ui5-shellbar-spacer") ? this.shadowRoot.querySelector(".ui5-shellbar-spacer").getBoundingClientRect().width : 0;
|
|
899
585
|
const searchFieldWidth = this.domCalculatedValues("--_ui5_shellbar_search_field_width");
|
|
900
586
|
if (this.showFullWidthSearch) {
|
|
901
|
-
this.
|
|
587
|
+
this.setSearchState(true);
|
|
902
588
|
return;
|
|
903
589
|
}
|
|
904
590
|
if ((spacerWidth <= searchFieldWidth && this.contentItemsHidden.length !== 0) && this.showSearchField) {
|
|
905
|
-
this.
|
|
591
|
+
this.setSearchState(false);
|
|
906
592
|
this._autoRestoreSearchField = true;
|
|
907
593
|
}
|
|
908
594
|
else if (spacerWidth > searchFieldWidth && this._autoRestoreSearchField) {
|
|
909
|
-
this.
|
|
595
|
+
this.setSearchState(true);
|
|
910
596
|
this._autoRestoreSearchField = false;
|
|
911
597
|
}
|
|
912
598
|
}
|
|
@@ -1020,12 +706,9 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1020
706
|
_calculateCSSREMValue(styleSet, propertyName) {
|
|
1021
707
|
return Number(styleSet.getPropertyValue(propertyName).replace("rem", "")) * parseInt(getComputedStyle(document.body).getPropertyValue("font-size"));
|
|
1022
708
|
}
|
|
1023
|
-
_parsePxValue(styleSet, propertyName) {
|
|
1024
|
-
return Number(styleSet.getPropertyValue(propertyName).replace("px", ""));
|
|
1025
|
-
}
|
|
1026
709
|
domCalculatedValues(cssVar) {
|
|
1027
710
|
const shellbarComputerStyle = getComputedStyle(this.getDomRef());
|
|
1028
|
-
return this._calculateCSSREMValue(shellbarComputerStyle, Icons.d
|
|
711
|
+
return this._calculateCSSREMValue(shellbarComputerStyle, Icons.d(cssVar)); // px
|
|
1029
712
|
}
|
|
1030
713
|
onBeforeRendering() {
|
|
1031
714
|
this.withLogo = this.hasLogo;
|
|
@@ -1039,6 +722,34 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1039
722
|
});
|
|
1040
723
|
this._observeContentItems();
|
|
1041
724
|
}
|
|
725
|
+
/**
|
|
726
|
+
* Defines, if the Search Field would be displayed when there is a valid `searchField` slot.
|
|
727
|
+
*
|
|
728
|
+
* **Note:** By default the Search Field is not displayed.
|
|
729
|
+
* @default false
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
set showSearchField(value) {
|
|
733
|
+
if (isSelfCollapsibleSearch(this.search)) {
|
|
734
|
+
this.search.collapsed = !value;
|
|
735
|
+
}
|
|
736
|
+
this._showSearchField = value;
|
|
737
|
+
}
|
|
738
|
+
get showSearchField() {
|
|
739
|
+
if (isSelfCollapsibleSearch(this.search)) {
|
|
740
|
+
return !this.search.collapsed;
|
|
741
|
+
}
|
|
742
|
+
return this._showSearchField;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Use this method to change the state of the search filed according to internal logic.
|
|
746
|
+
* An event is fired to notify the change.
|
|
747
|
+
*/
|
|
748
|
+
async setSearchState(expanded) {
|
|
749
|
+
this.showSearchField = expanded;
|
|
750
|
+
await Icons.f$3();
|
|
751
|
+
this.fireDecoratorEvent("search-field-toggle", { expanded });
|
|
752
|
+
}
|
|
1042
753
|
onAfterRendering() {
|
|
1043
754
|
this._lastOffsetWidth = this.offsetWidth;
|
|
1044
755
|
this._overflowActions();
|
|
@@ -1046,7 +757,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1046
757
|
}
|
|
1047
758
|
async onInitialRendering() {
|
|
1048
759
|
if (this._isInitialRendering) {
|
|
1049
|
-
await Icons.f$
|
|
760
|
+
await Icons.f$3();
|
|
1050
761
|
if (this.autoSearchField) {
|
|
1051
762
|
this._updateSearchFieldState();
|
|
1052
763
|
}
|
|
@@ -1119,7 +830,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1119
830
|
this._updateItemsInfo(itemsInfo);
|
|
1120
831
|
this._updateContentInfo(contentInfo);
|
|
1121
832
|
this._updateOverflowNotifications();
|
|
1122
|
-
this.showFullWidthSearch = this.overflowed;
|
|
833
|
+
this.showFullWidthSearch = this.overflowed && this.showSearchField;
|
|
1123
834
|
}
|
|
1124
835
|
_toggleActionPopover() {
|
|
1125
836
|
const overflowButton = this.shadowRoot.querySelector(".ui5-shellbar-overflow-button");
|
|
@@ -1128,15 +839,15 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1128
839
|
overflowPopover.open = true;
|
|
1129
840
|
}
|
|
1130
841
|
onEnterDOM() {
|
|
1131
|
-
webcomponentsBase.f
|
|
1132
|
-
if (Icons.f$
|
|
842
|
+
webcomponentsBase.f.register(this, this._handleResize);
|
|
843
|
+
if (Icons.f$1()) {
|
|
1133
844
|
this.setAttribute("desktop", "");
|
|
1134
845
|
}
|
|
1135
846
|
}
|
|
1136
847
|
onExitDOM() {
|
|
1137
848
|
this.contentItemsObserver.disconnect();
|
|
1138
849
|
this._observableContent = [];
|
|
1139
|
-
webcomponentsBase.f
|
|
850
|
+
webcomponentsBase.f.deregister(this, this._handleResize);
|
|
1140
851
|
}
|
|
1141
852
|
_handleSearchIconPress() {
|
|
1142
853
|
const searchButtonRef = this.shadowRoot.querySelector(".ui5-shellbar-search-button");
|
|
@@ -1147,7 +858,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1147
858
|
if (defaultPrevented) {
|
|
1148
859
|
return;
|
|
1149
860
|
}
|
|
1150
|
-
this.
|
|
861
|
+
this.setSearchState(!this.showSearchField);
|
|
1151
862
|
if (!this.showSearchField) {
|
|
1152
863
|
return;
|
|
1153
864
|
}
|
|
@@ -1168,7 +879,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1168
879
|
this.closeOverflow();
|
|
1169
880
|
// wait for DOM to be updated when ui5-popover is closed, otherwise if Enter key is hold
|
|
1170
881
|
// there will be no visual indication that this has happened
|
|
1171
|
-
await Icons.f$
|
|
882
|
+
await Icons.f$3();
|
|
1172
883
|
}
|
|
1173
884
|
this._defaultItemPressPrevented = false;
|
|
1174
885
|
}
|
|
@@ -1198,7 +909,8 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1198
909
|
});
|
|
1199
910
|
}
|
|
1200
911
|
_handleCancelButtonPress() {
|
|
1201
|
-
this.
|
|
912
|
+
this.showFullWidthSearch = false;
|
|
913
|
+
this.setSearchState(false);
|
|
1202
914
|
}
|
|
1203
915
|
_handleProductSwitchPress(e) {
|
|
1204
916
|
const buttonRef = this.shadowRoot.querySelector(".ui5-shellbar-button-product-switch"), target = e.target;
|
|
@@ -1251,6 +963,16 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1251
963
|
get productSwitchDomRef() {
|
|
1252
964
|
return this.shadowRoot.querySelector(`*[data-ui5-stable="product-switch"]`);
|
|
1253
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* Returns the `search` icon DOM ref.
|
|
968
|
+
* @returns The search icon DOM ref
|
|
969
|
+
* @public
|
|
970
|
+
* @since 2.10.0
|
|
971
|
+
*/
|
|
972
|
+
async getSearchButtonDomRef() {
|
|
973
|
+
await Icons.f$3();
|
|
974
|
+
return this.shadowRoot.querySelector(`*[data-ui5-stable="toggle-search"]`);
|
|
975
|
+
}
|
|
1254
976
|
_getContentInfo() {
|
|
1255
977
|
return [
|
|
1256
978
|
...this.contentItemsSorted.map(item => {
|
|
@@ -1289,7 +1011,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1289
1011
|
{
|
|
1290
1012
|
icon: bell,
|
|
1291
1013
|
title: this._notificationsText,
|
|
1292
|
-
text: ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_NOTIFICATIONS_NO_COUNT),
|
|
1014
|
+
text: ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_NOTIFICATIONS_NO_COUNT),
|
|
1293
1015
|
count: this.notificationsCount,
|
|
1294
1016
|
classes: `${this.showNotifications ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-bell-button ui5-shellbar-button`,
|
|
1295
1017
|
id: `${this._id}-item-${2}`,
|
|
@@ -1324,7 +1046,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1324
1046
|
};
|
|
1325
1047
|
}),
|
|
1326
1048
|
{
|
|
1327
|
-
icon: overflow,
|
|
1049
|
+
icon: overflow.overflow,
|
|
1328
1050
|
text: "Overflow",
|
|
1329
1051
|
classes: "ui5-shellbar-hidden-button ui5-shellbar-no-overflow-button ui5-shellbar-overflow-button ui5-shellbar-button",
|
|
1330
1052
|
id: `${this.id}-item-${5}`,
|
|
@@ -1437,8 +1159,12 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1437
1159
|
}
|
|
1438
1160
|
get autoSearchField() {
|
|
1439
1161
|
const onFocus = document.activeElement === this.searchField[0];
|
|
1440
|
-
const
|
|
1441
|
-
|
|
1162
|
+
const hasValue = this.searchField[0]?.value?.length > 0;
|
|
1163
|
+
const disableAutoSearchField = this.disableAutoSearchField || onFocus || hasValue;
|
|
1164
|
+
if (disableAutoSearchField) {
|
|
1165
|
+
return false;
|
|
1166
|
+
}
|
|
1167
|
+
return this.showSearchField || this._autoRestoreSearchField;
|
|
1442
1168
|
}
|
|
1443
1169
|
get startContentInfoSorted() {
|
|
1444
1170
|
return this._contentInfo
|
|
@@ -1479,6 +1205,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1479
1205
|
},
|
|
1480
1206
|
search: {
|
|
1481
1207
|
"ui5-shellbar-hidden-button": this.isIconHidden("search"),
|
|
1208
|
+
"ui5-shellbar-search-toggle": true,
|
|
1482
1209
|
},
|
|
1483
1210
|
overflow: {
|
|
1484
1211
|
"ui5-shellbar-hidden-button": this._hiddenIcons.length === 0,
|
|
@@ -1487,13 +1214,19 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1487
1214
|
"ui5-shellbar-hidden-button": this.isIconHidden("assistant"),
|
|
1488
1215
|
"ui5-shellbar-assistant-button": true,
|
|
1489
1216
|
},
|
|
1217
|
+
searchField: {
|
|
1218
|
+
"ui5-shellbar-search-field": this.showSearchField,
|
|
1219
|
+
"ui5-shellbar-search-toggle": isSelfCollapsibleSearch(this.search),
|
|
1220
|
+
"ui5-shellbar-hidden-button": !this.showSearchField,
|
|
1221
|
+
},
|
|
1490
1222
|
};
|
|
1491
1223
|
}
|
|
1492
1224
|
get styles() {
|
|
1225
|
+
const styles = {
|
|
1226
|
+
"display": this.showSearchField ? "flex" : "none",
|
|
1227
|
+
};
|
|
1493
1228
|
return {
|
|
1494
|
-
searchField: {
|
|
1495
|
-
"display": this.showSearchField ? "flex" : "none",
|
|
1496
|
-
},
|
|
1229
|
+
searchField: isSelfCollapsibleSearch(this.search) ? {} : styles,
|
|
1497
1230
|
};
|
|
1498
1231
|
}
|
|
1499
1232
|
get customItemsInfo() {
|
|
@@ -1530,36 +1263,38 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1530
1263
|
return this.menuItems.length > 0;
|
|
1531
1264
|
}
|
|
1532
1265
|
get imageBtnText() {
|
|
1533
|
-
return
|
|
1266
|
+
return toLowercaseEnumValue.A(this);
|
|
1534
1267
|
}
|
|
1535
1268
|
get _shellbarText() {
|
|
1536
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_LABEL);
|
|
1269
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_LABEL);
|
|
1537
1270
|
}
|
|
1538
1271
|
get _logoText() {
|
|
1539
|
-
return this.accessibilityAttributes.logo?.name || ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_LOGO);
|
|
1272
|
+
return this.accessibilityAttributes.logo?.name || ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_LOGO);
|
|
1540
1273
|
}
|
|
1541
1274
|
get _notificationsText() {
|
|
1542
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_NOTIFICATIONS, this.notificationsCount || 0);
|
|
1275
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_NOTIFICATIONS, this.notificationsCount || 0);
|
|
1543
1276
|
}
|
|
1544
1277
|
get _cancelBtnText() {
|
|
1545
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_CANCEL);
|
|
1278
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_CANCEL);
|
|
1546
1279
|
}
|
|
1547
1280
|
get _logoAreaText() {
|
|
1548
1281
|
const primaryTitle = this.primaryTitle ?? "";
|
|
1549
1282
|
const secondaryTitle = this.secondaryTitle ?? "";
|
|
1550
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_LOGO_AREA, primaryTitle, secondaryTitle);
|
|
1283
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_LOGO_AREA, primaryTitle, secondaryTitle);
|
|
1551
1284
|
}
|
|
1552
1285
|
get _contentItemsText() {
|
|
1553
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_ADDITIONAL_CONTEXT);
|
|
1286
|
+
return this._enableContentAreaAccessibility ? ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_ADDITIONAL_CONTEXT) : undefined;
|
|
1554
1287
|
}
|
|
1555
1288
|
get _searchFieldDescription() {
|
|
1556
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_SEARCHFIELD_DESCRIPTION);
|
|
1289
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_SEARCHFIELD_DESCRIPTION);
|
|
1557
1290
|
}
|
|
1558
1291
|
get _contentItemsRole() {
|
|
1559
|
-
if (this.
|
|
1560
|
-
return;
|
|
1292
|
+
if (this._enableContentAreaAccessibility) {
|
|
1293
|
+
return "group";
|
|
1561
1294
|
}
|
|
1562
|
-
|
|
1295
|
+
}
|
|
1296
|
+
get _enableContentAreaAccessibility() {
|
|
1297
|
+
return this.contentItems.length > 1;
|
|
1563
1298
|
}
|
|
1564
1299
|
get contentItems() {
|
|
1565
1300
|
return [...this.startContent, ...this.endContent];
|
|
@@ -1591,28 +1326,28 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1591
1326
|
return "toolbar";
|
|
1592
1327
|
}
|
|
1593
1328
|
get _searchFieldText() {
|
|
1594
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_SEARCH_FIELD);
|
|
1329
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_SEARCH_FIELD);
|
|
1595
1330
|
}
|
|
1596
1331
|
get _searchBtnOpen() {
|
|
1597
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_SEARCH_BTN_OPEN);
|
|
1332
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_SEARCH_BTN_OPEN);
|
|
1598
1333
|
}
|
|
1599
1334
|
get _productSwitchBtnText() {
|
|
1600
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_PRODUCT_SWITCH_BTN);
|
|
1601
|
-
}
|
|
1602
|
-
get isSearchFieldVisible() {
|
|
1603
|
-
return this.searchField[0]?.offsetWidth || 0;
|
|
1335
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_PRODUCT_SWITCH_BTN);
|
|
1604
1336
|
}
|
|
1605
1337
|
get _profileText() {
|
|
1606
|
-
return this.accessibilityAttributes.profile?.name || ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_PROFILE);
|
|
1338
|
+
return this.accessibilityAttributes.profile?.name || ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_PROFILE);
|
|
1607
1339
|
}
|
|
1608
1340
|
get _productsText() {
|
|
1609
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_PRODUCTS);
|
|
1341
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_PRODUCTS);
|
|
1610
1342
|
}
|
|
1611
1343
|
get _searchText() {
|
|
1612
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_SEARCH);
|
|
1344
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_SEARCH);
|
|
1613
1345
|
}
|
|
1614
1346
|
get _overflowText() {
|
|
1615
|
-
return ShellBar_1.i18nBundle.getText(i18nDefaults.SHELLBAR_OVERFLOW);
|
|
1347
|
+
return ShellBar_1.i18nBundle.getText(i18nDefaults$1.SHELLBAR_OVERFLOW);
|
|
1348
|
+
}
|
|
1349
|
+
get _brandingText() {
|
|
1350
|
+
return this.accessibilityAttributes.branding?.name || this.primaryTitle;
|
|
1616
1351
|
}
|
|
1617
1352
|
get hasContentItems() {
|
|
1618
1353
|
return this.contentItems.length > 0;
|
|
@@ -1620,7 +1355,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1620
1355
|
get hidableDomElements() {
|
|
1621
1356
|
const items = Array.from(this.shadowRoot.querySelectorAll(".ui5-shellbar-button:not(.ui5-shellbar-search-button):not(.ui5-shellbar-overflow-button):not(.ui5-shellbar-cancel-button):not(.ui5-shellbar-no-overflow-button)"));
|
|
1622
1357
|
const assistant = this.shadowRoot.querySelector(".ui5-shellbar-assistant-button");
|
|
1623
|
-
const
|
|
1358
|
+
const searchToggle = this.shadowRoot.querySelector(".ui5-shellbar-search-toggle");
|
|
1624
1359
|
const contentItems = this.contentItemsWrappersSorted;
|
|
1625
1360
|
const firstContentItem = contentItems.pop();
|
|
1626
1361
|
const prioritizeContent = this.showSearchField && this.hasSearchField;
|
|
@@ -1645,7 +1380,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1645
1380
|
...items.toReversed(),
|
|
1646
1381
|
assistant,
|
|
1647
1382
|
...contentItems,
|
|
1648
|
-
|
|
1383
|
+
searchToggle,
|
|
1649
1384
|
firstContentItem,
|
|
1650
1385
|
];
|
|
1651
1386
|
}
|
|
@@ -1705,6 +1440,12 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1705
1440
|
expanded: overflowExpanded === undefined ? this._overflowPopoverExpanded : overflowExpanded,
|
|
1706
1441
|
},
|
|
1707
1442
|
},
|
|
1443
|
+
branding: {
|
|
1444
|
+
"title": this._brandingText,
|
|
1445
|
+
"accessibilityAttributes": {
|
|
1446
|
+
name: this.accessibilityAttributes.branding?.name,
|
|
1447
|
+
},
|
|
1448
|
+
},
|
|
1708
1449
|
};
|
|
1709
1450
|
}
|
|
1710
1451
|
get accLogoRole() {
|
|
@@ -1713,7 +1454,19 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1713
1454
|
get isSBreakPoint() {
|
|
1714
1455
|
return this.breakpointSize === "S";
|
|
1715
1456
|
}
|
|
1457
|
+
get hasSelfCollapsibleSearch() {
|
|
1458
|
+
return isSelfCollapsibleSearch(this.search);
|
|
1459
|
+
}
|
|
1460
|
+
get search() {
|
|
1461
|
+
return this.searchField.length ? this.searchField[0] : null;
|
|
1462
|
+
}
|
|
1716
1463
|
};
|
|
1464
|
+
__decorate([
|
|
1465
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1466
|
+
], ShellBar.prototype, "hideSearchButton", void 0);
|
|
1467
|
+
__decorate([
|
|
1468
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1469
|
+
], ShellBar.prototype, "disableAutoSearchField", void 0);
|
|
1717
1470
|
__decorate([
|
|
1718
1471
|
webcomponentsBase.s()
|
|
1719
1472
|
], ShellBar.prototype, "primaryTitle", void 0);
|
|
@@ -1729,9 +1482,6 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1729
1482
|
__decorate([
|
|
1730
1483
|
webcomponentsBase.s({ type: Boolean })
|
|
1731
1484
|
], ShellBar.prototype, "showProductSwitch", void 0);
|
|
1732
|
-
__decorate([
|
|
1733
|
-
webcomponentsBase.s({ type: Boolean })
|
|
1734
|
-
], ShellBar.prototype, "showSearchField", void 0);
|
|
1735
1485
|
__decorate([
|
|
1736
1486
|
webcomponentsBase.s({ type: Object })
|
|
1737
1487
|
], ShellBar.prototype, "accessibilityAttributes", void 0);
|
|
@@ -1772,7 +1522,10 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1772
1522
|
webcomponentsBase.d()
|
|
1773
1523
|
], ShellBar.prototype, "menuItems", void 0);
|
|
1774
1524
|
__decorate([
|
|
1775
|
-
webcomponentsBase.d(
|
|
1525
|
+
webcomponentsBase.d({
|
|
1526
|
+
type: HTMLElement,
|
|
1527
|
+
invalidateOnChildChange: true,
|
|
1528
|
+
})
|
|
1776
1529
|
], ShellBar.prototype, "searchField", void 0);
|
|
1777
1530
|
__decorate([
|
|
1778
1531
|
webcomponentsBase.d()
|
|
@@ -1784,23 +1537,26 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1784
1537
|
webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
|
|
1785
1538
|
], ShellBar.prototype, "content", void 0);
|
|
1786
1539
|
__decorate([
|
|
1787
|
-
|
|
1540
|
+
webcomponentsBase.s({ type: Boolean })
|
|
1541
|
+
], ShellBar.prototype, "showSearchField", null);
|
|
1542
|
+
__decorate([
|
|
1543
|
+
i18nDefaults.i("@ui5/webcomponents-fiori")
|
|
1788
1544
|
], ShellBar, "i18nBundle", void 0);
|
|
1789
1545
|
ShellBar = ShellBar_1 = __decorate([
|
|
1790
1546
|
webcomponentsBase.m({
|
|
1791
1547
|
tag: "ui5-shellbar",
|
|
1792
1548
|
fastNavigation: true,
|
|
1793
1549
|
languageAware: true,
|
|
1794
|
-
renderer:
|
|
1550
|
+
renderer: i18nDefaults.d,
|
|
1795
1551
|
template: ShellBarTemplate,
|
|
1796
1552
|
styles: [shellBarStyles, ShellBarPopoverCss],
|
|
1797
1553
|
dependencies: [
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1554
|
+
Button.Button,
|
|
1555
|
+
Icon.Icon,
|
|
1556
|
+
List.List,
|
|
1557
|
+
ListItemTemplate.Popover,
|
|
1802
1558
|
ListItemStandard$1,
|
|
1803
|
-
Menu
|
|
1559
|
+
Menu,
|
|
1804
1560
|
],
|
|
1805
1561
|
})
|
|
1806
1562
|
/**
|
|
@@ -1871,6 +1627,16 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1871
1627
|
cancelable: true,
|
|
1872
1628
|
bubbles: true,
|
|
1873
1629
|
})
|
|
1630
|
+
/**
|
|
1631
|
+
* Fired, when the search field is expanded or collapsed.
|
|
1632
|
+
* @since 2.10.0
|
|
1633
|
+
* @param {Boolean} expanded whether the search field is expanded
|
|
1634
|
+
* @public
|
|
1635
|
+
*/
|
|
1636
|
+
,
|
|
1637
|
+
eventStrict.l("search-field-toggle", {
|
|
1638
|
+
bubbles: true,
|
|
1639
|
+
})
|
|
1874
1640
|
/**
|
|
1875
1641
|
* Fired, when an item from the content slot is hidden or shown.
|
|
1876
1642
|
* **Note:** The `content-item-visibility-change` event is in an experimental state and is a subject to change.
|
|
@@ -1884,6 +1650,12 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
1884
1650
|
bubbles: true,
|
|
1885
1651
|
})
|
|
1886
1652
|
], ShellBar);
|
|
1653
|
+
const isSelfCollapsibleSearch = (searchField) => {
|
|
1654
|
+
if (searchField) {
|
|
1655
|
+
return "collapsed" in searchField;
|
|
1656
|
+
}
|
|
1657
|
+
return false;
|
|
1658
|
+
};
|
|
1887
1659
|
ShellBar.define();
|
|
1888
1660
|
var ShellBar$1 = ShellBar;
|
|
1889
1661
|
|