@vrowzer/vite-plugin 0.0.0

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 (39) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +290 -0
  3. package/dist/ide/assets/css.worker-uWEFNxvl.js +89 -0
  4. package/dist/ide/assets/html.worker-1tLoAl5Z.js +502 -0
  5. package/dist/ide/assets/json.worker-CL3sVQd6.js +58 -0
  6. package/dist/ide/assets/ts.worker-BFpNHPy5.js +67719 -0
  7. package/dist/ide/css-CPSW8DVZ.js +286 -0
  8. package/dist/ide/cssMode-B5DtFEwy.js +65 -0
  9. package/dist/ide/graphql-BteLL2CG.js +176 -0
  10. package/dist/ide/handlebars-BcqMM6pa.js +412 -0
  11. package/dist/ide/html-CxO5OaJl.js +333 -0
  12. package/dist/ide/htmlMode-DxpUG2jm.js +74 -0
  13. package/dist/ide/ide.css +2 -0
  14. package/dist/ide/ide.js +5523 -0
  15. package/dist/ide/javascript-CvtLx4_Z.js +21 -0
  16. package/dist/ide/jsonMode-LVtiYWKr.js +449 -0
  17. package/dist/ide/less-BubkcFWW.js +244 -0
  18. package/dist/ide/lspLanguageFeatures-BDyekQt2.js +1455 -0
  19. package/dist/ide/markdown-DPB5N4OB.js +264 -0
  20. package/dist/ide/mdx-Sun87_nd.js +329 -0
  21. package/dist/ide/monaco.contribution-DVj8eGe_.js +116 -0
  22. package/dist/ide/pug-BONHZNEg.js +302 -0
  23. package/dist/ide/scss-0r6NeK1P.js +419 -0
  24. package/dist/ide/shell-Vh_eZpea.js +225 -0
  25. package/dist/ide/toggleHighContrast-DI4ZeqFk.js +113328 -0
  26. package/dist/ide/tsMode-BKTkt1bt.js +567 -0
  27. package/dist/ide/typescript-CHC4VYBW.js +257 -0
  28. package/dist/ide/workers-IG_hD8Jy.js +47 -0
  29. package/dist/ide/xml-C0QFzMaz.js +130 -0
  30. package/dist/ide/yaml-o-RP7lYY.js +223 -0
  31. package/dist/index.d.mts +138 -0
  32. package/dist/index.d.mts.map +1 -0
  33. package/dist/index.mjs +1335 -0
  34. package/dist/index.mjs.map +1 -0
  35. package/dist/manifest-generate.d.mts +89 -0
  36. package/dist/manifest-generate.d.mts.map +1 -0
  37. package/dist/manifest-generate.mjs +438 -0
  38. package/dist/manifest-generate.mjs.map +1 -0
  39. package/package.json +88 -0
