monacozen 0.0.1 → 0.2.0
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/README.md +219 -0
- package/assets/antimono-ClsI0fxy.js +5 -0
- package/assets/antimono-zBXMptjq.css +1 -0
- package/assets/bat-T2vjbQzY.js +125 -0
- package/assets/bicep-B6UDBWZN.js +220 -0
- package/assets/clojure-BvXzD8Uz.js +148 -0
- package/assets/coffee-D_yet6sT.js +262 -0
- package/assets/cpp-CsfEADPM.js +232 -0
- package/assets/csharp-jw3fFksF.js +262 -0
- package/assets/css-FsiUe-xI.js +286 -0
- package/assets/css.worker-BIsSvM_Q.js +96 -0
- package/assets/css.worker-BSHdDU9y.js +6 -0
- package/assets/cssMode-7U-ime2d.js +65 -0
- package/assets/cypher-B8DgU2PH.js +214 -0
- package/assets/dart-D1x60wEn.js +238 -0
- package/assets/dist-Bx9hOuoB.js +624 -0
- package/assets/dockerfile-DSHxsy4G.js +193 -0
- package/assets/editor.api-ZYFspLPt.js +85776 -0
- package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
- package/assets/editorWebWorkerMain-DXr8-Jst.js +6 -0
- package/assets/elixir-Cr7BtjRU.js +525 -0
- package/assets/fsharp-CeVKIr0d.js +149 -0
- package/assets/go-BL4_0srD.js +167 -0
- package/assets/graphql-mhWekwK0.js +176 -0
- package/assets/handlebars-rQdtgZoQ.js +412 -0
- package/assets/hcl-CfyDj6z_.js +221 -0
- package/assets/html-DIDrd2Z7.js +333 -0
- package/assets/html.worker-BrBx6eB3.js +6 -0
- package/assets/html.worker-CEvqvEpu.js +509 -0
- package/assets/htmlMode-i6u-9r7u.js +74 -0
- package/assets/ini-DhiXkl_g.js +96 -0
- package/assets/java-Ct9YHm5L.js +175 -0
- package/assets/javascript-By915NHa.js +20 -0
- package/assets/json.worker-B0PzJ5jL.js +6 -0
- package/assets/json.worker-CAiVr-gV.js +65 -0
- package/assets/jsonMode-DAP8CNa2.js +450 -0
- package/assets/julia-BAYXm_pL.js +416 -0
- package/assets/kotlin-JEujETri.js +184 -0
- package/assets/less-oHZXXDVD.js +244 -0
- package/assets/liquid-Cvs1eMgo.js +199 -0
- package/assets/lspLanguageFeatures-D6P77uh_.js +1455 -0
- package/assets/lua-B3ViXcD8.js +202 -0
- package/assets/main-16cPxgwS.js +107 -0
- package/assets/main-CB71Lf5W.js +129 -0
- package/assets/main-HEYSEiwe.js +66 -0
- package/assets/markdown-Ggb6Rgvc.js +264 -0
- package/assets/mdx-Ce7sXDA4.js +329 -0
- package/assets/mips-cYdfQChM.js +130 -0
- package/assets/monaco-d37b1a8f.css +3 -0
- package/assets/monaco-o5F6wkXp.js +40865 -0
- package/assets/mysql-nklBC2QL.js +170 -0
- package/assets/objective-c-x5BzCYEv.js +146 -0
- package/assets/pascal-DWL5ya_C.js +178 -0
- package/assets/perl-CbRoLks6.js +318 -0
- package/assets/pgsql-CVS-AsDB.js +160 -0
- package/assets/php-6gZIubF1.js +473 -0
- package/assets/powershell-DKgJI7BG.js +213 -0
- package/assets/protobuf-N0VyW3k9.js +661 -0
- package/assets/pug-BIMEUctf.js +302 -0
- package/assets/python-BKt2Winm.js +254 -0
- package/assets/r-Cb2uCcX6.js +191 -0
- package/assets/redis-D1CRAuQ1.js +125 -0
- package/assets/ruby-BzpgsYNr.js +529 -0
- package/assets/rust-CkIXqWDr.js +180 -0
- package/assets/scala-CnJ7htCu.js +553 -0
- package/assets/scss-xP2eAFyY.js +419 -0
- package/assets/shell-JSjWPSrk.js +225 -0
- package/assets/solidity-C8AFhoIi.js +149 -0
- package/assets/sql-DqW-LmZI.js +173 -0
- package/assets/swift-BcHKQY-M.js +215 -0
- package/assets/systemverilog-Dmu-Ht4V.js +300 -0
- package/assets/ts.worker-BAchZA3W.js +6 -0
- package/assets/ts.worker-DZhhT1EO.js +67741 -0
- package/assets/tsMode-C_Fsqh0j.js +566 -0
- package/assets/twig-Bj4rwioa.js +390 -0
- package/assets/typescript-Djsb1cC9.js +257 -0
- package/assets/typespec-xwJ6QpRP.js +236 -0
- package/assets/vb-CMxAjmFH.js +262 -0
- package/assets/wgsl-CTYGQRo2.js +147 -0
- package/assets/xml-D7cJD5hW.js +130 -0
- package/assets/yaml-B8A0QdVf.js +223 -0
- package/assets/yaml.worker-Crtsysk5.js +474 -0
- package/assets/yaml.worker-DZ36155v.js +6 -0
- package/lib.d.ts +8403 -0
- package/lib.js +2 -0
- package/package.json +1 -1
- package/src/main.js +29 -0
- package/index.d.ts +0 -6
- package/index.js +0 -1
- package/readme.md +0 -1
- /package/{license.txt → LICENSE} +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { m as e } from "./editor.api-ZYFspLPt.js";
|
|
2
|
+
import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, o as f, p, r as m, s as h, t as g, u as _, v } from "./lspLanguageFeatures-D6P77uh_.js";
|
|
3
|
+
import { r as y } from "./monaco-o5F6wkXp.js";
|
|
4
|
+
//#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/features/html/workerManager.js
|
|
5
|
+
var b = 12e4, x = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
this._defaults = e, this._worker = null, this._client = null, this._idleCheckInterval = window.setInterval(() => this._checkIfIdle(), 3e4), this._lastUsedTime = 0, this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker());
|
|
8
|
+
}
|
|
9
|
+
_stopWorker() {
|
|
10
|
+
this._worker &&= (this._worker.dispose(), null), this._client = null;
|
|
11
|
+
}
|
|
12
|
+
dispose() {
|
|
13
|
+
clearInterval(this._idleCheckInterval), this._configChangeListener.dispose(), this._stopWorker();
|
|
14
|
+
}
|
|
15
|
+
_checkIfIdle() {
|
|
16
|
+
this._worker && Date.now() - this._lastUsedTime > b && this._stopWorker();
|
|
17
|
+
}
|
|
18
|
+
_getClient() {
|
|
19
|
+
return this._lastUsedTime = Date.now(), this._client ||= (this._worker = y({
|
|
20
|
+
moduleId: "vs/language/html/htmlWorker",
|
|
21
|
+
createWorker: () => new Worker(new URL(
|
|
22
|
+
/* @vite-ignore */
|
|
23
|
+
new URL("html.worker-CEvqvEpu.js", import.meta.url).href,
|
|
24
|
+
"" + import.meta.url
|
|
25
|
+
), { type: "module" }),
|
|
26
|
+
createData: {
|
|
27
|
+
languageSettings: this._defaults.options,
|
|
28
|
+
languageId: this._defaults.languageId
|
|
29
|
+
},
|
|
30
|
+
label: this._defaults.languageId
|
|
31
|
+
}), this._worker.getProxy()), this._client;
|
|
32
|
+
}
|
|
33
|
+
getLanguageServiceWorker(...e) {
|
|
34
|
+
let t;
|
|
35
|
+
return this._getClient().then((e) => {
|
|
36
|
+
t = e;
|
|
37
|
+
}).then((t) => {
|
|
38
|
+
if (this._worker) return this._worker.withSyncedResources(e);
|
|
39
|
+
}).then((e) => t);
|
|
40
|
+
}
|
|
41
|
+
}, S = class extends g {
|
|
42
|
+
constructor(e) {
|
|
43
|
+
super(e, [
|
|
44
|
+
".",
|
|
45
|
+
":",
|
|
46
|
+
"<",
|
|
47
|
+
"\"",
|
|
48
|
+
"=",
|
|
49
|
+
"/"
|
|
50
|
+
]);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
function C(t) {
|
|
54
|
+
let a = new x(t), o = (...e) => a.getLanguageServiceWorker(...e), s = t.languageId;
|
|
55
|
+
e.registerCompletionItemProvider(s, new S(o)), e.registerHoverProvider(s, new i(o)), e.registerDocumentHighlightProvider(s, new f(o)), e.registerLinkProvider(s, new h(o)), e.registerFoldingRangeProvider(s, new _(o)), e.registerDocumentSymbolProvider(s, new l(o)), e.registerSelectionRangeProvider(s, new u(o)), e.registerRenameProvider(s, new p(o)), s === "html" && (e.registerDocumentFormattingEditProvider(s, new n(o)), e.registerDocumentRangeFormattingEditProvider(s, new r(o)));
|
|
56
|
+
}
|
|
57
|
+
function w(t) {
|
|
58
|
+
let a = [], o = [], s = new x(t);
|
|
59
|
+
a.push(s);
|
|
60
|
+
let c = (...e) => s.getLanguageServiceWorker(...e);
|
|
61
|
+
function d() {
|
|
62
|
+
let { languageId: a, modeConfiguration: s } = t;
|
|
63
|
+
E(o), s.completionItems && o.push(e.registerCompletionItemProvider(a, new S(c))), s.hovers && o.push(e.registerHoverProvider(a, new i(c))), s.documentHighlights && o.push(e.registerDocumentHighlightProvider(a, new f(c))), s.links && o.push(e.registerLinkProvider(a, new h(c))), s.documentSymbols && o.push(e.registerDocumentSymbolProvider(a, new l(c))), s.rename && o.push(e.registerRenameProvider(a, new p(c))), s.foldingRanges && o.push(e.registerFoldingRangeProvider(a, new _(c))), s.selectionRanges && o.push(e.registerSelectionRangeProvider(a, new u(c))), s.documentFormattingEdits && o.push(e.registerDocumentFormattingEditProvider(a, new n(c))), s.documentRangeFormattingEdits && o.push(e.registerDocumentRangeFormattingEditProvider(a, new r(c)));
|
|
64
|
+
}
|
|
65
|
+
return d(), a.push(T(o)), T(a);
|
|
66
|
+
}
|
|
67
|
+
function T(e) {
|
|
68
|
+
return { dispose: () => E(e) };
|
|
69
|
+
}
|
|
70
|
+
function E(e) {
|
|
71
|
+
for (; e.length;) e.pop().dispose();
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
export { g as CompletionAdapter, d as DefinitionAdapter, m as DiagnosticsAdapter, c as DocumentColorAdapter, n as DocumentFormattingEditProvider, f as DocumentHighlightAdapter, h as DocumentLinkAdapter, r as DocumentRangeFormattingEditProvider, l as DocumentSymbolAdapter, _ as FoldingRangeAdapter, i as HoverAdapter, a as ReferenceAdapter, p as RenameAdapter, u as SelectionRangeAdapter, x as WorkerManager, s as fromPosition, o as fromRange, w as setupMode, C as setupMode1, t as toRange, v as toTextEdit };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
//#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/ini/ini.js
|
|
2
|
+
var e = {
|
|
3
|
+
comments: { lineComment: "#" },
|
|
4
|
+
brackets: [
|
|
5
|
+
["{", "}"],
|
|
6
|
+
["[", "]"],
|
|
7
|
+
["(", ")"]
|
|
8
|
+
],
|
|
9
|
+
autoClosingPairs: [
|
|
10
|
+
{
|
|
11
|
+
open: "{",
|
|
12
|
+
close: "}"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
open: "[",
|
|
16
|
+
close: "]"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "(",
|
|
20
|
+
close: ")"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
open: "\"",
|
|
24
|
+
close: "\""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
open: "'",
|
|
28
|
+
close: "'"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
surroundingPairs: [
|
|
32
|
+
{
|
|
33
|
+
open: "{",
|
|
34
|
+
close: "}"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
open: "[",
|
|
38
|
+
close: "]"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
open: "(",
|
|
42
|
+
close: ")"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
open: "\"",
|
|
46
|
+
close: "\""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
open: "'",
|
|
50
|
+
close: "'"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}, t = {
|
|
54
|
+
defaultToken: "",
|
|
55
|
+
tokenPostfix: ".ini",
|
|
56
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
57
|
+
tokenizer: {
|
|
58
|
+
root: [
|
|
59
|
+
[/^\[[^\]]*\]/, "metatag"],
|
|
60
|
+
[/(^\w+)(\s*)(\=)/, [
|
|
61
|
+
"key",
|
|
62
|
+
"",
|
|
63
|
+
"delimiter"
|
|
64
|
+
]],
|
|
65
|
+
{ include: "@whitespace" },
|
|
66
|
+
[/\d+/, "number"],
|
|
67
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
68
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
69
|
+
[
|
|
70
|
+
/"/,
|
|
71
|
+
"string",
|
|
72
|
+
"@string.\""
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
/'/,
|
|
76
|
+
"string",
|
|
77
|
+
"@string.'"
|
|
78
|
+
]
|
|
79
|
+
],
|
|
80
|
+
whitespace: [[/[ \t\r\n]+/, ""], [/^\s*[#;].*$/, "comment"]],
|
|
81
|
+
string: [
|
|
82
|
+
[/[^\\"']+/, "string"],
|
|
83
|
+
[/@escapes/, "string.escape"],
|
|
84
|
+
[/\\./, "string.escape.invalid"],
|
|
85
|
+
[/["']/, { cases: {
|
|
86
|
+
"$#==$S2": {
|
|
87
|
+
token: "string",
|
|
88
|
+
next: "@pop"
|
|
89
|
+
},
|
|
90
|
+
"@default": "string"
|
|
91
|
+
} }]
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
//#endregion
|
|
96
|
+
export { e as conf, t as language };
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
//#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/java/java.js
|
|
2
|
+
var e = {
|
|
3
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
4
|
+
comments: {
|
|
5
|
+
lineComment: "//",
|
|
6
|
+
blockComment: ["/*", "*/"]
|
|
7
|
+
},
|
|
8
|
+
brackets: [
|
|
9
|
+
["{", "}"],
|
|
10
|
+
["[", "]"],
|
|
11
|
+
["(", ")"]
|
|
12
|
+
],
|
|
13
|
+
autoClosingPairs: [
|
|
14
|
+
{
|
|
15
|
+
open: "{",
|
|
16
|
+
close: "}"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
open: "[",
|
|
20
|
+
close: "]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
open: "(",
|
|
24
|
+
close: ")"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
open: "\"",
|
|
28
|
+
close: "\""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
open: "'",
|
|
32
|
+
close: "'"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
surroundingPairs: [
|
|
36
|
+
{
|
|
37
|
+
open: "{",
|
|
38
|
+
close: "}"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
open: "[",
|
|
42
|
+
close: "]"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
open: "(",
|
|
46
|
+
close: ")"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
open: "\"",
|
|
50
|
+
close: "\""
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
open: "'",
|
|
54
|
+
close: "'"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
open: "<",
|
|
58
|
+
close: ">"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
folding: { markers: {
|
|
62
|
+
start: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
63
|
+
end: /* @__PURE__ */ RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
64
|
+
} }
|
|
65
|
+
}, t = {
|
|
66
|
+
defaultToken: "",
|
|
67
|
+
tokenPostfix: ".java",
|
|
68
|
+
keywords: /* @__PURE__ */ "abstract.continue.for.new.switch.assert.default.goto.package.synchronized.boolean.do.if.private.this.break.double.implements.protected.throw.byte.else.import.public.throws.case.enum.instanceof.return.transient.catch.extends.int.short.try.char.final.interface.static.void.class.finally.long.strictfp.volatile.const.float.native.super.while.true.false.yield.record.sealed.non-sealed.permits".split("."),
|
|
69
|
+
operators: /* @__PURE__ */ "=.>.<.!.~.?.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=".split("."),
|
|
70
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
71
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
72
|
+
digits: /\d+(_+\d+)*/,
|
|
73
|
+
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
|
74
|
+
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
|
75
|
+
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
76
|
+
tokenizer: {
|
|
77
|
+
root: [
|
|
78
|
+
["non-sealed", "keyword.non-sealed"],
|
|
79
|
+
[/[a-zA-Z_$][\w$]*/, { cases: {
|
|
80
|
+
"@keywords": { token: "keyword.$0" },
|
|
81
|
+
"@default": "identifier"
|
|
82
|
+
} }],
|
|
83
|
+
{ include: "@whitespace" },
|
|
84
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
85
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
86
|
+
[/@symbols/, { cases: {
|
|
87
|
+
"@operators": "delimiter",
|
|
88
|
+
"@default": ""
|
|
89
|
+
} }],
|
|
90
|
+
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
|
91
|
+
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
92
|
+
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
93
|
+
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
|
94
|
+
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
|
95
|
+
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
|
96
|
+
[/(@digits)[fFdD]/, "number.float"],
|
|
97
|
+
[/(@digits)[lL]?/, "number"],
|
|
98
|
+
[/[;,.]/, "delimiter"],
|
|
99
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
100
|
+
[
|
|
101
|
+
/"""/,
|
|
102
|
+
"string",
|
|
103
|
+
"@multistring"
|
|
104
|
+
],
|
|
105
|
+
[
|
|
106
|
+
/"/,
|
|
107
|
+
"string",
|
|
108
|
+
"@string"
|
|
109
|
+
],
|
|
110
|
+
[/'[^\\']'/, "string"],
|
|
111
|
+
[/(')(@escapes)(')/, [
|
|
112
|
+
"string",
|
|
113
|
+
"string.escape",
|
|
114
|
+
"string"
|
|
115
|
+
]],
|
|
116
|
+
[/'/, "string.invalid"]
|
|
117
|
+
],
|
|
118
|
+
whitespace: [
|
|
119
|
+
[/[ \t\r\n]+/, ""],
|
|
120
|
+
[
|
|
121
|
+
/\/\*\*(?!\/)/,
|
|
122
|
+
"comment.doc",
|
|
123
|
+
"@javadoc"
|
|
124
|
+
],
|
|
125
|
+
[
|
|
126
|
+
/\/\*/,
|
|
127
|
+
"comment",
|
|
128
|
+
"@comment"
|
|
129
|
+
],
|
|
130
|
+
[/\/\/.*$/, "comment"]
|
|
131
|
+
],
|
|
132
|
+
comment: [
|
|
133
|
+
[/[^\/*]+/, "comment"],
|
|
134
|
+
[
|
|
135
|
+
/\*\//,
|
|
136
|
+
"comment",
|
|
137
|
+
"@pop"
|
|
138
|
+
],
|
|
139
|
+
[/[\/*]/, "comment"]
|
|
140
|
+
],
|
|
141
|
+
javadoc: [
|
|
142
|
+
[/[^\/*]+/, "comment.doc"],
|
|
143
|
+
[/\/\*/, "comment.doc.invalid"],
|
|
144
|
+
[
|
|
145
|
+
/\*\//,
|
|
146
|
+
"comment.doc",
|
|
147
|
+
"@pop"
|
|
148
|
+
],
|
|
149
|
+
[/[\/*]/, "comment.doc"]
|
|
150
|
+
],
|
|
151
|
+
string: [
|
|
152
|
+
[/[^\\"]+/, "string"],
|
|
153
|
+
[/@escapes/, "string.escape"],
|
|
154
|
+
[/\\./, "string.escape.invalid"],
|
|
155
|
+
[
|
|
156
|
+
/"/,
|
|
157
|
+
"string",
|
|
158
|
+
"@pop"
|
|
159
|
+
]
|
|
160
|
+
],
|
|
161
|
+
multistring: [
|
|
162
|
+
[/[^\\"]+/, "string"],
|
|
163
|
+
[/@escapes/, "string.escape"],
|
|
164
|
+
[/\\./, "string.escape.invalid"],
|
|
165
|
+
[
|
|
166
|
+
/"""/,
|
|
167
|
+
"string",
|
|
168
|
+
"@pop"
|
|
169
|
+
],
|
|
170
|
+
[/./, "string"]
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
//#endregion
|
|
175
|
+
export { e as conf, t as language };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { conf as e, language as t } from "./typescript-Djsb1cC9.js";
|
|
2
|
+
//#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/definitions/javascript/javascript.js
|
|
3
|
+
var n = e, r = {
|
|
4
|
+
defaultToken: "invalid",
|
|
5
|
+
tokenPostfix: ".js",
|
|
6
|
+
keywords: /* @__PURE__ */ "break.case.catch.class.continue.const.constructor.debugger.default.delete.do.else.export.extends.false.finally.for.from.function.get.if.import.in.instanceof.let.new.null.return.set.static.super.switch.symbol.this.throw.true.try.typeof.undefined.var.void.while.with.yield.async.await.of".split("."),
|
|
7
|
+
typeKeywords: [],
|
|
8
|
+
operators: t.operators,
|
|
9
|
+
symbols: t.symbols,
|
|
10
|
+
escapes: t.escapes,
|
|
11
|
+
digits: t.digits,
|
|
12
|
+
octaldigits: t.octaldigits,
|
|
13
|
+
binarydigits: t.binarydigits,
|
|
14
|
+
hexdigits: t.hexdigits,
|
|
15
|
+
regexpctl: t.regexpctl,
|
|
16
|
+
regexpesc: t.regexpesc,
|
|
17
|
+
tokenizer: t.tokenizer
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { n as conf, r as language };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region node_modules/.bun/monaco-editor@0.57.0/node_modules/monaco-editor/esm/vs/languages/features/json/json.worker.js?worker
|
|
2
|
+
function e(e) {
|
|
3
|
+
return new Worker(new URL("json.worker-CAiVr-gV.js", import.meta.url).href, { name: e?.name });
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as default };
|