@sapui5/sap.ushell 1.120.7 → 1.121.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 +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +46 -49
- package/src/main/js/sap/ushell/CanvasShapesManager.js +8 -7
- package/src/main/js/sap/ushell/Container.js +333 -108
- package/src/main/js/sap/ushell/EventHub.js +6 -9
- package/src/main/js/sap/ushell/Fiori20Adapter.js +6 -7
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +5 -7
- package/src/main/js/sap/ushell/Layout.js +20 -16
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +20 -12
- package/src/main/js/sap/ushell/System.js +4 -2
- package/src/main/js/sap/ushell/TechnicalParameters.js +34 -57
- package/src/main/js/sap/ushell/UIActions.js +28 -39
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +8 -7
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +10 -10
- package/src/main/js/sap/ushell/User.js +6 -4
- package/src/main/js/sap/ushell/UserActivityLog.js +13 -11
- package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +15 -19
- package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +5 -3
- package/src/main/js/sap/ushell/_ApplicationType/ui5Resolution.js +11 -10
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +17 -15
- package/src/main/js/sap/ushell/_ApplicationType/utils.js +7 -7
- package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +8 -6
- package/src/main/js/sap/ushell/_Config/utils.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 +2 -2
- 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/adapters/AppVariantPersonalizationAdapter.js +5 -3
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +6 -11
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +6 -16
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +18 -14
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +16 -21
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +7 -18
- 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/_Personalization/internals.js +9 -9
- 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 +36 -13
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +2629 -0
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +4 -2525
- 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 +13 -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 +91 -25
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +6 -6
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +31 -6
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +7 -6
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +10 -20
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +14 -19
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +18 -20
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +25 -18
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1558 -0
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +4 -1551
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +2 -4
- 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 +11 -8
- 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 +11 -23
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/RTA.js +27 -0
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +69 -0
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +97 -0
- package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +12 -3
- package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +4 -0
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +4 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +82 -78
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +8 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +35 -37
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +4 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +2 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +9 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +6 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en.properties +0 -7
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_saprigi.properties +5 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en.properties +0 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_saprigi.properties +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +14 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +8 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +39 -39
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +15 -16
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +12 -54
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +154 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +221 -206
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +15 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +35 -55
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +10 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +212 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +6 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +67 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +9 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +9 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter.js +3 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +12 -6
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +1 -3
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +6 -7
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +2 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-loader.js +15 -5
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.boot.task.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +14 -0
- package/src/main/js/sap/ushell/bootstrap/cdm.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.path.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.script.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.task.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.extractLibs.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +6 -6
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5language.js +4 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +37 -41
- package/src/main/js/sap/ushell/bootstrap/common/common.constants.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +31 -20
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.bootstrapExtension.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.load.ui5theme.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +5 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +48 -14
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +8 -9
- package/src/main/js/sap/ushell/bootstrap/ui5loader-config.js +2 -2
- package/src/main/js/sap/ushell/components/CatalogsManager.js +49 -47
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +57 -45
- package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
- package/src/main/js/sap/ushell/components/HeaderManager.js +3 -3
- package/src/main/js/sap/ushell/components/HomepageManager.js +27 -29
- package/src/main/js/sap/ushell/components/MessagingHelper.js +2 -2
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +13 -10
- package/src/main/js/sap/ushell/components/StateHelper.js +1 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +15 -15
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadItemsStrategy.js +3 -3
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +4 -4
- package/src/main/js/sap/ushell/components/_HeaderManager/RemoveItemsStrategy.js +2 -2
- package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +13 -13
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +3 -3
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +9 -8
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +6 -6
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +29 -16
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +17 -17
- package/src/main/js/sap/ushell/components/appfinder/Component.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +7 -7
- package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +3 -9
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +6 -7
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +2 -4
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +9 -5
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +38 -55
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +20 -22
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +22 -33
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +563 -372
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +8 -7
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +8 -6
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +9 -7
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +6 -5
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +2 -2
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +6 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Component.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en.properties +0 -34
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_saprigi.properties +37 -37
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en.properties +0 -11
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_saprigi.properties +9 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.css +4 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +1 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +1 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +27 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ca.properties +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en.properties +0 -111
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saprigi.properties +109 -109
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +105 -96
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +13 -13
- package/src/main/js/sap/ushell/components/container/resources/resources_en.properties +0 -9
- package/src/main/js/sap/ushell/components/container/resources/resources_en_US_saprigi.properties +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +54 -105
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +108 -142
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +16 -11
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +9 -7
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +4 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en.properties +0 -29
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +24 -24
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +5 -3
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +9 -4
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +23 -19
- package/src/main/js/sap/ushell/components/homepage/Component.js +3 -3
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +3 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +3 -4
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +17 -9
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +10 -3
- package/src/main/js/sap/ushell/components/homepage/FLPAnalytics.js +6 -4
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +5 -5
- package/src/main/js/sap/ushell/components/pages/Component.js +2 -2
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +7 -7
- package/src/main/js/sap/ushell/components/pages/StateManager.js +3 -3
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +9 -12
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +70 -15
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +2 -2
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +7 -5
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +50 -8
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -8
- package/src/main/js/sap/ushell/components/runtimeSwitcher/view/RuntimeSwitcher.view.xml +13 -8
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +6 -4
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +6 -7
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +13 -11
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +16 -12
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +14 -14
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +7 -7
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +5 -4
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +8 -6
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +25 -18
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +89 -67
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +5 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +5 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +8 -6
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +7 -7
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +6 -6
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +4 -2
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageSetting.view.xml +3 -1
- package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +95 -96
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.fragment.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.view.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +27 -31
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +9 -2
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +6 -6
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +22 -20
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +8 -11
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +5 -4
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +5 -3
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +16 -31
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.xml +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +16 -33
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.xml +1 -1
- package/src/main/js/sap/ushell/components/tiles/generic.js +2 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +12 -10
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +49 -42
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +16 -18
- package/src/main/js/sap/ushell/components/tiles/utils.js +19 -15
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +31 -29
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +18 -219
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +62 -137
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +4 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +185 -68
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +4 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +7 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +5 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +4 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en.properties +0 -76
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +66 -66
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +8 -0
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -7
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +15 -8
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/iconfonts.js +1 -1
- package/src/main/js/sap/ushell/library.js +28 -26
- package/src/main/js/sap/ushell/navigationMode.js +4 -6
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +97 -18
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +7 -7
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +78 -23
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +4 -3
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en.properties +0 -10
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_saprigi.properties +8 -8
- package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +10 -6
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_en.properties +0 -14
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_en_US_saprigi.properties +12 -12
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +15 -13
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +7 -7
- package/src/main/js/sap/ushell/renderer/Renderer.js +163 -221
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +133 -163
- package/src/main/js/sap/ushell/renderer/Shell.view.js +13 -14
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +65 -14
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +40 -17
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +5 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +18 -951
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +991 -991
- package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +8 -2
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +20 -13
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +13 -9
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/CEPSearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/SearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/util.js +5 -7
- package/src/main/js/sap/ushell/renderer/utils.js +6 -6
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +14 -11
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +50 -42
- package/src/main/js/sap/ushell/resources.js +3 -3
- package/src/main/js/sap/ushell/services/AllMyApps.js +2 -3
- package/src/main/js/sap/ushell/services/AppConfiguration.js +56 -15
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +14 -29
- package/src/main/js/sap/ushell/services/AppState.js +39 -28
- package/src/main/js/sap/ushell/services/Bookmark.js +18 -45
- package/src/main/js/sap/ushell/services/BookmarkV2.js +118 -120
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +20 -22
- package/src/main/js/sap/ushell/services/CommonDataModel.js +31 -94
- package/src/main/js/sap/ushell/services/Configuration.js +5 -5
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -3
- package/src/main/js/sap/ushell/services/Container.js +6 -5
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +7 -5
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +80 -98
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +6 -6
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +17 -15
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +139 -67
- package/src/main/js/sap/ushell/services/Extension/Footer.js +2 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +9 -16
- package/src/main/js/sap/ushell/services/Extension/Item.js +12 -8
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +5 -5
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +5 -5
- package/src/main/js/sap/ushell/services/Extension.js +12 -13
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1791 -0
- package/src/main/js/sap/ushell/services/LaunchPage.js +653 -1715
- package/src/main/js/sap/ushell/services/Menu.js +3 -3
- package/src/main/js/sap/ushell/services/Message.js +16 -9
- package/src/main/js/sap/ushell/services/MessageBroker.js +6 -6
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +25 -28
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +17 -16
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/Notifications.js +55 -38
- package/src/main/js/sap/ushell/services/NotificationsV2.js +122 -49
- package/src/main/js/sap/ushell/services/PageBuilding.js +3 -4
- package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
- package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
- package/src/main/js/sap/ushell/services/Pages.js +295 -320
- package/src/main/js/sap/ushell/services/Personalization.js +40 -37
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +27 -24
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +7 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +2 -0
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +7 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +10 -11
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +10 -10
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +5 -5
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +10 -9
- package/src/main/js/sap/ushell/services/PluginManager.js +77 -75
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +36 -38
- package/src/main/js/sap/ushell/services/Search.js +4 -4
- package/src/main/js/sap/ushell/services/SearchCEP.js +2 -3
- package/src/main/js/sap/ushell/services/SearchableContent.js +93 -80
- package/src/main/js/sap/ushell/services/ShellNavigation.js +160 -450
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +27 -26
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +532 -0
- package/src/main/js/sap/ushell/services/SmartNavigation.js +23 -23
- package/src/main/js/sap/ushell/services/SpaceContent.js +4 -4
- package/src/main/js/sap/ushell/services/SupportTicket.js +4 -5
- package/src/main/js/sap/ushell/services/UITracer.js +2 -2
- package/src/main/js/sap/ushell/services/URLParsing.js +15 -14
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +47 -10
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +25 -9
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +11 -11
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +34 -41
- package/src/main/js/sap/ushell/services/UserInfo.js +29 -53
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +480 -0
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +207 -0
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +119 -0
- package/src/main/js/sap/ushell/services/{_UserRecents → UserRecents}/UserRecentsBase.js +41 -9
- package/src/main/js/sap/ushell/services/UserRecents.js +185 -188
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +42 -41
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +27 -26
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +6 -6
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/ParameterMapping.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 +7 -9
- 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 +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +5 -7
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +105 -0
- 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/_MessageBroker/MessageBrokerEngine.js +19 -37
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +28 -29
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +10 -10
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +7 -5
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +9 -6
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +9 -18
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +4 -11
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +11 -9
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +6 -5
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +1 -2
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +8 -22
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/SequentializingAdapter.js +3 -5
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +13 -12
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +2 -2
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +26 -22
- package/src/main/js/sap/ushell/themes/base/Catalog.less +12 -1
- package/src/main/js/sap/ushell/themes/base/ContentFinder.less +1 -0
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +9 -0
- package/src/main/js/sap/ushell/themes/base/img/SAPLogo.svg +1 -1
- package/src/main/js/sap/ushell/themes/base/img/launchicons/114_iPhone-Retina_Web_Clip.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/144_iPad_Retina_Web_Clip.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/57_iPhone_Desktop_Launch.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/72_iPad_Desktop_Launch.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchpad_favicon.ico +0 -0
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/ui/AppContainer.js +17 -22
- package/src/main/js/sap/ushell/ui/AppContainerRenderer.js +4 -6
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +8 -9
- package/src/main/js/sap/ushell/ui/ContentNodeTreeItem.js +2 -3
- package/src/main/js/sap/ushell/ui/QuickAccess.js +90 -81
- package/src/main/js/sap/ushell/ui/ShellHeader.js +26 -25
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +20 -7
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +9 -0
- package/src/main/js/sap/ushell/ui/appfinder/PinButton.js +7 -6
- package/src/main/js/sap/ushell/ui/appfinder/PinButtonRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +4 -4
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +5 -5
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +8 -13
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +10 -12
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +22 -229
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +116 -0
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.fragment.xml +85 -0
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +8 -12
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +9 -18
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +8 -12
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +4 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +4 -1
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +6 -13
- package/src/main/js/sap/ushell/ui/launchpad/AccessibilityCustomData.js +4 -5
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +5 -4
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +8 -11
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +6 -2
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +22 -19
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBarRenderer.js +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +10 -6
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +9 -5
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +9 -5
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +7 -9
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +59 -67
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItemRenderer.js +15 -15
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +7 -11
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +8 -12
- package/src/main/js/sap/ushell/ui/launchpad/PageRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +5 -11
- package/src/main/js/sap/ushell/ui/launchpad/PlusTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +14 -26
- package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +3 -2
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +10 -13
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +10 -11
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +3 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +8 -81
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternal.js +119 -0
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternalRenderer.js +72 -0
- package/src/main/js/sap/ushell/ui/launchpad/TileStateRenderer.js +4 -65
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +6 -7
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstance.js +86 -78
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceAbap.js +6 -5
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceBase.js +40 -0
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceCdm.js +13 -11
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceLaunchPage.js +10 -7
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceLink.js +9 -61
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +8 -6
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactAreaRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/shell/ContentRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/shell/FloatingContainer.js +10 -8
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +32 -34
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingAction.js +9 -6
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActionRenderer.js +1 -3
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +4 -7
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +8 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +3 -8
- package/src/main/js/sap/ushell/ui/shell/ToolArea.js +2 -2
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +6 -8
- package/src/main/js/sap/ushell/ui/tile/DynamicTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +4 -5
- package/src/main/js/sap/ushell/ui/tile/ImageTileRenderer.js +5 -6
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +4 -5
- package/src/main/js/sap/ushell/ui/tile/StaticTileRenderer.js +5 -6
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +5 -8
- package/src/main/js/sap/ushell/ui/tile/TileBaseRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/utils.js +2 -4
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +8 -9
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +11 -12
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +6 -8
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +5 -3
- package/src/main/js/sap/ushell/utils/HttpClient.js +6 -7
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +5 -14
- package/src/main/js/sap/ushell/utils/UrlShortening.js +4 -4
- package/src/main/js/sap/ushell/utils/chipsUtils.js +10 -10
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +234 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +141 -0
- package/src/main/js/sap/ushell/utils.js +17 -13
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +6 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_cnr.properties +0 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_cnr.properties +0 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_cnr.properties +0 -41
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_cnr.properties +0 -19
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cnr.properties +0 -117
- package/src/main/js/sap/ushell/components/container/resources/resources_cnr.properties +0 -10
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +0 -29
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +0 -137
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +0 -78
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +0 -115
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +0 -130
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_cnr.properties +0 -13
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_cnr.properties +0 -24
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsKeyboardHandler.js +0 -108
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -993
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsKeyboardHandler.js +0 -13
- package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +0 -481
- package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +0 -207
- package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +0 -92
- package/src/main/js/sap/ushell/themes/base/img/launchpadDefaultIcon.jpg +0 -0
- /package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceRenderer.js +0 -0
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
+
"sap/ui/core/Element",
|
|
5
|
+
"sap/ui/core/EventBus",
|
|
4
6
|
"sap/ui/core/UIComponent",
|
|
5
7
|
"sap/m/SearchField",
|
|
6
|
-
"sap/m/Button",
|
|
7
|
-
"sap/m/ResponsivePopover",
|
|
8
|
-
"sap/ui/core/Fragment",
|
|
9
|
-
"sap/ui/model/json/JSONModel",
|
|
10
8
|
"sap/ushell/components/shell/SearchCEP/SearchCEP.controller",
|
|
11
9
|
"sap/base/Log",
|
|
12
10
|
"sap/ushell/resources",
|
|
13
11
|
"sap/ui/core/IconPool",
|
|
14
|
-
"sap/ushell/renderer/search/util",
|
|
15
|
-
"sap/ushell/ui/shell/ShellHeadItem",
|
|
16
12
|
"sap/ui/Device",
|
|
17
|
-
"sap/ui/core/Core",
|
|
18
13
|
"sap/ui/thirdparty/jquery",
|
|
19
|
-
"sap/ushell/utils/UrlParsing"
|
|
20
|
-
|
|
21
|
-
|
|
14
|
+
"sap/ushell/utils/UrlParsing",
|
|
15
|
+
"sap/ushell/Container"
|
|
16
|
+
], function (
|
|
17
|
+
Element,
|
|
18
|
+
EventBus,
|
|
19
|
+
UIComponent,
|
|
20
|
+
SearchField,
|
|
21
|
+
SearchCEPController,
|
|
22
|
+
Log,
|
|
23
|
+
resources,
|
|
24
|
+
IconPool,
|
|
25
|
+
Device,
|
|
26
|
+
jQuery,
|
|
27
|
+
UrlParsing,
|
|
28
|
+
Container
|
|
22
29
|
) {
|
|
23
30
|
"use strict";
|
|
24
31
|
|
|
25
32
|
return UIComponent.extend("sap.ushell.components.shell.SearchCEP.Component", {
|
|
26
33
|
metadata: {
|
|
27
|
-
version: "1.
|
|
34
|
+
version: "1.121.0",
|
|
28
35
|
library: ["sap.ushell", "sap.ushell.components.shell"],
|
|
29
36
|
dependencies: {
|
|
30
37
|
libs: ["sap.m"]
|
|
@@ -33,8 +40,8 @@ sap.ui.define([
|
|
|
33
40
|
|
|
34
41
|
createContent: function () {
|
|
35
42
|
try {
|
|
36
|
-
this.oRenderer =
|
|
37
|
-
this.oShellHeader =
|
|
43
|
+
this.oRenderer = Container.getRendererInternal("fiori2");
|
|
44
|
+
this.oShellHeader = Element.getElementById("shell-header");
|
|
38
45
|
// create search Icon
|
|
39
46
|
this.oRenderer.addHeaderEndItem({
|
|
40
47
|
id: "sf",
|
|
@@ -45,7 +52,7 @@ sap.ui.define([
|
|
|
45
52
|
visible: true,
|
|
46
53
|
press: this.onShellSearchButtonPressed.bind(this)
|
|
47
54
|
}, true, false);
|
|
48
|
-
this.oShellSearchBtn =
|
|
55
|
+
this.oShellSearchBtn = Element.getElementById("sf");
|
|
49
56
|
this.oShellSearchBtn.data("help-id", "shellHeader-search", true);
|
|
50
57
|
this.oShellSearchBtn.addEventDelegate({
|
|
51
58
|
onkeydown: this._keyDownSearchBtn.bind(this)
|
|
@@ -81,7 +88,7 @@ sap.ui.define([
|
|
|
81
88
|
} catch (error) {
|
|
82
89
|
Log.info("Failed to create CEP search field content" + error);
|
|
83
90
|
}
|
|
84
|
-
|
|
91
|
+
EventBus.getInstance().publish("shell", "searchCompLoaded", { delay: 0 });
|
|
85
92
|
},
|
|
86
93
|
|
|
87
94
|
initSearchSSize: function () {
|
|
@@ -102,7 +109,7 @@ sap.ui.define([
|
|
|
102
109
|
// add tooltip to Search Placeholder icon
|
|
103
110
|
jQuery(this.oSF.getDomRef()).find("#PlaceHolderSearchField-search").attr("title", resources.i18n.getText("search"));
|
|
104
111
|
|
|
105
|
-
var sUrl =
|
|
112
|
+
var sUrl = Container.getFLPUrl(true),
|
|
106
113
|
sHash = UrlParsing.getHash(sUrl),
|
|
107
114
|
sIntent = sHash.split("&/")[0];
|
|
108
115
|
|
|
@@ -126,7 +133,7 @@ sap.ui.define([
|
|
|
126
133
|
// eslint-disable-next-line no-undef
|
|
127
134
|
jQuery(this.oSF.getDomRef()).find("input").attr("inputmode", "search");
|
|
128
135
|
}
|
|
129
|
-
if (
|
|
136
|
+
if (Element.getElementById("CEPSearchField")) {
|
|
130
137
|
this.oSearchCEPController.onSuggest(event);
|
|
131
138
|
} else {
|
|
132
139
|
this.oSearchCEPController.onInit();
|
|
@@ -134,7 +141,7 @@ sap.ui.define([
|
|
|
134
141
|
},
|
|
135
142
|
|
|
136
143
|
onSearch: function (event) {
|
|
137
|
-
if (
|
|
144
|
+
if (Element.getElementById("CEPSearchField")) {
|
|
138
145
|
this.oSearchCEPController.onSearch(event);
|
|
139
146
|
}
|
|
140
147
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
+
"sap/base/i18n/Localization",
|
|
5
|
+
"sap/ui/core/Element",
|
|
4
6
|
"sap/ui/core/mvc/Controller",
|
|
5
7
|
"sap/ui/model/json/JSONModel",
|
|
6
8
|
"sap/ui/core/Fragment",
|
|
@@ -8,17 +10,16 @@ sap.ui.define([
|
|
|
8
10
|
"sap/m/Text",
|
|
9
11
|
"sap/m/StandardListItem",
|
|
10
12
|
"sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider",
|
|
11
|
-
"sap/base/Log",
|
|
12
|
-
"sap/ushell/utils/WindowUtils",
|
|
13
13
|
"sap/ui/thirdparty/jquery",
|
|
14
14
|
"sap/ushell/resources",
|
|
15
15
|
"sap/ui/Device",
|
|
16
|
-
"sap/ui/core/Configuration",
|
|
17
|
-
"sap/base/util/UriParameters",
|
|
18
|
-
"sap/ui/core/Core",
|
|
19
16
|
"sap/ushell/EventHub",
|
|
20
|
-
"sap/m/Avatar"
|
|
17
|
+
"sap/m/Avatar",
|
|
18
|
+
"sap/ushell/Container",
|
|
19
|
+
"sap/ushell/Config"
|
|
21
20
|
], function (
|
|
21
|
+
Localization,
|
|
22
|
+
Element,
|
|
22
23
|
Controller,
|
|
23
24
|
JSONModel,
|
|
24
25
|
Fragment,
|
|
@@ -26,16 +27,13 @@ sap.ui.define([
|
|
|
26
27
|
Text,
|
|
27
28
|
StandardListItem,
|
|
28
29
|
SearchProvider,
|
|
29
|
-
Log,
|
|
30
|
-
WindowUtils,
|
|
31
30
|
jQuery,
|
|
32
31
|
resources,
|
|
33
32
|
Device,
|
|
34
|
-
Configuration,
|
|
35
|
-
UriParameters,
|
|
36
|
-
Core,
|
|
37
33
|
EventHub,
|
|
38
|
-
Avatar
|
|
34
|
+
Avatar,
|
|
35
|
+
Container,
|
|
36
|
+
Config
|
|
39
37
|
) {
|
|
40
38
|
"use strict";
|
|
41
39
|
|
|
@@ -46,7 +44,7 @@ sap.ui.define([
|
|
|
46
44
|
this._bIsMyHome = false;
|
|
47
45
|
this._bEscPressed = false;
|
|
48
46
|
this.bGrowingReset = false;
|
|
49
|
-
this._SearchCEPService =
|
|
47
|
+
this._SearchCEPService = Container.getServiceAsync("SearchCEP");
|
|
50
48
|
|
|
51
49
|
this._SearchCEPService.then(function (oSearchCEPService) {
|
|
52
50
|
this._registerDefaultProviders(oSearchCEPService);
|
|
@@ -55,9 +53,9 @@ sap.ui.define([
|
|
|
55
53
|
|
|
56
54
|
this._toggleSearchPopover(false);
|
|
57
55
|
|
|
58
|
-
this._oPlaceHolderSF =
|
|
56
|
+
this._oPlaceHolderSF = Element.getElementById("PlaceHolderSearchField");
|
|
59
57
|
|
|
60
|
-
var sPlatform =
|
|
58
|
+
var sPlatform = Container.getFLPPlatform(true);
|
|
61
59
|
|
|
62
60
|
if (sPlatform === "MYHOME") {
|
|
63
61
|
this._bIsMyHome = true;
|
|
@@ -96,7 +94,7 @@ sap.ui.define([
|
|
|
96
94
|
var sSearchTerm = oEvent.getParameter("query"),
|
|
97
95
|
bEscPressed = oEvent.getParameter("escPressed"),
|
|
98
96
|
bClearButtonPressed = oEvent.getParameter("clearButtonPressed"),
|
|
99
|
-
oSearchResultList =
|
|
97
|
+
oSearchResultList = Element.getElementById("SearchResultList");
|
|
100
98
|
|
|
101
99
|
if (bEscPressed) {
|
|
102
100
|
this._bEscPressed = bEscPressed;
|
|
@@ -156,7 +154,7 @@ sap.ui.define([
|
|
|
156
154
|
onBeforeOpen: function () {
|
|
157
155
|
|
|
158
156
|
var bCollapse = false,
|
|
159
|
-
oShellHeader =
|
|
157
|
+
oShellHeader = Element.getElementById("shell-header"),
|
|
160
158
|
sSearchState = oShellHeader.getSearchState();
|
|
161
159
|
|
|
162
160
|
if (sSearchState === "COL") {
|
|
@@ -180,19 +178,12 @@ sap.ui.define([
|
|
|
180
178
|
document.getElementById("CEPSearchField").style.height = nPlaceHolderSFHeight + "px";
|
|
181
179
|
// add tooltip to CEP Search icon
|
|
182
180
|
document.getElementById("CEPSearchField-search").title = resources.i18n.getText("search");
|
|
183
|
-
// add tooltip to truncated list items
|
|
184
|
-
var aListItemsTitles = document.querySelectorAll(".searchCEPList .sapMSLIDiv:not(.sapMGrowingListTriggerText)>.sapMSLITitleOnly");
|
|
185
|
-
aListItemsTitles.forEach(function (oDiv) {
|
|
186
|
-
if (oDiv.scrollWidth > oDiv.offsetWidth) {
|
|
187
|
-
oDiv.parentNode.parentNode.title = oDiv.innerText;
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
181
|
},
|
|
191
182
|
|
|
192
183
|
onAfterClose: function (oEvent) {
|
|
193
184
|
|
|
194
|
-
var oSFicon =
|
|
195
|
-
oShellHeader =
|
|
185
|
+
var oSFicon = Element.getElementById("sf"),
|
|
186
|
+
oShellHeader = Element.getElementById("shell-header"),
|
|
196
187
|
sScreenSize = this._getScreenSize(),
|
|
197
188
|
aLists = this._oPopover.getContent()[1].getItems();
|
|
198
189
|
|
|
@@ -351,7 +342,7 @@ sap.ui.define([
|
|
|
351
342
|
// focus last item
|
|
352
343
|
oListItems[oListItems.length - 1].focus();
|
|
353
344
|
} else {
|
|
354
|
-
|
|
345
|
+
Element.getElementById(aPreviousLists[idx].getId() + "-trigger").focus();
|
|
355
346
|
}
|
|
356
347
|
break;
|
|
357
348
|
}
|
|
@@ -394,9 +385,9 @@ sap.ui.define([
|
|
|
394
385
|
|
|
395
386
|
var oCurrentControl = oControl.getDomRef(),
|
|
396
387
|
sHiddenSpanId = jQuery(oCurrentControl).attr("aria-labelledby"),
|
|
397
|
-
sText =
|
|
388
|
+
sText = Element.getElementById(sHiddenSpanId).getProperty("text");
|
|
398
389
|
|
|
399
|
-
jQuery(
|
|
390
|
+
jQuery(Element.getElementById(sHiddenSpanId).getDomRef()).text(sListName + ". " + sText);
|
|
400
391
|
},
|
|
401
392
|
|
|
402
393
|
_getDefaultProviderGroupName: function (sProviderId) {
|
|
@@ -441,19 +432,14 @@ sap.ui.define([
|
|
|
441
432
|
growingScrollToLoad: false,
|
|
442
433
|
items: {
|
|
443
434
|
path: "resultModel>/" + oConfiguration.name,
|
|
444
|
-
factory: this._createListItem.bind(this)
|
|
435
|
+
factory: this._createListItem.bind(this, oConfiguration.name)
|
|
445
436
|
},
|
|
446
437
|
growingStarted: this._listUpdateStart.bind(this),
|
|
447
438
|
updateStarted: this._listUpdateStart.bind(this),
|
|
439
|
+
updateFinished: this._listUpdateFinished.bind(this),
|
|
448
440
|
itemPress: this._itemPress.bind(this)
|
|
449
441
|
}).addStyleClass("searchCEPList sapUshellCEPListDivider");
|
|
450
442
|
|
|
451
|
-
switch (oConfiguration.id) {
|
|
452
|
-
case "SearchResultList":
|
|
453
|
-
oList.attachUpdateFinished(this._resultListUpdateFinish.bind(this));
|
|
454
|
-
break;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
443
|
oList.setModel(oModel, "resultModel");
|
|
458
444
|
oList._providerConfig = oConfiguration;
|
|
459
445
|
oList._getProviderConfig = function () {
|
|
@@ -468,14 +454,31 @@ sap.ui.define([
|
|
|
468
454
|
return oList;
|
|
469
455
|
},
|
|
470
456
|
|
|
471
|
-
_createListItem: function (sId, oContext) {
|
|
457
|
+
_createListItem: function (sConfigurationName, sId, oContext) {
|
|
458
|
+
var oParams = {
|
|
459
|
+
iconDensityAware: false,
|
|
460
|
+
title: oContext.getProperty("text"),
|
|
461
|
+
type: "Active"
|
|
462
|
+
},
|
|
472
463
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
464
|
+
sIconPath = oContext.getProperty("icon"),
|
|
465
|
+
sScreenSize = this._getScreenSize(),
|
|
466
|
+
sProviderLabel = oContext.getProperty("contentProviderLabel"),
|
|
467
|
+
aDisplayingLists = ["SearchResultList","FrequentlyUsedAppsList"],
|
|
468
|
+
bEnabled = Config.last("/core/contentProviders/providerInfo/enabled"),
|
|
469
|
+
bShowContentProviderInfoOnVisualizations = Config.last("/core/contentProviders/providerInfo/showContentProviderInfoOnVisualizations");
|
|
470
|
+
|
|
471
|
+
if (bEnabled && bShowContentProviderInfoOnVisualizations &&
|
|
472
|
+
aDisplayingLists.includes(sConfigurationName) &&
|
|
473
|
+
sProviderLabel !== undefined && sProviderLabel !== "") {
|
|
474
|
+
|
|
475
|
+
sProviderLabel = sProviderLabel.toUpperCase();
|
|
476
|
+
if (sScreenSize === "S") {
|
|
477
|
+
oParams.description = sProviderLabel;
|
|
478
|
+
} else {
|
|
479
|
+
oParams.title += " - " + sProviderLabel;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
479
482
|
|
|
480
483
|
var oAvatar = new Avatar("", {
|
|
481
484
|
displaySize: "XS",
|
|
@@ -494,6 +497,9 @@ sap.ui.define([
|
|
|
494
497
|
}
|
|
495
498
|
|
|
496
499
|
var oListItem = new StandardListItem(oParams);
|
|
500
|
+
if (sScreenSize === "S" && oParams.description !== undefined) {
|
|
501
|
+
oListItem.addStyleClass("sapCEPSearchListItemMobileHeight");
|
|
502
|
+
}
|
|
497
503
|
oListItem.addStyleClass("sapUiTinyMarginBeginEnd");
|
|
498
504
|
|
|
499
505
|
return oListItem;
|
|
@@ -542,11 +548,12 @@ sap.ui.define([
|
|
|
542
548
|
iActualItems = oEvent.getParameter("actual"),
|
|
543
549
|
sReason = oEvent.getParameter("reason"),
|
|
544
550
|
iThreshold = this.bGrowingReset ? oConfiguration.maxItemCount : oConfiguration.defaultItemCount;
|
|
551
|
+
|
|
545
552
|
/*
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
553
|
+
* Currently UI5 List fires both deprecated and its new alternative events (growingStarted -> updateStarted).
|
|
554
|
+
* updateStarted fires before growingStarted, so all of its changes are overwritten.
|
|
555
|
+
* For the time being we should handle both events in the same way.
|
|
556
|
+
*/
|
|
550
557
|
if (iActualItems && iActualItems > 0) {
|
|
551
558
|
if (sReason) {
|
|
552
559
|
// updateStart
|
|
@@ -570,25 +577,40 @@ sap.ui.define([
|
|
|
570
577
|
}
|
|
571
578
|
},
|
|
572
579
|
|
|
573
|
-
|
|
580
|
+
_listUpdateFinished: function (oEvent) {
|
|
574
581
|
|
|
575
582
|
var oList = oEvent.getSource(),
|
|
576
583
|
oConfiguration = oList._getProviderConfig(),
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
if (oConfiguration.highlightResult && oConfiguration.highlightResult === true) {
|
|
580
|
-
var oResults = oList.$().find(".sapMSLITitleOnly");
|
|
584
|
+
oListItemsTitles;
|
|
581
585
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
sBoldTitle = sCleanText.replace(sRegex, function (oConfiguration, sPart) {
|
|
587
|
-
return this._getBoldTitle(oConfiguration, sPart);
|
|
588
|
-
}.bind(this, oConfiguration));
|
|
589
|
-
oResults[index].innerHTML = this._getHighlightedHtml(oConfiguration, sBoldTitle);
|
|
590
|
-
}.bind(this, oConfiguration));
|
|
586
|
+
if (this._getScreenSize() === "S") {
|
|
587
|
+
oListItemsTitles = oList.$().find(".sapMSLITitle, .sapMSLIDescription");
|
|
588
|
+
} else {
|
|
589
|
+
oListItemsTitles = oList.$().find(".sapMSLITitleOnly");
|
|
591
590
|
}
|
|
591
|
+
|
|
592
|
+
jQuery.each(oListItemsTitles, function (index) {
|
|
593
|
+
var oDiv = oListItemsTitles[index];
|
|
594
|
+
|
|
595
|
+
// add tooltips for long truncated titles
|
|
596
|
+
if (oDiv.scrollWidth > oDiv.offsetWidth) {
|
|
597
|
+
oDiv.parentNode.parentNode.title = oDiv.innerText;
|
|
598
|
+
}
|
|
599
|
+
// highlight search results
|
|
600
|
+
if (oConfiguration.id === "SearchResultList") {
|
|
601
|
+
var sQuery = oList.getModel("resultModel").getProperty("/query");
|
|
602
|
+
|
|
603
|
+
if (oConfiguration.highlightResult && oConfiguration.highlightResult === true) {
|
|
604
|
+
var sRegex = new RegExp(sQuery, "gi"),
|
|
605
|
+
// remove <b> from previous highlighting
|
|
606
|
+
sCleanText = oDiv.innerHTML.replace(/<[^>]*>/g, ""),
|
|
607
|
+
sBoldTitle = sCleanText.replace(sRegex, function (sPart) {
|
|
608
|
+
return this._getBoldTitle(oConfiguration, sPart);
|
|
609
|
+
}.bind(this));
|
|
610
|
+
oDiv.innerHTML = this._getHighlightedHtml(oConfiguration, sBoldTitle);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}.bind(this));
|
|
592
614
|
},
|
|
593
615
|
|
|
594
616
|
_getBoldTitle: function (oConfiguration, sPart) {
|
|
@@ -727,7 +749,7 @@ sap.ui.define([
|
|
|
727
749
|
}
|
|
728
750
|
|
|
729
751
|
this._oPopover.setContentWidth(nPlaceHolderSFWidth + "px");
|
|
730
|
-
if (
|
|
752
|
+
if (Localization.getRTL() === true) {
|
|
731
753
|
var nOffsetX = this._oPopover.getOffsetX();
|
|
732
754
|
this._oPopover.setOffsetX(-1 * nOffsetX);
|
|
733
755
|
}
|
|
@@ -817,8 +839,8 @@ sap.ui.define([
|
|
|
817
839
|
}
|
|
818
840
|
setTimeout(function () {
|
|
819
841
|
if (this._getScreenSize() === "S" || this._getScreenSize() === "M") {
|
|
820
|
-
|
|
821
|
-
|
|
842
|
+
Element.getElementById("shell-header").setSearchState("COL", 35, false);
|
|
843
|
+
Element.getElementById("sf").setVisible(true);
|
|
822
844
|
}
|
|
823
845
|
if (oElement) {
|
|
824
846
|
oElement.focus();
|
|
@@ -833,7 +855,7 @@ sap.ui.define([
|
|
|
833
855
|
|
|
834
856
|
_initializeSearchField: function () {
|
|
835
857
|
|
|
836
|
-
this.oSF =
|
|
858
|
+
this.oSF = Element.getElementById("CEPSearchField");
|
|
837
859
|
var nPlaceHolderSFWidth = document.getElementById("PlaceHolderSearchField").clientWidth;
|
|
838
860
|
|
|
839
861
|
this.oSF.setWidth(nPlaceHolderSFWidth + "px");
|
|
@@ -846,7 +868,7 @@ sap.ui.define([
|
|
|
846
868
|
_saveSearchTerm: function (sTerm) {
|
|
847
869
|
|
|
848
870
|
if (sTerm) {
|
|
849
|
-
|
|
871
|
+
Container.getServiceAsync("UserRecents")
|
|
850
872
|
.then(function (UserRecentsService) {
|
|
851
873
|
UserRecentsService.addSearchActivity({ sTerm: sTerm });
|
|
852
874
|
});
|
|
@@ -937,7 +959,7 @@ sap.ui.define([
|
|
|
937
959
|
sTerm + "\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}";
|
|
938
960
|
}
|
|
939
961
|
|
|
940
|
-
var pNavServicePromise =
|
|
962
|
+
var pNavServicePromise = Container.getServiceAsync("Navigation");
|
|
941
963
|
pNavServicePromise.then(function (oNavigationService) {
|
|
942
964
|
oNavigationService.navigate({
|
|
943
965
|
target: {
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.121.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/base/Log"
|
|
9
|
-
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ushell/Container"
|
|
10
|
+
], function (Log, Container) {
|
|
10
11
|
"use strict";
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -37,7 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
* @private
|
|
38
39
|
*/
|
|
39
40
|
FrequentActivityProvider.prototype.execSearch = function (sQuery, sGroupName) {
|
|
40
|
-
return
|
|
41
|
+
return Container.getServiceAsync("UserRecents").then(function (UserRecentsService) {
|
|
41
42
|
return UserRecentsService.getFrequentActivity().then(function (oRecents) {
|
|
42
43
|
var aFinalResult = [],
|
|
43
44
|
oMapping = {
|
package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.121.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/base/Log"
|
|
9
|
-
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ushell/Container"
|
|
10
|
+
], function (Log, Container) {
|
|
10
11
|
"use strict";
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -37,7 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
* @private
|
|
38
39
|
*/
|
|
39
40
|
RecentSearchProvider.prototype.execSearch = function () {
|
|
40
|
-
return
|
|
41
|
+
return Container.getServiceAsync("UserRecents").then(function (UserRecentsService) {
|
|
41
42
|
return UserRecentsService.getRecentSearches().then(function (aRecents) {
|
|
42
43
|
var aFinalResult = [];
|
|
43
44
|
if (Array.isArray(aRecents) && aRecents.length > 0) {
|
package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js
CHANGED
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview This module handles the navigation service search actions
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.121.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/Log",
|
|
9
9
|
"sap/ushell/Config",
|
|
10
10
|
"sap/ushell/resources",
|
|
11
|
-
"sap/base/util/ObjectPath"
|
|
11
|
+
"sap/base/util/ObjectPath",
|
|
12
|
+
"sap/ushell/Container"
|
|
12
13
|
], function (
|
|
13
14
|
Log,
|
|
14
15
|
Config,
|
|
15
16
|
resources,
|
|
16
|
-
ObjectPath
|
|
17
|
+
ObjectPath,
|
|
18
|
+
Container
|
|
17
19
|
) {
|
|
18
20
|
"use strict";
|
|
19
21
|
|
|
@@ -93,10 +95,10 @@ sap.ui.define([
|
|
|
93
95
|
break;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
|
-
return
|
|
98
|
+
return Container.getServiceAsync("SearchCEP").then(function (SearchCEPService) {
|
|
97
99
|
return SearchCEPService.suggest(oParams).then(function (oResult) {
|
|
98
100
|
var bIsSearchCEPEnabled = ObjectPath.get("sap-ushell-config.services.SearchCEP") !== undefined,
|
|
99
|
-
sPlatform =
|
|
101
|
+
sPlatform = Container.getFLPPlatform(true),
|
|
100
102
|
bIsCEPStandard = bIsSearchCEPEnabled === true && sPlatform === "cFLP",
|
|
101
103
|
aFinalResult = [],
|
|
102
104
|
bESSearchEnabled = ObjectPath.get("sap-ushell-config.renderers.fiori2.componentData.config.searchBusinessObjects"),
|
|
@@ -138,7 +140,7 @@ sap.ui.define([
|
|
|
138
140
|
function _addESToResult (aResult, sQuery) {
|
|
139
141
|
var sHash = "#Action-search&/top=20&filter={\"dataSource\":{\"type\":\"Category\",\"id\":\"All\",\"label\":\"All\",\"labelPlural\":\"All\"},\"searchTerm\":\"" +
|
|
140
142
|
sQuery + "\",\"rootCondition\":{\"type\":\"Complex\",\"operator\":\"And\",\"conditions\":[]}}",
|
|
141
|
-
sUrl =
|
|
143
|
+
sUrl = Container.getFLPUrl() + sHash,
|
|
142
144
|
oESearch = {
|
|
143
145
|
"text": resources.i18n.getText("enterprise_search"),
|
|
144
146
|
"description": resources.i18n.getText("enterprise_search"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
|
-
"sap/ui/core/
|
|
4
|
+
"sap/ui/core/Element",
|
|
5
5
|
"sap/ui/core/mvc/XMLView",
|
|
6
6
|
"sap/ui/core/UIComponent",
|
|
7
7
|
"sap/ui/model/json/JSONModel",
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
"sap/ushell/ui/shell/ShellHeadItem",
|
|
22
22
|
"sap/ushell/utils"
|
|
23
23
|
], function (
|
|
24
|
-
|
|
24
|
+
Element,
|
|
25
25
|
XMLView,
|
|
26
26
|
UIComponent,
|
|
27
27
|
JSONModel,
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
return UIComponent.extend("sap.ushell.components.shell.Settings.Component", {
|
|
49
49
|
|
|
50
50
|
metadata: {
|
|
51
|
-
version: "1.
|
|
51
|
+
version: "1.121.0",
|
|
52
52
|
library: "sap.ushell",
|
|
53
53
|
dependencies: {
|
|
54
54
|
libs: {
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
*/
|
|
68
68
|
init: function () {
|
|
69
69
|
UIComponent.prototype.init.apply(this, arguments);
|
|
70
|
-
var oShellConfig = sap.ushell.Container.
|
|
70
|
+
var oShellConfig = sap.ushell.Container.getRendererInternal("fiori2").getShellConfig();
|
|
71
71
|
if (oShellConfig.moveUserSettingsActionToShellHeader) {
|
|
72
72
|
this.oSettingsBtn = this._addUserSettingsButton();
|
|
73
73
|
}
|
|
@@ -130,7 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
aEntities.push(UserDefaultsEntry.getEntry()); // User Defaults
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
aEntities = sap.ushell.Container.
|
|
133
|
+
aEntities = sap.ushell.Container.getRendererInternal("fiori2").reorderUserPrefEntries(aEntities);
|
|
134
134
|
Config.emit("/core/userPreferences/entries", aEntities);
|
|
135
135
|
},
|
|
136
136
|
|
|
@@ -171,7 +171,7 @@ sap.ui.define([
|
|
|
171
171
|
}));
|
|
172
172
|
oSettingView.setModel(resources.i18nModel, "i18n");
|
|
173
173
|
var sControlId = oEvent.controlId || "shell-header";
|
|
174
|
-
|
|
174
|
+
Element.getElementById(sControlId).addDependent(oSettingView);
|
|
175
175
|
return oSettingView.byId("userSettingsDialog");
|
|
176
176
|
}.bind(this));
|
|
177
177
|
}
|
|
@@ -195,7 +195,7 @@ sap.ui.define([
|
|
|
195
195
|
press: this._openUserSettings.bind(this)
|
|
196
196
|
});
|
|
197
197
|
//Use ElementsModel, because button should be added only for specific states without propagation
|
|
198
|
-
sap.ushell.Container.
|
|
198
|
+
sap.ushell.Container.getRendererInternal("fiori2").oShellModel.addHeaderEndItem(
|
|
199
199
|
[oUserSettingsButton.getId()],
|
|
200
200
|
false,
|
|
201
201
|
["home", "app", "minimal", "standalone", "embedded", "embedded-home", "merged", "merged-home"],
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
/**
|
|
27
27
|
* Filter messages of the MessageManager based on the target
|
|
28
28
|
*
|
|
29
|
-
* @returns {
|
|
29
|
+
* @returns {object[]} An array of messages to be displayed
|
|
30
30
|
* @private
|
|
31
31
|
*/
|
|
32
32
|
function filterMessagesToDisplay () {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/base/Log",
|
|
5
|
-
"sap/ui/core/
|
|
5
|
+
"sap/ui/core/Element",
|
|
6
6
|
"sap/ui/core/mvc/Controller",
|
|
7
7
|
"sap/ui/core/Fragment",
|
|
8
8
|
"sap/ui/model/json/JSONModel",
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
"sap/base/util/deepClone"
|
|
19
19
|
], function (
|
|
20
20
|
Log,
|
|
21
|
-
|
|
21
|
+
Element,
|
|
22
22
|
Controller,
|
|
23
23
|
Fragment,
|
|
24
24
|
JSONModel,
|
|
@@ -520,7 +520,7 @@ sap.ui.define([
|
|
|
520
520
|
this._mLoadedEntryContent.set(oEntry.id, new Promise(function (resolve) {
|
|
521
521
|
oEntry.contentFunc()
|
|
522
522
|
.then(function (oContentResult) {
|
|
523
|
-
if (BaseObject.
|
|
523
|
+
if (BaseObject.isObjectA(oContentResult, "sap.ui.core.Control")) {
|
|
524
524
|
resolve(oContentResult);
|
|
525
525
|
} else {
|
|
526
526
|
this._createErrorContent(resources.i18n.getText("loadingErrorMessage")).then(resolve);
|
|
@@ -556,7 +556,7 @@ sap.ui.define([
|
|
|
556
556
|
name: "sap.ushell.components.shell.Settings.ContentWrapper",
|
|
557
557
|
controller: {
|
|
558
558
|
onTabSelected: function (oEvent) {
|
|
559
|
-
var oIconTabBar =
|
|
559
|
+
var oIconTabBar = Element.getElementById(oEvent.getParameter("id"));
|
|
560
560
|
var oIconTabFilter = oEvent.getParameter("item");
|
|
561
561
|
var iTabIndex = oIconTabBar.indexOfItem(oIconTabFilter);
|
|
562
562
|
var oTabEntryContext = oEntry.tabs[iTabIndex];
|
|
@@ -694,7 +694,7 @@ sap.ui.define([
|
|
|
694
694
|
|
|
695
695
|
/**
|
|
696
696
|
* Reloads FLP if instructions for it are found in results parameter.
|
|
697
|
-
* @param {
|
|
697
|
+
* @param {object[]} aResults Array that contains the results.
|
|
698
698
|
* @returns {boolean} bReloaded true if FLP was reloaded
|
|
699
699
|
*/
|
|
700
700
|
_maybeReload: function (aResults) {
|
|
@@ -828,7 +828,7 @@ sap.ui.define([
|
|
|
828
828
|
ErrorMessageHelper.addMessage(message);
|
|
829
829
|
});
|
|
830
830
|
return;
|
|
831
|
-
} else if (BaseObject.
|
|
831
|
+
} else if (BaseObject.isObjectA(errorInformation, "sap.ui.core.message.Message")) {
|
|
832
832
|
errorInformation.setAdditionalText(sEntryTitle);
|
|
833
833
|
errorInformation.setTechnicalDetails({ pluginId: sEntryId });
|
|
834
834
|
ErrorMessageHelper.addMessage(errorInformation);
|