zudoku 0.0.0-fdf886de → 0.0.0-fe92c9e1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -12
- package/cli.js +1 -0
- package/client.d.ts +8 -0
- package/dist/app/ZuploBuildConfig.d.ts +1 -1
- package/dist/app/ZuploBuildConfig.js +1 -1
- package/dist/app/ZuploBuildConfig.js.map +1 -1
- package/dist/app/entry.client.js +5 -4
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.js +16 -3
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.js +6 -6
- package/dist/app/env.js.map +1 -1
- package/dist/app/main.d.ts +91 -1
- package/dist/app/main.js +5 -1
- package/dist/app/main.js.map +1 -1
- package/dist/app/standalone.js +4 -1
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/cli.d.ts +9 -0
- package/dist/cli/cli.js +5 -10
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/preview.d.ts +1 -1
- package/dist/cli/common/analytics/lib.js +1 -1
- package/dist/cli/common/analytics/lib.js.map +1 -1
- package/dist/cli/common/logger.js +0 -1
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +3 -2
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/output.js +2 -3
- package/dist/cli/common/output.js.map +1 -1
- package/dist/cli/common/utils/box.js +2 -2
- package/dist/cli/common/utils/box.js.map +1 -1
- package/dist/cli/common/validators/lib.js +1 -1
- package/dist/cli/common/validators/lib.js.map +1 -1
- package/dist/cli/common/version-check.d.ts +2 -0
- package/dist/cli/common/version-check.js +58 -0
- package/dist/cli/common/version-check.js.map +1 -0
- package/dist/cli/dev/handler.js +0 -4
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/codegen.js +2 -2
- package/dist/codegen.js.map +1 -1
- package/dist/config/config.d.ts +15 -41
- package/dist/config/loader.js.map +1 -1
- package/dist/config/validators/BuildSchema.d.ts +16 -8
- package/dist/config/validators/BuildSchema.js +22 -5
- package/dist/config/validators/BuildSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +260 -78
- package/dist/config/validators/InputNavigationSchema.js +5 -2
- package/dist/config/validators/InputNavigationSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.test-d.js +2 -1
- package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
- package/dist/config/validators/NavigationSchema.d.ts +1 -1
- package/dist/config/validators/NavigationSchema.js +2 -2
- package/dist/config/validators/NavigationSchema.js.map +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +2 -2
- package/dist/config/validators/ProtectedRoutesSchema.js +1 -1
- package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -1
- package/dist/config/validators/auth.d.ts +2 -2
- package/dist/config/validators/auth.js +1 -1
- package/dist/config/validators/auth.js.map +1 -1
- package/dist/config/validators/icon-types.d.ts +1 -1
- package/dist/config/validators/icon-types.js +43 -0
- package/dist/config/validators/icon-types.js.map +1 -1
- package/dist/config/validators/validate.d.ts +202 -20
- package/dist/config/validators/validate.js +70 -11
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.js +1 -2
- package/dist/config/validators/validate.test.js.map +1 -1
- package/dist/flat-config.d.ts +52 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +1 -1
- package/dist/lib/MissingIcon.js.map +1 -1
- package/dist/lib/assets/language-icons/c.d.ts +3 -0
- package/dist/lib/assets/language-icons/c.js +4 -0
- package/dist/lib/assets/language-icons/c.js.map +1 -0
- package/dist/lib/assets/language-icons/commonlisp.d.ts +3 -0
- package/dist/lib/assets/language-icons/commonlisp.js +4 -0
- package/dist/lib/assets/language-icons/commonlisp.js.map +1 -0
- package/dist/lib/assets/language-icons/cpp.d.ts +3 -0
- package/dist/lib/assets/language-icons/cpp.js +4 -0
- package/dist/lib/assets/language-icons/cpp.js.map +1 -0
- package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
- package/dist/lib/assets/language-icons/csharp.js +4 -0
- package/dist/lib/assets/language-icons/csharp.js.map +1 -0
- package/dist/lib/assets/language-icons/css.d.ts +3 -0
- package/dist/lib/assets/language-icons/css.js +4 -0
- package/dist/lib/assets/language-icons/css.js.map +1 -0
- package/dist/lib/assets/language-icons/dart.d.ts +3 -0
- package/dist/lib/assets/language-icons/dart.js +4 -0
- package/dist/lib/assets/language-icons/dart.js.map +1 -0
- package/dist/lib/assets/language-icons/elixir.d.ts +3 -0
- package/dist/lib/assets/language-icons/elixir.js +4 -0
- package/dist/lib/assets/language-icons/elixir.js.map +1 -0
- package/dist/lib/assets/language-icons/go.d.ts +3 -0
- package/dist/lib/assets/language-icons/go.js +4 -0
- package/dist/lib/assets/language-icons/go.js.map +1 -0
- package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
- package/dist/lib/assets/language-icons/graphql.js +4 -0
- package/dist/lib/assets/language-icons/graphql.js.map +1 -0
- package/dist/lib/assets/language-icons/html.d.ts +3 -0
- package/dist/lib/assets/language-icons/html.js +4 -0
- package/dist/lib/assets/language-icons/html.js.map +1 -0
- package/dist/lib/assets/language-icons/java.d.ts +3 -0
- package/dist/lib/assets/language-icons/java.js +4 -0
- package/dist/lib/assets/language-icons/java.js.map +1 -0
- package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
- package/dist/lib/assets/language-icons/javascript.js +4 -0
- package/dist/lib/assets/language-icons/javascript.js.map +1 -0
- package/dist/lib/assets/language-icons/json.d.ts +3 -0
- package/dist/lib/assets/language-icons/json.js +4 -0
- package/dist/lib/assets/language-icons/json.js.map +1 -0
- package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
- package/dist/lib/assets/language-icons/kotlin.js +4 -0
- package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
- package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
- package/dist/lib/assets/language-icons/markdown.js +4 -0
- package/dist/lib/assets/language-icons/markdown.js.map +1 -0
- package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
- package/dist/lib/assets/language-icons/mdx.js +4 -0
- package/dist/lib/assets/language-icons/mdx.js.map +1 -0
- package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
- package/dist/lib/assets/language-icons/objectivec.js +4 -0
- package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
- package/dist/lib/assets/language-icons/ocaml.d.ts +3 -0
- package/dist/lib/assets/language-icons/ocaml.js +4 -0
- package/dist/lib/assets/language-icons/ocaml.js.map +1 -0
- package/dist/lib/assets/language-icons/php.d.ts +3 -0
- package/dist/lib/assets/language-icons/php.js +4 -0
- package/dist/lib/assets/language-icons/php.js.map +1 -0
- package/dist/lib/assets/language-icons/powershell.d.ts +3 -0
- package/dist/lib/assets/language-icons/powershell.js +4 -0
- package/dist/lib/assets/language-icons/powershell.js.map +1 -0
- package/dist/lib/assets/language-icons/python.d.ts +3 -0
- package/dist/lib/assets/language-icons/python.js +4 -0
- package/dist/lib/assets/language-icons/python.js.map +1 -0
- package/dist/lib/assets/language-icons/react.d.ts +3 -0
- package/dist/lib/assets/language-icons/react.js +4 -0
- package/dist/lib/assets/language-icons/react.js.map +1 -0
- package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
- package/dist/lib/assets/language-icons/ruby.js +4 -0
- package/dist/lib/assets/language-icons/ruby.js.map +1 -0
- package/dist/lib/assets/language-icons/rust.d.ts +3 -0
- package/dist/lib/assets/language-icons/rust.js +4 -0
- package/dist/lib/assets/language-icons/rust.js.map +1 -0
- package/dist/lib/assets/language-icons/scala.d.ts +3 -0
- package/dist/lib/assets/language-icons/scala.js +4 -0
- package/dist/lib/assets/language-icons/scala.js.map +1 -0
- package/dist/lib/assets/language-icons/shell.d.ts +3 -0
- package/dist/lib/assets/language-icons/shell.js +4 -0
- package/dist/lib/assets/language-icons/shell.js.map +1 -0
- package/dist/lib/assets/language-icons/swift.d.ts +3 -0
- package/dist/lib/assets/language-icons/swift.js +4 -0
- package/dist/lib/assets/language-icons/swift.js.map +1 -0
- package/dist/lib/assets/language-icons/toml.d.ts +3 -0
- package/dist/lib/assets/language-icons/toml.js +4 -0
- package/dist/lib/assets/language-icons/toml.js.map +1 -0
- package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
- package/dist/lib/assets/language-icons/typescript.js +4 -0
- package/dist/lib/assets/language-icons/typescript.js.map +1 -0
- package/dist/lib/assets/language-icons/xml.d.ts +3 -0
- package/dist/lib/assets/language-icons/xml.js +4 -0
- package/dist/lib/assets/language-icons/xml.js.map +1 -0
- package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
- package/dist/lib/assets/language-icons/yaml.js +4 -0
- package/dist/lib/assets/language-icons/yaml.js.map +1 -0
- package/dist/lib/assets/language-icons/zig.d.ts +3 -0
- package/dist/lib/assets/language-icons/zig.js +4 -0
- package/dist/lib/assets/language-icons/zig.js.map +1 -0
- package/dist/lib/auth/issuer.js +3 -0
- package/dist/lib/auth/issuer.js.map +1 -1
- package/dist/lib/auth/issuer.test.js +1 -0
- package/dist/lib/auth/issuer.test.js.map +1 -1
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +1 -1
- package/dist/lib/authentication/authentication.d.ts +19 -13
- package/dist/lib/authentication/components/OAuthErrorPage.d.ts +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.js +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.js +6 -5
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +6 -6
- package/dist/lib/authentication/components/SignOut.js.map +1 -1
- package/dist/lib/authentication/components/SignUp.js +5 -5
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +3 -2
- package/dist/lib/authentication/hook.js +12 -8
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.d.ts +2 -2
- package/dist/lib/authentication/providers/auth0.js +9 -5
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +5 -5
- package/dist/lib/authentication/providers/azureb2c.js +3 -3
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +2 -2
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/firebase.d.ts +4 -0
- package/dist/lib/authentication/providers/firebase.js +215 -0
- package/dist/lib/authentication/providers/firebase.js.map +1 -0
- package/dist/lib/authentication/providers/openid.d.ts +8 -8
- package/dist/lib/authentication/providers/openid.js +5 -3
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.d.ts +8 -0
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js +39 -0
- package/dist/lib/authentication/providers/supabase/SupabaseAuthUI.js.map +1 -0
- package/dist/lib/authentication/providers/supabase.d.ts +2 -2
- package/dist/lib/authentication/providers/supabase.js +30 -30
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +5 -7
- package/dist/lib/authentication/state.js +2 -14
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +24 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js +124 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Apple.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Apple.js +4 -0
- package/dist/lib/authentication/ui/icons/Apple.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Facebook.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Facebook.js +4 -0
- package/dist/lib/authentication/ui/icons/Facebook.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Github.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Github.js +4 -0
- package/dist/lib/authentication/ui/icons/Github.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Google.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Google.js +4 -0
- package/dist/lib/authentication/ui/icons/Google.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Microsoft.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js +4 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js.map +1 -0
- package/dist/lib/authentication/ui/icons/X.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/X.js +4 -0
- package/dist/lib/authentication/ui/icons/X.js.map +1 -0
- package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
- package/dist/lib/authentication/use-broadcast/shared.js +3 -3
- package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
- package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
- package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +3 -1
- package/dist/lib/components/Autocomplete.js +6 -2
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.js +4 -3
- package/dist/lib/components/BuildCheck.js.map +1 -1
- package/dist/lib/components/Header.js +1 -3
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +2 -2
- package/dist/lib/components/Heading.js +2 -6
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/LanguageIcon.d.ts +3 -0
- package/dist/lib/components/LanguageIcon.js +163 -0
- package/dist/lib/components/LanguageIcon.js.map +1 -0
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.js +1 -1
- package/dist/lib/components/Main.js.map +1 -1
- package/dist/lib/components/Markdown.js +2 -2
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/Meta.js +1 -1
- package/dist/lib/components/Meta.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +4 -4
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/PathRenderer.js +1 -1
- package/dist/lib/components/PathRenderer.js.map +1 -1
- package/dist/lib/components/Search.js +1 -1
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.js.map +1 -1
- package/dist/lib/components/Slot.test.js +7 -3
- package/dist/lib/components/Slot.test.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +1 -1
- package/dist/lib/components/TopNavigation.js +2 -2
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +5 -5
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +3 -1
- package/dist/lib/components/cache.js +3 -5
- package/dist/lib/components/cache.js.map +1 -1
- package/dist/lib/components/context/ComponentsContext.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
- package/dist/lib/components/context/SlotProvider.js.map +1 -1
- package/dist/lib/components/context/ViewportAnchorContext.js +1 -1
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
- package/dist/lib/components/context/ZudokuContext.js +10 -2
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
- package/dist/lib/components/index.d.ts +14 -4
- package/dist/lib/components/index.js +3 -1
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/NavigationCategory.js +6 -1
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
- package/dist/lib/components/navigation/NavigationItem.js +3 -3
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
- package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -1
- package/dist/lib/components/navigation/Toc.js +1 -1
- package/dist/lib/components/navigation/Toc.js.map +1 -1
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
- package/dist/lib/components/navigation/utils.d.ts +3 -3
- package/dist/lib/components/navigation/utils.js +1 -2
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +1 -1
- package/dist/lib/core/RouteGuard.js +12 -20
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +2 -1
- package/dist/lib/core/ZudokuContext.js +3 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/__internal.d.ts +1 -1
- package/dist/lib/errors/ErrorAlert.js +1 -2
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/RouterError.d.ts +3 -1
- package/dist/lib/errors/RouterError.js +3 -2
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/errors/TopLevelError.d.ts +2 -2
- package/dist/lib/errors/TopLevelError.js +1 -2
- package/dist/lib/errors/TopLevelError.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +3 -3
- package/dist/lib/oas/graphql/circular.js +2 -2
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/oas/graphql/index.js +39 -3
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +2 -1
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
- package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
- package/dist/lib/oas/parser/index.js +8 -4
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.js +2 -1
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.js +7 -1
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +1 -1
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
- package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +4 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +10 -16
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +3 -3
- package/dist/lib/plugins/api-keys/index.js +1 -1
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +3 -2
- package/dist/lib/plugins/markdown/MdxPage.js +32 -8
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.d.ts +2 -0
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js +3 -0
- package/dist/lib/plugins/markdown/assets/ChatGPTLogo.js.map +1 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.d.ts +2 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.js +3 -0
- package/dist/lib/plugins/markdown/assets/ClaudeLogo.js.map +1 -0
- package/dist/lib/plugins/markdown/index.d.ts +4 -2
- package/dist/lib/plugins/markdown/index.js +1 -1
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +1 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js +2 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +4 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +2 -2
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.d.ts +5 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js +10 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js.map +1 -0
- package/dist/lib/plugins/openapi/MCPEndpoint.d.ts +5 -0
- package/dist/lib/plugins/openapi/MCPEndpoint.js +56 -0
- package/dist/lib/plugins/openapi/MCPEndpoint.js.map +1 -0
- package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
- package/dist/lib/plugins/openapi/OasProvider.js +1 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +0 -2
- package/dist/lib/plugins/openapi/OperationList.js +31 -8
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +4 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +12 -5
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.js +11 -9
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
- package/dist/lib/plugins/openapi/ParameterList.js +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -5
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +11 -4
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +2 -2
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +3 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +14 -2
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.d.ts +5 -3
- package/dist/lib/plugins/openapi/Sidecar.js +54 -30
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +11 -6
- package/dist/lib/plugins/openapi/SidecarExamples.js +15 -33
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/createServer.js +1 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.d.ts +4 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js +5 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +1 -1
- package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -1
- package/dist/lib/plugins/openapi/context.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
- package/dist/lib/plugins/openapi/graphql/gql.js +2 -2
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +11 -2
- package/dist/lib/plugins/openapi/graphql/graphql.js +11 -0
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +2 -2
- package/dist/lib/plugins/openapi/index.js +7 -11
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +18 -4
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/BodyPanel.js +67 -15
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +2 -2
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +23 -83
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +10 -2
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +8 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js +2 -3
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +9 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +70 -32
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +3 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +16 -40
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +2 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +10 -2
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +5 -3
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js +19 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js +540 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.d.ts +40 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js +205 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +4 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +33 -19
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +5 -3
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +2 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +6 -15
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +12 -11
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/UnionView.d.ts +5 -0
- package/dist/lib/plugins/openapi/schema/UnionView.js +36 -0
- package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.js +71 -0
- package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/utils.d.ts +0 -7
- package/dist/lib/plugins/openapi/schema/utils.js +0 -6
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +5 -3
- package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +1 -1
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js +1 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +10 -13
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
- package/dist/lib/plugins/search-inkeep/index.js +1 -1
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js +4 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
- package/dist/lib/shiki.d.ts +3 -6
- package/dist/lib/shiki.js +29 -8
- package/dist/lib/shiki.js.map +1 -1
- package/dist/lib/ui/Breadcrumb.js +1 -1
- package/dist/lib/ui/Breadcrumb.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +1 -1
- package/dist/lib/ui/Button.js +1 -0
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +5 -5
- package/dist/lib/ui/Callout.js +5 -5
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Checkbox.d.ts +2 -2
- package/dist/lib/ui/Checkbox.js +4 -4
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +1 -2
- package/dist/lib/ui/CodeBlock.js +3 -28
- package/dist/lib/ui/CodeBlock.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +5 -5
- package/dist/lib/ui/Command.js +2 -6
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Dialog.d.ts +12 -18
- package/dist/lib/ui/Dialog.js +30 -17
- package/dist/lib/ui/Dialog.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +3 -2
- package/dist/lib/ui/EmbeddedCodeBlock.js +2 -2
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/dist/lib/ui/Form.d.ts +2 -2
- package/dist/lib/ui/Pagination.d.ts +1 -1
- package/dist/lib/ui/Pagination.js +1 -1
- package/dist/lib/ui/Pagination.js.map +1 -1
- package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
- package/dist/lib/ui/ReactComponentDoc.js +10 -0
- package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
- package/dist/lib/ui/Secret.d.ts +18 -0
- package/dist/lib/ui/Secret.js +26 -0
- package/dist/lib/ui/Secret.js.map +1 -0
- package/dist/lib/ui/Separator.d.ts +4 -0
- package/dist/lib/ui/Separator.js +8 -0
- package/dist/lib/ui/Separator.js.map +1 -0
- package/dist/lib/ui/SyntaxHighlight.d.ts +1 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -1
- package/dist/lib/ui/ToggleGroup.d.ts +1 -1
- package/dist/lib/ui/Tooltip.d.ts +7 -7
- package/dist/lib/ui/Tooltip.js +16 -10
- package/dist/lib/ui/Tooltip.js.map +1 -1
- package/dist/lib/ui/Value.d.ts +5 -0
- package/dist/lib/ui/Value.js +13 -0
- package/dist/lib/ui/Value.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +3 -2
- package/dist/lib/util/MdxComponents.js +7 -4
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/cn.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +7 -4
- package/dist/lib/util/createVariantComponent.js +5 -2
- package/dist/lib/util/createVariantComponent.js.map +1 -1
- package/dist/lib/util/flattenAllOf.d.ts +4 -0
- package/dist/lib/util/flattenAllOf.js +65 -0
- package/dist/lib/util/flattenAllOf.js.map +1 -0
- package/dist/lib/util/flattenAllOf.test.d.ts +1 -0
- package/dist/lib/util/flattenAllOf.test.js +532 -0
- package/dist/lib/util/flattenAllOf.test.js.map +1 -0
- package/dist/lib/util/groupBy.js +1 -0
- package/dist/lib/util/groupBy.js.map +1 -1
- package/dist/lib/util/humanFileSize.js +1 -1
- package/dist/lib/util/humanFileSize.js.map +1 -1
- package/dist/lib/util/invariant.js +3 -1
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/pastellize.js +4 -4
- package/dist/lib/util/pastellize.js.map +1 -1
- package/dist/lib/util/syncZustandState.d.ts +5 -0
- package/dist/lib/util/syncZustandState.js +14 -0
- package/dist/lib/util/syncZustandState.js.map +1 -0
- package/dist/lib/util/traverse.d.ts +1 -0
- package/dist/lib/util/traverse.js +25 -0
- package/dist/lib/util/traverse.js.map +1 -1
- package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.js +2 -0
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/ts.js +3 -3
- package/dist/ts.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +3 -1
- package/dist/vite/api/SchemaManager.js +43 -32
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/api/SchemaManager.test.js +2 -2
- package/dist/vite/api/SchemaManager.test.js.map +1 -1
- package/dist/vite/api/schema-codegen.js +60 -42
- package/dist/vite/api/schema-codegen.js.map +1 -1
- package/dist/vite/api/schema-codegen.test.js +76 -3
- package/dist/vite/api/schema-codegen.test.js.map +1 -1
- package/dist/vite/build.js +1 -1
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/dev-server.js +2 -2
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +2 -2
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/llms.d.ts +12 -0
- package/dist/vite/llms.js +66 -0
- package/dist/vite/llms.js.map +1 -0
- package/dist/vite/mdx/remark-inject-filepath.js.map +1 -1
- package/dist/vite/mdx/remark-last-modified.js +57 -4
- package/dist/vite/mdx/remark-last-modified.js.map +1 -1
- package/dist/vite/mdx/remark-link-rewrite.js.map +1 -1
- package/dist/vite/mdx/remark-static-generation.js +1 -1
- package/dist/vite/mdx/remark-static-generation.js.map +1 -1
- package/dist/vite/output.d.ts +1 -1
- package/dist/vite/output.js +1 -1
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +1 -1
- package/dist/vite/plugin-api-keys.js +1 -1
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +22 -21
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +1 -1
- package/dist/vite/plugin-auth.js +1 -1
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +1 -1
- package/dist/vite/plugin-config-reload.d.ts +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +1 -1
- package/dist/vite/plugin-custom-pages.js +1 -1
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +9 -0
- package/dist/vite/plugin-docs.js +70 -47
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.js +1 -1
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-markdown-export.d.ts +21 -0
- package/dist/vite/plugin-markdown-export.js +141 -0
- package/dist/vite/plugin-markdown-export.js.map +1 -0
- package/dist/vite/plugin-mdx.d.ts +2 -2
- package/dist/vite/plugin-mdx.js +44 -34
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-metadata.d.ts +1 -1
- package/dist/vite/plugin-navigation.d.ts +2 -2
- package/dist/vite/plugin-navigation.js +38 -35
- package/dist/vite/plugin-navigation.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +1 -1
- package/dist/vite/plugin-redirect.js +1 -1
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +1 -1
- package/dist/vite/plugin-search.js +1 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.js +1 -1
- package/dist/vite/plugin-shiki-register.js.map +1 -1
- package/dist/vite/plugin-theme.js +16 -7
- package/dist/vite/plugin-theme.js.map +1 -1
- package/dist/vite/plugin-theme.test.js +2 -0
- package/dist/vite/plugin-theme.test.js.map +1 -1
- package/dist/vite/plugin.d.ts +1 -1
- package/dist/vite/plugin.js +4 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.js +5 -3
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
- package/dist/vite/prerender/InMemoryResponse.js +3 -1
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
- package/dist/vite/prerender/prerender.js +38 -5
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/worker.d.ts +1 -1
- package/dist/vite/prerender/worker.js.map +1 -1
- package/dist/vite/reporter.js +2 -2
- package/dist/vite/reporter.js.map +1 -1
- package/dist/vite/shadcn-registry.d.ts +8 -33
- package/dist/vite/sitemap.js +4 -4
- package/dist/vite/sitemap.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo-mcp.d.ts +4 -0
- package/dist/zuplo/enrich-with-zuplo-mcp.js +117 -0
- package/dist/zuplo/enrich-with-zuplo-mcp.js.map +1 -0
- package/dist/zuplo/enrich-with-zuplo.d.ts +1 -0
- package/dist/zuplo/enrich-with-zuplo.js +4 -4
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
- package/dist/zuplo/policy-types.js +0 -1
- package/dist/zuplo/policy-types.js.map +1 -1
- package/dist/zuplo/with-zuplo-processors.js +2 -0
- package/dist/zuplo/with-zuplo-processors.js.map +1 -1
- package/dist/zuplo/with-zuplo.js +1 -1
- package/dist/zuplo/with-zuplo.js.map +1 -1
- package/lib/{Button-B3o-2Xdf.js → Button-B3ucvvQw.js} +7 -6
- package/lib/Button-B3ucvvQw.js.map +1 -0
- package/lib/{Card-CMDQUPM4.js → Card-KFniaZn5.js} +2 -2
- package/lib/{Card-CMDQUPM4.js.map → Card-KFniaZn5.js.map} +1 -1
- package/lib/{CategoryHeading-DCpZu3yG.js → CategoryHeading-DhmodDcq.js} +2 -2
- package/lib/{CategoryHeading-DCpZu3yG.js.map → CategoryHeading-DhmodDcq.js.map} +1 -1
- package/lib/{Command-CDn17s8X.js → Command-CUcrW3qs.js} +22 -28
- package/lib/Command-CUcrW3qs.js.map +1 -0
- package/lib/Dialog-BQciPiHN.js +144 -0
- package/lib/Dialog-BQciPiHN.js.map +1 -0
- package/lib/{Drawer-DJ05s2pH.js → Drawer-Ci7XwhqT.js} +2 -2
- package/lib/{Drawer-DJ05s2pH.js.map → Drawer-Ci7XwhqT.js.map} +1 -1
- package/lib/DropdownMenu-BZ2NKQ3K.js +126 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js.map +1 -0
- package/lib/{Slot-DOtTvoyj.js → ErrorAlert-B4eXGBQj.js} +2413 -2431
- package/lib/ErrorAlert-B4eXGBQj.js.map +1 -0
- package/lib/MdxPage-BSxjb_Mb.js +240 -0
- package/lib/MdxPage-BSxjb_Mb.js.map +1 -0
- package/lib/{OAuthErrorPage-Jv3r8wnL.js → OAuthErrorPage-YbraVLZt.js} +9 -9
- package/lib/OAuthErrorPage-YbraVLZt.js.map +1 -0
- package/lib/{OasProvider-CA_lpILt.js → OasProvider-CgHWBl16.js} +5 -4
- package/lib/OasProvider-CgHWBl16.js.map +1 -0
- package/lib/OperationList-BNNhgkkk.js +5482 -0
- package/lib/OperationList-BNNhgkkk.js.map +1 -0
- package/lib/{Pagination-CBiRGddW.js → Pagination-BpxzD3Tn.js} +4 -4
- package/lib/{Pagination-CBiRGddW.js.map → Pagination-BpxzD3Tn.js.map} +1 -1
- package/lib/RouteGuard-Brz95MSt.js +77 -0
- package/lib/RouteGuard-Brz95MSt.js.map +1 -0
- package/lib/RouterError-BsnUU8eo.js +42 -0
- package/lib/RouterError-BsnUU8eo.js.map +1 -0
- package/lib/{SchemaList-BeYWvBC7.js → SchemaList-C8-SHBql.js} +10 -10
- package/lib/{SchemaList-BeYWvBC7.js.map → SchemaList-C8-SHBql.js.map} +1 -1
- package/lib/SchemaView-VsgUbgRw.js +397 -0
- package/lib/SchemaView-VsgUbgRw.js.map +1 -0
- package/lib/Select-C1DeCqKv.js +372 -0
- package/lib/Select-C1DeCqKv.js.map +1 -0
- package/lib/SignUp-Bnvel-zK.js +50 -0
- package/lib/SignUp-Bnvel-zK.js.map +1 -0
- package/lib/{Spinner-mNLZ6awP.js → Spinner-CI6bRyZw.js} +2 -2
- package/lib/{Spinner-mNLZ6awP.js.map → Spinner-CI6bRyZw.js.map} +1 -1
- package/lib/{SyntaxHighlight-GR0eix_L.js → SyntaxHighlight-C19vH0V_.js} +1074 -1030
- package/lib/SyntaxHighlight-C19vH0V_.js.map +1 -0
- package/lib/{Toc-BlcGIkXc.js → Toc-DR_4nkDQ.js} +6 -6
- package/lib/Toc-DR_4nkDQ.js.map +1 -0
- package/lib/ZudokuContext-BUZ5hkWB.js +1508 -0
- package/lib/ZudokuContext-BUZ5hkWB.js.map +1 -0
- package/lib/c-B-NUhs61.js +46 -0
- package/lib/c-B-NUhs61.js.map +1 -0
- package/lib/chunk-PVWAREVJ-BMhpCH5D.js +7965 -0
- package/lib/chunk-PVWAREVJ-BMhpCH5D.js.map +1 -0
- package/lib/{circular-CGTcsqA3.js → circular-BHuymtcS.js} +30 -30
- package/lib/{circular-CGTcsqA3.js.map → circular-BHuymtcS.js.map} +1 -1
- package/lib/cn-dYga0KKN.js.map +1 -1
- package/lib/commonlisp-De080z23.js +28 -0
- package/lib/commonlisp-De080z23.js.map +1 -0
- package/lib/cpp-79Paht7T.js +53 -0
- package/lib/cpp-79Paht7T.js.map +1 -0
- package/lib/{createServer-DjgpuLne.js → createServer-C4Kx4Ah4.js} +3703 -3225
- package/lib/createServer-C4Kx4Ah4.js.map +1 -0
- package/lib/csharp-D8MIL50B.js +53 -0
- package/lib/csharp-D8MIL50B.js.map +1 -0
- package/lib/css-Bt6hr1td.js +54 -0
- package/lib/css-Bt6hr1td.js.map +1 -0
- package/lib/dart-B0vy1jWB.js +60 -0
- package/lib/dart-B0vy1jWB.js.map +1 -0
- package/lib/elixir-Ds8r0sF8.js +25 -0
- package/lib/elixir-Ds8r0sF8.js.map +1 -0
- package/lib/{errors-CrI3s7mR.js → errors-C43bc4dH.js} +3 -3
- package/lib/errors-C43bc4dH.js.map +1 -0
- package/lib/go-D2VsmIOS.js +25 -0
- package/lib/go-D2VsmIOS.js.map +1 -0
- package/lib/graphql-BtA6M4m5.js +25 -0
- package/lib/graphql-BtA6M4m5.js.map +1 -0
- package/lib/hook-CMeoxziF.js +40 -0
- package/lib/hook-CMeoxziF.js.map +1 -0
- package/lib/html-MGnI2uzP.js +33 -0
- package/lib/html-MGnI2uzP.js.map +1 -0
- package/lib/index-BlL_RtG2.js +3665 -0
- package/lib/index-BlL_RtG2.js.map +1 -0
- package/lib/{index-DzO-Qh6S.js → index-CfR_Jx5Q.js} +276 -278
- package/lib/index-CfR_Jx5Q.js.map +1 -0
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/{index-HarEI51d.js → index-Dc4KrhPf.js} +166 -50
- package/lib/index-Dc4KrhPf.js.map +1 -0
- package/lib/{index-DmNq2fbN.js → index-nGbmHh_A.js} +2 -2
- package/lib/index-nGbmHh_A.js.map +1 -0
- package/lib/index.esm-BYObtETB.js +1294 -0
- package/lib/index.esm-BYObtETB.js.map +1 -0
- package/lib/index.esm-BnYHxCYC.js.map +1 -1
- package/lib/invariant-Bm-FVUQE.js.map +1 -1
- package/lib/java-CVLzHfb1.js +53 -0
- package/lib/java-CVLzHfb1.js.map +1 -0
- package/lib/javascript-CcmIpL4G.js +10 -0
- package/lib/javascript-CcmIpL4G.js.map +1 -0
- package/lib/json-4AyP4uiY.js +25 -0
- package/lib/json-4AyP4uiY.js.map +1 -0
- package/lib/{jsx-runtime-C5mzlN2N.js → jsx-runtime-BzflLqGi.js} +110 -112
- package/lib/jsx-runtime-BzflLqGi.js.map +1 -0
- package/lib/kotlin-v2plddBQ.js +37 -0
- package/lib/kotlin-v2plddBQ.js.map +1 -0
- package/lib/markdown-DYGWCmGQ.js +25 -0
- package/lib/markdown-DYGWCmGQ.js.map +1 -0
- package/lib/mdx-CHwYvXd4.js +32 -0
- package/lib/mdx-CHwYvXd4.js.map +1 -0
- package/lib/{mutation-Dy_5up8v.js → mutation-BSU0xu4m.js} +2 -2
- package/lib/{mutation-Dy_5up8v.js.map → mutation-BSU0xu4m.js.map} +1 -1
- package/lib/objectivec-HZY8shkd.js +32 -0
- package/lib/objectivec-HZY8shkd.js.map +1 -0
- package/lib/ocaml-DqsdDdwb.js +52 -0
- package/lib/ocaml-DqsdDdwb.js.map +1 -0
- package/lib/php-rQXzo7K_.js +25 -0
- package/lib/php-rQXzo7K_.js.map +1 -0
- package/lib/powershell-CQje9pm1.js +39 -0
- package/lib/powershell-CQje9pm1.js.map +1 -0
- package/lib/processors/traverse.js.map +1 -1
- package/lib/python-QIQAE5Ei.js +32 -0
- package/lib/python-QIQAE5Ei.js.map +1 -0
- package/lib/react-DHpVpxRv.js +24 -0
- package/lib/react-DHpVpxRv.js.map +1 -0
- package/lib/ruby-B2dU8Ny5.js +25 -0
- package/lib/ruby-B2dU8Ny5.js.map +1 -0
- package/lib/rust-DYnLHAi2.js +25 -0
- package/lib/rust-DYnLHAi2.js.map +1 -0
- package/lib/scala-CeKInBR8.js +25 -0
- package/lib/scala-CeKInBR8.js.map +1 -0
- package/lib/shell-HUv9oVtp.js +25 -0
- package/lib/shell-HUv9oVtp.js.map +1 -0
- package/lib/swift-B4z6ig1Z.js +25 -0
- package/lib/swift-B4z6ig1Z.js.map +1 -0
- package/lib/toml-Co9mpdct.js +32 -0
- package/lib/toml-Co9mpdct.js.map +1 -0
- package/lib/typescript-C26xdBDC.js +32 -0
- package/lib/typescript-C26xdBDC.js.map +1 -0
- package/lib/ui/Accordion.js +1 -1
- package/lib/ui/ActionButton.js +3 -3
- package/lib/ui/Alert.js +1 -1
- package/lib/ui/AlertDialog.js +1 -1
- package/lib/ui/Badge.js +1 -1
- package/lib/ui/Breadcrumb.js +23 -22
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +6 -5
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +19 -19
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +1 -1
- package/lib/ui/Carousel.js +1 -1
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +29 -26
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +217 -6
- package/lib/ui/CodeBlock.js.map +1 -1
- package/lib/ui/Command.js +21 -27
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +135 -105
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +2 -2
- package/lib/ui/DropdownMenu.js +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +25 -22
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/lib/ui/Form.js +2 -2
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +1 -1
- package/lib/ui/Input.js +1 -1
- package/lib/ui/Label.js +1 -1
- package/lib/ui/Pagination.js +28 -29
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +1 -1
- package/lib/ui/Progress.js +1 -1
- package/lib/ui/RadioGroup.js +1 -1
- package/lib/ui/ReactComponentDoc.js +28 -0
- package/lib/ui/ReactComponentDoc.js.map +1 -0
- package/lib/ui/ScrollArea.js +1 -1
- package/lib/ui/Secret.js +106 -0
- package/lib/ui/Secret.js.map +1 -0
- package/lib/ui/Select.js +1 -1
- package/lib/ui/Separator.js +27 -0
- package/lib/ui/Separator.js.map +1 -0
- package/lib/ui/Skeleton.js +1 -1
- package/lib/ui/Slider.js +1 -1
- package/lib/ui/Stepper.js +1 -1
- package/lib/ui/Switch.js +1 -1
- package/lib/ui/SyntaxHighlight.js +4 -4
- package/lib/ui/Tabs.js +1 -1
- package/lib/ui/Textarea.js +1 -1
- package/lib/ui/Toggle.js +1 -1
- package/lib/ui/ToggleGroup.js +1 -1
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +55 -28
- package/lib/ui/Tooltip.js.map +1 -1
- package/lib/ui/Value.js +39 -0
- package/lib/ui/Value.js.map +1 -0
- package/lib/useCopyToClipboard-B_085nfO.js +14 -0
- package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
- package/lib/{useExposedProps-BH9aq4MD.js → useExposedProps-U3pmsHaG.js} +34 -34
- package/lib/{useExposedProps-BH9aq4MD.js.map → useExposedProps-U3pmsHaG.js.map} +1 -1
- package/lib/xml-BQOOC04j.js +25 -0
- package/lib/xml-BQOOC04j.js.map +1 -0
- package/lib/yaml-BGsJItKv.js +32 -0
- package/lib/yaml-BGsJItKv.js.map +1 -0
- package/lib/zig-CUV2sTct.js +35 -0
- package/lib/zig-CUV2sTct.js.map +1 -0
- package/lib/zudoku.__internal.js +1192 -1073
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +23 -22
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +34 -35
- package/lib/zudoku.auth-azureb2c.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +41 -41
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +104 -108
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +108 -51
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +21 -20
- package/lib/zudoku.hooks.js +6 -6
- package/lib/zudoku.hooks.js.map +1 -1
- package/lib/zudoku.icons.js +1 -1
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +34 -28
- package/lib/zudoku.plugin-api-catalog.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +302 -327
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +1 -1
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +10 -9
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -8
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +3 -3
- package/lib/zudoku.plugin-search-inkeep.js +1 -1
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +48 -49
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.router.js +2502 -118
- package/lib/zudoku.router.js.map +1 -1
- package/package.json +93 -92
- package/src/app/ZuploBuildConfig.ts +1 -1
- package/src/app/entry.client.tsx +6 -5
- package/src/app/entry.server.tsx +19 -9
- package/src/app/env.ts +6 -6
- package/src/app/main.css +71 -19
- package/src/app/main.tsx +7 -3
- package/src/app/standalone.tsx +7 -2
- package/src/lib/MissingIcon.tsx +1 -1
- package/src/lib/assets/language-icons/c.tsx +31 -0
- package/src/lib/assets/language-icons/commonlisp.tsx +22 -0
- package/src/lib/assets/language-icons/cpp.tsx +35 -0
- package/src/lib/assets/language-icons/csharp.tsx +35 -0
- package/src/lib/assets/language-icons/css.tsx +36 -0
- package/src/lib/assets/language-icons/dart.tsx +39 -0
- package/src/lib/assets/language-icons/elixir.tsx +19 -0
- package/src/lib/assets/language-icons/go.tsx +19 -0
- package/src/lib/assets/language-icons/graphql.tsx +19 -0
- package/src/lib/assets/language-icons/html.tsx +24 -0
- package/src/lib/assets/language-icons/java.tsx +35 -0
- package/src/lib/assets/language-icons/javascript.tsx +11 -0
- package/src/lib/assets/language-icons/json.tsx +19 -0
- package/src/lib/assets/language-icons/kotlin.tsx +30 -0
- package/src/lib/assets/language-icons/markdown.tsx +19 -0
- package/src/lib/assets/language-icons/mdx.tsx +23 -0
- package/src/lib/assets/language-icons/objectivec.tsx +23 -0
- package/src/lib/assets/language-icons/ocaml.tsx +34 -0
- package/src/lib/assets/language-icons/php.tsx +19 -0
- package/src/lib/assets/language-icons/powershell.tsx +27 -0
- package/src/lib/assets/language-icons/python.tsx +23 -0
- package/src/lib/assets/language-icons/react.tsx +21 -0
- package/src/lib/assets/language-icons/ruby.tsx +19 -0
- package/src/lib/assets/language-icons/rust.tsx +19 -0
- package/src/lib/assets/language-icons/scala.tsx +19 -0
- package/src/lib/assets/language-icons/shell.tsx +19 -0
- package/src/lib/assets/language-icons/swift.tsx +19 -0
- package/src/lib/assets/language-icons/toml.tsx +23 -0
- package/src/lib/assets/language-icons/typescript.tsx +23 -0
- package/src/lib/assets/language-icons/xml.tsx +19 -0
- package/src/lib/assets/language-icons/yaml.tsx +23 -0
- package/src/lib/assets/language-icons/zig.tsx +32 -0
- package/src/lib/auth/issuer.test.ts +1 -0
- package/src/lib/auth/issuer.ts +3 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
- package/src/lib/authentication/authentication.ts +26 -8
- package/src/lib/authentication/components/OAuthErrorPage.tsx +2 -2
- package/src/lib/authentication/components/SignIn.tsx +7 -5
- package/src/lib/authentication/components/SignOut.tsx +7 -6
- package/src/lib/authentication/components/SignUp.tsx +5 -8
- package/src/lib/authentication/hook.ts +21 -10
- package/src/lib/authentication/providers/auth0.tsx +14 -9
- package/src/lib/authentication/providers/azureb2c.tsx +15 -8
- package/src/lib/authentication/providers/clerk.tsx +14 -7
- package/src/lib/authentication/providers/firebase.tsx +284 -0
- package/src/lib/authentication/providers/openid.tsx +26 -21
- package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
- package/src/lib/authentication/providers/supabase.tsx +61 -49
- package/src/lib/authentication/state.ts +3 -23
- package/src/lib/authentication/ui/ZudokuAuthUi.tsx +335 -0
- package/src/lib/authentication/ui/icons/Apple.tsx +10 -0
- package/src/lib/authentication/ui/icons/Facebook.tsx +15 -0
- package/src/lib/authentication/ui/icons/Github.tsx +16 -0
- package/src/lib/authentication/ui/icons/Google.tsx +16 -0
- package/src/lib/authentication/ui/icons/Microsoft.tsx +12 -0
- package/src/lib/authentication/ui/icons/X.tsx +10 -0
- package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
- package/src/lib/authentication/use-broadcast/shared.ts +4 -4
- package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
- package/src/lib/components/AnchorLink.tsx +1 -1
- package/src/lib/components/Autocomplete.tsx +12 -3
- package/src/lib/components/Bootstrap.tsx +1 -0
- package/src/lib/components/BuildCheck.tsx +14 -11
- package/src/lib/components/Header.tsx +2 -3
- package/src/lib/components/Heading.tsx +4 -9
- package/src/lib/components/LanguageIcon.tsx +181 -0
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/Main.tsx +1 -1
- package/src/lib/components/Markdown.tsx +5 -2
- package/src/lib/components/Meta.tsx +13 -0
- package/src/lib/components/MobileTopNavigation.tsx +11 -13
- package/src/lib/components/PathRenderer.tsx +2 -2
- package/src/lib/components/Search.tsx +1 -1
- package/src/lib/components/Slot.test.tsx +8 -8
- package/src/lib/components/Slot.tsx +2 -2
- package/src/lib/components/TopNavigation.tsx +3 -3
- package/src/lib/components/Zudoku.tsx +5 -5
- package/src/lib/components/cache.ts +9 -5
- package/src/lib/components/context/ComponentsContext.tsx +2 -2
- package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
- package/src/lib/components/context/SlotProvider.tsx +4 -4
- package/src/lib/components/context/ViewportAnchorContext.tsx +2 -2
- package/src/lib/components/context/ZudokuContext.ts +12 -3
- package/src/lib/components/context/ZudokuProvider.tsx +1 -1
- package/src/lib/components/index.ts +3 -1
- package/src/lib/components/navigation/NavigationCategory.tsx +8 -1
- package/src/lib/components/navigation/NavigationItem.tsx +3 -3
- package/src/lib/components/navigation/NavigationWrapper.tsx +1 -1
- package/src/lib/components/navigation/Toc.tsx +5 -5
- package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
- package/src/lib/components/navigation/utils.ts +5 -6
- package/src/lib/core/RouteGuard.tsx +41 -21
- package/src/lib/core/ZudokuContext.ts +5 -1
- package/src/lib/errors/ErrorAlert.tsx +1 -2
- package/src/lib/errors/RouterError.tsx +7 -2
- package/src/lib/errors/TopLevelError.tsx +2 -4
- package/src/lib/hooks/useEvent.test.tsx +2 -2
- package/src/lib/oas/graphql/circular.ts +3 -3
- package/src/lib/oas/graphql/index.ts +39 -3
- package/src/lib/oas/parser/dereference/index.ts +2 -1
- package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
- package/src/lib/oas/parser/index.ts +10 -5
- package/src/lib/oas/parser/upgrade/index.ts +2 -1
- package/src/lib/plugins/api-catalog/Catalog.tsx +7 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
- package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +11 -7
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +23 -70
- package/src/lib/plugins/api-keys/index.tsx +8 -8
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +131 -14
- package/src/lib/plugins/markdown/assets/ChatGPTLogo.tsx +11 -0
- package/src/lib/plugins/markdown/assets/ClaudeLogo.tsx +19 -0
- package/src/lib/plugins/markdown/index.tsx +6 -8
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +5 -3
- package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -1
- package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
- package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +52 -0
- package/src/lib/plugins/openapi/MCPEndpoint.tsx +273 -0
- package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
- package/src/lib/plugins/openapi/OperationList.tsx +39 -13
- package/src/lib/plugins/openapi/OperationListItem.tsx +103 -76
- package/src/lib/plugins/openapi/ParamInfos.tsx +10 -9
- package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
- package/src/lib/plugins/openapi/ParameterListItem.tsx +6 -12
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +8 -13
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +23 -4
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +27 -2
- package/src/lib/plugins/openapi/Sidecar.tsx +112 -64
- package/src/lib/plugins/openapi/SidecarExamples.tsx +40 -57
- package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
- package/src/lib/plugins/openapi/client/createServer.ts +1 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +3 -2
- package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +1 -1
- package/src/lib/plugins/openapi/context.tsx +1 -1
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +6 -6
- package/src/lib/plugins/openapi/graphql/graphql.ts +25 -3
- package/src/lib/plugins/openapi/index.tsx +14 -33
- package/src/lib/plugins/openapi/interfaces.ts +19 -4
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +249 -33
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +10 -6
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +6 -5
- package/src/lib/plugins/openapi/playground/Headers.tsx +104 -220
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +1 -1
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +1 -1
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +33 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +26 -34
- package/src/lib/plugins/openapi/playground/Playground.tsx +90 -41
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +13 -2
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +83 -137
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +20 -1
- package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +1 -1
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +2 -2
- package/src/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.tsx +872 -0
- package/src/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.ts +349 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +5 -3
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +124 -56
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +4 -4
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
- package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +3 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +6 -27
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +30 -23
- package/src/lib/plugins/openapi/schema/UnionView.tsx +143 -0
- package/src/lib/plugins/openapi/schema/union-helpers.ts +123 -0
- package/src/lib/plugins/openapi/schema/utils.ts +0 -11
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +2 -2
- package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +1 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +14 -15
- package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
- package/src/lib/plugins/search-inkeep/index.tsx +3 -3
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +2 -4
- package/src/lib/plugins/search-pagefind/ResultList.tsx +3 -4
- package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
- package/src/lib/shiki.ts +35 -8
- package/src/lib/ui/Breadcrumb.tsx +1 -0
- package/src/lib/ui/Button.tsx +1 -0
- package/src/lib/ui/Callout.tsx +10 -5
- package/src/lib/ui/Checkbox.tsx +23 -24
- package/src/lib/ui/CodeBlock.tsx +7 -41
- package/src/lib/ui/Command.tsx +2 -4
- package/src/lib/ui/Dialog.tsx +112 -107
- package/src/lib/ui/EmbeddedCodeBlock.tsx +6 -4
- package/src/lib/ui/Form.tsx +4 -4
- package/src/lib/ui/Pagination.tsx +1 -2
- package/src/lib/ui/ReactComponentDoc.tsx +68 -0
- package/src/lib/ui/Secret.tsx +123 -0
- package/src/lib/ui/Separator.tsx +25 -0
- package/src/lib/ui/SyntaxHighlight.tsx +6 -1
- package/src/lib/ui/ToggleGroup.tsx +1 -1
- package/src/lib/ui/Tooltip.tsx +54 -32
- package/src/lib/ui/Value.tsx +42 -0
- package/src/lib/util/MdxComponents.tsx +12 -4
- package/src/lib/util/cn.ts +1 -1
- package/src/lib/util/createVariantComponent.tsx +33 -7
- package/src/lib/util/flattenAllOf.test.ts +637 -0
- package/src/lib/util/flattenAllOf.ts +101 -0
- package/src/lib/util/groupBy.ts +1 -0
- package/src/lib/util/humanFileSize.ts +2 -3
- package/src/lib/util/invariant.ts +1 -0
- package/src/lib/util/pastellize.ts +4 -4
- package/src/lib/util/syncZustandState.ts +22 -0
- package/src/lib/util/traverse.ts +36 -0
- package/src/lib/util/types.ts +1 -1
- package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
- package/src/lib/util/useScrollToAnchor.ts +3 -1
- package/src/shiki/langs/hurl.js +1 -0
- package/src/shiki/langs/kdl.js +1 -0
- package/src/shiki/langs/pkl.js +1 -0
- package/src/shiki/langs/rosmsg.js +1 -0
- package/dist/lib/components/ReactMarkdown.d.ts +0 -29
- package/dist/lib/components/ReactMarkdown.js +0 -182
- package/dist/lib/components/ReactMarkdown.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/InlineInput.js +0 -3
- package/dist/lib/plugins/openapi/playground/InlineInput.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -6
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
- package/lib/Button-B3o-2Xdf.js.map +0 -1
- package/lib/CodeBlock-yJjjRwj-.js +0 -98
- package/lib/CodeBlock-yJjjRwj-.js.map +0 -1
- package/lib/Command-CDn17s8X.js.map +0 -1
- package/lib/Dialog-BrIjMmUK.js +0 -114
- package/lib/Dialog-BrIjMmUK.js.map +0 -1
- package/lib/MdxPage-BmOQ5m5g.js +0 -111
- package/lib/MdxPage-BmOQ5m5g.js.map +0 -1
- package/lib/OAuthErrorPage-Jv3r8wnL.js.map +0 -1
- package/lib/OasProvider-CA_lpILt.js.map +0 -1
- package/lib/OperationList-C-TObVw6.js +0 -5169
- package/lib/OperationList-C-TObVw6.js.map +0 -1
- package/lib/RouteGuard-JLH6tCY8.js +0 -56
- package/lib/RouteGuard-JLH6tCY8.js.map +0 -1
- package/lib/RouterError-DcVonMP1.js +0 -41
- package/lib/RouterError-DcVonMP1.js.map +0 -1
- package/lib/SchemaView-CRcShewo.js +0 -366
- package/lib/SchemaView-CRcShewo.js.map +0 -1
- package/lib/Select-C3efYI1n.js +0 -273
- package/lib/Select-C3efYI1n.js.map +0 -1
- package/lib/SignUp-CxBGHgba.js +0 -56
- package/lib/SignUp-CxBGHgba.js.map +0 -1
- package/lib/Slot-DOtTvoyj.js.map +0 -1
- package/lib/SyntaxHighlight-GR0eix_L.js.map +0 -1
- package/lib/Toc-BlcGIkXc.js.map +0 -1
- package/lib/ZudokuContext-BuJD7yIX.js +0 -1286
- package/lib/ZudokuContext-BuJD7yIX.js.map +0 -1
- package/lib/chunk-QMGIS6GS-DqecZ6nq.js +0 -9204
- package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +0 -1
- package/lib/createServer-DjgpuLne.js.map +0 -1
- package/lib/errors-CrI3s7mR.js.map +0 -1
- package/lib/hook-bv3iuX7X.js +0 -247
- package/lib/hook-bv3iuX7X.js.map +0 -1
- package/lib/index-CvTWnHZF.js +0 -3391
- package/lib/index-CvTWnHZF.js.map +0 -1
- package/lib/index-DmNq2fbN.js.map +0 -1
- package/lib/index-DzO-Qh6S.js.map +0 -1
- package/lib/index-HarEI51d.js.map +0 -1
- package/lib/index.esm-CdzlRw50.js +0 -1254
- package/lib/index.esm-CdzlRw50.js.map +0 -1
- package/lib/jsx-runtime-C5mzlN2N.js.map +0 -1
- package/src/lib/components/ReactMarkdown.license.txt +0 -21
- package/src/lib/components/ReactMarkdown.tsx +0 -264
- package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -57
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -33
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { H as
|
|
2
|
-
import { z as
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
1
|
+
import { H as je } from "./index.esm-BnYHxCYC.js";
|
|
2
|
+
import { z as Se, M as nt, J as ot, a as st } from "./useExposedProps-U3pmsHaG.js";
|
|
3
|
+
import { b2 as Ee, ac as at, L as re, d as we, O as it } from "./chunk-PVWAREVJ-BMhpCH5D.js";
|
|
4
|
+
import { u as q } from "./hook-CMeoxziF.js";
|
|
5
5
|
import { Button as ct } from "./ui/Button.js";
|
|
6
6
|
import { Callout as lt } from "./ui/Callout.js";
|
|
7
|
-
import { j as q, d as k, m as Ce, o as ut, p as dt, b as ft, N as mt, Z as ht, g as pt, f as gt, C as vt } from "./ZudokuContext-BuJD7yIX.js";
|
|
8
7
|
import { C as F } from "./ClientOnly-E7hGysn1.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
8
|
+
import { u as ie, j as z, a as O, o as Ce, p as ut, q as dt, b as ft, N as mt, Z as ht, g as pt, d as gt, C as vt } from "./ZudokuContext-BUZ5hkWB.js";
|
|
9
|
+
import { E as xt, a as R, d as yt, b as bt, c as jt, V as St, M as Et, T as wt } from "./ErrorAlert-B4eXGBQj.js";
|
|
10
|
+
import { S as Ct } from "./Spinner-CI6bRyZw.js";
|
|
11
|
+
import { j as r } from "./jsx-runtime-BzflLqGi.js";
|
|
12
|
+
import { Component as Pt, createElement as ce, createContext as ne, useState as L, useRef as D, useCallback as A, useEffect as $, Suspense as Pe, memo as Ne, useMemo as W, useContext as Nt } from "react";
|
|
13
|
+
import { isNavigationPlugin as le, isAuthenticationPlugin as Tt, isEventConsumerPlugin as _t, needsInitialization as At, isApiIdentityPlugin as Mt, isProfileMenuPlugin as Te, isSearchPlugin as Rt, isMdxProviderPlugin as kt, hasHead as Ot } from "./zudoku.plugins.js";
|
|
14
|
+
import { B as J } from "./Button-B3ucvvQw.js";
|
|
15
|
+
import { c as k } from "./cn-dYga0KKN.js";
|
|
16
|
+
import { DropdownMenu as $t, DropdownMenuTrigger as It, DropdownMenuContent as Dt, DropdownMenuLabel as Ft, DropdownMenuSeparator as X, DropdownMenuSub as Lt, DropdownMenuSubTrigger as qt, DropdownMenuPortal as zt, DropdownMenuSubContent as Bt, DropdownMenuItem as Yt } from "./ui/DropdownMenu.js";
|
|
17
|
+
import { CircleXIcon as Zt, ChevronRightIcon as Ht, SearchIcon as Kt, SunIcon as Ut, MoonIcon as Vt, MenuIcon as Wt } from "lucide-react";
|
|
18
18
|
import { VisuallyHidden as Xt } from "@radix-ui/react-visually-hidden";
|
|
19
|
-
import { D as Gt, a as
|
|
20
|
-
import { a as
|
|
21
|
-
const
|
|
19
|
+
import { D as Gt, a as Qt, b as Jt, c as er } from "./Drawer-Ci7XwhqT.js";
|
|
20
|
+
import { a as tr } from "./index-DI5SPFK9.js";
|
|
21
|
+
const rr = ne(null), G = {
|
|
22
22
|
didCatch: !1,
|
|
23
23
|
error: null
|
|
24
24
|
};
|
|
25
|
-
class
|
|
25
|
+
class nr extends Pt {
|
|
26
26
|
constructor(t) {
|
|
27
|
-
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state =
|
|
27
|
+
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = G;
|
|
28
28
|
}
|
|
29
29
|
static getDerivedStateFromError(t) {
|
|
30
30
|
return {
|
|
@@ -42,7 +42,7 @@ class or extends Pt {
|
|
|
42
42
|
(n = (o = this.props).onReset) === null || n === void 0 || n.call(o, {
|
|
43
43
|
args: c,
|
|
44
44
|
reason: "imperative-api"
|
|
45
|
-
}), this.setState(
|
|
45
|
+
}), this.setState(G);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
componentDidCatch(t, n) {
|
|
@@ -55,13 +55,13 @@ class or extends Pt {
|
|
|
55
55
|
} = this.state, {
|
|
56
56
|
resetKeys: i
|
|
57
57
|
} = this.props;
|
|
58
|
-
if (o && n.error !== null &&
|
|
58
|
+
if (o && n.error !== null && or(t.resetKeys, i)) {
|
|
59
59
|
var c, s;
|
|
60
60
|
(c = (s = this.props).onReset) === null || c === void 0 || c.call(s, {
|
|
61
61
|
next: i,
|
|
62
62
|
prev: t.resetKeys,
|
|
63
63
|
reason: "keys"
|
|
64
|
-
}), this.setState(
|
|
64
|
+
}), this.setState(G);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
@@ -83,13 +83,13 @@ class or extends Pt {
|
|
|
83
83
|
if (typeof n == "function")
|
|
84
84
|
d = n(v);
|
|
85
85
|
else if (o)
|
|
86
|
-
d =
|
|
86
|
+
d = ce(o, v);
|
|
87
87
|
else if (i !== void 0)
|
|
88
88
|
d = i;
|
|
89
89
|
else
|
|
90
90
|
throw s;
|
|
91
91
|
}
|
|
92
|
-
return
|
|
92
|
+
return ce(rr.Provider, {
|
|
93
93
|
value: {
|
|
94
94
|
didCatch: c,
|
|
95
95
|
error: s,
|
|
@@ -98,11 +98,11 @@ class or extends Pt {
|
|
|
98
98
|
}, d);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function or() {
|
|
102
102
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
103
103
|
return e.length !== t.length || e.some((n, o) => !Object.is(n, t[o]));
|
|
104
104
|
}
|
|
105
|
-
let
|
|
105
|
+
let sr = () => ({
|
|
106
106
|
emit(e, ...t) {
|
|
107
107
|
for (let n = this.events[e] || [], o = 0, i = n.length; o < i; o++)
|
|
108
108
|
n[o](...t);
|
|
@@ -114,7 +114,7 @@ let ar = () => ({
|
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
|
-
const
|
|
117
|
+
const ar = (e) => Object.entries(e), ue = (e) => {
|
|
118
118
|
if (e)
|
|
119
119
|
return Array.isArray(e) ? Object.fromEntries(
|
|
120
120
|
e.map((t) => [
|
|
@@ -123,32 +123,33 @@ const ir = (e) => Object.entries(e), le = (e) => {
|
|
|
123
123
|
])
|
|
124
124
|
) : e;
|
|
125
125
|
};
|
|
126
|
-
class
|
|
126
|
+
class ir {
|
|
127
127
|
plugins;
|
|
128
128
|
navigation;
|
|
129
129
|
meta;
|
|
130
130
|
site;
|
|
131
131
|
authentication;
|
|
132
|
+
getAuthState;
|
|
132
133
|
queryClient;
|
|
133
134
|
options;
|
|
134
135
|
navigationPlugins;
|
|
135
|
-
emitter =
|
|
136
|
+
emitter = sr();
|
|
136
137
|
constructor(t, n) {
|
|
137
138
|
const i = {
|
|
138
139
|
...Object.fromEntries(
|
|
139
140
|
(t.plugins ?? []).flatMap((c) => {
|
|
140
|
-
if (!
|
|
141
|
+
if (!le(c)) return [];
|
|
141
142
|
const s = c.getProtectedRoutes?.();
|
|
142
|
-
return s ? Object.entries(
|
|
143
|
+
return s ? Object.entries(ue(s) ?? {}) : [];
|
|
143
144
|
})
|
|
144
145
|
),
|
|
145
|
-
...
|
|
146
|
+
...ue(t.protectedRoutes)
|
|
146
147
|
};
|
|
147
|
-
this.queryClient = n, this.options = { ...t, protectedRoutes: i }, this.plugins = t.plugins ?? [], this.navigation = t.navigation ?? [], this.navigationPlugins = this.plugins.filter(
|
|
148
|
-
_t(c) &&
|
|
148
|
+
this.queryClient = n, this.options = { ...t, protectedRoutes: i }, this.plugins = t.plugins ?? [], this.navigation = t.navigation ?? [], this.navigationPlugins = this.plugins.filter(le), this.authentication = this.plugins.find(Tt), this.getAuthState = ie.getState, this.meta = t.metadata, this.site = t.site, this.plugins.forEach((c) => {
|
|
149
|
+
_t(c) && ar(c.events).forEach(([s, d]) => {
|
|
149
150
|
this.emitter.on(s, d);
|
|
150
151
|
});
|
|
151
|
-
}),
|
|
152
|
+
}), ie.subscribe((c, s) => {
|
|
152
153
|
this.emitEvent("auth", {
|
|
153
154
|
prev: s,
|
|
154
155
|
next: c
|
|
@@ -161,7 +162,7 @@ class cr {
|
|
|
161
162
|
);
|
|
162
163
|
};
|
|
163
164
|
getApiIdentities = async () => (await Promise.all(
|
|
164
|
-
this.plugins.filter(
|
|
165
|
+
this.plugins.filter(Mt).map((n) => n.getIdentities(this))
|
|
165
166
|
)).flat();
|
|
166
167
|
addEventListener(t, n) {
|
|
167
168
|
return this.emitter.on(t, n);
|
|
@@ -169,24 +170,24 @@ class cr {
|
|
|
169
170
|
emitEvent = (t, ...n) => this.emitter.emit(t, ...n);
|
|
170
171
|
getPluginNavigation = async (t) => (await Promise.all(
|
|
171
172
|
this.navigationPlugins.map(
|
|
172
|
-
(o) => o.getNavigation?.(
|
|
173
|
+
(o) => o.getNavigation?.(z(t), this)
|
|
173
174
|
)
|
|
174
175
|
)).flatMap((o) => o ?? []);
|
|
175
|
-
getProfileMenuItems = () => this.plugins.filter((n) =>
|
|
176
|
+
getProfileMenuItems = () => this.plugins.filter((n) => Te(n)).flatMap((n) => n.getProfileMenuItems(this)).sort(cr(["top", "middle", "bottom"])).sort((n) => n.weight ?? 0);
|
|
176
177
|
signRequest = async (t) => {
|
|
177
178
|
if (!this.authentication)
|
|
178
179
|
throw new Error("No authentication provider configured");
|
|
179
180
|
return await this.authentication.signRequest(t);
|
|
180
181
|
};
|
|
181
182
|
}
|
|
182
|
-
const
|
|
183
|
+
const cr = (e) => (t, n) => {
|
|
183
184
|
const o = e.indexOf(t.category ?? "middle"), i = e.indexOf(n.category ?? "middle");
|
|
184
185
|
return o - i;
|
|
185
186
|
};
|
|
186
|
-
function
|
|
187
|
+
function lr({ error: e }) {
|
|
187
188
|
return /* @__PURE__ */ r.jsx(xt, { error: e });
|
|
188
189
|
}
|
|
189
|
-
const
|
|
190
|
+
const de = ne({ stagger: !1 }), Y = globalThis;
|
|
190
191
|
(!Y.requestIdleCallback || !Y.cancelIdleCallback) && (Y.requestIdleCallback = (e) => setTimeout(e, 1), Y.cancelIdleCallback = clearTimeout);
|
|
191
192
|
function ee({
|
|
192
193
|
className: e,
|
|
@@ -195,26 +196,26 @@ function ee({
|
|
|
195
196
|
return /* @__PURE__ */ r.jsx(
|
|
196
197
|
"div",
|
|
197
198
|
{
|
|
198
|
-
className:
|
|
199
|
+
className: k("animate-pulse rounded-md bg-muted", e),
|
|
199
200
|
...t
|
|
200
201
|
}
|
|
201
202
|
);
|
|
202
203
|
}
|
|
203
|
-
const
|
|
204
|
+
const fe = {
|
|
204
205
|
info: "bg-blue-500",
|
|
205
206
|
note: "bg-gray-500",
|
|
206
207
|
tip: "bg-green-600",
|
|
207
208
|
caution: "bg-orange-500",
|
|
208
209
|
danger: "bg-rose-500"
|
|
209
|
-
},
|
|
210
|
-
const { site: e } =
|
|
210
|
+
}, ur = () => {
|
|
211
|
+
const { site: e } = O(), [t, n] = L(!0);
|
|
211
212
|
if (!e?.banner || !t)
|
|
212
213
|
return /* @__PURE__ */ r.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
213
|
-
const o = e.banner.color && e.banner.color in
|
|
214
|
+
const o = e.banner.color && e.banner.color in fe ? fe[e.banner.color] : e.banner.color ? void 0 : "bg-primary", i = o ? {} : { backgroundColor: e.banner.color };
|
|
214
215
|
return /* @__PURE__ */ r.jsxs(
|
|
215
216
|
"div",
|
|
216
217
|
{
|
|
217
|
-
className:
|
|
218
|
+
className: k(
|
|
218
219
|
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center lg:h-(--banner-height)",
|
|
219
220
|
o
|
|
220
221
|
),
|
|
@@ -233,7 +234,7 @@ const de = {
|
|
|
233
234
|
]
|
|
234
235
|
}
|
|
235
236
|
);
|
|
236
|
-
},
|
|
237
|
+
}, _e = (e) => /* @__PURE__ */ r.jsxs(
|
|
237
238
|
"svg",
|
|
238
239
|
{
|
|
239
240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -260,25 +261,25 @@ const de = {
|
|
|
260
261
|
]
|
|
261
262
|
}
|
|
262
263
|
);
|
|
263
|
-
|
|
264
|
-
const
|
|
264
|
+
_e.displayName = "ZudokuLogo";
|
|
265
|
+
const dr = ({ className: e }) => /* @__PURE__ */ r.jsxs(
|
|
265
266
|
"a",
|
|
266
267
|
{
|
|
267
268
|
href: "https://zudoku.dev",
|
|
268
269
|
target: "_blank",
|
|
269
270
|
rel: "noopener noreferrer",
|
|
270
|
-
className:
|
|
271
|
+
className: k(
|
|
271
272
|
"flex justify-between items-center w-full border border-transparent hover:border-border rounded-full hover:shadow-xs h-7 px-3 text-nowrap hover:bg-muted/80 transition-all",
|
|
272
273
|
e
|
|
273
274
|
),
|
|
274
275
|
children: [
|
|
275
276
|
/* @__PURE__ */ r.jsxs("div", { className: "opacity-70 hover:opacity-100 transition-opacity gap-1.5 text-[11px] font-medium rounded-full h-7 flex items-center text-nowrap", children: [
|
|
276
|
-
/* @__PURE__ */ r.jsx(
|
|
277
|
+
/* @__PURE__ */ r.jsx(_e, { className: "w-3.5 h-3.5 dark:fill-white" }),
|
|
277
278
|
"powered by ",
|
|
278
279
|
"Zudoku"
|
|
279
280
|
] }),
|
|
280
281
|
/* @__PURE__ */ r.jsx("div", { className: "text-xs font-medium opacity-70 hover:text-foreground transition-colors cursor-pointer", children: /* @__PURE__ */ r.jsx(
|
|
281
|
-
|
|
282
|
+
Ht,
|
|
282
283
|
{
|
|
283
284
|
size: 12,
|
|
284
285
|
absoluteStrokeWidth: !0,
|
|
@@ -298,7 +299,7 @@ function K() {
|
|
|
298
299
|
return e;
|
|
299
300
|
}, K.apply(null, arguments);
|
|
300
301
|
}
|
|
301
|
-
var
|
|
302
|
+
var Z = { exports: {} }, h = {};
|
|
302
303
|
/** @license React v16.13.1
|
|
303
304
|
* react-is.production.min.js
|
|
304
305
|
*
|
|
@@ -307,11 +308,11 @@ var H = { exports: {} }, h = {};
|
|
|
307
308
|
* This source code is licensed under the MIT license found in the
|
|
308
309
|
* LICENSE file in the root directory of this source tree.
|
|
309
310
|
*/
|
|
310
|
-
var
|
|
311
|
-
function
|
|
312
|
-
if (
|
|
313
|
-
|
|
314
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
311
|
+
var me;
|
|
312
|
+
function fr() {
|
|
313
|
+
if (me) return h;
|
|
314
|
+
me = 1;
|
|
315
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, P = e ? Symbol.for("react.scope") : 60119;
|
|
315
316
|
function j(a) {
|
|
316
317
|
if (typeof a == "object" && a !== null) {
|
|
317
318
|
var x = a.$$typeof;
|
|
@@ -342,12 +343,12 @@ function mr() {
|
|
|
342
343
|
}
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
|
-
function
|
|
346
|
+
function S(a) {
|
|
346
347
|
return j(a) === f;
|
|
347
348
|
}
|
|
348
349
|
return h.AsyncMode = v, h.ConcurrentMode = f, h.ContextConsumer = d, h.ContextProvider = s, h.Element = t, h.ForwardRef = b, h.Fragment = o, h.Lazy = g, h.Memo = l, h.Portal = n, h.Profiler = c, h.StrictMode = i, h.Suspense = y, h.isAsyncMode = function(a) {
|
|
349
|
-
return
|
|
350
|
-
}, h.isConcurrentMode =
|
|
350
|
+
return S(a) || j(a) === v;
|
|
351
|
+
}, h.isConcurrentMode = S, h.isContextConsumer = function(a) {
|
|
351
352
|
return j(a) === d;
|
|
352
353
|
}, h.isContextProvider = function(a) {
|
|
353
354
|
return j(a) === s;
|
|
@@ -370,7 +371,7 @@ function mr() {
|
|
|
370
371
|
}, h.isSuspense = function(a) {
|
|
371
372
|
return j(a) === y;
|
|
372
373
|
}, h.isValidElementType = function(a) {
|
|
373
|
-
return typeof a == "string" || typeof a == "function" || a === o || a === f || a === c || a === i || a === y || a === m || typeof a == "object" && a !== null && (a.$$typeof === g || a.$$typeof === l || a.$$typeof === s || a.$$typeof === d || a.$$typeof === b || a.$$typeof ===
|
|
374
|
+
return typeof a == "string" || typeof a == "function" || a === o || a === f || a === c || a === i || a === y || a === m || typeof a == "object" && a !== null && (a.$$typeof === g || a.$$typeof === l || a.$$typeof === s || a.$$typeof === d || a.$$typeof === b || a.$$typeof === w || a.$$typeof === C || a.$$typeof === P || a.$$typeof === E);
|
|
374
375
|
}, h.typeOf = j, h;
|
|
375
376
|
}
|
|
376
377
|
var p = {};
|
|
@@ -382,15 +383,15 @@ var p = {};
|
|
|
382
383
|
* This source code is licensed under the MIT license found in the
|
|
383
384
|
* LICENSE file in the root directory of this source tree.
|
|
384
385
|
*/
|
|
385
|
-
var
|
|
386
|
-
function
|
|
387
|
-
return
|
|
388
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
386
|
+
var he;
|
|
387
|
+
function mr() {
|
|
388
|
+
return he || (he = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
389
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, c = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, y = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, l = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, P = e ? Symbol.for("react.scope") : 60119;
|
|
389
390
|
function j(u) {
|
|
390
391
|
return typeof u == "string" || typeof u == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
391
|
-
u === o || u === f || u === c || u === i || u === y || u === m || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === l || u.$$typeof === s || u.$$typeof === d || u.$$typeof === b || u.$$typeof ===
|
|
392
|
+
u === o || u === f || u === c || u === i || u === y || u === m || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === l || u.$$typeof === s || u.$$typeof === d || u.$$typeof === b || u.$$typeof === w || u.$$typeof === C || u.$$typeof === P || u.$$typeof === E);
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
+
function S(u) {
|
|
394
395
|
if (typeof u == "object" && u !== null) {
|
|
395
396
|
var V = u.$$typeof;
|
|
396
397
|
switch (V) {
|
|
@@ -422,58 +423,58 @@ function hr() {
|
|
|
422
423
|
}
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
|
-
var a = v, x = f, N = d, T = s,
|
|
426
|
+
var a = v, x = f, N = d, T = s, I = t, _ = b, U = o, M = g, qe = l, ze = n, Be = c, Ye = i, Ze = y, oe = !1;
|
|
426
427
|
function He(u) {
|
|
427
|
-
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), se(u) ||
|
|
428
|
+
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), se(u) || S(u) === v;
|
|
428
429
|
}
|
|
429
430
|
function se(u) {
|
|
430
|
-
return
|
|
431
|
-
}
|
|
432
|
-
function Ze(u) {
|
|
433
|
-
return E(u) === d;
|
|
431
|
+
return S(u) === f;
|
|
434
432
|
}
|
|
435
433
|
function Ke(u) {
|
|
436
|
-
return
|
|
434
|
+
return S(u) === d;
|
|
437
435
|
}
|
|
438
436
|
function Ue(u) {
|
|
439
|
-
return
|
|
437
|
+
return S(u) === s;
|
|
440
438
|
}
|
|
441
439
|
function Ve(u) {
|
|
442
|
-
return
|
|
440
|
+
return typeof u == "object" && u !== null && u.$$typeof === t;
|
|
443
441
|
}
|
|
444
442
|
function We(u) {
|
|
445
|
-
return
|
|
446
|
-
}
|
|
447
|
-
function Qe(u) {
|
|
448
|
-
return E(u) === g;
|
|
443
|
+
return S(u) === b;
|
|
449
444
|
}
|
|
450
445
|
function Xe(u) {
|
|
451
|
-
return
|
|
446
|
+
return S(u) === o;
|
|
452
447
|
}
|
|
453
448
|
function Ge(u) {
|
|
454
|
-
return
|
|
449
|
+
return S(u) === g;
|
|
450
|
+
}
|
|
451
|
+
function Qe(u) {
|
|
452
|
+
return S(u) === l;
|
|
455
453
|
}
|
|
456
454
|
function Je(u) {
|
|
457
|
-
return
|
|
455
|
+
return S(u) === n;
|
|
458
456
|
}
|
|
459
457
|
function et(u) {
|
|
460
|
-
return
|
|
458
|
+
return S(u) === c;
|
|
461
459
|
}
|
|
462
460
|
function tt(u) {
|
|
463
|
-
return
|
|
461
|
+
return S(u) === i;
|
|
462
|
+
}
|
|
463
|
+
function rt(u) {
|
|
464
|
+
return S(u) === y;
|
|
464
465
|
}
|
|
465
|
-
p.AsyncMode = a, p.ConcurrentMode = x, p.ContextConsumer = N, p.ContextProvider = T, p.Element =
|
|
466
|
-
}()), p;
|
|
466
|
+
p.AsyncMode = a, p.ConcurrentMode = x, p.ContextConsumer = N, p.ContextProvider = T, p.Element = I, p.ForwardRef = _, p.Fragment = U, p.Lazy = M, p.Memo = qe, p.Portal = ze, p.Profiler = Be, p.StrictMode = Ye, p.Suspense = Ze, p.isAsyncMode = He, p.isConcurrentMode = se, p.isContextConsumer = Ke, p.isContextProvider = Ue, p.isElement = Ve, p.isForwardRef = We, p.isFragment = Xe, p.isLazy = Ge, p.isMemo = Qe, p.isPortal = Je, p.isProfiler = et, p.isStrictMode = tt, p.isSuspense = rt, p.isValidElementType = j, p.typeOf = S;
|
|
467
|
+
})()), p;
|
|
467
468
|
}
|
|
468
|
-
var
|
|
469
|
-
function
|
|
470
|
-
return
|
|
469
|
+
var pe;
|
|
470
|
+
function hr() {
|
|
471
|
+
return pe || (pe = 1, process.env.NODE_ENV === "production" ? Z.exports = fr() : Z.exports = mr()), Z.exports;
|
|
471
472
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
474
|
-
if (
|
|
475
|
-
|
|
476
|
-
var e =
|
|
473
|
+
var Q, ge;
|
|
474
|
+
function pr() {
|
|
475
|
+
if (ge) return Q;
|
|
476
|
+
ge = 1;
|
|
477
|
+
var e = hr(), t = {
|
|
477
478
|
childContextTypes: !0,
|
|
478
479
|
contextType: !0,
|
|
479
480
|
contextTypes: !0,
|
|
@@ -512,18 +513,18 @@ function gr() {
|
|
|
512
513
|
return e.isMemo(g) ? i : c[g.$$typeof] || t;
|
|
513
514
|
}
|
|
514
515
|
var d = Object.defineProperty, v = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, b = Object.getOwnPropertyDescriptor, y = Object.getPrototypeOf, m = Object.prototype;
|
|
515
|
-
function l(g,
|
|
516
|
-
if (typeof
|
|
516
|
+
function l(g, E, w) {
|
|
517
|
+
if (typeof E != "string") {
|
|
517
518
|
if (m) {
|
|
518
|
-
var
|
|
519
|
-
|
|
519
|
+
var C = y(E);
|
|
520
|
+
C && C !== m && l(g, C, w);
|
|
520
521
|
}
|
|
521
|
-
var P = v(
|
|
522
|
-
f && (P = P.concat(f(
|
|
523
|
-
for (var j = s(g),
|
|
522
|
+
var P = v(E);
|
|
523
|
+
f && (P = P.concat(f(E)));
|
|
524
|
+
for (var j = s(g), S = s(E), a = 0; a < P.length; ++a) {
|
|
524
525
|
var x = P[a];
|
|
525
|
-
if (!n[x] && !(
|
|
526
|
-
var N = b(
|
|
526
|
+
if (!n[x] && !(w && w[x]) && !(S && S[x]) && !(j && j[x])) {
|
|
527
|
+
var N = b(E, x);
|
|
527
528
|
try {
|
|
528
529
|
d(g, x, N);
|
|
529
530
|
} catch {
|
|
@@ -533,12 +534,12 @@ function gr() {
|
|
|
533
534
|
}
|
|
534
535
|
return g;
|
|
535
536
|
}
|
|
536
|
-
return
|
|
537
|
+
return Q = l, Q;
|
|
537
538
|
}
|
|
538
|
-
|
|
539
|
-
var
|
|
539
|
+
pr();
|
|
540
|
+
var Ae = function(t, n, o) {
|
|
540
541
|
return t = t <= o ? t : o, t = t >= n ? t : n, t;
|
|
541
|
-
},
|
|
542
|
+
}, gr = function() {
|
|
542
543
|
var t = !1, n = [], o = function() {
|
|
543
544
|
t = !0;
|
|
544
545
|
var d = n.shift();
|
|
@@ -554,7 +555,7 @@ var Me = function(t, n, o) {
|
|
|
554
555
|
clear: i,
|
|
555
556
|
enqueue: c
|
|
556
557
|
};
|
|
557
|
-
},
|
|
558
|
+
}, vr = function() {
|
|
558
559
|
var t, n = function() {
|
|
559
560
|
t && window.cancelAnimationFrame(t);
|
|
560
561
|
}, o = function(c, s) {
|
|
@@ -571,115 +572,115 @@ var Me = function(t, n, o) {
|
|
|
571
572
|
cancel: n,
|
|
572
573
|
schedule: o
|
|
573
574
|
};
|
|
574
|
-
},
|
|
575
|
+
}, xr = function(t) {
|
|
575
576
|
var n = 0;
|
|
576
|
-
return t >= 0 && t < 0.2 ? n = 0.1 : t >= 0.2 && t < 0.5 ? n = 0.04 : t >= 0.5 && t < 0.8 ? n = 0.02 : t >= 0.8 && t < 0.99 && (n = 5e-3),
|
|
577
|
-
},
|
|
578
|
-
|
|
579
|
-
},
|
|
577
|
+
return t >= 0 && t < 0.2 ? n = 0.1 : t >= 0.2 && t < 0.5 ? n = 0.04 : t >= 0.5 && t < 0.8 ? n = 0.02 : t >= 0.8 && t < 0.99 && (n = 5e-3), Ae(t + n, 0, 0.994);
|
|
578
|
+
}, ve = function(t) {
|
|
579
|
+
$(t, []);
|
|
580
|
+
}, yr = function(t) {
|
|
580
581
|
return ++t % 1e6;
|
|
581
|
-
},
|
|
582
|
+
}, br = function() {
|
|
582
583
|
var t = L(0), n = t[1];
|
|
583
|
-
return
|
|
584
|
-
return n(
|
|
584
|
+
return A(function() {
|
|
585
|
+
return n(yr);
|
|
585
586
|
}, []);
|
|
586
|
-
},
|
|
587
|
+
}, jr = function(t) {
|
|
587
588
|
t === void 0 && (t = {});
|
|
588
|
-
var n =
|
|
589
|
+
var n = br(), o = D(K({}, t)), i = A(function() {
|
|
589
590
|
return o.current;
|
|
590
|
-
}, []), c =
|
|
591
|
+
}, []), c = A(function(s) {
|
|
591
592
|
s && (Object.assign(o.current, s), n());
|
|
592
593
|
}, []);
|
|
593
594
|
return [i, c];
|
|
594
595
|
}, Sr = function() {
|
|
595
596
|
var t = D(!0);
|
|
596
597
|
return t.current ? (t.current = !1, !0) : t.current;
|
|
597
|
-
},
|
|
598
|
+
}, xe = function(t, n) {
|
|
598
599
|
var o = Sr();
|
|
599
|
-
|
|
600
|
+
$(function() {
|
|
600
601
|
if (!o)
|
|
601
602
|
return t();
|
|
602
603
|
}, n);
|
|
603
|
-
},
|
|
604
|
-
},
|
|
604
|
+
}, Me = function() {
|
|
605
|
+
}, ye = {
|
|
605
606
|
isFinished: !0,
|
|
606
607
|
progress: 0,
|
|
607
|
-
sideEffect:
|
|
608
|
-
},
|
|
609
|
-
var n = t === void 0 ? {} : t, o = n.animationDuration, i = o === void 0 ? 200 : o, c = n.incrementDuration, s = c === void 0 ? 800 : c, d = n.isAnimating, v = d === void 0 ? !1 : d, f = n.minimum, b = f === void 0 ? 0.08 : f, y =
|
|
610
|
-
|
|
611
|
-
g.current =
|
|
608
|
+
sideEffect: Me
|
|
609
|
+
}, Er = function(t) {
|
|
610
|
+
var n = t === void 0 ? {} : t, o = n.animationDuration, i = o === void 0 ? 200 : o, c = n.incrementDuration, s = c === void 0 ? 800 : c, d = n.isAnimating, v = d === void 0 ? !1 : d, f = n.minimum, b = f === void 0 ? 0.08 : f, y = jr(ye), m = y[0], l = y[1], g = D(null), E = D(null);
|
|
611
|
+
ve(function() {
|
|
612
|
+
g.current = gr(), E.current = vr();
|
|
612
613
|
});
|
|
613
|
-
var
|
|
614
|
+
var w = A(function() {
|
|
614
615
|
var x, N;
|
|
615
|
-
(x =
|
|
616
|
-
}, []),
|
|
616
|
+
(x = E.current) == null || x.cancel(), (N = g.current) == null || N.clear();
|
|
617
|
+
}, []), C = A(function(x) {
|
|
617
618
|
var N;
|
|
618
|
-
if (x =
|
|
619
|
-
var T,
|
|
620
|
-
|
|
619
|
+
if (x = Ae(x, b, 1), x === 1) {
|
|
620
|
+
var T, I;
|
|
621
|
+
w(), (T = g.current) == null || T.enqueue(function(_) {
|
|
621
622
|
l({
|
|
622
623
|
progress: x,
|
|
623
624
|
sideEffect: function() {
|
|
624
|
-
var
|
|
625
|
-
return (
|
|
625
|
+
var M;
|
|
626
|
+
return (M = E.current) == null ? void 0 : M.schedule(_, i);
|
|
626
627
|
}
|
|
627
628
|
});
|
|
628
|
-
}), (
|
|
629
|
+
}), (I = g.current) == null || I.enqueue(function() {
|
|
629
630
|
l({
|
|
630
631
|
isFinished: !0,
|
|
631
|
-
sideEffect:
|
|
632
|
+
sideEffect: w
|
|
632
633
|
});
|
|
633
634
|
});
|
|
634
635
|
return;
|
|
635
636
|
}
|
|
636
|
-
(N = g.current) == null || N.enqueue(function(
|
|
637
|
+
(N = g.current) == null || N.enqueue(function(_) {
|
|
637
638
|
l({
|
|
638
639
|
isFinished: !1,
|
|
639
640
|
progress: x,
|
|
640
641
|
sideEffect: function() {
|
|
641
|
-
var
|
|
642
|
-
return (
|
|
642
|
+
var M;
|
|
643
|
+
return (M = E.current) == null ? void 0 : M.schedule(_, i);
|
|
643
644
|
}
|
|
644
645
|
});
|
|
645
646
|
});
|
|
646
|
-
}, [i,
|
|
647
|
-
|
|
648
|
-
}, [m,
|
|
647
|
+
}, [i, w, b, g, l, E]), P = A(function() {
|
|
648
|
+
C(xr(m().progress));
|
|
649
|
+
}, [m, C]), j = A(function() {
|
|
649
650
|
var x = function() {
|
|
650
651
|
var T;
|
|
651
|
-
P(), (T = g.current) == null || T.enqueue(function(
|
|
652
|
-
var
|
|
653
|
-
(
|
|
654
|
-
x(),
|
|
652
|
+
P(), (T = g.current) == null || T.enqueue(function(I) {
|
|
653
|
+
var _;
|
|
654
|
+
(_ = E.current) == null || _.schedule(function() {
|
|
655
|
+
x(), I();
|
|
655
656
|
}, s);
|
|
656
657
|
});
|
|
657
658
|
};
|
|
658
659
|
x();
|
|
659
|
-
}, [s, g,
|
|
660
|
-
return
|
|
661
|
-
|
|
662
|
-
}), ge(function() {
|
|
663
|
-
return v && j(), C;
|
|
660
|
+
}, [s, g, E, P]), S = D(Me), a = m().sideEffect;
|
|
661
|
+
return $(function() {
|
|
662
|
+
S.current = P;
|
|
664
663
|
}), ve(function() {
|
|
664
|
+
return v && j(), w;
|
|
665
|
+
}), xe(function() {
|
|
665
666
|
m().sideEffect();
|
|
666
|
-
}, [m, a]),
|
|
667
|
-
v ? l(K({},
|
|
667
|
+
}, [m, a]), xe(function() {
|
|
668
|
+
v ? l(K({}, ye, {
|
|
668
669
|
sideEffect: j
|
|
669
|
-
})) :
|
|
670
|
-
}, [v,
|
|
670
|
+
})) : C(1);
|
|
671
|
+
}, [v, C, l, j]), {
|
|
671
672
|
animationDuration: i,
|
|
672
673
|
isFinished: m().isFinished,
|
|
673
674
|
progress: m().progress
|
|
674
675
|
};
|
|
675
676
|
};
|
|
676
|
-
const
|
|
677
|
+
const Re = () => {
|
|
677
678
|
const t = Ee().state === "loading", [n, o] = L(!1);
|
|
678
|
-
|
|
679
|
+
$(() => {
|
|
679
680
|
const s = setTimeout(() => o(t), 200);
|
|
680
681
|
return () => clearTimeout(s);
|
|
681
682
|
}, [t]);
|
|
682
|
-
const { isFinished: i, progress: c } =
|
|
683
|
+
const { isFinished: i, progress: c } = Er({ isAnimating: n });
|
|
683
684
|
return /* @__PURE__ */ r.jsx(
|
|
684
685
|
"div",
|
|
685
686
|
{
|
|
@@ -697,9 +698,9 @@ function wr() {
|
|
|
697
698
|
if (e.includes("mac")) return "macOS";
|
|
698
699
|
if (e.includes("linux")) return "Linux";
|
|
699
700
|
}
|
|
700
|
-
const
|
|
701
|
-
const t =
|
|
702
|
-
|
|
701
|
+
const ke = ({ className: e }) => {
|
|
702
|
+
const t = O(), [n, o] = L(!1), i = A(() => o(!1), []);
|
|
703
|
+
$(() => {
|
|
703
704
|
if (n)
|
|
704
705
|
return;
|
|
705
706
|
function s(d) {
|
|
@@ -708,8 +709,8 @@ const Re = ({ className: e }) => {
|
|
|
708
709
|
return window.addEventListener("keydown", s), () => {
|
|
709
710
|
window.removeEventListener("keydown", s);
|
|
710
711
|
};
|
|
711
|
-
}, [n
|
|
712
|
-
const c = t.plugins.find(
|
|
712
|
+
}, [n]);
|
|
713
|
+
const c = t.plugins.find(Rt);
|
|
713
714
|
return c ? /* @__PURE__ */ r.jsxs("div", { className: e, children: [
|
|
714
715
|
/* @__PURE__ */ r.jsxs(
|
|
715
716
|
"button",
|
|
@@ -719,26 +720,26 @@ const Re = ({ className: e }) => {
|
|
|
719
720
|
className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
|
|
720
721
|
children: [
|
|
721
722
|
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2 grow", children: [
|
|
722
|
-
/* @__PURE__ */ r.jsx(
|
|
723
|
+
/* @__PURE__ */ r.jsx(Kt, { size: 14 }),
|
|
723
724
|
"Search"
|
|
724
725
|
] }),
|
|
725
|
-
/* @__PURE__ */ r.jsx(F, { children: /* @__PURE__ */ r.jsx(
|
|
726
|
+
/* @__PURE__ */ r.jsx(F, { children: /* @__PURE__ */ r.jsx(Cr, {}) })
|
|
726
727
|
]
|
|
727
728
|
}
|
|
728
729
|
),
|
|
729
|
-
/* @__PURE__ */ r.jsx(
|
|
730
|
+
/* @__PURE__ */ r.jsx(Pe, { fallback: null, children: c.renderSearch({
|
|
730
731
|
isOpen: n,
|
|
731
732
|
onClose: i
|
|
732
733
|
}) })
|
|
733
734
|
] }) : null;
|
|
734
|
-
},
|
|
735
|
+
}, Cr = () => {
|
|
735
736
|
const e = wr();
|
|
736
737
|
return /* @__PURE__ */ r.jsxs("kbd", { className: "absolute end-1.5 hidden h-5 select-none items-center gap-1 rounded-sm border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: [
|
|
737
738
|
e === "macOS" ? "⌘" : "Ctrl",
|
|
738
739
|
"+K"
|
|
739
740
|
] });
|
|
740
|
-
},
|
|
741
|
-
const { resolvedTheme: e, setTheme: t } =
|
|
741
|
+
}, Oe = () => {
|
|
742
|
+
const { resolvedTheme: e, setTheme: t } = Se();
|
|
742
743
|
return /* @__PURE__ */ r.jsx(F, { fallback: /* @__PURE__ */ r.jsx(J, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ r.jsxs(
|
|
743
744
|
"button",
|
|
744
745
|
{
|
|
@@ -750,44 +751,44 @@ const Re = ({ className: e }) => {
|
|
|
750
751
|
/* @__PURE__ */ r.jsx(
|
|
751
752
|
"div",
|
|
752
753
|
{
|
|
753
|
-
className:
|
|
754
|
+
className: k(
|
|
754
755
|
"border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
|
|
755
756
|
e === "light" && "border-border bg-muted",
|
|
756
757
|
e === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
|
|
757
758
|
),
|
|
758
|
-
children: /* @__PURE__ */ r.jsx(
|
|
759
|
+
children: /* @__PURE__ */ r.jsx(Ut, { size: 16 })
|
|
759
760
|
}
|
|
760
761
|
),
|
|
761
762
|
/* @__PURE__ */ r.jsx(
|
|
762
763
|
"div",
|
|
763
764
|
{
|
|
764
|
-
className:
|
|
765
|
+
className: k(
|
|
765
766
|
"border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
|
|
766
767
|
e === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
|
|
767
768
|
e === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
|
|
768
769
|
),
|
|
769
|
-
children: /* @__PURE__ */ r.jsx(
|
|
770
|
+
children: /* @__PURE__ */ r.jsx(Vt, { size: 16 })
|
|
770
771
|
}
|
|
771
772
|
)
|
|
772
773
|
]
|
|
773
774
|
}
|
|
774
775
|
) });
|
|
775
|
-
},
|
|
776
|
-
const e =
|
|
777
|
-
return o.length === 0 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(
|
|
778
|
-
/* @__PURE__ */ r.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: o.map((i) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
|
|
779
|
-
/* @__PURE__ */ r.jsx(
|
|
776
|
+
}, Pr = () => {
|
|
777
|
+
const e = O(), { navigation: t } = e, n = q(), o = t.filter(Ce(n, e));
|
|
778
|
+
return o.length === 0 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(Pe, { children: /* @__PURE__ */ r.jsxs("div", { className: "items-center justify-between px-8 h-(--top-nav-height) hidden lg:flex text-sm relative", children: [
|
|
779
|
+
/* @__PURE__ */ r.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: o.map((i) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Ie, { ...i }) }, i.label + i.type)) }) }),
|
|
780
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-side" })
|
|
780
781
|
] }) });
|
|
781
|
-
},
|
|
782
|
+
}, $e = (e) => {
|
|
782
783
|
switch (e.type) {
|
|
783
784
|
case "doc":
|
|
784
|
-
return
|
|
785
|
+
return z(e.path);
|
|
785
786
|
case "link":
|
|
786
787
|
return e.to;
|
|
787
788
|
case "category":
|
|
788
|
-
return e.link?.path ?
|
|
789
|
+
return e.link?.path ? z(e.link.path) : dt(e, (t) => {
|
|
789
790
|
if (t.type !== "category")
|
|
790
|
-
return
|
|
791
|
+
return $e(t);
|
|
791
792
|
}) ?? "";
|
|
792
793
|
case "custom-page":
|
|
793
794
|
return e.path;
|
|
@@ -797,12 +798,12 @@ const Re = ({ className: e }) => {
|
|
|
797
798
|
children: t,
|
|
798
799
|
...n
|
|
799
800
|
}) => /* @__PURE__ */ r.jsx(
|
|
800
|
-
|
|
801
|
+
at,
|
|
801
802
|
{
|
|
802
803
|
viewTransition: !0,
|
|
803
804
|
className: ({ isActive: o, isPending: i }) => {
|
|
804
805
|
const c = o || e;
|
|
805
|
-
return
|
|
806
|
+
return tr(
|
|
806
807
|
"flex items-center gap-2 lg:py-3.5 font-medium -mb-px transition duration-150 delay-75 relative",
|
|
807
808
|
c || i ? [
|
|
808
809
|
"text-foreground",
|
|
@@ -817,8 +818,8 @@ const Re = ({ className: e }) => {
|
|
|
817
818
|
...n,
|
|
818
819
|
children: t
|
|
819
820
|
}
|
|
820
|
-
),
|
|
821
|
-
const t = ut(), n = yt(t.topNavItem, e), o =
|
|
821
|
+
), Ie = (e) => {
|
|
822
|
+
const t = ut(), n = yt(t.topNavItem, e), o = $e(e);
|
|
822
823
|
return (
|
|
823
824
|
// We don't use isActive here because it has to be inside the navigation,
|
|
824
825
|
// the top nav id doesn't necessarily start with the navigation id
|
|
@@ -827,8 +828,8 @@ const Re = ({ className: e }) => {
|
|
|
827
828
|
e.label
|
|
828
829
|
] })
|
|
829
830
|
);
|
|
830
|
-
},
|
|
831
|
-
const e =
|
|
831
|
+
}, Nr = () => {
|
|
832
|
+
const e = O(), t = q(), { navigation: n, options: o, getProfileMenuItems: i } = e, { isAuthenticated: c, profile: s, isAuthEnabled: d } = t, [v, f] = L(!1), b = i(), y = n.filter(Ce(t, e));
|
|
832
833
|
return /* @__PURE__ */ r.jsxs(
|
|
833
834
|
Gt,
|
|
834
835
|
{
|
|
@@ -837,28 +838,28 @@ const Re = ({ className: e }) => {
|
|
|
837
838
|
onOpenChange: (m) => f(m),
|
|
838
839
|
children: [
|
|
839
840
|
/* @__PURE__ */ r.jsxs("div", { className: "flex lg:hidden justify-self-end", children: [
|
|
840
|
-
/* @__PURE__ */ r.jsx(
|
|
841
|
-
/* @__PURE__ */ r.jsx(
|
|
841
|
+
/* @__PURE__ */ r.jsx(Qt, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Wt, { size: 22 }) }),
|
|
842
|
+
/* @__PURE__ */ r.jsx(Re, {})
|
|
842
843
|
] }),
|
|
843
844
|
/* @__PURE__ */ r.jsx(
|
|
844
|
-
|
|
845
|
+
Jt,
|
|
845
846
|
{
|
|
846
847
|
className: "lg:hidden h-[100dvh] end-0 start-auto w-[320px] rounded-none",
|
|
847
848
|
"aria-describedby": void 0,
|
|
848
849
|
children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none h-full flex flex-col justify-between", children: [
|
|
849
850
|
/* @__PURE__ */ r.jsxs("div", { children: [
|
|
850
|
-
/* @__PURE__ */ r.jsx(Xt, { children: /* @__PURE__ */ r.jsx(
|
|
851
|
-
/* @__PURE__ */ r.jsx(
|
|
851
|
+
/* @__PURE__ */ r.jsx(Xt, { children: /* @__PURE__ */ r.jsx(er, { children: "Navigation" }) }),
|
|
852
|
+
/* @__PURE__ */ r.jsx(ke, { className: "flex p-4" }),
|
|
852
853
|
/* @__PURE__ */ r.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
853
|
-
/* @__PURE__ */ r.jsx("li", { className: "empty:hidden", children: /* @__PURE__ */ r.jsx(
|
|
854
|
+
/* @__PURE__ */ r.jsx("li", { className: "empty:hidden", children: /* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-side" }) }),
|
|
854
855
|
d && /* @__PURE__ */ r.jsx(
|
|
855
856
|
F,
|
|
856
857
|
{
|
|
857
858
|
fallback: /* @__PURE__ */ r.jsx(ee, { className: "rounded-sm h-5 w-24 mr-4" }),
|
|
858
|
-
children: c ? Object.values(i()).length > 0 && /* @__PURE__ */ r.
|
|
859
|
+
children: c ? Object.values(i()).length > 0 && /* @__PURE__ */ r.jsxs("li", { children: [
|
|
859
860
|
s?.name ? `${s.name}` : "My Account",
|
|
860
861
|
s?.email && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: s.email })
|
|
861
|
-
] })
|
|
862
|
+
] }) : /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
|
|
862
863
|
te,
|
|
863
864
|
{
|
|
864
865
|
to: "/signin",
|
|
@@ -868,7 +869,7 @@ const Re = ({ className: e }) => {
|
|
|
868
869
|
) })
|
|
869
870
|
}
|
|
870
871
|
),
|
|
871
|
-
y.map((m) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { type: "button", onClick: () => f(!1), children: /* @__PURE__ */ r.jsx(
|
|
872
|
+
y.map((m) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { type: "button", onClick: () => f(!1), children: /* @__PURE__ */ r.jsx(Ie, { ...m }) }) }, m.label)),
|
|
872
873
|
d && c && b.length > 0 && /* @__PURE__ */ r.jsx(
|
|
873
874
|
F,
|
|
874
875
|
{
|
|
@@ -883,36 +884,33 @@ const Re = ({ className: e }) => {
|
|
|
883
884
|
) }, m.label))
|
|
884
885
|
}
|
|
885
886
|
),
|
|
886
|
-
/* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(
|
|
887
|
+
/* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(Oe, {}) })
|
|
887
888
|
] })
|
|
888
889
|
] }),
|
|
889
|
-
o.site?.showPoweredBy !== !1 && /* @__PURE__ */ r.jsx(
|
|
890
|
+
o.site?.showPoweredBy !== !1 && /* @__PURE__ */ r.jsx(dr, { className: "grow-0 justify-center gap-1" })
|
|
890
891
|
] })
|
|
891
892
|
}
|
|
892
893
|
)
|
|
893
894
|
]
|
|
894
895
|
}
|
|
895
896
|
);
|
|
896
|
-
},
|
|
897
|
+
}, H = ({ item: e }) => e.children ? /* @__PURE__ */ r.jsxs(Lt, { children: [
|
|
897
898
|
/* @__PURE__ */ r.jsx(qt, { children: e.label }),
|
|
898
|
-
/* @__PURE__ */ r.jsx(
|
|
899
|
-
|
|
900
|
-
/* @__PURE__ */ r.jsx(Z, { item: t }, n)
|
|
901
|
-
)) }) })
|
|
902
|
-
] }, e.label) : /* @__PURE__ */ r.jsx(re, { to: e.path ?? "", children: /* @__PURE__ */ r.jsxs(Ht, { className: "flex gap-2", children: [
|
|
899
|
+
/* @__PURE__ */ r.jsx(zt, { children: /* @__PURE__ */ r.jsx(Bt, { children: e.children.map((t) => /* @__PURE__ */ r.jsx(H, { item: t }, t.label)) }) })
|
|
900
|
+
] }, e.label) : /* @__PURE__ */ r.jsx(re, { to: e.path ?? "", children: /* @__PURE__ */ r.jsxs(Yt, { className: "flex gap-2", children: [
|
|
903
901
|
e.icon && /* @__PURE__ */ r.jsx(e.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
|
|
904
902
|
e.label
|
|
905
|
-
] }, e.label) }),
|
|
906
|
-
const t =
|
|
903
|
+
] }, e.label) }), Tr = Ne(function() {
|
|
904
|
+
const t = q(), { isAuthenticated: n, profile: o, isAuthEnabled: i } = q(), c = O(), { site: s, plugins: d, options: v } = c, f = d.filter((l) => Te(l)).flatMap((l) => l.getProfileMenuItems(c)).sort((l) => l.weight ?? 0), b = s?.logo ? /https?:\/\//.test(s.logo.src.light) ? s.logo.src.light : z(v.basePath, s.logo.src.light) : void 0, y = s?.logo ? /https?:\/\//.test(s.logo.src.dark) ? s.logo.src.dark : z(v.basePath, s.logo.src.dark) : void 0, m = "inset-shadow-[0_-1px_0_0_var(--border)]";
|
|
907
905
|
return /* @__PURE__ */ r.jsxs(
|
|
908
906
|
"header",
|
|
909
907
|
{
|
|
910
908
|
className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full",
|
|
911
909
|
"data-pagefind-ignore": "all",
|
|
912
910
|
children: [
|
|
913
|
-
/* @__PURE__ */ r.jsx(
|
|
914
|
-
/* @__PURE__ */ r.jsxs("div", { className:
|
|
915
|
-
/* @__PURE__ */ r.jsx(
|
|
911
|
+
/* @__PURE__ */ r.jsx(ur, {}),
|
|
912
|
+
/* @__PURE__ */ r.jsxs("div", { className: k(m, "relative"), children: [
|
|
913
|
+
/* @__PURE__ */ r.jsx(Re, {}),
|
|
916
914
|
/* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto flex items-center justify-between h-(--top-header-height) px-4 lg:px-8 border-transparent", children: [
|
|
917
915
|
/* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(re, { to: s?.logo?.href ?? "/", children: /* @__PURE__ */ r.jsx("div", { className: "flex items-center gap-3.5", children: s?.logo ? /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
918
916
|
/* @__PURE__ */ r.jsx(
|
|
@@ -936,75 +934,75 @@ const Re = ({ className: e }) => {
|
|
|
936
934
|
}
|
|
937
935
|
)
|
|
938
936
|
] }) : /* @__PURE__ */ r.jsx("span", { className: "font-semibold text-2xl", children: s?.title }) }) }) }),
|
|
939
|
-
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ r.jsx(
|
|
937
|
+
/* @__PURE__ */ r.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ r.jsx(ke, { className: "pointer-events-auto" }) }),
|
|
940
938
|
/* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-8", children: [
|
|
941
|
-
/* @__PURE__ */ r.jsx(
|
|
939
|
+
/* @__PURE__ */ r.jsx(Nr, {}),
|
|
942
940
|
/* @__PURE__ */ r.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
943
|
-
/* @__PURE__ */ r.jsx(
|
|
941
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "head-navigation-start" }),
|
|
944
942
|
i && /* @__PURE__ */ r.jsx(
|
|
945
943
|
F,
|
|
946
944
|
{
|
|
947
945
|
fallback: /* @__PURE__ */ r.jsx(ee, { className: "rounded-sm h-5 w-24 mr-4" }),
|
|
948
|
-
children: n ? Object.values(f).length > 0 && /* @__PURE__ */ r.jsxs(
|
|
949
|
-
/* @__PURE__ */ r.jsx(
|
|
950
|
-
/* @__PURE__ */ r.jsxs(
|
|
951
|
-
/* @__PURE__ */ r.jsxs(
|
|
946
|
+
children: n ? Object.values(f).length > 0 && /* @__PURE__ */ r.jsxs($t, { modal: !1, children: [
|
|
947
|
+
/* @__PURE__ */ r.jsx(It, { asChild: !0, children: /* @__PURE__ */ r.jsx(J, { variant: "ghost", children: o?.name ?? "My Account" }) }),
|
|
948
|
+
/* @__PURE__ */ r.jsxs(Dt, { className: "w-56", children: [
|
|
949
|
+
/* @__PURE__ */ r.jsxs(Ft, { children: [
|
|
952
950
|
o?.name ? `${o.name}` : "My Account",
|
|
953
951
|
o?.email && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: o.email })
|
|
954
952
|
] }),
|
|
955
|
-
f.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ r.jsx(
|
|
956
|
-
f.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ r.jsx(
|
|
953
|
+
f.filter((l) => l.category === "top").length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
954
|
+
f.filter((l) => l.category === "top").map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label)),
|
|
957
955
|
f.filter(
|
|
958
956
|
(l) => !l.category || l.category === "middle"
|
|
959
|
-
).length > 0 && /* @__PURE__ */ r.jsx(
|
|
957
|
+
).length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
960
958
|
f.filter(
|
|
961
959
|
(l) => !l.category || l.category === "middle"
|
|
962
|
-
).map((l) => /* @__PURE__ */ r.jsx(
|
|
963
|
-
f.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(
|
|
964
|
-
f.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ r.jsx(
|
|
960
|
+
).map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label)),
|
|
961
|
+
f.filter((l) => l.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(X, {}),
|
|
962
|
+
f.filter((l) => l.category === "bottom").map((l) => /* @__PURE__ */ r.jsx(H, { item: l }, l.label))
|
|
965
963
|
] })
|
|
966
964
|
] }) : /* @__PURE__ */ r.jsx(J, { variant: "ghost", onClick: () => t.login(), children: "Login" })
|
|
967
965
|
}
|
|
968
966
|
),
|
|
969
|
-
/* @__PURE__ */ r.jsx(
|
|
970
|
-
/* @__PURE__ */ r.jsx(
|
|
967
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "head-navigation-end" }),
|
|
968
|
+
/* @__PURE__ */ r.jsx(Oe, {})
|
|
971
969
|
] })
|
|
972
970
|
] })
|
|
973
971
|
] })
|
|
974
972
|
] }),
|
|
975
|
-
/* @__PURE__ */ r.jsx("div", { className:
|
|
976
|
-
/* @__PURE__ */ r.jsx(
|
|
977
|
-
/* @__PURE__ */ r.jsx(
|
|
978
|
-
/* @__PURE__ */ r.jsx(
|
|
973
|
+
/* @__PURE__ */ r.jsx("div", { className: k("hidden lg:block", m), children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto border-transparent relative", children: [
|
|
974
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-before" }),
|
|
975
|
+
/* @__PURE__ */ r.jsx(Pr, {}),
|
|
976
|
+
/* @__PURE__ */ r.jsx(R.Target, { name: "top-navigation-after" })
|
|
979
977
|
] }) })
|
|
980
978
|
]
|
|
981
979
|
}
|
|
982
980
|
);
|
|
983
|
-
}),
|
|
984
|
-
Header:
|
|
985
|
-
}, _r = ne(
|
|
986
|
-
const e =
|
|
987
|
-
return
|
|
981
|
+
}), De = {
|
|
982
|
+
Header: Tr
|
|
983
|
+
}, _r = ne(De), Ar = _r.Provider, Mr = () => {
|
|
984
|
+
const e = we(), t = O(), n = D(void 0);
|
|
985
|
+
return $(() => {
|
|
988
986
|
t.emitEvent("location", {
|
|
989
987
|
from: n.current,
|
|
990
988
|
to: e
|
|
991
989
|
}), n.current = e;
|
|
992
990
|
}, [t, e]), null;
|
|
993
|
-
},
|
|
991
|
+
}, Rr = ({
|
|
994
992
|
children: e,
|
|
995
993
|
context: t
|
|
996
994
|
}) => (ft({
|
|
997
995
|
queryFn: async () => (await t.initialize(), !0),
|
|
998
996
|
queryKey: ["zudoku-initialize", mt]
|
|
999
997
|
}), /* @__PURE__ */ r.jsx(ht.Provider, { value: t, children: e }));
|
|
1000
|
-
let
|
|
1001
|
-
const
|
|
998
|
+
let be;
|
|
999
|
+
const Fe = Ne(
|
|
1002
1000
|
({ children: e, ...t }) => {
|
|
1003
1001
|
const n = W(
|
|
1004
|
-
() => ({ ...
|
|
1002
|
+
() => ({ ...De, ...t.overrides }),
|
|
1005
1003
|
[t.overrides]
|
|
1006
|
-
), o =
|
|
1007
|
-
...(t.plugins ?? []).filter(
|
|
1004
|
+
), o = we(), i = W(() => ({
|
|
1005
|
+
...(t.plugins ?? []).filter(kt).flatMap(
|
|
1008
1006
|
(l) => l.getMdxComponents ? [l.getMdxComponents()] : []
|
|
1009
1007
|
).reduce(
|
|
1010
1008
|
(l, g) => ({ ...l, ...g }),
|
|
@@ -1012,50 +1010,50 @@ const De = Pe(
|
|
|
1012
1010
|
),
|
|
1013
1011
|
...bt,
|
|
1014
1012
|
...t.mdx?.components
|
|
1015
|
-
}), [t.mdx?.components, t.plugins]), { stagger: c } =
|
|
1013
|
+
}), [t.mdx?.components, t.plugins]), { stagger: c } = Nt(de), [s, d] = L(!1), v = W(
|
|
1016
1014
|
() => s ? { stagger: !0 } : { stagger: c },
|
|
1017
1015
|
[c, s]
|
|
1018
1016
|
), f = Ee(), b = pt();
|
|
1019
|
-
|
|
1020
|
-
s || d(!0);
|
|
1021
|
-
}, [s, f.location]),
|
|
1017
|
+
$(() => {
|
|
1018
|
+
s || !f.location || d(!0);
|
|
1019
|
+
}, [s, f.location]), be ??= new ir(t, b);
|
|
1022
1020
|
const y = t.plugins?.flatMap(
|
|
1023
|
-
(m) =>
|
|
1024
|
-
).map((m, l) => /* @__PURE__ */ r.jsx(
|
|
1021
|
+
(m) => Ot(m) ? m.getHead?.({ location: o }) ?? [] : []
|
|
1022
|
+
).map((m, l) => /* @__PURE__ */ r.jsx(je, { children: m }, l));
|
|
1025
1023
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
1026
1024
|
y,
|
|
1027
|
-
/* @__PURE__ */ r.jsx(
|
|
1028
|
-
/* @__PURE__ */ r.jsx(
|
|
1029
|
-
/* @__PURE__ */ r.jsx(jt, { slots: t.slots ?? t.UNSAFE_slotlets, children: /* @__PURE__ */ r.jsx(
|
|
1025
|
+
/* @__PURE__ */ r.jsx(de.Provider, { value: v, children: /* @__PURE__ */ r.jsxs(Rr, { context: be, children: [
|
|
1026
|
+
/* @__PURE__ */ r.jsx(Mr, {}),
|
|
1027
|
+
/* @__PURE__ */ r.jsx(jt, { slots: t.slots ?? t.UNSAFE_slotlets, children: /* @__PURE__ */ r.jsx(nt, { components: i, children: /* @__PURE__ */ r.jsx(ot, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx(Ar, { value: n, children: /* @__PURE__ */ r.jsx(St, { children: e ?? /* @__PURE__ */ r.jsx(it, {}) }) }) }) }) })
|
|
1030
1028
|
] }) })
|
|
1031
1029
|
] });
|
|
1032
1030
|
}
|
|
1033
1031
|
);
|
|
1034
|
-
|
|
1035
|
-
const
|
|
1036
|
-
|
|
1037
|
-
const en =
|
|
1032
|
+
Fe.displayName = "ZudokuInner";
|
|
1033
|
+
const Le = (e) => /* @__PURE__ */ r.jsx(nr, { FallbackComponent: lr, children: /* @__PURE__ */ r.jsx(Fe, { ...e }) });
|
|
1034
|
+
Le.displayName = "Zudoku";
|
|
1035
|
+
const Jr = je, en = lt, tn = Et, rn = Ct, nn = F, on = ct, sn = re, an = Le, cn = wt, ln = R, un = st, dn = O, fn = q, mn = gt, hn = vt, pn = Se;
|
|
1038
1036
|
export {
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1037
|
+
on as B,
|
|
1038
|
+
en as C,
|
|
1039
|
+
nr as E,
|
|
1040
|
+
Tr as H,
|
|
1041
|
+
sn as L,
|
|
1042
|
+
tn as M,
|
|
1043
|
+
dr as P,
|
|
1044
|
+
rn as S,
|
|
1045
|
+
cn as T,
|
|
1046
|
+
an as Z,
|
|
1047
|
+
de as a,
|
|
1048
|
+
Er as b,
|
|
1049
|
+
Jr as c,
|
|
1050
|
+
nn as d,
|
|
1051
|
+
ln as e,
|
|
1054
1052
|
un as f,
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1053
|
+
fn as g,
|
|
1054
|
+
mn as h,
|
|
1055
|
+
hn as i,
|
|
1056
|
+
pn as j,
|
|
1059
1057
|
dn as u
|
|
1060
1058
|
};
|
|
1061
|
-
//# sourceMappingURL=index-
|
|
1059
|
+
//# sourceMappingURL=index-CfR_Jx5Q.js.map
|