zudoku 0.3.0-dev.84 → 0.3.0-dev.85
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/lib/components/Header.js +5 -4
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +4 -3
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListView.js +6 -1
- package/dist/lib/plugins/openapi/SchemaListView.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaListViewItem.d.ts +3 -2
- package/dist/lib/plugins/openapi/SchemaListViewItem.js +6 -3
- package/dist/lib/plugins/openapi/SchemaListViewItem.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/lib/{OperationList-nQ0bd8TU.js → OperationList-CMH3DPpj.js} +144 -128
- package/lib/OperationList-CMH3DPpj.js.map +1 -0
- package/lib/{Route-CNvxEBnR.js → Route-CwXfyIUw.js} +2 -2
- package/lib/{Route-CNvxEBnR.js.map → Route-CwXfyIUw.js.map} +1 -1
- package/lib/{index-CgCPw6Jn.js → index-DUrF63A6.js} +9 -8
- package/lib/index-DUrF63A6.js.map +1 -0
- package/lib/zudoku.components.js +4 -4
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/Header.tsx +19 -17
- package/src/lib/plugins/openapi/OperationListItem.tsx +5 -6
- package/src/lib/plugins/openapi/ParameterList.tsx +13 -10
- package/src/lib/plugins/openapi/SchemaListView.tsx +18 -2
- package/src/lib/plugins/openapi/SchemaListViewItem.tsx +16 -7
- package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +1 -1
- package/lib/OperationList-nQ0bd8TU.js.map +0 -1
- package/lib/index-CgCPw6Jn.js.map +0 -1
package/lib/zudoku.components.js
CHANGED
|
@@ -1846,7 +1846,7 @@ const hs = () => {
|
|
|
1846
1846
|
/* @__PURE__ */ a.jsx(Vn, { item: t }, n)
|
|
1847
1847
|
)) }) })
|
|
1848
1848
|
] }, e.label) : /* @__PURE__ */ a.jsx(Re, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(Hn, { children: e.label }, e.label) }), Yn = Tt(function() {
|
|
1849
|
-
const [t, n] = Or(), { isAuthenticated: r, profile: o, isAuthEnabled: s } = Dr(), { pathname: i } = Ne(), u = Ve(), { page: d, plugins: m } = u, f = t ? po : mo;
|
|
1849
|
+
const [t, n] = Or(), { isAuthenticated: r, profile: o, isAuthEnabled: s } = Dr(), { pathname: i } = Ne(), u = Ve(), { page: d, plugins: m } = u, f = m.filter((p) => Uo(p)).flatMap((p) => p.getProfileMenuItems(u)).map((p) => /* @__PURE__ */ a.jsx(Vn, { item: p }, p.label)), l = t ? po : mo;
|
|
1850
1850
|
return /* @__PURE__ */ a.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
1851
1851
|
/* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-12 h-[--top-header-height]", children: [
|
|
1852
1852
|
/* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(Re, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
@@ -1886,12 +1886,12 @@ const hs = () => {
|
|
|
1886
1886
|
},
|
|
1887
1887
|
children: "Login"
|
|
1888
1888
|
}
|
|
1889
|
-
) }) : /* @__PURE__ */ a.jsxs(ss, { children: [
|
|
1889
|
+
) }) : f.length > 0 && /* @__PURE__ */ a.jsxs(ss, { children: [
|
|
1890
1890
|
/* @__PURE__ */ a.jsx(is, { asChild: !0, children: /* @__PURE__ */ a.jsx($e, { variant: "ghost", children: o != null && o.email ? `${o.email}` : "My Account" }) }),
|
|
1891
1891
|
/* @__PURE__ */ a.jsxs(Gn, { className: "w-56", children: [
|
|
1892
1892
|
/* @__PURE__ */ a.jsx(qn, { children: "My Account" }),
|
|
1893
1893
|
/* @__PURE__ */ a.jsx(zn, {}),
|
|
1894
|
-
|
|
1894
|
+
f
|
|
1895
1895
|
] })
|
|
1896
1896
|
] }),
|
|
1897
1897
|
/* @__PURE__ */ a.jsx(
|
|
@@ -1901,7 +1901,7 @@ const hs = () => {
|
|
|
1901
1901
|
"aria-label": t ? "Switch to light mode" : "Switch to dark mode",
|
|
1902
1902
|
className: "cursor-pointer hover:bg-secondary p-2.5 -m-2.5 rounded-full",
|
|
1903
1903
|
onClick: n,
|
|
1904
|
-
children: /* @__PURE__ */ a.jsx(
|
|
1904
|
+
children: /* @__PURE__ */ a.jsx(l, { size: 18 })
|
|
1905
1905
|
}
|
|
1906
1906
|
)
|
|
1907
1907
|
] })
|