@pb33f/cowboy-components 0.1.4 → 0.1.6

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 (98) hide show
  1. package/dist/components/editor/editor.d.ts +0 -5
  2. package/dist/components/editor/editor.js +19 -14
  3. package/dist/components/paginator/paginator-navigator.d.ts +1 -1
  4. package/dist/components/the-doctor/the-doctor.d.ts +2 -1
  5. package/dist/components/the-doctor/the-doctor.js +5 -4
  6. package/dist/cowboy-components.d.ts +2 -0
  7. package/dist/cowboy-components.js +2 -0
  8. package/dist/cowboy-components.umd.cjs +229 -2097
  9. package/dist/style.css +1 -1
  10. package/package.json +3 -3
  11. package/dist/abap-DXvTa7XC.js +0 -1404
  12. package/dist/apex-DsQH3mjJ.js +0 -332
  13. package/dist/assets/css.worker-B_qZXUzt.js +0 -84
  14. package/dist/assets/html.worker-D3WUrk8Q.js +0 -458
  15. package/dist/assets/json.worker-CAhUaBo4.js +0 -42
  16. package/dist/azcli-Cir32SBk.js +0 -74
  17. package/dist/bat-BsNExolo.js +0 -106
  18. package/dist/bicep-2KcKzeQF.js +0 -108
  19. package/dist/cameligo-D0ezznwE.js +0 -180
  20. package/dist/clojure-DxYzAIlu.js +0 -767
  21. package/dist/coffee-DgiPTF3g.js +0 -238
  22. package/dist/cowboy-components-BOuaCruy.js +0 -114388
  23. package/dist/cpp-Bq-GnYlH.js +0 -407
  24. package/dist/csharp-IDcibKAT.js +0 -332
  25. package/dist/csp-QdYr8JWa.js +0 -59
  26. package/dist/css-C-wMMefI.js +0 -193
  27. package/dist/cssMode-Cvbhe77l.js +0 -1541
  28. package/dist/cypher-BfBo9yir.js +0 -269
  29. package/dist/dart-Cv3rVfv_.js +0 -287
  30. package/dist/dockerfile-DyCXBGhV.js +0 -136
  31. package/dist/ecl-COP_iObm.js +0 -462
  32. package/dist/elixir-DoEhbk9F.js +0 -575
  33. package/dist/flow9-DuHGSNW1.js +0 -148
  34. package/dist/freemarker2-DmhDQrVn.js +0 -995
  35. package/dist/fsharp-Dv9PDxVO.js +0 -223
  36. package/dist/go-CcdAeqiK.js +0 -224
  37. package/dist/graphql-CoRm4b1H.js +0 -157
  38. package/dist/handlebars-DWUSy2Nn.js +0 -425
  39. package/dist/hcl-BSgAhV5f.js +0 -189
  40. package/dist/html-BTxdvu8o.js +0 -314
  41. package/dist/htmlMode-DeG-6tqP.js +0 -1551
  42. package/dist/ini-ewx9HLIq.js +0 -77
  43. package/dist/java-B5lwcbTy.js +0 -238
  44. package/dist/javascript-CQTBmqTv.js +0 -76
  45. package/dist/jsonMode-DJhhXlcK.js +0 -1958
  46. package/dist/julia-NCcg_P_q.js +0 -517
  47. package/dist/kotlin-BYlnmGrb.js +0 -259
  48. package/dist/less-DG4tqgOo.js +0 -168
  49. package/dist/lexon-CTTPcJLv.js +0 -163
  50. package/dist/liquid-OuSl50Zm.js +0 -246
  51. package/dist/lua-CxQ1RWuo.js +0 -168
  52. package/dist/m3-mHFfpmgx.js +0 -216
  53. package/dist/markdown-Dh6sYULt.js +0 -235
  54. package/dist/mdx-Cs8POpae.js +0 -171
  55. package/dist/mips-CNUcjHD1.js +0 -204
  56. package/dist/msdax-ZvxFeKvs.js +0 -381
  57. package/dist/mysql-COjg31sJ.js +0 -884
  58. package/dist/objective-c-BqrCFBhT.js +0 -189
  59. package/dist/pascal-CUpkilAS.js +0 -257
  60. package/dist/pascaligo-nJfvRJ7x.js +0 -170
  61. package/dist/perl-CWsX6Ysg.js +0 -632
  62. package/dist/pgsql-DwgpEXC8.js +0 -857
  63. package/dist/php-CrbKyd62.js +0 -506
  64. package/dist/pla-JxXT6Kb-.js +0 -143
  65. package/dist/postiats-BOdnTRGv.js +0 -913
  66. package/dist/powerquery-DTkwcXGH.js +0 -896
  67. package/dist/powershell-Cx53dGpt.js +0 -245
  68. package/dist/protobuf-Dp9vE-l-.js +0 -426
  69. package/dist/pug-BSjKVjwP.js +0 -408
  70. package/dist/python-BsXAz21q.js +0 -282
  71. package/dist/qsharp-C5P1RxY3.js +0 -291
  72. package/dist/r-sEMYnclc.js +0 -249
  73. package/dist/razor-CXJ9MZn4.js +0 -556
  74. package/dist/redis-DbzUc-fU.js +0 -308
  75. package/dist/redshift-nrLijj1O.js +0 -815
  76. package/dist/restructuredtext-CIbGUl6T.js +0 -180
  77. package/dist/ruby-JcYJisWg.js +0 -517
  78. package/dist/rust-BgbFBFXH.js +0 -349
  79. package/dist/sb-hRFFChi7.js +0 -121
  80. package/dist/scala-Cs0yVo3Q.js +0 -376
  81. package/dist/scheme-l_0jNtxy.js +0 -114
  82. package/dist/scss-C4l7ZIRR.js +0 -268
  83. package/dist/shell-ikLk_l24.js +0 -227
  84. package/dist/solidity-4GxCaH9e.js +0 -1373
  85. package/dist/sophia-tX0WEZsZ.js +0 -205
  86. package/dist/sparql-D7ky-uMk.js +0 -207
  87. package/dist/sql-CqEfBVGS.js +0 -859
  88. package/dist/st-CNWQPqyI.js +0 -422
  89. package/dist/swift-C_fDfC0d.js +0 -318
  90. package/dist/systemverilog-gAvsEtN_.js +0 -582
  91. package/dist/tcl-KbBChuA6.js +0 -238
  92. package/dist/tsMode-C-mwN8lz.js +0 -886
  93. package/dist/twig-Bb652BpM.js +0 -398
  94. package/dist/typescript-CamPbG-s.js +0 -349
  95. package/dist/vb-2e5hSeUh.js +0 -378
  96. package/dist/wgsl-CYSDq0zg.js +0 -445
  97. package/dist/xml-CrDvxVsf.js +0 -101
  98. package/dist/yaml-xGWjZwPI.js +0 -212
