@fileverse-dev/ddoc 2.5.1-patch-14 → 2.5.1-patch-15
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-CHUF6Dul.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;
|
|
@@ -90932,7 +90932,7 @@ async function Vk(e, t) {
|
|
|
90932
90932
|
});
|
|
90933
90933
|
return q === "0x" ? { data: void 0 } : { data: q };
|
|
90934
90934
|
} catch (O) {
|
|
90935
|
-
const j = R$t(O), { offchainLookup: L, offchainLookupSignature: _ } = await import("./ccip-
|
|
90935
|
+
const j = R$t(O), { offchainLookup: L, offchainLookupSignature: _ } = await import("./ccip-uyBoshqt.mjs");
|
|
90936
90936
|
if (e.ccipRead !== !1 && (j == null ? void 0 : j.slice(0, 10)) === _ && b)
|
|
90937
90937
|
return { data: await L(e, { data: j, to: b }) };
|
|
90938
90938
|
throw S && (j == null ? void 0 : j.slice(0, 10)) === "0x101bb98d" ? new VWt({ factory: c }) : _pe(O, {
|
|
@@ -261507,7 +261507,7 @@ const Aoe = Ne.memo(Vwe), fBn = ({
|
|
|
261507
261507
|
ipfsImageFetchFn: x,
|
|
261508
261508
|
fetchV1ImageFn: F,
|
|
261509
261509
|
contentClassName: k,
|
|
261510
|
-
|
|
261510
|
+
isLoading: C
|
|
261511
261511
|
}, D) => {
|
|
261512
261512
|
const [S, R] = Oe(!1), P = nt(null), T = (m == null ? void 0 : m.slice(0, 4)) || [], N = m ? Math.max(0, m.length - 4) : 0;
|
|
261513
261513
|
uR(P, () => {
|
|
@@ -261577,25 +261577,16 @@ const Aoe = Ne.memo(Vwe), fBn = ({
|
|
|
261577
261577
|
(B) => B.filter((X) => X.name !== q)
|
|
261578
261578
|
);
|
|
261579
261579
|
}, G = Vo("(max-width: 768px)");
|
|
261580
|
-
return !M || j ? wi(
|
|
261581
|
-
/* @__PURE__ */ A.jsxs(
|
|
261582
|
-
|
|
261583
|
-
|
|
261584
|
-
|
|
261585
|
-
`${G ? "
|
|
261586
|
-
|
|
261587
|
-
|
|
261588
|
-
|
|
261589
|
-
|
|
261590
|
-
An,
|
|
261591
|
-
{
|
|
261592
|
-
className: `${e || G ? "w-full" : "w-[400px]"} h-[32px] rounded-sm mb-4`
|
|
261593
|
-
}
|
|
261594
|
-
),
|
|
261595
|
-
e && /* @__PURE__ */ A.jsx(Wwe, {})
|
|
261596
|
-
]
|
|
261597
|
-
}
|
|
261598
|
-
),
|
|
261580
|
+
return !M || j || C ? wi(
|
|
261581
|
+
/* @__PURE__ */ A.jsxs("div", { className: Le(`${G ? "mx-10 mt-10" : "mx-20"}`), children: [
|
|
261582
|
+
/* @__PURE__ */ A.jsx(
|
|
261583
|
+
An,
|
|
261584
|
+
{
|
|
261585
|
+
className: `${e || G ? "w-full" : "w-[400px]"} h-[32px] rounded-sm mb-4`
|
|
261586
|
+
}
|
|
261587
|
+
),
|
|
261588
|
+
e && /* @__PURE__ */ A.jsx(Wwe, {})
|
|
261589
|
+
] }),
|
|
261599
261590
|
"content-transition"
|
|
261600
261591
|
) : ki(
|
|
261601
261592
|
/* @__PURE__ */ A.jsx(y4e, { children: /* @__PURE__ */ A.jsx("div", { ref: O, className: Le("overflow-x-hidden", b), children: /* @__PURE__ */ A.jsxs(dP, { isPreviewMode: e, children: [
|
package/dist/index.es.js
CHANGED
|
@@ -2,6 +2,6 @@ import { DdocProps } from './types';
|
|
|
2
2
|
|
|
3
3
|
declare const PreviewDdocEditor: import('react').ForwardRefExoticComponent<DdocProps & {
|
|
4
4
|
contentClassName?: string;
|
|
5
|
-
|
|
5
|
+
isLoading?: boolean;
|
|
6
6
|
} & import('react').RefAttributes<unknown>>;
|
|
7
7
|
export { PreviewDdocEditor };
|