zudoku 0.3.0-dev.56 → 0.3.0-dev.57
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/app/demo.js +6 -1
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +1 -1
- package/dist/app/entry.client.js +1 -1
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +1 -1
- package/dist/app/entry.server.js +1 -1
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/main.d.ts +1 -1
- package/dist/app/main.js +9 -2
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js +6 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/config/validators/validate.d.ts +65 -5
- package/dist/config/validators/validate.js +7 -1
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/lib/components/Header.js +1 -1
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/navigation/SideNavigationCategory.js +2 -2
- package/dist/lib/components/navigation/SideNavigationCategory.js.map +1 -1
- package/dist/lib/core/DevPortalContext.d.ts +8 -1
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +5 -3
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +2 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +5 -0
- package/dist/lib/plugins/openapi/StaggeredRender.js +13 -0
- package/dist/lib/plugins/openapi/StaggeredRender.js.map +1 -0
- package/dist/vite/plugin-custom-css.js +2 -3
- package/dist/vite/plugin-custom-css.js.map +1 -1
- package/lib/{OperationList-DpR4KzIJ.js → OperationList-DypxLtSC.js} +813 -805
- package/lib/OperationList-DypxLtSC.js.map +1 -0
- package/lib/assets/{worker-BjPv-hjP.js → worker-BWwCA-wk.js} +8 -5
- package/lib/assets/{worker-BjPv-hjP.js.map → worker-BWwCA-wk.js.map} +1 -1
- package/lib/{index-DZ910ttL.js → index-Bg82-bqR.js} +2 -2
- package/lib/{index-DZ910ttL.js.map → index-Bg82-bqR.js.map} +1 -1
- package/lib/zudoku.components.js +53 -45
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +8 -5
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +2 -2
- package/src/app/demo.tsx +6 -1
- package/src/app/entry.client.tsx +1 -1
- package/src/app/entry.server.tsx +1 -1
- package/src/app/main.tsx +11 -2
- package/src/app/standalone.tsx +6 -1
- package/src/lib/components/Header.tsx +6 -1
- package/src/lib/components/navigation/SideNavigationCategory.tsx +3 -3
- package/src/lib/core/DevPortalContext.ts +8 -1
- package/src/lib/oas/graphql/index.ts +7 -3
- package/src/lib/plugins/openapi/OperationList.tsx +9 -6
- package/src/lib/plugins/openapi/StaggeredRender.tsx +17 -0
- package/lib/OperationList-DpR4KzIJ.js.map +0 -1
package/lib/zudoku.components.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var $e = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var le = (t) => {
|
|
3
3
|
throw TypeError(t);
|
|
4
4
|
};
|
|
5
5
|
var Ve = (t, e, r) => e in t ? $e(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
|
-
var v = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r),
|
|
7
|
-
var l = (t, e, r) => (
|
|
6
|
+
var v = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r), ce = (t, e, r) => e.has(t) || le("Cannot " + r);
|
|
7
|
+
var l = (t, e, r) => (ce(t, e, "read from private field"), r ? r.call(t) : e.get(t)), y = (t, e, r) => e.has(t) ? le("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), f = (t, e, r, a) => (ce(t, e, "write to private field"), a ? a.call(t, r) : e.set(t, r), r);
|
|
8
8
|
var L = (t, e, r, a) => ({
|
|
9
9
|
set _(s) {
|
|
10
10
|
f(t, e, s, r);
|
|
@@ -13,17 +13,17 @@ var L = (t, e, r, a) => ({
|
|
|
13
13
|
return l(t, e, a);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as
|
|
16
|
+
import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as X, e as F, f as tt, C as rt, L as at } from "./Markdown-DtLFdxD1.js";
|
|
17
17
|
import { E as Ee, u as st, R as nt } from "./hook-Biq3zYel.js";
|
|
18
18
|
import { j as n, d as it, u as T, O as ot } from "./jsx-runtime-CJZJivg2.js";
|
|
19
19
|
import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-GNsUeGSX.js";
|
|
20
|
-
import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as
|
|
21
|
-
import { g as
|
|
20
|
+
import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as ue, isValidElement as ft, memo as Ce, useMemo as V, useEffect as I, Fragment as pt, useRef as K, useState as mt, forwardRef as gt, Suspense as vt } from "react";
|
|
21
|
+
import { g as W } from "./_commonjsHelpers-BVfed4GL.js";
|
|
22
22
|
import { r as yt } from "./router-CBw2vqJE.js";
|
|
23
|
-
import { S as Oe, h as Ae, Q as bt, n as m, m as
|
|
23
|
+
import { S as Oe, h as Ae, Q as bt, n as m, m as he, a as de, b as P, e as xt, c as wt, d as Et, f as Pt, o as fe, r as pe, g as jt, i as me, p as ge, s as St, u as G, j as Nt, D as Ct, k as Ot, l as At } from "./DevPortalProvider-Do9oJqme.js";
|
|
24
24
|
import { M as Rt } from "./index-gsAuUwQh.js";
|
|
25
25
|
import { R as Re, T as ke, C as Me, S as kt } from "./Spinner-Bhbs5aPI.js";
|
|
26
|
-
import { c as
|
|
26
|
+
import { c as Z, i as ve, j as De, a as Mt } from "./util-_jwUlTBU.js";
|
|
27
27
|
/**
|
|
28
28
|
* @license lucide-react v0.378.0 - ISC
|
|
29
29
|
*
|
|
@@ -76,9 +76,9 @@ function Ft({ error: t }) {
|
|
|
76
76
|
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
77
77
|
}
|
|
78
78
|
var q = {};
|
|
79
|
-
const Qt = /* @__PURE__ */
|
|
79
|
+
const Qt = /* @__PURE__ */ W(yt), It = /* @__PURE__ */ W(it), qt = /* @__PURE__ */ W(Ye);
|
|
80
80
|
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
81
|
-
var Ht = ht, E = Qt,
|
|
81
|
+
var Ht = ht, E = Qt, ee = It, j = qt;
|
|
82
82
|
function Lt(t) {
|
|
83
83
|
if (t && t.__esModule) return t;
|
|
84
84
|
var e = /* @__PURE__ */ Object.create(null);
|
|
@@ -180,7 +180,7 @@ function Ut({
|
|
|
180
180
|
future: e,
|
|
181
181
|
state: r
|
|
182
182
|
}) {
|
|
183
|
-
return
|
|
183
|
+
return ee.UNSAFE_useRoutesImpl(t, void 0, r, e);
|
|
184
184
|
}
|
|
185
185
|
function Kt(t) {
|
|
186
186
|
if (!t) return null;
|
|
@@ -224,11 +224,11 @@ function Te() {
|
|
|
224
224
|
function $t(t, e) {
|
|
225
225
|
return E.createStaticHandler(t, {
|
|
226
226
|
...e,
|
|
227
|
-
mapRouteProperties:
|
|
227
|
+
mapRouteProperties: ee.UNSAFE_mapRouteProperties
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
function Vt(t, e, r = {}) {
|
|
231
|
-
let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t,
|
|
231
|
+
let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, ee.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((c) => {
|
|
232
232
|
let u = a[c.route.id] || c.route;
|
|
233
233
|
return {
|
|
234
234
|
...c,
|
|
@@ -395,12 +395,12 @@ var w, be, tr = (be = class extends Oe {
|
|
|
395
395
|
find(e) {
|
|
396
396
|
const r = { exact: !0, ...e };
|
|
397
397
|
return this.getAll().find(
|
|
398
|
-
(a) =>
|
|
398
|
+
(a) => he(r, a)
|
|
399
399
|
);
|
|
400
400
|
}
|
|
401
401
|
findAll(e = {}) {
|
|
402
402
|
const r = this.getAll();
|
|
403
|
-
return Object.keys(e).length > 0 ? r.filter((a) =>
|
|
403
|
+
return Object.keys(e).length > 0 ? r.filter((a) => he(e, a)) : r;
|
|
404
404
|
}
|
|
405
405
|
notify(e) {
|
|
406
406
|
m.batch(() => {
|
|
@@ -475,11 +475,11 @@ var w, be, tr = (be = class extends Oe {
|
|
|
475
475
|
find(e) {
|
|
476
476
|
const r = { exact: !0, ...e };
|
|
477
477
|
return this.getAll().find(
|
|
478
|
-
(a) =>
|
|
478
|
+
(a) => de(r, a)
|
|
479
479
|
);
|
|
480
480
|
}
|
|
481
481
|
findAll(e = {}) {
|
|
482
|
-
return this.getAll().filter((r) =>
|
|
482
|
+
return this.getAll().filter((r) => de(e, r));
|
|
483
483
|
}
|
|
484
484
|
notify(e) {
|
|
485
485
|
m.batch(() => {
|
|
@@ -505,8 +505,8 @@ function ar(t) {
|
|
|
505
505
|
return {
|
|
506
506
|
onFetch: (e, r) => {
|
|
507
507
|
const a = async () => {
|
|
508
|
-
var re, ae, se, ne
|
|
509
|
-
const s = e.options, o = (
|
|
508
|
+
var te, re, ae, se, ne;
|
|
509
|
+
const s = e.options, o = (ae = (re = (te = e.fetchOptions) == null ? void 0 : te.meta) == null ? void 0 : re.fetchMore) == null ? void 0 : ae.direction, i = ((se = e.state.data) == null ? void 0 : se.pages) || [], c = ((ne = e.state.data) == null ? void 0 : ne.pageParams) || [], u = { pages: [], pageParams: [] };
|
|
510
510
|
let g = !1;
|
|
511
511
|
const d = (b) => {
|
|
512
512
|
Object.defineProperty(b, "signal", {
|
|
@@ -529,10 +529,10 @@ function ar(t) {
|
|
|
529
529
|
d(H);
|
|
530
530
|
const Ke = await Ue(
|
|
531
531
|
H
|
|
532
|
-
), { maxPages:
|
|
532
|
+
), { maxPages: ie } = e.options, oe = A ? wt : Et;
|
|
533
533
|
return {
|
|
534
|
-
pages:
|
|
535
|
-
pageParams:
|
|
534
|
+
pages: oe(b.pages, Ke, ie),
|
|
535
|
+
pageParams: oe(b.pageParams, S, ie)
|
|
536
536
|
};
|
|
537
537
|
};
|
|
538
538
|
let R;
|
|
@@ -605,7 +605,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
605
605
|
mount() {
|
|
606
606
|
L(this, O)._++, l(this, O) === 1 && (f(this, D, Pt.subscribe(async (t) => {
|
|
607
607
|
t && (await this.resumePausedMutations(), l(this, h).onFocus());
|
|
608
|
-
})), f(this, _,
|
|
608
|
+
})), f(this, _, fe.subscribe(async (t) => {
|
|
609
609
|
t && (await this.resumePausedMutations(), l(this, h).onOnline());
|
|
610
610
|
})));
|
|
611
611
|
}
|
|
@@ -630,7 +630,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
630
630
|
return this.fetchQuery(t);
|
|
631
631
|
{
|
|
632
632
|
const r = this.defaultQueryOptions(t), a = l(this, h).build(this, r);
|
|
633
|
-
return t.revalidateIfStale && a.isStaleByTime(
|
|
633
|
+
return t.revalidateIfStale && a.isStaleByTime(pe(r.staleTime, a)) && this.prefetchQuery(r), Promise.resolve(e);
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
getQueriesData(t) {
|
|
@@ -712,7 +712,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
712
712
|
e.retry === void 0 && (e.retry = !1);
|
|
713
713
|
const r = l(this, h).build(this, e);
|
|
714
714
|
return r.isStaleByTime(
|
|
715
|
-
|
|
715
|
+
pe(e.staleTime, r)
|
|
716
716
|
) ? r.fetch(e) : Promise.resolve(r.state.data);
|
|
717
717
|
}
|
|
718
718
|
prefetchQuery(t) {
|
|
@@ -725,7 +725,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
725
725
|
return this.fetchInfiniteQuery(t).then(P).catch(P);
|
|
726
726
|
}
|
|
727
727
|
resumePausedMutations() {
|
|
728
|
-
return
|
|
728
|
+
return fe.isOnline() ? l(this, N).resumePausedMutations() : Promise.resolve();
|
|
729
729
|
}
|
|
730
730
|
getQueryCache() {
|
|
731
731
|
return l(this, h);
|
|
@@ -740,7 +740,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
740
740
|
f(this, C, t);
|
|
741
741
|
}
|
|
742
742
|
setQueryDefaults(t, e) {
|
|
743
|
-
l(this, k).set(
|
|
743
|
+
l(this, k).set(me(t), {
|
|
744
744
|
queryKey: t,
|
|
745
745
|
defaultOptions: e
|
|
746
746
|
});
|
|
@@ -749,11 +749,11 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
749
749
|
const e = [...l(this, k).values()];
|
|
750
750
|
let r = {};
|
|
751
751
|
return e.forEach((a) => {
|
|
752
|
-
|
|
752
|
+
ge(t, a.queryKey) && (r = { ...r, ...a.defaultOptions });
|
|
753
753
|
}), r;
|
|
754
754
|
}
|
|
755
755
|
setMutationDefaults(t, e) {
|
|
756
|
-
l(this, M).set(
|
|
756
|
+
l(this, M).set(me(t), {
|
|
757
757
|
mutationKey: t,
|
|
758
758
|
defaultOptions: e
|
|
759
759
|
});
|
|
@@ -762,7 +762,7 @@ var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
|
762
762
|
const e = [...l(this, M).values()];
|
|
763
763
|
let r = {};
|
|
764
764
|
return e.forEach((a) => {
|
|
765
|
-
|
|
765
|
+
ge(t, a.mutationKey) && (r = { ...r, ...a.defaultOptions });
|
|
766
766
|
}), r;
|
|
767
767
|
}
|
|
768
768
|
defaultQueryOptions(t) {
|
|
@@ -856,13 +856,13 @@ class or extends dt {
|
|
|
856
856
|
if (typeof r == "function")
|
|
857
857
|
c = r(u);
|
|
858
858
|
else if (a)
|
|
859
|
-
c =
|
|
859
|
+
c = ue(a, u);
|
|
860
860
|
else if (s === null || ft(s))
|
|
861
861
|
c = s;
|
|
862
862
|
else
|
|
863
863
|
throw i;
|
|
864
864
|
}
|
|
865
|
-
return
|
|
865
|
+
return ue(ir.Provider, {
|
|
866
866
|
value: {
|
|
867
867
|
didCatch: o,
|
|
868
868
|
error: i,
|
|
@@ -919,7 +919,7 @@ function pr({ error: t, resetErrorBoundary: e }) {
|
|
|
919
919
|
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
920
920
|
}
|
|
921
921
|
const mr = () => {
|
|
922
|
-
const { navigation: t } =
|
|
922
|
+
const { navigation: t } = G();
|
|
923
923
|
return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
924
924
|
J,
|
|
925
925
|
{
|
|
@@ -932,11 +932,19 @@ const mr = () => {
|
|
|
932
932
|
}
|
|
933
933
|
) }, e.label)) }) });
|
|
934
934
|
}, qe = Ce(function() {
|
|
935
|
-
const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } =
|
|
935
|
+
const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = G(), g = e ? _t : Tt;
|
|
936
936
|
return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
937
937
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
|
|
938
938
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
939
|
-
(u == null ? void 0 : u.logo) && /* @__PURE__ */ n.jsx(
|
|
939
|
+
(u == null ? void 0 : u.logo) && /* @__PURE__ */ n.jsx(
|
|
940
|
+
"img",
|
|
941
|
+
{
|
|
942
|
+
src: e ? u.logo.src.dark : u.logo.src.light,
|
|
943
|
+
alt: u.logo.alt ?? u.pageTitle,
|
|
944
|
+
style: { width: u.logo.width },
|
|
945
|
+
className: "h-10"
|
|
946
|
+
}
|
|
947
|
+
),
|
|
940
948
|
/* @__PURE__ */ n.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: u == null ? void 0 : u.pageTitle })
|
|
941
949
|
] }),
|
|
942
950
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
@@ -1008,7 +1016,7 @@ const mr = () => {
|
|
|
1008
1016
|
}, br = Ce(yr), Le = (t) => /* @__PURE__ */ n.jsx(or, { FallbackComponent: pr, children: /* @__PURE__ */ n.jsx(br, { ...t }) });
|
|
1009
1017
|
Le.displayName = "DevPortal";
|
|
1010
1018
|
const xr = () => {
|
|
1011
|
-
const t = T(), { setActiveAnchor: e } =
|
|
1019
|
+
const t = T(), { setActiveAnchor: e } = X();
|
|
1012
1020
|
I(() => {
|
|
1013
1021
|
if (!t.hash) return;
|
|
1014
1022
|
const r = t.hash.split("/")[0].slice(1), a = document.getElementById(decodeURIComponent(r));
|
|
@@ -1036,7 +1044,7 @@ const xr = () => {
|
|
|
1036
1044
|
}) => {
|
|
1037
1045
|
const [a, s] = mt(e), o = T(), i = K(o.pathname);
|
|
1038
1046
|
return I(() => {
|
|
1039
|
-
!a && i.current !== o.pathname && s(
|
|
1047
|
+
!a && i.current !== o.pathname && s(Z(t, o.pathname, r)), i.current = o.pathname;
|
|
1040
1048
|
}, [a, t, r, o.pathname]), [a, s];
|
|
1041
1049
|
}, z = tt(
|
|
1042
1050
|
"flex px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
|
|
@@ -1059,10 +1067,10 @@ const xr = () => {
|
|
|
1059
1067
|
currentTopNavItem: a,
|
|
1060
1068
|
basePath: s = ""
|
|
1061
1069
|
}) => {
|
|
1062
|
-
const o =
|
|
1070
|
+
const o = ve(e) ? De(s, e.path) : "", i = T(), [c, u] = Be({
|
|
1063
1071
|
item: e,
|
|
1064
1072
|
path: o,
|
|
1065
|
-
defaultOpen: () =>
|
|
1073
|
+
defaultOpen: () => Z(e, i.pathname, o)
|
|
1066
1074
|
});
|
|
1067
1075
|
if (Mt(e)) {
|
|
1068
1076
|
const d = F(
|
|
@@ -1124,7 +1132,7 @@ const xr = () => {
|
|
|
1124
1132
|
currentTopNavItem: a,
|
|
1125
1133
|
basePath: o
|
|
1126
1134
|
},
|
|
1127
|
-
|
|
1135
|
+
ve(d) ? d.path : d.href
|
|
1128
1136
|
)) }) })
|
|
1129
1137
|
]
|
|
1130
1138
|
}
|
|
@@ -1150,10 +1158,10 @@ const xr = () => {
|
|
|
1150
1158
|
}, Pr = ({
|
|
1151
1159
|
category: t
|
|
1152
1160
|
}) => {
|
|
1153
|
-
const { activeAnchor: e } =
|
|
1161
|
+
const { activeAnchor: e } = X(), r = Ot(), a = T(), s = t.collapsible ?? !0, [o, i] = Be({
|
|
1154
1162
|
item: t,
|
|
1155
1163
|
path: (r == null ? void 0 : r.path) ?? "",
|
|
1156
|
-
defaultOpen: () => !s || t.expanded ||
|
|
1164
|
+
defaultOpen: () => !s || t.expanded || Z(t, a.pathname, (r == null ? void 0 : r.path) ?? "")
|
|
1157
1165
|
});
|
|
1158
1166
|
return /* @__PURE__ */ n.jsxs(
|
|
1159
1167
|
Re,
|
|
@@ -1180,7 +1188,7 @@ const xr = () => {
|
|
|
1180
1188
|
]
|
|
1181
1189
|
}
|
|
1182
1190
|
) }) : "Endpoints",
|
|
1183
|
-
/* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((c) => /* @__PURE__ */ n.jsx(
|
|
1191
|
+
/* @__PURE__ */ n.jsx(Me, { className: "CollapsibleContent -mx-[--padding-nav-item]", children: /* @__PURE__ */ n.jsx("ul", { className: "space-y-0.5 mt-1.5 mb-4 ms-3", children: t.children.map((c, u) => /* @__PURE__ */ n.jsx(
|
|
1184
1192
|
ze,
|
|
1185
1193
|
{
|
|
1186
1194
|
category: t,
|
|
@@ -1189,7 +1197,7 @@ const xr = () => {
|
|
|
1189
1197
|
currentTopNavItem: r,
|
|
1190
1198
|
basePath: De(r == null ? void 0 : r.path, t.path)
|
|
1191
1199
|
},
|
|
1192
|
-
|
|
1200
|
+
u
|
|
1193
1201
|
)) }) })
|
|
1194
1202
|
]
|
|
1195
1203
|
},
|
|
@@ -1219,7 +1227,7 @@ const xr = () => {
|
|
|
1219
1227
|
}
|
|
1220
1228
|
);
|
|
1221
1229
|
}, Nr = ({ children: t }) => {
|
|
1222
|
-
const e = T(), { setActiveAnchor: r } =
|
|
1230
|
+
const e = T(), { setActiveAnchor: r } = X(), { meta: a } = G();
|
|
1223
1231
|
xr(), wr();
|
|
1224
1232
|
const s = K(e.pathname);
|
|
1225
1233
|
return I(() => {
|