online-compiler-widget 0.0.4 → 1.0.3

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,890 @@
1
+ const e = {
2
+ comments: {
3
+ lineComment: "//",
4
+ blockComment: ["/*", "*/"]
5
+ },
6
+ brackets: [
7
+ ["[", "]"],
8
+ ["(", ")"],
9
+ ["{", "}"]
10
+ ],
11
+ autoClosingPairs: [
12
+ { open: '"', close: '"', notIn: ["string", "comment", "identifier"] },
13
+ { open: "[", close: "]", notIn: ["string", "comment", "identifier"] },
14
+ { open: "(", close: ")", notIn: ["string", "comment", "identifier"] },
15
+ { open: "{", close: "}", notIn: ["string", "comment", "identifier"] }
16
+ ]
17
+ }, t = {
18
+ defaultToken: "",
19
+ tokenPostfix: ".pq",
20
+ ignoreCase: !1,
21
+ brackets: [
22
+ { open: "[", close: "]", token: "delimiter.square" },
23
+ { open: "{", close: "}", token: "delimiter.brackets" },
24
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
25
+ ],
26
+ operatorKeywords: ["and", "not", "or"],
27
+ keywords: [
28
+ "as",
29
+ "each",
30
+ "else",
31
+ "error",
32
+ "false",
33
+ "if",
34
+ "in",
35
+ "is",
36
+ "let",
37
+ "meta",
38
+ "otherwise",
39
+ "section",
40
+ "shared",
41
+ "then",
42
+ "true",
43
+ "try",
44
+ "type"
45
+ ],
46
+ constructors: ["#binary", "#date", "#datetime", "#datetimezone", "#duration", "#table", "#time"],
47
+ constants: ["#infinity", "#nan", "#sections", "#shared"],
48
+ typeKeywords: [
49
+ "action",
50
+ "any",
51
+ "anynonnull",
52
+ "none",
53
+ "null",
54
+ "logical",
55
+ "number",
56
+ "time",
57
+ "date",
58
+ "datetime",
59
+ "datetimezone",
60
+ "duration",
61
+ "text",
62
+ "binary",
63
+ "list",
64
+ "record",
65
+ "table",
66
+ "function"
67
+ ],
68
+ builtinFunctions: [
69
+ "Access.Database",
70
+ "Action.Return",
71
+ "Action.Sequence",
72
+ "Action.Try",
73
+ "ActiveDirectory.Domains",
74
+ "AdoDotNet.DataSource",
75
+ "AdoDotNet.Query",
76
+ "AdobeAnalytics.Cubes",
77
+ "AnalysisServices.Database",
78
+ "AnalysisServices.Databases",
79
+ "AzureStorage.BlobContents",
80
+ "AzureStorage.Blobs",
81
+ "AzureStorage.Tables",
82
+ "Binary.Buffer",
83
+ "Binary.Combine",
84
+ "Binary.Compress",
85
+ "Binary.Decompress",
86
+ "Binary.End",
87
+ "Binary.From",
88
+ "Binary.FromList",
89
+ "Binary.FromText",
90
+ "Binary.InferContentType",
91
+ "Binary.Length",
92
+ "Binary.ToList",
93
+ "Binary.ToText",
94
+ "BinaryFormat.7BitEncodedSignedInteger",
95
+ "BinaryFormat.7BitEncodedUnsignedInteger",
96
+ "BinaryFormat.Binary",
97
+ "BinaryFormat.Byte",
98
+ "BinaryFormat.ByteOrder",
99
+ "BinaryFormat.Choice",
100
+ "BinaryFormat.Decimal",
101
+ "BinaryFormat.Double",
102
+ "BinaryFormat.Group",
103
+ "BinaryFormat.Length",
104
+ "BinaryFormat.List",
105
+ "BinaryFormat.Null",
106
+ "BinaryFormat.Record",
107
+ "BinaryFormat.SignedInteger16",
108
+ "BinaryFormat.SignedInteger32",
109
+ "BinaryFormat.SignedInteger64",
110
+ "BinaryFormat.Single",
111
+ "BinaryFormat.Text",
112
+ "BinaryFormat.Transform",
113
+ "BinaryFormat.UnsignedInteger16",
114
+ "BinaryFormat.UnsignedInteger32",
115
+ "BinaryFormat.UnsignedInteger64",
116
+ "Byte.From",
117
+ "Character.FromNumber",
118
+ "Character.ToNumber",
119
+ "Combiner.CombineTextByDelimiter",
120
+ "Combiner.CombineTextByEachDelimiter",
121
+ "Combiner.CombineTextByLengths",
122
+ "Combiner.CombineTextByPositions",
123
+ "Combiner.CombineTextByRanges",
124
+ "Comparer.Equals",
125
+ "Comparer.FromCulture",
126
+ "Comparer.Ordinal",
127
+ "Comparer.OrdinalIgnoreCase",
128
+ "Csv.Document",
129
+ "Cube.AddAndExpandDimensionColumn",
130
+ "Cube.AddMeasureColumn",
131
+ "Cube.ApplyParameter",
132
+ "Cube.AttributeMemberId",
133
+ "Cube.AttributeMemberProperty",
134
+ "Cube.CollapseAndRemoveColumns",
135
+ "Cube.Dimensions",
136
+ "Cube.DisplayFolders",
137
+ "Cube.Measures",
138
+ "Cube.Parameters",
139
+ "Cube.Properties",
140
+ "Cube.PropertyKey",
141
+ "Cube.ReplaceDimensions",
142
+ "Cube.Transform",
143
+ "Currency.From",
144
+ "DB2.Database",
145
+ "Date.AddDays",
146
+ "Date.AddMonths",
147
+ "Date.AddQuarters",
148
+ "Date.AddWeeks",
149
+ "Date.AddYears",
150
+ "Date.Day",
151
+ "Date.DayOfWeek",
152
+ "Date.DayOfWeekName",
153
+ "Date.DayOfYear",
154
+ "Date.DaysInMonth",
155
+ "Date.EndOfDay",
156
+ "Date.EndOfMonth",
157
+ "Date.EndOfQuarter",
158
+ "Date.EndOfWeek",
159
+ "Date.EndOfYear",
160
+ "Date.From",
161
+ "Date.FromText",
162
+ "Date.IsInCurrentDay",
163
+ "Date.IsInCurrentMonth",
164
+ "Date.IsInCurrentQuarter",
165
+ "Date.IsInCurrentWeek",
166
+ "Date.IsInCurrentYear",
167
+ "Date.IsInNextDay",
168
+ "Date.IsInNextMonth",
169
+ "Date.IsInNextNDays",
170
+ "Date.IsInNextNMonths",
171
+ "Date.IsInNextNQuarters",
172
+ "Date.IsInNextNWeeks",
173
+ "Date.IsInNextNYears",
174
+ "Date.IsInNextQuarter",
175
+ "Date.IsInNextWeek",
176
+ "Date.IsInNextYear",
177
+ "Date.IsInPreviousDay",
178
+ "Date.IsInPreviousMonth",
179
+ "Date.IsInPreviousNDays",
180
+ "Date.IsInPreviousNMonths",
181
+ "Date.IsInPreviousNQuarters",
182
+ "Date.IsInPreviousNWeeks",
183
+ "Date.IsInPreviousNYears",
184
+ "Date.IsInPreviousQuarter",
185
+ "Date.IsInPreviousWeek",
186
+ "Date.IsInPreviousYear",
187
+ "Date.IsInYearToDate",
188
+ "Date.IsLeapYear",
189
+ "Date.Month",
190
+ "Date.MonthName",
191
+ "Date.QuarterOfYear",
192
+ "Date.StartOfDay",
193
+ "Date.StartOfMonth",
194
+ "Date.StartOfQuarter",
195
+ "Date.StartOfWeek",
196
+ "Date.StartOfYear",
197
+ "Date.ToRecord",
198
+ "Date.ToText",
199
+ "Date.WeekOfMonth",
200
+ "Date.WeekOfYear",
201
+ "Date.Year",
202
+ "DateTime.AddZone",
203
+ "DateTime.Date",
204
+ "DateTime.FixedLocalNow",
205
+ "DateTime.From",
206
+ "DateTime.FromFileTime",
207
+ "DateTime.FromText",
208
+ "DateTime.IsInCurrentHour",
209
+ "DateTime.IsInCurrentMinute",
210
+ "DateTime.IsInCurrentSecond",
211
+ "DateTime.IsInNextHour",
212
+ "DateTime.IsInNextMinute",
213
+ "DateTime.IsInNextNHours",
214
+ "DateTime.IsInNextNMinutes",
215
+ "DateTime.IsInNextNSeconds",
216
+ "DateTime.IsInNextSecond",
217
+ "DateTime.IsInPreviousHour",
218
+ "DateTime.IsInPreviousMinute",
219
+ "DateTime.IsInPreviousNHours",
220
+ "DateTime.IsInPreviousNMinutes",
221
+ "DateTime.IsInPreviousNSeconds",
222
+ "DateTime.IsInPreviousSecond",
223
+ "DateTime.LocalNow",
224
+ "DateTime.Time",
225
+ "DateTime.ToRecord",
226
+ "DateTime.ToText",
227
+ "DateTimeZone.FixedLocalNow",
228
+ "DateTimeZone.FixedUtcNow",
229
+ "DateTimeZone.From",
230
+ "DateTimeZone.FromFileTime",
231
+ "DateTimeZone.FromText",
232
+ "DateTimeZone.LocalNow",
233
+ "DateTimeZone.RemoveZone",
234
+ "DateTimeZone.SwitchZone",
235
+ "DateTimeZone.ToLocal",
236
+ "DateTimeZone.ToRecord",
237
+ "DateTimeZone.ToText",
238
+ "DateTimeZone.ToUtc",
239
+ "DateTimeZone.UtcNow",
240
+ "DateTimeZone.ZoneHours",
241
+ "DateTimeZone.ZoneMinutes",
242
+ "Decimal.From",
243
+ "Diagnostics.ActivityId",
244
+ "Diagnostics.Trace",
245
+ "DirectQueryCapabilities.From",
246
+ "Double.From",
247
+ "Duration.Days",
248
+ "Duration.From",
249
+ "Duration.FromText",
250
+ "Duration.Hours",
251
+ "Duration.Minutes",
252
+ "Duration.Seconds",
253
+ "Duration.ToRecord",
254
+ "Duration.ToText",
255
+ "Duration.TotalDays",
256
+ "Duration.TotalHours",
257
+ "Duration.TotalMinutes",
258
+ "Duration.TotalSeconds",
259
+ "Embedded.Value",
260
+ "Error.Record",
261
+ "Excel.CurrentWorkbook",
262
+ "Excel.Workbook",
263
+ "Exchange.Contents",
264
+ "Expression.Constant",
265
+ "Expression.Evaluate",
266
+ "Expression.Identifier",
267
+ "Facebook.Graph",
268
+ "File.Contents",
269
+ "Folder.Contents",
270
+ "Folder.Files",
271
+ "Function.From",
272
+ "Function.Invoke",
273
+ "Function.InvokeAfter",
274
+ "Function.IsDataSource",
275
+ "GoogleAnalytics.Accounts",
276
+ "Guid.From",
277
+ "HdInsight.Containers",
278
+ "HdInsight.Contents",
279
+ "HdInsight.Files",
280
+ "Hdfs.Contents",
281
+ "Hdfs.Files",
282
+ "Informix.Database",
283
+ "Int16.From",
284
+ "Int32.From",
285
+ "Int64.From",
286
+ "Int8.From",
287
+ "ItemExpression.From",
288
+ "Json.Document",
289
+ "Json.FromValue",
290
+ "Lines.FromBinary",
291
+ "Lines.FromText",
292
+ "Lines.ToBinary",
293
+ "Lines.ToText",
294
+ "List.Accumulate",
295
+ "List.AllTrue",
296
+ "List.Alternate",
297
+ "List.AnyTrue",
298
+ "List.Average",
299
+ "List.Buffer",
300
+ "List.Combine",
301
+ "List.Contains",
302
+ "List.ContainsAll",
303
+ "List.ContainsAny",
304
+ "List.Count",
305
+ "List.Covariance",
306
+ "List.DateTimeZones",
307
+ "List.DateTimes",
308
+ "List.Dates",
309
+ "List.Difference",
310
+ "List.Distinct",
311
+ "List.Durations",
312
+ "List.FindText",
313
+ "List.First",
314
+ "List.FirstN",
315
+ "List.Generate",
316
+ "List.InsertRange",
317
+ "List.Intersect",
318
+ "List.IsDistinct",
319
+ "List.IsEmpty",
320
+ "List.Last",
321
+ "List.LastN",
322
+ "List.MatchesAll",
323
+ "List.MatchesAny",
324
+ "List.Max",
325
+ "List.MaxN",
326
+ "List.Median",
327
+ "List.Min",
328
+ "List.MinN",
329
+ "List.Mode",
330
+ "List.Modes",
331
+ "List.NonNullCount",
332
+ "List.Numbers",
333
+ "List.PositionOf",
334
+ "List.PositionOfAny",
335
+ "List.Positions",
336
+ "List.Product",
337
+ "List.Random",
338
+ "List.Range",
339
+ "List.RemoveFirstN",
340
+ "List.RemoveItems",
341
+ "List.RemoveLastN",
342
+ "List.RemoveMatchingItems",
343
+ "List.RemoveNulls",
344
+ "List.RemoveRange",
345
+ "List.Repeat",
346
+ "List.ReplaceMatchingItems",
347
+ "List.ReplaceRange",
348
+ "List.ReplaceValue",
349
+ "List.Reverse",
350
+ "List.Select",
351
+ "List.Single",
352
+ "List.SingleOrDefault",
353
+ "List.Skip",
354
+ "List.Sort",
355
+ "List.StandardDeviation",
356
+ "List.Sum",
357
+ "List.Times",
358
+ "List.Transform",
359
+ "List.TransformMany",
360
+ "List.Union",
361
+ "List.Zip",
362
+ "Logical.From",
363
+ "Logical.FromText",
364
+ "Logical.ToText",
365
+ "MQ.Queue",
366
+ "MySQL.Database",
367
+ "Number.Abs",
368
+ "Number.Acos",
369
+ "Number.Asin",
370
+ "Number.Atan",
371
+ "Number.Atan2",
372
+ "Number.BitwiseAnd",
373
+ "Number.BitwiseNot",
374
+ "Number.BitwiseOr",
375
+ "Number.BitwiseShiftLeft",
376
+ "Number.BitwiseShiftRight",
377
+ "Number.BitwiseXor",
378
+ "Number.Combinations",
379
+ "Number.Cos",
380
+ "Number.Cosh",
381
+ "Number.Exp",
382
+ "Number.Factorial",
383
+ "Number.From",
384
+ "Number.FromText",
385
+ "Number.IntegerDivide",
386
+ "Number.IsEven",
387
+ "Number.IsNaN",
388
+ "Number.IsOdd",
389
+ "Number.Ln",
390
+ "Number.Log",
391
+ "Number.Log10",
392
+ "Number.Mod",
393
+ "Number.Permutations",
394
+ "Number.Power",
395
+ "Number.Random",
396
+ "Number.RandomBetween",
397
+ "Number.Round",
398
+ "Number.RoundAwayFromZero",
399
+ "Number.RoundDown",
400
+ "Number.RoundTowardZero",
401
+ "Number.RoundUp",
402
+ "Number.Sign",
403
+ "Number.Sin",
404
+ "Number.Sinh",
405
+ "Number.Sqrt",
406
+ "Number.Tan",
407
+ "Number.Tanh",
408
+ "Number.ToText",
409
+ "OData.Feed",
410
+ "Odbc.DataSource",
411
+ "Odbc.Query",
412
+ "OleDb.DataSource",
413
+ "OleDb.Query",
414
+ "Oracle.Database",
415
+ "Percentage.From",
416
+ "PostgreSQL.Database",
417
+ "RData.FromBinary",
418
+ "Record.AddField",
419
+ "Record.Combine",
420
+ "Record.Field",
421
+ "Record.FieldCount",
422
+ "Record.FieldNames",
423
+ "Record.FieldOrDefault",
424
+ "Record.FieldValues",
425
+ "Record.FromList",
426
+ "Record.FromTable",
427
+ "Record.HasFields",
428
+ "Record.RemoveFields",
429
+ "Record.RenameFields",
430
+ "Record.ReorderFields",
431
+ "Record.SelectFields",
432
+ "Record.ToList",
433
+ "Record.ToTable",
434
+ "Record.TransformFields",
435
+ "Replacer.ReplaceText",
436
+ "Replacer.ReplaceValue",
437
+ "RowExpression.Column",
438
+ "RowExpression.From",
439
+ "Salesforce.Data",
440
+ "Salesforce.Reports",
441
+ "SapBusinessWarehouse.Cubes",
442
+ "SapHana.Database",
443
+ "SharePoint.Contents",
444
+ "SharePoint.Files",
445
+ "SharePoint.Tables",
446
+ "Single.From",
447
+ "Soda.Feed",
448
+ "Splitter.SplitByNothing",
449
+ "Splitter.SplitTextByAnyDelimiter",
450
+ "Splitter.SplitTextByDelimiter",
451
+ "Splitter.SplitTextByEachDelimiter",
452
+ "Splitter.SplitTextByLengths",
453
+ "Splitter.SplitTextByPositions",
454
+ "Splitter.SplitTextByRanges",
455
+ "Splitter.SplitTextByRepeatedLengths",
456
+ "Splitter.SplitTextByWhitespace",
457
+ "Sql.Database",
458
+ "Sql.Databases",
459
+ "SqlExpression.SchemaFrom",
460
+ "SqlExpression.ToExpression",
461
+ "Sybase.Database",
462
+ "Table.AddColumn",
463
+ "Table.AddIndexColumn",
464
+ "Table.AddJoinColumn",
465
+ "Table.AddKey",
466
+ "Table.AggregateTableColumn",
467
+ "Table.AlternateRows",
468
+ "Table.Buffer",
469
+ "Table.Column",
470
+ "Table.ColumnCount",
471
+ "Table.ColumnNames",
472
+ "Table.ColumnsOfType",
473
+ "Table.Combine",
474
+ "Table.CombineColumns",
475
+ "Table.Contains",
476
+ "Table.ContainsAll",
477
+ "Table.ContainsAny",
478
+ "Table.DemoteHeaders",
479
+ "Table.Distinct",
480
+ "Table.DuplicateColumn",
481
+ "Table.ExpandListColumn",
482
+ "Table.ExpandRecordColumn",
483
+ "Table.ExpandTableColumn",
484
+ "Table.FillDown",
485
+ "Table.FillUp",
486
+ "Table.FilterWithDataTable",
487
+ "Table.FindText",
488
+ "Table.First",
489
+ "Table.FirstN",
490
+ "Table.FirstValue",
491
+ "Table.FromColumns",
492
+ "Table.FromList",
493
+ "Table.FromPartitions",
494
+ "Table.FromRecords",
495
+ "Table.FromRows",
496
+ "Table.FromValue",
497
+ "Table.Group",
498
+ "Table.HasColumns",
499
+ "Table.InsertRows",
500
+ "Table.IsDistinct",
501
+ "Table.IsEmpty",
502
+ "Table.Join",
503
+ "Table.Keys",
504
+ "Table.Last",
505
+ "Table.LastN",
506
+ "Table.MatchesAllRows",
507
+ "Table.MatchesAnyRows",
508
+ "Table.Max",
509
+ "Table.MaxN",
510
+ "Table.Min",
511
+ "Table.MinN",
512
+ "Table.NestedJoin",
513
+ "Table.Partition",
514
+ "Table.PartitionValues",
515
+ "Table.Pivot",
516
+ "Table.PositionOf",
517
+ "Table.PositionOfAny",
518
+ "Table.PrefixColumns",
519
+ "Table.Profile",
520
+ "Table.PromoteHeaders",
521
+ "Table.Range",
522
+ "Table.RemoveColumns",
523
+ "Table.RemoveFirstN",
524
+ "Table.RemoveLastN",
525
+ "Table.RemoveMatchingRows",
526
+ "Table.RemoveRows",
527
+ "Table.RemoveRowsWithErrors",
528
+ "Table.RenameColumns",
529
+ "Table.ReorderColumns",
530
+ "Table.Repeat",
531
+ "Table.ReplaceErrorValues",
532
+ "Table.ReplaceKeys",
533
+ "Table.ReplaceMatchingRows",
534
+ "Table.ReplaceRelationshipIdentity",
535
+ "Table.ReplaceRows",
536
+ "Table.ReplaceValue",
537
+ "Table.ReverseRows",
538
+ "Table.RowCount",
539
+ "Table.Schema",
540
+ "Table.SelectColumns",
541
+ "Table.SelectRows",
542
+ "Table.SelectRowsWithErrors",
543
+ "Table.SingleRow",
544
+ "Table.Skip",
545
+ "Table.Sort",
546
+ "Table.SplitColumn",
547
+ "Table.ToColumns",
548
+ "Table.ToList",
549
+ "Table.ToRecords",
550
+ "Table.ToRows",
551
+ "Table.TransformColumnNames",
552
+ "Table.TransformColumnTypes",
553
+ "Table.TransformColumns",
554
+ "Table.TransformRows",
555
+ "Table.Transpose",
556
+ "Table.Unpivot",
557
+ "Table.UnpivotOtherColumns",
558
+ "Table.View",
559
+ "Table.ViewFunction",
560
+ "TableAction.DeleteRows",
561
+ "TableAction.InsertRows",
562
+ "TableAction.UpdateRows",
563
+ "Tables.GetRelationships",
564
+ "Teradata.Database",
565
+ "Text.AfterDelimiter",
566
+ "Text.At",
567
+ "Text.BeforeDelimiter",
568
+ "Text.BetweenDelimiters",
569
+ "Text.Clean",
570
+ "Text.Combine",
571
+ "Text.Contains",
572
+ "Text.End",
573
+ "Text.EndsWith",
574
+ "Text.Format",
575
+ "Text.From",
576
+ "Text.FromBinary",
577
+ "Text.Insert",
578
+ "Text.Length",
579
+ "Text.Lower",
580
+ "Text.Middle",
581
+ "Text.NewGuid",
582
+ "Text.PadEnd",
583
+ "Text.PadStart",
584
+ "Text.PositionOf",
585
+ "Text.PositionOfAny",
586
+ "Text.Proper",
587
+ "Text.Range",
588
+ "Text.Remove",
589
+ "Text.RemoveRange",
590
+ "Text.Repeat",
591
+ "Text.Replace",
592
+ "Text.ReplaceRange",
593
+ "Text.Select",
594
+ "Text.Split",
595
+ "Text.SplitAny",
596
+ "Text.Start",
597
+ "Text.StartsWith",
598
+ "Text.ToBinary",
599
+ "Text.ToList",
600
+ "Text.Trim",
601
+ "Text.TrimEnd",
602
+ "Text.TrimStart",
603
+ "Text.Upper",
604
+ "Time.EndOfHour",
605
+ "Time.From",
606
+ "Time.FromText",
607
+ "Time.Hour",
608
+ "Time.Minute",
609
+ "Time.Second",
610
+ "Time.StartOfHour",
611
+ "Time.ToRecord",
612
+ "Time.ToText",
613
+ "Type.AddTableKey",
614
+ "Type.ClosedRecord",
615
+ "Type.Facets",
616
+ "Type.ForFunction",
617
+ "Type.ForRecord",
618
+ "Type.FunctionParameters",
619
+ "Type.FunctionRequiredParameters",
620
+ "Type.FunctionReturn",
621
+ "Type.Is",
622
+ "Type.IsNullable",
623
+ "Type.IsOpenRecord",
624
+ "Type.ListItem",
625
+ "Type.NonNullable",
626
+ "Type.OpenRecord",
627
+ "Type.RecordFields",
628
+ "Type.ReplaceFacets",
629
+ "Type.ReplaceTableKeys",
630
+ "Type.TableColumn",
631
+ "Type.TableKeys",
632
+ "Type.TableRow",
633
+ "Type.TableSchema",
634
+ "Type.Union",
635
+ "Uri.BuildQueryString",
636
+ "Uri.Combine",
637
+ "Uri.EscapeDataString",
638
+ "Uri.Parts",
639
+ "Value.Add",
640
+ "Value.As",
641
+ "Value.Compare",
642
+ "Value.Divide",
643
+ "Value.Equals",
644
+ "Value.Firewall",
645
+ "Value.FromText",
646
+ "Value.Is",
647
+ "Value.Metadata",
648
+ "Value.Multiply",
649
+ "Value.NativeQuery",
650
+ "Value.NullableEquals",
651
+ "Value.RemoveMetadata",
652
+ "Value.ReplaceMetadata",
653
+ "Value.ReplaceType",
654
+ "Value.Subtract",
655
+ "Value.Type",
656
+ "ValueAction.NativeStatement",
657
+ "ValueAction.Replace",
658
+ "Variable.Value",
659
+ "Web.Contents",
660
+ "Web.Page",
661
+ "WebAction.Request",
662
+ "Xml.Document",
663
+ "Xml.Tables"
664
+ ],
665
+ builtinConstants: [
666
+ "BinaryEncoding.Base64",
667
+ "BinaryEncoding.Hex",
668
+ "BinaryOccurrence.Optional",
669
+ "BinaryOccurrence.Repeating",
670
+ "BinaryOccurrence.Required",
671
+ "ByteOrder.BigEndian",
672
+ "ByteOrder.LittleEndian",
673
+ "Compression.Deflate",
674
+ "Compression.GZip",
675
+ "CsvStyle.QuoteAfterDelimiter",
676
+ "CsvStyle.QuoteAlways",
677
+ "Culture.Current",
678
+ "Day.Friday",
679
+ "Day.Monday",
680
+ "Day.Saturday",
681
+ "Day.Sunday",
682
+ "Day.Thursday",
683
+ "Day.Tuesday",
684
+ "Day.Wednesday",
685
+ "ExtraValues.Error",
686
+ "ExtraValues.Ignore",
687
+ "ExtraValues.List",
688
+ "GroupKind.Global",
689
+ "GroupKind.Local",
690
+ "JoinAlgorithm.Dynamic",
691
+ "JoinAlgorithm.LeftHash",
692
+ "JoinAlgorithm.LeftIndex",
693
+ "JoinAlgorithm.PairwiseHash",
694
+ "JoinAlgorithm.RightHash",
695
+ "JoinAlgorithm.RightIndex",
696
+ "JoinAlgorithm.SortMerge",
697
+ "JoinKind.FullOuter",
698
+ "JoinKind.Inner",
699
+ "JoinKind.LeftAnti",
700
+ "JoinKind.LeftOuter",
701
+ "JoinKind.RightAnti",
702
+ "JoinKind.RightOuter",
703
+ "JoinSide.Left",
704
+ "JoinSide.Right",
705
+ "MissingField.Error",
706
+ "MissingField.Ignore",
707
+ "MissingField.UseNull",
708
+ "Number.E",
709
+ "Number.Epsilon",
710
+ "Number.NaN",
711
+ "Number.NegativeInfinity",
712
+ "Number.PI",
713
+ "Number.PositiveInfinity",
714
+ "Occurrence.All",
715
+ "Occurrence.First",
716
+ "Occurrence.Last",
717
+ "Occurrence.Optional",
718
+ "Occurrence.Repeating",
719
+ "Occurrence.Required",
720
+ "Order.Ascending",
721
+ "Order.Descending",
722
+ "Precision.Decimal",
723
+ "Precision.Double",
724
+ "QuoteStyle.Csv",
725
+ "QuoteStyle.None",
726
+ "RelativePosition.FromEnd",
727
+ "RelativePosition.FromStart",
728
+ "RoundingMode.AwayFromZero",
729
+ "RoundingMode.Down",
730
+ "RoundingMode.ToEven",
731
+ "RoundingMode.TowardZero",
732
+ "RoundingMode.Up",
733
+ "SapHanaDistribution.All",
734
+ "SapHanaDistribution.Connection",
735
+ "SapHanaDistribution.Off",
736
+ "SapHanaDistribution.Statement",
737
+ "SapHanaRangeOperator.Equals",
738
+ "SapHanaRangeOperator.GreaterThan",
739
+ "SapHanaRangeOperator.GreaterThanOrEquals",
740
+ "SapHanaRangeOperator.LessThan",
741
+ "SapHanaRangeOperator.LessThanOrEquals",
742
+ "SapHanaRangeOperator.NotEquals",
743
+ "TextEncoding.Ascii",
744
+ "TextEncoding.BigEndianUnicode",
745
+ "TextEncoding.Unicode",
746
+ "TextEncoding.Utf16",
747
+ "TextEncoding.Utf8",
748
+ "TextEncoding.Windows",
749
+ "TraceLevel.Critical",
750
+ "TraceLevel.Error",
751
+ "TraceLevel.Information",
752
+ "TraceLevel.Verbose",
753
+ "TraceLevel.Warning",
754
+ "WebMethod.Delete",
755
+ "WebMethod.Get",
756
+ "WebMethod.Head",
757
+ "WebMethod.Patch",
758
+ "WebMethod.Post",
759
+ "WebMethod.Put"
760
+ ],
761
+ builtinTypes: [
762
+ "Action.Type",
763
+ "Any.Type",
764
+ "Binary.Type",
765
+ "BinaryEncoding.Type",
766
+ "BinaryOccurrence.Type",
767
+ "Byte.Type",
768
+ "ByteOrder.Type",
769
+ "Character.Type",
770
+ "Compression.Type",
771
+ "CsvStyle.Type",
772
+ "Currency.Type",
773
+ "Date.Type",
774
+ "DateTime.Type",
775
+ "DateTimeZone.Type",
776
+ "Day.Type",
777
+ "Decimal.Type",
778
+ "Double.Type",
779
+ "Duration.Type",
780
+ "ExtraValues.Type",
781
+ "Function.Type",
782
+ "GroupKind.Type",
783
+ "Guid.Type",
784
+ "Int16.Type",
785
+ "Int32.Type",
786
+ "Int64.Type",
787
+ "Int8.Type",
788
+ "JoinAlgorithm.Type",
789
+ "JoinKind.Type",
790
+ "JoinSide.Type",
791
+ "List.Type",
792
+ "Logical.Type",
793
+ "MissingField.Type",
794
+ "None.Type",
795
+ "Null.Type",
796
+ "Number.Type",
797
+ "Occurrence.Type",
798
+ "Order.Type",
799
+ "Password.Type",
800
+ "Percentage.Type",
801
+ "Precision.Type",
802
+ "QuoteStyle.Type",
803
+ "Record.Type",
804
+ "RelativePosition.Type",
805
+ "RoundingMode.Type",
806
+ "SapHanaDistribution.Type",
807
+ "SapHanaRangeOperator.Type",
808
+ "Single.Type",
809
+ "Table.Type",
810
+ "Text.Type",
811
+ "TextEncoding.Type",
812
+ "Time.Type",
813
+ "TraceLevel.Type",
814
+ "Type.Type",
815
+ "Uri.Type",
816
+ "WebMethod.Type"
817
+ ],
818
+ tokenizer: {
819
+ root: [
820
+ // quoted identifier
821
+ [/#"[\w \.]+"/, "identifier.quote"],
822
+ // numbers
823
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
824
+ [/0[xX][0-9a-fA-F]+/, "number.hex"],
825
+ [/\d+([eE][\-+]?\d+)?/, "number"],
826
+ // keywords
827
+ [
828
+ /(#?[a-z]+)\b/,
829
+ {
830
+ cases: {
831
+ "@typeKeywords": "type",
832
+ "@keywords": "keyword",
833
+ "@constants": "constant",
834
+ "@constructors": "constructor",
835
+ "@operatorKeywords": "operators",
836
+ "@default": "identifier"
837
+ }
838
+ }
839
+ ],
840
+ // built-in types
841
+ [
842
+ /\b([A-Z][a-zA-Z0-9]+\.Type)\b/,
843
+ {
844
+ cases: {
845
+ "@builtinTypes": "type",
846
+ "@default": "identifier"
847
+ }
848
+ }
849
+ ],
850
+ // other built-ins
851
+ [
852
+ /\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,
853
+ {
854
+ cases: {
855
+ "@builtinFunctions": "keyword.function",
856
+ "@builtinConstants": "constant",
857
+ "@default": "identifier"
858
+ }
859
+ }
860
+ ],
861
+ // other identifiers
862
+ [/\b([a-zA-Z_][\w\.]*)\b/, "identifier"],
863
+ { include: "@whitespace" },
864
+ { include: "@comments" },
865
+ { include: "@strings" },
866
+ [/[{}()\[\]]/, "@brackets"],
867
+ [/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "operators"],
868
+ [/[,;]/, "delimiter"]
869
+ ],
870
+ whitespace: [[/\s+/, "white"]],
871
+ comments: [
872
+ ["\\/\\*", "comment", "@comment"],
873
+ ["\\/\\/+.*", "comment"]
874
+ ],
875
+ comment: [
876
+ ["\\*\\/", "comment", "@pop"],
877
+ [".", "comment"]
878
+ ],
879
+ strings: [['"', "string", "@string"]],
880
+ string: [
881
+ ['""', "string.escape"],
882
+ ['"', "string", "@pop"],
883
+ [".", "string"]
884
+ ]
885
+ }
886
+ };
887
+ export {
888
+ e as conf,
889
+ t as language
890
+ };