@sap-ux/fiori-generator-shared 0.13.23 → 0.13.25
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/dist/system-utils.d.ts +1 -1
- package/dist/system-utils.js +2 -2
- package/package.json +3 -3
package/dist/system-utils.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare function getBackendSystemDisplayName(system: BackendSystem): stri
|
|
|
11
11
|
*
|
|
12
12
|
* @param systemName - system name
|
|
13
13
|
* @param displayUsername - display username
|
|
14
|
-
* @param systemType -
|
|
14
|
+
* @param systemType - Backend system type (as string) or undefined
|
|
15
15
|
* @returns system display name
|
|
16
16
|
*/
|
|
17
17
|
export declare function getSystemDisplayName(systemName: string, displayUsername?: string, systemType?: string): string;
|
package/dist/system-utils.js
CHANGED
|
@@ -18,7 +18,7 @@ function getBackendSystemDisplayName(system) {
|
|
|
18
18
|
*
|
|
19
19
|
* @param systemName - system name
|
|
20
20
|
* @param displayUsername - display username
|
|
21
|
-
* @param systemType -
|
|
21
|
+
* @param systemType - Backend system type (as string) or undefined
|
|
22
22
|
* @returns system display name
|
|
23
23
|
*/
|
|
24
24
|
function getSystemDisplayName(systemName, displayUsername, systemType) {
|
|
@@ -35,7 +35,7 @@ function getSystemTypeLabel(systemType) {
|
|
|
35
35
|
let systemTypeName = ''; // for on prem we do not show the system type
|
|
36
36
|
const abapCloudLabel = ` (${(0, i18n_1.t)('texts.systemTypeLabel.abapCloud')})`;
|
|
37
37
|
// Legacy store system types will now display as ABAP Cloud
|
|
38
|
-
if (systemType === '
|
|
38
|
+
if (systemType === 'AbapCloud' || systemType === 'S4HC' || systemType === 'BTP') {
|
|
39
39
|
systemTypeName = abapCloudLabel;
|
|
40
40
|
}
|
|
41
41
|
return systemTypeName;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-generator-shared",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support the fiori generator.",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.25",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"semver": "7.5.4",
|
|
27
27
|
"@sap-ux/btp-utils": "1.1.4",
|
|
28
28
|
"@sap-ux/project-access": "1.32.4",
|
|
29
|
-
"@sap-ux/telemetry": "0.6.
|
|
29
|
+
"@sap-ux/telemetry": "0.6.30"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/mem-fs-editor": "7.0.1",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/yeoman-environment": "2.10.11",
|
|
37
37
|
"@sap-ux/axios-extension": "1.23.0",
|
|
38
38
|
"@sap-ux/logger": "0.7.0",
|
|
39
|
-
"@sap-ux/store": "1.2.
|
|
39
|
+
"@sap-ux/store": "1.2.1"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.x"
|