act-plus 1.1.18 → 1.1.19

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.
Files changed (107) hide show
  1. package/act-plus.js +5 -3
  2. package/act-plus.umd.cjs +1729 -16
  3. package/assets/editor.worker-df55e1ff.js +8 -0
  4. package/assets/ts.worker-e151483b.js +33972 -0
  5. package/lib/abap-1354785f.js +1314 -0
  6. package/lib/apex-279d4f27.js +315 -0
  7. package/lib/azcli-ba812c55.js +74 -0
  8. package/lib/bat-4d77495d.js +95 -0
  9. package/lib/bicep-7b240724.js +108 -0
  10. package/lib/cameligo-5d2daeb8.js +168 -0
  11. package/lib/clojure-b7ea12a3.js +754 -0
  12. package/lib/coffee-1a8cfbf4.js +228 -0
  13. package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
  14. package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
  15. package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
  16. package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
  17. package/lib/cpp-642b10c4.js +387 -0
  18. package/lib/csharp-d987ddad.js +320 -0
  19. package/lib/csp-96407af0.js +57 -0
  20. package/lib/css-5dd354ac.js +186 -0
  21. package/lib/cssMode-6d02ab39.js +1448 -0
  22. package/lib/cypher-11e5a4b6.js +262 -0
  23. package/lib/dart-5d209f63.js +270 -0
  24. package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
  25. package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
  26. package/lib/dockerfile-8739cff7.js +132 -0
  27. package/lib/ecl-a20c5155.js +454 -0
  28. package/lib/elixir-8b028584.js +467 -0
  29. package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
  30. package/lib/flow9-0dea2e73.js +141 -0
  31. package/lib/freemarker2-205877bf.js +646 -0
  32. package/lib/fsharp-49a70fad.js +210 -0
  33. package/lib/go-46e3b371.js +208 -0
  34. package/lib/graphql-51a577e5.js +141 -0
  35. package/lib/handlebars-2d920faa.js +394 -0
  36. package/lib/hcl-56b85754.js +177 -0
  37. package/lib/html-6b99359b.js +284 -0
  38. package/lib/htmlMode-498c17d9.js +1458 -0
  39. package/lib/index-68063c4c.js +96 -0
  40. package/lib/index-7c264775.js +192 -0
  41. package/lib/index-a36b2284.js +304 -0
  42. package/lib/index-aff95ab9.js +63 -0
  43. package/lib/index-da0a0bfe.js +162173 -0
  44. package/lib/index-e2f2023d.js +35 -0
  45. package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
  46. package/lib/ini-1d58d82f.js +68 -0
  47. package/lib/java-cd017f60.js +221 -0
  48. package/lib/javascript-5e40fe11.js +78 -0
  49. package/lib/jsonMode-2a821e9e.js +1869 -0
  50. package/lib/julia-a0caf483.js +496 -0
  51. package/lib/kotlin-c6e52a56.js +245 -0
  52. package/lib/less-718543b4.js +168 -0
  53. package/lib/lexon-5e6e7a44.js +151 -0
  54. package/lib/liquid-dc78aaf7.js +241 -0
  55. package/lib/lua-f159160b.js +157 -0
  56. package/lib/m3-aadaf771.js +210 -0
  57. package/lib/markdown-9b448c46.js +202 -0
  58. package/lib/mips-161e49ce.js +194 -0
  59. package/lib/msdax-f65cb1e6.js +377 -0
  60. package/lib/mysql-24549dd1.js +875 -0
  61. package/lib/objective-c-e129a5ca.js +188 -0
  62. package/lib/pascal-4ccdf5ce.js +245 -0
  63. package/lib/pascaligo-a9603dcd.js +158 -0
  64. package/lib/perl-ba1fb97a.js +599 -0
  65. package/lib/pgsql-89978310.js +843 -0
  66. package/lib/php-987b9d87.js +471 -0
  67. package/lib/pla-96c2695d.js +131 -0
  68. package/lib/postiats-7b52ebac.js +544 -0
  69. package/lib/powerquery-8954ec26.js +890 -0
  70. package/lib/powershell-f00d0274.js +233 -0
  71. package/lib/protobuf-3eb85f80.js +422 -0
  72. package/lib/pug-6fab415a.js +393 -0
  73. package/lib/python-e55144b2.js +262 -0
  74. package/lib/qsharp-4792f872.js +282 -0
  75. package/lib/r-630f5d6b.js +245 -0
  76. package/lib/razor-1fb88f53.js +515 -0
  77. package/lib/redis-276b8288.js +298 -0
  78. package/lib/redshift-520a7359.js +806 -0
  79. package/lib/restructuredtext-4676a3fc.js +162 -0
  80. package/lib/ruby-764137cd.js +444 -0
  81. package/lib/rust-97f8f6e1.js +337 -0
  82. package/lib/sb-8c22f14c.js +110 -0
  83. package/lib/scala-c68c650c.js +353 -0
  84. package/lib/scheme-e6a52cb0.js +114 -0
  85. package/lib/scss-45104c77.js +244 -0
  86. package/lib/shell-09452d42.js +224 -0
  87. package/lib/solidity-d4979008.js +1351 -0
  88. package/lib/sophia-21995caf.js +190 -0
  89. package/lib/sparql-5088743c.js +193 -0
  90. package/lib/sql-63ec8e76.js +818 -0
  91. package/lib/st-fa9ab362.js +414 -0
  92. package/lib/swift-abdf1835.js +315 -0
  93. package/lib/systemverilog-a4f858ed.js +556 -0
  94. package/lib/tcl-8adf937f.js +232 -0
  95. package/lib/tsMode-8d12d976.js +792 -0
  96. package/lib/twig-404eb73e.js +323 -0
  97. package/lib/typescript-97ed77ae.js +330 -0
  98. package/lib/vb-e21e8153.js +364 -0
  99. package/lib/xml-e843c667.js +98 -0
  100. package/lib/yaml-62bcf3fa.js +187 -0
  101. package/package.json +1 -1
  102. package/style.css +1 -1
  103. package/lib/index-14f7a543.js +0 -165
  104. package/lib/index-1f8ed34b.js +0 -11178
  105. package/lib/index-56217e0e.js +0 -96
  106. package/lib/index-8cb975d8.js +0 -297
  107. package/lib/index-9a1abd6b.js +0 -139
