monaco-editor11 1.1.7 → 1.1.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.
Files changed (96) hide show
  1. package/dist/abap-CrvW7_qN.mjs +1398 -0
  2. package/dist/apex-BAOI8p1v.mjs +327 -0
  3. package/dist/assets/html.worker-C8VxctEJ.js +470 -0
  4. package/dist/azcli-BlCk_UqW.mjs +68 -0
  5. package/dist/bat-DPoEelVx.mjs +100 -0
  6. package/dist/bicep-Cp1F394l.mjs +102 -0
  7. package/dist/cameligo-CWqtSlQs.mjs +174 -0
  8. package/dist/clojure-CKBp32Gf.mjs +761 -0
  9. package/dist/coffee-CDo6vc-J.mjs +232 -0
  10. package/dist/cpp-DokufPgf.mjs +389 -0
  11. package/dist/csharp-BQi3szM0.mjs +326 -0
  12. package/dist/csp-BSGtCCZ-.mjs +53 -0
  13. package/dist/css-DEPFDJfb.mjs +187 -0
  14. package/dist/cssMode-BQ5BKBAY.mjs +141 -0
  15. package/dist/cypher-DAb1vOxS.mjs +263 -0
  16. package/dist/dart-C8p4jewR.mjs +281 -0
  17. package/dist/dockerfile-DP0iLFPN.mjs +130 -0
  18. package/dist/ecl-BDQHA6fi.mjs +456 -0
  19. package/dist/elixir-D4II6kDM.mjs +569 -0
  20. package/dist/environment.d.ts +1 -1
  21. package/dist/flow9-StcnL-VB.mjs +142 -0
  22. package/dist/freemarker2-6GYcye2r.mjs +982 -0
  23. package/dist/fsharp-DdUVp3EN.mjs +217 -0
  24. package/dist/go-D1-I258M.mjs +218 -0
  25. package/dist/graphql-DWkL3f8U.mjs +151 -0
  26. package/dist/handlebars-5_7gZ3QS.mjs +412 -0
  27. package/dist/hcl-D_0MNifv.mjs +183 -0
  28. package/dist/html-2thNXsIu.mjs +301 -0
  29. package/dist/htmlMode-Dmqis0oY.mjs +152 -0
  30. package/dist/index-CiIcpngo.mjs +128785 -0
  31. package/dist/index.d.ts +1 -7
  32. package/dist/ini-C4I2-MT7.mjs +71 -0
  33. package/dist/java-OBvaP_SS.mjs +232 -0
  34. package/dist/javascript-DGu9heQ1.mjs +70 -0
  35. package/dist/jsonMode-BHf-60PU.mjs +577 -0
  36. package/dist/julia-BmDH8Kkf.mjs +511 -0
  37. package/dist/kotlin-Dhu5AGOD.mjs +252 -0
  38. package/dist/less-CzmjXREq.mjs +162 -0
  39. package/dist/lexon-CV2c4pN9.mjs +157 -0
  40. package/dist/liquid-B6d5eZ0w.mjs +233 -0
  41. package/dist/lspLanguageFeatures-CQ-4g5T6.mjs +1458 -0
  42. package/dist/lua-CFY5U8qF.mjs +162 -0
  43. package/dist/m3-BL_AnZVh.mjs +210 -0
  44. package/dist/markdown-CWKQPXCv.mjs +229 -0
  45. package/dist/mdx-Dc2EzqW9.mjs +158 -0
  46. package/dist/mips-ButYmJ5E.mjs +198 -0
  47. package/dist/monaco-editor11.css +1 -0
  48. package/dist/monaco-editor11.es.js +21 -58
  49. package/dist/monaco-editor11.umd.js +1234 -1
  50. package/dist/msdax-C3cnXqDh.mjs +375 -0
  51. package/dist/mysql-YlSHaf6G.mjs +878 -0
  52. package/dist/objective-c-Dwnlproe.mjs +183 -0
  53. package/dist/pascal-UzGbSWEN.mjs +251 -0
  54. package/dist/pascaligo-CslTgu68.mjs +164 -0
  55. package/dist/perl-oj6r_mgw.mjs +626 -0
  56. package/dist/pgsql-DSBO0Mev.mjs +851 -0
  57. package/dist/php-YzCD--7j.mjs +500 -0
  58. package/dist/pla-CmylB8vQ.mjs +137 -0
  59. package/dist/postiats-CLFW5gNY.mjs +907 -0
  60. package/dist/powerquery-CmOWUvlh.mjs +890 -0
  61. package/dist/powershell-fHQcmBLK.mjs +239 -0
  62. package/dist/protobuf-p5BArb-9.mjs +420 -0
  63. package/dist/pug-gVdUDvqf.mjs +402 -0
  64. package/dist/python-BN7PRYMW.mjs +294 -0
  65. package/dist/qsharp-DnrWSUlt.mjs +301 -0
  66. package/dist/r-Cv309K2z.mjs +243 -0
  67. package/dist/razor-amsYwW3e.mjs +543 -0
  68. package/dist/redis-DTcS4wMj.mjs +302 -0
  69. package/dist/redshift-hLxZVESM.mjs +809 -0
  70. package/dist/restructuredtext-C898lK4f.mjs +174 -0
  71. package/dist/ruby-CgKtnJIQ.mjs +511 -0
  72. package/dist/rust-bj8oxVnh.mjs +343 -0
  73. package/dist/sb-DWynz26l.mjs +115 -0
  74. package/dist/scala-BL5z1UEd.mjs +370 -0
  75. package/dist/scheme-DUJsH6VU.mjs +108 -0
  76. package/dist/scss-CxjmhvaL.mjs +262 -0
  77. package/dist/shell-D14Zs1dF.mjs +221 -0
  78. package/dist/solidity-WyRm-BGK.mjs +1367 -0
  79. package/dist/sophia-CKk-_Oa5.mjs +199 -0
  80. package/dist/sparql-DHtmINMZ.mjs +201 -0
  81. package/dist/sql-Dqaj5JHC.mjs +853 -0
  82. package/dist/st-Bj2IIaop.mjs +416 -0
  83. package/dist/swift-DwxP72iM.mjs +312 -0
  84. package/dist/systemverilog-D7wJfuql.mjs +576 -0
  85. package/dist/tcl-0ApMt-eC.mjs +232 -0
  86. package/dist/tsMode-CfGJAg8A.mjs +946 -0
  87. package/dist/twig-DxwbdmvQ.mjs +392 -0
  88. package/dist/typescript-BkqvjzTg.mjs +336 -0
  89. package/dist/typespec-Fd-JwSuS.mjs +117 -0
  90. package/dist/vb-CxuyYE1I.mjs +372 -0
  91. package/dist/wgsl-DoEGc31J.mjs +439 -0
  92. package/dist/xml-BE08lKLg.mjs +88 -0
  93. package/dist/yaml-DaPfb7D4.mjs +199 -0
  94. package/package.json +2 -2
  95. package/dist/monacoeditorwork/html.worker.bundle.js +0 -30455
  96. /package/dist/monacoeditorwork/{editor.worker.bundle.js → editor.worker..bundle.js} +0 -0
