@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
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"./History",
|
|
8
8
|
"sap/base/Log",
|
|
9
|
+
"sap/base/i18n/Localization",
|
|
9
10
|
"sap/base/util/extend",
|
|
10
11
|
"sap/base/util/isPlainObject",
|
|
11
12
|
"sap/m/InstanceManager",
|
|
12
13
|
"sap/ui/core/Component",
|
|
13
|
-
"sap/ui/core/
|
|
14
|
-
"sap/ui/core/
|
|
14
|
+
"sap/ui/core/Element",
|
|
15
|
+
"sap/ui/core/EventBus",
|
|
15
16
|
"sap/ui/core/library",
|
|
16
17
|
"sap/ui/core/mvc/Controller",
|
|
17
18
|
"sap/ui/core/routing/HashChanger",
|
|
18
19
|
"sap/ui/core/routing/History",
|
|
19
20
|
"sap/ui/Device",
|
|
20
|
-
"sap/ui/model/json/JSONModel",
|
|
21
21
|
"sap/ui/performance/trace/Interaction",
|
|
22
22
|
"sap/ui/performance/Measurement",
|
|
23
23
|
"sap/ui/thirdparty/hasher",
|
|
@@ -35,7 +35,6 @@ sap.ui.define([
|
|
|
35
35
|
"sap/ushell/renderer/LogonFrameProvider",
|
|
36
36
|
"sap/ushell/resources",
|
|
37
37
|
"sap/ushell/services/AppConfiguration",
|
|
38
|
-
"sap/ushell/UserActivityLog",
|
|
39
38
|
"sap/ushell/utils",
|
|
40
39
|
"sap/ushell/utils/WindowUtils",
|
|
41
40
|
"sap/ushell/renderer/ShellLayout",
|
|
@@ -44,18 +43,18 @@ sap.ui.define([
|
|
|
44
43
|
], function (
|
|
45
44
|
History,
|
|
46
45
|
Log,
|
|
46
|
+
Localization,
|
|
47
47
|
extend,
|
|
48
48
|
isPlainObject,
|
|
49
49
|
InstanceManager,
|
|
50
50
|
Component,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Element,
|
|
52
|
+
EventBus,
|
|
53
53
|
library,
|
|
54
54
|
Controller,
|
|
55
55
|
HashChanger,
|
|
56
56
|
Ui5History,
|
|
57
57
|
Device,
|
|
58
|
-
JSONModel,
|
|
59
58
|
Interaction,
|
|
60
59
|
Measurement,
|
|
61
60
|
hasher,
|
|
@@ -73,7 +72,6 @@ sap.ui.define([
|
|
|
73
72
|
LogonFrameProvider,
|
|
74
73
|
ushellResources,
|
|
75
74
|
AppConfiguration,
|
|
76
|
-
UserActivityLog,
|
|
77
75
|
ushellUtils,
|
|
78
76
|
WindowUtils,
|
|
79
77
|
ShellLayout,
|
|
@@ -121,11 +119,12 @@ sap.ui.define([
|
|
|
121
119
|
const sLogFesrPrefix = "[FesrFlp]";
|
|
122
120
|
|
|
123
121
|
/**
|
|
124
|
-
* @
|
|
122
|
+
* @alias sap.ushell.renderer.Shell
|
|
123
|
+
* @class
|
|
125
124
|
* @extends sap.ui.core.mvc.Controller
|
|
126
|
-
* @
|
|
125
|
+
* @private
|
|
127
126
|
*/
|
|
128
|
-
return Controller.extend("sap.ushell.renderer.Shell", {
|
|
127
|
+
return Controller.extend("sap.ushell.renderer.Shell", /** @lends sap.ushell.renderer.Shell.prototype */ {
|
|
129
128
|
_aDoables: [],
|
|
130
129
|
|
|
131
130
|
addDoable: function (oDoable) {
|
|
@@ -136,7 +135,7 @@ sap.ui.define([
|
|
|
136
135
|
|
|
137
136
|
/**
|
|
138
137
|
* @param {sap.ui.core.Control} oControl The Control
|
|
139
|
-
* @see
|
|
138
|
+
* @see #onExit
|
|
140
139
|
*
|
|
141
140
|
* @private
|
|
142
141
|
* @since 1.115.0
|
|
@@ -150,7 +149,7 @@ sap.ui.define([
|
|
|
150
149
|
/**
|
|
151
150
|
* Adds a binding which is destroyed on Renderer destroy
|
|
152
151
|
* @param {sap.ui.model.Binding} oBinding The Binding
|
|
153
|
-
* @see
|
|
152
|
+
* @see #onExit
|
|
154
153
|
*
|
|
155
154
|
* @private
|
|
156
155
|
* @since 1.115.0
|
|
@@ -161,7 +160,7 @@ sap.ui.define([
|
|
|
161
160
|
|
|
162
161
|
/**
|
|
163
162
|
* @param {sap.ui.model.Binding} oTargetBinding The Binding
|
|
164
|
-
* @see
|
|
163
|
+
* @see #onExit
|
|
165
164
|
*
|
|
166
165
|
* @private
|
|
167
166
|
* @since 1.115.0
|
|
@@ -247,7 +246,7 @@ sap.ui.define([
|
|
|
247
246
|
* in the URL - &/userMenu part is eaten by the default hash changer.
|
|
248
247
|
*/
|
|
249
248
|
oRouter.oHashChanger = HashChanger.getInstance();
|
|
250
|
-
oRouter.initialize(true /*tell the router not to parse the current browser hash, and wait for
|
|
249
|
+
oRouter.initialize(true /*tell the router not to parse the current browser hash, and wait for ShellNavigationInternal.init*/);
|
|
251
250
|
|
|
252
251
|
this.bEnableHashChange = true;
|
|
253
252
|
closeAllDialogs = true;
|
|
@@ -275,9 +274,9 @@ sap.ui.define([
|
|
|
275
274
|
// Bind the translation model to this view
|
|
276
275
|
oView.setModel(ushellResources.i18nModel, "i18n");
|
|
277
276
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
EventBus.getInstance().subscribe("externalSearch", this.externalSearchTriggered, this);
|
|
278
|
+
EventBus.getInstance().subscribe("sap.ushell", "appOpened", this.onAppOpened, this);
|
|
279
|
+
EventBus.getInstance().subscribe("ESHSearchFinished", this._logSearchActivity, this);
|
|
281
280
|
// handling of configuration should be done before the code block below otherwise the doHashChange is
|
|
282
281
|
// triggered before the personalization flag is disabled (URL may contain hash value which invokes navigation)
|
|
283
282
|
this._setConfigurationToModel();
|
|
@@ -295,42 +294,42 @@ sap.ui.define([
|
|
|
295
294
|
}
|
|
296
295
|
|
|
297
296
|
this.history = History;
|
|
298
|
-
this.oViewPortContainer =
|
|
297
|
+
this.oViewPortContainer = Element.getElementById("viewPortContainer");
|
|
299
298
|
AppLifeCycleAI.init(oViewConfig.appState, this.oViewPortContainer, oViewConfig.rootIntent, oViewConfig.disableHomeAppCache, {
|
|
300
299
|
ownerComponent: this.getOwnerComponent()
|
|
301
300
|
}, aActions, oViewConfig.cacheConfiguration);
|
|
302
301
|
|
|
303
302
|
// init Shell Navigation
|
|
304
|
-
var
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
303
|
+
var initShellNavigationInternal = function (oShellNavigationInternal, oAppLifeCycleService) {
|
|
304
|
+
this.oShellNavigationInternal = oShellNavigationInternal;
|
|
305
|
+
this.oShellNavigationInternal.registerPrivateFilters(oAppLifeCycleService);
|
|
307
306
|
|
|
308
|
-
// register the router in the
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
307
|
+
// register the router in the ShellNavigationInternal to let it skip the split of hash before firing the hashChange event
|
|
308
|
+
this.oShellNavigationInternal.registerExtraRouter(oRouter);
|
|
309
|
+
this.oShellNavigationInternal.registerNavigationFilter(this._handleEmptyHash.bind(this));
|
|
311
310
|
// must be after event registration (for synchronous nav target resolver calls)
|
|
312
|
-
this.
|
|
311
|
+
this.oShellNavigationInternal.init(this.doHashChange.bind(this));
|
|
313
312
|
|
|
314
|
-
this.
|
|
313
|
+
this.oShellNavigationInternal.registerNavigationFilter(this._disableSourceAppRouter.bind(this));
|
|
315
314
|
|
|
316
|
-
this.
|
|
315
|
+
this.oShellNavigationInternal.registerNavigationFilter(this.handleDataLoss.bind(this));
|
|
317
316
|
|
|
318
|
-
AppLifeCycleAI.registerHandleHashChange(this.
|
|
317
|
+
AppLifeCycleAI.registerHandleHashChange(this.oShellNavigationInternal);
|
|
319
318
|
// enable the direct app start and tests to wait for the initialization
|
|
320
319
|
EventHub.emit("ShellNavigationInitialized", Date.now());
|
|
321
320
|
}.bind(this);
|
|
322
321
|
|
|
323
322
|
Promise.all([
|
|
324
323
|
sap.ushell.Container.getServiceAsync("URLParsing"),
|
|
325
|
-
sap.ushell.Container.getServiceAsync("
|
|
324
|
+
sap.ushell.Container.getServiceAsync("ShellNavigationInternal"),
|
|
326
325
|
sap.ushell.Container.getServiceAsync("AppLifeCycle")
|
|
327
326
|
])
|
|
328
327
|
.then(function (aServices) {
|
|
329
328
|
this.oURLParsing = aServices[0];
|
|
330
|
-
var
|
|
329
|
+
var oShellNavigationInternal = aServices[1];
|
|
331
330
|
this._oAppLifeCycleService = aServices[2];
|
|
332
331
|
|
|
333
|
-
|
|
332
|
+
initShellNavigationInternal(oShellNavigationInternal, this._oAppLifeCycleService);
|
|
334
333
|
}.bind(this));
|
|
335
334
|
|
|
336
335
|
sap.ushell.Container.setLogonFrameProvider(this._getLogonFrameProvider());
|
|
@@ -401,11 +400,11 @@ sap.ui.define([
|
|
|
401
400
|
},
|
|
402
401
|
|
|
403
402
|
shellUpdateAggItem: function (sId, oContext) {
|
|
404
|
-
return
|
|
403
|
+
return Element.getElementById(oContext.getObject());
|
|
405
404
|
},
|
|
406
405
|
|
|
407
406
|
getViewPortContainer: function () {
|
|
408
|
-
return
|
|
407
|
+
return Element.getElementById("viewPortContainer");
|
|
409
408
|
},
|
|
410
409
|
|
|
411
410
|
/**
|
|
@@ -454,7 +453,7 @@ sap.ui.define([
|
|
|
454
453
|
}
|
|
455
454
|
},
|
|
456
455
|
|
|
457
|
-
|
|
456
|
+
/**
|
|
458
457
|
* This method change the back navigation handler with custom logic in the shell header when the ShellUIService#setBackNavigation method is called.
|
|
459
458
|
*
|
|
460
459
|
* This method currently assumes that the application is displayed in the "minimal" state (no home button present).
|
|
@@ -468,7 +467,7 @@ sap.ui.define([
|
|
|
468
467
|
AppLifeCycleAI.service().setNavigateBack(fnCallback);
|
|
469
468
|
|
|
470
469
|
if (oCurrentStateModel.stateName === "minimal" || oCurrentStateModel.stateName === "standalone" || oCurrentStateModel.stateName === "embedded") {
|
|
471
|
-
sap.ushell.Container.
|
|
470
|
+
sap.ushell.Container.getRendererInternal("fiori2").showHeaderItem("backBtn", true);
|
|
472
471
|
}
|
|
473
472
|
} else {
|
|
474
473
|
//if no callback is provided we set the default handler: history back
|
|
@@ -490,16 +489,16 @@ sap.ui.define([
|
|
|
490
489
|
// Migration support: we have to set rootIntent empty
|
|
491
490
|
// And continue navigation in order to check if empty hash is resolved locally
|
|
492
491
|
if (oConfig.migrationConfig) {
|
|
493
|
-
return this.
|
|
492
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
494
493
|
}
|
|
495
494
|
if (oConfig.rootIntent) {
|
|
496
495
|
window.setTimeout(function () {
|
|
497
496
|
window.hasher.setHash(oConfig.rootIntent);
|
|
498
497
|
}, 0);
|
|
499
|
-
return this.
|
|
498
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Abandon;
|
|
500
499
|
}
|
|
501
500
|
}
|
|
502
|
-
return this.
|
|
501
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
503
502
|
},
|
|
504
503
|
|
|
505
504
|
_setConfigurationToModel: function () {
|
|
@@ -609,19 +608,19 @@ sap.ui.define([
|
|
|
609
608
|
});
|
|
610
609
|
this._aDanglingBindings = [];
|
|
611
610
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
611
|
+
EventBus.getInstance().unsubscribe("externalSearch", this.externalSearchTriggered, this);
|
|
612
|
+
EventBus.getInstance().unsubscribe("ESHSearchFinished", this._logSearchActivity, this);
|
|
613
|
+
EventBus.getInstance().unsubscribe("sap.ushell", "appOpened", this.onAppOpened, this);
|
|
615
614
|
|
|
616
|
-
// Some qUnits destroy the shell very early, check if
|
|
617
|
-
if (this.
|
|
618
|
-
this.
|
|
615
|
+
// Some qUnits destroy the shell very early, check if oShellNavigationInternal exists
|
|
616
|
+
if (this.oShellNavigationInternal) {
|
|
617
|
+
this.oShellNavigationInternal.hashChanger.destroy();
|
|
619
618
|
}
|
|
620
619
|
|
|
621
620
|
HeaderManager.destroy();
|
|
622
621
|
HeaderControlManager.destroy();
|
|
623
622
|
|
|
624
|
-
UserActivityLog
|
|
623
|
+
sap.ui.require("sap/ushell/UserActivityLog")?.deactivate();
|
|
625
624
|
oShellModel.destroy();
|
|
626
625
|
AppLifeCycleAI.shellElements().clean();
|
|
627
626
|
oShellModel = undefined;
|
|
@@ -647,14 +646,14 @@ sap.ui.define([
|
|
|
647
646
|
* @param {string} newHash new url hash
|
|
648
647
|
* @param {string} oldHash old url hash
|
|
649
648
|
*
|
|
650
|
-
* @returns {string}
|
|
649
|
+
* @returns {string} ShellNavigationInternal.NavigationFilterStatus
|
|
651
650
|
*/
|
|
652
651
|
_disableSourceAppRouter: function (newHash, oldHash) {
|
|
653
652
|
if (!this.bEnableHashChange || this.bRestorePreviousHash) {
|
|
654
|
-
return this.
|
|
653
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
655
654
|
}
|
|
656
655
|
|
|
657
|
-
var bAppSpecificChange = this.
|
|
656
|
+
var bAppSpecificChange = this.oShellNavigationInternal.hashChanger.isInnerAppNavigation(newHash, oldHash);
|
|
658
657
|
if (!bAppSpecificChange) {
|
|
659
658
|
var oCurrentAppRouter = this._getCurrentAppRouter();
|
|
660
659
|
|
|
@@ -663,7 +662,7 @@ sap.ui.define([
|
|
|
663
662
|
}
|
|
664
663
|
}
|
|
665
664
|
|
|
666
|
-
return this.
|
|
665
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
667
666
|
},
|
|
668
667
|
|
|
669
668
|
/**
|
|
@@ -680,7 +679,7 @@ sap.ui.define([
|
|
|
680
679
|
},
|
|
681
680
|
|
|
682
681
|
/**
|
|
683
|
-
* Navigation Filter function registered with
|
|
682
|
+
* Navigation Filter function registered with ShellNavigationInternal service.
|
|
684
683
|
* Triggered on each navigation.
|
|
685
684
|
* Aborts navigation if there are unsaved data inside app(getDirtyFlag returns true).
|
|
686
685
|
* For non-IE browsers the dirtyState=true gets handled asynchronously by undoing the navigation and redoing the navigation.
|
|
@@ -692,7 +691,7 @@ sap.ui.define([
|
|
|
692
691
|
* @private
|
|
693
692
|
*/
|
|
694
693
|
handleDataLoss: function (targetIntent, currentIntent) {
|
|
695
|
-
var oShellNavigationHashChanger = this.
|
|
694
|
+
var oShellNavigationHashChanger = this.oShellNavigationInternal.hashChanger;
|
|
696
695
|
var bReloadApplication = oShellNavigationHashChanger.getReloadApplication();
|
|
697
696
|
|
|
698
697
|
if (this.bReloadApplication !== null && this.bReloadApplication !== undefined) {
|
|
@@ -702,17 +701,17 @@ sap.ui.define([
|
|
|
702
701
|
|
|
703
702
|
// We are navigating from empty hash to rootIntent
|
|
704
703
|
if (currentIntent === "" || hasher.disableBlueBoxHashChangeTrigger === true) {
|
|
705
|
-
return this.
|
|
704
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
706
705
|
}
|
|
707
706
|
|
|
708
707
|
if (!this.bEnableHashChange && !this.bRedoNavigation) {
|
|
709
708
|
this.bEnableHashChange = true;
|
|
710
709
|
|
|
711
|
-
return this.
|
|
710
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Custom;
|
|
712
711
|
}
|
|
713
712
|
|
|
714
713
|
if (this.bRestorePreviousHash) {
|
|
715
|
-
return this.
|
|
714
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
716
715
|
}
|
|
717
716
|
|
|
718
717
|
// User confirmed the data loss and now we do the hash change again
|
|
@@ -720,12 +719,12 @@ sap.ui.define([
|
|
|
720
719
|
this.bRedoNavigation = false;
|
|
721
720
|
this.bEnableHashChange = true;
|
|
722
721
|
this.bExplaceNavigation = false;
|
|
723
|
-
return this.
|
|
722
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
724
723
|
}
|
|
725
724
|
|
|
726
725
|
// Do we do an ex-place navigation?
|
|
727
726
|
var oParsedHash = this.oURLParsing.parseShellHash(targetIntent);
|
|
728
|
-
var bBuiltInIntent = sap.ushell.Container.
|
|
727
|
+
var bBuiltInIntent = sap.ushell.Container.getRendererInternal()._isBuiltInIntent(oParsedHash);
|
|
729
728
|
var aParsedNavMode = oParsedHash.params["sap-ushell-navmode"];
|
|
730
729
|
var sNavMode = aParsedNavMode && aParsedNavMode[0];
|
|
731
730
|
|
|
@@ -733,7 +732,7 @@ sap.ui.define([
|
|
|
733
732
|
if (!bBuiltInIntent && (this.bExplaceNavigation || sNavMode === "explace" || sNavMode === "frameless")) {
|
|
734
733
|
// Yes, just continue the navigation without a dirtyFlag popup
|
|
735
734
|
this.bExplaceNavigation = false;
|
|
736
|
-
return this.
|
|
735
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
737
736
|
}
|
|
738
737
|
|
|
739
738
|
// In case the async dirtyState provider is NOT set we only have to check the sync dirtyState.
|
|
@@ -743,15 +742,13 @@ sap.ui.define([
|
|
|
743
742
|
var bIsAsyncDirtyStateProviderSet = sap.ushell.Container.isAsyncDirtyStateProviderSet();
|
|
744
743
|
if (!bIsAsyncDirtyStateProviderSet && !bIsDirty) {
|
|
745
744
|
bPreviousPageDirty = bIsDirty;
|
|
746
|
-
return this.
|
|
745
|
+
return this.oShellNavigationInternal.NavigationFilterStatus.Continue;
|
|
747
746
|
}
|
|
748
747
|
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
_restoreHashUsingAction returns the NavigationFilterStatus Custom.
|
|
754
|
-
*/
|
|
748
|
+
// The dirtyState is either true or has to be retrieved async.
|
|
749
|
+
// After the hash changes we evaluate the dirtyState asynchronously
|
|
750
|
+
// and redo the navigation in case it is false. In case it is true we do additional logic
|
|
751
|
+
// _restoreHashUsingAction returns the NavigationFilterStatus Custom.
|
|
755
752
|
var bIsBackNavigation = Ui5History.getInstance().getHistoryStateOffset() < 0;
|
|
756
753
|
Promise.all([
|
|
757
754
|
this._waitForHash(currentIntent),
|
|
@@ -762,11 +759,9 @@ sap.ui.define([
|
|
|
762
759
|
var oService = aResults[1];
|
|
763
760
|
var bIsDirty = aResults[2];
|
|
764
761
|
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
controller does not ask for the dirtyState therefore we need to be able to restore it
|
|
769
|
-
*/
|
|
762
|
+
// Update the internal dirtyFlag to match the current dirtyFlag
|
|
763
|
+
// This is needed in case of a hashChangeFailure. When we navigate to a broken app the
|
|
764
|
+
// controller does not ask for the dirtyState therefore we need to be able to restore it
|
|
770
765
|
bPreviousPageDirty = bIsDirty;
|
|
771
766
|
|
|
772
767
|
if (!bIsDirty) {
|
|
@@ -810,7 +805,7 @@ sap.ui.define([
|
|
|
810
805
|
}
|
|
811
806
|
}.bind(this));
|
|
812
807
|
|
|
813
|
-
// Returns this.
|
|
808
|
+
// Returns this.oShellNavigationInternal.NavigationFilterStatus.Custom
|
|
814
809
|
return this._restoreHashUsingAction(currentIntent, "undo");
|
|
815
810
|
},
|
|
816
811
|
|
|
@@ -878,7 +873,7 @@ sap.ui.define([
|
|
|
878
873
|
* @private
|
|
879
874
|
*/
|
|
880
875
|
_restoreHashUsingAction: function (sHash, sAction) {
|
|
881
|
-
var bWasHistoryEntryReplaced = this.
|
|
876
|
+
var bWasHistoryEntryReplaced = this.oShellNavigationInternal.wasHistoryEntryReplaced();
|
|
882
877
|
var oRestoreStrategy = this._getRestoreHashStrategy(bWasHistoryEntryReplaced, sAction);
|
|
883
878
|
|
|
884
879
|
this._resumeAppRouterIgnoringCurrentHash();
|
|
@@ -969,7 +964,7 @@ sap.ui.define([
|
|
|
969
964
|
*/
|
|
970
965
|
_restoreHash: function (oRestoreStrategy, sHash) {
|
|
971
966
|
var oNavigationFilterStatus = {
|
|
972
|
-
status: this.
|
|
967
|
+
status: this.oShellNavigationInternal.NavigationFilterStatus.Custom,
|
|
973
968
|
hash: ""
|
|
974
969
|
};
|
|
975
970
|
switch (oRestoreStrategy.strategy) {
|
|
@@ -1042,7 +1037,7 @@ sap.ui.define([
|
|
|
1042
1037
|
* @param {string} sOldShellHash previous shell hash
|
|
1043
1038
|
* @param {string} sOldAppPart previous application part
|
|
1044
1039
|
* @param {object} oParseError parse error
|
|
1045
|
-
* @returns {Promise}
|
|
1040
|
+
* @returns {jQuery.Promise} Resolves once the hash change is done.
|
|
1046
1041
|
* @public
|
|
1047
1042
|
*/
|
|
1048
1043
|
doHashChange: function (sShellHash, sAppPart, sOldShellHash, sOldAppPart, oParseError) {
|
|
@@ -1054,7 +1049,7 @@ sap.ui.define([
|
|
|
1054
1049
|
ushellUtils.setPerformanceMark("FLP-ShellController-doHashChange-begin");
|
|
1055
1050
|
EventHub.emit("trackHashChange", sShellHash);
|
|
1056
1051
|
|
|
1057
|
-
var oDashboard =
|
|
1052
|
+
var oDashboard = Element.getElementById("sapUshellDashboardPage");
|
|
1058
1053
|
if (oDashboard) {
|
|
1059
1054
|
oDashboard.setBlocked(true);
|
|
1060
1055
|
oDashboard.setBusy(true);
|
|
@@ -1080,12 +1075,10 @@ sap.ui.define([
|
|
|
1080
1075
|
},
|
|
1081
1076
|
|
|
1082
1077
|
_doHashChange: function (oShellController, sShellHash, sAppPart, sOldShellHash, sOldAppPart, oParseError) {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
this._wasHistoryEntryReplaced = this.oShellNavigation.wasHistoryEntryReplaced();
|
|
1088
|
-
this.oShellNavigation.resetHistoryEntryReplaced();
|
|
1078
|
+
// reset here because the result of wasHistoryEntryReplaced is only useful in navigation filters
|
|
1079
|
+
// and might give inconsistent results after this point.
|
|
1080
|
+
this._wasHistoryEntryReplaced = this.oShellNavigationInternal.wasHistoryEntryReplaced();
|
|
1081
|
+
this.oShellNavigationInternal.resetHistoryEntryReplaced();
|
|
1089
1082
|
var oInMemoryApplicationInstance;
|
|
1090
1083
|
|
|
1091
1084
|
if (!this.bEnableHashChange) {
|
|
@@ -1183,7 +1176,7 @@ sap.ui.define([
|
|
|
1183
1176
|
// NOTE: this dependency to the ApplicationContainer is not nice, but we need a fast fix now; we should refactor
|
|
1184
1177
|
// the ApplicationContainer code, because most of the logic has to be done by the shell controller;
|
|
1185
1178
|
// maybe rather introduce a utility module
|
|
1186
|
-
|
|
1179
|
+
EventBus.getInstance().publish("ApplicationContainer", "_prior.newUI5ComponentInstantion",
|
|
1187
1180
|
{ name: sTargetUi5ComponentName }
|
|
1188
1181
|
);
|
|
1189
1182
|
|
|
@@ -1277,8 +1270,7 @@ sap.ui.define([
|
|
|
1277
1270
|
that.logOpenAppAction(oResolvedHashFragment, sAppPart).catch(() => {
|
|
1278
1271
|
Log.info("NWBC application was not logged.", undefined, "sap.ushell.renderer.Shell.controller");
|
|
1279
1272
|
});
|
|
1280
|
-
oDashboard =
|
|
1281
|
-
|
|
1273
|
+
oDashboard = Element.getElementById("sapUshellDashboardPage");
|
|
1282
1274
|
if (oDashboard) {
|
|
1283
1275
|
oDashboard.setBlocked(false);
|
|
1284
1276
|
oDashboard.setBusy(false);
|
|
@@ -1298,7 +1290,7 @@ sap.ui.define([
|
|
|
1298
1290
|
sap.ui.require(["sap/ushell/components/container/ApplicationContainer"], function (ApplicationContainer) {
|
|
1299
1291
|
oResolvedHashFragment.url = ApplicationContainer.prototype._checkNwbcUrlAdjustment(undefined, oResolvedHashFragment.applicationType, oResolvedHashFragment.url, true);
|
|
1300
1292
|
that._openAppInNewWindowAndRestore(oResolvedHashFragment);
|
|
1301
|
-
oDashboard =
|
|
1293
|
+
oDashboard = Element.getElementById("sapUshellDashboardPage");
|
|
1302
1294
|
if (oDashboard) {
|
|
1303
1295
|
oDashboard.setBlocked(false);
|
|
1304
1296
|
oDashboard.setBusy(false);
|
|
@@ -1355,19 +1347,21 @@ sap.ui.define([
|
|
|
1355
1347
|
// the activation of user activity logging must be done after the app component is fully loaded
|
|
1356
1348
|
// otherwise the module loading sequence causes race conditions on firefox
|
|
1357
1349
|
if (bContactSupportEnabled) {
|
|
1358
|
-
window.setTimeout(
|
|
1359
|
-
|
|
1350
|
+
window.setTimeout(() => {
|
|
1351
|
+
sap.ui.require(["sap/ushell/UserActivityLog"], (UserActivityLog) => {
|
|
1352
|
+
UserActivityLog.activate();
|
|
1353
|
+
});
|
|
1360
1354
|
}, 0);
|
|
1361
1355
|
}
|
|
1362
1356
|
|
|
1363
1357
|
try {
|
|
1364
|
-
bPreviousIsInitialNavigation = this.
|
|
1358
|
+
bPreviousIsInitialNavigation = this.oShellNavigationInternal.isInitialNavigation();
|
|
1365
1359
|
this.navigate(oParsedShellHash, sFixedShellHash, oMetadata, oResolvedHashFragment, sOldFixedShellHash);
|
|
1366
1360
|
} catch (oExc) {
|
|
1367
1361
|
if (oExc.stack) {
|
|
1368
1362
|
Log.error("Application initialization (Intent: \n" + sFixedShellHash + "\n failed due to an Exception:\n" + oExc.stack);
|
|
1369
1363
|
}
|
|
1370
|
-
this.
|
|
1364
|
+
this.oShellNavigationInternal.setIsInitialNavigation(bPreviousIsInitialNavigation);
|
|
1371
1365
|
this.hashChangeFailure(iOriginalHistoryLength, oExc.name, oExc.message, oMetadata ? oMetadata.title : "", false);
|
|
1372
1366
|
}
|
|
1373
1367
|
|
|
@@ -1378,7 +1372,7 @@ sap.ui.define([
|
|
|
1378
1372
|
* Callback registered with NavService. Triggered on navigation requests
|
|
1379
1373
|
*
|
|
1380
1374
|
* @param {string} sShellHash the hash fragment to parse (must start with "#")
|
|
1381
|
-
* @returns {jQuery.
|
|
1375
|
+
* @returns {jQuery.Promise} Resolves with an object containing the resolved hash fragment (i.e., the result of
|
|
1382
1376
|
* {@link sap.ushell.services.NavTargetResolution#resolveHashFragment}), the parsed shell hash obtained via
|
|
1383
1377
|
* {@link sap.ushell.services.URLParsing#parseShellHash}, and a boolean value indicating whether application dependencies
|
|
1384
1378
|
* <b>and</b> core-ext-light were loaded earlier. The promise is rejected with an error message in case errors occur.
|
|
@@ -1413,10 +1407,8 @@ sap.ui.define([
|
|
|
1413
1407
|
.done(function (oResolvedHashFragment) {
|
|
1414
1408
|
//@FIXME: Should be also executed for directstart
|
|
1415
1409
|
AppConfiguration.setCurrentApplication(oResolvedHashFragment);
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
* Shell home should be opened in embedded mode to allow a new window to be opened from GUI applications.
|
|
1419
|
-
*/
|
|
1410
|
+
// Override navigation mode for root intent.
|
|
1411
|
+
// Shell home should be opened in embedded mode to allow a new window to be opened from GUI applications.
|
|
1420
1412
|
if (oParsedShellHash && (oParsedShellHash.semanticObject + "-" + oParsedShellHash.action) === oConfig.rootIntent) {
|
|
1421
1413
|
oResolvedHashFragment.navigationMode = "embedded";
|
|
1422
1414
|
}
|
|
@@ -1514,8 +1506,8 @@ sap.ui.define([
|
|
|
1514
1506
|
Log.warning("Performing navigation redirect to hash " + sNextHash);
|
|
1515
1507
|
oComponent.destroy();
|
|
1516
1508
|
that.history.pop();
|
|
1517
|
-
sap.ushell.Container.getServiceAsync("
|
|
1518
|
-
|
|
1509
|
+
sap.ushell.Container.getServiceAsync("ShellNavigationInternal").then(function (oShellNavigationInternal) {
|
|
1510
|
+
oShellNavigationInternal.toExternal({ target: { shellHash: sNextHash } }, undefined, false);
|
|
1519
1511
|
oDeferred.resolve(true);
|
|
1520
1512
|
});
|
|
1521
1513
|
}, function () {
|
|
@@ -1573,7 +1565,7 @@ sap.ui.define([
|
|
|
1573
1565
|
|
|
1574
1566
|
if (sNavigationMode === oNavigationMode.embedded) {
|
|
1575
1567
|
if (!ushellUtils.isColdStart() && !this._wasHistoryEntryReplaced) {
|
|
1576
|
-
this.
|
|
1568
|
+
this.oShellNavigationInternal.setIsInitialNavigation(false);
|
|
1577
1569
|
}
|
|
1578
1570
|
|
|
1579
1571
|
var oDeferred = this._usesNavigationRedirect(oResolvedHashFragment.componentHandle);
|
|
@@ -1598,7 +1590,7 @@ sap.ui.define([
|
|
|
1598
1590
|
}
|
|
1599
1591
|
|
|
1600
1592
|
if (sNavigationMode === oNavigationMode.replace) {
|
|
1601
|
-
this.
|
|
1593
|
+
this.oShellNavigationInternal.setIsInitialNavigation(false);
|
|
1602
1594
|
// restore hash
|
|
1603
1595
|
this.bEnableHashChange = false;
|
|
1604
1596
|
this._changeWindowLocation(oResolvedHashFragment.url);
|
|
@@ -1660,8 +1652,6 @@ sap.ui.define([
|
|
|
1660
1652
|
var sAppType = oResolvedHashFragment.applicationType;
|
|
1661
1653
|
var sFrameworkId = (oResolvedHashFragment.appCapabilities && oResolvedHashFragment.appCapabilities.appFrameworkId);
|
|
1662
1654
|
var oFLPParams = {};
|
|
1663
|
-
var aInfoArray = [];
|
|
1664
|
-
var aKeysArray;
|
|
1665
1655
|
var fnPreparePostBodyParams = function () {
|
|
1666
1656
|
oFLPParams["sap-flp-url"] = sap.ushell.Container.getFLPUrl(true);
|
|
1667
1657
|
oFLPParams["system-alias"] = oResolvedHashFragment.systemAlias;
|
|
@@ -1670,33 +1660,16 @@ sap.ui.define([
|
|
|
1670
1660
|
value: JSON.stringify(oFLPParams)
|
|
1671
1661
|
}];
|
|
1672
1662
|
};
|
|
1673
|
-
var getParamKeys = function getParamKeys (sUrl, aInfoArray) {
|
|
1674
|
-
var aAppStateKeysArray = [];
|
|
1675
|
-
var fnAddKey = function (sName, sDataName) {
|
|
1676
|
-
if (sUrl.indexOf(sName + "=") > 0) {
|
|
1677
|
-
var aParams = new RegExp("(?:" + sName + "=)([^&/]+)").exec(sUrl);
|
|
1678
|
-
if (aParams && aParams.length === 2) {
|
|
1679
|
-
aAppStateKeysArray.push([aParams[1]]);
|
|
1680
|
-
aInfoArray.push(sDataName);
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
};
|
|
1684
|
-
|
|
1685
|
-
fnAddKey("sap-iapp-state", "sap-iapp-state-data");
|
|
1686
|
-
fnAddKey("sap-xapp-state", "sap-xapp-state-data");
|
|
1687
|
-
fnAddKey("sap-xapp-state-data", "sap-xapp-state-data");
|
|
1688
|
-
fnAddKey("sap-intent-param", "sap-intent-param-data");
|
|
1689
|
-
return aAppStateKeysArray;
|
|
1690
|
-
};
|
|
1691
1663
|
|
|
1692
1664
|
if (ushellUtils.isSAPLegacyApplicationType(sAppType, sFrameworkId)) {
|
|
1693
|
-
sap.ushell.Container.getServiceAsync("Navigation").then(function (
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1665
|
+
sap.ushell.Container.getServiceAsync("Navigation").then(function (oNavService) {
|
|
1666
|
+
var oAppStatesInfo = ushellUtils.getParamKeys(sUrlWithSapUserAndShellParam);
|
|
1667
|
+
|
|
1668
|
+
if (oAppStatesInfo.aAppStateNamesArray.length > 0) {
|
|
1669
|
+
oNavService.getAppStateData(oAppStatesInfo.aAppStateKeysArray).then(function (aDataArray) {
|
|
1670
|
+
oAppStatesInfo.aAppStateNamesArray.forEach(function (item, index) {
|
|
1671
|
+
if (aDataArray[index]) {
|
|
1672
|
+
oFLPParams[item] = aDataArray[index];
|
|
1700
1673
|
}
|
|
1701
1674
|
});
|
|
1702
1675
|
fnResolveParams(fnPreparePostBodyParams());
|
|
@@ -1721,20 +1694,19 @@ sap.ui.define([
|
|
|
1721
1694
|
//the promise can not reject as we have to try to open the app
|
|
1722
1695
|
function (oPostBodyParams) {
|
|
1723
1696
|
try {
|
|
1724
|
-
|
|
1697
|
+
EventBus.getInstance().publish("launchpad", "appOpening", oResolvedHashFragment);
|
|
1725
1698
|
if (!oEPCM.doNavigate(sUrlWithSapUserAndShellParam, iMode, undefined, undefined, undefined, undefined, undefined, oPostBodyParams)) {
|
|
1726
1699
|
fnResolve(false);
|
|
1727
1700
|
return;
|
|
1728
1701
|
}
|
|
1729
|
-
|
|
1702
|
+
EventBus.getInstance().publish("sap.ushell", "appOpened", oResolvedHashFragment);
|
|
1730
1703
|
|
|
1731
1704
|
that._restoreAfterNwbcNavigation(oResolvedHashFragment).then(function () {
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
*/
|
|
1705
|
+
// TODO: This is a workaround.
|
|
1706
|
+
// We should rather update the resolvedHashFragment before the navigation happens. Other Components listening
|
|
1707
|
+
// to the appOpened event might rely on the correct navigationMode / targetNavigationMode of the
|
|
1708
|
+
// resolvedHashFragment.
|
|
1709
|
+
|
|
1738
1710
|
// restore menu bar in case we are still on home
|
|
1739
1711
|
if (that._oAppLifeCycleService.getCurrentApplication() && that._oAppLifeCycleService.getCurrentApplication().homePage) {
|
|
1740
1712
|
that._setMenuVisible(true);
|
|
@@ -1819,9 +1791,9 @@ sap.ui.define([
|
|
|
1819
1791
|
},
|
|
1820
1792
|
|
|
1821
1793
|
_openAppInNewWindowAndRestore: function (oResolvedHashFragment) {
|
|
1822
|
-
|
|
1794
|
+
EventBus.getInstance().publish("launchpad", "appOpening", oResolvedHashFragment);
|
|
1823
1795
|
this._openAppNewWindow(oResolvedHashFragment.url);
|
|
1824
|
-
|
|
1796
|
+
EventBus.getInstance().publish("sap.ushell", "appOpened", oResolvedHashFragment);
|
|
1825
1797
|
this._restorePreviousHashAfterOpenNewWindow(oResolvedHashFragment);
|
|
1826
1798
|
},
|
|
1827
1799
|
|
|
@@ -1907,7 +1879,7 @@ sap.ui.define([
|
|
|
1907
1879
|
|
|
1908
1880
|
if (Device.system.desktop) {
|
|
1909
1881
|
sap.ui.require(["sap/ushell/renderer/AccessKeysHandler"], function (AccessKeysHandler) {
|
|
1910
|
-
var oShellAppTitle =
|
|
1882
|
+
var oShellAppTitle = Element.getElementById("shellAppTitle");
|
|
1911
1883
|
if (oShellAppTitle && Config.last("/core/shell/model/currentState/stateName") === "app") {
|
|
1912
1884
|
var oShellAppTitleDomRef = oShellAppTitle.getFocusDomRef();
|
|
1913
1885
|
if (oShellAppTitleDomRef) {
|
|
@@ -1923,7 +1895,7 @@ sap.ui.define([
|
|
|
1923
1895
|
that.readNavigationEnd();
|
|
1924
1896
|
}, 600);
|
|
1925
1897
|
|
|
1926
|
-
|
|
1898
|
+
EventBus.getInstance().publish("launchpad", "appOpening", oResolvedNavigationTarget);
|
|
1927
1899
|
Log.info("app is being opened");
|
|
1928
1900
|
}, 0);
|
|
1929
1901
|
if (oConfig.applications) {
|
|
@@ -1978,7 +1950,7 @@ sap.ui.define([
|
|
|
1978
1950
|
var oShellUIService = AppLifeCycleAI.getShellUIService();
|
|
1979
1951
|
// wrapped in setTimeout since "publish" is not async
|
|
1980
1952
|
window.setTimeout(function () {
|
|
1981
|
-
|
|
1953
|
+
EventBus.getInstance().publish("sap.ushell", "appOpened", oApplication);
|
|
1982
1954
|
Log.info("app was opened");
|
|
1983
1955
|
}, 0);
|
|
1984
1956
|
|
|
@@ -2010,9 +1982,9 @@ sap.ui.define([
|
|
|
2010
1982
|
var sContainerNS = "sap.ushell";
|
|
2011
1983
|
var fListener = function (oEvent, sChannel, oData) {
|
|
2012
1984
|
that.oHomeApp = oData.component;
|
|
2013
|
-
|
|
1985
|
+
EventBus.getInstance().unsubscribe(sContainerNS, "appComponentLoaded", fListener);
|
|
2014
1986
|
};
|
|
2015
|
-
|
|
1987
|
+
EventBus.getInstance().subscribe(sContainerNS, "appComponentLoaded", fListener);
|
|
2016
1988
|
},
|
|
2017
1989
|
|
|
2018
1990
|
/**
|
|
@@ -2025,7 +1997,7 @@ sap.ui.define([
|
|
|
2025
1997
|
* @param {boolean} bEnableHashChange enable hash change
|
|
2026
1998
|
*/
|
|
2027
1999
|
hashChangeFailure: function (iHistoryLength, vMessage, vDetails, sComponent, bEnableHashChange) {
|
|
2028
|
-
var oDashboard =
|
|
2000
|
+
var oDashboard = Element.getElementById("sapUshellDashboardPage");
|
|
2029
2001
|
if (oDashboard) {
|
|
2030
2002
|
oDashboard.setBlocked(false);
|
|
2031
2003
|
oDashboard.setBusy(false);
|
|
@@ -2137,7 +2109,7 @@ sap.ui.define([
|
|
|
2137
2109
|
this._setMenuVisible(false);
|
|
2138
2110
|
}
|
|
2139
2111
|
|
|
2140
|
-
var sAppHash = this.
|
|
2112
|
+
var sAppHash = this.oShellNavigationInternal.hashChanger.getAppHash();
|
|
2141
2113
|
var sAppPart = sAppHash ? "&/" + sAppHash : null;
|
|
2142
2114
|
|
|
2143
2115
|
this.logOpenAppAction(oResolvedHashFragment, sAppPart).catch(() => {
|
|
@@ -2170,14 +2142,14 @@ sap.ui.define([
|
|
|
2170
2142
|
onAfterNavigate: function (oEvent) {
|
|
2171
2143
|
var sToId = oEvent.mParameters ? oEvent.mParameters.toId : undefined;
|
|
2172
2144
|
|
|
2173
|
-
var oDashboard =
|
|
2145
|
+
var oDashboard = Element.getElementById("sapUshellDashboardPage");
|
|
2174
2146
|
if (oDashboard) {
|
|
2175
2147
|
oDashboard.setBlocked(false);
|
|
2176
2148
|
oDashboard.setBusy(false);
|
|
2177
2149
|
}
|
|
2178
2150
|
|
|
2179
2151
|
AppLifeCycleAI.onAfterNavigate(oEvent.getParameter("fromId"), oEvent.getParameter("from"), sToId, oEvent.getParameter("to"));
|
|
2180
|
-
|
|
2152
|
+
EventBus.getInstance().publish("sap.ushell", "navigated", {});
|
|
2181
2153
|
},
|
|
2182
2154
|
|
|
2183
2155
|
/**
|
|
@@ -2206,6 +2178,7 @@ sap.ui.define([
|
|
|
2206
2178
|
const oURLParsingService = await sap.ushell.Container.getServiceAsync("URLParsing");
|
|
2207
2179
|
const oParsed = oURLParsingService.parseShellHash(sFixedShellHash);
|
|
2208
2180
|
if (oParsed) {
|
|
2181
|
+
|
|
2209
2182
|
// This is the key that determines whether an existing activity should be updated or added.
|
|
2210
2183
|
|
|
2211
2184
|
// In theory we could use the full hash without parameters here, however this causes the same application to be logged
|
|
@@ -2277,7 +2250,7 @@ sap.ui.define([
|
|
|
2277
2250
|
if (Config.last("/core/shell/enableRecentActivity") && Config.last("/core/shell/enableRecentActivityLogging")) {
|
|
2278
2251
|
var sTitle = "";
|
|
2279
2252
|
try {
|
|
2280
|
-
sTitle =
|
|
2253
|
+
sTitle = Element.getElementById("searchFieldInShell-input").getModel().getLastSearchTerm();
|
|
2281
2254
|
} catch (ex) {
|
|
2282
2255
|
Log.error("Shell: last search term is not available to log a recent activity");
|
|
2283
2256
|
}
|
|
@@ -2343,7 +2316,7 @@ sap.ui.define([
|
|
|
2343
2316
|
EventHub.emit("startScheduler");
|
|
2344
2317
|
},
|
|
2345
2318
|
|
|
2346
|
-
|
|
2319
|
+
/**
|
|
2347
2320
|
* After core-ext is loaded (see_onCoreResourcesComplementLoaded) the renderer extensions plugins can be loaded.
|
|
2348
2321
|
* To enable the Scheduling Agent to direct this the loading is wrapped in this function.
|
|
2349
2322
|
*/
|
|
@@ -2521,30 +2494,29 @@ sap.ui.define([
|
|
|
2521
2494
|
|
|
2522
2495
|
this._moveFloatingContainerIntoDock(oDockCfg);
|
|
2523
2496
|
const oData = {
|
|
2524
|
-
|
|
2525
|
-
isVisible: this.getFloatingContainerVisibility()
|
|
2497
|
+
visible: this.getFloatingContainerVisibility()
|
|
2526
2498
|
};
|
|
2527
2499
|
// New event for co-pilot is docked.
|
|
2528
|
-
|
|
2500
|
+
EventBus.getInstance().publish("launchpad", "shellFloatingContainerIsDocked", oData);
|
|
2529
2501
|
},
|
|
2530
2502
|
|
|
2531
2503
|
_expandFloatingContainerToDock: function () {
|
|
2532
2504
|
var oWrapperElement = document.getElementById(ShellLayoutMapping.FloatingContainer);
|
|
2533
2505
|
oWrapperElement.style.height = "100%";
|
|
2534
2506
|
|
|
2535
|
-
|
|
2507
|
+
Element.getElementById("shell-floatingContainer").addStyleClass("sapUshellShellFloatingContainerFullHeight");
|
|
2536
2508
|
},
|
|
2537
2509
|
|
|
2538
2510
|
_shrinkFloatingContainerToDragUI: function () {
|
|
2539
2511
|
var oWrapperElement = document.getElementById(ShellLayoutMapping.FloatingContainer);
|
|
2540
2512
|
oWrapperElement.classList.remove("sapUshellContainerDocked");
|
|
2541
2513
|
|
|
2542
|
-
|
|
2514
|
+
Element.getElementById("shell-floatingContainer").removeStyleClass("sapUshellShellFloatingContainerFullHeight");
|
|
2543
2515
|
jQuery(".sapUshellShellFloatingContainerFullHeight").removeClass("sapUshellShellFloatingContainerFullHeight"); // remove it also for the clone
|
|
2544
2516
|
},
|
|
2545
2517
|
|
|
2546
2518
|
_emitFloatingContainerResizeEvent: function () {
|
|
2547
|
-
var oViewPortContainer =
|
|
2519
|
+
var oViewPortContainer = Element.getElementById("viewPortContainer");
|
|
2548
2520
|
if (oViewPortContainer) {
|
|
2549
2521
|
oViewPortContainer._handleSizeChange();
|
|
2550
2522
|
}
|
|
@@ -2552,7 +2524,7 @@ sap.ui.define([
|
|
|
2552
2524
|
// handle appFinder size changed
|
|
2553
2525
|
// timeOut waiting for resize event is finish
|
|
2554
2526
|
window.setTimeout(function () {
|
|
2555
|
-
|
|
2527
|
+
EventBus.getInstance().publish("launchpad", "appFinderWithDocking");
|
|
2556
2528
|
}, 300);
|
|
2557
2529
|
},
|
|
2558
2530
|
|
|
@@ -2569,10 +2541,9 @@ sap.ui.define([
|
|
|
2569
2541
|
_handleFloatingContainerUndockOnResize: function () {
|
|
2570
2542
|
this._undockFloatingContainer();
|
|
2571
2543
|
const oData = {
|
|
2572
|
-
|
|
2573
|
-
isVisible: this.getFloatingContainerVisibility()
|
|
2544
|
+
visible: this.getFloatingContainerVisibility()
|
|
2574
2545
|
};
|
|
2575
|
-
|
|
2546
|
+
EventBus.getInstance().publish("launchpad", "shellFloatingContainerIsUnDockedOnResize", oData);
|
|
2576
2547
|
},
|
|
2577
2548
|
|
|
2578
2549
|
/**
|
|
@@ -2584,11 +2555,10 @@ sap.ui.define([
|
|
|
2584
2555
|
Measurement.start("FLP:Shell.controller._onDragStartUI", "start drag", "FLP");
|
|
2585
2556
|
this._undockFloatingContainer();
|
|
2586
2557
|
const oData = {
|
|
2587
|
-
|
|
2588
|
-
isVisible: this.getFloatingContainerVisibility()
|
|
2558
|
+
visible: this.getFloatingContainerVisibility()
|
|
2589
2559
|
};
|
|
2590
2560
|
// New event for co-pilot is unDock
|
|
2591
|
-
|
|
2561
|
+
EventBus.getInstance().publish("launchpad", "shellFloatingContainerIsUnDocked", oData);
|
|
2592
2562
|
Measurement.end("FLP:Shell.controller._onDragStartUI");
|
|
2593
2563
|
},
|
|
2594
2564
|
|
|
@@ -2641,7 +2611,7 @@ sap.ui.define([
|
|
|
2641
2611
|
var bIsDock = oDockProperties ? oDockProperties.setIsDockingAreaOpen : false;
|
|
2642
2612
|
// check if need to open docking area and it doesn't exist already
|
|
2643
2613
|
if (bIsDock && jQuery("#DockingAreaDiv").length === 0) {
|
|
2644
|
-
var bIsRTL =
|
|
2614
|
+
var bIsRTL = Localization.getRTL();
|
|
2645
2615
|
if ((oDockProperties.dockPos === "right" && oCfg.clone && !bIsRTL) || (oDockProperties.dockPos === "left" && oCfg.clone && bIsRTL)) {
|
|
2646
2616
|
jQuery('<div id="DockingAreaDiv" class="sapUshellShellDisplayDockingAreaRight">').appendTo(oCfg.clone.parentElement);
|
|
2647
2617
|
} else if ((oDockProperties.dockPos === "left" && oCfg.clone && !bIsRTL) || (oDockProperties.dockPos === "right" && oCfg.clone && bIsRTL)) {
|
|
@@ -2682,7 +2652,7 @@ sap.ui.define([
|
|
|
2682
2652
|
* @private
|
|
2683
2653
|
*/
|
|
2684
2654
|
_moveFloatingContainerIntoDock: function (oDockedProp) {
|
|
2685
|
-
var bIsRTL =
|
|
2655
|
+
var bIsRTL = Localization.getRTL();
|
|
2686
2656
|
var oWrapper = document.getElementById(ShellLayoutMapping.FloatingContainer);
|
|
2687
2657
|
oWrapper.classList.add("sapUshellContainerDocked");
|
|
2688
2658
|
|
|
@@ -2740,7 +2710,7 @@ sap.ui.define([
|
|
|
2740
2710
|
|
|
2741
2711
|
_handleFloatingContainerDrop: function (oEvent, floatingContainerWrapper, oDelta) {
|
|
2742
2712
|
Measurement.start("FLP:Shell.controller._handleFloatingContainerDrop", "drop floating container", "FLP");
|
|
2743
|
-
var oFloatingContainer = floatingContainerWrapper.firstChild ?
|
|
2713
|
+
var oFloatingContainer = floatingContainerWrapper.firstChild ? Element.getElementById(floatingContainerWrapper.firstChild.id) : undefined;
|
|
2744
2714
|
var oStorage = new Storage(Storage.Type.local, "com.sap.ushell.adapters.local.FloatingContainer");
|
|
2745
2715
|
var iWindowWidth = jQuery(window).width();
|
|
2746
2716
|
var iWindowHeight = jQuery(window).height();
|
|
@@ -2918,7 +2888,7 @@ sap.ui.define([
|
|
|
2918
2888
|
var sFooterId = oHelperModel.getProperty("/shell/footerContent");
|
|
2919
2889
|
|
|
2920
2890
|
if (sFooterId) {
|
|
2921
|
-
var oFooter =
|
|
2891
|
+
var oFooter = Element.getElementById(sFooterId);
|
|
2922
2892
|
if (oFooter && oFooter.destroy) {
|
|
2923
2893
|
oFooter.destroy();
|
|
2924
2894
|
}
|