@fileverse-dev/ddoc 2.2.8-byom-7 → 2.2.8-byom-8

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-8ZGqCbvG.mjs";
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-tgrA5JUo.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 K === "0x" ? { data: void 0 } : { data: K };
86542
86542
  } catch (U) {
86543
- const P = Hxt(U), { offchainLookup: z, offchainLookupSignature: G } = await import("./ccip-CeNcwuMq.mjs");
86543
+ const P = Hxt(U), { offchainLookup: z, offchainLookupSignature: G } = await import("./ccip-HafoC9_O.mjs");
86544
86544
  if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === G && k)
86545
86545
  return { data: await z(e, { data: P, to: k }) };
86546
86546
  throw D && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new Z5t({ factory: u }) : M$(U, {
@@ -221119,7 +221119,8 @@ User prompt: ${s}` : s;
221119
221119
  },
221120
221120
  [r, L]
221121
221121
  ), Z = Pe(() => {
221122
- r == null || r({ content: "" }), u(!1), f("");
221122
+ var ne;
221123
+ r == null || r({ content: "" }), u(!1), f(""), (ne = w.current) == null || ne.focus();
221123
221124
  }, [r]), Q = Pe(
221124
221125
  (ne) => {
221125
221126
  ne.key === "Enter" && !ne.shiftKey ? (ne.preventDefault(), c ? H() : s.trim() && W()) : ne.key === "Escape" || ne.key === " " && !s.trim() ? (ne.preventDefault(), U()) : ne.key === "r" && (ne.ctrlKey || ne.metaKey) && (ne.preventDefault(), Z());
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, P as r, h as s, u as t } from "./index-8ZGqCbvG.mjs";
1
+ import { D as d, P as r, h as s, u as t } from "./index-tgrA5JUo.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as PreviewDdocEditor,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.2.8-byom-7",
5
+ "version": "2.2.8-byom-8",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {