datacontract-editor 0.1.10 → 0.1.12
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/README.md +1 -3
- package/bin/datacontract-editor.js +73 -29
- package/dist/assets/editor.worker-4.7.0.js +30 -9034
- package/dist/assets/yaml.worker-4.7.0.js +432 -26435
- package/dist/datacontract-editor.css +2 -1
- package/dist/datacontract-editor.es.js +82727 -77765
- package/dist/monaco-4.7.0.js +114774 -125871
- package/dist/rolldown-runtime-DY7j01NX.js +30 -0
- package/package.json +20 -12
- package/dist/abap-Bs8kvjsq.js +0 -1398
- package/dist/apex-Dspwrl5m.js +0 -326
- package/dist/azcli-k1BiOau1.js +0 -68
- package/dist/bat-BIP72KWc.js +0 -100
- package/dist/bicep-VhQeYhS3.js +0 -102
- package/dist/cameligo-DnuAXtHg.js +0 -174
- package/dist/clojure-BAuDPsal.js +0 -761
- package/dist/coffee-BV06qSnj.js +0 -232
- package/dist/cpp-Cz8Jeyrf.js +0 -389
- package/dist/csharp-F6hhlXFb.js +0 -326
- package/dist/csp-KzlEHCyI.js +0 -53
- package/dist/css-e4FKntZ3.js +0 -187
- package/dist/cssMode-BNkTa2xp.js +0 -1618
- package/dist/cypher-CpvDGKRr.js +0 -263
- package/dist/dart-DdHeFWR0.js +0 -281
- package/dist/dockerfile-aoNXDcio.js +0 -130
- package/dist/ecl-C4Q0DYuA.js +0 -456
- package/dist/elixir-C9X42b0T.js +0 -569
- package/dist/flow9-Bff42pfB.js +0 -142
- package/dist/freemarker2-Dyfzmb5A.js +0 -989
- package/dist/fsharp-C6vPAsHG.js +0 -217
- package/dist/go-DEr8zx9f.js +0 -218
- package/dist/graphql-BiNBBRFh.js +0 -151
- package/dist/handlebars-BtDNI-uC.js +0 -419
- package/dist/hcl-2T9lKuFg.js +0 -183
- package/dist/html-Cn4TGw_o.js +0 -308
- package/dist/htmlMode-Bf84vbo2.js +0 -1628
- package/dist/ini-CZGtssYM.js +0 -71
- package/dist/java-B260NeH3.js +0 -232
- package/dist/javascript-B86Kac07.js +0 -70
- package/dist/jsonMode-Ckgg5lAE.js +0 -2051
- package/dist/julia-kuNLM9c5.js +0 -511
- package/dist/kotlin-Bz6kAefA.js +0 -253
- package/dist/less-AZUtS89I.js +0 -162
- package/dist/lexon-BcmgnyRb.js +0 -157
- package/dist/liquid-D0NPwuu_.js +0 -240
- package/dist/lua-Dz1RbATg.js +0 -162
- package/dist/m3-CIMooLFn.js +0 -210
- package/dist/markdown-C1BsCK9P.js +0 -229
- package/dist/mdx-QFRSBtVQ.js +0 -165
- package/dist/mips-BovsnfLQ.js +0 -198
- package/dist/msdax-CiRB2ZB-.js +0 -375
- package/dist/mysql-BwdpPE19.js +0 -878
- package/dist/objective-c-D4nfHfso.js +0 -183
- package/dist/pascal--j5-PYtz.js +0 -251
- package/dist/pascaligo-C7TcJxNL.js +0 -164
- package/dist/perl-BzEWqUb5.js +0 -626
- package/dist/pgsql-B_KZ0mGX.js +0 -851
- package/dist/php-A19QHzQV.js +0 -500
- package/dist/pla-COeKY1hA.js +0 -137
- package/dist/postiats-BfMp7zJL.js +0 -907
- package/dist/powerquery-B0TS_5Gb.js +0 -890
- package/dist/powershell-5jSbKdYB.js +0 -239
- package/dist/protobuf-YgnOutn3.js +0 -420
- package/dist/pug-DLej6kn5.js +0 -402
- package/dist/python-C8RW9B6A.js +0 -301
- package/dist/qsharp-AhjqtSHB.js +0 -301
- package/dist/r-D-F4P80w.js +0 -243
- package/dist/razor-CLZqdY_r.js +0 -550
- package/dist/redis-hwwIlMnV.js +0 -302
- package/dist/redshift-Bcm_kjEG.js +0 -809
- package/dist/restructuredtext-CrdzfPP-.js +0 -174
- package/dist/ruby-QC2UNm1s.js +0 -511
- package/dist/rust-5aqiQ3L5.js +0 -343
- package/dist/sb-B1g1ZfLJ.js +0 -115
- package/dist/scala-C2U4R5Gb.js +0 -370
- package/dist/scheme-DeFRbslr.js +0 -108
- package/dist/scss-RSTCiCmI.js +0 -262
- package/dist/shell-BpF-iNu8.js +0 -221
- package/dist/solidity-C00r2mbQ.js +0 -1367
- package/dist/sophia-DVW5ZKDB.js +0 -199
- package/dist/sparql-B0nmpxeX.js +0 -201
- package/dist/sql-CJwKPERn.js +0 -853
- package/dist/st-DPlKG5DT.js +0 -416
- package/dist/swift-YZBAbVHV.js +0 -309
- package/dist/systemverilog-CDQSaH63.js +0 -576
- package/dist/tcl-Dlu8sp6Q.js +0 -232
- package/dist/tsMode-yleMwhPq.js +0 -933
- package/dist/twig-C5TO7-kw.js +0 -392
- package/dist/typescript-CJBeebKU.js +0 -343
- package/dist/typespec-BsmjDEu7.js +0 -117
- package/dist/vb-ChHvIDrk.js +0 -372
- package/dist/wgsl-XEp1ju8c.js +0 -439
- package/dist/xml-vC-NMVX1.js +0 -95
- package/dist/yaml-Dlf2VF-T.js +0 -206
package/dist/yaml-Dlf2VF-T.js
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { d as l } from "./monaco-4.7.0.js";
|
|
2
|
-
var i = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyNames, s = Object.prototype.hasOwnProperty, d = (n, e, r, o) => {
|
|
3
|
-
if (e && typeof e == "object" || typeof e == "function")
|
|
4
|
-
for (let t of u(e))
|
|
5
|
-
!s.call(n, t) && t !== r && i(n, t, { get: () => e[t], enumerable: !(o = c(e, t)) || o.enumerable });
|
|
6
|
-
return n;
|
|
7
|
-
}, m = (n, e, r) => (d(n, e, "default"), r), a = {};
|
|
8
|
-
m(a, l);
|
|
9
|
-
var p = {
|
|
10
|
-
comments: {
|
|
11
|
-
lineComment: "#"
|
|
12
|
-
},
|
|
13
|
-
brackets: [
|
|
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
|
-
folding: {
|
|
33
|
-
offSide: !0
|
|
34
|
-
},
|
|
35
|
-
onEnterRules: [
|
|
36
|
-
{
|
|
37
|
-
beforeText: /:\s*$/,
|
|
38
|
-
action: {
|
|
39
|
-
indentAction: a.languages.IndentAction.Indent
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
}, f = {
|
|
44
|
-
tokenPostfix: ".yaml",
|
|
45
|
-
brackets: [
|
|
46
|
-
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
47
|
-
{ token: "delimiter.square", open: "[", close: "]" }
|
|
48
|
-
],
|
|
49
|
-
keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
|
|
50
|
-
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
|
51
|
-
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
|
52
|
-
numberOctal: /0o[0-7]+/,
|
|
53
|
-
numberHex: /0x[0-9a-fA-F]+/,
|
|
54
|
-
numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
|
|
55
|
-
numberNaN: /\.(?:nan|Nan|NAN)/,
|
|
56
|
-
numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
|
|
57
|
-
escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
|
|
58
|
-
tokenizer: {
|
|
59
|
-
root: [
|
|
60
|
-
{ include: "@whitespace" },
|
|
61
|
-
{ include: "@comment" },
|
|
62
|
-
// Directive
|
|
63
|
-
[/%[^ ]+.*$/, "meta.directive"],
|
|
64
|
-
// Document Markers
|
|
65
|
-
[/---/, "operators.directivesEnd"],
|
|
66
|
-
[/\.{3}/, "operators.documentEnd"],
|
|
67
|
-
// Block Structure Indicators
|
|
68
|
-
[/[-?:](?= )/, "operators"],
|
|
69
|
-
{ include: "@anchor" },
|
|
70
|
-
{ include: "@tagHandle" },
|
|
71
|
-
{ include: "@flowCollections" },
|
|
72
|
-
{ include: "@blockStyle" },
|
|
73
|
-
// Numbers
|
|
74
|
-
[/@numberInteger(?![ \t]*\S+)/, "number"],
|
|
75
|
-
[/@numberFloat(?![ \t]*\S+)/, "number.float"],
|
|
76
|
-
[/@numberOctal(?![ \t]*\S+)/, "number.octal"],
|
|
77
|
-
[/@numberHex(?![ \t]*\S+)/, "number.hex"],
|
|
78
|
-
[/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
|
|
79
|
-
[/@numberNaN(?![ \t]*\S+)/, "number.nan"],
|
|
80
|
-
[/@numberDate(?![ \t]*\S+)/, "number.date"],
|
|
81
|
-
// Key:Value pair
|
|
82
|
-
[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
|
|
83
|
-
{ include: "@flowScalars" },
|
|
84
|
-
// String nodes
|
|
85
|
-
[
|
|
86
|
-
/.+?(?=(\s+#|$))/,
|
|
87
|
-
{
|
|
88
|
-
cases: {
|
|
89
|
-
"@keywords": "keyword",
|
|
90
|
-
"@default": "string"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
],
|
|
95
|
-
// Flow Collection: Flow Mapping
|
|
96
|
-
object: [
|
|
97
|
-
{ include: "@whitespace" },
|
|
98
|
-
{ include: "@comment" },
|
|
99
|
-
// Flow Mapping termination
|
|
100
|
-
[/\}/, "@brackets", "@pop"],
|
|
101
|
-
// Flow Mapping delimiter
|
|
102
|
-
[/,/, "delimiter.comma"],
|
|
103
|
-
// Flow Mapping Key:Value delimiter
|
|
104
|
-
[/:(?= )/, "operators"],
|
|
105
|
-
// Flow Mapping Key:Value key
|
|
106
|
-
[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
|
|
107
|
-
// Start Flow Style
|
|
108
|
-
{ include: "@flowCollections" },
|
|
109
|
-
{ include: "@flowScalars" },
|
|
110
|
-
// Scalar Data types
|
|
111
|
-
{ include: "@tagHandle" },
|
|
112
|
-
{ include: "@anchor" },
|
|
113
|
-
{ include: "@flowNumber" },
|
|
114
|
-
// Other value (keyword or string)
|
|
115
|
-
[
|
|
116
|
-
/[^\},]+/,
|
|
117
|
-
{
|
|
118
|
-
cases: {
|
|
119
|
-
"@keywords": "keyword",
|
|
120
|
-
"@default": "string"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
],
|
|
125
|
-
// Flow Collection: Flow Sequence
|
|
126
|
-
array: [
|
|
127
|
-
{ include: "@whitespace" },
|
|
128
|
-
{ include: "@comment" },
|
|
129
|
-
// Flow Sequence termination
|
|
130
|
-
[/\]/, "@brackets", "@pop"],
|
|
131
|
-
// Flow Sequence delimiter
|
|
132
|
-
[/,/, "delimiter.comma"],
|
|
133
|
-
// Start Flow Style
|
|
134
|
-
{ include: "@flowCollections" },
|
|
135
|
-
{ include: "@flowScalars" },
|
|
136
|
-
// Scalar Data types
|
|
137
|
-
{ include: "@tagHandle" },
|
|
138
|
-
{ include: "@anchor" },
|
|
139
|
-
{ include: "@flowNumber" },
|
|
140
|
-
// Other value (keyword or string)
|
|
141
|
-
[
|
|
142
|
-
/[^\],]+/,
|
|
143
|
-
{
|
|
144
|
-
cases: {
|
|
145
|
-
"@keywords": "keyword",
|
|
146
|
-
"@default": "string"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
]
|
|
150
|
-
],
|
|
151
|
-
// First line of a Block Style
|
|
152
|
-
multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
|
|
153
|
-
// Further lines of a Block Style
|
|
154
|
-
// Workaround for indentation detection
|
|
155
|
-
multiStringContinued: [
|
|
156
|
-
[
|
|
157
|
-
/^( *).+$/,
|
|
158
|
-
{
|
|
159
|
-
cases: {
|
|
160
|
-
"$1==$S2": "string",
|
|
161
|
-
"@default": { token: "@rematch", next: "@popall" }
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
],
|
|
166
|
-
whitespace: [[/[ \t\r\n]+/, "white"]],
|
|
167
|
-
// Only line comments
|
|
168
|
-
comment: [[/#.*$/, "comment"]],
|
|
169
|
-
// Start Flow Collections
|
|
170
|
-
flowCollections: [
|
|
171
|
-
[/\[/, "@brackets", "@array"],
|
|
172
|
-
[/\{/, "@brackets", "@object"]
|
|
173
|
-
],
|
|
174
|
-
// Start Flow Scalars (quoted strings)
|
|
175
|
-
flowScalars: [
|
|
176
|
-
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
177
|
-
[/'([^'\\]|\\.)*$/, "string.invalid"],
|
|
178
|
-
[/'[^']*'/, "string"],
|
|
179
|
-
[/"/, "string", "@doubleQuotedString"]
|
|
180
|
-
],
|
|
181
|
-
doubleQuotedString: [
|
|
182
|
-
[/[^\\"]+/, "string"],
|
|
183
|
-
[/@escapes/, "string.escape"],
|
|
184
|
-
[/\\./, "string.escape.invalid"],
|
|
185
|
-
[/"/, "string", "@pop"]
|
|
186
|
-
],
|
|
187
|
-
// Start Block Scalar
|
|
188
|
-
blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
|
|
189
|
-
// Numbers in Flow Collections (terminate with ,]})
|
|
190
|
-
flowNumber: [
|
|
191
|
-
[/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
|
|
192
|
-
[/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
|
|
193
|
-
[/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
|
|
194
|
-
[/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
|
|
195
|
-
[/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
|
|
196
|
-
[/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
|
|
197
|
-
[/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
|
|
198
|
-
],
|
|
199
|
-
tagHandle: [[/\![^ ]*/, "tag"]],
|
|
200
|
-
anchor: [[/[&*][^ ]+/, "namespace"]]
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
export {
|
|
204
|
-
p as conf,
|
|
205
|
-
f as language
|
|
206
|
-
};
|