act-plus 1.1.22 → 1.1.24

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 (104) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +94 -1722
  3. package/lib/{configBtns-c4e55eb0.js → configBtns-15591aad.js} +51 -50
  4. package/lib/{configFileds-b79642bc.js → configFileds-a045430e.js} +5 -4
  5. package/lib/{configTable-21f37060.js → configTable-0285d3f8.js} +32 -31
  6. package/lib/{dialogAddField-535d4a6c.js → dialogAddField-f474439d.js} +5 -4
  7. package/lib/{dialogConfigBtn-f4b70a91.js → dialogConfigBtn-c97ccee8.js} +5 -4
  8. package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
  9. package/lib/{index-cb908890.js → index-36c9cd81.js} +15 -14
  10. package/lib/{index-f2795fa7.js → index-3e20553c.js} +11 -10
  11. package/lib/{index-79e6c123.js → index-7de949f6.js} +4 -3
  12. package/lib/{index-742c1da3.js → index-85deefc8.js} +5 -4
  13. package/lib/index-d0c3be37.js +68438 -0
  14. package/lib/{index-14906725.js → index-f58e1535.js} +31 -30
  15. package/package.json +1 -1
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/cpp-642b10c4.js +0 -387
  31. package/lib/csharp-d987ddad.js +0 -320
  32. package/lib/csp-96407af0.js +0 -57
  33. package/lib/css-5dd354ac.js +0 -186
  34. package/lib/cssMode-049c1acb.js +0 -1448
  35. package/lib/cypher-11e5a4b6.js +0 -262
  36. package/lib/dart-5d209f63.js +0 -270
  37. package/lib/dockerfile-8739cff7.js +0 -132
  38. package/lib/ecl-a20c5155.js +0 -454
  39. package/lib/elixir-8b028584.js +0 -467
  40. package/lib/flow9-0dea2e73.js +0 -141
  41. package/lib/freemarker2-c93dec09.js +0 -646
  42. package/lib/fsharp-49a70fad.js +0 -210
  43. package/lib/go-46e3b371.js +0 -208
  44. package/lib/graphql-51a577e5.js +0 -141
  45. package/lib/handlebars-8a7428d8.js +0 -394
  46. package/lib/hcl-56b85754.js +0 -177
  47. package/lib/html-2fad443c.js +0 -284
  48. package/lib/htmlMode-3c13e1c6.js +0 -1458
  49. package/lib/index-a2634eef.js +0 -162522
  50. package/lib/ini-1d58d82f.js +0 -68
  51. package/lib/java-cd017f60.js +0 -221
  52. package/lib/javascript-2ec13b45.js +0 -78
  53. package/lib/jsonMode-33ed8d99.js +0 -1869
  54. package/lib/julia-a0caf483.js +0 -496
  55. package/lib/kotlin-c6e52a56.js +0 -245
  56. package/lib/less-718543b4.js +0 -168
  57. package/lib/lexon-5e6e7a44.js +0 -151
  58. package/lib/liquid-40ee460a.js +0 -241
  59. package/lib/lua-f159160b.js +0 -157
  60. package/lib/m3-aadaf771.js +0 -210
  61. package/lib/markdown-9b448c46.js +0 -202
  62. package/lib/mips-161e49ce.js +0 -194
  63. package/lib/msdax-f65cb1e6.js +0 -377
  64. package/lib/mysql-24549dd1.js +0 -875
  65. package/lib/objective-c-e129a5ca.js +0 -188
  66. package/lib/pascal-4ccdf5ce.js +0 -245
  67. package/lib/pascaligo-a9603dcd.js +0 -158
  68. package/lib/perl-ba1fb97a.js +0 -599
  69. package/lib/pgsql-89978310.js +0 -843
  70. package/lib/php-987b9d87.js +0 -471
  71. package/lib/pla-96c2695d.js +0 -131
  72. package/lib/postiats-7b52ebac.js +0 -544
  73. package/lib/powerquery-8954ec26.js +0 -890
  74. package/lib/powershell-f00d0274.js +0 -233
  75. package/lib/protobuf-3eb85f80.js +0 -422
  76. package/lib/pug-6fab415a.js +0 -393
  77. package/lib/python-852dc2c1.js +0 -262
  78. package/lib/qsharp-4792f872.js +0 -282
  79. package/lib/r-630f5d6b.js +0 -245
  80. package/lib/razor-c24d586d.js +0 -515
  81. package/lib/redis-276b8288.js +0 -298
  82. package/lib/redshift-520a7359.js +0 -806
  83. package/lib/restructuredtext-4676a3fc.js +0 -162
  84. package/lib/ruby-764137cd.js +0 -444
  85. package/lib/rust-97f8f6e1.js +0 -337
  86. package/lib/sb-8c22f14c.js +0 -110
  87. package/lib/scala-c68c650c.js +0 -353
  88. package/lib/scheme-e6a52cb0.js +0 -114
  89. package/lib/scss-45104c77.js +0 -244
  90. package/lib/shell-09452d42.js +0 -224
  91. package/lib/solidity-d4979008.js +0 -1351
  92. package/lib/sophia-21995caf.js +0 -190
  93. package/lib/sparql-5088743c.js +0 -193
  94. package/lib/sql-63ec8e76.js +0 -818
  95. package/lib/st-fa9ab362.js +0 -414
  96. package/lib/swift-abdf1835.js +0 -315
  97. package/lib/systemverilog-a4f858ed.js +0 -556
  98. package/lib/tcl-8adf937f.js +0 -232
  99. package/lib/tsMode-6d6244be.js +0 -792
  100. package/lib/twig-404eb73e.js +0 -323
  101. package/lib/typescript-807ce4d9.js +0 -330
  102. package/lib/vb-e21e8153.js +0 -364
  103. package/lib/xml-cc91b485.js +0 -98
  104. package/lib/yaml-f2de88bb.js +0 -187
