zudoku 0.39.0 → 0.39.2

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.
Files changed (146) hide show
  1. package/dist/app/entry.server.d.ts +5 -4
  2. package/dist/app/entry.server.js +2 -2
  3. package/dist/app/entry.server.js.map +1 -1
  4. package/dist/cli/cmds/dev.js +1 -7
  5. package/dist/cli/cmds/dev.js.map +1 -1
  6. package/dist/config/validators/common.d.ts +17 -0
  7. package/dist/config/validators/common.js +1 -0
  8. package/dist/config/validators/common.js.map +1 -1
  9. package/dist/config/validators/validate.d.ts +7 -0
  10. package/dist/lib/components/Bootstrap.d.ts +2 -1
  11. package/dist/lib/components/Bootstrap.js +3 -2
  12. package/dist/lib/components/Bootstrap.js.map +1 -1
  13. package/dist/lib/components/Header.js +2 -2
  14. package/dist/lib/components/Header.js.map +1 -1
  15. package/dist/lib/components/Layout.js +1 -1
  16. package/dist/lib/components/Layout.js.map +1 -1
  17. package/dist/lib/components/Main.js +1 -1
  18. package/dist/lib/components/Main.js.map +1 -1
  19. package/dist/lib/components/MobileTopNavigation.js +6 -3
  20. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  21. package/dist/lib/components/TopNavigation.d.ts +1 -0
  22. package/dist/lib/components/TopNavigation.js +2 -2
  23. package/dist/lib/components/TopNavigation.js.map +1 -1
  24. package/dist/lib/components/Zudoku.js +4 -1
  25. package/dist/lib/components/Zudoku.js.map +1 -1
  26. package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
  27. package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
  28. package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
  29. package/dist/lib/components/index.d.ts +2 -1
  30. package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
  31. package/dist/lib/components/navigation/PoweredByZudoku.js +6 -0
  32. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
  33. package/dist/lib/components/navigation/SidebarWrapper.js +9 -2
  34. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  35. package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
  36. package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
  37. package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
  38. package/dist/lib/core/RouteGuard.d.ts +1 -0
  39. package/dist/lib/core/RouteGuard.js +9 -3
  40. package/dist/lib/core/RouteGuard.js.map +1 -1
  41. package/dist/lib/core/ZudokuContext.d.ts +1 -0
  42. package/dist/lib/core/ZudokuContext.js.map +1 -1
  43. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
  44. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
  45. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
  46. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
  47. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
  48. package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
  49. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  50. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +9 -4
  51. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  52. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
  53. package/dist/lib/plugins/search-pagefind/ResultList.js +6 -12
  54. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  55. package/dist/lib/plugins/search-pagefind/index.d.ts +1 -3
  56. package/dist/vite/build.js +1 -9
  57. package/dist/vite/build.js.map +1 -1
  58. package/dist/vite/plugin-search.js +1 -1
  59. package/dist/vite/plugin-search.js.map +1 -1
  60. package/dist/vite/prerender/FileWritingResponse.d.ts +9 -5
  61. package/dist/vite/prerender/FileWritingResponse.js +5 -5
  62. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  63. package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
  64. package/dist/vite/prerender/InMemoryResponse.js +32 -0
  65. package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
  66. package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
  67. package/dist/vite/prerender/PrerenderResponse.js +2 -0
  68. package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
  69. package/dist/vite/prerender/prerender.d.ts +1 -0
  70. package/dist/vite/prerender/prerender.js +18 -0
  71. package/dist/vite/prerender/prerender.js.map +1 -1
  72. package/dist/vite/prerender/worker.js +36 -8
  73. package/dist/vite/prerender/worker.js.map +1 -1
  74. package/dist/zuplo/with-zuplo.js +4 -0
  75. package/dist/zuplo/with-zuplo.js.map +1 -1
  76. package/lib/{Callout-D5frCCJ0.js → Callout-B2vsR09t.js} +2 -2
  77. package/lib/{Callout-D5frCCJ0.js.map → Callout-B2vsR09t.js.map} +1 -1
  78. package/lib/{Dialog-Dv6WG8RN.js → Dialog-sbgekbjb.js} +5 -5
  79. package/lib/{Dialog-Dv6WG8RN.js.map → Dialog-sbgekbjb.js.map} +1 -1
  80. package/lib/{MdxPage-ZW1StNhp.js → MdxPage-JscVnWM8.js} +22 -21
  81. package/lib/{MdxPage-ZW1StNhp.js.map → MdxPage-JscVnWM8.js.map} +1 -1
  82. package/lib/{OasProvider-Cld9RAMQ.js → OasProvider-C4T5TU8Z.js} +2 -2
  83. package/lib/{OasProvider-Cld9RAMQ.js.map → OasProvider-C4T5TU8Z.js.map} +1 -1
  84. package/lib/{OperationList-D-OfzJm6.js → OperationList-C-gBHUou.js} +49 -48
  85. package/lib/{OperationList-D-OfzJm6.js.map → OperationList-C-gBHUou.js.map} +1 -1
  86. package/lib/{Pagination-CYB3nVYx.js → Pagination-DCCvGq0m.js} +2 -2
  87. package/lib/{Pagination-CYB3nVYx.js.map → Pagination-DCCvGq0m.js.map} +1 -1
  88. package/lib/RouteGuard-CqZPoZYJ.js +744 -0
  89. package/lib/RouteGuard-CqZPoZYJ.js.map +1 -0
  90. package/lib/{SchemaList-Ci1WxRh0.js → SchemaList-DuN6ThXR.js} +3 -3
  91. package/lib/{SchemaList-Ci1WxRh0.js.map → SchemaList-DuN6ThXR.js.map} +1 -1
  92. package/lib/{SchemaView-Brn-YxHY.js → SchemaView-B3fOPR4V.js} +112 -100
  93. package/lib/SchemaView-B3fOPR4V.js.map +1 -0
  94. package/lib/{createServer-mMau3eV_.js → createServer-mYvGvmc0.js} +2469 -2443
  95. package/lib/createServer-mYvGvmc0.js.map +1 -0
  96. package/lib/index-D6ktNq4i.js +1863 -0
  97. package/lib/index-D6ktNq4i.js.map +1 -0
  98. package/lib/{index-CjPMxpOV.js → index-DsdAaiwx.js} +13 -12
  99. package/lib/{index-CjPMxpOV.js.map → index-DsdAaiwx.js.map} +1 -1
  100. package/lib/objectEntries-yMIkr2mI.js +5 -0
  101. package/lib/objectEntries-yMIkr2mI.js.map +1 -0
  102. package/lib/ui/Command.js +1 -1
  103. package/lib/useLatest-hmRS46UF.js +11 -0
  104. package/lib/useLatest-hmRS46UF.js.map +1 -0
  105. package/lib/zudoku.components.js +15 -14
  106. package/lib/zudoku.components.js.map +1 -1
  107. package/lib/zudoku.plugin-api-catalog.js +6 -5
  108. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  109. package/lib/zudoku.plugin-markdown.js +1 -1
  110. package/lib/zudoku.plugin-openapi.js +1 -1
  111. package/lib/zudoku.plugin-search-pagefind.js +132 -137
  112. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  113. package/package.json +3 -3
  114. package/src/app/entry.server.tsx +6 -3
  115. package/src/lib/components/Bootstrap.tsx +13 -6
  116. package/src/lib/components/Header.tsx +2 -2
  117. package/src/lib/components/Layout.tsx +1 -1
  118. package/src/lib/components/Main.tsx +3 -2
  119. package/src/lib/components/MobileTopNavigation.tsx +27 -18
  120. package/src/lib/components/TopNavigation.tsx +2 -2
  121. package/src/lib/components/Zudoku.tsx +5 -3
  122. package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
  123. package/src/lib/components/navigation/PoweredByZudoku.tsx +23 -0
  124. package/src/lib/components/navigation/SidebarWrapper.tsx +27 -13
  125. package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
  126. package/src/lib/core/RouteGuard.tsx +26 -4
  127. package/src/lib/core/ZudokuContext.ts +1 -0
  128. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
  129. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +5 -1
  130. package/src/lib/plugins/openapi/schema/SchemaView.tsx +6 -1
  131. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +11 -4
  132. package/src/lib/plugins/search-pagefind/ResultList.tsx +5 -16
  133. package/src/lib/plugins/search-pagefind/index.tsx +1 -1
  134. package/dist/cli/dev/pagefind-command.d.ts +0 -3
  135. package/dist/cli/dev/pagefind-command.js +0 -59
  136. package/dist/cli/dev/pagefind-command.js.map +0 -1
  137. package/dist/lib/components/context/PluginSystem.d.ts +0 -1
  138. package/dist/lib/components/context/PluginSystem.js +0 -2
  139. package/dist/lib/components/context/PluginSystem.js.map +0 -1
  140. package/lib/SchemaView-Brn-YxHY.js.map +0 -1
  141. package/lib/createServer-mMau3eV_.js.map +0 -1
  142. package/lib/index-Bt7MKhZq.js +0 -2514
  143. package/lib/index-Bt7MKhZq.js.map +0 -1
  144. package/lib/objectEntries-BS7aAgOm.js +0 -12
  145. package/lib/objectEntries-BS7aAgOm.js.map +0 -1
  146. package/src/lib/components/context/PluginSystem.ts +0 -0