@@ -0,0 +1,244 @@
1
+ //#region ../../node_modules/.pnpm/monaco-editor@0.55.1/node_modules/monaco-editor/esm/vs/basic-languages/less/less.js
2
+ var e = {
3
+ wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
4
+ comments: {
5
+ blockComment: ["/*", "*/"],
6
+ lineComment: "//"
7
+ },
8
+ brackets: [
9
+ ["{", "}"],
10
+ ["[", "]"],
11
+ ["(", ")"]
12
+ ],
13
+ autoClosingPairs: [
14
+ {
15
+ open: "{",
16
+ close: "}",
17
+ notIn: ["string", "comment"]
18
+ },
19
+ {
20
+ open: "[",
21
+ close: "]",
22
+ notIn: ["string", "comment"]
23
+ },
24
+ {
25
+ open: "(",
26
+ close: ")",
27
+ notIn: ["string", "comment"]
28
+ },
29
+ {
30
+ open: "\"",
31
+ close: "\"",
32
+ notIn: ["string", "comment"]
33
+ },
34
+ {
35
+ open: "'",
36
+ close: "'",
37
+ notIn: ["string", "comment"]
38
+ }
39
+ ],
40
+ surroundingPairs: [
41
+ {
42
+ open: "{",
43
+ close: "}"
44
+ },
45
+ {
46
+ open: "[",
47
+ close: "]"
48
+ },
49
+ {
50
+ open: "(",
51
+ close: ")"
52
+ },
53
+ {
54
+ open: "\"",
55
+ close: "\""
56
+ },
57
+ {
58
+ open: "'",
59
+ close: "'"
60
+ }
61
+ ],
62
+ folding: { markers: {
63
+ start: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
64
+ end: /* @__PURE__ */ RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
65
+ } }
66
+ }, t = {
67
+ defaultToken: "",
68
+ tokenPostfix: ".less",
69
+ identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
70
+ identifierPlus: "-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
71
+ brackets: [
72
+ {
73
+ open: "{",
74
+ close: "}",
75
+ token: "delimiter.curly"
76
+ },
77
+ {
78
+ open: "[",
79
+ close: "]",
80
+ token: "delimiter.bracket"
81
+ },
82
+ {
83
+ open: "(",
84
+ close: ")",
85
+ token: "delimiter.parenthesis"
86
+ },
87
+ {
88
+ open: "<",
89
+ close: ">",
90
+ token: "delimiter.angle"
91
+ }
92
+ ],
93
+ tokenizer: {
94
+ root: [
95
+ { include: "@nestedJSBegin" },
96
+ ["[ \\t\\r\\n]+", ""],
97
+ { include: "@comments" },
98
+ { include: "@keyword" },
99
+ { include: "@strings" },
100
+ { include: "@numbers" },
101
+ [
102
+ "[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))",
103
+ "attribute.name",
104
+ "@attribute"
105
+ ],
106
+ ["url(\\-prefix)?\\(", {
107
+ token: "tag",
108
+ next: "@urldeclaration"
109
+ }],
110
+ ["[{}()\\[\\]]", "@brackets"],
111
+ ["[,:;]", "delimiter"],
112
+ ["#@identifierPlus", "tag.id"],
113
+ ["&", "tag"],
114
+ [
115
+ "\\.@identifierPlus(?=\\()",
116
+ "tag.class",
117
+ "@attribute"
118
+ ],
119
+ ["\\.@identifierPlus", "tag.class"],
120
+ ["@identifierPlus", "tag"],
121
+ { include: "@operators" },
122
+ [
123
+ "@(@identifier(?=[:,\\)]))",
124
+ "variable",
125
+ "@attribute"
126
+ ],
127
+ ["@(@identifier)", "variable"],
128
+ [
129
+ "@",
130
+ "key",
131
+ "@atRules"
132
+ ]
133
+ ],
134
+ nestedJSBegin: [["``", "delimiter.backtick"], ["`", {
135
+ token: "delimiter.backtick",
136
+ next: "@nestedJSEnd",
137
+ nextEmbedded: "text/javascript"
138
+ }]],
139
+ nestedJSEnd: [["`", {
140
+ token: "delimiter.backtick",
141
+ next: "@pop",
142
+ nextEmbedded: "@pop"
143
+ }]],
144
+ operators: [["[<>=\\+\\-\\*\\/\\^\\|\\~]", "operator"]],
145
+ keyword: [["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b", "keyword"]],
146
+ urldeclaration: [
147
+ { include: "@strings" },
148
+ ["[^)\r\n]+", "string"],
149
+ ["\\)", {
150
+ token: "tag",
151
+ next: "@pop"
152
+ }]
153
+ ],
154
+ attribute: [
155
+ { include: "@nestedJSBegin" },
156
+ { include: "@comments" },
157
+ { include: "@strings" },
158
+ { include: "@numbers" },
159
+ { include: "@keyword" },
160
+ [
161
+ "[a-zA-Z\\-]+(?=\\()",
162
+ "attribute.value",
163
+ "@attribute"
164
+ ],
165
+ [
166
+ ">",
167
+ "operator",
168
+ "@pop"
169
+ ],
170
+ ["@identifier", "attribute.value"],
171
+ { include: "@operators" },
172
+ ["@(@identifier)", "variable"],
173
+ [
174
+ "[)\\}]",
175
+ "@brackets",
176
+ "@pop"
177
+ ],
178
+ ["[{}()\\[\\]>]", "@brackets"],
179
+ [
180
+ "[;]",
181
+ "delimiter",
182
+ "@pop"
183
+ ],
184
+ ["[,=:]", "delimiter"],
185
+ ["\\s", ""],
186
+ [".", "attribute.value"]
187
+ ],
188
+ comments: [[
189
+ "\\/\\*",
190
+ "comment",
191
+ "@comment"
192
+ ], ["\\/\\/+.*", "comment"]],
193
+ comment: [[
194
+ "\\*\\/",
195
+ "comment",
196
+ "@pop"
197
+ ], [".", "comment"]],
198
+ numbers: [["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", {
199
+ token: "attribute.value.number",
200
+ next: "@units"
201
+ }], ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]],
202
+ units: [[
203
+ "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
204
+ "attribute.value.unit",
205
+ "@pop"
206
+ ]],
207
+ strings: [["~?\"", {
208
+ token: "string.delimiter",
209
+ next: "@stringsEndDoubleQuote"
210
+ }], ["~?'", {
211
+ token: "string.delimiter",
212
+ next: "@stringsEndQuote"
213
+ }]],
214
+ stringsEndDoubleQuote: [
215
+ ["\\\\\"", "string"],
216
+ ["\"", {
217
+ token: "string.delimiter",
218
+ next: "@popall"
219
+ }],
220
+ [".", "string"]
221
+ ],
222
+ stringsEndQuote: [
223
+ ["\\\\'", "string"],
224
+ ["'", {
225
+ token: "string.delimiter",
226
+ next: "@popall"
227
+ }],
228
+ [".", "string"]
229
+ ],
230
+ atRules: [
231
+ { include: "@comments" },
232
+ { include: "@strings" },
233
+ ["[()]", "delimiter"],
234
+ [
235
+ "[\\{;]",
236
+ "delimiter",
237
+ "@pop"
238
+ ],
239
+ [".", "key"]
240
+ ]
241
+ }
242
+ };
243
+ //#endregion
244
+ export { e as conf, t as language };