zudoku 0.0.0-e8f19080 → 0.0.0-e95e2f88

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 (757) hide show
  1. package/cli.js +1 -0
  2. package/dist/app/ZuploBuildConfig.d.ts +1 -1
  3. package/dist/app/ZuploBuildConfig.js +1 -1
  4. package/dist/app/ZuploBuildConfig.js.map +1 -1
  5. package/dist/app/demo.js +1 -1
  6. package/dist/app/entry.client.js +6 -5
  7. package/dist/app/entry.client.js.map +1 -1
  8. package/dist/app/entry.server.js +3 -3
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/env.js +6 -6
  11. package/dist/app/env.js.map +1 -1
  12. package/dist/app/main.d.ts +1 -1
  13. package/dist/app/main.js +12 -6
  14. package/dist/app/main.js.map +1 -1
  15. package/dist/app/standalone.js +5 -2
  16. package/dist/app/standalone.js.map +1 -1
  17. package/dist/cli/cli.js +2 -1
  18. package/dist/cli/cli.js.map +1 -1
  19. package/dist/cli/cmds/build.d.ts +1 -1
  20. package/dist/cli/cmds/dev.d.ts +1 -1
  21. package/dist/cli/cmds/preview.d.ts +1 -1
  22. package/dist/cli/common/analytics/lib.js +1 -1
  23. package/dist/cli/common/analytics/lib.js.map +1 -1
  24. package/dist/cli/common/logger.js +0 -1
  25. package/dist/cli/common/logger.js.map +1 -1
  26. package/dist/cli/common/machine-id/lib.js +3 -2
  27. package/dist/cli/common/machine-id/lib.js.map +1 -1
  28. package/dist/cli/common/outdated.js +2 -1
  29. package/dist/cli/common/outdated.js.map +1 -1
  30. package/dist/cli/common/output.js +2 -3
  31. package/dist/cli/common/output.js.map +1 -1
  32. package/dist/cli/common/utils/box.js +2 -2
  33. package/dist/cli/common/utils/box.js.map +1 -1
  34. package/dist/cli/common/validators/lib.js +1 -1
  35. package/dist/cli/common/validators/lib.js.map +1 -1
  36. package/dist/cli/dev/handler.js +0 -4
  37. package/dist/cli/dev/handler.js.map +1 -1
  38. package/dist/codegen.js +2 -2
  39. package/dist/codegen.js.map +1 -1
  40. package/dist/config/config.d.ts +1 -0
  41. package/dist/config/loader.js.map +1 -1
  42. package/dist/config/validators/BuildSchema.d.ts +1 -1
  43. package/dist/config/validators/BuildSchema.js +3 -3
  44. package/dist/config/validators/BuildSchema.js.map +1 -1
  45. package/dist/config/validators/InputNavigationSchema.d.ts +194 -152
  46. package/dist/config/validators/InputNavigationSchema.js +9 -3
  47. package/dist/config/validators/InputNavigationSchema.js.map +1 -1
  48. package/dist/config/validators/InputNavigationSchema.test-d.js +2 -1
  49. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
  50. package/dist/config/validators/NavigationSchema.d.ts +1 -1
  51. package/dist/config/validators/NavigationSchema.js +5 -3
  52. package/dist/config/validators/NavigationSchema.js.map +1 -1
  53. package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
  54. package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
  55. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
  56. package/dist/config/validators/auth.d.ts +2 -2
  57. package/dist/config/validators/auth.js +1 -1
  58. package/dist/config/validators/auth.js.map +1 -1
  59. package/dist/config/validators/validate.d.ts +42 -31
  60. package/dist/config/validators/validate.js +10 -5
  61. package/dist/config/validators/validate.js.map +1 -1
  62. package/dist/config/validators/validate.test.js +1 -2
  63. package/dist/config/validators/validate.test.js.map +1 -1
  64. package/dist/index.d.ts +6 -5
  65. package/dist/index.js +2 -1
  66. package/dist/index.js.map +1 -1
  67. package/dist/lib/MissingIcon.d.ts +1 -1
  68. package/dist/lib/MissingIcon.js.map +1 -1
  69. package/dist/lib/auth/issuer.test.js +1 -0
  70. package/dist/lib/auth/issuer.test.js.map +1 -1
  71. package/dist/lib/authentication/AuthenticationPlugin.d.ts +1 -1
  72. package/dist/lib/authentication/authentication.d.ts +1 -3
  73. package/dist/lib/authentication/components/CallbackHandler.js +11 -9
  74. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  75. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
  76. package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
  77. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
  78. package/dist/lib/authentication/components/SignOut.js +1 -1
  79. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  80. package/dist/lib/authentication/errors.d.ts +6 -12
  81. package/dist/lib/authentication/errors.js +2 -1
  82. package/dist/lib/authentication/errors.js.map +1 -1
  83. package/dist/lib/authentication/hook.d.ts +1 -0
  84. package/dist/lib/authentication/hook.js.map +1 -1
  85. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  86. package/dist/lib/authentication/providers/auth0.js +1 -1
  87. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  88. package/dist/lib/authentication/providers/azureb2c.d.ts +2 -2
  89. package/dist/lib/authentication/providers/azureb2c.js +4 -2
  90. package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
  91. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  92. package/dist/lib/authentication/providers/clerk.js +4 -2
  93. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  94. package/dist/lib/authentication/providers/openid.d.ts +2 -2
  95. package/dist/lib/authentication/providers/openid.js +3 -1
  96. package/dist/lib/authentication/providers/openid.js.map +1 -1
  97. package/dist/lib/authentication/providers/supabase.d.ts +2 -2
  98. package/dist/lib/authentication/providers/supabase.js +1 -0
  99. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  100. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  101. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  102. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  103. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  104. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  105. package/dist/lib/components/Autocomplete.js.map +1 -1
  106. package/dist/lib/components/Bootstrap.js.map +1 -1
  107. package/dist/lib/components/BuildCheck.d.ts +2 -1
  108. package/dist/lib/components/BuildCheck.js +11 -4
  109. package/dist/lib/components/BuildCheck.js.map +1 -1
  110. package/dist/lib/components/Header.js +2 -4
  111. package/dist/lib/components/Header.js.map +1 -1
  112. package/dist/lib/components/Heading.d.ts +1 -1
  113. package/dist/lib/components/Heading.js +2 -2
  114. package/dist/lib/components/Heading.js.map +1 -1
  115. package/dist/lib/components/Layout.js +4 -7
  116. package/dist/lib/components/Layout.js.map +1 -1
  117. package/dist/lib/components/Markdown.js +2 -2
  118. package/dist/lib/components/Markdown.js.map +1 -1
  119. package/dist/lib/components/Meta.d.ts +2 -0
  120. package/dist/lib/components/Meta.js +11 -0
  121. package/dist/lib/components/Meta.js.map +1 -0
  122. package/dist/lib/components/MobileTopNavigation.js +8 -6
  123. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  124. package/dist/lib/components/PathRenderer.js +1 -1
  125. package/dist/lib/components/PathRenderer.js.map +1 -1
  126. package/dist/lib/components/Search.js +1 -1
  127. package/dist/lib/components/Search.js.map +1 -1
  128. package/dist/lib/components/Slot.js.map +1 -1
  129. package/dist/lib/components/Slot.test.js +7 -3
  130. package/dist/lib/components/Slot.test.js.map +1 -1
  131. package/dist/lib/components/TopNavigation.d.ts +1 -1
  132. package/dist/lib/components/TopNavigation.js +5 -4
  133. package/dist/lib/components/TopNavigation.js.map +1 -1
  134. package/dist/lib/components/Zudoku.js +2 -2
  135. package/dist/lib/components/Zudoku.js.map +1 -1
  136. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  137. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
  138. package/dist/lib/components/context/SlotProvider.js.map +1 -1
  139. package/dist/lib/components/context/ViewportAnchorContext.js +1 -1
  140. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  141. package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
  142. package/dist/lib/components/context/ZudokuContext.js +22 -14
  143. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  144. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  145. package/dist/lib/components/index.d.ts +0 -27
  146. package/dist/lib/components/index.js +1 -16
  147. package/dist/lib/components/index.js.map +1 -1
  148. package/dist/lib/components/navigation/NavigationCategory.js +7 -2
  149. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
  150. package/dist/lib/components/navigation/NavigationItem.d.ts +1 -1
  151. package/dist/lib/components/navigation/NavigationItem.js +11 -3
  152. package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
  153. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -1
  154. package/dist/lib/components/navigation/Toc.js.map +1 -1
  155. package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
  156. package/dist/lib/components/navigation/utils.d.ts +5 -3
  157. package/dist/lib/components/navigation/utils.js +17 -14
  158. package/dist/lib/components/navigation/utils.js.map +1 -1
  159. package/dist/lib/core/RouteGuard.js +9 -9
  160. package/dist/lib/core/RouteGuard.js.map +1 -1
  161. package/dist/lib/core/ZudokuContext.d.ts +5 -2
  162. package/dist/lib/core/ZudokuContext.js +24 -1
  163. package/dist/lib/core/ZudokuContext.js.map +1 -1
  164. package/dist/lib/core/__internal.d.ts +37 -0
  165. package/dist/lib/core/__internal.js +26 -0
  166. package/dist/lib/core/__internal.js.map +1 -0
  167. package/dist/lib/core/plugins.d.ts +2 -1
  168. package/dist/lib/core/plugins.js.map +1 -1
  169. package/dist/lib/core/router.d.ts +1 -0
  170. package/dist/lib/core/router.js +2 -0
  171. package/dist/lib/core/router.js.map +1 -0
  172. package/dist/lib/errors/ErrorAlert.js +0 -1
  173. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  174. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  175. package/dist/lib/errors/TopLevelError.js +1 -2
  176. package/dist/lib/errors/TopLevelError.js.map +1 -1
  177. package/dist/lib/oas/graphql/circular.js +2 -2
  178. package/dist/lib/oas/graphql/circular.js.map +1 -1
  179. package/dist/lib/oas/graphql/index.js +2 -1
  180. package/dist/lib/oas/graphql/index.js.map +1 -1
  181. package/dist/lib/oas/parser/dereference/index.js +2 -1
  182. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  183. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  184. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  185. package/dist/lib/oas/parser/index.js +1 -1
  186. package/dist/lib/oas/parser/index.js.map +1 -1
  187. package/dist/lib/oas/parser/upgrade/index.js +2 -1
  188. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  189. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +1 -1
  190. package/dist/lib/plugins/api-keys/CreateApiKey.js +13 -3
  191. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  192. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  193. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +8 -7
  194. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  195. package/dist/lib/plugins/api-keys/index.d.ts +11 -6
  196. package/dist/lib/plugins/api-keys/index.js +4 -8
  197. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  198. package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
  199. package/dist/lib/plugins/custom-pages/index.js +3 -0
  200. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  201. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  202. package/dist/lib/plugins/markdown/MdxPage.js +3 -3
  203. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  204. package/dist/lib/plugins/markdown/index.d.ts +1 -1
  205. package/dist/lib/plugins/openapi/ColorizedParam.js +4 -1
  206. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  207. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  208. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  209. package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
  210. package/dist/lib/plugins/openapi/OasProvider.js +1 -0
  211. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  212. package/dist/lib/plugins/openapi/OperationList.d.ts +1 -1
  213. package/dist/lib/plugins/openapi/OperationList.js +8 -4
  214. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  215. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  216. package/dist/lib/plugins/openapi/OperationListItem.js +6 -4
  217. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  218. package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
  219. package/dist/lib/plugins/openapi/ParamInfos.js +11 -9
  220. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  221. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  222. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  223. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
  224. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +2 -2
  225. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  226. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  227. package/dist/lib/plugins/openapi/Sidecar.js +4 -2
  228. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  229. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  230. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  231. package/dist/lib/plugins/openapi/client/createServer.js +1 -2
  232. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  233. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  234. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  235. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  236. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  237. package/dist/lib/plugins/openapi/graphql/gql.js +1 -2
  238. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  239. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +1 -0
  240. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  241. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  242. package/dist/lib/plugins/openapi/index.d.ts +2 -2
  243. package/dist/lib/plugins/openapi/index.js +43 -10
  244. package/dist/lib/plugins/openapi/index.js.map +1 -1
  245. package/dist/lib/plugins/openapi/interfaces.d.ts +3 -3
  246. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +1 -1
  247. package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
  248. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
  249. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
  250. package/dist/lib/plugins/openapi/playground/Playground.d.ts +1 -1
  251. package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
  252. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  253. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  254. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +3 -1
  255. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
  256. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
  257. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
  258. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
  259. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
  260. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
  261. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
  262. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
  263. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
  264. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
  265. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
  266. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  267. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  268. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  269. package/dist/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.d.ts → AllOfGroup/AllOfGroupItem.d.ts} +1 -3
  270. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  271. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  272. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +4 -0
  273. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  274. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  275. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
  276. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +7 -15
  277. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  278. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -1
  279. package/dist/lib/plugins/openapi/schema/SchemaView.js +13 -8
  280. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  281. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +4 -0
  282. package/dist/lib/plugins/openapi/schema/UnionView.js +30 -0
  283. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  284. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  285. package/dist/lib/plugins/openapi/schema/union-helpers.js +48 -0
  286. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  287. package/dist/lib/plugins/openapi/schema/utils.d.ts +0 -7
  288. package/dist/lib/plugins/openapi/schema/utils.js +0 -6
  289. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  290. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +1 -1
  291. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +1 -1
  292. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
  293. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +1 -0
  294. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -1
  295. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  296. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +1 -2
  297. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  298. package/dist/lib/plugins/openapi/util/getRoutes.js +1 -1
  299. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  300. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  301. package/dist/lib/plugins/search-inkeep/index.js +1 -1
  302. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  303. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +1 -1
  304. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  305. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
  306. package/dist/lib/plugins/search-pagefind/ResultList.js +4 -1
  307. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  308. package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
  309. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  310. package/dist/lib/shiki.d.ts +6 -5
  311. package/dist/lib/shiki.js +5 -6
  312. package/dist/lib/shiki.js.map +1 -1
  313. package/dist/lib/ui/ActionButton.js +1 -1
  314. package/dist/lib/ui/ActionButton.js.map +1 -1
  315. package/dist/lib/ui/Badge.d.ts +1 -1
  316. package/dist/lib/ui/Breadcrumb.js +1 -1
  317. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  318. package/dist/lib/ui/Button.d.ts +2 -2
  319. package/dist/lib/ui/Carousel.js.map +1 -1
  320. package/dist/lib/ui/CodeBlock.js +30 -4
  321. package/dist/lib/ui/CodeBlock.js.map +1 -1
  322. package/dist/lib/ui/Command.d.ts +3 -3
  323. package/dist/lib/ui/Command.js +2 -6
  324. package/dist/lib/ui/Command.js.map +1 -1
  325. package/dist/lib/ui/Dialog.js +2 -2
  326. package/dist/lib/ui/Dialog.js.map +1 -1
  327. package/dist/lib/ui/Form.d.ts +2 -2
  328. package/dist/lib/ui/Pagination.d.ts +1 -1
  329. package/dist/lib/ui/Pagination.js +1 -1
  330. package/dist/lib/ui/Pagination.js.map +1 -1
  331. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  332. package/dist/lib/util/MdxComponents.d.ts +1 -1
  333. package/dist/lib/util/MdxComponents.js +4 -2
  334. package/dist/lib/util/MdxComponents.js.map +1 -1
  335. package/dist/lib/util/cn.js.map +1 -1
  336. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  337. package/dist/lib/util/createVariantComponent.js.map +1 -1
  338. package/dist/lib/util/groupBy.js +1 -0
  339. package/dist/lib/util/groupBy.js.map +1 -1
  340. package/dist/lib/util/humanFileSize.js +1 -1
  341. package/dist/lib/util/humanFileSize.js.map +1 -1
  342. package/dist/lib/util/invariant.d.ts +6 -5
  343. package/dist/lib/util/invariant.js +4 -2
  344. package/dist/lib/util/invariant.js.map +1 -1
  345. package/dist/lib/util/pastellize.js +2 -2
  346. package/dist/lib/util/pastellize.js.map +1 -1
  347. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  348. package/dist/lib/util/useScrollToAnchor.js +2 -0
  349. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  350. package/dist/ts.js +3 -3
  351. package/dist/ts.js.map +1 -1
  352. package/dist/vite/api/SchemaManager.js +6 -6
  353. package/dist/vite/api/SchemaManager.js.map +1 -1
  354. package/dist/vite/api/schema-codegen.js +1 -2
  355. package/dist/vite/api/schema-codegen.js.map +1 -1
  356. package/dist/vite/api/schema-codegen.test.js +1 -1
  357. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  358. package/dist/vite/build.js +1 -1
  359. package/dist/vite/build.js.map +1 -1
  360. package/dist/vite/config.js +6 -1
  361. package/dist/vite/config.js.map +1 -1
  362. package/dist/vite/dev-server.js +3 -3
  363. package/dist/vite/dev-server.js.map +1 -1
  364. package/dist/vite/error-handler.d.ts +2 -2
  365. package/dist/vite/error-handler.js.map +1 -1
  366. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  367. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  368. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  369. package/dist/vite/mdx/remark-last-modified.js +0 -1
  370. package/dist/vite/mdx/remark-last-modified.js.map +1 -1
  371. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  372. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  373. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  374. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  375. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  376. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  377. package/dist/vite/{remarkStaticGeneration.d.ts → mdx/remark-static-generation.d.ts} +2 -2
  378. package/dist/vite/{remarkStaticGeneration.js → mdx/remark-static-generation.js} +2 -2
  379. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  380. package/dist/vite/output.d.ts +1 -1
  381. package/dist/vite/output.js +1 -1
  382. package/dist/vite/output.js.map +1 -1
  383. package/dist/vite/plugin-api-keys.d.ts +1 -1
  384. package/dist/vite/plugin-api-keys.js +1 -1
  385. package/dist/vite/plugin-api-keys.js.map +1 -1
  386. package/dist/vite/plugin-api.js +4 -4
  387. package/dist/vite/plugin-api.js.map +1 -1
  388. package/dist/vite/plugin-auth.d.ts +1 -1
  389. package/dist/vite/plugin-auth.js +1 -1
  390. package/dist/vite/plugin-auth.js.map +1 -1
  391. package/dist/vite/plugin-component.d.ts +1 -1
  392. package/dist/vite/plugin-config-reload.d.ts +1 -1
  393. package/dist/vite/plugin-config.d.ts +1 -1
  394. package/dist/vite/plugin-config.js +2 -1
  395. package/dist/vite/plugin-config.js.map +1 -1
  396. package/dist/vite/plugin-custom-pages.d.ts +1 -1
  397. package/dist/vite/plugin-custom-pages.js +1 -1
  398. package/dist/vite/plugin-custom-pages.js.map +1 -1
  399. package/dist/vite/plugin-docs.js +11 -13
  400. package/dist/vite/plugin-docs.js.map +1 -1
  401. package/dist/vite/plugin-frontmatter.js +1 -1
  402. package/dist/vite/plugin-frontmatter.js.map +1 -1
  403. package/dist/vite/plugin-mdx.d.ts +1 -1
  404. package/dist/vite/plugin-mdx.js +9 -25
  405. package/dist/vite/plugin-mdx.js.map +1 -1
  406. package/dist/vite/plugin-metadata.d.ts +1 -1
  407. package/dist/vite/plugin-navigation.d.ts +2 -2
  408. package/dist/vite/plugin-navigation.js +34 -35
  409. package/dist/vite/plugin-navigation.js.map +1 -1
  410. package/dist/vite/plugin-redirect.d.ts +1 -1
  411. package/dist/vite/plugin-redirect.js +1 -1
  412. package/dist/vite/plugin-redirect.js.map +1 -1
  413. package/dist/vite/plugin-search.d.ts +1 -1
  414. package/dist/vite/plugin-search.js +1 -1
  415. package/dist/vite/plugin-search.js.map +1 -1
  416. package/dist/vite/plugin-shiki-register.js +1 -1
  417. package/dist/vite/plugin-shiki-register.js.map +1 -1
  418. package/dist/vite/plugin-theme.js +6 -6
  419. package/dist/vite/plugin-theme.js.map +1 -1
  420. package/dist/vite/plugin-theme.test.js +2 -0
  421. package/dist/vite/plugin-theme.test.js.map +1 -1
  422. package/dist/vite/plugin.d.ts +1 -1
  423. package/dist/vite/plugin.js +2 -2
  424. package/dist/vite/plugin.js.map +1 -1
  425. package/dist/vite/prerender/FileWritingResponse.js +5 -3
  426. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  427. package/dist/vite/prerender/InMemoryResponse.js +3 -1
  428. package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
  429. package/dist/vite/prerender/prerender.js +1 -1
  430. package/dist/vite/prerender/prerender.js.map +1 -1
  431. package/dist/vite/prerender/worker.d.ts +1 -1
  432. package/dist/vite/prerender/worker.js +5 -1
  433. package/dist/vite/prerender/worker.js.map +1 -1
  434. package/dist/vite/reporter.js +2 -2
  435. package/dist/vite/reporter.js.map +1 -1
  436. package/dist/vite/shadcn-registry.d.ts +8 -33
  437. package/dist/vite/sitemap.js +14 -13
  438. package/dist/vite/sitemap.js.map +1 -1
  439. package/dist/zuplo/enrich-with-zuplo.js +3 -3
  440. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  441. package/dist/zuplo/policy-types.js +0 -1
  442. package/dist/zuplo/policy-types.js.map +1 -1
  443. package/dist/zuplo/with-zuplo.js +1 -1
  444. package/dist/zuplo/with-zuplo.js.map +1 -1
  445. package/lib/CategoryHeading-DCpZu3yG.js +17 -0
  446. package/lib/CategoryHeading-DCpZu3yG.js.map +1 -0
  447. package/lib/CodeBlock-CX_J17Hf.js +98 -0
  448. package/lib/CodeBlock-CX_J17Hf.js.map +1 -0
  449. package/lib/{Command-C9AC5cf-.js → Command-CUSlH0gJ.js} +21 -27
  450. package/lib/Command-CUSlH0gJ.js.map +1 -0
  451. package/lib/Dialog-BmgXWOaz.js +114 -0
  452. package/lib/Dialog-BmgXWOaz.js.map +1 -0
  453. package/lib/{MdxPage-DVI4iYgW.js → MdxPage-yXbTtcWf.js} +20 -19
  454. package/lib/MdxPage-yXbTtcWf.js.map +1 -0
  455. package/lib/OAuthErrorPage-rAKHHveX.js +150 -0
  456. package/lib/OAuthErrorPage-rAKHHveX.js.map +1 -0
  457. package/lib/{OasProvider-CbwsKPNc.js → OasProvider-BW4OzAuR.js} +4 -3
  458. package/lib/OasProvider-BW4OzAuR.js.map +1 -0
  459. package/lib/{OperationList-Bn9ggxw8.js → OperationList-CWxpdIbO.js} +332 -333
  460. package/lib/OperationList-CWxpdIbO.js.map +1 -0
  461. package/lib/{Pagination-bavPec-z.js → Pagination-ZI2yyuxj.js} +3 -3
  462. package/lib/{Pagination-bavPec-z.js.map → Pagination-ZI2yyuxj.js.map} +1 -1
  463. package/lib/RouteGuard-BIksrt_C.js +56 -0
  464. package/lib/RouteGuard-BIksrt_C.js.map +1 -0
  465. package/lib/RouterError-BYHrbLtD.js +41 -0
  466. package/lib/RouterError-BYHrbLtD.js.map +1 -0
  467. package/lib/{SchemaList-DETyCVqu.js → SchemaList-C4Sk-tLI.js} +15 -14
  468. package/lib/{SchemaList-DETyCVqu.js.map → SchemaList-C4Sk-tLI.js.map} +1 -1
  469. package/lib/SchemaView-B2BeAuci.js +429 -0
  470. package/lib/SchemaView-B2BeAuci.js.map +1 -0
  471. package/lib/Select-DWh0wSay.js +273 -0
  472. package/lib/Select-DWh0wSay.js.map +1 -0
  473. package/lib/{SignUp-ClYhZq9H.js → SignUp-CznaQsRx.js} +7 -7
  474. package/lib/SignUp-CznaQsRx.js.map +1 -0
  475. package/lib/{Slot-B31yZlfB.js → Slot-BbdqiRXo.js} +2074 -2264
  476. package/lib/{Slot-B31yZlfB.js.map → Slot-BbdqiRXo.js.map} +1 -1
  477. package/lib/{SyntaxHighlight-bm761HDo.js → SyntaxHighlight-CvzJ7DNa.js} +414 -415
  478. package/lib/SyntaxHighlight-CvzJ7DNa.js.map +1 -0
  479. package/lib/{Toc-D4oBWE8D.js → Toc-BAa-kpqN.js} +2 -2
  480. package/lib/{Toc-D4oBWE8D.js.map → Toc-BAa-kpqN.js.map} +1 -1
  481. package/lib/ZudokuContext-BR-lnR7O.js +1285 -0
  482. package/lib/ZudokuContext-BR-lnR7O.js.map +1 -0
  483. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  484. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  485. package/lib/{circular-CRbFI6Zl.js → circular-BFte5TUt.js} +2 -2
  486. package/lib/{circular-CRbFI6Zl.js.map → circular-BFte5TUt.js.map} +1 -1
  487. package/lib/cn-dYga0KKN.js.map +1 -1
  488. package/lib/{createServer-DNyGJJNX.js → createServer-B4giw6jv.js} +13 -28
  489. package/lib/createServer-B4giw6jv.js.map +1 -0
  490. package/lib/{errors-C1GlNcV3.js → errors-CjmCml50.js} +11 -10
  491. package/lib/errors-CjmCml50.js.map +1 -0
  492. package/lib/hook-B4Q30zMI.js +247 -0
  493. package/lib/hook-B4Q30zMI.js.map +1 -0
  494. package/lib/index-BuKx9nrj.js +1057 -0
  495. package/lib/index-BuKx9nrj.js.map +1 -0
  496. package/lib/{index-CZTEgYDd.js → index-CQGi1b3U.js} +2 -2
  497. package/lib/{index-CZTEgYDd.js.map → index-CQGi1b3U.js.map} +1 -1
  498. package/lib/{index-C_PXQ8Bx.js → index-Dp3Fmnfq.js} +854 -931
  499. package/lib/index-Dp3Fmnfq.js.map +1 -0
  500. package/lib/index.esm-BnYHxCYC.js +683 -0
  501. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  502. package/lib/index.esm-CdzlRw50.js +1254 -0
  503. package/lib/index.esm-CdzlRw50.js.map +1 -0
  504. package/lib/{invariant-DAFpPywt.js → invariant-Bm-FVUQE.js} +2 -6
  505. package/lib/invariant-Bm-FVUQE.js.map +1 -0
  506. package/lib/mutation-CiMUdKRU.js +196 -0
  507. package/lib/mutation-CiMUdKRU.js.map +1 -0
  508. package/lib/ui/ActionButton.js +9 -9
  509. package/lib/ui/ActionButton.js.map +1 -1
  510. package/lib/ui/Breadcrumb.js +22 -21
  511. package/lib/ui/Breadcrumb.js.map +1 -1
  512. package/lib/ui/Carousel.js.map +1 -1
  513. package/lib/ui/CodeBlock.js +1 -1
  514. package/lib/ui/Command.js +20 -26
  515. package/lib/ui/Command.js.map +1 -1
  516. package/lib/ui/Dialog.js +56 -41
  517. package/lib/ui/Dialog.js.map +1 -1
  518. package/lib/ui/Form.js +1 -1
  519. package/lib/ui/Form.js.map +1 -1
  520. package/lib/ui/Pagination.js +28 -29
  521. package/lib/ui/Pagination.js.map +1 -1
  522. package/lib/ui/SyntaxHighlight.js +4 -4
  523. package/lib/ui/ToggleGroup.js.map +1 -1
  524. package/lib/useExposedProps-BH9aq4MD.js +113 -0
  525. package/lib/useExposedProps-BH9aq4MD.js.map +1 -0
  526. package/lib/useLatest-hmRS46UF.js +11 -0
  527. package/lib/useLatest-hmRS46UF.js.map +1 -0
  528. package/lib/zudoku.__internal.js +2974 -0
  529. package/lib/zudoku.__internal.js.map +1 -0
  530. package/lib/zudoku.auth-auth0.js +1 -1
  531. package/lib/zudoku.auth-auth0.js.map +1 -1
  532. package/lib/zudoku.auth-azureb2c.js +25 -17
  533. package/lib/zudoku.auth-azureb2c.js.map +1 -1
  534. package/lib/zudoku.auth-clerk.js +24 -21
  535. package/lib/zudoku.auth-clerk.js.map +1 -1
  536. package/lib/zudoku.auth-openid.js +213 -205
  537. package/lib/zudoku.auth-openid.js.map +1 -1
  538. package/lib/zudoku.auth-supabase.js +3 -2
  539. package/lib/zudoku.auth-supabase.js.map +1 -1
  540. package/lib/zudoku.components.js +21 -28
  541. package/lib/zudoku.components.js.map +1 -1
  542. package/lib/zudoku.hooks.js +7 -7
  543. package/lib/zudoku.icons.js.map +1 -1
  544. package/lib/zudoku.plugin-api-catalog.js +23 -22
  545. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  546. package/lib/zudoku.plugin-api-keys.js +408 -296
  547. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  548. package/lib/zudoku.plugin-custom-pages.js +8 -5
  549. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  550. package/lib/zudoku.plugin-markdown.js +1 -1
  551. package/lib/zudoku.plugin-markdown.js.map +1 -1
  552. package/lib/zudoku.plugin-openapi.js +7 -6
  553. package/lib/zudoku.plugin-openapi.js.map +1 -1
  554. package/lib/zudoku.plugin-redirect.js +3 -3
  555. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  556. package/lib/zudoku.plugin-search-pagefind.js +29 -28
  557. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  558. package/lib/zudoku.plugins.js.map +1 -1
  559. package/lib/zudoku.router.js +123 -0
  560. package/lib/zudoku.router.js.map +1 -0
  561. package/package.json +23 -30
  562. package/src/app/ZuploBuildConfig.ts +1 -1
  563. package/src/app/demo.tsx +1 -1
  564. package/src/app/entry.client.tsx +7 -6
  565. package/src/app/entry.server.tsx +4 -4
  566. package/src/app/env.ts +6 -6
  567. package/src/app/main.css +3 -7
  568. package/src/app/main.tsx +24 -12
  569. package/src/app/standalone.tsx +8 -3
  570. package/src/lib/MissingIcon.tsx +1 -1
  571. package/src/lib/auth/issuer.test.ts +1 -0
  572. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
  573. package/src/lib/authentication/authentication.ts +3 -3
  574. package/src/lib/authentication/components/CallbackHandler.tsx +22 -15
  575. package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
  576. package/src/lib/authentication/components/SignOut.tsx +1 -1
  577. package/src/lib/authentication/errors.ts +27 -13
  578. package/src/lib/authentication/hook.ts +2 -0
  579. package/src/lib/authentication/providers/auth0.tsx +5 -5
  580. package/src/lib/authentication/providers/azureb2c.tsx +12 -7
  581. package/src/lib/authentication/providers/clerk.tsx +9 -6
  582. package/src/lib/authentication/providers/openid.tsx +13 -7
  583. package/src/lib/authentication/providers/supabase.tsx +7 -6
  584. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  585. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  586. package/src/lib/components/AnchorLink.tsx +1 -1
  587. package/src/lib/components/Autocomplete.tsx +1 -1
  588. package/src/lib/components/Bootstrap.tsx +1 -0
  589. package/src/lib/components/BuildCheck.tsx +15 -4
  590. package/src/lib/components/Header.tsx +5 -5
  591. package/src/lib/components/Heading.tsx +3 -4
  592. package/src/lib/components/Layout.tsx +3 -22
  593. package/src/lib/components/Markdown.tsx +5 -2
  594. package/src/lib/components/Meta.tsx +32 -0
  595. package/src/lib/components/MobileTopNavigation.tsx +16 -15
  596. package/src/lib/components/PathRenderer.tsx +2 -2
  597. package/src/lib/components/Search.tsx +1 -1
  598. package/src/lib/components/Slot.test.tsx +8 -8
  599. package/src/lib/components/Slot.tsx +2 -2
  600. package/src/lib/components/TopNavigation.tsx +6 -6
  601. package/src/lib/components/Zudoku.tsx +2 -2
  602. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  603. package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
  604. package/src/lib/components/context/SlotProvider.tsx +4 -4
  605. package/src/lib/components/context/ViewportAnchorContext.tsx +2 -2
  606. package/src/lib/components/context/ZudokuContext.ts +27 -20
  607. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  608. package/src/lib/components/index.ts +1 -19
  609. package/src/lib/components/navigation/NavigationCategory.tsx +9 -2
  610. package/src/lib/components/navigation/NavigationItem.tsx +13 -3
  611. package/src/lib/components/navigation/NavigationWrapper.tsx +1 -1
  612. package/src/lib/components/navigation/Toc.tsx +2 -2
  613. package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
  614. package/src/lib/components/navigation/utils.ts +25 -20
  615. package/src/lib/core/RouteGuard.tsx +13 -13
  616. package/src/lib/core/ZudokuContext.ts +38 -6
  617. package/src/lib/core/__internal.tsx +30 -0
  618. package/src/lib/core/plugins.ts +2 -1
  619. package/src/lib/core/router.ts +1 -0
  620. package/src/lib/errors/ErrorAlert.tsx +0 -1
  621. package/src/lib/errors/TopLevelError.tsx +2 -4
  622. package/src/lib/hooks/useEvent.test.tsx +2 -2
  623. package/src/lib/oas/graphql/circular.ts +3 -3
  624. package/src/lib/oas/graphql/index.ts +2 -1
  625. package/src/lib/oas/parser/dereference/index.ts +2 -1
  626. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  627. package/src/lib/oas/parser/index.ts +2 -2
  628. package/src/lib/oas/parser/upgrade/index.ts +2 -1
  629. package/src/lib/plugins/api-keys/CreateApiKey.tsx +18 -4
  630. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +26 -9
  631. package/src/lib/plugins/api-keys/index.tsx +23 -18
  632. package/src/lib/plugins/custom-pages/index.tsx +4 -1
  633. package/src/lib/plugins/markdown/MdxPage.tsx +5 -5
  634. package/src/lib/plugins/markdown/index.tsx +1 -1
  635. package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -1
  636. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  637. package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
  638. package/src/lib/plugins/openapi/OperationList.tsx +5 -4
  639. package/src/lib/plugins/openapi/OperationListItem.tsx +18 -20
  640. package/src/lib/plugins/openapi/ParamInfos.tsx +10 -9
  641. package/src/lib/plugins/openapi/ParameterListItem.tsx +3 -3
  642. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +3 -3
  643. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
  644. package/src/lib/plugins/openapi/Sidecar.tsx +2 -1
  645. package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -1
  646. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  647. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  648. package/src/lib/plugins/openapi/client/createServer.ts +1 -2
  649. package/src/lib/plugins/openapi/client/useCreateQuery.ts +3 -2
  650. package/src/lib/plugins/openapi/context.tsx +1 -1
  651. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +0 -1
  652. package/src/lib/plugins/openapi/graphql/gql.ts +3 -4
  653. package/src/lib/plugins/openapi/graphql/graphql.ts +2 -1
  654. package/src/lib/plugins/openapi/index.tsx +70 -19
  655. package/src/lib/plugins/openapi/interfaces.ts +5 -3
  656. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +2 -2
  657. package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
  658. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +1 -1
  659. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +1 -1
  660. package/src/lib/plugins/openapi/playground/Playground.tsx +2 -2
  661. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
  662. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +1 -1
  663. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +1 -1
  664. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +3 -1
  665. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +3 -3
  666. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
  667. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
  668. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
  669. package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
  670. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupConnector.tsx → AllOfGroup/AllOfGroupConnector.tsx} +4 -25
  671. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.tsx → AllOfGroup/AllOfGroupItem.tsx} +3 -11
  672. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +35 -0
  673. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +9 -27
  674. package/src/lib/plugins/openapi/schema/SchemaView.tsx +19 -13
  675. package/src/lib/plugins/openapi/schema/UnionView.tsx +123 -0
  676. package/src/lib/plugins/openapi/schema/union-helpers.ts +96 -0
  677. package/src/lib/plugins/openapi/schema/utils.ts +0 -11
  678. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +2 -2
  679. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +1 -0
  680. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +3 -4
  681. package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
  682. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  683. package/src/lib/plugins/search-inkeep/index.tsx +3 -3
  684. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +2 -4
  685. package/src/lib/plugins/search-pagefind/ResultList.tsx +3 -4
  686. package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
  687. package/src/lib/shiki.ts +8 -6
  688. package/src/lib/ui/ActionButton.tsx +3 -1
  689. package/src/lib/ui/Breadcrumb.tsx +1 -0
  690. package/src/lib/ui/Carousel.tsx +1 -0
  691. package/src/lib/ui/CodeBlock.tsx +40 -13
  692. package/src/lib/ui/Command.tsx +2 -4
  693. package/src/lib/ui/Dialog.tsx +12 -4
  694. package/src/lib/ui/Form.tsx +4 -4
  695. package/src/lib/ui/Pagination.tsx +1 -2
  696. package/src/lib/ui/ToggleGroup.tsx +1 -1
  697. package/src/lib/util/MdxComponents.tsx +9 -2
  698. package/src/lib/util/cn.ts +1 -1
  699. package/src/lib/util/createVariantComponent.tsx +2 -2
  700. package/src/lib/util/groupBy.ts +1 -0
  701. package/src/lib/util/humanFileSize.ts +2 -3
  702. package/src/lib/util/invariant.ts +8 -5
  703. package/src/lib/util/pastellize.ts +2 -2
  704. package/src/lib/util/types.ts +1 -1
  705. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  706. package/src/lib/util/useScrollToAnchor.ts +3 -1
  707. package/src/shiki/langs/vue-vine.js +1 -0
  708. package/dist/flat-config.d.ts +0 -323
  709. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  710. package/dist/lib/components/ReactMarkdown.js +0 -182
  711. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  712. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
  713. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  714. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  715. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
  716. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  717. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  718. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  719. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  720. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  721. package/lib/Alert-CWApD0CL.js +0 -161
  722. package/lib/Alert-CWApD0CL.js.map +0 -1
  723. package/lib/CallbackHandler-Dr5Lva9x.js +0 -38
  724. package/lib/CallbackHandler-Dr5Lva9x.js.map +0 -1
  725. package/lib/CodeBlock-B-G0eKtw.js +0 -85
  726. package/lib/CodeBlock-B-G0eKtw.js.map +0 -1
  727. package/lib/Command-C9AC5cf-.js.map +0 -1
  728. package/lib/Dialog-DMWw1doX.js +0 -99
  729. package/lib/Dialog-DMWw1doX.js.map +0 -1
  730. package/lib/MdxPage-DVI4iYgW.js.map +0 -1
  731. package/lib/OasProvider-CbwsKPNc.js.map +0 -1
  732. package/lib/OperationList-Bn9ggxw8.js.map +0 -1
  733. package/lib/RouteGuard-Vnlz_t51.js +0 -737
  734. package/lib/RouteGuard-Vnlz_t51.js.map +0 -1
  735. package/lib/SchemaView-Dvxo2RNe.js +0 -366
  736. package/lib/SchemaView-Dvxo2RNe.js.map +0 -1
  737. package/lib/SignUp-ClYhZq9H.js.map +0 -1
  738. package/lib/SyntaxHighlight-bm761HDo.js.map +0 -1
  739. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js +0 -1839
  740. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js.map +0 -1
  741. package/lib/createServer-DNyGJJNX.js.map +0 -1
  742. package/lib/errors-C1GlNcV3.js.map +0 -1
  743. package/lib/hook-CZjW2buS.js +0 -1510
  744. package/lib/hook-CZjW2buS.js.map +0 -1
  745. package/lib/index-Bm35Tkgf.js +0 -107
  746. package/lib/index-Bm35Tkgf.js.map +0 -1
  747. package/lib/index-C_PXQ8Bx.js.map +0 -1
  748. package/lib/index-D09PbNex.js +0 -3980
  749. package/lib/index-D09PbNex.js.map +0 -1
  750. package/lib/index.esm-Cp4wkyud.js +0 -1236
  751. package/lib/index.esm-Cp4wkyud.js.map +0 -1
  752. package/lib/invariant-DAFpPywt.js.map +0 -1
  753. package/lib/useExposedProps-BIYjecPD.js +0 -9
  754. package/lib/useExposedProps-BIYjecPD.js.map +0 -1
  755. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  756. package/src/lib/components/ReactMarkdown.tsx +0 -264
  757. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
