@sapui5/sap.ushell 1.139.0 → 1.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +2 -2
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +0 -1
- package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +6 -6
- package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +22 -25
- package/src/main/js/sap/ushell/ApplicationType/urlResolution.js +12 -6
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +277 -302
- package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +0 -1
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +11 -10
- package/src/main/js/sap/ushell/ApplicationType.js +8 -8
- package/src/main/js/sap/ushell/Container.js +54 -56
- package/src/main/js/sap/ushell/EventHub.js +5 -7
- package/src/main/js/sap/ushell/Fiori20Adapter.js +17 -11
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +5 -5
- 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 +11 -4
- 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 +13 -2
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +13 -3
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +4 -2
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +29 -27
- package/src/main/js/sap/ushell/User.js +13 -14
- package/src/main/js/sap/ushell/UserActivityLog.js +3 -3
- package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +54 -43
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +13 -10
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +15 -14
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +155 -129
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +25 -23
- 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.controller.js +4 -4
- 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/_Personalization/internals.js +8 -13
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +6 -3
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +42 -30
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +112 -97
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +5 -6
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +10 -8
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +13 -14
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +162 -162
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +14 -14
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +22 -22
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +4 -4
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +4 -4
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +2 -2
- 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 +14 -14
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +8 -13
- package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +5 -5
- package/src/main/js/sap/ushell/api/performance/Extension.js +147 -0
- package/src/main/js/sap/ushell/api/performance/NavigationSource.js +86 -0
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +66 -156
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +10 -44
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerCache.js +9 -6
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +41 -15
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +0 -3
- package/src/main/js/sap/ushell/appIntegration/KeepAliveApps.js +82 -30
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/AppInfoHandler.js +228 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/AppStateHandler.js +188 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/BookmarkHandler.js +725 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/EnvironmentHandler.js +347 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/ExtensionHandler.js +573 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/LifecycleHandler.js +226 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/MessageBrokerHandler.js +165 -0
- package/src/main/js/sap/ushell/appIntegration/{PostMessageManager → PostMessageHandler}/NWBCHandler.js +12 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NavigationHandler.js +648 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/SessionHandler.js +157 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler.js +146 -0
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +26 -13
- package/src/main/js/sap/ushell/appIntegration/PostMessagePluginInterface.js +249 -95
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +0 -1
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +2 -23
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +0 -4
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +103 -81
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +77 -83
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +33 -29
- package/src/main/js/sap/ushell/appRuntime/ui5/libsPreload.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +11 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus.js +9 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +50 -31
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +8 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +6 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_vi.properties +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +12 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +5 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +15 -15
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +5 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +4 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +6 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +199 -225
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +11 -11
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +18 -18
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +15 -15
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +9 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +93 -36
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +10 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +16 -18
- 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 +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker/Client.js +114 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +157 -58
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +9 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +9 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +31 -35
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +7 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +6 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +20 -22
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +8 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPLoader.js +1 -3
- 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/SchedulingAgent.js +21 -22
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +5 -5
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +9 -9
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +14 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +3 -3
- package/src/main/js/sap/ushell/components/HomepageManager.js +120 -117
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +24 -13
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +18 -18
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +6 -3
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +10 -4
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +119 -108
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +17 -15
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -33
- package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +6 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/People.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +29 -13
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +6 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
- 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 +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +8 -8
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +55 -46
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +24 -15
- package/src/main/js/sap/ushell/components/pages/manifest.json +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/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +9 -9
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +25 -16
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +3 -1
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +9 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +3 -3
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +32 -30
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +19 -17
- 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 +30 -28
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +240 -118
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +4 -5
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +20 -18
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +31 -29
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +9 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ar.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_bg.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ca.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cnr.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cs.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_cy.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_da.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_de.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_el.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en_GB.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_en_US_saprigi.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_es.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_es_MX.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_et.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fi.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fr.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_fr_CA.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hi.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hr.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_hu.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_id.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_it.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_iw.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ja.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_kk.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ko.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_lt.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_lv.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_mk.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ms.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_nl.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_no.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pl.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pt.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_pt_PT.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ro.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_ru.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sh.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sk.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sl.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sr.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_sv.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_th.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_tr.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_uk.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_vi.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_zh_CN.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources_zh_TW.properties +12 -0
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +11 -7
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +21 -20
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +90 -67
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +6 -6
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +8 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +4 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +47 -2
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +20 -0
- package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +9 -6
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +48 -59
- package/src/main/js/sap/ushell/components/shell/SideNavigation/fragment/Popover.fragment.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/interface/ListProviderAPI.js +144 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/interface/NavContainer.js +82 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +36 -9
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +49 -28
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +104 -49
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +17 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +18 -7
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +11 -5
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources.properties +2 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ar.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_bg.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ca.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cnr.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cs.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_cy.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_da.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_de.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_el.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_GB.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_en_US_saprigi.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_es_MX.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_et.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fi.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_fr_CA.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hi.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hr.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_hu.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_id.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_it.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_iw.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ja.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_kk.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ko.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lt.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_lv.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_mk.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ms.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_nl.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_no.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pl.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_pt_PT.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ro.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_ru.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sh.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sk.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sl.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sr.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_sv.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_th.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_tr.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_uk.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_vi.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_CN.properties +1 -0
- package/src/main/js/sap/ushell/components/shell/SideNavigation/resources/resources_zh_TW.properties +1 -0
- 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 +1 -0
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +22 -14
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +43 -13
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +43 -13
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +12 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +12 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +157 -152
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +23 -22
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +4 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +106 -102
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +8 -7
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +96 -53
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +63 -52
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +4 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +2 -1
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/utils.js +25 -25
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +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 +1 -1
- 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/gen/ui5/webcomponents/dist/Avatar.js +111 -113
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +215 -137
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +68 -70
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +81 -80
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +40 -39
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +146 -84
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -120
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +186 -156
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +517 -368
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/IllustratedMessage.js +97 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -79
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +76 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +119 -99
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +48 -46
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +156 -138
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -62
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +30 -29
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +46 -45
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +48 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -214
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +71 -70
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -64
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +150 -127
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +42 -41
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +190 -137
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +76 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +35 -34
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1706 -1389
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +3011 -2450
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/modules/NavigationMenu/ListProvider.js +56 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/ListProviderAPI.js +119 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/NavContainer.js +60 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu/NavigationMenuMode.js +37 -0
- package/src/main/js/sap/ushell/modules/NavigationMenu.js +17 -16
- package/src/main/js/sap/ushell/navigation/NavigationState.js +0 -3
- package/src/main/js/sap/ushell/navigationMode.js +5 -5
- package/src/main/js/sap/ushell/override.js +1 -2
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +51 -15
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +19 -10
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +8 -2
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_de.properties +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_vi.properties +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +17 -13
- package/src/main/js/sap/ushell/renderer/NavContainer.js +7 -0
- package/src/main/js/sap/ushell/renderer/Renderer.js +13 -13
- package/src/main/js/sap/ushell/renderer/RendererAppContainer.js +3 -3
- package/src/main/js/sap/ushell/renderer/RendererManagedComponents.js +194 -0
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +29 -39
- package/src/main/js/sap/ushell/renderer/Shell.view.js +8 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +8 -8
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +18 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +38 -31
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +2 -2
- package/src/main/js/sap/ushell/resources.js +1 -1
- package/src/main/js/sap/ushell/services/AllMyApps.js +1 -3
- package/src/main/js/sap/ushell/services/AppConfiguration.js +2 -2
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +33 -30
- package/src/main/js/sap/ushell/services/AppState.js +3 -3
- package/src/main/js/sap/ushell/services/Bookmark.js +35 -39
- package/src/main/js/sap/ushell/services/BookmarkV2.js +6 -8
- 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 +5 -5
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +13 -14
- 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 +82 -78
- 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 +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +201 -230
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +3 -3
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +2 -2
- 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 +61 -57
- 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 +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +2 -2
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/ClientAlias.js +37 -0
- package/src/main/js/sap/ushell/services/MessageBroker/ClientConnectionMessage.js +37 -0
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +463 -622
- package/src/main/js/sap/ushell/services/MessageBroker.js +127 -60
- package/src/main/js/sap/ushell/services/MessageInternal.js +2 -2
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +4 -4
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +2 -3
- package/src/main/js/sap/ushell/services/Navigation/utils.js +3 -3
- package/src/main/js/sap/ushell/services/Navigation.js +5 -5
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +21 -11
- package/src/main/js/sap/ushell/services/Notifications.js +1 -1
- package/src/main/js/sap/ushell/services/NotificationsV2.js +152 -109
- package/src/main/js/sap/ushell/services/PageBuilding.js +4 -2
- 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 +32 -32
- package/src/main/js/sap/ushell/services/Personalization.js +36 -32
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +6 -6
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +3 -3
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +4 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +4 -8
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +17 -15
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +3 -3
- 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 +22 -22
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +3 -3
- package/src/main/js/sap/ushell/services/SearchableContent.js +2 -2
- 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 +2 -3
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +5 -5
- package/src/main/js/sap/ushell/services/URLParsing.js +10 -10
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +20 -20
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +7 -7
- package/src/main/js/sap/ushell/services/UserInfo.js +4 -4
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +6 -6
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +18 -15
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +3 -3
- 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 +3 -3
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +2 -2
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +10 -10
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +8 -8
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +14 -14
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +2 -2
- package/src/main/js/sap/ushell/services/appstate/AppState.js +8 -8
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +3 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +7 -0
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +7 -24
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +1 -1
- package/src/main/js/sap/ushell/state/modules/Favicon.js +1 -1
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ActionMode.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +9 -9
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +6 -12
- package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Button2.js +74 -22
- package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/Icon.js +32 -15
- package/src/main/js/sap/ushell/thirdparty/Icons.js +149 -111
- package/src/main/js/sap/ushell/thirdparty/IllustratedMessage.js +1297 -0
- package/src/main/js/sap/ushell/thirdparty/Label.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/Link.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/List.js +55 -75
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +23 -11
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +64 -48
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +239 -74
- package/src/main/js/sap/ushell/thirdparty/Menu.js +14 -15
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +55 -21
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +14 -14
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +23 -14
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +94 -52
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +25 -8
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +4 -7
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +85 -51
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +308 -176
- package/src/main/js/sap/ushell/thirdparty/Tag.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/Text.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/Title.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +23 -23
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/WrappingType.js +24 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +5 -52
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +202 -178
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +145 -121
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +2 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +2 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +13 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +174 -717
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +837 -582
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en4.js +602 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +174 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +837 -582
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd4.js +596 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +174 -717
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +837 -582
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi4.js +602 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +3 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +174 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +837 -582
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc4.js +596 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +145 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +7 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +145 -19
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +144 -18
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +6 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +143 -17
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +6 -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.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 +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css27.js +7 -0
- 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 +110 -145
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +152 -104
- package/src/main/js/sap/ushell/thirdparty/information.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/overflow.js +16 -36
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +4 -1
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css3.js +8 -0
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +80 -67
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +14 -14
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +29 -29
- package/src/main/js/sap/ushell/ui/QuickAccess.js +22 -14
- package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -4
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +3 -3
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +4 -4
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +7 -7
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +4 -3
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +2 -3
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerUtils.js +1 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +7 -4
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +3 -2
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +20 -20
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +3 -3
- package/src/main/js/sap/ushell/ui/utils.js +6 -6
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +3 -0
- 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/CallbackQueue.js +114 -0
- package/src/main/js/sap/ushell/utils/Deferred.js +3 -3
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +6 -6
- package/src/main/js/sap/ushell/utils/HttpClient.js +68 -68
- package/src/main/js/sap/ushell/utils/LaunchpadError.js +21 -0
- package/src/main/js/sap/ushell/utils/UrlParsing.js +16 -17
- package/src/main/js/sap/ushell/utils/UrlShortening.js +2 -2
- package/src/main/js/sap/ushell/utils/WindowUtils.js +5 -3
- package/src/main/js/sap/ushell/utils/chipsUtils.js +7 -5
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +2 -2
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +9 -9
- package/src/main/js/sap/ushell/utils/utilsCdm.js +5 -6
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +15 -11
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +18 -19
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +11 -7
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils.js +45 -65
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +69 -70
- package/ui5.yaml +37 -16
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +0 -121
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +0 -631
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler.js +0 -59
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +0 -1541
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +0 -40
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +0 -7
- /package/src/main/js/sap/ushell/appIntegration/{PostMessageManager → PostMessageHandler}/ExtensionItems.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/
|
|
1
|
+
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/i18n-defaults2'], (function (webcomponentsBase, webcomponents, eventStrict, parametersBundle_css$1, parametersBundle_css, Icons, Icon, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function AvatarTemplate() {
|
|
4
4
|
return (parametersBundle_css.jsxs("div", { class: "ui5-avatar-root", tabindex: this.tabindex, "data-sap-focus-ref": true, role: this._role, "aria-haspopup": this._ariaHasPopup, "aria-label": this.accessibleNameText, onKeyUp: this._onkeyup, onKeyDown: this._onkeydown, onClick: this._onclick, children: [this._hasImage ?
|
|
@@ -8,9 +8,9 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
8
8
|
parametersBundle_css.jsx(Icon.Icon, { name: this.fallbackIcon, class: "ui5-avatar-icon ui5-avatar-icon-fallback" }))] }), parametersBundle_css.jsx("slot", { name: "badge" })] }));
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
12
|
-
Icons.p("@
|
|
13
|
-
var AvatarCss = `:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative;font-family:"72override",var(--sapFontFamily)}:host(:not([hidden]).ui5_hovered){opacity:.7}:host([interactive]:not([disabled])){cursor:pointer}:host([interactive]:not([hidden]):active){background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([interactive]:not([hidden]):not([disabled]):not(:active):not([focused]):hover){box-shadow:var(--ui5-v2-13-0-rc-0-avatar-hover-box-shadow-offset)}:host([interactive][desktop]:not([hidden])) .ui5-avatar-root:focus,:host([interactive]:not([hidden])) .ui5-avatar-root:focus-visible{outline:var(--_ui5-v2-13-0-rc-0_avatar_outline);outline-offset:var(--_ui5-v2-13-0-rc-0_avatar_focus_offset)}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:none}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v2-13-0-rc-0-avatar-initials-border);outline:none;color:var(--ui5-v2-13-0-rc-0-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%;border-radius:inherit}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_XS)}:host(:not([size])),:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_S);width:var(--_ui5-v2-13-0-rc-0_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_icon_XS);width:var(--_ui5-v2-13-0-rc-0_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_icon_S);width:var(--_ui5-v2-13-0-rc-0_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_icon_M);width:var(--_ui5-v2-13-0-rc-0_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_icon_L);width:var(--_ui5-v2-13-0-rc-0_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v2-13-0-rc-0_avatar_icon_XL);width:var(--_ui5-v2-13-0-rc-0_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v2-13-0-rc-0-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v2-13-0-rc-0-avatar-border-radius) - var(--ui5-v2-13-0-rc-0-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([color-scheme="Auto"]),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent6);color:var(--ui5-v2-13-0-rc-0-avatar-accent6-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent6-border-color)}:host([_color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_6_Hover_Background)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent1);color:var(--ui5-v2-13-0-rc-0-avatar-accent1-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent1-border-color)}:host([_color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_1_Hover_Background)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent2);color:var(--ui5-v2-13-0-rc-0-avatar-accent2-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent2-border-color)}:host([_color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_2_Hover_Background)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent3);color:var(--ui5-v2-13-0-rc-0-avatar-accent3-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent3-border-color)}:host([_color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_3_Hover_Background)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent4);color:var(--ui5-v2-13-0-rc-0-avatar-accent4-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent4-border-color)}:host([_color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_4_Hover_Background)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent5);color:var(--ui5-v2-13-0-rc-0-avatar-accent5-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent5-border-color)}:host([_color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_5_Hover_Background)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent7);color:var(--ui5-v2-13-0-rc-0-avatar-accent7-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent7-border-color)}:host([_color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_7_Hover_Background)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent8);color:var(--ui5-v2-13-0-rc-0-avatar-accent8-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent8-border-color)}:host([_color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_8_Hover_Background)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent9);color:var(--ui5-v2-13-0-rc-0-avatar-accent9-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent9-border-color)}:host([_color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_9_Hover_Background)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-accent10);color:var(--ui5-v2-13-0-rc-0-avatar-accent10-color);border-color:var(--ui5-v2-13-0-rc-0-avatar-accent10-border-color)}:host([_color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_10_Hover_Background)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v2-13-0-rc-0-avatar-placeholder);color:var(--ui5-v2-13-0-rc-0-avatar-placeholder-color);border-color:var(--sapAvatar_Lite_BorderColor)}:host([_has-image]){color:var(--ui5-v2-13-0-rc-0-avatar-accent10-color);border:var(--ui5-v2-13-0-rc-0-avatar-optional-border);background-color:transparent}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-fallback-icon-hidden{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapBackgroundColor);--_ui5-v2-13-0-rc-0-tag-height: 1.125rem}:host(:not([disabled])) ::slotted([slot="badge"]){pointer-events:initial}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem;--_ui5-v2-13-0-rc-0-tag-height: 1.25rem;--_ui5-v2-13-0-rc-0-tag-icon-width: .875rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){width:1.75rem;height:1.75rem;--_ui5-v2-13-0-rc-0-tag-height: 1.75rem;--_ui5-v2-13-0-rc-0-tag-icon-width: 1rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem}
|
|
11
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
12
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
13
|
+
var AvatarCss = `:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative;font-family:var(--sapFontFamily)}:host(:not([hidden]).ui5_hovered){opacity:.7}:host([interactive]:not([disabled])){cursor:pointer}:host([interactive]:not([hidden]):active){background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([interactive]:not([hidden]):not([disabled]):not(:active):not([focused]):hover){box-shadow:var(--ui5-v2-14-0-rc-7-avatar-hover-box-shadow-offset)}:host([interactive][desktop]:not([hidden])) .ui5-avatar-root:focus,:host([interactive]:not([hidden])) .ui5-avatar-root:focus-visible{outline:var(--_ui5-v2-14-0-rc-7_avatar_outline);outline-offset:var(--_ui5-v2-14-0-rc-7_avatar_focus_offset)}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:none}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v2-14-0-rc-7-avatar-initials-border);outline:none;color:var(--ui5-v2-14-0-rc-7-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%;border-radius:inherit}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_XS)}:host(:not([size])),:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_S);width:var(--_ui5-v2-14-0-rc-7_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_icon_XS);width:var(--_ui5-v2-14-0-rc-7_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_icon_S);width:var(--_ui5-v2-14-0-rc-7_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_icon_M);width:var(--_ui5-v2-14-0-rc-7_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_icon_L);width:var(--_ui5-v2-14-0-rc-7_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v2-14-0-rc-7_avatar_icon_XL);width:var(--_ui5-v2-14-0-rc-7_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v2-14-0-rc-7-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v2-14-0-rc-7-avatar-border-radius) - var(--ui5-v2-14-0-rc-7-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([color-scheme="Auto"]),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent6);color:var(--ui5-v2-14-0-rc-7-avatar-accent6-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent6-border-color)}:host([_color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_6_Hover_Background)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent1);color:var(--ui5-v2-14-0-rc-7-avatar-accent1-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent1-border-color)}:host([_color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_1_Hover_Background)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent2);color:var(--ui5-v2-14-0-rc-7-avatar-accent2-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent2-border-color)}:host([_color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_2_Hover_Background)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent3);color:var(--ui5-v2-14-0-rc-7-avatar-accent3-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent3-border-color)}:host([_color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_3_Hover_Background)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent4);color:var(--ui5-v2-14-0-rc-7-avatar-accent4-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent4-border-color)}:host([_color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_4_Hover_Background)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent5);color:var(--ui5-v2-14-0-rc-7-avatar-accent5-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent5-border-color)}:host([_color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_5_Hover_Background)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent7);color:var(--ui5-v2-14-0-rc-7-avatar-accent7-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent7-border-color)}:host([_color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_7_Hover_Background)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent8);color:var(--ui5-v2-14-0-rc-7-avatar-accent8-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent8-border-color)}:host([_color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_8_Hover_Background)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent9);color:var(--ui5-v2-14-0-rc-7-avatar-accent9-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent9-border-color)}:host([_color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_9_Hover_Background)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-accent10);color:var(--ui5-v2-14-0-rc-7-avatar-accent10-color);border-color:var(--ui5-v2-14-0-rc-7-avatar-accent10-border-color)}:host([_color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_10_Hover_Background)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v2-14-0-rc-7-avatar-placeholder);color:var(--ui5-v2-14-0-rc-7-avatar-placeholder-color);border-color:var(--sapAvatar_Lite_BorderColor)}:host([_color-scheme="Transparent"]),:host([ui5-avatar][color-scheme="Transparent"]){background-color:transparent;border-color:transparent}:host([_has-image]){color:var(--ui5-v2-14-0-rc-7-avatar-accent10-color);border:var(--ui5-v2-14-0-rc-7-avatar-optional-border);background-color:transparent}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-fallback-icon-hidden{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapBackgroundColor);--_ui5-v2-14-0-rc-7-tag-height: 1.125rem}:host(:not([disabled])) ::slotted([slot="badge"]){pointer-events:initial}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem;--_ui5-v2-14-0-rc-7-tag-height: 1.25rem;--_ui5-v2-14-0-rc-7-tag-icon-width: .875rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){width:1.75rem;height:1.75rem;--_ui5-v2-14-0-rc-7-tag-height: 1.75rem;--_ui5-v2-14-0-rc-7-tag-icon-width: 1rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem}
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -58,7 +58,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
58
58
|
const collection$1 = "SAP-icons-v4";
|
|
59
59
|
const packageName$1 = "@ui5/webcomponents-icons";
|
|
60
60
|
|
|
61
|
-
Icons.
|
|
61
|
+
Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
|
|
62
62
|
|
|
63
63
|
const name = "employee";
|
|
64
64
|
const pathData = "M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-55 29-99.5t77-67.5l-4-5q-19-17-28.5-40.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zm-163-95q0 32 22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83t-54.5 22.5T179 160zm51 181l-25-15q-13-7-13-19v-6q-34 17-55.5 49T115 422v7h115v-88zm167 81q0-40-21-72t-56-49v6q0 12-13 19l-26 15v88h116v-7zm-71-70q11 0 18.5 7.5T352 378t-7.5 18-18.5 7h-12q-11 0-18.5-7t-7.5-18 7.5-18.5T314 352h12z";
|
|
@@ -66,7 +66,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
66
66
|
const collection = "SAP-icons-v5";
|
|
67
67
|
const packageName = "@ui5/webcomponents-icons";
|
|
68
68
|
|
|
69
|
-
Icons.
|
|
69
|
+
Icons.y(name, { pathData, ltr, collection, packageName });
|
|
70
70
|
|
|
71
71
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
72
72
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -300,12 +300,12 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
300
300
|
if (webcomponentsBase.b$1(e)) {
|
|
301
301
|
this._fireClick();
|
|
302
302
|
}
|
|
303
|
-
if (webcomponentsBase.
|
|
303
|
+
if (webcomponentsBase.A(e)) {
|
|
304
304
|
e.preventDefault(); // prevent scrolling
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
_onkeyup(e) {
|
|
308
|
-
if (this._interactive && !e.shiftKey && webcomponentsBase.
|
|
308
|
+
if (this._interactive && !e.shiftKey && webcomponentsBase.A(e)) {
|
|
309
309
|
this._fireClick();
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -422,7 +422,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
422
422
|
webcomponentsBase.d()
|
|
423
423
|
], Avatar.prototype, "badge", void 0);
|
|
424
424
|
__decorate([
|
|
425
|
-
|
|
425
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
426
426
|
], Avatar, "i18nBundle", void 0);
|
|
427
427
|
Avatar = Avatar_1 = __decorate([
|
|
428
428
|
webcomponentsBase.m({
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/ushell/thirdparty/
|
|
2
|
-
|
|
3
|
-
const n=/^(?:a|area)$/i,a=/^(?:input|select|textarea|button)$/i,r=e=>{if(e.disabled)return false;const t=e.getAttribute("tabindex");return t!=null?parseInt(t)>=0:a.test(e.nodeName)||n.test(e.nodeName)&&!!e.href};
|
|
4
|
-
|
|
5
|
-
const c=e=>e.hasAttribute("data-ui5-focus-trap"),d=e=>{const l=getComputedStyle(e);return e.scrollHeight>e.clientHeight&&["scroll","auto"].indexOf(l.overflowY)>=0||e.scrollWidth>e.clientWidth&&["scroll","auto"].indexOf(l.overflowX)>=0},b=async(e,l)=>!e||ListItemBase.i(e)?null:m(e,true),H=async(e,l)=>!e||ListItemBase.i(e)?null:m(e,false),T=e=>e.hasAttribute("data-ui5-focus-redirect")||!ListItemBase.i(e),L=e=>{if(webcomponentsBase.v(e)){const l=e.getAttribute("tabindex");if(l!==null&&parseInt(l)<0)return true}return false},m=async(e,l,r$1)=>{let t,s,n=-1;e.shadowRoot?t=l?e.shadowRoot.firstChild:e.shadowRoot.lastChild:e instanceof HTMLSlotElement&&e.assignedNodes()?(s=e.assignedElements(),n=l?0:s.length-1,t=s[n]):t=l?e.firstElementChild:e.lastElementChild;let i;for(;t;){const u=t;if(!ListItemBase.i(u)&&!L(u)){if(webcomponentsBase.v(t)&&(await t._waitForDomRef(),t=t.getDomRef()),!t||ListItemBase.i(t))return null;if(t.nodeType===1&&T(t)&&!c(t)){if(r(t)||(i=await m(t,l),!Icons.h()&&!i&&d(t)))return t&&typeof t.focus=="function"?t:null;if(i)return i&&typeof i.focus=="function"?i:null}}t=l?u.nextElementSibling:u.previousElementSibling,s&&!s[n].contains(t)&&(n=l?n+1:n-1,t=s[n]);}return null};
|
|
1
|
+
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/Label', 'sap/ushell/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, parametersBundle_css$1, parametersBundle_css, Icons, willShowContent, Label, i18nDefaults) { 'use strict';
|
|
6
2
|
|
|
7
3
|
/**
|
|
8
4
|
* Different BusyIndicator text placements.
|
|
@@ -34,9 +30,9 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thir
|
|
|
34
30
|
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.text && (parametersBundle_css.jsx(Label, { id: `${this._id}-label`, class: "ui5-busy-indicator-text", children: this.text })) }));
|
|
35
31
|
}
|
|
36
32
|
|
|
37
|
-
Icons.p("
|
|
38
|
-
Icons.p("
|
|
39
|
-
var busyIndicatorCss = `:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v2-
|
|
33
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
34
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
35
|
+
var busyIndicatorCss = `:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v2-14-0-rc-7_busy_indicator_color)}:host([size="S"]) .ui5-busy-indicator-root{min-width:1.625rem;min-height:.5rem}:host([size="S"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:1.75rem}:host([size="S"]) .ui5-busy-indicator-circle{width:.5rem;height:.5rem}:host([size="S"]) .ui5-busy-indicator-circle:first-child,:host([size="S"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.0625rem}:host(:not([size])) .ui5-busy-indicator-root,:host([size="M"]) .ui5-busy-indicator-root{min-width:3.375rem;min-height:1rem}:host([size="M"]) .ui5-busy-indicator-circle:first-child,:host([size="M"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.1875rem}:host(:not([size])[text]:not([text=""])) .ui5-busy-indicator-root,:host([size="M"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:2.25rem}:host(:not([size])) .ui5-busy-indicator-circle,:host([size="M"]) .ui5-busy-indicator-circle{width:1rem;height:1rem}:host([size="L"]) .ui5-busy-indicator-root{min-width:6.5rem;min-height:2rem}:host([size="L"]) .ui5-busy-indicator-circle:first-child,:host([size="L"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.25rem}:host([size="L"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:3.25rem}:host([size="L"]) .ui5-busy-indicator-circle{width:2rem;height:2rem}.ui5-busy-indicator-root{display:flex;justify-content:center;align-items:center;position:relative;background-color:inherit;height:inherit;border-radius:inherit}.ui5-busy-indicator-busy-area.ui5-busy-indicator-busy-area-over-content{position:absolute;inset:0;z-index:99}.ui5-busy-indicator-busy-area{display:flex;justify-content:center;align-items:center;background-color:inherit;flex-direction:column;border-radius:inherit}:host([active]) ::slotted(*){opacity:var(--sapContent_DisabledOpacity)}:host([desktop]) .ui5-busy-indicator-busy-area:focus,.ui5-busy-indicator-busy-area:focus-visible{outline:var(--_ui5-v2-14-0-rc-7_busy_indicator_focus_outline);outline-offset:-2px}.ui5-busy-indicator-circles-wrapper{line-height:0}.ui5-busy-indicator-circle{display:inline-block;background-color:currentColor;border-radius:50%}.ui5-busy-indicator-circle:before{content:"";width:100%;height:100%;border-radius:100%}.circle-animation-0{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11)}.circle-animation-1{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.2s}.circle-animation-2{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.4s}.ui5-busy-indicator-text{width:100%;text-align:center}:host([text-placement="Top"]) .ui5-busy-indicator-text{margin-bottom:.5rem}:host(:not([text-placement])) .ui5-busy-indicator-text,:host([text-placement="Bottom"]) .ui5-busy-indicator-text{margin-top:.5rem}@keyframes grow{0%,50%,to{-webkit-transform:scale(.5);-moz-transform:scale(.5);transform:scale(.5)}25%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}
|
|
40
36
|
`;
|
|
41
37
|
|
|
42
38
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -177,7 +173,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thir
|
|
|
177
173
|
}
|
|
178
174
|
e.stopImmediatePropagation();
|
|
179
175
|
// move the focus to the last element in this DOM and let TAB continue to the next focusable element
|
|
180
|
-
if (webcomponentsBase.
|
|
176
|
+
if (webcomponentsBase.x(e)) {
|
|
181
177
|
this.focusForward = true;
|
|
182
178
|
this.shadowRoot.querySelector("[data-ui5-focus-redirect]").focus();
|
|
183
179
|
this.focusForward = false;
|
|
@@ -218,7 +214,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thir
|
|
|
218
214
|
webcomponentsBase.s({ type: Boolean })
|
|
219
215
|
], BusyIndicator.prototype, "_isBusy", void 0);
|
|
220
216
|
__decorate([
|
|
221
|
-
|
|
217
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents")
|
|
222
218
|
], BusyIndicator, "i18nBundle", void 0);
|
|
223
219
|
BusyIndicator = BusyIndicator_1 = __decorate([
|
|
224
220
|
webcomponentsBase.m({
|
|
@@ -233,7 +229,5 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thir
|
|
|
233
229
|
var BusyIndicator$1 = BusyIndicator;
|
|
234
230
|
|
|
235
231
|
exports.BusyIndicator = BusyIndicator$1;
|
|
236
|
-
exports.H = H;
|
|
237
|
-
exports.b = b;
|
|
238
232
|
|
|
239
233
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/
|
|
1
|
+
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Label'], (function (webcomponentsBase, webcomponents, eventStrict, parametersBundle_css, parametersBundle_css$1, AccessibilityTextsHelper, Icons, willShowContent, Button, toLowercaseEnumValue, i18nDefaults, Icon, BusyIndicator, Label) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/
|
|
1
|
+
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, webcomponents, eventStrict, parametersBundle_css$1, parametersBundle_css, AccessibilityTextsHelper, Icons, willShowContent, toLowercaseEnumValue, Icon, BusyIndicator, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
|
-
let e;const l=()=>(e===void 0&&(e=Icons.
|
|
3
|
+
let e;const l=()=>(e===void 0&&(e=Icons.b()),e);
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Different Button designs.
|
|
@@ -92,21 +92,46 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
92
92
|
})(ButtonBadgeDesign || (ButtonBadgeDesign = {}));
|
|
93
93
|
var ButtonBadgeDesign$1 = ButtonBadgeDesign;
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* Different BusyIndicator sizes.
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
var BusyIndicatorSize;
|
|
100
|
+
(function (BusyIndicatorSize) {
|
|
101
|
+
/**
|
|
102
|
+
* small size
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
BusyIndicatorSize["S"] = "S";
|
|
106
|
+
/**
|
|
107
|
+
* medium size
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
BusyIndicatorSize["M"] = "M";
|
|
111
|
+
/**
|
|
112
|
+
* large size
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
BusyIndicatorSize["L"] = "L";
|
|
116
|
+
})(BusyIndicatorSize || (BusyIndicatorSize = {}));
|
|
117
|
+
var BusyIndicatorSize$1 = BusyIndicatorSize;
|
|
118
|
+
|
|
95
119
|
function ButtonTemplate(injectedProps) {
|
|
96
|
-
return (parametersBundle_css.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
120
|
+
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsxs("button", { type: "button", class: {
|
|
121
|
+
"ui5-button-root": true,
|
|
122
|
+
"ui5-button-badge-placement-end": this.badge[0]?.design === "InlineText",
|
|
123
|
+
"ui5-button-badge-placement-end-top": this.badge[0]?.design === "OverlayText",
|
|
124
|
+
"ui5-button-badge-dot": this.badge[0]?.design === "AttentionDot"
|
|
125
|
+
}, disabled: this.disabled, "data-sap-focus-ref": true, "aria-pressed": injectedProps?.ariaPressed, "aria-valuemin": injectedProps?.ariaValueMin, "aria-valuemax": injectedProps?.ariaValueMax, "aria-valuenow": injectedProps?.ariaValueNow, "aria-valuetext": injectedProps?.ariaValueText, onFocusOut: this._onfocusout, onClick: this._onclick, onMouseDown: this._onmousedown, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onTouchStart: this._ontouchstart, onTouchEnd: this._ontouchend, tabindex: this.tabIndexValue, "aria-expanded": this.accessibilityAttributes.expanded, "aria-controls": this.accessibilityAttributes.controls, "aria-haspopup": this._hasPopup, "aria-label": this.ariaLabelText, "aria-description": this.ariaDescriptionText, "aria-busy": this.loading ? "true" : undefined, title: this.buttonTitle, part: "button", role: this.effectiveAccRole, children: [this.icon &&
|
|
126
|
+
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-button-icon", name: this.icon, mode: "Decorative", part: "icon" }), parametersBundle_css.jsx("span", { id: `${this._id}-content`, class: "ui5-button-text", children: parametersBundle_css.jsx("bdi", { children: parametersBundle_css.jsx("slot", {}) }) }), this.endIcon &&
|
|
127
|
+
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-button-end-icon", name: this.endIcon, mode: "Decorative", part: "endIcon" }), this.shouldRenderBadge &&
|
|
128
|
+
parametersBundle_css.jsx("slot", { name: "badge" })] }), this.loading &&
|
|
129
|
+
parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-button-busy-indicator`, class: "ui5-button-busy-indicator", size: this.iconOnly ? BusyIndicatorSize$1.S : BusyIndicatorSize$1.M, active: true, delay: this.loadingDelay, inert: this.loading })] }));
|
|
105
130
|
}
|
|
106
131
|
|
|
107
|
-
Icons.p("
|
|
108
|
-
Icons.p("
|
|
109
|
-
var buttonCss = `:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5-v2-13-0-rc-0_button_base_min_width);height:var(--_ui5-v2-13-0-rc-0_button_base_height);line-height:normal;font-family:var(--_ui5-v2-13-0-rc-0_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v2-13-0-rc-0_button_text_shadow);border-radius:var(--_ui5-v2-13-0-rc-0_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v2-13-0-rc-0_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5-v2-13-0-rc-0_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5-v2-13-0-rc-0_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5-v2-13-0-rc-0_button_base_min_width) - var(--_ui5-v2-13-0-rc-0_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([active])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-13-0-rc-0_button_focused_border);border-radius:var(--_ui5-v2-13-0-rc-0_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5-v2-13-0-rc-0_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-13-0-rc-0_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-13-0-rc-0_button_emphasized_focused_border_before);border-radius:var(--_ui5-v2-13-0-rc-0_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v2-13-0-rc-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapButton_Emphasized_FontFamily)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v2-13-0-rc-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-13-0-rc-0_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-13-0-rc-0_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-13-0-rc-0_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5-v2-13-0-rc-0_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v2-13-0-rc-0_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5-v2-13-0-rc-0_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v2-13-0-rc-0_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:"72override",var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-v2-13-0-rc-0-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1000;font-family:"72override",var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);--_ui5-v2-13-0-rc-0-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1000}:host(:state(has-overlay-badge)){overflow:visible;margin-inline-end:.3125rem}
|
|
132
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
133
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
134
|
+
var buttonCss = `:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5-v2-14-0-rc-7_button_base_min_width);height:var(--_ui5-v2-14-0-rc-7_button_base_height);line-height:normal;font-family:var(--_ui5-v2-14-0-rc-7_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v2-14-0-rc-7_button_text_shadow);border-radius:var(--_ui5-v2-14-0-rc-7_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v2-14-0-rc-7_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5-v2-14-0-rc-7_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5-v2-14-0-rc-7_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5-v2-14-0-rc-7_button_base_min_width) - var(--_ui5-v2-14-0-rc-7_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([loading])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-14-0-rc-7_button_focused_border);border-radius:var(--_ui5-v2-14-0-rc-7_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5-v2-14-0-rc-7_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-14-0-rc-7_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-14-0-rc-7_button_emphasized_focused_border_before);border-radius:var(--_ui5-v2-14-0-rc-7_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v2-14-0-rc-7_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapButton_Emphasized_FontFamily)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v2-14-0-rc-7_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-14-0-rc-7_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-14-0-rc-7_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-14-0-rc-7_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5-v2-14-0-rc-7_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v2-14-0-rc-7_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5-v2-14-0-rc-7_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v2-14-0-rc-7_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-v2-14-0-rc-7-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);--_ui5-v2-14-0-rc-7-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1}:host(:state(has-overlay-badge)){overflow:visible;margin-inline-end:.3125rem}:host([loading]){position:relative;pointer-events:unset}:host([loading]) .ui5-button-root{opacity:var(--sapContent_DisabledOpacity)}:host([loading][design="Emphasized"]){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover) .ui5-button-root,:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered) .ui5-button-root{background-color:var(--sapButton_Emphasized_Hover_Background)}:host([loading][design="Emphasized"]) .ui5-button-root{background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor)}.ui5-button-busy-indicator{position:absolute;height:100%;width:100%;top:0}
|
|
110
135
|
`;
|
|
111
136
|
|
|
112
137
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -240,6 +265,22 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
240
265
|
* @private
|
|
241
266
|
*/
|
|
242
267
|
this.nonInteractive = false;
|
|
268
|
+
/**
|
|
269
|
+
* Defines whether the button shows a loading indicator.
|
|
270
|
+
*
|
|
271
|
+
* **Note:** If set to `true`, a busy indicator component will be displayed on the related button.
|
|
272
|
+
* @default false
|
|
273
|
+
* @public
|
|
274
|
+
* @since 2.13.0
|
|
275
|
+
*/
|
|
276
|
+
this.loading = false;
|
|
277
|
+
/**
|
|
278
|
+
* Specifies the delay in milliseconds before the loading indicator appears within the associated button.
|
|
279
|
+
* @default 1000
|
|
280
|
+
* @public
|
|
281
|
+
* @since 2.13.0
|
|
282
|
+
*/
|
|
283
|
+
this.loadingDelay = 1000;
|
|
243
284
|
/**
|
|
244
285
|
* @private
|
|
245
286
|
*/
|
|
@@ -319,6 +360,10 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
319
360
|
if (this.nonInteractive) {
|
|
320
361
|
return;
|
|
321
362
|
}
|
|
363
|
+
if (this.loading) {
|
|
364
|
+
e.preventDefault();
|
|
365
|
+
return;
|
|
366
|
+
}
|
|
322
367
|
const { altKey, ctrlKey, metaKey, shiftKey, } = e;
|
|
323
368
|
const prevented = !this.fireDecoratorEvent("click", {
|
|
324
369
|
originalEvent: e,
|
|
@@ -335,7 +380,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
335
380
|
webcomponentsBase.i$1(this);
|
|
336
381
|
}
|
|
337
382
|
if (this._isReset) {
|
|
338
|
-
webcomponentsBase.m$
|
|
383
|
+
webcomponentsBase.m$1(this);
|
|
339
384
|
}
|
|
340
385
|
if (Icons.h()) {
|
|
341
386
|
this.getDomRef()?.focus();
|
|
@@ -349,7 +394,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
349
394
|
activeButton = this; // eslint-disable-line
|
|
350
395
|
}
|
|
351
396
|
_ontouchend(e) {
|
|
352
|
-
if (this.disabled) {
|
|
397
|
+
if (this.disabled || this.loading) {
|
|
353
398
|
e.preventDefault();
|
|
354
399
|
e.stopPropagation();
|
|
355
400
|
}
|
|
@@ -361,8 +406,8 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
361
406
|
}
|
|
362
407
|
}
|
|
363
408
|
_onkeydown(e) {
|
|
364
|
-
this._cancelAction = webcomponentsBase.
|
|
365
|
-
if (webcomponentsBase.
|
|
409
|
+
this._cancelAction = webcomponentsBase.Ko(e) || webcomponentsBase.m$2(e);
|
|
410
|
+
if (webcomponentsBase.A(e) || webcomponentsBase.b$1(e)) {
|
|
366
411
|
this._setActiveState(true);
|
|
367
412
|
}
|
|
368
413
|
else if (this._cancelAction) {
|
|
@@ -373,7 +418,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
373
418
|
if (this._cancelAction) {
|
|
374
419
|
e.preventDefault();
|
|
375
420
|
}
|
|
376
|
-
if (webcomponentsBase.
|
|
421
|
+
if (webcomponentsBase.A(e) || webcomponentsBase.b$1(e)) {
|
|
377
422
|
if (this.active) {
|
|
378
423
|
this._setActiveState(false);
|
|
379
424
|
}
|
|
@@ -389,7 +434,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
389
434
|
}
|
|
390
435
|
_setActiveState(active) {
|
|
391
436
|
const eventPrevented = !this.fireDecoratorEvent("active-state-change");
|
|
392
|
-
if (eventPrevented) {
|
|
437
|
+
if (eventPrevented || this.loading) {
|
|
393
438
|
return;
|
|
394
439
|
}
|
|
395
440
|
this.active = active;
|
|
@@ -434,10 +479,11 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
434
479
|
return this.nonInteractive ? -1 : Number.parseInt(this.forcedTabIndex);
|
|
435
480
|
}
|
|
436
481
|
get ariaLabelText() {
|
|
482
|
+
const textContent = this.textContent || "";
|
|
437
483
|
const ariaLabelText = AccessibilityTextsHelper.A(this) || "";
|
|
438
484
|
const typeLabelText = this.hasButtonType ? this.buttonTypeText : "";
|
|
439
485
|
const internalLabelText = this.effectiveBadgeDescriptionText || "";
|
|
440
|
-
const labelParts = [ariaLabelText, typeLabelText, internalLabelText].filter(part => part);
|
|
486
|
+
const labelParts = [textContent, ariaLabelText, typeLabelText, internalLabelText].filter(part => part);
|
|
441
487
|
return labelParts.join(" ");
|
|
442
488
|
}
|
|
443
489
|
get ariaDescriptionText() {
|
|
@@ -521,6 +567,12 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
521
567
|
__decorate([
|
|
522
568
|
webcomponentsBase.s({ type: Boolean })
|
|
523
569
|
], Button.prototype, "nonInteractive", void 0);
|
|
570
|
+
__decorate([
|
|
571
|
+
webcomponentsBase.s({ type: Boolean })
|
|
572
|
+
], Button.prototype, "loading", void 0);
|
|
573
|
+
__decorate([
|
|
574
|
+
webcomponentsBase.s({ type: Number })
|
|
575
|
+
], Button.prototype, "loadingDelay", void 0);
|
|
524
576
|
__decorate([
|
|
525
577
|
webcomponentsBase.s({ noAttribute: true })
|
|
526
578
|
], Button.prototype, "buttonTitle", void 0);
|
|
@@ -543,7 +595,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
543
595
|
webcomponentsBase.d({ type: HTMLElement, invalidateOnChildChange: true })
|
|
544
596
|
], Button.prototype, "badge", void 0);
|
|
545
597
|
__decorate([
|
|
546
|
-
|
|
598
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents")
|
|
547
599
|
], Button, "i18nBundle", void 0);
|
|
548
600
|
Button = Button_1 = __decorate([
|
|
549
601
|
webcomponentsBase.m({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
sap.ui.define(['exports', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/Icons'], (function (exports, ListItemBase, webcomponentsBase, Icons) { 'use strict';
|
|
2
|
+
|
|
3
|
+
const n=/^(?:a|area)$/i,a=/^(?:input|select|textarea|button)$/i,r=e=>{if(e.disabled)return false;const t=e.getAttribute("tabindex");return t!=null?parseInt(t)>=0:a.test(e.nodeName)||n.test(e.nodeName)&&!!e.href};
|
|
4
|
+
|
|
5
|
+
const c=e=>e.hasAttribute("data-ui5-focus-trap"),d=e=>{const l=getComputedStyle(e);return e.scrollHeight>e.clientHeight&&["scroll","auto"].indexOf(l.overflowY)>=0||e.scrollWidth>e.clientWidth&&["scroll","auto"].indexOf(l.overflowX)>=0},b=async(e,l)=>!e||ListItemBase.i(e)?null:u(e,true),H=async(e,l)=>!e||ListItemBase.i(e)?null:u(e,false),T=e=>e.hasAttribute("data-ui5-focus-redirect")||!ListItemBase.i(e),L=e=>{if(webcomponentsBase.v(e)){const l=e.getAttribute("tabindex");if(l!==null&&parseInt(l)<0)return true}return false},u=async(e,l,r$1)=>{let t,s,n=-1;e.shadowRoot?t=l?e.shadowRoot.firstElementChild:e.shadowRoot.lastElementChild:e instanceof HTMLSlotElement&&e.assignedNodes()?(s=e.assignedElements(),n=l?0:s.length-1,t=s[n]):t=l?e.firstElementChild:e.lastElementChild;let i;for(;t;){const m=t;if(!ListItemBase.i(m)&&!L(m)){if(webcomponentsBase.v(t)&&(await t._waitForDomRef(),t=t.getDomRef()),!t||ListItemBase.i(t))return null;if(t.nodeType===1&&T(t)&&!c(t)){if(r(t)||(i=await u(t,l),!Icons.h()&&!i&&d(t)))return t&&typeof t.focus=="function"?t:null;if(i)return i&&typeof i.focus=="function"?i:null}}t=l?m.nextElementSibling:m.previousElementSibling,s&&!s[n].contains(t)&&(n=l?n+1:n-1,t=s[n]);}return null};
|
|
6
|
+
|
|
7
|
+
exports.H = H;
|
|
8
|
+
exports.b = b;
|
|
9
|
+
|
|
10
|
+
}));
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/
|
|
1
|
+
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/parameters-bundle.css'], (function (exports, webcomponentsBase, parametersBundle_css, eventStrict, Icons, parametersBundle_css$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function IconTemplate() {
|
|
4
4
|
return (parametersBundle_css.jsxs("svg", { class: "ui5-icon-root", part: "root", tabindex: this._tabIndex, dir: this._dir, viewBox: this.viewBox, role: this.effectiveAccessibleRole, focusable: "false", preserveAspectRatio: "xMidYMid meet", "aria-label": this.effectiveAccessibleName, "aria-hidden": this.effectiveAriaHidden, xmlns: "http://www.w3.org/2000/svg", onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, children: [this.hasIconTooltip &&
|
|
5
|
-
parametersBundle_css.jsxs("title", { id: `${this._id}-tooltip`, children: [" ", this.effectiveAccessibleName, " "] }), parametersBundle_css.
|
|
6
|
-
|
|
5
|
+
parametersBundle_css.jsxs("title", { id: `${this._id}-tooltip`, children: [" ", this.effectiveAccessibleName, " "] }), parametersBundle_css.jsx("g", { role: "presentation", children: content.call(this) })] }));
|
|
6
|
+
}
|
|
7
|
+
function content() {
|
|
8
|
+
if (this.customTemplate) {
|
|
9
|
+
return this.customTemplate;
|
|
10
|
+
}
|
|
11
|
+
if (this.customTemplateAsString) {
|
|
12
|
+
return parametersBundle_css.jsx("g", { dangerouslySetInnerHTML: { __html: this.customTemplateAsString } });
|
|
13
|
+
}
|
|
14
|
+
return this.pathData.map(path => (parametersBundle_css.jsx("path", { d: path })));
|
|
7
15
|
}
|
|
8
16
|
|
|
9
17
|
/**
|
|
@@ -36,9 +44,9 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
36
44
|
})(IconMode || (IconMode = {}));
|
|
37
45
|
var IconMode$1 = IconMode;
|
|
38
46
|
|
|
39
|
-
Icons.p("
|
|
40
|
-
Icons.p("
|
|
41
|
-
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-
|
|
47
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
48
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
49
|
+
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-14-0-rc-7-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5-v2-14-0-rc-7_icon_transform_scale);transform-origin:center}
|
|
42
50
|
`;
|
|
43
51
|
|
|
44
52
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -159,12 +167,12 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
159
167
|
if (webcomponentsBase.b$1(e)) {
|
|
160
168
|
this.fireDecoratorEvent("click");
|
|
161
169
|
}
|
|
162
|
-
if (webcomponentsBase.
|
|
170
|
+
if (webcomponentsBase.A(e)) {
|
|
163
171
|
e.preventDefault(); // prevent scrolling
|
|
164
172
|
}
|
|
165
173
|
}
|
|
166
174
|
_onkeyup(e) {
|
|
167
|
-
if (this.mode === IconMode$1.Interactive && webcomponentsBase.
|
|
175
|
+
if (this.mode === IconMode$1.Interactive && webcomponentsBase.A(e)) {
|
|
168
176
|
this.fireDecoratorEvent("click");
|
|
169
177
|
}
|
|
170
178
|
}
|
|
@@ -200,7 +208,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
200
208
|
if (!name) {
|
|
201
209
|
return;
|
|
202
210
|
}
|
|
203
|
-
let iconData = Icons.
|
|
211
|
+
let iconData = Icons.D(name);
|
|
204
212
|
if (!iconData) {
|
|
205
213
|
iconData = await Icons.n(name);
|
|
206
214
|
}
|
|
@@ -215,13 +223,17 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
215
223
|
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "sap/ushell/gen/ui5/webcomponents-icons/dist/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "sap/ushell/gen/ui5/webcomponents-icons/dist/AllIcons.js".`);
|
|
216
224
|
}
|
|
217
225
|
this.viewBox = iconData.viewBox || "0 0 512 512";
|
|
218
|
-
if (iconData.customTemplate) {
|
|
219
|
-
|
|
220
|
-
|
|
226
|
+
if ("customTemplate" in iconData && iconData.customTemplate) {
|
|
227
|
+
this.customTemplate = webcomponentsBase.n$1(iconData.customTemplate, this);
|
|
228
|
+
}
|
|
229
|
+
if ("customTemplateAsString" in iconData) {
|
|
230
|
+
this.customTemplateAsString = iconData.customTemplateAsString;
|
|
221
231
|
}
|
|
222
232
|
// in case a new valid name is set, show the icon
|
|
223
233
|
this.invalid = false;
|
|
224
|
-
|
|
234
|
+
if ("pathData" in iconData && iconData.pathData) {
|
|
235
|
+
this.pathData = Array.isArray(iconData.pathData) ? iconData.pathData : [iconData.pathData];
|
|
236
|
+
}
|
|
225
237
|
this.accData = iconData.accData;
|
|
226
238
|
this.ltr = iconData.ltr;
|
|
227
239
|
this.packageName = iconData.packageName;
|
|
@@ -229,8 +241,13 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
229
241
|
this.effectiveAccessibleName = this.accessibleName;
|
|
230
242
|
}
|
|
231
243
|
else if (this.accData) {
|
|
232
|
-
|
|
233
|
-
|
|
244
|
+
if (this.packageName) {
|
|
245
|
+
const i18nBundle = await Icons.f$2(this.packageName);
|
|
246
|
+
this.effectiveAccessibleName = i18nBundle.getText(this.accData) || undefined;
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
this.effectiveAccessibleName = this.accData?.defaultText || undefined;
|
|
250
|
+
}
|
|
234
251
|
}
|
|
235
252
|
else {
|
|
236
253
|
this.effectiveAccessibleName = undefined;
|