@ansible/ansible-ui-framework 2.4.2597 → 2.4.2598

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. package/index.js +45612 -148
  2. package/index.umd.cjs +261 -2173
  3. package/package.json +7 -6
  4. package/publish/index.d.ts +337 -148
  5. package/style.css +1 -1
  6. package/abap-BgxiW-yv.js +0 -1404
  7. package/apex-Ci_BavZh.js +0 -332
  8. package/azcli-dfO4wGjy.js +0 -74
  9. package/bat-DD810Xk_.js +0 -106
  10. package/bicep-8OENIIxl.js +0 -108
  11. package/cameligo-NqPxsDwa.js +0 -180
  12. package/clojure-DuHkQIc1.js +0 -767
  13. package/coffee-B3cpF2mL.js +0 -238
  14. package/cpp-BJvlC8pp.js +0 -395
  15. package/csharp-B-mepg9G.js +0 -332
  16. package/csp-CZDIWMVF.js +0 -59
  17. package/css-CLWUu9O1.js +0 -193
  18. package/cssMode-BW_EgCuT.js +0 -1577
  19. package/cypher-DaPSdc0H.js +0 -269
  20. package/dart-Do9iT_o8.js +0 -287
  21. package/dockerfile-CbJBIDss.js +0 -136
  22. package/ecl-BqVPFR32.js +0 -462
  23. package/elixir-D1QTcrNJ.js +0 -575
  24. package/flow9-8noNFj4g.js +0 -148
  25. package/freemarker2-CZroC-2x.js +0 -995
  26. package/fsharp-C8jetu08.js +0 -223
  27. package/go-CwkaVtEf.js +0 -224
  28. package/graphql-CN0L02lB.js +0 -157
  29. package/handlebars-DdZaSSq2.js +0 -425
  30. package/hcl-B8DTUjkt.js +0 -189
  31. package/html-BStYWvMR.js +0 -314
  32. package/htmlMode-BZ30jslh.js +0 -1587
  33. package/index-_bG9dmst.js +0 -157805
  34. package/ini-BAHk9dez.js +0 -77
  35. package/java-BqU7F-WC.js +0 -238
  36. package/javascript-R1fkmvzs.js +0 -76
  37. package/jsonMode-B3D-ZZhn.js +0 -2002
  38. package/julia-7wzAFYJ_.js +0 -517
  39. package/kotlin-Ds6t9yxb.js +0 -259
  40. package/less-BsKXqSGe.js +0 -168
  41. package/lexon-CxjeM0Fy.js +0 -163
  42. package/liquid-COCYG7jZ.js +0 -246
  43. package/lua-CZeocWyu.js +0 -168
  44. package/m3-DrAa334y.js +0 -216
  45. package/markdown-BKScSdMX.js +0 -235
  46. package/mdx-CnriKNQ4.js +0 -171
  47. package/mips-C2kxK_Lk.js +0 -204
  48. package/msdax-CV-iM8Y9.js +0 -381
  49. package/mysql-0UKhlzQO.js +0 -884
  50. package/objective-c-CbKhSCGr.js +0 -189
  51. package/pascal-CP-K8RTj.js +0 -257
  52. package/pascaligo-DNS345Ec.js +0 -170
  53. package/perl-CU_O2Ux7.js +0 -632
  54. package/pgsql-CvE830Au.js +0 -857
  55. package/php-BvwPLbR6.js +0 -506
  56. package/pla-DJ8gwRb5.js +0 -143
  57. package/postiats-CGZof9No.js +0 -913
  58. package/powerquery-C7bI8brw.js +0 -896
  59. package/powershell-CmptSHHa.js +0 -245
  60. package/protobuf-CNFSy7mI.js +0 -426
  61. package/publish/abap-BgxiW-yv.d.ts +0 -63
  62. package/publish/apex-Ci_BavZh.d.ts +0 -65
  63. package/publish/azcli-dfO4wGjy.d.ts +0 -47
  64. package/publish/bat-DD810Xk_.d.ts +0 -57
  65. package/publish/bicep-8OENIIxl.d.ts +0 -146
  66. package/publish/cameligo-NqPxsDwa.d.ts +0 -55
  67. package/publish/clojure-DuHkQIc1.d.ts +0 -50
  68. package/publish/coffee-B3cpF2mL.d.ts +0 -102
  69. package/publish/cpp-BJvlC8pp.d.ts +0 -83
  70. package/publish/csharp-B-mepg9G.d.ts +0 -113
  71. package/publish/csp-CZDIWMVF.d.ts +0 -17
  72. package/publish/css-CLWUu9O1.d.ts +0 -144
  73. package/publish/cssMode-BW_EgCuT.d.ts +0 -130
  74. package/publish/cypher-DaPSdc0H.d.ts +0 -65
  75. package/publish/dart-Do9iT_o8.d.ts +0 -83
  76. package/publish/dockerfile-CbJBIDss.d.ts +0 -73
  77. package/publish/ecl-BqVPFR32.d.ts +0 -60
  78. package/publish/elixir-D1QTcrNJ.d.ts +0 -307
  79. package/publish/flow9-8noNFj4g.d.ts +0 -45
  80. package/publish/freemarker2-CZroC-2x.d.ts +0 -1543
  81. package/publish/fsharp-C8jetu08.d.ts +0 -61
  82. package/publish/go-CwkaVtEf.d.ts +0 -51
  83. package/publish/graphql-CN0L02lB.d.ts +0 -75
  84. package/publish/handlebars-DdZaSSq2.d.ts +0 -176
  85. package/publish/hcl-B8DTUjkt.d.ts +0 -77
  86. package/publish/html-BStYWvMR.d.ts +0 -129
  87. package/publish/htmlMode-BZ30jslh.d.ts +0 -131
  88. package/publish/index-_bG9dmst.d.ts +0 -2914
  89. package/publish/ini-BAHk9dez.d.ts +0 -35
  90. package/publish/java-BqU7F-WC.d.ts +0 -57
  91. package/publish/javascript-R1fkmvzs.d.ts +0 -111
  92. package/publish/jsonMode-B3D-ZZhn.d.ts +0 -131
  93. package/publish/julia-7wzAFYJ_.d.ts +0 -92
  94. package/publish/kotlin-Ds6t9yxb.d.ts +0 -57
  95. package/publish/less-BsKXqSGe.d.ts +0 -88
  96. package/publish/lexon-CxjeM0Fy.d.ts +0 -81
  97. package/publish/liquid-COCYG7jZ.d.ts +0 -73
  98. package/publish/lua-CZeocWyu.d.ts +0 -66
  99. package/publish/m3-DrAa334y.d.ts +0 -63
  100. package/publish/markdown-BKScSdMX.d.ts +0 -129
  101. package/publish/mdx-CnriKNQ4.d.ts +0 -139
  102. package/publish/mips-C2kxK_Lk.d.ts +0 -79
  103. package/publish/msdax-CV-iM8Y9.d.ts +0 -68
  104. package/publish/mysql-0UKhlzQO.d.ts +0 -76
  105. package/publish/objective-c-CbKhSCGr.d.ts +0 -46
  106. package/publish/pascal-CP-K8RTj.d.ts +0 -62
  107. package/publish/pascaligo-DNS345Ec.d.ts +0 -55
  108. package/publish/perl-CU_O2Ux7.d.ts +0 -116
  109. package/publish/pgsql-CvE830Au.d.ts +0 -80
  110. package/publish/php-BvwPLbR6.d.ts +0 -193
  111. package/publish/pla-DJ8gwRb5.d.ts +0 -71
  112. package/publish/postiats-CGZof9No.d.ts +0 -212
  113. package/publish/powerquery-C7bI8brw.d.ts +0 -63
  114. package/publish/powershell-CmptSHHa.d.ts +0 -119
  115. package/publish/protobuf-CNFSy7mI.d.ts +0 -364
  116. package/publish/pug-CzItlbqs.d.ts +0 -170
  117. package/publish/python-8vPuu566.d.ts +0 -65
  118. package/publish/qsharp-C1B8howk.d.ts +0 -75
  119. package/publish/r-BTwZKg_d.d.ts +0 -77
  120. package/publish/razor-CtOmeuwi.d.ts +0 -194
  121. package/publish/redis-BUv7CvJd.d.ts +0 -63
  122. package/publish/redshift-jrBDFghq.d.ts +0 -80
  123. package/publish/restructuredtext-BxbR-VyS.d.ts +0 -69
  124. package/publish/ruby-B0TfnHZH.d.ts +0 -239
  125. package/publish/rust-D_saCUFK.d.ts +0 -94
  126. package/publish/sb-DcgiWk7t.d.ts +0 -54
  127. package/publish/scala-BfLWIEFR.d.ts +0 -135
  128. package/publish/scheme-CZaOrAgo.d.ts +0 -46
  129. package/publish/scss-Du10_18v.d.ts +0 -220
  130. package/publish/shell-D1p7ZuXl.d.ts +0 -53
  131. package/publish/solidity-DzIDOgno.d.ts +0 -50
  132. package/publish/sophia-BU-qT3RS.d.ts +0 -50
  133. package/publish/sparql-DVtIp1VH.d.ts +0 -47
  134. package/publish/sql-1GwNodTS.d.ts +0 -86
  135. package/publish/st-DPXgTepQ.d.ts +0 -87
  136. package/publish/swift-ZhwunzBf.d.ts +0 -80
  137. package/publish/systemverilog-CVvtzxud.d.ts +0 -109
  138. package/publish/tcl-CYCJd6bV.d.ts +0 -87
  139. package/publish/tsMode-BSdN2klD.d.ts +0 -436
  140. package/publish/twig-JIfYOL6u.d.ts +0 -135
  141. package/publish/typescript-DWjYWuYm.d.ts +0 -110
  142. package/publish/typespec-BH4BOGFR.d.ts +0 -146
  143. package/publish/vb-6Rp6KK9h.d.ts +0 -60
  144. package/publish/wgsl-kJTvkQmx.d.ts +0 -72
  145. package/publish/xml-BqVRyB3K.d.ts +0 -72
  146. package/publish/yaml-DEH8xqyy.d.ts +0 -87
  147. package/pug-CzItlbqs.js +0 -408
  148. package/python-8vPuu566.js +0 -307
  149. package/qsharp-C1B8howk.js +0 -307
  150. package/r-BTwZKg_d.js +0 -249
  151. package/razor-CtOmeuwi.js +0 -556
  152. package/redis-BUv7CvJd.js +0 -308
  153. package/redshift-jrBDFghq.js +0 -815
  154. package/restructuredtext-BxbR-VyS.js +0 -180
  155. package/ruby-B0TfnHZH.js +0 -517
  156. package/rust-D_saCUFK.js +0 -349
  157. package/sb-DcgiWk7t.js +0 -121
  158. package/scala-BfLWIEFR.js +0 -376
  159. package/scheme-CZaOrAgo.js +0 -114
  160. package/scss-Du10_18v.js +0 -268
  161. package/shell-D1p7ZuXl.js +0 -227
  162. package/solidity-DzIDOgno.js +0 -1373
  163. package/sophia-BU-qT3RS.js +0 -205
  164. package/sparql-DVtIp1VH.js +0 -207
  165. package/sql-1GwNodTS.js +0 -859
  166. package/st-DPXgTepQ.js +0 -422
  167. package/swift-ZhwunzBf.js +0 -318
  168. package/systemverilog-CVvtzxud.js +0 -582
  169. package/tcl-CYCJd6bV.js +0 -238
  170. package/tsMode-BSdN2klD.js +0 -895
  171. package/twig-JIfYOL6u.js +0 -398
  172. package/typescript-DWjYWuYm.js +0 -349
  173. package/typespec-BH4BOGFR.js +0 -123
  174. package/vb-6Rp6KK9h.js +0 -378
  175. package/wgsl-kJTvkQmx.js +0 -445
  176. package/xml-BqVRyB3K.js +0 -101
  177. package/yaml-DEH8xqyy.js +0 -212
