zudoku 0.0.0-z6e949a6d → 0.0.0-z8ac421f0

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 (209) hide show
  1. package/dist/app/main.js +1 -1
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/config/create-plugin.d.ts +2 -0
  4. package/dist/config/create-plugin.js +55 -0
  5. package/dist/config/create-plugin.js.map +1 -0
  6. package/dist/config/loader.js +2 -2
  7. package/dist/config/loader.js.map +1 -1
  8. package/dist/config/validators/InputNavigationSchema.d.ts +67 -67
  9. package/dist/config/validators/NavigationSchema.js +1 -0
  10. package/dist/config/validators/NavigationSchema.js.map +1 -1
  11. package/dist/config/validators/validate.d.ts +5 -4
  12. package/dist/config/validators/validate.js +2 -0
  13. package/dist/config/validators/validate.js.map +1 -1
  14. package/dist/flat-config.d.ts +1 -0
  15. package/dist/index.d.ts +2 -1
  16. package/dist/index.js +1 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/lib/components/Bootstrap.js +1 -2
  19. package/dist/lib/components/Bootstrap.js.map +1 -1
  20. package/dist/lib/components/Slot.test.js +1 -1
  21. package/dist/lib/components/Slot.test.js.map +1 -1
  22. package/dist/lib/components/Zudoku.d.ts +4 -1
  23. package/dist/lib/components/Zudoku.js +4 -7
  24. package/dist/lib/components/Zudoku.js.map +1 -1
  25. package/dist/lib/components/context/ZudokuContext.d.ts +2 -4
  26. package/dist/lib/components/context/ZudokuContext.js +2 -2
  27. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  28. package/dist/lib/components/context/ZudokuProvider.js +1 -1
  29. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  30. package/dist/lib/components/context/ZudokuReactContext.d.ts +11 -0
  31. package/dist/lib/components/context/ZudokuReactContext.js +4 -0
  32. package/dist/lib/components/context/ZudokuReactContext.js.map +1 -0
  33. package/dist/lib/core/ZudokuContext.d.ts +2 -1
  34. package/dist/lib/core/ZudokuContext.js +3 -1
  35. package/dist/lib/core/ZudokuContext.js.map +1 -1
  36. package/dist/lib/core/__internal.d.ts +1 -0
  37. package/dist/lib/core/__internal.js +2 -0
  38. package/dist/lib/core/__internal.js.map +1 -1
  39. package/dist/lib/core/plugins.d.ts +5 -1
  40. package/dist/lib/core/plugins.js.map +1 -1
  41. package/dist/lib/core/transform-config.d.ts +4 -2
  42. package/dist/lib/core/transform-config.js +33 -13
  43. package/dist/lib/core/transform-config.js.map +1 -1
  44. package/dist/lib/core/transform-config.test.d.ts +1 -0
  45. package/dist/lib/core/transform-config.test.js +83 -0
  46. package/dist/lib/core/transform-config.test.js.map +1 -0
  47. package/dist/lib/errors/ErrorAlert.js +1 -2
  48. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  49. package/dist/lib/hooks/useEvent.test.js +1 -1
  50. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  51. package/dist/lib/plugins/openapi/ParamInfos.js +8 -5
  52. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  53. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  54. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  55. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +2 -2
  56. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  57. package/dist/lib/ui/Alert.d.ts +3 -2
  58. package/dist/lib/ui/Alert.js +9 -5
  59. package/dist/lib/ui/Alert.js.map +1 -1
  60. package/dist/lib/ui/Secret.js +2 -2
  61. package/dist/lib/ui/Secret.js.map +1 -1
  62. package/dist/lib/util/flattenAllOf.js +6 -0
  63. package/dist/lib/util/flattenAllOf.js.map +1 -1
  64. package/dist/lib/util/flattenAllOf.test.js +26 -0
  65. package/dist/lib/util/flattenAllOf.test.js.map +1 -1
  66. package/dist/vite/config.js +5 -2
  67. package/dist/vite/config.js.map +1 -1
  68. package/dist/vite/plugin-config.js +16 -4
  69. package/dist/vite/plugin-config.js.map +1 -1
  70. package/dist/vite/plugin-theme.js +2 -1
  71. package/dist/vite/plugin-theme.js.map +1 -1
  72. package/dist/vite/prerender/prerender.js +3 -1
  73. package/dist/vite/prerender/prerender.js.map +1 -1
  74. package/dist/vite/prerender/worker.js +3 -1
  75. package/dist/vite/prerender/worker.js.map +1 -1
  76. package/lib/{ClaudeLogo-OpUSMQJe.js → ClaudeLogo-Br8C_vTq.js} +3 -3
  77. package/lib/{ClaudeLogo-OpUSMQJe.js.map → ClaudeLogo-Br8C_vTq.js.map} +1 -1
  78. package/lib/Drawer-Ch7927PF.js.map +1 -1
  79. package/lib/{HydrationBoundary-CNF2ZV3E.js → HydrationBoundary-CJu4vUlG.js} +6 -6
  80. package/lib/{HydrationBoundary-CNF2ZV3E.js.map → HydrationBoundary-CJu4vUlG.js.map} +1 -1
  81. package/lib/{MdxPage-dzCPGdvD.js → MdxPage-C0QFAsgv.js} +6 -6
  82. package/lib/{MdxPage-dzCPGdvD.js.map → MdxPage-C0QFAsgv.js.map} +1 -1
  83. package/lib/Mermaid-Chx5BPHn.js +104 -0
  84. package/lib/Mermaid-Chx5BPHn.js.map +1 -0
  85. package/lib/{OAuthErrorPage-D7n-_cqN.js → OAuthErrorPage-CFz_gBFx.js} +11 -10
  86. package/lib/{OAuthErrorPage-D7n-_cqN.js.map → OAuthErrorPage-CFz_gBFx.js.map} +1 -1
  87. package/lib/{OasProvider-DPPdikt_.js → OasProvider-BwIOIlky.js} +3 -3
  88. package/lib/{OasProvider-DPPdikt_.js.map → OasProvider-BwIOIlky.js.map} +1 -1
  89. package/lib/OperationList-DYRzbPJu.js +5908 -0
  90. package/lib/OperationList-DYRzbPJu.js.map +1 -0
  91. package/lib/{RouteGuard-BMbu_Yb7.js → RouteGuard-CVs3yvEs.js} +3 -3
  92. package/lib/{RouteGuard-BMbu_Yb7.js.map → RouteGuard-CVs3yvEs.js.map} +1 -1
  93. package/lib/{SchemaList-CRC8n5co.js → SchemaList-D4FEyoDV.js} +7 -7
  94. package/lib/{SchemaList-CRC8n5co.js.map → SchemaList-D4FEyoDV.js.map} +1 -1
  95. package/lib/{SchemaView-BR6dtnPg.js → SchemaView-ScvkhsYE.js} +116 -110
  96. package/lib/SchemaView-ScvkhsYE.js.map +1 -0
  97. package/lib/{Secret-BDBqq4p3.js → Secret-DUpgv4V3.js} +92 -72
  98. package/lib/Secret-DUpgv4V3.js.map +1 -0
  99. package/lib/{SignUp-ChqXj9vd.js → SignUp-Dug1jAGC.js} +4 -4
  100. package/lib/{SignUp-ChqXj9vd.js.map → SignUp-Dug1jAGC.js.map} +1 -1
  101. package/lib/{SyntaxHighlight-O-IZOPLg.js → SyntaxHighlight-BMu0b_hF.js} +8 -8
  102. package/lib/{SyntaxHighlight-O-IZOPLg.js.map → SyntaxHighlight-BMu0b_hF.js.map} +1 -1
  103. package/lib/{Toc-DQF7trHT.js → Toc-BiJ2YL0O.js} +2 -2
  104. package/lib/{Toc-DQF7trHT.js.map → Toc-BiJ2YL0O.js.map} +1 -1
  105. package/lib/{Zudoku-DA1yA-te.js → Zudoku-iyiXgWFY.js} +2101 -2121
  106. package/lib/Zudoku-iyiXgWFY.js.map +1 -0
  107. package/lib/ZudokuContext-CYyb_PB_.js +175 -0
  108. package/lib/ZudokuContext-CYyb_PB_.js.map +1 -0
  109. package/lib/ZudokuReactContext-DGJAP1sN.js +222 -0
  110. package/lib/ZudokuReactContext-DGJAP1sN.js.map +1 -0
  111. package/lib/chunk-EPOLDU6W-C6C8jAwd.js.map +1 -1
  112. package/lib/{circular-C4l1Kj1N.js → circular-BOpxmAie.js} +2 -2
  113. package/lib/{circular-C4l1Kj1N.js.map → circular-BOpxmAie.js.map} +1 -1
  114. package/lib/{createServer-DoRZ6tMa.js → createServer-BunbJzB5.js} +6 -4
  115. package/lib/{createServer-DoRZ6tMa.js.map → createServer-BunbJzB5.js.map} +1 -1
  116. package/lib/{errors-CYLN8SNc.js → errors-B77S9iOc.js} +2 -2
  117. package/lib/{errors-CYLN8SNc.js.map → errors-B77S9iOc.js.map} +1 -1
  118. package/lib/{firebase-DF-VVKB7.js → firebase-C7XKRGLf.js} +25 -24
  119. package/lib/{firebase-DF-VVKB7.js.map → firebase-C7XKRGLf.js.map} +1 -1
  120. package/lib/{hook-C35h0YhF.js → hook-Dz_n9SoE.js} +16 -15
  121. package/lib/{hook-C35h0YhF.js.map → hook-Dz_n9SoE.js.map} +1 -1
  122. package/lib/{index-DrAVvbXa.js → index-BDp2MTiq.js} +2 -2
  123. package/lib/{index-DrAVvbXa.js.map → index-BDp2MTiq.js.map} +1 -1
  124. package/lib/{index-Ck4TmzTO.js → index-Bx29qHVi.js} +52 -50
  125. package/lib/{index-Ck4TmzTO.js.map → index-Bx29qHVi.js.map} +1 -1
  126. package/lib/index-CrcNWbel.js.map +1 -1
  127. package/lib/index-DAWHN3cH.js.map +1 -1
  128. package/lib/index.esm-BYObtETB.js.map +1 -1
  129. package/lib/index.esm-Ca5zvoff.js.map +1 -1
  130. package/lib/{index.esm-B2cLXwjS.js → index.esm-Cth49JBv.js} +2 -2
  131. package/lib/index.esm-Cth49JBv.js.map +1 -0
  132. package/lib/jsx-runtime-BzflLqGi.js.map +1 -1
  133. package/lib/{mutation-BISOc7OM.js → mutation-B7eFBLZY.js} +2 -2
  134. package/lib/{mutation-BISOc7OM.js.map → mutation-B7eFBLZY.js.map} +1 -1
  135. package/lib/ui/Alert.js +32 -20
  136. package/lib/ui/Alert.js.map +1 -1
  137. package/lib/ui/Carousel.js.map +1 -1
  138. package/lib/ui/Secret.js +2 -2
  139. package/lib/ui/Secret.js.map +1 -1
  140. package/lib/ui/SyntaxHighlight.js +2 -2
  141. package/lib/useExposedProps-CzTDfXfq.js.map +1 -1
  142. package/lib/{useMutation-CFMGlAMW.js → useMutation-CErliDZ9.js} +5 -5
  143. package/lib/{useMutation-CFMGlAMW.js.map → useMutation-CErliDZ9.js.map} +1 -1
  144. package/lib/{useSuspenseQuery-CSB_rVek.js → useQuery-ht7aWJ3S.js} +432 -446
  145. package/lib/useQuery-ht7aWJ3S.js.map +1 -0
  146. package/lib/useSuspenseQuery-DQH4Bmc2.js +18 -0
  147. package/lib/useSuspenseQuery-DQH4Bmc2.js.map +1 -0
  148. package/lib/zudoku.__internal.js +520 -496
  149. package/lib/zudoku.__internal.js.map +1 -1
  150. package/lib/zudoku.auth-auth0.js +6 -5
  151. package/lib/zudoku.auth-auth0.js.map +1 -1
  152. package/lib/zudoku.auth-azureb2c.js +14 -13
  153. package/lib/zudoku.auth-azureb2c.js.map +1 -1
  154. package/lib/zudoku.auth-clerk.js +2 -2
  155. package/lib/zudoku.auth-firebase.js +4 -4
  156. package/lib/zudoku.auth-openid.js +7 -6
  157. package/lib/zudoku.auth-openid.js.map +1 -1
  158. package/lib/zudoku.auth-supabase.js +4 -4
  159. package/lib/zudoku.components.js +3 -3
  160. package/lib/zudoku.hooks.js +3 -3
  161. package/lib/zudoku.mermaid.js +3 -3
  162. package/lib/zudoku.plugin-api-catalog.js +28 -27
  163. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  164. package/lib/zudoku.plugin-api-keys.js +98 -96
  165. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  166. package/lib/zudoku.plugin-custom-pages.js +1 -1
  167. package/lib/zudoku.plugin-markdown.js +1 -1
  168. package/lib/zudoku.plugin-openapi.js +2 -2
  169. package/lib/zudoku.plugin-search-pagefind.js +19 -18
  170. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  171. package/lib/zudoku.plugins.js.map +1 -1
  172. package/lib/zudoku.react-query.js +26 -25
  173. package/lib/zudoku.react-query.js.map +1 -1
  174. package/lib/zudoku.router.js.map +1 -1
  175. package/package.json +13 -7
  176. package/src/app/defaultTheme.css +4 -0
  177. package/src/app/main.css +2 -0
  178. package/src/app/main.tsx +1 -1
  179. package/src/lib/components/Bootstrap.tsx +1 -4
  180. package/src/lib/components/Slot.test.tsx +1 -1
  181. package/src/lib/components/Zudoku.tsx +18 -14
  182. package/src/lib/components/context/ZudokuContext.ts +2 -6
  183. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  184. package/src/lib/components/context/ZudokuReactContext.tsx +17 -0
  185. package/src/lib/core/ZudokuContext.ts +7 -1
  186. package/src/lib/core/__internal.tsx +2 -0
  187. package/src/lib/core/plugins.ts +7 -3
  188. package/src/lib/core/transform-config.test.tsx +99 -0
  189. package/src/lib/core/transform-config.ts +57 -19
  190. package/src/lib/errors/ErrorAlert.tsx +1 -6
  191. package/src/lib/hooks/useEvent.test.tsx +1 -1
  192. package/src/lib/plugins/openapi/ParamInfos.tsx +10 -5
  193. package/src/lib/plugins/openapi/ParameterListItem.tsx +1 -0
  194. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +2 -0
  195. package/src/lib/ui/Alert.tsx +17 -5
  196. package/src/lib/ui/Secret.tsx +2 -2
  197. package/src/lib/util/flattenAllOf.test.ts +32 -0
  198. package/src/lib/util/flattenAllOf.ts +7 -0
  199. package/lib/Mermaid-JEnWyK0s.js +0 -103
  200. package/lib/Mermaid-JEnWyK0s.js.map +0 -1
  201. package/lib/OperationList-cEveQ_l5.js +0 -5822
  202. package/lib/OperationList-cEveQ_l5.js.map +0 -1
  203. package/lib/SchemaView-BR6dtnPg.js.map +0 -1
  204. package/lib/Secret-BDBqq4p3.js.map +0 -1
  205. package/lib/Zudoku-DA1yA-te.js.map +0 -1
  206. package/lib/ZudokuContext-C6wlLMUH.js +0 -389
  207. package/lib/ZudokuContext-C6wlLMUH.js.map +0 -1
  208. package/lib/index.esm-B2cLXwjS.js.map +0 -1
  209. package/lib/useSuspenseQuery-CSB_rVek.js.map +0 -1
