@dronico/droni-kit 1.7.3 → 1.7.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/CHANGELOG.md +7 -0
- package/dist/droni-kit.cjs.js +350 -1
- package/dist/droni-kit.css +1 -1
- package/dist/droni-kit.es.js +925 -7
- package/dist/stories/Widgets/DuiEditor.stories.d.ts +3 -9
- package/dist/stories/Widgets/DuiEditor.vue.d.ts +3 -9
- package/package.json +1 -2
- package/dist/abap-CrVaG5QI.cjs +0 -6
- package/dist/abap-D0Neqhq6.js +0 -1404
- package/dist/apex-B5LhxkeG.js +0 -332
- package/dist/apex-CGiaaokt.cjs +0 -6
- package/dist/assets/css.worker-DNgQEC96.js +0 -84
- package/dist/assets/editor.worker-BKD3YLiN.js +0 -12
- package/dist/assets/html.worker-B7xpmB-M.js +0 -461
- package/dist/assets/json.worker-td2JV8fN.js +0 -49
- package/dist/assets/ts.worker-CqZGdM85.js +0 -51334
- package/dist/azcli-BrBH0QTU.js +0 -74
- package/dist/azcli-CCWOS89X.cjs +0 -6
- package/dist/bat-BfzAov64.js +0 -106
- package/dist/bat-dplVPQ-_.cjs +0 -6
- package/dist/bicep-C3bCSWel.js +0 -108
- package/dist/bicep-Q9zrsOvk.cjs +0 -7
- package/dist/cameligo-Dr5j7v0u.cjs +0 -6
- package/dist/cameligo-sFL5plcd.js +0 -180
- package/dist/clojure-CfeExRz0.js +0 -767
- package/dist/clojure-DPJGbZtj.cjs +0 -6
- package/dist/coffee-CUV2cHk6.cjs +0 -6
- package/dist/coffee-Xws5K0WL.js +0 -238
- package/dist/cpp-CqOUEpxN.js +0 -395
- package/dist/cpp-DyuKq4fH.cjs +0 -6
- package/dist/csharp-DVLiBOZb.js +0 -332
- package/dist/csharp-d4dFAWKM.cjs +0 -6
- package/dist/csp-DVFp9bw5.js +0 -59
- package/dist/csp-Lc8LbON9.cjs +0 -6
- package/dist/css-D8IzNaWL.cjs +0 -8
- package/dist/css-DwARn2R6.js +0 -193
- package/dist/cssMode--MfDhlXW.js +0 -1577
- package/dist/cssMode-B8S_b__C.cjs +0 -9
- package/dist/cypher-BuSmvVBI.cjs +0 -6
- package/dist/cypher-uY0Mffat.js +0 -269
- package/dist/dart-D27H-mX_.js +0 -287
- package/dist/dart-d-sZXKUo.cjs +0 -6
- package/dist/dockerfile-CmV85WZK.js +0 -136
- package/dist/dockerfile-OepqCuVM.cjs +0 -6
- package/dist/ecl--fKn7yzB.js +0 -462
- package/dist/ecl-GFERKf5i.cjs +0 -6
- package/dist/elixir-9a1efda4.cjs +0 -6
- package/dist/elixir-DUhH17ON.js +0 -575
- package/dist/flow9-B3Dx2LLe.js +0 -148
- package/dist/flow9-DsqME3Wt.cjs +0 -6
- package/dist/freemarker2-ApUh3Ubc.cjs +0 -8
- package/dist/freemarker2-B6ampScX.js +0 -995
- package/dist/fsharp-DtZL2hil.cjs +0 -6
- package/dist/fsharp-SyqBfUAR.js +0 -223
- package/dist/go-B11TqKJA.cjs +0 -6
- package/dist/go-BbMR2tdT.js +0 -224
- package/dist/graphql-DDJE6tIl.js +0 -157
- package/dist/graphql-DrfV554J.cjs +0 -6
- package/dist/handlebars-Cbhqp1NE.js +0 -425
- package/dist/handlebars-Ce21uehy.cjs +0 -6
- package/dist/hcl-B0mc1H5M.cjs +0 -6
- package/dist/hcl-YBvpaUqf.js +0 -189
- package/dist/html-BDmPyCbL.js +0 -314
- package/dist/html-BTFiH6Sw.cjs +0 -6
- package/dist/htmlMode-B18NiCAi.cjs +0 -9
- package/dist/htmlMode-BUHFgZKE.js +0 -1587
- package/dist/index-B5gLucco.js +0 -113180
- package/dist/index-BYLdWIQo.cjs +0 -1504
- package/dist/ini-Ct73dBtM.js +0 -77
- package/dist/ini-ymhBH5HG.cjs +0 -6
- package/dist/java-C_jlkwoG.js +0 -238
- package/dist/java-D4zTn_HA.cjs +0 -6
- package/dist/javascript-BR0mMjV4.js +0 -76
- package/dist/javascript-DrLpnVkz.cjs +0 -6
- package/dist/jsonMode-DHhRjk7d.cjs +0 -15
- package/dist/jsonMode-DvjeLIcS.js +0 -2002
- package/dist/julia-D8WE5U1e.js +0 -517
- package/dist/julia-Dp7_oxTx.cjs +0 -6
- package/dist/kotlin-DN07yPPp.cjs +0 -6
- package/dist/kotlin-Zy9aq5yB.js +0 -259
- package/dist/less-CtJmsSxx.cjs +0 -7
- package/dist/less-sZ0iHtE8.js +0 -168
- package/dist/lexon-BH122-aN.cjs +0 -6
- package/dist/lexon-CsdNL29A.js +0 -163
- package/dist/lib/userWorker.d.ts +0 -1
- package/dist/liquid-DBEv3cQo.cjs +0 -6
- package/dist/liquid-c8EQsxJL.js +0 -246
- package/dist/lua-C2YJo0zw.js +0 -168
- package/dist/lua-DF1giqni.cjs +0 -6
- package/dist/m3-BSVLgJdx.cjs +0 -6
- package/dist/m3-CPLP40SG.js +0 -216
- package/dist/markdown-B1mf5e0R.js +0 -235
- package/dist/markdown-DqkJT7wW.cjs +0 -6
- package/dist/mdx-1XKmgriI.js +0 -171
- package/dist/mdx-BLFumXRM.cjs +0 -6
- package/dist/mips-DA33BZX1.js +0 -204
- package/dist/mips-HcsFOvwE.cjs +0 -6
- package/dist/msdax-CCYFIQsP.js +0 -381
- package/dist/msdax-D8wkgf9t.cjs +0 -6
- package/dist/mysql-D1qSUjcB.cjs +0 -6
- package/dist/mysql-hjmIjL-D.js +0 -884
- package/dist/objective-c-BcY1nQEp.cjs +0 -6
- package/dist/objective-c-RRCpEmqC.js +0 -189
- package/dist/pascal-C6VID8iC.cjs +0 -6
- package/dist/pascal-CeV8XfxB.js +0 -257
- package/dist/pascaligo-CtEkUcZy.cjs +0 -6
- package/dist/pascaligo-IEEGVJAJ.js +0 -170
- package/dist/perl-B5-QbHq_.js +0 -632
- package/dist/perl-BS5MoSit.cjs +0 -6
- package/dist/pgsql-DSQqzbUN.cjs +0 -6
- package/dist/pgsql-s6kqEJmi.js +0 -857
- package/dist/php-CWWqzOo8.js +0 -506
- package/dist/php-Dcbv8it3.cjs +0 -6
- package/dist/pla-BKGu3P8x.cjs +0 -6
- package/dist/pla-FSvb_YP_.js +0 -143
- package/dist/postiats-DQdscQXO.js +0 -913
- package/dist/postiats-lASv8P6N.cjs +0 -6
- package/dist/powerquery-BuqmBiPU.cjs +0 -6
- package/dist/powerquery-CtA5JA1I.js +0 -896
- package/dist/powershell-CtRTGCOm.cjs +0 -6
- package/dist/powershell-DglEq96N.js +0 -245
- package/dist/protobuf-BSepub3e.js +0 -426
- package/dist/protobuf-Dk87ns3u.cjs +0 -7
- package/dist/pug-B1847F4G.js +0 -408
- package/dist/pug-CVbk24PQ.cjs +0 -6
- package/dist/python-CFCwn4yH.cjs +0 -6
- package/dist/python-kCX2MsY7.js +0 -307
- package/dist/qsharp-BSix4Z0w.cjs +0 -6
- package/dist/qsharp-D4i0Nqg9.js +0 -307
- package/dist/r-CSIGVqGj.cjs +0 -6
- package/dist/r-cdRigKxa.js +0 -249
- package/dist/razor-BwatS76l.cjs +0 -6
- package/dist/razor-CJ2-OlVm.js +0 -556
- package/dist/redis-1SUKo9jD.cjs +0 -6
- package/dist/redis-D9MFxvE8.js +0 -308
- package/dist/redshift-BS1FVf13.cjs +0 -6
- package/dist/redshift-CmCnsvL-.js +0 -815
- package/dist/restructuredtext-CWy8J51t.js +0 -180
- package/dist/restructuredtext-DU-k0-PC.cjs +0 -6
- package/dist/ruby-WP-c36m5.js +0 -517
- package/dist/ruby-aigiByO4.cjs +0 -6
- package/dist/rust-Q9FLdYpu.js +0 -349
- package/dist/rust-adCJoS28.cjs +0 -6
- package/dist/sb-C54-JBGT.js +0 -121
- package/dist/sb-CiUR99st.cjs +0 -6
- package/dist/scala-CzbFImc5.js +0 -376
- package/dist/scala-Tb5I4vBh.cjs +0 -6
- package/dist/scheme-BMUadJWp.cjs +0 -6
- package/dist/scheme-BhfDmYN3.js +0 -114
- package/dist/scss-BICI8Lvl.cjs +0 -8
- package/dist/scss-CEmiBXpS.js +0 -268
- package/dist/shell-BUjduzW4.cjs +0 -6
- package/dist/shell-Bmc1VhG0.js +0 -227
- package/dist/solidity-C9Q2I8Hh.js +0 -1373
- package/dist/solidity-DFZoFjgL.cjs +0 -6
- package/dist/sophia-B_a5zu_Y.cjs +0 -6
- package/dist/sophia-jWa1UyKz.js +0 -205
- package/dist/sparql-C-N2tZtn.cjs +0 -6
- package/dist/sparql-CM7jctbc.js +0 -207
- package/dist/sql-CVdEafkq.cjs +0 -6
- package/dist/sql-WzihTkbg.js +0 -859
- package/dist/st-2HB7Hiwr.cjs +0 -6
- package/dist/st-6y7_3aup.js +0 -422
- package/dist/swift-k-0zxG_D.js +0 -318
- package/dist/swift-xGTYXUAm.cjs +0 -8
- package/dist/systemverilog-BaPbkNTu.cjs +0 -6
- package/dist/systemverilog-Pnr5_rIP.js +0 -582
- package/dist/tcl-SSKta9Un.cjs +0 -6
- package/dist/tcl-fNPXval8.js +0 -238
- package/dist/tsMode-RB_vd_eb.cjs +0 -16
- package/dist/tsMode-Rf8OU01s.js +0 -895
- package/dist/twig-ByEpcNlL.cjs +0 -6
- package/dist/twig-L2MkztkV.js +0 -398
- package/dist/typescript-CV2SvKu1.cjs +0 -6
- package/dist/typescript-CaxFA8LZ.js +0 -349
- package/dist/typespec-Bxe2hBLx.cjs +0 -6
- package/dist/typespec-Cqqo-3Pt.js +0 -123
- package/dist/vb-B5YC2xN9.js +0 -378
- package/dist/vb-m8wPqU1B.cjs +0 -6
- package/dist/wgsl-B-_uRex7.js +0 -445
- package/dist/wgsl-CPwT7Vox.cjs +0 -303
- package/dist/xml-BSn2vC2Q.cjs +0 -6
- package/dist/xml-BYNZTm-o.js +0 -101
- package/dist/yaml-C7dSJq0N.cjs +0 -6
- package/dist/yaml-Czj6pQn5.js +0 -212
- package/src/lib/userWorker.ts +0 -28
package/dist/python-kCX2MsY7.js
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./index-B5gLucco.js";
|
|
2
|
-
/*!-----------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
5
|
-
* Released under the MIT license
|
|
6
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
7
|
-
*-----------------------------------------------------------------------------*/
|
|
8
|
-
var a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, g = (t, e, n, s) => {
|
|
9
|
-
if (e && typeof e == "object" || typeof e == "function")
|
|
10
|
-
for (let r of p(e))
|
|
11
|
-
!c.call(t, r) && r !== n && a(t, r, { get: () => e[r], enumerable: !(s = l(e, r)) || s.enumerable });
|
|
12
|
-
return t;
|
|
13
|
-
}, d = (t, e, n) => (g(t, e, "default"), n), i = {};
|
|
14
|
-
d(i, o);
|
|
15
|
-
var m = {
|
|
16
|
-
comments: {
|
|
17
|
-
lineComment: "#",
|
|
18
|
-
blockComment: ["'''", "'''"]
|
|
19
|
-
},
|
|
20
|
-
brackets: [
|
|
21
|
-
["{", "}"],
|
|
22
|
-
["[", "]"],
|
|
23
|
-
["(", ")"]
|
|
24
|
-
],
|
|
25
|
-
autoClosingPairs: [
|
|
26
|
-
{ open: "{", close: "}" },
|
|
27
|
-
{ open: "[", close: "]" },
|
|
28
|
-
{ open: "(", close: ")" },
|
|
29
|
-
{ open: '"', close: '"', notIn: ["string"] },
|
|
30
|
-
{ open: "'", close: "'", notIn: ["string", "comment"] }
|
|
31
|
-
],
|
|
32
|
-
surroundingPairs: [
|
|
33
|
-
{ open: "{", close: "}" },
|
|
34
|
-
{ open: "[", close: "]" },
|
|
35
|
-
{ open: "(", close: ")" },
|
|
36
|
-
{ open: '"', close: '"' },
|
|
37
|
-
{ open: "'", close: "'" }
|
|
38
|
-
],
|
|
39
|
-
onEnterRules: [
|
|
40
|
-
{
|
|
41
|
-
beforeText: new RegExp(
|
|
42
|
-
"^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
|
|
43
|
-
),
|
|
44
|
-
action: { indentAction: i.languages.IndentAction.Indent }
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
folding: {
|
|
48
|
-
offSide: !0,
|
|
49
|
-
markers: {
|
|
50
|
-
start: new RegExp("^\\s*#region\\b"),
|
|
51
|
-
end: new RegExp("^\\s*#endregion\\b")
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}, f = {
|
|
55
|
-
defaultToken: "",
|
|
56
|
-
tokenPostfix: ".python",
|
|
57
|
-
keywords: [
|
|
58
|
-
// This section is the result of running
|
|
59
|
-
// `import keyword; for k in sorted(keyword.kwlist + keyword.softkwlist): print(" '" + k + "',")`
|
|
60
|
-
// in a Python REPL,
|
|
61
|
-
// though note that the output from Python 3 is not a strict superset of the
|
|
62
|
-
// output from Python 2.
|
|
63
|
-
"False",
|
|
64
|
-
// promoted to keyword.kwlist in Python 3
|
|
65
|
-
"None",
|
|
66
|
-
// promoted to keyword.kwlist in Python 3
|
|
67
|
-
"True",
|
|
68
|
-
// promoted to keyword.kwlist in Python 3
|
|
69
|
-
"_",
|
|
70
|
-
// new in Python 3.10
|
|
71
|
-
"and",
|
|
72
|
-
"as",
|
|
73
|
-
"assert",
|
|
74
|
-
"async",
|
|
75
|
-
// new in Python 3
|
|
76
|
-
"await",
|
|
77
|
-
// new in Python 3
|
|
78
|
-
"break",
|
|
79
|
-
"case",
|
|
80
|
-
// new in Python 3.10
|
|
81
|
-
"class",
|
|
82
|
-
"continue",
|
|
83
|
-
"def",
|
|
84
|
-
"del",
|
|
85
|
-
"elif",
|
|
86
|
-
"else",
|
|
87
|
-
"except",
|
|
88
|
-
"exec",
|
|
89
|
-
// Python 2, but not 3.
|
|
90
|
-
"finally",
|
|
91
|
-
"for",
|
|
92
|
-
"from",
|
|
93
|
-
"global",
|
|
94
|
-
"if",
|
|
95
|
-
"import",
|
|
96
|
-
"in",
|
|
97
|
-
"is",
|
|
98
|
-
"lambda",
|
|
99
|
-
"match",
|
|
100
|
-
// new in Python 3.10
|
|
101
|
-
"nonlocal",
|
|
102
|
-
// new in Python 3
|
|
103
|
-
"not",
|
|
104
|
-
"or",
|
|
105
|
-
"pass",
|
|
106
|
-
"print",
|
|
107
|
-
// Python 2, but not 3.
|
|
108
|
-
"raise",
|
|
109
|
-
"return",
|
|
110
|
-
"try",
|
|
111
|
-
"type",
|
|
112
|
-
// new in Python 3.12
|
|
113
|
-
"while",
|
|
114
|
-
"with",
|
|
115
|
-
"yield",
|
|
116
|
-
"int",
|
|
117
|
-
"float",
|
|
118
|
-
"long",
|
|
119
|
-
"complex",
|
|
120
|
-
"hex",
|
|
121
|
-
"abs",
|
|
122
|
-
"all",
|
|
123
|
-
"any",
|
|
124
|
-
"apply",
|
|
125
|
-
"basestring",
|
|
126
|
-
"bin",
|
|
127
|
-
"bool",
|
|
128
|
-
"buffer",
|
|
129
|
-
"bytearray",
|
|
130
|
-
"callable",
|
|
131
|
-
"chr",
|
|
132
|
-
"classmethod",
|
|
133
|
-
"cmp",
|
|
134
|
-
"coerce",
|
|
135
|
-
"compile",
|
|
136
|
-
"complex",
|
|
137
|
-
"delattr",
|
|
138
|
-
"dict",
|
|
139
|
-
"dir",
|
|
140
|
-
"divmod",
|
|
141
|
-
"enumerate",
|
|
142
|
-
"eval",
|
|
143
|
-
"execfile",
|
|
144
|
-
"file",
|
|
145
|
-
"filter",
|
|
146
|
-
"format",
|
|
147
|
-
"frozenset",
|
|
148
|
-
"getattr",
|
|
149
|
-
"globals",
|
|
150
|
-
"hasattr",
|
|
151
|
-
"hash",
|
|
152
|
-
"help",
|
|
153
|
-
"id",
|
|
154
|
-
"input",
|
|
155
|
-
"intern",
|
|
156
|
-
"isinstance",
|
|
157
|
-
"issubclass",
|
|
158
|
-
"iter",
|
|
159
|
-
"len",
|
|
160
|
-
"locals",
|
|
161
|
-
"list",
|
|
162
|
-
"map",
|
|
163
|
-
"max",
|
|
164
|
-
"memoryview",
|
|
165
|
-
"min",
|
|
166
|
-
"next",
|
|
167
|
-
"object",
|
|
168
|
-
"oct",
|
|
169
|
-
"open",
|
|
170
|
-
"ord",
|
|
171
|
-
"pow",
|
|
172
|
-
"print",
|
|
173
|
-
"property",
|
|
174
|
-
"reversed",
|
|
175
|
-
"range",
|
|
176
|
-
"raw_input",
|
|
177
|
-
"reduce",
|
|
178
|
-
"reload",
|
|
179
|
-
"repr",
|
|
180
|
-
"reversed",
|
|
181
|
-
"round",
|
|
182
|
-
"self",
|
|
183
|
-
"set",
|
|
184
|
-
"setattr",
|
|
185
|
-
"slice",
|
|
186
|
-
"sorted",
|
|
187
|
-
"staticmethod",
|
|
188
|
-
"str",
|
|
189
|
-
"sum",
|
|
190
|
-
"super",
|
|
191
|
-
"tuple",
|
|
192
|
-
"type",
|
|
193
|
-
"unichr",
|
|
194
|
-
"unicode",
|
|
195
|
-
"vars",
|
|
196
|
-
"xrange",
|
|
197
|
-
"zip",
|
|
198
|
-
"__dict__",
|
|
199
|
-
"__methods__",
|
|
200
|
-
"__members__",
|
|
201
|
-
"__class__",
|
|
202
|
-
"__bases__",
|
|
203
|
-
"__name__",
|
|
204
|
-
"__mro__",
|
|
205
|
-
"__subclasses__",
|
|
206
|
-
"__init__",
|
|
207
|
-
"__import__"
|
|
208
|
-
],
|
|
209
|
-
brackets: [
|
|
210
|
-
{ open: "{", close: "}", token: "delimiter.curly" },
|
|
211
|
-
{ open: "[", close: "]", token: "delimiter.bracket" },
|
|
212
|
-
{ open: "(", close: ")", token: "delimiter.parenthesis" }
|
|
213
|
-
],
|
|
214
|
-
tokenizer: {
|
|
215
|
-
root: [
|
|
216
|
-
{ include: "@whitespace" },
|
|
217
|
-
{ include: "@numbers" },
|
|
218
|
-
{ include: "@strings" },
|
|
219
|
-
[/[,:;]/, "delimiter"],
|
|
220
|
-
[/[{}\[\]()]/, "@brackets"],
|
|
221
|
-
[/@[a-zA-Z_]\w*/, "tag"],
|
|
222
|
-
[
|
|
223
|
-
/[a-zA-Z_]\w*/,
|
|
224
|
-
{
|
|
225
|
-
cases: {
|
|
226
|
-
"@keywords": "keyword",
|
|
227
|
-
"@default": "identifier"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
]
|
|
231
|
-
],
|
|
232
|
-
// Deal with white space, including single and multi-line comments
|
|
233
|
-
whitespace: [
|
|
234
|
-
[/\s+/, "white"],
|
|
235
|
-
[/(^#.*$)/, "comment"],
|
|
236
|
-
[/'''/, "string", "@endDocString"],
|
|
237
|
-
[/"""/, "string", "@endDblDocString"]
|
|
238
|
-
],
|
|
239
|
-
endDocString: [
|
|
240
|
-
[/[^']+/, "string"],
|
|
241
|
-
[/\\'/, "string"],
|
|
242
|
-
[/'''/, "string", "@popall"],
|
|
243
|
-
[/'/, "string"]
|
|
244
|
-
],
|
|
245
|
-
endDblDocString: [
|
|
246
|
-
[/[^"]+/, "string"],
|
|
247
|
-
[/\\"/, "string"],
|
|
248
|
-
[/"""/, "string", "@popall"],
|
|
249
|
-
[/"/, "string"]
|
|
250
|
-
],
|
|
251
|
-
// Recognize hex, negatives, decimals, imaginaries, longs, and scientific notation
|
|
252
|
-
numbers: [
|
|
253
|
-
[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
|
|
254
|
-
[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
|
|
255
|
-
],
|
|
256
|
-
// Recognize strings, including those broken across lines with \ (but not without)
|
|
257
|
-
strings: [
|
|
258
|
-
[/'$/, "string.escape", "@popall"],
|
|
259
|
-
[/f'{1,3}/, "string.escape", "@fStringBody"],
|
|
260
|
-
[/'/, "string.escape", "@stringBody"],
|
|
261
|
-
[/"$/, "string.escape", "@popall"],
|
|
262
|
-
[/f"{1,3}/, "string.escape", "@fDblStringBody"],
|
|
263
|
-
[/"/, "string.escape", "@dblStringBody"]
|
|
264
|
-
],
|
|
265
|
-
fStringBody: [
|
|
266
|
-
[/[^\\'\{\}]+$/, "string", "@popall"],
|
|
267
|
-
[/[^\\'\{\}]+/, "string"],
|
|
268
|
-
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
269
|
-
[/\\./, "string"],
|
|
270
|
-
[/'/, "string.escape", "@popall"],
|
|
271
|
-
[/\\$/, "string"]
|
|
272
|
-
],
|
|
273
|
-
stringBody: [
|
|
274
|
-
[/[^\\']+$/, "string", "@popall"],
|
|
275
|
-
[/[^\\']+/, "string"],
|
|
276
|
-
[/\\./, "string"],
|
|
277
|
-
[/'/, "string.escape", "@popall"],
|
|
278
|
-
[/\\$/, "string"]
|
|
279
|
-
],
|
|
280
|
-
fDblStringBody: [
|
|
281
|
-
[/[^\\"\{\}]+$/, "string", "@popall"],
|
|
282
|
-
[/[^\\"\{\}]+/, "string"],
|
|
283
|
-
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
284
|
-
[/\\./, "string"],
|
|
285
|
-
[/"/, "string.escape", "@popall"],
|
|
286
|
-
[/\\$/, "string"]
|
|
287
|
-
],
|
|
288
|
-
dblStringBody: [
|
|
289
|
-
[/[^\\"]+$/, "string", "@popall"],
|
|
290
|
-
[/[^\\"]+/, "string"],
|
|
291
|
-
[/\\./, "string"],
|
|
292
|
-
[/"/, "string.escape", "@popall"],
|
|
293
|
-
[/\\$/, "string"]
|
|
294
|
-
],
|
|
295
|
-
fStringDetail: [
|
|
296
|
-
[/[:][^}]+/, "string"],
|
|
297
|
-
[/[!][ars]/, "string"],
|
|
298
|
-
// only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
|
|
299
|
-
[/=/, "string"],
|
|
300
|
-
[/\}/, "identifier", "@pop"]
|
|
301
|
-
]
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
export {
|
|
305
|
-
m as conf,
|
|
306
|
-
f as language
|
|
307
|
-
};
|
package/dist/qsharp-BSix4Z0w.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={keywords:["namespace","open","import","export","as","operation","function","body","adjoint","newtype","struct","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::",".","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],importsFollows:["import"],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@importsFollows":{token:"keyword.$0",next:"@imports"},"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@builtin":"keyword","@invalidKeywords":"invalid","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],namespace:[{include:"@whitespace"},[/[A-Za-z]\w*/,"namespace"],[/[\.]/,"delimiter"],["","","@pop"]],imports:[{include:"@whitespace"},[/[A-Za-z]\w*(?=\.)/,"namespace"],[/[A-Za-z]\w*/,"identifier"],[/\*/,"wildcard"],[/[\.,]/,"delimiter"],["","","@pop"]],whitespace:[[/[ \t\r\n]+/,"white"],[/(\/\/).*/,"comment"]]}};exports.conf=e;exports.language=t;
|
package/dist/qsharp-D4i0Nqg9.js
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
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
|
-
},
|
|
11
|
-
brackets: [
|
|
12
|
-
["{", "}"],
|
|
13
|
-
["[", "]"],
|
|
14
|
-
["(", ")"]
|
|
15
|
-
],
|
|
16
|
-
autoClosingPairs: [
|
|
17
|
-
{ open: "{", close: "}" },
|
|
18
|
-
{ open: "[", close: "]" },
|
|
19
|
-
{ open: "(", close: ")" },
|
|
20
|
-
{ open: '"', close: '"', notIn: ["string", "comment"] }
|
|
21
|
-
],
|
|
22
|
-
surroundingPairs: [
|
|
23
|
-
{ open: "{", close: "}" },
|
|
24
|
-
{ open: "[", close: "]" },
|
|
25
|
-
{ open: "(", close: ")" },
|
|
26
|
-
{ open: '"', close: '"' }
|
|
27
|
-
]
|
|
28
|
-
}, t = {
|
|
29
|
-
// Set defaultToken to invalid to see what you do not tokenize yet
|
|
30
|
-
keywords: [
|
|
31
|
-
"namespace",
|
|
32
|
-
"open",
|
|
33
|
-
"import",
|
|
34
|
-
"export",
|
|
35
|
-
"as",
|
|
36
|
-
"operation",
|
|
37
|
-
"function",
|
|
38
|
-
"body",
|
|
39
|
-
"adjoint",
|
|
40
|
-
"newtype",
|
|
41
|
-
"struct",
|
|
42
|
-
"controlled",
|
|
43
|
-
"if",
|
|
44
|
-
"elif",
|
|
45
|
-
"else",
|
|
46
|
-
"repeat",
|
|
47
|
-
"until",
|
|
48
|
-
"fixup",
|
|
49
|
-
"for",
|
|
50
|
-
"in",
|
|
51
|
-
"while",
|
|
52
|
-
"return",
|
|
53
|
-
"fail",
|
|
54
|
-
"within",
|
|
55
|
-
"apply",
|
|
56
|
-
"Adjoint",
|
|
57
|
-
"Controlled",
|
|
58
|
-
"Adj",
|
|
59
|
-
"Ctl",
|
|
60
|
-
"is",
|
|
61
|
-
"self",
|
|
62
|
-
"auto",
|
|
63
|
-
"distribute",
|
|
64
|
-
"invert",
|
|
65
|
-
"intrinsic",
|
|
66
|
-
"let",
|
|
67
|
-
"set",
|
|
68
|
-
"w/",
|
|
69
|
-
"new",
|
|
70
|
-
"not",
|
|
71
|
-
"and",
|
|
72
|
-
"or",
|
|
73
|
-
"use",
|
|
74
|
-
"borrow",
|
|
75
|
-
"using",
|
|
76
|
-
"borrowing",
|
|
77
|
-
"mutable",
|
|
78
|
-
"internal"
|
|
79
|
-
],
|
|
80
|
-
typeKeywords: [
|
|
81
|
-
"Unit",
|
|
82
|
-
"Int",
|
|
83
|
-
"BigInt",
|
|
84
|
-
"Double",
|
|
85
|
-
"Bool",
|
|
86
|
-
"String",
|
|
87
|
-
"Qubit",
|
|
88
|
-
"Result",
|
|
89
|
-
"Pauli",
|
|
90
|
-
"Range"
|
|
91
|
-
],
|
|
92
|
-
invalidKeywords: [
|
|
93
|
-
"abstract",
|
|
94
|
-
"base",
|
|
95
|
-
"bool",
|
|
96
|
-
"break",
|
|
97
|
-
"byte",
|
|
98
|
-
"case",
|
|
99
|
-
"catch",
|
|
100
|
-
"char",
|
|
101
|
-
"checked",
|
|
102
|
-
"class",
|
|
103
|
-
"const",
|
|
104
|
-
"continue",
|
|
105
|
-
"decimal",
|
|
106
|
-
"default",
|
|
107
|
-
"delegate",
|
|
108
|
-
"do",
|
|
109
|
-
"double",
|
|
110
|
-
"enum",
|
|
111
|
-
"event",
|
|
112
|
-
"explicit",
|
|
113
|
-
"extern",
|
|
114
|
-
"finally",
|
|
115
|
-
"fixed",
|
|
116
|
-
"float",
|
|
117
|
-
"foreach",
|
|
118
|
-
"goto",
|
|
119
|
-
"implicit",
|
|
120
|
-
"int",
|
|
121
|
-
"interface",
|
|
122
|
-
"lock",
|
|
123
|
-
"long",
|
|
124
|
-
"null",
|
|
125
|
-
"object",
|
|
126
|
-
"operator",
|
|
127
|
-
"out",
|
|
128
|
-
"override",
|
|
129
|
-
"params",
|
|
130
|
-
"private",
|
|
131
|
-
"protected",
|
|
132
|
-
"public",
|
|
133
|
-
"readonly",
|
|
134
|
-
"ref",
|
|
135
|
-
"sbyte",
|
|
136
|
-
"sealed",
|
|
137
|
-
"short",
|
|
138
|
-
"sizeof",
|
|
139
|
-
"stackalloc",
|
|
140
|
-
"static",
|
|
141
|
-
"string",
|
|
142
|
-
"switch",
|
|
143
|
-
"this",
|
|
144
|
-
"throw",
|
|
145
|
-
"try",
|
|
146
|
-
"typeof",
|
|
147
|
-
"unit",
|
|
148
|
-
"ulong",
|
|
149
|
-
"unchecked",
|
|
150
|
-
"unsafe",
|
|
151
|
-
"ushort",
|
|
152
|
-
"virtual",
|
|
153
|
-
"void",
|
|
154
|
-
"volatile"
|
|
155
|
-
],
|
|
156
|
-
constants: ["true", "false", "PauliI", "PauliX", "PauliY", "PauliZ", "One", "Zero"],
|
|
157
|
-
builtin: [
|
|
158
|
-
"X",
|
|
159
|
-
"Y",
|
|
160
|
-
"Z",
|
|
161
|
-
"H",
|
|
162
|
-
"HY",
|
|
163
|
-
"S",
|
|
164
|
-
"T",
|
|
165
|
-
"SWAP",
|
|
166
|
-
"CNOT",
|
|
167
|
-
"CCNOT",
|
|
168
|
-
"MultiX",
|
|
169
|
-
"R",
|
|
170
|
-
"RFrac",
|
|
171
|
-
"Rx",
|
|
172
|
-
"Ry",
|
|
173
|
-
"Rz",
|
|
174
|
-
"R1",
|
|
175
|
-
"R1Frac",
|
|
176
|
-
"Exp",
|
|
177
|
-
"ExpFrac",
|
|
178
|
-
"Measure",
|
|
179
|
-
"M",
|
|
180
|
-
"MultiM",
|
|
181
|
-
"Message",
|
|
182
|
-
"Length",
|
|
183
|
-
"Assert",
|
|
184
|
-
"AssertProb",
|
|
185
|
-
"AssertEqual"
|
|
186
|
-
],
|
|
187
|
-
operators: [
|
|
188
|
-
"and=",
|
|
189
|
-
"<-",
|
|
190
|
-
"->",
|
|
191
|
-
"*",
|
|
192
|
-
"*=",
|
|
193
|
-
"@",
|
|
194
|
-
"!",
|
|
195
|
-
"^",
|
|
196
|
-
"^=",
|
|
197
|
-
":",
|
|
198
|
-
"::",
|
|
199
|
-
".",
|
|
200
|
-
"..",
|
|
201
|
-
"==",
|
|
202
|
-
"...",
|
|
203
|
-
"=",
|
|
204
|
-
"=>",
|
|
205
|
-
">",
|
|
206
|
-
">=",
|
|
207
|
-
"<",
|
|
208
|
-
"<=",
|
|
209
|
-
"-",
|
|
210
|
-
"-=",
|
|
211
|
-
"!=",
|
|
212
|
-
"or=",
|
|
213
|
-
"%",
|
|
214
|
-
"%=",
|
|
215
|
-
"|",
|
|
216
|
-
"+",
|
|
217
|
-
"+=",
|
|
218
|
-
"?",
|
|
219
|
-
"/",
|
|
220
|
-
"/=",
|
|
221
|
-
"&&&",
|
|
222
|
-
"&&&=",
|
|
223
|
-
"^^^",
|
|
224
|
-
"^^^=",
|
|
225
|
-
">>>",
|
|
226
|
-
">>>=",
|
|
227
|
-
"<<<",
|
|
228
|
-
"<<<=",
|
|
229
|
-
"|||",
|
|
230
|
-
"|||=",
|
|
231
|
-
"~~~",
|
|
232
|
-
"_",
|
|
233
|
-
"w/",
|
|
234
|
-
"w/="
|
|
235
|
-
],
|
|
236
|
-
namespaceFollows: ["namespace", "open"],
|
|
237
|
-
importsFollows: ["import"],
|
|
238
|
-
symbols: /[=><!~?:&|+\-*\/\^%@._]+/,
|
|
239
|
-
escapes: /\\[\s\S]/,
|
|
240
|
-
// The main tokenizer for our languages
|
|
241
|
-
tokenizer: {
|
|
242
|
-
root: [
|
|
243
|
-
// identifiers and keywords
|
|
244
|
-
[
|
|
245
|
-
/[a-zA-Z_$][\w$]*/,
|
|
246
|
-
{
|
|
247
|
-
cases: {
|
|
248
|
-
"@namespaceFollows": {
|
|
249
|
-
token: "keyword.$0",
|
|
250
|
-
next: "@namespace"
|
|
251
|
-
},
|
|
252
|
-
"@importsFollows": {
|
|
253
|
-
token: "keyword.$0",
|
|
254
|
-
next: "@imports"
|
|
255
|
-
},
|
|
256
|
-
"@typeKeywords": "type",
|
|
257
|
-
"@keywords": "keyword",
|
|
258
|
-
"@constants": "constant",
|
|
259
|
-
"@builtin": "keyword",
|
|
260
|
-
"@invalidKeywords": "invalid",
|
|
261
|
-
"@default": "identifier"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
// whitespace
|
|
266
|
-
{ include: "@whitespace" },
|
|
267
|
-
// delimiters and operators
|
|
268
|
-
[/[{}()\[\]]/, "@brackets"],
|
|
269
|
-
[/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
|
|
270
|
-
// numbers
|
|
271
|
-
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
272
|
-
[/\d+/, "number"],
|
|
273
|
-
// delimiter: after number because of .\d floats
|
|
274
|
-
[/[;,.]/, "delimiter"],
|
|
275
|
-
// strings
|
|
276
|
-
//[/"([^"\\]|\\.)*$/, 'string.invalid' ], // non-terminated string
|
|
277
|
-
[/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
|
|
278
|
-
],
|
|
279
|
-
string: [
|
|
280
|
-
[/[^\\"]+/, "string"],
|
|
281
|
-
[/@escapes/, "string.escape"],
|
|
282
|
-
[/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
|
|
283
|
-
],
|
|
284
|
-
namespace: [
|
|
285
|
-
{ include: "@whitespace" },
|
|
286
|
-
[/[A-Za-z]\w*/, "namespace"],
|
|
287
|
-
[/[\.]/, "delimiter"],
|
|
288
|
-
["", "", "@pop"]
|
|
289
|
-
],
|
|
290
|
-
imports: [
|
|
291
|
-
{ include: "@whitespace" },
|
|
292
|
-
[/[A-Za-z]\w*(?=\.)/, "namespace"],
|
|
293
|
-
[/[A-Za-z]\w*/, "identifier"],
|
|
294
|
-
[/\*/, "wildcard"],
|
|
295
|
-
[/[\.,]/, "delimiter"],
|
|
296
|
-
["", "", "@pop"]
|
|
297
|
-
],
|
|
298
|
-
whitespace: [
|
|
299
|
-
[/[ \t\r\n]+/, "white"],
|
|
300
|
-
[/(\/\/).*/, "comment"]
|
|
301
|
-
]
|
|
302
|
-
}
|
|
303
|
-
};
|
|
304
|
-
export {
|
|
305
|
-
e as conf,
|
|
306
|
-
t as language
|
|
307
|
-
};
|
package/dist/r-CSIGVqGj.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*!-----------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
4
|
-
* Released under the MIT license
|
|
5
|
-
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".r",roxygen:["@alias","@aliases","@assignee","@author","@backref","@callGraph","@callGraphDepth","@callGraphPrimitives","@concept","@describeIn","@description","@details","@docType","@encoding","@evalNamespace","@evalRd","@example","@examples","@export","@exportClass","@exportMethod","@exportPattern","@family","@field","@formals","@format","@import","@importClassesFrom","@importFrom","@importMethodsFrom","@include","@inherit","@inheritDotParams","@inheritParams","@inheritSection","@keywords","@md","@method","@name","@noMd","@noRd","@note","@param","@rawNamespace","@rawRd","@rdname","@references","@return","@S3method","@section","@seealso","@setClass","@slot","@source","@template","@templateVar","@title","@TODO","@usage","@useDynLib"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN","NA_integer_","NA_real_","NA_complex_","NA_character_","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'$/,"comment.doc"],[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}};exports.conf=e;exports.language=o;
|