sap-ux-sap-systems-ext 0.0.2

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 ADDED
@@ -0,0 +1,204 @@
1
+ {
2
+ "name": "sap-ux-sap-systems-ext",
3
+ "version": "0.0.2",
4
+ "displayName": "SAP Systems Extension",
5
+ "description": "SAP Systems Visual Studio Code Extension",
6
+ "main": "./dist/extension.js",
7
+ "publisher": "SAP-OSS",
8
+ "icon": "resources/icon-extension-plug-systems.png",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/SAP/open-ux-tools.git",
12
+ "directory": "packages/sap-systems-ext"
13
+ },
14
+ "engines": {
15
+ "vscode": "^1.102.0",
16
+ "node": ">=20.x"
17
+ },
18
+ "files": [
19
+ "dist/**/*.{js,css}",
20
+ "resources",
21
+ "prebuilds",
22
+ "LICENSE"
23
+ ],
24
+ "activationEvents": [
25
+ "onView:sap.ux.tools.sapSystems",
26
+ "onCommand:sap.ux.tools.sapSystems.create",
27
+ "onCommand:sap.ux.tools.sapSystems.delete",
28
+ "onCommand:sap.ux.tools.sapSystems.import",
29
+ "onCommand:sap.ux.tools.sapSystems.refresh",
30
+ "onCommand:sap.ux.tools.sapSystems.show",
31
+ "onCommand:sap.ux.tools.sapSystems.launchAppGen"
32
+ ],
33
+ "dependencies": {},
34
+ "devDependencies": {
35
+ "@types/normalize-path": "3.0.0",
36
+ "@types/vscode": "1.102.0",
37
+ "@zowe/secrets-for-zowe-sdk": "8.1.2",
38
+ "cross-env": "7.0.3",
39
+ "fast-glob": "3.3.1",
40
+ "i18next": "25.3.0",
41
+ "jsonc-parser": "3.2.0",
42
+ "normalize-path": "3.0.0",
43
+ "npm-run-all2": "8.0.4",
44
+ "os-name": "4.0.1",
45
+ "vscode-uri": "3.0.7",
46
+ "@vscode/vsce": "3.6.0",
47
+ "@sap-ux/axios-extension": "1.24.1",
48
+ "@sap-ux/guided-answers-helper": "0.4.0",
49
+ "@sap-ux/ui-components": "1.26.13",
50
+ "@sap-ux/feature-toggle": "0.3.3",
51
+ "@sap-ux/logger": "0.7.0",
52
+ "@sap-ux/store": "1.3.2",
53
+ "@sap-ux/sap-systems-ext-types": "0.0.1",
54
+ "@sap-ux/sap-systems-ext-webapp": "0.0.2",
55
+ "@sap-ux/telemetry": "0.6.36"
56
+ },
57
+ "contributes": {
58
+ "viewsContainers": {
59
+ "activitybar": [
60
+ {
61
+ "id": "open-ux-tools-sap-systems",
62
+ "title": "SAP Systems",
63
+ "icon": "resources/icon-sidebar-plug-systems.svg"
64
+ }
65
+ ]
66
+ },
67
+ "views": {
68
+ "open-ux-tools-sap-systems": [
69
+ {
70
+ "id": "sap.ux.tools.sapSystems",
71
+ "name": "SAP Systems"
72
+ }
73
+ ]
74
+ },
75
+ "viewsWelcome": [
76
+ {
77
+ "view": "sap.ux.tools.sapSystems",
78
+ "contents": "No SAP systems found.",
79
+ "when": "sap.ux.tools.sapSystems.isTreeEmpty"
80
+ },
81
+ {
82
+ "view": "sap.ux.tools.sapSystems",
83
+ "contents": "Loading SAP systems...",
84
+ "when": "sap.ux.tools.sapSystems.treeLoading"
85
+ }
86
+ ],
87
+ "commands": [
88
+ {
89
+ "command": "sap.ux.tools.sapSystems.delete",
90
+ "title": "Delete SAP System",
91
+ "category": "SAP",
92
+ "icon": {
93
+ "light": "resources/light/icon-trash-light.svg",
94
+ "dark": "resources/dark/icon-trash-dark.svg"
95
+ }
96
+ },
97
+ {
98
+ "command": "sap.ux.tools.sapSystems.import",
99
+ "title": "Import SAP System",
100
+ "category": "SAP",
101
+ "icon": {
102
+ "light": "resources/light/icon-import-light.svg",
103
+ "dark": "resources/dark/icon-import-dark.svg"
104
+ }
105
+ },
106
+ {
107
+ "command": "sap.ux.tools.sapSystems.create",
108
+ "title": "Add SAP System",
109
+ "category": "SAP",
110
+ "icon": {
111
+ "light": "resources/light/icon-add-light.svg",
112
+ "dark": "resources/dark/icon-add-dark.svg"
113
+ }
114
+ },
115
+ {
116
+ "command": "sap.ux.tools.sapSystems.refresh",
117
+ "title": "Refresh SAP Systems",
118
+ "category": "SAP",
119
+ "icon": {
120
+ "light": "resources/light/icon-refresh-light.svg",
121
+ "dark": "resources/dark/icon-refresh-dark.svg"
122
+ }
123
+ },
124
+ {
125
+ "command": "sap.ux.tools.sapSystems.show",
126
+ "title": "Show SAP System Details",
127
+ "category": "SAP"
128
+ },
129
+ {
130
+ "command": "sap.ux.tools.sapSystems.launchAppGen",
131
+ "title": "Launch Application Generator",
132
+ "category": "SAP"
133
+ }
134
+ ],
135
+ "menus": {
136
+ "commandPalette": [
137
+ {
138
+ "command": "sap.ux.tools.sapSystems.delete",
139
+ "when": "false"
140
+ },
141
+ {
142
+ "command": "sap.ux.tools.sapSystems.refresh",
143
+ "when": "false"
144
+ },
145
+ {
146
+ "command": "sap.ux.tools.sapSystems.launchAppGen",
147
+ "when": "false"
148
+ }
149
+ ],
150
+ "view/title": [
151
+ {
152
+ "command": "sap.ux.tools.sapSystems.import",
153
+ "when": "view == sap.ux.tools.sapSystems",
154
+ "group": "navigation@0"
155
+ },
156
+ {
157
+ "command": "sap.ux.tools.sapSystems.create",
158
+ "when": "view == sap.ux.tools.sapSystems",
159
+ "group": "navigation@1"
160
+ },
161
+ {
162
+ "command": "sap.ux.tools.sapSystems.refresh",
163
+ "when": "view == sap.ux.tools.sapSystems",
164
+ "group": "navigation@2"
165
+ }
166
+ ],
167
+ "view/item/context": [
168
+ {
169
+ "command": "sap.ux.tools.sapSystems.delete",
170
+ "group": "inline"
171
+ },
172
+ {
173
+ "command": "sap.ux.tools.sapSystems.delete",
174
+ "when": "view == sap.ux.tools.sapSystems"
175
+ },
176
+ {
177
+ "command": "sap.ux.tools.sapSystems.launchAppGen",
178
+ "when": "view == sap.ux.tools.sapSystems && viewItem == sapSystem",
179
+ "group": "navigation"
180
+ },
181
+ {
182
+ "command": "sap.ux.tools.sapSystems.show",
183
+ "when": "view == sap.ux.tools.sapSystems && viewItem == sapSystem",
184
+ "group": "navigation"
185
+ }
186
+ ]
187
+ }
188
+ },
189
+ "scripts": {
190
+ "vscode:prepublish": "pnpm run build",
191
+ "build": "npm-run-all -l -s clean -p check-types bundle:dev",
192
+ "bundle:dev": "node esbuild.js --development",
193
+ "bundle:prod": "node esbuild.js --production",
194
+ "clean": "rimraf dist",
195
+ "clean:coverage": "rimraf coverage",
196
+ "watch": "npm-run-all -p watch:*",
197
+ "watch:esbuild": "node esbuild.js --watch",
198
+ "watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
199
+ "check-types": "tsc --noEmit",
200
+ "lint": "eslint . --ext .ts",
201
+ "test": "cross-env SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY=true jest --ci --forceExit --detectOpenHandles --colors --silent",
202
+ "ide-ext:package": "vsce package"
203
+ }
204
+ }
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 5H9V8H12V9H9V12H8V9H5V8H8V5Z" fill="#C5C5C5"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2 3C2 2.44771 2.44772 2 3 2H14C14.5523 2 15 2.44772 15 3V14C15 14.5523 14.5523 15 14 15H3C2.44772 15 2 14.5523 2 14V3ZM3 3H14V14H3V3Z" fill="#C5C5C5"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.59084 7.98794C7.82401 7.94558 8.001 7.74133 8.001 7.496V1.996H7.001V6.291L2.707 2L2 2.707L6.292 6.996H2.001V7.996H7.501L7.59084 7.98794Z" fill="#C5C5C5"/>
3
+ <path d="M2 14V10H3V14H14V3H10V2H14C14.5523 2 15 2.44772 15 3V14C15 14.5523 14.5523 15 14 15H3C2.44772 15 2 14.5523 2 14Z" fill="#C5C5C5"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 3V2H6C6.55228 2 7 2.44771 7 3V7H6V3.59971C4.21916 4.51007 3 6.36266 3 8.5C3 11.5376 5.46243 14 8.5 14C11.5376 14 14 11.5376 14 8.5C14 6.19678 12.5843 4.22422 10.5755 3.40509L11.0796 2.53199C13.3862 3.53033 15 5.8267 15 8.5C15 12.0899 12.0899 15 8.5 15C4.91015 15 2 12.0899 2 8.5C2 6.18423 3.21102 4.15132 5.03431 3H2Z" fill="#C5C5C5"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.58772 6.545H9.24057V7.82821H9.58772C10.0506 7.82821 10.419 7.67275 10.419 7.17905C10.419 6.68536 10.0506 6.545 9.58772 6.545Z" fill="#C5C5C5"/>
3
+ <path d="M5.35053 8.65331L5.85005 7.0616L5.85053 7.06209H5.86066L6.34957 8.65819C6.20251 8.7118 6.03905 8.74348 5.85535 8.74348C5.67165 8.74348 5.49904 8.71033 5.35053 8.65331Z" fill="#C5C5C5"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 4V12H8.08582L16 4H0ZM9.74976 8.92233H9.24108V10.4512H6.90839L6.67695 9.71965C6.43009 9.80152 6.15092 9.84733 5.85583 9.84733C5.56075 9.84733 5.26663 9.7986 5.01495 9.71282L4.77483 10.4512H3.34474L3.50241 10.0242C3.48361 10.0413 3.4648 10.0584 3.44503 10.0744C3.08823 10.3644 2.64224 10.5243 2.0892 10.534H2.00723C1.37271 10.5345 0.750723 10.3576 0.224687 10.0554L0.711186 9.07877C1.23819 9.3936 1.56847 9.46378 2.01543 9.45501C2.24687 9.45062 2.41369 9.40774 2.52314 9.29369C2.58872 9.224 2.6244 9.13823 2.62584 9.04563C2.63018 8.79172 2.27338 8.6728 1.83655 8.53634C1.48216 8.42473 1.08004 8.27365 0.766152 8.04069C0.393443 7.76387 0.216008 7.41785 0.224687 6.92903C0.230473 6.57374 0.360656 6.25355 0.601736 6.00061C0.947927 5.63899 1.50675 5.41919 2.17695 5.41919H2.18081C2.75554 5.42016 3.45661 5.5844 3.9648 5.84612L3.41659 6.80963C2.86114 6.53817 2.58149 6.51282 2.26471 6.49577C1.79364 6.46994 1.55497 6.64051 1.55207 6.82425C1.54822 7.04794 1.99711 7.25117 2.42237 7.38861C3.06509 7.59525 3.88187 7.87158 4.00627 8.6689L5.18033 5.5035H6.54436L7.92044 9.28833V5.5035H9.49518C11.0005 5.5035 11.7078 6.04642 11.7078 7.22827C11.7078 8.28973 10.9797 8.92233 9.74976 8.92233Z" fill="#C5C5C5"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10 3H12H13V4H12V13L11 14H4L3 13V4H2V3H5V2C5 1.73478 5.10531 1.48038 5.29285 1.29285C5.48038 1.10531 5.73478 1 6 1H9C9.26522 1 9.51962 1.10531 9.70715 1.29285C9.89469 1.48038 10 1.73478 10 2V3ZM9 2H6V3H9V2ZM4 13H11V4H4V13ZM6 5H5V12H6V5ZM7 5H8V12H7V5ZM9 5H10V12H9V5Z" fill="#C5C5C5"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9 1C9.41421 1 9.75 1.33579 9.75 1.75C9.75 2.16421 9.41421 2.5 9 2.5H5.75C3.95507 2.5 2.5 3.95507 2.5 5.75V18.25C2.5 20.0449 3.95507 21.5 5.75 21.5H18.25C20.0449 21.5 21.5 20.0449 21.5 18.25V6.96875C21.4831 4.50613 19.4822 2.51477 17.0156 2.51465C15.101 2.51471 13.4645 3.71476 12.8213 5.40625C12.6741 5.79343 12.2407 5.988 11.8535 5.84082C11.4667 5.69356 11.2721 5.26098 11.4189 4.87402C12.276 2.61943 14.4578 1.01471 17.0156 1.01465C20.321 1.01477 23.0009 3.69457 23.001 7H23V18.25C23 20.8734 20.8734 23 18.25 23H5.75C3.12665 23 1 20.8734 1 18.25V5.75C1 3.12665 3.12665 1 5.75 1H9Z" fill="black"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 7C12.5523 7 13 7.44772 13 8H13.3213C14.3402 8.00013 15.196 8.76664 15.3086 9.7793L15.7773 14H16C16.5523 14 17 14.4477 17 15C17 15.5523 16.5523 16 16 16H14.5V18.25C14.5 18.6642 14.1642 19 13.75 19C13.3358 19 13 18.6642 13 18.25V16H11V18.25C11 18.6642 10.6642 19 10.25 19C9.83579 19 9.5 18.6642 9.5 18.25V16H8C7.44772 16 7 15.5523 7 15C7 14.4477 7.44772 14 8 14H8.22266L8.69141 9.7793C8.80405 8.76664 9.65981 8.00013 10.6787 8H11C11 7.44772 11.4477 7 12 7ZM10.2344 12.4961C9.82024 12.4961 9.48451 12.832 9.48438 13.2461C9.48438 13.6603 9.82016 13.9961 10.2344 13.9961H13.7344C14.1486 13.9961 14.4844 13.6603 14.4844 13.2461C14.4842 12.832 14.1485 12.4961 13.7344 12.4961H10.2344Z" fill="black"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 5H9V8H12V9H9V12H8V9H5V8H8V5Z" fill="#424242"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M2 3C2 2.44771 2.44772 2 3 2H14C14.5523 2 15 2.44772 15 3V14C15 14.5523 14.5523 15 14 15H3C2.44772 15 2 14.5523 2 14V3ZM3 3H14V14H3V3Z" fill="#424242"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.59084 7.98794C7.82401 7.94558 8.001 7.74133 8.001 7.496V1.996H7.001V6.291L2.707 2L2 2.707L6.292 6.996H2.001V7.996H7.501L7.59084 7.98794Z" fill="#424242"/>
3
+ <path d="M2 14V10H3V14H14V3H10V2H14C14.5523 2 15 2.44772 15 3V14C15 14.5523 14.5523 15 14 15H3C2.44772 15 2 14.5523 2 14Z" fill="#424242"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 3V2H6C6.55228 2 7 2.44771 7 3V7H6V3.59971C4.21916 4.51007 3 6.36266 3 8.5C3 11.5376 5.46243 14 8.5 14C11.5376 14 14 11.5376 14 8.5C14 6.19678 12.5843 4.22422 10.5755 3.40509L11.0796 2.53199C13.3862 3.53033 15 5.8267 15 8.5C15 12.0899 12.0899 15 8.5 15C4.91015 15 2 12.0899 2 8.5C2 6.18423 3.21102 4.15132 5.03431 3H2Z" fill="#424242"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.58772 6.545H9.24057V7.82821H9.58772C10.0506 7.82821 10.419 7.67275 10.419 7.17905C10.419 6.68536 10.0506 6.545 9.58772 6.545Z" fill="#424242"/>
3
+ <path d="M5.35053 8.65331L5.85005 7.0616L5.85053 7.06209H5.86066L6.34957 8.65819C6.20251 8.7118 6.03905 8.74348 5.85535 8.74348C5.67165 8.74348 5.49904 8.71033 5.35053 8.65331Z" fill="#424242"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 4V12H8.08582L16 4H0ZM9.74976 8.92233H9.24108V10.4512H6.90839L6.67695 9.71965C6.43009 9.80152 6.15092 9.84733 5.85583 9.84733C5.56075 9.84733 5.26663 9.7986 5.01495 9.71282L4.77483 10.4512H3.34474L3.50241 10.0242C3.48361 10.0413 3.4648 10.0584 3.44503 10.0744C3.08823 10.3644 2.64224 10.5243 2.0892 10.534H2.00723C1.37271 10.5345 0.750723 10.3576 0.224687 10.0554L0.711186 9.07877C1.23819 9.3936 1.56847 9.46378 2.01543 9.45501C2.24687 9.45062 2.41369 9.40774 2.52314 9.29369C2.58872 9.224 2.6244 9.13823 2.62584 9.04563C2.63018 8.79172 2.27338 8.6728 1.83655 8.53634C1.48216 8.42473 1.08004 8.27365 0.766152 8.04069C0.393443 7.76387 0.216008 7.41785 0.224687 6.92903C0.230473 6.57374 0.360656 6.25355 0.601736 6.00061C0.947927 5.63899 1.50675 5.41919 2.17695 5.41919H2.18081C2.75554 5.42016 3.45661 5.5844 3.9648 5.84612L3.41659 6.80963C2.86114 6.53817 2.58149 6.51282 2.26471 6.49577C1.79364 6.46994 1.55497 6.64051 1.55207 6.82425C1.54822 7.04794 1.99711 7.25117 2.42237 7.38861C3.06509 7.59525 3.88187 7.87158 4.00627 8.6689L5.18033 5.5035H6.54436L7.92044 9.28833V5.5035H9.49518C11.0005 5.5035 11.7078 6.04642 11.7078 7.22827C11.7078 8.28973 10.9797 8.92233 9.74976 8.92233Z" fill="#424242"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10.0002 3H12.0002H13.0002V4H12.0002V13L11.0002 14H4.00024L3.00024 13V4H2.00024V3H5.00024V2C5.00024 1.73478 5.10555 1.48038 5.29309 1.29285C5.48063 1.10531 5.73503 1 6.00024 1H9.00024C9.26546 1 9.51986 1.10531 9.7074 1.29285C9.89493 1.48038 10.0002 1.73478 10.0002 2V3ZM9.00024 2H6.00024V3H9.00024V2ZM4.00024 13H11.0002V4H4.00024V13ZM6.00024 5H5.00024V12H6.00024V5ZM7.00024 5H8.00024V12H7.00024V5ZM9.00024 5H10.0002V12H9.00024V5Z" fill="#424242"/>
3
+ </svg>