@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
|
@@ -19,12 +19,19 @@ sap.ui.define([
|
|
|
19
19
|
) => {
|
|
20
20
|
"use strict";
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* @typedef {PostMessageRequest|PostMessageResponse} ParsedMessage
|
|
24
|
+
*/
|
|
25
|
+
|
|
22
26
|
/**
|
|
23
27
|
* @typedef {object} PostMessageRequest
|
|
24
28
|
* @property {string} type the type of the message
|
|
25
29
|
* @property {string} request_id the request id
|
|
26
30
|
* @property {string} service the service name
|
|
27
31
|
* @property {object} body the message body
|
|
32
|
+
*
|
|
33
|
+
* @since 1.134.0
|
|
34
|
+
* @private
|
|
28
35
|
*/
|
|
29
36
|
|
|
30
37
|
/**
|
|
@@ -34,13 +41,21 @@ sap.ui.define([
|
|
|
34
41
|
* @property {string} service the service name
|
|
35
42
|
* @property {string} status the status of the response
|
|
36
43
|
* @property {object} body the message body
|
|
44
|
+
*
|
|
45
|
+
* @since 1.134.0
|
|
46
|
+
* @private
|
|
37
47
|
*/
|
|
38
48
|
|
|
39
49
|
/**
|
|
40
50
|
* @typedef {object} RequestHandlerOptions
|
|
41
51
|
* @property {boolean} [provideApplicationContext=false] flag to indicate if the application context should be used.
|
|
42
52
|
* @property {boolean} [allowInactive=false] flag to indicate if the request should be allowed from inactive applications.
|
|
43
|
-
* @property {function} [isValidRequest]
|
|
53
|
+
* @property {function(MessageEvent):Promise<boolean>} [isValidRequest] an async function to validate the request
|
|
54
|
+
*
|
|
55
|
+
* @see {@link sap.ushell.appIntegration.PostMessageManager#setRequestHandler}
|
|
56
|
+
*
|
|
57
|
+
* @since 1.134.0
|
|
58
|
+
* @private
|
|
44
59
|
*/
|
|
45
60
|
|
|
46
61
|
const oDefaultRequestHandlerOptions = {
|
|
@@ -50,19 +65,42 @@ sap.ui.define([
|
|
|
50
65
|
|
|
51
66
|
/**
|
|
52
67
|
* @typedef {object} DistributionPolicy
|
|
53
|
-
* @property {boolean} [
|
|
68
|
+
* @property {boolean} [preventBroadcast=false] flag to indicate if the message should not be sent to all applications
|
|
69
|
+
* @property {boolean} [onlyCurrentApplication=false] flag to indicate if the message should be sent only to the current application
|
|
54
70
|
* @property {boolean} [ignoreCapabilities=false] flag to indicate if the capabilities should be ignored
|
|
55
|
-
* @property {function} [isValidRequestTarget] a function to validate the request target
|
|
71
|
+
* @property {function(sap.ushell.appIntegration.ApplicationContainer):boolean} [isValidRequestTarget] a function to validate the request target
|
|
72
|
+
*
|
|
73
|
+
* @see {@link sap.ushell.appIntegration.PostMessageManager#setDistributionPolicy}
|
|
74
|
+
* @see {@link sap.ushell.appIntegration.PostMessageManager#sendRequestToAllApplications}
|
|
75
|
+
*
|
|
76
|
+
* @since 1.134.0
|
|
77
|
+
* @private
|
|
56
78
|
*/
|
|
57
79
|
|
|
58
80
|
const oDefaultDistributionPolicy = {
|
|
59
|
-
|
|
81
|
+
preventBroadcast: false,
|
|
82
|
+
onlyCurrentApplication: false,
|
|
60
83
|
ignoreCapabilities: false
|
|
61
84
|
};
|
|
62
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @typedef {object} PreprocessingResult
|
|
88
|
+
* @property {MessageEvent} event the preprocessed message event
|
|
89
|
+
* @property {ParsedMessage} message the preprocessed message
|
|
90
|
+
*/
|
|
91
|
+
|
|
63
92
|
const DoNotReply = Symbol("DoNotReply");
|
|
64
93
|
const oLogger = Log.getLogger("sap.ushell.appIntegration.PostMessageManager");
|
|
65
94
|
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @alias sap.ushell.appIntegration.PostMessageManager
|
|
98
|
+
* @namespace
|
|
99
|
+
* @classdesc This class is used to manage postMessage communication between the applications and the framework.
|
|
100
|
+
*
|
|
101
|
+
* @since 1.134.0
|
|
102
|
+
* @private
|
|
103
|
+
*/
|
|
66
104
|
class PostMessageManager {
|
|
67
105
|
#fnPostMessageEventHandler = () => {
|
|
68
106
|
throw new Error("PostMessageManager is not initialized");
|
|
@@ -116,60 +154,66 @@ sap.ui.define([
|
|
|
116
154
|
}
|
|
117
155
|
|
|
118
156
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
157
|
+
* Handles the postMessage event.
|
|
158
|
+
* - Parses the message from the event.
|
|
159
|
+
* - Preprocesses the event and message.
|
|
160
|
+
* - Run checks
|
|
161
|
+
* - actual message handling (response, request)
|
|
162
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
163
|
+
* @returns {Promise} A promise that resolves when the message is handled.
|
|
164
|
+
*
|
|
165
|
+
* @since 1.134.0
|
|
166
|
+
* @private
|
|
121
167
|
*/
|
|
122
|
-
async #handlePostMessageEvent (
|
|
168
|
+
async #handlePostMessageEvent (oMessageEvent) {
|
|
123
169
|
let oMessage;
|
|
124
170
|
try {
|
|
125
|
-
|
|
126
|
-
if (typeof oEvent.data === "string") {
|
|
127
|
-
oMessage = JSON.parse(oEvent.data);
|
|
128
|
-
} else if (isPlainObject(oEvent.data)) {
|
|
129
|
-
oMessage = oEvent.data;
|
|
130
|
-
} else {
|
|
131
|
-
// e.g. Error, transferable objects, ...
|
|
132
|
-
throw new Error("Invalid message format");
|
|
133
|
-
}
|
|
134
|
-
// Initialize the body. It can be undefined which is unexpected for the service request handlers.
|
|
135
|
-
oMessage.body = oMessage.body || {};
|
|
171
|
+
oMessage = this.#parseMessage(oMessageEvent);
|
|
136
172
|
} catch {
|
|
137
|
-
oLogger.debug("Received Post Message with invalid JSON. Ignoring the message.",
|
|
173
|
+
oLogger.debug("Received Post Message with invalid JSON. Ignoring the message.", oMessageEvent.data);
|
|
138
174
|
return;
|
|
139
175
|
}
|
|
140
176
|
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
oMessage =
|
|
177
|
+
const oPreprocessingResult = this.#preprocessMessageEvent(oMessageEvent, oMessage);
|
|
178
|
+
oMessageEvent = oPreprocessingResult.event;
|
|
179
|
+
oMessage = oPreprocessingResult.message;
|
|
144
180
|
|
|
145
181
|
if (!oMessage.service) {
|
|
146
182
|
oLogger.debug("Received Post Message without a service name. Ignoring the message.");
|
|
147
183
|
return;
|
|
148
184
|
}
|
|
149
185
|
|
|
150
|
-
const oSourceWindow = oEvent.source;
|
|
151
|
-
const sSourceDomain = oEvent.origin;
|
|
152
|
-
oLogger.debug(`Received postMessage ${oMessage.service} (${oMessage.request_id}) from iframe with domain '${sSourceDomain}'`, JSON.stringify(oMessage, null, 2));
|
|
153
|
-
|
|
154
186
|
if (!["response", "request"].includes(oMessage.type)) {
|
|
155
187
|
oLogger.warning(`Received Post Message with an invalid type: '${oMessage.type}'. Ignoring the message.`);
|
|
156
188
|
return;
|
|
157
189
|
}
|
|
158
190
|
|
|
191
|
+
const oSourceWindow = oMessageEvent.source;
|
|
192
|
+
const sSourceDomain = oMessageEvent.origin;
|
|
193
|
+
oLogger.debug(`Received postMessage ${oMessage.service} (${oMessage.request_id}) from iframe with domain '${sSourceDomain}'`, JSON.stringify(oMessage, null, 2));
|
|
194
|
+
|
|
195
|
+
if (!oMessage.request_id) {
|
|
196
|
+
oLogger.debug("Received Post Message without a request_id. Message might be not handled correctly.");
|
|
197
|
+
}
|
|
198
|
+
|
|
159
199
|
// first check if the message is a response to a request
|
|
160
200
|
if (oMessage.type === "response") {
|
|
161
|
-
const bWasHandled = this.#handleResponseHandlers(
|
|
201
|
+
const bWasHandled = this.#handleResponseHandlers(oMessageEvent, oMessage);
|
|
162
202
|
if (bWasHandled) {
|
|
163
203
|
oLogger.debug(`Response for ${oMessage.service} (${oMessage.request_id}) was handled by a response handler.`);
|
|
164
204
|
}
|
|
165
205
|
return;
|
|
166
206
|
}
|
|
167
|
-
|
|
207
|
+
|
|
208
|
+
// Handle the message as Request
|
|
209
|
+
|
|
210
|
+
// Initialize the body. It can be undefined which is unexpected for the service request handlers.
|
|
211
|
+
oMessage.body = oMessage.body || {};
|
|
168
212
|
|
|
169
213
|
let oResponseMessageBody;
|
|
170
214
|
let bSuccess = true;
|
|
171
215
|
try {
|
|
172
|
-
const vResult = await this.#handleServiceRequests(oMessage, oSourceWindow, sSourceDomain,
|
|
216
|
+
const vResult = await this.#handleServiceRequests(oMessage, oSourceWindow, sSourceDomain, oMessageEvent);
|
|
173
217
|
oLogger.debug(`Service request for ${oMessage.service} (${oMessage.request_id}) was handled successfully.`);
|
|
174
218
|
|
|
175
219
|
if (vResult === DoNotReply) {
|
|
@@ -201,9 +245,12 @@ sap.ui.define([
|
|
|
201
245
|
};
|
|
202
246
|
}
|
|
203
247
|
|
|
248
|
+
// always reply with the original service request
|
|
249
|
+
const sServiceRequest = oMessage.originalMessage?.service || oMessage.service;
|
|
250
|
+
|
|
204
251
|
return this.sendResponse(
|
|
205
252
|
oMessage.request_id,
|
|
206
|
-
|
|
253
|
+
sServiceRequest,
|
|
207
254
|
oResponseMessageBody,
|
|
208
255
|
bSuccess,
|
|
209
256
|
oSourceWindow,
|
|
@@ -212,49 +259,92 @@ sap.ui.define([
|
|
|
212
259
|
}
|
|
213
260
|
|
|
214
261
|
/**
|
|
215
|
-
*
|
|
216
|
-
* @param {
|
|
262
|
+
* Parses the message from the postMessage event.
|
|
263
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
264
|
+
* @returns {PostMessageResponse|PostMessageRequest} The parsed message from the postMessage event.
|
|
265
|
+
*
|
|
266
|
+
* @since 1.139.0
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
#parseMessage (oMessageEvent) {
|
|
270
|
+
let oMessage;
|
|
271
|
+
// we support stringified JSON and plain objects
|
|
272
|
+
if (typeof oMessageEvent.data === "string") {
|
|
273
|
+
oMessage = JSON.parse(oMessageEvent.data);
|
|
274
|
+
} else if (isPlainObject(oMessageEvent.data)) {
|
|
275
|
+
oMessage = oMessageEvent.data;
|
|
276
|
+
} else {
|
|
277
|
+
// e.g. Error, transferable objects, ...
|
|
278
|
+
throw new Error("Invalid message format");
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
return oMessage;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Preprocesses the message event and message.
|
|
286
|
+
* The preprocessing might change the event.
|
|
287
|
+
* However, a message is only changed once.
|
|
288
|
+
*
|
|
289
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
290
|
+
* @param {ParsedMessage} oMessage The parsed message from the postMessage event.
|
|
291
|
+
* @returns {{ event: MessageEvent, message: ParsedMessage }} The preprocessed message event and message.
|
|
292
|
+
*
|
|
293
|
+
* @since 1.134.0
|
|
294
|
+
* @private
|
|
217
295
|
*/
|
|
218
|
-
#preprocessMessageEvent (
|
|
296
|
+
#preprocessMessageEvent (oMessageEvent, oMessage) {
|
|
219
297
|
// Event properties are read-only, so we need to create a new event object if we want to change them.
|
|
220
|
-
let
|
|
298
|
+
let oProcessingResult;
|
|
221
299
|
this.#aEventPreprocessor.forEach((fnProcessor) => {
|
|
222
|
-
if (
|
|
300
|
+
if (oProcessingResult) {
|
|
223
301
|
return;
|
|
224
302
|
}
|
|
225
303
|
|
|
226
|
-
|
|
304
|
+
oProcessingResult = fnProcessor(oMessageEvent, oMessage);
|
|
227
305
|
});
|
|
228
306
|
|
|
229
307
|
return {
|
|
230
|
-
|
|
231
|
-
oMessage
|
|
308
|
+
event: oProcessingResult?.event || oMessageEvent,
|
|
309
|
+
message: oProcessingResult?.message || oMessage
|
|
232
310
|
};
|
|
233
311
|
}
|
|
234
312
|
|
|
235
313
|
/**
|
|
236
|
-
*
|
|
237
|
-
* @
|
|
314
|
+
* Handles the response handlers for the postMessage event.
|
|
315
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
316
|
+
* @param {PostMessageResponse} oMessage The parsed message from the postMessage event.
|
|
317
|
+
* @returns {boolean} Whether the response was handled by a response handler.
|
|
318
|
+
*
|
|
319
|
+
* @since 1.134.0
|
|
320
|
+
* @private
|
|
238
321
|
*/
|
|
239
|
-
#handleResponseHandlers (
|
|
322
|
+
#handleResponseHandlers (oMessageEvent, oMessage) {
|
|
240
323
|
let bWasHandled = false;
|
|
241
324
|
this.#aResponseHandlers.forEach((fnResponseHandler) => {
|
|
242
325
|
if (bWasHandled) {
|
|
243
326
|
return;
|
|
244
327
|
}
|
|
245
328
|
|
|
246
|
-
bWasHandled = fnResponseHandler(
|
|
329
|
+
bWasHandled = fnResponseHandler(oMessageEvent, oMessage);
|
|
247
330
|
});
|
|
248
331
|
|
|
249
332
|
return bWasHandled;
|
|
250
333
|
}
|
|
251
334
|
|
|
252
335
|
/**
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* @
|
|
336
|
+
* Handles the service requests.
|
|
337
|
+
* Tries to apply the RequestHandlerOptions before calling the handler.
|
|
338
|
+
* Calls the handler with the expected context and returns the result.
|
|
339
|
+
*
|
|
340
|
+
* @param {PostMessageRequest} oMessage The parsed message from the postMessage event.
|
|
341
|
+
* @param {Window} oSourceWindow The source window of the postMessage event.
|
|
342
|
+
* @param {string} sSourceDomain The origin of the postMessage event.
|
|
343
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
344
|
+
* @returns {Promise<any>} Resolves with the result of the service request handler.
|
|
345
|
+
*
|
|
346
|
+
* @since 1.134.0
|
|
347
|
+
* @private
|
|
258
348
|
*/
|
|
259
349
|
async #handleServiceRequests (oMessage, oSourceWindow, sSourceDomain, oMessageEvent) {
|
|
260
350
|
const sServiceRequest = oMessage.service;
|
|
@@ -312,24 +402,38 @@ sap.ui.define([
|
|
|
312
402
|
}
|
|
313
403
|
|
|
314
404
|
/**
|
|
315
|
-
*
|
|
316
|
-
* @
|
|
405
|
+
* Returns the request handler for the given service request.
|
|
406
|
+
* @param {string} sServiceRequest The service request name.
|
|
407
|
+
* @returns {function} The request handler function for the given service request.
|
|
408
|
+
*
|
|
409
|
+
* @since 1.134.0
|
|
410
|
+
* @private
|
|
317
411
|
*/
|
|
318
412
|
#getServiceRequestHandler (sServiceRequest) {
|
|
319
413
|
return this.#oRequestHandlers[sServiceRequest]?.handler;
|
|
320
414
|
}
|
|
321
415
|
|
|
322
416
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @
|
|
417
|
+
* Returns the options for the given service request handler.
|
|
418
|
+
* @param {string} sServiceRequest The service request name.
|
|
419
|
+
* @returns {RequestHandlerOptions} The options for the given service request handler.
|
|
420
|
+
*
|
|
421
|
+
* @since 1.134.0
|
|
422
|
+
* @private
|
|
325
423
|
*/
|
|
326
424
|
#getServiceRequestHandlerOptions (sServiceRequest) {
|
|
327
425
|
return this.#oRequestHandlers[sServiceRequest]?.options;
|
|
328
426
|
}
|
|
329
427
|
|
|
330
428
|
/**
|
|
331
|
-
*
|
|
332
|
-
*
|
|
429
|
+
* Retrieves the application container context for the given source window.
|
|
430
|
+
* 1) tries to match by iframe reference
|
|
431
|
+
* 2) falls back to the current application container
|
|
432
|
+
* @param {Window} oSourceWindow The source window of the postMessage event.
|
|
433
|
+
* @returns {sap.ushell.appIntegration.IframeApplicationContainer} The application container context for the given source window.
|
|
434
|
+
*
|
|
435
|
+
* @since 1.134.0
|
|
436
|
+
* @private
|
|
333
437
|
*/
|
|
334
438
|
#getApplicationContainerContext (oSourceWindow) {
|
|
335
439
|
let oApplicationContainer;
|
|
@@ -357,16 +461,29 @@ sap.ui.define([
|
|
|
357
461
|
}
|
|
358
462
|
|
|
359
463
|
/**
|
|
360
|
-
*
|
|
464
|
+
* Adds a preprocessor function to the PostMessageManager.
|
|
465
|
+
* Preprocessors are called before the message is handled.
|
|
466
|
+
* They can modify the message event and the message itself and even try to "fix" the message.
|
|
467
|
+
* @param {function():PreprocessingResult|undefined} fnPreprocessor The preprocessor function.
|
|
468
|
+
*
|
|
469
|
+
* @since 1.134.0
|
|
470
|
+
* @private
|
|
361
471
|
*/
|
|
362
472
|
addEventPreprocessor (fnPreprocessor) {
|
|
363
473
|
this.#aEventPreprocessor.push(fnPreprocessor);
|
|
364
474
|
}
|
|
365
475
|
|
|
366
476
|
/**
|
|
367
|
-
*
|
|
368
|
-
*
|
|
369
|
-
*
|
|
477
|
+
* Sets a request handler for the given service request.
|
|
478
|
+
* The options are mixed with the default options.
|
|
479
|
+
* If a handler for the service request already exists, it will be overwritten.
|
|
480
|
+
*
|
|
481
|
+
* @param {string} sServiceRequest The service request name.
|
|
482
|
+
* @param {function} fnHandler The handler function for the service request.
|
|
483
|
+
* @param {RequestHandlerOptions} oOptions The options for the service request handler.
|
|
484
|
+
*
|
|
485
|
+
* @since 1.134.0
|
|
486
|
+
* @private
|
|
370
487
|
*/
|
|
371
488
|
setRequestHandler (sServiceRequest, fnHandler, oOptions = {}) {
|
|
372
489
|
if (this.#oRequestHandlers[sServiceRequest]) {
|
|
@@ -383,12 +500,18 @@ sap.ui.define([
|
|
|
383
500
|
}
|
|
384
501
|
|
|
385
502
|
/**
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* @param {string}
|
|
390
|
-
* @param {
|
|
391
|
-
* @
|
|
503
|
+
* Sends a request to the given iframe.
|
|
504
|
+
* Constructs a message based on the provided parameters and sends it as a postMessage event.
|
|
505
|
+
*
|
|
506
|
+
* @param {string} sServiceRequest The service request name.
|
|
507
|
+
* @param {any} oMessageBody The message body to send with the request.
|
|
508
|
+
* @param {Window} oContentWindow The content window to send the request to.
|
|
509
|
+
* @param {string} sTargetOrigin The target origin for the postMessage request.
|
|
510
|
+
* @param {boolean} bWaitForResponse Whether to wait for a response from the service request.
|
|
511
|
+
* @returns {Promise<any>} A promise that resolves with the response from the service request if bWaitForResponse is true, otherwise resolves immediately.
|
|
512
|
+
*
|
|
513
|
+
* @since 1.134.0
|
|
514
|
+
* @private
|
|
392
515
|
*/
|
|
393
516
|
async sendRequest (sServiceRequest, oMessageBody, oContentWindow, sTargetOrigin, bWaitForResponse) {
|
|
394
517
|
if (this.#bDisabled) {
|
|
@@ -411,13 +534,19 @@ sap.ui.define([
|
|
|
411
534
|
}
|
|
412
535
|
|
|
413
536
|
/**
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
*
|
|
417
|
-
* @param {
|
|
418
|
-
* @param {
|
|
419
|
-
* @param {
|
|
420
|
-
* @
|
|
537
|
+
* Sends a response to the given iframe.
|
|
538
|
+
* Constructs a message based on the provided parameters and sends it as a postMessage event.
|
|
539
|
+
*
|
|
540
|
+
* @param {string} sRequestId The request ID of the service request to respond to.
|
|
541
|
+
* @param {string} sServiceRequest The service request name to respond to.
|
|
542
|
+
* @param {any} oMessageBody The message body to send with the response.
|
|
543
|
+
* @param {boolean} bSuccess Whether the response is successful or not.
|
|
544
|
+
* @param {Window} oContentWindow The content window to send the response to.
|
|
545
|
+
* @param {string} sTargetOrigin The target origin for the postMessage response.
|
|
546
|
+
* @returns {Promise} A promise that resolves when the response is sent.
|
|
547
|
+
*
|
|
548
|
+
* @since 1.134.0
|
|
549
|
+
* @private
|
|
421
550
|
*/
|
|
422
551
|
async sendResponse (sRequestId, sServiceRequest, oMessageBody, bSuccess, oContentWindow, sTargetOrigin) {
|
|
423
552
|
if (this.#bDisabled) {
|
|
@@ -439,11 +568,16 @@ sap.ui.define([
|
|
|
439
568
|
}
|
|
440
569
|
|
|
441
570
|
/**
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {
|
|
446
|
-
* @
|
|
571
|
+
* Sends a message to the content window.
|
|
572
|
+
* Adds the bWaitForResponse handling and actually sends the postMessage.
|
|
573
|
+
* @param {ParsedMessage} oMessage The message to send.
|
|
574
|
+
* @param {Window} oContentWindow The content window to send the message to.
|
|
575
|
+
* @param {string} sTargetOrigin The target origin for the postMessage request.
|
|
576
|
+
* @param {boolean} bWaitForResponse Whether to wait for a response from the service request.
|
|
577
|
+
* @returns {Promise<any>} A promise that resolves with the response from the service request if bWaitForResponse is true, otherwise resolves immediately.
|
|
578
|
+
*
|
|
579
|
+
* @since 1.134.0
|
|
580
|
+
* @private
|
|
447
581
|
*/
|
|
448
582
|
async #sendMessage (oMessage, oContentWindow, sTargetOrigin, bWaitForResponse) {
|
|
449
583
|
if (!oContentWindow) {
|
|
@@ -467,13 +601,19 @@ sap.ui.define([
|
|
|
467
601
|
}
|
|
468
602
|
|
|
469
603
|
/**
|
|
470
|
-
*
|
|
471
|
-
*
|
|
472
|
-
*
|
|
604
|
+
* Waits for a response from the client for the given request ID.
|
|
605
|
+
* Adds a response handler to the list of response handlers.
|
|
606
|
+
* The response handler will be executed when the expected response is received.
|
|
607
|
+
* @param {string} sRequestId The request ID to wait for a response.
|
|
608
|
+
* @param {Window} oExpectedContentWindow The expected content window to receive the response from.
|
|
609
|
+
* @returns {Promise<any>} A promise that resolves with the response from the client.
|
|
610
|
+
*
|
|
611
|
+
* @since 1.134.0
|
|
612
|
+
* @private
|
|
473
613
|
*/
|
|
474
614
|
#waitForClientResponse (sRequestId, oExpectedContentWindow) {
|
|
475
615
|
const oDeferred = new Deferred();
|
|
476
|
-
const fnResponseHandler = this.#handleClientResponse.bind(
|
|
616
|
+
const fnResponseHandler = this.#handleClientResponse.bind(this, oDeferred, sRequestId, oExpectedContentWindow);
|
|
477
617
|
|
|
478
618
|
this.#aResponseHandlers.push(fnResponseHandler);
|
|
479
619
|
|
|
@@ -481,23 +621,20 @@ sap.ui.define([
|
|
|
481
621
|
}
|
|
482
622
|
|
|
483
623
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* @param {
|
|
487
|
-
* @param {
|
|
488
|
-
* @
|
|
624
|
+
* Generic handler for client responses.
|
|
625
|
+
* It is called on every response and has to match the request ID and content window.
|
|
626
|
+
* @param {sap.base.util.Deferred} oDeferred The deferred object to resolve or reject based on the response.
|
|
627
|
+
* @param {string} sRequestId The request ID to match the response against.
|
|
628
|
+
* @param {Window} oExpectedContentWindow The expected content window to receive the response from.
|
|
629
|
+
* @param {MessageEvent} oMessageEvent The incoming message event.
|
|
630
|
+
* @param {PostMessageResponse} oMessage The parsed message from the postMessage event.
|
|
631
|
+
* @returns {boolean} Whether the response was handled successfully.
|
|
632
|
+
*
|
|
633
|
+
* @since 1.134.0
|
|
634
|
+
* @private
|
|
489
635
|
*/
|
|
490
|
-
#handleClientResponse (oDeferred, sRequestId, oExpectedContentWindow,
|
|
491
|
-
|
|
492
|
-
const bIsRunningInQUnit = typeof window.QUnit === "object";
|
|
493
|
-
if (!bIsRunningInQUnit && oExpectedContentWindow !== oEvent.source) {
|
|
494
|
-
return false;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
let oMessage;
|
|
498
|
-
try {
|
|
499
|
-
oMessage = JSON.parse(oEvent.data);
|
|
500
|
-
} catch {
|
|
636
|
+
#handleClientResponse (oDeferred, sRequestId, oExpectedContentWindow, oMessageEvent, oMessage) {
|
|
637
|
+
if (oExpectedContentWindow !== oMessageEvent.source) {
|
|
501
638
|
return false;
|
|
502
639
|
}
|
|
503
640
|
|
|
@@ -506,7 +643,7 @@ sap.ui.define([
|
|
|
506
643
|
return false;
|
|
507
644
|
}
|
|
508
645
|
|
|
509
|
-
oLogger.debug(`Received response for ${oMessage.service} (${oMessage.request_id}) from iframe with domain '${
|
|
646
|
+
oLogger.debug(`Received response for ${oMessage.service} (${oMessage.request_id}) from iframe with domain '${oMessageEvent.origin}'`);
|
|
510
647
|
|
|
511
648
|
if (oMessage.status === "success") {
|
|
512
649
|
oDeferred.resolve(oMessage.body);
|
|
@@ -528,10 +665,66 @@ sap.ui.define([
|
|
|
528
665
|
}
|
|
529
666
|
|
|
530
667
|
/**
|
|
531
|
-
*
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
* @
|
|
668
|
+
* Sends a request to the specified application container.
|
|
669
|
+
* Applies the distribution policy for the service request and checks if the application container is a valid target.
|
|
670
|
+
*
|
|
671
|
+
* @param {string} sServiceRequest The service request name to send the request to.
|
|
672
|
+
* @param {any} oMessageBody The message body to send with the request.
|
|
673
|
+
* @param {sap.ushell.appIntegration.IframeApplicationContainer} oApplicationContainer The application container to send the request to.
|
|
674
|
+
* @param {boolean} bWaitForResponse Whether to wait for a response from the service request.
|
|
675
|
+
* @returns {Promise<any>} A promise that resolves with the response from the service request.
|
|
676
|
+
*
|
|
677
|
+
* @since 1.139.0
|
|
678
|
+
* @private
|
|
679
|
+
*/
|
|
680
|
+
async sendRequestToApplication (sServiceRequest, oMessageBody, oApplicationContainer, bWaitForResponse) {
|
|
681
|
+
if (this.#bDisabled) {
|
|
682
|
+
throw new Error("PostMessageAPI is disabled by configuration.");
|
|
683
|
+
}
|
|
684
|
+
if (!this.#bInitialized) {
|
|
685
|
+
throw new Error("PostMessageManager is not initialized.");
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
const oDistributionPolicy = this.#getDistributionPolicy(sServiceRequest);
|
|
689
|
+
|
|
690
|
+
if (oDistributionPolicy.onlyCurrentApplication) {
|
|
691
|
+
const oCurrentApplicationContainer = this.#fnGetCurrentApplication();
|
|
692
|
+
if (oApplicationContainer !== oCurrentApplicationContainer) {
|
|
693
|
+
throw new Error("Application is not the current application.");
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
const bMatchesCapabilities = oDistributionPolicy.ignoreCapabilities || oApplicationContainer.supportsCapabilities([sServiceRequest]);
|
|
698
|
+
if (!bMatchesCapabilities) {
|
|
699
|
+
throw new Error(`Application does not support the service request: ${sServiceRequest}`);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
if (typeof oDistributionPolicy?.isValidRequestTarget === "function") {
|
|
703
|
+
const bIsValidRequestTarget = oDistributionPolicy.isValidRequestTarget(oApplicationContainer);
|
|
704
|
+
if (!bIsValidRequestTarget) {
|
|
705
|
+
throw new Error("Application is not a valid request target.");
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
return this.sendRequest(
|
|
710
|
+
sServiceRequest,
|
|
711
|
+
oMessageBody,
|
|
712
|
+
oApplicationContainer.getPostMessageTarget(),
|
|
713
|
+
oApplicationContainer.getPostMessageTargetOrigin(),
|
|
714
|
+
bWaitForResponse
|
|
715
|
+
);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Sends a request to all applications that match the distribution policy for the given service request.
|
|
720
|
+
*
|
|
721
|
+
* @param {string} sServiceRequest The service request name to send the request to.
|
|
722
|
+
* @param {any} oMessageBody The message body to send with the request.
|
|
723
|
+
* @param {boolean} bWaitForResponse Whether to wait for a response from the service request.
|
|
724
|
+
* @returns {Promise<any[]>} A promise that resolves with an array of responses from the service request.
|
|
725
|
+
*
|
|
726
|
+
* @since 1.134.0
|
|
727
|
+
* @private
|
|
535
728
|
*/
|
|
536
729
|
async sendRequestToAllApplications (sServiceRequest, oMessageBody, bWaitForResponse) {
|
|
537
730
|
if (this.#bDisabled) {
|
|
@@ -542,9 +735,19 @@ sap.ui.define([
|
|
|
542
735
|
}
|
|
543
736
|
|
|
544
737
|
const oDistributionPolicy = this.#getDistributionPolicy(sServiceRequest);
|
|
738
|
+
|
|
739
|
+
if (oDistributionPolicy.preventBroadcast) {
|
|
740
|
+
throw new Error(`Cannot send request to all applications for service request: ${sServiceRequest}. The distribution policy prevents broadcasting.`);
|
|
741
|
+
}
|
|
742
|
+
|
|
545
743
|
const aRelevantContainers = [];
|
|
546
|
-
if (oDistributionPolicy.
|
|
547
|
-
|
|
744
|
+
if (oDistributionPolicy.onlyCurrentApplication) {
|
|
745
|
+
const oCurrentApplicationContainer = this.#fnGetCurrentApplication();
|
|
746
|
+
if (!oCurrentApplicationContainer) {
|
|
747
|
+
return []; // might be undefined
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
aRelevantContainers.push(oCurrentApplicationContainer);
|
|
548
751
|
} else {
|
|
549
752
|
this.#fnGetAllApplications().forEach((oContainer) => {
|
|
550
753
|
aRelevantContainers.push(oContainer);
|
|
@@ -553,16 +756,13 @@ sap.ui.define([
|
|
|
553
756
|
|
|
554
757
|
const aFilteredContainers = aRelevantContainers
|
|
555
758
|
.filter((oContainer) => {
|
|
556
|
-
if (!oContainer) {
|
|
557
|
-
return false;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
759
|
if (!oContainer.isA("sap.ushell.appIntegration.IframeApplicationContainer")) {
|
|
561
760
|
return false;
|
|
562
761
|
}
|
|
563
762
|
|
|
564
|
-
|
|
565
|
-
|
|
763
|
+
const bMatchesCapabilities = oDistributionPolicy.ignoreCapabilities || oContainer.supportsCapabilities([sServiceRequest]);
|
|
764
|
+
if (!bMatchesCapabilities) {
|
|
765
|
+
return false;
|
|
566
766
|
}
|
|
567
767
|
|
|
568
768
|
if (typeof oDistributionPolicy?.isValidRequestTarget === "function") {
|
|
@@ -570,7 +770,7 @@ sap.ui.define([
|
|
|
570
770
|
return bIsValidRequestTarget;
|
|
571
771
|
}
|
|
572
772
|
|
|
573
|
-
return
|
|
773
|
+
return true;
|
|
574
774
|
});
|
|
575
775
|
|
|
576
776
|
const aPromises = aFilteredContainers.map((oContainer) => {
|
|
@@ -583,22 +783,44 @@ sap.ui.define([
|
|
|
583
783
|
);
|
|
584
784
|
});
|
|
585
785
|
|
|
586
|
-
return Promise.
|
|
786
|
+
return Promise.allSettled(aPromises).then((aResults) => {
|
|
787
|
+
const aErrors = aResults
|
|
788
|
+
.filter((oResult) => oResult.status === "rejected")
|
|
789
|
+
.map((oResult) => oResult.reason);
|
|
790
|
+
|
|
791
|
+
if (aErrors.length > 0) {
|
|
792
|
+
throw new Error(`Some requests failed: ${aErrors.map((oError) => oError.message).join(", ")}`);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
// all requests were successful, return the results
|
|
796
|
+
return aResults.map((oResult) => {
|
|
797
|
+
return oResult.value;
|
|
798
|
+
});
|
|
799
|
+
});
|
|
587
800
|
}
|
|
588
801
|
|
|
589
802
|
/**
|
|
590
|
-
*
|
|
591
|
-
* @
|
|
803
|
+
* Returns the distribution policy for the given service request.
|
|
804
|
+
* @param {string} sServiceRequest The service request name to get the distribution policy for.
|
|
805
|
+
* @returns {DistributionPolicy} The distribution policy for the given service request.
|
|
806
|
+
*
|
|
807
|
+
* @since 1.134.0
|
|
808
|
+
* @private
|
|
592
809
|
*/
|
|
593
810
|
#getDistributionPolicy (sServiceRequest) {
|
|
594
811
|
return this.#oDistributionPolicies[sServiceRequest] || oDefaultDistributionPolicy;
|
|
595
812
|
}
|
|
596
813
|
|
|
597
814
|
/**
|
|
598
|
-
*
|
|
599
|
-
*
|
|
815
|
+
* Sets the distribution policy for the given service request.
|
|
816
|
+
* If a policy for the service request already exists, it will be overwritten.
|
|
817
|
+
* @param {string} sServiceRequest The service request name to set the distribution policy for.
|
|
818
|
+
* @param {DistributionPolicy} oPolicy The distribution policy to set for the service request.
|
|
819
|
+
*
|
|
820
|
+
* @since 1.134.0
|
|
821
|
+
* @private
|
|
600
822
|
*/
|
|
601
|
-
setDistributionPolicy (sServiceRequest, oPolicy
|
|
823
|
+
setDistributionPolicy (sServiceRequest, oPolicy) {
|
|
602
824
|
if (this.#oDistributionPolicies[sServiceRequest]) {
|
|
603
825
|
oLogger.error(`Distribution policy for service ${sServiceRequest} is already defined. Overwriting the existing policy.`);
|
|
604
826
|
}
|
|
@@ -609,10 +831,18 @@ sap.ui.define([
|
|
|
609
831
|
};
|
|
610
832
|
}
|
|
611
833
|
|
|
834
|
+
/**
|
|
835
|
+
* Replays all stored messages that were not processed yet.
|
|
836
|
+
* This is useful for plugins that were added after the messages were received.
|
|
837
|
+
* It will process all messages that were stored while the PostMessageManager was not initialized.
|
|
838
|
+
*
|
|
839
|
+
* @since 1.134.0
|
|
840
|
+
* @private
|
|
841
|
+
*/
|
|
612
842
|
replayStoredMessages () {
|
|
613
843
|
this.#bKeepMessagesForLaterProcessing = false;
|
|
614
|
-
this.#aUnprocessedMessages.forEach((
|
|
615
|
-
this.#handlePostMessageEvent(
|
|
844
|
+
this.#aUnprocessedMessages.forEach((oMessageEvent) => {
|
|
845
|
+
this.#handlePostMessageEvent(oMessageEvent);
|
|
616
846
|
});
|
|
617
847
|
this.#aUnprocessedMessages = [];
|
|
618
848
|
}
|