@fileverse-dev/ddoc 2.2.8-patch-8 → 2.2.8-patch-10
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-CSJ6y3Tr.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;
|
@@ -86505,7 +86505,7 @@ async function o6(e, t) {
|
|
86505
86505
|
});
|
86506
86506
|
return K === "0x" ? { data: void 0 } : { data: K };
|
86507
86507
|
} catch (U) {
|
86508
|
-
const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-
|
86508
|
+
const P = hxt(U), { offchainLookup: _, offchainLookupSignature: G } = await import("./ccip-BSf45KwY.mjs");
|
86509
86509
|
if (e.ccipRead !== !1 && (P == null ? void 0 : P.slice(0, 10)) === G && k)
|
86510
86510
|
return { data: await _(e, { data: P, to: k }) };
|
86511
86511
|
throw D && (P == null ? void 0 : P.slice(0, 10)) === "0x101bb98d" ? new v5t({ factory: c }) : r$(U, {
|
@@ -143087,19 +143087,20 @@ const AUt = ({
|
|
143087
143087
|
key: e,
|
143088
143088
|
props: {
|
143089
143089
|
transformPasted(t, n) {
|
143090
|
-
const
|
143091
|
-
let
|
143092
|
-
for (let u =
|
143093
|
-
if (
|
143094
|
-
|
143090
|
+
const { selection: r } = n.state, o = r.$from;
|
143091
|
+
let i = !1;
|
143092
|
+
for (let u = o.depth; u >= 0; u--)
|
143093
|
+
if (o.node(u).type.name === "callout") {
|
143094
|
+
i = !0;
|
143095
143095
|
break;
|
143096
143096
|
}
|
143097
|
-
if (!
|
143098
|
-
const
|
143099
|
-
|
143100
|
-
|
143101
|
-
|
143102
|
-
|
143097
|
+
if (!i) return t;
|
143098
|
+
const a = (u) => {
|
143099
|
+
const c = [];
|
143100
|
+
return u.forEach((d) => {
|
143101
|
+
d.type.name === "callout" || d.type.name === "dBlock" ? c.push(...a(d.content)) : c.push(d);
|
143102
|
+
}), c;
|
143103
|
+
}, s = a(t.content), l = Oe.fromArray(s);
|
143103
143104
|
return new Qe(l, 0, 0);
|
143104
143105
|
}
|
143105
143106
|
}
|
package/dist/index.es.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { Node } from '@tiptap/core';
|
1
|
+
import { Node as TiptapNode } from '@tiptap/core';
|
2
2
|
|
3
|
-
export declare const Callout:
|
3
|
+
export declare const Callout: TiptapNode<any, any>;
|