@@ -1,15 +1,23 @@
1
- import { z } from "zod/v4";
1
+ import { z } from "zod";
2
+ import type { UseAuthReturn } from "../../lib/authentication/hook.js";
3
+ import type { ZudokuContext } from "../../lib/core/ZudokuContext.js";
2
4
  declare const InputNavigationCategoryLinkDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3
5
  type: z.ZodLiteral<"doc">;
4
6
  file: z.ZodString;
5
7
  label: z.ZodOptional<z.ZodString>;
6
8
  }, z.core.$strip>]>;
7
- export declare const DisplaySchema: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
9
+ export declare const DisplaySchema: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
10
+ hide: "hide";
11
+ always: "always";
8
12
  auth: "auth";
9
13
  anon: "anon";
10
- always: "always";
11
- hide: "hide";
12
- }>>>;
14
+ }>, z.ZodCustom<(params: {
15
+ context: ZudokuContext;
16
+ auth: UseAuthReturn;
17
+ }) => boolean, (params: {
18
+ context: ZudokuContext;
19
+ auth: UseAuthReturn;
20
+ }) => boolean>]>>>;
13
21
  declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
14
22
  type: z.ZodLiteral<"doc">;
15
23
  file: z.ZodString;
@@ -37,12 +45,44 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
37
45
  tag: "tag";
