@covalent/components 8.14.1 → 8.15.0-beta.10

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 (188) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +4 -3
  3. package/alert.js +1 -1
  4. package/alert.mjs +4 -3
  5. package/app-shell.js +1 -1
  6. package/app-shell.mjs +8 -7
  7. package/async-directive-4a34f75e.js +5 -0
  8. package/async-directive-99a01ec7.mjs +78 -0
  9. package/badge.js +1 -1
  10. package/badge.mjs +4 -3
  11. package/button.js +1 -1
  12. package/button.mjs +10 -9
  13. package/card.js +1 -1
  14. package/card.mjs +4 -3
  15. package/cell/cell.d.ts +65 -0
  16. package/cell/cell.d.ts.map +1 -0
  17. package/cell.js +29 -0
  18. package/cell.mjs +147 -0
  19. package/check-list-item.js +1 -1
  20. package/check-list-item.mjs +8 -7
  21. package/checkbox.js +1 -1
  22. package/checkbox.mjs +16 -15
  23. package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
  24. package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
  25. package/chip-set.js +2 -2
  26. package/chip-set.mjs +46 -45
  27. package/chip.js +1 -1
  28. package/chip.mjs +5 -4
  29. package/circular-progress.js +1 -1
  30. package/circular-progress.mjs +5 -4
  31. package/class-map-0a4c6ca9.js +5 -0
  32. package/class-map-6e504a9a.mjs +38 -0
  33. package/code-editor/code-editor.d.ts +73 -0
  34. package/code-editor/code-editor.d.ts.map +1 -0
  35. package/code-editor-3a09cbf1.js +732 -0
  36. package/code-editor-ce557bd5.mjs +61376 -0
  37. package/code-editor.js +1 -0
  38. package/code-editor.mjs +10 -0
  39. package/code-snippet.js +2 -2
  40. package/code-snippet.mjs +5 -4
  41. package/cpp-642b10c4.mjs +387 -0
  42. package/cpp-7eec3311.js +6 -0
  43. package/csharp-32862cd2.js +6 -0
  44. package/csharp-d987ddad.mjs +320 -0
  45. package/css-5dd354ac.mjs +186 -0
  46. package/css-9be95551.js +8 -0
  47. package/dart-031264ea.js +6 -0
  48. package/dart-5d209f63.mjs +270 -0
  49. package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
  50. package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
  51. package/dialog.js +1 -1
  52. package/dialog.mjs +5 -4
  53. package/directive-1186bc23.js +5 -0
  54. package/directive-daf4e9b6.mjs +27 -0
  55. package/drawer.js +1 -1
  56. package/drawer.mjs +5 -4
  57. package/formfield.js +3 -3
  58. package/formfield.mjs +4 -3
  59. package/go-46e3b371.mjs +208 -0
  60. package/go-cdd943fd.js +6 -0
  61. package/html-4fffc46e.js +6 -0
  62. package/html-783f1e7c.mjs +286 -0
  63. package/icon-button-toggle.js +1 -1
  64. package/icon-button-toggle.mjs +6 -5
  65. package/icon-button.js +1 -1
  66. package/icon-button.mjs +6 -5
  67. package/icon-check-toggle.js +1 -1
  68. package/icon-check-toggle.mjs +7 -6
  69. package/icon-radio-toggle.js +3 -3
  70. package/icon-radio-toggle.mjs +7 -6
  71. package/index.d.ts +3 -0
  72. package/index.d.ts.map +1 -1
  73. package/index.js +1 -1
  74. package/index.mjs +125 -117
  75. package/java-32d7b433.js +6 -0
  76. package/java-cd017f60.mjs +221 -0
  77. package/javascript-4d09cd3c.mjs +80 -0
  78. package/javascript-90bb18e6.js +6 -0
  79. package/kotlin-4b9019e1.js +6 -0
  80. package/kotlin-c6e52a56.mjs +245 -0
  81. package/linear-progress.js +1 -1
  82. package/linear-progress.mjs +5 -4
  83. package/list-item.js +2 -2
  84. package/list-item.mjs +7 -6
  85. package/list.js +1 -1
  86. package/list.mjs +8 -7
  87. package/lua-b46719a9.js +6 -0
  88. package/lua-f159160b.mjs +157 -0
  89. package/markdown-9b448c46.mjs +202 -0
  90. package/markdown-eae8e3ba.js +6 -0
  91. package/menu.js +5 -5
  92. package/menu.mjs +9 -8
  93. package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
  94. package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
  95. package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
  96. package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
  97. package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
  98. package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
  99. package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
  100. package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
  101. package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
  102. package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
  103. package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
  104. package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
  105. package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
  106. package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
  107. package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
  108. package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
  109. package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
  110. package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
  111. package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
  112. package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
  113. package/nav-list-item.js +1 -1
  114. package/nav-list-item.mjs +7 -6
  115. package/notebook/notebook.d.ts +87 -0
  116. package/notebook/notebook.d.ts.map +1 -0
  117. package/notebook.js +121 -0
  118. package/notebook.mjs +3449 -0
  119. package/package.json +16 -1
  120. package/php-987b9d87.mjs +471 -0
  121. package/php-a6dcde52.js +6 -0
  122. package/python-562f8e9b.mjs +264 -0
  123. package/python-af3aad7d.js +6 -0
  124. package/r-42c6f0aa.js +6 -0
  125. package/r-630f5d6b.mjs +245 -0
  126. package/radio-list-item.js +1 -1
  127. package/radio-list-item.mjs +8 -7
  128. package/radio.js +2 -2
  129. package/radio.mjs +7 -6
  130. package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
  131. package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
  132. package/rust-87887495.js +6 -0
  133. package/rust-97f8f6e1.mjs +337 -0
  134. package/scala-c68c650c.mjs +353 -0
  135. package/scala-e8b7bd42.js +6 -0
  136. package/select.js +2 -2
  137. package/select.mjs +11 -10
  138. package/shell-09452d42.mjs +224 -0
  139. package/shell-43cfbe7d.js +6 -0
  140. package/side-sheet.js +1 -1
  141. package/side-sheet.mjs +3 -2
  142. package/slider-range.js +1 -1
  143. package/slider-range.mjs +7 -6
  144. package/slider.js +1 -1
  145. package/slider.mjs +12 -11
  146. package/snackbar.js +14 -18
  147. package/snackbar.mjs +88 -159
  148. package/sql-63ec8e76.mjs +818 -0
  149. package/sql-faf05577.js +6 -0
  150. package/status-dialog.js +1 -1
  151. package/status-dialog.mjs +7 -6
  152. package/status-header.js +1 -1
  153. package/status-header.mjs +4 -3
  154. package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
  155. package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
  156. package/style.css +1 -0
  157. package/swift-724ff2a3.js +8 -0
  158. package/swift-abdf1835.mjs +315 -0
  159. package/switch.js +1 -1
  160. package/switch.mjs +6 -5
  161. package/tab-bar.js +2 -2
  162. package/tab-bar.mjs +7 -6
  163. package/tab.js +1 -1
  164. package/tab.mjs +9 -8
  165. package/text-lockup.js +1 -1
  166. package/text-lockup.mjs +4 -3
  167. package/textarea.js +1 -1
  168. package/textarea.mjs +6 -5
  169. package/{textfield-11525c88.js → textfield-0645375b.js} +16 -16
  170. package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.mjs} +5 -4
  171. package/textfield.js +1 -1
  172. package/textfield.mjs +6 -5
  173. package/toolbar.js +1 -1
  174. package/toolbar.mjs +5 -4
  175. package/top-app-bar-fixed.js +1 -1
  176. package/top-app-bar-fixed.mjs +5 -4
  177. package/top-app-bar.js +1 -1
  178. package/top-app-bar.mjs +8 -7
  179. package/tree-list-item.js +1 -1
  180. package/tree-list-item.mjs +4 -3
  181. package/typescript-76d039b3.js +6 -0
  182. package/typescript-a2a5d6b2.mjs +332 -0
  183. package/xml-89571455.mjs +100 -0
  184. package/xml-e66929d0.js +6 -0
  185. package/yaml-11a91e71.js +6 -0
  186. package/yaml-4eccd122.mjs +189 -0
  187. package/class-map-4b94b017.mjs +0 -62
  188. package/class-map-b5efe8da.js +0 -9
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}};exports.conf=e;exports.language=t;
@@ -0,0 +1,337 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
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: '"', notIn: ["string"] }
22
+ ],
23
+ surroundingPairs: [
24
+ { open: "{", close: "}" },
25
+ { open: "[", close: "]" },
26
+ { open: "(", close: ")" },
27
+ { open: '"', close: '"' },
28
+ { open: "'", close: "'" }
29
+ ],
30
+ folding: {
31
+ markers: {
32
+ start: new RegExp("^\\s*#pragma\\s+region\\b"),
33
+ end: new RegExp("^\\s*#pragma\\s+endregion\\b")
34
+ }
35
+ }
36
+ }, t = {
37
+ tokenPostfix: ".rust",
38
+ defaultToken: "invalid",
39
+ keywords: [
40
+ "as",
41
+ "async",
42
+ "await",
43
+ "box",
44
+ "break",
45
+ "const",
46
+ "continue",
47
+ "crate",
48
+ "dyn",
49
+ "else",
50
+ "enum",
51
+ "extern",
52
+ "false",
53
+ "fn",
54
+ "for",
55
+ "if",
56
+ "impl",
57
+ "in",
58
+ "let",
59
+ "loop",
60
+ "match",
61
+ "mod",
62
+ "move",
63
+ "mut",
64
+ "pub",
65
+ "ref",
66
+ "return",
67
+ "self",
68
+ "static",
69
+ "struct",
70
+ "super",
71
+ "trait",
72
+ "true",
73
+ "try",
74
+ "type",
75
+ "unsafe",
76
+ "use",
77
+ "where",
78
+ "while",
79
+ "catch",
80
+ "default",
81
+ "union",
82
+ "static",
83
+ "abstract",
84
+ "alignof",
85
+ "become",
86
+ "do",
87
+ "final",
88
+ "macro",
89
+ "offsetof",
90
+ "override",
91
+ "priv",
92
+ "proc",
93
+ "pure",
94
+ "sizeof",
95
+ "typeof",
96
+ "unsized",
97
+ "virtual",
98
+ "yield"
99
+ ],
100
+ typeKeywords: [
101
+ "Self",
102
+ "m32",
103
+ "m64",
104
+ "m128",
105
+ "f80",
106
+ "f16",
107
+ "f128",
108
+ "int",
109
+ "uint",
110
+ "float",
111
+ "char",
112
+ "bool",
113
+ "u8",
114
+ "u16",
115
+ "u32",
116
+ "u64",
117
+ "f32",
118
+ "f64",
119
+ "i8",
120
+ "i16",
121
+ "i32",
122
+ "i64",
123
+ "str",
124
+ "Option",
125
+ "Either",
126
+ "c_float",
127
+ "c_double",
128
+ "c_void",
129
+ "FILE",
130
+ "fpos_t",
131
+ "DIR",
132
+ "dirent",
133
+ "c_char",
134
+ "c_schar",
135
+ "c_uchar",
136
+ "c_short",
137
+ "c_ushort",
138
+ "c_int",
139
+ "c_uint",
140
+ "c_long",
141
+ "c_ulong",
142
+ "size_t",
143
+ "ptrdiff_t",
144
+ "clock_t",
145
+ "time_t",
146
+ "c_longlong",
147
+ "c_ulonglong",
148
+ "intptr_t",
149
+ "uintptr_t",
150
+ "off_t",
151
+ "dev_t",
152
+ "ino_t",
153
+ "pid_t",
154
+ "mode_t",
155
+ "ssize_t"
156
+ ],
157
+ constants: ["true", "false", "Some", "None", "Left", "Right", "Ok", "Err"],
158
+ supportConstants: [
159
+ "EXIT_FAILURE",
160
+ "EXIT_SUCCESS",
161
+ "RAND_MAX",
162
+ "EOF",
163
+ "SEEK_SET",
164
+ "SEEK_CUR",
165
+ "SEEK_END",
166
+ "_IOFBF",
167
+ "_IONBF",
168
+ "_IOLBF",
169
+ "BUFSIZ",
170
+ "FOPEN_MAX",
171
+ "FILENAME_MAX",
172
+ "L_tmpnam",
173
+ "TMP_MAX",
174
+ "O_RDONLY",
175
+ "O_WRONLY",
176
+ "O_RDWR",
177
+ "O_APPEND",
178
+ "O_CREAT",
179
+ "O_EXCL",
180
+ "O_TRUNC",
181
+ "S_IFIFO",
182
+ "S_IFCHR",
183
+ "S_IFBLK",
184
+ "S_IFDIR",
185
+ "S_IFREG",
186
+ "S_IFMT",
187
+ "S_IEXEC",
188
+ "S_IWRITE",
189
+ "S_IREAD",
190
+ "S_IRWXU",
191
+ "S_IXUSR",
192
+ "S_IWUSR",
193
+ "S_IRUSR",
194
+ "F_OK",
195
+ "R_OK",
196
+ "W_OK",
197
+ "X_OK",
198
+ "STDIN_FILENO",
199
+ "STDOUT_FILENO",
200
+ "STDERR_FILENO"
201
+ ],
202
+ supportMacros: [
203
+ "format!",
204
+ "print!",
205
+ "println!",
206
+ "panic!",
207
+ "format_args!",
208
+ "unreachable!",
209
+ "write!",
210
+ "writeln!"
211
+ ],
212
+ operators: [
213
+ "!",
214
+ "!=",
215
+ "%",
216
+ "%=",
217
+ "&",
218
+ "&=",
219
+ "&&",
220
+ "*",
221
+ "*=",
222
+ "+",
223
+ "+=",
224
+ "-",
225
+ "-=",
226
+ "->",
227
+ ".",
228
+ "..",
229
+ "...",
230
+ "/",
231
+ "/=",
232
+ ":",
233
+ ";",
234
+ "<<",
235
+ "<<=",
236
+ "<",
237
+ "<=",
238
+ "=",
239
+ "==",
240
+ "=>",
241
+ ">",
242
+ ">=",
243
+ ">>",
244
+ ">>=",
245
+ "@",
246
+ "^",
247
+ "^=",
248
+ "|",
249
+ "|=",
250
+ "||",
251
+ "_",
252
+ "?",
253
+ "#"
254
+ ],
255
+ escapes: /\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,
256
+ delimiters: /[,]/,
257
+ symbols: /[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,
258
+ intSuffixes: /[iu](8|16|32|64|128|size)/,
259
+ floatSuffixes: /f(32|64)/,
260
+ tokenizer: {
261
+ root: [
262
+ [/r(#*)"/, { token: "string.quote", bracket: "@open", next: "@stringraw.$1" }],
263
+ [
264
+ /[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,
265
+ {
266
+ cases: {
267
+ "@typeKeywords": "keyword.type",
268
+ "@keywords": "keyword",
269
+ "@supportConstants": "keyword",
270
+ "@supportMacros": "keyword",
271
+ "@constants": "keyword",
272
+ "@default": "identifier"
273
+ }
274
+ }
275
+ ],
276
+ [/\$/, "identifier"],
277
+ [/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/, "identifier"],
278
+ [/'(\S|@escapes)'/, "string.byteliteral"],
279
+ [/"/, { token: "string.quote", bracket: "@open", next: "@string" }],
280
+ { include: "@numbers" },
281
+ { include: "@whitespace" },
282
+ [
283
+ /@delimiters/,
284
+ {
285
+ cases: {
286
+ "@keywords": "keyword",
287
+ "@default": "delimiter"
288
+ }
289
+ }
290
+ ],
291
+ [/[{}()\[\]<>]/, "@brackets"],
292
+ [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }]
293
+ ],
294
+ whitespace: [
295
+ [/[ \t\r\n]+/, "white"],
296
+ [/\/\*/, "comment", "@comment"],
297
+ [/\/\/.*$/, "comment"]
298
+ ],
299
+ comment: [
300
+ [/[^\/*]+/, "comment"],
301
+ [/\/\*/, "comment", "@push"],
302
+ ["\\*/", "comment", "@pop"],
303
+ [/[\/*]/, "comment"]
304
+ ],
305
+ string: [
306
+ [/[^\\"]+/, "string"],
307
+ [/@escapes/, "string.escape"],
308
+ [/\\./, "string.escape.invalid"],
309
+ [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
310
+ ],
311
+ stringraw: [
312
+ [/[^"#]+/, { token: "string" }],
313
+ [
314
+ /"(#*)/,
315
+ {
316
+ cases: {
317
+ "$1==$S2": { token: "string.quote", bracket: "@close", next: "@pop" },
318
+ "@default": { token: "string" }
319
+ }
320
+ }
321
+ ],
322
+ [/["#]/, { token: "string" }]
323
+ ],
324
+ numbers: [
325
+ [/(0o[0-7_]+)(@intSuffixes)?/, { token: "number" }],
326
+ [/(0b[0-1_]+)(@intSuffixes)?/, { token: "number" }],
327
+ [/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/, { token: "number" }],
328
+ [/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/, { token: "number" }],
329
+ [/(0x[\da-fA-F]+)_?(@intSuffixes)?/, { token: "number" }],
330
+ [/[\d][\d_]*(@intSuffixes?)?/, { token: "number" }]
331
+ ]
332
+ }
333
+ };
334
+ export {
335
+ e as conf,
336
+ t as language
337
+ };