@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,232 @@
1
+ var e = {
2
+ // the default separators except `@$`
3
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
+ comments: {
5
+ lineComment: "//",
6
+ blockComment: ["/*", "*/"]
7
+ },
8
+ brackets: [
9
+ ["{", "}"],
10
+ ["[", "]"],
11
+ ["(", ")"]
12
+ ],
13
+ autoClosingPairs: [
14
+ { open: "{", close: "}" },
15
+ { open: "[", close: "]" },
16
+ { open: "(", close: ")" },
17
+ { open: '"', close: '"' },
18
+ { open: "'", close: "'" }
19
+ ],
20
+ surroundingPairs: [
21
+ { open: "{", close: "}" },
22
+ { open: "[", close: "]" },
23
+ { open: "(", close: ")" },
24
+ { open: '"', close: '"' },
25
+ { open: "'", close: "'" },
26
+ { open: "<", close: ">" }
27
+ ],
28
+ folding: {
29
+ markers: {
30
+ start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
31
+ end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
32
+ }
33
+ }
34
+ }, t = {
35
+ defaultToken: "",
36
+ tokenPostfix: ".java",
37
+ keywords: [
38
+ "abstract",
39
+ "continue",
40
+ "for",
41
+ "new",
42
+ "switch",
43
+ "assert",
44
+ "default",
45
+ "goto",
46
+ "package",
47
+ "synchronized",
48
+ "boolean",
49
+ "do",
50
+ "if",
51
+ "private",
52
+ "this",
53
+ "break",
54
+ "double",
55
+ "implements",
56
+ "protected",
57
+ "throw",
58
+ "byte",
59
+ "else",
60
+ "import",
61
+ "public",
62
+ "throws",
63
+ "case",
64
+ "enum",
65
+ "instanceof",
66
+ "return",
67
+ "transient",
68
+ "catch",
69
+ "extends",
70
+ "int",
71
+ "short",
72
+ "try",
73
+ "char",
74
+ "final",
75
+ "interface",
76
+ "static",
77
+ "void",
78
+ "class",
79
+ "finally",
80
+ "long",
81
+ "strictfp",
82
+ "volatile",
83
+ "const",
84
+ "float",
85
+ "native",
86
+ "super",
87
+ "while",
88
+ "true",
89
+ "false",
90
+ "yield",
91
+ "record",
92
+ "sealed",
93
+ "non-sealed",
94
+ "permits"
95
+ ],
96
+ operators: [
97
+ "=",
98
+ ">",
99
+ "<",
100
+ "!",
101
+ "~",
102
+ "?",
103
+ ":",
104
+ "==",
105
+ "<=",
106
+ ">=",
107
+ "!=",
108
+ "&&",
109
+ "||",
110
+ "++",
111
+ "--",
112
+ "+",
113
+ "-",
114
+ "*",
115
+ "/",
116
+ "&",
117
+ "|",
118
+ "^",
119
+ "%",
120
+ "<<",
121
+ ">>",
122
+ ">>>",
123
+ "+=",
124
+ "-=",
125
+ "*=",
126
+ "/=",
127
+ "&=",
128
+ "|=",
129
+ "^=",
130
+ "%=",
131
+ "<<=",
132
+ ">>=",
133
+ ">>>="
134
+ ],
135
+ // we include these common regular expressions
136
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
137
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
138
+ digits: /\d+(_+\d+)*/,
139
+ octaldigits: /[0-7]+(_+[0-7]+)*/,
140
+ binarydigits: /[0-1]+(_+[0-1]+)*/,
141
+ hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
142
+ // The main tokenizer for our languages
143
+ tokenizer: {
144
+ root: [
145
+ // Special keyword with a dash
146
+ ["non-sealed", "keyword.non-sealed"],
147
+ // identifiers and keywords
148
+ [
149
+ /[a-zA-Z_$][\w$]*/,
150
+ {
151
+ cases: {
152
+ "@keywords": { token: "keyword.$0" },
153
+ "@default": "identifier"
154
+ }
155
+ }
156
+ ],
157
+ // whitespace
158
+ { include: "@whitespace" },
159
+ // delimiters and operators
160
+ [/[{}()\[\]]/, "@brackets"],
161
+ [/[<>](?!@symbols)/, "@brackets"],
162
+ [
163
+ /@symbols/,
164
+ {
165
+ cases: {
166
+ "@operators": "delimiter",
167
+ "@default": ""
168
+ }
169
+ }
170
+ ],
171
+ // @ annotations.
172
+ [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
173
+ // numbers
174
+ [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
175
+ [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
176
+ [/0[xX](@hexdigits)[Ll]?/, "number.hex"],
177
+ [/0(@octaldigits)[Ll]?/, "number.octal"],
178
+ [/0[bB](@binarydigits)[Ll]?/, "number.binary"],
179
+ [/(@digits)[fFdD]/, "number.float"],
180
+ [/(@digits)[lL]?/, "number"],
181
+ // delimiter: after number because of .\d floats
182
+ [/[;,.]/, "delimiter"],
183
+ // strings
184
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
185
+ // non-teminated string
186
+ [/"""/, "string", "@multistring"],
187
+ [/"/, "string", "@string"],
188
+ // characters
189
+ [/'[^\\']'/, "string"],
190
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
191
+ [/'/, "string.invalid"]
192
+ ],
193
+ whitespace: [
194
+ [/[ \t\r\n]+/, ""],
195
+ [/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
196
+ [/\/\*/, "comment", "@comment"],
197
+ [/\/\/.*$/, "comment"]
198
+ ],
199
+ comment: [
200
+ [/[^\/*]+/, "comment"],
201
+ // [/\/\*/, 'comment', '@push' ], // nested comment not allowed :-(
202
+ // [/\/\*/, 'comment.invalid' ], // this breaks block comments in the shape of /* //*/
203
+ [/\*\//, "comment", "@pop"],
204
+ [/[\/*]/, "comment"]
205
+ ],
206
+ //Identical copy of comment above, except for the addition of .doc
207
+ javadoc: [
208
+ [/[^\/*]+/, "comment.doc"],
209
+ // [/\/\*/, 'comment.doc', '@push' ], // nested comment not allowed :-(
210
+ [/\/\*/, "comment.doc.invalid"],
211
+ [/\*\//, "comment.doc", "@pop"],
212
+ [/[\/*]/, "comment.doc"]
213
+ ],
214
+ string: [
215
+ [/[^\\"]+/, "string"],
216
+ [/@escapes/, "string.escape"],
217
+ [/\\./, "string.escape.invalid"],
218
+ [/"/, "string", "@pop"]
219
+ ],
220
+ multistring: [
221
+ [/[^\\"]+/, "string"],
222
+ [/@escapes/, "string.escape"],
223
+ [/\\./, "string.escape.invalid"],
224
+ [/"""/, "string", "@pop"],
225
+ [/./, "string"]
226
+ ]
227
+ }
228
+ };
229
+ export {
230
+ e as conf,
231
+ t as language
232
+ };
@@ -0,0 +1,70 @@
1
+ import { conf as t, language as e } from "./typescript-D8U3Pc3R.js";
2
+ var i = t, o = {
3
+ // Set defaultToken to invalid to see what you do not tokenize yet
4
+ defaultToken: "invalid",
5
+ tokenPostfix: ".js",
6
+ keywords: [
7
+ "break",
8
+ "case",
9
+ "catch",
10
+ "class",
11
+ "continue",
12
+ "const",
13
+ "constructor",
14
+ "debugger",
15
+ "default",
16
+ "delete",
17
+ "do",
18
+ "else",
19
+ "export",
20
+ "extends",
21
+ "false",
22
+ "finally",
23
+ "for",
24
+ "from",
25
+ "function",
26
+ "get",
27
+ "if",
28
+ "import",
29
+ "in",
30
+ "instanceof",
31
+ "let",
32
+ "new",
33
+ "null",
34
+ "return",
35
+ "set",
36
+ "static",
37
+ "super",
38
+ "switch",
39
+ "symbol",
40
+ "this",
41
+ "throw",
42
+ "true",
43
+ "try",
44
+ "typeof",
45
+ "undefined",
46
+ "var",
47
+ "void",
48
+ "while",
49
+ "with",
50
+ "yield",
51
+ "async",
52
+ "await",
53
+ "of"
54
+ ],
55
+ typeKeywords: [],
56
+ operators: e.operators,
57
+ symbols: e.symbols,
58
+ escapes: e.escapes,
59
+ digits: e.digits,
60
+ octaldigits: e.octaldigits,
61
+ binarydigits: e.binarydigits,
62
+ hexdigits: e.hexdigits,
63
+ regexpctl: e.regexpctl,
64
+ regexpesc: e.regexpesc,
65
+ tokenizer: e.tokenizer
66
+ };
67
+ export {
68
+ i as conf,
69
+ o as language
70
+ };