monaco-editor11 1.0.0 → 1.0.2

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 (93) hide show
  1. package/dist/monaco-editor11.es.js +55 -0
  2. package/dist/monaco-editor11.umd.js +1 -0
  3. package/package.json +2 -1
  4. package/dist/abap-CrvW7_qN.mjs +0 -1398
  5. package/dist/apex-BAOI8p1v.mjs +0 -327
  6. package/dist/azcli-BlCk_UqW.mjs +0 -68
  7. package/dist/bat-DPoEelVx.mjs +0 -100
  8. package/dist/bicep-Cp1F394l.mjs +0 -102
  9. package/dist/cameligo-CWqtSlQs.mjs +0 -174
  10. package/dist/clojure-CKBp32Gf.mjs +0 -761
  11. package/dist/coffee-CDo6vc-J.mjs +0 -232
  12. package/dist/cpp-DokufPgf.mjs +0 -389
  13. package/dist/csharp-BQi3szM0.mjs +0 -326
  14. package/dist/csp-BSGtCCZ-.mjs +0 -53
  15. package/dist/css-DEPFDJfb.mjs +0 -187
  16. package/dist/cssMode-BhKA1zSu.mjs +0 -141
  17. package/dist/cypher-DAb1vOxS.mjs +0 -263
  18. package/dist/dart-C8p4jewR.mjs +0 -281
  19. package/dist/dockerfile-DP0iLFPN.mjs +0 -130
  20. package/dist/ecl-BDQHA6fi.mjs +0 -456
  21. package/dist/elixir-D4II6kDM.mjs +0 -569
  22. package/dist/flow9-StcnL-VB.mjs +0 -142
  23. package/dist/freemarker2-ww_D58dk.mjs +0 -982
  24. package/dist/fsharp-DdUVp3EN.mjs +0 -217
  25. package/dist/go-D1-I258M.mjs +0 -218
  26. package/dist/graphql-DWkL3f8U.mjs +0 -151
  27. package/dist/handlebars-p6e472fk.mjs +0 -412
  28. package/dist/hb-vue3-print-nb.es.js +0 -24
  29. package/dist/hb-vue3-print-nb.umd.js +0 -1234
  30. package/dist/hcl-D_0MNifv.mjs +0 -183
  31. package/dist/html-RxjjEvRj.mjs +0 -301
  32. package/dist/htmlMode-CJ7jqvHB.mjs +0 -152
  33. package/dist/index-D22E33Ns.mjs +0 -128804
  34. package/dist/ini-C4I2-MT7.mjs +0 -71
  35. package/dist/java-OBvaP_SS.mjs +0 -232
  36. package/dist/javascript-4cugaJH-.mjs +0 -70
  37. package/dist/jsonMode-mEAKo0MB.mjs +0 -577
  38. package/dist/julia-BmDH8Kkf.mjs +0 -511
  39. package/dist/kotlin-Dhu5AGOD.mjs +0 -252
  40. package/dist/less-CzmjXREq.mjs +0 -162
  41. package/dist/lexon-CV2c4pN9.mjs +0 -157
  42. package/dist/liquid-CHAki8UD.mjs +0 -233
  43. package/dist/lspLanguageFeatures-B7Hqx8aW.mjs +0 -1458
  44. package/dist/lua-CFY5U8qF.mjs +0 -162
  45. package/dist/m3-BL_AnZVh.mjs +0 -210
  46. package/dist/markdown-CWKQPXCv.mjs +0 -229
  47. package/dist/mdx-zeC77g8c.mjs +0 -158
  48. package/dist/mips-ButYmJ5E.mjs +0 -198
  49. package/dist/monaco-editor11.css +0 -1
  50. package/dist/msdax-C3cnXqDh.mjs +0 -375
  51. package/dist/mysql-YlSHaf6G.mjs +0 -878
  52. package/dist/objective-c-Dwnlproe.mjs +0 -183
  53. package/dist/pascal-UzGbSWEN.mjs +0 -251
  54. package/dist/pascaligo-CslTgu68.mjs +0 -164
  55. package/dist/perl-oj6r_mgw.mjs +0 -626
  56. package/dist/pgsql-DSBO0Mev.mjs +0 -851
  57. package/dist/php-YzCD--7j.mjs +0 -500
  58. package/dist/pla-CmylB8vQ.mjs +0 -137
  59. package/dist/postiats-CLFW5gNY.mjs +0 -907
  60. package/dist/powerquery-CmOWUvlh.mjs +0 -890
  61. package/dist/powershell-fHQcmBLK.mjs +0 -239
  62. package/dist/protobuf-p5BArb-9.mjs +0 -420
  63. package/dist/pug-gVdUDvqf.mjs +0 -402
  64. package/dist/python-DULwfuw6.mjs +0 -294
  65. package/dist/qsharp-DnrWSUlt.mjs +0 -301
  66. package/dist/r-Cv309K2z.mjs +0 -243
  67. package/dist/razor-c0jgmA5G.mjs +0 -543
  68. package/dist/redis-DTcS4wMj.mjs +0 -302
  69. package/dist/redshift-hLxZVESM.mjs +0 -809
  70. package/dist/restructuredtext-C898lK4f.mjs +0 -174
  71. package/dist/ruby-CgKtnJIQ.mjs +0 -511
  72. package/dist/rust-bj8oxVnh.mjs +0 -343
  73. package/dist/sb-DWynz26l.mjs +0 -115
  74. package/dist/scala-BL5z1UEd.mjs +0 -370
  75. package/dist/scheme-DUJsH6VU.mjs +0 -108
  76. package/dist/scss-CxjmhvaL.mjs +0 -262
  77. package/dist/shell-D14Zs1dF.mjs +0 -221
  78. package/dist/solidity-WyRm-BGK.mjs +0 -1367
  79. package/dist/sophia-CKk-_Oa5.mjs +0 -199
  80. package/dist/sparql-DHtmINMZ.mjs +0 -201
  81. package/dist/sql-Dqaj5JHC.mjs +0 -853
  82. package/dist/st-Bj2IIaop.mjs +0 -416
  83. package/dist/swift-DwxP72iM.mjs +0 -312
  84. package/dist/systemverilog-D7wJfuql.mjs +0 -576
  85. package/dist/tcl-0ApMt-eC.mjs +0 -232
  86. package/dist/tsMode-CepBtZtU.mjs +0 -946
  87. package/dist/twig-DxwbdmvQ.mjs +0 -392
  88. package/dist/typescript-hbfpGuFj.mjs +0 -336
  89. package/dist/typespec-Fd-JwSuS.mjs +0 -117
  90. package/dist/vb-CxuyYE1I.mjs +0 -372
  91. package/dist/wgsl-DoEGc31J.mjs +0 -439
  92. package/dist/xml-DE69CcMx.mjs +0 -88
  93. package/dist/yaml-CdiGER8y.mjs +0 -199
