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.
- package/act-plus.js +5 -3
- package/act-plus.umd.cjs +1729 -16
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/lib/abap-1354785f.js +1314 -0
- package/lib/apex-279d4f27.js +315 -0
- package/lib/azcli-ba812c55.js +74 -0
- package/lib/bat-4d77495d.js +95 -0
- package/lib/bicep-7b240724.js +108 -0
- package/lib/cameligo-5d2daeb8.js +168 -0
- package/lib/clojure-b7ea12a3.js +754 -0
- package/lib/coffee-1a8cfbf4.js +228 -0
- package/lib/{configBtns-58f43801.js → configBtns-3772e689.js} +2 -2
- package/lib/{configFileds-b537fd99.js → configFileds-d0911c87.js} +3 -3
- package/lib/{configForm-b9e9ca98.js → configForm-ae4b725e.js} +1 -1
- package/lib/{configTable-bdb56a9e.js → configTable-879063d4.js} +31 -24
- package/lib/cpp-642b10c4.js +387 -0
- package/lib/csharp-d987ddad.js +320 -0
- package/lib/csp-96407af0.js +57 -0
- package/lib/css-5dd354ac.js +186 -0
- package/lib/cssMode-6d02ab39.js +1448 -0
- package/lib/cypher-11e5a4b6.js +262 -0
- package/lib/dart-5d209f63.js +270 -0
- package/lib/{dialogAddField-b60d14ab.js → dialogAddField-d6b18048.js} +69 -69
- package/lib/{dialogConfigBtn-f5f8703d.js → dialogConfigBtn-75e37dc9.js} +74 -78
- package/lib/dockerfile-8739cff7.js +132 -0
- package/lib/ecl-a20c5155.js +454 -0
- package/lib/elixir-8b028584.js +467 -0
- package/lib/{enum-99519ce0.js → enum-cc58b8fe.js} +25 -22
- package/lib/flow9-0dea2e73.js +141 -0
- package/lib/freemarker2-205877bf.js +646 -0
- package/lib/fsharp-49a70fad.js +210 -0
- package/lib/go-46e3b371.js +208 -0
- package/lib/graphql-51a577e5.js +141 -0
- package/lib/handlebars-2d920faa.js +394 -0
- package/lib/hcl-56b85754.js +177 -0
- package/lib/html-6b99359b.js +284 -0
- package/lib/htmlMode-498c17d9.js +1458 -0
- package/lib/index-68063c4c.js +96 -0
- package/lib/index-7c264775.js +192 -0
- package/lib/index-a36b2284.js +304 -0
- package/lib/index-aff95ab9.js +63 -0
- package/lib/index-da0a0bfe.js +162173 -0
- package/lib/index-e2f2023d.js +35 -0
- package/lib/{index-9e3ed108.js → index-fb2754ee.js} +1 -1
- package/lib/ini-1d58d82f.js +68 -0
- package/lib/java-cd017f60.js +221 -0
- package/lib/javascript-5e40fe11.js +78 -0
- package/lib/jsonMode-2a821e9e.js +1869 -0
- package/lib/julia-a0caf483.js +496 -0
- package/lib/kotlin-c6e52a56.js +245 -0
- package/lib/less-718543b4.js +168 -0
- package/lib/lexon-5e6e7a44.js +151 -0
- package/lib/liquid-dc78aaf7.js +241 -0
- package/lib/lua-f159160b.js +157 -0
- package/lib/m3-aadaf771.js +210 -0
- package/lib/markdown-9b448c46.js +202 -0
- package/lib/mips-161e49ce.js +194 -0
- package/lib/msdax-f65cb1e6.js +377 -0
- package/lib/mysql-24549dd1.js +875 -0
- package/lib/objective-c-e129a5ca.js +188 -0
- package/lib/pascal-4ccdf5ce.js +245 -0
- package/lib/pascaligo-a9603dcd.js +158 -0
- package/lib/perl-ba1fb97a.js +599 -0
- package/lib/pgsql-89978310.js +843 -0
- package/lib/php-987b9d87.js +471 -0
- package/lib/pla-96c2695d.js +131 -0
- package/lib/postiats-7b52ebac.js +544 -0
- package/lib/powerquery-8954ec26.js +890 -0
- package/lib/powershell-f00d0274.js +233 -0
- package/lib/protobuf-3eb85f80.js +422 -0
- package/lib/pug-6fab415a.js +393 -0
- package/lib/python-e55144b2.js +262 -0
- package/lib/qsharp-4792f872.js +282 -0
- package/lib/r-630f5d6b.js +245 -0
- package/lib/razor-1fb88f53.js +515 -0
- package/lib/redis-276b8288.js +298 -0
- package/lib/redshift-520a7359.js +806 -0
- package/lib/restructuredtext-4676a3fc.js +162 -0
- package/lib/ruby-764137cd.js +444 -0
- package/lib/rust-97f8f6e1.js +337 -0
- package/lib/sb-8c22f14c.js +110 -0
- package/lib/scala-c68c650c.js +353 -0
- package/lib/scheme-e6a52cb0.js +114 -0
- package/lib/scss-45104c77.js +244 -0
- package/lib/shell-09452d42.js +224 -0
- package/lib/solidity-d4979008.js +1351 -0
- package/lib/sophia-21995caf.js +190 -0
- package/lib/sparql-5088743c.js +193 -0
- package/lib/sql-63ec8e76.js +818 -0
- package/lib/st-fa9ab362.js +414 -0
- package/lib/swift-abdf1835.js +315 -0
- package/lib/systemverilog-a4f858ed.js +556 -0
- package/lib/tcl-8adf937f.js +232 -0
- package/lib/tsMode-8d12d976.js +792 -0
- package/lib/twig-404eb73e.js +323 -0
- package/lib/typescript-97ed77ae.js +330 -0
- package/lib/vb-e21e8153.js +364 -0
- package/lib/xml-e843c667.js +98 -0
- package/lib/yaml-62bcf3fa.js +187 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-14f7a543.js +0 -165
- package/lib/index-1f8ed34b.js +0 -11178
- package/lib/index-56217e0e.js +0 -96
- package/lib/index-8cb975d8.js +0 -297
- package/lib/index-9a1abd6b.js +0 -139
|
@@ -0,0 +1,364 @@
|
|
|
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
|
+
["addhandler", "end addhandler"],
|
|
18
|
+
["class", "end class"],
|
|
19
|
+
["enum", "end enum"],
|
|
20
|
+
["event", "end event"],
|
|
21
|
+
["function", "end function"],
|
|
22
|
+
["get", "end get"],
|
|
23
|
+
["if", "end if"],
|
|
24
|
+
["interface", "end interface"],
|
|
25
|
+
["module", "end module"],
|
|
26
|
+
["namespace", "end namespace"],
|
|
27
|
+
["operator", "end operator"],
|
|
28
|
+
["property", "end property"],
|
|
29
|
+
["raiseevent", "end raiseevent"],
|
|
30
|
+
["removehandler", "end removehandler"],
|
|
31
|
+
["select", "end select"],
|
|
32
|
+
["set", "end set"],
|
|
33
|
+
["structure", "end structure"],
|
|
34
|
+
["sub", "end sub"],
|
|
35
|
+
["synclock", "end synclock"],
|
|
36
|
+
["try", "end try"],
|
|
37
|
+
["while", "end while"],
|
|
38
|
+
["with", "end with"],
|
|
39
|
+
["using", "end using"],
|
|
40
|
+
["do", "loop"],
|
|
41
|
+
["for", "next"]
|
|
42
|
+
],
|
|
43
|
+
autoClosingPairs: [
|
|
44
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
|
45
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
|
46
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] },
|
|
47
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
|
48
|
+
{ open: "<", close: ">", notIn: ["string", "comment"] }
|
|
49
|
+
],
|
|
50
|
+
folding: {
|
|
51
|
+
markers: {
|
|
52
|
+
start: new RegExp("^\\s*#Region\\b"),
|
|
53
|
+
end: new RegExp("^\\s*#End Region\\b")
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}, n = {
|
|
57
|
+
defaultToken: "",
|
|
58
|
+
tokenPostfix: ".vb",
|
|
59
|
+
ignoreCase: !0,
|
|
60
|
+
brackets: [
|
|
61
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
62
|
+
{ token: "delimiter.array", open: "[", close: "]" },
|
|
63
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
64
|
+
{ token: "delimiter.angle", open: "<", close: ">" },
|
|
65
|
+
{
|
|
66
|
+
token: "keyword.tag-addhandler",
|
|
67
|
+
open: "addhandler",
|
|
68
|
+
close: "end addhandler"
|
|
69
|
+
},
|
|
70
|
+
{ token: "keyword.tag-class", open: "class", close: "end class" },
|
|
71
|
+
{ token: "keyword.tag-enum", open: "enum", close: "end enum" },
|
|
72
|
+
{ token: "keyword.tag-event", open: "event", close: "end event" },
|
|
73
|
+
{
|
|
74
|
+
token: "keyword.tag-function",
|
|
75
|
+
open: "function",
|
|
76
|
+
close: "end function"
|
|
77
|
+
},
|
|
78
|
+
{ token: "keyword.tag-get", open: "get", close: "end get" },
|
|
79
|
+
{ token: "keyword.tag-if", open: "if", close: "end if" },
|
|
80
|
+
{
|
|
81
|
+
token: "keyword.tag-interface",
|
|
82
|
+
open: "interface",
|
|
83
|
+
close: "end interface"
|
|
84
|
+
},
|
|
85
|
+
{ token: "keyword.tag-module", open: "module", close: "end module" },
|
|
86
|
+
{
|
|
87
|
+
token: "keyword.tag-namespace",
|
|
88
|
+
open: "namespace",
|
|
89
|
+
close: "end namespace"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
token: "keyword.tag-operator",
|
|
93
|
+
open: "operator",
|
|
94
|
+
close: "end operator"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
token: "keyword.tag-property",
|
|
98
|
+
open: "property",
|
|
99
|
+
close: "end property"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
token: "keyword.tag-raiseevent",
|
|
103
|
+
open: "raiseevent",
|
|
104
|
+
close: "end raiseevent"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
token: "keyword.tag-removehandler",
|
|
108
|
+
open: "removehandler",
|
|
109
|
+
close: "end removehandler"
|
|
110
|
+
},
|
|
111
|
+
{ token: "keyword.tag-select", open: "select", close: "end select" },
|
|
112
|
+
{ token: "keyword.tag-set", open: "set", close: "end set" },
|
|
113
|
+
{
|
|
114
|
+
token: "keyword.tag-structure",
|
|
115
|
+
open: "structure",
|
|
116
|
+
close: "end structure"
|
|
117
|
+
},
|
|
118
|
+
{ token: "keyword.tag-sub", open: "sub", close: "end sub" },
|
|
119
|
+
{
|
|
120
|
+
token: "keyword.tag-synclock",
|
|
121
|
+
open: "synclock",
|
|
122
|
+
close: "end synclock"
|
|
123
|
+
},
|
|
124
|
+
{ token: "keyword.tag-try", open: "try", close: "end try" },
|
|
125
|
+
{ token: "keyword.tag-while", open: "while", close: "end while" },
|
|
126
|
+
{ token: "keyword.tag-with", open: "with", close: "end with" },
|
|
127
|
+
{ token: "keyword.tag-using", open: "using", close: "end using" },
|
|
128
|
+
{ token: "keyword.tag-do", open: "do", close: "loop" },
|
|
129
|
+
{ token: "keyword.tag-for", open: "for", close: "next" }
|
|
130
|
+
],
|
|
131
|
+
keywords: [
|
|
132
|
+
"AddHandler",
|
|
133
|
+
"AddressOf",
|
|
134
|
+
"Alias",
|
|
135
|
+
"And",
|
|
136
|
+
"AndAlso",
|
|
137
|
+
"As",
|
|
138
|
+
"Async",
|
|
139
|
+
"Boolean",
|
|
140
|
+
"ByRef",
|
|
141
|
+
"Byte",
|
|
142
|
+
"ByVal",
|
|
143
|
+
"Call",
|
|
144
|
+
"Case",
|
|
145
|
+
"Catch",
|
|
146
|
+
"CBool",
|
|
147
|
+
"CByte",
|
|
148
|
+
"CChar",
|
|
149
|
+
"CDate",
|
|
150
|
+
"CDbl",
|
|
151
|
+
"CDec",
|
|
152
|
+
"Char",
|
|
153
|
+
"CInt",
|
|
154
|
+
"Class",
|
|
155
|
+
"CLng",
|
|
156
|
+
"CObj",
|
|
157
|
+
"Const",
|
|
158
|
+
"Continue",
|
|
159
|
+
"CSByte",
|
|
160
|
+
"CShort",
|
|
161
|
+
"CSng",
|
|
162
|
+
"CStr",
|
|
163
|
+
"CType",
|
|
164
|
+
"CUInt",
|
|
165
|
+
"CULng",
|
|
166
|
+
"CUShort",
|
|
167
|
+
"Date",
|
|
168
|
+
"Decimal",
|
|
169
|
+
"Declare",
|
|
170
|
+
"Default",
|
|
171
|
+
"Delegate",
|
|
172
|
+
"Dim",
|
|
173
|
+
"DirectCast",
|
|
174
|
+
"Do",
|
|
175
|
+
"Double",
|
|
176
|
+
"Each",
|
|
177
|
+
"Else",
|
|
178
|
+
"ElseIf",
|
|
179
|
+
"End",
|
|
180
|
+
"EndIf",
|
|
181
|
+
"Enum",
|
|
182
|
+
"Erase",
|
|
183
|
+
"Error",
|
|
184
|
+
"Event",
|
|
185
|
+
"Exit",
|
|
186
|
+
"False",
|
|
187
|
+
"Finally",
|
|
188
|
+
"For",
|
|
189
|
+
"Friend",
|
|
190
|
+
"Function",
|
|
191
|
+
"Get",
|
|
192
|
+
"GetType",
|
|
193
|
+
"GetXMLNamespace",
|
|
194
|
+
"Global",
|
|
195
|
+
"GoSub",
|
|
196
|
+
"GoTo",
|
|
197
|
+
"Handles",
|
|
198
|
+
"If",
|
|
199
|
+
"Implements",
|
|
200
|
+
"Imports",
|
|
201
|
+
"In",
|
|
202
|
+
"Inherits",
|
|
203
|
+
"Integer",
|
|
204
|
+
"Interface",
|
|
205
|
+
"Is",
|
|
206
|
+
"IsNot",
|
|
207
|
+
"Let",
|
|
208
|
+
"Lib",
|
|
209
|
+
"Like",
|
|
210
|
+
"Long",
|
|
211
|
+
"Loop",
|
|
212
|
+
"Me",
|
|
213
|
+
"Mod",
|
|
214
|
+
"Module",
|
|
215
|
+
"MustInherit",
|
|
216
|
+
"MustOverride",
|
|
217
|
+
"MyBase",
|
|
218
|
+
"MyClass",
|
|
219
|
+
"NameOf",
|
|
220
|
+
"Namespace",
|
|
221
|
+
"Narrowing",
|
|
222
|
+
"New",
|
|
223
|
+
"Next",
|
|
224
|
+
"Not",
|
|
225
|
+
"Nothing",
|
|
226
|
+
"NotInheritable",
|
|
227
|
+
"NotOverridable",
|
|
228
|
+
"Object",
|
|
229
|
+
"Of",
|
|
230
|
+
"On",
|
|
231
|
+
"Operator",
|
|
232
|
+
"Option",
|
|
233
|
+
"Optional",
|
|
234
|
+
"Or",
|
|
235
|
+
"OrElse",
|
|
236
|
+
"Out",
|
|
237
|
+
"Overloads",
|
|
238
|
+
"Overridable",
|
|
239
|
+
"Overrides",
|
|
240
|
+
"ParamArray",
|
|
241
|
+
"Partial",
|
|
242
|
+
"Private",
|
|
243
|
+
"Property",
|
|
244
|
+
"Protected",
|
|
245
|
+
"Public",
|
|
246
|
+
"RaiseEvent",
|
|
247
|
+
"ReadOnly",
|
|
248
|
+
"ReDim",
|
|
249
|
+
"RemoveHandler",
|
|
250
|
+
"Resume",
|
|
251
|
+
"Return",
|
|
252
|
+
"SByte",
|
|
253
|
+
"Select",
|
|
254
|
+
"Set",
|
|
255
|
+
"Shadows",
|
|
256
|
+
"Shared",
|
|
257
|
+
"Short",
|
|
258
|
+
"Single",
|
|
259
|
+
"Static",
|
|
260
|
+
"Step",
|
|
261
|
+
"Stop",
|
|
262
|
+
"String",
|
|
263
|
+
"Structure",
|
|
264
|
+
"Sub",
|
|
265
|
+
"SyncLock",
|
|
266
|
+
"Then",
|
|
267
|
+
"Throw",
|
|
268
|
+
"To",
|
|
269
|
+
"True",
|
|
270
|
+
"Try",
|
|
271
|
+
"TryCast",
|
|
272
|
+
"TypeOf",
|
|
273
|
+
"UInteger",
|
|
274
|
+
"ULong",
|
|
275
|
+
"UShort",
|
|
276
|
+
"Using",
|
|
277
|
+
"Variant",
|
|
278
|
+
"Wend",
|
|
279
|
+
"When",
|
|
280
|
+
"While",
|
|
281
|
+
"Widening",
|
|
282
|
+
"With",
|
|
283
|
+
"WithEvents",
|
|
284
|
+
"WriteOnly",
|
|
285
|
+
"Xor"
|
|
286
|
+
],
|
|
287
|
+
tagwords: [
|
|
288
|
+
"If",
|
|
289
|
+
"Sub",
|
|
290
|
+
"Select",
|
|
291
|
+
"Try",
|
|
292
|
+
"Class",
|
|
293
|
+
"Enum",
|
|
294
|
+
"Function",
|
|
295
|
+
"Get",
|
|
296
|
+
"Interface",
|
|
297
|
+
"Module",
|
|
298
|
+
"Namespace",
|
|
299
|
+
"Operator",
|
|
300
|
+
"Set",
|
|
301
|
+
"Structure",
|
|
302
|
+
"Using",
|
|
303
|
+
"While",
|
|
304
|
+
"With",
|
|
305
|
+
"Do",
|
|
306
|
+
"Loop",
|
|
307
|
+
"For",
|
|
308
|
+
"Next",
|
|
309
|
+
"Property",
|
|
310
|
+
"Continue",
|
|
311
|
+
"AddHandler",
|
|
312
|
+
"RemoveHandler",
|
|
313
|
+
"Event",
|
|
314
|
+
"RaiseEvent",
|
|
315
|
+
"SyncLock"
|
|
316
|
+
],
|
|
317
|
+
symbols: /[=><!~?;\.,:&|+\-*\/\^%]+/,
|
|
318
|
+
integersuffix: /U?[DI%L&S@]?/,
|
|
319
|
+
floatsuffix: /[R#F!]?/,
|
|
320
|
+
tokenizer: {
|
|
321
|
+
root: [
|
|
322
|
+
{ include: "@whitespace" },
|
|
323
|
+
[/next(?!\w)/, { token: "keyword.tag-for" }],
|
|
324
|
+
[/loop(?!\w)/, { token: "keyword.tag-do" }],
|
|
325
|
+
[
|
|
326
|
+
/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,
|
|
327
|
+
{ token: "keyword.tag-$1" }
|
|
328
|
+
],
|
|
329
|
+
[
|
|
330
|
+
/[a-zA-Z_]\w*/,
|
|
331
|
+
{
|
|
332
|
+
cases: {
|
|
333
|
+
"@tagwords": { token: "keyword.tag-$0" },
|
|
334
|
+
"@keywords": { token: "keyword.$0" },
|
|
335
|
+
"@default": "identifier"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
],
|
|
339
|
+
[/^\s*#\w+/, "keyword"],
|
|
340
|
+
[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
341
|
+
[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/, "number.float"],
|
|
342
|
+
[/&H[0-9a-f]+(@integersuffix)/, "number.hex"],
|
|
343
|
+
[/&0[0-7]+(@integersuffix)/, "number.octal"],
|
|
344
|
+
[/\d+(@integersuffix)/, "number"],
|
|
345
|
+
[/#.*#/, "number"],
|
|
346
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
347
|
+
[/@symbols/, "delimiter"],
|
|
348
|
+
[/["\u201c\u201d]/, { token: "string.quote", next: "@string" }]
|
|
349
|
+
],
|
|
350
|
+
whitespace: [
|
|
351
|
+
[/[ \t\r\n]+/, ""],
|
|
352
|
+
[/(\'|REM(?!\w)).*$/, "comment"]
|
|
353
|
+
],
|
|
354
|
+
string: [
|
|
355
|
+
[/[^"\u201c\u201d]+/, "string"],
|
|
356
|
+
[/["\u201c\u201d]{2}/, "string.escape"],
|
|
357
|
+
[/["\u201c\u201d]C?/, { token: "string.quote", next: "@pop" }]
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
export {
|
|
362
|
+
e as conf,
|
|
363
|
+
n as language
|
|
364
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { m } from "./index-da0a0bfe.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 c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, r = (t, e, o, i) => {
|
|
12
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
13
|
+
for (let n of p(e))
|
|
14
|
+
!d.call(t, n) && n !== o && c(t, n, { get: () => e[n], enumerable: !(i = l(e, n)) || i.enumerable });
|
|
15
|
+
return t;
|
|
16
|
+
}, s = (t, e, o) => (r(t, e, "default"), o && r(o, e, "default")), a = {};
|
|
17
|
+
s(a, m);
|
|
18
|
+
var _ = {
|
|
19
|
+
comments: {
|
|
20
|
+
blockComment: ["<!--", "-->"]
|
|
21
|
+
},
|
|
22
|
+
brackets: [["<", ">"]],
|
|
23
|
+
autoClosingPairs: [
|
|
24
|
+
{ open: "<", close: ">" },
|
|
25
|
+
{ open: "'", close: "'" },
|
|
26
|
+
{ open: '"', close: '"' }
|
|
27
|
+
],
|
|
28
|
+
surroundingPairs: [
|
|
29
|
+
{ open: "<", close: ">" },
|
|
30
|
+
{ open: "'", close: "'" },
|
|
31
|
+
{ open: '"', close: '"' }
|
|
32
|
+
],
|
|
33
|
+
onEnterRules: [
|
|
34
|
+
{
|
|
35
|
+
beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
36
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
37
|
+
action: {
|
|
38
|
+
indentAction: a.languages.IndentAction.IndentOutdent
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
43
|
+
action: { indentAction: a.languages.IndentAction.Indent }
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}, x = {
|
|
47
|
+
defaultToken: "",
|
|
48
|
+
tokenPostfix: ".xml",
|
|
49
|
+
ignoreCase: !0,
|
|
50
|
+
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
51
|
+
tokenizer: {
|
|
52
|
+
root: [
|
|
53
|
+
[/[^<&]+/, ""],
|
|
54
|
+
{ include: "@whitespace" },
|
|
55
|
+
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
|
|
56
|
+
[
|
|
57
|
+
/(<\/)(@qualifiedName)(\s*)(>)/,
|
|
58
|
+
[{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
|
|
59
|
+
],
|
|
60
|
+
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
61
|
+
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
62
|
+
[/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
|
|
63
|
+
[/&\w+;/, "string.escape"]
|
|
64
|
+
],
|
|
65
|
+
cdata: [
|
|
66
|
+
[/[^\]]+/, ""],
|
|
67
|
+
[/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
|
|
68
|
+
[/\]/, ""]
|
|
69
|
+
],
|
|
70
|
+
tag: [
|
|
71
|
+
[/[ \t\r\n]+/, ""],
|
|
72
|
+
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
|
|
73
|
+
[
|
|
74
|
+
/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
|
|
75
|
+
["attribute.name", "", "attribute.value"]
|
|
76
|
+
],
|
|
77
|
+
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
|
|
78
|
+
[/@qualifiedName/, "attribute.name"],
|
|
79
|
+
[/\?>/, { token: "delimiter", next: "@pop" }],
|
|
80
|
+
[/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
|
|
81
|
+
[/>/, { token: "delimiter", next: "@pop" }]
|
|
82
|
+
],
|
|
83
|
+
whitespace: [
|
|
84
|
+
[/[ \t\r\n]+/, ""],
|
|
85
|
+
[/<!--/, { token: "comment", next: "@comment" }]
|
|
86
|
+
],
|
|
87
|
+
comment: [
|
|
88
|
+
[/[^<\-]+/, "comment.content"],
|
|
89
|
+
[/-->/, { token: "comment", next: "@pop" }],
|
|
90
|
+
[/<!--/, "comment.content.invalid"],
|
|
91
|
+
[/[<\-]/, "comment.content"]
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
export {
|
|
96
|
+
_ as conf,
|
|
97
|
+
x as language
|
|
98
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { m as i } from "./index-da0a0bfe.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 c = Object.defineProperty, u = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, a = (n, e, r, o) => {
|
|
12
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
13
|
+
for (let t of s(e))
|
|
14
|
+
!d.call(n, t) && t !== r && c(n, t, { get: () => e[t], enumerable: !(o = u(e, t)) || o.enumerable });
|
|
15
|
+
return n;
|
|
16
|
+
}, m = (n, e, r) => (a(n, e, "default"), r && a(r, e, "default")), l = {};
|
|
17
|
+
m(l, i);
|
|
18
|
+
var w = {
|
|
19
|
+
comments: {
|
|
20
|
+
lineComment: "#"
|
|
21
|
+
},
|
|
22
|
+
brackets: [
|
|
23
|
+
["{", "}"],
|
|
24
|
+
["[", "]"],
|
|
25
|
+
["(", ")"]
|
|
26
|
+
],
|
|
27
|
+
autoClosingPairs: [
|
|
28
|
+
{ open: "{", close: "}" },
|
|
29
|
+
{ open: "[", close: "]" },
|
|
30
|
+
{ open: "(", close: ")" },
|
|
31
|
+
{ open: '"', close: '"' },
|
|
32
|
+
{ open: "'", close: "'" }
|
|
33
|
+
],
|
|
34
|
+
surroundingPairs: [
|
|
35
|
+
{ open: "{", close: "}" },
|
|
36
|
+
{ open: "[", close: "]" },
|
|
37
|
+
{ open: "(", close: ")" },
|
|
38
|
+
{ open: '"', close: '"' },
|
|
39
|
+
{ open: "'", close: "'" }
|
|
40
|
+
],
|
|
41
|
+
folding: {
|
|
42
|
+
offSide: !0
|
|
43
|
+
},
|
|
44
|
+
onEnterRules: [
|
|
45
|
+
{
|
|
46
|
+
beforeText: /:\s*$/,
|
|
47
|
+
action: {
|
|
48
|
+
indentAction: l.languages.IndentAction.Indent
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}, y = {
|
|
53
|
+
tokenPostfix: ".yaml",
|
|
54
|
+
brackets: [
|
|
55
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
56
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
57
|
+
],
|
|
58
|
+
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
59
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
60
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
61
|
+
numberOctal: /0o[0-7]+/,
|
|
62
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
|
63
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
64
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
65
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
66
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
67
|
+
tokenizer: {
|
|
68
|
+
root: [
|
|
69
|
+
{ include: "@whitespace" },
|
|
70
|
+
{ include: "@comment" },
|
|
71
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
|
72
|
+
[/---/, "operators.directivesEnd"],
|
|
73
|
+
[/\.{3}/, "operators.documentEnd"],
|
|
74
|
+
[/[-?:](?= )/, "operators"],
|
|
75
|
+
{ include: "@anchor" },
|
|
76
|
+
{ include: "@tagHandle" },
|
|
77
|
+
{ include: "@flowCollections" },
|
|
78
|
+
{ include: "@blockStyle" },
|
|
79
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
80
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
81
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
82
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
83
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
84
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
85
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
86
|
+
[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
87
|
+
{ include: "@flowScalars" },
|
|
88
|
+
[
|
|
89
|
+
/[^#]+/,
|
|
90
|
+
{
|
|
91
|
+
cases: {
|
|
92
|
+
"@keywords": "keyword",
|
|
93
|
+
"@default": "string"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
],
|
|
98
|
+
object: [
|
|
99
|
+
{ include: "@whitespace" },
|
|
100
|
+
{ include: "@comment" },
|
|
101
|
+
[/\}/, "@brackets", "@pop"],
|
|
102
|
+
[/,/, "delimiter.comma"],
|
|
103
|
+
[/:(?= )/, "operators"],
|
|
104
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
105
|
+
{ include: "@flowCollections" },
|
|
106
|
+
{ include: "@flowScalars" },
|
|
107
|
+
{ include: "@tagHandle" },
|
|
108
|
+
{ include: "@anchor" },
|
|
109
|
+
{ include: "@flowNumber" },
|
|
110
|
+
[
|
|
111
|
+
/[^\},]+/,
|
|
112
|
+
{
|
|
113
|
+
cases: {
|
|
114
|
+
"@keywords": "keyword",
|
|
115
|
+
"@default": "string"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
],
|
|
120
|
+
array: [
|
|
121
|
+
{ include: "@whitespace" },
|
|
122
|
+
{ include: "@comment" },
|
|
123
|
+
[/\]/, "@brackets", "@pop"],
|
|
124
|
+
[/,/, "delimiter.comma"],
|
|
125
|
+
{ include: "@flowCollections" },
|
|
126
|
+
{ include: "@flowScalars" },
|
|
127
|
+
{ include: "@tagHandle" },
|
|
128
|
+
{ include: "@anchor" },
|
|
129
|
+
{ include: "@flowNumber" },
|
|
130
|
+
[
|
|
131
|
+
/[^\],]+/,
|
|
132
|
+
{
|
|
133
|
+
cases: {
|
|
134
|
+
"@keywords": "keyword",
|
|
135
|
+
"@default": "string"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
],
|
|
140
|
+
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
141
|
+
multiStringContinued: [
|
|
142
|
+
[
|
|
143
|
+
/^( *).+$/,
|
|
144
|
+
{
|
|
145
|
+
cases: {
|
|
146
|
+
"$1==$S2": "string",
|
|
147
|
+
"@default": { token: "@rematch", next: "@popall" }
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
],
|
|
152
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
153
|
+
comment: [[/#.*$/, "comment"]],
|
|
154
|
+
flowCollections: [
|
|
155
|
+
[/\[/, "@brackets", "@array"],
|
|
156
|
+
[/\{/, "@brackets", "@object"]
|
|
157
|
+
],
|
|
158
|
+
flowScalars: [
|
|
159
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
160
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
161
|
+
[/'[^']*'/, "string"],
|
|
162
|
+
[/"/, "string", "@doubleQuotedString"]
|
|
163
|
+
],
|
|
164
|
+
doubleQuotedString: [
|
|
165
|
+
[/[^\\"]+/, "string"],
|
|
166
|
+
[/@escapes/, "string.escape"],
|
|
167
|
+
[/\\./, "string.escape.invalid"],
|
|
168
|
+
[/"/, "string", "@pop"]
|
|
169
|
+
],
|
|
170
|
+
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
171
|
+
flowNumber: [
|
|
172
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
173
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
174
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
175
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
176
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
177
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
178
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
179
|
+
],
|
|
180
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
181
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
export {
|
|
185
|
+
w as conf,
|
|
186
|
+
y as language
|
|
187
|
+
};
|