form-imagining 0.0.6 → 0.0.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 (148) hide show
  1. package/README.md +13 -16
  2. package/dist/abap-5361cc9f.js +1314 -0
  3. package/dist/apex-f9413e6f.js +315 -0
  4. package/dist/assets/css.worker-c3850ceb.js +88 -0
  5. package/dist/assets/editor.worker-94ffd778.js +12 -0
  6. package/dist/assets/html.worker-88b237e1.js +460 -0
  7. package/dist/assets/json.worker-8dd963f3.js +43 -0
  8. package/dist/assets/ts.worker-184cdfdf.js +37022 -0
  9. package/dist/azcli-36f2cb5e.js +74 -0
  10. package/dist/bat-6b05202d.js +95 -0
  11. package/dist/bicep-788415e3.js +108 -0
  12. package/dist/cameligo-4e85ec93.js +168 -0
  13. package/dist/clojure-40fa5799.js +754 -0
  14. package/dist/coffee-f557f5e0.js +228 -0
  15. package/dist/cpp-ebbf7759.js +390 -0
  16. package/dist/csharp-1616f566.js +320 -0
  17. package/dist/csp-5f0bc3c4.js +57 -0
  18. package/dist/css-2b1aec9b.js +186 -0
  19. package/dist/cssMode-0bcb1554.js +1447 -0
  20. package/dist/cypher-b12b4ba8.js +262 -0
  21. package/dist/dart-e0d70030.js +270 -0
  22. package/dist/dockerfile-f9d4b2b0.js +132 -0
  23. package/dist/ecl-5b91fdec.js +454 -0
  24. package/dist/elixir-deffd5a6.js +489 -0
  25. package/dist/flow9-84cd00d7.js +141 -0
  26. package/dist/form-imagining.js +3 -16340
  27. package/dist/form-imagining.umd.cjs +1978 -102
  28. package/dist/freemarker2-4d8e8e55.js +644 -0
  29. package/dist/fsharp-d296151f.js +210 -0
  30. package/dist/go-7e72ff3b.js +208 -0
  31. package/dist/graphql-a93568a1.js +141 -0
  32. package/dist/handlebars-c43672f7.js +392 -0
  33. package/dist/hcl-b3994d8f.js +177 -0
  34. package/dist/html-c6099a2e.js +282 -0
  35. package/dist/htmlMode-31c10440.js +1457 -0
  36. package/dist/index-a3197e12.js +122055 -0
  37. package/dist/ini-df84509a.js +68 -0
  38. package/dist/java-fba3d046.js +221 -0
  39. package/dist/javascript-ac2b4ae2.js +77 -0
  40. package/dist/jsonMode-36333022.js +1868 -0
  41. package/dist/julia-cefd45f6.js +496 -0
  42. package/dist/kotlin-b87b6942.js +245 -0
  43. package/dist/less-8a7f37bc.js +168 -0
  44. package/dist/lexon-cb95cd13.js +151 -0
  45. package/dist/liquid-b5021331.js +239 -0
  46. package/dist/lua-6d5b3ea4.js +157 -0
  47. package/dist/m3-d0daf5d0.js +210 -0
  48. package/dist/markdown-48bb0c6f.js +202 -0
  49. package/dist/mdx-bbae5f86.js +172 -0
  50. package/dist/mips-20dcf886.js +194 -0
  51. package/dist/msdax-e9759e23.js +377 -0
  52. package/dist/mysql-95f335b2.js +876 -0
  53. package/dist/objective-c-ad0cfb47.js +188 -0
  54. package/dist/pascal-eda19dc3.js +245 -0
  55. package/dist/pascaligo-b7e0c89b.js +158 -0
  56. package/dist/perl-bbe5d32a.js +599 -0
  57. package/dist/pgsql-7ebaee1c.js +847 -0
  58. package/dist/php-2526756d.js +471 -0
  59. package/dist/pla-9ebd6f68.js +131 -0
  60. package/dist/postiats-9ac05cf6.js +544 -0
  61. package/dist/powerquery-1cae399d.js +890 -0
  62. package/dist/powershell-093b5b87.js +233 -0
  63. package/dist/protobuf-37993cbc.js +422 -0
  64. package/dist/pug-c2a5db5f.js +393 -0
  65. package/dist/python-fc373d9f.js +260 -0
  66. package/dist/qsharp-1450aac5.js +282 -0
  67. package/dist/r-a0642b90.js +245 -0
  68. package/dist/razor-1e9d135a.js +513 -0
  69. package/dist/redis-405cb63d.js +298 -0
  70. package/dist/redshift-830f82de.js +806 -0
  71. package/dist/restructuredtext-d81f5ef4.js +162 -0
  72. package/dist/ruby-d607b87e.js +444 -0
  73. package/dist/rust-86e74dbb.js +337 -0
  74. package/dist/sb-b7e5010d.js +110 -0
  75. package/dist/scala-a4d4a3c6.js +353 -0
  76. package/dist/scheme-81927e94.js +114 -0
  77. package/dist/scss-3f112fcd.js +244 -0
  78. package/dist/shell-d795bcaa.js +224 -0
  79. package/dist/solidity-5b556d3e.js +1351 -0
  80. package/dist/sophia-1da55998.js +190 -0
  81. package/dist/sparql-ac34318e.js +193 -0
  82. package/dist/sql-eef6393b.js +818 -0
  83. package/dist/st-758b1972.js +415 -0
  84. package/dist/style.css +1 -1
  85. package/dist/swift-63cb1847.js +315 -0
  86. package/dist/systemverilog-2538c608.js +556 -0
  87. package/dist/tcl-53e6282a.js +232 -0
  88. package/dist/tsMode-ea3b05db.js +815 -0
  89. package/dist/twig-80c3dc23.js +323 -0
  90. package/dist/typescript-b2ef5e0f.js +329 -0
  91. package/dist/vb-32089525.js +364 -0
  92. package/dist/wgsl-e681d5a0.js +420 -0
  93. package/dist/xml-579a5775.js +96 -0
  94. package/dist/yaml-c31c56b7.js +185 -0
  95. package/package.json +11 -18
  96. package/dist/components/generate/GenerateForm.vue.d.ts +0 -2
  97. package/dist/components/index.d.ts +0 -9
  98. package/dist/components/model/baseModel.d.ts +0 -8
  99. package/dist/components/model/dataSourceModel.d.ts +0 -19
  100. package/dist/components/model/gridModel.d.ts +0 -55
  101. package/dist/components/model/inputModel.d.ts +0 -14
  102. package/dist/components/model/reportModel.d.ts +0 -43
  103. package/dist/components/model/scriptModel.d.ts +0 -6
  104. package/dist/components/model/sqlModel.d.ts +0 -7
  105. package/dist/components/model/tableModel.d.ts +0 -16
  106. package/dist/components/model/textModel.d.ts +0 -14
  107. package/dist/components/monaco/monacoEditorType.d.ts +0 -56
  108. package/dist/components/registerGlobComp.d.ts +0 -3
  109. package/dist/components/wonderform/HelloWord.vue.d.ts +0 -2
  110. package/dist/components/wonderform/config/index.vue.d.ts +0 -14
  111. package/dist/components/wonderform/config/modules/Col.vue.d.ts +0 -14
  112. package/dist/components/wonderform/config/modules/DataSource.vue.d.ts +0 -2
  113. package/dist/components/wonderform/config/modules/Form.vue.d.ts +0 -2
  114. package/dist/components/wonderform/config/modules/Grid.vue.d.ts +0 -14
  115. package/dist/components/wonderform/config/modules/Properties.vue.d.ts +0 -14
  116. package/dist/components/wonderform/config/modules/Table.vue.d.ts +0 -14
  117. package/dist/components/wonderform/config/modules/TypeScript.vue.d.ts +0 -2
  118. package/dist/components/wonderform/design/index.vue.d.ts +0 -6
  119. package/dist/components/wonderform/design/modules/FormGrid.vue.d.ts +0 -38
  120. package/dist/components/wonderform/design/modules/FormInput.vue.d.ts +0 -26
  121. package/dist/components/wonderform/design/modules/FormReport.vue.d.ts +0 -32
  122. package/dist/components/wonderform/design/modules/FormTable.vue.d.ts +0 -32
  123. package/dist/components/wonderform/dsource/index.vue.d.ts +0 -14
  124. package/dist/components/wonderform/dsource/modules/SqlModule.vue.d.ts +0 -40
  125. package/dist/components/wonderform/header/Header.vue.d.ts +0 -2
  126. package/dist/components/wonderform/header/modules/Code.vue.d.ts +0 -23
  127. package/dist/components/wonderform/header/modules/events.d.ts +0 -1
  128. package/dist/components/wonderform/index.vue.d.ts +0 -2
  129. package/dist/components/wonderform/tool/index.vue.d.ts +0 -2
  130. package/dist/enums/httpEnum.d.ts +0 -37
  131. package/dist/main.d.ts +0 -1
  132. package/dist/mock/dict.d.ts +0 -8
  133. package/dist/router/guard/index.d.ts +0 -2
  134. package/dist/router/guard/permissionGuard.d.ts +0 -2
  135. package/dist/router/index.d.ts +0 -3
  136. package/dist/router/routes/basicRoutes.d.ts +0 -8
  137. package/dist/stores/index.d.ts +0 -4
  138. package/dist/stores/modules/data.d.ts +0 -7177
  139. package/dist/stores/modules/form.d.ts +0 -2060
  140. package/dist/utils/form/commonUtils.d.ts +0 -8
  141. package/dist/utils/form/config.d.ts +0 -107
  142. package/dist/utils/form/generatecode.d.ts +0 -23
  143. package/dist/utils/form/validateUtil.d.ts +0 -13
  144. package/dist/utils/form/wonder1.0.1.d.ts +0 -29
  145. package/dist/utils/http/axios/axios.d.ts +0 -48
  146. package/dist/utils/http/axios/axiosModel.d.ts +0 -8
  147. package/dist/utils/http/axios/index.d.ts +0 -2
  148. package/dist/utils/utils.d.ts +0 -1
