@sapui5/sap.ushell 1.136.1 → 1.136.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 +5 -2
- 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 +7 -7
- 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/api/NewExperience.js +4 -0
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +1 -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 +1 -1
- 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 +5 -2
- 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 +1 -1
- 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 +1 -1
- 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/sandbox.js +5 -2
- 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 +28 -3
- 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/Component.js +27 -2
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +0 -4
- 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 +4 -4
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverHeader.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +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/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +27 -2
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +3 -3
- 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 +8 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +5 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +10 -12
- 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/Avatar.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Button.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Label.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Menu.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/MenuItem.js +4 -0
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/Avatar.js +10 -9
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/Button.js +32 -11
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/Label.js +7 -6
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/ListItem.js +15 -10
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/ListItemBase.js +6 -5
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/Menu.js +48 -12
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents/dist/MenuItem.js +45 -16
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-base.js +221 -36
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationList.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListGroupItem.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListItem.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBar.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarItem.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarSpacer.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenu.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuAccount.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuItem.js +4 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +85 -0
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +19 -10
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/NotificationListItem.js +19 -10
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +7 -6
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/ShellBar.js +89 -24
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/ShellBarItem.js +15 -6
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +6 -5
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +143 -0
- package/src/main/js/sap/ushell/{thirdparty → gen}/ui5/webcomponents-fiori/dist/UserMenuAccount.js +6 -5
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +40 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1317 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +2376 -0
- package/src/main/js/sap/ushell/library.js +19 -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/Renderer.js +4 -4
- package/src/main/js/sap/ushell/renderer/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/ShellLayout.js +197 -74
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- 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/BackNavigation.js +1 -1
- package/src/main/js/sap/ushell/state/ContentDensity.js +1 -1
- package/src/main/js/sap/ushell/state/Favicon.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/MenuBar.less +40 -4
- package/src/main/js/sap/ushell/themes/base/Page.less +17 -0
- package/src/main/js/sap/ushell/themes/base/ShellBar.less +3 -1
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +6 -4
- package/src/main/js/sap/ushell/themes/sap_hcb/base_MenuBar.less +2 -1
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +5 -3
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +9 -4
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +12 -12
- package/src/main/js/sap/ushell/thirdparty/Button2.js +61 -12
- package/src/main/js/sap/ushell/thirdparty/Icon.js +9 -9
- package/src/main/js/sap/ushell/thirdparty/Icons.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/Label.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Link.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/List.js +48 -26
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +65 -62
- package/src/main/js/sap/ushell/thirdparty/Menu.js +53 -58
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +5 -2
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +82 -17
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +158 -54
- package/src/main/js/sap/ushell/thirdparty/Tag.js +289 -295
- package/src/main/js/sap/ushell/thirdparty/Text.js +6 -6
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +35 -13
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +16 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +12 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +24 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +16 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +29 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +31 -13
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +31 -13
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +30 -12
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +16 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +15 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +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 +12 -8
- package/src/main/js/sap/ushell/thirdparty/information.js +10 -10
- package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/query.js +10 -0
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +3 -3
- package/src/main/js/sap/ushell/ui/ShellHeader.js +22 -2
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +0 -5
- 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/ShellNavigationMenu.js +2 -2
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/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/ui5.yaml +6 -0
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Avatar.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Button.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Label.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/Menu.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents/MenuItem.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationList.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationListGroupItem.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/NotificationListItem.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBar.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBarItem.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/ShellBarSpacer.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenu.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenuAccount.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/UserMenuItem.js +0 -4
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/NotificationList.js +0 -60
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenu.js +0 -99
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori/dist/UserMenuItem.js +0 -39
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-fiori.js +0 -351
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents.js +0 -651
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Fiori launchpad in a tree table separated by IconTabFilters for the first level properties of the configuration object.
|
|
10
10
|
* Also it provides a search for last level properties.
|
|
11
11
|
*
|
|
12
|
-
* @version 1.136.
|
|
12
|
+
* @version 1.136.2
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
15
|
"sap/ui/core/Element",
|
|
@@ -10,17 +10,53 @@
|
|
|
10
10
|
// align the outline of the nav bar personalization button
|
|
11
11
|
// with the outline of the home button
|
|
12
12
|
.sapUshellShellToolHeader.sapTntToolHeader.sapMTB {
|
|
13
|
-
padding-
|
|
13
|
+
padding-inline: @sapContent_Space_L;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.sapUiMedia-StdExt-LargeDesktop .sapUshellShellToolHeader.sapTntToolHeader.sapMTB {
|
|
17
|
-
padding-
|
|
17
|
+
padding-inline: @sapContent_Space_XL;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.sapUiMedia-Std-Phone .sapUshellShellToolHeader.sapTntToolHeader.sapMTB {
|
|
21
|
-
padding-
|
|
21
|
+
padding-inline: @sapContent_Space_S;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
// sapUshellFixedPadding is used to add more specificty
|
|
25
|
+
// and overwrite the responsive styling of the component
|
|
26
|
+
.sapUshellFixedPadding .sapUshellShellTabBar .sapMITH,
|
|
27
|
+
.sapUshellFixedPadding .sapUshellShellTabBar.sapMITH {
|
|
25
28
|
padding-inline: 0.875rem;
|
|
26
29
|
}
|
|
30
|
+
|
|
31
|
+
.sapUshellShellToolHeader .sapUshellShellTabBar .sapMITH,
|
|
32
|
+
.sapUshellShellToolHeader .sapUshellShellTabBar.sapMITH {
|
|
33
|
+
padding-inline: 0;
|
|
34
|
+
}
|
|
35
|
+
// responsive spacing layout for SideNavigation Popover or none Sidenavigation case
|
|
36
|
+
@media (min-width: @sapBreakpoint_S_Min) {
|
|
37
|
+
.sapUshellShellTabBar .sapMITH,
|
|
38
|
+
.sapUshellShellTabBar.sapMITH {
|
|
39
|
+
padding-inline: @sapContent_Space_S;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (min-width: @sapBreakpoint_M_Min) {
|
|
44
|
+
.sapUshellShellTabBar .sapMITH,
|
|
45
|
+
.sapUshellShellTabBar.sapMITH {
|
|
46
|
+
padding-inline: @sapContent_Space_M;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media (min-width: @sapBreakpoint_L_Min) {
|
|
51
|
+
.sapUshellShellTabBar .sapMITH,
|
|
52
|
+
.sapUshellShellTabBar.sapMITH {
|
|
53
|
+
padding-inline: @sapContent_Space_L;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (min-width: @sapBreakpoint_XL_Min) {
|
|
58
|
+
.sapUshellShellTabBar .sapMITH,
|
|
59
|
+
.sapUshellShellTabBar.sapMITH {
|
|
60
|
+
padding-inline: @sapContent_Space_XL;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -47,3 +47,20 @@
|
|
|
47
47
|
background-color: @sapUiBaseColor;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
// sapUshellFixedPadding is used to add more specificty
|
|
52
|
+
// and overwrite the responsive styling of the component
|
|
53
|
+
@media (min-width: @sapBreakpoint_S_Min) {
|
|
54
|
+
.sapUshellFixedPadding .sapUshellPage {
|
|
55
|
+
padding-left: 0.5rem;
|
|
56
|
+
padding-right: 0.5rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-width: @sapBreakpoint_M_Min) {
|
|
61
|
+
.sapUshellFixedPadding .sapUshellPage {
|
|
62
|
+
padding-left: 0.875rem;
|
|
63
|
+
padding-right: 0.875rem;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/* CSS for the ui5-ShellBar */
|
|
3
3
|
/* =================================== */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// sapUshellFixedPadding is used to add more specificty
|
|
6
|
+
// and overwrite the responsive styling of the component
|
|
7
|
+
.sapUshellFixedPadding .sapUshellShellBar {
|
|
6
8
|
padding-inline: 0.875rem;
|
|
7
9
|
}
|
|
@@ -28,10 +28,12 @@
|
|
|
28
28
|
margin-left: 0.5rem;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
|
|
32
|
+
// sapUshellFixedPadding is used to add more specificty
|
|
33
|
+
// and overwrite the responsive styling of the component
|
|
34
|
+
.sapUshellShellHeader.sapUshellFixedPadding {
|
|
35
|
+
padding-left: 0.625rem !important; /* 10px + 4px of the headbegin/headend === 14px according to the specification */
|
|
36
|
+
padding-right: 0.625rem !important;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
.sapUshellHeaderPlaceHolder {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
padding-left: 0.75rem
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.sapUshellFixedPadding .sapUshellShellTabBar .sapMITH,
|
|
25
|
+
.sapUshellFixedPadding .sapUshellShellTabBar.sapMITH {
|
|
25
26
|
padding-inline: 0.875rem;
|
|
26
27
|
}
|
|
@@ -22,9 +22,11 @@
|
|
|
22
22
|
-moz-osx-font-smoothing: grayscale;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// sapUshellFixedPadding is used to add more specificty
|
|
26
|
+
// and overwrite the responsive styling of the component
|
|
27
|
+
.sapUshellShellHeader.sapUshellFixedPadding {
|
|
28
|
+
padding-left: 0.625rem !important; /* 10px + 4px of the headbegin/headend === 14px according to the specification */
|
|
29
|
+
padding-right: 0.625rem !important;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.sapUshellHeaderPlaceHolder {
|
|
@@ -10,7 +10,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
10
10
|
|
|
11
11
|
Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
12
12
|
Icons.p("@ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
13
|
-
var AvatarCss = `:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative;font-family:"72override",var(--sapFontFamily)}:host(:not([hidden]).ui5_hovered){opacity:.7}:host([interactive]:not([disabled])){cursor:pointer}:host([interactive]:not([hidden]):active){background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([interactive]:not([hidden]):not([disabled]):not(:active):not([focused]):hover){box-shadow:var(--ui5-v2-10-0-rc-2-avatar-hover-box-shadow-offset)}:host([interactive][desktop]:not([hidden])) .ui5-avatar-root:focus,:host([interactive]:not([hidden])) .ui5-avatar-root:focus-visible{outline:var(--_ui5-v2-10-0-rc-2_avatar_outline);outline-offset:var(--_ui5-v2-10-0-rc-2_avatar_focus_offset)}:host([disabled]){opacity:var(--sapContent_DisabledOpacity)}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v2-10-0-rc-2-avatar-initials-border);outline:none;color:var(--ui5-v2-10-0-rc-2-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%;border-radius:inherit}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_XS)}:host(:not([size])),:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_S);width:var(--_ui5-v2-10-0-rc-2_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_icon_XS);width:var(--_ui5-v2-10-0-rc-2_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_icon_S);width:var(--_ui5-v2-10-0-rc-2_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_icon_M);width:var(--_ui5-v2-10-0-rc-2_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_icon_L);width:var(--_ui5-v2-10-0-rc-2_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v2-10-0-rc-2_avatar_icon_XL);width:var(--_ui5-v2-10-0-rc-2_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v2-10-0-rc-2-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v2-10-0-rc-2-avatar-border-radius) - var(--ui5-v2-10-0-rc-2-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([color-scheme="Auto"]),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent6);color:var(--ui5-v2-10-0-rc-2-avatar-accent6-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent6-border-color)}:host([_color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_6_Hover_Background)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent1);color:var(--ui5-v2-10-0-rc-2-avatar-accent1-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent1-border-color)}:host([_color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_1_Hover_Background)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent2);color:var(--ui5-v2-10-0-rc-2-avatar-accent2-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent2-border-color)}:host([_color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_2_Hover_Background)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent3);color:var(--ui5-v2-10-0-rc-2-avatar-accent3-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent3-border-color)}:host([_color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_3_Hover_Background)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent4);color:var(--ui5-v2-10-0-rc-2-avatar-accent4-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent4-border-color)}:host([_color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_4_Hover_Background)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent5);color:var(--ui5-v2-10-0-rc-2-avatar-accent5-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent5-border-color)}:host([_color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_5_Hover_Background)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent7);color:var(--ui5-v2-10-0-rc-2-avatar-accent7-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent7-border-color)}:host([_color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_7_Hover_Background)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent8);color:var(--ui5-v2-10-0-rc-2-avatar-accent8-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent8-border-color)}:host([_color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_8_Hover_Background)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent9);color:var(--ui5-v2-10-0-rc-2-avatar-accent9-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent9-border-color)}:host([_color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_9_Hover_Background)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-accent10);color:var(--ui5-v2-10-0-rc-2-avatar-accent10-color);border-color:var(--ui5-v2-10-0-rc-2-avatar-accent10-border-color)}:host([_color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_10_Hover_Background)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v2-10-0-rc-2-avatar-placeholder);color:var(--ui5-v2-10-0-rc-2-avatar-placeholder-color);border-color:var(--sapAvatar_Lite_BorderColor)}:host([_has-image]){color:var(--ui5-v2-10-0-rc-2-avatar-accent10-color);background-color:transparent;vertical-align:middle}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-fallback-icon-hidden{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){pointer-events:initial;position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapBackgroundColor);--_ui5-v2-10-0-rc-2-tag-height: 1.125rem;--_ui5-v2-10-0-rc-2-tag-border-radius: 50%}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem;--_ui5-v2-10-0-rc-2-tag-height: 1.25rem;--_ui5-v2-10-0-rc-2-tag-icon-width: .875rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){width:1.75rem;height:1.75rem;--_ui5-v2-10-0-rc-2-tag-height: 1.75rem;--_ui5-v2-10-0-rc-2-tag-icon-width: 1rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem}
|
|
13
|
+
var AvatarCss = `:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative;font-family:"72override",var(--sapFontFamily)}:host(:not([hidden]).ui5_hovered){opacity:.7}:host([interactive]:not([disabled])){cursor:pointer}:host([interactive]:not([hidden]):active){background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([interactive]:not([hidden]):not([disabled]):not(:active):not([focused]):hover){box-shadow:var(--ui5-v2-11-0-rc-3-avatar-hover-box-shadow-offset)}:host([interactive][desktop]:not([hidden])) .ui5-avatar-root:focus,:host([interactive]:not([hidden])) .ui5-avatar-root:focus-visible{outline:var(--_ui5-v2-11-0-rc-3_avatar_outline);outline-offset:var(--_ui5-v2-11-0-rc-3_avatar_focus_offset)}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:none}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v2-11-0-rc-3-avatar-initials-border);outline:none;color:var(--ui5-v2-11-0-rc-3-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%;border-radius:inherit}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_XS)}:host(:not([size])),:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_S);width:var(--_ui5-v2-11-0-rc-3_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_icon_XS);width:var(--_ui5-v2-11-0-rc-3_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_icon_S);width:var(--_ui5-v2-11-0-rc-3_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_icon_M);width:var(--_ui5-v2-11-0-rc-3_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_icon_L);width:var(--_ui5-v2-11-0-rc-3_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v2-11-0-rc-3_avatar_icon_XL);width:var(--_ui5-v2-11-0-rc-3_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v2-11-0-rc-3-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v2-11-0-rc-3-avatar-border-radius) - var(--ui5-v2-11-0-rc-3-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([color-scheme="Auto"]),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent6);color:var(--ui5-v2-11-0-rc-3-avatar-accent6-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent6-border-color)}:host([_color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent6"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_6_Hover_Background)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent1);color:var(--ui5-v2-11-0-rc-3-avatar-accent1-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent1-border-color)}:host([_color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent1"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_1_Hover_Background)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent2);color:var(--ui5-v2-11-0-rc-3-avatar-accent2-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent2-border-color)}:host([_color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent2"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_2_Hover_Background)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent3);color:var(--ui5-v2-11-0-rc-3-avatar-accent3-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent3-border-color)}:host([_color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent3"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_3_Hover_Background)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent4);color:var(--ui5-v2-11-0-rc-3-avatar-accent4-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent4-border-color)}:host([_color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent4"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_4_Hover_Background)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent5);color:var(--ui5-v2-11-0-rc-3-avatar-accent5-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent5-border-color)}:host([_color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent5"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_5_Hover_Background)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent7);color:var(--ui5-v2-11-0-rc-3-avatar-accent7-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent7-border-color)}:host([_color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent7"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_7_Hover_Background)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent8);color:var(--ui5-v2-11-0-rc-3-avatar-accent8-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent8-border-color)}:host([_color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent8"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_8_Hover_Background)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent9);color:var(--ui5-v2-11-0-rc-3-avatar-accent9-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent9-border-color)}:host([_color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent9"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_9_Hover_Background)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-accent10);color:var(--ui5-v2-11-0-rc-3-avatar-accent10-color);border-color:var(--ui5-v2-11-0-rc-3-avatar-accent10-border-color)}:host([_color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover),:host([ui5-avatar][color-scheme="Accent10"][interactive]:not([hidden]):not([disabled]):not(:active):hover){background-color:var(--sapAvatar_10_Hover_Background)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v2-11-0-rc-3-avatar-placeholder);color:var(--ui5-v2-11-0-rc-3-avatar-placeholder-color);border-color:var(--sapAvatar_Lite_BorderColor)}:host([_has-image]){color:var(--ui5-v2-11-0-rc-3-avatar-accent10-color);border:var(--ui5-v2-11-0-rc-3-avatar-optional-border);background-color:transparent}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-fallback-icon-hidden{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapBackgroundColor);--_ui5-v2-11-0-rc-3-tag-height: 1.125rem}:host(:not([disabled])) ::slotted([slot="badge"]){pointer-events:initial}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem;--_ui5-v2-11-0-rc-3-tag-height: 1.25rem;--_ui5-v2-11-0-rc-3-tag-icon-width: .875rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){width:1.75rem;height:1.75rem;--_ui5-v2-11-0-rc-3-tag-height: 1.75rem;--_ui5-v2-11-0-rc-3-tag-icon-width: 1rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem}
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -174,9 +174,15 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
174
174
|
* @default {}
|
|
175
175
|
*/
|
|
176
176
|
this.accessibilityAttributes = {};
|
|
177
|
+
/**
|
|
178
|
+
* @private
|
|
179
|
+
*/
|
|
177
180
|
this._hasImage = false;
|
|
178
181
|
this._handleResizeBound = this.handleResize.bind(this);
|
|
179
182
|
}
|
|
183
|
+
onBeforeRendering() {
|
|
184
|
+
this._hasImage = this.hasImage;
|
|
185
|
+
}
|
|
180
186
|
get tabindex() {
|
|
181
187
|
if (this.forcedTabIndex) {
|
|
182
188
|
return parseInt(this.forcedTabIndex);
|
|
@@ -226,8 +232,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
226
232
|
return this.initials ? `${defaultLabel} ${this.initials}`.trim() : defaultLabel;
|
|
227
233
|
}
|
|
228
234
|
get hasImage() {
|
|
229
|
-
|
|
230
|
-
return this._hasImage;
|
|
235
|
+
return !!this.image.length;
|
|
231
236
|
}
|
|
232
237
|
get initialsContainer() {
|
|
233
238
|
return this.getDomRef().querySelector(".ui5-avatar-initials");
|
|
@@ -356,7 +361,7 @@ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdpart
|
|
|
356
361
|
webcomponentsBase.m({
|
|
357
362
|
tag: "ui5-avatar",
|
|
358
363
|
languageAware: true,
|
|
359
|
-
renderer: i18nDefaults.
|
|
364
|
+
renderer: i18nDefaults.y,
|
|
360
365
|
styles: AvatarCss,
|
|
361
366
|
template: AvatarTemplate,
|
|
362
367
|
})
|
|
@@ -10,13 +10,13 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
10
10
|
|
|
11
11
|
const b=t=>a([...t.children]),a=(t,n)=>{const l=n||[];return t&&t.forEach(r$1=>{if(r$1.nodeType===Node.TEXT_NODE||r$1.nodeType===Node.COMMENT_NODE)return;const e=r$1;if(!e.hasAttribute("data-sap-no-tab-ref"))if(r(e)&&l.push(e),e.tagName==="SLOT")a(e.assignedNodes(),l);else {const s=e.shadowRoot?e.shadowRoot.children:e.children;a([...s],l);}}),l};
|
|
12
12
|
|
|
13
|
-
Icons.p("
|
|
14
|
-
Icons.p("
|
|
15
|
-
var styles = `:host{box-sizing:border-box;height:var(--_ui5-v2-
|
|
13
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
14
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
15
|
+
var styles = `:host{box-sizing:border-box;height:var(--_ui5-v2-11-0-rc-3_list_item_base_height);background-color:var(--ui5-v2-11-0-rc-3-listitem-background-color);border-bottom:.0625rem solid transparent}:host(:not([hidden])){display:block}:host([disabled]){opacity:var(--_ui5-v2-11-0-rc-3-listitembase_disabled_opacity);pointer-events:none}:host([actionable]:not([disabled]):not([ui5-li-group-header])){cursor:pointer}:host([has-border]){border-bottom:var(--ui5-v2-11-0-rc-3-listitem-border-bottom)}:host([selected]){background-color:var(--sapList_SelectionBackgroundColor);border-bottom:var(--ui5-v2-11-0-rc-3-listitem-selected-border-bottom)}:host([selected]) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable]:not([active]):not([selected]):not([ui5-li-group-header]):hover){background-color:var(--sapList_Hover_Background)}:host([actionable]:not([active]):not([selected]):not([ui5-li-group-header]):hover) .ui5-li-additional-text{text-shadow:var(--sapContent_TextShadow)}:host([actionable][selected]:not([active],[data-moving]):hover){background-color:var(--sapList_Hover_SelectionBackground)}:host([active][actionable]:not([data-moving])),:host([active][actionable][selected]:not([data-moving])){background-color:var(--sapList_Active_Background)}:host([desktop]:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root.ui5-li--focusable:after,:host(:not([data-moving])) .ui5-li-root.ui5-li--focusable:focus-visible:after,:host([desktop]:not([data-moving])) .ui5-li-root .ui5-li-content:focus:after,:host([desktop][focused]:not([data-moving])) .ui5-li-root .ui5-li-content:after,:host(:not([data-moving])) .ui5-li-root .ui5-li-content:focus-visible:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-li-root{position:relative;display:flex;align-items:center;width:100%;height:100%;padding:var(--_ui5-v2-11-0-rc-3_list_item_base_padding);box-sizing:border-box;background-color:inherit}.ui5-li-root.ui5-li--focusable{outline:none}.ui5-li-content{display:flex;align-items:center;flex:auto;overflow:hidden;max-width:100%;font-family:"72override",var(--sapFontFamily);color:var(--sapList_TextColor)}.ui5-li-content .ui5-li-title{color:var(--sapList_TextColor);font-size:var(--_ui5-v2-11-0-rc-3_list_item_title_size)}.ui5-li-text-wrapper{display:flex;flex-direction:row;justify-content:space-between;flex:auto;min-width:1px;line-height:normal}
|
|
16
16
|
`;
|
|
17
17
|
|
|
18
|
-
Icons.p("
|
|
19
|
-
Icons.p("
|
|
18
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
19
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
20
20
|
var draggableElementStyles = `[draggable=true]{cursor:grab!important}[draggable=true][data-moving]{cursor:grabbing!important;opacity:var(--sapContent_DisabledOpacity)}
|
|
21
21
|
`;
|
|
22
22
|
|
|
@@ -211,7 +211,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
211
211
|
], ListItemBase.prototype, "actionable", void 0);
|
|
212
212
|
ListItemBase = __decorate$1([
|
|
213
213
|
webcomponentsBase.m({
|
|
214
|
-
renderer: i18nDefaults.
|
|
214
|
+
renderer: i18nDefaults.y,
|
|
215
215
|
styles: [styles, draggableElementStyles],
|
|
216
216
|
}),
|
|
217
217
|
eventStrict.l("request-tabindex-change", {
|
|
@@ -260,9 +260,9 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
260
260
|
return (i18nDefaults.jsx(i18nDefaults.Fragment, { children: this.text && (i18nDefaults.jsx(Label, { id: `${this._id}-label`, class: "ui5-busy-indicator-text", children: this.text })) }));
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
Icons.p("
|
|
264
|
-
Icons.p("
|
|
265
|
-
var busyIndicatorCss = `:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v2-
|
|
263
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
264
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
265
|
+
var busyIndicatorCss = `:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v2-11-0-rc-3_busy_indicator_color)}:host([size="S"]) .ui5-busy-indicator-root{min-width:1.625rem;min-height:.5rem}:host([size="S"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:1.75rem}:host([size="S"]) .ui5-busy-indicator-circle{width:.5rem;height:.5rem}:host([size="S"]) .ui5-busy-indicator-circle:first-child,:host([size="S"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.0625rem}:host(:not([size])) .ui5-busy-indicator-root,:host([size="M"]) .ui5-busy-indicator-root{min-width:3.375rem;min-height:1rem}:host([size="M"]) .ui5-busy-indicator-circle:first-child,:host([size="M"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.1875rem}:host(:not([size])[text]:not([text=""])) .ui5-busy-indicator-root,:host([size="M"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:2.25rem}:host(:not([size])) .ui5-busy-indicator-circle,:host([size="M"]) .ui5-busy-indicator-circle{width:1rem;height:1rem}:host([size="L"]) .ui5-busy-indicator-root{min-width:6.5rem;min-height:2rem}:host([size="L"]) .ui5-busy-indicator-circle:first-child,:host([size="L"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.25rem}:host([size="L"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:3.25rem}:host([size="L"]) .ui5-busy-indicator-circle{width:2rem;height:2rem}.ui5-busy-indicator-root{display:flex;justify-content:center;align-items:center;position:relative;background-color:inherit;height:inherit;border-radius:inherit}.ui5-busy-indicator-busy-area{position:absolute;z-index:99;inset:0;display:flex;justify-content:center;align-items:center;background-color:inherit;flex-direction:column;border-radius:inherit}:host([active]) ::slotted(*){opacity:var(--sapContent_DisabledOpacity)}:host([desktop]) .ui5-busy-indicator-busy-area:focus,.ui5-busy-indicator-busy-area:focus-visible{outline:var(--_ui5-v2-11-0-rc-3_busy_indicator_focus_outline);outline-offset:-2px}.ui5-busy-indicator-circles-wrapper{line-height:0}.ui5-busy-indicator-circle{display:inline-block;background-color:currentColor;border-radius:50%}.ui5-busy-indicator-circle:before{content:"";width:100%;height:100%;border-radius:100%}.circle-animation-0{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11)}.circle-animation-1{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.2s}.circle-animation-2{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.4s}.ui5-busy-indicator-text{width:100%;text-align:center}:host([text-placement="Top"]) .ui5-busy-indicator-text{margin-bottom:.5rem}:host(:not([text-placement])) .ui5-busy-indicator-text,:host([text-placement="Bottom"]) .ui5-busy-indicator-text{margin-top:.5rem}@keyframes grow{0%,50%,to{-webkit-transform:scale(.5);-moz-transform:scale(.5);transform:scale(.5)}25%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}
|
|
266
266
|
`;
|
|
267
267
|
|
|
268
268
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -303,7 +303,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
303
303
|
*
|
|
304
304
|
* ### ES6 Module Import
|
|
305
305
|
*
|
|
306
|
-
* `import "
|
|
306
|
+
* `import "sap/ushell/gen/ui5/webcomponents/dist/BusyIndicator.js";`
|
|
307
307
|
* @constructor
|
|
308
308
|
* @extends UI5Element
|
|
309
309
|
* @public
|
|
@@ -441,14 +441,14 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
441
441
|
webcomponentsBase.s({ type: Boolean })
|
|
442
442
|
], BusyIndicator.prototype, "_isBusy", void 0);
|
|
443
443
|
__decorate([
|
|
444
|
-
i18nDefaults.i("
|
|
444
|
+
i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
|
|
445
445
|
], BusyIndicator, "i18nBundle", void 0);
|
|
446
446
|
BusyIndicator = BusyIndicator_1 = __decorate([
|
|
447
447
|
webcomponentsBase.m({
|
|
448
448
|
tag: "ui5-busy-indicator",
|
|
449
449
|
languageAware: true,
|
|
450
450
|
styles: busyIndicatorCss,
|
|
451
|
-
renderer: i18nDefaults.
|
|
451
|
+
renderer: i18nDefaults.y,
|
|
452
452
|
template: BusyIndicatorTemplate,
|
|
453
453
|
})
|
|
454
454
|
], BusyIndicator);
|
|
@@ -106,9 +106,9 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
106
106
|
i18nDefaults.jsx("slot", { name: "badge" })] }) }));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
Icons.p("
|
|
110
|
-
Icons.p("
|
|
111
|
-
var buttonCss = `:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5-v2-10-0-rc-2_button_base_min_width);height:var(--_ui5-v2-10-0-rc-2_button_base_height);line-height:normal;font-family:var(--_ui5-v2-10-0-rc-2_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v2-10-0-rc-2_button_text_shadow);border-radius:var(--_ui5-v2-10-0-rc-2_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v2-10-0-rc-2_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5-v2-10-0-rc-2_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5-v2-10-0-rc-2_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5-v2-10-0-rc-2_button_base_min_width) - var(--_ui5-v2-10-0-rc-2_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([active])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-10-0-rc-2_button_focused_border);border-radius:var(--_ui5-v2-10-0-rc-2_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5-v2-10-0-rc-2_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-10-0-rc-2_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-10-0-rc-2_button_emphasized_focused_border_before);border-radius:var(--_ui5-v2-10-0-rc-2_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v2-10-0-rc-2_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapFontBoldFamily )}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v2-10-0-rc-2_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-10-0-rc-2_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-10-0-rc-2_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-10-0-rc-2_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5-v2-10-0-rc-2_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v2-10-0-rc-2_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5-v2-10-0-rc-2_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v2-10-0-rc-2_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-v2-10-0-rc-2-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1000;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);--_ui5-v2-10-0-rc-2-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1000}:host(:state(has-overlay-badge)){overflow:visible;margin-right:5px}
|
|
109
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
110
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
111
|
+
var buttonCss = `:host{vertical-align:middle}.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5-v2-11-0-rc-3_button_base_min_width);height:var(--_ui5-v2-11-0-rc-3_button_base_height);line-height:normal;font-family:var(--_ui5-v2-11-0-rc-3_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v2-11-0-rc-3_button_text_shadow);border-radius:var(--_ui5-v2-11-0-rc-3_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v2-11-0-rc-3_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5-v2-11-0-rc-3_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5-v2-11-0-rc-3_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5-v2-11-0-rc-3_button_base_min_width) - var(--_ui5-v2-11-0-rc-3_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([active])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-11-0-rc-3_button_focused_border);border-radius:var(--_ui5-v2-11-0-rc-3_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5-v2-11-0-rc-3_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-11-0-rc-3_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-11-0-rc-3_button_emphasized_focused_border_before);border-radius:var(--_ui5-v2-11-0-rc-3_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v2-11-0-rc-3_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapButton_Emphasized_FontFamily)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v2-11-0-rc-3_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-11-0-rc-3_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-11-0-rc-3_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-11-0-rc-3_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5-v2-11-0-rc-3_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v2-11-0-rc-3_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5-v2-11-0-rc-3_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v2-11-0-rc-3_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:"72override",var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-v2-11-0-rc-3-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1000;font-family:"72override",var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);--_ui5-v2-11-0-rc-3-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1000}:host(:state(has-overlay-badge)){overflow:visible;margin-inline-end:.3125rem}
|
|
112
112
|
`;
|
|
113
113
|
|
|
114
114
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -144,7 +144,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
144
144
|
*
|
|
145
145
|
* ### ES6 Module Import
|
|
146
146
|
*
|
|
147
|
-
* `import "
|
|
147
|
+
* `import "sap/ushell/gen/ui5/webcomponents/dist/Button.js";`
|
|
148
148
|
* @csspart button - Used to style the native button element
|
|
149
149
|
* @csspart icon - Used to style the icon in the native button element
|
|
150
150
|
* @csspart endIcon - Used to style the end icon in the native button element
|
|
@@ -295,10 +295,22 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
295
295
|
this._internals.states.delete("has-overlay-badge");
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
_onclick() {
|
|
298
|
+
_onclick(e) {
|
|
299
|
+
e.stopImmediatePropagation();
|
|
299
300
|
if (this.nonInteractive) {
|
|
300
301
|
return;
|
|
301
302
|
}
|
|
303
|
+
const { altKey, ctrlKey, metaKey, shiftKey, } = e;
|
|
304
|
+
const prevented = !this.fireDecoratorEvent("click", {
|
|
305
|
+
originalEvent: e,
|
|
306
|
+
altKey,
|
|
307
|
+
ctrlKey,
|
|
308
|
+
metaKey,
|
|
309
|
+
shiftKey,
|
|
310
|
+
});
|
|
311
|
+
if (prevented) {
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
302
314
|
if (this._isSubmit) {
|
|
303
315
|
webcomponentsBase.i$1(this);
|
|
304
316
|
}
|
|
@@ -402,13 +414,31 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
402
414
|
return this.nonInteractive ? -1 : Number.parseInt(this.forcedTabIndex);
|
|
403
415
|
}
|
|
404
416
|
get ariaLabelText() {
|
|
405
|
-
|
|
417
|
+
const ariaLabelText = toLowercaseEnumValue.A(this) || "";
|
|
418
|
+
const typeLabelText = this.hasButtonType ? this.buttonTypeText : "";
|
|
419
|
+
const internalLabelText = this.effectiveBadgeDescriptionText || "";
|
|
420
|
+
const labelParts = [ariaLabelText, typeLabelText, internalLabelText].filter(part => part);
|
|
421
|
+
return labelParts.join(" ");
|
|
406
422
|
}
|
|
407
423
|
get ariaDescriptionText() {
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
424
|
+
return this.accessibleDescription === "" ? undefined : this.accessibleDescription;
|
|
425
|
+
}
|
|
426
|
+
get effectiveBadgeDescriptionText() {
|
|
427
|
+
if (!this.shouldRenderBadge) {
|
|
428
|
+
return "";
|
|
429
|
+
}
|
|
430
|
+
const badgeEffectiveText = this.badge[0].effectiveText;
|
|
431
|
+
// Use distinct i18n keys for singular and plural badge values to ensure proper localization.
|
|
432
|
+
// Some languages have different grammatical rules for singular and plural forms,
|
|
433
|
+
// so separate keys (BUTTON_BADGE_ONE_ITEM and BUTTON_BADGE_MANY_ITEMS) are necessary.
|
|
434
|
+
switch (badgeEffectiveText) {
|
|
435
|
+
case "":
|
|
436
|
+
return badgeEffectiveText;
|
|
437
|
+
case "1":
|
|
438
|
+
return Button_1.i18nBundle.getText(i18nDefaults.BUTTON_BADGE_ONE_ITEM, badgeEffectiveText);
|
|
439
|
+
default:
|
|
440
|
+
return Button_1.i18nBundle.getText(i18nDefaults.BUTTON_BADGE_MANY_ITEMS, badgeEffectiveText);
|
|
441
|
+
}
|
|
412
442
|
}
|
|
413
443
|
get _isSubmit() {
|
|
414
444
|
return this.type === ButtonType$1.Submit || this.submits;
|
|
@@ -493,18 +523,36 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
493
523
|
webcomponentsBase.d({ type: HTMLElement, invalidateOnChildChange: true })
|
|
494
524
|
], Button.prototype, "badge", void 0);
|
|
495
525
|
__decorate([
|
|
496
|
-
i18nDefaults.i("
|
|
526
|
+
i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
|
|
497
527
|
], Button, "i18nBundle", void 0);
|
|
498
528
|
Button = Button_1 = __decorate([
|
|
499
529
|
webcomponentsBase.m({
|
|
500
530
|
tag: "ui5-button",
|
|
501
531
|
formAssociated: true,
|
|
502
532
|
languageAware: true,
|
|
503
|
-
renderer: i18nDefaults.
|
|
533
|
+
renderer: i18nDefaults.y,
|
|
504
534
|
template: ButtonTemplate,
|
|
505
535
|
styles: buttonCss,
|
|
506
536
|
shadowRootOptions: { delegatesFocus: true },
|
|
507
537
|
})
|
|
538
|
+
/**
|
|
539
|
+
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
|
|
540
|
+
*
|
|
541
|
+
* **Note:** The event will not be fired if the `disabled` property is set to `true`.
|
|
542
|
+
*
|
|
543
|
+
* @since 2.10.0
|
|
544
|
+
* @public
|
|
545
|
+
* @param {Event} originalEvent Returns original event that comes from user's **click** interaction
|
|
546
|
+
* @param {boolean} altKey Returns whether the "ALT" key was pressed when the event was triggered.
|
|
547
|
+
* @param {boolean} ctrlKey Returns whether the "CTRL" key was pressed when the event was triggered.
|
|
548
|
+
* @param {boolean} metaKey Returns whether the "META" key was pressed when the event was triggered.
|
|
549
|
+
* @param {boolean} shiftKey Returns whether the "SHIFT" key was pressed when the event was triggered.
|
|
550
|
+
*/
|
|
551
|
+
,
|
|
552
|
+
eventStrict.l("click", {
|
|
553
|
+
bubbles: true,
|
|
554
|
+
cancelable: true,
|
|
555
|
+
})
|
|
508
556
|
/**
|
|
509
557
|
* Fired whenever the active state of the component changes.
|
|
510
558
|
* @private
|
|
@@ -519,6 +567,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
519
567
|
var Button$1 = Button;
|
|
520
568
|
|
|
521
569
|
exports.Button = Button$1;
|
|
570
|
+
exports.ButtonBadgeDesign = ButtonBadgeDesign$1;
|
|
522
571
|
exports.t = t;
|
|
523
572
|
|
|
524
573
|
}));
|
|
@@ -36,9 +36,9 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
36
36
|
})(IconMode || (IconMode = {}));
|
|
37
37
|
var IconMode$1 = IconMode;
|
|
38
38
|
|
|
39
|
-
Icons.p("
|
|
40
|
-
Icons.p("
|
|
41
|
-
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-
|
|
39
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
|
|
40
|
+
Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
|
|
41
|
+
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-11-0-rc-3-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5-v2-11-0-rc-3_icon_transform_scale);transform-origin:center}
|
|
42
42
|
`;
|
|
43
43
|
|
|
44
44
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -86,15 +86,15 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
86
86
|
*
|
|
87
87
|
* For the standard "SAP-icons" icon collection, import an icon from the `@ui5/webcomponents-icons` package:
|
|
88
88
|
*
|
|
89
|
-
* `import "
|
|
89
|
+
* `import "sap/ushell/gen/ui5/webcomponents-icons/dist/employee.js";`
|
|
90
90
|
*
|
|
91
91
|
* For the "tnt" (SAP Fiori Tools) icon collection, import an icon from the `@ui5/webcomponents-icons-tnt` package:
|
|
92
92
|
*
|
|
93
|
-
* `import "
|
|
93
|
+
* `import "sap/ushell/gen/ui5/webcomponents-icons-tnt/dist/antenna.js";`
|
|
94
94
|
*
|
|
95
95
|
* For the "business-suite" (SAP Business Suite) icon collection, import an icon from the `@ui5/webcomponents-icons-business-suite` package:
|
|
96
96
|
*
|
|
97
|
-
* `import "
|
|
97
|
+
* `import "sap/ushell/gen/ui5/webcomponents-icons-business-suite/dist/ab-testing.js";`
|
|
98
98
|
*
|
|
99
99
|
* 4. **Display the icon using the `ui5-icon` web component.**
|
|
100
100
|
* Set the icon collection ("SAP-icons", "tnt" or "business-suite" - "SAP-icons" is the default icon collection and can be skipped)
|
|
@@ -111,7 +111,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
111
111
|
*
|
|
112
112
|
* ### ES6 Module Import
|
|
113
113
|
*
|
|
114
|
-
* `import "
|
|
114
|
+
* `import "sap/ushell/gen/ui5/webcomponents/dist/Icon.js";`
|
|
115
115
|
* @csspart root - Used to style the outermost wrapper of the `ui5-icon`.
|
|
116
116
|
* @constructor
|
|
117
117
|
* @extends UI5Element
|
|
@@ -212,7 +212,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
212
212
|
if (iconData === ICON_NOT_FOUND) {
|
|
213
213
|
this.invalid = true;
|
|
214
214
|
/* eslint-disable-next-line */
|
|
215
|
-
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "
|
|
215
|
+
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "sap/ushell/gen/ui5/webcomponents-icons/dist/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "sap/ushell/gen/ui5/webcomponents-icons/dist/AllIcons.js".`);
|
|
216
216
|
}
|
|
217
217
|
this.viewBox = iconData.viewBox || "0 0 512 512";
|
|
218
218
|
if (iconData.customTemplate) {
|
|
@@ -272,7 +272,7 @@ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushel
|
|
|
272
272
|
tag: "ui5-icon",
|
|
273
273
|
languageAware: true,
|
|
274
274
|
themeAware: true,
|
|
275
|
-
renderer: i18nDefaults.
|
|
275
|
+
renderer: i18nDefaults.y,
|
|
276
276
|
template: IconTemplate,
|
|
277
277
|
styles: iconCss,
|
|
278
278
|
})
|