@sapui5/sap.ushell 1.138.1 → 1.139.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 -1
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +14 -10
- package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +32 -26
- package/src/main/js/sap/ushell/Container.js +0 -1
- 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 +12 -12
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/User.js +32 -12
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +3 -5
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
- package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +112 -92
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -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 +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -0
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
- package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
- package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
- package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
- package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
- package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
- package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
- package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
- package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
- 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 +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
- package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
- package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
- package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
- package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
- package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
- package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
- package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
- package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
- package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
- package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +30 -23
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -22
- 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 +21 -9
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +8 -3
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
- package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
- package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
- package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
- package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
- package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
- package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
- package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
- package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +7 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
- package/src/main/js/sap/ushell/library.js +1 -1
- package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +8 -4
- package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
- package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
- package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
- package/src/main/js/sap/ushell/services/AppState.js +86 -102
- package/src/main/js/sap/ushell/services/AppType.js +2 -2
- package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
- package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
- 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 +27 -31
- 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 +295 -353
- package/src/main/js/sap/ushell/services/Configuration.js +14 -12
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
- package/src/main/js/sap/ushell/services/Container.js +2 -2
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
- package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
- package/src/main/js/sap/ushell/services/Extension.js +54 -19
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
- 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 +4 -4
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
- package/src/main/js/sap/ushell/services/Menu.js +264 -289
- package/src/main/js/sap/ushell/services/Message.js +3 -3
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
- package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
- package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
- package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
- package/src/main/js/sap/ushell/services/Navigation.js +10 -14
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/Notifications.js +29 -15
- package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
- package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
- package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
- package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
- package/src/main/js/sap/ushell/services/Pages.js +635 -683
- package/src/main/js/sap/ushell/services/Personalization.js +103 -134
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
- package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
- package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
- package/src/main/js/sap/ushell/services/Search.js +25 -21
- package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
- package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
- package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
- package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
- package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
- package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +48 -62
- package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
- package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
- package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
- package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
- 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/services/personalization/VariantSetAdapter.js +10 -10
- package/src/main/js/sap/ushell/state/BaseState.js +2 -3
- package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
- package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
- package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
- package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
- package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
- package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
- package/src/main/js/sap/ushell/state/StateManager.js +3 -3
- package/src/main/js/sap/ushell/state/StateRules.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +3 -4
- package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
- package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
- package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
- package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
- package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
- package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
- package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
- package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +13 -0
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
- package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
- package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
- package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
- package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
- package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
- package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
- package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -0
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
- package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +177 -170
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3248 -0
- package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
- package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
- package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
- package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +444 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
- package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +143 -149
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -0
- package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
- package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
- package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -0
- package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
- package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
- package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +35 -31
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
- package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
- package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
- 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 +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
- package/src/main/js/sap/ushell/utils.js +32 -1
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +2 -0
- package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
- /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
"sap/ushell/Container",
|
|
19
19
|
"sap/ushell/Config",
|
|
20
20
|
"sap/ui/thirdparty/hasher"
|
|
21
|
-
],
|
|
21
|
+
], (
|
|
22
22
|
Localization,
|
|
23
23
|
Element,
|
|
24
24
|
Controller,
|
|
@@ -36,47 +36,44 @@ sap.ui.define([
|
|
|
36
36
|
Container,
|
|
37
37
|
Config,
|
|
38
38
|
hasher
|
|
39
|
-
) {
|
|
39
|
+
) => {
|
|
40
40
|
"use strict";
|
|
41
41
|
|
|
42
42
|
return Controller.extend("sap.ushell.components.shell.SearchCEP.SearchCEP", {
|
|
43
43
|
|
|
44
44
|
onInit: function () {
|
|
45
|
-
|
|
46
45
|
this._bIsMyHome = false;
|
|
47
46
|
this._bEscPressed = false;
|
|
48
47
|
this.bGrowingReset = false;
|
|
49
48
|
this._bClosedOnItemPress = false;
|
|
50
49
|
this._SearchCEPService = Container.getServiceAsync("SearchCEP");
|
|
51
50
|
|
|
52
|
-
this._SearchCEPService.then(
|
|
51
|
+
this._SearchCEPService.then((oSearchCEPService) => {
|
|
53
52
|
this._registerDefaultProviders(oSearchCEPService);
|
|
54
53
|
this._listenToServiceEvents(oSearchCEPService);
|
|
55
|
-
}
|
|
54
|
+
});
|
|
56
55
|
|
|
57
56
|
this._toggleSearchPopover(false);
|
|
58
57
|
this._oPlaceHolderSF = Element.getElementById("PlaceHolderSearchField");
|
|
59
58
|
this._registerHandleHashChange();
|
|
60
|
-
|
|
59
|
+
const sPlatform = Container.getFLPPlatform(true);
|
|
61
60
|
if (sPlatform === "MYHOME") {
|
|
62
61
|
this._bIsMyHome = true;
|
|
63
62
|
}
|
|
64
63
|
},
|
|
65
64
|
|
|
66
65
|
onSuggest: function (oEvent) {
|
|
67
|
-
|
|
68
66
|
if (this._bEscPressed || this._bClosedOnItemPress) {
|
|
69
67
|
return;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
this.oSF.focus();
|
|
73
71
|
|
|
74
|
-
|
|
72
|
+
const sValue = oEvent.getParameter("suggestValue");
|
|
75
73
|
this._testProviders(sValue);
|
|
76
74
|
},
|
|
77
75
|
|
|
78
76
|
onfocusin: function (oEvent) {
|
|
79
|
-
|
|
80
77
|
if (this.oSF.getEnableSuggestions() && Device.system.phone) {
|
|
81
78
|
// eslint-disable-next-line no-undef
|
|
82
79
|
jQuery(this.oSF.getDomRef()).find("input").attr("inputmode", "search");
|
|
@@ -86,11 +83,10 @@ sap.ui.define([
|
|
|
86
83
|
},
|
|
87
84
|
|
|
88
85
|
onSearch: function (oEvent) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
oSearchResultList = Element.getElementById("SearchResultList");
|
|
86
|
+
let sSearchTerm = oEvent.getParameter("query");
|
|
87
|
+
const bEscPressed = oEvent.getParameter("escPressed");
|
|
88
|
+
const bClearButtonPressed = oEvent.getParameter("clearButtonPressed");
|
|
89
|
+
const oSearchResultList = Element.getElementById("SearchResultList");
|
|
94
90
|
|
|
95
91
|
if (bEscPressed) {
|
|
96
92
|
this._bEscPressed = bEscPressed;
|
|
@@ -104,16 +100,15 @@ sap.ui.define([
|
|
|
104
100
|
}
|
|
105
101
|
|
|
106
102
|
if (bClearButtonPressed) {
|
|
107
|
-
|
|
108
103
|
this.oSF.setValue("");
|
|
109
104
|
this._oPlaceHolderSF.setValue("");
|
|
110
105
|
|
|
111
106
|
this._testProviders();
|
|
112
107
|
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
let bClosePopover = true;
|
|
109
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
115
110
|
|
|
116
|
-
for (
|
|
111
|
+
for (const nIdx in aLists) {
|
|
117
112
|
if (aLists[nIdx].getItems().length) {
|
|
118
113
|
bClosePopover = false;
|
|
119
114
|
}
|
|
@@ -133,9 +128,8 @@ sap.ui.define([
|
|
|
133
128
|
|
|
134
129
|
if (this._bIsMyHome) {
|
|
135
130
|
if (oSearchResultList.getItems().length > 0) {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
oResult = oBindingContext.getObject();
|
|
131
|
+
const oBindingContext = oSearchResultList.getItems()[0].getBindingContext("resultModel");
|
|
132
|
+
const oResult = oBindingContext.getObject();
|
|
139
133
|
|
|
140
134
|
this._navigateToApp(oResult);
|
|
141
135
|
}
|
|
@@ -147,10 +141,9 @@ sap.ui.define([
|
|
|
147
141
|
},
|
|
148
142
|
|
|
149
143
|
onBeforeOpen: function () {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
sSearchState = oShellHeader.getSearchState();
|
|
144
|
+
let bCollapse = false;
|
|
145
|
+
const oShellHeader = Element.getElementById("shell-header");
|
|
146
|
+
const sSearchState = oShellHeader.getSearchState();
|
|
154
147
|
|
|
155
148
|
if (sSearchState === "COL") {
|
|
156
149
|
bCollapse = true;
|
|
@@ -168,19 +161,17 @@ sap.ui.define([
|
|
|
168
161
|
},
|
|
169
162
|
|
|
170
163
|
onAfterOpen: function () {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
document.getElementById("CEPSearchField").style.height = nPlaceHolderSFHeight + "px";
|
|
164
|
+
const nPlaceHolderSFHeight = document.getElementById("PlaceHolderSearchField").clientHeight;
|
|
165
|
+
document.getElementById("CEPSearchField").style.height = `${nPlaceHolderSFHeight}px`;
|
|
174
166
|
// add tooltip to CEP Search icon
|
|
175
167
|
document.getElementById("CEPSearchField-search").title = resources.i18n.getText("search");
|
|
176
168
|
},
|
|
177
169
|
|
|
178
170
|
onAfterClose: function (oEvent) {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
aLists = this._oPopover.getContent()[1].getItems();
|
|
171
|
+
const oSFicon = Element.getElementById("sf");
|
|
172
|
+
const oShellHeader = Element.getElementById("shell-header");
|
|
173
|
+
const sScreenSize = this._getScreenSize();
|
|
174
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
184
175
|
|
|
185
176
|
this._oPlaceHolderSF.setValue(this.oSF.getValue());
|
|
186
177
|
|
|
@@ -202,29 +193,27 @@ sap.ui.define([
|
|
|
202
193
|
oShellHeader.setSearchState("EXP_S", 35, false);
|
|
203
194
|
}
|
|
204
195
|
|
|
205
|
-
aLists.forEach(
|
|
206
|
-
|
|
207
|
-
|
|
196
|
+
aLists.forEach((oList) => {
|
|
197
|
+
const oListConfig = oList._getProviderConfig();
|
|
198
|
+
const sGroupName = this._getDefaultProviderGroupName(oListConfig.id);
|
|
208
199
|
// notify external search providers
|
|
209
200
|
if (!sGroupName) {
|
|
210
201
|
if (typeof oListConfig.popoverClosed === "function") {
|
|
211
|
-
|
|
202
|
+
const fnPopoverClosedHandler = oListConfig.popoverClosed;
|
|
212
203
|
fnPopoverClosedHandler(oEvent);
|
|
213
204
|
}
|
|
214
205
|
}
|
|
215
|
-
}
|
|
206
|
+
});
|
|
216
207
|
},
|
|
217
208
|
|
|
218
209
|
getHomePageApps: function () {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
oProductsProvider = SearchProvider.getDefaultProviders()[sGroupName];
|
|
210
|
+
const sGroupName = "homePageApplications";
|
|
211
|
+
const oProductsProvider = SearchProvider.getDefaultProviders()[sGroupName];
|
|
222
212
|
|
|
223
213
|
oProductsProvider.execSearch("", sGroupName);
|
|
224
214
|
},
|
|
225
215
|
|
|
226
216
|
_registerHandleHashChange: function () {
|
|
227
|
-
|
|
228
217
|
hasher.changed.add((sNewHash) => {
|
|
229
218
|
// if navigation is not to search result page - clear search field
|
|
230
219
|
if (sNewHash !== "" && !(/WorkZoneSearchResult-display|Action-search/.test(sNewHash))) {
|
|
@@ -239,27 +228,25 @@ sap.ui.define([
|
|
|
239
228
|
},
|
|
240
229
|
|
|
241
230
|
_listenToServiceEvents: function (oSearchCEPService) {
|
|
242
|
-
|
|
243
231
|
EventHub.on("updateExtProviderLists").do(this._updateExtProviderLists.bind(this, oSearchCEPService));
|
|
244
232
|
},
|
|
245
233
|
|
|
246
234
|
_updateExtProviderLists: function (oSearchCEPService) {
|
|
247
|
-
|
|
248
235
|
if (this._oPopover) {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
236
|
+
const oContent = this._oPopover.getContent()[1];
|
|
237
|
+
const aLists = oContent.getItems();
|
|
238
|
+
const pExtProvidersPromise = oSearchCEPService.getExternalSearchProvidersPriorityArray();
|
|
252
239
|
|
|
253
240
|
// remove external provider lists
|
|
254
|
-
for (
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
241
|
+
for (const idx in aLists) {
|
|
242
|
+
const oList = aLists[idx];
|
|
243
|
+
const oProvider = oList._getProviderConfig();
|
|
244
|
+
const sGroupName = this._getDefaultProviderGroupName(oProvider.id);
|
|
258
245
|
|
|
259
246
|
if (!sGroupName) {
|
|
260
247
|
oContent.removeItem(oList);
|
|
261
248
|
oList.destroy();
|
|
262
|
-
this._oResultModel.setProperty(
|
|
249
|
+
this._oResultModel.setProperty(`/${oProvider.name}`, []);
|
|
263
250
|
}
|
|
264
251
|
}
|
|
265
252
|
|
|
@@ -270,9 +257,9 @@ sap.ui.define([
|
|
|
270
257
|
}
|
|
271
258
|
|
|
272
259
|
// add external provider lists
|
|
273
|
-
pExtProvidersPromise.then(
|
|
274
|
-
for (
|
|
275
|
-
|
|
260
|
+
pExtProvidersPromise.then((aExtProviders) => {
|
|
261
|
+
for (const indx in aExtProviders) {
|
|
262
|
+
const oExList = this._createList(aExtProviders[indx], undefined);
|
|
276
263
|
oExList.addStyleClass(this._sContentDensityClass);
|
|
277
264
|
oContent.addItem(oExList);
|
|
278
265
|
}
|
|
@@ -283,20 +270,18 @@ sap.ui.define([
|
|
|
283
270
|
this._testProviders(this.oSF.getValue());
|
|
284
271
|
}
|
|
285
272
|
}
|
|
286
|
-
}
|
|
273
|
+
});
|
|
287
274
|
}
|
|
288
275
|
},
|
|
289
276
|
|
|
290
277
|
_registerDefaultProviders: function (oSearchCEPService) {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
oSearchCEPService._registerDefaultSearchProvider(SearchProvider.getDefaultProviders()[sKey]);
|
|
278
|
+
for (const sKey in SearchProvider.getDefaultProviders()) {
|
|
279
|
+
oSearchCEPService.registerDefaultSearchProvider(SearchProvider.getDefaultProviders()[sKey]);
|
|
294
280
|
}
|
|
295
281
|
},
|
|
296
282
|
|
|
297
283
|
_getScreenSize: function () {
|
|
298
|
-
|
|
299
|
-
var oScreenSize = Device.media.getCurrentRange(Device.media.RANGESETS.SAP_STANDARD_EXTENDED);
|
|
284
|
+
const oScreenSize = Device.media.getCurrentRange(Device.media.RANGESETS.SAP_STANDARD_EXTENDED);
|
|
300
285
|
|
|
301
286
|
if (oScreenSize.from >= 1440) {
|
|
302
287
|
return "XL";
|
|
@@ -310,19 +295,17 @@ sap.ui.define([
|
|
|
310
295
|
},
|
|
311
296
|
|
|
312
297
|
_focusNextList: function (oCurrentList) {
|
|
298
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
299
|
+
const oCurrentListIndex = aLists.map((oList) => {
|
|
300
|
+
return oList.getId();
|
|
301
|
+
}).indexOf(oCurrentList.getId());
|
|
302
|
+
const aNextLists = aLists.slice(oCurrentListIndex + 1);
|
|
313
303
|
|
|
314
|
-
|
|
315
|
-
oCurrentListIndex = aLists.map(function (oList) {
|
|
316
|
-
return oList.getId();
|
|
317
|
-
}).indexOf(oCurrentList.getId()),
|
|
318
|
-
aNextLists = aLists.slice(oCurrentListIndex + 1);
|
|
319
|
-
|
|
320
|
-
for (var idx = 0; idx < aNextLists.length; idx++) {
|
|
304
|
+
for (let idx = 0; idx < aNextLists.length; idx++) {
|
|
321
305
|
if (aNextLists[idx].getVisible() && aNextLists[idx].getItems().length) {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
oListConfig = oParent._getProviderConfig();
|
|
306
|
+
const oControl = aNextLists[idx].getItems()[0];
|
|
307
|
+
const oParent = oControl.getParent();
|
|
308
|
+
const oListConfig = oParent._getProviderConfig();
|
|
326
309
|
|
|
327
310
|
oControl.focus();
|
|
328
311
|
// add list name to first list item aria text for screen reader to announce relevant list name
|
|
@@ -333,12 +316,11 @@ sap.ui.define([
|
|
|
333
316
|
},
|
|
334
317
|
|
|
335
318
|
_focusPreviousList: function (oCurrentList) {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
aPreviousLists = aLists.slice(0, oCurrentListIndex);
|
|
319
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
320
|
+
const oCurrentListIndex = aLists.map((oList) => {
|
|
321
|
+
return oList.getId();
|
|
322
|
+
}).indexOf(oCurrentList.getId());
|
|
323
|
+
const aPreviousLists = aLists.slice(0, oCurrentListIndex);
|
|
342
324
|
|
|
343
325
|
if (!aPreviousLists.length) {
|
|
344
326
|
// focus search field if no previous lists found
|
|
@@ -346,17 +328,17 @@ sap.ui.define([
|
|
|
346
328
|
return;
|
|
347
329
|
}
|
|
348
330
|
|
|
349
|
-
for (
|
|
331
|
+
for (let idx = aPreviousLists.length - 1; idx >= 0; idx--) {
|
|
350
332
|
if (aPreviousLists[idx].getVisible() && aPreviousLists[idx].getItems().length) {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
333
|
+
const oListItems = aPreviousLists[idx].getItems();
|
|
334
|
+
const oAdditionalItems = document.getElementById(`${aPreviousLists[idx].getId()}-triggerList`);
|
|
335
|
+
const oAdditionalItemsStyle = window.getComputedStyle(oAdditionalItems);
|
|
354
336
|
// check if previous list has "more" button
|
|
355
337
|
if (oAdditionalItemsStyle.display === "none") {
|
|
356
338
|
// focus last item
|
|
357
339
|
oListItems[oListItems.length - 1].focus();
|
|
358
340
|
} else {
|
|
359
|
-
Element.getElementById(aPreviousLists[idx].getId()
|
|
341
|
+
Element.getElementById(`${aPreviousLists[idx].getId()}-trigger`).focus();
|
|
360
342
|
}
|
|
361
343
|
break;
|
|
362
344
|
}
|
|
@@ -369,16 +351,15 @@ sap.ui.define([
|
|
|
369
351
|
},
|
|
370
352
|
|
|
371
353
|
_keyDownHandler: function (oEvent) {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
aCurrentListItems = oParent.getItems();
|
|
354
|
+
const oControl = oEvent.srcControl;
|
|
355
|
+
const oParent = oControl.getParent();
|
|
356
|
+
const aCurrentListItems = oParent.getItems();
|
|
376
357
|
|
|
377
358
|
if (oEvent.code === 40 || oEvent.code === "ArrowDown") {
|
|
378
359
|
// if event was triggered on the last item in the list
|
|
379
360
|
if (aCurrentListItems[aCurrentListItems.length - 1] === oControl) {
|
|
380
|
-
|
|
381
|
-
|
|
361
|
+
const oAdditionalItems = document.getElementById(`${oParent.getId()}-triggerList`);
|
|
362
|
+
const oAdditionalItemsStyle = window.getComputedStyle(oAdditionalItems);
|
|
382
363
|
// if no additional items ("More" button), move focus to the first item of the next list
|
|
383
364
|
if (oAdditionalItemsStyle.display === "none") {
|
|
384
365
|
this._focusNextList(oParent);
|
|
@@ -396,17 +377,15 @@ sap.ui.define([
|
|
|
396
377
|
},
|
|
397
378
|
|
|
398
379
|
_setListNameToAriaLabelledBy: function (oControl, sListName) {
|
|
380
|
+
const oCurrentControl = oControl.getDomRef();
|
|
381
|
+
const sHiddenSpanId = jQuery(oCurrentControl).attr("aria-labelledby");
|
|
382
|
+
const sText = Element.getElementById(sHiddenSpanId).getProperty("text");
|
|
399
383
|
|
|
400
|
-
|
|
401
|
-
sHiddenSpanId = jQuery(oCurrentControl).attr("aria-labelledby"),
|
|
402
|
-
sText = Element.getElementById(sHiddenSpanId).getProperty("text");
|
|
403
|
-
|
|
404
|
-
jQuery(Element.getElementById(sHiddenSpanId).getDomRef()).text(sListName + ". " + sText);
|
|
384
|
+
jQuery(Element.getElementById(sHiddenSpanId).getDomRef()).text(`${sListName}. ${sText}`);
|
|
405
385
|
},
|
|
406
386
|
|
|
407
387
|
_getDefaultProviderGroupName: function (sProviderId) {
|
|
408
|
-
|
|
409
|
-
var oListGroupMap = {
|
|
388
|
+
const oListGroupMap = {
|
|
410
389
|
SearchResultList: "applications",
|
|
411
390
|
FrequentlyUsedAppsList: "frequentApplications",
|
|
412
391
|
SearchHistoryList: "recentSearches",
|
|
@@ -418,24 +397,22 @@ sap.ui.define([
|
|
|
418
397
|
},
|
|
419
398
|
|
|
420
399
|
_removeTopListDivider: function () {
|
|
421
|
-
|
|
422
400
|
// remove divider above top list
|
|
423
|
-
setTimeout(
|
|
424
|
-
|
|
401
|
+
setTimeout(() => {
|
|
402
|
+
const aLists = jQuery(this._oPopover.getDomRef()).find(".searchCEPList.sapUshellCEPListDivider").not(":hidden");
|
|
425
403
|
if (aLists.length) {
|
|
426
|
-
jQuery.each(aLists,
|
|
404
|
+
jQuery.each(aLists, (index) => {
|
|
427
405
|
if (jQuery(aLists[index]).hasClass("topCEPlist")) {
|
|
428
406
|
jQuery(aLists[index]).removeClass("topCEPlist");
|
|
429
407
|
}
|
|
430
408
|
});
|
|
431
409
|
jQuery(aLists[0]).addClass("topCEPlist");
|
|
432
410
|
}
|
|
433
|
-
}
|
|
411
|
+
}, 300);
|
|
434
412
|
},
|
|
435
413
|
|
|
436
414
|
_createList: function (oConfiguration, oModel) {
|
|
437
|
-
|
|
438
|
-
var oList = new List({
|
|
415
|
+
const oList = new List({
|
|
439
416
|
id: oConfiguration.id,
|
|
440
417
|
showSeparators: "None",
|
|
441
418
|
headerText: oConfiguration.titleVisible ? oConfiguration.title : "",
|
|
@@ -445,7 +422,7 @@ sap.ui.define([
|
|
|
445
422
|
growingThreshold: oConfiguration.defaultItemCount,
|
|
446
423
|
growingScrollToLoad: false,
|
|
447
424
|
items: {
|
|
448
|
-
path:
|
|
425
|
+
path: `resultModel>/${oConfiguration.name}`,
|
|
449
426
|
factory: this._createListItem.bind(this, oConfiguration.name)
|
|
450
427
|
},
|
|
451
428
|
growingStarted: this._listUpdateStart.bind(this),
|
|
@@ -469,32 +446,31 @@ sap.ui.define([
|
|
|
469
446
|
},
|
|
470
447
|
|
|
471
448
|
_createListItem: function (sConfigurationName, sId, oContext) {
|
|
472
|
-
|
|
449
|
+
const oParams = {
|
|
473
450
|
iconDensityAware: false,
|
|
474
451
|
title: oContext.getProperty("text"),
|
|
475
452
|
type: "Active"
|
|
476
|
-
}
|
|
453
|
+
};
|
|
477
454
|
|
|
478
|
-
sIconPath = oContext.getProperty("icon")
|
|
479
|
-
sScreenSize = this._getScreenSize()
|
|
480
|
-
sProviderLabel = oContext.getProperty("contentProviderLabel")
|
|
481
|
-
aDisplayingLists = ["SearchResultList", "FrequentlyUsedAppsList"]
|
|
482
|
-
bEnabled = Config.last("/core/contentProviders/providerInfo/enabled")
|
|
483
|
-
bShowContentProviderInfoOnVisualizations = Config.last("/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations");
|
|
455
|
+
const sIconPath = oContext.getProperty("icon");
|
|
456
|
+
const sScreenSize = this._getScreenSize();
|
|
457
|
+
let sProviderLabel = oContext.getProperty("contentProviderLabel");
|
|
458
|
+
const aDisplayingLists = ["SearchResultList", "FrequentlyUsedAppsList"];
|
|
459
|
+
const bEnabled = Config.last("/core/contentProviders/providerInfo/enabled");
|
|
460
|
+
const bShowContentProviderInfoOnVisualizations = Config.last("/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations");
|
|
484
461
|
|
|
485
462
|
if (bEnabled && bShowContentProviderInfoOnVisualizations &&
|
|
486
463
|
aDisplayingLists.includes(sConfigurationName) &&
|
|
487
464
|
sProviderLabel !== undefined && sProviderLabel !== "") {
|
|
488
|
-
|
|
489
465
|
sProviderLabel = sProviderLabel.toUpperCase();
|
|
490
466
|
if (sScreenSize === "S") {
|
|
491
467
|
oParams.description = sProviderLabel;
|
|
492
468
|
} else {
|
|
493
|
-
oParams.title +=
|
|
469
|
+
oParams.title += ` - ${sProviderLabel}`;
|
|
494
470
|
}
|
|
495
471
|
}
|
|
496
472
|
|
|
497
|
-
|
|
473
|
+
const oAvatar = new Avatar("", {
|
|
498
474
|
displaySize: "XS",
|
|
499
475
|
backgroundColor: "Transparent",
|
|
500
476
|
displayShape: "Square",
|
|
@@ -510,7 +486,7 @@ sap.ui.define([
|
|
|
510
486
|
oAvatar.addStyleClass("searchCEPlistItemIcon");
|
|
511
487
|
}
|
|
512
488
|
|
|
513
|
-
|
|
489
|
+
const oListItem = new StandardListItem(oParams);
|
|
514
490
|
if (sScreenSize === "S" && oParams.description !== undefined) {
|
|
515
491
|
oListItem.addStyleClass("sapCEPSearchListItemMobileHeight");
|
|
516
492
|
}
|
|
@@ -520,17 +496,16 @@ sap.ui.define([
|
|
|
520
496
|
},
|
|
521
497
|
|
|
522
498
|
_itemPress: function (oEvent) {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
sGroupName = this._getDefaultProviderGroupName(oListConfig.id);
|
|
499
|
+
let fnHandleItemPress;
|
|
500
|
+
const oControl = oEvent.getParameter("srcControl");
|
|
501
|
+
const oParent = oControl.getParent();
|
|
502
|
+
const oListConfig = oParent._getProviderConfig();
|
|
503
|
+
let sGroupName = this._getDefaultProviderGroupName(oListConfig.id);
|
|
529
504
|
|
|
530
505
|
if (sGroupName) {
|
|
531
506
|
// use local handler for default provider
|
|
532
507
|
sGroupName = sGroupName.charAt(0).toUpperCase() + sGroupName.substring(1);
|
|
533
|
-
fnHandleItemPress =
|
|
508
|
+
fnHandleItemPress = `_on${sGroupName}Press`;
|
|
534
509
|
this[fnHandleItemPress](oEvent);
|
|
535
510
|
} else {
|
|
536
511
|
// use configuration handler for external provider
|
|
@@ -538,9 +513,9 @@ sap.ui.define([
|
|
|
538
513
|
fnHandleItemPress(oEvent);
|
|
539
514
|
|
|
540
515
|
// handle custom press event for specific item
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
516
|
+
const iControlIdx = oParent.getItems().indexOf(oControl);
|
|
517
|
+
const aModelListItems = this._oResultModel.getProperty(`/${oListConfig.name}`);
|
|
518
|
+
const oModelListItem = aModelListItems[iControlIdx];
|
|
544
519
|
|
|
545
520
|
if (oModelListItem.hasOwnProperty("press") && typeof oModelListItem.press === "function") {
|
|
546
521
|
fnHandleItemPress = oModelListItem.press;
|
|
@@ -559,12 +534,11 @@ sap.ui.define([
|
|
|
559
534
|
},
|
|
560
535
|
|
|
561
536
|
_listUpdateStart: function (oEvent) {
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
iThreshold = this.bGrowingReset ? oConfiguration.maxItemCount : oConfiguration.defaultItemCount;
|
|
537
|
+
const oList = oEvent.getSource();
|
|
538
|
+
const oConfiguration = oList._getProviderConfig();
|
|
539
|
+
const iActualItems = oEvent.getParameter("actual");
|
|
540
|
+
const sReason = oEvent.getParameter("reason");
|
|
541
|
+
const iThreshold = this.bGrowingReset ? oConfiguration.maxItemCount : oConfiguration.defaultItemCount;
|
|
568
542
|
|
|
569
543
|
/*
|
|
570
544
|
* Currently UI5 List fires both deprecated and its new alternative events (growingStarted -> updateStarted).
|
|
@@ -578,14 +552,15 @@ sap.ui.define([
|
|
|
578
552
|
case "growing":
|
|
579
553
|
// reset property for new threshold to take effect
|
|
580
554
|
this.bGrowingReset = true;
|
|
581
|
-
|
|
582
|
-
this._oResultModel.setProperty(
|
|
583
|
-
this._oResultModel.setProperty(
|
|
555
|
+
const oProperty = this._oResultModel.getProperty(`/${oConfiguration.name}`);
|
|
556
|
+
this._oResultModel.setProperty(`/${oConfiguration.name}`, []);
|
|
557
|
+
this._oResultModel.setProperty(`/${oConfiguration.name}`, oProperty);
|
|
584
558
|
oList.setGrowingThreshold(oConfiguration.maxItemCount);
|
|
585
559
|
break;
|
|
586
560
|
case "change":
|
|
587
561
|
oList.setGrowingThreshold(iThreshold);
|
|
588
562
|
break;
|
|
563
|
+
default: break;
|
|
589
564
|
}
|
|
590
565
|
} else {
|
|
591
566
|
// deprecated growingStart
|
|
@@ -595,10 +570,9 @@ sap.ui.define([
|
|
|
595
570
|
},
|
|
596
571
|
|
|
597
572
|
_listUpdateFinished: function (oEvent) {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
oListItemsTitles;
|
|
573
|
+
const oList = oEvent.getSource();
|
|
574
|
+
const oConfiguration = oList._getProviderConfig();
|
|
575
|
+
let oListItemsTitles;
|
|
602
576
|
|
|
603
577
|
if (this._getScreenSize() === "S") {
|
|
604
578
|
oListItemsTitles = oList.$().find(".sapMSLITitle, .sapMSLIDescription");
|
|
@@ -606,8 +580,8 @@ sap.ui.define([
|
|
|
606
580
|
oListItemsTitles = oList.$().find(".sapMSLITitleOnly");
|
|
607
581
|
}
|
|
608
582
|
|
|
609
|
-
jQuery.each(oListItemsTitles,
|
|
610
|
-
|
|
583
|
+
jQuery.each(oListItemsTitles, (index) => {
|
|
584
|
+
const oDiv = oListItemsTitles[index];
|
|
611
585
|
|
|
612
586
|
// add tooltips for long truncated titles
|
|
613
587
|
if (oDiv.scrollWidth > oDiv.offsetWidth) {
|
|
@@ -615,47 +589,44 @@ sap.ui.define([
|
|
|
615
589
|
}
|
|
616
590
|
// highlight search results
|
|
617
591
|
if (oConfiguration.id === "SearchResultList") {
|
|
618
|
-
|
|
592
|
+
const sQuery = oList.getModel("resultModel").getProperty("/query");
|
|
619
593
|
|
|
620
594
|
if (oConfiguration.highlightResult && oConfiguration.highlightResult === true) {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
595
|
+
const sRegex = new RegExp(sQuery, "gi");
|
|
596
|
+
// remove <b> from previous highlighting
|
|
597
|
+
const sCleanText = oDiv.innerHTML.replace(/<[^>]*>/g, "");
|
|
598
|
+
const sBoldTitle = sCleanText.replace(sRegex, (sPart) => {
|
|
599
|
+
return this._getBoldTitle(oConfiguration, sPart);
|
|
600
|
+
});
|
|
627
601
|
oDiv.innerHTML = this._getHighlightedHtml(oConfiguration, sBoldTitle);
|
|
628
602
|
}
|
|
629
603
|
}
|
|
630
|
-
}
|
|
604
|
+
});
|
|
631
605
|
},
|
|
632
606
|
|
|
633
607
|
_getBoldTitle: function (oConfiguration, sPart) {
|
|
634
|
-
|
|
635
608
|
if (oConfiguration.highlightSearchStringPart && oConfiguration.highlightSearchStringPart === true) {
|
|
636
|
-
return
|
|
609
|
+
return `<b>${sPart}</b>`;
|
|
637
610
|
}
|
|
638
|
-
return
|
|
611
|
+
return `</b>${sPart}<b>`;
|
|
639
612
|
},
|
|
640
613
|
|
|
641
614
|
_getHighlightedHtml: function (oConfiguration, sBoldTitle) {
|
|
642
|
-
|
|
643
615
|
if (!oConfiguration.highlightSearchStringPart || oConfiguration.highlightSearchStringPart !== true) {
|
|
644
|
-
return
|
|
616
|
+
return `<b>${sBoldTitle}</b>`;
|
|
645
617
|
}
|
|
646
618
|
return sBoldTitle;
|
|
647
619
|
},
|
|
648
620
|
|
|
649
621
|
_testProviders: function (sQuery) {
|
|
650
|
-
|
|
651
622
|
if (!this._oResultModel) {
|
|
652
623
|
this._oResultModel = new JSONModel({});
|
|
653
624
|
this._oPopover.setModel(this._oResultModel, "resultModel");
|
|
654
625
|
}
|
|
655
626
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
627
|
+
const oModel = this._oResultModel;
|
|
628
|
+
const iQueryLength = (sQuery || "").trim().length;
|
|
629
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
659
630
|
|
|
660
631
|
oModel.setProperty("/query", sQuery);
|
|
661
632
|
|
|
@@ -665,21 +636,18 @@ sap.ui.define([
|
|
|
665
636
|
this._sContentDensityClass = "sapUiSizeCozy";
|
|
666
637
|
}
|
|
667
638
|
|
|
668
|
-
for (
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
639
|
+
for (const idx in aLists) {
|
|
640
|
+
const oList = aLists[idx];
|
|
641
|
+
const oProvider = oList._getProviderConfig();
|
|
642
|
+
const sGroupName = this._getDefaultProviderGroupName(oProvider.id);
|
|
672
643
|
|
|
673
644
|
oList.setVisible(false);
|
|
674
645
|
|
|
675
646
|
if (iQueryLength >= oProvider.minQueryLength && iQueryLength <= oProvider.maxQueryLength) {
|
|
676
|
-
|
|
677
647
|
oProvider.execSearch(sQuery, sGroupName).then(function (oListRef, oProviderRef, aResult) {
|
|
678
|
-
|
|
679
648
|
if (aResult && Array.isArray(aResult) && aResult.length > 0) {
|
|
680
|
-
|
|
681
649
|
// if Promise resolves with a delay and a new loop has already started - recheck priority
|
|
682
|
-
|
|
650
|
+
const sCurrentQuery = this._oResultModel.getProperty("/query");
|
|
683
651
|
if (sCurrentQuery && (sCurrentQuery.length < oProviderRef.minQueryLength
|
|
684
652
|
|| sCurrentQuery.length > oProviderRef.maxQueryLength)) {
|
|
685
653
|
return;
|
|
@@ -690,33 +658,35 @@ sap.ui.define([
|
|
|
690
658
|
}
|
|
691
659
|
|
|
692
660
|
// trigger list update after popover is reopened (native events are not firing)
|
|
693
|
-
if (oModel.getProperty(
|
|
661
|
+
if (oModel.getProperty(`/${oProviderRef.name}`)) {
|
|
694
662
|
this.bGrowingReset = false;
|
|
695
|
-
oModel.setProperty(
|
|
663
|
+
oModel.setProperty(`/${oProviderRef.name}`, []);
|
|
696
664
|
}
|
|
697
665
|
|
|
698
666
|
oListRef.setVisible(true);
|
|
699
667
|
|
|
700
|
-
|
|
701
|
-
oModel.setProperty(
|
|
668
|
+
const aResultItems = aResult.slice(0, oProviderRef.maxItemCount);
|
|
669
|
+
oModel.setProperty(`/${oProviderRef.name}`, aResultItems);
|
|
702
670
|
|
|
703
671
|
// custom behavior for default providers
|
|
704
672
|
switch (oListRef.getId()) {
|
|
705
673
|
case "SearchResultList":
|
|
706
674
|
this._applyResultsAcc(aResultItems.length);
|
|
707
675
|
break;
|
|
676
|
+
default: break;
|
|
708
677
|
}
|
|
709
678
|
this.oSF.focus();
|
|
710
679
|
} else {
|
|
711
|
-
oModel.setProperty(
|
|
680
|
+
oModel.setProperty(`/${oProviderRef.name}`, []);
|
|
712
681
|
// custom behavior for default providers
|
|
713
682
|
switch (oListRef.getId()) {
|
|
714
683
|
case "SearchResultList":
|
|
715
684
|
this._applyResultsAcc(0);
|
|
716
|
-
|
|
685
|
+
const sNoResults = resources.i18n.getText("no_apps_found", [sQuery]);
|
|
717
686
|
oListRef.setNoDataText(sNoResults);
|
|
718
687
|
oListRef.setVisible(true);
|
|
719
688
|
break;
|
|
689
|
+
default: break;
|
|
720
690
|
}
|
|
721
691
|
}
|
|
722
692
|
}.bind(this, oList, oProvider));
|
|
@@ -726,10 +696,9 @@ sap.ui.define([
|
|
|
726
696
|
},
|
|
727
697
|
|
|
728
698
|
_applyResultsAcc: function (iNumOfItems) {
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
sOldAriaText = oDescriptionSpan.text();
|
|
699
|
+
let sNewAriaText = "";
|
|
700
|
+
const oDescriptionSpan = this.oSF.$("SuggDescr");
|
|
701
|
+
const sOldAriaText = oDescriptionSpan.text();
|
|
733
702
|
|
|
734
703
|
// add items to list
|
|
735
704
|
if (iNumOfItems === 1) {
|
|
@@ -747,17 +716,15 @@ sap.ui.define([
|
|
|
747
716
|
},
|
|
748
717
|
|
|
749
718
|
_toggleSearchPopover: function (bOpen) {
|
|
750
|
-
|
|
751
719
|
if (!this._oPopover) {
|
|
752
720
|
Fragment.load({
|
|
753
|
-
name: "sap.ushell.components.shell.SearchCEP.
|
|
721
|
+
name: "sap.ushell.components.shell.SearchCEP.SearchField",
|
|
754
722
|
type: "XML",
|
|
755
723
|
controller: this
|
|
756
|
-
}).then(
|
|
757
|
-
|
|
724
|
+
}).then((popover) => {
|
|
758
725
|
this._oPopover = popover;
|
|
759
|
-
|
|
760
|
-
|
|
726
|
+
const sScreenSize = this._getScreenSize();
|
|
727
|
+
let nPlaceHolderSFWidth = document.getElementById("PlaceHolderSearchField").clientWidth;
|
|
761
728
|
|
|
762
729
|
if (sScreenSize === "S") {
|
|
763
730
|
nPlaceHolderSFWidth = 1.1 * nPlaceHolderSFWidth;
|
|
@@ -765,26 +732,26 @@ sap.ui.define([
|
|
|
765
732
|
nPlaceHolderSFWidth = 1.05 * nPlaceHolderSFWidth;
|
|
766
733
|
}
|
|
767
734
|
|
|
768
|
-
this._oPopover.setContentWidth(nPlaceHolderSFWidth
|
|
735
|
+
this._oPopover.setContentWidth(`${nPlaceHolderSFWidth}px`);
|
|
769
736
|
if (Localization.getRTL() === true) {
|
|
770
|
-
|
|
737
|
+
const nOffsetX = this._oPopover.getOffsetX();
|
|
771
738
|
this._oPopover.setOffsetX(-1 * nOffsetX);
|
|
772
739
|
}
|
|
773
740
|
|
|
774
741
|
this._initializeSearchField();
|
|
775
742
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
743
|
+
const oText = new Text({
|
|
744
|
+
id: "popoverTitle",
|
|
745
|
+
text: "List of search results and navigation suggestions"
|
|
746
|
+
});
|
|
780
747
|
|
|
781
|
-
|
|
782
|
-
|
|
748
|
+
oText.addStyleClass("sapUiInvisibleText");
|
|
749
|
+
this._oPopover.addContent(oText);
|
|
783
750
|
|
|
784
|
-
this._initLists().then(
|
|
751
|
+
this._initLists().then(() => {
|
|
785
752
|
this._testProviders();
|
|
786
|
-
}
|
|
787
|
-
}
|
|
753
|
+
});
|
|
754
|
+
});
|
|
788
755
|
} else if (bOpen) {
|
|
789
756
|
this._oPopover.openBy(this._oPlaceHolderSF);
|
|
790
757
|
|
|
@@ -795,11 +762,9 @@ sap.ui.define([
|
|
|
795
762
|
},
|
|
796
763
|
|
|
797
764
|
_initLists: function () {
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
var pProvidersPromise = oSearchCEPService.getSearchProvidersPriorityArray(),
|
|
802
|
-
oContent = this._oPopover.getContent()[1];
|
|
765
|
+
return this._SearchCEPService.then((oSearchCEPService) => {
|
|
766
|
+
const pProvidersPromise = oSearchCEPService.getSearchProvidersPriorityArray();
|
|
767
|
+
const oContent = this._oPopover.getContent()[1];
|
|
803
768
|
|
|
804
769
|
if (!Device.support.touch) {
|
|
805
770
|
this._sContentDensityClass = "sapUiSizeCompact";
|
|
@@ -807,28 +772,26 @@ sap.ui.define([
|
|
|
807
772
|
this._sContentDensityClass = "sapUiSizeCozy";
|
|
808
773
|
}
|
|
809
774
|
|
|
810
|
-
return pProvidersPromise.then(
|
|
811
|
-
for (
|
|
812
|
-
|
|
775
|
+
return pProvidersPromise.then((aProviders) => {
|
|
776
|
+
for (let i = 0; i < aProviders.length; i++) {
|
|
777
|
+
const oList = this._createList(aProviders[i], this._oResultModel);
|
|
813
778
|
oList.addStyleClass(this._sContentDensityClass);
|
|
814
779
|
oContent.addItem(oList);
|
|
815
780
|
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
781
|
+
});
|
|
782
|
+
});
|
|
818
783
|
},
|
|
819
784
|
|
|
820
785
|
_keyDownSearchField: function (oEvent) {
|
|
821
|
-
|
|
822
786
|
if (oEvent.code === 40 || oEvent.code === "ArrowDown") {
|
|
823
787
|
this.oSF.focus();
|
|
824
|
-
|
|
788
|
+
const aLists = this._oPopover.getContent()[1].getItems();
|
|
825
789
|
|
|
826
|
-
for (
|
|
790
|
+
for (const sListKey in aLists) {
|
|
827
791
|
if (aLists[sListKey].getVisible() && aLists[sListKey].getItems().length > 0) {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
oListConfig = oParent._getProviderConfig();
|
|
792
|
+
const oControl = aLists[sListKey].getItems()[0];
|
|
793
|
+
const oParent = oControl.getParent();
|
|
794
|
+
const oListConfig = oParent._getProviderConfig();
|
|
832
795
|
|
|
833
796
|
oControl.focus();
|
|
834
797
|
this._setListNameToAriaLabelledBy(oControl, oListConfig.title);
|
|
@@ -838,22 +801,22 @@ sap.ui.define([
|
|
|
838
801
|
} else if (oEvent.code === 116 || oEvent.code === "F5") {
|
|
839
802
|
window.location.reload();
|
|
840
803
|
} else if (oEvent.code === 9 || oEvent.code === "Tab") {
|
|
841
|
-
|
|
804
|
+
let oElement;
|
|
842
805
|
if (oEvent.shiftKey) {
|
|
843
806
|
oElement = this._oPlaceHolderSF.oParent.getDomRef().firstChild.lastChild.firstChild;
|
|
844
807
|
} else {
|
|
845
808
|
// sapUshellShellHeadEnd area
|
|
846
|
-
|
|
847
|
-
|
|
809
|
+
const oSapUshellShellHeadEnd = this._oPlaceHolderSF.oParent.getDomRef().lastChild;
|
|
810
|
+
const aChildNodes = oSapUshellShellHeadEnd.childNodes;
|
|
848
811
|
// iterate until visible child found
|
|
849
|
-
for (
|
|
812
|
+
for (const sChildKey in aChildNodes) {
|
|
850
813
|
if (getComputedStyle(aChildNodes[sChildKey]).display !== "none") {
|
|
851
814
|
oElement = aChildNodes[sChildKey];
|
|
852
815
|
break;
|
|
853
816
|
}
|
|
854
817
|
}
|
|
855
818
|
}
|
|
856
|
-
setTimeout(
|
|
819
|
+
setTimeout(() => {
|
|
857
820
|
if (this._getScreenSize() === "S" || this._getScreenSize() === "M") {
|
|
858
821
|
Element.getElementById("shell-header").setSearchState("COL", 35, false);
|
|
859
822
|
Element.getElementById("sf").setVisible(true);
|
|
@@ -861,7 +824,7 @@ sap.ui.define([
|
|
|
861
824
|
if (oElement) {
|
|
862
825
|
oElement.focus();
|
|
863
826
|
}
|
|
864
|
-
}
|
|
827
|
+
}, 0);
|
|
865
828
|
} else if (oEvent.code === 27 || oEvent.code === "Escape") {
|
|
866
829
|
this.oSF.setValue("");
|
|
867
830
|
this._oPlaceHolderSF.setValue("");
|
|
@@ -870,11 +833,10 @@ sap.ui.define([
|
|
|
870
833
|
},
|
|
871
834
|
|
|
872
835
|
_initializeSearchField: function () {
|
|
873
|
-
|
|
874
836
|
this.oSF = Element.getElementById("CEPSearchField");
|
|
875
|
-
|
|
837
|
+
const nPlaceHolderSFWidth = document.getElementById("PlaceHolderSearchField").clientWidth;
|
|
876
838
|
|
|
877
|
-
this.oSF.setWidth(nPlaceHolderSFWidth
|
|
839
|
+
this.oSF.setWidth(`${nPlaceHolderSFWidth}px`);
|
|
878
840
|
this.oSF.addEventDelegate({
|
|
879
841
|
onkeydown: this._keyDownSearchField.bind(this),
|
|
880
842
|
onfocusin: this.onfocusin.bind(this)
|
|
@@ -882,50 +844,45 @@ sap.ui.define([
|
|
|
882
844
|
},
|
|
883
845
|
|
|
884
846
|
_saveSearchTerm: function (sTerm) {
|
|
885
|
-
|
|
886
847
|
if (sTerm) {
|
|
887
848
|
Container.getServiceAsync("UserRecents")
|
|
888
|
-
.then(
|
|
849
|
+
.then((UserRecentsService) => {
|
|
889
850
|
UserRecentsService.addSearchActivity({ sTerm: sTerm });
|
|
890
851
|
});
|
|
891
852
|
}
|
|
892
853
|
},
|
|
893
854
|
|
|
894
855
|
_onRecentSearchesPress: function (oEvent) {
|
|
895
|
-
|
|
896
|
-
var searchTerm = oEvent.getParameter("listItem").getProperty("title");
|
|
856
|
+
const searchTerm = oEvent.getParameter("listItem").getProperty("title");
|
|
897
857
|
|
|
898
858
|
this.oSF.setValue(searchTerm);
|
|
899
|
-
setTimeout(
|
|
859
|
+
setTimeout(() => {
|
|
900
860
|
this._testProviders(searchTerm);
|
|
901
|
-
}
|
|
861
|
+
});
|
|
902
862
|
},
|
|
903
863
|
|
|
904
864
|
_onApplicationsPress: function (oEvent) {
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
oResult = oBindingContext.getObject();
|
|
865
|
+
const sSearchTerm = this.oSF.getValue();
|
|
866
|
+
const oBindingContext = oEvent.getParameter("listItem").getBindingContext("resultModel");
|
|
867
|
+
const oResult = oBindingContext.getObject();
|
|
909
868
|
|
|
910
869
|
this._saveSearchTerm(sSearchTerm);
|
|
911
870
|
this._navigateToApp(oResult);
|
|
912
871
|
},
|
|
913
872
|
|
|
914
873
|
_onHomePageApplicationsPress: function (oEvent) {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
oResult = oBindingContext.getObject();
|
|
874
|
+
const sSearchTerm = this.oSF.getValue();
|
|
875
|
+
const oBindingContext = oEvent.getParameter("listItem").getBindingContext("resultModel");
|
|
876
|
+
const oResult = oBindingContext.getObject();
|
|
919
877
|
|
|
920
878
|
this._saveSearchTerm(sSearchTerm);
|
|
921
879
|
this._navigateToApp(oResult);
|
|
922
880
|
},
|
|
923
881
|
|
|
924
882
|
_onExternalSearchApplicationsPress: function (oEvent) {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
oResult = oBindingContext.getObject();
|
|
883
|
+
const sSearchTerm = this.oSF.getValue();
|
|
884
|
+
const oBindingContext = oEvent.getParameter("listItem").getBindingContext("resultModel");
|
|
885
|
+
const oResult = oBindingContext.getObject();
|
|
929
886
|
|
|
930
887
|
this._saveSearchTerm(sSearchTerm);
|
|
931
888
|
// Navigate to ES from search within list
|
|
@@ -937,9 +894,8 @@ sap.ui.define([
|
|
|
937
894
|
},
|
|
938
895
|
|
|
939
896
|
_onFrequentApplicationsPress: function (oEvent) {
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
oResult = oBindingContext.getObject();
|
|
897
|
+
const oBindingContext = oEvent.getParameter("listItem").getBindingContext("resultModel");
|
|
898
|
+
const oResult = oBindingContext.getObject();
|
|
943
899
|
|
|
944
900
|
this._navigateToApp(oResult);
|
|
945
901
|
if (this._oPopover.isOpen()) {
|
|
@@ -948,8 +904,7 @@ sap.ui.define([
|
|
|
948
904
|
},
|
|
949
905
|
|
|
950
906
|
_navigateToApp: function (oResult, sSearchTerm) {
|
|
951
|
-
|
|
952
|
-
this._SearchCEPService.then(function (oSearchCEPService) {
|
|
907
|
+
this._SearchCEPService.then((oSearchCEPService) => {
|
|
953
908
|
oSearchCEPService.navigate(oResult, sSearchTerm);
|
|
954
909
|
});
|
|
955
910
|
|
|
@@ -957,26 +912,25 @@ sap.ui.define([
|
|
|
957
912
|
this.oSF.setValue("");
|
|
958
913
|
}
|
|
959
914
|
|
|
960
|
-
setTimeout(
|
|
915
|
+
setTimeout(() => {
|
|
961
916
|
if (this._oPopover.isOpen()) {
|
|
962
917
|
this._oPopover.close();
|
|
963
918
|
}
|
|
964
|
-
}
|
|
919
|
+
}, 500);
|
|
965
920
|
},
|
|
966
921
|
|
|
967
922
|
_navigateToResultPage: function (sTerm, bAll) {
|
|
968
|
-
|
|
969
923
|
if (sTerm === "") {
|
|
970
924
|
return;
|
|
971
925
|
}
|
|
972
|
-
|
|
926
|
+
let sHash = `#WorkZoneSearchResult-display?searchTerm=${sTerm}&category=app`;
|
|
973
927
|
if (bAll === true) {
|
|
974
|
-
sHash =
|
|
975
|
-
sTerm
|
|
928
|
+
sHash = `#Action-search&/top=20&filter={"dataSource":{"type":"Category","id":"All","label":"All","labelPlural":"All"},"searchTerm":"${
|
|
929
|
+
sTerm}","rootCondition":{"type":"Complex","operator":"And","conditions":[]}}`;
|
|
976
930
|
}
|
|
977
931
|
|
|
978
|
-
|
|
979
|
-
pNavServicePromise.then(
|
|
932
|
+
const pNavServicePromise = Container.getServiceAsync("Navigation");
|
|
933
|
+
pNavServicePromise.then((oNavigationService) => {
|
|
980
934
|
oNavigationService.navigate({
|
|
981
935
|
target: {
|
|
982
936
|
shellHash: sHash
|