@fileverse-dev/ddoc 3.0.15 → 3.0.16
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-zGA8UUyX.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;
|
|
@@ -93960,7 +93960,7 @@ async function DF(e, t) {
|
|
|
93960
93960
|
});
|
|
93961
93961
|
return ne === "0x" ? { data: void 0 } : { data: ne };
|
|
93962
93962
|
} catch (R) {
|
|
93963
|
-
const I = jKt(R), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-
|
|
93963
|
+
const I = jKt(R), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-CErs197H.mjs");
|
|
93964
93964
|
if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
|
|
93965
93965
|
return { data: await H(e, { data: I, to: x }) };
|
|
93966
93966
|
throw O && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new cZt({ factory: f }) : Ege(R, {
|
|
@@ -133834,18 +133834,21 @@ const S6e = Gt.create({
|
|
|
133834
133834
|
// Tab: Indent list item (sink)
|
|
133835
133835
|
// DBlock has priority 1000, so we need to explicitly handle Tab for lists
|
|
133836
133836
|
Tab: ({ editor: e }) => {
|
|
133837
|
-
const { selection: t } = e.state, { $from: n } = t, r = n.node(n.depth)
|
|
133838
|
-
if (
|
|
133837
|
+
const { selection: t } = e.state, { $from: n } = t, r = n.node(n.depth);
|
|
133838
|
+
if (typeof document < "u" && document.querySelector(".autocomplete-suggestion-container") !== null)
|
|
133839
|
+
return !1;
|
|
133840
|
+
const i = r.type.name === "paragraph", a = r.type.name === "heading", s = n.depth, l = s > 0 ? n.node(s - 1) : null, u = i && (l == null ? void 0 : l.type.name) === "dBlock";
|
|
133841
|
+
if (a || u)
|
|
133839
133842
|
return e.commands.insertContent(" ", {
|
|
133840
133843
|
parseOptions: {
|
|
133841
133844
|
preserveWhitespace: "full"
|
|
133842
133845
|
}
|
|
133843
133846
|
}), !0;
|
|
133844
|
-
for (let
|
|
133845
|
-
const
|
|
133846
|
-
if (
|
|
133847
|
+
for (let c = n.depth; c > 0; c--) {
|
|
133848
|
+
const d = n.node(c);
|
|
133849
|
+
if (d.type.name === "listItem")
|
|
133847
133850
|
return e.commands.sinkListItem("listItem"), !0;
|
|
133848
|
-
if (
|
|
133851
|
+
if (d.type.name === "taskItem")
|
|
133849
133852
|
return e.commands.sinkListItem("taskItem"), !0;
|
|
133850
133853
|
}
|
|
133851
133854
|
return !1;
|
package/dist/index.es.js
CHANGED