@sapui5/sap.ushell 1.125.0 → 1.126.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/Container.js +137 -62
- 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/SessionHandler.js +35 -31
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.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/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/cdm/v3/utilsCdm.js +34 -0
- 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 +4 -4
- 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/api/RTA.js +14 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +5 -5
- 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/AppState.js +1 -1
- 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 +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/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 +2 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +3 -3
- package/src/main/js/sap/ushell/components/CatalogsManager.js +4 -1
- package/src/main/js/sap/ushell/components/HomepageManager.js +1 -0
- package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +1 -0
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +2 -2
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxesCache.js +37 -7
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +11 -3
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +1 -2
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +10 -0
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +1 -0
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +3 -0
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- 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/library.js +1 -1
- 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/History.js +1 -2
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +3 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +37 -37
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +4 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +4 -4
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +13 -11
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +625 -750
- package/src/main/js/sap/ushell/services/CommonDataModel.js +21 -14
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +8 -3
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
- 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.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +3 -3
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +223 -229
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +87 -78
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +225 -271
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +10 -10
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +9 -6
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +16 -25
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/ParameterMapping.js +3 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +15 -21
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +52 -45
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +3 -5
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +5 -2
- 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 +63 -80
- 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/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/sap_horizon/Tile.less +2 -6
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +3 -6
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +3 -8
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -2
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.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/WindowUtils.js +17 -0
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +305 -305
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +22 -5
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +7 -6
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
14
14
|
* by this module may change at any time without notice.</p>
|
|
15
15
|
*
|
|
16
|
-
* @version 1.
|
|
16
|
+
* @version 1.126.0
|
|
17
17
|
*/
|
|
18
18
|
sap.ui.define([
|
|
19
19
|
], function () {
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
var aMatches = sInbound.match(/^#(.+?)-(.+?)({(.+)})?$/);
|
|
70
70
|
|
|
71
71
|
if (!aMatches) {
|
|
72
|
-
throw "Cannot parse inbound";
|
|
72
|
+
throw new Error("Cannot parse inbound");
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
var oResult = {
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
*
|
|
137
137
|
* @private
|
|
138
138
|
*/
|
|
139
|
-
function formatInboundSignature(oInboundSignature) {
|
|
139
|
+
function formatInboundSignature (oInboundSignature) {
|
|
140
140
|
var oInboundSignatureSafe = oInboundSignature || {},
|
|
141
141
|
mParams = oInboundSignatureSafe.parameters || {},
|
|
142
142
|
oTypeNotation = {
|
|
@@ -166,7 +166,7 @@ sap.ui.define([
|
|
|
166
166
|
|
|
167
167
|
var aResults = [];
|
|
168
168
|
|
|
169
|
-
Object.keys(mParams).forEach(function(sParamName) {
|
|
169
|
+
Object.keys(mParams).forEach(function (sParamName) {
|
|
170
170
|
var oParamDefinition = mParams[sParamName],
|
|
171
171
|
sParamType = oParamDefinition.required ? "required" : "optional",
|
|
172
172
|
sParamFilterValue = oParamDefinition.filter && oParamDefinition.filter.value,
|
|
@@ -215,9 +215,9 @@ sap.ui.define([
|
|
|
215
215
|
*
|
|
216
216
|
* @private
|
|
217
217
|
*/
|
|
218
|
-
function parseInboundSignature(sCompactSignature) {
|
|
218
|
+
function parseInboundSignature (sCompactSignature) {
|
|
219
219
|
|
|
220
|
-
function parseParameterValue(sValue) {
|
|
220
|
+
function parseParameterValue (sValue) {
|
|
221
221
|
var oValue = [
|
|
222
222
|
{ re: new RegExp(/^[/](.+)[/]$/), format: "regexp" },
|
|
223
223
|
{ re: new RegExp(/^[@](.+)[@]$/), format: "reference" },
|
|
@@ -225,7 +225,7 @@ sap.ui.define([
|
|
|
225
225
|
].reduce(function (oResult, oDefinition) {
|
|
226
226
|
var aMatch = sValue.match(oDefinition.re);
|
|
227
227
|
|
|
228
|
-
if (oResult) {
|
|
228
|
+
if (oResult) { // we have it already
|
|
229
229
|
return oResult;
|
|
230
230
|
}
|
|
231
231
|
|
|
@@ -313,9 +313,9 @@ sap.ui.define([
|
|
|
313
313
|
// additional parameters
|
|
314
314
|
function parseAdditionalParametersValue (sAdditionalParametersToParse) {
|
|
315
315
|
return [
|
|
316
|
-
{ "<+>"
|
|
317
|
-
{ "<->"
|
|
318
|
-
{ "<o>"
|
|
316
|
+
{ "<+>": "allowed" },
|
|
317
|
+
{ "<->": "notallowed" },
|
|
318
|
+
{ "<o>": "ignored" }
|
|
319
319
|
].reduce(function (sResult, oPossibleResult, iIdx, aPossibilities) {
|
|
320
320
|
if (sResult) {
|
|
321
321
|
return sResult;
|
|
@@ -27,12 +27,15 @@
|
|
|
27
27
|
*
|
|
28
28
|
* @private
|
|
29
29
|
*
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.126.0
|
|
31
31
|
*/
|
|
32
32
|
sap.ui.define([
|
|
33
|
-
"sap/base/util/ObjectPath",
|
|
34
|
-
"sap/base/Log"
|
|
35
|
-
], function (
|
|
33
|
+
"sap/base/util/ObjectPath",
|
|
34
|
+
"sap/base/Log"
|
|
35
|
+
], function (
|
|
36
|
+
ObjectPath,
|
|
37
|
+
Log
|
|
38
|
+
) {
|
|
36
39
|
"use strict";
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -159,8 +162,8 @@ sap.ui.define([
|
|
|
159
162
|
* {
|
|
160
163
|
* index: {
|
|
161
164
|
* segment: {
|
|
162
|
-
* "
|
|
163
|
-
* "
|
|
165
|
+
* "SemanticObject1" : [ ...oInbounds1 ],
|
|
166
|
+
* "SemanticObject2" : [ ...oInbounds2 ],
|
|
164
167
|
* ...
|
|
165
168
|
* },
|
|
166
169
|
* tag: { // may not be there
|
|
@@ -34,12 +34,17 @@
|
|
|
34
34
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
35
35
|
* by this module may change at any time without notice.</p>
|
|
36
36
|
*
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.126.0
|
|
38
38
|
*/
|
|
39
39
|
sap.ui.define([
|
|
40
40
|
"sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds",
|
|
41
|
-
"sap/ushell/services/_ClientSideTargetResolution/InboundIndex"
|
|
42
|
-
|
|
41
|
+
"sap/ushell/services/_ClientSideTargetResolution/InboundIndex",
|
|
42
|
+
"sap/ushell/utils"
|
|
43
|
+
], function (
|
|
44
|
+
VirtualInbounds,
|
|
45
|
+
InboundIndex,
|
|
46
|
+
ushellUtils
|
|
47
|
+
) {
|
|
43
48
|
"use strict";
|
|
44
49
|
|
|
45
50
|
/**
|
|
@@ -84,7 +89,7 @@ sap.ui.define([
|
|
|
84
89
|
*
|
|
85
90
|
* @private
|
|
86
91
|
*/
|
|
87
|
-
InboundProvider.prototype.getInbounds = function(aSegments) {
|
|
92
|
+
InboundProvider.prototype.getInbounds = function (aSegments) {
|
|
88
93
|
if (aSegments) {
|
|
89
94
|
return this._getSomeInbounds(aSegments);
|
|
90
95
|
}
|
|
@@ -117,16 +122,10 @@ sap.ui.define([
|
|
|
117
122
|
*
|
|
118
123
|
* @private
|
|
119
124
|
*/
|
|
120
|
-
InboundProvider.prototype._getSomeInbounds = function (aSegments) {
|
|
121
|
-
|
|
125
|
+
InboundProvider.prototype._getSomeInbounds = async function (aSegments) {
|
|
126
|
+
const aInbounds = await ushellUtils.promisify(this._fnRetrieveInbounds(aSegments));
|
|
122
127
|
|
|
123
|
-
return
|
|
124
|
-
that._fnRetrieveInbounds(aSegments).done(function (aInbounds) {
|
|
125
|
-
fnResolve(oInboundIndex.createIndex(aInbounds.concat(oVirtualInbounds.getInbounds())));
|
|
126
|
-
}).fail(function () {
|
|
127
|
-
fnReject.apply(null, arguments);
|
|
128
|
-
});
|
|
129
|
-
});
|
|
128
|
+
return InboundIndex.createIndex(aInbounds.concat(VirtualInbounds.getInbounds()));
|
|
130
129
|
};
|
|
131
130
|
|
|
132
131
|
/**
|
|
@@ -140,19 +139,11 @@ sap.ui.define([
|
|
|
140
139
|
* @private
|
|
141
140
|
*/
|
|
142
141
|
InboundProvider.prototype._getAllInbounds = function () {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
return this._oInboundsRetrievalPromise;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
this._oInboundsRetrievalPromise = new Promise(function (fnResolve, fnReject) {
|
|
150
|
-
that._fnRetrieveInbounds().done(function (aInbounds) {
|
|
151
|
-
fnResolve(oInboundIndex.createIndex((aInbounds || []).concat(oVirtualInbounds.getInbounds())));
|
|
152
|
-
}).fail(function () {
|
|
153
|
-
fnReject.apply(null, arguments);
|
|
142
|
+
if (!this._oInboundsRetrievalPromise) {
|
|
143
|
+
this._oInboundsRetrievalPromise = ushellUtils.promisify(this._fnRetrieveInbounds()).then((aInbounds) => {
|
|
144
|
+
return InboundIndex.createIndex((aInbounds || []).concat(VirtualInbounds.getInbounds()));
|
|
154
145
|
});
|
|
155
|
-
}
|
|
146
|
+
}
|
|
156
147
|
|
|
157
148
|
return this._oInboundsRetrievalPromise;
|
|
158
149
|
|
|
@@ -4,17 +4,19 @@
|
|
|
4
4
|
* @file PrelaunchOperations are executed just before launching the application (post parameter mapping and app state merging) if the
|
|
5
5
|
* <code>sap-prelaunch-operations</code> parameter is specified as a technical parameter.
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.126.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
11
11
|
"sap/base/util/deepExtend",
|
|
12
12
|
"sap/fe/navigation/SelectionVariant",
|
|
13
|
+
"sap/ushell/utils",
|
|
13
14
|
"sap/ushell/Container"
|
|
14
15
|
], function (
|
|
15
16
|
Log,
|
|
16
17
|
deepExtend,
|
|
17
18
|
SelectionVariant,
|
|
19
|
+
ushellUtils,
|
|
18
20
|
Container
|
|
19
21
|
) {
|
|
20
22
|
"use strict";
|
|
@@ -29,9 +31,9 @@ sap.ui.define([
|
|
|
29
31
|
* @since 1.69.0
|
|
30
32
|
* @private
|
|
31
33
|
*/
|
|
32
|
-
function _getAppState (sAppStateKey) {
|
|
34
|
+
async function _getAppState (sAppStateKey) {
|
|
33
35
|
if (!sAppStateKey) {
|
|
34
|
-
return
|
|
36
|
+
return null;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
return Container.getServiceAsync("AppState")
|
|
@@ -60,7 +62,7 @@ sap.ui.define([
|
|
|
60
62
|
* @since 1.69.0
|
|
61
63
|
* @private
|
|
62
64
|
*/
|
|
63
|
-
function _updateMatchingTarget (oPrelaunchOperationsResult, oMatchingTarget, oSelectionVariant, oStartupParameters, aDefaultedParameterNames) {
|
|
65
|
+
async function _updateMatchingTarget (oPrelaunchOperationsResult, oMatchingTarget, oSelectionVariant, oStartupParameters, aDefaultedParameterNames) {
|
|
64
66
|
if (oPrelaunchOperationsResult.startupParametersModified) {
|
|
65
67
|
oMatchingTarget.mappedIntentParamsPlusSimpleDefaults = oStartupParameters;
|
|
66
68
|
}
|
|
@@ -70,23 +72,15 @@ sap.ui.define([
|
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
if (oPrelaunchOperationsResult.selectionVariantModified) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-xapp-state"] = [oNewAppState.getKey()];
|
|
83
|
-
fnResolve(oMatchingTarget);
|
|
84
|
-
})
|
|
85
|
-
.fail(function (error) {
|
|
86
|
-
fnReject(error);
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
});
|
|
75
|
+
const AppState = await Container.getServiceAsync("AppState");
|
|
76
|
+
|
|
77
|
+
var oNewAppState = AppState.createEmptyAppState(undefined, true);
|
|
78
|
+
oNewAppState.setData({
|
|
79
|
+
selectionVariant: oSelectionVariant.toJSONObject()
|
|
80
|
+
});
|
|
81
|
+
await ushellUtils.promisify(oNewAppState.save());
|
|
82
|
+
|
|
83
|
+
oMatchingTarget.mappedIntentParamsPlusSimpleDefaults["sap-xapp-state"] = [oNewAppState.getKey()];
|
|
90
84
|
}
|
|
91
85
|
|
|
92
86
|
return Promise.resolve(oMatchingTarget);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
9
9
|
* by this module may change at any time without notice.</p>
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.126.0
|
|
12
12
|
*/
|
|
13
13
|
sap.ui.define([
|
|
14
14
|
"sap/ushell/utils",
|
|
@@ -16,9 +16,15 @@ sap.ui.define([
|
|
|
16
16
|
"sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds",
|
|
17
17
|
"sap/ushell/services/_ClientSideTargetResolution/Formatter",
|
|
18
18
|
"sap/ushell/TechnicalParameters",
|
|
19
|
-
"sap/base/Log"
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
"sap/base/Log"
|
|
20
|
+
], function (
|
|
21
|
+
ushellUtils,
|
|
22
|
+
CstrUtils,
|
|
23
|
+
VirtualInbounds,
|
|
24
|
+
Formatter,
|
|
25
|
+
TechnicalParameters,
|
|
26
|
+
Log
|
|
27
|
+
) {
|
|
22
28
|
"use strict";
|
|
23
29
|
|
|
24
30
|
// Latter entries give a certain technology a higher precedence
|
|
@@ -629,7 +635,7 @@ sap.ui.define([
|
|
|
629
635
|
* The function to get list providers with the list of compatible data origins
|
|
630
636
|
* @param {boolean} bDebugEnabled
|
|
631
637
|
* Whether should include debugging information
|
|
632
|
-
* @returns {
|
|
638
|
+
* @returns {Promise<object>} Always resolves to the following match result
|
|
633
639
|
* structure:
|
|
634
640
|
*
|
|
635
641
|
* <pre>
|
|
@@ -641,50 +647,51 @@ sap.ui.define([
|
|
|
641
647
|
* </pre>
|
|
642
648
|
*
|
|
643
649
|
*/
|
|
644
|
-
function match (oIntent, aInbounds, oKnownReferences, fnContentProviderLoader, bDebugEnabled) {
|
|
650
|
+
async function match (oIntent, aInbounds, oKnownReferences, fnContentProviderLoader, bDebugEnabled) {
|
|
645
651
|
|
|
646
652
|
function collectDebugInformation (oNoMatchReasons, oMatchResult, oInbound) {
|
|
647
|
-
var sInbound =
|
|
653
|
+
var sInbound = Formatter.formatInbound(oInbound);
|
|
648
654
|
oNoMatchReasons[sInbound] = oMatchResult.noMatchReason
|
|
649
655
|
+ (oMatchResult.noMatchDebug ? "| DEBUG: " + oMatchResult.noMatchDebug : "");
|
|
650
656
|
}
|
|
651
657
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
658
|
+
let oContentProviderLookup;
|
|
659
|
+
if (fnContentProviderLoader) {
|
|
660
|
+
oContentProviderLookup = await ushellUtils.promisify(fnContentProviderLoader());
|
|
661
|
+
}
|
|
656
662
|
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
oResult.missingReferences[sContentProviderId] = {};
|
|
660
|
-
}
|
|
663
|
+
var oMatchResults = aInbounds.reduce(function (oResult, oInbound) {
|
|
664
|
+
var sContentProviderId = oInbound.contentProviderId || "";
|
|
661
665
|
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
oResult.missingReferences[sContentProviderId], // it's augmented
|
|
667
|
-
oContentProviderLookup ? oContentProviderLookup[sContentProviderId] : null
|
|
668
|
-
);
|
|
669
|
-
|
|
670
|
-
if (oMatchResult.matches) {
|
|
671
|
-
oResult.matchResults.push(oMatchResult);
|
|
672
|
-
} else if (bDebugEnabled) {
|
|
673
|
-
// collect some debugging information
|
|
674
|
-
collectDebugInformation(oResult.noMatchReasons, oMatchResult, oInbound);
|
|
675
|
-
}
|
|
666
|
+
var oReferences = oKnownReferences[sContentProviderId] || {};
|
|
667
|
+
if (!oResult.missingReferences[sContentProviderId]) {
|
|
668
|
+
oResult.missingReferences[sContentProviderId] = {};
|
|
669
|
+
}
|
|
676
670
|
|
|
677
|
-
|
|
671
|
+
var oMatchResult = matchOne(
|
|
672
|
+
oIntent,
|
|
673
|
+
oInbound,
|
|
674
|
+
oReferences,
|
|
675
|
+
oResult.missingReferences[sContentProviderId], // it's augmented
|
|
676
|
+
oContentProviderLookup ? oContentProviderLookup[sContentProviderId] : null
|
|
677
|
+
);
|
|
678
|
+
|
|
679
|
+
if (oMatchResult.matches) {
|
|
680
|
+
oResult.matchResults.push(oMatchResult);
|
|
681
|
+
} else if (bDebugEnabled) {
|
|
682
|
+
// collect some debugging information
|
|
683
|
+
collectDebugInformation(oResult.noMatchReasons, oMatchResult, oInbound);
|
|
684
|
+
}
|
|
678
685
|
|
|
679
|
-
|
|
680
|
-
matchResults: [],
|
|
681
|
-
noMatchReasons: {},
|
|
682
|
-
missingReferences: {}
|
|
683
|
-
});
|
|
686
|
+
return oResult;
|
|
684
687
|
|
|
685
|
-
|
|
688
|
+
}, { // the result
|
|
689
|
+
matchResults: [],
|
|
690
|
+
noMatchReasons: {},
|
|
691
|
+
missingReferences: {}
|
|
686
692
|
});
|
|
687
693
|
|
|
694
|
+
return oMatchResults;
|
|
688
695
|
}
|
|
689
696
|
|
|
690
697
|
function matchParameterSignature (oInboundSignatureParameters, oIntentParamsPlusAllDefaults, oIntentParams, aDefaultedParameterNames, oKnownReferenceIn, oMissingReferencesOut) {
|
|
@@ -745,7 +752,7 @@ sap.ui.define([
|
|
|
745
752
|
oStats = {};
|
|
746
753
|
|
|
747
754
|
function isNotTechnicalParameter (sParameterName) {
|
|
748
|
-
return !
|
|
755
|
+
return !TechnicalParameters.isTechnicalParameter(sParameterName);
|
|
749
756
|
}
|
|
750
757
|
|
|
751
758
|
var aIntentParamsWithoutTechnicalParameters = Object.keys(oIntentParams).filter(isNotTechnicalParameter);
|
|
@@ -902,7 +909,7 @@ sap.ui.define([
|
|
|
902
909
|
|
|
903
910
|
function fnMatch (oResult) {
|
|
904
911
|
oResult.matches = true;
|
|
905
|
-
oResult.matchesVirtualInbound =
|
|
912
|
+
oResult.matchesVirtualInbound = VirtualInbounds.isVirtualInbound(oInbound);
|
|
906
913
|
oResult.parsedIntent = oIntent;
|
|
907
914
|
return oResult;
|
|
908
915
|
}
|
|
@@ -966,7 +973,7 @@ sap.ui.define([
|
|
|
966
973
|
sInboundContentProviderId = oInbound.contentProviderId;
|
|
967
974
|
//Test navigation to the given content provider
|
|
968
975
|
if (sAppOrigin && sAppOrigin !== sInboundContentProviderId) {
|
|
969
|
-
return fnNoMatch(oMatchResult, "
|
|
976
|
+
return fnNoMatch(oMatchResult, "Content provider as filter \"" + sAppOrigin + "\" did not match",
|
|
970
977
|
"Inbound: [" + sInboundContentProviderId + "]");
|
|
971
978
|
}
|
|
972
979
|
//Test that sap-system and content provider is compatible
|
|
@@ -995,15 +1002,15 @@ sap.ui.define([
|
|
|
995
1002
|
|
|
996
1003
|
if (!bSignatureMatches) {
|
|
997
1004
|
return fnNoMatch(oMatchResult, "Inbound parameter signature did not match",
|
|
998
|
-
|
|
1005
|
+
Formatter.formatInboundSignature(oInbound.signature));
|
|
999
1006
|
}
|
|
1000
1007
|
|
|
1001
1008
|
// If multiple parameters map onto the same parameter with renameTo,
|
|
1002
1009
|
// a value which was explicitly passed dominates all other values
|
|
1003
1010
|
// we remove the spurious defaulted values.
|
|
1004
|
-
var oParameterDominatorMap =
|
|
1011
|
+
var oParameterDominatorMap = CstrUtils.constructParameterDominatorMap(oInbound.signature.parameters);
|
|
1005
1012
|
|
|
1006
|
-
var oDominatedDefaultParametersToRemove =
|
|
1013
|
+
var oDominatedDefaultParametersToRemove = CstrUtils.findDominatedDefaultParameters(
|
|
1007
1014
|
oIntentParamsPlusAllDefaults, aDefaultedParamNames, oParameterDominatorMap
|
|
1008
1015
|
);
|
|
1009
1016
|
|
|
@@ -1013,18 +1020,18 @@ sap.ui.define([
|
|
|
1013
1020
|
});
|
|
1014
1021
|
|
|
1015
1022
|
var oIntentParamsPlusAllDefaultsWithoutDominatedParams =
|
|
1016
|
-
|
|
1023
|
+
CstrUtils.filterObjectKeys(oIntentParamsPlusAllDefaults, function (sDefaultedParam) {
|
|
1017
1024
|
return !oDominatedDefaultParametersToRemove[sDefaultedParam]; // keep condition
|
|
1018
1025
|
});
|
|
1019
1026
|
|
|
1020
1027
|
if (!checkAdditionalParameters(oInbound, oIntentParamsPlusAllDefaultsWithoutDominatedParams)) {
|
|
1021
1028
|
return fnNoMatch(oMatchResult, "Additional parameters not allowed",
|
|
1022
|
-
|
|
1029
|
+
Formatter.formatInboundSignature(oInbound.signature));
|
|
1023
1030
|
}
|
|
1024
1031
|
|
|
1025
1032
|
var bAdditionalParametersIgnored = oInbound.signature.additionalParameters === "ignored";
|
|
1026
1033
|
if (bAdditionalParametersIgnored) {
|
|
1027
|
-
|
|
1034
|
+
CstrUtils.filterObjectKeys(oIntentParamsPlusAllDefaultsWithoutDominatedParams, function (sKey) {
|
|
1028
1035
|
if (sKey.indexOf("sap-") === 0) {
|
|
1029
1036
|
return true; // keep sap params
|
|
1030
1037
|
}
|
|
@@ -39,14 +39,12 @@
|
|
|
39
39
|
*
|
|
40
40
|
* This is a dependency of ClientSideTargetResolution. Interfaces exposed by this module may change at any time without notice.
|
|
41
41
|
*
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.126.0
|
|
43
43
|
*/
|
|
44
44
|
sap.ui.define([
|
|
45
|
-
"sap/base/Log"
|
|
46
|
-
"sap/ushell/services/_ClientSideTargetResolution/Utils"
|
|
45
|
+
"sap/base/Log"
|
|
47
46
|
], function (
|
|
48
|
-
Log
|
|
49
|
-
_Utils
|
|
47
|
+
Log
|
|
50
48
|
) {
|
|
51
49
|
"use strict";
|
|
52
50
|
|
|
@@ -8,12 +8,15 @@
|
|
|
8
8
|
* <p>This is a dependency of ClientSideTargetResolution. Interfaces exposed
|
|
9
9
|
* by this module may change at any time without notice.</p>
|
|
10
10
|
*
|
|
11
|
-
* @version 1.
|
|
11
|
+
* @version 1.126.0
|
|
12
12
|
*/
|
|
13
13
|
sap.ui.define([
|
|
14
14
|
"sap/base/util/ObjectPath",
|
|
15
15
|
"sap/ui/thirdparty/URI"
|
|
16
|
-
], function (
|
|
16
|
+
], function (
|
|
17
|
+
ObjectPath,
|
|
18
|
+
URI
|
|
19
|
+
) {
|
|
17
20
|
"use strict";
|
|
18
21
|
|
|
19
22
|
var SystemContext = {};
|