38
46
  file: "file";
39
47
  delete: "delete";
48
+ code: "code";
49
+ check: "check";
40
50
  copy: "copy";
41
51
  focus: "focus";
42
52
  pause: "pause";
43
53
  play: "play";
44
54
  scroll: "scroll";
45
55
  merge: "merge";
56
+ ghost: "ghost";
57
+ expand: "expand";
58
+ send: "send";
59
+ grid: "grid";
60
+ group: "group";
61
+ heading: "heading";
62
+ menu: "menu";
63
+ navigation: "navigation";
64
+ option: "option";
65
+ presentation: "presentation";
66
+ radio: "radio";
67
+ table: "table";
68
+ timer: "timer";
69
+ text: "text";
70
+ mouse: "mouse";
71
+ pen: "pen";
72
+ regex: "regex";
73
+ target: "target";
74
+ radius: "radius";
75
+ scale: "scale";
76
+ x: "x";
77
+ section: "section";
78
+ video: "video";
79
+ circle: "circle";
80
+ image: "image";
81
+ view: "view";
82
+ baseline: "baseline";
83
+ terminal: "terminal";
84
+ square: "square";
85
+ move: "move";
46
86
  "a-arrow-down": "a-arrow-down";
47
87
  "a-arrow-up": "a-arrow-up";
