@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,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],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=e;exports.language=n;
|
@@ -0,0 +1,188 @@
|
|
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
|
+
}, n = {
|
32
|
+
defaultToken: "",
|
33
|
+
tokenPostfix: ".objective-c",
|
34
|
+
keywords: [
|
35
|
+
"#import",
|
36
|
+
"#include",
|
37
|
+
"#define",
|
38
|
+
"#else",
|
39
|
+
"#endif",
|
40
|
+
"#if",
|
41
|
+
"#ifdef",
|
42
|
+
"#ifndef",
|
43
|
+
"#ident",
|
44
|
+
"#undef",
|
45
|
+
"@class",
|
46
|
+
"@defs",
|
47
|
+
"@dynamic",
|
48
|
+
"@encode",
|
49
|
+
"@end",
|
50
|
+
"@implementation",
|
51
|
+
"@interface",
|
52
|
+
"@package",
|
53
|
+
"@private",
|
54
|
+
"@protected",
|
55
|
+
"@property",
|
56
|
+
"@protocol",
|
57
|
+
"@public",
|
58
|
+
"@selector",
|
59
|
+
"@synthesize",
|
60
|
+
"__declspec",
|
61
|
+
"assign",
|
62
|
+
"auto",
|
63
|
+
"BOOL",
|
64
|
+
"break",
|
65
|
+
"bycopy",
|
66
|
+
"byref",
|
67
|
+
"case",
|
68
|
+
"char",
|
69
|
+
"Class",
|
70
|
+
"const",
|
71
|
+
"copy",
|
72
|
+
"continue",
|
73
|
+
"default",
|
74
|
+
"do",
|
75
|
+
"double",
|
76
|
+
"else",
|
77
|
+
"enum",
|
78
|
+
"extern",
|
79
|
+
"FALSE",
|
80
|
+
"false",
|
81
|
+
"float",
|
82
|
+
"for",
|
83
|
+
"goto",
|
84
|
+
"if",
|
85
|
+
"in",
|
86
|
+
"int",
|
87
|
+
"id",
|
88
|
+
"inout",
|
89
|
+
"IMP",
|
90
|
+
"long",
|
91
|
+
"nil",
|
92
|
+
"nonatomic",
|
93
|
+
"NULL",
|
94
|
+
"oneway",
|
95
|
+
"out",
|
96
|
+
"private",
|
97
|
+
"public",
|
98
|
+
"protected",
|
99
|
+
"readwrite",
|
100
|
+
"readonly",
|
101
|
+
"register",
|
102
|
+
"return",
|
103
|
+
"SEL",
|
104
|
+
"self",
|
105
|
+
"short",
|
106
|
+
"signed",
|
107
|
+
"sizeof",
|
108
|
+
"static",
|
109
|
+
"struct",
|
110
|
+
"super",
|
111
|
+
"switch",
|
112
|
+
"typedef",
|
113
|
+
"TRUE",
|
114
|
+
"true",
|
115
|
+
"union",
|
116
|
+
"unsigned",
|
117
|
+
"volatile",
|
118
|
+
"void",
|
119
|
+
"while"
|
120
|
+
],
|
121
|
+
decpart: /\d(_?\d)*/,
|
122
|
+
decimal: /0|@decpart/,
|
123
|
+
tokenizer: {
|
124
|
+
root: [
|
125
|
+
{ include: "@comments" },
|
126
|
+
{ include: "@whitespace" },
|
127
|
+
{ include: "@numbers" },
|
128
|
+
{ include: "@strings" },
|
129
|
+
[/[,:;]/, "delimiter"],
|
130
|
+
[/[{}\[\]()<>]/, "@brackets"],
|
131
|
+
[
|
132
|
+
/[a-zA-Z@#]\w*/,
|
133
|
+
{
|
134
|
+
cases: {
|
135
|
+
"@keywords": "keyword",
|
136
|
+
"@default": "identifier"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
],
|
140
|
+
[/[<>=\\+\\-\\*\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/, "operator"]
|
141
|
+
],
|
142
|
+
whitespace: [[/\s+/, "white"]],
|
143
|
+
comments: [
|
144
|
+
["\\/\\*", "comment", "@comment"],
|
145
|
+
["\\/\\/+.*", "comment"]
|
146
|
+
],
|
147
|
+
comment: [
|
148
|
+
["\\*\\/", "comment", "@pop"],
|
149
|
+
[".", "comment"]
|
150
|
+
],
|
151
|
+
numbers: [
|
152
|
+
[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/, "number.hex"],
|
153
|
+
[
|
154
|
+
/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,
|
155
|
+
{
|
156
|
+
cases: {
|
157
|
+
"(\\d)*": "number",
|
158
|
+
$0: "number.float"
|
159
|
+
}
|
160
|
+
}
|
161
|
+
]
|
162
|
+
],
|
163
|
+
strings: [
|
164
|
+
[/'$/, "string.escape", "@popall"],
|
165
|
+
[/'/, "string.escape", "@stringBody"],
|
166
|
+
[/"$/, "string.escape", "@popall"],
|
167
|
+
[/"/, "string.escape", "@dblStringBody"]
|
168
|
+
],
|
169
|
+
stringBody: [
|
170
|
+
[/[^\\']+$/, "string", "@popall"],
|
171
|
+
[/[^\\']+/, "string"],
|
172
|
+
[/\\./, "string"],
|
173
|
+
[/'/, "string.escape", "@popall"],
|
174
|
+
[/\\$/, "string"]
|
175
|
+
],
|
176
|
+
dblStringBody: [
|
177
|
+
[/[^\\"]+$/, "string", "@popall"],
|
178
|
+
[/[^\\"]+/, "string"],
|
179
|
+
[/\\./, "string"],
|
180
|
+
[/"/, "string.escape", "@popall"],
|
181
|
+
[/\\$/, "string"]
|
182
|
+
]
|
183
|
+
}
|
184
|
+
};
|
185
|
+
export {
|
186
|
+
e as conf,
|
187
|
+
n as language
|
188
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.15.0-beta.1",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
@@ -41,6 +41,11 @@
|
|
41
41
|
"import": "./button.mjs",
|
42
42
|
"require": "./button.js"
|
43
43
|
},
|
44
|
+
"./cell": {
|
45
|
+
"types": "./cell/cell.d.ts",
|
46
|
+
"import": "./cell.mjs",
|
47
|
+
"require": "./cell.js"
|
48
|
+
},
|
44
49
|
"./checkbox": {
|
45
50
|
"types": "./checkbox/checkbox.d.ts",
|
46
51
|
"import": "./checkbox.mjs",
|
@@ -66,6 +71,11 @@
|
|
66
71
|
"import": "./circular-progress.mjs",
|
67
72
|
"require": "./circular-progress.js"
|
68
73
|
},
|
74
|
+
"./code-editor": {
|
75
|
+
"types": "./code-editor/code-editor.d.ts",
|
76
|
+
"import": "./code-editor.mjs",
|
77
|
+
"require": "./code-editor.js"
|
78
|
+
},
|
69
79
|
"./code-snippet": {
|
70
80
|
"types": "./code-snippet/code-snippet.d.ts",
|
71
81
|
"import": "./code-snippet.mjs",
|
@@ -161,6 +171,11 @@
|
|
161
171
|
"import": "./menu.mjs",
|
162
172
|
"require": "./menu.js"
|
163
173
|
},
|
174
|
+
"./notebook": {
|
175
|
+
"types": "./notebook/notebook.d.ts",
|
176
|
+
"import": "./notebook.mjs",
|
177
|
+
"require": "./notebook.js"
|
178
|
+
},
|
164
179
|
"./radio": {
|
165
180
|
"types": "./radio/radio.d.ts",
|
166
181
|
"import": "./radio.mjs",
|
@@ -0,0 +1,245 @@
|
|
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
|
+
],
|
19
|
+
autoClosingPairs: [
|
20
|
+
{ open: "{", close: "}" },
|
21
|
+
{ open: "[", close: "]" },
|
22
|
+
{ open: "(", close: ")" },
|
23
|
+
{ open: "<", close: ">" },
|
24
|
+
{ open: "'", close: "'" }
|
25
|
+
],
|
26
|
+
surroundingPairs: [
|
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*\\{\\$REGION(\\s\\'.*\\')?\\}"),
|
36
|
+
end: new RegExp("^\\s*\\{\\$ENDREGION\\}")
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}, t = {
|
40
|
+
defaultToken: "",
|
41
|
+
tokenPostfix: ".pascal",
|
42
|
+
ignoreCase: !0,
|
43
|
+
brackets: [
|
44
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
45
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
46
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
47
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
48
|
+
],
|
49
|
+
keywords: [
|
50
|
+
"absolute",
|
51
|
+
"abstract",
|
52
|
+
"all",
|
53
|
+
"and_then",
|
54
|
+
"array",
|
55
|
+
"as",
|
56
|
+
"asm",
|
57
|
+
"attribute",
|
58
|
+
"begin",
|
59
|
+
"bindable",
|
60
|
+
"case",
|
61
|
+
"class",
|
62
|
+
"const",
|
63
|
+
"contains",
|
64
|
+
"default",
|
65
|
+
"div",
|
66
|
+
"else",
|
67
|
+
"end",
|
68
|
+
"except",
|
69
|
+
"exports",
|
70
|
+
"external",
|
71
|
+
"far",
|
72
|
+
"file",
|
73
|
+
"finalization",
|
74
|
+
"finally",
|
75
|
+
"forward",
|
76
|
+
"generic",
|
77
|
+
"goto",
|
78
|
+
"if",
|
79
|
+
"implements",
|
80
|
+
"import",
|
81
|
+
"in",
|
82
|
+
"index",
|
83
|
+
"inherited",
|
84
|
+
"initialization",
|
85
|
+
"interrupt",
|
86
|
+
"is",
|
87
|
+
"label",
|
88
|
+
"library",
|
89
|
+
"mod",
|
90
|
+
"module",
|
91
|
+
"name",
|
92
|
+
"near",
|
93
|
+
"not",
|
94
|
+
"object",
|
95
|
+
"of",
|
96
|
+
"on",
|
97
|
+
"only",
|
98
|
+
"operator",
|
99
|
+
"or_else",
|
100
|
+
"otherwise",
|
101
|
+
"override",
|
102
|
+
"package",
|
103
|
+
"packed",
|
104
|
+
"pow",
|
105
|
+
"private",
|
106
|
+
"program",
|
107
|
+
"protected",
|
108
|
+
"public",
|
109
|
+
"published",
|
110
|
+
"interface",
|
111
|
+
"implementation",
|
112
|
+
"qualified",
|
113
|
+
"read",
|
114
|
+
"record",
|
115
|
+
"resident",
|
116
|
+
"requires",
|
117
|
+
"resourcestring",
|
118
|
+
"restricted",
|
119
|
+
"segment",
|
120
|
+
"set",
|
121
|
+
"shl",
|
122
|
+
"shr",
|
123
|
+
"specialize",
|
124
|
+
"stored",
|
125
|
+
"strict",
|
126
|
+
"then",
|
127
|
+
"threadvar",
|
128
|
+
"to",
|
129
|
+
"try",
|
130
|
+
"type",
|
131
|
+
"unit",
|
132
|
+
"uses",
|
133
|
+
"var",
|
134
|
+
"view",
|
135
|
+
"virtual",
|
136
|
+
"dynamic",
|
137
|
+
"overload",
|
138
|
+
"reintroduce",
|
139
|
+
"with",
|
140
|
+
"write",
|
141
|
+
"xor",
|
142
|
+
"true",
|
143
|
+
"false",
|
144
|
+
"procedure",
|
145
|
+
"function",
|
146
|
+
"constructor",
|
147
|
+
"destructor",
|
148
|
+
"property",
|
149
|
+
"break",
|
150
|
+
"continue",
|
151
|
+
"exit",
|
152
|
+
"abort",
|
153
|
+
"while",
|
154
|
+
"do",
|
155
|
+
"for",
|
156
|
+
"raise",
|
157
|
+
"repeat",
|
158
|
+
"until"
|
159
|
+
],
|
160
|
+
typeKeywords: [
|
161
|
+
"boolean",
|
162
|
+
"double",
|
163
|
+
"byte",
|
164
|
+
"integer",
|
165
|
+
"shortint",
|
166
|
+
"char",
|
167
|
+
"longint",
|
168
|
+
"float",
|
169
|
+
"string"
|
170
|
+
],
|
171
|
+
operators: [
|
172
|
+
"=",
|
173
|
+
">",
|
174
|
+
"<",
|
175
|
+
"<=",
|
176
|
+
">=",
|
177
|
+
"<>",
|
178
|
+
":",
|
179
|
+
":=",
|
180
|
+
"and",
|
181
|
+
"or",
|
182
|
+
"+",
|
183
|
+
"-",
|
184
|
+
"*",
|
185
|
+
"/",
|
186
|
+
"@",
|
187
|
+
"&",
|
188
|
+
"^",
|
189
|
+
"%"
|
190
|
+
],
|
191
|
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
192
|
+
tokenizer: {
|
193
|
+
root: [
|
194
|
+
[
|
195
|
+
/[a-zA-Z_][\w]*/,
|
196
|
+
{
|
197
|
+
cases: {
|
198
|
+
"@keywords": { token: "keyword.$0" },
|
199
|
+
"@default": "identifier"
|
200
|
+
}
|
201
|
+
}
|
202
|
+
],
|
203
|
+
{ include: "@whitespace" },
|
204
|
+
[/[{}()\[\]]/, "@brackets"],
|
205
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
206
|
+
[
|
207
|
+
/@symbols/,
|
208
|
+
{
|
209
|
+
cases: {
|
210
|
+
"@operators": "delimiter",
|
211
|
+
"@default": ""
|
212
|
+
}
|
213
|
+
}
|
214
|
+
],
|
215
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
216
|
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
217
|
+
[/\d+/, "number"],
|
218
|
+
[/[;,.]/, "delimiter"],
|
219
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
220
|
+
[/'/, "string", "@string"],
|
221
|
+
[/'[^\\']'/, "string"],
|
222
|
+
[/'/, "string.invalid"],
|
223
|
+
[/\#\d+/, "string"]
|
224
|
+
],
|
225
|
+
comment: [
|
226
|
+
[/[^\*\}]+/, "comment"],
|
227
|
+
[/\}/, "comment", "@pop"],
|
228
|
+
[/[\{]/, "comment"]
|
229
|
+
],
|
230
|
+
string: [
|
231
|
+
[/[^\\']+/, "string"],
|
232
|
+
[/\\./, "string.escape.invalid"],
|
233
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
234
|
+
],
|
235
|
+
whitespace: [
|
236
|
+
[/[ \t\r\n]+/, "white"],
|
237
|
+
[/\{/, "comment", "@comment"],
|
238
|
+
[/\/\/.*$/, "comment"]
|
239
|
+
]
|
240
|
+
}
|
241
|
+
};
|
242
|
+
export {
|
243
|
+
e as conf,
|
244
|
+
t as language
|
245
|
+
};
|
@@ -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={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,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:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},t={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","strict","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};exports.conf=e;exports.language=t;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".pascaligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["begin","block","case","const","else","end","fail","for","from","function","if","is","nil","of","remove","return","skip","then","type","var","while","with","option","None","transaction"],typeKeywords:["bool","int","list","map","nat","record","string","unit","address","map","mtz","xtz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};exports.conf=e;exports.language=o;
|
@@ -0,0 +1,158 @@
|
|
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
|
+
],
|
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
|
+
]
|
32
|
+
}, o = {
|
33
|
+
defaultToken: "",
|
34
|
+
tokenPostfix: ".pascaligo",
|
35
|
+
ignoreCase: !0,
|
36
|
+
brackets: [
|
37
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
38
|
+
{ open: "[", close: "]", token: "delimiter.square" },
|
39
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
40
|
+
{ open: "<", close: ">", token: "delimiter.angle" }
|
41
|
+
],
|
42
|
+
keywords: [
|
43
|
+
"begin",
|
44
|
+
"block",
|
45
|
+
"case",
|
46
|
+
"const",
|
47
|
+
"else",
|
48
|
+
"end",
|
49
|
+
"fail",
|
50
|
+
"for",
|
51
|
+
"from",
|
52
|
+
"function",
|
53
|
+
"if",
|
54
|
+
"is",
|
55
|
+
"nil",
|
56
|
+
"of",
|
57
|
+
"remove",
|
58
|
+
"return",
|
59
|
+
"skip",
|
60
|
+
"then",
|
61
|
+
"type",
|
62
|
+
"var",
|
63
|
+
"while",
|
64
|
+
"with",
|
65
|
+
"option",
|
66
|
+
"None",
|
67
|
+
"transaction"
|
68
|
+
],
|
69
|
+
typeKeywords: [
|
70
|
+
"bool",
|
71
|
+
"int",
|
72
|
+
"list",
|
73
|
+
"map",
|
74
|
+
"nat",
|
75
|
+
"record",
|
76
|
+
"string",
|
77
|
+
"unit",
|
78
|
+
"address",
|
79
|
+
"map",
|
80
|
+
"mtz",
|
81
|
+
"xtz"
|
82
|
+
],
|
83
|
+
operators: [
|
84
|
+
"=",
|
85
|
+
">",
|
86
|
+
"<",
|
87
|
+
"<=",
|
88
|
+
">=",
|
89
|
+
"<>",
|
90
|
+
":",
|
91
|
+
":=",
|
92
|
+
"and",
|
93
|
+
"mod",
|
94
|
+
"or",
|
95
|
+
"+",
|
96
|
+
"-",
|
97
|
+
"*",
|
98
|
+
"/",
|
99
|
+
"@",
|
100
|
+
"&",
|
101
|
+
"^",
|
102
|
+
"%"
|
103
|
+
],
|
104
|
+
symbols: /[=><:@\^&|+\-*\/\^%]+/,
|
105
|
+
tokenizer: {
|
106
|
+
root: [
|
107
|
+
[
|
108
|
+
/[a-zA-Z_][\w]*/,
|
109
|
+
{
|
110
|
+
cases: {
|
111
|
+
"@keywords": { token: "keyword.$0" },
|
112
|
+
"@default": "identifier"
|
113
|
+
}
|
114
|
+
}
|
115
|
+
],
|
116
|
+
{ include: "@whitespace" },
|
117
|
+
[/[{}()\[\]]/, "@brackets"],
|
118
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
119
|
+
[
|
120
|
+
/@symbols/,
|
121
|
+
{
|
122
|
+
cases: {
|
123
|
+
"@operators": "delimiter",
|
124
|
+
"@default": ""
|
125
|
+
}
|
126
|
+
}
|
127
|
+
],
|
128
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
129
|
+
[/\$[0-9a-fA-F]{1,16}/, "number.hex"],
|
130
|
+
[/\d+/, "number"],
|
131
|
+
[/[;,.]/, "delimiter"],
|
132
|
+
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
133
|
+
[/'/, "string", "@string"],
|
134
|
+
[/'[^\\']'/, "string"],
|
135
|
+
[/'/, "string.invalid"],
|
136
|
+
[/\#\d+/, "string"]
|
137
|
+
],
|
138
|
+
comment: [
|
139
|
+
[/[^\(\*]+/, "comment"],
|
140
|
+
[/\*\)/, "comment", "@pop"],
|
141
|
+
[/\(\*/, "comment"]
|
142
|
+
],
|
143
|
+
string: [
|
144
|
+
[/[^\\']+/, "string"],
|
145
|
+
[/\\./, "string.escape.invalid"],
|
146
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
147
|
+
],
|
148
|
+
whitespace: [
|
149
|
+
[/[ \t\r\n]+/, "white"],
|
150
|
+
[/\(\*/, "comment", "@comment"],
|
151
|
+
[/\/\/.*$/, "comment"]
|
152
|
+
]
|
153
|
+
}
|
154
|
+
};
|
155
|
+
export {
|
156
|
+
e as conf,
|
157
|
+
o as language
|
158
|
+
};
|