@fileverse-dev/ddoc 3.0.55-patch-6 → 3.0.55-patch-8
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 +19 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -170186,17 +170186,22 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
170186
170186
|
if (!E) return;
|
|
170187
170187
|
const P = [];
|
|
170188
170188
|
let z = !1;
|
|
170189
|
-
E.toArray().forEach((
|
|
170190
|
-
const
|
|
170191
|
-
|
|
170192
|
-
id:
|
|
170193
|
-
name:
|
|
170194
|
-
emoji:
|
|
170189
|
+
E.toArray().forEach((L) => {
|
|
170190
|
+
const U = S == null ? void 0 : S.get(L);
|
|
170191
|
+
U && (s && s === L && (z = !0), P.push({
|
|
170192
|
+
id: L,
|
|
170193
|
+
name: U.get("name"),
|
|
170194
|
+
emoji: U.get("emoji")
|
|
170195
170195
|
}));
|
|
170196
170196
|
}), h(P);
|
|
170197
|
-
const $ = j == null ? void 0 : j.toString(), q = E.length > 0 ? E.get(0) : "default"
|
|
170198
|
-
|
|
170199
|
-
|
|
170197
|
+
const $ = j == null ? void 0 : j.toString(), q = E.length > 0 ? E.get(0) : "default";
|
|
170198
|
+
if (i) {
|
|
170199
|
+
const L = $ || q;
|
|
170200
|
+
d(
|
|
170201
|
+
(U) => U === L ? U : L
|
|
170202
|
+
);
|
|
170203
|
+
} else s && z && d(
|
|
170204
|
+
(L) => L === s ? L : s
|
|
170200
170205
|
);
|
|
170201
170206
|
};
|
|
170202
170207
|
return T(), _.observeDeep(T), () => {
|
|
@@ -170217,7 +170222,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
170217
170222
|
return e.transact(() => {
|
|
170218
170223
|
const z = new oo();
|
|
170219
170224
|
z.set("name", P.name), z.set("emoji", P.emoji), E.set(P.id, z), e.getXmlFragment(P.id), !n && S instanceof Ni && (S.delete(0, S.length), S.insert(0, j)), T.push([P.id]);
|
|
170220
|
-
}), j;
|
|
170225
|
+
}), d(j), j;
|
|
170221
170226
|
}, [n, e]), w = je(
|
|
170222
170227
|
(_) => {
|
|
170223
170228
|
const { order: T, tabs: E, activeTab: S } = Rc(e);
|
|
@@ -184415,9 +184420,7 @@ const Mqe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184415
184420
|
"div",
|
|
184416
184421
|
{
|
|
184417
184422
|
"data-testid": "mobile-tab-panel",
|
|
184418
|
-
className: st(
|
|
184419
|
-
"fixed w-full flex flex-col transition-[bottom] z-[9] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]"
|
|
184420
|
-
),
|
|
184423
|
+
className: st("fixed w-full flex flex-col z-[9]"),
|
|
184421
184424
|
style: {
|
|
184422
184425
|
bottom: oe || p && !f ? "0px" : f ? "var(--version-sheet-bottom, 24px)" : "24px"
|
|
184423
184426
|
},
|
|
@@ -184427,7 +184430,6 @@ const Mqe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184427
184430
|
{
|
|
184428
184431
|
className: st(
|
|
184429
184432
|
"rounded-t-[12px] color-bg-default flex flex-col w-full gap-[8px] overflow-hidden",
|
|
184430
|
-
"transition-all duration-400 ease-[cubic-bezier(0.16,1,0.3,1)]",
|
|
184431
184433
|
oe ? "h-[300px] space-md shadow-[0_-12px_32px_rgba(0,0,0,0.18)]" : " px-[8px] py-[2px] border color-bg-secondary shadow-none"
|
|
184432
184434
|
),
|
|
184433
184435
|
style: f ? { borderBottom: "none" } : void 0,
|
|
@@ -184435,11 +184437,7 @@ const Mqe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184435
184437
|
/* @__PURE__ */ F.jsxs(
|
|
184436
184438
|
"div",
|
|
184437
184439
|
{
|
|
184438
|
-
className: st(
|
|
184439
|
-
"gap-xsm flex items-center justify-between w-full",
|
|
184440
|
-
"transition-all duration-300",
|
|
184441
|
-
"animate-in fade-in slide-in-from-bottom-2"
|
|
184442
|
-
),
|
|
184440
|
+
className: st("gap-xsm flex items-center justify-between w-full"),
|
|
184443
184441
|
children: [
|
|
184444
184442
|
/* @__PURE__ */ F.jsx("h2", { className: "text-heading-xsm color-text-default", children: "Document tabs" }),
|
|
184445
184443
|
/* @__PURE__ */ F.jsx(
|
|
@@ -184458,8 +184456,8 @@ const Mqe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184458
184456
|
"div",
|
|
184459
184457
|
{
|
|
184460
184458
|
className: st(
|
|
184461
|
-
"w-full no-scrollbar overflow-y-auto",
|
|
184462
|
-
"h-
|
|
184459
|
+
"w-full no-scrollbar overflow-y-auto flex-1",
|
|
184460
|
+
"min-h-0",
|
|
184463
184461
|
"transition-opacity duration-300"
|
|
184464
184462
|
),
|
|
184465
184463
|
children: e.map((ne) => /* @__PURE__ */ F.jsxs(
|