@sapui5/sap.ushell 1.139.0 → 1.139.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +0 -9
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +18 -0
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- 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/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +4 -1
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +8 -5
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +15 -1
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +74 -17
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +17 -21
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +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/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- 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/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 +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +40 -2
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +8 -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 +22 -20
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +6 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- 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 +112 -113
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +211 -136
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +69 -70
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +71 -81
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +34 -40
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +146 -83
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -119
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +190 -155
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +538 -367
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -78
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +86 -76
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +127 -98
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +50 -47
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +156 -137
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +78 -63
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +31 -29
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +48 -46
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +49 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -213
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +73 -71
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -63
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +150 -126
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +44 -42
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +190 -136
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +78 -76
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +37 -35
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1641 -1388
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +2818 -2449
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +17 -13
- package/src/main/js/sap/ushell/renderer/NavContainer.js +6 -0
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +0 -17
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +26 -3
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +7 -0
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +1 -1
- 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 +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +13 -10
- package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Button2.js +88 -25
- 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 +130 -92
- package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/Link.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/List.js +108 -129
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +24 -12
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +62 -46
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +238 -73
- package/src/main/js/sap/ushell/thirdparty/Menu.js +13 -14
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +54 -20
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +8 -8
- 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 +4 -4
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +104 -56
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +54 -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 +73 -39
- 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 +385 -180
- package/src/main/js/sap/ushell/thirdparty/Tag.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/Text.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/Title.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +21 -21
- 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/InputComposition.js +35 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +7 -54
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +3 -3
- 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_ar.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +603 -717
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +603 -717
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +603 -711
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +858 -174
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +603 -711
- 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.css3.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +17 -1
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +2 -0
- 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 +40 -4
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +3 -39
- 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 +76 -62
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +53 -53
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +54 -265
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -0
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +0 -13
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar.js +0 -7139
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_EG.js +0 -7139
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_SA.js +0 -7138
- package/src/main/js/sap/ushell/thirdparty/_dynamics/bg.js +0 -6031
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ca.js +0 -6133
- package/src/main/js/sap/ushell/thirdparty/_dynamics/cnr.js +0 -6219
- package/src/main/js/sap/ushell/thirdparty/_dynamics/cs.js +0 -6759
- package/src/main/js/sap/ushell/thirdparty/_dynamics/da.js +0 -5977
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de.js +0 -6098
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de_AT.js +0 -6099
- package/src/main/js/sap/ushell/thirdparty/_dynamics/de_CH.js +0 -6097
- package/src/main/js/sap/ushell/thirdparty/_dynamics/el.js +0 -5882
- package/src/main/js/sap/ushell/thirdparty/_dynamics/el_CY.js +0 -5882
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en.js +0 -6094
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_AU.js +0 -6134
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_GB.js +0 -6125
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_HK.js +0 -6136
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IE.js +0 -6125
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IN.js +0 -6132
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_NZ.js +0 -6125
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_PG.js +0 -6126
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_SG.js +0 -6132
- package/src/main/js/sap/ushell/thirdparty/_dynamics/en_ZA.js +0 -6126
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es.js +0 -6153
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_AR.js +0 -6156
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_BO.js +0 -6155
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CL.js +0 -6048
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CO.js +0 -6048
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_MX.js +0 -6157
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_PE.js +0 -5939
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_UY.js +0 -5941
- package/src/main/js/sap/ushell/thirdparty/_dynamics/es_VE.js +0 -5940
- package/src/main/js/sap/ushell/thirdparty/_dynamics/et.js +0 -6077
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fa.js +0 -6002
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fi.js +0 -6245
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr.js +0 -6047
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_BE.js +0 -6047
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CA.js +0 -6041
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CH.js +0 -6065
- package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_LU.js +0 -6047
- package/src/main/js/sap/ushell/thirdparty/_dynamics/he.js +0 -6593
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hi.js +0 -5911
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hr.js +0 -6246
- package/src/main/js/sap/ushell/thirdparty/_dynamics/hu.js +0 -5995
- package/src/main/js/sap/ushell/thirdparty/_dynamics/id.js +0 -5783
- package/src/main/js/sap/ushell/thirdparty/_dynamics/it.js +0 -6036
- package/src/main/js/sap/ushell/thirdparty/_dynamics/it_CH.js +0 -6036
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ja.js +0 -5942
- package/src/main/js/sap/ushell/thirdparty/_dynamics/kk.js +0 -5989
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ko.js +0 -5823
- package/src/main/js/sap/ushell/thirdparty/_dynamics/lt.js +0 -6628
- package/src/main/js/sap/ushell/thirdparty/_dynamics/lv.js +0 -6164
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +0 -590
- package/src/main/js/sap/ushell/thirdparty/_dynamics/mk.js +0 -6095
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ms.js +0 -5617
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nb.js +0 -6085
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nl.js +0 -6252
- package/src/main/js/sap/ushell/thirdparty/_dynamics/nl_BE.js +0 -6252
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pl.js +0 -6639
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pt.js +0 -6165
- package/src/main/js/sap/ushell/thirdparty/_dynamics/pt_PT.js +0 -6230
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ro.js +0 -6250
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ru.js +0 -6553
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ru_UA.js +0 -6553
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sk.js +0 -6482
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sl.js +0 -6494
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sr.js +0 -6291
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sr_Latn.js +0 -6278
- package/src/main/js/sap/ushell/thirdparty/_dynamics/sv.js +0 -6126
- package/src/main/js/sap/ushell/thirdparty/_dynamics/th.js +0 -5928
- package/src/main/js/sap/ushell/thirdparty/_dynamics/tr.js +0 -6146
- package/src/main/js/sap/ushell/thirdparty/_dynamics/uk.js +0 -6504
- package/src/main/js/sap/ushell/thirdparty/_dynamics/vi.js +0 -5720
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_CN.js +0 -5770
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_HK.js +0 -5779
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_SG.js +0 -5779
- package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_TW.js +0 -5846
|
@@ -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.
|
|
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.css', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/ListItemAdditionalText.css', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/List', 'sap/ushell/thirdparty/Label', 'sap/ushell/thirdparty/ResponsivePopover', 'sap/ushell/thirdparty/slim-arrow-down', 'sap/ushell/thirdparty/Title', 'sap/ushell/thirdparty/encodeXML', 'sap/ushell/thirdparty/information2', 'sap/ushell/thirdparty/sys-enter-2', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/i18n-defaults2'], (function (require, exports, webcomponentsBase, webcomponents, webcomponentsFiori, eventStrict, Icons, parametersBundle_css, Button, Icon, ListItemBase, i18nDefaults, ListItemAdditionalText_css, BusyIndicator, ValueState, information, List, Label, ResponsivePopover, slimArrowDown, Title, encodeXML, information$1, sysEnter2, parametersBundle_css$1, 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("sap/ushell/
|
|
21
|
-
Icons.p("
|
|
22
|
-
var optionBaseCss = `:host{height:var(--_ui5-v2-
|
|
20
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.defaultTheme);
|
|
22
|
+
var optionBaseCss = `:host{height:var(--_ui5-v2-15-0_list_item_dropdown_base_height);--_ui5-v2-15-0_list_item_title_size: var(--sapFontSize)}
|
|
23
23
|
`;
|
|
24
24
|
|
|
25
|
-
Icons.p("sap/ushell/
|
|
26
|
-
Icons.p("
|
|
27
|
-
var listItemIconCss = `.ui5-li-icon{color:var(--sapList_TextColor);min-width:var(--_ui5-v2-
|
|
25
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.defaultTheme);
|
|
27
|
+
var listItemIconCss = `.ui5-li-icon{color:var(--sapList_TextColor);min-width:var(--_ui5-v2-15-0_list_item_icon_size);min-height:var(--_ui5-v2-15-0_list_item_icon_size);padding-inline-end:var(--_ui5-v2-15-0_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
|
-
}, 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(
|
|
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, accessibleName: this._isPhone ? this._headerTitleText : undefined, 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(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("sap/ushell/
|
|
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" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.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-15-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-15-0_input_icon_padding);border-inline-start:var(--_ui5-v2-15-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-15-0_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-15-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);color:var(--_ui5-v2-15-0_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);color:var(--_ui5-v2-15-0_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-15-0_input_icon_hover_bg);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-15-0_input_width);min-width:calc(var(--_ui5-v2-15-0_input_min_width) + (var(--_ui5-v2-15-0-input-icons-count)*var(--_ui5-v2-15-0_input_icon_width)));margin:var(--_ui5-v2-15-0_input_margin_top_bottom) 0;height:var(--_ui5-v2-15-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-15-0-input-border);border-radius:var(--_ui5-v2-15-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-15-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-15-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-15-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-15-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-15-0_input_focus_outline_color);border-radius:var(--_ui5-v2-15-0_input_focus_border_radius);top:var(--_ui5-v2-15-0_input_focus_offset);bottom:var(--_ui5-v2-15-0_input_focus_offset);left:var(--_ui5-v2-15-0_input_focus_offset);right:var(--_ui5-v2-15-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-15-0_input_readonly_focus_offset);bottom:var(--_ui5-v2-15-0_input_readonly_focus_offset);left:var(--_ui5-v2-15-0_input_readonly_focus_offset);right:var(--_ui5-v2-15-0_input_readonly_focus_offset);border-radius:var(--_ui5-v2-15-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-15-0_input_bottom_border_height);transition:var(--_ui5-v2-15-0_input_transition);background-color:var(--_ui5-v2-15-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-15-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-15-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-15-0-input_disabled_background);border-color:var(--_ui5-v2-15-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-15-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-15-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-15-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-15-0_input_placeholder_style);color:var(--_ui5-v2-15-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-15-0_input_placeholder_style);color:var(--_ui5-v2-15-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-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-15-0_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-15-0_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-15-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-15-0_input_hover_border);border-color:var(--_ui5-v2-15-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-15-0_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-15-0_input_error_warning_font_style);text-indent:var(--_ui5-v2-15-0_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-15-0_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-15-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-15-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-15-0_input_focused_value_state_error_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-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-15-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-15-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-15-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-0_input_value_state_success_border_color);border-width:var(--_ui5-v2-15-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-15-0_input_focused_value_state_success_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-0_input_value_state_information_border_color);border-width:var(--_ui5-v2-15-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-15-0_input_focused_value_state_information_background);border-color:var(--_ui5-v2-15-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-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-15-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-15-0_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-15-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-15-0_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-15-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-15-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-15-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-15-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-15-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-15-0_input_error_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_warning_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_information_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_success_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-15-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-15-0_input_icon_width);min-width:var(--_ui5-v2-15-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-15-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-15-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-15-0_button_base_min_width);width:var(--_ui5-v2-15-0_button_base_min_width)}:host([icon]) .ui5-select-root{min-width:var(--_ui5-v2-15-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-15-0_input_min_width) + (var(--_ui5-v2-15-0-input-icons-count)*var(--_ui5-v2-15-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v2-15-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-15-0_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-15-0_select_icon_width);min-width:var(--_ui5-v2-15-0_select_icon_width);height:var(--_ui5-v2-15-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-15-0_select_icon_wrapper_state_height)}
|
|
143
146
|
`;
|
|
144
147
|
|
|
145
|
-
Icons.p("sap/ushell/
|
|
146
|
-
Icons.p("
|
|
147
|
-
var ResponsivePopoverCommonCss = `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v2-
|
|
148
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.defaultTheme);
|
|
150
|
+
var ResponsivePopoverCommonCss = `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v2-15-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-15-0_input_background_color);border:var(--_ui5-v2-15-0-input-border);border-radius:var(--_ui5-v2-15-0_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-15-0_input_focus_border_radius);top:var(--_ui5-v2-15-0_input_focus_offset);bottom:var(--_ui5-v2-15-0_input_focus_offset);left:var(--_ui5-v2-15-0_input_focus_offset);right:var(--_ui5-v2-15-0_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-15-0_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-15-0_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-15-0_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:var(--_ui5-v2-15-0_input_placeholder_style);color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v2-15-0_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-15-0_input_error_warning_font_style)}.input-root-phone[value-state=Negative] [inner-input]{font-weight:var(--_ui5-v2-15-0_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-15-0_input_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-15-0_input_focused_value_state_error_background);border-color:var(--_ui5-v2-15-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Negative]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-15-0_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-15-0_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-15-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-15-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-15-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Critical]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-15-0_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-15-0_input_value_state_success_border_color);border-width:var(--_ui5-v2-15-0_input_value_state_success_border_width)}.input-root-phone[value-state=Positive]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-15-0_input_focused_value_state_success_background);border-color:var(--_ui5-v2-15-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Positive]:not([readonly]):focus-within:before{border-color:var(--_ui5-v2-15-0_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-15-0_input_value_state_information_border_color);border-width:var(--_ui5-v2-15-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v2-15-0_input_focused_value_state_information_background);border-color:var(--_ui5-v2-15-0_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-15-0_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-footer .ui5-responsive-popover-close-btn{margin-left:.5rem}.ui5-responsive-popover-header .ui5-responsive-popover-close-btn{position:absolute;right:1rem}
|
|
148
151
|
`;
|
|
149
152
|
|
|
150
|
-
Icons.p("sap/ushell/
|
|
151
|
-
Icons.p("
|
|
152
|
-
var ValueStateMessageCss = `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v2-
|
|
153
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.defaultTheme);
|
|
155
|
+
var ValueStateMessageCss = `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v2-15-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v2-15-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v2-15-0_value_state_message_icon_width);height:var(--_ui5-v2-15-0_value_state_message_icon_height);display:var(--_ui5-v2-15-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v2-15-0_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-15-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v2-15-0_value_state_message_border);line-height:var(--_ui5-v2-15-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:var(--_ui5-v2-15-0_value_state_message_popover_header_min_height);min-width:var(--_ui5-v2-15-0_value_state_message_popover_header_min_width);max-width:var(--_ui5-v2-15-0_value_state_message_popover_header_max_width);width:var(--_ui5-v2-15-0_value_state_message_popover_header_width)}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v2-15-0_value_state_header_padding);border:var(--_ui5-v2-15-0_value_state_header_border);border-bottom:var(--_ui5-v2-15-0_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-15-0_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-15-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v2-15-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0;max-width:100%}.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-15-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v2-15-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v2-15-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v2-15-0_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("sap/ushell/
|
|
156
|
-
Icons.p("
|
|
157
|
-
var SelectPopoverCss = `.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}
|
|
158
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/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 () => i18nDefaults.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
|
+
BusyIndicator.y(this, this._updateAssociatedLabelsTexts.bind(this));
|
|
307
|
+
}
|
|
308
|
+
onExitDOM() {
|
|
309
|
+
BusyIndicator.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) {
|
|
@@ -634,6 +653,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
634
653
|
_applyFocusToSelectedItem() {
|
|
635
654
|
this.options.forEach(option => {
|
|
636
655
|
option.focused = option.selected;
|
|
656
|
+
if (option.focused && Icons.d()) {
|
|
657
|
+
// on phone, the popover opens full screen (dialog)
|
|
658
|
+
// move focus to option to read out dialog header
|
|
659
|
+
option.focus();
|
|
660
|
+
}
|
|
637
661
|
});
|
|
638
662
|
}
|
|
639
663
|
_afterClose() {
|
|
@@ -701,6 +725,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
701
725
|
get valueStateTextId() {
|
|
702
726
|
return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
|
|
703
727
|
}
|
|
728
|
+
get responsivePopoverId() {
|
|
729
|
+
return `${this._id}-popover`;
|
|
730
|
+
}
|
|
704
731
|
get isDisabled() {
|
|
705
732
|
return this.disabled || undefined;
|
|
706
733
|
}
|
|
@@ -734,6 +761,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
734
761
|
return {
|
|
735
762
|
popoverValueState: {
|
|
736
763
|
"ui5-valuestatemessage-root": true,
|
|
764
|
+
"ui5-valuestatemessage-header": !this._isPhone,
|
|
737
765
|
"ui5-valuestatemessage--success": this.valueState === ValueState.o.Positive,
|
|
738
766
|
"ui5-valuestatemessage--error": this.valueState === ValueState.o.Negative,
|
|
739
767
|
"ui5-valuestatemessage--warning": this.valueState === ValueState.o.Critical,
|
|
@@ -747,11 +775,12 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
747
775
|
get styles() {
|
|
748
776
|
return {
|
|
749
777
|
popoverHeader: {
|
|
750
|
-
"
|
|
778
|
+
"display": "block",
|
|
751
779
|
},
|
|
752
780
|
responsivePopoverHeader: {
|
|
753
781
|
"display": this.options.length && this._listWidth === 0 ? "none" : "inline-block",
|
|
754
782
|
"width": `${this.options.length ? this._listWidth : this.offsetWidth}px`,
|
|
783
|
+
"max-width": "100%",
|
|
755
784
|
},
|
|
756
785
|
responsivePopover: {
|
|
757
786
|
"min-width": `${this.offsetWidth}px`,
|
|
@@ -759,7 +788,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
759
788
|
};
|
|
760
789
|
}
|
|
761
790
|
get ariaLabelText() {
|
|
762
|
-
return
|
|
791
|
+
return BusyIndicator.A(this) || BusyIndicator.M(this);
|
|
763
792
|
}
|
|
764
793
|
get shouldDisplayDefaultValueStateMessage() {
|
|
765
794
|
return !this.valueStateMessage.length && this.hasValueStateText;
|
|
@@ -807,6 +836,19 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
807
836
|
get selectedOptionIcon() {
|
|
808
837
|
return this.selectedOption && this.selectedOption.icon;
|
|
809
838
|
}
|
|
839
|
+
get ariaDescriptionText() {
|
|
840
|
+
return this._associatedDescriptionRefTexts || BusyIndicator.L(this);
|
|
841
|
+
}
|
|
842
|
+
get ariaDescriptionTextId() {
|
|
843
|
+
return this.ariaDescriptionText ? "accessibleDescription" : "";
|
|
844
|
+
}
|
|
845
|
+
get ariaDescribedByIds() {
|
|
846
|
+
const ids = [this.valueStateTextId, this.ariaDescriptionTextId].filter(Boolean);
|
|
847
|
+
return ids.length ? ids.join(" ") : undefined;
|
|
848
|
+
}
|
|
849
|
+
_updateAssociatedLabelsTexts() {
|
|
850
|
+
this._associatedDescriptionRefTexts = BusyIndicator.p(this);
|
|
851
|
+
}
|
|
810
852
|
_getPopover() {
|
|
811
853
|
return this.shadowRoot.querySelector("[ui5-popover]");
|
|
812
854
|
}
|
|
@@ -835,9 +877,18 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
835
877
|
__decorate$5([
|
|
836
878
|
webcomponentsBase.s()
|
|
837
879
|
], Select.prototype, "accessibleNameRef", void 0);
|
|
880
|
+
__decorate$5([
|
|
881
|
+
webcomponentsBase.s()
|
|
882
|
+
], Select.prototype, "accessibleDescription", void 0);
|
|
883
|
+
__decorate$5([
|
|
884
|
+
webcomponentsBase.s()
|
|
885
|
+
], Select.prototype, "accessibleDescriptionRef", void 0);
|
|
838
886
|
__decorate$5([
|
|
839
887
|
webcomponentsBase.s()
|
|
840
888
|
], Select.prototype, "tooltip", void 0);
|
|
889
|
+
__decorate$5([
|
|
890
|
+
webcomponentsBase.s({ type: String, noAttribute: true })
|
|
891
|
+
], Select.prototype, "_associatedDescriptionRefTexts", void 0);
|
|
841
892
|
__decorate$5([
|
|
842
893
|
webcomponentsBase.s({ type: Boolean, noAttribute: true })
|
|
843
894
|
], Select.prototype, "_iconPressed", void 0);
|
|
@@ -941,13 +992,15 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
941
992
|
var Select$1 = Select;
|
|
942
993
|
|
|
943
994
|
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 &&
|
|
995
|
+
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
996
|
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
997
|
"ui5-shell-search-field-icon": true,
|
|
947
998
|
"ui5-shell-search-field-search-icon": this._isSearchIcon,
|
|
948
999
|
}, name: slimArrowDown.search, showTooltip: true, accessibleName: this._effectiveIconTooltip, onClick: this._handleSearchIconPress })] }) })));
|
|
949
1000
|
}
|
|
950
1001
|
|
|
1002
|
+
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());};
|
|
1003
|
+
|
|
951
1004
|
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
1005
|
|
|
953
1006
|
/**
|
|
@@ -998,7 +1051,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
998
1051
|
function InputPopoverTemplate(hooks) {
|
|
999
1052
|
const suggestionsList = hooks?.suggestionsList;
|
|
1000
1053
|
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,
|
|
1054
|
+
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
1055
|
}
|
|
1003
1056
|
function valueStateMessage() {
|
|
1004
1057
|
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.shouldDisplayDefaultValueStateMessage ? this.valueStateText : parametersBundle_css.jsx("slot", { name: "valueStateMessage" }) }));
|
|
@@ -1022,33 +1075,22 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1022
1075
|
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
1076
|
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
1077
|
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.
|
|
1078
|
+
parametersBundle_css.jsx("span", { id: "accessibleDescription", class: "ui5-hidden-text", children: this.accInfo.accessibleDescription }), this.linksInAriaValueStateHiddenText.length > 0 &&
|
|
1079
|
+
parametersBundle_css.jsx("span", { id: "hiddenText-value-state-link-shortcut", class: "ui5-hidden-text", children: this.valueStateLinksShortcutsTextAcc }), this.hasValueState &&
|
|
1026
1080
|
parametersBundle_css.jsx("span", { id: "valueStateDesc", class: "ui5-hidden-text", children: this.ariaValueStateHiddenText })] }) }), InputPopoverTemplate.call(this, { suggestionsList })] }));
|
|
1027
1081
|
}
|
|
1028
1082
|
function defaultPreContent() { }
|
|
1029
1083
|
function defaultPostContent() { }
|
|
1030
1084
|
|
|
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
1085
|
const StartsWith = (value, items, propName) => items.filter(item => (item[propName] || "").toLowerCase().startsWith(value.toLowerCase()));
|
|
1044
1086
|
|
|
1045
|
-
Icons.p("sap/ushell/
|
|
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}
|
|
1087
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1088
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
1089
|
+
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-15-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v2-15-0_input_icon_padding);border-inline-start:var(--_ui5-v2-15-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v2-15-0_input_icon_border_radius)}.inputIcon.inputIcon--pressed{background:var(--_ui5-v2-15-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);color:var(--_ui5-v2-15-0_input_icon_pressed_color)}.inputIcon:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);color:var(--_ui5-v2-15-0_input_icon_pressed_color)}.inputIcon:not(.inputIcon--pressed):not(:active):hover{background:var(--_ui5-v2-15-0_input_icon_hover_bg);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow)}.inputIcon:hover{border-inline-start:var(--_ui5-v2-15-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v2-15-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v2-15-0_input_width);min-width:calc(var(--_ui5-v2-15-0_input_min_width) + (var(--_ui5-v2-15-0-input-icons-count)*var(--_ui5-v2-15-0_input_icon_width)));margin:var(--_ui5-v2-15-0_input_margin_top_bottom) 0;height:var(--_ui5-v2-15-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:var(--sapFontFamily);font-style:normal;border:var(--_ui5-v2-15-0-input-border);border-radius:var(--_ui5-v2-15-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v2-15-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-15-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v2-15-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-15-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v2-15-0_input_focus_outline_color);border-radius:var(--_ui5-v2-15-0_input_focus_border_radius);top:var(--_ui5-v2-15-0_input_focus_offset);bottom:var(--_ui5-v2-15-0_input_focus_offset);left:var(--_ui5-v2-15-0_input_focus_offset);right:var(--_ui5-v2-15-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v2-15-0_input_readonly_focus_offset);bottom:var(--_ui5-v2-15-0_input_readonly_focus_offset);left:var(--_ui5-v2-15-0_input_readonly_focus_offset);right:var(--_ui5-v2-15-0_input_readonly_focus_offset);border-radius:var(--_ui5-v2-15-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-15-0_input_bottom_border_height);transition:var(--_ui5-v2-15-0_input_transition);background-color:var(--_ui5-v2-15-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-15-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v2-15-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v2-15-0-input_disabled_background);border-color:var(--_ui5-v2-15-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-15-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-15-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-15-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-15-0_input_placeholder_style);color:var(--_ui5-v2-15-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v2-15-0_input_placeholder_style);color:var(--_ui5-v2-15-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Negative"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Negative"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-0-input_error_placeholder_color);font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Critical"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v2-15-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Positive"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Positive"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v2-15-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v2-15-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-15-0_input_border_radius)}:host([readonly]:not([disabled])){border:var(--_ui5-v2-15-0_input_readonly_border);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v2-15-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v2-15-0_input_hover_border);border-color:var(--_ui5-v2-15-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-15-0_input_state_border_width)}:host([value-state="Negative"]) [inner-input],:host([value-state="Critical"]) [inner-input]{font-style:var(--_ui5-v2-15-0_input_error_warning_font_style);text-indent:var(--_ui5-v2-15-0_input_error_warning_text_indent)}:host([value-state="Negative"]) [inner-input]{font-weight:var(--_ui5-v2-15-0_input_error_font_weight)}:host([value-state="Critical"]) [inner-input]{font-weight:var(--_ui5-v2-15-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-15-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-15-0_input_focused_value_state_error_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Negative"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-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-15-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-15-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-15-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Critical"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-0_input_value_state_success_border_color);border-width:var(--_ui5-v2-15-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-15-0_input_focused_value_state_success_background);border-color:var(--_ui5-v2-15-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-15-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Positive"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-0_input_value_state_information_border_color);border-width:var(--_ui5-v2-15-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v2-15-0_input_focused_value_state_information_background);border-color:var(--_ui5-v2-15-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v2-15-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-15-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-15-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Negative"]) .inputIcon,:host([value-state="Critical"]) .inputIcon{padding:var(--_ui5-v2-15-0_input_error_warning_icon_padding)}:host([value-state="Negative"][focused]) .inputIcon,:host([value-state="Critical"][focused]) .inputIcon{padding:var(--_ui5-v2-15-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) .inputIcon{padding:var(--_ui5-v2-15-0_input_information_icon_padding)}:host([value-state="Information"][focused]) .inputIcon{padding:var(--_ui5-v2-15-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-15-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-15-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-15-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v2-15-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-15-0_input_error_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_error_pressed_color)}:host([value-state="Negative"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_error_icon_box_shadow)}:host([value-state="Critical"]) .inputIcon:active,:host([value-state="Critical"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_warning_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_warning_pressed_color)}:host([value-state="Critical"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) .inputIcon:active,:host([value-state="Information"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_information_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_information_pressed_color)}:host([value-state="Information"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_information_icon_box_shadow)}:host([value-state="Positive"]) .inputIcon:active,:host([value-state="Positive"]) .inputIcon.inputIcon--pressed{box-shadow:var(--_ui5-v2-15-0_input_success_icon_box_shadow);color:var(--_ui5-v2-15-0_input_icon_success_pressed_color)}:host([value-state="Positive"]) .inputIcon:not(.inputIcon--pressed):not(:active):hover{box-shadow:var(--_ui5-v2-15-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-15-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v2-15-0_input_icon_width);min-width:var(--_ui5-v2-15-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-15-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Positive"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v2-15-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}
|
|
1048
1090
|
`;
|
|
1049
1091
|
|
|
1050
|
-
Icons.p("sap/ushell/
|
|
1051
|
-
Icons.p("
|
|
1092
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
1093
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
1052
1094
|
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
1095
|
`;
|
|
1054
1096
|
|
|
@@ -1098,6 +1140,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1098
1140
|
* - [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
1141
|
* - [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
1142
|
* - [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.
|
|
1143
|
+
* - [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
1144
|
*
|
|
1102
1145
|
* ### ES6 Module Import
|
|
1103
1146
|
*
|
|
@@ -1241,14 +1284,26 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1241
1284
|
*/
|
|
1242
1285
|
this.focused = false;
|
|
1243
1286
|
this.valueStateOpen = false;
|
|
1244
|
-
/**
|
|
1245
|
-
* Indicates whether the visual focus is on the value state header
|
|
1246
|
-
* @private
|
|
1247
|
-
*/
|
|
1248
|
-
this._isValueStateFocused = false;
|
|
1249
1287
|
this._inputAccInfo = {};
|
|
1250
1288
|
this._nativeInputAttributes = {};
|
|
1251
1289
|
this._inputIconFocused = false;
|
|
1290
|
+
/**
|
|
1291
|
+
* @private
|
|
1292
|
+
*/
|
|
1293
|
+
this._linksListenersArray = [];
|
|
1294
|
+
/**
|
|
1295
|
+
* Indicates whether IME composition is currently active
|
|
1296
|
+
* @default false
|
|
1297
|
+
* @private
|
|
1298
|
+
*/
|
|
1299
|
+
this._isComposing = false;
|
|
1300
|
+
/**
|
|
1301
|
+
* Indicates whether link navigation is being handled.
|
|
1302
|
+
* @default false
|
|
1303
|
+
* @private
|
|
1304
|
+
* @since 2.11.0
|
|
1305
|
+
*/
|
|
1306
|
+
this._handleLinkNavigation = false;
|
|
1252
1307
|
// Indicates if there is selected suggestionItem.
|
|
1253
1308
|
this.hasSuggestionItemSelected = false;
|
|
1254
1309
|
// Represents the value before user moves selection from suggestion item to another
|
|
@@ -1277,14 +1332,18 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1277
1332
|
this._handleResizeBound = this._handleResize.bind(this);
|
|
1278
1333
|
this._keepInnerValue = false;
|
|
1279
1334
|
this._focusedAfterClear = false;
|
|
1335
|
+
this._valueStateLinks = [];
|
|
1280
1336
|
}
|
|
1281
1337
|
onEnterDOM() {
|
|
1282
1338
|
webcomponentsBase.f.register(this, this._handleResizeBound);
|
|
1283
|
-
|
|
1339
|
+
BusyIndicator.y(this, this._updateAssociatedLabelsTexts.bind(this));
|
|
1340
|
+
this._enableComposition();
|
|
1284
1341
|
}
|
|
1285
1342
|
onExitDOM() {
|
|
1286
1343
|
webcomponentsBase.f.deregister(this, this._handleResizeBound);
|
|
1287
|
-
|
|
1344
|
+
BusyIndicator.T(this);
|
|
1345
|
+
this._removeLinksEventListeners();
|
|
1346
|
+
this._composition?.removeEventListeners();
|
|
1288
1347
|
}
|
|
1289
1348
|
_highlightSuggestionItem(item) {
|
|
1290
1349
|
item.markupText = this.typedInValue ? this.Suggestions?.hightlightInput((item.text || ""), this.typedInValue) : encodeXML.fnEncodeXML(item.text || "");
|
|
@@ -1338,7 +1397,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1338
1397
|
if (this._shouldAutocomplete && !Icons.P$1() && !autoCompletedChars && !this._isKeyNavigation) {
|
|
1339
1398
|
const item = this._getFirstMatchingItem(value);
|
|
1340
1399
|
if (item) {
|
|
1341
|
-
this.
|
|
1400
|
+
if (!this._isComposing) {
|
|
1401
|
+
this._handleTypeAhead(item);
|
|
1402
|
+
}
|
|
1342
1403
|
this._selectMatchingItem(item);
|
|
1343
1404
|
}
|
|
1344
1405
|
}
|
|
@@ -1362,45 +1423,54 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1362
1423
|
this.fireDecoratorEvent("type-ahead");
|
|
1363
1424
|
}
|
|
1364
1425
|
this._performTextSelection = false;
|
|
1426
|
+
if (!webcomponentsBase.n$2(this._valueStateLinks, this.linksInAriaValueStateHiddenText)) {
|
|
1427
|
+
this._removeLinksEventListeners();
|
|
1428
|
+
this._addLinksEventListeners();
|
|
1429
|
+
this._valueStateLinks = this.linksInAriaValueStateHiddenText;
|
|
1430
|
+
}
|
|
1365
1431
|
}
|
|
1366
1432
|
_onkeydown(e) {
|
|
1367
1433
|
this._isKeyNavigation = true;
|
|
1368
|
-
this._shouldAutocomplete = !this.noTypeahead && !(webcomponentsBase.
|
|
1369
|
-
if (webcomponentsBase.
|
|
1434
|
+
this._shouldAutocomplete = !this.noTypeahead && !(webcomponentsBase.Q(e) || webcomponentsBase.X(e) || webcomponentsBase.m$2(e));
|
|
1435
|
+
if (webcomponentsBase.P(e)) {
|
|
1370
1436
|
return this._handleUp(e);
|
|
1371
1437
|
}
|
|
1372
|
-
if (webcomponentsBase.
|
|
1438
|
+
if (webcomponentsBase._(e)) {
|
|
1373
1439
|
return this._handleDown(e);
|
|
1374
1440
|
}
|
|
1375
|
-
if (webcomponentsBase.
|
|
1441
|
+
if (webcomponentsBase.A(e)) {
|
|
1376
1442
|
return this._handleSpace(e);
|
|
1377
1443
|
}
|
|
1378
|
-
if (webcomponentsBase.
|
|
1444
|
+
if (webcomponentsBase.x(e)) {
|
|
1379
1445
|
return this._handleTab();
|
|
1380
1446
|
}
|
|
1381
1447
|
if (webcomponentsBase.b$1(e)) {
|
|
1382
1448
|
const isValueUnchanged = this.previousValue === this.getInputDOMRefSync().value;
|
|
1449
|
+
const shouldSubmit = this._internals.form && this._internals.form.querySelectorAll("[ui5-input]").length === 1;
|
|
1383
1450
|
this._enterKeyDown = true;
|
|
1384
|
-
if (isValueUnchanged &&
|
|
1451
|
+
if (isValueUnchanged && shouldSubmit) {
|
|
1385
1452
|
webcomponentsBase.i$1(this);
|
|
1386
1453
|
}
|
|
1387
1454
|
return this._handleEnter(e);
|
|
1388
1455
|
}
|
|
1389
|
-
if (webcomponentsBase.
|
|
1456
|
+
if (webcomponentsBase.j(e)) {
|
|
1390
1457
|
return this._handlePageUp(e);
|
|
1391
1458
|
}
|
|
1392
|
-
if (webcomponentsBase.
|
|
1459
|
+
if (webcomponentsBase.q(e)) {
|
|
1393
1460
|
return this._handlePageDown(e);
|
|
1394
1461
|
}
|
|
1395
|
-
if (webcomponentsBase.
|
|
1462
|
+
if (webcomponentsBase.M(e)) {
|
|
1396
1463
|
return this._handleHome(e);
|
|
1397
1464
|
}
|
|
1398
|
-
if (webcomponentsBase.
|
|
1465
|
+
if (webcomponentsBase.n(e)) {
|
|
1399
1466
|
return this._handleEnd(e);
|
|
1400
1467
|
}
|
|
1401
|
-
if (webcomponentsBase.
|
|
1468
|
+
if (webcomponentsBase.m$2(e)) {
|
|
1402
1469
|
return this._handleEscape();
|
|
1403
1470
|
}
|
|
1471
|
+
if (webcomponentsBase.Co(e)) {
|
|
1472
|
+
return this._handleCtrlAltF8();
|
|
1473
|
+
}
|
|
1404
1474
|
if (this.showSuggestions) {
|
|
1405
1475
|
this._clearPopoverFocusAndSelection();
|
|
1406
1476
|
}
|
|
@@ -1409,7 +1479,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1409
1479
|
_onkeyup(e) {
|
|
1410
1480
|
// The native Delete event does not update the value property "on time".
|
|
1411
1481
|
// So, the (native) change event is always fired with the old value
|
|
1412
|
-
if (webcomponentsBase.
|
|
1482
|
+
if (webcomponentsBase.X(e)) {
|
|
1413
1483
|
this.value = e.target.value;
|
|
1414
1484
|
}
|
|
1415
1485
|
this._enterKeyDown = false;
|
|
@@ -1440,6 +1510,57 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1440
1510
|
this.Suggestions.onTab();
|
|
1441
1511
|
}
|
|
1442
1512
|
}
|
|
1513
|
+
_handleCtrlAltF8() {
|
|
1514
|
+
this._handleLinkNavigation = true;
|
|
1515
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1516
|
+
if (links.length) {
|
|
1517
|
+
links[0].focus();
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
_addLinksEventListeners() {
|
|
1521
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1522
|
+
links.forEach((link, index) => {
|
|
1523
|
+
this._linksListenersArray.push((e) => {
|
|
1524
|
+
f(e, links, index, {
|
|
1525
|
+
closeValueState: () => {
|
|
1526
|
+
if (this.Suggestions?.isOpened()) {
|
|
1527
|
+
this.Suggestions?.close();
|
|
1528
|
+
}
|
|
1529
|
+
if (this.valueStateOpen) {
|
|
1530
|
+
this.closeValueStatePopover();
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
focusInput: () => {
|
|
1534
|
+
this._handleLinkNavigation = false;
|
|
1535
|
+
this.getInputDOMRef().focus();
|
|
1536
|
+
},
|
|
1537
|
+
navigateToItem: () => {
|
|
1538
|
+
if (this._handleLinkNavigation) {
|
|
1539
|
+
this._handleLinkNavigation = false;
|
|
1540
|
+
if (this.Suggestions?.isOpened()) {
|
|
1541
|
+
this.innerFocusIn();
|
|
1542
|
+
(this.getInputDOMRef()).focus();
|
|
1543
|
+
this.Suggestions.onDown(e, this.currentItemIndex);
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
else {
|
|
1547
|
+
this._handleDown(e);
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
isPopoverOpen: () => { return (this.Suggestions && this.Suggestions?.isOpened()) || false; },
|
|
1551
|
+
});
|
|
1552
|
+
});
|
|
1553
|
+
link.addEventListener("keydown", this._linksListenersArray[index]);
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
_removeLinksEventListeners() {
|
|
1557
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
1558
|
+
links.forEach((link, index) => {
|
|
1559
|
+
link.removeEventListener("keydown", this._linksListenersArray[index]);
|
|
1560
|
+
});
|
|
1561
|
+
this._linksListenersArray = [];
|
|
1562
|
+
this._handleLinkNavigation = false;
|
|
1563
|
+
}
|
|
1443
1564
|
_handleEnter(e) {
|
|
1444
1565
|
// if a group item is focused, this is false
|
|
1445
1566
|
const suggestionItemPressed = !!(this.Suggestions?.onEnter(e));
|
|
@@ -1515,10 +1636,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1515
1636
|
if (isAutoCompleted) {
|
|
1516
1637
|
this.value = this.typedInValue;
|
|
1517
1638
|
}
|
|
1518
|
-
|
|
1519
|
-
this._isValueStateFocused = false;
|
|
1520
|
-
this.focused = true;
|
|
1521
|
-
}
|
|
1639
|
+
this.focused = true;
|
|
1522
1640
|
}
|
|
1523
1641
|
_onfocusin(e) {
|
|
1524
1642
|
this.focused = true; // invalidating property
|
|
@@ -1561,7 +1679,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1561
1679
|
if (!this.showSuggestions || !this.Suggestions) {
|
|
1562
1680
|
return;
|
|
1563
1681
|
}
|
|
1564
|
-
this._isValueStateFocused = false;
|
|
1565
1682
|
this.hasSuggestionItemSelected = false;
|
|
1566
1683
|
this.Suggestions?._deselectItems();
|
|
1567
1684
|
this.Suggestions?._clearItemFocus();
|
|
@@ -1573,6 +1690,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1573
1690
|
}
|
|
1574
1691
|
}
|
|
1575
1692
|
_handleChange() {
|
|
1693
|
+
const shouldSubmit = this._internals.form && this._internals.form.querySelectorAll("[ui5-input]").length === 1;
|
|
1576
1694
|
if (this._clearIconClicked) {
|
|
1577
1695
|
this._clearIconClicked = false;
|
|
1578
1696
|
return;
|
|
@@ -1592,7 +1710,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1592
1710
|
}
|
|
1593
1711
|
else {
|
|
1594
1712
|
fireChange();
|
|
1595
|
-
if (this._enterKeyDown &&
|
|
1713
|
+
if (this._enterKeyDown && shouldSubmit) {
|
|
1596
1714
|
webcomponentsBase.i$1(this);
|
|
1597
1715
|
}
|
|
1598
1716
|
}
|
|
@@ -1606,6 +1724,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1606
1724
|
this.value = valueBeforeClear;
|
|
1607
1725
|
return;
|
|
1608
1726
|
}
|
|
1727
|
+
this.typedInValue = "";
|
|
1609
1728
|
if (!this._isPhone) {
|
|
1610
1729
|
this.fireResetSelectionChange();
|
|
1611
1730
|
this.focus();
|
|
@@ -1688,7 +1807,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1688
1807
|
}
|
|
1689
1808
|
this.fireEventByAction(INPUT_ACTIONS.ACTION_ENTER, e);
|
|
1690
1809
|
this.hasSuggestionItemSelected = false;
|
|
1691
|
-
this._isValueStateFocused = false;
|
|
1692
1810
|
if (this.Suggestions) {
|
|
1693
1811
|
this.Suggestions.updateSelectedItemPosition(-1);
|
|
1694
1812
|
}
|
|
@@ -1723,9 +1841,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1723
1841
|
this._inputWidth = this.offsetWidth;
|
|
1724
1842
|
}
|
|
1725
1843
|
_updateAssociatedLabelsTexts() {
|
|
1726
|
-
this._associatedLabelsTexts =
|
|
1727
|
-
this._accessibleLabelsRefTexts =
|
|
1728
|
-
this._associatedDescriptionRefTexts =
|
|
1844
|
+
this._associatedLabelsTexts = BusyIndicator.M(this);
|
|
1845
|
+
this._accessibleLabelsRefTexts = BusyIndicator.E(this);
|
|
1846
|
+
this._associatedDescriptionRefTexts = BusyIndicator.p(this);
|
|
1729
1847
|
}
|
|
1730
1848
|
_closePicker() {
|
|
1731
1849
|
this.open = false;
|
|
@@ -1734,6 +1852,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1734
1852
|
// Set initial focus to the native input
|
|
1735
1853
|
if (Icons.d()) {
|
|
1736
1854
|
(this.getInputDOMRef()).focus();
|
|
1855
|
+
this._composition?.addEventListeners();
|
|
1737
1856
|
}
|
|
1738
1857
|
this._handlePickerAfterOpen();
|
|
1739
1858
|
}
|
|
@@ -1774,6 +1893,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1774
1893
|
}
|
|
1775
1894
|
_handleValueStatePopoverAfterClose() {
|
|
1776
1895
|
this.valueStateOpen = false;
|
|
1896
|
+
this._handleLinkNavigation = false;
|
|
1777
1897
|
}
|
|
1778
1898
|
_getValueStatePopover() {
|
|
1779
1899
|
return this.shadowRoot.querySelector("[ui5-popover]");
|
|
@@ -1797,14 +1917,41 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1797
1917
|
});
|
|
1798
1918
|
}
|
|
1799
1919
|
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Enables IME composition handling.
|
|
1922
|
+
* Dynamically loads the InputComposition feature and sets up event listeners.
|
|
1923
|
+
* @private
|
|
1924
|
+
*/
|
|
1925
|
+
_enableComposition() {
|
|
1926
|
+
if (this._composition) {
|
|
1927
|
+
return;
|
|
1928
|
+
}
|
|
1929
|
+
const setup = (FeatureClass) => {
|
|
1930
|
+
this._composition = new FeatureClass({
|
|
1931
|
+
getInputEl: () => this.getInputDOMRefSync(),
|
|
1932
|
+
updateCompositionState: (isComposing) => {
|
|
1933
|
+
this._isComposing = isComposing;
|
|
1934
|
+
},
|
|
1935
|
+
});
|
|
1936
|
+
this._composition.addEventListeners();
|
|
1937
|
+
};
|
|
1938
|
+
if (Input_1.composition) {
|
|
1939
|
+
setup(Input_1.composition);
|
|
1940
|
+
}
|
|
1941
|
+
else {
|
|
1942
|
+
new Promise(function (resolve, reject) { require(['sap/ushell/thirdparty/_dynamics/InputComposition'], resolve, reject); }).then(CompositionModule => {
|
|
1943
|
+
Input_1.composition = CompositionModule.default;
|
|
1944
|
+
setup(CompositionModule.default);
|
|
1945
|
+
});
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1800
1948
|
acceptSuggestion(item, keyboardUsed) {
|
|
1801
1949
|
if (this._isGroupItem(item)) {
|
|
1802
1950
|
return;
|
|
1803
1951
|
}
|
|
1804
|
-
const value = this.typedInValue || this.value;
|
|
1805
1952
|
const itemText = item.text || "";
|
|
1806
1953
|
const fireChange = keyboardUsed
|
|
1807
|
-
? this.valueBeforeItemSelection !== itemText :
|
|
1954
|
+
? this.valueBeforeItemSelection !== itemText : this.previousValue !== itemText;
|
|
1808
1955
|
this.hasSuggestionItemSelected = true;
|
|
1809
1956
|
this.value = itemText;
|
|
1810
1957
|
if (fireChange && (this.previousValue !== itemText)) {
|
|
@@ -1966,6 +2113,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1966
2113
|
get _suggestionsOkButtonText() {
|
|
1967
2114
|
return Input_1.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_OK_BUTTON);
|
|
1968
2115
|
}
|
|
2116
|
+
get _suggestionsCancelButtonText() {
|
|
2117
|
+
return Input_1.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_CANCEL_BUTTON);
|
|
2118
|
+
}
|
|
1969
2119
|
get clearIconAccessibleName() {
|
|
1970
2120
|
return Input_1.i18nBundle.getText(i18nDefaults.INPUT_CLEAR_ICON_ACC_NAME);
|
|
1971
2121
|
}
|
|
@@ -1995,7 +2145,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
1995
2145
|
return hasAriaDescription ? "descr" : "";
|
|
1996
2146
|
}
|
|
1997
2147
|
get ariaDescriptionText() {
|
|
1998
|
-
return this._associatedDescriptionRefTexts ||
|
|
2148
|
+
return this._associatedDescriptionRefTexts || BusyIndicator.L(this);
|
|
1999
2149
|
}
|
|
2000
2150
|
get ariaDescriptionTextId() {
|
|
2001
2151
|
return this.ariaDescriptionText ? "accessibleDescription" : "";
|
|
@@ -2004,6 +2154,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2004
2154
|
return [
|
|
2005
2155
|
this.suggestionsTextId,
|
|
2006
2156
|
this.valueStateTextId,
|
|
2157
|
+
this._valueStateLinksShortcutsTextAccId,
|
|
2007
2158
|
this._inputAccInfo.ariaDescribedBy,
|
|
2008
2159
|
this._accInfoAriaDescriptionId,
|
|
2009
2160
|
this.ariaDescriptionTextId,
|
|
@@ -2041,11 +2192,41 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2041
2192
|
if (this.shouldDisplayDefaultValueStateMessage) {
|
|
2042
2193
|
return this.valueStateText ? `${valueState} ${this.valueStateText}` : valueState;
|
|
2043
2194
|
}
|
|
2044
|
-
return `${valueState}
|
|
2195
|
+
return this.valueStateMessage.length ? `${valueState} ${this.valueStateMessage.map(el => el.textContent).join(" ")}` : valueState;
|
|
2045
2196
|
}
|
|
2046
2197
|
get itemSelectionAnnounce() {
|
|
2047
2198
|
return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : "";
|
|
2048
2199
|
}
|
|
2200
|
+
get linksInAriaValueStateHiddenText() {
|
|
2201
|
+
const links = [];
|
|
2202
|
+
if (this.valueStateMessage) {
|
|
2203
|
+
this.valueStateMessage.forEach(element => {
|
|
2204
|
+
if (element.children.length) {
|
|
2205
|
+
element.querySelectorAll("ui5-link").forEach(link => {
|
|
2206
|
+
links.push(link);
|
|
2207
|
+
});
|
|
2208
|
+
}
|
|
2209
|
+
});
|
|
2210
|
+
}
|
|
2211
|
+
return links;
|
|
2212
|
+
}
|
|
2213
|
+
get valueStateLinksShortcutsTextAcc() {
|
|
2214
|
+
const links = this.linksInAriaValueStateHiddenText;
|
|
2215
|
+
if (!links.length) {
|
|
2216
|
+
return "";
|
|
2217
|
+
}
|
|
2218
|
+
if (Icons.A$1()) {
|
|
2219
|
+
return links.length === 1
|
|
2220
|
+
? Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINK_MAC)
|
|
2221
|
+
: Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINKS_MAC);
|
|
2222
|
+
}
|
|
2223
|
+
return links.length === 1
|
|
2224
|
+
? Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINK)
|
|
2225
|
+
: Input_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_LINKS);
|
|
2226
|
+
}
|
|
2227
|
+
get _valueStateLinksShortcutsTextAccId() {
|
|
2228
|
+
return this.linksInAriaValueStateHiddenText.length > 0 ? `hiddenText-value-state-link-shortcut` : "";
|
|
2229
|
+
}
|
|
2049
2230
|
get iconsCount() {
|
|
2050
2231
|
const slottedIconsCount = this.icon ? this.icon.length : 0;
|
|
2051
2232
|
const clearIconCount = Number(this._effectiveShowClearIcon) ?? 0;
|
|
@@ -2069,18 +2250,16 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2069
2250
|
};
|
|
2070
2251
|
}
|
|
2071
2252
|
get styles() {
|
|
2072
|
-
const
|
|
2253
|
+
const remSizeInPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
|
2073
2254
|
const stylesObject = {
|
|
2074
|
-
popoverHeader: {
|
|
2075
|
-
"max-width": this._inputWidth ? `${this._inputWidth}px` : "",
|
|
2076
|
-
},
|
|
2077
2255
|
suggestionPopoverHeader: {
|
|
2078
2256
|
"display": this._listWidth === 0 ? "none" : "inline-block",
|
|
2079
2257
|
"width": this._listWidth ? `${this._listWidth}px` : "",
|
|
2258
|
+
"max-width": "inherit",
|
|
2080
2259
|
},
|
|
2081
2260
|
suggestionsPopover: {
|
|
2082
2261
|
"min-width": this._inputWidth ? `${this._inputWidth}px` : "",
|
|
2083
|
-
"max-width": this._inputWidth && (this._inputWidth /
|
|
2262
|
+
"max-width": this._inputWidth && (this._inputWidth / remSizeInPx) > 40 ? `${this._inputWidth}px` : "40rem",
|
|
2084
2263
|
},
|
|
2085
2264
|
innerInput: {
|
|
2086
2265
|
"padding": "",
|
|
@@ -2272,9 +2451,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2272
2451
|
__decorate$4([
|
|
2273
2452
|
webcomponentsBase.s({ type: Boolean })
|
|
2274
2453
|
], Input.prototype, "valueStateOpen", void 0);
|
|
2275
|
-
__decorate$4([
|
|
2276
|
-
webcomponentsBase.s({ type: Boolean })
|
|
2277
|
-
], Input.prototype, "_isValueStateFocused", void 0);
|
|
2278
2454
|
__decorate$4([
|
|
2279
2455
|
webcomponentsBase.s({ type: Object })
|
|
2280
2456
|
], Input.prototype, "_inputAccInfo", void 0);
|
|
@@ -2302,6 +2478,12 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2302
2478
|
__decorate$4([
|
|
2303
2479
|
webcomponentsBase.s({ type: Object })
|
|
2304
2480
|
], Input.prototype, "Suggestions", void 0);
|
|
2481
|
+
__decorate$4([
|
|
2482
|
+
webcomponentsBase.s({ type: Array })
|
|
2483
|
+
], Input.prototype, "_linksListenersArray", void 0);
|
|
2484
|
+
__decorate$4([
|
|
2485
|
+
webcomponentsBase.s({ type: Boolean, noAttribute: true })
|
|
2486
|
+
], Input.prototype, "_isComposing", void 0);
|
|
2305
2487
|
__decorate$4([
|
|
2306
2488
|
webcomponentsBase.d({ type: HTMLElement, "default": true })
|
|
2307
2489
|
], Input.prototype, "suggestionItems", void 0);
|
|
@@ -2418,9 +2600,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2418
2600
|
parametersBundle_css.jsx("span", { part: "additional-text", class: "ui5-li-additional-text", children: this.additionalText })] }) });
|
|
2419
2601
|
}
|
|
2420
2602
|
|
|
2421
|
-
Icons.p("sap/ushell/
|
|
2422
|
-
Icons.p("
|
|
2423
|
-
var styles = `:host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5-v2-
|
|
2603
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2604
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
2605
|
+
var styles = `:host([ui5-suggestion-item]){height:auto;min-height:var(--_ui5-v2-15-0_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-root{min-height:var(--_ui5-v2-15-0_list_item_base_height)}:host([ui5-suggestion-item]) .ui5-li-content{padding-bottom:.5rem;padding-top:.5rem;box-sizing:border-box}
|
|
2424
2606
|
`;
|
|
2425
2607
|
|
|
2426
2608
|
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -2511,14 +2693,14 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2511
2693
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [SearchFieldTemplate.call(this), SearchPopoverTemplate.call(this)] }));
|
|
2512
2694
|
}
|
|
2513
2695
|
|
|
2514
|
-
Icons.p("sap/ushell/
|
|
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-
|
|
2696
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2697
|
+
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$1.defaultTheme);
|
|
2698
|
+
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-15-0_search_input_border_radius)}.ui5-search-popover-search-field::part(root):after{border-radius:var(--_ui5-v2-15-0_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-15-0-search-loading-overlay-background);opacity:var(--_ui5-v2-15-0-search-loading-overlay-transparency);border-radius:var(--_ui5-v2-15-0_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
2699
|
`;
|
|
2518
2700
|
|
|
2519
|
-
Icons.p("sap/ushell/
|
|
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:
|
|
2701
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
2702
|
+
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$1.defaultTheme);
|
|
2703
|
+
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-15-0_search_input_border_radius);box-sizing:border-box;text-align:start;background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v2-15-0-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-15-0-search-wrapper-hover-background);background-color:var(--_ui5-v2-15-0-search-wrapper-hover-background-color)}:host([focused-inner-input]) .ui5-search-field-root{outline:var(--_ui5-v2-15-0_search_wrapper_outline);border-radius:var(--_ui5-v2-15-0_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-15-0_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-15-0_content_density: compact;outline:none;margin:var(--_ui5-v2-15-0_search_input_scope_margin);max-width:10rem;border-radius:var(--_ui5-v2-15-0_search_input_border_radius);border:var(--_ui5-v2-15-0-search-border);box-shadow:none;background:unset;background-color:var(--_ui5-v2-15-0-search-elements-background);height:var(--_ui5-v2-15-0-search-select-height);--_ui5-v2-15-0_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-15-0_search_input_border_radius);color:var(--sapShell_InteractiveTextColor)}[ui5-select]::part(popover){background-color:var(--sapShellColor)}.ui5-filter-wrapper{--_ui5-v2-15-0_button_focused_border_radius: var(--_ui5-v2-15-0_search_filter_button_border_radius)}::slotted([slot="filterButton"]){min-width:var(--_ui5-v2-15-0_search_icon_size);height:var(--_ui5-v2-15-0_search_icon_size);border:var(--_ui5-v2-15-0_search_filter_button_border);border-radius:var(--_ui5-v2-15-0_search_filter_button_border_radius);color:var(--sapShell_InteractiveTextColor);outline:none;background:var(--_ui5-v2-15-0-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-15-0_search_filter_button_background_active);border:var(--_ui5-v2-15-0_search_filter_button_border)}::slotted([slot="filterButton"]:hover){background-color:var(--sapShell_Hover_Background);border:var(--_ui5-v2-15-0_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-15-0-search-elements-background);border:var(--_ui5-v2-15-0-search-border);outline:none;color:inherit;padding-inline-start:var(--_ui5-v2-15-0-search-input-start-padding);padding-inline-end:var(--_ui5-v2-15-0_search_input_end_padding)}:host([focused-inner-input]) .ui5-search-field-inner-input{outline:var(--_ui5-v2-15-0_search_input_outline);border-radius:var(--_ui5-v2-15-0_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-15-0-search-elements-hover-background)}[ui5-select]:focus-within,.ui5-search-field-inner-input:focus-within{background-color:var(--_ui5-v2-15-0-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-15-0_search_input_start_margin)}.ui5-search-field-separator{height:1.5rem;width:.0625rem;background:var(--_ui5-v2-15-0_search_separator_background);box-sizing:border-box}.ui5-shell-search-field-button{outline:none;min-width:var(--_ui5-v2-15-0_search_icon_size);height:var(--_ui5-v2-15-0_search_icon_size);border-radius:var(--_ui5-v2-15-0_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-15-0-search-elements-background);min-width:var(--_ui5-v2-15-0_search_icon_size_default);height:var(--_ui5-v2-15-0_search_icon_size_default);border-radius:var(--_ui5-v2-15-0_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-15-0_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-15-0_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-15-0_search_icon_size);height:var(--_ui5-v2-15-0_search_icon_size);border-radius:var(--_ui5-v2-15-0_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-15-0-search-elements-background);border:var(--_ui5-v2-15-0-search-icon-border)}.ui5-shell-search-field-icon::part(root){padding:var(--_ui5-v2-15-0_search_icon_padding);width:1rem;height:1rem;outline-offset:-.125rem}.ui5-shell-search-field-icon:hover::part(root){padding:var(--_ui5-v2-15-0_search_icon_hover_padding);outline-offset:-.1875rem}.ui5-shell-search-field-icon:focus::part(root){border-radius:var(--_ui5-v2-15-0_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-15-0_input_focus_border_radius: var(--_ui5-v2-15-0_search_input_border_radius)}.ui5-search-field-select:hover,.ui5-search-field-select[focused]{background:var(--_ui5-v2-15-0-search-wrapper-hover-background-color)}.ui5-search-field-select::part(icon-wrapper){border-radius:var(--_ui5-v2-15-0_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-15-0-search-wrapper-background)}:host(:not([collapsed])):has([ui5-select][focused]){background:var(--_ui5-v2-15-0-search-wrapper-background)}.ui5-search-field-inner-input::selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}
|
|
2522
2704
|
`;
|
|
2523
2705
|
|
|
2524
2706
|
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -2779,41 +2961,40 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2779
2961
|
this.open = false;
|
|
2780
2962
|
// The typed in value.
|
|
2781
2963
|
this._typedInValue = "";
|
|
2782
|
-
this._matchedPerTerm = false;
|
|
2783
2964
|
this._valueBeforeOpen = this.getAttribute("value") || "";
|
|
2965
|
+
this._isTyping = false;
|
|
2784
2966
|
}
|
|
2785
2967
|
onBeforeRendering() {
|
|
2786
2968
|
super.onBeforeRendering();
|
|
2969
|
+
if (this.collapsed && !Icons.d()) {
|
|
2970
|
+
this.open = false;
|
|
2971
|
+
return;
|
|
2972
|
+
}
|
|
2787
2973
|
const innerInput = this.nativeInput;
|
|
2788
2974
|
const autoCompletedChars = innerInput && (innerInput.selectionEnd - innerInput.selectionStart);
|
|
2975
|
+
this.open = this.open || (this._popoupHasAnyContent() && this._isTyping && innerInput.value.length > 0);
|
|
2789
2976
|
// If there is already a selection the autocomplete has already been performed
|
|
2790
2977
|
if (this._shouldAutocomplete && !autoCompletedChars) {
|
|
2791
2978
|
const item = this._getFirstMatchingItem(this.value);
|
|
2792
2979
|
this._proposedItem = item;
|
|
2793
2980
|
if (item) {
|
|
2794
2981
|
this._handleTypeAhead(item);
|
|
2795
|
-
this.
|
|
2796
|
-
item.selected = true;
|
|
2982
|
+
this._selectMatchingItem(item);
|
|
2797
2983
|
}
|
|
2798
2984
|
else {
|
|
2799
|
-
this.
|
|
2985
|
+
this._deselectItems();
|
|
2800
2986
|
}
|
|
2801
2987
|
}
|
|
2802
|
-
else {
|
|
2803
|
-
this._typedInValue = this.value;
|
|
2804
|
-
}
|
|
2805
2988
|
if (Icons.d() && this.open) {
|
|
2806
2989
|
const item = this._getFirstMatchingItem(this.value);
|
|
2807
2990
|
this._proposedItem = item;
|
|
2808
|
-
this._deselectItems();
|
|
2809
2991
|
if (item && this._performItemSelectionOnMobile) {
|
|
2810
|
-
item
|
|
2992
|
+
this._selectMatchingItem(item);
|
|
2811
2993
|
}
|
|
2812
2994
|
}
|
|
2813
2995
|
this._flattenItems.forEach(item => {
|
|
2814
2996
|
item.highlightText = this._typedInValue;
|
|
2815
2997
|
});
|
|
2816
|
-
this._shouldAutocomplete = false;
|
|
2817
2998
|
}
|
|
2818
2999
|
onAfterRendering() {
|
|
2819
3000
|
const innerInput = this.nativeInput;
|
|
@@ -2853,33 +3034,29 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2853
3034
|
}
|
|
2854
3035
|
_handleTypeAhead(item) {
|
|
2855
3036
|
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
3037
|
this._typedInValue = this.value;
|
|
2865
|
-
this._innerValue =
|
|
3038
|
+
this._innerValue = originalValue;
|
|
2866
3039
|
this._performTextSelection = true;
|
|
2867
|
-
this.value =
|
|
3040
|
+
this.value = originalValue;
|
|
2868
3041
|
}
|
|
2869
3042
|
_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");
|
|
3043
|
+
return StartsWith(str, this._flattenItems.filter(item => !this._isGroupItem(item) && !this._isShowMoreItem(item)), "text");
|
|
2874
3044
|
}
|
|
2875
3045
|
_isGroupItem(item) {
|
|
2876
3046
|
return item.hasAttribute("ui5-search-item-group");
|
|
2877
3047
|
}
|
|
3048
|
+
_isShowMoreItem(item) {
|
|
3049
|
+
return item.hasAttribute("ui5-search-item-show-more");
|
|
3050
|
+
}
|
|
2878
3051
|
_deselectItems() {
|
|
2879
3052
|
this._flattenItems.forEach(item => {
|
|
2880
3053
|
item.selected = false;
|
|
2881
3054
|
});
|
|
2882
3055
|
}
|
|
3056
|
+
_selectMatchingItem(item) {
|
|
3057
|
+
this._deselectItems();
|
|
3058
|
+
item.selected = true;
|
|
3059
|
+
}
|
|
2883
3060
|
_handleDown(e) {
|
|
2884
3061
|
if (this.open) {
|
|
2885
3062
|
e.preventDefault();
|
|
@@ -2887,7 +3064,8 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2887
3064
|
}
|
|
2888
3065
|
}
|
|
2889
3066
|
_handleArrowDown() {
|
|
2890
|
-
const
|
|
3067
|
+
const focusableItems = this._getItemsList().listItems;
|
|
3068
|
+
const firstListItem = focusableItems.at(0);
|
|
2891
3069
|
if (this.open) {
|
|
2892
3070
|
this._deselectItems();
|
|
2893
3071
|
this.value = this._typedInValue || this.value;
|
|
@@ -2895,14 +3073,6 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2895
3073
|
firstListItem?.focus();
|
|
2896
3074
|
}
|
|
2897
3075
|
}
|
|
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
3076
|
_handleInnerClick() {
|
|
2907
3077
|
if (Icons.d()) {
|
|
2908
3078
|
this.open = true;
|
|
@@ -2922,14 +3092,9 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2922
3092
|
return;
|
|
2923
3093
|
}
|
|
2924
3094
|
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
3095
|
innerInput.setSelectionRange(this.value.length, this.value.length);
|
|
2932
3096
|
this.open = false;
|
|
3097
|
+
this._isTyping = false;
|
|
2933
3098
|
}
|
|
2934
3099
|
_onMobileInputKeydown(e) {
|
|
2935
3100
|
if (webcomponentsBase.b$1(e)) {
|
|
@@ -2944,31 +3109,47 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2944
3109
|
_handleEscape() {
|
|
2945
3110
|
this.value = this._typedInValue || this.value;
|
|
2946
3111
|
this._innerValue = this.value;
|
|
3112
|
+
this._isTyping = false;
|
|
2947
3113
|
}
|
|
2948
3114
|
_handleInput(e) {
|
|
2949
3115
|
super._handleInput(e);
|
|
3116
|
+
this._typedInValue = this.value;
|
|
3117
|
+
this._proposedItem = undefined;
|
|
2950
3118
|
if (Icons.d()) {
|
|
2951
3119
|
return;
|
|
2952
3120
|
}
|
|
2953
|
-
this.
|
|
3121
|
+
this._isTyping = true;
|
|
3122
|
+
this.open = this.value.length > 0;
|
|
3123
|
+
}
|
|
3124
|
+
_handleClear() {
|
|
3125
|
+
super._handleClear();
|
|
3126
|
+
this._typedInValue = "";
|
|
3127
|
+
this._innerValue = "";
|
|
3128
|
+
this._shouldAutocomplete = false;
|
|
3129
|
+
this.open = false;
|
|
2954
3130
|
}
|
|
2955
3131
|
_popoupHasAnyContent() {
|
|
2956
3132
|
return this.items.length > 0 || this.illustration.length > 0 || this.messageArea.length > 0 || this.loading || this.action.length > 0;
|
|
2957
3133
|
}
|
|
2958
3134
|
_onFooterButtonKeyDown(e) {
|
|
2959
|
-
if (webcomponentsBase.
|
|
3135
|
+
if (webcomponentsBase.P(e)) {
|
|
2960
3136
|
this._flattenItems[this._flattenItems.length - 1].focus();
|
|
2961
3137
|
}
|
|
2962
|
-
if (webcomponentsBase.
|
|
3138
|
+
if (webcomponentsBase.V(e)) {
|
|
2963
3139
|
this._getItemsList().focus();
|
|
2964
3140
|
}
|
|
2965
3141
|
}
|
|
2966
3142
|
_onItemKeydown(e) {
|
|
2967
|
-
const
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
const
|
|
2971
|
-
const
|
|
3143
|
+
const target = e.target;
|
|
3144
|
+
// if focus is on the group header (in group's shadow dom) the target is the group itself,
|
|
3145
|
+
// if so using getFocusDomRef ensures the actual focused element is used
|
|
3146
|
+
const focusedItem = this._isGroupItem(target) ? target?.getFocusDomRef() : target;
|
|
3147
|
+
const focusableItems = this._getItemsList().listItems;
|
|
3148
|
+
const isFirstItem = focusableItems.at(0) === focusedItem;
|
|
3149
|
+
const isLastItem = focusableItems.at(-1) === focusedItem;
|
|
3150
|
+
const isArrowUp = webcomponentsBase.P(e);
|
|
3151
|
+
const isArrowDown = webcomponentsBase._(e);
|
|
3152
|
+
const isTab = webcomponentsBase.x(e);
|
|
2972
3153
|
e.preventDefault();
|
|
2973
3154
|
if (isFirstItem && isArrowUp) {
|
|
2974
3155
|
this.nativeInput?.focus();
|
|
@@ -2990,7 +3171,10 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2990
3171
|
this.value = item.text;
|
|
2991
3172
|
this._innerValue = this.value;
|
|
2992
3173
|
this._typedInValue = this.value;
|
|
3174
|
+
this._shouldAutocomplete = false;
|
|
3175
|
+
this._performTextSelection = true;
|
|
2993
3176
|
this.open = false;
|
|
3177
|
+
this._isTyping = false;
|
|
2994
3178
|
this.focus();
|
|
2995
3179
|
}
|
|
2996
3180
|
_onkeydown(e) {
|
|
@@ -2999,24 +3183,17 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
2999
3183
|
return;
|
|
3000
3184
|
}
|
|
3001
3185
|
this._shouldAutocomplete = !this.noTypeahead
|
|
3002
|
-
&& !(webcomponentsBase.
|
|
3003
|
-
if (webcomponentsBase.
|
|
3004
|
-
this._handleRight(e);
|
|
3005
|
-
}
|
|
3006
|
-
if (webcomponentsBase.P(e)) {
|
|
3186
|
+
&& !(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));
|
|
3187
|
+
if (webcomponentsBase._(e)) {
|
|
3007
3188
|
this._handleDown(e);
|
|
3008
3189
|
}
|
|
3009
|
-
if (webcomponentsBase.
|
|
3190
|
+
if (webcomponentsBase.m$2(e)) {
|
|
3010
3191
|
this._handleEscape();
|
|
3011
3192
|
}
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
if (this._matchedPerTerm) {
|
|
3016
|
-
this.value = this._typedInValue;
|
|
3017
|
-
this._innerValue = this._typedInValue;
|
|
3193
|
+
// deselect item on backspace or delete
|
|
3194
|
+
if (webcomponentsBase.Q(e) || webcomponentsBase.X(e)) {
|
|
3195
|
+
this._deselectItems();
|
|
3018
3196
|
}
|
|
3019
|
-
this._matchedPerTerm = false;
|
|
3020
3197
|
}
|
|
3021
3198
|
_onFocusOutSearch(e) {
|
|
3022
3199
|
const target = e.relatedTarget;
|
|
@@ -3024,6 +3201,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3024
3201
|
return;
|
|
3025
3202
|
}
|
|
3026
3203
|
this.open = false;
|
|
3204
|
+
this._isTyping = false;
|
|
3027
3205
|
}
|
|
3028
3206
|
_handleBeforeClose(e) {
|
|
3029
3207
|
if (e.detail.escPressed) {
|
|
@@ -3037,6 +3215,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3037
3215
|
}
|
|
3038
3216
|
_handleClose() {
|
|
3039
3217
|
this.open = false;
|
|
3218
|
+
this._isTyping = false;
|
|
3040
3219
|
this.fireDecoratorEvent("close");
|
|
3041
3220
|
}
|
|
3042
3221
|
_handleBeforeOpen() {
|
|
@@ -3049,7 +3228,7 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3049
3228
|
this.fireDecoratorEvent("open");
|
|
3050
3229
|
}
|
|
3051
3230
|
_handleActionKeydown(e) {
|
|
3052
|
-
if (webcomponentsBase.
|
|
3231
|
+
if (webcomponentsBase.P(e)) {
|
|
3053
3232
|
this._flattenItems[this._flattenItems.length - 1].focus();
|
|
3054
3233
|
}
|
|
3055
3234
|
}
|
|
@@ -3061,16 +3240,10 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3061
3240
|
return;
|
|
3062
3241
|
}
|
|
3063
3242
|
const startsWithMatches = this._startsWithMatchingItems(current);
|
|
3064
|
-
const partialMatches = this._startsWithPerTermMatchingItems(current);
|
|
3065
3243
|
if (!startsWithMatches.length) {
|
|
3066
|
-
return
|
|
3244
|
+
return undefined;
|
|
3067
3245
|
}
|
|
3068
|
-
|
|
3069
|
-
return startsWithMatches[0];
|
|
3070
|
-
}
|
|
3071
|
-
return this._flattenItems.indexOf(startsWithMatches[0]) <= this._flattenItems.indexOf(partialMatches[0])
|
|
3072
|
-
? startsWithMatches[0]
|
|
3073
|
-
: partialMatches[0];
|
|
3246
|
+
return startsWithMatches[0];
|
|
3074
3247
|
}
|
|
3075
3248
|
_getPicker() {
|
|
3076
3249
|
return this.shadowRoot.querySelector("[ui5-responsive-popover]");
|
|
@@ -3112,7 +3285,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3112
3285
|
webcomponentsBase.s({ type: Boolean })
|
|
3113
3286
|
], Search.prototype, "noTypeahead", void 0);
|
|
3114
3287
|
__decorate$1([
|
|
3115
|
-
webcomponentsBase.d({
|
|
3288
|
+
webcomponentsBase.d({
|
|
3289
|
+
type: HTMLElement,
|
|
3290
|
+
"default": true,
|
|
3291
|
+
invalidateOnChildChange: true,
|
|
3292
|
+
})
|
|
3116
3293
|
], Search.prototype, "items", void 0);
|
|
3117
3294
|
__decorate$1([
|
|
3118
3295
|
webcomponentsBase.d()
|
|
@@ -3175,6 +3352,11 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3175
3352
|
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [SearchFieldTemplate.call(this), ShellBarSearchPopoverTemplate.call(this)] }));
|
|
3176
3353
|
}
|
|
3177
3354
|
|
|
3355
|
+
Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
3356
|
+
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$1.defaultTheme);
|
|
3357
|
+
var ShellBarSearchCss = `:host(:not([collapsed])){min-width:13rem}
|
|
3358
|
+
`;
|
|
3359
|
+
|
|
3178
3360
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3179
3361
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3180
3362
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -3192,6 +3374,15 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3192
3374
|
* @experimental
|
|
3193
3375
|
*/
|
|
3194
3376
|
let ShellBarSearch = ShellBarSearch_1 = class ShellBarSearch extends Search$1 {
|
|
3377
|
+
constructor() {
|
|
3378
|
+
super(...arguments);
|
|
3379
|
+
/**
|
|
3380
|
+
* Indicates whether the suggestions popover should be opened on focus.
|
|
3381
|
+
* @default false
|
|
3382
|
+
* @public
|
|
3383
|
+
*/
|
|
3384
|
+
this.autoOpen = false;
|
|
3385
|
+
}
|
|
3195
3386
|
_handleSearchIconPress() {
|
|
3196
3387
|
super._handleSearchIconPress();
|
|
3197
3388
|
if (this.collapsed) {
|
|
@@ -3226,6 +3417,13 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3226
3417
|
const domRef = this.shadowRoot;
|
|
3227
3418
|
return Icons.d() ? domRef?.querySelector(`[ui5-responsive-popover] input`) : super.nativeInput;
|
|
3228
3419
|
}
|
|
3420
|
+
_onfocusin() {
|
|
3421
|
+
super._onfocusin();
|
|
3422
|
+
if (this.autoOpen) {
|
|
3423
|
+
this.open = true;
|
|
3424
|
+
this.fireDecoratorEvent("open");
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3229
3427
|
onBeforeRendering() {
|
|
3230
3428
|
super.onBeforeRendering();
|
|
3231
3429
|
if (Icons.d()) {
|
|
@@ -3233,10 +3431,17 @@ sap.ui.define(['require', 'exports', 'sap/ushell/thirdparty/webcomponents-base',
|
|
|
3233
3431
|
}
|
|
3234
3432
|
}
|
|
3235
3433
|
};
|
|
3434
|
+
__decorate([
|
|
3435
|
+
webcomponentsBase.s({ type: Boolean })
|
|
3436
|
+
], ShellBarSearch.prototype, "autoOpen", void 0);
|
|
3236
3437
|
ShellBarSearch = ShellBarSearch_1 = __decorate([
|
|
3237
3438
|
webcomponentsBase.m({
|
|
3238
3439
|
tag: "ui5-shellbar-search",
|
|
3239
3440
|
template: ShellBarSearchTemplate,
|
|
3441
|
+
styles: [
|
|
3442
|
+
Search$1.styles,
|
|
3443
|
+
ShellBarSearchCss,
|
|
3444
|
+
],
|
|
3240
3445
|
})
|
|
3241
3446
|
], ShellBarSearch);
|
|
3242
3447
|
ShellBarSearch.define();
|