@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.
- package/cell.js +2 -2
- package/cell.mjs +2 -2
- package/code-editor/code-editor.d.ts +23 -1
- package/code-editor/code-editor.d.ts.map +1 -1
- package/code-editor-3a09cbf1.js +732 -0
- package/{code-editor-50658551.mjs → code-editor-ce557bd5.mjs} +14343 -47224
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-e9028ad1.js → html-4fffc46e.js} +1 -1
- package/{html-201c3d5b.mjs → html-783f1e7c.mjs} +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-b57f3bab.mjs → javascript-4d09cd3c.mjs} +2 -2
- package/{javascript-3c211951.js → javascript-90bb18e6.js} +1 -1
- package/notebook/notebook.d.ts.map +1 -1
- package/notebook.js +4 -4
- package/notebook.mjs +40 -33
- package/package.json +1 -1
- package/{python-fc06c865.mjs → python-562f8e9b.mjs} +1 -1
- package/{python-bc49c081.js → python-af3aad7d.js} +1 -1
- package/style.css +1 -1
- package/{typescript-40210801.js → typescript-76d039b3.js} +1 -1
- package/{typescript-43c5c20d.mjs → typescript-a2a5d6b2.mjs} +1 -1
- package/{xml-fa896994.mjs → xml-89571455.mjs} +1 -1
- package/{xml-7bc2fc7c.js → xml-e66929d0.js} +1 -1
- package/{yaml-ed9aa786.js → yaml-11a91e71.js} +1 -1
- package/{yaml-78bd2cbe.mjs → yaml-4eccd122.mjs} +1 -1
- package/abap-1354785f.mjs +0 -1314
- package/abap-c7187853.js +0 -6
- package/apex-279d4f27.mjs +0 -315
- package/apex-fc5f2b3e.js +0 -6
- package/azcli-ba812c55.mjs +0 -74
- package/azcli-eb191d91.js +0 -6
- package/bat-34d38df4.js +0 -6
- package/bat-4d77495d.mjs +0 -95
- package/bicep-7b240724.mjs +0 -108
- package/bicep-a8264e77.js +0 -7
- package/cameligo-5d2daeb8.mjs +0 -168
- package/cameligo-6e71c8f3.js +0 -6
- package/clojure-355adae1.js +0 -6
- package/clojure-b7ea12a3.mjs +0 -754
- package/code-editor-1a85e0d5.js +0 -1200
- package/coffee-1a8cfbf4.mjs +0 -228
- package/coffee-fd8a7421.js +0 -6
- package/csp-54919de0.js +0 -6
- package/csp-96407af0.mjs +0 -57
- package/cssMode-2b74fdc2.mjs +0 -1450
- package/cssMode-9d3a459c.js +0 -9
- package/cypher-11e5a4b6.mjs +0 -262
- package/cypher-cc849b67.js +0 -6
- package/dockerfile-2f8684f7.js +0 -6
- package/dockerfile-8739cff7.mjs +0 -132
- package/ecl-68a6f20f.js +0 -6
- package/ecl-a20c5155.mjs +0 -454
- package/elixir-32cc668e.js +0 -6
- package/elixir-8b028584.mjs +0 -467
- package/flow9-0dea2e73.mjs +0 -141
- package/flow9-1d2ab5f6.js +0 -6
- package/freemarker2-bde9aca2.js +0 -8
- package/freemarker2-cfbd8857.mjs +0 -648
- package/fsharp-49a70fad.mjs +0 -210
- package/fsharp-a22f5013.js +0 -6
- package/graphql-1a14eb34.js +0 -6
- package/graphql-51a577e5.mjs +0 -141
- package/handlebars-c9cf3ba5.mjs +0 -396
- package/handlebars-f9941f98.js +0 -6
- package/hcl-0833427e.js +0 -6
- package/hcl-56b85754.mjs +0 -177
- package/htmlMode-81e069aa.mjs +0 -1460
- package/htmlMode-8825beb1.js +0 -9
- package/ini-1d58d82f.mjs +0 -68
- package/ini-34a929df.js +0 -6
- package/jsonMode-1e42d08e.mjs +0 -1871
- package/jsonMode-8cd3f8b9.js +0 -11
- package/julia-7db1fb9a.js +0 -6
- package/julia-a0caf483.mjs +0 -496
- package/less-5219eae1.js +0 -7
- package/less-718543b4.mjs +0 -168
- package/lexon-5e6e7a44.mjs +0 -151
- package/lexon-dfd683ab.js +0 -6
- package/liquid-987381d2.mjs +0 -243
- package/liquid-c3f3aaaf.js +0 -6
- package/m3-87473279.js +0 -6
- package/m3-aadaf771.mjs +0 -210
- package/mips-161e49ce.mjs +0 -194
- package/mips-82a1ce59.js +0 -6
- package/msdax-b3b5017e.js +0 -6
- package/msdax-f65cb1e6.mjs +0 -377
- package/mysql-24549dd1.mjs +0 -875
- package/mysql-69f1c589.js +0 -6
- package/objective-c-c8319b65.js +0 -6
- package/objective-c-e129a5ca.mjs +0 -188
- package/pascal-4ccdf5ce.mjs +0 -245
- package/pascal-e5207a08.js +0 -6
- package/pascaligo-8eb79945.js +0 -6
- package/pascaligo-a9603dcd.mjs +0 -158
- package/perl-ba1fb97a.mjs +0 -599
- package/perl-e8264c91.js +0 -6
- package/pgsql-89978310.mjs +0 -843
- package/pgsql-c8ba6faf.js +0 -6
- package/pla-96c2695d.mjs +0 -131
- package/pla-c85b0e59.js +0 -6
- package/postiats-3c2c478e.js +0 -6
- package/postiats-7b52ebac.mjs +0 -544
- package/powerquery-8954ec26.mjs +0 -890
- package/powerquery-b0d5f9e4.js +0 -6
- package/powershell-cdb88123.js +0 -6
- package/powershell-f00d0274.mjs +0 -233
- package/protobuf-3eb85f80.mjs +0 -422
- package/protobuf-a3b2ca94.js +0 -7
- package/pug-6fab415a.mjs +0 -393
- package/pug-c5df821d.js +0 -6
- package/qsharp-4792f872.mjs +0 -282
- package/qsharp-7eddb7b9.js +0 -6
- package/razor-52a04ea4.mjs +0 -517
- package/razor-90572182.js +0 -6
- package/redis-0d0a89dd.js +0 -6
- package/redis-276b8288.mjs +0 -298
- package/redshift-520a7359.mjs +0 -806
- package/redshift-b6bdaeca.js +0 -6
- package/restructuredtext-4676a3fc.mjs +0 -162
- package/restructuredtext-c83d56ed.js +0 -6
- package/ruby-764137cd.mjs +0 -444
- package/ruby-96103dcf.js +0 -6
- package/sb-8c22f14c.mjs +0 -110
- package/sb-e2701210.js +0 -6
- package/scheme-b9cbf7cb.js +0 -6
- package/scheme-e6a52cb0.mjs +0 -114
- package/scss-45104c77.mjs +0 -244
- package/scss-d0f4f80e.js +0 -8
- package/solidity-d4979008.mjs +0 -1351
- package/solidity-f1319e8a.js +0 -6
- package/sophia-21995caf.mjs +0 -190
- package/sophia-a1ce907f.js +0 -6
- package/sparql-5088743c.mjs +0 -193
- package/sparql-98d9e092.js +0 -6
- package/st-122893c4.js +0 -6
- package/st-fa9ab362.mjs +0 -414
- package/systemverilog-8139818b.js +0 -6
- package/systemverilog-a4f858ed.mjs +0 -556
- package/tcl-8adf937f.mjs +0 -232
- package/tcl-e49fed0b.js +0 -6
- package/tsMode-d31816b7.js +0 -16
- package/tsMode-f63ee283.mjs +0 -794
- package/twig-404eb73e.mjs +0 -323
- package/twig-4bfb5b04.js +0 -6
- package/vb-8dfd000c.js +0 -6
- package/vb-e21e8153.mjs +0 -364
package/handlebars-c9cf3ba5.mjs
DELETED
@@ -1,396 +0,0 @@
|
|
1
|
-
import { m as l } 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 s = Object.defineProperty, d = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, o = (t, e, r, m) => {
|
14
|
-
if (e && typeof e == "object" || typeof e == "function")
|
15
|
-
for (let n of p(e))
|
16
|
-
!c.call(t, n) && n !== r && s(t, n, { get: () => e[n], enumerable: !(m = d(e, n)) || m.enumerable });
|
17
|
-
return t;
|
18
|
-
}, h = (t, e, r) => (o(t, e, "default"), r && o(r, e, "default")), a = {};
|
19
|
-
h(a, l);
|
20
|
-
var i = [
|
21
|
-
"area",
|
22
|
-
"base",
|
23
|
-
"br",
|
24
|
-
"col",
|
25
|
-
"embed",
|
26
|
-
"hr",
|
27
|
-
"img",
|
28
|
-
"input",
|
29
|
-
"keygen",
|
30
|
-
"link",
|
31
|
-
"menuitem",
|
32
|
-
"meta",
|
33
|
-
"param",
|
34
|
-
"source",
|
35
|
-
"track",
|
36
|
-
"wbr"
|
37
|
-
], w = {
|
38
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
39
|
-
comments: {
|
40
|
-
blockComment: ["{{!--", "--}}"]
|
41
|
-
},
|
42
|
-
brackets: [
|
43
|
-
["<!--", "-->"],
|
44
|
-
["<", ">"],
|
45
|
-
["{{", "}}"],
|
46
|
-
["{", "}"],
|
47
|
-
["(", ")"]
|
48
|
-
],
|
49
|
-
autoClosingPairs: [
|
50
|
-
{ open: "{", close: "}" },
|
51
|
-
{ open: "[", close: "]" },
|
52
|
-
{ open: "(", close: ")" },
|
53
|
-
{ open: '"', close: '"' },
|
54
|
-
{ open: "'", close: "'" }
|
55
|
-
],
|
56
|
-
surroundingPairs: [
|
57
|
-
{ open: "<", close: ">" },
|
58
|
-
{ open: '"', close: '"' },
|
59
|
-
{ open: "'", close: "'" }
|
60
|
-
],
|
61
|
-
onEnterRules: [
|
62
|
-
{
|
63
|
-
beforeText: new RegExp(`<(?!(?:${i.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
64
|
-
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
65
|
-
action: {
|
66
|
-
indentAction: a.languages.IndentAction.IndentOutdent
|
67
|
-
}
|
68
|
-
},
|
69
|
-
{
|
70
|
-
beforeText: new RegExp(`<(?!(?:${i.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
71
|
-
action: { indentAction: a.languages.IndentAction.Indent }
|
72
|
-
}
|
73
|
-
]
|
74
|
-
}, E = {
|
75
|
-
defaultToken: "",
|
76
|
-
tokenPostfix: "",
|
77
|
-
tokenizer: {
|
78
|
-
root: [
|
79
|
-
[/\{\{!--/, "comment.block.start.handlebars", "@commentBlock"],
|
80
|
-
[/\{\{!/, "comment.start.handlebars", "@comment"],
|
81
|
-
[/\{\{/, { token: "@rematch", switchTo: "@handlebarsInSimpleState.root" }],
|
82
|
-
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
83
|
-
[/<!--/, "comment.html", "@commentHtml"],
|
84
|
-
[/(<)(\w+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
85
|
-
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
86
|
-
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
87
|
-
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
88
|
-
[/(<\/)(\w+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
89
|
-
[/</, "delimiter.html"],
|
90
|
-
[/\{/, "delimiter.html"],
|
91
|
-
[/[^<{]+/]
|
92
|
-
],
|
93
|
-
doctype: [
|
94
|
-
[
|
95
|
-
/\{\{/,
|
96
|
-
{
|
97
|
-
token: "@rematch",
|
98
|
-
switchTo: "@handlebarsInSimpleState.comment"
|
99
|
-
}
|
100
|
-
],
|
101
|
-
[/[^>]+/, "metatag.content.html"],
|
102
|
-
[/>/, "metatag.html", "@pop"]
|
103
|
-
],
|
104
|
-
comment: [
|
105
|
-
[/\}\}/, "comment.end.handlebars", "@pop"],
|
106
|
-
[/./, "comment.content.handlebars"]
|
107
|
-
],
|
108
|
-
commentBlock: [
|
109
|
-
[/--\}\}/, "comment.block.end.handlebars", "@pop"],
|
110
|
-
[/./, "comment.content.handlebars"]
|
111
|
-
],
|
112
|
-
commentHtml: [
|
113
|
-
[
|
114
|
-
/\{\{/,
|
115
|
-
{
|
116
|
-
token: "@rematch",
|
117
|
-
switchTo: "@handlebarsInSimpleState.comment"
|
118
|
-
}
|
119
|
-
],
|
120
|
-
[/-->/, "comment.html", "@pop"],
|
121
|
-
[/[^-]+/, "comment.content.html"],
|
122
|
-
[/./, "comment.content.html"]
|
123
|
-
],
|
124
|
-
otherTag: [
|
125
|
-
[
|
126
|
-
/\{\{/,
|
127
|
-
{
|
128
|
-
token: "@rematch",
|
129
|
-
switchTo: "@handlebarsInSimpleState.otherTag"
|
130
|
-
}
|
131
|
-
],
|
132
|
-
[/\/?>/, "delimiter.html", "@pop"],
|
133
|
-
[/"([^"]*)"/, "attribute.value"],
|
134
|
-
[/'([^']*)'/, "attribute.value"],
|
135
|
-
[/[\w\-]+/, "attribute.name"],
|
136
|
-
[/=/, "delimiter"],
|
137
|
-
[/[ \t\r\n]+/]
|
138
|
-
],
|
139
|
-
script: [
|
140
|
-
[
|
141
|
-
/\{\{/,
|
142
|
-
{
|
143
|
-
token: "@rematch",
|
144
|
-
switchTo: "@handlebarsInSimpleState.script"
|
145
|
-
}
|
146
|
-
],
|
147
|
-
[/type/, "attribute.name", "@scriptAfterType"],
|
148
|
-
[/"([^"]*)"/, "attribute.value"],
|
149
|
-
[/'([^']*)'/, "attribute.value"],
|
150
|
-
[/[\w\-]+/, "attribute.name"],
|
151
|
-
[/=/, "delimiter"],
|
152
|
-
[
|
153
|
-
/>/,
|
154
|
-
{
|
155
|
-
token: "delimiter.html",
|
156
|
-
next: "@scriptEmbedded.text/javascript",
|
157
|
-
nextEmbedded: "text/javascript"
|
158
|
-
}
|
159
|
-
],
|
160
|
-
[/[ \t\r\n]+/],
|
161
|
-
[
|
162
|
-
/(<\/)(script\s*)(>)/,
|
163
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
164
|
-
]
|
165
|
-
],
|
166
|
-
scriptAfterType: [
|
167
|
-
[
|
168
|
-
/\{\{/,
|
169
|
-
{
|
170
|
-
token: "@rematch",
|
171
|
-
switchTo: "@handlebarsInSimpleState.scriptAfterType"
|
172
|
-
}
|
173
|
-
],
|
174
|
-
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
175
|
-
[
|
176
|
-
/>/,
|
177
|
-
{
|
178
|
-
token: "delimiter.html",
|
179
|
-
next: "@scriptEmbedded.text/javascript",
|
180
|
-
nextEmbedded: "text/javascript"
|
181
|
-
}
|
182
|
-
],
|
183
|
-
[/[ \t\r\n]+/],
|
184
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
185
|
-
],
|
186
|
-
scriptAfterTypeEquals: [
|
187
|
-
[
|
188
|
-
/\{\{/,
|
189
|
-
{
|
190
|
-
token: "@rematch",
|
191
|
-
switchTo: "@handlebarsInSimpleState.scriptAfterTypeEquals"
|
192
|
-
}
|
193
|
-
],
|
194
|
-
[
|
195
|
-
/"([^"]*)"/,
|
196
|
-
{
|
197
|
-
token: "attribute.value",
|
198
|
-
switchTo: "@scriptWithCustomType.$1"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
[
|
202
|
-
/'([^']*)'/,
|
203
|
-
{
|
204
|
-
token: "attribute.value",
|
205
|
-
switchTo: "@scriptWithCustomType.$1"
|
206
|
-
}
|
207
|
-
],
|
208
|
-
[
|
209
|
-
/>/,
|
210
|
-
{
|
211
|
-
token: "delimiter.html",
|
212
|
-
next: "@scriptEmbedded.text/javascript",
|
213
|
-
nextEmbedded: "text/javascript"
|
214
|
-
}
|
215
|
-
],
|
216
|
-
[/[ \t\r\n]+/],
|
217
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
218
|
-
],
|
219
|
-
scriptWithCustomType: [
|
220
|
-
[
|
221
|
-
/\{\{/,
|
222
|
-
{
|
223
|
-
token: "@rematch",
|
224
|
-
switchTo: "@handlebarsInSimpleState.scriptWithCustomType.$S2"
|
225
|
-
}
|
226
|
-
],
|
227
|
-
[
|
228
|
-
/>/,
|
229
|
-
{
|
230
|
-
token: "delimiter.html",
|
231
|
-
next: "@scriptEmbedded.$S2",
|
232
|
-
nextEmbedded: "$S2"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
[/"([^"]*)"/, "attribute.value"],
|
236
|
-
[/'([^']*)'/, "attribute.value"],
|
237
|
-
[/[\w\-]+/, "attribute.name"],
|
238
|
-
[/=/, "delimiter"],
|
239
|
-
[/[ \t\r\n]+/],
|
240
|
-
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
241
|
-
],
|
242
|
-
scriptEmbedded: [
|
243
|
-
[
|
244
|
-
/\{\{/,
|
245
|
-
{
|
246
|
-
token: "@rematch",
|
247
|
-
switchTo: "@handlebarsInEmbeddedState.scriptEmbedded.$S2",
|
248
|
-
nextEmbedded: "@pop"
|
249
|
-
}
|
250
|
-
],
|
251
|
-
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
252
|
-
],
|
253
|
-
style: [
|
254
|
-
[
|
255
|
-
/\{\{/,
|
256
|
-
{
|
257
|
-
token: "@rematch",
|
258
|
-
switchTo: "@handlebarsInSimpleState.style"
|
259
|
-
}
|
260
|
-
],
|
261
|
-
[/type/, "attribute.name", "@styleAfterType"],
|
262
|
-
[/"([^"]*)"/, "attribute.value"],
|
263
|
-
[/'([^']*)'/, "attribute.value"],
|
264
|
-
[/[\w\-]+/, "attribute.name"],
|
265
|
-
[/=/, "delimiter"],
|
266
|
-
[
|
267
|
-
/>/,
|
268
|
-
{
|
269
|
-
token: "delimiter.html",
|
270
|
-
next: "@styleEmbedded.text/css",
|
271
|
-
nextEmbedded: "text/css"
|
272
|
-
}
|
273
|
-
],
|
274
|
-
[/[ \t\r\n]+/],
|
275
|
-
[
|
276
|
-
/(<\/)(style\s*)(>)/,
|
277
|
-
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
278
|
-
]
|
279
|
-
],
|
280
|
-
styleAfterType: [
|
281
|
-
[
|
282
|
-
/\{\{/,
|
283
|
-
{
|
284
|
-
token: "@rematch",
|
285
|
-
switchTo: "@handlebarsInSimpleState.styleAfterType"
|
286
|
-
}
|
287
|
-
],
|
288
|
-
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
289
|
-
[
|
290
|
-
/>/,
|
291
|
-
{
|
292
|
-
token: "delimiter.html",
|
293
|
-
next: "@styleEmbedded.text/css",
|
294
|
-
nextEmbedded: "text/css"
|
295
|
-
}
|
296
|
-
],
|
297
|
-
[/[ \t\r\n]+/],
|
298
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
299
|
-
],
|
300
|
-
styleAfterTypeEquals: [
|
301
|
-
[
|
302
|
-
/\{\{/,
|
303
|
-
{
|
304
|
-
token: "@rematch",
|
305
|
-
switchTo: "@handlebarsInSimpleState.styleAfterTypeEquals"
|
306
|
-
}
|
307
|
-
],
|
308
|
-
[
|
309
|
-
/"([^"]*)"/,
|
310
|
-
{
|
311
|
-
token: "attribute.value",
|
312
|
-
switchTo: "@styleWithCustomType.$1"
|
313
|
-
}
|
314
|
-
],
|
315
|
-
[
|
316
|
-
/'([^']*)'/,
|
317
|
-
{
|
318
|
-
token: "attribute.value",
|
319
|
-
switchTo: "@styleWithCustomType.$1"
|
320
|
-
}
|
321
|
-
],
|
322
|
-
[
|
323
|
-
/>/,
|
324
|
-
{
|
325
|
-
token: "delimiter.html",
|
326
|
-
next: "@styleEmbedded.text/css",
|
327
|
-
nextEmbedded: "text/css"
|
328
|
-
}
|
329
|
-
],
|
330
|
-
[/[ \t\r\n]+/],
|
331
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
332
|
-
],
|
333
|
-
styleWithCustomType: [
|
334
|
-
[
|
335
|
-
/\{\{/,
|
336
|
-
{
|
337
|
-
token: "@rematch",
|
338
|
-
switchTo: "@handlebarsInSimpleState.styleWithCustomType.$S2"
|
339
|
-
}
|
340
|
-
],
|
341
|
-
[
|
342
|
-
/>/,
|
343
|
-
{
|
344
|
-
token: "delimiter.html",
|
345
|
-
next: "@styleEmbedded.$S2",
|
346
|
-
nextEmbedded: "$S2"
|
347
|
-
}
|
348
|
-
],
|
349
|
-
[/"([^"]*)"/, "attribute.value"],
|
350
|
-
[/'([^']*)'/, "attribute.value"],
|
351
|
-
[/[\w\-]+/, "attribute.name"],
|
352
|
-
[/=/, "delimiter"],
|
353
|
-
[/[ \t\r\n]+/],
|
354
|
-
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
355
|
-
],
|
356
|
-
styleEmbedded: [
|
357
|
-
[
|
358
|
-
/\{\{/,
|
359
|
-
{
|
360
|
-
token: "@rematch",
|
361
|
-
switchTo: "@handlebarsInEmbeddedState.styleEmbedded.$S2",
|
362
|
-
nextEmbedded: "@pop"
|
363
|
-
}
|
364
|
-
],
|
365
|
-
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
366
|
-
],
|
367
|
-
handlebarsInSimpleState: [
|
368
|
-
[/\{\{\{?/, "delimiter.handlebars"],
|
369
|
-
[/\}\}\}?/, { token: "delimiter.handlebars", switchTo: "@$S2.$S3" }],
|
370
|
-
{ include: "handlebarsRoot" }
|
371
|
-
],
|
372
|
-
handlebarsInEmbeddedState: [
|
373
|
-
[/\{\{\{?/, "delimiter.handlebars"],
|
374
|
-
[
|
375
|
-
/\}\}\}?/,
|
376
|
-
{
|
377
|
-
token: "delimiter.handlebars",
|
378
|
-
switchTo: "@$S2.$S3",
|
379
|
-
nextEmbedded: "$S3"
|
380
|
-
}
|
381
|
-
],
|
382
|
-
{ include: "handlebarsRoot" }
|
383
|
-
],
|
384
|
-
handlebarsRoot: [
|
385
|
-
[/"[^"]*"/, "string.handlebars"],
|
386
|
-
[/[#/][^\s}]+/, "keyword.helper.handlebars"],
|
387
|
-
[/else\b/, "keyword.helper.handlebars"],
|
388
|
-
[/[\s]+/],
|
389
|
-
[/[^}]/, "variable.parameter.handlebars"]
|
390
|
-
]
|
391
|
-
}
|
392
|
-
};
|
393
|
-
export {
|
394
|
-
w as conf,
|
395
|
-
E as language
|
396
|
-
};
|
package/handlebars-f9941f98.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./code-editor-1a85e0d5.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
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
|
-
*-----------------------------------------------------------------------------*/var s=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!p.call(t,r)&&r!==n&&s(t,r,{get:()=>e[r],enumerable:!(o=d(e,r))||o.enumerable});return t},h=(t,e,n)=>(i(t,e,"default"),n&&i(n,e,"default")),a={};h(a,m.monaco_editor_core_star);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.languages.IndentAction.Indent}}]},u={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};exports.conf=b;exports.language=u;
|
package/hcl-0833427e.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
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
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}};exports.conf=e;exports.language=t;
|
package/hcl-56b85754.mjs
DELETED
@@ -1,177 +0,0 @@
|
|
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
|
-
]
|
29
|
-
}, t = {
|
30
|
-
defaultToken: "",
|
31
|
-
tokenPostfix: ".hcl",
|
32
|
-
keywords: [
|
33
|
-
"var",
|
34
|
-
"local",
|
35
|
-
"path",
|
36
|
-
"for_each",
|
37
|
-
"any",
|
38
|
-
"string",
|
39
|
-
"number",
|
40
|
-
"bool",
|
41
|
-
"true",
|
42
|
-
"false",
|
43
|
-
"null",
|
44
|
-
"if ",
|
45
|
-
"else ",
|
46
|
-
"endif ",
|
47
|
-
"for ",
|
48
|
-
"in",
|
49
|
-
"endfor"
|
50
|
-
],
|
51
|
-
operators: [
|
52
|
-
"=",
|
53
|
-
">=",
|
54
|
-
"<=",
|
55
|
-
"==",
|
56
|
-
"!=",
|
57
|
-
"+",
|
58
|
-
"-",
|
59
|
-
"*",
|
60
|
-
"/",
|
61
|
-
"%",
|
62
|
-
"&&",
|
63
|
-
"||",
|
64
|
-
"!",
|
65
|
-
"<",
|
66
|
-
">",
|
67
|
-
"?",
|
68
|
-
"...",
|
69
|
-
":"
|
70
|
-
],
|
71
|
-
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
72
|
-
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
73
|
-
terraformFunctions: /(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,
|
74
|
-
terraformMainBlocks: /(module|data|terraform|resource|provider|variable|output|locals)/,
|
75
|
-
tokenizer: {
|
76
|
-
root: [
|
77
|
-
[
|
78
|
-
/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,
|
79
|
-
["type", "", "string", "", "string", "", "@brackets"]
|
80
|
-
],
|
81
|
-
[
|
82
|
-
/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,
|
83
|
-
["identifier", "", "string", "", "string", "", "@brackets"]
|
84
|
-
],
|
85
|
-
[
|
86
|
-
/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,
|
87
|
-
["identifier", "", "string", "", "operator", "", "@brackets"]
|
88
|
-
],
|
89
|
-
{ include: "@terraform" }
|
90
|
-
],
|
91
|
-
terraform: [
|
92
|
-
[/@terraformFunctions(\()/, ["type", "@brackets"]],
|
93
|
-
[
|
94
|
-
/[a-zA-Z_]\w*-*/,
|
95
|
-
{
|
96
|
-
cases: {
|
97
|
-
"@keywords": { token: "keyword.$0" },
|
98
|
-
"@default": "variable"
|
99
|
-
}
|
100
|
-
}
|
101
|
-
],
|
102
|
-
{ include: "@whitespace" },
|
103
|
-
{ include: "@heredoc" },
|
104
|
-
[/[{}()\[\]]/, "@brackets"],
|
105
|
-
[/[<>](?!@symbols)/, "@brackets"],
|
106
|
-
[
|
107
|
-
/@symbols/,
|
108
|
-
{
|
109
|
-
cases: {
|
110
|
-
"@operators": "operator",
|
111
|
-
"@default": ""
|
112
|
-
}
|
113
|
-
}
|
114
|
-
],
|
115
|
-
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
|
116
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
117
|
-
[/\d[\d']*/, "number"],
|
118
|
-
[/\d/, "number"],
|
119
|
-
[/[;,.]/, "delimiter"],
|
120
|
-
[/"/, "string", "@string"],
|
121
|
-
[/'/, "invalid"]
|
122
|
-
],
|
123
|
-
heredoc: [
|
124
|
-
[/<<[-]*\s*["]?([\w\-]+)["]?/, { token: "string.heredoc.delimiter", next: "@heredocBody.$1" }]
|
125
|
-
],
|
126
|
-
heredocBody: [
|
127
|
-
[
|
128
|
-
/([\w\-]+)$/,
|
129
|
-
{
|
130
|
-
cases: {
|
131
|
-
"$1==$S2": [
|
132
|
-
{
|
133
|
-
token: "string.heredoc.delimiter",
|
134
|
-
next: "@popall"
|
135
|
-
}
|
136
|
-
],
|
137
|
-
"@default": "string.heredoc"
|
138
|
-
}
|
139
|
-
}
|
140
|
-
],
|
141
|
-
[/./, "string.heredoc"]
|
142
|
-
],
|
143
|
-
whitespace: [
|
144
|
-
[/[ \t\r\n]+/, ""],
|
145
|
-
[/\/\*/, "comment", "@comment"],
|
146
|
-
[/\/\/.*$/, "comment"],
|
147
|
-
[/#.*$/, "comment"]
|
148
|
-
],
|
149
|
-
comment: [
|
150
|
-
[/[^\/*]+/, "comment"],
|
151
|
-
[/\*\//, "comment", "@pop"],
|
152
|
-
[/[\/*]/, "comment"]
|
153
|
-
],
|
154
|
-
string: [
|
155
|
-
[/\$\{/, { token: "delimiter", next: "@stringExpression" }],
|
156
|
-
[/[^\\"\$]+/, "string"],
|
157
|
-
[/@escapes/, "string.escape"],
|
158
|
-
[/\\./, "string.escape.invalid"],
|
159
|
-
[/"/, "string", "@popall"]
|
160
|
-
],
|
161
|
-
stringInsideExpression: [
|
162
|
-
[/[^\\"]+/, "string"],
|
163
|
-
[/@escapes/, "string.escape"],
|
164
|
-
[/\\./, "string.escape.invalid"],
|
165
|
-
[/"/, "string", "@pop"]
|
166
|
-
],
|
167
|
-
stringExpression: [
|
168
|
-
[/\}/, { token: "delimiter", next: "@pop" }],
|
169
|
-
[/"/, "string", "@stringInsideExpression"],
|
170
|
-
{ include: "@terraform" }
|
171
|
-
]
|
172
|
-
}
|
173
|
-
};
|
174
|
-
export {
|
175
|
-
e as conf,
|
176
|
-
t as language
|
177
|
-
};
|