@@ -1,23 +1,24 @@
1
1
  import { j as $ } from "./jsx-runtime-CYK1ROHF.js";
2
2
  import { d as yr, u as Pa, m as qa, t as Ca } from "./hook-CqpVYDqN.js";
3
- import { a as Ea, b as Ra, H as ka } from "./index-Bt7MKhZq.js";
4
- import { ChevronsUpDownIcon as Yn, CheckIcon as Na, CopyIcon as Aa, UnfoldVerticalIcon as Ia, FoldVerticalIcon as Ua, ChevronsDownUpIcon as La } from "lucide-react";
5
- import { b as _a, a as Fa } from "./chunk-HA7DTUK3-C4gP41vD.js";
6
- import { c as Fe, u as mr, d as Xn, C as Zn, b as ea, a as ur, P as Ba, m as ta, e as Ha, U as Ma } from "./index-CjPMxpOV.js";
7
- import { S as za, a as Wa, b as Ja, c as Ga, e as Va } from "./Select-DVFRKf1R.js";
8
- import { C as Da } from "./CategoryHeading-DpB47wvk.js";
9
- import { I as Qa, S as ra, M as De, H as Ie, P as fr } from "./Markdown-aF5FdsNi.js";
10
- import { P as Ka } from "./Pagination-CYB3nVYx.js";
3
+ import { H as Ea } from "./RouteGuard-CqZPoZYJ.js";
4
+ import { ChevronsUpDownIcon as Yn, CheckIcon as Ra, CopyIcon as ka, UnfoldVerticalIcon as Na, FoldVerticalIcon as Aa, ChevronsDownUpIcon as Ia } from "lucide-react";
5
+ import { b as Ua, a as La } from "./chunk-HA7DTUK3-C4gP41vD.js";
6
+ import { c as Fe, u as mr, d as Xn, C as Zn, b as ea, a as ur, P as _a, m as ta, e as Fa, U as Ba } from "./index-DsdAaiwx.js";
7
+ import { S as Ha, a as Ma, b as za, c as Wa, e as Ja } from "./Select-DVFRKf1R.js";
8
+ import { C as Ga } from "./CategoryHeading-DpB47wvk.js";
9
+ import { I as Va, S as ra, M as De, H as Ie, P as fr } from "./Markdown-aF5FdsNi.js";
10
+ import { P as Da } from "./Pagination-DCCvGq0m.js";
11
11
  import { c as pe } from "./cn-qaFjX9_3.js";
