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.
Files changed (155) hide show
  1. package/dist/abap-DfvySaIJ.js +1404 -0
  2. package/dist/apex-B__0irD3.js +332 -0
  3. package/dist/assets/css.worker-OK053IOu.js +84 -0
  4. package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
  5. package/dist/assets/html.worker-CL40hqKM.js +458 -0
  6. package/dist/assets/json.worker-6f9bhSHY.js +42 -0
  7. package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
  8. package/dist/azcli-CDMGhRmx.js +74 -0
  9. package/dist/bat-0Mk8aqzx.js +106 -0
  10. package/dist/bicep-BBi_I06Z.js +108 -0
  11. package/dist/cameligo-D0G_Zm6X.js +180 -0
  12. package/dist/clojure-o2ZKLeMp.js +767 -0
  13. package/dist/coffee-DOQff5VC.js +238 -0
  14. package/dist/cpp-CQGJnWhD.js +395 -0
  15. package/dist/csharp-C1jLsHl8.js +332 -0
  16. package/dist/csp-C_ttMQaW.js +59 -0
  17. package/dist/css-BC202kVV.js +193 -0
  18. package/dist/cssMode-D3INtz5D.js +1541 -0
  19. package/dist/cypher-DwtEH7Fi.js +269 -0
  20. package/dist/dart-D9XknsP2.js +287 -0
  21. package/dist/dockerfile-DgsNjqqa.js +136 -0
  22. package/dist/ecl-BAMCHBl6.js +462 -0
  23. package/dist/elixir-CegIttP8.js +575 -0
  24. package/dist/favicon.ico +0 -0
  25. package/dist/flow9-9608t7UV.js +148 -0
  26. package/dist/freemarker2-hasIzj0A.js +995 -0
  27. package/dist/fsharp-CCtt9-1_.js +223 -0
  28. package/dist/go-CGUIPbct.js +224 -0
  29. package/dist/graphql-BNRIFFIn.js +157 -0
  30. package/dist/handlebars-Cqza9dif.js +425 -0
  31. package/dist/hcl-C__KLIXe.js +189 -0
  32. package/dist/html-QpDlLWtS.js +314 -0
  33. package/dist/htmlMode-3p93KT8l.js +1551 -0
  34. package/dist/index2-jkDcibEo.js +120443 -0
  35. package/dist/ini-CeKYn_zA.js +77 -0
  36. package/dist/java-Dm24deQl.js +238 -0
  37. package/dist/javascript-CSPB5Brm.js +76 -0
  38. package/dist/jsonMode-qA6pURD0.js +1957 -0
  39. package/dist/julia-BImNW7VE.js +517 -0
  40. package/dist/kotlin-BfE79GEb.js +259 -0
  41. package/dist/less-DglNOcaC.js +168 -0
  42. package/dist/lexon-BA0dRz9Q.js +163 -0
  43. package/dist/liquid-BWuASSim.js +246 -0
  44. package/dist/lua-DMkWzJcm.js +168 -0
  45. package/dist/m3-sA-5shO8.js +216 -0
  46. package/dist/markdown-OYRB1igA.js +235 -0
  47. package/dist/mdx-CnHJXO9F.js +171 -0
  48. package/dist/mips-rRzkJ_7G.js +204 -0
  49. package/dist/msdax-DoVJdUhd.js +381 -0
  50. package/dist/mysql-Ty44IHXo.js +884 -0
  51. package/dist/objective-c-VUfyhYrA.js +189 -0
  52. package/dist/pascal-DkASiYyw.js +257 -0
  53. package/dist/pascaligo-p-ELPlVO.js +170 -0
  54. package/dist/perl-Cjl1FxLZ.js +632 -0
  55. package/dist/pgsql-DjVenF7s.js +857 -0
  56. package/dist/php-CwvGzZOO.js +506 -0
  57. package/dist/pla-Br1iaBIV.js +143 -0
  58. package/dist/postiats-BaeP8zZY.js +913 -0
  59. package/dist/powerquery-CLCshuo8.js +896 -0
  60. package/dist/powershell-CZV50w5N.js +245 -0
  61. package/dist/protobuf-MV3XTewJ.js +426 -0
  62. package/dist/pug-DkDg4c4l.js +408 -0
  63. package/dist/python-CRYsEVap.js +282 -0
  64. package/dist/qsharp-BAtiKA97.js +291 -0
  65. package/dist/r-8ocrd-h-.js +249 -0
  66. package/dist/razor-DyEtGntt.js +556 -0
  67. package/dist/redis-9sZiddxc.js +308 -0
  68. package/dist/redshift-DQfTOGC0.js +815 -0
  69. package/dist/restructuredtext-DXU-vkgr.js +180 -0
  70. package/dist/ruby-DotfqwMf.js +517 -0
  71. package/dist/rust-BIauJ5KN.js +349 -0
  72. package/dist/sb-CmWMvDEV.js +121 -0
  73. package/dist/scala-C81brEbk.js +376 -0
  74. package/dist/scheme-D0pcFz2x.js +114 -0
  75. package/dist/scss-BOdN2fGG.js +268 -0
  76. package/dist/shell-6E09eAkU.js +227 -0
  77. package/dist/solidity-CWStzA1K.js +1373 -0
  78. package/dist/sophia-76Sb6CWe.js +205 -0
  79. package/dist/sparql-BmZTkOWT.js +207 -0
  80. package/dist/sql-Cs9TBAW5.js +859 -0
  81. package/dist/st-B-rqE1Bu.js +422 -0
  82. package/dist/style.css +1 -0
  83. package/dist/sun-form-v3.es.js +4 -0
  84. package/dist/sun-form-v3.umd.js +1902 -0
  85. package/dist/swift-Btsj6YxQ.js +318 -0
  86. package/dist/systemverilog-B3RHBRa2.js +582 -0
  87. package/dist/tcl-Dpj776pn.js +238 -0
  88. package/dist/tsMode-BrlIPEQw.js +885 -0
  89. package/dist/twig-Bb9JmBsE.js +398 -0
  90. package/dist/typescript-CYTudnTM.js +349 -0
  91. package/dist/typespec-CDWeg3SU.js +123 -0
  92. package/dist/vb-DEXnYwEI.js +378 -0
  93. package/dist/wgsl-D602c1lx.js +445 -0
  94. package/dist/xml-B-x5164u.js +101 -0
  95. package/dist/yaml-Buq2hM65.js +212 -0
  96. package/package.json +7 -10
  97. package/src/App.vue +0 -9
  98. package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
  99. package/src/assets/font/demo.css +0 -539
  100. package/src/assets/font/demo_index.html +0 -1200
  101. package/src/assets/font/iconfont.css +0 -191
  102. package/src/assets/font/iconfont.js +0 -1
  103. package/src/assets/font/iconfont.json +0 -317
  104. package/src/assets/font/iconfont.ttf +0 -0
  105. package/src/assets/font/iconfont.woff +0 -0
  106. package/src/assets/font/iconfont.woff2 +0 -0
  107. package/src/assets/img/bg_footer.png +0 -0
  108. package/src/assets/img/bg_title.png +0 -0
  109. package/src/assets/img/file.png +0 -0
  110. package/src/assets/img/logo.png +0 -0
  111. package/src/assets/img/logo2.png +0 -0
  112. package/src/assets/img/logo22.png +0 -0
  113. package/src/assets/img/logo23.png +0 -0
  114. package/src/assets/img/logo3.png +0 -0
  115. package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
  116. package/src/assets/logo.svg +0 -1
  117. package/src/assets/styles/element/index.scss +0 -15
  118. package/src/assets/styles/index.css +0 -3
  119. package/src/components/a.js +0 -14
  120. package/src/components/aDesigner/config.vue +0 -127
  121. package/src/components/aDesigner/design.vue +0 -20
  122. package/src/components/aDesigner/index.vue +0 -144
  123. package/src/components/aDesigner/panel.vue +0 -144
  124. package/src/components/aDesigner/show.vue +0 -24
  125. package/src/components/widgetCommonComps/commonApiConfig/index.vue +0 -194
  126. package/src/components/widgetCommonComps/commonCard/index.vue +0 -36
  127. package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +0 -219
  128. package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +0 -68
  129. package/src/components/widgetCommonComps/commonCollapseCard/index.vue +0 -10
  130. package/src/components/widgetCommonComps/commonContainer/index.vue +0 -95
  131. package/src/components/widgetCommonComps/commonJsonInput/index.vue +0 -59
  132. package/src/components/widgetCommonComps/commonLabelContainer/index.vue +0 -39
  133. package/src/components/widgetCommonComps/commonSidetree/index.vue +0 -61
  134. package/src/components/widgetCommonComps/commonTypeInput/index.vue +0 -75
  135. package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +0 -55
  136. package/src/components/widgetCommonComps/index copy.js +0 -17
  137. package/src/components/widgetCommonComps/index.js +0 -17
  138. package/src/components/widgetConfigComps/config-input/index.vue +0 -60
  139. package/src/components/widgetConfigComps/index copy.js +0 -13
  140. package/src/components/widgetConfigComps/index.js +0 -17
  141. package/src/components/widgetShowComps/index.js +0 -29
  142. package/src/components/widgetShowComps/widget-form/index.vue +0 -43
  143. package/src/components/widgetShowComps/widget-homepage/index.vue +0 -41
  144. package/src/components/widgetShowComps/widget-input/index.vue +0 -85
  145. package/src/components/widgetShowComps/widget-select/index.vue +0 -31
  146. package/src/designer.js +0 -342
  147. package/src/http.js +0 -293
  148. package/src/index.js +0 -24
  149. package/src/index2.js +0 -23
  150. package/src/main.js +0 -19
  151. package/src/remark.js +0 -708
  152. package/src/testBtn.vue +0 -11
  153. package/src/testInput.vue +0 -12
  154. package/src/util/jsformat.js +0 -568
  155. package/src/widgetConfig.js +0 -1112
