@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(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/
|
|
1
|
+
sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/ListItemAdditionalText.css', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/List', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/Label', 'sap/ushell/thirdparty/ResponsivePopover', 'sap/ushell/thirdparty/slim-arrow-down', 'sap/ushell/thirdparty/Title', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/encodeXML', 'sap/ushell/thirdparty/information2', 'sap/ushell/thirdparty/sys-enter-2', 'sap/ushell/thirdparty/parameters-bundle.css3', 'sap/ushell/thirdparty/i18n-defaults'], (function (require, exports, webcomponentsBase, webcomponents, webcomponentsFiori, eventStrict, Icons, parametersBundle_css, Button, Icon, ListItemBase, parametersBundle_css$1, ListItemAdditionalText_css, AccessibilityTextsHelper, ValueState, information, List, i18nDefaults, Label, ResponsivePopover, slimArrowDown, Title, BusyIndicator, encodeXML, information$1, sysEnter2, parametersBundle_css$2, i18nDefaults$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function ListItemBaseTemplate(hooks, injectedProps) {
|
|
4
4
|
const listItemContent = hooks?.listItemContent || defaultListItemContent;
|
|
@@ -17,14 +17,14 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
17
17
|
parametersBundle_css.jsx("span", { part: "additional-text", class: "ui5-li-additional-text", children: this.additionalText })] })] }));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
Icons.p("
|
|
21
|
-
Icons.p("
|
|
22
|
-
var optionBaseCss = `:host{height:var(--_ui5-v2-
|
|
20
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
21
|
+
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);
|
|
22
|
+
var optionBaseCss = `:host{height:var(--_ui5-v2-14-0-rc-7_list_item_dropdown_base_height);--_ui5-v2-14-0-rc-7_list_item_title_size: var(--sapFontSize)}
|
|
23
23
|
`;
|
|
24
24
|
|
|
25
|
-
Icons.p("
|
|
26
|
-
Icons.p("
|
|
27
|
-
var listItemIconCss = `.ui5-li-icon{color:var(--sapList_TextColor);min-width:var(--_ui5-v2-
|
|
25
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
26
|
+
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);
|
|
27
|
+
var listItemIconCss = `.ui5-li-icon{color:var(--sapList_TextColor);min-width:var(--_ui5-v2-14-0-rc-7_list_item_icon_size);min-height:var(--_ui5-v2-14-0-rc-7_list_item_icon_size);padding-inline-end:var(--_ui5-v2-14-0-rc-7_list_item_icon_padding-inline-end)}
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -80,7 +80,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
80
80
|
template: OptionTemplate,
|
|
81
81
|
styles: [
|
|
82
82
|
ListItemBase.ListItemBase.styles,
|
|
83
|
-
|
|
83
|
+
ListItemAdditionalText_css.listItemAdditionalTextCss,
|
|
84
84
|
listItemIconCss,
|
|
85
85
|
optionBaseCss,
|
|
86
86
|
],
|
|
@@ -93,11 +93,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
93
93
|
|
|
94
94
|
function SelectPopoverTemplate() {
|
|
95
95
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [this.options.length > 0 &&
|
|
96
|
-
parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { class: {
|
|
96
|
+
parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: this.responsivePopoverId, class: {
|
|
97
97
|
"ui5-select-popover": true,
|
|
98
98
|
...this.classes.popover
|
|
99
99
|
}, part: "popover", style: this.styles.responsivePopover, placement: "Bottom", horizontalAlign: "Start", hideArrow: true, preventInitialFocus: true, onOpen: this._afterOpen, onBeforeOpen: this._beforeOpen, onClose: this._afterClose, onKeyDown: this._onkeydown, children: [this._isPhone &&
|
|
100
|
-
parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-responsive-popover-header", children: [parametersBundle_css.jsxs("div", { class: "row", children: [parametersBundle_css.jsx(
|
|
100
|
+
parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-responsive-popover-header", children: [parametersBundle_css.jsxs("div", { class: "row", children: [parametersBundle_css.jsx(Title.Title, { children: this._headerTitleText }), parametersBundle_css.jsx(Button.Button, { class: "ui5-responsive-popover-close-btn", icon: information.decline, design: "Transparent", onClick: this._toggleRespPopover })] }), this.hasValueStateText &&
|
|
101
101
|
parametersBundle_css.jsx("div", { class: {
|
|
102
102
|
"row": true,
|
|
103
103
|
"ui5-select-value-state-dialog-header": true,
|
|
@@ -117,7 +117,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
117
117
|
"ui5-select-root": true,
|
|
118
118
|
"ui5-input-focusable-element": true,
|
|
119
119
|
}, id: `${this._id}-select`, onClick: this._onclick, title: this.tooltip, children: [!this.icon && this.selectedOptionIcon &&
|
|
120
|
-
parametersBundle_css.jsx(Icon.Icon, { mode: "Decorative", class: "ui5-select-option-icon", name: this.selectedOptionIcon }), parametersBundle_css.jsx("div", { class: "ui5-select-label-root", "data-sap-focus-ref": true, tabindex: this._effectiveTabIndex, role: "combobox", "aria-haspopup": "listbox", "aria-label": this.ariaLabelText,
|
|
120
|
+
parametersBundle_css.jsx(Icon.Icon, { mode: "Decorative", class: "ui5-select-option-icon", name: this.selectedOptionIcon }), parametersBundle_css.jsx("div", { class: "ui5-select-label-root", "data-sap-focus-ref": true, tabindex: this._effectiveTabIndex, role: "combobox", "aria-haspopup": "listbox", "aria-label": this.ariaLabelText, ...this.ariaDescribedByIds && {
|
|
121
|
+
"aria-describedby": this.ariaDescribedByIds
|
|
122
|
+
}, "aria-disabled": this.isDisabled, "aria-required": this.required, "aria-readonly": this.readonly, "aria-expanded": this._isPickerOpen, "aria-roledescription": this._ariaRoleDescription, onKeyDown: this._onkeydown, onKeyPress: this._handleKeyboardNavigation, onKeyUp: this._onkeyup, onFocusIn: this._onfocusin, onFocusOut: this._onfocusout, "aria-controls": this.responsivePopoverId, children: this.hasCustomLabel
|
|
121
123
|
? parametersBundle_css.jsx("slot", { name: "label" })
|
|
122
124
|
: this.text }), this.icon &&
|
|
123
125
|
parametersBundle_css.jsx("div", { class: {
|
|
@@ -127,34 +129,35 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
127
129
|
}, children: parametersBundle_css.jsx(Icon.Icon, { name: this.icon, class: {
|
|
128
130
|
"ui5-select-icon": true,
|
|
129
131
|
} }) }), !this.icon && !this.readonly &&
|
|
130
|
-
parametersBundle_css.jsx("div", { class: {
|
|
132
|
+
parametersBundle_css.jsx("div", { part: "icon-wrapper", class: {
|
|
131
133
|
"ui5-select-icon-root": true,
|
|
132
134
|
"inputIcon": true,
|
|
133
135
|
"inputIcon--pressed": this._iconPressed,
|
|
134
136
|
}, children: parametersBundle_css.jsx(Icon.Icon, { part: "icon", name: slimArrowDown.slimArrowDown, class: {
|
|
135
137
|
"ui5-select-icon": true,
|
|
136
138
|
} }) }), this.hasValueState &&
|
|
137
|
-
parametersBundle_css.jsx("span", { id: `${this._id}-valueStateDesc`, class: "ui5-hidden-text", children: this.valueStateText })
|
|
139
|
+
parametersBundle_css.jsx("span", { id: `${this._id}-valueStateDesc`, class: "ui5-hidden-text", children: this.valueStateText }), this.ariaDescriptionText &&
|
|
140
|
+
parametersBundle_css.jsx("span", { id: "accessibleDescription", class: "ui5-hidden-text", children: this.ariaDescriptionText })] }), SelectPopoverTemplate.call(this)] }));
|
|
138
141
|
}
|
|
139
142
|
|
|
140
|
-
Icons.p("
|
|
141
|
-
Icons.p("
|
|
142
|
-
var selectCss = `: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}.inputIcon{color:var(--_ui5-v2-13-0-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-13-0-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v2-13-0-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-13-0-rc-0_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);color:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);color:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-13-0-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-13-0-rc-0_input_width);min-width:calc(var(--_ui5-v2-13-0-rc-0_input_min_width) + (var(--_ui5-v2-13-0-rc-0-input-icons-count)*var(--_ui5-v2-13-0-rc-0_input_icon_width)));margin:var(--_ui5-v2-13-0-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v2-13-0-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-13-0-rc-0-input-border);border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-13-0-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-13-0-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-13-0-rc-0_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5-v2-13-0-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-13-0-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v2-13-0-rc-0_input_focus_border_radius);top:var(--_ui5-v2-13-0-rc-0_input_focus_offset);bottom:var(--_ui5-v2-13-0-rc-0_input_focus_offset);left:var(--_ui5-v2-13-0-rc-0_input_focus_offset);right:var(--_ui5-v2-13-0-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);left:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);right:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5-v2-13-0-rc-0_input_bottom_border_height);transition:var(--_ui5-v2-13-0-rc-0_input_transition);background-color:var(--_ui5-v2-13-0-rc-0_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-13-0-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-13-0-rc-0-input_disabled_background);border-color:var(--_ui5-v2-13-0-rc-0_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5-v2-13-0-rc-0_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v2-13-0-rc-0_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v2-13-0-rc-0-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5-v2-13-0-rc-0_input_placeholder_style);color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-13-0-rc-0_input_placeholder_style);color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-13-0-rc-0_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-13-0-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-13-0-rc-0_input_hover_border);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5-v2-13-0-rc-0_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-13-0-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v2-13-0-rc-0_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-13-0-rc-0_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-13-0-rc-0_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v2-13-0-rc-0_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v2-13-0-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5-v2-13-0-rc-0_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5-v2-13-0-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-13-0-rc-0_input_icon_width);min-width:var(--_ui5-v2-13-0-rc-0_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}:host([icon]){min-width:var(--_ui5-v2-13-0-rc-0_button_base_min_width);width:var(--_ui5-v2-13-0-rc-0_button_base_min_width)}:host([icon]) .ui5-select-root{min-width:var(--_ui5-v2-13-0-rc-0_button_base_min_width)}:host([icon]) .ui5-select-label-root{min-width:0;padding-inline-start:0}.ui5-select-root{min-width:calc(var(--_ui5-v2-13-0-rc-0_input_min_width) + (var(--_ui5-v2-13-0-rc-0-input-icons-count)*var(--_ui5-v2-13-0-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v2-13-0-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer}.ui5-select-icon-root{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:var(--_ui5-v2-13-0-rc-0_select_icon_width);min-width:var(--_ui5-v2-13-0-rc-0_select_icon_width);height:var(--_ui5-v2-13-0-rc-0_select_icon_wrapper_height);padding:0}.ui5-select-icon{color:inherit}:host([value-state]:not([value-state="None"],[value-state="Positive"])) .ui5-select-icon-root{height:var(--_ui5-v2-13-0-rc-0_select_icon_wrapper_state_height)}
|
|
143
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
144
|
+
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);
|
|
145
|
+
var selectCss = `: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}.inputIcon{color:var(--_ui5-v2-14-0-rc-7_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-14-0-rc-7_input_icon_padding);border-inline-start:var(--_ui5-v2-14-0-rc-7_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-14-0-rc-7_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);color:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);color:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-14-0-rc-7_input_icon_hover_bg);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-14-0-rc-7_input_width);min-width:calc(var(--_ui5-v2-14-0-rc-7_input_min_width) + (var(--_ui5-v2-14-0-rc-7-input-icons-count)*var(--_ui5-v2-14-0-rc-7_input_icon_width)));margin:var(--_ui5-v2-14-0-rc-7_input_margin_top_bottom) 0;height:var(--_ui5-v2-14-0-rc-7_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-14-0-rc-7-input-border);border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-14-0-rc-7_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-14-0-rc-7_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5-v2-14-0-rc-7_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-14-0-rc-7_input_focus_outline_color);border-radius:var(--_ui5-v2-14-0-rc-7_input_focus_border_radius);top:var(--_ui5-v2-14-0-rc-7_input_focus_offset);bottom:var(--_ui5-v2-14-0-rc-7_input_focus_offset);left:var(--_ui5-v2-14-0-rc-7_input_focus_offset);right:var(--_ui5-v2-14-0-rc-7_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);bottom:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);left:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);right:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);border-radius:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5-v2-14-0-rc-7_input_bottom_border_height);transition:var(--_ui5-v2-14-0-rc-7_input_transition);background-color:var(--_ui5-v2-14-0-rc-7_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-14-0-rc-7_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-14-0-rc-7-input_disabled_background);border-color:var(--_ui5-v2-14-0-rc-7_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5-v2-14-0-rc-7_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v2-14-0-rc-7_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v2-14-0-rc-7-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7-input_error_placeholder_color);font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7-input_error_placeholder_color);font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-14-0-rc-7_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-14-0-rc-7_input_hover_border);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5-v2-14-0-rc-7_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_font_style);text-indent:var(--_ui5-v2-14-0-rc-7_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-14-0-rc-7_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-14-0-rc-7_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_information_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5-v2-14-0-rc-7_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5-v2-14-0-rc-7_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_error_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_warning_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_information_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_success_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-14-0-rc-7_input_icon_width);min-width:var(--_ui5-v2-14-0-rc-7_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}:host([icon]){min-width:var(--_ui5-v2-14-0-rc-7_button_base_min_width);width:var(--_ui5-v2-14-0-rc-7_button_base_min_width)}:host([icon]) .ui5-select-root{min-width:var(--_ui5-v2-14-0-rc-7_button_base_min_width)}:host([icon]) .ui5-select-label-root{min-width:0;padding-inline-start:0}.ui5-select-root{min-width:calc(var(--_ui5-v2-14-0-rc-7_input_min_width) + (var(--_ui5-v2-14-0-rc-7-input-icons-count)*var(--_ui5-v2-14-0-rc-7_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v2-14-0-rc-7_select_label_color);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer}.ui5-select-icon-root{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:var(--_ui5-v2-14-0-rc-7_select_icon_width);min-width:var(--_ui5-v2-14-0-rc-7_select_icon_width);height:var(--_ui5-v2-14-0-rc-7_select_icon_wrapper_height);padding:0}.ui5-select-icon{color:inherit}:host([value-state]:not([value-state="None"],[value-state="Positive"])) .ui5-select-icon-root{height:var(--_ui5-v2-14-0-rc-7_select_icon_wrapper_state_height)}
|
|
143
146
|
`;
|
|
144
147
|
|
|
145
|
-
Icons.p("
|
|
146
|
-
Icons.p("
|
|
147
|
-
var ResponsivePopoverCommonCss = `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v2-
|
|
148
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
149
|
+
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);
|
|
150
|
+
var ResponsivePopoverCommonCss = `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v2-14-0-rc-7_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7_input_background_color);border:var(--_ui5-v2-14-0-rc-7-input-border);border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius);box-sizing:border-box}.input-root-phone [inner-input]{padding:0 .5rem;width:100%;height:100%}.input-root-phone [inner-input]:focus{background-color:var(--sapField_Focus_Background)}.input-root-phone:focus-within:before{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v2-14-0-rc-7_input_focus_border_radius);top:var(--_ui5-v2-14-0-rc-7_input_focus_offset);bottom:var(--_ui5-v2-14-0-rc-7_input_focus_offset);left:var(--_ui5-v2-14-0-rc-7_input_focus_offset);right:var(--_ui5-v2-14-0-rc-7_input_focus_offset)}.input-root-phone [value-state=Negative] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Positive] .inputIcon[data-ui5-compact-size],.input-root-phone [value-state=Critical] .inputIcon[data-ui5-compact-size]{padding:.1875rem .5rem}[inner-input]{background:transparent;color:inherit;border:none;font-style:normal;-webkit-appearance:none;-moz-appearance:textfield;line-height:normal;padding:var(--_ui5-v2-14-0-rc-7_input_inner_padding);box-sizing:border-box;min-width:3rem;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v2-14-0-rc-7_input_state_border_width)}.input-root-phone[value-state=Negative] [inner-input],.input-root-phone[value-state=Critical] [inner-input]{font-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_font_style)}.input-root-phone[value-state=Negative] [inner-input]{font-weight:var(--_ui5-v2-14-0-rc-7_input_error_font_weight)}.input-root-phone[value-state=Negative]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Negative]:not([readonly]):not([disabled]),.input-root-phone[value-state=Critical]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_border_style)}.input-root-phone[value-state=Critical]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Positive]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_width)}.input-root-phone[value-state=Positive]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Positive]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_focus_outline_color)}.input-root-phone[value-state=Information]:not([readonly]){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_information_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_border_color)}.ui5-multi-combobox-toggle-button{margin-left:.5rem}.ui5-responsive-popover-header{width:100%;min-height:2.5rem;display:flex;flex-direction:column}.ui5-responsive-popover-header-text{width:calc(100% - var(--_ui5-v2-14-0-rc-7_button_base_min_width))}.ui5-responsive-popover-header .row{box-sizing:border-box;padding:.25rem 1rem;min-height:2.5rem;display:flex;justify-content:center;align-items:center;font-size:var(--sapFontHeader5Size)}.ui5-responsive-popover-footer{display:flex;justify-content:flex-end;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem}
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
Icons.p("
|
|
151
|
-
Icons.p("
|
|
152
|
-
var ValueStateMessageCss = `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v2-
|
|
153
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
154
|
+
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);
|
|
155
|
+
var ValueStateMessageCss = `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v2-14-0-rc-7_value_state_message_icon_width);height:var(--_ui5-v2-14-0-rc-7_value_state_message_icon_height);display:var(--_ui5-v2-14-0-rc-7_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v2-14-0-rc-7_input_value_state_icon_offset)}.ui5-input-value-state-message-icon[name=error]{color:var(--sapNegativeElementColor)}.ui5-input-value-state-message-icon[name=alert]{color:var(--sapCriticalElementColor)}.ui5-input-value-state-message-icon[name=success]{color:var(--sapPositiveElementColor)}.ui5-input-value-state-message-icon[name=information]{color:var(--sapInformativeElementColor)}.ui5-valuestatemessage-root{box-sizing:border-box;display:inline-block;color:var(--sapTextColor);font-size:var(--sapFontSmallSize);font-family:var(--sapFontFamily);height:auto;padding:var(--_ui5-v2-14-0-rc-7_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v2-14-0-rc-7_value_state_message_border);line-height:var(--_ui5-v2-14-0-rc-7_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_header_min_height);min-width:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_header_min_width);max-width:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_header_max_width);width:var(--_ui5-v2-14-0-rc-7_value_state_message_popover_header_width)}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v2-14-0-rc-7_value_state_header_padding);border:var(--_ui5-v2-14-0-rc-7_value_state_header_border);border-bottom:var(--_ui5-v2-14-0-rc-7_value_state_header_border_bottom);flex-grow:1;position:relative}.ui5-valuestatemessage--success{background:var(--sapSuccessBackground)}.ui5-valuestatemessage--warning{background:var(--sapWarningBackground)}.ui5-valuestatemessage--error{background:var(--sapErrorBackground)}.ui5-valuestatemessage--information{background:var(--sapInformationBackground)}.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v2-14-0-rc-7_value_state_header_offset);outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(content){padding:0}.ui5-valuestatemessage-popover::part(header),.ui5-valuestatemessage-popover::part(footer){min-height:0}.ui5-valuestatemessage-popover::part(header),.ui5-popover-with-value-state-header::part(header),.ui5-popover-with-value-state-header-phone::part(header){margin-bottom:0}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-root{padding:var(--_ui5-v2-14-0-rc-7_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v2-14-0-rc-7_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.ui5-popover-with-value-state-header-phone::part(content){padding:0;overflow:hidden;display:flex;flex-direction:column}.ui5-popover-with-value-state-header-phone [ui5-list]{overflow:auto}[ui5-responsive-popover] .ui5-valuestatemessage--error{box-shadow:var(--_ui5-v2-14-0-rc-7_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v2-14-0-rc-7_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v2-14-0-rc-7_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v2-14-0-rc-7_value_state_header_box_shadow_warning)}[ui5-responsive-popover].ui5-popover-with-value-state-header .ui5-valuestatemessage-root:has(+[ui5-list]:empty){box-shadow:none}
|
|
153
156
|
`;
|
|
154
157
|
|
|
155
|
-
Icons.p("
|
|
156
|
-
Icons.p("
|
|
157
|
-
var SelectPopoverCss = `.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}
|
|
158
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
159
|
+
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);
|
|
160
|
+
var SelectPopoverCss = `.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover .ui5-responsive-popover-header .row{justify-content:flex-start}
|
|
158
161
|
`;
|
|
159
162
|
|
|
160
163
|
var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -299,6 +302,12 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
299
302
|
}
|
|
300
303
|
return "";
|
|
301
304
|
}
|
|
305
|
+
onEnterDOM() {
|
|
306
|
+
AccessibilityTextsHelper.y(this, this._updateAssociatedLabelsTexts.bind(this));
|
|
307
|
+
}
|
|
308
|
+
onExitDOM() {
|
|
309
|
+
AccessibilityTextsHelper.T(this);
|
|
310
|
+
}
|
|
302
311
|
onBeforeRendering() {
|
|
303
312
|
this._applySelection();
|
|
304
313
|
this.style.setProperty(Icons.d$1("--_ui5-input-icons-count"), `${this.iconsCount}`);
|
|
@@ -425,30 +434,30 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
425
434
|
}
|
|
426
435
|
}
|
|
427
436
|
_onkeydown(e) {
|
|
428
|
-
const isTab = (webcomponentsBase.
|
|
437
|
+
const isTab = (webcomponentsBase.x(e) || webcomponentsBase.V(e));
|
|
429
438
|
if (isTab && this._isPickerOpen) {
|
|
430
439
|
this.responsivePopover.open = false;
|
|
431
440
|
}
|
|
432
|
-
else if (webcomponentsBase.
|
|
441
|
+
else if (webcomponentsBase.ko(e)) {
|
|
433
442
|
e.preventDefault();
|
|
434
443
|
this._toggleRespPopover();
|
|
435
444
|
}
|
|
436
|
-
else if (webcomponentsBase.
|
|
445
|
+
else if (webcomponentsBase.A(e)) {
|
|
437
446
|
e.preventDefault();
|
|
438
447
|
}
|
|
439
|
-
else if (webcomponentsBase.
|
|
448
|
+
else if (webcomponentsBase.m$2(e) && this._isPickerOpen) {
|
|
440
449
|
this._escapePressed = true;
|
|
441
450
|
}
|
|
442
|
-
else if (webcomponentsBase.
|
|
451
|
+
else if (webcomponentsBase.M(e)) {
|
|
443
452
|
this._handleHomeKey(e);
|
|
444
453
|
}
|
|
445
|
-
else if (webcomponentsBase.
|
|
454
|
+
else if (webcomponentsBase.n(e)) {
|
|
446
455
|
this._handleEndKey(e);
|
|
447
456
|
}
|
|
448
457
|
else if (webcomponentsBase.b$1(e)) {
|
|
449
458
|
this._handleSelectionChange();
|
|
450
459
|
}
|
|
451
|
-
else if (webcomponentsBase.
|
|
460
|
+
else if (webcomponentsBase.P(e) || webcomponentsBase._(e)) {
|
|
452
461
|
this._handleArrowNavigation(e);
|
|
453
462
|
}
|
|
454
463
|
}
|
|
@@ -504,7 +513,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
504
513
|
this._changeSelectedItem(this._selectedIndex, lastIndex);
|
|
505
514
|
}
|
|
506
515
|
_onkeyup(e) {
|
|
507
|
-
if (webcomponentsBase.
|
|
516
|
+
if (webcomponentsBase.A(e)) {
|
|
508
517
|
if (this._isPickerOpen) {
|
|
509
518
|
this._handleSelectionChange();
|
|
510
519
|
}
|
|
@@ -578,7 +587,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
578
587
|
}
|
|
579
588
|
let nextIndex = -1;
|
|
580
589
|
const currentIndex = this._selectedIndex;
|
|
581
|
-
const isDownKey = webcomponentsBase.
|
|
590
|
+
const isDownKey = webcomponentsBase._(e);
|
|
582
591
|
if (isDownKey) {
|
|
583
592
|
nextIndex = this._getNextOptionIndex();
|
|
584
593
|
}
|
|
@@ -596,13 +605,23 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
596
605
|
}
|
|
597
606
|
_changeSelectedItem(oldIndex, newIndex) {
|
|
598
607
|
const options = this.options;
|
|
608
|
+
// Normalize: first navigation with Up when nothing selected -> last item
|
|
609
|
+
if (oldIndex === -1 && newIndex < 0 && options.length) {
|
|
610
|
+
newIndex = options.length - 1;
|
|
611
|
+
}
|
|
612
|
+
// Abort on invalid target
|
|
613
|
+
if (newIndex < 0 || newIndex >= options.length) {
|
|
614
|
+
return;
|
|
615
|
+
}
|
|
599
616
|
const previousOption = options[oldIndex];
|
|
600
617
|
const nextOption = options[newIndex];
|
|
601
618
|
if (previousOption === nextOption) {
|
|
602
619
|
return;
|
|
603
620
|
}
|
|
604
|
-
previousOption
|
|
605
|
-
|
|
621
|
+
if (previousOption) {
|
|
622
|
+
previousOption.selected = false;
|
|
623
|
+
previousOption.focused = false;
|
|
624
|
+
}
|
|
606
625
|
nextOption.selected = true;
|
|
607
626
|
nextOption.focused = true;
|
|
608
627
|
if (this._valueStorage !== undefined) {
|
|
@@ -701,6 +720,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
701
720
|
get valueStateTextId() {
|
|
702
721
|
return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
|
|
703
722
|
}
|
|
723
|
+
get responsivePopoverId() {
|
|
724
|
+
return `${this._id}-popover`;
|
|
725
|
+
}
|
|
704
726
|
get isDisabled() {
|
|
705
727
|
return this.disabled || undefined;
|
|
706
728
|
}
|
|
@@ -759,7 +781,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
759
781
|
};
|
|
760
782
|
}
|
|
761
783
|
get ariaLabelText() {
|
|
762
|
-
return AccessibilityTextsHelper.A(this);
|
|
784
|
+
return AccessibilityTextsHelper.A(this) || AccessibilityTextsHelper.M(this);
|
|
763
785
|
}
|
|
764
786
|
get shouldDisplayDefaultValueStateMessage() {
|
|
765
787
|
return !this.valueStateMessage.length && this.hasValueStateText;
|
|
@@ -807,6 +829,19 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
807
829
|
get selectedOptionIcon() {
|
|
808
830
|
return this.selectedOption && this.selectedOption.icon;
|
|
809
831
|
}
|
|
832
|
+
get ariaDescriptionText() {
|
|
833
|
+
return this._associatedDescriptionRefTexts || AccessibilityTextsHelper.L(this);
|
|
834
|
+
}
|
|
835
|
+
get ariaDescriptionTextId() {
|
|
836
|
+
return this.ariaDescriptionText ? "accessibleDescription" : "";
|
|
837
|
+
}
|
|
838
|
+
get ariaDescribedByIds() {
|
|
839
|
+
const ids = [this.valueStateTextId, this.ariaDescriptionTextId].filter(Boolean);
|
|
840
|
+
return ids.length ? ids.join(" ") : undefined;
|
|
841
|
+
}
|
|
842
|
+
_updateAssociatedLabelsTexts() {
|
|
843
|
+
this._associatedDescriptionRefTexts = AccessibilityTextsHelper.p(this);
|
|
844
|
+
}
|
|
810
845
|
_getPopover() {
|
|
811
846
|
return this.shadowRoot.querySelector("[ui5-popover]");
|
|
812
847
|
}
|
|
@@ -835,9 +870,18 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
835
870
|
__decorate$5([
|
|
836
871
|
webcomponentsBase.s()
|
|
837
872
|
], Select.prototype, "accessibleNameRef", void 0);
|
|
873
|
+
__decorate$5([
|
|
874
|
+
webcomponentsBase.s()
|
|
875
|
+
], Select.prototype, "accessibleDescription", void 0);
|
|
876
|
+
__decorate$5([
|
|
877
|
+
webcomponentsBase.s()
|
|
878
|
+
], Select.prototype, "accessibleDescriptionRef", void 0);
|
|
838
879
|
__decorate$5([
|
|
839
880
|
webcomponentsBase.s()
|
|
840
881
|
], Select.prototype, "tooltip", void 0);
|
|
882
|
+
__decorate$5([
|
|
883
|
+
webcomponentsBase.s({ type: String, noAttribute: true })
|
|
884
|
+
], Select.prototype, "_associatedDescriptionRefTexts", void 0);
|
|
841
885
|
__decorate$5([
|
|
842
886
|
webcomponentsBase.s({ type: Boolean, noAttribute: true })
|
|
843
887
|
], Select.prototype, "_iconPressed", void 0);
|
|
@@ -863,7 +907,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
863
907
|
webcomponentsBase.s()
|
|
864
908
|
], Select.prototype, "value", null);
|
|
865
909
|
__decorate$5([
|
|
866
|
-
|
|
910
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents")
|
|
867
911
|
], Select, "i18nBundle", void 0);
|
|
868
912
|
Select = Select_1 = __decorate$5([
|
|
869
913
|
webcomponentsBase.m({
|
|
@@ -941,13 +985,15 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
941
985
|
var Select$1 = Select;
|
|
942
986
|
|
|
943
987
|
function SearchFieldTemplate(options) {
|
|
944
|
-
return (!options?.forceExpanded && this.collapsed ? (parametersBundle_css.jsx(Button.Button, { class: "ui5-shell-search-field-button", icon: slimArrowDown.search, design: Button.ButtonDesign.Transparent, "data-sap-focus-ref": true, onClick: this._handleSearchIconPress, tooltip: this._effectiveIconTooltip, accessibleName: this._effectiveIconTooltip, accessibilityAttributes: this._searchButtonAccessibilityAttributes })) : (parametersBundle_css.jsx("div", { class: "ui5-search-field-root", role: "search", onFocusOut: this._onFocusOutSearch, children: parametersBundle_css.jsxs("div", { class: "ui5-search-field-content", children: [this.scopes?.length ? (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx(Select$1, { onChange: this._handleScopeChange, class: "sapUiSizeCompact ui5-search-field-select", accessibleName: this._translations.scope, tooltip: this._translations.scope, children: this.scopes.map(scopeOption => (parametersBundle_css.jsx(Option$1, { selected: scopeOption.selected, "data-ui5-stable": scopeOption.stableDomRef, ref: this.captureRef.bind(scopeOption), children: scopeOption.text }))) }), parametersBundle_css.jsx("div", { class: "ui5-search-field-separator" })] })) : this.filterButton ? (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("div", { class: "ui5-filter-wrapper", style: "display: contents", children: parametersBundle_css.jsx("slot", { name: "filterButton" }) }), parametersBundle_css.jsx("div", { class: "ui5-search-field-separator" })] })) : null, parametersBundle_css.jsx("input", { class: "ui5-search-field-inner-input", role: "searchbox", "aria-description": this.accessibleDescription, "aria-label": this.accessibleName || this._translations.searchFieldAriaLabel, value: this.value, placeholder: this.placeholder, "data-sap-focus-ref": true, onInput: this._handleInput, onFocusIn: this._onfocusin, onFocusOut: this._onfocusout, onKeyDown: this._onkeydown, onClick: this._handleInnerClick }), this._effectiveShowClearIcon &&
|
|
988
|
+
return (!options?.forceExpanded && this.collapsed ? (parametersBundle_css.jsx(Button.Button, { class: "ui5-shell-search-field-button", icon: slimArrowDown.search, design: Button.ButtonDesign.Transparent, "data-sap-focus-ref": true, onClick: this._handleSearchIconPress, tooltip: this._effectiveIconTooltip, accessibleName: this._effectiveIconTooltip, accessibilityAttributes: this._searchButtonAccessibilityAttributes })) : (parametersBundle_css.jsx("div", { class: "ui5-search-field-root", role: "search", onFocusOut: this._onFocusOutSearch, children: parametersBundle_css.jsxs("div", { class: "ui5-search-field-content", children: [this.scopes?.length ? (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx(Select$1, { onChange: this._handleScopeChange, class: "sapUiSizeCompact ui5-search-field-select", accessibleName: this._translations.scope, tooltip: this._translations.scope, children: this.scopes.map(scopeOption => (parametersBundle_css.jsx(Option$1, { selected: scopeOption.selected, "data-ui5-stable": scopeOption.stableDomRef, ref: this.captureRef.bind(scopeOption), children: scopeOption.text }))) }), parametersBundle_css.jsx("div", { class: "ui5-search-field-separator" })] })) : this.filterButton?.length ? (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("div", { class: "ui5-filter-wrapper", style: "display: contents", children: parametersBundle_css.jsx("slot", { name: "filterButton" }) }), parametersBundle_css.jsx("div", { class: "ui5-search-field-separator" })] })) : null, parametersBundle_css.jsx("input", { class: "ui5-search-field-inner-input", role: "searchbox", "aria-description": this.accessibleDescription, "aria-label": this.accessibleName || this._translations.searchFieldAriaLabel, value: this.value, placeholder: this.placeholder, "data-sap-focus-ref": true, onInput: this._handleInput, onFocusIn: this._onfocusin, onFocusOut: this._onfocusout, onKeyDown: this._onkeydown, onClick: this._handleInnerClick }), this._effectiveShowClearIcon &&
|
|
945
989
|
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-shell-search-field-icon", name: information.decline, showTooltip: true, accessibleName: this._translations.clearIcon, onClick: this._handleClear }), parametersBundle_css.jsx(Icon.Icon, { class: {
|
|
946
990
|
"ui5-shell-search-field-icon": true,
|
|
947
991
|
"ui5-shell-search-field-search-icon": this._isSearchIcon,
|
|
948
992
|
}, name: slimArrowDown.search, showTooltip: true, accessibleName: this._effectiveIconTooltip, onClick: this._handleSearchIconPress })] }) })));
|
|
949
993
|
}
|
|
950
994
|
|
|
995
|
+
const f=(t,a,e,o)=>{webcomponentsBase.x(t)&&(e!==a.length-1?(t.stopImmediatePropagation(),t.preventDefault(),a[e+1].focus()):(o.closeValueState(),o.focusInput())),webcomponentsBase.V(t)&&(t.preventDefault(),t.stopImmediatePropagation(),e>0?a[e-1].focus():o.focusInput()),webcomponentsBase.P(t)&&(t.preventDefault(),t.stopImmediatePropagation(),o.isPopoverOpen()&&o.focusInput()),webcomponentsBase._(t)&&(t.preventDefault(),t.stopImmediatePropagation(),o.navigateToItem()),webcomponentsBase.m$2(t)&&(t.preventDefault(),t.stopImmediatePropagation());};
|
|
996
|
+
|
|
951
997
|
const n=t=>{let e=0;return (t.selectionStart||t.selectionStart===0)&&(e=t.selectionDirection==="backward"?t.selectionStart:t.selectionEnd),e},o=(t,e)=>{t.selectionStart?(t.focus(),t.setSelectionRange(e,e)):t.focus();};
|
|
952
998
|
|
|
953
999
|
/**
|
|
@@ -998,7 +1044,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
998
1044
|
function InputPopoverTemplate(hooks) {
|
|
999
1045
|
const suggestionsList = hooks?.suggestionsList;
|
|
1000
1046
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [this._effectiveShowSuggestions && this.Suggestions?.template.call(this, { suggestionsList, valueStateMessage, valueStateMessageInputIcon }), this.hasValueStateMessage &&
|
|
1001
|
-
parametersBundle_css.jsx(ResponsivePopover.Popover, { preventInitialFocus: true, preventFocusRestore: true, hideArrow: true, class: "ui5-valuestatemessage-popover", placement: "Bottom", tabindex: -1, horizontalAlign: this._valueStatePopoverHorizontalAlign, opener: this, open: this.valueStateOpen, onClose: this._handleValueStatePopoverAfterClose, children: parametersBundle_css.jsxs("div", { slot: "header", class: this.classes.popoverValueState,
|
|
1047
|
+
parametersBundle_css.jsx(ResponsivePopover.Popover, { preventInitialFocus: true, preventFocusRestore: true, hideArrow: true, class: "ui5-valuestatemessage-popover", placement: "Bottom", tabindex: -1, horizontalAlign: this._valueStatePopoverHorizontalAlign, opener: this, open: this.valueStateOpen, onClose: this._handleValueStatePopoverAfterClose, children: parametersBundle_css.jsxs("div", { slot: "header", class: this.classes.popoverValueState, children: [parametersBundle_css.jsx(Icon.Icon, { class: "ui5-input-value-state-message-icon", name: valueStateMessageInputIcon.call(this) }), this.valueStateOpen && valueStateMessage.call(this)] }) })] }));
|
|
1002
1048
|
}
|
|
1003
1049
|
function valueStateMessage() {
|
|
1004
1050
|
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.shouldDisplayDefaultValueStateMessage ? this.valueStateText : parametersBundle_css.jsx("slot", { name: "valueStateMessage" }) }));
|
|
@@ -1022,33 +1068,22 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1022
1068
|
parametersBundle_css.jsx("div", { class: "ui5-input-icon-root", tabindex: -1, children: parametersBundle_css.jsx("slot", { name: "icon" }) }), parametersBundle_css.jsx("div", { class: "ui5-input-value-state-icon", children: this._valueStateInputIcon }), postContent.call(this), this._effectiveShowSuggestions &&
|
|
1023
1069
|
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("span", { id: "suggestionsText", class: "ui5-hidden-text", children: this.suggestionsText }), parametersBundle_css.jsx("span", { id: "selectionText", class: "ui5-hidden-text", "aria-live": "polite", role: "status" }), parametersBundle_css.jsx("span", { id: "suggestionsCount", class: "ui5-hidden-text", "aria-live": "polite", children: this.availableSuggestionsCount })] }), this.accInfo.ariaDescription &&
|
|
1024
1070
|
parametersBundle_css.jsx("span", { id: "descr", class: "ui5-hidden-text", children: this.accInfo.ariaDescription }), this.accInfo.accessibleDescription &&
|
|
1025
|
-
parametersBundle_css.jsx("span", { id: "accessibleDescription", class: "ui5-hidden-text", children: this.accInfo.accessibleDescription }), this.
|
|
1071
|
+
parametersBundle_css.jsx("span", { id: "accessibleDescription", class: "ui5-hidden-text", children: this.accInfo.accessibleDescription }), this.linksInAriaValueStateHiddenText.length > 0 &&
|
|
1072
|
+
parametersBundle_css.jsx("span", { id: "hiddenText-value-state-link-shortcut", class: "ui5-hidden-text", children: this.valueStateLinksShortcutsTextAcc }), this.hasValueState &&
|
|
1026
1073
|
parametersBundle_css.jsx("span", { id: "valueStateDesc", class: "ui5-hidden-text", children: this.ariaValueStateHiddenText })] }) }), InputPopoverTemplate.call(this, { suggestionsList })] }));
|
|
1027
1074
|
}
|
|
1028
1075
|
function defaultPreContent() { }
|
|
1029
1076
|
function defaultPostContent() { }
|
|
1030
1077
|
|
|
1031
|
-
const escapeReg = /[[\]{}()*+?.\\^$|]/g;
|
|
1032
|
-
const escapeRegExp = (str) => {
|
|
1033
|
-
return str.replace(escapeReg, "\\$&");
|
|
1034
|
-
};
|
|
1035
|
-
const StartsWithPerTerm = (value, items, propName) => {
|
|
1036
|
-
const reg = new RegExp(`(^|\\s)${escapeRegExp(value.toLowerCase())}.*`, "g");
|
|
1037
|
-
return items.filter(item => {
|
|
1038
|
-
const text = item[propName];
|
|
1039
|
-
reg.lastIndex = 0;
|
|
1040
|
-
return reg.test(text.toLowerCase());
|
|
1041
|
-
});
|
|
1042
|
-
};
|
|
1043
1078
|
const StartsWith = (value, items, propName) => items.filter(item => (item[propName] || "").toLowerCase().startsWith(value.toLowerCase()));
|
|
1044
1079
|
|
|
1045
|
-
Icons.p("
|
|
1046
|
-
Icons.p("
|
|
1047
|
-
var inputStyles = `: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}.inputIcon{color:var(--_ui5-v2-13-0-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-13-0-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v2-13-0-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-13-0-rc-0_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);color:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);color:var(--_ui5-v2-13-0-rc-0_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-13-0-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-13-0-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-13-0-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-13-0-rc-0_input_width);min-width:calc(var(--_ui5-v2-13-0-rc-0_input_min_width) + (var(--_ui5-v2-13-0-rc-0-input-icons-count)*var(--_ui5-v2-13-0-rc-0_input_icon_width)));margin:var(--_ui5-v2-13-0-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v2-13-0-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-13-0-rc-0-input-border);border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-13-0-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-13-0-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-13-0-rc-0_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5-v2-13-0-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-13-0-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v2-13-0-rc-0_input_focus_border_radius);top:var(--_ui5-v2-13-0-rc-0_input_focus_offset);bottom:var(--_ui5-v2-13-0-rc-0_input_focus_offset);left:var(--_ui5-v2-13-0-rc-0_input_focus_offset);right:var(--_ui5-v2-13-0-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);left:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);right:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v2-13-0-rc-0_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5-v2-13-0-rc-0_input_bottom_border_height);transition:var(--_ui5-v2-13-0-rc-0_input_transition);background-color:var(--_ui5-v2-13-0-rc-0_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-13-0-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-13-0-rc-0-input_disabled_background);border-color:var(--_ui5-v2-13-0-rc-0_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5-v2-13-0-rc-0_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v2-13-0-rc-0_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v2-13-0-rc-0-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5-v2-13-0-rc-0_input_placeholder_style);color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-13-0-rc-0_input_placeholder_style);color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-13-0-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-13-0-rc-0_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5-v2-13-0-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-13-0-rc-0_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-13-0-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-13-0-rc-0_input_hover_border);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5-v2-13-0-rc-0_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-13-0-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v2-13-0-rc-0_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-13-0-rc-0_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-13-0-rc-0_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v2-13-0-rc-0_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v2-13-0-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v2-13-0-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v2-13-0-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-13-0-rc-0_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5-v2-13-0-rc-0_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5-v2-13-0-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-13-0-rc-0_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-13-0-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-13-0-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v2-13-0-rc-0_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-13-0-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-13-0-rc-0_input_icon_width);min-width:var(--_ui5-v2-13-0-rc-0_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-13-0-rc-0_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}
|
|
1080
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1081
|
+
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);
|
|
1082
|
+
var inputStyles = `: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}.inputIcon{color:var(--_ui5-v2-14-0-rc-7_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-14-0-rc-7_input_icon_padding);border-inline-start:var(--_ui5-v2-14-0-rc-7_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-14-0-rc-7_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);color:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);color:var(--_ui5-v2-14-0-rc-7_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-14-0-rc-7_input_icon_hover_bg);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-14-0-rc-7_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-14-0-rc-7_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-14-0-rc-7_input_width);min-width:calc(var(--_ui5-v2-14-0-rc-7_input_min_width) + (var(--_ui5-v2-14-0-rc-7-input-icons-count)*var(--_ui5-v2-14-0-rc-7_input_icon_width)));margin:var(--_ui5-v2-14-0-rc-7_input_margin_top_bottom) 0;height:var(--_ui5-v2-14-0-rc-7_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-14-0-rc-7-input-border);border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-14-0-rc-7_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-14-0-rc-7_input_focused_border_color);background-color:var(--sapField_Focus_Background)}.ui5-input-focusable-element{position:relative}:host([focused]:not([opened])) .ui5-input-focusable-element:after{content:var(--ui5-v2-14-0-rc-7_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-14-0-rc-7_input_focus_outline_color);border-radius:var(--_ui5-v2-14-0-rc-7_input_focus_border_radius);top:var(--_ui5-v2-14-0-rc-7_input_focus_offset);bottom:var(--_ui5-v2-14-0-rc-7_input_focus_offset);left:var(--_ui5-v2-14-0-rc-7_input_focus_offset);right:var(--_ui5-v2-14-0-rc-7_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);bottom:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);left:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);right:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_offset);border-radius:var(--_ui5-v2-14-0-rc-7_input_readonly_focus_border_radius)}.ui5-input-root:before{content:"";position:absolute;width:calc(100% - 2px);left:1px;bottom:-2px;border-bottom-left-radius:8px;border-bottom-right-radius:8px;height:var(--_ui5-v2-14-0-rc-7_input_bottom_border_height);transition:var(--_ui5-v2-14-0-rc-7_input_transition);background-color:var(--_ui5-v2-14-0-rc-7_input_bottom_border_color)}.ui5-input-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-14-0-rc-7_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-14-0-rc-7-input_disabled_background);border-color:var(--_ui5-v2-14-0-rc-7_input_disabled_border_color)}:host([disabled]) .ui5-input-root:before,:host([readonly]) .ui5-input-root:before{content:none}[inner-input]{background:transparent;color:inherit;border:none;font-style:inherit;-webkit-appearance:none;-moz-appearance:textfield;padding:var(--_ui5-v2-14-0-rc-7_input_inner_padding);box-sizing:border-box;width:100%;text-overflow:ellipsis;flex:1;outline:none;font-size:inherit;font-family:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;text-align:inherit}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v2-14-0-rc-7_input_inner_padding_with_icon)}[inner-input][type=search]::-webkit-search-decoration,[inner-input][type=search]::-webkit-search-cancel-button,[inner-input][type=search]::-webkit-search-results-button,[inner-input][type=search]::-webkit-search-results-decoration{display:none}[inner-input]::-ms-reveal,[inner-input]::-ms-clear{display:none}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v2-14-0-rc-7-input-value-state-icon-display);align-items:center}.ui5-input-value-state-icon>svg{margin-right:8px}[inner-input]::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}:host([disabled]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-webkit-input-placeholder{visibility:hidden}:host([disabled]) [inner-input]::-moz-placeholder{visibility:hidden}:host([readonly]) [inner-input]::-moz-placeholder{visibility:hidden}[inner-input]::-webkit-input-placeholder{font-weight:400;font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-14-0-rc-7_input_placeholder_style);color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7-input_error_placeholder_color);font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7-input_error_placeholder_color);font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-14-0-rc-7_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-14-0-rc-7_input_placeholder_color)}.ui5-input-content{height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:flex-end;overflow:hidden;outline:none;background:transparent;color:inherit;border-radius:var(--_ui5-v2-14-0-rc-7_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-14-0-rc-7_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-14-0-rc-7_input_hover_border);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_border_color);box-shadow:var(--sapField_Hover_Shadow);background:var(--sapField_Hover_BackgroundStyle);background-color:var(--sapField_Hover_Background)}:host(:not([value-state]):not([readonly])[focused]:not([opened]):hover),:host([value-state="None"]:not([readonly])[focused]:not([opened]):hover){box-shadow:none}:host([focused]):not([opened]) .ui5-input-root:before{content:none}:host(:not([readonly]):not([disabled])[value-state]:not([value-state="None"])){border-width:var(--_ui5-v2-14-0-rc-7_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_font_style);text-indent:var(--_ui5-v2-14-0-rc-7_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-14-0-rc-7_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-14-0-rc-7_input_warning_font_weight)}:host([value-state="Negative"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_border_color)}:host([value-state="Negative"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7-input-value-state-error-border-botom-color)}:host([value-state="Negative"]:not([readonly]):not([focused]):hover),:host([value-state="Negative"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Negative"]:not([readonly]):not([disabled])),:host([value-state="Critical"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v2-14-0-rc-7_input_error_warning_border_style)}:host([value-state="Critical"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_border_color)}:host([value-state="Critical"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_warning_border_botom_color)}:host([value-state="Critical"]:not([readonly]):not([focused]):hover),:host([value-state="Critical"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Positive"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_border_color)}:host([value-state="Positive"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_state_success_border_botom_color)}:host([value-state="Positive"]:not([readonly]):not([focused]):hover),:host([value-state="Positive"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v2-14-0-rc-7_input_value_state_information_border_color);border-width:var(--_ui5-v2-14-0-rc-7_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_background);border-color:var(--_ui5-v2-14-0-rc-7_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-14-0-rc-7_input_value_success_information_border_botom_color)}:host([value-state="Information"]:not([readonly]):not([focused]):hover),:host([value-state="Information"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}.ui5-input-icon-root{min-width:var(--_ui5-v2-14-0-rc-7_input_icon_min_width);height:100%;display:flex;justify-content:center;align-items:center}::slotted([ui5-icon][slot="icon"]){align-self:start;padding:var(--_ui5-v2-14-0-rc-7_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-14-0-rc-7_input_information_focused_icon_padding)}:host([value-state="Negative"]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_custom_icon_padding)}:host([value-state="Negative"][focused]) ::slotted(.inputIcon[ui5-icon]),:host([value-state="Negative"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Critical"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-14-0-rc-7_input_information_custom_focused_icon_padding)}:host([value-state="Negative"]) .inputIcon:active,:host([value-state="Negative"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_error_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_warning_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_information_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-14-0-rc-7_input_success_icon_box_shadow);color:var(--_ui5-v2-14-0-rc-7_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-14-0-rc-7_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-14-0-rc-7_input_icon_width);min-width:var(--_ui5-v2-14-0-rc-7_input_icon_width);display:flex;justify-content:center;align-items:center;box-sizing:border-box}:host([value-state]:not([value-state="None"]):not([value-state="Positive"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-14-0-rc-7_input_icon_wrapper_success_state_height)}[ui5-icon].ui5-input-clear-icon{padding:0;color:inherit}[inner-input]::-webkit-outer-spin-button,[inner-input]::-webkit-inner-spin-button{-webkit-appearance:inherit;margin:inherit}
|
|
1048
1083
|
`;
|
|
1049
1084
|
|
|
1050
|
-
Icons.p("
|
|
1051
|
-
Icons.p("
|
|
1085
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1086
|
+
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);
|
|
1052
1087
|
var SuggestionsCss = `.ui5-suggestions-popover{box-shadow:var(--sapContent_Shadow1)}.ui5-suggestions-popover::part(header),.ui5-suggestions-popover::part(content){padding:0}.ui5-suggestions-popover::part(footer){padding:0 1rem}.input-root-phone.native-input-wrapper{display:contents}.input-root-phone.native-input-wrapper:before{display:none}.native-input-wrapper .ui5-input-inner-phone{margin:0}
|
|
1053
1088
|
`;
|
|
1054
1089
|
|
|
@@ -1098,6 +1133,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1098
1133
|
* - [End] - If focus is in the text input, moves caret after the last character. If focus is in the list, highlights the last item and updates the input accordingly.
|
|
1099
1134
|
* - [Page Up] - If focus is in the list, moves highlight up by page size (10 items by default). If focus is in the input, does nothing.
|
|
1100
1135
|
* - [Page Down] - If focus is in the list, moves highlight down by page size (10 items by default). If focus is in the input, does nothing.
|
|
1136
|
+
* - [Ctrl]+[Alt]+[F8] or [Command]+[Option]+[F8] - Focuses the first link in the value state message, if available. Pressing [Tab] moves the focus to the next link in the value state message, or closes the value state message if there are no more links.
|
|
1101
1137
|
*
|
|
1102
1138
|
* ### ES6 Module Import
|
|
1103
1139
|
*
|
|
@@ -1241,14 +1277,20 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1241
1277
|
*/
|
|
1242
1278
|
this.focused = false;
|
|
1243
1279
|
this.valueStateOpen = false;
|
|
1244
|
-
/**
|
|
1245
|
-
* Indicates whether the visual focus is on the value state header
|
|
1246
|
-
* @private
|
|
1247
|
-
*/
|
|
1248
|
-
this._isValueStateFocused = false;
|
|
1249
1280
|
this._inputAccInfo = {};
|
|
1250
1281
|
this._nativeInputAttributes = {};
|
|
1251
1282
|
this._inputIconFocused = false;
|
|
1283
|
+
/**
|
|
1284
|
+
* @private
|
|
1285
|
+
*/
|
|
1286
|
+
this._linksListenersArray = [];
|
|
1287
|
+
/**
|
|
1288
|
+
* Indicates whether link navigation is being handled.
|
|
1289
|
+
* @default false
|
|
1290
|
+
* @private
|
|
1291
|
+
* @since 2.11.0
|
|
1292
|
+
*/
|
|
1293
|
+
this._handleLinkNavigation = false;
|
|
1252
1294
|
// Indicates if there is selected suggestionItem.
|
|
1253
1295
|
this.hasSuggestionItemSelected = false;
|
|
1254
1296
|
// Represents the value before user moves selection from suggestion item to another
|
|
@@ -1277,6 +1319,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1277
1319
|
this._handleResizeBound = this._handleResize.bind(this);
|
|
1278
1320
|
this._keepInnerValue = false;
|
|
1279
1321
|
this._focusedAfterClear = false;
|
|
1322
|
+
this._valueStateLinks = [];
|
|
1280
1323
|
}
|
|
1281
1324
|
onEnterDOM() {
|
|
1282
1325
|
webcomponentsBase.f.register(this, this._handleResizeBound);
|
|
@@ -1285,6 +1328,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1285
1328
|
onExitDOM() {
|
|
1286
1329
|
webcomponentsBase.f.deregister(this, this._handleResizeBound);
|
|
1287
1330
|
AccessibilityTextsHelper.T(this);
|
|
1331
|
+
this._removeLinksEventListeners();
|
|
1288
1332
|
}
|
|
1289
1333
|
_highlightSuggestionItem(item) {
|
|
1290
1334
|
item.markupText = this.typedInValue ? this.Suggestions?.hightlightInput((item.text || ""), this.typedInValue) : encodeXML.fnEncodeXML(item.text || "");
|
|
@@ -1362,45 +1406,54 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1362
1406
|
this.fireDecoratorEvent("type-ahead");
|
|
1363
1407
|
}
|
|
1364
1408
|
this._performTextSelection = false;
|
|
1409
|
+
if (!webcomponentsBase.n$2(this._valueStateLinks, this.linksInAriaValueStateHiddenText)) {
|
|
1410
|
+
this._removeLinksEventListeners();
|
|
1411
|
+
this._addLinksEventListeners();
|
|
1412
|
+
this._valueStateLinks = this.linksInAriaValueStateHiddenText;
|
|
1413
|
+
}
|
|
1365
1414
|
}
|
|
1366
1415
|
_onkeydown(e) {
|
|
1367
1416
|
this._isKeyNavigation = true;
|
|
1368
|
-
this._shouldAutocomplete = !this.noTypeahead && !(webcomponentsBase.
|
|
1369
|
-
if (webcomponentsBase.
|
|
1417
|
+
this._shouldAutocomplete = !this.noTypeahead && !(webcomponentsBase.Q(e) || webcomponentsBase.X(e) || webcomponentsBase.m$2(e));
|
|
1418
|
+
if (webcomponentsBase.P(e)) {
|
|
1370
1419
|
return this._handleUp(e);
|
|
1371
1420
|
}
|
|
1372
|
-
if (webcomponentsBase.
|
|
1421
|
+
if (webcomponentsBase._(e)) {
|
|
1373
1422
|
return this._handleDown(e);
|
|
1374
1423
|
}
|
|
1375
|
-
if (webcomponentsBase.
|
|
1424
|
+
if (webcomponentsBase.A(e)) {
|
|
1376
1425
|
return this._handleSpace(e);
|
|
1377
1426
|
}
|
|
1378
|
-
if (webcomponentsBase.
|
|
1427
|
+
if (webcomponentsBase.x(e)) {
|
|
1379
1428
|
return this._handleTab();
|
|
1380
1429
|
}
|
|
1381
1430
|
if (webcomponentsBase.b$1(e)) {
|
|
1382
1431
|
const isValueUnchanged = this.previousValue === this.getInputDOMRefSync().value;
|
|
1432
|
+
const shouldSubmit = this._internals.form && this._internals.form.querySelectorAll("[ui5-input]").length === 1;
|
|
1383
1433
|
this._enterKeyDown = true;
|
|
1384
|
-
if (isValueUnchanged &&
|
|
1434
|
+
if (isValueUnchanged && shouldSubmit) {
|
|
1385
1435
|
webcomponentsBase.i$1(this);
|
|
1386
1436
|
}
|
|
1387
1437
|
return this._handleEnter(e);
|
|
1388
1438
|
}
|
|
1389
|
-
if (webcomponentsBase.
|
|
1439
|
+
if (webcomponentsBase.j(e)) {
|
|
1390
1440
|
return this._handlePageUp(e);
|
|
1391
1441
|
}
|
|
1392
|
-
if (webcomponentsBase.
|
|
1442
|
+
if (webcomponentsBase.q(e)) {
|
|
1393
1443
|
return this._handlePageDown(e);
|
|
1394
1444
|
}
|
|
1395
|
-
if (webcomponentsBase.
|
|
1445
|
+
if (webcomponentsBase.M(e)) {
|
|
1396
1446
|
return this._handleHome(e);
|
|
1397
1447
|
}
|
|
1398
|
-
if (webcomponentsBase.
|
|
1448
|
+
if (webcomponentsBase.n(e)) {
|
|
1399
1449
|
return this._handleEnd(e);
|
|
1400
1450
|
}
|
|
1401
|
-
if (webcomponentsBase.
|
|
1451
|
+
if (webcomponentsBase.m$2(e)) {
|
|
1402
1452
|
return this._handleEscape();
|
|
1403
1453
|
}
|
|
1454
|
+
if (webcomponentsBase.Co(e)) {
|
|
1455
|
+
return this._handleCtrlAltF8();
|
|
1456
|
+
}
|
|
1404
1457
|
if (this.showSuggestions) {
|
|
1405
1458
|
this._clearPopoverFocusAndSelection();
|
|
1406
1459
|
}
|
|
@@ -1409,7 +1462,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1409
1462
|
_onkeyup(e) {
|
|
1410
1463
|
// The native Delete event does not update the value property "on time".
|
|
1411
1464
|
// So, the (native) change event is always fired with the old value
|
|
1412
|
-
if (webcomponentsBase.
|
|
1465
|
+
if (webcomponentsBase.X(e)) {
|
|
1413
1466
|
this.value = e.target.value;
|
|
1414
1467
|
}
|
|
1415
1468
|
this._enterKeyDown = false;
|
|
@@ -1440,6 +1493,57 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1440
1493
|
this.Suggestions.onTab();
|
|
1441
1494
|
}
|
|
1442
1495
|
}
|
|
1496
|
+
_handleCtrlAltF8() {
|
|
1497
|
+
this._handleLinkNavigation = true;
|
|
1498
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1499
|
+
if (links.length) {
|
|
1500
|
+
links[0].focus();
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
_addLinksEventListeners() {
|
|
1504
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1505
|
+
links.forEach((link, index) => {
|
|
1506
|
+
this._linksListenersArray.push((e) => {
|
|
1507
|
+
f(e, links, index, {
|
|
1508
|
+
closeValueState: () => {
|
|
1509
|
+
if (this.Suggestions?.isOpened()) {
|
|
1510
|
+
this.Suggestions?.close();
|
|
1511
|
+
}
|
|
1512
|
+
if (this.valueStateOpen) {
|
|
1513
|
+
this.closeValueStatePopover();
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
focusInput: () => {
|
|
1517
|
+
this._handleLinkNavigation = false;
|
|
1518
|
+
this.getInputDOMRef().focus();
|
|
1519
|
+
},
|
|
1520
|
+
navigateToItem: () => {
|
|
1521
|
+
if (this._handleLinkNavigation) {
|
|
1522
|
+
this._handleLinkNavigation = false;
|
|
1523
|
+
if (this.Suggestions?.isOpened()) {
|
|
1524
|
+
this.innerFocusIn();
|
|
1525
|
+
(this.getInputDOMRef()).focus();
|
|
1526
|
+
this.Suggestions.onDown(e, this.currentItemIndex);
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
else {
|
|
1530
|
+
this._handleDown(e);
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
isPopoverOpen: () => { return (this.Suggestions && this.Suggestions?.isOpened()) || false; },
|
|
1534
|
+
});
|
|
1535
|
+
});
|
|
1536
|
+
link.addEventListener("keydown", this._linksListenersArray[index]);
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
_removeLinksEventListeners() {
|
|
1540
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1541
|
+
links.forEach((link, index) => {
|
|
1542
|
+
link.removeEventListener("keydown", this._linksListenersArray[index]);
|
|
1543
|
+
});
|
|
1544
|
+
this._linksListenersArray = [];
|
|
1545
|
+
this._handleLinkNavigation = false;
|
|
1546
|
+
}
|
|
1443
1547
|
_handleEnter(e) {
|
|
1444
1548
|
// if a group item is focused, this is false
|
|
1445
1549
|
const suggestionItemPressed = !!(this.Suggestions?.onEnter(e));
|
|
@@ -1515,10 +1619,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1515
1619
|
if (isAutoCompleted) {
|
|
1516
1620
|
this.value = this.typedInValue;
|
|
1517
1621
|
}
|
|
1518
|
-
|
|
1519
|
-
this._isValueStateFocused = false;
|
|
1520
|
-
this.focused = true;
|
|
1521
|
-
}
|
|
1622
|
+
this.focused = true;
|
|
1522
1623
|
}
|
|
1523
1624
|
_onfocusin(e) {
|
|
1524
1625
|
this.focused = true; // invalidating property
|
|
@@ -1561,7 +1662,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1561
1662
|
if (!this.showSuggestions || !this.Suggestions) {
|
|
1562
1663
|
return;
|
|
1563
1664
|
}
|
|
1564
|
-
this._isValueStateFocused = false;
|
|
1565
1665
|
this.hasSuggestionItemSelected = false;
|
|
1566
1666
|
this.Suggestions?._deselectItems();
|
|
1567
1667
|
this.Suggestions?._clearItemFocus();
|
|
@@ -1573,6 +1673,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1573
1673
|
}
|
|
1574
1674
|
}
|
|
1575
1675
|
_handleChange() {
|
|
1676
|
+
const shouldSubmit = this._internals.form && this._internals.form.querySelectorAll("[ui5-input]").length === 1;
|
|
1576
1677
|
if (this._clearIconClicked) {
|
|
1577
1678
|
this._clearIconClicked = false;
|
|
1578
1679
|
return;
|
|
@@ -1592,7 +1693,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1592
1693
|
}
|
|
1593
1694
|
else {
|
|
1594
1695
|
fireChange();
|
|
1595
|
-
if (this._enterKeyDown &&
|
|
1696
|
+
if (this._enterKeyDown && shouldSubmit) {
|
|
1596
1697
|
webcomponentsBase.i$1(this);
|
|
1597
1698
|
}
|
|
1598
1699
|
}
|
|
@@ -1606,6 +1707,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1606
1707
|
this.value = valueBeforeClear;
|
|
1607
1708
|
return;
|
|
1608
1709
|
}
|
|
1710
|
+
this.typedInValue = "";
|
|
1609
1711
|
if (!this._isPhone) {
|
|
1610
1712
|
this.fireResetSelectionChange();
|
|
1611
1713
|
this.focus();
|
|
@@ -1688,7 +1790,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1688
1790
|
}
|
|
1689
1791
|
this.fireEventByAction(INPUT_ACTIONS.ACTION_ENTER, e);
|
|
1690
1792
|
this.hasSuggestionItemSelected = false;
|
|
1691
|
-
this._isValueStateFocused = false;
|
|
1692
1793
|
if (this.Suggestions) {
|
|
1693
1794
|
this.Suggestions.updateSelectedItemPosition(-1);
|
|
1694
1795
|
}
|
|
@@ -1774,6 +1875,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1774
1875
|
}
|
|
1775
1876
|
_handleValueStatePopoverAfterClose() {
|
|
1776
1877
|
this.valueStateOpen = false;
|
|
1878
|
+
this._handleLinkNavigation = false;
|
|
1777
1879
|
}
|
|
1778
1880
|
_getValueStatePopover() {
|
|
1779
1881
|
return this.shadowRoot.querySelector("[ui5-popover]");
|
|
@@ -1801,10 +1903,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1801
1903
|
if (this._isGroupItem(item)) {
|
|
1802
1904
|
return;
|
|
1803
1905
|
}
|
|
1804
|
-
const value = this.typedInValue || this.value;
|
|
1805
1906
|
const itemText = item.text || "";
|
|
1806
1907
|
const fireChange = keyboardUsed
|
|
1807
|
-
? this.valueBeforeItemSelection !== itemText :
|
|
1908
|
+
? this.valueBeforeItemSelection !== itemText : this.previousValue !== itemText;
|
|
1808
1909
|
this.hasSuggestionItemSelected = true;
|
|
1809
1910
|
this.value = itemText;
|
|
1810
1911
|
if (fireChange && (this.previousValue !== itemText)) {
|
|
@@ -2004,6 +2105,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2004
2105
|
return [
|
|
2005
2106
|
this.suggestionsTextId,
|
|
2006
2107
|
this.valueStateTextId,
|
|
2108
|
+
this._valueStateLinksShortcutsTextAccId,
|
|
2007
2109
|
this._inputAccInfo.ariaDescribedBy,
|
|
2008
2110
|
this._accInfoAriaDescriptionId,
|
|
2009
2111
|
this.ariaDescriptionTextId,
|
|
@@ -2041,11 +2143,41 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2041
2143
|
if (this.shouldDisplayDefaultValueStateMessage) {
|
|
2042
2144
|
return this.valueStateText ? `${valueState} ${this.valueStateText}` : valueState;
|
|
2043
2145
|
}
|
|
2044
|
-
return `${valueState}
|
|
2146
|
+
return this.valueStateMessage.length ? `${valueState} ${this.valueStateMessage.map(el => el.textContent).join(" ")}` : valueState;
|
|
2045
2147
|
}
|
|
2046
2148
|
get itemSelectionAnnounce() {
|
|
2047
2149
|
return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : "";
|
|
2048
2150
|
}
|
|
2151
|
+
get linksInAriaValueStateHiddenText() {
|
|
2152
|
+
const links = [];
|
|
2153
|
+
if (this.valueStateMessage) {
|
|
2154
|
+
this.valueStateMessage.forEach(element => {
|
|
2155
|
+
if (element.children.length) {
|
|
2156
|
+
element.querySelectorAll("ui5-link").forEach(link => {
|
|
2157
|
+
links.push(link);
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2160
|
+
});
|
|
2161
|
+
}
|
|
2162
|
+
return links;
|
|
2163
|
+
}
|
|
2164
|
+
get valueStateLinksShortcutsTextAcc() {
|
|
2165
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
2166
|
+
if (!links.length) {
|
|
2167
|
+
return "";
|
|
2168
|
+
}
|
|
2169
|
+
if (Icons.A$1()) {
|
|
2170
|
+
return links.length === 1
|
|
2171
|
+
? Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINK_MAC)
|
|
2172
|
+
: Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINKS_MAC);
|
|
2173
|
+
}
|
|
2174
|
+
return links.length === 1
|
|
2175
|
+
? Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINK)
|
|
2176
|
+
: Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINKS);
|
|
2177
|
+
}
|
|
2178
|
+
get _valueStateLinksShortcutsTextAccId() {
|
|
2179
|
+
return this.linksInAriaValueStateHiddenText.length > 0 ? `hiddenText-value-state-link-shortcut` : "";
|
|
2180
|
+
}
|
|
2049
2181
|
get iconsCount() {
|
|
2050
2182
|
const slottedIconsCount = this.icon ? this.icon.length : 0;
|
|
2051
2183
|
const clearIconCount = Number(this._effectiveShowClearIcon) ?? 0;
|
|
@@ -2069,18 +2201,16 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2069
2201
|
};
|
|
2070
2202
|
}
|
|
2071
2203
|
get styles() {
|
|
2072
|
-
const
|
|
2204
|
+
const remSizeInPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
|
2073
2205
|
const stylesObject = {
|
|
2074
|
-
popoverHeader: {
|
|
2075
|
-
"max-width": this._inputWidth ? `${this._inputWidth}px` : "",
|
|
2076
|
-
},
|
|
2077
2206
|
suggestionPopoverHeader: {
|
|
2078
2207
|
"display": this._listWidth === 0 ? "none" : "inline-block",
|
|
2079
2208
|
"width": this._listWidth ? `${this._listWidth}px` : "",
|
|
2209
|
+
"max-width": "inherit",
|
|
2080
2210
|
},
|
|
2081
2211
|
suggestionsPopover: {
|
|
2082
2212
|
"min-width": this._inputWidth ? `${this._inputWidth}px` : "",
|
|
2083
|
-
"max-width": this._inputWidth && (this._inputWidth /
|
|
2213
|
+
"max-width": this._inputWidth && (this._inputWidth / remSizeInPx) > 40 ? `${this._inputWidth}px` : "40rem",
|
|
2084
2214
|
},
|
|
2085
2215
|
innerInput: {
|
|
2086
2216
|
"padding": "",
|
|
@@ -2272,9 +2402,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2272
2402
|
__decorate$4([
|
|
2273
2403
|
webcomponentsBase.s({ type: Boolean })
|
|
2274
2404
|
], Input.prototype, "valueStateOpen", void 0);
|
|
2275
|
-
__decorate$4([
|
|
2276
|
-
webcomponentsBase.s({ type: Boolean })
|
|
2277
|
-
], Input.prototype, "_isValueStateFocused", void 0);
|
|
2278
2405
|
__decorate$4([
|
|
2279
2406
|
webcomponentsBase.s({ type: Object })
|
|
2280
2407
|
], Input.prototype, "_inputAccInfo", void 0);
|
|
@@ -2302,6 +2429,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2302
2429
|
__decorate$4([
|
|
2303
2430
|
webcomponentsBase.s({ type: Object })
|
|
2304
2431
|
], Input.prototype, "Suggestions", void 0);
|
|
2432
|
+
__decorate$4([
|
|
2433
|
+
webcomponentsBase.s({ type: Array })
|
|
2434
|
+
], Input.prototype, "_linksListenersArray", void 0);
|
|
2305
2435
|
__decorate$4([
|
|
2306
2436
|
webcomponentsBase.d({ type: HTMLElement, "default": true })
|
|
2307
2437
|
], Input.prototype, "suggestionItems", void 0);
|
|
@@ -2315,7 +2445,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2315
2445
|
})
|
|
2316
2446
|
], Input.prototype, "valueStateMessage", void 0);
|
|
2317
2447
|
__decorate$4([
|
|
2318
|
-
|
|
2448
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents")
|
|
2319
2449
|
], Input, "i18nBundle", void 0);
|
|
2320
2450
|
Input = Input_1 = __decorate$4([
|
|
2321
2451
|
webcomponentsBase.m({
|
|
@@ -2418,9 +2548,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2418
2548
|
parametersBundle_css.jsx("span", { part: "additional-text", class: "ui5-li-additional-text", children: this.additionalText })] }) });
|
|
2419
2549
|
}
|
|
2420
2550
|
|
|
2421
|
-
Icons.p("
|
|
2422
|
-
Icons.p("
|
|
2423
|
-
var styles = `:host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5-v2-
|
|
2551
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2552
|
+
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);
|
|
2553
|
+
var styles = `:host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5-v2-14-0-rc-7_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-root{min-height:var(--_ui5-v2-14-0-rc-7_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-content{padding-bottom:.5rem;padding-top:.5rem;box-sizing:border-box}
|
|
2424
2554
|
`;
|
|
2425
2555
|
|
|
2426
2556
|
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -2511,14 +2641,14 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2511
2641
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [SearchFieldTemplate.call(this), SearchPopoverTemplate.call(this)] }));
|
|
2512
2642
|
}
|
|
2513
2643
|
|
|
2514
|
-
Icons.p("
|
|
2515
|
-
Icons.p("
|
|
2516
|
-
var SearchCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-search-popover{width:var(--search_width);margin-top:.25rem;box-sizing:border-box}.ui5-search-popup-searching-header{display:flex;gap:.5rem;width:100%;align-items:center}.ui5-search-popover::part(header){padding:.5rem 1rem;box-shadow:none;box-sizing:border-box}.ui5-search-popover::part(header):before{display:none}.ui5-search-popover::part(content){padding:0;box-shadow:none}:host([loading]) .ui5-search-popover main{min-height:2rem}.ui5-search-popover-search-field{flex:1;height:2.25rem;border-radius:var(--_ui5-v2-
|
|
2644
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2645
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$2.defaultTheme);
|
|
2646
|
+
var SearchCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-search-popover{width:var(--search_width);margin-top:.25rem;box-sizing:border-box}.ui5-search-popup-searching-header{display:flex;gap:.5rem;width:100%;align-items:center}.ui5-search-popover::part(header){padding:.5rem 1rem;box-shadow:none;box-sizing:border-box}.ui5-search-popover::part(header):before{display:none}.ui5-search-popover::part(content){padding:0;box-shadow:none}:host([loading]) .ui5-search-popover main{min-height:2rem}.ui5-search-popover-search-field{flex:1;height:2.25rem;border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius)}.ui5-search-popover-search-field::part(root):after{border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius)}.ui5-search-popover-search-field::part(input){padding-inline-start:.875rem}.ui5-search-popover-search-field::part(clear-icon-wrapper){margin-inline-end:.5rem}.ui5-search-popover-loading-bi{width:100%;height:100%}::slotted([slot="action"]){width:100%;margin-top:.5rem;margin-bottom:.5rem}.search-popover-busy-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:none;justify-content:center;align-items:center;pointer-events:all}:host([loading]) .search-popover-busy-wrapper{display:flex;width:100%;height:100%}.search-popover-busy-wrapper [ui5-busy-indicator]{z-index:1}.search-popover-busy-wrapper:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--_ui5-v2-14-0-rc-7-search-loading-overlay-background);opacity:var(--_ui5-v2-14-0-rc-7-search-loading-overlay-transparency);border-radius:var(--_ui5-v2-14-0-rc-7_popup_border_radius)}.ui5-search-popover-phone .ui5-search-popover-content{position:relative;width:100%;height:100%;display:flex;flex-direction:column}.ui5-search-popover-phone .search-popover-busy-wrapper:after{border-radius:0}
|
|
2517
2647
|
`;
|
|
2518
2648
|
|
|
2519
|
-
Icons.p("
|
|
2520
|
-
Icons.p("
|
|
2521
|
-
var SearchFieldCss = `:host,.ui5-shellbar-search-field-wrapper{height:2.25rem;display:flex;align-items:center}:host(:not([collapsed])),.ui5-shellbar-search-field-wrapper{min-width:18rem;max-width:36rem;margin:0;height:2.25rem;color:var(--sapShell_TextColor);font-size:var(--sapFontSize);font-family:
|
|
2649
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2650
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$2.defaultTheme);
|
|
2651
|
+
var SearchFieldCss = `:host,.ui5-shellbar-search-field-wrapper{height:2.25rem;display:flex;align-items:center}:host(:not([collapsed])),.ui5-shellbar-search-field-wrapper{min-width:18rem;max-width:36rem;margin:0;height:2.25rem;color:var(--sapShell_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;box-shadow:var(--sapField_Shadow);border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);box-sizing:border-box;text-align:start;background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-14-0-rc-7-search-wrapper-background);position:relative}.ui5-shellbar-search-field-wrapper{flex:1;min-width:auto}:host(:not([collapsed]):hover),:host(:not([collapsed]):focus-within),.ui5-shellbar-search-field-wrapper:focus-within{box-shadow:var(--sapField_Hover_Shadow);background:var(--_ui5-v2-14-0-rc-7-search-wrapper-hover-background);background-color:var(--_ui5-v2-14-0-rc-7-search-wrapper-hover-background-color)}:host([focused-inner-input]) .ui5-search-field-root{outline:var(--_ui5-v2-14-0-rc-7_search_wrapper_outline);border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);outline-offset:-.125rem}.ui5-search-field-root{width:100%;height:100%;position:relative;background:transparent;display:inline-block;outline:none;box-sizing:border-box;color:inherit;transition:border-color .2s ease-in-out;border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);overflow:hidden}.ui5-search-field-content{height:100%;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;overflow:hidden}[ui5-select]{--_ui5-v2-14-0-rc-7_content_density: compact;outline:none;margin:var(--_ui5-v2-14-0-rc-7_search_input_scope_margin);max-width:10rem;border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);border:var(--_ui5-v2-14-0-rc-7-search-border);box-shadow:none;background:unset;background-color:var(--_ui5-v2-14-0-rc-7-search-elements-background);height:var(--_ui5-v2-14-0-rc-7-search-select-height);--_ui5-v2-14-0-rc-7_select_label_color: var(--sapShell_TextColor)}[ui5-select]:hover{box-shadow:var(--sapField_Hover_Shadow)}[ui5-select]::part(icon){display:flex;justify-content:center;align-items:stretch;height:100%;padding:0 .5rem;align-self:center;border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);color:var(--sapShell_InteractiveTextColor)}[ui5-select]::part(popover){background-color:var(--sapShellColor)}.ui5-filter-wrapper{--_ui5-v2-14-0-rc-7_button_focused_border_radius: var(--_ui5-v2-14-0-rc-7_search_filter_button_border_radius)}::slotted([slot="filterButton"]){min-width:var(--_ui5-v2-14-0-rc-7_search_icon_size);height:var(--_ui5-v2-14-0-rc-7_search_icon_size);border:var(--_ui5-v2-14-0-rc-7_search_filter_button_border);border-radius:var(--_ui5-v2-14-0-rc-7_search_filter_button_border_radius);color:var(--sapShell_InteractiveTextColor);outline:none;background:var(--_ui5-v2-14-0-rc-7-search-filter_button_background_color);box-sizing:border-box;margin-inline-end:.1875rem;margin-inline-start:.25rem}::slotted([slot="filterButton"]:focus-within){background-color:var(--ui5-v2-14-0-rc-7_search_filter_button_background_active);border:var(--_ui5-v2-14-0-rc-7_search_filter_button_border)}::slotted([slot="filterButton"]:hover){background-color:var(--sapShell_Hover_Background);border:var(--_ui5-v2-14-0-rc-7_seach_filter_button_border_hover)}.ui5-search-field-inner-input{font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;padding:.5rem 0;height:100%;width:100%;box-sizing:border-box;background-color:var(--_ui5-v2-14-0-rc-7-search-elements-background);border:var(--_ui5-v2-14-0-rc-7-search-border);outline:none;color:inherit;padding-inline-start:var(--_ui5-v2-14-0-rc-7-search-input-start-padding);padding-inline-end:var(--_ui5-v2-14-0-rc-7_search_input_end_padding)}:host([focused-inner-input]) .ui5-search-field-inner-input{outline:var(--_ui5-v2-14-0-rc-7_search_input_outline);border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);outline-offset:-.3125rem}:host(:not([mode="Scoped"])) .ui5-search-field-inner-input{padding-inline-start:.875rem}[ui5-select]:hover,.ui5-search-field-inner-input:hover{background-color:var(--_ui5-v2-14-0-rc-7-search-elements-hover-background)}[ui5-select]:focus-within,.ui5-search-field-inner-input:focus-within{background-color:var(--_ui5-v2-14-0-rc-7-search-elements-active-background)}.ui5-search-field-inner-input::placeholder{font-weight:400;font-style:italic;color:var(--sapField_PlaceholderTextColor);padding-inline-start:.125rem}:host([mode="Scoped"]) .ui5-search-field-inner-input{margin-inline-start:var(--_ui5-v2-14-0-rc-7_search_input_start_margin)}.ui5-search-field-separator{height:1.5rem;width:.0625rem;background:var(--_ui5-v2-14-0-rc-7_search_separator_background);box-sizing:border-box}.ui5-shell-search-field-button{outline:none;min-width:var(--_ui5-v2-14-0-rc-7_search_icon_size);height:var(--_ui5-v2-14-0-rc-7_search_icon_size);border-radius:var(--_ui5-v2-14-0-rc-7_search_icon_border_radius);box-sizing:border-box;cursor:pointer}.ui5-shell-search-field-button:not([design=Emphasized]){color:var(--sapShell_InteractiveTextColor);background-color:var(--_ui5-v2-14-0-rc-7-search-elements-background);min-width:var(--_ui5-v2-14-0-rc-7_search_icon_size_default);height:var(--_ui5-v2-14-0-rc-7_search_icon_size_default);border-radius:var(--_ui5-v2-14-0-rc-7_shellbar_button_border_radius)}.ui5-shell-search-field-button:not([design=Emphasized]):hover{background-color:var(--sapShell_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);border-radius:var(--_ui5-v2-14-0-rc-7_shellbar_button_border_radius)}.ui5-shell-search-field-button[desktop]:not([active])::part(button):after,.ui5-shell-search-field-button:not([active])::part(button):focus-visible:after,.ui5-shell-search-field-button[desktop][active][design=Emphasized]::part(button):focus-within:after,.ui5-shell-search-field-button[active][design=Emphasized]::part(button):focus-visible:after,.ui5-shell-search-field-button[desktop][active]::part(button):focus-within:before,.ui5-shell-search-field-button[active]::part(button):focus-visible:before,.ui5-shell-search-field-button[design=Emphasized][desktop]::part(button):focus-within:before,.ui5-shell-search-field-button[design=Emphasized]::part(button):focus-visible:before{border-radius:var(--_ui5-v2-14-0-rc-7_shellbar_button_border_radius)}.ui5-shell-search-field-icon{display:flex;justify-content:center;align-items:stretch;cursor:pointer;outline:none;min-width:var(--_ui5-v2-14-0-rc-7_search_icon_size);height:var(--_ui5-v2-14-0-rc-7_search_icon_size);border-radius:var(--_ui5-v2-14-0-rc-7_search_icon_border_radius);margin-inline-end:.25rem;margin-inline-start:.1875rem;box-sizing:border-box;color:var(--sapShell_InteractiveTextColor);background-color:var(--_ui5-v2-14-0-rc-7-search-elements-background);border:var(--_ui5-v2-14-0-rc-7-search-icon-border)}.ui5-shell-search-field-icon::part(root){padding:var(--_ui5-v2-14-0-rc-7_search_icon_padding);width:1rem;height:1rem;outline-offset:-.125rem}.ui5-shell-search-field-icon:hover::part(root){padding:var(--_ui5-v2-14-0-rc-7_search_icon_hover_padding);outline-offset:-.1875rem}.ui5-shell-search-field-icon:focus::part(root){border-radius:var(--_ui5-v2-14-0-rc-7_search_icon_border_radius)}.ui5-shell-search-field-icon:hover,.ui5-shell-search-field-input-button:hover{background:var(--sapShell_Hover_Background);border:1px solid var(--sapButton_Lite_Hover_BorderColor);color:var(--sapShell_InteractiveTextColor)}.ui5-shell-search-field-search-icon{background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);color:var(--sapButton_Emphasized_TextColor)}.ui5-search-field-select{--_ui5-v2-14-0-rc-7_input_focus_border_radius: var(--_ui5-v2-14-0-rc-7_search_input_border_radius)}.ui5-search-field-select:hover,.ui5-search-field-select[focused]{background:var(--_ui5-v2-14-0-rc-7-search-wrapper-hover-background-color)}.ui5-search-field-select::part(icon-wrapper){border-radius:var(--_ui5-v2-14-0-rc-7_search_input_border_radius);height:100%}.ui5-search-field-select[focused]::part(icon-wrapper){box-shadow:var(--sapField_Hover_Shadow)}:host(:not([collapsed]):hover):has([ui5-select]:hover){background:var(--_ui5-v2-14-0-rc-7-search-wrapper-background)}:host(:not([collapsed])):has([ui5-select][focused]){background:var(--_ui5-v2-14-0-rc-7-search-wrapper-background)}.ui5-search-field-inner-input::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}
|
|
2522
2652
|
`;
|
|
2523
2653
|
|
|
2524
2654
|
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -2683,7 +2813,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2683
2813
|
webcomponentsBase.s({ type: Boolean })
|
|
2684
2814
|
], SearchField.prototype, "_effectiveShowClearIcon", void 0);
|
|
2685
2815
|
__decorate$2([
|
|
2686
|
-
|
|
2816
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents-fiori")
|
|
2687
2817
|
], SearchField, "i18nBundle", void 0);
|
|
2688
2818
|
SearchField = SearchField_1 = __decorate$2([
|
|
2689
2819
|
webcomponentsBase.m({
|
|
@@ -2779,7 +2909,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2779
2909
|
this.open = false;
|
|
2780
2910
|
// The typed in value.
|
|
2781
2911
|
this._typedInValue = "";
|
|
2782
|
-
this._matchedPerTerm = false;
|
|
2783
2912
|
this._valueBeforeOpen = this.getAttribute("value") || "";
|
|
2784
2913
|
}
|
|
2785
2914
|
onBeforeRendering() {
|
|
@@ -2790,30 +2919,24 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2790
2919
|
if (this._shouldAutocomplete && !autoCompletedChars) {
|
|
2791
2920
|
const item = this._getFirstMatchingItem(this.value);
|
|
2792
2921
|
this._proposedItem = item;
|
|
2922
|
+
if (!Icons.d()) {
|
|
2923
|
+
this.open = this._popoupHasAnyContent();
|
|
2924
|
+
}
|
|
2793
2925
|
if (item) {
|
|
2794
2926
|
this._handleTypeAhead(item);
|
|
2795
|
-
this.
|
|
2796
|
-
item.selected = true;
|
|
2797
|
-
}
|
|
2798
|
-
else {
|
|
2799
|
-
this._typedInValue = this.value;
|
|
2927
|
+
this._selectMatchingItem(item);
|
|
2800
2928
|
}
|
|
2801
2929
|
}
|
|
2802
|
-
else {
|
|
2803
|
-
this._typedInValue = this.value;
|
|
2804
|
-
}
|
|
2805
2930
|
if (Icons.d() && this.open) {
|
|
2806
2931
|
const item = this._getFirstMatchingItem(this.value);
|
|
2807
2932
|
this._proposedItem = item;
|
|
2808
|
-
this._deselectItems();
|
|
2809
2933
|
if (item && this._performItemSelectionOnMobile) {
|
|
2810
|
-
item
|
|
2934
|
+
this._selectMatchingItem(item);
|
|
2811
2935
|
}
|
|
2812
2936
|
}
|
|
2813
2937
|
this._flattenItems.forEach(item => {
|
|
2814
2938
|
item.highlightText = this._typedInValue;
|
|
2815
2939
|
});
|
|
2816
|
-
this._shouldAutocomplete = false;
|
|
2817
2940
|
}
|
|
2818
2941
|
onAfterRendering() {
|
|
2819
2942
|
const innerInput = this.nativeInput;
|
|
@@ -2853,33 +2976,30 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2853
2976
|
}
|
|
2854
2977
|
_handleTypeAhead(item) {
|
|
2855
2978
|
const originalValue = item.text || "";
|
|
2856
|
-
let displayValue = originalValue;
|
|
2857
|
-
if (!originalValue.toLowerCase().startsWith(this.value.toLowerCase())) {
|
|
2858
|
-
this._matchedPerTerm = true;
|
|
2859
|
-
displayValue = `${this.value} - ${originalValue}`;
|
|
2860
|
-
}
|
|
2861
|
-
else {
|
|
2862
|
-
this._matchedPerTerm = false;
|
|
2863
|
-
}
|
|
2864
2979
|
this._typedInValue = this.value;
|
|
2865
|
-
this._innerValue =
|
|
2980
|
+
this._innerValue = originalValue;
|
|
2866
2981
|
this._performTextSelection = true;
|
|
2867
|
-
this.value =
|
|
2982
|
+
this.value = originalValue;
|
|
2983
|
+
this._shouldAutocomplete = false;
|
|
2868
2984
|
}
|
|
2869
2985
|
_startsWithMatchingItems(str) {
|
|
2870
|
-
return StartsWith(str, this._flattenItems.filter(item => !this._isGroupItem(item)), "text");
|
|
2871
|
-
}
|
|
2872
|
-
_startsWithPerTermMatchingItems(str) {
|
|
2873
|
-
return StartsWithPerTerm(str, this._flattenItems.filter(item => !this._isGroupItem(item)), "text");
|
|
2986
|
+
return StartsWith(str, this._flattenItems.filter(item => !this._isGroupItem(item) && !this._isShowMoreItem(item)), "text");
|
|
2874
2987
|
}
|
|
2875
2988
|
_isGroupItem(item) {
|
|
2876
2989
|
return item.hasAttribute("ui5-search-item-group");
|
|
2877
2990
|
}
|
|
2991
|
+
_isShowMoreItem(item) {
|
|
2992
|
+
return item.hasAttribute("ui5-search-item-show-more");
|
|
2993
|
+
}
|
|
2878
2994
|
_deselectItems() {
|
|
2879
2995
|
this._flattenItems.forEach(item => {
|
|
2880
2996
|
item.selected = false;
|
|
2881
2997
|
});
|
|
2882
2998
|
}
|
|
2999
|
+
_selectMatchingItem(item) {
|
|
3000
|
+
this._deselectItems();
|
|
3001
|
+
item.selected = true;
|
|
3002
|
+
}
|
|
2883
3003
|
_handleDown(e) {
|
|
2884
3004
|
if (this.open) {
|
|
2885
3005
|
e.preventDefault();
|
|
@@ -2887,7 +3007,8 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2887
3007
|
}
|
|
2888
3008
|
}
|
|
2889
3009
|
_handleArrowDown() {
|
|
2890
|
-
const
|
|
3010
|
+
const focusableItems = this._getItemsList().listItems;
|
|
3011
|
+
const firstListItem = focusableItems.at(0);
|
|
2891
3012
|
if (this.open) {
|
|
2892
3013
|
this._deselectItems();
|
|
2893
3014
|
this.value = this._typedInValue || this.value;
|
|
@@ -2895,14 +3016,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2895
3016
|
firstListItem?.focus();
|
|
2896
3017
|
}
|
|
2897
3018
|
}
|
|
2898
|
-
_handleRight(e) {
|
|
2899
|
-
if (this._matchedPerTerm) {
|
|
2900
|
-
e.preventDefault();
|
|
2901
|
-
this.value = this._typedInValue;
|
|
2902
|
-
this._innerValue = this._typedInValue;
|
|
2903
|
-
this._proposedItem = undefined;
|
|
2904
|
-
}
|
|
2905
|
-
}
|
|
2906
3019
|
_handleInnerClick() {
|
|
2907
3020
|
if (Icons.d()) {
|
|
2908
3021
|
this.open = true;
|
|
@@ -2922,12 +3035,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2922
3035
|
return;
|
|
2923
3036
|
}
|
|
2924
3037
|
const innerInput = this.nativeInput;
|
|
2925
|
-
if (this._matchedPerTerm) {
|
|
2926
|
-
this.value = this._proposedItem?.text || this.value;
|
|
2927
|
-
this._innerValue = this.value;
|
|
2928
|
-
this._typedInValue = this.value;
|
|
2929
|
-
this._matchedPerTerm = false;
|
|
2930
|
-
}
|
|
2931
3038
|
innerInput.setSelectionRange(this.value.length, this.value.length);
|
|
2932
3039
|
this.open = false;
|
|
2933
3040
|
}
|
|
@@ -2947,6 +3054,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2947
3054
|
}
|
|
2948
3055
|
_handleInput(e) {
|
|
2949
3056
|
super._handleInput(e);
|
|
3057
|
+
this._typedInValue = this.value;
|
|
2950
3058
|
if (Icons.d()) {
|
|
2951
3059
|
return;
|
|
2952
3060
|
}
|
|
@@ -2956,19 +3064,24 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2956
3064
|
return this.items.length > 0 || this.illustration.length > 0 || this.messageArea.length > 0 || this.loading || this.action.length > 0;
|
|
2957
3065
|
}
|
|
2958
3066
|
_onFooterButtonKeyDown(e) {
|
|
2959
|
-
if (webcomponentsBase.
|
|
3067
|
+
if (webcomponentsBase.P(e)) {
|
|
2960
3068
|
this._flattenItems[this._flattenItems.length - 1].focus();
|
|
2961
3069
|
}
|
|
2962
|
-
if (webcomponentsBase.
|
|
3070
|
+
if (webcomponentsBase.V(e)) {
|
|
2963
3071
|
this._getItemsList().focus();
|
|
2964
3072
|
}
|
|
2965
3073
|
}
|
|
2966
3074
|
_onItemKeydown(e) {
|
|
2967
|
-
const
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
const
|
|
2971
|
-
const
|
|
3075
|
+
const target = e.target;
|
|
3076
|
+
// if focus is on the group header (in group's shadow dom) the target is the group itself,
|
|
3077
|
+
// if so using getFocusDomRef ensures the actual focused element is used
|
|
3078
|
+
const focusedItem = this._isGroupItem(target) ? target?.getFocusDomRef() : target;
|
|
3079
|
+
const focusableItems = this._getItemsList().listItems;
|
|
3080
|
+
const isFirstItem = focusableItems.at(0) === focusedItem;
|
|
3081
|
+
const isLastItem = focusableItems.at(-1) === focusedItem;
|
|
3082
|
+
const isArrowUp = webcomponentsBase.P(e);
|
|
3083
|
+
const isArrowDown = webcomponentsBase._(e);
|
|
3084
|
+
const isTab = webcomponentsBase.x(e);
|
|
2972
3085
|
e.preventDefault();
|
|
2973
3086
|
if (isFirstItem && isArrowUp) {
|
|
2974
3087
|
this.nativeInput?.focus();
|
|
@@ -2999,24 +3112,17 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2999
3112
|
return;
|
|
3000
3113
|
}
|
|
3001
3114
|
this._shouldAutocomplete = !this.noTypeahead
|
|
3002
|
-
&& !(webcomponentsBase.
|
|
3003
|
-
if (webcomponentsBase.
|
|
3004
|
-
this._handleRight(e);
|
|
3005
|
-
}
|
|
3006
|
-
if (webcomponentsBase.P(e)) {
|
|
3115
|
+
&& !(webcomponentsBase.Q(e) || webcomponentsBase.X(e) || webcomponentsBase.m$2(e) || webcomponentsBase.P(e) || webcomponentsBase._(e) || webcomponentsBase.x(e) || webcomponentsBase.b$1(e) || webcomponentsBase.j(e) || webcomponentsBase.q(e) || webcomponentsBase.M(e) || webcomponentsBase.n(e) || webcomponentsBase.m$2(e));
|
|
3116
|
+
if (webcomponentsBase._(e)) {
|
|
3007
3117
|
this._handleDown(e);
|
|
3008
3118
|
}
|
|
3009
|
-
if (webcomponentsBase.
|
|
3119
|
+
if (webcomponentsBase.m$2(e)) {
|
|
3010
3120
|
this._handleEscape();
|
|
3011
3121
|
}
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
if (this._matchedPerTerm) {
|
|
3016
|
-
this.value = this._typedInValue;
|
|
3017
|
-
this._innerValue = this._typedInValue;
|
|
3122
|
+
// deselect item on backspace or delete
|
|
3123
|
+
if (webcomponentsBase.Q(e) || webcomponentsBase.X(e)) {
|
|
3124
|
+
this._deselectItems();
|
|
3018
3125
|
}
|
|
3019
|
-
this._matchedPerTerm = false;
|
|
3020
3126
|
}
|
|
3021
3127
|
_onFocusOutSearch(e) {
|
|
3022
3128
|
const target = e.relatedTarget;
|
|
@@ -3049,7 +3155,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3049
3155
|
this.fireDecoratorEvent("open");
|
|
3050
3156
|
}
|
|
3051
3157
|
_handleActionKeydown(e) {
|
|
3052
|
-
if (webcomponentsBase.
|
|
3158
|
+
if (webcomponentsBase.P(e)) {
|
|
3053
3159
|
this._flattenItems[this._flattenItems.length - 1].focus();
|
|
3054
3160
|
}
|
|
3055
3161
|
}
|
|
@@ -3061,16 +3167,10 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3061
3167
|
return;
|
|
3062
3168
|
}
|
|
3063
3169
|
const startsWithMatches = this._startsWithMatchingItems(current);
|
|
3064
|
-
const partialMatches = this._startsWithPerTermMatchingItems(current);
|
|
3065
3170
|
if (!startsWithMatches.length) {
|
|
3066
|
-
return
|
|
3067
|
-
}
|
|
3068
|
-
if (!partialMatches.length) {
|
|
3069
|
-
return startsWithMatches[0];
|
|
3171
|
+
return undefined;
|
|
3070
3172
|
}
|
|
3071
|
-
return
|
|
3072
|
-
? startsWithMatches[0]
|
|
3073
|
-
: partialMatches[0];
|
|
3173
|
+
return startsWithMatches[0];
|
|
3074
3174
|
}
|
|
3075
3175
|
_getPicker() {
|
|
3076
3176
|
return this.shadowRoot.querySelector("[ui5-responsive-popover]");
|
|
@@ -3112,7 +3212,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3112
3212
|
webcomponentsBase.s({ type: Boolean })
|
|
3113
3213
|
], Search.prototype, "noTypeahead", void 0);
|
|
3114
3214
|
__decorate$1([
|
|
3115
|
-
webcomponentsBase.d({
|
|
3215
|
+
webcomponentsBase.d({
|
|
3216
|
+
type: HTMLElement,
|
|
3217
|
+
"default": true,
|
|
3218
|
+
invalidateOnChildChange: true,
|
|
3219
|
+
})
|
|
3116
3220
|
], Search.prototype, "items", void 0);
|
|
3117
3221
|
__decorate$1([
|
|
3118
3222
|
webcomponentsBase.d()
|
|
@@ -3133,7 +3237,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3133
3237
|
webcomponentsBase.s({ type: Boolean })
|
|
3134
3238
|
], Search.prototype, "_performItemSelectionOnMobile", void 0);
|
|
3135
3239
|
__decorate$1([
|
|
3136
|
-
|
|
3240
|
+
parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents-fiori")
|
|
3137
3241
|
], Search, "i18nBundle", void 0);
|
|
3138
3242
|
Search = Search_1 = __decorate$1([
|
|
3139
3243
|
webcomponentsBase.m({
|
|
@@ -3175,6 +3279,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3175
3279
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [SearchFieldTemplate.call(this), ShellBarSearchPopoverTemplate.call(this)] }));
|
|
3176
3280
|
}
|
|
3177
3281
|
|
|
3282
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
3283
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$2.defaultTheme);
|
|
3284
|
+
var ShellBarSearchCss = `:host(:not([collapsed])){min-width:13rem}
|
|
3285
|
+
`;
|
|
3286
|
+
|
|
3178
3287
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3179
3288
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3180
3289
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3192,6 +3301,15 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3192
3301
|
* @experimental
|
|
3193
3302
|
*/
|
|
3194
3303
|
let ShellBarSearch = ShellBarSearch_1 = class ShellBarSearch extends Search$1 {
|
|
3304
|
+
constructor() {
|
|
3305
|
+
super(...arguments);
|
|
3306
|
+
/**
|
|
3307
|
+
* Indicates whether the suggestions popover should be opened on focus.
|
|
3308
|
+
* @default false
|
|
3309
|
+
* @public
|
|
3310
|
+
*/
|
|
3311
|
+
this.autoOpen = false;
|
|
3312
|
+
}
|
|
3195
3313
|
_handleSearchIconPress() {
|
|
3196
3314
|
super._handleSearchIconPress();
|
|
3197
3315
|
if (this.collapsed) {
|
|
@@ -3226,6 +3344,13 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3226
3344
|
const domRef = this.shadowRoot;
|
|
3227
3345
|
return Icons.d() ? domRef?.querySelector(`[ui5-responsive-popover] input`) : super.nativeInput;
|
|
3228
3346
|
}
|
|
3347
|
+
_onfocusin() {
|
|
3348
|
+
super._onfocusin();
|
|
3349
|
+
if (this.autoOpen) {
|
|
3350
|
+
this.open = true;
|
|
3351
|
+
this.fireDecoratorEvent("open");
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3229
3354
|
onBeforeRendering() {
|
|
3230
3355
|
super.onBeforeRendering();
|
|
3231
3356
|
if (Icons.d()) {
|
|
@@ -3233,10 +3358,17 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3233
3358
|
}
|
|
3234
3359
|
}
|
|
3235
3360
|
};
|
|
3361
|
+
__decorate([
|
|
3362
|
+
webcomponentsBase.s({ type: Boolean })
|
|
3363
|
+
], ShellBarSearch.prototype, "autoOpen", void 0);
|
|
3236
3364
|
ShellBarSearch = ShellBarSearch_1 = __decorate([
|
|
3237
3365
|
webcomponentsBase.m({
|
|
3238
3366
|
tag: "ui5-shellbar-search",
|
|
3239
3367
|
template: ShellBarSearchTemplate,
|
|
3368
|
+
styles: [
|
|
3369
|
+
Search$1.styles,
|
|
3370
|
+
ShellBarSearchCss,
|
|
3371
|
+
],
|
|
3240
3372
|
})
|
|
3241
3373
|
], ShellBarSearch);
|
|
3242
3374
|
ShellBarSearch.define();
|