@inspectr/ui 1.7.1 → 1.8.1

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 (90) hide show
  1. package/dist/abap-Bs8kvjsq.js +1398 -0
  2. package/dist/apex-Dspwrl5m.js +326 -0
  3. package/dist/azcli-k1BiOau1.js +68 -0
  4. package/dist/bat-BIP72KWc.js +100 -0
  5. package/dist/bicep-VhQeYhS3.js +102 -0
  6. package/dist/cameligo-DnuAXtHg.js +174 -0
  7. package/dist/clojure-BAuDPsal.js +761 -0
  8. package/dist/coffee-BV06qSnj.js +232 -0
  9. package/dist/cpp-Cz8Jeyrf.js +389 -0
  10. package/dist/csharp-F6hhlXFb.js +326 -0
  11. package/dist/csp-KzlEHCyI.js +53 -0
  12. package/dist/css-e4FKntZ3.js +187 -0
  13. package/dist/cssMode-CCxwJWiv.js +1571 -0
  14. package/dist/cypher-CpvDGKRr.js +263 -0
  15. package/dist/dart-DdHeFWR0.js +281 -0
  16. package/dist/dockerfile-aoNXDcio.js +130 -0
  17. package/dist/ecl-C4Q0DYuA.js +456 -0
  18. package/dist/editor.main-CP-oXbVe.js +110802 -0
  19. package/dist/elixir-C9X42b0T.js +569 -0
  20. package/dist/flow9-Bff42pfB.js +142 -0
  21. package/dist/freemarker2-BZveqxNO.js +989 -0
  22. package/dist/fsharp-C6vPAsHG.js +217 -0
  23. package/dist/go-DEr8zx9f.js +218 -0
  24. package/dist/graphql-BiNBBRFh.js +151 -0
  25. package/dist/handlebars-DFLvXTZ8.js +419 -0
  26. package/dist/hcl-2T9lKuFg.js +183 -0
  27. package/dist/html-DxXqfwFE.js +308 -0
  28. package/dist/htmlMode-C9gIo-LK.js +1581 -0
  29. package/dist/ini-CZGtssYM.js +71 -0
  30. package/dist/inspectr-ui.es.js +23538 -23271
  31. package/dist/inspectr-ui.umd.js +1184 -195
  32. package/dist/java-B260NeH3.js +232 -0
  33. package/dist/javascript-CYYD6pGr.js +70 -0
  34. package/dist/jsonMode-jVbIoPc6.js +1996 -0
  35. package/dist/julia-kuNLM9c5.js +511 -0
  36. package/dist/kotlin-Bz6kAefA.js +253 -0
  37. package/dist/less-AZUtS89I.js +162 -0
  38. package/dist/lexon-BcmgnyRb.js +157 -0
  39. package/dist/liquid-PYsubg5u.js +240 -0
  40. package/dist/lua-Dz1RbATg.js +162 -0
  41. package/dist/m3-CIMooLFn.js +210 -0
  42. package/dist/markdown-C1BsCK9P.js +229 -0
  43. package/dist/mdx-DRJsmowz.js +165 -0
  44. package/dist/mips-BovsnfLQ.js +198 -0
  45. package/dist/msdax-CiRB2ZB-.js +375 -0
  46. package/dist/mysql-BwdpPE19.js +878 -0
  47. package/dist/objective-c-D4nfHfso.js +183 -0
  48. package/dist/pascal--j5-PYtz.js +251 -0
  49. package/dist/pascaligo-C7TcJxNL.js +164 -0
  50. package/dist/perl-BzEWqUb5.js +626 -0
  51. package/dist/pgsql-B_KZ0mGX.js +851 -0
  52. package/dist/php-A19QHzQV.js +500 -0
  53. package/dist/pla-COeKY1hA.js +137 -0
  54. package/dist/postiats-BfMp7zJL.js +907 -0
  55. package/dist/powerquery-B0TS_5Gb.js +890 -0
  56. package/dist/powershell-5jSbKdYB.js +239 -0
  57. package/dist/protobuf-YgnOutn3.js +420 -0
  58. package/dist/pug-DLej6kn5.js +402 -0
  59. package/dist/python-M8MItOfu.js +301 -0
  60. package/dist/qsharp-AhjqtSHB.js +301 -0
  61. package/dist/r-D-F4P80w.js +243 -0
  62. package/dist/razor-CkROrZip.js +550 -0
  63. package/dist/redis-hwwIlMnV.js +302 -0
  64. package/dist/redshift-Bcm_kjEG.js +809 -0
  65. package/dist/restructuredtext-CrdzfPP-.js +174 -0
  66. package/dist/ruby-QC2UNm1s.js +511 -0
  67. package/dist/rust-5aqiQ3L5.js +343 -0
  68. package/dist/sb-B1g1ZfLJ.js +115 -0
  69. package/dist/scala-C2U4R5Gb.js +370 -0
  70. package/dist/scheme-DeFRbslr.js +108 -0
  71. package/dist/scss-RSTCiCmI.js +262 -0
  72. package/dist/shell-BpF-iNu8.js +221 -0
  73. package/dist/solidity-C00r2mbQ.js +1367 -0
  74. package/dist/sophia-DVW5ZKDB.js +199 -0
  75. package/dist/sparql-B0nmpxeX.js +201 -0
  76. package/dist/sql-CJwKPERn.js +853 -0
  77. package/dist/st-DPlKG5DT.js +416 -0
  78. package/dist/swift-YZBAbVHV.js +309 -0
  79. package/dist/systemverilog-CDQSaH63.js +576 -0
  80. package/dist/tcl-Dlu8sp6Q.js +232 -0
  81. package/dist/tsMode-D1me_v4f.js +886 -0
  82. package/dist/twig-C5TO7-kw.js +392 -0
  83. package/dist/typescript-D8U3Pc3R.js +343 -0
  84. package/dist/typespec-BsmjDEu7.js +117 -0
  85. package/dist/ui.css +1 -1
  86. package/dist/vb-ChHvIDrk.js +372 -0
  87. package/dist/wgsl-XEp1ju8c.js +439 -0
  88. package/dist/xml-CTIvZv70.js +95 -0
  89. package/dist/yaml-BgbINe9U.js +206 -0
  90. package/package.json +11 -12
