@webgal/language-service 0.0.2-alpha.4 → 0.0.2-alpha.5
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/build/{client-handlers-DVUjG46C.cjs → client-handlers-B-uz20CX.cjs} +2 -1
- package/build/{client-handlers-CrU8stw6.mjs → client-handlers-niazfK9_.mjs} +2 -1
- package/build/{index-75hRTxvB.d.mts → index-BF2WhBpG.d.mts} +1 -1
- package/build/index.cjs +1 -1
- package/build/index.d.mts +2 -2
- package/build/index.mjs +1 -1
- package/build/monaco/index.cjs +1 -1
- package/build/monaco/index.d.mts +2 -2
- package/build/monaco/index.mjs +1 -1
- package/build/node.d.mts +1 -1
- package/build/providerState-DrFcJbqe.mjs +3127 -0
- package/build/providerState-Du_Ge3bW.cjs +3133 -0
- package/build/syntaxes.cjs +1 -1
- package/build/syntaxes.mjs +1 -1
- package/build/themes.cjs +1 -1
- package/build/themes.mjs +1 -1
- package/build/utils/index.cjs +4 -0
- package/build/utils/index.d.cts +15 -0
- package/build/utils/index.d.mts +15 -0
- package/build/utils/index.mjs +3 -0
- package/package.json +17 -10
- /package/build/{language-configuration-CXgHqltm.mjs → language-configuration-BpugOv-W.mjs} +0 -0
- /package/build/{language-configuration-Dogb_mCE.cjs → language-configuration-DsFXNyL0.cjs} +0 -0
- /package/build/{types-FltMUZDB.d.mts → types-CBH-p_Iu.d.mts} +0 -0
- /package/build/{white-DKaUkz8d.cjs → white-C5tT5Wl0.cjs} +0 -0
- /package/build/{white-DO2qVBHF.mjs → white-kL9BQca_.mjs} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-C0xms8kb.cjs');
|
|
2
|
+
const require_providerState = require('./providerState-Du_Ge3bW.cjs');
|
|
2
3
|
let _volar_language_service = require("@volar/language-service");
|
|
3
4
|
let vscode_uri = require("vscode-uri");
|
|
4
5
|
|
|
@@ -327,7 +328,7 @@ function createWebgalClientHandlers(options) {
|
|
|
327
328
|
"client/FJoin": (args) => options.vfs.join(...Array.isArray(args) ? args : [args]),
|
|
328
329
|
"client/FStat": (path) => options.vfs.stat(toVfsPath(path)),
|
|
329
330
|
"client/findFile": ([startPath, targetName]) => options.vfs.findFile(toVfsPath(startPath), targetName),
|
|
330
|
-
"client/goPropertyDoc": options.goPropertyDoc ?? (() =>
|
|
331
|
+
"client/goPropertyDoc": options.goPropertyDoc ?? ((path) => require_providerState.getState(path)),
|
|
331
332
|
"client/readDirectory": (uriString) => options.vfs.readDirectory(uriToPath(uriString)),
|
|
332
333
|
"client/getAllTextWithScene": () => options.vfs.getAllTextWithScene(),
|
|
333
334
|
"client/getResourceDirectory": (urls) => options.vfs.getResourceDirectory(urls),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as getState } from "./providerState-DrFcJbqe.mjs";
|
|
1
2
|
import { FileType } from "@volar/language-service";
|
|
2
3
|
import { URI } from "vscode-uri";
|
|
3
4
|
|
|
@@ -326,7 +327,7 @@ function createWebgalClientHandlers(options) {
|
|
|
326
327
|
"client/FJoin": (args) => options.vfs.join(...Array.isArray(args) ? args : [args]),
|
|
327
328
|
"client/FStat": (path) => options.vfs.stat(toVfsPath(path)),
|
|
328
329
|
"client/findFile": ([startPath, targetName]) => options.vfs.findFile(toVfsPath(startPath), targetName),
|
|
329
|
-
"client/goPropertyDoc": options.goPropertyDoc ?? (() =>
|
|
330
|
+
"client/goPropertyDoc": options.goPropertyDoc ?? ((path) => getState(path)),
|
|
330
331
|
"client/readDirectory": (uriString) => options.vfs.readDirectory(uriToPath(uriString)),
|
|
331
332
|
"client/getAllTextWithScene": () => options.vfs.getAllTextWithScene(),
|
|
332
333
|
"client/getResourceDirectory": (urls) => options.vfs.getResourceDirectory(urls),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VirtualFileSystem, d as VolarWritableFileSystem, o as VirtualEntry } from "./types-
|
|
1
|
+
import { c as VirtualFileSystem, d as VolarWritableFileSystem, o as VirtualEntry } from "./types-CBH-p_Iu.mjs";
|
|
2
2
|
import { FileSystem } from "@volar/language-service";
|
|
3
3
|
import { URI } from "vscode-uri";
|
|
4
4
|
|
package/build/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_client_handlers = require('./client-handlers-
|
|
2
|
+
const require_client_handlers = require('./client-handlers-B-uz20CX.cjs');
|
|
3
3
|
|
|
4
4
|
exports.createMemoryVolarFileSystem = require_client_handlers.createMemoryVolarFileSystem;
|
|
5
5
|
exports.createVirtualFileSystem = require_client_handlers.createVirtualFileSystem;
|
package/build/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as VirtualDirectoryEntry, c as VirtualFileSystem, d as VolarWritableFileSystem, f as WebgalClientHandlers, i as MaybePromise, l as VirtualFileSystemChange, n as DirectoryEntry, o as VirtualEntry, r as LanguageClientLike, s as VirtualFileEntry, t as CreateWebgalClientHandlersOptions, u as VirtualFileSystemChangeListener } from "./types-
|
|
2
|
-
import { a as uriToPath, c as createVolarFileSystem, i as toVfsPath, n as normalizePath, o as createMemoryVolarFileSystem, r as pathToUri, s as createVirtualFileSystem, t as joinPaths } from "./index-
|
|
1
|
+
import { a as VirtualDirectoryEntry, c as VirtualFileSystem, d as VolarWritableFileSystem, f as WebgalClientHandlers, i as MaybePromise, l as VirtualFileSystemChange, n as DirectoryEntry, o as VirtualEntry, r as LanguageClientLike, s as VirtualFileEntry, t as CreateWebgalClientHandlersOptions, u as VirtualFileSystemChangeListener } from "./types-CBH-p_Iu.mjs";
|
|
2
|
+
import { a as uriToPath, c as createVolarFileSystem, i as toVfsPath, n as normalizePath, o as createMemoryVolarFileSystem, r as pathToUri, s as createVirtualFileSystem, t as joinPaths } from "./index-BF2WhBpG.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/client-handlers.d.ts
|
|
5
5
|
declare function createWebgalClientHandlers(options: CreateWebgalClientHandlersOptions): WebgalClientHandlers;
|
package/build/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as createVolarFileSystem, c as pathToUri, i as createVirtualFileSystem, l as toVfsPath, n as registerWebgalClientHandlers, o as joinPaths, r as createMemoryVolarFileSystem, s as normalizePath, t as createWebgalClientHandlers, u as uriToPath } from "./client-handlers-
|
|
1
|
+
import { a as createVolarFileSystem, c as pathToUri, i as createVirtualFileSystem, l as toVfsPath, n as registerWebgalClientHandlers, o as joinPaths, r as createMemoryVolarFileSystem, s as normalizePath, t as createWebgalClientHandlers, u as uriToPath } from "./client-handlers-niazfK9_.mjs";
|
|
2
2
|
|
|
3
3
|
export { createMemoryVolarFileSystem, createVirtualFileSystem, createVolarFileSystem, createWebgalClientHandlers, joinPaths, normalizePath, pathToUri, registerWebgalClientHandlers, toVfsPath, uriToPath };
|
package/build/monaco/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('../chunk-C0xms8kb.cjs');
|
|
3
|
-
const require_client_handlers = require('../client-handlers-
|
|
3
|
+
const require_client_handlers = require('../client-handlers-B-uz20CX.cjs');
|
|
4
4
|
const require_syntaxes = require('../syntaxes.cjs');
|
|
5
5
|
const require_themes = require('../themes.cjs');
|
|
6
6
|
let vscode_ws_jsonrpc = require("vscode-ws-jsonrpc");
|
package/build/monaco/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as VirtualFileSystem, o as VirtualEntry } from "../types-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { c as VirtualFileSystem, o as VirtualEntry } from "../types-CBH-p_Iu.mjs";
|
|
2
|
+
import "../index-BF2WhBpG.mjs";
|
|
3
3
|
import "vscode/localExtensionHost";
|
|
4
4
|
|
|
5
5
|
//#region src/monaco/monaco.d.ts
|
package/build/monaco/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createVirtualFileSystem, n as registerWebgalClientHandlers, r as createMemoryVolarFileSystem, t as createWebgalClientHandlers } from "../client-handlers-
|
|
1
|
+
import { i as createVirtualFileSystem, n as registerWebgalClientHandlers, r as createMemoryVolarFileSystem, t as createWebgalClientHandlers } from "../client-handlers-niazfK9_.mjs";
|
|
2
2
|
import { webgalConfigGrammar, webgalGrammar, webgalLanguageConfiguration } from "../syntaxes.mjs";
|
|
3
3
|
import { webgalDarkTheme, webgalWhiteTheme } from "../themes.mjs";
|
|
4
4
|
import { WebSocketMessageReader, WebSocketMessageWriter, toSocket } from "vscode-ws-jsonrpc";
|
package/build/node.d.mts
CHANGED