48
88
  "a-large-small": "a-large-small";
@@ -225,7 +265,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
225
265
  "bar-chart-horizontal-big": "bar-chart-horizontal-big";
226
266
  barcode: "barcode";
227
267
  barrel: "barrel";
228
- baseline: "baseline";
229
268
  bath: "bath";
230
269
  battery: "battery";
231
270
  "battery-charging": "battery-charging";
@@ -406,7 +445,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
406
445
  "chart-pie": "chart-pie";
407
446
  "chart-scatter": "chart-scatter";
408
447
  "chart-spline": "chart-spline";
409
- check: "check";
410
448
  "check-check": "check-check";
411
449
  "check-circle": "check-circle";
412
450
  "check-circle-2": "check-circle-2";
@@ -442,7 +480,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
442
480
  church: "church";
443
481
  cigarette: "cigarette";
444
482
  "cigarette-off": "cigarette-off";
445
- circle: "circle";
446
483
  "circle-alert": "circle-alert";
447
484
  "circle-arrow-down": "circle-arrow-down";
448
485
  "circle-arrow-left": "circle-arrow-left";
@@ -543,7 +580,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
543
580
  cloudy: "cloudy";
544
581
  clover: "clover";
545
582
  club: "club";
546
- code: "code";
547
583
  "code-2": "code-2";
548
584
  "code-square": "code-square";
549
585
  "code-xml": "code-xml";
@@ -670,7 +706,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
670
706
  eraser: "eraser";
671
707
  "ethernet-port": "ethernet-port";
672
708
  euro: "euro";
673
- expand: "expand";
674
709
  "external-link": "external-link";
675
710
  eye: "eye";
676
711
  "eye-closed": "eye-closed";
@@ -839,7 +874,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
839
874
  gavel: "gavel";
840
875
  gem: "gem";
841
876
  "georgian-lari": "georgian-lari";
842
- ghost: "ghost";
843
877
  gift: "gift";
844
878
  "git-branch": "git-branch";
845
879
  "git-branch-plus": "git-branch-plus";
@@ -869,7 +903,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
869
903
  grab: "grab";
870
904
  "graduation-cap": "graduation-cap";
871
905
  grape: "grape";
872
- grid: "grid";
873
906
  "grid-2-x-2": "grid-2-x-2";
874
907
  "grid-2-x-2-check": "grid-2-x-2-check";
875
908
  "grid-2-x-2-plus": "grid-2-x-2-plus";
@@ -884,7 +917,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
884
917
  grip: "grip";
885
918
  "grip-horizontal": "grip-horizontal";
886
919
  "grip-vertical": "grip-vertical";
887
- group: "group";
888
920
  guitar: "guitar";
889
921
  ham: "ham";
890
922
  hamburger: "hamburger";
@@ -903,7 +935,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
903
935
  hash: "hash";
904
936
  haze: "haze";
905
937
  "hdmi-port": "hdmi-port";
906
- heading: "heading";
907
938
  "heading-1": "heading-1";
908
939
  "heading-2": "heading-2";
909
940
  "heading-3": "heading-3";
@@ -942,7 +973,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
942
973
  "ice-cream-cone": "ice-cream-cone";
943
974
  "id-card": "id-card";
944
975
  "id-card-lanyard": "id-card-lanyard";
945
- image: "image";
946
976
  "image-down": "image-down";
947
977
  "image-minus": "image-minus";
948
978
  "image-off": "image-off";
@@ -1086,7 +1116,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1086
1116
  "megaphone-off": "megaphone-off";
1087
1117
  meh: "meh";
1088
1118
  "memory-stick": "memory-stick";
1089
- menu: "menu";
1090
1119
  "menu-square": "menu-square";
1091
1120
  "message-circle": "message-circle";
1092
1121
  "message-circle-code": "message-circle-code";
@@ -1151,14 +1180,12 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1151
1180
  "more-vertical": "more-vertical";
1152
1181
  mountain: "mountain";
1153
1182
  "mountain-snow": "mountain-snow";
1154
- mouse: "mouse";
1155
1183
  "mouse-off": "mouse-off";
1156
1184
  "mouse-pointer": "mouse-pointer";
1157
1185
  "mouse-pointer-2": "mouse-pointer-2";
1158
1186
  "mouse-pointer-ban": "mouse-pointer-ban";
1159
1187
  "mouse-pointer-click": "mouse-pointer-click";
1160
1188
  "mouse-pointer-square-dashed": "mouse-pointer-square-dashed";
1161
- move: "move";
1162
1189
  "move-3-d": "move-3-d";
1163
1190
  "move-3d": "move-3d";
