@fileverse-dev/ddoc 4.8.5 → 4.8.6
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.
- package/dist/index.es.js +51 -40
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -22377,6 +22377,7 @@ const dE = ({
|
|
|
22377
22377
|
createdAt: t.createdAt,
|
|
22378
22378
|
canAcceptReject: m,
|
|
22379
22379
|
canWithdraw: g,
|
|
22380
|
+
isFocused: e.isFocused,
|
|
22380
22381
|
onAccept: y,
|
|
22381
22382
|
onReject: b
|
|
22382
22383
|
}
|
|
@@ -22406,60 +22407,70 @@ const dE = ({
|
|
|
22406
22407
|
createdAt: t,
|
|
22407
22408
|
canAcceptReject: r,
|
|
22408
22409
|
canWithdraw: n,
|
|
22409
|
-
|
|
22410
|
-
|
|
22410
|
+
isFocused: o,
|
|
22411
|
+
onAccept: s,
|
|
22412
|
+
onReject: i
|
|
22411
22413
|
}) => {
|
|
22412
|
-
const
|
|
22414
|
+
const a = Mn(e);
|
|
22413
22415
|
return /* @__PURE__ */ M("div", { className: "flex items-center gap-2", children: [
|
|
22414
22416
|
/* @__PURE__ */ d(
|
|
22415
22417
|
Ln,
|
|
22416
22418
|
{
|
|
22417
|
-
src:
|
|
22418
|
-
|
|
22419
|
+
src: a.isEns ? vn : `https://api.dicebear.com/9.x/identicon/svg?seed=${encodeURIComponent(
|
|
22420
|
+
a.name
|
|
22419
22421
|
)}`,
|
|
22420
22422
|
size: "sm",
|
|
22421
22423
|
className: "min-w-6"
|
|
22422
22424
|
}
|
|
22423
22425
|
),
|
|
22424
22426
|
/* @__PURE__ */ M("span", { className: "text-body-sm-bold inline-flex items-center gap-1 whitespace-nowrap", children: [
|
|
22425
|
-
/* @__PURE__ */ d("p", { className: "truncate max-w-[86px]", children: co(
|
|
22426
|
-
|
|
22427
|
+
/* @__PURE__ */ d("p", { className: "truncate max-w-[86px]", children: co(a.name) }),
|
|
22428
|
+
a.isEns && /* @__PURE__ */ d("img", { src: ho, alt: "verified", className: "w-3.5 h-3.5" })
|
|
22427
22429
|
] }),
|
|
22428
22430
|
/* @__PURE__ */ d("span", { className: "text-helper-text-sm color-text-secondary whitespace-nowrap", children: t && Ws(t) }),
|
|
22429
|
-
/* @__PURE__ */ M(
|
|
22430
|
-
|
|
22431
|
-
|
|
22432
|
-
|
|
22433
|
-
|
|
22434
|
-
|
|
22435
|
-
variant: "ghost",
|
|
22436
|
-
size: "sm",
|
|
22437
|
-
onClick: o,
|
|
22438
|
-
title: "Accept suggestion"
|
|
22439
|
-
}
|
|
22431
|
+
/* @__PURE__ */ M(
|
|
22432
|
+
"div",
|
|
22433
|
+
{
|
|
22434
|
+
className: ve(
|
|
22435
|
+
"ml-auto flex items-center gap-1",
|
|
22436
|
+
o && r ? "opacity-100" : "opacity-0 group-hover:opacity-100"
|
|
22440
22437
|
),
|
|
22441
|
-
|
|
22442
|
-
|
|
22443
|
-
|
|
22444
|
-
|
|
22445
|
-
|
|
22446
|
-
|
|
22447
|
-
|
|
22448
|
-
|
|
22449
|
-
|
|
22450
|
-
|
|
22451
|
-
|
|
22452
|
-
|
|
22453
|
-
|
|
22454
|
-
|
|
22455
|
-
|
|
22456
|
-
|
|
22457
|
-
|
|
22458
|
-
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
22462
|
-
|
|
22438
|
+
children: [
|
|
22439
|
+
r && /* @__PURE__ */ M(Bt, { children: [
|
|
22440
|
+
/* @__PURE__ */ d(
|
|
22441
|
+
Le,
|
|
22442
|
+
{
|
|
22443
|
+
icon: "Check",
|
|
22444
|
+
variant: "ghost",
|
|
22445
|
+
size: "sm",
|
|
22446
|
+
onClick: s,
|
|
22447
|
+
title: "Accept suggestion"
|
|
22448
|
+
}
|
|
22449
|
+
),
|
|
22450
|
+
/* @__PURE__ */ d(
|
|
22451
|
+
Le,
|
|
22452
|
+
{
|
|
22453
|
+
icon: "X",
|
|
22454
|
+
variant: "ghost",
|
|
22455
|
+
size: "sm",
|
|
22456
|
+
onClick: i,
|
|
22457
|
+
title: "Reject suggestion"
|
|
22458
|
+
}
|
|
22459
|
+
)
|
|
22460
|
+
] }),
|
|
22461
|
+
n && /* @__PURE__ */ d(
|
|
22462
|
+
Le,
|
|
22463
|
+
{
|
|
22464
|
+
icon: "X",
|
|
22465
|
+
variant: "ghost",
|
|
22466
|
+
size: "sm",
|
|
22467
|
+
onClick: i,
|
|
22468
|
+
title: "Withdraw suggestion"
|
|
22469
|
+
}
|
|
22470
|
+
)
|
|
22471
|
+
]
|
|
22472
|
+
}
|
|
22473
|
+
)
|
|
22463
22474
|
] });
|
|
22464
22475
|
}, gE = ({
|
|
22465
22476
|
thread: e,
|