@fileverse-dev/ddoc 3.0.40-patch-1 → 3.0.40
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, {
|
|
@@ -106239,9 +106239,7 @@ Rn.addRule("taskListItem", {
|
|
|
106239
106239
|
}
|
|
106240
106240
|
});
|
|
106241
106241
|
Rn.addRule("pageBreak", {
|
|
106242
|
-
filter:
|
|
106243
|
-
return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
|
|
106244
|
-
},
|
|
106242
|
+
filter: "br",
|
|
106245
106243
|
replacement: function() {
|
|
106246
106244
|
return `
|
|
106247
106245
|
|
|
@@ -106301,7 +106299,8 @@ Rn.addRule("inlineCode", {
|
|
|
106301
106299
|
Rn.addRule("listItem", {
|
|
106302
106300
|
filter: "li",
|
|
106303
106301
|
replacement: function(e, t, n) {
|
|
106304
|
-
e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(
|
|
106302
|
+
e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(/\n\s*\n/g, `
|
|
106303
|
+
`).replace(/\n/gm, `
|
|
106305
106304
|
`);
|
|
106306
106305
|
let r = n.bulletListMarker + " ";
|
|
106307
106306
|
const o = t.parentNode;
|
|
@@ -115924,7 +115923,8 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115924
115923
|
),
|
|
115925
115924
|
onClick: () => {
|
|
115926
115925
|
t((d) => !d), o(!1);
|
|
115927
|
-
}
|
|
115926
|
+
},
|
|
115927
|
+
"data-testid": "export-import-dropdown"
|
|
115928
115928
|
}
|
|
115929
115929
|
) }),
|
|
115930
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: [
|
|
@@ -115939,6 +115939,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115939
115939
|
u = setTimeout(() => l(!1), 300);
|
|
115940
115940
|
},
|
|
115941
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",
|
|
115942
115943
|
children: [
|
|
115943
115944
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115944
115945
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileExport", className: "w-5 h-5" }),
|
|
@@ -115961,24 +115962,28 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115961
115962
|
u = setTimeout(() => l(!1), 300);
|
|
115962
115963
|
},
|
|
115963
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",
|
|
115964
|
-
children: n.filter((d) => d !== null).map((d, f) =>
|
|
115965
|
-
|
|
115966
|
-
|
|
115967
|
-
|
|
115968
|
-
|
|
115969
|
-
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
|
+
]
|
|
115970
115983
|
},
|
|
115971
|
-
|
|
115972
|
-
|
|
115973
|
-
|
|
115974
|
-
),
|
|
115975
|
-
children: [
|
|
115976
|
-
/* @__PURE__ */ E.jsx("span", { className: "text-body-sm", children: d == null ? void 0 : d.title }),
|
|
115977
|
-
(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" })
|
|
115978
|
-
]
|
|
115979
|
-
},
|
|
115980
|
-
f
|
|
115981
|
-
))
|
|
115984
|
+
f
|
|
115985
|
+
);
|
|
115986
|
+
})
|
|
115982
115987
|
}
|
|
115983
115988
|
)
|
|
115984
115989
|
] }),
|
|
@@ -115993,6 +115998,7 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
115993
115998
|
c = setTimeout(() => a(!1), 300);
|
|
115994
115999
|
},
|
|
115995
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",
|
|
115996
116002
|
children: [
|
|
115997
116003
|
/* @__PURE__ */ E.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
115998
116004
|
/* @__PURE__ */ E.jsx(Ve, { name: "FileImport", className: "w-5 h-5" }),
|
|
@@ -116015,20 +116021,24 @@ const Uun = (e, t) => az(e) ? new zun(t) : new Pun(t, {
|
|
|
116015
116021
|
c = setTimeout(() => a(!1), 300);
|
|
116016
116022
|
},
|
|
116017
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",
|
|
116018
|
-
children: r.filter((d) => d !== null).map((d, f) =>
|
|
116019
|
-
|
|
116020
|
-
|
|
116021
|
-
|
|
116022
|
-
|
|
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
|
+
]
|
|
116023
116038
|
},
|
|
116024
|
-
|
|
116025
|
-
|
|
116026
|
-
|
|
116027
|
-
(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" })
|
|
116028
|
-
]
|
|
116029
|
-
},
|
|
116030
|
-
f
|
|
116031
|
-
))
|
|
116039
|
+
f
|
|
116040
|
+
);
|
|
116041
|
+
})
|
|
116032
116042
|
}
|
|
116033
116043
|
)
|
|
116034
116044
|
] })
|
|
@@ -262641,9 +262651,7 @@ new So({
|
|
|
262641
262651
|
typographer: !0
|
|
262642
262652
|
}).enable("table");
|
|
262643
262653
|
Rn.addRule("pageBreak", {
|
|
262644
|
-
filter:
|
|
262645
|
-
return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
|
|
262646
|
-
},
|
|
262654
|
+
filter: "br",
|
|
262647
262655
|
replacement: function() {
|
|
262648
262656
|
return `
|
|
262649
262657
|
|
package/dist/index.es.js
CHANGED