@sapui5/sap.ushell 1.120.1 → 1.120.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main/js/sap/ushell/.library +1 -1
- package/src/main/js/sap/ushell/Container.js +7 -1
- package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
- package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
- package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
- package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
- package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
- package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
- package/src/main/js/sap/ushell/_ApplicationType/urlTemplateResolution.js +12 -4
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
- package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
- package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
- package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +44 -26
- package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
- package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
- package/src/main/js/sap/ushell/components/_HeaderManager/AddHeadEndItemsStrategy.js +15 -24
- package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +4 -4
- package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +51 -53
- package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
- package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
- package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/Component.js +4 -5
- package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
- package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
- package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
- package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
- package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
- package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
- package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
- package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
- package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
- package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
- package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageHost.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
- package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
- package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -1
- package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
- package/src/main/js/sap/ushell/library.js +2 -1
- package/src/main/js/sap/ushell/navigationMode.js +1 -1
- package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
- package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
- package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
- package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
- package/src/main/js/sap/ushell/renderer/Shell.controller.js +12 -14
- package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
- package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
- package/src/main/js/sap/ushell/services/AppState.js +1 -1
- package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
- package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
- package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
- package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
- package/src/main/js/sap/ushell/services/Configuration.js +1 -1
- package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
- package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
- package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/FloatingContainer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Footer.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Header.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/SidePane.js +1 -1
- package/src/main/js/sap/ushell/services/Extension/ToolArea.js +1 -1
- package/src/main/js/sap/ushell/services/Extension.js +2 -2
- package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
- package/src/main/js/sap/ushell/services/Menu.js +1 -1
- package/src/main/js/sap/ushell/services/Message.js +2 -1
- package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
- package/src/main/js/sap/ushell/services/NavTargetResolution.js +1 -0
- 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/NotificationsV2.js +3 -3
- package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
- package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
- package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
- package/src/main/js/sap/ushell/services/Pages.js +1 -1
- package/src/main/js/sap/ushell/services/Personalization.js +1 -1
- package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
- package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
- package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
- 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 +26 -5
- package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -0
- package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
- package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
- package/src/main/js/sap/ushell/services/UITracer.js +1 -1
- package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
- package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
- package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
- package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +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/_ClientSideTargetResolution/Formatter.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
- package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
- package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
- package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +1 -1
- package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
- package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstance.js +65 -0
- package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
- package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
- package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
- package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +1 -0
- package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +1 -5
- package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +2 -6
- package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +7 -6
- package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +1 -0
- package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +1 -0
- package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
- package/src/main/js/sap/ushell/ui/launchpad/Section.js +29 -3
- package/src/main/js/sap/ushell/ui/launchpad/TileState.js +1 -0
- package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +70 -35
- package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
- package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +11 -2
- package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
- package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +1 -11
- package/src/main/js/sap/ushell/ui/tile/ImageTile.js +3 -12
- package/src/main/js/sap/ushell/ui/tile/StaticTile.js +2 -1
- package/src/main/js/sap/ushell/ui/tile/TileBase.js +12 -22
- package/src/main/js/sap/ushell/ui/utils.js +1 -1
- package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
- package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
- package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
- package/src/main/js/sap/ushell/utils.js +11 -5
- package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
|
@@ -97,13 +97,22 @@ sap.ui.define([
|
|
|
97
97
|
var sText = oControl.getText();
|
|
98
98
|
var oModel = oControl.getModel();
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
// This invisible title element is purley for accessibility reasons.
|
|
101
|
+
// It is placed outside of the main control elements,
|
|
102
|
+
// so that automated tests do not read the title string twice.
|
|
103
|
+
oRm.openStart("h1");
|
|
104
|
+
oRm.class("sapUiPseudoInvisibleText");
|
|
105
|
+
oRm.attr("aria-level", "1");
|
|
106
|
+
oRm.openEnd(); // h1 - tag
|
|
107
|
+
oRm.text(sText || "");
|
|
108
|
+
oRm.close("h1");
|
|
109
|
+
|
|
110
|
+
oRm.openStart("div", oControl);
|
|
101
111
|
oRm.class("sapUshellHeadTitle");
|
|
102
112
|
if (bShellAppTitleIsVisible || Device.system.phone) {
|
|
103
113
|
oRm.class("sapUshellAppTitleClickable");
|
|
104
114
|
}
|
|
105
|
-
oRm.
|
|
106
|
-
oRm.openEnd(); // span - tag
|
|
115
|
+
oRm.openEnd(); // div - tag
|
|
107
116
|
|
|
108
117
|
oRm.openStart("div", oControl.getId() + "-button");
|
|
109
118
|
oRm.class("sapUshellAppTitle");
|
|
@@ -124,12 +133,12 @@ sap.ui.define([
|
|
|
124
133
|
oRm.attr("aria-label", ushellResources.i18n.getText("ShellNavigationMenu_AriaLabel", [sText]));
|
|
125
134
|
}
|
|
126
135
|
}
|
|
127
|
-
oRm.openEnd(); //
|
|
136
|
+
oRm.openEnd(); // div - tag
|
|
128
137
|
|
|
129
138
|
if (Device.media.getCurrentRange(Device.media.RANGESETS.SAP_STANDARD).name !== "Phone") { // do not render title text on phones
|
|
130
139
|
oRm.openStart("span");
|
|
131
140
|
oRm.class("sapUshellAppTitleText");
|
|
132
|
-
oRm.openEnd();
|
|
141
|
+
oRm.openEnd(); // span - tag
|
|
133
142
|
oRm.text(sText || "");
|
|
134
143
|
oRm.close("span");
|
|
135
144
|
}
|
|
@@ -143,7 +152,7 @@ sap.ui.define([
|
|
|
143
152
|
}
|
|
144
153
|
oRm.close("div");
|
|
145
154
|
|
|
146
|
-
oRm.close("
|
|
155
|
+
oRm.close("div");
|
|
147
156
|
}
|
|
148
157
|
}
|
|
149
158
|
});
|
|
@@ -219,7 +228,7 @@ sap.ui.define([
|
|
|
219
228
|
this.oAllMyAppsPopover = this._createAllMyAppsPopover();
|
|
220
229
|
}
|
|
221
230
|
|
|
222
|
-
// might not be
|
|
231
|
+
// might not be available, as AllMyApps might not be loaded yet
|
|
223
232
|
if (this.oAllMyAppsPopover) {
|
|
224
233
|
if (this.oAllMyAppsPopover.isOpen()) {
|
|
225
234
|
this.oAllMyAppsPopover.close();
|
|
@@ -345,16 +354,27 @@ sap.ui.define([
|
|
|
345
354
|
oBackButton.focus();
|
|
346
355
|
});
|
|
347
356
|
|
|
348
|
-
oAllMyAppsPopover.attachAfterClose(
|
|
349
|
-
this._bPressedSpace = false;
|
|
350
|
-
if (!Device.system.phone && !(this.oNavMenuPopover && this.oNavMenuPopover.isOpen())) {
|
|
351
|
-
this.focus();
|
|
352
|
-
}
|
|
353
|
-
}.bind(this));
|
|
357
|
+
oAllMyAppsPopover.attachAfterClose(this._afterCloseAllMyAppsPopover.bind(this));
|
|
354
358
|
|
|
355
359
|
return oAllMyAppsPopover;
|
|
356
360
|
};
|
|
357
361
|
|
|
362
|
+
/*
|
|
363
|
+
* Called after closing the All My Apps popover
|
|
364
|
+
*/
|
|
365
|
+
ShellAppTitle.prototype._afterCloseAllMyAppsPopover = function () {
|
|
366
|
+
this._bPressedSpace = false;
|
|
367
|
+
|
|
368
|
+
if (this._bOpenNavigationMenu === true) {
|
|
369
|
+
// make sure the navigation menu is opened after the all my apps menu
|
|
370
|
+
// is finally closed so that they don't interfere with each other
|
|
371
|
+
this._bOpenNavigationMenu = false;
|
|
372
|
+
this.oNavMenuPopover.openBy(this);
|
|
373
|
+
} else if (!Device.system.phone) {
|
|
374
|
+
this.focus();
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
|
|
358
378
|
/*
|
|
359
379
|
* Create and return the popover object that will contain the ShellNavMenu UI
|
|
360
380
|
*/
|
|
@@ -425,16 +445,27 @@ sap.ui.define([
|
|
|
425
445
|
oNavMenu._afterOpen();
|
|
426
446
|
});
|
|
427
447
|
|
|
428
|
-
oNavMenuPopover.attachAfterClose(
|
|
429
|
-
this._bPressedSpace = false;
|
|
430
|
-
if (!Device.system.phone && !(this.oAllMyAppsPopover && this.oAllMyAppsPopover.isOpen())) {
|
|
431
|
-
this.focus();
|
|
432
|
-
}
|
|
433
|
-
}.bind(this));
|
|
448
|
+
oNavMenuPopover.attachAfterClose(this._afterCloseNavigationMenuPopover.bind(this));
|
|
434
449
|
|
|
435
450
|
return oNavMenuPopover;
|
|
436
451
|
};
|
|
437
452
|
|
|
453
|
+
/*
|
|
454
|
+
* Called after closing the Navigation Menu Popover
|
|
455
|
+
*/
|
|
456
|
+
ShellAppTitle.prototype._afterCloseNavigationMenuPopover = function () {
|
|
457
|
+
this._bPressedSpace = false;
|
|
458
|
+
|
|
459
|
+
if (this._bOpenAllMyApps) {
|
|
460
|
+
// make sure the all my apps menu is opened after the navigation menu
|
|
461
|
+
// is finally closed so that they don't interfere with each other
|
|
462
|
+
this._bOpenAllMyApps = false;
|
|
463
|
+
this._openCloseAllMyAppsPopover();
|
|
464
|
+
} else if (!Device.system.phone) {
|
|
465
|
+
this.focus();
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
|
|
438
469
|
ShellAppTitle.prototype._setAllMyAppsTitle = function (text) {
|
|
439
470
|
var oCurrentState = Config.last("/core/shellHeader");
|
|
440
471
|
if (oCurrentState.title && (oCurrentState.ShellAppTitleState === "AllMyAppsOnly" || oCurrentState.ShellAppTitleState === "AllMyApps")) {
|
|
@@ -502,7 +533,7 @@ sap.ui.define([
|
|
|
502
533
|
|
|
503
534
|
//Open Nav Menu popover and close allMyAppsPopover
|
|
504
535
|
this.oAllMyAppsPopover.close();
|
|
505
|
-
this.
|
|
536
|
+
this._bOpenNavigationMenu = true;
|
|
506
537
|
}
|
|
507
538
|
} else if (oAllMyAppsState === AllMyAppsState.SecondLevel) {
|
|
508
539
|
oAllMyAppsController.switchToInitialState();
|
|
@@ -543,23 +574,9 @@ sap.ui.define([
|
|
|
543
574
|
* Create and return the popover footer, containing a button for switching from ShellNavMenu to AllMyApps
|
|
544
575
|
*/
|
|
545
576
|
ShellAppTitle.prototype._getPopoverFooterContent = function () {
|
|
546
|
-
var that = this;
|
|
547
577
|
var oAllMyAppsButton = new Button("allMyAppsButton", {
|
|
548
578
|
text: ushellResources.i18n.getText("allMyApps_launchingButtonTitle"),
|
|
549
|
-
press:
|
|
550
|
-
that._openCloseAllMyAppsPopover();
|
|
551
|
-
|
|
552
|
-
// might not be available, as AllMyApps might not be loaded yet
|
|
553
|
-
if (that.oAllMyAppsPopover) {
|
|
554
|
-
Measurement.start(
|
|
555
|
-
"FLP:ShellNavMenu.footerClick",
|
|
556
|
-
"Click the footer of ShellNavMenu, Launching AllMyApps",
|
|
557
|
-
"FLP"
|
|
558
|
-
);
|
|
559
|
-
that.getModel().setProperty("/ShellAppTitleState", AppTitleState.AllMyApps);
|
|
560
|
-
that.oNavMenuPopover.close();
|
|
561
|
-
}
|
|
562
|
-
},
|
|
579
|
+
press: this._allMyAppsButtonPressHandler.bind(this),
|
|
563
580
|
visible: {
|
|
564
581
|
path: "/ShellAppTitleState",
|
|
565
582
|
formatter: function (oCurrentState) {
|
|
@@ -576,6 +593,24 @@ sap.ui.define([
|
|
|
576
593
|
return oPopoverFooterContent;
|
|
577
594
|
};
|
|
578
595
|
|
|
596
|
+
/*
|
|
597
|
+
* Opens the All My Apps popover
|
|
598
|
+
*/
|
|
599
|
+
ShellAppTitle.prototype._allMyAppsButtonPressHandler = function () {
|
|
600
|
+
// might not be available, as AllMyApps might not be loaded yet
|
|
601
|
+
if (Core.byId(this.getAllMyApps())) {
|
|
602
|
+
Measurement.start(
|
|
603
|
+
"FLP:ShellNavMenu.footerClick",
|
|
604
|
+
"Click the footer of ShellNavMenu, Launching AllMyApps",
|
|
605
|
+
"FLP"
|
|
606
|
+
);
|
|
607
|
+
|
|
608
|
+
this.getModel().setProperty("/ShellAppTitleState", AppTitleState.AllMyApps);
|
|
609
|
+
this.oNavMenuPopover.close();
|
|
610
|
+
this._bOpenAllMyApps = true;
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
|
|
579
614
|
/*************************************** Create Popover UI - End ***************************************/
|
|
580
615
|
/*******************************************************************************************************/
|
|
581
616
|
|
|
@@ -24,13 +24,21 @@ sap.ui.define([
|
|
|
24
24
|
|
|
25
25
|
var mColor = {
|
|
26
26
|
orange: "sapUshellSysInfoBarOrange",
|
|
27
|
+
Orange: "sapUshellSysInfoBarOrange",
|
|
27
28
|
red: "sapUshellSysInfoBarRed",
|
|
29
|
+
Red: "sapUshellSysInfoBarRed",
|
|
28
30
|
pink: "sapUshellSysInfoBarPink",
|
|
31
|
+
Pink: "sapUshellSysInfoBarPink",
|
|
29
32
|
violet: "sapUshellSysInfoBarViolet",
|
|
33
|
+
Violet: "sapUshellSysInfoBarViolet",
|
|
30
34
|
blue: "sapUshellSysInfoBarBlue",
|
|
35
|
+
Blue: "sapUshellSysInfoBarBlue",
|
|
31
36
|
green: "sapUshellSysInfoBarGreen",
|
|
37
|
+
Green: "sapUshellSysInfoBarGreen",
|
|
32
38
|
grey: "sapUshellSysInfoBarGrey",
|
|
33
|
-
|
|
39
|
+
Grey: "sapUshellSysInfoBarGrey",
|
|
40
|
+
gray: "sapUshellSysInfoBarGrey",
|
|
41
|
+
Gray: "sapUshellSysInfoBarGrey"
|
|
34
42
|
};
|
|
35
43
|
|
|
36
44
|
|
|
@@ -45,7 +53,7 @@ sap.ui.define([
|
|
|
45
53
|
* @extends sap.ui.core.Control
|
|
46
54
|
*
|
|
47
55
|
* @author SAP SE
|
|
48
|
-
* @version 1.120.
|
|
56
|
+
* @version 1.120.3
|
|
49
57
|
*
|
|
50
58
|
* @private
|
|
51
59
|
* @alias sap.ushell.ui.shell.SysInfoBar
|
|
@@ -193,3 +201,4 @@ sap.ui.define([
|
|
|
193
201
|
|
|
194
202
|
return SysInfoBar;
|
|
195
203
|
});
|
|
204
|
+
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* An applauncher for apps that need to display dynamically updated information
|
|
29
29
|
* @extends sap.ushell.ui.tile.TileBase
|
|
30
30
|
*
|
|
31
|
-
* @
|
|
31
|
+
* @private
|
|
32
32
|
* @name sap.ushell.ui.tile.DynamicTile
|
|
33
33
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
34
34
|
*/
|
|
@@ -71,15 +71,5 @@ sap.ui.define([
|
|
|
71
71
|
renderer: DynamicTileRenderer
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
/**
|
|
75
|
-
* Applauncher displaying an application that provides a service that returns
|
|
76
|
-
* dynamic data.
|
|
77
|
-
*
|
|
78
|
-
* @name sap.ushell.ui.tile.DynamicTile
|
|
79
|
-
*
|
|
80
|
-
* @since 1.15.0
|
|
81
|
-
* @private
|
|
82
|
-
*/
|
|
83
|
-
|
|
84
74
|
return DynamicTile;
|
|
85
75
|
});
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* Add your documentation for the newui/tile/ImageTile
|
|
23
23
|
* @extends sap.ushell.ui.tile.TileBase
|
|
24
24
|
*
|
|
25
|
-
* @
|
|
25
|
+
* @private
|
|
26
26
|
* @name sap.ushell.ui.tile.ImageTile
|
|
27
27
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
28
28
|
*/
|
|
@@ -39,15 +39,6 @@ sap.ui.define([
|
|
|
39
39
|
renderer: ImageTileRenderer
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
* Applauncher displaying a tile with an added image
|
|
44
|
-
*
|
|
45
|
-
* @name sap.ushell.ui.tile.ImageTile
|
|
46
|
-
*
|
|
47
|
-
* @since 1.15.0
|
|
48
|
-
* @private
|
|
49
|
-
*/
|
|
42
|
+
return ImageTile;
|
|
50
43
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
});
|
|
44
|
+
});
|
|
@@ -25,8 +25,9 @@ sap.ui.define([
|
|
|
25
25
|
* An applauncher tile for simple, static apps, displaying title, subtitle, an icon and additional information
|
|
26
26
|
* @extends sap.ushell.ui.tile.TileBase
|
|
27
27
|
*
|
|
28
|
-
* @since
|
|
28
|
+
* @since 1.15.0
|
|
29
29
|
* @public
|
|
30
|
+
* @deprecated since 1.120
|
|
30
31
|
* @name sap.ushell.ui.tile.StaticTile
|
|
31
32
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
32
33
|
*/
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* Base class for tiles that already provides several visual elements like title, subtitle, icon and additional information
|
|
30
30
|
* @extends sap.ui.core.Control
|
|
31
31
|
*
|
|
32
|
-
* @
|
|
32
|
+
* @private
|
|
33
33
|
* @name sap.ushell.ui.tile.TileBase
|
|
34
34
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
35
35
|
*/
|
|
@@ -90,29 +90,19 @@ sap.ui.define([
|
|
|
90
90
|
renderer: TileBaseRenderer
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
*
|
|
97
|
-
* @name sap.ushell.ui.tile.TileBase
|
|
98
|
-
*
|
|
99
|
-
* @since 1.15.0
|
|
100
|
-
* @private
|
|
101
|
-
*/
|
|
93
|
+
TileBase.prototype.ontap = function (e) {
|
|
94
|
+
this.firePress({});
|
|
95
|
+
};
|
|
102
96
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
97
|
+
TileBase.prototype.onsapenter = function (e) {
|
|
98
|
+
this.firePress({});
|
|
99
|
+
};
|
|
106
100
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
TileBase.prototype.onsapspace = function (e) {
|
|
102
|
+
this.firePress({});
|
|
103
|
+
};
|
|
110
104
|
|
|
111
|
-
TileBase.prototype.onsapspace = function (e) {
|
|
112
|
-
this.firePress({});
|
|
113
|
-
};
|
|
114
105
|
|
|
106
|
+
return TileBase;
|
|
115
107
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
});
|
|
108
|
+
});
|
|
@@ -1678,19 +1678,25 @@ sap.ui.define([
|
|
|
1678
1678
|
* @since 1.119.0
|
|
1679
1679
|
*/
|
|
1680
1680
|
utils.getThemingParameters = async function (aNames) {
|
|
1681
|
-
const
|
|
1681
|
+
const vParameterMap = await new Promise((resolve, reject) => {
|
|
1682
1682
|
sap.ui.require(["sap/ui/core/theming/Parameters"], (ThemingParameters) => {
|
|
1683
|
-
const
|
|
1683
|
+
const vParameterMap = ThemingParameters.get({
|
|
1684
1684
|
name: aNames,
|
|
1685
1685
|
callback: resolve
|
|
1686
1686
|
});
|
|
1687
|
-
if (
|
|
1688
|
-
resolve(
|
|
1687
|
+
if (vParameterMap) {
|
|
1688
|
+
resolve(vParameterMap);
|
|
1689
1689
|
}
|
|
1690
1690
|
});
|
|
1691
1691
|
});
|
|
1692
1692
|
return aNames.map((sName) => {
|
|
1693
|
-
|
|
1693
|
+
// If you request only one parameter as array and the parameter is already loaded,
|
|
1694
|
+
// the return value is not a map, it is the value.
|
|
1695
|
+
if (typeof vParameterMap === "string") {
|
|
1696
|
+
return vParameterMap;
|
|
1697
|
+
} else {
|
|
1698
|
+
return vParameterMap[sName];
|
|
1699
|
+
}
|
|
1694
1700
|
});
|
|
1695
1701
|
};
|
|
1696
1702
|
|