zudoku 0.0.0-ed94abf → 0.0.0-edf4a635

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 (1827) hide show
  1. package/README.md +33 -13
  2. package/cli.js +9 -2
  3. package/dist/app/ZuploBuildConfig.d.ts +45 -0
  4. package/dist/app/ZuploBuildConfig.js +29 -0
  5. package/dist/app/ZuploBuildConfig.js.map +1 -0
  6. package/dist/app/demo.js +22 -6
  7. package/dist/app/demo.js.map +1 -1
  8. package/dist/app/entry.client.d.ts +0 -2
  9. package/dist/app/entry.client.js +37 -4
  10. package/dist/app/entry.client.js.map +1 -1
  11. package/dist/app/entry.server.d.ts +0 -2
  12. package/dist/app/entry.server.js +3 -5
  13. package/dist/app/entry.server.js.map +1 -1
  14. package/dist/app/env.d.ts +33 -0
  15. package/dist/app/env.js +37 -0
  16. package/dist/app/env.js.map +1 -0
  17. package/dist/app/main.d.ts +2 -1
  18. package/dist/app/main.js +38 -47
  19. package/dist/app/main.js.map +1 -1
  20. package/dist/app/standalone.js +11 -7
  21. package/dist/app/standalone.js.map +1 -1
  22. package/dist/cli/build/handler.js +9 -1
  23. package/dist/cli/build/handler.js.map +1 -1
  24. package/dist/cli/cli.js +14 -2
  25. package/dist/cli/cli.js.map +1 -1
  26. package/dist/cli/cmds/build.d.ts +1 -1
  27. package/dist/cli/cmds/dev.d.ts +1 -1
  28. package/dist/cli/cmds/preview.d.ts +1 -1
  29. package/dist/cli/common/analytics/lib.js +1 -1
  30. package/dist/cli/common/analytics/lib.js.map +1 -1
  31. package/dist/cli/common/logger.js +0 -1
  32. package/dist/cli/common/logger.js.map +1 -1
  33. package/dist/cli/common/machine-id/lib.js +3 -2
  34. package/dist/cli/common/machine-id/lib.js.map +1 -1
  35. package/dist/cli/common/outdated.js +2 -1
  36. package/dist/cli/common/outdated.js.map +1 -1
  37. package/dist/cli/common/output.js +2 -3
  38. package/dist/cli/common/output.js.map +1 -1
  39. package/dist/cli/common/utils/box.js +2 -2
  40. package/dist/cli/common/utils/box.js.map +1 -1
  41. package/dist/cli/common/validators/lib.js +1 -1
  42. package/dist/cli/common/validators/lib.js.map +1 -1
  43. package/dist/cli/dev/handler.js +0 -4
  44. package/dist/cli/dev/handler.js.map +1 -1
  45. package/dist/codegen.js +2 -2
  46. package/dist/codegen.js.map +1 -1
  47. package/dist/config/config.d.ts +14 -2
  48. package/dist/config/file-exists.d.ts +1 -0
  49. package/dist/config/file-exists.js +5 -0
  50. package/dist/config/file-exists.js.map +1 -0
  51. package/dist/config/loader.d.ts +18 -18
  52. package/dist/config/loader.js +95 -100
  53. package/dist/config/loader.js.map +1 -1
  54. package/dist/config/validators/BuildSchema.d.ts +20 -44
  55. package/dist/config/validators/BuildSchema.js +10 -16
  56. package/dist/config/validators/BuildSchema.js.map +1 -1
  57. package/dist/config/validators/InputNavigationSchema.d.ts +7562 -0
  58. package/dist/config/validators/InputNavigationSchema.js +77 -0
  59. package/dist/config/validators/InputNavigationSchema.js.map +1 -0
  60. package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
  61. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
  62. package/dist/config/validators/NavigationSchema.d.ts +44 -0
  63. package/dist/config/validators/NavigationSchema.js +98 -0
  64. package/dist/config/validators/NavigationSchema.js.map +1 -0
  65. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  66. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  67. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  68. package/dist/config/validators/auth.d.ts +2 -2
  69. package/dist/config/validators/auth.js +1 -1
  70. package/dist/config/validators/auth.js.map +1 -1
  71. package/dist/config/validators/icon-types.d.ts +2 -1
  72. package/dist/config/validators/icon-types.js +1852 -1
  73. package/dist/config/validators/icon-types.js.map +1 -1
  74. package/dist/config/validators/validate.d.ts +591 -2739
  75. package/dist/config/validators/validate.js +441 -18
  76. package/dist/config/validators/validate.js.map +1 -1
  77. package/dist/config/validators/validate.test.d.ts +1 -0
  78. package/dist/config/validators/validate.test.js +140 -0
  79. package/dist/config/validators/validate.test.js.map +1 -0
  80. package/dist/flat-config.d.ts +331 -0
  81. package/dist/index.d.ts +9 -5
  82. package/dist/index.js +4 -0
  83. package/dist/index.js.map +1 -1
  84. package/dist/lib/MissingIcon.d.ts +1 -1
  85. package/dist/lib/MissingIcon.js.map +1 -1
  86. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  87. package/dist/lib/assets/language-icons/csharp.js +4 -0
  88. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  89. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  90. package/dist/lib/assets/language-icons/css.js +4 -0
  91. package/dist/lib/assets/language-icons/css.js.map +1 -0
  92. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  93. package/dist/lib/assets/language-icons/go.js +4 -0
  94. package/dist/lib/assets/language-icons/go.js.map +1 -0
  95. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  96. package/dist/lib/assets/language-icons/graphql.js +4 -0
  97. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  98. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  99. package/dist/lib/assets/language-icons/html.js +4 -0
  100. package/dist/lib/assets/language-icons/html.js.map +1 -0
  101. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  102. package/dist/lib/assets/language-icons/java.js +4 -0
  103. package/dist/lib/assets/language-icons/java.js.map +1 -0
  104. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  105. package/dist/lib/assets/language-icons/javascript.js +4 -0
  106. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  107. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  108. package/dist/lib/assets/language-icons/json.js +4 -0
  109. package/dist/lib/assets/language-icons/json.js.map +1 -0
  110. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  111. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  112. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  113. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  114. package/dist/lib/assets/language-icons/markdown.js +4 -0
  115. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  116. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  117. package/dist/lib/assets/language-icons/mdx.js +4 -0
  118. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  119. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  120. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  121. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  122. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  123. package/dist/lib/assets/language-icons/php.js +4 -0
  124. package/dist/lib/assets/language-icons/php.js.map +1 -0
  125. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  126. package/dist/lib/assets/language-icons/python.js +4 -0
  127. package/dist/lib/assets/language-icons/python.js.map +1 -0
  128. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  129. package/dist/lib/assets/language-icons/react.js +4 -0
  130. package/dist/lib/assets/language-icons/react.js.map +1 -0
  131. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  132. package/dist/lib/assets/language-icons/ruby.js +4 -0
  133. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  134. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  135. package/dist/lib/assets/language-icons/rust.js +4 -0
  136. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  137. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  138. package/dist/lib/assets/language-icons/shell.js +4 -0
  139. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  140. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  141. package/dist/lib/assets/language-icons/swift.js +4 -0
  142. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  143. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  144. package/dist/lib/assets/language-icons/toml.js +4 -0
  145. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  146. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  147. package/dist/lib/assets/language-icons/typescript.js +4 -0
  148. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  149. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  150. package/dist/lib/assets/language-icons/xml.js +4 -0
  151. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  152. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  153. package/dist/lib/assets/language-icons/yaml.js +4 -0
  154. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  155. package/dist/lib/auth/issuer.d.ts +2 -0
  156. package/dist/lib/auth/issuer.js +37 -0
  157. package/dist/lib/auth/issuer.js.map +1 -0
  158. package/dist/lib/auth/issuer.test.d.ts +1 -0
  159. package/dist/lib/auth/issuer.test.js +95 -0
  160. package/dist/lib/auth/issuer.test.js.map +1 -0
  161. package/dist/lib/authentication/AuthenticationPlugin.d.ts +2 -2
  162. package/dist/lib/authentication/AuthenticationPlugin.js +1 -1
  163. package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
  164. package/dist/lib/authentication/authentication.d.ts +4 -6
  165. package/dist/lib/authentication/components/CallbackHandler.js +16 -10
  166. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  167. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  168. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  169. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  170. package/dist/lib/authentication/components/SignIn.d.ts +1 -1
  171. package/dist/lib/authentication/components/SignIn.js +5 -1
  172. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  173. package/dist/lib/authentication/components/SignOut.js +1 -1
  174. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  175. package/dist/lib/authentication/components/SignUp.d.ts +1 -1
  176. package/dist/lib/authentication/components/SignUp.js +4 -1
  177. package/dist/lib/authentication/components/SignUp.js.map +1 -1
  178. package/dist/lib/authentication/errors.d.ts +6 -12
  179. package/dist/lib/authentication/errors.js +2 -1
  180. package/dist/lib/authentication/errors.js.map +1 -1
  181. package/dist/lib/authentication/hook.d.ts +7 -0
  182. package/dist/lib/authentication/hook.js.map +1 -1
  183. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  184. package/dist/lib/authentication/providers/auth0.js +3 -3
  185. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  186. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  187. package/dist/lib/authentication/providers/azureb2c.js +147 -0
  188. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  189. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  190. package/dist/lib/authentication/providers/clerk.js +78 -58
  191. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  192. package/dist/lib/authentication/providers/openid.d.ts +17 -20
  193. package/dist/lib/authentication/providers/openid.js +73 -44
  194. package/dist/lib/authentication/providers/openid.js.map +1 -1
  195. package/dist/lib/authentication/providers/supabase.d.ts +2 -2
  196. package/dist/lib/authentication/providers/supabase.js +6 -14
  197. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  198. package/dist/lib/authentication/state.d.ts +6 -5
  199. package/dist/lib/authentication/state.js +19 -6
  200. package/dist/lib/authentication/state.js.map +1 -1
  201. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  202. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  203. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  204. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  205. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  206. package/dist/lib/components/Autocomplete.js +3 -3
  207. package/dist/lib/components/Autocomplete.js.map +1 -1
  208. package/dist/lib/components/Banner.js +2 -2
  209. package/dist/lib/components/Banner.js.map +1 -1
  210. package/dist/lib/components/Bootstrap.js.map +1 -1
  211. package/dist/lib/components/BuildCheck.d.ts +2 -1
  212. package/dist/lib/components/BuildCheck.js +29 -6
  213. package/dist/lib/components/BuildCheck.js.map +1 -1
  214. package/dist/lib/components/CategoryHeading.js +1 -1
  215. package/dist/lib/components/CategoryHeading.js.map +1 -1
  216. package/dist/lib/components/ErrorPage.js +2 -2
  217. package/dist/lib/components/ErrorPage.js.map +1 -1
  218. package/dist/lib/components/Footer.js +6 -6
  219. package/dist/lib/components/Footer.js.map +1 -1
  220. package/dist/lib/components/Framed.d.ts +7 -0
  221. package/dist/lib/components/Framed.js +26 -0
  222. package/dist/lib/components/Framed.js.map +1 -0
  223. package/dist/lib/components/Header.js +25 -18
  224. package/dist/lib/components/Header.js.map +1 -1
  225. package/dist/lib/components/Heading.d.ts +8 -4
  226. package/dist/lib/components/Heading.js +8 -3
  227. package/dist/lib/components/Heading.js.map +1 -1
  228. package/dist/lib/components/InlineCode.js +1 -1
  229. package/dist/lib/components/InlineCode.js.map +1 -1
  230. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  231. package/dist/lib/components/LanguageIcon.js +118 -0
  232. package/dist/lib/components/LanguageIcon.js.map +1 -0
  233. package/dist/lib/components/Layout.js +5 -8
  234. package/dist/lib/components/Layout.js.map +1 -1
  235. package/dist/lib/components/Main.js +7 -6
  236. package/dist/lib/components/Main.js.map +1 -1
  237. package/dist/lib/components/Markdown.d.ts +3 -2
  238. package/dist/lib/components/Markdown.js +14 -16
  239. package/dist/lib/components/Markdown.js.map +1 -1
  240. package/dist/lib/components/Meta.d.ts +2 -0
  241. package/dist/lib/components/Meta.js +11 -0
  242. package/dist/lib/components/Meta.js.map +1 -0
  243. package/dist/lib/components/MobileTopNavigation.js +13 -6
  244. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  245. package/dist/lib/components/NotFoundPage.js +2 -2
  246. package/dist/lib/components/NotFoundPage.js.map +1 -1
  247. package/dist/lib/components/PageProgress.d.ts +1 -0
  248. package/dist/lib/components/PageProgress.js +20 -0
  249. package/dist/lib/components/PageProgress.js.map +1 -0
  250. package/dist/lib/components/Pagination.js +2 -2
  251. package/dist/lib/components/Pagination.js.map +1 -1
  252. package/dist/lib/components/PathRenderer.js +1 -1
  253. package/dist/lib/components/PathRenderer.js.map +1 -1
  254. package/dist/lib/components/Search.js +3 -3
  255. package/dist/lib/components/Search.js.map +1 -1
  256. package/dist/lib/components/Slot.d.ts +17 -0
  257. package/dist/lib/components/Slot.js +24 -0
  258. package/dist/lib/components/Slot.js.map +1 -0
  259. package/dist/lib/components/Slot.test.d.ts +1 -0
  260. package/dist/lib/components/Slot.test.js +172 -0
  261. package/dist/lib/components/Slot.test.js.map +1 -0
  262. package/dist/lib/components/StatusPage.js +4 -0
  263. package/dist/lib/components/StatusPage.js.map +1 -1
  264. package/dist/lib/components/TopNavigation.d.ts +7 -6
  265. package/dist/lib/components/TopNavigation.js +53 -55
  266. package/dist/lib/components/TopNavigation.js.map +1 -1
  267. package/dist/lib/components/Typography.d.ts +5 -0
  268. package/dist/lib/components/Typography.js +8 -0
  269. package/dist/lib/components/Typography.js.map +1 -0
  270. package/dist/lib/components/Zudoku.js +4 -4
  271. package/dist/lib/components/Zudoku.js.map +1 -1
  272. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  273. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
  274. package/dist/lib/components/context/SlotProvider.d.ts +26 -0
  275. package/dist/lib/components/context/SlotProvider.js +83 -0
  276. package/dist/lib/components/context/SlotProvider.js.map +1 -0
  277. package/dist/lib/components/context/ViewportAnchorContext.js +9 -10
  278. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  279. package/dist/lib/components/context/ZudokuContext.d.ts +3 -7
  280. package/dist/lib/components/context/ZudokuContext.js +57 -32
  281. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  282. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  283. package/dist/lib/components/context/ZudokuProvider.js +2 -1
  284. package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
  285. package/dist/lib/components/index.d.ts +51 -50
  286. package/dist/lib/components/index.js +17 -22
  287. package/dist/lib/components/index.js.map +1 -1
  288. package/dist/lib/components/navigation/Navigation.d.ts +5 -0
  289. package/dist/lib/components/navigation/Navigation.js +12 -0
  290. package/dist/lib/components/navigation/Navigation.js.map +1 -0
  291. package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
  292. package/dist/lib/components/navigation/NavigationBadge.js +26 -0
  293. package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
  294. package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
  295. package/dist/lib/components/navigation/NavigationCategory.js +66 -0
  296. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
  297. package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
  298. package/dist/lib/components/navigation/NavigationItem.js +55 -0
  299. package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
  300. package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
  301. package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
  302. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
  303. package/dist/lib/components/navigation/PoweredByZudoku.js +1 -1
  304. package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -1
  305. package/dist/lib/components/navigation/Toc.js +2 -2
  306. package/dist/lib/components/navigation/Toc.js.map +1 -1
  307. package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
  308. package/dist/lib/components/navigation/utils.d.ts +16 -8
  309. package/dist/lib/components/navigation/utils.js +58 -27
  310. package/dist/lib/components/navigation/utils.js.map +1 -1
  311. package/dist/lib/core/RouteGuard.js +9 -9
  312. package/dist/lib/core/RouteGuard.js.map +1 -1
  313. package/dist/lib/core/ZudokuContext.d.ts +37 -21
  314. package/dist/lib/core/ZudokuContext.js +49 -14
  315. package/dist/lib/core/ZudokuContext.js.map +1 -1
  316. package/dist/lib/core/__internal.d.ts +37 -0
  317. package/dist/lib/core/__internal.js +26 -0
  318. package/dist/lib/core/__internal.js.map +1 -0
  319. package/dist/lib/core/plugins.d.ts +8 -4
  320. package/dist/lib/core/plugins.js +1 -0
  321. package/dist/lib/core/plugins.js.map +1 -1
  322. package/dist/lib/core/router.d.ts +1 -0
  323. package/dist/lib/core/router.js +2 -0
  324. package/dist/lib/core/router.js.map +1 -0
  325. package/dist/lib/errors/ErrorAlert.js +2 -4
  326. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  327. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  328. package/dist/lib/errors/TopLevelError.js +1 -2
  329. package/dist/lib/errors/TopLevelError.js.map +1 -1
  330. package/dist/lib/hooks/index.d.ts +25 -0
  331. package/dist/lib/hooks/index.js +11 -0
  332. package/dist/lib/hooks/index.js.map +1 -1
  333. package/dist/lib/hooks/useEvent.test.js +5 -3
  334. package/dist/lib/hooks/useEvent.test.js.map +1 -1
  335. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  336. package/dist/lib/hooks/useHotkey.js +58 -0
  337. package/dist/lib/hooks/useHotkey.js.map +1 -0
  338. package/dist/lib/oas/graphql/circular.js +24 -19
  339. package/dist/lib/oas/graphql/circular.js.map +1 -1
  340. package/dist/lib/oas/graphql/index.js +22 -3
  341. package/dist/lib/oas/graphql/index.js.map +1 -1
  342. package/dist/lib/oas/parser/dereference/index.js +2 -1
  343. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  344. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  345. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  346. package/dist/lib/oas/parser/index.d.ts +3 -0
  347. package/dist/lib/oas/parser/index.js +8 -2
  348. package/dist/lib/oas/parser/index.js.map +1 -1
  349. package/dist/lib/oas/parser/upgrade/index.d.ts +1 -0
  350. package/dist/lib/oas/parser/upgrade/index.js +79 -26
  351. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  352. package/dist/lib/plugins/api-catalog/Catalog.d.ts +1 -1
  353. package/dist/lib/plugins/api-catalog/Catalog.js +8 -2
  354. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  355. package/dist/lib/plugins/api-catalog/index.d.ts +6 -6
  356. package/dist/lib/plugins/api-catalog/index.js +10 -10
  357. package/dist/lib/plugins/api-catalog/index.js.map +1 -1
  358. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
  359. package/dist/lib/plugins/api-keys/CreateApiKey.js +18 -4
  360. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  361. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  362. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  363. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  364. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  365. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +146 -27
  366. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  367. package/dist/lib/plugins/api-keys/index.d.ts +29 -15
  368. package/dist/lib/plugins/api-keys/index.js +63 -33
  369. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  370. package/dist/lib/plugins/custom-pages/index.d.ts +4 -6
  371. package/dist/lib/plugins/custom-pages/index.js +18 -10
  372. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  373. package/dist/lib/plugins/markdown/MdxPage.d.ts +2 -3
  374. package/dist/lib/plugins/markdown/MdxPage.js +31 -11
  375. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  376. package/dist/lib/plugins/markdown/index.d.ts +12 -4
  377. package/dist/lib/plugins/markdown/index.js +9 -26
  378. package/dist/lib/plugins/markdown/index.js.map +1 -1
  379. package/dist/lib/plugins/openapi/CollapsibleCode.js +1 -1
  380. package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
  381. package/dist/lib/plugins/openapi/ColorizedParam.js +5 -2
  382. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  383. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  384. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  385. package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
  386. package/dist/lib/plugins/openapi/MCPEndpoint.js +65 -0
  387. package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
  388. package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
  389. package/dist/lib/plugins/openapi/OasProvider.js +1 -0
  390. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  391. package/dist/lib/plugins/openapi/OperationList.d.ts +1 -3
  392. package/dist/lib/plugins/openapi/OperationList.js +29 -12
  393. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  394. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  395. package/dist/lib/plugins/openapi/OperationListItem.js +11 -6
  396. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  397. package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
  398. package/dist/lib/plugins/openapi/ParamInfos.js +15 -10
  399. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  400. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
  401. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  402. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  403. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  404. package/dist/lib/plugins/openapi/ParameterListItem.js +9 -2
  405. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  406. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
  407. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +8 -4
  408. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  409. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +2 -2
  410. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  411. package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
  412. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +1 -4
  413. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  414. package/dist/lib/plugins/openapi/SchemaList.js +7 -7
  415. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  416. package/dist/lib/plugins/openapi/Sidecar.d.ts +2 -2
  417. package/dist/lib/plugins/openapi/Sidecar.js +14 -62
  418. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  419. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +2 -4
  420. package/dist/lib/plugins/openapi/SidecarExamples.js +9 -1
  421. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  422. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  423. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  424. package/dist/lib/plugins/openapi/client/createServer.js +1 -2
  425. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  426. package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
  427. package/dist/lib/plugins/openapi/client/useCreateQuery.js +10 -4
  428. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  429. package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
  430. package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
  431. package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
  432. package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
  433. package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
  434. package/dist/lib/plugins/openapi/components/ResponseContent.d.ts +12 -0
  435. package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -0
  436. package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
  437. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  438. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  439. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  440. package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
  441. package/dist/lib/plugins/openapi/graphql/gql.js +2 -3
  442. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  443. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +7 -3
  444. package/dist/lib/plugins/openapi/graphql/graphql.js +6 -2
  445. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  446. package/dist/lib/plugins/openapi/index.d.ts +5 -6
  447. package/dist/lib/plugins/openapi/index.js +56 -21
  448. package/dist/lib/plugins/openapi/index.js.map +1 -1
  449. package/dist/lib/plugins/openapi/interfaces.d.ts +8 -7
  450. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
  451. package/dist/lib/plugins/openapi/playground/BodyPanel.js +26 -0
  452. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
  453. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  454. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  455. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  456. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
  457. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +2 -1
  458. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  459. package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
  460. package/dist/lib/plugins/openapi/playground/Headers.js +54 -32
  461. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  462. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
  463. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +2 -1
  464. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -1
  465. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
  466. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -4
  467. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -1
  468. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  469. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  470. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -2
  471. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
  472. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -2
  473. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  474. package/dist/lib/plugins/openapi/playground/Playground.d.ts +5 -10
  475. package/dist/lib/plugins/openapi/playground/Playground.js +116 -94
  476. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  477. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  478. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  479. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
  480. package/dist/lib/plugins/openapi/playground/QueryParams.js +38 -23
  481. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  482. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  483. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  484. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  485. package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
  486. package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
  487. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
  488. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  489. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  490. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  491. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  492. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  493. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  494. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  495. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  496. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  497. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
  498. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
  499. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  500. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +10 -4
  501. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +33 -31
  502. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
  503. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +6 -4
  504. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +8 -10
  505. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
  506. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
  507. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
  508. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
  509. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +16 -0
  510. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +10 -0
  511. package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
  512. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
  513. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
  514. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
  515. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
  516. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
  517. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
  518. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  519. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  520. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  521. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.d.ts +4 -0
  522. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  523. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  524. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +5 -0
  525. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  526. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  527. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +5 -2
  528. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
  529. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
  530. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +19 -25
  531. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  532. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +3 -1
  533. package/dist/lib/plugins/openapi/schema/SchemaView.js +25 -17
  534. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  535. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
  536. package/dist/lib/plugins/openapi/schema/UnionView.js +36 -0
  537. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  538. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  539. package/dist/lib/plugins/openapi/schema/union-helpers.js +72 -0
  540. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  541. package/dist/lib/plugins/openapi/schema/utils.d.ts +6 -8
  542. package/dist/lib/plugins/openapi/schema/utils.js +15 -13
  543. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  544. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
  545. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
  546. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
  547. package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
  548. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
  549. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
  550. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -2
  551. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +45 -2
  552. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  553. package/dist/lib/plugins/openapi/util/getRoutes.js +52 -15
  554. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  555. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  556. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  557. package/dist/lib/plugins/search-inkeep/index.d.ts +5 -22
  558. package/dist/lib/plugins/search-inkeep/index.js +35 -29
  559. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  560. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +5 -21
  561. package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
  562. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  563. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +2 -2
  564. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  565. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +2 -2
  566. package/dist/lib/plugins/search-pagefind/ResultList.js +15 -5
  567. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  568. package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
  569. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  570. package/dist/lib/shiki.d.ts +32 -0
  571. package/dist/lib/shiki.js +104 -0
  572. package/dist/lib/shiki.js.map +1 -0
  573. package/dist/lib/ui/ActionButton.js +1 -1
  574. package/dist/lib/ui/ActionButton.js.map +1 -1
  575. package/dist/lib/ui/Alert.d.ts +6 -5
  576. package/dist/lib/ui/Alert.js +12 -10
  577. package/dist/lib/ui/Alert.js.map +1 -1
  578. package/dist/lib/ui/Badge.d.ts +2 -2
  579. package/dist/lib/ui/Badge.js +1 -1
  580. package/dist/lib/ui/Badge.js.map +1 -1
  581. package/dist/lib/ui/Breadcrumb.js +1 -1
  582. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  583. package/dist/lib/ui/Button.d.ts +2 -2
  584. package/dist/lib/ui/Button.js +8 -6
  585. package/dist/lib/ui/Button.js.map +1 -1
  586. package/dist/lib/ui/Callout.js +1 -1
  587. package/dist/lib/ui/Callout.js.map +1 -1
  588. package/dist/lib/ui/Card.js +1 -1
  589. package/dist/lib/ui/Carousel.js.map +1 -1
  590. package/dist/lib/ui/Checkbox.js +1 -1
  591. package/dist/lib/ui/Checkbox.js.map +1 -1
  592. package/dist/lib/ui/CodeBlock.d.ts +15 -0
  593. package/dist/lib/ui/CodeBlock.js +18 -0
  594. package/dist/lib/ui/CodeBlock.js.map +1 -0
  595. package/dist/lib/ui/Command.d.ts +2 -2
  596. package/dist/lib/ui/Command.js +3 -7
  597. package/dist/lib/ui/Command.js.map +1 -1
  598. package/dist/lib/ui/Dialog.d.ts +3 -1
  599. package/dist/lib/ui/Dialog.js +2 -2
  600. package/dist/lib/ui/Dialog.js.map +1 -1
  601. package/dist/lib/ui/DropdownMenu.js +4 -4
  602. package/dist/lib/ui/DropdownMenu.js.map +1 -1
  603. package/dist/lib/ui/EmbeddedCodeBlock.d.ts +15 -0
  604. package/dist/lib/ui/EmbeddedCodeBlock.js +18 -0
  605. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  606. package/dist/lib/ui/Form.d.ts +2 -2
  607. package/dist/lib/ui/HoverCard.js +1 -1
  608. package/dist/lib/ui/HoverCard.js.map +1 -1
  609. package/dist/lib/ui/Input.js +1 -1
  610. package/dist/lib/ui/Input.js.map +1 -1
  611. package/dist/lib/ui/Pagination.d.ts +1 -1
  612. package/dist/lib/ui/Pagination.js +1 -1
  613. package/dist/lib/ui/Pagination.js.map +1 -1
  614. package/dist/lib/ui/Popover.js +1 -1
  615. package/dist/lib/ui/Popover.js.map +1 -1
  616. package/dist/lib/ui/RadioGroup.js +1 -1
  617. package/dist/lib/ui/RadioGroup.js.map +1 -1
  618. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  619. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  620. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  621. package/dist/lib/ui/Secret.d.ts +12 -0
  622. package/dist/lib/ui/Secret.js +23 -0
  623. package/dist/lib/ui/Secret.js.map +1 -0
  624. package/dist/lib/ui/Select.js +2 -2
  625. package/dist/lib/ui/Select.js.map +1 -1
  626. package/dist/lib/ui/Slider.js +1 -1
  627. package/dist/lib/ui/Slider.js.map +1 -1
  628. package/dist/lib/ui/Switch.js +1 -1
  629. package/dist/lib/ui/Switch.js.map +1 -1
  630. package/dist/lib/ui/SyntaxHighlight.d.ts +12 -15
  631. package/dist/lib/ui/SyntaxHighlight.js +13 -60
  632. package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
  633. package/dist/lib/ui/Tabs.js +2 -2
  634. package/dist/lib/ui/Tabs.js.map +1 -1
  635. package/dist/lib/ui/Textarea.js +1 -1
  636. package/dist/lib/ui/Textarea.js.map +1 -1
  637. package/dist/lib/ui/Toggle.js +1 -1
  638. package/dist/lib/ui/Toggle.js.map +1 -1
  639. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  640. package/dist/lib/ui/Tooltip.d.ts +2 -1
  641. package/dist/lib/ui/Tooltip.js +2 -1
  642. package/dist/lib/ui/Tooltip.js.map +1 -1
  643. package/dist/lib/ui/Value.d.ts +5 -0
  644. package/dist/lib/ui/Value.js +13 -0
  645. package/dist/lib/ui/Value.js.map +1 -0
  646. package/dist/lib/util/MdxComponents.d.ts +18 -4
  647. package/dist/lib/util/MdxComponents.js +15 -12
  648. package/dist/lib/util/MdxComponents.js.map +1 -1
  649. package/dist/lib/util/cn.js.map +1 -1
  650. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  651. package/dist/lib/util/createVariantComponent.js.map +1 -1
  652. package/dist/lib/util/ensureArray.d.ts +1 -0
  653. package/dist/lib/util/ensureArray.js +2 -0
  654. package/dist/lib/util/ensureArray.js.map +1 -0
  655. package/dist/lib/util/groupBy.js +1 -0
  656. package/dist/lib/util/groupBy.js.map +1 -1
  657. package/dist/lib/util/humanFileSize.d.ts +6 -0
  658. package/dist/lib/util/humanFileSize.js +14 -0
  659. package/dist/lib/util/humanFileSize.js.map +1 -0
  660. package/dist/lib/util/humanFileSize.test.d.ts +1 -0
  661. package/dist/lib/util/humanFileSize.test.js +22 -0
  662. package/dist/lib/util/humanFileSize.test.js.map +1 -0
  663. package/dist/lib/util/invariant.d.ts +6 -5
  664. package/dist/lib/util/invariant.js +4 -2
  665. package/dist/lib/util/invariant.js.map +1 -1
  666. package/dist/lib/util/os.d.ts +2 -0
  667. package/dist/lib/util/os.js +21 -0
  668. package/dist/lib/util/os.js.map +1 -0
  669. package/dist/lib/util/pastellize.js +2 -2
  670. package/dist/lib/util/pastellize.js.map +1 -1
  671. package/dist/lib/util/traverse.d.ts +2 -1
  672. package/dist/lib/util/traverse.js +31 -5
  673. package/dist/lib/util/traverse.js.map +1 -1
  674. package/dist/lib/util/url.d.ts +4 -0
  675. package/dist/lib/util/url.js +13 -0
  676. package/dist/lib/util/url.js.map +1 -0
  677. package/dist/lib/util/url.test.d.ts +1 -0
  678. package/dist/lib/util/url.test.js +26 -0
  679. package/dist/lib/util/url.test.js.map +1 -0
  680. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  681. package/dist/lib/util/useCopyToClipboard.js +11 -0
  682. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  683. package/dist/lib/util/useExposedProps.d.ts +8 -1
  684. package/dist/lib/util/useExposedProps.js.map +1 -1
  685. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  686. package/dist/lib/util/useScrollToAnchor.js +5 -3
  687. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  688. package/dist/ts.js +3 -3
  689. package/dist/ts.js.map +1 -1
  690. package/dist/vite/api/SchemaManager.d.ts +36 -0
  691. package/dist/vite/api/SchemaManager.js +145 -0
  692. package/dist/vite/api/SchemaManager.js.map +1 -0
  693. package/dist/vite/api/SchemaManager.test.d.ts +1 -0
  694. package/dist/vite/api/SchemaManager.test.js +106 -0
  695. package/dist/vite/api/SchemaManager.test.js.map +1 -0
  696. package/dist/vite/api/schema-codegen.js +71 -22
  697. package/dist/vite/api/schema-codegen.js.map +1 -1
  698. package/dist/vite/api/schema-codegen.test.js +156 -1
  699. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  700. package/dist/vite/build.js +22 -7
  701. package/dist/vite/build.js.map +1 -1
  702. package/dist/vite/config.d.ts +2 -9
  703. package/dist/vite/config.js +59 -99
  704. package/dist/vite/config.js.map +1 -1
  705. package/dist/vite/config.test.js +1 -1
  706. package/dist/vite/config.test.js.map +1 -1
  707. package/dist/vite/css/plugin.d.ts +1 -2
  708. package/dist/vite/css/plugin.js +14 -2
  709. package/dist/vite/css/plugin.js.map +1 -1
  710. package/dist/vite/dev-server.d.ts +0 -1
  711. package/dist/vite/dev-server.js +25 -16
  712. package/dist/vite/dev-server.js.map +1 -1
  713. package/dist/vite/error-handler.d.ts +2 -2
  714. package/dist/vite/error-handler.js.map +1 -1
  715. package/dist/vite/html.d.ts +7 -3
  716. package/dist/vite/html.js +15 -9
  717. package/dist/vite/html.js.map +1 -1
  718. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  719. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  720. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  721. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  722. package/dist/vite/mdx/remark-last-modified.js +28 -0
  723. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  724. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  725. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  726. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  727. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  728. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  729. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  730. package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
  731. package/dist/vite/mdx/remark-static-generation.js +125 -0
  732. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  733. package/dist/vite/mdx/utils.d.ts +2 -0
  734. package/dist/vite/mdx/utils.js +31 -0
  735. package/dist/vite/mdx/utils.js.map +1 -0
  736. package/dist/vite/output.d.ts +1 -1
  737. package/dist/vite/output.js +1 -1
  738. package/dist/vite/output.js.map +1 -1
  739. package/dist/vite/plugin-api-keys.d.ts +2 -3
  740. package/dist/vite/plugin-api-keys.js +10 -4
  741. package/dist/vite/plugin-api-keys.js.map +1 -1
  742. package/dist/vite/plugin-api.d.ts +1 -2
  743. package/dist/vite/plugin-api.js +47 -124
  744. package/dist/vite/plugin-api.js.map +1 -1
  745. package/dist/vite/plugin-auth.d.ts +2 -3
  746. package/dist/vite/plugin-auth.js +4 -3
  747. package/dist/vite/plugin-auth.js.map +1 -1
  748. package/dist/vite/plugin-component.d.ts +2 -3
  749. package/dist/vite/plugin-component.js +3 -2
  750. package/dist/vite/plugin-component.js.map +1 -1
  751. package/dist/vite/plugin-config-reload.d.ts +2 -3
  752. package/dist/vite/plugin-config-reload.js +23 -22
  753. package/dist/vite/plugin-config-reload.js.map +1 -1
  754. package/dist/vite/plugin-config.d.ts +2 -3
  755. package/dist/vite/plugin-config.js +6 -4
  756. package/dist/vite/plugin-config.js.map +1 -1
  757. package/dist/vite/plugin-custom-pages.d.ts +2 -3
  758. package/dist/vite/plugin-custom-pages.js +6 -5
  759. package/dist/vite/plugin-custom-pages.js.map +1 -1
  760. package/dist/vite/plugin-docs.d.ts +1 -2
  761. package/dist/vite/plugin-docs.js +75 -63
  762. package/dist/vite/plugin-docs.js.map +1 -1
  763. package/dist/vite/plugin-frontmatter.d.ts +1 -2
  764. package/dist/vite/plugin-frontmatter.js +10 -5
  765. package/dist/vite/plugin-frontmatter.js.map +1 -1
  766. package/dist/vite/plugin-mdx.d.ts +2 -3
  767. package/dist/vite/plugin-mdx.js +32 -76
  768. package/dist/vite/plugin-mdx.js.map +1 -1
  769. package/dist/vite/plugin-metadata.d.ts +1 -1
  770. package/dist/vite/plugin-navigation.d.ts +4 -0
  771. package/dist/vite/plugin-navigation.js +63 -0
  772. package/dist/vite/plugin-navigation.js.map +1 -0
  773. package/dist/vite/plugin-redirect.d.ts +2 -3
  774. package/dist/vite/plugin-redirect.js +4 -3
  775. package/dist/vite/plugin-redirect.js.map +1 -1
  776. package/dist/vite/plugin-search.d.ts +2 -3
  777. package/dist/vite/plugin-search.js +4 -3
  778. package/dist/vite/plugin-search.js.map +1 -1
  779. package/dist/vite/plugin-shiki-register.d.ts +2 -0
  780. package/dist/vite/plugin-shiki-register.js +39 -0
  781. package/dist/vite/plugin-shiki-register.js.map +1 -0
  782. package/dist/vite/plugin-theme.d.ts +8 -0
  783. package/dist/vite/plugin-theme.js +274 -0
  784. package/dist/vite/plugin-theme.js.map +1 -0
  785. package/dist/vite/plugin-theme.test.d.ts +1 -0
  786. package/dist/vite/plugin-theme.test.js +314 -0
  787. package/dist/vite/plugin-theme.test.js.map +1 -0
  788. package/dist/vite/plugin.d.ts +2 -3
  789. package/dist/vite/plugin.js +24 -23
  790. package/dist/vite/plugin.js.map +1 -1
  791. package/dist/vite/prerender/FileWritingResponse.js +5 -3
  792. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  793. package/dist/vite/prerender/InMemoryResponse.js +3 -1
  794. package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
  795. package/dist/vite/prerender/prerender.js +1 -1
  796. package/dist/vite/prerender/prerender.js.map +1 -1
  797. package/dist/vite/prerender/worker.d.ts +1 -1
  798. package/dist/vite/prerender/worker.js +5 -1
  799. package/dist/vite/prerender/worker.js.map +1 -1
  800. package/dist/vite/reporter.js +2 -2
  801. package/dist/vite/reporter.js.map +1 -1
  802. package/dist/vite/shadcn-registry.d.ts +20 -0
  803. package/dist/vite/shadcn-registry.js +29 -0
  804. package/dist/vite/shadcn-registry.js.map +1 -0
  805. package/dist/vite/sitemap.d.ts +1 -1
  806. package/dist/vite/sitemap.js +14 -13
  807. package/dist/vite/sitemap.js.map +1 -1
  808. package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
  809. package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
  810. package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
  811. package/dist/zuplo/enrich-with-zuplo.d.ts +1 -0
  812. package/dist/zuplo/enrich-with-zuplo.js +4 -4
  813. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  814. package/dist/zuplo/policy-types.js +0 -1
  815. package/dist/zuplo/policy-types.js.map +1 -1
  816. package/dist/zuplo/with-zuplo-processors.js +3 -1
  817. package/dist/zuplo/with-zuplo-processors.js.map +1 -1
  818. package/dist/zuplo/with-zuplo.d.ts +2 -2
  819. package/dist/zuplo/with-zuplo.js +1 -1
  820. package/dist/zuplo/with-zuplo.js.map +1 -1
  821. package/lib/Button-DTDRi4CT.js +51 -0
  822. package/lib/Button-DTDRi4CT.js.map +1 -0
  823. package/lib/Card-hTy9PAnh.js +61 -0
  824. package/lib/Card-hTy9PAnh.js.map +1 -0
  825. package/lib/CategoryHeading-BGCNu3VK.js +17 -0
  826. package/lib/CategoryHeading-BGCNu3VK.js.map +1 -0
  827. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  828. package/lib/CodeBlock-i0BM_QFf.js +176 -0
  829. package/lib/CodeBlock-i0BM_QFf.js.map +1 -0
  830. package/lib/Command-TEBTONf1.js +134 -0
  831. package/lib/Command-TEBTONf1.js.map +1 -0
  832. package/lib/Dialog-VIMic7xI.js +114 -0
  833. package/lib/Dialog-VIMic7xI.js.map +1 -0
  834. package/lib/Drawer-DM9wJUC6.js +1133 -0
  835. package/lib/Drawer-DM9wJUC6.js.map +1 -0
  836. package/lib/ErrorAlert-Diu_w5Po.js +15522 -0
  837. package/lib/ErrorAlert-Diu_w5Po.js.map +1 -0
  838. package/lib/MdxPage-CDs_vtjC.js +111 -0
  839. package/lib/MdxPage-CDs_vtjC.js.map +1 -0
  840. package/lib/OAuthErrorPage-BbI9XJWR.js +150 -0
  841. package/lib/OAuthErrorPage-BbI9XJWR.js.map +1 -0
  842. package/lib/OasProvider-D3Cjaaxr.js +36 -0
  843. package/lib/OasProvider-D3Cjaaxr.js.map +1 -0
  844. package/lib/OperationList-BH4cFU-0.js +5454 -0
  845. package/lib/OperationList-BH4cFU-0.js.map +1 -0
  846. package/lib/Pagination-BKphudjx.js +37 -0
  847. package/lib/Pagination-BKphudjx.js.map +1 -0
  848. package/lib/RouteGuard-nFlgfJqk.js +56 -0
  849. package/lib/RouteGuard-nFlgfJqk.js.map +1 -0
  850. package/lib/RouterError-CnS5hYUh.js +41 -0
  851. package/lib/RouterError-CnS5hYUh.js.map +1 -0
  852. package/lib/SchemaList-BcJyi2sR.js +150 -0
  853. package/lib/SchemaList-BcJyi2sR.js.map +1 -0
  854. package/lib/SchemaView-DnTxmN15.js +458 -0
  855. package/lib/SchemaView-DnTxmN15.js.map +1 -0
  856. package/lib/Select-BPQp7Yqx.js +273 -0
  857. package/lib/Select-BPQp7Yqx.js.map +1 -0
  858. package/lib/SignUp-tBtnwuXL.js +56 -0
  859. package/lib/SignUp-tBtnwuXL.js.map +1 -0
  860. package/lib/Spinner-Cf6E803I.js +7 -0
  861. package/lib/Spinner-Cf6E803I.js.map +1 -0
  862. package/lib/SyntaxHighlight-Cqh6cwC3.js +10307 -0
  863. package/lib/SyntaxHighlight-Cqh6cwC3.js.map +1 -0
  864. package/lib/Toc-Zzozy3eB.js +92 -0
  865. package/lib/Toc-Zzozy3eB.js.map +1 -0
  866. package/lib/ZudokuContext-3cqbu21w.js +1285 -0
  867. package/lib/ZudokuContext-3cqbu21w.js.map +1 -0
  868. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  869. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  870. package/lib/circular-CokAagii.js +14934 -0
  871. package/lib/circular-CokAagii.js.map +1 -0
  872. package/lib/clsx-OuTLNxxd.js +17 -0
  873. package/lib/clsx-OuTLNxxd.js.map +1 -0
  874. package/lib/cn-dYga0KKN.js +2731 -0
  875. package/lib/cn-dYga0KKN.js.map +1 -0
  876. package/lib/createServer-DW4hIUUB.js +12499 -0
  877. package/lib/createServer-DW4hIUUB.js.map +1 -0
  878. package/lib/csharp-rrJEDRrV.js +53 -0
  879. package/lib/csharp-rrJEDRrV.js.map +1 -0
  880. package/lib/css-Dpk9bCql.js +54 -0
  881. package/lib/css-Dpk9bCql.js.map +1 -0
  882. package/lib/errors-CQLQ5016.js +45 -0
  883. package/lib/errors-CQLQ5016.js.map +1 -0
  884. package/lib/go-D8SJIQ0Z.js +25 -0
  885. package/lib/go-D8SJIQ0Z.js.map +1 -0
  886. package/lib/graphql-aeVKJNa2.js +25 -0
  887. package/lib/graphql-aeVKJNa2.js.map +1 -0
  888. package/lib/hook-ChlxzJwv.js +247 -0
  889. package/lib/hook-ChlxzJwv.js.map +1 -0
  890. package/lib/html-D_7om-nA.js +33 -0
  891. package/lib/html-D_7om-nA.js.map +1 -0
  892. package/lib/index-7FEjMkZ_.js +1058 -0
  893. package/lib/index-7FEjMkZ_.js.map +1 -0
  894. package/lib/index-CF3Ls1wd.js +2094 -0
  895. package/lib/index-CF3Ls1wd.js.map +1 -0
  896. package/lib/index-CrcNWbel.js +316 -0
  897. package/lib/index-CrcNWbel.js.map +1 -0
  898. package/lib/index-DI5SPFK9.js +36 -0
  899. package/lib/index-DI5SPFK9.js.map +1 -0
  900. package/lib/index-QwGs6inR.js +3397 -0
  901. package/lib/index-QwGs6inR.js.map +1 -0
  902. package/lib/index-nGbmHh_A.js +4827 -0
  903. package/lib/index-nGbmHh_A.js.map +1 -0
  904. package/lib/index.esm-BnYHxCYC.js +683 -0
  905. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  906. package/lib/index.esm-CdzlRw50.js +1254 -0
  907. package/lib/index.esm-CdzlRw50.js.map +1 -0
  908. package/lib/invariant-Bm-FVUQE.js +44 -0
  909. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  910. package/lib/java-DUh-EL8n.js +53 -0
  911. package/lib/java-DUh-EL8n.js.map +1 -0
  912. package/lib/javascript-CrY8dcGu.js +10 -0
  913. package/lib/javascript-CrY8dcGu.js.map +1 -0
  914. package/lib/json-DLK2_sdf.js +25 -0
  915. package/lib/json-DLK2_sdf.js.map +1 -0
  916. package/lib/jsx-runtime-DywqP_6a.js +285 -0
  917. package/lib/jsx-runtime-DywqP_6a.js.map +1 -0
  918. package/lib/kotlin-rJMOGl7D.js +37 -0
  919. package/lib/kotlin-rJMOGl7D.js.map +1 -0
  920. package/lib/markdown-BD9bIU5J.js +25 -0
  921. package/lib/markdown-BD9bIU5J.js.map +1 -0
  922. package/lib/mdx-G25UCvf3.js +32 -0
  923. package/lib/mdx-G25UCvf3.js.map +1 -0
  924. package/lib/mutation-DvBlWyBr.js +196 -0
  925. package/lib/mutation-DvBlWyBr.js.map +1 -0
  926. package/lib/objectivec-DDpj0aWX.js +32 -0
  927. package/lib/objectivec-DDpj0aWX.js.map +1 -0
  928. package/lib/php-BeG18bSy.js +25 -0
  929. package/lib/php-BeG18bSy.js.map +1 -0
  930. package/lib/processors/removeExtensions.js.map +1 -1
  931. package/lib/processors/removeParameters.js +27 -28
  932. package/lib/processors/removeParameters.js.map +1 -1
  933. package/lib/processors/removePaths.js +17 -17
  934. package/lib/processors/removePaths.js.map +1 -1
  935. package/lib/processors/traverse.js +9 -7
  936. package/lib/processors/traverse.js.map +1 -1
  937. package/lib/python-BaF2byD-.js +32 -0
  938. package/lib/python-BaF2byD-.js.map +1 -0
  939. package/lib/react-CQvDN20M.js +24 -0
  940. package/lib/react-CQvDN20M.js.map +1 -0
  941. package/lib/ruby-CmxRVHMR.js +25 -0
  942. package/lib/ruby-CmxRVHMR.js.map +1 -0
  943. package/lib/rust-IfSC62c5.js +25 -0
  944. package/lib/rust-IfSC62c5.js.map +1 -0
  945. package/lib/shell-BFu0M6m4.js +25 -0
  946. package/lib/shell-BFu0M6m4.js.map +1 -0
  947. package/lib/swift-DckbsN4v.js +25 -0
  948. package/lib/swift-DckbsN4v.js.map +1 -0
  949. package/lib/toml-BJsCc8TC.js +32 -0
  950. package/lib/toml-BJsCc8TC.js.map +1 -0
  951. package/lib/typescript-7qOVMjOC.js +32 -0
  952. package/lib/typescript-7qOVMjOC.js.map +1 -0
  953. package/lib/ui/Accordion.js +2 -2
  954. package/lib/ui/Accordion.js.map +1 -1
  955. package/lib/ui/ActionButton.js +11 -11
  956. package/lib/ui/ActionButton.js.map +1 -1
  957. package/lib/ui/Alert.js +55 -39
  958. package/lib/ui/Alert.js.map +1 -1
  959. package/lib/ui/AlertDialog.js +2 -2
  960. package/lib/ui/AlertDialog.js.map +1 -1
  961. package/lib/ui/Badge.js +4 -4
  962. package/lib/ui/Badge.js.map +1 -1
  963. package/lib/ui/Breadcrumb.js +24 -23
  964. package/lib/ui/Breadcrumb.js.map +1 -1
  965. package/lib/ui/Button.js +20 -18
  966. package/lib/ui/Button.js.map +1 -1
  967. package/lib/ui/Callout.js +12 -11
  968. package/lib/ui/Callout.js.map +1 -1
  969. package/lib/ui/Card.js +9 -9
  970. package/lib/ui/Card.js.map +1 -1
  971. package/lib/ui/Carousel.js +176 -176
  972. package/lib/ui/Carousel.js.map +1 -1
  973. package/lib/ui/Checkbox.js +8 -8
  974. package/lib/ui/Checkbox.js.map +1 -1
  975. package/lib/ui/CodeBlock.js +10 -0
  976. package/lib/ui/CodeBlock.js.map +1 -0
  977. package/lib/ui/Command.js +67 -73
  978. package/lib/ui/Command.js.map +1 -1
  979. package/lib/ui/Dialog.js +74 -59
  980. package/lib/ui/Dialog.js.map +1 -1
  981. package/lib/ui/Drawer.js +3 -3
  982. package/lib/ui/DropdownMenu.js +35 -35
  983. package/lib/ui/DropdownMenu.js.map +1 -1
  984. package/lib/ui/EmbeddedCodeBlock.js +80 -0
  985. package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
  986. package/lib/ui/Form.js +3 -3
  987. package/lib/ui/Form.js.map +1 -1
  988. package/lib/ui/HoverCard.js +6 -6
  989. package/lib/ui/HoverCard.js.map +1 -1
  990. package/lib/ui/Input.js +3 -3
  991. package/lib/ui/Input.js.map +1 -1
  992. package/lib/ui/Label.js +3 -3
  993. package/lib/ui/Label.js.map +1 -1
  994. package/lib/ui/Pagination.js +29 -30
  995. package/lib/ui/Pagination.js.map +1 -1
  996. package/lib/ui/Popover.js +3 -3
  997. package/lib/ui/Popover.js.map +1 -1
  998. package/lib/ui/Progress.js +2 -2
  999. package/lib/ui/Progress.js.map +1 -1
  1000. package/lib/ui/RadioGroup.js +11 -11
  1001. package/lib/ui/RadioGroup.js.map +1 -1
  1002. package/lib/ui/ReactComponentDoc.js +28 -0
  1003. package/lib/ui/ReactComponentDoc.js.map +1 -0
  1004. package/lib/ui/ScrollArea.js +2 -2
  1005. package/lib/ui/ScrollArea.js.map +1 -1
  1006. package/lib/ui/Secret.js +96 -0
  1007. package/lib/ui/Secret.js.map +1 -0
  1008. package/lib/ui/Select.js +32 -32
  1009. package/lib/ui/Select.js.map +1 -1
  1010. package/lib/ui/Skeleton.js +2 -2
  1011. package/lib/ui/Skeleton.js.map +1 -1
  1012. package/lib/ui/Slider.js +6 -6
  1013. package/lib/ui/Slider.js.map +1 -1
  1014. package/lib/ui/Stepper.js +1 -1
  1015. package/lib/ui/Stepper.js.map +1 -1
  1016. package/lib/ui/Switch.js +6 -6
  1017. package/lib/ui/Switch.js.map +1 -1
  1018. package/lib/ui/SyntaxHighlight.js +6 -6
  1019. package/lib/ui/Tabs.js +17 -17
  1020. package/lib/ui/Tabs.js.map +1 -1
  1021. package/lib/ui/Textarea.js +6 -6
  1022. package/lib/ui/Textarea.js.map +1 -1
  1023. package/lib/ui/Toggle.js +8 -8
  1024. package/lib/ui/Toggle.js.map +1 -1
  1025. package/lib/ui/ToggleGroup.js +2 -2
  1026. package/lib/ui/ToggleGroup.js.map +1 -1
  1027. package/lib/ui/Tooltip.js +15 -8
  1028. package/lib/ui/Tooltip.js.map +1 -1
  1029. package/lib/ui/Value.js +39 -0
  1030. package/lib/ui/Value.js.map +1 -0
  1031. package/lib/ui/util.js +1 -1
  1032. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  1033. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  1034. package/lib/useExposedProps-BH9aq4MD.js +113 -0
  1035. package/lib/useExposedProps-BH9aq4MD.js.map +1 -0
  1036. package/lib/useLatest-hmRS46UF.js.map +1 -1
  1037. package/lib/xml-DAaTIkBX.js +25 -0
  1038. package/lib/xml-DAaTIkBX.js.map +1 -0
  1039. package/lib/yaml-DUi-dbfu.js +32 -0
  1040. package/lib/yaml-DUi-dbfu.js.map +1 -0
  1041. package/lib/zudoku.__internal.js +2981 -0
  1042. package/lib/zudoku.__internal.js.map +1 -0
  1043. package/lib/zudoku.auth-auth0.js +29 -32
  1044. package/lib/zudoku.auth-auth0.js.map +1 -1
  1045. package/lib/zudoku.auth-azureb2c.js +137 -0
  1046. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  1047. package/lib/zudoku.auth-clerk.js +104 -99
  1048. package/lib/zudoku.auth-clerk.js.map +1 -1
  1049. package/lib/zudoku.auth-openid.js +557 -544
  1050. package/lib/zudoku.auth-openid.js.map +1 -1
  1051. package/lib/zudoku.auth-supabase.js +98 -0
  1052. package/lib/zudoku.auth-supabase.js.map +1 -0
  1053. package/lib/zudoku.components.js +22 -28
  1054. package/lib/zudoku.hooks.js +21 -13
  1055. package/lib/zudoku.hooks.js.map +1 -1
  1056. package/lib/zudoku.icons.js +1 -1
  1057. package/lib/zudoku.icons.js.map +1 -1
  1058. package/lib/zudoku.plugin-api-catalog.js +76 -68
  1059. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  1060. package/lib/zudoku.plugin-api-keys.js +717 -192
  1061. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  1062. package/lib/zudoku.plugin-custom-pages.js +15 -18
  1063. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  1064. package/lib/zudoku.plugin-markdown.js +20 -73
  1065. package/lib/zudoku.plugin-markdown.js.map +1 -1
  1066. package/lib/zudoku.plugin-openapi.js +8 -6
  1067. package/lib/zudoku.plugin-openapi.js.map +1 -1
  1068. package/lib/zudoku.plugin-redirect.js +3 -3
  1069. package/lib/zudoku.plugin-redirect.js.map +1 -1
  1070. package/lib/zudoku.plugin-search-inkeep.js +55 -59
  1071. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  1072. package/lib/zudoku.plugin-search-pagefind.js +216 -124
  1073. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  1074. package/lib/zudoku.plugins.js +7 -6
  1075. package/lib/zudoku.plugins.js.map +1 -1
  1076. package/lib/zudoku.router.js +123 -0
  1077. package/lib/zudoku.router.js.map +1 -0
  1078. package/package.json +128 -101
  1079. package/src/app/ZuploBuildConfig.ts +33 -0
  1080. package/src/app/defaultTheme.css +73 -0
  1081. package/src/app/demo.html +1 -1
  1082. package/src/app/demo.tsx +25 -7
  1083. package/src/app/entry.client.tsx +45 -5
  1084. package/src/app/entry.server.tsx +4 -6
  1085. package/src/app/env.ts +43 -0
  1086. package/src/app/font.geist.css +73 -0
  1087. package/src/app/main.css +133 -151
  1088. package/src/app/main.tsx +56 -62
  1089. package/src/app/standalone.tsx +14 -8
  1090. package/src/lib/MissingIcon.tsx +1 -1
  1091. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  1092. package/src/lib/assets/language-icons/css.tsx +36 -0
  1093. package/src/lib/assets/language-icons/go.tsx +19 -0
  1094. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  1095. package/src/lib/assets/language-icons/html.tsx +24 -0
  1096. package/src/lib/assets/language-icons/java.tsx +35 -0
  1097. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  1098. package/src/lib/assets/language-icons/json.tsx +19 -0
  1099. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  1100. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  1101. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  1102. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  1103. package/src/lib/assets/language-icons/php.tsx +19 -0
  1104. package/src/lib/assets/language-icons/python.tsx +23 -0
  1105. package/src/lib/assets/language-icons/react.tsx +21 -0
  1106. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  1107. package/src/lib/assets/language-icons/rust.tsx +19 -0
  1108. package/src/lib/assets/language-icons/shell.tsx +19 -0
  1109. package/src/lib/assets/language-icons/swift.tsx +19 -0
  1110. package/src/lib/assets/language-icons/toml.tsx +23 -0
  1111. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  1112. package/src/lib/assets/language-icons/xml.tsx +19 -0
  1113. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  1114. package/src/lib/auth/issuer.test.ts +121 -0
  1115. package/src/lib/auth/issuer.ts +41 -0
  1116. package/src/lib/authentication/AuthenticationPlugin.tsx +2 -2
  1117. package/src/lib/authentication/authentication.ts +6 -9
  1118. package/src/lib/authentication/components/CallbackHandler.tsx +28 -11
  1119. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  1120. package/src/lib/authentication/components/SignIn.tsx +27 -1
  1121. package/src/lib/authentication/components/SignOut.tsx +1 -1
  1122. package/src/lib/authentication/components/SignUp.tsx +35 -1
  1123. package/src/lib/authentication/errors.ts +27 -13
  1124. package/src/lib/authentication/hook.ts +2 -0
  1125. package/src/lib/authentication/providers/auth0.tsx +12 -6
  1126. package/src/lib/authentication/providers/azureb2c.tsx +201 -0
  1127. package/src/lib/authentication/providers/clerk.tsx +91 -69
  1128. package/src/lib/authentication/providers/openid.tsx +121 -57
  1129. package/src/lib/authentication/providers/supabase.tsx +14 -20
  1130. package/src/lib/authentication/state.ts +37 -7
  1131. package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
  1132. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  1133. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  1134. package/src/lib/components/AnchorLink.tsx +1 -1
  1135. package/src/lib/components/Autocomplete.tsx +4 -3
  1136. package/src/lib/components/Banner.tsx +3 -4
  1137. package/src/lib/components/Bootstrap.tsx +1 -0
  1138. package/src/lib/components/BuildCheck.tsx +35 -9
  1139. package/src/lib/components/CategoryHeading.tsx +4 -1
  1140. package/src/lib/components/ErrorPage.tsx +3 -3
  1141. package/src/lib/components/Footer.tsx +8 -11
  1142. package/src/lib/components/Framed.tsx +51 -0
  1143. package/src/lib/components/Header.tsx +46 -43
  1144. package/src/lib/components/Heading.tsx +19 -12
  1145. package/src/lib/components/InlineCode.tsx +1 -1
  1146. package/src/lib/components/LanguageIcon.tsx +136 -0
  1147. package/src/lib/components/Layout.tsx +7 -29
  1148. package/src/lib/components/Main.tsx +15 -14
  1149. package/src/lib/components/Markdown.tsx +43 -27
  1150. package/src/lib/components/Meta.tsx +45 -0
  1151. package/src/lib/components/MobileTopNavigation.tsx +72 -16
  1152. package/src/lib/components/NotFoundPage.tsx +6 -5
  1153. package/src/lib/components/PageProgress.tsx +28 -0
  1154. package/src/lib/components/Pagination.tsx +6 -11
  1155. package/src/lib/components/PathRenderer.tsx +2 -2
  1156. package/src/lib/components/Search.tsx +3 -3
  1157. package/src/lib/components/Slot.test.tsx +465 -0
  1158. package/src/lib/components/Slot.tsx +64 -0
  1159. package/src/lib/components/StatusPage.tsx +5 -0
  1160. package/src/lib/components/TopNavigation.tsx +81 -86
  1161. package/src/lib/components/Typography.tsx +14 -0
  1162. package/src/lib/components/Zudoku.tsx +11 -11
  1163. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  1164. package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
  1165. package/src/lib/components/context/SlotProvider.tsx +149 -0
  1166. package/src/lib/components/context/ViewportAnchorContext.tsx +10 -17
  1167. package/src/lib/components/context/ZudokuContext.ts +67 -43
  1168. package/src/lib/components/context/ZudokuProvider.tsx +3 -2
  1169. package/src/lib/components/index.ts +18 -28
  1170. package/src/lib/components/navigation/Navigation.tsx +50 -0
  1171. package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
  1172. package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
  1173. package/src/lib/components/navigation/NavigationItem.tsx +161 -0
  1174. package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
  1175. package/src/lib/components/navigation/PoweredByZudoku.tsx +7 -2
  1176. package/src/lib/components/navigation/Toc.tsx +7 -7
  1177. package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
  1178. package/src/lib/components/navigation/utils.ts +82 -42
  1179. package/src/lib/core/RouteGuard.tsx +13 -13
  1180. package/src/lib/core/ZudokuContext.ts +96 -30
  1181. package/src/lib/core/__internal.tsx +30 -0
  1182. package/src/lib/core/plugins.ts +13 -4
  1183. package/src/lib/core/router.ts +1 -0
  1184. package/src/lib/errors/ErrorAlert.tsx +8 -17
  1185. package/src/lib/errors/TopLevelError.tsx +2 -4
  1186. package/src/lib/hooks/index.ts +11 -0
  1187. package/src/lib/hooks/useEvent.test.tsx +9 -7
  1188. package/src/lib/hooks/useHotkey.ts +70 -0
  1189. package/src/lib/oas/graphql/circular.ts +28 -20
  1190. package/src/lib/oas/graphql/index.ts +20 -3
  1191. package/src/lib/oas/parser/dereference/index.ts +2 -1
  1192. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  1193. package/src/lib/oas/parser/index.ts +9 -3
  1194. package/src/lib/oas/parser/upgrade/index.ts +100 -29
  1195. package/src/lib/plugins/api-catalog/Catalog.tsx +9 -2
  1196. package/src/lib/plugins/api-catalog/index.tsx +19 -19
  1197. package/src/lib/plugins/api-keys/CreateApiKey.tsx +70 -44
  1198. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  1199. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +441 -122
  1200. package/src/lib/plugins/api-keys/index.tsx +143 -65
  1201. package/src/lib/plugins/custom-pages/index.tsx +24 -16
  1202. package/src/lib/plugins/markdown/MdxPage.tsx +81 -26
  1203. package/src/lib/plugins/markdown/index.tsx +30 -43
  1204. package/src/lib/plugins/openapi/CollapsibleCode.tsx +8 -5
  1205. package/src/lib/plugins/openapi/ColorizedParam.tsx +5 -3
  1206. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  1207. package/src/lib/plugins/openapi/MCPEndpoint.tsx +293 -0
  1208. package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
  1209. package/src/lib/plugins/openapi/OperationList.tsx +47 -33
  1210. package/src/lib/plugins/openapi/OperationListItem.tsx +103 -103
  1211. package/src/lib/plugins/openapi/ParamInfos.tsx +14 -10
  1212. package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
  1213. package/src/lib/plugins/openapi/ParameterListItem.tsx +42 -12
  1214. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +16 -8
  1215. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -2
  1216. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +5 -16
  1217. package/src/lib/plugins/openapi/SchemaList.tsx +25 -19
  1218. package/src/lib/plugins/openapi/Sidecar.tsx +18 -69
  1219. package/src/lib/plugins/openapi/SidecarExamples.tsx +11 -11
  1220. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  1221. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  1222. package/src/lib/plugins/openapi/client/createServer.ts +1 -2
  1223. package/src/lib/plugins/openapi/client/useCreateQuery.ts +24 -4
  1224. package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
  1225. package/src/lib/plugins/openapi/components/EnumValues.tsx +1 -1
  1226. package/src/lib/plugins/openapi/components/ResponseContent.tsx +104 -0
  1227. package/src/lib/plugins/openapi/context.tsx +1 -1
  1228. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -2
  1229. package/src/lib/plugins/openapi/graphql/gql.ts +8 -9
  1230. package/src/lib/plugins/openapi/graphql/graphql.ts +14 -7
  1231. package/src/lib/plugins/openapi/index.tsx +85 -33
  1232. package/src/lib/plugins/openapi/interfaces.ts +10 -7
  1233. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +55 -0
  1234. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  1235. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +11 -4
  1236. package/src/lib/plugins/openapi/playground/Headers.tsx +217 -115
  1237. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +4 -3
  1238. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +20 -36
  1239. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  1240. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +2 -2
  1241. package/src/lib/plugins/openapi/playground/PathParams.tsx +5 -6
  1242. package/src/lib/plugins/openapi/playground/Playground.tsx +270 -293
  1243. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +3 -2
  1244. package/src/lib/plugins/openapi/playground/QueryParams.tsx +106 -60
  1245. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  1246. package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
  1247. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  1248. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  1249. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  1250. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
  1251. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +149 -108
  1252. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +70 -91
  1253. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
  1254. package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +20 -0
  1255. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
  1256. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
  1257. package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
  1258. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.tsx +36 -0
  1259. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.tsx +25 -0
  1260. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +42 -0
  1261. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +10 -7
  1262. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +39 -46
  1263. package/src/lib/plugins/openapi/schema/SchemaView.tsx +67 -45
  1264. package/src/lib/plugins/openapi/schema/UnionView.tsx +143 -0
  1265. package/src/lib/plugins/openapi/schema/union-helpers.ts +124 -0
  1266. package/src/lib/plugins/openapi/schema/utils.ts +24 -17
  1267. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
  1268. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
  1269. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +54 -5
  1270. package/src/lib/plugins/openapi/util/getRoutes.tsx +87 -15
  1271. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  1272. package/src/lib/plugins/redirect/index.tsx +1 -1
  1273. package/src/lib/plugins/search-inkeep/index.tsx +54 -58
  1274. package/src/lib/plugins/search-inkeep/inkeep.ts +19 -21
  1275. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +3 -4
  1276. package/src/lib/plugins/search-pagefind/ResultList.tsx +16 -8
  1277. package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
  1278. package/src/lib/shiki.ts +138 -0
  1279. package/src/lib/ui/ActionButton.tsx +3 -1
  1280. package/src/lib/ui/Alert.tsx +45 -39
  1281. package/src/lib/ui/Badge.tsx +2 -2
  1282. package/src/lib/ui/Breadcrumb.tsx +1 -0
  1283. package/src/lib/ui/Button.tsx +9 -6
  1284. package/src/lib/ui/Callout.tsx +2 -1
  1285. package/src/lib/ui/Card.tsx +1 -1
  1286. package/src/lib/ui/Carousel.tsx +1 -0
  1287. package/src/lib/ui/Checkbox.tsx +1 -1
  1288. package/src/lib/ui/CodeBlock.tsx +80 -0
  1289. package/src/lib/ui/Command.tsx +6 -8
  1290. package/src/lib/ui/Dialog.tsx +20 -8
  1291. package/src/lib/ui/DropdownMenu.tsx +4 -4
  1292. package/src/lib/ui/EmbeddedCodeBlock.tsx +94 -0
  1293. package/src/lib/ui/Form.tsx +4 -4
  1294. package/src/lib/ui/HoverCard.tsx +1 -1
  1295. package/src/lib/ui/Input.tsx +1 -1
  1296. package/src/lib/ui/Pagination.tsx +1 -2
  1297. package/src/lib/ui/Popover.tsx +1 -1
  1298. package/src/lib/ui/RadioGroup.tsx +1 -1
  1299. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  1300. package/src/lib/ui/Secret.tsx +106 -0
  1301. package/src/lib/ui/Select.tsx +3 -3
  1302. package/src/lib/ui/Slider.tsx +1 -1
  1303. package/src/lib/ui/Switch.tsx +1 -1
  1304. package/src/lib/ui/SyntaxHighlight.tsx +28 -179
  1305. package/src/lib/ui/Tabs.tsx +2 -2
  1306. package/src/lib/ui/Textarea.tsx +1 -1
  1307. package/src/lib/ui/Toggle.tsx +1 -1
  1308. package/src/lib/ui/ToggleGroup.tsx +1 -1
  1309. package/src/lib/ui/Tooltip.tsx +16 -1
  1310. package/src/lib/ui/Value.tsx +42 -0
  1311. package/src/lib/util/MdxComponents.tsx +51 -17
  1312. package/src/lib/util/cn.ts +1 -1
  1313. package/src/lib/util/createVariantComponent.tsx +2 -2
  1314. package/src/lib/util/ensureArray.ts +3 -0
  1315. package/src/lib/util/groupBy.ts +1 -0
  1316. package/src/lib/util/humanFileSize.test.ts +24 -0
  1317. package/src/lib/util/humanFileSize.ts +15 -0
  1318. package/src/lib/util/invariant.ts +8 -5
  1319. package/src/lib/util/os.ts +18 -0
  1320. package/src/lib/util/pastellize.ts +2 -2
  1321. package/src/lib/util/traverse.ts +44 -5
  1322. package/src/lib/util/types.ts +1 -1
  1323. package/src/lib/util/url.test.ts +51 -0
  1324. package/src/lib/util/url.ts +18 -0
  1325. package/src/lib/util/useCopyToClipboard.ts +17 -0
  1326. package/src/lib/util/useExposedProps.tsx +12 -1
  1327. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  1328. package/src/lib/util/useScrollToAnchor.ts +6 -4
  1329. package/src/shiki/langs/abap.js +1 -0
  1330. package/src/shiki/langs/actionscript-3.js +1 -0
  1331. package/src/shiki/langs/ada.js +1 -0
  1332. package/src/shiki/langs/angular-expression.js +1 -0
  1333. package/src/shiki/langs/angular-html.js +1 -0
  1334. package/src/shiki/langs/angular-inline-style.js +1 -0
  1335. package/src/shiki/langs/angular-inline-template.js +1 -0
  1336. package/src/shiki/langs/angular-let-declaration.js +1 -0
  1337. package/src/shiki/langs/angular-template-blocks.js +1 -0
  1338. package/src/shiki/langs/angular-template.js +1 -0
  1339. package/src/shiki/langs/angular-ts.js +1 -0
  1340. package/src/shiki/langs/apache.js +1 -0
  1341. package/src/shiki/langs/apex.js +1 -0
  1342. package/src/shiki/langs/apl.js +1 -0
  1343. package/src/shiki/langs/applescript.js +1 -0
  1344. package/src/shiki/langs/ara.js +1 -0
  1345. package/src/shiki/langs/asciidoc.js +1 -0
  1346. package/src/shiki/langs/asm.js +1 -0
  1347. package/src/shiki/langs/astro.js +1 -0
  1348. package/src/shiki/langs/awk.js +1 -0
  1349. package/src/shiki/langs/ballerina.js +1 -0
  1350. package/src/shiki/langs/bat.js +1 -0
  1351. package/src/shiki/langs/beancount.js +1 -0
  1352. package/src/shiki/langs/berry.js +1 -0
  1353. package/src/shiki/langs/bibtex.js +1 -0
  1354. package/src/shiki/langs/bicep.js +1 -0
  1355. package/src/shiki/langs/blade.js +1 -0
  1356. package/src/shiki/langs/bsl.js +1 -0
  1357. package/src/shiki/langs/c.js +1 -0
  1358. package/src/shiki/langs/cadence.js +1 -0
  1359. package/src/shiki/langs/cairo.js +1 -0
  1360. package/src/shiki/langs/clarity.js +1 -0
  1361. package/src/shiki/langs/clojure.js +1 -0
  1362. package/src/shiki/langs/cmake.js +1 -0
  1363. package/src/shiki/langs/cobol.js +1 -0
  1364. package/src/shiki/langs/codeowners.js +1 -0
  1365. package/src/shiki/langs/codeql.js +1 -0
  1366. package/src/shiki/langs/coffee.js +1 -0
  1367. package/src/shiki/langs/common-lisp.js +1 -0
  1368. package/src/shiki/langs/coq.js +1 -0
  1369. package/src/shiki/langs/cpp-macro.js +1 -0
  1370. package/src/shiki/langs/cpp.js +1 -0
  1371. package/src/shiki/langs/crystal.js +1 -0
  1372. package/src/shiki/langs/csharp.js +1 -0
  1373. package/src/shiki/langs/css.js +1 -0
  1374. package/src/shiki/langs/csv.js +1 -0
  1375. package/src/shiki/langs/cue.js +1 -0
  1376. package/src/shiki/langs/cypher.js +1 -0
  1377. package/src/shiki/langs/d.js +1 -0
  1378. package/src/shiki/langs/dart.js +1 -0
  1379. package/src/shiki/langs/dax.js +1 -0
  1380. package/src/shiki/langs/desktop.js +1 -0
  1381. package/src/shiki/langs/diff.js +1 -0
  1382. package/src/shiki/langs/docker.js +1 -0
  1383. package/src/shiki/langs/dotenv.js +1 -0
  1384. package/src/shiki/langs/dream-maker.js +1 -0
  1385. package/src/shiki/langs/edge.js +1 -0
  1386. package/src/shiki/langs/elixir.js +1 -0
  1387. package/src/shiki/langs/elm.js +1 -0
  1388. package/src/shiki/langs/emacs-lisp.js +1 -0
  1389. package/src/shiki/langs/erb.js +1 -0
  1390. package/src/shiki/langs/erlang.js +1 -0
  1391. package/src/shiki/langs/es-tag-css.js +1 -0
  1392. package/src/shiki/langs/es-tag-glsl.js +1 -0
  1393. package/src/shiki/langs/es-tag-html.js +1 -0
  1394. package/src/shiki/langs/es-tag-sql.js +1 -0
  1395. package/src/shiki/langs/es-tag-xml.js +1 -0
  1396. package/src/shiki/langs/fennel.js +1 -0
  1397. package/src/shiki/langs/fish.js +1 -0
  1398. package/src/shiki/langs/fluent.js +1 -0
  1399. package/src/shiki/langs/fortran-fixed-form.js +1 -0
  1400. package/src/shiki/langs/fortran-free-form.js +1 -0
  1401. package/src/shiki/langs/fsharp.js +1 -0
  1402. package/src/shiki/langs/gdresource.js +1 -0
  1403. package/src/shiki/langs/gdscript.js +1 -0
  1404. package/src/shiki/langs/gdshader.js +1 -0
  1405. package/src/shiki/langs/genie.js +1 -0
  1406. package/src/shiki/langs/gherkin.js +1 -0
  1407. package/src/shiki/langs/git-commit.js +1 -0
  1408. package/src/shiki/langs/git-rebase.js +1 -0
  1409. package/src/shiki/langs/gleam.js +1 -0
  1410. package/src/shiki/langs/glimmer-js.js +1 -0
  1411. package/src/shiki/langs/glimmer-ts.js +1 -0
  1412. package/src/shiki/langs/glsl.js +1 -0
  1413. package/src/shiki/langs/gnuplot.js +1 -0
  1414. package/src/shiki/langs/go.js +1 -0
  1415. package/src/shiki/langs/graphql.js +1 -0
  1416. package/src/shiki/langs/groovy.js +1 -0
  1417. package/src/shiki/langs/hack.js +1 -0
  1418. package/src/shiki/langs/haml.js +1 -0
  1419. package/src/shiki/langs/handlebars.js +1 -0
  1420. package/src/shiki/langs/haskell.js +1 -0
  1421. package/src/shiki/langs/haxe.js +1 -0
  1422. package/src/shiki/langs/hcl.js +1 -0
  1423. package/src/shiki/langs/hjson.js +1 -0
  1424. package/src/shiki/langs/hlsl.js +1 -0
  1425. package/src/shiki/langs/html-derivative.js +1 -0
  1426. package/src/shiki/langs/html.js +1 -0
  1427. package/src/shiki/langs/http.js +1 -0
  1428. package/src/shiki/langs/hxml.js +1 -0
  1429. package/src/shiki/langs/hy.js +1 -0
  1430. package/src/shiki/langs/imba.js +1 -0
  1431. package/src/shiki/langs/ini.js +1 -0
  1432. package/src/shiki/langs/java.js +1 -0
  1433. package/src/shiki/langs/javascript.js +1 -0
  1434. package/src/shiki/langs/jinja-html.js +1 -0
  1435. package/src/shiki/langs/jinja.js +1 -0
  1436. package/src/shiki/langs/jison.js +1 -0
  1437. package/src/shiki/langs/json.js +1 -0
  1438. package/src/shiki/langs/json5.js +1 -0
  1439. package/src/shiki/langs/jsonc.js +1 -0
  1440. package/src/shiki/langs/jsonl.js +1 -0
  1441. package/src/shiki/langs/jsonnet.js +1 -0
  1442. package/src/shiki/langs/jssm.js +1 -0
  1443. package/src/shiki/langs/jsx.js +1 -0
  1444. package/src/shiki/langs/julia.js +1 -0
  1445. package/src/shiki/langs/kotlin.js +1 -0
  1446. package/src/shiki/langs/kusto.js +1 -0
  1447. package/src/shiki/langs/latex.js +1 -0
  1448. package/src/shiki/langs/lean.js +1 -0
  1449. package/src/shiki/langs/less.js +1 -0
  1450. package/src/shiki/langs/liquid.js +1 -0
  1451. package/src/shiki/langs/llvm.js +1 -0
  1452. package/src/shiki/langs/log.js +1 -0
  1453. package/src/shiki/langs/logo.js +1 -0
  1454. package/src/shiki/langs/lua.js +1 -0
  1455. package/src/shiki/langs/luau.js +1 -0
  1456. package/src/shiki/langs/make.js +1 -0
  1457. package/src/shiki/langs/markdown-vue.js +1 -0
  1458. package/src/shiki/langs/markdown.js +1 -0
  1459. package/src/shiki/langs/marko.js +1 -0
  1460. package/src/shiki/langs/matlab.js +1 -0
  1461. package/src/shiki/langs/mdc.js +1 -0
  1462. package/src/shiki/langs/mdx.js +1 -0
  1463. package/src/shiki/langs/mermaid.js +1 -0
  1464. package/src/shiki/langs/mipsasm.js +1 -0
  1465. package/src/shiki/langs/mojo.js +1 -0
  1466. package/src/shiki/langs/move.js +1 -0
  1467. package/src/shiki/langs/narrat.js +1 -0
  1468. package/src/shiki/langs/nextflow.js +1 -0
  1469. package/src/shiki/langs/nginx.js +1 -0
  1470. package/src/shiki/langs/nim.js +1 -0
  1471. package/src/shiki/langs/nix.js +1 -0
  1472. package/src/shiki/langs/nushell.js +1 -0
  1473. package/src/shiki/langs/objective-c.js +1 -0
  1474. package/src/shiki/langs/objective-cpp.js +1 -0
  1475. package/src/shiki/langs/ocaml.js +1 -0
  1476. package/src/shiki/langs/pascal.js +1 -0
  1477. package/src/shiki/langs/perl.js +1 -0
  1478. package/src/shiki/langs/php.js +1 -0
  1479. package/src/shiki/langs/plsql.js +1 -0
  1480. package/src/shiki/langs/po.js +1 -0
  1481. package/src/shiki/langs/polar.js +1 -0
  1482. package/src/shiki/langs/postcss.js +1 -0
  1483. package/src/shiki/langs/powerquery.js +1 -0
  1484. package/src/shiki/langs/powershell.js +1 -0
  1485. package/src/shiki/langs/prisma.js +1 -0
  1486. package/src/shiki/langs/prolog.js +1 -0
  1487. package/src/shiki/langs/proto.js +1 -0
  1488. package/src/shiki/langs/pug.js +1 -0
  1489. package/src/shiki/langs/puppet.js +1 -0
  1490. package/src/shiki/langs/purescript.js +1 -0
  1491. package/src/shiki/langs/python.js +1 -0
  1492. package/src/shiki/langs/qml.js +1 -0
  1493. package/src/shiki/langs/qmldir.js +1 -0
  1494. package/src/shiki/langs/qss.js +1 -0
  1495. package/src/shiki/langs/r.js +1 -0
  1496. package/src/shiki/langs/racket.js +1 -0
  1497. package/src/shiki/langs/raku.js +1 -0
  1498. package/src/shiki/langs/razor.js +1 -0
  1499. package/src/shiki/langs/reg.js +1 -0
  1500. package/src/shiki/langs/regexp.js +1 -0
  1501. package/src/shiki/langs/rel.js +1 -0
  1502. package/src/shiki/langs/riscv.js +1 -0
  1503. package/src/shiki/langs/rst.js +1 -0
  1504. package/src/shiki/langs/ruby.js +1 -0
  1505. package/src/shiki/langs/rust.js +1 -0
  1506. package/src/shiki/langs/sas.js +1 -0
  1507. package/src/shiki/langs/sass.js +1 -0
  1508. package/src/shiki/langs/scala.js +1 -0
  1509. package/src/shiki/langs/scheme.js +1 -0
  1510. package/src/shiki/langs/scss.js +1 -0
  1511. package/src/shiki/langs/sdbl.js +1 -0
  1512. package/src/shiki/langs/shaderlab.js +1 -0
  1513. package/src/shiki/langs/shellscript.js +1 -0
  1514. package/src/shiki/langs/shellsession.js +1 -0
  1515. package/src/shiki/langs/smalltalk.js +1 -0
  1516. package/src/shiki/langs/solidity.js +1 -0
  1517. package/src/shiki/langs/soy.js +1 -0
  1518. package/src/shiki/langs/sparql.js +1 -0
  1519. package/src/shiki/langs/splunk.js +1 -0
  1520. package/src/shiki/langs/sql.js +1 -0
  1521. package/src/shiki/langs/ssh-config.js +1 -0
  1522. package/src/shiki/langs/stata.js +1 -0
  1523. package/src/shiki/langs/stylus.js +1 -0
  1524. package/src/shiki/langs/svelte.js +1 -0
  1525. package/src/shiki/langs/swift.js +1 -0
  1526. package/src/shiki/langs/system-verilog.js +1 -0
  1527. package/src/shiki/langs/systemd.js +1 -0
  1528. package/src/shiki/langs/talonscript.js +1 -0
  1529. package/src/shiki/langs/tasl.js +1 -0
  1530. package/src/shiki/langs/tcl.js +1 -0
  1531. package/src/shiki/langs/templ.js +1 -0
  1532. package/src/shiki/langs/terraform.js +1 -0
  1533. package/src/shiki/langs/tex.js +1 -0
  1534. package/src/shiki/langs/toml.js +1 -0
  1535. package/src/shiki/langs/ts-tags.js +1 -0
  1536. package/src/shiki/langs/tsv.js +1 -0
  1537. package/src/shiki/langs/tsx.js +1 -0
  1538. package/src/shiki/langs/turtle.js +1 -0
  1539. package/src/shiki/langs/twig.js +1 -0
  1540. package/src/shiki/langs/typescript.js +1 -0
  1541. package/src/shiki/langs/typespec.js +1 -0
  1542. package/src/shiki/langs/typst.js +1 -0
  1543. package/src/shiki/langs/v.js +1 -0
  1544. package/src/shiki/langs/vala.js +1 -0
  1545. package/src/shiki/langs/vb.js +1 -0
  1546. package/src/shiki/langs/verilog.js +1 -0
  1547. package/src/shiki/langs/vhdl.js +1 -0
  1548. package/src/shiki/langs/viml.js +1 -0
  1549. package/src/shiki/langs/vue-directives.js +1 -0
  1550. package/src/shiki/langs/vue-html.js +1 -0
  1551. package/src/shiki/langs/vue-interpolations.js +1 -0
  1552. package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
  1553. package/src/shiki/langs/vue-vine.js +1 -0
  1554. package/src/shiki/langs/vue.js +1 -0
  1555. package/src/shiki/langs/vyper.js +1 -0
  1556. package/src/shiki/langs/wasm.js +1 -0
  1557. package/src/shiki/langs/wenyan.js +1 -0
  1558. package/src/shiki/langs/wgsl.js +1 -0
  1559. package/src/shiki/langs/wikitext.js +1 -0
  1560. package/src/shiki/langs/wit.js +1 -0
  1561. package/src/shiki/langs/wolfram.js +1 -0
  1562. package/src/shiki/langs/xml.js +1 -0
  1563. package/src/shiki/langs/xsl.js +1 -0
  1564. package/src/shiki/langs/yaml.js +1 -0
  1565. package/src/shiki/langs/zenscript.js +1 -0
  1566. package/src/shiki/langs/zig.js +1 -0
  1567. package/src/shiki/themes/andromeeda.js +1 -0
  1568. package/src/shiki/themes/aurora-x.js +1 -0
  1569. package/src/shiki/themes/ayu-dark.js +1 -0
  1570. package/src/shiki/themes/catppuccin-frappe.js +1 -0
  1571. package/src/shiki/themes/catppuccin-latte.js +1 -0
  1572. package/src/shiki/themes/catppuccin-macchiato.js +1 -0
  1573. package/src/shiki/themes/catppuccin-mocha.js +1 -0
  1574. package/src/shiki/themes/dark-plus.js +1 -0
  1575. package/src/shiki/themes/dracula-soft.js +1 -0
  1576. package/src/shiki/themes/dracula.js +1 -0
  1577. package/src/shiki/themes/everforest-dark.js +1 -0
  1578. package/src/shiki/themes/everforest-light.js +1 -0
  1579. package/src/shiki/themes/github-dark-default.js +1 -0
  1580. package/src/shiki/themes/github-dark-dimmed.js +1 -0
  1581. package/src/shiki/themes/github-dark-high-contrast.js +1 -0
  1582. package/src/shiki/themes/github-dark.js +1 -0
  1583. package/src/shiki/themes/github-light-default.js +1 -0
  1584. package/src/shiki/themes/github-light-high-contrast.js +1 -0
  1585. package/src/shiki/themes/github-light.js +1 -0
  1586. package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
  1587. package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
  1588. package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
  1589. package/src/shiki/themes/gruvbox-light-hard.js +1 -0
  1590. package/src/shiki/themes/gruvbox-light-medium.js +1 -0
  1591. package/src/shiki/themes/gruvbox-light-soft.js +1 -0
  1592. package/src/shiki/themes/houston.js +1 -0
  1593. package/src/shiki/themes/kanagawa-dragon.js +1 -0
  1594. package/src/shiki/themes/kanagawa-lotus.js +1 -0
  1595. package/src/shiki/themes/kanagawa-wave.js +1 -0
  1596. package/src/shiki/themes/laserwave.js +1 -0
  1597. package/src/shiki/themes/light-plus.js +1 -0
  1598. package/src/shiki/themes/material-theme-darker.js +1 -0
  1599. package/src/shiki/themes/material-theme-lighter.js +1 -0
  1600. package/src/shiki/themes/material-theme-ocean.js +1 -0
  1601. package/src/shiki/themes/material-theme-palenight.js +1 -0
  1602. package/src/shiki/themes/material-theme.js +1 -0
  1603. package/src/shiki/themes/min-dark.js +1 -0
  1604. package/src/shiki/themes/min-light.js +1 -0
  1605. package/src/shiki/themes/monokai.js +1 -0
  1606. package/src/shiki/themes/night-owl.js +1 -0
  1607. package/src/shiki/themes/nord.js +1 -0
  1608. package/src/shiki/themes/one-dark-pro.js +1 -0
  1609. package/src/shiki/themes/one-light.js +1 -0
  1610. package/src/shiki/themes/plastic.js +1 -0
  1611. package/src/shiki/themes/poimandres.js +1 -0
  1612. package/src/shiki/themes/red.js +1 -0
  1613. package/src/shiki/themes/rose-pine-dawn.js +1 -0
  1614. package/src/shiki/themes/rose-pine-moon.js +1 -0
  1615. package/src/shiki/themes/rose-pine.js +1 -0
  1616. package/src/shiki/themes/slack-dark.js +1 -0
  1617. package/src/shiki/themes/slack-ochin.js +1 -0
  1618. package/src/shiki/themes/snazzy-light.js +1 -0
  1619. package/src/shiki/themes/solarized-dark.js +1 -0
  1620. package/src/shiki/themes/solarized-light.js +1 -0
  1621. package/src/shiki/themes/synthwave-84.js +1 -0
  1622. package/src/shiki/themes/tokyo-night.js +1 -0
  1623. package/src/shiki/themes/vesper.js +1 -0
  1624. package/src/shiki/themes/vitesse-black.js +1 -0
  1625. package/src/shiki/themes/vitesse-dark.js +1 -0
  1626. package/src/shiki/themes/vitesse-light.js +1 -0
  1627. package/dist/app/tailwind.d.ts +0 -4
  1628. package/dist/app/tailwind.js +0 -97
  1629. package/dist/app/tailwind.js.map +0 -1
  1630. package/dist/config/ZuploBuildConfig.d.ts +0 -155
  1631. package/dist/config/ZuploBuildConfig.js +0 -29
  1632. package/dist/config/ZuploBuildConfig.js.map +0 -1
  1633. package/dist/config/common.d.ts +0 -10
  1634. package/dist/config/common.js +0 -2
  1635. package/dist/config/common.js.map +0 -1
  1636. package/dist/config/validators/InputSidebarSchema.d.ts +0 -217
  1637. package/dist/config/validators/InputSidebarSchema.js +0 -62
  1638. package/dist/config/validators/InputSidebarSchema.js.map +0 -1
  1639. package/dist/config/validators/SidebarSchema.d.ts +0 -46
  1640. package/dist/config/validators/SidebarSchema.js +0 -118
  1641. package/dist/config/validators/SidebarSchema.js.map +0 -1
  1642. package/dist/config/validators/common.d.ts +0 -7659
  1643. package/dist/config/validators/common.js +0 -401
  1644. package/dist/config/validators/common.js.map +0 -1
  1645. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  1646. package/dist/lib/components/ReactMarkdown.js +0 -182
  1647. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  1648. package/dist/lib/components/SlotletProvider.d.ts +0 -17
  1649. package/dist/lib/components/SlotletProvider.js +0 -18
  1650. package/dist/lib/components/SlotletProvider.js.map +0 -1
  1651. package/dist/lib/components/navigation/Sidebar.d.ts +0 -5
  1652. package/dist/lib/components/navigation/Sidebar.js +0 -10
  1653. package/dist/lib/components/navigation/Sidebar.js.map +0 -1
  1654. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -26
  1655. package/dist/lib/components/navigation/SidebarBadge.js +0 -26
  1656. package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
  1657. package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
  1658. package/dist/lib/components/navigation/SidebarCategory.js +0 -55
  1659. package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
  1660. package/dist/lib/components/navigation/SidebarItem.d.ts +0 -11
  1661. package/dist/lib/components/navigation/SidebarItem.js +0 -50
  1662. package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
  1663. package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -7
  1664. package/dist/lib/components/navigation/SidebarWrapper.js +0 -21
  1665. package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
  1666. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  1667. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  1668. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  1669. package/dist/lib/plugins/markdown/resolver.d.ts +0 -32
  1670. package/dist/lib/plugins/markdown/resolver.js +0 -46
  1671. package/dist/lib/plugins/markdown/resolver.js.map +0 -1
  1672. package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +0 -7
  1673. package/dist/lib/plugins/openapi/playground/SubmitButton.js +0 -22
  1674. package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +0 -1
  1675. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  1676. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  1677. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  1678. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +0 -7
  1679. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +0 -11
  1680. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +0 -1
  1681. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
  1682. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  1683. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  1684. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
  1685. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  1686. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  1687. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -6
  1688. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  1689. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  1690. package/dist/lib/plugins/openapi/util/createSidebarCategory.d.ts +0 -9
  1691. package/dist/lib/plugins/openapi/util/createSidebarCategory.js +0 -23
  1692. package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +0 -1
  1693. package/dist/vite/plugin-docs.test.js +0 -22
  1694. package/dist/vite/plugin-docs.test.js.map +0 -1
  1695. package/dist/vite/plugin-sidebar.d.ts +0 -4
  1696. package/dist/vite/plugin-sidebar.js +0 -56
  1697. package/dist/vite/plugin-sidebar.js.map +0 -1
  1698. package/dist/vite/plugin-theme-css.d.ts +0 -6
  1699. package/dist/vite/plugin-theme-css.js +0 -117
  1700. package/dist/vite/plugin-theme-css.js.map +0 -1
  1701. package/dist/vite/remarkStaticGeneration.d.ts +0 -3
  1702. package/dist/vite/remarkStaticGeneration.js +0 -125
  1703. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  1704. package/dist/zuplo/env.d.ts +0 -33
  1705. package/dist/zuplo/env.js +0 -29
  1706. package/dist/zuplo/env.js.map +0 -1
  1707. package/lib/AuthenticationPlugin-CJOFRBk3.js +0 -58
  1708. package/lib/AuthenticationPlugin-CJOFRBk3.js.map +0 -1
  1709. package/lib/Button-BBNrKpQd.js +0 -49
  1710. package/lib/Button-BBNrKpQd.js.map +0 -1
  1711. package/lib/Callout-D3Ja4OPX.js +0 -230
  1712. package/lib/Callout-D3Ja4OPX.js.map +0 -1
  1713. package/lib/CategoryHeading-D06WK_Wo.js +0 -10
  1714. package/lib/CategoryHeading-D06WK_Wo.js.map +0 -1
  1715. package/lib/Dialog-ByYz4ABw.js +0 -98
  1716. package/lib/Dialog-ByYz4ABw.js.map +0 -1
  1717. package/lib/Drawer-CEwbkLDb.js +0 -1133
  1718. package/lib/Drawer-CEwbkLDb.js.map +0 -1
  1719. package/lib/Markdown-C5h6bxbE.js +0 -17126
  1720. package/lib/Markdown-C5h6bxbE.js.map +0 -1
  1721. package/lib/MdxPage-DhGqXQTK.js +0 -85
  1722. package/lib/MdxPage-DhGqXQTK.js.map +0 -1
  1723. package/lib/OasProvider-q0ncKgHr.js +0 -34
  1724. package/lib/OasProvider-q0ncKgHr.js.map +0 -1
  1725. package/lib/OperationList-CW4jENLV.js +0 -5069
  1726. package/lib/OperationList-CW4jENLV.js.map +0 -1
  1727. package/lib/Pagination-DsG3YIT_.js +0 -48
  1728. package/lib/Pagination-DsG3YIT_.js.map +0 -1
  1729. package/lib/RouteGuard-BZ_VsiXc.js +0 -744
  1730. package/lib/RouteGuard-BZ_VsiXc.js.map +0 -1
  1731. package/lib/SchemaList-n24-qSa5.js +0 -148
  1732. package/lib/SchemaList-n24-qSa5.js.map +0 -1
  1733. package/lib/SchemaView-DCSWtnYr.js +0 -357
  1734. package/lib/SchemaView-DCSWtnYr.js.map +0 -1
  1735. package/lib/Select-Dg5R11Dx.js +0 -223
  1736. package/lib/Select-Dg5R11Dx.js.map +0 -1
  1737. package/lib/SlotletProvider-VUmTNmLZ.js +0 -340
  1738. package/lib/SlotletProvider-VUmTNmLZ.js.map +0 -1
  1739. package/lib/Spinner-mNLZ6awP.js +0 -7
  1740. package/lib/Spinner-mNLZ6awP.js.map +0 -1
  1741. package/lib/SyntaxHighlight-CxhyyMkF.js +0 -2890
  1742. package/lib/SyntaxHighlight-CxhyyMkF.js.map +0 -1
  1743. package/lib/Toc-BK39DQvI.js +0 -92
  1744. package/lib/Toc-BK39DQvI.js.map +0 -1
  1745. package/lib/_commonjsHelpers-B4e78b8K.js +0 -29
  1746. package/lib/_commonjsHelpers-B4e78b8K.js.map +0 -1
  1747. package/lib/chunk-KNED5TY2-BUPjb3LQ.js +0 -1822
  1748. package/lib/chunk-KNED5TY2-BUPjb3LQ.js.map +0 -1
  1749. package/lib/circular-ByJI6Mci.js +0 -15877
  1750. package/lib/circular-ByJI6Mci.js.map +0 -1
  1751. package/lib/cn-qaFjX9_3.js +0 -2279
  1752. package/lib/cn-qaFjX9_3.js.map +0 -1
  1753. package/lib/context-Lrf2Y9bR.js +0 -22
  1754. package/lib/context-Lrf2Y9bR.js.map +0 -1
  1755. package/lib/createServer-DLN7APz_.js +0 -12318
  1756. package/lib/createServer-DLN7APz_.js.map +0 -1
  1757. package/lib/hook-pPrHCB6G.js +0 -1478
  1758. package/lib/hook-pPrHCB6G.js.map +0 -1
  1759. package/lib/index-Bn6Lc9tq.js +0 -9
  1760. package/lib/index-Bn6Lc9tq.js.map +0 -1
  1761. package/lib/index-CBpciIfE.js +0 -2054
  1762. package/lib/index-CBpciIfE.js.map +0 -1
  1763. package/lib/index-CPNSgwSb.js +0 -36
  1764. package/lib/index-CPNSgwSb.js.map +0 -1
  1765. package/lib/index-CuBIgTKC.js +0 -316
  1766. package/lib/index-CuBIgTKC.js.map +0 -1
  1767. package/lib/index-DcHeSvkE.js +0 -4850
  1768. package/lib/index-DcHeSvkE.js.map +0 -1
  1769. package/lib/index-DwT-v3zK.js +0 -86
  1770. package/lib/index-DwT-v3zK.js.map +0 -1
  1771. package/lib/index-LNp6rxyU.js +0 -2094
  1772. package/lib/index-LNp6rxyU.js.map +0 -1
  1773. package/lib/index-bu-rfaLA.js +0 -2227
  1774. package/lib/index-bu-rfaLA.js.map +0 -1
  1775. package/lib/index.esm-D2ZUREQN.js +0 -1216
  1776. package/lib/index.esm-D2ZUREQN.js.map +0 -1
  1777. package/lib/invariant-Caa8-XvF.js +0 -26
  1778. package/lib/invariant-Caa8-XvF.js.map +0 -1
  1779. package/lib/jsx-runtime-C5mzlN2N.js +0 -285
  1780. package/lib/jsx-runtime-C5mzlN2N.js.map +0 -1
  1781. package/lib/mutation-Csa9eQDM.js +0 -211
  1782. package/lib/mutation-Csa9eQDM.js.map +0 -1
  1783. package/lib/objectEntries-yMIkr2mI.js +0 -5
  1784. package/lib/objectEntries-yMIkr2mI.js.map +0 -1
  1785. package/lib/prism-bash.min-HHIMdNJ_.js +0 -7
  1786. package/lib/prism-bash.min-HHIMdNJ_.js.map +0 -1
  1787. package/lib/prism-csharp.min-C43x1RY2.js +0 -63
  1788. package/lib/prism-csharp.min-C43x1RY2.js.map +0 -1
  1789. package/lib/prism-java.min-CQzr40NQ.js +0 -35
  1790. package/lib/prism-java.min-CQzr40NQ.js.map +0 -1
  1791. package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
  1792. package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
  1793. package/lib/prism-json.min-B1GJqK1k.js +0 -2
  1794. package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
  1795. package/lib/prism-jsstacktrace.min-BfobCF2F.js +0 -2
  1796. package/lib/prism-jsstacktrace.min-BfobCF2F.js.map +0 -1
  1797. package/lib/prism-markdown.min-C0Qn0m-5.js +0 -61
  1798. package/lib/prism-markdown.min-C0Qn0m-5.js.map +0 -1
  1799. package/lib/prism-markup-BNGj0Tvm.js +0 -174
  1800. package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
  1801. package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
  1802. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
  1803. package/lib/prism-ruby.min-L9OdQ6tU.js +0 -38
  1804. package/lib/prism-ruby.min-L9OdQ6tU.js.map +0 -1
  1805. package/lib/prism-typescript.min-qTySPvCh.js +0 -34
  1806. package/lib/prism-typescript.min-qTySPvCh.js.map +0 -1
  1807. package/lib/useExposedProps-Dq2yUQIG.js +0 -9
  1808. package/lib/useExposedProps-Dq2yUQIG.js.map +0 -1
  1809. package/src/app/tailwind.ts +0 -103
  1810. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  1811. package/src/lib/components/ReactMarkdown.tsx +0 -264
  1812. package/src/lib/components/SlotletProvider.tsx +0 -55
  1813. package/src/lib/components/navigation/Sidebar.tsx +0 -48
  1814. package/src/lib/components/navigation/SidebarBadge.tsx +0 -48
  1815. package/src/lib/components/navigation/SidebarCategory.tsx +0 -140
  1816. package/src/lib/components/navigation/SidebarItem.tsx +0 -118
  1817. package/src/lib/components/navigation/SidebarWrapper.tsx +0 -46
  1818. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  1819. package/src/lib/plugins/markdown/resolver.ts +0 -57
  1820. package/src/lib/plugins/openapi/playground/SubmitButton.tsx +0 -75
  1821. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  1822. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +0 -73
  1823. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
  1824. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -57
  1825. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -33
  1826. package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +0 -37
  1827. /package/dist/{vite/plugin-docs.test.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
@@ -1,1478 +0,0 @@
1
- var $e = (t) => {
2
- throw TypeError(t);
3
- };
4
- var be = (t, e, s) => e.has(t) || $e("Cannot " + s);
5
- var n = (t, e, s) => (be(t, e, "read from private field"), s ? s.call(t) : e.get(t)), b = (t, e, s) => e.has(t) ? $e("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), f = (t, e, s, r) => (be(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s), w = (t, e, s) => (be(t, e, "access private method"), s);
6
- import * as j from "react";
7
- import Ge, { createContext as Et, useContext as Ct } from "react";
8
- import { j as Ot } from "./jsx-runtime-C5mzlN2N.js";
9
- import { u as me, m as ze } from "./chunk-KNED5TY2-BUPjb3LQ.js";
10
- var Qe = class {
11
- constructor() {
12
- this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
13
- }
14
- subscribe(t) {
15
- return this.listeners.add(t), this.onSubscribe(), () => {
16
- this.listeners.delete(t), this.onUnsubscribe();
17
- };
18
- }
19
- hasListeners() {
20
- return this.listeners.size > 0;
21
- }
22
- onSubscribe() {
23
- }
24
- onUnsubscribe() {
25
- }
26
- }, J = typeof window > "u" || "Deno" in globalThis;
27
- function Se() {
28
- }
29
- function gs(t, e) {
30
- return typeof t == "function" ? t(e) : t;
31
- }
32
- function we(t) {
33
- return typeof t == "number" && t >= 0 && t !== 1 / 0;
34
- }
35
- function ot(t, e) {
36
- return Math.max(t + (e || 0) - Date.now(), 0);
37
- }
38
- function pe(t, e) {
39
- return typeof t == "function" ? t(e) : t;
40
- }
41
- function k(t, e) {
42
- return typeof t == "function" ? t(e) : t;
43
- }
44
- function Ss(t, e) {
45
- const {
46
- type: s = "all",
47
- exact: r,
48
- fetchStatus: i,
49
- predicate: a,
50
- queryKey: o,
51
- stale: u
52
- } = t;
53
- if (o) {
54
- if (r) {
55
- if (e.queryHash !== Ft(o, e.options))
56
- return !1;
57
- } else if (!Ne(e.queryKey, o))
58
- return !1;
59
- }
60
- if (s !== "all") {
61
- const l = e.isActive();
62
- if (s === "active" && !l || s === "inactive" && l)
63
- return !1;
64
- }
65
- return !(typeof u == "boolean" && e.isStale() !== u || i && i !== e.state.fetchStatus || a && !a(e));
66
- }
67
- function ws(t, e) {
68
- const { exact: s, status: r, predicate: i, mutationKey: a } = t;
69
- if (a) {
70
- if (!e.options.mutationKey)
71
- return !1;
72
- if (s) {
73
- if (Re(e.options.mutationKey) !== Re(a))
74
- return !1;
75
- } else if (!Ne(e.options.mutationKey, a))
76
- return !1;
77
- }
78
- return !(r && e.state.status !== r || i && !i(e));
79
- }
80
- function Ft(t, e) {
81
- return ((e == null ? void 0 : e.queryKeyHashFn) || Re)(t);
82
- }
83
- function Re(t) {
84
- return JSON.stringify(
85
- t,
86
- (e, s) => Oe(s) ? Object.keys(s).sort().reduce((r, i) => (r[i] = s[i], r), {}) : s
87
- );
88
- }
89
- function Ne(t, e) {
90
- return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((s) => Ne(t[s], e[s])) : !1;
91
- }
92
- function Ee(t, e) {
93
- if (t === e)
94
- return t;
95
- const s = Ve(t) && Ve(e);
96
- if (s || Oe(t) && Oe(e)) {
97
- const r = s ? t : Object.keys(t), i = r.length, a = s ? e : Object.keys(e), o = a.length, u = s ? [] : {};
98
- let l = 0;
99
- for (let y = 0; y < o; y++) {
100
- const g = s ? y : a[y];
101
- (!s && r.includes(g) || s) && t[g] === void 0 && e[g] === void 0 ? (u[g] = void 0, l++) : (u[g] = Ee(t[g], e[g]), u[g] === t[g] && t[g] !== void 0 && l++);
102
- }
103
- return i === o && l === i ? t : u;
104
- }
105
- return e;
106
- }
107
- function Ce(t, e) {
108
- if (!e || Object.keys(t).length !== Object.keys(e).length)
109
- return !1;
110
- for (const s in t)
111
- if (t[s] !== e[s])
112
- return !1;
113
- return !0;
114
- }
115
- function Ve(t) {
116
- return Array.isArray(t) && t.length === Object.keys(t).length;
117
- }
118
- function Oe(t) {
119
- if (!Je(t))
120
- return !1;
121
- const e = t.constructor;
122
- if (e === void 0)
123
- return !0;
124
- const s = e.prototype;
125
- return !(!Je(s) || !s.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(t) !== Object.prototype);
126
- }
127
- function Je(t) {
128
- return Object.prototype.toString.call(t) === "[object Object]";
129
- }
130
- function It(t) {
131
- return new Promise((e) => {
132
- setTimeout(e, t);
133
- });
134
- }
135
- function Fe(t, e, s) {
136
- if (typeof s.structuralSharing == "function")
137
- return s.structuralSharing(t, e);
138
- if (s.structuralSharing !== !1) {
139
- if (process.env.NODE_ENV !== "production")
140
- try {
141
- return Ee(t, e);
142
- } catch (r) {
143
- throw console.error(
144
- `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${s.queryHash}]: ${r}`
145
- ), r;
146
- }
147
- return Ee(t, e);
148
- }
149
- return e;
150
- }
151
- function Rs(t) {
152
- return t;
153
- }
154
- function Es(t, e, s = 0) {
155
- const r = [...t, e];
156
- return s && r.length > s ? r.slice(1) : r;
157
- }
158
- function Cs(t, e, s = 0) {
159
- const r = [e, ...t];
160
- return s && r.length > s ? r.slice(0, -1) : r;
161
- }
162
- var ve = Symbol();
163
- function Pt(t, e) {
164
- return process.env.NODE_ENV !== "production" && t.queryFn === ve && console.error(
165
- `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${t.queryHash}'`
166
- ), !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === ve ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
167
- }
168
- var H, Q, Y, st, Tt = (st = class extends Qe {
169
- constructor() {
170
- super();
171
- b(this, H);
172
- b(this, Q);
173
- b(this, Y);
174
- f(this, Y, (e) => {
175
- if (!J && window.addEventListener) {
176
- const s = () => e();
177
- return window.addEventListener("visibilitychange", s, !1), () => {
178
- window.removeEventListener("visibilitychange", s);
179
- };
180
- }
181
- });
182
- }
183
- onSubscribe() {
184
- n(this, Q) || this.setEventListener(n(this, Y));
185
- }
186
- onUnsubscribe() {
187
- var e;
188
- this.hasListeners() || ((e = n(this, Q)) == null || e.call(this), f(this, Q, void 0));
189
- }
190
- setEventListener(e) {
191
- var s;
192
- f(this, Y, e), (s = n(this, Q)) == null || s.call(this), f(this, Q, e((r) => {
193
- typeof r == "boolean" ? this.setFocused(r) : this.onFocus();
194
- }));
195
- }
196
- setFocused(e) {
197
- n(this, H) !== e && (f(this, H, e), this.onFocus());
198
- }
199
- onFocus() {
200
- const e = this.isFocused();
201
- this.listeners.forEach((s) => {
202
- s(e);
203
- });
204
- }
205
- isFocused() {
206
- var e;
207
- return typeof n(this, H) == "boolean" ? n(this, H) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
208
- }
209
- }, H = new WeakMap(), Q = new WeakMap(), Y = new WeakMap(), st), ut = new Tt(), X, N, ee, rt, Dt = (rt = class extends Qe {
210
- constructor() {
211
- super();
212
- b(this, X, !0);
213
- b(this, N);
214
- b(this, ee);
215
- f(this, ee, (e) => {
216
- if (!J && window.addEventListener) {
217
- const s = () => e(!0), r = () => e(!1);
218
- return window.addEventListener("online", s, !1), window.addEventListener("offline", r, !1), () => {
219
- window.removeEventListener("online", s), window.removeEventListener("offline", r);
220
- };
221
- }
222
- });
223
- }
224
- onSubscribe() {
225
- n(this, N) || this.setEventListener(n(this, ee));
226
- }
227
- onUnsubscribe() {
228
- var e;
229
- this.hasListeners() || ((e = n(this, N)) == null || e.call(this), f(this, N, void 0));
230
- }
231
- setEventListener(e) {
232
- var s;
233
- f(this, ee, e), (s = n(this, N)) == null || s.call(this), f(this, N, e(this.setOnline.bind(this)));
234
- }
235
- setOnline(e) {
236
- n(this, X) !== e && (f(this, X, e), this.listeners.forEach((r) => {
237
- r(e);
238
- }));
239
- }
240
- isOnline() {
241
- return n(this, X);
242
- }
243
- }, X = new WeakMap(), N = new WeakMap(), ee = new WeakMap(), rt), ct = new Dt();
244
- function Ie() {
245
- let t, e;
246
- const s = new Promise((i, a) => {
247
- t = i, e = a;
248
- });
249
- s.status = "pending", s.catch(() => {
250
- });
251
- function r(i) {
252
- Object.assign(s, i), delete s.resolve, delete s.reject;
253
- }
254
- return s.resolve = (i) => {
255
- r({
256
- status: "fulfilled",
257
- value: i
258
- }), t(i);
259
- }, s.reject = (i) => {
260
- r({
261
- status: "rejected",
262
- reason: i
263
- }), e(i);
264
- }, s;
265
- }
266
- function jt(t) {
267
- return Math.min(1e3 * 2 ** t, 3e4);
268
- }
269
- function ht(t) {
270
- return (t ?? "online") === "online" ? ct.isOnline() : !0;
271
- }
272
- var lt = class extends Error {
273
- constructor(t) {
274
- super("CancelledError"), this.revert = t == null ? void 0 : t.revert, this.silent = t == null ? void 0 : t.silent;
275
- }
276
- };
277
- function ge(t) {
278
- return t instanceof lt;
279
- }
280
- function At(t) {
281
- let e = !1, s = 0, r = !1, i;
282
- const a = Ie(), o = (h) => {
283
- var v;
284
- r || (p(new lt(h)), (v = t.abort) == null || v.call(t));
285
- }, u = () => {
286
- e = !0;
287
- }, l = () => {
288
- e = !1;
289
- }, y = () => ut.isFocused() && (t.networkMode === "always" || ct.isOnline()) && t.canRun(), g = () => ht(t.networkMode) && t.canRun(), c = (h) => {
290
- var v;
291
- r || (r = !0, (v = t.onSuccess) == null || v.call(t, h), i == null || i(), a.resolve(h));
292
- }, p = (h) => {
293
- var v;
294
- r || (r = !0, (v = t.onError) == null || v.call(t, h), i == null || i(), a.reject(h));
295
- }, d = () => new Promise((h) => {
296
- var v;
297
- i = (C) => {
298
- (r || y()) && h(C);
299
- }, (v = t.onPause) == null || v.call(t);
300
- }).then(() => {
301
- var h;
302
- i = void 0, r || (h = t.onContinue) == null || h.call(t);
303
- }), E = () => {
304
- if (r)
305
- return;
306
- let h;
307
- const v = s === 0 ? t.initialPromise : void 0;
308
- try {
309
- h = v ?? t.fn();
310
- } catch (C) {
311
- h = Promise.reject(C);
312
- }
313
- Promise.resolve(h).then(c).catch((C) => {
314
- var oe;
315
- if (r)
316
- return;
317
- const R = t.retry ?? (J ? 0 : 3), O = t.retryDelay ?? jt, q = typeof O == "function" ? O(s, C) : O, Z = R === !0 || typeof R == "number" && s < R || typeof R == "function" && R(s, C);
318
- if (e || !Z) {
319
- p(C);
320
- return;
321
- }
322
- s++, (oe = t.onFail) == null || oe.call(t, s, C), It(q).then(() => y() ? void 0 : d()).then(() => {
323
- e ? p(C) : E();
324
- });
325
- });
326
- };
327
- return {
328
- promise: a,
329
- cancel: o,
330
- continue: () => (i == null || i(), a),
331
- cancelRetry: u,
332
- continueRetry: l,
333
- canStart: g,
334
- start: () => (g() ? E() : d().then(E), a)
335
- };
336
- }
337
- var kt = (t) => setTimeout(t, 0);
338
- function xt() {
339
- let t = [], e = 0, s = (u) => {
340
- u();
341
- }, r = (u) => {
342
- u();
343
- }, i = kt;
344
- const a = (u) => {
345
- e ? t.push(u) : i(() => {
346
- s(u);
347
- });
348
- }, o = () => {
349
- const u = t;
350
- t = [], u.length && i(() => {
351
- r(() => {
352
- u.forEach((l) => {
353
- s(l);
354
- });
355
- });
356
- });
357
- };
358
- return {
359
- batch: (u) => {
360
- let l;
361
- e++;
362
- try {
363
- l = u();
364
- } finally {
365
- e--, e || o();
366
- }
367
- return l;
368
- },
369
- /**
370
- * All calls to the wrapped function will be batched.
371
- */
372
- batchCalls: (u) => (...l) => {
373
- a(() => {
374
- u(...l);
375
- });
376
- },
377
- schedule: a,
378
- /**
379
- * Use this method to set a custom notify function.
380
- * This can be used to for example wrap notifications with `React.act` while running tests.
381
- */
382
- setNotifyFunction: (u) => {
383
- s = u;
384
- },
385
- /**
386
- * Use this method to set a custom function to batch notifications together into a single tick.
387
- * By default React Query will use the batch function provided by ReactDOM or React Native.
388
- */
389
- setBatchNotifyFunction: (u) => {
390
- r = u;
391
- },
392
- setScheduler: (u) => {
393
- i = u;
394
- }
395
- };
396
- }
397
- var Le = xt(), K, nt, qt = (nt = class {
398
- constructor() {
399
- b(this, K);
400
- }
401
- destroy() {
402
- this.clearGcTimeout();
403
- }
404
- scheduleGc() {
405
- this.clearGcTimeout(), we(this.gcTime) && f(this, K, setTimeout(() => {
406
- this.optionalRemove();
407
- }, this.gcTime));
408
- }
409
- updateGcTime(t) {
410
- this.gcTime = Math.max(
411
- this.gcTime || 0,
412
- t ?? (J ? 1 / 0 : 5 * 60 * 1e3)
413
- );
414
- }
415
- clearGcTimeout() {
416
- n(this, K) && (clearTimeout(n(this, K)), f(this, K, void 0));
417
- }
418
- }, K = new WeakMap(), nt), te, se, D, B, F, he, $, A, U, it, Os = (it = class extends qt {
419
- constructor(e) {
420
- super();
421
- b(this, A);
422
- b(this, te);
423
- b(this, se);
424
- b(this, D);
425
- b(this, B);
426
- b(this, F);
427
- b(this, he);
428
- b(this, $);
429
- f(this, $, !1), f(this, he, e.defaultOptions), this.setOptions(e.options), this.observers = [], f(this, B, e.client), f(this, D, n(this, B).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, f(this, te, Ut(this.options)), this.state = e.state ?? n(this, te), this.scheduleGc();
430
- }
431
- get meta() {
432
- return this.options.meta;
433
- }
434
- get promise() {
435
- var e;
436
- return (e = n(this, F)) == null ? void 0 : e.promise;
437
- }
438
- setOptions(e) {
439
- this.options = { ...n(this, he), ...e }, this.updateGcTime(this.options.gcTime);
440
- }
441
- optionalRemove() {
442
- !this.observers.length && this.state.fetchStatus === "idle" && n(this, D).remove(this);
443
- }
444
- setData(e, s) {
445
- const r = Fe(this.state.data, e, this.options);
446
- return w(this, A, U).call(this, {
447
- data: r,
448
- type: "success",
449
- dataUpdatedAt: s == null ? void 0 : s.updatedAt,
450
- manual: s == null ? void 0 : s.manual
451
- }), r;
452
- }
453
- setState(e, s) {
454
- w(this, A, U).call(this, { type: "setState", state: e, setStateOptions: s });
455
- }
456
- cancel(e) {
457
- var r, i;
458
- const s = (r = n(this, F)) == null ? void 0 : r.promise;
459
- return (i = n(this, F)) == null || i.cancel(e), s ? s.then(Se).catch(Se) : Promise.resolve();
460
- }
461
- destroy() {
462
- super.destroy(), this.cancel({ silent: !0 });
463
- }
464
- reset() {
465
- this.destroy(), this.setState(n(this, te));
466
- }
467
- isActive() {
468
- return this.observers.some(
469
- (e) => k(e.options.enabled, this) !== !1
470
- );
471
- }
472
- isDisabled() {
473
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === ve || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
474
- }
475
- isStale() {
476
- return this.state.isInvalidated ? !0 : this.getObserversCount() > 0 ? this.observers.some(
477
- (e) => e.getCurrentResult().isStale
478
- ) : this.state.data === void 0;
479
- }
480
- isStaleByTime(e = 0) {
481
- return this.state.isInvalidated || this.state.data === void 0 || !ot(this.state.dataUpdatedAt, e);
482
- }
483
- onFocus() {
484
- var s;
485
- const e = this.observers.find((r) => r.shouldFetchOnWindowFocus());
486
- e == null || e.refetch({ cancelRefetch: !1 }), (s = n(this, F)) == null || s.continue();
487
- }
488
- onOnline() {
489
- var s;
490
- const e = this.observers.find((r) => r.shouldFetchOnReconnect());
491
- e == null || e.refetch({ cancelRefetch: !1 }), (s = n(this, F)) == null || s.continue();
492
- }
493
- addObserver(e) {
494
- this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), n(this, D).notify({ type: "observerAdded", query: this, observer: e }));
495
- }
496
- removeObserver(e) {
497
- this.observers.includes(e) && (this.observers = this.observers.filter((s) => s !== e), this.observers.length || (n(this, F) && (n(this, $) ? n(this, F).cancel({ revert: !0 }) : n(this, F).cancelRetry()), this.scheduleGc()), n(this, D).notify({ type: "observerRemoved", query: this, observer: e }));
498
- }
499
- getObserversCount() {
500
- return this.observers.length;
501
- }
502
- invalidate() {
503
- this.state.isInvalidated || w(this, A, U).call(this, { type: "invalidate" });
504
- }
505
- fetch(e, s) {
506
- var l, y, g;
507
- if (this.state.fetchStatus !== "idle") {
508
- if (this.state.data !== void 0 && (s != null && s.cancelRefetch))
509
- this.cancel({ silent: !0 });
510
- else if (n(this, F))
511
- return n(this, F).continueRetry(), n(this, F).promise;
512
- }
513
- if (e && this.setOptions(e), !this.options.queryFn) {
514
- const c = this.observers.find((p) => p.options.queryFn);
515
- c && this.setOptions(c.options);
516
- }
517
- process.env.NODE_ENV !== "production" && (Array.isArray(this.options.queryKey) || console.error(
518
- "As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"
519
- ));
520
- const r = new AbortController(), i = (c) => {
521
- Object.defineProperty(c, "signal", {
522
- enumerable: !0,
523
- get: () => (f(this, $, !0), r.signal)
524
- });
525
- }, a = () => {
526
- const c = Pt(this.options, s), p = {
527
- client: n(this, B),
528
- queryKey: this.queryKey,
529
- meta: this.meta
530
- };
531
- return i(p), f(this, $, !1), this.options.persister ? this.options.persister(
532
- c,
533
- p,
534
- this
535
- ) : c(p);
536
- }, o = {
537
- fetchOptions: s,
538
- options: this.options,
539
- queryKey: this.queryKey,
540
- client: n(this, B),
541
- state: this.state,
542
- fetchFn: a
543
- };
544
- i(o), (l = this.options.behavior) == null || l.onFetch(
545
- o,
546
- this
547
- ), f(this, se, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((y = o.fetchOptions) == null ? void 0 : y.meta)) && w(this, A, U).call(this, { type: "fetch", meta: (g = o.fetchOptions) == null ? void 0 : g.meta });
548
- const u = (c) => {
549
- var p, d, E, h;
550
- ge(c) && c.silent || w(this, A, U).call(this, {
551
- type: "error",
552
- error: c
553
- }), ge(c) || ((d = (p = n(this, D).config).onError) == null || d.call(
554
- p,
555
- c,
556
- this
557
- ), (h = (E = n(this, D).config).onSettled) == null || h.call(
558
- E,
559
- this.state.data,
560
- c,
561
- this
562
- )), this.scheduleGc();
563
- };
564
- return f(this, F, At({
565
- initialPromise: s == null ? void 0 : s.initialPromise,
566
- fn: o.fetchFn,
567
- abort: r.abort.bind(r),
568
- onSuccess: (c) => {
569
- var p, d, E, h;
570
- if (c === void 0) {
571
- process.env.NODE_ENV !== "production" && console.error(
572
- `Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
573
- ), u(new Error(`${this.queryHash} data is undefined`));
574
- return;
575
- }
576
- try {
577
- this.setData(c);
578
- } catch (v) {
579
- u(v);
580
- return;
581
- }
582
- (d = (p = n(this, D).config).onSuccess) == null || d.call(p, c, this), (h = (E = n(this, D).config).onSettled) == null || h.call(
583
- E,
584
- c,
585
- this.state.error,
586
- this
587
- ), this.scheduleGc();
588
- },
589
- onError: u,
590
- onFail: (c, p) => {
591
- w(this, A, U).call(this, { type: "failed", failureCount: c, error: p });
592
- },
593
- onPause: () => {
594
- w(this, A, U).call(this, { type: "pause" });
595
- },
596
- onContinue: () => {
597
- w(this, A, U).call(this, { type: "continue" });
598
- },
599
- retry: o.options.retry,
600
- retryDelay: o.options.retryDelay,
601
- networkMode: o.options.networkMode,
602
- canRun: () => !0
603
- })), n(this, F).start();
604
- }
605
- }, te = new WeakMap(), se = new WeakMap(), D = new WeakMap(), B = new WeakMap(), F = new WeakMap(), he = new WeakMap(), $ = new WeakMap(), A = new WeakSet(), U = function(e) {
606
- const s = (r) => {
607
- switch (e.type) {
608
- case "failed":
609
- return {
610
- ...r,
611
- fetchFailureCount: e.failureCount,
612
- fetchFailureReason: e.error
613
- };
614
- case "pause":
615
- return {
616
- ...r,
617
- fetchStatus: "paused"
618
- };
619
- case "continue":
620
- return {
621
- ...r,
622
- fetchStatus: "fetching"
623
- };
624
- case "fetch":
625
- return {
626
- ...r,
627
- ...dt(r.data, this.options),
628
- fetchMeta: e.meta ?? null
629
- };
630
- case "success":
631
- return {
632
- ...r,
633
- data: e.data,
634
- dataUpdateCount: r.dataUpdateCount + 1,
635
- dataUpdatedAt: e.dataUpdatedAt ?? Date.now(),
636
- error: null,
637
- isInvalidated: !1,
638
- status: "success",
639
- ...!e.manual && {
640
- fetchStatus: "idle",
641
- fetchFailureCount: 0,
642
- fetchFailureReason: null
643
- }
644
- };
645
- case "error":
646
- const i = e.error;
647
- return ge(i) && i.revert && n(this, se) ? { ...n(this, se), fetchStatus: "idle" } : {
648
- ...r,
649
- error: i,
650
- errorUpdateCount: r.errorUpdateCount + 1,
651
- errorUpdatedAt: Date.now(),
652
- fetchFailureCount: r.fetchFailureCount + 1,
653
- fetchFailureReason: i,
654
- fetchStatus: "idle",
655
- status: "error"
656
- };
657
- case "invalidate":
658
- return {
659
- ...r,
660
- isInvalidated: !0
661
- };
662
- case "setState":
663
- return {
664
- ...r,
665
- ...e.state
666
- };
667
- }
668
- };
669
- this.state = s(this.state), Le.batch(() => {
670
- this.observers.forEach((r) => {
671
- r.onQueryUpdate();
672
- }), n(this, D).notify({ query: this, type: "updated", action: e });
673
- });
674
- }, it);
675
- function dt(t, e) {
676
- return {
677
- fetchFailureCount: 0,
678
- fetchFailureReason: null,
679
- fetchStatus: ht(e.networkMode) ? "fetching" : "paused",
680
- ...t === void 0 && {
681
- error: null,
682
- status: "pending"
683
- }
684
- };
685
- }
686
- function Ut(t) {
687
- const e = typeof t.initialData == "function" ? t.initialData() : t.initialData, s = e !== void 0, r = s ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
688
- return {
689
- data: e,
690
- dataUpdateCount: 0,
691
- dataUpdatedAt: s ? r ?? Date.now() : 0,
692
- error: null,
693
- errorUpdateCount: 0,
694
- errorUpdatedAt: 0,
695
- fetchFailureCount: 0,
696
- fetchFailureReason: null,
697
- fetchMeta: null,
698
- isInvalidated: !1,
699
- status: s ? "success" : "pending",
700
- fetchStatus: "idle"
701
- };
702
- }
703
- var P, m, le, I, G, re, L, M, de, ne, ie, z, V, _, ae, S, ue, Pe, Te, De, je, Ae, ke, xe, yt, at, ft = (at = class extends Qe {
704
- constructor(e, s) {
705
- super();
706
- b(this, S);
707
- b(this, P);
708
- b(this, m);
709
- b(this, le);
710
- b(this, I);
711
- b(this, G);
712
- b(this, re);
713
- b(this, L);
714
- b(this, M);
715
- b(this, de);
716
- b(this, ne);
717
- // This property keeps track of the last query with defined data.
718
- // It will be used to pass the previous data and query to the placeholder function between renders.
719
- b(this, ie);
720
- b(this, z);
721
- b(this, V);
722
- b(this, _);
723
- b(this, ae, /* @__PURE__ */ new Set());
724
- this.options = s, f(this, P, e), f(this, M, null), f(this, L, Ie()), this.options.experimental_prefetchInRender || n(this, L).reject(
725
- new Error("experimental_prefetchInRender feature flag is not enabled")
726
- ), this.bindMethods(), this.setOptions(s);
727
- }
728
- bindMethods() {
729
- this.refetch = this.refetch.bind(this);
730
- }
731
- onSubscribe() {
732
- this.listeners.size === 1 && (n(this, m).addObserver(this), Ze(n(this, m), this.options) ? w(this, S, ue).call(this) : this.updateResult(), w(this, S, je).call(this));
733
- }
734
- onUnsubscribe() {
735
- this.hasListeners() || this.destroy();
736
- }
737
- shouldFetchOnReconnect() {
738
- return qe(
739
- n(this, m),
740
- this.options,
741
- this.options.refetchOnReconnect
742
- );
743
- }
744
- shouldFetchOnWindowFocus() {
745
- return qe(
746
- n(this, m),
747
- this.options,
748
- this.options.refetchOnWindowFocus
749
- );
750
- }
751
- destroy() {
752
- this.listeners = /* @__PURE__ */ new Set(), w(this, S, Ae).call(this), w(this, S, ke).call(this), n(this, m).removeObserver(this);
753
- }
754
- setOptions(e) {
755
- const s = this.options, r = n(this, m);
756
- if (this.options = n(this, P).defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof k(this.options.enabled, n(this, m)) != "boolean")
757
- throw new Error(
758
- "Expected enabled to be a boolean or a callback that returns a boolean"
759
- );
760
- w(this, S, xe).call(this), n(this, m).setOptions(this.options), s._defaulted && !Ce(this.options, s) && n(this, P).getQueryCache().notify({
761
- type: "observerOptionsUpdated",
762
- query: n(this, m),
763
- observer: this
764
- });
765
- const i = this.hasListeners();
766
- i && We(
767
- n(this, m),
768
- r,
769
- this.options,
770
- s
771
- ) && w(this, S, ue).call(this), this.updateResult(), i && (n(this, m) !== r || k(this.options.enabled, n(this, m)) !== k(s.enabled, n(this, m)) || pe(this.options.staleTime, n(this, m)) !== pe(s.staleTime, n(this, m))) && w(this, S, Pe).call(this);
772
- const a = w(this, S, Te).call(this);
773
- i && (n(this, m) !== r || k(this.options.enabled, n(this, m)) !== k(s.enabled, n(this, m)) || a !== n(this, _)) && w(this, S, De).call(this, a);
774
- }
775
- getOptimisticResult(e) {
776
- const s = n(this, P).getQueryCache().build(n(this, P), e), r = this.createResult(s, e);
777
- return Nt(this, r) && (f(this, I, r), f(this, re, this.options), f(this, G, n(this, m).state)), r;
778
- }
779
- getCurrentResult() {
780
- return n(this, I);
781
- }
782
- trackResult(e, s) {
783
- const r = {};
784
- return Object.keys(e).forEach((i) => {
785
- Object.defineProperty(r, i, {
786
- configurable: !1,
787
- enumerable: !0,
788
- get: () => (this.trackProp(i), s == null || s(i), e[i])
789
- });
790
- }), r;
791
- }
792
- trackProp(e) {
793
- n(this, ae).add(e);
794
- }
795
- getCurrentQuery() {
796
- return n(this, m);
797
- }
798
- refetch({ ...e } = {}) {
799
- return this.fetch({
800
- ...e
801
- });
802
- }
803
- fetchOptimistic(e) {
804
- const s = n(this, P).defaultQueryOptions(e), r = n(this, P).getQueryCache().build(n(this, P), s);
805
- return r.fetch().then(() => this.createResult(r, s));
806
- }
807
- fetch(e) {
808
- return w(this, S, ue).call(this, {
809
- ...e,
810
- cancelRefetch: e.cancelRefetch ?? !0
811
- }).then(() => (this.updateResult(), n(this, I)));
812
- }
813
- createResult(e, s) {
814
- var Be;
815
- const r = n(this, m), i = this.options, a = n(this, I), o = n(this, G), u = n(this, re), y = e !== r ? e.state : n(this, le), { state: g } = e;
816
- let c = { ...g }, p = !1, d;
817
- if (s._optimisticResults) {
818
- const T = this.hasListeners(), fe = !T && Ze(e, s), W = T && We(e, r, s, i);
819
- (fe || W) && (c = {
820
- ...c,
821
- ...dt(g.data, e.options)
822
- }), s._optimisticResults === "isRestoring" && (c.fetchStatus = "idle");
823
- }
824
- let { error: E, errorUpdatedAt: h, status: v } = c;
825
- d = c.data;
826
- let C = !1;
827
- if (s.placeholderData !== void 0 && d === void 0 && v === "pending") {
828
- let T;
829
- a != null && a.isPlaceholderData && s.placeholderData === (u == null ? void 0 : u.placeholderData) ? (T = a.data, C = !0) : T = typeof s.placeholderData == "function" ? s.placeholderData(
830
- (Be = n(this, ie)) == null ? void 0 : Be.state.data,
831
- n(this, ie)
832
- ) : s.placeholderData, T !== void 0 && (v = "success", d = Fe(
833
- a == null ? void 0 : a.data,
834
- T,
835
- s
836
- ), p = !0);
837
- }
838
- if (s.select && d !== void 0 && !C)
839
- if (a && d === (o == null ? void 0 : o.data) && s.select === n(this, de))
840
- d = n(this, ne);
841
- else
842
- try {
843
- f(this, de, s.select), d = s.select(d), d = Fe(a == null ? void 0 : a.data, d, s), f(this, ne, d), f(this, M, null);
844
- } catch (T) {
845
- f(this, M, T);
846
- }
847
- n(this, M) && (E = n(this, M), d = n(this, ne), h = Date.now(), v = "error");
848
- const R = c.fetchStatus === "fetching", O = v === "pending", q = v === "error", Z = O && R, oe = d !== void 0, x = {
849
- status: v,
850
- fetchStatus: c.fetchStatus,
851
- isPending: O,
852
- isSuccess: v === "success",
853
- isError: q,
854
- isInitialLoading: Z,
855
- isLoading: Z,
856
- data: d,
857
- dataUpdatedAt: c.dataUpdatedAt,
858
- error: E,
859
- errorUpdatedAt: h,
860
- failureCount: c.fetchFailureCount,
861
- failureReason: c.fetchFailureReason,
862
- errorUpdateCount: c.errorUpdateCount,
863
- isFetched: c.dataUpdateCount > 0 || c.errorUpdateCount > 0,
864
- isFetchedAfterMount: c.dataUpdateCount > y.dataUpdateCount || c.errorUpdateCount > y.errorUpdateCount,
865
- isFetching: R,
866
- isRefetching: R && !O,
867
- isLoadingError: q && !oe,
868
- isPaused: c.fetchStatus === "paused",
869
- isPlaceholderData: p,
870
- isRefetchError: q && oe,
871
- isStale: Me(e, s),
872
- refetch: this.refetch,
873
- promise: n(this, L)
874
- };
875
- if (this.options.experimental_prefetchInRender) {
876
- const T = (ye) => {
877
- x.status === "error" ? ye.reject(x.error) : x.data !== void 0 && ye.resolve(x.data);
878
- }, fe = () => {
879
- const ye = f(this, L, x.promise = Ie());
880
- T(ye);
881
- }, W = n(this, L);
882
- switch (W.status) {
883
- case "pending":
884
- e.queryHash === r.queryHash && T(W);
885
- break;
886
- case "fulfilled":
887
- (x.status === "error" || x.data !== W.value) && fe();
888
- break;
889
- case "rejected":
890
- (x.status !== "error" || x.error !== W.reason) && fe();
891
- break;
892
- }
893
- }
894
- return x;
895
- }
896
- updateResult() {
897
- const e = n(this, I), s = this.createResult(n(this, m), this.options);
898
- if (f(this, G, n(this, m).state), f(this, re, this.options), n(this, G).data !== void 0 && f(this, ie, n(this, m)), Ce(s, e))
899
- return;
900
- f(this, I, s);
901
- const r = () => {
902
- if (!e)
903
- return !0;
904
- const { notifyOnChangeProps: i } = this.options, a = typeof i == "function" ? i() : i;
905
- if (a === "all" || !a && !n(this, ae).size)
906
- return !0;
907
- const o = new Set(
908
- a ?? n(this, ae)
909
- );
910
- return this.options.throwOnError && o.add("error"), Object.keys(n(this, I)).some((u) => {
911
- const l = u;
912
- return n(this, I)[l] !== e[l] && o.has(l);
913
- });
914
- };
915
- w(this, S, yt).call(this, { listeners: r() });
916
- }
917
- onQueryUpdate() {
918
- this.updateResult(), this.hasListeners() && w(this, S, je).call(this);
919
- }
920
- }, P = new WeakMap(), m = new WeakMap(), le = new WeakMap(), I = new WeakMap(), G = new WeakMap(), re = new WeakMap(), L = new WeakMap(), M = new WeakMap(), de = new WeakMap(), ne = new WeakMap(), ie = new WeakMap(), z = new WeakMap(), V = new WeakMap(), _ = new WeakMap(), ae = new WeakMap(), S = new WeakSet(), ue = function(e) {
921
- w(this, S, xe).call(this);
922
- let s = n(this, m).fetch(
923
- this.options,
924
- e
925
- );
926
- return e != null && e.throwOnError || (s = s.catch(Se)), s;
927
- }, Pe = function() {
928
- w(this, S, Ae).call(this);
929
- const e = pe(
930
- this.options.staleTime,
931
- n(this, m)
932
- );
933
- if (J || n(this, I).isStale || !we(e))
934
- return;
935
- const r = ot(n(this, I).dataUpdatedAt, e) + 1;
936
- f(this, z, setTimeout(() => {
937
- n(this, I).isStale || this.updateResult();
938
- }, r));
939
- }, Te = function() {
940
- return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(n(this, m)) : this.options.refetchInterval) ?? !1;
941
- }, De = function(e) {
942
- w(this, S, ke).call(this), f(this, _, e), !(J || k(this.options.enabled, n(this, m)) === !1 || !we(n(this, _)) || n(this, _) === 0) && f(this, V, setInterval(() => {
943
- (this.options.refetchIntervalInBackground || ut.isFocused()) && w(this, S, ue).call(this);
944
- }, n(this, _)));
945
- }, je = function() {
946
- w(this, S, Pe).call(this), w(this, S, De).call(this, w(this, S, Te).call(this));
947
- }, Ae = function() {
948
- n(this, z) && (clearTimeout(n(this, z)), f(this, z, void 0));
949
- }, ke = function() {
950
- n(this, V) && (clearInterval(n(this, V)), f(this, V, void 0));
951
- }, xe = function() {
952
- const e = n(this, P).getQueryCache().build(n(this, P), this.options);
953
- if (e === n(this, m))
954
- return;
955
- const s = n(this, m);
956
- f(this, m, e), f(this, le, e.state), this.hasListeners() && (s == null || s.removeObserver(this), e.addObserver(this));
957
- }, yt = function(e) {
958
- Le.batch(() => {
959
- e.listeners && this.listeners.forEach((s) => {
960
- s(n(this, I));
961
- }), n(this, P).getQueryCache().notify({
962
- query: n(this, m),
963
- type: "observerResultsUpdated"
964
- });
965
- });
966
- }, at);
967
- function Qt(t, e) {
968
- return k(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
969
- }
970
- function Ze(t, e) {
971
- return Qt(t, e) || t.state.data !== void 0 && qe(t, e, e.refetchOnMount);
972
- }
973
- function qe(t, e, s) {
974
- if (k(e.enabled, t) !== !1) {
975
- const r = typeof s == "function" ? s(t) : s;
976
- return r === "always" || r !== !1 && Me(t, e);
977
- }
978
- return !1;
979
- }
980
- function We(t, e, s, r) {
981
- return (t !== e || k(r.enabled, t) === !1) && (!s.suspense || t.state.status !== "error") && Me(t, s);
982
- }
983
- function Me(t, e) {
984
- return k(e.enabled, t) !== !1 && t.isStaleByTime(pe(e.staleTime, t));
985
- }
986
- function Nt(t, e) {
987
- return !Ce(t.getCurrentResult(), e);
988
- }
989
- var pt = j.createContext(
990
- void 0
991
- ), vt = (t) => {
992
- const e = j.useContext(pt);
993
- if (t)
994
- return t;
995
- if (!e)
996
- throw new Error("No QueryClient set, use QueryClientProvider to set one");
997
- return e;
998
- }, Fs = ({
999
- client: t,
1000
- children: e
1001
- }) => (j.useEffect(() => (t.mount(), () => {
1002
- t.unmount();
1003
- }), [t]), /* @__PURE__ */ Ot.jsx(pt.Provider, { value: t, children: e })), mt = j.createContext(!1), Lt = () => j.useContext(mt);
1004
- mt.Provider;
1005
- function Mt() {
1006
- let t = !1;
1007
- return {
1008
- clearReset: () => {
1009
- t = !1;
1010
- },
1011
- reset: () => {
1012
- t = !0;
1013
- },
1014
- isReset: () => t
1015
- };
1016
- }
1017
- var _t = j.createContext(Mt()), Ht = () => j.useContext(_t);
1018
- function Kt(t, e) {
1019
- return typeof t == "function" ? t(...e) : !!t;
1020
- }
1021
- function Ye() {
1022
- }
1023
- var Bt = (t, e) => {
1024
- (t.suspense || t.throwOnError || t.experimental_prefetchInRender) && (e.isReset() || (t.retryOnMount = !1));
1025
- }, $t = (t) => {
1026
- j.useEffect(() => {
1027
- t.clearReset();
1028
- }, [t]);
1029
- }, Gt = ({
1030
- result: t,
1031
- errorResetBoundary: e,
1032
- throwOnError: s,
1033
- query: r,
1034
- suspense: i
1035
- }) => t.isError && !e.isReset() && !t.isFetching && r && (i && t.data === void 0 || Kt(s, [t.error, r])), zt = (t, e) => e.state.data === void 0, Vt = (t) => {
1036
- const e = t.staleTime;
1037
- t.suspense && (t.staleTime = typeof e == "function" ? (...s) => Math.max(e(...s), 1e3) : Math.max(e ?? 1e3, 1e3), typeof t.gcTime == "number" && (t.gcTime = Math.max(t.gcTime, 1e3)));
1038
- }, Jt = (t, e) => t.isLoading && t.isFetching && !e, Zt = (t, e) => (t == null ? void 0 : t.suspense) && e.isPending, Xe = (t, e, s) => e.fetchOptimistic(t).catch(() => {
1039
- s.clearReset();
1040
- });
1041
- function bt(t, e, s) {
1042
- var c, p, d, E, h;
1043
- if (process.env.NODE_ENV !== "production" && (typeof t != "object" || Array.isArray(t)))
1044
- throw new Error(
1045
- 'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
1046
- );
1047
- const r = vt(s), i = Lt(), a = Ht(), o = r.defaultQueryOptions(t);
1048
- (p = (c = r.getDefaultOptions().queries) == null ? void 0 : c._experimental_beforeQuery) == null || p.call(
1049
- c,
1050
- o
1051
- ), process.env.NODE_ENV !== "production" && (o.queryFn || console.error(
1052
- `[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
1053
- )), o._optimisticResults = i ? "isRestoring" : "optimistic", Vt(o), Bt(o, a), $t(a);
1054
- const u = !r.getQueryCache().get(o.queryHash), [l] = j.useState(
1055
- () => new e(
1056
- r,
1057
- o
1058
- )
1059
- ), y = l.getOptimisticResult(o), g = !i && t.subscribed !== !1;
1060
- if (j.useSyncExternalStore(
1061
- j.useCallback(
1062
- (v) => {
1063
- const C = g ? l.subscribe(Le.batchCalls(v)) : Ye;
1064
- return l.updateResult(), C;
1065
- },
1066
- [l, g]
1067
- ),
1068
- () => l.getCurrentResult(),
1069
- () => l.getCurrentResult()
1070
- ), j.useEffect(() => {
1071
- l.setOptions(o);
1072
- }, [o, l]), Zt(o, y))
1073
- throw Xe(o, l, a);
1074
- if (Gt({
1075
- result: y,
1076
- errorResetBoundary: a,
1077
- throwOnError: o.throwOnError,
1078
- query: r.getQueryCache().get(o.queryHash),
1079
- suspense: o.suspense
1080
- }))
1081
- throw y.error;
1082
- if ((E = (d = r.getDefaultOptions().queries) == null ? void 0 : d._experimental_afterQuery) == null || E.call(
1083
- d,
1084
- o,
1085
- y
1086
- ), o.experimental_prefetchInRender && !J && Jt(y, i)) {
1087
- const v = u ? (
1088
- // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
1089
- Xe(o, l, a)
1090
- ) : (
1091
- // subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
1092
- (h = r.getQueryCache().get(o.queryHash)) == null ? void 0 : h.promise
1093
- );
1094
- v == null || v.catch(Ye).finally(() => {
1095
- l.updateResult();
1096
- });
1097
- }
1098
- return o.notifyOnChangeProps ? y : l.trackResult(y);
1099
- }
1100
- function Wt(t, e) {
1101
- return bt(t, ft, e);
1102
- }
1103
- function Yt(t, e) {
1104
- return process.env.NODE_ENV !== "production" && t.queryFn === ve && console.error("skipToken is not allowed for useSuspenseQuery"), bt(
1105
- {
1106
- ...t,
1107
- enabled: !0,
1108
- suspense: !0,
1109
- throwOnError: zt,
1110
- placeholderData: void 0
1111
- },
1112
- ft,
1113
- e
1114
- );
1115
- }
1116
- const Xt = /^(\w+:\/\/[^/?]+)?([^?]*)(\?.*)?$/, es = (t) => t.filter(
1117
- (e) => e != null && e !== !1 && (typeof e == "string" || typeof e == "number")
1118
- ).map((e) => `${e}`).filter((e) => e), ts = (t) => {
1119
- const e = t.join("/"), [, s = "", r = ""] = e.match(Xt) ?? [];
1120
- return {
1121
- prefix: s,
1122
- pathname: r.split("/").filter((i) => i !== "")
1123
- };
1124
- }, ss = (t) => {
1125
- const { prefix: e, pathname: s } = t;
1126
- let r = e;
1127
- return s.length > 0 ? (r ? r += "/" : r = "/", r += s.join("/")) : r || (r = "/"), r;
1128
- }, et = (...t) => {
1129
- const e = es(t), s = ts(e);
1130
- return ss(s);
1131
- }, gt = Object.freeze({
1132
- API_IDENTITIES: ["api-identities"]
1133
- }), Is = () => {
1134
- const t = vt();
1135
- return {
1136
- invalidateCache: async (e) => {
1137
- await t.invalidateQueries({ queryKey: gt[e] });
1138
- }
1139
- };
1140
- }, rs = "no-dehydrate", ce = (...t) => {
1141
- const e = t.filter((s) => !!s).map((s) => s.replace(/(^\/+|\/+$)/g, "")).join("/").replace(/(^\/+|\/+$)/g, "");
1142
- return e ? `/${e}` : "/";
1143
- }, _e = (t, e) => {
1144
- for (const s of t) {
1145
- const r = He(s, e);
1146
- if (r !== void 0) return r;
1147
- }
1148
- }, He = (t, e, s = []) => {
1149
- const r = e(t, s);
1150
- if (r !== void 0) return r;
1151
- if (t.type === "category")
1152
- for (const i of t.items) {
1153
- const a = He(i, e, [
1154
- ...s,
1155
- t
1156
- ]);
1157
- if (a !== void 0) return a;
1158
- }
1159
- }, Ps = () => {
1160
- const t = me(), s = St().sidebar;
1161
- return _e(s, (r) => {
1162
- if (r.type === "doc" && ce(r.id) === t.pathname)
1163
- return r;
1164
- });
1165
- }, Ts = (t) => {
1166
- const e = me();
1167
- return He(t, (s) => {
1168
- if (s.type === "category" && s.link && ce(s.link.id) === e.pathname || s.type === "doc" && ce(s.id) === e.pathname)
1169
- return !0;
1170
- });
1171
- }, Ds = () => {
1172
- const t = me().pathname, s = St().sidebar;
1173
- let r, i, a = !1;
1174
- return _e(s, (o) => {
1175
- const u = o.type === "doc" ? ce(o.id) : o.type === "category" && o.link ? ce(o.link.id) : void 0;
1176
- if (u) {
1177
- if (a)
1178
- return i = { label: o.label, id: u }, !0;
1179
- t === u ? a = !0 : r = { label: o.label, id: u };
1180
- }
1181
- }), { prev: r, next: i };
1182
- }, ns = Et(
1183
- void 0
1184
- ), Ke = () => {
1185
- const t = Ct(ns);
1186
- if (!t)
1187
- throw new Error("useZudoku must be used within a ZudokuProvider.");
1188
- return t;
1189
- }, js = () => {
1190
- const { getApiIdentities: t } = Ke();
1191
- return Wt({
1192
- queryFn: t,
1193
- queryKey: gt.API_IDENTITIES
1194
- });
1195
- }, St = () => {
1196
- var c;
1197
- const { getPluginSidebar: t, sidebars: e, topNavigation: s, options: r } = Ke(), i = me(), a = fs(), o = (c = r.protectedRoutes) == null ? void 0 : c.some(
1198
- (p) => ze(p, i.pathname)
1199
- );
1200
- let u = Object.entries(e).find(([, p]) => _e(p, (d) => {
1201
- if ((d.type === "doc" ? et(d.id) : d.type === "category" && d.link ? et(d.link.id) : void 0) === i.pathname)
1202
- return d;
1203
- }));
1204
- const l = s.find((p) => p.id === (u == null ? void 0 : u[0])) ?? s.find((p) => ze(p.id, i.pathname));
1205
- l && !u && l.id in e && (u = ["", e[l.id]]);
1206
- const { data: y } = Yt({
1207
- queryFn: () => t(i.pathname),
1208
- // We just want to suspend here and don't store in SSR dehydrated state
1209
- queryKey: ["plugin-sidebar", rs, i.pathname]
1210
- });
1211
- return {
1212
- sidebar: a.isAuthEnabled && !a.isAuthenticated && o ? [] : [...u ? u[1] : [], ...y],
1213
- topNavItem: l
1214
- };
1215
- }, tt = (t) => {
1216
- let e;
1217
- const s = /* @__PURE__ */ new Set(), r = (y, g) => {
1218
- const c = typeof y == "function" ? y(e) : y;
1219
- if (!Object.is(c, e)) {
1220
- const p = e;
1221
- e = g ?? (typeof c != "object" || c === null) ? c : Object.assign({}, e, c), s.forEach((d) => d(e, p));
1222
- }
1223
- }, i = () => e, u = { setState: r, getState: i, getInitialState: () => l, subscribe: (y) => (s.add(y), () => s.delete(y)) }, l = e = t(r, i, u);
1224
- return u;
1225
- }, is = (t) => t ? tt(t) : tt, as = (t) => t;
1226
- function os(t, e = as) {
1227
- const s = Ge.useSyncExternalStore(
1228
- t.subscribe,
1229
- () => e(t.getState()),
1230
- () => e(t.getInitialState())
1231
- );
1232
- return Ge.useDebugValue(s), s;
1233
- }
1234
- const us = (t) => {
1235
- const e = is(t), s = (r) => os(e, r);
1236
- return Object.assign(s, e), s;
1237
- }, cs = (t) => us;
1238
- function wt(t, e) {
1239
- let s;
1240
- try {
1241
- s = t();
1242
- } catch {
1243
- return;
1244
- }
1245
- return {
1246
- getItem: (i) => {
1247
- var a;
1248
- const o = (l) => l === null ? null : JSON.parse(l, void 0), u = (a = s.getItem(i)) != null ? a : null;
1249
- return u instanceof Promise ? u.then(o) : o(u);
1250
- },
1251
- setItem: (i, a) => s.setItem(
1252
- i,
1253
- JSON.stringify(a, void 0)
1254
- ),
1255
- removeItem: (i) => s.removeItem(i)
1256
- };
1257
- }
1258
- const Ue = (t) => (e) => {
1259
- try {
1260
- const s = t(e);
1261
- return s instanceof Promise ? s : {
1262
- then(r) {
1263
- return Ue(r)(s);
1264
- },
1265
- catch(r) {
1266
- return this;
1267
- }
1268
- };
1269
- } catch (s) {
1270
- return {
1271
- then(r) {
1272
- return this;
1273
- },
1274
- catch(r) {
1275
- return Ue(r)(s);
1276
- }
1277
- };
1278
- }
1279
- }, hs = (t, e) => (s, r, i) => {
1280
- let a = {
1281
- storage: wt(() => localStorage),
1282
- partialize: (h) => h,
1283
- version: 0,
1284
- merge: (h, v) => ({
1285
- ...v,
1286
- ...h
1287
- }),
1288
- ...e
1289
- }, o = !1;
1290
- const u = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set();
1291
- let y = a.storage;
1292
- if (!y)
1293
- return t(
1294
- (...h) => {
1295
- console.warn(
1296
- `[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`
1297
- ), s(...h);
1298
- },
1299
- r,
1300
- i
1301
- );
1302
- const g = () => {
1303
- const h = a.partialize({ ...r() });
1304
- return y.setItem(a.name, {
1305
- state: h,
1306
- version: a.version
1307
- });
1308
- }, c = i.setState;
1309
- i.setState = (h, v) => {
1310
- c(h, v), g();
1311
- };
1312
- const p = t(
1313
- (...h) => {
1314
- s(...h), g();
1315
- },
1316
- r,
1317
- i
1318
- );
1319
- i.getInitialState = () => p;
1320
- let d;
1321
- const E = () => {
1322
- var h, v;
1323
- if (!y) return;
1324
- o = !1, u.forEach((R) => {
1325
- var O;
1326
- return R((O = r()) != null ? O : p);
1327
- });
1328
- const C = ((v = a.onRehydrateStorage) == null ? void 0 : v.call(a, (h = r()) != null ? h : p)) || void 0;
1329
- return Ue(y.getItem.bind(y))(a.name).then((R) => {
1330
- if (R)
1331
- if (typeof R.version == "number" && R.version !== a.version) {
1332
- if (a.migrate) {
1333
- const O = a.migrate(
1334
- R.state,
1335
- R.version
1336
- );
1337
- return O instanceof Promise ? O.then((q) => [!0, q]) : [!0, O];
1338
- }
1339
- console.error(
1340
- "State loaded from storage couldn't be migrated since no migrate function was provided"
1341
- );
1342
- } else
1343
- return [!1, R.state];
1344
- return [!1, void 0];
1345
- }).then((R) => {
1346
- var O;
1347
- const [q, Z] = R;
1348
- if (d = a.merge(
1349
- Z,
1350
- (O = r()) != null ? O : p
1351
- ), s(d, !0), q)
1352
- return g();
1353
- }).then(() => {
1354
- C == null || C(d, void 0), d = r(), o = !0, l.forEach((R) => R(d));
1355
- }).catch((R) => {
1356
- C == null || C(void 0, R);
1357
- });
1358
- };
1359
- return i.persist = {
1360
- setOptions: (h) => {
1361
- a = {
1362
- ...a,
1363
- ...h
1364
- }, h.storage && (y = h.storage);
1365
- },
1366
- clearStorage: () => {
1367
- y == null || y.removeItem(a.name);
1368
- },
1369
- getOptions: () => a,
1370
- rehydrate: () => E(),
1371
- hasHydrated: () => o,
1372
- onHydrate: (h) => (u.add(h), () => {
1373
- u.delete(h);
1374
- }),
1375
- onFinishHydration: (h) => (l.add(h), () => {
1376
- l.delete(h);
1377
- })
1378
- }, a.skipHydration || E(), d || p;
1379
- }, ls = hs, ds = (t) => {
1380
- const e = (s) => {
1381
- s.key === t.persist.getOptions().name && s.newValue && t.persist.rehydrate();
1382
- };
1383
- return window.addEventListener("storage", e), () => {
1384
- window.removeEventListener("storage", e);
1385
- };
1386
- }, Rt = cs()(
1387
- ls(
1388
- (t) => ({
1389
- isAuthenticated: !1,
1390
- isPending: !0,
1391
- profile: null,
1392
- providerData: null
1393
- }),
1394
- {
1395
- merge: (t, e) => ({
1396
- ...e,
1397
- isPending: !1,
1398
- ...typeof t == "object" ? t : {}
1399
- }),
1400
- name: "auth-state",
1401
- storage: wt(() => localStorage)
1402
- }
1403
- )
1404
- );
1405
- typeof window < "u" && ds(Rt);
1406
- const fs = () => {
1407
- const { authentication: t } = Ke(), e = Rt(), s = typeof t < "u";
1408
- return {
1409
- isAuthEnabled: s,
1410
- ...e,
1411
- login: async () => {
1412
- if (!s)
1413
- throw new Error("Authentication is not enabled.");
1414
- await t.signIn({
1415
- redirectTo: window.location.href
1416
- });
1417
- },
1418
- logout: async () => {
1419
- if (!s)
1420
- throw new Error("Authentication is not enabled.");
1421
- await t.signOut(), window.location.href = "/";
1422
- },
1423
- signup: async () => {
1424
- if (!s)
1425
- throw new Error("Authentication is not enabled.");
1426
- await t.signUp({
1427
- redirectTo: window.location.href
1428
- });
1429
- }
1430
- };
1431
- };
1432
- export {
1433
- Cs as A,
1434
- Es as B,
1435
- ut as C,
1436
- ct as D,
1437
- pe as E,
1438
- gs as F,
1439
- Ne as G,
1440
- ve as H,
1441
- Fs as I,
1442
- St as J,
1443
- _e as K,
1444
- Is as L,
1445
- gt as M,
1446
- Ts as N,
1447
- Os as Q,
1448
- qt as R,
1449
- Qe as S,
1450
- ns as Z,
1451
- Ps as a,
1452
- Ds as b,
1453
- At as c,
1454
- Yt as d,
1455
- Ke as e,
1456
- et as f,
1457
- vt as g,
1458
- Re as h,
1459
- Ye as i,
1460
- ce as j,
1461
- Kt as k,
1462
- fs as l,
1463
- Wt as m,
1464
- Le as n,
1465
- Rs as o,
1466
- cs as p,
1467
- ls as q,
1468
- wt as r,
1469
- Ce as s,
1470
- js as t,
1471
- Rt as u,
1472
- Ft as v,
1473
- Ss as w,
1474
- ws as x,
1475
- Se as y,
1476
- Pt as z
1477
- };
1478
- //# sourceMappingURL=hook-pPrHCB6G.js.map