@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.
- package/dist/components/editor/editor.d.ts +0 -5
- package/dist/components/editor/editor.js +19 -14
- package/dist/components/paginator/paginator-navigator.d.ts +1 -1
- 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.d.ts +2 -0
- package/dist/cowboy-components.js +2 -0
- package/dist/cowboy-components.umd.cjs +229 -2097
- package/dist/style.css +1 -1
- package/package.json +3 -3
- 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-BOuaCruy.js +0 -114388
- 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-Cvbhe77l.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-DmhDQrVn.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-DWUSy2Nn.js +0 -425
- package/dist/hcl-BSgAhV5f.js +0 -189
- package/dist/html-BTxdvu8o.js +0 -314
- package/dist/htmlMode-DeG-6tqP.js +0 -1551
- package/dist/ini-ewx9HLIq.js +0 -77
- package/dist/java-B5lwcbTy.js +0 -238
- package/dist/javascript-CQTBmqTv.js +0 -76
- package/dist/jsonMode-DJhhXlcK.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-OuSl50Zm.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-Cs8POpae.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-BsXAz21q.js +0 -282
- package/dist/qsharp-C5P1RxY3.js +0 -291
- package/dist/r-sEMYnclc.js +0 -249
- package/dist/razor-CXJ9MZn4.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-C-mwN8lz.js +0 -886
- package/dist/twig-Bb652BpM.js +0 -398
- package/dist/typescript-CamPbG-s.js +0 -349
- package/dist/vb-2e5hSeUh.js +0 -378
- package/dist/wgsl-CYSDq0zg.js +0 -445
- package/dist/xml-CrDvxVsf.js +0 -101
- package/dist/yaml-xGWjZwPI.js +0 -212
package/dist/yaml-xGWjZwPI.js
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { m as i } from "./cowboy-components-BOuaCruy.js";
|
|
2
|
-
/*!-----------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.46.0(21007360cad28648bdf46282a2592cb47c3a7a6f)
|
|
5
|
-
* Released under the MIT license
|
|
6
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
-
*-----------------------------------------------------------------------------*/
|
|
8
|
-
var c = Object.defineProperty, u = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, a = (n, e, r, o) => {
|
|
9
|
-
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
-
for (let t of s(e))
|
|
11
|
-
!d.call(n, t) && t !== r && c(n, t, { get: () => e[t], enumerable: !(o = u(e, t)) || o.enumerable });
|
|
12
|
-
return n;
|
|
13
|
-
}, m = (n, e, r) => (a(n, e, "default"), r && a(r, e, "default")), l = {};
|
|
14
|
-
m(l, i);
|
|
15
|
-
var p = {
|
|
16
|
-
comments: {
|
|
17
|
-
lineComment: "#"
|
|
18
|
-
},
|
|
19
|
-
brackets: [
|
|
20
|
-
["{", "}"],
|
|
21
|
-
["[", "]"],
|
|
22
|
-
["(", ")"]
|
|
23
|
-
],
|
|
24
|
-
autoClosingPairs: [
|
|
25
|
-
{ open: "{", close: "}" },
|
|
26
|
-
{ open: "[", close: "]" },
|
|
27
|
-
{ open: "(", close: ")" },
|
|
28
|
-
{ open: '"', close: '"' },
|
|
29
|
-
{ open: "'", close: "'" }
|
|
30
|
-
],
|
|
31
|
-
surroundingPairs: [
|
|
32
|
-
{ open: "{", close: "}" },
|
|
33
|
-
{ open: "[", close: "]" },
|
|
34
|
-
{ open: "(", close: ")" },
|
|
35
|
-
{ open: '"', close: '"' },
|
|
36
|
-
{ open: "'", close: "'" }
|
|
37
|
-
],
|
|
38
|
-
folding: {
|
|
39
|
-
offSide: !0
|
|
40
|
-
},
|
|
41
|
-
onEnterRules: [
|
|
42
|
-
{
|
|
43
|
-
beforeText: /:\s*$/,
|
|
44
|
-
action: {
|
|
45
|
-
indentAction: l.languages.IndentAction.Indent
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}, f = {
|
|
50
|
-
tokenPostfix: ".yaml",
|
|
51
|
-
brackets: [
|
|
52
|
-
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
53
|
-
{ token: "delimiter.square", open: "[", close: "]" }
|
|
54
|
-
],
|
|
55
|
-
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
56
|
-
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
57
|
-
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
58
|
-
numberOctal: /0o[0-7]+/,
|
|
59
|
-
numberHex: /0x[0-9a-fA-F]+/,
|
|
60
|
-
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
61
|
-
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
62
|
-
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
63
|
-
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
64
|
-
tokenizer: {
|
|
65
|
-
root: [
|
|
66
|
-
{ include: "@whitespace" },
|
|
67
|
-
{ include: "@comment" },
|
|
68
|
-
// Directive
|
|
69
|
-
[/%[^ ]+.*$/, "meta.directive"],
|
|
70
|
-
// Document Markers
|
|
71
|
-
[/---/, "operators.directivesEnd"],
|
|
72
|
-
[/\.{3}/, "operators.documentEnd"],
|
|
73
|
-
// Block Structure Indicators
|
|
74
|
-
[/[-?:](?= )/, "operators"],
|
|
75
|
-
{ include: "@anchor" },
|
|
76
|
-
{ include: "@tagHandle" },
|
|
77
|
-
{ include: "@flowCollections" },
|
|
78
|
-
{ include: "@blockStyle" },
|
|
79
|
-
// Numbers
|
|
80
|
-
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
81
|
-
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
82
|
-
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
83
|
-
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
84
|
-
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
85
|
-
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
86
|
-
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
87
|
-
// Key:Value pair
|
|
88
|
-
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
89
|
-
{ include: "@flowScalars" },
|
|
90
|
-
// String nodes
|
|
91
|
-
[
|
|
92
|
-
/.+?(?=(\s+#|$))/,
|
|
93
|
-
{
|
|
94
|
-
cases: {
|
|
95
|
-
"@keywords": "keyword",
|
|
96
|
-
"@default": "string"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
],
|
|
101
|
-
// Flow Collection: Flow Mapping
|
|
102
|
-
object: [
|
|
103
|
-
{ include: "@whitespace" },
|
|
104
|
-
{ include: "@comment" },
|
|
105
|
-
// Flow Mapping termination
|
|
106
|
-
[/\}/, "@brackets", "@pop"],
|
|
107
|
-
// Flow Mapping delimiter
|
|
108
|
-
[/,/, "delimiter.comma"],
|
|
109
|
-
// Flow Mapping Key:Value delimiter
|
|
110
|
-
[/:(?= )/, "operators"],
|
|
111
|
-
// Flow Mapping Key:Value key
|
|
112
|
-
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
113
|
-
// Start Flow Style
|
|
114
|
-
{ include: "@flowCollections" },
|
|
115
|
-
{ include: "@flowScalars" },
|
|
116
|
-
// Scalar Data types
|
|
117
|
-
{ include: "@tagHandle" },
|
|
118
|
-
{ include: "@anchor" },
|
|
119
|
-
{ include: "@flowNumber" },
|
|
120
|
-
// Other value (keyword or string)
|
|
121
|
-
[
|
|
122
|
-
/[^\},]+/,
|
|
123
|
-
{
|
|
124
|
-
cases: {
|
|
125
|
-
"@keywords": "keyword",
|
|
126
|
-
"@default": "string"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
],
|
|
131
|
-
// Flow Collection: Flow Sequence
|
|
132
|
-
array: [
|
|
133
|
-
{ include: "@whitespace" },
|
|
134
|
-
{ include: "@comment" },
|
|
135
|
-
// Flow Sequence termination
|
|
136
|
-
[/\]/, "@brackets", "@pop"],
|
|
137
|
-
// Flow Sequence delimiter
|
|
138
|
-
[/,/, "delimiter.comma"],
|
|
139
|
-
// Start Flow Style
|
|
140
|
-
{ include: "@flowCollections" },
|
|
141
|
-
{ include: "@flowScalars" },
|
|
142
|
-
// Scalar Data types
|
|
143
|
-
{ include: "@tagHandle" },
|
|
144
|
-
{ include: "@anchor" },
|
|
145
|
-
{ include: "@flowNumber" },
|
|
146
|
-
// Other value (keyword or string)
|
|
147
|
-
[
|
|
148
|
-
/[^\],]+/,
|
|
149
|
-
{
|
|
150
|
-
cases: {
|
|
151
|
-
"@keywords": "keyword",
|
|
152
|
-
"@default": "string"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
]
|
|
156
|
-
],
|
|
157
|
-
// First line of a Block Style
|
|
158
|
-
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
159
|
-
// Further lines of a Block Style
|
|
160
|
-
// Workaround for indentation detection
|
|
161
|
-
multiStringContinued: [
|
|
162
|
-
[
|
|
163
|
-
/^( *).+$/,
|
|
164
|
-
{
|
|
165
|
-
cases: {
|
|
166
|
-
"$1==$S2": "string",
|
|
167
|
-
"@default": { token: "@rematch", next: "@popall" }
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
],
|
|
172
|
-
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
173
|
-
// Only line comments
|
|
174
|
-
comment: [[/#.*$/, "comment"]],
|
|
175
|
-
// Start Flow Collections
|
|
176
|
-
flowCollections: [
|
|
177
|
-
[/\[/, "@brackets", "@array"],
|
|
178
|
-
[/\{/, "@brackets", "@object"]
|
|
179
|
-
],
|
|
180
|
-
// Start Flow Scalars (quoted strings)
|
|
181
|
-
flowScalars: [
|
|
182
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
183
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
184
|
-
[/'[^']*'/, "string"],
|
|
185
|
-
[/"/, "string", "@doubleQuotedString"]
|
|
186
|
-
],
|
|
187
|
-
doubleQuotedString: [
|
|
188
|
-
[/[^\\"]+/, "string"],
|
|
189
|
-
[/@escapes/, "string.escape"],
|
|
190
|
-
[/\\./, "string.escape.invalid"],
|
|
191
|
-
[/"/, "string", "@pop"]
|
|
192
|
-
],
|
|
193
|
-
// Start Block Scalar
|
|
194
|
-
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
195
|
-
// Numbers in Flow Collections (terminate with ,]})
|
|
196
|
-
flowNumber: [
|
|
197
|
-
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
198
|
-
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
199
|
-
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
200
|
-
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
201
|
-
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
202
|
-
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
203
|
-
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
204
|
-
],
|
|
205
|
-
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
206
|
-
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
export {
|
|
210
|
-
p as conf,
|
|
211
|
-
f as language
|
|
212
|
-
};
|