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.
Files changed (91) hide show
  1. package/README.md +219 -0
  2. package/assets/antimono-ClsI0fxy.js +5 -0
  3. package/assets/antimono-zBXMptjq.css +1 -0
  4. package/assets/bat-T2vjbQzY.js +125 -0
  5. package/assets/bicep-B6UDBWZN.js +220 -0
  6. package/assets/clojure-BvXzD8Uz.js +148 -0
  7. package/assets/coffee-D_yet6sT.js +262 -0
  8. package/assets/cpp-CsfEADPM.js +232 -0
  9. package/assets/csharp-jw3fFksF.js +262 -0
  10. package/assets/css-FsiUe-xI.js +286 -0
  11. package/assets/css.worker-BIsSvM_Q.js +96 -0
  12. package/assets/css.worker-BSHdDU9y.js +6 -0
  13. package/assets/cssMode-7U-ime2d.js +65 -0
  14. package/assets/cypher-B8DgU2PH.js +214 -0
  15. package/assets/dart-D1x60wEn.js +238 -0
  16. package/assets/dist-Bx9hOuoB.js +624 -0
  17. package/assets/dockerfile-DSHxsy4G.js +193 -0
  18. package/assets/editor.api-ZYFspLPt.js +85776 -0
  19. package/assets/editorWebWorkerMain-BioN9fGU.js +33 -0
  20. package/assets/editorWebWorkerMain-DXr8-Jst.js +6 -0
  21. package/assets/elixir-Cr7BtjRU.js +525 -0
  22. package/assets/fsharp-CeVKIr0d.js +149 -0
  23. package/assets/go-BL4_0srD.js +167 -0
  24. package/assets/graphql-mhWekwK0.js +176 -0
  25. package/assets/handlebars-rQdtgZoQ.js +412 -0
  26. package/assets/hcl-CfyDj6z_.js +221 -0
  27. package/assets/html-DIDrd2Z7.js +333 -0
  28. package/assets/html.worker-BrBx6eB3.js +6 -0
  29. package/assets/html.worker-CEvqvEpu.js +509 -0
  30. package/assets/htmlMode-i6u-9r7u.js +74 -0
  31. package/assets/ini-DhiXkl_g.js +96 -0
  32. package/assets/java-Ct9YHm5L.js +175 -0
  33. package/assets/javascript-By915NHa.js +20 -0
  34. package/assets/json.worker-B0PzJ5jL.js +6 -0
  35. package/assets/json.worker-CAiVr-gV.js +65 -0
  36. package/assets/jsonMode-DAP8CNa2.js +450 -0
  37. package/assets/julia-BAYXm_pL.js +416 -0
  38. package/assets/kotlin-JEujETri.js +184 -0
  39. package/assets/less-oHZXXDVD.js +244 -0
  40. package/assets/liquid-Cvs1eMgo.js +199 -0
  41. package/assets/lspLanguageFeatures-D6P77uh_.js +1455 -0
  42. package/assets/lua-B3ViXcD8.js +202 -0
  43. package/assets/main-16cPxgwS.js +107 -0
  44. package/assets/main-CB71Lf5W.js +129 -0
  45. package/assets/main-HEYSEiwe.js +66 -0
  46. package/assets/markdown-Ggb6Rgvc.js +264 -0
  47. package/assets/mdx-Ce7sXDA4.js +329 -0
  48. package/assets/mips-cYdfQChM.js +130 -0
  49. package/assets/monaco-d37b1a8f.css +3 -0
  50. package/assets/monaco-o5F6wkXp.js +40865 -0
  51. package/assets/mysql-nklBC2QL.js +170 -0
  52. package/assets/objective-c-x5BzCYEv.js +146 -0
  53. package/assets/pascal-DWL5ya_C.js +178 -0
  54. package/assets/perl-CbRoLks6.js +318 -0
  55. package/assets/pgsql-CVS-AsDB.js +160 -0
  56. package/assets/php-6gZIubF1.js +473 -0
  57. package/assets/powershell-DKgJI7BG.js +213 -0
  58. package/assets/protobuf-N0VyW3k9.js +661 -0
  59. package/assets/pug-BIMEUctf.js +302 -0
  60. package/assets/python-BKt2Winm.js +254 -0
  61. package/assets/r-Cb2uCcX6.js +191 -0
  62. package/assets/redis-D1CRAuQ1.js +125 -0
  63. package/assets/ruby-BzpgsYNr.js +529 -0
  64. package/assets/rust-CkIXqWDr.js +180 -0
  65. package/assets/scala-CnJ7htCu.js +553 -0
  66. package/assets/scss-xP2eAFyY.js +419 -0
  67. package/assets/shell-JSjWPSrk.js +225 -0
  68. package/assets/solidity-C8AFhoIi.js +149 -0
  69. package/assets/sql-DqW-LmZI.js +173 -0
  70. package/assets/swift-BcHKQY-M.js +215 -0
  71. package/assets/systemverilog-Dmu-Ht4V.js +300 -0
  72. package/assets/ts.worker-BAchZA3W.js +6 -0
  73. package/assets/ts.worker-DZhhT1EO.js +67741 -0
  74. package/assets/tsMode-C_Fsqh0j.js +566 -0
  75. package/assets/twig-Bj4rwioa.js +390 -0
  76. package/assets/typescript-Djsb1cC9.js +257 -0
  77. package/assets/typespec-xwJ6QpRP.js +236 -0
  78. package/assets/vb-CMxAjmFH.js +262 -0
  79. package/assets/wgsl-CTYGQRo2.js +147 -0
  80. package/assets/xml-D7cJD5hW.js +130 -0
  81. package/assets/yaml-B8A0QdVf.js +223 -0
  82. package/assets/yaml.worker-Crtsysk5.js +474 -0
  83. package/assets/yaml.worker-DZ36155v.js +6 -0
  84. package/lib.d.ts +8403 -0
  85. package/lib.js +2 -0
  86. package/package.json +1 -1
  87. package/src/main.js +29 -0
  88. package/index.d.ts +0 -6
  89. package/index.js +0 -1
  90. package/readme.md +0 -1
  91. /package/{license.txt → LICENSE} +0 -0
@@ -0,0 +1,333 @@
1
+ import { m as e } from "./editor.api-ZYFspLPt.js";
2
+ //#region node_modules/.bun/monaco-editor@0.57.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.57.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-CEvqvEpu.js", import.meta.url).href, { name: e?.name });
4
+ }
5
+ //#endregion
6
+ export { e as default };