act-plus 1.1.18 → 1.1.20
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 +5 -3
- package/act-plus.umd.cjs +1729 -16
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/lib/abap-1354785f.js +1314 -0
- package/lib/apex-279d4f27.js +315 -0
- package/lib/azcli-ba812c55.js +74 -0
- package/lib/bat-4d77495d.js +95 -0
- package/lib/bicep-7b240724.js +108 -0
- package/lib/cameligo-5d2daeb8.js +168 -0
- package/lib/clojure-b7ea12a3.js +754 -0
- package/lib/coffee-1a8cfbf4.js +228 -0
- package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
- package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
- package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
- package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
- package/lib/cpp-642b10c4.js +387 -0
- package/lib/csharp-d987ddad.js +320 -0
- package/lib/csp-96407af0.js +57 -0
- package/lib/css-5dd354ac.js +186 -0
- package/lib/cssMode-6d02ab39.js +1448 -0
- package/lib/cypher-11e5a4b6.js +262 -0
- package/lib/dart-5d209f63.js +270 -0
- package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
- package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
- package/lib/dockerfile-8739cff7.js +132 -0
- package/lib/ecl-a20c5155.js +454 -0
- package/lib/elixir-8b028584.js +467 -0
- package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
- package/lib/flow9-0dea2e73.js +141 -0
- package/lib/freemarker2-205877bf.js +646 -0
- package/lib/fsharp-49a70fad.js +210 -0
- package/lib/go-46e3b371.js +208 -0
- package/lib/graphql-51a577e5.js +141 -0
- package/lib/handlebars-2d920faa.js +394 -0
- package/lib/hcl-56b85754.js +177 -0
- package/lib/html-6b99359b.js +284 -0
- package/lib/htmlMode-498c17d9.js +1458 -0
- package/lib/index-68063c4c.js +96 -0
- package/lib/index-7c264775.js +192 -0
- package/lib/index-a36b2284.js +304 -0
- package/lib/index-aff95ab9.js +63 -0
- package/lib/index-da0a0bfe.js +162173 -0
- package/lib/index-e2f2023d.js +35 -0
- package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
- package/lib/ini-1d58d82f.js +68 -0
- package/lib/java-cd017f60.js +221 -0
- package/lib/javascript-5e40fe11.js +78 -0
- package/lib/jsonMode-2a821e9e.js +1869 -0
- package/lib/julia-a0caf483.js +496 -0
- package/lib/kotlin-c6e52a56.js +245 -0
- package/lib/less-718543b4.js +168 -0
- package/lib/lexon-5e6e7a44.js +151 -0
- package/lib/liquid-dc78aaf7.js +241 -0
- package/lib/lua-f159160b.js +157 -0
- package/lib/m3-aadaf771.js +210 -0
- package/lib/markdown-9b448c46.js +202 -0
- package/lib/mips-161e49ce.js +194 -0
- package/lib/msdax-f65cb1e6.js +377 -0
- package/lib/mysql-24549dd1.js +875 -0
- package/lib/objective-c-e129a5ca.js +188 -0
- package/lib/pascal-4ccdf5ce.js +245 -0
- package/lib/pascaligo-a9603dcd.js +158 -0
- package/lib/perl-ba1fb97a.js +599 -0
- package/lib/pgsql-89978310.js +843 -0
- package/lib/php-987b9d87.js +471 -0
- package/lib/pla-96c2695d.js +131 -0
- package/lib/postiats-7b52ebac.js +544 -0
- package/lib/powerquery-8954ec26.js +890 -0
- package/lib/powershell-f00d0274.js +233 -0
- package/lib/protobuf-3eb85f80.js +422 -0
- package/lib/pug-6fab415a.js +393 -0
- package/lib/python-e55144b2.js +262 -0
- package/lib/qsharp-4792f872.js +282 -0
- package/lib/r-630f5d6b.js +245 -0
- package/lib/razor-1fb88f53.js +515 -0
- package/lib/redis-276b8288.js +298 -0
- package/lib/redshift-520a7359.js +806 -0
- package/lib/restructuredtext-4676a3fc.js +162 -0
- package/lib/ruby-764137cd.js +444 -0
- package/lib/rust-97f8f6e1.js +337 -0
- package/lib/sb-8c22f14c.js +110 -0
- package/lib/scala-c68c650c.js +353 -0
- package/lib/scheme-e6a52cb0.js +114 -0
- package/lib/scss-45104c77.js +244 -0
- package/lib/shell-09452d42.js +224 -0
- package/lib/solidity-d4979008.js +1351 -0
- package/lib/sophia-21995caf.js +190 -0
- package/lib/sparql-5088743c.js +193 -0
- package/lib/sql-63ec8e76.js +818 -0
- package/lib/st-fa9ab362.js +414 -0
- package/lib/swift-abdf1835.js +315 -0
- package/lib/systemverilog-a4f858ed.js +556 -0
- package/lib/tcl-8adf937f.js +232 -0
- package/lib/tsMode-8d12d976.js +792 -0
- package/lib/twig-404eb73e.js +323 -0
- package/lib/typescript-97ed77ae.js +330 -0
- package/lib/vb-e21e8153.js +364 -0
- package/lib/xml-e843c667.js +98 -0
- package/lib/yaml-62bcf3fa.js +187 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-14f7a543.js +0 -165
- package/lib/index-1f8ed34b.js +0 -11178
- package/lib/index-56217e0e.js +0 -96
- package/lib/index-8cb975d8.js +0 -297
- package/lib/index-9a1abd6b.js +0 -139
|
@@ -0,0 +1,168 @@
|
|
|
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
|
+
],
|
|
18
|
+
autoClosingPairs: [
|
|
19
|
+
{ open: "{", close: "}" },
|
|
20
|
+
{ open: "[", close: "]" },
|
|
21
|
+
{ open: "(", close: ")" },
|
|
22
|
+
{ open: "<", close: ">" },
|
|
23
|
+
{ open: "'", close: "'" },
|
|
24
|
+
{ open: '"', close: '"' },
|
|
25
|
+
{ open: "(*", close: "*)" }
|
|
26
|
+
],
|
|
27
|
+
surroundingPairs: [
|
|
28
|
+
{ open: "{", close: "}" },
|
|
29
|
+
{ open: "[", close: "]" },
|
|
30
|
+
{ open: "(", close: ")" },
|
|
31
|
+
{ open: "<", close: ">" },
|
|
32
|
+
{ open: "'", close: "'" },
|
|
33
|
+
{ open: '"', close: '"' },
|
|
34
|
+
{ open: "(*", close: "*)" }
|
|
35
|
+
]
|
|
36
|
+
}, o = {
|
|
37
|
+
defaultToken: "",
|
|
38
|
+
tokenPostfix: ".cameligo",
|
|
39
|
+
ignoreCase: !0,
|
|
40
|
+
brackets: [
|
|
41
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
42
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
|
43
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
|
44
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
|
45
|
+
],
|
|
46
|
+
keywords: [
|
|
47
|
+
"abs",
|
|
48
|
+
"assert",
|
|
49
|
+
"block",
|
|
50
|
+
"Bytes",
|
|
51
|
+
"case",
|
|
52
|
+
"Crypto",
|
|
53
|
+
"Current",
|
|
54
|
+
"else",
|
|
55
|
+
"failwith",
|
|
56
|
+
"false",
|
|
57
|
+
"for",
|
|
58
|
+
"fun",
|
|
59
|
+
"if",
|
|
60
|
+
"in",
|
|
61
|
+
"let",
|
|
62
|
+
"let%entry",
|
|
63
|
+
"let%init",
|
|
64
|
+
"List",
|
|
65
|
+
"list",
|
|
66
|
+
"Map",
|
|
67
|
+
"map",
|
|
68
|
+
"match",
|
|
69
|
+
"match%nat",
|
|
70
|
+
"mod",
|
|
71
|
+
"not",
|
|
72
|
+
"operation",
|
|
73
|
+
"Operation",
|
|
74
|
+
"of",
|
|
75
|
+
"record",
|
|
76
|
+
"Set",
|
|
77
|
+
"set",
|
|
78
|
+
"sender",
|
|
79
|
+
"skip",
|
|
80
|
+
"source",
|
|
81
|
+
"String",
|
|
82
|
+
"then",
|
|
83
|
+
"to",
|
|
84
|
+
"true",
|
|
85
|
+
"type",
|
|
86
|
+
"with"
|
|
87
|
+
],
|
|
88
|
+
typeKeywords: ["int", "unit", "string", "tz", "nat", "bool"],
|
|
89
|
+
operators: [
|
|
90
|
+
"=",
|
|
91
|
+
">",
|
|
92
|
+
"<",
|
|
93
|
+
"<=",
|
|
94
|
+
">=",
|
|
95
|
+
"<>",
|
|
96
|
+
":",
|
|
97
|
+
":=",
|
|
98
|
+
"and",
|
|
99
|
+
"mod",
|
|
100
|
+
"or",
|
|
101
|
+
"+",
|
|
102
|
+
"-",
|
|
103
|
+
"*",
|
|
104
|
+
"/",
|
|
105
|
+
"@",
|
|
106
|
+
"&",
|
|
107
|
+
"^",
|
|
108
|
+
"%",
|
|
109
|
+
"->",
|
|
110
|
+
"<-",
|
|
111
|
+
"&&",
|
|
112
|
+
"||"
|
|
113
|
+
],
|
|
114
|
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
|
115
|
+
tokenizer: {
|
|
116
|
+
root: [
|
|
117
|
+
[
|
|
118
|
+
/[a-zA-Z_][\w]*/,
|
|
119
|
+
{
|
|
120
|
+
cases: {
|
|
121
|
+
"@keywords": { token: "keyword.$0" },
|
|
122
|
+
"@default": "identifier"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
{ include: "@whitespace" },
|
|
127
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
128
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
129
|
+
[
|
|
130
|
+
/@symbols/,
|
|
131
|
+
{
|
|
132
|
+
cases: {
|
|
133
|
+
"@operators": "delimiter",
|
|
134
|
+
"@default": ""
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
139
|
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
|
140
|
+
[/\d+/, "number"],
|
|
141
|
+
[/[;,.]/, "delimiter"],
|
|
142
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
143
|
+
[/'/, "string", "@string"],
|
|
144
|
+
[/'[^\\']'/, "string"],
|
|
145
|
+
[/'/, "string.invalid"],
|
|
146
|
+
[/\#\d+/, "string"]
|
|
147
|
+
],
|
|
148
|
+
comment: [
|
|
149
|
+
[/[^\(\*]+/, "comment"],
|
|
150
|
+
[/\*\)/, "comment", "@pop"],
|
|
151
|
+
[/\(\*/, "comment"]
|
|
152
|
+
],
|
|
153
|
+
string: [
|
|
154
|
+
[/[^\\']+/, "string"],
|
|
155
|
+
[/\\./, "string.escape.invalid"],
|
|
156
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
157
|
+
],
|
|
158
|
+
whitespace: [
|
|
159
|
+
[/[ \t\r\n]+/, "white"],
|
|
160
|
+
[/\(\*/, "comment", "@comment"],
|
|
161
|
+
[/\/\/.*$/, "comment"]
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
export {
|
|
166
|
+
e as conf,
|
|
167
|
+
o as language
|
|
168
|
+
};
|