@fileverse-dev/ddoc 3.0.22 → 3.0.23
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-BuCWyB68.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;
|
|
@@ -93963,7 +93963,7 @@ async function AF(e, t) {
|
|
|
93963
93963
|
});
|
|
93964
93964
|
return ne === "0x" ? { data: void 0 } : { data: ne };
|
|
93965
93965
|
} catch (I) {
|
|
93966
|
-
const B = LKt(I), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-
|
|
93966
|
+
const B = LKt(I), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-D6oue-_T.mjs");
|
|
93967
93967
|
if (e.ccipRead !== !1 && (B == null ? void 0 : B.slice(0, 10)) === $ && x)
|
|
93968
93968
|
return { data: await H(e, { data: B, to: x }) };
|
|
93969
93969
|
throw O && (B == null ? void 0 : B.slice(0, 10)) === "0x101bb98d" ? new dZt({ factory: f }) : Sge(I, {
|
|
@@ -134073,6 +134073,8 @@ const j6e = Zt.create({
|
|
|
134073
134073
|
]
|
|
134074
134074
|
});
|
|
134075
134075
|
const j = e.view, N = j.state.tr, I = t.depth - 3, B = t.before(I), H = t.node(I), $ = B + H.nodeSize;
|
|
134076
|
+
if (H.type.name !== "dBlock")
|
|
134077
|
+
return !1;
|
|
134076
134078
|
N.replaceWith(
|
|
134077
134079
|
B,
|
|
134078
134080
|
$,
|
|
@@ -134112,15 +134114,18 @@ const j6e = Zt.create({
|
|
|
134112
134114
|
if (m && p)
|
|
134113
134115
|
return F();
|
|
134114
134116
|
if (!C && !m) {
|
|
134115
|
-
const D = t.node(t.depth -
|
|
134116
|
-
if (
|
|
134117
|
-
|
|
134117
|
+
const D = t.node(t.depth - 3);
|
|
134118
|
+
if ((D == null ? void 0 : D.type.name) !== "dBlock")
|
|
134119
|
+
return !1;
|
|
134120
|
+
const S = t.node(t.depth - 2), _ = t.index(t.depth - 2), O = S.content.toJSON().slice(0, _);
|
|
134121
|
+
if (O.length > 0) {
|
|
134122
|
+
const T = e.view, L = T.state.tr, M = t.depth - 3, j = t.before(M), N = t.node(M), I = j + N.nodeSize, B = S.content.toJSON().slice(_), H = [
|
|
134118
134123
|
{
|
|
134119
134124
|
type: "dBlock",
|
|
134120
134125
|
content: [
|
|
134121
134126
|
{
|
|
134122
134127
|
type: g.type.name,
|
|
134123
|
-
content:
|
|
134128
|
+
content: O
|
|
134124
134129
|
}
|
|
134125
134130
|
]
|
|
134126
134131
|
},
|
|
@@ -134129,29 +134134,29 @@ const j6e = Zt.create({
|
|
|
134129
134134
|
content: [
|
|
134130
134135
|
{
|
|
134131
134136
|
type: g.type.name,
|
|
134132
|
-
content:
|
|
134137
|
+
content: B
|
|
134133
134138
|
}
|
|
134134
134139
|
]
|
|
134135
134140
|
}
|
|
134136
134141
|
];
|
|
134137
|
-
|
|
134138
|
-
|
|
134139
|
-
|
|
134142
|
+
L.replaceWith(
|
|
134143
|
+
j,
|
|
134144
|
+
I,
|
|
134140
134145
|
e.schema.nodeFromJSON({
|
|
134141
134146
|
type: "doc",
|
|
134142
|
-
content:
|
|
134147
|
+
content: H
|
|
134143
134148
|
})
|
|
134144
134149
|
);
|
|
134145
|
-
const
|
|
134150
|
+
const $ = e.schema.nodeFromJSON({
|
|
134146
134151
|
type: "dBlock",
|
|
134147
134152
|
content: [
|
|
134148
134153
|
{
|
|
134149
134154
|
type: g.type.name,
|
|
134150
|
-
content:
|
|
134155
|
+
content: O
|
|
134151
134156
|
}
|
|
134152
134157
|
]
|
|
134153
|
-
}),
|
|
134154
|
-
return
|
|
134158
|
+
}), q = j + $.nodeSize + 3;
|
|
134159
|
+
return L.setSelection(kt.create(L.doc, q)), T.dispatch(L), !0;
|
|
134155
134160
|
}
|
|
134156
134161
|
}
|
|
134157
134162
|
return !1;
|
package/dist/index.es.js
CHANGED