@covalent/components 8.15.0-beta.5 → 8.15.0-beta.7

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 (148) hide show
  1. package/cell.js +2 -2
  2. package/cell.mjs +2 -2
  3. package/code-editor/code-editor.d.ts +23 -1
  4. package/code-editor/code-editor.d.ts.map +1 -1
  5. package/code-editor-3a09cbf1.js +732 -0
  6. package/{code-editor-50658551.mjs → code-editor-ce557bd5.mjs} +14343 -47224
  7. package/code-editor.js +1 -1
  8. package/code-editor.mjs +1 -1
  9. package/{html-e9028ad1.js → html-4fffc46e.js} +1 -1
  10. package/{html-201c3d5b.mjs → html-783f1e7c.mjs} +1 -1
  11. package/index.js +1 -1
  12. package/index.mjs +1 -1
  13. package/{javascript-b57f3bab.mjs → javascript-4d09cd3c.mjs} +2 -2
  14. package/{javascript-3c211951.js → javascript-90bb18e6.js} +1 -1
  15. package/notebook/notebook.d.ts.map +1 -1
  16. package/notebook.js +4 -4
  17. package/notebook.mjs +40 -33
  18. package/package.json +1 -1
  19. package/{python-fc06c865.mjs → python-562f8e9b.mjs} +1 -1
  20. package/{python-bc49c081.js → python-af3aad7d.js} +1 -1
  21. package/style.css +1 -1
  22. package/{typescript-40210801.js → typescript-76d039b3.js} +1 -1
  23. package/{typescript-43c5c20d.mjs → typescript-a2a5d6b2.mjs} +1 -1
  24. package/{xml-fa896994.mjs → xml-89571455.mjs} +1 -1
  25. package/{xml-7bc2fc7c.js → xml-e66929d0.js} +1 -1
  26. package/{yaml-ed9aa786.js → yaml-11a91e71.js} +1 -1
  27. package/{yaml-78bd2cbe.mjs → yaml-4eccd122.mjs} +1 -1
  28. package/abap-1354785f.mjs +0 -1314
  29. package/abap-c7187853.js +0 -6
  30. package/apex-279d4f27.mjs +0 -315
  31. package/apex-fc5f2b3e.js +0 -6
  32. package/azcli-ba812c55.mjs +0 -74
  33. package/azcli-eb191d91.js +0 -6
  34. package/bat-34d38df4.js +0 -6
  35. package/bat-4d77495d.mjs +0 -95
  36. package/bicep-7b240724.mjs +0 -108
  37. package/bicep-a8264e77.js +0 -7
  38. package/cameligo-5d2daeb8.mjs +0 -168
  39. package/cameligo-6e71c8f3.js +0 -6
  40. package/clojure-355adae1.js +0 -6
  41. package/clojure-b7ea12a3.mjs +0 -754
  42. package/code-editor-1a85e0d5.js +0 -1200
  43. package/coffee-1a8cfbf4.mjs +0 -228
  44. package/coffee-fd8a7421.js +0 -6
  45. package/csp-54919de0.js +0 -6
  46. package/csp-96407af0.mjs +0 -57
  47. package/cssMode-2b74fdc2.mjs +0 -1450
  48. package/cssMode-9d3a459c.js +0 -9
  49. package/cypher-11e5a4b6.mjs +0 -262
  50. package/cypher-cc849b67.js +0 -6
  51. package/dockerfile-2f8684f7.js +0 -6
  52. package/dockerfile-8739cff7.mjs +0 -132
  53. package/ecl-68a6f20f.js +0 -6
  54. package/ecl-a20c5155.mjs +0 -454
  55. package/elixir-32cc668e.js +0 -6
  56. package/elixir-8b028584.mjs +0 -467
  57. package/flow9-0dea2e73.mjs +0 -141
  58. package/flow9-1d2ab5f6.js +0 -6
  59. package/freemarker2-bde9aca2.js +0 -8
  60. package/freemarker2-cfbd8857.mjs +0 -648
  61. package/fsharp-49a70fad.mjs +0 -210
  62. package/fsharp-a22f5013.js +0 -6
  63. package/graphql-1a14eb34.js +0 -6
  64. package/graphql-51a577e5.mjs +0 -141
  65. package/handlebars-c9cf3ba5.mjs +0 -396
  66. package/handlebars-f9941f98.js +0 -6
  67. package/hcl-0833427e.js +0 -6
  68. package/hcl-56b85754.mjs +0 -177
  69. package/htmlMode-81e069aa.mjs +0 -1460
  70. package/htmlMode-8825beb1.js +0 -9
  71. package/ini-1d58d82f.mjs +0 -68
  72. package/ini-34a929df.js +0 -6
  73. package/jsonMode-1e42d08e.mjs +0 -1871
  74. package/jsonMode-8cd3f8b9.js +0 -11
  75. package/julia-7db1fb9a.js +0 -6
  76. package/julia-a0caf483.mjs +0 -496
  77. package/less-5219eae1.js +0 -7
  78. package/less-718543b4.mjs +0 -168
  79. package/lexon-5e6e7a44.mjs +0 -151
  80. package/lexon-dfd683ab.js +0 -6
  81. package/liquid-987381d2.mjs +0 -243
  82. package/liquid-c3f3aaaf.js +0 -6
  83. package/m3-87473279.js +0 -6
  84. package/m3-aadaf771.mjs +0 -210
  85. package/mips-161e49ce.mjs +0 -194
  86. package/mips-82a1ce59.js +0 -6
  87. package/msdax-b3b5017e.js +0 -6
  88. package/msdax-f65cb1e6.mjs +0 -377
  89. package/mysql-24549dd1.mjs +0 -875
  90. package/mysql-69f1c589.js +0 -6
  91. package/objective-c-c8319b65.js +0 -6
  92. package/objective-c-e129a5ca.mjs +0 -188
  93. package/pascal-4ccdf5ce.mjs +0 -245
  94. package/pascal-e5207a08.js +0 -6
  95. package/pascaligo-8eb79945.js +0 -6
  96. package/pascaligo-a9603dcd.mjs +0 -158
  97. package/perl-ba1fb97a.mjs +0 -599
  98. package/perl-e8264c91.js +0 -6
  99. package/pgsql-89978310.mjs +0 -843
  100. package/pgsql-c8ba6faf.js +0 -6
  101. package/pla-96c2695d.mjs +0 -131
  102. package/pla-c85b0e59.js +0 -6
  103. package/postiats-3c2c478e.js +0 -6
  104. package/postiats-7b52ebac.mjs +0 -544
  105. package/powerquery-8954ec26.mjs +0 -890
  106. package/powerquery-b0d5f9e4.js +0 -6
  107. package/powershell-cdb88123.js +0 -6
  108. package/powershell-f00d0274.mjs +0 -233
  109. package/protobuf-3eb85f80.mjs +0 -422
  110. package/protobuf-a3b2ca94.js +0 -7
  111. package/pug-6fab415a.mjs +0 -393
  112. package/pug-c5df821d.js +0 -6
  113. package/qsharp-4792f872.mjs +0 -282
  114. package/qsharp-7eddb7b9.js +0 -6
  115. package/razor-52a04ea4.mjs +0 -517
  116. package/razor-90572182.js +0 -6
  117. package/redis-0d0a89dd.js +0 -6
  118. package/redis-276b8288.mjs +0 -298
  119. package/redshift-520a7359.mjs +0 -806
  120. package/redshift-b6bdaeca.js +0 -6
  121. package/restructuredtext-4676a3fc.mjs +0 -162
  122. package/restructuredtext-c83d56ed.js +0 -6
  123. package/ruby-764137cd.mjs +0 -444
  124. package/ruby-96103dcf.js +0 -6
  125. package/sb-8c22f14c.mjs +0 -110
  126. package/sb-e2701210.js +0 -6
  127. package/scheme-b9cbf7cb.js +0 -6
  128. package/scheme-e6a52cb0.mjs +0 -114
  129. package/scss-45104c77.mjs +0 -244
  130. package/scss-d0f4f80e.js +0 -8
  131. package/solidity-d4979008.mjs +0 -1351
  132. package/solidity-f1319e8a.js +0 -6
  133. package/sophia-21995caf.mjs +0 -190
  134. package/sophia-a1ce907f.js +0 -6
  135. package/sparql-5088743c.mjs +0 -193
  136. package/sparql-98d9e092.js +0 -6
  137. package/st-122893c4.js +0 -6
  138. package/st-fa9ab362.mjs +0 -414
  139. package/systemverilog-8139818b.js +0 -6
  140. package/systemverilog-a4f858ed.mjs +0 -556
  141. package/tcl-8adf937f.mjs +0 -232
  142. package/tcl-e49fed0b.js +0 -6
  143. package/tsMode-d31816b7.js +0 -16
  144. package/tsMode-f63ee283.mjs +0 -794
  145. package/twig-404eb73e.mjs +0 -323
  146. package/twig-4bfb5b04.js +0 -6
  147. package/vb-8dfd000c.js +0 -6
  148. package/vb-e21e8153.mjs +0 -364