@@ -2,20 +2,21 @@ import { j as t } from "./jsx-runtime-BzflLqGi.js";
2
2
  import { ChevronsDownUpIcon as kn, ChevronsUpDownIcon as En, PlusCircleIcon as Je, XIcon as It, CheckIcon as Dt, PaperclipIcon as me, TrashIcon as Rn, FileInput as In, ScanTextIcon as yt, Grid2x2PlusIcon as vt, ChevronDownIcon as Dn, TableOfContentsIcon as Fn, LockIcon as zn, CircleAlertIcon as Vn, Circle as Bn, Unlink2Icon as _n, DownloadIcon as Ft, CornerDownRightIcon as qn, MinusCircleIcon as bt, CornerDownLeftIcon as Un, SquareCodeIcon as Mn, 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
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 K } from "./ui/Button.js";
5
- import { f as Ze, p as Ye, g as zt, s as as, h as os, j as V } from "./ZudokuContext-C6wlLMUH.js";
6
- import { Z as is } from "./invariant-B_t_F2s_.js";
5
+ import { e as as, j as V } from "./ZudokuContext-CYyb_PB_.js";
6
+ import { Z as os } from "./invariant-B_t_F2s_.js";
7
7
  import * as xe from "react";
8
- import { createContext as Vt, use as ls, useRef as E, useEffect as U, useMemo as Bt, useCallback as D, startTransition as cs, useState as k, Fragment as le, 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 } from "./index-DAWHN3cH.js";
11
- import { u as fs } from "./hook-C35h0YhF.js";
8
+ import { createContext as zt, use as is, useRef as E, useEffect as U, useMemo as Vt, useCallback as D, startTransition as ls, useState as k, Fragment as le, useLayoutEffect as cs, useTransition as ds, useContext as us } from "react";
9
+ import { VisuallyHidden as ms } from "@radix-ui/react-visually-hidden";
10
+ import { z as ps } from "./index-DAWHN3cH.js";
11
+ import { u as hs } from "./hook-Dz_n9SoE.js";
12
+ import { c as Ze, p as Ye, a as Bt, s as fs } from "./ZudokuReactContext-DGJAP1sN.js";
12
13
  import { B } from "./Button-GUVe7pmt.js";
