@pb33f/cowboy-components 0.1.5 → 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.
- package/dist/components/editor/editor.d.ts +0 -5
- package/dist/components/editor/editor.js +19 -14
- package/dist/components/the-doctor/the-doctor.d.ts +2 -1
- package/dist/components/the-doctor/the-doctor.js +5 -4
- package/dist/cowboy-components.umd.cjs +229 -2097
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/abap-DXvTa7XC.js +0 -1404
- package/dist/apex-DsQH3mjJ.js +0 -332
- package/dist/assets/css.worker-B_qZXUzt.js +0 -84
- package/dist/assets/html.worker-D3WUrk8Q.js +0 -458
- package/dist/assets/json.worker-CAhUaBo4.js +0 -42
- package/dist/azcli-Cir32SBk.js +0 -74
- package/dist/bat-BsNExolo.js +0 -106
- package/dist/bicep-2KcKzeQF.js +0 -108
- package/dist/cameligo-D0ezznwE.js +0 -180
- package/dist/clojure-DxYzAIlu.js +0 -767
- package/dist/coffee-DgiPTF3g.js +0 -238
- package/dist/cowboy-components-hbd_SH05.js +0 -114403
- package/dist/cpp-Bq-GnYlH.js +0 -407
- package/dist/csharp-IDcibKAT.js +0 -332
- package/dist/csp-QdYr8JWa.js +0 -59
- package/dist/css-C-wMMefI.js +0 -193
- package/dist/cssMode-CfZSjkJv.js +0 -1541
- package/dist/cypher-BfBo9yir.js +0 -269
- package/dist/dart-Cv3rVfv_.js +0 -287
- package/dist/dockerfile-DyCXBGhV.js +0 -136
- package/dist/ecl-COP_iObm.js +0 -462
- package/dist/elixir-DoEhbk9F.js +0 -575
- package/dist/flow9-DuHGSNW1.js +0 -148
- package/dist/freemarker2-BCtMhUKE.js +0 -995
- package/dist/fsharp-Dv9PDxVO.js +0 -223
- package/dist/go-CcdAeqiK.js +0 -224
- package/dist/graphql-CoRm4b1H.js +0 -157
- package/dist/handlebars-BUEU1owd.js +0 -425
- package/dist/hcl-BSgAhV5f.js +0 -189
- package/dist/html-CRlKlrfQ.js +0 -314
- package/dist/htmlMode-cS9DqVfn.js +0 -1551
- package/dist/ini-ewx9HLIq.js +0 -77
- package/dist/java-B5lwcbTy.js +0 -238
- package/dist/javascript-BMaV8auA.js +0 -76
- package/dist/jsonMode-D62-dAOQ.js +0 -1958
- package/dist/julia-NCcg_P_q.js +0 -517
- package/dist/kotlin-BYlnmGrb.js +0 -259
- package/dist/less-DG4tqgOo.js +0 -168
- package/dist/lexon-CTTPcJLv.js +0 -163
- package/dist/liquid-BbJLFywP.js +0 -246
- package/dist/lua-CxQ1RWuo.js +0 -168
- package/dist/m3-mHFfpmgx.js +0 -216
- package/dist/markdown-Dh6sYULt.js +0 -235
- package/dist/mdx-DrSxsH3F.js +0 -171
- package/dist/mips-CNUcjHD1.js +0 -204
- package/dist/msdax-ZvxFeKvs.js +0 -381
- package/dist/mysql-COjg31sJ.js +0 -884
- package/dist/objective-c-BqrCFBhT.js +0 -189
- package/dist/pascal-CUpkilAS.js +0 -257
- package/dist/pascaligo-nJfvRJ7x.js +0 -170
- package/dist/perl-CWsX6Ysg.js +0 -632
- package/dist/pgsql-DwgpEXC8.js +0 -857
- package/dist/php-CrbKyd62.js +0 -506
- package/dist/pla-JxXT6Kb-.js +0 -143
- package/dist/postiats-BOdnTRGv.js +0 -913
- package/dist/powerquery-DTkwcXGH.js +0 -896
- package/dist/powershell-Cx53dGpt.js +0 -245
- package/dist/protobuf-Dp9vE-l-.js +0 -426
- package/dist/pug-BSjKVjwP.js +0 -408
- package/dist/python-DG6cictE.js +0 -282
- package/dist/qsharp-C5P1RxY3.js +0 -291
- package/dist/r-sEMYnclc.js +0 -249
- package/dist/razor-DBF9cLix.js +0 -556
- package/dist/redis-DbzUc-fU.js +0 -308
- package/dist/redshift-nrLijj1O.js +0 -815
- package/dist/restructuredtext-CIbGUl6T.js +0 -180
- package/dist/ruby-JcYJisWg.js +0 -517
- package/dist/rust-BgbFBFXH.js +0 -349
- package/dist/sb-hRFFChi7.js +0 -121
- package/dist/scala-Cs0yVo3Q.js +0 -376
- package/dist/scheme-l_0jNtxy.js +0 -114
- package/dist/scss-C4l7ZIRR.js +0 -268
- package/dist/shell-ikLk_l24.js +0 -227
- package/dist/solidity-4GxCaH9e.js +0 -1373
- package/dist/sophia-tX0WEZsZ.js +0 -205
- package/dist/sparql-D7ky-uMk.js +0 -207
- package/dist/sql-CqEfBVGS.js +0 -859
- package/dist/st-CNWQPqyI.js +0 -422
- package/dist/swift-C_fDfC0d.js +0 -318
- package/dist/systemverilog-gAvsEtN_.js +0 -582
- package/dist/tcl-KbBChuA6.js +0 -238
- package/dist/tsMode-7L6KLcwZ.js +0 -886
- package/dist/twig-Bb652BpM.js +0 -398
- package/dist/typescript-C_3m4WAt.js +0 -349
- package/dist/vb-2e5hSeUh.js +0 -378
- package/dist/wgsl-CYSDq0zg.js +0 -445
- package/dist/xml-DPOtHDhT.js +0 -101
- package/dist/yaml-DgATCSyQ.js +0 -212
package/dist/coffee-DgiPTF3g.js
DELETED
|
@@ -1,238 +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
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
9
|
-
comments: {
|
|
10
|
-
blockComment: ["###", "###"],
|
|
11
|
-
lineComment: "#"
|
|
12
|
-
},
|
|
13
|
-
brackets: [
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["[", "]"],
|
|
16
|
-
["(", ")"]
|
|
17
|
-
],
|
|
18
|
-
autoClosingPairs: [
|
|
19
|
-
{ open: "{", close: "}" },
|
|
20
|
-
{ open: "[", close: "]" },
|
|
21
|
-
{ open: "(", close: ")" },
|
|
22
|
-
{ open: '"', close: '"' },
|
|
23
|
-
{ open: "'", close: "'" }
|
|
24
|
-
],
|
|
25
|
-
surroundingPairs: [
|
|
26
|
-
{ open: "{", close: "}" },
|
|
27
|
-
{ open: "[", close: "]" },
|
|
28
|
-
{ open: "(", close: ")" },
|
|
29
|
-
{ open: '"', close: '"' },
|
|
30
|
-
{ open: "'", close: "'" }
|
|
31
|
-
],
|
|
32
|
-
folding: {
|
|
33
|
-
markers: {
|
|
34
|
-
start: new RegExp("^\\s*#region\\b"),
|
|
35
|
-
end: new RegExp("^\\s*#endregion\\b")
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}, r = {
|
|
39
|
-
defaultToken: "",
|
|
40
|
-
ignoreCase: !0,
|
|
41
|
-
tokenPostfix: ".coffee",
|
|
42
|
-
brackets: [
|
|
43
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
44
|
-
{ open: "[", close: "]", token: "delimiter.square" },
|
|
45
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
46
|
-
],
|
|
47
|
-
regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
|
|
48
|
-
keywords: [
|
|
49
|
-
"and",
|
|
50
|
-
"or",
|
|
51
|
-
"is",
|
|
52
|
-
"isnt",
|
|
53
|
-
"not",
|
|
54
|
-
"on",
|
|
55
|
-
"yes",
|
|
56
|
-
"@",
|
|
57
|
-
"no",
|
|
58
|
-
"off",
|
|
59
|
-
"true",
|
|
60
|
-
"false",
|
|
61
|
-
"null",
|
|
62
|
-
"this",
|
|
63
|
-
"new",
|
|
64
|
-
"delete",
|
|
65
|
-
"typeof",
|
|
66
|
-
"in",
|
|
67
|
-
"instanceof",
|
|
68
|
-
"return",
|
|
69
|
-
"throw",
|
|
70
|
-
"break",
|
|
71
|
-
"continue",
|
|
72
|
-
"debugger",
|
|
73
|
-
"if",
|
|
74
|
-
"else",
|
|
75
|
-
"switch",
|
|
76
|
-
"for",
|
|
77
|
-
"while",
|
|
78
|
-
"do",
|
|
79
|
-
"try",
|
|
80
|
-
"catch",
|
|
81
|
-
"finally",
|
|
82
|
-
"class",
|
|
83
|
-
"extends",
|
|
84
|
-
"super",
|
|
85
|
-
"undefined",
|
|
86
|
-
"then",
|
|
87
|
-
"unless",
|
|
88
|
-
"until",
|
|
89
|
-
"loop",
|
|
90
|
-
"of",
|
|
91
|
-
"by",
|
|
92
|
-
"when"
|
|
93
|
-
],
|
|
94
|
-
// we include these common regular expressions
|
|
95
|
-
symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
|
|
96
|
-
escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
97
|
-
// The main tokenizer for our languages
|
|
98
|
-
tokenizer: {
|
|
99
|
-
root: [
|
|
100
|
-
// identifiers and keywords
|
|
101
|
-
[/\@[a-zA-Z_]\w*/, "variable.predefined"],
|
|
102
|
-
[
|
|
103
|
-
/[a-zA-Z_]\w*/,
|
|
104
|
-
{
|
|
105
|
-
cases: {
|
|
106
|
-
this: "variable.predefined",
|
|
107
|
-
"@keywords": { token: "keyword.$0" },
|
|
108
|
-
"@default": ""
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
// whitespace
|
|
113
|
-
[/[ \t\r\n]+/, ""],
|
|
114
|
-
// Comments
|
|
115
|
-
[/###/, "comment", "@comment"],
|
|
116
|
-
[/#.*$/, "comment"],
|
|
117
|
-
// regular expressions
|
|
118
|
-
["///", { token: "regexp", next: "@hereregexp" }],
|
|
119
|
-
[/^(\s*)(@regEx)/, ["", "regexp"]],
|
|
120
|
-
[/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
121
|
-
[/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
122
|
-
[/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
123
|
-
[/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
124
|
-
[/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
125
|
-
[/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
126
|
-
[/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
127
|
-
[/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
128
|
-
[/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
|
|
129
|
-
[/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
|
|
130
|
-
[/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
|
|
131
|
-
// delimiters
|
|
132
|
-
[
|
|
133
|
-
/}/,
|
|
134
|
-
{
|
|
135
|
-
cases: {
|
|
136
|
-
"$S2==interpolatedstring": {
|
|
137
|
-
token: "string",
|
|
138
|
-
next: "@pop"
|
|
139
|
-
},
|
|
140
|
-
"@default": "@brackets"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
145
|
-
[/@symbols/, "delimiter"],
|
|
146
|
-
// numbers
|
|
147
|
-
[/\d+[eE]([\-+]?\d+)?/, "number.float"],
|
|
148
|
-
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
149
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
150
|
-
[/0[0-7]+(?!\d)/, "number.octal"],
|
|
151
|
-
[/\d+/, "number"],
|
|
152
|
-
// delimiter: after number because of .\d floats
|
|
153
|
-
[/[,.]/, "delimiter"],
|
|
154
|
-
// strings:
|
|
155
|
-
[/"""/, "string", '@herestring."""'],
|
|
156
|
-
[/'''/, "string", "@herestring.'''"],
|
|
157
|
-
[
|
|
158
|
-
/"/,
|
|
159
|
-
{
|
|
160
|
-
cases: {
|
|
161
|
-
"@eos": "string",
|
|
162
|
-
"@default": { token: "string", next: '@string."' }
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
[
|
|
167
|
-
/'/,
|
|
168
|
-
{
|
|
169
|
-
cases: {
|
|
170
|
-
"@eos": "string",
|
|
171
|
-
"@default": { token: "string", next: "@string.'" }
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
]
|
|
175
|
-
],
|
|
176
|
-
string: [
|
|
177
|
-
[/[^"'\#\\]+/, "string"],
|
|
178
|
-
[/@escapes/, "string.escape"],
|
|
179
|
-
[/\./, "string.escape.invalid"],
|
|
180
|
-
[/\./, "string.escape.invalid"],
|
|
181
|
-
[
|
|
182
|
-
/#{/,
|
|
183
|
-
{
|
|
184
|
-
cases: {
|
|
185
|
-
'$S2=="': {
|
|
186
|
-
token: "string",
|
|
187
|
-
next: "root.interpolatedstring"
|
|
188
|
-
},
|
|
189
|
-
"@default": "string"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
],
|
|
193
|
-
[
|
|
194
|
-
/["']/,
|
|
195
|
-
{
|
|
196
|
-
cases: {
|
|
197
|
-
"$#==$S2": { token: "string", next: "@pop" },
|
|
198
|
-
"@default": "string"
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
],
|
|
202
|
-
[/#/, "string"]
|
|
203
|
-
],
|
|
204
|
-
herestring: [
|
|
205
|
-
[
|
|
206
|
-
/("""|''')/,
|
|
207
|
-
{
|
|
208
|
-
cases: {
|
|
209
|
-
"$1==$S2": { token: "string", next: "@pop" },
|
|
210
|
-
"@default": "string"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
[/[^#\\'"]+/, "string"],
|
|
215
|
-
[/['"]+/, "string"],
|
|
216
|
-
[/@escapes/, "string.escape"],
|
|
217
|
-
[/\./, "string.escape.invalid"],
|
|
218
|
-
[/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
|
|
219
|
-
[/#/, "string"]
|
|
220
|
-
],
|
|
221
|
-
comment: [
|
|
222
|
-
[/[^#]+/, "comment"],
|
|
223
|
-
[/###/, "comment", "@pop"],
|
|
224
|
-
[/#/, "comment"]
|
|
225
|
-
],
|
|
226
|
-
hereregexp: [
|
|
227
|
-
[/[^\\\/#]+/, "regexp"],
|
|
228
|
-
[/\\./, "regexp"],
|
|
229
|
-
[/#.*$/, "comment"],
|
|
230
|
-
["///[igm]*", { token: "regexp", next: "@pop" }],
|
|
231
|
-
[/\//, "regexp"]
|
|
232
|
-
]
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
export {
|
|
236
|
-
e as conf,
|
|
237
|
-
r as language
|
|
238
|
-
};
|