@covalent/components 8.15.0-beta.13 → 8.15.0-beta.15
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/code-editor/code-editor.d.ts +0 -14
- package/code-editor/code-editor.d.ts.map +1 -1
- package/{code-editor-3a09cbf1.js → code-editor-857a4673.js} +89 -159
- package/{code-editor-ce557bd5.mjs → code-editor-caabbe50.mjs} +3141 -3338
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-783f1e7c.mjs → html-707a5945.mjs} +1 -1
- package/{html-4fffc46e.js → html-aa904833.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-4d09cd3c.mjs → javascript-779a52b2.mjs} +2 -2
- package/{javascript-90bb18e6.js → javascript-d8dd6c0d.js} +1 -1
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +1 -1
- package/notebook.js +35 -20
- package/notebook.mjs +1254 -1213
- package/package.json +1 -1
- package/{python-562f8e9b.mjs → python-02ca0307.mjs} +1 -1
- package/{python-af3aad7d.js → python-b0bc8e7b.js} +1 -1
- package/{typescript-76d039b3.js → typescript-1a78657a.js} +1 -1
- package/{typescript-a2a5d6b2.mjs → typescript-ba11dbe7.mjs} +1 -1
- package/cpp-642b10c4.mjs +0 -387
- package/cpp-7eec3311.js +0 -6
- package/csharp-32862cd2.js +0 -6
- package/csharp-d987ddad.mjs +0 -320
- package/dart-031264ea.js +0 -6
- package/dart-5d209f63.mjs +0 -270
- package/go-46e3b371.mjs +0 -208
- package/go-cdd943fd.js +0 -6
- package/java-32d7b433.js +0 -6
- package/java-cd017f60.mjs +0 -221
- package/kotlin-4b9019e1.js +0 -6
- package/kotlin-c6e52a56.mjs +0 -245
- package/lua-b46719a9.js +0 -6
- package/lua-f159160b.mjs +0 -157
- package/php-987b9d87.mjs +0 -471
- package/php-a6dcde52.js +0 -6
- package/rust-87887495.js +0 -6
- package/rust-97f8f6e1.mjs +0 -337
- package/scala-c68c650c.mjs +0 -353
- package/scala-e8b7bd42.js +0 -6
- package/shell-09452d42.mjs +0 -224
- package/shell-43cfbe7d.js +0 -6
- package/swift-724ff2a3.js +0 -8
- package/swift-abdf1835.mjs +0 -315
- package/xml-89571455.mjs +0 -100
- package/xml-e66929d0.js +0 -6
- package/yaml-11a91e71.js +0 -6
- package/yaml-4eccd122.mjs +0 -189
package/scala-e8b7bd42.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={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawstring"}],[/\bs"""/,{token:"string.quote",bracket:"@open",next:"@sstringt"}],[/\bs"/,{token:"string.quote",bracket:"@open",next:"@sstring"}],[/\bf""""/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstring"}],[/"""/,{token:"string.quote",bracket:"@open",next:"@stringt"}],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float","@allowMethod"],[/0[xX](@hexdigits)[Ll]?/,"number.hex","@allowMethod"],[/(@digits)[fFdD]/,"number.float","@allowMethod"],[/(@digits)[lL]?/,"number","@allowMethod"],[/\b_\*/,"key"],[/\b(_)\b/,"keyword","@allowMethod"],[/\bimport\b/,"keyword","@import"],[/\b(case)([ \t]+)(class)\b/,["keyword.modifier","white","keyword"]],[/\bcase\b/,"keyword","@case"],[/\bva[lr]\b/,"keyword","@vardef"],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,["keyword","white","identifier"]],[/@name(?=[ \t]*:(?!:))/,"variable"],[/(\.)(@name|@symbols)/,["operator",{token:"@rematch",next:"@allowMethod"}]],[/([{(])(\s*)(@name(?=\s*=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};exports.conf=e;exports.language=t;
|
package/shell-09452d42.mjs
DELETED
@@ -1,224 +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: '"' },
|
21
|
-
{ open: "'", close: "'" },
|
22
|
-
{ open: "`", close: "`" }
|
23
|
-
],
|
24
|
-
surroundingPairs: [
|
25
|
-
{ open: "{", close: "}" },
|
26
|
-
{ open: "[", close: "]" },
|
27
|
-
{ open: "(", close: ")" },
|
28
|
-
{ open: '"', close: '"' },
|
29
|
-
{ open: "'", close: "'" },
|
30
|
-
{ open: "`", close: "`" }
|
31
|
-
]
|
32
|
-
}, r = {
|
33
|
-
defaultToken: "",
|
34
|
-
ignoreCase: !0,
|
35
|
-
tokenPostfix: ".shell",
|
36
|
-
brackets: [
|
37
|
-
{ token: "delimiter.bracket", open: "{", close: "}" },
|
38
|
-
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
39
|
-
{ token: "delimiter.square", open: "[", close: "]" }
|
40
|
-
],
|
41
|
-
keywords: [
|
42
|
-
"if",
|
43
|
-
"then",
|
44
|
-
"do",
|
45
|
-
"else",
|
46
|
-
"elif",
|
47
|
-
"while",
|
48
|
-
"until",
|
49
|
-
"for",
|
50
|
-
"in",
|
51
|
-
"esac",
|
52
|
-
"fi",
|
53
|
-
"fin",
|
54
|
-
"fil",
|
55
|
-
"done",
|
56
|
-
"exit",
|
57
|
-
"set",
|
58
|
-
"unset",
|
59
|
-
"export",
|
60
|
-
"function"
|
61
|
-
],
|
62
|
-
builtins: [
|
63
|
-
"ab",
|
64
|
-
"awk",
|
65
|
-
"bash",
|
66
|
-
"beep",
|
67
|
-
"cat",
|
68
|
-
"cc",
|
69
|
-
"cd",
|
70
|
-
"chown",
|
71
|
-
"chmod",
|
72
|
-
"chroot",
|
73
|
-
"clear",
|
74
|
-
"cp",
|
75
|
-
"curl",
|
76
|
-
"cut",
|
77
|
-
"diff",
|
78
|
-
"echo",
|
79
|
-
"find",
|
80
|
-
"gawk",
|
81
|
-
"gcc",
|
82
|
-
"get",
|
83
|
-
"git",
|
84
|
-
"grep",
|
85
|
-
"hg",
|
86
|
-
"kill",
|
87
|
-
"killall",
|
88
|
-
"ln",
|
89
|
-
"ls",
|
90
|
-
"make",
|
91
|
-
"mkdir",
|
92
|
-
"openssl",
|
93
|
-
"mv",
|
94
|
-
"nc",
|
95
|
-
"node",
|
96
|
-
"npm",
|
97
|
-
"ping",
|
98
|
-
"ps",
|
99
|
-
"restart",
|
100
|
-
"rm",
|
101
|
-
"rmdir",
|
102
|
-
"sed",
|
103
|
-
"service",
|
104
|
-
"sh",
|
105
|
-
"shopt",
|
106
|
-
"shred",
|
107
|
-
"source",
|
108
|
-
"sort",
|
109
|
-
"sleep",
|
110
|
-
"ssh",
|
111
|
-
"start",
|
112
|
-
"stop",
|
113
|
-
"su",
|
114
|
-
"sudo",
|
115
|
-
"svn",
|
116
|
-
"tee",
|
117
|
-
"telnet",
|
118
|
-
"top",
|
119
|
-
"touch",
|
120
|
-
"vi",
|
121
|
-
"vim",
|
122
|
-
"wall",
|
123
|
-
"wc",
|
124
|
-
"wget",
|
125
|
-
"who",
|
126
|
-
"write",
|
127
|
-
"yes",
|
128
|
-
"zsh"
|
129
|
-
],
|
130
|
-
startingWithDash: /\-+\w+/,
|
131
|
-
identifiersWithDashes: /[a-zA-Z]\w+(?:@startingWithDash)+/,
|
132
|
-
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
133
|
-
tokenizer: {
|
134
|
-
root: [
|
135
|
-
[/@identifiersWithDashes/, ""],
|
136
|
-
[/(\s)((?:@startingWithDash)+)/, ["white", "attribute.name"]],
|
137
|
-
[
|
138
|
-
/[a-zA-Z]\w*/,
|
139
|
-
{
|
140
|
-
cases: {
|
141
|
-
"@keywords": "keyword",
|
142
|
-
"@builtins": "type.identifier",
|
143
|
-
"@default": ""
|
144
|
-
}
|
145
|
-
}
|
146
|
-
],
|
147
|
-
{ include: "@whitespace" },
|
148
|
-
{ include: "@strings" },
|
149
|
-
{ include: "@parameters" },
|
150
|
-
{ include: "@heredoc" },
|
151
|
-
[/[{}\[\]()]/, "@brackets"],
|
152
|
-
[/@symbols/, "delimiter"],
|
153
|
-
{ include: "@numbers" },
|
154
|
-
[/[,;]/, "delimiter"]
|
155
|
-
],
|
156
|
-
whitespace: [
|
157
|
-
[/\s+/, "white"],
|
158
|
-
[/(^#!.*$)/, "metatag"],
|
159
|
-
[/(^#.*$)/, "comment"]
|
160
|
-
],
|
161
|
-
numbers: [
|
162
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
163
|
-
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
164
|
-
[/\d+/, "number"]
|
165
|
-
],
|
166
|
-
strings: [
|
167
|
-
[/'/, "string", "@stringBody"],
|
168
|
-
[/"/, "string", "@dblStringBody"]
|
169
|
-
],
|
170
|
-
stringBody: [
|
171
|
-
[/'/, "string", "@popall"],
|
172
|
-
[/./, "string"]
|
173
|
-
],
|
174
|
-
dblStringBody: [
|
175
|
-
[/"/, "string", "@popall"],
|
176
|
-
[/./, "string"]
|
177
|
-
],
|
178
|
-
heredoc: [
|
179
|
-
[
|
180
|
-
/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,
|
181
|
-
[
|
182
|
-
"constants",
|
183
|
-
"white",
|
184
|
-
"string.heredoc.delimiter",
|
185
|
-
"string.heredoc",
|
186
|
-
"string.heredoc.delimiter"
|
187
|
-
]
|
188
|
-
]
|
189
|
-
],
|
190
|
-
parameters: [
|
191
|
-
[/\$\d+/, "variable.predefined"],
|
192
|
-
[/\$\w+/, "variable"],
|
193
|
-
[/\$[*@#?\-$!0_]/, "variable"],
|
194
|
-
[/\$'/, "variable", "@parameterBodyQuote"],
|
195
|
-
[/\$"/, "variable", "@parameterBodyDoubleQuote"],
|
196
|
-
[/\$\(/, "variable", "@parameterBodyParen"],
|
197
|
-
[/\$\{/, "variable", "@parameterBodyCurlyBrace"]
|
198
|
-
],
|
199
|
-
parameterBodyQuote: [
|
200
|
-
[/[^#:%*@\-!_']+/, "variable"],
|
201
|
-
[/[#:%*@\-!_]/, "delimiter"],
|
202
|
-
[/[']/, "variable", "@pop"]
|
203
|
-
],
|
204
|
-
parameterBodyDoubleQuote: [
|
205
|
-
[/[^#:%*@\-!_"]+/, "variable"],
|
206
|
-
[/[#:%*@\-!_]/, "delimiter"],
|
207
|
-
[/["]/, "variable", "@pop"]
|
208
|
-
],
|
209
|
-
parameterBodyParen: [
|
210
|
-
[/[^#:%*@\-!_)]+/, "variable"],
|
211
|
-
[/[#:%*@\-!_]/, "delimiter"],
|
212
|
-
[/[)]/, "variable", "@pop"]
|
213
|
-
],
|
214
|
-
parameterBodyCurlyBrace: [
|
215
|
-
[/[^#:%*@\-!_}]+/, "variable"],
|
216
|
-
[/[#:%*@\-!_]/, "delimiter"],
|
217
|
-
[/[}]/, "variable", "@pop"]
|
218
|
-
]
|
219
|
-
}
|
220
|
-
};
|
221
|
-
export {
|
222
|
-
e as conf,
|
223
|
-
r as language
|
224
|
-
};
|
package/shell-43cfbe7d.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:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,""],[/(\s)((?:@startingWithDash)+)/,["white","attribute.name"]],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@whitespace"},{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}};exports.conf=e;exports.language=r;
|
package/swift-724ff2a3.js
DELETED
@@ -1,8 +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:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@GKInspectable","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet","@IBSegueAction","@NSApplicationMain","@NSCopying","@NSManaged","@Sendable","@UIApplicationMain","@autoclosure","@actorIndependent","@asyncHandler","@available","@convention","@derivative","@differentiable","@discardableResult","@dynamicCallable","@dynamicMemberLookup","@escaping","@frozen","@globalActor","@inlinable","@inline","@main","@noDerivative","@nonobjc","@noreturn","@objc","@objcMembers","@preconcurrency","@propertyWrapper","@requires_stored_property_inits","@resultBuilder","@testable","@unchecked","@unknown","@usableFromInline","@warn_unqualified_access"],accessmodifiers:["open","public","internal","fileprivate","private"],keywords:["#available","#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning","Any","Protocol","Self","Type","actor","as","assignment","associatedtype","associativity","async","await","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","false","fileprivate","final","for","func","get","guard","higherThan","if","import","in","indirect","infix","init","inout","internal","is","isolated","lazy","left","let","lowerThan","mutating","nil","none","nonisolated","nonmutating","open","operator","optional","override","postfix","precedence","precedencegroup","prefix","private","protocol","public","repeat","required","rethrows","return","right","safe","self","set","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","unowned","unsafe","var","weak","where","while","willSet","__consuming","__owned"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/@@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}};/*!---------------------------------------------------------------------------------------------
|
7
|
-
* Copyright (C) David Owens II, owensd.io. All rights reserved.
|
8
|
-
*--------------------------------------------------------------------------------------------*/exports.conf=e;exports.language=o;
|
package/swift-abdf1835.mjs
DELETED
@@ -1,315 +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
|
-
blockComment: ["/*", "*/"]
|
11
|
-
},
|
12
|
-
brackets: [
|
13
|
-
["{", "}"],
|
14
|
-
["[", "]"],
|
15
|
-
["(", ")"]
|
16
|
-
],
|
17
|
-
autoClosingPairs: [
|
18
|
-
{ open: "{", close: "}" },
|
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
|
-
{ open: "`", close: "`" }
|
32
|
-
]
|
33
|
-
}, o = {
|
34
|
-
defaultToken: "",
|
35
|
-
tokenPostfix: ".swift",
|
36
|
-
identifier: /[a-zA-Z_][\w$]*/,
|
37
|
-
attributes: [
|
38
|
-
"@GKInspectable",
|
39
|
-
"@IBAction",
|
40
|
-
"@IBDesignable",
|
41
|
-
"@IBInspectable",
|
42
|
-
"@IBOutlet",
|
43
|
-
"@IBSegueAction",
|
44
|
-
"@NSApplicationMain",
|
45
|
-
"@NSCopying",
|
46
|
-
"@NSManaged",
|
47
|
-
"@Sendable",
|
48
|
-
"@UIApplicationMain",
|
49
|
-
"@autoclosure",
|
50
|
-
"@actorIndependent",
|
51
|
-
"@asyncHandler",
|
52
|
-
"@available",
|
53
|
-
"@convention",
|
54
|
-
"@derivative",
|
55
|
-
"@differentiable",
|
56
|
-
"@discardableResult",
|
57
|
-
"@dynamicCallable",
|
58
|
-
"@dynamicMemberLookup",
|
59
|
-
"@escaping",
|
60
|
-
"@frozen",
|
61
|
-
"@globalActor",
|
62
|
-
"@inlinable",
|
63
|
-
"@inline",
|
64
|
-
"@main",
|
65
|
-
"@noDerivative",
|
66
|
-
"@nonobjc",
|
67
|
-
"@noreturn",
|
68
|
-
"@objc",
|
69
|
-
"@objcMembers",
|
70
|
-
"@preconcurrency",
|
71
|
-
"@propertyWrapper",
|
72
|
-
"@requires_stored_property_inits",
|
73
|
-
"@resultBuilder",
|
74
|
-
"@testable",
|
75
|
-
"@unchecked",
|
76
|
-
"@unknown",
|
77
|
-
"@usableFromInline",
|
78
|
-
"@warn_unqualified_access"
|
79
|
-
],
|
80
|
-
accessmodifiers: ["open", "public", "internal", "fileprivate", "private"],
|
81
|
-
keywords: [
|
82
|
-
"#available",
|
83
|
-
"#colorLiteral",
|
84
|
-
"#column",
|
85
|
-
"#dsohandle",
|
86
|
-
"#else",
|
87
|
-
"#elseif",
|
88
|
-
"#endif",
|
89
|
-
"#error",
|
90
|
-
"#file",
|
91
|
-
"#fileID",
|
92
|
-
"#fileLiteral",
|
93
|
-
"#filePath",
|
94
|
-
"#function",
|
95
|
-
"#if",
|
96
|
-
"#imageLiteral",
|
97
|
-
"#keyPath",
|
98
|
-
"#line",
|
99
|
-
"#selector",
|
100
|
-
"#sourceLocation",
|
101
|
-
"#warning",
|
102
|
-
"Any",
|
103
|
-
"Protocol",
|
104
|
-
"Self",
|
105
|
-
"Type",
|
106
|
-
"actor",
|
107
|
-
"as",
|
108
|
-
"assignment",
|
109
|
-
"associatedtype",
|
110
|
-
"associativity",
|
111
|
-
"async",
|
112
|
-
"await",
|
113
|
-
"break",
|
114
|
-
"case",
|
115
|
-
"catch",
|
116
|
-
"class",
|
117
|
-
"continue",
|
118
|
-
"convenience",
|
119
|
-
"default",
|
120
|
-
"defer",
|
121
|
-
"deinit",
|
122
|
-
"didSet",
|
123
|
-
"do",
|
124
|
-
"dynamic",
|
125
|
-
"dynamicType",
|
126
|
-
"else",
|
127
|
-
"enum",
|
128
|
-
"extension",
|
129
|
-
"fallthrough",
|
130
|
-
"false",
|
131
|
-
"fileprivate",
|
132
|
-
"final",
|
133
|
-
"for",
|
134
|
-
"func",
|
135
|
-
"get",
|
136
|
-
"guard",
|
137
|
-
"higherThan",
|
138
|
-
"if",
|
139
|
-
"import",
|
140
|
-
"in",
|
141
|
-
"indirect",
|
142
|
-
"infix",
|
143
|
-
"init",
|
144
|
-
"inout",
|
145
|
-
"internal",
|
146
|
-
"is",
|
147
|
-
"isolated",
|
148
|
-
"lazy",
|
149
|
-
"left",
|
150
|
-
"let",
|
151
|
-
"lowerThan",
|
152
|
-
"mutating",
|
153
|
-
"nil",
|
154
|
-
"none",
|
155
|
-
"nonisolated",
|
156
|
-
"nonmutating",
|
157
|
-
"open",
|
158
|
-
"operator",
|
159
|
-
"optional",
|
160
|
-
"override",
|
161
|
-
"postfix",
|
162
|
-
"precedence",
|
163
|
-
"precedencegroup",
|
164
|
-
"prefix",
|
165
|
-
"private",
|
166
|
-
"protocol",
|
167
|
-
"public",
|
168
|
-
"repeat",
|
169
|
-
"required",
|
170
|
-
"rethrows",
|
171
|
-
"return",
|
172
|
-
"right",
|
173
|
-
"safe",
|
174
|
-
"self",
|
175
|
-
"set",
|
176
|
-
"some",
|
177
|
-
"static",
|
178
|
-
"struct",
|
179
|
-
"subscript",
|
180
|
-
"super",
|
181
|
-
"switch",
|
182
|
-
"throw",
|
183
|
-
"throws",
|
184
|
-
"true",
|
185
|
-
"try",
|
186
|
-
"typealias",
|
187
|
-
"unowned",
|
188
|
-
"unsafe",
|
189
|
-
"var",
|
190
|
-
"weak",
|
191
|
-
"where",
|
192
|
-
"while",
|
193
|
-
"willSet",
|
194
|
-
"__consuming",
|
195
|
-
"__owned"
|
196
|
-
],
|
197
|
-
symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,
|
198
|
-
operatorstart: /[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,
|
199
|
-
operatorend: /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,
|
200
|
-
operators: /(@operatorstart)((@operatorstart)|(@operatorend))*/,
|
201
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
202
|
-
tokenizer: {
|
203
|
-
root: [
|
204
|
-
{ include: "@whitespace" },
|
205
|
-
{ include: "@comment" },
|
206
|
-
{ include: "@attribute" },
|
207
|
-
{ include: "@literal" },
|
208
|
-
{ include: "@keyword" },
|
209
|
-
{ include: "@invokedmethod" },
|
210
|
-
{ include: "@symbol" }
|
211
|
-
],
|
212
|
-
whitespace: [
|
213
|
-
[/\s+/, "white"],
|
214
|
-
[/"""/, "string.quote", "@endDblDocString"]
|
215
|
-
],
|
216
|
-
endDblDocString: [
|
217
|
-
[/[^"]+/, "string"],
|
218
|
-
[/\\"/, "string"],
|
219
|
-
[/"""/, "string.quote", "@popall"],
|
220
|
-
[/"/, "string"]
|
221
|
-
],
|
222
|
-
symbol: [
|
223
|
-
[/[{}()\[\]]/, "@brackets"],
|
224
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
225
|
-
[/[.]/, "delimiter"],
|
226
|
-
[/@operators/, "operator"],
|
227
|
-
[/@symbols/, "operator"]
|
228
|
-
],
|
229
|
-
comment: [
|
230
|
-
[/\/\/\/.*$/, "comment.doc"],
|
231
|
-
[/\/\*\*/, "comment.doc", "@commentdocbody"],
|
232
|
-
[/\/\/.*$/, "comment"],
|
233
|
-
[/\/\*/, "comment", "@commentbody"]
|
234
|
-
],
|
235
|
-
commentdocbody: [
|
236
|
-
[/\/\*/, "comment", "@commentbody"],
|
237
|
-
[/\*\//, "comment.doc", "@pop"],
|
238
|
-
[/\:[a-zA-Z]+\:/, "comment.doc.param"],
|
239
|
-
[/./, "comment.doc"]
|
240
|
-
],
|
241
|
-
commentbody: [
|
242
|
-
[/\/\*/, "comment", "@commentbody"],
|
243
|
-
[/\*\//, "comment", "@pop"],
|
244
|
-
[/./, "comment"]
|
245
|
-
],
|
246
|
-
attribute: [
|
247
|
-
[
|
248
|
-
/@@@identifier/,
|
249
|
-
{
|
250
|
-
cases: {
|
251
|
-
"@attributes": "keyword.control",
|
252
|
-
"@default": ""
|
253
|
-
}
|
254
|
-
}
|
255
|
-
]
|
256
|
-
],
|
257
|
-
literal: [
|
258
|
-
[/"/, { token: "string.quote", next: "@stringlit" }],
|
259
|
-
[/0[b]([01]_?)+/, "number.binary"],
|
260
|
-
[/0[o]([0-7]_?)+/, "number.octal"],
|
261
|
-
[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/, "number.hex"],
|
262
|
-
[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/, "number.float"],
|
263
|
-
[/(\d_?)+/, "number"]
|
264
|
-
],
|
265
|
-
stringlit: [
|
266
|
-
[/\\\(/, { token: "operator", next: "@interpolatedexpression" }],
|
267
|
-
[/@escapes/, "string"],
|
268
|
-
[/\\./, "string.escape.invalid"],
|
269
|
-
[/"/, { token: "string.quote", next: "@pop" }],
|
270
|
-
[/./, "string"]
|
271
|
-
],
|
272
|
-
interpolatedexpression: [
|
273
|
-
[/\(/, { token: "operator", next: "@interpolatedexpression" }],
|
274
|
-
[/\)/, { token: "operator", next: "@pop" }],
|
275
|
-
{ include: "@literal" },
|
276
|
-
{ include: "@keyword" },
|
277
|
-
{ include: "@symbol" }
|
278
|
-
],
|
279
|
-
keyword: [
|
280
|
-
[/`/, { token: "operator", next: "@escapedkeyword" }],
|
281
|
-
[
|
282
|
-
/@identifier/,
|
283
|
-
{
|
284
|
-
cases: {
|
285
|
-
"@keywords": "keyword",
|
286
|
-
"[A-Z][a-zA-Z0-9$]*": "type.identifier",
|
287
|
-
"@default": "identifier"
|
288
|
-
}
|
289
|
-
}
|
290
|
-
]
|
291
|
-
],
|
292
|
-
escapedkeyword: [
|
293
|
-
[/`/, { token: "operator", next: "@pop" }],
|
294
|
-
[/./, "identifier"]
|
295
|
-
],
|
296
|
-
invokedmethod: [
|
297
|
-
[
|
298
|
-
/([.])(@identifier)/,
|
299
|
-
{
|
300
|
-
cases: {
|
301
|
-
$2: ["delimeter", "type.identifier"],
|
302
|
-
"@default": ""
|
303
|
-
}
|
304
|
-
}
|
305
|
-
]
|
306
|
-
]
|
307
|
-
}
|
308
|
-
};
|
309
|
-
/*!---------------------------------------------------------------------------------------------
|
310
|
-
* Copyright (C) David Owens II, owensd.io. All rights reserved.
|
311
|
-
*--------------------------------------------------------------------------------------------*/
|
312
|
-
export {
|
313
|
-
e as conf,
|
314
|
-
o as language
|
315
|
-
};
|