12
- import { useTransition as na, useState as xe, useRef as aa, useEffect as gr, useLayoutEffect as Ya, useMemo as oa } from "react";
13
- import { Button as Xa } from "./ui/Button.js";
14
- import { u as Qe, P as Za, E as Ar, a as eo, g as to, S as Ir } from "./SchemaView-Brn-YxHY.js";
12
+ import { useTransition as na, useState as xe, useRef as aa, useEffect as gr, useLayoutEffect as Qa, useMemo as oa } from "react";
13
+ import { Button as Ka } from "./ui/Button.js";
14
+ import { u as Qe, P as Ya, E as Ar, a as Xa, g as Za, S as Ir } from "./SchemaView-B3fOPR4V.js";
15
15
  import { u as vr } from "./context-DLCwaMXN.js";
16
16
  import { VisuallyHidden as pr } from "@radix-ui/react-visually-hidden";
17
- import { c as ro } from "./index-CPNSgwSb.js";
18
- import { Tabs as no, TabsList as ao, TabsTrigger as oo, TabsContent as io } from "./ui/Tabs.js";
19
- import { Card as so } from "./ui/Card.js";
20
- import { g as lo, c as Ke, a as co } from "./_commonjsHelpers-BkfeUUK-.js";
17
+ import { c as eo } from "./index-CPNSgwSb.js";
18
+ import { Tabs as to, TabsList as ro, TabsTrigger as no, TabsContent as ao } from "./ui/Tabs.js";
19
+ import { Card as oo } from "./ui/Card.js";
20
+ import { g as io, c as Ke, a as so } from "./_commonjsHelpers-BkfeUUK-.js";
21
+ import { a as lo, b as co } from "./index-D6ktNq4i.js";
21
22
  import { S as ia } from "./SyntaxHighlight-BEoSoPEo.js";
