online-compiler-widget 0.0.4 → 1.0.2

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 (161) hide show
  1. package/dist/abap-CrvW7_qN.js +1398 -0
  2. package/dist/apex-BAOI8p1v.js +327 -0
  3. package/dist/assets/css.worker-Cb0JI69t.js +93 -0
  4. package/dist/assets/html.worker-BNFZMwEc.js +470 -0
  5. package/dist/assets/json.worker-BCybXpia.js +58 -0
  6. package/dist/assets/ts.worker-DAVh1bw1.js +67731 -0
  7. package/dist/azcli-BlCk_UqW.js +68 -0
  8. package/dist/bat-DPoEelVx.js +100 -0
  9. package/dist/bicep-Cp1F394l.js +102 -0
  10. package/dist/cameligo-CWqtSlQs.js +174 -0
  11. package/dist/clojure-CKBp32Gf.js +761 -0
  12. package/dist/coffee-CDo6vc-J.js +232 -0
  13. package/dist/cpp-DokufPgf.js +389 -0
  14. package/dist/csharp-BQi3szM0.js +326 -0
  15. package/dist/csp-BSGtCCZ-.js +53 -0
  16. package/dist/css-DEPFDJfb.js +187 -0
  17. package/dist/cssMode-nHrB9Mnr.js +141 -0
  18. package/dist/cypher-DAb1vOxS.js +263 -0
  19. package/dist/dart-C8p4jewR.js +281 -0
  20. package/dist/dockerfile-DP0iLFPN.js +130 -0
  21. package/dist/ecl-BDQHA6fi.js +456 -0
  22. package/dist/elixir-D4II6kDM.js +569 -0
  23. package/dist/flow9-StcnL-VB.js +142 -0
  24. package/dist/freemarker2-BoiXdkJM.js +982 -0
  25. package/dist/fsharp-DdUVp3EN.js +217 -0
  26. package/dist/go-D1-I258M.js +218 -0
  27. package/dist/graphql-DWkL3f8U.js +151 -0
  28. package/dist/handlebars-C7PJzkmo.js +412 -0
  29. package/dist/hcl-D_0MNifv.js +183 -0
  30. package/dist/html-D_xe_tUa.js +301 -0
  31. package/dist/htmlMode-Dk_luXu_.js +152 -0
  32. package/dist/index-Ds0EJmOd.js +129200 -0
  33. package/dist/index.js +14 -0
  34. package/dist/ini-C4I2-MT7.js +71 -0
  35. package/dist/java-OBvaP_SS.js +232 -0
  36. package/dist/javascript-CUK67ITD.js +70 -0
  37. package/dist/jsonMode-BIAYTpVF.js +569 -0
  38. package/dist/julia-BmDH8Kkf.js +511 -0
  39. package/dist/kotlin-Dhu5AGOD.js +252 -0
  40. package/dist/less-CzmjXREq.js +162 -0
  41. package/dist/lexon-CV2c4pN9.js +157 -0
  42. package/dist/liquid-Cgsk8EmK.js +233 -0
  43. package/dist/lspLanguageFeatures-HqO1l9Me.js +1458 -0
  44. package/dist/lua-CFY5U8qF.js +162 -0
  45. package/dist/m3-BL_AnZVh.js +210 -0
  46. package/dist/markdown-CWKQPXCv.js +229 -0
  47. package/dist/mdx-QboWmT4M.js +158 -0
  48. package/dist/mips-ButYmJ5E.js +198 -0
  49. package/dist/msdax-C3cnXqDh.js +375 -0
  50. package/dist/mysql-YlSHaf6G.js +878 -0
  51. package/dist/objective-c-Dwnlproe.js +183 -0
  52. package/dist/pascal-UzGbSWEN.js +251 -0
  53. package/dist/pascaligo-CslTgu68.js +164 -0
  54. package/dist/perl-oj6r_mgw.js +626 -0
  55. package/dist/pgsql-DSBO0Mev.js +851 -0
  56. package/dist/php-YzCD--7j.js +500 -0
  57. package/dist/pla-CmylB8vQ.js +137 -0
  58. package/dist/postiats-CLFW5gNY.js +907 -0
  59. package/dist/powerquery-CmOWUvlh.js +890 -0
  60. package/dist/powershell-fHQcmBLK.js +239 -0
  61. package/dist/protobuf-p5BArb-9.js +420 -0
  62. package/dist/pug-gVdUDvqf.js +402 -0
  63. package/dist/python-kIZaMFF7.js +294 -0
  64. package/dist/qsharp-DnrWSUlt.js +301 -0
  65. package/dist/r-Cv309K2z.js +243 -0
  66. package/dist/razor-ms2cCMGp.js +543 -0
  67. package/dist/redis-DTcS4wMj.js +302 -0
  68. package/dist/redshift-hLxZVESM.js +809 -0
  69. package/dist/restructuredtext-C898lK4f.js +174 -0
  70. package/dist/ruby-CgKtnJIQ.js +511 -0
  71. package/dist/rust-bj8oxVnh.js +343 -0
  72. package/dist/sb-DWynz26l.js +115 -0
  73. package/dist/scala-BL5z1UEd.js +370 -0
  74. package/dist/scheme-DUJsH6VU.js +108 -0
  75. package/dist/scss-CxjmhvaL.js +262 -0
  76. package/dist/shell-D14Zs1dF.js +221 -0
  77. package/dist/solidity-WyRm-BGK.js +1367 -0
  78. package/dist/sophia-CKk-_Oa5.js +199 -0
  79. package/dist/sparql-DHtmINMZ.js +201 -0
  80. package/dist/sql-Dqaj5JHC.js +853 -0
  81. package/dist/st-Bj2IIaop.js +416 -0
  82. package/dist/style.css +1 -0
  83. package/dist/swift-DwxP72iM.js +312 -0
  84. package/dist/systemverilog-D7wJfuql.js +576 -0
  85. package/dist/tcl-0ApMt-eC.js +232 -0
  86. package/dist/tsMode-BiXWAJYS.js +946 -0
  87. package/dist/twig-DxwbdmvQ.js +392 -0
  88. package/dist/typescript-ByMmjZ38.js +336 -0
  89. package/dist/typespec-Fd-JwSuS.js +117 -0
  90. package/dist/vb-CxuyYE1I.js +372 -0
  91. package/dist/wgsl-DoEGc31J.js +439 -0
  92. package/dist/xml-iOXTZgNN.js +88 -0
  93. package/dist/yaml-RRlyy-QW.js +199 -0
  94. package/package.json +41 -36
  95. package/FileStorage/obj/FileStorage.csproj.EntityFrameworkCore.targets +0 -28
  96. package/README.md +0 -1
  97. package/eslint.config.js +0 -26
  98. package/index.html +0 -13
  99. package/index.tsx +0 -3
  100. package/openapitools.json +0 -7
  101. package/pnpm-workspace.yaml +0 -2
  102. package/public/vite.svg +0 -1
  103. package/src/App.css +0 -49
  104. package/src/App.tsx +0 -84
  105. package/src/api/.openapi-generator/FILES +0 -25
  106. package/src/api/.openapi-generator/VERSION +0 -1
  107. package/src/api/.openapi-generator-ignore +0 -23
  108. package/src/api/api.ts +0 -1312
  109. package/src/api/base.ts +0 -62
  110. package/src/api/common.ts +0 -113
  111. package/src/api/configuration.ts +0 -121
  112. package/src/api/docs/CompilationError.md +0 -26
  113. package/src/api/docs/CompileRequest.md +0 -22
  114. package/src/api/docs/CompileResult.md +0 -28
  115. package/src/api/docs/CompilerApi.md +0 -263
  116. package/src/api/docs/CreateFileDto.md +0 -22
  117. package/src/api/docs/CreateProjectRequest.md +0 -20
  118. package/src/api/docs/FileApi.md +0 -274
  119. package/src/api/docs/ProcessStatus.md +0 -28
  120. package/src/api/docs/ProjectApi.md +0 -362
  121. package/src/api/docs/ProjectInfo.md +0 -24
  122. package/src/api/docs/ProjectStats.md +0 -28
  123. package/src/api/docs/RenameFileDto.md +0 -20
  124. package/src/api/docs/RenameProjectRequest.md +0 -20
  125. package/src/api/docs/RunRequest.md +0 -24
  126. package/src/api/docs/RunResult.md +0 -30
  127. package/src/api/docs/RunningProjectInfo.md +0 -26
  128. package/src/api/docs/UpdateFileDto.md +0 -20
  129. package/src/api/git_push.sh +0 -57
  130. package/src/api/index.ts +0 -18
  131. package/src/assets/Badge.svg +0 -17
  132. package/src/assets/closeIcon.svg +0 -20
  133. package/src/assets/documentIcon.svg +0 -11
  134. package/src/assets/history.svg +0 -11
  135. package/src/assets/output.svg +0 -12
  136. package/src/assets/plus.svg +0 -20
  137. package/src/assets/react.svg +0 -1
  138. package/src/assets/save-icon.svg +0 -11
  139. package/src/assets/shield.svg +0 -10
  140. package/src/assets/start.svg +0 -11
  141. package/src/assets/stop.svg +0 -11
  142. package/src/components/CompilerWidget.module.scss +0 -169
  143. package/src/components/CompilerWidget.tsx +0 -331
  144. package/src/components/FileExplorer.module.scss +0 -372
  145. package/src/components/FileExplorer.tsx +0 -285
  146. package/src/components/MonacoEditorWrapper.module.scss +0 -29
  147. package/src/components/MonacoEditorWrapper.tsx +0 -74
  148. package/src/components/OutputPanel.module.scss +0 -123
  149. package/src/components/OutputPanel.tsx +0 -53
  150. package/src/components/RunContainer.module.scss +0 -150
  151. package/src/components/RunContainer.tsx +0 -34
  152. package/src/hooks/useCompiler.ts +0 -228
  153. package/src/hooks/useInitialNodes.ts +0 -0
  154. package/src/index.css +0 -78
  155. package/src/main.tsx +0 -8
  156. package/src/types/EditorDocument.ts +0 -8
  157. package/swagger.json +0 -1020
  158. package/tsconfig.app.json +0 -29
  159. package/tsconfig.json +0 -7
  160. package/tsconfig.node.json +0 -26
  161. package/vite.config.ts +0 -8
