@sapui5/sap.ushell 1.120.8 → 1.121.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 +2 -2
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/AppInfoParameters.js +46 -49
- package/src/main/js/sap/ushell/CanvasShapesManager.js +8 -7
- package/src/main/js/sap/ushell/Container.js +333 -108
- package/src/main/js/sap/ushell/EventHub.js +6 -9
- package/src/main/js/sap/ushell/Fiori20Adapter.js +6 -7
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +5 -7
- package/src/main/js/sap/ushell/Layout.js +20 -16
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/SessionHandler.js +20 -12
- package/src/main/js/sap/ushell/System.js +4 -2
- package/src/main/js/sap/ushell/TechnicalParameters.js +34 -57
- package/src/main/js/sap/ushell/UIActions.js +28 -39
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +8 -7
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +10 -10
- package/src/main/js/sap/ushell/User.js +6 -4
- package/src/main/js/sap/ushell/UserActivityLog.js +13 -11
- package/src/main/js/sap/ushell/_ApplicationType/guiResolution.js +15 -19
- package/src/main/js/sap/ushell/_ApplicationType/systemAlias.js +5 -3
- package/src/main/js/sap/ushell/_ApplicationType/ui5Resolution.js +11 -10
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +17 -15
- package/src/main/js/sap/ushell/_ApplicationType/utils.js +7 -7
- package/src/main/js/sap/ushell/_ApplicationType/wdaResolution.js +8 -6
- package/src/main/js/sap/ushell/_Config/utils.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 +2 -2
- 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/AppVariantPersonalizationAdapter.js +5 -3
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +6 -11
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +6 -16
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +18 -14
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +16 -21
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +7 -18
- 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/_Personalization/internals.js +9 -9
- 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 +36 -13
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +2629 -0
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +4 -2525
- 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 +13 -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 +91 -25
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +6 -6
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +31 -6
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +7 -6
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +10 -20
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +14 -19
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +18 -20
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +25 -18
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1558 -0
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +4 -1551
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +2 -4
- 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 +11 -8
- 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 +11 -23
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/api/RTA.js +27 -0
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +69 -0
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +97 -0
- package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +12 -3
- package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +4 -0
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +4 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +82 -78
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +8 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +35 -37
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +4 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +2 -8
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +9 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +6 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_en_US_saprigi.properties +5 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_sh.properties +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +4 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_en_US_saprigi.properties +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_sh.properties +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +14 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +39 -39
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +15 -16
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +12 -54
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +154 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +221 -206
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +15 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +5 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +10 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +212 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +6 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +67 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +9 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +9 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter.js +3 -0
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/FLPScheduler.js +12 -6
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/StepConfiguration.json +1 -3
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +6 -7
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +2 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-loader.js +15 -5
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.boot.task.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +14 -0
- package/src/main/js/sap/ushell/bootstrap/cdm.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.path.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.script.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.task.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.extractLibs.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +6 -6
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5language.js +4 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +37 -41
- package/src/main/js/sap/ushell/bootstrap/common/common.constants.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +31 -20
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.bootstrapExtension.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.load.ui5theme.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +2 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +5 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +48 -14
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +8 -9
- package/src/main/js/sap/ushell/bootstrap/ui5loader-config.js +2 -2
- package/src/main/js/sap/ushell/components/CatalogsManager.js +49 -47
- package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +57 -45
- package/src/main/js/sap/ushell/components/DestroyHelper.js +2 -2
- package/src/main/js/sap/ushell/components/HeaderManager.js +3 -3
- package/src/main/js/sap/ushell/components/HomepageManager.js +27 -29
- package/src/main/js/sap/ushell/components/MessagingHelper.js +2 -2
- package/src/main/js/sap/ushell/components/SharedComponentUtils.js +13 -10
- package/src/main/js/sap/ushell/components/StateHelper.js +1 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +15 -15
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadItemsStrategy.js +3 -3
- package/src/main/js/sap/ushell/components/_HeaderManager/ControlManager.js +4 -4
- package/src/main/js/sap/ushell/components/_HeaderManager/RemoveItemsStrategy.js +2 -2
- package/src/main/js/sap/ushell/components/_HeaderManager/ShellHeader.controller.js +13 -13
- package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +3 -3
- package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +1 -1
- package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +9 -8
- package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +6 -6
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +29 -16
- package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +17 -17
- package/src/main/js/sap/ushell/components/appfinder/Component.js +4 -4
- package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +7 -7
- package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +3 -9
- package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +6 -7
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +2 -4
- package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +3 -3
- package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +9 -5
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +38 -55
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +20 -22
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +22 -33
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +563 -372
- package/src/main/js/sap/ushell/components/applicationIntegration/application/WebGUIStatefulHandler.js +8 -7
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +8 -6
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +9 -7
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +6 -5
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +2 -2
- package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +6 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Component.js +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_da.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_en_US_saprigi.properties +37 -37
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_et.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_fr_CA.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_hr.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_it.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_iw.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_ko.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_lv.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_ms.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_pl.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_ro.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_sh.properties +7 -7
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_sk.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_sl.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_tr.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_uk.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_vi.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_zh_CN.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_en_US_saprigi.properties +9 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_hi.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_sh.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.css +4 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +1 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +1 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +27 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ar.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_bg.properties +8 -8
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ca.properties +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cs.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cy.properties +5 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_el.properties +7 -7
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saprigi.properties +109 -109
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es.properties +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es_MX.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fi.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr_CA.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hi.properties +7 -7
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hr.properties +8 -8
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hu.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_it.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_iw.properties +3 -3
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ja.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ko.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_lv.properties +16 -16
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ms.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_nl.properties +16 -16
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_no.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt_PT.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ro.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ru.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sh.properties +25 -25
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sk.properties +8 -8
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sl.properties +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sv.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_th.properties +1 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_tr.properties +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_uk.properties +5 -5
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_vi.properties +2 -2
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +105 -96
- package/src/main/js/sap/ushell/components/container/IframePOSTUtils.js +13 -13
- package/src/main/js/sap/ushell/components/container/resources/resources_en_US_saprigi.properties +6 -6
- package/src/main/js/sap/ushell/components/container/resources/resources_ms.properties +1 -1
- package/src/main/js/sap/ushell/components/container/resources/resources_sh.properties +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +54 -105
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +108 -142
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +16 -11
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +9 -7
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +4 -2
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +24 -24
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sh.properties +6 -6
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +37 -17
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +5 -3
- package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +9 -4
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +23 -19
- package/src/main/js/sap/ushell/components/homepage/Component.js +3 -3
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +3 -2
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +3 -4
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +17 -9
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +10 -3
- package/src/main/js/sap/ushell/components/homepage/FLPAnalytics.js +6 -4
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +5 -5
- package/src/main/js/sap/ushell/components/pages/Component.js +2 -2
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +7 -7
- package/src/main/js/sap/ushell/components/pages/StateManager.js +3 -3
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +9 -12
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +2 -2
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +70 -15
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +2 -2
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/view/PageRuntime.view.xml +7 -5
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +50 -8
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -8
- package/src/main/js/sap/ushell/components/runtimeSwitcher/view/RuntimeSwitcher.view.xml +13 -8
- package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +6 -4
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +6 -7
- 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 +13 -11
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +16 -12
- package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +5 -5
- package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +14 -14
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +7 -7
- package/src/main/js/sap/ushell/components/shell/Search/Component.js +5 -4
- package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +8 -6
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +25 -18
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +89 -67
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +5 -4
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +5 -4
- 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 +8 -6
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +7 -7
- package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +6 -6
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +4 -2
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageSetting.view.xml +3 -1
- package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +95 -96
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.fragment.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.view.xml +7 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +27 -31
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +9 -2
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +6 -6
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +22 -20
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +8 -11
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +5 -4
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +5 -3
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +16 -31
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.xml +1 -1
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +16 -33
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.xml +1 -1
- package/src/main/js/sap/ushell/components/tiles/generic.js +2 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +12 -10
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +49 -42
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +16 -18
- package/src/main/js/sap/ushell/components/tiles/utils.js +19 -15
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +31 -29
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +18 -219
- 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 +62 -137
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +4 -2
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +185 -68
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +3 -6
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +2 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +4 -7
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +7 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +5 -5
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +4 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +66 -66
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +29 -29
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +8 -0
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +2 -2
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -7
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +15 -8
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/iconfonts.js +1 -1
- package/src/main/js/sap/ushell/library.js +28 -26
- package/src/main/js/sap/ushell/navigationMode.js +4 -6
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +97 -18
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +7 -7
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +78 -23
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +4 -3
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_en_US_saprigi.properties +8 -8
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_sh.properties +2 -2
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_th.properties +2 -2
- package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +10 -6
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_en_US_saprigi.properties +12 -12
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_sh.properties +4 -4
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +15 -13
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +7 -7
- package/src/main/js/sap/ushell/renderer/Renderer.js +163 -221
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +133 -163
- package/src/main/js/sap/ushell/renderer/Shell.view.js +13 -14
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +65 -14
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +40 -17
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +9 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +48 -51
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +13 -16
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +13 -16
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +23 -26
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +19 -22
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +991 -994
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +16 -19
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +10 -13
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +18 -21
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +24 -27
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +25 -28
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +32 -35
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +36 -39
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +15 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +15 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +15 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +23 -26
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +28 -31
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +13 -16
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +17 -20
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +32 -35
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +21 -24
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +13 -16
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +7 -10
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +10 -13
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +22 -25
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +276 -279
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +25 -28
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +31 -34
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +15 -18
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +22 -25
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +33 -36
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +46 -49
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +14 -17
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +10 -13
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +21 -24
- package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +8 -2
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +20 -13
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +13 -9
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/CEPSearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/SearchApp.view.js +1 -1
- package/src/main/js/sap/ushell/renderer/search/util.js +5 -7
- package/src/main/js/sap/ushell/renderer/utils.js +6 -6
- package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +14 -11
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +50 -42
- package/src/main/js/sap/ushell/resources.js +3 -3
- package/src/main/js/sap/ushell/services/AllMyApps.js +2 -3
- package/src/main/js/sap/ushell/services/AppConfiguration.js +56 -15
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +14 -29
- package/src/main/js/sap/ushell/services/AppState.js +39 -28
- package/src/main/js/sap/ushell/services/Bookmark.js +18 -45
- package/src/main/js/sap/ushell/services/BookmarkV2.js +118 -120
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +20 -22
- package/src/main/js/sap/ushell/services/CommonDataModel.js +31 -94
- package/src/main/js/sap/ushell/services/Configuration.js +5 -5
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +2 -3
- package/src/main/js/sap/ushell/services/Container.js +6 -5
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +7 -5
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +80 -98
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +6 -6
- package/src/main/js/sap/ushell/services/EndUserFeedback.js +17 -15
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +139 -67
- package/src/main/js/sap/ushell/services/Extension/Footer.js +2 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +9 -16
- package/src/main/js/sap/ushell/services/Extension/Item.js +12 -8
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +5 -5
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +5 -5
- package/src/main/js/sap/ushell/services/Extension.js +12 -13
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1791 -0
- package/src/main/js/sap/ushell/services/LaunchPage.js +653 -1715
- package/src/main/js/sap/ushell/services/Menu.js +3 -3
- package/src/main/js/sap/ushell/services/Message.js +16 -9
- package/src/main/js/sap/ushell/services/MessageBroker.js +6 -6
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +25 -28
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +17 -16
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
- package/src/main/js/sap/ushell/services/Notifications.js +55 -38
- package/src/main/js/sap/ushell/services/NotificationsV2.js +122 -49
- package/src/main/js/sap/ushell/services/PageBuilding.js +3 -4
- package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
- package/src/main/js/sap/ushell/services/PageReferencing.js +2 -2
- package/src/main/js/sap/ushell/services/Pages.js +295 -320
- package/src/main/js/sap/ushell/services/Personalization.js +40 -37
- package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +27 -24
- package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +7 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +2 -0
- package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +7 -4
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +10 -11
- package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +10 -10
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +5 -5
- package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +10 -9
- package/src/main/js/sap/ushell/services/PluginManager.js +77 -75
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +36 -38
- package/src/main/js/sap/ushell/services/Search.js +4 -4
- package/src/main/js/sap/ushell/services/SearchCEP.js +2 -3
- package/src/main/js/sap/ushell/services/SearchableContent.js +93 -80
- package/src/main/js/sap/ushell/services/ShellNavigation.js +160 -450
- package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +27 -26
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +532 -0
- package/src/main/js/sap/ushell/services/SmartNavigation.js +23 -23
- package/src/main/js/sap/ushell/services/SpaceContent.js +4 -4
- package/src/main/js/sap/ushell/services/SupportTicket.js +4 -5
- package/src/main/js/sap/ushell/services/UITracer.js +2 -2
- package/src/main/js/sap/ushell/services/URLParsing.js +15 -14
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +2 -2
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +47 -10
- package/src/main/js/sap/ushell/services/UsageAnalytics.js +25 -9
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +11 -11
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +34 -41
- package/src/main/js/sap/ushell/services/UserInfo.js +29 -53
- package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +480 -0
- package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +207 -0
- package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +119 -0
- package/src/main/js/sap/ushell/services/{_UserRecents → UserRecents}/UserRecentsBase.js +41 -9
- package/src/main/js/sap/ushell/services/UserRecents.js +185 -188
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +42 -41
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +27 -26
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +6 -6
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/ParameterMapping.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 +7 -9
- 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 +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/PersonalizationProcessor.js +5 -7
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +2 -2
- package/src/main/js/sap/ushell/services/_CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +105 -0
- 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 +8 -8
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +28 -29
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +10 -10
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +7 -5
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +9 -6
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +9 -18
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +4 -11
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +11 -9
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +6 -5
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +1 -2
- 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 +8 -22
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/SequentializingAdapter.js +3 -5
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +13 -12
- package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +2 -2
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +26 -22
- package/src/main/js/sap/ushell/themes/base/Catalog.less +12 -1
- package/src/main/js/sap/ushell/themes/base/ContentFinder.less +1 -0
- package/src/main/js/sap/ushell/themes/base/SearchCEP.less +9 -0
- package/src/main/js/sap/ushell/themes/base/img/SAPLogo.svg +1 -1
- package/src/main/js/sap/ushell/themes/base/img/launchicons/114_iPhone-Retina_Web_Clip.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/144_iPad_Retina_Web_Clip.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/57_iPhone_Desktop_Launch.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchicons/72_iPad_Desktop_Launch.png +0 -0
- package/src/main/js/sap/ushell/themes/base/img/launchpad_favicon.ico +0 -0
- package/src/main/js/sap/ushell/themes/sap_horizon/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellHeader.less +0 -1
- package/src/main/js/sap/ushell/ui/AppContainer.js +17 -22
- package/src/main/js/sap/ushell/ui/AppContainerRenderer.js +4 -6
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +8 -9
- package/src/main/js/sap/ushell/ui/ContentNodeTreeItem.js +2 -3
- package/src/main/js/sap/ushell/ui/QuickAccess.js +90 -81
- package/src/main/js/sap/ushell/ui/ShellHeader.js +26 -25
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +20 -7
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +9 -0
- package/src/main/js/sap/ushell/ui/appfinder/PinButton.js +7 -6
- package/src/main/js/sap/ushell/ui/appfinder/PinButtonRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +4 -4
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +5 -5
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +8 -13
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +10 -12
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +22 -229
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +116 -0
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.fragment.xml +85 -0
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +8 -12
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +9 -18
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +8 -12
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +4 -1
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +4 -1
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +6 -13
- package/src/main/js/sap/ushell/ui/launchpad/AccessibilityCustomData.js +4 -5
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +5 -4
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +8 -11
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +6 -2
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +22 -19
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBarRenderer.js +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +10 -6
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +9 -5
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +9 -5
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +6 -1
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +7 -9
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +59 -67
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItemRenderer.js +15 -15
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +7 -11
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +8 -12
- package/src/main/js/sap/ushell/ui/launchpad/PageRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +5 -11
- package/src/main/js/sap/ushell/ui/launchpad/PlusTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +14 -26
- package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +3 -2
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +10 -13
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +10 -11
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +3 -2
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +8 -81
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternal.js +119 -0
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternalRenderer.js +72 -0
- package/src/main/js/sap/ushell/ui/launchpad/TileStateRenderer.js +4 -65
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +6 -7
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstance.js +86 -78
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceAbap.js +6 -5
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceBase.js +40 -0
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceCdm.js +13 -11
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceLaunchPage.js +10 -7
- package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceLink.js +9 -61
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +8 -6
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactAreaRenderer.js +2 -1
- package/src/main/js/sap/ushell/ui/shell/ContentRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/shell/FloatingContainer.js +10 -8
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +3 -3
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +32 -34
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingAction.js +9 -6
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActionRenderer.js +1 -3
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +4 -7
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +8 -8
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +3 -8
- package/src/main/js/sap/ushell/ui/shell/ToolArea.js +2 -2
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +6 -8
- package/src/main/js/sap/ushell/ui/tile/DynamicTileRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +4 -5
- package/src/main/js/sap/ushell/ui/tile/ImageTileRenderer.js +5 -6
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +4 -5
- package/src/main/js/sap/ushell/ui/tile/StaticTileRenderer.js +5 -6
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +5 -8
- package/src/main/js/sap/ushell/ui/tile/TileBaseRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/utils.js +2 -4
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +8 -9
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +11 -12
- package/src/main/js/sap/ushell/ui5service/_ShellUIService/shelluiservice.class.factory.js +6 -8
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +5 -3
- package/src/main/js/sap/ushell/utils/HttpClient.js +6 -7
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlParsing.js +5 -14
- package/src/main/js/sap/ushell/utils/UrlShortening.js +4 -4
- package/src/main/js/sap/ushell/utils/chipsUtils.js +10 -10
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +234 -0
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +141 -0
- package/src/main/js/sap/ushell/utils.js +17 -13
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
- package/ui5.yaml +6 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_cnr.properties +0 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_mk.properties +0 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_sr.properties +0 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_cnr.properties +0 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_mk.properties +0 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/i18n/i18n_sr.properties +0 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_cnr.properties +0 -41
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_mk.properties +0 -41
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/i18n/i18n_sr.properties +0 -41
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_cnr.properties +0 -19
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_mk.properties +0 -19
- package/src/main/js/sap/ushell/components/cepsearchresult/app/i18n/i18n_sr.properties +0 -19
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cnr.properties +0 -117
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_mk.properties +0 -117
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sr.properties +0 -117
- package/src/main/js/sap/ushell/components/container/resources/resources_cnr.properties +0 -10
- package/src/main/js/sap/ushell/components/container/resources/resources_mk.properties +0 -10
- package/src/main/js/sap/ushell/components/container/resources/resources_sr.properties +0 -10
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_cnr.properties +0 -29
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_mk.properties +0 -29
- package/src/main/js/sap/ushell/components/contentFinder/resources/resources_sr.properties +0 -29
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchPaginated.view.xml +0 -137
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +0 -78
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_mk.properties +0 -78
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sr.properties +0 -78
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +0 -115
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +0 -130
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_cnr.properties +0 -13
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_mk.properties +0 -13
- package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_sr.properties +0 -13
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_cnr.properties +0 -24
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_mk.properties +0 -24
- package/src/main/js/sap/ushell/plugins/rta-personalize/i18n/i18n_sr.properties +0 -24
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsKeyboardHandler.js +0 -108
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -996
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -996
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -996
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsKeyboardHandler.js +0 -13
- package/src/main/js/sap/ushell/services/_UserRecents/RecentActivity.js +0 -481
- package/src/main/js/sap/ushell/services/_UserRecents/RecentAppsUsage.js +0 -207
- package/src/main/js/sap/ushell/services/_UserRecents/RecentsList.js +0 -92
- package/src/main/js/sap/ushell/themes/base/img/launchpadDefaultIcon.jpg +0 -0
- /package/src/main/js/sap/ushell/{services/_VisualizationInstantiation → ui/launchpad}/VizInstanceRenderer.js +0 -0
|
@@ -4,7 +4,6 @@ prepareModules();
|
|
|
4
4
|
sap.ui.define([
|
|
5
5
|
"sap/base/i18n/Formatting",
|
|
6
6
|
"sap/base/i18n/Localization",
|
|
7
|
-
"sap/ui/core/Core",
|
|
8
7
|
"sap/base/Log",
|
|
9
8
|
"sap/base/util/ObjectPath",
|
|
10
9
|
"sap/base/util/deepExtend",
|
|
@@ -12,6 +11,7 @@ sap.ui.define([
|
|
|
12
11
|
"sap/m/library",
|
|
13
12
|
"sap/ui/core/BusyIndicator",
|
|
14
13
|
"sap/ui/core/ComponentContainer",
|
|
14
|
+
"sap/ui/core/Lib",
|
|
15
15
|
"sap/ui/core/Popup",
|
|
16
16
|
"sap/ui/core/routing/History",
|
|
17
17
|
"sap/ui/thirdparty/hasher",
|
|
@@ -32,13 +32,11 @@ sap.ui.define([
|
|
|
32
32
|
"sap/ushell/utils/UrlParsing",
|
|
33
33
|
"sap/ushell/utils/WindowUtils",
|
|
34
34
|
"sap/ushell/appRuntime/ui5/AppRuntimeContext",
|
|
35
|
-
"sap/ui/core/Configuration",
|
|
36
35
|
"sap/ushell/renderer/utils",
|
|
37
36
|
"sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer"
|
|
38
37
|
], function (
|
|
39
38
|
Formatting,
|
|
40
39
|
Localization,
|
|
41
|
-
Core,
|
|
42
40
|
Log,
|
|
43
41
|
ObjectPath,
|
|
44
42
|
deepExtend,
|
|
@@ -46,6 +44,7 @@ sap.ui.define([
|
|
|
46
44
|
mobileLibrary,
|
|
47
45
|
BusyIndicator,
|
|
48
46
|
ComponentContainer,
|
|
47
|
+
Library,
|
|
49
48
|
Popup,
|
|
50
49
|
History,
|
|
51
50
|
hasher,
|
|
@@ -66,7 +65,6 @@ sap.ui.define([
|
|
|
66
65
|
oUrlParsing,
|
|
67
66
|
WindowUtils,
|
|
68
67
|
AppRuntimeContext,
|
|
69
|
-
CoreConfiguration,
|
|
70
68
|
RendererUtils,
|
|
71
69
|
Renderer
|
|
72
70
|
) {
|
|
@@ -82,6 +80,7 @@ sap.ui.define([
|
|
|
82
80
|
FesrEnhancer.init();
|
|
83
81
|
|
|
84
82
|
var _that,
|
|
83
|
+
Container,
|
|
85
84
|
oPageUriParams = new URI().search(true),
|
|
86
85
|
bURLHelperReplaced = false,
|
|
87
86
|
fnOrigURLHelperRedirect,
|
|
@@ -89,7 +88,7 @@ sap.ui.define([
|
|
|
89
88
|
bHashChangeRegistered = false,
|
|
90
89
|
bPopupCallbackRegistered = false,
|
|
91
90
|
vGetFullWidthParamFromManifest = false,
|
|
92
|
-
|
|
91
|
+
oShellNavigationInternal;
|
|
93
92
|
|
|
94
93
|
/**
|
|
95
94
|
* Application runtime for UI5 applications running in iframe
|
|
@@ -104,8 +103,6 @@ sap.ui.define([
|
|
|
104
103
|
this.main = function () {
|
|
105
104
|
var arrPrimisesInit,
|
|
106
105
|
oLocaleDataPromise = Promise.resolve(),
|
|
107
|
-
oPromiseSvcsInitCFlp = Promise.resolve(),
|
|
108
|
-
oPromiseSvcsInitSCube = Promise.resolve(),
|
|
109
106
|
oUrlData = _that._getURI();
|
|
110
107
|
|
|
111
108
|
jQuery("body").css("height", "100%").css("width", "100%");
|
|
@@ -116,7 +113,7 @@ sap.ui.define([
|
|
|
116
113
|
arrPrimisesInit = _that.loadAdditionalLibs();
|
|
117
114
|
|
|
118
115
|
if (oUrlData.hasOwnProperty("sap-remote-intent")) {
|
|
119
|
-
oLocaleDataPromise = AppRuntimeService.
|
|
116
|
+
oLocaleDataPromise = AppRuntimeService.postMessageToFLP("sap.ushell.services.UserInfo.getLocaleData", undefined, undefined, 3000, {});
|
|
120
117
|
}
|
|
121
118
|
|
|
122
119
|
AppRuntimeContext.setAppLifeCycleAgent(AppLifeCycleAgent);
|
|
@@ -143,27 +140,21 @@ sap.ui.define([
|
|
|
143
140
|
sap.ui.require(["sap/ushell/appRuntime/ui5/services/UserInfo"], fnResolve);
|
|
144
141
|
});
|
|
145
142
|
|
|
146
|
-
|
|
147
|
-
oPromiseSvcsInitSCube = _that.initServicesContainer();
|
|
148
|
-
} else {
|
|
149
|
-
oPromiseSvcsInitCFlp = _that.initServicesContainer();
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
arrPrimisesInit.push(oPromiseSvcsInitSCube);
|
|
143
|
+
arrPrimisesInit.push(_that.initServicesContainer());
|
|
153
144
|
Promise.all(arrPrimisesInit).then(function () {
|
|
145
|
+
_that.initPostMessages();
|
|
154
146
|
if (AppRuntimeContext.getIsScube() === true) {
|
|
155
147
|
//trigger load of site async
|
|
156
|
-
|
|
148
|
+
Container.getServiceAsync("CommonDataModel");
|
|
157
149
|
}
|
|
158
150
|
Promise.all([
|
|
159
|
-
oPromiseSvcsInitCFlp,
|
|
160
151
|
_that.getAppInfo(sAppId, sAppIntent),
|
|
161
152
|
oPromiseUserInfo,
|
|
162
153
|
oLocaleDataPromise
|
|
163
154
|
]).then(function (values) {
|
|
164
|
-
var oAppInfo = values[
|
|
165
|
-
oParsedHash = values[
|
|
166
|
-
oLocaleData = values[
|
|
155
|
+
var oAppInfo = values[0].oResolvedHashFragment,
|
|
156
|
+
oParsedHash = values[0].oParsedHash,
|
|
157
|
+
oLocaleData = values[2] || {};
|
|
167
158
|
|
|
168
159
|
_that._setUI5LocaleAttributes(oLocaleData);
|
|
169
160
|
SessionHandlerAgent.init();
|
|
@@ -217,10 +208,10 @@ sap.ui.define([
|
|
|
217
208
|
this._setInitialAppRoute = function () {
|
|
218
209
|
var oHash = oUrlParsing.parseShellHash(hasher.getHash());
|
|
219
210
|
if (oHash && oHash.appSpecificRoute && oHash.appSpecificRoute.length > 0) {
|
|
220
|
-
AppRuntimeService.
|
|
211
|
+
AppRuntimeService.postMessageToFLP(
|
|
221
212
|
"sap.ushell.services.CrossApplicationNavigation.setInnerAppRoute", {
|
|
222
|
-
|
|
223
|
-
|
|
213
|
+
appSpecificRoute: oHash.appSpecificRoute
|
|
214
|
+
});
|
|
224
215
|
}
|
|
225
216
|
};
|
|
226
217
|
|
|
@@ -236,15 +227,21 @@ sap.ui.define([
|
|
|
236
227
|
*/
|
|
237
228
|
this.init = function () {
|
|
238
229
|
Iconfonts.registerFiori2IconFont();
|
|
230
|
+
|
|
239
231
|
//Handle fullwidth/letterbox configuration
|
|
240
232
|
vGetFullWidthParamFromManifest = this._getURIParams()["sap-manifest-width"];
|
|
241
233
|
AppConfiguration.setFullWidthFromManifest(vGetFullWidthParamFromManifest);
|
|
234
|
+
};
|
|
242
235
|
|
|
236
|
+
/**
|
|
237
|
+
* @private
|
|
238
|
+
*/
|
|
239
|
+
this.initPostMessages = function () {
|
|
243
240
|
AppCommunicationMgr.registerCommHandlers({
|
|
244
241
|
"sap.ushell.appRuntime": {
|
|
245
242
|
oServiceCalls: {
|
|
246
243
|
hashChange: {
|
|
247
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
244
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
248
245
|
var sHash = oServiceParams.oMessageData.body.sHash;
|
|
249
246
|
if (typeof sHash === "string") {
|
|
250
247
|
var oNewHash = oUrlParsing.parseShellHash(sHash),
|
|
@@ -253,55 +250,50 @@ sap.ui.define([
|
|
|
253
250
|
hasher.replaceHash(sHash);
|
|
254
251
|
}
|
|
255
252
|
}
|
|
256
|
-
return new jQuery.Deferred().resolve().promise();
|
|
257
253
|
}
|
|
258
254
|
},
|
|
259
255
|
setDirtyFlag: {
|
|
260
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
256
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
261
257
|
var bIsDirty = oServiceParams.oMessageData.body.bIsDirty;
|
|
262
|
-
if (bIsDirty !==
|
|
263
|
-
|
|
258
|
+
if (bIsDirty !== Container.getDirtyFlag()) {
|
|
259
|
+
Container.setDirtyFlag(bIsDirty);
|
|
264
260
|
}
|
|
265
|
-
return new jQuery.Deferred().resolve().promise();
|
|
266
261
|
}
|
|
267
262
|
},
|
|
268
263
|
getDirtyFlag: {
|
|
269
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
270
|
-
return
|
|
264
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
265
|
+
return Container.getDirtyFlag();
|
|
271
266
|
}
|
|
272
267
|
},
|
|
273
268
|
themeChange: {
|
|
274
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
269
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
275
270
|
var currentThemeId = oServiceParams.oMessageData.body.currentThemeId;
|
|
276
|
-
|
|
277
|
-
return new jQuery.Deferred().resolve().promise();
|
|
271
|
+
Container.getUser().setTheme(currentThemeId);
|
|
278
272
|
}
|
|
279
273
|
},
|
|
280
274
|
buttonClick: {
|
|
281
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
275
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
282
276
|
Renderer.handleHeaderButtonClick(
|
|
283
277
|
oServiceParams.oMessageData.body.buttonId
|
|
284
278
|
);
|
|
285
|
-
return new jQuery.Deferred().resolve().promise();
|
|
286
279
|
}
|
|
287
280
|
},
|
|
288
281
|
executeLogoutFunctions: {
|
|
289
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
290
|
-
|
|
282
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
283
|
+
await Container.executeAsyncAndSyncLogoutFunctions();
|
|
291
284
|
}
|
|
292
285
|
},
|
|
293
286
|
uiDensityChange: {
|
|
294
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
287
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
295
288
|
var isTouch = oServiceParams.oMessageData.body.isTouch;
|
|
296
289
|
jQuery("body")
|
|
297
290
|
.toggleClass("sapUiSizeCompact", (isTouch === "0"))
|
|
298
291
|
.toggleClass("sapUiSizeCozy", (isTouch === "1"));
|
|
299
|
-
return new jQuery.Deferred().resolve().promise();
|
|
300
292
|
}
|
|
301
293
|
},
|
|
302
294
|
handleDirtyStateProvider: {
|
|
303
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
304
|
-
return
|
|
295
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
296
|
+
return Container.handleDirtyStateProvider(oServiceParams.oMessageData.body.oNavigationContext);
|
|
305
297
|
}
|
|
306
298
|
}
|
|
307
299
|
}
|
|
@@ -309,10 +301,9 @@ sap.ui.define([
|
|
|
309
301
|
"sap.ushell.services.MessageBroker": {
|
|
310
302
|
oServiceCalls: {
|
|
311
303
|
_execute: {
|
|
312
|
-
executeServiceCallFn: function (oServiceParams) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
});
|
|
304
|
+
executeServiceCallFn: async function (oServiceParams) {
|
|
305
|
+
const oMessageBrokerService = await Container.getServiceAsync("MessageBroker");
|
|
306
|
+
await oMessageBrokerService.handleMessage(oServiceParams.oMessageData.body);
|
|
316
307
|
}
|
|
317
308
|
}
|
|
318
309
|
}
|
|
@@ -352,8 +343,8 @@ sap.ui.define([
|
|
|
352
343
|
var oTargetHashParts = oTargetUrlParts[1] && oTargetUrlParts[1].split("&/"),
|
|
353
344
|
oCurrHashParts = oCurrUrlParts[1] && oCurrUrlParts[1].split("&/");
|
|
354
345
|
if (typeof oTargetHashParts[0] === "string" && typeof oCurrHashParts[0] === "string" && oTargetHashParts[0] !== oCurrHashParts[0]) {
|
|
355
|
-
|
|
356
|
-
oNavService.
|
|
346
|
+
Container.getServiceAsync("Navigation").then(function (oNavService) {
|
|
347
|
+
oNavService.navigate({
|
|
357
348
|
target: {
|
|
358
349
|
shellHash: oTargetUrlParts[1]
|
|
359
350
|
}
|
|
@@ -383,9 +374,9 @@ sap.ui.define([
|
|
|
383
374
|
intent: "#" + sTargetUrlSplit[1]
|
|
384
375
|
}]);
|
|
385
376
|
return sFLPUrl + aResult[0].intent;
|
|
386
|
-
} else {
|
|
387
|
-
return sFLPUrl + "#" + sTargetUrlSplit[1];
|
|
388
377
|
}
|
|
378
|
+
return sFLPUrl + "#" + sTargetUrlSplit[1];
|
|
379
|
+
|
|
389
380
|
}
|
|
390
381
|
return sTargetUrl;
|
|
391
382
|
};
|
|
@@ -400,8 +391,8 @@ sap.ui.define([
|
|
|
400
391
|
//scube scenario. will be removed in the next release of s4 hana cloud
|
|
401
392
|
if (oUrlData.hasOwnProperty("sap-remote-intent")) {
|
|
402
393
|
var oPlugins = window["sap-ushell-config"].bootstrapPlugins;
|
|
403
|
-
if (oPlugins && oPlugins.hasOwnProperty("WAPluginAgent") && oPlugins
|
|
404
|
-
delete oPlugins
|
|
394
|
+
if (oPlugins && oPlugins.hasOwnProperty("WAPluginAgent") && oPlugins.WAPluginAgent.hasOwnProperty("config")) {
|
|
395
|
+
delete oPlugins.WAPluginAgent.config["sap-plugin-agent"];
|
|
405
396
|
}
|
|
406
397
|
}
|
|
407
398
|
};
|
|
@@ -432,7 +423,7 @@ sap.ui.define([
|
|
|
432
423
|
arrLibs = [];
|
|
433
424
|
Object.keys(oLibs).forEach(function (sLib) {
|
|
434
425
|
if (oLibs[sLib] === true) {
|
|
435
|
-
arrLibs.push(
|
|
426
|
+
arrLibs.push(Library.load(sLib));
|
|
436
427
|
}
|
|
437
428
|
});
|
|
438
429
|
return arrLibs;
|
|
@@ -450,12 +441,13 @@ sap.ui.define([
|
|
|
450
441
|
*/
|
|
451
442
|
this.initServicesContainer = function () {
|
|
452
443
|
return new Promise(function (fnResolve) {
|
|
453
|
-
sap.ui.require(["sap/ushell/appRuntime/ui5/services/Container"], function (
|
|
454
|
-
|
|
444
|
+
sap.ui.require(["sap/ushell/appRuntime/ui5/services/Container"], function (oContainerProxy) {
|
|
445
|
+
Container = oContainerProxy;
|
|
446
|
+
Container.init("apprt", { apprt: "sap.ushell.appRuntime.ui5.services.adapters" }).then(function () {
|
|
455
447
|
//This section refers for the usecase where clicking on an Iframe link in order to open another Iframe
|
|
456
448
|
//application in a new tab. If the destination URL equals to the IFrame URL, it means that the destination
|
|
457
449
|
// Iframe URL is wrong and should be replaced with the FLP URL.
|
|
458
|
-
|
|
450
|
+
Container.getFLPUrlAsync().then(function (sFLPURL) {
|
|
459
451
|
jQuery(document).on("click.appruntime", _that.handleLinkElementOpen.bind(_that, sFLPURL));
|
|
460
452
|
jQuery(document).on("keydown.appruntime", function (event) {
|
|
461
453
|
if (event.code === "Enter") {
|
|
@@ -464,10 +456,10 @@ sap.ui.define([
|
|
|
464
456
|
});
|
|
465
457
|
});
|
|
466
458
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
AppLifeCycleAgent.setShellNavigationService(
|
|
459
|
+
Container.getServiceAsync("ShellNavigationInternal").then(function (oService) {
|
|
460
|
+
oShellNavigationInternal = oService;
|
|
461
|
+
oShellNavigationInternal.init(function () { });
|
|
462
|
+
AppLifeCycleAgent.setShellNavigationService(oShellNavigationInternal);
|
|
471
463
|
_that._enableHistoryEntryReplacedDetection();
|
|
472
464
|
fnResolve();
|
|
473
465
|
});
|
|
@@ -547,8 +539,8 @@ sap.ui.define([
|
|
|
547
539
|
var oTargetHashParts = newHash.split("&/"),
|
|
548
540
|
oCurrHashParts = oldHash.split("&/");
|
|
549
541
|
if (oTargetHashParts[0] !== oCurrHashParts[0]) {
|
|
550
|
-
|
|
551
|
-
oNavService.
|
|
542
|
+
Container.getServiceAsync("Navigation").then(function (oNavService) {
|
|
543
|
+
oNavService.navigate({
|
|
552
544
|
target: {
|
|
553
545
|
shellHash: newHash
|
|
554
546
|
}
|
|
@@ -557,7 +549,7 @@ sap.ui.define([
|
|
|
557
549
|
return;
|
|
558
550
|
}
|
|
559
551
|
}
|
|
560
|
-
AppRuntimeService.
|
|
552
|
+
AppRuntimeService.postMessageToFLP(
|
|
561
553
|
"sap.ushell.appRuntime.hashChange", {
|
|
562
554
|
newHash: newHash,
|
|
563
555
|
direction: History.getInstance().getDirection()
|
|
@@ -579,8 +571,8 @@ sap.ui.define([
|
|
|
579
571
|
if (oURLParameters.hasOwnProperty("sap-history-dir")) {
|
|
580
572
|
sDirection = oURLParameters["sap-history-dir"];
|
|
581
573
|
|
|
582
|
-
|
|
583
|
-
hash:
|
|
574
|
+
oShellNavigationInternal.hashChanger.fireEvent("hashReplaced", {
|
|
575
|
+
hash: oShellNavigationInternal.hashChanger.getHash(),
|
|
584
576
|
direction: sDirection
|
|
585
577
|
});
|
|
586
578
|
|
|
@@ -618,10 +610,10 @@ sap.ui.define([
|
|
|
618
610
|
RendererUtils.init();
|
|
619
611
|
if (Popup.attachBlockLayerStateChange) {
|
|
620
612
|
Popup.attachBlockLayerStateChange(function (oEvent) {
|
|
621
|
-
AppRuntimeService.
|
|
613
|
+
AppRuntimeService.postMessageToFLP(
|
|
622
614
|
"sap.ushell.services.ShellUIService.showShellUIBlocker", {
|
|
623
|
-
|
|
624
|
-
|
|
615
|
+
bShow: oEvent.getParameters().visible
|
|
616
|
+
});
|
|
625
617
|
});
|
|
626
618
|
}
|
|
627
619
|
bPopupCallbackRegistered = true;
|
|
@@ -632,8 +624,8 @@ sap.ui.define([
|
|
|
632
624
|
_that.setHashChangedCallback();
|
|
633
625
|
|
|
634
626
|
Promise.all([
|
|
635
|
-
|
|
636
|
-
|
|
627
|
+
Container.getServiceAsync("Ui5ComponentLoader"),
|
|
628
|
+
Container.getServiceAsync("AppLifeCycle")
|
|
637
629
|
]).then(function (values) {
|
|
638
630
|
var oUi5ComponentLoader = values[0];
|
|
639
631
|
var oAppLifeCycleService = values[1];
|
|
@@ -670,7 +662,7 @@ sap.ui.define([
|
|
|
670
662
|
sAppTitle = oResolutionResultWithComponentHandle.componentHandle.getMetadata().getManifestEntry("/sap.app/title");
|
|
671
663
|
if (typeof sAppTitle === "string") {
|
|
672
664
|
setTimeout(function () {
|
|
673
|
-
AppRuntimeService.
|
|
665
|
+
AppRuntimeService.postMessageToFLP("sap.ushell.services.ShellUIService.setTitle", {sTitle: sAppTitle});
|
|
674
666
|
}, 2000);
|
|
675
667
|
}
|
|
676
668
|
}
|
|
@@ -732,7 +724,7 @@ sap.ui.define([
|
|
|
732
724
|
}
|
|
733
725
|
AppLifeCycleAgent.setCurrentAppAttributes(oAppInfo);
|
|
734
726
|
setTimeout(function () {
|
|
735
|
-
AppRuntimeService.
|
|
727
|
+
AppRuntimeService.postMessageToFLP("sap.ushell.services.AppLifeCycle.updateCurrentAppInfo", {info: oAppInfo});
|
|
736
728
|
}, 500);
|
|
737
729
|
});
|
|
738
730
|
};
|
|
@@ -751,8 +743,8 @@ sap.ui.define([
|
|
|
751
743
|
var oComp = oResolutionResultWithComponentHandle.componentHandle.getInstance();
|
|
752
744
|
var metadata = oComp.getMetadata();
|
|
753
745
|
if (metadata) {
|
|
754
|
-
|
|
755
|
-
|
|
746
|
+
var vFullwidthUi = oComp.getMetadata().getManifestEntry("/sap.ui/fullWidth");
|
|
747
|
+
var vFullwidthUi5Config = oComp.getMetadata().getManifestEntry("/sap.ui5/config/fullWidth");
|
|
756
748
|
if (vFullwidthUi === true || vFullwidthUi === "true" || vFullwidthUi5Config === true || vFullwidthUi5Config === "true") {
|
|
757
749
|
EventHub.emit("appWidthChange", true);
|
|
758
750
|
} else if (vFullwidthUi === false || vFullwidthUi === "false" || vFullwidthUi5Config === false || vFullwidthUi5Config === "false") {
|
|
@@ -772,7 +764,7 @@ sap.ui.define([
|
|
|
772
764
|
|
|
773
765
|
if (URLHelper) {
|
|
774
766
|
URLHelper.triggerEmail = function (sTo, sSubject, sBody, sCc, sBcc) {
|
|
775
|
-
AppRuntimeService.
|
|
767
|
+
AppRuntimeService.postMessageToFLP("sap.ushell.services.ShellUIService.sendEmail", {
|
|
776
768
|
sTo: sTo,
|
|
777
769
|
sSubject: sSubject,
|
|
778
770
|
sBody: sBody,
|
|
@@ -786,7 +778,7 @@ sap.ui.define([
|
|
|
786
778
|
fnOrigURLHelperRedirect = URLHelper.redirect;
|
|
787
779
|
URLHelper.redirect = function (sURL, bNewWindow) {
|
|
788
780
|
if (sURL && bNewWindow === true && sURL.indexOf("#") >= 0) {
|
|
789
|
-
|
|
781
|
+
Container.getFLPUrlAsync().then(function (sFLPURL) {
|
|
790
782
|
_that.rebuildNewAppUrl(sURL, sFLPURL).then((sNewURL) => {
|
|
791
783
|
fnOrigURLHelperRedirect.call(URLHelper, sNewURL, bNewWindow);
|
|
792
784
|
});
|
|
@@ -807,7 +799,7 @@ sap.ui.define([
|
|
|
807
799
|
}
|
|
808
800
|
bPluginsLoaded = true;
|
|
809
801
|
|
|
810
|
-
|
|
802
|
+
Container.getServiceAsync("PluginManager").then(function (PluginManagerService) {
|
|
811
803
|
registerRTAPluginAgent(PluginManagerService);
|
|
812
804
|
if (AppRuntimeContext.getIsScube() === false) {
|
|
813
805
|
registerWAPluginAgent(PluginManagerService);
|
|
@@ -882,6 +874,12 @@ sap.ui.define([
|
|
|
882
874
|
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
883
875
|
}
|
|
884
876
|
},
|
|
877
|
+
Navigation: {
|
|
878
|
+
module: "sap.ushell.appRuntime.ui5.services.Navigation",
|
|
879
|
+
adapter: {
|
|
880
|
+
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
885
883
|
NavTargetResolution: {
|
|
886
884
|
module: "sap.ushell.appRuntime.ui5.services.NavTargetResolution",
|
|
887
885
|
adapter: {
|
|
@@ -894,6 +892,12 @@ sap.ui.define([
|
|
|
894
892
|
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
895
893
|
}
|
|
896
894
|
},
|
|
895
|
+
ShellNavigationInternal: {
|
|
896
|
+
module: "sap.ushell.appRuntime.ui5.services.ShellNavigationInternal",
|
|
897
|
+
adapter: {
|
|
898
|
+
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
899
|
+
}
|
|
900
|
+
},
|
|
897
901
|
ClientSideTargetResolution: {
|
|
898
902
|
adapter: {
|
|
899
903
|
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
@@ -910,7 +914,7 @@ sap.ui.define([
|
|
|
910
914
|
},
|
|
911
915
|
// Until AppRuntime switches to consumption of BookmarkV2, proxy its API to the Bookmark service
|
|
912
916
|
BookmarkV2: {
|
|
913
|
-
module: "sap.ushell.appRuntime.ui5.services.
|
|
917
|
+
module: "sap.ushell.appRuntime.ui5.services.BookmarkV2",
|
|
914
918
|
adapter: {
|
|
915
919
|
module: "sap.ushell.appRuntime.ui5.services.adapters.EmptyAdapter"
|
|
916
920
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
"sap/base/assert",
|
|
4
4
|
"sap/ushell/utils/UrlParsing",
|
|
5
|
-
"sap/base/util/deepClone"
|
|
6
|
-
|
|
5
|
+
"sap/base/util/deepClone",
|
|
6
|
+
"sap/ushell/appRuntime/ui5/services/Container"
|
|
7
|
+
], function (assert, UrlParsing, deepClone, Container) {
|
|
7
8
|
"use strict";
|
|
8
9
|
|
|
9
10
|
function AppRuntimeContext () {
|
|
@@ -55,7 +56,7 @@ sap.ui.define([
|
|
|
55
56
|
};
|
|
56
57
|
});
|
|
57
58
|
|
|
58
|
-
|
|
59
|
+
Container.getServiceAsync("Navigation").then(function (oNavService) {
|
|
59
60
|
oNavService.isNavigationSupported(aIntents, undefined, true).then(function (aIntentsSupported) {
|
|
60
61
|
for (var i = 0; i < aIntentsSupported.length; i++) {
|
|
61
62
|
if (!aIntentsSupported[i].supported) {
|
|
@@ -6,9 +6,17 @@ sap.ui.define([
|
|
|
6
6
|
"use strict";
|
|
7
7
|
|
|
8
8
|
function AppRuntimeService () {
|
|
9
|
+
//returns Deffered.promise and will be deleted in 2.0
|
|
9
10
|
this.sendMessageToOuterShell = function (sMessageId, oParams, sRequestId, nTimeout, oDefaultVal) {
|
|
10
11
|
return AppCommunicationMgr.sendMessageToOuterShell(sMessageId, oParams, sRequestId, nTimeout, oDefaultVal);
|
|
11
12
|
};
|
|
13
|
+
|
|
14
|
+
//for 2.0 - returns native Promise
|
|
15
|
+
this.postMessageToFLP = function (sMessageId, oParams, sRequestId, nTimeout, oDefaultVal) {
|
|
16
|
+
return new Promise((fnResolve, fnReject) => {
|
|
17
|
+
AppCommunicationMgr.sendMessageToOuterShell(sMessageId, oParams, sRequestId, nTimeout, oDefaultVal).then(fnResolve, fnReject).catch(fnReject);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
return new AppRuntimeService();
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
// Copyright (c) 2009-2023 SAP SE, All Rights Reserved
|
|
2
2
|
sap.ui.define([
|
|
3
|
+
"sap/ushell/appRuntime/ui5/services/Container",
|
|
3
4
|
"sap/ushell/appRuntime/ui5/AppCommunicationMgr",
|
|
4
5
|
"sap/ushell/appRuntime/ui5/AppRuntimeService",
|
|
5
6
|
"sap/ui/thirdparty/URI",
|
|
6
|
-
"sap/base/Log"
|
|
7
|
-
|
|
8
|
-
], function (AppCommunicationMgr, AppRuntimeService, URI, Log, jQuery) {
|
|
7
|
+
"sap/base/Log"
|
|
8
|
+
], function (Container, AppCommunicationMgr, AppRuntimeService, URI, Log) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
|
+
var _that;
|
|
11
12
|
function SessionHandlerAgent () {
|
|
12
13
|
|
|
13
14
|
this.init = function () {
|
|
14
|
-
|
|
15
|
-
var that = this;
|
|
16
|
-
|
|
17
15
|
//register for logout event from the shell
|
|
18
16
|
AppCommunicationMgr.registerCommHandlers({
|
|
19
17
|
"sap.ushell.sessionHandler": {
|
|
@@ -30,12 +28,12 @@ sap.ui.define([
|
|
|
30
28
|
},
|
|
31
29
|
logout: {
|
|
32
30
|
executeServiceCallFn: function (oMessageData) {
|
|
33
|
-
return
|
|
31
|
+
return _that.handleLogoutEvent(oMessageData);
|
|
34
32
|
}
|
|
35
33
|
},
|
|
36
34
|
extendSessionEvent: {
|
|
37
35
|
executeServiceCallFn: function (oMessageData) {
|
|
38
|
-
return
|
|
36
|
+
return _that.handleExtendSessionEvent(oMessageData);
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
}
|
|
@@ -47,19 +45,16 @@ sap.ui.define([
|
|
|
47
45
|
};
|
|
48
46
|
|
|
49
47
|
this.handleLogoutEvent = function () {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
48
|
+
return new Promise((fnResolve, fnReject) => {
|
|
49
|
+
_that.detachUserEvents();
|
|
50
|
+
Container.getFLPUrlAsync(true).then(function (sFlpURL) {
|
|
51
|
+
if (_that.isSameDomain(sFlpURL, document.URL) === false) {
|
|
52
|
+
Container.logout().then(fnResolve, fnReject);
|
|
53
|
+
} else {
|
|
54
|
+
fnResolve();
|
|
55
|
+
}
|
|
56
|
+
});
|
|
60
57
|
});
|
|
61
|
-
|
|
62
|
-
return oDeferred.promise();
|
|
63
58
|
};
|
|
64
59
|
|
|
65
60
|
this.isSameDomain = function (sURL1, sURL2) {
|
|
@@ -67,6 +62,10 @@ sap.ui.define([
|
|
|
67
62
|
oUri2,
|
|
68
63
|
bSame = false;
|
|
69
64
|
|
|
65
|
+
if (sURL1 === undefined || sURL2 === undefined) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
|
|
70
69
|
try {
|
|
71
70
|
oUri1 = new URI(sURL1);
|
|
72
71
|
oUri2 = new URI(sURL2);
|
|
@@ -86,39 +85,38 @@ sap.ui.define([
|
|
|
86
85
|
|
|
87
86
|
this.handleExtendSessionEvent = function () {
|
|
88
87
|
//send extend session to the app
|
|
89
|
-
|
|
90
|
-
return
|
|
88
|
+
Container.sessionKeepAlive();
|
|
89
|
+
return Promise.resolve();
|
|
91
90
|
};
|
|
92
91
|
|
|
93
92
|
this.attachUserEvents = function () {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
document.addEventListener("mousedown", this.userActivityHandler);
|
|
94
|
+
document.addEventListener("mousemove", this.userActivityHandler);
|
|
95
|
+
document.addEventListener("keyup", this.userActivityHandler);
|
|
96
|
+
document.addEventListener("touchstart", this.userActivityHandler);
|
|
97
97
|
};
|
|
98
98
|
|
|
99
99
|
this.detachUserEvents = function () {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
document.removeEventListener("mousedown", this.userActivityHandler);
|
|
101
|
+
document.removeEventListener("mousemove", this.userActivityHandler);
|
|
102
|
+
document.removeEventListener("keyup", this.userActivityHandler);
|
|
103
|
+
document.removeEventListener("touchstart", this.userActivityHandler);
|
|
103
104
|
};
|
|
104
105
|
|
|
105
106
|
this.userActivityHandler = function (oEventData) {
|
|
106
|
-
if (
|
|
107
|
+
if (_that.oUserActivityTimer !== undefined) {
|
|
107
108
|
return;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
this.oUserActivityTimer = setTimeout(function () {
|
|
112
|
-
|
|
111
|
+
_that.oUserActivityTimer = setTimeout(function () {
|
|
113
112
|
//send notify extend session to the Shell
|
|
114
|
-
AppRuntimeService.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}, 1000);
|
|
113
|
+
AppRuntimeService.postMessageToFLP("sap.ushell.sessionHandler.notifyUserActive", {});
|
|
114
|
+
_that.oUserActivityTimer = undefined;
|
|
115
|
+
}, 10000);
|
|
119
116
|
};
|
|
120
117
|
}
|
|
121
118
|
|
|
122
119
|
var sessionHandlerAgent = new SessionHandlerAgent();
|
|
120
|
+
_that = sessionHandlerAgent;
|
|
123
121
|
return sessionHandlerAgent;
|
|
124
122
|
});
|
|
@@ -79,8 +79,8 @@ sap.ui.define([
|
|
|
79
79
|
* @private
|
|
80
80
|
*/
|
|
81
81
|
setAppShortId: function (componentHandle) {
|
|
82
|
-
function getValueFromManifest (
|
|
83
|
-
var vValue =
|
|
82
|
+
function getValueFromManifest (oComponentHandle, sPath) {
|
|
83
|
+
var vValue = oComponentHandle.getManifestEntry(sPath) || [];
|
|
84
84
|
if (!oTypeUtils.isArray(vValue)) {
|
|
85
85
|
vValue = [vValue];
|
|
86
86
|
}
|
|
@@ -90,9 +90,8 @@ sap.ui.define([
|
|
|
90
90
|
if (FESR.getActive()) {
|
|
91
91
|
try {
|
|
92
92
|
if (componentHandle) {
|
|
93
|
-
var oComponentData = componentHandle.getInstance().getComponentData().technicalParameters || {}
|
|
94
|
-
|
|
95
|
-
this._currentAppShortId = oComponentData["sap-fiori-id"] || getValueFromManifest(oMetaData, "/sap.fiori/registrationIds");
|
|
93
|
+
var oComponentData = componentHandle.getInstance().getComponentData().technicalParameters || {};
|
|
94
|
+
this._currentAppShortId = oComponentData["sap-fiori-id"] || getValueFromManifest(componentHandle, "/sap.fiori/registrationIds");
|
|
96
95
|
} else {
|
|
97
96
|
this._currentAppShortId = undefined;
|
|
98
97
|
}
|