13
14
  import { D as et, a as tt, c as nt, d as _t, e as qt, g as gs } from "./Dialog-hlvmmQ_c.js";
14
- import { l as Ct, m as Nt, n as wt, d as xs, o as ys, i as vs } from "./Zudoku-DA1yA-te.js";
15
- import { u as bs } from "./useMutation-CFMGlAMW.js";
16
- import { u as oe, b as Ut, C as St, a as js, F as Cs } from "./index.esm-BYObtETB.js";
15
+ import { j as Ct, k as Nt, l as wt, m as xs, g as ys } from "./Zudoku-iyiXgWFY.js";
16
+ import { u as vs } from "./useMutation-CErliDZ9.js";
17
+ import { u as oe, b as Ut, C as St, a as bs, F as js } from "./index.esm-BYObtETB.js";
17
18
  import * as st from "@radix-ui/react-collapsible";
18
- import { S as Mt, a as Gt, b as Ht, c as Qt, e as Ae, g as Ns } from "./Secret-BDBqq4p3.js";
19
+ import { a as Mt, b as Gt, c as Ht, d as Qt, f as Ae, S as Cs, h as Ns } from "./Secret-DUpgv4V3.js";
19
20
  import { c as S } from "./cn-5-Gd1Dss.js";
20
21
  import { u as ws } from "./useCopyToClipboard-B_085nfO.js";
