monacozen 0.0.1 → 0.1.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 +124 -0
- package/assets/antimono-ClsI0fxy.js +5 -0
- package/assets/antimono-zBXMptjq.css +1 -0
- package/assets/azcli-ue5GhsHI.js +55 -0
- package/assets/bat-C6DzPBcU.js +125 -0
- package/assets/bicep-B6UDBWZN.js +220 -0
- package/assets/cameligo-BoKy-zSd.js +191 -0
- package/assets/clojure-D8WHGr6v.js +148 -0
- package/assets/coffee-C16Mnhbm.js +262 -0
- package/assets/cpp-_HbkGdoj.js +232 -0
- package/assets/csharp-DeGXkEgi.js +262 -0
- package/assets/csp-DGVEba9U.js +48 -0
- package/assets/css-DmO2GtiT.js +286 -0
- package/assets/css.worker-B59bB4vF.js +6 -0
- package/assets/css.worker-zFzGcGyJ.js +96 -0
- package/assets/cssMode-B-yiAIn5.js +65 -0
- package/assets/cypher-5654EJL_.js +214 -0
- package/assets/dart-BjXVSQM-.js +238 -0
- package/assets/dist-Bx9hOuoB.js +624 -0
- package/assets/dockerfile-DSA8TJLS.js +193 -0
- package/assets/ecl-DoDWSDGs.js +228 -0
- package/assets/editor.api-C_6h_pYy.js +83476 -0
- package/assets/editorWebWorkerMain-Cpqca1A3.js +6 -0
- package/assets/editorWebWorkerMain-_4oyTYIl.js +33 -0
- package/assets/elixir-CzC02SL7.js +525 -0
- package/assets/freemarker2-Jvnudjht.js +718 -0
- package/assets/fsharp-DRGCXPNW.js +149 -0
- package/assets/go-CyErB8P9.js +167 -0
- package/assets/graphql-CNnvnjR8.js +176 -0
- package/assets/handlebars-B9HHtHT5.js +412 -0
- package/assets/hcl-D4a6HBjk.js +221 -0
- package/assets/html-B5_5MvV-.js +333 -0
- package/assets/html.worker-Czi9KUKj.js +6 -0
- package/assets/html.worker-D4M1xqlZ.js +509 -0
- package/assets/htmlMode-DcETbRqN.js +74 -0
- package/assets/ini-CpSjysbn.js +96 -0
- package/assets/java-DkRrYYRp.js +175 -0
- package/assets/javascript-Da2MNB2t.js +20 -0
- package/assets/json.worker-D3-21m4I.js +65 -0
- package/assets/json.worker-pkLWnKxn.js +6 -0
- package/assets/jsonMode-BtwFVp_X.js +450 -0
- package/assets/julia-DXDdnD4p.js +416 -0
- package/assets/kotlin-BNDyMshT.js +184 -0
- package/assets/less-3yDKfG4U.js +244 -0
- package/assets/liquid-DCciKNzb.js +199 -0
- package/assets/lspLanguageFeatures-CAn_K3Js.js +1455 -0
- package/assets/lua-CqDy9oHE.js +202 -0
- package/assets/m3-DyBtJGhR.js +195 -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-DIkeztiD.js +264 -0
- package/assets/mdx-BcOG7QFm.js +329 -0
- package/assets/mips-BUbWxz0r.js +130 -0
- package/assets/monaco-BMsB0TPD.js +39430 -0
- package/assets/monaco-ffd8b062.css +3 -0
- package/assets/msdax-95fojGvn.js +158 -0
- package/assets/mysql-CX3tETwr.js +170 -0
- package/assets/objective-c-CK2i53vc.js +146 -0
- package/assets/pascal-wnGRqmNG.js +178 -0
- package/assets/pascaligo-DR2NqTqc.js +203 -0
- package/assets/perl-DXuijcFO.js +318 -0
- package/assets/pgsql-BFvD7ctB.js +160 -0
- package/assets/php-FZHoZ5C_.js +473 -0
- package/assets/pla-Cmb_VVG6.js +148 -0
- package/assets/postiats-DUwtyBVk.js +506 -0
- package/assets/powerquery-wUlwxvME.js +192 -0
- package/assets/powershell-Wf4X7WOf.js +213 -0
- package/assets/protobuf-CcMDFVG6.js +661 -0
- package/assets/pug-OPBd_9cN.js +302 -0
- package/assets/python-D2Z49Cw8.js +254 -0
- package/assets/qsharp-C4P6iWbB.js +145 -0
- package/assets/r-FHjiK9Ff.js +191 -0
- package/assets/razor-CfcSDTvR.js +519 -0
- package/assets/redis-CLJ_Tkzp.js +125 -0
- package/assets/redshift-Cn0YgnO8.js +160 -0
- package/assets/restructuredtext-Ckzl4aRZ.js +289 -0
- package/assets/ruby-Dhjv9xsd.js +529 -0
- package/assets/rust-Bq7le2bN.js +180 -0
- package/assets/scala-Bth6QY64.js +553 -0
- package/assets/scheme-BHXdn3HT.js +172 -0
- package/assets/scss-DVPfVfp2.js +419 -0
- package/assets/shell-DYY2DoAm.js +225 -0
- package/assets/solidity-C2dWya5C.js +149 -0
- package/assets/sophia-BdPli0VA.js +149 -0
- package/assets/sparql-Ca6NBL_y.js +126 -0
- package/assets/sql-CE5EfRV1.js +173 -0
- package/assets/st-BKcHiAlg.js +478 -0
- package/assets/swift-v0LuaFKN.js +215 -0
- package/assets/systemverilog-BRC61WOW.js +300 -0
- package/assets/tcl-Xx48oN1j.js +225 -0
- package/assets/ts.worker-CokkJ1Lk.js +6 -0
- package/assets/ts.worker-De3FAST6.js +67741 -0
- package/assets/tsMode-cdcRizUc.js +567 -0
- package/assets/twig-Dq5WyzaF.js +390 -0
- package/assets/typescript-B25ZZJLy.js +257 -0
- package/assets/typespec-DVZXVZWY.js +236 -0
- package/assets/vb--Ows3SAS.js +262 -0
- package/assets/wgsl-gwRTfDFE.js +147 -0
- package/assets/workers-qpP7-_JR.js +48 -0
- package/assets/xml-BD6eVsMx.js +130 -0
- package/assets/yaml-unVkvP57.js +223 -0
- package/lib.d.ts +8379 -0
- package/package.json +1 -1
- package/src/main.js +24 -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,333 @@
|
|
|
1
|
+
import { m as e } from "./editor.api-C_6h_pYy.js";
|
|
2
|
+
//#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/definitions/html/html.js
|
|
3
|
+
var t = [
|
|
4
|
+
"area",
|
|
5
|
+
"base",
|
|
6
|
+
"br",
|
|
7
|
+
"col",
|
|
8
|
+
"embed",
|
|
9
|
+
"hr",
|
|
10
|
+
"img",
|
|
11
|
+
"input",
|
|
12
|
+
"keygen",
|
|
13
|
+
"link",
|
|
14
|
+
"menuitem",
|
|
15
|
+
"meta",
|
|
16
|
+
"param",
|
|
17
|
+
"source",
|
|
18
|
+
"track",
|
|
19
|
+
"wbr"
|
|
20
|
+
], n = {
|
|
21
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
|
22
|
+
comments: { blockComment: ["<!--", "-->"] },
|
|
23
|
+
brackets: [
|
|
24
|
+
["<!--", "-->"],
|
|
25
|
+
["<", ">"],
|
|
26
|
+
["{", "}"],
|
|
27
|
+
["(", ")"]
|
|
28
|
+
],
|
|
29
|
+
autoClosingPairs: [
|
|
30
|
+
{
|
|
31
|
+
open: "{",
|
|
32
|
+
close: "}"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
open: "[",
|
|
36
|
+
close: "]"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
open: "(",
|
|
40
|
+
close: ")"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
open: "\"",
|
|
44
|
+
close: "\""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
open: "'",
|
|
48
|
+
close: "'"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
surroundingPairs: [
|
|
52
|
+
{
|
|
53
|
+
open: "\"",
|
|
54
|
+
close: "\""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
open: "'",
|
|
58
|
+
close: "'"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
open: "{",
|
|
62
|
+
close: "}"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
open: "[",
|
|
66
|
+
close: "]"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
open: "(",
|
|
70
|
+
close: ")"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
open: "<",
|
|
74
|
+
close: ">"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
onEnterRules: [{
|
|
78
|
+
beforeText: RegExp(`<(?!(?:${t.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
|
79
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
80
|
+
action: { indentAction: e.IndentAction.IndentOutdent }
|
|
81
|
+
}, {
|
|
82
|
+
beforeText: RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
|
83
|
+
action: { indentAction: e.IndentAction.Indent }
|
|
84
|
+
}],
|
|
85
|
+
folding: { markers: {
|
|
86
|
+
start: /* @__PURE__ */ RegExp("^\\s*<!--\\s*#region\\b.*-->"),
|
|
87
|
+
end: /* @__PURE__ */ RegExp("^\\s*<!--\\s*#endregion\\b.*-->")
|
|
88
|
+
} }
|
|
89
|
+
}, r = {
|
|
90
|
+
defaultToken: "",
|
|
91
|
+
tokenPostfix: ".html",
|
|
92
|
+
ignoreCase: !0,
|
|
93
|
+
tokenizer: {
|
|
94
|
+
root: [
|
|
95
|
+
[
|
|
96
|
+
/<!DOCTYPE/,
|
|
97
|
+
"metatag",
|
|
98
|
+
"@doctype"
|
|
99
|
+
],
|
|
100
|
+
[
|
|
101
|
+
/<!--/,
|
|
102
|
+
"comment",
|
|
103
|
+
"@comment"
|
|
104
|
+
],
|
|
105
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/, [
|
|
106
|
+
"delimiter",
|
|
107
|
+
"tag",
|
|
108
|
+
"",
|
|
109
|
+
"delimiter"
|
|
110
|
+
]],
|
|
111
|
+
[/(<)(script)/, ["delimiter", {
|
|
112
|
+
token: "tag",
|
|
113
|
+
next: "@script"
|
|
114
|
+
}]],
|
|
115
|
+
[/(<)(style)/, ["delimiter", {
|
|
116
|
+
token: "tag",
|
|
117
|
+
next: "@style"
|
|
118
|
+
}]],
|
|
119
|
+
[/(<)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", {
|
|
120
|
+
token: "tag",
|
|
121
|
+
next: "@otherTag"
|
|
122
|
+
}]],
|
|
123
|
+
[/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ["delimiter", {
|
|
124
|
+
token: "tag",
|
|
125
|
+
next: "@otherTag"
|
|
126
|
+
}]],
|
|
127
|
+
[/</, "delimiter"],
|
|
128
|
+
[/[^<]+/]
|
|
129
|
+
],
|
|
130
|
+
doctype: [[/[^>]+/, "metatag.content"], [
|
|
131
|
+
/>/,
|
|
132
|
+
"metatag",
|
|
133
|
+
"@pop"
|
|
134
|
+
]],
|
|
135
|
+
comment: [
|
|
136
|
+
[
|
|
137
|
+
/-->/,
|
|
138
|
+
"comment",
|
|
139
|
+
"@pop"
|
|
140
|
+
],
|
|
141
|
+
[/[^-]+/, "comment.content"],
|
|
142
|
+
[/./, "comment.content"]
|
|
143
|
+
],
|
|
144
|
+
otherTag: [
|
|
145
|
+
[
|
|
146
|
+
/\/?>/,
|
|
147
|
+
"delimiter",
|
|
148
|
+
"@pop"
|
|
149
|
+
],
|
|
150
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
151
|
+
[/'([^']*)'/, "attribute.value"],
|
|
152
|
+
[/[\w\-]+/, "attribute.name"],
|
|
153
|
+
[/=/, "delimiter"],
|
|
154
|
+
[/[ \t\r\n]+/]
|
|
155
|
+
],
|
|
156
|
+
script: [
|
|
157
|
+
[
|
|
158
|
+
/type/,
|
|
159
|
+
"attribute.name",
|
|
160
|
+
"@scriptAfterType"
|
|
161
|
+
],
|
|
162
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
163
|
+
[/'([^']*)'/, "attribute.value"],
|
|
164
|
+
[/[\w\-]+/, "attribute.name"],
|
|
165
|
+
[/=/, "delimiter"],
|
|
166
|
+
[/>/, {
|
|
167
|
+
token: "delimiter",
|
|
168
|
+
next: "@scriptEmbedded",
|
|
169
|
+
nextEmbedded: "text/javascript"
|
|
170
|
+
}],
|
|
171
|
+
[/[ \t\r\n]+/],
|
|
172
|
+
[/(<\/)(script\s*)(>)/, [
|
|
173
|
+
"delimiter",
|
|
174
|
+
"tag",
|
|
175
|
+
{
|
|
176
|
+
token: "delimiter",
|
|
177
|
+
next: "@pop"
|
|
178
|
+
}
|
|
179
|
+
]]
|
|
180
|
+
],
|
|
181
|
+
scriptAfterType: [
|
|
182
|
+
[
|
|
183
|
+
/=/,
|
|
184
|
+
"delimiter",
|
|
185
|
+
"@scriptAfterTypeEquals"
|
|
186
|
+
],
|
|
187
|
+
[/>/, {
|
|
188
|
+
token: "delimiter",
|
|
189
|
+
next: "@scriptEmbedded",
|
|
190
|
+
nextEmbedded: "text/javascript"
|
|
191
|
+
}],
|
|
192
|
+
[/[ \t\r\n]+/],
|
|
193
|
+
[/<\/script\s*>/, {
|
|
194
|
+
token: "@rematch",
|
|
195
|
+
next: "@pop"
|
|
196
|
+
}]
|
|
197
|
+
],
|
|
198
|
+
scriptAfterTypeEquals: [
|
|
199
|
+
[/"module"/, {
|
|
200
|
+
token: "attribute.value",
|
|
201
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
|
202
|
+
}],
|
|
203
|
+
[/'module'/, {
|
|
204
|
+
token: "attribute.value",
|
|
205
|
+
switchTo: "@scriptWithCustomType.text/javascript"
|
|
206
|
+
}],
|
|
207
|
+
[/"([^"]*)"/, {
|
|
208
|
+
token: "attribute.value",
|
|
209
|
+
switchTo: "@scriptWithCustomType.$1"
|
|
210
|
+
}],
|
|
211
|
+
[/'([^']*)'/, {
|
|
212
|
+
token: "attribute.value",
|
|
213
|
+
switchTo: "@scriptWithCustomType.$1"
|
|
214
|
+
}],
|
|
215
|
+
[/>/, {
|
|
216
|
+
token: "delimiter",
|
|
217
|
+
next: "@scriptEmbedded",
|
|
218
|
+
nextEmbedded: "text/javascript"
|
|
219
|
+
}],
|
|
220
|
+
[/[ \t\r\n]+/],
|
|
221
|
+
[/<\/script\s*>/, {
|
|
222
|
+
token: "@rematch",
|
|
223
|
+
next: "@pop"
|
|
224
|
+
}]
|
|
225
|
+
],
|
|
226
|
+
scriptWithCustomType: [
|
|
227
|
+
[/>/, {
|
|
228
|
+
token: "delimiter",
|
|
229
|
+
next: "@scriptEmbedded.$S2",
|
|
230
|
+
nextEmbedded: "$S2"
|
|
231
|
+
}],
|
|
232
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
233
|
+
[/'([^']*)'/, "attribute.value"],
|
|
234
|
+
[/[\w\-]+/, "attribute.name"],
|
|
235
|
+
[/=/, "delimiter"],
|
|
236
|
+
[/[ \t\r\n]+/],
|
|
237
|
+
[/<\/script\s*>/, {
|
|
238
|
+
token: "@rematch",
|
|
239
|
+
next: "@pop"
|
|
240
|
+
}]
|
|
241
|
+
],
|
|
242
|
+
scriptEmbedded: [[/<\/script/, {
|
|
243
|
+
token: "@rematch",
|
|
244
|
+
next: "@pop",
|
|
245
|
+
nextEmbedded: "@pop"
|
|
246
|
+
}], [/[^<]+/, ""]],
|
|
247
|
+
style: [
|
|
248
|
+
[
|
|
249
|
+
/type/,
|
|
250
|
+
"attribute.name",
|
|
251
|
+
"@styleAfterType"
|
|
252
|
+
],
|
|
253
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
254
|
+
[/'([^']*)'/, "attribute.value"],
|
|
255
|
+
[/[\w\-]+/, "attribute.name"],
|
|
256
|
+
[/=/, "delimiter"],
|
|
257
|
+
[/>/, {
|
|
258
|
+
token: "delimiter",
|
|
259
|
+
next: "@styleEmbedded",
|
|
260
|
+
nextEmbedded: "text/css"
|
|
261
|
+
}],
|
|
262
|
+
[/[ \t\r\n]+/],
|
|
263
|
+
[/(<\/)(style\s*)(>)/, [
|
|
264
|
+
"delimiter",
|
|
265
|
+
"tag",
|
|
266
|
+
{
|
|
267
|
+
token: "delimiter",
|
|
268
|
+
next: "@pop"
|
|
269
|
+
}
|
|
270
|
+
]]
|
|
271
|
+
],
|
|
272
|
+
styleAfterType: [
|
|
273
|
+
[
|
|
274
|
+
/=/,
|
|
275
|
+
"delimiter",
|
|
276
|
+
"@styleAfterTypeEquals"
|
|
277
|
+
],
|
|
278
|
+
[/>/, {
|
|
279
|
+
token: "delimiter",
|
|
280
|
+
next: "@styleEmbedded",
|
|
281
|
+
nextEmbedded: "text/css"
|
|
282
|
+
}],
|
|
283
|
+
[/[ \t\r\n]+/],
|
|
284
|
+
[/<\/style\s*>/, {
|
|
285
|
+
token: "@rematch",
|
|
286
|
+
next: "@pop"
|
|
287
|
+
}]
|
|
288
|
+
],
|
|
289
|
+
styleAfterTypeEquals: [
|
|
290
|
+
[/"([^"]*)"/, {
|
|
291
|
+
token: "attribute.value",
|
|
292
|
+
switchTo: "@styleWithCustomType.$1"
|
|
293
|
+
}],
|
|
294
|
+
[/'([^']*)'/, {
|
|
295
|
+
token: "attribute.value",
|
|
296
|
+
switchTo: "@styleWithCustomType.$1"
|
|
297
|
+
}],
|
|
298
|
+
[/>/, {
|
|
299
|
+
token: "delimiter",
|
|
300
|
+
next: "@styleEmbedded",
|
|
301
|
+
nextEmbedded: "text/css"
|
|
302
|
+
}],
|
|
303
|
+
[/[ \t\r\n]+/],
|
|
304
|
+
[/<\/style\s*>/, {
|
|
305
|
+
token: "@rematch",
|
|
306
|
+
next: "@pop"
|
|
307
|
+
}]
|
|
308
|
+
],
|
|
309
|
+
styleWithCustomType: [
|
|
310
|
+
[/>/, {
|
|
311
|
+
token: "delimiter",
|
|
312
|
+
next: "@styleEmbedded.$S2",
|
|
313
|
+
nextEmbedded: "$S2"
|
|
314
|
+
}],
|
|
315
|
+
[/"([^"]*)"/, "attribute.value"],
|
|
316
|
+
[/'([^']*)'/, "attribute.value"],
|
|
317
|
+
[/[\w\-]+/, "attribute.name"],
|
|
318
|
+
[/=/, "delimiter"],
|
|
319
|
+
[/[ \t\r\n]+/],
|
|
320
|
+
[/<\/style\s*>/, {
|
|
321
|
+
token: "@rematch",
|
|
322
|
+
next: "@pop"
|
|
323
|
+
}]
|
|
324
|
+
],
|
|
325
|
+
styleEmbedded: [[/<\/style/, {
|
|
326
|
+
token: "@rematch",
|
|
327
|
+
next: "@pop",
|
|
328
|
+
nextEmbedded: "@pop"
|
|
329
|
+
}], [/[^<]+/, ""]]
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
//#endregion
|
|
333
|
+
export { n as conf, r as language };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region node_modules/.bun/monaco-editor@0.56.0/node_modules/monaco-editor/esm/vs/languages/features/html/html.worker.js?worker
|
|
2
|
+
function e(e) {
|
|
3
|
+
return new Worker(new URL("html.worker-D4M1xqlZ.js", import.meta.url).href, { name: e?.name });
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { e as default };
|