act-plus 1.1.23 → 1.1.24
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/act-plus.js +6 -5
- package/act-plus.umd.cjs +94 -1722
- package/lib/{configBtns-c51c642b.js → configBtns-15591aad.js} +51 -50
- package/lib/{configFileds-4633be91.js → configFileds-a045430e.js} +5 -4
- package/lib/{configTable-160a99e8.js → configTable-0285d3f8.js} +32 -31
- package/lib/{dialogAddField-a8db1c57.js → dialogAddField-f474439d.js} +5 -4
- package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-c97ccee8.js} +5 -4
- package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
- package/lib/{index-28cfa770.js → index-36c9cd81.js} +4 -3
- package/lib/{index-7a1700c3.js → index-3e20553c.js} +11 -10
- package/lib/{index-44e2732a.js → index-7de949f6.js} +4 -3
- package/lib/{index-cceb15dd.js → index-85deefc8.js} +5 -4
- package/lib/index-d0c3be37.js +68438 -0
- package/lib/{index-421ea84f.js → index-f58e1535.js} +31 -30
- package/package.json +1 -1
- package/style.css +1 -1
- package/assets/css.worker-1af1972f.js +0 -84
- package/assets/editor.worker-df55e1ff.js +0 -8
- package/assets/html.worker-38c267f1.js +0 -456
- package/assets/json.worker-bf861c27.js +0 -39
- package/assets/ts.worker-e151483b.js +0 -33972
- package/lib/abap-1354785f.js +0 -1314
- package/lib/apex-279d4f27.js +0 -315
- package/lib/azcli-ba812c55.js +0 -74
- package/lib/bat-4d77495d.js +0 -95
- package/lib/bicep-7b240724.js +0 -108
- package/lib/cameligo-5d2daeb8.js +0 -168
- package/lib/clojure-b7ea12a3.js +0 -754
- package/lib/coffee-1a8cfbf4.js +0 -228
- package/lib/cpp-642b10c4.js +0 -387
- package/lib/csharp-d987ddad.js +0 -320
- package/lib/csp-96407af0.js +0 -57
- package/lib/css-5dd354ac.js +0 -186
- package/lib/cssMode-55e3e2b9.js +0 -1448
- package/lib/cypher-11e5a4b6.js +0 -262
- package/lib/dart-5d209f63.js +0 -270
- package/lib/dockerfile-8739cff7.js +0 -132
- package/lib/ecl-a20c5155.js +0 -454
- package/lib/elixir-8b028584.js +0 -467
- package/lib/flow9-0dea2e73.js +0 -141
- package/lib/freemarker2-86429a9d.js +0 -646
- package/lib/fsharp-49a70fad.js +0 -210
- package/lib/go-46e3b371.js +0 -208
- package/lib/graphql-51a577e5.js +0 -141
- package/lib/handlebars-dcad112f.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-95cf87e3.js +0 -284
- package/lib/htmlMode-93d4ea14.js +0 -1458
- package/lib/index-22ab90dc.js +0 -162522
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-55252557.js +0 -78
- package/lib/jsonMode-b73c28d1.js +0 -1869
- package/lib/julia-a0caf483.js +0 -496
- package/lib/kotlin-c6e52a56.js +0 -245
- package/lib/less-718543b4.js +0 -168
- package/lib/lexon-5e6e7a44.js +0 -151
- package/lib/liquid-c923578c.js +0 -241
- package/lib/lua-f159160b.js +0 -157
- package/lib/m3-aadaf771.js +0 -210
- package/lib/markdown-9b448c46.js +0 -202
- package/lib/mips-161e49ce.js +0 -194
- package/lib/msdax-f65cb1e6.js +0 -377
- package/lib/mysql-24549dd1.js +0 -875
- package/lib/objective-c-e129a5ca.js +0 -188
- package/lib/pascal-4ccdf5ce.js +0 -245
- package/lib/pascaligo-a9603dcd.js +0 -158
- package/lib/perl-ba1fb97a.js +0 -599
- package/lib/pgsql-89978310.js +0 -843
- package/lib/php-987b9d87.js +0 -471
- package/lib/pla-96c2695d.js +0 -131
- package/lib/postiats-7b52ebac.js +0 -544
- package/lib/powerquery-8954ec26.js +0 -890
- package/lib/powershell-f00d0274.js +0 -233
- package/lib/protobuf-3eb85f80.js +0 -422
- package/lib/pug-6fab415a.js +0 -393
- package/lib/python-319c4cbb.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-9a8bae51.js +0 -515
- package/lib/redis-276b8288.js +0 -298
- package/lib/redshift-520a7359.js +0 -806
- package/lib/restructuredtext-4676a3fc.js +0 -162
- package/lib/ruby-764137cd.js +0 -444
- package/lib/rust-97f8f6e1.js +0 -337
- package/lib/sb-8c22f14c.js +0 -110
- package/lib/scala-c68c650c.js +0 -353
- package/lib/scheme-e6a52cb0.js +0 -114
- package/lib/scss-45104c77.js +0 -244
- package/lib/shell-09452d42.js +0 -224
- package/lib/solidity-d4979008.js +0 -1351
- package/lib/sophia-21995caf.js +0 -190
- package/lib/sparql-5088743c.js +0 -193
- package/lib/sql-63ec8e76.js +0 -818
- package/lib/st-fa9ab362.js +0 -414
- package/lib/swift-abdf1835.js +0 -315
- package/lib/systemverilog-a4f858ed.js +0 -556
- package/lib/tcl-8adf937f.js +0 -232
- package/lib/tsMode-7111578e.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-0c5e909b.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-acd745c7.js +0 -98
- package/lib/yaml-c114fa81.js +0 -187
package/lib/kotlin-c6e52a56.js
DELETED
|
@@ -1,245 +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
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
9
|
-
comments: {
|
|
10
|
-
lineComment: "//",
|
|
11
|
-
blockComment: ["/*", "*/"]
|
|
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
|
-
{ open: "<", close: ">" }
|
|
32
|
-
],
|
|
33
|
-
folding: {
|
|
34
|
-
markers: {
|
|
35
|
-
start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
|
|
36
|
-
end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}, t = {
|
|
40
|
-
defaultToken: "",
|
|
41
|
-
tokenPostfix: ".kt",
|
|
42
|
-
keywords: [
|
|
43
|
-
"as",
|
|
44
|
-
"as?",
|
|
45
|
-
"break",
|
|
46
|
-
"class",
|
|
47
|
-
"continue",
|
|
48
|
-
"do",
|
|
49
|
-
"else",
|
|
50
|
-
"false",
|
|
51
|
-
"for",
|
|
52
|
-
"fun",
|
|
53
|
-
"if",
|
|
54
|
-
"in",
|
|
55
|
-
"!in",
|
|
56
|
-
"interface",
|
|
57
|
-
"is",
|
|
58
|
-
"!is",
|
|
59
|
-
"null",
|
|
60
|
-
"object",
|
|
61
|
-
"package",
|
|
62
|
-
"return",
|
|
63
|
-
"super",
|
|
64
|
-
"this",
|
|
65
|
-
"throw",
|
|
66
|
-
"true",
|
|
67
|
-
"try",
|
|
68
|
-
"typealias",
|
|
69
|
-
"val",
|
|
70
|
-
"var",
|
|
71
|
-
"when",
|
|
72
|
-
"while",
|
|
73
|
-
"by",
|
|
74
|
-
"catch",
|
|
75
|
-
"constructor",
|
|
76
|
-
"delegate",
|
|
77
|
-
"dynamic",
|
|
78
|
-
"field",
|
|
79
|
-
"file",
|
|
80
|
-
"finally",
|
|
81
|
-
"get",
|
|
82
|
-
"import",
|
|
83
|
-
"init",
|
|
84
|
-
"param",
|
|
85
|
-
"property",
|
|
86
|
-
"receiver",
|
|
87
|
-
"set",
|
|
88
|
-
"setparam",
|
|
89
|
-
"where",
|
|
90
|
-
"actual",
|
|
91
|
-
"abstract",
|
|
92
|
-
"annotation",
|
|
93
|
-
"companion",
|
|
94
|
-
"const",
|
|
95
|
-
"crossinline",
|
|
96
|
-
"data",
|
|
97
|
-
"enum",
|
|
98
|
-
"expect",
|
|
99
|
-
"external",
|
|
100
|
-
"final",
|
|
101
|
-
"infix",
|
|
102
|
-
"inline",
|
|
103
|
-
"inner",
|
|
104
|
-
"internal",
|
|
105
|
-
"lateinit",
|
|
106
|
-
"noinline",
|
|
107
|
-
"open",
|
|
108
|
-
"operator",
|
|
109
|
-
"out",
|
|
110
|
-
"override",
|
|
111
|
-
"private",
|
|
112
|
-
"protected",
|
|
113
|
-
"public",
|
|
114
|
-
"reified",
|
|
115
|
-
"sealed",
|
|
116
|
-
"suspend",
|
|
117
|
-
"tailrec",
|
|
118
|
-
"vararg",
|
|
119
|
-
"field",
|
|
120
|
-
"it"
|
|
121
|
-
],
|
|
122
|
-
operators: [
|
|
123
|
-
"+",
|
|
124
|
-
"-",
|
|
125
|
-
"*",
|
|
126
|
-
"/",
|
|
127
|
-
"%",
|
|
128
|
-
"=",
|
|
129
|
-
"+=",
|
|
130
|
-
"-=",
|
|
131
|
-
"*=",
|
|
132
|
-
"/=",
|
|
133
|
-
"%=",
|
|
134
|
-
"++",
|
|
135
|
-
"--",
|
|
136
|
-
"&&",
|
|
137
|
-
"||",
|
|
138
|
-
"!",
|
|
139
|
-
"==",
|
|
140
|
-
"!=",
|
|
141
|
-
"===",
|
|
142
|
-
"!==",
|
|
143
|
-
">",
|
|
144
|
-
"<",
|
|
145
|
-
"<=",
|
|
146
|
-
">=",
|
|
147
|
-
"[",
|
|
148
|
-
"]",
|
|
149
|
-
"!!",
|
|
150
|
-
"?.",
|
|
151
|
-
"?:",
|
|
152
|
-
"::",
|
|
153
|
-
"..",
|
|
154
|
-
":",
|
|
155
|
-
"?",
|
|
156
|
-
"->",
|
|
157
|
-
"@",
|
|
158
|
-
";",
|
|
159
|
-
"$",
|
|
160
|
-
"_"
|
|
161
|
-
],
|
|
162
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
163
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
164
|
-
digits: /\d+(_+\d+)*/,
|
|
165
|
-
octaldigits: /[0-7]+(_+[0-7]+)*/,
|
|
166
|
-
binarydigits: /[0-1]+(_+[0-1]+)*/,
|
|
167
|
-
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
|
168
|
-
tokenizer: {
|
|
169
|
-
root: [
|
|
170
|
-
[/[A-Z][\w\$]*/, "type.identifier"],
|
|
171
|
-
[
|
|
172
|
-
/[a-zA-Z_$][\w$]*/,
|
|
173
|
-
{
|
|
174
|
-
cases: {
|
|
175
|
-
"@keywords": { token: "keyword.$0" },
|
|
176
|
-
"@default": "identifier"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
{ include: "@whitespace" },
|
|
181
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
182
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
183
|
-
[
|
|
184
|
-
/@symbols/,
|
|
185
|
-
{
|
|
186
|
-
cases: {
|
|
187
|
-
"@operators": "delimiter",
|
|
188
|
-
"@default": ""
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
[/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
|
|
193
|
-
[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
194
|
-
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
|
|
195
|
-
[/0[xX](@hexdigits)[Ll]?/, "number.hex"],
|
|
196
|
-
[/0(@octaldigits)[Ll]?/, "number.octal"],
|
|
197
|
-
[/0[bB](@binarydigits)[Ll]?/, "number.binary"],
|
|
198
|
-
[/(@digits)[fFdD]/, "number.float"],
|
|
199
|
-
[/(@digits)[lL]?/, "number"],
|
|
200
|
-
[/[;,.]/, "delimiter"],
|
|
201
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
202
|
-
[/"""/, "string", "@multistring"],
|
|
203
|
-
[/"/, "string", "@string"],
|
|
204
|
-
[/'[^\\']'/, "string"],
|
|
205
|
-
[/(')(@escapes)(')/, ["string", "string.escape", "string"]],
|
|
206
|
-
[/'/, "string.invalid"]
|
|
207
|
-
],
|
|
208
|
-
whitespace: [
|
|
209
|
-
[/[ \t\r\n]+/, ""],
|
|
210
|
-
[/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
|
|
211
|
-
[/\/\*/, "comment", "@comment"],
|
|
212
|
-
[/\/\/.*$/, "comment"]
|
|
213
|
-
],
|
|
214
|
-
comment: [
|
|
215
|
-
[/[^\/*]+/, "comment"],
|
|
216
|
-
[/\/\*/, "comment", "@comment"],
|
|
217
|
-
[/\*\//, "comment", "@pop"],
|
|
218
|
-
[/[\/*]/, "comment"]
|
|
219
|
-
],
|
|
220
|
-
javadoc: [
|
|
221
|
-
[/[^\/*]+/, "comment.doc"],
|
|
222
|
-
[/\/\*/, "comment.doc", "@push"],
|
|
223
|
-
[/\/\*/, "comment.doc.invalid"],
|
|
224
|
-
[/\*\//, "comment.doc", "@pop"],
|
|
225
|
-
[/[\/*]/, "comment.doc"]
|
|
226
|
-
],
|
|
227
|
-
string: [
|
|
228
|
-
[/[^\\"]+/, "string"],
|
|
229
|
-
[/@escapes/, "string.escape"],
|
|
230
|
-
[/\\./, "string.escape.invalid"],
|
|
231
|
-
[/"/, "string", "@pop"]
|
|
232
|
-
],
|
|
233
|
-
multistring: [
|
|
234
|
-
[/[^\\"]+/, "string"],
|
|
235
|
-
[/@escapes/, "string.escape"],
|
|
236
|
-
[/\\./, "string.escape.invalid"],
|
|
237
|
-
[/"""/, "string", "@pop"],
|
|
238
|
-
[/./, "string"]
|
|
239
|
-
]
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
export {
|
|
243
|
-
e as conf,
|
|
244
|
-
t as language
|
|
245
|
-
};
|
package/lib/less-718543b4.js
DELETED
|
@@ -1,168 +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
|
-
wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
|
|
9
|
-
comments: {
|
|
10
|
-
blockComment: ["/*", "*/"],
|
|
11
|
-
lineComment: "//"
|
|
12
|
-
},
|
|
13
|
-
brackets: [
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["[", "]"],
|
|
16
|
-
["(", ")"]
|
|
17
|
-
],
|
|
18
|
-
autoClosingPairs: [
|
|
19
|
-
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
|
20
|
-
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
|
21
|
-
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
|
22
|
-
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
|
23
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
|
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*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
|
|
35
|
-
end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}, t = {
|
|
39
|
-
defaultToken: "",
|
|
40
|
-
tokenPostfix: ".less",
|
|
41
|
-
identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
|
42
|
-
identifierPlus: "-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
|
|
43
|
-
brackets: [
|
|
44
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
45
|
-
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
46
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
47
|
-
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
48
|
-
],
|
|
49
|
-
tokenizer: {
|
|
50
|
-
root: [
|
|
51
|
-
{ include: "@nestedJSBegin" },
|
|
52
|
-
["[ \\t\\r\\n]+", ""],
|
|
53
|
-
{ include: "@comments" },
|
|
54
|
-
{ include: "@keyword" },
|
|
55
|
-
{ include: "@strings" },
|
|
56
|
-
{ include: "@numbers" },
|
|
57
|
-
["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))", "attribute.name", "@attribute"],
|
|
58
|
-
["url(\\-prefix)?\\(", { token: "tag", next: "@urldeclaration" }],
|
|
59
|
-
["[{}()\\[\\]]", "@brackets"],
|
|
60
|
-
["[,:;]", "delimiter"],
|
|
61
|
-
["#@identifierPlus", "tag.id"],
|
|
62
|
-
["&", "tag"],
|
|
63
|
-
["\\.@identifierPlus(?=\\()", "tag.class", "@attribute"],
|
|
64
|
-
["\\.@identifierPlus", "tag.class"],
|
|
65
|
-
["@identifierPlus", "tag"],
|
|
66
|
-
{ include: "@operators" },
|
|
67
|
-
["@(@identifier(?=[:,\\)]))", "variable", "@attribute"],
|
|
68
|
-
["@(@identifier)", "variable"],
|
|
69
|
-
["@", "key", "@atRules"]
|
|
70
|
-
],
|
|
71
|
-
nestedJSBegin: [
|
|
72
|
-
["``", "delimiter.backtick"],
|
|
73
|
-
[
|
|
74
|
-
"`",
|
|
75
|
-
{
|
|
76
|
-
token: "delimiter.backtick",
|
|
77
|
-
next: "@nestedJSEnd",
|
|
78
|
-
nextEmbedded: "text/javascript"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
],
|
|
82
|
-
nestedJSEnd: [
|
|
83
|
-
[
|
|
84
|
-
"`",
|
|
85
|
-
{
|
|
86
|
-
token: "delimiter.backtick",
|
|
87
|
-
next: "@pop",
|
|
88
|
-
nextEmbedded: "@pop"
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
],
|
|
92
|
-
operators: [["[<>=\\+\\-\\*\\/\\^\\|\\~]", "operator"]],
|
|
93
|
-
keyword: [
|
|
94
|
-
[
|
|
95
|
-
"(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b",
|
|
96
|
-
"keyword"
|
|
97
|
-
]
|
|
98
|
-
],
|
|
99
|
-
urldeclaration: [
|
|
100
|
-
{ include: "@strings" },
|
|
101
|
-
[`[^)\r
|
|
102
|
-
]+`, "string"],
|
|
103
|
-
["\\)", { token: "tag", next: "@pop" }]
|
|
104
|
-
],
|
|
105
|
-
attribute: [
|
|
106
|
-
{ include: "@nestedJSBegin" },
|
|
107
|
-
{ include: "@comments" },
|
|
108
|
-
{ include: "@strings" },
|
|
109
|
-
{ include: "@numbers" },
|
|
110
|
-
{ include: "@keyword" },
|
|
111
|
-
["[a-zA-Z\\-]+(?=\\()", "attribute.value", "@attribute"],
|
|
112
|
-
[">", "operator", "@pop"],
|
|
113
|
-
["@identifier", "attribute.value"],
|
|
114
|
-
{ include: "@operators" },
|
|
115
|
-
["@(@identifier)", "variable"],
|
|
116
|
-
["[)\\}]", "@brackets", "@pop"],
|
|
117
|
-
["[{}()\\[\\]>]", "@brackets"],
|
|
118
|
-
["[;]", "delimiter", "@pop"],
|
|
119
|
-
["[,=:]", "delimiter"],
|
|
120
|
-
["\\s", ""],
|
|
121
|
-
[".", "attribute.value"]
|
|
122
|
-
],
|
|
123
|
-
comments: [
|
|
124
|
-
["\\/\\*", "comment", "@comment"],
|
|
125
|
-
["\\/\\/+.*", "comment"]
|
|
126
|
-
],
|
|
127
|
-
comment: [
|
|
128
|
-
["\\*\\/", "comment", "@pop"],
|
|
129
|
-
[".", "comment"]
|
|
130
|
-
],
|
|
131
|
-
numbers: [
|
|
132
|
-
["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
|
|
133
|
-
["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
|
|
134
|
-
],
|
|
135
|
-
units: [
|
|
136
|
-
[
|
|
137
|
-
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
|
138
|
-
"attribute.value.unit",
|
|
139
|
-
"@pop"
|
|
140
|
-
]
|
|
141
|
-
],
|
|
142
|
-
strings: [
|
|
143
|
-
['~?"', { token: "string.delimiter", next: "@stringsEndDoubleQuote" }],
|
|
144
|
-
["~?'", { token: "string.delimiter", next: "@stringsEndQuote" }]
|
|
145
|
-
],
|
|
146
|
-
stringsEndDoubleQuote: [
|
|
147
|
-
['\\\\"', "string"],
|
|
148
|
-
['"', { token: "string.delimiter", next: "@popall" }],
|
|
149
|
-
[".", "string"]
|
|
150
|
-
],
|
|
151
|
-
stringsEndQuote: [
|
|
152
|
-
["\\\\'", "string"],
|
|
153
|
-
["'", { token: "string.delimiter", next: "@popall" }],
|
|
154
|
-
[".", "string"]
|
|
155
|
-
],
|
|
156
|
-
atRules: [
|
|
157
|
-
{ include: "@comments" },
|
|
158
|
-
{ include: "@strings" },
|
|
159
|
-
["[()]", "delimiter"],
|
|
160
|
-
["[\\{;]", "delimiter", "@pop"],
|
|
161
|
-
[".", "key"]
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
export {
|
|
166
|
-
e as conf,
|
|
167
|
-
t as language
|
|
168
|
-
};
|
package/lib/lexon-5e6e7a44.js
DELETED
|
@@ -1,151 +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: "COMMENT"
|
|
10
|
-
},
|
|
11
|
-
brackets: [["(", ")"]],
|
|
12
|
-
autoClosingPairs: [
|
|
13
|
-
{ open: "{", close: "}" },
|
|
14
|
-
{ open: "[", close: "]" },
|
|
15
|
-
{ open: "(", close: ")" },
|
|
16
|
-
{ open: '"', close: '"' },
|
|
17
|
-
{ open: ":", close: "." }
|
|
18
|
-
],
|
|
19
|
-
surroundingPairs: [
|
|
20
|
-
{ open: "{", close: "}" },
|
|
21
|
-
{ open: "[", close: "]" },
|
|
22
|
-
{ open: "(", close: ")" },
|
|
23
|
-
{ open: "`", close: "`" },
|
|
24
|
-
{ open: '"', close: '"' },
|
|
25
|
-
{ open: "'", close: "'" },
|
|
26
|
-
{ open: ":", close: "." }
|
|
27
|
-
],
|
|
28
|
-
folding: {
|
|
29
|
-
markers: {
|
|
30
|
-
start: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),
|
|
31
|
-
end: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, t = {
|
|
35
|
-
tokenPostfix: ".lexon",
|
|
36
|
-
ignoreCase: !0,
|
|
37
|
-
keywords: [
|
|
38
|
-
"lexon",
|
|
39
|
-
"lex",
|
|
40
|
-
"clause",
|
|
41
|
-
"terms",
|
|
42
|
-
"contracts",
|
|
43
|
-
"may",
|
|
44
|
-
"pay",
|
|
45
|
-
"pays",
|
|
46
|
-
"appoints",
|
|
47
|
-
"into",
|
|
48
|
-
"to"
|
|
49
|
-
],
|
|
50
|
-
typeKeywords: ["amount", "person", "key", "time", "date", "asset", "text"],
|
|
51
|
-
operators: [
|
|
52
|
-
"less",
|
|
53
|
-
"greater",
|
|
54
|
-
"equal",
|
|
55
|
-
"le",
|
|
56
|
-
"gt",
|
|
57
|
-
"or",
|
|
58
|
-
"and",
|
|
59
|
-
"add",
|
|
60
|
-
"added",
|
|
61
|
-
"subtract",
|
|
62
|
-
"subtracted",
|
|
63
|
-
"multiply",
|
|
64
|
-
"multiplied",
|
|
65
|
-
"times",
|
|
66
|
-
"divide",
|
|
67
|
-
"divided",
|
|
68
|
-
"is",
|
|
69
|
-
"be",
|
|
70
|
-
"certified"
|
|
71
|
-
],
|
|
72
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
|
73
|
-
tokenizer: {
|
|
74
|
-
root: [
|
|
75
|
-
[/^(\s*)(comment:?(?:\s.*|))$/, ["", "comment"]],
|
|
76
|
-
[
|
|
77
|
-
/"/,
|
|
78
|
-
{
|
|
79
|
-
token: "identifier.quote",
|
|
80
|
-
bracket: "@open",
|
|
81
|
-
next: "@quoted_identifier"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
"LEX$",
|
|
86
|
-
{
|
|
87
|
-
token: "keyword",
|
|
88
|
-
bracket: "@open",
|
|
89
|
-
next: "@identifier_until_period"
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
["LEXON", { token: "keyword", bracket: "@open", next: "@semver" }],
|
|
93
|
-
[
|
|
94
|
-
":",
|
|
95
|
-
{
|
|
96
|
-
token: "delimiter",
|
|
97
|
-
bracket: "@open",
|
|
98
|
-
next: "@identifier_until_period"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
/[a-z_$][\w$]*/,
|
|
103
|
-
{
|
|
104
|
-
cases: {
|
|
105
|
-
"@operators": "operator",
|
|
106
|
-
"@typeKeywords": "keyword.type",
|
|
107
|
-
"@keywords": "keyword",
|
|
108
|
-
"@default": "identifier"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
{ include: "@whitespace" },
|
|
113
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
114
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
|
115
|
-
[/@symbols/, "delimiter"],
|
|
116
|
-
[/\d*\.\d*\.\d*/, "number.semver"],
|
|
117
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
118
|
-
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
119
|
-
[/\d+/, "number"],
|
|
120
|
-
[/[;,.]/, "delimiter"]
|
|
121
|
-
],
|
|
122
|
-
quoted_identifier: [
|
|
123
|
-
[/[^\\"]+/, "identifier"],
|
|
124
|
-
[/"/, { token: "identifier.quote", bracket: "@close", next: "@pop" }]
|
|
125
|
-
],
|
|
126
|
-
space_identifier_until_period: [
|
|
127
|
-
[":", "delimiter"],
|
|
128
|
-
[" ", { token: "white", next: "@identifier_rest" }]
|
|
129
|
-
],
|
|
130
|
-
identifier_until_period: [
|
|
131
|
-
{ include: "@whitespace" },
|
|
132
|
-
[":", { token: "delimiter", next: "@identifier_rest" }],
|
|
133
|
-
[/[^\\.]+/, "identifier"],
|
|
134
|
-
[/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
|
|
135
|
-
],
|
|
136
|
-
identifier_rest: [
|
|
137
|
-
[/[^\\.]+/, "identifier"],
|
|
138
|
-
[/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
|
|
139
|
-
],
|
|
140
|
-
semver: [
|
|
141
|
-
{ include: "@whitespace" },
|
|
142
|
-
[":", "delimiter"],
|
|
143
|
-
[/\d*\.\d*\.\d*/, { token: "number.semver", bracket: "@close", next: "@pop" }]
|
|
144
|
-
],
|
|
145
|
-
whitespace: [[/[ \t\r\n]+/, "white"]]
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
export {
|
|
149
|
-
e as conf,
|
|
150
|
-
t as language
|
|
151
|
-
};
|