zudoku 0.32.6 → 0.33.1
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/cli.js +3 -0
- package/dist/app/main.js +1 -1
- package/dist/app/main.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +7 -0
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +5 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +20 -13
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/cmds/preview.d.ts +16 -0
- package/dist/cli/cmds/preview.js +25 -0
- package/dist/cli/cmds/preview.js.map +1 -0
- package/dist/cli/preview/handler.d.ts +3 -0
- package/dist/cli/preview/handler.js +37 -0
- package/dist/cli/preview/handler.js.map +1 -0
- package/dist/config/common.d.ts +5 -2
- package/dist/config/config.d.ts +2 -7
- package/dist/config/loader.d.ts +4 -4
- package/dist/config/loader.js +7 -4
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/validate.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +1 -0
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +4 -3
- package/dist/lib/authentication/providers/openid.js +4 -2
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.js +8 -2
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/ThemeSwitch.js +1 -1
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +7 -6
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
- package/dist/lib/components/index.d.ts +1 -1
- package/dist/lib/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +23 -18
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +10 -0
- package/dist/lib/core/ZudokuContext.js +17 -1
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +8 -2
- package/dist/lib/core/plugins.js +1 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +3 -0
- package/dist/lib/hooks/index.js +5 -0
- package/dist/lib/hooks/index.js.map +1 -0
- package/dist/lib/hooks/useEvent.d.ts +11 -0
- package/dist/lib/hooks/useEvent.js +19 -0
- package/dist/lib/hooks/useEvent.js.map +1 -0
- package/dist/lib/hooks/useEvent.test.d.ts +1 -0
- package/dist/lib/hooks/useEvent.test.js +100 -0
- package/dist/lib/hooks/useEvent.test.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/ui/Stepper.d.ts +4 -0
- package/dist/lib/ui/Stepper.js +7 -0
- package/dist/lib/ui/Stepper.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +3 -1
- package/dist/lib/util/MdxComponents.js +3 -0
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/vite/config.d.ts +2 -5
- package/dist/vite/config.js +21 -28
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +1 -1
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/css/plugin.d.ts +2 -2
- package/dist/vite/css/plugin.js.map +1 -1
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +2 -2
- package/dist/vite/plugin-api-keys.js +3 -3
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +2 -2
- package/dist/vite/plugin-api.js +5 -5
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -2
- package/dist/vite/plugin-auth.js +3 -3
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -2
- package/dist/vite/plugin-component.js +3 -2
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +4 -3
- package/dist/vite/plugin-config-reload.js +11 -8
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -2
- package/dist/vite/plugin-config.js +2 -2
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +2 -2
- package/dist/vite/plugin-custom-pages.js +3 -3
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +2 -2
- package/dist/vite/plugin-docs.js +5 -5
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -2
- package/dist/vite/plugin-frontmatter.js +5 -4
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +2 -2
- package/dist/vite/plugin-mdx.js +1 -1
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +2 -2
- package/dist/vite/plugin-redirect.js +3 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -2
- package/dist/vite/plugin-search.js +1 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-sidebar.d.ts +2 -2
- package/dist/vite/plugin-sidebar.js +2 -2
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/plugin-theme-css.d.ts +2 -2
- package/dist/vite/plugin-theme-css.js.map +1 -1
- package/dist/vite/plugin.d.ts +2 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +2 -1
- package/dist/vite/prerender/FileWritingResponse.js +4 -1
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/worker.d.ts +1 -1
- package/dist/vite/prerender/worker.js +3 -0
- package/dist/vite/prerender/worker.js.map +1 -1
- package/lib/{AuthenticationPlugin-BlxA4Mbn.js → AuthenticationPlugin-CiO1FM6Q.js} +2 -2
- package/lib/{AuthenticationPlugin-BlxA4Mbn.js.map → AuthenticationPlugin-CiO1FM6Q.js.map} +1 -1
- package/lib/Dialog-DIKGQxQc.js +83 -0
- package/lib/Dialog-DIKGQxQc.js.map +1 -0
- package/lib/{Markdown-Cr9sYpR_.js → Markdown-DePfm7oQ.js} +1384 -1381
- package/lib/{Markdown-Cr9sYpR_.js.map → Markdown-DePfm7oQ.js.map} +1 -1
- package/lib/{MdxPage-Dt-UEQl8.js → MdxPage-DZTt9ld7.js} +4 -4
- package/lib/{MdxPage-Dt-UEQl8.js.map → MdxPage-DZTt9ld7.js.map} +1 -1
- package/lib/{OasProvider-WVtvHP5H.js → OasProvider-SzD9mHJc.js} +3 -3
- package/lib/{OasProvider-WVtvHP5H.js.map → OasProvider-SzD9mHJc.js.map} +1 -1
- package/lib/{OperationList-DhOwupvv.js → OperationList-DDs9NblY.js} +242 -241
- package/lib/OperationList-DDs9NblY.js.map +1 -0
- package/lib/{Select-D9hI1G-y.js → Select-Dqtcn53H.js} +36 -36
- package/lib/{Select-D9hI1G-y.js.map → Select-Dqtcn53H.js.map} +1 -1
- package/lib/{SlotletProvider-CEfNOA8i.js → SlotletProvider-DdtIOUi6.js} +2 -2
- package/lib/{SlotletProvider-CEfNOA8i.js.map → SlotletProvider-DdtIOUi6.js.map} +1 -1
- package/lib/{createServer-DMf6O2Rz.js → createServer-DmusVVsi.js} +987 -967
- package/lib/createServer-DmusVVsi.js.map +1 -0
- package/lib/{hook-CWwSAAlH.js → hook-CN__aZIt.js} +67 -63
- package/lib/{hook-CWwSAAlH.js.map → hook-CN__aZIt.js.map} +1 -1
- package/lib/{index-Do_30Hpk.js → index-CibzSNks.js} +95 -93
- package/lib/{index-Do_30Hpk.js.map → index-CibzSNks.js.map} +1 -1
- package/lib/index-DwT-v3zK.js +86 -0
- package/lib/index-DwT-v3zK.js.map +1 -0
- package/lib/index-gQD2h1wX.js +447 -0
- package/lib/index-gQD2h1wX.js.map +1 -0
- package/lib/{mutation-B0wxqzSN.js → mutation-EclmI0is.js} +2 -2
- package/lib/{mutation-B0wxqzSN.js.map → mutation-EclmI0is.js.map} +1 -1
- package/lib/objectEntries-yMIkr2mI.js +5 -0
- package/lib/objectEntries-yMIkr2mI.js.map +1 -0
- package/lib/ui/Command.js +21 -20
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/SyntaxHighlight.js +2902 -7
- package/lib/ui/SyntaxHighlight.js.map +1 -1
- package/lib/{useScrollToAnchor-C-sRxs9o.js → useScrollToAnchor-C7ilRSts.js} +3 -3
- package/lib/{useScrollToAnchor-C-sRxs9o.js.map → useScrollToAnchor-C7ilRSts.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +15 -14
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-openid.js +126 -124
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +441 -395
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.css +1 -0
- package/lib/zudoku.hooks.js +19 -0
- package/lib/zudoku.hooks.js.map +1 -0
- package/lib/zudoku.plugin-api-catalog.js +2 -2
- package/lib/zudoku.plugin-api-keys.js +5 -5
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +2 -2
- package/lib/zudoku.plugins.js +9 -8
- package/lib/zudoku.plugins.js.map +1 -1
- package/package.json +12 -4
- package/src/app/main.tsx +1 -1
- package/src/lib/authentication/providers/auth0.tsx +3 -2
- package/src/lib/authentication/providers/openid.tsx +8 -5
- package/src/lib/authentication/state.ts +8 -2
- package/src/lib/components/ThemeSwitch.tsx +1 -1
- package/src/lib/components/Zudoku.tsx +9 -5
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/core/RouteGuard.tsx +43 -18
- package/src/lib/core/ZudokuContext.ts +31 -0
- package/src/lib/core/plugins.ts +16 -2
- package/src/lib/hooks/index.ts +5 -0
- package/src/lib/hooks/useEvent.test.tsx +149 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
- package/src/lib/ui/Stepper.css +43 -0
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/util/MdxComponents.tsx +4 -1
- package/lib/OperationList-DhOwupvv.js.map +0 -1
- package/lib/SyntaxHighlight-CcnUjERD.js +0 -2986
- package/lib/SyntaxHighlight-CcnUjERD.js.map +0 -1
- package/lib/createServer-DMf6O2Rz.js.map +0 -1
- package/lib/index-Du5aNddU.js +0 -509
- package/lib/index-Du5aNddU.js.map +0 -1
|
@@ -9,33 +9,35 @@ import { j as e } from "./jsx-runtime-CYK1ROHF.js";
|
|
|
9
9
|
import { s as W } from "./index-LNp6rxyU.js";
|
|
10
10
|
import { Circle as bt, ChevronRightIcon as B, CheckIcon as Nt, DotIcon as wt, Check as Ct, Search as Tt, XIcon as $t, ChevronDownIcon as St, InfoIcon as Le, LogInIcon as Pt, CirclePlayIcon as Rt } from "lucide-react";
|
|
11
11
|
import { r as kt, m as Ve } from "./chunk-IR6S3I6Y-D_3UmFIn.js";
|
|
12
|
-
import {
|
|
12
|
+
import { m as It, o as Ot, p as Et, k as At } from "./hook-CN__aZIt.js";
|
|
13
13
|
import { Button as K } from "./ui/Button.js";
|
|
14
14
|
import { j as O } from "./joinUrl-10po2Jdj.js";
|
|
15
15
|
import { Z as qt } from "./invariant-Caa8-XvF.js";
|
|
16
16
|
import { VisuallyHidden as Dt } from "@radix-ui/react-visually-hidden";
|
|
17
17
|
import * as x from "react";
|
|
18
|
-
import { Fragment as k, useRef as q, useEffect as
|
|
19
|
-
import {
|
|
20
|
-
import { S as Qe, a as Ze, b as We, c as Ke, e as Q, u as
|
|
21
|
-
import { b as
|
|
18
|
+
import { Fragment as k, useRef as q, useEffect as fe, useState as U, useCallback as Lt, useTransition as Vt } from "react";
|
|
19
|
+
import { D as Ft, b as zt, a as Ht, c as Gt } from "./Dialog-DIKGQxQc.js";
|
|
20
|
+
import { S as Qe, a as Ze, b as We, c as Ke, e as Q, u as Bt } from "./Select-Dqtcn53H.js";
|
|
21
|
+
import { b as ge, u as ye, C as I, a as Ut, F as Mt } from "./index.esm--gIChbWs.js";
|
|
22
22
|
import { c as ve } from "./index-CPNSgwSb.js";
|
|
23
23
|
import { c as m } from "./cn-qaFjX9_3.js";
|
|
24
24
|
import * as Xe from "@radix-ui/react-label";
|
|
25
25
|
import * as M from "@radix-ui/react-radio-group";
|
|
26
|
-
import { Card as je, CardHeader as
|
|
26
|
+
import { Card as je, CardHeader as _t, CardTitle as Jt, CardContent as Qt } from "./ui/Card.js";
|
|
27
27
|
import { Tabs as Ye, TabsList as et, TabsTrigger as E, TabsContent as A } from "./ui/Tabs.js";
|
|
28
|
-
import { z as
|
|
29
|
-
import { B as Z, S as
|
|
28
|
+
import { z as Zt } from "./index-DwT-v3zK.js";
|
|
29
|
+
import { B as Z, S as Wt } from "./Spinner-1KrEmx1V.js";
|
|
30
30
|
import * as j from "@radix-ui/react-dropdown-menu";
|
|
31
31
|
import * as me from "@radix-ui/react-checkbox";
|
|
32
32
|
import * as X from "@radix-ui/react-popover";
|
|
33
|
-
import { PopoverAnchor as
|
|
33
|
+
import { PopoverAnchor as Kt } from "@radix-ui/react-popover";
|
|
34
|
+
import { V as $, T as Xt } from "./index-gQD2h1wX.js";
|
|
34
35
|
import { Input as be } from "./ui/Input.js";
|
|
35
|
-
import { Slot as
|
|
36
|
-
import { Callout as
|
|
36
|
+
import { Slot as Yt } from "@radix-ui/react-slot";
|
|
37
|
+
import { Callout as ea } from "./ui/Callout.js";
|
|
37
38
|
import { Collapsible as Fe, CollapsibleTrigger as ze, CollapsibleContent as He } from "./ui/Collapsible.js";
|
|
38
39
|
import * as Ne from "@radix-ui/react-collapsible";
|
|
40
|
+
import { SyntaxHighlight as ta } from "./ui/SyntaxHighlight.js";
|
|
39
41
|
let ie;
|
|
40
42
|
const aa = (t) => {
|
|
41
43
|
var a;
|
|
@@ -47,7 +49,7 @@ const aa = (t) => {
|
|
|
47
49
|
var te, ae;
|
|
48
50
|
class sa {
|
|
49
51
|
constructor(a) {
|
|
50
|
-
oe(this, te, async () => (ie || (ie = import("./createServer-
|
|
52
|
+
oe(this, te, async () => (ie || (ie = import("./createServer-DmusVVsi.js").then(
|
|
51
53
|
(a) => a.createServer(this.config)
|
|
52
54
|
)), ie));
|
|
53
55
|
oe(this, ae, async (a) => this.config.server ? fetch(this.config.server, a) : (await re(this, te).call(this)).fetch("http://localhost/graphql", a));
|
|
@@ -335,14 +337,14 @@ const ua = ({
|
|
|
335
337
|
const l = Array.from(n.matchAll(/{([^}]+)}/g)), c = [];
|
|
336
338
|
let d = 0;
|
|
337
339
|
return l.forEach((u) => {
|
|
338
|
-
const [
|
|
340
|
+
const [g, C] = u;
|
|
339
341
|
if (!C) return;
|
|
340
342
|
const b = u.index;
|
|
341
343
|
b > d && c.push(
|
|
342
344
|
/* @__PURE__ */ e.jsx(k, { children: n.slice(d, b) }, `text-${d}-${b}`)
|
|
343
345
|
), c.push(
|
|
344
|
-
/* @__PURE__ */ e.jsx(k, { children: a({ name: C, originalValue:
|
|
345
|
-
), d = b +
|
|
346
|
+
/* @__PURE__ */ e.jsx(k, { children: a({ name: C, originalValue: g, index: s++ }) }, `param-${C}`)
|
|
347
|
+
), d = b + g.length;
|
|
346
348
|
}), d < n.length && c.push(
|
|
347
349
|
/* @__PURE__ */ e.jsx(k, { children: n.slice(d) }, `text-${d}-${n.length}`)
|
|
348
350
|
), // eslint-disable-next-line react/no-array-index-key
|
|
@@ -405,7 +407,7 @@ const le = (t) => Math.abs(
|
|
|
405
407
|
const s = (3 * de(t) + 2 * de(t) + de(t)) % 360, { saturation: n = 75, lightness: r = 60 } = a;
|
|
406
408
|
return `${s}deg ${n}% ${r}%`;
|
|
407
409
|
}, ce = "data-linked-param", ha = (t) => {
|
|
408
|
-
const { resolvedTheme: a } =
|
|
410
|
+
const { resolvedTheme: a } = Zt();
|
|
409
411
|
return {
|
|
410
412
|
text: Ge(
|
|
411
413
|
t,
|
|
@@ -424,10 +426,10 @@ const le = (t) => Math.abs(
|
|
|
424
426
|
children: r,
|
|
425
427
|
onClick: i
|
|
426
428
|
}) => {
|
|
427
|
-
const l = q(null), c = s == null ? void 0 : s.replace(/[{}]/g, ""), d = t.replace(/[{}]/g, ""), { text: u, background:
|
|
428
|
-
return
|
|
429
|
+
const l = q(null), c = s == null ? void 0 : s.replace(/[{}]/g, ""), d = t.replace(/[{}]/g, ""), { text: u, background: g } = ha(d), C = `hsl(${u} / 100%)`, b = `hsl(${g} / 10%)`, p = `hsl(${g} / 50%)`;
|
|
430
|
+
return fe(() => {
|
|
429
431
|
if (!c || !l.current) return;
|
|
430
|
-
const
|
|
432
|
+
const f = () => {
|
|
431
433
|
document.querySelectorAll(`[${ce}="${c}"]`).forEach((y) => {
|
|
432
434
|
y instanceof HTMLElement && (y.dataset.active = "true");
|
|
433
435
|
});
|
|
@@ -436,8 +438,8 @@ const le = (t) => Math.abs(
|
|
|
436
438
|
y instanceof HTMLElement && (y.dataset.active = "false");
|
|
437
439
|
});
|
|
438
440
|
}, v = l.current;
|
|
439
|
-
return v.addEventListener("mouseenter",
|
|
440
|
-
v.removeEventListener("mouseenter",
|
|
441
|
+
return v.addEventListener("mouseenter", f), v.addEventListener("mouseleave", h), () => {
|
|
442
|
+
v.removeEventListener("mouseenter", f), v.removeEventListener("mouseleave", h);
|
|
441
443
|
};
|
|
442
444
|
}, [c]), /* @__PURE__ */ e.jsx(
|
|
443
445
|
"span",
|
|
@@ -474,7 +476,7 @@ const le = (t) => Math.abs(
|
|
|
474
476
|
return s.queryParams.filter((i) => i.active).forEach((i) => {
|
|
475
477
|
r.searchParams.set(i.name, i.value);
|
|
476
478
|
}), r;
|
|
477
|
-
}, nt = j.Root, rt = j.Trigger,
|
|
479
|
+
}, nt = j.Root, rt = j.Trigger, fa = j.Group, ga = x.forwardRef(({ className: t, inset: a, children: s, ...n }, r) => /* @__PURE__ */ e.jsxs(
|
|
478
480
|
j.SubTrigger,
|
|
479
481
|
{
|
|
480
482
|
ref: r,
|
|
@@ -490,7 +492,7 @@ const le = (t) => Math.abs(
|
|
|
490
492
|
]
|
|
491
493
|
}
|
|
492
494
|
));
|
|
493
|
-
|
|
495
|
+
ga.displayName = j.SubTrigger.displayName;
|
|
494
496
|
const ya = x.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ e.jsx(
|
|
495
497
|
j.SubContent,
|
|
496
498
|
{
|
|
@@ -595,7 +597,7 @@ const ba = ({
|
|
|
595
597
|
return /* @__PURE__ */ e.jsxs("div", { children: [
|
|
596
598
|
/* @__PURE__ */ e.jsx(ot, { children: s.mediaType }),
|
|
597
599
|
/* @__PURE__ */ e.jsx(it, {}),
|
|
598
|
-
/* @__PURE__ */ e.jsx(
|
|
600
|
+
/* @__PURE__ */ e.jsx(fa, { children: (n = s.examples) == null ? void 0 : n.map((r) => /* @__PURE__ */ e.jsx(
|
|
599
601
|
Te,
|
|
600
602
|
{
|
|
601
603
|
onSelect: () => a(r),
|
|
@@ -805,9 +807,9 @@ const Ea = ({
|
|
|
805
807
|
onEnterPress: i,
|
|
806
808
|
ref: l
|
|
807
809
|
}) => {
|
|
808
|
-
const [c, d] = U(!1), [u,
|
|
810
|
+
const [c, d] = U(!1), [u, g] = U(!1), C = Xt((p) => p.filtered.count), b = q(null);
|
|
809
811
|
return /* @__PURE__ */ e.jsxs(Oa, { open: c, children: [
|
|
810
|
-
/* @__PURE__ */ e.jsx(
|
|
812
|
+
/* @__PURE__ */ e.jsx(Kt, { children: /* @__PURE__ */ e.jsx(
|
|
811
813
|
dt,
|
|
812
814
|
{
|
|
813
815
|
ref: (p) => {
|
|
@@ -821,8 +823,8 @@ const Ea = ({
|
|
|
821
823
|
u || d(!1);
|
|
822
824
|
},
|
|
823
825
|
onKeyDown: (p) => {
|
|
824
|
-
var
|
|
825
|
-
p.key === "Enter" && (d(!1), (
|
|
826
|
+
var f;
|
|
827
|
+
p.key === "Enter" && (d(!1), (f = b.current) == null || f.blur(), i == null || i(p));
|
|
826
828
|
},
|
|
827
829
|
onValueChange: (p) => s(p)
|
|
828
830
|
}
|
|
@@ -830,8 +832,8 @@ const Ea = ({
|
|
|
830
832
|
/* @__PURE__ */ e.jsx(
|
|
831
833
|
ut,
|
|
832
834
|
{
|
|
833
|
-
onMouseEnter: () =>
|
|
834
|
-
onMouseLeave: () =>
|
|
835
|
+
onMouseEnter: () => g(!0),
|
|
836
|
+
onMouseLeave: () => g(!1),
|
|
835
837
|
onOpenAutoFocus: (p) => p.preventDefault(),
|
|
836
838
|
className: m("p-0 w-[--radix-popover-trigger-width]", {
|
|
837
839
|
"border-0": C === 0
|
|
@@ -848,8 +850,8 @@ const Ea = ({
|
|
|
848
850
|
mt,
|
|
849
851
|
{
|
|
850
852
|
value: p,
|
|
851
|
-
onSelect: (
|
|
852
|
-
s(
|
|
853
|
+
onSelect: (f) => {
|
|
854
|
+
s(f), d(!1);
|
|
853
855
|
},
|
|
854
856
|
className: "cursor-pointer",
|
|
855
857
|
children: p
|
|
@@ -861,7 +863,7 @@ const Ea = ({
|
|
|
861
863
|
] });
|
|
862
864
|
}, ee = ({ shouldFilter: t, ...a }) => /* @__PURE__ */ e.jsx(lt, { className: "bg-transparent", shouldFilter: t, children: /* @__PURE__ */ e.jsx(Ea, { ...a }) }), Se = (t, a) => {
|
|
863
865
|
const s = x.forwardRef(({ className: n, asChild: r, ...i }, l) => {
|
|
864
|
-
const c = r ?
|
|
866
|
+
const c = r ? Yt : t;
|
|
865
867
|
return x.createElement(c, {
|
|
866
868
|
...i,
|
|
867
869
|
ref: l,
|
|
@@ -906,26 +908,26 @@ const Ea = ({
|
|
|
906
908
|
control: t,
|
|
907
909
|
headers: a
|
|
908
910
|
}) => {
|
|
909
|
-
const { fields: s, append: n, remove: r } =
|
|
911
|
+
const { fields: s, append: n, remove: r } = ge({
|
|
910
912
|
control: t,
|
|
911
913
|
name: "headers"
|
|
912
|
-
}), { setValue: i, watch: l } = ye(), c = q([]), d = q([]), u = l("headers"),
|
|
914
|
+
}), { setValue: i, watch: l } = ye(), c = q([]), d = q([]), u = l("headers"), g = Lt(() => {
|
|
913
915
|
n({ name: "", value: "", active: !1 });
|
|
914
916
|
}, [n]);
|
|
915
|
-
|
|
916
|
-
u.length === 0 &&
|
|
917
|
-
}, [u,
|
|
918
|
-
const C = (
|
|
917
|
+
fe(() => {
|
|
918
|
+
u.length === 0 && g();
|
|
919
|
+
}, [u, g]);
|
|
920
|
+
const C = (f) => {
|
|
919
921
|
var h;
|
|
920
|
-
(h = c.current[
|
|
921
|
-
}, b = (
|
|
922
|
-
|
|
922
|
+
(h = c.current[f]) == null || h.focus();
|
|
923
|
+
}, b = (f) => {
|
|
924
|
+
g(), requestAnimationFrame(() => {
|
|
923
925
|
var h;
|
|
924
|
-
return (h = d.current[
|
|
926
|
+
return (h = d.current[f + 1]) == null ? void 0 : h.focus();
|
|
925
927
|
});
|
|
926
|
-
}, p = a.filter((
|
|
928
|
+
}, p = a.filter((f) => !u.some((h) => h.name === f.name)).map(({ name: f }) => f);
|
|
927
929
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
928
|
-
/* @__PURE__ */ e.jsx(se, { className: "overflow-hidden", children: /* @__PURE__ */ e.jsx(Pe, { children: s.map((
|
|
930
|
+
/* @__PURE__ */ e.jsx(se, { className: "overflow-hidden", children: /* @__PURE__ */ e.jsx(Pe, { children: s.map((f, h) => {
|
|
929
931
|
const v = a.find(
|
|
930
932
|
(y) => y.name === l(`headers.${h}.name`)
|
|
931
933
|
);
|
|
@@ -1019,13 +1021,13 @@ const Ea = ({
|
|
|
1019
1021
|
}
|
|
1020
1022
|
)
|
|
1021
1023
|
] })
|
|
1022
|
-
] },
|
|
1024
|
+
] }, f.id);
|
|
1023
1025
|
}) }) }),
|
|
1024
1026
|
/* @__PURE__ */ e.jsx("div", { className: "text-end", children: /* @__PURE__ */ e.jsx(
|
|
1025
1027
|
K,
|
|
1026
1028
|
{
|
|
1027
1029
|
className: "",
|
|
1028
|
-
onClick:
|
|
1030
|
+
onClick: g,
|
|
1029
1031
|
type: "button",
|
|
1030
1032
|
variant: "secondary",
|
|
1031
1033
|
children: "Add header"
|
|
@@ -1035,7 +1037,7 @@ const Ea = ({
|
|
|
1035
1037
|
}, Da = ({
|
|
1036
1038
|
control: t
|
|
1037
1039
|
}) => {
|
|
1038
|
-
const { fields: a } =
|
|
1040
|
+
const { fields: a } = ge({
|
|
1039
1041
|
control: t,
|
|
1040
1042
|
name: "pathParams"
|
|
1041
1043
|
});
|
|
@@ -1079,7 +1081,7 @@ const Ea = ({
|
|
|
1079
1081
|
control: t,
|
|
1080
1082
|
queryParams: a
|
|
1081
1083
|
}) => {
|
|
1082
|
-
const { fields: s } =
|
|
1084
|
+
const { fields: s } = ge({
|
|
1083
1085
|
control: t,
|
|
1084
1086
|
name: "queryParams"
|
|
1085
1087
|
}), n = ye(), r = a.map((i) => !!i.isRequired);
|
|
@@ -1145,8 +1147,8 @@ const Ea = ({
|
|
|
1145
1147
|
{
|
|
1146
1148
|
value: d.value,
|
|
1147
1149
|
options: c.enum ?? [],
|
|
1148
|
-
onChange: (
|
|
1149
|
-
d.onChange(
|
|
1150
|
+
onChange: (g) => {
|
|
1151
|
+
d.onChange(g), n.setValue(`queryParams.${l}.active`, !0);
|
|
1150
1152
|
},
|
|
1151
1153
|
className: "font-mono text-xs border-0 ring-1 ring-ring"
|
|
1152
1154
|
}
|
|
@@ -1154,8 +1156,8 @@ const Ea = ({
|
|
|
1154
1156
|
be,
|
|
1155
1157
|
{
|
|
1156
1158
|
...d,
|
|
1157
|
-
onChange: (
|
|
1158
|
-
d.onChange(
|
|
1159
|
+
onChange: (g) => {
|
|
1160
|
+
d.onChange(g.target.value), g.target.value.length > 0 && n.setValue(`queryParams.${l}.active`, !0);
|
|
1159
1161
|
},
|
|
1160
1162
|
placeholder: "Enter value",
|
|
1161
1163
|
className: "w-full border-0 shadow-none focus-visible:ring-0 text-xs font-mono"
|
|
@@ -1303,7 +1305,7 @@ const Ua = {
|
|
|
1303
1305
|
url: i
|
|
1304
1306
|
}) => {
|
|
1305
1307
|
var p;
|
|
1306
|
-
const l = _a(a), c = Ja(t), d = c || t, [u,
|
|
1308
|
+
const l = _a(a), c = Ja(t), d = c || t, [u, g] = U(
|
|
1307
1309
|
c ? "formatted" : "raw"
|
|
1308
1310
|
), C = It({
|
|
1309
1311
|
queryKey: ["types", d],
|
|
@@ -1317,10 +1319,10 @@ const Ua = {
|
|
|
1317
1319
|
/* @__PURE__ */ e.jsx("span", { className: "font-semibold", children: "Headers" })
|
|
1318
1320
|
] }),
|
|
1319
1321
|
/* @__PURE__ */ e.jsx(Me, { children: /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-[auto,1fr] gap-x-8 gap-y-1 pl-1.5 pt-2 font-mono text-xs", children: [
|
|
1320
|
-
b.slice(0, 5).map(([
|
|
1321
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-primary whitespace-pre", children:
|
|
1322
|
+
b.slice(0, 5).map(([f, h]) => /* @__PURE__ */ e.jsxs(k, { children: [
|
|
1323
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-primary whitespace-pre", children: f }),
|
|
1322
1324
|
/* @__PURE__ */ e.jsx("div", { className: "break-all", children: h })
|
|
1323
|
-
] },
|
|
1325
|
+
] }, f)),
|
|
1324
1326
|
b.length > 5 && /* @__PURE__ */ e.jsxs(Be, { className: "col-span-full grid-cols-subgrid grid", children: [
|
|
1325
1327
|
/* @__PURE__ */ e.jsxs(Ue, { className: "col-span-2 text-xs text-muted-foreground hover:text-primary flex items-center gap-1 py-1", children: [
|
|
1326
1328
|
/* @__PURE__ */ e.jsx(B, { className: "h-3 w-3 transition-transform duration-200 group-data-[state=open]:rotate-[90deg]" }),
|
|
@@ -1328,15 +1330,15 @@ const Ua = {
|
|
|
1328
1330
|
b.length - 5,
|
|
1329
1331
|
" more headers"
|
|
1330
1332
|
] }),
|
|
1331
|
-
/* @__PURE__ */ e.jsx(Me, { className: "col-span-full grid grid-cols-subgrid gap-x-8 gap-y-1 ", children: b.slice(5).map(([
|
|
1332
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-primary whitespace-pre", children:
|
|
1333
|
+
/* @__PURE__ */ e.jsx(Me, { className: "col-span-full grid grid-cols-subgrid gap-x-8 gap-y-1 ", children: b.slice(5).map(([f, h]) => /* @__PURE__ */ e.jsxs(k, { children: [
|
|
1334
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-primary whitespace-pre", children: f }),
|
|
1333
1335
|
/* @__PURE__ */ e.jsx("div", { className: "break-all", children: h })
|
|
1334
|
-
] },
|
|
1336
|
+
] }, f)) })
|
|
1335
1337
|
] })
|
|
1336
1338
|
] }) })
|
|
1337
1339
|
] }),
|
|
1338
1340
|
/* @__PURE__ */ e.jsx(je, { className: "shadow-none", children: /* @__PURE__ */ e.jsx(
|
|
1339
|
-
|
|
1341
|
+
ta,
|
|
1340
1342
|
{
|
|
1341
1343
|
language: u === "types" ? "typescript" : u === "raw" ? c ? "plain" : l : "json",
|
|
1342
1344
|
noBackground: !0,
|
|
@@ -1371,7 +1373,7 @@ const Ua = {
|
|
|
1371
1373
|
Qe,
|
|
1372
1374
|
{
|
|
1373
1375
|
value: u,
|
|
1374
|
-
onValueChange: (
|
|
1376
|
+
onValueChange: (f) => g(f),
|
|
1375
1377
|
children: [
|
|
1376
1378
|
/* @__PURE__ */ e.jsx(Ze, { className: "min-w-32", children: /* @__PURE__ */ e.jsx(We, { placeholder: "View" }) }),
|
|
1377
1379
|
/* @__PURE__ */ e.jsxs(Ke, { children: [
|
|
@@ -1391,10 +1393,10 @@ const Ua = {
|
|
|
1391
1393
|
var n;
|
|
1392
1394
|
const s = ((((n = t.data) == null ? void 0 : n.status) ?? 0) / 100).toFixed(0);
|
|
1393
1395
|
return /* @__PURE__ */ e.jsx("div", { className: "min-w-0 p-8 bg-muted/70 overflow-y-auto", children: t.error ? /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
1394
|
-
a && /* @__PURE__ */ e.jsx(
|
|
1396
|
+
a && /* @__PURE__ */ e.jsx(ea, { type: "caution", children: "Some path parameters are missing values. Please fill them in to ensure the request is sent correctly." }),
|
|
1395
1397
|
/* @__PURE__ */ e.jsxs(je, { children: [
|
|
1396
|
-
/* @__PURE__ */ e.jsx(
|
|
1397
|
-
/* @__PURE__ */ e.jsxs(
|
|
1398
|
+
/* @__PURE__ */ e.jsx(_t, { children: /* @__PURE__ */ e.jsx(Jt, { children: "Request failed" }) }),
|
|
1399
|
+
/* @__PURE__ */ e.jsxs(Qt, { children: [
|
|
1398
1400
|
"Error:",
|
|
1399
1401
|
" ",
|
|
1400
1402
|
t.error.message || String(t.error) || "Unexpected error"
|
|
@@ -1436,7 +1438,7 @@ const Ua = {
|
|
|
1436
1438
|
url: t.data.request.url
|
|
1437
1439
|
}
|
|
1438
1440
|
) })
|
|
1439
|
-
] }) }) : /* @__PURE__ */ e.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: t.isPending ? /* @__PURE__ */ e.jsx(
|
|
1441
|
+
] }) }) : /* @__PURE__ */ e.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ e.jsx("span", { className: "text-[16px] font-semibold text-muted-foreground", children: t.isPending ? /* @__PURE__ */ e.jsx(Wt, {}) : "Send a request first to see the response here" }) }) });
|
|
1440
1442
|
}, Ka = ({
|
|
1441
1443
|
identities: t,
|
|
1442
1444
|
formRef: a,
|
|
@@ -1498,9 +1500,9 @@ const Ua = {
|
|
|
1498
1500
|
examples: d
|
|
1499
1501
|
}) => {
|
|
1500
1502
|
var Oe, Ee, Ae;
|
|
1501
|
-
const { selectedServer: u, setSelectedServer:
|
|
1503
|
+
const { selectedServer: u, setSelectedServer: g } = Ot(
|
|
1502
1504
|
a.map((o) => ({ url: o }))
|
|
1503
|
-
), [, C] = Vt(), { register: b, control: p, handleSubmit:
|
|
1505
|
+
), [, C] = Vt(), { register: b, control: p, handleSubmit: f, watch: h, setValue: v, ...y } = Ut({
|
|
1504
1506
|
defaultValues: {
|
|
1505
1507
|
body: c,
|
|
1506
1508
|
queryParams: i.map((o) => ({
|
|
@@ -1534,13 +1536,13 @@ const Ua = {
|
|
|
1534
1536
|
identity: H
|
|
1535
1537
|
}
|
|
1536
1538
|
}), N = h(), w = Et(), L = q(!1);
|
|
1537
|
-
|
|
1539
|
+
fe(() => {
|
|
1538
1540
|
var R;
|
|
1539
1541
|
if (L.current) return;
|
|
1540
1542
|
const o = (R = w.data) == null ? void 0 : R.at(0);
|
|
1541
1543
|
o && (v("identity", o.id), L.current = !0);
|
|
1542
1544
|
}, [v, w.data]);
|
|
1543
|
-
const V = q(null), _ =
|
|
1545
|
+
const V = q(null), _ = Bt({
|
|
1544
1546
|
mutationFn: async (o) => {
|
|
1545
1547
|
var J, F;
|
|
1546
1548
|
const R = performance.now(), S = new Request(
|
|
@@ -1557,18 +1559,18 @@ const Ua = {
|
|
|
1557
1559
|
try {
|
|
1558
1560
|
const T = await fetch(S, {
|
|
1559
1561
|
signal: AbortSignal.timeout(5e3)
|
|
1560
|
-
}),
|
|
1562
|
+
}), ft = performance.now() - R, qe = await T.text(), gt = new URL(S.url);
|
|
1561
1563
|
return {
|
|
1562
1564
|
status: T.status,
|
|
1563
1565
|
headers: Array.from(T.headers.entries()),
|
|
1564
1566
|
size: qe.length,
|
|
1565
1567
|
body: qe,
|
|
1566
|
-
time:
|
|
1568
|
+
time: ft,
|
|
1567
1569
|
request: {
|
|
1568
1570
|
method: S.method.toUpperCase(),
|
|
1569
1571
|
url: S.url,
|
|
1570
1572
|
headers: [
|
|
1571
|
-
["Host",
|
|
1573
|
+
["Host", gt.host],
|
|
1572
1574
|
["User-Agent", "Zudoku Playground"],
|
|
1573
1575
|
...Array.from(S.headers.entries())
|
|
1574
1576
|
],
|
|
@@ -1612,7 +1614,7 @@ const Ua = {
|
|
|
1612
1614
|
Qe,
|
|
1613
1615
|
{
|
|
1614
1616
|
onValueChange: (o) => {
|
|
1615
|
-
C(() =>
|
|
1617
|
+
C(() => g(o));
|
|
1616
1618
|
},
|
|
1617
1619
|
value: u,
|
|
1618
1620
|
defaultValue: u,
|
|
@@ -1623,18 +1625,18 @@ const Ua = {
|
|
|
1623
1625
|
}
|
|
1624
1626
|
) });
|
|
1625
1627
|
return /* @__PURE__ */ e.jsx(
|
|
1626
|
-
|
|
1628
|
+
Mt,
|
|
1627
1629
|
{
|
|
1628
1630
|
register: b,
|
|
1629
1631
|
control: p,
|
|
1630
|
-
handleSubmit:
|
|
1632
|
+
handleSubmit: f,
|
|
1631
1633
|
watch: h,
|
|
1632
1634
|
setValue: v,
|
|
1633
1635
|
...y,
|
|
1634
1636
|
children: /* @__PURE__ */ e.jsx(
|
|
1635
1637
|
"form",
|
|
1636
1638
|
{
|
|
1637
|
-
onSubmit:
|
|
1639
|
+
onSubmit: f((o) => _.mutateAsync(o)),
|
|
1638
1640
|
ref: V,
|
|
1639
1641
|
children: /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-2 text-sm h-full", children: [
|
|
1640
1642
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-4 p-4 after:bg-muted-foreground/20 relative after:absolute after:w-px after:inset-0 after:left-auto", children: [
|
|
@@ -1805,8 +1807,8 @@ const Ua = {
|
|
|
1805
1807
|
}
|
|
1806
1808
|
), es = (t) => {
|
|
1807
1809
|
const [a, s] = U(!1);
|
|
1808
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1809
|
-
/* @__PURE__ */ e.jsx(
|
|
1810
|
+
return /* @__PURE__ */ e.jsxs(Ft, { onOpenChange: (n) => s(n), children: [
|
|
1811
|
+
/* @__PURE__ */ e.jsx(zt, { asChild: !0, children: t.children ?? /* @__PURE__ */ e.jsxs(
|
|
1810
1812
|
"button",
|
|
1811
1813
|
{
|
|
1812
1814
|
type: "button",
|
|
@@ -1818,12 +1820,12 @@ const Ua = {
|
|
|
1818
1820
|
}
|
|
1819
1821
|
) }),
|
|
1820
1822
|
/* @__PURE__ */ e.jsxs(
|
|
1821
|
-
|
|
1823
|
+
Ht,
|
|
1822
1824
|
{
|
|
1823
1825
|
className: "max-w-screen-xl w-full h-5/6 overflow-hidden p-0",
|
|
1824
1826
|
"aria-describedby": void 0,
|
|
1825
1827
|
children: [
|
|
1826
|
-
/* @__PURE__ */ e.jsx(Dt, { children: /* @__PURE__ */ e.jsx(
|
|
1828
|
+
/* @__PURE__ */ e.jsx(Dt, { children: /* @__PURE__ */ e.jsx(Gt, { children: "Playground" }) }),
|
|
1827
1829
|
a && /* @__PURE__ */ e.jsx(Xa, { ...t })
|
|
1828
1830
|
]
|
|
1829
1831
|
}
|
|
@@ -1868,7 +1870,7 @@ const Ua = {
|
|
|
1868
1870
|
}), Je = (t) => ({
|
|
1869
1871
|
path: t.routePath,
|
|
1870
1872
|
async lazy() {
|
|
1871
|
-
const { OasProvider: a } = await import("./OasProvider-
|
|
1873
|
+
const { OasProvider: a } = await import("./OasProvider-SzD9mHJc.js");
|
|
1872
1874
|
return {
|
|
1873
1875
|
element: /* @__PURE__ */ e.jsx(
|
|
1874
1876
|
a,
|
|
@@ -1889,7 +1891,7 @@ const Ua = {
|
|
|
1889
1891
|
}) => ({
|
|
1890
1892
|
path: t,
|
|
1891
1893
|
async lazy() {
|
|
1892
|
-
const { OperationList: n } = await import("./OperationList-
|
|
1894
|
+
const { OperationList: n } = await import("./OperationList-DDs9NblY.js");
|
|
1893
1895
|
return { element: /* @__PURE__ */ e.jsx(n, { tag: a, untagged: s }) };
|
|
1894
1896
|
}
|
|
1895
1897
|
}), as = (t, a) => {
|
|
@@ -1974,7 +1976,7 @@ const Ua = {
|
|
|
1974
1976
|
}
|
|
1975
1977
|
}
|
|
1976
1978
|
}
|
|
1977
|
-
`), G = "~endpoints",
|
|
1979
|
+
`), G = "~endpoints", Es = (t) => {
|
|
1978
1980
|
const a = O(t.navigationId ?? "/reference"), s = new sa(t);
|
|
1979
1981
|
return {
|
|
1980
1982
|
getHead: () => {
|
|
@@ -2038,9 +2040,9 @@ const Ua = {
|
|
|
2038
2040
|
n
|
|
2039
2041
|
);
|
|
2040
2042
|
try {
|
|
2041
|
-
const l = r == null ? void 0 : r.params.version, c = l ?? pt(t).at(0), d = t.type, u = t.type === "file" ? t.input[c] : t.input,
|
|
2043
|
+
const l = r == null ? void 0 : r.params.version, c = l ?? pt(t).at(0), d = t.type, u = t.type === "file" ? t.input[c] : t.input, g = t.loadTags === !0 || t.type === "url", C = !t.loadTags && t.type !== "url", b = (i = t.tagPages) == null ? void 0 : i.find(
|
|
2042
2044
|
(v) => W(v) === (r == null ? void 0 : r.params.tag)
|
|
2043
|
-
), [p,
|
|
2045
|
+
), [p, f] = await Promise.all([
|
|
2044
2046
|
s.fetch(ns, { type: d, input: u }),
|
|
2045
2047
|
s.fetch(rs, {
|
|
2046
2048
|
type: d,
|
|
@@ -2052,7 +2054,7 @@ const Ua = {
|
|
|
2052
2054
|
a,
|
|
2053
2055
|
l,
|
|
2054
2056
|
W(v.name)
|
|
2055
|
-
), N =
|
|
2057
|
+
), N = f.schema.operations.filter(
|
|
2056
2058
|
(w) => {
|
|
2057
2059
|
var L, V;
|
|
2058
2060
|
return ((L = w.tags) == null ? void 0 : L.length) !== 0 && ((V = w.tags) == null ? void 0 : V.map((_) => _.name).includes(v.name));
|
|
@@ -2062,16 +2064,16 @@ const Ua = {
|
|
|
2062
2064
|
label: v.name,
|
|
2063
2065
|
path: y,
|
|
2064
2066
|
operations: (r == null ? void 0 : r.params.tag) !== G || t.loadTags ? N : [],
|
|
2065
|
-
collapsible:
|
|
2067
|
+
collapsible: g,
|
|
2066
2068
|
collapsed: C
|
|
2067
2069
|
});
|
|
2068
2070
|
});
|
|
2069
|
-
return
|
|
2071
|
+
return f.schema.untagged.length > 0 && h.push(
|
|
2070
2072
|
_e({
|
|
2071
2073
|
label: "Other endpoints",
|
|
2072
2074
|
path: O(a, l, G),
|
|
2073
|
-
operations: (r == null ? void 0 : r.params.tag) === G || t.loadTags ?
|
|
2074
|
-
collapsible:
|
|
2075
|
+
operations: (r == null ? void 0 : r.params.tag) === G || t.loadTags ? f.schema.untagged : [],
|
|
2076
|
+
collapsible: g,
|
|
2075
2077
|
collapsed: C
|
|
2076
2078
|
})
|
|
2077
2079
|
), h;
|
|
@@ -2093,6 +2095,6 @@ export {
|
|
|
2093
2095
|
ua as e,
|
|
2094
2096
|
pt as g,
|
|
2095
2097
|
za as m,
|
|
2096
|
-
|
|
2098
|
+
Es as o
|
|
2097
2099
|
};
|
|
2098
|
-
//# sourceMappingURL=index-
|
|
2100
|
+
//# sourceMappingURL=index-CibzSNks.js.map
|