@kong-ui-public/monaco-editor 0.3.0 → 0.3.1-pr.2622.ca1f578c8.0
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/package.json +1 -1
- package/dist/abap-CrvW7_qN.js +0 -1398
- package/dist/apex-BAOI8p1v.js +0 -327
- package/dist/assets/css.worker-Cb0JI69t.js +0 -93
- package/dist/assets/editor.worker-DzMH9hFo.js +0 -26
- package/dist/assets/html.worker-BNFZMwEc.js +0 -470
- package/dist/assets/json.worker-BCybXpia.js +0 -58
- package/dist/assets/ts.worker-DAVh1bw1.js +0 -67731
- package/dist/azcli-BlCk_UqW.js +0 -68
- package/dist/bat-DPoEelVx.js +0 -100
- package/dist/bicep-Cp1F394l.js +0 -102
- package/dist/cameligo-CWqtSlQs.js +0 -174
- package/dist/clojure-CKBp32Gf.js +0 -761
- package/dist/coffee-CDo6vc-J.js +0 -232
- package/dist/cpp-DokufPgf.js +0 -389
- package/dist/csharp-BQi3szM0.js +0 -326
- package/dist/csp-BSGtCCZ-.js +0 -53
- package/dist/css-DEPFDJfb.js +0 -187
- package/dist/cssMode-BoaW_8EY.js +0 -141
- package/dist/cypher-DAb1vOxS.js +0 -263
- package/dist/dart-C8p4jewR.js +0 -281
- package/dist/dockerfile-DP0iLFPN.js +0 -130
- package/dist/ecl-BDQHA6fi.js +0 -456
- package/dist/elixir-D4II6kDM.js +0 -569
- package/dist/flow9-StcnL-VB.js +0 -142
- package/dist/freemarker2-DLxAEbra.js +0 -982
- package/dist/fsharp-DdUVp3EN.js +0 -217
- package/dist/go-D1-I258M.js +0 -218
- package/dist/graphql-DWkL3f8U.js +0 -151
- package/dist/handlebars-H1fAc7pY.js +0 -412
- package/dist/hcl-D_0MNifv.js +0 -183
- package/dist/html-Bjh5RSoV.js +0 -301
- package/dist/htmlMode-XE4-FvOp.js +0 -152
- package/dist/index-BtAApC8Z.js +0 -129109
- package/dist/ini-C4I2-MT7.js +0 -71
- package/dist/java-OBvaP_SS.js +0 -232
- package/dist/javascript-BL-y8a3N.js +0 -70
- package/dist/jsonMode-BO164Oml.js +0 -569
- package/dist/julia-BmDH8Kkf.js +0 -511
- package/dist/kotlin-Dhu5AGOD.js +0 -252
- package/dist/less-CzmjXREq.js +0 -162
- package/dist/lexon-CV2c4pN9.js +0 -157
- package/dist/liquid-B4OW2xCW.js +0 -233
- package/dist/lspLanguageFeatures-CLOLvtro.js +0 -1458
- package/dist/lua-CFY5U8qF.js +0 -162
- package/dist/m3-BL_AnZVh.js +0 -210
- package/dist/markdown-CWKQPXCv.js +0 -229
- package/dist/mdx-BscoYQtT.js +0 -158
- package/dist/mips-ButYmJ5E.js +0 -198
- package/dist/monaco-editor.es.js +0 -5
- package/dist/monaco-editor.umd.js +0 -1234
- package/dist/msdax-C3cnXqDh.js +0 -375
- package/dist/mysql-YlSHaf6G.js +0 -878
- package/dist/objective-c-Dwnlproe.js +0 -183
- package/dist/pascal-UzGbSWEN.js +0 -251
- package/dist/pascaligo-CslTgu68.js +0 -164
- package/dist/perl-oj6r_mgw.js +0 -626
- package/dist/pgsql-DSBO0Mev.js +0 -851
- package/dist/php-YzCD--7j.js +0 -500
- package/dist/pla-CmylB8vQ.js +0 -137
- package/dist/postiats-CLFW5gNY.js +0 -907
- package/dist/powerquery-CmOWUvlh.js +0 -890
- package/dist/powershell-fHQcmBLK.js +0 -239
- package/dist/protobuf-p5BArb-9.js +0 -420
- package/dist/pug-gVdUDvqf.js +0 -402
- package/dist/python-CdwN88xa.js +0 -294
- package/dist/qsharp-DnrWSUlt.js +0 -301
- package/dist/r-Cv309K2z.js +0 -243
- package/dist/razor-BzIEQn-i.js +0 -543
- package/dist/redis-DTcS4wMj.js +0 -302
- package/dist/redshift-hLxZVESM.js +0 -809
- package/dist/restructuredtext-C898lK4f.js +0 -174
- package/dist/ruby-CgKtnJIQ.js +0 -511
- package/dist/rust-bj8oxVnh.js +0 -343
- package/dist/sb-DWynz26l.js +0 -115
- package/dist/scala-BL5z1UEd.js +0 -370
- package/dist/scheme-DUJsH6VU.js +0 -108
- package/dist/scss-CxjmhvaL.js +0 -262
- package/dist/shell-D14Zs1dF.js +0 -221
- package/dist/solidity-WyRm-BGK.js +0 -1367
- package/dist/sophia-CKk-_Oa5.js +0 -199
- package/dist/sparql-DHtmINMZ.js +0 -201
- package/dist/sql-Dqaj5JHC.js +0 -853
- package/dist/st-Bj2IIaop.js +0 -416
- package/dist/style.css +0 -1
- package/dist/swift-DwxP72iM.js +0 -312
- package/dist/systemverilog-D7wJfuql.js +0 -576
- package/dist/tcl-0ApMt-eC.js +0 -232
- package/dist/tsMode-Bm7Ao8a0.js +0 -946
- package/dist/twig-DxwbdmvQ.js +0 -392
- package/dist/types/components/MonacoEditor.vue.d.ts +0 -52
- package/dist/types/components/MonacoEditor.vue.d.ts.map +0 -1
- package/dist/types/components/MonacoEditorStatusOverlay.vue.d.ts +0 -19
- package/dist/types/components/MonacoEditorStatusOverlay.vue.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/composables/useMonacoEditor.d.ts +0 -25
- package/dist/types/composables/useMonacoEditor.d.ts.map +0 -1
- package/dist/types/constants/index.d.ts +0 -3
- package/dist/types/constants/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/tests/mocks/monaco-editor-api.d.ts +0 -2
- package/dist/types/tests/mocks/monaco-editor-api.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -69
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/typescript-xVL7xVgf.js +0 -336
- package/dist/typespec-Fd-JwSuS.js +0 -117
- package/dist/vb-CxuyYE1I.js +0 -372
- package/dist/wgsl-DoEGc31J.js +0 -439
- package/dist/xml-5AZvXygb.js +0 -88
- package/dist/yaml-BpKYQQZ4.js +0 -199
package/dist/liquid-B4OW2xCW.js
DELETED
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
import { l as e } from "./index-BtAApC8Z.js";
|
|
2
|
-
const t = [
|
|
3
|
-
"area",
|
|
4
|
-
"base",
|
|
5
|
-
"br",
|
|
6
|
-
"col",
|
|
7
|
-
"embed",
|
|
8
|
-
"hr",
|
|
9
|
-
"img",
|
|
10
|
-
"input",
|
|
11
|
-
"keygen",
|
|
12
|
-
"link",
|
|
13
|
-
"menuitem",
|
|
14
|
-
"meta",
|
|
15
|
-
"param",
|
|
16
|
-
"source",
|
|
17
|
-
"track",
|
|
18
|
-
"wbr"
|
|
19
|
-
], n = {
|
|
20
|
-
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
|
|
21
|
-
brackets: [
|
|
22
|
-
["<!--", "-->"],
|
|
23
|
-
["<", ">"],
|
|
24
|
-
["{{", "}}"],
|
|
25
|
-
["{%", "%}"],
|
|
26
|
-
["{", "}"],
|
|
27
|
-
["(", ")"]
|
|
28
|
-
],
|
|
29
|
-
autoClosingPairs: [
|
|
30
|
-
{ open: "{", close: "}" },
|
|
31
|
-
{ open: "%", close: "%" },
|
|
32
|
-
{ open: "[", close: "]" },
|
|
33
|
-
{ open: "(", close: ")" },
|
|
34
|
-
{ open: '"', close: '"' },
|
|
35
|
-
{ open: "'", close: "'" }
|
|
36
|
-
],
|
|
37
|
-
surroundingPairs: [
|
|
38
|
-
{ open: "<", close: ">" },
|
|
39
|
-
{ open: '"', close: '"' },
|
|
40
|
-
{ open: "'", close: "'" }
|
|
41
|
-
],
|
|
42
|
-
onEnterRules: [
|
|
43
|
-
{
|
|
44
|
-
beforeText: new RegExp(
|
|
45
|
-
`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
46
|
-
"i"
|
|
47
|
-
),
|
|
48
|
-
afterText: /^<\/(\w[\w\d]*)\s*>$/i,
|
|
49
|
-
action: {
|
|
50
|
-
indentAction: e.IndentAction.IndentOutdent
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
beforeText: new RegExp(
|
|
55
|
-
`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
|
|
56
|
-
"i"
|
|
57
|
-
),
|
|
58
|
-
action: { indentAction: e.IndentAction.Indent }
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}, o = {
|
|
62
|
-
defaultToken: "",
|
|
63
|
-
tokenPostfix: "",
|
|
64
|
-
builtinTags: [
|
|
65
|
-
"if",
|
|
66
|
-
"else",
|
|
67
|
-
"elseif",
|
|
68
|
-
"endif",
|
|
69
|
-
"render",
|
|
70
|
-
"assign",
|
|
71
|
-
"capture",
|
|
72
|
-
"endcapture",
|
|
73
|
-
"case",
|
|
74
|
-
"endcase",
|
|
75
|
-
"comment",
|
|
76
|
-
"endcomment",
|
|
77
|
-
"cycle",
|
|
78
|
-
"decrement",
|
|
79
|
-
"for",
|
|
80
|
-
"endfor",
|
|
81
|
-
"include",
|
|
82
|
-
"increment",
|
|
83
|
-
"layout",
|
|
84
|
-
"raw",
|
|
85
|
-
"endraw",
|
|
86
|
-
"render",
|
|
87
|
-
"tablerow",
|
|
88
|
-
"endtablerow",
|
|
89
|
-
"unless",
|
|
90
|
-
"endunless"
|
|
91
|
-
],
|
|
92
|
-
builtinFilters: [
|
|
93
|
-
"abs",
|
|
94
|
-
"append",
|
|
95
|
-
"at_least",
|
|
96
|
-
"at_most",
|
|
97
|
-
"capitalize",
|
|
98
|
-
"ceil",
|
|
99
|
-
"compact",
|
|
100
|
-
"date",
|
|
101
|
-
"default",
|
|
102
|
-
"divided_by",
|
|
103
|
-
"downcase",
|
|
104
|
-
"escape",
|
|
105
|
-
"escape_once",
|
|
106
|
-
"first",
|
|
107
|
-
"floor",
|
|
108
|
-
"join",
|
|
109
|
-
"json",
|
|
110
|
-
"last",
|
|
111
|
-
"lstrip",
|
|
112
|
-
"map",
|
|
113
|
-
"minus",
|
|
114
|
-
"modulo",
|
|
115
|
-
"newline_to_br",
|
|
116
|
-
"plus",
|
|
117
|
-
"prepend",
|
|
118
|
-
"remove",
|
|
119
|
-
"remove_first",
|
|
120
|
-
"replace",
|
|
121
|
-
"replace_first",
|
|
122
|
-
"reverse",
|
|
123
|
-
"round",
|
|
124
|
-
"rstrip",
|
|
125
|
-
"size",
|
|
126
|
-
"slice",
|
|
127
|
-
"sort",
|
|
128
|
-
"sort_natural",
|
|
129
|
-
"split",
|
|
130
|
-
"strip",
|
|
131
|
-
"strip_html",
|
|
132
|
-
"strip_newlines",
|
|
133
|
-
"times",
|
|
134
|
-
"truncate",
|
|
135
|
-
"truncatewords",
|
|
136
|
-
"uniq",
|
|
137
|
-
"upcase",
|
|
138
|
-
"url_decode",
|
|
139
|
-
"url_encode",
|
|
140
|
-
"where"
|
|
141
|
-
],
|
|
142
|
-
constants: ["true", "false"],
|
|
143
|
-
operators: ["==", "!=", ">", "<", ">=", "<="],
|
|
144
|
-
symbol: /[=><!]+/,
|
|
145
|
-
identifier: /[a-zA-Z_][\w]*/,
|
|
146
|
-
tokenizer: {
|
|
147
|
-
root: [
|
|
148
|
-
[/\{\%\s*comment\s*\%\}/, "comment.start.liquid", "@comment"],
|
|
149
|
-
[/\{\{/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
|
150
|
-
[/\{\%/, { token: "@rematch", switchTo: "@liquidState.root" }],
|
|
151
|
-
[/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
|
|
152
|
-
[/(<)([:\w]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
|
153
|
-
[/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
|
|
154
|
-
[/</, "delimiter.html"],
|
|
155
|
-
[/\{/, "delimiter.html"],
|
|
156
|
-
[/[^<{]+/]
|
|
157
|
-
// text
|
|
158
|
-
],
|
|
159
|
-
comment: [
|
|
160
|
-
[/\{\%\s*endcomment\s*\%\}/, "comment.end.liquid", "@pop"],
|
|
161
|
-
[/./, "comment.content.liquid"]
|
|
162
|
-
],
|
|
163
|
-
otherTag: [
|
|
164
|
-
[
|
|
165
|
-
/\{\{/,
|
|
166
|
-
{
|
|
167
|
-
token: "@rematch",
|
|
168
|
-
switchTo: "@liquidState.otherTag"
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
[
|
|
172
|
-
/\{\%/,
|
|
173
|
-
{
|
|
174
|
-
token: "@rematch",
|
|
175
|
-
switchTo: "@liquidState.otherTag"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
[/\/?>/, "delimiter.html", "@pop"],
|
|
179
|
-
[/"([^"]*)"/, "attribute.value"],
|
|
180
|
-
[/'([^']*)'/, "attribute.value"],
|
|
181
|
-
[/[\w\-]+/, "attribute.name"],
|
|
182
|
-
[/=/, "delimiter"],
|
|
183
|
-
[/[ \t\r\n]+/]
|
|
184
|
-
// whitespace
|
|
185
|
-
],
|
|
186
|
-
liquidState: [
|
|
187
|
-
[/\{\{/, "delimiter.output.liquid"],
|
|
188
|
-
[/\}\}/, { token: "delimiter.output.liquid", switchTo: "@$S2.$S3" }],
|
|
189
|
-
[/\{\%/, "delimiter.tag.liquid"],
|
|
190
|
-
[/raw\s*\%\}/, "delimiter.tag.liquid", "@liquidRaw"],
|
|
191
|
-
[/\%\}/, { token: "delimiter.tag.liquid", switchTo: "@$S2.$S3" }],
|
|
192
|
-
{ include: "liquidRoot" }
|
|
193
|
-
],
|
|
194
|
-
liquidRaw: [
|
|
195
|
-
[/^(?!\{\%\s*endraw\s*\%\}).+/],
|
|
196
|
-
[/\{\%/, "delimiter.tag.liquid"],
|
|
197
|
-
[/@identifier/],
|
|
198
|
-
[/\%\}/, { token: "delimiter.tag.liquid", next: "@root" }]
|
|
199
|
-
],
|
|
200
|
-
liquidRoot: [
|
|
201
|
-
[/\d+(\.\d+)?/, "number.liquid"],
|
|
202
|
-
[/"[^"]*"/, "string.liquid"],
|
|
203
|
-
[/'[^']*'/, "string.liquid"],
|
|
204
|
-
[/\s+/],
|
|
205
|
-
[
|
|
206
|
-
/@symbol/,
|
|
207
|
-
{
|
|
208
|
-
cases: {
|
|
209
|
-
"@operators": "operator.liquid",
|
|
210
|
-
"@default": ""
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
[/\./],
|
|
215
|
-
[
|
|
216
|
-
/@identifier/,
|
|
217
|
-
{
|
|
218
|
-
cases: {
|
|
219
|
-
"@constants": "keyword.liquid",
|
|
220
|
-
"@builtinFilters": "predefined.liquid",
|
|
221
|
-
"@builtinTags": "predefined.liquid",
|
|
222
|
-
"@default": "variable.liquid"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
[/[^}|%]/, "variable.liquid"]
|
|
227
|
-
]
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
export {
|
|
231
|
-
n as conf,
|
|
232
|
-
o as language
|
|
233
|
-
};
|