@@ -1,467 +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
- comments: {
9
- lineComment: "#"
10
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- surroundingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: "'", close: "'" },
21
- { open: '"', close: '"' }
22
- ],
23
- autoClosingPairs: [
24
- { open: "'", close: "'", notIn: ["string", "comment"] },
25
- { open: '"', close: '"', notIn: ["comment"] },
26
- { open: '"""', close: '"""' },
27
- { open: "`", close: "`", notIn: ["string", "comment"] },
28
- { open: "(", close: ")" },
29
- { open: "{", close: "}" },
30
- { open: "[", close: "]" },
31
- { open: "<<", close: ">>" }
32
- ],
33
- indentationRules: {
34
- increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
35
- decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
36
- }
37
- }, t = {
38
- defaultToken: "source",
39
- tokenPostfix: ".elixir",
40
- brackets: [
41
- { open: "[", close: "]", token: "delimiter.square" },
42
- { open: "(", close: ")", token: "delimiter.parenthesis" },
43
- { open: "{", close: "}", token: "delimiter.curly" },
44
- { open: "<<", close: ">>", token: "delimiter.angle.special" }
45
- ],
46
- declarationKeywords: [
47
- "def",
48
- "defp",
49
- "defn",
50
- "defnp",
51
- "defguard",
52
- "defguardp",
53
- "defmacro",
54
- "defmacrop",
55
- "defdelegate",
56
- "defcallback",
57
- "defmacrocallback",
58
- "defmodule",
59
- "defprotocol",
60
- "defexception",
61
- "defimpl",
62
- "defstruct"
63
- ],
64
- operatorKeywords: ["and", "in", "not", "or", "when"],
65
- namespaceKeywords: ["alias", "import", "require", "use"],
66
- otherKeywords: [
67
- "after",
68
- "case",
69
- "catch",
70
- "cond",
71
- "do",
72
- "else",
73
- "end",
74
- "fn",
75
- "for",
76
- "if",
77
- "quote",
78
- "raise",
79
- "receive",
80
- "rescue",
81
- "super",
82
- "throw",
83
- "try",
84
- "unless",
85
- "unquote_splicing",
86
- "unquote",
87
- "with"
88
- ],
89
- constants: ["true", "false", "nil"],
90
- nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
91
- operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
92
- variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
93
- atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
94
- specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
95
- aliasPart: /[A-Z][a-zA-Z0-9_]*/,
96
- moduleName: /@aliasPart(?:\.@aliasPart)*/,
97
- sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
98
- sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
99
- sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
100
- sigilModifiers: /[a-zA-Z0-9]*/,
101
- decimal: /\d(?:_?\d)*/,
102
- hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
103
- octal: /[0-7](_?[0-7])*/,
104
- binary: /[01](_?[01])*/,
105
- escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
106
- tokenizer: {
107
- root: [
108
- { include: "@whitespace" },
109
- { include: "@comments" },
110
- { include: "@keywordsShorthand" },
111
- { include: "@numbers" },
112
- { include: "@identifiers" },
113
- { include: "@strings" },
114
- { include: "@atoms" },
115
- { include: "@sigils" },
116
- { include: "@attributes" },
117
- { include: "@symbols" }
118
- ],
119
- whitespace: [[/\s+/, "white"]],
120
- comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
121
- keywordsShorthand: [
122
- [/(@atomName)(:)/, ["constant", "constant.punctuation"]],
123
- [
124
- /"(?=([^"]|#\{.*?\}|\\")*":)/,
125
- { token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
126
- ],
127
- [
128
- /'(?=([^']|#\{.*?\}|\\')*':)/,
129
- { token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
130
- ]
131
- ],
132
- doubleQuotedStringKeyword: [
133
- [/":/, { token: "constant.delimiter", next: "@pop" }],
134
- { include: "@stringConstantContentInterpol" }
135
- ],
136
- singleQuotedStringKeyword: [
137
- [/':/, { token: "constant.delimiter", next: "@pop" }],
138
- { include: "@stringConstantContentInterpol" }
139
- ],
140
- numbers: [
141
- [/0b@binary/, "number.binary"],
142
- [/0o@octal/, "number.octal"],
143
- [/0x@hex/, "number.hex"],
144
- [/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
145
- [/@decimal/, "number"]
146
- ],
147
- identifiers: [
148
- [
149
- /\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
150
- [
151
- "keyword.declaration",
152
- "white",
153
- {
154
- cases: {
155
- unquote: "keyword",
156
- "@default": "function"
157
- }
158
- }
159
- ]
160
- ],
161
- [
162
- /(@variableName)(?=\s*\.?\s*\()/,
163
- {
164
- cases: {
165
- "@declarationKeywords": "keyword.declaration",
166
- "@namespaceKeywords": "keyword",
167
- "@otherKeywords": "keyword",
168
- "@default": "function.call"
169
- }
170
- }
171
- ],
172
- [
173
- /(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
174
- ["type.identifier", "white", "operator", "white", "function.call"]
175
- ],
176
- [
177
- /(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
178
- ["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
179
- ],
180
- [
181
- /(\|>)(\s*)(@variableName)/,
182
- [
183
- "operator",
184
- "white",
185
- {
186
- cases: {
187
- "@otherKeywords": "keyword",
188
- "@default": "function.call"
189
- }
190
- }
191
- ]
192
- ],
193
- [
194
- /(&)(\s*)(@variableName)/,
195
- ["operator", "white", "function.call"]
196
- ],
197
- [
198
- /@variableName/,
199
- {
200
- cases: {
201
- "@declarationKeywords": "keyword.declaration",
202
- "@operatorKeywords": "keyword.operator",
203
- "@namespaceKeywords": "keyword",
204
- "@otherKeywords": "keyword",
205
- "@constants": "constant.language",
206
- "@nameBuiltin": "variable.language",
207
- "_.*": "comment.unused",
208
- "@default": "identifier"
209
- }
210
- }
211
- ],
212
- [/@moduleName/, "type.identifier"]
213
- ],
214
- strings: [
215
- [/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
216
- [/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
217
- [/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
218
- [/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
219
- ],
220
- doubleQuotedHeredoc: [
221
- [/"""/, { token: "string.delimiter", next: "@pop" }],
222
- { include: "@stringContentInterpol" }
223
- ],
224
- singleQuotedHeredoc: [
225
- [/'''/, { token: "string.delimiter", next: "@pop" }],
226
- { include: "@stringContentInterpol" }
227
- ],
228
- doubleQuotedString: [
229
- [/"/, { token: "string.delimiter", next: "@pop" }],
230
- { include: "@stringContentInterpol" }
231
- ],
232
- singleQuotedString: [
233
- [/'/, { token: "string.delimiter", next: "@pop" }],
234
- { include: "@stringContentInterpol" }
235
- ],
236
- atoms: [
237
- [/(:)(@atomName)/, ["constant.punctuation", "constant"]],
238
- [/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
239
- [/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
240
- ],
241
- doubleQuotedStringAtom: [
242
- [/"/, { token: "constant.delimiter", next: "@pop" }],
243
- { include: "@stringConstantContentInterpol" }
244
- ],
245
- singleQuotedStringAtom: [
246
- [/'/, { token: "constant.delimiter", next: "@pop" }],
247
- { include: "@stringConstantContentInterpol" }
248
- ],
249
- sigils: [
250
- [/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
251
- [/~[A-Z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
252
- ],
253
- sigil: [
254
- [/~([a-zA-Z])\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
255
- [/~([a-zA-Z])\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
256
- [/~([a-zA-Z])\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
257
- [/~([a-zA-Z])\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
258
- [
259
- /~([a-zA-Z])(@sigilSymmetricDelimiter)/,
260
- { token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
261
- ]
262
- ],
263
- "sigilStart.interpol.s": [
264
- [
265
- /~s@sigilStartDelimiter/,
266
- {
267
- token: "string.delimiter",
268
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
269
- }
270
- ]
271
- ],
272
- "sigilContinue.interpol.s": [
273
- [
274
- /(@sigilEndDelimiter)@sigilModifiers/,
275
- {
276
- cases: {
277
- "$1==$S5": { token: "string.delimiter", next: "@pop" },
278
- "@default": "string"
279
- }
280
- }
281
- ],
282
- { include: "@stringContentInterpol" }
283
- ],
284
- "sigilStart.noInterpol.S": [
285
- [
286
- /~S@sigilStartDelimiter/,
287
- {
288
- token: "string.delimiter",
289
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
290
- }
291
- ]
292
- ],
293
- "sigilContinue.noInterpol.S": [
294
- [/(^|[^\\])\\@sigilEndDelimiter/, "string"],
295
- [
296
- /(@sigilEndDelimiter)@sigilModifiers/,
297
- {
298
- cases: {
299
- "$1==$S5": { token: "string.delimiter", next: "@pop" },
300
- "@default": "string"
301
- }
302
- }
303
- ],
304
- { include: "@stringContent" }
305
- ],
306
- "sigilStart.interpol.r": [
307
- [
308
- /~r@sigilStartDelimiter/,
309
- {
310
- token: "regexp.delimiter",
311
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
312
- }
313
- ]
314
- ],
315
- "sigilContinue.interpol.r": [
316
- [
317
- /(@sigilEndDelimiter)@sigilModifiers/,
318
- {
319
- cases: {
320
- "$1==$S5": { token: "regexp.delimiter", next: "@pop" },
321
- "@default": "regexp"
322
- }
323
- }
324
- ],
325
- { include: "@regexpContentInterpol" }
326
- ],
327
- "sigilStart.noInterpol.R": [
328
- [
329
- /~R@sigilStartDelimiter/,
330
- {
331
- token: "regexp.delimiter",
332
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
333
- }
334
- ]
335
- ],
336
- "sigilContinue.noInterpol.R": [
337
- [/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
338
- [
339
- /(@sigilEndDelimiter)@sigilModifiers/,
340
- {
341
- cases: {
342
- "$1==$S5": { token: "regexp.delimiter", next: "@pop" },
343
- "@default": "regexp"
344
- }
345
- }
346
- ],
347
- { include: "@regexpContent" }
348
- ],
349
- "sigilStart.interpol": [
350
- [
351
- /~([a-zA-Z])@sigilStartDelimiter/,
352
- {
353
- token: "sigil.delimiter",
354
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
355
- }
356
- ]
357
- ],
358
- "sigilContinue.interpol": [
359
- [
360
- /(@sigilEndDelimiter)@sigilModifiers/,
361
- {
362
- cases: {
363
- "$1==$S5": { token: "sigil.delimiter", next: "@pop" },
364
- "@default": "sigil"
365
- }
366
- }
367
- ],
368
- { include: "@sigilContentInterpol" }
369
- ],
370
- "sigilStart.noInterpol": [
371
- [
372
- /~([a-zA-Z])@sigilStartDelimiter/,
373
- {
374
- token: "sigil.delimiter",
375
- switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
376
- }
377
- ]
378
- ],
379
- "sigilContinue.noInterpol": [
380
- [/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
381
- [
382
- /(@sigilEndDelimiter)@sigilModifiers/,
383
- {
384
- cases: {
385
- "$1==$S5": { token: "sigil.delimiter", next: "@pop" },
386
- "@default": "sigil"
387
- }
388
- }
389
- ],
390
- { include: "@sigilContent" }
391
- ],
392
- attributes: [
393
- [
394
- /\@(module|type)?doc (~[sS])?"""/,
395
- {
396
- token: "comment.block.documentation",
397
- next: "@doubleQuotedHeredocDocstring"
398
- }
399
- ],
400
- [
401
- /\@(module|type)?doc (~[sS])?"/,
402
- {
403
- token: "comment.block.documentation",
404
- next: "@doubleQuotedStringDocstring"
405
- }
406
- ],
407
- [/\@(module|type)?doc false/, "comment.block.documentation"],
408
- [/\@(@variableName)/, "variable"]
409
- ],
410
- doubleQuotedHeredocDocstring: [
411
- [/"""/, { token: "comment.block.documentation", next: "@pop" }],
412
- { include: "@docstringContent" }
413
- ],
414
- doubleQuotedStringDocstring: [
415
- [/"/, { token: "comment.block.documentation", next: "@pop" }],
416
- { include: "@docstringContent" }
417
- ],
418
- symbols: [
419
- [/\?(\\.|[^\\\s])/, "number.constant"],
420
- [/&\d+/, "operator"],
421
- [/<<<|>>>/, "operator"],
422
- [/[()\[\]\{\}]|<<|>>/, "@brackets"],
423
- [/\.\.\./, "identifier"],
424
- [/=>/, "punctuation"],
425
- [/@operator/, "operator"],
426
- [/[:;,.%]/, "punctuation"]
427
- ],
428
- stringContentInterpol: [
429
- { include: "@interpolation" },
430
- { include: "@escapeChar" },
431
- { include: "@stringContent" }
432
- ],
433
- stringContent: [[/./, "string"]],
434
- stringConstantContentInterpol: [
435
- { include: "@interpolation" },
436
- { include: "@escapeChar" },
437
- { include: "@stringConstantContent" }
438
- ],
439
- stringConstantContent: [[/./, "constant"]],
440
- regexpContentInterpol: [
441
- { include: "@interpolation" },
442
- { include: "@escapeChar" },
443
- { include: "@regexpContent" }
444
- ],
445
- regexpContent: [
446
- [/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
447
- [/./, "regexp"]
448
- ],
449
- sigilContentInterpol: [
450
- { include: "@interpolation" },
451
- { include: "@escapeChar" },
452
- { include: "@sigilContent" }
453
- ],
454
- sigilContent: [[/./, "sigil"]],
455
- docstringContent: [[/./, "comment.block.documentation"]],
456
- escapeChar: [[/@escape/, "constant.character.escape"]],
457
- interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
458
- interpolationContinue: [
459
- [/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
460
- { include: "@root" }
461
- ]
462
- }
463
- };
464
- export {
465
- e as conf,
466
- t as language
467
- };
@@ -1,141 +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
- comments: {
9
- blockComment: ["/*", "*/"],
10
- lineComment: "//"
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"]
16
- ],
17
- autoClosingPairs: [
18
- { open: "{", close: "}", notIn: ["string"] },
19
- { open: "[", close: "]", notIn: ["string"] },
20
- { open: "(", close: ")", notIn: ["string"] },
21
- { open: '"', close: '"', notIn: ["string"] },
22
- { open: "'", close: "'", notIn: ["string"] }
23
- ],
24
- surroundingPairs: [
25
- { open: "{", close: "}" },
26
- { open: "[", close: "]" },
27
- { open: "(", close: ")" },
28
- { open: '"', close: '"' },
29
- { open: "'", close: "'" },
30
- { open: "<", close: ">" }
31
- ]
32
- }, o = {
33
- defaultToken: "",
34
- tokenPostfix: ".flow",
35
- keywords: [
36
- "import",
37
- "require",
38
- "export",
39
- "forbid",
40
- "native",
41
- "if",
42
- "else",
43
- "cast",
44
- "unsafe",
45
- "switch",
46
- "default"
47
- ],
48
- types: [
49
- "io",
50
- "mutable",
51
- "bool",
52
- "int",
53
- "double",
54
- "string",
55
- "flow",
56
- "void",
57
- "ref",
58
- "true",
59
- "false",
60
- "with"
61
- ],
62
- operators: [
63
- "=",
64
- ">",
65
- "<",
66
- "<=",
67
- ">=",
68
- "==",
69
- "!",
70
- "!=",
71
- ":=",
72
- "::=",
73
- "&&",
74
- "||",
75
- "+",
76
- "-",
77
- "*",
78
- "/",
79
- "@",
80
- "&",
81
- "%",
82
- ":",
83
- "->",
84
- "\\",
85
- "$",
86
- "??",
87
- "^"
88
- ],
89
- symbols: /[@$=><!~?:&|+\-*\\\/\^%]+/,
90
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
91
- tokenizer: {
92
- root: [
93
- [
94
- /[a-zA-Z_]\w*/,
95
- {
96
- cases: {
97
- "@keywords": "keyword",
98
- "@types": "type",
99
- "@default": "identifier"
100
- }
101
- }
102
- ],
103
- { include: "@whitespace" },
104
- [/[{}()\[\]]/, "delimiter"],
105
- [/[<>](?!@symbols)/, "delimiter"],
106
- [
107
- /@symbols/,
108
- {
109
- cases: {
110
- "@operators": "delimiter",
111
- "@default": ""
112
- }
113
- }
114
- ],
115
- [/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/, "number"],
116
- [/[;,.]/, "delimiter"],
117
- [/"([^"\\]|\\.)*$/, "string.invalid"],
118
- [/"/, "string", "@string"]
119
- ],
120
- whitespace: [
121
- [/[ \t\r\n]+/, ""],
122
- [/\/\*/, "comment", "@comment"],
123
- [/\/\/.*$/, "comment"]
124
- ],
125
- comment: [
126
- [/[^\/*]+/, "comment"],
127
- [/\*\//, "comment", "@pop"],
128
- [/[\/*]/, "comment"]
129
- ],
130
- string: [
131
- [/[^\\"]+/, "string"],
132
- [/@escapes/, "string.escape"],
133
- [/\\./, "string.escape.invalid"],
134
- [/"/, "string", "@pop"]
135
- ]
136
- }
137
- };
138
- export {
139
- e as conf,
140
- o as language
141
- };