form-imagining 0.0.6 → 0.0.8
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/README.md +13 -16
- package/dist/abap-5361cc9f.js +1314 -0
- package/dist/apex-f9413e6f.js +315 -0
- package/dist/assets/css.worker-c3850ceb.js +88 -0
- package/dist/assets/editor.worker-94ffd778.js +12 -0
- package/dist/assets/html.worker-88b237e1.js +460 -0
- package/dist/assets/json.worker-8dd963f3.js +43 -0
- package/dist/assets/ts.worker-184cdfdf.js +37022 -0
- package/dist/azcli-36f2cb5e.js +74 -0
- package/dist/bat-6b05202d.js +95 -0
- package/dist/bicep-788415e3.js +108 -0
- package/dist/cameligo-4e85ec93.js +168 -0
- package/dist/clojure-40fa5799.js +754 -0
- package/dist/coffee-f557f5e0.js +228 -0
- package/dist/cpp-ebbf7759.js +390 -0
- package/dist/csharp-1616f566.js +320 -0
- package/dist/csp-5f0bc3c4.js +57 -0
- package/dist/css-2b1aec9b.js +186 -0
- package/dist/cssMode-0bcb1554.js +1447 -0
- package/dist/cypher-b12b4ba8.js +262 -0
- package/dist/dart-e0d70030.js +270 -0
- package/dist/dockerfile-f9d4b2b0.js +132 -0
- package/dist/ecl-5b91fdec.js +454 -0
- package/dist/elixir-deffd5a6.js +489 -0
- package/dist/flow9-84cd00d7.js +141 -0
- package/dist/form-imagining.js +3 -16340
- package/dist/form-imagining.umd.cjs +1978 -102
- package/dist/freemarker2-4d8e8e55.js +644 -0
- package/dist/fsharp-d296151f.js +210 -0
- package/dist/go-7e72ff3b.js +208 -0
- package/dist/graphql-a93568a1.js +141 -0
- package/dist/handlebars-c43672f7.js +392 -0
- package/dist/hcl-b3994d8f.js +177 -0
- package/dist/html-c6099a2e.js +282 -0
- package/dist/htmlMode-31c10440.js +1457 -0
- package/dist/index-a3197e12.js +122055 -0
- package/dist/ini-df84509a.js +68 -0
- package/dist/java-fba3d046.js +221 -0
- package/dist/javascript-ac2b4ae2.js +77 -0
- package/dist/jsonMode-36333022.js +1868 -0
- package/dist/julia-cefd45f6.js +496 -0
- package/dist/kotlin-b87b6942.js +245 -0
- package/dist/less-8a7f37bc.js +168 -0
- package/dist/lexon-cb95cd13.js +151 -0
- package/dist/liquid-b5021331.js +239 -0
- package/dist/lua-6d5b3ea4.js +157 -0
- package/dist/m3-d0daf5d0.js +210 -0
- package/dist/markdown-48bb0c6f.js +202 -0
- package/dist/mdx-bbae5f86.js +172 -0
- package/dist/mips-20dcf886.js +194 -0
- package/dist/msdax-e9759e23.js +377 -0
- package/dist/mysql-95f335b2.js +876 -0
- package/dist/objective-c-ad0cfb47.js +188 -0
- package/dist/pascal-eda19dc3.js +245 -0
- package/dist/pascaligo-b7e0c89b.js +158 -0
- package/dist/perl-bbe5d32a.js +599 -0
- package/dist/pgsql-7ebaee1c.js +847 -0
- package/dist/php-2526756d.js +471 -0
- package/dist/pla-9ebd6f68.js +131 -0
- package/dist/postiats-9ac05cf6.js +544 -0
- package/dist/powerquery-1cae399d.js +890 -0
- package/dist/powershell-093b5b87.js +233 -0
- package/dist/protobuf-37993cbc.js +422 -0
- package/dist/pug-c2a5db5f.js +393 -0
- package/dist/python-fc373d9f.js +260 -0
- package/dist/qsharp-1450aac5.js +282 -0
- package/dist/r-a0642b90.js +245 -0
- package/dist/razor-1e9d135a.js +513 -0
- package/dist/redis-405cb63d.js +298 -0
- package/dist/redshift-830f82de.js +806 -0
- package/dist/restructuredtext-d81f5ef4.js +162 -0
- package/dist/ruby-d607b87e.js +444 -0
- package/dist/rust-86e74dbb.js +337 -0
- package/dist/sb-b7e5010d.js +110 -0
- package/dist/scala-a4d4a3c6.js +353 -0
- package/dist/scheme-81927e94.js +114 -0
- package/dist/scss-3f112fcd.js +244 -0
- package/dist/shell-d795bcaa.js +224 -0
- package/dist/solidity-5b556d3e.js +1351 -0
- package/dist/sophia-1da55998.js +190 -0
- package/dist/sparql-ac34318e.js +193 -0
- package/dist/sql-eef6393b.js +818 -0
- package/dist/st-758b1972.js +415 -0
- package/dist/style.css +1 -1
- package/dist/swift-63cb1847.js +315 -0
- package/dist/systemverilog-2538c608.js +556 -0
- package/dist/tcl-53e6282a.js +232 -0
- package/dist/tsMode-ea3b05db.js +815 -0
- package/dist/twig-80c3dc23.js +323 -0
- package/dist/typescript-b2ef5e0f.js +329 -0
- package/dist/vb-32089525.js +364 -0
- package/dist/wgsl-e681d5a0.js +420 -0
- package/dist/xml-579a5775.js +96 -0
- package/dist/yaml-c31c56b7.js +185 -0
- package/package.json +11 -18
- package/dist/components/generate/GenerateForm.vue.d.ts +0 -2
- package/dist/components/index.d.ts +0 -9
- package/dist/components/model/baseModel.d.ts +0 -8
- package/dist/components/model/dataSourceModel.d.ts +0 -19
- package/dist/components/model/gridModel.d.ts +0 -55
- package/dist/components/model/inputModel.d.ts +0 -14
- package/dist/components/model/reportModel.d.ts +0 -43
- package/dist/components/model/scriptModel.d.ts +0 -6
- package/dist/components/model/sqlModel.d.ts +0 -7
- package/dist/components/model/tableModel.d.ts +0 -16
- package/dist/components/model/textModel.d.ts +0 -14
- package/dist/components/monaco/monacoEditorType.d.ts +0 -56
- package/dist/components/registerGlobComp.d.ts +0 -3
- package/dist/components/wonderform/HelloWord.vue.d.ts +0 -2
- package/dist/components/wonderform/config/index.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Col.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/DataSource.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Form.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Grid.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Properties.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Table.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/TypeScript.vue.d.ts +0 -2
- package/dist/components/wonderform/design/index.vue.d.ts +0 -6
- package/dist/components/wonderform/design/modules/FormGrid.vue.d.ts +0 -38
- package/dist/components/wonderform/design/modules/FormInput.vue.d.ts +0 -26
- package/dist/components/wonderform/design/modules/FormReport.vue.d.ts +0 -32
- package/dist/components/wonderform/design/modules/FormTable.vue.d.ts +0 -32
- package/dist/components/wonderform/dsource/index.vue.d.ts +0 -14
- package/dist/components/wonderform/dsource/modules/SqlModule.vue.d.ts +0 -40
- package/dist/components/wonderform/header/Header.vue.d.ts +0 -2
- package/dist/components/wonderform/header/modules/Code.vue.d.ts +0 -23
- package/dist/components/wonderform/header/modules/events.d.ts +0 -1
- package/dist/components/wonderform/index.vue.d.ts +0 -2
- package/dist/components/wonderform/tool/index.vue.d.ts +0 -2
- package/dist/enums/httpEnum.d.ts +0 -37
- package/dist/main.d.ts +0 -1
- package/dist/mock/dict.d.ts +0 -8
- package/dist/router/guard/index.d.ts +0 -2
- package/dist/router/guard/permissionGuard.d.ts +0 -2
- package/dist/router/index.d.ts +0 -3
- package/dist/router/routes/basicRoutes.d.ts +0 -8
- package/dist/stores/index.d.ts +0 -4
- package/dist/stores/modules/data.d.ts +0 -7177
- package/dist/stores/modules/form.d.ts +0 -2060
- package/dist/utils/form/commonUtils.d.ts +0 -8
- package/dist/utils/form/config.d.ts +0 -107
- package/dist/utils/form/generatecode.d.ts +0 -23
- package/dist/utils/form/validateUtil.d.ts +0 -13
- package/dist/utils/form/wonder1.0.1.d.ts +0 -29
- package/dist/utils/http/axios/axios.d.ts +0 -48
- package/dist/utils/http/axios/axiosModel.d.ts +0 -8
- package/dist/utils/http/axios/index.d.ts +0 -2
- package/dist/utils/utils.d.ts +0 -1
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
4
|
+
* Released under the MIT license
|
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
+
*-----------------------------------------------------------------------------*/
|
|
7
|
+
var g = {
|
|
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
|
+
],
|
|
22
|
+
surroundingPairs: [
|
|
23
|
+
{ open: "{", close: "}" },
|
|
24
|
+
{ open: "[", close: "]" },
|
|
25
|
+
{ open: "(", close: ")" }
|
|
26
|
+
]
|
|
27
|
+
};
|
|
28
|
+
function e(i) {
|
|
29
|
+
let o = [];
|
|
30
|
+
const a = i.split(/\t+|\r+|\n+| +/);
|
|
31
|
+
for (let r = 0; r < a.length; ++r)
|
|
32
|
+
a[r].length > 0 && o.push(a[r]);
|
|
33
|
+
return o;
|
|
34
|
+
}
|
|
35
|
+
var s = e("true false"), c = e(`
|
|
36
|
+
alias
|
|
37
|
+
break
|
|
38
|
+
case
|
|
39
|
+
const
|
|
40
|
+
const_assert
|
|
41
|
+
continue
|
|
42
|
+
continuing
|
|
43
|
+
default
|
|
44
|
+
diagnostic
|
|
45
|
+
discard
|
|
46
|
+
else
|
|
47
|
+
enable
|
|
48
|
+
fn
|
|
49
|
+
for
|
|
50
|
+
if
|
|
51
|
+
let
|
|
52
|
+
loop
|
|
53
|
+
override
|
|
54
|
+
requires
|
|
55
|
+
return
|
|
56
|
+
struct
|
|
57
|
+
switch
|
|
58
|
+
var
|
|
59
|
+
while
|
|
60
|
+
`), m = e(`
|
|
61
|
+
NULL
|
|
62
|
+
Self
|
|
63
|
+
abstract
|
|
64
|
+
active
|
|
65
|
+
alignas
|
|
66
|
+
alignof
|
|
67
|
+
as
|
|
68
|
+
asm
|
|
69
|
+
asm_fragment
|
|
70
|
+
async
|
|
71
|
+
attribute
|
|
72
|
+
auto
|
|
73
|
+
await
|
|
74
|
+
become
|
|
75
|
+
binding_array
|
|
76
|
+
cast
|
|
77
|
+
catch
|
|
78
|
+
class
|
|
79
|
+
co_await
|
|
80
|
+
co_return
|
|
81
|
+
co_yield
|
|
82
|
+
coherent
|
|
83
|
+
column_major
|
|
84
|
+
common
|
|
85
|
+
compile
|
|
86
|
+
compile_fragment
|
|
87
|
+
concept
|
|
88
|
+
const_cast
|
|
89
|
+
consteval
|
|
90
|
+
constexpr
|
|
91
|
+
constinit
|
|
92
|
+
crate
|
|
93
|
+
debugger
|
|
94
|
+
decltype
|
|
95
|
+
delete
|
|
96
|
+
demote
|
|
97
|
+
demote_to_helper
|
|
98
|
+
do
|
|
99
|
+
dynamic_cast
|
|
100
|
+
enum
|
|
101
|
+
explicit
|
|
102
|
+
export
|
|
103
|
+
extends
|
|
104
|
+
extern
|
|
105
|
+
external
|
|
106
|
+
fallthrough
|
|
107
|
+
filter
|
|
108
|
+
final
|
|
109
|
+
finally
|
|
110
|
+
friend
|
|
111
|
+
from
|
|
112
|
+
fxgroup
|
|
113
|
+
get
|
|
114
|
+
goto
|
|
115
|
+
groupshared
|
|
116
|
+
highp
|
|
117
|
+
impl
|
|
118
|
+
implements
|
|
119
|
+
import
|
|
120
|
+
inline
|
|
121
|
+
instanceof
|
|
122
|
+
interface
|
|
123
|
+
layout
|
|
124
|
+
lowp
|
|
125
|
+
macro
|
|
126
|
+
macro_rules
|
|
127
|
+
match
|
|
128
|
+
mediump
|
|
129
|
+
meta
|
|
130
|
+
mod
|
|
131
|
+
module
|
|
132
|
+
move
|
|
133
|
+
mut
|
|
134
|
+
mutable
|
|
135
|
+
namespace
|
|
136
|
+
new
|
|
137
|
+
nil
|
|
138
|
+
noexcept
|
|
139
|
+
noinline
|
|
140
|
+
nointerpolation
|
|
141
|
+
noperspective
|
|
142
|
+
null
|
|
143
|
+
nullptr
|
|
144
|
+
of
|
|
145
|
+
operator
|
|
146
|
+
package
|
|
147
|
+
packoffset
|
|
148
|
+
partition
|
|
149
|
+
pass
|
|
150
|
+
patch
|
|
151
|
+
pixelfragment
|
|
152
|
+
precise
|
|
153
|
+
precision
|
|
154
|
+
premerge
|
|
155
|
+
priv
|
|
156
|
+
protected
|
|
157
|
+
pub
|
|
158
|
+
public
|
|
159
|
+
readonly
|
|
160
|
+
ref
|
|
161
|
+
regardless
|
|
162
|
+
register
|
|
163
|
+
reinterpret_cast
|
|
164
|
+
require
|
|
165
|
+
resource
|
|
166
|
+
restrict
|
|
167
|
+
self
|
|
168
|
+
set
|
|
169
|
+
shared
|
|
170
|
+
sizeof
|
|
171
|
+
smooth
|
|
172
|
+
snorm
|
|
173
|
+
static
|
|
174
|
+
static_assert
|
|
175
|
+
static_cast
|
|
176
|
+
std
|
|
177
|
+
subroutine
|
|
178
|
+
super
|
|
179
|
+
target
|
|
180
|
+
template
|
|
181
|
+
this
|
|
182
|
+
thread_local
|
|
183
|
+
throw
|
|
184
|
+
trait
|
|
185
|
+
try
|
|
186
|
+
type
|
|
187
|
+
typedef
|
|
188
|
+
typeid
|
|
189
|
+
typename
|
|
190
|
+
typeof
|
|
191
|
+
union
|
|
192
|
+
unless
|
|
193
|
+
unorm
|
|
194
|
+
unsafe
|
|
195
|
+
unsized
|
|
196
|
+
use
|
|
197
|
+
using
|
|
198
|
+
varying
|
|
199
|
+
virtual
|
|
200
|
+
volatile
|
|
201
|
+
wgsl
|
|
202
|
+
where
|
|
203
|
+
with
|
|
204
|
+
writeonly
|
|
205
|
+
yield
|
|
206
|
+
`), l = e(`
|
|
207
|
+
read write read_write
|
|
208
|
+
function private workgroup uniform storage
|
|
209
|
+
perspective linear flat
|
|
210
|
+
center centroid sample
|
|
211
|
+
vertex_index instance_index position front_facing frag_depth
|
|
212
|
+
local_invocation_id local_invocation_index
|
|
213
|
+
global_invocation_id workgroup_id num_workgroups
|
|
214
|
+
sample_index sample_mask
|
|
215
|
+
rgba8unorm
|
|
216
|
+
rgba8snorm
|
|
217
|
+
rgba8uint
|
|
218
|
+
rgba8sint
|
|
219
|
+
rgba16uint
|
|
220
|
+
rgba16sint
|
|
221
|
+
rgba16float
|
|
222
|
+
r32uint
|
|
223
|
+
r32sint
|
|
224
|
+
r32float
|
|
225
|
+
rg32uint
|
|
226
|
+
rg32sint
|
|
227
|
+
rg32float
|
|
228
|
+
rgba32uint
|
|
229
|
+
rgba32sint
|
|
230
|
+
rgba32float
|
|
231
|
+
bgra8unorm
|
|
232
|
+
`), u = e(`
|
|
233
|
+
bool
|
|
234
|
+
f16
|
|
235
|
+
f32
|
|
236
|
+
i32
|
|
237
|
+
sampler sampler_comparison
|
|
238
|
+
texture_depth_2d
|
|
239
|
+
texture_depth_2d_array
|
|
240
|
+
texture_depth_cube
|
|
241
|
+
texture_depth_cube_array
|
|
242
|
+
texture_depth_multisampled_2d
|
|
243
|
+
texture_external
|
|
244
|
+
texture_external
|
|
245
|
+
u32
|
|
246
|
+
`), p = e(`
|
|
247
|
+
array
|
|
248
|
+
atomic
|
|
249
|
+
mat2x2
|
|
250
|
+
mat2x3
|
|
251
|
+
mat2x4
|
|
252
|
+
mat3x2
|
|
253
|
+
mat3x3
|
|
254
|
+
mat3x4
|
|
255
|
+
mat4x2
|
|
256
|
+
mat4x3
|
|
257
|
+
mat4x4
|
|
258
|
+
ptr
|
|
259
|
+
texture_1d
|
|
260
|
+
texture_2d
|
|
261
|
+
texture_2d_array
|
|
262
|
+
texture_3d
|
|
263
|
+
texture_cube
|
|
264
|
+
texture_cube_array
|
|
265
|
+
texture_multisampled_2d
|
|
266
|
+
texture_storage_1d
|
|
267
|
+
texture_storage_2d
|
|
268
|
+
texture_storage_2d_array
|
|
269
|
+
texture_storage_3d
|
|
270
|
+
vec2
|
|
271
|
+
vec3
|
|
272
|
+
vec4
|
|
273
|
+
`), d = e(`
|
|
274
|
+
vec2i vec3i vec4i
|
|
275
|
+
vec2u vec3u vec4u
|
|
276
|
+
vec2f vec3f vec4f
|
|
277
|
+
vec2h vec3h vec4h
|
|
278
|
+
mat2x2f mat2x3f mat2x4f
|
|
279
|
+
mat3x2f mat3x3f mat3x4f
|
|
280
|
+
mat4x2f mat4x3f mat4x4f
|
|
281
|
+
mat2x2h mat2x3h mat2x4h
|
|
282
|
+
mat3x2h mat3x3h mat3x4h
|
|
283
|
+
mat4x2h mat4x3h mat4x4h
|
|
284
|
+
`), x = e(`
|
|
285
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
286
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
287
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
288
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
289
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
290
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
291
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
292
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
293
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
294
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
295
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
296
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
297
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
298
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
299
|
+
workgroupUniformLoad
|
|
300
|
+
`), f = e(`
|
|
301
|
+
&
|
|
302
|
+
&&
|
|
303
|
+
->
|
|
304
|
+
/
|
|
305
|
+
=
|
|
306
|
+
==
|
|
307
|
+
!=
|
|
308
|
+
>
|
|
309
|
+
>=
|
|
310
|
+
<
|
|
311
|
+
<=
|
|
312
|
+
%
|
|
313
|
+
-
|
|
314
|
+
--
|
|
315
|
+
+
|
|
316
|
+
++
|
|
317
|
+
|
|
|
318
|
+
||
|
|
319
|
+
*
|
|
320
|
+
<<
|
|
321
|
+
>>
|
|
322
|
+
+=
|
|
323
|
+
-=
|
|
324
|
+
*=
|
|
325
|
+
/=
|
|
326
|
+
%=
|
|
327
|
+
&=
|
|
328
|
+
|=
|
|
329
|
+
^=
|
|
330
|
+
>>=
|
|
331
|
+
<<=
|
|
332
|
+
`), _ = /enable|requires|diagnostic/, n = /[_\p{XID_Start}]\p{XID_Continue}*/u, t = "variable.predefined", h = {
|
|
333
|
+
tokenPostfix: ".wgsl",
|
|
334
|
+
defaultToken: "invalid",
|
|
335
|
+
unicode: !0,
|
|
336
|
+
atoms: s,
|
|
337
|
+
keywords: c,
|
|
338
|
+
reserved: m,
|
|
339
|
+
predeclared_enums: l,
|
|
340
|
+
predeclared_types: u,
|
|
341
|
+
predeclared_type_generators: p,
|
|
342
|
+
predeclared_type_aliases: d,
|
|
343
|
+
predeclared_intrinsics: x,
|
|
344
|
+
operators: f,
|
|
345
|
+
symbols: /[!%&*+\-\.\/:;<=>^|_~,]+/,
|
|
346
|
+
tokenizer: {
|
|
347
|
+
root: [
|
|
348
|
+
[_, "keyword", "@directive"],
|
|
349
|
+
[
|
|
350
|
+
n,
|
|
351
|
+
{
|
|
352
|
+
cases: {
|
|
353
|
+
"@atoms": t,
|
|
354
|
+
"@keywords": "keyword",
|
|
355
|
+
"@reserved": "invalid",
|
|
356
|
+
"@predeclared_enums": t,
|
|
357
|
+
"@predeclared_types": t,
|
|
358
|
+
"@predeclared_type_generators": t,
|
|
359
|
+
"@predeclared_type_aliases": t,
|
|
360
|
+
"@predeclared_intrinsics": t,
|
|
361
|
+
"@default": "identifier"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
{ include: "@commentOrSpace" },
|
|
366
|
+
{ include: "@numbers" },
|
|
367
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
368
|
+
["@", "annotation", "@attribute"],
|
|
369
|
+
[
|
|
370
|
+
/@symbols/,
|
|
371
|
+
{
|
|
372
|
+
cases: {
|
|
373
|
+
"@operators": "operator",
|
|
374
|
+
"@default": "delimiter"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
[/./, "invalid"]
|
|
379
|
+
],
|
|
380
|
+
commentOrSpace: [
|
|
381
|
+
[/\s+/, "white"],
|
|
382
|
+
[/\/\*/, "comment", "@blockComment"],
|
|
383
|
+
[/\/\/.*$/, "comment"]
|
|
384
|
+
],
|
|
385
|
+
blockComment: [
|
|
386
|
+
[/[^\/*]+/, "comment"],
|
|
387
|
+
[/\/\*/, "comment", "@push"],
|
|
388
|
+
[/\*\//, "comment", "@pop"],
|
|
389
|
+
[/[\/*]/, "comment"]
|
|
390
|
+
],
|
|
391
|
+
attribute: [
|
|
392
|
+
{ include: "@commentOrSpace" },
|
|
393
|
+
[/\w+/, "annotation", "@pop"]
|
|
394
|
+
],
|
|
395
|
+
directive: [
|
|
396
|
+
{ include: "@commentOrSpace" },
|
|
397
|
+
[/[()]/, "@brackets"],
|
|
398
|
+
[/,/, "delimiter"],
|
|
399
|
+
[n, "meta.content"],
|
|
400
|
+
[/;/, "delimiter", "@pop"]
|
|
401
|
+
],
|
|
402
|
+
numbers: [
|
|
403
|
+
[/0[fh]/, "number.float"],
|
|
404
|
+
[/[1-9][0-9]*[fh]/, "number.float"],
|
|
405
|
+
[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
|
|
406
|
+
[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
|
|
407
|
+
[/[0-9]+[eE][+-]?[0-9]+[fh]?/, "number.float"],
|
|
408
|
+
[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
|
|
409
|
+
[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
|
|
410
|
+
[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/, "number.hex"],
|
|
411
|
+
[/0[xX][0-9a-fA-F]+[iu]?/, "number.hex"],
|
|
412
|
+
[/[1-9][0-9]*[iu]?/, "number"],
|
|
413
|
+
[/0[iu]?/, "number"]
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
export {
|
|
418
|
+
g as conf,
|
|
419
|
+
h as language
|
|
420
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { m } from "./index-a3197e12.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
/*!-----------------------------------------------------------------------------
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
8
|
+
*-----------------------------------------------------------------------------*/
|
|
9
|
+
var c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, r = (t, e, a, i) => {
|
|
10
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
11
|
+
for (let n of p(e))
|
|
12
|
+
!d.call(t, n) && n !== a && c(t, n, { get: () => e[n], enumerable: !(i = l(e, n)) || i.enumerable });
|
|
13
|
+
return t;
|
|
14
|
+
}, s = (t, e, a) => (r(t, e, "default"), a && r(a, e, "default")), o = {};
|
|
15
|
+
s(o, m);
|
|
16
|
+
var k = {
|
|
17
|
+
comments: {
|
|
18
|
+
blockComment: ["<!--", "-->"]
|
|
19
|
+
},
|
|
20
|
+
brackets: [["<", ">"]],
|
|
21
|
+
autoClosingPairs: [
|
|
22
|
+
{ open: "<", close: ">" },
|
|
23
|
+
{ open: "'", close: "'" },
|
|
24
|
+
{ open: '"', close: '"' }
|
|
25
|
+
],
|
|
26
|
+
surroundingPairs: [
|
|
27
|
+
{ open: "<", close: ">" },
|
|
28
|
+
{ open: "'", close: "'" },
|
|
29
|
+
{ open: '"', close: '"' }
|
|
30
|
+
],
|
|
31
|
+
onEnterRules: [
|
|
32
|
+
{
|
|
33
|
+
beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
34
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
35
|
+
action: {
|
|
36
|
+
indentAction: o.languages.IndentAction.IndentOutdent
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
41
|
+
action: { indentAction: o.languages.IndentAction.Indent }
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}, f = {
|
|
45
|
+
defaultToken: "",
|
|
46
|
+
tokenPostfix: ".xml",
|
|
47
|
+
ignoreCase: !0,
|
|
48
|
+
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
49
|
+
tokenizer: {
|
|
50
|
+
root: [
|
|
51
|
+
[/[^<&]+/, ""],
|
|
52
|
+
{ include: "@whitespace" },
|
|
53
|
+
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
|
|
54
|
+
[
|
|
55
|
+
/(<\/)(@qualifiedName)(\s*)(>)/,
|
|
56
|
+
[{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
|
|
57
|
+
],
|
|
58
|
+
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
59
|
+
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
60
|
+
[/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
|
|
61
|
+
[/&\w+;/, "string.escape"]
|
|
62
|
+
],
|
|
63
|
+
cdata: [
|
|
64
|
+
[/[^\]]+/, ""],
|
|
65
|
+
[/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
|
|
66
|
+
[/\]/, ""]
|
|
67
|
+
],
|
|
68
|
+
tag: [
|
|
69
|
+
[/[ \t\r\n]+/, ""],
|
|
70
|
+
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
|
|
71
|
+
[
|
|
72
|
+
/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
|
|
73
|
+
["attribute.name", "", "attribute.value"]
|
|
74
|
+
],
|
|
75
|
+
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
|
|
76
|
+
[/@qualifiedName/, "attribute.name"],
|
|
77
|
+
[/\?>/, { token: "delimiter", next: "@pop" }],
|
|
78
|
+
[/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
|
|
79
|
+
[/>/, { token: "delimiter", next: "@pop" }]
|
|
80
|
+
],
|
|
81
|
+
whitespace: [
|
|
82
|
+
[/[ \t\r\n]+/, ""],
|
|
83
|
+
[/<!--/, { token: "comment", next: "@comment" }]
|
|
84
|
+
],
|
|
85
|
+
comment: [
|
|
86
|
+
[/[^<\-]+/, "comment.content"],
|
|
87
|
+
[/-->/, { token: "comment", next: "@pop" }],
|
|
88
|
+
[/<!--/, "comment.content.invalid"],
|
|
89
|
+
[/[<\-]/, "comment.content"]
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
export {
|
|
94
|
+
k as conf,
|
|
95
|
+
f as language
|
|
96
|
+
};
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { m as i } from "./index-a3197e12.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
/*!-----------------------------------------------------------------------------
|
|
4
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
8
|
+
*-----------------------------------------------------------------------------*/
|
|
9
|
+
var c = Object.defineProperty, u = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, a = (n, e, r, o) => {
|
|
10
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
11
|
+
for (let t of s(e))
|
|
12
|
+
!d.call(n, t) && t !== r && c(n, t, { get: () => e[t], enumerable: !(o = u(e, t)) || o.enumerable });
|
|
13
|
+
return n;
|
|
14
|
+
}, m = (n, e, r) => (a(n, e, "default"), r && a(r, e, "default")), l = {};
|
|
15
|
+
m(l, i);
|
|
16
|
+
var f = {
|
|
17
|
+
comments: {
|
|
18
|
+
lineComment: "#"
|
|
19
|
+
},
|
|
20
|
+
brackets: [
|
|
21
|
+
["{", "}"],
|
|
22
|
+
["[", "]"],
|
|
23
|
+
["(", ")"]
|
|
24
|
+
],
|
|
25
|
+
autoClosingPairs: [
|
|
26
|
+
{ open: "{", close: "}" },
|
|
27
|
+
{ open: "[", close: "]" },
|
|
28
|
+
{ open: "(", close: ")" },
|
|
29
|
+
{ open: '"', close: '"' },
|
|
30
|
+
{ open: "'", close: "'" }
|
|
31
|
+
],
|
|
32
|
+
surroundingPairs: [
|
|
33
|
+
{ open: "{", close: "}" },
|
|
34
|
+
{ open: "[", close: "]" },
|
|
35
|
+
{ open: "(", close: ")" },
|
|
36
|
+
{ open: '"', close: '"' },
|
|
37
|
+
{ open: "'", close: "'" }
|
|
38
|
+
],
|
|
39
|
+
folding: {
|
|
40
|
+
offSide: !0
|
|
41
|
+
},
|
|
42
|
+
onEnterRules: [
|
|
43
|
+
{
|
|
44
|
+
beforeText: /:\s*$/,
|
|
45
|
+
action: {
|
|
46
|
+
indentAction: l.languages.IndentAction.Indent
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}, g = {
|
|
51
|
+
tokenPostfix: ".yaml",
|
|
52
|
+
brackets: [
|
|
53
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
54
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
55
|
+
],
|
|
56
|
+
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
57
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
58
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
59
|
+
numberOctal: /0o[0-7]+/,
|
|
60
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
|
61
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
62
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
63
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
64
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
65
|
+
tokenizer: {
|
|
66
|
+
root: [
|
|
67
|
+
{ include: "@whitespace" },
|
|
68
|
+
{ include: "@comment" },
|
|
69
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
|
70
|
+
[/---/, "operators.directivesEnd"],
|
|
71
|
+
[/\.{3}/, "operators.documentEnd"],
|
|
72
|
+
[/[-?:](?= )/, "operators"],
|
|
73
|
+
{ include: "@anchor" },
|
|
74
|
+
{ include: "@tagHandle" },
|
|
75
|
+
{ include: "@flowCollections" },
|
|
76
|
+
{ include: "@blockStyle" },
|
|
77
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
78
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
79
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
80
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
81
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
82
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
83
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
84
|
+
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
85
|
+
{ include: "@flowScalars" },
|
|
86
|
+
[
|
|
87
|
+
/.+?(?=(\s+#|$))/,
|
|
88
|
+
{
|
|
89
|
+
cases: {
|
|
90
|
+
"@keywords": "keyword",
|
|
91
|
+
"@default": "string"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
],
|
|
96
|
+
object: [
|
|
97
|
+
{ include: "@whitespace" },
|
|
98
|
+
{ include: "@comment" },
|
|
99
|
+
[/\}/, "@brackets", "@pop"],
|
|
100
|
+
[/,/, "delimiter.comma"],
|
|
101
|
+
[/:(?= )/, "operators"],
|
|
102
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
103
|
+
{ include: "@flowCollections" },
|
|
104
|
+
{ include: "@flowScalars" },
|
|
105
|
+
{ include: "@tagHandle" },
|
|
106
|
+
{ include: "@anchor" },
|
|
107
|
+
{ include: "@flowNumber" },
|
|
108
|
+
[
|
|
109
|
+
/[^\},]+/,
|
|
110
|
+
{
|
|
111
|
+
cases: {
|
|
112
|
+
"@keywords": "keyword",
|
|
113
|
+
"@default": "string"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
],
|
|
118
|
+
array: [
|
|
119
|
+
{ include: "@whitespace" },
|
|
120
|
+
{ include: "@comment" },
|
|
121
|
+
[/\]/, "@brackets", "@pop"],
|
|
122
|
+
[/,/, "delimiter.comma"],
|
|
123
|
+
{ include: "@flowCollections" },
|
|
124
|
+
{ include: "@flowScalars" },
|
|
125
|
+
{ include: "@tagHandle" },
|
|
126
|
+
{ include: "@anchor" },
|
|
127
|
+
{ include: "@flowNumber" },
|
|
128
|
+
[
|
|
129
|
+
/[^\],]+/,
|
|
130
|
+
{
|
|
131
|
+
cases: {
|
|
132
|
+
"@keywords": "keyword",
|
|
133
|
+
"@default": "string"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
],
|
|
138
|
+
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
139
|
+
multiStringContinued: [
|
|
140
|
+
[
|
|
141
|
+
/^( *).+$/,
|
|
142
|
+
{
|
|
143
|
+
cases: {
|
|
144
|
+
"$1==$S2": "string",
|
|
145
|
+
"@default": { token: "@rematch", next: "@popall" }
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
],
|
|
150
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
151
|
+
comment: [[/#.*$/, "comment"]],
|
|
152
|
+
flowCollections: [
|
|
153
|
+
[/\[/, "@brackets", "@array"],
|
|
154
|
+
[/\{/, "@brackets", "@object"]
|
|
155
|
+
],
|
|
156
|
+
flowScalars: [
|
|
157
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
158
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
159
|
+
[/'[^']*'/, "string"],
|
|
160
|
+
[/"/, "string", "@doubleQuotedString"]
|
|
161
|
+
],
|
|
162
|
+
doubleQuotedString: [
|
|
163
|
+
[/[^\\"]+/, "string"],
|
|
164
|
+
[/@escapes/, "string.escape"],
|
|
165
|
+
[/\\./, "string.escape.invalid"],
|
|
166
|
+
[/"/, "string", "@pop"]
|
|
167
|
+
],
|
|
168
|
+
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
169
|
+
flowNumber: [
|
|
170
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
171
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
172
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
173
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
174
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
175
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
176
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
177
|
+
],
|
|
178
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
179
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
export {
|
|
183
|
+
f as conf,
|
|
184
|
+
g as language
|
|
185
|
+
};
|