21
22
  import { u as Ss } from "./useLatest-hmRS46UF.js";
@@ -32,12 +33,13 @@ import * as Kt from "@radix-ui/react-label";
32
33
  import { c as Fs } from "./index-DI5SPFK9.js";
33
34
  import * as he from "@radix-ui/react-radio-group";
34
35
  import { S as zs } from "./Spinner-CI6bRyZw.js";
35
- import { A as Vs, a as Bs, b as _s } from "./Mermaid-JEnWyK0s.js";
36
- import { e as qs, u as Us } from "./useSuspenseQuery-CSB_rVek.js";
36
+ import { A as Vs, a as Bs, b as _s } from "./Mermaid-Chx5BPHn.js";
37
+ import { g as qs } from "./useQuery-ht7aWJ3S.js";
38
+ import { u as Us } from "./useSuspenseQuery-DQH4Bmc2.js";
37
39
  let _e;
38
40
  const Ms = (e) => {
39
41
  if (e.errors?.[0])
40
- throw new is(e.errors[0].message, {
42
+ throw new os(e.errors[0].message, {
41
43
  developerHint: "Check your configuration value `apis.type` and `apis.input` in the Zudoku config."
42
44
  });
43
45
  };
@@ -45,7 +47,7 @@ class Gs {
45
47
  constructor(n) {
46
48
  this.config = n;
47
49
  }
48
- #e = async () => (_e || (_e = import("./createServer-DoRZ6tMa.js").then(
50
+ #e = async () => (_e || (_e = import("./createServer-BunbJzB5.js").then(
49
51
  (n) => n.createServer(this.config)
50
52
  )), _e);
