online-compiler-widget 1.0.10 → 1.0.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/dist/{cssMode-CC7wUIyc.js → cssMode-B-O9uMfN.js} +3 -3
- package/dist/{freemarker2-DcRJH9oD.js → freemarker2-CaILaXtK.js} +1 -1
- package/dist/{handlebars-BINL02dC.js → handlebars--cE9M3ST.js} +1 -1
- package/dist/{html-CJLDjzkp.js → html-DgQA0t7L.js} +1 -1
- package/dist/{htmlMode-C9FIrAv6.js → htmlMode-CvY-pj8i.js} +3 -3
- package/dist/{index-DYML3xdL.js → index-BPcZxg8h.js} +121 -119
- package/dist/index.d.ts +26 -25
- package/dist/index.js +1 -1
- package/dist/{javascript-4uzPZ3GB.js → javascript-CSuVDS6-.js} +1 -1
- package/dist/{jsonMode-BdrGJy08.js → jsonMode-C70-uBhp.js} +3 -3
- package/dist/{liquid-BkyyC0EJ.js → liquid-CQ5WulCz.js} +1 -1
- package/dist/{lspLanguageFeatures-B8lZmjR3.js → lspLanguageFeatures-BuEpM3Np.js} +1 -1
- package/dist/{mdx-Db6L3M2N.js → mdx-Blbs4Z61.js} +1 -1
- package/dist/{python-C9BsN9vk.js → python-Cn6McWY0.js} +1 -1
- package/dist/{razor-CWyArdxi.js → razor-CAheCe28.js} +1 -1
- package/dist/{tsMode-Dr_xzpYd.js → tsMode-Bf9sGa58.js} +1 -1
- package/dist/{typescript-SyGojMBH.js → typescript-CVD1rfpg.js} +1 -1
- package/dist/{xml-WWNE5csE.js → xml-D9u1dgzn.js} +1 -1
- package/dist/{yaml-osEI61b6.js → yaml-B2NZy6cE.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as h, l as s } from "./index-
|
|
2
|
-
import { C as c, H as u, D as p, a as m, R as f, b as _, c as w, d as k, F as v, e as D, S as P, f as R, g as I } from "./lspLanguageFeatures-
|
|
3
|
-
import { h as b, i as H, j as y, t as U, k as T } from "./lspLanguageFeatures-
|
|
1
|
+
import { c as h, l as s } from "./index-BPcZxg8h.js";
|
|
2
|
+
import { C as c, H as u, D as p, a as m, R as f, b as _, c as w, d as k, F as v, e as D, S as P, f as R, g as I } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
3
|
+
import { h as b, i as H, j as y, t as U, k as T } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
4
4
|
const C = 2 * 60 * 1e3;
|
|
5
5
|
class A {
|
|
6
6
|
constructor(o) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as D, l as t } from "./index-
|
|
2
|
-
import { H as d, D as l, h as c, F as u, b as h, S as m, c as p, f as w, g as _, C as R } from "./lspLanguageFeatures-
|
|
3
|
-
import { a as E, e as H, d as b, R as y, i as T, j as U, t as x, k as M } from "./lspLanguageFeatures-
|
|
1
|
+
import { c as D, l as t } from "./index-BPcZxg8h.js";
|
|
2
|
+
import { H as d, D as l, h as c, F as u, b as h, S as m, c as p, f as w, g as _, C as R } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
3
|
+
import { a as E, e as H, d as b, R as y, i as T, j as U, t as x, k as M } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
4
4
|
const I = 2 * 60 * 1e3;
|
|
5
5
|
class f {
|
|
6
6
|
constructor(n) {
|
|
@@ -416,21 +416,6 @@ const Jc = (o, e) => {
|
|
|
416
416
|
* See the LICENSE file in the root directory of this source tree.
|
|
417
417
|
*/
|
|
418
418
|
const Noe = [
|
|
419
|
-
[
|
|
420
|
-
"path",
|
|
421
|
-
{
|
|
422
|
-
d: "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",
|
|
423
|
-
key: "3c2336"
|
|
424
|
-
}
|
|
425
|
-
]
|
|
426
|
-
], Toe = Jc("badge", Noe);
|
|
427
|
-
/**
|
|
428
|
-
* @license lucide-react v0.562.0 - ISC
|
|
429
|
-
*
|
|
430
|
-
* This source code is licensed under the ISC license.
|
|
431
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
432
|
-
*/
|
|
433
|
-
const Roe = [
|
|
434
419
|
[
|
|
435
420
|
"path",
|
|
436
421
|
{
|
|
@@ -442,14 +427,14 @@ const Roe = [
|
|
|
442
427
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
443
428
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
444
429
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
445
|
-
],
|
|
430
|
+
], Toe = Jc("file-text", Noe);
|
|
446
431
|
/**
|
|
447
432
|
* @license lucide-react v0.562.0 - ISC
|
|
448
433
|
*
|
|
449
434
|
* This source code is licensed under the ISC license.
|
|
450
435
|
* See the LICENSE file in the root directory of this source tree.
|
|
451
436
|
*/
|
|
452
|
-
const
|
|
437
|
+
const Roe = [
|
|
453
438
|
[
|
|
454
439
|
"path",
|
|
455
440
|
{
|
|
@@ -457,14 +442,14 @@ const Poe = [
|
|
|
457
442
|
key: "1kt360"
|
|
458
443
|
}
|
|
459
444
|
]
|
|
460
|
-
],
|
|
445
|
+
], Moe = Jc("folder", Roe);
|
|
461
446
|
/**
|
|
462
447
|
* @license lucide-react v0.562.0 - ISC
|
|
463
448
|
*
|
|
464
449
|
* This source code is licensed under the ISC license.
|
|
465
450
|
* See the LICENSE file in the root directory of this source tree.
|
|
466
451
|
*/
|
|
467
|
-
const
|
|
452
|
+
const Poe = [
|
|
468
453
|
[
|
|
469
454
|
"path",
|
|
470
455
|
{
|
|
@@ -472,24 +457,24 @@ const Ooe = [
|
|
|
472
457
|
key: "10ikf1"
|
|
473
458
|
}
|
|
474
459
|
]
|
|
475
|
-
],
|
|
460
|
+
], Aoe = Jc("play", Poe);
|
|
476
461
|
/**
|
|
477
462
|
* @license lucide-react v0.562.0 - ISC
|
|
478
463
|
*
|
|
479
464
|
* This source code is licensed under the ISC license.
|
|
480
465
|
* See the LICENSE file in the root directory of this source tree.
|
|
481
466
|
*/
|
|
482
|
-
const
|
|
467
|
+
const Ooe = [
|
|
483
468
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
484
469
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
485
|
-
],
|
|
470
|
+
], Foe = Jc("plus", Ooe);
|
|
486
471
|
/**
|
|
487
472
|
* @license lucide-react v0.562.0 - ISC
|
|
488
473
|
*
|
|
489
474
|
* This source code is licensed under the ISC license.
|
|
490
475
|
* See the LICENSE file in the root directory of this source tree.
|
|
491
476
|
*/
|
|
492
|
-
const
|
|
477
|
+
const Woe = [
|
|
493
478
|
[
|
|
494
479
|
"path",
|
|
495
480
|
{
|
|
@@ -499,14 +484,14 @@ const Hoe = [
|
|
|
499
484
|
],
|
|
500
485
|
["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
|
|
501
486
|
["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
|
|
502
|
-
],
|
|
487
|
+
], Boe = Jc("save", Woe);
|
|
503
488
|
/**
|
|
504
489
|
* @license lucide-react v0.562.0 - ISC
|
|
505
490
|
*
|
|
506
491
|
* This source code is licensed under the ISC license.
|
|
507
492
|
* See the LICENSE file in the root directory of this source tree.
|
|
508
493
|
*/
|
|
509
|
-
const
|
|
494
|
+
const Hoe = [
|
|
510
495
|
[
|
|
511
496
|
"path",
|
|
512
497
|
{
|
|
@@ -514,7 +499,23 @@ const zoe = [
|
|
|
514
499
|
key: "oel41y"
|
|
515
500
|
}
|
|
516
501
|
]
|
|
517
|
-
],
|
|
502
|
+
], Voe = Jc("shield", Hoe);
|
|
503
|
+
/**
|
|
504
|
+
* @license lucide-react v0.562.0 - ISC
|
|
505
|
+
*
|
|
506
|
+
* This source code is licensed under the ISC license.
|
|
507
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
508
|
+
*/
|
|
509
|
+
const zoe = [
|
|
510
|
+
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
511
|
+
[
|
|
512
|
+
"path",
|
|
513
|
+
{
|
|
514
|
+
d: "M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",
|
|
515
|
+
key: "ohrbg2"
|
|
516
|
+
}
|
|
517
|
+
]
|
|
518
|
+
], Uoe = Jc("square-pen", zoe);
|
|
518
519
|
/**
|
|
519
520
|
* @license lucide-react v0.562.0 - ISC
|
|
520
521
|
*
|
|
@@ -688,7 +689,7 @@ const Goe = [
|
|
|
688
689
|
children: p ? "▼" : "▶"
|
|
689
690
|
}
|
|
690
691
|
),
|
|
691
|
-
/* @__PURE__ */ be.jsx("span", { className: at.itemIcon, children: f ? /* @__PURE__ */ be.jsx(
|
|
692
|
+
/* @__PURE__ */ be.jsx("span", { className: at.itemIcon, children: f ? /* @__PURE__ */ be.jsx(Moe, { className: at.folderIcon }) : /* @__PURE__ */ be.jsx("span", { className: at.fileIcon, children: "📄" }) }),
|
|
692
693
|
i ? /* @__PURE__ */ be.jsx("div", { className: at.editContainer, children: /* @__PURE__ */ be.jsx(
|
|
693
694
|
"input",
|
|
694
695
|
{
|
|
@@ -1077,7 +1078,7 @@ const Goe = [
|
|
|
1077
1078
|
}
|
|
1078
1079
|
),
|
|
1079
1080
|
/* @__PURE__ */ be.jsxs("div", { className: at.header, children: [
|
|
1080
|
-
/* @__PURE__ */ be.jsx(
|
|
1081
|
+
/* @__PURE__ */ be.jsx(Toe, { className: at.documentIcon }),
|
|
1081
1082
|
/* @__PURE__ */ be.jsx("span", { children: "Файлы" }),
|
|
1082
1083
|
/* @__PURE__ */ be.jsxs("div", { className: at.addButtonWrapper, children: [
|
|
1083
1084
|
/* @__PURE__ */ be.jsx(
|
|
@@ -1087,7 +1088,7 @@ const Goe = [
|
|
|
1087
1088
|
onClick: () => T(!D),
|
|
1088
1089
|
className: at.addButton,
|
|
1089
1090
|
title: "Создать файл или папку",
|
|
1090
|
-
children: /* @__PURE__ */ be.jsx(
|
|
1091
|
+
children: /* @__PURE__ */ be.jsx(Foe, { className: at.plusIcon })
|
|
1091
1092
|
}
|
|
1092
1093
|
),
|
|
1093
1094
|
D && /* @__PURE__ */ be.jsxs("div", { className: at.contextMenu, ref: oe, children: [
|
|
@@ -126455,7 +126456,7 @@ const aH = {
|
|
|
126455
126456
|
lH
|
|
126456
126457
|
);
|
|
126457
126458
|
function cH() {
|
|
126458
|
-
return import("./cssMode-
|
|
126459
|
+
return import("./cssMode-B-O9uMfN.js");
|
|
126459
126460
|
}
|
|
126460
126461
|
Pe.onLanguage("less", () => {
|
|
126461
126462
|
cH().then((o) => o.setupMode(ese));
|
|
@@ -126546,7 +126547,7 @@ const t0 = "html", pK = "handlebars", mK = "razor", tse = cM(
|
|
|
126546
126547
|
lM(mK)
|
|
126547
126548
|
), dWe = nse.defaults;
|
|
126548
126549
|
function hWe() {
|
|
126549
|
-
return import("./htmlMode-
|
|
126550
|
+
return import("./htmlMode-CvY-pj8i.js");
|
|
126550
126551
|
}
|
|
126551
126552
|
function cM(o, e = aM, t = lM(o)) {
|
|
126552
126553
|
const i = new rWe(o, e, t);
|
|
@@ -126620,7 +126621,7 @@ const fWe = {
|
|
|
126620
126621
|
pWe
|
|
126621
126622
|
), mWe = () => ose().then((o) => o.getWorker());
|
|
126622
126623
|
function ose() {
|
|
126623
|
-
return import("./jsonMode-
|
|
126624
|
+
return import("./jsonMode-C70-uBhp.js");
|
|
126624
126625
|
}
|
|
126625
126626
|
Pe.register({
|
|
126626
126627
|
id: "json",
|
|
@@ -126766,7 +126767,7 @@ const CWe = bWe, use = {
|
|
|
126766
126767
|
use
|
|
126767
126768
|
), vWe = () => dM().then((o) => o.getTypeScriptWorker()), wWe = () => dM().then((o) => o.getJavaScriptWorker());
|
|
126768
126769
|
function dM() {
|
|
126769
|
-
return import("./tsMode-
|
|
126770
|
+
return import("./tsMode-Bf9sGa58.js");
|
|
126770
126771
|
}
|
|
126771
126772
|
Pe.onLanguage("typescript", () => dM().then((o) => o.setupTypeScript(gse)));
|
|
126772
126773
|
Pe.onLanguage("javascript", () => dM().then((o) => o.setupJavaScript(fse)));
|
|
@@ -126939,37 +126940,37 @@ De({
|
|
|
126939
126940
|
id: "freemarker2",
|
|
126940
126941
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
126941
126942
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
126942
|
-
loader: () => import("./freemarker2-
|
|
126943
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagAutoInterpolationDollar)
|
|
126943
126944
|
});
|
|
126944
126945
|
De({
|
|
126945
126946
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
126946
126947
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
126947
|
-
loader: () => import("./freemarker2-
|
|
126948
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagAngleInterpolationDollar)
|
|
126948
126949
|
});
|
|
126949
126950
|
De({
|
|
126950
126951
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
126951
126952
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
126952
|
-
loader: () => import("./freemarker2-
|
|
126953
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagBracketInterpolationDollar)
|
|
126953
126954
|
});
|
|
126954
126955
|
De({
|
|
126955
126956
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
126956
126957
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
126957
|
-
loader: () => import("./freemarker2-
|
|
126958
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagAngleInterpolationBracket)
|
|
126958
126959
|
});
|
|
126959
126960
|
De({
|
|
126960
126961
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
126961
126962
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
126962
|
-
loader: () => import("./freemarker2-
|
|
126963
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagBracketInterpolationBracket)
|
|
126963
126964
|
});
|
|
126964
126965
|
De({
|
|
126965
126966
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
126966
126967
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
126967
|
-
loader: () => import("./freemarker2-
|
|
126968
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagAutoInterpolationDollar)
|
|
126968
126969
|
});
|
|
126969
126970
|
De({
|
|
126970
126971
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
126971
126972
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
126972
|
-
loader: () => import("./freemarker2-
|
|
126973
|
+
loader: () => import("./freemarker2-CaILaXtK.js").then((o) => o.TagAutoInterpolationBracket)
|
|
126973
126974
|
});
|
|
126974
126975
|
De({
|
|
126975
126976
|
id: "go",
|
|
@@ -126989,7 +126990,7 @@ De({
|
|
|
126989
126990
|
extensions: [".handlebars", ".hbs"],
|
|
126990
126991
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
126991
126992
|
mimetypes: ["text/x-handlebars-template"],
|
|
126992
|
-
loader: () => import("./handlebars
|
|
126993
|
+
loader: () => import("./handlebars--cE9M3ST.js")
|
|
126993
126994
|
});
|
|
126994
126995
|
De({
|
|
126995
126996
|
id: "hcl",
|
|
@@ -127002,7 +127003,7 @@ De({
|
|
|
127002
127003
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
127003
127004
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
127004
127005
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
127005
|
-
loader: () => import("./html-
|
|
127006
|
+
loader: () => import("./html-DgQA0t7L.js")
|
|
127006
127007
|
});
|
|
127007
127008
|
De({
|
|
127008
127009
|
id: "ini",
|
|
@@ -127025,7 +127026,7 @@ De({
|
|
|
127025
127026
|
filenames: ["jakefile"],
|
|
127026
127027
|
aliases: ["JavaScript", "javascript", "js"],
|
|
127027
127028
|
mimetypes: ["text/javascript"],
|
|
127028
|
-
loader: () => import("./javascript-
|
|
127029
|
+
loader: () => import("./javascript-CSuVDS6-.js")
|
|
127029
127030
|
});
|
|
127030
127031
|
De({
|
|
127031
127032
|
id: "julia",
|
|
@@ -127064,7 +127065,7 @@ De({
|
|
|
127064
127065
|
extensions: [".liquid", ".html.liquid"],
|
|
127065
127066
|
aliases: ["Liquid", "liquid"],
|
|
127066
127067
|
mimetypes: ["application/liquid"],
|
|
127067
|
-
loader: () => import("./liquid-
|
|
127068
|
+
loader: () => import("./liquid-CQ5WulCz.js")
|
|
127068
127069
|
});
|
|
127069
127070
|
De({
|
|
127070
127071
|
id: "m3",
|
|
@@ -127082,7 +127083,7 @@ De({
|
|
|
127082
127083
|
id: "mdx",
|
|
127083
127084
|
extensions: [".mdx"],
|
|
127084
127085
|
aliases: ["MDX", "mdx"],
|
|
127085
|
-
loader: () => import("./mdx-
|
|
127086
|
+
loader: () => import("./mdx-Blbs4Z61.js")
|
|
127086
127087
|
});
|
|
127087
127088
|
De({
|
|
127088
127089
|
id: "mips",
|
|
@@ -127181,7 +127182,7 @@ De({
|
|
|
127181
127182
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
127182
127183
|
aliases: ["Python", "py"],
|
|
127183
127184
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
127184
|
-
loader: () => import("./python-
|
|
127185
|
+
loader: () => import("./python-Cn6McWY0.js")
|
|
127185
127186
|
});
|
|
127186
127187
|
De({
|
|
127187
127188
|
id: "qsharp",
|
|
@@ -127200,7 +127201,7 @@ De({
|
|
|
127200
127201
|
extensions: [".cshtml"],
|
|
127201
127202
|
aliases: ["Razor", "razor"],
|
|
127202
127203
|
mimetypes: ["text/x-cshtml"],
|
|
127203
|
-
loader: () => import("./razor-
|
|
127204
|
+
loader: () => import("./razor-CAheCe28.js")
|
|
127204
127205
|
});
|
|
127205
127206
|
De({
|
|
127206
127207
|
id: "redis",
|
|
@@ -127332,7 +127333,7 @@ De({
|
|
|
127332
127333
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
127333
127334
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
127334
127335
|
mimetypes: ["text/typescript"],
|
|
127335
|
-
loader: () => import("./typescript-
|
|
127336
|
+
loader: () => import("./typescript-CVD1rfpg.js")
|
|
127336
127337
|
});
|
|
127337
127338
|
De({
|
|
127338
127339
|
id: "typespec",
|
|
@@ -127376,14 +127377,14 @@ De({
|
|
|
127376
127377
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
127377
127378
|
aliases: ["XML", "xml"],
|
|
127378
127379
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
127379
|
-
loader: () => import("./xml-
|
|
127380
|
+
loader: () => import("./xml-D9u1dgzn.js")
|
|
127380
127381
|
});
|
|
127381
127382
|
De({
|
|
127382
127383
|
id: "yaml",
|
|
127383
127384
|
extensions: [".yaml", ".yml"],
|
|
127384
127385
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
127385
127386
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
127386
|
-
loader: () => import("./yaml-
|
|
127387
|
+
loader: () => import("./yaml-B2NZy6cE.js")
|
|
127387
127388
|
});
|
|
127388
127389
|
var yWe = Object.defineProperty, xWe = (o, e, t) => e in o ? yWe(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, it = (o, e, t) => xWe(o, typeof e != "symbol" ? e + "" : e, t), EL, _K, NL, zP, TL;
|
|
127389
127390
|
function LWe(o) {
|
|
@@ -128383,28 +128384,29 @@ const GWe = "MonacoEditorWrapper-module__editorContainer___cSQ9x", KWe = "Monaco
|
|
|
128383
128384
|
code: o,
|
|
128384
128385
|
language: e,
|
|
128385
128386
|
onChange: t,
|
|
128386
|
-
theme: i = "vs-light"
|
|
128387
|
+
theme: i = "vs-light",
|
|
128388
|
+
filename: n
|
|
128387
128389
|
}) => {
|
|
128388
|
-
const
|
|
128389
|
-
|
|
128390
|
+
const s = Sg(null), r = Sg(null), a = (l) => {
|
|
128391
|
+
s.current = l;
|
|
128390
128392
|
};
|
|
128391
128393
|
return Gu(() => {
|
|
128392
|
-
var
|
|
128393
|
-
if (!
|
|
128394
|
-
|
|
128395
|
-
const
|
|
128396
|
-
|
|
128394
|
+
var c, d;
|
|
128395
|
+
if (!s.current) return;
|
|
128396
|
+
r.current && ((c = r.current) == null || c.dispose());
|
|
128397
|
+
const l = oH.createModel(o, "csharp");
|
|
128398
|
+
r.current = l, (d = s.current) == null || d.focus();
|
|
128397
128399
|
}, [o, "csharp"]), /* @__PURE__ */ be.jsxs("div", { className: kK.editorContainer, children: [
|
|
128398
|
-
/* @__PURE__ */ be.jsx("div", { className: kK.editorHeader, children: /* @__PURE__ */ be.jsx("span", { children:
|
|
128400
|
+
/* @__PURE__ */ be.jsx("div", { className: kK.editorHeader, children: /* @__PURE__ */ be.jsx("span", { children: n }) }),
|
|
128399
128401
|
/* @__PURE__ */ be.jsx(
|
|
128400
128402
|
Bse,
|
|
128401
128403
|
{
|
|
128402
128404
|
height: "100%",
|
|
128403
128405
|
language: "csharp",
|
|
128404
128406
|
theme: i,
|
|
128405
|
-
onMount:
|
|
128407
|
+
onMount: a,
|
|
128406
128408
|
value: o,
|
|
128407
|
-
onChange: (
|
|
128409
|
+
onChange: (l) => t(l || ""),
|
|
128408
128410
|
options: {
|
|
128409
128411
|
minimap: { enabled: !1 },
|
|
128410
128412
|
fontSize: 12,
|
|
@@ -128522,7 +128524,7 @@ const jn = function(o, ...e) {
|
|
|
128522
128524
|
return {
|
|
128523
128525
|
/**
|
|
128524
128526
|
*
|
|
128525
|
-
* @param {
|
|
128527
|
+
* @param {number} projectId
|
|
128526
128528
|
* @param {CompileRequest} [compileRequest]
|
|
128527
128529
|
* @param {*} [options] Override http request option.
|
|
128528
128530
|
* @throws {RequiredError}
|
|
@@ -128542,7 +128544,7 @@ const jn = function(o, ...e) {
|
|
|
128542
128544
|
},
|
|
128543
128545
|
/**
|
|
128544
128546
|
*
|
|
128545
|
-
* @param {
|
|
128547
|
+
* @param {number} projectId
|
|
128546
128548
|
* @param {RunRequest} [runRequest]
|
|
128547
128549
|
* @param {*} [options] Override http request option.
|
|
128548
128550
|
* @throws {RequiredError}
|
|
@@ -128562,7 +128564,7 @@ const jn = function(o, ...e) {
|
|
|
128562
128564
|
},
|
|
128563
128565
|
/**
|
|
128564
128566
|
*
|
|
128565
|
-
* @param {
|
|
128567
|
+
* @param {number} projectId
|
|
128566
128568
|
* @param {*} [options] Override http request option.
|
|
128567
128569
|
* @throws {RequiredError}
|
|
128568
128570
|
*/
|
|
@@ -128581,7 +128583,7 @@ const jn = function(o, ...e) {
|
|
|
128581
128583
|
},
|
|
128582
128584
|
/**
|
|
128583
128585
|
*
|
|
128584
|
-
* @param {
|
|
128586
|
+
* @param {number} projectId
|
|
128585
128587
|
* @param {*} [options] Override http request option.
|
|
128586
128588
|
* @throws {RequiredError}
|
|
128587
128589
|
*/
|
|
@@ -128621,7 +128623,7 @@ const jn = function(o, ...e) {
|
|
|
128621
128623
|
return {
|
|
128622
128624
|
/**
|
|
128623
128625
|
*
|
|
128624
|
-
* @param {
|
|
128626
|
+
* @param {number} projectId
|
|
128625
128627
|
* @param {CompileRequest} [compileRequest]
|
|
128626
128628
|
* @param {*} [options] Override http request option.
|
|
128627
128629
|
* @throws {RequiredError}
|
|
@@ -128633,7 +128635,7 @@ const jn = function(o, ...e) {
|
|
|
128633
128635
|
},
|
|
128634
128636
|
/**
|
|
128635
128637
|
*
|
|
128636
|
-
* @param {
|
|
128638
|
+
* @param {number} projectId
|
|
128637
128639
|
* @param {RunRequest} [runRequest]
|
|
128638
128640
|
* @param {*} [options] Override http request option.
|
|
128639
128641
|
* @throws {RequiredError}
|
|
@@ -128645,7 +128647,7 @@ const jn = function(o, ...e) {
|
|
|
128645
128647
|
},
|
|
128646
128648
|
/**
|
|
128647
128649
|
*
|
|
128648
|
-
* @param {
|
|
128650
|
+
* @param {number} projectId
|
|
128649
128651
|
* @param {*} [options] Override http request option.
|
|
128650
128652
|
* @throws {RequiredError}
|
|
128651
128653
|
*/
|
|
@@ -128656,7 +128658,7 @@ const jn = function(o, ...e) {
|
|
|
128656
128658
|
},
|
|
128657
128659
|
/**
|
|
128658
128660
|
*
|
|
128659
|
-
* @param {
|
|
128661
|
+
* @param {number} projectId
|
|
128660
128662
|
* @param {*} [options] Override http request option.
|
|
128661
128663
|
* @throws {RequiredError}
|
|
128662
128664
|
*/
|
|
@@ -128680,7 +128682,7 @@ const jn = function(o, ...e) {
|
|
|
128680
128682
|
class vBe extends hH {
|
|
128681
128683
|
/**
|
|
128682
128684
|
*
|
|
128683
|
-
* @param {
|
|
128685
|
+
* @param {number} projectId
|
|
128684
128686
|
* @param {CompileRequest} [compileRequest]
|
|
128685
128687
|
* @param {*} [options] Override http request option.
|
|
128686
128688
|
* @throws {RequiredError}
|
|
@@ -128690,7 +128692,7 @@ class vBe extends hH {
|
|
|
128690
128692
|
}
|
|
128691
128693
|
/**
|
|
128692
128694
|
*
|
|
128693
|
-
* @param {
|
|
128695
|
+
* @param {number} projectId
|
|
128694
128696
|
* @param {RunRequest} [runRequest]
|
|
128695
128697
|
* @param {*} [options] Override http request option.
|
|
128696
128698
|
* @throws {RequiredError}
|
|
@@ -128700,7 +128702,7 @@ class vBe extends hH {
|
|
|
128700
128702
|
}
|
|
128701
128703
|
/**
|
|
128702
128704
|
*
|
|
128703
|
-
* @param {
|
|
128705
|
+
* @param {number} projectId
|
|
128704
128706
|
* @param {*} [options] Override http request option.
|
|
128705
128707
|
* @throws {RequiredError}
|
|
128706
128708
|
*/
|
|
@@ -128709,7 +128711,7 @@ class vBe extends hH {
|
|
|
128709
128711
|
}
|
|
128710
128712
|
/**
|
|
128711
128713
|
*
|
|
128712
|
-
* @param {
|
|
128714
|
+
* @param {number} projectId
|
|
128713
128715
|
* @param {*} [options] Override http request option.
|
|
128714
128716
|
* @throws {RequiredError}
|
|
128715
128717
|
*/
|
|
@@ -128749,22 +128751,21 @@ const wBe = function(o) {
|
|
|
128749
128751
|
/**
|
|
128750
128752
|
*
|
|
128751
128753
|
* @param {string} fileId
|
|
128752
|
-
* @param {string} [file]
|
|
128753
128754
|
* @param {string} [body]
|
|
128754
128755
|
* @param {*} [options] Override http request option.
|
|
128755
128756
|
* @throws {RequiredError}
|
|
128756
128757
|
*/
|
|
128757
|
-
apiFilesFileIdMovePost: async (e, t, i
|
|
128758
|
+
apiFilesFileIdMovePost: async (e, t, i = {}) => {
|
|
128758
128759
|
Hs("apiFilesFileIdMovePost", "fileId", e);
|
|
128759
|
-
const
|
|
128760
|
-
let
|
|
128761
|
-
o && (
|
|
128762
|
-
const
|
|
128763
|
-
|
|
128764
|
-
let
|
|
128765
|
-
return
|
|
128766
|
-
url: qn(
|
|
128767
|
-
options:
|
|
128760
|
+
const n = "/api/files/{fileId}/move".replace("{fileId}", encodeURIComponent(String(e))), s = new URL(n, $n);
|
|
128761
|
+
let r;
|
|
128762
|
+
o && (r = o.baseOptions);
|
|
128763
|
+
const a = { method: "POST", ...r, ...i }, l = {}, c = {};
|
|
128764
|
+
l["Content-Type"] = "application/json", jn(s, c);
|
|
128765
|
+
let d = r && r.headers ? r.headers : {};
|
|
128766
|
+
return a.headers = { ...l, ...d, ...i.headers }, a.data = Kd(t, a, o), {
|
|
128767
|
+
url: qn(s),
|
|
128768
|
+
options: a
|
|
128768
128769
|
};
|
|
128769
128770
|
},
|
|
128770
128771
|
/**
|
|
@@ -128809,7 +128810,7 @@ const wBe = function(o) {
|
|
|
128809
128810
|
},
|
|
128810
128811
|
/**
|
|
128811
128812
|
*
|
|
128812
|
-
* @param {
|
|
128813
|
+
* @param {number} projectId
|
|
128813
128814
|
* @param {*} [options] Override http request option.
|
|
128814
128815
|
* @throws {RequiredError}
|
|
128815
128816
|
*/
|
|
@@ -128828,7 +128829,7 @@ const wBe = function(o) {
|
|
|
128828
128829
|
},
|
|
128829
128830
|
/**
|
|
128830
128831
|
*
|
|
128831
|
-
* @param {
|
|
128832
|
+
* @param {number} projectId
|
|
128832
128833
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
128833
128834
|
* @param {*} [options] Override http request option.
|
|
128834
128835
|
* @throws {RequiredError}
|
|
@@ -128848,7 +128849,7 @@ const wBe = function(o) {
|
|
|
128848
128849
|
},
|
|
128849
128850
|
/**
|
|
128850
128851
|
*
|
|
128851
|
-
* @param {
|
|
128852
|
+
* @param {number} projectId
|
|
128852
128853
|
* @param {CreateFileDto} [createFileDto]
|
|
128853
128854
|
* @param {*} [options] Override http request option.
|
|
128854
128855
|
* @throws {RequiredError}
|
|
@@ -128903,15 +128904,14 @@ const wBe = function(o) {
|
|
|
128903
128904
|
/**
|
|
128904
128905
|
*
|
|
128905
128906
|
* @param {string} fileId
|
|
128906
|
-
* @param {string} [file]
|
|
128907
128907
|
* @param {string} [body]
|
|
128908
128908
|
* @param {*} [options] Override http request option.
|
|
128909
128909
|
* @throws {RequiredError}
|
|
128910
128910
|
*/
|
|
128911
|
-
async apiFilesFileIdMovePost(t, i, n
|
|
128912
|
-
var
|
|
128913
|
-
const
|
|
128914
|
-
return (
|
|
128911
|
+
async apiFilesFileIdMovePost(t, i, n) {
|
|
128912
|
+
var l, c;
|
|
128913
|
+
const s = await e.apiFilesFileIdMovePost(t, i, n), r = (o == null ? void 0 : o.serverIndex) ?? 0, a = (c = (l = Un["FileApi.apiFilesFileIdMovePost"]) == null ? void 0 : l[r]) == null ? void 0 : c.url;
|
|
128914
|
+
return (d, h) => Gn(s, Mn, Pn, o)(d, a || h);
|
|
128915
128915
|
},
|
|
128916
128916
|
/**
|
|
128917
128917
|
*
|
|
@@ -128939,7 +128939,7 @@ const wBe = function(o) {
|
|
|
128939
128939
|
},
|
|
128940
128940
|
/**
|
|
128941
128941
|
*
|
|
128942
|
-
* @param {
|
|
128942
|
+
* @param {number} projectId
|
|
128943
128943
|
* @param {*} [options] Override http request option.
|
|
128944
128944
|
* @throws {RequiredError}
|
|
128945
128945
|
*/
|
|
@@ -128950,7 +128950,7 @@ const wBe = function(o) {
|
|
|
128950
128950
|
},
|
|
128951
128951
|
/**
|
|
128952
128952
|
*
|
|
128953
|
-
* @param {
|
|
128953
|
+
* @param {number} projectId
|
|
128954
128954
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
128955
128955
|
* @param {*} [options] Override http request option.
|
|
128956
128956
|
* @throws {RequiredError}
|
|
@@ -128962,7 +128962,7 @@ const wBe = function(o) {
|
|
|
128962
128962
|
},
|
|
128963
128963
|
/**
|
|
128964
128964
|
*
|
|
128965
|
-
* @param {
|
|
128965
|
+
* @param {number} projectId
|
|
128966
128966
|
* @param {CreateFileDto} [createFileDto]
|
|
128967
128967
|
* @param {*} [options] Override http request option.
|
|
128968
128968
|
* @throws {RequiredError}
|
|
@@ -128998,13 +128998,12 @@ class SBe extends hH {
|
|
|
128998
128998
|
/**
|
|
128999
128999
|
*
|
|
129000
129000
|
* @param {string} fileId
|
|
129001
|
-
* @param {string} [file]
|
|
129002
129001
|
* @param {string} [body]
|
|
129003
129002
|
* @param {*} [options] Override http request option.
|
|
129004
129003
|
* @throws {RequiredError}
|
|
129005
129004
|
*/
|
|
129006
|
-
apiFilesFileIdMovePost(e, t, i
|
|
129007
|
-
return
|
|
129005
|
+
apiFilesFileIdMovePost(e, t, i) {
|
|
129006
|
+
return iu(this.configuration).apiFilesFileIdMovePost(e, t, i).then((n) => n(this.axios, this.basePath));
|
|
129008
129007
|
}
|
|
129009
129008
|
/**
|
|
129010
129009
|
*
|
|
@@ -129028,7 +129027,7 @@ class SBe extends hH {
|
|
|
129028
129027
|
}
|
|
129029
129028
|
/**
|
|
129030
129029
|
*
|
|
129031
|
-
* @param {
|
|
129030
|
+
* @param {number} projectId
|
|
129032
129031
|
* @param {*} [options] Override http request option.
|
|
129033
129032
|
* @throws {RequiredError}
|
|
129034
129033
|
*/
|
|
@@ -129037,7 +129036,7 @@ class SBe extends hH {
|
|
|
129037
129036
|
}
|
|
129038
129037
|
/**
|
|
129039
129038
|
*
|
|
129040
|
-
* @param {
|
|
129039
|
+
* @param {number} projectId
|
|
129041
129040
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
129042
129041
|
* @param {*} [options] Override http request option.
|
|
129043
129042
|
* @throws {RequiredError}
|
|
@@ -129047,7 +129046,7 @@ class SBe extends hH {
|
|
|
129047
129046
|
}
|
|
129048
129047
|
/**
|
|
129049
129048
|
*
|
|
129050
|
-
* @param {
|
|
129049
|
+
* @param {number} projectId
|
|
129051
129050
|
* @param {CreateFileDto} [createFileDto]
|
|
129052
129051
|
* @param {*} [options] Override http request option.
|
|
129053
129052
|
* @throws {RequiredError}
|
|
@@ -129123,7 +129122,7 @@ const yBe = function(o) {
|
|
|
129123
129122
|
},
|
|
129124
129123
|
/**
|
|
129125
129124
|
*
|
|
129126
|
-
* @param {
|
|
129125
|
+
* @param {number} projectId
|
|
129127
129126
|
* @param {*} [options] Override http request option.
|
|
129128
129127
|
* @throws {RequiredError}
|
|
129129
129128
|
*/
|
|
@@ -129255,7 +129254,7 @@ const yBe = function(o) {
|
|
|
129255
129254
|
},
|
|
129256
129255
|
/**
|
|
129257
129256
|
*
|
|
129258
|
-
* @param {
|
|
129257
|
+
* @param {number} projectId
|
|
129259
129258
|
* @param {*} [options] Override http request option.
|
|
129260
129259
|
* @throws {RequiredError}
|
|
129261
129260
|
*/
|
|
@@ -129340,7 +129339,7 @@ class xBe extends hH {
|
|
|
129340
129339
|
}
|
|
129341
129340
|
/**
|
|
129342
129341
|
*
|
|
129343
|
-
* @param {
|
|
129342
|
+
* @param {number} projectId
|
|
129344
129343
|
* @param {*} [options] Override http request option.
|
|
129345
129344
|
* @throws {RequiredError}
|
|
129346
129345
|
*/
|
|
@@ -129413,23 +129412,22 @@ class jVe {
|
|
|
129413
129412
|
function LBe(o, e, t) {
|
|
129414
129413
|
const [i, n] = an(!1), [s, r] = an(e), [a, l] = an(o), [c, d] = an(""), h = new SBe(), u = new vBe(), [g, f] = an([]);
|
|
129415
129414
|
Gu(() => {
|
|
129416
|
-
a && t && !i && s && (f([]), Object.keys(t).forEach((M) => {
|
|
129415
|
+
a && t && !i && s && (f([]), console.log("работаем с файлами"), Object.keys(t).forEach((M) => {
|
|
129417
129416
|
h.apiFilesProjectProjectIdPost(a, {
|
|
129418
129417
|
name: M,
|
|
129419
129418
|
path: M
|
|
129420
129419
|
}).then((P) => {
|
|
129420
|
+
console.log(P);
|
|
129421
129421
|
const B = {
|
|
129422
129422
|
id: P.data,
|
|
129423
|
-
content: t[M]
|
|
129424
|
-
language: "csharp",
|
|
129425
|
-
modified: !1,
|
|
129426
|
-
name: M,
|
|
129427
|
-
path: M
|
|
129423
|
+
content: t[M]
|
|
129428
129424
|
};
|
|
129429
|
-
|
|
129425
|
+
h.apiFilesFileIdSavePost(B.id, {
|
|
129430
129426
|
content: t[M]
|
|
129427
|
+
}).then((H) => {
|
|
129428
|
+
r(!1);
|
|
129431
129429
|
});
|
|
129432
|
-
})
|
|
129430
|
+
});
|
|
129433
129431
|
}));
|
|
129434
129432
|
}, [a, t, s]), Gu(() => {
|
|
129435
129433
|
a && !i && !s && (f([]), h.apiFilesProjectIdGet(a).then((M) => {
|
|
@@ -129444,7 +129442,9 @@ function LBe(o, e, t) {
|
|
|
129444
129442
|
path: P.path
|
|
129445
129443
|
};
|
|
129446
129444
|
f((j) => [...j, H]);
|
|
129447
|
-
}).finally(() =>
|
|
129445
|
+
}).finally(() => {
|
|
129446
|
+
n(!0);
|
|
129447
|
+
});
|
|
129448
129448
|
});
|
|
129449
129449
|
}));
|
|
129450
129450
|
}, [a, t, s]);
|
|
@@ -129488,7 +129488,7 @@ function LBe(o, e, t) {
|
|
|
129488
129488
|
}, v = (M, P) => {
|
|
129489
129489
|
f((B) => B.map(
|
|
129490
129490
|
(j) => j.id === M ? { ...j, path: P, modified: !0 } : j
|
|
129491
|
-
)), h.apiFilesFileIdMovePost(M,
|
|
129491
|
+
)), h.apiFilesFileIdMovePost(M, P);
|
|
129492
129492
|
}, S = (M, P) => {
|
|
129493
129493
|
f(
|
|
129494
129494
|
(B) => B.map((H) => H.id === M ? { ...H, path: P, modified: !0 } : H)
|
|
@@ -129567,6 +129567,7 @@ function LBe(o, e, t) {
|
|
|
129567
129567
|
},
|
|
129568
129568
|
output: c,
|
|
129569
129569
|
saveAll: D,
|
|
129570
|
+
isInitialized: i,
|
|
129570
129571
|
history: []
|
|
129571
129572
|
};
|
|
129572
129573
|
}
|
|
@@ -129581,7 +129582,7 @@ const IBe = "RunContainer-module__runContainer___DQtil", kBe = "RunContainer-mod
|
|
|
129581
129582
|
saveIcon: MBe
|
|
129582
129583
|
}, PBe = (o) => /* @__PURE__ */ be.jsxs("div", { className: ic.runContainer, children: [
|
|
129583
129584
|
/* @__PURE__ */ be.jsxs("button", { className: ic.runButton, onClick: o.run, children: [
|
|
129584
|
-
/* @__PURE__ */ be.jsx(
|
|
129585
|
+
/* @__PURE__ */ be.jsx(Aoe, { className: ic.startIcon }),
|
|
129585
129586
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Run" })
|
|
129586
129587
|
] }),
|
|
129587
129588
|
/* @__PURE__ */ be.jsxs("button", { className: ic.stopButton, onClick: o.stop, children: [
|
|
@@ -129589,7 +129590,7 @@ const IBe = "RunContainer-module__runContainer___DQtil", kBe = "RunContainer-mod
|
|
|
129589
129590
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Stop" })
|
|
129590
129591
|
] }),
|
|
129591
129592
|
/* @__PURE__ */ be.jsxs("button", { className: ic.saveButton, onClick: o.save, children: [
|
|
129592
|
-
/* @__PURE__ */ be.jsx(
|
|
129593
|
+
/* @__PURE__ */ be.jsx(Boe, { className: ic.saveIcon }),
|
|
129593
129594
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Save" })
|
|
129594
129595
|
] })
|
|
129595
129596
|
] }), ABe = ({ id: o, isNew: e, data: t, setNodeHeight: i }) => {
|
|
@@ -129684,8 +129685,8 @@ Console.WriteLine("Hello, World!");`
|
|
|
129684
129685
|
/* @__PURE__ */ be.jsx("div", { className: "drag-handle__custom", children: /* @__PURE__ */ be.jsxs("div", { className: Vo.header, children: [
|
|
129685
129686
|
/* @__PURE__ */ be.jsx("h4", { children: "Code Block" }),
|
|
129686
129687
|
/* @__PURE__ */ be.jsxs("div", { className: Vo.shieldContainer, children: [
|
|
129687
|
-
/* @__PURE__ */ be.jsx(
|
|
129688
|
-
/* @__PURE__ */ be.jsx(
|
|
129688
|
+
/* @__PURE__ */ be.jsx(Voe, { className: Vo.shield }),
|
|
129689
|
+
/* @__PURE__ */ be.jsx(Uoe, { className: Vo.badge })
|
|
129689
129690
|
] }),
|
|
129690
129691
|
/* @__PURE__ */ be.jsx("button", { className: Vo.closeButton, onClick: q, children: P ? /* @__PURE__ */ be.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", children: /* @__PURE__ */ be.jsx("path", { d: "M4 8h8M8 4v8", stroke: "currentColor", strokeWidth: "2" }) }) : /* @__PURE__ */ be.jsx(Koe, { className: Vo.close }) })
|
|
129691
129692
|
] }) }),
|
|
@@ -129703,7 +129704,8 @@ Console.WriteLine("Hello, World!");`
|
|
|
129703
129704
|
onMove: fe,
|
|
129704
129705
|
onFolderRename: ae,
|
|
129705
129706
|
changeAllDocPath: ee
|
|
129706
|
-
}
|
|
129707
|
+
},
|
|
129708
|
+
n.length
|
|
129707
129709
|
),
|
|
129708
129710
|
/* @__PURE__ */ be.jsx(
|
|
129709
129711
|
"div",
|
package/dist/index.d.ts
CHANGED
|
@@ -49,34 +49,34 @@ declare interface CompilationError {
|
|
|
49
49
|
export declare class CompilerApi extends BaseAPI {
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @param {
|
|
52
|
+
* @param {number} projectId
|
|
53
53
|
* @param {CompileRequest} [compileRequest]
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
apiCompileProjectProjectIdCompilePost(projectId:
|
|
57
|
+
apiCompileProjectProjectIdCompilePost(projectId: number, compileRequest?: CompileRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<CompileResult, any, {}>>;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {number} projectId
|
|
61
61
|
* @param {RunRequest} [runRequest]
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
apiCompileProjectProjectIdRunPost(projectId:
|
|
65
|
+
apiCompileProjectProjectIdRunPost(projectId: number, runRequest?: RunRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<RunResult, any, {}>>;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
|
-
* @param {
|
|
68
|
+
* @param {number} projectId
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
apiCompileProjectProjectIdStatusGet(projectId:
|
|
72
|
+
apiCompileProjectProjectIdStatusGet(projectId: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<ProcessStatus, any, {}>>;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {number} projectId
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
apiCompileProjectProjectIdStopPost(projectId:
|
|
79
|
+
apiCompileProjectProjectIdStopPost(projectId: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @param {*} [options] Override http request option.
|
|
@@ -94,7 +94,7 @@ declare interface CompileResult {
|
|
|
94
94
|
'success'?: boolean;
|
|
95
95
|
'output'?: string | null;
|
|
96
96
|
'errors'?: Array<CompilationError> | null;
|
|
97
|
-
'projectId'?:
|
|
97
|
+
'projectId'?: number;
|
|
98
98
|
'compiledAt'?: string;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -103,13 +103,13 @@ export declare const CompilerWidget: default_2.NamedExoticComponent<CompilerWidg
|
|
|
103
103
|
export declare const CompilerWidgetNode: (props: any) => JSX.Element;
|
|
104
104
|
|
|
105
105
|
declare interface CompilerWidgetProps {
|
|
106
|
-
id:
|
|
106
|
+
id: number;
|
|
107
107
|
isNew: boolean;
|
|
108
108
|
data?: {
|
|
109
109
|
initialFiles?: Record<string, string>;
|
|
110
110
|
language?: 'csharp' | 'js';
|
|
111
111
|
};
|
|
112
|
-
setNodeHeight?: (id:
|
|
112
|
+
setNodeHeight?: (id: number, height: number) => void;
|
|
113
113
|
getInfo?: (info: GetInfoModel_2) => void;
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -218,12 +218,11 @@ export declare class FileApi extends BaseAPI {
|
|
|
218
218
|
/**
|
|
219
219
|
*
|
|
220
220
|
* @param {string} fileId
|
|
221
|
-
* @param {string} [file]
|
|
222
221
|
* @param {string} [body]
|
|
223
222
|
* @param {*} [options] Override http request option.
|
|
224
223
|
* @throws {RequiredError}
|
|
225
224
|
*/
|
|
226
|
-
apiFilesFileIdMovePost(fileId: string,
|
|
225
|
+
apiFilesFileIdMovePost(fileId: string, body?: string, options?: RawAxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
227
226
|
/**
|
|
228
227
|
*
|
|
229
228
|
* @param {string} fileId
|
|
@@ -242,27 +241,27 @@ export declare class FileApi extends BaseAPI {
|
|
|
242
241
|
apiFilesFileIdSavePost(fileId: string, updateFileDto?: UpdateFileDto, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string, any, {}>>;
|
|
243
242
|
/**
|
|
244
243
|
*
|
|
245
|
-
* @param {
|
|
244
|
+
* @param {number} projectId
|
|
246
245
|
* @param {*} [options] Override http request option.
|
|
247
246
|
* @throws {RequiredError}
|
|
248
247
|
*/
|
|
249
|
-
apiFilesProjectIdGet(projectId:
|
|
248
|
+
apiFilesProjectIdGet(projectId: number, options?: RawAxiosRequestConfig): Promise<AxiosResponse<FileMetadata[], any, {}>>;
|
|
250
249
|
/**
|
|
251
250
|
*
|
|
252
|
-
* @param {
|
|
251
|
+
* @param {number} projectId
|
|
253
252
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
254
253
|
* @param {*} [options] Override http request option.
|
|
255
254
|
* @throws {RequiredError}
|
|
256
255
|
*/
|
|
257
|
-
apiFilesProjectProjectIdChangeAllPathsPost(projectId:
|
|
256
|
+
apiFilesProjectProjectIdChangeAllPathsPost(projectId: number, pathChangeRequest?: PathChangeRequest, options?: RawAxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
258
257
|
/**
|
|
259
258
|
*
|
|
260
|
-
* @param {
|
|
259
|
+
* @param {number} projectId
|
|
261
260
|
* @param {CreateFileDto} [createFileDto]
|
|
262
261
|
* @param {*} [options] Override http request option.
|
|
263
262
|
* @throws {RequiredError}
|
|
264
263
|
*/
|
|
265
|
-
apiFilesProjectProjectIdPost(projectId:
|
|
264
|
+
apiFilesProjectProjectIdPost(projectId: number, createFileDto?: CreateFileDto, options?: RawAxiosRequestConfig): Promise<AxiosResponse<string, any, {}>>;
|
|
266
265
|
/**
|
|
267
266
|
*
|
|
268
267
|
* @param {string} fileId
|
|
@@ -289,7 +288,7 @@ declare interface FileExplorerProps {
|
|
|
289
288
|
declare interface FileMetadata {
|
|
290
289
|
'fileId'?: string;
|
|
291
290
|
'fileName'?: string | null;
|
|
292
|
-
'projectId'?:
|
|
291
|
+
'projectId'?: number;
|
|
293
292
|
'path'?: string | null;
|
|
294
293
|
'physicalPath'?: string | null;
|
|
295
294
|
'existsOnDisk'?: boolean;
|
|
@@ -328,6 +327,7 @@ declare interface MonacoEditorWrapperProps {
|
|
|
328
327
|
language: string;
|
|
329
328
|
onChange: (value: string) => void;
|
|
330
329
|
theme?: string;
|
|
330
|
+
filename?: string;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
export declare const OutputPanel: default_2.FC<OutputPanelProps>;
|
|
@@ -343,7 +343,7 @@ declare interface PathChangeRequest {
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
declare interface ProcessStatus {
|
|
346
|
-
'projectId'?:
|
|
346
|
+
'projectId'?: number;
|
|
347
347
|
'isRunning'?: boolean;
|
|
348
348
|
'processId'?: string | null;
|
|
349
349
|
'startedAt'?: string | null;
|
|
@@ -363,7 +363,7 @@ declare interface RunContainerProps {
|
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
declare interface RunningProjectInfo {
|
|
366
|
-
'projectId'?:
|
|
366
|
+
'projectId'?: number;
|
|
367
367
|
'processId'?: string | null;
|
|
368
368
|
'startedAt'?: string;
|
|
369
369
|
'uptime'?: string;
|
|
@@ -382,7 +382,7 @@ declare interface RunResult {
|
|
|
382
382
|
'output'?: string | null;
|
|
383
383
|
'errors'?: Array<CompilationError> | null;
|
|
384
384
|
'processId'?: string | null;
|
|
385
|
-
'projectId'?:
|
|
385
|
+
'projectId'?: number;
|
|
386
386
|
'startedAt'?: string;
|
|
387
387
|
}
|
|
388
388
|
|
|
@@ -390,14 +390,14 @@ declare interface UpdateFileDto {
|
|
|
390
390
|
'content'?: string | null;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
export declare function useCompiler(id:
|
|
393
|
+
export declare function useCompiler(id: number, isNew: boolean, initialFiles?: Record<string, string>): {
|
|
394
394
|
documents: EditorDocument[];
|
|
395
395
|
selectedDocument: EditorDocument | null;
|
|
396
396
|
selectedId: string | null;
|
|
397
397
|
setSelectedId: Dispatch<SetStateAction<string | null>>;
|
|
398
398
|
setDocumentContent: (id: string, newContent: string) => void;
|
|
399
399
|
addDocument: (fileName?: string, path?: string) => void;
|
|
400
|
-
updatePath: (id:
|
|
400
|
+
updatePath: (id: number, oldPath: string, newPath: string) => void;
|
|
401
401
|
updateDocPath: (fileId: string, newPath: string) => void;
|
|
402
402
|
updateDocument: (id: string, patch: Partial<EditorDocument>) => void;
|
|
403
403
|
deleteDocument: (id: string) => void;
|
|
@@ -406,6 +406,7 @@ export declare function useCompiler(id: string, isNew: boolean, initialFiles?: R
|
|
|
406
406
|
stop: () => void;
|
|
407
407
|
output: string;
|
|
408
408
|
saveAll: () => void;
|
|
409
|
+
isInitialized: boolean;
|
|
409
410
|
history: never[];
|
|
410
411
|
};
|
|
411
412
|
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as o, b as r, C as p, i as s, g as t, F as l, d as n, O as C, f as m, j as u, u as d } from "./index-
|
|
1
|
+
import { h as o, b as r, C as p, i as s, g as t, F as l, d as n, O as C, f as m, j as u, u as d } from "./index-BPcZxg8h.js";
|
|
2
2
|
import "@xyflow/react";
|
|
3
3
|
export {
|
|
4
4
|
o as CompilerApi,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as P, l as _, e as B } from "./index-
|
|
2
|
-
import { f as y, g as J, C as Q, H as Y, b as G, d as X, F as Z, S as $, e as K } from "./lspLanguageFeatures-
|
|
3
|
-
import { a as Ae, D as Oe, h as Ie, R as Ne, c as Le, i as Ee, j as Ue, t as De, k as Be } from "./lspLanguageFeatures-
|
|
1
|
+
import { c as P, l as _, e as B } from "./index-BPcZxg8h.js";
|
|
2
|
+
import { f as y, g as J, C as Q, H as Y, b as G, d as X, F as Z, S as $, e as K } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
3
|
+
import { a as Ae, D as Oe, h as Ie, R as Ne, c as Le, i as Ee, j as Ue, t as De, k as Be } from "./lspLanguageFeatures-BuEpM3Np.js";
|
|
4
4
|
const x = 2 * 60 * 1e3;
|
|
5
5
|
class C {
|
|
6
6
|
constructor(i) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as M, e as w, U as F, a as P, M as v, l as f, t as K, R as O } from "./index-
|
|
1
|
+
import { c as M, e as w, U as F, a as P, M as v, l as f, t as K, R as O } from "./index-BPcZxg8h.js";
|
|
2
2
|
class E {
|
|
3
3
|
constructor(e, t) {
|
|
4
4
|
this._modeId = e, this._defaults = t, this._worker = null, this._client = null, this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker()), this._updateExtraLibsToken = 0, this._extraLibsChangeListener = this._defaults.onDidExtraLibsChange(
|