@@ -0,0 +1,246 @@
1
+ import { m as l } from "./index2-jkDcibEo.js";
2
+ /*!-----------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Version: 0.49.0(383fdf3fc0e1e1a024068b8d0fd4f3dcbae74d04)
5
+ * Released under the MIT license
6
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
+ *-----------------------------------------------------------------------------*/
8
+ var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
9
+ if (e && typeof e == "object" || typeof e == "function")
10
+ for (let i of c(e))
11
+ !u.call(t, i) && i !== r && d(t, i, { get: () => e[i], enumerable: !(n = s(e, i)) || n.enumerable });
12
+ return t;
13
+ }, p = (t, e, r) => (m(t, e, "default"), r), o = {};
14
+ p(o, l);
15
+ var a = [
16
+ "area",
17
+ "base",
18
+ "br",
19
+ "col",
20
+ "embed",
21
+ "hr",
22
+ "img",
23
+ "input",
24
+ "keygen",
25
+ "link",
26
+ "menuitem",
27
+ "meta",
28
+ "param",
29
+ "source",
30
+ "track",
31
+ "wbr"
32
+ ], g = {
33
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
34
+ brackets: [
35
+ ["<!--", "-->"],
36
+ ["<", ">"],
37
+ ["{{", "}}"],
38
+ ["{%", "%}"],
39
+ ["{", "}"],
40
+ ["(", ")"]
41
+ ],
42
+ autoClosingPairs: [
43
+ { open: "{", close: "}" },
44
+ { open: "%", close: "%" },
45
+ { open: "[", close: "]" },
46
+ { open: "(", close: ")" },
47
+ { open: '"', close: '"' },
48
+ { open: "'", close: "'" }
49
+ ],
50
+ surroundingPairs: [
51
+ { open: "<", close: ">" },
52
+ { open: '"', close: '"' },
53
+ { open: "'", close: "'" }
54
+ ],
55
+ onEnterRules: [
56
+ {
57
+ beforeText: new RegExp(
58
+ `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
59
+ "i"
60
+ ),
61
+ afterText: /^<\/(\w[\w\d]*)\s*>$/i,
62
+ action: {
63
+ indentAction: o.languages.IndentAction.IndentOutdent
64
+ }
65
+ },
66
+ {
67
+ beforeText: new RegExp(
68
+ `<(?!(?:${a.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
69
+ "i"
70
+ ),
71
+ action: { indentAction: o.languages.IndentAction.Indent }
72
+ }
73
+ ]
74
+ }, _ = {
75
+ defaultToken: "",
76
+ tokenPostfix: "",
77
+ builtinTags: [
78
+ "if",
79
+ "else",
80
+ "elseif",
81
+ "endif",
82
+ "render",
83
+ "assign",
84
+ "capture",
85
+ "endcapture",
86
+ "case",
87
+ "endcase",
88
+ "comment",
89
+ "endcomment",
90
+ "cycle",
91
+ "decrement",
92
+ "for",
93
+ "endfor",
94
+ "include",
95
+ "increment",
96
+ "layout",
97
+ "raw",
98
+ "endraw",
99
+ "render",
100
+ "tablerow",
101
+ "endtablerow",
102
+ "unless",
103
+ "endunless"
104
+ ],
105
+ builtinFilters: [
106
+ "abs",
107
+ "append",
108
+ "at_least",
109
+ "at_most",
110
+ "capitalize",
111
+ "ceil",
112
+ "compact",
113
+ "date",
114
+ "default",
115
+ "divided_by",
116
+ "downcase",
117
+ "escape",
118
+ "escape_once",
119
+ "first",
120
+ "floor",
121
+ "join",
122
+ "json",
123
+ "last",
124
+ "lstrip",
125
+ "map",
126
+ "minus",
127
+ "modulo",
128
+ "newline_to_br",
129
+ "plus",
130
+ "prepend",
131
+ "remove",
132
+ "remove_first",
133
+ "replace",
134
+ "replace_first",
135
+ "reverse",
136
+ "round",
137
+ "rstrip",
138
+ "size",
139
+ "slice",
140
+ "sort",
141
+ "sort_natural",
142
+ "split",
143
+ "strip",
144
+ "strip_html",
145
+ "strip_newlines",
146
+ "times",
147
+ "truncate",
148
+ "truncatewords",
149
+ "uniq",
150
+ "upcase",
151
+ "url_decode",
152
+ "url_encode",
153
+ "where"
154
+ ],
155
+ constants: ["true", "false"],
156
+ operators: ["==", "!=", ">", "<", ">=", "<="],
157
+ symbol: /[=><!]+/,
158
+ identifier: /[a-zA-Z_][\w]*/,
159
+ tokenizer: {
160
+ root: [
161
+ [/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
162
+ [/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
163
+ [/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
164
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
165
+ [/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
166
+ [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
167
+ [/</, "delimiter.html"],
168
+ [/\{/, "delimiter.html"],
169
+ [/[^<{]+/]
170
+ // text
171
+ ],
172
+ comment: [
173
+ [/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
174
+ [/./, "comment.content.liquid"]
175
+ ],
176
+ otherTag: [
177
+ [
178
+ /\{\{/,
179
+ {
180
+ token: "@rematch",
181
+ switchTo: "@liquidState.otherTag"
182
+ }
183
+ ],
184
+ [
185
+ /\{\%/,
186
+ {
187
+ token: "@rematch",
188
+ switchTo: "@liquidState.otherTag"
189
+ }
190
+ ],
191
+ [/\/?>/, "delimiter.html", "@pop"],
192
+ [/"([^"]*)"/, "attribute.value"],
193
+ [/'([^']*)'/, "attribute.value"],
194
+ [/[\w\-]+/, "attribute.name"],
195
+ [/=/, "delimiter"],
196
+ [/[ \t\r\n]+/]
197
+ // whitespace
198
+ ],
199
+ liquidState: [
200
+ [/\{\{/, "delimiter.output.liquid"],
201
+ [/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
202
+ [/\{\%/, "delimiter.tag.liquid"],
203
+ [/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
204
+ [/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
205
+ { include: "liquidRoot" }
206
+ ],
207
+ liquidRaw: [
208
+ [/^(?!\{\%\s*endraw\s*\%\}).+/],
209
+ [/\{\%/, "delimiter.tag.liquid"],
210
+ [/@identifier/],
211
+ [/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
212
+ ],
213
+ liquidRoot: [
214
+ [/\d+(\.\d+)?/, "number.liquid"],
215
+ [/"[^"]*"/, "string.liquid"],
216
+ [/'[^']*'/, "string.liquid"],
217
+ [/\s+/],
218
+ [
219
+ /@symbol/,
220
+ {
221
+ cases: {
222
+ "@operators": "operator.liquid",
223
+ "@default": ""
224
+ }
225
+ }
226
+ ],
227
+ [/\./],
228
+ [
229
+ /@identifier/,
230
+ {
231
+ cases: {
232
+ "@constants": "keyword.liquid",
233
+ "@builtinFilters": "predefined.liquid",
234
+ "@builtinTags": "predefined.liquid",
235
+ "@default": "variable.liquid"
236
+ }
237
+ }
238
+ ],
239
+ [/[^}|%]/, "variable.liquid"]
240
+ ]
241
+ }
242
+ };
243
+ export {
244
+ g as conf,
245
+ _ as language
246
+ };
@@ -0,0 +1,168 @@
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
+ 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
+ }, o = {
32
+ defaultToken: "",
33
+ tokenPostfix: ".lua",
34
+ keywords: [
35
+ "and",
36
+ "break",
37
+ "do",
38
+ "else",
39
+ "elseif",
40
+ "end",
41
+ "false",
42
+ "for",
43
+ "function",
44
+ "goto",
45
+ "if",
46
+ "in",
47
+ "local",
48
+ "nil",
49
+ "not",
50
+ "or",
51
+ "repeat",
52
+ "return",
53
+ "then",
54
+ "true",
55
+ "until",
56
+ "while"
57
+ ],
58
+ brackets: [
59
+ { token: "delimiter.bracket", open: "{", close: "}" },
60
+ { token: "delimiter.array", open: "[", close: "]" },
61
+ { token: "delimiter.parenthesis", open: "(", close: ")" }
62
+ ],
63
+ operators: [
64
+ "+",
65
+ "-",
66
+ "*",
67
+ "/",
68
+ "%",
69
+ "^",
70
+ "#",
71
+ "==",
72
+ "~=",
73
+ "<=",
74
+ ">=",
75
+ "<",
76
+ ">",
77
+ "=",
78
+ ";",
79
+ ":",
80
+ ",",
81
+ ".",
82
+ "..",
83
+ "..."
84
+ ],
85
+ // we include these common regular expressions
86
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
87
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
88
+ // The main tokenizer for our languages
89
+ tokenizer: {
90
+ root: [
91
+ // identifiers and keywords
92
+ [
93
+ /[a-zA-Z_]\w*/,
94
+ {
95
+ cases: {
96
+ "@keywords": { token: "keyword.$0" },
97
+ "@default": "identifier"
98
+ }
99
+ }
100
+ ],
101
+ // whitespace
102
+ { include: "@whitespace" },
103
+ // keys
104
+ [/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["delimiter", "", "key", "", "delimiter"]],
105
+ [/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/, ["@brackets", "", "key", "", "delimiter"]],
106
+ // delimiters and operators
107
+ [/[{}()\[\]]/, "@brackets"],
108
+ [
109
+ /@symbols/,
110
+ {
111
+ cases: {
112
+ "@operators": "delimiter",
113
+ "@default": ""
114
+ }
115
+ }
116
+ ],
117
+ // numbers
118
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
119
+ [/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
120
+ [/\d+?/, "number"],
121
+ // delimiter: after number because of .\d floats
122
+ [/[;,.]/, "delimiter"],
123
+ // strings: recover on non-terminated strings
124
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
125
+ // non-teminated string
126
+ [/'([^'\\]|\\.)*$/, "string.invalid"],
127
+ // non-teminated string
128
+ [/"/, "string", '@string."'],
129
+ [/'/, "string", "@string.'"]
130
+ ],
131
+ whitespace: [
132
+ [/[ \t\r\n]+/, ""],
133
+ [/--\[([=]*)\[/, "comment", "@comment.$1"],
134
+ [/--.*$/, "comment"]
135
+ ],
136
+ comment: [
137
+ [/[^\]]+/, "comment"],
138
+ [
139
+ /\]([=]*)\]/,
140
+ {
141
+ cases: {
142
+ "$1==$S2": { token: "comment", next: "@pop" },
143
+ "@default": "comment"
144
+ }
145
+ }
146
+ ],
147
+ [/./, "comment"]
148
+ ],
149
+ string: [
150
+ [/[^\\"']+/, "string"],
151
+ [/@escapes/, "string.escape"],
152
+ [/\\./, "string.escape.invalid"],
153
+ [
154
+ /["']/,
155
+ {
156
+ cases: {
157
+ "$#==$S2": { token: "string", next: "@pop" },
158
+ "@default": "string"
159
+ }
160
+ }
161
+ ]
162
+ ]
163
+ }
164
+ };
165
+ export {
166
+ e as conf,
167
+ o as language
168
+ };
@@ -0,0 +1,216 @@
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
+ comments: {
9
+ blockComment: ["(*", "*)"]
10
+ },
11
+ brackets: [
12
+ ["{", "}"],
13
+ ["[", "]"],
14
+ ["(", ")"]
15
+ ],
16
+ autoClosingPairs: [
17
+ { open: "[", close: "]" },
18
+ { open: "{", close: "}" },
19
+ { open: "(", close: ")" },
20
+ { open: "(*", close: "*)" },
21
+ { open: "<*", close: "*>" },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] },
23
+ { open: '"', close: '"', notIn: ["string", "comment"] }
24
+ ]
25
+ }, o = {
26
+ defaultToken: "",
27
+ tokenPostfix: ".m3",
28
+ brackets: [
29
+ { token: "delimiter.curly", open: "{", close: "}" },
30
+ { token: "delimiter.parenthesis", open: "(", close: ")" },
31
+ { token: "delimiter.square", open: "[", close: "]" }
32
+ ],
33
+ keywords: [
34
+ "AND",
35
+ "ANY",
36
+ "ARRAY",
37
+ "AS",
38
+ "BEGIN",
39
+ "BITS",
40
+ "BRANDED",
41
+ "BY",
42
+ "CASE",
43
+ "CONST",
44
+ "DIV",
45
+ "DO",
46
+ "ELSE",
47
+ "ELSIF",
48
+ "END",
49
+ "EVAL",
50
+ "EXCEPT",
51
+ "EXCEPTION",
52
+ "EXIT",
53
+ "EXPORTS",
54
+ "FINALLY",
55
+ "FOR",
56
+ "FROM",
57
+ "GENERIC",
58
+ "IF",
59
+ "IMPORT",
60
+ "IN",
61
+ "INTERFACE",
62
+ "LOCK",
63
+ "LOOP",
64
+ "METHODS",
65
+ "MOD",
66
+ "MODULE",
67
+ "NOT",
68
+ "OBJECT",
69
+ "OF",
70
+ "OR",
71
+ "OVERRIDES",
72
+ "PROCEDURE",
73
+ "RAISE",
74
+ "RAISES",
75
+ "READONLY",
76
+ "RECORD",
77
+ "REF",
78
+ "REPEAT",
79
+ "RETURN",
80
+ "REVEAL",
81
+ "SET",
82
+ "THEN",
83
+ "TO",
84
+ "TRY",
85
+ "TYPE",
86
+ "TYPECASE",
87
+ "UNSAFE",
88
+ "UNTIL",
89
+ "UNTRACED",
90
+ "VALUE",
91
+ "VAR",
92
+ "WHILE",
93
+ "WITH"
94
+ ],
95
+ reservedConstNames: [
96
+ "ABS",
97
+ "ADR",
98
+ "ADRSIZE",
99
+ "BITSIZE",
100
+ "BYTESIZE",
101
+ "CEILING",
102
+ "DEC",
103
+ "DISPOSE",
104
+ "FALSE",
105
+ "FIRST",
106
+ "FLOAT",
107
+ "FLOOR",
108
+ "INC",
109
+ "ISTYPE",
110
+ "LAST",
111
+ "LOOPHOLE",
112
+ "MAX",
113
+ "MIN",
114
+ "NARROW",
115
+ "NEW",
116
+ "NIL",
117
+ "NUMBER",
118
+ "ORD",
119
+ "ROUND",
120
+ "SUBARRAY",
121
+ "TRUE",
122
+ "TRUNC",
123
+ "TYPECODE",
124
+ "VAL"
125
+ ],
126
+ reservedTypeNames: [
127
+ "ADDRESS",
128
+ "ANY",
129
+ "BOOLEAN",
130
+ "CARDINAL",
131
+ "CHAR",
132
+ "EXTENDED",
133
+ "INTEGER",
134
+ "LONGCARD",
135
+ "LONGINT",
136
+ "LONGREAL",
137
+ "MUTEX",
138
+ "NULL",
139
+ "REAL",
140
+ "REFANY",
141
+ "ROOT",
142
+ "TEXT"
143
+ ],
144
+ operators: ["+", "-", "*", "/", "&", "^", "."],
145
+ relations: ["=", "#", "<", "<=", ">", ">=", "<:", ":"],
146
+ delimiters: ["|", "..", "=>", ",", ";", ":="],
147
+ symbols: /[>=<#.,:;+\-*/&^]+/,
148
+ escapes: /\\(?:[\\fnrt"']|[0-7]{3})/,
149
+ tokenizer: {
150
+ root: [
151
+ // Identifiers and keywords
152
+ [/_\w*/, "invalid"],
153
+ [
154
+ /[a-zA-Z][a-zA-Z0-9_]*/,
155
+ {
156
+ cases: {
157
+ "@keywords": { token: "keyword.$0" },
158
+ "@reservedConstNames": { token: "constant.reserved.$0" },
159
+ "@reservedTypeNames": { token: "type.reserved.$0" },
160
+ "@default": "identifier"
161
+ }
162
+ }
163
+ ],
164
+ // Whitespace
165
+ { include: "@whitespace" },
166
+ [/[{}()\[\]]/, "@brackets"],
167
+ // Integer- and real literals
168
+ [/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/, "number.float"],
169
+ [/[0-9]+(?:\_[0-9a-fA-F]+)?L?/, "number"],
170
+ // Operators, relations, and delimiters
171
+ [
172
+ /@symbols/,
173
+ {
174
+ cases: {
175
+ "@operators": "operators",
176
+ "@relations": "operators",
177
+ "@delimiters": "delimiter",
178
+ "@default": "invalid"
179
+ }
180
+ }
181
+ ],
182
+ // Character literals
183
+ [/'[^\\']'/, "string.char"],
184
+ [/(')(@escapes)(')/, ["string.char", "string.escape", "string.char"]],
185
+ [/'/, "invalid"],
186
+ // Text literals
187
+ [/"([^"\\]|\\.)*$/, "invalid"],
188
+ [/"/, "string.text", "@text"]
189
+ ],
190
+ text: [
191
+ [/[^\\"]+/, "string.text"],
192
+ [/@escapes/, "string.escape"],
193
+ [/\\./, "invalid"],
194
+ [/"/, "string.text", "@pop"]
195
+ ],
196
+ comment: [
197
+ [/\(\*/, "comment", "@push"],
198
+ [/\*\)/, "comment", "@pop"],
199
+ [/./, "comment"]
200
+ ],
201
+ pragma: [
202
+ [/<\*/, "keyword.pragma", "@push"],
203
+ [/\*>/, "keyword.pragma", "@pop"],
204
+ [/./, "keyword.pragma"]
205
+ ],
206
+ whitespace: [
207
+ [/[ \t\r\n]+/, "white"],
208
+ [/\(\*/, "comment", "@comment"],
209
+ [/<\*/, "keyword.pragma", "@pragma"]
210
+ ]
211
+ }
212
+ };
213
+ export {
214
+ e as conf,
215
+ o as language
216
+ };