@fileverse-dev/ddoc 2.2.9-patch-1 → 2.2.9
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DI5an1c5.mjs";
|
2
2
|
class S extends p {
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
4
4
|
var o;
|
@@ -86540,7 +86540,7 @@ async function p6(e, t) {
|
|
86540
86540
|
});
|
86541
86541
|
return Y === "0x" ? { data: void 0 } : { data: Y };
|
86542
86542
|
} catch (W) {
|
86543
|
-
const P = Zxt(W), { offchainLookup: _, offchainLookupSignature: Z } = await import("./ccip-
|
86543
|
+
const P = Zxt(W), { offchainLookup: _, offchainLookupSignature: Z } = await import("./ccip-DHM22k9N.mjs");
|
86544
86544
|
if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === Z && k)
|
86545
86545
|
return { data: await _(e, { data: P, to: k }) };
|
86546
86546
|
throw D && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new X5t({ factory: u }) : A$(W, {
|
@@ -220971,7 +220971,7 @@ ${v}`, A = await l(F);
|
|
220971
220971
|
previewContent: WYt
|
220972
220972
|
}, zz = [
|
220973
220973
|
"Reflecting",
|
220974
|
-
"Your wizard is never late, nor is he early",
|
220974
|
+
"Your wizard is never late, nor is he early.",
|
220975
220975
|
"Your wizard arrives precisely when it is meant"
|
220976
220976
|
];
|
220977
220977
|
let E8 = 0;
|
@@ -221185,7 +221185,7 @@ User prompt: ${l}` : l;
|
|
221185
221185
|
b(!1), Z && Z.commands.setContent(f || A || "");
|
221186
221186
|
}, [Z, f, A]), Ce = _e(
|
221187
221187
|
(G) => {
|
221188
|
-
G.key === "Enter" &&
|
221188
|
+
G.key === "Enter" && !G.shiftKey && !m ? (G.preventDefault(), l.trim() && Q()) : G.key === "Enter" && (G.ctrlKey || G.metaKey) && !G.shiftKey ? (G.preventDefault(), u && te()) : G.key === "Escape" ? (G.preventDefault(), a ? Y() : se()) : G.key === " " && !l.trim() ? (G.preventDefault(), se()) : G.key === "r" && (G.ctrlKey || G.metaKey) ? (G.preventDefault(), Me()) : G.key === "e" && (G.ctrlKey || G.metaKey) && (G.preventDefault(), we());
|
221189
221189
|
},
|
221190
221190
|
[
|
221191
221191
|
m,
|
@@ -221234,27 +221234,21 @@ User prompt: ${l}` : l;
|
|
221234
221234
|
}
|
221235
221235
|
}, [o]);
|
221236
221236
|
const De = _e(
|
221237
|
-
() => /* @__PURE__ */ M.jsx("span", { className: "text-body-sm color-text-secondary pt-1 flex items-center gap-1", children: /* @__PURE__ */ M.
|
221238
|
-
|
221239
|
-
|
221240
|
-
|
221241
|
-
|
221242
|
-
|
221243
|
-
|
221244
|
-
|
221245
|
-
|
221246
|
-
|
221247
|
-
|
221248
|
-
|
221249
|
-
|
221250
|
-
|
221251
|
-
|
221252
|
-
),
|
221253
|
-
/* @__PURE__ */ M.jsx("span", { className: "animate-loading-dots", children: "..." })
|
221254
|
-
]
|
221255
|
-
},
|
221256
|
-
P
|
221257
|
-
) }) }),
|
221237
|
+
() => /* @__PURE__ */ M.jsx("span", { className: "text-body-sm color-text-secondary pt-1 flex items-center gap-1", children: /* @__PURE__ */ M.jsxs(Xd, { mode: "wait", children: [
|
221238
|
+
/* @__PURE__ */ M.jsx(
|
221239
|
+
rf.span,
|
221240
|
+
{
|
221241
|
+
initial: { opacity: 0, y: 4 },
|
221242
|
+
animate: { opacity: 1, y: 0 },
|
221243
|
+
exit: { opacity: 0, y: -4 },
|
221244
|
+
transition: { duration: 0.3, ease: "easeInOut" },
|
221245
|
+
className: "inline-block",
|
221246
|
+
children: P
|
221247
|
+
},
|
221248
|
+
P
|
221249
|
+
),
|
221250
|
+
/* @__PURE__ */ M.jsx("span", { className: "animate-loading-dots", children: "..." })
|
221251
|
+
] }) }),
|
221258
221252
|
[P]
|
221259
221253
|
);
|
221260
221254
|
return I ? null : /* @__PURE__ */ M.jsx(sl, { className: "min-w-[calc(100%+1rem)] translate-x-[-0.5rem]", children: /* @__PURE__ */ M.jsxs(
|
@@ -221329,7 +221323,7 @@ User prompt: ${l}` : l;
|
|
221329
221323
|
onBlur: de,
|
221330
221324
|
onKeyDown: Ce,
|
221331
221325
|
placeholder: "Ask your Wizard anything...",
|
221332
|
-
className: "
|
221326
|
+
className: "flex-1 pt-1 bg-transparent outline-none text-body-sm color-text-default px-1 resize-none",
|
221333
221327
|
disabled: o,
|
221334
221328
|
autoFocus: !0
|
221335
221329
|
}
|
package/dist/index.es.js
CHANGED