@covalent/components 8.15.0-beta.5 → 8.15.0-beta.7

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 (148) hide show
  1. package/cell.js +2 -2
  2. package/cell.mjs +2 -2
  3. package/code-editor/code-editor.d.ts +23 -1
  4. package/code-editor/code-editor.d.ts.map +1 -1
  5. package/code-editor-3a09cbf1.js +732 -0
  6. package/{code-editor-50658551.mjs → code-editor-ce557bd5.mjs} +14343 -47224
  7. package/code-editor.js +1 -1
  8. package/code-editor.mjs +1 -1
  9. package/{html-e9028ad1.js → html-4fffc46e.js} +1 -1
  10. package/{html-201c3d5b.mjs → html-783f1e7c.mjs} +1 -1
  11. package/index.js +1 -1
  12. package/index.mjs +1 -1
  13. package/{javascript-b57f3bab.mjs → javascript-4d09cd3c.mjs} +2 -2
  14. package/{javascript-3c211951.js → javascript-90bb18e6.js} +1 -1
  15. package/notebook/notebook.d.ts.map +1 -1
  16. package/notebook.js +4 -4
  17. package/notebook.mjs +40 -33
  18. package/package.json +1 -1
  19. package/{python-fc06c865.mjs → python-562f8e9b.mjs} +1 -1
  20. package/{python-bc49c081.js → python-af3aad7d.js} +1 -1
  21. package/style.css +1 -1
  22. package/{typescript-40210801.js → typescript-76d039b3.js} +1 -1
  23. package/{typescript-43c5c20d.mjs → typescript-a2a5d6b2.mjs} +1 -1
  24. package/{xml-fa896994.mjs → xml-89571455.mjs} +1 -1
  25. package/{xml-7bc2fc7c.js → xml-e66929d0.js} +1 -1
  26. package/{yaml-ed9aa786.js → yaml-11a91e71.js} +1 -1
  27. package/{yaml-78bd2cbe.mjs → yaml-4eccd122.mjs} +1 -1
  28. package/abap-1354785f.mjs +0 -1314
  29. package/abap-c7187853.js +0 -6
  30. package/apex-279d4f27.mjs +0 -315
  31. package/apex-fc5f2b3e.js +0 -6
  32. package/azcli-ba812c55.mjs +0 -74
  33. package/azcli-eb191d91.js +0 -6
  34. package/bat-34d38df4.js +0 -6
  35. package/bat-4d77495d.mjs +0 -95
  36. package/bicep-7b240724.mjs +0 -108
  37. package/bicep-a8264e77.js +0 -7
  38. package/cameligo-5d2daeb8.mjs +0 -168
  39. package/cameligo-6e71c8f3.js +0 -6
  40. package/clojure-355adae1.js +0 -6
  41. package/clojure-b7ea12a3.mjs +0 -754
  42. package/code-editor-1a85e0d5.js +0 -1200
  43. package/coffee-1a8cfbf4.mjs +0 -228
  44. package/coffee-fd8a7421.js +0 -6
  45. package/csp-54919de0.js +0 -6
  46. package/csp-96407af0.mjs +0 -57
  47. package/cssMode-2b74fdc2.mjs +0 -1450
  48. package/cssMode-9d3a459c.js +0 -9
  49. package/cypher-11e5a4b6.mjs +0 -262
  50. package/cypher-cc849b67.js +0 -6
  51. package/dockerfile-2f8684f7.js +0 -6
  52. package/dockerfile-8739cff7.mjs +0 -132
  53. package/ecl-68a6f20f.js +0 -6
  54. package/ecl-a20c5155.mjs +0 -454
  55. package/elixir-32cc668e.js +0 -6
  56. package/elixir-8b028584.mjs +0 -467
  57. package/flow9-0dea2e73.mjs +0 -141
  58. package/flow9-1d2ab5f6.js +0 -6
  59. package/freemarker2-bde9aca2.js +0 -8
  60. package/freemarker2-cfbd8857.mjs +0 -648
  61. package/fsharp-49a70fad.mjs +0 -210
  62. package/fsharp-a22f5013.js +0 -6
  63. package/graphql-1a14eb34.js +0 -6
  64. package/graphql-51a577e5.mjs +0 -141
  65. package/handlebars-c9cf3ba5.mjs +0 -396
  66. package/handlebars-f9941f98.js +0 -6
  67. package/hcl-0833427e.js +0 -6
  68. package/hcl-56b85754.mjs +0 -177
  69. package/htmlMode-81e069aa.mjs +0 -1460
  70. package/htmlMode-8825beb1.js +0 -9
  71. package/ini-1d58d82f.mjs +0 -68
  72. package/ini-34a929df.js +0 -6
  73. package/jsonMode-1e42d08e.mjs +0 -1871
  74. package/jsonMode-8cd3f8b9.js +0 -11
  75. package/julia-7db1fb9a.js +0 -6
  76. package/julia-a0caf483.mjs +0 -496
  77. package/less-5219eae1.js +0 -7
  78. package/less-718543b4.mjs +0 -168
  79. package/lexon-5e6e7a44.mjs +0 -151
  80. package/lexon-dfd683ab.js +0 -6
  81. package/liquid-987381d2.mjs +0 -243
  82. package/liquid-c3f3aaaf.js +0 -6
  83. package/m3-87473279.js +0 -6
  84. package/m3-aadaf771.mjs +0 -210
  85. package/mips-161e49ce.mjs +0 -194
  86. package/mips-82a1ce59.js +0 -6
  87. package/msdax-b3b5017e.js +0 -6
  88. package/msdax-f65cb1e6.mjs +0 -377
  89. package/mysql-24549dd1.mjs +0 -875
  90. package/mysql-69f1c589.js +0 -6
  91. package/objective-c-c8319b65.js +0 -6
  92. package/objective-c-e129a5ca.mjs +0 -188
  93. package/pascal-4ccdf5ce.mjs +0 -245
  94. package/pascal-e5207a08.js +0 -6
  95. package/pascaligo-8eb79945.js +0 -6
  96. package/pascaligo-a9603dcd.mjs +0 -158
  97. package/perl-ba1fb97a.mjs +0 -599
  98. package/perl-e8264c91.js +0 -6
  99. package/pgsql-89978310.mjs +0 -843
  100. package/pgsql-c8ba6faf.js +0 -6
  101. package/pla-96c2695d.mjs +0 -131
  102. package/pla-c85b0e59.js +0 -6
  103. package/postiats-3c2c478e.js +0 -6
  104. package/postiats-7b52ebac.mjs +0 -544
  105. package/powerquery-8954ec26.mjs +0 -890
  106. package/powerquery-b0d5f9e4.js +0 -6
  107. package/powershell-cdb88123.js +0 -6
  108. package/powershell-f00d0274.mjs +0 -233
  109. package/protobuf-3eb85f80.mjs +0 -422
  110. package/protobuf-a3b2ca94.js +0 -7
  111. package/pug-6fab415a.mjs +0 -393
  112. package/pug-c5df821d.js +0 -6
  113. package/qsharp-4792f872.mjs +0 -282
  114. package/qsharp-7eddb7b9.js +0 -6
  115. package/razor-52a04ea4.mjs +0 -517
  116. package/razor-90572182.js +0 -6
  117. package/redis-0d0a89dd.js +0 -6
  118. package/redis-276b8288.mjs +0 -298
  119. package/redshift-520a7359.mjs +0 -806
  120. package/redshift-b6bdaeca.js +0 -6
  121. package/restructuredtext-4676a3fc.mjs +0 -162
  122. package/restructuredtext-c83d56ed.js +0 -6
  123. package/ruby-764137cd.mjs +0 -444
  124. package/ruby-96103dcf.js +0 -6
  125. package/sb-8c22f14c.mjs +0 -110
  126. package/sb-e2701210.js +0 -6
  127. package/scheme-b9cbf7cb.js +0 -6
  128. package/scheme-e6a52cb0.mjs +0 -114
  129. package/scss-45104c77.mjs +0 -244
  130. package/scss-d0f4f80e.js +0 -8
  131. package/solidity-d4979008.mjs +0 -1351
  132. package/solidity-f1319e8a.js +0 -6
  133. package/sophia-21995caf.mjs +0 -190
  134. package/sophia-a1ce907f.js +0 -6
  135. package/sparql-5088743c.mjs +0 -193
  136. package/sparql-98d9e092.js +0 -6
  137. package/st-122893c4.js +0 -6
  138. package/st-fa9ab362.mjs +0 -414
  139. package/systemverilog-8139818b.js +0 -6
  140. package/systemverilog-a4f858ed.mjs +0 -556
  141. package/tcl-8adf937f.mjs +0 -232
  142. package/tcl-e49fed0b.js +0 -6
  143. package/tsMode-d31816b7.js +0 -16
  144. package/tsMode-f63ee283.mjs +0 -794
  145. package/twig-404eb73e.mjs +0 -323
  146. package/twig-4bfb5b04.js +0 -6
  147. package/vb-8dfd000c.js +0 -6
  148. package/vb-e21e8153.mjs +0 -364
