@covalent/components 8.15.0-beta.8 → 8.15.0

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 (198) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +3 -4
  3. package/alert.js +1 -1
  4. package/alert.mjs +3 -4
  5. package/app-shell/app-shell.d.ts +3 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +6 -6
  8. package/app-shell.mjs +26 -25
  9. package/badge.js +1 -1
  10. package/badge.mjs +3 -4
  11. package/button.js +1 -1
  12. package/button.mjs +9 -10
  13. package/card/card-base.d.ts.map +1 -1
  14. package/card.js +7 -5
  15. package/card.mjs +9 -8
  16. package/check-list-item.js +1 -1
  17. package/check-list-item.mjs +8 -9
  18. package/checkbox.js +1 -1
  19. package/checkbox.mjs +15 -16
  20. package/{chip-fb0ea5c5.mjs → chip-2d0fd3f0.mjs} +1 -1
  21. package/{chip-c65a4549.js → chip-ebd0a88e.js} +1 -1
  22. package/chip-set.js +2 -2
  23. package/chip-set.mjs +45 -46
  24. package/chip.js +1 -1
  25. package/chip.mjs +4 -5
  26. package/circular-progress.js +1 -1
  27. package/circular-progress.mjs +4 -5
  28. package/class-map-4b94b017.mjs +62 -0
  29. package/class-map-b5efe8da.js +9 -0
  30. package/code-snippet.js +2 -2
  31. package/code-snippet.mjs +4 -5
  32. package/{dialog-86192b9a.js → dialog-82b03745.js} +1 -1
  33. package/{dialog-16aad066.mjs → dialog-c9dbe94d.mjs} +1 -1
  34. package/dialog.js +1 -1
  35. package/dialog.mjs +4 -5
  36. package/drawer.js +1 -1
  37. package/drawer.mjs +4 -5
  38. package/formfield.js +3 -3
  39. package/formfield.mjs +3 -4
  40. package/icon-button-toggle.js +1 -1
  41. package/icon-button-toggle.mjs +5 -6
  42. package/icon-button.js +1 -1
  43. package/icon-button.mjs +5 -6
  44. package/icon-check-toggle.js +1 -1
  45. package/icon-check-toggle.mjs +6 -7
  46. package/icon-radio-toggle.js +3 -3
  47. package/icon-radio-toggle.mjs +6 -7
  48. package/index.d.ts +0 -3
  49. package/index.d.ts.map +1 -1
  50. package/index.js +1 -1
  51. package/index.mjs +118 -126
  52. package/linear-progress.js +1 -1
  53. package/linear-progress.mjs +4 -5
  54. package/{list-item-e628f363.mjs → list-item-24236190.mjs} +1 -1
  55. package/{list-item-e336fb0e.js → list-item-d72b2fff.js} +1 -1
  56. package/list-item.js +2 -2
  57. package/list-item.mjs +7 -8
  58. package/list.js +1 -1
  59. package/list.mjs +7 -8
  60. package/menu.js +5 -5
  61. package/menu.mjs +8 -9
  62. package/{mwc-checkbox-base-935d9566.js → mwc-checkbox-base-3d8c9549.js} +1 -1
  63. package/{mwc-checkbox-base-02b4eb91.mjs → mwc-checkbox-base-c40d16d2.mjs} +2 -2
  64. package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-798b11f8.js} +1 -1
  65. package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-9c77129c.mjs} +1 -1
  66. package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-a6b39a3c.js} +14 -14
  67. package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-f9dd7fe3.mjs} +5 -6
  68. package/{mwc-list-base-22616d0a.js → mwc-list-base-400b00e2.js} +1 -1
  69. package/{mwc-list-base-402e1d8e.mjs → mwc-list-base-495cbb3b.mjs} +1 -1
  70. package/{mwc-list-item-base-06d93e6e.js → mwc-list-item-base-297d86b0.js} +1 -1
  71. package/{mwc-list-item-base-3c6a3bfb.mjs → mwc-list-item-base-6449e812.mjs} +2 -2
  72. package/{mwc-menu-base-04586160.mjs → mwc-menu-base-9704207e.mjs} +3 -3
  73. package/{mwc-menu-base-08f54c38.js → mwc-menu-base-c75ca473.js} +1 -1
  74. package/{mwc-radio-base-768b4221.mjs → mwc-radio-base-4dbe9e38.mjs} +2 -2
  75. package/{mwc-radio-base-147cf999.js → mwc-radio-base-913e02e2.js} +1 -1
  76. package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-30c91236.mjs} +3 -3
  77. package/{mwc-slider.css-c5f99704.js → mwc-slider.css-c7107d94.js} +1 -1
  78. package/{mwc-tab-base-0814a3ef.mjs → mwc-tab-base-effde6e4.mjs} +2 -2
  79. package/{mwc-tab-base-f2269fd1.js → mwc-tab-base-f28722aa.js} +1 -1
  80. package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-28c4192d.mjs} +1 -1
  81. package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-aec60f27.js} +1 -1
  82. package/nav-list-item.js +1 -1
  83. package/nav-list-item.mjs +7 -8
  84. package/package.json +1 -16
  85. package/radio-list-item.js +1 -1
  86. package/radio-list-item.mjs +8 -9
  87. package/radio.js +2 -2
  88. package/radio.mjs +6 -7
  89. package/{ripple-handlers-8883e893.mjs → ripple-handlers-0d9ad7c2.mjs} +2 -2
  90. package/{ripple-handlers-9fb4a31a.js → ripple-handlers-5d5b21db.js} +1 -1
  91. package/select.js +2 -2
  92. package/select.mjs +10 -11
  93. package/side-sheet.js +1 -1
  94. package/side-sheet.mjs +2 -3
  95. package/slider-range.js +1 -1
  96. package/slider-range.mjs +6 -7
  97. package/slider.js +1 -1
  98. package/slider.mjs +11 -12
  99. package/snackbar.js +18 -14
  100. package/snackbar.mjs +159 -88
  101. package/status-dialog.js +1 -1
  102. package/status-dialog.mjs +6 -7
  103. package/status-header.js +1 -1
  104. package/status-header.mjs +3 -4
  105. package/{style-map-a135c6ab.js → style-map-88d2563f.js} +2 -2
  106. package/{style-map-e7ec6d41.mjs → style-map-bc3ed3e0.mjs} +1 -1
  107. package/switch.js +1 -1
  108. package/switch.mjs +5 -6
  109. package/tab-bar.js +2 -2
  110. package/tab-bar.mjs +6 -7
  111. package/tab.js +1 -1
  112. package/tab.mjs +8 -9
  113. package/text-lockup.js +1 -1
  114. package/text-lockup.mjs +3 -4
  115. package/textarea.js +1 -1
  116. package/textarea.mjs +5 -6
  117. package/{textfield-93cfcf3c.mjs → textfield-69844234.mjs} +8 -9
  118. package/{textfield-0645375b.js → textfield-a064a2b4.js} +16 -16
  119. package/textfield.js +1 -1
  120. package/textfield.mjs +5 -6
  121. package/toolbar.js +1 -1
  122. package/toolbar.mjs +4 -5
  123. package/top-app-bar-fixed.js +1 -1
  124. package/top-app-bar-fixed.mjs +4 -5
  125. package/top-app-bar.js +1 -1
  126. package/top-app-bar.mjs +7 -8
  127. package/tree-list-item.js +1 -1
  128. package/tree-list-item.mjs +3 -4
  129. package/async-directive-4a34f75e.js +0 -5
  130. package/async-directive-99a01ec7.mjs +0 -78
  131. package/cell/cell.d.ts +0 -65
  132. package/cell/cell.d.ts.map +0 -1
  133. package/cell.js +0 -29
  134. package/cell.mjs +0 -147
  135. package/class-map-0a4c6ca9.js +0 -5
  136. package/class-map-6e504a9a.mjs +0 -38
  137. package/code-editor/code-editor.d.ts +0 -73
  138. package/code-editor/code-editor.d.ts.map +0 -1
  139. package/code-editor-3a09cbf1.js +0 -732
  140. package/code-editor-ce557bd5.mjs +0 -61376
  141. package/code-editor.js +0 -1
  142. package/code-editor.mjs +0 -10
  143. package/cpp-642b10c4.mjs +0 -387
  144. package/cpp-7eec3311.js +0 -6
  145. package/csharp-32862cd2.js +0 -6
  146. package/csharp-d987ddad.mjs +0 -320
  147. package/css-5dd354ac.mjs +0 -186
  148. package/css-9be95551.js +0 -8
  149. package/dart-031264ea.js +0 -6
  150. package/dart-5d209f63.mjs +0 -270
  151. package/directive-1186bc23.js +0 -5
  152. package/directive-daf4e9b6.mjs +0 -27
  153. package/go-46e3b371.mjs +0 -208
  154. package/go-cdd943fd.js +0 -6
  155. package/html-4fffc46e.js +0 -6
  156. package/html-783f1e7c.mjs +0 -286
  157. package/java-32d7b433.js +0 -6
  158. package/java-cd017f60.mjs +0 -221
  159. package/javascript-4d09cd3c.mjs +0 -80
  160. package/javascript-90bb18e6.js +0 -6
  161. package/kotlin-4b9019e1.js +0 -6
  162. package/kotlin-c6e52a56.mjs +0 -245
  163. package/lua-b46719a9.js +0 -6
  164. package/lua-f159160b.mjs +0 -157
  165. package/markdown-9b448c46.mjs +0 -202
  166. package/markdown-eae8e3ba.js +0 -6
  167. package/monacoeditorwork/css.worker.bundle.js +0 -45885
  168. package/monacoeditorwork/editor.worker.bundle.js +0 -9103
  169. package/monacoeditorwork/html.worker.bundle.js +0 -25134
  170. package/monacoeditorwork/json.worker.bundle.js +0 -16363
  171. package/monacoeditorwork/ts.worker.bundle.js +0 -170782
  172. package/notebook/notebook.d.ts +0 -87
  173. package/notebook/notebook.d.ts.map +0 -1
  174. package/notebook.js +0 -121
  175. package/notebook.mjs +0 -3447
  176. package/php-987b9d87.mjs +0 -471
  177. package/php-a6dcde52.js +0 -6
  178. package/python-562f8e9b.mjs +0 -264
  179. package/python-af3aad7d.js +0 -6
  180. package/r-42c6f0aa.js +0 -6
  181. package/r-630f5d6b.mjs +0 -245
  182. package/rust-87887495.js +0 -6
  183. package/rust-97f8f6e1.mjs +0 -337
  184. package/scala-c68c650c.mjs +0 -353
  185. package/scala-e8b7bd42.js +0 -6
  186. package/shell-09452d42.mjs +0 -224
  187. package/shell-43cfbe7d.js +0 -6
  188. package/sql-63ec8e76.mjs +0 -818
  189. package/sql-faf05577.js +0 -6
  190. package/style.css +0 -1
  191. package/swift-724ff2a3.js +0 -8
  192. package/swift-abdf1835.mjs +0 -315
  193. package/typescript-76d039b3.js +0 -6
  194. package/typescript-a2a5d6b2.mjs +0 -332
  195. package/xml-89571455.mjs +0 -100
  196. package/xml-e66929d0.js +0 -6
  197. package/yaml-11a91e71.js +0 -6
  198. package/yaml-4eccd122.mjs +0 -189
