st-comp 0.0.101 → 0.0.103
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/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +1 -1
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +2 -2
- package/es/{index-07e788d7.js → index-776a02be.js} +22873 -24765
- package/es/index-86920308.cjs +655 -0
- package/es/{python-a0dc573a.cjs → python-5b7987de.cjs} +3 -3
- package/{lib/python-d03cd84c.js → es/python-b27949fe.js} +8 -34
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +198 -201
- package/lib/{index-24959225.js → index-03c4eb8b.js} +35496 -37388
- package/{es/python-86b2bf30.js → lib/python-d247bec1.js} +13 -37
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/packages/VarietySearch/config.js +2 -2
- package/es/index-47fc965e.cjs +0 -658
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { m as a } from "./index-
|
|
1
|
+
import { m as a } from "./index-03c4eb8b.js";
|
|
2
2
|
import "vue";
|
|
3
|
+
import "echarts";
|
|
3
4
|
/*!-----------------------------------------------------------------------------
|
|
4
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
-
* Version: 0.
|
|
6
|
+
* Version: 0.47.0(69991d66135e4a1fc1cf0b1ac4ad25d429866a0d)
|
|
6
7
|
* Released under the MIT license
|
|
7
8
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
8
9
|
*-----------------------------------------------------------------------------*/
|
|
9
|
-
var l = Object.defineProperty,
|
|
10
|
+
var l = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, o = (t, e, n, s) => {
|
|
10
11
|
if (e && typeof e == "object" || typeof e == "function")
|
|
11
|
-
for (let r of
|
|
12
|
-
!
|
|
12
|
+
for (let r of p(e))
|
|
13
|
+
!d.call(t, r) && r !== n && l(t, r, { get: () => e[r], enumerable: !(s = c(e, r)) || s.enumerable });
|
|
13
14
|
return t;
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
var
|
|
15
|
+
}, _ = (t, e, n) => (o(t, e, "default"), n && o(n, e, "default")), i = {};
|
|
16
|
+
_(i, a);
|
|
17
|
+
var u = {
|
|
17
18
|
comments: {
|
|
18
19
|
lineComment: "#",
|
|
19
20
|
blockComment: ["'''", "'''"]
|
|
@@ -42,7 +43,7 @@ var m = {
|
|
|
42
43
|
beforeText: new RegExp(
|
|
43
44
|
"^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"
|
|
44
45
|
),
|
|
45
|
-
action: { indentAction:
|
|
46
|
+
action: { indentAction: i.languages.IndentAction.Indent }
|
|
46
47
|
}
|
|
47
48
|
],
|
|
48
49
|
folding: {
|
|
@@ -52,7 +53,7 @@ var m = {
|
|
|
52
53
|
end: new RegExp("^\\s*#endregion\\b")
|
|
53
54
|
}
|
|
54
55
|
}
|
|
55
|
-
},
|
|
56
|
+
}, f = {
|
|
56
57
|
defaultToken: "",
|
|
57
58
|
tokenPostfix: ".python",
|
|
58
59
|
keywords: [
|
|
@@ -257,20 +258,10 @@ var m = {
|
|
|
257
258
|
// Recognize strings, including those broken across lines with \ (but not without)
|
|
258
259
|
strings: [
|
|
259
260
|
[/'$/, "string.escape", "@popall"],
|
|
260
|
-
[/f'{1,3}/, "string.escape", "@fStringBody"],
|
|
261
261
|
[/'/, "string.escape", "@stringBody"],
|
|
262
262
|
[/"$/, "string.escape", "@popall"],
|
|
263
|
-
[/f"{1,3}/, "string.escape", "@fDblStringBody"],
|
|
264
263
|
[/"/, "string.escape", "@dblStringBody"]
|
|
265
264
|
],
|
|
266
|
-
fStringBody: [
|
|
267
|
-
[/[^\\'\{\}]+$/, "string", "@popall"],
|
|
268
|
-
[/[^\\'\{\}]+/, "string"],
|
|
269
|
-
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
270
|
-
[/\\./, "string"],
|
|
271
|
-
[/'/, "string.escape", "@popall"],
|
|
272
|
-
[/\\$/, "string"]
|
|
273
|
-
],
|
|
274
265
|
stringBody: [
|
|
275
266
|
[/[^\\']+$/, "string", "@popall"],
|
|
276
267
|
[/[^\\']+/, "string"],
|
|
@@ -278,31 +269,16 @@ var m = {
|
|
|
278
269
|
[/'/, "string.escape", "@popall"],
|
|
279
270
|
[/\\$/, "string"]
|
|
280
271
|
],
|
|
281
|
-
fDblStringBody: [
|
|
282
|
-
[/[^\\"\{\}]+$/, "string", "@popall"],
|
|
283
|
-
[/[^\\"\{\}]+/, "string"],
|
|
284
|
-
[/\{[^\}':!=]+/, "identifier", "@fStringDetail"],
|
|
285
|
-
[/\\./, "string"],
|
|
286
|
-
[/"/, "string.escape", "@popall"],
|
|
287
|
-
[/\\$/, "string"]
|
|
288
|
-
],
|
|
289
272
|
dblStringBody: [
|
|
290
273
|
[/[^\\"]+$/, "string", "@popall"],
|
|
291
274
|
[/[^\\"]+/, "string"],
|
|
292
275
|
[/\\./, "string"],
|
|
293
276
|
[/"/, "string.escape", "@popall"],
|
|
294
277
|
[/\\$/, "string"]
|
|
295
|
-
],
|
|
296
|
-
fStringDetail: [
|
|
297
|
-
[/[:][^}]+/, "string"],
|
|
298
|
-
[/[!][ars]/, "string"],
|
|
299
|
-
// only !a, !r, !s are supported by f-strings: https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals
|
|
300
|
-
[/=/, "string"],
|
|
301
|
-
[/\}/, "identifier", "@pop"]
|
|
302
278
|
]
|
|
303
279
|
}
|
|
304
280
|
};
|
|
305
281
|
export {
|
|
306
|
-
|
|
307
|
-
|
|
282
|
+
u as conf,
|
|
283
|
+
f as language
|
|
308
284
|
};
|