package/wgsl-kJTvkQmx.js DELETED
@@ -1,445 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
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 = new RegExp("[_\\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
- // Identifier-like things, but also include '_'
351
- n,
352
- {
353
- cases: {
354
- "@atoms": t,
355
- "@keywords": "keyword",
356
- "@reserved": "invalid",
357
- "@predeclared_enums": t,
358
- "@predeclared_types": t,
359
- "@predeclared_type_generators": t,
360
- "@predeclared_type_aliases": t,
361
- "@predeclared_intrinsics": t,
362
- "@default": "identifier"
363
- }
364
- }
365
- ],
366
- { include: "@commentOrSpace" },
367
- { include: "@numbers" },
368
- [/[{}()\[\]]/, "@brackets"],
369
- ["@", "annotation", "@attribute"],
370
- [
371
- /@symbols/,
372
- {
373
- cases: {
374
- "@operators": "operator",
375
- "@default": "delimiter"
376
- }
377
- }
378
- ],
379
- [/./, "invalid"]
380
- ],
381
- commentOrSpace: [
382
- [/\s+/, "white"],
383
- [/\/\*/, "comment", "@blockComment"],
384
- [/\/\/.*$/, "comment"]
385
- ],
386
- blockComment: [
387
- // Soak up uninteresting text: anything except * or /
388
- [/[^\/*]+/, "comment"],
389
- // Recognize the start of a nested block comment.
390
- [/\/\*/, "comment", "@push"],
391
- // Recognize the end of a nested block comment.
392
- [/\*\//, "comment", "@pop"],
393
- // Recognize insignificant * and /
394
- [/[\/*]/, "comment"]
395
- ],
396
- attribute: [
397
- // For things like '@fragment' both '@' and 'fragment'
398
- // are marked as annotations. This should work even if
399
- // there are spaces or comments between the two tokens.
400
- { include: "@commentOrSpace" },
401
- [/\w+/, "annotation", "@pop"]
402
- ],
403
- directive: [
404
- // For things like 'enable f16;', 'enable' maps to 'meta'
405
- // and 'f16' maps to 'meta.tag'.
406
- { include: "@commentOrSpace" },
407
- [/[()]/, "@brackets"],
408
- [/,/, "delimiter"],
409
- [n, "meta.content"],
410
- [/;/, "delimiter", "@pop"]
411
- ],
412
- numbers: [
413
- // Decimal float literals
414
- // https://www.w3.org/TR/WGSL/#syntax-decimal_float_literal
415
- // 0, with type-specifying suffix.
416
- [/0[fh]/, "number.float"],
417
- // Other decimal integer, with type-specifying suffix.
418
- [/[1-9][0-9]*[fh]/, "number.float"],
419
- // Has decimal point, at least one digit after decimal.
420
- [/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
421
- // Has decimal point, at least one digit before decimal.
422
- [/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
423
- // Has at least one digit, and has an exponent.
424
- [/[0-9]+[eE][+-]?[0-9]+[fh]?/, "number.float"],
425
- // Hex float literals
426
- // https://www.w3.org/TR/WGSL/#syntax-hex_float_literal
427
- [/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
428
- [/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
429
- [/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/, "number.hex"],
430
- // Hexadecimal integer literals
431
- // https://www.w3.org/TR/WGSL/#syntax-hex_int_literal
432
- [/0[xX][0-9a-fA-F]+[iu]?/, "number.hex"],
433
- // Decimal integer literals
434
- // https://www.w3.org/TR/WGSL/#syntax-decimal_int_literal
435
- // We need two rules here because 01 is not valid.
436
- [/[1-9][0-9]*[iu]?/, "number"],
437
- [/0[iu]?/, "number"]
438
- // Must match last
439
- ]
440
- }
441
- };
442
- export {
443
- g as conf,
444
- h as language
445
- };
package/xml-BqVRyB3K.js DELETED
@@ -1,101 +0,0 @@
1
- import { m as r } from "./index-_bG9dmst.js";
2
- /*!-----------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
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
- // Useful regular expressions
48
- qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
49
- tokenizer: {
50
- root: [
51
- [/[^<&]+/, ""],
52
- { include: "@whitespace" },
53
- // Standard opening tag
54
- [/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
55
- // Standard closing tag
56
- [
57
- /(<\/)(@qualifiedName)(\s*)(>)/,
58
- [{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
59
- ],
60
- // Meta tags - instruction
61
- [/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
62
- // Meta tags - declaration
63
- [/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
64
- // CDATA
65
- [/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
66
- [/&\w+;/, "string.escape"]
67
- ],
68
- cdata: [
69
- [/[^\]]+/, ""],
70
- [/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
71
- [/\]/, ""]
72
- ],
73
- tag: [
74
- [/[ \t\r\n]+/, ""],
75
- [/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
76
- [
77
- /(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
78
- ["attribute.name", "", "attribute.value"]
79
- ],
80
- [/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
81
- [/@qualifiedName/, "attribute.name"],
82
- [/\?>/, { token: "delimiter", next: "@pop" }],
83
- [/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
84
- [/>/, { token: "delimiter", next: "@pop" }]
85
- ],
86
- whitespace: [
87
- [/[ \t\r\n]+/, ""],
88
- [/<!--/, { token: "comment", next: "@comment" }]
89
- ],
90
- comment: [
91
- [/[^<\-]+/, "comment.content"],
92
- [/-->/, { token: "comment", next: "@pop" }],
93
- [/<!--/, "comment.content.invalid"],
94
- [/[<\-]/, "comment.content"]
95
- ]
96
- }
97
- };
98
- export {
99
- g as conf,
100
- k as language
101
- };