@@ -1,648 +0,0 @@
1
- import { m as F } from "./code-editor-50658551.mjs";
2
- import "./query-assigned-elements-4a39219d.mjs";
3
- import "./property-9b6ea53b.mjs";
4
- import "./async-directive-99a01ec7.mjs";
5
- import "./directive-helpers-e3ea6592.mjs";
6
- import "./directive-daf4e9b6.mjs";
7
- /*!-----------------------------------------------------------------------------
8
- * Copyright (c) Microsoft Corporation. All rights reserved.
9
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
10
- * Released under the MIT license
11
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
12
- *-----------------------------------------------------------------------------*/
13
- var b = Object.defineProperty, x = Object.getOwnPropertyDescriptor, $ = Object.getOwnPropertyNames, v = Object.prototype.hasOwnProperty, g = (t, n, _, e) => {
14
- if (n && typeof n == "object" || typeof n == "function")
15
- for (let o of $(n))
16
- !v.call(t, o) && o !== _ && b(t, o, { get: () => n[o], enumerable: !(e = x(n, o)) || e.enumerable });
17
- return t;
18
- }, E = (t, n, _) => (g(t, n, "default"), _ && g(_, n, "default")), r = {};
19
- E(r, F);
20
- var d = [
21
- "assign",
22
- "flush",
23
- "ftl",
24
- "return",
25
- "global",
26
- "import",
27
- "include",
28
- "break",
29
- "continue",
30
- "local",
31
- "nested",
32
- "nt",
33
- "setting",
34
- "stop",
35
- "t",
36
- "lt",
37
- "rt",
38
- "fallback"
39
- ], s = [
40
- "attempt",
41
- "autoesc",
42
- "autoEsc",
43
- "compress",
44
- "comment",
45
- "escape",
46
- "noescape",
47
- "function",
48
- "if",
49
- "list",
50
- "items",
51
- "sep",
52
- "macro",
53
- "noparse",
54
- "noParse",
55
- "noautoesc",
56
- "noAutoEsc",
57
- "outputformat",
58
- "switch",
59
- "visit",
60
- "recurse"
61
- ], a = {
62
- close: ">",
63
- id: "angle",
64
- open: "<"
65
- }, u = {
66
- close: "\\]",
67
- id: "bracket",
68
- open: "\\["
69
- }, D = {
70
- close: "[>\\]]",
71
- id: "auto",
72
- open: "[<\\[]"
73
- }, k = {
74
- close: "\\}",
75
- id: "dollar",
76
- open1: "\\$",
77
- open2: "\\{"
78
- }, p = {
79
- close: "\\]",
80
- id: "bracket",
81
- open1: "\\[",
82
- open2: "="
83
- };
84
- function l(t) {
85
- return {
86
- brackets: [
87
- ["<", ">"],
88
- ["[", "]"],
89
- ["(", ")"],
90
- ["{", "}"]
91
- ],
92
- comments: {
93
- blockComment: [`${t.open}--`, `--${t.close}`]
94
- },
95
- autoCloseBefore: `
96
- \r }]),.:;=`,
97
- autoClosingPairs: [
98
- { open: "{", close: "}" },
99
- { open: "[", close: "]" },
100
- { open: "(", close: ")" },
101
- { open: '"', close: '"', notIn: ["string"] },
102
- { open: "'", close: "'", notIn: ["string"] }
103
- ],
104
- surroundingPairs: [
105
- { open: '"', close: '"' },
106
- { open: "'", close: "'" },
107
- { open: "{", close: "}" },
108
- { open: "[", close: "]" },
109
- { open: "(", close: ")" },
110
- { open: "<", close: ">" }
111
- ],
112
- folding: {
113
- markers: {
114
- start: new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
115
- end: new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
116
- }
117
- },
118
- onEnterRules: [
119
- {
120
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
121
- afterText: new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),
122
- action: {
123
- indentAction: r.languages.IndentAction.IndentOutdent
124
- }
125
- },
126
- {
127
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
128
- action: { indentAction: r.languages.IndentAction.Indent }
129
- }
130
- ]
131
- };
132
- }
133
- function A() {
134
- return {
135
- brackets: [
136
- ["<", ">"],
137
- ["[", "]"],
138
- ["(", ")"],
139
- ["{", "}"]
140
- ],
141
- autoCloseBefore: `
142
- \r }]),.:;=`,
143
- autoClosingPairs: [
144
- { open: "{", close: "}" },
145
- { open: "[", close: "]" },
146
- { open: "(", close: ")" },
147
- { open: '"', close: '"', notIn: ["string"] },
148
- { open: "'", close: "'", notIn: ["string"] }
149
- ],
150
- surroundingPairs: [
151
- { open: '"', close: '"' },
152
- { open: "'", close: "'" },
153
- { open: "{", close: "}" },
154
- { open: "[", close: "]" },
155
- { open: "(", close: ")" },
156
- { open: "<", close: ">" }
157
- ],
158
- folding: {
159
- markers: {
160
- start: new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
161
- end: new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
162
- }
163
- },
164
- onEnterRules: [
165
- {
166
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
167
- afterText: new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),
168
- action: {
169
- indentAction: r.languages.IndentAction.IndentOutdent
170
- }
171
- },
172
- {
173
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
174
- action: { indentAction: r.languages.IndentAction.Indent }
175
- }
176
- ]
177
- };
178
- }
179
- function i(t, n) {
180
- const _ = `_${t.id}_${n.id}`, e = (c) => c.replace(/__id__/g, _), o = (c) => {
181
- const f = c.source.replace(/__id__/g, _);
182
- return new RegExp(f, c.flags);
183
- };
184
- return {
185
- unicode: !0,
186
- includeLF: !1,
187
- start: e("default__id__"),
188
- ignoreCase: !1,
189
- defaultToken: "invalid",
190
- tokenPostfix: ".freemarker2",
191
- brackets: [
192
- { open: "{", close: "}", token: "delimiter.curly" },
193
- { open: "[", close: "]", token: "delimiter.square" },
194
- { open: "(", close: ")", token: "delimiter.parenthesis" },
195
- { open: "<", close: ">", token: "delimiter.angle" }
196
- ],
197
- [e("open__id__")]: new RegExp(t.open),
198
- [e("close__id__")]: new RegExp(t.close),
199
- [e("iOpen1__id__")]: new RegExp(n.open1),
200
- [e("iOpen2__id__")]: new RegExp(n.open2),
201
- [e("iClose__id__")]: new RegExp(n.close),
202
- [e("startTag__id__")]: o(/(@open__id__)(#)/),
203
- [e("endTag__id__")]: o(/(@open__id__)(\/#)/),
204
- [e("startOrEndTag__id__")]: o(/(@open__id__)(\/?#)/),
205
- [e("closeTag1__id__")]: o(/((?:@blank)*)(@close__id__)/),
206
- [e("closeTag2__id__")]: o(/((?:@blank)*\/?)(@close__id__)/),
207
- blank: /[ \t\n\r]/,
208
- keywords: ["false", "true", "in", "as", "using"],
209
- directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
210
- directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
211
- 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/,
212
- 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/,
213
- escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
214
- asciiDigit: /[0-9]/,
215
- integer: /[0-9]+/,
216
- 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]/,
217
- escapedIdChar: /\\[\-\.:#]/,
218
- idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
219
- id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
220
- specialHashKeys: /\*\*|\*|false|true|in|as|using/,
221
- namedSymbols: /&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
222
- arrows: ["->", "-&gt;"],
223
- delimiters: [";", ":", ",", "."],
224
- stringOperators: ["lte", "lt", "gte", "gt"],
225
- noParseTags: ["noparse", "noParse", "comment"],
226
- tokenizer: {
227
- [e("default__id__")]: [
228
- { include: e("@directive_token__id__") },
229
- { include: e("@interpolation_and_text_token__id__") }
230
- ],
231
- [e("fmExpression__id__.directive")]: [
232
- { include: e("@blank_and_expression_comment_token__id__") },
233
- { include: e("@directive_end_token__id__") },
234
- { include: e("@expression_token__id__") }
235
- ],
236
- [e("fmExpression__id__.interpolation")]: [
237
- { include: e("@blank_and_expression_comment_token__id__") },
238
- { include: e("@expression_token__id__") },
239
- { include: e("@greater_operators_token__id__") }
240
- ],
241
- [e("inParen__id__.plain")]: [
242
- { include: e("@blank_and_expression_comment_token__id__") },
243
- { include: e("@directive_end_token__id__") },
244
- { include: e("@expression_token__id__") }
245
- ],
246
- [e("inParen__id__.gt")]: [
247
- { include: e("@blank_and_expression_comment_token__id__") },
248
- { include: e("@expression_token__id__") },
249
- { include: e("@greater_operators_token__id__") }
250
- ],
251
- [e("noSpaceExpression__id__")]: [
252
- { include: e("@no_space_expression_end_token__id__") },
253
- { include: e("@directive_end_token__id__") },
254
- { include: e("@expression_token__id__") }
255
- ],
256
- [e("unifiedCall__id__")]: [{ include: e("@unified_call_token__id__") }],
257
- [e("singleString__id__")]: [{ include: e("@string_single_token__id__") }],
258
- [e("doubleString__id__")]: [{ include: e("@string_double_token__id__") }],
259
- [e("rawSingleString__id__")]: [{ include: e("@string_single_raw_token__id__") }],
260
- [e("rawDoubleString__id__")]: [{ include: e("@string_double_raw_token__id__") }],
261
- [e("expressionComment__id__")]: [{ include: e("@expression_comment_token__id__") }],
262
- [e("noParse__id__")]: [{ include: e("@no_parse_token__id__") }],
263
- [e("terseComment__id__")]: [{ include: e("@terse_comment_token__id__") }],
264
- [e("directive_token__id__")]: [
265
- [
266
- o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
267
- t.id === "auto" ? {
268
- cases: {
269
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
270
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
271
- }
272
- } : [
273
- { token: "@brackets.directive" },
274
- { token: "delimiter.directive" },
275
- {
276
- cases: {
277
- "@noParseTags": { token: "tag", next: e("@noParse__id__.$3") },
278
- "@default": { token: "tag" }
279
- }
280
- },
281
- { token: "delimiter.directive" },
282
- { token: "@brackets.directive" }
283
- ]
284
- ],
285
- [
286
- o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
287
- t.id === "auto" ? {
288
- cases: {
289
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
290
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
291
- }
292
- } : [
293
- { token: "@brackets.directive" },
294
- { token: "delimiter.directive" },
295
- { token: "tag" },
296
- { token: "delimiter.directive" },
297
- { token: "@brackets.directive" }
298
- ]
299
- ],
300
- [
301
- o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
302
- t.id === "auto" ? {
303
- cases: {
304
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
305
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
306
- }
307
- } : [
308
- { token: "@brackets.directive" },
309
- { token: "delimiter.directive" },
310
- { token: "tag" },
311
- { token: "", next: e("@fmExpression__id__.directive") }
312
- ]
313
- ],
314
- [
315
- o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
316
- t.id === "auto" ? {
317
- cases: {
318
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
319
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
320
- }
321
- } : [
322
- { token: "@brackets.directive" },
323
- { token: "delimiter.directive" },
324
- { token: "tag" },
325
- { token: "delimiter.directive" },
326
- { token: "@brackets.directive" }
327
- ]
328
- ],
329
- [
330
- o(/(@open__id__)(@)/),
331
- t.id === "auto" ? {
332
- cases: {
333
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
334
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
335
- }
336
- } : [
337
- { token: "@brackets.directive" },
338
- { token: "delimiter.directive", next: e("@unifiedCall__id__") }
339
- ]
340
- ],
341
- [
342
- o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
343
- [
344
- { token: "@brackets.directive" },
345
- { token: "delimiter.directive" },
346
- { token: "tag" },
347
- { token: "delimiter.directive" },
348
- { token: "@brackets.directive" }
349
- ]
350
- ],
351
- [
352
- o(/(@open__id__)#--/),
353
- t.id === "auto" ? {
354
- cases: {
355
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
356
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
357
- }
358
- } : { token: "comment", next: e("@terseComment__id__") }
359
- ],
360
- [
361
- o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
362
- t.id === "auto" ? {
363
- cases: {
364
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
365
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
366
- }
367
- } : [
368
- { token: "@brackets.directive" },
369
- { token: "delimiter.directive" },
370
- { token: "tag.invalid", next: e("@fmExpression__id__.directive") }
371
- ]
372
- ]
373
- ],
374
- [e("interpolation_and_text_token__id__")]: [
375
- [
376
- o(/(@iOpen1__id__)(@iOpen2__id__)/),
377
- [
378
- { token: n.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
379
- {
380
- token: n.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
381
- next: e("@fmExpression__id__.interpolation")
382
- }
383
- ]
384
- ],
385
- [/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
386
- ],
387
- [e("string_single_token__id__")]: [
388
- [/[^'\\]/, { token: "string" }],
389
- [/@escapedChar/, { token: "string.escape" }],
390
- [/'/, { token: "string", next: "@pop" }]
391
- ],
392
- [e("string_double_token__id__")]: [
393
- [/[^"\\]/, { token: "string" }],
394
- [/@escapedChar/, { token: "string.escape" }],
395
- [/"/, { token: "string", next: "@pop" }]
396
- ],
397
- [e("string_single_raw_token__id__")]: [
398
- [/[^']+/, { token: "string.raw" }],
399
- [/'/, { token: "string.raw", next: "@pop" }]
400
- ],
401
- [e("string_double_raw_token__id__")]: [
402
- [/[^"]+/, { token: "string.raw" }],
403
- [/"/, { token: "string.raw", next: "@pop" }]
404
- ],
405
- [e("expression_token__id__")]: [
406
- [
407
- /(r?)(['"])/,
408
- {
409
- cases: {
410
- "r'": [
411
- { token: "keyword" },
412
- { token: "string.raw", next: e("@rawSingleString__id__") }
413
- ],
414
- 'r"': [
415
- { token: "keyword" },
416
- { token: "string.raw", next: e("@rawDoubleString__id__") }
417
- ],
418
- "'": [{ token: "source" }, { token: "string", next: e("@singleString__id__") }],
419
- '"': [{ token: "source" }, { token: "string", next: e("@doubleString__id__") }]
420
- }
421
- }
422
- ],
423
- [
424
- /(?:@integer)(?:\.(?:@integer))?/,
425
- {
426
- cases: {
427
- "(?:@integer)": { token: "number" },
428
- "@default": { token: "number.float" }
429
- }
430
- }
431
- ],
432
- [
433
- /(\.)(@blank*)(@specialHashKeys)/,
434
- [{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
435
- ],
436
- [
437
- /(?:@namedSymbols)/,
438
- {
439
- cases: {
440
- "@arrows": { token: "meta.arrow" },
441
- "@delimiters": { token: "delimiter" },
442
- "@default": { token: "operators" }
443
- }
444
- }
445
- ],
446
- [
447
- /@id/,
448
- {
449
- cases: {
450
- "@keywords": { token: "keyword.$0" },
451
- "@stringOperators": { token: "operators" },
452
- "@default": { token: "identifier" }
453
- }
454
- }
455
- ],
456
- [
457
- /[\[\]\(\)\{\}]/,
458
- {
459
- cases: {
460
- "\\[": {
461
- cases: {
462
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
463
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
464
- }
465
- },
466
- "\\]": {
467
- cases: {
468
- ...n.id === "bracket" ? {
469
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
470
- } : {},
471
- ...t.id === "bracket" ? {
472
- "$S2==directive": { token: "@brackets.directive", next: "@popall" }
473
- } : {},
474
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
475
- "@default": { token: "@brackets" }
476
- }
477
- },
478
- "\\(": { token: "@brackets", next: e("@inParen__id__.gt") },
479
- "\\)": {
480
- cases: {
481
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
482
- "@default": { token: "@brackets" }
483
- }
484
- },
485
- "\\{": {
486
- cases: {
487
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
488
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
489
- }
490
- },
491
- "\\}": {
492
- cases: {
493
- ...n.id === "bracket" ? {} : {
494
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
495
- },
496
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
497
- "@default": { token: "@brackets" }
498
- }
499
- }
500
- }
501
- }
502
- ],
503
- [/\$\{/, { token: "delimiter.invalid" }]
504
- ],
505
- [e("blank_and_expression_comment_token__id__")]: [
506
- [/(?:@blank)+/, { token: "" }],
507
- [/[<\[][#!]--/, { token: "comment", next: e("@expressionComment__id__") }]
508
- ],
509
- [e("directive_end_token__id__")]: [
510
- [
511
- />/,
512
- t.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
513
- ],
514
- [
515
- o(/(\/)(@close__id__)/),
516
- [{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
517
- ]
518
- ],
519
- [e("greater_operators_token__id__")]: [
520
- [/>/, { token: "operators" }],
521
- [/>=/, { token: "operators" }]
522
- ],
523
- [e("no_space_expression_end_token__id__")]: [
524
- [/(?:@blank)+/, { token: "", switchTo: e("@fmExpression__id__.directive") }]
525
- ],
526
- [e("unified_call_token__id__")]: [
527
- [
528
- /(@id)((?:@blank)+)/,
529
- [{ token: "tag" }, { token: "", next: e("@fmExpression__id__.directive") }]
530
- ],
531
- [
532
- o(/(@id)(\/?)(@close__id__)/),
533
- [
534
- { token: "tag" },
535
- { token: "delimiter.directive" },
536
- { token: "@brackets.directive", next: "@popall" }
537
- ]
538
- ],
539
- [/./, { token: "@rematch", next: e("@noSpaceExpression__id__") }]
540
- ],
541
- [e("no_parse_token__id__")]: [
542
- [
543
- o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
544
- {
545
- cases: {
546
- "$S2==$3": [
547
- { token: "@brackets.directive" },
548
- { token: "delimiter.directive" },
549
- { token: "tag" },
550
- { token: "" },
551
- { token: "@brackets.directive", next: "@popall" }
552
- ],
553
- "$S2==comment": [
554
- { token: "comment" },
555
- { token: "comment" },
556
- { token: "comment" },
557
- { token: "comment" },
558
- { token: "comment" }
559
- ],
560
- "@default": [
561
- { token: "source" },
562
- { token: "source" },
563
- { token: "source" },
564
- { token: "source" },
565
- { token: "source" }
566
- ]
567
- }
568
- }
569
- ],
570
- [
571
- /[^<\[\-]+|[<\[\-]/,
572
- {
573
- cases: {
574
- "$S2==comment": { token: "comment" },
575
- "@default": { token: "source" }
576
- }
577
- }
578
- ]
579
- ],
580
- [e("expression_comment_token__id__")]: [
581
- [
582
- /--[>\]]/,
583
- {
584
- token: "comment",
585
- next: "@pop"
586
- }
587
- ],
588
- [/[^\->\]]+|[>\]\-]/, { token: "comment" }]
589
- ],
590
- [e("terse_comment_token__id__")]: [
591
- [o(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
592
- [/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
593
- ]
594
- }
595
- };
596
- }
597
- function m(t) {
598
- const n = i(a, t), _ = i(u, t), e = i(D, t);
599
- return {
600
- ...n,
601
- ..._,
602
- ...e,
603
- unicode: !0,
604
- includeLF: !1,
605
- start: `default_auto_${t.id}`,
606
- ignoreCase: !1,
607
- defaultToken: "invalid",
608
- tokenPostfix: ".freemarker2",
609
- brackets: [
610
- { open: "{", close: "}", token: "delimiter.curly" },
611
- { open: "[", close: "]", token: "delimiter.square" },
612
- { open: "(", close: ")", token: "delimiter.parenthesis" },
613
- { open: "<", close: ">", token: "delimiter.angle" }
614
- ],
615
- tokenizer: {
616
- ...n.tokenizer,
617
- ..._.tokenizer,
618
- ...e.tokenizer
619
- }
620
- };
621
- }
622
- var P = {
623
- conf: l(a),
624
- language: i(a, k)
625
- }, y = {
626
- conf: l(u),
627
- language: i(u, k)
628
- }, I = {
629
- conf: l(a),
630
- language: i(a, p)
631
- }, O = {
632
- conf: l(u),
633
- language: i(u, p)
634
- }, R = {
635
- conf: A(),
636
- language: m(k)
637
- }, z = {
638
- conf: A(),
639
- language: m(p)
640
- };
641
- export {
642
- I as TagAngleInterpolationBracket,
643
- P as TagAngleInterpolationDollar,
644
- z as TagAutoInterpolationBracket,
645
- R as TagAutoInterpolationDollar,
646
- O as TagBracketInterpolationBracket,
647
- y as TagBracketInterpolationDollar
648
- };