@codingame/monaco-editor-wrapper 3.4.1 → 3.4.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.
- package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
- package/dist/atd.js +90 -94
- package/dist/atd2.js +94 -90
- package/dist/css.worker.js +1 -1
- package/dist/d.js +3157 -84
- package/dist/d2.js +84 -3157
- package/dist/dart.js +510 -83
- package/dist/dart2.js +83 -510
- package/dist/diet.js +740 -82
- package/dist/diet2.js +82 -740
- package/dist/dml.js +155 -76
- package/dist/dml2.js +76 -155
- package/dist/dune-project.js +469 -53
- package/dist/dune-project2.js +53 -469
- package/dist/dune-workspace.js +287 -54
- package/dist/dune-workspace2.js +54 -287
- package/dist/dune.js +2948 -51
- package/dist/dune2.js +51 -2948
- package/dist/elixir.js +2335 -63
- package/dist/elixir2.js +63 -2335
- package/dist/features/cssContribution.js +1 -4
- package/dist/features/extensionConfigurations.js +24 -122
- package/dist/features/htmlContribution.js +4 -18
- package/dist/features/jsonContribution.js +1 -8
- package/dist/features/typescriptContribution.js +4 -8
- package/dist/{html (eex)2.js → html (eex).js} +0 -0
- package/dist/html.worker.js +1 -1
- package/dist/index.js +2178 -1355
- package/dist/index2.js +1354 -2186
- package/dist/json.worker.js +1 -1
- package/dist/main.js +270 -1417
- package/dist/ocaml.interface.js +273 -95
- package/dist/ocaml.interface2.js +95 -273
- package/dist/ocaml.js +884 -95
- package/dist/ocaml2.js +95 -884
- package/dist/r.js +657 -81
- package/dist/r2.js +81 -657
- package/dist/sdl.js +150 -78
- package/dist/sdl2.js +78 -150
- package/dist/solidity.js +1172 -56
- package/dist/solidity2.js +56 -1172
- package/dist/ts.worker.js +1 -1
- package/dist/vim.js +8 -8
- package/dist/vue-sugarss.js +390 -54
- package/dist/vue-sugarss2.js +54 -390
- package/dist/worker.js +1 -3
- package/package.json +29 -26
- package/stats.html +44 -34
package/dist/vue-sugarss2.js
CHANGED
|
@@ -1,396 +1,60 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
],
|
|
8
|
-
begin: "/\\*",
|
|
9
|
-
name: "comment.block.sugarss",
|
|
10
|
-
end: "\\*/"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
include: "#double-slash"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
include: "#double-quoted"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
include: "#single-quoted"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
include: "#interpolation"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
include: "#placeholder-selector"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
include: "#variable"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
include: "#variable-root-css"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
include: "#numeric"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
include: "#unit"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
include: "#flag"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
include: "#dotdotdot"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
captures: {
|
|
47
|
-
"0": {
|
|
48
|
-
name: "keyword.control.at-rule.css.sugarss"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
begin: "@include",
|
|
52
|
-
name: "support.function.name.sugarss.library",
|
|
53
|
-
end: "(?=\\n|\\(|{)"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
captures: {
|
|
57
|
-
"0": {
|
|
58
|
-
name: "keyword.control.at-rule.css.sugarss"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
patterns: [
|
|
62
|
-
{
|
|
63
|
-
name: "entity.name.function",
|
|
64
|
-
match: "[\\w-]+"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
begin: "@mixin|@function",
|
|
68
|
-
name: "support.function.name.sugarss.no-completions",
|
|
69
|
-
end: "$\\n?|(?=\\(|{)"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: "string.quoted.double.css.sugarss",
|
|
73
|
-
match: "(?<=@import)\\s[\\w/.*-]+"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
begin: "@",
|
|
77
|
-
name: "keyword.control.at-rule.css.sugarss",
|
|
78
|
-
end: "$\\n?|\\s(?!(all|braille|embossed|handheld|print|projection|screen|speech|tty|tv|if|only|not)(\\s|,))"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
patterns: [
|
|
82
|
-
{
|
|
83
|
-
include: "#interpolation"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
include: "#pseudo-class"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
begin: "#",
|
|
90
|
-
name: "entity.other.attribute-name.id.css.sugarss",
|
|
91
|
-
end: "$\\n?|(?=\\s|,|\\(|\\)|\\.|\\[|{|>)"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
patterns: [
|
|
95
|
-
{
|
|
96
|
-
include: "#interpolation"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
include: "#pseudo-class"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
begin: "\\.|(?<=&)(-|_)",
|
|
103
|
-
name: "entity.other.attribute-name.class.css.sugarss",
|
|
104
|
-
end: "$\\n?|(?=\\s|,|\\(|\\)|\\[|{|>)"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
patterns: [
|
|
108
|
-
{
|
|
109
|
-
include: "#double-quoted"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
include: "#single-quoted"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
name: "keyword.other.regex.sugarss",
|
|
116
|
-
match: "\\^|\\$|\\*|~"
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
begin: "\\[",
|
|
120
|
-
name: "entity.other.attribute-selector.sugarss",
|
|
121
|
-
end: "\\]"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
name: "entity.other.attribute-name.pseudo-class.css.sugarss",
|
|
125
|
-
match: "(?<=\\]|\\)|not\\(|\\*|>|>\\s):[a-z:-]+|(::|:-)[a-z:-]+"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
patterns: [
|
|
129
|
-
{
|
|
130
|
-
include: "#double-slash"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
include: "#double-quoted"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
include: "#single-quoted"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
include: "#interpolation"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
include: "#variable"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
include: "#rgb-value"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
include: "#numeric"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
include: "#unit"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
include: "#flag"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
include: "#function"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
include: "#function-content"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
include: "#function-content-var"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
include: "#operator"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
include: "#parent-selector"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
include: "#property-value"
|
|
173
|
-
}
|
|
174
|
-
],
|
|
175
|
-
begin: ":",
|
|
176
|
-
name: "meta.property-list.css.sugarss",
|
|
177
|
-
end: "$\\n?|(?=\\s\\(|and\\(|{|}|\\),)"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
include: "#rgb-value"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
include: "#function"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
include: "#function-content"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
patterns: [
|
|
190
|
-
{
|
|
191
|
-
include: "#interpolation"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
include: "#pseudo-class"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
begin: "(?<!\\-|\\()\\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|eventsource|fieldset|figure|figcaption|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|mark|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video|main|svg|rect|ruby|center|circle|ellipse|line|polyline|polygon|path|text|u|x)\\b(?!-|\\)|:\\s)|&",
|
|
198
|
-
name: "entity.name.tag.css.sugarss.symbol",
|
|
199
|
-
end: "(?=\\s|,|\\(|\\)|\\.|\\[|{|>|-|_)"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
include: "#operator"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
name: "support.type.property-name.css.sugarss",
|
|
206
|
-
match: "[a-z-]+((?=:|#{))"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
include: "#reserved-words"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
include: "#property-value"
|
|
213
|
-
}
|
|
214
|
-
];
|
|
215
|
-
var name = "SugarSS";
|
|
216
|
-
var repository = {
|
|
217
|
-
"reserved-words": {
|
|
218
|
-
name: "support.type.property-name.css.sugarss",
|
|
219
|
-
match: "\\b(false|from|in|not|null|through|to|true)\\b"
|
|
220
|
-
},
|
|
221
|
-
"double-quoted": {
|
|
222
|
-
patterns: [
|
|
223
|
-
{
|
|
224
|
-
include: "#quoted-interpolation"
|
|
225
|
-
}
|
|
226
|
-
],
|
|
227
|
-
begin: "\"",
|
|
228
|
-
name: "string.quoted.double.css.sugarss",
|
|
229
|
-
end: "\""
|
|
230
|
-
},
|
|
231
|
-
operator: {
|
|
232
|
-
name: "keyword.operator.sugarss",
|
|
233
|
-
match: "\\+|\\s-\\s|\\s-(?=\\$)|(?<=\\()-(?=\\$)|\\s-(?=\\()|\\*|/|%|=|!|<|>|~"
|
|
234
|
-
},
|
|
235
|
-
"function-content": {
|
|
236
|
-
name: "string.quoted.double.css.sugarss",
|
|
237
|
-
match: "(?<=url\\(|format\\(|attr\\().+?(?=\\))"
|
|
238
|
-
},
|
|
239
|
-
"double-slash": {
|
|
240
|
-
patterns: [
|
|
241
|
-
{
|
|
242
|
-
include: "#comment-tag"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
begin: "//",
|
|
246
|
-
name: "comment.line.sugarss",
|
|
247
|
-
end: "$"
|
|
248
|
-
},
|
|
249
|
-
numeric: {
|
|
250
|
-
name: "constant.numeric.css.sugarss",
|
|
251
|
-
match: "(-|\\.)?[0-9]+(\\.[0-9]+)?"
|
|
252
|
-
},
|
|
253
|
-
"variable-root-css": {
|
|
254
|
-
name: "variable.parameter.sugarss",
|
|
255
|
-
match: "(?<!&)--[\\w-]+"
|
|
256
|
-
},
|
|
257
|
-
"function": {
|
|
258
|
-
name: "support.function.name.sugarss",
|
|
259
|
-
match: "(?<=[\\s|\\(|,|:])(?!url|format|attr)[\\w-][\\w-]*(?=\\()"
|
|
260
|
-
},
|
|
261
|
-
"rgb-value": {
|
|
262
|
-
name: "constant.other.color.rgb-value.css.sugarss",
|
|
263
|
-
match: "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b"
|
|
264
|
-
},
|
|
265
|
-
"comment-tag": {
|
|
266
|
-
patterns: [
|
|
267
|
-
{
|
|
268
|
-
name: "comment.tag.sugarss",
|
|
269
|
-
match: "[\\w-]+"
|
|
270
|
-
}
|
|
271
|
-
],
|
|
272
|
-
begin: "{{",
|
|
273
|
-
name: "comment.tags.sugarss",
|
|
274
|
-
end: "}}"
|
|
275
|
-
},
|
|
276
|
-
interpolation: {
|
|
277
|
-
patterns: [
|
|
278
|
-
{
|
|
279
|
-
include: "#variable"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
include: "#numeric"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
include: "#operator"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
include: "#unit"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
include: "#double-quoted"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
include: "#single-quoted"
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
begin: "#{",
|
|
298
|
-
name: "support.function.interpolation.sugarss",
|
|
299
|
-
end: "}"
|
|
300
|
-
},
|
|
301
|
-
unit: {
|
|
302
|
-
name: "keyword.other.unit.css.sugarss",
|
|
303
|
-
match: "(?<=[\\d]|})(ch|cm|deg|dpcm|dpi|dppx|em|ex|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vw|%)"
|
|
304
|
-
},
|
|
305
|
-
"function-content-var": {
|
|
306
|
-
name: "variable.parameter.sugarss",
|
|
307
|
-
match: "(?<=var\\()[\\w-]+(?=\\))"
|
|
308
|
-
},
|
|
309
|
-
dotdotdot: {
|
|
310
|
-
name: "variable.other",
|
|
311
|
-
match: "\\.{3}"
|
|
312
|
-
},
|
|
313
|
-
variable: {
|
|
314
|
-
name: "variable.parameter.sugarss",
|
|
315
|
-
match: "\\$[\\w-]+"
|
|
316
|
-
},
|
|
317
|
-
"single-quoted": {
|
|
318
|
-
patterns: [
|
|
319
|
-
{
|
|
320
|
-
include: "#quoted-interpolation"
|
|
321
|
-
}
|
|
322
|
-
],
|
|
323
|
-
begin: "'",
|
|
324
|
-
name: "string.quoted.single.css.sugarss",
|
|
325
|
-
end: "'"
|
|
326
|
-
},
|
|
327
|
-
"quoted-interpolation": {
|
|
328
|
-
patterns: [
|
|
329
|
-
{
|
|
330
|
-
include: "#variable"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
include: "#numeric"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
include: "#operator"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
include: "#unit"
|
|
340
|
-
}
|
|
341
|
-
],
|
|
342
|
-
begin: "#{",
|
|
343
|
-
name: "support.function.interpolation.sugarss",
|
|
344
|
-
end: "}"
|
|
345
|
-
},
|
|
346
|
-
"pseudo-class": {
|
|
347
|
-
name: "entity.other.attribute-name.pseudo-class.css.sugarss",
|
|
348
|
-
match: ":[a-z:-]+"
|
|
349
|
-
},
|
|
350
|
-
"property-value": {
|
|
351
|
-
name: "meta.property-value.css.sugarss, support.constant.property-value.css.sugarss",
|
|
352
|
-
match: "[\\w-]+"
|
|
353
|
-
},
|
|
354
|
-
semicolon: {
|
|
355
|
-
name: "invalid.illegal.bad-semicolon.css.sugarss",
|
|
356
|
-
match: ";"
|
|
357
|
-
},
|
|
358
|
-
"placeholder-selector": {
|
|
359
|
-
begin: "(?<!\\d)%(?!\\d)",
|
|
360
|
-
name: "entity.other.attribute-name.placeholder-selector.sugarss",
|
|
361
|
-
end: "$\\n?|\\s|(?={)"
|
|
362
|
-
},
|
|
363
|
-
flag: {
|
|
364
|
-
name: "keyword.other.important.css.sugarss",
|
|
365
|
-
match: "!(important|default|optional|global)"
|
|
366
|
-
},
|
|
367
|
-
"parent-selector": {
|
|
368
|
-
name: "entity.name.tag.css.sugarss",
|
|
369
|
-
match: "&"
|
|
370
|
-
}
|
|
1
|
+
var comments = {
|
|
2
|
+
blockComment: [
|
|
3
|
+
"/*",
|
|
4
|
+
"*/"
|
|
5
|
+
]
|
|
371
6
|
};
|
|
372
|
-
var
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
7
|
+
var brackets = [
|
|
8
|
+
[
|
|
9
|
+
"[",
|
|
10
|
+
"]"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"(",
|
|
14
|
+
")"
|
|
15
|
+
]
|
|
16
|
+
];
|
|
17
|
+
var autoClosingPairs = [
|
|
18
|
+
[
|
|
19
|
+
"[",
|
|
20
|
+
"]"
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"(",
|
|
24
|
+
")"
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
"\"",
|
|
28
|
+
"\""
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
"'",
|
|
32
|
+
"'"
|
|
33
|
+
]
|
|
376
34
|
];
|
|
377
|
-
var
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
35
|
+
var surroundingPairs = [
|
|
36
|
+
[
|
|
37
|
+
"[",
|
|
38
|
+
"]"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"(",
|
|
42
|
+
")"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"\"",
|
|
46
|
+
"\""
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
"'",
|
|
50
|
+
"'"
|
|
51
|
+
]
|
|
383
52
|
];
|
|
384
53
|
var vueSugarss = {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
foldingStopMarker: foldingStopMarker,
|
|
390
|
-
fileTypes: fileTypes,
|
|
391
|
-
uuid: uuid,
|
|
392
|
-
scopeName: scopeName,
|
|
393
|
-
information_for_contributors: information_for_contributors
|
|
54
|
+
comments: comments,
|
|
55
|
+
brackets: brackets,
|
|
56
|
+
autoClosingPairs: autoClosingPairs,
|
|
57
|
+
surroundingPairs: surroundingPairs
|
|
394
58
|
};
|
|
395
59
|
|
|
396
|
-
export {
|
|
60
|
+
export { autoClosingPairs, brackets, comments, vueSugarss as default, surroundingPairs };
|