monaco-editor11 1.2.1 → 1.2.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.
Files changed (197) hide show
  1. package/dist/assets/editor.worker-iXcRX1Tq.js +26 -0
  2. package/dist/index.d.ts +2 -3
  3. package/dist/monaco-editor11.es.js +55 -0
  4. package/dist/monaco-editor11.umd.js +1 -0
  5. package/dist/views/Home.vue.d.ts +1 -1
  6. package/dist/worker/json.worker.js +0 -0
  7. package/package.json +9 -13
  8. package/dist/abap-BmV14C8H.js +0 -1
  9. package/dist/abap-CrvW7_qN.mjs +0 -1398
  10. package/dist/apex-BAOI8p1v.mjs +0 -327
  11. package/dist/apex-vQDebnNk.js +0 -1
  12. package/dist/azcli-BlCk_UqW.mjs +0 -68
  13. package/dist/azcli-C4hxwus7.js +0 -1
  14. package/dist/bat-DPoEelVx.mjs +0 -100
  15. package/dist/bat-DYHIOgJW.js +0 -1
  16. package/dist/bicep-BJDZ3U7c.js +0 -2
  17. package/dist/bicep-Cp1F394l.mjs +0 -102
  18. package/dist/cameligo-CWqtSlQs.mjs +0 -174
  19. package/dist/cameligo-l0J6eaPU.js +0 -1
  20. package/dist/clojure-BUv_1vEn.js +0 -1
  21. package/dist/clojure-CKBp32Gf.mjs +0 -761
  22. package/dist/coffee-CDo6vc-J.mjs +0 -232
  23. package/dist/coffee-Cw3141X6.js +0 -1
  24. package/dist/cpp-CHPWmTTa.js +0 -1
  25. package/dist/cpp-DokufPgf.mjs +0 -389
  26. package/dist/csharp-0ISFInBU.js +0 -1
  27. package/dist/csharp-BQi3szM0.mjs +0 -326
  28. package/dist/csp-BSGtCCZ-.mjs +0 -53
  29. package/dist/csp-Dcy9EUAZ.js +0 -1
  30. package/dist/css-DEPFDJfb.mjs +0 -187
  31. package/dist/css-UDjyEDNM.js +0 -3
  32. package/dist/css.worker.js +0 -66
  33. package/dist/cssMode-CZvh5Cxi.js +0 -1
  34. package/dist/cssMode-D5wFpBcJ.mjs +0 -141
  35. package/dist/cypher-BoSKj8sy.js +0 -1
  36. package/dist/cypher-DAb1vOxS.mjs +0 -263
  37. package/dist/dart-75fOVMIC.js +0 -1
  38. package/dist/dart-C8p4jewR.mjs +0 -281
  39. package/dist/dockerfile-CeTDdZJB.js +0 -1
  40. package/dist/dockerfile-DP0iLFPN.mjs +0 -130
  41. package/dist/ecl-BDQHA6fi.mjs +0 -456
  42. package/dist/ecl-BZ8GfbIS.js +0 -1
  43. package/dist/editor.worker.js +0 -1
  44. package/dist/editorWorkerHost-CXSl__Sw.mjs +0 -11917
  45. package/dist/editorWorkerHost-J3OLr02l.js +0 -33
  46. package/dist/elixir-D4II6kDM.mjs +0 -569
  47. package/dist/elixir-HwUoMs-6.js +0 -1
  48. package/dist/flow9-Co-egZvn.js +0 -1
  49. package/dist/flow9-StcnL-VB.mjs +0 -142
  50. package/dist/freemarker2-0KWO0y3D.mjs +0 -982
  51. package/dist/freemarker2-CWgJ4a-p.js +0 -3
  52. package/dist/fsharp-By4FMj_K.js +0 -1
  53. package/dist/fsharp-DdUVp3EN.mjs +0 -217
  54. package/dist/go-D0-3Iavh.js +0 -1
  55. package/dist/go-D1-I258M.mjs +0 -218
  56. package/dist/graphql-DWkL3f8U.mjs +0 -151
  57. package/dist/graphql-arXy5b1U.js +0 -1
  58. package/dist/handlebars-B3DRUYqI.js +0 -1
  59. package/dist/handlebars-CtTh3MzK.mjs +0 -412
  60. package/dist/hcl-DQpT3BXv.js +0 -1
  61. package/dist/hcl-D_0MNifv.mjs +0 -183
  62. package/dist/html-Bfagd5f8.mjs +0 -301
  63. package/dist/html-Cq6ODg2A.js +0 -1
  64. package/dist/htmlMode-BCWHN8H1.js +0 -1
  65. package/dist/htmlMode-Ca4o_48E.mjs +0 -152
  66. package/dist/index-BnVmN2qp.js +0 -875
  67. package/dist/index-CcXLAo11.js +0 -1
  68. package/dist/index-D7fx9aNv.mjs +0 -498
  69. package/dist/index-DnKFAZ-F.mjs +0 -117301
  70. package/dist/index.js +0 -1
  71. package/dist/ini-C4I2-MT7.mjs +0 -71
  72. package/dist/ini-CHrdBSR6.js +0 -1
  73. package/dist/initialize-7Tsg9DJ6.mjs +0 -44
  74. package/dist/initialize-8Cpp42Fp.js +0 -1
  75. package/dist/java-DkNlCtA8.js +0 -1
  76. package/dist/java-OBvaP_SS.mjs +0 -232
  77. package/dist/javascript-C_YSapv9.js +0 -1
  78. package/dist/javascript-D2KmymLa.mjs +0 -70
  79. package/dist/json.worker.js +0 -17
  80. package/dist/jsonMode-DaXUMuRa.js +0 -1
  81. package/dist/jsonMode-Dnqj4FWW.mjs +0 -306
  82. package/dist/julia-BmDH8Kkf.mjs +0 -511
  83. package/dist/julia-D2YHJdZy.js +0 -1
  84. package/dist/kotlin-BSyr2f_w.js +0 -1
  85. package/dist/kotlin-Dhu5AGOD.mjs +0 -252
  86. package/dist/less-C8csD237.js +0 -2
  87. package/dist/less-CzmjXREq.mjs +0 -162
  88. package/dist/lexon-CV2c4pN9.mjs +0 -157
  89. package/dist/lexon-Dg5XMXM-.js +0 -1
  90. package/dist/liquid-CQtA4TA-.mjs +0 -233
  91. package/dist/liquid-Dc6vO2KK.js +0 -1
  92. package/dist/lspLanguageFeatures-CeustN1U.js +0 -2
  93. package/dist/lspLanguageFeatures-DUzyYYsS.mjs +0 -534
  94. package/dist/lua-BOoO7Ej7.js +0 -1
  95. package/dist/lua-CFY5U8qF.mjs +0 -162
  96. package/dist/m3-BL_AnZVh.mjs +0 -210
  97. package/dist/m3-Bny7JARg.js +0 -1
  98. package/dist/main-B2xgQ6G2.mjs +0 -687
  99. package/dist/main-C27EQSK2.mjs +0 -947
  100. package/dist/main-DXJICgQq.js +0 -3
  101. package/dist/main-Dt1Bdcpc.js +0 -15
  102. package/dist/markdown-CWKQPXCv.mjs +0 -229
  103. package/dist/markdown-cseWCS9n.js +0 -1
  104. package/dist/mdx-C2nK3qTe.js +0 -1
  105. package/dist/mdx-cjfOdSKt.mjs +0 -158
  106. package/dist/mips-7JuqcyJ4.js +0 -1
  107. package/dist/mips-ButYmJ5E.mjs +0 -198
  108. package/dist/monaco-editor11.css +0 -1
  109. package/dist/msdax-BmYA5eV5.js +0 -1
  110. package/dist/msdax-C3cnXqDh.mjs +0 -375
  111. package/dist/mysql-CHTrPhJ_.js +0 -1
  112. package/dist/mysql-YlSHaf6G.mjs +0 -878
  113. package/dist/objective-c-CUdbM2R7.js +0 -1
  114. package/dist/objective-c-Dwnlproe.mjs +0 -183
  115. package/dist/pascal-CNC6uGuD.js +0 -1
  116. package/dist/pascal-UzGbSWEN.mjs +0 -251
  117. package/dist/pascaligo-BEZzSZnI.js +0 -1
  118. package/dist/pascaligo-CslTgu68.mjs +0 -164
  119. package/dist/perl-JOl0jAD9.js +0 -1
  120. package/dist/perl-oj6r_mgw.mjs +0 -626
  121. package/dist/pgsql-BlC3cJBr.js +0 -1
  122. package/dist/pgsql-DSBO0Mev.mjs +0 -851
  123. package/dist/php-6ijfJ2jK.js +0 -1
  124. package/dist/php-YzCD--7j.mjs +0 -500
  125. package/dist/pla-CmylB8vQ.mjs +0 -137
  126. package/dist/pla-DB8tU9Tm.js +0 -1
  127. package/dist/postiats-BMJJQsUH.js +0 -1
  128. package/dist/postiats-CLFW5gNY.mjs +0 -907
  129. package/dist/powerquery-CmOWUvlh.mjs +0 -890
  130. package/dist/powerquery-CoLfQ6__.js +0 -1
  131. package/dist/powershell-BA5owzqH.js +0 -1
  132. package/dist/powershell-fHQcmBLK.mjs +0 -239
  133. package/dist/protobuf-DUMRTG9C.js +0 -2
  134. package/dist/protobuf-p5BArb-9.mjs +0 -420
  135. package/dist/pug-D3HDBCR9.js +0 -1
  136. package/dist/pug-gVdUDvqf.mjs +0 -402
  137. package/dist/python-BaSW5leI.js +0 -1
  138. package/dist/python-DA6ByLCZ.mjs +0 -294
  139. package/dist/qsharp-DN7Y6XhL.js +0 -1
  140. package/dist/qsharp-DnrWSUlt.mjs +0 -301
  141. package/dist/r-Bc6rlFXl.js +0 -1
  142. package/dist/r-Cv309K2z.mjs +0 -243
  143. package/dist/razor-3z9XYGZf.mjs +0 -543
  144. package/dist/razor-nQE2Djhf.js +0 -1
  145. package/dist/redis-BVBmvApp.js +0 -1
  146. package/dist/redis-DTcS4wMj.mjs +0 -302
  147. package/dist/redshift-BdEMv0YI.js +0 -1
  148. package/dist/redshift-hLxZVESM.mjs +0 -809
  149. package/dist/restructuredtext-C898lK4f.mjs +0 -174
  150. package/dist/restructuredtext-Cwgkbiv3.js +0 -1
  151. package/dist/ruby-BPqQ0TOE.js +0 -1
  152. package/dist/ruby-CgKtnJIQ.mjs +0 -511
  153. package/dist/rust-DGojqpAN.js +0 -1
  154. package/dist/rust-bj8oxVnh.mjs +0 -343
  155. package/dist/sb-B572kJZe.js +0 -1
  156. package/dist/sb-DWynz26l.mjs +0 -115
  157. package/dist/scala-BL5z1UEd.mjs +0 -370
  158. package/dist/scala-CDQ1h1Nd.js +0 -1
  159. package/dist/scheme-CgaAfqMQ.js +0 -1
  160. package/dist/scheme-DUJsH6VU.mjs +0 -108
  161. package/dist/scss-CxjmhvaL.mjs +0 -262
  162. package/dist/scss-DZHIl239.js +0 -3
  163. package/dist/shell-D14Zs1dF.mjs +0 -221
  164. package/dist/shell-D5kOdfAA.js +0 -1
  165. package/dist/solidity-D6vCwnFo.js +0 -1
  166. package/dist/solidity-WyRm-BGK.mjs +0 -1367
  167. package/dist/sophia-BJdevZpo.js +0 -1
  168. package/dist/sophia-CKk-_Oa5.mjs +0 -199
  169. package/dist/sparql-DHtmINMZ.mjs +0 -201
  170. package/dist/sparql-v4dsLpAQ.js +0 -1
  171. package/dist/sql-Dqaj5JHC.mjs +0 -853
  172. package/dist/sql-RAt0uxGh.js +0 -1
  173. package/dist/st-Bj2IIaop.mjs +0 -416
  174. package/dist/st-CjwpLApO.js +0 -1
  175. package/dist/swift-BcIVfYEa.js +0 -3
  176. package/dist/swift-DwxP72iM.mjs +0 -312
  177. package/dist/systemverilog-CX2A8v2w.js +0 -1
  178. package/dist/systemverilog-D7wJfuql.mjs +0 -576
  179. package/dist/tcl-0ApMt-eC.mjs +0 -232
  180. package/dist/tcl-CCvdS1Ng.js +0 -1
  181. package/dist/ts.worker.js +0 -67706
  182. package/dist/tsMode-CieVaThB.js +0 -11
  183. package/dist/tsMode-pbVGEqHg.mjs +0 -946
  184. package/dist/twig-DxwbdmvQ.mjs +0 -392
  185. package/dist/twig-KWJe-gee.js +0 -1
  186. package/dist/typescript-CL7lZGgL.mjs +0 -336
  187. package/dist/typescript-D-fgoGBJ.js +0 -1
  188. package/dist/typespec-Fd-JwSuS.mjs +0 -117
  189. package/dist/typespec-gb5rMy4D.js +0 -1
  190. package/dist/vb-CxuyYE1I.mjs +0 -372
  191. package/dist/vb-D2rfixXK.js +0 -1
  192. package/dist/wgsl-DoEGc31J.mjs +0 -439
  193. package/dist/wgsl-Dpy8Oyoq.js +0 -298
  194. package/dist/xml-Dm8zU0Zq.mjs +0 -88
  195. package/dist/xml-luJ1w-__.js +0 -1
  196. package/dist/yaml-DDKFPb37.mjs +0 -199
  197. package/dist/yaml-DZkx0RTO.js +0 -1
