@ansible/ansible-ui-framework 2.4.2597 → 2.4.2599

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/index.js +44791 -148
  2. package/index.umd.cjs +258 -2173
  3. package/package.json +8 -6
  4. package/publish/index.d.ts +337 -148
  5. package/style.css +1 -1
  6. package/abap-BgxiW-yv.js +0 -1404
  7. package/apex-Ci_BavZh.js +0 -332
  8. package/assets/editor.worker-BKD3YLiN.js +0 -12
  9. package/assets/json.worker-D1dAtg0Q.js +0 -49
  10. package/assets/yaml.worker-DS47KmSZ.js +0 -476
  11. package/azcli-dfO4wGjy.js +0 -74
  12. package/bat-DD810Xk_.js +0 -106
  13. package/bicep-8OENIIxl.js +0 -108
  14. package/cameligo-NqPxsDwa.js +0 -180
  15. package/clojure-DuHkQIc1.js +0 -767
  16. package/coffee-B3cpF2mL.js +0 -238
  17. package/cpp-BJvlC8pp.js +0 -395
  18. package/csharp-B-mepg9G.js +0 -332
  19. package/csp-CZDIWMVF.js +0 -59
  20. package/css-CLWUu9O1.js +0 -193
  21. package/cssMode-BW_EgCuT.js +0 -1577
  22. package/cypher-DaPSdc0H.js +0 -269
  23. package/dart-Do9iT_o8.js +0 -287
  24. package/dockerfile-CbJBIDss.js +0 -136
  25. package/ecl-BqVPFR32.js +0 -462
  26. package/elixir-D1QTcrNJ.js +0 -575
  27. package/flow9-8noNFj4g.js +0 -148
  28. package/freemarker2-CZroC-2x.js +0 -995
  29. package/fsharp-C8jetu08.js +0 -223
  30. package/go-CwkaVtEf.js +0 -224
  31. package/graphql-CN0L02lB.js +0 -157
  32. package/handlebars-DdZaSSq2.js +0 -425
  33. package/hcl-B8DTUjkt.js +0 -189
  34. package/html-BStYWvMR.js +0 -314
  35. package/htmlMode-BZ30jslh.js +0 -1587
  36. package/index-_bG9dmst.js +0 -157805
  37. package/ini-BAHk9dez.js +0 -77
  38. package/java-BqU7F-WC.js +0 -238
  39. package/javascript-R1fkmvzs.js +0 -76
  40. package/jsonMode-B3D-ZZhn.js +0 -2002
  41. package/julia-7wzAFYJ_.js +0 -517
  42. package/kotlin-Ds6t9yxb.js +0 -259
  43. package/less-BsKXqSGe.js +0 -168
  44. package/lexon-CxjeM0Fy.js +0 -163
  45. package/liquid-COCYG7jZ.js +0 -246
  46. package/lua-CZeocWyu.js +0 -168
  47. package/m3-DrAa334y.js +0 -216
  48. package/markdown-BKScSdMX.js +0 -235
  49. package/mdx-CnriKNQ4.js +0 -171
  50. package/mips-C2kxK_Lk.js +0 -204
  51. package/msdax-CV-iM8Y9.js +0 -381
  52. package/mysql-0UKhlzQO.js +0 -884
  53. package/objective-c-CbKhSCGr.js +0 -189
  54. package/pascal-CP-K8RTj.js +0 -257
  55. package/pascaligo-DNS345Ec.js +0 -170
  56. package/perl-CU_O2Ux7.js +0 -632
  57. package/pgsql-CvE830Au.js +0 -857
  58. package/php-BvwPLbR6.js +0 -506
  59. package/pla-DJ8gwRb5.js +0 -143
  60. package/postiats-CGZof9No.js +0 -913
  61. package/powerquery-C7bI8brw.js +0 -896
  62. package/powershell-CmptSHHa.js +0 -245
  63. package/protobuf-CNFSy7mI.js +0 -426
  64. package/publish/abap-BgxiW-yv.d.ts +0 -63
  65. package/publish/apex-Ci_BavZh.d.ts +0 -65
  66. package/publish/assets/editor.worker-BKD3YLiN.d.ts +0 -0
  67. package/publish/assets/json.worker-D1dAtg0Q.d.ts +0 -3
  68. package/publish/assets/yaml.worker-DS47KmSZ.d.ts +0 -3
  69. package/publish/azcli-dfO4wGjy.d.ts +0 -47
  70. package/publish/bat-DD810Xk_.d.ts +0 -57
  71. package/publish/bicep-8OENIIxl.d.ts +0 -146
  72. package/publish/cameligo-NqPxsDwa.d.ts +0 -55
  73. package/publish/clojure-DuHkQIc1.d.ts +0 -50
  74. package/publish/coffee-B3cpF2mL.d.ts +0 -102
  75. package/publish/cpp-BJvlC8pp.d.ts +0 -83
  76. package/publish/csharp-B-mepg9G.d.ts +0 -113
  77. package/publish/csp-CZDIWMVF.d.ts +0 -17
  78. package/publish/css-CLWUu9O1.d.ts +0 -144
  79. package/publish/cssMode-BW_EgCuT.d.ts +0 -130
  80. package/publish/cypher-DaPSdc0H.d.ts +0 -65
  81. package/publish/dart-Do9iT_o8.d.ts +0 -83
  82. package/publish/dockerfile-CbJBIDss.d.ts +0 -73
  83. package/publish/ecl-BqVPFR32.d.ts +0 -60
  84. package/publish/elixir-D1QTcrNJ.d.ts +0 -307
  85. package/publish/flow9-8noNFj4g.d.ts +0 -45
  86. package/publish/freemarker2-CZroC-2x.d.ts +0 -1543
  87. package/publish/fsharp-C8jetu08.d.ts +0 -61
  88. package/publish/go-CwkaVtEf.d.ts +0 -51
  89. package/publish/graphql-CN0L02lB.d.ts +0 -75
  90. package/publish/handlebars-DdZaSSq2.d.ts +0 -176
  91. package/publish/hcl-B8DTUjkt.d.ts +0 -77
  92. package/publish/html-BStYWvMR.d.ts +0 -129
  93. package/publish/htmlMode-BZ30jslh.d.ts +0 -131
  94. package/publish/index-_bG9dmst.d.ts +0 -2914
  95. package/publish/ini-BAHk9dez.d.ts +0 -35
  96. package/publish/java-BqU7F-WC.d.ts +0 -57
  97. package/publish/javascript-R1fkmvzs.d.ts +0 -111
  98. package/publish/jsonMode-B3D-ZZhn.d.ts +0 -131
  99. package/publish/julia-7wzAFYJ_.d.ts +0 -92
  100. package/publish/kotlin-Ds6t9yxb.d.ts +0 -57
  101. package/publish/less-BsKXqSGe.d.ts +0 -88
  102. package/publish/lexon-CxjeM0Fy.d.ts +0 -81
  103. package/publish/liquid-COCYG7jZ.d.ts +0 -73
  104. package/publish/lua-CZeocWyu.d.ts +0 -66
  105. package/publish/m3-DrAa334y.d.ts +0 -63
  106. package/publish/markdown-BKScSdMX.d.ts +0 -129
  107. package/publish/mdx-CnriKNQ4.d.ts +0 -139
  108. package/publish/mips-C2kxK_Lk.d.ts +0 -79
  109. package/publish/msdax-CV-iM8Y9.d.ts +0 -68
  110. package/publish/mysql-0UKhlzQO.d.ts +0 -76
  111. package/publish/objective-c-CbKhSCGr.d.ts +0 -46
  112. package/publish/pascal-CP-K8RTj.d.ts +0 -62
  113. package/publish/pascaligo-DNS345Ec.d.ts +0 -55
  114. package/publish/perl-CU_O2Ux7.d.ts +0 -116
  115. package/publish/pgsql-CvE830Au.d.ts +0 -80
  116. package/publish/php-BvwPLbR6.d.ts +0 -193
  117. package/publish/pla-DJ8gwRb5.d.ts +0 -71
  118. package/publish/postiats-CGZof9No.d.ts +0 -212
  119. package/publish/powerquery-C7bI8brw.d.ts +0 -63
  120. package/publish/powershell-CmptSHHa.d.ts +0 -119
  121. package/publish/protobuf-CNFSy7mI.d.ts +0 -364
  122. package/publish/pug-CzItlbqs.d.ts +0 -170
  123. package/publish/python-8vPuu566.d.ts +0 -65
  124. package/publish/qsharp-C1B8howk.d.ts +0 -75
  125. package/publish/r-BTwZKg_d.d.ts +0 -77
  126. package/publish/razor-CtOmeuwi.d.ts +0 -194
  127. package/publish/redis-BUv7CvJd.d.ts +0 -63
  128. package/publish/redshift-jrBDFghq.d.ts +0 -80
  129. package/publish/restructuredtext-BxbR-VyS.d.ts +0 -69
  130. package/publish/ruby-B0TfnHZH.d.ts +0 -239
  131. package/publish/rust-D_saCUFK.d.ts +0 -94
  132. package/publish/sb-DcgiWk7t.d.ts +0 -54
  133. package/publish/scala-BfLWIEFR.d.ts +0 -135
  134. package/publish/scheme-CZaOrAgo.d.ts +0 -46
  135. package/publish/scss-Du10_18v.d.ts +0 -220
  136. package/publish/shell-D1p7ZuXl.d.ts +0 -53
  137. package/publish/solidity-DzIDOgno.d.ts +0 -50
  138. package/publish/sophia-BU-qT3RS.d.ts +0 -50
  139. package/publish/sparql-DVtIp1VH.d.ts +0 -47
  140. package/publish/sql-1GwNodTS.d.ts +0 -86
  141. package/publish/st-DPXgTepQ.d.ts +0 -87
  142. package/publish/swift-ZhwunzBf.d.ts +0 -80
  143. package/publish/systemverilog-CVvtzxud.d.ts +0 -109
  144. package/publish/tcl-CYCJd6bV.d.ts +0 -87
  145. package/publish/tsMode-BSdN2klD.d.ts +0 -436
  146. package/publish/twig-JIfYOL6u.d.ts +0 -135
  147. package/publish/typescript-DWjYWuYm.d.ts +0 -110
  148. package/publish/typespec-BH4BOGFR.d.ts +0 -146
  149. package/publish/vb-6Rp6KK9h.d.ts +0 -60
  150. package/publish/wgsl-kJTvkQmx.d.ts +0 -72
  151. package/publish/xml-BqVRyB3K.d.ts +0 -72
  152. package/publish/yaml-DEH8xqyy.d.ts +0 -87
  153. package/pug-CzItlbqs.js +0 -408
  154. package/python-8vPuu566.js +0 -307
  155. package/qsharp-C1B8howk.js +0 -307
  156. package/r-BTwZKg_d.js +0 -249
  157. package/razor-CtOmeuwi.js +0 -556
  158. package/redis-BUv7CvJd.js +0 -308
  159. package/redshift-jrBDFghq.js +0 -815
  160. package/restructuredtext-BxbR-VyS.js +0 -180
  161. package/ruby-B0TfnHZH.js +0 -517
  162. package/rust-D_saCUFK.js +0 -349
  163. package/sb-DcgiWk7t.js +0 -121
  164. package/scala-BfLWIEFR.js +0 -376
  165. package/scheme-CZaOrAgo.js +0 -114
  166. package/scss-Du10_18v.js +0 -268
  167. package/shell-D1p7ZuXl.js +0 -227
  168. package/solidity-DzIDOgno.js +0 -1373
  169. package/sophia-BU-qT3RS.js +0 -205
  170. package/sparql-DVtIp1VH.js +0 -207
  171. package/sql-1GwNodTS.js +0 -859
  172. package/st-DPXgTepQ.js +0 -422
  173. package/swift-ZhwunzBf.js +0 -318
  174. package/systemverilog-CVvtzxud.js +0 -582
  175. package/tcl-CYCJd6bV.js +0 -238
  176. package/tsMode-BSdN2klD.js +0 -895
  177. package/twig-JIfYOL6u.js +0 -398
  178. package/typescript-DWjYWuYm.js +0 -349
  179. package/typespec-BH4BOGFR.js +0 -123
  180. package/vb-6Rp6KK9h.js +0 -378
  181. package/wgsl-kJTvkQmx.js +0 -445
  182. package/xml-BqVRyB3K.js +0 -101
  183. package/yaml-DEH8xqyy.js +0 -212
