sun-form-v3 1.0.71 → 1.0.72
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/abap-DfvySaIJ.js +1404 -0
- package/dist/apex-B__0irD3.js +332 -0
- package/dist/assets/css.worker-OK053IOu.js +84 -0
- package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
- package/dist/assets/html.worker-CL40hqKM.js +458 -0
- package/dist/assets/json.worker-6f9bhSHY.js +42 -0
- package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
- package/dist/azcli-CDMGhRmx.js +74 -0
- package/dist/bat-0Mk8aqzx.js +106 -0
- package/dist/bicep-BBi_I06Z.js +108 -0
- package/dist/cameligo-D0G_Zm6X.js +180 -0
- package/dist/clojure-o2ZKLeMp.js +767 -0
- package/dist/coffee-DOQff5VC.js +238 -0
- package/dist/cpp-CQGJnWhD.js +395 -0
- package/dist/csharp-C1jLsHl8.js +332 -0
- package/dist/csp-C_ttMQaW.js +59 -0
- package/dist/css-BC202kVV.js +193 -0
- package/dist/cssMode-D3INtz5D.js +1541 -0
- package/dist/cypher-DwtEH7Fi.js +269 -0
- package/dist/dart-D9XknsP2.js +287 -0
- package/dist/dockerfile-DgsNjqqa.js +136 -0
- package/dist/ecl-BAMCHBl6.js +462 -0
- package/dist/elixir-CegIttP8.js +575 -0
- package/dist/favicon.ico +0 -0
- package/dist/flow9-9608t7UV.js +148 -0
- package/dist/freemarker2-hasIzj0A.js +995 -0
- package/dist/fsharp-CCtt9-1_.js +223 -0
- package/dist/go-CGUIPbct.js +224 -0
- package/dist/graphql-BNRIFFIn.js +157 -0
- package/dist/handlebars-Cqza9dif.js +425 -0
- package/dist/hcl-C__KLIXe.js +189 -0
- package/dist/html-QpDlLWtS.js +314 -0
- package/dist/htmlMode-3p93KT8l.js +1551 -0
- package/dist/index2-jkDcibEo.js +120443 -0
- package/dist/ini-CeKYn_zA.js +77 -0
- package/dist/java-Dm24deQl.js +238 -0
- package/dist/javascript-CSPB5Brm.js +76 -0
- package/dist/jsonMode-qA6pURD0.js +1957 -0
- package/dist/julia-BImNW7VE.js +517 -0
- package/dist/kotlin-BfE79GEb.js +259 -0
- package/dist/less-DglNOcaC.js +168 -0
- package/dist/lexon-BA0dRz9Q.js +163 -0
- package/dist/liquid-BWuASSim.js +246 -0
- package/dist/lua-DMkWzJcm.js +168 -0
- package/dist/m3-sA-5shO8.js +216 -0
- package/dist/markdown-OYRB1igA.js +235 -0
- package/dist/mdx-CnHJXO9F.js +171 -0
- package/dist/mips-rRzkJ_7G.js +204 -0
- package/dist/msdax-DoVJdUhd.js +381 -0
- package/dist/mysql-Ty44IHXo.js +884 -0
- package/dist/objective-c-VUfyhYrA.js +189 -0
- package/dist/pascal-DkASiYyw.js +257 -0
- package/dist/pascaligo-p-ELPlVO.js +170 -0
- package/dist/perl-Cjl1FxLZ.js +632 -0
- package/dist/pgsql-DjVenF7s.js +857 -0
- package/dist/php-CwvGzZOO.js +506 -0
- package/dist/pla-Br1iaBIV.js +143 -0
- package/dist/postiats-BaeP8zZY.js +913 -0
- package/dist/powerquery-CLCshuo8.js +896 -0
- package/dist/powershell-CZV50w5N.js +245 -0
- package/dist/protobuf-MV3XTewJ.js +426 -0
- package/dist/pug-DkDg4c4l.js +408 -0
- package/dist/python-CRYsEVap.js +282 -0
- package/dist/qsharp-BAtiKA97.js +291 -0
- package/dist/r-8ocrd-h-.js +249 -0
- package/dist/razor-DyEtGntt.js +556 -0
- package/dist/redis-9sZiddxc.js +308 -0
- package/dist/redshift-DQfTOGC0.js +815 -0
- package/dist/restructuredtext-DXU-vkgr.js +180 -0
- package/dist/ruby-DotfqwMf.js +517 -0
- package/dist/rust-BIauJ5KN.js +349 -0
- package/dist/sb-CmWMvDEV.js +121 -0
- package/dist/scala-C81brEbk.js +376 -0
- package/dist/scheme-D0pcFz2x.js +114 -0
- package/dist/scss-BOdN2fGG.js +268 -0
- package/dist/shell-6E09eAkU.js +227 -0
- package/dist/solidity-CWStzA1K.js +1373 -0
- package/dist/sophia-76Sb6CWe.js +205 -0
- package/dist/sparql-BmZTkOWT.js +207 -0
- package/dist/sql-Cs9TBAW5.js +859 -0
- package/dist/st-B-rqE1Bu.js +422 -0
- package/dist/style.css +1 -0
- package/dist/sun-form-v3.es.js +4 -0
- package/dist/sun-form-v3.umd.js +1902 -0
- package/dist/swift-Btsj6YxQ.js +318 -0
- package/dist/systemverilog-B3RHBRa2.js +582 -0
- package/dist/tcl-Dpj776pn.js +238 -0
- package/dist/tsMode-BrlIPEQw.js +885 -0
- package/dist/twig-Bb9JmBsE.js +398 -0
- package/dist/typescript-CYTudnTM.js +349 -0
- package/dist/typespec-CDWeg3SU.js +123 -0
- package/dist/vb-DEXnYwEI.js +378 -0
- package/dist/wgsl-D602c1lx.js +445 -0
- package/dist/xml-B-x5164u.js +101 -0
- package/dist/yaml-Buq2hM65.js +212 -0
- package/package.json +7 -10
- package/src/App.vue +0 -9
- package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
- package/src/assets/font/demo.css +0 -539
- package/src/assets/font/demo_index.html +0 -1200
- package/src/assets/font/iconfont.css +0 -191
- package/src/assets/font/iconfont.js +0 -1
- package/src/assets/font/iconfont.json +0 -317
- package/src/assets/font/iconfont.ttf +0 -0
- package/src/assets/font/iconfont.woff +0 -0
- package/src/assets/font/iconfont.woff2 +0 -0
- package/src/assets/img/bg_footer.png +0 -0
- package/src/assets/img/bg_title.png +0 -0
- package/src/assets/img/file.png +0 -0
- package/src/assets/img/logo.png +0 -0
- package/src/assets/img/logo2.png +0 -0
- package/src/assets/img/logo22.png +0 -0
- package/src/assets/img/logo23.png +0 -0
- package/src/assets/img/logo3.png +0 -0
- package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
- package/src/assets/logo.svg +0 -1
- package/src/assets/styles/element/index.scss +0 -15
- package/src/assets/styles/index.css +0 -3
- package/src/components/a.js +0 -14
- package/src/components/aDesigner/config.vue +0 -127
- package/src/components/aDesigner/design.vue +0 -20
- package/src/components/aDesigner/index.vue +0 -144
- package/src/components/aDesigner/panel.vue +0 -144
- package/src/components/aDesigner/show.vue +0 -24
- package/src/components/widgetCommonComps/commonApiConfig/index.vue +0 -194
- package/src/components/widgetCommonComps/commonCard/index.vue +0 -36
- package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +0 -219
- package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +0 -68
- package/src/components/widgetCommonComps/commonCollapseCard/index.vue +0 -10
- package/src/components/widgetCommonComps/commonContainer/index.vue +0 -95
- package/src/components/widgetCommonComps/commonJsonInput/index.vue +0 -59
- package/src/components/widgetCommonComps/commonLabelContainer/index.vue +0 -39
- package/src/components/widgetCommonComps/commonSidetree/index.vue +0 -61
- package/src/components/widgetCommonComps/commonTypeInput/index.vue +0 -75
- package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +0 -55
- package/src/components/widgetCommonComps/index copy.js +0 -17
- package/src/components/widgetCommonComps/index.js +0 -17
- package/src/components/widgetConfigComps/config-input/index.vue +0 -60
- package/src/components/widgetConfigComps/index copy.js +0 -13
- package/src/components/widgetConfigComps/index.js +0 -17
- package/src/components/widgetShowComps/index.js +0 -29
- package/src/components/widgetShowComps/widget-form/index.vue +0 -43
- package/src/components/widgetShowComps/widget-homepage/index.vue +0 -41
- package/src/components/widgetShowComps/widget-input/index.vue +0 -85
- package/src/components/widgetShowComps/widget-select/index.vue +0 -31
- package/src/designer.js +0 -342
- package/src/http.js +0 -293
- package/src/index.js +0 -24
- package/src/index2.js +0 -23
- package/src/main.js +0 -19
- package/src/remark.js +0 -708
- package/src/testBtn.vue +0 -11
- package/src/testInput.vue +0 -12
- package/src/util/jsformat.js +0 -568
- package/src/widgetConfig.js +0 -1112
@@ -0,0 +1,238 @@
|
|
1
|
+
/*!-----------------------------------------------------------------------------
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
* Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
|
4
|
+
* Released under the MIT license
|
5
|
+
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
6
|
+
*-----------------------------------------------------------------------------*/
|
7
|
+
var e = {
|
8
|
+
brackets: [
|
9
|
+
["{", "}"],
|
10
|
+
["[", "]"],
|
11
|
+
["(", ")"]
|
12
|
+
],
|
13
|
+
autoClosingPairs: [
|
14
|
+
{ open: "{", close: "}" },
|
15
|
+
{ open: "[", close: "]" },
|
16
|
+
{ open: "(", close: ")" },
|
17
|
+
{ open: '"', close: '"' },
|
18
|
+
{ open: "'", close: "'" }
|
19
|
+
],
|
20
|
+
surroundingPairs: [
|
21
|
+
{ open: "{", close: "}" },
|
22
|
+
{ open: "[", close: "]" },
|
23
|
+
{ open: "(", close: ")" },
|
24
|
+
{ open: '"', close: '"' },
|
25
|
+
{ open: "'", close: "'" }
|
26
|
+
]
|
27
|
+
}, t = {
|
28
|
+
tokenPostfix: ".tcl",
|
29
|
+
specialFunctions: [
|
30
|
+
"set",
|
31
|
+
"unset",
|
32
|
+
"rename",
|
33
|
+
"variable",
|
34
|
+
"proc",
|
35
|
+
"coroutine",
|
36
|
+
"foreach",
|
37
|
+
"incr",
|
38
|
+
"append",
|
39
|
+
"lappend",
|
40
|
+
"linsert",
|
41
|
+
"lreplace"
|
42
|
+
],
|
43
|
+
mainFunctions: [
|
44
|
+
"if",
|
45
|
+
"then",
|
46
|
+
"elseif",
|
47
|
+
"else",
|
48
|
+
"case",
|
49
|
+
"switch",
|
50
|
+
"while",
|
51
|
+
"for",
|
52
|
+
"break",
|
53
|
+
"continue",
|
54
|
+
"return",
|
55
|
+
"package",
|
56
|
+
"namespace",
|
57
|
+
"catch",
|
58
|
+
"exit",
|
59
|
+
"eval",
|
60
|
+
"expr",
|
61
|
+
"uplevel",
|
62
|
+
"upvar"
|
63
|
+
],
|
64
|
+
builtinFunctions: [
|
65
|
+
"file",
|
66
|
+
"info",
|
67
|
+
"concat",
|
68
|
+
"join",
|
69
|
+
"lindex",
|
70
|
+
"list",
|
71
|
+
"llength",
|
72
|
+
"lrange",
|
73
|
+
"lsearch",
|
74
|
+
"lsort",
|
75
|
+
"split",
|
76
|
+
"array",
|
77
|
+
"parray",
|
78
|
+
"binary",
|
79
|
+
"format",
|
80
|
+
"regexp",
|
81
|
+
"regsub",
|
82
|
+
"scan",
|
83
|
+
"string",
|
84
|
+
"subst",
|
85
|
+
"dict",
|
86
|
+
"cd",
|
87
|
+
"clock",
|
88
|
+
"exec",
|
89
|
+
"glob",
|
90
|
+
"pid",
|
91
|
+
"pwd",
|
92
|
+
"close",
|
93
|
+
"eof",
|
94
|
+
"fblocked",
|
95
|
+
"fconfigure",
|
96
|
+
"fcopy",
|
97
|
+
"fileevent",
|
98
|
+
"flush",
|
99
|
+
"gets",
|
100
|
+
"open",
|
101
|
+
"puts",
|
102
|
+
"read",
|
103
|
+
"seek",
|
104
|
+
"socket",
|
105
|
+
"tell",
|
106
|
+
"interp",
|
107
|
+
"after",
|
108
|
+
"auto_execok",
|
109
|
+
"auto_load",
|
110
|
+
"auto_mkindex",
|
111
|
+
"auto_reset",
|
112
|
+
"bgerror",
|
113
|
+
"error",
|
114
|
+
"global",
|
115
|
+
"history",
|
116
|
+
"load",
|
117
|
+
"source",
|
118
|
+
"time",
|
119
|
+
"trace",
|
120
|
+
"unknown",
|
121
|
+
"unset",
|
122
|
+
"update",
|
123
|
+
"vwait",
|
124
|
+
"winfo",
|
125
|
+
"wm",
|
126
|
+
"bind",
|
127
|
+
"event",
|
128
|
+
"pack",
|
129
|
+
"place",
|
130
|
+
"grid",
|
131
|
+
"font",
|
132
|
+
"bell",
|
133
|
+
"clipboard",
|
134
|
+
"destroy",
|
135
|
+
"focus",
|
136
|
+
"grab",
|
137
|
+
"lower",
|
138
|
+
"option",
|
139
|
+
"raise",
|
140
|
+
"selection",
|
141
|
+
"send",
|
142
|
+
"tk",
|
143
|
+
"tkwait",
|
144
|
+
"tk_bisque",
|
145
|
+
"tk_focusNext",
|
146
|
+
"tk_focusPrev",
|
147
|
+
"tk_focusFollowsMouse",
|
148
|
+
"tk_popup",
|
149
|
+
"tk_setPalette"
|
150
|
+
],
|
151
|
+
symbols: /[=><!~?:&|+\-*\/\^%]+/,
|
152
|
+
brackets: [
|
153
|
+
{ open: "(", close: ")", token: "delimiter.parenthesis" },
|
154
|
+
{ open: "{", close: "}", token: "delimiter.curly" },
|
155
|
+
{ open: "[", close: "]", token: "delimiter.square" }
|
156
|
+
],
|
157
|
+
escapes: /\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
158
|
+
variables: /(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,
|
159
|
+
tokenizer: {
|
160
|
+
root: [
|
161
|
+
// identifiers and keywords
|
162
|
+
[
|
163
|
+
/[a-zA-Z_]\w*/,
|
164
|
+
{
|
165
|
+
cases: {
|
166
|
+
"@specialFunctions": {
|
167
|
+
token: "keyword.flow",
|
168
|
+
next: "@specialFunc"
|
169
|
+
},
|
170
|
+
"@mainFunctions": "keyword",
|
171
|
+
"@builtinFunctions": "variable",
|
172
|
+
"@default": "operator.scss"
|
173
|
+
}
|
174
|
+
}
|
175
|
+
],
|
176
|
+
[/\s+\-+(?!\d|\.)\w*|{\*}/, "metatag"],
|
177
|
+
// whitespace
|
178
|
+
{ include: "@whitespace" },
|
179
|
+
// delimiters and operators
|
180
|
+
[/[{}()\[\]]/, "@brackets"],
|
181
|
+
[/@symbols/, "operator"],
|
182
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
183
|
+
[/@variables/, "type.identifier"],
|
184
|
+
[/\.(?!\d|\.)[\w\-]*/, "operator.sql"],
|
185
|
+
// numbers
|
186
|
+
[/\d+(\.\d+)?/, "number"],
|
187
|
+
[/\d+/, "number"],
|
188
|
+
// delimiter
|
189
|
+
[/;/, "delimiter"],
|
190
|
+
// strings
|
191
|
+
[/"/, { token: "string.quote", bracket: "@open", next: "@dstring" }],
|
192
|
+
[/'/, { token: "string.quote", bracket: "@open", next: "@sstring" }]
|
193
|
+
],
|
194
|
+
dstring: [
|
195
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
196
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
197
|
+
[/@variables/, "type.identifier"],
|
198
|
+
[/[^\\$\[\]"]+/, "string"],
|
199
|
+
[/@escapes/, "string.escape"],
|
200
|
+
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
201
|
+
],
|
202
|
+
sstring: [
|
203
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
204
|
+
[/\$+(?:\:\:)?\{/, { token: "identifier", next: "@nestedVariable" }],
|
205
|
+
[/@variables/, "type.identifier"],
|
206
|
+
[/[^\\$\[\]']+/, "string"],
|
207
|
+
[/@escapes/, "string.escape"],
|
208
|
+
[/'/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
209
|
+
],
|
210
|
+
whitespace: [
|
211
|
+
[/[ \t\r\n]+/, "white"],
|
212
|
+
[/#.*\\$/, { token: "comment", next: "@newlineComment" }],
|
213
|
+
[/#.*(?!\\)$/, "comment"]
|
214
|
+
],
|
215
|
+
newlineComment: [
|
216
|
+
[/.*\\$/, "comment"],
|
217
|
+
[/.*(?!\\)$/, { token: "comment", next: "@pop" }]
|
218
|
+
],
|
219
|
+
nestedVariable: [
|
220
|
+
[/[^\{\}\$]+/, "type.identifier"],
|
221
|
+
[/\}/, { token: "identifier", next: "@pop" }]
|
222
|
+
],
|
223
|
+
nestedCall: [
|
224
|
+
[/\[/, { token: "@brackets", next: "@nestedCall" }],
|
225
|
+
[/\]/, { token: "@brackets", next: "@pop" }],
|
226
|
+
{ include: "root" }
|
227
|
+
],
|
228
|
+
specialFunc: [
|
229
|
+
[/"/, { token: "string", next: "@dstring" }],
|
230
|
+
[/'/, { token: "string", next: "@sstring" }],
|
231
|
+
[/\S+/, { token: "type", next: "@pop" }]
|
232
|
+
]
|
233
|
+
}
|
234
|
+
};
|
235
|
+
export {
|
236
|
+
e as conf,
|
237
|
+
t as language
|
238
|
+
};
|