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,202 @@
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
+ blockComment: ["<!--", "-->"]
10
+ },
11
+ brackets: [
12
+ ["{", "}"],
13
+ ["[", "]"],
14
+ ["(", ")"]
15
+ ],
16
+ autoClosingPairs: [
17
+ { open: "{", close: "}" },
18
+ { open: "[", close: "]" },
19
+ { open: "(", close: ")" },
20
+ { open: "<", close: ">", notIn: ["string"] }
21
+ ],
22
+ surroundingPairs: [
23
+ { open: "(", close: ")" },
24
+ { open: "[", close: "]" },
25
+ { open: "`", close: "`" }
26
+ ],
27
+ folding: {
28
+ markers: {
29
+ start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
30
+ end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
31
+ }
32
+ }
33
+ }, t = {
34
+ defaultToken: "",
35
+ tokenPostfix: ".md",
36
+ control: /[\\`*_\[\]{}()#+\-\.!]/,
37
+ noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
38
+ escapes: /\\(?:@control)/,
39
+ jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
40
+ empty: [
41
+ "area",
42
+ "base",
43
+ "basefont",
44
+ "br",
45
+ "col",
46
+ "frame",
47
+ "hr",
48
+ "img",
49
+ "input",
50
+ "isindex",
51
+ "link",
52
+ "meta",
53
+ "param"
54
+ ],
55
+ tokenizer: {
56
+ root: [
57
+ [/^\s*\|/, "@rematch", "@table_header"],
58
+ [/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
59
+ [/^\s*(=+|\-+)\s*$/, "keyword"],
60
+ [/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
61
+ [/^\s*>+/, "comment"],
62
+ [/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
63
+ [/^(\t|[ ]{4})[^ ].*$/, "string"],
64
+ [/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
65
+ [
66
+ /^\s*```\s*((?:\w|[\/\-#])+).*$/,
67
+ { token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
68
+ ],
69
+ [/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
70
+ { include: "@linecontent" }
71
+ ],
72
+ table_header: [
73
+ { include: "@table_common" },
74
+ [/[^\|]+/, "keyword.table.header"]
75
+ ],
76
+ table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
77
+ table_common: [
78
+ [/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
79
+ [/^\s*\|/, "keyword.table.left"],
80
+ [/^\s*[^\|]/, "@rematch", "@pop"],
81
+ [/^\s*$/, "@rematch", "@pop"],
82
+ [
83
+ /\|/,
84
+ {
85
+ cases: {
86
+ "@eos": "keyword.table.right",
87
+ "@default": "keyword.table.middle"
88
+ }
89
+ }
90
+ ]
91
+ ],
92
+ codeblock: [
93
+ [/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
94
+ [/^\s*```\s*$/, { token: "string", next: "@pop" }],
95
+ [/.*$/, "variable.source"]
96
+ ],
97
+ codeblockgh: [
98
+ [/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
99
+ [/[^`]+/, "variable.source"]
100
+ ],
101
+ linecontent: [
102
+ [/&\w+;/, "string.escape"],
103
+ [/@escapes/, "escape"],
104
+ [/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
105
+ [/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
106
+ [/\b_[^_]+_\b/, "emphasis"],
107
+ [/\*([^\\*]|@escapes)+\*/, "emphasis"],
108
+ [/`([^\\`]|@escapes)+`/, "variable"],
109
+ [/\{+[^}]+\}+/, "string.target"],
110
+ [/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
111
+ [/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
112
+ { include: "html" }
113
+ ],
114
+ html: [
115
+ [/<(\w+)\/>/, "tag"],
116
+ [
117
+ /<(\w+)(\-|\w)*/,
118
+ {
119
+ cases: {
120
+ "@empty": { token: "tag", next: "@tag.$1" },
121
+ "@default": { token: "tag", next: "@tag.$1" }
122
+ }
123
+ }
124
+ ],
125
+ [/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
126
+ [/<!--/, "comment", "@comment"]
127
+ ],
128
+ comment: [
129
+ [/[^<\-]+/, "comment.content"],
130
+ [/-->/, "comment", "@pop"],
131
+ [/<!--/, "comment.content.invalid"],
132
+ [/[<\-]/, "comment.content"]
133
+ ],
134
+ tag: [
135
+ [/[ \t\r\n]+/, "white"],
136
+ [
137
+ /(type)(\s*=\s*)(")([^"]+)(")/,
138
+ [
139
+ "attribute.name.html",
140
+ "delimiter.html",
141
+ "string.html",
142
+ { token: "string.html", switchTo: "@tag.$S2.$4" },
143
+ "string.html"
144
+ ]
145
+ ],
146
+ [
147
+ /(type)(\s*=\s*)(')([^']+)(')/,
148
+ [
149
+ "attribute.name.html",
150
+ "delimiter.html",
151
+ "string.html",
152
+ { token: "string.html", switchTo: "@tag.$S2.$4" },
153
+ "string.html"
154
+ ]
155
+ ],
156
+ [/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
157
+ [/\w+/, "attribute.name.html"],
158
+ [/\/>/, "tag", "@pop"],
159
+ [
160
+ />/,
161
+ {
162
+ cases: {
163
+ "$S2==style": {
164
+ token: "tag",
165
+ switchTo: "embeddedStyle",
166
+ nextEmbedded: "text/css"
167
+ },
168
+ "$S2==script": {
169
+ cases: {
170
+ $S3: {
171
+ token: "tag",
172
+ switchTo: "embeddedScript",
173
+ nextEmbedded: "$S3"
174
+ },
175
+ "@default": {
176
+ token: "tag",
177
+ switchTo: "embeddedScript",
178
+ nextEmbedded: "text/javascript"
179
+ }
180
+ }
181
+ },
182
+ "@default": { token: "tag", next: "@pop" }
183
+ }
184
+ }
185
+ ]
186
+ ],
187
+ embeddedStyle: [
188
+ [/[^<]+/, ""],
189
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
190
+ [/</, ""]
191
+ ],
192
+ embeddedScript: [
193
+ [/[^<]+/, ""],
194
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
195
+ [/</, ""]
196
+ ]
197
+ }
198
+ };
199
+ export {
200
+ e as conf,
201
+ t as language
202
+ };
@@ -0,0 +1,194 @@
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
+ blockComment: ["###", "###"],
11
+ lineComment: "#"
12
+ },
13
+ folding: {
14
+ markers: {
15
+ start: new RegExp("^\\s*#region\\b"),
16
+ end: new RegExp("^\\s*#endregion\\b")
17
+ }
18
+ }
19
+ }, t = {
20
+ defaultToken: "",
21
+ ignoreCase: !1,
22
+ tokenPostfix: ".mips",
23
+ regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
24
+ keywords: [
25
+ ".data",
26
+ ".text",
27
+ "syscall",
28
+ "trap",
29
+ "add",
30
+ "addu",
31
+ "addi",
32
+ "addiu",
33
+ "and",
34
+ "andi",
35
+ "div",
36
+ "divu",
37
+ "mult",
38
+ "multu",
39
+ "nor",
40
+ "or",
41
+ "ori",
42
+ "sll",
43
+ "slv",
44
+ "sra",
45
+ "srav",
46
+ "srl",
47
+ "srlv",
48
+ "sub",
49
+ "subu",
50
+ "xor",
51
+ "xori",
52
+ "lhi",
53
+ "lho",
54
+ "lhi",
55
+ "llo",
56
+ "slt",
57
+ "slti",
58
+ "sltu",
59
+ "sltiu",
60
+ "beq",
61
+ "bgtz",
62
+ "blez",
63
+ "bne",
64
+ "j",
65
+ "jal",
66
+ "jalr",
67
+ "jr",
68
+ "lb",
69
+ "lbu",
70
+ "lh",
71
+ "lhu",
72
+ "lw",
73
+ "li",
74
+ "la",
75
+ "sb",
76
+ "sh",
77
+ "sw",
78
+ "mfhi",
79
+ "mflo",
80
+ "mthi",
81
+ "mtlo",
82
+ "move"
83
+ ],
84
+ symbols: /[\.,\:]+/,
85
+ escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
86
+ tokenizer: {
87
+ root: [
88
+ [/\$[a-zA-Z_]\w*/, "variable.predefined"],
89
+ [
90
+ /[.a-zA-Z_]\w*/,
91
+ {
92
+ cases: {
93
+ this: "variable.predefined",
94
+ "@keywords": { token: "keyword.$0" },
95
+ "@default": ""
96
+ }
97
+ }
98
+ ],
99
+ [/[ \t\r\n]+/, ""],
100
+ [/#.*$/, "comment"],
101
+ ["///", { token: "regexp", next: "@hereregexp" }],
102
+ [/^(\s*)(@regEx)/, ["", "regexp"]],
103
+ [/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
104
+ [/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
105
+ [/@symbols/, "delimiter"],
106
+ [/\d+[eE]([\-+]?\d+)?/, "number.float"],
107
+ [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
108
+ [/0[xX][0-9a-fA-F]+/, "number.hex"],
109
+ [/0[0-7]+(?!\d)/, "number.octal"],
110
+ [/\d+/, "number"],
111
+ [/[,.]/, "delimiter"],
112
+ [/"""/, "string", '@herestring."""'],
113
+ [/'''/, "string", "@herestring.'''"],
114
+ [
115
+ /"/,
116
+ {
117
+ cases: {
118
+ "@eos": "string",
119
+ "@default": { token: "string", next: '@string."' }
120
+ }
121
+ }
122
+ ],
123
+ [
124
+ /'/,
125
+ {
126
+ cases: {
127
+ "@eos": "string",
128
+ "@default": { token: "string", next: "@string.'" }
129
+ }
130
+ }
131
+ ]
132
+ ],
133
+ string: [
134
+ [/[^"'\#\\]+/, "string"],
135
+ [/@escapes/, "string.escape"],
136
+ [/\./, "string.escape.invalid"],
137
+ [/\./, "string.escape.invalid"],
138
+ [
139
+ /#{/,
140
+ {
141
+ cases: {
142
+ '$S2=="': {
143
+ token: "string",
144
+ next: "root.interpolatedstring"
145
+ },
146
+ "@default": "string"
147
+ }
148
+ }
149
+ ],
150
+ [
151
+ /["']/,
152
+ {
153
+ cases: {
154
+ "$#==$S2": { token: "string", next: "@pop" },
155
+ "@default": "string"
156
+ }
157
+ }
158
+ ],
159
+ [/#/, "string"]
160
+ ],
161
+ herestring: [
162
+ [
163
+ /("""|''')/,
164
+ {
165
+ cases: {
166
+ "$1==$S2": { token: "string", next: "@pop" },
167
+ "@default": "string"
168
+ }
169
+ }
170
+ ],
171
+ [/[^#\\'"]+/, "string"],
172
+ [/['"]+/, "string"],
173
+ [/@escapes/, "string.escape"],
174
+ [/\./, "string.escape.invalid"],
175
+ [/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
176
+ [/#/, "string"]
177
+ ],
178
+ comment: [
179
+ [/[^#]+/, "comment"],
180
+ [/#/, "comment"]
181
+ ],
182
+ hereregexp: [
183
+ [/[^\\\/#]+/, "regexp"],
184
+ [/\\./, "regexp"],
185
+ [/#.*$/, "comment"],
186
+ ["///[igm]*", { token: "regexp", next: "@pop" }],
187
+ [/\//, "regexp"]
188
+ ]
189
+ }
190
+ };
191
+ export {
192
+ e as conf,
193
+ t as language
194
+ };