@covalent/components 8.15.0-beta.12 → 8.15.0-beta.14
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/code-editor/code-editor.d.ts +0 -14
- package/code-editor/code-editor.d.ts.map +1 -1
- package/{code-editor-3a09cbf1.js → code-editor-857a4673.js} +89 -159
- package/{code-editor-ce557bd5.mjs → code-editor-caabbe50.mjs} +3141 -3338
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-783f1e7c.mjs → html-707a5945.mjs} +1 -1
- package/{html-4fffc46e.js → html-aa904833.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-4d09cd3c.mjs → javascript-779a52b2.mjs} +2 -2
- package/{javascript-90bb18e6.js → javascript-d8dd6c0d.js} +1 -1
- package/notebook/notebook.d.ts +14 -1
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook-cell/notebook-cell.d.ts.map +1 -1
- package/notebook-cell.js +8 -5
- package/notebook-cell.mjs +12 -9
- package/notebook.js +36 -27
- package/notebook.mjs +940 -848
- package/package.json +1 -1
- package/{python-562f8e9b.mjs → python-02ca0307.mjs} +1 -1
- package/{python-af3aad7d.js → python-b0bc8e7b.js} +1 -1
- package/{typescript-76d039b3.js → typescript-1a78657a.js} +1 -1
- package/{typescript-a2a5d6b2.mjs → typescript-ba11dbe7.mjs} +1 -1
- package/cpp-642b10c4.mjs +0 -387
- package/cpp-7eec3311.js +0 -6
- package/csharp-32862cd2.js +0 -6
- package/csharp-d987ddad.mjs +0 -320
- package/dart-031264ea.js +0 -6
- package/dart-5d209f63.mjs +0 -270
- package/go-46e3b371.mjs +0 -208
- package/go-cdd943fd.js +0 -6
- package/java-32d7b433.js +0 -6
- package/java-cd017f60.mjs +0 -221
- package/kotlin-4b9019e1.js +0 -6
- package/kotlin-c6e52a56.mjs +0 -245
- package/lua-b46719a9.js +0 -6
- package/lua-f159160b.mjs +0 -157
- package/php-987b9d87.mjs +0 -471
- package/php-a6dcde52.js +0 -6
- package/rust-87887495.js +0 -6
- package/rust-97f8f6e1.mjs +0 -337
- package/scala-c68c650c.mjs +0 -353
- package/scala-e8b7bd42.js +0 -6
- package/shell-09452d42.mjs +0 -224
- package/shell-43cfbe7d.js +0 -6
- package/swift-724ff2a3.js +0 -8
- package/swift-abdf1835.mjs +0 -315
- package/xml-89571455.mjs +0 -100
- package/xml-e66929d0.js +0 -6
- package/yaml-11a91e71.js +0 -6
- package/yaml-4eccd122.mjs +0 -189
package/php-987b9d87.mjs
DELETED
@@ -1,471 +0,0 @@
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/
|
7
|
-
var e = {
|
8
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
9
|
-
comments: {
|
10
|
-
lineComment: "//",
|
11
|
-
blockComment: ["/*", "*/"]
|
12
|
-
},
|
13
|
-
brackets: [
|
14
|
-
["{", "}"],
|
15
|
-
["[", "]"],
|
16
|
-
["(", ")"]
|
17
|
-
],
|
18
|
-
autoClosingPairs: [
|
19
|
-
{ open: "{", close: "}", notIn: ["string"] },
|
20
|
-
{ open: "[", close: "]", notIn: ["string"] },
|
21
|
-
{ open: "(", close: ")", notIn: ["string"] },
|
22
|
-
{ open: '"', close: '"', notIn: ["string"] },
|
23
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
24
|
-
],
|
25
|
-
folding: {
|
26
|
-
markers: {
|
27
|
-
start: new RegExp("^\\s*(#|//)region\\b"),
|
28
|
-
end: new RegExp("^\\s*(#|//)endregion\\b")
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}, t = {
|
32
|
-
defaultToken: "",
|
33
|
-
tokenPostfix: "",
|
34
|
-
tokenizer: {
|
35
|
-
root: [
|
36
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.root" }],
|
37
|
-
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
38
|
-
[/<!--/, "comment.html", "@comment"],
|
39
|
-
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
40
|
-
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
41
|
-
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
42
|
-
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
43
|
-
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
44
|
-
[/</, "delimiter.html"],
|
45
|
-
[/[^<]+/]
|
46
|
-
],
|
47
|
-
doctype: [
|
48
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
49
|
-
[/[^>]+/, "metatag.content.html"],
|
50
|
-
[/>/, "metatag.html", "@pop"]
|
51
|
-
],
|
52
|
-
comment: [
|
53
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.comment" }],
|
54
|
-
[/-->/, "comment.html", "@pop"],
|
55
|
-
[/[^-]+/, "comment.content.html"],
|
56
|
-
[/./, "comment.content.html"]
|
57
|
-
],
|
58
|
-
otherTag: [
|
59
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.otherTag" }],
|
60
|
-
[/\/?>/, "delimiter.html", "@pop"],
|
61
|
-
[/"([^"]*)"/, "attribute.value"],
|
62
|
-
[/'([^']*)'/, "attribute.value"],
|
63
|
-
[/[\w\-]+/, "attribute.name"],
|
64
|
-
[/=/, "delimiter"],
|
65
|
-
[/[ \t\r\n]+/]
|
66
|
-
],
|
67
|
-
script: [
|
68
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.script" }],
|
69
|
-
[/type/, "attribute.name", "@scriptAfterType"],
|
70
|
-
[/"([^"]*)"/, "attribute.value"],
|
71
|
-
[/'([^']*)'/, "attribute.value"],
|
72
|
-
[/[\w\-]+/, "attribute.name"],
|
73
|
-
[/=/, "delimiter"],
|
74
|
-
[
|
75
|
-
/>/,
|
76
|
-
{
|
77
|
-
token: "delimiter.html",
|
78
|
-
next: "@scriptEmbedded.text/javascript",
|
79
|
-
nextEmbedded: "text/javascript"
|
80
|
-
}
|
81
|
-
],
|
82
|
-
[/[ \t\r\n]+/],
|
83
|
-
[
|
84
|
-
/(<\/)(script\s*)(>)/,
|
85
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
86
|
-
]
|
87
|
-
],
|
88
|
-
scriptAfterType: [
|
89
|
-
[
|
90
|
-
/<\?((php)|=)?/,
|
91
|
-
{
|
92
|
-
token: "@rematch",
|
93
|
-
switchTo: "@phpInSimpleState.scriptAfterType"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
97
|
-
[
|
98
|
-
/>/,
|
99
|
-
{
|
100
|
-
token: "delimiter.html",
|
101
|
-
next: "@scriptEmbedded.text/javascript",
|
102
|
-
nextEmbedded: "text/javascript"
|
103
|
-
}
|
104
|
-
],
|
105
|
-
[/[ \t\r\n]+/],
|
106
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
107
|
-
],
|
108
|
-
scriptAfterTypeEquals: [
|
109
|
-
[
|
110
|
-
/<\?((php)|=)?/,
|
111
|
-
{
|
112
|
-
token: "@rematch",
|
113
|
-
switchTo: "@phpInSimpleState.scriptAfterTypeEquals"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
[
|
117
|
-
/"([^"]*)"/,
|
118
|
-
{
|
119
|
-
token: "attribute.value",
|
120
|
-
switchTo: "@scriptWithCustomType.$1"
|
121
|
-
}
|
122
|
-
],
|
123
|
-
[
|
124
|
-
/'([^']*)'/,
|
125
|
-
{
|
126
|
-
token: "attribute.value",
|
127
|
-
switchTo: "@scriptWithCustomType.$1"
|
128
|
-
}
|
129
|
-
],
|
130
|
-
[
|
131
|
-
/>/,
|
132
|
-
{
|
133
|
-
token: "delimiter.html",
|
134
|
-
next: "@scriptEmbedded.text/javascript",
|
135
|
-
nextEmbedded: "text/javascript"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
[/[ \t\r\n]+/],
|
139
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
140
|
-
],
|
141
|
-
scriptWithCustomType: [
|
142
|
-
[
|
143
|
-
/<\?((php)|=)?/,
|
144
|
-
{
|
145
|
-
token: "@rematch",
|
146
|
-
switchTo: "@phpInSimpleState.scriptWithCustomType.$S2"
|
147
|
-
}
|
148
|
-
],
|
149
|
-
[
|
150
|
-
/>/,
|
151
|
-
{
|
152
|
-
token: "delimiter.html",
|
153
|
-
next: "@scriptEmbedded.$S2",
|
154
|
-
nextEmbedded: "$S2"
|
155
|
-
}
|
156
|
-
],
|
157
|
-
[/"([^"]*)"/, "attribute.value"],
|
158
|
-
[/'([^']*)'/, "attribute.value"],
|
159
|
-
[/[\w\-]+/, "attribute.name"],
|
160
|
-
[/=/, "delimiter"],
|
161
|
-
[/[ \t\r\n]+/],
|
162
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
163
|
-
],
|
164
|
-
scriptEmbedded: [
|
165
|
-
[
|
166
|
-
/<\?((php)|=)?/,
|
167
|
-
{
|
168
|
-
token: "@rematch",
|
169
|
-
switchTo: "@phpInEmbeddedState.scriptEmbedded.$S2",
|
170
|
-
nextEmbedded: "@pop"
|
171
|
-
}
|
172
|
-
],
|
173
|
-
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
174
|
-
],
|
175
|
-
style: [
|
176
|
-
[/<\?((php)|=)?/, { token: "@rematch", switchTo: "@phpInSimpleState.style" }],
|
177
|
-
[/type/, "attribute.name", "@styleAfterType"],
|
178
|
-
[/"([^"]*)"/, "attribute.value"],
|
179
|
-
[/'([^']*)'/, "attribute.value"],
|
180
|
-
[/[\w\-]+/, "attribute.name"],
|
181
|
-
[/=/, "delimiter"],
|
182
|
-
[
|
183
|
-
/>/,
|
184
|
-
{
|
185
|
-
token: "delimiter.html",
|
186
|
-
next: "@styleEmbedded.text/css",
|
187
|
-
nextEmbedded: "text/css"
|
188
|
-
}
|
189
|
-
],
|
190
|
-
[/[ \t\r\n]+/],
|
191
|
-
[
|
192
|
-
/(<\/)(style\s*)(>)/,
|
193
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
194
|
-
]
|
195
|
-
],
|
196
|
-
styleAfterType: [
|
197
|
-
[
|
198
|
-
/<\?((php)|=)?/,
|
199
|
-
{
|
200
|
-
token: "@rematch",
|
201
|
-
switchTo: "@phpInSimpleState.styleAfterType"
|
202
|
-
}
|
203
|
-
],
|
204
|
-
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
205
|
-
[
|
206
|
-
/>/,
|
207
|
-
{
|
208
|
-
token: "delimiter.html",
|
209
|
-
next: "@styleEmbedded.text/css",
|
210
|
-
nextEmbedded: "text/css"
|
211
|
-
}
|
212
|
-
],
|
213
|
-
[/[ \t\r\n]+/],
|
214
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
215
|
-
],
|
216
|
-
styleAfterTypeEquals: [
|
217
|
-
[
|
218
|
-
/<\?((php)|=)?/,
|
219
|
-
{
|
220
|
-
token: "@rematch",
|
221
|
-
switchTo: "@phpInSimpleState.styleAfterTypeEquals"
|
222
|
-
}
|
223
|
-
],
|
224
|
-
[
|
225
|
-
/"([^"]*)"/,
|
226
|
-
{
|
227
|
-
token: "attribute.value",
|
228
|
-
switchTo: "@styleWithCustomType.$1"
|
229
|
-
}
|
230
|
-
],
|
231
|
-
[
|
232
|
-
/'([^']*)'/,
|
233
|
-
{
|
234
|
-
token: "attribute.value",
|
235
|
-
switchTo: "@styleWithCustomType.$1"
|
236
|
-
}
|
237
|
-
],
|
238
|
-
[
|
239
|
-
/>/,
|
240
|
-
{
|
241
|
-
token: "delimiter.html",
|
242
|
-
next: "@styleEmbedded.text/css",
|
243
|
-
nextEmbedded: "text/css"
|
244
|
-
}
|
245
|
-
],
|
246
|
-
[/[ \t\r\n]+/],
|
247
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
248
|
-
],
|
249
|
-
styleWithCustomType: [
|
250
|
-
[
|
251
|
-
/<\?((php)|=)?/,
|
252
|
-
{
|
253
|
-
token: "@rematch",
|
254
|
-
switchTo: "@phpInSimpleState.styleWithCustomType.$S2"
|
255
|
-
}
|
256
|
-
],
|
257
|
-
[
|
258
|
-
/>/,
|
259
|
-
{
|
260
|
-
token: "delimiter.html",
|
261
|
-
next: "@styleEmbedded.$S2",
|
262
|
-
nextEmbedded: "$S2"
|
263
|
-
}
|
264
|
-
],
|
265
|
-
[/"([^"]*)"/, "attribute.value"],
|
266
|
-
[/'([^']*)'/, "attribute.value"],
|
267
|
-
[/[\w\-]+/, "attribute.name"],
|
268
|
-
[/=/, "delimiter"],
|
269
|
-
[/[ \t\r\n]+/],
|
270
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
271
|
-
],
|
272
|
-
styleEmbedded: [
|
273
|
-
[
|
274
|
-
/<\?((php)|=)?/,
|
275
|
-
{
|
276
|
-
token: "@rematch",
|
277
|
-
switchTo: "@phpInEmbeddedState.styleEmbedded.$S2",
|
278
|
-
nextEmbedded: "@pop"
|
279
|
-
}
|
280
|
-
],
|
281
|
-
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
282
|
-
],
|
283
|
-
phpInSimpleState: [
|
284
|
-
[/<\?((php)|=)?/, "metatag.php"],
|
285
|
-
[/\?>/, { token: "metatag.php", switchTo: "@$S2.$S3" }],
|
286
|
-
{ include: "phpRoot" }
|
287
|
-
],
|
288
|
-
phpInEmbeddedState: [
|
289
|
-
[/<\?((php)|=)?/, "metatag.php"],
|
290
|
-
[
|
291
|
-
/\?>/,
|
292
|
-
{
|
293
|
-
token: "metatag.php",
|
294
|
-
switchTo: "@$S2.$S3",
|
295
|
-
nextEmbedded: "$S3"
|
296
|
-
}
|
297
|
-
],
|
298
|
-
{ include: "phpRoot" }
|
299
|
-
],
|
300
|
-
phpRoot: [
|
301
|
-
[
|
302
|
-
/[a-zA-Z_]\w*/,
|
303
|
-
{
|
304
|
-
cases: {
|
305
|
-
"@phpKeywords": { token: "keyword.php" },
|
306
|
-
"@phpCompileTimeConstants": { token: "constant.php" },
|
307
|
-
"@default": "identifier.php"
|
308
|
-
}
|
309
|
-
}
|
310
|
-
],
|
311
|
-
[
|
312
|
-
/[$a-zA-Z_]\w*/,
|
313
|
-
{
|
314
|
-
cases: {
|
315
|
-
"@phpPreDefinedVariables": {
|
316
|
-
token: "variable.predefined.php"
|
317
|
-
},
|
318
|
-
"@default": "variable.php"
|
319
|
-
}
|
320
|
-
}
|
321
|
-
],
|
322
|
-
[/[{}]/, "delimiter.bracket.php"],
|
323
|
-
[/[\[\]]/, "delimiter.array.php"],
|
324
|
-
[/[()]/, "delimiter.parenthesis.php"],
|
325
|
-
[/[ \t\r\n]+/],
|
326
|
-
[/(#|\/\/)$/, "comment.php"],
|
327
|
-
[/(#|\/\/)/, "comment.php", "@phpLineComment"],
|
328
|
-
[/\/\*/, "comment.php", "@phpComment"],
|
329
|
-
[/"/, "string.php", "@phpDoubleQuoteString"],
|
330
|
-
[/'/, "string.php", "@phpSingleQuoteString"],
|
331
|
-
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/, "delimiter.php"],
|
332
|
-
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.php"],
|
333
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.php"],
|
334
|
-
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.php"],
|
335
|
-
[/0[0-7']*[0-7]/, "number.octal.php"],
|
336
|
-
[/0[bB][0-1']*[0-1]/, "number.binary.php"],
|
337
|
-
[/\d[\d']*/, "number.php"],
|
338
|
-
[/\d/, "number.php"]
|
339
|
-
],
|
340
|
-
phpComment: [
|
341
|
-
[/\*\//, "comment.php", "@pop"],
|
342
|
-
[/[^*]+/, "comment.php"],
|
343
|
-
[/./, "comment.php"]
|
344
|
-
],
|
345
|
-
phpLineComment: [
|
346
|
-
[/\?>/, { token: "@rematch", next: "@pop" }],
|
347
|
-
[/.$/, "comment.php", "@pop"],
|
348
|
-
[/[^?]+$/, "comment.php", "@pop"],
|
349
|
-
[/[^?]+/, "comment.php"],
|
350
|
-
[/./, "comment.php"]
|
351
|
-
],
|
352
|
-
phpDoubleQuoteString: [
|
353
|
-
[/[^\\"]+/, "string.php"],
|
354
|
-
[/@escapes/, "string.escape.php"],
|
355
|
-
[/\\./, "string.escape.invalid.php"],
|
356
|
-
[/"/, "string.php", "@pop"]
|
357
|
-
],
|
358
|
-
phpSingleQuoteString: [
|
359
|
-
[/[^\\']+/, "string.php"],
|
360
|
-
[/@escapes/, "string.escape.php"],
|
361
|
-
[/\\./, "string.escape.invalid.php"],
|
362
|
-
[/'/, "string.php", "@pop"]
|
363
|
-
]
|
364
|
-
},
|
365
|
-
phpKeywords: [
|
366
|
-
"abstract",
|
367
|
-
"and",
|
368
|
-
"array",
|
369
|
-
"as",
|
370
|
-
"break",
|
371
|
-
"callable",
|
372
|
-
"case",
|
373
|
-
"catch",
|
374
|
-
"cfunction",
|
375
|
-
"class",
|
376
|
-
"clone",
|
377
|
-
"const",
|
378
|
-
"continue",
|
379
|
-
"declare",
|
380
|
-
"default",
|
381
|
-
"do",
|
382
|
-
"else",
|
383
|
-
"elseif",
|
384
|
-
"enddeclare",
|
385
|
-
"endfor",
|
386
|
-
"endforeach",
|
387
|
-
"endif",
|
388
|
-
"endswitch",
|
389
|
-
"endwhile",
|
390
|
-
"extends",
|
391
|
-
"false",
|
392
|
-
"final",
|
393
|
-
"for",
|
394
|
-
"foreach",
|
395
|
-
"function",
|
396
|
-
"global",
|
397
|
-
"goto",
|
398
|
-
"if",
|
399
|
-
"implements",
|
400
|
-
"interface",
|
401
|
-
"instanceof",
|
402
|
-
"insteadof",
|
403
|
-
"namespace",
|
404
|
-
"new",
|
405
|
-
"null",
|
406
|
-
"object",
|
407
|
-
"old_function",
|
408
|
-
"or",
|
409
|
-
"private",
|
410
|
-
"protected",
|
411
|
-
"public",
|
412
|
-
"resource",
|
413
|
-
"static",
|
414
|
-
"switch",
|
415
|
-
"throw",
|
416
|
-
"trait",
|
417
|
-
"try",
|
418
|
-
"true",
|
419
|
-
"use",
|
420
|
-
"var",
|
421
|
-
"while",
|
422
|
-
"xor",
|
423
|
-
"die",
|
424
|
-
"echo",
|
425
|
-
"empty",
|
426
|
-
"exit",
|
427
|
-
"eval",
|
428
|
-
"include",
|
429
|
-
"include_once",
|
430
|
-
"isset",
|
431
|
-
"list",
|
432
|
-
"require",
|
433
|
-
"require_once",
|
434
|
-
"return",
|
435
|
-
"print",
|
436
|
-
"unset",
|
437
|
-
"yield",
|
438
|
-
"__construct"
|
439
|
-
],
|
440
|
-
phpCompileTimeConstants: [
|
441
|
-
"__CLASS__",
|
442
|
-
"__DIR__",
|
443
|
-
"__FILE__",
|
444
|
-
"__LINE__",
|
445
|
-
"__NAMESPACE__",
|
446
|
-
"__METHOD__",
|
447
|
-
"__FUNCTION__",
|
448
|
-
"__TRAIT__"
|
449
|
-
],
|
450
|
-
phpPreDefinedVariables: [
|
451
|
-
"$GLOBALS",
|
452
|
-
"$_SERVER",
|
453
|
-
"$_GET",
|
454
|
-
"$_POST",
|
455
|
-
"$_FILES",
|
456
|
-
"$_REQUEST",
|
457
|
-
"$_SESSION",
|
458
|
-
"$_ENV",
|
459
|
-
"$_COOKIE",
|
460
|
-
"$php_errormsg",
|
461
|
-
"$HTTP_RAW_POST_DATA",
|
462
|
-
"$http_response_header",
|
463
|
-
"$argc",
|
464
|
-
"$argv"
|
465
|
-
],
|
466
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
|
467
|
-
};
|
468
|
-
export {
|
469
|
-
e as conf,
|
470
|
-
t as language
|
471
|
-
};
|
package/php-a6dcde52.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},t={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};exports.conf=e;exports.language=t;
|
package/rust-87887495.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
-
* Released under the MIT license
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}};exports.conf=e;exports.language=t;
|