@covalent/components 8.14.1 → 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.js +1 -1
- package/icon-button-toggle.mjs +6 -5
- 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
package/pug-6fab415a.mjs
ADDED
@@ -0,0 +1,393 @@
|
|
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
|
+
},
|
11
|
+
brackets: [
|
12
|
+
["{", "}"],
|
13
|
+
["[", "]"],
|
14
|
+
["(", ")"]
|
15
|
+
],
|
16
|
+
autoClosingPairs: [
|
17
|
+
{ open: '"', close: '"', notIn: ["string", "comment"] },
|
18
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
19
|
+
{ open: "{", close: "}", notIn: ["string", "comment"] },
|
20
|
+
{ open: "[", close: "]", notIn: ["string", "comment"] },
|
21
|
+
{ open: "(", close: ")", notIn: ["string", "comment"] }
|
22
|
+
],
|
23
|
+
folding: {
|
24
|
+
offSide: !0
|
25
|
+
}
|
26
|
+
}, t = {
|
27
|
+
defaultToken: "",
|
28
|
+
tokenPostfix: ".pug",
|
29
|
+
ignoreCase: !0,
|
30
|
+
brackets: [
|
31
|
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
32
|
+
{ token: "delimiter.array", open: "[", close: "]" },
|
33
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" }
|
34
|
+
],
|
35
|
+
keywords: [
|
36
|
+
"append",
|
37
|
+
"block",
|
38
|
+
"case",
|
39
|
+
"default",
|
40
|
+
"doctype",
|
41
|
+
"each",
|
42
|
+
"else",
|
43
|
+
"extends",
|
44
|
+
"for",
|
45
|
+
"if",
|
46
|
+
"in",
|
47
|
+
"include",
|
48
|
+
"mixin",
|
49
|
+
"typeof",
|
50
|
+
"unless",
|
51
|
+
"var",
|
52
|
+
"when"
|
53
|
+
],
|
54
|
+
tags: [
|
55
|
+
"a",
|
56
|
+
"abbr",
|
57
|
+
"acronym",
|
58
|
+
"address",
|
59
|
+
"area",
|
60
|
+
"article",
|
61
|
+
"aside",
|
62
|
+
"audio",
|
63
|
+
"b",
|
64
|
+
"base",
|
65
|
+
"basefont",
|
66
|
+
"bdi",
|
67
|
+
"bdo",
|
68
|
+
"blockquote",
|
69
|
+
"body",
|
70
|
+
"br",
|
71
|
+
"button",
|
72
|
+
"canvas",
|
73
|
+
"caption",
|
74
|
+
"center",
|
75
|
+
"cite",
|
76
|
+
"code",
|
77
|
+
"col",
|
78
|
+
"colgroup",
|
79
|
+
"command",
|
80
|
+
"datalist",
|
81
|
+
"dd",
|
82
|
+
"del",
|
83
|
+
"details",
|
84
|
+
"dfn",
|
85
|
+
"div",
|
86
|
+
"dl",
|
87
|
+
"dt",
|
88
|
+
"em",
|
89
|
+
"embed",
|
90
|
+
"fieldset",
|
91
|
+
"figcaption",
|
92
|
+
"figure",
|
93
|
+
"font",
|
94
|
+
"footer",
|
95
|
+
"form",
|
96
|
+
"frame",
|
97
|
+
"frameset",
|
98
|
+
"h1",
|
99
|
+
"h2",
|
100
|
+
"h3",
|
101
|
+
"h4",
|
102
|
+
"h5",
|
103
|
+
"h6",
|
104
|
+
"head",
|
105
|
+
"header",
|
106
|
+
"hgroup",
|
107
|
+
"hr",
|
108
|
+
"html",
|
109
|
+
"i",
|
110
|
+
"iframe",
|
111
|
+
"img",
|
112
|
+
"input",
|
113
|
+
"ins",
|
114
|
+
"keygen",
|
115
|
+
"kbd",
|
116
|
+
"label",
|
117
|
+
"li",
|
118
|
+
"link",
|
119
|
+
"map",
|
120
|
+
"mark",
|
121
|
+
"menu",
|
122
|
+
"meta",
|
123
|
+
"meter",
|
124
|
+
"nav",
|
125
|
+
"noframes",
|
126
|
+
"noscript",
|
127
|
+
"object",
|
128
|
+
"ol",
|
129
|
+
"optgroup",
|
130
|
+
"option",
|
131
|
+
"output",
|
132
|
+
"p",
|
133
|
+
"param",
|
134
|
+
"pre",
|
135
|
+
"progress",
|
136
|
+
"q",
|
137
|
+
"rp",
|
138
|
+
"rt",
|
139
|
+
"ruby",
|
140
|
+
"s",
|
141
|
+
"samp",
|
142
|
+
"script",
|
143
|
+
"section",
|
144
|
+
"select",
|
145
|
+
"small",
|
146
|
+
"source",
|
147
|
+
"span",
|
148
|
+
"strike",
|
149
|
+
"strong",
|
150
|
+
"style",
|
151
|
+
"sub",
|
152
|
+
"summary",
|
153
|
+
"sup",
|
154
|
+
"table",
|
155
|
+
"tbody",
|
156
|
+
"td",
|
157
|
+
"textarea",
|
158
|
+
"tfoot",
|
159
|
+
"th",
|
160
|
+
"thead",
|
161
|
+
"time",
|
162
|
+
"title",
|
163
|
+
"tr",
|
164
|
+
"tracks",
|
165
|
+
"tt",
|
166
|
+
"u",
|
167
|
+
"ul",
|
168
|
+
"video",
|
169
|
+
"wbr"
|
170
|
+
],
|
171
|
+
symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
|
172
|
+
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
173
|
+
tokenizer: {
|
174
|
+
root: [
|
175
|
+
[
|
176
|
+
/^(\s*)([a-zA-Z_-][\w-]*)/,
|
177
|
+
{
|
178
|
+
cases: {
|
179
|
+
"$2@tags": {
|
180
|
+
cases: {
|
181
|
+
"@eos": ["", "tag"],
|
182
|
+
"@default": ["", { token: "tag", next: "@tag.$1" }]
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"$2@keywords": ["", { token: "keyword.$2" }],
|
186
|
+
"@default": ["", ""]
|
187
|
+
}
|
188
|
+
}
|
189
|
+
],
|
190
|
+
[
|
191
|
+
/^(\s*)(#[a-zA-Z_-][\w-]*)/,
|
192
|
+
{
|
193
|
+
cases: {
|
194
|
+
"@eos": ["", "tag.id"],
|
195
|
+
"@default": ["", { token: "tag.id", next: "@tag.$1" }]
|
196
|
+
}
|
197
|
+
}
|
198
|
+
],
|
199
|
+
[
|
200
|
+
/^(\s*)(\.[a-zA-Z_-][\w-]*)/,
|
201
|
+
{
|
202
|
+
cases: {
|
203
|
+
"@eos": ["", "tag.class"],
|
204
|
+
"@default": ["", { token: "tag.class", next: "@tag.$1" }]
|
205
|
+
}
|
206
|
+
}
|
207
|
+
],
|
208
|
+
[/^(\s*)(\|.*)$/, ""],
|
209
|
+
{ include: "@whitespace" },
|
210
|
+
[
|
211
|
+
/[a-zA-Z_$][\w$]*/,
|
212
|
+
{
|
213
|
+
cases: {
|
214
|
+
"@keywords": { token: "keyword.$0" },
|
215
|
+
"@default": ""
|
216
|
+
}
|
217
|
+
}
|
218
|
+
],
|
219
|
+
[/[{}()\[\]]/, "@brackets"],
|
220
|
+
[/@symbols/, "delimiter"],
|
221
|
+
[/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
222
|
+
[/\d+/, "number"],
|
223
|
+
[/"/, "string", '@string."'],
|
224
|
+
[/'/, "string", "@string.'"]
|
225
|
+
],
|
226
|
+
tag: [
|
227
|
+
[/(\.)(\s*$)/, [{ token: "delimiter", next: "@blockText.$S2." }, ""]],
|
228
|
+
[/\s+/, { token: "", next: "@simpleText" }],
|
229
|
+
[
|
230
|
+
/#[a-zA-Z_-][\w-]*/,
|
231
|
+
{
|
232
|
+
cases: {
|
233
|
+
"@eos": { token: "tag.id", next: "@pop" },
|
234
|
+
"@default": "tag.id"
|
235
|
+
}
|
236
|
+
}
|
237
|
+
],
|
238
|
+
[
|
239
|
+
/\.[a-zA-Z_-][\w-]*/,
|
240
|
+
{
|
241
|
+
cases: {
|
242
|
+
"@eos": { token: "tag.class", next: "@pop" },
|
243
|
+
"@default": "tag.class"
|
244
|
+
}
|
245
|
+
}
|
246
|
+
],
|
247
|
+
[/\(/, { token: "delimiter.parenthesis", next: "@attributeList" }]
|
248
|
+
],
|
249
|
+
simpleText: [
|
250
|
+
[/[^#]+$/, { token: "", next: "@popall" }],
|
251
|
+
[/[^#]+/, { token: "" }],
|
252
|
+
[
|
253
|
+
/(#{)([^}]*)(})/,
|
254
|
+
{
|
255
|
+
cases: {
|
256
|
+
"@eos": [
|
257
|
+
"interpolation.delimiter",
|
258
|
+
"interpolation",
|
259
|
+
{
|
260
|
+
token: "interpolation.delimiter",
|
261
|
+
next: "@popall"
|
262
|
+
}
|
263
|
+
],
|
264
|
+
"@default": ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]
|
265
|
+
}
|
266
|
+
}
|
267
|
+
],
|
268
|
+
[/#$/, { token: "", next: "@popall" }],
|
269
|
+
[/#/, ""]
|
270
|
+
],
|
271
|
+
attributeList: [
|
272
|
+
[/\s+/, ""],
|
273
|
+
[
|
274
|
+
/(\w+)(\s*=\s*)("|')/,
|
275
|
+
["attribute.name", "delimiter", { token: "attribute.value", next: "@value.$3" }]
|
276
|
+
],
|
277
|
+
[/\w+/, "attribute.name"],
|
278
|
+
[
|
279
|
+
/,/,
|
280
|
+
{
|
281
|
+
cases: {
|
282
|
+
"@eos": {
|
283
|
+
token: "attribute.delimiter",
|
284
|
+
next: "@popall"
|
285
|
+
},
|
286
|
+
"@default": "attribute.delimiter"
|
287
|
+
}
|
288
|
+
}
|
289
|
+
],
|
290
|
+
[/\)$/, { token: "delimiter.parenthesis", next: "@popall" }],
|
291
|
+
[/\)/, { token: "delimiter.parenthesis", next: "@pop" }]
|
292
|
+
],
|
293
|
+
whitespace: [
|
294
|
+
[/^(\s*)(\/\/.*)$/, { token: "comment", next: "@blockText.$1.comment" }],
|
295
|
+
[/[ \t\r\n]+/, ""],
|
296
|
+
[/<!--/, { token: "comment", next: "@comment" }]
|
297
|
+
],
|
298
|
+
blockText: [
|
299
|
+
[
|
300
|
+
/^\s+.*$/,
|
301
|
+
{
|
302
|
+
cases: {
|
303
|
+
"($S2\\s+.*$)": { token: "$S3" },
|
304
|
+
"@default": { token: "@rematch", next: "@popall" }
|
305
|
+
}
|
306
|
+
}
|
307
|
+
],
|
308
|
+
[/./, { token: "@rematch", next: "@popall" }]
|
309
|
+
],
|
310
|
+
comment: [
|
311
|
+
[/[^<\-]+/, "comment.content"],
|
312
|
+
[/-->/, { token: "comment", next: "@pop" }],
|
313
|
+
[/<!--/, "comment.content.invalid"],
|
314
|
+
[/[<\-]/, "comment.content"]
|
315
|
+
],
|
316
|
+
string: [
|
317
|
+
[
|
318
|
+
/[^\\"'#]+/,
|
319
|
+
{
|
320
|
+
cases: {
|
321
|
+
"@eos": { token: "string", next: "@popall" },
|
322
|
+
"@default": "string"
|
323
|
+
}
|
324
|
+
}
|
325
|
+
],
|
326
|
+
[
|
327
|
+
/@escapes/,
|
328
|
+
{
|
329
|
+
cases: {
|
330
|
+
"@eos": { token: "string.escape", next: "@popall" },
|
331
|
+
"@default": "string.escape"
|
332
|
+
}
|
333
|
+
}
|
334
|
+
],
|
335
|
+
[
|
336
|
+
/\\./,
|
337
|
+
{
|
338
|
+
cases: {
|
339
|
+
"@eos": {
|
340
|
+
token: "string.escape.invalid",
|
341
|
+
next: "@popall"
|
342
|
+
},
|
343
|
+
"@default": "string.escape.invalid"
|
344
|
+
}
|
345
|
+
}
|
346
|
+
],
|
347
|
+
[/(#{)([^}]*)(})/, ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]],
|
348
|
+
[/#/, "string"],
|
349
|
+
[
|
350
|
+
/["']/,
|
351
|
+
{
|
352
|
+
cases: {
|
353
|
+
"$#==$S2": { token: "string", next: "@pop" },
|
354
|
+
"@default": { token: "string" }
|
355
|
+
}
|
356
|
+
}
|
357
|
+
]
|
358
|
+
],
|
359
|
+
value: [
|
360
|
+
[
|
361
|
+
/[^\\"']+/,
|
362
|
+
{
|
363
|
+
cases: {
|
364
|
+
"@eos": { token: "attribute.value", next: "@popall" },
|
365
|
+
"@default": "attribute.value"
|
366
|
+
}
|
367
|
+
}
|
368
|
+
],
|
369
|
+
[
|
370
|
+
/\\./,
|
371
|
+
{
|
372
|
+
cases: {
|
373
|
+
"@eos": { token: "attribute.value", next: "@popall" },
|
374
|
+
"@default": "attribute.value"
|
375
|
+
}
|
376
|
+
}
|
377
|
+
],
|
378
|
+
[
|
379
|
+
/["']/,
|
380
|
+
{
|
381
|
+
cases: {
|
382
|
+
"$#==$S2": { token: "attribute.value", next: "@pop" },
|
383
|
+
"@default": { token: "attribute.value" }
|
384
|
+
}
|
385
|
+
}
|
386
|
+
]
|
387
|
+
]
|
388
|
+
}
|
389
|
+
};
|
390
|
+
export {
|
391
|
+
e as conf,
|
392
|
+
t as language
|
393
|
+
};
|
package/pug-c5df821d.js
ADDED
@@ -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:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},t={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}};exports.conf=e;exports.language=t;
|
@@ -0,0 +1,264 @@
|
|
1
|
+
import { m as a } 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 l = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, s = (t, e, n, o) => {
|
14
|
+
if (e && typeof e == "object" || typeof e == "function")
|
15
|
+
for (let r of p(e))
|
16
|
+
!d.call(t, r) && r !== n && l(t, r, { get: () => e[r], enumerable: !(o = c(e, r)) || o.enumerable });
|
17
|
+
return t;
|
18
|
+
}, _ = (t, e, n) => (s(t, e, "default"), n && s(n, e, "default")), i = {};
|
19
|
+
_(i, a);
|
20
|
+
var w = {
|
21
|
+
comments: {
|
22
|
+
lineComment: "#",
|
23
|
+
blockComment: ["'''", "'''"]
|
24
|
+
},
|
25
|
+
brackets: [
|
26
|
+
["{", "}"],
|
27
|
+
["[", "]"],
|
28
|
+
["(", ")"]
|
29
|
+
],
|
30
|
+
autoClosingPairs: [
|
31
|
+
{ open: "{", close: "}" },
|
32
|
+
{ open: "[", close: "]" },
|
33
|
+
{ open: "(", close: ")" },
|
34
|
+
{ open: '"', close: '"', notIn: ["string"] },
|
35
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
36
|
+
],
|
37
|
+
surroundingPairs: [
|
38
|
+
{ open: "{", close: "}" },
|
39
|
+
{ open: "[", close: "]" },
|
40
|
+
{ open: "(", close: ")" },
|
41
|
+
{ open: '"', close: '"' },
|
42
|
+
{ open: "'", close: "'" }
|
43
|
+
],
|
44
|
+
onEnterRules: [
|
45
|
+
{
|
46
|
+
beforeText: new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),
|
47
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
48
|
+
}
|
49
|
+
],
|
50
|
+
folding: {
|
51
|
+
offSide: !0,
|
52
|
+
markers: {
|
53
|
+
start: new RegExp("^\\s*#region\\b"),
|
54
|
+
end: new RegExp("^\\s*#endregion\\b")
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}, h = {
|
58
|
+
defaultToken: "",
|
59
|
+
tokenPostfix: ".python",
|
60
|
+
keywords: [
|
61
|
+
"False",
|
62
|
+
"None",
|
63
|
+
"True",
|
64
|
+
"_",
|
65
|
+
"and",
|
66
|
+
"as",
|
67
|
+
"assert",
|
68
|
+
"async",
|
69
|
+
"await",
|
70
|
+
"break",
|
71
|
+
"case",
|
72
|
+
"class",
|
73
|
+
"continue",
|
74
|
+
"def",
|
75
|
+
"del",
|
76
|
+
"elif",
|
77
|
+
"else",
|
78
|
+
"except",
|
79
|
+
"exec",
|
80
|
+
"finally",
|
81
|
+
"for",
|
82
|
+
"from",
|
83
|
+
"global",
|
84
|
+
"if",
|
85
|
+
"import",
|
86
|
+
"in",
|
87
|
+
"is",
|
88
|
+
"lambda",
|
89
|
+
"match",
|
90
|
+
"nonlocal",
|
91
|
+
"not",
|
92
|
+
"or",
|
93
|
+
"pass",
|
94
|
+
"print",
|
95
|
+
"raise",
|
96
|
+
"return",
|
97
|
+
"try",
|
98
|
+
"while",
|
99
|
+
"with",
|
100
|
+
"yield",
|
101
|
+
"int",
|
102
|
+
"float",
|
103
|
+
"long",
|
104
|
+
"complex",
|
105
|
+
"hex",
|
106
|
+
"abs",
|
107
|
+
"all",
|
108
|
+
"any",
|
109
|
+
"apply",
|
110
|
+
"basestring",
|
111
|
+
"bin",
|
112
|
+
"bool",
|
113
|
+
"buffer",
|
114
|
+
"bytearray",
|
115
|
+
"callable",
|
116
|
+
"chr",
|
117
|
+
"classmethod",
|
118
|
+
"cmp",
|
119
|
+
"coerce",
|
120
|
+
"compile",
|
121
|
+
"complex",
|
122
|
+
"delattr",
|
123
|
+
"dict",
|
124
|
+
"dir",
|
125
|
+
"divmod",
|
126
|
+
"enumerate",
|
127
|
+
"eval",
|
128
|
+
"execfile",
|
129
|
+
"file",
|
130
|
+
"filter",
|
131
|
+
"format",
|
132
|
+
"frozenset",
|
133
|
+
"getattr",
|
134
|
+
"globals",
|
135
|
+
"hasattr",
|
136
|
+
"hash",
|
137
|
+
"help",
|
138
|
+
"id",
|
139
|
+
"input",
|
140
|
+
"intern",
|
141
|
+
"isinstance",
|
142
|
+
"issubclass",
|
143
|
+
"iter",
|
144
|
+
"len",
|
145
|
+
"locals",
|
146
|
+
"list",
|
147
|
+
"map",
|
148
|
+
"max",
|
149
|
+
"memoryview",
|
150
|
+
"min",
|
151
|
+
"next",
|
152
|
+
"object",
|
153
|
+
"oct",
|
154
|
+
"open",
|
155
|
+
"ord",
|
156
|
+
"pow",
|
157
|
+
"print",
|
158
|
+
"property",
|
159
|
+
"reversed",
|
160
|
+
"range",
|
161
|
+
"raw_input",
|
162
|
+
"reduce",
|
163
|
+
"reload",
|
164
|
+
"repr",
|
165
|
+
"reversed",
|
166
|
+
"round",
|
167
|
+
"self",
|
168
|
+
"set",
|
169
|
+
"setattr",
|
170
|
+
"slice",
|
171
|
+
"sorted",
|
172
|
+
"staticmethod",
|
173
|
+
"str",
|
174
|
+
"sum",
|
175
|
+
"super",
|
176
|
+
"tuple",
|
177
|
+
"type",
|
178
|
+
"unichr",
|
179
|
+
"unicode",
|
180
|
+
"vars",
|
181
|
+
"xrange",
|
182
|
+
"zip",
|
183
|
+
"__dict__",
|
184
|
+
"__methods__",
|
185
|
+
"__members__",
|
186
|
+
"__class__",
|
187
|
+
"__bases__",
|
188
|
+
"__name__",
|
189
|
+
"__mro__",
|
190
|
+
"__subclasses__",
|
191
|
+
"__init__",
|
192
|
+
"__import__"
|
193
|
+
],
|
194
|
+
brackets: [
|
195
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
196
|
+
{ open: "[", close: "]", token: "delimiter.bracket" },
|
197
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
198
|
+
],
|
199
|
+
tokenizer: {
|
200
|
+
root: [
|
201
|
+
{ include: "@whitespace" },
|
202
|
+
{ include: "@numbers" },
|
203
|
+
{ include: "@strings" },
|
204
|
+
[/[,:;]/, "delimiter"],
|
205
|
+
[/[{}\[\]()]/, "@brackets"],
|
206
|
+
[/@[a-zA-Z_]\w*/, "tag"],
|
207
|
+
[
|
208
|
+
/[a-zA-Z_]\w*/,
|
209
|
+
{
|
210
|
+
cases: {
|
211
|
+
"@keywords": "keyword",
|
212
|
+
"@default": "identifier"
|
213
|
+
}
|
214
|
+
}
|
215
|
+
]
|
216
|
+
],
|
217
|
+
whitespace: [
|
218
|
+
[/\s+/, "white"],
|
219
|
+
[/(^#.*$)/, "comment"],
|
220
|
+
[/'''/, "string", "@endDocString"],
|
221
|
+
[/"""/, "string", "@endDblDocString"]
|
222
|
+
],
|
223
|
+
endDocString: [
|
224
|
+
[/[^']+/, "string"],
|
225
|
+
[/\\'/, "string"],
|
226
|
+
[/'''/, "string", "@popall"],
|
227
|
+
[/'/, "string"]
|
228
|
+
],
|
229
|
+
endDblDocString: [
|
230
|
+
[/[^"]+/, "string"],
|
231
|
+
[/\\"/, "string"],
|
232
|
+
[/"""/, "string", "@popall"],
|
233
|
+
[/"/, "string"]
|
234
|
+
],
|
235
|
+
numbers: [
|
236
|
+
[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
|
237
|
+
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
|
238
|
+
],
|
239
|
+
strings: [
|
240
|
+
[/'$/, "string.escape", "@popall"],
|
241
|
+
[/'/, "string.escape", "@stringBody"],
|
242
|
+
[/"$/, "string.escape", "@popall"],
|
243
|
+
[/"/, "string.escape", "@dblStringBody"]
|
244
|
+
],
|
245
|
+
stringBody: [
|
246
|
+
[/[^\\']+$/, "string", "@popall"],
|
247
|
+
[/[^\\']+/, "string"],
|
248
|
+
[/\\./, "string"],
|
249
|
+
[/'/, "string.escape", "@popall"],
|
250
|
+
[/\\$/, "string"]
|
251
|
+
],
|
252
|
+
dblStringBody: [
|
253
|
+
[/[^\\"]+$/, "string", "@popall"],
|
254
|
+
[/[^\\"]+/, "string"],
|
255
|
+
[/\\./, "string"],
|
256
|
+
[/"/, "string.escape", "@popall"],
|
257
|
+
[/\\$/, "string"]
|
258
|
+
]
|
259
|
+
}
|
260
|
+
};
|
261
|
+
export {
|
262
|
+
w as conf,
|
263
|
+
h as language
|
264
|
+
};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=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 l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(r,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of p(e))!d.call(r,t)&&t!==n&&l(r,t,{get:()=>e[t],enumerable:!(s=c(e,t))||s.enumerable});return r},g=(r,e,n)=>(o(r,e,"default"),n&&o(n,e,"default")),i={};g(i,a.monaco_editor_core_star);var _={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},u={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};exports.conf=_;exports.language=u;
|