@vue/language-service 2.0.12 → 2.0.14
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/data/language-blocks/cs.json +1034 -0
- package/data/language-blocks/en.json +204 -0
- package/data/language-blocks/fr.json +204 -0
- package/data/language-blocks/it.json +204 -0
- package/data/language-blocks/ja.json +204 -0
- package/data/language-blocks/ko.json +205 -1
- package/data/language-blocks/pt.json +205 -1
- package/data/language-blocks/ru.json +1034 -0
- package/data/language-blocks/zh-cn.json +204 -0
- package/data/model-modifiers/cs.json +176 -0
- package/data/model-modifiers/en.json +36 -0
- package/data/model-modifiers/fr.json +36 -0
- package/data/model-modifiers/it.json +36 -0
- package/data/model-modifiers/ja.json +36 -0
- package/data/model-modifiers/ko.json +36 -0
- package/data/model-modifiers/pt.json +36 -0
- package/data/model-modifiers/ru.json +176 -0
- package/data/model-modifiers/zh-cn.json +36 -0
- package/data/template/cs.json +1498 -0
- package/data/template/en.json +313 -1
- package/data/template/fr.json +315 -3
- package/data/template/it.json +312 -0
- package/data/template/ja.json +313 -1
- package/data/template/ko.json +316 -4
- package/data/template/pt.json +312 -0
- package/data/template/ru.json +1498 -0
- package/data/template/zh-cn.json +312 -0
- package/lib/ideFeatures/nameCasing.js +4 -4
- package/lib/plugins/data.js +18 -0
- package/lib/plugins/vue-codelens-references.js +1 -1
- package/lib/plugins/vue-document-drop.js +1 -1
- package/lib/plugins/vue-extract-file.js +2 -2
- package/lib/plugins/vue-sfc.d.ts +1 -1
- package/lib/plugins/vue-sfc.js +2 -2
- package/lib/plugins/vue-template.js +5 -5
- package/lib/plugins/vue-toggle-v-bind-codeaction.js +1 -1
- package/lib/plugins/vue-twoslash-queries.js +1 -1
- package/package.json +8 -8
- package/scripts/update-html-data.js +18 -0
|
@@ -13,7 +13,7 @@ function create(ts, getTsPluginClient) {
|
|
|
13
13
|
const decoded = context.decodeEmbeddedDocumentUri(document.uri);
|
|
14
14
|
const sourceScript = decoded && context.language.scripts.get(decoded[0]);
|
|
15
15
|
const virtualCode = decoded && sourceScript?.generated?.embeddedCodes.get(decoded[1]);
|
|
16
|
-
if (!(sourceScript?.generated?.root instanceof vue.
|
|
16
|
+
if (!(sourceScript?.generated?.root instanceof vue.VueVirtualCode) || virtualCode?.id !== 'template') {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
const hoverOffsets = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/language-service",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"data",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"update-html-data": "node ./scripts/update-html-data.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@volar/language-core": "2.2.0-alpha.
|
|
20
|
-
"@volar/language-service": "2.2.0-alpha.
|
|
21
|
-
"@volar/typescript": "2.2.0-alpha.
|
|
19
|
+
"@volar/language-core": "2.2.0-alpha.10",
|
|
20
|
+
"@volar/language-service": "2.2.0-alpha.10",
|
|
21
|
+
"@volar/typescript": "2.2.0-alpha.10",
|
|
22
22
|
"@vue/compiler-dom": "^3.4.0",
|
|
23
|
-
"@vue/language-core": "2.0.
|
|
23
|
+
"@vue/language-core": "2.0.14",
|
|
24
24
|
"@vue/shared": "^3.4.0",
|
|
25
|
-
"@vue/typescript-plugin": "2.0.
|
|
25
|
+
"@vue/typescript-plugin": "2.0.14",
|
|
26
26
|
"computeds": "^0.0.1",
|
|
27
27
|
"path-browserify": "^1.0.1",
|
|
28
28
|
"volar-service-css": "0.0.38",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "latest",
|
|
42
42
|
"@types/path-browserify": "latest",
|
|
43
|
-
"@volar/kit": "2.2.0-alpha.
|
|
43
|
+
"@volar/kit": "2.2.0-alpha.10",
|
|
44
44
|
"vscode-languageserver-protocol": "^3.17.5"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ce1412067f88b7f9af03a2d3e04c220b4921c363"
|
|
47
47
|
}
|
|
@@ -56,6 +56,24 @@ const langs = [
|
|
|
56
56
|
repoUrl: 'https://raw.githubusercontent.com/vuejs-translations/docs-it/',
|
|
57
57
|
supported: true,
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
name: 'cs',
|
|
61
|
+
url: 'https://cs.vuejs.org/',
|
|
62
|
+
repoUrl: 'https://raw.githubusercontent.com/vuejs-translations/docs-cs/',
|
|
63
|
+
supported: true,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'ru',
|
|
67
|
+
url: 'https://ru.vuejs.org/',
|
|
68
|
+
repoUrl: 'https://raw.githubusercontent.com/vuejs-translations/docs-ru/',
|
|
69
|
+
supported: true,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'fa',
|
|
73
|
+
url: 'https://fa.vuejs.org/',
|
|
74
|
+
repoUrl: 'https://raw.githubusercontent.com/vuejs-translations/docs-fa/',
|
|
75
|
+
supported: false,
|
|
76
|
+
},
|
|
59
77
|
];
|
|
60
78
|
|
|
61
79
|
for (const lang of langs) {
|