@covalent/components 9.0.0-beta.4 → 9.1.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.
- package/app-shell.js +1 -1
- package/app-shell.mjs +1 -1
- package/code-editor-Bshyfjyn.mjs +77079 -0
- package/code-editor-CSH3MdBF.js +718 -0
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{css-Bn4le2Sp.js → css-BbTDMrKE.js} +1 -1
- package/{css-DjwjINlv.mjs → css-CLWUu9O1.mjs} +8 -1
- package/{html-BMgGKfr0.js → html-DUGRoHaj.js} +2 -2
- package/{html-BFM6gjw5.mjs → html-DrhRpsz9.mjs} +37 -4
- package/icon-check-toggle.js +4 -4
- package/icon-check-toggle.mjs +1 -1
- package/icon-lockup/icon-lockup.d.ts +64 -0
- package/icon-lockup/icon-lockup.d.ts.map +1 -0
- package/icon-lockup.js +14 -0
- package/icon-lockup.mjs +99 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +69 -67
- package/{javascript-20JK5_5Y.js → javascript-54eqLOAw.js} +3 -3
- package/{javascript-BVQ0GGQP.mjs → javascript-DKtDcqDi.mjs} +4 -2
- package/{markdown-bAu8rWEZ.mjs → markdown-BKScSdMX.mjs} +34 -1
- package/{markdown-CrnizovQ.js → markdown-DldjjLzq.js} +1 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +1 -1
- package/package.json +6 -1
- package/{python-BRZC-1dQ.mjs → python-CEXbOLXn.mjs} +59 -11
- package/python-CzGtlN7c.js +6 -0
- package/{r-rF4J5dF2.mjs → r-BTwZKg_d.mjs} +5 -1
- package/{r-DKABafMl.js → r-DAAK96v0.js} +1 -1
- package/{sql-CL8qgBkR.mjs → sql-1GwNodTS.mjs} +42 -1
- package/{sql-CXm05EUD.js → sql-BMnYdyBG.js} +1 -1
- package/style.css +1 -1
- package/typescript-D_zVB3gH.js +6 -0
- package/{typescript-qqbekFoQ.mjs → typescript-DotYReBq.mjs} +25 -3
- package/code-editor-CxQzms2S.mjs +0 -62429
- package/code-editor-hT6MTCL6.js +0 -660
- package/python-B8sEpp0H.js +0 -6
- package/typescript-CqVUCaiQ.js +0 -6
@@ -1,7 +1,7 @@
|
|
1
|
-
import { m as s } from "./code-editor-
|
1
|
+
import { m as s } from "./code-editor-Bshyfjyn.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
-
* Version: 0.
|
4
|
+
* Version: 0.52.0(f6dc0eb8fce67e57f6036f4769d92c1666cdf546)
|
5
5
|
* Released under the MIT license
|
6
6
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
7
7
|
*-----------------------------------------------------------------------------*/
|
@@ -25,6 +25,7 @@ var x = {
|
|
25
25
|
],
|
26
26
|
onEnterRules: [
|
27
27
|
{
|
28
|
+
// e.g. /** | */
|
28
29
|
beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
|
29
30
|
afterText: /^\s*\*\/$/,
|
30
31
|
action: {
|
@@ -33,6 +34,7 @@ var x = {
|
|
33
34
|
}
|
34
35
|
},
|
35
36
|
{
|
37
|
+
// e.g. /** ...|
|
36
38
|
beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
|
37
39
|
action: {
|
38
40
|
indentAction: r.languages.IndentAction.None,
|
@@ -40,6 +42,7 @@ var x = {
|
|
40
42
|
}
|
41
43
|
},
|
42
44
|
{
|
45
|
+
// e.g. * ...|
|
43
46
|
beforeText: /^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,
|
44
47
|
action: {
|
45
48
|
indentAction: r.languages.IndentAction.None,
|
@@ -47,6 +50,7 @@ var x = {
|
|
47
50
|
}
|
48
51
|
},
|
49
52
|
{
|
53
|
+
// e.g. */|
|
50
54
|
beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
|
51
55
|
action: {
|
52
56
|
indentAction: r.languages.IndentAction.None,
|
@@ -70,9 +74,12 @@ var x = {
|
|
70
74
|
}
|
71
75
|
}
|
72
76
|
}, b = {
|
77
|
+
// Set defaultToken to invalid to see what you do not tokenize yet
|
73
78
|
defaultToken: "invalid",
|
74
79
|
tokenPostfix: ".ts",
|
75
80
|
keywords: [
|
81
|
+
// Should match the keys of textToKeywordObj in
|
82
|
+
// https://github.com/microsoft/TypeScript/blob/master/src/compiler/scanner.ts
|
76
83
|
"abstract",
|
77
84
|
"any",
|
78
85
|
"as",
|
@@ -128,6 +135,7 @@ var x = {
|
|
128
135
|
"require",
|
129
136
|
"global",
|
130
137
|
"return",
|
138
|
+
"satisfies",
|
131
139
|
"set",
|
132
140
|
"static",
|
133
141
|
"string",
|
@@ -197,6 +205,7 @@ var x = {
|
|
197
205
|
"^=",
|
198
206
|
"@"
|
199
207
|
],
|
208
|
+
// we include these common regular expressions
|
200
209
|
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
201
210
|
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
202
211
|
digits: /\d+(_+\d+)*/,
|
@@ -205,11 +214,13 @@ var x = {
|
|
205
214
|
hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
|
206
215
|
regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
|
207
216
|
regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
|
217
|
+
// The main tokenizer for our languages
|
208
218
|
tokenizer: {
|
209
219
|
root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
|
210
220
|
common: [
|
221
|
+
// identifiers and keywords
|
211
222
|
[
|
212
|
-
|
223
|
+
/#?[a-z_$][\w$]*/,
|
213
224
|
{
|
214
225
|
cases: {
|
215
226
|
"@keywords": "keyword",
|
@@ -218,11 +229,16 @@ var x = {
|
|
218
229
|
}
|
219
230
|
],
|
220
231
|
[/[A-Z][\w\$]*/, "type.identifier"],
|
232
|
+
// to show class names nicely
|
233
|
+
// [/[A-Z][\w\$]*/, 'identifier'],
|
234
|
+
// whitespace
|
221
235
|
{ include: "@whitespace" },
|
236
|
+
// regular expression: ensure it is terminated before beginning (otherwise it is an opeator)
|
222
237
|
[
|
223
238
|
/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
|
224
239
|
{ token: "regexp", bracket: "@open", next: "@regexp" }
|
225
240
|
],
|
241
|
+
// delimiters and operators
|
226
242
|
[/[()\[\]]/, "@brackets"],
|
227
243
|
[/[<>](?!@symbols)/, "@brackets"],
|
228
244
|
[/!(?=([^=]|$))/, "delimiter"],
|
@@ -235,15 +251,20 @@ var x = {
|
|
235
251
|
}
|
236
252
|
}
|
237
253
|
],
|
254
|
+
// numbers
|
238
255
|
[/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
|
239
256
|
[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
|
240
257
|
[/0[xX](@hexdigits)n?/, "number.hex"],
|
241
258
|
[/0[oO]?(@octaldigits)n?/, "number.octal"],
|
242
259
|
[/0[bB](@binarydigits)n?/, "number.binary"],
|
243
260
|
[/(@digits)n?/, "number"],
|
261
|
+
// delimiter: after number because of .\d floats
|
244
262
|
[/[;,.]/, "delimiter"],
|
263
|
+
// strings
|
245
264
|
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
265
|
+
// non-teminated string
|
246
266
|
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
267
|
+
// non-teminated string
|
247
268
|
[/"/, "string", "@string_double"],
|
248
269
|
[/'/, "string", "@string_single"],
|
249
270
|
[/`/, "string", "@string_backtick"]
|
@@ -264,6 +285,7 @@ var x = {
|
|
264
285
|
[/\*\//, "comment.doc", "@pop"],
|
265
286
|
[/[\/*]/, "comment.doc"]
|
266
287
|
],
|
288
|
+
// We match regular expression quite precisely
|
267
289
|
regexp: [
|
268
290
|
[
|
269
291
|
/(\{)(\d+(?:,\d*)?)(\})/,
|