@devtron-labs/devtron-fe-common-lib 1.1.6-beta-2 → 1.1.6-beta-4
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/dist/Common/CustomTagSelector/Types.d.ts +12 -0
- package/dist/Common/Types.d.ts +2 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +161 -0
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
- package/dist/Shared/Components/MultipleResizableTextArea/MultipleResizableTextArea.d.ts +2 -0
- package/dist/Shared/Components/MultipleResizableTextArea/index.d.ts +2 -0
- package/dist/Shared/Components/MultipleResizableTextArea/types.d.ts +9 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -4
- package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +2 -0
- package/dist/Shared/Components/SelectTextArea/index.d.ts +2 -0
- package/dist/Shared/Components/SelectTextArea/types.d.ts +12 -0
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/abap-DttVK1gE.js +1314 -0
- package/dist/apex-BjfHvyb2.js +315 -0
- package/dist/assets/index.css +1 -0
- package/dist/azcli-Ws-Trf8e.js +74 -0
- package/dist/bat-CeCHpU9_.js +95 -0
- package/dist/bicep-C7a7aEmi.js +108 -0
- package/dist/cameligo-CJeEIvX4.js +168 -0
- package/dist/clojure-CEKXhLdU.js +754 -0
- package/dist/coffee-CKu3e6V1.js +228 -0
- package/dist/cpp-CvUiT5Ec.js +390 -0
- package/dist/csharp-PmU9HJkB.js +320 -0
- package/dist/csp-DULvRLPF.js +57 -0
- package/dist/css-CNWXQPpt.js +186 -0
- package/dist/cssMode--71rLUMi.js +1446 -0
- package/dist/cypher-CYHOQS2R.js +262 -0
- package/dist/dart-BjGx-9Jk.js +270 -0
- package/dist/dockerfile-D0WaVIZ2.js +132 -0
- package/dist/ecl-CijaJu-p.js +454 -0
- package/dist/elixir-BI5Tc37S.js +489 -0
- package/dist/flow9-BApGtQOO.js +141 -0
- package/dist/freemarker2-Cx3qG0cs.js +643 -0
- package/dist/fsharp-VeKgt2eG.js +210 -0
- package/dist/go-Cl8cKDlN.js +208 -0
- package/dist/graphql-PfgPBmj4.js +141 -0
- package/dist/handlebars-Bt2uqG8b.js +391 -0
- package/dist/hcl-CG4VZSkm.js +177 -0
- package/dist/html-DU7HWII4.js +281 -0
- package/dist/htmlMode-C_jemX66.js +1456 -0
- package/dist/index-DFjnZKpc.js +163879 -0
- package/dist/index.js +508 -505
- package/dist/ini-EhiBNPZF.js +68 -0
- package/dist/java-DPbnXhoY.js +221 -0
- package/dist/javascript-tR3wsqWc.js +75 -0
- package/dist/jsonMode-CPHJoMDt.js +1866 -0
- package/dist/julia-Bw7EYexg.js +496 -0
- package/dist/kotlin-BNXLDoV0.js +245 -0
- package/dist/less-DtuF_id_.js +168 -0
- package/dist/lexon-DpB0-37O.js +151 -0
- package/dist/liquid-Cp4TQ7hL.js +238 -0
- package/dist/lua-CzRNOk9S.js +157 -0
- package/dist/m3-pXPmDwal.js +210 -0
- package/dist/markdown-CeQ3rxjn.js +202 -0
- package/dist/mdx-DP3ktqo6.js +171 -0
- package/dist/mips-DyE0VSNz.js +194 -0
- package/dist/msdax-CbdkoqRa.js +377 -0
- package/dist/mysql-B86-uHNu.js +876 -0
- package/dist/objective-c-1xvkKPId.js +188 -0
- package/dist/pascal-DcyFhj80.js +245 -0
- package/dist/pascaligo-QnM0hvMG.js +158 -0
- package/dist/perl-Bqp3FbU4.js +599 -0
- package/dist/pgsql-HdG7BG_Z.js +847 -0
- package/dist/php-zf7L2p7t.js +471 -0
- package/dist/pla-3Ykqsyzl.js +131 -0
- package/dist/postiats-D1v08O4B.js +544 -0
- package/dist/powerquery-CiQ9b1-b.js +890 -0
- package/dist/powershell-DFNK6VaX.js +233 -0
- package/dist/protobuf-D5P2Z6tc.js +422 -0
- package/dist/pug-BeyMX5am.js +393 -0
- package/dist/python-7adrB-AP.js +259 -0
- package/dist/qsharp-DcFOTjuP.js +282 -0
- package/dist/r-B3aJPcWp.js +245 -0
- package/dist/razor-DgqIzp1R.js +512 -0
- package/dist/redis-CyC__Tub.js +298 -0
- package/dist/redshift-NqbcQPcY.js +806 -0
- package/dist/restructuredtext-CZMxBkap.js +162 -0
- package/dist/ruby-C_jEtDv5.js +444 -0
- package/dist/rust-WAeitMCC.js +337 -0
- package/dist/sb-CSBm2pED.js +110 -0
- package/dist/scala-D76PhKmh.js +353 -0
- package/dist/scheme-CBSAjRuO.js +114 -0
- package/dist/scss-BHY8wFFg.js +244 -0
- package/dist/shell-Cwju9_l8.js +224 -0
- package/dist/solidity-BV1-nze3.js +1351 -0
- package/dist/sophia-DfoUlGAs.js +190 -0
- package/dist/sparql-4kfArTtK.js +193 -0
- package/dist/sql-DIpn0HSX.js +818 -0
- package/dist/st-BgJ_KDZh.js +415 -0
- package/dist/swift-D-ucEgIi.js +315 -0
- package/dist/systemverilog-DjkH5zuo.js +556 -0
- package/dist/tcl-gd8XLKJA.js +232 -0
- package/dist/tsMode-DEn7IgUV.js +810 -0
- package/dist/twig-D5XtTFGM.js +323 -0
- package/dist/typescript-BIIti-S_.js +328 -0
- package/dist/vb-DYqqYAf3.js +364 -0
- package/dist/wgsl-CkZE0qf3.js +420 -0
- package/dist/xml-BTCrcRFQ.js +95 -0
- package/dist/yaml-7Qg03Fvh.js +184 -0
- package/package.json +5 -4
- package/dist/@code-editor-Vbkor1r4.js +0 -18991
- package/dist/@common-rjsf-6UM_zh8b.js +0 -567
- package/dist/@framer-motion-DHY98qq3.js +0 -3437
- package/dist/@moment-C_WeV3Af.js +0 -2609
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/@react-dates-WNnwjI5S.js +0 -7708
- package/dist/@react-select-BbR996pa.js +0 -2636
- package/dist/@src-assets-images-DamVa6cS.js +0 -14
- package/dist/@vendor-RU8AW1bK.js +0 -20473
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@common-rjsf.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/@react-dates.css +0 -1
- package/dist/assets/@vendor.css +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,95 @@
|
|
|
1
|
+
import { m as r } from "./index-DFjnZKpc.js";
|
|
2
|
+
/*!-----------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
5
|
+
* Released under the MIT license
|
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
+
*-----------------------------------------------------------------------------*/
|
|
8
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, i) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let n of l(e))
|
|
11
|
+
!d.call(t, n) && n !== o && m(t, n, { get: () => e[n], enumerable: !(i = c(e, n)) || i.enumerable });
|
|
12
|
+
return t;
|
|
13
|
+
}, s = (t, e, o) => (p(t, e, "default"), o), a = {};
|
|
14
|
+
s(a, r);
|
|
15
|
+
var g = {
|
|
16
|
+
comments: {
|
|
17
|
+
blockComment: ["<!--", "-->"]
|
|
18
|
+
},
|
|
19
|
+
brackets: [["<", ">"]],
|
|
20
|
+
autoClosingPairs: [
|
|
21
|
+
{ open: "<", close: ">" },
|
|
22
|
+
{ open: "'", close: "'" },
|
|
23
|
+
{ open: '"', close: '"' }
|
|
24
|
+
],
|
|
25
|
+
surroundingPairs: [
|
|
26
|
+
{ open: "<", close: ">" },
|
|
27
|
+
{ open: "'", close: "'" },
|
|
28
|
+
{ open: '"', close: '"' }
|
|
29
|
+
],
|
|
30
|
+
onEnterRules: [
|
|
31
|
+
{
|
|
32
|
+
beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
33
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
34
|
+
action: {
|
|
35
|
+
indentAction: a.languages.IndentAction.IndentOutdent
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
40
|
+
action: { indentAction: a.languages.IndentAction.Indent }
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}, k = {
|
|
44
|
+
defaultToken: "",
|
|
45
|
+
tokenPostfix: ".xml",
|
|
46
|
+
ignoreCase: !0,
|
|
47
|
+
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
48
|
+
tokenizer: {
|
|
49
|
+
root: [
|
|
50
|
+
[/[^<&]+/, ""],
|
|
51
|
+
{ include: "@whitespace" },
|
|
52
|
+
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
|
|
53
|
+
[
|
|
54
|
+
/(<\/)(@qualifiedName)(\s*)(>)/,
|
|
55
|
+
[{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
|
|
56
|
+
],
|
|
57
|
+
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
58
|
+
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
59
|
+
[/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
|
|
60
|
+
[/&\w+;/, "string.escape"]
|
|
61
|
+
],
|
|
62
|
+
cdata: [
|
|
63
|
+
[/[^\]]+/, ""],
|
|
64
|
+
[/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
|
|
65
|
+
[/\]/, ""]
|
|
66
|
+
],
|
|
67
|
+
tag: [
|
|
68
|
+
[/[ \t\r\n]+/, ""],
|
|
69
|
+
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
|
|
70
|
+
[
|
|
71
|
+
/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
|
|
72
|
+
["attribute.name", "", "attribute.value"]
|
|
73
|
+
],
|
|
74
|
+
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
|
|
75
|
+
[/@qualifiedName/, "attribute.name"],
|
|
76
|
+
[/\?>/, { token: "delimiter", next: "@pop" }],
|
|
77
|
+
[/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
|
|
78
|
+
[/>/, { token: "delimiter", next: "@pop" }]
|
|
79
|
+
],
|
|
80
|
+
whitespace: [
|
|
81
|
+
[/[ \t\r\n]+/, ""],
|
|
82
|
+
[/<!--/, { token: "comment", next: "@comment" }]
|
|
83
|
+
],
|
|
84
|
+
comment: [
|
|
85
|
+
[/[^<\-]+/, "comment.content"],
|
|
86
|
+
[/-->/, { token: "comment", next: "@pop" }],
|
|
87
|
+
[/<!--/, "comment.content.invalid"],
|
|
88
|
+
[/[<\-]/, "comment.content"]
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
g as conf,
|
|
94
|
+
k as language
|
|
95
|
+
};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { m as l } from "./index-DFjnZKpc.js";
|
|
2
|
+
/*!-----------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
5
|
+
* Released under the MIT license
|
|
6
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
+
*-----------------------------------------------------------------------------*/
|
|
8
|
+
var i = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, s = Object.prototype.hasOwnProperty, d = (n, e, r, o) => {
|
|
9
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
+
for (let t of u(e))
|
|
11
|
+
!s.call(n, t) && t !== r && i(n, t, { get: () => e[t], enumerable: !(o = c(e, t)) || o.enumerable });
|
|
12
|
+
return n;
|
|
13
|
+
}, m = (n, e, r) => (d(n, e, "default"), r), a = {};
|
|
14
|
+
m(a, l);
|
|
15
|
+
var p = {
|
|
16
|
+
comments: {
|
|
17
|
+
lineComment: "#"
|
|
18
|
+
},
|
|
19
|
+
brackets: [
|
|
20
|
+
["{", "}"],
|
|
21
|
+
["[", "]"],
|
|
22
|
+
["(", ")"]
|
|
23
|
+
],
|
|
24
|
+
autoClosingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: '"', close: '"' },
|
|
29
|
+
{ open: "'", close: "'" }
|
|
30
|
+
],
|
|
31
|
+
surroundingPairs: [
|
|
32
|
+
{ open: "{", close: "}" },
|
|
33
|
+
{ open: "[", close: "]" },
|
|
34
|
+
{ open: "(", close: ")" },
|
|
35
|
+
{ open: '"', close: '"' },
|
|
36
|
+
{ open: "'", close: "'" }
|
|
37
|
+
],
|
|
38
|
+
folding: {
|
|
39
|
+
offSide: !0
|
|
40
|
+
},
|
|
41
|
+
onEnterRules: [
|
|
42
|
+
{
|
|
43
|
+
beforeText: /:\s*$/,
|
|
44
|
+
action: {
|
|
45
|
+
indentAction: a.languages.IndentAction.Indent
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}, f = {
|
|
50
|
+
tokenPostfix: ".yaml",
|
|
51
|
+
brackets: [
|
|
52
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
53
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
54
|
+
],
|
|
55
|
+
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
56
|
+
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
57
|
+
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
58
|
+
numberOctal: /0o[0-7]+/,
|
|
59
|
+
numberHex: /0x[0-9a-fA-F]+/,
|
|
60
|
+
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
61
|
+
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
62
|
+
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
63
|
+
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
64
|
+
tokenizer: {
|
|
65
|
+
root: [
|
|
66
|
+
{ include: "@whitespace" },
|
|
67
|
+
{ include: "@comment" },
|
|
68
|
+
[/%[^ ]+.*$/, "meta.directive"],
|
|
69
|
+
[/---/, "operators.directivesEnd"],
|
|
70
|
+
[/\.{3}/, "operators.documentEnd"],
|
|
71
|
+
[/[-?:](?= )/, "operators"],
|
|
72
|
+
{ include: "@anchor" },
|
|
73
|
+
{ include: "@tagHandle" },
|
|
74
|
+
{ include: "@flowCollections" },
|
|
75
|
+
{ include: "@blockStyle" },
|
|
76
|
+
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
77
|
+
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
78
|
+
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
79
|
+
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
80
|
+
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
81
|
+
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
82
|
+
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
83
|
+
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
84
|
+
{ include: "@flowScalars" },
|
|
85
|
+
[
|
|
86
|
+
/.+?(?=(\s+#|$))/,
|
|
87
|
+
{
|
|
88
|
+
cases: {
|
|
89
|
+
"@keywords": "keyword",
|
|
90
|
+
"@default": "string"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
],
|
|
95
|
+
object: [
|
|
96
|
+
{ include: "@whitespace" },
|
|
97
|
+
{ include: "@comment" },
|
|
98
|
+
[/\}/, "@brackets", "@pop"],
|
|
99
|
+
[/,/, "delimiter.comma"],
|
|
100
|
+
[/:(?= )/, "operators"],
|
|
101
|
+
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
102
|
+
{ include: "@flowCollections" },
|
|
103
|
+
{ include: "@flowScalars" },
|
|
104
|
+
{ include: "@tagHandle" },
|
|
105
|
+
{ include: "@anchor" },
|
|
106
|
+
{ include: "@flowNumber" },
|
|
107
|
+
[
|
|
108
|
+
/[^\},]+/,
|
|
109
|
+
{
|
|
110
|
+
cases: {
|
|
111
|
+
"@keywords": "keyword",
|
|
112
|
+
"@default": "string"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
],
|
|
117
|
+
array: [
|
|
118
|
+
{ include: "@whitespace" },
|
|
119
|
+
{ include: "@comment" },
|
|
120
|
+
[/\]/, "@brackets", "@pop"],
|
|
121
|
+
[/,/, "delimiter.comma"],
|
|
122
|
+
{ include: "@flowCollections" },
|
|
123
|
+
{ include: "@flowScalars" },
|
|
124
|
+
{ include: "@tagHandle" },
|
|
125
|
+
{ include: "@anchor" },
|
|
126
|
+
{ include: "@flowNumber" },
|
|
127
|
+
[
|
|
128
|
+
/[^\],]+/,
|
|
129
|
+
{
|
|
130
|
+
cases: {
|
|
131
|
+
"@keywords": "keyword",
|
|
132
|
+
"@default": "string"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
],
|
|
137
|
+
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
138
|
+
multiStringContinued: [
|
|
139
|
+
[
|
|
140
|
+
/^( *).+$/,
|
|
141
|
+
{
|
|
142
|
+
cases: {
|
|
143
|
+
"$1==$S2": "string",
|
|
144
|
+
"@default": { token: "@rematch", next: "@popall" }
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
],
|
|
149
|
+
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
150
|
+
comment: [[/#.*$/, "comment"]],
|
|
151
|
+
flowCollections: [
|
|
152
|
+
[/\[/, "@brackets", "@array"],
|
|
153
|
+
[/\{/, "@brackets", "@object"]
|
|
154
|
+
],
|
|
155
|
+
flowScalars: [
|
|
156
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
157
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
158
|
+
[/'[^']*'/, "string"],
|
|
159
|
+
[/"/, "string", "@doubleQuotedString"]
|
|
160
|
+
],
|
|
161
|
+
doubleQuotedString: [
|
|
162
|
+
[/[^\\"]+/, "string"],
|
|
163
|
+
[/@escapes/, "string.escape"],
|
|
164
|
+
[/\\./, "string.escape.invalid"],
|
|
165
|
+
[/"/, "string", "@pop"]
|
|
166
|
+
],
|
|
167
|
+
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
168
|
+
flowNumber: [
|
|
169
|
+
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
170
|
+
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
171
|
+
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
172
|
+
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
173
|
+
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
174
|
+
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
175
|
+
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
176
|
+
],
|
|
177
|
+
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
178
|
+
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
export {
|
|
182
|
+
p as conf,
|
|
183
|
+
f as language
|
|
184
|
+
};
|