@sapui5/sap.ushell 1.141.3 → 1.143.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 -7
- package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +7 -11
- package/src/main/js/sap/ushell/ApplicationType/utils.js +9 -9
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +18 -0
- 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 +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.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 -3
- 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/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -12
- 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 -2
- 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 +2 -3
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +41 -24
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +3 -2
- 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 +94 -114
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +43 -20
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +0 -11
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +89 -32
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +53 -52
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/LifecycleHandler.js +1 -3
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NWBCHandler.js +1 -1
- package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NavigationHandler.js +4 -4
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +58 -17
- package/src/main/js/sap/ushell/appIntegration/PostMessagePluginInterface.js +4 -0
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +15 -28
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +16 -27
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +6 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +0 -12
- 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 +20 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +17 -6
- 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 +2 -2
- 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/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 +2 -2
- 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/LoadingConfiguration.json +4 -0
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +35 -17
- 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/cdm/cdm.constants.js +0 -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 +29 -5
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Component.js +2 -2
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +5 -5
- 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/dialog/Component.js +1 -1
- 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/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/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +3 -3
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +10 -10
- 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 +3 -3
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +4 -4
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/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/controller/NavigationBarMenuButton.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 +25 -50
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverHeader.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsModule.js +169 -0
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +4 -4
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +6 -2
- package/src/main/js/sap/ushell/components/shell/Search/SearchModule.js +58 -0
- 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/SearchCEPNew/Component.js +33 -22
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +0 -1
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +35 -7
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.view.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +14 -9
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +15 -21
- 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 +23 -18
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.fragment.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +6 -6
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +1 -8
- package/src/main/js/sap/ushell/modules/Assistant/AssistantAPI.js +94 -0
- package/src/main/js/sap/ushell/modules/Assistant/AssistantProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Assistant/VisualConfiguration.js +41 -0
- package/src/main/js/sap/ushell/modules/Assistant.js +56 -0
- package/src/main/js/sap/ushell/modules/BaseAPI.js +107 -0
- package/src/main/js/sap/ushell/modules/BaseProvider.js +43 -0
- package/src/main/js/sap/ushell/modules/Notifications/NotificationsAPI.js +253 -0
- package/src/main/js/sap/ushell/modules/Notifications/NotificationsProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Notifications.js +53 -0
- package/src/main/js/sap/ushell/modules/Search/SearchAPI.js +271 -0
- package/src/main/js/sap/ushell/modules/Search/SearchProvider.js +50 -0
- package/src/main/js/sap/ushell/modules/Search.js +56 -0
- package/src/main/js/sap/ushell/modules/loader/AbstractLoader.js +95 -0
- package/src/main/js/sap/ushell/modules/loader/AssistantLoader.js +156 -0
- package/src/main/js/sap/ushell/modules/loader/NotificationsLoader.js +148 -0
- package/src/main/js/sap/ushell/modules/loader/SearchLoader.js +153 -0
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +136 -40
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +26 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +19 -14
- package/src/main/js/sap/ushell/renderer/Renderer.js +6 -7
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +204 -102
- package/src/main/js/sap/ushell/renderer/Shell.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +7 -9
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +1 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +4 -5
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +5 -6
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +6 -7
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +13 -14
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +3 -4
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +3 -4
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +0 -14
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.fragment.xml +0 -1
- package/src/main/js/sap/ushell/services/AppConfiguration.js +5 -63
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +45 -37
- 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/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 +6 -5
- 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 +1 -1
- 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 +13 -13
- 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 +15 -3
- 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/UserSettingsEntry.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +21 -8
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -181
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +3 -3
- package/src/main/js/sap/ushell/services/MessageBroker.js +3 -3
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +3 -3
- 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 +20 -20
- 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/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +2 -6
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +6 -7
- package/src/main/js/sap/ushell/services/SearchableContent.js +3 -5
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +52 -73
- 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/URLParsing.js +65 -47
- 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 +6 -44
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +2 -2
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +5 -5
- 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/_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/state/StateManager.js +14 -5
- package/src/main/js/sap/ushell/state/StateRules.js +10 -1
- package/src/main/js/sap/ushell/state/modules/BackNavigation.js +1 -1
- package/src/main/js/sap/ushell/state/modules/ContentDensity.js +1 -1
- package/src/main/js/sap/ushell/state/modules/Favicon.js +1 -1
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_belize_base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_belize_base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ApplicationContainer.less +0 -9
- package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +0 -14
- package/src/main/js/sap/ushell/ui/ShellHeader.js +4 -29
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +0 -14
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +11 -11
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +12 -12
- 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 +113 -22
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +0 -2
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +0 -8
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- 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/SmartBusiness.js +139 -0
- package/src/main/js/sap/ushell/utils/UrlParsing.js +335 -208
- 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 +36 -56
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +19 -34
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +0 -228
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +0 -277
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +0 -2128
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +0 -462
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +0 -182
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +0 -135
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +0 -400
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +0 -345
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -103
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +0 -147
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +0 -60
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +0 -277
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +0 -96
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +0 -59
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +0 -177
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +0 -79
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +0 -90
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_mk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +0 -93
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +0 -248
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +0 -25
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +0 -25
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +0 -67
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +0 -176
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +0 -50
- package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +0 -37
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +0 -119
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +0 -219
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +0 -75
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +0 -76
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +0 -39
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +0 -153
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +0 -185
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +0 -198
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +0 -576
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/IllustratedMessage.js +0 -98
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +0 -135
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +0 -91
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +0 -134
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +0 -55
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +0 -163
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +0 -83
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +0 -36
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +0 -53
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +0 -55
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +0 -380
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +0 -78
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +0 -88
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +0 -157
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +0 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +0 -197
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +0 -83
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +0 -42
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +0 -1652
- package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +0 -2823
- package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +0 -58
- package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +0 -35
- package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +0 -65
- package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +0 -13
- package/src/main/js/sap/ushell/thirdparty/Avatar.js +0 -453
- package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +0 -233
- package/src/main/js/sap/ushell/thirdparty/Button.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/Button2.js +0 -656
- package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/Icon.js +0 -313
- package/src/main/js/sap/ushell/thirdparty/Icons.js +0 -234
- package/src/main/js/sap/ushell/thirdparty/IllustratedMessage.js +0 -1297
- package/src/main/js/sap/ushell/thirdparty/Label.js +0 -115
- package/src/main/js/sap/ushell/thirdparty/Link.js +0 -316
- package/src/main/js/sap/ushell/thirdparty/List.js +0 -1253
- package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +0 -14
- package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +0 -251
- package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +0 -1689
- package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +0 -637
- package/src/main/js/sap/ushell/thirdparty/Menu.js +0 -389
- package/src/main/js/sap/ushell/thirdparty/MenuItem.js +0 -10
- package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +0 -762
- package/src/main/js/sap/ushell/thirdparty/NotificationList.js +0 -291
- package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +0 -310
- package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +0 -534
- package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +0 -98
- package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +0 -2312
- package/src/main/js/sap/ushell/thirdparty/SearchItem.js +0 -157
- package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +0 -49
- package/src/main/js/sap/ushell/thirdparty/SearchScope.js +0 -39
- package/src/main/js/sap/ushell/thirdparty/ShellBar.js +0 -1809
- package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +0 -119
- package/src/main/js/sap/ushell/thirdparty/ShellBarItem.js +0 -89
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +0 -3453
- package/src/main/js/sap/ushell/thirdparty/ShellBarSpacer.js +0 -40
- package/src/main/js/sap/ushell/thirdparty/Tag.js +0 -302
- package/src/main/js/sap/ushell/thirdparty/Text.js +0 -127
- package/src/main/js/sap/ushell/thirdparty/Title.js +0 -167
- package/src/main/js/sap/ushell/thirdparty/UserMenu.js +0 -950
- package/src/main/js/sap/ushell/thirdparty/UserMenuAccount.js +0 -114
- package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +0 -61
- package/src/main/js/sap/ushell/thirdparty/ValueState.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/WrappingType.js +0 -24
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputComposition.js +0 -35
- package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +0 -397
- package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +0 -193
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +0 -585
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +0 -585
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite.js +0 -1194
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite2.js +0 -1194
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +0 -2509
- package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +0 -2509
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +0 -866
- package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +0 -611
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css27.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/encodeXML.js +0 -87
- package/src/main/js/sap/ushell/thirdparty/event-strict.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +0 -9
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +0 -115
- package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +0 -159
- package/src/main/js/sap/ushell/thirdparty/information.js +0 -100
- package/src/main/js/sap/ushell/thirdparty/information2.js +0 -13
- package/src/main/js/sap/ushell/thirdparty/overflow.js +0 -25
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +0 -11
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css3.js +0 -8
- package/src/main/js/sap/ushell/thirdparty/query.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +0 -44
- package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +0 -26
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +0 -4301
- package/src/main/js/sap/ushell/thirdparty/webcomponents-base2.js +0 -7
- package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +0 -146
- package/src/main/js/sap/ushell/thirdparty/webcomponents.js +0 -170
- package/src/main/js/sap/ushell/thirdparty/willShowContent.js +0 -7
|
@@ -103,9 +103,9 @@ sap.ui.define([
|
|
|
103
103
|
HashChanger.apply(this);
|
|
104
104
|
this._initializedByShellNav = false; // initialization flag for the shellNavigationService
|
|
105
105
|
this._bReloadApplication = false;
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
106
|
+
this._fnShellCallback = null;
|
|
107
|
+
this._appHashPrefix = "&/";
|
|
108
|
+
this._hashPrefix = "#";
|
|
109
109
|
this.aNavigationFilters = [];
|
|
110
110
|
this.NavigationFilterStatus = {
|
|
111
111
|
Continue: "Continue",
|
|
@@ -139,14 +139,12 @@ sap.ui.define([
|
|
|
139
139
|
/**
|
|
140
140
|
* Obtains the current shell hash (with #) urlDecoded
|
|
141
141
|
* Shortened(!)
|
|
142
|
-
* @returns {
|
|
142
|
+
* @returns {string} the shell hash
|
|
143
143
|
* @private
|
|
144
144
|
*/
|
|
145
|
-
ShellNavigationHashChanger.prototype.
|
|
146
|
-
const
|
|
147
|
-
return {
|
|
148
|
-
hash: `#${res?.shellPart || ""}`
|
|
149
|
-
};
|
|
145
|
+
ShellNavigationHashChanger.prototype._getCurrentShellHash = function () {
|
|
146
|
+
const oSplitHash = this._splitHash(hasher.getHash());
|
|
147
|
+
return `#${oSplitHash?.shellPart || ""}`;
|
|
150
148
|
};
|
|
151
149
|
|
|
152
150
|
/**
|
|
@@ -156,20 +154,10 @@ sap.ui.define([
|
|
|
156
154
|
* @returns {string} constructed full hash
|
|
157
155
|
* @private
|
|
158
156
|
*/
|
|
159
|
-
ShellNavigationHashChanger.prototype.
|
|
160
|
-
const
|
|
161
|
-
oShellHash.hash += sAppSpecific;
|
|
162
|
-
return oShellHash;
|
|
163
|
-
};
|
|
157
|
+
ShellNavigationHashChanger.prototype._constructHash = function (sAppSpecific) {
|
|
158
|
+
const sHash = this._getCurrentShellHash();
|
|
164
159
|
|
|
165
|
-
|
|
166
|
-
* internal, without #
|
|
167
|
-
* @param {object} oShellHash shell hash concept
|
|
168
|
-
* @returns {string} return constructed string
|
|
169
|
-
* @private
|
|
170
|
-
*/
|
|
171
|
-
ShellNavigationHashChanger.prototype.privconstructShellHash = function (oShellHash) {
|
|
172
|
-
return UrlParsing.constructShellHash(oShellHash);
|
|
160
|
+
return `${sHash}${sAppSpecific}`;
|
|
173
161
|
};
|
|
174
162
|
|
|
175
163
|
/** split a shell hash into app and shell specific part
|
|
@@ -180,7 +168,7 @@ sap.ui.define([
|
|
|
180
168
|
*/
|
|
181
169
|
// this method is deliberately restrictive to work only on proper hashes
|
|
182
170
|
// this may be made part of URLParser
|
|
183
|
-
ShellNavigationHashChanger.prototype.
|
|
171
|
+
ShellNavigationHashChanger.prototype._splitHash = function (sHash) {
|
|
184
172
|
if (sHash === undefined || sHash === null || sHash === "") {
|
|
185
173
|
return {
|
|
186
174
|
shellPart: null,
|
|
@@ -191,19 +179,19 @@ sap.ui.define([
|
|
|
191
179
|
}
|
|
192
180
|
// break down hash into parts
|
|
193
181
|
// "#SO-ABC~CONTXT?ABC=3A&DEF=4B&/detail/1?A=B");
|
|
194
|
-
const
|
|
195
|
-
if (
|
|
182
|
+
const oParsedHash = UrlParsing.parseShellHash(sHash);
|
|
183
|
+
if (oParsedHash === undefined || oParsedHash === null) {
|
|
196
184
|
return null;
|
|
197
185
|
}
|
|
198
186
|
|
|
199
|
-
const oShellHashParams = (
|
|
200
|
-
const sAppSpecificRoute =
|
|
201
|
-
|
|
187
|
+
const oShellHashParams = (oParsedHash.params && !isEmptyObject(oParsedHash.params)) ? oParsedHash.params : null;
|
|
188
|
+
const sAppSpecificRoute = oParsedHash.appSpecificRoute;
|
|
189
|
+
oParsedHash.appSpecificRoute = undefined;
|
|
202
190
|
return {
|
|
203
|
-
shellPart:
|
|
191
|
+
shellPart: UrlParsing.stripLeadingHash(UrlParsing.constructShellHash(oParsedHash)) || null,
|
|
204
192
|
appSpecificRoute: sAppSpecificRoute || null, // ,"&/detail/1?A=B");
|
|
205
|
-
intent: (
|
|
206
|
-
&& (`${
|
|
193
|
+
intent: (oParsedHash.semanticObject && oParsedHash.action
|
|
194
|
+
&& (`${oParsedHash.semanticObject}-${oParsedHash.action}${oParsedHash.contextRaw || ""}`)) || null,
|
|
207
195
|
params: oShellHashParams
|
|
208
196
|
};
|
|
209
197
|
};
|
|
@@ -216,9 +204,9 @@ sap.ui.define([
|
|
|
216
204
|
* @param {boolean} bWriteHistory whether to create a history record (true, undefined) or replace the hash (false)
|
|
217
205
|
* @private
|
|
218
206
|
*/
|
|
219
|
-
ShellNavigationHashChanger.prototype.
|
|
207
|
+
ShellNavigationHashChanger.prototype._setHash = function (sFullHash, sAppHash, bWriteHistory) {
|
|
220
208
|
hasher.prependHash = "";
|
|
221
|
-
sFullHash =
|
|
209
|
+
sFullHash = UrlParsing.stripLeadingHash(sFullHash);
|
|
222
210
|
sAppHash = sAppHash || "";
|
|
223
211
|
if (bWriteHistory === undefined) {
|
|
224
212
|
bWriteHistory = true;
|
|
@@ -236,13 +224,6 @@ sap.ui.define([
|
|
|
236
224
|
}
|
|
237
225
|
};
|
|
238
226
|
|
|
239
|
-
ShellNavigationHashChanger.prototype.privstripLeadingHash = function (sHash) {
|
|
240
|
-
if (sHash[0] === "#") {
|
|
241
|
-
return sHash.substring(1);
|
|
242
|
-
}
|
|
243
|
-
return sHash;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
227
|
ShellNavigationHashChanger.prototype.registerNavigationFilter = function (fnFilter) {
|
|
247
228
|
if (typeof fnFilter !== "function") {
|
|
248
229
|
throw new Error("fnFilter must be a function");
|
|
@@ -523,16 +504,16 @@ sap.ui.define([
|
|
|
523
504
|
return oDeferred.promise();
|
|
524
505
|
}
|
|
525
506
|
|
|
526
|
-
const
|
|
507
|
+
const sHash = this._hrefForExternalNoEnc(oArgs);
|
|
527
508
|
if (bVerbose) {
|
|
528
509
|
return {
|
|
529
|
-
hash:
|
|
530
|
-
params:
|
|
531
|
-
skippedParams:
|
|
510
|
+
hash: sHash,
|
|
511
|
+
params: undefined,
|
|
512
|
+
skippedParams: undefined
|
|
532
513
|
};
|
|
533
514
|
}
|
|
534
515
|
|
|
535
|
-
return
|
|
516
|
+
return sHash;
|
|
536
517
|
};
|
|
537
518
|
|
|
538
519
|
/**
|
|
@@ -555,15 +536,15 @@ sap.ui.define([
|
|
|
555
536
|
ShellNavigationHashChanger.prototype.hrefForExternalNoEncAsync = async function (oArgs, bVerbose) {
|
|
556
537
|
let vResult;
|
|
557
538
|
|
|
558
|
-
const
|
|
539
|
+
const sHash = this._hrefForExternalNoEnc(oArgs);
|
|
559
540
|
if (bVerbose) {
|
|
560
541
|
vResult = {
|
|
561
|
-
hash:
|
|
562
|
-
params:
|
|
563
|
-
skippedParams:
|
|
542
|
+
hash: sHash,
|
|
543
|
+
params: undefined,
|
|
544
|
+
skippedParams: undefined
|
|
564
545
|
};
|
|
565
546
|
} else {
|
|
566
|
-
vResult =
|
|
547
|
+
vResult = sHash;
|
|
567
548
|
}
|
|
568
549
|
|
|
569
550
|
return vResult;
|
|
@@ -572,26 +553,24 @@ sap.ui.define([
|
|
|
572
553
|
/**
|
|
573
554
|
* Shortened(!)
|
|
574
555
|
* @param {object} oArgs arguments
|
|
575
|
-
* @returns {
|
|
556
|
+
* @returns {string} THE hash
|
|
576
557
|
*/
|
|
577
|
-
ShellNavigationHashChanger.prototype.
|
|
558
|
+
ShellNavigationHashChanger.prototype._hrefForExternalNoEnc = function (oArgs) {
|
|
578
559
|
if (oArgs === undefined) {
|
|
579
|
-
return this.
|
|
560
|
+
return this._getCurrentShellHash();
|
|
580
561
|
}
|
|
581
562
|
// construct url
|
|
582
563
|
if (oArgs && oArgs.target && (typeof oArgs.target.semanticObject === "string" || typeof oArgs.target.shellHash === "string")) {
|
|
583
|
-
return {
|
|
584
|
-
hash: `#${this.privconstructShellHash(oArgs)}`
|
|
585
|
-
};
|
|
564
|
+
return `#${UrlParsing.constructShellHash(oArgs)}`;
|
|
586
565
|
}
|
|
587
|
-
return this.
|
|
566
|
+
return this._getCurrentShellHash();
|
|
588
567
|
};
|
|
589
568
|
|
|
590
|
-
ShellNavigationHashChanger.prototype.
|
|
569
|
+
ShellNavigationHashChanger.prototype._getAppHash = function (oArgs) {
|
|
591
570
|
let sAppHash;
|
|
592
571
|
if (oArgs && oArgs.target && (typeof oArgs.target.shellHash === "string")) {
|
|
593
|
-
const
|
|
594
|
-
sAppHash =
|
|
572
|
+
const oParsedHash = UrlParsing.parseShellHash(oArgs.target.shellHash);
|
|
573
|
+
sAppHash = oParsedHash && oParsedHash.appSpecificRoute;
|
|
595
574
|
sAppHash = sAppHash && sAppHash.substring(2);
|
|
596
575
|
}
|
|
597
576
|
return sAppHash;
|
|
@@ -613,7 +592,7 @@ sap.ui.define([
|
|
|
613
592
|
* @private
|
|
614
593
|
*/
|
|
615
594
|
ShellNavigationHashChanger.prototype.hrefForAppSpecificHash = function (sAppHash) {
|
|
616
|
-
return encodeURI(this.
|
|
595
|
+
return encodeURI(this._constructHash(this._appHashPrefix + sAppHash));
|
|
617
596
|
};
|
|
618
597
|
|
|
619
598
|
/**
|
|
@@ -637,9 +616,9 @@ sap.ui.define([
|
|
|
637
616
|
* @private
|
|
638
617
|
*/
|
|
639
618
|
ShellNavigationHashChanger.prototype.toExternal = function (oArgs, oComponent, bWriteHistory) {
|
|
640
|
-
const sHash = this.
|
|
641
|
-
const sAppHash = this.
|
|
642
|
-
this.
|
|
619
|
+
const sHash = this._hrefForExternalNoEnc(oArgs);
|
|
620
|
+
const sAppHash = this._getAppHash(oArgs);
|
|
621
|
+
this._setHash(sHash, sAppHash, bWriteHistory);
|
|
643
622
|
return Promise.resolve();
|
|
644
623
|
};
|
|
645
624
|
|
|
@@ -651,8 +630,8 @@ sap.ui.define([
|
|
|
651
630
|
* @private
|
|
652
631
|
*/
|
|
653
632
|
ShellNavigationHashChanger.prototype.toAppHash = function (sAppHash, bWriteHistory) {
|
|
654
|
-
const sHash = this.
|
|
655
|
-
this.
|
|
633
|
+
const sHash = this._constructHash(this._appHashPrefix + sAppHash);
|
|
634
|
+
this._setHash(sHash, sAppHash, bWriteHistory);
|
|
656
635
|
};
|
|
657
636
|
|
|
658
637
|
/**
|
|
@@ -669,7 +648,7 @@ sap.ui.define([
|
|
|
669
648
|
return false;
|
|
670
649
|
}
|
|
671
650
|
|
|
672
|
-
this.
|
|
651
|
+
this._fnShellCallback = fnShellCallback;
|
|
673
652
|
|
|
674
653
|
hasher.changed.add(this.treatHashChanged, this); // parse hash changes
|
|
675
654
|
|
|
@@ -698,7 +677,7 @@ sap.ui.define([
|
|
|
698
677
|
return false;
|
|
699
678
|
}
|
|
700
679
|
// fire initial hash change event for the app-specific part
|
|
701
|
-
const oNewHash = this.
|
|
680
|
+
const oNewHash = this._splitHash(hasher.getHash());
|
|
702
681
|
const sAppSpecificRoute = (oNewHash?.appSpecificRoute || " ").substring(2); // strip &/
|
|
703
682
|
const sDelimiterIfNecessary = sAppSpecificRoute ? "&/" : "";
|
|
704
683
|
const sShellPart = oNewHash?.shellPart || "";
|
|
@@ -768,8 +747,8 @@ sap.ui.define([
|
|
|
768
747
|
let bShouldKeep;
|
|
769
748
|
newHash = UrlShortening.expandHash(newHash); // do synchronous expansion if possible
|
|
770
749
|
oldHash = UrlShortening.expandHash(oldHash); // if not, the parameter remains and is expanded during NavTargetResolutionInternal
|
|
771
|
-
const oNewHash = this.
|
|
772
|
-
let oOldHash = this.
|
|
750
|
+
const oNewHash = this._splitHash(newHash);
|
|
751
|
+
let oOldHash = this._splitHash(oldHash);
|
|
773
752
|
|
|
774
753
|
if (!oNewHash) {
|
|
775
754
|
// illegal new hash; pass the full string and an error object
|
|
@@ -781,7 +760,7 @@ sap.ui.define([
|
|
|
781
760
|
oldShellHash: (oOldHash ? oOldHash.shellPart : oldHash),
|
|
782
761
|
error: oError
|
|
783
762
|
});
|
|
784
|
-
this.
|
|
763
|
+
this._fnShellCallback(newHash, null, (oOldHash ? oOldHash.shellPart : oldHash), (oOldHash ? oOldHash.appSpecificRoute : null), oError);
|
|
785
764
|
this._endFesrInteraction();
|
|
786
765
|
this.setReloadApplication(false);
|
|
787
766
|
return;
|
|
@@ -929,7 +908,7 @@ sap.ui.define([
|
|
|
929
908
|
oldAppSpecificRouteNoSeparator: this._removeInnerAppSeparator(oOldHash.appSpecificRoute),
|
|
930
909
|
newAppSpecificRouteNoSeparator: this._removeInnerAppSeparator(oNewHash.appSpecificRoute)
|
|
931
910
|
});
|
|
932
|
-
this.
|
|
911
|
+
this._fnShellCallback(oNewHash.shellPart, oNewHash.appSpecificRoute, oOldHash.shellPart, oOldHash.appSpecificRoute);
|
|
933
912
|
|
|
934
913
|
this._endFesrInteraction();
|
|
935
914
|
this.setReloadApplication(false);
|
|
@@ -974,7 +953,7 @@ sap.ui.define([
|
|
|
974
953
|
* @private
|
|
975
954
|
*/
|
|
976
955
|
ShellNavigationHashChanger.prototype.getAppHash = function () {
|
|
977
|
-
const oNewHash = this.
|
|
956
|
+
const oNewHash = this._splitHash(hasher.getHash());
|
|
978
957
|
const sAppSpecificRoute = (oNewHash?.appSpecificRoute || " ").substring(2); // strip &/
|
|
979
958
|
return sAppSpecificRoute;
|
|
980
959
|
};
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* it is pertinent that the API user employs this service's version of <code>toExternal()</code> for cross application
|
|
13
13
|
* navigation (instead) of using the one provided by CrossApplicationNavigation service.</p>
|
|
14
14
|
*
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.143.0
|
|
16
16
|
*
|
|
17
17
|
* @deprecated since 1.112. Please use the CrossApplicationNavigation service instead.
|
|
18
18
|
*/
|
|
@@ -27,10 +27,69 @@ sap.ui.define([
|
|
|
27
27
|
) => {
|
|
28
28
|
"use strict";
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
/**
|
|
31
|
+
* @typedef {sap.ushell.services.URLParsing.DecomposedHash|sap.ushell.services.URLParsing.Target|sap.ushell.services.URLParsing.SimpleTarget} sap.ushell.services.URLParsing.ShellHash
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @typedef {object} sap.ushell.services.URLParsing.DecomposedHash
|
|
36
|
+
* Describes the result of {@link #parseShellHash}.
|
|
37
|
+
*
|
|
38
|
+
* @property {string} semanticObject the semantic object
|
|
39
|
+
* @property {string} action the action
|
|
40
|
+
* @property {string} contextRaw the raw context string
|
|
41
|
+
* @property {Object<string, string[]>} params the parameters
|
|
42
|
+
* @property {string} [appStateKey] the app state key
|
|
43
|
+
* @property {string} appSpecificRoute the app specific route
|
|
44
|
+
*
|
|
45
|
+
* @since 1.120.0
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @typedef {object} sap.ushell.services.URLParsing.SimpleTarget
|
|
51
|
+
* Commonly used by services like {@link sap.ushell.services.Navigation}.
|
|
52
|
+
* Use this type for edge cases only. Use {@link sap.ushell.services.URLParsing.DecomposedHash} instead.
|
|
53
|
+
* This type ignores all other properties
|
|
54
|
+
*
|
|
55
|
+
* @property {object} target The target object
|
|
56
|
+
* @property {sap.ushell.services.Navigation.TargetIntent} target.shellHash The shell hash
|
|
57
|
+
*
|
|
58
|
+
* @since 1.124.0
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @typedef {object} sap.ushell.services.URLParsing.Target
|
|
64
|
+
* Commonly used by services like {@link sap.ushell.services.Navigation}
|
|
65
|
+
*
|
|
66
|
+
* @property {object} target The target object
|
|
67
|
+
* @property {string} target.semanticObject the semantic object
|
|
68
|
+
* @property {string} target.action the action
|
|
69
|
+
* @property {string} target.contextRaw the raw context string
|
|
70
|
+
* @property {Object<string, string|string[]>} params the parameters
|
|
71
|
+
* @property {string} appSpecificRoute the app specific route
|
|
72
|
+
* @property {string} [appStateKey] the app state key
|
|
73
|
+
*
|
|
74
|
+
* @since 1.142.0
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @typedef {string|int} sap.ushell.services.URLParsing.URLValue
|
|
80
|
+
* Type for Url value
|
|
81
|
+
* @since 1.120.0
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @typedef {object} sap.ushell.services.URLParsing.SplitHash
|
|
87
|
+
* Type for SplitHash
|
|
88
|
+
* @property {sap.ui.core.URI} shellPart the shell part of the hash
|
|
89
|
+
* @property {sap.ui.core.URI} appSpecificRoute the app specific route part of the hash
|
|
90
|
+
* @since 1.120.0
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
34
93
|
|
|
35
94
|
/**
|
|
36
95
|
* @alias sap.ushell.services.URLParsing
|
|
@@ -163,13 +222,6 @@ sap.ui.define([
|
|
|
163
222
|
return UrlParsingUtil.isIntentUrlAsync(sUrl);
|
|
164
223
|
};
|
|
165
224
|
|
|
166
|
-
/**
|
|
167
|
-
* @typedef {string|int} sap.ushell.services.URLParsing.URLValue
|
|
168
|
-
* Type for Url value
|
|
169
|
-
* @since 1.120.0
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
172
|
-
|
|
173
225
|
/**
|
|
174
226
|
* This method parses parameters from a URI query string (starting with ?)
|
|
175
227
|
* and puts the result into a parameter object.
|
|
@@ -232,31 +284,6 @@ sap.ui.define([
|
|
|
232
284
|
return UrlParsingUtil.urlParametersToString(oParams, sDelimiter, sAssign);
|
|
233
285
|
};
|
|
234
286
|
|
|
235
|
-
/**
|
|
236
|
-
* @typedef {object} sap.ushell.services.URLParsing.DecomposedHash
|
|
237
|
-
* Type for DecomposedHash
|
|
238
|
-
* @property {string} semanticObject the semantic object
|
|
239
|
-
* @property {string} action the action
|
|
240
|
-
* @property {string} contextRaw the raw context string
|
|
241
|
-
* @property {Object<string, string[]>} params the parameters
|
|
242
|
-
* @property {string} [appStateKey] the app state key
|
|
243
|
-
* @property {string} [appSpecificRoute] the app specific route
|
|
244
|
-
*
|
|
245
|
-
* @since 1.120.0
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* @typedef {object} sap.ushell.services.URLParsing.SimpleDecomposedHash
|
|
251
|
-
* Simple Type for DecomposedHash with shell hash as part of the target property.
|
|
252
|
-
* Use this type for edge cases only. Use {@link sap.ushell.services.URLParsing.DecomposedHash} instead.
|
|
253
|
-
* @property {object} target The target object
|
|
254
|
-
* @property {sap.ushell.services.Navigation.TargetIntent} target.shallHash The shell hash
|
|
255
|
-
*
|
|
256
|
-
* @since 1.124.0
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
|
|
260
287
|
/**
|
|
261
288
|
* Decompose a shell hash into the respective parts
|
|
262
289
|
*
|
|
@@ -283,18 +310,9 @@ sap.ui.define([
|
|
|
283
310
|
* @private
|
|
284
311
|
*/
|
|
285
312
|
this.privstripLeadingHash = function (sHash) {
|
|
286
|
-
return UrlParsingUtil.
|
|
313
|
+
return UrlParsingUtil.stripLeadingHash(sHash);
|
|
287
314
|
};
|
|
288
315
|
|
|
289
|
-
/**
|
|
290
|
-
* @typedef {object} sap.ushell.services.URLParsing.SplitHash
|
|
291
|
-
* Type for SplitHash
|
|
292
|
-
* @property {sap.ui.core.URI} shellPart the shell part of the hash
|
|
293
|
-
* @property {sap.ui.core.URI} appSpecificRoute the app specific route part of the hash
|
|
294
|
-
* @since 1.120.0
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
|
|
298
316
|
/**
|
|
299
317
|
* split a Unified Shell compliant hash into an Object containing a shell specific part and an app specific parts</br>
|
|
300
318
|
* for non compliant hash strings, the empty object {} is returned.
|
|
@@ -326,7 +344,7 @@ sap.ui.define([
|
|
|
326
344
|
* compose a shell Hash from it's respective parts
|
|
327
345
|
* Note that it also may append an app specific route!
|
|
328
346
|
*
|
|
329
|
-
* @param {sap.ushell.services.URLParsing.
|
|
347
|
+
* @param {sap.ushell.services.URLParsing.ShellHash} [oShellHash] The parts of a shell hash.
|
|
330
348
|
* Its action must be a valid action,
|
|
331
349
|
* It may not contain "?" or directly a parameter string.
|
|
332
350
|
* Note: In general it is preferred to add an appStateKey directly to the params object.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Service wrapper for the sap/ushell/utils/UrlShortening module.
|
|
7
7
|
* @deprecated since 1.118. Please use the UrlShortening module directly.
|
|
8
8
|
*
|
|
9
|
-
* @version 1.
|
|
9
|
+
* @version 1.143.0
|
|
10
10
|
*/
|
|
11
11
|
sap.ui.define(["sap/ushell/utils/UrlShortening"], (UrlShortening) => {
|
|
12
12
|
"use strict";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @fileOverview The Unified Shell's UI5 component loader service.
|
|
5
5
|
* This is a shell-internal service and no public or application facing API!
|
|
6
6
|
*
|
|
7
|
-
* @version 1.
|
|
7
|
+
* @version 1.143.0
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/base/Log",
|
|
@@ -12,7 +12,6 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/core/Component",
|
|
13
13
|
"sap/ui/core/Lib",
|
|
14
14
|
"sap/ui/core/util/AsyncHintsHelper",
|
|
15
|
-
"sap/ui/thirdparty/jquery",
|
|
16
15
|
"sap/ui/thirdparty/URI",
|
|
17
16
|
"sap/ushell/Config",
|
|
18
17
|
"sap/ushell/EventHub",
|
|
@@ -25,7 +24,6 @@ sap.ui.define([
|
|
|
25
24
|
Component,
|
|
26
25
|
Lib,
|
|
27
26
|
AsyncHintsHelper,
|
|
28
|
-
jQuery,
|
|
29
27
|
URI,
|
|
30
28
|
Config,
|
|
31
29
|
EventHub,
|
|
@@ -44,8 +42,6 @@ sap.ui.define([
|
|
|
44
42
|
* @property {string} [url] The URL of the component resource
|
|
45
43
|
* @property {object} [componentData] The component data
|
|
46
44
|
* @property {object} [reservedParameters] Technical parameters
|
|
47
|
-
* @property {function} [getExtensions] Function for getting extensions
|
|
48
|
-
* This is only used for Plugins
|
|
49
45
|
* @property {sap.ushell.appIntegration.PostMessagePluginInterface} [oPostMessageInterface] Interface for post message communication.
|
|
50
46
|
* This is only used for Plugins
|
|
51
47
|
* @property {object} [applicationDependencies] Application dependencies
|
|
@@ -91,8 +87,6 @@ sap.ui.define([
|
|
|
91
87
|
* If not provided it uses the current URL.
|
|
92
88
|
* @property {object} [technicalParameters] Technical parameters
|
|
93
89
|
* Derived from <code>AppProperties.reservedParameters</code>.
|
|
94
|
-
* @property {function} [getExtensions] Function to get extensions
|
|
95
|
-
* Derived from <code>AppProperties.getExtensions</code>.
|
|
96
90
|
* @property {sap.ushell.appIntegration.PostMessagePluginInterface} [oPostMessageInterface] Post message interface
|
|
97
91
|
* Derived from <code>AppProperties.oPostMessageInterface</code>.
|
|
98
92
|
* @property {object} [config] Application configuration
|
|
@@ -109,7 +103,7 @@ sap.ui.define([
|
|
|
109
103
|
* This data structure derived from <code>AppProperties.applicationDependencies</code>.
|
|
110
104
|
*
|
|
111
105
|
* @property {string} [id] The id of the component.
|
|
112
|
-
* If
|
|
106
|
+
* If <code>ui5ComponentId</code> is provided it is derived from there.
|
|
113
107
|
* @property {string} name The component name.
|
|
114
108
|
* The name provided in <code>AppProperties.applicationDependencies.name</code> has priority over <code>AppProperties.name</code>.
|
|
115
109
|
* @property {string} url The URL of the component resource.
|
|
@@ -237,8 +231,6 @@ sap.ui.define([
|
|
|
237
231
|
* @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties Application properties as typically produced by resolveHashFragment,
|
|
238
232
|
* note that some members of componentData are propagated, this is used in the myinbox scenario,
|
|
239
233
|
* see (CrossApplicationNavigation.createComponentInstance)
|
|
240
|
-
* @param {sap.ushell.services.URLParsing.DecomposedHash} [oParsedShellHash] The shell hash of the application that is to be opened already parsed via
|
|
241
|
-
* <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
|
|
242
234
|
* @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
|
|
243
235
|
* the Component class until those Promises are resolved.
|
|
244
236
|
* @param {sap.ushell.UI5ComponentType} sUI5ComponentType Type used to define the type of loading a ui5component by FLP
|
|
@@ -251,10 +243,10 @@ sap.ui.define([
|
|
|
251
243
|
*
|
|
252
244
|
* @private
|
|
253
245
|
*/
|
|
254
|
-
Ui5ComponentLoader.prototype.createComponent = async function (oAppProperties,
|
|
246
|
+
Ui5ComponentLoader.prototype.createComponent = async function (oAppProperties, aWaitForBeforeInstantiation, sUI5ComponentType) {
|
|
255
247
|
let oInstantiationData;
|
|
256
248
|
try {
|
|
257
|
-
oInstantiationData = await this.createComponentData(oAppProperties,
|
|
249
|
+
oInstantiationData = await this.createComponentData(oAppProperties, aWaitForBeforeInstantiation);
|
|
258
250
|
oInstantiationData = await this.modifyComponentProperties(oInstantiationData, sUI5ComponentType);
|
|
259
251
|
} catch (oError) {
|
|
260
252
|
Log.error("Ui5ComponentLoader: Error while creating component data", oError, "sap.ushell.services.Ui5ComponentLoader");
|
|
@@ -272,15 +264,13 @@ sap.ui.define([
|
|
|
272
264
|
* @param {sap.ushell.services.Ui5ComponentLoader.AppProperties} oAppProperties Application properties as typically produced by resolveHashFragment,
|
|
273
265
|
* note that some members of componentData are propagated, this is used in the myinbox scenario,
|
|
274
266
|
* see (CrossApplicationNavigation.createComponentInstance)
|
|
275
|
-
* @param {sap.ushell.services.URLParsing.DecomposedHash} oParsedShellHash The shell hash of the application that is to be opened already parsed via
|
|
276
|
-
* <code>sap.ushell.services.URLParsing#parseShellHash</code><code>sap.ushell.services.URLParsing#parseShellHash</code>.
|
|
277
267
|
* @param {Promise[]} aWaitForBeforeInstantiation An array of promises which delays the instantiation of
|
|
278
268
|
* the Component class until those Promises are resolved.
|
|
279
269
|
* @returns {Promise<sap.ushell.services.Ui5ComponentLoader.InstantiationData>} Resolves component data.
|
|
280
270
|
*
|
|
281
271
|
* @private
|
|
282
272
|
*/
|
|
283
|
-
Ui5ComponentLoader.prototype.createComponentData = async function (oAppProperties = {},
|
|
273
|
+
Ui5ComponentLoader.prototype.createComponentData = async function (oAppProperties = {}, aWaitForBeforeInstantiation) {
|
|
284
274
|
const oInstantiationData = {};
|
|
285
275
|
const oApplicationDependencies = oAppProperties.applicationDependencies || {};
|
|
286
276
|
|
|
@@ -301,7 +291,7 @@ sap.ui.define([
|
|
|
301
291
|
const bCustomPreloadEnabled = Config.last("/core/customPreload/enabled");
|
|
302
292
|
const bAddCoreExtPreloadBundle = oInstantiationData.loadCoreExt && bCustomPreloadEnabled;
|
|
303
293
|
const bLoadDefaultDependencies = this._shouldLoadDefaultDependencies(oAppProperties);
|
|
304
|
-
const sComponentId = oAppProperties.ui5ComponentId
|
|
294
|
+
const sComponentId = oAppProperties.ui5ComponentId;
|
|
305
295
|
|
|
306
296
|
oInstantiationData.componentProperties = await this._createComponentProperties(
|
|
307
297
|
sComponentId,
|
|
@@ -311,11 +301,6 @@ sap.ui.define([
|
|
|
311
301
|
bLoadDefaultDependencies
|
|
312
302
|
);
|
|
313
303
|
|
|
314
|
-
// Avoid warnings in ApplicationContainer.
|
|
315
|
-
// TODO [FLPCOREANDUX-10024]: can be removed when ApplicationContainer construction is changed.
|
|
316
|
-
delete oInstantiationData.appPropertiesSafe.loadCoreExt;
|
|
317
|
-
delete oInstantiationData.appPropertiesSafe.loadDefaultDependencies;
|
|
318
|
-
|
|
319
304
|
return oInstantiationData;
|
|
320
305
|
};
|
|
321
306
|
|
|
@@ -481,25 +466,6 @@ sap.ui.define([
|
|
|
481
466
|
return bLoadDefaultDependencies;
|
|
482
467
|
};
|
|
483
468
|
|
|
484
|
-
/**
|
|
485
|
-
* Constructs the app id based on the parsed shell hash.
|
|
486
|
-
* @param {sap.ushell.services.URLParsing.DecomposedHash} [oParsedShellHash] The parsed shell hash.
|
|
487
|
-
* @returns {string} The constructed app component ID.
|
|
488
|
-
*
|
|
489
|
-
* @private
|
|
490
|
-
*/
|
|
491
|
-
Ui5ComponentLoader.prototype._constructAppComponentId = function (oParsedShellHash = {}) {
|
|
492
|
-
const sSemanticObject = oParsedShellHash.semanticObject || null;
|
|
493
|
-
const sAction = oParsedShellHash.action || null;
|
|
494
|
-
|
|
495
|
-
if (!sSemanticObject || !sAction) {
|
|
496
|
-
return null;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
// todo: [FLPCOREANDUX-10024] Get rid of this calculation
|
|
500
|
-
return `application-${sSemanticObject}-${sAction}-component`;
|
|
501
|
-
};
|
|
502
|
-
|
|
503
469
|
/**
|
|
504
470
|
* Removes the cachebuster token from the given URL if any is present.
|
|
505
471
|
*
|
|
@@ -723,10 +689,6 @@ sap.ui.define([
|
|
|
723
689
|
}
|
|
724
690
|
}
|
|
725
691
|
|
|
726
|
-
if (oAppProperties.getExtensions) {
|
|
727
|
-
oComponentData.getExtensions = oAppProperties.getExtensions;
|
|
728
|
-
delete oAppProperties.getExtensions;
|
|
729
|
-
}
|
|
730
692
|
if (oAppProperties.oPostMessageInterface) {
|
|
731
693
|
oComponentData.oPostMessageInterface = oAppProperties.oPostMessageInterface;
|
|
732
694
|
delete oAppProperties.oPostMessageInterface;
|