@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
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
"sap/ushell/Container",
|
|
15
15
|
"sap/ushell/library",
|
|
16
16
|
"sap/ushell/resources"
|
|
17
|
-
],
|
|
17
|
+
], (
|
|
18
18
|
Log,
|
|
19
19
|
mobileLibrary,
|
|
20
20
|
MessageBox,
|
|
@@ -28,19 +28,19 @@ sap.ui.define([
|
|
|
28
28
|
Container,
|
|
29
29
|
ushellLibrary,
|
|
30
30
|
resources
|
|
31
|
-
) {
|
|
31
|
+
) => {
|
|
32
32
|
"use strict";
|
|
33
33
|
|
|
34
34
|
// shortcut for sap.m.ButtonType
|
|
35
|
-
|
|
35
|
+
const ButtonType = mobileLibrary.ButtonType;
|
|
36
36
|
|
|
37
37
|
// shortcut for sap.ushell.ContentNodeType
|
|
38
|
-
|
|
38
|
+
const ContentNodeType = ushellLibrary.ContentNodeType;
|
|
39
39
|
|
|
40
40
|
// visualizationOrganizer Component
|
|
41
41
|
return UIComponent.extend("sap.ushell.components.visualizationOrganizer.Component", {
|
|
42
42
|
metadata: {
|
|
43
|
-
version: "1.
|
|
43
|
+
version: "1.139.0",
|
|
44
44
|
library: "sap.ushell",
|
|
45
45
|
dependencies: { libs: ["sap.m"] },
|
|
46
46
|
properties: {
|
|
@@ -67,19 +67,19 @@ sap.ui.define([
|
|
|
67
67
|
* @see _fillVizIdMaps
|
|
68
68
|
*/
|
|
69
69
|
requestData: function () {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
const bOnlyHomePage = !Config.last("/core/shell/enablePersonalization") && Config.last("/core/spaces/myHome/enabled");
|
|
71
|
+
const sMyHomePageId = Config.last("/core/spaces/myHome/myHomePageId");
|
|
72
72
|
return Container.getServiceAsync("CommonDataModel")
|
|
73
|
-
.then(
|
|
73
|
+
.then((oCommonDataModelService) => {
|
|
74
74
|
return oCommonDataModelService.getAllPages();
|
|
75
75
|
})
|
|
76
|
-
.then(
|
|
76
|
+
.then((aPages) => {
|
|
77
77
|
if (bOnlyHomePage) {
|
|
78
|
-
aPages = aPages.filter(
|
|
78
|
+
aPages = aPages.filter((oPage) => {
|
|
79
79
|
return oPage.identification.id === sMyHomePageId;
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
this.aPersonalizablePages = aPages.map(
|
|
82
|
+
this.aPersonalizablePages = aPages.map((oPage) => {
|
|
83
83
|
return {
|
|
84
84
|
id: oPage.identification.id,
|
|
85
85
|
title: oPage.identification.title
|
|
@@ -87,7 +87,7 @@ sap.ui.define([
|
|
|
87
87
|
});
|
|
88
88
|
this._fillVizIdMaps(aPages);
|
|
89
89
|
return this.aPersonalizablePages;
|
|
90
|
-
}
|
|
90
|
+
});
|
|
91
91
|
},
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -99,18 +99,18 @@ sap.ui.define([
|
|
|
99
99
|
*/
|
|
100
100
|
_fillVizIdMaps: function (aPages) {
|
|
101
101
|
this.mVizIdInPages = new Map();
|
|
102
|
-
aPages.forEach(
|
|
103
|
-
Object.keys(oPage.payload.sections).forEach(
|
|
104
|
-
Object.keys(oPage.payload.sections[sId].viz).forEach(
|
|
105
|
-
|
|
102
|
+
aPages.forEach((oPage) => {
|
|
103
|
+
Object.keys(oPage.payload.sections).forEach((sId) => {
|
|
104
|
+
Object.keys(oPage.payload.sections[sId].viz).forEach((vId) => {
|
|
105
|
+
const vizId = oPage.payload.sections[sId].viz[vId].vizId;
|
|
106
106
|
if (this.mVizIdInPages.has(vizId)) {
|
|
107
107
|
this.mVizIdInPages.get(vizId).add(oPage.identification.id);
|
|
108
108
|
} else {
|
|
109
109
|
this.mVizIdInPages.set(vizId, new Set([oPage.identification.id]));
|
|
110
110
|
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
114
|
},
|
|
115
115
|
|
|
116
116
|
/**
|
|
@@ -124,7 +124,7 @@ sap.ui.define([
|
|
|
124
124
|
if (bSectionContext) {
|
|
125
125
|
return this.stVizIdInSection.has(vizId);
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
const stPages = this.mVizIdInPages.get(vizId);
|
|
128
128
|
return !!(stPages && stPages.size);
|
|
129
129
|
},
|
|
130
130
|
|
|
@@ -155,9 +155,9 @@ sap.ui.define([
|
|
|
155
155
|
* @see isVizIdPresent
|
|
156
156
|
*/
|
|
157
157
|
formatPinButtonTooltip: function (vizId, sectionContext) {
|
|
158
|
-
|
|
158
|
+
const bIsVizIdPresent = this.isVizIdPresent(decodeURIComponent(vizId), !!sectionContext);
|
|
159
159
|
|
|
160
|
-
//No SectionContext
|
|
160
|
+
// No SectionContext
|
|
161
161
|
if (!sectionContext && bIsVizIdPresent) {
|
|
162
162
|
return resources.i18n.getText("EasyAccessMenu_PinButton_Toggled_Tooltip");
|
|
163
163
|
}
|
|
@@ -166,7 +166,7 @@ sap.ui.define([
|
|
|
166
166
|
return resources.i18n.getText("EasyAccessMenu_PinButton_UnToggled_Tooltip");
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
//SectionContext with sectionID
|
|
169
|
+
// SectionContext with sectionID
|
|
170
170
|
if (sectionContext.sectionID && bIsVizIdPresent) {
|
|
171
171
|
return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.RemoveFromSection");
|
|
172
172
|
}
|
|
@@ -175,7 +175,7 @@ sap.ui.define([
|
|
|
175
175
|
return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.AddToSection");
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
//SectionContext without sectionID
|
|
178
|
+
// SectionContext without sectionID
|
|
179
179
|
if (!sectionContext.sectionID && bIsVizIdPresent) {
|
|
180
180
|
return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.RemoveFromPage", [sectionContext.pageTitle]);
|
|
181
181
|
}
|
|
@@ -200,8 +200,8 @@ sap.ui.define([
|
|
|
200
200
|
* @see toggle
|
|
201
201
|
*/
|
|
202
202
|
onTilePinButtonClick: function (oEvent, oSectionContext) {
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
const oSource = oEvent.getSource();
|
|
204
|
+
const oTileData = oSource.getBindingContext().getProperty();
|
|
205
205
|
|
|
206
206
|
if (oSource.getBusy()) {
|
|
207
207
|
return Promise.resolve();
|
|
@@ -210,7 +210,7 @@ sap.ui.define([
|
|
|
210
210
|
if (oSectionContext) {
|
|
211
211
|
oSource.setBusy(true);
|
|
212
212
|
return this._applyOrganizationChangeToSection(oSource, oTileData, oSectionContext)
|
|
213
|
-
.then(
|
|
213
|
+
.then(() => {
|
|
214
214
|
oSource.setBusy(false);
|
|
215
215
|
});
|
|
216
216
|
}
|
|
@@ -218,7 +218,7 @@ sap.ui.define([
|
|
|
218
218
|
if (this.aPersonalizablePages.length === 1) {
|
|
219
219
|
oSource.setBusy(true);
|
|
220
220
|
return this._applyChangeToPage(oSource, oTileData, this.aPersonalizablePages[0])
|
|
221
|
-
.then(
|
|
221
|
+
.then(() => {
|
|
222
222
|
oSource.setBusy(false);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
@@ -236,26 +236,26 @@ sap.ui.define([
|
|
|
236
236
|
* @protected
|
|
237
237
|
*/
|
|
238
238
|
open: function (oOpenBy, oVizInfo) {
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
let oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
240
|
+
let oLoadPopover = Promise.resolve();
|
|
241
241
|
|
|
242
242
|
if (!oPopover) {
|
|
243
|
-
oLoadPopover = new Promise(
|
|
244
|
-
sap.ui.require(["sap/ui/core/Fragment"],
|
|
243
|
+
oLoadPopover = new Promise((resolve, reject) => {
|
|
244
|
+
sap.ui.require(["sap/ui/core/Fragment"], (Fragment) => {
|
|
245
245
|
Fragment.load({
|
|
246
246
|
name: "sap.ushell.components.visualizationOrganizer.VisualizationOrganizerPopover",
|
|
247
247
|
type: "XML",
|
|
248
248
|
controller: this
|
|
249
249
|
}).then(resolve).catch(reject);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
250
|
+
});
|
|
251
|
+
}).then((popover) => {
|
|
252
252
|
oPopover = popover;
|
|
253
253
|
oPopover.setModel(new JSONModel({ pages: [], searchTerm: "" }));
|
|
254
254
|
oPopover.setModel(resources.i18nModel, "i18n");
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
return oLoadPopover.then(
|
|
258
|
+
return oLoadPopover.then(() => {
|
|
259
259
|
this.oOpenBy = oOpenBy;
|
|
260
260
|
this.sVisualizationId = decodeURIComponent(oVizInfo.id);
|
|
261
261
|
this.sVisualizationTitle = oVizInfo.title;
|
|
@@ -266,14 +266,14 @@ sap.ui.define([
|
|
|
266
266
|
return Promise.all([
|
|
267
267
|
Container.getServiceAsync("Menu"),
|
|
268
268
|
Container.getServiceAsync("Pages")
|
|
269
|
-
]).then(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
269
|
+
]).then((aResults) => {
|
|
270
|
+
let oPageAssociation;
|
|
271
|
+
const oMenuService = aResults[0];
|
|
272
|
+
const oPagesService = aResults[1];
|
|
273
273
|
if (oVizInfo.isBookmark) {
|
|
274
274
|
oPageAssociation = oPagesService._findBookmarks({ url: oVizInfo.url })
|
|
275
|
-
.then(
|
|
276
|
-
|
|
275
|
+
.then((aAssociation) => {
|
|
276
|
+
const aPageIds = aAssociation.map((oFoundViz) => {
|
|
277
277
|
return oFoundViz.pageId;
|
|
278
278
|
});
|
|
279
279
|
return Promise.resolve(new Set(aPageIds));
|
|
@@ -286,22 +286,22 @@ sap.ui.define([
|
|
|
286
286
|
oMenuService.getContentNodes([ContentNodeType.Space, ContentNodeType.Page]),
|
|
287
287
|
oPageAssociation
|
|
288
288
|
]);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
}).then((aResults) => {
|
|
290
|
+
let aContentNodes = aResults[0];
|
|
291
|
+
const oPageIds = aResults[1];
|
|
292
292
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
const bOnlyHomePage = !Config.last("/core/shell/enablePersonalization") && Config.last("/core/spaces/myHome/enabled");
|
|
294
|
+
const sMyHomeSpaceId = Config.last("/core/spaces/myHome/myHomeSpaceId");
|
|
295
|
+
const aPages = [];
|
|
296
296
|
|
|
297
297
|
aContentNodes = this._filterPersonalizableContentNodes(aContentNodes);
|
|
298
298
|
|
|
299
|
-
aContentNodes.forEach(
|
|
299
|
+
aContentNodes.forEach((oContentNode) => {
|
|
300
300
|
if (bOnlyHomePage && oContentNode.id !== sMyHomeSpaceId) {
|
|
301
|
-
//In case of disabled personalization and enabled home page we need to show only home page
|
|
301
|
+
// In case of disabled personalization and enabled home page we need to show only home page
|
|
302
302
|
return;
|
|
303
303
|
}
|
|
304
|
-
oContentNode.children.forEach(
|
|
304
|
+
oContentNode.children.forEach((oChildNode) => {
|
|
305
305
|
if (!this._isPersonalizablePage(oChildNode.id)) {
|
|
306
306
|
// We cannot organize visualizations of unknown pages.
|
|
307
307
|
// So the page is disregarded.
|
|
@@ -314,18 +314,18 @@ sap.ui.define([
|
|
|
314
314
|
spaceId: oContentNode.id,
|
|
315
315
|
selected: oPageIds && oPageIds.has(oChildNode.id)
|
|
316
316
|
});
|
|
317
|
-
}
|
|
318
|
-
}
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
319
|
|
|
320
|
-
|
|
320
|
+
const oPopoverModel = oPopover.getModel();
|
|
321
321
|
oPopoverModel.setProperty("/pages", aPages);
|
|
322
322
|
oPopoverModel.setProperty("/pinnedPages", oPageIds);
|
|
323
323
|
|
|
324
324
|
this._updatePagesList();
|
|
325
325
|
|
|
326
326
|
oPopover.openBy(oOpenBy);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
327
|
+
});
|
|
328
|
+
});
|
|
329
329
|
},
|
|
330
330
|
|
|
331
331
|
/**
|
|
@@ -343,13 +343,13 @@ sap.ui.define([
|
|
|
343
343
|
if (!Array.isArray(aContentNodes)) {
|
|
344
344
|
return [];
|
|
345
345
|
}
|
|
346
|
-
return aContentNodes.reduce(
|
|
346
|
+
return aContentNodes.reduce((aNodes, oContentNode) => {
|
|
347
347
|
oContentNode.children = this._filterPersonalizableContentNodes(oContentNode.children);
|
|
348
348
|
if (oContentNode.type === ContentNodeType.HomepageGroup || oContentNode.type === ContentNodeType.Space || (oContentNode.type === ContentNodeType.Page && oContentNode.isContainer)) {
|
|
349
349
|
aNodes.push(oContentNode);
|
|
350
350
|
}
|
|
351
351
|
return aNodes;
|
|
352
|
-
}
|
|
352
|
+
}, []);
|
|
353
353
|
},
|
|
354
354
|
|
|
355
355
|
/**
|
|
@@ -359,8 +359,8 @@ sap.ui.define([
|
|
|
359
359
|
* @protected
|
|
360
360
|
*/
|
|
361
361
|
cancel: function () {
|
|
362
|
-
|
|
363
|
-
|
|
362
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
363
|
+
const oChangedItems = this._retrieveChangedPageIds();
|
|
364
364
|
|
|
365
365
|
if (oPopover && oChangedItems.deleteFromPageIds.length === 0 && oChangedItems.addToPageIds.length === 0) {
|
|
366
366
|
oPopover.close();
|
|
@@ -392,7 +392,7 @@ sap.ui.define([
|
|
|
392
392
|
* @protected
|
|
393
393
|
*/
|
|
394
394
|
toggle: function (oOpenBy, oVizInfo) {
|
|
395
|
-
|
|
395
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
396
396
|
// To really make the visualizationOrganizer toggleable, we need to know the last openBy control.
|
|
397
397
|
if (oPopover && oPopover.isOpen() && oPopover._oOpenBy && oPopover._oOpenBy.getId() === oOpenBy.getId()) {
|
|
398
398
|
this.cancel();
|
|
@@ -412,39 +412,39 @@ sap.ui.define([
|
|
|
412
412
|
* @private
|
|
413
413
|
*/
|
|
414
414
|
_applyOrganizationChangeToSection: function (oOpenBy, oVizInfo, oSectionContext) {
|
|
415
|
-
return Container.getServiceAsync("Pages").then(
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
415
|
+
return Container.getServiceAsync("Pages").then((oPageService) => {
|
|
416
|
+
let oVizChangeChain;
|
|
417
|
+
const sVizId = decodeURIComponent(oVizInfo.id);
|
|
418
|
+
const sVisualizationTitle = oVizInfo.title;
|
|
419
|
+
const sPageId = oSectionContext.pageID;
|
|
420
|
+
const sSectionId = oSectionContext.sectionID;
|
|
421
|
+
const sMessageToUser = this._getTextMsgSectionContext(oSectionContext, sVizId, sVisualizationTitle);
|
|
422
422
|
|
|
423
423
|
if (this.stVizIdInSection.has(sVizId)) {
|
|
424
|
-
oVizChangeChain = oPageService.findVisualization(sPageId, sSectionId, sVizId).then(
|
|
424
|
+
oVizChangeChain = oPageService.findVisualization(sPageId, sSectionId, sVizId).then((aVisualizationLocations) => {
|
|
425
425
|
if (aVisualizationLocations.length === 0) {
|
|
426
426
|
return Promise.resolve();
|
|
427
427
|
}
|
|
428
|
-
|
|
429
|
-
|
|
428
|
+
let oVizDeleteChain;
|
|
429
|
+
const iPageIndex = oPageService.getPageIndex(sPageId);
|
|
430
430
|
|
|
431
|
-
|
|
431
|
+
const aSortedVisualizationsPerSectionIndexes = aVisualizationLocations.sort((a, b) => {
|
|
432
432
|
return b.sectionIndex - a.sectionIndex;
|
|
433
433
|
});
|
|
434
434
|
|
|
435
|
-
aSortedVisualizationsPerSectionIndexes.forEach(
|
|
436
|
-
oVisualizationLocation.vizIndexes.sort(
|
|
435
|
+
aSortedVisualizationsPerSectionIndexes.forEach((oVisualizationLocation) => {
|
|
436
|
+
oVisualizationLocation.vizIndexes.sort((a, b) => {
|
|
437
437
|
return b - a;
|
|
438
438
|
});
|
|
439
439
|
});
|
|
440
440
|
|
|
441
|
-
aSortedVisualizationsPerSectionIndexes.forEach(
|
|
442
|
-
|
|
443
|
-
oVisualizationLocation.vizIndexes.forEach(
|
|
441
|
+
aSortedVisualizationsPerSectionIndexes.forEach((oVisualizationLocation) => {
|
|
442
|
+
const iSectionIndex = oVisualizationLocation.sectionIndex;
|
|
443
|
+
oVisualizationLocation.vizIndexes.forEach((iVizIndex) => {
|
|
444
444
|
if (!oVizDeleteChain) {
|
|
445
445
|
oVizDeleteChain = oPageService.deleteVisualization(iPageIndex, iSectionIndex, iVizIndex);
|
|
446
446
|
} else {
|
|
447
|
-
oVizDeleteChain = oVizDeleteChain.then(
|
|
447
|
+
oVizDeleteChain = oVizDeleteChain.then(() => {
|
|
448
448
|
return oPageService.deleteVisualization(iPageIndex, iSectionIndex, iVizIndex);
|
|
449
449
|
});
|
|
450
450
|
}
|
|
@@ -452,24 +452,24 @@ sap.ui.define([
|
|
|
452
452
|
});
|
|
453
453
|
return oVizDeleteChain;
|
|
454
454
|
})
|
|
455
|
-
.then(
|
|
455
|
+
.then(() => {
|
|
456
456
|
this.stVizIdInSection.delete(sVizId);
|
|
457
|
-
}
|
|
457
|
+
});
|
|
458
458
|
} else {
|
|
459
|
-
oVizChangeChain = oPageService.addVisualization(sPageId, sSectionId, sVizId).then(
|
|
459
|
+
oVizChangeChain = oPageService.addVisualization(sPageId, sSectionId, sVizId).then(() => {
|
|
460
460
|
this.stVizIdInSection.add(sVizId);
|
|
461
|
-
}
|
|
461
|
+
});
|
|
462
462
|
}
|
|
463
|
-
return oVizChangeChain.then(
|
|
463
|
+
return oVizChangeChain.then(() => {
|
|
464
464
|
oOpenBy.getBinding("icon")?.refresh(true);
|
|
465
465
|
oOpenBy.getBinding("type")?.refresh(true);
|
|
466
466
|
oOpenBy.getBinding("tooltip")?.refresh(true);
|
|
467
467
|
|
|
468
|
-
sap.ui.require(["sap/m/MessageToast"],
|
|
468
|
+
sap.ui.require(["sap/m/MessageToast"], (MessageToast) => {
|
|
469
469
|
MessageToast.show(sMessageToUser, { offset: "0 -50" });
|
|
470
470
|
});
|
|
471
471
|
});
|
|
472
|
-
}
|
|
472
|
+
});
|
|
473
473
|
},
|
|
474
474
|
|
|
475
475
|
/**
|
|
@@ -483,11 +483,11 @@ sap.ui.define([
|
|
|
483
483
|
* @private
|
|
484
484
|
*/
|
|
485
485
|
_getTextMsgSectionContext: function (oSectionContext, sVizId, sVisualizationTitle) {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
486
|
+
const sSectionId = oSectionContext.sectionID;
|
|
487
|
+
const sSectionTitle = oSectionContext.sectionTitle;
|
|
488
|
+
const sPageTitle = oSectionContext.pageTitle;
|
|
489
489
|
|
|
490
|
-
//sectionID
|
|
490
|
+
// sectionID
|
|
491
491
|
if (sSectionId && this.stVizIdInSection.has(sVizId)) {
|
|
492
492
|
return resources.i18n.getText("VisualizationOrganizer.MessageToastSectionContextRemove", [sVisualizationTitle || sVizId, sSectionTitle, sPageTitle]);
|
|
493
493
|
}
|
|
@@ -496,7 +496,7 @@ sap.ui.define([
|
|
|
496
496
|
return resources.i18n.getText("VisualizationOrganizer.MessageToastSectionContextAdd", [sVisualizationTitle || sVizId, sSectionTitle, sPageTitle]);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
//No sectionID
|
|
499
|
+
// No sectionID
|
|
500
500
|
if (!sSectionId && this.stVizIdInSection.has(sVizId)) {
|
|
501
501
|
return resources.i18n.getText("VisualizationOrganizer.MessageToastPageRemove", [sVisualizationTitle || sVizId, sPageTitle]);
|
|
502
502
|
}
|
|
@@ -516,7 +516,7 @@ sap.ui.define([
|
|
|
516
516
|
* @private
|
|
517
517
|
*/
|
|
518
518
|
_organizeVisualizations: function () {
|
|
519
|
-
|
|
519
|
+
const oChangedItems = this._retrieveChangedPageIds();
|
|
520
520
|
if (this.oVizInfo.isBookmark) {
|
|
521
521
|
return this._applyBookmarkOrganizationChange(oChangedItems, true);
|
|
522
522
|
}
|
|
@@ -540,30 +540,30 @@ sap.ui.define([
|
|
|
540
540
|
* @see _organizeVisualizations
|
|
541
541
|
*/
|
|
542
542
|
_applyOrganizationChange: function (oVisualizationChanges, bShowMessage) {
|
|
543
|
-
|
|
543
|
+
const iChangedVisualizations = (oVisualizationChanges.addToPageIds.length + oVisualizationChanges.deleteFromPageIds.length);
|
|
544
544
|
if (!iChangedVisualizations) {
|
|
545
545
|
return Promise.resolve();
|
|
546
546
|
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
547
|
+
const sVizId = this.sVisualizationId;
|
|
548
|
+
const oOpenBy = this.oOpenBy;
|
|
549
|
+
const stAlreadyRemovedFromPageId = new Set();
|
|
550
|
+
let oPagesService;
|
|
551
|
+
let oVizChangeChain = Container.getServiceAsync("Pages").then((PagesService) => {
|
|
552
552
|
oPagesService = PagesService;
|
|
553
553
|
});
|
|
554
554
|
|
|
555
|
-
oVisualizationChanges.deleteFromPageIds.forEach(
|
|
555
|
+
oVisualizationChanges.deleteFromPageIds.forEach((sPageId) => {
|
|
556
556
|
if (!stAlreadyRemovedFromPageId.has(sPageId)) {
|
|
557
557
|
stAlreadyRemovedFromPageId.add(sPageId);
|
|
558
|
-
oVizChangeChain = oVizChangeChain.then(
|
|
559
|
-
return oPagesService.findVisualization(sPageId, null, sVizId).then(
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
for (
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
for (
|
|
566
|
-
|
|
558
|
+
oVizChangeChain = oVizChangeChain.then(() => {
|
|
559
|
+
return oPagesService.findVisualization(sPageId, null, sVizId).then((aVizLocations) => {
|
|
560
|
+
const aPromises = [];
|
|
561
|
+
|
|
562
|
+
for (let iNrOfSections = aVizLocations.length - 1; iNrOfSections >= 0; iNrOfSections--) {
|
|
563
|
+
const oVizLocation = aVizLocations[iNrOfSections];
|
|
564
|
+
const iPageIndex = oPagesService.getPageIndex(oVizLocation.pageId);
|
|
565
|
+
for (let iNrOfViz = oVizLocation.vizIndexes.length - 1; iNrOfViz >= 0; iNrOfViz--) {
|
|
566
|
+
const iVizIndex = oVizLocation.vizIndexes[iNrOfViz];
|
|
567
567
|
aPromises.push(oPagesService.deleteVisualization(iPageIndex, oVizLocation.sectionIndex, iVizIndex));
|
|
568
568
|
}
|
|
569
569
|
}
|
|
@@ -573,10 +573,10 @@ sap.ui.define([
|
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
this.mVizIdInPages.get(sVizId).delete(sPageId);
|
|
576
|
-
}
|
|
576
|
+
});
|
|
577
577
|
|
|
578
|
-
oVisualizationChanges.addToPageIds.forEach(
|
|
579
|
-
oVizChangeChain = oVizChangeChain.then(
|
|
578
|
+
oVisualizationChanges.addToPageIds.forEach((sPageId) => {
|
|
579
|
+
oVizChangeChain = oVizChangeChain.then(() => {
|
|
580
580
|
return oPagesService.addVisualization(sPageId, null, sVizId);
|
|
581
581
|
});
|
|
582
582
|
if (this.mVizIdInPages.has(sVizId)) {
|
|
@@ -584,16 +584,16 @@ sap.ui.define([
|
|
|
584
584
|
} else {
|
|
585
585
|
this.mVizIdInPages.set(sVizId, new Set([sPageId]));
|
|
586
586
|
}
|
|
587
|
-
}
|
|
587
|
+
});
|
|
588
588
|
|
|
589
|
-
return oVizChangeChain.then(
|
|
589
|
+
return oVizChangeChain.then(() => {
|
|
590
590
|
if (oOpenBy) {
|
|
591
591
|
oOpenBy.getBinding("icon")?.refresh(true);
|
|
592
592
|
oOpenBy.getBinding("type")?.refresh(true);
|
|
593
593
|
oOpenBy.getBinding("tooltip")?.refresh(true);
|
|
594
594
|
}
|
|
595
595
|
if (bShowMessage) {
|
|
596
|
-
sap.ui.require(["sap/m/MessageToast"],
|
|
596
|
+
sap.ui.require(["sap/m/MessageToast"], (MessageToast) => {
|
|
597
597
|
MessageToast.show(resources.i18n.getText("VisualizationOrganizer.MessageToast"));
|
|
598
598
|
});
|
|
599
599
|
}
|
|
@@ -608,10 +608,10 @@ sap.ui.define([
|
|
|
608
608
|
* @private
|
|
609
609
|
*/
|
|
610
610
|
_resetPopup: function (oEvent) {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
611
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
612
|
+
const oPagesList = Element.getElementById("sapUshellVisualizationOrganizerSpacesList");
|
|
613
|
+
const oSearchField = Element.getElementById("sapUshellVisualizationOrganizerSearch");
|
|
614
|
+
const oToggleButton = Element.getElementById("sapUshellVisualizationOrganizerSelectedPages");
|
|
615
615
|
|
|
616
616
|
oPopover.detachAfterClose(this.fnResetPopup);
|
|
617
617
|
|
|
@@ -635,8 +635,8 @@ sap.ui.define([
|
|
|
635
635
|
* @private
|
|
636
636
|
*/
|
|
637
637
|
onSelectionChange: function (event) {
|
|
638
|
-
|
|
639
|
-
|
|
638
|
+
const oSLI = event.getParameter("listItem");
|
|
639
|
+
const bSelected = event.getParameter("selected");
|
|
640
640
|
this._changeSelectionForAllPagesWithTheSamePageId(oSLI, bSelected);
|
|
641
641
|
},
|
|
642
642
|
|
|
@@ -650,14 +650,14 @@ sap.ui.define([
|
|
|
650
650
|
* @private
|
|
651
651
|
*/
|
|
652
652
|
_changeSelectionForAllPagesWithTheSamePageId: function (item, selected) {
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
for (
|
|
660
|
-
|
|
653
|
+
const oModel = item.getModel();
|
|
654
|
+
const oContext = item.getBindingContext();
|
|
655
|
+
const sId = oContext.getProperty("id");
|
|
656
|
+
const bSelect = (selected !== undefined) ? selected : !oContext.getProperty("selected");
|
|
657
|
+
|
|
658
|
+
const aPages = oModel.getProperty("/pages");
|
|
659
|
+
for (let index = 0; index < aPages.length; index++) {
|
|
660
|
+
const oPage = aPages[index];
|
|
661
661
|
if (oPage.id === sId) {
|
|
662
662
|
oPage.selected = bSelect;
|
|
663
663
|
}
|
|
@@ -673,8 +673,8 @@ sap.ui.define([
|
|
|
673
673
|
* @private
|
|
674
674
|
*/
|
|
675
675
|
_onSearch: function (oEvent) {
|
|
676
|
-
|
|
677
|
-
|
|
676
|
+
const oSelectedPagesButton = Element.getElementById("sapUshellVisualizationOrganizerSelectedPages");
|
|
677
|
+
let bPressed = this.getPressed();
|
|
678
678
|
|
|
679
679
|
if (oEvent.sId === "press") {
|
|
680
680
|
bPressed = !bPressed;
|
|
@@ -685,11 +685,11 @@ sap.ui.define([
|
|
|
685
685
|
},
|
|
686
686
|
|
|
687
687
|
_updatePagesList: function () {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
688
|
+
const oPagesList = Element.getElementById("sapUshellVisualizationOrganizerSpacesList");
|
|
689
|
+
const oSearchField = Element.getElementById("sapUshellVisualizationOrganizerSearch");
|
|
690
|
+
const oBinding = oPagesList.getBinding("items");
|
|
691
|
+
const sSearchValue = oSearchField.getValue();
|
|
692
|
+
const bToggleActive = this.getPressed();
|
|
693
693
|
|
|
694
694
|
if (bToggleActive) {
|
|
695
695
|
oBinding.filter(new Filter({
|
|
@@ -773,22 +773,22 @@ sap.ui.define([
|
|
|
773
773
|
return Promise.resolve(null);
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
-
return Container.getServiceAsync("Pages").then(
|
|
777
|
-
|
|
778
|
-
|
|
776
|
+
return Container.getServiceAsync("Pages").then((oPageService) => {
|
|
777
|
+
const sPageId = decodeURIComponent(oContext.pageID);
|
|
778
|
+
const sSelectedSectionId = oContext.sectionID ? decodeURIComponent(oContext.sectionID) : "";
|
|
779
779
|
|
|
780
780
|
return oPageService.loadPage(sPageId)
|
|
781
|
-
.then(
|
|
782
|
-
|
|
783
|
-
|
|
781
|
+
.then((sPagePath) => {
|
|
782
|
+
const oPage = oPageService.getModel().getProperty(sPagePath);
|
|
783
|
+
const oSectionContext = this._createSectionContext(oPage, sSelectedSectionId);
|
|
784
784
|
|
|
785
785
|
return oSectionContext;
|
|
786
|
-
}
|
|
787
|
-
.catch(
|
|
788
|
-
Log.warning(sPageId
|
|
786
|
+
})
|
|
787
|
+
.catch(() => {
|
|
788
|
+
Log.warning(`${sPageId} cannot be loaded. Please, check the id of the page.`);
|
|
789
789
|
return Promise.resolve(null);
|
|
790
790
|
});
|
|
791
|
-
}
|
|
791
|
+
});
|
|
792
792
|
},
|
|
793
793
|
|
|
794
794
|
/**
|
|
@@ -801,12 +801,12 @@ sap.ui.define([
|
|
|
801
801
|
* @private
|
|
802
802
|
*/
|
|
803
803
|
_createSectionContext: function (oPage, sSelectedSectionId) {
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
const aPageSections = oPage.sections;
|
|
805
|
+
let oSelectedSection;
|
|
806
806
|
|
|
807
807
|
if (sSelectedSectionId) {
|
|
808
|
-
//sectionID parameter is set in the URL
|
|
809
|
-
oSelectedSection = aPageSections.find(
|
|
808
|
+
// sectionID parameter is set in the URL
|
|
809
|
+
oSelectedSection = aPageSections.find((oSection) => {
|
|
810
810
|
return oSection.id === sSelectedSectionId;
|
|
811
811
|
});
|
|
812
812
|
|
|
@@ -820,10 +820,10 @@ sap.ui.define([
|
|
|
820
820
|
};
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
//sectionID parameter is not set in the URL
|
|
824
|
-
aPageSections.forEach(
|
|
823
|
+
// sectionID parameter is not set in the URL
|
|
824
|
+
aPageSections.forEach((oSection) => {
|
|
825
825
|
this._initVizIdsInSection(oSection);
|
|
826
|
-
}
|
|
826
|
+
});
|
|
827
827
|
|
|
828
828
|
return {
|
|
829
829
|
pageID: oPage.id,
|
|
@@ -841,9 +841,9 @@ sap.ui.define([
|
|
|
841
841
|
*/
|
|
842
842
|
|
|
843
843
|
_initVizIdsInSection: function (oSection) {
|
|
844
|
-
oSection.visualizations.forEach(
|
|
844
|
+
oSection.visualizations.forEach((oVisualization) => {
|
|
845
845
|
this.stVizIdInSection.add(oVisualization.vizId);
|
|
846
|
-
}
|
|
846
|
+
});
|
|
847
847
|
},
|
|
848
848
|
|
|
849
849
|
/**
|
|
@@ -864,23 +864,23 @@ sap.ui.define([
|
|
|
864
864
|
* @private
|
|
865
865
|
*/
|
|
866
866
|
_isPersonalizablePage: function (sPageId) {
|
|
867
|
-
|
|
867
|
+
const iIndex = this.aPersonalizablePages.findIndex((oPage) => {
|
|
868
868
|
return oPage.id === sPageId;
|
|
869
869
|
});
|
|
870
870
|
return iIndex > -1;
|
|
871
871
|
},
|
|
872
872
|
|
|
873
873
|
_retrieveChangedPageIds: function () {
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
874
|
+
const oPagesList = Element.getElementById("sapUshellVisualizationOrganizerSpacesList");
|
|
875
|
+
const oSearchField = Element.getElementById("sapUshellVisualizationOrganizerSearch");
|
|
876
|
+
const oPopoverModel = oPagesList.getModel();
|
|
877
|
+
const stInitialPages = oPopoverModel.getProperty("/pinnedPages") || new Set();
|
|
878
878
|
|
|
879
879
|
// reset the filter, as some selected items might be hidden
|
|
880
880
|
oPagesList.getBinding("items").filter(null);
|
|
881
881
|
|
|
882
882
|
// filter groupHeaderItems (spaces) out of the result.
|
|
883
|
-
|
|
883
|
+
const aItems = oPagesList.getItems().filter((oItem) => {
|
|
884
884
|
return oItem.isA("sap.m.StandardListItem");
|
|
885
885
|
});
|
|
886
886
|
|
|
@@ -888,12 +888,12 @@ sap.ui.define([
|
|
|
888
888
|
oSearchField.fireSearch();
|
|
889
889
|
|
|
890
890
|
// Map to prevent duplicates.
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
891
|
+
const mAlreadyOrganizedPageIds = {};
|
|
892
|
+
const aAddToPageIds = [];
|
|
893
|
+
const aDeleteFromPageIds = [];
|
|
894
894
|
|
|
895
|
-
aItems.forEach(
|
|
896
|
-
|
|
895
|
+
aItems.forEach((oItem) => {
|
|
896
|
+
const sItemId = oItem.getBindingContext().getProperty("id");
|
|
897
897
|
|
|
898
898
|
if (!mAlreadyOrganizedPageIds[sItemId]) {
|
|
899
899
|
mAlreadyOrganizedPageIds[sItemId] = true;
|
|
@@ -912,7 +912,7 @@ sap.ui.define([
|
|
|
912
912
|
},
|
|
913
913
|
|
|
914
914
|
okay: function () {
|
|
915
|
-
|
|
915
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
916
916
|
// Prevent multiple add clicks
|
|
917
917
|
if (oPopover.getBusy()) {
|
|
918
918
|
return;
|
|
@@ -921,11 +921,11 @@ sap.ui.define([
|
|
|
921
921
|
oPopover.setBusy(true);
|
|
922
922
|
|
|
923
923
|
this._organizeVisualizations()
|
|
924
|
-
.then(
|
|
924
|
+
.then(() => {
|
|
925
925
|
oPopover.setBusy(false);
|
|
926
926
|
oPopover.close();
|
|
927
927
|
})
|
|
928
|
-
.catch(
|
|
928
|
+
.catch((oError) => {
|
|
929
929
|
Log.error("Could not save the selected pages on the VisualizationOrganizerPopover", oError);
|
|
930
930
|
});
|
|
931
931
|
},
|
|
@@ -941,8 +941,8 @@ sap.ui.define([
|
|
|
941
941
|
* @see toggle
|
|
942
942
|
*/
|
|
943
943
|
onHierarchyAppsPinButtonClick: function (oEvent, oSectionContext) {
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
const oSource = oEvent.getSource();
|
|
945
|
+
const oAppInfo = oSource.getParent().getBinding("title").getContext().getObject();
|
|
946
946
|
|
|
947
947
|
if (oSource.getBusy()) {
|
|
948
948
|
return Promise.resolve(false);
|
|
@@ -954,7 +954,7 @@ sap.ui.define([
|
|
|
954
954
|
if (oSectionContext) {
|
|
955
955
|
oSource.setBusy(true);
|
|
956
956
|
return this._applyBookmarkTileChangeToSection(oAppInfo, oSectionContext)
|
|
957
|
-
.then(
|
|
957
|
+
.then(() => {
|
|
958
958
|
oSource.setBusy(false);
|
|
959
959
|
return Promise.resolve(true);
|
|
960
960
|
});
|
|
@@ -963,27 +963,27 @@ sap.ui.define([
|
|
|
963
963
|
if (this.aPersonalizablePages.length === 1) {
|
|
964
964
|
oSource.setBusy(true);
|
|
965
965
|
return this._applyChangeToPage(oSource, oAppInfo, this.aPersonalizablePages[0])
|
|
966
|
-
.then(
|
|
966
|
+
.then(() => {
|
|
967
967
|
oSource.setBusy(false);
|
|
968
968
|
return Promise.resolve(true);
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
971
|
|
|
972
|
-
return new Promise(
|
|
972
|
+
return new Promise((fnResolve) => {
|
|
973
973
|
this.toggle(oSource, oAppInfo)
|
|
974
|
-
.then(
|
|
975
|
-
|
|
974
|
+
.then(() => {
|
|
975
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
976
976
|
if (oPopover && oPopover.isOpen()) {
|
|
977
|
-
oPopover.attachEventOnce("afterClose",
|
|
978
|
-
//update pin button
|
|
977
|
+
oPopover.attachEventOnce("afterClose", () => {
|
|
978
|
+
// update pin button
|
|
979
979
|
fnResolve(true);
|
|
980
980
|
});
|
|
981
981
|
} else {
|
|
982
|
-
//close the dialog by click
|
|
982
|
+
// close the dialog by click
|
|
983
983
|
fnResolve(false);
|
|
984
984
|
}
|
|
985
985
|
});
|
|
986
|
-
}
|
|
986
|
+
});
|
|
987
987
|
},
|
|
988
988
|
|
|
989
989
|
/**
|
|
@@ -997,18 +997,18 @@ sap.ui.define([
|
|
|
997
997
|
* @see _organizeVisualizations
|
|
998
998
|
*/
|
|
999
999
|
_applyBookmarkOrganizationChange: function (oVisualizationChanges, bShowMessage) {
|
|
1000
|
-
|
|
1000
|
+
const iChangedVisualizations = (oVisualizationChanges.addToPageIds.length + oVisualizationChanges.deleteFromPageIds.length);
|
|
1001
1001
|
if (!iChangedVisualizations) {
|
|
1002
1002
|
return Promise.resolve();
|
|
1003
1003
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1004
|
+
const oVizInfo = this.oVizInfo;
|
|
1005
|
+
const stAlreadyRemovedFromPageId = new Set();
|
|
1006
|
+
let oBookmarkService;
|
|
1007
|
+
let oPagesService;
|
|
1008
|
+
let oVizChangeChain = Promise.all([
|
|
1009
1009
|
Container.getServiceAsync("BookmarkV2"),
|
|
1010
1010
|
Container.getServiceAsync("Pages")
|
|
1011
|
-
]).then(
|
|
1011
|
+
]).then((aServices) => {
|
|
1012
1012
|
oBookmarkService = aServices[0];
|
|
1013
1013
|
oPagesService = aServices[1];
|
|
1014
1014
|
return Promise.resolve();
|
|
@@ -1017,24 +1017,24 @@ sap.ui.define([
|
|
|
1017
1017
|
// Bookmark service support only deletion of the bookmark tiles for all pages
|
|
1018
1018
|
// and it is not possible to delete on the specific page.
|
|
1019
1019
|
// For this reason we need to use Pages service directly.
|
|
1020
|
-
oVisualizationChanges.deleteFromPageIds.forEach(
|
|
1020
|
+
oVisualizationChanges.deleteFromPageIds.forEach((sPageId) => {
|
|
1021
1021
|
if (!stAlreadyRemovedFromPageId.has(sPageId)) {
|
|
1022
1022
|
stAlreadyRemovedFromPageId.add(sPageId);
|
|
1023
|
-
oVizChangeChain = oVizChangeChain.then(
|
|
1023
|
+
oVizChangeChain = oVizChangeChain.then(() => {
|
|
1024
1024
|
return oPagesService.deleteBookmarks({ url: oVizInfo.url }, sPageId);
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
1027
|
});
|
|
1028
1028
|
|
|
1029
|
-
oVisualizationChanges.addToPageIds.forEach(
|
|
1030
|
-
oVizChangeChain = oVizChangeChain.then(
|
|
1031
|
-
|
|
1029
|
+
oVisualizationChanges.addToPageIds.forEach((sPageId) => {
|
|
1030
|
+
oVizChangeChain = oVizChangeChain.then(() => {
|
|
1031
|
+
const oVisualization = {
|
|
1032
1032
|
url: oVizInfo.url,
|
|
1033
1033
|
title: oVizInfo.text,
|
|
1034
1034
|
subtitle: oVizInfo.subtitle,
|
|
1035
1035
|
icon: oVizInfo.icon
|
|
1036
1036
|
};
|
|
1037
|
-
|
|
1037
|
+
const oContainer = {
|
|
1038
1038
|
type: ushellLibrary.ContentNodeType.Page,
|
|
1039
1039
|
id: sPageId,
|
|
1040
1040
|
isContainer: true
|
|
@@ -1043,9 +1043,9 @@ sap.ui.define([
|
|
|
1043
1043
|
});
|
|
1044
1044
|
});
|
|
1045
1045
|
|
|
1046
|
-
return oVizChangeChain.then(
|
|
1046
|
+
return oVizChangeChain.then(() => {
|
|
1047
1047
|
if (bShowMessage) {
|
|
1048
|
-
sap.ui.require(["sap/m/MessageToast"],
|
|
1048
|
+
sap.ui.require(["sap/m/MessageToast"], (MessageToast) => {
|
|
1049
1049
|
MessageToast.show(resources.i18n.getText("VisualizationOrganizer.MessageToast"));
|
|
1050
1050
|
});
|
|
1051
1051
|
}
|
|
@@ -1062,13 +1062,13 @@ sap.ui.define([
|
|
|
1062
1062
|
* @private
|
|
1063
1063
|
*/
|
|
1064
1064
|
_applyBookmarkTileChangeToSection: function (oVizInfo, oSectionContext) {
|
|
1065
|
-
return Container.getServiceAsync("Pages").then(
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1065
|
+
return Container.getServiceAsync("Pages").then((oPageService) => {
|
|
1066
|
+
let oVizChangeChain;
|
|
1067
|
+
let sMessageToUser;
|
|
1068
|
+
const sUrl = oVizInfo.url;
|
|
1069
|
+
const sVisualizationTitle = oVizInfo.title;
|
|
1070
|
+
const sPageId = oSectionContext.pageID;
|
|
1071
|
+
const sSectionId = oSectionContext.sectionID;
|
|
1072
1072
|
|
|
1073
1073
|
if (oVizInfo.bookmarkCount > 0) {
|
|
1074
1074
|
sMessageToUser = resources.i18n.getText(
|
|
@@ -1077,7 +1077,7 @@ sap.ui.define([
|
|
|
1077
1077
|
);
|
|
1078
1078
|
oVizChangeChain = oPageService.deleteBookmarks({ url: sUrl }, sPageId, sSectionId);
|
|
1079
1079
|
} else {
|
|
1080
|
-
|
|
1080
|
+
const oVisualization = {
|
|
1081
1081
|
url: sUrl,
|
|
1082
1082
|
title: oVizInfo.text,
|
|
1083
1083
|
subtitle: oVizInfo.subtitle,
|
|
@@ -1089,8 +1089,8 @@ sap.ui.define([
|
|
|
1089
1089
|
);
|
|
1090
1090
|
oVizChangeChain = oPageService.addBookmarkToPage(sPageId, oVisualization, sSectionId);
|
|
1091
1091
|
}
|
|
1092
|
-
return oVizChangeChain.then(
|
|
1093
|
-
sap.ui.require(["sap/m/MessageToast"],
|
|
1092
|
+
return oVizChangeChain.then(() => {
|
|
1093
|
+
sap.ui.require(["sap/m/MessageToast"], (MessageToast) => {
|
|
1094
1094
|
MessageToast.show(sMessageToUser, { offset: "0 -50" });
|
|
1095
1095
|
});
|
|
1096
1096
|
});
|
|
@@ -1108,12 +1108,12 @@ sap.ui.define([
|
|
|
1108
1108
|
*/
|
|
1109
1109
|
updateBookmarkCount: function (aAppsData, oSectionContext) {
|
|
1110
1110
|
return Container.getServiceAsync("Pages")
|
|
1111
|
-
.then(
|
|
1112
|
-
|
|
1111
|
+
.then((PagesService) => {
|
|
1112
|
+
const aCountPromises = aAppsData.map((oAppData) => {
|
|
1113
1113
|
return PagesService._findBookmarks({ url: oAppData.url })
|
|
1114
|
-
.then(
|
|
1114
|
+
.then((aFoundBookmarks) => {
|
|
1115
1115
|
if (oSectionContext) {
|
|
1116
|
-
aFoundBookmarks = aFoundBookmarks.filter(
|
|
1116
|
+
aFoundBookmarks = aFoundBookmarks.filter((oBookmark) => {
|
|
1117
1117
|
return oSectionContext.pageID === oBookmark.pageId && oSectionContext.sectionID === oBookmark.sectionId;
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
@@ -1132,7 +1132,7 @@ sap.ui.define([
|
|
|
1132
1132
|
* @see isVizIdPresent
|
|
1133
1133
|
*/
|
|
1134
1134
|
formatBookmarkPinButtonTooltip: function (bookmarkCount, sectionContext) {
|
|
1135
|
-
|
|
1135
|
+
let sText;
|
|
1136
1136
|
|
|
1137
1137
|
if (sectionContext) {
|
|
1138
1138
|
if (bookmarkCount > 0) {
|
|
@@ -1166,34 +1166,34 @@ sap.ui.define([
|
|
|
1166
1166
|
* @private
|
|
1167
1167
|
*/
|
|
1168
1168
|
_applyChangeToPage: function (oOpenBy, oVizInfo, oPage) {
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1169
|
+
const sVisualizationId = decodeURIComponent(oVizInfo.id);
|
|
1170
|
+
const sVisualizationTitle = oVizInfo.title;
|
|
1171
|
+
const sPageId = oPage.id;
|
|
1172
|
+
const bIsVizIdPresented = oVizInfo.isBookmark ? oVizInfo.bookmarkCount > 0 : this.isVizIdPresent(sVisualizationId);
|
|
1173
|
+
const oVisualizationChanges = {
|
|
1174
1174
|
addToPageIds: bIsVizIdPresented ? [] : [sPageId],
|
|
1175
1175
|
deleteFromPageIds: bIsVizIdPresented ? [sPageId] : []
|
|
1176
1176
|
};
|
|
1177
|
-
|
|
1177
|
+
const sMessageToUser = resources.i18n.getText(
|
|
1178
1178
|
bIsVizIdPresented ? "VisualizationOrganizer.MessageToastPageRemove" : "VisualizationOrganizer.MessageToastPageAdd",
|
|
1179
1179
|
[sVisualizationTitle || sVisualizationId, oPage.title]
|
|
1180
1180
|
);
|
|
1181
1181
|
|
|
1182
1182
|
this.oVizInfo = oVizInfo;
|
|
1183
1183
|
this.sVisualizationId = sVisualizationId;
|
|
1184
|
-
|
|
1184
|
+
let oChangePromise;
|
|
1185
1185
|
if (oVizInfo.isBookmark) {
|
|
1186
1186
|
oChangePromise = this._applyBookmarkOrganizationChange(oVisualizationChanges, false);
|
|
1187
1187
|
} else {
|
|
1188
1188
|
oChangePromise = this._applyOrganizationChange(oVisualizationChanges, false);
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
|
-
return oChangePromise.then(
|
|
1191
|
+
return oChangePromise.then(() => {
|
|
1192
1192
|
oOpenBy.getBinding("icon")?.refresh(true);
|
|
1193
1193
|
oOpenBy.getBinding("type")?.refresh(true);
|
|
1194
1194
|
oOpenBy.getBinding("tooltip")?.refresh(true);
|
|
1195
1195
|
|
|
1196
|
-
sap.ui.require(["sap/m/MessageToast"],
|
|
1196
|
+
sap.ui.require(["sap/m/MessageToast"], (MessageToast) => {
|
|
1197
1197
|
MessageToast.show(sMessageToUser, { offset: "0 -50" });
|
|
1198
1198
|
});
|
|
1199
1199
|
});
|
|
@@ -1226,7 +1226,7 @@ sap.ui.define([
|
|
|
1226
1226
|
},
|
|
1227
1227
|
|
|
1228
1228
|
exit: function () {
|
|
1229
|
-
|
|
1229
|
+
const oPopover = Element.getElementById("sapUshellVisualizationOrganizerPopover");
|
|
1230
1230
|
if (oPopover) {
|
|
1231
1231
|
oPopover.destroy();
|
|
1232
1232
|
}
|