package/pug-6fab415a.mjs DELETED
@@ -1,393 +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
- autoClosingPairs: [
17
- { open: '"', close: '"', notIn: ["string", "comment"] },
18
- { open: "'", close: "'", notIn: ["string", "comment"] },
19
- { open: "{", close: "}", notIn: ["string", "comment"] },
20
- { open: "[", close: "]", notIn: ["string", "comment"] },
21
- { open: "(", close: ")", notIn: ["string", "comment"] }
22
- ],
23
- folding: {
24
- offSide: !0
25
- }
26
- }, t = {
27
- defaultToken: "",
28
- tokenPostfix: ".pug",
29
- ignoreCase: !0,
30
- brackets: [
31
- { token: "delimiter.curly", open: "{", close: "}" },
32
- { token: "delimiter.array", open: "[", close: "]" },
33
- { token: "delimiter.parenthesis", open: "(", close: ")" }
34
- ],
35
- keywords: [
36
- "append",
37
- "block",
38
- "case",
39
- "default",
40
- "doctype",
41
- "each",
42
- "else",
43
- "extends",
44
- "for",
45
- "if",
46
- "in",
47
- "include",
48
- "mixin",
49
- "typeof",
50
- "unless",
51
- "var",
52
- "when"
53
- ],
54
- tags: [
55
- "a",
56
- "abbr",
57
- "acronym",
58
- "address",
59
- "area",
60
- "article",
61
- "aside",
62
- "audio",
63
- "b",
64
- "base",
65
- "basefont",
66
- "bdi",
67
- "bdo",
68
- "blockquote",
69
- "body",
70
- "br",
71
- "button",
72
- "canvas",
73
- "caption",
74
- "center",
75
- "cite",
76
- "code",
77
- "col",
78
- "colgroup",
79
- "command",
80
- "datalist",
81
- "dd",
82
- "del",
83
- "details",
84
- "dfn",
85
- "div",
86
- "dl",
87
- "dt",
88
- "em",
89
- "embed",
90
- "fieldset",
91
- "figcaption",
92
- "figure",
93
- "font",
94
- "footer",
95
- "form",
96
- "frame",
97
- "frameset",
98
- "h1",
99
- "h2",
100
- "h3",
101
- "h4",
102
- "h5",
103
- "h6",
104
- "head",
105
- "header",
106
- "hgroup",
107
- "hr",
108
- "html",
109
- "i",
110
- "iframe",
111
- "img",
112
- "input",
113
- "ins",
114
- "keygen",
115
- "kbd",
116
- "label",
117
- "li",
118
- "link",
119
- "map",
120
- "mark",
121
- "menu",
122
- "meta",
123
- "meter",
124
- "nav",
125
- "noframes",
126
- "noscript",
127
- "object",
128
- "ol",
129
- "optgroup",
130
- "option",
131
- "output",
132
- "p",
133
- "param",
134
- "pre",
135
- "progress",
136
- "q",
137
- "rp",
138
- "rt",
139
- "ruby",
140
- "s",
141
- "samp",
142
- "script",
143
- "section",
144
- "select",
145
- "small",
146
- "source",
147
- "span",
148
- "strike",
149
- "strong",
150
- "style",
151
- "sub",
152
- "summary",
153
- "sup",
154
- "table",
155
- "tbody",
156
- "td",
157
- "textarea",
158
- "tfoot",
159
- "th",
160
- "thead",
161
- "time",
162
- "title",
163
- "tr",
164
- "tracks",
165
- "tt",
166
- "u",
167
- "ul",
168
- "video",
169
- "wbr"
170
- ],
171
- symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
172
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
173
- tokenizer: {
174
- root: [
175
- [
176
- /^(\s*)([a-zA-Z_-][\w-]*)/,
177
- {
178
- cases: {
179
- "$2@tags": {
180
- cases: {
181
- "@eos": ["", "tag"],
182
- "@default": ["", { token: "tag", next: "@tag.$1" }]
183
- }
184
- },
185
- "$2@keywords": ["", { token: "keyword.$2" }],
186
- "@default": ["", ""]
187
- }
188
- }
189
- ],
190
- [
191
- /^(\s*)(#[a-zA-Z_-][\w-]*)/,
192
- {
193
- cases: {
194
- "@eos": ["", "tag.id"],
195
- "@default": ["", { token: "tag.id", next: "@tag.$1" }]
196
- }
197
- }
198
- ],
199
- [
200
- /^(\s*)(\.[a-zA-Z_-][\w-]*)/,
201
- {
202
- cases: {
203
- "@eos": ["", "tag.class"],
204
- "@default": ["", { token: "tag.class", next: "@tag.$1" }]
205
- }
206
- }
207
- ],
208
- [/^(\s*)(\|.*)$/, ""],
209
- { include: "@whitespace" },
210
- [
211
- /[a-zA-Z_$][\w$]*/,
212
- {
213
- cases: {
214
- "@keywords": { token: "keyword.$0" },
215
- "@default": ""
216
- }
217
- }
218
- ],
219
- [/[{}()\[\]]/, "@brackets"],
220
- [/@symbols/, "delimiter"],
221
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
222
- [/\d+/, "number"],
223
- [/"/, "string", '@string."'],
224
- [/'/, "string", "@string.'"]
225
- ],
226
- tag: [
227
- [/(\.)(\s*$)/, [{ token: "delimiter", next: "@blockText.$S2." }, ""]],
228
- [/\s+/, { token: "", next: "@simpleText" }],
229
- [
230
- /#[a-zA-Z_-][\w-]*/,
231
- {
232
- cases: {
233
- "@eos": { token: "tag.id", next: "@pop" },
234
- "@default": "tag.id"
235
- }
236
- }
237
- ],
238
- [
239
- /\.[a-zA-Z_-][\w-]*/,
240
- {
241
- cases: {
242
- "@eos": { token: "tag.class", next: "@pop" },
243
- "@default": "tag.class"
244
- }
245
- }
246
- ],
247
- [/\(/, { token: "delimiter.parenthesis", next: "@attributeList" }]
248
- ],
249
- simpleText: [
250
- [/[^#]+$/, { token: "", next: "@popall" }],
251
- [/[^#]+/, { token: "" }],
252
- [
253
- /(#{)([^}]*)(})/,
254
- {
255
- cases: {
256
- "@eos": [
257
- "interpolation.delimiter",
258
- "interpolation",
259
- {
260
- token: "interpolation.delimiter",
261
- next: "@popall"
262
- }
263
- ],
264
- "@default": ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]
265
- }
266
- }
267
- ],
268
- [/#$/, { token: "", next: "@popall" }],
269
- [/#/, ""]
270
- ],
271
- attributeList: [
272
- [/\s+/, ""],
273
- [
274
- /(\w+)(\s*=\s*)("|')/,
275
- ["attribute.name", "delimiter", { token: "attribute.value", next: "@value.$3" }]
276
- ],
277
- [/\w+/, "attribute.name"],
278
- [
279
- /,/,
280
- {
281
- cases: {
282
- "@eos": {
283
- token: "attribute.delimiter",
284
- next: "@popall"
285
- },
286
- "@default": "attribute.delimiter"
287
- }
288
- }
289
- ],
290
- [/\)$/, { token: "delimiter.parenthesis", next: "@popall" }],
291
- [/\)/, { token: "delimiter.parenthesis", next: "@pop" }]
292
- ],
293
- whitespace: [
294
- [/^(\s*)(\/\/.*)$/, { token: "comment", next: "@blockText.$1.comment" }],
295
- [/[ \t\r\n]+/, ""],
296
- [/<!--/, { token: "comment", next: "@comment" }]
297
- ],
298
- blockText: [
299
- [
300
- /^\s+.*$/,
301
- {
302
- cases: {
303
- "($S2\\s+.*$)": { token: "$S3" },
304
- "@default": { token: "@rematch", next: "@popall" }
305
- }
306
- }
307
- ],
308
- [/./, { token: "@rematch", next: "@popall" }]
309
- ],
310
- comment: [
311
- [/[^<\-]+/, "comment.content"],
312
- [/-->/, { token: "comment", next: "@pop" }],
313
- [/<!--/, "comment.content.invalid"],
314
- [/[<\-]/, "comment.content"]
315
- ],
316
- string: [
317
- [
318
- /[^\\"'#]+/,
319
- {
320
- cases: {
321
- "@eos": { token: "string", next: "@popall" },
322
- "@default": "string"
323
- }
324
- }
325
- ],
326
- [
327
- /@escapes/,
328
- {
329
- cases: {
330
- "@eos": { token: "string.escape", next: "@popall" },
331
- "@default": "string.escape"
332
- }
333
- }
334
- ],
335
- [
336
- /\\./,
337
- {
338
- cases: {
339
- "@eos": {
340
- token: "string.escape.invalid",
341
- next: "@popall"
342
- },
343
- "@default": "string.escape.invalid"
344
- }
345
- }
346
- ],
347
- [/(#{)([^}]*)(})/, ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]],
348
- [/#/, "string"],
349
- [
350
- /["']/,
351
- {
352
- cases: {
353
- "$#==$S2": { token: "string", next: "@pop" },
354
- "@default": { token: "string" }
355
- }
356
- }
357
- ]
358
- ],
359
- value: [
360
- [
361
- /[^\\"']+/,
362
- {
363
- cases: {
364
- "@eos": { token: "attribute.value", next: "@popall" },
365
- "@default": "attribute.value"
366
- }
367
- }
368
- ],
369
- [
370
- /\\./,
371
- {
372
- cases: {
373
- "@eos": { token: "attribute.value", next: "@popall" },
374
- "@default": "attribute.value"
375
- }
376
- }
377
- ],
378
- [
379
- /["']/,
380
- {
381
- cases: {
382
- "$#==$S2": { token: "attribute.value", next: "@pop" },
383
- "@default": { token: "attribute.value" }
384
- }
385
- }
386
- ]
387
- ]
388
- }
389
- };
390
- export {
391
- e as conf,
392
- t as language
393
- };
package/pug-c5df821d.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:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},t={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}};exports.conf=e;exports.language=t;
@@ -1,282 +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
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: '"', close: '"', notIn: ["string", "comment"] }
21
- ],
22
- surroundingPairs: [
23
- { open: "{", close: "}" },
24
- { open: "[", close: "]" },
25
- { open: "(", close: ")" },
26
- { open: '"', close: '"' }
27
- ]
28
- }, t = {
29
- keywords: [
30
- "namespace",
31
- "open",
32
- "as",
33
- "operation",
34
- "function",
35
- "body",
36
- "adjoint",
37
- "newtype",
38
- "controlled",
39
- "if",
40
- "elif",
41
- "else",
42
- "repeat",
43
- "until",
44
- "fixup",
45
- "for",
46
- "in",
47
- "while",
48
- "return",
49
- "fail",
50
- "within",
51
- "apply",
52
- "Adjoint",
53
- "Controlled",
54
- "Adj",
55
- "Ctl",
56
- "is",
57
- "self",
58
- "auto",
59
- "distribute",
60
- "invert",
61
- "intrinsic",
62
- "let",
63
- "set",
64
- "w/",
65
- "new",
66
- "not",
67
- "and",
68
- "or",
69
- "use",
70
- "borrow",
71
- "using",
72
- "borrowing",
73
- "mutable",
74
- "internal"
75
- ],
76
- typeKeywords: [
77
- "Unit",
78
- "Int",
79
- "BigInt",
80
- "Double",
81
- "Bool",
82
- "String",
83
- "Qubit",
84
- "Result",
85
- "Pauli",
86
- "Range"
87
- ],
88
- invalidKeywords: [
89
- "abstract",
90
- "base",
91
- "bool",
92
- "break",
93
- "byte",
94
- "case",
95
- "catch",
96
- "char",
97
- "checked",
98
- "class",
99
- "const",
100
- "continue",
101
- "decimal",
102
- "default",
103
- "delegate",
104
- "do",
105
- "double",
106
- "enum",
107
- "event",
108
- "explicit",
109
- "extern",
110
- "finally",
111
- "fixed",
112
- "float",
113
- "foreach",
114
- "goto",
115
- "implicit",
116
- "int",
117
- "interface",
118
- "lock",
119
- "long",
120
- "null",
121
- "object",
122
- "operator",
123
- "out",
124
- "override",
125
- "params",
126
- "private",
127
- "protected",
128
- "public",
129
- "readonly",
130
- "ref",
131
- "sbyte",
132
- "sealed",
133
- "short",
134
- "sizeof",
135
- "stackalloc",
136
- "static",
137
- "string",
138
- "struct",
139
- "switch",
140
- "this",
141
- "throw",
142
- "try",
143
- "typeof",
144
- "unit",
145
- "ulong",
146
- "unchecked",
147
- "unsafe",
148
- "ushort",
149
- "virtual",
150
- "void",
151
- "volatile"
152
- ],
153
- constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
154
- builtin: [
155
- "X",
156
- "Y",
157
- "Z",
158
- "H",
159
- "HY",
160
- "S",
161
- "T",
162
- "SWAP",
163
- "CNOT",
164
- "CCNOT",
165
- "MultiX",
166
- "R",
167
- "RFrac",
168
- "Rx",
169
- "Ry",
170
- "Rz",
171
- "R1",
172
- "R1Frac",
173
- "Exp",
174
- "ExpFrac",
175
- "Measure",
176
- "M",
177
- "MultiM",
178
- "Message",
179
- "Length",
180
- "Assert",
181
- "AssertProb",
182
- "AssertEqual"
183
- ],
184
- operators: [
185
- "and=",
186
- "<-",
187
- "->",
188
- "*",
189
- "*=",
190
- "@",
191
- "!",
192
- "^",
193
- "^=",
194
- ":",
195
- "::",
196
- "..",
197
- "==",
198
- "...",
199
- "=",
200
- "=>",
201
- ">",
202
- ">=",
203
- "<",
204
- "<=",
205
- "-",
206
- "-=",
207
- "!=",
208
- "or=",
209
- "%",
210
- "%=",
211
- "|",
212
- "+",
213
- "+=",
214
- "?",
215
- "/",
216
- "/=",
217
- "&&&",
218
- "&&&=",
219
- "^^^",
220
- "^^^=",
221
- ">>>",
222
- ">>>=",
223
- "<<<",
224
- "<<<=",
225
- "|||",
226
- "|||=",
227
- "~~~",
228
- "_",
229
- "w/",
230
- "w/="
231
- ],
232
- namespaceFollows: ["namespace", "open"],
233
- symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
234
- escapes: /\\[\s\S]/,
235
- tokenizer: {
236
- root: [
237
- [
238
- /[a-zA-Z_$][\w$]*/,
239
- {
240
- cases: {
241
- "@namespaceFollows": {
242
- token: "keyword.$0",
243
- next: "@namespace"
244
- },
245
- "@typeKeywords": "type",
246
- "@keywords": "keyword",
247
- "@constants": "constant",
248
- "@builtin": "keyword",
249
- "@invalidKeywords": "invalid",
250
- "@default": "identifier"
251
- }
252
- }
253
- ],
254
- { include: "@whitespace" },
255
- [/[{}()\[\]]/, "@brackets"],
256
- [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
257
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
258
- [/\d+/, "number"],
259
- [/[;,.]/, "delimiter"],
260
- [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
261
- ],
262
- string: [
263
- [/[^\\"]+/, "string"],
264
- [/@escapes/, "string.escape"],
265
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
266
- ],
267
- namespace: [
268
- { include: "@whitespace" },
269
- [/[A-Za-z]\w*/, "namespace"],
270
- [/[\.=]/, "delimiter"],
271
- ["", "", "@pop"]
272
- ],
273
- whitespace: [
274
- [/[ \t\r\n]+/, "white"],
275
- [/(\/\/).*/, "comment"]
276
- ]
277
- }
278
- };
279
- export {
280
- e as conf,
281
- t as language
282
- };