1164
1191
  "move-diagonal": "move-diagonal";
@@ -1177,7 +1204,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1177
1204
  "music-2": "music-2";
1178
1205
  "music-3": "music-3";
1179
1206
  "music-4": "music-4";
1180
- navigation: "navigation";
1181
1207
  "navigation-2": "navigation-2";
1182
1208
  "navigation-2-off": "navigation-2-off";
1183
1209
  "navigation-off": "navigation-off";
@@ -1199,7 +1225,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1199
1225
  "octagon-pause": "octagon-pause";
1200
1226
  "octagon-x": "octagon-x";
1201
1227
  omega: "omega";
1202
- option: "option";
1203
1228
  orbit: "orbit";
1204
1229
  origami: "origami";
1205
1230
  outdent: "outdent";
@@ -1256,7 +1281,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1256
1281
  "pause-octagon": "pause-octagon";
1257
1282
  "paw-print": "paw-print";
1258
1283
  "pc-case": "pc-case";
1259
- pen: "pen";
1260
1284
  "pen-box": "pen-box";
1261
1285
  "pen-line": "pen-line";
1262
1286
  "pen-off": "pen-off";
@@ -1322,7 +1346,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1322
1346
  "power-circle": "power-circle";
1323
1347
  "power-off": "power-off";
1324
1348
  "power-square": "power-square";
1325
- presentation: "presentation";
1326
1349
  printer: "printer";
1327
1350
  "printer-check": "printer-check";
1328
1351
  projector: "projector";
@@ -1335,10 +1358,8 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1335
1358
  radar: "radar";
1336
1359
  radiation: "radiation";
1337
1360
  radical: "radical";
1338
- radio: "radio";
1339
1361
  "radio-receiver": "radio-receiver";
1340
1362
  "radio-tower": "radio-tower";
1341
- radius: "radius";
1342
1363
  "rail-symbol": "rail-symbol";
1343
1364
  rainbow: "rainbow";
1344
1365
  rat: "rat";
@@ -1366,7 +1387,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1366
1387
  "refresh-cw": "refresh-cw";
1367
1388
  "refresh-cw-off": "refresh-cw-off";
1368
1389
  refrigerator: "refrigerator";
1369
- regex: "regex";
1370
1390
  "remove-formatting": "remove-formatting";
1371
1391
  "repeat-1": "repeat-1";
1372
1392
  "repeat-2": "repeat-2";
@@ -1405,7 +1425,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1405
1425
  save: "save";
1406
1426
  "save-all": "save-all";
1407
1427
  "save-off": "save-off";
1408
- scale: "scale";
1409
1428
  "scale-3-d": "scale-3-d";
1410
1429
  "scale-3d": "scale-3d";
1411
1430
  scaling: "scaling";
@@ -1432,8 +1451,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1432
1451
  "search-code": "search-code";
1433
1452
  "search-slash": "search-slash";
1434
1453
  "search-x": "search-x";
1435
- section: "section";
1436
- send: "send";
1437
1454
  "send-horizonal": "send-horizonal";
1438
1455
  "send-horizontal": "send-horizontal";
1439
1456
  "send-to-back": "send-to-back";
@@ -1526,7 +1543,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1526
1543
  spool: "spool";
1527
1544
  "spray-can": "spray-can";
1528
1545
  sprout: "sprout";
1529
- square: "square";
1530
1546
  "square-activity": "square-activity";
1531
1547
  "square-arrow-down": "square-arrow-down";
1532
1548
  "square-arrow-down-left": "square-arrow-down-left";
@@ -1627,7 +1643,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1627
1643
  sword: "sword";
1628
1644
  swords: "swords";
1629
1645
  syringe: "syringe";
1630
- table: "table";
1631
1646
  "table-2": "table-2";
1632
1647
  "table-cells-merge": "table-cells-merge";
1633
1648
  "table-cells-split": "table-cells-split";
@@ -1645,17 +1660,14 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1645
1660
  "tally-4": "tally-4";
1646
1661
  "tally-5": "tally-5";
1647
1662
  tangent: "tangent";
1648
- target: "target";
1649
1663
  telescope: "telescope";
1650
1664
  tent: "tent";
1651
1665
  "tent-tree": "tent-tree";
1652
- terminal: "terminal";
1653
1666
  "terminal-square": "terminal-square";
1654
1667
  "test-tube": "test-tube";
1655
1668
  "test-tube-2": "test-tube-2";
1656
1669
  "test-tube-diagonal": "test-tube-diagonal";
1657
1670
  "test-tubes": "test-tubes";
1658
- text: "text";
1659
1671
  "text-cursor": "text-cursor";
1660
1672
  "text-cursor-input": "text-cursor-input";
1661
1673
  "text-quote": "text-quote";
@@ -1677,7 +1689,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1677
1689
  "ticket-x": "ticket-x";
1678
1690
  tickets: "tickets";
1679
1691
  "tickets-plane": "tickets-plane";
1680
- timer: "timer";
1681
1692
  "timer-off": "timer-off";
1682
1693
  "timer-reset": "timer-reset";
1683
1694
  "toggle-left": "toggle-left";
@@ -1784,10 +1795,8 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1784
1795
  verified: "verified";
1785
1796
  vibrate: "vibrate";
1786
1797
  "vibrate-off": "vibrate-off";
1787
- video: "video";
1788
1798
  "video-off": "video-off";
1789
1799
  videotape: "videotape";
1790
- view: "view";
1791
1800
  voicemail: "voicemail";
1792
1801
  volleyball: "volleyball";
1793
1802
  volume: "volume";
@@ -1832,7 +1841,6 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1832
1841
  worm: "worm";
1833
1842
  "wrap-text": "wrap-text";
1834
1843
  wrench: "wrench";
1835
- x: "x";
1836
1844
  "x-circle": "x-circle";
1837
1845
  "x-octagon": "x-octagon";
1838
1846
  "x-square": "x-square";
@@ -1846,6 +1854,7 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1846
1854
  badge: z.ZodOptional<z.ZodObject<{
1847
1855
  label: z.ZodString;
1848
1856
  color: z.ZodEnum<{
1857
+ outline: "outline";
1849
1858
  green: "green";
1850
1859
  blue: "blue";
1851
1860
  yellow: "yellow";
@@ -1853,15 +1862,22 @@ declare const InputNavigationDocSchema: z.ZodUnion<readonly [z.ZodString, z.ZodO
1853
1862
  purple: "purple";
1854
1863
  indigo: "indigo";
1855
1864
  gray: "gray";
1856
- outline: "outline";
1857
1865
  }>;
1866
+ invert: z.ZodOptional<z.ZodBoolean>;
1867
+ className: z.ZodOptional<z.ZodString>;
1858
1868
  }, z.core.$strip>>;
1859
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1869
+ display: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
1870
+ hide: "hide";
1871
+ always: "always";
1860
1872
  auth: "auth";
1861
1873
  anon: "anon";
1862
- always: "always";
1863
- hide: "hide";
1864
- }>>>;
1874
+ }>, z.ZodCustom<(params: {
1875
+ context: ZudokuContext;
1876
+ auth: UseAuthReturn;
1877
+ }) => boolean, (params: {
1878
+ context: ZudokuContext;
1879
+ auth: UseAuthReturn;
1880
+ }) => boolean>]>>>;
1865
1881
  }, z.core.$strip>]>;