@@ -0,0 +1,809 @@
1
+ const e = {
2
+ comments: {
3
+ lineComment: "--",
4
+ blockComment: ["/*", "*/"]
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
+ }, _ = {
26
+ defaultToken: "",
27
+ tokenPostfix: ".sql",
28
+ ignoreCase: !0,
29
+ brackets: [
30
+ { open: "[", close: "]", token: "delimiter.square" },
31
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
32
+ ],
33
+ keywords: [
34
+ "AES128",
35
+ "AES256",
36
+ "ALL",
37
+ "ALLOWOVERWRITE",
38
+ "ANALYSE",
39
+ "ANALYZE",
40
+ "AND",
41
+ "ANY",
42
+ "ARRAY",
43
+ "AS",
44
+ "ASC",
45
+ "AUTHORIZATION",
46
+ "AZ64",
47
+ "BACKUP",
48
+ "BETWEEN",
49
+ "BINARY",
50
+ "BLANKSASNULL",
51
+ "BOTH",
52
+ "BYTEDICT",
53
+ "BZIP2",
54
+ "CASE",
55
+ "CAST",
56
+ "CHECK",
57
+ "COLLATE",
58
+ "COLUMN",
59
+ "CONSTRAINT",
60
+ "CREATE",
61
+ "CREDENTIALS",
62
+ "CROSS",
63
+ "CURRENT_DATE",
64
+ "CURRENT_TIME",
65
+ "CURRENT_TIMESTAMP",
66
+ "CURRENT_USER",
67
+ "CURRENT_USER_ID",
68
+ "DEFAULT",
69
+ "DEFERRABLE",
70
+ "DEFLATE",
71
+ "DEFRAG",
72
+ "DELTA",
73
+ "DELTA32K",
74
+ "DESC",
75
+ "DISABLE",
76
+ "DISTINCT",
77
+ "DO",
78
+ "ELSE",
79
+ "EMPTYASNULL",
80
+ "ENABLE",
81
+ "ENCODE",
82
+ "ENCRYPT",
83
+ "ENCRYPTION",
84
+ "END",
85
+ "EXCEPT",
86
+ "EXPLICIT",
87
+ "FALSE",
88
+ "FOR",
89
+ "FOREIGN",
90
+ "FREEZE",
91
+ "FROM",
92
+ "FULL",
93
+ "GLOBALDICT256",
94
+ "GLOBALDICT64K",
95
+ "GRANT",
96
+ "GROUP",
97
+ "GZIP",
98
+ "HAVING",
99
+ "IDENTITY",
100
+ "IGNORE",
101
+ "ILIKE",
102
+ "IN",
103
+ "INITIALLY",
104
+ "INNER",
105
+ "INTERSECT",
106
+ "INTO",
107
+ "IS",
108
+ "ISNULL",
109
+ "JOIN",
110
+ "LANGUAGE",
111
+ "LEADING",
112
+ "LEFT",
113
+ "LIKE",
114
+ "LIMIT",
115
+ "LOCALTIME",
116
+ "LOCALTIMESTAMP",
117
+ "LUN",
118
+ "LUNS",
119
+ "LZO",
120
+ "LZOP",
121
+ "MINUS",
122
+ "MOSTLY16",
123
+ "MOSTLY32",
124
+ "MOSTLY8",
125
+ "NATURAL",
126
+ "NEW",
127
+ "NOT",
128
+ "NOTNULL",
129
+ "NULL",
130
+ "NULLS",
131
+ "OFF",
132
+ "OFFLINE",
133
+ "OFFSET",
134
+ "OID",
135
+ "OLD",
136
+ "ON",
137
+ "ONLY",
138
+ "OPEN",
139
+ "OR",
140
+ "ORDER",
141
+ "OUTER",
142
+ "OVERLAPS",
143
+ "PARALLEL",
144
+ "PARTITION",
145
+ "PERCENT",
146
+ "PERMISSIONS",
147
+ "PLACING",
148
+ "PRIMARY",
149
+ "RAW",
150
+ "READRATIO",
151
+ "RECOVER",
152
+ "REFERENCES",
153
+ "RESPECT",
154
+ "REJECTLOG",
155
+ "RESORT",
156
+ "RESTORE",
157
+ "RIGHT",
158
+ "SELECT",
159
+ "SESSION_USER",
160
+ "SIMILAR",
161
+ "SNAPSHOT",
162
+ "SOME",
163
+ "SYSDATE",
164
+ "SYSTEM",
165
+ "TABLE",
166
+ "TAG",
167
+ "TDES",
168
+ "TEXT255",
169
+ "TEXT32K",
170
+ "THEN",
171
+ "TIMESTAMP",
172
+ "TO",
173
+ "TOP",
174
+ "TRAILING",
175
+ "TRUE",
176
+ "TRUNCATECOLUMNS",
177
+ "UNION",
178
+ "UNIQUE",
179
+ "USER",
180
+ "USING",
181
+ "VERBOSE",
182
+ "WALLET",
183
+ "WHEN",
184
+ "WHERE",
185
+ "WITH",
186
+ "WITHOUT"
187
+ ],
188
+ operators: [
189
+ "AND",
190
+ "BETWEEN",
191
+ "IN",
192
+ "LIKE",
193
+ "NOT",
194
+ "OR",
195
+ "IS",
196
+ "NULL",
197
+ "INTERSECT",
198
+ "UNION",
199
+ "INNER",
200
+ "JOIN",
201
+ "LEFT",
202
+ "OUTER",
203
+ "RIGHT"
204
+ ],
205
+ builtinFunctions: [
206
+ "current_schema",
207
+ "current_schemas",
208
+ "has_database_privilege",
209
+ "has_schema_privilege",
210
+ "has_table_privilege",
211
+ "age",
212
+ "current_time",
213
+ "current_timestamp",
214
+ "localtime",
215
+ "isfinite",
216
+ "now",
217
+ "ascii",
218
+ "get_bit",
219
+ "get_byte",
220
+ "set_bit",
221
+ "set_byte",
222
+ "to_ascii",
223
+ "approximate percentile_disc",
224
+ "avg",
225
+ "count",
226
+ "listagg",
227
+ "max",
228
+ "median",
229
+ "min",
230
+ "percentile_cont",
231
+ "stddev_samp",
232
+ "stddev_pop",
233
+ "sum",
234
+ "var_samp",
235
+ "var_pop",
236
+ "bit_and",
237
+ "bit_or",
238
+ "bool_and",
239
+ "bool_or",
240
+ "cume_dist",
241
+ "first_value",
242
+ "lag",
243
+ "last_value",
244
+ "lead",
245
+ "nth_value",
246
+ "ratio_to_report",
247
+ "dense_rank",
248
+ "ntile",
249
+ "percent_rank",
250
+ "rank",
251
+ "row_number",
252
+ "case",
253
+ "coalesce",
254
+ "decode",
255
+ "greatest",
256
+ "least",
257
+ "nvl",
258
+ "nvl2",
259
+ "nullif",
260
+ "add_months",
261
+ "at time zone",
262
+ "convert_timezone",
263
+ "current_date",
264
+ "date_cmp",
265
+ "date_cmp_timestamp",
266
+ "date_cmp_timestamptz",
267
+ "date_part_year",
268
+ "dateadd",
269
+ "datediff",
270
+ "date_part",
271
+ "date_trunc",
272
+ "extract",
273
+ "getdate",
274
+ "interval_cmp",
275
+ "last_day",
276
+ "months_between",
277
+ "next_day",
278
+ "sysdate",
279
+ "timeofday",
280
+ "timestamp_cmp",
281
+ "timestamp_cmp_date",
282
+ "timestamp_cmp_timestamptz",
283
+ "timestamptz_cmp",
284
+ "timestamptz_cmp_date",
285
+ "timestamptz_cmp_timestamp",
286
+ "timezone",
287
+ "to_timestamp",
288
+ "trunc",
289
+ "abs",
290
+ "acos",
291
+ "asin",
292
+ "atan",
293
+ "atan2",
294
+ "cbrt",
295
+ "ceil",
296
+ "ceiling",
297
+ "checksum",
298
+ "cos",
299
+ "cot",
300
+ "degrees",
301
+ "dexp",
302
+ "dlog1",
303
+ "dlog10",
304
+ "exp",
305
+ "floor",
306
+ "ln",
307
+ "log",
308
+ "mod",
309
+ "pi",
310
+ "power",
311
+ "radians",
312
+ "random",
313
+ "round",
314
+ "sin",
315
+ "sign",
316
+ "sqrt",
317
+ "tan",
318
+ "to_hex",
319
+ "bpcharcmp",
320
+ "btrim",
321
+ "bttext_pattern_cmp",
322
+ "char_length",
323
+ "character_length",
324
+ "charindex",
325
+ "chr",
326
+ "concat",
327
+ "crc32",
328
+ "func_sha1",
329
+ "initcap",
330
+ "left and rights",
331
+ "len",
332
+ "length",
333
+ "lower",
334
+ "lpad and rpads",
335
+ "ltrim",
336
+ "md5",
337
+ "octet_length",
338
+ "position",
339
+ "quote_ident",
340
+ "quote_literal",
341
+ "regexp_count",
342
+ "regexp_instr",
343
+ "regexp_replace",
344
+ "regexp_substr",
345
+ "repeat",
346
+ "replace",
347
+ "replicate",
348
+ "reverse",
349
+ "rtrim",
350
+ "split_part",
351
+ "strpos",
352
+ "strtol",
353
+ "substring",
354
+ "textlen",
355
+ "translate",
356
+ "trim",
357
+ "upper",
358
+ "cast",
359
+ "convert",
360
+ "to_char",
361
+ "to_date",
362
+ "to_number",
363
+ "json_array_length",
364
+ "json_extract_array_element_text",
365
+ "json_extract_path_text",
366
+ "current_setting",
367
+ "pg_cancel_backend",
368
+ "pg_terminate_backend",
369
+ "set_config",
370
+ "current_database",
371
+ "current_user",
372
+ "current_user_id",
373
+ "pg_backend_pid",
374
+ "pg_last_copy_count",
375
+ "pg_last_copy_id",
376
+ "pg_last_query_id",
377
+ "pg_last_unload_count",
378
+ "session_user",
379
+ "slice_num",
380
+ "user",
381
+ "version",
382
+ "abbrev",
383
+ "acosd",
384
+ "any",
385
+ "area",
386
+ "array_agg",
387
+ "array_append",
388
+ "array_cat",
389
+ "array_dims",
390
+ "array_fill",
391
+ "array_length",
392
+ "array_lower",
393
+ "array_ndims",
394
+ "array_position",
395
+ "array_positions",
396
+ "array_prepend",
397
+ "array_remove",
398
+ "array_replace",
399
+ "array_to_json",
400
+ "array_to_string",
401
+ "array_to_tsvector",
402
+ "array_upper",
403
+ "asind",
404
+ "atan2d",
405
+ "atand",
406
+ "bit",
407
+ "bit_length",
408
+ "bound_box",
409
+ "box",
410
+ "brin_summarize_new_values",
411
+ "broadcast",
412
+ "cardinality",
413
+ "center",
414
+ "circle",
415
+ "clock_timestamp",
416
+ "col_description",
417
+ "concat_ws",
418
+ "convert_from",
419
+ "convert_to",
420
+ "corr",
421
+ "cosd",
422
+ "cotd",
423
+ "covar_pop",
424
+ "covar_samp",
425
+ "current_catalog",
426
+ "current_query",
427
+ "current_role",
428
+ "currval",
429
+ "cursor_to_xml",
430
+ "diameter",
431
+ "div",
432
+ "encode",
433
+ "enum_first",
434
+ "enum_last",
435
+ "enum_range",
436
+ "every",
437
+ "family",
438
+ "format",
439
+ "format_type",
440
+ "generate_series",
441
+ "generate_subscripts",
442
+ "get_current_ts_config",
443
+ "gin_clean_pending_list",
444
+ "grouping",
445
+ "has_any_column_privilege",
446
+ "has_column_privilege",
447
+ "has_foreign_data_wrapper_privilege",
448
+ "has_function_privilege",
449
+ "has_language_privilege",
450
+ "has_sequence_privilege",
451
+ "has_server_privilege",
452
+ "has_tablespace_privilege",
453
+ "has_type_privilege",
454
+ "height",
455
+ "host",
456
+ "hostmask",
457
+ "inet_client_addr",
458
+ "inet_client_port",
459
+ "inet_merge",
460
+ "inet_same_family",
461
+ "inet_server_addr",
462
+ "inet_server_port",
463
+ "isclosed",
464
+ "isempty",
465
+ "isopen",
466
+ "json_agg",
467
+ "json_object",
468
+ "json_object_agg",
469
+ "json_populate_record",
470
+ "json_populate_recordset",
471
+ "json_to_record",
472
+ "json_to_recordset",
473
+ "jsonb_agg",
474
+ "jsonb_object_agg",
475
+ "justify_days",
476
+ "justify_hours",
477
+ "justify_interval",
478
+ "lastval",
479
+ "left",
480
+ "line",
481
+ "localtimestamp",
482
+ "lower_inc",
483
+ "lower_inf",
484
+ "lpad",
485
+ "lseg",
486
+ "make_date",
487
+ "make_interval",
488
+ "make_time",
489
+ "make_timestamp",
490
+ "make_timestamptz",
491
+ "masklen",
492
+ "mode",
493
+ "netmask",
494
+ "network",
495
+ "nextval",
496
+ "npoints",
497
+ "num_nonnulls",
498
+ "num_nulls",
499
+ "numnode",
500
+ "obj_description",
501
+ "overlay",
502
+ "parse_ident",
503
+ "path",
504
+ "pclose",
505
+ "percentile_disc",
506
+ "pg_advisory_lock",
507
+ "pg_advisory_lock_shared",
508
+ "pg_advisory_unlock",
509
+ "pg_advisory_unlock_all",
510
+ "pg_advisory_unlock_shared",
511
+ "pg_advisory_xact_lock",
512
+ "pg_advisory_xact_lock_shared",
513
+ "pg_backup_start_time",
514
+ "pg_blocking_pids",
515
+ "pg_client_encoding",
516
+ "pg_collation_is_visible",
517
+ "pg_column_size",
518
+ "pg_conf_load_time",
519
+ "pg_control_checkpoint",
520
+ "pg_control_init",
521
+ "pg_control_recovery",
522
+ "pg_control_system",
523
+ "pg_conversion_is_visible",
524
+ "pg_create_logical_replication_slot",
525
+ "pg_create_physical_replication_slot",
526
+ "pg_create_restore_point",
527
+ "pg_current_xlog_flush_location",
528
+ "pg_current_xlog_insert_location",
529
+ "pg_current_xlog_location",
530
+ "pg_database_size",
531
+ "pg_describe_object",
532
+ "pg_drop_replication_slot",
533
+ "pg_export_snapshot",
534
+ "pg_filenode_relation",
535
+ "pg_function_is_visible",
536
+ "pg_get_constraintdef",
537
+ "pg_get_expr",
538
+ "pg_get_function_arguments",
539
+ "pg_get_function_identity_arguments",
540
+ "pg_get_function_result",
541
+ "pg_get_functiondef",
542
+ "pg_get_indexdef",
543
+ "pg_get_keywords",
544
+ "pg_get_object_address",
545
+ "pg_get_owned_sequence",
546
+ "pg_get_ruledef",
547
+ "pg_get_serial_sequence",
548
+ "pg_get_triggerdef",
549
+ "pg_get_userbyid",
550
+ "pg_get_viewdef",
551
+ "pg_has_role",
552
+ "pg_identify_object",
553
+ "pg_identify_object_as_address",
554
+ "pg_index_column_has_property",
555
+ "pg_index_has_property",
556
+ "pg_indexam_has_property",
557
+ "pg_indexes_size",
558
+ "pg_is_in_backup",
559
+ "pg_is_in_recovery",
560
+ "pg_is_other_temp_schema",
561
+ "pg_is_xlog_replay_paused",
562
+ "pg_last_committed_xact",
563
+ "pg_last_xact_replay_timestamp",
564
+ "pg_last_xlog_receive_location",
565
+ "pg_last_xlog_replay_location",
566
+ "pg_listening_channels",
567
+ "pg_logical_emit_message",
568
+ "pg_logical_slot_get_binary_changes",
569
+ "pg_logical_slot_get_changes",
570
+ "pg_logical_slot_peek_binary_changes",
571
+ "pg_logical_slot_peek_changes",
572
+ "pg_ls_dir",
573
+ "pg_my_temp_schema",
574
+ "pg_notification_queue_usage",
575
+ "pg_opclass_is_visible",
576
+ "pg_operator_is_visible",
577
+ "pg_opfamily_is_visible",
578
+ "pg_options_to_table",
579
+ "pg_postmaster_start_time",
580
+ "pg_read_binary_file",
581
+ "pg_read_file",
582
+ "pg_relation_filenode",
583
+ "pg_relation_filepath",
584
+ "pg_relation_size",
585
+ "pg_reload_conf",
586
+ "pg_replication_origin_create",
587
+ "pg_replication_origin_drop",
588
+ "pg_replication_origin_oid",
589
+ "pg_replication_origin_progress",
590
+ "pg_replication_origin_session_is_setup",
591
+ "pg_replication_origin_session_progress",
592
+ "pg_replication_origin_session_reset",
593
+ "pg_replication_origin_session_setup",
594
+ "pg_replication_origin_xact_reset",
595
+ "pg_replication_origin_xact_setup",
596
+ "pg_rotate_logfile",
597
+ "pg_size_bytes",
598
+ "pg_size_pretty",
599
+ "pg_sleep",
600
+ "pg_sleep_for",
601
+ "pg_sleep_until",
602
+ "pg_start_backup",
603
+ "pg_stat_file",
604
+ "pg_stop_backup",
605
+ "pg_switch_xlog",
606
+ "pg_table_is_visible",
607
+ "pg_table_size",
608
+ "pg_tablespace_databases",
609
+ "pg_tablespace_location",
610
+ "pg_tablespace_size",
611
+ "pg_total_relation_size",
612
+ "pg_trigger_depth",
613
+ "pg_try_advisory_lock",
614
+ "pg_try_advisory_lock_shared",
615
+ "pg_try_advisory_xact_lock",
616
+ "pg_try_advisory_xact_lock_shared",
617
+ "pg_ts_config_is_visible",
618
+ "pg_ts_dict_is_visible",
619
+ "pg_ts_parser_is_visible",
620
+ "pg_ts_template_is_visible",
621
+ "pg_type_is_visible",
622
+ "pg_typeof",
623
+ "pg_xact_commit_timestamp",
624
+ "pg_xlog_location_diff",
625
+ "pg_xlog_replay_pause",
626
+ "pg_xlog_replay_resume",
627
+ "pg_xlogfile_name",
628
+ "pg_xlogfile_name_offset",
629
+ "phraseto_tsquery",
630
+ "plainto_tsquery",
631
+ "point",
632
+ "polygon",
633
+ "popen",
634
+ "pqserverversion",
635
+ "query_to_xml",
636
+ "querytree",
637
+ "quote_nullable",
638
+ "radius",
639
+ "range_merge",
640
+ "regexp_matches",
641
+ "regexp_split_to_array",
642
+ "regexp_split_to_table",
643
+ "regr_avgx",
644
+ "regr_avgy",
645
+ "regr_count",
646
+ "regr_intercept",
647
+ "regr_r2",
648
+ "regr_slope",
649
+ "regr_sxx",
650
+ "regr_sxy",
651
+ "regr_syy",
652
+ "right",
653
+ "row_security_active",
654
+ "row_to_json",
655
+ "rpad",
656
+ "scale",
657
+ "set_masklen",
658
+ "setseed",
659
+ "setval",
660
+ "setweight",
661
+ "shobj_description",
662
+ "sind",
663
+ "sprintf",
664
+ "statement_timestamp",
665
+ "stddev",
666
+ "string_agg",
667
+ "string_to_array",
668
+ "strip",
669
+ "substr",
670
+ "table_to_xml",
671
+ "table_to_xml_and_xmlschema",
672
+ "tand",
673
+ "text",
674
+ "to_json",
675
+ "to_regclass",
676
+ "to_regnamespace",
677
+ "to_regoper",
678
+ "to_regoperator",
679
+ "to_regproc",
680
+ "to_regprocedure",
681
+ "to_regrole",
682
+ "to_regtype",
683
+ "to_tsquery",
684
+ "to_tsvector",
685
+ "transaction_timestamp",
686
+ "ts_debug",
687
+ "ts_delete",
688
+ "ts_filter",
689
+ "ts_headline",
690
+ "ts_lexize",
691
+ "ts_parse",
692
+ "ts_rank",
693
+ "ts_rank_cd",
694
+ "ts_rewrite",
695
+ "ts_stat",
696
+ "ts_token_type",
697
+ "tsquery_phrase",
698
+ "tsvector_to_array",
699
+ "tsvector_update_trigger",
700
+ "tsvector_update_trigger_column",
701
+ "txid_current",
702
+ "txid_current_snapshot",
703
+ "txid_snapshot_xip",
704
+ "txid_snapshot_xmax",
705
+ "txid_snapshot_xmin",
706
+ "txid_visible_in_snapshot",
707
+ "unnest",
708
+ "upper_inc",
709
+ "upper_inf",
710
+ "variance",
711
+ "width",
712
+ "width_bucket",
713
+ "xml_is_well_formed",
714
+ "xml_is_well_formed_content",
715
+ "xml_is_well_formed_document",
716
+ "xmlagg",
717
+ "xmlcomment",
718
+ "xmlconcat",
719
+ "xmlelement",
720
+ "xmlexists",
721
+ "xmlforest",
722
+ "xmlparse",
723
+ "xmlpi",
724
+ "xmlroot",
725
+ "xmlserialize",
726
+ "xpath",
727
+ "xpath_exists"
728
+ ],
729
+ builtinVariables: [
730
+ // NOT SUPPORTED
731
+ ],
732
+ pseudoColumns: [
733
+ // NOT SUPPORTED
734
+ ],
735
+ tokenizer: {
736
+ root: [
737
+ { include: "@comments" },
738
+ { include: "@whitespace" },
739
+ { include: "@pseudoColumns" },
740
+ { include: "@numbers" },
741
+ { include: "@strings" },
742
+ { include: "@complexIdentifiers" },
743
+ { include: "@scopes" },
744
+ [/[;,.]/, "delimiter"],
745
+ [/[()]/, "@brackets"],
746
+ [
747
+ /[\w@#$]+/,
748
+ {
749
+ cases: {
750
+ "@keywords": "keyword",
751
+ "@operators": "operator",
752
+ "@builtinVariables": "predefined",
753
+ "@builtinFunctions": "predefined",
754
+ "@default": "identifier"
755
+ }
756
+ }
757
+ ],
758
+ [/[<>=!%&+\-*/|~^]/, "operator"]
759
+ ],
760
+ whitespace: [[/\s+/, "white"]],
761
+ comments: [
762
+ [/--+.*/, "comment"],
763
+ [/\/\*/, { token: "comment.quote", next: "@comment" }]
764
+ ],
765
+ comment: [
766
+ [/[^*/]+/, "comment"],
767
+ // Not supporting nested comments, as nested comments seem to not be standard?
768
+ // i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
769
+ // [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
770
+ [/\*\//, { token: "comment.quote", next: "@pop" }],
771
+ [/./, "comment"]
772
+ ],
773
+ pseudoColumns: [
774
+ [
775
+ /[$][A-Za-z_][\w@#$]*/,
776
+ {
777
+ cases: {
778
+ "@pseudoColumns": "predefined",
779
+ "@default": "identifier"
780
+ }
781
+ }
782
+ ]
783
+ ],
784
+ numbers: [
785
+ [/0[xX][0-9a-fA-F]*/, "number"],
786
+ [/[$][+-]*\d*(\.\d*)?/, "number"],
787
+ [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
788
+ ],
789
+ strings: [[/'/, { token: "string", next: "@string" }]],
790
+ string: [
791
+ [/[^']+/, "string"],
792
+ [/''/, "string"],
793
+ [/'/, { token: "string", next: "@pop" }]
794
+ ],
795
+ complexIdentifiers: [[/"/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
796
+ quotedIdentifier: [
797
+ [/[^"]+/, "identifier"],
798
+ [/""/, "identifier"],
799
+ [/"/, { token: "identifier.quote", next: "@pop" }]
800
+ ],
801
+ scopes: [
802
+ // NOT SUPPORTED
803
+ ]
804
+ }
805
+ };
806
+ export {
807
+ e as conf,
808
+ _ as language
809
+ };