@@ -1,245 +0,0 @@
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
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
- comments: {
10
- lineComment: "//",
11
- blockComment: ["/*", "*/"]
12
- },
13
- brackets: [
14
- ["{", "}"],
15
- ["[", "]"],
16
- ["(", ")"]
17
- ],
18
- autoClosingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: '"', close: '"' },
23
- { open: "'", close: "'" }
24
- ],
25
- surroundingPairs: [
26
- { open: "{", close: "}" },
27
- { open: "[", close: "]" },
28
- { open: "(", close: ")" },
29
- { open: '"', close: '"' },
30
- { open: "'", close: "'" },
31
- { open: "<", close: ">" }
32
- ],
33
- folding: {
34
- markers: {
35
- start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
36
- end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
37
- }
38
- }
39
- }, t = {
40
- defaultToken: "",
41
- tokenPostfix: ".kt",
42
- keywords: [
43
- "as",
44
- "as?",
45
- "break",
46
- "class",
47
- "continue",
48
- "do",
49
- "else",
50
- "false",
51
- "for",
52
- "fun",
53
- "if",
54
- "in",
55
- "!in",
56
- "interface",
57
- "is",
58
- "!is",
59
- "null",
60
- "object",
61
- "package",
62
- "return",
63
- "super",
64
- "this",
65
- "throw",
66
- "true",
67
- "try",
68
- "typealias",
69
- "val",
70
- "var",
71
- "when",
72
- "while",
73
- "by",
74
- "catch",
75
- "constructor",
76
- "delegate",
77
- "dynamic",
78
- "field",
79
- "file",
80
- "finally",
81
- "get",
82
- "import",
83
- "init",
84
- "param",
85
- "property",
86
- "receiver",
87
- "set",
88
- "setparam",
89
- "where",
90
- "actual",
91
- "abstract",
92
- "annotation",
93
- "companion",
94
- "const",
95
- "crossinline",
96
- "data",
97
- "enum",
98
- "expect",
99
- "external",
100
- "final",
101
- "infix",
102
- "inline",
103
- "inner",
104
- "internal",
105
- "lateinit",
106
- "noinline",
107
- "open",
108
- "operator",
109
- "out",
110
- "override",
111
- "private",
112
- "protected",
113
- "public",
114
- "reified",
115
- "sealed",
116
- "suspend",
117
- "tailrec",
118
- "vararg",
119
- "field",
120
- "it"
121
- ],
122
- operators: [
123
- "+",
124
- "-",
125
- "*",
126
- "/",
127
- "%",
128
- "=",
129
- "+=",
130
- "-=",
131
- "*=",
132
- "/=",
133
- "%=",
134
- "++",
135
- "--",
136
- "&&",
137
- "||",
138
- "!",
139
- "==",
140
- "!=",
141
- "===",
142
- "!==",
143
- ">",
144
- "<",
145
- "<=",
146
- ">=",
147
- "[",
148
- "]",
149
- "!!",
150
- "?.",
151
- "?:",
152
- "::",
153
- "..",
154
- ":",
155
- "?",
156
- "->",
157
- "@",
158
- ";",
159
- "$",
160
- "_"
161
- ],
162
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
163
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
164
- digits: /\d+(_+\d+)*/,
165
- octaldigits: /[0-7]+(_+[0-7]+)*/,
166
- binarydigits: /[0-1]+(_+[0-1]+)*/,
167
- hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
168
- tokenizer: {
169
- root: [
170
- [/[A-Z][\w\$]*/, "type.identifier"],
171
- [
172
- /[a-zA-Z_$][\w$]*/,
173
- {
174
- cases: {
175
- "@keywords": { token: "keyword.$0" },
176
- "@default": "identifier"
177
- }
178
- }
179
- ],
180
- { include: "@whitespace" },
181
- [/[{}()\[\]]/, "@brackets"],
182
- [/[<>](?!@symbols)/, "@brackets"],
183
- [
184
- /@symbols/,
185
- {
186
- cases: {
187
- "@operators": "delimiter",
188
- "@default": ""
189
- }
190
- }
191
- ],
192
- [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
193
- [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
194
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
195
- [/0[xX](@hexdigits)[Ll]?/, "number.hex"],
196
- [/0(@octaldigits)[Ll]?/, "number.octal"],
197
- [/0[bB](@binarydigits)[Ll]?/, "number.binary"],
198
- [/(@digits)[fFdD]/, "number.float"],
199
- [/(@digits)[lL]?/, "number"],
200
- [/[;,.]/, "delimiter"],
201
- [/"([^"\\]|\\.)*$/, "string.invalid"],
202
- [/"""/, "string", "@multistring"],
203
- [/"/, "string", "@string"],
204
- [/'[^\\']'/, "string"],
205
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
206
- [/'/, "string.invalid"]
207
- ],
208
- whitespace: [
209
- [/[ \t\r\n]+/, ""],
210
- [/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
211
- [/\/\*/, "comment", "@comment"],
212
- [/\/\/.*$/, "comment"]
213
- ],
214
- comment: [
215
- [/[^\/*]+/, "comment"],
216
- [/\/\*/, "comment", "@comment"],
217
- [/\*\//, "comment", "@pop"],
218
- [/[\/*]/, "comment"]
219
- ],
220
- javadoc: [
221
- [/[^\/*]+/, "comment.doc"],
222
- [/\/\*/, "comment.doc", "@push"],
223
- [/\/\*/, "comment.doc.invalid"],
224
- [/\*\//, "comment.doc", "@pop"],
225
- [/[\/*]/, "comment.doc"]
226
- ],
227
- string: [
228
- [/[^\\"]+/, "string"],
229
- [/@escapes/, "string.escape"],
230
- [/\\./, "string.escape.invalid"],
231
- [/"/, "string", "@pop"]
232
- ],
233
- multistring: [
234
- [/[^\\"]+/, "string"],
235
- [/@escapes/, "string.escape"],
236
- [/\\./, "string.escape.invalid"],
237
- [/"""/, "string", "@pop"],
238
- [/./, "string"]
239
- ]
240
- }
241
- };
242
- export {
243
- e as conf,
244
- t as language
245
- };
package/lua-b46719a9.js DELETED
@@ -1,6 +0,0 @@
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:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};exports.conf=e;exports.language=o;
package/lua-f159160b.mjs DELETED
@@ -1,157 +0,0 @@
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: '"' },
22
- { open: "'", close: "'" }
23
- ],
24
- surroundingPairs: [
25
- { open: "{", close: "}" },
26
- { open: "[", close: "]" },
27
- { open: "(", close: ")" },
28
- { open: '"', close: '"' },
29
- { open: "'", close: "'" }
30
- ]
31
- }, o = {
32
- defaultToken: "",
33
- tokenPostfix: ".lua",
34
- keywords: [
35
- "and",
36
- "break",
37
- "do",
38
- "else",
39
- "elseif",
40
- "end",
41
- "false",
42
- "for",
43
- "function",
44
- "goto",
45
- "if",
46
- "in",
47
- "local",
48
- "nil",
49
- "not",
50
- "or",
51
- "repeat",
52
- "return",
53
- "then",
54
- "true",
55
- "until",
56
- "while"
57
- ],
58
- brackets: [
59
- { token: "delimiter.bracket", open: "{", close: "}" },
60
- { token: "delimiter.array", open: "[", close: "]" },
61
- { token: "delimiter.parenthesis", open: "(", close: ")" }
62
- ],
63
- operators: [
64
- "+",
65
- "-",
66
- "*",
67
- "/",
68
- "%",
69
- "^",
70
- "#",
71
- "==",
72
- "~=",
73
- "<=",
74
- ">=",
75
- "<",
76
- ">",
77
- "=",
78
- ";",
79
- ":",
80
- ",",
81
- ".",
82
- "..",
83
- "..."
84
- ],
85
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
86
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
87
- tokenizer: {
88
- root: [
89
- [
90
- /[a-zA-Z_]\w*/,
91
- {
92
- cases: {
93
- "@keywords": { token: "keyword.$0" },
94
- "@default": "identifier"
95
- }
96
- }
97
- ],
98
- { include: "@whitespace" },
99
- [/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
100
- [/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
101
- [/[{}()\[\]]/, "@brackets"],
102
- [
103
- /@symbols/,
104
- {
105
- cases: {
106
- "@operators": "delimiter",
107
- "@default": ""
108
- }
109
- }
110
- ],
111
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
112
- [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
113
- [/\d+?/, "number"],
114
- [/[;,.]/, "delimiter"],
115
- [/"([^"\\]|\\.)*$/, "string.invalid"],
116
- [/'([^'\\]|\\.)*$/, "string.invalid"],
117
- [/"/, "string", '@string."'],
118
- [/'/, "string", "@string.'"]
119
- ],
120
- whitespace: [
121
- [/[ \t\r\n]+/, ""],
122
- [/--\[([=]*)\[/, "comment", "@comment.$1"],
123
- [/--.*$/, "comment"]
124
- ],
125
- comment: [
126
- [/[^\]]+/, "comment"],
127
- [
128
- /\]([=]*)\]/,
129
- {
130
- cases: {
131
- "$1==$S2": { token: "comment", next: "@pop" },
132
- "@default": "comment"
133
- }
134
- }
135
- ],
136
- [/./, "comment"]
137
- ],
138
- string: [
139
- [/[^\\"']+/, "string"],
140
- [/@escapes/, "string.escape"],
141
- [/\\./, "string.escape.invalid"],
142
- [
143
- /["']/,
144
- {
145
- cases: {
146
- "$#==$S2": { token: "string", next: "@pop" },
147
- "@default": "string"
148
- }
149
- }
150
- ]
151
- ]
152
- }
153
- };
154
- export {
155
- e as conf,
156
- o as language
157
- };
@@ -1,202 +0,0 @@
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
- blockComment: ["<!--", "-->"]
10
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: "<", close: ">", notIn: ["string"] }
21
- ],
22
- surroundingPairs: [
23
- { open: "(", close: ")" },
24
- { open: "[", close: "]" },
25
- { open: "`", close: "`" }
26
- ],
27
- folding: {
28
- markers: {
29
- start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
30
- end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
31
- }
32
- }
33
- }, t = {
34
- defaultToken: "",
35
- tokenPostfix: ".md",
36
- control: /[\\`*_\[\]{}()#+\-\.!]/,
37
- noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
38
- escapes: /\\(?:@control)/,
39
- jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
40
- empty: [
41
- "area",
42
- "base",
43
- "basefont",
44
- "br",
45
- "col",
46
- "frame",
47
- "hr",
48
- "img",
49
- "input",
50
- "isindex",
51
- "link",
52
- "meta",
53
- "param"
54
- ],
55
- tokenizer: {
56
- root: [
57
- [/^\s*\|/, "@rematch", "@table_header"],
58
- [/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
59
- [/^\s*(=+|\-+)\s*$/, "keyword"],
60
- [/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
61
- [/^\s*>+/, "comment"],
62
- [/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
63
- [/^(\t|[ ]{4})[^ ].*$/, "string"],
64
- [/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
65
- [
66
- /^\s*```\s*((?:\w|[\/\-#])+).*$/,
67
- { token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
68
- ],
69
- [/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
70
- { include: "@linecontent" }
71
- ],
72
- table_header: [
73
- { include: "@table_common" },
74
- [/[^\|]+/, "keyword.table.header"]
75
- ],
76
- table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
77
- table_common: [
78
- [/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
79
- [/^\s*\|/, "keyword.table.left"],
80
- [/^\s*[^\|]/, "@rematch", "@pop"],
81
- [/^\s*$/, "@rematch", "@pop"],
82
- [
83
- /\|/,
84
- {
85
- cases: {
86
- "@eos": "keyword.table.right",
87
- "@default": "keyword.table.middle"
88
- }
89
- }
90
- ]
91
- ],
92
- codeblock: [
93
- [/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
94
- [/^\s*```\s*$/, { token: "string", next: "@pop" }],
95
- [/.*$/, "variable.source"]
96
- ],
97
- codeblockgh: [
98
- [/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
99
- [/[^`]+/, "variable.source"]
100
- ],
101
- linecontent: [
102
- [/&\w+;/, "string.escape"],
103
- [/@escapes/, "escape"],
104
- [/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
105
- [/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
106
- [/\b_[^_]+_\b/, "emphasis"],
107
- [/\*([^\\*]|@escapes)+\*/, "emphasis"],
108
- [/`([^\\`]|@escapes)+`/, "variable"],
109
- [/\{+[^}]+\}+/, "string.target"],
110
- [/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
111
- [/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
112
- { include: "html" }
113
- ],
114
- html: [
115
- [/<(\w+)\/>/, "tag"],
116
- [
117
- /<(\w+)(\-|\w)*/,
118
- {
119
- cases: {
120
- "@empty": { token: "tag", next: "@tag.$1" },
121
- "@default": { token: "tag", next: "@tag.$1" }
122
- }
123
- }
124
- ],
125
- [/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
126
- [/<!--/, "comment", "@comment"]
127
- ],
128
- comment: [
129
- [/[^<\-]+/, "comment.content"],
130
- [/-->/, "comment", "@pop"],
131
- [/<!--/, "comment.content.invalid"],
132
- [/[<\-]/, "comment.content"]
133
- ],
134
- tag: [
135
- [/[ \t\r\n]+/, "white"],
136
- [
137
- /(type)(\s*=\s*)(")([^"]+)(")/,
138
- [
139
- "attribute.name.html",
140
- "delimiter.html",
141
- "string.html",
142
- { token: "string.html", switchTo: "@tag.$S2.$4" },
143
- "string.html"
144
- ]
145
- ],
146
- [
147
- /(type)(\s*=\s*)(')([^']+)(')/,
148
- [
149
- "attribute.name.html",
150
- "delimiter.html",
151
- "string.html",
152
- { token: "string.html", switchTo: "@tag.$S2.$4" },
153
- "string.html"
154
- ]
155
- ],
156
- [/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
157
- [/\w+/, "attribute.name.html"],
158
- [/\/>/, "tag", "@pop"],
159
- [
160
- />/,
161
- {
162
- cases: {
163
- "$S2==style": {
164
- token: "tag",
165
- switchTo: "embeddedStyle",
166
- nextEmbedded: "text/css"
167
- },
168
- "$S2==script": {
169
- cases: {
170
- $S3: {
171
- token: "tag",
172
- switchTo: "embeddedScript",
173
- nextEmbedded: "$S3"
174
- },
175
- "@default": {
176
- token: "tag",
177
- switchTo: "embeddedScript",
178
- nextEmbedded: "text/javascript"
179
- }
180
- }
181
- },
182
- "@default": { token: "tag", next: "@pop" }
183
- }
184
- }
185
- ]
186
- ],
187
- embeddedStyle: [
188
- [/[^<]+/, ""],
189
- [/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
190
- [/</, ""]
191
- ],
192
- embeddedScript: [
193
- [/[^<]+/, ""],
194
- [/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
195
- [/</, ""]
196
- ]
197
- }
198
- };
199
- export {
200
- e as conf,
201
- t as language
202
- };
@@ -1,6 +0,0 @@
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:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},t={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"string",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)(\-|\w)*/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)(\-|\w)*\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}};exports.conf=e;exports.language=t;