22
23
  import { B as Ur } from "./Button-Fp19CMUr.js";
23
24
  import * as Ge from "@radix-ui/react-tabs";
@@ -69,7 +70,7 @@ const Ye = ({
69
70
  ), Lr = ({ url: e }) => {
70
71
  const [n, t] = xe(!1);
71
72
  return /* @__PURE__ */ $.jsx(
72
- Xa,
73
+ Ka,
73
74
  {
74
75
  onClick: () => {
75
76
  navigator.clipboard.writeText(e).then(() => {
@@ -78,7 +79,7 @@ const Ye = ({
78
79
  },
79
80
  variant: "ghost",
80
81
  size: "icon",
81
- children: n ? /* @__PURE__ */ $.jsx(Na, { className: "text-green-600", size: 14 }) : /* @__PURE__ */ $.jsx(Aa, { size: 14, strokeWidth: 1.3 })
82
+ children: n ? /* @__PURE__ */ $.jsx(Ra, { className: "text-green-600", size: 14 }) : /* @__PURE__ */ $.jsx(ka, { size: 14, strokeWidth: 1.3 })
82
83
  }
83
84
  );
84
85
  }, po = () => {
@@ -89,7 +90,7 @@ const Ye = ({
89
90
  const i = o.at(0);
90
91
  return o.length === 1 ? /* @__PURE__ */ $.jsxs("div", { className: "flex items-center gap-2", children: [
91
92
  /* @__PURE__ */ $.jsx("span", { className: "font-medium text-sm", children: "Endpoint:" }),
92
- /* @__PURE__ */ $.jsx(Qa, { className: "text-xs px-2 py-1.5", selectOnClick: !0, children: i.url }),
93
+ /* @__PURE__ */ $.jsx(Va, { className: "text-xs px-2 py-1.5", selectOnClick: !0, children: i.url }),
93
94
  /* @__PURE__ */ $.jsx(Lr, { url: i.url })
94
95
  ] }) : /* @__PURE__ */ $.jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
95
96
  /* @__PURE__ */ $.jsx("span", { className: "font-medium text-sm", children: "Endpoint" }),
@@ -108,7 +109,7 @@ const Ye = ({
108
109
  ),
109
110
  /* @__PURE__ */ $.jsx(Lr, { url: s })
110
111
  ] });
111
- }, ho = ro(
112
+ }, ho = eo(
112
113
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
113
114
  {
114
115
  variants: {
@@ -148,7 +149,7 @@ const yo = (e, n) => e ? n(e) : void 0, mo = (e) => e.schema != null && typeof e
148
149
  }
149
150
  ) : e.name }) }),
150
151
  /* @__PURE__ */ $.jsx(
151
- Za,
152
+ Ya,
152
153
  {
153
154
  schema: a,
154
155
  extraItems: [
@@ -167,7 +168,7 @@ const yo = (e, n) => e ? n(e) : void 0, mo = (e) => e.schema != null && typeof e
167
168
  }
168
169
  ),
169
170
  a.type === "array" && a.items.enum ? /* @__PURE__ */ $.jsx(Ar, { values: a.items.enum }) : a.enum && /* @__PURE__ */ $.jsx(Ar, { values: a.enum }),
170
- /* @__PURE__ */ $.jsx(eo, { schema: a })
171
+ /* @__PURE__ */ $.jsx(Xa, { schema: a })
171
172
  ] });
