act-plus 1.1.23 → 1.1.25

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 (106) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +87 -1733
  3. package/lib/configBtns-63d416ef.js +152 -0
  4. package/lib/{configFileds-4633be91.js → configFileds-105ca288.js} +13 -11
  5. package/lib/{configTable-160a99e8.js → configTable-5bf09aac.js} +33 -31
  6. package/lib/{dialogAddField-a8db1c57.js → dialogAddField-bb493c88.js} +6 -4
  7. package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-1fcd1496.js} +57 -55
  8. package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-708737d2.js} +1 -1
  9. package/lib/{index-28cfa770.js → index-6b7ddc83.js} +74 -65
  10. package/lib/{index-44e2732a.js → index-740fe217.js} +10 -8
  11. package/lib/{index-7a1700c3.js → index-9071c381.js} +12 -10
  12. package/lib/{index-421ea84f.js → index-9bd009b2.js} +32 -30
  13. package/lib/index-ba8fa827.js +61597 -0
  14. package/lib/{index-cceb15dd.js → index-f8e81c41.js} +126 -148
  15. package/package.json +2 -6
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/configBtns-c51c642b.js +0 -150
  31. package/lib/cpp-642b10c4.js +0 -387
  32. package/lib/csharp-d987ddad.js +0 -320
  33. package/lib/csp-96407af0.js +0 -57
  34. package/lib/css-5dd354ac.js +0 -186
  35. package/lib/cssMode-55e3e2b9.js +0 -1448
  36. package/lib/cypher-11e5a4b6.js +0 -262
  37. package/lib/dart-5d209f63.js +0 -270
  38. package/lib/dockerfile-8739cff7.js +0 -132
  39. package/lib/ecl-a20c5155.js +0 -454
  40. package/lib/elixir-8b028584.js +0 -467
  41. package/lib/flow9-0dea2e73.js +0 -141
  42. package/lib/freemarker2-86429a9d.js +0 -646
  43. package/lib/fsharp-49a70fad.js +0 -210
  44. package/lib/go-46e3b371.js +0 -208
  45. package/lib/graphql-51a577e5.js +0 -141
  46. package/lib/handlebars-dcad112f.js +0 -394
  47. package/lib/hcl-56b85754.js +0 -177
  48. package/lib/html-95cf87e3.js +0 -284
  49. package/lib/htmlMode-93d4ea14.js +0 -1458
  50. package/lib/index-22ab90dc.js +0 -162522
  51. package/lib/index-e2f2023d.js +0 -35
  52. package/lib/ini-1d58d82f.js +0 -68
  53. package/lib/java-cd017f60.js +0 -221
  54. package/lib/javascript-55252557.js +0 -78
  55. package/lib/jsonMode-b73c28d1.js +0 -1869
  56. package/lib/julia-a0caf483.js +0 -496
  57. package/lib/kotlin-c6e52a56.js +0 -245
  58. package/lib/less-718543b4.js +0 -168
  59. package/lib/lexon-5e6e7a44.js +0 -151
  60. package/lib/liquid-c923578c.js +0 -241
  61. package/lib/lua-f159160b.js +0 -157
  62. package/lib/m3-aadaf771.js +0 -210
  63. package/lib/markdown-9b448c46.js +0 -202
  64. package/lib/mips-161e49ce.js +0 -194
  65. package/lib/msdax-f65cb1e6.js +0 -377
  66. package/lib/mysql-24549dd1.js +0 -875
  67. package/lib/objective-c-e129a5ca.js +0 -188
  68. package/lib/pascal-4ccdf5ce.js +0 -245
  69. package/lib/pascaligo-a9603dcd.js +0 -158
  70. package/lib/perl-ba1fb97a.js +0 -599
  71. package/lib/pgsql-89978310.js +0 -843
  72. package/lib/php-987b9d87.js +0 -471
  73. package/lib/pla-96c2695d.js +0 -131
  74. package/lib/postiats-7b52ebac.js +0 -544
  75. package/lib/powerquery-8954ec26.js +0 -890
  76. package/lib/powershell-f00d0274.js +0 -233
  77. package/lib/protobuf-3eb85f80.js +0 -422
  78. package/lib/pug-6fab415a.js +0 -393
  79. package/lib/python-319c4cbb.js +0 -262
  80. package/lib/qsharp-4792f872.js +0 -282
  81. package/lib/r-630f5d6b.js +0 -245
  82. package/lib/razor-9a8bae51.js +0 -515
  83. package/lib/redis-276b8288.js +0 -298
  84. package/lib/redshift-520a7359.js +0 -806
  85. package/lib/restructuredtext-4676a3fc.js +0 -162
  86. package/lib/ruby-764137cd.js +0 -444
  87. package/lib/rust-97f8f6e1.js +0 -337
  88. package/lib/sb-8c22f14c.js +0 -110
  89. package/lib/scala-c68c650c.js +0 -353
  90. package/lib/scheme-e6a52cb0.js +0 -114
  91. package/lib/scss-45104c77.js +0 -244
  92. package/lib/shell-09452d42.js +0 -224
  93. package/lib/solidity-d4979008.js +0 -1351
  94. package/lib/sophia-21995caf.js +0 -190
  95. package/lib/sparql-5088743c.js +0 -193
  96. package/lib/sql-63ec8e76.js +0 -818
  97. package/lib/st-fa9ab362.js +0 -414
  98. package/lib/swift-abdf1835.js +0 -315
  99. package/lib/systemverilog-a4f858ed.js +0 -556
  100. package/lib/tcl-8adf937f.js +0 -232
  101. package/lib/tsMode-7111578e.js +0 -792
  102. package/lib/twig-404eb73e.js +0 -323
  103. package/lib/typescript-0c5e909b.js +0 -330
  104. package/lib/vb-e21e8153.js +0 -364
  105. package/lib/xml-acd745c7.js +0 -98
  106. package/lib/yaml-c114fa81.js +0 -187