51
53
  #t = async (n) => this.config.server ? fetch(this.config.server, n) : (await this.#e()).fetch("http://localhost/graphql", n);
@@ -246,7 +248,7 @@ function F(e, n, s) {
246
248
  positions: [n]
247
249
  });
248
250
  }
249
- class to {
251
+ class so {
250
252
  /**
251
253
  * The character offset at which this Node begins.
252
254
  */
@@ -405,7 +407,7 @@ const Ks = {
405
407
  DirectiveCoordinate: ["name"],
406
408
  DirectiveArgumentCoordinate: ["name", "argumentName"]
407
409
  }, Zs = new Set(Object.keys(Ks));
408
- function no(e) {
410
+ function ro(e) {
409
411
  const n = e?.kind;
410
412
  return typeof n == "string" && Zs.has(n);
411
413
  }
@@ -1023,16 +1025,16 @@ function Nr(e) {
1023
1025
  }
1024
1026
  return r;
1025
1027
  }
1026
- const ln = Vt(
1028
+ const ln = zt(
1027
1029
  void 0
1028
- ), so = ({
1030
+ ), ao = ({
1029
1031
  children: e,
1030
1032
  client: n
1031
1033
  }) => /* @__PURE__ */ t.jsx(ln.Provider, { value: n, children: e }), cn = (e, n, ...[s]) => ({
1032
1034
  queryFn: () => e.fetch(n, s),
1033
1035
  queryKey: [Nr(n.toString()), s]
1034
1036
  }), wr = (e, ...[n]) => {
1035
- const s = ls(ln);
1037
+ const s = is(ln);
1036
1038
  if (s === void 0)
1037
1039
  throw new Error("useGraphQL must be used within a GraphQLProvider");
1038
1040
  return cn(s, e, ...n === void 0 ? [] : [n]);
@@ -1376,7 +1378,7 @@ const Dr = {
1376
1378
  )
1377
1379
  ), Vr = (e) => {
1378
1380
  const { selectedServer: n, setSelectedServer: s } = zr();
1379
- return { selectedServer: Bt(
1381
+ return { selectedServer: Vt(
1380
1382
  () => n && e.some((r) => r.url === n) ? n : e.at(0)?.url ?? "",
1381
1383
  [n, e]
1382
1384
  ), setSelectedServer: s };
@@ -1688,7 +1690,7 @@ const _r = ({ index: e, manager: n }) => {
1688
1690
  const A = R(T);
1689
1691
  T.active !== A && g.push(() => y(C, "active", A));
1690
1692
  }
1691
- g.length !== 0 && cs(() => g.forEach((C) => C()));
1693
+ g.length !== 0 && ls(() => g.forEach((C) => C()));
1692
1694
  }, [p, R, y]);
1693
1695
  const N = D(
1694
1696
  (g) => {
@@ -2318,7 +2320,7 @@ const hn = ({
2318
2320
  const s = (3 * Ge(e) + 2 * Ge(e) + Ge(e)) % 360, { saturation: a = 75, lightness: r = 60 } = n;
2319
2321
  return `${s}deg ${a}% ${r}%`;
2320
2322
  }, He = "data-linked-param", Zr = (e) => {
2321
- const { resolvedTheme: n } = hs();
2323
+ const { resolvedTheme: n } = ps();
2322
2324
  return {
2323
2325
  text: kt(
2324
2326
  e,
@@ -2527,7 +2529,7 @@ const hn = ({
2527
2529
  }),
2528
2530
  {
2529
2531
  name: "identity-storage",
2530
- storage: zt(() => sessionStorage)
2532
+ storage: Bt(() => sessionStorage)
2531
2533
  }
2532
2534
  )
2533
2535
  ), sa = ({
@@ -2611,7 +2613,7 @@ const hn = ({
2611
2613
  }
2612
2614
  a.current = requestAnimationFrame(r);
2613
2615
  }, []);
2614
- return ds(() => {
2616
+ return cs(() => {
2615
2617
  const o = e.current;
2616
2618
  if (!o) return;
2617
2619
  const i = document.createTextNode("0");
@@ -2915,7 +2917,7 @@ const ma = (e) => Object.entries({
2915
2917
  }
2916
2918
  )
2917
2919
  ] }) }) : /* @__PURE__ */ t.jsx(
2918
- xs,
2920
+ Cs,
2919
2921
  {
2920
2922
  className: "text-xs flex-1",
2921
2923
  embedded: !0,
@@ -3004,11 +3006,11 @@ const ma = (e) => Object.entries({
3004
3006
  }),
3005
3007
  {
3006
3008
  name: "remember-skip-login",
3007
- storage: zt(() => sessionStorage)
3009
+ storage: Bt(() => sessionStorage)
3008
3010
  }
3009
3011
  )
3010
3012
  );
3011
- as(xn);
3013
+ fs(xn);
3012
3014
  const pe = "__none", ya = ({
3013
3015
  server: e,
3014
3016
  servers: n = [],
@@ -3025,11 +3027,11 @@ const pe = "__none", ya = ({
3025
3027
  }) => {
3026
3028
  const { selectedServer: x, setSelectedServer: p } = Vr(
3027
3029
  n.map((h) => ({ url: h }))
3028
- ), [v, u] = k(!1), y = os(), { setRememberedIdentity: w, getRememberedIdentity: R } = na(), [, N] = us(), { skipLogin: j, setSkipLogin: $ } = xn(), [Q, je] = k(!1), [Ie, te] = k(!1), g = E(void 0), C = Ss(w), T = E(null), { label: A } = Fr("meta+enter", () => {
3030
+ ), [v, u] = k(!1), y = as(), { setRememberedIdentity: w, getRememberedIdentity: R } = na(), [, N] = ds(), { skipLogin: j, setSkipLogin: $ } = xn(), [Q, je] = k(!1), [Ie, te] = k(!1), g = E(void 0), C = Ss(w), T = E(null), { label: A } = Fr("meta+enter", () => {
3029
3031
  T.current?.requestSubmit();
3030
3032
  }), M = s.match(/\{([^}]+)\}/g)?.map((h) => h.slice(1, -1)) ?? [], L = [...i].sort(
3031
3033
  (h, re) => M.indexOf(h.name) - M.indexOf(re.name)
3032
- ), { register: De, control: ne, handleSubmit: Ce, watch: ct, setValue: Fe, ...ze } = js({
3034
+ ), { register: De, control: ne, handleSubmit: Ce, watch: ct, setValue: Fe, ...ze } = bs({
3033
3035
  defaultValues: {
3034
3036
  body: c,
3035
3037
  bodyMode: "text",
@@ -3055,14 +3057,14 @@ const pe = "__none", ya = ({
3055
3057
  ...y.data?.map((h) => h.id) ?? []
3056
3058
  ])
3057
3059
  }
3058
- }), se = ct("identity"), Cn = Bt(
3060
+ }), se = ct("identity"), Cn = Vt(
3059
3061
  () => y.data?.find((h) => h.id === se)?.authorizationFields,
3060
3062
  [y.data, se]
3061
3063
  );
3062
3064
  U(() => {
3063
3065
  se && C.current(se);
3064
3066
  }, [C, se]);
3065
- const J = bs({
3067
+ const J = vs({
3066
3068
  gcTime: 0,
3067
3069
  mutationFn: async (h) => {
3068
3070
  const re = performance.now(), Ve = new window.Headers(
@@ -3158,7 +3160,7 @@ const pe = "__none", ya = ({
3158
3160
  const h = setTimeout(() => wn(dt), 100);
3159
3161
  return () => clearTimeout(h);
3160
3162
  }, [dt]);
3161
- const { isFinished: Sn, progress: Tn } = ys({ isAnimating: Nn });
3163
+ const { isFinished: Sn, progress: Tn } = xs({ isAnimating: Nn });
3162
3164
  U(() => () => {
3163
3165
  g.current?.abort();
3164
3166
  }, []);
@@ -3179,7 +3181,7 @@ const pe = "__none", ya = ({
3179
3181
  a.toUpperCase()
3180
3182
  ), [ut, $n] = ws();
3181
3183
  return /* @__PURE__ */ t.jsx(
3182
- Cs,
3184
+ js,
3183
3185
  {
3184
3186
  register: De,
3185
3187
  control: ne,
@@ -3187,7 +3189,7 @@ const pe = "__none", ya = ({
3187
3189
  watch: ct,
3188
3190
  setValue: Fe,
3189
3191
  ...ze,
3190
- children: /* @__PURE__ */ t.jsx(vs, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
3192
+ children: /* @__PURE__ */ t.jsx(ys, { delayDuration: 150, children: /* @__PURE__ */ t.jsxs(
3191
3193
  "form",
3192
3194
  {
3193
3195
  ref: T,
@@ -3333,7 +3335,7 @@ const pe = "__none", ya = ({
3333
3335
  }
3334
3336
  );
3335
3337
  }, va = (e) => {
3336
- const [n, s] = k(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = fs();
3338
+ const [n, s] = k(!1), { isAuthEnabled: a, login: r, signup: o, isPending: i, isAuthenticated: c } = hs();
3337
3339
  return /* @__PURE__ */ t.jsxs(et, { onOpenChange: (l) => s(l), children: [
3338
3340
  /* @__PURE__ */ t.jsx(gs, { asChild: !0, children: e.children ?? /* @__PURE__ */ t.jsx(B, { variant: "ghost", size: "icon-xs", className: "group", children: /* @__PURE__ */ t.jsx(
3339
3341
  Zn,
@@ -3350,7 +3352,7 @@ const pe = "__none", ya = ({
3350
3352
  "aria-describedby": void 0,
3351
3353
  showCloseButton: !0,
3352
3354
  children: [
3353
- /* @__PURE__ */ t.jsx(ps, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
3355
+ /* @__PURE__ */ t.jsx(ms, { children: /* @__PURE__ */ t.jsx(nt, { children: "Playground" }) }),
3354
3356
  n && /* @__PURE__ */ t.jsx(
3355
3357
  ya,
3356
3358
  {
@@ -3400,17 +3402,17 @@ const pe = "__none", ya = ({
3400
3402
  invert: !0
3401
3403
  }
3402
3404
  }))
3403
- }), yn = Vt(
3405
+ }), yn = zt(
3404
3406
  void 0
3405
- ), ro = yn.Provider, ja = () => {
3406
- const e = ms(yn);
3407
+ ), oo = yn.Provider, ja = () => {
3408
+ const e = us(yn);
3407
3409
  if (!e)
3408
3410
  throw new Error("useOasConfig must be used within a OasConfigProvider");
3409
3411
  return e.config;
3410
3412
  }, Qe = (e) => ({
3411
3413
  path: e.routePath,
3412
3414
  async lazy() {
3413
- const { OasProvider: n } = await import("./OasProvider-DPPdikt_.js");
3415
+ const { OasProvider: n } = await import("./OasProvider-BwIOIlky.js");
3414
3416
  return {
3415
3417
  element: /* @__PURE__ */ t.jsx(
3416
3418
  n,
@@ -3431,7 +3433,7 @@ const pe = "__none", ya = ({
3431
3433
  }) => ({
3432
3434
  path: e,
3433
3435
  async lazy() {
3434
- const { OperationList: a } = await import("./OperationList-cEveQ_l5.js");
3436
+ const { OperationList: a } = await import("./OperationList-DYRzbPJu.js");
3435
3437
  return { element: /* @__PURE__ */ t.jsx(a, { tag: n, untagged: s }) };
3436
3438
  }
3437
3439
  }), Ca = ({
@@ -3453,7 +3455,7 @@ const pe = "__none", ya = ({
3453
3455
  }, Rt = ({ path: e }) => ({
3454
3456
  path: e,
3455
3457
  async lazy() {
3456
- const { OperationList: n } = await import("./OperationList-cEveQ_l5.js");
3458
+ const { OperationList: n } = await import("./OperationList-DYRzbPJu.js");
3457
3459
  return {
3458
3460
  element: /* @__PURE__ */ t.jsx(
3459
3461
  Ca,
@@ -3474,7 +3476,7 @@ const pe = "__none", ya = ({
3474
3476
  {
3475
3477
  path: V(e, "~schemas"),
3476
3478
  lazy: async () => {
3477
- const { SchemaList: n } = await import("./SchemaList-CRC8n5co.js");
3479
+ const { SchemaList: n } = await import("./SchemaList-D4FEyoDV.js");
3478
3480
  return { element: /* @__PURE__ */ t.jsx(n, {}) };
3479
3481
  }
3480
3482
  }
@@ -3564,7 +3566,7 @@ const pe = "__none", ya = ({
3564
3566
  }
3565
3567
  }
3566
3568
  }
3567
- `), lt = "~endpoints", ao = (e) => {
3569
+ `), lt = "~endpoints", io = (e) => {
3568
3570
  const n = V(e.path), s = new Gs(e);
3569
3571
  return {
3570
3572
  getHead: () => {
@@ -3678,9 +3680,9 @@ const pe = "__none", ya = ({
3678
3680
  };
3679
3681
  export {
3680
3682
  _ as C,
3681
- so as G,
3683
+ ao as G,
3682
3684
  sr as L,
3683
- ro as O,
3685
+ oo as O,
3684
3686
  va as P,
3685
3687
  Ks as Q,
3686
3688
  on as S,
@@ -3696,7 +3698,7 @@ export {
3696
3698
  sa as h,
3697
3699
  Cr as i,
3698
3700
  Pt as j,
3699
- to as k,
3701
+ so as k,
3700
3702
  rr as l,
3701
3703
  rt as m,
3702
3704
  an as n,
@@ -3705,12 +3707,12 @@ export {
3705
3707
  qe as q,
3706
3708
  Qs as r,
3707
3709
  F as s,
3708
- no as t,
3710
+ ro as t,
3709
3711
  ja as u,
3710
3712
  nr as v,
3711
3713
  Ys as w,
3712
3714
  tn as x,
3713
3715
  jn as y,
3714
- ao as z
3716
+ io as z
3715
3717
  };
3716
- //# sourceMappingURL=index-Ck4TmzTO.js.map
3718
+ //# sourceMappingURL=index-Bx29qHVi.js.map