@sapui5/sap.ushell_abap 1.142.0 → 1.142.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_abap/.library +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/AdapterContainer.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/AppStateAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/ClientSideTargetResolutionAdapter.js +15 -3
- package/src/main/js/sap/ushell_abap/adapters/abap/CommonDataModelAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/ConfigurationDefaultsAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/ContainerAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/FlpLaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/LaunchPageAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/MenuAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/NavTargetResolutionInternalAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/PageBuildingAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/PagePersistenceAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/PersonalizationV2Adapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/SearchAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/SupportTicketAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/Ui5ComponentLoaderAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/adapters/abap/UserInfoAdapter.js +1 -1
- package/src/main/js/sap/ushell_abap/adapters/hana/ContainerAdapter.js +2 -2
- package/src/main/js/sap/ushell_abap/bootstrap/evo/SAPCompanionConditionSetter.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/XhrLogonEventHandler.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def-dev.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def-loader.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap-def.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.bootstrap.utils.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.theme.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.configure.ushell.js +2 -2
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.constants.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.load.launchpad.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.pageset.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.request.startup.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.theme.handler.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhrlogon.LibLoader.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhrlogon.configure.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/abap.xhrlogon.handler.js +1 -1
- package/src/main/js/sap/ushell_abap/bootstrap/evo/boottask.js +4 -3
- package/src/main/js/sap/ushell_abap/components/TCodeNavigation/MessageCode.js +1 -1
- package/src/main/js/sap/ushell_abap/components/TCodeNavigation/TCodeNavigationError.js +1 -1
- package/src/main/js/sap/ushell_abap/components/TCodeNavigation.js +76 -26
- package/src/main/js/sap/ushell_abap/integration/fileshares/AppRuntimeFileShareSupport.js +1 -1
- package/src/main/js/sap/ushell_abap/integration/fileshares/NavTargetResolutionFileShareSupport.js +1 -1
- package/src/main/js/sap/ushell_abap/library.js +2 -2
- package/src/main/js/sap/ushell_abap/pbServices/ui2/AllCatalogs.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Bag.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Catalog.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Chip.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipDefinition.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/ChipInstance.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Error.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Factory.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataService.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/ODataWrapper.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Page.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/PageBuildingService.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/PageSet.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/RemoteCatalogService.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/Utils.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/actions.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/bag.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configuration.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/configurationUi.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/fullscreen.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/preview.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/refresh.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/search.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/types.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/url.js +1 -1
- package/src/main/js/sap/ushell_abap/pbServices/ui2/contracts/visible.js +1 -1
- package/src/main/js/sap/ushell_abap/ui5appruntime/AppInfoAdapter.js +1 -1
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
<library xmlns="http://www.sap.com/sap.ui.library.xsd">
|
|
3
3
|
<name>sap.ushell_abap</name>
|
|
4
4
|
<vendor>SAP SE</vendor>
|
|
5
|
-
<version>1.142.
|
|
6
|
-
<copyright>Copyright (c) 2009-
|
|
5
|
+
<version>1.142.3</version>
|
|
6
|
+
<copyright>Copyright (c) 2009-2026 SAP SE, All Rights Reserved</copyright>
|
|
7
7
|
<documentation>SAP library: sap.ushell_abap</documentation>
|
|
8
8
|
|
|
9
9
|
<dependencies>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's AppStateAdapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/ObjectPath",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview ClientSideTargetResolutionAdapter for the abap platform.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* <li>provide the resolveHashFragmentFallback function, a fallback method called by ClientSideTargetResolution service.</li>
|
|
10
10
|
* </ul>
|
|
11
11
|
*
|
|
12
|
-
* @version 1.142.
|
|
12
|
+
* @version 1.142.3
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([
|
|
15
15
|
"sap/base/util/ObjectPath",
|
|
@@ -80,6 +80,9 @@ sap.ui.define([
|
|
|
80
80
|
* @property {string} catalogId The catalog ID of the source.
|
|
81
81
|
* @property {string} tmChipId The TM chip ID of the source.
|
|
82
82
|
* @property {string} tcode The transaction code of the LADI/Target Mapping.
|
|
83
|
+
* @property {string} isDefaultLadi Indicates whether the LADI/Target Mapping is default.
|
|
84
|
+
* @property {string} ladiHasTiles Indicates whether the LADI/Target Mapping has tiles.
|
|
85
|
+
* @property {string} defaultTileParams The default tile parameters of the LADI/Target Mapping.
|
|
83
86
|
*
|
|
84
87
|
* @since 1.135.0
|
|
85
88
|
* @private
|
|
@@ -562,9 +565,15 @@ sap.ui.define([
|
|
|
562
565
|
* applicationType: "SAPUI5",
|
|
563
566
|
* applicationDependencies: "...",
|
|
564
567
|
* url: "/sap/bc/ui5_ui5/ui2/test_path",
|
|
568
|
+
* systemAlias: "MILLEFIORI",
|
|
565
569
|
* createdOn: "2015-08-04",
|
|
566
570
|
* catalogId: "X-SAP-UI2-CATALOGPAGE:/UI2/CATALOG",
|
|
567
|
-
* tmChipId: "01O2TR99M0M42Q838RE8YGK0Z"
|
|
571
|
+
* tmChipId: "01O2TR99M0M42Q838RE8YGK0Z",
|
|
572
|
+
* tcode: "/ASU/MAINTAIN",
|
|
573
|
+
* uiadId: "FA163E8D39F61EE5AEA232C2169D0883",
|
|
574
|
+
* isDefaultLadi: true,
|
|
575
|
+
* ladiHasTiles: true,
|
|
576
|
+
* defaultTileParams: "sap-ui-tech-hint=GUI"
|
|
568
577
|
* },
|
|
569
578
|
* ...
|
|
570
579
|
* }
|
|
@@ -604,6 +613,9 @@ sap.ui.define([
|
|
|
604
613
|
oTarget.title = oSrc.text;
|
|
605
614
|
oTarget.permanentKey = `X-SAP-UI2-PAGE:${oSrc.catalogId}:${oSrc.tmChipId}`;
|
|
606
615
|
oTarget.contentProviderId = "";
|
|
616
|
+
oTarget.isDefaultLadi = oSrc.isDefaultLadi || false;
|
|
617
|
+
oTarget.ladiHasTiles = oSrc.ladiHasTiles || false;
|
|
618
|
+
oTarget.defaultTileParams = oSrc.defaultTileParams || "";
|
|
607
619
|
|
|
608
620
|
// resolution result
|
|
609
621
|
const oFakeResolutionResult = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The Unified Shell's CommonDataModelAdapter for the ABAP platform, it is used to avoid 404 when no adapter is found
|
|
4
4
|
*
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
], () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The ConfigurationDefaults adapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ushell_abap/bootstrap/evo/abap.constants",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The Unified Shell's container adapter for the ABAP platform.
|
|
4
4
|
*
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/ui/thirdparty/jquery",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview The Unified Shell's page building adapter for the ABAP platform. Private copy. Classical home page functions are deprecated.
|
|
5
5
|
* @since 1.121
|
|
6
|
-
* @version 1.142.
|
|
6
|
+
* @version 1.142.3
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/thirdparty/URI",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's page building adapter for the ABAP platform.
|
|
5
5
|
*
|
|
6
6
|
* @deprecated since 1.100
|
|
7
|
-
* @version 1.142.
|
|
7
|
+
* @version 1.142.3
|
|
8
8
|
*/
|
|
9
9
|
sap.ui.define([
|
|
10
10
|
"sap/ushell_abap/adapters/abap/FlpLaunchPageAdapter"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The NavTargetResolution adapter for the ABAP platform.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* service now calls the ClientSideTargetResolution service in the ABAP
|
|
9
9
|
* platform.
|
|
10
10
|
*
|
|
11
|
-
* @version 1.142.
|
|
11
|
+
* @version 1.142.3
|
|
12
12
|
*/
|
|
13
13
|
sap.ui.define([], () => {
|
|
14
14
|
"use strict";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The NavTargetResolutionInternal adapter for the ABAP platform.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* service now calls the ClientSideTargetResolution service in the ABAP
|
|
9
9
|
* platform.
|
|
10
10
|
*
|
|
11
|
-
* @version 1.142.
|
|
11
|
+
* @version 1.142.3
|
|
12
12
|
* @since 1.121
|
|
13
13
|
*/
|
|
14
14
|
sap.ui.define([], () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's page building adapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/ObjectPath",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview PagePersistenceAdapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/i18n/Localization",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The Unified Shell's personalization adapter for the ABAP
|
|
4
4
|
* platform.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Container header properties transported via pseudo-items are mapped to the
|
|
8
8
|
* respective header properties in setItem/getItem/delItem
|
|
9
9
|
*
|
|
10
|
-
* @version 1.142.
|
|
10
|
+
* @version 1.142.3
|
|
11
11
|
*/
|
|
12
12
|
sap.ui.define([
|
|
13
13
|
"sap/ushell_abap/adapters/abap/AdapterContainer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The Unified Shell's personalization adapter for the ABAP
|
|
4
4
|
* platform.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Container header properties transported via pseudo-items are mapped to the
|
|
8
8
|
* respective header properties in setItem/getItem/delItem
|
|
9
9
|
*
|
|
10
|
-
* @version 1.142.
|
|
10
|
+
* @version 1.142.3
|
|
11
11
|
*/
|
|
12
12
|
sap.ui.define([
|
|
13
13
|
"./PersonalizationAdapter"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Search adapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([], () => {
|
|
8
8
|
"use strict";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The SupportTicket adapter for the ABAP platform.
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"sap/base/util/isEmptyObject",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
/**
|
|
3
3
|
* @fileOverview The Unified Shell's Ui5ComponentLoaderAdapter for the ABAP platform
|
|
4
4
|
*
|
|
5
|
-
* @version 1.142.
|
|
5
|
+
* @version 1.142.3
|
|
6
6
|
*/
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
], () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview The Unified Shell's container adapter for the HANA platform.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.142.
|
|
6
|
+
* @version 1.142.3
|
|
7
7
|
*/
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"sap/ui/thirdparty/jquery",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileOverview
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* It furthermore calculates if FLP pages get activated and if needed sets up
|
|
15
15
|
* the configuration environment to run these.
|
|
16
16
|
*
|
|
17
|
-
* @version 1.142.
|
|
17
|
+
* @version 1.142.3
|
|
18
18
|
*/
|
|
19
19
|
sap.ui.define([
|
|
20
20
|
"./abap.constants",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ushell_abap/bootstrap/evo/abap.xhrlogon.LibLoader",
|
|
@@ -889,11 +889,12 @@ sap.ui.define([
|
|
|
889
889
|
const oLaunchPageAdapterConfig = ObjectPath.get("sap-ushell-config.services.LaunchPage.adapter.config") || ObjectPath.create("sap-ushell-config.services.LaunchPage.adapter.config");
|
|
890
890
|
const oClientSideTargetResolutionAdapterConfig = ObjectPath.get("sap-ushell-config.services.ClientSideTargetResolution.adapter.config") ||
|
|
891
891
|
ObjectPath.create("sap-ushell-config.services.ClientSideTargetResolution.adapter.config");
|
|
892
|
+
// NavigationDataProvider and ClientSideTargetResolution both create a ClientSideTargetResolutionAdapter instance. These should
|
|
893
|
+
// use the same config object (not copies) as the request promises are stored in the config and need to be accessible for all instances.
|
|
894
|
+
ObjectPath.set("sap-ushell-config.services.NavigationDataProvider.adapter.config", oClientSideTargetResolutionAdapterConfig);
|
|
892
895
|
if (ObjectPath.get("sap-ushell-config.ushell.spaces.enabled")) {
|
|
893
896
|
// VisualizationDataProvider and LaunchPageAdapter should have the same configuration
|
|
894
897
|
ObjectPath.set("sap-ushell-config.services.VisualizationDataProvider.adapter.config", oLaunchPageAdapterConfig);
|
|
895
|
-
// NavigationDataProvider and ClientSideTargetResolutionAdapter should have the same config
|
|
896
|
-
ObjectPath.set("sap-ushell-config.services.NavigationDataProvider.adapter.config", oClientSideTargetResolutionAdapterConfig);
|
|
897
898
|
}
|
|
898
899
|
processDirectStart(oStartupResult);
|
|
899
900
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ushell/Container",
|
|
@@ -7,7 +7,8 @@ sap.ui.define([
|
|
|
7
7
|
"sap/ushell/utils/WindowUtils",
|
|
8
8
|
"sap/ushell/api/performance/NavigationSource",
|
|
9
9
|
"sap/ushell_abap/components/TCodeNavigation/TCodeNavigationError",
|
|
10
|
-
"sap/ushell_abap/components/TCodeNavigation/MessageCode"
|
|
10
|
+
"sap/ushell_abap/components/TCodeNavigation/MessageCode",
|
|
11
|
+
"sap/ushell/utils/UrlParsing"
|
|
11
12
|
], (
|
|
12
13
|
Container,
|
|
13
14
|
Log,
|
|
@@ -15,7 +16,8 @@ sap.ui.define([
|
|
|
15
16
|
WindowUtils,
|
|
16
17
|
NavigationSource,
|
|
17
18
|
TCodeNavigationError,
|
|
18
|
-
MessageCode
|
|
19
|
+
MessageCode,
|
|
20
|
+
UrlParsing
|
|
19
21
|
) => {
|
|
20
22
|
"use strict";
|
|
21
23
|
|
|
@@ -112,7 +114,7 @@ sap.ui.define([
|
|
|
112
114
|
{ code: MessageCode.NO_INBOUND_FOUND }
|
|
113
115
|
);
|
|
114
116
|
} catch (oError) {
|
|
115
|
-
Log.error("Error during TCode navigation", oError);
|
|
117
|
+
Log.error("Error during TCode navigation", oError, "sap.ushell_abap.components.TCodeNavigation");
|
|
116
118
|
const oErrorResult = new TCodeNavigationError(
|
|
117
119
|
"Error during TCode navigation.",
|
|
118
120
|
{
|
|
@@ -126,6 +128,7 @@ sap.ui.define([
|
|
|
126
128
|
|
|
127
129
|
/**
|
|
128
130
|
* Performs navigation using the Navigation service based on the provided inbound.
|
|
131
|
+
* Combines default tile parameters with the app ID and handles explace navigation if specified.
|
|
129
132
|
* @param {object} oValidInbound The valid inbound object containing semanticObject and action.
|
|
130
133
|
* @param {boolean} bExplace Indicates whether to open the navigation in a new tab.
|
|
131
134
|
*
|
|
@@ -134,11 +137,11 @@ sap.ui.define([
|
|
|
134
137
|
*/
|
|
135
138
|
static async #navigateByInbound (oValidInbound, bExplace) {
|
|
136
139
|
const { semanticObject: sSemanticObject, action: sAction } = oValidInbound;
|
|
137
|
-
const oParams = {};
|
|
140
|
+
const oParams = UrlParsing.parseParameters(`?${oValidInbound?.defaultTileParams}`);
|
|
141
|
+
oParams["sap-ui-app-id-hint"] = oValidInbound.resolutionResult?.appId;
|
|
138
142
|
if (bExplace) {
|
|
139
143
|
oParams["sap-ushell-navmode"] = "explace";
|
|
140
144
|
}
|
|
141
|
-
|
|
142
145
|
// Log the navigation source for performance tracking
|
|
143
146
|
this.#oExtension.addNavigationSource(NavigationSource.SearchDirectLaunch);
|
|
144
147
|
|
|
@@ -152,49 +155,96 @@ sap.ui.define([
|
|
|
152
155
|
});
|
|
153
156
|
}
|
|
154
157
|
|
|
158
|
+
/**
|
|
159
|
+
* compare inbounds first by ladiid and then by uuid.
|
|
160
|
+
* in case of different ladiid, the one with smaller ladiid comes first.
|
|
161
|
+
* in case of same ladiid, the one with smaller uuid comes first.
|
|
162
|
+
* in case of same ladiid and same uuid, the order is not changed.
|
|
163
|
+
* @param {object} oInboundA The first inbound to compare.
|
|
164
|
+
* @param {object} oInboundB The second inbound to compare.
|
|
165
|
+
*
|
|
166
|
+
* @returns {int} Comparison result.
|
|
167
|
+
*
|
|
168
|
+
* @since 1.144.0
|
|
169
|
+
* @private
|
|
170
|
+
*/
|
|
171
|
+
static compareInboundsAccordingToUuidAndLadiid (oInboundA, oInboundB) {
|
|
172
|
+
if (oInboundA.ladiid === oInboundB.ladiid) {
|
|
173
|
+
if (oInboundA.uuid === oInboundB.uuid) {
|
|
174
|
+
return 0;
|
|
175
|
+
}
|
|
176
|
+
return oInboundA.uuid < oInboundB.uuid ? -1 : 1;
|
|
177
|
+
}
|
|
178
|
+
return oInboundA.ladiid < oInboundB.ladiid ? -1 : 1;
|
|
179
|
+
}
|
|
180
|
+
|
|
155
181
|
/**
|
|
156
182
|
* Finds the first inbound that matches the given transaction code and doesn't have mandatory parameters.
|
|
183
|
+
* Empty transaction codes lead to a null return value.
|
|
157
184
|
* @param {object} oNavigationData The navigation data containing inbounds.
|
|
158
185
|
* @param {string} sTCode The transaction code to match.
|
|
159
|
-
* @returns {object|null} The matched inbound or null if no match is found.
|
|
186
|
+
* @returns {object|null} The matched inbound or <code>null</code> if no match is found.
|
|
187
|
+
* @throws {sap.ushell_abap.components.TCodeNavigation.TCodeNavigationError} If no matching inbound is found or if a mandatory parameter is missing.
|
|
160
188
|
*
|
|
161
189
|
* @since 1.140.0
|
|
162
190
|
* @private
|
|
163
191
|
*/
|
|
164
192
|
static #getValidInbound (oNavigationData, sTCode) {
|
|
165
|
-
if (
|
|
166
|
-
Log.error("No navigation data found");
|
|
193
|
+
if (sTCode === "") {
|
|
167
194
|
return null;
|
|
168
195
|
}
|
|
196
|
+
if (!oNavigationData?.inbounds) {
|
|
197
|
+
Log.error("No navigation data found", null, "sap.ushell_abap.components.TCodeNavigation");
|
|
198
|
+
throw new TCodeNavigationError(
|
|
199
|
+
`No matching inbound found for transaction code: ${sTCode}`,
|
|
200
|
+
{ code: MessageCode.NO_INBOUND_FOUND }
|
|
201
|
+
);
|
|
202
|
+
}
|
|
169
203
|
|
|
170
|
-
//
|
|
171
|
-
|
|
204
|
+
// Finds the first "app" that matches the given transaction code and doesn't have mandatory parameters.
|
|
205
|
+
// "App" in this sense mean: combination of inbound and default tile (the default tile might bring values for defined mandatory parameters,
|
|
206
|
+
// therefore, both artefacts are combined and checked together).
|
|
207
|
+
const aTranscationCodeInbounds = oNavigationData.inbounds.filter((oInbound) =>
|
|
172
208
|
oInbound.resolutionResult?.appInfo?.["abap.transaction"] === sTCode
|
|
173
209
|
);
|
|
174
|
-
if (aMatchedInbounds.length === 0) {
|
|
175
|
-
return null;
|
|
176
|
-
}
|
|
177
210
|
|
|
178
|
-
//
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
211
|
+
// filter inbounds which are default for ladi and have tiles
|
|
212
|
+
const aLadiInbounds = aTranscationCodeInbounds.filter((oInbound) =>
|
|
213
|
+
oInbound.isDefaultLadi && oInbound.ladiHasTiles);
|
|
214
|
+
// currently, it is not possible to ensure that there is only one default ladi inbound for a transaction code,
|
|
215
|
+
// therefore, we sort them by ladiid and uuid and take the first one
|
|
216
|
+
const aSortedInbounds = aLadiInbounds.sort(this.compareInboundsAccordingToUuidAndLadiid);
|
|
217
|
+
|
|
218
|
+
if (aSortedInbounds.length === 0) {
|
|
219
|
+
throw new TCodeNavigationError(
|
|
220
|
+
`No matching inbound found for transaction code: ${sTCode}`,
|
|
221
|
+
{ code: MessageCode.NO_INBOUND_FOUND }
|
|
187
222
|
);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// filter inbound where all mandatory parameters have values of the default tile
|
|
226
|
+
|
|
227
|
+
const aValidInbounds = aSortedInbounds.filter((oInbound) => {
|
|
228
|
+
const oDefaultTileParams = UrlParsing.parseParameters(`?${oInbound?.defaultTileParams}`);
|
|
229
|
+
const oInboundParams = oInbound.signature?.parameters || {};
|
|
230
|
+
return Object.keys(oInboundParams).every((sKey) => {
|
|
231
|
+
if (oInboundParams[sKey].required) {
|
|
232
|
+
if (oDefaultTileParams[sKey]) {
|
|
233
|
+
return true;
|
|
234
|
+
}
|
|
235
|
+
return false;
|
|
236
|
+
}
|
|
237
|
+
return true;
|
|
238
|
+
});
|
|
188
239
|
});
|
|
189
240
|
|
|
190
|
-
if (
|
|
241
|
+
if (aValidInbounds.length === 0) {
|
|
191
242
|
throw new TCodeNavigationError(
|
|
192
243
|
`Mandatory parameter is missing for transaction ${sTCode}`,
|
|
193
244
|
{ code: MessageCode.MANDATORY_PARAMETER_MISSING }
|
|
194
245
|
);
|
|
195
246
|
}
|
|
196
|
-
|
|
197
|
-
return oValidInbound;
|
|
247
|
+
return aValidInbounds[0];
|
|
198
248
|
}
|
|
199
249
|
}
|
|
200
250
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2009-
|
|
1
|
+
// Copyright (c) 2009-2026 SAP SE, All Rights Reserved
|
|
2
2
|
|
|
3
3
|
sap.ui.define([
|
|
4
4
|
"sap/ui/core/Lib",
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
const ushellAbapLib = Library.init({
|
|
31
31
|
name: "sap.ushell_abap",
|
|
32
32
|
apiVersion: 2,
|
|
33
|
-
version: "1.142.
|
|
33
|
+
version: "1.142.3",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
35
35
|
noLibraryCSS: true,
|
|
36
36
|
extensions: {
|