1866
1882
  declare const InputNavigationLinkSchema: z.ZodObject<{
1867
1883
  type: z.ZodLiteral<"link">;
@@ -1890,12 +1906,44 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
1890
1906
  tag: "tag";
1891
1907
  file: "file";
1892
1908
  delete: "delete";
1909
+ code: "code";
1910
+ check: "check";
1893
1911
  copy: "copy";
1894
1912
  focus: "focus";
1895
1913
  pause: "pause";
1896
1914
  play: "play";
1897
1915
  scroll: "scroll";
1898
1916
  merge: "merge";
1917
+ ghost: "ghost";
1918
+ expand: "expand";
1919
+ send: "send";
1920
+ grid: "grid";
1921
+ group: "group";
1922
+ heading: "heading";
1923
+ menu: "menu";
1924
+ navigation: "navigation";
1925
+ option: "option";
1926
+ presentation: "presentation";
1927
+ radio: "radio";
1928
+ table: "table";
1929
+ timer: "timer";
1930
+ text: "text";
1931
+ mouse: "mouse";
1932
+ pen: "pen";
1933
+ regex: "regex";
1934
+ target: "target";
1935
+ radius: "radius";
1936
+ scale: "scale";
1937
+ x: "x";
1938
+ section: "section";
1939
+ video: "video";
1940
+ circle: "circle";
1941
+ image: "image";
1942
+ view: "view";
1943
+ baseline: "baseline";
1944
+ terminal: "terminal";
1945
+ square: "square";
1946
+ move: "move";
1899
1947
  "a-arrow-down": "a-arrow-down";
1900
1948
  "a-arrow-up": "a-arrow-up";
1901
1949
  "a-large-small": "a-large-small";
@@ -2078,7 +2126,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2078
2126
  "bar-chart-horizontal-big": "bar-chart-horizontal-big";
2079
2127
  barcode: "barcode";
2080
2128
  barrel: "barrel";
2081
- baseline: "baseline";
2082
2129
  bath: "bath";
2083
2130
  battery: "battery";
2084
2131
  "battery-charging": "battery-charging";
@@ -2259,7 +2306,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2259
2306
  "chart-pie": "chart-pie";
2260
2307
  "chart-scatter": "chart-scatter";
2261
2308
  "chart-spline": "chart-spline";
2262
- check: "check";
2263
2309
  "check-check": "check-check";
2264
2310
  "check-circle": "check-circle";
2265
2311
  "check-circle-2": "check-circle-2";
@@ -2295,7 +2341,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2295
2341
  church: "church";
2296
2342
  cigarette: "cigarette";
2297
2343
  "cigarette-off": "cigarette-off";
2298
- circle: "circle";
2299
2344
  "circle-alert": "circle-alert";
2300
2345
  "circle-arrow-down": "circle-arrow-down";
2301
2346
  "circle-arrow-left": "circle-arrow-left";
@@ -2396,7 +2441,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2396
2441
  cloudy: "cloudy";
2397
2442
  clover: "clover";
2398
2443
  club: "club";
2399
- code: "code";
2400
2444
  "code-2": "code-2";
2401
2445
  "code-square": "code-square";
2402
2446
  "code-xml": "code-xml";
@@ -2523,7 +2567,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2523
2567
  eraser: "eraser";
2524
2568
  "ethernet-port": "ethernet-port";
2525
2569
  euro: "euro";
2526
- expand: "expand";
2527
2570
  "external-link": "external-link";
2528
2571
  eye: "eye";
2529
2572
  "eye-closed": "eye-closed";
@@ -2692,7 +2735,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2692
2735
  gavel: "gavel";
2693
2736
  gem: "gem";
2694
2737
  "georgian-lari": "georgian-lari";
2695
- ghost: "ghost";
2696
2738
  gift: "gift";
2697
2739
  "git-branch": "git-branch";
2698
2740
  "git-branch-plus": "git-branch-plus";
@@ -2722,7 +2764,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2722
2764
  grab: "grab";
2723
2765
  "graduation-cap": "graduation-cap";
2724
2766
  grape: "grape";
2725
- grid: "grid";
2726
2767
  "grid-2-x-2": "grid-2-x-2";
2727
2768
  "grid-2-x-2-check": "grid-2-x-2-check";
2728
2769
  "grid-2-x-2-plus": "grid-2-x-2-plus";
@@ -2737,7 +2778,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2737
2778
  grip: "grip";
2738
2779
  "grip-horizontal": "grip-horizontal";
2739
2780
  "grip-vertical": "grip-vertical";
2740
- group: "group";
2741
2781
  guitar: "guitar";
2742
2782
  ham: "ham";
2743
2783
  hamburger: "hamburger";
@@ -2756,7 +2796,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2756
2796
  hash: "hash";
2757
2797
  haze: "haze";
2758
2798
  "hdmi-port": "hdmi-port";
2759
- heading: "heading";
2760
2799
  "heading-1": "heading-1";
2761
2800
  "heading-2": "heading-2";
2762
2801
  "heading-3": "heading-3";
@@ -2795,7 +2834,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2795
2834
  "ice-cream-cone": "ice-cream-cone";
2796
2835
  "id-card": "id-card";
2797
2836
  "id-card-lanyard": "id-card-lanyard";
2798
- image: "image";
2799
2837
  "image-down": "image-down";
2800
2838
  "image-minus": "image-minus";
2801
2839
  "image-off": "image-off";
@@ -2939,7 +2977,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
2939
2977
  "megaphone-off": "megaphone-off";
2940
2978
  meh: "meh";
2941
2979
  "memory-stick": "memory-stick";
2942
- menu: "menu";
2943
2980
  "menu-square": "menu-square";
2944
2981
  "message-circle": "message-circle";
2945
2982
  "message-circle-code": "message-circle-code";
@@ -3004,14 +3041,12 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3004
3041
  "more-vertical": "more-vertical";
3005
3042
  mountain: "mountain";
3006
3043
  "mountain-snow": "mountain-snow";
3007
- mouse: "mouse";
3008
3044
  "mouse-off": "mouse-off";
3009
3045
  "mouse-pointer": "mouse-pointer";
3010
3046
  "mouse-pointer-2": "mouse-pointer-2";
3011
3047
  "mouse-pointer-ban": "mouse-pointer-ban";
3012
3048
  "mouse-pointer-click": "mouse-pointer-click";
3013
3049
  "mouse-pointer-square-dashed": "mouse-pointer-square-dashed";
3014
- move: "move";
3015
3050
  "move-3-d": "move-3-d";
3016
3051
  "move-3d": "move-3d";
3017
3052
  "move-diagonal": "move-diagonal";
@@ -3030,7 +3065,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3030
3065
  "music-2": "music-2";
3031
3066
  "music-3": "music-3";
3032
3067
  "music-4": "music-4";
3033
- navigation: "navigation";
3034
3068
  "navigation-2": "navigation-2";
3035
3069
  "navigation-2-off": "navigation-2-off";
3036
3070
  "navigation-off": "navigation-off";
@@ -3052,7 +3086,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3052
3086
  "octagon-pause": "octagon-pause";
3053
3087
  "octagon-x": "octagon-x";
3054
3088
  omega: "omega";
3055
- option: "option";
3056
3089
  orbit: "orbit";
3057
3090
  origami: "origami";
3058
3091
  outdent: "outdent";
@@ -3109,7 +3142,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3109
3142
  "pause-octagon": "pause-octagon";
3110
3143
  "paw-print": "paw-print";
3111
3144
  "pc-case": "pc-case";
3112
- pen: "pen";
3113
3145
  "pen-box": "pen-box";
3114
3146
  "pen-line": "pen-line";
3115
3147
  "pen-off": "pen-off";
@@ -3175,7 +3207,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3175
3207
  "power-circle": "power-circle";
3176
3208
  "power-off": "power-off";
3177
3209
  "power-square": "power-square";
3178
- presentation: "presentation";
3179
3210
  printer: "printer";
3180
3211
  "printer-check": "printer-check";
3181
3212
  projector: "projector";
@@ -3188,10 +3219,8 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3188
3219
  radar: "radar";
3189
3220
  radiation: "radiation";
3190
3221
  radical: "radical";
3191
- radio: "radio";
3192
3222
  "radio-receiver": "radio-receiver";
3193
3223
  "radio-tower": "radio-tower";
3194
- radius: "radius";
3195
3224
  "rail-symbol": "rail-symbol";
3196
3225
  rainbow: "rainbow";
3197
3226
  rat: "rat";
@@ -3219,7 +3248,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3219
3248
  "refresh-cw": "refresh-cw";
3220
3249
  "refresh-cw-off": "refresh-cw-off";
3221
3250
  refrigerator: "refrigerator";
3222
- regex: "regex";
3223
3251
  "remove-formatting": "remove-formatting";
3224
3252
  "repeat-1": "repeat-1";
3225
3253
  "repeat-2": "repeat-2";
@@ -3258,7 +3286,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3258
3286
  save: "save";
3259
3287
  "save-all": "save-all";
3260
3288
  "save-off": "save-off";
3261
- scale: "scale";
3262
3289
  "scale-3-d": "scale-3-d";
3263
3290
  "scale-3d": "scale-3d";
3264
3291
  scaling: "scaling";
@@ -3285,8 +3312,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3285
3312
  "search-code": "search-code";
3286
3313
  "search-slash": "search-slash";
3287
3314
  "search-x": "search-x";
3288
- section: "section";
3289
- send: "send";
3290
3315
  "send-horizonal": "send-horizonal";
3291
3316
  "send-horizontal": "send-horizontal";
3292
3317
  "send-to-back": "send-to-back";
@@ -3379,7 +3404,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3379
3404
  spool: "spool";
3380
3405
  "spray-can": "spray-can";
3381
3406
  sprout: "sprout";
3382
- square: "square";
3383
3407
  "square-activity": "square-activity";
3384
3408
  "square-arrow-down": "square-arrow-down";
3385
3409
  "square-arrow-down-left": "square-arrow-down-left";
@@ -3480,7 +3504,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3480
3504
  sword: "sword";
3481
3505
  swords: "swords";
3482
3506
  syringe: "syringe";
3483
- table: "table";
3484
3507
  "table-2": "table-2";
3485
3508
  "table-cells-merge": "table-cells-merge";
3486
3509
  "table-cells-split": "table-cells-split";
@@ -3498,17 +3521,14 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3498
3521
  "tally-4": "tally-4";
3499
3522
  "tally-5": "tally-5";
3500
3523
  tangent: "tangent";
3501
- target: "target";
3502
3524
  telescope: "telescope";
3503
3525
  tent: "tent";
3504
3526
  "tent-tree": "tent-tree";
3505
- terminal: "terminal";
3506
3527
  "terminal-square": "terminal-square";
3507
3528
  "test-tube": "test-tube";
3508
3529
  "test-tube-2": "test-tube-2";
3509
3530
  "test-tube-diagonal": "test-tube-diagonal";
3510
3531
  "test-tubes": "test-tubes";
3511
- text: "text";
3512
3532
  "text-cursor": "text-cursor";
3513
3533
  "text-cursor-input": "text-cursor-input";
3514
3534
  "text-quote": "text-quote";
@@ -3530,7 +3550,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3530
3550
  "ticket-x": "ticket-x";
3531
3551
  tickets: "tickets";
3532
3552
  "tickets-plane": "tickets-plane";
3533
- timer: "timer";
3534
3553
  "timer-off": "timer-off";
3535
3554
  "timer-reset": "timer-reset";
3536
3555
  "toggle-left": "toggle-left";
@@ -3637,10 +3656,8 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3637
3656
  verified: "verified";
3638
3657
  vibrate: "vibrate";
3639
3658
  "vibrate-off": "vibrate-off";
3640
- video: "video";
3641
3659
  "video-off": "video-off";
3642
3660
  videotape: "videotape";
3643
- view: "view";
3644
3661
  voicemail: "voicemail";
3645
3662
  volleyball: "volleyball";
3646
3663
  volume: "volume";
@@ -3685,7 +3702,6 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3685
3702
  worm: "worm";
3686
3703
  "wrap-text": "wrap-text";
3687
3704
  wrench: "wrench";
3688
- x: "x";
3689
3705
  "x-circle": "x-circle";
3690
3706
  "x-octagon": "x-octagon";
3691
3707
  "x-square": "x-square";
@@ -3698,6 +3714,7 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3698
3714
  badge: z.ZodOptional<z.ZodObject<{
3699
3715
  label: z.ZodString;
3700
3716
  color: z.ZodEnum<{
3717
+ outline: "outline";
3701
3718
  green: "green";
3702
3719
  blue: "blue";
3703
3720
  yellow: "yellow";
@@ -3705,15 +3722,22 @@ declare const InputNavigationLinkSchema: z.ZodObject<{
3705
3722
  purple: "purple";
3706
3723
  indigo: "indigo";
3707
3724
  gray: "gray";
3708
- outline: "outline";
3709
3725
  }>;
3726
+ invert: z.ZodOptional<z.ZodBoolean>;
3727
+ className: z.ZodOptional<z.ZodString>;
3710
3728
  }, z.core.$strip>>;
3711
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
3729
+ display: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
3730
+ hide: "hide";
3731
+ always: "always";
3712
3732
  auth: "auth";
3713
3733
  anon: "anon";
3714
- always: "always";
3715
- hide: "hide";
3716
- }>>>;
3734
+ }>, z.ZodCustom<(params: {
3735
+ context: ZudokuContext;
3736
+ auth: UseAuthReturn;
3737
+ }) => boolean, (params: {
3738
+ context: ZudokuContext;
3739
+ auth: UseAuthReturn;
3740
+ }) => boolean>]>>>;
3717
3741
  }, z.core.$strip>;
