@covalent/components 8.15.0-beta.1 → 8.15.0-beta.11

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 (160) hide show
  1. package/cell/cell.d.ts +12 -0
  2. package/cell/cell.d.ts.map +1 -1
  3. package/cell.js +21 -21
  4. package/cell.mjs +74 -52
  5. package/code-editor/code-editor.d.ts +30 -8
  6. package/code-editor/code-editor.d.ts.map +1 -1
  7. package/code-editor-3a09cbf1.js +732 -0
  8. package/{code-editor-383a8fae.mjs → code-editor-ce557bd5.mjs} +14372 -47270
  9. package/code-editor.js +1 -1
  10. package/code-editor.mjs +1 -1
  11. package/code-snippet.js +1 -1
  12. package/code-snippet.mjs +1 -1
  13. package/{html-d9124a1e.js → html-4fffc46e.js} +1 -1
  14. package/{html-a95df2b1.mjs → html-783f1e7c.mjs} +1 -1
  15. package/index.js +1 -1
  16. package/index.mjs +1 -1
  17. package/{javascript-0226b3a0.mjs → javascript-4d09cd3c.mjs} +2 -2
  18. package/{javascript-ec698494.js → javascript-90bb18e6.js} +1 -1
  19. package/notebook/notebook.d.ts +55 -16
  20. package/notebook/notebook.d.ts.map +1 -1
  21. package/notebook.js +76 -44
  22. package/notebook.mjs +927 -784
  23. package/package.json +1 -1
  24. package/{python-7770f129.mjs → python-562f8e9b.mjs} +1 -1
  25. package/{python-c7862f06.js → python-af3aad7d.js} +1 -1
  26. package/select.js +1 -1
  27. package/select.mjs +1 -1
  28. package/style.css +1 -1
  29. package/{typescript-eb2ab867.js → typescript-76d039b3.js} +1 -1
  30. package/{typescript-37d9bf54.mjs → typescript-a2a5d6b2.mjs} +1 -1
  31. package/{xml-9970ffe1.mjs → xml-89571455.mjs} +1 -1
  32. package/{xml-349a9a42.js → xml-e66929d0.js} +1 -1
  33. package/{yaml-837b2090.js → yaml-11a91e71.js} +1 -1
  34. package/{yaml-167e3d82.mjs → yaml-4eccd122.mjs} +1 -1
  35. package/abap-1354785f.mjs +0 -1314
  36. package/abap-c7187853.js +0 -6
  37. package/apex-279d4f27.mjs +0 -315
  38. package/apex-fc5f2b3e.js +0 -6
  39. package/assets/css.worker-1af1972f.js +0 -84
  40. package/assets/editor.worker-df55e1ff.js +0 -8
  41. package/assets/html.worker-38c267f1.js +0 -456
  42. package/assets/json.worker-bf861c27.js +0 -39
  43. package/assets/ts.worker-e151483b.js +0 -33972
  44. package/azcli-ba812c55.mjs +0 -74
  45. package/azcli-eb191d91.js +0 -6
  46. package/bat-34d38df4.js +0 -6
  47. package/bat-4d77495d.mjs +0 -95
  48. package/bicep-7b240724.mjs +0 -108
  49. package/bicep-a8264e77.js +0 -7
  50. package/cameligo-5d2daeb8.mjs +0 -168
  51. package/cameligo-6e71c8f3.js +0 -6
  52. package/clojure-355adae1.js +0 -6
  53. package/clojure-b7ea12a3.mjs +0 -754
  54. package/code-editor-4cce5e5d.js +0 -1200
  55. package/coffee-1a8cfbf4.mjs +0 -228
  56. package/coffee-fd8a7421.js +0 -6
  57. package/csp-54919de0.js +0 -6
  58. package/csp-96407af0.mjs +0 -57
  59. package/cssMode-821261c4.js +0 -9
  60. package/cssMode-9b89f9af.mjs +0 -1450
  61. package/cypher-11e5a4b6.mjs +0 -262
  62. package/cypher-cc849b67.js +0 -6
  63. package/dockerfile-2f8684f7.js +0 -6
  64. package/dockerfile-8739cff7.mjs +0 -132
  65. package/ecl-68a6f20f.js +0 -6
  66. package/ecl-a20c5155.mjs +0 -454
  67. package/elixir-32cc668e.js +0 -6
  68. package/elixir-8b028584.mjs +0 -467
  69. package/flow9-0dea2e73.mjs +0 -141
  70. package/flow9-1d2ab5f6.js +0 -6
  71. package/freemarker2-4fc0d2e6.mjs +0 -648
  72. package/freemarker2-7095cbc4.js +0 -8
  73. package/fsharp-49a70fad.mjs +0 -210
  74. package/fsharp-a22f5013.js +0 -6
  75. package/graphql-1a14eb34.js +0 -6
  76. package/graphql-51a577e5.mjs +0 -141
  77. package/handlebars-6a356ce9.js +0 -6
  78. package/handlebars-82c24f9d.mjs +0 -396
  79. package/hcl-0833427e.js +0 -6
  80. package/hcl-56b85754.mjs +0 -177
  81. package/htmlMode-3946317b.js +0 -9
  82. package/htmlMode-45fac07b.mjs +0 -1460
  83. package/ini-1d58d82f.mjs +0 -68
  84. package/ini-34a929df.js +0 -6
  85. package/jsonMode-a8e45f39.js +0 -11
  86. package/jsonMode-bdcd2ed9.mjs +0 -1871
  87. package/julia-7db1fb9a.js +0 -6
  88. package/julia-a0caf483.mjs +0 -496
  89. package/less-5219eae1.js +0 -7
  90. package/less-718543b4.mjs +0 -168
  91. package/lexon-5e6e7a44.mjs +0 -151
  92. package/lexon-dfd683ab.js +0 -6
  93. package/liquid-2dc745b6.mjs +0 -243
  94. package/liquid-b6e2effe.js +0 -6
  95. package/m3-87473279.js +0 -6
  96. package/m3-aadaf771.mjs +0 -210
  97. package/mips-161e49ce.mjs +0 -194
  98. package/mips-82a1ce59.js +0 -6
  99. package/msdax-b3b5017e.js +0 -6
  100. package/msdax-f65cb1e6.mjs +0 -377
  101. package/mysql-24549dd1.mjs +0 -875
  102. package/mysql-69f1c589.js +0 -6
  103. package/objective-c-c8319b65.js +0 -6
  104. package/objective-c-e129a5ca.mjs +0 -188
  105. package/pascal-4ccdf5ce.mjs +0 -245
  106. package/pascal-e5207a08.js +0 -6
  107. package/pascaligo-8eb79945.js +0 -6
  108. package/pascaligo-a9603dcd.mjs +0 -158
  109. package/perl-ba1fb97a.mjs +0 -599
  110. package/perl-e8264c91.js +0 -6
  111. package/pgsql-89978310.mjs +0 -843
  112. package/pgsql-c8ba6faf.js +0 -6
  113. package/pla-96c2695d.mjs +0 -131
  114. package/pla-c85b0e59.js +0 -6
  115. package/postiats-3c2c478e.js +0 -6
  116. package/postiats-7b52ebac.mjs +0 -544
  117. package/powerquery-8954ec26.mjs +0 -890
  118. package/powerquery-b0d5f9e4.js +0 -6
  119. package/powershell-cdb88123.js +0 -6
  120. package/powershell-f00d0274.mjs +0 -233
  121. package/protobuf-3eb85f80.mjs +0 -422
  122. package/protobuf-a3b2ca94.js +0 -7
  123. package/pug-6fab415a.mjs +0 -393
  124. package/pug-c5df821d.js +0 -6
  125. package/qsharp-4792f872.mjs +0 -282
  126. package/qsharp-7eddb7b9.js +0 -6
  127. package/razor-3871ef20.mjs +0 -517
  128. package/razor-4a6a11b1.js +0 -6
  129. package/redis-0d0a89dd.js +0 -6
  130. package/redis-276b8288.mjs +0 -298
  131. package/redshift-520a7359.mjs +0 -806
  132. package/redshift-b6bdaeca.js +0 -6
  133. package/restructuredtext-4676a3fc.mjs +0 -162
  134. package/restructuredtext-c83d56ed.js +0 -6
  135. package/ruby-764137cd.mjs +0 -444
  136. package/ruby-96103dcf.js +0 -6
  137. package/sb-8c22f14c.mjs +0 -110
  138. package/sb-e2701210.js +0 -6
  139. package/scheme-b9cbf7cb.js +0 -6
  140. package/scheme-e6a52cb0.mjs +0 -114
  141. package/scss-45104c77.mjs +0 -244
  142. package/scss-d0f4f80e.js +0 -8
  143. package/solidity-d4979008.mjs +0 -1351
  144. package/solidity-f1319e8a.js +0 -6
  145. package/sophia-21995caf.mjs +0 -190
  146. package/sophia-a1ce907f.js +0 -6
  147. package/sparql-5088743c.mjs +0 -193
  148. package/sparql-98d9e092.js +0 -6
  149. package/st-122893c4.js +0 -6
  150. package/st-fa9ab362.mjs +0 -414
  151. package/systemverilog-8139818b.js +0 -6
  152. package/systemverilog-a4f858ed.mjs +0 -556
  153. package/tcl-8adf937f.mjs +0 -232
  154. package/tcl-e49fed0b.js +0 -6
  155. package/tsMode-426fdb34.mjs +0 -794
  156. package/tsMode-9087ec29.js +0 -16
  157. package/twig-404eb73e.mjs +0 -323
  158. package/twig-4bfb5b04.js +0 -6
  159. package/vb-8dfd000c.js +0 -6
  160. package/vb-e21e8153.mjs +0 -364
@@ -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
- };
package/flow9-1d2ab5f6.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:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},o={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@types":"type","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"delimiter"],[/[<>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};exports.conf=e;exports.language=o;