172
173
  }, vo = ({
173
174
  summary: e,
@@ -182,7 +183,7 @@ const yo = (e, n) => e ? n(e) : void 0, mo = (e) => e.schema != null && typeof e
182
183
  ] }),
183
184
  n === "header" ? "Headers" : `${n} Parameters`
184
185
  ] }),
185
- /* @__PURE__ */ $.jsx(so, { children: /* @__PURE__ */ $.jsx("ul", { className: "list-none m-0 px-0 divide-y ", children: t.sort((c, s) => c.required === s.required ? 0 : c.required ? -1 : 1).map((c) => /* @__PURE__ */ $.jsx(
186
+ /* @__PURE__ */ $.jsx(oo, { children: /* @__PURE__ */ $.jsx("ul", { className: "list-none m-0 px-0 divide-y ", children: t.sort((c, s) => c.required === s.required ? 0 : c.required ? -1 : 1).map((c) => /* @__PURE__ */ $.jsx(
186
187
  go,
187
188
  {
188
189
  parameter: c,
@@ -299,7 +300,7 @@ function wo() {
299
300
  }, dt;
300
301
  }
301
302
  var So = wo();
302
- const ue = /* @__PURE__ */ lo(So);
303
+ const ue = /* @__PURE__ */ io(So);
303
304
  function Le(e, n = {}) {
304
305
  const { delimiter: t = '"', escapeChar: a = "\\", escapeNewlines: c = !0 } = n;
305
306
  return [...e.toString()].map((r) => r === "\b" ? `${a}b` : r === " " ? `${a}t` : r === `
@@ -2914,7 +2915,7 @@ function ls() {
2914
2915
  const cs = {}, us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2915
2916
  __proto__: null,
2916
2917
  default: cs
2917
- }, Symbol.toStringTag, { value: "Module" })), fs = /* @__PURE__ */ co(us);
2918
+ }, Symbol.toStringTag, { value: "Module" })), fs = /* @__PURE__ */ so(us);
2918
2919
  var tr, Mn;
2919
2920
  function ps() {
2920
2921
  if (Mn) return tr;
@@ -4188,7 +4189,7 @@ const bs = ({
4188
4189
  if (o)
4189
4190
  return r.observe(o), () => r.unobserve(o);
4190
4191
  }, [t, e, n]), [s, a];
4191
- }, xs = typeof window < "u" ? Ya : gr, va = ({
4192
+ }, xs = typeof window < "u" ? Qa : gr, va = ({
4192
4193
  children: e,
4193
4194
  maxHeight: n = 250
4194
4195
  }) => {
@@ -4226,7 +4227,7 @@ const bs = ({
4226
4227
  className: "absolute inset-0 grid place-items-center z-10 cursor-pointer peer",
4227
4228
  asChild: !0,
4228
4229
  children: /* @__PURE__ */ $.jsx("div", { children: /* @__PURE__ */ $.jsxs(Ur, { variant: "outline", className: "hidden group-hover:flex", children: [
4229
- /* @__PURE__ */ $.jsx(Ia, { size: 14, className: "mr-1.5" }),
4230
+ /* @__PURE__ */ $.jsx(Na, { size: 14, className: "mr-1.5" }),
4230
4231
  "Click to expand"
4231
4232
  ] }) })
4232
4233
  }
@@ -4240,7 +4241,7 @@ const bs = ({
4240
4241
  className: pe("flex justify-center w-full mb-2", !s && "hidden"),
4241
4242
  children: /* @__PURE__ */ $.jsx(ur, { asChild: !0, children: /* @__PURE__ */ $.jsxs(Ur, { variant: "outline", size: "sm", children: [
4242
4243
  "Collapse",
4243
- /* @__PURE__ */ $.jsx(Ua, { size: 14, className: "ml-1.5" })
4244
+ /* @__PURE__ */ $.jsx(Aa, { size: 14, className: "ml-1.5" })
4244
4245
  ] }) })
4245
4246
  }
4246
4247
  )
@@ -4254,7 +4255,7 @@ const bs = ({
4254
4255
  examples: a
4255
4256
  }) => {
4256
4257
  var g, m, x;
4257
- const { isAuthEnabled: c, login: s, signup: r, isPending: o, isAuthenticated: i } = Ea(), l = (g = t.parameters) == null ? void 0 : g.filter((v) => v.in === "header").sort((v, u) => v.required && !u.required ? -1 : 1).map((v) => {
4258
+ const { isAuthEnabled: c, login: s, signup: r, isPending: o, isAuthenticated: i } = lo(), l = (g = t.parameters) == null ? void 0 : g.filter((v) => v.in === "header").sort((v, u) => v.required && !u.required ? -1 : 1).map((v) => {
4258
4259
  var u, h, d, j, T, p, O, b;
4259
4260
  return {
4260
4261
  name: v.name,
@@ -4275,7 +4276,7 @@ const bs = ({
4275
4276
  };
4276
4277
  }), y = (x = t.parameters) == null ? void 0 : x.filter((v) => v.in === "path").map((v) => ({ name: v.name }));
4277
4278
  return /* @__PURE__ */ $.jsx(
4278
- Ba,
4279
+ _a,
4279
4280
  {
4280
4281
  server: e,
4281
4282
  servers: n,
@@ -4532,14 +4533,14 @@ const bs = ({
4532
4533
  onSelectResponse: t
4533
4534
  }) => {
4534
4535
  var A;
4535
- const { input: a, type: c, options: s } = vr(), r = Pa(), o = Qe(qs, { input: a, type: c }), i = yr(o), l = Ra(), f = ta(e.method), [y, g] = _a(), [, m] = na(), [x, v] = xe(), u = y.get("lang") ?? (s == null ? void 0 : s.examplesLanguage) ?? "shell", h = (A = e.requestBody) == null ? void 0 : A.content, d = h && (s != null && s.transformExamples) ? s.transformExamples({
4536
+ const { input: a, type: c, options: s } = vr(), r = Pa(), o = Qe(qs, { input: a, type: c }), i = yr(o), l = co(), f = ta(e.method), [y, g] = Ua(), [, m] = na(), [x, v] = xe(), u = y.get("lang") ?? (s == null ? void 0 : s.examplesLanguage) ?? "shell", h = (A = e.requestBody) == null ? void 0 : A.content, d = h && (s != null && s.transformExamples) ? s.transformExamples({
4536
4537
  auth: r,
4537
4538
  type: "request",
4538
4539
  operation: e,
4539
4540
  content: h,
4540
4541
  context: l
4541
4542
  }) : h, j = /* @__PURE__ */ $.jsx(
4542
- Ha,
4543
+ Fa,
4543
4544
  {
4544
4545
  path: e.path,
4545
4546
  renderParam: ({ name: E }) => /* @__PURE__ */ $.jsx(
@@ -4662,7 +4663,7 @@ const bs = ({
4662
4663
  serverUrl: n
4663
4664
  }) => {
4664
4665
  var o, i, l;
4665
- const t = uo(Ns, e), a = to(
4666
+ const t = uo(Ns, e), a = Za(
4666
4667
  t.parameters ?? [],
4667
4668
  (f) => f.in
4668
4669
  ), c = t.responses.at(0), [s, r] = xe(c == null ? void 0 : c.statusCode);
@@ -4756,13 +4757,13 @@ const bs = ({
4756
4757
  }
4757
4758
  ),
4758
4759
  /* @__PURE__ */ $.jsxs(
4759
- no,
4760
+ to,
4760
4761
  {
4761
4762
  onValueChange: (f) => r(f),
4762
4763
  value: s,
4763
4764
  children: [
4764
- t.responses.length > 1 && /* @__PURE__ */ $.jsx(ao, { children: t.responses.map((f) => /* @__PURE__ */ $.jsx(
4765
- oo,
4765
+ t.responses.length > 1 && /* @__PURE__ */ $.jsx(ro, { children: t.responses.map((f) => /* @__PURE__ */ $.jsx(
4766
+ no,
4766
4767
  {
4767
4768
  value: f.statusCode,
4768
4769
  title: f.description ?? void 0,
@@ -4773,7 +4774,7 @@ const bs = ({
4773
4774
  /* @__PURE__ */ $.jsx("ul", { className: "list-none m-0 px-0", children: t.responses.map((f) => {
4774
4775
  var y, g;
4775
4776
  return /* @__PURE__ */ $.jsx(
4776
- io,
4777
+ ao,
4777
4778
  {
4778
4779
  value: f.statusCode,
4779
4780
  children: /* @__PURE__ */ $.jsx(
@@ -4922,7 +4923,7 @@ const Ns = Fe(
4922
4923
  }
4923
4924
  }
4924
4925
  `
4925
- ), al = ({
4926
+ ), ol = ({
4926
4927
  tag: e,
4927
4928
  untagged: n
4928
4929
  }) => {
@@ -4933,7 +4934,7 @@ const Ns = Fe(
4933
4934
  untagged: n
4934
4935
  }), i = yr(o), {
4935
4936
  data: { schema: l }
4936
- } = i, { selectedServer: f } = mr(l.servers), y = l.title, g = l.summary, m = l.description, x = Fa(), v = Qe(As, { input: t, type: a });
4937
+ } = i, { selectedServer: f } = mr(l.servers), y = l.title, g = l.summary, m = l.description, x = La(), v = Qe(As, { input: t, type: a });
4937
4938
  if (qa({
4938
4939
  ...v,
4939
4940
  enabled: typeof window < "u",
@@ -4942,7 +4943,7 @@ const Ns = Fe(
4942
4943
  const { operations: u, next: h, prev: d, description: j } = l.tag, T = j ? Kn(j) : g || (m ? Kn(m) : void 0), p = Object.entries(c).length > 1, O = (r == null ? void 0 : r.showVersionSelect) === "always" || p && (r == null ? void 0 : r.showVersionSelect) !== "hide", b = {
4943
4944
  prev: d != null && d.name ? { to: `../${d.slug}`, label: d.name } : void 0,
4944
4945
  next: h ? {
4945
- to: `../${h.slug ?? Ma}`,
4946
+ to: `../${h.slug ?? Ba}`,
4946
4947
  label: h.name ?? "Other endpoints"
4947
4948
  } : void 0
4948
4949
  };
@@ -4953,7 +4954,7 @@ const Ns = Fe(
4953
4954
  "data-pagefind-filter": "section:openapi",
4954
4955
  "data-pagefind-meta": "section:openapi",
4955
4956
  children: [
4956
- /* @__PURE__ */ $.jsxs(ka, { children: [
4957
+ /* @__PURE__ */ $.jsxs(Ea, { children: [
4957
4958
  /* @__PURE__ */ $.jsx("title", { children: [l.tag.name, y].filter(Boolean).join(" - ") }),
4958
4959
  T && /* @__PURE__ */ $.jsx("meta", { name: "description", content: T })
4959
4960
  ] }),
@@ -4961,7 +4962,7 @@ const Ns = Fe(
4961
4962
  /* @__PURE__ */ $.jsxs(Zn, { className: "w-full", children: [
4962
4963
  /* @__PURE__ */ $.jsxs("div", { className: "flex flex-col gap-y-4 sm:flex-row justify-around items-start sm:items-end", children: [
4963
4964
  /* @__PURE__ */ $.jsxs("div", { className: "flex flex-col flex-1 gap-2", children: [
4964
- /* @__PURE__ */ $.jsx(Da, { children: y }),
4965
+ /* @__PURE__ */ $.jsx(Ga, { children: y }),
4965
4966
  /* @__PURE__ */ $.jsxs(
4966
4967
  Ie,
4967
4968
  {
@@ -4984,14 +4985,14 @@ const Ns = Fe(
4984
4985
  ] }),
4985
4986
  /* @__PURE__ */ $.jsxs("div", { className: "flex flex-col gap-4 sm:items-end", children: [
4986
4987
  O && /* @__PURE__ */ $.jsxs(
4987
- za,
4988
+ Ha,
4988
4989
  {
4989
4990
  onValueChange: (q) => x(c[q]),
4990
4991
  defaultValue: s,
4991
4992
  disabled: !p,
4992
4993
  children: [
4993
- /* @__PURE__ */ $.jsx(Wa, { className: "w-[180px]", children: /* @__PURE__ */ $.jsx(Ja, { placeholder: "Select version" }) }),
4994
- /* @__PURE__ */ $.jsx(Ga, { children: Object.entries(c).map(([q]) => /* @__PURE__ */ $.jsx(Va, { value: q, children: q }, q)) })
4994
+ /* @__PURE__ */ $.jsx(Ma, { className: "w-[180px]", children: /* @__PURE__ */ $.jsx(za, { placeholder: "Select version" }) }),
4995
+ /* @__PURE__ */ $.jsx(Wa, { children: Object.entries(c).map(([q]) => /* @__PURE__ */ $.jsx(Ja, { value: q, children: q }, q)) })
4995
4996
  ]
4996
4997
  }
4997
4998
  ),
@@ -5005,7 +5006,7 @@ const Ns = Fe(
5005
5006
  }
5006
5007
  ),
5007
5008
  /* @__PURE__ */ $.jsx(
5008
- La,
5009
+ Ia,
5009
5010
  {
5010
5011
  className: "group-data-[state=closed]:hidden translate-y-px",
5011
5012
  size: 13
@@ -5052,14 +5053,14 @@ const Ns = Fe(
5052
5053
  },
5053
5054
  q.slug
5054
5055
  )),
5055
- /* @__PURE__ */ $.jsx(Ka, { ...b })
5056
+ /* @__PURE__ */ $.jsx(Da, { ...b })
5056
5057
  ] })
5057
5058
  ]
5058
5059
  }
5059
5060
  );
5060
5061
  };
5061
5062
  export {
5062
- al as OperationList,
5063
+ ol as OperationList,
5063
5064
  Ns as OperationsFragment
5064
5065
  };
5065
- //# sourceMappingURL=OperationList-D-OfzJm6.js.map
5066
+ //# sourceMappingURL=OperationList-C-gBHUou.js.map