@@ -1,646 +0,0 @@
1
- import { m as F } from "./index-22ab90dc.js";
2
- import "vue";
3
- import "vue-router";
4
- import "element-plus";
5
- /*!-----------------------------------------------------------------------------
6
- * Copyright (c) Microsoft Corporation. All rights reserved.
7
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
8
- * Released under the MIT license
9
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
10
- *-----------------------------------------------------------------------------*/
11
- var b = Object.defineProperty, x = Object.getOwnPropertyDescriptor, $ = Object.getOwnPropertyNames, v = Object.prototype.hasOwnProperty, g = (t, n, _, e) => {
12
- if (n && typeof n == "object" || typeof n == "function")
13
- for (let o of $(n))
14
- !v.call(t, o) && o !== _ && b(t, o, { get: () => n[o], enumerable: !(e = x(n, o)) || e.enumerable });
15
- return t;
16
- }, E = (t, n, _) => (g(t, n, "default"), _ && g(_, n, "default")), r = {};
17
- E(r, F);
18
- var d = [
19
- "assign",
20
- "flush",
21
- "ftl",
22
- "return",
23
- "global",
24
- "import",
25
- "include",
26
- "break",
27
- "continue",
28
- "local",
29
- "nested",
30
- "nt",
31
- "setting",
32
- "stop",
33
- "t",
34
- "lt",
35
- "rt",
36
- "fallback"
37
- ], s = [
38
- "attempt",
39
- "autoesc",
40
- "autoEsc",
41
- "compress",
42
- "comment",
43
- "escape",
44
- "noescape",
45
- "function",
46
- "if",
47
- "list",
48
- "items",
49
- "sep",
50
- "macro",
51
- "noparse",
52
- "noParse",
53
- "noautoesc",
54
- "noAutoEsc",
55
- "outputformat",
56
- "switch",
57
- "visit",
58
- "recurse"
59
- ], a = {
60
- close: ">",
61
- id: "angle",
62
- open: "<"
63
- }, u = {
64
- close: "\\]",
65
- id: "bracket",
66
- open: "\\["
67
- }, D = {
68
- close: "[>\\]]",
69
- id: "auto",
70
- open: "[<\\[]"
71
- }, k = {
72
- close: "\\}",
73
- id: "dollar",
74
- open1: "\\$",
75
- open2: "\\{"
76
- }, p = {
77
- close: "\\]",
78
- id: "bracket",
79
- open1: "\\[",
80
- open2: "="
81
- };
82
- function l(t) {
83
- return {
84
- brackets: [
85
- ["<", ">"],
86
- ["[", "]"],
87
- ["(", ")"],
88
- ["{", "}"]
89
- ],
90
- comments: {
91
- blockComment: [`${t.open}--`, `--${t.close}`]
92
- },
93
- autoCloseBefore: `
94
- \r }]),.:;=`,
95
- autoClosingPairs: [
96
- { open: "{", close: "}" },
97
- { open: "[", close: "]" },
98
- { open: "(", close: ")" },
99
- { open: '"', close: '"', notIn: ["string"] },
100
- { open: "'", close: "'", notIn: ["string"] }
101
- ],
102
- surroundingPairs: [
103
- { open: '"', close: '"' },
104
- { open: "'", close: "'" },
105
- { open: "{", close: "}" },
106
- { open: "[", close: "]" },
107
- { open: "(", close: ")" },
108
- { open: "<", close: ">" }
109
- ],
110
- folding: {
111
- markers: {
112
- start: new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
113
- end: new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
114
- }
115
- },
116
- onEnterRules: [
117
- {
118
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
119
- afterText: new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),
120
- action: {
121
- indentAction: r.languages.IndentAction.IndentOutdent
122
- }
123
- },
124
- {
125
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
126
- action: { indentAction: r.languages.IndentAction.Indent }
127
- }
128
- ]
129
- };
130
- }
131
- function A() {
132
- return {
133
- brackets: [
134
- ["<", ">"],
135
- ["[", "]"],
136
- ["(", ")"],
137
- ["{", "}"]
138
- ],
139
- autoCloseBefore: `
140
- \r }]),.:;=`,
141
- autoClosingPairs: [
142
- { open: "{", close: "}" },
143
- { open: "[", close: "]" },
144
- { open: "(", close: ")" },
145
- { open: '"', close: '"', notIn: ["string"] },
146
- { open: "'", close: "'", notIn: ["string"] }
147
- ],
148
- surroundingPairs: [
149
- { open: '"', close: '"' },
150
- { open: "'", close: "'" },
151
- { open: "{", close: "}" },
152
- { open: "[", close: "]" },
153
- { open: "(", close: ")" },
154
- { open: "<", close: ">" }
155
- ],
156
- folding: {
157
- markers: {
158
- start: new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
159
- end: new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
160
- }
161
- },
162
- onEnterRules: [
163
- {
164
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
165
- afterText: new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),
166
- action: {
167
- indentAction: r.languages.IndentAction.IndentOutdent
168
- }
169
- },
170
- {
171
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
172
- action: { indentAction: r.languages.IndentAction.Indent }
173
- }
174
- ]
175
- };
176
- }
177
- function i(t, n) {
178
- const _ = `_${t.id}_${n.id}`, e = (c) => c.replace(/__id__/g, _), o = (c) => {
179
- const f = c.source.replace(/__id__/g, _);
180
- return new RegExp(f, c.flags);
181
- };
182
- return {
183
- unicode: !0,
184
- includeLF: !1,
185
- start: e("default__id__"),
186
- ignoreCase: !1,
187
- defaultToken: "invalid",
188
- tokenPostfix: ".freemarker2",
189
- brackets: [
190
- { open: "{", close: "}", token: "delimiter.curly" },
191
- { open: "[", close: "]", token: "delimiter.square" },
192
- { open: "(", close: ")", token: "delimiter.parenthesis" },
193
- { open: "<", close: ">", token: "delimiter.angle" }
194
- ],
195
- [e("open__id__")]: new RegExp(t.open),
196
- [e("close__id__")]: new RegExp(t.close),
197
- [e("iOpen1__id__")]: new RegExp(n.open1),
198
- [e("iOpen2__id__")]: new RegExp(n.open2),
199
- [e("iClose__id__")]: new RegExp(n.close),
200
- [e("startTag__id__")]: o(/(@open__id__)(#)/),
201
- [e("endTag__id__")]: o(/(@open__id__)(\/#)/),
202
- [e("startOrEndTag__id__")]: o(/(@open__id__)(\/?#)/),
203
- [e("closeTag1__id__")]: o(/((?:@blank)*)(@close__id__)/),
204
- [e("closeTag2__id__")]: o(/((?:@blank)*\/?)(@close__id__)/),
205
- blank: /[ \t\n\r]/,
206
- keywords: ["false", "true", "in", "as", "using"],
207
- directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
208
- directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
209
- directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,
210
- directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,
211
- escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
212
- asciiDigit: /[0-9]/,
213
- integer: /[0-9]+/,
214
- nonEscapedIdStartChar: /[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
215
- escapedIdChar: /\\[\-\.:#]/,
216
- idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
217
- id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
218
- specialHashKeys: /\*\*|\*|false|true|in|as|using/,
219
- namedSymbols: /&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
220
- arrows: ["->", "-&gt;"],
221
- delimiters: [";", ":", ",", "."],
222
- stringOperators: ["lte", "lt", "gte", "gt"],
223
- noParseTags: ["noparse", "noParse", "comment"],
224
- tokenizer: {
225
- [e("default__id__")]: [
226
- { include: e("@directive_token__id__") },
227
- { include: e("@interpolation_and_text_token__id__") }
228
- ],
229
- [e("fmExpression__id__.directive")]: [
230
- { include: e("@blank_and_expression_comment_token__id__") },
231
- { include: e("@directive_end_token__id__") },
232
- { include: e("@expression_token__id__") }
233
- ],
234
- [e("fmExpression__id__.interpolation")]: [
235
- { include: e("@blank_and_expression_comment_token__id__") },
236
- { include: e("@expression_token__id__") },
237
- { include: e("@greater_operators_token__id__") }
238
- ],
239
- [e("inParen__id__.plain")]: [
240
- { include: e("@blank_and_expression_comment_token__id__") },
241
- { include: e("@directive_end_token__id__") },
242
- { include: e("@expression_token__id__") }
243
- ],
244
- [e("inParen__id__.gt")]: [
245
- { include: e("@blank_and_expression_comment_token__id__") },
246
- { include: e("@expression_token__id__") },
247
- { include: e("@greater_operators_token__id__") }
248
- ],
249
- [e("noSpaceExpression__id__")]: [
250
- { include: e("@no_space_expression_end_token__id__") },
251
- { include: e("@directive_end_token__id__") },
252
- { include: e("@expression_token__id__") }
253
- ],
254
- [e("unifiedCall__id__")]: [{ include: e("@unified_call_token__id__") }],
255
- [e("singleString__id__")]: [{ include: e("@string_single_token__id__") }],
256
- [e("doubleString__id__")]: [{ include: e("@string_double_token__id__") }],
257
- [e("rawSingleString__id__")]: [{ include: e("@string_single_raw_token__id__") }],
258
- [e("rawDoubleString__id__")]: [{ include: e("@string_double_raw_token__id__") }],
259
- [e("expressionComment__id__")]: [{ include: e("@expression_comment_token__id__") }],
260
- [e("noParse__id__")]: [{ include: e("@no_parse_token__id__") }],
261
- [e("terseComment__id__")]: [{ include: e("@terse_comment_token__id__") }],
262
- [e("directive_token__id__")]: [
263
- [
264
- o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
265
- t.id === "auto" ? {
266
- cases: {
267
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
268
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
269
- }
270
- } : [
271
- { token: "@brackets.directive" },
272
- { token: "delimiter.directive" },
273
- {
274
- cases: {
275
- "@noParseTags": { token: "tag", next: e("@noParse__id__.$3") },
276
- "@default": { token: "tag" }
277
- }
278
- },
279
- { token: "delimiter.directive" },
280
- { token: "@brackets.directive" }
281
- ]
282
- ],
283
- [
284
- o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
285
- t.id === "auto" ? {
286
- cases: {
287
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
288
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
289
- }
290
- } : [
291
- { token: "@brackets.directive" },
292
- { token: "delimiter.directive" },
293
- { token: "tag" },
294
- { token: "delimiter.directive" },
295
- { token: "@brackets.directive" }
296
- ]
297
- ],
298
- [
299
- o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
300
- t.id === "auto" ? {
301
- cases: {
302
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
303
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
304
- }
305
- } : [
306
- { token: "@brackets.directive" },
307
- { token: "delimiter.directive" },
308
- { token: "tag" },
309
- { token: "", next: e("@fmExpression__id__.directive") }
310
- ]
311
- ],
312
- [
313
- o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
314
- t.id === "auto" ? {
315
- cases: {
316
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
317
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
318
- }
319
- } : [
320
- { token: "@brackets.directive" },
321
- { token: "delimiter.directive" },
322
- { token: "tag" },
323
- { token: "delimiter.directive" },
324
- { token: "@brackets.directive" }
325
- ]
326
- ],
327
- [
328
- o(/(@open__id__)(@)/),
329
- t.id === "auto" ? {
330
- cases: {
331
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
332
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
333
- }
334
- } : [
335
- { token: "@brackets.directive" },
336
- { token: "delimiter.directive", next: e("@unifiedCall__id__") }
337
- ]
338
- ],
339
- [
340
- o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
341
- [
342
- { token: "@brackets.directive" },
343
- { token: "delimiter.directive" },
344
- { token: "tag" },
345
- { token: "delimiter.directive" },
346
- { token: "@brackets.directive" }
347
- ]
348
- ],
349
- [
350
- o(/(@open__id__)#--/),
351
- t.id === "auto" ? {
352
- cases: {
353
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
354
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
355
- }
356
- } : { token: "comment", next: e("@terseComment__id__") }
357
- ],
358
- [
359
- o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
360
- t.id === "auto" ? {
361
- cases: {
362
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
363
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
364
- }
365
- } : [
366
- { token: "@brackets.directive" },
367
- { token: "delimiter.directive" },
368
- { token: "tag.invalid", next: e("@fmExpression__id__.directive") }
369
- ]
370
- ]
371
- ],
372
- [e("interpolation_and_text_token__id__")]: [
373
- [
374
- o(/(@iOpen1__id__)(@iOpen2__id__)/),
375
- [
376
- { token: n.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
377
- {
378
- token: n.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
379
- next: e("@fmExpression__id__.interpolation")
380
- }
381
- ]
382
- ],
383
- [/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
384
- ],
385
- [e("string_single_token__id__")]: [
386
- [/[^'\\]/, { token: "string" }],
387
- [/@escapedChar/, { token: "string.escape" }],
388
- [/'/, { token: "string", next: "@pop" }]
389
- ],
390
- [e("string_double_token__id__")]: [
391
- [/[^"\\]/, { token: "string" }],
392
- [/@escapedChar/, { token: "string.escape" }],
393
- [/"/, { token: "string", next: "@pop" }]
394
- ],
395
- [e("string_single_raw_token__id__")]: [
396
- [/[^']+/, { token: "string.raw" }],
397
- [/'/, { token: "string.raw", next: "@pop" }]
398
- ],
399
- [e("string_double_raw_token__id__")]: [
400
- [/[^"]+/, { token: "string.raw" }],
401
- [/"/, { token: "string.raw", next: "@pop" }]
402
- ],
403
- [e("expression_token__id__")]: [
404
- [
405
- /(r?)(['"])/,
406
- {
407
- cases: {
408
- "r'": [
409
- { token: "keyword" },
410
- { token: "string.raw", next: e("@rawSingleString__id__") }
411
- ],
412
- 'r"': [
413
- { token: "keyword" },
414
- { token: "string.raw", next: e("@rawDoubleString__id__") }
415
- ],
416
- "'": [{ token: "source" }, { token: "string", next: e("@singleString__id__") }],
417
- '"': [{ token: "source" }, { token: "string", next: e("@doubleString__id__") }]
418
- }
419
- }
420
- ],
421
- [
422
- /(?:@integer)(?:\.(?:@integer))?/,
423
- {
424
- cases: {
425
- "(?:@integer)": { token: "number" },
426
- "@default": { token: "number.float" }
427
- }
428
- }
429
- ],
430
- [
431
- /(\.)(@blank*)(@specialHashKeys)/,
432
- [{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
433
- ],
434
- [
435
- /(?:@namedSymbols)/,
436
- {
437
- cases: {
438
- "@arrows": { token: "meta.arrow" },
439
- "@delimiters": { token: "delimiter" },
440
- "@default": { token: "operators" }
441
- }
442
- }
443
- ],
444
- [
445
- /@id/,
446
- {
447
- cases: {
448
- "@keywords": { token: "keyword.$0" },
449
- "@stringOperators": { token: "operators" },
450
- "@default": { token: "identifier" }
451
- }
452
- }
453
- ],
454
- [
455
- /[\[\]\(\)\{\}]/,
456
- {
457
- cases: {
458
- "\\[": {
459
- cases: {
460
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
461
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
462
- }
463
- },
464
- "\\]": {
465
- cases: {
466
- ...n.id === "bracket" ? {
467
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
468
- } : {},
469
- ...t.id === "bracket" ? {
470
- "$S2==directive": { token: "@brackets.directive", next: "@popall" }
471
- } : {},
472
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
473
- "@default": { token: "@brackets" }
474
- }
475
- },
476
- "\\(": { token: "@brackets", next: e("@inParen__id__.gt") },
477
- "\\)": {
478
- cases: {
479
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
480
- "@default": { token: "@brackets" }
481
- }
482
- },
483
- "\\{": {
484
- cases: {
485
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
486
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
487
- }
488
- },
489
- "\\}": {
490
- cases: {
491
- ...n.id === "bracket" ? {} : {
492
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
493
- },
494
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
495
- "@default": { token: "@brackets" }
496
- }
497
- }
498
- }
499
- }
500
- ],
501
- [/\$\{/, { token: "delimiter.invalid" }]
502
- ],
503
- [e("blank_and_expression_comment_token__id__")]: [
504
- [/(?:@blank)+/, { token: "" }],
505
- [/[<\[][#!]--/, { token: "comment", next: e("@expressionComment__id__") }]
506
- ],
507
- [e("directive_end_token__id__")]: [
508
- [
509
- />/,
510
- t.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
511
- ],
512
- [
513
- o(/(\/)(@close__id__)/),
514
- [{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
515
- ]
516
- ],
517
- [e("greater_operators_token__id__")]: [
518
- [/>/, { token: "operators" }],
519
- [/>=/, { token: "operators" }]
520
- ],
521
- [e("no_space_expression_end_token__id__")]: [
522
- [/(?:@blank)+/, { token: "", switchTo: e("@fmExpression__id__.directive") }]
523
- ],
524
- [e("unified_call_token__id__")]: [
525
- [
526
- /(@id)((?:@blank)+)/,
527
- [{ token: "tag" }, { token: "", next: e("@fmExpression__id__.directive") }]
528
- ],
529
- [
530
- o(/(@id)(\/?)(@close__id__)/),
531
- [
532
- { token: "tag" },
533
- { token: "delimiter.directive" },
534
- { token: "@brackets.directive", next: "@popall" }
535
- ]
536
- ],
537
- [/./, { token: "@rematch", next: e("@noSpaceExpression__id__") }]
538
- ],
539
- [e("no_parse_token__id__")]: [
540
- [
541
- o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
542
- {
543
- cases: {
544
- "$S2==$3": [
545
- { token: "@brackets.directive" },
546
- { token: "delimiter.directive" },
547
- { token: "tag" },
548
- { token: "" },
549
- { token: "@brackets.directive", next: "@popall" }
550
- ],
551
- "$S2==comment": [
552
- { token: "comment" },
553
- { token: "comment" },
554
- { token: "comment" },
555
- { token: "comment" },
556
- { token: "comment" }
557
- ],
558
- "@default": [
559
- { token: "source" },
560
- { token: "source" },
561
- { token: "source" },
562
- { token: "source" },
563
- { token: "source" }
564
- ]
565
- }
566
- }
567
- ],
568
- [
569
- /[^<\[\-]+|[<\[\-]/,
570
- {
571
- cases: {
572
- "$S2==comment": { token: "comment" },
573
- "@default": { token: "source" }
574
- }
575
- }
576
- ]
577
- ],
578
- [e("expression_comment_token__id__")]: [
579
- [
580
- /--[>\]]/,
581
- {
582
- token: "comment",
583
- next: "@pop"
584
- }
585
- ],
586
- [/[^\->\]]+|[>\]\-]/, { token: "comment" }]
587
- ],
588
- [e("terse_comment_token__id__")]: [
589
- [o(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
590
- [/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
591
- ]
592
- }
593
- };
594
- }
595
- function m(t) {
596
- const n = i(a, t), _ = i(u, t), e = i(D, t);
597
- return {
598
- ...n,
599
- ..._,
600
- ...e,
601
- unicode: !0,
602
- includeLF: !1,
603
- start: `default_auto_${t.id}`,
604
- ignoreCase: !1,
605
- defaultToken: "invalid",
606
- tokenPostfix: ".freemarker2",
607
- brackets: [
608
- { open: "{", close: "}", token: "delimiter.curly" },
609
- { open: "[", close: "]", token: "delimiter.square" },
610
- { open: "(", close: ")", token: "delimiter.parenthesis" },
611
- { open: "<", close: ">", token: "delimiter.angle" }
612
- ],
613
- tokenizer: {
614
- ...n.tokenizer,
615
- ..._.tokenizer,
616
- ...e.tokenizer
617
- }
618
- };
619
- }
620
- var h = {
621
- conf: l(a),
622
- language: i(a, k)
623
- }, S = {
624
- conf: l(u),
625
- language: i(u, k)
626
- }, P = {
627
- conf: l(a),
628
- language: i(a, p)
629
- }, y = {
630
- conf: l(u),
631
- language: i(u, p)
632
- }, I = {
633
- conf: A(),
634
- language: m(k)
635
- }, O = {
636
- conf: A(),
637
- language: m(p)
638
- };
639
- export {
640
- P as TagAngleInterpolationBracket,
641
- h as TagAngleInterpolationDollar,
642
- O as TagAutoInterpolationBracket,
643
- I as TagAutoInterpolationDollar,
644
- y as TagBracketInterpolationBracket,
645
- S as TagBracketInterpolationDollar
646
- };