@@ -0,0 +1,353 @@
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 e = {
8
+ wordPattern: /(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,
9
+ comments: {
10
+ lineComment: "//",
11
+ blockComment: ["/*", "*/"]
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}" },
20
+ { open: "[", close: "]" },
21
+ { open: "(", close: ")" },
22
+ { open: '"', close: '"' },
23
+ { open: "'", close: "'" }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: '"', close: '"' },
30
+ { open: "'", close: "'" }
31
+ ],
32
+ folding: {
33
+ markers: {
34
+ start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
35
+ end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
36
+ }
37
+ }
38
+ }, t = {
39
+ tokenPostfix: ".scala",
40
+ keywords: [
41
+ "asInstanceOf",
42
+ "catch",
43
+ "class",
44
+ "classOf",
45
+ "def",
46
+ "do",
47
+ "else",
48
+ "extends",
49
+ "finally",
50
+ "for",
51
+ "foreach",
52
+ "forSome",
53
+ "if",
54
+ "import",
55
+ "isInstanceOf",
56
+ "macro",
57
+ "match",
58
+ "new",
59
+ "object",
60
+ "package",
61
+ "return",
62
+ "throw",
63
+ "trait",
64
+ "try",
65
+ "type",
66
+ "until",
67
+ "val",
68
+ "var",
69
+ "while",
70
+ "with",
71
+ "yield",
72
+ "given",
73
+ "enum",
74
+ "then"
75
+ ],
76
+ softKeywords: ["as", "export", "extension", "end", "derives", "on"],
77
+ constants: ["true", "false", "null", "this", "super"],
78
+ modifiers: [
79
+ "abstract",
80
+ "final",
81
+ "implicit",
82
+ "lazy",
83
+ "override",
84
+ "private",
85
+ "protected",
86
+ "sealed"
87
+ ],
88
+ softModifiers: ["inline", "opaque", "open", "transparent", "using"],
89
+ name: /(?:[a-z_$][\w$]*|`[^`]+`)/,
90
+ type: /(?:[A-Z][\w$]*)/,
91
+ symbols: /[=><!~?:&|+\-*\/^\\%@#]+/,
92
+ digits: /\d+(_+\d+)*/,
93
+ hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
94
+ escapes: /\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
95
+ fstring_conv: /[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,
96
+ tokenizer: {
97
+ root: [
98
+ [/\braw"""/, { token: "string.quote", bracket: "@open", next: "@rawstringt" }],
99
+ [/\braw"/, { token: "string.quote", bracket: "@open", next: "@rawstring" }],
100
+ [/\bs"""/, { token: "string.quote", bracket: "@open", next: "@sstringt" }],
101
+ [/\bs"/, { token: "string.quote", bracket: "@open", next: "@sstring" }],
102
+ [/\bf""""/, { token: "string.quote", bracket: "@open", next: "@fstringt" }],
103
+ [/\bf"/, { token: "string.quote", bracket: "@open", next: "@fstring" }],
104
+ [/"""/, { token: "string.quote", bracket: "@open", next: "@stringt" }],
105
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
106
+ [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float", "@allowMethod"],
107
+ [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float", "@allowMethod"],
108
+ [/0[xX](@hexdigits)[Ll]?/, "number.hex", "@allowMethod"],
109
+ [/(@digits)[fFdD]/, "number.float", "@allowMethod"],
110
+ [/(@digits)[lL]?/, "number", "@allowMethod"],
111
+ [/\b_\*/, "key"],
112
+ [/\b(_)\b/, "keyword", "@allowMethod"],
113
+ [/\bimport\b/, "keyword", "@import"],
114
+ [/\b(case)([ \t]+)(class)\b/, ["keyword.modifier", "white", "keyword"]],
115
+ [/\bcase\b/, "keyword", "@case"],
116
+ [/\bva[lr]\b/, "keyword", "@vardef"],
117
+ [
118
+ /\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,
119
+ ["keyword", "white", "identifier"]
120
+ ],
121
+ [/@name(?=[ \t]*:(?!:))/, "variable"],
122
+ [/(\.)(@name|@symbols)/, ["operator", { token: "@rematch", next: "@allowMethod" }]],
123
+ [/([{(])(\s*)(@name(?=\s*=>))/, ["@brackets", "white", "variable"]],
124
+ [
125
+ /@name/,
126
+ {
127
+ cases: {
128
+ "@keywords": "keyword",
129
+ "@softKeywords": "keyword",
130
+ "@modifiers": "keyword.modifier",
131
+ "@softModifiers": "keyword.modifier",
132
+ "@constants": {
133
+ token: "constant",
134
+ next: "@allowMethod"
135
+ },
136
+ "@default": {
137
+ token: "identifier",
138
+ next: "@allowMethod"
139
+ }
140
+ }
141
+ }
142
+ ],
143
+ [/@type/, "type", "@allowMethod"],
144
+ { include: "@whitespace" },
145
+ [/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/, "annotation"],
146
+ [/[{(]/, "@brackets"],
147
+ [/[})]/, "@brackets", "@allowMethod"],
148
+ [/\[/, "operator.square"],
149
+ [/](?!\s*(?:va[rl]|def|type)\b)/, "operator.square", "@allowMethod"],
150
+ [/]/, "operator.square"],
151
+ [/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/, "keyword"],
152
+ [/@symbols/, "operator"],
153
+ [/[;,\.]/, "delimiter"],
154
+ [/'[a-zA-Z$][\w$]*(?!')/, "attribute.name"],
155
+ [/'[^\\']'/, "string", "@allowMethod"],
156
+ [/(')(@escapes)(')/, ["string", "string.escape", { token: "string", next: "@allowMethod" }]],
157
+ [/'/, "string.invalid"]
158
+ ],
159
+ import: [
160
+ [/;/, "delimiter", "@pop"],
161
+ [/^|$/, "", "@pop"],
162
+ [/[ \t]+/, "white"],
163
+ [/[\n\r]+/, "white", "@pop"],
164
+ [/\/\*/, "comment", "@comment"],
165
+ [/@name|@type/, "type"],
166
+ [/[(){}]/, "@brackets"],
167
+ [/[[\]]/, "operator.square"],
168
+ [/[\.,]/, "delimiter"]
169
+ ],
170
+ allowMethod: [
171
+ [/^|$/, "", "@pop"],
172
+ [/[ \t]+/, "white"],
173
+ [/[\n\r]+/, "white", "@pop"],
174
+ [/\/\*/, "comment", "@comment"],
175
+ [/(?==>[\s\w([{])/, "keyword", "@pop"],
176
+ [
177
+ /(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,
178
+ {
179
+ cases: {
180
+ "@keywords": { token: "keyword", next: "@pop" },
181
+ "->|<-|>:|<:|<%": { token: "keyword", next: "@pop" },
182
+ "@default": { token: "@rematch", next: "@pop" }
183
+ }
184
+ }
185
+ ],
186
+ ["", "", "@pop"]
187
+ ],
188
+ comment: [
189
+ [/[^\/*]+/, "comment"],
190
+ [/\/\*/, "comment", "@push"],
191
+ [/\*\//, "comment", "@pop"],
192
+ [/[\/*]/, "comment"]
193
+ ],
194
+ case: [
195
+ [/\b_\*/, "key"],
196
+ [/\b(_|true|false|null|this|super)\b/, "keyword", "@allowMethod"],
197
+ [/\bif\b|=>/, "keyword", "@pop"],
198
+ [/`[^`]+`/, "identifier", "@allowMethod"],
199
+ [/@name/, "variable", "@allowMethod"],
200
+ [/:::?|\||@(?![a-z_$])/, "keyword"],
201
+ { include: "@root" }
202
+ ],
203
+ vardef: [
204
+ [/\b_\*/, "key"],
205
+ [/\b(_|true|false|null|this|super)\b/, "keyword"],
206
+ [/@name/, "variable"],
207
+ [/:::?|\||@(?![a-z_$])/, "keyword"],
208
+ [/=|:(?!:)/, "operator", "@pop"],
209
+ [/$/, "white", "@pop"],
210
+ { include: "@root" }
211
+ ],
212
+ string: [
213
+ [/[^\\"\n\r]+/, "string"],
214
+ [/@escapes/, "string.escape"],
215
+ [/\\./, "string.escape.invalid"],
216
+ [
217
+ /"/,
218
+ {
219
+ token: "string.quote",
220
+ bracket: "@close",
221
+ switchTo: "@allowMethod"
222
+ }
223
+ ]
224
+ ],
225
+ stringt: [
226
+ [/[^\\"\n\r]+/, "string"],
227
+ [/@escapes/, "string.escape"],
228
+ [/\\./, "string.escape.invalid"],
229
+ [/"(?=""")/, "string"],
230
+ [
231
+ /"""/,
232
+ {
233
+ token: "string.quote",
234
+ bracket: "@close",
235
+ switchTo: "@allowMethod"
236
+ }
237
+ ],
238
+ [/"/, "string"]
239
+ ],
240
+ fstring: [
241
+ [/@escapes/, "string.escape"],
242
+ [
243
+ /"/,
244
+ {
245
+ token: "string.quote",
246
+ bracket: "@close",
247
+ switchTo: "@allowMethod"
248
+ }
249
+ ],
250
+ [/\$\$/, "string"],
251
+ [/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
252
+ [/\$\{/, "operator", "@interp"],
253
+ [/%%/, "string"],
254
+ [
255
+ /(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
256
+ ["metatag", "keyword.modifier", "number", "metatag"]
257
+ ],
258
+ [/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ["metatag", "number", "metatag"]],
259
+ [/(%)([\-#+ 0,(])(@fstring_conv)/, ["metatag", "keyword.modifier", "metatag"]],
260
+ [/(%)(@fstring_conv)/, ["metatag", "metatag"]],
261
+ [/./, "string"]
262
+ ],
263
+ fstringt: [
264
+ [/@escapes/, "string.escape"],
265
+ [/"(?=""")/, "string"],
266
+ [
267
+ /"""/,
268
+ {
269
+ token: "string.quote",
270
+ bracket: "@close",
271
+ switchTo: "@allowMethod"
272
+ }
273
+ ],
274
+ [/\$\$/, "string"],
275
+ [/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
276
+ [/\$\{/, "operator", "@interp"],
277
+ [/%%/, "string"],
278
+ [
279
+ /(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,
280
+ ["metatag", "keyword.modifier", "number", "metatag"]
281
+ ],
282
+ [/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/, ["metatag", "number", "metatag"]],
283
+ [/(%)([\-#+ 0,(])(@fstring_conv)/, ["metatag", "keyword.modifier", "metatag"]],
284
+ [/(%)(@fstring_conv)/, ["metatag", "metatag"]],
285
+ [/./, "string"]
286
+ ],
287
+ sstring: [
288
+ [/@escapes/, "string.escape"],
289
+ [
290
+ /"/,
291
+ {
292
+ token: "string.quote",
293
+ bracket: "@close",
294
+ switchTo: "@allowMethod"
295
+ }
296
+ ],
297
+ [/\$\$/, "string"],
298
+ [/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
299
+ [/\$\{/, "operator", "@interp"],
300
+ [/./, "string"]
301
+ ],
302
+ sstringt: [
303
+ [/@escapes/, "string.escape"],
304
+ [/"(?=""")/, "string"],
305
+ [
306
+ /"""/,
307
+ {
308
+ token: "string.quote",
309
+ bracket: "@close",
310
+ switchTo: "@allowMethod"
311
+ }
312
+ ],
313
+ [/\$\$/, "string"],
314
+ [/(\$)([a-z_]\w*)/, ["operator", "identifier"]],
315
+ [/\$\{/, "operator", "@interp"],
316
+ [/./, "string"]
317
+ ],
318
+ interp: [[/{/, "operator", "@push"], [/}/, "operator", "@pop"], { include: "@root" }],
319
+ rawstring: [
320
+ [/[^"]/, "string"],
321
+ [
322
+ /"/,
323
+ {
324
+ token: "string.quote",
325
+ bracket: "@close",
326
+ switchTo: "@allowMethod"
327
+ }
328
+ ]
329
+ ],
330
+ rawstringt: [
331
+ [/[^"]/, "string"],
332
+ [/"(?=""")/, "string"],
333
+ [
334
+ /"""/,
335
+ {
336
+ token: "string.quote",
337
+ bracket: "@close",
338
+ switchTo: "@allowMethod"
339
+ }
340
+ ],
341
+ [/"/, "string"]
342
+ ],
343
+ whitespace: [
344
+ [/[ \t\r\n]+/, "white"],
345
+ [/\/\*/, "comment", "@comment"],
346
+ [/\/\/.*$/, "comment"]
347
+ ]
348
+ }
349
+ };
350
+ export {
351
+ e as conf,
352
+ t as language
353
+ };
@@ -0,0 +1,114 @@
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 e = {
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
+ { open: '"', close: '"' }
22
+ ],
23
+ surroundingPairs: [
24
+ { open: "{", close: "}" },
25
+ { open: "[", close: "]" },
26
+ { open: "(", close: ")" },
27
+ { open: '"', close: '"' }
28
+ ]
29
+ }, o = {
30
+ defaultToken: "",
31
+ ignoreCase: !0,
32
+ tokenPostfix: ".scheme",
33
+ brackets: [
34
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
35
+ { open: "{", close: "}", token: "delimiter.curly" },
36
+ { open: "[", close: "]", token: "delimiter.square" }
37
+ ],
38
+ keywords: [
39
+ "case",
40
+ "do",
41
+ "let",
42
+ "loop",
43
+ "if",
44
+ "else",
45
+ "when",
46
+ "cons",
47
+ "car",
48
+ "cdr",
49
+ "cond",
50
+ "lambda",
51
+ "lambda*",
52
+ "syntax-rules",
53
+ "format",
54
+ "set!",
55
+ "quote",
56
+ "eval",
57
+ "append",
58
+ "list",
59
+ "list?",
60
+ "member?",
61
+ "load"
62
+ ],
63
+ constants: ["#t", "#f"],
64
+ operators: ["eq?", "eqv?", "equal?", "and", "or", "not", "null?"],
65
+ tokenizer: {
66
+ root: [
67
+ [/#[xXoObB][0-9a-fA-F]+/, "number.hex"],
68
+ [/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, "number.float"],
69
+ [
70
+ /(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,
71
+ ["keyword", "white", "variable"]
72
+ ],
73
+ { include: "@whitespace" },
74
+ { include: "@strings" },
75
+ [
76
+ /[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,
77
+ {
78
+ cases: {
79
+ "@keywords": "keyword",
80
+ "@constants": "constant",
81
+ "@operators": "operators",
82
+ "@default": "identifier"
83
+ }
84
+ }
85
+ ]
86
+ ],
87
+ comment: [
88
+ [/[^\|#]+/, "comment"],
89
+ [/#\|/, "comment", "@push"],
90
+ [/\|#/, "comment", "@pop"],
91
+ [/[\|#]/, "comment"]
92
+ ],
93
+ whitespace: [
94
+ [/[ \t\r\n]+/, "white"],
95
+ [/#\|/, "comment", "@comment"],
96
+ [/;.*$/, "comment"]
97
+ ],
98
+ strings: [
99
+ [/"$/, "string", "@popall"],
100
+ [/"(?=.)/, "string", "@multiLineString"]
101
+ ],
102
+ multiLineString: [
103
+ [/[^\\"]+$/, "string", "@popall"],
104
+ [/[^\\"]+/, "string"],
105
+ [/\\./, "string.escape"],
106
+ [/"/, "string", "@popall"],
107
+ [/\\$/, "string"]
108
+ ]
109
+ }
110
+ };
111
+ export {
112
+ e as conf,
113
+ o as language
114
+ };