@fileverse-dev/ddoc 2.2.8-patch-3 → 2.2.8-patch-4
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-Dk-FwFPC.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-DISzctOC.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, {
|
|
@@ -115502,7 +115502,7 @@ class xLt extends TE {
|
|
|
115502
115502
|
const vLt = {
|
|
115503
115503
|
attributes: {
|
|
115504
115504
|
class: "prose-lg prose-headings:font-display prose prose-p:my-2 prose-h1:my-2 prose-h2:my-2 prose-h3:my-2 prose-ul:my-2 prose-ol:my-2 max-w-none focus:outline-none w-full",
|
|
115505
|
-
spellcheck: "
|
|
115505
|
+
spellcheck: "true",
|
|
115506
115506
|
suppressContentEditableWarning: "true"
|
|
115507
115507
|
}
|
|
115508
115508
|
}, kLt = /[\uD800-\uDBFF]/, wLt = /[\uDC00-\uDFFF]/, FLt = (e, t) => {
|
|
@@ -222480,7 +222480,7 @@ const kz = ke.memo(Aoe), gYt = ({
|
|
|
222480
222480
|
isPreviewMode: e || !_
|
|
222481
222481
|
}
|
|
222482
222482
|
),
|
|
222483
|
-
/* @__PURE__ */ M.
|
|
222483
|
+
/* @__PURE__ */ M.jsx(
|
|
222484
222484
|
"div",
|
|
222485
222485
|
{
|
|
222486
222486
|
className: xt(
|
|
@@ -222519,152 +222519,150 @@ const kz = ke.memo(Aoe), gYt = ({
|
|
|
222519
222519
|
transformOrigin: W === "2" && !nt ? "left center" : "top center",
|
|
222520
222520
|
transform: `scaleX(${W})`
|
|
222521
222521
|
},
|
|
222522
|
-
children:
|
|
222523
|
-
|
|
222524
|
-
|
|
222525
|
-
|
|
222526
|
-
|
|
222527
|
-
|
|
222528
|
-
|
|
222529
|
-
|
|
222530
|
-
|
|
222531
|
-
|
|
222532
|
-
|
|
222533
|
-
|
|
222534
|
-
|
|
222535
|
-
|
|
222536
|
-
children: [
|
|
222537
|
-
/* @__PURE__ */ M.
|
|
222538
|
-
|
|
222539
|
-
|
|
222522
|
+
children: /* @__PURE__ */ M.jsxs(
|
|
222523
|
+
"div",
|
|
222524
|
+
{
|
|
222525
|
+
ref: kn,
|
|
222526
|
+
className: xt(
|
|
222527
|
+
"w-full h-full pt-8 md:pt-0",
|
|
222528
|
+
{ "custom-ios-padding": dt },
|
|
222529
|
+
{ "color-bg-default": W === "1.4" || "1.5" }
|
|
222530
|
+
),
|
|
222531
|
+
style: {
|
|
222532
|
+
transformOrigin: "top center",
|
|
222533
|
+
transform: `scaleY(${W})`
|
|
222534
|
+
},
|
|
222535
|
+
children: [
|
|
222536
|
+
/* @__PURE__ */ M.jsxs("div", { children: [
|
|
222537
|
+
gt && /* @__PURE__ */ M.jsx(
|
|
222538
|
+
DMt,
|
|
222539
|
+
{
|
|
222540
|
+
editor: gt,
|
|
222541
|
+
onError: b,
|
|
222542
|
+
zoomLevel: W,
|
|
222543
|
+
disableInlineComment: ue || !1,
|
|
222544
|
+
setIsCommentSectionOpen: C,
|
|
222545
|
+
inlineCommentData: T,
|
|
222546
|
+
setInlineCommentData: D,
|
|
222547
|
+
isPreviewMode: e,
|
|
222548
|
+
username: o,
|
|
222549
|
+
walletAddress: s,
|
|
222550
|
+
onInlineComment: Q,
|
|
222551
|
+
activeCommentId: pr,
|
|
222552
|
+
isCollabDocumentPublished: ee
|
|
222553
|
+
}
|
|
222554
|
+
),
|
|
222555
|
+
gt && /* @__PURE__ */ M.jsx(RMt, { editor: gt, appendTo: kn })
|
|
222556
|
+
] }),
|
|
222557
|
+
!gt || Gn ? Mo(
|
|
222558
|
+
/* @__PURE__ */ M.jsxs("div", { className: `${it ? "mx-10 mt-10" : "mx-20"}`, children: [
|
|
222559
|
+
/* @__PURE__ */ M.jsx(
|
|
222560
|
+
ln,
|
|
222540
222561
|
{
|
|
222541
|
-
|
|
222542
|
-
onError: b,
|
|
222543
|
-
zoomLevel: W,
|
|
222544
|
-
disableInlineComment: ue || !1,
|
|
222545
|
-
setIsCommentSectionOpen: C,
|
|
222546
|
-
inlineCommentData: T,
|
|
222547
|
-
setInlineCommentData: D,
|
|
222548
|
-
isPreviewMode: e,
|
|
222549
|
-
username: o,
|
|
222550
|
-
walletAddress: s,
|
|
222551
|
-
onInlineComment: Q,
|
|
222552
|
-
activeCommentId: pr,
|
|
222553
|
-
isCollabDocumentPublished: ee
|
|
222562
|
+
className: `${e || it ? "w-full" : "w-[400px]"} h-[32px] rounded-sm mb-4`
|
|
222554
222563
|
}
|
|
222555
222564
|
),
|
|
222556
|
-
|
|
222565
|
+
e && /* @__PURE__ */ M.jsx(mYt, {})
|
|
222557
222566
|
] }),
|
|
222558
|
-
|
|
222559
|
-
|
|
222560
|
-
|
|
222561
|
-
|
|
222562
|
-
|
|
222563
|
-
|
|
222564
|
-
|
|
222565
|
-
|
|
222566
|
-
|
|
222567
|
-
|
|
222568
|
-
|
|
222569
|
-
|
|
222570
|
-
|
|
222571
|
-
|
|
222572
|
-
|
|
222573
|
-
|
|
222574
|
-
|
|
222575
|
-
|
|
222576
|
-
|
|
222577
|
-
|
|
222567
|
+
"content-transition"
|
|
222568
|
+
) : Co(
|
|
222569
|
+
/* @__PURE__ */ M.jsxs($C, { isPreviewMode: e, children: [
|
|
222570
|
+
x && x.length > 0 && /* @__PURE__ */ M.jsxs(
|
|
222571
|
+
"div",
|
|
222572
|
+
{
|
|
222573
|
+
ref: wt,
|
|
222574
|
+
className: xt(
|
|
222575
|
+
"flex flex-wrap px-4 md:px-8 lg:px-[80px] items-center gap-1 mb-4 mt-4 lg:!mt-0",
|
|
222576
|
+
{ "pt-12": e }
|
|
222577
|
+
),
|
|
222578
|
+
children: [
|
|
222579
|
+
rn.map((Ne, oe) => /* @__PURE__ */ M.jsx(
|
|
222580
|
+
Gp,
|
|
222581
|
+
{
|
|
222582
|
+
style: { backgroundColor: Ne == null ? void 0 : Ne.color },
|
|
222583
|
+
onRemove: () => ct(Ne == null ? void 0 : Ne.name),
|
|
222584
|
+
isRemovable: !e,
|
|
222585
|
+
className: "!h-6 rounded",
|
|
222586
|
+
children: Ne == null ? void 0 : Ne.name
|
|
222587
|
+
},
|
|
222588
|
+
oe
|
|
222589
|
+
)),
|
|
222590
|
+
vn > 0 && !Rt && /* @__PURE__ */ M.jsxs(
|
|
222591
|
+
Kt,
|
|
222592
|
+
{
|
|
222593
|
+
variant: "ghost",
|
|
222594
|
+
className: "!h-6 rounded min-w-fit !px-2 color-bg-secondary text-helper-text-sm",
|
|
222595
|
+
onClick: () => qt(!0),
|
|
222596
|
+
children: [
|
|
222597
|
+
"+",
|
|
222598
|
+
vn
|
|
222599
|
+
]
|
|
222600
|
+
}
|
|
222578
222601
|
),
|
|
222579
|
-
|
|
222580
|
-
|
|
222581
|
-
|
|
222582
|
-
{
|
|
222583
|
-
|
|
222584
|
-
|
|
222585
|
-
|
|
222586
|
-
|
|
222587
|
-
|
|
222588
|
-
|
|
222589
|
-
|
|
222590
|
-
|
|
222591
|
-
|
|
222592
|
-
|
|
222593
|
-
|
|
222594
|
-
|
|
222595
|
-
|
|
222596
|
-
|
|
222597
|
-
|
|
222598
|
-
|
|
222599
|
-
|
|
222600
|
-
|
|
222601
|
-
|
|
222602
|
-
|
|
222603
|
-
|
|
222604
|
-
|
|
222605
|
-
|
|
222606
|
-
|
|
222607
|
-
|
|
222608
|
-
|
|
222609
|
-
|
|
222610
|
-
|
|
222611
|
-
|
|
222612
|
-
|
|
222613
|
-
|
|
222614
|
-
|
|
222615
|
-
|
|
222616
|
-
|
|
222617
|
-
|
|
222618
|
-
|
|
222619
|
-
|
|
222620
|
-
|
|
222621
|
-
|
|
222622
|
-
|
|
222623
|
-
|
|
222624
|
-
|
|
222625
|
-
|
|
222626
|
-
|
|
222627
|
-
|
|
222628
|
-
|
|
222629
|
-
|
|
222630
|
-
|
|
222631
|
-
|
|
222632
|
-
|
|
222633
|
-
|
|
222634
|
-
|
|
222635
|
-
|
|
222636
|
-
|
|
222637
|
-
|
|
222638
|
-
|
|
222639
|
-
|
|
222640
|
-
|
|
222641
|
-
|
|
222642
|
-
|
|
222643
|
-
e && "preview-mode"
|
|
222644
|
-
)
|
|
222645
|
-
}
|
|
222646
|
-
)
|
|
222647
|
-
] }),
|
|
222648
|
-
"editor-transition"
|
|
222649
|
-
)
|
|
222650
|
-
]
|
|
222651
|
-
}
|
|
222652
|
-
),
|
|
222653
|
-
p && !pt && /* @__PURE__ */ M.jsx(
|
|
222654
|
-
Kt,
|
|
222655
|
-
{
|
|
222656
|
-
ref: tt,
|
|
222657
|
-
onClick: () => {
|
|
222658
|
-
gt && (f == null || f(gt));
|
|
222659
|
-
},
|
|
222660
|
-
variant: "ghost",
|
|
222661
|
-
className: xt(
|
|
222662
|
-
"absolute w-12 h-12 color-bg-default rounded-full shadow-xl top-[70px] right-[-23px]"
|
|
222663
|
-
),
|
|
222664
|
-
children: /* @__PURE__ */ M.jsx(He, { name: "MessageSquareText", size: "sm" })
|
|
222665
|
-
}
|
|
222666
|
-
)
|
|
222667
|
-
]
|
|
222602
|
+
Rt && /* @__PURE__ */ M.jsx(
|
|
222603
|
+
ug.div,
|
|
222604
|
+
{
|
|
222605
|
+
initial: { opacity: 0, height: 0 },
|
|
222606
|
+
animate: { opacity: 1, height: "auto" },
|
|
222607
|
+
exit: { opacity: 0, height: 0 },
|
|
222608
|
+
transition: { duration: 0.3 },
|
|
222609
|
+
className: "flex flex-wrap items-center gap-1",
|
|
222610
|
+
children: w == null ? void 0 : w.slice(4).map((Ne, oe) => /* @__PURE__ */ M.jsx(
|
|
222611
|
+
Gp,
|
|
222612
|
+
{
|
|
222613
|
+
style: { backgroundColor: Ne == null ? void 0 : Ne.color },
|
|
222614
|
+
onRemove: () => ct(Ne == null ? void 0 : Ne.name),
|
|
222615
|
+
isRemovable: !e,
|
|
222616
|
+
className: "!h-6 rounded",
|
|
222617
|
+
children: Ne == null ? void 0 : Ne.name
|
|
222618
|
+
},
|
|
222619
|
+
oe + 4
|
|
222620
|
+
))
|
|
222621
|
+
}
|
|
222622
|
+
),
|
|
222623
|
+
w && (w == null ? void 0 : w.length) < 6 ? /* @__PURE__ */ M.jsx(
|
|
222624
|
+
gV,
|
|
222625
|
+
{
|
|
222626
|
+
tags: x || [],
|
|
222627
|
+
selectedTags: w,
|
|
222628
|
+
onAddTag: Ue,
|
|
222629
|
+
isPreviewMode: e
|
|
222630
|
+
}
|
|
222631
|
+
) : null
|
|
222632
|
+
]
|
|
222633
|
+
}
|
|
222634
|
+
),
|
|
222635
|
+
/* @__PURE__ */ M.jsx("div", { className: "grammarly-wrapper", children: /* @__PURE__ */ M.jsx(
|
|
222636
|
+
Ww,
|
|
222637
|
+
{
|
|
222638
|
+
editor: gt,
|
|
222639
|
+
id: "editor",
|
|
222640
|
+
className: xt(
|
|
222641
|
+
"w-full h-auto py-4 color-bg-default",
|
|
222642
|
+
e && "preview-mode"
|
|
222643
|
+
)
|
|
222644
|
+
}
|
|
222645
|
+
) })
|
|
222646
|
+
] }),
|
|
222647
|
+
"editor-transition"
|
|
222648
|
+
)
|
|
222649
|
+
]
|
|
222650
|
+
}
|
|
222651
|
+
)
|
|
222652
|
+
}
|
|
222653
|
+
),
|
|
222654
|
+
p && !pt && /* @__PURE__ */ M.jsx(
|
|
222655
|
+
Kt,
|
|
222656
|
+
{
|
|
222657
|
+
ref: tt,
|
|
222658
|
+
onClick: () => {
|
|
222659
|
+
gt && (f == null || f(gt));
|
|
222660
|
+
},
|
|
222661
|
+
variant: "ghost",
|
|
222662
|
+
className: xt(
|
|
222663
|
+
"absolute w-12 h-12 color-bg-default rounded-full shadow-xl top-[70px] right-[-23px]"
|
|
222664
|
+
),
|
|
222665
|
+
children: /* @__PURE__ */ M.jsx(He, { name: "MessageSquareText", size: "sm" })
|
|
222668
222666
|
}
|
|
222669
222667
|
),
|
|
222670
222668
|
!e && !m && /* @__PURE__ */ M.jsx(
|
package/dist/index.es.js
CHANGED