@@ -1,407 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
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
- blockComment: ["/*", "*/"]
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"]
16
- ],
17
- autoClosingPairs: [
18
- { open: "[", close: "]" },
19
- { open: "{", close: "}" },
20
- { open: "(", close: ")" },
21
- { open: "'", close: "'", notIn: ["string", "comment"] },
22
- { open: '"', close: '"', notIn: ["string"] }
23
- ],
24
- surroundingPairs: [
25
- { open: "{", close: "}" },
26
- { open: "[", close: "]" },
27
- { open: "(", close: ")" },
28
- { open: '"', close: '"' },
29
- { open: "'", close: "'" }
30
- ],
31
- folding: {
32
- markers: {
33
- start: new RegExp("^\\s*#pragma\\s+region\\b"),
34
- end: new RegExp("^\\s*#pragma\\s+endregion\\b")
35
- }
36
- }
37
- }, n = {
38
- defaultToken: "",
39
- tokenPostfix: ".cpp",
40
- brackets: [
41
- { token: "delimiter.curly", open: "{", close: "}" },
42
- { token: "delimiter.parenthesis", open: "(", close: ")" },
43
- { token: "delimiter.square", open: "[", close: "]" },
44
- { token: "delimiter.angle", open: "<", close: ">" }
45
- ],
46
- keywords: [
47
- "abstract",
48
- "amp",
49
- "array",
50
- "auto",
51
- "bool",
52
- "break",
53
- "case",
54
- "catch",
55
- "char",
56
- "class",
57
- "const",
58
- "constexpr",
59
- "const_cast",
60
- "continue",
61
- "cpu",
62
- "decltype",
63
- "default",
64
- "delegate",
65
- "delete",
66
- "do",
67
- "double",
68
- "dynamic_cast",
69
- "each",
70
- "else",
71
- "enum",
72
- "event",
73
- "explicit",
74
- "export",
75
- "extern",
76
- "false",
77
- "final",
78
- "finally",
79
- "float",
80
- "for",
81
- "friend",
82
- "gcnew",
83
- "generic",
84
- "goto",
85
- "if",
86
- "in",
87
- "initonly",
88
- "inline",
89
- "int",
90
- "interface",
91
- "interior_ptr",
92
- "internal",
93
- "literal",
94
- "long",
95
- "mutable",
96
- "namespace",
97
- "new",
98
- "noexcept",
99
- "nullptr",
100
- "__nullptr",
101
- "operator",
102
- "override",
103
- "partial",
104
- "pascal",
105
- "pin_ptr",
106
- "private",
107
- "property",
108
- "protected",
109
- "public",
110
- "ref",
111
- "register",
112
- "reinterpret_cast",
113
- "restrict",
114
- "return",
115
- "safe_cast",
116
- "sealed",
117
- "short",
118
- "signed",
119
- "sizeof",
120
- "static",
121
- "static_assert",
122
- "static_cast",
123
- "struct",
124
- "switch",
125
- "template",
126
- "this",
127
- "thread_local",
128
- "throw",
129
- "tile_static",
130
- "true",
131
- "try",
132
- "typedef",
133
- "typeid",
134
- "typename",
135
- "union",
136
- "unsigned",
137
- "using",
138
- "virtual",
139
- "void",
140
- "volatile",
141
- "wchar_t",
142
- "where",
143
- "while",
144
- "_asm",
145
- // reserved word with one underscores
146
- "_based",
147
- "_cdecl",
148
- "_declspec",
149
- "_fastcall",
150
- "_if_exists",
151
- "_if_not_exists",
152
- "_inline",
153
- "_multiple_inheritance",
154
- "_pascal",
155
- "_single_inheritance",
156
- "_stdcall",
157
- "_virtual_inheritance",
158
- "_w64",
159
- "__abstract",
160
- // reserved word with two underscores
161
- "__alignof",
162
- "__asm",
163
- "__assume",
164
- "__based",
165
- "__box",
166
- "__builtin_alignof",
167
- "__cdecl",
168
- "__clrcall",
169
- "__declspec",
170
- "__delegate",
171
- "__event",
172
- "__except",
173
- "__fastcall",
174
- "__finally",
175
- "__forceinline",
176
- "__gc",
177
- "__hook",
178
- "__identifier",
179
- "__if_exists",
180
- "__if_not_exists",
181
- "__inline",
182
- "__int128",
183
- "__int16",
184
- "__int32",
185
- "__int64",
186
- "__int8",
187
- "__interface",
188
- "__leave",
189
- "__m128",
190
- "__m128d",
191
- "__m128i",
192
- "__m256",
193
- "__m256d",
194
- "__m256i",
195
- "__m512",
196
- "__m512d",
197
- "__m512i",
198
- "__m64",
199
- "__multiple_inheritance",
200
- "__newslot",
201
- "__nogc",
202
- "__noop",
203
- "__nounwind",
204
- "__novtordisp",
205
- "__pascal",
206
- "__pin",
207
- "__pragma",
208
- "__property",
209
- "__ptr32",
210
- "__ptr64",
211
- "__raise",
212
- "__restrict",
213
- "__resume",
214
- "__sealed",
215
- "__single_inheritance",
216
- "__stdcall",
217
- "__super",
218
- "__thiscall",
219
- "__try",
220
- "__try_cast",
221
- "__typeof",
222
- "__unaligned",
223
- "__unhook",
224
- "__uuidof",
225
- "__value",
226
- "__virtual_inheritance",
227
- "__w64",
228
- "__wchar_t"
229
- ],
230
- operators: [
231
- "=",
232
- ">",
233
- "<",
234
- "!",
235
- "~",
236
- "?",
237
- ":",
238
- "==",
239
- "<=",
240
- ">=",
241
- "!=",
242
- "&&",
243
- "||",
244
- "++",
245
- "--",
246
- "+",
247
- "-",
248
- "*",
249
- "/",
250
- "&",
251
- "|",
252
- "^",
253
- "%",
254
- "<<",
255
- ">>",
256
- "+=",
257
- "-=",
258
- "*=",
259
- "/=",
260
- "&=",
261
- "|=",
262
- "^=",
263
- "%=",
264
- "<<=",
265
- ">>="
266
- ],
267
- // we include these common regular expressions
268
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
269
- escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
270
- integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
271
- floatsuffix: /[fFlL]?/,
272
- encoding: /u|u8|U|L/,
273
- // The main tokenizer for our languages
274
- tokenizer: {
275
- root: [
276
- // C++ 11 Raw String
277
- [/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
278
- // identifiers and keywords
279
- [
280
- /[a-zA-Z_]\w*/,
281
- {
282
- cases: {
283
- "@keywords": { token: "keyword.$0" },
284
- "@default": "identifier"
285
- }
286
- }
287
- ],
288
- // The preprocessor checks must be before whitespace as they check /^\s*#/ which
289
- // otherwise fails to match later after other whitespace has been removed.
290
- // Inclusion
291
- [/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
292
- // Preprocessor directive
293
- [/^\s*#\s*\w+/, "keyword.directive"],
294
- // whitespace
295
- { include: "@whitespace" },
296
- // [[ attributes ]].
297
- [/\[\s*\[/, { token: "annotation", next: "@annotation" }],
298
- // delimiters and operators
299
- [/[{}()<>\[\]]/, "@brackets"],
300
- [
301
- /@symbols/,
302
- {
303
- cases: {
304
- "@operators": "delimiter",
305
- "@default": ""
306
- }
307
- }
308
- ],
309
- // numbers
310
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
311
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
312
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
313
- [/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
314
- [/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
315
- [/\d[\d']*\d(@integersuffix)/, "number"],
316
- [/\d(@integersuffix)/, "number"],
317
- // delimiter: after number because of .\d floats
318
- [/[;,.]/, "delimiter"],
319
- // strings
320
- [/"([^"\\]|\\.)*$/, "string.invalid"],
321
- // non-teminated string
322
- [/"/, "string", "@string"],
323
- // characters
324
- [/'[^\\']'/, "string"],
325
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
326
- [/'/, "string.invalid"]
327
- ],
328
- whitespace: [
329
- [/[ \t\r\n]+/, ""],
330
- [/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
331
- [/\/\*/, "comment", "@comment"],
332
- [/\/\/.*\\$/, "comment", "@linecomment"],
333
- [/\/\/.*$/, "comment"]
334
- ],
335
- comment: [
336
- [/[^\/*]+/, "comment"],
337
- [/\*\//, "comment", "@pop"],
338
- [/[\/*]/, "comment"]
339
- ],
340
- //For use with continuous line comments
341
- linecomment: [
342
- [/.*[^\\]$/, "comment", "@pop"],
343
- [/[^]+/, "comment"]
344
- ],
345
- //Identical copy of comment above, except for the addition of .doc
346
- doccomment: [
347
- [/[^\/*]+/, "comment.doc"],
348
- [/\*\//, "comment.doc", "@pop"],
349
- [/[\/*]/, "comment.doc"]
350
- ],
351
- string: [
352
- [/[^\\"]+/, "string"],
353
- [/@escapes/, "string.escape"],
354
- [/\\./, "string.escape.invalid"],
355
- [/"/, "string", "@pop"]
356
- ],
357
- raw: [
358
- [
359
- /(.*)(\))(?:([^ ()\\\t"]*))(\")/,
360
- {
361
- cases: {
362
- "$3==$S2": [
363
- "string.raw",
364
- "string.raw.end",
365
- "string.raw.end",
366
- { token: "string.raw.end", next: "@pop" }
367
- ],
368
- "@default": ["string.raw", "string.raw", "string.raw", "string.raw"]
369
- }
370
- }
371
- ],
372
- [/.*/, "string.raw"]
373
- ],
374
- annotation: [
375
- { include: "@whitespace" },
376
- [/using|alignas/, "keyword"],
377
- [/[a-zA-Z0-9_]+/, "annotation"],
378
- [/[,:]/, "delimiter"],
379
- [/[()]/, "@brackets"],
380
- [/\]\s*\]/, { token: "annotation", next: "@pop" }]
381
- ],
382
- include: [
383
- [
384
- /(\s*)(<)([^<>]*)(>)/,
385
- [
386
- "",
387
- "keyword.directive.include.begin",
388
- "string.include.identifier",
389
- { token: "keyword.directive.include.end", next: "@pop" }
390
- ]
391
- ],
392
- [
393
- /(\s*)(")([^"]*)(")/,
394
- [
395
- "",
396
- "keyword.directive.include.begin",
397
- "string.include.identifier",
398
- { token: "keyword.directive.include.end", next: "@pop" }
399
- ]
400
- ]
401
- ]
402
- }
403
- };
404
- export {
405
- e as conf,
406
- n as language
407
- };