@sapui5/sap.ushell 1.141.3 → 1.143.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -7
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +7 -11
- package/src/main/js/sap/ushell/ApplicationType/utils.js +9 -9
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +18 -0
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -3
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -12
- 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 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +2 -3
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +41 -24
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +3 -2
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +94 -114
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +43 -20
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +0 -11
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +89 -32
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +53 -52
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/LifecycleHandler.js +1 -3
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NWBCHandler.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NavigationHandler.js +4 -4
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +58 -17
- package/src/main/js/sap/ushell/appIntegration/PostMessagePluginInterface.js +4 -0
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +15 -28
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +16 -27
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +0 -12
- 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 +20 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +17 -6
- 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 +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
- 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/LoadingConfiguration.json +4 -0
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +35 -17
- 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/cdm/cdm.constants.js +0 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +29 -5
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Component.js +2 -2
- 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 +5 -5
- 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/factsheet/factory/ThingInspector.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +3 -3
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +10 -10
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +3 -3
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +4 -4
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +25 -50
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +1 -1
- 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/Notifications/NotificationsModule.js +169 -0
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +4 -4
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +6 -2
- package/src/main/js/sap/ushell/components/shell/Search/SearchModule.js +58 -0
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +33 -22
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +0 -1
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +35 -7
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.view.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +14 -9
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +15 -21
- 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 +23 -18
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +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 +2 -2
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -8
- package/src/main/js/sap/ushell/modules/Assistant/AssistantAPI.js +94 -0
- package/src/main/js/sap/ushell/modules/Assistant/AssistantProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Assistant/VisualConfiguration.js +41 -0
- package/src/main/js/sap/ushell/modules/Assistant.js +56 -0
- package/src/main/js/sap/ushell/modules/BaseAPI.js +107 -0
- package/src/main/js/sap/ushell/modules/BaseProvider.js +43 -0
- package/src/main/js/sap/ushell/modules/Notifications/NotificationsAPI.js +253 -0
- package/src/main/js/sap/ushell/modules/Notifications/NotificationsProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Notifications.js +53 -0
- package/src/main/js/sap/ushell/modules/Search/SearchAPI.js +271 -0
- package/src/main/js/sap/ushell/modules/Search/SearchProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Search.js +56 -0
- package/src/main/js/sap/ushell/modules/loader/AbstractLoader.js +95 -0
- package/src/main/js/sap/ushell/modules/loader/AssistantLoader.js +156 -0
- package/src/main/js/sap/ushell/modules/loader/NotificationsLoader.js +148 -0
- package/src/main/js/sap/ushell/modules/loader/SearchLoader.js +153 -0
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +136 -40
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +26 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +19 -14
- package/src/main/js/sap/ushell/renderer/Renderer.js +6 -7
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +204 -102
- package/src/main/js/sap/ushell/renderer/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +7 -9
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +1 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +6 -7
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +13 -14
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +3 -4
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +0 -14
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.fragment.xml +0 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +5 -63
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +45 -37
- 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 +6 -5
- 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 +13 -13
- 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 +15 -3
- 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 +21 -8
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -181
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +3 -3
- package/src/main/js/sap/ushell/services/MessageBroker.js +3 -3
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +3 -3
- 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 +20 -20
- 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/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +2 -6
- 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 +6 -7
- package/src/main/js/sap/ushell/services/SearchableContent.js +3 -5
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +52 -73
- 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/URLParsing.js +65 -47
- 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 +6 -44
- 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/RecentActivity.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +5 -5
- 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/StateManager.js +14 -5
- package/src/main/js/sap/ushell/state/StateRules.js +10 -1
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +1 -1
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +1 -1
- package/src/main/js/sap/ushell/state/modules/Favicon.js +1 -1
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_belize_base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -29
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +0 -14
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +11 -11
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +12 -12
- 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/VizInstance.js +113 -22
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +0 -2
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +0 -8
- 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/SmartBusiness.js +139 -0
- package/src/main/js/sap/ushell/utils/UrlParsing.js +335 -208
- 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/main/js/sap/ushell/utils.js +36 -56
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +19 -34
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +0 -228
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +0 -277
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +0 -2128
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +0 -462
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +0 -182
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +0 -135
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +0 -400
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +0 -345
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -103
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +0 -147
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +0 -60
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +0 -277
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +0 -96
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +0 -59
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +0 -177
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +0 -79
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +0 -90
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_mk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +0 -248
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +0 -25
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +0 -25
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +0 -67
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +0 -176
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +0 -50
- package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +0 -37
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +0 -119
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +0 -219
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +0 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +0 -76
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +0 -39
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +0 -153
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +0 -185
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +0 -198
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +0 -576
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/IllustratedMessage.js +0 -98
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +0 -135
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +0 -91
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +0 -134
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +0 -55
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +0 -163
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +0 -83
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +0 -36
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +0 -53
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +0 -55
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +0 -380
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +0 -78
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +0 -88
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +0 -157
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +0 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +0 -197
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +0 -83
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +0 -42
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +0 -1652
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +0 -2823
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +0 -58
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +0 -35
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +0 -65
- package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +0 -13
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +0 -453
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +0 -233
- package/src/main/js/sap/ushell/thirdparty/Button.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/Button2.js +0 -656
- package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/Icon.js +0 -313
- package/src/main/js/sap/ushell/thirdparty/Icons.js +0 -234
- package/src/main/js/sap/ushell/thirdparty/IllustratedMessage.js +0 -1297
- package/src/main/js/sap/ushell/thirdparty/Label.js +0 -115
- package/src/main/js/sap/ushell/thirdparty/Link.js +0 -316
- package/src/main/js/sap/ushell/thirdparty/List.js +0 -1253
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +0 -14
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +0 -251
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +0 -1689
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +0 -637
- package/src/main/js/sap/ushell/thirdparty/Menu.js +0 -389
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +0 -762
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +0 -291
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +0 -310
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +0 -534
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +0 -98
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +0 -2312
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +0 -157
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +0 -49
- package/src/main/js/sap/ushell/thirdparty/SearchScope.js +0 -39
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +0 -1809
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +0 -119
- package/src/main/js/sap/ushell/thirdparty/ShellBarItem.js +0 -89
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +0 -3453
- package/src/main/js/sap/ushell/thirdparty/ShellBarSpacer.js +0 -40
- package/src/main/js/sap/ushell/thirdparty/Tag.js +0 -302
- package/src/main/js/sap/ushell/thirdparty/Text.js +0 -127
- package/src/main/js/sap/ushell/thirdparty/Title.js +0 -167
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +0 -950
- package/src/main/js/sap/ushell/thirdparty/UserMenuAccount.js +0 -114
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +0 -61
- package/src/main/js/sap/ushell/thirdparty/ValueState.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/WrappingType.js +0 -24
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputComposition.js +0 -35
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +0 -397
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +0 -193
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +0 -585
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +0 -585
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite.js +0 -1194
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite2.js +0 -1194
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +0 -2509
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +0 -2509
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css27.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/encodeXML.js +0 -87
- package/src/main/js/sap/ushell/thirdparty/event-strict.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +0 -9
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +0 -115
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +0 -159
- package/src/main/js/sap/ushell/thirdparty/information.js +0 -100
- package/src/main/js/sap/ushell/thirdparty/information2.js +0 -13
- package/src/main/js/sap/ushell/thirdparty/overflow.js +0 -25
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +0 -11
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css3.js +0 -8
- package/src/main/js/sap/ushell/thirdparty/query.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +0 -4301
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base2.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +0 -146
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +0 -170
- package/src/main/js/sap/ushell/thirdparty/willShowContent.js +0 -7
|
@@ -1,534 +0,0 @@
|
|
|
1
|
-
sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/query', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/WrappingType', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/NotificationListItemBase', 'sap/ushell/thirdparty/sys-enter-2', 'sap/ushell/thirdparty/information2', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/Link', 'sap/ushell/thirdparty/Tag', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/overflow', 'sap/ushell/thirdparty/parameters-bundle.css3', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/FocusableElements', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/Label'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, query, eventStrict, WrappingType, ValueState, willShowContent, parametersBundle_css, NotificationListItemBase, sysEnter2, information$1, i18nDefaults, Button, BusyIndicator, Icon, Link, Tag, Icons, information, overflow, parametersBundle_css$1, parametersBundle_css$2, ListItemBase, FocusableElements, AccessibilityTextsHelper, toLowercaseEnumValue, i18nDefaults$1, Label) { 'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Different types of NotificationListItemImportance.
|
|
5
|
-
*
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
var NotificationListItemImportance;
|
|
9
|
-
(function (NotificationListItemImportance) {
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
NotificationListItemImportance["Standard"] = "Standard";
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
NotificationListItemImportance["Important"] = "Important";
|
|
18
|
-
})(NotificationListItemImportance || (NotificationListItemImportance = {}));
|
|
19
|
-
var NotificationListItemImportance$1 = NotificationListItemImportance;
|
|
20
|
-
|
|
21
|
-
const name$1 = "high-priority";
|
|
22
|
-
const pathData$1 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";
|
|
23
|
-
const ltr$1 = false;
|
|
24
|
-
const collection$1 = "SAP-icons-v4";
|
|
25
|
-
const packageName$1 = "@ui5/webcomponents-icons";
|
|
26
|
-
|
|
27
|
-
Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
|
|
28
|
-
|
|
29
|
-
const name = "high-priority";
|
|
30
|
-
const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
|
|
31
|
-
const ltr = false;
|
|
32
|
-
const collection = "SAP-icons-v5";
|
|
33
|
-
const packageName = "@ui5/webcomponents-icons";
|
|
34
|
-
|
|
35
|
-
Icons.y(name, { pathData, ltr, collection, packageName });
|
|
36
|
-
|
|
37
|
-
var iconHighPriority = "high-priority";
|
|
38
|
-
|
|
39
|
-
function NotificationListItemTemplate() {
|
|
40
|
-
return (parametersBundle_css.jsxs("li", { class: this.itemClasses, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-level": this._ariaLevel, children: [this.loading && (parametersBundle_css.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.loading, inert: this.loading, class: "ui5-nli-loading", children: parametersBundle_css.jsxs("div", { class: "ui5-nli-content-wrapper", children: [parametersBundle_css.jsxs("div", { class: {
|
|
41
|
-
"ui5-nli-content": true,
|
|
42
|
-
"ui5-nli-content-with-importance": this.hasImportance,
|
|
43
|
-
}, children: [this.hasImportance && (parametersBundle_css.jsxs(Tag.Tag, { id: `${this._id}-importance`, class: "ui5-nli-importance", design: "Set2", colorScheme: "2", wrappingType: "None", children: [parametersBundle_css.jsx(Icon.Icon, { name: iconHighPriority, slot: "icon" }), this.importanceText] })), parametersBundle_css.jsxs("div", { class: "ui5-nli-title-text-wrapper", children: [this.hasState && (parametersBundle_css.jsx(Icon.Icon, { class: "ui5-state-icon", name: this.statusIconName, showTooltip: true, accessibleName: this.stateText, design: this.statusIconDesign })), parametersBundle_css.jsxs("div", { id: `${this._id}-title-text`, class: "ui5-nli-title-text", part: "title-text", children: [parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.stateText }), this.titleText] })] }), parametersBundle_css.jsx("span", { id: `${this._id}-read`, class: "ui5-hidden-text", children: this.readText }), this.hasDesc && (parametersBundle_css.jsx("div", { id: `${this._id}-description`, class: "ui5-nli-description", children: parametersBundle_css.jsx("slot", {}) })), parametersBundle_css.jsxs("div", { class: "ui5-nli-footer", children: [parametersBundle_css.jsx("div", { id: `${this._id}-footnotes`, class: "ui5-nli-footnotes", children: this.footerItems.map(item => {
|
|
44
|
-
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: item.slotName }), item.showDivider && parametersBundle_css.jsx("div", { class: "ui5-nli-footer-divider", "aria-hidden": "true", children: "\u00B7" })] }));
|
|
45
|
-
}) }), parametersBundle_css.jsx(Link.Link, { class: "ui5-nli-footer-showMore", hidden: this.hideShowMore, onClick: this._onShowMoreClick, wrappingType: "None", href: "#" // --without href ENTER does not trigger click
|
|
46
|
-
, accessibleName: this.moreLinkAccessibleName, accessibleRole: "Button", accessibilityAttributes: this.moreLinkAccessibilityAttributes, children: this.showMoreText })] })] }), parametersBundle_css.jsxs("div", { class: "ui5-nli-actions", children: [this.showMenu && (parametersBundle_css.jsx(Button.Button, { icon: overflow.overflow, design: "Transparent", onClick: this._onBtnMenuClick, class: "ui5-nli-menu-btn", tooltip: this.menuBtnAccessibleName, accessibilityAttributes: this.menuButtonAccessibilityAttributes })), this.showClose && (parametersBundle_css.jsx(Button.Button, { icon: information.decline, class: "ui5-nli-close-btn", design: "Transparent", onClick: this._onBtnCloseClick, tooltip: this.closeBtnAccessibleName, accessibleName: this.closeBtnAccessibleName }))] }), parametersBundle_css.jsx("div", { class: "ui5-nli-avatar", "aria-hidden": "true", children: parametersBundle_css.jsx("slot", { name: "avatar" }) }), parametersBundle_css.jsx("slot", { name: "menu" })] }) })] }));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
50
|
-
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
51
|
-
var NotificationListItemCss = `.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:block;max-width:100%;min-height:var(--_ui5-v2-15-0_list_item_base_height);background:var(--ui5-v2-15-0-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-v2-15-0-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-v2-15-0-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-v2-15-0-notification_item-margin);border-left:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-right:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-top:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-v2-15-0-notification_item-background-color-hover);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-v2-15-0-notification_item-background-color-active);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:var(--_ui5-v2-15-0-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-v2-15-0-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-v2-15-0-notification_item-content-padding);font-family:var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-v2-15-0-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-v2-15-0-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-v2-15-0-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);top:var(--_ui5-v2-15-0-notification_item-focus-offset);right:var(--_ui5-v2-15-0-notification_item-focus-offset);bottom:var(--_ui5-v2-15-0-notification_item-focus-offset);left:var(--_ui5-v2-15-0-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}
|
|
52
|
-
`;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Different Icon semantic designs.
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
var IconDesign;
|
|
59
|
-
(function (IconDesign) {
|
|
60
|
-
/**
|
|
61
|
-
* Contrast design
|
|
62
|
-
* @public
|
|
63
|
-
*/
|
|
64
|
-
IconDesign["Contrast"] = "Contrast";
|
|
65
|
-
/**
|
|
66
|
-
* Critical design
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
IconDesign["Critical"] = "Critical";
|
|
70
|
-
/**
|
|
71
|
-
* Default design (brand design)
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
IconDesign["Default"] = "Default";
|
|
75
|
-
/**
|
|
76
|
-
* info type
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
IconDesign["Information"] = "Information";
|
|
80
|
-
/**
|
|
81
|
-
* Negative design
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
IconDesign["Negative"] = "Negative";
|
|
85
|
-
/**
|
|
86
|
-
* Neutral design
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
|
-
IconDesign["Neutral"] = "Neutral";
|
|
90
|
-
/**
|
|
91
|
-
* Design that indicates an icon which isn't interactive
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
IconDesign["NonInteractive"] = "NonInteractive";
|
|
95
|
-
/**
|
|
96
|
-
* Positive design
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
IconDesign["Positive"] = "Positive";
|
|
100
|
-
})(IconDesign || (IconDesign = {}));
|
|
101
|
-
var IconDesign$1 = IconDesign;
|
|
102
|
-
|
|
103
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
104
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
105
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
106
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
107
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
108
|
-
};
|
|
109
|
-
var NotificationListItem_1;
|
|
110
|
-
/**
|
|
111
|
-
* Defines the icons name corresponding to the notification's status indicator.
|
|
112
|
-
*/
|
|
113
|
-
const ICON_PER_STATUS_NAME = {
|
|
114
|
-
[ValueState.o.Negative]: information$1.error,
|
|
115
|
-
[ValueState.o.Critical]: information$1.alert,
|
|
116
|
-
[ValueState.o.Positive]: sysEnter2.selectedAccount,
|
|
117
|
-
[ValueState.o.Information]: information$1.information,
|
|
118
|
-
[ValueState.o.None]: "",
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* Defines the icons design (color) corresponding to the notification's status indicator.
|
|
122
|
-
*/
|
|
123
|
-
const ICON_PER_STATUS_DESIGN = {
|
|
124
|
-
[ValueState.o.Negative]: IconDesign$1.Negative,
|
|
125
|
-
[ValueState.o.Critical]: IconDesign$1.Critical,
|
|
126
|
-
[ValueState.o.Positive]: IconDesign$1.Positive,
|
|
127
|
-
[ValueState.o.Information]: IconDesign$1.Information,
|
|
128
|
-
[ValueState.o.None]: undefined,
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* @class
|
|
132
|
-
*
|
|
133
|
-
* ### Overview
|
|
134
|
-
* The `ui5-li-notification` is a type of list item, meant to display notifications.
|
|
135
|
-
*
|
|
136
|
-
* The component has a rich set of various properties that allows the user to set `avatar`, `menu`, `titleText`, descriptive `content`
|
|
137
|
-
* and `footnotes` to fully describe a notification.
|
|
138
|
-
*
|
|
139
|
-
* The user can:
|
|
140
|
-
*
|
|
141
|
-
* - display a `Close` button
|
|
142
|
-
* - can control whether the `titleText` and `description` should wrap or truncate
|
|
143
|
-
* and display a `ShowMore` button to switch between less and more information
|
|
144
|
-
* - add actions by using the `ui5-menu` component
|
|
145
|
-
*
|
|
146
|
-
* **Note:** Adding custom actions by using the `ui5-notification-action` component is deprecated as of version 2.0!
|
|
147
|
-
*
|
|
148
|
-
* ### Usage
|
|
149
|
-
* The component should be used inside a `ui5-notification-list`.
|
|
150
|
-
*
|
|
151
|
-
* ### Keyboard Handling
|
|
152
|
-
*
|
|
153
|
-
* #### Basic Navigation
|
|
154
|
-
* The user can use the following keyboard shortcuts to perform actions (such as select, delete):
|
|
155
|
-
*
|
|
156
|
-
* - [Enter] - select an item (trigger "item-click" event)
|
|
157
|
-
* - [Delete] - close an item (trigger "item-close" event)
|
|
158
|
-
*
|
|
159
|
-
* #### Fast Navigation
|
|
160
|
-
* This component provides a fast navigation using the following keyboard shortcuts:
|
|
161
|
-
*
|
|
162
|
-
* - [Shift] + [Enter] - 'More'/'Less' link will be triggered
|
|
163
|
-
* - [Shift] + [F10] - 'Menu' (Actions) button will be triggered (clicked)
|
|
164
|
-
*
|
|
165
|
-
* ### ES6 Module Import
|
|
166
|
-
*
|
|
167
|
-
* `import "@ui5/webcomponents-fiori/dist/NotificationListItem.js";`
|
|
168
|
-
*
|
|
169
|
-
* @constructor
|
|
170
|
-
* @extends NotificationListItemBase
|
|
171
|
-
* @since 1.0.0-rc.8
|
|
172
|
-
* @public
|
|
173
|
-
* @csspart title-text - Used to style the titleText of the notification list item
|
|
174
|
-
*/
|
|
175
|
-
let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends NotificationListItemBase.NotificationListItemBase {
|
|
176
|
-
constructor() {
|
|
177
|
-
super();
|
|
178
|
-
/**
|
|
179
|
-
* Defines if the `titleText` and `description` should wrap,
|
|
180
|
-
* they truncate by default.
|
|
181
|
-
*
|
|
182
|
-
* **Note:** by default the `titleText` and `description`,
|
|
183
|
-
* and a `ShowMore/Less` button would be displayed.
|
|
184
|
-
* @default "None"
|
|
185
|
-
* @public
|
|
186
|
-
* @since 1.0.0-rc.15
|
|
187
|
-
*/
|
|
188
|
-
this.wrappingType = "None";
|
|
189
|
-
/**
|
|
190
|
-
* Defines the status indicator of the item.
|
|
191
|
-
* @default "None"
|
|
192
|
-
* @public
|
|
193
|
-
*/
|
|
194
|
-
this.state = "None";
|
|
195
|
-
/**
|
|
196
|
-
* Defines if the `Close` button would be displayed.
|
|
197
|
-
* @default false
|
|
198
|
-
* @public
|
|
199
|
-
*/
|
|
200
|
-
this.showClose = false;
|
|
201
|
-
/**
|
|
202
|
-
* Defines the `Important` label of the item.
|
|
203
|
-
* @default "Standard"
|
|
204
|
-
* @public
|
|
205
|
-
*/
|
|
206
|
-
this.importance = "Standard";
|
|
207
|
-
/**
|
|
208
|
-
* Defines the state of the `titleText` and `description`,
|
|
209
|
-
* if less or more information is displayed.
|
|
210
|
-
* @private
|
|
211
|
-
*/
|
|
212
|
-
this._showMorePressed = false;
|
|
213
|
-
/**
|
|
214
|
-
* Defines the visibility of the `showMore` button.
|
|
215
|
-
* @private
|
|
216
|
-
*/
|
|
217
|
-
this._showMore = false;
|
|
218
|
-
// the titleText overflow height
|
|
219
|
-
this._titleTextOverflowHeight = 0;
|
|
220
|
-
// the description overflow height
|
|
221
|
-
this._descOverflowHeight = 0;
|
|
222
|
-
// the resize handler
|
|
223
|
-
this._onResizeBound = this.onResize.bind(this);
|
|
224
|
-
}
|
|
225
|
-
onEnterDOM() {
|
|
226
|
-
super.onEnterDOM();
|
|
227
|
-
webcomponentsBase.f.register(this, this._onResizeBound);
|
|
228
|
-
}
|
|
229
|
-
onExitDOM() {
|
|
230
|
-
webcomponentsBase.f.deregister(this, this._onResizeBound);
|
|
231
|
-
}
|
|
232
|
-
get hasState() {
|
|
233
|
-
return this.state !== ValueState.o.None;
|
|
234
|
-
}
|
|
235
|
-
get hasDesc() {
|
|
236
|
-
return willShowContent.t(this.description);
|
|
237
|
-
}
|
|
238
|
-
get hasImportance() {
|
|
239
|
-
return this.importance !== NotificationListItemImportance$1.Standard;
|
|
240
|
-
}
|
|
241
|
-
get hasFootNotes() {
|
|
242
|
-
return !!this.footnotes.length;
|
|
243
|
-
}
|
|
244
|
-
get showMoreText() {
|
|
245
|
-
if (this._showMorePressed) {
|
|
246
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
|
|
247
|
-
}
|
|
248
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
|
|
249
|
-
}
|
|
250
|
-
get menuBtnAccessibleName() {
|
|
251
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE);
|
|
252
|
-
}
|
|
253
|
-
get moreLinkAccessibleName() {
|
|
254
|
-
return this._showMorePressed ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL);
|
|
255
|
-
}
|
|
256
|
-
get closeBtnAccessibleName() {
|
|
257
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
|
|
258
|
-
}
|
|
259
|
-
get hideShowMore() {
|
|
260
|
-
if (this.wrappingType === WrappingType.WrappingType.None && this._showMore) {
|
|
261
|
-
return undefined;
|
|
262
|
-
}
|
|
263
|
-
return true;
|
|
264
|
-
}
|
|
265
|
-
get titleTextHeight() {
|
|
266
|
-
return this.titleTextDOM.offsetHeight;
|
|
267
|
-
}
|
|
268
|
-
get descriptionHeight() {
|
|
269
|
-
return this.descriptionDOM.offsetHeight;
|
|
270
|
-
}
|
|
271
|
-
get titleTextOverflows() {
|
|
272
|
-
const titleText = this.titleTextDOM;
|
|
273
|
-
if (!titleText) {
|
|
274
|
-
return false;
|
|
275
|
-
}
|
|
276
|
-
return titleText.offsetHeight < titleText.scrollHeight;
|
|
277
|
-
}
|
|
278
|
-
get descriptionOverflows() {
|
|
279
|
-
const description = this.descriptionDOM;
|
|
280
|
-
if (!description) {
|
|
281
|
-
return false;
|
|
282
|
-
}
|
|
283
|
-
return description.offsetHeight < description.scrollHeight;
|
|
284
|
-
}
|
|
285
|
-
get footerItems() {
|
|
286
|
-
return this.footnotes.map((el, idx, arr) => {
|
|
287
|
-
return {
|
|
288
|
-
slotName: el._individualSlot,
|
|
289
|
-
showDivider: idx !== arr.length - 1,
|
|
290
|
-
};
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
get ariaLabelledBy() {
|
|
294
|
-
const id = this._id;
|
|
295
|
-
if (this.loading) {
|
|
296
|
-
return `${id}-loading`;
|
|
297
|
-
}
|
|
298
|
-
const ids = [];
|
|
299
|
-
if (this.hasImportance) {
|
|
300
|
-
ids.push(`${id}-importance`);
|
|
301
|
-
}
|
|
302
|
-
if (this.hasTitleText) {
|
|
303
|
-
ids.push(`${id}-title-text`);
|
|
304
|
-
}
|
|
305
|
-
ids.push(`${id}-read`);
|
|
306
|
-
if (this.hasDesc) {
|
|
307
|
-
ids.push(`${id}-description`);
|
|
308
|
-
}
|
|
309
|
-
if (this.hasFootNotes) {
|
|
310
|
-
ids.push(`${id}-footnotes`);
|
|
311
|
-
}
|
|
312
|
-
return ids.join(" ");
|
|
313
|
-
}
|
|
314
|
-
get itemClasses() {
|
|
315
|
-
const classes = ["ui5-nli-root", "ui5-nli-focusable"];
|
|
316
|
-
if (this.getMenu() && this.showClose) {
|
|
317
|
-
classes.push("ui5-nli-two-buttons");
|
|
318
|
-
}
|
|
319
|
-
else if (this.getMenu() || this.showClose) {
|
|
320
|
-
classes.push("ui5-nli-one-button");
|
|
321
|
-
}
|
|
322
|
-
return classes.join(" ");
|
|
323
|
-
}
|
|
324
|
-
get statusIconName() {
|
|
325
|
-
return ICON_PER_STATUS_NAME[this.state];
|
|
326
|
-
}
|
|
327
|
-
get statusIconDesign() {
|
|
328
|
-
return ICON_PER_STATUS_DESIGN[this.state];
|
|
329
|
-
}
|
|
330
|
-
get importanceText() {
|
|
331
|
-
let text;
|
|
332
|
-
if (this.hasImportance) {
|
|
333
|
-
text = NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
text = "";
|
|
337
|
-
}
|
|
338
|
-
return text;
|
|
339
|
-
}
|
|
340
|
-
get stateText() {
|
|
341
|
-
if (this.state === ValueState.o.Positive) {
|
|
342
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT);
|
|
343
|
-
}
|
|
344
|
-
if (this.state === ValueState.o.Critical) {
|
|
345
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT);
|
|
346
|
-
}
|
|
347
|
-
if (this.state === ValueState.o.Negative) {
|
|
348
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT);
|
|
349
|
-
}
|
|
350
|
-
if (this.state === ValueState.o.Information) {
|
|
351
|
-
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT);
|
|
352
|
-
}
|
|
353
|
-
return "";
|
|
354
|
-
}
|
|
355
|
-
get readText() {
|
|
356
|
-
return this.read ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
357
|
-
}
|
|
358
|
-
get menuButtonAccessibilityAttributes() {
|
|
359
|
-
return {
|
|
360
|
-
hasPopup: "menu",
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
get moreLinkAccessibilityAttributes() {
|
|
364
|
-
return {
|
|
365
|
-
expanded: this._showMorePressed,
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
get showMenu() {
|
|
369
|
-
return !!this.getMenu();
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Event handlers
|
|
373
|
-
*/
|
|
374
|
-
_onclick() {
|
|
375
|
-
this.fireItemPress();
|
|
376
|
-
}
|
|
377
|
-
_onShowMoreClick(e) {
|
|
378
|
-
e.preventDefault();
|
|
379
|
-
this._toggleShowMorePressed();
|
|
380
|
-
}
|
|
381
|
-
async _onkeydown(e) {
|
|
382
|
-
await super._onkeydown(e);
|
|
383
|
-
if (webcomponentsBase.Eo(e)) {
|
|
384
|
-
e.preventDefault();
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
_onkeyup(e) {
|
|
388
|
-
super._onkeyup(e);
|
|
389
|
-
const space = webcomponentsBase.A(e);
|
|
390
|
-
if (space && this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
391
|
-
e.preventDefault();
|
|
392
|
-
this._toggleShowMorePressed();
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
395
|
-
if (webcomponentsBase.X(e)) {
|
|
396
|
-
this.fireDecoratorEvent("close", { item: this });
|
|
397
|
-
this.fireDecoratorEvent("_close", { item: this });
|
|
398
|
-
}
|
|
399
|
-
if (webcomponentsBase.Eo(e)) {
|
|
400
|
-
this._onBtnMenuClick();
|
|
401
|
-
}
|
|
402
|
-
if (webcomponentsBase.i(e)) {
|
|
403
|
-
this._toggleShowMorePressed();
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
_onBtnCloseClick() {
|
|
407
|
-
this.fireDecoratorEvent("close", { item: this });
|
|
408
|
-
this.fireDecoratorEvent("_close", { item: this });
|
|
409
|
-
}
|
|
410
|
-
_onBtnMenuClick() {
|
|
411
|
-
if (this.getMenu()) {
|
|
412
|
-
this.openMenu();
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
_toggleShowMorePressed() {
|
|
416
|
-
this._showMorePressed = !this._showMorePressed;
|
|
417
|
-
}
|
|
418
|
-
openMenu() {
|
|
419
|
-
const menu = this.getMenu();
|
|
420
|
-
menu.opener = this.menuButtonDOM;
|
|
421
|
-
menu.open = true;
|
|
422
|
-
}
|
|
423
|
-
getMenu() {
|
|
424
|
-
const menu = this.querySelector("[ui5-menu]");
|
|
425
|
-
return menu;
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Private
|
|
429
|
-
*/
|
|
430
|
-
fireItemPress() {
|
|
431
|
-
if (this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
432
|
-
return;
|
|
433
|
-
}
|
|
434
|
-
// NotificationListItem will never be assigned to a variable of type ListItemBase
|
|
435
|
-
// typescipt complains here, if that is the case, the parameter to the _press event handler could be a ListItemBase item,
|
|
436
|
-
// but this is never the case, all components are used by their class and never assigned to a variable with a type of ListItemBase
|
|
437
|
-
this.fireDecoratorEvent("_press", { item: this });
|
|
438
|
-
}
|
|
439
|
-
onResize() {
|
|
440
|
-
if (this.wrappingType === WrappingType.WrappingType.Normal) {
|
|
441
|
-
this._showMore = false;
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
444
|
-
const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
|
|
445
|
-
const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
|
|
446
|
-
const overflows = titleTextWouldOverflow || descWouldOverflow;
|
|
447
|
-
if (this._showMorePressed && overflows) {
|
|
448
|
-
this._showMore = true;
|
|
449
|
-
return;
|
|
450
|
-
}
|
|
451
|
-
if (this.titleTextOverflows || this.descriptionOverflows) {
|
|
452
|
-
this._titleTextOverflowHeight = this.titleTextHeight;
|
|
453
|
-
this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
|
|
454
|
-
this._showMore = true;
|
|
455
|
-
return;
|
|
456
|
-
}
|
|
457
|
-
this._showMore = false;
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
__decorate([
|
|
461
|
-
webcomponentsBase.s()
|
|
462
|
-
], NotificationListItem.prototype, "wrappingType", void 0);
|
|
463
|
-
__decorate([
|
|
464
|
-
webcomponentsBase.s()
|
|
465
|
-
], NotificationListItem.prototype, "state", void 0);
|
|
466
|
-
__decorate([
|
|
467
|
-
webcomponentsBase.s({ type: Boolean })
|
|
468
|
-
], NotificationListItem.prototype, "showClose", void 0);
|
|
469
|
-
__decorate([
|
|
470
|
-
webcomponentsBase.s()
|
|
471
|
-
], NotificationListItem.prototype, "importance", void 0);
|
|
472
|
-
__decorate([
|
|
473
|
-
webcomponentsBase.s({ type: Boolean })
|
|
474
|
-
], NotificationListItem.prototype, "_showMorePressed", void 0);
|
|
475
|
-
__decorate([
|
|
476
|
-
webcomponentsBase.s({ type: Boolean })
|
|
477
|
-
], NotificationListItem.prototype, "_showMore", void 0);
|
|
478
|
-
__decorate([
|
|
479
|
-
webcomponentsBase.d()
|
|
480
|
-
], NotificationListItem.prototype, "avatar", void 0);
|
|
481
|
-
__decorate([
|
|
482
|
-
webcomponentsBase.d()
|
|
483
|
-
], NotificationListItem.prototype, "menu", void 0);
|
|
484
|
-
__decorate([
|
|
485
|
-
webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
|
|
486
|
-
], NotificationListItem.prototype, "footnotes", void 0);
|
|
487
|
-
__decorate([
|
|
488
|
-
webcomponentsBase.d({ type: Node, "default": true })
|
|
489
|
-
], NotificationListItem.prototype, "description", void 0);
|
|
490
|
-
__decorate([
|
|
491
|
-
query.o(".ui5-nli-title-text")
|
|
492
|
-
], NotificationListItem.prototype, "titleTextDOM", void 0);
|
|
493
|
-
__decorate([
|
|
494
|
-
query.o(".ui5-nli-menu-btn")
|
|
495
|
-
], NotificationListItem.prototype, "menuButtonDOM", void 0);
|
|
496
|
-
__decorate([
|
|
497
|
-
query.o(".ui5-nli-description")
|
|
498
|
-
], NotificationListItem.prototype, "descriptionDOM", void 0);
|
|
499
|
-
NotificationListItem = NotificationListItem_1 = __decorate([
|
|
500
|
-
webcomponentsBase.m({
|
|
501
|
-
tag: "ui5-li-notification",
|
|
502
|
-
languageAware: true,
|
|
503
|
-
styles: [
|
|
504
|
-
NotificationListItemCss,
|
|
505
|
-
],
|
|
506
|
-
renderer: parametersBundle_css.y,
|
|
507
|
-
template: NotificationListItemTemplate,
|
|
508
|
-
}),
|
|
509
|
-
eventStrict.l("_press", {
|
|
510
|
-
bubbles: true,
|
|
511
|
-
})
|
|
512
|
-
/**
|
|
513
|
-
* Fired when the `Close` button is pressed.
|
|
514
|
-
* @param {HTMLElement} item the closed item.
|
|
515
|
-
* @public
|
|
516
|
-
*/
|
|
517
|
-
,
|
|
518
|
-
eventStrict.l("close")
|
|
519
|
-
/**
|
|
520
|
-
* Fired when the `Close` button is pressed.
|
|
521
|
-
* @param {HTMLElement} item the closed item.
|
|
522
|
-
* @private
|
|
523
|
-
*/
|
|
524
|
-
,
|
|
525
|
-
eventStrict.l("_close", {
|
|
526
|
-
bubbles: true,
|
|
527
|
-
})
|
|
528
|
-
], NotificationListItem);
|
|
529
|
-
NotificationListItem.define();
|
|
530
|
-
var NotificationListItem$1 = NotificationListItem;
|
|
531
|
-
|
|
532
|
-
return NotificationListItem$1;
|
|
533
|
-
|
|
534
|
-
}));
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/FocusableElements', 'sap/ushell/thirdparty/i18n-defaults'], (function (exports, webcomponentsBase, parametersBundle_css, ListItemBase, FocusableElements, i18nDefaults) { 'use strict';
|
|
2
|
-
|
|
3
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* @class
|
|
11
|
-
*
|
|
12
|
-
* The base class of the `NotificationListItem` and `NotificationListGroupItem`.
|
|
13
|
-
* @constructor
|
|
14
|
-
* @extends ListItemBase
|
|
15
|
-
* @since 1.0.0-rc.8
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
class NotificationListItemBase extends ListItemBase.ListItemBase {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
/**
|
|
22
|
-
* Defines if the `notification` is new or has been already read.
|
|
23
|
-
*
|
|
24
|
-
* **Note:** if set to `false` the `titleText` has bold font,
|
|
25
|
-
* if set to true - it has a normal font.
|
|
26
|
-
* @default false
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
this.read = false;
|
|
30
|
-
/**
|
|
31
|
-
* Defines if a busy indicator would be displayed over the item.
|
|
32
|
-
* @default false
|
|
33
|
-
* @public
|
|
34
|
-
* @since 1.0.0-rc.8
|
|
35
|
-
*/
|
|
36
|
-
this.loading = false;
|
|
37
|
-
/**
|
|
38
|
-
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
39
|
-
* @default 1000
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
this.loadingDelay = 1000;
|
|
43
|
-
}
|
|
44
|
-
get hasTitleText() {
|
|
45
|
-
return !!this.titleText?.length;
|
|
46
|
-
}
|
|
47
|
-
get loadingText() {
|
|
48
|
-
return NotificationListItemBase.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_LOADING);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Event handlers
|
|
52
|
-
*/
|
|
53
|
-
async _onkeydown(e) {
|
|
54
|
-
super._onkeydown(e);
|
|
55
|
-
if (webcomponentsBase.A(e) && this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
56
|
-
e.preventDefault();
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (webcomponentsBase.ro(e)) {
|
|
60
|
-
e.stopImmediatePropagation();
|
|
61
|
-
const activeElement = webcomponentsBase.t();
|
|
62
|
-
const focusDomRef = this.getHeaderDomRef();
|
|
63
|
-
if (activeElement === focusDomRef) {
|
|
64
|
-
const firstFocusable = await FocusableElements.b(focusDomRef);
|
|
65
|
-
firstFocusable?.focus();
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
focusDomRef.focus();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
getHeaderDomRef() {
|
|
73
|
-
return this.getFocusDomRef();
|
|
74
|
-
}
|
|
75
|
-
shouldForwardTabAfter() {
|
|
76
|
-
const aContent = ListItemBase.b(this.getHeaderDomRef());
|
|
77
|
-
return aContent.length === 0 || (aContent[aContent.length - 1] === webcomponentsBase.t());
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
__decorate([
|
|
81
|
-
webcomponentsBase.s()
|
|
82
|
-
], NotificationListItemBase.prototype, "titleText", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
webcomponentsBase.s({ type: Boolean })
|
|
85
|
-
], NotificationListItemBase.prototype, "read", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
webcomponentsBase.s({ type: Boolean })
|
|
88
|
-
], NotificationListItemBase.prototype, "loading", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
webcomponentsBase.s({ type: Number })
|
|
91
|
-
], NotificationListItemBase.prototype, "loadingDelay", void 0);
|
|
92
|
-
__decorate([
|
|
93
|
-
parametersBundle_css.i("sap/ushell/gen/ui5/webcomponents-fiori")
|
|
94
|
-
], NotificationListItemBase, "i18nFioriBundle", void 0);
|
|
95
|
-
|
|
96
|
-
exports.NotificationListItemBase = NotificationListItemBase;
|
|
97
|
-
|
|
98
|
-
}));
|