3718
3742
  declare const InputNavigationCustomPageSchema: z.ZodObject<{
3719
3743
  type: z.ZodLiteral<"custom-page">;
@@ -3743,12 +3767,44 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
3743
3767
  tag: "tag";
3744
3768
  file: "file";
3745
3769
  delete: "delete";
3770
+ code: "code";
3771
+ check: "check";
3746
3772
  copy: "copy";
3747
3773
  focus: "focus";
3748
3774
  pause: "pause";
3749
3775
  play: "play";
3750
3776
  scroll: "scroll";
3751
3777
  merge: "merge";
3778
+ ghost: "ghost";
3779
+ expand: "expand";
3780
+ send: "send";
3781
+ grid: "grid";
3782
+ group: "group";
3783
+ heading: "heading";
3784
+ menu: "menu";
3785
+ navigation: "navigation";
3786
+ option: "option";
3787
+ presentation: "presentation";
3788
+ radio: "radio";
3789
+ table: "table";
3790
+ timer: "timer";
3791
+ text: "text";
3792
+ mouse: "mouse";
3793
+ pen: "pen";
3794
+ regex: "regex";
3795
+ target: "target";
3796
+ radius: "radius";
3797
+ scale: "scale";
3798
+ x: "x";
3799
+ section: "section";
3800
+ video: "video";
3801
+ circle: "circle";
3802
+ image: "image";
3803
+ view: "view";
3804
+ baseline: "baseline";
3805
+ terminal: "terminal";
3806
+ square: "square";
3807
+ move: "move";
3752
3808
  "a-arrow-down": "a-arrow-down";
3753
3809
  "a-arrow-up": "a-arrow-up";
3754
3810
  "a-large-small": "a-large-small";
@@ -3931,7 +3987,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
3931
3987
  "bar-chart-horizontal-big": "bar-chart-horizontal-big";
3932
3988
  barcode: "barcode";
3933
3989
  barrel: "barrel";
3934
- baseline: "baseline";
3935
3990
  bath: "bath";
3936
3991
  battery: "battery";
3937
3992
  "battery-charging": "battery-charging";
@@ -4112,7 +4167,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4112
4167
  "chart-pie": "chart-pie";
4113
4168
  "chart-scatter": "chart-scatter";
4114
4169
  "chart-spline": "chart-spline";
4115
- check: "check";
4116
4170
  "check-check": "check-check";
4117
4171
  "check-circle": "check-circle";
4118
4172
  "check-circle-2": "check-circle-2";
@@ -4148,7 +4202,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4148
4202
  church: "church";
4149
4203
  cigarette: "cigarette";
4150
4204
  "cigarette-off": "cigarette-off";
4151
- circle: "circle";
4152
4205
  "circle-alert": "circle-alert";
4153
4206
  "circle-arrow-down": "circle-arrow-down";
4154
4207
  "circle-arrow-left": "circle-arrow-left";
@@ -4249,7 +4302,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4249
4302
  cloudy: "cloudy";
4250
4303
  clover: "clover";
4251
4304
  club: "club";
4252
- code: "code";
4253
4305
  "code-2": "code-2";
4254
4306
  "code-square": "code-square";
4255
4307
  "code-xml": "code-xml";
@@ -4376,7 +4428,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4376
4428
  eraser: "eraser";
4377
4429
  "ethernet-port": "ethernet-port";
4378
4430
  euro: "euro";
4379
- expand: "expand";
4380
4431
  "external-link": "external-link";
4381
4432
  eye: "eye";
4382
4433
  "eye-closed": "eye-closed";
@@ -4545,7 +4596,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4545
4596
  gavel: "gavel";
4546
4597
  gem: "gem";
4547
4598
  "georgian-lari": "georgian-lari";
4548
- ghost: "ghost";
4549
4599
  gift: "gift";
4550
4600
  "git-branch": "git-branch";
4551
4601
  "git-branch-plus": "git-branch-plus";
@@ -4575,7 +4625,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4575
4625
  grab: "grab";
4576
4626
  "graduation-cap": "graduation-cap";
4577
4627
  grape: "grape";
4578
- grid: "grid";
4579
4628
  "grid-2-x-2": "grid-2-x-2";
4580
4629
  "grid-2-x-2-check": "grid-2-x-2-check";
4581
4630
  "grid-2-x-2-plus": "grid-2-x-2-plus";
@@ -4590,7 +4639,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4590
4639
  grip: "grip";
4591
4640
  "grip-horizontal": "grip-horizontal";
4592
4641
  "grip-vertical": "grip-vertical";
4593
- group: "group";
4594
4642
  guitar: "guitar";
4595
4643
  ham: "ham";
4596
4644
  hamburger: "hamburger";
@@ -4609,7 +4657,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4609
4657
  hash: "hash";
4610
4658
  haze: "haze";
4611
4659
  "hdmi-port": "hdmi-port";
4612
- heading: "heading";
4613
4660
  "heading-1": "heading-1";
4614
4661
  "heading-2": "heading-2";
4615
4662
  "heading-3": "heading-3";
@@ -4648,7 +4695,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4648
4695
  "ice-cream-cone": "ice-cream-cone";
4649
4696
  "id-card": "id-card";
4650
4697
  "id-card-lanyard": "id-card-lanyard";
4651
- image: "image";
4652
4698
  "image-down": "image-down";
4653
4699
  "image-minus": "image-minus";
4654
4700
  "image-off": "image-off";
@@ -4792,7 +4838,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4792
4838
  "megaphone-off": "megaphone-off";
4793
4839
  meh: "meh";
4794
4840
  "memory-stick": "memory-stick";
4795
- menu: "menu";
4796
4841
  "menu-square": "menu-square";
4797
4842
  "message-circle": "message-circle";
4798
4843
  "message-circle-code": "message-circle-code";
@@ -4857,14 +4902,12 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4857
4902
  "more-vertical": "more-vertical";
4858
4903
  mountain: "mountain";
4859
4904
  "mountain-snow": "mountain-snow";
4860
- mouse: "mouse";
4861
4905
  "mouse-off": "mouse-off";
4862
4906
  "mouse-pointer": "mouse-pointer";
4863
4907
  "mouse-pointer-2": "mouse-pointer-2";
4864
4908
  "mouse-pointer-ban": "mouse-pointer-ban";
4865
4909
  "mouse-pointer-click": "mouse-pointer-click";
4866
4910
  "mouse-pointer-square-dashed": "mouse-pointer-square-dashed";
4867
- move: "move";
4868
4911
  "move-3-d": "move-3-d";
4869
4912
  "move-3d": "move-3d";
4870
4913
  "move-diagonal": "move-diagonal";
@@ -4883,7 +4926,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4883
4926
  "music-2": "music-2";
4884
4927
  "music-3": "music-3";
4885
4928
  "music-4": "music-4";
4886
- navigation: "navigation";
4887
4929
  "navigation-2": "navigation-2";
4888
4930
  "navigation-2-off": "navigation-2-off";
4889
4931
  "navigation-off": "navigation-off";
@@ -4905,7 +4947,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4905
4947
  "octagon-pause": "octagon-pause";
4906
4948
  "octagon-x": "octagon-x";
4907
4949
  omega: "omega";
4908
- option: "option";
4909
4950
  orbit: "orbit";
4910
4951
  origami: "origami";
4911
4952
  outdent: "outdent";
@@ -4962,7 +5003,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
4962
5003
  "pause-octagon": "pause-octagon";
4963
5004
  "paw-print": "paw-print";
4964
5005
  "pc-case": "pc-case";
4965
- pen: "pen";
4966
5006
  "pen-box": "pen-box";
4967
5007
  "pen-line": "pen-line";
4968
5008
  "pen-off": "pen-off";
@@ -5028,7 +5068,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5028
5068
  "power-circle": "power-circle";
5029
5069
  "power-off": "power-off";
5030
5070
  "power-square": "power-square";
5031
- presentation: "presentation";
5032
5071
  printer: "printer";
5033
5072
  "printer-check": "printer-check";
5034
5073
  projector: "projector";
@@ -5041,10 +5080,8 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5041
5080
  radar: "radar";
5042
5081
  radiation: "radiation";
5043
5082
  radical: "radical";
5044
- radio: "radio";
5045
5083
  "radio-receiver": "radio-receiver";
5046
5084
  "radio-tower": "radio-tower";
5047
- radius: "radius";
5048
5085
  "rail-symbol": "rail-symbol";
5049
5086
  rainbow: "rainbow";
5050
5087
  rat: "rat";
@@ -5072,7 +5109,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5072
5109
  "refresh-cw": "refresh-cw";
5073
5110
  "refresh-cw-off": "refresh-cw-off";
5074
5111
  refrigerator: "refrigerator";
5075
- regex: "regex";
5076
5112
  "remove-formatting": "remove-formatting";
5077
5113
  "repeat-1": "repeat-1";
5078
5114
  "repeat-2": "repeat-2";
@@ -5111,7 +5147,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5111
5147
  save: "save";
5112
5148
  "save-all": "save-all";
5113
5149
  "save-off": "save-off";
5114
- scale: "scale";
5115
5150
  "scale-3-d": "scale-3-d";
5116
5151
  "scale-3d": "scale-3d";
5117
5152
  scaling: "scaling";
@@ -5138,8 +5173,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5138
5173
  "search-code": "search-code";
5139
5174
  "search-slash": "search-slash";
5140
5175
  "search-x": "search-x";
5141
- section: "section";
5142
- send: "send";
5143
5176
  "send-horizonal": "send-horizonal";
5144
5177
  "send-horizontal": "send-horizontal";
5145
5178
  "send-to-back": "send-to-back";
@@ -5232,7 +5265,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5232
5265
  spool: "spool";
5233
5266
  "spray-can": "spray-can";
5234
5267
  sprout: "sprout";
5235
- square: "square";
5236
5268
  "square-activity": "square-activity";
5237
5269
  "square-arrow-down": "square-arrow-down";
5238
5270
  "square-arrow-down-left": "square-arrow-down-left";
@@ -5333,7 +5365,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5333
5365
  sword: "sword";
5334
5366
  swords: "swords";
5335
5367
  syringe: "syringe";
5336
- table: "table";
5337
5368
  "table-2": "table-2";
5338
5369
  "table-cells-merge": "table-cells-merge";
5339
5370
  "table-cells-split": "table-cells-split";
@@ -5351,17 +5382,14 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5351
5382
  "tally-4": "tally-4";
5352
5383
  "tally-5": "tally-5";
5353
5384
  tangent: "tangent";
5354
- target: "target";
5355
5385
  telescope: "telescope";
5356
5386
  tent: "tent";
5357
5387
  "tent-tree": "tent-tree";
5358
- terminal: "terminal";
5359
5388
  "terminal-square": "terminal-square";
5360
5389
  "test-tube": "test-tube";
5361
5390
  "test-tube-2": "test-tube-2";
5362
5391
  "test-tube-diagonal": "test-tube-diagonal";
5363
5392
  "test-tubes": "test-tubes";
5364
- text: "text";
5365
5393
  "text-cursor": "text-cursor";
5366
5394
  "text-cursor-input": "text-cursor-input";
5367
5395
  "text-quote": "text-quote";
@@ -5383,7 +5411,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5383
5411
  "ticket-x": "ticket-x";
5384
5412
  tickets: "tickets";
5385
5413
  "tickets-plane": "tickets-plane";
5386
- timer: "timer";
5387
5414
  "timer-off": "timer-off";
5388
5415
  "timer-reset": "timer-reset";
5389
5416
  "toggle-left": "toggle-left";
@@ -5490,10 +5517,8 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5490
5517
  verified: "verified";
5491
5518
  vibrate: "vibrate";
5492
5519
  "vibrate-off": "vibrate-off";
5493
- video: "video";
5494
5520
  "video-off": "video-off";
5495
5521
  videotape: "videotape";
5496
- view: "view";
5497
5522
  voicemail: "voicemail";
5498
5523
  volleyball: "volleyball";
5499
5524
  volume: "volume";
@@ -5538,7 +5563,6 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5538
5563
  worm: "worm";
5539
5564
  "wrap-text": "wrap-text";
5540
5565
  wrench: "wrench";
5541
- x: "x";
5542
5566
  "x-circle": "x-circle";
5543
5567
  "x-octagon": "x-octagon";
5544
5568
  "x-square": "x-square";
@@ -5551,6 +5575,7 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5551
5575
  badge: z.ZodOptional<z.ZodObject<{
5552
5576
  label: z.ZodString;
5553
5577
  color: z.ZodEnum<{
5578
+ outline: "outline";
5554
5579
  green: "green";
5555
5580
  blue: "blue";
5556
5581
  yellow: "yellow";
@@ -5558,15 +5583,26 @@ declare const InputNavigationCustomPageSchema: z.ZodObject<{
5558
5583
  purple: "purple";
5559
5584
  indigo: "indigo";
5560
5585
  gray: "gray";
5561
- outline: "outline";
5562
5586
  }>;
5587
+ invert: z.ZodOptional<z.ZodBoolean>;
5588
+ className: z.ZodOptional<z.ZodString>;
5563
5589
  }, z.core.$strip>>;
5564
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
5590
+ display: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
5591
+ hide: "hide";
5592
+ always: "always";
5565
5593
  auth: "auth";
5566
5594
  anon: "anon";
5567
- always: "always";
5568
- hide: "hide";
5569
- }>>>;
5595
+ }>, z.ZodCustom<(params: {
5596
+ context: ZudokuContext;
5597
+ auth: UseAuthReturn;
5598
+ }) => boolean, (params: {
5599
+ context: ZudokuContext;
5600
+ auth: UseAuthReturn;
5601
+ }) => boolean>]>>>;
5602
+ layout: z.ZodOptional<z.ZodEnum<{
5603
+ default: "default";
5604
+ none: "none";
5605
+ }>>;
5570
5606
  }, z.core.$strip>;
