@dxs-ts/eveli-ide 0.0.104 → 0.0.106
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 +19 -20
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -49585,7 +49585,7 @@ const gpe = ({ site: e }) => {
|
|
|
49585
49585
|
/* @__PURE__ */ c(qe, { onClick: a, disabled: r || !n, children: /* @__PURE__ */ c(le, { id: 'imports.import.action"' }) })
|
|
49586
49586
|
] })
|
|
49587
49587
|
] });
|
|
49588
|
-
}, Up = { tag: "eveli-ide-0.0.
|
|
49588
|
+
}, Up = { tag: "eveli-ide-0.0.106", built: "25/02/2025" }, vpe = (e, t, n) => [
|
|
49589
49589
|
{
|
|
49590
49590
|
composer: (i) => /* @__PURE__ */ c(bue, { onClose: i }),
|
|
49591
49591
|
onView: () => n.handleTabAdd({ id: "articles", label: "Articles" }),
|
|
@@ -49690,7 +49690,7 @@ const gpe = ({ site: e }) => {
|
|
|
49690
49690
|
)
|
|
49691
49691
|
}
|
|
49692
49692
|
),
|
|
49693
|
-
/* @__PURE__ */ c(vL, { sx: { flexGrow: 1, p: 2, height: "fit-content" }, children: /* @__PURE__ */ c(ke, {
|
|
49693
|
+
/* @__PURE__ */ c(vL, { sx: { flexGrow: 1, p: 2, height: "fit-content" }, children: /* @__PURE__ */ c(ke, { variant: "body2", children: /* @__PURE__ */ c(le, { id: e.data.desc }) }) }),
|
|
49694
49694
|
/* @__PURE__ */ c(Un, {}),
|
|
49695
49695
|
/* @__PURE__ */ c(oH, { sx: { alignSelf: "flex-end" }, children: /* @__PURE__ */ X(Ae, { display: "flex", children: [
|
|
49696
49696
|
e.data.buttonViewAll && e.data.onView ? /* @__PURE__ */ c(qe, { variant: "text", onClick: e.data.onView, children: /* @__PURE__ */ c(le, { id: e.data.buttonViewAll }) }) : /* @__PURE__ */ c(Ae, {}),
|
|
@@ -56999,6 +56999,8 @@ class Ope {
|
|
|
56999
56999
|
remove() {
|
|
57000
57000
|
this._editor.toTextArea();
|
|
57001
57001
|
}
|
|
57002
|
+
refresh() {
|
|
57003
|
+
}
|
|
57002
57004
|
getAnnotations(t, n, i, r) {
|
|
57003
57005
|
if (!this._events.lint)
|
|
57004
57006
|
return;
|
|
@@ -57045,24 +57047,21 @@ const Ipe = (e, t) => new Ope(e, t), Cpe = Rd(Ae)(({ theme: e }) => ({
|
|
|
57045
57047
|
lineHeight: "1.5"
|
|
57046
57048
|
}
|
|
57047
57049
|
})), Rpe = (e) => {
|
|
57048
|
-
const t = te.
|
|
57050
|
+
const t = te.useRef(null), [n, i] = te.useState();
|
|
57051
|
+
return te.useEffect(() => (i(Ipe(t, e).withEvents(e)), () => {
|
|
57052
|
+
try {
|
|
57053
|
+
n == null || n.remove();
|
|
57054
|
+
} catch {
|
|
57055
|
+
}
|
|
57056
|
+
}), [t.current]), /* @__PURE__ */ c("textarea", { id: e.id, ref: t }, e.id);
|
|
57057
|
+
}, Lu = (e) => {
|
|
57058
|
+
const [t, n] = te.useState(e.id), [i, r] = te.useState(!1);
|
|
57049
57059
|
return te.useEffect(() => {
|
|
57050
|
-
|
|
57051
|
-
|
|
57052
|
-
|
|
57053
|
-
|
|
57054
|
-
|
|
57055
|
-
return i(r), () => {
|
|
57056
|
-
r.remove();
|
|
57057
|
-
};
|
|
57058
|
-
}, []), te.useEffect(() => {
|
|
57059
|
-
n && n.withEvents({
|
|
57060
|
-
onChanges: e.onChange,
|
|
57061
|
-
lint: e.lint,
|
|
57062
|
-
hint: e.hint
|
|
57063
|
-
});
|
|
57064
|
-
}, [e, n]), /* @__PURE__ */ c("textarea", { id: e.id, ref: t }, e.id);
|
|
57065
|
-
}, Lu = (e) => /* @__PURE__ */ c(Cpe, { children: /* @__PURE__ */ c(Rpe, { ...e }) });
|
|
57060
|
+
e.id !== t && (r(!0), n(e.id));
|
|
57061
|
+
}, [e.id]), te.useEffect(() => {
|
|
57062
|
+
i && r(!1);
|
|
57063
|
+
}, [i]), i ? /* @__PURE__ */ c(Be, {}) : /* @__PURE__ */ c(Cpe, { children: /* @__PURE__ */ c(Rpe, { ...e }) });
|
|
57064
|
+
};
|
|
57066
57065
|
var OZ = { exports: {} }, zT = { exports: {} }, Z8;
|
|
57067
57066
|
function Mpe() {
|
|
57068
57067
|
return Z8 || (Z8 = 1, function(e, t) {
|
|
@@ -75847,7 +75846,7 @@ const _A = ({ assets: e }) => e ? /* @__PURE__ */ X(Ae, { sx: { display: "flex",
|
|
|
75847
75846
|
const t = /* @__PURE__ */ c(Ae, { display: "flex", sx: { justifyContent: "center" }, children: /* @__PURE__ */ c(ke, { variant: "h2", sx: { fontWeight: "bold", p: 1 }, children: /* @__PURE__ */ c(le, { id: e.data.title }) }) });
|
|
75848
75847
|
return /* @__PURE__ */ X(rH, { sx: _ge, children: [
|
|
75849
75848
|
/* @__PURE__ */ c(sH, { title: t }),
|
|
75850
|
-
/* @__PURE__ */ c(vL, { sx: { flexGrow: 1, p: 2, height: "fit-content" }, children: /* @__PURE__ */ c(ke, {
|
|
75849
|
+
/* @__PURE__ */ c(vL, { sx: { flexGrow: 1, p: 2, height: "fit-content" }, children: /* @__PURE__ */ c(ke, { variant: "body2", children: /* @__PURE__ */ c(le, { id: e.data.desc }) }) }),
|
|
75851
75850
|
/* @__PURE__ */ c(Un, {}),
|
|
75852
75851
|
/* @__PURE__ */ c(oH, { sx: { alignSelf: "flex-end" }, children: /* @__PURE__ */ X(Ae, { display: "flex", children: [
|
|
75853
75852
|
e.data.buttonViewAll && e.data.onView ? /* @__PURE__ */ c(qe, { variant: "text", onClick: e.data.onView, children: /* @__PURE__ */ c(le, { id: e.data.buttonViewAll }) }) : /* @__PURE__ */ c(Ae, {}),
|