@@ -0,0 +1,309 @@
1
+ var e = {
2
+ comments: {
3
+ lineComment: "//",
4
+ blockComment: ["/*", "*/"]
5
+ },
6
+ brackets: [
7
+ ["{", "}"],
8
+ ["[", "]"],
9
+ ["(", ")"]
10
+ ],
11
+ autoClosingPairs: [
12
+ { open: "{", close: "}" },
13
+ { open: "[", close: "]" },
14
+ { open: "(", close: ")" },
15
+ { open: '"', close: '"' },
16
+ { open: "'", close: "'" },
17
+ { open: "`", close: "`" }
18
+ ],
19
+ surroundingPairs: [
20
+ { open: "{", close: "}" },
21
+ { open: "[", close: "]" },
22
+ { open: "(", close: ")" },
23
+ { open: '"', close: '"' },
24
+ { open: "'", close: "'" },
25
+ { open: "`", close: "`" }
26
+ ]
27
+ }, o = {
28
+ defaultToken: "",
29
+ tokenPostfix: ".swift",
30
+ // TODO(owensd): Support the full range of unicode valid identifiers.
31
+ identifier: /[a-zA-Z_][\w$]*/,
32
+ attributes: [
33
+ "@GKInspectable",
34
+ "@IBAction",
35
+ "@IBDesignable",
36
+ "@IBInspectable",
37
+ "@IBOutlet",
38
+ "@IBSegueAction",
39
+ "@NSApplicationMain",
40
+ "@NSCopying",
41
+ "@NSManaged",
42
+ "@Sendable",
43
+ "@UIApplicationMain",
44
+ "@autoclosure",
45
+ "@actorIndependent",
46
+ "@asyncHandler",
47
+ "@available",
48
+ "@convention",
49
+ "@derivative",
50
+ "@differentiable",
51
+ "@discardableResult",
52
+ "@dynamicCallable",
53
+ "@dynamicMemberLookup",
54
+ "@escaping",
55
+ "@frozen",
56
+ "@globalActor",
57
+ "@inlinable",
58
+ "@inline",
59
+ "@main",
60
+ "@noDerivative",
61
+ "@nonobjc",
62
+ "@noreturn",
63
+ "@objc",
64
+ "@objcMembers",
65
+ "@preconcurrency",
66
+ "@propertyWrapper",
67
+ "@requires_stored_property_inits",
68
+ "@resultBuilder",
69
+ "@testable",
70
+ "@unchecked",
71
+ "@unknown",
72
+ "@usableFromInline",
73
+ "@warn_unqualified_access"
74
+ ],
75
+ accessmodifiers: ["open", "public", "internal", "fileprivate", "private"],
76
+ keywords: [
77
+ "#available",
78
+ "#colorLiteral",
79
+ "#column",
80
+ "#dsohandle",
81
+ "#else",
82
+ "#elseif",
83
+ "#endif",
84
+ "#error",
85
+ "#file",
86
+ "#fileID",
87
+ "#fileLiteral",
88
+ "#filePath",
89
+ "#function",
90
+ "#if",
91
+ "#imageLiteral",
92
+ "#keyPath",
93
+ "#line",
94
+ "#selector",
95
+ "#sourceLocation",
96
+ "#warning",
97
+ "Any",
98
+ "Protocol",
99
+ "Self",
100
+ "Type",
101
+ "actor",
102
+ "as",
103
+ "assignment",
104
+ "associatedtype",
105
+ "associativity",
106
+ "async",
107
+ "await",
108
+ "break",
109
+ "case",
110
+ "catch",
111
+ "class",
112
+ "continue",
113
+ "convenience",
114
+ "default",
115
+ "defer",
116
+ "deinit",
117
+ "didSet",
118
+ "do",
119
+ "dynamic",
120
+ "dynamicType",
121
+ "else",
122
+ "enum",
123
+ "extension",
124
+ "fallthrough",
125
+ "false",
126
+ "fileprivate",
127
+ "final",
128
+ "for",
129
+ "func",
130
+ "get",
131
+ "guard",
132
+ "higherThan",
133
+ "if",
134
+ "import",
135
+ "in",
136
+ "indirect",
137
+ "infix",
138
+ "init",
139
+ "inout",
140
+ "internal",
141
+ "is",
142
+ "isolated",
143
+ "lazy",
144
+ "left",
145
+ "let",
146
+ "lowerThan",
147
+ "mutating",
148
+ "nil",
149
+ "none",
150
+ "nonisolated",
151
+ "nonmutating",
152
+ "open",
153
+ "operator",
154
+ "optional",
155
+ "override",
156
+ "postfix",
157
+ "precedence",
158
+ "precedencegroup",
159
+ "prefix",
160
+ "private",
161
+ "protocol",
162
+ "public",
163
+ "repeat",
164
+ "required",
165
+ "rethrows",
166
+ "return",
167
+ "right",
168
+ "safe",
169
+ "self",
170
+ "set",
171
+ "some",
172
+ "static",
173
+ "struct",
174
+ "subscript",
175
+ "super",
176
+ "switch",
177
+ "throw",
178
+ "throws",
179
+ "true",
180
+ "try",
181
+ "typealias",
182
+ "unowned",
183
+ "unsafe",
184
+ "var",
185
+ "weak",
186
+ "where",
187
+ "while",
188
+ "willSet",
189
+ "__consuming",
190
+ "__owned"
191
+ ],
192
+ symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,
193
+ // Moved . to operatorstart so it can be a delimiter
194
+ operatorstart: /[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,
195
+ operatorend: /[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,
196
+ operators: /(@operatorstart)((@operatorstart)|(@operatorend))*/,
197
+ // TODO(owensd): These are borrowed from C#; need to validate correctness for Swift.
198
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
199
+ tokenizer: {
200
+ root: [
201
+ { include: "@whitespace" },
202
+ { include: "@comment" },
203
+ { include: "@attribute" },
204
+ { include: "@literal" },
205
+ { include: "@keyword" },
206
+ { include: "@invokedmethod" },
207
+ { include: "@symbol" }
208
+ ],
209
+ whitespace: [
210
+ [/\s+/, "white"],
211
+ [/"""/, "string.quote", "@endDblDocString"]
212
+ ],
213
+ endDblDocString: [
214
+ [/[^"]+/, "string"],
215
+ [/\\"/, "string"],
216
+ [/"""/, "string.quote", "@popall"],
217
+ [/"/, "string"]
218
+ ],
219
+ symbol: [
220
+ [/[{}()\[\]]/, "@brackets"],
221
+ [/[<>](?!@symbols)/, "@brackets"],
222
+ [/[.]/, "delimiter"],
223
+ [/@operators/, "operator"],
224
+ [/@symbols/, "operator"]
225
+ ],
226
+ comment: [
227
+ [/\/\/\/.*$/, "comment.doc"],
228
+ [/\/\*\*/, "comment.doc", "@commentdocbody"],
229
+ [/\/\/.*$/, "comment"],
230
+ [/\/\*/, "comment", "@commentbody"]
231
+ ],
232
+ commentdocbody: [
233
+ [/\/\*/, "comment", "@commentbody"],
234
+ [/\*\//, "comment.doc", "@pop"],
235
+ [/\:[a-zA-Z]+\:/, "comment.doc.param"],
236
+ [/./, "comment.doc"]
237
+ ],
238
+ commentbody: [
239
+ [/\/\*/, "comment", "@commentbody"],
240
+ [/\*\//, "comment", "@pop"],
241
+ [/./, "comment"]
242
+ ],
243
+ attribute: [
244
+ [
245
+ /@@@identifier/,
246
+ {
247
+ cases: {
248
+ "@attributes": "keyword.control",
249
+ "@default": ""
250
+ }
251
+ }
252
+ ]
253
+ ],
254
+ literal: [
255
+ [/"/, { token: "string.quote", next: "@stringlit" }],
256
+ [/0[b]([01]_?)+/, "number.binary"],
257
+ [/0[o]([0-7]_?)+/, "number.octal"],
258
+ [/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/, "number.hex"],
259
+ [/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/, "number.float"],
260
+ [/(\d_?)+/, "number"]
261
+ ],
262
+ stringlit: [
263
+ [/\\\(/, { token: "operator", next: "@interpolatedexpression" }],
264
+ [/@escapes/, "string"],
265
+ [/\\./, "string.escape.invalid"],
266
+ [/"/, { token: "string.quote", next: "@pop" }],
267
+ [/./, "string"]
268
+ ],
269
+ interpolatedexpression: [
270
+ [/\(/, { token: "operator", next: "@interpolatedexpression" }],
271
+ [/\)/, { token: "operator", next: "@pop" }],
272
+ { include: "@literal" },
273
+ { include: "@keyword" },
274
+ { include: "@symbol" }
275
+ ],
276
+ keyword: [
277
+ [/`/, { token: "operator", next: "@escapedkeyword" }],
278
+ [
279
+ /@identifier/,
280
+ {
281
+ cases: {
282
+ "@keywords": "keyword",
283
+ "[A-Z][a-zA-Z0-9$]*": "type.identifier",
284
+ "@default": "identifier"
285
+ }
286
+ }
287
+ ]
288
+ ],
289
+ escapedkeyword: [
290
+ [/`/, { token: "operator", next: "@pop" }],
291
+ [/./, "identifier"]
292
+ ],
293
+ invokedmethod: [
294
+ [
295
+ /([.])(@identifier)/,
296
+ {
297
+ cases: {
298
+ $2: ["delimeter", "type.identifier"],
299
+ "@default": ""
300
+ }
301
+ }
302
+ ]
303
+ ]
304
+ }
305
+ };
306
+ export {
307
+ e as conf,
308
+ o as language
309
+ };