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,414 @@
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
+ ["var", "end_var"],
17
+ ["var_input", "end_var"],
18
+ ["var_output", "end_var"],
19
+ ["var_in_out", "end_var"],
20
+ ["var_temp", "end_var"],
21
+ ["var_global", "end_var"],
22
+ ["var_access", "end_var"],
23
+ ["var_external", "end_var"],
24
+ ["type", "end_type"],
25
+ ["struct", "end_struct"],
26
+ ["program", "end_program"],
27
+ ["function", "end_function"],
28
+ ["function_block", "end_function_block"],
29
+ ["action", "end_action"],
30
+ ["step", "end_step"],
31
+ ["initial_step", "end_step"],
32
+ ["transaction", "end_transaction"],
33
+ ["configuration", "end_configuration"],
34
+ ["tcp", "end_tcp"],
35
+ ["recource", "end_recource"],
36
+ ["channel", "end_channel"],
37
+ ["library", "end_library"],
38
+ ["folder", "end_folder"],
39
+ ["binaries", "end_binaries"],
40
+ ["includes", "end_includes"],
41
+ ["sources", "end_sources"]
42
+ ],
43
+ autoClosingPairs: [
44
+ { open: "[", close: "]" },
45
+ { open: "{", close: "}" },
46
+ { open: "(", close: ")" },
47
+ { open: "/*", close: "*/" },
48
+ { open: "'", close: "'", notIn: ["string_sq"] },
49
+ { open: '"', close: '"', notIn: ["string_dq"] },
50
+ { open: "var_input", close: "end_var" },
51
+ { open: "var_output", close: "end_var" },
52
+ { open: "var_in_out", close: "end_var" },
53
+ { open: "var_temp", close: "end_var" },
54
+ { open: "var_global", close: "end_var" },
55
+ { open: "var_access", close: "end_var" },
56
+ { open: "var_external", close: "end_var" },
57
+ { open: "type", close: "end_type" },
58
+ { open: "struct", close: "end_struct" },
59
+ { open: "program", close: "end_program" },
60
+ { open: "function", close: "end_function" },
61
+ { open: "function_block", close: "end_function_block" },
62
+ { open: "action", close: "end_action" },
63
+ { open: "step", close: "end_step" },
64
+ { open: "initial_step", close: "end_step" },
65
+ { open: "transaction", close: "end_transaction" },
66
+ { open: "configuration", close: "end_configuration" },
67
+ { open: "tcp", close: "end_tcp" },
68
+ { open: "recource", close: "end_recource" },
69
+ { open: "channel", close: "end_channel" },
70
+ { open: "library", close: "end_library" },
71
+ { open: "folder", close: "end_folder" },
72
+ { open: "binaries", close: "end_binaries" },
73
+ { open: "includes", close: "end_includes" },
74
+ { open: "sources", close: "end_sources" }
75
+ ],
76
+ surroundingPairs: [
77
+ { open: "{", close: "}" },
78
+ { open: "[", close: "]" },
79
+ { open: "(", close: ")" },
80
+ { open: '"', close: '"' },
81
+ { open: "'", close: "'" },
82
+ { open: "var", close: "end_var" },
83
+ { open: "var_input", close: "end_var" },
84
+ { open: "var_output", close: "end_var" },
85
+ { open: "var_in_out", close: "end_var" },
86
+ { open: "var_temp", close: "end_var" },
87
+ { open: "var_global", close: "end_var" },
88
+ { open: "var_access", close: "end_var" },
89
+ { open: "var_external", close: "end_var" },
90
+ { open: "type", close: "end_type" },
91
+ { open: "struct", close: "end_struct" },
92
+ { open: "program", close: "end_program" },
93
+ { open: "function", close: "end_function" },
94
+ { open: "function_block", close: "end_function_block" },
95
+ { open: "action", close: "end_action" },
96
+ { open: "step", close: "end_step" },
97
+ { open: "initial_step", close: "end_step" },
98
+ { open: "transaction", close: "end_transaction" },
99
+ { open: "configuration", close: "end_configuration" },
100
+ { open: "tcp", close: "end_tcp" },
101
+ { open: "recource", close: "end_recource" },
102
+ { open: "channel", close: "end_channel" },
103
+ { open: "library", close: "end_library" },
104
+ { open: "folder", close: "end_folder" },
105
+ { open: "binaries", close: "end_binaries" },
106
+ { open: "includes", close: "end_includes" },
107
+ { open: "sources", close: "end_sources" }
108
+ ],
109
+ folding: {
110
+ markers: {
111
+ start: new RegExp("^\\s*#pragma\\s+region\\b"),
112
+ end: new RegExp("^\\s*#pragma\\s+endregion\\b")
113
+ }
114
+ }
115
+ }, n = {
116
+ defaultToken: "",
117
+ tokenPostfix: ".st",
118
+ ignoreCase: !0,
119
+ brackets: [
120
+ { token: "delimiter.curly", open: "{", close: "}" },
121
+ { token: "delimiter.parenthesis", open: "(", close: ")" },
122
+ { token: "delimiter.square", open: "[", close: "]" }
123
+ ],
124
+ keywords: [
125
+ "if",
126
+ "end_if",
127
+ "elsif",
128
+ "else",
129
+ "case",
130
+ "of",
131
+ "to",
132
+ "__try",
133
+ "__catch",
134
+ "__finally",
135
+ "do",
136
+ "with",
137
+ "by",
138
+ "while",
139
+ "repeat",
140
+ "end_while",
141
+ "end_repeat",
142
+ "end_case",
143
+ "for",
144
+ "end_for",
145
+ "task",
146
+ "retain",
147
+ "non_retain",
148
+ "constant",
149
+ "with",
150
+ "at",
151
+ "exit",
152
+ "return",
153
+ "interval",
154
+ "priority",
155
+ "address",
156
+ "port",
157
+ "on_channel",
158
+ "then",
159
+ "iec",
160
+ "file",
161
+ "uses",
162
+ "version",
163
+ "packagetype",
164
+ "displayname",
165
+ "copyright",
166
+ "summary",
167
+ "vendor",
168
+ "common_source",
169
+ "from",
170
+ "extends"
171
+ ],
172
+ constant: ["false", "true", "null"],
173
+ defineKeywords: [
174
+ "var",
175
+ "var_input",
176
+ "var_output",
177
+ "var_in_out",
178
+ "var_temp",
179
+ "var_global",
180
+ "var_access",
181
+ "var_external",
182
+ "end_var",
183
+ "type",
184
+ "end_type",
185
+ "struct",
186
+ "end_struct",
187
+ "program",
188
+ "end_program",
189
+ "function",
190
+ "end_function",
191
+ "function_block",
192
+ "end_function_block",
193
+ "interface",
194
+ "end_interface",
195
+ "method",
196
+ "end_method",
197
+ "property",
198
+ "end_property",
199
+ "namespace",
200
+ "end_namespace",
201
+ "configuration",
202
+ "end_configuration",
203
+ "tcp",
204
+ "end_tcp",
205
+ "resource",
206
+ "end_resource",
207
+ "channel",
208
+ "end_channel",
209
+ "library",
210
+ "end_library",
211
+ "folder",
212
+ "end_folder",
213
+ "binaries",
214
+ "end_binaries",
215
+ "includes",
216
+ "end_includes",
217
+ "sources",
218
+ "end_sources",
219
+ "action",
220
+ "end_action",
221
+ "step",
222
+ "initial_step",
223
+ "end_step",
224
+ "transaction",
225
+ "end_transaction"
226
+ ],
227
+ typeKeywords: [
228
+ "int",
229
+ "sint",
230
+ "dint",
231
+ "lint",
232
+ "usint",
233
+ "uint",
234
+ "udint",
235
+ "ulint",
236
+ "real",
237
+ "lreal",
238
+ "time",
239
+ "date",
240
+ "time_of_day",
241
+ "date_and_time",
242
+ "string",
243
+ "bool",
244
+ "byte",
245
+ "word",
246
+ "dword",
247
+ "array",
248
+ "pointer",
249
+ "lword"
250
+ ],
251
+ operators: [
252
+ "=",
253
+ ">",
254
+ "<",
255
+ ":",
256
+ ":=",
257
+ "<=",
258
+ ">=",
259
+ "<>",
260
+ "&",
261
+ "+",
262
+ "-",
263
+ "*",
264
+ "**",
265
+ "MOD",
266
+ "^",
267
+ "or",
268
+ "and",
269
+ "not",
270
+ "xor",
271
+ "abs",
272
+ "acos",
273
+ "asin",
274
+ "atan",
275
+ "cos",
276
+ "exp",
277
+ "expt",
278
+ "ln",
279
+ "log",
280
+ "sin",
281
+ "sqrt",
282
+ "tan",
283
+ "sel",
284
+ "max",
285
+ "min",
286
+ "limit",
287
+ "mux",
288
+ "shl",
289
+ "shr",
290
+ "rol",
291
+ "ror",
292
+ "indexof",
293
+ "sizeof",
294
+ "adr",
295
+ "adrinst",
296
+ "bitadr",
297
+ "is_valid",
298
+ "ref",
299
+ "ref_to"
300
+ ],
301
+ builtinVariables: [],
302
+ builtinFunctions: [
303
+ "sr",
304
+ "rs",
305
+ "tp",
306
+ "ton",
307
+ "tof",
308
+ "eq",
309
+ "ge",
310
+ "le",
311
+ "lt",
312
+ "ne",
313
+ "round",
314
+ "trunc",
315
+ "ctd",
316
+ "сtu",
317
+ "ctud",
318
+ "r_trig",
319
+ "f_trig",
320
+ "move",
321
+ "concat",
322
+ "delete",
323
+ "find",
324
+ "insert",
325
+ "left",
326
+ "len",
327
+ "replace",
328
+ "right",
329
+ "rtc"
330
+ ],
331
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
332
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
333
+ tokenizer: {
334
+ root: [
335
+ [/(\.\.)/, "delimiter"],
336
+ [/\b(16#[0-9A-Fa-f\_]*)+\b/, "number.hex"],
337
+ [/\b(2#[01\_]+)+\b/, "number.binary"],
338
+ [/\b(8#[0-9\_]*)+\b/, "number.octal"],
339
+ [/\b\d*\.\d+([eE][\-+]?\d+)?\b/, "number.float"],
340
+ [/\b(L?REAL)#[0-9\_\.e]+\b/, "number.float"],
341
+ [/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/, "number"],
342
+ [/\d+/, "number"],
343
+ [/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/, "tag"],
344
+ [/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/, "tag"],
345
+ [/\%(I|Q|M)[0-9\.]*/, "tag"],
346
+ [/\b[A-Za-z]{1,6}#[0-9]+\b/, "tag"],
347
+ [/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/, "predefined"],
348
+ [/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/, "predefined"],
349
+ [/[;]/, "delimiter"],
350
+ [/[.]/, { token: "delimiter", next: "@params" }],
351
+ [
352
+ /[a-zA-Z_]\w*/,
353
+ {
354
+ cases: {
355
+ "@operators": "operators",
356
+ "@keywords": "keyword",
357
+ "@typeKeywords": "type",
358
+ "@defineKeywords": "variable",
359
+ "@constant": "constant",
360
+ "@builtinVariables": "predefined",
361
+ "@builtinFunctions": "predefined",
362
+ "@default": "identifier"
363
+ }
364
+ }
365
+ ],
366
+ { include: "@whitespace" },
367
+ [/[{}()\[\]]/, "@brackets"],
368
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
369
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string_dq" }],
370
+ [/'/, { token: "string.quote", bracket: "@open", next: "@string_sq" }],
371
+ [/'[^\\']'/, "string"],
372
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
373
+ [/'/, "string.invalid"]
374
+ ],
375
+ params: [
376
+ [/\b[A-Za-z0-9_]+\b(?=\()/, { token: "identifier", next: "@pop" }],
377
+ [/\b[A-Za-z0-9_]+\b/, "variable.name", "@pop"]
378
+ ],
379
+ comment: [
380
+ [/[^\/*]+/, "comment"],
381
+ [/\/\*/, "comment", "@push"],
382
+ ["\\*/", "comment", "@pop"],
383
+ [/[\/*]/, "comment"]
384
+ ],
385
+ comment2: [
386
+ [/[^\(*]+/, "comment"],
387
+ [/\(\*/, "comment", "@push"],
388
+ ["\\*\\)", "comment", "@pop"],
389
+ [/[\(*]/, "comment"]
390
+ ],
391
+ whitespace: [
392
+ [/[ \t\r\n]+/, "white"],
393
+ [/\/\/.*$/, "comment"],
394
+ [/\/\*/, "comment", "@comment"],
395
+ [/\(\*/, "comment", "@comment2"]
396
+ ],
397
+ string_dq: [
398
+ [/[^\\"]+/, "string"],
399
+ [/@escapes/, "string.escape"],
400
+ [/\\./, "string.escape.invalid"],
401
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
402
+ ],
403
+ string_sq: [
404
+ [/[^\\']+/, "string"],
405
+ [/@escapes/, "string.escape"],
406
+ [/\\./, "string.escape.invalid"],
407
+ [/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
408
+ ]
409
+ }
410
+ };
411
+ export {
412
+ e as conf,
413
+ n as language
414
+ };