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