@sapui5/sap.ushell 1.141.3 → 1.142.1
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/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 +1 -1
- 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 +22 -16
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +4 -7
- 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/NWBCHandler.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +52 -15
- 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 +15 -26
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +2 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +11 -4
- 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 +41 -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/StepConfiguration.json +14 -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 +18 -5
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -2
- 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 +2 -2
- 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 +30 -21
- 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/ShellBar/controller/ShellBar.controller.js +11 -18
- 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/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/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 +55 -0
- package/src/main/js/sap/ushell/modules/loader/AbstractLoader.js +95 -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 +4 -4
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +108 -3
- package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -2
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller.js +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +6 -8
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +1 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +0 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +44 -36
- 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 +2 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +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 +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +5 -35
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/state/StateManager.js +5 -1
- package/src/main/js/sap/ushell/state/StateRules.js +10 -1
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +8 -3
- 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/sap_horizon/ShellHeader.less +27 -26
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellHeader.less +27 -26
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellHeader.less +22 -21
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellHeader.less +22 -21
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/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 +102 -0
- 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 +11 -35
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +19 -32
- 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/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
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @fileOverview The Search API for the Fiori Launchpad.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/core/Element",
|
|
9
|
+
"sap/ushell/modules/BaseAPI"
|
|
10
|
+
], (
|
|
11
|
+
Element,
|
|
12
|
+
BaseAPI
|
|
13
|
+
) => {
|
|
14
|
+
"use strict";
|
|
15
|
+
/**
|
|
16
|
+
* @alias sap.ushell.modules.Search.SearchAPI
|
|
17
|
+
* @class
|
|
18
|
+
* @description The API object for the Search module.
|
|
19
|
+
* This module cannot be required it gets injected in the constructor of the Search module.
|
|
20
|
+
* @see sap.ushell.modules.Search.Search
|
|
21
|
+
*
|
|
22
|
+
* @hideconstructor
|
|
23
|
+
*
|
|
24
|
+
* @since 1.142.0
|
|
25
|
+
* @private
|
|
26
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
27
|
+
*/
|
|
28
|
+
class SearchAPI extends BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* The instance of the ShellBar or ShellHeader depending on the ushell Config.
|
|
31
|
+
*
|
|
32
|
+
* @type {sap.f.gen.ui5.webcomponents_fiori.dist.ShellBar|sap.ushell.ui.ShellHeader}
|
|
33
|
+
* @since 1.142.0
|
|
34
|
+
* @private
|
|
35
|
+
*/
|
|
36
|
+
#oShellBar;
|
|
37
|
+
|
|
38
|
+
constructor (oConfig) {
|
|
39
|
+
super(oConfig);
|
|
40
|
+
this.#oShellBar = Element.getElementById("shell-header")?.getComponentInstance?.()?.getRootControl()?.byId("shellBar");
|
|
41
|
+
if (!this.#oShellBar) {
|
|
42
|
+
// use the ShellHeader for compatibility reasons
|
|
43
|
+
this.#oShellBar = Element.getElementById("shell-header");
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Gets the search button by ID as it would be expected in the ShellHeader.
|
|
49
|
+
* In case the ShellBar is used this method returns undefined as the button is not available.
|
|
50
|
+
*
|
|
51
|
+
* @returns {sap.ushell.ui.shell.ShellHeadItem|undefined} The search button or undefined if not available.
|
|
52
|
+
* @since 1.142.0
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
#getShellHeaderSearchButton () {
|
|
56
|
+
if (this.#isShellBar()) {
|
|
57
|
+
// only available in ShellHeader
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
return Element.getElementById("sf");
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Checks if the ShellBar instance is available. This is used as long as the ShellHeader may still be used.
|
|
65
|
+
*
|
|
66
|
+
* @returns {boolean} True if the ShellBar instance is available, false otherwise.
|
|
67
|
+
* @since 1.142.0
|
|
68
|
+
* @private
|
|
69
|
+
*/
|
|
70
|
+
#isShellBar () {
|
|
71
|
+
return this.#oShellBar.isA("sap.f.gen.ui5.webcomponents_fiori.dist.ShellBar");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Gets the search field instance.
|
|
76
|
+
* In case the ShellHeader is used this method returns undefined as the search field is not available.
|
|
77
|
+
* @returns {Promise<sap.f.gen.ui5.webcomponents_fiori.dist.ShellBarSearch>|undefined} A promise that resolves to the search field instance or undefined if not available.
|
|
78
|
+
* @since 1.142.0
|
|
79
|
+
* @private
|
|
80
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
81
|
+
*/
|
|
82
|
+
async getSearchField () {
|
|
83
|
+
if (this.#isShellBar()) {
|
|
84
|
+
return this.#oShellBar.getSearchField()[0];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Shows or hides the search field.
|
|
90
|
+
* Note: Hiding the search field will also collapse it if it is expanded.
|
|
91
|
+
*
|
|
92
|
+
* @param {boolean} bShow Whether to show or hide the search field.
|
|
93
|
+
* @since 1.142.0
|
|
94
|
+
* @private
|
|
95
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
96
|
+
*/
|
|
97
|
+
setShowSearchField (...args) {
|
|
98
|
+
if (this.#isShellBar()) {
|
|
99
|
+
this.#oShellBar.setShowSearchField(...args);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Gets whether the search field is shown or hidden.
|
|
105
|
+
*
|
|
106
|
+
* @returns {boolean|undefined} True if the search field is shown, false if it is hidden, or undefined if not available.
|
|
107
|
+
* @since 1.142.0
|
|
108
|
+
* @private
|
|
109
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
110
|
+
*/
|
|
111
|
+
getShowSearchField () {
|
|
112
|
+
if (this.#isShellBar()) {
|
|
113
|
+
return this.#oShellBar.getShowSearchField();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Binds the ShowSearchField property to a model. The model value must be compatible with
|
|
119
|
+
* the value of @see #setShowSearchField.
|
|
120
|
+
*
|
|
121
|
+
* @param {string} sPath Absolute path to the property in the model.
|
|
122
|
+
* @param {sap.ui.model.Model} oModel The model to bind to.
|
|
123
|
+
* @since 1.142.0
|
|
124
|
+
* @private
|
|
125
|
+
* @ui5-restricted ANS
|
|
126
|
+
*/
|
|
127
|
+
bindShowSearchField (sPath, oModel) {
|
|
128
|
+
this.bindModelProperty(sPath, oModel, "showSearchField", this.setShowSearchField.bind(this));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Unbinds the ShowSearchField property from a model.
|
|
133
|
+
*
|
|
134
|
+
* @since 1.142.0
|
|
135
|
+
* @private
|
|
136
|
+
* @ui5-restricted ANS
|
|
137
|
+
*/
|
|
138
|
+
unbindShowSearchField () {
|
|
139
|
+
this.unbindModelProperty("showSearchField");
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Attaches a handler to the search button press event.
|
|
144
|
+
* Fired, when the search button is activated.
|
|
145
|
+
* Note: You can prevent expanding/collapsing of the search field by calling <code>event.preventDefault()</code>.
|
|
146
|
+
*
|
|
147
|
+
* @param {object} [oData] An object that will be passed to the handler along with the event object when the event is fired
|
|
148
|
+
* @param {function} fnFunction The handler function to call when the event occurs.
|
|
149
|
+
* This function will be called in the context of the oListener instance (if present)
|
|
150
|
+
* or on the event provider instance. The event object (@see: sap.ui.base.Event) is provided
|
|
151
|
+
* as first argument of the handler. Handlers must not change the content of the event.
|
|
152
|
+
* The second argument is the specified oData instance (if present).
|
|
153
|
+
* @param {object} [oListener] The object that wants to be notified when the event occurs (this context within the handler function).
|
|
154
|
+
*
|
|
155
|
+
* @since 1.142.0
|
|
156
|
+
* @private
|
|
157
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
158
|
+
*/
|
|
159
|
+
attachSearchButtonPress (...args) {
|
|
160
|
+
if (this.#isShellBar()) {
|
|
161
|
+
this.#oShellBar.attachSearchButtonClick(...args);
|
|
162
|
+
} else {
|
|
163
|
+
this.#getShellHeaderSearchButton()?.attachPress(...args);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Detaches a handler from the search button press event.
|
|
169
|
+
*
|
|
170
|
+
* @param {function} fnFunction The handler function to detach from the event.
|
|
171
|
+
* @param {object} [oListener] The object that wanted to be notified when the event occurred.
|
|
172
|
+
*
|
|
173
|
+
* @since 1.142.0
|
|
174
|
+
* @private
|
|
175
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
176
|
+
*/
|
|
177
|
+
detachSearchButtonPress (...args) {
|
|
178
|
+
if (this.#isShellBar()) {
|
|
179
|
+
this.#oShellBar.detachSearchButtonClick(...args);
|
|
180
|
+
} else {
|
|
181
|
+
this.#getShellHeaderSearchButton()?.detachPress(...args);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Detaches a handler from the search button toggle event.
|
|
187
|
+
* Fired, when the search field is expanded or collapsed.
|
|
188
|
+
* Note: this event is only available when using the ShellBar.
|
|
189
|
+
*
|
|
190
|
+
* @param {object} [oData] An object that will be passed to the handler along with the event object when the event is fired
|
|
191
|
+
* @param {function} fnFunction The handler function to call when the event occurs.
|
|
192
|
+
* This function will be called in the context of the oListener instance (if present)
|
|
193
|
+
* or on the event provider instance. The event object (@see: sap.ui.base.Event) is provided
|
|
194
|
+
* as first argument of the handler. Handlers must not change the content of the event.
|
|
195
|
+
* The second argument is the specified oData instance (if present).
|
|
196
|
+
* @param {object} [oListener] The object that wants to be notified when the event occurs (this context within the handler function).
|
|
197
|
+
*
|
|
198
|
+
* @since 1.142.0
|
|
199
|
+
* @private
|
|
200
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
201
|
+
*/
|
|
202
|
+
attachSearchFieldToggle (...args) {
|
|
203
|
+
if (this.#isShellBar()) {
|
|
204
|
+
this.#oShellBar.attachSearchFieldToggle(...args);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Detaches a handler from the search field toggle event.
|
|
210
|
+
*
|
|
211
|
+
* @param {function} fnFunction The handler function to detach from the event.
|
|
212
|
+
* @param {object} [oListener] The object that wanted to be notified when the event occurred.
|
|
213
|
+
*
|
|
214
|
+
* @since 1.142.0
|
|
215
|
+
* @private
|
|
216
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
217
|
+
*/
|
|
218
|
+
detachSearchFieldToggle (...args) {
|
|
219
|
+
if (this.#isShellBar()) {
|
|
220
|
+
this.#oShellBar.detachSearchFieldToggle(...args);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Attaches a handler to the search field clear event.
|
|
226
|
+
* Fired, when the search cancel button is activated.
|
|
227
|
+
* Note: You can prevent the default behavior (clearing the search field value)
|
|
228
|
+
* by calling <code>event.preventDefault()</code>. The search will still be closed.
|
|
229
|
+
* Note: The search-field-clear event is in an experimental state and is a
|
|
230
|
+
* subject to change.
|
|
231
|
+
* Note: this event is only available when using the ShellBar.
|
|
232
|
+
*
|
|
233
|
+
* @param {object} [oData] An object that will be passed to the handler along with the event object when the event is fired
|
|
234
|
+
* @param {function} fnFunction The handler function to call when the event occurs.
|
|
235
|
+
* This function will be called in the context of the oListener instance (if present)
|
|
236
|
+
* or on the event provider instance. The event object (@see: sap.ui.base.Event) is provided
|
|
237
|
+
* as first argument of the handler. Handlers must not change the content of the event.
|
|
238
|
+
* The second argument is the specified oData instance (if present).
|
|
239
|
+
* @param {object} [oListener] The object that wants to be notified when the event occurs (this context within the handler function).
|
|
240
|
+
*
|
|
241
|
+
* @since 1.142.0
|
|
242
|
+
* @private
|
|
243
|
+
* @experimental
|
|
244
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
245
|
+
*/
|
|
246
|
+
attachSearchFieldClear (...args) {
|
|
247
|
+
if (this.#isShellBar()) {
|
|
248
|
+
this.#oShellBar.attachSearchFieldClear(...args);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Detaches a handler from the search field clear event.
|
|
254
|
+
*
|
|
255
|
+
* @param {function} fnFunction The handler function to detach from the event.
|
|
256
|
+
* @param {object} [oListener] The object that wanted to be notified when the event occurred.
|
|
257
|
+
*
|
|
258
|
+
* @since 1.142.0
|
|
259
|
+
* @private
|
|
260
|
+
* @experimental
|
|
261
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
262
|
+
*/
|
|
263
|
+
detachSearchFieldClear (...args) {
|
|
264
|
+
if (this.#isShellBar()) {
|
|
265
|
+
this.#oShellBar.detachSearchFieldClear(...args);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
return SearchAPI;
|
|
271
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file This is an empty wrapper for the SearchProvider module implementation to document the required interface
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ushell/modules/BaseProvider"
|
|
8
|
+
], (
|
|
9
|
+
BaseProvider
|
|
10
|
+
) => {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @alias sap.ushell.modules.Search.SearchProvider
|
|
15
|
+
* @class
|
|
16
|
+
* @description The required interface for a Search module.
|
|
17
|
+
*
|
|
18
|
+
* @abstract
|
|
19
|
+
*
|
|
20
|
+
* @since 1.142.0
|
|
21
|
+
* @private
|
|
22
|
+
*
|
|
23
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
24
|
+
*/
|
|
25
|
+
class SearchProvider extends BaseProvider {
|
|
26
|
+
/**
|
|
27
|
+
* Loads the search component and initializes the search functionality.
|
|
28
|
+
* @param {sap.ushell.modules.Search.SearchAPI} oSearchAPI The search API object.
|
|
29
|
+
*
|
|
30
|
+
* @since 1.142.0
|
|
31
|
+
* @private
|
|
32
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
33
|
+
*/
|
|
34
|
+
constructor (oSearchAPI) {
|
|
35
|
+
super(oSearchAPI);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Cleans up the component instance.
|
|
40
|
+
*
|
|
41
|
+
* @since 1.142.0
|
|
42
|
+
* @private
|
|
43
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
44
|
+
*/
|
|
45
|
+
exit () {
|
|
46
|
+
// to be overridden by subclasses
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return SearchProvider;
|
|
50
|
+
}, false);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file This module provides an API for configuring the search of the Launchpad shell bar.
|
|
5
|
+
* It allows adding a SearchProvider to the search via for example a Plugin.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
sap.ui.define([
|
|
9
|
+
"sap/ushell/Config",
|
|
10
|
+
"sap/ushell/utils"
|
|
11
|
+
], (
|
|
12
|
+
Config,
|
|
13
|
+
ushellUtils
|
|
14
|
+
) => {
|
|
15
|
+
"use strict";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @alias sap.ushell.modules.Search
|
|
19
|
+
* @namespace
|
|
20
|
+
* @description The Search module API to set a SearchProvider and Config.
|
|
21
|
+
*
|
|
22
|
+
* @since 1.142.0
|
|
23
|
+
* @private
|
|
24
|
+
*
|
|
25
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
26
|
+
*/
|
|
27
|
+
class Search {
|
|
28
|
+
/**
|
|
29
|
+
* Sets the search provider for the search module.
|
|
30
|
+
* @param {string} sModulePath The module path of the search provider.
|
|
31
|
+
* @param {string} sSearchResultAppIntent The intent to be used for the search result app incl. #.
|
|
32
|
+
* @param {object} oConfiguration The configuration object for the search provider.
|
|
33
|
+
*
|
|
34
|
+
* @returns {Promise} A promise that resolves when the configuration is set.
|
|
35
|
+
*
|
|
36
|
+
* @since 1.142.0
|
|
37
|
+
* @private
|
|
38
|
+
* @ui5-restricted HAN-AS-INA-UI
|
|
39
|
+
*/
|
|
40
|
+
async setSearchProvider (sModulePath, sSearchResultAppIntent, oConfiguration) {
|
|
41
|
+
Config.emit("/core/search", {
|
|
42
|
+
enabled: true,
|
|
43
|
+
modulePath: sModulePath,
|
|
44
|
+
useWebComponents: true,
|
|
45
|
+
configuration: JSON.stringify(oConfiguration || {}),
|
|
46
|
+
searchResultAppIntent: sSearchResultAppIntent
|
|
47
|
+
});
|
|
48
|
+
// ensure the SearchLoader is loaded so it can react to the config change.
|
|
49
|
+
// This may happen asynchronously if the FLP was not configured to use search at startup.
|
|
50
|
+
const [oSearchLoader] = await ushellUtils.requireAsync(["sap/ushell/modules/loader/SearchLoader"]);
|
|
51
|
+
await oSearchLoader.initialized();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return new Search();
|
|
55
|
+
});
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file Abstract module loader providing common functionality for all module loaders.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/base/Log",
|
|
8
|
+
"sap/ushell/Config",
|
|
9
|
+
"sap/ushell/utils",
|
|
10
|
+
"sap/ushell/EventHub"
|
|
11
|
+
], (
|
|
12
|
+
Log,
|
|
13
|
+
Config,
|
|
14
|
+
ushellUtils,
|
|
15
|
+
EventHub
|
|
16
|
+
) => {
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Abstract module loader
|
|
21
|
+
* @abstract
|
|
22
|
+
*
|
|
23
|
+
* @since 1.142.0
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
class AbstractLoader {
|
|
27
|
+
/**
|
|
28
|
+
* Doables to be used for cleaning up configuration listeners.
|
|
29
|
+
*/
|
|
30
|
+
#aDoables = [];
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Loads the module of the given module path and creates an instance of it.
|
|
34
|
+
*
|
|
35
|
+
* @param {string} sModulePath The module path to load the module.
|
|
36
|
+
* @param {object} oModuleAPI The module API instance.
|
|
37
|
+
* @returns {Promise} A promise that resolves with the module instance.
|
|
38
|
+
*
|
|
39
|
+
* @since 1.142.0
|
|
40
|
+
* @private
|
|
41
|
+
*/
|
|
42
|
+
async loadModule (sModulePath, oModuleAPI) {
|
|
43
|
+
const oModuleLoaded = Promise.withResolvers();
|
|
44
|
+
EventHub.once("CoreResourcesComplementLoaded").do(async () => {
|
|
45
|
+
const [Module] = await ushellUtils.requireAsync([sModulePath]);
|
|
46
|
+
oModuleLoaded.resolve(new Module(oModuleAPI));
|
|
47
|
+
});
|
|
48
|
+
return oModuleLoaded.promise;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Reads the ushell Config at the given path, parses it as JSON, and returns the resulting object.
|
|
53
|
+
* If the configuration value is not set, it returns an empty object. It throws an error if parsing fails.
|
|
54
|
+
*
|
|
55
|
+
* @param {string} sPath The configuration path to read.
|
|
56
|
+
* @returns {object} The parsed JSON object from the configuration or an empty object if not set.
|
|
57
|
+
*
|
|
58
|
+
* @since 1.142.0
|
|
59
|
+
* @private
|
|
60
|
+
*/
|
|
61
|
+
parseJSONFromConfig (sPath) {
|
|
62
|
+
const sConfigValue = Config.last(sPath);
|
|
63
|
+
if (sConfigValue) {
|
|
64
|
+
try {
|
|
65
|
+
return JSON.parse(sConfigValue);
|
|
66
|
+
} catch (oError) {
|
|
67
|
+
Log.error(`Failed to parse JSON from configuration at path: ${sPath}`, oError);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return {};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Registers a configuration listener for the given path and stores the doable for cleanup.
|
|
75
|
+
* @param {string} sPath The configuration path to listen to.
|
|
76
|
+
* @param {function} fnListener The listener function to be called on configuration changes.
|
|
77
|
+
* @since 1.142.0
|
|
78
|
+
* @private
|
|
79
|
+
*/
|
|
80
|
+
registerConfigListener (sPath, fnListener) {
|
|
81
|
+
this.#aDoables.push(Config.on(sPath).do(fnListener));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Resets the loader by removing all configuration listeners.
|
|
86
|
+
* @since 1.142.0
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
async exit () {
|
|
90
|
+
this.#aDoables.forEach((oDoable) => oDoable.off());
|
|
91
|
+
this.#aDoables = [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return AbstractLoader;
|
|
95
|
+
});
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
|
+
|
|
3
|
+
sap.ui.define([
|
|
4
|
+
"sap/ushell/Config",
|
|
5
|
+
"sap/ushell/modules/loader/AbstractLoader",
|
|
6
|
+
"sap/ushell/modules/Notifications/NotificationsAPI",
|
|
7
|
+
"sap/ushell/state/StateManager"
|
|
8
|
+
], (
|
|
9
|
+
Config,
|
|
10
|
+
AbstractLoader,
|
|
11
|
+
NotificationsAPI,
|
|
12
|
+
StateManager
|
|
13
|
+
) => {
|
|
14
|
+
"use strict";
|
|
15
|
+
const sConfigBasePath = "/core/notifications";
|
|
16
|
+
|
|
17
|
+
// shortcut for sap.ushell.state.StateManager.Operation
|
|
18
|
+
const Operation = StateManager.Operation;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Notifications component for the Fiori Launchpad.
|
|
22
|
+
*
|
|
23
|
+
* @augments sap.ushell.modules.loader.AbstractLoader
|
|
24
|
+
* @since 1.142.0
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
class NotificationsLoader extends AbstractLoader {
|
|
28
|
+
/**
|
|
29
|
+
* The instance of the loaded notifications module.
|
|
30
|
+
*
|
|
31
|
+
* @type {sap.ushell.modules.Notifications.NotificationsProvider|null}
|
|
32
|
+
* @since 1.142.0
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
#oModuleInstance;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The API object passed to the notifications module.
|
|
39
|
+
*
|
|
40
|
+
* @type {sap.ushell.modules.Notifications.NotificationsAPI}
|
|
41
|
+
* @since 1.142.0
|
|
42
|
+
* @private
|
|
43
|
+
*/
|
|
44
|
+
#oModuleAPI;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A promise that resolves when the loader is initialized.
|
|
48
|
+
* @type {Promise}
|
|
49
|
+
*/
|
|
50
|
+
#pInitialized;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Creates a new instance of the NotificationsLoader.
|
|
54
|
+
*
|
|
55
|
+
* @since 1.142.0
|
|
56
|
+
* @private
|
|
57
|
+
*/
|
|
58
|
+
constructor () {
|
|
59
|
+
super();
|
|
60
|
+
this.#init();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Initializes the loader by setting up a listener for configuration changes.
|
|
65
|
+
* Loads or unloads the notifications module based on the configuration.
|
|
66
|
+
*
|
|
67
|
+
* @returns {Promise} A promise that resolves when the initialization is complete.
|
|
68
|
+
* @since 1.142.0
|
|
69
|
+
* @private
|
|
70
|
+
*/
|
|
71
|
+
async #init () {
|
|
72
|
+
this.registerConfigListener("/core/notifications", async () => {
|
|
73
|
+
const bEnabled = Config.last("/core/notifications/enabled");
|
|
74
|
+
StateManager.updateAllBaseStates("header.notifications.visible", Operation.Set, bEnabled);
|
|
75
|
+
await this.#cleanup();
|
|
76
|
+
if (bEnabled) {
|
|
77
|
+
this.#oModuleInstance = await this.#load();
|
|
78
|
+
}
|
|
79
|
+
this.#pInitialized.resolve();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Returns a promise that resolves when the loader is initialized.
|
|
85
|
+
* @returns {Promise} A promise that resolves when the loader is initialized.
|
|
86
|
+
* @since 1.142.0
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
initialized () {
|
|
90
|
+
return this.#pInitialized.promise;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Loads the notifications module and creates an instance of it.
|
|
95
|
+
*
|
|
96
|
+
* @returns {Promise<sap.ushell.modules.Notifications.NotificationsProvider>} A promise that resolves to the notifications module instance.
|
|
97
|
+
* @since 1.142.0
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
async #load () {
|
|
101
|
+
this.#oModuleAPI = new NotificationsAPI(this.parseJSONFromConfig(`${sConfigBasePath}/configuration`));
|
|
102
|
+
|
|
103
|
+
// load the module
|
|
104
|
+
return this.loadModule(Config.last(`${sConfigBasePath}/modulePath`), this.#oModuleAPI);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Resets the loader by cleaning up the current module instance and re-initializing it.
|
|
109
|
+
*
|
|
110
|
+
* @returns {Promise} A promise that resolves when the module instance is destroyed and references are cleared.
|
|
111
|
+
* @since 1.142.0
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
async reset () {
|
|
115
|
+
await this.exit();
|
|
116
|
+
await this.#init();
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Cleans up the current module instance and clears the API reference.
|
|
121
|
+
* @returns {Promise} A promise that resolves when the cleanup is complete.
|
|
122
|
+
* @since 1.142.0
|
|
123
|
+
* @private
|
|
124
|
+
*/
|
|
125
|
+
async #cleanup () {
|
|
126
|
+
if (this.#oModuleInstance && typeof this.#oModuleInstance.exit === "function") {
|
|
127
|
+
await this.#oModuleInstance.exit();
|
|
128
|
+
}
|
|
129
|
+
this.#oModuleAPI = null;
|
|
130
|
+
this.#oModuleInstance = null;
|
|
131
|
+
this.#pInitialized = Promise.withResolvers();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Cleans up the loader by resetting the module instance and calling the superclass exit method.
|
|
136
|
+
*
|
|
137
|
+
* @returns {Promise} A promise that resolves when the loader is cleaned up.
|
|
138
|
+
* @since 1.142.0
|
|
139
|
+
* @private
|
|
140
|
+
* @override
|
|
141
|
+
*/
|
|
142
|
+
async exit () {
|
|
143
|
+
await super.exit();
|
|
144
|
+
await this.#cleanup();
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return new NotificationsLoader();
|
|
148
|
+
});
|