@devtron-labs/devtron-fe-common-lib 1.1.6-beta-2 → 1.1.6-beta-4
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/dist/Common/CustomTagSelector/Types.d.ts +12 -0
- package/dist/Common/Types.d.ts +2 -1
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +161 -0
- package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
- package/dist/Shared/Components/MultipleResizableTextArea/MultipleResizableTextArea.d.ts +2 -0
- package/dist/Shared/Components/MultipleResizableTextArea/index.d.ts +2 -0
- package/dist/Shared/Components/MultipleResizableTextArea/types.d.ts +9 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -4
- package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +2 -0
- package/dist/Shared/Components/SelectTextArea/index.d.ts +2 -0
- package/dist/Shared/Components/SelectTextArea/types.d.ts +12 -0
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/abap-DttVK1gE.js +1314 -0
- package/dist/apex-BjfHvyb2.js +315 -0
- package/dist/assets/index.css +1 -0
- package/dist/azcli-Ws-Trf8e.js +74 -0
- package/dist/bat-CeCHpU9_.js +95 -0
- package/dist/bicep-C7a7aEmi.js +108 -0
- package/dist/cameligo-CJeEIvX4.js +168 -0
- package/dist/clojure-CEKXhLdU.js +754 -0
- package/dist/coffee-CKu3e6V1.js +228 -0
- package/dist/cpp-CvUiT5Ec.js +390 -0
- package/dist/csharp-PmU9HJkB.js +320 -0
- package/dist/csp-DULvRLPF.js +57 -0
- package/dist/css-CNWXQPpt.js +186 -0
- package/dist/cssMode--71rLUMi.js +1446 -0
- package/dist/cypher-CYHOQS2R.js +262 -0
- package/dist/dart-BjGx-9Jk.js +270 -0
- package/dist/dockerfile-D0WaVIZ2.js +132 -0
- package/dist/ecl-CijaJu-p.js +454 -0
- package/dist/elixir-BI5Tc37S.js +489 -0
- package/dist/flow9-BApGtQOO.js +141 -0
- package/dist/freemarker2-Cx3qG0cs.js +643 -0
- package/dist/fsharp-VeKgt2eG.js +210 -0
- package/dist/go-Cl8cKDlN.js +208 -0
- package/dist/graphql-PfgPBmj4.js +141 -0
- package/dist/handlebars-Bt2uqG8b.js +391 -0
- package/dist/hcl-CG4VZSkm.js +177 -0
- package/dist/html-DU7HWII4.js +281 -0
- package/dist/htmlMode-C_jemX66.js +1456 -0
- package/dist/index-DFjnZKpc.js +163879 -0
- package/dist/index.js +508 -505
- package/dist/ini-EhiBNPZF.js +68 -0
- package/dist/java-DPbnXhoY.js +221 -0
- package/dist/javascript-tR3wsqWc.js +75 -0
- package/dist/jsonMode-CPHJoMDt.js +1866 -0
- package/dist/julia-Bw7EYexg.js +496 -0
- package/dist/kotlin-BNXLDoV0.js +245 -0
- package/dist/less-DtuF_id_.js +168 -0
- package/dist/lexon-DpB0-37O.js +151 -0
- package/dist/liquid-Cp4TQ7hL.js +238 -0
- package/dist/lua-CzRNOk9S.js +157 -0
- package/dist/m3-pXPmDwal.js +210 -0
- package/dist/markdown-CeQ3rxjn.js +202 -0
- package/dist/mdx-DP3ktqo6.js +171 -0
- package/dist/mips-DyE0VSNz.js +194 -0
- package/dist/msdax-CbdkoqRa.js +377 -0
- package/dist/mysql-B86-uHNu.js +876 -0
- package/dist/objective-c-1xvkKPId.js +188 -0
- package/dist/pascal-DcyFhj80.js +245 -0
- package/dist/pascaligo-QnM0hvMG.js +158 -0
- package/dist/perl-Bqp3FbU4.js +599 -0
- package/dist/pgsql-HdG7BG_Z.js +847 -0
- package/dist/php-zf7L2p7t.js +471 -0
- package/dist/pla-3Ykqsyzl.js +131 -0
- package/dist/postiats-D1v08O4B.js +544 -0
- package/dist/powerquery-CiQ9b1-b.js +890 -0
- package/dist/powershell-DFNK6VaX.js +233 -0
- package/dist/protobuf-D5P2Z6tc.js +422 -0
- package/dist/pug-BeyMX5am.js +393 -0
- package/dist/python-7adrB-AP.js +259 -0
- package/dist/qsharp-DcFOTjuP.js +282 -0
- package/dist/r-B3aJPcWp.js +245 -0
- package/dist/razor-DgqIzp1R.js +512 -0
- package/dist/redis-CyC__Tub.js +298 -0
- package/dist/redshift-NqbcQPcY.js +806 -0
- package/dist/restructuredtext-CZMxBkap.js +162 -0
- package/dist/ruby-C_jEtDv5.js +444 -0
- package/dist/rust-WAeitMCC.js +337 -0
- package/dist/sb-CSBm2pED.js +110 -0
- package/dist/scala-D76PhKmh.js +353 -0
- package/dist/scheme-CBSAjRuO.js +114 -0
- package/dist/scss-BHY8wFFg.js +244 -0
- package/dist/shell-Cwju9_l8.js +224 -0
- package/dist/solidity-BV1-nze3.js +1351 -0
- package/dist/sophia-DfoUlGAs.js +190 -0
- package/dist/sparql-4kfArTtK.js +193 -0
- package/dist/sql-DIpn0HSX.js +818 -0
- package/dist/st-BgJ_KDZh.js +415 -0
- package/dist/swift-D-ucEgIi.js +315 -0
- package/dist/systemverilog-DjkH5zuo.js +556 -0
- package/dist/tcl-gd8XLKJA.js +232 -0
- package/dist/tsMode-DEn7IgUV.js +810 -0
- package/dist/twig-D5XtTFGM.js +323 -0
- package/dist/typescript-BIIti-S_.js +328 -0
- package/dist/vb-DYqqYAf3.js +364 -0
- package/dist/wgsl-CkZE0qf3.js +420 -0
- package/dist/xml-BTCrcRFQ.js +95 -0
- package/dist/yaml-7Qg03Fvh.js +184 -0
- package/package.json +5 -4
- package/dist/@code-editor-Vbkor1r4.js +0 -18991
- package/dist/@common-rjsf-6UM_zh8b.js +0 -567
- package/dist/@framer-motion-DHY98qq3.js +0 -3437
- package/dist/@moment-C_WeV3Af.js +0 -2609
- package/dist/@monaco-editor-34kqzg3G.js +0 -70451
- package/dist/@react-dates-WNnwjI5S.js +0 -7708
- package/dist/@react-select-BbR996pa.js +0 -2636
- package/dist/@src-assets-images-DamVa6cS.js +0 -14
- package/dist/@vendor-RU8AW1bK.js +0 -20473
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/@common-rjsf.css +0 -1
- package/dist/assets/@monaco-editor.css +0 -1
- package/dist/assets/@react-dates.css +0 -1
- package/dist/assets/@vendor.css +0 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
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
|
+
};
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
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,158 @@
|
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
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
|
+
};
|