@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
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
//Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
1
|
+
// Copyright (c) 2009-2025 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @file PageRuntime controller for PageRuntime view
|
|
5
|
-
* @version 1.
|
|
5
|
+
* @version 1.139.0
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/core/Element",
|
|
9
9
|
"sap/ui/core/EventBus",
|
|
10
|
+
"sap/ui/core/CustomData",
|
|
10
11
|
"sap/ushell/library",
|
|
11
12
|
"sap/ui/core/mvc/Controller",
|
|
12
13
|
"sap/ui/events/KeyCodes",
|
|
@@ -30,11 +31,13 @@ sap.ui.define([
|
|
|
30
31
|
"sap/ushell/ui/launchpad/ActionItem",
|
|
31
32
|
"sap/ushell/ui/launchpad/Section",
|
|
32
33
|
"sap/ushell/Container",
|
|
33
|
-
|
|
34
|
+
"sap/ushell/navigation/NavigationState",
|
|
35
|
+
/* jQuery Plugin "firstFocusableDomRef" */
|
|
34
36
|
"sap/ui/dom/jquery/Focusable"
|
|
35
|
-
],
|
|
37
|
+
], (
|
|
36
38
|
Element,
|
|
37
39
|
EventBus,
|
|
40
|
+
CustomData,
|
|
38
41
|
ushellLibrary,
|
|
39
42
|
Controller,
|
|
40
43
|
KeyCodes,
|
|
@@ -57,15 +60,16 @@ sap.ui.define([
|
|
|
57
60
|
Log,
|
|
58
61
|
ActionItem,
|
|
59
62
|
Section,
|
|
60
|
-
Container
|
|
61
|
-
|
|
63
|
+
Container,
|
|
64
|
+
NavigationState
|
|
65
|
+
) => {
|
|
62
66
|
"use strict";
|
|
63
67
|
|
|
64
68
|
// shortcut for sap.m.LoadState
|
|
65
|
-
|
|
69
|
+
const LoadState = mLibrary.LoadState;
|
|
66
70
|
|
|
67
71
|
// shortcut for sap.ushell.DisplayFormat
|
|
68
|
-
|
|
72
|
+
const DisplayFormat = ushellLibrary.DisplayFormat;
|
|
69
73
|
|
|
70
74
|
/**
|
|
71
75
|
* Controller of the PagesRuntime view.
|
|
@@ -105,6 +109,7 @@ sap.ui.define([
|
|
|
105
109
|
showHideButton: Config.last("/core/catalog/enableHideGroups"),
|
|
106
110
|
showAddButton: Config.last("/core/catalog/enabled"),
|
|
107
111
|
personalizationEnabled: Config.last("/core/shell/enablePersonalization"),
|
|
112
|
+
isNavigationRunning: NavigationState.isNavigationRunning(),
|
|
108
113
|
addToMyHomeOnly: false,
|
|
109
114
|
gridContainerGap: [],
|
|
110
115
|
gridContainerRowSize: []
|
|
@@ -113,9 +118,9 @@ sap.ui.define([
|
|
|
113
118
|
|
|
114
119
|
this._sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
|
|
115
120
|
|
|
116
|
-
this._aConfigListeners = Config.on("/core/home/sizeBehavior").do(
|
|
121
|
+
this._aConfigListeners = Config.on("/core/home/sizeBehavior").do((sSizeBehavior) => {
|
|
117
122
|
this._oViewSettingsModel.setProperty("/sizeBehavior", sSizeBehavior);
|
|
118
|
-
}
|
|
123
|
+
});
|
|
119
124
|
|
|
120
125
|
this._oErrorPageModel = new JSONModel({
|
|
121
126
|
title: "",
|
|
@@ -129,14 +134,14 @@ sap.ui.define([
|
|
|
129
134
|
this.oInitFinishedPromise = Promise.all([
|
|
130
135
|
this._oVisualizationInstantiationServicePromise,
|
|
131
136
|
this.getOwnerComponent().getPagesService()
|
|
132
|
-
]).then(
|
|
137
|
+
]).then((aServices) => {
|
|
133
138
|
// bind the model only when the vizInstance service is loaded so that it
|
|
134
139
|
// can be used in the factory function synchronously
|
|
135
140
|
this._oVisualizationInstantiationService = aServices[0];
|
|
136
141
|
this.getView().setModel(aServices[1].getModel());
|
|
137
|
-
}
|
|
142
|
+
});
|
|
138
143
|
|
|
139
|
-
|
|
144
|
+
const oRenderer = Container.getRendererInternal();
|
|
140
145
|
this.bIsHomeIntentRootIntent = ushellUtils.isFlpHomeIntent(oRenderer.getShellConfig().rootIntent);
|
|
141
146
|
this.oErrorPage = this.byId("errorPage");
|
|
142
147
|
this.oEmptyPage = this.byId("emptyPage");
|
|
@@ -154,38 +159,40 @@ sap.ui.define([
|
|
|
154
159
|
this._oEventBus.subscribe("launchpad", "shellFloatingContainerIsDocked", this._handleUshellContainerDocked, this);
|
|
155
160
|
this._oEventBus.subscribe("launchpad", "shellFloatingContainerIsUnDocked", this._handleUshellContainerDocked, this);
|
|
156
161
|
|
|
157
|
-
|
|
162
|
+
NavigationState.attachNavigationStateChanged(this._handleNavigationStateChanged, this);
|
|
163
|
+
|
|
164
|
+
this.oVisualizationInstantiationListener = EventHub.on("VizInstanceLoaded").do(() => {
|
|
158
165
|
this._setPerformanceMark("FLP-TTI-Homepage");
|
|
159
|
-
//Should be adjusted after next iteration of the VisualizationInstantiation
|
|
166
|
+
// Should be adjusted after next iteration of the VisualizationInstantiation
|
|
160
167
|
if (!this.oVisualizationInstantiationListenerTimeout) {
|
|
161
|
-
//Currently there is no good place to mark TTI time, because all visualizations
|
|
162
|
-
//are loaded async and update visualizations views directly through setAggregation.
|
|
163
|
-
//For this reason, we listen to the loading of the all static and dynamic tiles
|
|
164
|
-
//and mark the last time. Timeout in 5 sec in order to avoid the cases when
|
|
165
|
-
//personalization or other interaction replace the TTI time
|
|
166
|
-
this.oVisualizationInstantiationListenerTimeout = setTimeout(
|
|
168
|
+
// Currently there is no good place to mark TTI time, because all visualizations
|
|
169
|
+
// are loaded async and update visualizations views directly through setAggregation.
|
|
170
|
+
// For this reason, we listen to the loading of the all static and dynamic tiles
|
|
171
|
+
// and mark the last time. Timeout in 5 sec in order to avoid the cases when
|
|
172
|
+
// personalization or other interaction replace the TTI time
|
|
173
|
+
this.oVisualizationInstantiationListenerTimeout = setTimeout(() => {
|
|
167
174
|
this.oVisualizationInstantiationListener.off();
|
|
168
|
-
}
|
|
175
|
+
}, 5000);
|
|
169
176
|
}
|
|
170
|
-
}
|
|
177
|
+
});
|
|
171
178
|
|
|
172
179
|
this.fnBoundSetGridContainerSizes = this._setGridContainerSizes.bind(this);
|
|
173
180
|
Config.on("/core/home/sizeBehavior").do(this.fnBoundSetGridContainerSizes);
|
|
174
181
|
EventHub.on("themeChanged").do(this.fnBoundSetGridContainerSizes);
|
|
175
182
|
|
|
176
183
|
this.sCurrentTargetPageId = "";
|
|
177
|
-
this._oInitPromise = this._openFLPPage().then(
|
|
184
|
+
this._oInitPromise = this._openFLPPage().then(() => {
|
|
178
185
|
// The NavContainer handles initial focus which lands on the emptyPage instead of the loaded page after first render
|
|
179
186
|
// Therefore we are focusing the first item on first render in case there is no item focused yet
|
|
180
187
|
if (!document.activeElement || document.activeElement === document.body) {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
188
|
+
const oCurrentPage = this.oPagesNavContainer.getCurrentPage();
|
|
189
|
+
const oCurrentLaunchpadPage = oCurrentPage && oCurrentPage.getContent()[0];
|
|
190
|
+
const oFirstSection = oCurrentLaunchpadPage && oCurrentLaunchpadPage.getSections()[0];
|
|
184
191
|
if (oFirstSection) {
|
|
185
192
|
oFirstSection.focus();
|
|
186
193
|
} else {
|
|
187
194
|
// jQuery Plugin "firstFocusableDomRef"
|
|
188
|
-
|
|
195
|
+
const oFocusableDomRef = this.oPagesNavContainer.$().firstFocusableDomRef();
|
|
189
196
|
if (oFocusableDomRef) {
|
|
190
197
|
oFocusableDomRef.focus();
|
|
191
198
|
}
|
|
@@ -195,24 +202,24 @@ sap.ui.define([
|
|
|
195
202
|
if (!this.getOwnerComponent().getNavigationDisabled()) {
|
|
196
203
|
// add listener to the router after the rendering the page in order to avoid page re-rendering
|
|
197
204
|
this.oContainerRouter = oRenderer.getRouter();
|
|
198
|
-
this.oContainerRouter.getRoute("home").attachMatched(this.onRouteMatched.bind(this, true /* bIsHomeRoute*/));
|
|
205
|
+
this.oContainerRouter.getRoute("home").attachMatched(this.onRouteMatched.bind(this, true /* bIsHomeRoute */));
|
|
199
206
|
this.oContainerRouter.getRoute("openFLPPage").attachMatched(this.onRouteMatched.bind(this, false));
|
|
200
207
|
}
|
|
201
|
-
}
|
|
208
|
+
});
|
|
202
209
|
},
|
|
203
210
|
|
|
204
211
|
/**
|
|
205
212
|
* Set the section grid container gap and row size for different screen sizes
|
|
206
213
|
*/
|
|
207
214
|
_setGridContainerSizes: async function () {
|
|
208
|
-
|
|
209
|
-
|
|
215
|
+
const sSizeBehavior = Config.last("/core/home/sizeBehavior");
|
|
216
|
+
const oViewSettingsModel = this.getView().getModel("viewSettings");
|
|
210
217
|
|
|
211
|
-
|
|
218
|
+
const sTileGapParam = (sSizeBehavior === "Small")
|
|
212
219
|
? "_sap_ushell_Tile_SpacingXS"
|
|
213
220
|
: "_sap_ushell_Tile_Spacing";
|
|
214
221
|
|
|
215
|
-
|
|
222
|
+
const sTileGapParamS = (sSizeBehavior === "Small")
|
|
216
223
|
? "_sap_ushell_Tile_SpacingXS"
|
|
217
224
|
: "_sap_ushell_Tile_SpacingS";
|
|
218
225
|
|
|
@@ -225,11 +232,11 @@ sap.ui.define([
|
|
|
225
232
|
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapL", this._formatNumericThemeParam(sGap));
|
|
226
233
|
oViewSettingsModel.setProperty("/gridContainerGap/gridContainerGapXL", this._formatNumericThemeParam(sGap));
|
|
227
234
|
|
|
228
|
-
|
|
235
|
+
const sTileWidthParam = (sSizeBehavior === "Small")
|
|
229
236
|
? "_sap_ushell_Tile_WidthXS"
|
|
230
237
|
: "_sap_ushell_Tile_Width";
|
|
231
238
|
|
|
232
|
-
|
|
239
|
+
const sTileWidthParamS = (sSizeBehavior === "Small")
|
|
233
240
|
? "_sap_ushell_Tile_WidthXS"
|
|
234
241
|
: "_sap_ushell_Tile_WidthS";
|
|
235
242
|
|
|
@@ -251,7 +258,7 @@ sap.ui.define([
|
|
|
251
258
|
*/
|
|
252
259
|
_formatNumericThemeParam: function (sValue) {
|
|
253
260
|
if (sValue && sValue.indexOf(".") === 0) {
|
|
254
|
-
sValue =
|
|
261
|
+
sValue = `0${sValue}`;
|
|
255
262
|
}
|
|
256
263
|
return sValue;
|
|
257
264
|
},
|
|
@@ -262,10 +269,10 @@ sap.ui.define([
|
|
|
262
269
|
|
|
263
270
|
_getMyHomeTitle: function () {
|
|
264
271
|
return Container.getServiceAsync("Menu")
|
|
265
|
-
.then(
|
|
272
|
+
.then((oMenuService) => {
|
|
266
273
|
return oMenuService.getMyHomeSpace();
|
|
267
274
|
})
|
|
268
|
-
.then(
|
|
275
|
+
.then((oHomeSpace) => {
|
|
269
276
|
if (!oHomeSpace || !oHomeSpace.children.length) {
|
|
270
277
|
return "";
|
|
271
278
|
}
|
|
@@ -278,8 +285,8 @@ sap.ui.define([
|
|
|
278
285
|
* Creates the action mode button.
|
|
279
286
|
*/
|
|
280
287
|
_onFirstPageRendering: function () {
|
|
281
|
-
|
|
282
|
-
|
|
288
|
+
const bPersonalizationEnabled = Config.last("/core/shell/enablePersonalization");
|
|
289
|
+
const bMyHomeEnabled = this._isMyHomeEnabled();
|
|
283
290
|
if (bPersonalizationEnabled) {
|
|
284
291
|
this._createActionModeButton();
|
|
285
292
|
} else if (bMyHomeEnabled) {
|
|
@@ -289,6 +296,11 @@ sap.ui.define([
|
|
|
289
296
|
EventHub.emit("firstSegmentCompleteLoaded", true);
|
|
290
297
|
},
|
|
291
298
|
|
|
299
|
+
_handleNavigationStateChanged: function (oEvent) {
|
|
300
|
+
const bIsNavigationRunning = oEvent.getParameter("isNavigationRunning");
|
|
301
|
+
this._oViewSettingsModel.setProperty("/isNavigationRunning", bIsNavigationRunning);
|
|
302
|
+
},
|
|
303
|
+
|
|
292
304
|
/**
|
|
293
305
|
* Updates the homeUri in the shell header
|
|
294
306
|
* @param {object} oCurrentSpaceAndPage The current space and page
|
|
@@ -299,8 +311,8 @@ sap.ui.define([
|
|
|
299
311
|
_updateHomeUri: function (oCurrentSpaceAndPage) {
|
|
300
312
|
const sRootIntent = Config.last("/core/shellHeader/rootIntent");
|
|
301
313
|
if (Config.last("/core/spaces/homeNavigationTarget") === "origin_page") {
|
|
302
|
-
|
|
303
|
-
Config.emit("/core/shellHeader/homeUri",
|
|
314
|
+
const sNewHash = oCurrentSpaceAndPage ? encodeURI(oCurrentSpaceAndPage.hash) : sRootIntent;
|
|
315
|
+
Config.emit("/core/shellHeader/homeUri", `#${sNewHash}`);
|
|
304
316
|
}
|
|
305
317
|
},
|
|
306
318
|
|
|
@@ -311,8 +323,8 @@ sap.ui.define([
|
|
|
311
323
|
* @private
|
|
312
324
|
*/
|
|
313
325
|
onRouteMatched: function (bIsHomeRoute) {
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
const bIsHomeAppEnabled = Config.last("/core/homeApp/enabled");
|
|
327
|
+
const bNavigationToHomeApp = bIsHomeAppEnabled && bIsHomeRoute;
|
|
316
328
|
|
|
317
329
|
Log.debug("cep/editMode: on Route matched", "Page runtime");
|
|
318
330
|
// Remove home page and display target page
|
|
@@ -335,13 +347,13 @@ sap.ui.define([
|
|
|
335
347
|
|
|
336
348
|
// Hide "[Edit Current Page]" button of page`s runtime
|
|
337
349
|
// if custom home app is displayed
|
|
338
|
-
|
|
350
|
+
const oActionModeButton = Element.getElementById("ActionModeBtn");
|
|
339
351
|
if (!oActionModeButton) {
|
|
340
352
|
return;
|
|
341
353
|
}
|
|
342
354
|
|
|
343
|
-
|
|
344
|
-
|
|
355
|
+
const oRenderer = Container.getRendererInternal("fiori2");
|
|
356
|
+
const oStateInfo = this._getStateInfoActionModeButton();
|
|
345
357
|
|
|
346
358
|
if (bNavigationToHomeApp) {
|
|
347
359
|
if (this._moveEditActionToHeader()) {
|
|
@@ -394,10 +406,10 @@ sap.ui.define([
|
|
|
394
406
|
}
|
|
395
407
|
this._sActionModeTextId = sTextId; // For the case when the Action Mode button was not created yet.
|
|
396
408
|
|
|
397
|
-
this._getMyHomeTitle().then(
|
|
398
|
-
|
|
409
|
+
this._getMyHomeTitle().then((sTitle) => {
|
|
410
|
+
const oActionModeButton = Element.getElementById("ActionModeBtn");
|
|
399
411
|
if (oActionModeButton) {
|
|
400
|
-
|
|
412
|
+
const sActionModeText = resources.i18n.getText(sTextId, [sTitle]);
|
|
401
413
|
oActionModeButton.setText(sActionModeText);
|
|
402
414
|
oActionModeButton.setTooltip(sActionModeText);
|
|
403
415
|
}
|
|
@@ -408,8 +420,8 @@ sap.ui.define([
|
|
|
408
420
|
// Special logic for "Add Tiles to My Home" when personalization is disabled.
|
|
409
421
|
// bMyHomeActive means that the My Home page is the currently visible one.
|
|
410
422
|
_setActionModeLogic: function (bMyHomeActive) {
|
|
411
|
-
|
|
412
|
-
|
|
423
|
+
let bEnableEditing = false;
|
|
424
|
+
let bAddToMyHomeOnly = false;
|
|
413
425
|
|
|
414
426
|
if (Config.last("/core/shell/enablePersonalization")) {
|
|
415
427
|
bEnableEditing = true; // Most usual case, the Action Mode button has the text "Edit Current Page"
|
|
@@ -436,7 +448,6 @@ sap.ui.define([
|
|
|
436
448
|
_openFLPPage: function () {
|
|
437
449
|
return PagesAndSpaceId.getPageAndSpaceId()
|
|
438
450
|
.then(({ pageId, spaceId }) => {
|
|
439
|
-
|
|
440
451
|
// this property may be updated by consecutive calls to _openFLPPage and prevents race conditions when opening pages
|
|
441
452
|
this.sCurrentTargetPageId = pageId;
|
|
442
453
|
this.sCurrentTargetSpaceId = spaceId;
|
|
@@ -456,11 +467,11 @@ sap.ui.define([
|
|
|
456
467
|
return this.getOwnerComponent().getPagesService();
|
|
457
468
|
})
|
|
458
469
|
.then((pagesService) => {
|
|
459
|
-
Log.debug(
|
|
470
|
+
Log.debug(`cep/editMode: load Page: ${pageId}`, "Page runtime");
|
|
460
471
|
return pagesService.loadPage(pageId);
|
|
461
472
|
})
|
|
462
473
|
.then(async () => {
|
|
463
|
-
Log.debug(
|
|
474
|
+
Log.debug(`cep/editMode: load Page: show action mode button ${pageId}`, "Page runtime");
|
|
464
475
|
this._showActionModeButton();
|
|
465
476
|
if (this.sCurrentTargetPageId === pageId) {
|
|
466
477
|
const bMyHomeActive = this._isMyHomeRouteActive();
|
|
@@ -535,7 +546,7 @@ sap.ui.define([
|
|
|
535
546
|
* @since 1.72.0
|
|
536
547
|
*/
|
|
537
548
|
_navigate: async function (targetPageId, spaceId, keepActionMode) {
|
|
538
|
-
const oPageControl = this.oPagesNavContainer.getPages().find(
|
|
549
|
+
const oPageControl = this.oPagesNavContainer.getPages().find((oControl) => {
|
|
539
550
|
return targetPageId === oControl.data("pageId");
|
|
540
551
|
});
|
|
541
552
|
|
|
@@ -561,7 +572,7 @@ sap.ui.define([
|
|
|
561
572
|
const bMenu = Config.last("/core/menu/enabled");
|
|
562
573
|
const bSideNav = Config.last("/core/sideNavigation/enabled");
|
|
563
574
|
const bSideNavMode = Config.last("/core/sideNavigation/mode");
|
|
564
|
-
const bShowSpaceInTitle =
|
|
575
|
+
const bShowSpaceInTitle = !bIsPinned || bIsPinned && !bMenu && bSideNav && bSideNavMode === "Popover";
|
|
565
576
|
|
|
566
577
|
// The properties title and showTitle have to be set per page control and not only
|
|
567
578
|
// once in the view settings model to avoid a flickering during navigation between pages.
|
|
@@ -689,11 +700,11 @@ sap.ui.define([
|
|
|
689
700
|
_copyToClipboard: function () {
|
|
690
701
|
let sError;
|
|
691
702
|
if (this._oErrorPageModel.getProperty("/pageAndSpaceId")) {
|
|
692
|
-
sError = this._oErrorPageModel.getProperty("/technicalError")
|
|
703
|
+
sError = `${this._oErrorPageModel.getProperty("/technicalError")}\n${this._oErrorPageModel.getProperty("/pageAndSpaceId")}`;
|
|
693
704
|
} else {
|
|
694
705
|
sError = this._oErrorPageModel.getProperty("/technicalError");
|
|
695
706
|
}
|
|
696
|
-
|
|
707
|
+
const bResult = ushellUtils.copyToClipboard(sError);
|
|
697
708
|
if (bResult) {
|
|
698
709
|
MessageToast.show(resources.i18n.getText("PageRuntime.CannotLoadPage.CopySuccess"), {
|
|
699
710
|
closeOnBrowserNavigation: false
|
|
@@ -754,7 +765,7 @@ sap.ui.define([
|
|
|
754
765
|
reset: this.handleEditModeAction.bind(this, "resetSection"),
|
|
755
766
|
sectionVisibilityChange: this.handleEditModeAction.bind(this, "changeSectionVisibility"),
|
|
756
767
|
titleChange: this.handleEditModeAction.bind(this, "changeSectionTitle"),
|
|
757
|
-
enableVisualizationReordering: "{viewSettings>/personalizationEnabled}",
|
|
768
|
+
enableVisualizationReordering: "{= ${viewSettings>/personalizationEnabled} && !${viewSettings>/isNavigationRunning} }",
|
|
758
769
|
areaDragEnter: this.onAreaDragEnter.bind(this),
|
|
759
770
|
visualizationDrop: this.moveVisualization.bind(this),
|
|
760
771
|
showSection: "{visible}",
|
|
@@ -786,15 +797,19 @@ sap.ui.define([
|
|
|
786
797
|
*/
|
|
787
798
|
_visualizationFactory: function (id, context) {
|
|
788
799
|
if (this._oVisualizationInstantiationService) {
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
800
|
+
const oData = context.getObject();
|
|
801
|
+
const sPath = context.getPath();
|
|
802
|
+
const sSectionPath = sPath.replace(/\/visualizations\/\d*\/?$/, "");
|
|
803
|
+
const sPagePath = sSectionPath.replace(/\/sections\/\d*\/?$/, "");
|
|
804
|
+
const oPageData = context.getModel().getProperty(sPagePath);
|
|
794
805
|
|
|
795
|
-
|
|
806
|
+
const oVisualization = this._oVisualizationInstantiationService.instantiateVisualization(oData);
|
|
796
807
|
oVisualization.attachPress(this.onVisualizationPress, this);
|
|
797
808
|
oVisualization.bindEditable("viewSettings>/actionModeActive");
|
|
809
|
+
oVisualization.bindClickable({
|
|
810
|
+
path: "viewSettings>/isNavigationRunning",
|
|
811
|
+
formatter: (bIsNavigationRunning) => !bIsNavigationRunning
|
|
812
|
+
});
|
|
798
813
|
if (oVisualization.bindRemovable) {
|
|
799
814
|
oVisualization.bindRemovable("viewSettings>/actionModeEditActive");
|
|
800
815
|
}
|
|
@@ -803,18 +818,18 @@ sap.ui.define([
|
|
|
803
818
|
this._addTileActions(oVisualization, (oPageData ? oPageData.id : ""));
|
|
804
819
|
|
|
805
820
|
// dynamic decision on displaying the move Tile action
|
|
806
|
-
oVisualization.attachBeforeActionSheetOpen(
|
|
807
|
-
|
|
821
|
+
oVisualization.attachBeforeActionSheetOpen(() => {
|
|
822
|
+
const oButton = this._createMoveTileActionButton(oVisualization, oPageData);
|
|
808
823
|
if (oButton) {
|
|
809
|
-
oVisualization.attachEventOnce("afterActionSheetClose",
|
|
824
|
+
oVisualization.attachEventOnce("afterActionSheetClose", () => {
|
|
810
825
|
oVisualization.removeTileAction(oButton);
|
|
811
826
|
});
|
|
812
827
|
}
|
|
813
|
-
}
|
|
828
|
+
});
|
|
814
829
|
|
|
815
830
|
// the path looks like "/pages/0/sections/0/visualizations/0"
|
|
816
|
-
|
|
817
|
-
|
|
831
|
+
const sPagePathIndex = context.getPath().split("/")[2];
|
|
832
|
+
const bActive = !!StateManager.getPageVisibility(`/pages/${sPagePathIndex}`);
|
|
818
833
|
oVisualization.setActive(bActive);
|
|
819
834
|
|
|
820
835
|
return oVisualization;
|
|
@@ -833,15 +848,15 @@ sap.ui.define([
|
|
|
833
848
|
* @since 1.85
|
|
834
849
|
*/
|
|
835
850
|
_addTileActions: function (oVizInstance, sPageId) {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
851
|
+
const aAvailableDisplayFormats = oVizInstance.getAvailableDisplayFormats();
|
|
852
|
+
const bPersonalizationEnabled = Config.last("/core/shell/enablePersonalization");
|
|
853
|
+
const bMyHomeEnabled = this._isMyHomeEnabled();
|
|
854
|
+
const bIsMyHome = sPageId === this._sMyHomePageId;
|
|
840
855
|
|
|
841
856
|
if (bPersonalizationEnabled || bIsMyHome) {
|
|
842
|
-
for (
|
|
857
|
+
for (let i = 0; i < aAvailableDisplayFormats.length; i++) {
|
|
843
858
|
oVizInstance.addTileAction(new Button({
|
|
844
|
-
text:
|
|
859
|
+
text: `{i18n>VisualizationInstance.ConvertTo${capitalize(aAvailableDisplayFormats[i])}Action}`,
|
|
845
860
|
press: [aAvailableDisplayFormats[i], this._updateVisualizationDisplayFormat, this]
|
|
846
861
|
}));
|
|
847
862
|
}
|
|
@@ -865,13 +880,13 @@ sap.ui.define([
|
|
|
865
880
|
* @since 1.107.0
|
|
866
881
|
*/
|
|
867
882
|
_createMoveTileActionButton: function (oVizInstance, oPageData) {
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
883
|
+
const sPageId = (oPageData ? oPageData.id : "");
|
|
884
|
+
const bIsMyHome = (sPageId === this._sMyHomePageId);
|
|
885
|
+
const bPersonalizationEnabled = Config.last("/core/shell/enablePersonalization");
|
|
886
|
+
const aPersonalizableSections = oPageData.sections.filter((oSection) => { return !oSection.default; });
|
|
887
|
+
const bTileIsInDefaultSection = oVizInstance.getParent().getBindingContext().getProperty("default");
|
|
873
888
|
if ((bPersonalizationEnabled || bIsMyHome) && (aPersonalizableSections.length >= (bTileIsInDefaultSection ? 1 : 2))) {
|
|
874
|
-
|
|
889
|
+
const oButton = new Button({
|
|
875
890
|
text: resources.i18n.getText("moveTile_action"),
|
|
876
891
|
press: [oVizInstance, this._openMoveVisualizationDialog, this]
|
|
877
892
|
});
|
|
@@ -930,11 +945,11 @@ sap.ui.define([
|
|
|
930
945
|
* @private
|
|
931
946
|
*/
|
|
932
947
|
_addToMyHome: function (oEvent, oVizInstance) {
|
|
933
|
-
|
|
948
|
+
const oVizData = oVizInstance.getBindingContext().getObject();
|
|
934
949
|
|
|
935
|
-
return this.getOwnerComponent().getPagesService().then(
|
|
950
|
+
return this.getOwnerComponent().getPagesService().then((oPagesService) => {
|
|
936
951
|
return oPagesService.copyVisualization(this._sMyHomePageId, null, oVizData);
|
|
937
|
-
}
|
|
952
|
+
}).then(() => {
|
|
938
953
|
MessageToast.show(resources.i18n.getText("PageRuntime.Message.VisualizationAddedToMyHome"));
|
|
939
954
|
});
|
|
940
955
|
},
|
|
@@ -948,37 +963,37 @@ sap.ui.define([
|
|
|
948
963
|
* @returns {Promise<undefined>} Resolves after the Visualization is moved.
|
|
949
964
|
*/
|
|
950
965
|
_confirmSelect: function (oEvent) {
|
|
951
|
-
|
|
952
|
-
|
|
966
|
+
const oVizInstanceToBeMovedContextPath = this._oVizInstanceToBeMoved.getBindingContext().getPath();
|
|
967
|
+
const aVizInstancePathParts = oVizInstanceToBeMovedContextPath.split("/");
|
|
953
968
|
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
969
|
+
const iPageIndex = aVizInstancePathParts[2];
|
|
970
|
+
const iCurrentSectionIndex = aVizInstancePathParts[4];
|
|
971
|
+
const iCurrentVizIndex = aVizInstancePathParts[6];
|
|
957
972
|
|
|
958
|
-
|
|
959
|
-
|
|
973
|
+
const sTargetPath = oEvent.getParameter("selectedItem").getBindingContext().getPath();
|
|
974
|
+
const aTargetPathParts = sTargetPath.split("/");
|
|
960
975
|
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
976
|
+
const iTargetSectionIndex = aTargetPathParts[4];
|
|
977
|
+
const oSourceSection = this._getAncestorControl(this._oVizInstanceToBeMoved, "sap.ushell.ui.launchpad.Section");
|
|
978
|
+
const oPage = this._getAncestorControl(this._oVizInstanceToBeMoved, "sap.ushell.ui.launchpad.Page");
|
|
979
|
+
const aSections = oPage.getSections();
|
|
980
|
+
const oTargetSection = aSections[iTargetSectionIndex];
|
|
981
|
+
const sArea = oSourceSection.getItemPosition(this._oVizInstanceToBeMoved).area;
|
|
967
982
|
|
|
968
983
|
this._oVizInstanceToBeMoved = null;
|
|
969
|
-
|
|
984
|
+
const oComponent = this.getOwnerComponent();
|
|
970
985
|
return oComponent.getPagesService()
|
|
971
|
-
.then(
|
|
986
|
+
.then((oPagesService) => {
|
|
972
987
|
return oPagesService.moveVisualization(iPageIndex, iCurrentSectionIndex, iCurrentVizIndex, iTargetSectionIndex, -1);
|
|
973
988
|
})
|
|
974
|
-
.then(
|
|
975
|
-
|
|
989
|
+
.then((oResult) => {
|
|
990
|
+
const oViz = oTargetSection.getVisualizations()[oResult.visualizationIndex];
|
|
976
991
|
if (oViz) {
|
|
977
992
|
oTargetSection.focusVisualization(oViz);
|
|
978
993
|
}
|
|
979
|
-
|
|
994
|
+
const sMessage = this._getVizMoveMessage(iCurrentSectionIndex, iTargetSectionIndex, sArea, sArea);
|
|
980
995
|
MessageToast.show(sMessage);
|
|
981
|
-
}
|
|
996
|
+
});
|
|
982
997
|
},
|
|
983
998
|
|
|
984
999
|
/**
|
|
@@ -986,10 +1001,10 @@ sap.ui.define([
|
|
|
986
1001
|
* @param {sap.ui.base.Event} oEvent SAP UI5 event object.
|
|
987
1002
|
*/
|
|
988
1003
|
_onMoveTileSearch: function (oEvent) {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1004
|
+
const sValue = oEvent.getParameter("value");
|
|
1005
|
+
const oFilter = new Filter("title", FilterOperator.Contains, sValue);
|
|
1006
|
+
const oDefaultGroupFilter = new Filter("default", FilterOperator.EQ, false);
|
|
1007
|
+
const oBinding = oEvent.getParameter("itemsBinding");
|
|
993
1008
|
oBinding.filter([oFilter, oDefaultGroupFilter]);
|
|
994
1009
|
},
|
|
995
1010
|
|
|
@@ -1012,9 +1027,9 @@ sap.ui.define([
|
|
|
1012
1027
|
* @since 1.111
|
|
1013
1028
|
*/
|
|
1014
1029
|
_getVizInstanceById: function (sPageId, sSectionId, sVizRefId) {
|
|
1015
|
-
|
|
1030
|
+
const oNavContainer = this.byId("pagesNavContainer");
|
|
1016
1031
|
|
|
1017
|
-
|
|
1032
|
+
const oMatchingPage = oNavContainer.getPages().find((oPage) => {
|
|
1018
1033
|
return oPage.getBindingContext().getObject().id === sPageId;
|
|
1019
1034
|
});
|
|
1020
1035
|
|
|
@@ -1022,8 +1037,8 @@ sap.ui.define([
|
|
|
1022
1037
|
return null;
|
|
1023
1038
|
}
|
|
1024
1039
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1040
|
+
const oLaunchpadPage = oMatchingPage.getContent()[0];
|
|
1041
|
+
const oMatchingSection = oLaunchpadPage.getSections().find((oSection) => {
|
|
1027
1042
|
return oSection.getBindingContext().getObject().id === sSectionId;
|
|
1028
1043
|
});
|
|
1029
1044
|
|
|
@@ -1031,7 +1046,7 @@ sap.ui.define([
|
|
|
1031
1046
|
return null;
|
|
1032
1047
|
}
|
|
1033
1048
|
|
|
1034
|
-
|
|
1049
|
+
const oMatchingVisualization = oMatchingSection.getVisualizations().find((oVisualization) => {
|
|
1035
1050
|
return oVisualization.getBindingContext().getObject().id === sVizRefId;
|
|
1036
1051
|
});
|
|
1037
1052
|
|
|
@@ -1051,32 +1066,32 @@ sap.ui.define([
|
|
|
1051
1066
|
* @since 1.84
|
|
1052
1067
|
*/
|
|
1053
1068
|
_updateVisualizationDisplayFormat: function (oEvent, sNewDisplayFormatHint) {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1069
|
+
const oContext = oEvent.getSource().getBindingContext();
|
|
1070
|
+
const sPath = oContext.getPath();
|
|
1071
|
+
const aPathParts = sPath.split("/");
|
|
1072
|
+
let sOldDisplayFormatHint;
|
|
1073
|
+
const iCurrentSectionIndex = aPathParts[4];
|
|
1074
|
+
const iTargetSectionIndex = aPathParts[4];
|
|
1075
|
+
|
|
1076
|
+
const oComponent = this.getOwnerComponent();
|
|
1062
1077
|
return oComponent.getPagesService()
|
|
1063
|
-
.then(
|
|
1078
|
+
.then((oPagesService) => {
|
|
1064
1079
|
sOldDisplayFormatHint = oPagesService.getModel().getProperty(sPath).displayFormatHint;
|
|
1065
|
-
|
|
1080
|
+
const oVizData = {
|
|
1066
1081
|
displayFormatHint: sNewDisplayFormatHint
|
|
1067
1082
|
};
|
|
1068
1083
|
// pageIndex, sectionIndex, visualizationIndex
|
|
1069
1084
|
return oPagesService.updateVisualization(aPathParts[2], aPathParts[4], aPathParts[6], oVizData);
|
|
1070
1085
|
})
|
|
1071
|
-
.then(
|
|
1072
|
-
|
|
1073
|
-
|
|
1086
|
+
.then((oData) => {
|
|
1087
|
+
const oVizInstance = this._getVizInstanceById(oData.pageId, oData.sectionId, oData.vizRefId);
|
|
1088
|
+
const oSection = this._getAncestorControl(oVizInstance, "sap.ushell.ui.launchpad.Section");
|
|
1074
1089
|
if (oSection) {
|
|
1075
1090
|
oSection.focusVisualization(oVizInstance);
|
|
1076
1091
|
}
|
|
1077
|
-
|
|
1092
|
+
const sMessage = this._getVizMoveMessage(iCurrentSectionIndex, iTargetSectionIndex, sOldDisplayFormatHint, sNewDisplayFormatHint);
|
|
1078
1093
|
MessageToast.show(sMessage);
|
|
1079
|
-
}
|
|
1094
|
+
});
|
|
1080
1095
|
},
|
|
1081
1096
|
|
|
1082
1097
|
/**
|
|
@@ -1089,21 +1104,21 @@ sap.ui.define([
|
|
|
1089
1104
|
* @private
|
|
1090
1105
|
*/
|
|
1091
1106
|
onVisualizationPress: function (oEvent) {
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1107
|
+
const sScope = oEvent.getParameter("scope");
|
|
1108
|
+
const sAction = oEvent.getParameter("action");
|
|
1109
|
+
const oVisualization = oEvent.getSource();
|
|
1110
|
+
const oContext = oVisualization.getBindingContext();
|
|
1111
|
+
const sPath = oContext.getPath();
|
|
1112
|
+
const aPathParts = sPath.split("/");
|
|
1113
|
+
const oSection = this._getAncestorControl(oVisualization, "sap.ushell.ui.launchpad.Section");
|
|
1099
1114
|
|
|
1100
1115
|
if (sScope === "Display" && sAction === "Press") {
|
|
1101
1116
|
// This scope & action will probably lead to an application to be loaded
|
|
1102
1117
|
// With this the StateManager will refresh the visualization once navigating back to the launchpad
|
|
1103
1118
|
StateManager.addVisualizationForRefresh(oVisualization);
|
|
1104
1119
|
} else if (sScope === "Actions" && sAction === "Remove") {
|
|
1105
|
-
return this.getOwnerComponent().getPagesService().then(
|
|
1106
|
-
|
|
1120
|
+
return this.getOwnerComponent().getPagesService().then((oPagesService) => {
|
|
1121
|
+
const oOldPosition = oSection.getItemPosition(oVisualization);
|
|
1107
1122
|
// pageIndex, sectionIndex, visualizationIndex
|
|
1108
1123
|
oPagesService.deleteVisualization(aPathParts[2], aPathParts[4], aPathParts[6]);
|
|
1109
1124
|
MessageToast.show(resources.i18n.getText("PageRuntime.Message.VisualizationRemoved"));
|
|
@@ -1128,9 +1143,10 @@ sap.ui.define([
|
|
|
1128
1143
|
this.oEventHubListener.off();
|
|
1129
1144
|
this._oEventBus.unsubscribe("launchpad", "shellFloatingContainerIsDocked", this._handleUshellContainerDocked, this);
|
|
1130
1145
|
this._oEventBus.unsubscribe("launchpad", "shellFloatingContainerIsUnDocked", this._handleUshellContainerDocked, this);
|
|
1146
|
+
NavigationState.detachNavigationStateChanged(this._handleNavigationStateChanged, this);
|
|
1131
1147
|
StateManager.exit();
|
|
1132
1148
|
|
|
1133
|
-
|
|
1149
|
+
const oActionModeButton = Element.getElementById("ActionModeBtn");
|
|
1134
1150
|
if (oActionModeButton) {
|
|
1135
1151
|
oActionModeButton.destroy();
|
|
1136
1152
|
}
|
|
@@ -1143,7 +1159,7 @@ sap.ui.define([
|
|
|
1143
1159
|
* @since 1.84.0
|
|
1144
1160
|
*/
|
|
1145
1161
|
_hideActionModeButton: function () {
|
|
1146
|
-
|
|
1162
|
+
const oActionModeButton = Element.getElementById("ActionModeBtn");
|
|
1147
1163
|
Log.debug("cep/editMode: hide Action Mode Button", "Page runtime");
|
|
1148
1164
|
if (oActionModeButton) {
|
|
1149
1165
|
oActionModeButton.setVisible(false);
|
|
@@ -1157,7 +1173,7 @@ sap.ui.define([
|
|
|
1157
1173
|
* @since 1.84.0
|
|
1158
1174
|
*/
|
|
1159
1175
|
_showActionModeButton: function () {
|
|
1160
|
-
|
|
1176
|
+
const oActionModeButton = Element.getElementById("ActionModeBtn");
|
|
1161
1177
|
if (oActionModeButton) {
|
|
1162
1178
|
oActionModeButton.setVisible(true);
|
|
1163
1179
|
}
|
|
@@ -1171,8 +1187,8 @@ sap.ui.define([
|
|
|
1171
1187
|
* @private
|
|
1172
1188
|
*/
|
|
1173
1189
|
_moveEditActionToHeader: function () {
|
|
1174
|
-
|
|
1175
|
-
|
|
1190
|
+
const oRenderer = Container.getRendererInternal("fiori2");
|
|
1191
|
+
const bMoveEditButtonToHeader = oRenderer.getShellConfig().moveEditHomePageActionToShellHeader;
|
|
1176
1192
|
// Move the action to the header only if personalization is enabled.
|
|
1177
1193
|
// Otherwise, the action "Add Tiles To My Home" is always rendered in user menu and never as a shell button.
|
|
1178
1194
|
// See _setActionModeLogic() and _setActionButtonText().
|
|
@@ -1189,9 +1205,9 @@ sap.ui.define([
|
|
|
1189
1205
|
* @since 1.86.0
|
|
1190
1206
|
*/
|
|
1191
1207
|
_createActionModeButton: function (sPageTitle) {
|
|
1192
|
-
|
|
1208
|
+
const sButtonText = sPageTitle ? resources.i18n.getText("PageRuntime.EditModeForPage.Activate", [sPageTitle])
|
|
1193
1209
|
: resources.i18n.getText("PageRuntime.EditMode.Activate");
|
|
1194
|
-
|
|
1210
|
+
const oActionButtonObjectData = {
|
|
1195
1211
|
id: "ActionModeBtn",
|
|
1196
1212
|
text: sButtonText,
|
|
1197
1213
|
icon: "sap-icon://edit",
|
|
@@ -1215,15 +1231,29 @@ sap.ui.define([
|
|
|
1215
1231
|
* @since 1.86.0
|
|
1216
1232
|
*/
|
|
1217
1233
|
_createHeaderActionModeButton: function (oActionButtonObjectData) {
|
|
1218
|
-
|
|
1219
|
-
|
|
1234
|
+
let sRequirePath = "sap/ushell/ui/shell/ShellHeadItem";
|
|
1235
|
+
if (Config.last("/core/shellBar/enabled")) {
|
|
1236
|
+
sRequirePath = "sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem";
|
|
1237
|
+
if (oActionButtonObjectData.press) {
|
|
1238
|
+
oActionButtonObjectData.click = oActionButtonObjectData.press;
|
|
1239
|
+
delete oActionButtonObjectData.press; // remove press handler, since it is not used in ShellBarItem
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
sap.ui.require([sRequirePath], (ShellHeadItem) => {
|
|
1244
|
+
const oActionsButton = new ShellHeadItem(oActionButtonObjectData);
|
|
1220
1245
|
if (Config.last("/core/extension/enableHelp")) {
|
|
1221
1246
|
oActionsButton.addStyleClass("help-id-ActionModeBtn"); // xRay help ID
|
|
1247
|
+
oActionsButton.addCustomData(new CustomData({
|
|
1248
|
+
key: "help-id",
|
|
1249
|
+
value: "ActionModeBtn",
|
|
1250
|
+
writeToDom: true
|
|
1251
|
+
}));
|
|
1222
1252
|
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1253
|
+
const oRenderer = Container.getRendererInternal("fiori2");
|
|
1254
|
+
const oStateInfo = this._getStateInfoActionModeButton();
|
|
1225
1255
|
oRenderer.showHeaderEndItem(oActionsButton.getId(), oStateInfo.bCurrentState, oStateInfo.aStates);
|
|
1226
|
-
}
|
|
1256
|
+
});
|
|
1227
1257
|
},
|
|
1228
1258
|
|
|
1229
1259
|
/**
|
|
@@ -1263,7 +1293,7 @@ sap.ui.define([
|
|
|
1263
1293
|
* @since 1.74.0
|
|
1264
1294
|
*/
|
|
1265
1295
|
_createUserActionModeButton: function (oActionModeButtonObjectData) {
|
|
1266
|
-
|
|
1296
|
+
const oStateInfo = this._getStateInfoActionModeButton();
|
|
1267
1297
|
/*
|
|
1268
1298
|
* Workaround:
|
|
1269
1299
|
* For workzone the button is added via currentState. With this it gets destroyed when navigating to a different state.
|
|
@@ -1273,21 +1303,21 @@ sap.ui.define([
|
|
|
1273
1303
|
*/
|
|
1274
1304
|
new ActionItem(oActionModeButtonObjectData);
|
|
1275
1305
|
|
|
1276
|
-
|
|
1306
|
+
const oAddActionButtonParameters = {
|
|
1277
1307
|
controlType: "sap.ushell.ui.launchpad.ActionItem",
|
|
1278
1308
|
oControlProperties: oActionModeButtonObjectData,
|
|
1279
1309
|
bIsVisible: true,
|
|
1280
1310
|
bCurrentState: oStateInfo.bCurrentState,
|
|
1281
1311
|
aStates: oStateInfo.aStates
|
|
1282
1312
|
};
|
|
1283
|
-
|
|
1284
|
-
oRenderer.addUserAction(oAddActionButtonParameters).done(
|
|
1313
|
+
const oRenderer = Container.getRendererInternal("fiori2");
|
|
1314
|
+
oRenderer.addUserAction(oAddActionButtonParameters).done((oActionButton) => {
|
|
1285
1315
|
// if xRay is enabled
|
|
1286
1316
|
if (Config.last("/core/extension/enableHelp")) {
|
|
1287
1317
|
oActionButton.addStyleClass("help-id-ActionModeBtn");// xRay help ID
|
|
1288
1318
|
}
|
|
1289
1319
|
this._setActionButtonText();
|
|
1290
|
-
}
|
|
1320
|
+
});
|
|
1291
1321
|
},
|
|
1292
1322
|
|
|
1293
1323
|
/**
|
|
@@ -1304,14 +1334,14 @@ sap.ui.define([
|
|
|
1304
1334
|
|
|
1305
1335
|
sap.ui.require([
|
|
1306
1336
|
"sap/ushell/components/pages/ActionMode"
|
|
1307
|
-
],
|
|
1337
|
+
], (ActionMode) => {
|
|
1308
1338
|
if (bActionModeActive) {
|
|
1309
1339
|
ActionMode.cancel();
|
|
1310
1340
|
return;
|
|
1311
1341
|
} else if (bPersonalizationEnabled || bAddToMyHomeOnly || this._isMyHomeRouteActive()) {
|
|
1312
1342
|
ActionMode.start(this, bAddToMyHomeOnly ? resources.i18n.getText("PageRuntime.EditMode.ExitAddTilesMode") : null);
|
|
1313
1343
|
}
|
|
1314
|
-
}
|
|
1344
|
+
});
|
|
1315
1345
|
},
|
|
1316
1346
|
|
|
1317
1347
|
/**
|
|
@@ -1321,11 +1351,11 @@ sap.ui.define([
|
|
|
1321
1351
|
* @since 1.84.0
|
|
1322
1352
|
*/
|
|
1323
1353
|
_cancelActionMode: function () {
|
|
1324
|
-
|
|
1354
|
+
const bActionModeActive = this.getView().getModel("viewSettings").getProperty("/actionModeActive");
|
|
1325
1355
|
if (bActionModeActive) {
|
|
1326
1356
|
sap.ui.require([
|
|
1327
1357
|
"sap/ushell/components/pages/ActionMode"
|
|
1328
|
-
],
|
|
1358
|
+
], (ActionMode) => {
|
|
1329
1359
|
ActionMode.cancel();
|
|
1330
1360
|
});
|
|
1331
1361
|
}
|
|
@@ -1340,11 +1370,11 @@ sap.ui.define([
|
|
|
1340
1370
|
* @since 1.74.0
|
|
1341
1371
|
*/
|
|
1342
1372
|
handleEditModeAction: function (sHandler, oEvent) {
|
|
1343
|
-
|
|
1344
|
-
|
|
1373
|
+
const oSource = oEvent.getSource();
|
|
1374
|
+
const oParameters = oEvent.getParameters();
|
|
1345
1375
|
sap.ui.require([
|
|
1346
1376
|
"sap/ushell/components/pages/ActionMode"
|
|
1347
|
-
],
|
|
1377
|
+
], (ActionMode) => {
|
|
1348
1378
|
Log.debug("cep/editMode: handle Edit Mode Action", "Page runtime");
|
|
1349
1379
|
ActionMode[sHandler](oEvent, oSource, oParameters);
|
|
1350
1380
|
});
|
|
@@ -1377,27 +1407,27 @@ sap.ui.define([
|
|
|
1377
1407
|
* @since 1.75.0
|
|
1378
1408
|
*/
|
|
1379
1409
|
moveVisualization: function (oEvent) {
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1410
|
+
const oDragged = oEvent.getParameter("draggedControl");
|
|
1411
|
+
let oDropped = oEvent.getParameter("droppedControl");
|
|
1412
|
+
let sDropPosition = oEvent.getParameter("dropPosition");
|
|
1413
|
+
const oBrowserEvent = oEvent.getParameter("browserEvent");
|
|
1414
|
+
const sKeyCode = oBrowserEvent && oBrowserEvent.keyCode;
|
|
1415
|
+
const oPage = this._getAncestorControl(oDragged, "sap.ushell.ui.launchpad.Page");
|
|
1416
|
+
const iPageIndex = parseInt(oDragged.getBindingContext().getPath().split("/")[2], 10);
|
|
1417
|
+
const oCurrentSection = this._getAncestorControl(oDragged, "sap.ushell.ui.launchpad.Section");
|
|
1418
|
+
const iCurrentSectionIndex = oPage.indexOfSection(oCurrentSection);
|
|
1419
|
+
const iCurrentVizIndex = oCurrentSection.indexOfVisualization(oDragged);
|
|
1420
|
+
const oCurrentViz = oCurrentSection.getVisualizations()[iCurrentVizIndex];
|
|
1421
|
+
const oCurrentPos = oCurrentSection.getItemPosition(oCurrentViz);
|
|
1422
|
+
let oTargetSection;
|
|
1423
|
+
let iTargetSectionIndex;
|
|
1424
|
+
let iTargetVizIndex;
|
|
1425
|
+
let oTargetViz;
|
|
1426
|
+
let oTargetPos;
|
|
1397
1427
|
|
|
1398
1428
|
if (!oDropped) { // Target is an empty area of the section or an inner compactArea dnd (only happens during keyboard dnd)
|
|
1399
|
-
|
|
1400
|
-
|
|
1429
|
+
const bUp = oEvent.mParameters.browserEvent.keyCode === KeyCodes.ARROW_UP;
|
|
1430
|
+
const aSection = oPage.getSections();
|
|
1401
1431
|
iTargetSectionIndex = iCurrentSectionIndex;
|
|
1402
1432
|
|
|
1403
1433
|
while (true) {
|
|
@@ -1422,7 +1452,7 @@ sap.ui.define([
|
|
|
1422
1452
|
} else {
|
|
1423
1453
|
// when dropping on the CompactArea, pretend it was dropped after its last item
|
|
1424
1454
|
if (oDropped.isA("sap.ushell.ui.launchpad.section.CompactArea")) {
|
|
1425
|
-
|
|
1455
|
+
const aItems = oDropped.getItems();
|
|
1426
1456
|
if (aItems.length) {
|
|
1427
1457
|
oDropped = aItems[aItems.length - 1];
|
|
1428
1458
|
sDropPosition = "After";
|
|
@@ -1467,10 +1497,10 @@ sap.ui.define([
|
|
|
1467
1497
|
iTargetVizIndex++;
|
|
1468
1498
|
}
|
|
1469
1499
|
|
|
1470
|
-
|
|
1471
|
-
|
|
1500
|
+
let oPagesService;
|
|
1501
|
+
const oComponent = this.getOwnerComponent();
|
|
1472
1502
|
return oComponent.getPagesService()
|
|
1473
|
-
.then(
|
|
1503
|
+
.then((oService) => {
|
|
1474
1504
|
oPagesService = oService;
|
|
1475
1505
|
oPagesService.enableImplicitSave(false);
|
|
1476
1506
|
return oPagesService.moveVisualization(
|
|
@@ -1481,29 +1511,29 @@ sap.ui.define([
|
|
|
1481
1511
|
iTargetVizIndex
|
|
1482
1512
|
);
|
|
1483
1513
|
})
|
|
1484
|
-
.then(
|
|
1514
|
+
.then((oResult) => {
|
|
1485
1515
|
iTargetVizIndex = oResult.visualizationIndex;
|
|
1486
1516
|
if (oCurrentPos.area !== oTargetPos.area) {
|
|
1487
|
-
|
|
1517
|
+
const oVizData = {
|
|
1488
1518
|
displayFormatHint: oTargetPos.area
|
|
1489
1519
|
};
|
|
1490
1520
|
return oPagesService.updateVisualization(iPageIndex, iTargetSectionIndex, iTargetVizIndex, oVizData);
|
|
1491
1521
|
}
|
|
1492
1522
|
return Promise.resolve();
|
|
1493
1523
|
})
|
|
1494
|
-
.then(
|
|
1524
|
+
.then(() => {
|
|
1495
1525
|
return oPagesService.savePersonalization();
|
|
1496
1526
|
})
|
|
1497
|
-
.then(
|
|
1498
|
-
|
|
1527
|
+
.then(() => {
|
|
1528
|
+
const oViz = oTargetSection.getVisualizations()[iTargetVizIndex];
|
|
1499
1529
|
if (oViz) {
|
|
1500
1530
|
oTargetSection.focusVisualization(oViz);
|
|
1501
1531
|
oViz.invalidate();
|
|
1502
1532
|
}
|
|
1503
|
-
|
|
1533
|
+
const sMessage = this._getVizMoveMessage(iCurrentSectionIndex, iTargetSectionIndex, oCurrentPos.area, oTargetPos.area);
|
|
1504
1534
|
MessageToast.show(sMessage);
|
|
1505
|
-
}
|
|
1506
|
-
.finally(
|
|
1535
|
+
})
|
|
1536
|
+
.finally(() => {
|
|
1507
1537
|
oPagesService.enableImplicitSave(true);
|
|
1508
1538
|
});
|
|
1509
1539
|
},
|
|
@@ -1541,7 +1571,7 @@ sap.ui.define([
|
|
|
1541
1571
|
* @since 1.75.0
|
|
1542
1572
|
*/
|
|
1543
1573
|
onDragEnter: function (oEvent) {
|
|
1544
|
-
|
|
1574
|
+
const oTargetSection = oEvent.getParameter("dragSession").getDropControl();
|
|
1545
1575
|
|
|
1546
1576
|
if (oTargetSection.getDefault()) {
|
|
1547
1577
|
oEvent.preventDefault();
|
|
@@ -1557,16 +1587,16 @@ sap.ui.define([
|
|
|
1557
1587
|
* @since 1.84.0
|
|
1558
1588
|
*/
|
|
1559
1589
|
onAreaDragEnter: function (oEvent) {
|
|
1560
|
-
|
|
1561
|
-
|
|
1590
|
+
const sSourceArea = oEvent.getParameter("sourceArea");
|
|
1591
|
+
const sTargetArea = oEvent.getParameter("targetArea");
|
|
1562
1592
|
|
|
1563
1593
|
// same area means no change of the display format
|
|
1564
1594
|
if (sSourceArea === sTargetArea) {
|
|
1565
1595
|
return;
|
|
1566
1596
|
}
|
|
1567
1597
|
|
|
1568
|
-
|
|
1569
|
-
|
|
1598
|
+
const oVizInstance = oEvent.getParameter("dragControl");
|
|
1599
|
+
const aAvailableDisplayFormats = oVizInstance.getAvailableDisplayFormats();
|
|
1570
1600
|
|
|
1571
1601
|
if (aAvailableDisplayFormats.indexOf(sTargetArea) === -1) {
|
|
1572
1602
|
// VizInstance only supports standardWide
|
|
@@ -1610,9 +1640,9 @@ sap.ui.define([
|
|
|
1610
1640
|
* @private
|
|
1611
1641
|
*/
|
|
1612
1642
|
_getMyHomePageData: function () {
|
|
1613
|
-
|
|
1643
|
+
const aPages = this.getView().getModel().getProperty("/pages") || [];
|
|
1614
1644
|
const sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
|
|
1615
|
-
for (
|
|
1645
|
+
for (let i = 0; i < aPages.length; i++) {
|
|
1616
1646
|
if (aPages[i] && aPages[i].id === sMyHomePageId) {
|
|
1617
1647
|
return aPages[i];
|
|
1618
1648
|
}
|
|
@@ -1625,10 +1655,10 @@ sap.ui.define([
|
|
|
1625
1655
|
* @private
|
|
1626
1656
|
*/
|
|
1627
1657
|
_isMyHomePageEmpty: function () {
|
|
1628
|
-
|
|
1658
|
+
const oPage = this._getMyHomePageData();
|
|
1629
1659
|
if (oPage && oPage.sections) {
|
|
1630
|
-
return oPage.sections.every(
|
|
1631
|
-
|
|
1660
|
+
return oPage.sections.every((oSection) => {
|
|
1661
|
+
const aViz = oSection.visualizations;
|
|
1632
1662
|
return !(aViz && aViz.length); // all sections must be empty
|
|
1633
1663
|
});
|
|
1634
1664
|
}
|
|
@@ -1670,7 +1700,7 @@ sap.ui.define([
|
|
|
1670
1700
|
|
|
1671
1701
|
if (!bIsImportEnabled) {
|
|
1672
1702
|
if (this._pMessageStrip) { // do not show the message strip after user dismissed it
|
|
1673
|
-
this._pMessageStrip.then(
|
|
1703
|
+
this._pMessageStrip.then((messageStrip) => {
|
|
1674
1704
|
messageStrip.setVisible(false);
|
|
1675
1705
|
});
|
|
1676
1706
|
}
|
|
@@ -1687,7 +1717,7 @@ sap.ui.define([
|
|
|
1687
1717
|
});
|
|
1688
1718
|
|
|
1689
1719
|
// In case the message strip visibility is managed in another place
|
|
1690
|
-
EventHub.on("importBookmarksFlag").do(
|
|
1720
|
+
EventHub.on("importBookmarksFlag").do((value) => {
|
|
1691
1721
|
oMessageStrip.setVisible(!!value);
|
|
1692
1722
|
});
|
|
1693
1723
|
oMessageStrip.addStyleClass("sapUiSmallMarginBottom");
|
|
@@ -1712,13 +1742,13 @@ sap.ui.define([
|
|
|
1712
1742
|
*/
|
|
1713
1743
|
openMyHomeImportDialog: function () {
|
|
1714
1744
|
if (!this._pLoadImportDialog) {
|
|
1715
|
-
this._pLoadImportDialog = new Promise(
|
|
1716
|
-
sap.ui.require(["sap/ushell/components/pages/controller/ImportDialog.controller"],
|
|
1745
|
+
this._pLoadImportDialog = new Promise((resolve, reject) => {
|
|
1746
|
+
sap.ui.require(["sap/ushell/components/pages/controller/ImportDialog.controller"], (ImportDialogController) => {
|
|
1717
1747
|
resolve(new ImportDialogController());
|
|
1718
1748
|
}, reject);
|
|
1719
1749
|
});
|
|
1720
1750
|
}
|
|
1721
|
-
return this._pLoadImportDialog.then(
|
|
1751
|
+
return this._pLoadImportDialog.then((oImportDialogController) => {
|
|
1722
1752
|
return oImportDialogController.open();
|
|
1723
1753
|
});
|
|
1724
1754
|
},
|
|
@@ -1738,7 +1768,7 @@ sap.ui.define([
|
|
|
1738
1768
|
*/
|
|
1739
1769
|
onMessageStripClose: function () {
|
|
1740
1770
|
MyHomeImport.setImportEnabled(false);
|
|
1741
|
-
sap.ui.require(["sap/m/MessageBox"],
|
|
1771
|
+
sap.ui.require(["sap/m/MessageBox"], (MessageBox) => {
|
|
1742
1772
|
MessageBox.information(resources.i18n.getText("MyHome.InitialPage.MessageStrip.Popup"));
|
|
1743
1773
|
});
|
|
1744
1774
|
},
|
|
@@ -1779,8 +1809,6 @@ sap.ui.define([
|
|
|
1779
1809
|
if (!aSections || aSections.length === 0) { return ""; }
|
|
1780
1810
|
if (!oCurrentSection) { return ""; }
|
|
1781
1811
|
|
|
1782
|
-
let iIndex;
|
|
1783
|
-
|
|
1784
1812
|
if (!bActionModeEditActive) {
|
|
1785
1813
|
// In display mode: filter out the hidden and empty sections as they are not displayed
|
|
1786
1814
|
aSections = aSections.filter((oSection) =>
|
|
@@ -1790,7 +1818,7 @@ sap.ui.define([
|
|
|
1790
1818
|
);
|
|
1791
1819
|
}
|
|
1792
1820
|
|
|
1793
|
-
iIndex = aSections.indexOf(oCurrentSection);
|
|
1821
|
+
const iIndex = aSections.indexOf(oCurrentSection);
|
|
1794
1822
|
|
|
1795
1823
|
if (iIndex < 0) { return ""; }
|
|
1796
1824
|
|
|
@@ -1855,7 +1883,7 @@ sap.ui.define([
|
|
|
1855
1883
|
*/
|
|
1856
1884
|
_formatPageTitle: function (pageTitle, spaceTitle, showPageTitle, showSpaceTitle) {
|
|
1857
1885
|
if (showPageTitle && showSpaceTitle) {
|
|
1858
|
-
return spaceTitle
|
|
1886
|
+
return `${spaceTitle} - ${pageTitle}`;
|
|
1859
1887
|
} else if (showSpaceTitle) {
|
|
1860
1888
|
return spaceTitle;
|
|
1861
1889
|
}
|