@sapui5/sap.ushell 1.136.2 → 1.138.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 +4 -5
- package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +677 -695
- package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +612 -623
- package/src/main/js/sap/ushell/ApplicationType/ui5Resolution.js +14 -16
- package/src/main/js/sap/ushell/ApplicationType/urlResolution.js +19 -21
- package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +486 -468
- package/src/main/js/sap/ushell/ApplicationType/utils.js +46 -46
- package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +12 -12
- package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +47 -55
- package/src/main/js/sap/ushell/ApplicationType.js +34 -34
- package/src/main/js/sap/ushell/Config/utils.js +45 -45
- package/src/main/js/sap/ushell/Config.js +4 -4
- package/src/main/js/sap/ushell/Container.js +359 -357
- package/src/main/js/sap/ushell/EventHub.js +216 -212
- package/src/main/js/sap/ushell/Fiori20Adapter.js +59 -98
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +23 -26
- package/src/main/js/sap/ushell/Layout.js +264 -291
- package/src/main/js/sap/ushell/NWBCInterface.js +8 -8
- package/src/main/js/sap/ushell/SessionHandler.js +8 -8
- package/src/main/js/sap/ushell/System.js +6 -6
- package/src/main/js/sap/ushell/TechnicalParameters.js +95 -96
- package/src/main/js/sap/ushell/UI5ComponentType.js +1 -1
- package/src/main/js/sap/ushell/UIActions.js +189 -188
- package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +21 -24
- package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +29 -29
- package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +96 -96
- package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +58 -55
- package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +201 -200
- package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +8 -8
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +65 -65
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +30 -33
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +30 -43
- package/src/main/js/sap/ushell/User.js +114 -116
- package/src/main/js/sap/ushell/UserActivityLog.js +63 -63
- package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +46 -47
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +34 -34
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +56 -57
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +3 -4
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +144 -146
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +569 -602
- package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +25 -25
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +120 -119
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.controller.js +57 -53
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -2
- package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegionEntry.js +6 -6
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +21 -21
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +28 -37
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +89 -90
- package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +179 -190
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +12 -12
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +16 -17
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +144 -151
- package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +527 -526
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +2 -2
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +6 -6
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +3 -4
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +22 -28
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +9 -9
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +27 -27
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +15 -18
- package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +67 -67
- package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +17 -20
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +25 -25
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +42 -43
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +45 -45
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +29 -29
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +41 -37
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +25 -28
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +70 -72
- package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +450 -474
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +20 -22
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +44 -43
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +12 -12
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +16 -16
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +19 -17
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +3 -3
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +5 -6
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +10 -10
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +5 -5
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +2 -3
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +26 -26
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +28 -29
- package/src/main/js/sap/ushell/api/BootstrapObserver.js +2 -3
- package/src/main/js/sap/ushell/api/Copilot.js +2 -4
- package/src/main/js/sap/ushell/api/DWS.js +2 -3
- package/src/main/js/sap/ushell/api/Inbox.js +2 -3
- package/src/main/js/sap/ushell/api/NewExperience/CustomOverflowListItem.js +2 -3
- package/src/main/js/sap/ushell/api/NewExperience.js +8 -8
- package/src/main/js/sap/ushell/api/RTA.js +27 -59
- package/src/main/js/sap/ushell/api/S4MyHome.js +3 -3
- package/src/main/js/sap/ushell/api/SAPBusinessClient.js +6 -36
- package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +5 -8
- package/src/main/js/sap/ushell/api/workpage/Designtime.js +2 -3
- package/src/main/js/sap/ushell/api/workpage/Runtime.js +2 -4
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle/KeepAliveMode.js +2 -2
- package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +141 -113
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +2 -4
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerCache.js +9 -9
- package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +0 -1
- package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +2 -2
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +1 -3
- package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +2 -4
- package/src/main/js/sap/ushell/appIntegration/KeepAliveApps.js +6 -6
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +7 -7
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +2 -2
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +58 -59
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler.js +2 -3
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +2 -2
- package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +91 -91
- package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainerRenderer.js +0 -1
- package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +8 -9
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +3 -3
- package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -2
- package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +85 -74
- package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +2 -2
- package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +8 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +57 -57
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +660 -662
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +14 -14
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +11 -2
- package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +21 -25
- package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +11 -5
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +31 -31
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus.js +9 -10
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +56 -56
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +34 -34
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +222 -249
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +213 -207
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +121 -129
- package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/Component.js +19 -19
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +9 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +84 -29
- package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +34 -34
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +12 -12
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +127 -102
- package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +11 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +35 -29
- package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +30 -26
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +8 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +26 -26
- package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +41 -38
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +9 -23
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +3 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +7 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +16 -17
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +21 -17
- package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +22 -17
- package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +31 -28
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +4 -4
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +10 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +10 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +9 -9
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +10 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +40 -43
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter.js +6 -6
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +2 -3
- package/src/main/js/sap/ushell/appRuntime/ui5/ui/UIProxy.js +4 -4
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/EventProcessor.js +9 -9
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPLoader.js +8 -9
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPScheduler.js +40 -42
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/LoadingConfiguration.json +1 -1
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +1 -6
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +13 -13
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +19 -19
- package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +23 -32
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +3 -4
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-loader.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.boot.task.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +5 -4
- package/src/main/js/sap/ushell/bootstrap/cdm.js +11 -12
- package/src/main/js/sap/ushell/bootstrap/common/common.boot.path.js +1 -1
- 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 +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.extractLibs.js +1 -2
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +13 -13
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +9 -9
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5language.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5theme.js +13 -15
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +4 -9
- package/src/main/js/sap/ushell/bootstrap/common/common.constants.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +10 -19
- package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.load.bootstrapExtension.js +3 -4
- package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +5 -7
- package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +6 -8
- package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +6 -6
- package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +3 -3
- package/src/main/js/sap/ushell/bootstrap/common/common.override.registermodulepath.js +37 -38
- package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +6 -6
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ui5theme.from.config.js +11 -11
- package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +22 -25
- package/src/main/js/sap/ushell/bootstrap/common/common.util.js +10 -12
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +11 -10
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBootTask.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +8 -24
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +13 -13
- package/src/main/js/sap/ushell/bootstrap/ui5loader-config.js +7 -7
- package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +17 -26
- package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +1 -9
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/cards/Card.controller.js +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Component.js +57 -30
- package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +330 -312
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component.js +171 -154
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Config.js +236 -233
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +35 -33
- package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/manifest.json +4 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/manifest.json +4 -6
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +64 -60
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +139 -141
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +8 -9
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionStandard.js +4 -4
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +37 -34
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +694 -646
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +220 -223
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.css +2 -2
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +258 -225
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/All.js +58 -49
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +200 -203
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +129 -131
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/People.js +91 -92
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Workpage.js +18 -18
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n.properties +5 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ar.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_bg.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ca.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cnr.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cs.properties +4 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cy.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_da.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_de.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_el.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_GB.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saprigi.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es_MX.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_et.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fi.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr_CA.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hi.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hr.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hu.properties +4 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_id.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_it.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_iw.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ja.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_kk.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ko.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_lt.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_lv.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_mk.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ms.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_nl.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_no.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pl.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt_PT.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ro.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ru.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sh.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sk.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sl.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sr.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sv.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_th.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_tr.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_uk.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_vi.properties +4 -1
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_zh_CN.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_zh_TW.properties +3 -0
- package/src/main/js/sap/ushell/components/cepsearchresult/app/util/resources.js +30 -0
- package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +3 -3
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +34 -15
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +22 -12
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +4 -5
- package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +26 -5
- package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +5 -2
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +5 -7
- package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +22 -8
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +6 -5
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +10 -4
- package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +31 -10
- package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +214 -214
- package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +6 -9
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +6 -6
- package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +4 -4
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +4 -4
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/StateManager.js +4 -3
- package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +182 -202
- package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +3 -3
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +10 -7
- package/src/main/js/sap/ushell/components/pages/manifest.json +2 -2
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +3 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +2 -2
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +13 -31
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +4 -2
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +17 -15
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +3 -3
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +84 -67
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +10 -23
- package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +59 -69
- package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +1 -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 +28 -35
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.view.xml +5 -9
- package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +1 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.view.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.fragment.xml +2 -4
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +9 -23
- package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.view.xml +6 -12
- package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +2 -4
- package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +23 -115
- package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +4 -3
- package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +2 -2
- package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +4 -1
- package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +0 -31
- package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +5 -2
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +14 -19
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +16 -16
- package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +20 -20
- package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +18 -18
- package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +15 -15
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +18 -18
- package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +20 -20
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/manifest.json +1 -6
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/manifest.json +1 -6
- package/src/main/js/sap/ushell/components/tiles/generic.js +8 -8
- package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +6 -8
- package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +2 -2
- package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +5 -5
- package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +2 -6
- package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +2 -4
- package/src/main/js/sap/ushell/components/tiles/utils.js +46 -22
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +2 -3
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +8 -10
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +2 -2
- package/src/main/js/sap/ushell/functionBindPrototype.js +1 -1
- package/src/main/js/sap/ushell/library.js +5 -5
- package/src/main/js/sap/ushell/modules/NavigationMenu.js +3 -4
- package/src/main/js/sap/ushell/navigationMode.js +40 -43
- package/src/main/js/sap/ushell/override.js +53 -53
- package/src/main/js/sap/ushell/performance/FesrEnhancer.js +7 -9
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +48 -52
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +9 -11
- package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +106 -107
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +17 -17
- package/src/main/js/sap/ushell/plugins/appwarmup/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/manifest.json +0 -4
- package/src/main/js/sap/ushell/plugins/ghostapp/Component.js +1 -1
- package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +5 -5
- package/src/main/js/sap/ushell/plugins/ghostapp/manifest.json +1 -2
- package/src/main/js/sap/ushell/plugins/rta/Component.js +51 -51
- package/src/main/js/sap/ushell/plugins/rta/manifest.json +0 -4
- package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +3 -3
- package/src/main/js/sap/ushell/plugins/rta-personalize/manifest.json +0 -4
- package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +81 -79
- package/src/main/js/sap/ushell/renderer/History.js +6 -6
- package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +27 -27
- package/src/main/js/sap/ushell/renderer/NavContainerRenderer.js +3 -3
- package/src/main/js/sap/ushell/renderer/Renderer.js +74 -62
- package/src/main/js/sap/ushell/renderer/RendererAppContainer.js +5 -5
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +47 -48
- package/src/main/js/sap/ushell/renderer/Shell.view.js +63 -91
- package/src/main/js/sap/ushell/renderer/ShellLayout.js +0 -12
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +100 -100
- package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +103 -93
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/Component.js +2 -2
- package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller.js +3 -3
- package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +6 -7
- package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -3
- package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +1 -2
- package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +0 -1
- package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +0 -1
- package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +5 -5
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +3 -5
- package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +5 -8
- 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 +2 -2
- package/src/main/js/sap/ushell/renderer/search/searchComponent/view/SearchApp.view.js +2 -2
- package/src/main/js/sap/ushell/renderer/search/util.js +5 -6
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +42 -41
- package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.fragment.xml +2 -1
- package/src/main/js/sap/ushell/renderer/utils.js +4 -4
- package/src/main/js/sap/ushell/renderers/fiori2/History.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +1 -1
- package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +6 -7
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +2 -2
- package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +55 -87
- package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +1 -1
- package/src/main/js/sap/ushell/resources.js +18 -22
- package/src/main/js/sap/ushell/services/AppConfiguration.js +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +4 -2
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +142 -158
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +11 -13
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +3 -4
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/ParameterMapping.js +38 -38
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +72 -72
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +229 -247
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +29 -41
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +10 -10
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +26 -31
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +204 -206
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel/PersonalizationProcessor.js +115 -118
- package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +20 -20
- package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +3 -5
- package/src/main/js/sap/ushell/services/CommonDataModel.js +2 -2
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +2 -2
- package/src/main/js/sap/ushell/services/Extension.js +1 -1
- package/src/main/js/sap/ushell/services/FlpLaunchPage.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +4 -4
- package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +2 -2
- package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
- package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +13 -8
- package/src/main/js/sap/ushell/services/Message.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/Navigation.js +1 -1
- package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +8 -12
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager/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/PluginManager/SimpleExpression.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +17 -14
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
- package/src/main/js/sap/ushell/services/Search.js +1 -1
- package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
- package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
- package/src/main/js/sap/ushell/services/ShellNavigation.js +2 -2
- package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +1 -1
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +18 -22
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
- package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
- package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
- package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
- package/src/main/js/sap/ushell/services/_AppState/AppStatePersistencyMethod.js +2 -2
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +9 -9
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +21 -14
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +66 -67
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +15 -15
- package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +65 -79
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +58 -57
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +17 -14
- package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +30 -28
- package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +38 -24
- package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +4 -10
- package/src/main/js/sap/ushell/services/_Personalization/Variant.js +23 -23
- package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +39 -38
- package/src/main/js/sap/ushell/services/_Personalization/VariantSetAdapter.js +2 -2
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/constants.js +5 -5
- package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +1 -1
- package/src/main/js/sap/ushell/services/_Personalization/utils.js +13 -13
- package/src/main/js/sap/ushell/services/appstate/AppState.js +26 -26
- package/src/main/js/sap/ushell/services/appstate/AppStatePersistencyMethod.js +1 -1
- package/src/main/js/sap/ushell/services/appstate/AppStatePersistencySettings.js +4 -4
- package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +9 -7
- package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +5 -6
- package/src/main/js/sap/ushell/services/appstate/SequentializingAdapter.js +6 -3
- package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +20 -16
- package/src/main/js/sap/ushell/state/StateManager.js +3 -2
- package/src/main/js/sap/ushell/state/StateRules.js +9 -4
- package/src/main/js/sap/ushell/state/{BackNavigation.js → modules/BackNavigation.js} +1 -1
- package/src/main/js/sap/ushell/state/{ContentDensity.js → modules/ContentDensity.js} +12 -1
- package/src/main/js/sap/ushell/state/{Favicon.js → modules/Favicon.js} +1 -1
- package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +181 -0
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +100 -92
- package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin.properties +0 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin_de.properties +0 -3
- package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin_en.properties +0 -3
- package/src/main/js/sap/ushell/themes/base/AddBookmarkButton.less +5 -0
- package/src/main/js/sap/ushell/themes/base/Factsheet.less +0 -2
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +3 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
- package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/AddBookmarkButton.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_belize_base/Factsheet.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_belize_hcb/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_belize_hcw/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_bluecrystal/AnchorNavigationBar.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/AddBookmarkButton.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/Factsheet.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_hcb/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_hcb/base_AddBookmarkButton.less +5 -0
- package/src/main/js/sap/ushell/themes/sap_hcb/base_Factsheet.less +0 -2
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/FloatingContainer.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +1 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/AnchorItem.less +0 -1
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/FloatingContainer.less +8 -0
- package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +1 -0
- package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +72 -73
- package/src/main/js/sap/ushell/ui/ContentNodeSelectorRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/ContentNodeTreeItem.js +2 -2
- package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItem.js +6 -6
- package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItemRenderer.js +5 -5
- package/src/main/js/sap/ushell/ui/QuickAccess.js +15 -13
- package/src/main/js/sap/ushell/ui/ShellHeader.js +68 -152
- package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +4 -4
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternalRenderer.js +7 -9
- package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/PinButton.js +2 -2
- package/src/main/js/sap/ushell/ui/appfinder/PinButtonRenderer.js +2 -4
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.controller.js +25 -13
- package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +44 -48
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +22 -22
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +23 -23
- package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +5 -5
- package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +0 -3
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +86 -103
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +4 -4
- package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +3 -3
- package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +6 -7
- package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +12 -12
- package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +12 -12
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +21 -21
- package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +57 -55
- package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +13 -13
- package/src/main/js/sap/ushell/ui/launchpad/AccessibilityCustomData.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +5 -5
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +56 -57
- package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBarRenderer.js +8 -8
- package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +36 -38
- package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +40 -45
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +18 -18
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +5 -7
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +33 -33
- package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +13 -13
- package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +13 -13
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +5 -7
- package/src/main/js/sap/ushell/ui/launchpad/GroupListItemRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +18 -18
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +9 -9
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +7 -7
- package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +4 -4
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +56 -59
- package/src/main/js/sap/ushell/ui/launchpad/PageRenderer.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +5 -5
- package/src/main/js/sap/ushell/ui/launchpad/PlusTileRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +142 -142
- package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +8 -8
- package/src/main/js/sap/ushell/ui/launchpad/Tile.js +48 -49
- package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +60 -57
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +31 -31
- package/src/main/js/sap/ushell/ui/launchpad/TileContainerUtils.js +71 -71
- package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +8 -8
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternal.js +7 -7
- package/src/main/js/sap/ushell/ui/launchpad/TileStateInternalRenderer.js +8 -8
- package/src/main/js/sap/ushell/ui/launchpad/TileStateRenderer.js +1 -2
- package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +41 -42
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceAbap.js +25 -25
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceBase.js +3 -3
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +25 -25
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +6 -6
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLink.js +11 -11
- package/src/main/js/sap/ushell/ui/launchpad/VizInstanceRenderer.js +7 -7
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +18 -18
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactAreaRenderer.js +2 -2
- package/src/main/js/sap/ushell/ui/shell/ContentRenderer.js +8 -8
- package/src/main/js/sap/ushell/ui/shell/NavigationMiniTile.js +7 -7
- package/src/main/js/sap/ushell/ui/shell/OverflowListItem.js +5 -5
- package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +55 -55
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +47 -45
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingAction.js +5 -6
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActionRenderer.js +3 -4
- package/src/main/js/sap/ushell/ui/shell/ShellFloatingActions.js +18 -18
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +28 -28
- package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +33 -35
- package/src/main/js/sap/ushell/ui/shell/SidePane.js +9 -10
- package/src/main/js/sap/ushell/ui/shell/SubHeader.js +3 -3
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +12 -13
- package/src/main/js/sap/ushell/ui/shell/SysInfoBarRenderer.js +7 -7
- package/src/main/js/sap/ushell/ui/shell/ToolArea.js +10 -10
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +9 -9
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +5 -5
- package/src/main/js/sap/ushell/ui/tile/DynamicTileRenderer.js +29 -31
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +3 -4
- package/src/main/js/sap/ushell/ui/tile/ImageTileRenderer.js +2 -4
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +3 -3
- package/src/main/js/sap/ushell/ui/tile/StaticTileRenderer.js +2 -4
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +4 -6
- package/src/main/js/sap/ushell/ui/tile/TileBaseRenderer.js +20 -21
- package/src/main/js/sap/ushell/ui/utils.js +20 -21
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +0 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +2 -2
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +4 -4
- package/src/main/js/sap/ushell/utils/AppType.js +4 -4
- package/src/main/js/sap/ushell/utils/Deferred.js +2 -3
- package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +6 -9
- package/src/main/js/sap/ushell/utils/HttpClient.js +33 -35
- package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +3 -3
- package/src/main/js/sap/ushell/utils/UriParameters.js +35 -35
- package/src/main/js/sap/ushell/utils/UrlParsing.js +5 -10
- package/src/main/js/sap/ushell/utils/UrlShortening.js +45 -58
- package/src/main/js/sap/ushell/utils/WindowUtils.js +17 -17
- package/src/main/js/sap/ushell/utils/chipsUtils.js +53 -54
- package/src/main/js/sap/ushell/utils/objectOperations.js +14 -15
- package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +168 -171
- package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +238 -240
- package/src/main/js/sap/ushell/utils/type.js +1 -2
- package/src/main/js/sap/ushell/utils/utilsCdm.js +37 -46
- package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +3 -4
- package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +29 -34
- package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +18 -20
- package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +5 -6
- package/src/main/js/sap/ushell/utils.js +195 -196
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +8 -4
- package/ui5.yaml +0 -1
- package/src/main/js/sap/ushell/CanvasShapesManager.js +0 -392
- package/src/main/js/sap/ushell/components/shell/SearchCEP/ProvidersExecuter.js +0 -49
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Avatar.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Button.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Label.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/Menu.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents/MenuItem.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationList.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListGroupItem.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListItem.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBar.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarItem.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarSpacer.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenu.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuAccount.js +0 -4
- package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuItem.js +0 -4
|
@@ -4,105 +4,106 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/core/Element",
|
|
5
5
|
"sap/ui/thirdparty/jquery",
|
|
6
6
|
"sap/base/Log"
|
|
7
|
-
],
|
|
7
|
+
], (
|
|
8
8
|
Element,
|
|
9
9
|
jQuery,
|
|
10
10
|
Log
|
|
11
|
-
) {
|
|
11
|
+
) => {
|
|
12
12
|
"use strict";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @returns {boolean} true if the current focus is in an input or textarea.
|
|
16
16
|
*/
|
|
17
17
|
function isInSelectableArea () {
|
|
18
|
-
|
|
18
|
+
const sTagName = document.activeElement ? document.activeElement.tagName : "";
|
|
19
19
|
return sTagName === "INPUT" || sTagName === "TEXTAREA";
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
function UIActions (cfg) {
|
|
24
23
|
if (!cfg || !cfg.rootSelector || !cfg.containerSelector || !cfg.draggableSelector) {
|
|
25
24
|
throw new Error("No configuration object to initialize User Interaction module.");
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
/* PRIVATE MEMBERS */
|
|
29
|
-
//TO DO: write optional and mandatory parameters.
|
|
30
|
-
this.captureStart = null;
|
|
31
|
-
this.captureMove = null;
|
|
32
|
-
this.captureEnd = null;
|
|
33
|
-
this.clickCallback = null;
|
|
34
|
-
this.clickEvent = null;
|
|
35
|
-
this.clickHandler = null;
|
|
36
|
-
this.clone = null;
|
|
37
|
-
this.cloneClass = null;
|
|
38
|
-
this.container = null;
|
|
39
|
-
this.contextMenuEvent = null;
|
|
40
|
-
this.debug = null;
|
|
41
|
-
this.defaultMouseMoveEvent = null;
|
|
42
|
-
this.deltaTop = 0;
|
|
28
|
+
// TO DO: write optional and mandatory parameters.
|
|
29
|
+
this.captureStart = null; // {Function} capture start event X and Y position
|
|
30
|
+
this.captureMove = null; // {Function} capture move event X and Y position
|
|
31
|
+
this.captureEnd = null; // {Function} capture end event X and Y position
|
|
32
|
+
this.clickCallback = null; // {Function} Callback function execute after capture `click` event
|
|
33
|
+
this.clickEvent = null; // {string} `click` event
|
|
34
|
+
this.clickHandler = null; // {Function} capture click event and prevent the default behaviour on IOS
|
|
35
|
+
this.clone = null; // {Element} cloned draggable element
|
|
36
|
+
this.cloneClass = null; // {string} clone CSS Class
|
|
37
|
+
this.container = null; // {Element} content container to be scrolled
|
|
38
|
+
this.contextMenuEvent = null; // {string} `contextmenu` event for Windows 8 Chrome
|
|
39
|
+
this.debug = null; // {boolean} for debug mode
|
|
40
|
+
this.defaultMouseMoveEvent = null; // {string} `mousemove` event which we need to prevent its default behavior
|
|
41
|
+
this.deltaTop = 0; // (int) the 'delta' value in px to shift the top position of the clone element
|
|
43
42
|
this.disabledDraggableSelector = null; // {string} name of css class to avoid drag (e.g. locked tiles class identifier)
|
|
44
|
-
this.dragAndScrollCallback = null;
|
|
45
|
-
this.dragAndScrollDuration = null;
|
|
46
|
-
this.dragAndScrollTimer = null;
|
|
47
|
-
this.draggable = null;
|
|
48
|
-
this.placeHolderClass = null;
|
|
49
|
-
this.draggableSelector = null;
|
|
50
|
-
this.draggableSelectorExclude = null;
|
|
51
|
-
this.doubleTapCallback = null;
|
|
52
|
-
this.doubleTapDelay = null;
|
|
53
|
-
this.element = null;
|
|
54
|
-
this.endDragAndScrollCallback = null;
|
|
55
|
-
this.endX = null;
|
|
56
|
-
this.endY = null;
|
|
57
|
-
this.isLayoutEngine = null;
|
|
58
|
-
this.isTouch = null;
|
|
59
|
-
this.isCombi = null;
|
|
60
|
-
this.lastElement = null;
|
|
61
|
-
this.lastTapTime = null;
|
|
62
|
-
this.lockMode = null;
|
|
63
|
-
this.log = null;
|
|
64
|
-
this.mode = null;
|
|
65
|
-
this.mouseDownEvent = null;
|
|
66
|
-
this.mouseMoveEvent = null;
|
|
67
|
-
this.mouseUpEvent = null;
|
|
68
|
-
this.moveTolerance = null;
|
|
69
|
-
this.moveX = null;
|
|
70
|
-
this.moveY = null;
|
|
71
|
-
this.noop = null;
|
|
43
|
+
this.dragAndScrollCallback = null; // {Function} Callback function executes while drag mode is active
|
|
44
|
+
this.dragAndScrollDuration = null; // {int} Scroll timer duration in ms
|
|
45
|
+
this.dragAndScrollTimer = null; // {int} timer ID. Used in drag & scroll animation
|
|
46
|
+
this.draggable = null; // {Array<Element>|NodeList<Element>} list of draggable elements
|
|
47
|
+
this.placeHolderClass = null; // {string} placeholder CSS Class
|
|
48
|
+
this.draggableSelector = null; // {string} CSS Selector String which specifies the draggable elements
|
|
49
|
+
this.draggableSelectorExclude = null; // {string} CSS Selector String which specifies the elements that can not be draggable but can be droppable
|
|
50
|
+
this.doubleTapCallback = null; // {Function} Callback function execute when double tap
|
|
51
|
+
this.doubleTapDelay = null; // {int} number of milliseconds to recognize double tap
|
|
52
|
+
this.element = null; // {Element} draggable element
|
|
53
|
+
this.endDragAndScrollCallback = null; // {Function} Callback function which decides whether to continue with drag and scroll action
|
|
54
|
+
this.endX = null; // {int} X coordinate of end event
|
|
55
|
+
this.endY = null; // {int} Y coordinate of end event
|
|
56
|
+
this.isLayoutEngine = null; // {boolean} is layout engine available
|
|
57
|
+
this.isTouch = null; // {boolean} does browser supports touch events
|
|
58
|
+
this.isCombi = null; // {boolean} does browser supports both touch and mouse events
|
|
59
|
+
this.lastElement = null; // {Element} last tapped element
|
|
60
|
+
this.lastTapTime = null; // {int} number of milliseconds elapsed since last touchstart or mousedown
|
|
61
|
+
this.lockMode = null; // {boolean} if the value is true, preventing change element mode
|
|
62
|
+
this.log = null; // {Function} logs to console in debug mode
|
|
63
|
+
this.mode = null; // {string} current feature mode `normal`, `scroll`, `drag`, `move`
|
|
64
|
+
this.mouseDownEvent = null; // {string} 'mousedown'
|
|
65
|
+
this.mouseMoveEvent = null; // {string} 'mousemove'
|
|
66
|
+
this.mouseUpEvent = null; // {string} 'mouseup'
|
|
67
|
+
this.moveTolerance = null; // {int} tolerance in pixels between touchStart/mousedown and touchMove/mousemove
|
|
68
|
+
this.moveX = null; // {int} X coordinate of move event
|
|
69
|
+
this.moveY = null; // {int} Y coordinate of move event
|
|
70
|
+
this.noop = null; // {Function} empty function
|
|
72
71
|
// {Function} Handler that will be called when drag starts in order to add visual effects. it will be called also for items that are belong to the
|
|
73
72
|
// disabledDraggableSelector, although the drag will be prevented immediately.
|
|
74
73
|
this.onDragStartUIHandler = null;
|
|
75
|
-
this.onDragEndUIHandler = null;
|
|
76
|
-
this.preventClickFlag = null;
|
|
77
|
-
this.preventClickTimeoutId = null;
|
|
78
|
-
this.scrollContainer = null;
|
|
79
|
-
this.scrollContainerSelector = null;
|
|
80
|
-
this.scrollEvent = null;
|
|
81
|
-
this.scrollTimer = null;
|
|
82
|
-
this.startX = null;
|
|
83
|
-
this.startY = null;
|
|
84
|
-
this.switchModeDelay = null;
|
|
85
|
-
this.tapsNumber = null;
|
|
86
|
-
this.timer = null;
|
|
87
|
-
this.scrollHandler = null;
|
|
88
|
-
this.touchCancelEvent = null;
|
|
89
|
-
this.dragCallback = null;
|
|
90
|
-
this.onBeforeCreateClone = null;
|
|
91
|
-
this.endCallback = null;
|
|
92
|
-
this.touchEndEvent = null;
|
|
93
|
-
this.touchMoveEvent = null;
|
|
94
|
-
this.startCallback = null;
|
|
95
|
-
this.touchStartEvent = null;
|
|
96
|
-
this.wrapper = null;
|
|
97
|
-
this.wrapperRect = null;
|
|
98
|
-
this.scrollCallback = null;
|
|
99
|
-
this.draggableElement = null;
|
|
100
|
-
this.offsetLeft = 0;
|
|
74
|
+
this.onDragEndUIHandler = null; // {Function} Handler that will be called when drag ends. to revert the drag visual effects.
|
|
75
|
+
this.preventClickFlag = null; // {boolean} flag indicates if prevent default click behaviour
|
|
76
|
+
this.preventClickTimeoutId = null; // {int} timer ID. Used to clear click preventing
|
|
77
|
+
this.scrollContainer = null; // {Element} the element we would like to transition while drag and scroll
|
|
78
|
+
this.scrollContainerSelector = null; // {string} CSS Selector String which specifies the element we would like to transition while drag and scroll
|
|
79
|
+
this.scrollEvent = null; // {string} `scroll` event
|
|
80
|
+
this.scrollTimer = null; // {int} number of milliseconds elapsed since the last scroll event
|
|
81
|
+
this.startX = null; // {int} X coordinate of start event
|
|
82
|
+
this.startY = null; // {int} Y coordinate of start event
|
|
83
|
+
this.switchModeDelay = null; // {int} switch mode delay in ms
|
|
84
|
+
this.tapsNumber = null; // {int} the number of taps. could be 0 / 1 / 2
|
|
85
|
+
this.timer = null; // {int} timer ID. Used to decide mode
|
|
86
|
+
this.scrollHandler = null; // {Function} scroll event handler
|
|
87
|
+
this.touchCancelEvent = null; // {string} `touchcancel` event
|
|
88
|
+
this.dragCallback = null; // {Function} Callback function execute when drag mode is active
|
|
89
|
+
this.onBeforeCreateClone = null; // {Function} Callback function execute on before clone is created
|
|
90
|
+
this.endCallback = null; // {Function} Callback function execute after capture `touchend` or `mouseup` event
|
|
91
|
+
this.touchEndEvent = null; // {string} `touchend`
|
|
92
|
+
this.touchMoveEvent = null; // {string} `touchmove`
|
|
93
|
+
this.startCallback = null; // {Function} Callback function execute after capture `touchstart` or `mousedown` event
|
|
94
|
+
this.touchStartEvent = null; // {string} `touchstart`
|
|
95
|
+
this.wrapper = null; // {Element} content container parent
|
|
96
|
+
this.wrapperRect = null; // {object} wrapper Bounding Rect
|
|
97
|
+
this.scrollCallback = null; // {Function} Callback function when scroll was performed
|
|
98
|
+
this.draggableElement = null; // {string} Class which specifies the element that enables drag
|
|
99
|
+
this.offsetLeft = 0; // (int) element left offset
|
|
101
100
|
this.elementsToCapture = null;
|
|
102
101
|
|
|
103
102
|
/**
|
|
104
103
|
* Initialize state using configuration
|
|
105
104
|
*
|
|
105
|
+
* @param {object} cfg configuration object.
|
|
106
|
+
*
|
|
106
107
|
* @private
|
|
107
108
|
*/
|
|
108
109
|
this.init = function (cfg) {
|
|
@@ -183,9 +184,9 @@ sap.ui.define([
|
|
|
183
184
|
* Iterates over array-like object and calls callback function
|
|
184
185
|
* for each item
|
|
185
186
|
*
|
|
186
|
-
* @param {Array
|
|
187
|
+
* @param {Array<any>|NodeList|arguments} scope - array-like object
|
|
187
188
|
* @param {function} callback - function to be called for each element in scope
|
|
188
|
-
* @returns {Array
|
|
189
|
+
* @returns {Array<any>|NodeList|Arguments} scope
|
|
189
190
|
*/
|
|
190
191
|
this.forEach = function (scope, callback) {
|
|
191
192
|
// NodeList and Arguments don't have forEach,
|
|
@@ -196,8 +197,8 @@ sap.ui.define([
|
|
|
196
197
|
/**
|
|
197
198
|
* Returns index of item in array-like object
|
|
198
199
|
*
|
|
199
|
-
* @param {Array
|
|
200
|
-
* @param {
|
|
200
|
+
* @param {Array<any>|NodeList|Arguments} scope - array-like object
|
|
201
|
+
* @param {any} item - item which index to be found
|
|
201
202
|
* @returns {int} index of item in the array-like object
|
|
202
203
|
*/
|
|
203
204
|
this.indexOf = function (scope, item) {
|
|
@@ -209,18 +210,14 @@ sap.ui.define([
|
|
|
209
210
|
/**
|
|
210
211
|
* Cuts item from array-like object and pastes before reference item
|
|
211
212
|
*
|
|
212
|
-
* @param {Array
|
|
213
|
-
* @param {
|
|
214
|
-
* @param {
|
|
213
|
+
* @param {Array<any>|NodeList|Arguments} scope the scope
|
|
214
|
+
* @param {any} item the item
|
|
215
|
+
* @param {any} referenceItem the reference item
|
|
215
216
|
*/
|
|
216
217
|
this.insertBefore = function (scope, item, referenceItem) {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
splice = Array.prototype.splice;
|
|
222
|
-
itemIndex = this.indexOf(scope, item);
|
|
223
|
-
referenceItemIndex = this.indexOf(scope, referenceItem);
|
|
218
|
+
const splice = Array.prototype.splice;
|
|
219
|
+
const itemIndex = this.indexOf(scope, item);
|
|
220
|
+
const referenceItemIndex = this.indexOf(scope, referenceItem);
|
|
224
221
|
|
|
225
222
|
splice.call(
|
|
226
223
|
scope,
|
|
@@ -231,19 +228,19 @@ sap.ui.define([
|
|
|
231
228
|
};
|
|
232
229
|
|
|
233
230
|
this.getDraggableElement = function (currentElement) {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
231
|
+
let element;
|
|
232
|
+
let bIsDraggable = false;
|
|
233
|
+
let bIsExcluded = false;
|
|
237
234
|
|
|
238
235
|
this.draggable = jQuery(this.draggableSelector, this.container);
|
|
239
|
-
//Since we are listening on the root element,
|
|
240
|
-
//we would like to identify when a draggable element is being touched.
|
|
241
|
-
//The target element of the event is the lowest element in the DOM hierarchy
|
|
242
|
-
//where the user touched the screen.
|
|
243
|
-
//We need to climb in the DOM tree from the target element until we identify the draggable element,
|
|
244
|
-
//or getting out of container scope.
|
|
236
|
+
// Since we are listening on the root element,
|
|
237
|
+
// we would like to identify when a draggable element is being touched.
|
|
238
|
+
// The target element of the event is the lowest element in the DOM hierarchy
|
|
239
|
+
// where the user touched the screen.
|
|
240
|
+
// We need to climb in the DOM tree from the target element until we identify the draggable element,
|
|
241
|
+
// or getting out of container scope.
|
|
245
242
|
while (typeof element === "undefined" && currentElement !== this.root && !jQuery(currentElement).is(this.draggableSelectorBlocker)) {
|
|
246
|
-
//Only draggable tiles
|
|
243
|
+
// Only draggable tiles
|
|
247
244
|
bIsDraggable = bIsDraggable || jQuery(currentElement).is(this.draggableElement) || this.draggableElement === undefined;
|
|
248
245
|
|
|
249
246
|
if (!(jQuery(currentElement).not(this.draggableSelectorExclude).length > 0)) {
|
|
@@ -265,7 +262,7 @@ sap.ui.define([
|
|
|
265
262
|
* @private
|
|
266
263
|
*/
|
|
267
264
|
this.captureStart = function (evt) {
|
|
268
|
-
|
|
265
|
+
let eventObj;
|
|
269
266
|
|
|
270
267
|
if (evt.type === "touchstart" && evt.touches.length === 1) {
|
|
271
268
|
eventObj = evt.touches[0];
|
|
@@ -282,7 +279,7 @@ sap.ui.define([
|
|
|
282
279
|
this.startY = this.moveY = eventObj.pageY;
|
|
283
280
|
this.lastMoveX = 0;
|
|
284
281
|
this.lastMoveY = 0;
|
|
285
|
-
//Check if it is a double tap flow or single tap
|
|
282
|
+
// Check if it is a double tap flow or single tap
|
|
286
283
|
if (this.lastTapTime && this.lastElement && this.element && (this.lastElement === this.element)
|
|
287
284
|
&& Math.abs(Date.now() - this.lastTapTime) < this.doubleTapDelay) {
|
|
288
285
|
this.lastTapTime = 0;
|
|
@@ -293,13 +290,15 @@ sap.ui.define([
|
|
|
293
290
|
this.lastElement = this.element;
|
|
294
291
|
}
|
|
295
292
|
|
|
296
|
-
this.log(
|
|
293
|
+
this.log(`captureStart(${this.startX}, ${this.startY})`);
|
|
297
294
|
}
|
|
298
295
|
};
|
|
299
296
|
|
|
300
297
|
/**
|
|
301
298
|
* Handler for `mousedown` or `touchstart`
|
|
302
299
|
*
|
|
300
|
+
* @param {object} evt the event object.
|
|
301
|
+
*
|
|
303
302
|
* @private
|
|
304
303
|
*/
|
|
305
304
|
this.startHandler = function (evt) {
|
|
@@ -319,8 +318,8 @@ sap.ui.define([
|
|
|
319
318
|
return;
|
|
320
319
|
}
|
|
321
320
|
if (this.isTouch || this.isTouchEvent) {
|
|
322
|
-
this.timer = setTimeout(
|
|
323
|
-
//In Mobile prevent drag of locked tile
|
|
321
|
+
this.timer = setTimeout(() => {
|
|
322
|
+
// In Mobile prevent drag of locked tile
|
|
324
323
|
if (!jQuery(this.element).hasClass(this.disabledDraggableSelector)) {
|
|
325
324
|
this.log("mode switched to drag");
|
|
326
325
|
this.mode = "drag";
|
|
@@ -331,7 +330,7 @@ sap.ui.define([
|
|
|
331
330
|
this.onDragStartUIHandler();
|
|
332
331
|
}
|
|
333
332
|
this.isTouchEvent = false;
|
|
334
|
-
}
|
|
333
|
+
}, this.switchModeDelay);
|
|
335
334
|
}
|
|
336
335
|
}
|
|
337
336
|
}
|
|
@@ -344,7 +343,7 @@ sap.ui.define([
|
|
|
344
343
|
* @private
|
|
345
344
|
*/
|
|
346
345
|
this.captureMove = function (evt) {
|
|
347
|
-
|
|
346
|
+
let eventObj;
|
|
348
347
|
|
|
349
348
|
if (evt.type === "touchmove" && evt.touches.length === 1) {
|
|
350
349
|
eventObj = evt.touches[0];
|
|
@@ -355,25 +354,28 @@ sap.ui.define([
|
|
|
355
354
|
this.moveX = eventObj.pageX;
|
|
356
355
|
this.moveY = eventObj.pageY;
|
|
357
356
|
|
|
358
|
-
this.log(
|
|
357
|
+
this.log(`captureMove(${this.moveX}, ${this.moveY})`);
|
|
359
358
|
}
|
|
360
359
|
};
|
|
361
360
|
|
|
362
361
|
/**
|
|
363
362
|
* Handler for `mousemove` or `touchmove`
|
|
364
363
|
*
|
|
364
|
+
* @param {Event} evt - mousemove or touchmove event.
|
|
365
|
+
*
|
|
365
366
|
* @private
|
|
366
367
|
*/
|
|
367
368
|
this.moveHandler = function (evt) {
|
|
368
369
|
if (isInSelectableArea()) {
|
|
369
370
|
return;
|
|
370
371
|
}
|
|
371
|
-
|
|
372
|
+
let isScrolling;
|
|
372
373
|
this.log("moveHandler");
|
|
373
374
|
this.captureMove(evt);
|
|
374
375
|
if (this.element && evt.type === "mousemove" && evt.buttons === 0) {
|
|
375
376
|
// mouseup can get lost; cancel dragging if we are in a drag mode but the mouse button is not depressed
|
|
376
|
-
|
|
377
|
+
this.endHandler(evt);
|
|
378
|
+
return;
|
|
377
379
|
}
|
|
378
380
|
switch (this.mode) {
|
|
379
381
|
case "normal":
|
|
@@ -382,7 +384,7 @@ sap.ui.define([
|
|
|
382
384
|
this.log("-> normal");
|
|
383
385
|
clearTimeout(this.timer);
|
|
384
386
|
delete this.timer;
|
|
385
|
-
} else if (this.element) { //In desktop start dragging immediately
|
|
387
|
+
} else if (this.element) { // In desktop start dragging immediately
|
|
386
388
|
this.onDragStartUIHandler();
|
|
387
389
|
if (!jQuery(this.element).hasClass(this.disabledDraggableSelector)) {
|
|
388
390
|
this.log("mode switched to drag");
|
|
@@ -390,7 +392,7 @@ sap.ui.define([
|
|
|
390
392
|
this.onBeforeCreateClone(evt, this.element);
|
|
391
393
|
this.createClone();
|
|
392
394
|
} else {
|
|
393
|
-
//In case the element has the disable draggable selector, we prevent the drag action and in addition make sure to prevent the click from being executed.
|
|
395
|
+
// In case the element has the disable draggable selector, we prevent the drag action and in addition make sure to prevent the click from being executed.
|
|
394
396
|
this.preventClick();
|
|
395
397
|
this.element = null;
|
|
396
398
|
}
|
|
@@ -448,7 +450,7 @@ sap.ui.define([
|
|
|
448
450
|
* @private
|
|
449
451
|
*/
|
|
450
452
|
this.captureEnd = function (evt) {
|
|
451
|
-
|
|
453
|
+
let eventObj;
|
|
452
454
|
|
|
453
455
|
if ((evt.type === "touchend" || evt.type === "touchcancel") && (evt.changedTouches.length === 1)) {
|
|
454
456
|
eventObj = evt.changedTouches[0];
|
|
@@ -459,28 +461,27 @@ sap.ui.define([
|
|
|
459
461
|
this.endX = eventObj.pageX;
|
|
460
462
|
this.endY = eventObj.pageY;
|
|
461
463
|
|
|
462
|
-
this.log(
|
|
464
|
+
this.log(`captureEnd(${this.endX}, ${this.endY})`);
|
|
463
465
|
}
|
|
464
466
|
};
|
|
465
467
|
|
|
466
468
|
/**
|
|
467
469
|
* Handler for `contextmenu` event. Disable right click on Chrome
|
|
468
470
|
*
|
|
471
|
+
* @param {object} evt the contextmenu event.
|
|
472
|
+
*
|
|
469
473
|
* @private
|
|
470
474
|
*/
|
|
471
475
|
this.contextMenuHandler = function (evt) {
|
|
472
476
|
if (this.isTouch) {
|
|
473
477
|
evt.preventDefault();
|
|
474
478
|
}
|
|
475
|
-
|
|
476
479
|
}.bind(this);
|
|
477
480
|
|
|
478
481
|
/**
|
|
479
|
-
*
|
|
480
|
-
* @param event
|
|
482
|
+
* @param {object} event the click event.
|
|
481
483
|
*/
|
|
482
484
|
this.clickHandler = function (event) {
|
|
483
|
-
|
|
484
485
|
if (this.preventClickFlag) {
|
|
485
486
|
this.preventClickFlag = false;
|
|
486
487
|
event.preventDefault();
|
|
@@ -489,7 +490,6 @@ sap.ui.define([
|
|
|
489
490
|
clearTimeout(this.preventClickTimeoutId);
|
|
490
491
|
}
|
|
491
492
|
this.clickCallback();
|
|
492
|
-
|
|
493
493
|
}.bind(this);
|
|
494
494
|
|
|
495
495
|
/**
|
|
@@ -497,23 +497,25 @@ sap.ui.define([
|
|
|
497
497
|
*/
|
|
498
498
|
this.preventClick = function () {
|
|
499
499
|
this.preventClickFlag = true;
|
|
500
|
-
this.preventClickTimeoutId = setTimeout(
|
|
500
|
+
this.preventClickTimeoutId = setTimeout(() => {
|
|
501
501
|
this.preventClickFlag = false;
|
|
502
|
-
}
|
|
502
|
+
}, 100);
|
|
503
503
|
};
|
|
504
504
|
|
|
505
505
|
this.endCallbackAdapter = function (evt, element, optional) {
|
|
506
|
-
|
|
507
|
-
jQuery.when(endResult).then(
|
|
506
|
+
const endResult = this.endCallback.apply(null, arguments);
|
|
507
|
+
jQuery.when(endResult).then(() => {
|
|
508
508
|
this.removeClone(element, optional.clone);
|
|
509
509
|
this.onDragEndUIHandler(evt);
|
|
510
|
-
}
|
|
510
|
+
});
|
|
511
511
|
this.preventClick();
|
|
512
512
|
};
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* Handler for `mouseup` or `touchend`
|
|
516
516
|
*
|
|
517
|
+
* @param {object} evt the event object.
|
|
518
|
+
*
|
|
517
519
|
* @private
|
|
518
520
|
*/
|
|
519
521
|
this.endHandler = function (evt) {
|
|
@@ -565,10 +567,10 @@ sap.ui.define([
|
|
|
565
567
|
this.scrollHandler = function () {
|
|
566
568
|
clearTimeout(this.scrollTimer);
|
|
567
569
|
this.lockMode = true;
|
|
568
|
-
//release the scroll lock after 100 ms
|
|
569
|
-
this.scrollTimer = setTimeout(
|
|
570
|
+
// release the scroll lock after 100 ms
|
|
571
|
+
this.scrollTimer = setTimeout(() => {
|
|
570
572
|
this.lockMode = false;
|
|
571
|
-
}
|
|
573
|
+
}, 500);
|
|
572
574
|
}.bind(this);
|
|
573
575
|
|
|
574
576
|
/**
|
|
@@ -577,8 +579,7 @@ sap.ui.define([
|
|
|
577
579
|
* @private
|
|
578
580
|
*/
|
|
579
581
|
this.createClone = function () {
|
|
580
|
-
|
|
581
|
-
rect;
|
|
582
|
+
let rect;
|
|
582
583
|
|
|
583
584
|
this.preventClickFlag = true;
|
|
584
585
|
if (Element.getElementById(this.element.id) && Element.getElementById(this.element.id).getBoundingRects) {
|
|
@@ -592,14 +593,14 @@ sap.ui.define([
|
|
|
592
593
|
this.clone = this.element.cloneNode(true);
|
|
593
594
|
this.clone.removeAttribute("id");
|
|
594
595
|
this.clone.removeAttribute("data-sap-ui");
|
|
595
|
-
this.clone.className += (
|
|
596
|
-
this.element.className += (
|
|
597
|
-
style = this.clone.style;
|
|
596
|
+
this.clone.className += (` ${this.cloneClass}`);
|
|
597
|
+
this.element.className += (` ${this.placeHolderClass}`);
|
|
598
|
+
const style = this.clone.style;
|
|
598
599
|
style.position = "fixed";
|
|
599
600
|
style.display = "block";
|
|
600
|
-
style.top =
|
|
601
|
-
style.left = rect.left
|
|
602
|
-
style.width = rect.width
|
|
601
|
+
style.top = `${rect.top + this.deltaTop}px`;
|
|
602
|
+
style.left = `${rect.left}px`;
|
|
603
|
+
style.width = `${rect.width}px`;
|
|
603
604
|
style.zIndex = "100";
|
|
604
605
|
this.root.appendChild(this.clone);
|
|
605
606
|
this.log("createClone");
|
|
@@ -608,11 +609,14 @@ sap.ui.define([
|
|
|
608
609
|
/**
|
|
609
610
|
* Remove clone of draggable element
|
|
610
611
|
*
|
|
612
|
+
* @param {HTMLElement} element the draggable element.
|
|
613
|
+
* @param {HTMLElement} clone the clone of the draggable element.
|
|
614
|
+
*
|
|
611
615
|
* @private
|
|
612
616
|
*/
|
|
613
617
|
this.removeClone = function (element, clone) {
|
|
614
618
|
this.preventClick();
|
|
615
|
-
element.className = element.className.split(
|
|
619
|
+
element.className = element.className.split(` ${this.placeHolderClass}`).join(" ");
|
|
616
620
|
clone.parentElement.removeChild(clone);
|
|
617
621
|
// unset reference to DOM element of the clone, otherwise it will remain DOM fragment
|
|
618
622
|
this.log("removeClone");
|
|
@@ -624,44 +628,42 @@ sap.ui.define([
|
|
|
624
628
|
* @private
|
|
625
629
|
*/
|
|
626
630
|
this.translateClone = function () {
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
this.clone.style.
|
|
633
|
-
this.clone.style.
|
|
634
|
-
|
|
635
|
-
this.
|
|
636
|
-
this.clone.style.transform = "translate3d(" + deltaX + "px, " + deltaY + "px, 0px)";
|
|
637
|
-
|
|
638
|
-
this.log("translateClone (" + deltaX + ", " + deltaY + ")");
|
|
631
|
+
const deltaX = this.moveX - this.startX;
|
|
632
|
+
const deltaY = this.moveY - this.startY;
|
|
633
|
+
this.clone.style.webkitTransform = `translate3d(${deltaX}px, ${deltaY}px, 0px)`;
|
|
634
|
+
this.clone.style.mozTransform = `translate3d(${deltaX}px, ${deltaY}px, 0px)`;
|
|
635
|
+
// IE9 contains only 2-D transform
|
|
636
|
+
this.clone.style.msTransform = `translate(${deltaX}px, ${deltaY}px)`;
|
|
637
|
+
this.clone.style.transform = `translate3d(${deltaX}px, ${deltaY}px, 0px)`;
|
|
638
|
+
|
|
639
|
+
this.log(`translateClone (${deltaX}, ${deltaY})`);
|
|
639
640
|
};
|
|
640
641
|
|
|
641
642
|
/**
|
|
642
643
|
* Scroll while dragging if needed
|
|
643
644
|
*
|
|
645
|
+
* @returns {boolean} whether the scrolling is possible.
|
|
644
646
|
* @private
|
|
645
647
|
*/
|
|
646
648
|
this.dragAndScroll = function () {
|
|
647
|
-
|
|
649
|
+
let
|
|
648
650
|
/**
|
|
649
651
|
* Indicates how much pixels of draggable element are overflowing in a vertical axis.
|
|
650
652
|
* When deltaY is negative - content should be scrolled down,
|
|
651
653
|
* when deltaY is positive - content should be scrolled up,
|
|
652
654
|
* when deltaY is zero - content should not be scrolled
|
|
653
655
|
*/
|
|
654
|
-
deltaY
|
|
656
|
+
deltaY;
|
|
655
657
|
/**
|
|
656
658
|
* Duration of scrolling animation in milliseconds.
|
|
657
659
|
* Greater value makes scroll faster, lower values - smoother
|
|
658
660
|
*/
|
|
659
|
-
|
|
660
|
-
|
|
661
|
+
let duration;
|
|
662
|
+
const that = this;
|
|
661
663
|
|
|
662
664
|
function getDeltaY () {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
+
let rect;
|
|
666
|
+
let delta;
|
|
665
667
|
|
|
666
668
|
if (that.clone) {
|
|
667
669
|
rect = that.clone.getBoundingClientRect();
|
|
@@ -685,18 +687,18 @@ sap.ui.define([
|
|
|
685
687
|
if (that.endDragAndScrollCallback(that.moveY)) {
|
|
686
688
|
return false;
|
|
687
689
|
}
|
|
688
|
-
//Down
|
|
690
|
+
// Down
|
|
689
691
|
if (deltaY < 0) {
|
|
690
|
-
//Calculate the difference between (document - wrapper) and (difference between : document - wrapper + container height + wrapper height )
|
|
692
|
+
// Calculate the difference between (document - wrapper) and (difference between : document - wrapper + container height + wrapper height )
|
|
691
693
|
return that.wrapper.getBoundingClientRect().top - (that.container.getBoundingClientRect().top + that.container.offsetHeight) + that.wrapper.offsetHeight < 0;
|
|
692
694
|
}
|
|
693
|
-
//Up
|
|
694
|
-
//Calculate the difference between (document - wrapper) and (document - container + container.top)
|
|
695
|
+
// Up
|
|
696
|
+
// Calculate the difference between (document - wrapper) and (document - container + container.top)
|
|
695
697
|
return that.container.getBoundingClientRect().top - (that.wrapper.getBoundingClientRect().top + that.container.offsetTop) < 0;
|
|
696
698
|
}
|
|
697
699
|
|
|
698
700
|
function start () {
|
|
699
|
-
that.dragAndScrollTimer = setTimeout(
|
|
701
|
+
that.dragAndScrollTimer = setTimeout(() => {
|
|
700
702
|
that.wrapper.scrollTop -= deltaY;
|
|
701
703
|
that.dragAndScrollTimer = undefined;
|
|
702
704
|
if ((deltaY = getDeltaY()) !== 0 && isScrollPossible()) {
|
|
@@ -709,23 +711,23 @@ sap.ui.define([
|
|
|
709
711
|
deltaY = getDeltaY();
|
|
710
712
|
if (deltaY !== 0 && !this.dragAndScrollTimer && isScrollPossible()) {
|
|
711
713
|
duration = this.dragAndScrollDuration;
|
|
712
|
-
//in IE when reaching the drag and scroll we lose the ref to this.scrollContainer
|
|
714
|
+
// in IE when reaching the drag and scroll we lose the ref to this.scrollContainer
|
|
713
715
|
this.scrollContainer = this.scrollContainer || document.querySelector(this.scrollContainerSelector);
|
|
714
716
|
start();
|
|
715
717
|
}
|
|
716
718
|
|
|
717
|
-
this.log(
|
|
719
|
+
this.log(`dragAndScroll (${deltaY})`);
|
|
718
720
|
|
|
719
|
-
return (deltaY
|
|
721
|
+
return (deltaY !== 0) && isScrollPossible();
|
|
720
722
|
};
|
|
721
723
|
|
|
722
724
|
this.moveDraggableVerticalOnly = function () {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
725
|
+
let hoverElement;
|
|
726
|
+
let isVerticalIntersection;
|
|
727
|
+
let rect;
|
|
728
|
+
let movedElementPositionAboveMiddle = true;
|
|
727
729
|
|
|
728
|
-
this.forEach(this.draggable,
|
|
730
|
+
this.forEach(this.draggable, (item, index) => {
|
|
729
731
|
// There is no way to break native forEach,
|
|
730
732
|
// so just speed it up using fast check
|
|
731
733
|
// before executing expensive DOM manipulations
|
|
@@ -742,13 +744,12 @@ sap.ui.define([
|
|
|
742
744
|
}
|
|
743
745
|
}
|
|
744
746
|
}
|
|
745
|
-
}
|
|
747
|
+
});
|
|
746
748
|
if (hoverElement && this.element !== hoverElement) {
|
|
747
749
|
// Reorder draggable elements
|
|
748
750
|
if (movedElementPositionAboveMiddle) {
|
|
749
751
|
this.insertBefore(this.draggable, this.element, hoverElement);
|
|
750
752
|
hoverElement.parentNode.insertBefore(this.element, hoverElement);
|
|
751
|
-
|
|
752
753
|
} else {
|
|
753
754
|
this.insertBefore(this.draggable, this.element, hoverElement.nextSibling);
|
|
754
755
|
hoverElement.parentNode.insertBefore(this.element, hoverElement.nextSibling);
|
|
@@ -756,7 +757,6 @@ sap.ui.define([
|
|
|
756
757
|
|
|
757
758
|
this.lastMoveX = this.moveX;
|
|
758
759
|
this.lastMoveY = this.moveY;
|
|
759
|
-
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
this.log("moveDraggableVerticalOnly");
|
|
@@ -766,23 +766,26 @@ sap.ui.define([
|
|
|
766
766
|
* Move draggable element forward and backward
|
|
767
767
|
* across another draggable elements
|
|
768
768
|
*
|
|
769
|
+
* @param {int} moveX The X coordinate of the element's current position
|
|
770
|
+
* @param {int} moveY The Y coordinate of the element's current position
|
|
771
|
+
*
|
|
769
772
|
* @private
|
|
770
773
|
*/
|
|
771
774
|
this.moveDraggable = function (moveX, moveY) {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
this.forEach(this.draggable,
|
|
775
|
+
let elementIndex;
|
|
776
|
+
let hoverElement;
|
|
777
|
+
let hoverElementIndex;
|
|
778
|
+
let isHorizontalIntersection;
|
|
779
|
+
let isVerticalIntersection;
|
|
780
|
+
let rect;
|
|
781
|
+
|
|
782
|
+
this.forEach(this.draggable, (item, index) => {
|
|
780
783
|
// There is no way to break native forEach,
|
|
781
784
|
// so just speed it up using fast check
|
|
782
785
|
// before executing expensive DOM manipulations
|
|
783
786
|
if (!hoverElement) {
|
|
784
787
|
rect = item.getBoundingClientRect();
|
|
785
|
-
//style = window.getComputedStyle(item);
|
|
788
|
+
// style = window.getComputedStyle(item);
|
|
786
789
|
isHorizontalIntersection = !(rect.right < this.moveX || rect.left > this.moveX);
|
|
787
790
|
isVerticalIntersection = !(rect.bottom < this.moveY || rect.top > this.moveY);
|
|
788
791
|
if (isHorizontalIntersection && isVerticalIntersection) {
|
|
@@ -790,12 +793,12 @@ sap.ui.define([
|
|
|
790
793
|
hoverElementIndex = index;
|
|
791
794
|
}
|
|
792
795
|
}
|
|
793
|
-
}
|
|
796
|
+
});
|
|
794
797
|
|
|
795
798
|
if (hoverElement && this.element !== hoverElement) {
|
|
796
799
|
// Reorder draggable elements
|
|
797
800
|
elementIndex = this.indexOf(this.draggable, this.element);
|
|
798
|
-
//Check if there was enough movement in order to mover the element
|
|
801
|
+
// Check if there was enough movement in order to mover the element
|
|
799
802
|
if (Math.abs(this.lastMoveX - this.moveX) >= this.moveTolerance || Math.abs(this.lastMoveY - this.moveY) >= this.moveTolerance) {
|
|
800
803
|
if (hoverElementIndex <= elementIndex) {
|
|
801
804
|
hoverElement.parentNode.insertBefore(this.element, hoverElement);
|
|
@@ -823,25 +826,24 @@ sap.ui.define([
|
|
|
823
826
|
*/
|
|
824
827
|
this.enable = function () {
|
|
825
828
|
this.log("enable");
|
|
826
|
-
//Touch Events
|
|
829
|
+
// Touch Events
|
|
827
830
|
this.root.addEventListener(this.touchMoveEvent, this.moveHandler, true);
|
|
828
|
-
//Mouse Events
|
|
831
|
+
// Mouse Events
|
|
829
832
|
this.root.addEventListener(this.mouseMoveEvent, this.moveHandler, true);
|
|
830
|
-
//Additional Events
|
|
833
|
+
// Additional Events
|
|
831
834
|
this.root.addEventListener(this.contextMenuEvent, this.contextMenuHandler, false);
|
|
832
835
|
this.root.addEventListener(this.clickEvent, this.clickHandler, true);
|
|
833
836
|
this.root.addEventListener(this.defaultMouseMoveEvent, this.defaultMouseMoveHandler, true);
|
|
834
837
|
this.wrapper.addEventListener(this.scrollEvent, this.scrollHandler, false);
|
|
835
|
-
//Add event listeners for custom draggable selectors for floating container
|
|
838
|
+
// Add event listeners for custom draggable selectors for floating container
|
|
836
839
|
if (this.elementsToCapture.length) {
|
|
837
|
-
|
|
840
|
+
const that = this;
|
|
838
841
|
this.elementsToCapture.each(function () {
|
|
839
842
|
this.addEventListener(that.touchStartEvent, that.startHandler, false);
|
|
840
843
|
this.addEventListener(that.touchEndEvent, that.endHandler, false);
|
|
841
844
|
this.addEventListener(that.touchCancelEvent, that.endHandler, false);
|
|
842
845
|
this.addEventListener(that.mouseDownEvent, that.startHandler, false);
|
|
843
846
|
this.addEventListener(that.mouseUpEvent, that.endHandler, false);
|
|
844
|
-
|
|
845
847
|
});
|
|
846
848
|
} else {
|
|
847
849
|
this.elementsToCapture.addEventListener(this.touchStartEvent, this.startHandler, false);
|
|
@@ -884,14 +886,13 @@ sap.ui.define([
|
|
|
884
886
|
this.disable = function () {
|
|
885
887
|
this.log("disable");
|
|
886
888
|
if (this.elementsToCapture.length) {
|
|
887
|
-
|
|
889
|
+
const that = this;
|
|
888
890
|
this.elementsToCapture.each(function () {
|
|
889
891
|
this.removeEventListener(that.touchStartEvent, that.startHandler, false);
|
|
890
892
|
this.removeEventListener(that.touchEndEvent, that.endHandler, false);
|
|
891
893
|
this.removeEventListener(that.touchCancelEvent, that.endHandler, false);
|
|
892
894
|
this.removeEventListener(that.mouseDownEvent, that.startHandler, false);
|
|
893
895
|
this.removeEventListener(that.mouseUpEvent, that.endHandler, false);
|
|
894
|
-
|
|
895
896
|
});
|
|
896
897
|
} else {
|
|
897
898
|
this.elementsToCapture.removeEventListener(this.touchStartEvent, this.startHandler, false);
|
|
@@ -926,12 +927,12 @@ sap.ui.define([
|
|
|
926
927
|
|
|
927
928
|
/**
|
|
928
929
|
* @public
|
|
929
|
-
* @returns {
|
|
930
|
+
* @returns {object} the x and y coordinate.
|
|
930
931
|
*/
|
|
931
932
|
this.getMove = function () {
|
|
932
933
|
return { x: this.moveX, y: this.moveY };
|
|
933
934
|
};
|
|
934
|
-
}
|
|
935
|
+
}
|
|
935
936
|
|
|
936
937
|
return UIActions;
|
|
937
938
|
}, /* bExport= */ false);
|