@dxs-ts/eveli-ide 0.0.35 → 0.0.36
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/build/index.js +15 -23
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1092,15 +1092,7 @@ const EF = (e, t) => {
|
|
|
1092
1092
|
return /* @__PURE__ */ ee(Ue, { children: [
|
|
1093
1093
|
/* @__PURE__ */ w(Cc, { children: /* @__PURE__ */ w(fe, { id: n }) }),
|
|
1094
1094
|
/* @__PURE__ */ ee(zF, { variant: "outlined", fullWidth: !0, children: [
|
|
1095
|
-
/* @__PURE__ */ w(
|
|
1096
|
-
"input",
|
|
1097
|
-
{
|
|
1098
|
-
type: "file",
|
|
1099
|
-
hidden: !0,
|
|
1100
|
-
ref: l,
|
|
1101
|
-
onChange: (u) => a
|
|
1102
|
-
}
|
|
1103
|
-
),
|
|
1095
|
+
/* @__PURE__ */ w("input", { type: "file", hidden: !0, ref: l, accept: "json", onChange: a }),
|
|
1104
1096
|
/* @__PURE__ */ w(
|
|
1105
1097
|
WF,
|
|
1106
1098
|
{
|
|
@@ -48010,7 +48002,7 @@ const AX = ({ site: e }) => {
|
|
|
48010
48002
|
] })
|
|
48011
48003
|
}
|
|
48012
48004
|
);
|
|
48013
|
-
}, sc = { tag: "eveli-ide-0.0.
|
|
48005
|
+
}, sc = { tag: "eveli-ide-0.0.36", built: "04/11/2024" }, DX = (e, t, n) => {
|
|
48014
48006
|
var i, r, s, o, l, a, u, d;
|
|
48015
48007
|
return [
|
|
48016
48008
|
{
|
|
@@ -55435,6 +55427,9 @@ class WX {
|
|
|
55435
55427
|
get id() {
|
|
55436
55428
|
return this._id;
|
|
55437
55429
|
}
|
|
55430
|
+
remove() {
|
|
55431
|
+
this._editor.toTextArea();
|
|
55432
|
+
}
|
|
55438
55433
|
getAnnotations(t, n, i, r) {
|
|
55439
55434
|
if (!this._events.lint)
|
|
55440
55435
|
return;
|
|
@@ -55481,18 +55476,15 @@ const jX = (e, t) => new WX(e, t), $X = mr(be)(({ theme: e }) => ({
|
|
|
55481
55476
|
lineHeight: "1.5"
|
|
55482
55477
|
}
|
|
55483
55478
|
})), GX = (e) => {
|
|
55484
|
-
const t = ae.createRef(), [n, i] = ae.useState();
|
|
55485
|
-
return ae.useEffect(() => {
|
|
55486
|
-
|
|
55487
|
-
|
|
55488
|
-
|
|
55489
|
-
|
|
55490
|
-
|
|
55491
|
-
}, [t, e, i, n]), /* @__PURE__ */ w("textarea", { id: e.id, ref: t }, e.id);
|
|
55492
|
-
}, ts = (e) => {
|
|
55493
|
-
const { id: t } = e;
|
|
55494
|
-
return /* @__PURE__ */ w($X, { id: t, children: /* @__PURE__ */ w(GX, { ...e }) }, t);
|
|
55495
|
-
};
|
|
55479
|
+
const t = ae.createRef(), [n, i] = ae.useState(), [r, s] = ae.useState(!0);
|
|
55480
|
+
return ae.useEffect(() => (t.current && !n && r ? (s(!1), i(jX(t, e))) : n && i(n.withEvents({
|
|
55481
|
+
onChanges: e.onChange,
|
|
55482
|
+
lint: e.lint,
|
|
55483
|
+
hint: e.hint
|
|
55484
|
+
})), () => {
|
|
55485
|
+
n == null || n.remove();
|
|
55486
|
+
}), [t, e, i, n]), /* @__PURE__ */ w("textarea", { id: e.id, ref: t }, e.id);
|
|
55487
|
+
}, ts = (e) => /* @__PURE__ */ w($X, { children: /* @__PURE__ */ w(GX, { ...e }) });
|
|
55496
55488
|
var QD = { exports: {} }, Ky = { exports: {} }, YA;
|
|
55497
55489
|
function VX() {
|
|
55498
55490
|
return YA || (YA = 1, function(e, t) {
|
|
@@ -79791,7 +79783,7 @@ const Pee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79791
79783
|
if (r.id === "compare")
|
|
79792
79784
|
return /* @__PURE__ */ w(be, { sx: al, children: /* @__PURE__ */ w(rJ, {}) });
|
|
79793
79785
|
if (s)
|
|
79794
|
-
return
|
|
79786
|
+
return /* @__PURE__ */ w(be, { sx: al, children: /* @__PURE__ */ w(ete, { entity: s }) });
|
|
79795
79787
|
throw new Error("unknown view: " + JSON.stringify(r, null, 2));
|
|
79796
79788
|
}, [r, t, s]);
|
|
79797
79789
|
}, nte = ({ flowId: e, onClose: t }) => {
|