@@ -1,439 +0,0 @@
1
- const g = {
2
- comments: {
3
- lineComment: "//",
4
- blockComment: ["/*", "*/"]
5
- },
6
- brackets: [
7
- ["{", "}"],
8
- ["[", "]"],
9
- ["(", ")"]
10
- ],
11
- autoClosingPairs: [
12
- { open: "[", close: "]" },
13
- { open: "{", close: "}" },
14
- { open: "(", close: ")" }
15
- ],
16
- surroundingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" }
20
- ]
21
- };
22
- function e(i) {
23
- let o = [];
24
- const a = i.split(/\t+|\r+|\n+| +/);
25
- for (let r = 0; r < a.length; ++r)
26
- a[r].length > 0 && o.push(a[r]);
27
- return o;
28
- }
29
- const s = e("true false"), c = e(`
30
- alias
31
- break
32
- case
33
- const
34
- const_assert
35
- continue
36
- continuing
37
- default
38
- diagnostic
39
- discard
40
- else
41
- enable
42
- fn
43
- for
44
- if
45
- let
46
- loop
47
- override
48
- requires
49
- return
50
- struct
51
- switch
52
- var
53
- while
54
- `), m = e(`
55
- NULL
56
- Self
57
- abstract
58
- active
59
- alignas
60
- alignof
61
- as
62
- asm
63
- asm_fragment
64
- async
65
- attribute
66
- auto
67
- await
68
- become
69
- binding_array
70
- cast
71
- catch
72
- class
73
- co_await
74
- co_return
75
- co_yield
76
- coherent
77
- column_major
78
- common
79
- compile
80
- compile_fragment
81
- concept
82
- const_cast
83
- consteval
84
- constexpr
85
- constinit
86
- crate
87
- debugger
88
- decltype
89
- delete
90
- demote
91
- demote_to_helper
92
- do
93
- dynamic_cast
94
- enum
95
- explicit
96
- export
97
- extends
98
- extern
99
- external
100
- fallthrough
101
- filter
102
- final
103
- finally
104
- friend
105
- from
106
- fxgroup
107
- get
108
- goto
109
- groupshared
110
- highp
111
- impl
112
- implements
113
- import
114
- inline
115
- instanceof
116
- interface
117
- layout
118
- lowp
119
- macro
120
- macro_rules
121
- match
122
- mediump
123
- meta
124
- mod
125
- module
126
- move
127
- mut
128
- mutable
129
- namespace
130
- new
131
- nil
132
- noexcept
133
- noinline
134
- nointerpolation
135
- noperspective
136
- null
137
- nullptr
138
- of
139
- operator
140
- package
141
- packoffset
142
- partition
143
- pass
144
- patch
145
- pixelfragment
146
- precise
147
- precision
148
- premerge
149
- priv
150
- protected
151
- pub
152
- public
153
- readonly
154
- ref
155
- regardless
156
- register
157
- reinterpret_cast
158
- require
159
- resource
160
- restrict
161
- self
162
- set
163
- shared
164
- sizeof
165
- smooth
166
- snorm
167
- static
168
- static_assert
169
- static_cast
170
- std
171
- subroutine
172
- super
173
- target
174
- template
175
- this
176
- thread_local
177
- throw
178
- trait
179
- try
180
- type
181
- typedef
182
- typeid
183
- typename
184
- typeof
185
- union
186
- unless
187
- unorm
188
- unsafe
189
- unsized
190
- use
191
- using
192
- varying
193
- virtual
194
- volatile
195
- wgsl
196
- where
197
- with
198
- writeonly
199
- yield
200
- `), l = e(`
201
- read write read_write
202
- function private workgroup uniform storage
203
- perspective linear flat
204
- center centroid sample
205
- vertex_index instance_index position front_facing frag_depth
206
- local_invocation_id local_invocation_index
207
- global_invocation_id workgroup_id num_workgroups
208
- sample_index sample_mask
209
- rgba8unorm
210
- rgba8snorm
211
- rgba8uint
212
- rgba8sint
213
- rgba16uint
214
- rgba16sint
215
- rgba16float
216
- r32uint
217
- r32sint
218
- r32float
219
- rg32uint
220
- rg32sint
221
- rg32float
222
- rgba32uint
223
- rgba32sint
224
- rgba32float
225
- bgra8unorm
226
- `), u = e(`
227
- bool
228
- f16
229
- f32
230
- i32
231
- sampler sampler_comparison
232
- texture_depth_2d
233
- texture_depth_2d_array
234
- texture_depth_cube
235
- texture_depth_cube_array
236
- texture_depth_multisampled_2d
237
- texture_external
238
- texture_external
239
- u32
240
- `), p = e(`
241
- array
242
- atomic
243
- mat2x2
244
- mat2x3
245
- mat2x4
246
- mat3x2
247
- mat3x3
248
- mat3x4
249
- mat4x2
250
- mat4x3
251
- mat4x4
252
- ptr
253
- texture_1d
254
- texture_2d
255
- texture_2d_array
256
- texture_3d
257
- texture_cube
258
- texture_cube_array
259
- texture_multisampled_2d
260
- texture_storage_1d
261
- texture_storage_2d
262
- texture_storage_2d_array
263
- texture_storage_3d
264
- vec2
265
- vec3
266
- vec4
267
- `), d = e(`
268
- vec2i vec3i vec4i
269
- vec2u vec3u vec4u
270
- vec2f vec3f vec4f
271
- vec2h vec3h vec4h
272
- mat2x2f mat2x3f mat2x4f
273
- mat3x2f mat3x3f mat3x4f
274
- mat4x2f mat4x3f mat4x4f
275
- mat2x2h mat2x3h mat2x4h
276
- mat3x2h mat3x3h mat3x4h
277
- mat4x2h mat4x3h mat4x4h
278
- `), x = e(`
279
- bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
280
- ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
281
- degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
282
- firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
283
- log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
284
- reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
285
- trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
286
- textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
287
- textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
288
- textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
289
- textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
290
- atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
291
- pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
292
- unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
293
- workgroupUniformLoad
294
- `), f = e(`
295
- &
296
- &&
297
- ->
298
- /
299
- =
300
- ==
301
- !=
302
- >
303
- >=
304
- <
305
- <=
306
- %
307
- -
308
- --
309
- +
310
- ++
311
- |
312
- ||
313
- *
314
- <<
315
- >>
316
- +=
317
- -=
318
- *=
319
- /=
320
- %=
321
- &=
322
- |=
323
- ^=
324
- >>=
325
- <<=
326
- `), _ = /enable|requires|diagnostic/, n = new RegExp("[_\\p{XID_Start}]\\p{XID_Continue}*", "u"), t = "variable.predefined", h = {
327
- tokenPostfix: ".wgsl",
328
- defaultToken: "invalid",
329
- unicode: !0,
330
- atoms: s,
331
- keywords: c,
332
- reserved: m,
333
- predeclared_enums: l,
334
- predeclared_types: u,
335
- predeclared_type_generators: p,
336
- predeclared_type_aliases: d,
337
- predeclared_intrinsics: x,
338
- operators: f,
339
- symbols: /[!%&*+\-\.\/:;<=>^|_~,]+/,
340
- tokenizer: {
341
- root: [
342
- [_, "keyword", "@directive"],
343
- [
344
- // Identifier-like things, but also include '_'
345
- n,
346
- {
347
- cases: {
348
- "@atoms": t,
349
- "@keywords": "keyword",
350
- "@reserved": "invalid",
351
- "@predeclared_enums": t,
352
- "@predeclared_types": t,
353
- "@predeclared_type_generators": t,
354
- "@predeclared_type_aliases": t,
355
- "@predeclared_intrinsics": t,
356
- "@default": "identifier"
357
- }
358
- }
359
- ],
360
- { include: "@commentOrSpace" },
361
- { include: "@numbers" },
362
- [/[{}()\[\]]/, "@brackets"],
363
- ["@", "annotation", "@attribute"],
364
- [
365
- /@symbols/,
366
- {
367
- cases: {
368
- "@operators": "operator",
369
- "@default": "delimiter"
370
- }
371
- }
372
- ],
373
- [/./, "invalid"]
374
- ],
375
- commentOrSpace: [
376
- [/\s+/, "white"],
377
- [/\/\*/, "comment", "@blockComment"],
378
- [/\/\/.*$/, "comment"]
379
- ],
380
- blockComment: [
381
- // Soak up uninteresting text: anything except * or /
382
- [/[^\/*]+/, "comment"],
383
- // Recognize the start of a nested block comment.
384
- [/\/\*/, "comment", "@push"],
385
- // Recognize the end of a nested block comment.
386
- [/\*\//, "comment", "@pop"],
387
- // Recognize insignificant * and /
388
- [/[\/*]/, "comment"]
389
- ],
390
- attribute: [
391
- // For things like '@fragment' both '@' and 'fragment'
392
- // are marked as annotations. This should work even if
393
- // there are spaces or comments between the two tokens.
394
- { include: "@commentOrSpace" },
395
- [/\w+/, "annotation", "@pop"]
396
- ],
397
- directive: [
398
- // For things like 'enable f16;', 'enable' maps to 'meta'
399
- // and 'f16' maps to 'meta.tag'.
400
- { include: "@commentOrSpace" },
401
- [/[()]/, "@brackets"],
402
- [/,/, "delimiter"],
403
- [n, "meta.content"],
404
- [/;/, "delimiter", "@pop"]
405
- ],
406
- numbers: [
407
- // Decimal float literals
408
- // https://www.w3.org/TR/WGSL/#syntax-decimal_float_literal
409
- // 0, with type-specifying suffix.
410
- [/0[fh]/, "number.float"],
411
- // Other decimal integer, with type-specifying suffix.
412
- [/[1-9][0-9]*[fh]/, "number.float"],
413
- // Has decimal point, at least one digit after decimal.
414
- [/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
415
- // Has decimal point, at least one digit before decimal.
416
- [/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
417
- // Has at least one digit, and has an exponent.
418
- [/[0-9]+[eE][+-]?[0-9]+[fh]?/, "number.float"],
419
- // Hex float literals
420
- // https://www.w3.org/TR/WGSL/#syntax-hex_float_literal
421
- [/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
422
- [/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
423
- [/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/, "number.hex"],
424
- // Hexadecimal integer literals
425
- // https://www.w3.org/TR/WGSL/#syntax-hex_int_literal
426
- [/0[xX][0-9a-fA-F]+[iu]?/, "number.hex"],
427
- // Decimal integer literals
428
- // https://www.w3.org/TR/WGSL/#syntax-decimal_int_literal
429
- // We need two rules here because 01 is not valid.
430
- [/[1-9][0-9]*[iu]?/, "number"],
431
- [/0[iu]?/, "number"]
432
- // Must match last
433
- ]
434
- }
435
- };
436
- export {
437
- g as conf,
438
- h as language
439
- };
@@ -1,88 +0,0 @@
1
- import { l as e } from "./index-D22E33Ns.mjs";
2
- const n = {
3
- comments: {
4
- blockComment: ["<!--", "-->"]
5
- },
6
- brackets: [["<", ">"]],
7
- autoClosingPairs: [
8
- { open: "<", close: ">" },
9
- { open: "'", close: "'" },
10
- { open: '"', close: '"' }
11
- ],
12
- surroundingPairs: [
13
- { open: "<", close: ">" },
14
- { open: "'", close: "'" },
15
- { open: '"', close: '"' }
16
- ],
17
- onEnterRules: [
18
- {
19
- beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
20
- afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
21
- action: {
22
- indentAction: e.IndentAction.IndentOutdent
23
- }
24
- },
25
- {
26
- beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
27
- action: { indentAction: e.IndentAction.Indent }
28
- }
29
- ]
30
- }, o = {
31
- defaultToken: "",
32
- tokenPostfix: ".xml",
33
- ignoreCase: !0,
34
- // Useful regular expressions
35
- qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
36
- tokenizer: {
37
- root: [
38
- [/[^<&]+/, ""],
39
- { include: "@whitespace" },
40
- // Standard opening tag
41
- [/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
42
- // Standard closing tag
43
- [
44
- /(<\/)(@qualifiedName)(\s*)(>)/,
45
- [{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
46
- ],
47
- // Meta tags - instruction
48
- [/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
49
- // Meta tags - declaration
50
- [/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
51
- // CDATA
52
- [/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
53
- [/&\w+;/, "string.escape"]
54
- ],
55
- cdata: [
56
- [/[^\]]+/, ""],
57
- [/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
58
- [/\]/, ""]
59
- ],
60
- tag: [
61
- [/[ \t\r\n]+/, ""],
62
- [/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
63
- [
64
- /(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
65
- ["attribute.name", "", "attribute.value"]
66
- ],
67
- [/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
68
- [/@qualifiedName/, "attribute.name"],
69
- [/\?>/, { token: "delimiter", next: "@pop" }],
70
- [/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
71
- [/>/, { token: "delimiter", next: "@pop" }]
72
- ],
73
- whitespace: [
74
- [/[ \t\r\n]+/, ""],
75
- [/<!--/, { token: "comment", next: "@comment" }]
76
- ],
77
- comment: [
78
- [/[^<\-]+/, "comment.content"],
79
- [/-->/, { token: "comment", next: "@pop" }],
80
- [/<!--/, "comment.content.invalid"],
81
- [/[<\-]/, "comment.content"]
82
- ]
83
- }
84
- };
85
- export {
86
- n as conf,
87
- o as language
88
- };