sun-form-v3 1.0.65 → 1.0.66
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -5
- package/src/App.vue +9 -0
- package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
- package/src/assets/font/demo.css +539 -0
- package/src/assets/font/demo_index.html +1200 -0
- package/src/assets/font/iconfont.css +191 -0
- package/src/assets/font/iconfont.js +1 -0
- package/src/assets/font/iconfont.json +317 -0
- 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 +1 -0
- package/src/assets/styles/element/index.scss +15 -0
- package/src/assets/styles/index.css +3 -0
- package/src/components/a.js +14 -0
- package/src/components/aDesigner/config.vue +127 -0
- package/src/components/aDesigner/design.vue +21 -0
- package/src/components/aDesigner/designer.js +342 -0
- package/src/components/aDesigner/http.js +292 -0
- package/src/components/aDesigner/index.vue +144 -0
- package/src/components/aDesigner/panel.vue +144 -0
- package/src/components/aDesigner/show.vue +24 -0
- package/src/components/widgetCommonComps/commonApiConfig/index.vue +194 -0
- package/src/components/widgetCommonComps/commonCard/index.vue +36 -0
- package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +219 -0
- package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +68 -0
- package/src/components/widgetCommonComps/commonCollapseCard/index.vue +10 -0
- package/src/components/widgetCommonComps/commonContainer/index.vue +95 -0
- package/src/components/widgetCommonComps/commonJsonInput/index.vue +59 -0
- package/src/components/widgetCommonComps/commonLabelContainer/index.vue +39 -0
- package/src/components/widgetCommonComps/commonSidetree/index.vue +61 -0
- package/src/components/widgetCommonComps/commonTypeInput/index.vue +75 -0
- package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +55 -0
- package/src/components/widgetCommonComps/index copy.js +17 -0
- package/src/components/widgetCommonComps/index.js +17 -0
- package/src/components/widgetConfigComps/config-input/index.vue +60 -0
- package/src/components/widgetConfigComps/index copy.js +13 -0
- package/src/components/widgetConfigComps/index.js +17 -0
- package/src/components/widgetShowComps/index.js +29 -0
- package/src/components/widgetShowComps/widget-form/index.vue +43 -0
- package/src/components/widgetShowComps/widget-homepage/index.vue +41 -0
- package/src/components/widgetShowComps/widget-input/index.vue +85 -0
- package/src/components/widgetShowComps/widget-select/index.vue +31 -0
- package/src/designer.js +342 -0
- package/src/http.js +292 -0
- package/src/index.js +24 -0
- package/src/index2.js +23 -0
- package/src/main.js +19 -0
- package/src/remark.js +708 -0
- package/src/testBtn.vue +11 -0
- package/src/testInput.vue +12 -0
- package/src/util/jsformat.js +568 -0
- package/src/widgetConfig.js +1112 -0
- package/dist/abap-DfvySaIJ.js +0 -1404
- package/dist/apex-B__0irD3.js +0 -332
- package/dist/assets/css.worker-OK053IOu.js +0 -84
- package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
- package/dist/assets/html.worker-CL40hqKM.js +0 -458
- package/dist/assets/json.worker-6f9bhSHY.js +0 -42
- package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
- package/dist/azcli-CDMGhRmx.js +0 -74
- package/dist/bat-0Mk8aqzx.js +0 -106
- package/dist/bicep-BBi_I06Z.js +0 -108
- package/dist/cameligo-D0G_Zm6X.js +0 -180
- package/dist/clojure-o2ZKLeMp.js +0 -767
- package/dist/coffee-DOQff5VC.js +0 -238
- package/dist/cpp-CQGJnWhD.js +0 -395
- package/dist/csharp-C1jLsHl8.js +0 -332
- package/dist/csp-C_ttMQaW.js +0 -59
- package/dist/css-BC202kVV.js +0 -193
- package/dist/cssMode-B2c4O0YS.js +0 -1541
- package/dist/cypher-DwtEH7Fi.js +0 -269
- package/dist/dart-D9XknsP2.js +0 -287
- package/dist/dockerfile-DgsNjqqa.js +0 -136
- package/dist/ecl-BAMCHBl6.js +0 -462
- package/dist/elixir-CegIttP8.js +0 -575
- package/dist/favicon.ico +0 -0
- package/dist/flow9-9608t7UV.js +0 -148
- package/dist/freemarker2-C0V-2C6A.js +0 -995
- package/dist/fsharp-CCtt9-1_.js +0 -223
- package/dist/go-CGUIPbct.js +0 -224
- package/dist/graphql-BNRIFFIn.js +0 -157
- package/dist/handlebars-Dq-D2gGP.js +0 -425
- package/dist/hcl-C__KLIXe.js +0 -189
- package/dist/html-CHe4dRTt.js +0 -314
- package/dist/htmlMode-DmZav6BJ.js +0 -1551
- package/dist/index2-CDdAhO0H.js +0 -124690
- package/dist/ini-CeKYn_zA.js +0 -77
- package/dist/java-Dm24deQl.js +0 -238
- package/dist/javascript-e6NjSQC6.js +0 -76
- package/dist/jsonMode-pOauncTt.js +0 -1957
- package/dist/julia-BImNW7VE.js +0 -517
- package/dist/kotlin-BfE79GEb.js +0 -259
- package/dist/less-DglNOcaC.js +0 -168
- package/dist/lexon-BA0dRz9Q.js +0 -163
- package/dist/liquid-DGCC4WOg.js +0 -246
- package/dist/lua-DMkWzJcm.js +0 -168
- package/dist/m3-sA-5shO8.js +0 -216
- package/dist/markdown-OYRB1igA.js +0 -235
- package/dist/mdx-GitjX2xy.js +0 -171
- package/dist/mips-rRzkJ_7G.js +0 -204
- package/dist/msdax-DoVJdUhd.js +0 -381
- package/dist/mysql-Ty44IHXo.js +0 -884
- package/dist/objective-c-VUfyhYrA.js +0 -189
- package/dist/pascal-DkASiYyw.js +0 -257
- package/dist/pascaligo-p-ELPlVO.js +0 -170
- package/dist/perl-Cjl1FxLZ.js +0 -632
- package/dist/pgsql-DjVenF7s.js +0 -857
- package/dist/php-CwvGzZOO.js +0 -506
- package/dist/pla-Br1iaBIV.js +0 -143
- package/dist/postiats-BaeP8zZY.js +0 -913
- package/dist/powerquery-CLCshuo8.js +0 -896
- package/dist/powershell-CZV50w5N.js +0 -245
- package/dist/protobuf-MV3XTewJ.js +0 -426
- package/dist/pug-DkDg4c4l.js +0 -408
- package/dist/python-BxUPejAm.js +0 -282
- package/dist/qsharp-BAtiKA97.js +0 -291
- package/dist/r-8ocrd-h-.js +0 -249
- package/dist/razor-B0zHeS7k.js +0 -556
- package/dist/redis-9sZiddxc.js +0 -308
- package/dist/redshift-DQfTOGC0.js +0 -815
- package/dist/restructuredtext-DXU-vkgr.js +0 -180
- package/dist/ruby-DotfqwMf.js +0 -517
- package/dist/rust-BIauJ5KN.js +0 -349
- package/dist/sb-CmWMvDEV.js +0 -121
- package/dist/scala-C81brEbk.js +0 -376
- package/dist/scheme-D0pcFz2x.js +0 -114
- package/dist/scss-BOdN2fGG.js +0 -268
- package/dist/shell-6E09eAkU.js +0 -227
- package/dist/solidity-CWStzA1K.js +0 -1373
- package/dist/sophia-76Sb6CWe.js +0 -205
- package/dist/sparql-BmZTkOWT.js +0 -207
- package/dist/sql-Cs9TBAW5.js +0 -859
- package/dist/st-B-rqE1Bu.js +0 -422
- package/dist/style.css +0 -1
- package/dist/sun-form-v3.es.js +0 -4
- package/dist/sun-form-v3.umd.js +0 -1908
- package/dist/swift-Btsj6YxQ.js +0 -318
- package/dist/systemverilog-B3RHBRa2.js +0 -582
- package/dist/tcl-Dpj776pn.js +0 -238
- package/dist/tsMode-AhR0apFR.js +0 -886
- package/dist/twig-Bb9JmBsE.js +0 -398
- package/dist/typescript-DW_IjlW5.js +0 -349
- package/dist/typespec-CDWeg3SU.js +0 -123
- package/dist/vb-DEXnYwEI.js +0 -378
- package/dist/wgsl-D602c1lx.js +0 -445
- package/dist/xml-CraN90Vi.js +0 -101
- package/dist/yaml-D6yA8dTm.js +0 -212
package/dist/mysql-Ty44IHXo.js
DELETED
@@ -1,884 +0,0 @@
|
|
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
|
-
}, T = {
|
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
|
-
// This list is generated using `keywords.js`
|
41
|
-
"ACCESSIBLE",
|
42
|
-
"ADD",
|
43
|
-
"ALL",
|
44
|
-
"ALTER",
|
45
|
-
"ANALYZE",
|
46
|
-
"AND",
|
47
|
-
"AS",
|
48
|
-
"ASC",
|
49
|
-
"ASENSITIVE",
|
50
|
-
"BEFORE",
|
51
|
-
"BETWEEN",
|
52
|
-
"BIGINT",
|
53
|
-
"BINARY",
|
54
|
-
"BLOB",
|
55
|
-
"BOTH",
|
56
|
-
"BY",
|
57
|
-
"CALL",
|
58
|
-
"CASCADE",
|
59
|
-
"CASE",
|
60
|
-
"CHANGE",
|
61
|
-
"CHAR",
|
62
|
-
"CHARACTER",
|
63
|
-
"CHECK",
|
64
|
-
"COLLATE",
|
65
|
-
"COLUMN",
|
66
|
-
"CONDITION",
|
67
|
-
"CONSTRAINT",
|
68
|
-
"CONTINUE",
|
69
|
-
"CONVERT",
|
70
|
-
"CREATE",
|
71
|
-
"CROSS",
|
72
|
-
"CUBE",
|
73
|
-
"CUME_DIST",
|
74
|
-
"CURRENT_DATE",
|
75
|
-
"CURRENT_TIME",
|
76
|
-
"CURRENT_TIMESTAMP",
|
77
|
-
"CURRENT_USER",
|
78
|
-
"CURSOR",
|
79
|
-
"DATABASE",
|
80
|
-
"DATABASES",
|
81
|
-
"DAY_HOUR",
|
82
|
-
"DAY_MICROSECOND",
|
83
|
-
"DAY_MINUTE",
|
84
|
-
"DAY_SECOND",
|
85
|
-
"DEC",
|
86
|
-
"DECIMAL",
|
87
|
-
"DECLARE",
|
88
|
-
"DEFAULT",
|
89
|
-
"DELAYED",
|
90
|
-
"DELETE",
|
91
|
-
"DENSE_RANK",
|
92
|
-
"DESC",
|
93
|
-
"DESCRIBE",
|
94
|
-
"DETERMINISTIC",
|
95
|
-
"DISTINCT",
|
96
|
-
"DISTINCTROW",
|
97
|
-
"DIV",
|
98
|
-
"DOUBLE",
|
99
|
-
"DROP",
|
100
|
-
"DUAL",
|
101
|
-
"EACH",
|
102
|
-
"ELSE",
|
103
|
-
"ELSEIF",
|
104
|
-
"EMPTY",
|
105
|
-
"ENCLOSED",
|
106
|
-
"ESCAPED",
|
107
|
-
"EXCEPT",
|
108
|
-
"EXISTS",
|
109
|
-
"EXIT",
|
110
|
-
"EXPLAIN",
|
111
|
-
"FALSE",
|
112
|
-
"FETCH",
|
113
|
-
"FIRST_VALUE",
|
114
|
-
"FLOAT",
|
115
|
-
"FLOAT4",
|
116
|
-
"FLOAT8",
|
117
|
-
"FOR",
|
118
|
-
"FORCE",
|
119
|
-
"FOREIGN",
|
120
|
-
"FROM",
|
121
|
-
"FULLTEXT",
|
122
|
-
"FUNCTION",
|
123
|
-
"GENERATED",
|
124
|
-
"GET",
|
125
|
-
"GRANT",
|
126
|
-
"GROUP",
|
127
|
-
"GROUPING",
|
128
|
-
"GROUPS",
|
129
|
-
"HAVING",
|
130
|
-
"HIGH_PRIORITY",
|
131
|
-
"HOUR_MICROSECOND",
|
132
|
-
"HOUR_MINUTE",
|
133
|
-
"HOUR_SECOND",
|
134
|
-
"IF",
|
135
|
-
"IGNORE",
|
136
|
-
"IN",
|
137
|
-
"INDEX",
|
138
|
-
"INFILE",
|
139
|
-
"INNER",
|
140
|
-
"INOUT",
|
141
|
-
"INSENSITIVE",
|
142
|
-
"INSERT",
|
143
|
-
"INT",
|
144
|
-
"INT1",
|
145
|
-
"INT2",
|
146
|
-
"INT3",
|
147
|
-
"INT4",
|
148
|
-
"INT8",
|
149
|
-
"INTEGER",
|
150
|
-
"INTERVAL",
|
151
|
-
"INTO",
|
152
|
-
"IO_AFTER_GTIDS",
|
153
|
-
"IO_BEFORE_GTIDS",
|
154
|
-
"IS",
|
155
|
-
"ITERATE",
|
156
|
-
"JOIN",
|
157
|
-
"JSON_TABLE",
|
158
|
-
"KEY",
|
159
|
-
"KEYS",
|
160
|
-
"KILL",
|
161
|
-
"LAG",
|
162
|
-
"LAST_VALUE",
|
163
|
-
"LATERAL",
|
164
|
-
"LEAD",
|
165
|
-
"LEADING",
|
166
|
-
"LEAVE",
|
167
|
-
"LEFT",
|
168
|
-
"LIKE",
|
169
|
-
"LIMIT",
|
170
|
-
"LINEAR",
|
171
|
-
"LINES",
|
172
|
-
"LOAD",
|
173
|
-
"LOCALTIME",
|
174
|
-
"LOCALTIMESTAMP",
|
175
|
-
"LOCK",
|
176
|
-
"LONG",
|
177
|
-
"LONGBLOB",
|
178
|
-
"LONGTEXT",
|
179
|
-
"LOOP",
|
180
|
-
"LOW_PRIORITY",
|
181
|
-
"MASTER_BIND",
|
182
|
-
"MASTER_SSL_VERIFY_SERVER_CERT",
|
183
|
-
"MATCH",
|
184
|
-
"MAXVALUE",
|
185
|
-
"MEDIUMBLOB",
|
186
|
-
"MEDIUMINT",
|
187
|
-
"MEDIUMTEXT",
|
188
|
-
"MIDDLEINT",
|
189
|
-
"MINUTE_MICROSECOND",
|
190
|
-
"MINUTE_SECOND",
|
191
|
-
"MOD",
|
192
|
-
"MODIFIES",
|
193
|
-
"NATURAL",
|
194
|
-
"NOT",
|
195
|
-
"NO_WRITE_TO_BINLOG",
|
196
|
-
"NTH_VALUE",
|
197
|
-
"NTILE",
|
198
|
-
"NULL",
|
199
|
-
"NUMERIC",
|
200
|
-
"OF",
|
201
|
-
"ON",
|
202
|
-
"OPTIMIZE",
|
203
|
-
"OPTIMIZER_COSTS",
|
204
|
-
"OPTION",
|
205
|
-
"OPTIONALLY",
|
206
|
-
"OR",
|
207
|
-
"ORDER",
|
208
|
-
"OUT",
|
209
|
-
"OUTER",
|
210
|
-
"OUTFILE",
|
211
|
-
"OVER",
|
212
|
-
"PARTITION",
|
213
|
-
"PERCENT_RANK",
|
214
|
-
"PRECISION",
|
215
|
-
"PRIMARY",
|
216
|
-
"PROCEDURE",
|
217
|
-
"PURGE",
|
218
|
-
"RANGE",
|
219
|
-
"RANK",
|
220
|
-
"READ",
|
221
|
-
"READS",
|
222
|
-
"READ_WRITE",
|
223
|
-
"REAL",
|
224
|
-
"RECURSIVE",
|
225
|
-
"REFERENCES",
|
226
|
-
"REGEXP",
|
227
|
-
"RELEASE",
|
228
|
-
"RENAME",
|
229
|
-
"REPEAT",
|
230
|
-
"REPLACE",
|
231
|
-
"REQUIRE",
|
232
|
-
"RESIGNAL",
|
233
|
-
"RESTRICT",
|
234
|
-
"RETURN",
|
235
|
-
"REVOKE",
|
236
|
-
"RIGHT",
|
237
|
-
"RLIKE",
|
238
|
-
"ROW",
|
239
|
-
"ROWS",
|
240
|
-
"ROW_NUMBER",
|
241
|
-
"SCHEMA",
|
242
|
-
"SCHEMAS",
|
243
|
-
"SECOND_MICROSECOND",
|
244
|
-
"SELECT",
|
245
|
-
"SENSITIVE",
|
246
|
-
"SEPARATOR",
|
247
|
-
"SET",
|
248
|
-
"SHOW",
|
249
|
-
"SIGNAL",
|
250
|
-
"SMALLINT",
|
251
|
-
"SPATIAL",
|
252
|
-
"SPECIFIC",
|
253
|
-
"SQL",
|
254
|
-
"SQLEXCEPTION",
|
255
|
-
"SQLSTATE",
|
256
|
-
"SQLWARNING",
|
257
|
-
"SQL_BIG_RESULT",
|
258
|
-
"SQL_CALC_FOUND_ROWS",
|
259
|
-
"SQL_SMALL_RESULT",
|
260
|
-
"SSL",
|
261
|
-
"STARTING",
|
262
|
-
"STORED",
|
263
|
-
"STRAIGHT_JOIN",
|
264
|
-
"SYSTEM",
|
265
|
-
"TABLE",
|
266
|
-
"TERMINATED",
|
267
|
-
"THEN",
|
268
|
-
"TINYBLOB",
|
269
|
-
"TINYINT",
|
270
|
-
"TINYTEXT",
|
271
|
-
"TO",
|
272
|
-
"TRAILING",
|
273
|
-
"TRIGGER",
|
274
|
-
"TRUE",
|
275
|
-
"UNDO",
|
276
|
-
"UNION",
|
277
|
-
"UNIQUE",
|
278
|
-
"UNLOCK",
|
279
|
-
"UNSIGNED",
|
280
|
-
"UPDATE",
|
281
|
-
"USAGE",
|
282
|
-
"USE",
|
283
|
-
"USING",
|
284
|
-
"UTC_DATE",
|
285
|
-
"UTC_TIME",
|
286
|
-
"UTC_TIMESTAMP",
|
287
|
-
"VALUES",
|
288
|
-
"VARBINARY",
|
289
|
-
"VARCHAR",
|
290
|
-
"VARCHARACTER",
|
291
|
-
"VARYING",
|
292
|
-
"VIRTUAL",
|
293
|
-
"WHEN",
|
294
|
-
"WHERE",
|
295
|
-
"WHILE",
|
296
|
-
"WINDOW",
|
297
|
-
"WITH",
|
298
|
-
"WRITE",
|
299
|
-
"XOR",
|
300
|
-
"YEAR_MONTH",
|
301
|
-
"ZEROFILL"
|
302
|
-
],
|
303
|
-
operators: [
|
304
|
-
"AND",
|
305
|
-
"BETWEEN",
|
306
|
-
"IN",
|
307
|
-
"LIKE",
|
308
|
-
"NOT",
|
309
|
-
"OR",
|
310
|
-
"IS",
|
311
|
-
"NULL",
|
312
|
-
"INTERSECT",
|
313
|
-
"UNION",
|
314
|
-
"INNER",
|
315
|
-
"JOIN",
|
316
|
-
"LEFT",
|
317
|
-
"OUTER",
|
318
|
-
"RIGHT"
|
319
|
-
],
|
320
|
-
builtinFunctions: [
|
321
|
-
"ABS",
|
322
|
-
"ACOS",
|
323
|
-
"ADDDATE",
|
324
|
-
"ADDTIME",
|
325
|
-
"AES_DECRYPT",
|
326
|
-
"AES_ENCRYPT",
|
327
|
-
"ANY_VALUE",
|
328
|
-
"Area",
|
329
|
-
"AsBinary",
|
330
|
-
"AsWKB",
|
331
|
-
"ASCII",
|
332
|
-
"ASIN",
|
333
|
-
"AsText",
|
334
|
-
"AsWKT",
|
335
|
-
"ASYMMETRIC_DECRYPT",
|
336
|
-
"ASYMMETRIC_DERIVE",
|
337
|
-
"ASYMMETRIC_ENCRYPT",
|
338
|
-
"ASYMMETRIC_SIGN",
|
339
|
-
"ASYMMETRIC_VERIFY",
|
340
|
-
"ATAN",
|
341
|
-
"ATAN2",
|
342
|
-
"ATAN",
|
343
|
-
"AVG",
|
344
|
-
"BENCHMARK",
|
345
|
-
"BIN",
|
346
|
-
"BIT_AND",
|
347
|
-
"BIT_COUNT",
|
348
|
-
"BIT_LENGTH",
|
349
|
-
"BIT_OR",
|
350
|
-
"BIT_XOR",
|
351
|
-
"Buffer",
|
352
|
-
"CAST",
|
353
|
-
"CEIL",
|
354
|
-
"CEILING",
|
355
|
-
"Centroid",
|
356
|
-
"CHAR",
|
357
|
-
"CHAR_LENGTH",
|
358
|
-
"CHARACTER_LENGTH",
|
359
|
-
"CHARSET",
|
360
|
-
"COALESCE",
|
361
|
-
"COERCIBILITY",
|
362
|
-
"COLLATION",
|
363
|
-
"COMPRESS",
|
364
|
-
"CONCAT",
|
365
|
-
"CONCAT_WS",
|
366
|
-
"CONNECTION_ID",
|
367
|
-
"Contains",
|
368
|
-
"CONV",
|
369
|
-
"CONVERT",
|
370
|
-
"CONVERT_TZ",
|
371
|
-
"ConvexHull",
|
372
|
-
"COS",
|
373
|
-
"COT",
|
374
|
-
"COUNT",
|
375
|
-
"CRC32",
|
376
|
-
"CREATE_ASYMMETRIC_PRIV_KEY",
|
377
|
-
"CREATE_ASYMMETRIC_PUB_KEY",
|
378
|
-
"CREATE_DH_PARAMETERS",
|
379
|
-
"CREATE_DIGEST",
|
380
|
-
"Crosses",
|
381
|
-
"CUME_DIST",
|
382
|
-
"CURDATE",
|
383
|
-
"CURRENT_DATE",
|
384
|
-
"CURRENT_ROLE",
|
385
|
-
"CURRENT_TIME",
|
386
|
-
"CURRENT_TIMESTAMP",
|
387
|
-
"CURRENT_USER",
|
388
|
-
"CURTIME",
|
389
|
-
"DATABASE",
|
390
|
-
"DATE",
|
391
|
-
"DATE_ADD",
|
392
|
-
"DATE_FORMAT",
|
393
|
-
"DATE_SUB",
|
394
|
-
"DATEDIFF",
|
395
|
-
"DAY",
|
396
|
-
"DAYNAME",
|
397
|
-
"DAYOFMONTH",
|
398
|
-
"DAYOFWEEK",
|
399
|
-
"DAYOFYEAR",
|
400
|
-
"DECODE",
|
401
|
-
"DEFAULT",
|
402
|
-
"DEGREES",
|
403
|
-
"DES_DECRYPT",
|
404
|
-
"DES_ENCRYPT",
|
405
|
-
"DENSE_RANK",
|
406
|
-
"Dimension",
|
407
|
-
"Disjoint",
|
408
|
-
"Distance",
|
409
|
-
"ELT",
|
410
|
-
"ENCODE",
|
411
|
-
"ENCRYPT",
|
412
|
-
"EndPoint",
|
413
|
-
"Envelope",
|
414
|
-
"Equals",
|
415
|
-
"EXP",
|
416
|
-
"EXPORT_SET",
|
417
|
-
"ExteriorRing",
|
418
|
-
"EXTRACT",
|
419
|
-
"ExtractValue",
|
420
|
-
"FIELD",
|
421
|
-
"FIND_IN_SET",
|
422
|
-
"FIRST_VALUE",
|
423
|
-
"FLOOR",
|
424
|
-
"FORMAT",
|
425
|
-
"FORMAT_BYTES",
|
426
|
-
"FORMAT_PICO_TIME",
|
427
|
-
"FOUND_ROWS",
|
428
|
-
"FROM_BASE64",
|
429
|
-
"FROM_DAYS",
|
430
|
-
"FROM_UNIXTIME",
|
431
|
-
"GEN_RANGE",
|
432
|
-
"GEN_RND_EMAIL",
|
433
|
-
"GEN_RND_PAN",
|
434
|
-
"GEN_RND_SSN",
|
435
|
-
"GEN_RND_US_PHONE",
|
436
|
-
"GeomCollection",
|
437
|
-
"GeomCollFromText",
|
438
|
-
"GeometryCollectionFromText",
|
439
|
-
"GeomCollFromWKB",
|
440
|
-
"GeometryCollectionFromWKB",
|
441
|
-
"GeometryCollection",
|
442
|
-
"GeometryN",
|
443
|
-
"GeometryType",
|
444
|
-
"GeomFromText",
|
445
|
-
"GeometryFromText",
|
446
|
-
"GeomFromWKB",
|
447
|
-
"GeometryFromWKB",
|
448
|
-
"GET_FORMAT",
|
449
|
-
"GET_LOCK",
|
450
|
-
"GLength",
|
451
|
-
"GREATEST",
|
452
|
-
"GROUP_CONCAT",
|
453
|
-
"GROUPING",
|
454
|
-
"GTID_SUBSET",
|
455
|
-
"GTID_SUBTRACT",
|
456
|
-
"HEX",
|
457
|
-
"HOUR",
|
458
|
-
"ICU_VERSION",
|
459
|
-
"IF",
|
460
|
-
"IFNULL",
|
461
|
-
"INET_ATON",
|
462
|
-
"INET_NTOA",
|
463
|
-
"INET6_ATON",
|
464
|
-
"INET6_NTOA",
|
465
|
-
"INSERT",
|
466
|
-
"INSTR",
|
467
|
-
"InteriorRingN",
|
468
|
-
"Intersects",
|
469
|
-
"INTERVAL",
|
470
|
-
"IS_FREE_LOCK",
|
471
|
-
"IS_IPV4",
|
472
|
-
"IS_IPV4_COMPAT",
|
473
|
-
"IS_IPV4_MAPPED",
|
474
|
-
"IS_IPV6",
|
475
|
-
"IS_USED_LOCK",
|
476
|
-
"IS_UUID",
|
477
|
-
"IsClosed",
|
478
|
-
"IsEmpty",
|
479
|
-
"ISNULL",
|
480
|
-
"IsSimple",
|
481
|
-
"JSON_APPEND",
|
482
|
-
"JSON_ARRAY",
|
483
|
-
"JSON_ARRAY_APPEND",
|
484
|
-
"JSON_ARRAY_INSERT",
|
485
|
-
"JSON_ARRAYAGG",
|
486
|
-
"JSON_CONTAINS",
|
487
|
-
"JSON_CONTAINS_PATH",
|
488
|
-
"JSON_DEPTH",
|
489
|
-
"JSON_EXTRACT",
|
490
|
-
"JSON_INSERT",
|
491
|
-
"JSON_KEYS",
|
492
|
-
"JSON_LENGTH",
|
493
|
-
"JSON_MERGE",
|
494
|
-
"JSON_MERGE_PATCH",
|
495
|
-
"JSON_MERGE_PRESERVE",
|
496
|
-
"JSON_OBJECT",
|
497
|
-
"JSON_OBJECTAGG",
|
498
|
-
"JSON_OVERLAPS",
|
499
|
-
"JSON_PRETTY",
|
500
|
-
"JSON_QUOTE",
|
501
|
-
"JSON_REMOVE",
|
502
|
-
"JSON_REPLACE",
|
503
|
-
"JSON_SCHEMA_VALID",
|
504
|
-
"JSON_SCHEMA_VALIDATION_REPORT",
|
505
|
-
"JSON_SEARCH",
|
506
|
-
"JSON_SET",
|
507
|
-
"JSON_STORAGE_FREE",
|
508
|
-
"JSON_STORAGE_SIZE",
|
509
|
-
"JSON_TABLE",
|
510
|
-
"JSON_TYPE",
|
511
|
-
"JSON_UNQUOTE",
|
512
|
-
"JSON_VALID",
|
513
|
-
"LAG",
|
514
|
-
"LAST_DAY",
|
515
|
-
"LAST_INSERT_ID",
|
516
|
-
"LAST_VALUE",
|
517
|
-
"LCASE",
|
518
|
-
"LEAD",
|
519
|
-
"LEAST",
|
520
|
-
"LEFT",
|
521
|
-
"LENGTH",
|
522
|
-
"LineFromText",
|
523
|
-
"LineStringFromText",
|
524
|
-
"LineFromWKB",
|
525
|
-
"LineStringFromWKB",
|
526
|
-
"LineString",
|
527
|
-
"LN",
|
528
|
-
"LOAD_FILE",
|
529
|
-
"LOCALTIME",
|
530
|
-
"LOCALTIMESTAMP",
|
531
|
-
"LOCATE",
|
532
|
-
"LOG",
|
533
|
-
"LOG10",
|
534
|
-
"LOG2",
|
535
|
-
"LOWER",
|
536
|
-
"LPAD",
|
537
|
-
"LTRIM",
|
538
|
-
"MAKE_SET",
|
539
|
-
"MAKEDATE",
|
540
|
-
"MAKETIME",
|
541
|
-
"MASK_INNER",
|
542
|
-
"MASK_OUTER",
|
543
|
-
"MASK_PAN",
|
544
|
-
"MASK_PAN_RELAXED",
|
545
|
-
"MASK_SSN",
|
546
|
-
"MASTER_POS_WAIT",
|
547
|
-
"MAX",
|
548
|
-
"MBRContains",
|
549
|
-
"MBRCoveredBy",
|
550
|
-
"MBRCovers",
|
551
|
-
"MBRDisjoint",
|
552
|
-
"MBREqual",
|
553
|
-
"MBREquals",
|
554
|
-
"MBRIntersects",
|
555
|
-
"MBROverlaps",
|
556
|
-
"MBRTouches",
|
557
|
-
"MBRWithin",
|
558
|
-
"MD5",
|
559
|
-
"MEMBER OF",
|
560
|
-
"MICROSECOND",
|
561
|
-
"MID",
|
562
|
-
"MIN",
|
563
|
-
"MINUTE",
|
564
|
-
"MLineFromText",
|
565
|
-
"MultiLineStringFromText",
|
566
|
-
"MLineFromWKB",
|
567
|
-
"MultiLineStringFromWKB",
|
568
|
-
"MOD",
|
569
|
-
"MONTH",
|
570
|
-
"MONTHNAME",
|
571
|
-
"MPointFromText",
|
572
|
-
"MultiPointFromText",
|
573
|
-
"MPointFromWKB",
|
574
|
-
"MultiPointFromWKB",
|
575
|
-
"MPolyFromText",
|
576
|
-
"MultiPolygonFromText",
|
577
|
-
"MPolyFromWKB",
|
578
|
-
"MultiPolygonFromWKB",
|
579
|
-
"MultiLineString",
|
580
|
-
"MultiPoint",
|
581
|
-
"MultiPolygon",
|
582
|
-
"NAME_CONST",
|
583
|
-
"NOT IN",
|
584
|
-
"NOW",
|
585
|
-
"NTH_VALUE",
|
586
|
-
"NTILE",
|
587
|
-
"NULLIF",
|
588
|
-
"NumGeometries",
|
589
|
-
"NumInteriorRings",
|
590
|
-
"NumPoints",
|
591
|
-
"OCT",
|
592
|
-
"OCTET_LENGTH",
|
593
|
-
"OLD_PASSWORD",
|
594
|
-
"ORD",
|
595
|
-
"Overlaps",
|
596
|
-
"PASSWORD",
|
597
|
-
"PERCENT_RANK",
|
598
|
-
"PERIOD_ADD",
|
599
|
-
"PERIOD_DIFF",
|
600
|
-
"PI",
|
601
|
-
"Point",
|
602
|
-
"PointFromText",
|
603
|
-
"PointFromWKB",
|
604
|
-
"PointN",
|
605
|
-
"PolyFromText",
|
606
|
-
"PolygonFromText",
|
607
|
-
"PolyFromWKB",
|
608
|
-
"PolygonFromWKB",
|
609
|
-
"Polygon",
|
610
|
-
"POSITION",
|
611
|
-
"POW",
|
612
|
-
"POWER",
|
613
|
-
"PS_CURRENT_THREAD_ID",
|
614
|
-
"PS_THREAD_ID",
|
615
|
-
"PROCEDURE ANALYSE",
|
616
|
-
"QUARTER",
|
617
|
-
"QUOTE",
|
618
|
-
"RADIANS",
|
619
|
-
"RAND",
|
620
|
-
"RANDOM_BYTES",
|
621
|
-
"RANK",
|
622
|
-
"REGEXP_INSTR",
|
623
|
-
"REGEXP_LIKE",
|
624
|
-
"REGEXP_REPLACE",
|
625
|
-
"REGEXP_REPLACE",
|
626
|
-
"RELEASE_ALL_LOCKS",
|
627
|
-
"RELEASE_LOCK",
|
628
|
-
"REPEAT",
|
629
|
-
"REPLACE",
|
630
|
-
"REVERSE",
|
631
|
-
"RIGHT",
|
632
|
-
"ROLES_GRAPHML",
|
633
|
-
"ROUND",
|
634
|
-
"ROW_COUNT",
|
635
|
-
"ROW_NUMBER",
|
636
|
-
"RPAD",
|
637
|
-
"RTRIM",
|
638
|
-
"SCHEMA",
|
639
|
-
"SEC_TO_TIME",
|
640
|
-
"SECOND",
|
641
|
-
"SESSION_USER",
|
642
|
-
"SHA1",
|
643
|
-
"SHA",
|
644
|
-
"SHA2",
|
645
|
-
"SIGN",
|
646
|
-
"SIN",
|
647
|
-
"SLEEP",
|
648
|
-
"SOUNDEX",
|
649
|
-
"SOURCE_POS_WAIT",
|
650
|
-
"SPACE",
|
651
|
-
"SQRT",
|
652
|
-
"SRID",
|
653
|
-
"ST_Area",
|
654
|
-
"ST_AsBinary",
|
655
|
-
"ST_AsWKB",
|
656
|
-
"ST_AsGeoJSON",
|
657
|
-
"ST_AsText",
|
658
|
-
"ST_AsWKT",
|
659
|
-
"ST_Buffer",
|
660
|
-
"ST_Buffer_Strategy",
|
661
|
-
"ST_Centroid",
|
662
|
-
"ST_Collect",
|
663
|
-
"ST_Contains",
|
664
|
-
"ST_ConvexHull",
|
665
|
-
"ST_Crosses",
|
666
|
-
"ST_Difference",
|
667
|
-
"ST_Dimension",
|
668
|
-
"ST_Disjoint",
|
669
|
-
"ST_Distance",
|
670
|
-
"ST_Distance_Sphere",
|
671
|
-
"ST_EndPoint",
|
672
|
-
"ST_Envelope",
|
673
|
-
"ST_Equals",
|
674
|
-
"ST_ExteriorRing",
|
675
|
-
"ST_FrechetDistance",
|
676
|
-
"ST_GeoHash",
|
677
|
-
"ST_GeomCollFromText",
|
678
|
-
"ST_GeometryCollectionFromText",
|
679
|
-
"ST_GeomCollFromTxt",
|
680
|
-
"ST_GeomCollFromWKB",
|
681
|
-
"ST_GeometryCollectionFromWKB",
|
682
|
-
"ST_GeometryN",
|
683
|
-
"ST_GeometryType",
|
684
|
-
"ST_GeomFromGeoJSON",
|
685
|
-
"ST_GeomFromText",
|
686
|
-
"ST_GeometryFromText",
|
687
|
-
"ST_GeomFromWKB",
|
688
|
-
"ST_GeometryFromWKB",
|
689
|
-
"ST_HausdorffDistance",
|
690
|
-
"ST_InteriorRingN",
|
691
|
-
"ST_Intersection",
|
692
|
-
"ST_Intersects",
|
693
|
-
"ST_IsClosed",
|
694
|
-
"ST_IsEmpty",
|
695
|
-
"ST_IsSimple",
|
696
|
-
"ST_IsValid",
|
697
|
-
"ST_LatFromGeoHash",
|
698
|
-
"ST_Length",
|
699
|
-
"ST_LineFromText",
|
700
|
-
"ST_LineStringFromText",
|
701
|
-
"ST_LineFromWKB",
|
702
|
-
"ST_LineStringFromWKB",
|
703
|
-
"ST_LineInterpolatePoint",
|
704
|
-
"ST_LineInterpolatePoints",
|
705
|
-
"ST_LongFromGeoHash",
|
706
|
-
"ST_Longitude",
|
707
|
-
"ST_MakeEnvelope",
|
708
|
-
"ST_MLineFromText",
|
709
|
-
"ST_MultiLineStringFromText",
|
710
|
-
"ST_MLineFromWKB",
|
711
|
-
"ST_MultiLineStringFromWKB",
|
712
|
-
"ST_MPointFromText",
|
713
|
-
"ST_MultiPointFromText",
|
714
|
-
"ST_MPointFromWKB",
|
715
|
-
"ST_MultiPointFromWKB",
|
716
|
-
"ST_MPolyFromText",
|
717
|
-
"ST_MultiPolygonFromText",
|
718
|
-
"ST_MPolyFromWKB",
|
719
|
-
"ST_MultiPolygonFromWKB",
|
720
|
-
"ST_NumGeometries",
|
721
|
-
"ST_NumInteriorRing",
|
722
|
-
"ST_NumInteriorRings",
|
723
|
-
"ST_NumPoints",
|
724
|
-
"ST_Overlaps",
|
725
|
-
"ST_PointAtDistance",
|
726
|
-
"ST_PointFromGeoHash",
|
727
|
-
"ST_PointFromText",
|
728
|
-
"ST_PointFromWKB",
|
729
|
-
"ST_PointN",
|
730
|
-
"ST_PolyFromText",
|
731
|
-
"ST_PolygonFromText",
|
732
|
-
"ST_PolyFromWKB",
|
733
|
-
"ST_PolygonFromWKB",
|
734
|
-
"ST_Simplify",
|
735
|
-
"ST_SRID",
|
736
|
-
"ST_StartPoint",
|
737
|
-
"ST_SwapXY",
|
738
|
-
"ST_SymDifference",
|
739
|
-
"ST_Touches",
|
740
|
-
"ST_Transform",
|
741
|
-
"ST_Union",
|
742
|
-
"ST_Validate",
|
743
|
-
"ST_Within",
|
744
|
-
"ST_X",
|
745
|
-
"ST_Y",
|
746
|
-
"StartPoint",
|
747
|
-
"STATEMENT_DIGEST",
|
748
|
-
"STATEMENT_DIGEST_TEXT",
|
749
|
-
"STD",
|
750
|
-
"STDDEV",
|
751
|
-
"STDDEV_POP",
|
752
|
-
"STDDEV_SAMP",
|
753
|
-
"STR_TO_DATE",
|
754
|
-
"STRCMP",
|
755
|
-
"SUBDATE",
|
756
|
-
"SUBSTR",
|
757
|
-
"SUBSTRING",
|
758
|
-
"SUBSTRING_INDEX",
|
759
|
-
"SUBTIME",
|
760
|
-
"SUM",
|
761
|
-
"SYSDATE",
|
762
|
-
"SYSTEM_USER",
|
763
|
-
"TAN",
|
764
|
-
"TIME",
|
765
|
-
"TIME_FORMAT",
|
766
|
-
"TIME_TO_SEC",
|
767
|
-
"TIMEDIFF",
|
768
|
-
"TIMESTAMP",
|
769
|
-
"TIMESTAMPADD",
|
770
|
-
"TIMESTAMPDIFF",
|
771
|
-
"TO_BASE64",
|
772
|
-
"TO_DAYS",
|
773
|
-
"TO_SECONDS",
|
774
|
-
"Touches",
|
775
|
-
"TRIM",
|
776
|
-
"TRUNCATE",
|
777
|
-
"UCASE",
|
778
|
-
"UNCOMPRESS",
|
779
|
-
"UNCOMPRESSED_LENGTH",
|
780
|
-
"UNHEX",
|
781
|
-
"UNIX_TIMESTAMP",
|
782
|
-
"UpdateXML",
|
783
|
-
"UPPER",
|
784
|
-
"USER",
|
785
|
-
"UTC_DATE",
|
786
|
-
"UTC_TIME",
|
787
|
-
"UTC_TIMESTAMP",
|
788
|
-
"UUID",
|
789
|
-
"UUID_SHORT",
|
790
|
-
"UUID_TO_BIN",
|
791
|
-
"VALIDATE_PASSWORD_STRENGTH",
|
792
|
-
"VALUES",
|
793
|
-
"VAR_POP",
|
794
|
-
"VAR_SAMP",
|
795
|
-
"VARIANCE",
|
796
|
-
"VERSION",
|
797
|
-
"WAIT_FOR_EXECUTED_GTID_SET",
|
798
|
-
"WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",
|
799
|
-
"WEEK",
|
800
|
-
"WEEKDAY",
|
801
|
-
"WEEKOFYEAR",
|
802
|
-
"WEIGHT_STRING",
|
803
|
-
"Within",
|
804
|
-
"X",
|
805
|
-
"Y",
|
806
|
-
"YEAR",
|
807
|
-
"YEARWEEK"
|
808
|
-
],
|
809
|
-
builtinVariables: [
|
810
|
-
// NOT SUPPORTED
|
811
|
-
],
|
812
|
-
tokenizer: {
|
813
|
-
root: [
|
814
|
-
{ include: "@comments" },
|
815
|
-
{ include: "@whitespace" },
|
816
|
-
{ include: "@numbers" },
|
817
|
-
{ include: "@strings" },
|
818
|
-
{ include: "@complexIdentifiers" },
|
819
|
-
{ include: "@scopes" },
|
820
|
-
[/[;,.]/, "delimiter"],
|
821
|
-
[/[()]/, "@brackets"],
|
822
|
-
[
|
823
|
-
/[\w@]+/,
|
824
|
-
{
|
825
|
-
cases: {
|
826
|
-
"@operators": "operator",
|
827
|
-
"@builtinVariables": "predefined",
|
828
|
-
"@builtinFunctions": "predefined",
|
829
|
-
"@keywords": "keyword",
|
830
|
-
"@default": "identifier"
|
831
|
-
}
|
832
|
-
}
|
833
|
-
],
|
834
|
-
[/[<>=!%&+\-*/|~^]/, "operator"]
|
835
|
-
],
|
836
|
-
whitespace: [[/\s+/, "white"]],
|
837
|
-
comments: [
|
838
|
-
[/--+.*/, "comment"],
|
839
|
-
[/#+.*/, "comment"],
|
840
|
-
[/\/\*/, { token: "comment.quote", next: "@comment" }]
|
841
|
-
],
|
842
|
-
comment: [
|
843
|
-
[/[^*/]+/, "comment"],
|
844
|
-
// Not supporting nested comments, as nested comments seem to not be standard?
|
845
|
-
// i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
|
846
|
-
// [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
|
847
|
-
[/\*\//, { token: "comment.quote", next: "@pop" }],
|
848
|
-
[/./, "comment"]
|
849
|
-
],
|
850
|
-
numbers: [
|
851
|
-
[/0[xX][0-9a-fA-F]*/, "number"],
|
852
|
-
[/[$][+-]*\d*(\.\d*)?/, "number"],
|
853
|
-
[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
|
854
|
-
],
|
855
|
-
strings: [
|
856
|
-
[/'/, { token: "string", next: "@string" }],
|
857
|
-
[/"/, { token: "string.double", next: "@stringDouble" }]
|
858
|
-
],
|
859
|
-
string: [
|
860
|
-
[/\\'/, "string"],
|
861
|
-
[/[^']+/, "string"],
|
862
|
-
[/''/, "string"],
|
863
|
-
[/'/, { token: "string", next: "@pop" }]
|
864
|
-
],
|
865
|
-
stringDouble: [
|
866
|
-
[/[^"]+/, "string.double"],
|
867
|
-
[/""/, "string.double"],
|
868
|
-
[/"/, { token: "string.double", next: "@pop" }]
|
869
|
-
],
|
870
|
-
complexIdentifiers: [[/`/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
|
871
|
-
quotedIdentifier: [
|
872
|
-
[/[^`]+/, "identifier"],
|
873
|
-
[/``/, "identifier"],
|
874
|
-
[/`/, { token: "identifier.quote", next: "@pop" }]
|
875
|
-
],
|
876
|
-
scopes: [
|
877
|
-
// NOT SUPPORTED
|
878
|
-
]
|
879
|
-
}
|
880
|
-
};
|
881
|
-
export {
|
882
|
-
E as conf,
|
883
|
-
T as language
|
884
|
-
};
|