package/sql-1GwNodTS.js DELETED
@@ -1,859 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
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
- "ABORT",
42
- "ABSOLUTE",
43
- "ACTION",
44
- "ADA",
45
- "ADD",
46
- "AFTER",
47
- "ALL",
48
- "ALLOCATE",
49
- "ALTER",
50
- "ALWAYS",
51
- "ANALYZE",
52
- "AND",
53
- "ANY",
54
- "ARE",
55
- "AS",
56
- "ASC",
57
- "ASSERTION",
58
- "AT",
59
- "ATTACH",
60
- "AUTHORIZATION",
61
- "AUTOINCREMENT",
62
- "AVG",
63
- "BACKUP",
64
- "BEFORE",
65
- "BEGIN",
66
- "BETWEEN",
67
- "BIT",
68
- "BIT_LENGTH",
69
- "BOTH",
70
- "BREAK",
71
- "BROWSE",
72
- "BULK",
73
- "BY",
74
- "CASCADE",
75
- "CASCADED",
76
- "CASE",
77
- "CAST",
78
- "CATALOG",
79
- "CHAR",
80
- "CHARACTER",
81
- "CHARACTER_LENGTH",
82
- "CHAR_LENGTH",
83
- "CHECK",
84
- "CHECKPOINT",
85
- "CLOSE",
86
- "CLUSTERED",
87
- "COALESCE",
88
- "COLLATE",
89
- "COLLATION",
90
- "COLUMN",
91
- "COMMIT",
92
- "COMPUTE",
93
- "CONFLICT",
94
- "CONNECT",
95
- "CONNECTION",
96
- "CONSTRAINT",
97
- "CONSTRAINTS",
98
- "CONTAINS",
99
- "CONTAINSTABLE",
100
- "CONTINUE",
101
- "CONVERT",
102
- "CORRESPONDING",
103
- "COUNT",
104
- "CREATE",
105
- "CROSS",
106
- "CURRENT",
107
- "CURRENT_DATE",
108
- "CURRENT_TIME",
109
- "CURRENT_TIMESTAMP",
110
- "CURRENT_USER",
111
- "CURSOR",
112
- "DATABASE",
113
- "DATE",
114
- "DAY",
115
- "DBCC",
116
- "DEALLOCATE",
117
- "DEC",
118
- "DECIMAL",
119
- "DECLARE",
120
- "DEFAULT",
121
- "DEFERRABLE",
122
- "DEFERRED",
123
- "DELETE",
124
- "DENY",
125
- "DESC",
126
- "DESCRIBE",
127
- "DESCRIPTOR",
128
- "DETACH",
129
- "DIAGNOSTICS",
130
- "DISCONNECT",
131
- "DISK",
132
- "DISTINCT",
133
- "DISTRIBUTED",
134
- "DO",
135
- "DOMAIN",
136
- "DOUBLE",
137
- "DROP",
138
- "DUMP",
139
- "EACH",
140
- "ELSE",
141
- "END",
142
- "END-EXEC",
143
- "ERRLVL",
144
- "ESCAPE",
145
- "EXCEPT",
146
- "EXCEPTION",
147
- "EXCLUDE",
148
- "EXCLUSIVE",
149
- "EXEC",
150
- "EXECUTE",
151
- "EXISTS",
152
- "EXIT",
153
- "EXPLAIN",
154
- "EXTERNAL",
155
- "EXTRACT",
156
- "FAIL",
157
- "FALSE",
158
- "FETCH",
159
- "FILE",
160
- "FILLFACTOR",
161
- "FILTER",
162
- "FIRST",
163
- "FLOAT",
164
- "FOLLOWING",
165
- "FOR",
166
- "FOREIGN",
167
- "FORTRAN",
168
- "FOUND",
169
- "FREETEXT",
170
- "FREETEXTTABLE",
171
- "FROM",
172
- "FULL",
173
- "FUNCTION",
174
- "GENERATED",
175
- "GET",
176
- "GLOB",
177
- "GLOBAL",
178
- "GO",
179
- "GOTO",
180
- "GRANT",
181
- "GROUP",
182
- "GROUPS",
183
- "HAVING",
184
- "HOLDLOCK",
185
- "HOUR",
186
- "IDENTITY",
187
- "IDENTITYCOL",
188
- "IDENTITY_INSERT",
189
- "IF",
190
- "IGNORE",
191
- "IMMEDIATE",
192
- "IN",
193
- "INCLUDE",
194
- "INDEX",
195
- "INDEXED",
196
- "INDICATOR",
197
- "INITIALLY",
198
- "INNER",
199
- "INPUT",
200
- "INSENSITIVE",
201
- "INSERT",
202
- "INSTEAD",
203
- "INT",
204
- "INTEGER",
205
- "INTERSECT",
206
- "INTERVAL",
207
- "INTO",
208
- "IS",
209
- "ISNULL",
210
- "ISOLATION",
211
- "JOIN",
212
- "KEY",
213
- "KILL",
214
- "LANGUAGE",
215
- "LAST",
216
- "LEADING",
217
- "LEFT",
218
- "LEVEL",
219
- "LIKE",
220
- "LIMIT",
221
- "LINENO",
222
- "LOAD",
223
- "LOCAL",
224
- "LOWER",
225
- "MATCH",
226
- "MATERIALIZED",
227
- "MAX",
228
- "MERGE",
229
- "MIN",
230
- "MINUTE",
231
- "MODULE",
232
- "MONTH",
233
- "NAMES",
234
- "NATIONAL",
235
- "NATURAL",
236
- "NCHAR",
237
- "NEXT",
238
- "NO",
239
- "NOCHECK",
240
- "NONCLUSTERED",
241
- "NONE",
242
- "NOT",
243
- "NOTHING",
244
- "NOTNULL",
245
- "NULL",
246
- "NULLIF",
247
- "NULLS",
248
- "NUMERIC",
249
- "OCTET_LENGTH",
250
- "OF",
251
- "OFF",
252
- "OFFSET",
253
- "OFFSETS",
254
- "ON",
255
- "ONLY",
256
- "OPEN",
257
- "OPENDATASOURCE",
258
- "OPENQUERY",
259
- "OPENROWSET",
260
- "OPENXML",
261
- "OPTION",
262
- "OR",
263
- "ORDER",
264
- "OTHERS",
265
- "OUTER",
266
- "OUTPUT",
267
- "OVER",
268
- "OVERLAPS",
269
- "PAD",
270
- "PARTIAL",
271
- "PARTITION",
272
- "PASCAL",
273
- "PERCENT",
274
- "PIVOT",
275
- "PLAN",
276
- "POSITION",
277
- "PRAGMA",
278
- "PRECEDING",
279
- "PRECISION",
280
- "PREPARE",
281
- "PRESERVE",
282
- "PRIMARY",
283
- "PRINT",
284
- "PRIOR",
285
- "PRIVILEGES",
286
- "PROC",
287
- "PROCEDURE",
288
- "PUBLIC",
289
- "QUERY",
290
- "RAISE",
291
- "RAISERROR",
292
- "RANGE",
293
- "READ",
294
- "READTEXT",
295
- "REAL",
296
- "RECONFIGURE",
297
- "RECURSIVE",
298
- "REFERENCES",
299
- "REGEXP",
300
- "REINDEX",
301
- "RELATIVE",
302
- "RELEASE",
303
- "RENAME",
304
- "REPLACE",
305
- "REPLICATION",
306
- "RESTORE",
307
- "RESTRICT",
308
- "RETURN",
309
- "RETURNING",
310
- "REVERT",
311
- "REVOKE",
312
- "RIGHT",
313
- "ROLLBACK",
314
- "ROW",
315
- "ROWCOUNT",
316
- "ROWGUIDCOL",
317
- "ROWS",
318
- "RULE",
319
- "SAVE",
320
- "SAVEPOINT",
321
- "SCHEMA",
322
- "SCROLL",
323
- "SECOND",
324
- "SECTION",
325
- "SECURITYAUDIT",
326
- "SELECT",
327
- "SEMANTICKEYPHRASETABLE",
328
- "SEMANTICSIMILARITYDETAILSTABLE",
329
- "SEMANTICSIMILARITYTABLE",
330
- "SESSION",
331
- "SESSION_USER",
332
- "SET",
333
- "SETUSER",
334
- "SHUTDOWN",
335
- "SIZE",
336
- "SMALLINT",
337
- "SOME",
338
- "SPACE",
339
- "SQL",
340
- "SQLCA",
341
- "SQLCODE",
342
- "SQLERROR",
343
- "SQLSTATE",
344
- "SQLWARNING",
345
- "STATISTICS",
346
- "SUBSTRING",
347
- "SUM",
348
- "SYSTEM_USER",
349
- "TABLE",
350
- "TABLESAMPLE",
351
- "TEMP",
352
- "TEMPORARY",
353
- "TEXTSIZE",
354
- "THEN",
355
- "TIES",
356
- "TIME",
357
- "TIMESTAMP",
358
- "TIMEZONE_HOUR",
359
- "TIMEZONE_MINUTE",
360
- "TO",
361
- "TOP",
362
- "TRAILING",
363
- "TRAN",
364
- "TRANSACTION",
365
- "TRANSLATE",
366
- "TRANSLATION",
367
- "TRIGGER",
368
- "TRIM",
369
- "TRUE",
370
- "TRUNCATE",
371
- "TRY_CONVERT",
372
- "TSEQUAL",
373
- "UNBOUNDED",
374
- "UNION",
375
- "UNIQUE",
376
- "UNKNOWN",
377
- "UNPIVOT",
378
- "UPDATE",
379
- "UPDATETEXT",
380
- "UPPER",
381
- "USAGE",
382
- "USE",
383
- "USER",
384
- "USING",
385
- "VACUUM",
386
- "VALUE",
387
- "VALUES",
388
- "VARCHAR",
389
- "VARYING",
390
- "VIEW",
391
- "VIRTUAL",
392
- "WAITFOR",
393
- "WHEN",
394
- "WHENEVER",
395
- "WHERE",
396
- "WHILE",
397
- "WINDOW",
398
- "WITH",
399
- "WITHIN GROUP",
400
- "WITHOUT",
401
- "WORK",
402
- "WRITE",
403
- "WRITETEXT",
404
- "YEAR",
405
- "ZONE"
406
- ],
407
- operators: [
408
- // Logical
409
- "ALL",
410
- "AND",
411
- "ANY",
412
- "BETWEEN",
413
- "EXISTS",
414
- "IN",
415
- "LIKE",
416
- "NOT",
417
- "OR",
418
- "SOME",
419
- // Set
420
- "EXCEPT",
421
- "INTERSECT",
422
- "UNION",
423
- // Join
424
- "APPLY",
425
- "CROSS",
426
- "FULL",
427
- "INNER",
428
- "JOIN",
429
- "LEFT",
430
- "OUTER",
431
- "RIGHT",
432
- // Predicates
433
- "CONTAINS",
434
- "FREETEXT",
435
- "IS",
436
- "NULL",
437
- // Pivoting
438
- "PIVOT",
439
- "UNPIVOT",
440
- // Merging
441
- "MATCHED"
442
- ],
443
- builtinFunctions: [
444
- // Aggregate
445
- "AVG",
446
- "CHECKSUM_AGG",
447
- "COUNT",
448
- "COUNT_BIG",
449
- "GROUPING",
450
- "GROUPING_ID",
451
- "MAX",
452
- "MIN",
453
- "SUM",
454
- "STDEV",
455
- "STDEVP",
456
- "VAR",
457
- "VARP",
458
- // Analytic
459
- "CUME_DIST",
460
- "FIRST_VALUE",
461
- "LAG",
462
- "LAST_VALUE",
463
- "LEAD",
464
- "PERCENTILE_CONT",
465
- "PERCENTILE_DISC",
466
- "PERCENT_RANK",
467
- // Collation
468
- "COLLATE",
469
- "COLLATIONPROPERTY",
470
- "TERTIARY_WEIGHTS",
471
- // Azure
472
- "FEDERATION_FILTERING_VALUE",
473
- // Conversion
474
- "CAST",
475
- "CONVERT",
476
- "PARSE",
477
- "TRY_CAST",
478
- "TRY_CONVERT",
479
- "TRY_PARSE",
480
- // Cryptographic
481
- "ASYMKEY_ID",
482
- "ASYMKEYPROPERTY",
483
- "CERTPROPERTY",
484
- "CERT_ID",
485
- "CRYPT_GEN_RANDOM",
486
- "DECRYPTBYASYMKEY",
487
- "DECRYPTBYCERT",
488
- "DECRYPTBYKEY",
489
- "DECRYPTBYKEYAUTOASYMKEY",
490
- "DECRYPTBYKEYAUTOCERT",
491
- "DECRYPTBYPASSPHRASE",
492
- "ENCRYPTBYASYMKEY",
493
- "ENCRYPTBYCERT",
494
- "ENCRYPTBYKEY",
495
- "ENCRYPTBYPASSPHRASE",
496
- "HASHBYTES",
497
- "IS_OBJECTSIGNED",
498
- "KEY_GUID",
499
- "KEY_ID",
500
- "KEY_NAME",
501
- "SIGNBYASYMKEY",
502
- "SIGNBYCERT",
503
- "SYMKEYPROPERTY",
504
- "VERIFYSIGNEDBYCERT",
505
- "VERIFYSIGNEDBYASYMKEY",
506
- // Cursor
507
- "CURSOR_STATUS",
508
- // Datatype
509
- "DATALENGTH",
510
- "IDENT_CURRENT",
511
- "IDENT_INCR",
512
- "IDENT_SEED",
513
- "IDENTITY",
514
- "SQL_VARIANT_PROPERTY",
515
- // Datetime
516
- "CURRENT_TIMESTAMP",
517
- "DATEADD",
518
- "DATEDIFF",
519
- "DATEFROMPARTS",
520
- "DATENAME",
521
- "DATEPART",
522
- "DATETIME2FROMPARTS",
523
- "DATETIMEFROMPARTS",
524
- "DATETIMEOFFSETFROMPARTS",
525
- "DAY",
526
- "EOMONTH",
527
- "GETDATE",
528
- "GETUTCDATE",
529
- "ISDATE",
530
- "MONTH",
531
- "SMALLDATETIMEFROMPARTS",
532
- "SWITCHOFFSET",
533
- "SYSDATETIME",
534
- "SYSDATETIMEOFFSET",
535
- "SYSUTCDATETIME",
536
- "TIMEFROMPARTS",
537
- "TODATETIMEOFFSET",
538
- "YEAR",
539
- // Logical
540
- "CHOOSE",
541
- "COALESCE",
542
- "IIF",
543
- "NULLIF",
544
- // Mathematical
545
- "ABS",
546
- "ACOS",
547
- "ASIN",
548
- "ATAN",
549
- "ATN2",
550
- "CEILING",
551
- "COS",
552
- "COT",
553
- "DEGREES",
554
- "EXP",
555
- "FLOOR",
556
- "LOG",
557
- "LOG10",
558
- "PI",
559
- "POWER",
560
- "RADIANS",
561
- "RAND",
562
- "ROUND",
563
- "SIGN",
564
- "SIN",
565
- "SQRT",
566
- "SQUARE",
567
- "TAN",
568
- // Metadata
569
- "APP_NAME",
570
- "APPLOCK_MODE",
571
- "APPLOCK_TEST",
572
- "ASSEMBLYPROPERTY",
573
- "COL_LENGTH",
574
- "COL_NAME",
575
- "COLUMNPROPERTY",
576
- "DATABASE_PRINCIPAL_ID",
577
- "DATABASEPROPERTYEX",
578
- "DB_ID",
579
- "DB_NAME",
580
- "FILE_ID",
581
- "FILE_IDEX",
582
- "FILE_NAME",
583
- "FILEGROUP_ID",
584
- "FILEGROUP_NAME",
585
- "FILEGROUPPROPERTY",
586
- "FILEPROPERTY",
587
- "FULLTEXTCATALOGPROPERTY",
588
- "FULLTEXTSERVICEPROPERTY",
589
- "INDEX_COL",
590
- "INDEXKEY_PROPERTY",
591
- "INDEXPROPERTY",
592
- "OBJECT_DEFINITION",
593
- "OBJECT_ID",
594
- "OBJECT_NAME",
595
- "OBJECT_SCHEMA_NAME",
596
- "OBJECTPROPERTY",
597
- "OBJECTPROPERTYEX",
598
- "ORIGINAL_DB_NAME",
599
- "PARSENAME",
600
- "SCHEMA_ID",
601
- "SCHEMA_NAME",
602
- "SCOPE_IDENTITY",
603
- "SERVERPROPERTY",
604
- "STATS_DATE",
605
- "TYPE_ID",
606
- "TYPE_NAME",
607
- "TYPEPROPERTY",
608
- // Ranking
609
- "DENSE_RANK",
610
- "NTILE",
611
- "RANK",
612
- "ROW_NUMBER",
613
- // Replication
614
- "PUBLISHINGSERVERNAME",
615
- // Rowset
616
- "OPENDATASOURCE",
617
- "OPENQUERY",
618
- "OPENROWSET",
619
- "OPENXML",
620
- // Security
621
- "CERTENCODED",
622
- "CERTPRIVATEKEY",
623
- "CURRENT_USER",
624
- "HAS_DBACCESS",
625
- "HAS_PERMS_BY_NAME",
626
- "IS_MEMBER",
627
- "IS_ROLEMEMBER",
628
- "IS_SRVROLEMEMBER",
629
- "LOGINPROPERTY",
630
- "ORIGINAL_LOGIN",
631
- "PERMISSIONS",
632
- "PWDENCRYPT",
633
- "PWDCOMPARE",
634
- "SESSION_USER",
635
- "SESSIONPROPERTY",
636
- "SUSER_ID",
637
- "SUSER_NAME",
638
- "SUSER_SID",
639
- "SUSER_SNAME",
640
- "SYSTEM_USER",
641
- "USER",
642
- "USER_ID",
643
- "USER_NAME",
644
- // String
645
- "ASCII",
646
- "CHAR",
647
- "CHARINDEX",
648
- "CONCAT",
649
- "DIFFERENCE",
650
- "FORMAT",
651
- "LEFT",
652
- "LEN",
653
- "LOWER",
654
- "LTRIM",
655
- "NCHAR",
656
- "PATINDEX",
657
- "QUOTENAME",
658
- "REPLACE",
659
- "REPLICATE",
660
- "REVERSE",
661
- "RIGHT",
662
- "RTRIM",
663
- "SOUNDEX",
664
- "SPACE",
665
- "STR",
666
- "STUFF",
667
- "SUBSTRING",
668
- "UNICODE",
669
- "UPPER",
670
- // System
671
- "BINARY_CHECKSUM",
672
- "CHECKSUM",
673
- "CONNECTIONPROPERTY",
674
- "CONTEXT_INFO",
675
- "CURRENT_REQUEST_ID",
676
- "ERROR_LINE",
677
- "ERROR_NUMBER",
678
- "ERROR_MESSAGE",
679
- "ERROR_PROCEDURE",
680
- "ERROR_SEVERITY",
681
- "ERROR_STATE",
682
- "FORMATMESSAGE",
683
- "GETANSINULL",
684
- "GET_FILESTREAM_TRANSACTION_CONTEXT",
685
- "HOST_ID",
686
- "HOST_NAME",
687
- "ISNULL",
688
- "ISNUMERIC",
689
- "MIN_ACTIVE_ROWVERSION",
690
- "NEWID",
691
- "NEWSEQUENTIALID",
692
- "ROWCOUNT_BIG",
693
- "XACT_STATE",
694
- // TextImage
695
- "TEXTPTR",
696
- "TEXTVALID",
697
- // Trigger
698
- "COLUMNS_UPDATED",
699
- "EVENTDATA",
700
- "TRIGGER_NESTLEVEL",
701
- "UPDATE",
702
- // ChangeTracking
703
- "CHANGETABLE",
704
- "CHANGE_TRACKING_CONTEXT",
705
- "CHANGE_TRACKING_CURRENT_VERSION",
706
- "CHANGE_TRACKING_IS_COLUMN_IN_MASK",
707
- "CHANGE_TRACKING_MIN_VALID_VERSION",
708
- // FullTextSearch
709
- "CONTAINSTABLE",
710
- "FREETEXTTABLE",
711
- // SemanticTextSearch
712
- "SEMANTICKEYPHRASETABLE",
713
- "SEMANTICSIMILARITYDETAILSTABLE",
714
- "SEMANTICSIMILARITYTABLE",
715
- // FileStream
716
- "FILETABLEROOTPATH",
717
- "GETFILENAMESPACEPATH",
718
- "GETPATHLOCATOR",
719
- "PATHNAME",
720
- // ServiceBroker
721
- "GET_TRANSMISSION_STATUS"
722
- ],
723
- builtinVariables: [
724
- // Configuration
725
- "@@DATEFIRST",
726
- "@@DBTS",
727
- "@@LANGID",
728
- "@@LANGUAGE",
729
- "@@LOCK_TIMEOUT",
730
- "@@MAX_CONNECTIONS",
731
- "@@MAX_PRECISION",
732
- "@@NESTLEVEL",
733
- "@@OPTIONS",
734
- "@@REMSERVER",
735
- "@@SERVERNAME",
736
- "@@SERVICENAME",
737
- "@@SPID",
738
- "@@TEXTSIZE",
739
- "@@VERSION",
740
- // Cursor
741
- "@@CURSOR_ROWS",
742
- "@@FETCH_STATUS",
743
- // Datetime
744
- "@@DATEFIRST",
745
- // Metadata
746
- "@@PROCID",
747
- // System
748
- "@@ERROR",
749
- "@@IDENTITY",
750
- "@@ROWCOUNT",
751
- "@@TRANCOUNT",
752
- // Stats
753
- "@@CONNECTIONS",
754
- "@@CPU_BUSY",
755
- "@@IDLE",
756
- "@@IO_BUSY",
757
- "@@PACKET_ERRORS",
758
- "@@PACK_RECEIVED",
759
- "@@PACK_SENT",
760
- "@@TIMETICKS",
761
- "@@TOTAL_ERRORS",
762
- "@@TOTAL_READ",
763
- "@@TOTAL_WRITE"
764
- ],
765
- pseudoColumns: ["$ACTION", "$IDENTITY", "$ROWGUID", "$PARTITION"],
766
- tokenizer: {
767
- root: [
768
- { include: "@comments" },
769
- { include: "@whitespace" },
770
- { include: "@pseudoColumns" },
771
- { include: "@numbers" },
772
- { include: "@strings" },
773
- { include: "@complexIdentifiers" },
774
- { include: "@scopes" },
775
- [/[;,.]/, "delimiter"],
776
- [/[()]/, "@brackets"],
777
- [
778
- /[\w@#$]+/,
779
- {
780
- cases: {
781
- "@operators": "operator",
782
- "@builtinVariables": "predefined",
783
- "@builtinFunctions": "predefined",
784
- "@keywords": "keyword",
785
- "@default": "identifier"
786
- }
787
- }
788
- ],
789
- [/[<>=!%&+\-*/|~^]/, "operator"]
790
- ],
791
- whitespace: [[/\s+/, "white"]],
792
- comments: [
793
- [/--+.*/, "comment"],
794
- [/\/\*/, { token: "comment.quote", next: "@comment" }]
795
- ],
796
- comment: [
797
- [/[^*/]+/, "comment"],
798
- // Not supporting nested comments, as nested comments seem to not be standard?
799
- // i.e. http://stackoverflow.com/questions/728172/are-there-multiline-comment-delimiters-in-sql-that-are-vendor-agnostic
800
- // [/\/\*/, { token: 'comment.quote', next: '@push' }], // nested comment not allowed :-(
801
- [/\*\//, { token: "comment.quote", next: "@pop" }],
802
- [/./, "comment"]
803
- ],
804
- pseudoColumns: [
805
- [
806
- /[$][A-Za-z_][\w@#$]*/,
807
- {
808
- cases: {
809
- "@pseudoColumns": "predefined",
810
- "@default": "identifier"
811
- }
812
- }
813
- ]
814
- ],
815
- numbers: [
816
- [/0[xX][0-9a-fA-F]*/, "number"],
817
- [/[$][+-]*\d*(\.\d*)?/, "number"],
818
- [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
819
- ],
820
- strings: [
821
- [/N'/, { token: "string", next: "@string" }],
822
- [/'/, { token: "string", next: "@string" }]
823
- ],
824
- string: [
825
- [/[^']+/, "string"],
826
- [/''/, "string"],
827
- [/'/, { token: "string", next: "@pop" }]
828
- ],
829
- complexIdentifiers: [
830
- [/\[/, { token: "identifier.quote", next: "@bracketedIdentifier" }],
831
- [/"/, { token: "identifier.quote", next: "@quotedIdentifier" }]
832
- ],
833
- bracketedIdentifier: [
834
- [/[^\]]+/, "identifier"],
835
- [/]]/, "identifier"],
836
- [/]/, { token: "identifier.quote", next: "@pop" }]
837
- ],
838
- quotedIdentifier: [
839
- [/[^"]+/, "identifier"],
840
- [/""/, "identifier"],
841
- [/"/, { token: "identifier.quote", next: "@pop" }]
842
- ],
843
- scopes: [
844
- [/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i, "keyword"],
845
- [/BEGIN\s+TRY\b/i, { token: "keyword.try" }],
846
- [/END\s+TRY\b/i, { token: "keyword.try" }],
847
- [/BEGIN\s+CATCH\b/i, { token: "keyword.catch" }],
848
- [/END\s+CATCH\b/i, { token: "keyword.catch" }],
849
- [/(BEGIN|CASE)\b/i, { token: "keyword.block" }],
850
- [/END\b/i, { token: "keyword.block" }],
851
- [/WHEN\b/i, { token: "keyword.choice" }],
852
- [/THEN\b/i, { token: "keyword.choice" }]
853
- ]
854
- }
855
- };
856
- export {
857
- E as conf,
858
- T as language
859
- };