online-compiler-widget 1.0.10 → 1.0.11
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-C6z30QST.js} +3 -3
- package/dist/{freemarker2-DcRJH9oD.js → freemarker2-DKa_Zv1U.js} +1 -1
- package/dist/{handlebars-BINL02dC.js → handlebars-BCVtM77c.js} +1 -1
- package/dist/{html-CJLDjzkp.js → html-BW183-uX.js} +1 -1
- package/dist/{htmlMode-C9FIrAv6.js → htmlMode-CzkKS6AH.js} +3 -3
- package/dist/{index-DYML3xdL.js → index-TBxGcLDr.js} +96 -98
- package/dist/index.d.ts +24 -25
- package/dist/index.js +1 -1
- package/dist/{javascript-4uzPZ3GB.js → javascript-ChIuHybO.js} +1 -1
- package/dist/{jsonMode-BdrGJy08.js → jsonMode-BOEyVRO3.js} +3 -3
- package/dist/{liquid-BkyyC0EJ.js → liquid-DernPXSN.js} +1 -1
- package/dist/{lspLanguageFeatures-B8lZmjR3.js → lspLanguageFeatures-Rt7Ry-Qs.js} +1 -1
- package/dist/{mdx-Db6L3M2N.js → mdx-Bp88Nhb7.js} +1 -1
- package/dist/{python-C9BsN9vk.js → python-C27YS0DX.js} +1 -1
- package/dist/{razor-CWyArdxi.js → razor-s_IrYBoj.js} +1 -1
- package/dist/{tsMode-Dr_xzpYd.js → tsMode-B5nLXDIj.js} +1 -1
- package/dist/{typescript-SyGojMBH.js → typescript-BcNkHkCK.js} +1 -1
- package/dist/{xml-WWNE5csE.js → xml-CL5jdyRa.js} +1 -1
- package/dist/{yaml-osEI61b6.js → yaml-D63jmIvy.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-TBxGcLDr.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-Rt7Ry-Qs.js";
|
|
3
|
+
import { h as b, i as H, j as y, t as U, k as T } from "./lspLanguageFeatures-Rt7Ry-Qs.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-TBxGcLDr.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-Rt7Ry-Qs.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-Rt7Ry-Qs.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-C6z30QST.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-CzkKS6AH.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-BOEyVRO3.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-B5nLXDIj.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-DKa_Zv1U.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-DKa_Zv1U.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-DKa_Zv1U.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-DKa_Zv1U.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-DKa_Zv1U.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-DKa_Zv1U.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-DKa_Zv1U.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-BCVtM77c.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-BW183-uX.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-ChIuHybO.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-DernPXSN.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-Bp88Nhb7.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-C27YS0DX.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-s_IrYBoj.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-BcNkHkCK.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-CL5jdyRa.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-D63jmIvy.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) {
|
|
@@ -128522,7 +128523,7 @@ const jn = function(o, ...e) {
|
|
|
128522
128523
|
return {
|
|
128523
128524
|
/**
|
|
128524
128525
|
*
|
|
128525
|
-
* @param {
|
|
128526
|
+
* @param {number} projectId
|
|
128526
128527
|
* @param {CompileRequest} [compileRequest]
|
|
128527
128528
|
* @param {*} [options] Override http request option.
|
|
128528
128529
|
* @throws {RequiredError}
|
|
@@ -128542,7 +128543,7 @@ const jn = function(o, ...e) {
|
|
|
128542
128543
|
},
|
|
128543
128544
|
/**
|
|
128544
128545
|
*
|
|
128545
|
-
* @param {
|
|
128546
|
+
* @param {number} projectId
|
|
128546
128547
|
* @param {RunRequest} [runRequest]
|
|
128547
128548
|
* @param {*} [options] Override http request option.
|
|
128548
128549
|
* @throws {RequiredError}
|
|
@@ -128562,7 +128563,7 @@ const jn = function(o, ...e) {
|
|
|
128562
128563
|
},
|
|
128563
128564
|
/**
|
|
128564
128565
|
*
|
|
128565
|
-
* @param {
|
|
128566
|
+
* @param {number} projectId
|
|
128566
128567
|
* @param {*} [options] Override http request option.
|
|
128567
128568
|
* @throws {RequiredError}
|
|
128568
128569
|
*/
|
|
@@ -128581,7 +128582,7 @@ const jn = function(o, ...e) {
|
|
|
128581
128582
|
},
|
|
128582
128583
|
/**
|
|
128583
128584
|
*
|
|
128584
|
-
* @param {
|
|
128585
|
+
* @param {number} projectId
|
|
128585
128586
|
* @param {*} [options] Override http request option.
|
|
128586
128587
|
* @throws {RequiredError}
|
|
128587
128588
|
*/
|
|
@@ -128621,7 +128622,7 @@ const jn = function(o, ...e) {
|
|
|
128621
128622
|
return {
|
|
128622
128623
|
/**
|
|
128623
128624
|
*
|
|
128624
|
-
* @param {
|
|
128625
|
+
* @param {number} projectId
|
|
128625
128626
|
* @param {CompileRequest} [compileRequest]
|
|
128626
128627
|
* @param {*} [options] Override http request option.
|
|
128627
128628
|
* @throws {RequiredError}
|
|
@@ -128633,7 +128634,7 @@ const jn = function(o, ...e) {
|
|
|
128633
128634
|
},
|
|
128634
128635
|
/**
|
|
128635
128636
|
*
|
|
128636
|
-
* @param {
|
|
128637
|
+
* @param {number} projectId
|
|
128637
128638
|
* @param {RunRequest} [runRequest]
|
|
128638
128639
|
* @param {*} [options] Override http request option.
|
|
128639
128640
|
* @throws {RequiredError}
|
|
@@ -128645,7 +128646,7 @@ const jn = function(o, ...e) {
|
|
|
128645
128646
|
},
|
|
128646
128647
|
/**
|
|
128647
128648
|
*
|
|
128648
|
-
* @param {
|
|
128649
|
+
* @param {number} projectId
|
|
128649
128650
|
* @param {*} [options] Override http request option.
|
|
128650
128651
|
* @throws {RequiredError}
|
|
128651
128652
|
*/
|
|
@@ -128656,7 +128657,7 @@ const jn = function(o, ...e) {
|
|
|
128656
128657
|
},
|
|
128657
128658
|
/**
|
|
128658
128659
|
*
|
|
128659
|
-
* @param {
|
|
128660
|
+
* @param {number} projectId
|
|
128660
128661
|
* @param {*} [options] Override http request option.
|
|
128661
128662
|
* @throws {RequiredError}
|
|
128662
128663
|
*/
|
|
@@ -128680,7 +128681,7 @@ const jn = function(o, ...e) {
|
|
|
128680
128681
|
class vBe extends hH {
|
|
128681
128682
|
/**
|
|
128682
128683
|
*
|
|
128683
|
-
* @param {
|
|
128684
|
+
* @param {number} projectId
|
|
128684
128685
|
* @param {CompileRequest} [compileRequest]
|
|
128685
128686
|
* @param {*} [options] Override http request option.
|
|
128686
128687
|
* @throws {RequiredError}
|
|
@@ -128690,7 +128691,7 @@ class vBe extends hH {
|
|
|
128690
128691
|
}
|
|
128691
128692
|
/**
|
|
128692
128693
|
*
|
|
128693
|
-
* @param {
|
|
128694
|
+
* @param {number} projectId
|
|
128694
128695
|
* @param {RunRequest} [runRequest]
|
|
128695
128696
|
* @param {*} [options] Override http request option.
|
|
128696
128697
|
* @throws {RequiredError}
|
|
@@ -128700,7 +128701,7 @@ class vBe extends hH {
|
|
|
128700
128701
|
}
|
|
128701
128702
|
/**
|
|
128702
128703
|
*
|
|
128703
|
-
* @param {
|
|
128704
|
+
* @param {number} projectId
|
|
128704
128705
|
* @param {*} [options] Override http request option.
|
|
128705
128706
|
* @throws {RequiredError}
|
|
128706
128707
|
*/
|
|
@@ -128709,7 +128710,7 @@ class vBe extends hH {
|
|
|
128709
128710
|
}
|
|
128710
128711
|
/**
|
|
128711
128712
|
*
|
|
128712
|
-
* @param {
|
|
128713
|
+
* @param {number} projectId
|
|
128713
128714
|
* @param {*} [options] Override http request option.
|
|
128714
128715
|
* @throws {RequiredError}
|
|
128715
128716
|
*/
|
|
@@ -128749,22 +128750,21 @@ const wBe = function(o) {
|
|
|
128749
128750
|
/**
|
|
128750
128751
|
*
|
|
128751
128752
|
* @param {string} fileId
|
|
128752
|
-
* @param {string} [file]
|
|
128753
128753
|
* @param {string} [body]
|
|
128754
128754
|
* @param {*} [options] Override http request option.
|
|
128755
128755
|
* @throws {RequiredError}
|
|
128756
128756
|
*/
|
|
128757
|
-
apiFilesFileIdMovePost: async (e, t, i
|
|
128757
|
+
apiFilesFileIdMovePost: async (e, t, i = {}) => {
|
|
128758
128758
|
Hs("apiFilesFileIdMovePost", "fileId", e);
|
|
128759
|
-
const
|
|
128760
|
-
let
|
|
128761
|
-
o && (
|
|
128762
|
-
const
|
|
128763
|
-
|
|
128764
|
-
let
|
|
128765
|
-
return
|
|
128766
|
-
url: qn(
|
|
128767
|
-
options:
|
|
128759
|
+
const n = "/api/files/{fileId}/move".replace("{fileId}", encodeURIComponent(String(e))), s = new URL(n, $n);
|
|
128760
|
+
let r;
|
|
128761
|
+
o && (r = o.baseOptions);
|
|
128762
|
+
const a = { method: "POST", ...r, ...i }, l = {}, c = {};
|
|
128763
|
+
l["Content-Type"] = "application/json", jn(s, c);
|
|
128764
|
+
let d = r && r.headers ? r.headers : {};
|
|
128765
|
+
return a.headers = { ...l, ...d, ...i.headers }, a.data = Kd(t, a, o), {
|
|
128766
|
+
url: qn(s),
|
|
128767
|
+
options: a
|
|
128768
128768
|
};
|
|
128769
128769
|
},
|
|
128770
128770
|
/**
|
|
@@ -128809,7 +128809,7 @@ const wBe = function(o) {
|
|
|
128809
128809
|
},
|
|
128810
128810
|
/**
|
|
128811
128811
|
*
|
|
128812
|
-
* @param {
|
|
128812
|
+
* @param {number} projectId
|
|
128813
128813
|
* @param {*} [options] Override http request option.
|
|
128814
128814
|
* @throws {RequiredError}
|
|
128815
128815
|
*/
|
|
@@ -128828,7 +128828,7 @@ const wBe = function(o) {
|
|
|
128828
128828
|
},
|
|
128829
128829
|
/**
|
|
128830
128830
|
*
|
|
128831
|
-
* @param {
|
|
128831
|
+
* @param {number} projectId
|
|
128832
128832
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
128833
128833
|
* @param {*} [options] Override http request option.
|
|
128834
128834
|
* @throws {RequiredError}
|
|
@@ -128848,7 +128848,7 @@ const wBe = function(o) {
|
|
|
128848
128848
|
},
|
|
128849
128849
|
/**
|
|
128850
128850
|
*
|
|
128851
|
-
* @param {
|
|
128851
|
+
* @param {number} projectId
|
|
128852
128852
|
* @param {CreateFileDto} [createFileDto]
|
|
128853
128853
|
* @param {*} [options] Override http request option.
|
|
128854
128854
|
* @throws {RequiredError}
|
|
@@ -128903,15 +128903,14 @@ const wBe = function(o) {
|
|
|
128903
128903
|
/**
|
|
128904
128904
|
*
|
|
128905
128905
|
* @param {string} fileId
|
|
128906
|
-
* @param {string} [file]
|
|
128907
128906
|
* @param {string} [body]
|
|
128908
128907
|
* @param {*} [options] Override http request option.
|
|
128909
128908
|
* @throws {RequiredError}
|
|
128910
128909
|
*/
|
|
128911
|
-
async apiFilesFileIdMovePost(t, i, n
|
|
128912
|
-
var
|
|
128913
|
-
const
|
|
128914
|
-
return (
|
|
128910
|
+
async apiFilesFileIdMovePost(t, i, n) {
|
|
128911
|
+
var l, c;
|
|
128912
|
+
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;
|
|
128913
|
+
return (d, h) => Gn(s, Mn, Pn, o)(d, a || h);
|
|
128915
128914
|
},
|
|
128916
128915
|
/**
|
|
128917
128916
|
*
|
|
@@ -128939,7 +128938,7 @@ const wBe = function(o) {
|
|
|
128939
128938
|
},
|
|
128940
128939
|
/**
|
|
128941
128940
|
*
|
|
128942
|
-
* @param {
|
|
128941
|
+
* @param {number} projectId
|
|
128943
128942
|
* @param {*} [options] Override http request option.
|
|
128944
128943
|
* @throws {RequiredError}
|
|
128945
128944
|
*/
|
|
@@ -128950,7 +128949,7 @@ const wBe = function(o) {
|
|
|
128950
128949
|
},
|
|
128951
128950
|
/**
|
|
128952
128951
|
*
|
|
128953
|
-
* @param {
|
|
128952
|
+
* @param {number} projectId
|
|
128954
128953
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
128955
128954
|
* @param {*} [options] Override http request option.
|
|
128956
128955
|
* @throws {RequiredError}
|
|
@@ -128962,7 +128961,7 @@ const wBe = function(o) {
|
|
|
128962
128961
|
},
|
|
128963
128962
|
/**
|
|
128964
128963
|
*
|
|
128965
|
-
* @param {
|
|
128964
|
+
* @param {number} projectId
|
|
128966
128965
|
* @param {CreateFileDto} [createFileDto]
|
|
128967
128966
|
* @param {*} [options] Override http request option.
|
|
128968
128967
|
* @throws {RequiredError}
|
|
@@ -128998,13 +128997,12 @@ class SBe extends hH {
|
|
|
128998
128997
|
/**
|
|
128999
128998
|
*
|
|
129000
128999
|
* @param {string} fileId
|
|
129001
|
-
* @param {string} [file]
|
|
129002
129000
|
* @param {string} [body]
|
|
129003
129001
|
* @param {*} [options] Override http request option.
|
|
129004
129002
|
* @throws {RequiredError}
|
|
129005
129003
|
*/
|
|
129006
|
-
apiFilesFileIdMovePost(e, t, i
|
|
129007
|
-
return
|
|
129004
|
+
apiFilesFileIdMovePost(e, t, i) {
|
|
129005
|
+
return iu(this.configuration).apiFilesFileIdMovePost(e, t, i).then((n) => n(this.axios, this.basePath));
|
|
129008
129006
|
}
|
|
129009
129007
|
/**
|
|
129010
129008
|
*
|
|
@@ -129028,7 +129026,7 @@ class SBe extends hH {
|
|
|
129028
129026
|
}
|
|
129029
129027
|
/**
|
|
129030
129028
|
*
|
|
129031
|
-
* @param {
|
|
129029
|
+
* @param {number} projectId
|
|
129032
129030
|
* @param {*} [options] Override http request option.
|
|
129033
129031
|
* @throws {RequiredError}
|
|
129034
129032
|
*/
|
|
@@ -129037,7 +129035,7 @@ class SBe extends hH {
|
|
|
129037
129035
|
}
|
|
129038
129036
|
/**
|
|
129039
129037
|
*
|
|
129040
|
-
* @param {
|
|
129038
|
+
* @param {number} projectId
|
|
129041
129039
|
* @param {PathChangeRequest} [pathChangeRequest]
|
|
129042
129040
|
* @param {*} [options] Override http request option.
|
|
129043
129041
|
* @throws {RequiredError}
|
|
@@ -129047,7 +129045,7 @@ class SBe extends hH {
|
|
|
129047
129045
|
}
|
|
129048
129046
|
/**
|
|
129049
129047
|
*
|
|
129050
|
-
* @param {
|
|
129048
|
+
* @param {number} projectId
|
|
129051
129049
|
* @param {CreateFileDto} [createFileDto]
|
|
129052
129050
|
* @param {*} [options] Override http request option.
|
|
129053
129051
|
* @throws {RequiredError}
|
|
@@ -129123,7 +129121,7 @@ const yBe = function(o) {
|
|
|
129123
129121
|
},
|
|
129124
129122
|
/**
|
|
129125
129123
|
*
|
|
129126
|
-
* @param {
|
|
129124
|
+
* @param {number} projectId
|
|
129127
129125
|
* @param {*} [options] Override http request option.
|
|
129128
129126
|
* @throws {RequiredError}
|
|
129129
129127
|
*/
|
|
@@ -129255,7 +129253,7 @@ const yBe = function(o) {
|
|
|
129255
129253
|
},
|
|
129256
129254
|
/**
|
|
129257
129255
|
*
|
|
129258
|
-
* @param {
|
|
129256
|
+
* @param {number} projectId
|
|
129259
129257
|
* @param {*} [options] Override http request option.
|
|
129260
129258
|
* @throws {RequiredError}
|
|
129261
129259
|
*/
|
|
@@ -129340,7 +129338,7 @@ class xBe extends hH {
|
|
|
129340
129338
|
}
|
|
129341
129339
|
/**
|
|
129342
129340
|
*
|
|
129343
|
-
* @param {
|
|
129341
|
+
* @param {number} projectId
|
|
129344
129342
|
* @param {*} [options] Override http request option.
|
|
129345
129343
|
* @throws {RequiredError}
|
|
129346
129344
|
*/
|
|
@@ -129488,7 +129486,7 @@ function LBe(o, e, t) {
|
|
|
129488
129486
|
}, v = (M, P) => {
|
|
129489
129487
|
f((B) => B.map(
|
|
129490
129488
|
(j) => j.id === M ? { ...j, path: P, modified: !0 } : j
|
|
129491
|
-
)), h.apiFilesFileIdMovePost(M,
|
|
129489
|
+
)), h.apiFilesFileIdMovePost(M, P);
|
|
129492
129490
|
}, S = (M, P) => {
|
|
129493
129491
|
f(
|
|
129494
129492
|
(B) => B.map((H) => H.id === M ? { ...H, path: P, modified: !0 } : H)
|
|
@@ -129581,7 +129579,7 @@ const IBe = "RunContainer-module__runContainer___DQtil", kBe = "RunContainer-mod
|
|
|
129581
129579
|
saveIcon: MBe
|
|
129582
129580
|
}, PBe = (o) => /* @__PURE__ */ be.jsxs("div", { className: ic.runContainer, children: [
|
|
129583
129581
|
/* @__PURE__ */ be.jsxs("button", { className: ic.runButton, onClick: o.run, children: [
|
|
129584
|
-
/* @__PURE__ */ be.jsx(
|
|
129582
|
+
/* @__PURE__ */ be.jsx(Aoe, { className: ic.startIcon }),
|
|
129585
129583
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Run" })
|
|
129586
129584
|
] }),
|
|
129587
129585
|
/* @__PURE__ */ be.jsxs("button", { className: ic.stopButton, onClick: o.stop, children: [
|
|
@@ -129589,7 +129587,7 @@ const IBe = "RunContainer-module__runContainer___DQtil", kBe = "RunContainer-mod
|
|
|
129589
129587
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Stop" })
|
|
129590
129588
|
] }),
|
|
129591
129589
|
/* @__PURE__ */ be.jsxs("button", { className: ic.saveButton, onClick: o.save, children: [
|
|
129592
|
-
/* @__PURE__ */ be.jsx(
|
|
129590
|
+
/* @__PURE__ */ be.jsx(Boe, { className: ic.saveIcon }),
|
|
129593
129591
|
/* @__PURE__ */ be.jsx("p", { className: ic.runText, children: "Save" })
|
|
129594
129592
|
] })
|
|
129595
129593
|
] }), ABe = ({ id: o, isNew: e, data: t, setNodeHeight: i }) => {
|
|
@@ -129684,8 +129682,8 @@ Console.WriteLine("Hello, World!");`
|
|
|
129684
129682
|
/* @__PURE__ */ be.jsx("div", { className: "drag-handle__custom", children: /* @__PURE__ */ be.jsxs("div", { className: Vo.header, children: [
|
|
129685
129683
|
/* @__PURE__ */ be.jsx("h4", { children: "Code Block" }),
|
|
129686
129684
|
/* @__PURE__ */ be.jsxs("div", { className: Vo.shieldContainer, children: [
|
|
129687
|
-
/* @__PURE__ */ be.jsx(
|
|
129688
|
-
/* @__PURE__ */ be.jsx(
|
|
129685
|
+
/* @__PURE__ */ be.jsx(Voe, { className: Vo.shield }),
|
|
129686
|
+
/* @__PURE__ */ be.jsx(Uoe, { className: Vo.badge })
|
|
129689
129687
|
] }),
|
|
129690
129688
|
/* @__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
129689
|
] }) }),
|
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;
|
|
@@ -343,7 +342,7 @@ declare interface PathChangeRequest {
|
|
|
343
342
|
}
|
|
344
343
|
|
|
345
344
|
declare interface ProcessStatus {
|
|
346
|
-
'projectId'?:
|
|
345
|
+
'projectId'?: number;
|
|
347
346
|
'isRunning'?: boolean;
|
|
348
347
|
'processId'?: string | null;
|
|
349
348
|
'startedAt'?: string | null;
|
|
@@ -363,7 +362,7 @@ declare interface RunContainerProps {
|
|
|
363
362
|
}
|
|
364
363
|
|
|
365
364
|
declare interface RunningProjectInfo {
|
|
366
|
-
'projectId'?:
|
|
365
|
+
'projectId'?: number;
|
|
367
366
|
'processId'?: string | null;
|
|
368
367
|
'startedAt'?: string;
|
|
369
368
|
'uptime'?: string;
|
|
@@ -382,7 +381,7 @@ declare interface RunResult {
|
|
|
382
381
|
'output'?: string | null;
|
|
383
382
|
'errors'?: Array<CompilationError> | null;
|
|
384
383
|
'processId'?: string | null;
|
|
385
|
-
'projectId'?:
|
|
384
|
+
'projectId'?: number;
|
|
386
385
|
'startedAt'?: string;
|
|
387
386
|
}
|
|
388
387
|
|
|
@@ -390,14 +389,14 @@ declare interface UpdateFileDto {
|
|
|
390
389
|
'content'?: string | null;
|
|
391
390
|
}
|
|
392
391
|
|
|
393
|
-
export declare function useCompiler(id:
|
|
392
|
+
export declare function useCompiler(id: number, isNew: boolean, initialFiles?: Record<string, string>): {
|
|
394
393
|
documents: EditorDocument[];
|
|
395
394
|
selectedDocument: EditorDocument | null;
|
|
396
395
|
selectedId: string | null;
|
|
397
396
|
setSelectedId: Dispatch<SetStateAction<string | null>>;
|
|
398
397
|
setDocumentContent: (id: string, newContent: string) => void;
|
|
399
398
|
addDocument: (fileName?: string, path?: string) => void;
|
|
400
|
-
updatePath: (id:
|
|
399
|
+
updatePath: (id: number, oldPath: string, newPath: string) => void;
|
|
401
400
|
updateDocPath: (fileId: string, newPath: string) => void;
|
|
402
401
|
updateDocument: (id: string, patch: Partial<EditorDocument>) => void;
|
|
403
402
|
deleteDocument: (id: string) => void;
|
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-TBxGcLDr.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-TBxGcLDr.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-Rt7Ry-Qs.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-Rt7Ry-Qs.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-TBxGcLDr.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(
|