@easy_vscode/webview 1.6.7 → 1.6.9
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/es/index.html +1 -0
- package/package.json +3 -3
- package/src/constants/index.ts +13 -13
package/es/index.html
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
<title>vscode-infra-webview</title>
|
|
19
19
|
<script type="text/javascript"> window.currentView = '$currentView$' </script>
|
|
20
20
|
<script type="text/javascript"> window.vscodeEnv = $vscodeEnv$ </script>
|
|
21
|
+
<script type="text/javascript"> window.commandArgs = $commandArgs$ </script>
|
|
21
22
|
</head>
|
|
22
23
|
<body>
|
|
23
24
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy_vscode/webview",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.9",
|
|
4
4
|
"description": "webview of Easy Vscode",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "zhangjian",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@ant-design/icons": "^4.7.16",
|
|
17
17
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
18
18
|
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
19
|
-
"@easy_vscode/i18n": "^1.2.
|
|
19
|
+
"@easy_vscode/i18n": "^1.2.7",
|
|
20
20
|
"antd": "^4.22.5",
|
|
21
21
|
"babel-loader": "^8.2.5",
|
|
22
22
|
"babel-plugin-import": "^1.13.5",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"access": "public",
|
|
50
50
|
"registry": "https://registry.npmjs.org/"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "9ce182a18b2adabc759fe9bf3d2aab3b348ba79f"
|
|
53
53
|
}
|
package/src/constants/index.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
2
2
|
|
|
3
|
-
export const DIST_WEBVIEW_PATH = 'distWebview'
|
|
4
|
-
export const DIST_WEBVIEW_INDEX_HTML = `${DIST_WEBVIEW_PATH}/index.html`
|
|
3
|
+
// export const DIST_WEBVIEW_PATH = 'distWebview'
|
|
4
|
+
// export const DIST_WEBVIEW_INDEX_HTML = `${DIST_WEBVIEW_PATH}/index.html`
|
|
5
5
|
|
|
6
|
-
export const WEBVIEW_NAMES = {
|
|
7
|
-
|
|
8
|
-
}
|
|
6
|
+
// export const WEBVIEW_NAMES = {
|
|
7
|
+
// PreviewImages: 'PreviewImages',
|
|
8
|
+
// }
|
|
9
9
|
|
|
10
|
-
export const NATIVE_CMD = {
|
|
11
|
-
|
|
12
|
-
}
|
|
10
|
+
// export const NATIVE_CMD = {
|
|
11
|
+
// WORKBENCH_ACTION_OPEN_SNIPPETS: 'workbench.action.openSnippets'
|
|
12
|
+
// }
|
|
13
13
|
|
|
14
|
-
export const MESSAGE_CMD = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
14
|
+
// export const MESSAGE_CMD = {
|
|
15
|
+
// EXECUTE_SPECIFIC_COMMAND: 'executeSpecificCommand',
|
|
16
|
+
// EXECUTE_CHILD_PROCESS: 'executeChildProcess',
|
|
17
|
+
// LOG_INFO: 'logInfo', // log for debug
|
|
18
|
+
// }
|