@@ -0,0 +1,282 @@
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: '"', notIn: ["string", "comment"] }
21
+ ],
22
+ surroundingPairs: [
23
+ { open: "{", close: "}" },
24
+ { open: "[", close: "]" },
25
+ { open: "(", close: ")" },
26
+ { open: '"', close: '"' }
27
+ ]
28
+ }, t = {
29
+ keywords: [
30
+ "namespace",
31
+ "open",
32
+ "as",
33
+ "operation",
34
+ "function",
35
+ "body",
36
+ "adjoint",
37
+ "newtype",
38
+ "controlled",
39
+ "if",
40
+ "elif",
41
+ "else",
42
+ "repeat",
43
+ "until",
44
+ "fixup",
45
+ "for",
46
+ "in",
47
+ "while",
48
+ "return",
49
+ "fail",
50
+ "within",
51
+ "apply",
52
+ "Adjoint",
53
+ "Controlled",
54
+ "Adj",
55
+ "Ctl",
56
+ "is",
57
+ "self",
58
+ "auto",
59
+ "distribute",
60
+ "invert",
61
+ "intrinsic",
62
+ "let",
63
+ "set",
64
+ "w/",
65
+ "new",
66
+ "not",
67
+ "and",
68
+ "or",
69
+ "use",
70
+ "borrow",
71
+ "using",
72
+ "borrowing",
73
+ "mutable",
74
+ "internal"
75
+ ],
76
+ typeKeywords: [
77
+ "Unit",
78
+ "Int",
79
+ "BigInt",
80
+ "Double",
81
+ "Bool",
82
+ "String",
83
+ "Qubit",
84
+ "Result",
85
+ "Pauli",
86
+ "Range"
87
+ ],
88
+ invalidKeywords: [
89
+ "abstract",
90
+ "base",
91
+ "bool",
92
+ "break",
93
+ "byte",
94
+ "case",
95
+ "catch",
96
+ "char",
97
+ "checked",
98
+ "class",
99
+ "const",
100
+ "continue",
101
+ "decimal",
102
+ "default",
103
+ "delegate",
104
+ "do",
105
+ "double",
106
+ "enum",
107
+ "event",
108
+ "explicit",
109
+ "extern",
110
+ "finally",
111
+ "fixed",
112
+ "float",
113
+ "foreach",
114
+ "goto",
115
+ "implicit",
116
+ "int",
117
+ "interface",
118
+ "lock",
119
+ "long",
120
+ "null",
121
+ "object",
122
+ "operator",
123
+ "out",
124
+ "override",
125
+ "params",
126
+ "private",
127
+ "protected",
128
+ "public",
129
+ "readonly",
130
+ "ref",
131
+ "sbyte",
132
+ "sealed",
133
+ "short",
134
+ "sizeof",
135
+ "stackalloc",
136
+ "static",
137
+ "string",
138
+ "struct",
139
+ "switch",
140
+ "this",
141
+ "throw",
142
+ "try",
143
+ "typeof",
144
+ "unit",
145
+ "ulong",
146
+ "unchecked",
147
+ "unsafe",
148
+ "ushort",
149
+ "virtual",
150
+ "void",
151
+ "volatile"
152
+ ],
153
+ constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
154
+ builtin: [
155
+ "X",
156
+ "Y",
157
+ "Z",
158
+ "H",
159
+ "HY",
160
+ "S",
161
+ "T",
162
+ "SWAP",
163
+ "CNOT",
164
+ "CCNOT",
165
+ "MultiX",
166
+ "R",
167
+ "RFrac",
168
+ "Rx",
169
+ "Ry",
170
+ "Rz",
171
+ "R1",
172
+ "R1Frac",
173
+ "Exp",
174
+ "ExpFrac",
175
+ "Measure",
176
+ "M",
177
+ "MultiM",
178
+ "Message",
179
+ "Length",
180
+ "Assert",
181
+ "AssertProb",
182
+ "AssertEqual"
183
+ ],
184
+ operators: [
185
+ "and=",
186
+ "<-",
187
+ "->",
188
+ "*",
189
+ "*=",
190
+ "@",
191
+ "!",
192
+ "^",
193
+ "^=",
194
+ ":",
195
+ "::",
196
+ "..",
197
+ "==",
198
+ "...",
199
+ "=",
200
+ "=>",
201
+ ">",
202
+ ">=",
203
+ "<",
204
+ "<=",
205
+ "-",
206
+ "-=",
207
+ "!=",
208
+ "or=",
209
+ "%",
210
+ "%=",
211
+ "|",
212
+ "+",
213
+ "+=",
214
+ "?",
215
+ "/",
216
+ "/=",
217
+ "&&&",
218
+ "&&&=",
219
+ "^^^",
220
+ "^^^=",
221
+ ">>>",
222
+ ">>>=",
223
+ "<<<",
224
+ "<<<=",
225
+ "|||",
226
+ "|||=",
227
+ "~~~",
228
+ "_",
229
+ "w/",
230
+ "w/="
231
+ ],
232
+ namespaceFollows: ["namespace", "open"],
233
+ symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
234
+ escapes: /\\[\s\S]/,
235
+ tokenizer: {
236
+ root: [
237
+ [
238
+ /[a-zA-Z_$][\w$]*/,
239
+ {
240
+ cases: {
241
+ "@namespaceFollows": {
242
+ token: "keyword.$0",
243
+ next: "@namespace"
244
+ },
245
+ "@typeKeywords": "type",
246
+ "@keywords": "keyword",
247
+ "@constants": "constant",
248
+ "@builtin": "keyword",
249
+ "@invalidKeywords": "invalid",
250
+ "@default": "identifier"
251
+ }
252
+ }
253
+ ],
254
+ { include: "@whitespace" },
255
+ [/[{}()\[\]]/, "@brackets"],
256
+ [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
257
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
258
+ [/\d+/, "number"],
259
+ [/[;,.]/, "delimiter"],
260
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
261
+ ],
262
+ string: [
263
+ [/[^\\"]+/, "string"],
264
+ [/@escapes/, "string.escape"],
265
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
266
+ ],
267
+ namespace: [
268
+ { include: "@whitespace" },
269
+ [/[A-Za-z]\w*/, "namespace"],
270
+ [/[\.=]/, "delimiter"],
271
+ ["", "", "@pop"]
272
+ ],
273
+ whitespace: [
274
+ [/[ \t\r\n]+/, "white"],
275
+ [/(\/\/).*/, "comment"]
276
+ ]
277
+ }
278
+ };
279
+ export {
280
+ e as conf,
281
+ t as language
282
+ };
@@ -0,0 +1,245 @@
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
+ ],
22
+ surroundingPairs: [
23
+ { open: "{", close: "}" },
24
+ { open: "[", close: "]" },
25
+ { open: "(", close: ")" },
26
+ { open: '"', close: '"' }
27
+ ]
28
+ }, o = {
29
+ defaultToken: "",
30
+ tokenPostfix: ".r",
31
+ roxygen: [
32
+ "@alias",
33
+ "@aliases",
34
+ "@assignee",
35
+ "@author",
36
+ "@backref",
37
+ "@callGraph",
38
+ "@callGraphDepth",
39
+ "@callGraphPrimitives",
40
+ "@concept",
41
+ "@describeIn",
42
+ "@description",
43
+ "@details",
44
+ "@docType",
45
+ "@encoding",
46
+ "@evalNamespace",
47
+ "@evalRd",
48
+ "@example",
49
+ "@examples",
50
+ "@export",
51
+ "@exportClass",
52
+ "@exportMethod",
53
+ "@exportPattern",
54
+ "@family",
55
+ "@field",
56
+ "@formals",
57
+ "@format",
58
+ "@import",
59
+ "@importClassesFrom",
60
+ "@importFrom",
61
+ "@importMethodsFrom",
62
+ "@include",
63
+ "@inherit",
64
+ "@inheritDotParams",
65
+ "@inheritParams",
66
+ "@inheritSection",
67
+ "@keywords",
68
+ "@md",
69
+ "@method",
70
+ "@name",
71
+ "@noMd",
72
+ "@noRd",
73
+ "@note",
74
+ "@param",
75
+ "@rawNamespace",
76
+ "@rawRd",
77
+ "@rdname",
78
+ "@references",
79
+ "@return",
80
+ "@S3method",
81
+ "@section",
82
+ "@seealso",
83
+ "@setClass",
84
+ "@slot",
85
+ "@source",
86
+ "@template",
87
+ "@templateVar",
88
+ "@title",
89
+ "@TODO",
90
+ "@usage",
91
+ "@useDynLib"
92
+ ],
93
+ constants: [
94
+ "NULL",
95
+ "FALSE",
96
+ "TRUE",
97
+ "NA",
98
+ "Inf",
99
+ "NaN",
100
+ "NA_integer_",
101
+ "NA_real_",
102
+ "NA_complex_",
103
+ "NA_character_",
104
+ "T",
105
+ "F",
106
+ "LETTERS",
107
+ "letters",
108
+ "month.abb",
109
+ "month.name",
110
+ "pi",
111
+ "R.version.string"
112
+ ],
113
+ keywords: [
114
+ "break",
115
+ "next",
116
+ "return",
117
+ "if",
118
+ "else",
119
+ "for",
120
+ "in",
121
+ "repeat",
122
+ "while",
123
+ "array",
124
+ "category",
125
+ "character",
126
+ "complex",
127
+ "double",
128
+ "function",
129
+ "integer",
130
+ "list",
131
+ "logical",
132
+ "matrix",
133
+ "numeric",
134
+ "vector",
135
+ "data.frame",
136
+ "factor",
137
+ "library",
138
+ "require",
139
+ "attach",
140
+ "detach",
141
+ "source"
142
+ ],
143
+ special: ["\\n", "\\r", "\\t", "\\b", "\\a", "\\f", "\\v", "\\'", '\\"', "\\\\"],
144
+ brackets: [
145
+ { open: "{", close: "}", token: "delimiter.curly" },
146
+ { open: "[", close: "]", token: "delimiter.bracket" },
147
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
148
+ ],
149
+ tokenizer: {
150
+ root: [
151
+ { include: "@numbers" },
152
+ { include: "@strings" },
153
+ [/[{}\[\]()]/, "@brackets"],
154
+ { include: "@operators" },
155
+ [/#'$/, "comment.doc"],
156
+ [/#'/, "comment.doc", "@roxygen"],
157
+ [/(^#.*$)/, "comment"],
158
+ [/\s+/, "white"],
159
+ [/[,:;]/, "delimiter"],
160
+ [/@[a-zA-Z]\w*/, "tag"],
161
+ [
162
+ /[a-zA-Z]\w*/,
163
+ {
164
+ cases: {
165
+ "@keywords": "keyword",
166
+ "@constants": "constant",
167
+ "@default": "identifier"
168
+ }
169
+ }
170
+ ]
171
+ ],
172
+ roxygen: [
173
+ [
174
+ /@\w+/,
175
+ {
176
+ cases: {
177
+ "@roxygen": "tag",
178
+ "@eos": { token: "comment.doc", next: "@pop" },
179
+ "@default": "comment.doc"
180
+ }
181
+ }
182
+ ],
183
+ [
184
+ /\s+/,
185
+ {
186
+ cases: {
187
+ "@eos": { token: "comment.doc", next: "@pop" },
188
+ "@default": "comment.doc"
189
+ }
190
+ }
191
+ ],
192
+ [/.*/, { token: "comment.doc", next: "@pop" }]
193
+ ],
194
+ numbers: [
195
+ [/0[xX][0-9a-fA-F]+/, "number.hex"],
196
+ [/-?(\d*\.)?\d+([eE][+\-]?\d+)?/, "number"]
197
+ ],
198
+ operators: [
199
+ [/<{1,2}-/, "operator"],
200
+ [/->{1,2}/, "operator"],
201
+ [/%[^%\s]+%/, "operator"],
202
+ [/\*\*/, "operator"],
203
+ [/%%/, "operator"],
204
+ [/&&/, "operator"],
205
+ [/\|\|/, "operator"],
206
+ [/<</, "operator"],
207
+ [/>>/, "operator"],
208
+ [/[-+=&|!<>^~*/:$]/, "operator"]
209
+ ],
210
+ strings: [
211
+ [/'/, "string.escape", "@stringBody"],
212
+ [/"/, "string.escape", "@dblStringBody"]
213
+ ],
214
+ stringBody: [
215
+ [
216
+ /\\./,
217
+ {
218
+ cases: {
219
+ "@special": "string",
220
+ "@default": "error-token"
221
+ }
222
+ }
223
+ ],
224
+ [/'/, "string.escape", "@popall"],
225
+ [/./, "string"]
226
+ ],
227
+ dblStringBody: [
228
+ [
229
+ /\\./,
230
+ {
231
+ cases: {
232
+ "@special": "string",
233
+ "@default": "error-token"
234
+ }
235
+ }
236
+ ],
237
+ [/"/, "string.escape", "@popall"],
238
+ [/./, "string"]
239
+ ]
240
+ }
241
+ };
242
+ export {
243
+ e as conf,
244
+ o as language
245
+ };