zudoku 0.66.5 → 0.66.7
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/main.d.ts +6 -6
- package/dist/config/validators/InputNavigationSchema.d.ts +2 -0
- package/dist/config/validators/InputNavigationSchema.js +1 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/NavigationSchema.js +6 -1
- package/dist/config/validators/NavigationSchema.js.map +1 -1
- package/dist/flat-config.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +11 -7
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.js +0 -22
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.js +6 -15
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/components/Pagination.js +2 -2
- package/dist/lib/components/Pagination.js.map +1 -1
- package/dist/lib/components/index.d.ts +3 -0
- package/dist/lib/components/index.js +4 -0
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/NavigationItem.js +2 -2
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/core/react-query.d.ts +1 -0
- package/dist/lib/core/react-query.js +2 -0
- package/dist/lib/core/react-query.js.map +1 -0
- package/dist/lib/oas/graphql/circular.d.ts +2 -0
- package/dist/lib/oas/graphql/circular.js +32 -10
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/circular.test.d.ts +1 -0
- package/dist/lib/oas/graphql/circular.test.js +152 -0
- package/dist/lib/oas/graphql/circular.test.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.js +5 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.js +11 -3
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +1 -0
- package/dist/vite/api/SchemaManager.js +9 -3
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/config.js +2 -0
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/prerender/utils.js +9 -3
- package/dist/vite/prerender/utils.js.map +1 -1
- package/lib/{ClaudeLogo-ByzA8TYR.js → ClaudeLogo-DHxJUhN_.js} +21 -21
- package/lib/ClaudeLogo-DHxJUhN_.js.map +1 -0
- package/lib/HydrationBoundary-CNF2ZV3E.js +601 -0
- package/lib/HydrationBoundary-CNF2ZV3E.js.map +1 -0
- package/lib/Input-Cx-GeKoF.js +22 -0
- package/lib/Input-Cx-GeKoF.js.map +1 -0
- package/lib/{MdxPage-Bh5YNRV9.js → MdxPage-CD36PJ17.js} +8 -8
- package/lib/{MdxPage-Bh5YNRV9.js.map → MdxPage-CD36PJ17.js.map} +1 -1
- package/lib/{Mermaid-CGRoylZf.js → Mermaid-Koc3z8mU.js} +3 -3
- package/lib/{Mermaid-CGRoylZf.js.map → Mermaid-Koc3z8mU.js.map} +1 -1
- package/lib/{OAuthErrorPage-CsTKz5hX.js → OAuthErrorPage-4mN5DA86.js} +23 -22
- package/lib/{OAuthErrorPage-CsTKz5hX.js.map → OAuthErrorPage-4mN5DA86.js.map} +1 -1
- package/lib/{OasProvider-BBAbJiYa.js → OasProvider-DSe-hk5Y.js} +4 -4
- package/lib/{OasProvider-BBAbJiYa.js.map → OasProvider-DSe-hk5Y.js.map} +1 -1
- package/lib/{OperationList-DUxrNisd.js → OperationList-CaknPbvq.js} +148 -144
- package/lib/{OperationList-DUxrNisd.js.map → OperationList-CaknPbvq.js.map} +1 -1
- package/lib/{RouteGuard-CIN9Ou-r.js → RouteGuard--A04ESy8.js} +4 -4
- package/lib/{RouteGuard-CIN9Ou-r.js.map → RouteGuard--A04ESy8.js.map} +1 -1
- package/lib/{SchemaList-BbnkfjIe.js → SchemaList-Dw3-CJPb.js} +7 -7
- package/lib/{SchemaList-BbnkfjIe.js.map → SchemaList-Dw3-CJPb.js.map} +1 -1
- package/lib/{SchemaView-BrUf6_nP.js → SchemaView-DyJkiQkD.js} +94 -91
- package/lib/SchemaView-DyJkiQkD.js.map +1 -0
- package/lib/{SignUp-AlaaduyY.js → SignUp-DRvN-8cq.js} +4 -4
- package/lib/{SignUp-AlaaduyY.js.map → SignUp-DRvN-8cq.js.map} +1 -1
- package/lib/{SyntaxHighlight-DveJcTOQ.js → SyntaxHighlight-klTH8c6-.js} +372 -363
- package/lib/SyntaxHighlight-klTH8c6-.js.map +1 -0
- package/lib/{Toc-B4ShtN-I.js → Toc-PbuF-u9x.js} +2 -2
- package/lib/{Toc-B4ShtN-I.js.map → Toc-PbuF-u9x.js.map} +1 -1
- package/lib/ZudokuContext-BZB1TWdT.js +387 -0
- package/lib/ZudokuContext-BZB1TWdT.js.map +1 -0
- package/lib/chunk-EPOLDU6W-C6C8jAwd.js +8558 -0
- package/lib/chunk-EPOLDU6W-C6C8jAwd.js.map +1 -0
- package/lib/{circular-CuSWVYOZ.js → circular-DFquXeY2.js} +771 -749
- package/lib/{circular-CuSWVYOZ.js.map → circular-DFquXeY2.js.map} +1 -1
- package/lib/{createServer-B1_RUTJP.js → createServer-BXZ0CAUn.js} +4 -4
- package/lib/{createServer-B1_RUTJP.js.map → createServer-BXZ0CAUn.js.map} +1 -1
- package/lib/{errors-iDfQAr_v.js → errors-rWHkzVTd.js} +2 -2
- package/lib/{errors-iDfQAr_v.js.map → errors-rWHkzVTd.js.map} +1 -1
- package/lib/{firebase-I54w2ZsH.js → firebase-BmGU1FuD.js} +18 -16
- package/lib/{firebase-I54w2ZsH.js.map → firebase-BmGU1FuD.js.map} +1 -1
- package/lib/{hook-BxWvqzB0.js → hook-BGlHBdET.js} +3 -3
- package/lib/{hook-BxWvqzB0.js.map → hook-BGlHBdET.js.map} +1 -1
- package/lib/{index-A5Cre871.js → index-BDsEwofZ.js} +1709 -1707
- package/lib/index-BDsEwofZ.js.map +1 -0
- package/lib/{index-B4puReRo.js → index-BQB9hb6n.js} +152 -150
- package/lib/{index-B4puReRo.js.map → index-BQB9hb6n.js.map} +1 -1
- package/lib/{index-CjTisMeX.js → index-DBjOT2H1.js} +4 -4
- package/lib/{index-CjTisMeX.js.map → index-DBjOT2H1.js.map} +1 -1
- package/lib/{index-Dbrv6d94.js → index-DRBOFufT.js} +2 -2
- package/lib/{index-Dbrv6d94.js.map → index-DRBOFufT.js.map} +1 -1
- package/lib/{index.esm-BxIXRKtj.js → index.esm-Cx8B1YJQ.js} +2 -2
- package/lib/index.esm-Cx8B1YJQ.js.map +1 -0
- package/lib/{mutation-Cq0wKBqW.js → mutation-BISOc7OM.js} +2 -2
- package/lib/{mutation-Cq0wKBqW.js.map → mutation-BISOc7OM.js.map} +1 -1
- package/lib/ui/SyntaxHighlight.js +2 -2
- package/lib/{Input-nskrp_mj.js → useMutation-CFMGlAMW.js} +23 -40
- package/lib/useMutation-CFMGlAMW.js.map +1 -0
- package/lib/useSuspenseQuery-CSB_rVek.js +1226 -0
- package/lib/useSuspenseQuery-CSB_rVek.js.map +1 -0
- package/lib/zudoku.__internal.js +929 -1458
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +16 -16
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +4 -4
- package/lib/zudoku.auth-clerk.js +52 -75
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-firebase.js +4 -4
- package/lib/zudoku.auth-openid.js +4 -4
- package/lib/zudoku.auth-supabase.js +31 -40
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +22 -19
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +3 -3
- package/lib/zudoku.mermaid.js +3 -3
- package/lib/zudoku.plugin-api-catalog.js +7 -6
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +23 -21
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +3 -3
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +30 -29
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.react-query.js +440 -0
- package/lib/zudoku.react-query.js.map +1 -0
- package/lib/zudoku.router.js +1130 -1404
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +14 -10
- package/src/lib/authentication/providers/auth0.tsx +15 -9
- package/src/lib/authentication/providers/clerk.tsx +0 -26
- package/src/lib/authentication/providers/supabase.tsx +6 -15
- package/src/lib/components/Pagination.tsx +4 -5
- package/src/lib/components/index.ts +4 -0
- package/src/lib/components/navigation/NavigationItem.tsx +9 -3
- package/src/lib/core/react-query.ts +1 -0
- package/src/lib/oas/graphql/circular.test.ts +186 -0
- package/src/lib/oas/graphql/circular.ts +49 -10
- package/src/lib/plugins/openapi/OperationList.tsx +6 -1
- package/src/lib/plugins/openapi/schema/utils.ts +15 -4
- package/lib/ClaudeLogo-ByzA8TYR.js.map +0 -1
- package/lib/Input-nskrp_mj.js.map +0 -1
- package/lib/SchemaView-BrUf6_nP.js.map +0 -1
- package/lib/SyntaxHighlight-DveJcTOQ.js.map +0 -1
- package/lib/ZudokuContext-CDJYKqMY.js +0 -1581
- package/lib/ZudokuContext-CDJYKqMY.js.map +0 -1
- package/lib/chunk-PVWAREVJ-ClM0m2aJ.js +0 -7965
- package/lib/chunk-PVWAREVJ-ClM0m2aJ.js.map +0 -1
- package/lib/index-A5Cre871.js.map +0 -1
- package/lib/index.esm-BxIXRKtj.js.map +0 -1
|
@@ -1,39 +1,41 @@
|
|
|
1
1
|
import { j as t } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
-
import { ChevronsDownUpIcon as Ln, ChevronsUpDownIcon as kn, PlusCircleIcon as Je, XIcon as
|
|
3
|
-
import { r as es, d as ts, a as ns, N as ss, aL as rs, m as jt } from "./chunk-
|
|
2
|
+
import { ChevronsDownUpIcon as Ln, ChevronsUpDownIcon as kn, PlusCircleIcon as Je, XIcon as It, CheckIcon as Dt, PaperclipIcon as ue, TrashIcon as En, FileInput as Rn, ScanTextIcon as yt, Grid2x2PlusIcon as vt, ChevronDownIcon as In, TableOfContentsIcon as Dn, LockIcon as Fn, CircleAlertIcon as zn, Circle as Vn, Unlink2Icon as Bn, CornerDownRightIcon as _n, MinusCircleIcon as bt, CornerDownLeftIcon as qn, SquareCodeIcon as Mn, DownloadIcon as Un, EyeOffIcon as Gn, EyeIcon as Hn, UnplugIcon as Qn, SendIcon as Jn, CopyIcon as Wn, IdCardLanyardIcon as Xn, ShapesIcon as Kn, PlayIcon as Zn, CirclePlayIcon as Yn } from "lucide-react";
|
|
3
|
+
import { r as es, d as ts, a as ns, N as ss, aL as rs, m as jt } from "./chunk-EPOLDU6W-C6C8jAwd.js";
|
|
4
4
|
import { Button as Ft } from "./ui/Button.js";
|
|
5
|
-
import {
|
|
6
|
-
import { Z as
|
|
5
|
+
import { f as Ze, p as Ye, g as zt, s as as, h as os, j as V } from "./ZudokuContext-BZB1TWdT.js";
|
|
6
|
+
import { Z as is } from "./invariant-BJAl77rw.js";
|
|
7
7
|
import * as xe from "react";
|
|
8
|
-
import { createContext as Vt, use as
|
|
9
|
-
import { VisuallyHidden as
|
|
10
|
-
import { z as
|
|
8
|
+
import { createContext as Vt, use as ls, useRef as k, useEffect as G, useMemo as Bt, useCallback as D, startTransition as cs, useState as E, Fragment as ie, useLayoutEffect as ds, useTransition as us, useContext as ms } from "react";
|
|
9
|
+
import { VisuallyHidden as ps } from "@radix-ui/react-visually-hidden";
|
|
10
|
+
import { z as hs, b as fs } from "./index-DBjOT2H1.js";
|
|
11
11
|
import { B as q } from "./Button-GUVe7pmt.js";
|
|
12
|
-
import { D as et, a as tt, c as nt, d as _t, e as qt, g as
|
|
13
|
-
import { B as pe, k as Ct, l as Nt, m as St, c as
|
|
14
|
-
import {
|
|
15
|
-
import { u as ae, b as Mt, C as wt, a as
|
|
12
|
+
import { D as et, a as tt, c as nt, d as _t, e as qt, g as gs } from "./Dialog-hlvmmQ_c.js";
|
|
13
|
+
import { B as pe, k as Ct, l as Nt, m as St, c as xs, S as ys, n as vs, h as bs } from "./index-BDsEwofZ.js";
|
|
14
|
+
import { u as js } from "./useMutation-CFMGlAMW.js";
|
|
15
|
+
import { u as ae, b as Mt, C as wt, a as Cs, F as Ns } from "./index.esm-BYObtETB.js";
|
|
16
16
|
import * as st from "@radix-ui/react-collapsible";
|
|
17
|
-
import { S as Ut, a as Gt, b as Ht, c as Qt, e as Te, g as
|
|
17
|
+
import { S as Ut, a as Gt, b as Ht, c as Qt, e as Te, g as Ss } from "./Secret-BDBqq4p3.js";
|
|
18
18
|
import { c as w } from "./cn-5-Gd1Dss.js";
|
|
19
|
-
import { u as
|
|
20
|
-
import { u as
|
|
21
|
-
import { D as Jt, a as Wt, b as
|
|
19
|
+
import { u as ws } from "./useCopyToClipboard-B_085nfO.js";
|
|
20
|
+
import { u as Ts } from "./useLatest-hmRS46UF.js";
|
|
21
|
+
import { D as Jt, a as Wt, b as Xt, d as As, e as $s, f as Ps, c as Ae } from "./DropdownMenu-DN0jNrjj.js";
|
|
22
|
+
import { I as Os } from "./Input-Cx-GeKoF.js";
|
|
22
23
|
import { c as ye } from "./createVariantComponent-Dc0vtOvr.js";
|
|
23
24
|
import * as Tt from "@radix-ui/react-checkbox";
|
|
24
25
|
import * as $e from "@radix-ui/react-popover";
|
|
25
|
-
import { PopoverAnchor as
|
|
26
|
-
import { P as
|
|
27
|
-
import { f as
|
|
28
|
-
import { C as
|
|
29
|
-
import * as
|
|
30
|
-
import { c as
|
|
26
|
+
import { PopoverAnchor as Ls } from "@radix-ui/react-popover";
|
|
27
|
+
import { P as ks } from "./index-CrcNWbel.js";
|
|
28
|
+
import { f as Es, g as Rs, C as Is, b as Ds } from "./Command-N6VujV30.js";
|
|
29
|
+
import { C as Fs } from "./Card-DCdq37aA.js";
|
|
30
|
+
import * as Kt from "@radix-ui/react-label";
|
|
31
|
+
import { c as zs } from "./index-DI5SPFK9.js";
|
|
31
32
|
import * as he from "@radix-ui/react-radio-group";
|
|
32
|
-
import { A as
|
|
33
|
+
import { A as Vs, a as Bs, b as _s } from "./Mermaid-Koc3z8mU.js";
|
|
34
|
+
import { e as qs, u as Ms } from "./useSuspenseQuery-CSB_rVek.js";
|
|
33
35
|
let _e;
|
|
34
36
|
const Us = (e) => {
|
|
35
37
|
if (e.errors?.[0])
|
|
36
|
-
throw new
|
|
38
|
+
throw new is(e.errors[0].message, {
|
|
37
39
|
developerHint: "Check your configuration value `apis.type` and `apis.input` in the Zudoku config."
|
|
38
40
|
});
|
|
39
41
|
};
|
|
@@ -41,7 +43,7 @@ class Gs {
|
|
|
41
43
|
constructor(n) {
|
|
42
44
|
this.config = n;
|
|
43
45
|
}
|
|
44
|
-
#e = async () => (_e || (_e = import("./createServer-
|
|
46
|
+
#e = async () => (_e || (_e = import("./createServer-BXZ0CAUn.js").then(
|
|
45
47
|
(n) => n.createServer(this.config)
|
|
46
48
|
)), _e);
|
|
47
49
|
#t = async (n) => this.config.server ? fetch(this.config.server, n) : (await this.#e()).fetch("http://localhost/graphql", n);
|
|
@@ -116,7 +118,7 @@ function At(e) {
|
|
|
116
118
|
return n.map(([a, r]) => a.padStart(s) + (r ? " " + r : "")).join(`
|
|
117
119
|
`);
|
|
118
120
|
}
|
|
119
|
-
function
|
|
121
|
+
function Xs(e) {
|
|
120
122
|
const n = e[0];
|
|
121
123
|
return n == null || "kind" in n || "length" in n ? {
|
|
122
124
|
nodes: n,
|
|
@@ -168,7 +170,7 @@ class rt extends Error {
|
|
|
168
170
|
*/
|
|
169
171
|
constructor(n, ...s) {
|
|
170
172
|
var a, r, o;
|
|
171
|
-
const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } =
|
|
173
|
+
const { nodes: i, source: c, positions: l, path: m, originalError: d, extensions: f } = Xs(s);
|
|
172
174
|
super(n), this.name = "GraphQLError", this.path = m ?? void 0, this.originalError = d ?? void 0, this.nodes = $t(
|
|
173
175
|
Array.isArray(i) ? i : i ? [i] : void 0
|
|
174
176
|
);
|
|
@@ -242,7 +244,7 @@ function F(e, n, s) {
|
|
|
242
244
|
positions: [n]
|
|
243
245
|
});
|
|
244
246
|
}
|
|
245
|
-
class
|
|
247
|
+
class Ka {
|
|
246
248
|
/**
|
|
247
249
|
* The character offset at which this Node begins.
|
|
248
250
|
*/
|
|
@@ -313,7 +315,7 @@ class Yt {
|
|
|
313
315
|
};
|
|
314
316
|
}
|
|
315
317
|
}
|
|
316
|
-
const
|
|
318
|
+
const Ks = {
|
|
317
319
|
Name: [],
|
|
318
320
|
Document: ["definitions"],
|
|
319
321
|
OperationDefinition: [
|
|
@@ -400,8 +402,8 @@ const Xs = {
|
|
|
400
402
|
ArgumentCoordinate: ["name", "fieldName", "argumentName"],
|
|
401
403
|
DirectiveCoordinate: ["name"],
|
|
402
404
|
DirectiveArgumentCoordinate: ["name", "argumentName"]
|
|
403
|
-
}, Zs = new Set(Object.keys(
|
|
404
|
-
function
|
|
405
|
+
}, Zs = new Set(Object.keys(Ks));
|
|
406
|
+
function Za(e) {
|
|
405
407
|
const n = e?.kind;
|
|
406
408
|
return typeof n == "string" && Zs.has(n);
|
|
407
409
|
}
|
|
@@ -409,7 +411,7 @@ var Pt;
|
|
|
409
411
|
(function(e) {
|
|
410
412
|
e.QUERY = "query", e.MUTATION = "mutation", e.SUBSCRIPTION = "subscription";
|
|
411
413
|
})(Pt || (Pt = {}));
|
|
412
|
-
function
|
|
414
|
+
function Xe(e) {
|
|
413
415
|
return e === 9 || e === 32;
|
|
414
416
|
}
|
|
415
417
|
function fe(e) {
|
|
@@ -440,15 +442,15 @@ function er(e) {
|
|
|
440
442
|
}
|
|
441
443
|
function tr(e) {
|
|
442
444
|
let n = 0;
|
|
443
|
-
for (; n < e.length &&
|
|
445
|
+
for (; n < e.length && Xe(e.charCodeAt(n)); )
|
|
444
446
|
++n;
|
|
445
447
|
return n;
|
|
446
448
|
}
|
|
447
449
|
function nr(e, n) {
|
|
448
|
-
const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 ||
|
|
450
|
+
const s = e.replace(/"""/g, '\\"""'), a = s.split(/\r\n|[\n\r]/g), r = a.length === 1, o = a.length > 1 && a.slice(1).every((h) => h.length === 0 || Xe(h.charCodeAt(0))), i = s.endsWith('\\"""'), c = e.endsWith('"') && !i, l = e.endsWith("\\"), m = c || l, d = !(n != null && n.minimize) && // add leading and trailing new lines only if it improves readability
|
|
449
451
|
(!r || e.length > 70 || m || o || i);
|
|
450
452
|
let f = "";
|
|
451
|
-
const x = r &&
|
|
453
|
+
const x = r && Xe(e.charCodeAt(0));
|
|
452
454
|
return (d && !x || o) && (f += `
|
|
453
455
|
`), f += s, (d || m) && (f += `
|
|
454
456
|
`), '"""' + f + '"""';
|
|
@@ -516,7 +518,7 @@ function nn(e) {
|
|
|
516
518
|
function sn(e) {
|
|
517
519
|
return e >= 56320 && e <= 57343;
|
|
518
520
|
}
|
|
519
|
-
function
|
|
521
|
+
function K(e, n) {
|
|
520
522
|
const s = e.source.body.codePointAt(n);
|
|
521
523
|
if (s === void 0)
|
|
522
524
|
return b.EOF;
|
|
@@ -621,7 +623,7 @@ function ar(e, n) {
|
|
|
621
623
|
throw F(
|
|
622
624
|
e.source,
|
|
623
625
|
r,
|
|
624
|
-
o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : oe(o) || Oe(s, r) ? `Unexpected character: ${
|
|
626
|
+
o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : oe(o) || Oe(s, r) ? `Unexpected character: ${K(e, r)}.` : `Invalid character: ${K(e, r)}.`
|
|
625
627
|
);
|
|
626
628
|
}
|
|
627
629
|
return P(e, b.EOF, a, a);
|
|
@@ -656,7 +658,7 @@ function ir(e, n, s) {
|
|
|
656
658
|
throw F(
|
|
657
659
|
e.source,
|
|
658
660
|
r,
|
|
659
|
-
`Invalid number, unexpected digit after 0: ${
|
|
661
|
+
`Invalid number, unexpected digit after 0: ${K(
|
|
660
662
|
e,
|
|
661
663
|
r
|
|
662
664
|
)}.`
|
|
@@ -667,7 +669,7 @@ function ir(e, n, s) {
|
|
|
667
669
|
throw F(
|
|
668
670
|
e.source,
|
|
669
671
|
r,
|
|
670
|
-
`Invalid number, expected digit but got: ${
|
|
672
|
+
`Invalid number, expected digit but got: ${K(
|
|
671
673
|
e,
|
|
672
674
|
r
|
|
673
675
|
)}.`
|
|
@@ -685,7 +687,7 @@ function Me(e, n, s) {
|
|
|
685
687
|
throw F(
|
|
686
688
|
e.source,
|
|
687
689
|
n,
|
|
688
|
-
`Invalid number, expected digit but got: ${
|
|
690
|
+
`Invalid number, expected digit but got: ${K(
|
|
689
691
|
e,
|
|
690
692
|
n
|
|
691
693
|
)}.`
|
|
@@ -719,7 +721,7 @@ function lr(e, n) {
|
|
|
719
721
|
throw F(
|
|
720
722
|
e.source,
|
|
721
723
|
r,
|
|
722
|
-
`Invalid character within String: ${
|
|
724
|
+
`Invalid character within String: ${K(
|
|
723
725
|
e,
|
|
724
726
|
r
|
|
725
727
|
)}.`
|
|
@@ -868,7 +870,7 @@ function mr(e, n) {
|
|
|
868
870
|
throw F(
|
|
869
871
|
e.source,
|
|
870
872
|
o,
|
|
871
|
-
`Invalid character within String: ${
|
|
873
|
+
`Invalid character within String: ${K(
|
|
872
874
|
e,
|
|
873
875
|
o
|
|
874
876
|
)}.`
|
|
@@ -1021,14 +1023,14 @@ function Nr(e) {
|
|
|
1021
1023
|
}
|
|
1022
1024
|
const ln = Vt(
|
|
1023
1025
|
void 0
|
|
1024
|
-
),
|
|
1026
|
+
), Ya = ({
|
|
1025
1027
|
children: e,
|
|
1026
1028
|
client: n
|
|
1027
1029
|
}) => /* @__PURE__ */ t.jsx(ln.Provider, { value: n, children: e }), cn = (e, n, ...[s]) => ({
|
|
1028
1030
|
queryFn: () => e.fetch(n, s),
|
|
1029
1031
|
queryKey: [Nr(n.toString()), s]
|
|
1030
1032
|
}), Sr = (e, ...[n]) => {
|
|
1031
|
-
const s =
|
|
1033
|
+
const s = ls(ln);
|
|
1032
1034
|
if (s === void 0)
|
|
1033
1035
|
throw new Error("useGraphQL must be used within a GraphQLProvider");
|
|
1034
1036
|
return cn(s, e, ...n === void 0 ? [] : [n]);
|
|
@@ -1316,7 +1318,7 @@ function _({
|
|
|
1316
1318
|
}
|
|
1317
1319
|
);
|
|
1318
1320
|
}
|
|
1319
|
-
function
|
|
1321
|
+
function Rr() {
|
|
1320
1322
|
const n = navigator.userAgent.toLowerCase();
|
|
1321
1323
|
if (n.indexOf("win") !== -1)
|
|
1322
1324
|
return "windows";
|
|
@@ -1327,8 +1329,8 @@ function Ir() {
|
|
|
1327
1329
|
if (n.indexOf("x11") !== -1)
|
|
1328
1330
|
return "unix";
|
|
1329
1331
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return
|
|
1332
|
+
function Ir() {
|
|
1333
|
+
return Rr() === "apple";
|
|
1332
1334
|
}
|
|
1333
1335
|
const Dr = {
|
|
1334
1336
|
other: {
|
|
@@ -1359,7 +1361,7 @@ const Dr = {
|
|
|
1359
1361
|
}, [c, a, r, o, i]), {
|
|
1360
1362
|
trigger: () => l.current(),
|
|
1361
1363
|
label: s.map(
|
|
1362
|
-
(m) => m === "meta" || m === "ctrl" || m === "alt" || m === "shift" || m === "option" ? Dr[
|
|
1364
|
+
(m) => m === "meta" || m === "ctrl" || m === "alt" || m === "shift" || m === "option" ? Dr[Ir() ? "apple" : "other"][m] : m
|
|
1363
1365
|
)
|
|
1364
1366
|
};
|
|
1365
1367
|
}, zr = Ze()(
|
|
@@ -1453,10 +1455,10 @@ const ke = (e = 0) => {
|
|
|
1453
1455
|
]
|
|
1454
1456
|
}
|
|
1455
1457
|
) }),
|
|
1456
|
-
/* @__PURE__ */ t.jsx(
|
|
1457
|
-
/* @__PURE__ */ t.jsx(
|
|
1458
|
-
/* @__PURE__ */ t.jsx(
|
|
1459
|
-
/* @__PURE__ */ t.jsx(
|
|
1458
|
+
/* @__PURE__ */ t.jsx(Xt, { className: "max-w-72", children: e.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
1459
|
+
/* @__PURE__ */ t.jsx(As, { children: s.mediaType }),
|
|
1460
|
+
/* @__PURE__ */ t.jsx($s, {}),
|
|
1461
|
+
/* @__PURE__ */ t.jsx(Ps, { children: s.examples?.map((a) => /* @__PURE__ */ t.jsx(
|
|
1460
1462
|
Ae,
|
|
1461
1463
|
{
|
|
1462
1464
|
onSelect: () => n(a, s.mediaType),
|
|
@@ -1478,8 +1480,8 @@ const ke = (e = 0) => {
|
|
|
1478
1480
|
), ge = ye(
|
|
1479
1481
|
"div",
|
|
1480
1482
|
"group h-9 hover:bg-accent/75 ps-4 pe-2 grid col-span-full grid-cols-subgrid items-center border-b"
|
|
1481
|
-
),
|
|
1482
|
-
|
|
1483
|
+
), I = ye(
|
|
1484
|
+
Os,
|
|
1483
1485
|
"w-full truncate border-0 p-0 m-0 shadow-none text-xs focus-visible:ring-0 font-mono"
|
|
1484
1486
|
), at = ({
|
|
1485
1487
|
onClick: e,
|
|
@@ -1496,7 +1498,7 @@ const ke = (e = 0) => {
|
|
|
1496
1498
|
onClick: e,
|
|
1497
1499
|
type: "button",
|
|
1498
1500
|
"data-slot": "remove-button",
|
|
1499
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1501
|
+
children: /* @__PURE__ */ t.jsx(It, { size: 14 })
|
|
1500
1502
|
}
|
|
1501
1503
|
);
|
|
1502
1504
|
function ve({
|
|
@@ -1534,7 +1536,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1534
1536
|
}
|
|
1535
1537
|
),
|
|
1536
1538
|
/* @__PURE__ */ t.jsx(
|
|
1537
|
-
|
|
1539
|
+
I,
|
|
1538
1540
|
{
|
|
1539
1541
|
...n.getNameInputProps(e),
|
|
1540
1542
|
placeholder: "Key"
|
|
@@ -1566,7 +1568,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1566
1568
|
)
|
|
1567
1569
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1568
1570
|
/* @__PURE__ */ t.jsx(
|
|
1569
|
-
|
|
1571
|
+
I,
|
|
1570
1572
|
{
|
|
1571
1573
|
...n.getValueInputProps(e),
|
|
1572
1574
|
placeholder: "Value"
|
|
@@ -1624,7 +1626,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1624
1626
|
), S = D(
|
|
1625
1627
|
(g) => r ? r(g) : !g.name && !g.value,
|
|
1626
1628
|
[r]
|
|
1627
|
-
),
|
|
1629
|
+
), R = D(
|
|
1628
1630
|
(g) => o ? o(g) : !!(g.name || g.value),
|
|
1629
1631
|
[o]
|
|
1630
1632
|
);
|
|
@@ -1646,7 +1648,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1646
1648
|
const C = [];
|
|
1647
1649
|
for (let T = 0; T < h.length - 1; T++) {
|
|
1648
1650
|
const A = h[T];
|
|
1649
|
-
A && S(A) && !
|
|
1651
|
+
A && S(A) && !R(A) && C.push(T);
|
|
1650
1652
|
}
|
|
1651
1653
|
if (C.length > 0) {
|
|
1652
1654
|
const T = C[0];
|
|
@@ -1674,18 +1676,18 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1674
1676
|
S,
|
|
1675
1677
|
s,
|
|
1676
1678
|
l,
|
|
1677
|
-
|
|
1679
|
+
R
|
|
1678
1680
|
]), G(() => {
|
|
1679
1681
|
if (!h) return;
|
|
1680
1682
|
const g = [];
|
|
1681
1683
|
for (let C = 0; C < h.length; C++) {
|
|
1682
1684
|
const T = h[C];
|
|
1683
1685
|
if (!T) continue;
|
|
1684
|
-
const A =
|
|
1686
|
+
const A = R(T);
|
|
1685
1687
|
T.active !== A && g.push(() => y(C, "active", A));
|
|
1686
1688
|
}
|
|
1687
|
-
g.length !== 0 &&
|
|
1688
|
-
}, [h,
|
|
1689
|
+
g.length !== 0 && cs(() => g.forEach((C) => C()));
|
|
1690
|
+
}, [h, R, y]);
|
|
1689
1691
|
const N = D(
|
|
1690
1692
|
(g) => {
|
|
1691
1693
|
const C = h?.[g];
|
|
@@ -1726,7 +1728,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1726
1728
|
}
|
|
1727
1729
|
}),
|
|
1728
1730
|
[s, m, N, c, y]
|
|
1729
|
-
),
|
|
1731
|
+
), Ie = D(
|
|
1730
1732
|
(g, C) => h?.[g]?.[C],
|
|
1731
1733
|
[h]
|
|
1732
1734
|
), ee = D(
|
|
@@ -1743,7 +1745,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1743
1745
|
getCheckboxProps: be,
|
|
1744
1746
|
getRemoveButtonProps: ee,
|
|
1745
1747
|
setValue: y,
|
|
1746
|
-
getValue:
|
|
1748
|
+
getValue: Ie
|
|
1747
1749
|
};
|
|
1748
1750
|
}, qr = ({ content: e }) => {
|
|
1749
1751
|
const { register: n, setValue: s, watch: a, control: r } = ae(), o = (e ?? []).flatMap((j) => j.examples), [i, c, l, m, d] = a([
|
|
@@ -1766,7 +1768,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1766
1768
|
j.preventDefault(), j.stopPropagation(), h(!0);
|
|
1767
1769
|
}, S = (j) => {
|
|
1768
1770
|
j.preventDefault(), j.stopPropagation(), h(!1);
|
|
1769
|
-
},
|
|
1771
|
+
}, R = (j) => {
|
|
1770
1772
|
j.preventDefault(), j.stopPropagation(), h(!1);
|
|
1771
1773
|
const O = j.dataTransfer.files?.[0] ?? null;
|
|
1772
1774
|
v(O);
|
|
@@ -1778,7 +1780,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1778
1780
|
});
|
|
1779
1781
|
return /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
1780
1782
|
/* @__PURE__ */ t.jsxs(Z, { className: "items-center", children: [
|
|
1781
|
-
/* @__PURE__ */ t.jsx(
|
|
1783
|
+
/* @__PURE__ */ t.jsx(Rn, { size: 16 }),
|
|
1782
1784
|
/* @__PURE__ */ t.jsxs(H, { className: "flex items-center justify-between", children: [
|
|
1783
1785
|
"Body",
|
|
1784
1786
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
|
|
@@ -1800,11 +1802,11 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1800
1802
|
/* @__PURE__ */ t.jsx(vt, { size: 14 }),
|
|
1801
1803
|
"Multipart"
|
|
1802
1804
|
] }),
|
|
1803
|
-
/* @__PURE__ */ t.jsx(
|
|
1805
|
+
/* @__PURE__ */ t.jsx(In, { size: 14 })
|
|
1804
1806
|
]
|
|
1805
1807
|
}
|
|
1806
1808
|
) }),
|
|
1807
|
-
/* @__PURE__ */ t.jsxs(
|
|
1809
|
+
/* @__PURE__ */ t.jsxs(Xt, { className: "min-w-40", children: [
|
|
1808
1810
|
/* @__PURE__ */ t.jsxs(
|
|
1809
1811
|
Ae,
|
|
1810
1812
|
{
|
|
@@ -1893,7 +1895,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1893
1895
|
),
|
|
1894
1896
|
onDragOver: y,
|
|
1895
1897
|
onDragLeave: S,
|
|
1896
|
-
onDrop:
|
|
1898
|
+
onDrop: R,
|
|
1897
1899
|
children: [
|
|
1898
1900
|
/* @__PURE__ */ t.jsx(
|
|
1899
1901
|
"button",
|
|
@@ -1934,7 +1936,7 @@ const _r = ({ index: e, manager: n }) => {
|
|
|
1934
1936
|
variant: "ghost",
|
|
1935
1937
|
size: "icon-xxs",
|
|
1936
1938
|
onClick: () => v(null),
|
|
1937
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1939
|
+
children: /* @__PURE__ */ t.jsx(It, { size: 14 })
|
|
1938
1940
|
}
|
|
1939
1941
|
)
|
|
1940
1942
|
] }) : /* @__PURE__ */ t.jsx("span", { className: "text-lg font-semibold text-muted-foreground", children: "Select or drop a file" })
|
|
@@ -2003,10 +2005,10 @@ const Hr = ({
|
|
|
2003
2005
|
ref: c,
|
|
2004
2006
|
onSelect: l
|
|
2005
2007
|
}) => {
|
|
2006
|
-
const [m, d] = E(!1), [f, x] = E(!1), h =
|
|
2008
|
+
const [m, d] = E(!1), [f, x] = E(!1), h = ks((u) => u.filtered.count), v = k(null);
|
|
2007
2009
|
return /* @__PURE__ */ t.jsxs(Gr, { open: m, children: [
|
|
2008
|
-
/* @__PURE__ */ t.jsx(
|
|
2009
|
-
|
|
2010
|
+
/* @__PURE__ */ t.jsx(Ls, { children: /* @__PURE__ */ t.jsx(
|
|
2011
|
+
Rs,
|
|
2010
2012
|
{
|
|
2011
2013
|
autoComplete: "off",
|
|
2012
2014
|
ref: (u) => {
|
|
@@ -2042,8 +2044,8 @@ const Hr = ({
|
|
|
2042
2044
|
onTouchMove: (u) => {
|
|
2043
2045
|
u.stopPropagation();
|
|
2044
2046
|
},
|
|
2045
|
-
children: /* @__PURE__ */ t.jsx(
|
|
2046
|
-
|
|
2047
|
+
children: /* @__PURE__ */ t.jsx(Is, { className: "max-h-[140px]", children: n.map((u) => /* @__PURE__ */ t.jsx(
|
|
2048
|
+
Ds,
|
|
2047
2049
|
{
|
|
2048
2050
|
value: u,
|
|
2049
2051
|
onSelect: (y) => {
|
|
@@ -2057,7 +2059,7 @@ const Hr = ({
|
|
|
2057
2059
|
}
|
|
2058
2060
|
)
|
|
2059
2061
|
] });
|
|
2060
|
-
}, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(
|
|
2062
|
+
}, Pe = ({ shouldFilter: e, ...n }) => /* @__PURE__ */ t.jsx(Es, { className: "bg-transparent", shouldFilter: e, children: /* @__PURE__ */ t.jsx(Hr, { ...n }) }), Qr = Object.freeze([
|
|
2061
2063
|
"Accept",
|
|
2062
2064
|
"Accept-Encoding",
|
|
2063
2065
|
"Accept-Language",
|
|
@@ -2113,7 +2115,7 @@ const Hr = ({
|
|
|
2113
2115
|
className: "opacity-50 cursor-not-allowed font-mono text-xs min-h-10",
|
|
2114
2116
|
children: [
|
|
2115
2117
|
/* @__PURE__ */ t.jsx(Fn, { size: 16 }),
|
|
2116
|
-
/* @__PURE__ */ t.jsx(
|
|
2118
|
+
/* @__PURE__ */ t.jsx(I, { value: d.name, disabled: !0 }),
|
|
2117
2119
|
/* @__PURE__ */ t.jsx("div", { children: d.value })
|
|
2118
2120
|
]
|
|
2119
2121
|
},
|
|
@@ -2161,7 +2163,7 @@ const Hr = ({
|
|
|
2161
2163
|
}
|
|
2162
2164
|
)
|
|
2163
2165
|
] }),
|
|
2164
|
-
/* @__PURE__ */ t.jsx(
|
|
2166
|
+
/* @__PURE__ */ t.jsx(I, { asChild: !0, children: /* @__PURE__ */ t.jsx(
|
|
2165
2167
|
Pe,
|
|
2166
2168
|
{
|
|
2167
2169
|
...u,
|
|
@@ -2173,7 +2175,7 @@ const Hr = ({
|
|
|
2173
2175
|
}
|
|
2174
2176
|
) }),
|
|
2175
2177
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2176
|
-
h ? /* @__PURE__ */ t.jsx(
|
|
2178
|
+
h ? /* @__PURE__ */ t.jsx(I, { asChild: !0, children: /* @__PURE__ */ t.jsx(
|
|
2177
2179
|
Pe,
|
|
2178
2180
|
{
|
|
2179
2181
|
...y,
|
|
@@ -2184,7 +2186,7 @@ const Hr = ({
|
|
|
2184
2186
|
onSelect: (S) => i.setValue(f, "value", S, { focus: "next" })
|
|
2185
2187
|
}
|
|
2186
2188
|
) }) : /* @__PURE__ */ t.jsx(
|
|
2187
|
-
|
|
2189
|
+
I,
|
|
2188
2190
|
{
|
|
2189
2191
|
placeholder: "Value",
|
|
2190
2192
|
autoComplete: "off",
|
|
@@ -2205,17 +2207,17 @@ const Hr = ({
|
|
|
2205
2207
|
})
|
|
2206
2208
|
] }) }) }) })
|
|
2207
2209
|
] });
|
|
2208
|
-
}, Wr =
|
|
2210
|
+
}, Wr = zs(
|
|
2209
2211
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
2210
|
-
),
|
|
2211
|
-
|
|
2212
|
+
), Re = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
2213
|
+
Kt.Root,
|
|
2212
2214
|
{
|
|
2213
2215
|
ref: s,
|
|
2214
2216
|
className: w(Wr(), e),
|
|
2215
2217
|
...n
|
|
2216
2218
|
}
|
|
2217
2219
|
));
|
|
2218
|
-
|
|
2220
|
+
Re.displayName = Kt.Root.displayName;
|
|
2219
2221
|
const mn = xe.forwardRef(({ className: e, ...n }, s) => /* @__PURE__ */ t.jsx(
|
|
2220
2222
|
he.Root,
|
|
2221
2223
|
{
|
|
@@ -2252,7 +2254,7 @@ const hn = ({
|
|
|
2252
2254
|
disabled: e?.length === 0,
|
|
2253
2255
|
children: [{ id: me, label: "None" }, ...e ?? []].map(
|
|
2254
2256
|
(a) => /* @__PURE__ */ t.jsxs(
|
|
2255
|
-
|
|
2257
|
+
Re,
|
|
2256
2258
|
{
|
|
2257
2259
|
className: "h-10 items-center border-b font-normal flex gap-4 p-4 cursor-pointer hover:bg-accent/75",
|
|
2258
2260
|
children: [
|
|
@@ -2264,7 +2266,7 @@ const hn = ({
|
|
|
2264
2266
|
)
|
|
2265
2267
|
)
|
|
2266
2268
|
}
|
|
2267
|
-
) }),
|
|
2269
|
+
) }), Xr = ({
|
|
2268
2270
|
onSubmit: e,
|
|
2269
2271
|
identities: n,
|
|
2270
2272
|
open: s,
|
|
@@ -2274,7 +2276,7 @@ const hn = ({
|
|
|
2274
2276
|
return /* @__PURE__ */ t.jsx(et, { open: s, onOpenChange: a, children: /* @__PURE__ */ t.jsxs(tt, { children: [
|
|
2275
2277
|
/* @__PURE__ */ t.jsx(nt, { children: "Select an auth identity" }),
|
|
2276
2278
|
/* @__PURE__ */ t.jsx(_t, { children: "Please select an identity for this request." }),
|
|
2277
|
-
/* @__PURE__ */ t.jsx(
|
|
2279
|
+
/* @__PURE__ */ t.jsx(Fs, { className: "max-h-80 overflow-auto", children: /* @__PURE__ */ t.jsx(
|
|
2278
2280
|
hn,
|
|
2279
2281
|
{
|
|
2280
2282
|
identities: n,
|
|
@@ -2294,7 +2296,7 @@ const hn = ({
|
|
|
2294
2296
|
)
|
|
2295
2297
|
}
|
|
2296
2298
|
),
|
|
2297
|
-
/* @__PURE__ */ t.jsx(
|
|
2299
|
+
/* @__PURE__ */ t.jsx(Re, { htmlFor: "remember", children: "Remember my choice" })
|
|
2298
2300
|
] }),
|
|
2299
2301
|
/* @__PURE__ */ t.jsx(
|
|
2300
2302
|
q,
|
|
@@ -2310,8 +2312,8 @@ const hn = ({
|
|
|
2310
2312
|
), Ge = (e) => e.length > 1 ? Number(e.split("").reduce((n, s) => `${Ue(n) + Ue(s)}`)) : Ue(e), kt = (e, n = {}) => {
|
|
2311
2313
|
const s = (3 * Ge(e) + 2 * Ge(e) + Ge(e)) % 360, { saturation: a = 75, lightness: r = 60 } = n;
|
|
2312
2314
|
return `${s}deg ${a}% ${r}%`;
|
|
2313
|
-
}, He = "data-linked-param",
|
|
2314
|
-
const { resolvedTheme: n } =
|
|
2315
|
+
}, He = "data-linked-param", Kr = (e) => {
|
|
2316
|
+
const { resolvedTheme: n } = hs();
|
|
2315
2317
|
return {
|
|
2316
2318
|
text: kt(
|
|
2317
2319
|
e,
|
|
@@ -2330,7 +2332,7 @@ const hn = ({
|
|
|
2330
2332
|
children: r,
|
|
2331
2333
|
onClick: o
|
|
2332
2334
|
}) => {
|
|
2333
|
-
const i = k(null), c = s?.replace(/[{}]/g, ""), l = e.replace(/[{}]/g, ""), { text: m, background: d } =
|
|
2335
|
+
const i = k(null), c = s?.replace(/[{}]/g, ""), l = e.replace(/[{}]/g, ""), { text: m, background: d } = Kr(l), f = `hsl(${m} / 100%)`, x = `hsl(${d} / 10%)`, h = `hsl(${d} / 50%)`;
|
|
2334
2336
|
return G(() => {
|
|
2335
2337
|
if (!c || !i.current) return;
|
|
2336
2338
|
const v = () => {
|
|
@@ -2401,7 +2403,7 @@ const hn = ({
|
|
|
2401
2403
|
{
|
|
2402
2404
|
control: e,
|
|
2403
2405
|
name: `pathParams.${o}.value`,
|
|
2404
|
-
render: ({ field: i }) => /* @__PURE__ */ t.jsx(
|
|
2406
|
+
render: ({ field: i }) => /* @__PURE__ */ t.jsx(I, { ...i, required: !0, placeholder: "Value" })
|
|
2405
2407
|
}
|
|
2406
2408
|
) })
|
|
2407
2409
|
] }, r.id)) });
|
|
@@ -2427,7 +2429,7 @@ const hn = ({
|
|
|
2427
2429
|
), d = m?.enum && m.enum.length > 0, f = r.getNameInputProps(l), x = r.getValueInputProps(l);
|
|
2428
2430
|
return /* @__PURE__ */ t.jsxs(ge, { children: [
|
|
2429
2431
|
/* @__PURE__ */ t.jsx(ve, { ...r.getCheckboxProps(l) }),
|
|
2430
|
-
o[l] ? /* @__PURE__ */ t.jsx(
|
|
2432
|
+
o[l] ? /* @__PURE__ */ t.jsx(I, { asChild: !0, children: /* @__PURE__ */ t.jsxs(
|
|
2431
2433
|
"label",
|
|
2432
2434
|
{
|
|
2433
2435
|
className: "flex items-center cursor-pointer gap-1",
|
|
@@ -2438,7 +2440,7 @@ const hn = ({
|
|
|
2438
2440
|
o[l] && /* @__PURE__ */ t.jsx("sup", { children: " *" })
|
|
2439
2441
|
]
|
|
2440
2442
|
}
|
|
2441
|
-
) }) : i ? /* @__PURE__ */ t.jsx(
|
|
2443
|
+
) }) : i ? /* @__PURE__ */ t.jsx(I, { asChild: !0, children: /* @__PURE__ */ t.jsx(
|
|
2442
2444
|
Pe,
|
|
2443
2445
|
{
|
|
2444
2446
|
...f,
|
|
@@ -2448,9 +2450,9 @@ const hn = ({
|
|
|
2448
2450
|
onChange: (h) => r.setValue(l, "name", h),
|
|
2449
2451
|
onSelect: (h) => r.setValue(l, "name", h, { focus: "next" })
|
|
2450
2452
|
}
|
|
2451
|
-
) }) : /* @__PURE__ */ t.jsx(
|
|
2453
|
+
) }) : /* @__PURE__ */ t.jsx(I, { ...f, placeholder: "Name" }),
|
|
2452
2454
|
/* @__PURE__ */ t.jsxs("div", { className: "flex justify-between items-center", children: [
|
|
2453
|
-
d ? /* @__PURE__ */ t.jsx(
|
|
2455
|
+
d ? /* @__PURE__ */ t.jsx(I, { asChild: !0, children: /* @__PURE__ */ t.jsx(
|
|
2454
2456
|
Pe,
|
|
2455
2457
|
{
|
|
2456
2458
|
...x,
|
|
@@ -2461,7 +2463,7 @@ const hn = ({
|
|
|
2461
2463
|
onSelect: (h) => r.setValue(l, "value", h, { focus: "next" })
|
|
2462
2464
|
}
|
|
2463
2465
|
) }) : /* @__PURE__ */ t.jsx(
|
|
2464
|
-
|
|
2466
|
+
I,
|
|
2465
2467
|
{
|
|
2466
2468
|
placeholder: "Value",
|
|
2467
2469
|
"aria-label": "Query parameter value",
|
|
@@ -2491,7 +2493,7 @@ const hn = ({
|
|
|
2491
2493
|
return /* @__PURE__ */ t.jsx(et, { open: e, onOpenChange: n, children: /* @__PURE__ */ t.jsxs(tt, { children: [
|
|
2492
2494
|
/* @__PURE__ */ t.jsx(nt, { children: "Welcome to the Playground!" }),
|
|
2493
2495
|
/* @__PURE__ */ t.jsx(_t, { children: "The Playground is a tool for developers to test and explore our APIs. To use the Playground, you need to login." }),
|
|
2494
|
-
/* @__PURE__ */ t.jsxs(
|
|
2496
|
+
/* @__PURE__ */ t.jsxs(Re, { className: "flex items-center gap-2 font-normal", children: [
|
|
2495
2497
|
/* @__PURE__ */ t.jsx(
|
|
2496
2498
|
ve,
|
|
2497
2499
|
{
|
|
@@ -2604,7 +2606,7 @@ const hn = ({
|
|
|
2604
2606
|
}
|
|
2605
2607
|
a.current = requestAnimationFrame(r);
|
|
2606
2608
|
}, []);
|
|
2607
|
-
return
|
|
2609
|
+
return ds(() => {
|
|
2608
2610
|
const o = e.current;
|
|
2609
2611
|
if (!o) return;
|
|
2610
2612
|
const i = document.createTextNode("0");
|
|
@@ -2733,7 +2735,7 @@ const da = (e) => Object.entries({
|
|
|
2733
2735
|
a && o((i) => !i);
|
|
2734
2736
|
},
|
|
2735
2737
|
children: a ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2736
|
-
/* @__PURE__ */ t.jsx(
|
|
2738
|
+
/* @__PURE__ */ t.jsx(Ss, { secret: e, previewChars: 0, revealed: r }),
|
|
2737
2739
|
r ? /* @__PURE__ */ t.jsx(Gn, { size: 14, className: w("hidden group-hover:block") }) : /* @__PURE__ */ t.jsx(Hn, { size: 14, className: w("hidden group-hover:block") })
|
|
2738
2740
|
] }) : e
|
|
2739
2741
|
}
|
|
@@ -2749,7 +2751,7 @@ const da = (e) => Object.entries({
|
|
|
2749
2751
|
}) => {
|
|
2750
2752
|
const c = ua(n), l = ma(e), m = l || e, [d, f] = E(
|
|
2751
2753
|
l ? "formatted" : "raw"
|
|
2752
|
-
), x =
|
|
2754
|
+
), x = qs({
|
|
2753
2755
|
queryKey: ["types", m],
|
|
2754
2756
|
queryFn: async () => ca(JSON.parse(m)),
|
|
2755
2757
|
enabled: d === "types" && !r
|
|
@@ -2877,7 +2879,7 @@ const da = (e) => Object.entries({
|
|
|
2877
2879
|
}
|
|
2878
2880
|
)
|
|
2879
2881
|
] }) }) : /* @__PURE__ */ t.jsx(
|
|
2880
|
-
|
|
2882
|
+
xs,
|
|
2881
2883
|
{
|
|
2882
2884
|
className: "text-xs flex-1",
|
|
2883
2885
|
embedded: !0,
|
|
@@ -2906,10 +2908,10 @@ const da = (e) => Object.entries({
|
|
|
2906
2908
|
progress: o
|
|
2907
2909
|
}
|
|
2908
2910
|
),
|
|
2909
|
-
e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(
|
|
2911
|
+
e.error ? /* @__PURE__ */ t.jsx("div", { className: "max-w-2/3 mx-auto mt-20", children: /* @__PURE__ */ t.jsxs(Vs, { children: [
|
|
2910
2912
|
/* @__PURE__ */ t.jsx(Qn, { size: 24, strokeWidth: 1.5, className: "me-5" }),
|
|
2911
|
-
/* @__PURE__ */ t.jsx(
|
|
2912
|
-
/* @__PURE__ */ t.jsx(
|
|
2913
|
+
/* @__PURE__ */ t.jsx(Bs, { children: "Request failed" }),
|
|
2914
|
+
/* @__PURE__ */ t.jsx(_s, { children: e.error.message || String(e.error) || "Unexpected error" })
|
|
2913
2915
|
] }) }) : e.data ? /* @__PURE__ */ t.jsx(
|
|
2914
2916
|
ha,
|
|
2915
2917
|
{
|
|
@@ -2922,7 +2924,7 @@ const da = (e) => Object.entries({
|
|
|
2922
2924
|
blob: e.data.blob
|
|
2923
2925
|
}
|
|
2924
2926
|
) : e.isPending ? /* @__PURE__ */ t.jsx("div", { className: "grid place-items-center h-full", children: /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-2 items-center mt-20", children: [
|
|
2925
|
-
/* @__PURE__ */ t.jsx(
|
|
2927
|
+
/* @__PURE__ */ t.jsx(ys, {}),
|
|
2926
2928
|
/* @__PURE__ */ t.jsxs(
|
|
2927
2929
|
"div",
|
|
2928
2930
|
{
|
|
@@ -2970,7 +2972,7 @@ const da = (e) => Object.entries({
|
|
|
2970
2972
|
}
|
|
2971
2973
|
)
|
|
2972
2974
|
);
|
|
2973
|
-
|
|
2975
|
+
as(gn);
|
|
2974
2976
|
const me = "__none", ga = ({
|
|
2975
2977
|
server: e,
|
|
2976
2978
|
servers: n = [],
|
|
@@ -2987,11 +2989,11 @@ const me = "__none", ga = ({
|
|
|
2987
2989
|
}) => {
|
|
2988
2990
|
const { selectedServer: x, setSelectedServer: h } = Vr(
|
|
2989
2991
|
n.map((p) => ({ url: p }))
|
|
2990
|
-
), [v, u] = E(!1), y =
|
|
2992
|
+
), [v, u] = E(!1), y = os(), { setRememberedIdentity: S, getRememberedIdentity: R } = ta(), [, N] = us(), { skipLogin: j, setSkipLogin: O } = gn(), [Q, be] = E(!1), [Ie, ee] = E(!1), g = k(void 0), C = Ts(S), T = k(null), { label: A } = Fr("meta+enter", () => {
|
|
2991
2993
|
T.current?.requestSubmit();
|
|
2992
2994
|
}), M = s.match(/\{([^}]+)\}/g)?.map((p) => p.slice(1, -1)) ?? [], L = [...i].sort(
|
|
2993
2995
|
(p, se) => M.indexOf(p.name) - M.indexOf(se.name)
|
|
2994
|
-
), { register: De, control: te, handleSubmit: je, watch: ct, setValue: Fe, ...ze } =
|
|
2996
|
+
), { register: De, control: te, handleSubmit: je, watch: ct, setValue: Fe, ...ze } = Cs({
|
|
2995
2997
|
defaultValues: {
|
|
2996
2998
|
body: c,
|
|
2997
2999
|
bodyMode: "text",
|
|
@@ -3012,7 +3014,7 @@ const me = "__none", ga = ({
|
|
|
3012
3014
|
value: p.defaultValue ?? "",
|
|
3013
3015
|
active: p.defaultActive ?? !1
|
|
3014
3016
|
})) : [{ name: "", value: "", active: !1 }],
|
|
3015
|
-
identity:
|
|
3017
|
+
identity: R([
|
|
3016
3018
|
me,
|
|
3017
3019
|
...y.data?.map((p) => p.id) ?? []
|
|
3018
3020
|
])
|
|
@@ -3024,7 +3026,7 @@ const me = "__none", ga = ({
|
|
|
3024
3026
|
G(() => {
|
|
3025
3027
|
ne && C.current(ne);
|
|
3026
3028
|
}, [C, ne]);
|
|
3027
|
-
const J =
|
|
3029
|
+
const J = js({
|
|
3028
3030
|
gcTime: 0,
|
|
3029
3031
|
mutationFn: async (p) => {
|
|
3030
3032
|
const se = performance.now(), Ve = new window.Headers(
|
|
@@ -3037,7 +3039,7 @@ const me = "__none", ga = ({
|
|
|
3037
3039
|
break;
|
|
3038
3040
|
case "multipart": {
|
|
3039
3041
|
const $ = new FormData();
|
|
3040
|
-
p.multipartFormFields?.filter((
|
|
3042
|
+
p.multipartFormFields?.filter((X) => X.name && X.active).forEach((X) => $.append(X.name, X.value)), Ce = $, Ve.delete("Content-Type");
|
|
3041
3043
|
break;
|
|
3042
3044
|
}
|
|
3043
3045
|
default:
|
|
@@ -3066,7 +3068,7 @@ const me = "__none", ga = ({
|
|
|
3066
3068
|
signal: g.current.signal
|
|
3067
3069
|
});
|
|
3068
3070
|
clearTimeout(Be), ee(!1);
|
|
3069
|
-
const
|
|
3071
|
+
const X = performance.now() - se, On = new URL(W.url), mt = Array.from($.headers.entries()), pt = $.headers.get("content-type") || "", ht = Mr(pt);
|
|
3070
3072
|
let Ne = "", ft, gt;
|
|
3071
3073
|
ht ? (ft = await $.blob(), gt = Ur(mt, W.url), Ne = `Binary content (${pt})`) : Ne = await $.text();
|
|
3072
3074
|
const xt = $.headers.get("content-length");
|
|
@@ -3094,7 +3096,7 @@ const me = "__none", ga = ({
|
|
|
3094
3096
|
headers: mt,
|
|
3095
3097
|
size: xt ? Number(xt) : Ne.length,
|
|
3096
3098
|
body: Ne,
|
|
3097
|
-
time:
|
|
3099
|
+
time: X,
|
|
3098
3100
|
isBinary: ht,
|
|
3099
3101
|
fileName: gt,
|
|
3100
3102
|
blob: ft,
|
|
@@ -3120,7 +3122,7 @@ const me = "__none", ga = ({
|
|
|
3120
3122
|
const p = setTimeout(() => Nn(dt), 100);
|
|
3121
3123
|
return () => clearTimeout(p);
|
|
3122
3124
|
}, [dt]);
|
|
3123
|
-
const { isFinished: Sn, progress: wn } =
|
|
3125
|
+
const { isFinished: Sn, progress: wn } = vs({ isAnimating: Cn });
|
|
3124
3126
|
G(() => () => {
|
|
3125
3127
|
g.current?.abort();
|
|
3126
3128
|
}, []);
|
|
@@ -3139,9 +3141,9 @@ const me = "__none", ga = ({
|
|
|
3139
3141
|
}
|
|
3140
3142
|
) }), An = m && !j && !Q, $n = ["POST", "PUT", "PATCH", "DELETE"].includes(
|
|
3141
3143
|
a.toUpperCase()
|
|
3142
|
-
), [ut, Pn] =
|
|
3144
|
+
), [ut, Pn] = ws();
|
|
3143
3145
|
return /* @__PURE__ */ t.jsx(
|
|
3144
|
-
|
|
3146
|
+
Ns,
|
|
3145
3147
|
{
|
|
3146
3148
|
register: De,
|
|
3147
3149
|
control: te,
|
|
@@ -3149,7 +3151,7 @@ const me = "__none", ga = ({
|
|
|
3149
3151
|
watch: ct,
|
|
3150
3152
|
setValue: Fe,
|
|
3151
3153
|
...ze,
|
|
3152
|
-
children: /* @__PURE__ */ t.jsx(
|
|
3154
|
+
children: /* @__PURE__ */ t.jsx(bs, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
|
|
3153
3155
|
"form",
|
|
3154
3156
|
{
|
|
3155
3157
|
ref: T,
|
|
@@ -3162,7 +3164,7 @@ const me = "__none", ga = ({
|
|
|
3162
3164
|
className: "relative",
|
|
3163
3165
|
children: [
|
|
3164
3166
|
/* @__PURE__ */ t.jsx(
|
|
3165
|
-
|
|
3167
|
+
Xr,
|
|
3166
3168
|
{
|
|
3167
3169
|
identities: y.data ?? [],
|
|
3168
3170
|
open: v,
|
|
@@ -3236,7 +3238,7 @@ const me = "__none", ga = ({
|
|
|
3236
3238
|
/* @__PURE__ */ t.jsxs("div", { className: "relative overflow-y-auto h-[80vh]", children: [
|
|
3237
3239
|
y.data?.length !== 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
3238
3240
|
/* @__PURE__ */ t.jsxs(Z, { children: [
|
|
3239
|
-
/* @__PURE__ */ t.jsx(
|
|
3241
|
+
/* @__PURE__ */ t.jsx(Xn, { size: 16 }),
|
|
3240
3242
|
/* @__PURE__ */ t.jsx(H, { children: "Authentication" })
|
|
3241
3243
|
] }),
|
|
3242
3244
|
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(
|
|
@@ -3250,7 +3252,7 @@ const me = "__none", ga = ({
|
|
|
3250
3252
|
] }),
|
|
3251
3253
|
L.length > 0 && /* @__PURE__ */ t.jsxs(B, { defaultOpen: !0, children: [
|
|
3252
3254
|
/* @__PURE__ */ t.jsxs(Z, { children: [
|
|
3253
|
-
/* @__PURE__ */ t.jsx(
|
|
3255
|
+
/* @__PURE__ */ t.jsx(Kn, { size: 16 }),
|
|
3254
3256
|
/* @__PURE__ */ t.jsx(H, { children: "Path Parameters" })
|
|
3255
3257
|
] }),
|
|
3256
3258
|
/* @__PURE__ */ t.jsx(_, { className: "CollapsibleContent", children: /* @__PURE__ */ t.jsx(Zr, { url: s, control: te }) })
|
|
@@ -3271,7 +3273,7 @@ const me = "__none", ga = ({
|
|
|
3271
3273
|
fa,
|
|
3272
3274
|
{
|
|
3273
3275
|
queryMutation: J,
|
|
3274
|
-
showLongRunningWarning:
|
|
3276
|
+
showLongRunningWarning: Ie,
|
|
3275
3277
|
isFinished: Sn,
|
|
3276
3278
|
progress: wn,
|
|
3277
3279
|
tip: /* @__PURE__ */ t.jsx("div", { className: "text-xs w-full", children: /* @__PURE__ */ t.jsxs("span", { className: "text-muted-foreground", children: [
|
|
@@ -3295,9 +3297,9 @@ const me = "__none", ga = ({
|
|
|
3295
3297
|
}
|
|
3296
3298
|
);
|
|
3297
3299
|
}, xa = (e) => {
|
|
3298
|
-
const [n, s] = E(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } =
|
|
3300
|
+
const [n, s] = E(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = fs();
|
|
3299
3301
|
return /* @__PURE__ */ t.jsxs(et, { onOpenChange: (l) => s(l), children: [
|
|
3300
|
-
/* @__PURE__ */ t.jsx(
|
|
3302
|
+
/* @__PURE__ */ t.jsx(gs, { asChild: !0, children: e.children ?? /* @__PURE__ */ t.jsx(q, { variant: "ghost", size: "icon-xs", className: "group", children: /* @__PURE__ */ t.jsx(
|
|
3301
3303
|
Zn,
|
|
3302
3304
|
{
|
|
3303
3305
|
className: "fill-muted-foreground group-hover:fill-foreground transition",
|
|
@@ -3312,7 +3314,7 @@ const me = "__none", ga = ({
|
|
|
3312
3314
|
"aria-describedby": void 0,
|
|
3313
3315
|
showCloseButton: !0,
|
|
3314
3316
|
children: [
|
|
3315
|
-
/* @__PURE__ */ t.jsx(
|
|
3317
|
+
/* @__PURE__ */ t.jsx(ps, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
|
|
3316
3318
|
n && /* @__PURE__ */ t.jsx(
|
|
3317
3319
|
ga,
|
|
3318
3320
|
{
|
|
@@ -3364,15 +3366,15 @@ const me = "__none", ga = ({
|
|
|
3364
3366
|
}))
|
|
3365
3367
|
}), xn = Vt(
|
|
3366
3368
|
void 0
|
|
3367
|
-
),
|
|
3368
|
-
const e =
|
|
3369
|
+
), eo = xn.Provider, va = () => {
|
|
3370
|
+
const e = ms(xn);
|
|
3369
3371
|
if (!e)
|
|
3370
3372
|
throw new Error("useOasConfig must be used within a OasConfigProvider");
|
|
3371
3373
|
return e.config;
|
|
3372
3374
|
}, Qe = (e) => ({
|
|
3373
3375
|
path: e.routePath,
|
|
3374
3376
|
async lazy() {
|
|
3375
|
-
const { OasProvider: n } = await import("./OasProvider-
|
|
3377
|
+
const { OasProvider: n } = await import("./OasProvider-DSe-hk5Y.js");
|
|
3376
3378
|
return {
|
|
3377
3379
|
element: /* @__PURE__ */ t.jsx(
|
|
3378
3380
|
n,
|
|
@@ -3393,7 +3395,7 @@ const me = "__none", ga = ({
|
|
|
3393
3395
|
}) => ({
|
|
3394
3396
|
path: e,
|
|
3395
3397
|
async lazy() {
|
|
3396
|
-
const { OperationList: a } = await import("./OperationList-
|
|
3398
|
+
const { OperationList: a } = await import("./OperationList-CaknPbvq.js");
|
|
3397
3399
|
return { element: /* @__PURE__ */ t.jsx(a, { tag: n, untagged: s }) };
|
|
3398
3400
|
}
|
|
3399
3401
|
}), ba = ({
|
|
@@ -3402,7 +3404,7 @@ const me = "__none", ga = ({
|
|
|
3402
3404
|
}) => {
|
|
3403
3405
|
const { type: s, input: a } = va(), { tag: r } = ts(), o = ns(), i = Sr(bn, { type: s, input: a }), {
|
|
3404
3406
|
data: { schema: c }
|
|
3405
|
-
} =
|
|
3407
|
+
} = Ms(i), l = c.tags.at(0);
|
|
3406
3408
|
return !r && l?.slug ? /* @__PURE__ */ t.jsx(
|
|
3407
3409
|
ss,
|
|
3408
3410
|
{
|
|
@@ -3412,10 +3414,10 @@ const me = "__none", ga = ({
|
|
|
3412
3414
|
}
|
|
3413
3415
|
}
|
|
3414
3416
|
) : r && c.tags.some((m) => m.slug === r) ? e(r) : null;
|
|
3415
|
-
},
|
|
3417
|
+
}, Rt = ({ path: e }) => ({
|
|
3416
3418
|
path: e,
|
|
3417
3419
|
async lazy() {
|
|
3418
|
-
const { OperationList: n } = await import("./OperationList-
|
|
3420
|
+
const { OperationList: n } = await import("./OperationList-CaknPbvq.js");
|
|
3419
3421
|
return {
|
|
3420
3422
|
element: /* @__PURE__ */ t.jsx(
|
|
3421
3423
|
ba,
|
|
@@ -3426,7 +3428,7 @@ const me = "__none", ga = ({
|
|
|
3426
3428
|
)
|
|
3427
3429
|
};
|
|
3428
3430
|
}
|
|
3429
|
-
}),
|
|
3431
|
+
}), Ke = (e) => [
|
|
3430
3432
|
// Category without tagged operations
|
|
3431
3433
|
yn({
|
|
3432
3434
|
path: V(e, lt),
|
|
@@ -3436,7 +3438,7 @@ const me = "__none", ga = ({
|
|
|
3436
3438
|
{
|
|
3437
3439
|
path: V(e, "~schemas"),
|
|
3438
3440
|
lazy: async () => {
|
|
3439
|
-
const { SchemaList: n } = await import("./SchemaList-
|
|
3441
|
+
const { SchemaList: n } = await import("./SchemaList-Dw3-CJPb.js");
|
|
3440
3442
|
return { element: /* @__PURE__ */ t.jsx(n, {}) };
|
|
3441
3443
|
}
|
|
3442
3444
|
}
|
|
@@ -3452,7 +3454,7 @@ const me = "__none", ga = ({
|
|
|
3452
3454
|
tag: a
|
|
3453
3455
|
})
|
|
3454
3456
|
),
|
|
3455
|
-
...
|
|
3457
|
+
...Ke(e)
|
|
3456
3458
|
];
|
|
3457
3459
|
}, vn = (e) => e.type === "raw" || !Array.isArray(e.input) ? { versions: [], labels: {} } : {
|
|
3458
3460
|
versions: e.input.map((n) => n.path),
|
|
@@ -3482,8 +3484,8 @@ const me = "__none", ga = ({
|
|
|
3482
3484
|
version: c,
|
|
3483
3485
|
routePath: l,
|
|
3484
3486
|
routes: [
|
|
3485
|
-
|
|
3486
|
-
...
|
|
3487
|
+
Rt({ path: `${l}/:tag?` }),
|
|
3488
|
+
...Ke(l)
|
|
3487
3489
|
],
|
|
3488
3490
|
client: s,
|
|
3489
3491
|
config: n
|
|
@@ -3493,8 +3495,8 @@ const me = "__none", ga = ({
|
|
|
3493
3495
|
basePath: e,
|
|
3494
3496
|
routePath: e,
|
|
3495
3497
|
routes: [
|
|
3496
|
-
|
|
3497
|
-
...
|
|
3498
|
+
Rt({ path: `${e}/:tag?` }),
|
|
3499
|
+
...Ke(e)
|
|
3498
3500
|
],
|
|
3499
3501
|
client: s,
|
|
3500
3502
|
config: n
|
|
@@ -3523,7 +3525,7 @@ const me = "__none", ga = ({
|
|
|
3523
3525
|
}
|
|
3524
3526
|
}
|
|
3525
3527
|
}
|
|
3526
|
-
`), lt = "~endpoints",
|
|
3528
|
+
`), lt = "~endpoints", to = (e) => {
|
|
3527
3529
|
const n = V(e.path), s = new Gs(e);
|
|
3528
3530
|
return {
|
|
3529
3531
|
getHead: () => {
|
|
@@ -3613,14 +3615,14 @@ const me = "__none", ga = ({
|
|
|
3613
3615
|
}
|
|
3614
3616
|
),
|
|
3615
3617
|
...Array.from(h.entries()).filter(([N]) => !u.has(N)).map(([, N]) => N)
|
|
3616
|
-
],
|
|
3618
|
+
], R = x.schema.tags.find(
|
|
3617
3619
|
(N) => !N.name
|
|
3618
3620
|
)?.operations;
|
|
3619
|
-
return
|
|
3621
|
+
return R && R.length > 0 && S.push(
|
|
3620
3622
|
Et({
|
|
3621
3623
|
label: S.length === 0 ? "Endpoints" : "Other endpoints",
|
|
3622
3624
|
path: V(n, i, lt),
|
|
3623
|
-
operations:
|
|
3625
|
+
operations: R,
|
|
3624
3626
|
collapsed: !e.options?.expandAllTags
|
|
3625
3627
|
})
|
|
3626
3628
|
), x.schema.components?.schemas?.length && S.push({
|
|
@@ -3637,11 +3639,11 @@ const me = "__none", ga = ({
|
|
|
3637
3639
|
};
|
|
3638
3640
|
export {
|
|
3639
3641
|
B as C,
|
|
3640
|
-
|
|
3642
|
+
Ya as G,
|
|
3641
3643
|
sr as L,
|
|
3642
|
-
|
|
3644
|
+
eo as O,
|
|
3643
3645
|
xa as P,
|
|
3644
|
-
|
|
3646
|
+
Ks as Q,
|
|
3645
3647
|
on as S,
|
|
3646
3648
|
b as T,
|
|
3647
3649
|
lt as U,
|
|
@@ -3653,7 +3655,7 @@ export {
|
|
|
3653
3655
|
fn as f,
|
|
3654
3656
|
vn as g,
|
|
3655
3657
|
na as h,
|
|
3656
|
-
|
|
3658
|
+
Za as i,
|
|
3657
3659
|
qe as j,
|
|
3658
3660
|
an as k,
|
|
3659
3661
|
rt as l,
|
|
@@ -3666,10 +3668,10 @@ export {
|
|
|
3666
3668
|
F as s,
|
|
3667
3669
|
Pt as t,
|
|
3668
3670
|
va as u,
|
|
3669
|
-
|
|
3671
|
+
Ka as v,
|
|
3670
3672
|
rr as w,
|
|
3671
3673
|
Qs as x,
|
|
3672
3674
|
bn as y,
|
|
3673
|
-
|
|
3675
|
+
to as z
|
|
3674
3676
|
};
|
|
3675
|
-
//# sourceMappingURL=index-
|
|
3677
|
+
//# sourceMappingURL=index-BQB9hb6n.js.map
|