@covalent/components 8.14.0 → 8.15.0-beta.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.
- package/abap-1354785f.mjs +1314 -0
- package/abap-c7187853.js +6 -0
- package/action-ribbon.js +1 -1
- package/action-ribbon.mjs +4 -3
- package/alert.js +1 -1
- package/alert.mjs +4 -3
- package/apex-279d4f27.mjs +315 -0
- package/apex-fc5f2b3e.js +6 -0
- package/app-shell.js +1 -1
- package/app-shell.mjs +8 -7
- package/assets/css.worker-1af1972f.js +84 -0
- package/assets/editor.worker-df55e1ff.js +8 -0
- package/assets/html.worker-38c267f1.js +456 -0
- package/assets/json.worker-bf861c27.js +39 -0
- package/assets/ts.worker-e151483b.js +33972 -0
- package/async-directive-4a34f75e.js +5 -0
- package/async-directive-99a01ec7.mjs +78 -0
- package/azcli-ba812c55.mjs +74 -0
- package/azcli-eb191d91.js +6 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -3
- package/bat-34d38df4.js +6 -0
- package/bat-4d77495d.mjs +95 -0
- package/bicep-7b240724.mjs +108 -0
- package/bicep-a8264e77.js +7 -0
- package/button.js +1 -1
- package/button.mjs +10 -9
- package/cameligo-5d2daeb8.mjs +168 -0
- package/cameligo-6e71c8f3.js +6 -0
- package/card.js +1 -1
- package/card.mjs +4 -3
- package/cell/cell.d.ts +58 -0
- package/cell/cell.d.ts.map +1 -0
- package/cell.js +25 -0
- package/cell.mjs +129 -0
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -7
- package/checkbox.js +1 -1
- package/checkbox.mjs +16 -15
- package/{chip-ebd0a88e.js → chip-c65a4549.js} +1 -1
- package/{chip-2d0fd3f0.mjs → chip-fb0ea5c5.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +46 -45
- package/chip.js +1 -1
- package/chip.mjs +5 -4
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +5 -4
- package/class-map-0a4c6ca9.js +5 -0
- package/class-map-6e504a9a.mjs +38 -0
- package/clojure-355adae1.js +6 -0
- package/clojure-b7ea12a3.mjs +754 -0
- package/code-editor/code-editor.d.ts +51 -0
- package/code-editor/code-editor.d.ts.map +1 -0
- package/code-editor-383a8fae.mjs +94274 -0
- package/code-editor-4cce5e5d.js +1200 -0
- package/code-editor.js +1 -0
- package/code-editor.mjs +10 -0
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +4 -3
- package/coffee-1a8cfbf4.mjs +228 -0
- package/coffee-fd8a7421.js +6 -0
- package/cpp-642b10c4.mjs +387 -0
- package/cpp-7eec3311.js +6 -0
- package/csharp-32862cd2.js +6 -0
- package/csharp-d987ddad.mjs +320 -0
- package/csp-54919de0.js +6 -0
- package/csp-96407af0.mjs +57 -0
- package/css-5dd354ac.mjs +186 -0
- package/css-9be95551.js +8 -0
- package/cssMode-821261c4.js +9 -0
- package/cssMode-9b89f9af.mjs +1450 -0
- package/cypher-11e5a4b6.mjs +262 -0
- package/cypher-cc849b67.js +6 -0
- package/dart-031264ea.js +6 -0
- package/dart-5d209f63.mjs +270 -0
- package/{dialog-c9dbe94d.mjs → dialog-16aad066.mjs} +1 -1
- package/{dialog-82b03745.js → dialog-86192b9a.js} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +5 -4
- package/directive-1186bc23.js +5 -0
- package/directive-daf4e9b6.mjs +27 -0
- package/dockerfile-2f8684f7.js +6 -0
- package/dockerfile-8739cff7.mjs +132 -0
- package/drawer.js +1 -1
- package/drawer.mjs +5 -4
- package/ecl-68a6f20f.js +6 -0
- package/ecl-a20c5155.mjs +454 -0
- package/elixir-32cc668e.js +6 -0
- package/elixir-8b028584.mjs +467 -0
- package/flow9-0dea2e73.mjs +141 -0
- package/flow9-1d2ab5f6.js +6 -0
- package/formfield.js +3 -3
- package/formfield.mjs +4 -3
- package/freemarker2-4fc0d2e6.mjs +648 -0
- package/freemarker2-7095cbc4.js +8 -0
- package/fsharp-49a70fad.mjs +210 -0
- package/fsharp-a22f5013.js +6 -0
- package/go-46e3b371.mjs +208 -0
- package/go-cdd943fd.js +6 -0
- package/graphql-1a14eb34.js +6 -0
- package/graphql-51a577e5.mjs +141 -0
- package/handlebars-6a356ce9.js +6 -0
- package/handlebars-82c24f9d.mjs +396 -0
- package/hcl-0833427e.js +6 -0
- package/hcl-56b85754.mjs +177 -0
- package/html-a95df2b1.mjs +286 -0
- package/html-d9124a1e.js +6 -0
- package/htmlMode-3946317b.js +9 -0
- package/htmlMode-45fac07b.mjs +1460 -0
- package/icon-button-toggle/icon-button-toggle.d.ts +7 -0
- package/icon-button-toggle/icon-button-toggle.d.ts.map +1 -1
- package/icon-button-toggle.js +12 -12
- package/icon-button-toggle.mjs +57 -47
- package/icon-button.js +1 -1
- package/icon-button.mjs +6 -5
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -6
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +7 -6
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +125 -117
- package/ini-1d58d82f.mjs +68 -0
- package/ini-34a929df.js +6 -0
- package/java-32d7b433.js +6 -0
- package/java-cd017f60.mjs +221 -0
- package/javascript-0226b3a0.mjs +80 -0
- package/javascript-ec698494.js +6 -0
- package/jsonMode-a8e45f39.js +11 -0
- package/jsonMode-bdcd2ed9.mjs +1871 -0
- package/julia-7db1fb9a.js +6 -0
- package/julia-a0caf483.mjs +496 -0
- package/kotlin-4b9019e1.js +6 -0
- package/kotlin-c6e52a56.mjs +245 -0
- package/less-5219eae1.js +7 -0
- package/less-718543b4.mjs +168 -0
- package/lexon-5e6e7a44.mjs +151 -0
- package/lexon-dfd683ab.js +6 -0
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +5 -4
- package/liquid-2dc745b6.mjs +243 -0
- package/liquid-b6e2effe.js +6 -0
- package/list-item.js +2 -2
- package/list-item.mjs +7 -6
- package/list.js +1 -1
- package/list.mjs +8 -7
- package/lua-b46719a9.js +6 -0
- package/lua-f159160b.mjs +157 -0
- package/m3-87473279.js +6 -0
- package/m3-aadaf771.mjs +210 -0
- package/markdown-9b448c46.mjs +202 -0
- package/markdown-eae8e3ba.js +6 -0
- package/menu.js +5 -5
- package/menu.mjs +9 -8
- package/mips-161e49ce.mjs +194 -0
- package/mips-82a1ce59.js +6 -0
- package/msdax-b3b5017e.js +6 -0
- package/msdax-f65cb1e6.mjs +377 -0
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-02b4eb91.mjs} +2 -2
- package/{mwc-checkbox-base-3d8c9549.js → mwc-checkbox-base-935d9566.js} +1 -1
- package/{mwc-drawer-base-798b11f8.js → mwc-drawer-base-bbae43c3.js} +1 -1
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-ca75f41f.mjs} +1 -1
- package/{mwc-line-ripple-directive-a6b39a3c.js → mwc-line-ripple-directive-40145003.js} +14 -14
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-aabd8778.mjs} +6 -5
- package/{mwc-list-base-400b00e2.js → mwc-list-base-22616d0a.js} +1 -1
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-402e1d8e.mjs} +1 -1
- package/{mwc-list-item-base-297d86b0.js → mwc-list-item-base-06d93e6e.js} +1 -1
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-3c6a3bfb.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-04586160.mjs} +3 -3
- package/{mwc-menu-base-c75ca473.js → mwc-menu-base-08f54c38.js} +1 -1
- package/{mwc-radio-base-913e02e2.js → mwc-radio-base-147cf999.js} +1 -1
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-768b4221.mjs} +2 -2
- package/{mwc-slider.css-c7107d94.js → mwc-slider.css-c5f99704.js} +1 -1
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-cda43bd0.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-0814a3ef.mjs} +2 -2
- package/{mwc-tab-base-f28722aa.js → mwc-tab-base-f2269fd1.js} +1 -1
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-8a7f7312.mjs} +1 -1
- package/{mwc-top-app-bar-base-aec60f27.js → mwc-top-app-bar-base-8c8cde51.js} +1 -1
- package/mysql-24549dd1.mjs +875 -0
- package/mysql-69f1c589.js +6 -0
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -6
- package/notebook/notebook.d.ts +49 -0
- package/notebook/notebook.d.ts.map +1 -0
- package/notebook.js +90 -0
- package/notebook.mjs +3307 -0
- package/objective-c-c8319b65.js +6 -0
- package/objective-c-e129a5ca.mjs +188 -0
- package/package.json +16 -1
- package/pascal-4ccdf5ce.mjs +245 -0
- package/pascal-e5207a08.js +6 -0
- package/pascaligo-8eb79945.js +6 -0
- package/pascaligo-a9603dcd.mjs +158 -0
- package/perl-ba1fb97a.mjs +599 -0
- package/perl-e8264c91.js +6 -0
- package/pgsql-89978310.mjs +843 -0
- package/pgsql-c8ba6faf.js +6 -0
- package/php-987b9d87.mjs +471 -0
- package/php-a6dcde52.js +6 -0
- package/pla-96c2695d.mjs +131 -0
- package/pla-c85b0e59.js +6 -0
- package/postiats-3c2c478e.js +6 -0
- package/postiats-7b52ebac.mjs +544 -0
- package/powerquery-8954ec26.mjs +890 -0
- package/powerquery-b0d5f9e4.js +6 -0
- package/powershell-cdb88123.js +6 -0
- package/powershell-f00d0274.mjs +233 -0
- package/protobuf-3eb85f80.mjs +422 -0
- package/protobuf-a3b2ca94.js +7 -0
- package/pug-6fab415a.mjs +393 -0
- package/pug-c5df821d.js +6 -0
- package/python-7770f129.mjs +264 -0
- package/python-c7862f06.js +6 -0
- package/qsharp-4792f872.mjs +282 -0
- package/qsharp-7eddb7b9.js +6 -0
- package/r-42c6f0aa.js +6 -0
- package/r-630f5d6b.mjs +245 -0
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -7
- package/radio.js +2 -2
- package/radio.mjs +7 -6
- package/razor-3871ef20.mjs +517 -0
- package/razor-4a6a11b1.js +6 -0
- package/redis-0d0a89dd.js +6 -0
- package/redis-276b8288.mjs +298 -0
- package/redshift-520a7359.mjs +806 -0
- package/redshift-b6bdaeca.js +6 -0
- package/restructuredtext-4676a3fc.mjs +162 -0
- package/restructuredtext-c83d56ed.js +6 -0
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-8883e893.mjs} +2 -2
- package/{ripple-handlers-5d5b21db.js → ripple-handlers-9fb4a31a.js} +1 -1
- package/ruby-764137cd.mjs +444 -0
- package/ruby-96103dcf.js +6 -0
- package/rust-87887495.js +6 -0
- package/rust-97f8f6e1.mjs +337 -0
- package/sb-8c22f14c.mjs +110 -0
- package/sb-e2701210.js +6 -0
- package/scala-c68c650c.mjs +353 -0
- package/scala-e8b7bd42.js +6 -0
- package/scheme-b9cbf7cb.js +6 -0
- package/scheme-e6a52cb0.mjs +114 -0
- package/scss-45104c77.mjs +244 -0
- package/scss-d0f4f80e.js +8 -0
- package/select.js +1 -1
- package/select.mjs +10 -9
- package/shell-09452d42.mjs +224 -0
- package/shell-43cfbe7d.js +6 -0
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +3 -2
- package/slider-range.js +1 -1
- package/slider-range.mjs +7 -6
- package/slider.js +1 -1
- package/slider.mjs +12 -11
- package/snackbar.js +14 -18
- package/snackbar.mjs +88 -159
- package/solidity-d4979008.mjs +1351 -0
- package/solidity-f1319e8a.js +6 -0
- package/sophia-21995caf.mjs +190 -0
- package/sophia-a1ce907f.js +6 -0
- package/sparql-5088743c.mjs +193 -0
- package/sparql-98d9e092.js +6 -0
- package/sql-63ec8e76.mjs +818 -0
- package/sql-faf05577.js +6 -0
- package/st-122893c4.js +6 -0
- package/st-fa9ab362.mjs +414 -0
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -6
- package/status-header.js +1 -1
- package/status-header.mjs +4 -3
- package/{style-map-88d2563f.js → style-map-a135c6ab.js} +2 -2
- package/{style-map-bc3ed3e0.mjs → style-map-e7ec6d41.mjs} +1 -1
- package/style.css +1 -0
- package/swift-724ff2a3.js +8 -0
- package/swift-abdf1835.mjs +315 -0
- package/switch.js +1 -1
- package/switch.mjs +6 -5
- package/systemverilog-8139818b.js +6 -0
- package/systemverilog-a4f858ed.mjs +556 -0
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +7 -6
- package/tab.js +1 -1
- package/tab.mjs +9 -8
- package/tcl-8adf937f.mjs +232 -0
- package/tcl-e49fed0b.js +6 -0
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +4 -3
- package/textarea.js +1 -1
- package/textarea.mjs +6 -5
- package/{textfield-11525c88.js → textfield-0645375b.js} +16 -16
- package/{textfield-902f3ad3.mjs → textfield-93cfcf3c.mjs} +5 -4
- package/textfield.js +1 -1
- package/textfield.mjs +6 -5
- package/toolbar.js +1 -1
- package/toolbar.mjs +5 -4
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +5 -4
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +8 -7
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -3
- package/tsMode-426fdb34.mjs +794 -0
- package/tsMode-9087ec29.js +16 -0
- package/twig-404eb73e.mjs +323 -0
- package/twig-4bfb5b04.js +6 -0
- package/typescript-37d9bf54.mjs +332 -0
- package/typescript-eb2ab867.js +6 -0
- package/vb-8dfd000c.js +6 -0
- package/vb-e21e8153.mjs +364 -0
- package/xml-349a9a42.js +6 -0
- package/xml-9970ffe1.mjs +100 -0
- package/yaml-167e3d82.mjs +189 -0
- package/yaml-837b2090.js +6 -0
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
@@ -0,0 +1,517 @@
|
|
1
|
+
import { m as s } from "./code-editor-383a8fae.mjs";
|
2
|
+
import "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import "./property-9b6ea53b.mjs";
|
4
|
+
import "./async-directive-99a01ec7.mjs";
|
5
|
+
import "./directive-helpers-e3ea6592.mjs";
|
6
|
+
import "./directive-daf4e9b6.mjs";
|
7
|
+
/*!-----------------------------------------------------------------------------
|
8
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
9
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
10
|
+
* Released under the MIT license
|
11
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
12
|
+
*-----------------------------------------------------------------------------*/
|
13
|
+
var c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, p = Object.prototype.hasOwnProperty, n = (t, e, o, i) => {
|
14
|
+
if (e && typeof e == "object" || typeof e == "function")
|
15
|
+
for (let r of d(e))
|
16
|
+
!p.call(t, r) && r !== o && c(t, r, { get: () => e[r], enumerable: !(i = l(e, r)) || i.enumerable });
|
17
|
+
return t;
|
18
|
+
}, h = (t, e, o) => (n(t, e, "default"), o && n(o, e, "default")), a = {};
|
19
|
+
h(a, s);
|
20
|
+
var m = [
|
21
|
+
"area",
|
22
|
+
"base",
|
23
|
+
"br",
|
24
|
+
"col",
|
25
|
+
"embed",
|
26
|
+
"hr",
|
27
|
+
"img",
|
28
|
+
"input",
|
29
|
+
"keygen",
|
30
|
+
"link",
|
31
|
+
"menuitem",
|
32
|
+
"meta",
|
33
|
+
"param",
|
34
|
+
"source",
|
35
|
+
"track",
|
36
|
+
"wbr"
|
37
|
+
], T = {
|
38
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
39
|
+
comments: {
|
40
|
+
blockComment: ["<!--", "-->"]
|
41
|
+
},
|
42
|
+
brackets: [
|
43
|
+
["<!--", "-->"],
|
44
|
+
["<", ">"],
|
45
|
+
["{", "}"],
|
46
|
+
["(", ")"]
|
47
|
+
],
|
48
|
+
autoClosingPairs: [
|
49
|
+
{ open: "{", close: "}" },
|
50
|
+
{ open: "[", close: "]" },
|
51
|
+
{ open: "(", close: ")" },
|
52
|
+
{ open: '"', close: '"' },
|
53
|
+
{ open: "'", close: "'" }
|
54
|
+
],
|
55
|
+
surroundingPairs: [
|
56
|
+
{ open: '"', close: '"' },
|
57
|
+
{ open: "'", close: "'" },
|
58
|
+
{ open: "<", close: ">" }
|
59
|
+
],
|
60
|
+
onEnterRules: [
|
61
|
+
{
|
62
|
+
beforeText: new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
63
|
+
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
64
|
+
action: {
|
65
|
+
indentAction: a.languages.IndentAction.IndentOutdent
|
66
|
+
}
|
67
|
+
},
|
68
|
+
{
|
69
|
+
beforeText: new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
|
70
|
+
action: { indentAction: a.languages.IndentAction.Indent }
|
71
|
+
}
|
72
|
+
]
|
73
|
+
}, S = {
|
74
|
+
defaultToken: "",
|
75
|
+
tokenPostfix: "",
|
76
|
+
tokenizer: {
|
77
|
+
root: [
|
78
|
+
[/@@@@/],
|
79
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.root" }],
|
80
|
+
[/<!DOCTYPE/, "metatag.html", "@doctype"],
|
81
|
+
[/<!--/, "comment.html", "@comment"],
|
82
|
+
[/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
83
|
+
[/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
|
84
|
+
[/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
|
85
|
+
[/(<)([:\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
86
|
+
[/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
87
|
+
[/</, "delimiter.html"],
|
88
|
+
[/[ \t\r\n]+/],
|
89
|
+
[/[^<@]+/]
|
90
|
+
],
|
91
|
+
doctype: [
|
92
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
|
93
|
+
[/[^>]+/, "metatag.content.html"],
|
94
|
+
[/>/, "metatag.html", "@pop"]
|
95
|
+
],
|
96
|
+
comment: [
|
97
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
|
98
|
+
[/-->/, "comment.html", "@pop"],
|
99
|
+
[/[^-]+/, "comment.content.html"],
|
100
|
+
[/./, "comment.content.html"]
|
101
|
+
],
|
102
|
+
otherTag: [
|
103
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.otherTag" }],
|
104
|
+
[/\/?>/, "delimiter.html", "@pop"],
|
105
|
+
[/"([^"]*)"/, "attribute.value"],
|
106
|
+
[/'([^']*)'/, "attribute.value"],
|
107
|
+
[/[\w\-]+/, "attribute.name"],
|
108
|
+
[/=/, "delimiter"],
|
109
|
+
[/[ \t\r\n]+/]
|
110
|
+
],
|
111
|
+
script: [
|
112
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.script" }],
|
113
|
+
[/type/, "attribute.name", "@scriptAfterType"],
|
114
|
+
[/"([^"]*)"/, "attribute.value"],
|
115
|
+
[/'([^']*)'/, "attribute.value"],
|
116
|
+
[/[\w\-]+/, "attribute.name"],
|
117
|
+
[/=/, "delimiter"],
|
118
|
+
[
|
119
|
+
/>/,
|
120
|
+
{
|
121
|
+
token: "delimiter.html",
|
122
|
+
next: "@scriptEmbedded.text/javascript",
|
123
|
+
nextEmbedded: "text/javascript"
|
124
|
+
}
|
125
|
+
],
|
126
|
+
[/[ \t\r\n]+/],
|
127
|
+
[
|
128
|
+
/(<\/)(script\s*)(>)/,
|
129
|
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
130
|
+
]
|
131
|
+
],
|
132
|
+
scriptAfterType: [
|
133
|
+
[
|
134
|
+
/@[^@]/,
|
135
|
+
{
|
136
|
+
token: "@rematch",
|
137
|
+
switchTo: "@razorInSimpleState.scriptAfterType"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
[/=/, "delimiter", "@scriptAfterTypeEquals"],
|
141
|
+
[
|
142
|
+
/>/,
|
143
|
+
{
|
144
|
+
token: "delimiter.html",
|
145
|
+
next: "@scriptEmbedded.text/javascript",
|
146
|
+
nextEmbedded: "text/javascript"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
[/[ \t\r\n]+/],
|
150
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
151
|
+
],
|
152
|
+
scriptAfterTypeEquals: [
|
153
|
+
[
|
154
|
+
/@[^@]/,
|
155
|
+
{
|
156
|
+
token: "@rematch",
|
157
|
+
switchTo: "@razorInSimpleState.scriptAfterTypeEquals"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
[
|
161
|
+
/"([^"]*)"/,
|
162
|
+
{
|
163
|
+
token: "attribute.value",
|
164
|
+
switchTo: "@scriptWithCustomType.$1"
|
165
|
+
}
|
166
|
+
],
|
167
|
+
[
|
168
|
+
/'([^']*)'/,
|
169
|
+
{
|
170
|
+
token: "attribute.value",
|
171
|
+
switchTo: "@scriptWithCustomType.$1"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
[
|
175
|
+
/>/,
|
176
|
+
{
|
177
|
+
token: "delimiter.html",
|
178
|
+
next: "@scriptEmbedded.text/javascript",
|
179
|
+
nextEmbedded: "text/javascript"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
[/[ \t\r\n]+/],
|
183
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
184
|
+
],
|
185
|
+
scriptWithCustomType: [
|
186
|
+
[
|
187
|
+
/@[^@]/,
|
188
|
+
{
|
189
|
+
token: "@rematch",
|
190
|
+
switchTo: "@razorInSimpleState.scriptWithCustomType.$S2"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
[
|
194
|
+
/>/,
|
195
|
+
{
|
196
|
+
token: "delimiter.html",
|
197
|
+
next: "@scriptEmbedded.$S2",
|
198
|
+
nextEmbedded: "$S2"
|
199
|
+
}
|
200
|
+
],
|
201
|
+
[/"([^"]*)"/, "attribute.value"],
|
202
|
+
[/'([^']*)'/, "attribute.value"],
|
203
|
+
[/[\w\-]+/, "attribute.name"],
|
204
|
+
[/=/, "delimiter"],
|
205
|
+
[/[ \t\r\n]+/],
|
206
|
+
[/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
|
207
|
+
],
|
208
|
+
scriptEmbedded: [
|
209
|
+
[
|
210
|
+
/@[^@]/,
|
211
|
+
{
|
212
|
+
token: "@rematch",
|
213
|
+
switchTo: "@razorInEmbeddedState.scriptEmbedded.$S2",
|
214
|
+
nextEmbedded: "@pop"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
[/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
218
|
+
],
|
219
|
+
style: [
|
220
|
+
[/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.style" }],
|
221
|
+
[/type/, "attribute.name", "@styleAfterType"],
|
222
|
+
[/"([^"]*)"/, "attribute.value"],
|
223
|
+
[/'([^']*)'/, "attribute.value"],
|
224
|
+
[/[\w\-]+/, "attribute.name"],
|
225
|
+
[/=/, "delimiter"],
|
226
|
+
[
|
227
|
+
/>/,
|
228
|
+
{
|
229
|
+
token: "delimiter.html",
|
230
|
+
next: "@styleEmbedded.text/css",
|
231
|
+
nextEmbedded: "text/css"
|
232
|
+
}
|
233
|
+
],
|
234
|
+
[/[ \t\r\n]+/],
|
235
|
+
[
|
236
|
+
/(<\/)(style\s*)(>)/,
|
237
|
+
["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
|
238
|
+
]
|
239
|
+
],
|
240
|
+
styleAfterType: [
|
241
|
+
[
|
242
|
+
/@[^@]/,
|
243
|
+
{
|
244
|
+
token: "@rematch",
|
245
|
+
switchTo: "@razorInSimpleState.styleAfterType"
|
246
|
+
}
|
247
|
+
],
|
248
|
+
[/=/, "delimiter", "@styleAfterTypeEquals"],
|
249
|
+
[
|
250
|
+
/>/,
|
251
|
+
{
|
252
|
+
token: "delimiter.html",
|
253
|
+
next: "@styleEmbedded.text/css",
|
254
|
+
nextEmbedded: "text/css"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
[/[ \t\r\n]+/],
|
258
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
259
|
+
],
|
260
|
+
styleAfterTypeEquals: [
|
261
|
+
[
|
262
|
+
/@[^@]/,
|
263
|
+
{
|
264
|
+
token: "@rematch",
|
265
|
+
switchTo: "@razorInSimpleState.styleAfterTypeEquals"
|
266
|
+
}
|
267
|
+
],
|
268
|
+
[
|
269
|
+
/"([^"]*)"/,
|
270
|
+
{
|
271
|
+
token: "attribute.value",
|
272
|
+
switchTo: "@styleWithCustomType.$1"
|
273
|
+
}
|
274
|
+
],
|
275
|
+
[
|
276
|
+
/'([^']*)'/,
|
277
|
+
{
|
278
|
+
token: "attribute.value",
|
279
|
+
switchTo: "@styleWithCustomType.$1"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
[
|
283
|
+
/>/,
|
284
|
+
{
|
285
|
+
token: "delimiter.html",
|
286
|
+
next: "@styleEmbedded.text/css",
|
287
|
+
nextEmbedded: "text/css"
|
288
|
+
}
|
289
|
+
],
|
290
|
+
[/[ \t\r\n]+/],
|
291
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
292
|
+
],
|
293
|
+
styleWithCustomType: [
|
294
|
+
[
|
295
|
+
/@[^@]/,
|
296
|
+
{
|
297
|
+
token: "@rematch",
|
298
|
+
switchTo: "@razorInSimpleState.styleWithCustomType.$S2"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
[
|
302
|
+
/>/,
|
303
|
+
{
|
304
|
+
token: "delimiter.html",
|
305
|
+
next: "@styleEmbedded.$S2",
|
306
|
+
nextEmbedded: "$S2"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
[/"([^"]*)"/, "attribute.value"],
|
310
|
+
[/'([^']*)'/, "attribute.value"],
|
311
|
+
[/[\w\-]+/, "attribute.name"],
|
312
|
+
[/=/, "delimiter"],
|
313
|
+
[/[ \t\r\n]+/],
|
314
|
+
[/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
|
315
|
+
],
|
316
|
+
styleEmbedded: [
|
317
|
+
[
|
318
|
+
/@[^@]/,
|
319
|
+
{
|
320
|
+
token: "@rematch",
|
321
|
+
switchTo: "@razorInEmbeddedState.styleEmbedded.$S2",
|
322
|
+
nextEmbedded: "@pop"
|
323
|
+
}
|
324
|
+
],
|
325
|
+
[/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
|
326
|
+
],
|
327
|
+
razorInSimpleState: [
|
328
|
+
[/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
|
329
|
+
[/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
|
330
|
+
[/(@)(\s*[\w]+)/, ["metatag.cs", { token: "identifier.cs", switchTo: "@$S2.$S3" }]],
|
331
|
+
[/[})]/, { token: "metatag.cs", switchTo: "@$S2.$S3" }],
|
332
|
+
[/\*@/, { token: "comment.cs", switchTo: "@$S2.$S3" }]
|
333
|
+
],
|
334
|
+
razorInEmbeddedState: [
|
335
|
+
[/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
|
336
|
+
[/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
|
337
|
+
[
|
338
|
+
/(@)(\s*[\w]+)/,
|
339
|
+
[
|
340
|
+
"metatag.cs",
|
341
|
+
{
|
342
|
+
token: "identifier.cs",
|
343
|
+
switchTo: "@$S2.$S3",
|
344
|
+
nextEmbedded: "$S3"
|
345
|
+
}
|
346
|
+
]
|
347
|
+
],
|
348
|
+
[
|
349
|
+
/[})]/,
|
350
|
+
{
|
351
|
+
token: "metatag.cs",
|
352
|
+
switchTo: "@$S2.$S3",
|
353
|
+
nextEmbedded: "$S3"
|
354
|
+
}
|
355
|
+
],
|
356
|
+
[
|
357
|
+
/\*@/,
|
358
|
+
{
|
359
|
+
token: "comment.cs",
|
360
|
+
switchTo: "@$S2.$S3",
|
361
|
+
nextEmbedded: "$S3"
|
362
|
+
}
|
363
|
+
]
|
364
|
+
],
|
365
|
+
razorBlockCommentTopLevel: [
|
366
|
+
[/\*@/, "@rematch", "@pop"],
|
367
|
+
[/[^*]+/, "comment.cs"],
|
368
|
+
[/./, "comment.cs"]
|
369
|
+
],
|
370
|
+
razorBlockComment: [
|
371
|
+
[/\*@/, "comment.cs", "@pop"],
|
372
|
+
[/[^*]+/, "comment.cs"],
|
373
|
+
[/./, "comment.cs"]
|
374
|
+
],
|
375
|
+
razorRootTopLevel: [
|
376
|
+
[/\{/, "delimiter.bracket.cs", "@razorRoot"],
|
377
|
+
[/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
|
378
|
+
[/[})]/, "@rematch", "@pop"],
|
379
|
+
{ include: "razorCommon" }
|
380
|
+
],
|
381
|
+
razorRoot: [
|
382
|
+
[/\{/, "delimiter.bracket.cs", "@razorRoot"],
|
383
|
+
[/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
|
384
|
+
[/\}/, "delimiter.bracket.cs", "@pop"],
|
385
|
+
[/\)/, "delimiter.parenthesis.cs", "@pop"],
|
386
|
+
{ include: "razorCommon" }
|
387
|
+
],
|
388
|
+
razorCommon: [
|
389
|
+
[
|
390
|
+
/[a-zA-Z_]\w*/,
|
391
|
+
{
|
392
|
+
cases: {
|
393
|
+
"@razorKeywords": { token: "keyword.cs" },
|
394
|
+
"@default": "identifier.cs"
|
395
|
+
}
|
396
|
+
}
|
397
|
+
],
|
398
|
+
[/[\[\]]/, "delimiter.array.cs"],
|
399
|
+
[/[ \t\r\n]+/],
|
400
|
+
[/\/\/.*$/, "comment.cs"],
|
401
|
+
[/@\*/, "comment.cs", "@razorBlockComment"],
|
402
|
+
[/"([^"]*)"/, "string.cs"],
|
403
|
+
[/'([^']*)'/, "string.cs"],
|
404
|
+
[/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
405
|
+
[/(<)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
406
|
+
[/(<\/)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
407
|
+
[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/, "delimiter.cs"],
|
408
|
+
[/\d*\d+[eE]([\-+]?\d+)?/, "number.float.cs"],
|
409
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.cs"],
|
410
|
+
[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.cs"],
|
411
|
+
[/0[0-7']*[0-7]/, "number.octal.cs"],
|
412
|
+
[/0[bB][0-1']*[0-1]/, "number.binary.cs"],
|
413
|
+
[/\d[\d']*/, "number.cs"],
|
414
|
+
[/\d/, "number.cs"]
|
415
|
+
]
|
416
|
+
},
|
417
|
+
razorKeywords: [
|
418
|
+
"abstract",
|
419
|
+
"as",
|
420
|
+
"async",
|
421
|
+
"await",
|
422
|
+
"base",
|
423
|
+
"bool",
|
424
|
+
"break",
|
425
|
+
"by",
|
426
|
+
"byte",
|
427
|
+
"case",
|
428
|
+
"catch",
|
429
|
+
"char",
|
430
|
+
"checked",
|
431
|
+
"class",
|
432
|
+
"const",
|
433
|
+
"continue",
|
434
|
+
"decimal",
|
435
|
+
"default",
|
436
|
+
"delegate",
|
437
|
+
"do",
|
438
|
+
"double",
|
439
|
+
"descending",
|
440
|
+
"explicit",
|
441
|
+
"event",
|
442
|
+
"extern",
|
443
|
+
"else",
|
444
|
+
"enum",
|
445
|
+
"false",
|
446
|
+
"finally",
|
447
|
+
"fixed",
|
448
|
+
"float",
|
449
|
+
"for",
|
450
|
+
"foreach",
|
451
|
+
"from",
|
452
|
+
"goto",
|
453
|
+
"group",
|
454
|
+
"if",
|
455
|
+
"implicit",
|
456
|
+
"in",
|
457
|
+
"int",
|
458
|
+
"interface",
|
459
|
+
"internal",
|
460
|
+
"into",
|
461
|
+
"is",
|
462
|
+
"lock",
|
463
|
+
"long",
|
464
|
+
"nameof",
|
465
|
+
"new",
|
466
|
+
"null",
|
467
|
+
"namespace",
|
468
|
+
"object",
|
469
|
+
"operator",
|
470
|
+
"out",
|
471
|
+
"override",
|
472
|
+
"orderby",
|
473
|
+
"params",
|
474
|
+
"private",
|
475
|
+
"protected",
|
476
|
+
"public",
|
477
|
+
"readonly",
|
478
|
+
"ref",
|
479
|
+
"return",
|
480
|
+
"switch",
|
481
|
+
"struct",
|
482
|
+
"sbyte",
|
483
|
+
"sealed",
|
484
|
+
"short",
|
485
|
+
"sizeof",
|
486
|
+
"stackalloc",
|
487
|
+
"static",
|
488
|
+
"string",
|
489
|
+
"select",
|
490
|
+
"this",
|
491
|
+
"throw",
|
492
|
+
"true",
|
493
|
+
"try",
|
494
|
+
"typeof",
|
495
|
+
"uint",
|
496
|
+
"ulong",
|
497
|
+
"unchecked",
|
498
|
+
"unsafe",
|
499
|
+
"ushort",
|
500
|
+
"using",
|
501
|
+
"var",
|
502
|
+
"virtual",
|
503
|
+
"volatile",
|
504
|
+
"void",
|
505
|
+
"when",
|
506
|
+
"while",
|
507
|
+
"where",
|
508
|
+
"yield",
|
509
|
+
"model",
|
510
|
+
"inject"
|
511
|
+
],
|
512
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
|
513
|
+
};
|
514
|
+
export {
|
515
|
+
T as conf,
|
516
|
+
S as language
|
517
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-4cce5e5d.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
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 s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,n=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of d(e))!p.call(t,r)&&r!==o&&s(t,r,{get:()=>e[r],enumerable:!(i=l(e,r))||i.enumerable});return t},h=(t,e,o)=>(n(t,e,"default"),o&&n(o,e,"default")),a={};h(a,c.monaco_editor_core_star);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.languages.IndentAction.Indent}}]},b={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};exports.conf=u;exports.language=b;
|
@@ -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={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},S={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}};exports.conf=E;exports.language=S;
|