@fileverse-dev/ddoc 3.0.38 → 3.0.39-test-1
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-Hi3pGU4K.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 TF(e, t) {
|
|
|
93963
93963
|
});
|
|
93964
93964
|
return oe === "0x" ? { data: void 0 } : { data: oe };
|
|
93965
93965
|
} catch (O) {
|
|
93966
|
-
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-
|
|
93966
|
+
const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-BJOYAKjt.mjs");
|
|
93967
93967
|
if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
|
|
93968
93968
|
return { data: await H(e, { data: I, to: x }) };
|
|
93969
93969
|
throw _ && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
|
|
@@ -115923,7 +115923,8 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115923
115923
|
),
|
|
115924
115924
|
onClick: () => {
|
|
115925
115925
|
t((d) => !d), o(!1);
|
|
115926
|
-
}
|
|
115926
|
+
},
|
|
115927
|
+
"data-testid": "export-import-dropdown"
|
|
115927
115928
|
}
|
|
115928
115929
|
) }),
|
|
115929
115930
|
content: /* @__PURE__ */ E.jsxs("div", { className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default", children: [
|
|
@@ -115938,6 +115939,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115938
115939
|
u = setTimeout(() => l(!1), 300);
|
|
115939
115940
|
},
|
|
115940
115941
|
className: "appearance-none bg-transparent hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
115942
|
+
"data-testid": "export-dropdown",
|
|
115941
115943
|
children: [
|
|
115942
115944
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115943
115945
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileExport", className: "w-5 h-5" }),
|
|
@@ -115960,24 +115962,28 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115960
115962
|
u = setTimeout(() => l(!1), 300);
|
|
115961
115963
|
},
|
|
115962
115964
|
className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default",
|
|
115963
|
-
children: n.filter((d) => d !== null).map((d, f) =>
|
|
115964
|
-
|
|
115965
|
-
|
|
115966
|
-
|
|
115967
|
-
|
|
115968
|
-
d
|
|
115965
|
+
children: n.filter((d) => d !== null).map((d, f) => {
|
|
115966
|
+
var h, p, g;
|
|
115967
|
+
return /* @__PURE__ */ E.jsxs(
|
|
115968
|
+
"button",
|
|
115969
|
+
{
|
|
115970
|
+
disabled: d == null ? void 0 : d.disabled,
|
|
115971
|
+
onClick: () => {
|
|
115972
|
+
d != null && d.disabled || (t(!1), d == null || d.onClick());
|
|
115973
|
+
},
|
|
115974
|
+
className: Te(
|
|
115975
|
+
"h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
115976
|
+
d != null && d.disabled ? "opacity-50 cursor-not-allowed" : "hover:color-bg-default-hover"
|
|
115977
|
+
),
|
|
115978
|
+
"data-testid": `export-${((p = (h = d == null ? void 0 : d.title) == null ? void 0 : h.match(/\(\.(\w+)\)/)) == null ? void 0 : p[1]) || ((g = d == null ? void 0 : d.title) == null ? void 0 : g.toLowerCase().replace(/[^a-z]/g, "-"))}`,
|
|
115979
|
+
children: [
|
|
115980
|
+
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
115981
|
+
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
115982
|
+
]
|
|
115969
115983
|
},
|
|
115970
|
-
|
|
115971
|
-
|
|
115972
|
-
|
|
115973
|
-
),
|
|
115974
|
-
children: [
|
|
115975
|
-
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
115976
|
-
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
115977
|
-
]
|
|
115978
|
-
},
|
|
115979
|
-
f
|
|
115980
|
-
))
|
|
115984
|
+
f
|
|
115985
|
+
);
|
|
115986
|
+
})
|
|
115981
115987
|
}
|
|
115982
115988
|
)
|
|
115983
115989
|
] }),
|
|
@@ -115992,6 +115998,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115992
115998
|
c = setTimeout(() => a(!1), 300);
|
|
115993
115999
|
},
|
|
115994
116000
|
className: "appearance-none bg-transparent hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
116001
|
+
"data-testid": "import-dropdown",
|
|
115995
116002
|
children: [
|
|
115996
116003
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115997
116004
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileImport", className: "w-5 h-5" }),
|
|
@@ -116014,20 +116021,24 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
116014
116021
|
c = setTimeout(() => a(!1), 300);
|
|
116015
116022
|
},
|
|
116016
116023
|
className: "w-[220px] rounded-lg p-2 flex flex-col gap-1 scroll-smooth color-bg-default shadow-elevation-3 transition-all color-text-default",
|
|
116017
|
-
children: r.filter((d) => d !== null).map((d, f) =>
|
|
116018
|
-
|
|
116019
|
-
|
|
116020
|
-
|
|
116021
|
-
|
|
116024
|
+
children: r.filter((d) => d !== null).map((d, f) => {
|
|
116025
|
+
var h, p, g;
|
|
116026
|
+
return /* @__PURE__ */ E.jsxs(
|
|
116027
|
+
"button",
|
|
116028
|
+
{
|
|
116029
|
+
onClick: () => {
|
|
116030
|
+
t(!1), d == null || d.onClick();
|
|
116031
|
+
},
|
|
116032
|
+
className: "hover:color-bg-default-hover h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
116033
|
+
"data-testid": `import-${((p = (h = d == null ? void 0 : d.title) == null ? void 0 : h.match(/\(\.(\w+)\)/)) == null ? void 0 : p[1]) || ((g = d == null ? void 0 : d.title) == null ? void 0 : g.toLowerCase().replace(/[^a-z]/g, "-"))}`,
|
|
116034
|
+
children: [
|
|
116035
|
+
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
116036
|
+
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
116037
|
+
]
|
|
116022
116038
|
},
|
|
116023
|
-
|
|
116024
|
-
|
|
116025
|
-
|
|
116026
|
-
(d == null ? void 0 : d.isNew) && /* @__PURE__ */ E.jsx("p", { className: "max-h-[16px] flex items-center text-[8px] color-bg-brand text-black rounded p-1 font-semibold", children: "NEW" })
|
|
116027
|
-
]
|
|
116028
|
-
},
|
|
116029
|
-
f
|
|
116030
|
-
))
|
|
116039
|
+
f
|
|
116040
|
+
);
|
|
116041
|
+
})
|
|
116031
116042
|
}
|
|
116032
116043
|
)
|
|
116033
116044
|
] })
|
|
@@ -263563,6 +263574,7 @@ const $Pn = ({
|
|
|
263563
263574
|
}) => /* @__PURE__ */ E.jsx(
|
|
263564
263575
|
"div",
|
|
263565
263576
|
{
|
|
263577
|
+
"data-testid": "comment-auth-modal",
|
|
263566
263578
|
className: Te(
|
|
263567
263579
|
"flex flex-col h-screen xl:!h-[80vh] !color-bg-default !rounded-b-lg",
|
|
263568
263580
|
!n && "xl:!h-[calc(100vh-150px)]"
|
|
@@ -263585,6 +263597,7 @@ const $Pn = ({
|
|
|
263585
263597
|
/* @__PURE__ */ E.jsx(
|
|
263586
263598
|
ml,
|
|
263587
263599
|
{
|
|
263600
|
+
"data-testid": "comment-name-input",
|
|
263588
263601
|
type: "text",
|
|
263589
263602
|
value: e,
|
|
263590
263603
|
onChange: (s) => t == null ? void 0 : t(s.target.value),
|
|
@@ -263598,6 +263611,7 @@ const $Pn = ({
|
|
|
263598
263611
|
/* @__PURE__ */ E.jsx(
|
|
263599
263612
|
$t,
|
|
263600
263613
|
{
|
|
263614
|
+
"data-testid": "comment-join-btn",
|
|
263601
263615
|
onClick: () => o == null ? void 0 : o(e),
|
|
263602
263616
|
disabled: !e || a,
|
|
263603
263617
|
isLoading: a,
|
|
@@ -263630,6 +263644,7 @@ const $Pn = ({
|
|
|
263630
263644
|
/* @__PURE__ */ E.jsx("div", { className: "text-center", children: /* @__PURE__ */ E.jsxs(
|
|
263631
263645
|
$t,
|
|
263632
263646
|
{
|
|
263647
|
+
"data-testid": "comment-ens-btn",
|
|
263633
263648
|
onClick: r ? () => null : i,
|
|
263634
263649
|
disabled: a,
|
|
263635
263650
|
className: "custom-ens-button",
|
package/dist/index.es.js
CHANGED