5571
5607
  declare const BaseInputNavigationCategorySchema: z.ZodObject<{
5572
5608
  type: z.ZodLiteral<"category">;
@@ -5593,12 +5629,44 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
5593
5629
  tag: "tag";
5594
5630
  file: "file";
5595
5631
  delete: "delete";
5632
+ code: "code";
5633
+ check: "check";
5596
5634
  copy: "copy";
5597
5635
  focus: "focus";
5598
5636
  pause: "pause";
5599
5637
  play: "play";
5600
5638
  scroll: "scroll";
5601
5639
  merge: "merge";
5640
+ ghost: "ghost";
5641
+ expand: "expand";
5642
+ send: "send";
5643
+ grid: "grid";
5644
+ group: "group";
5645
+ heading: "heading";
5646
+ menu: "menu";
5647
+ navigation: "navigation";
5648
+ option: "option";
5649
+ presentation: "presentation";
5650
+ radio: "radio";
5651
+ table: "table";
5652
+ timer: "timer";
5653
+ text: "text";
5654
+ mouse: "mouse";
5655
+ pen: "pen";
5656
+ regex: "regex";
5657
+ target: "target";
5658
+ radius: "radius";
5659
+ scale: "scale";
5660
+ x: "x";
5661
+ section: "section";
5662
+ video: "video";
5663
+ circle: "circle";
5664
+ image: "image";
5665
+ view: "view";
5666
+ baseline: "baseline";
5667
+ terminal: "terminal";
5668
+ square: "square";
5669
+ move: "move";
5602
5670
  "a-arrow-down": "a-arrow-down";
5603
5671
  "a-arrow-up": "a-arrow-up";
5604
5672
  "a-large-small": "a-large-small";
@@ -5781,7 +5849,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
5781
5849
  "bar-chart-horizontal-big": "bar-chart-horizontal-big";
5782
5850
  barcode: "barcode";
5783
5851
  barrel: "barrel";
5784
- baseline: "baseline";
5785
5852
  bath: "bath";
5786
5853
  battery: "battery";
5787
5854
  "battery-charging": "battery-charging";
@@ -5962,7 +6029,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
5962
6029
  "chart-pie": "chart-pie";
5963
6030
  "chart-scatter": "chart-scatter";
5964
6031
  "chart-spline": "chart-spline";
5965
- check: "check";
5966
6032
  "check-check": "check-check";
5967
6033
  "check-circle": "check-circle";
5968
6034
  "check-circle-2": "check-circle-2";
@@ -5998,7 +6064,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
5998
6064
  church: "church";
5999
6065
  cigarette: "cigarette";
6000
6066
  "cigarette-off": "cigarette-off";
6001
- circle: "circle";
6002
6067
  "circle-alert": "circle-alert";
6003
6068
  "circle-arrow-down": "circle-arrow-down";
6004
6069
  "circle-arrow-left": "circle-arrow-left";
@@ -6099,7 +6164,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6099
6164
  cloudy: "cloudy";
6100
6165
  clover: "clover";
6101
6166
  club: "club";
6102
- code: "code";
6103
6167
  "code-2": "code-2";
6104
6168
  "code-square": "code-square";
6105
6169
  "code-xml": "code-xml";
@@ -6226,7 +6290,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6226
6290
  eraser: "eraser";
6227
6291
  "ethernet-port": "ethernet-port";
6228
6292
  euro: "euro";
6229
- expand: "expand";
6230
6293
  "external-link": "external-link";
6231
6294
  eye: "eye";
6232
6295
  "eye-closed": "eye-closed";
@@ -6395,7 +6458,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6395
6458
  gavel: "gavel";
6396
6459
  gem: "gem";
6397
6460
  "georgian-lari": "georgian-lari";
6398
- ghost: "ghost";
6399
6461
  gift: "gift";
6400
6462
  "git-branch": "git-branch";
6401
6463
  "git-branch-plus": "git-branch-plus";
@@ -6425,7 +6487,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6425
6487
  grab: "grab";
6426
6488
  "graduation-cap": "graduation-cap";
6427
6489
  grape: "grape";
6428
- grid: "grid";
6429
6490
  "grid-2-x-2": "grid-2-x-2";
6430
6491
  "grid-2-x-2-check": "grid-2-x-2-check";
6431
6492
  "grid-2-x-2-plus": "grid-2-x-2-plus";
@@ -6440,7 +6501,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6440
6501
  grip: "grip";
6441
6502
  "grip-horizontal": "grip-horizontal";
6442
6503
  "grip-vertical": "grip-vertical";
6443
- group: "group";
6444
6504
  guitar: "guitar";
6445
6505
  ham: "ham";
6446
6506
  hamburger: "hamburger";
@@ -6459,7 +6519,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6459
6519
  hash: "hash";
6460
6520
  haze: "haze";
6461
6521
  "hdmi-port": "hdmi-port";
6462
- heading: "heading";
6463
6522
  "heading-1": "heading-1";
6464
6523
  "heading-2": "heading-2";
6465
6524
  "heading-3": "heading-3";
@@ -6498,7 +6557,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6498
6557
  "ice-cream-cone": "ice-cream-cone";
6499
6558
  "id-card": "id-card";
6500
6559
  "id-card-lanyard": "id-card-lanyard";
6501
- image: "image";
6502
6560
  "image-down": "image-down";
6503
6561
  "image-minus": "image-minus";
6504
6562
  "image-off": "image-off";
@@ -6642,7 +6700,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6642
6700
  "megaphone-off": "megaphone-off";
6643
6701
  meh: "meh";
6644
6702
  "memory-stick": "memory-stick";
6645
- menu: "menu";
6646
6703
  "menu-square": "menu-square";
6647
6704
  "message-circle": "message-circle";
6648
6705
  "message-circle-code": "message-circle-code";
@@ -6707,14 +6764,12 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6707
6764
  "more-vertical": "more-vertical";
6708
6765
  mountain: "mountain";
6709
6766
  "mountain-snow": "mountain-snow";
6710
- mouse: "mouse";
6711
6767
  "mouse-off": "mouse-off";
6712
6768
  "mouse-pointer": "mouse-pointer";
6713
6769
  "mouse-pointer-2": "mouse-pointer-2";
6714
6770
  "mouse-pointer-ban": "mouse-pointer-ban";
6715
6771
  "mouse-pointer-click": "mouse-pointer-click";
6716
6772
  "mouse-pointer-square-dashed": "mouse-pointer-square-dashed";
6717
- move: "move";
6718
6773
  "move-3-d": "move-3-d";
6719
6774
  "move-3d": "move-3d";
6720
6775
  "move-diagonal": "move-diagonal";
@@ -6733,7 +6788,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6733
6788
  "music-2": "music-2";
6734
6789
  "music-3": "music-3";
6735
6790
  "music-4": "music-4";
6736
- navigation: "navigation";
6737
6791
  "navigation-2": "navigation-2";
6738
6792
  "navigation-2-off": "navigation-2-off";
6739
6793
  "navigation-off": "navigation-off";
@@ -6755,7 +6809,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6755
6809
  "octagon-pause": "octagon-pause";
6756
6810
  "octagon-x": "octagon-x";
6757
6811
  omega: "omega";
6758
- option: "option";
6759
6812
  orbit: "orbit";
6760
6813
  origami: "origami";
6761
6814
  outdent: "outdent";
@@ -6812,7 +6865,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6812
6865
  "pause-octagon": "pause-octagon";
6813
6866
  "paw-print": "paw-print";
6814
6867
  "pc-case": "pc-case";
6815
- pen: "pen";
6816
6868
  "pen-box": "pen-box";
6817
6869
  "pen-line": "pen-line";
6818
6870
  "pen-off": "pen-off";
@@ -6878,7 +6930,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6878
6930
  "power-circle": "power-circle";
6879
6931
  "power-off": "power-off";
6880
6932
  "power-square": "power-square";
6881
- presentation: "presentation";
6882
6933
  printer: "printer";
6883
6934
  "printer-check": "printer-check";
6884
6935
  projector: "projector";
@@ -6891,10 +6942,8 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6891
6942
  radar: "radar";
6892
6943
  radiation: "radiation";
6893
6944
  radical: "radical";
6894
- radio: "radio";
6895
6945
  "radio-receiver": "radio-receiver";
6896
6946
  "radio-tower": "radio-tower";
6897
- radius: "radius";
6898
6947
  "rail-symbol": "rail-symbol";
6899
6948
  rainbow: "rainbow";
6900
6949
  rat: "rat";
@@ -6922,7 +6971,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6922
6971
  "refresh-cw": "refresh-cw";
6923
6972
  "refresh-cw-off": "refresh-cw-off";
6924
6973
  refrigerator: "refrigerator";
6925
- regex: "regex";
6926
6974
  "remove-formatting": "remove-formatting";
6927
6975
  "repeat-1": "repeat-1";
6928
6976
  "repeat-2": "repeat-2";
@@ -6961,7 +7009,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6961
7009
  save: "save";
6962
7010
  "save-all": "save-all";
6963
7011
  "save-off": "save-off";
6964
- scale: "scale";
6965
7012
  "scale-3-d": "scale-3-d";
6966
7013
  "scale-3d": "scale-3d";
6967
7014
  scaling: "scaling";
@@ -6988,8 +7035,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
6988
7035
  "search-code": "search-code";
6989
7036
  "search-slash": "search-slash";
6990
7037
  "search-x": "search-x";
6991
- section: "section";
6992
- send: "send";
6993
7038
  "send-horizonal": "send-horizonal";
6994
7039
  "send-horizontal": "send-horizontal";
6995
7040
  "send-to-back": "send-to-back";
@@ -7082,7 +7127,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7082
7127
  spool: "spool";
7083
7128
  "spray-can": "spray-can";
7084
7129
  sprout: "sprout";
7085
- square: "square";
7086
7130
  "square-activity": "square-activity";
7087
7131
  "square-arrow-down": "square-arrow-down";
7088
7132
  "square-arrow-down-left": "square-arrow-down-left";
@@ -7183,7 +7227,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7183
7227
  sword: "sword";
7184
7228
  swords: "swords";
7185
7229
  syringe: "syringe";
7186
- table: "table";
7187
7230
  "table-2": "table-2";
7188
7231
  "table-cells-merge": "table-cells-merge";
7189
7232
  "table-cells-split": "table-cells-split";
@@ -7201,17 +7244,14 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7201
7244
  "tally-4": "tally-4";
7202
7245
  "tally-5": "tally-5";
7203
7246
  tangent: "tangent";
7204
- target: "target";
7205
7247
  telescope: "telescope";
7206
7248
  tent: "tent";
7207
7249
  "tent-tree": "tent-tree";
7208
- terminal: "terminal";
7209
7250
  "terminal-square": "terminal-square";
7210
7251
  "test-tube": "test-tube";
7211
7252
  "test-tube-2": "test-tube-2";
7212
7253
  "test-tube-diagonal": "test-tube-diagonal";
7213
7254
  "test-tubes": "test-tubes";
7214
- text: "text";
7215
7255
  "text-cursor": "text-cursor";
7216
7256
  "text-cursor-input": "text-cursor-input";
7217
7257
  "text-quote": "text-quote";
@@ -7233,7 +7273,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7233
7273
  "ticket-x": "ticket-x";
7234
7274
  tickets: "tickets";
7235
7275
  "tickets-plane": "tickets-plane";
7236
- timer: "timer";
7237
7276
  "timer-off": "timer-off";
7238
7277
  "timer-reset": "timer-reset";
7239
7278
  "toggle-left": "toggle-left";
@@ -7340,10 +7379,8 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7340
7379
  verified: "verified";
7341
7380
  vibrate: "vibrate";
7342
7381
  "vibrate-off": "vibrate-off";
7343
- video: "video";
7344
7382
  "video-off": "video-off";
7345
7383
  videotape: "videotape";
7346
- view: "view";
7347
7384
  voicemail: "voicemail";
7348
7385
  volleyball: "volleyball";
7349
7386
  volume: "volume";
@@ -7388,7 +7425,6 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7388
7425
  worm: "worm";
7389
7426
  "wrap-text": "wrap-text";
7390
7427
  wrench: "wrench";
7391
- x: "x";
7392
7428
  "x-circle": "x-circle";
7393
7429
  "x-octagon": "x-octagon";
7394
7430
  "x-square": "x-square";
@@ -7406,12 +7442,18 @@ declare const BaseInputNavigationCategorySchema: z.ZodObject<{
7406
7442
  file: z.ZodString;
7407
7443
  label: z.ZodOptional<z.ZodString>;
7408
7444
  }, z.core.$strip>]>>;
7409
- display: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7445
+ display: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
7446
+ hide: "hide";
7447
+ always: "always";
7410
7448
  auth: "auth";
7411
7449
  anon: "anon";
7412
- always: "always";
7413
- hide: "hide";
7414
- }>>>;
7450
+ }>, z.ZodCustom<(params: {
7451
+ context: ZudokuContext;
7452
+ auth: UseAuthReturn;
7453
+ }) => boolean, (params: {
7454
+ context: ZudokuContext;
7455
+ auth: UseAuthReturn;
7456
+ }) => boolean>]>>>;
7415
7457
  }, z.core.$strip>;
7416
7458
  export type InputNavigationItem = z.infer<typeof InputNavigationDocSchema> | z.infer<typeof InputNavigationLinkSchema> | z.infer<typeof InputNavigationCustomPageSchema> | (z.infer<typeof BaseInputNavigationCategorySchema> & {
7417
7459
  items: InputNavigationItem[];