@@ -1,298 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function e(i){let o=[];const a=i.split(/\t+|\r+|\n+| +/);for(let r=0;r<a.length;++r)a[r].length>0&&o.push(a[r]);return o}const c=e("true false"),m=e(`
2
- alias
3
- break
4
- case
5
- const
6
- const_assert
7
- continue
8
- continuing
9
- default
10
- diagnostic
11
- discard
12
- else
13
- enable
14
- fn
15
- for
16
- if
17
- let
18
- loop
19
- override
20
- requires
21
- return
22
- struct
23
- switch
24
- var
25
- while
26
- `),l=e(`
27
- NULL
28
- Self
29
- abstract
30
- active
31
- alignas
32
- alignof
33
- as
34
- asm
35
- asm_fragment
36
- async
37
- attribute
38
- auto
39
- await
40
- become
41
- binding_array
42
- cast
43
- catch
44
- class
45
- co_await
46
- co_return
47
- co_yield
48
- coherent
49
- column_major
50
- common
51
- compile
52
- compile_fragment
53
- concept
54
- const_cast
55
- consteval
56
- constexpr
57
- constinit
58
- crate
59
- debugger
60
- decltype
61
- delete
62
- demote
63
- demote_to_helper
64
- do
65
- dynamic_cast
66
- enum
67
- explicit
68
- export
69
- extends
70
- extern
71
- external
72
- fallthrough
73
- filter
74
- final
75
- finally
76
- friend
77
- from
78
- fxgroup
79
- get
80
- goto
81
- groupshared
82
- highp
83
- impl
84
- implements
85
- import
86
- inline
87
- instanceof
88
- interface
89
- layout
90
- lowp
91
- macro
92
- macro_rules
93
- match
94
- mediump
95
- meta
96
- mod
97
- module
98
- move
99
- mut
100
- mutable
101
- namespace
102
- new
103
- nil
104
- noexcept
105
- noinline
106
- nointerpolation
107
- noperspective
108
- null
109
- nullptr
110
- of
111
- operator
112
- package
113
- packoffset
114
- partition
115
- pass
116
- patch
117
- pixelfragment
118
- precise
119
- precision
120
- premerge
121
- priv
122
- protected
123
- pub
124
- public
125
- readonly
126
- ref
127
- regardless
128
- register
129
- reinterpret_cast
130
- require
131
- resource
132
- restrict
133
- self
134
- set
135
- shared
136
- sizeof
137
- smooth
138
- snorm
139
- static
140
- static_assert
141
- static_cast
142
- std
143
- subroutine
144
- super
145
- target
146
- template
147
- this
148
- thread_local
149
- throw
150
- trait
151
- try
152
- type
153
- typedef
154
- typeid
155
- typename
156
- typeof
157
- union
158
- unless
159
- unorm
160
- unsafe
161
- unsized
162
- use
163
- using
164
- varying
165
- virtual
166
- volatile
167
- wgsl
168
- where
169
- with
170
- writeonly
171
- yield
172
- `),u=e(`
173
- read write read_write
174
- function private workgroup uniform storage
175
- perspective linear flat
176
- center centroid sample
177
- vertex_index instance_index position front_facing frag_depth
178
- local_invocation_id local_invocation_index
179
- global_invocation_id workgroup_id num_workgroups
180
- sample_index sample_mask
181
- rgba8unorm
182
- rgba8snorm
183
- rgba8uint
184
- rgba8sint
185
- rgba16uint
186
- rgba16sint
187
- rgba16float
188
- r32uint
189
- r32sint
190
- r32float
191
- rg32uint
192
- rg32sint
193
- rg32float
194
- rgba32uint
195
- rgba32sint
196
- rgba32float
197
- bgra8unorm
198
- `),p=e(`
199
- bool
200
- f16
201
- f32
202
- i32
203
- sampler sampler_comparison
204
- texture_depth_2d
205
- texture_depth_2d_array
206
- texture_depth_cube
207
- texture_depth_cube_array
208
- texture_depth_multisampled_2d
209
- texture_external
210
- texture_external
211
- u32
212
- `),d=e(`
213
- array
214
- atomic
215
- mat2x2
216
- mat2x3
217
- mat2x4
218
- mat3x2
219
- mat3x3
220
- mat3x4
221
- mat4x2
222
- mat4x3
223
- mat4x4
224
- ptr
225
- texture_1d
226
- texture_2d
227
- texture_2d_array
228
- texture_3d
229
- texture_cube
230
- texture_cube_array
231
- texture_multisampled_2d
232
- texture_storage_1d
233
- texture_storage_2d
234
- texture_storage_2d_array
235
- texture_storage_3d
236
- vec2
237
- vec3
238
- vec4
239
- `),x=e(`
240
- vec2i vec3i vec4i
241
- vec2u vec3u vec4u
242
- vec2f vec3f vec4f
243
- vec2h vec3h vec4h
244
- mat2x2f mat2x3f mat2x4f
245
- mat3x2f mat3x3f mat3x4f
246
- mat4x2f mat4x3f mat4x4f
247
- mat2x2h mat2x3h mat2x4h
248
- mat3x2h mat3x3h mat3x4h
249
- mat4x2h mat4x3h mat4x4h
250
- `),f=e(`
251
- bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
252
- ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
253
- degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
254
- firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
255
- log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
256
- reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
257
- trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
258
- textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
259
- textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
260
- textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
261
- textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
262
- atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
263
- pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
264
- unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
265
- workgroupUniformLoad
266
- `),_=e(`
267
- &
268
- &&
269
- ->
270
- /
271
- =
272
- ==
273
- !=
274
- >
275
- >=
276
- <
277
- <=
278
- %
279
- -
280
- --
281
- +
282
- ++
283
- |
284
- ||
285
- *
286
- <<
287
- >>
288
- +=
289
- -=
290
- *=
291
- /=
292
- %=
293
- &=
294
- |=
295
- ^=
296
- >>=
297
- <<=
298
- `),g=/enable|requires|diagnostic/,n=new RegExp("[_\\p{XID_Start}]\\p{XID_Continue}*","u"),t="variable.predefined",h={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:c,keywords:m,reserved:l,predeclared_enums:u,predeclared_types:p,predeclared_type_generators:d,predeclared_type_aliases:x,predeclared_intrinsics:f,operators:_,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[g,"keyword","@directive"],[n,{cases:{"@atoms":t,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":t,"@predeclared_types":t,"@predeclared_type_generators":t,"@predeclared_type_aliases":t,"@predeclared_intrinsics":t,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[n,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}};exports.conf=s;exports.language=h;
@@ -1,88 +0,0 @@
1
- import { l as e } from "./index-DnKFAZ-F.mjs";
2
- const n = {
3
- comments: {
4
- blockComment: ["<!--", "-->"]
5
- },
6
- brackets: [["<", ">"]],
7
- autoClosingPairs: [
8
- { open: "<", close: ">" },
9
- { open: "'", close: "'" },
10
- { open: '"', close: '"' }
11
- ],
12
- surroundingPairs: [
13
- { open: "<", close: ">" },
14
- { open: "'", close: "'" },
15
- { open: '"', close: '"' }
16
- ],
17
- onEnterRules: [
18
- {
19
- beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
20
- afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
21
- action: {
22
- indentAction: e.IndentAction.IndentOutdent
23
- }
24
- },
25
- {
26
- beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
27
- action: { indentAction: e.IndentAction.Indent }
28
- }
29
- ]
30
- }, o = {
31
- defaultToken: "",
32
- tokenPostfix: ".xml",
33
- ignoreCase: !0,
34
- // Useful regular expressions
35
- qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
36
- tokenizer: {
37
- root: [
38
- [/[^<&]+/, ""],
39
- { include: "@whitespace" },
40
- // Standard opening tag
41
- [/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
42
- // Standard closing tag
43
- [
44
- /(<\/)(@qualifiedName)(\s*)(>)/,
45
- [{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
46
- ],
47
- // Meta tags - instruction
48
- [/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
49
- // Meta tags - declaration
50
- [/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
51
- // CDATA
52
- [/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
53
- [/&\w+;/, "string.escape"]
54
- ],
55
- cdata: [
56
- [/[^\]]+/, ""],
57
- [/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
58
- [/\]/, ""]
59
- ],
60
- tag: [
61
- [/[ \t\r\n]+/, ""],
62
- [/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
63
- [
64
- /(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
65
- ["attribute.name", "", "attribute.value"]
66
- ],
67
- [/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
68
- [/@qualifiedName/, "attribute.name"],
69
- [/\?>/, { token: "delimiter", next: "@pop" }],
70
- [/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
71
- [/>/, { token: "delimiter", next: "@pop" }]
72
- ],
73
- whitespace: [
74
- [/[ \t\r\n]+/, ""],
75
- [/<!--/, { token: "comment", next: "@comment" }]
76
- ],
77
- comment: [
78
- [/[^<\-]+/, "comment.content"],
79
- [/-->/, { token: "comment", next: "@pop" }],
80
- [/<!--/, "comment.content.invalid"],
81
- [/[<\-]/, "comment.content"]
82
- ]
83
- }
84
- };
85
- export {
86
- n as conf,
87
- o as language
88
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BnVmN2qp.js"),t={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.languages.IndentAction.Indent}}]},n={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};exports.conf=t;exports.language=n;
@@ -1,199 +0,0 @@
1
- import { l as e } from "./index-DnKFAZ-F.mjs";
2
- const t = {
3
- comments: {
4
- lineComment: "#"
5
- },
6
- brackets: [
7
- ["{", "}"],
8
- ["[", "]"],
9
- ["(", ")"]
10
- ],
11
- autoClosingPairs: [
12
- { open: "{", close: "}" },
13
- { open: "[", close: "]" },
14
- { open: "(", close: ")" },
15
- { open: '"', close: '"' },
16
- { open: "'", close: "'" }
17
- ],
18
- surroundingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: '"', close: '"' },
23
- { open: "'", close: "'" }
24
- ],
25
- folding: {
26
- offSide: !0
27
- },
28
- onEnterRules: [
29
- {
30
- beforeText: /:\s*$/,
31
- action: {
32
- indentAction: e.IndentAction.Indent
33
- }
34
- }
35
- ]
36
- }, o = {
37
- tokenPostfix: ".yaml",
38
- brackets: [
39
- { token: "delimiter.bracket", open: "{", close: "}" },
40
- { token: "delimiter.square", open: "[", close: "]" }
41
- ],
42
- keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
43
- numberInteger: /(?:0|[+-]?[0-9]+)/,
44
- numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
45
- numberOctal: /0o[0-7]+/,
46
- numberHex: /0x[0-9a-fA-F]+/,
47
- numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
48
- numberNaN: /\.(?:nan|Nan|NAN)/,
49
- numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
50
- escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
51
- tokenizer: {
52
- root: [
53
- { include: "@whitespace" },
54
- { include: "@comment" },
55
- // Directive
56
- [/%[^ ]+.*$/, "meta.directive"],
57
- // Document Markers
58
- [/---/, "operators.directivesEnd"],
59
- [/\.{3}/, "operators.documentEnd"],
60
- // Block Structure Indicators
61
- [/[-?:](?= )/, "operators"],
62
- { include: "@anchor" },
63
- { include: "@tagHandle" },
64
- { include: "@flowCollections" },
65
- { include: "@blockStyle" },
66
- // Numbers
67
- [/@numberInteger(?![ \t]*\S+)/, "number"],
68
- [/@numberFloat(?![ \t]*\S+)/, "number.float"],
69
- [/@numberOctal(?![ \t]*\S+)/, "number.octal"],
70
- [/@numberHex(?![ \t]*\S+)/, "number.hex"],
71
- [/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
72
- [/@numberNaN(?![ \t]*\S+)/, "number.nan"],
73
- [/@numberDate(?![ \t]*\S+)/, "number.date"],
74
- // Key:Value pair
75
- [/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
76
- { include: "@flowScalars" },
77
- // String nodes
78
- [
79
- /.+?(?=(\s+#|$))/,
80
- {
81
- cases: {
82
- "@keywords": "keyword",
83
- "@default": "string"
84
- }
85
- }
86
- ]
87
- ],
88
- // Flow Collection: Flow Mapping
89
- object: [
90
- { include: "@whitespace" },
91
- { include: "@comment" },
92
- // Flow Mapping termination
93
- [/\}/, "@brackets", "@pop"],
94
- // Flow Mapping delimiter
95
- [/,/, "delimiter.comma"],
96
- // Flow Mapping Key:Value delimiter
97
- [/:(?= )/, "operators"],
98
- // Flow Mapping Key:Value key
99
- [/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
100
- // Start Flow Style
101
- { include: "@flowCollections" },
102
- { include: "@flowScalars" },
103
- // Scalar Data types
104
- { include: "@tagHandle" },
105
- { include: "@anchor" },
106
- { include: "@flowNumber" },
107
- // Other value (keyword or string)
108
- [
109
- /[^\},]+/,
110
- {
111
- cases: {
112
- "@keywords": "keyword",
113
- "@default": "string"
114
- }
115
- }
116
- ]
117
- ],
118
- // Flow Collection: Flow Sequence
119
- array: [
120
- { include: "@whitespace" },
121
- { include: "@comment" },
122
- // Flow Sequence termination
123
- [/\]/, "@brackets", "@pop"],
124
- // Flow Sequence delimiter
125
- [/,/, "delimiter.comma"],
126
- // Start Flow Style
127
- { include: "@flowCollections" },
128
- { include: "@flowScalars" },
129
- // Scalar Data types
130
- { include: "@tagHandle" },
131
- { include: "@anchor" },
132
- { include: "@flowNumber" },
133
- // Other value (keyword or string)
134
- [
135
- /[^\],]+/,
136
- {
137
- cases: {
138
- "@keywords": "keyword",
139
- "@default": "string"
140
- }
141
- }
142
- ]
143
- ],
144
- // First line of a Block Style
145
- multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
146
- // Further lines of a Block Style
147
- // Workaround for indentation detection
148
- multiStringContinued: [
149
- [
150
- /^( *).+$/,
151
- {
152
- cases: {
153
- "$1==$S2": "string",
154
- "@default": { token: "@rematch", next: "@popall" }
155
- }
156
- }
157
- ]
158
- ],
159
- whitespace: [[/[ \t\r\n]+/, "white"]],
160
- // Only line comments
161
- comment: [[/#.*$/, "comment"]],
162
- // Start Flow Collections
163
- flowCollections: [
164
- [/\[/, "@brackets", "@array"],
165
- [/\{/, "@brackets", "@object"]
166
- ],
167
- // Start Flow Scalars (quoted strings)
168
- flowScalars: [
169
- [/"([^"\\]|\\.)*$/, "string.invalid"],
170
- [/'([^'\\]|\\.)*$/, "string.invalid"],
171
- [/'[^']*'/, "string"],
172
- [/"/, "string", "@doubleQuotedString"]
173
- ],
174
- doubleQuotedString: [
175
- [/[^\\"]+/, "string"],
176
- [/@escapes/, "string.escape"],
177
- [/\\./, "string.escape.invalid"],
178
- [/"/, "string", "@pop"]
179
- ],
180
- // Start Block Scalar
181
- blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
182
- // Numbers in Flow Collections (terminate with ,]})
183
- flowNumber: [
184
- [/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
185
- [/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
186
- [/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
187
- [/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
188
- [/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
189
- [/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
190
- [/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
191
- ],
192
- tagHandle: [[/\![^ ]*/, "tag"]],
193
- anchor: [[/[&*][^ ]+/, "namespace"]]
194
- }
195
- };
196
- export {
197
- t as conf,
198
- o as language
199
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BnVmN2qp.js"),n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.languages.IndentAction.Indent}}]},t={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};exports.conf=n;exports.language=t;