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,337 @@
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: '"', notIn: ["string"] }
22
+ ],
23
+ surroundingPairs: [
24
+ { open: "{", close: "}" },
25
+ { open: "[", close: "]" },
26
+ { open: "(", close: ")" },
27
+ { open: '"', close: '"' },
28
+ { open: "'", close: "'" }
29
+ ],
30
+ folding: {
31
+ markers: {
32
+ start: new RegExp("^\\s*#pragma\\s+region\\b"),
33
+ end: new RegExp("^\\s*#pragma\\s+endregion\\b")
34
+ }
35
+ }
36
+ }, t = {
37
+ tokenPostfix: ".rust",
38
+ defaultToken: "invalid",
39
+ keywords: [
40
+ "as",
41
+ "async",
42
+ "await",
43
+ "box",
44
+ "break",
45
+ "const",
46
+ "continue",
47
+ "crate",
48
+ "dyn",
49
+ "else",
50
+ "enum",
51
+ "extern",
52
+ "false",
53
+ "fn",
54
+ "for",
55
+ "if",
56
+ "impl",
57
+ "in",
58
+ "let",
59
+ "loop",
60
+ "match",
61
+ "mod",
62
+ "move",
63
+ "mut",
64
+ "pub",
65
+ "ref",
66
+ "return",
67
+ "self",
68
+ "static",
69
+ "struct",
70
+ "super",
71
+ "trait",
72
+ "true",
73
+ "try",
74
+ "type",
75
+ "unsafe",
76
+ "use",
77
+ "where",
78
+ "while",
79
+ "catch",
80
+ "default",
81
+ "union",
82
+ "static",
83
+ "abstract",
84
+ "alignof",
85
+ "become",
86
+ "do",
87
+ "final",
88
+ "macro",
89
+ "offsetof",
90
+ "override",
91
+ "priv",
92
+ "proc",
93
+ "pure",
94
+ "sizeof",
95
+ "typeof",
96
+ "unsized",
97
+ "virtual",
98
+ "yield"
99
+ ],
100
+ typeKeywords: [
101
+ "Self",
102
+ "m32",
103
+ "m64",
104
+ "m128",
105
+ "f80",
106
+ "f16",
107
+ "f128",
108
+ "int",
109
+ "uint",
110
+ "float",
111
+ "char",
112
+ "bool",
113
+ "u8",
114
+ "u16",
115
+ "u32",
116
+ "u64",
117
+ "f32",
118
+ "f64",
119
+ "i8",
120
+ "i16",
121
+ "i32",
122
+ "i64",
123
+ "str",
124
+ "Option",
125
+ "Either",
126
+ "c_float",
127
+ "c_double",
128
+ "c_void",
129
+ "FILE",
130
+ "fpos_t",
131
+ "DIR",
132
+ "dirent",
133
+ "c_char",
134
+ "c_schar",
135
+ "c_uchar",
136
+ "c_short",
137
+ "c_ushort",
138
+ "c_int",
139
+ "c_uint",
140
+ "c_long",
141
+ "c_ulong",
142
+ "size_t",
143
+ "ptrdiff_t",
144
+ "clock_t",
145
+ "time_t",
146
+ "c_longlong",
147
+ "c_ulonglong",
148
+ "intptr_t",
149
+ "uintptr_t",
150
+ "off_t",
151
+ "dev_t",
152
+ "ino_t",
153
+ "pid_t",
154
+ "mode_t",
155
+ "ssize_t"
156
+ ],
157
+ constants: ["true", "false", "Some", "None", "Left", "Right", "Ok", "Err"],
158
+ supportConstants: [
159
+ "EXIT_FAILURE",
160
+ "EXIT_SUCCESS",
161
+ "RAND_MAX",
162
+ "EOF",
163
+ "SEEK_SET",
164
+ "SEEK_CUR",
165
+ "SEEK_END",
166
+ "_IOFBF",
167
+ "_IONBF",
168
+ "_IOLBF",
169
+ "BUFSIZ",
170
+ "FOPEN_MAX",
171
+ "FILENAME_MAX",
172
+ "L_tmpnam",
173
+ "TMP_MAX",
174
+ "O_RDONLY",
175
+ "O_WRONLY",
176
+ "O_RDWR",
177
+ "O_APPEND",
178
+ "O_CREAT",
179
+ "O_EXCL",
180
+ "O_TRUNC",
181
+ "S_IFIFO",
182
+ "S_IFCHR",
183
+ "S_IFBLK",
184
+ "S_IFDIR",
185
+ "S_IFREG",
186
+ "S_IFMT",
187
+ "S_IEXEC",
188
+ "S_IWRITE",
189
+ "S_IREAD",
190
+ "S_IRWXU",
191
+ "S_IXUSR",
192
+ "S_IWUSR",
193
+ "S_IRUSR",
194
+ "F_OK",
195
+ "R_OK",
196
+ "W_OK",
197
+ "X_OK",
198
+ "STDIN_FILENO",
199
+ "STDOUT_FILENO",
200
+ "STDERR_FILENO"
201
+ ],
202
+ supportMacros: [
203
+ "format!",
204
+ "print!",
205
+ "println!",
206
+ "panic!",
207
+ "format_args!",
208
+ "unreachable!",
209
+ "write!",
210
+ "writeln!"
211
+ ],
212
+ operators: [
213
+ "!",
214
+ "!=",
215
+ "%",
216
+ "%=",
217
+ "&",
218
+ "&=",
219
+ "&&",
220
+ "*",
221
+ "*=",
222
+ "+",
223
+ "+=",
224
+ "-",
225
+ "-=",
226
+ "->",
227
+ ".",
228
+ "..",
229
+ "...",
230
+ "/",
231
+ "/=",
232
+ ":",
233
+ ";",
234
+ "<<",
235
+ "<<=",
236
+ "<",
237
+ "<=",
238
+ "=",
239
+ "==",
240
+ "=>",
241
+ ">",
242
+ ">=",
243
+ ">>",
244
+ ">>=",
245
+ "@",
246
+ "^",
247
+ "^=",
248
+ "|",
249
+ "|=",
250
+ "||",
251
+ "_",
252
+ "?",
253
+ "#"
254
+ ],
255
+ escapes: /\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,
256
+ delimiters: /[,]/,
257
+ symbols: /[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,
258
+ intSuffixes: /[iu](8|16|32|64|128|size)/,
259
+ floatSuffixes: /f(32|64)/,
260
+ tokenizer: {
261
+ root: [
262
+ [/r(#*)"/, { token: "string.quote", bracket: "@open", next: "@stringraw.$1" }],
263
+ [
264
+ /[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,
265
+ {
266
+ cases: {
267
+ "@typeKeywords": "keyword.type",
268
+ "@keywords": "keyword",
269
+ "@supportConstants": "keyword",
270
+ "@supportMacros": "keyword",
271
+ "@constants": "keyword",
272
+ "@default": "identifier"
273
+ }
274
+ }
275
+ ],
276
+ [/\$/, "identifier"],
277
+ [/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/, "identifier"],
278
+ [/'(\S|@escapes)'/, "string.byteliteral"],
279
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
280
+ { include: "@numbers" },
281
+ { include: "@whitespace" },
282
+ [
283
+ /@delimiters/,
284
+ {
285
+ cases: {
286
+ "@keywords": "keyword",
287
+ "@default": "delimiter"
288
+ }
289
+ }
290
+ ],
291
+ [/[{}()\[\]<>]/, "@brackets"],
292
+ [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }]
293
+ ],
294
+ whitespace: [
295
+ [/[ \t\r\n]+/, "white"],
296
+ [/\/\*/, "comment", "@comment"],
297
+ [/\/\/.*$/, "comment"]
298
+ ],
299
+ comment: [
300
+ [/[^\/*]+/, "comment"],
301
+ [/\/\*/, "comment", "@push"],
302
+ ["\\*/", "comment", "@pop"],
303
+ [/[\/*]/, "comment"]
304
+ ],
305
+ string: [
306
+ [/[^\\"]+/, "string"],
307
+ [/@escapes/, "string.escape"],
308
+ [/\\./, "string.escape.invalid"],
309
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
310
+ ],
311
+ stringraw: [
312
+ [/[^"#]+/, { token: "string" }],
313
+ [
314
+ /"(#*)/,
315
+ {
316
+ cases: {
317
+ "$1==$S2": { token: "string.quote", bracket: "@close", next: "@pop" },
318
+ "@default": { token: "string" }
319
+ }
320
+ }
321
+ ],
322
+ [/["#]/, { token: "string" }]
323
+ ],
324
+ numbers: [
325
+ [/(0o[0-7_]+)(@intSuffixes)?/, { token: "number" }],
326
+ [/(0b[0-1_]+)(@intSuffixes)?/, { token: "number" }],
327
+ [/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/, { token: "number" }],
328
+ [/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/, { token: "number" }],
329
+ [/(0x[\da-fA-F]+)_?(@intSuffixes)?/, { token: "number" }],
330
+ [/[\d][\d_]*(@intSuffixes?)?/, { token: "number" }]
331
+ ]
332
+ }
333
+ };
334
+ export {
335
+ e as conf,
336
+ t as language
337
+ };
@@ -0,0 +1,110 @@
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
+ ["If", "EndIf"],
15
+ ["While", "EndWhile"],
16
+ ["For", "EndFor"],
17
+ ["Sub", "EndSub"]
18
+ ],
19
+ autoClosingPairs: [
20
+ { open: '"', close: '"', notIn: ["string", "comment"] },
21
+ { open: "(", close: ")", notIn: ["string", "comment"] },
22
+ { open: "[", close: "]", notIn: ["string", "comment"] }
23
+ ]
24
+ }, o = {
25
+ defaultToken: "",
26
+ tokenPostfix: ".sb",
27
+ ignoreCase: !0,
28
+ brackets: [
29
+ { token: "delimiter.array", open: "[", close: "]" },
30
+ { token: "delimiter.parenthesis", open: "(", close: ")" },
31
+ { token: "keyword.tag-if", open: "If", close: "EndIf" },
32
+ { token: "keyword.tag-while", open: "While", close: "EndWhile" },
33
+ { token: "keyword.tag-for", open: "For", close: "EndFor" },
34
+ { token: "keyword.tag-sub", open: "Sub", close: "EndSub" }
35
+ ],
36
+ keywords: [
37
+ "Else",
38
+ "ElseIf",
39
+ "EndFor",
40
+ "EndIf",
41
+ "EndSub",
42
+ "EndWhile",
43
+ "For",
44
+ "Goto",
45
+ "If",
46
+ "Step",
47
+ "Sub",
48
+ "Then",
49
+ "To",
50
+ "While"
51
+ ],
52
+ tagwords: ["If", "Sub", "While", "For"],
53
+ operators: [">", "<", "<>", "<=", ">=", "And", "Or", "+", "-", "*", "/", "="],
54
+ identifier: /[a-zA-Z_][\w]*/,
55
+ symbols: /[=><:+\-*\/%\.,]+/,
56
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
57
+ tokenizer: {
58
+ root: [
59
+ { include: "@whitespace" },
60
+ [/(@identifier)(?=[.])/, "type"],
61
+ [
62
+ /@identifier/,
63
+ {
64
+ cases: {
65
+ "@keywords": { token: "keyword.$0" },
66
+ "@operators": "operator",
67
+ "@default": "variable.name"
68
+ }
69
+ }
70
+ ],
71
+ [
72
+ /([.])(@identifier)/,
73
+ {
74
+ cases: {
75
+ $2: ["delimiter", "type.member"],
76
+ "@default": ""
77
+ }
78
+ }
79
+ ],
80
+ [/\d*\.\d+/, "number.float"],
81
+ [/\d+/, "number"],
82
+ [/[()\[\]]/, "@brackets"],
83
+ [
84
+ /@symbols/,
85
+ {
86
+ cases: {
87
+ "@operators": "operator",
88
+ "@default": "delimiter"
89
+ }
90
+ }
91
+ ],
92
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
93
+ [/"/, "string", "@string"]
94
+ ],
95
+ whitespace: [
96
+ [/[ \t\r\n]+/, ""],
97
+ [/(\').*$/, "comment"]
98
+ ],
99
+ string: [
100
+ [/[^\\"]+/, "string"],
101
+ [/@escapes/, "string.escape"],
102
+ [/\\./, "string.escape.invalid"],
103
+ [/"C?/, "string", "@pop"]
104
+ ]
105
+ }
106
+ };
107
+ export {
108
+ e as conf,
109
+ o as language
110
+ };