@@ -0,0 +1,233 @@
1
+ import { l as e } from "./index-CiIcpngo.mjs";
2
+ const t = [
3
+ "area",
4
+ "base",
5
+ "br",
6
+ "col",
7
+ "embed",
8
+ "hr",
9
+ "img",
10
+ "input",
11
+ "keygen",
12
+ "link",
13
+ "menuitem",
14
+ "meta",
15
+ "param",
16
+ "source",
17
+ "track",
18
+ "wbr"
19
+ ], n = {
20
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
21
+ brackets: [
22
+ ["<!--", "-->"],
23
+ ["<", ">"],
24
+ ["{{", "}}"],
25
+ ["{%", "%}"],
26
+ ["{", "}"],
27
+ ["(", ")"]
28
+ ],
29
+ autoClosingPairs: [
30
+ { open: "{", close: "}" },
31
+ { open: "%", close: "%" },
32
+ { open: "[", close: "]" },
33
+ { open: "(", close: ")" },
34
+ { open: '"', close: '"' },
35
+ { open: "'", close: "'" }
36
+ ],
37
+ surroundingPairs: [
38
+ { open: "<", close: ">" },
39
+ { open: '"', close: '"' },
40
+ { open: "'", close: "'" }
41
+ ],
42
+ onEnterRules: [
43
+ {
44
+ beforeText: new RegExp(
45
+ `<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
46
+ "i"
47
+ ),
48
+ afterText: /^<\/(\w[\w\d]*)\s*>$/i,
49
+ action: {
50
+ indentAction: e.IndentAction.IndentOutdent
51
+ }
52
+ },
53
+ {
54
+ beforeText: new RegExp(
55
+ `<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
56
+ "i"
57
+ ),
58
+ action: { indentAction: e.IndentAction.Indent }
59
+ }
60
+ ]
61
+ }, o = {
62
+ defaultToken: "",
63
+ tokenPostfix: "",
64
+ builtinTags: [
65
+ "if",
66
+ "else",
67
+ "elseif",
68
+ "endif",
69
+ "render",
70
+ "assign",
71
+ "capture",
72
+ "endcapture",
73
+ "case",
74
+ "endcase",
75
+ "comment",
76
+ "endcomment",
77
+ "cycle",
78
+ "decrement",
79
+ "for",
80
+ "endfor",
81
+ "include",
82
+ "increment",
83
+ "layout",
84
+ "raw",
85
+ "endraw",
86
+ "render",
87
+ "tablerow",
88
+ "endtablerow",
89
+ "unless",
90
+ "endunless"
91
+ ],
92
+ builtinFilters: [
93
+ "abs",
94
+ "append",
95
+ "at_least",
96
+ "at_most",
97
+ "capitalize",
98
+ "ceil",
99
+ "compact",
100
+ "date",
101
+ "default",
102
+ "divided_by",
103
+ "downcase",
104
+ "escape",
105
+ "escape_once",
106
+ "first",
107
+ "floor",
108
+ "join",
109
+ "json",
110
+ "last",
111
+ "lstrip",
112
+ "map",
113
+ "minus",
114
+ "modulo",
115
+ "newline_to_br",
116
+ "plus",
117
+ "prepend",
118
+ "remove",
119
+ "remove_first",
120
+ "replace",
121
+ "replace_first",
122
+ "reverse",
123
+ "round",
124
+ "rstrip",
125
+ "size",
126
+ "slice",
127
+ "sort",
128
+ "sort_natural",
129
+ "split",
130
+ "strip",
131
+ "strip_html",
132
+ "strip_newlines",
133
+ "times",
134
+ "truncate",
135
+ "truncatewords",
136
+ "uniq",
137
+ "upcase",
138
+ "url_decode",
139
+ "url_encode",
140
+ "where"
141
+ ],
142
+ constants: ["true", "false"],
143
+ operators: ["==", "!=", ">", "<", ">=", "<="],
144
+ symbol: /[=><!]+/,
145
+ identifier: /[a-zA-Z_][\w]*/,
146
+ tokenizer: {
147
+ root: [
148
+ [/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
149
+ [/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
150
+ [/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
151
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
152
+ [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
153
+ [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
154
+ [/</, "delimiter.html"],
155
+ [/\{/, "delimiter.html"],
156
+ [/[^<{]+/]
157
+ // text
158
+ ],
159
+ comment: [
160
+ [/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
161
+ [/./, "comment.content.liquid"]
162
+ ],
163
+ otherTag: [
164
+ [
165
+ /\{\{/,
166
+ {
167
+ token: "@rematch",
168
+ switchTo: "@liquidState.otherTag"
169
+ }
170
+ ],
171
+ [
172
+ /\{\%/,
173
+ {
174
+ token: "@rematch",
175
+ switchTo: "@liquidState.otherTag"
176
+ }
177
+ ],
178
+ [/\/?>/, "delimiter.html", "@pop"],
179
+ [/"([^"]*)"/, "attribute.value"],
180
+ [/'([^']*)'/, "attribute.value"],
181
+ [/[\w\-]+/, "attribute.name"],
182
+ [/=/, "delimiter"],
183
+ [/[ \t\r\n]+/]
184
+ // whitespace
185
+ ],
186
+ liquidState: [
187
+ [/\{\{/, "delimiter.output.liquid"],
188
+ [/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
189
+ [/\{\%/, "delimiter.tag.liquid"],
190
+ [/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
191
+ [/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
192
+ { include: "liquidRoot" }
193
+ ],
194
+ liquidRaw: [
195
+ [/^(?!\{\%\s*endraw\s*\%\}).+/],
196
+ [/\{\%/, "delimiter.tag.liquid"],
197
+ [/@identifier/],
198
+ [/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
199
+ ],
200
+ liquidRoot: [
201
+ [/\d+(\.\d+)?/, "number.liquid"],
202
+ [/"[^"]*"/, "string.liquid"],
203
+ [/'[^']*'/, "string.liquid"],
204
+ [/\s+/],
205
+ [
206
+ /@symbol/,
207
+ {
208
+ cases: {
209
+ "@operators": "operator.liquid",
210
+ "@default": ""
211
+ }
212
+ }
213
+ ],
214
+ [/\./],
215
+ [
216
+ /@identifier/,
217
+ {
218
+ cases: {
219
+ "@constants": "keyword.liquid",
220
+ "@builtinFilters": "predefined.liquid",
221
+ "@builtinTags": "predefined.liquid",
222
+ "@default": "variable.liquid"
223
+ }
224
+ }
225
+ ],
226
+ [/[^}|%]/, "variable.liquid"]
227
+ ]
228
+ }
229
+ };
230
+ export {
231
+ n as conf,
232
+ o as language
233
+ };