zudoku 0.0.0-fed343e → 0.0.0-ff27e7ea
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 +141 -0
- package/cli.js +12 -2
- package/client.d.ts +7 -0
- package/dist/app/ZuploBuildConfig.d.ts +45 -0
- package/dist/app/ZuploBuildConfig.js +29 -0
- package/dist/app/ZuploBuildConfig.js.map +1 -0
- package/dist/app/demo.js +23 -10
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +6 -2
- package/dist/app/entry.client.js +56 -7
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +9 -8
- package/dist/app/entry.server.js +36 -18
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +33 -0
- package/dist/app/env.js +37 -0
- package/dist/app/env.js.map +1 -0
- package/dist/app/main.d.ts +94 -2
- package/dist/app/main.js +64 -70
- package/dist/app/main.js.map +1 -1
- package/dist/app/sentry.d.ts +3 -0
- package/dist/app/sentry.js +19 -0
- package/dist/app/sentry.js.map +1 -0
- package/dist/app/standalone.js +12 -11
- package/dist/app/standalone.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +18 -2
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.d.ts +9 -0
- package/dist/cli/cli.js +23 -15
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/cmds/build.d.ts +11 -3
- package/dist/cli/cmds/build.js +21 -13
- package/dist/cli/cmds/build.js.map +1 -1
- package/dist/cli/cmds/dev.d.ts +1 -1
- package/dist/cli/cmds/dev.js +5 -0
- package/dist/cli/cmds/dev.js.map +1 -1
- package/dist/cli/cmds/preview.d.ts +16 -0
- package/dist/cli/cmds/preview.js +25 -0
- package/dist/cli/cmds/preview.js.map +1 -0
- 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 +8 -0
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +3 -1
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +4 -2
- 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/utils/ports.d.ts +1 -1
- package/dist/cli/common/utils/ports.js +16 -15
- package/dist/cli/common/utils/ports.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.d.ts +1 -0
- package/dist/cli/dev/handler.js +15 -16
- package/dist/cli/dev/handler.js.map +1 -1
- package/dist/cli/preview/handler.d.ts +3 -0
- package/dist/cli/preview/handler.js +35 -0
- package/dist/cli/preview/handler.js.map +1 -0
- package/dist/codegen.d.ts +3 -0
- package/dist/codegen.js +45 -0
- package/dist/codegen.js.map +1 -0
- package/dist/config/config.d.ts +21 -35
- package/dist/config/file-exists.d.ts +1 -0
- package/dist/config/file-exists.js +5 -0
- package/dist/config/file-exists.js.map +1 -0
- package/dist/config/loader.d.ts +21 -0
- package/dist/config/loader.js +141 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/BuildSchema.d.ts +44 -0
- package/dist/config/validators/BuildSchema.js +42 -0
- package/dist/config/validators/BuildSchema.js.map +1 -0
- package/dist/config/validators/InputNavigationSchema.d.ts +7646 -0
- package/dist/config/validators/InputNavigationSchema.js +78 -0
- package/dist/config/validators/InputNavigationSchema.js.map +1 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js +146 -0
- package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -0
- package/dist/config/validators/NavigationSchema.d.ts +44 -0
- package/dist/config/validators/NavigationSchema.js +98 -0
- package/dist/config/validators/NavigationSchema.js.map +1 -0
- package/dist/config/validators/ProtectedRoutesSchema.d.ts +13 -0
- package/dist/config/validators/ProtectedRoutesSchema.js +10 -0
- package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -0
- 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 +2 -0
- package/dist/config/validators/icon-types.js +1873 -0
- package/dist/config/validators/icon-types.js.map +1 -0
- package/dist/config/validators/validate.d.ts +864 -1311
- package/dist/config/validators/validate.js +418 -131
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.js +183 -0
- package/dist/config/validators/validate.test.js.map +1 -0
- package/dist/flat-config.d.ts +379 -0
- package/dist/index.d.ts +11 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/MissingIcon.d.ts +2 -0
- package/dist/lib/MissingIcon.js +7 -0
- package/dist/lib/MissingIcon.js.map +1 -0
- 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.d.ts +2 -0
- package/dist/lib/auth/issuer.js +40 -0
- package/dist/lib/auth/issuer.js.map +1 -0
- package/dist/lib/auth/issuer.test.js +95 -0
- package/dist/lib/auth/issuer.test.js.map +1 -0
- package/dist/lib/authentication/AuthenticationPlugin.d.ts +6 -4
- package/dist/lib/authentication/AuthenticationPlugin.js +4 -1
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +22 -15
- package/dist/lib/authentication/components/CallbackHandler.js +27 -31
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/OAuthErrorPage.d.ts +3 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js +99 -0
- package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -0
- package/dist/lib/authentication/components/SignIn.d.ts +1 -1
- package/dist/lib/authentication/components/SignIn.js +12 -7
- 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.d.ts +1 -1
- package/dist/lib/authentication/components/SignUp.js +8 -5
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/errors.d.ts +6 -12
- package/dist/lib/authentication/errors.js +2 -1
- package/dist/lib/authentication/errors.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +15 -5
- package/dist/lib/authentication/hook.js +19 -7
- 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 +25 -14
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
- package/dist/lib/authentication/providers/azureb2c.js +147 -0
- package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +111 -49
- 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 +29 -24
- package/dist/lib/authentication/providers/openid.js +115 -74
- 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 +4 -0
- package/dist/lib/authentication/providers/supabase.js +108 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +22 -3
- package/dist/lib/authentication/state.js +35 -2
- 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 +48 -0
- package/dist/lib/authentication/use-broadcast/shared.js +243 -0
- package/dist/lib/authentication/use-broadcast/shared.js.map +1 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.d.ts +24 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.js +106 -0
- package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -0
- package/dist/lib/components/AnchorLink.d.ts +2 -2
- package/dist/lib/components/AnchorLink.js +9 -5
- package/dist/lib/components/AnchorLink.js.map +1 -1
- package/dist/lib/components/Autocomplete.d.ts +15 -0
- package/dist/lib/components/Autocomplete.js +51 -0
- package/dist/lib/components/Autocomplete.js.map +1 -0
- package/dist/lib/components/Banner.js +8 -2
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +5 -3
- package/dist/lib/components/Bootstrap.js +13 -6
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.d.ts +5 -0
- package/dist/lib/components/BuildCheck.js +45 -0
- package/dist/lib/components/BuildCheck.js.map +1 -0
- package/dist/lib/components/CategoryHeading.js +1 -1
- package/dist/lib/components/CategoryHeading.js.map +1 -1
- package/dist/lib/components/ClientOnly.d.ts +4 -2
- package/dist/lib/components/ClientOnly.js +1 -1
- package/dist/lib/components/ClientOnly.js.map +1 -1
- package/dist/lib/components/DeveloperHint.js +2 -1
- package/dist/lib/components/DeveloperHint.js.map +1 -1
- package/dist/lib/components/ErrorPage.js +2 -3
- package/dist/lib/components/ErrorPage.js.map +1 -1
- package/dist/lib/components/Footer.d.ts +1 -0
- package/dist/lib/components/Footer.js +32 -0
- package/dist/lib/components/Footer.js.map +1 -0
- package/dist/lib/components/Framed.d.ts +7 -0
- package/dist/lib/components/Framed.js +26 -0
- package/dist/lib/components/Framed.js.map +1 -0
- package/dist/lib/components/Header.js +32 -14
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +10 -6
- package/dist/lib/components/Heading.js +4 -3
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +3 -1
- package/dist/lib/components/InlineCode.js +2 -1
- package/dist/lib/components/InlineCode.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 +11 -24
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Main.d.ts +2 -0
- package/dist/lib/components/Main.js +18 -0
- package/dist/lib/components/Main.js.map +1 -0
- package/dist/lib/components/Markdown.d.ts +4 -3
- package/dist/lib/components/Markdown.js +14 -14
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/Meta.d.ts +2 -0
- package/dist/lib/components/Meta.js +11 -0
- package/dist/lib/components/Meta.js.map +1 -0
- package/dist/lib/components/MobileTopNavigation.js +20 -7
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +3 -3
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- package/dist/lib/components/PageProgress.d.ts +1 -0
- package/dist/lib/components/PageProgress.js +20 -0
- package/dist/lib/components/PageProgress.js.map +1 -0
- package/dist/lib/components/Pagination.d.ts +11 -0
- package/dist/lib/components/Pagination.js +10 -0
- package/dist/lib/components/Pagination.js.map +1 -0
- package/dist/lib/components/PathRenderer.d.ts +11 -0
- package/dist/lib/components/PathRenderer.js +28 -0
- package/dist/lib/components/PathRenderer.js.map +1 -0
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +10 -4
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/Slot.d.ts +17 -0
- package/dist/lib/components/Slot.js +24 -0
- package/dist/lib/components/Slot.js.map +1 -0
- package/dist/lib/components/Slot.test.d.ts +1 -0
- package/dist/lib/components/Slot.test.js +172 -0
- package/dist/lib/components/Slot.test.js.map +1 -0
- package/dist/lib/components/StatusPage.d.ts +7 -0
- package/dist/lib/components/StatusPage.js +75 -0
- package/dist/lib/components/StatusPage.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.d.ts +1 -0
- package/dist/lib/components/ThemeSwitch.js +16 -0
- package/dist/lib/components/ThemeSwitch.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +7 -0
- package/dist/lib/components/TopNavigation.js +60 -9
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Typography.d.ts +5 -0
- package/dist/lib/components/Typography.js +8 -0
- package/dist/lib/components/Typography.js.map +1 -0
- package/dist/lib/components/Zudoku.d.ts +7 -0
- package/dist/lib/components/Zudoku.js +58 -0
- package/dist/lib/components/Zudoku.js.map +1 -0
- package/dist/lib/components/cache.d.ts +15 -0
- package/dist/lib/components/cache.js +18 -0
- package/dist/lib/components/cache.js.map +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.d.ts +1 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js +3 -0
- package/dist/lib/components/context/BypassProtectedRoutesContext.js.map +1 -0
- package/dist/lib/components/context/ComponentsContext.js.map +1 -1
- package/dist/lib/components/context/RouterEventsEmitter.d.ts +1 -0
- package/dist/lib/components/context/RouterEventsEmitter.js +17 -0
- package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -0
- package/dist/lib/components/context/SlotProvider.d.ts +26 -0
- package/dist/lib/components/context/SlotProvider.js +83 -0
- package/dist/lib/components/context/SlotProvider.js.map +1 -0
- package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +30 -24
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +9 -17
- package/dist/lib/components/context/ZudokuContext.js +74 -27
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuProvider.d.ts +2 -2
- package/dist/lib/components/context/ZudokuProvider.js +2 -1
- package/dist/lib/components/context/ZudokuProvider.js.map +1 -1
- package/dist/lib/components/index.d.ts +65 -23
- package/dist/lib/components/index.js +31 -15
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/Navigation.d.ts +5 -0
- package/dist/lib/components/navigation/Navigation.js +12 -0
- package/dist/lib/components/navigation/Navigation.js.map +1 -0
- package/dist/lib/components/navigation/NavigationBadge.d.ts +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js +26 -0
- package/dist/lib/components/navigation/NavigationBadge.js.map +1 -0
- package/dist/lib/components/navigation/NavigationCategory.d.ts +5 -0
- package/dist/lib/components/navigation/NavigationCategory.js +66 -0
- package/dist/lib/components/navigation/NavigationCategory.js.map +1 -0
- package/dist/lib/components/navigation/NavigationItem.d.ts +6 -0
- package/dist/lib/components/navigation/NavigationItem.js +55 -0
- package/dist/lib/components/navigation/NavigationItem.js.map +1 -0
- package/dist/lib/components/navigation/NavigationWrapper.d.ts +7 -0
- package/dist/lib/components/navigation/NavigationWrapper.js +21 -0
- package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -0
- package/dist/lib/components/navigation/PoweredByZudoku.d.ts +3 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js +7 -0
- package/dist/lib/components/navigation/PoweredByZudoku.js.map +1 -0
- package/dist/lib/components/navigation/Toc.js +46 -0
- package/dist/lib/components/navigation/Toc.js.map +1 -0
- package/dist/lib/components/navigation/ZudokuLogo.d.ts +6 -0
- package/dist/lib/components/navigation/ZudokuLogo.js +5 -0
- package/dist/lib/components/navigation/ZudokuLogo.js.map +1 -0
- package/dist/lib/components/navigation/ZuploLogo.d.ts +3 -0
- package/dist/lib/components/navigation/ZuploLogo.js +4 -0
- package/dist/lib/components/navigation/ZuploLogo.js.map +1 -0
- package/dist/lib/components/navigation/utils.d.ts +16 -8
- package/dist/lib/components/navigation/utils.js +60 -33
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/RouteGuard.d.ts +2 -0
- package/dist/lib/core/RouteGuard.js +44 -0
- package/dist/lib/core/RouteGuard.js.map +1 -0
- package/dist/lib/core/ZudokuContext.d.ts +116 -0
- package/dist/lib/core/ZudokuContext.js +106 -0
- package/dist/lib/core/ZudokuContext.js.map +1 -0
- package/dist/lib/core/__internal.d.ts +37 -0
- package/dist/lib/core/__internal.js +26 -0
- package/dist/lib/core/__internal.js.map +1 -0
- package/dist/lib/core/plugins.d.ts +37 -18
- package/dist/lib/core/plugins.js +4 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/core/router.d.ts +1 -0
- package/dist/lib/core/router.js +2 -0
- package/dist/lib/core/router.js.map +1 -0
- package/dist/lib/errors/ErrorAlert.d.ts +1 -1
- package/dist/lib/errors/ErrorAlert.js +12 -4
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/RouterError.d.ts +3 -1
- package/dist/lib/errors/RouterError.js +4 -3
- 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 +28 -0
- package/dist/lib/hooks/index.js +16 -0
- package/dist/lib/hooks/index.js.map +1 -0
- package/dist/lib/hooks/useEvent.d.ts +11 -0
- package/dist/lib/hooks/useEvent.js +19 -0
- package/dist/lib/hooks/useEvent.js.map +1 -0
- package/dist/lib/hooks/useEvent.test.d.ts +1 -0
- package/dist/lib/hooks/useEvent.test.js +102 -0
- package/dist/lib/hooks/useEvent.test.js.map +1 -0
- package/dist/lib/hooks/useHotkey.d.ts +4 -0
- package/dist/lib/hooks/useHotkey.js +58 -0
- package/dist/lib/hooks/useHotkey.js.map +1 -0
- package/dist/lib/icons.d.ts +1 -0
- package/dist/lib/icons.js +1 -0
- package/dist/lib/icons.js.map +1 -1
- package/dist/lib/oas/graphql/circular.d.ts +3 -0
- package/dist/lib/oas/graphql/circular.js +43 -0
- package/dist/lib/oas/graphql/circular.js.map +1 -0
- package/dist/lib/oas/graphql/index.d.ts +26 -1
- package/dist/lib/oas/graphql/index.js +266 -75
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +10 -4
- 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.d.ts +9 -3
- package/dist/lib/oas/parser/index.js +12 -24
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.d.ts +3 -2
- package/dist/lib/oas/parser/upgrade/index.js +84 -31
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/dist/lib/plugins/api-catalog/Catalog.d.ts +4 -0
- package/dist/lib/plugins/api-catalog/Catalog.js +32 -0
- package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
- package/dist/lib/plugins/api-catalog/index.d.ts +31 -0
- package/dist/lib/plugins/api-catalog/index.js +46 -0
- package/dist/lib/plugins/api-catalog/index.js.map +1 -0
- package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +3 -2
- package/dist/lib/plugins/api-keys/CreateApiKey.js +26 -8
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +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 +5 -2
- 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 +146 -27
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +33 -18
- package/dist/lib/plugins/api-keys/index.js +65 -31
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/custom-pages/index.d.ts +8 -0
- package/dist/lib/plugins/custom-pages/index.js +19 -0
- package/dist/lib/plugins/custom-pages/index.js.map +1 -0
- package/dist/lib/plugins/markdown/MdxPage.d.ts +10 -2
- package/dist/lib/plugins/markdown/MdxPage.js +68 -11
- 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 +19 -7
- package/dist/lib/plugins/markdown/index.js +14 -3
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +6 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js +26 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -0
- package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js +32 -14
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -3
- package/dist/lib/plugins/openapi/Endpoint.js +43 -8
- 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 +8 -0
- package/dist/lib/plugins/openapi/OasProvider.js +30 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +5 -4
- package/dist/lib/plugins/openapi/OperationList.js +135 -31
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +6 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +22 -8
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
- package/dist/lib/plugins/openapi/ParamInfos.js +47 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterList.d.ts +4 -3
- package/dist/lib/plugins/openapi/ParameterList.js +10 -6
- 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 +30 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +6 -4
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +15 -4
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +11 -5
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +8 -9
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +5 -6
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +27 -8
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.d.ts +1 -0
- package/dist/lib/plugins/openapi/SchemaList.js +52 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.d.ts +6 -5
- package/dist/lib/plugins/openapi/Sidecar.js +120 -114
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +14 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js +57 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
- package/dist/lib/plugins/openapi/SimpleSelect.d.ts +2 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +43 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createServer.d.ts +3 -1
- package/dist/lib/plugins/openapi/client/createServer.js +6 -4
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +14 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +20 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ConstValue.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js +6 -0
- package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -0
- package/dist/lib/plugins/openapi/components/EnumValues.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js +15 -0
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -0
- 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.d.ts +12 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +20 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.d.ts +5 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js +16 -0
- package/dist/lib/plugins/openapi/components/SelectOnClick.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +11 -41
- package/dist/lib/plugins/openapi/graphql/gql.js +8 -14
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +179 -27
- package/dist/lib/plugins/openapi/graphql/graphql.js +250 -575
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +11 -8
- package/dist/lib/plugins/openapi/index.js +107 -109
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +75 -4
- package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +5 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js +78 -0
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +9 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +5 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +50 -9
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js +15 -0
- package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js +7 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +17 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +12 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/PathParams.d.ts +3 -2
- package/dist/lib/plugins/openapi/playground/PathParams.js +4 -8
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +40 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +211 -80
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +6 -3
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/QueryParams.js +22 -25
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +16 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
- package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/createUrl.js +3 -1
- package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/fileUtils.d.ts +2 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js +22 -0
- package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +19 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js +11 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.js.map +1 -0
- 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/UrlPath.d.ts +3 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
- 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 +12 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +71 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +14 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +117 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +15 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +10 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +32 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js +56 -0
- package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.test.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.d.ts +18 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js +12 -0
- package/dist/lib/plugins/openapi/playground/useRememberSkipLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.d.ts +8 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js +16 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +195 -0
- package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.d.ts +12 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js +66 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js +160 -0
- package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.d.ts +13 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js +33 -0
- package/dist/lib/plugins/openapi/processors/removePaths.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js +144 -0
- package/dist/lib/plugins/openapi/processors/removePaths.test.js.map +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -0
- package/dist/lib/plugins/openapi/processors/traverse.js +2 -0
- package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.d.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +15 -0
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +8 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +45 -0
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +4 -3
- package/dist/lib/plugins/openapi/schema/SchemaView.js +50 -50
- 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 +33 -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 +7 -7
- package/dist/lib/plugins/openapi/schema/utils.js +16 -10
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +27 -0
- package/dist/lib/plugins/openapi/state.js +18 -0
- package/dist/lib/plugins/openapi/state.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +11 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js +89 -0
- package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js +25 -0
- package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +2 -3
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +77 -39
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +10 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js +117 -0
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +2 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js +10 -0
- package/dist/lib/plugins/openapi/util/methodColorMap.js.map +1 -0
- package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
- package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
- package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
- package/dist/lib/plugins/redirect/index.d.ts +4 -7
- package/dist/lib/plugins/redirect/index.js +2 -2
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +8 -6
- package/dist/lib/plugins/search-inkeep/index.js +49 -7
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +2 -19
- package/dist/lib/plugins/search-inkeep/inkeep.js +10 -19
- package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/PagefindSearch.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +80 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/ResultList.d.ts +8 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js +42 -0
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/get-results.d.ts +10 -0
- package/dist/lib/plugins/search-pagefind/get-results.js +41 -0
- package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/index.d.ts +6 -0
- package/dist/lib/plugins/search-pagefind/index.js +9 -0
- package/dist/lib/plugins/search-pagefind/index.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/types.d.ts +85 -0
- package/dist/lib/plugins/search-pagefind/types.js +2 -0
- package/dist/lib/plugins/search-pagefind/types.js.map +1 -0
- package/dist/lib/shiki.d.ts +32 -0
- package/dist/lib/shiki.js +124 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/ui/Accordion.d.ts +7 -0
- package/dist/lib/ui/Accordion.js +14 -0
- package/dist/lib/ui/Accordion.js.map +1 -0
- package/dist/lib/ui/ActionButton.d.ts +4 -0
- package/dist/lib/ui/ActionButton.js +10 -0
- package/dist/lib/ui/ActionButton.js.map +1 -0
- package/dist/lib/ui/Alert.d.ts +9 -0
- package/dist/lib/ui/Alert.js +25 -0
- package/dist/lib/ui/Alert.js.map +1 -0
- package/dist/lib/ui/AlertDialog.d.ts +20 -0
- package/dist/lib/ui/AlertDialog.js +27 -0
- package/dist/lib/ui/AlertDialog.js.map +1 -0
- package/dist/lib/ui/AspectRatio.d.ts +3 -0
- package/dist/lib/ui/AspectRatio.js +4 -0
- package/dist/lib/ui/AspectRatio.js.map +1 -0
- package/dist/lib/ui/Badge.d.ts +9 -0
- package/dist/lib/ui/Badge.js +24 -0
- package/dist/lib/ui/Badge.js.map +1 -0
- package/dist/lib/ui/Breadcrumb.d.ts +19 -0
- package/dist/lib/ui/Breadcrumb.js +24 -0
- package/dist/lib/ui/Breadcrumb.js.map +1 -0
- package/dist/lib/ui/Button.d.ts +4 -5
- package/dist/lib/ui/Button.js +10 -6
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +38 -36
- package/dist/lib/ui/Callout.js +8 -7
- package/dist/lib/ui/Callout.js.map +1 -1
- package/dist/lib/ui/Card.js +1 -1
- package/dist/lib/ui/Card.js.map +1 -1
- package/dist/lib/ui/Carousel.d.ts +18 -0
- package/dist/lib/ui/Carousel.js +99 -0
- package/dist/lib/ui/Carousel.js.map +1 -0
- package/dist/lib/ui/Checkbox.d.ts +4 -0
- package/dist/lib/ui/Checkbox.js +9 -0
- package/dist/lib/ui/Checkbox.js.map +1 -0
- package/dist/lib/ui/CodeBlock.d.ts +14 -0
- package/dist/lib/ui/CodeBlock.js +18 -0
- package/dist/lib/ui/CodeBlock.js.map +1 -0
- package/dist/lib/ui/Collapsible.d.ts +5 -0
- package/dist/lib/ui/Collapsible.js +13 -0
- package/dist/lib/ui/Collapsible.js.map +1 -0
- package/dist/lib/ui/Command.d.ts +94 -0
- package/dist/lib/ui/Command.js +31 -0
- package/dist/lib/ui/Command.js.map +1 -0
- package/dist/lib/ui/Dialog.d.ts +15 -0
- package/dist/lib/ui/Dialog.js +36 -0
- package/dist/lib/ui/Dialog.js.map +1 -0
- package/dist/lib/ui/Drawer.d.ts +8 -10
- package/dist/lib/ui/Drawer.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.js +4 -4
- package/dist/lib/ui/DropdownMenu.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +16 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js +19 -0
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/dist/lib/ui/Form.d.ts +23 -0
- package/dist/lib/ui/Form.js +63 -0
- package/dist/lib/ui/Form.js.map +1 -0
- package/dist/lib/ui/Frame.d.ts +8 -0
- package/dist/lib/ui/Frame.js +22 -0
- package/dist/lib/ui/Frame.js.map +1 -0
- package/dist/lib/ui/HoverCard.d.ts +6 -0
- package/dist/lib/ui/HoverCard.js +10 -0
- package/dist/lib/ui/HoverCard.js.map +1 -0
- package/dist/lib/ui/Input.d.ts +1 -2
- package/dist/lib/ui/Input.js +1 -1
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Item.d.ts +23 -0
- package/dist/lib/ui/Item.js +67 -0
- package/dist/lib/ui/Item.js.map +1 -0
- package/dist/lib/ui/Label.d.ts +5 -0
- package/dist/lib/ui/Label.js +10 -0
- package/dist/lib/ui/Label.js.map +1 -0
- package/dist/lib/ui/NativeSelect.d.ts +5 -0
- package/dist/lib/ui/NativeSelect.js +14 -0
- package/dist/lib/ui/NativeSelect.js.map +1 -0
- package/dist/lib/ui/Pagination.d.ts +28 -0
- package/dist/lib/ui/Pagination.js +24 -0
- package/dist/lib/ui/Pagination.js.map +1 -0
- package/dist/lib/ui/Popover.d.ts +6 -0
- package/dist/lib/ui/Popover.js +10 -0
- package/dist/lib/ui/Popover.js.map +1 -0
- package/dist/lib/ui/Progress.d.ts +4 -0
- package/dist/lib/ui/Progress.js +8 -0
- package/dist/lib/ui/Progress.js.map +1 -0
- package/dist/lib/ui/RadioGroup.d.ts +5 -0
- package/dist/lib/ui/RadioGroup.js +15 -0
- package/dist/lib/ui/RadioGroup.js.map +1 -0
- 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/ScrollArea.d.ts +5 -0
- package/dist/lib/ui/ScrollArea.js +12 -0
- package/dist/lib/ui/ScrollArea.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/Select.d.ts +15 -0
- package/dist/lib/ui/Select.js +38 -0
- package/dist/lib/ui/Select.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/Skeleton.d.ts +2 -0
- package/dist/lib/ui/Skeleton.js +7 -0
- package/dist/lib/ui/Skeleton.js.map +1 -0
- package/dist/lib/ui/Slider.d.ts +4 -0
- package/dist/lib/ui/Slider.js +8 -0
- package/dist/lib/ui/Slider.js.map +1 -0
- package/dist/lib/ui/Stepper.d.ts +3 -0
- package/dist/lib/ui/Stepper.js +7 -0
- package/dist/lib/ui/Stepper.js.map +1 -0
- package/dist/lib/ui/Switch.d.ts +4 -0
- package/dist/lib/ui/Switch.js +8 -0
- package/dist/lib/ui/Switch.js.map +1 -0
- package/dist/lib/ui/SyntaxHighlight.d.ts +13 -0
- package/dist/lib/ui/SyntaxHighlight.js +15 -0
- package/dist/lib/ui/SyntaxHighlight.js.map +1 -0
- package/dist/lib/ui/Tabs.js +2 -2
- package/dist/lib/ui/Tabs.js.map +1 -1
- package/dist/lib/ui/Textarea.d.ts +4 -0
- package/dist/lib/ui/Textarea.js +9 -0
- package/dist/lib/ui/Textarea.js.map +1 -0
- package/dist/lib/ui/Toggle.d.ts +12 -0
- package/dist/lib/ui/Toggle.js +26 -0
- package/dist/lib/ui/Toggle.js.map +1 -0
- package/dist/lib/ui/ToggleGroup.d.ts +12 -0
- package/dist/lib/ui/ToggleGroup.js +21 -0
- package/dist/lib/ui/ToggleGroup.js.map +1 -0
- package/dist/lib/ui/Tooltip.d.ts +8 -0
- package/dist/lib/ui/Tooltip.js +18 -0
- package/dist/lib/ui/Tooltip.js.map +1 -0
- 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/ui/util.d.ts +2 -0
- package/dist/lib/ui/util.js +3 -0
- package/dist/lib/ui/util.js.map +1 -0
- package/dist/lib/util/MdxComponents.d.ts +39 -21
- package/dist/lib/util/MdxComponents.js +24 -17
- 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/detectOS.d.ts +1 -0
- package/dist/lib/util/detectOS.js +11 -0
- package/dist/lib/util/detectOS.js.map +1 -0
- package/dist/lib/util/ensureArray.d.ts +1 -0
- package/dist/lib/util/ensureArray.js +2 -0
- package/dist/lib/util/ensureArray.js.map +1 -0
- 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.d.ts +6 -0
- package/dist/lib/util/humanFileSize.js +14 -0
- package/dist/lib/util/humanFileSize.js.map +1 -0
- package/dist/lib/util/humanFileSize.test.d.ts +1 -0
- package/dist/lib/util/humanFileSize.test.js +22 -0
- package/dist/lib/util/humanFileSize.test.js.map +1 -0
- package/dist/lib/util/invariant.d.ts +10 -0
- package/dist/lib/util/invariant.js +10 -4
- package/dist/lib/util/invariant.js.map +1 -1
- package/dist/lib/util/joinPath.d.ts +3 -0
- package/dist/lib/util/joinPath.js +3 -0
- package/dist/lib/util/joinPath.js.map +1 -1
- package/dist/lib/util/joinUrl.d.ts +1 -0
- package/dist/lib/util/joinUrl.js +40 -0
- package/dist/lib/util/joinUrl.js.map +1 -0
- package/dist/lib/util/joinUrl.test.d.ts +1 -0
- package/dist/lib/util/joinUrl.test.js +43 -0
- package/dist/lib/util/joinUrl.test.js.map +1 -0
- package/dist/lib/util/os.d.ts +2 -0
- package/dist/lib/util/os.js +21 -0
- package/dist/lib/util/os.js.map +1 -0
- package/dist/lib/util/pastellize.js +4 -4
- package/dist/lib/util/pastellize.js.map +1 -1
- package/dist/lib/util/scrollIntoViewIfNeeded.d.ts +1 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js +14 -0
- package/dist/lib/util/scrollIntoViewIfNeeded.js.map +1 -0
- 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 +4 -0
- package/dist/lib/util/traverse.js +48 -0
- package/dist/lib/util/traverse.js.map +1 -0
- package/dist/lib/util/types.d.ts +7 -0
- package/dist/lib/util/types.js +2 -0
- package/dist/lib/util/types.js.map +1 -0
- package/dist/lib/util/url.d.ts +4 -0
- package/dist/lib/util/url.js +13 -0
- package/dist/lib/util/url.js.map +1 -0
- package/dist/lib/util/url.test.d.ts +1 -0
- package/dist/lib/util/url.test.js +26 -0
- package/dist/lib/util/url.test.js.map +1 -0
- package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
- package/dist/lib/util/useCopyToClipboard.js +11 -0
- package/dist/lib/util/useCopyToClipboard.js.map +1 -0
- package/dist/lib/util/useExposedProps.d.ts +9 -0
- package/dist/lib/util/useExposedProps.js +9 -0
- package/dist/lib/util/useExposedProps.js.map +1 -0
- package/dist/lib/util/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/lib/util/useIsomorphicLayoutEffect.js +4 -0
- package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -0
- package/dist/lib/util/useLatest.d.ts +1 -0
- package/dist/lib/util/useLatest.js +15 -0
- package/dist/lib/util/useLatest.js.map +1 -0
- package/dist/lib/util/useOnScreen.d.ts +5 -0
- package/dist/lib/util/useOnScreen.js +19 -0
- package/dist/lib/util/useOnScreen.js.map +1 -0
- package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
- package/dist/lib/util/useScrollToAnchor.js +45 -38
- package/dist/lib/util/useScrollToAnchor.js.map +1 -1
- package/dist/lib/util/useScrollToTop.js +7 -5
- package/dist/lib/util/useScrollToTop.js.map +1 -1
- package/dist/ts.js +3 -3
- package/dist/ts.js.map +1 -1
- package/dist/vite/api/SchemaManager.d.ts +38 -0
- package/dist/vite/api/SchemaManager.js +152 -0
- package/dist/vite/api/SchemaManager.js.map +1 -0
- package/dist/vite/api/SchemaManager.test.d.ts +1 -0
- package/dist/vite/api/SchemaManager.test.js +106 -0
- package/dist/vite/api/SchemaManager.test.js.map +1 -0
- package/dist/vite/api/schema-codegen.d.ts +12 -0
- package/dist/vite/api/schema-codegen.js +134 -0
- package/dist/vite/api/schema-codegen.js.map +1 -0
- package/dist/vite/api/schema-codegen.test.d.ts +1 -0
- package/dist/vite/api/schema-codegen.test.js +468 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -0
- package/dist/vite/build.js +63 -14
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +1 -15
- package/dist/vite/config.js +128 -149
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +12 -6
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/create-pagefind-index.d.ts +4 -0
- package/dist/vite/create-pagefind-index.js +12 -0
- package/dist/vite/create-pagefind-index.js.map +1 -0
- package/dist/vite/css/collect.d.ts +2 -0
- package/dist/vite/css/collect.js +27 -0
- package/dist/vite/css/collect.js.map +1 -0
- package/dist/vite/css/plugin.d.ts +4 -0
- package/dist/vite/css/plugin.js +91 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/debug.d.ts +1 -0
- package/dist/vite/debug.js +10 -0
- package/dist/vite/debug.js.map +1 -0
- package/dist/vite/dev-server.d.ts +12 -4
- package/dist/vite/dev-server.js +94 -31
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +3 -3
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/html.d.ts +7 -3
- package/dist/vite/html.js +15 -11
- package/dist/vite/html.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.d.ts +3 -0
- package/dist/vite/mdx/remark-inject-filepath.js +6 -0
- package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
- package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
- package/dist/vite/mdx/remark-last-modified.js +82 -0
- package/dist/vite/mdx/remark-last-modified.js.map +1 -0
- package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
- package/dist/vite/mdx/remark-link-rewrite.js +20 -0
- package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
- package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
- package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
- package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
- package/dist/vite/mdx/remark-static-generation.d.ts +3 -0
- package/dist/vite/mdx/remark-static-generation.js +125 -0
- package/dist/vite/mdx/remark-static-generation.js.map +1 -0
- package/dist/vite/mdx/utils.d.ts +2 -0
- package/dist/vite/mdx/utils.js +31 -0
- package/dist/vite/mdx/utils.js.map +1 -0
- package/dist/vite/output.d.ts +113 -0
- package/dist/vite/output.js +60 -0
- package/dist/vite/output.js.map +1 -0
- package/dist/vite/plugin-api-keys.d.ts +2 -3
- package/dist/vite/plugin-api-keys.js +14 -8
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +1 -2
- package/dist/vite/plugin-api.js +148 -36
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -3
- package/dist/vite/plugin-auth.js +11 -7
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -3
- package/dist/vite/plugin-component.js +25 -15
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +3 -4
- package/dist/vite/plugin-config-reload.js +31 -20
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -4
- package/dist/vite/plugin-config.js +28 -3
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +3 -0
- package/dist/vite/plugin-custom-pages.js +31 -0
- package/dist/vite/plugin-custom-pages.js.map +1 -0
- package/dist/vite/plugin-docs.d.ts +11 -3
- package/dist/vite/plugin-docs.js +100 -39
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -0
- package/dist/vite/plugin-frontmatter.js +39 -0
- package/dist/vite/plugin-frontmatter.js.map +1 -0
- 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 -9
- package/dist/vite/plugin-mdx.js +92 -36
- 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 +4 -0
- package/dist/vite/plugin-navigation.js +67 -0
- package/dist/vite/plugin-navigation.js.map +1 -0
- package/dist/vite/plugin-redirect.d.ts +2 -3
- package/dist/vite/plugin-redirect.js +7 -6
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -0
- package/dist/vite/plugin-search.js +31 -0
- package/dist/vite/plugin-search.js.map +1 -0
- package/dist/vite/plugin-shiki-register.d.ts +2 -0
- package/dist/vite/plugin-shiki-register.js +39 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-theme.d.ts +8 -0
- package/dist/vite/plugin-theme.js +283 -0
- package/dist/vite/plugin-theme.js.map +1 -0
- package/dist/vite/plugin-theme.test.d.ts +1 -0
- package/dist/vite/plugin-theme.test.js +314 -0
- package/dist/vite/plugin-theme.test.js.map +1 -0
- package/dist/vite/plugin.d.ts +2 -4
- package/dist/vite/plugin.js +30 -21
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
- package/dist/vite/prerender/FileWritingResponse.js +53 -0
- package/dist/vite/prerender/FileWritingResponse.js.map +1 -0
- package/dist/vite/prerender/InMemoryResponse.d.ts +16 -0
- package/dist/vite/prerender/InMemoryResponse.js +34 -0
- package/dist/vite/prerender/InMemoryResponse.js.map +1 -0
- package/dist/vite/prerender/PrerenderResponse.d.ts +10 -0
- package/dist/vite/prerender/PrerenderResponse.js +2 -0
- package/dist/vite/prerender/PrerenderResponse.js.map +1 -0
- package/dist/vite/prerender/prerender.d.ts +15 -0
- package/dist/vite/prerender/prerender.js +142 -0
- package/dist/vite/prerender/prerender.js.map +1 -0
- package/dist/vite/prerender/worker.d.ts +13 -0
- package/dist/vite/prerender/worker.js +63 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/reporter.d.ts +3 -0
- package/dist/vite/reporter.js +33 -0
- package/dist/vite/reporter.js.map +1 -0
- package/dist/vite/shadcn-registry.d.ts +20 -0
- package/dist/vite/shadcn-registry.js +29 -0
- package/dist/vite/shadcn-registry.js.map +1 -0
- package/dist/vite/sitemap.d.ts +1 -1
- package/dist/vite/sitemap.js +16 -14
- 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 +6 -0
- package/dist/zuplo/enrich-with-zuplo.js +185 -0
- package/dist/zuplo/enrich-with-zuplo.js.map +1 -0
- package/dist/zuplo/policy-types.d.ts +33 -0
- package/dist/zuplo/policy-types.js +7 -0
- package/dist/zuplo/policy-types.js.map +1 -0
- package/dist/zuplo/with-zuplo-processors.d.ts +3 -0
- package/dist/zuplo/with-zuplo-processors.js +28 -0
- package/dist/zuplo/with-zuplo-processors.js.map +1 -0
- package/dist/zuplo/with-zuplo.d.ts +6 -0
- package/dist/zuplo/with-zuplo.js +10 -0
- package/dist/zuplo/with-zuplo.js.map +1 -0
- package/lib/Button-B3ucvvQw.js +52 -0
- package/lib/Button-B3ucvvQw.js.map +1 -0
- package/lib/Card-KFniaZn5.js +61 -0
- package/lib/Card-KFniaZn5.js.map +1 -0
- package/lib/CategoryHeading-DhmodDcq.js +17 -0
- package/lib/CategoryHeading-DhmodDcq.js.map +1 -0
- package/lib/ClientOnly-E7hGysn1.js +11 -0
- package/lib/ClientOnly-E7hGysn1.js.map +1 -0
- package/lib/Command-CUcrW3qs.js +134 -0
- 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-Ci7XwhqT.js +1133 -0
- package/lib/Drawer-Ci7XwhqT.js.map +1 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js +126 -0
- package/lib/DropdownMenu-BZ2NKQ3K.js.map +1 -0
- package/lib/ErrorAlert-_1Zmhr68.js +15475 -0
- package/lib/ErrorAlert-_1Zmhr68.js.map +1 -0
- package/lib/MdxPage-B2t1EShN.js +240 -0
- package/lib/MdxPage-B2t1EShN.js.map +1 -0
- package/lib/OAuthErrorPage-DnKnq4xK.js +150 -0
- package/lib/OAuthErrorPage-DnKnq4xK.js.map +1 -0
- package/lib/OasProvider-Df8i4LN9.js +36 -0
- package/lib/OasProvider-Df8i4LN9.js.map +1 -0
- package/lib/OperationList-BGhUll5h.js +5688 -0
- package/lib/OperationList-BGhUll5h.js.map +1 -0
- package/lib/Pagination-hk-llhpw.js +37 -0
- package/lib/Pagination-hk-llhpw.js.map +1 -0
- package/lib/RouteGuard-Brz95MSt.js +77 -0
- package/lib/RouteGuard-Brz95MSt.js.map +1 -0
- package/lib/RouterError-CMaIfdjb.js +42 -0
- package/lib/RouterError-CMaIfdjb.js.map +1 -0
- package/lib/SchemaList-1BwTDYj4.js +150 -0
- package/lib/SchemaList-1BwTDYj4.js.map +1 -0
- package/lib/SchemaView-iAxsr0Pr.js +572 -0
- package/lib/SchemaView-iAxsr0Pr.js.map +1 -0
- package/lib/Select-DFRCS31-.js +399 -0
- package/lib/Select-DFRCS31-.js.map +1 -0
- package/lib/SignUp-sGYAsj2K.js +50 -0
- package/lib/SignUp-sGYAsj2K.js.map +1 -0
- package/lib/Spinner-CI6bRyZw.js +7 -0
- package/lib/Spinner-CI6bRyZw.js.map +1 -0
- package/lib/SyntaxHighlight-C19vH0V_.js +10352 -0
- package/lib/SyntaxHighlight-C19vH0V_.js.map +1 -0
- package/lib/Toc-DbWS75JZ.js +92 -0
- package/lib/Toc-DbWS75JZ.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-KI-MGwIg.js +15341 -0
- package/lib/circular-KI-MGwIg.js.map +1 -0
- package/lib/clsx-OuTLNxxd.js +17 -0
- package/lib/clsx-OuTLNxxd.js.map +1 -0
- package/lib/cn-dYga0KKN.js +2731 -0
- package/lib/cn-dYga0KKN.js.map +1 -0
- 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-CBgHAqRV.js +13018 -0
- package/lib/createServer-CBgHAqRV.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-CD873hrG.js +45 -0
- package/lib/errors-CD873hrG.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-BK0jKRrX.js +2210 -0
- package/lib/index-BK0jKRrX.js.map +1 -0
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-CscynaXA.js +3680 -0
- package/lib/index-CscynaXA.js.map +1 -0
- package/lib/index-DI5SPFK9.js +36 -0
- package/lib/index-DI5SPFK9.js.map +1 -0
- package/lib/index-nGbmHh_A.js +4827 -0
- package/lib/index-nGbmHh_A.js.map +1 -0
- package/lib/index-pMMX55GH.js +1059 -0
- package/lib/index-pMMX55GH.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 +683 -0
- package/lib/index.esm-BnYHxCYC.js.map +1 -0
- package/lib/invariant-Bm-FVUQE.js +44 -0
- package/lib/invariant-Bm-FVUQE.js.map +1 -0
- 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-BzflLqGi.js +283 -0
- 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-BSU0xu4m.js +196 -0
- package/lib/mutation-BSU0xu4m.js.map +1 -0
- 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/removeExtensions.js +11 -0
- package/lib/processors/removeExtensions.js.map +1 -0
- package/lib/processors/removeParameters.js +47 -0
- package/lib/processors/removeParameters.js.map +1 -0
- package/lib/processors/removePaths.js +28 -0
- package/lib/processors/removePaths.js.map +1 -0
- package/lib/processors/traverse.js +17 -0
- package/lib/processors/traverse.js.map +1 -0
- 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 +47 -0
- package/lib/ui/Accordion.js.map +1 -0
- package/lib/ui/ActionButton.js +25 -0
- package/lib/ui/ActionButton.js.map +1 -0
- package/lib/ui/Alert.js +67 -0
- package/lib/ui/Alert.js.map +1 -0
- package/lib/ui/AlertDialog.js +114 -0
- package/lib/ui/AlertDialog.js.map +1 -0
- package/lib/ui/AspectRatio.js +6 -0
- package/lib/ui/AspectRatio.js.map +1 -0
- package/lib/ui/Badge.js +42 -0
- package/lib/ui/Badge.js.map +1 -0
- package/lib/ui/Breadcrumb.js +95 -0
- package/lib/ui/Breadcrumb.js.map +1 -0
- package/lib/ui/Button.js +53 -0
- package/lib/ui/Button.js.map +1 -0
- package/lib/ui/Callout.js +97 -0
- package/lib/ui/Callout.js.map +1 -0
- package/lib/ui/Card.js +62 -0
- package/lib/ui/Card.js.map +1 -0
- package/lib/ui/Carousel.js +1416 -0
- package/lib/ui/Carousel.js.map +1 -0
- package/lib/ui/Checkbox.js +32 -0
- package/lib/ui/Checkbox.js.map +1 -0
- package/lib/ui/CodeBlock.js +220 -0
- package/lib/ui/CodeBlock.js.map +1 -0
- package/lib/ui/Collapsible.js +35 -0
- package/lib/ui/Collapsible.js.map +1 -0
- package/lib/ui/Command.js +150 -0
- package/lib/ui/Command.js.map +1 -0
- package/lib/ui/Dialog.js +146 -0
- package/lib/ui/Dialog.js.map +1 -0
- package/lib/ui/Drawer.js +17 -0
- package/lib/ui/Drawer.js.map +1 -0
- package/lib/ui/DropdownMenu.js +145 -0
- package/lib/ui/DropdownMenu.js.map +1 -0
- package/lib/ui/EmbeddedCodeBlock.js +84 -0
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -0
- package/lib/ui/Form.js +95 -0
- package/lib/ui/Form.js.map +1 -0
- package/lib/ui/Frame.js +81 -0
- package/lib/ui/Frame.js.map +1 -0
- package/lib/ui/HoverCard.js +24 -0
- package/lib/ui/HoverCard.js.map +1 -0
- package/lib/ui/Input.js +22 -0
- package/lib/ui/Input.js.map +1 -0
- package/lib/ui/Item.js +188 -0
- package/lib/ui/Item.js.map +1 -0
- package/lib/ui/Label.js +20 -0
- package/lib/ui/Label.js.map +1 -0
- package/lib/ui/NativeSelect.js +57 -0
- package/lib/ui/NativeSelect.js.map +1 -0
- package/lib/ui/Pagination.js +105 -0
- package/lib/ui/Pagination.js.map +1 -0
- package/lib/ui/Popover.js +24 -0
- package/lib/ui/Popover.js.map +1 -0
- package/lib/ui/Progress.js +27 -0
- package/lib/ui/Progress.js.map +1 -0
- package/lib/ui/RadioGroup.js +32 -0
- package/lib/ui/RadioGroup.js.map +1 -0
- package/lib/ui/ReactComponentDoc.js +28 -0
- package/lib/ui/ReactComponentDoc.js.map +1 -0
- package/lib/ui/ScrollArea.js +39 -0
- package/lib/ui/ScrollArea.js.map +1 -0
- package/lib/ui/Secret.js +106 -0
- package/lib/ui/Secret.js.map +1 -0
- package/lib/ui/Select.js +172 -0
- package/lib/ui/Select.js.map +1 -0
- package/lib/ui/Separator.js +27 -0
- package/lib/ui/Separator.js.map +1 -0
- package/lib/ui/Skeleton.js +18 -0
- package/lib/ui/Skeleton.js.map +1 -0
- package/lib/ui/Slider.js +24 -0
- package/lib/ui/Slider.js.map +1 -0
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +28 -0
- package/lib/ui/Switch.js.map +1 -0
- package/lib/ui/SyntaxHighlight.js +11 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +47 -0
- package/lib/ui/Tabs.js.map +1 -0
- package/lib/ui/Textarea.js +21 -0
- package/lib/ui/Textarea.js.map +1 -0
- package/lib/ui/Toggle.js +38 -0
- package/lib/ui/Toggle.js.map +1 -0
- package/lib/ui/ToggleGroup.js +42 -0
- package/lib/ui/ToggleGroup.js.map +1 -0
- package/lib/ui/Tooltip.js +58 -0
- package/lib/ui/Tooltip.js.map +1 -0
- package/lib/ui/Value.js +39 -0
- package/lib/ui/Value.js.map +1 -0
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/useCopyToClipboard-B_085nfO.js +14 -0
- package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
- package/lib/useExposedProps-U3pmsHaG.js +113 -0
- package/lib/useExposedProps-U3pmsHaG.js.map +1 -0
- package/lib/useLatest-hmRS46UF.js +11 -0
- package/lib/useLatest-hmRS46UF.js.map +1 -0
- 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 +3084 -0
- package/lib/zudoku.__internal.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +32 -29
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +136 -0
- package/lib/zudoku.auth-azureb2c.js.map +1 -0
- package/lib/zudoku.auth-clerk.js +112 -61
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +644 -664
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.auth-supabase.js +154 -0
- package/lib/zudoku.auth-supabase.js.map +1 -0
- package/lib/zudoku.components.js +27 -3360
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +27 -0
- package/lib/zudoku.hooks.js.map +1 -0
- package/lib/zudoku.icons.js +10 -0
- package/lib/zudoku.icons.js.map +1 -1
- package/lib/zudoku.plugin-api-catalog.js +124 -0
- package/lib/zudoku.plugin-api-catalog.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +635 -200
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +19 -0
- package/lib/zudoku.plugin-custom-pages.js.map +1 -0
- package/lib/zudoku.plugin-markdown.js +22 -25
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +8 -12
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +2 -2
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +61 -40
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +324 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +15 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/lib/zudoku.router.js +2507 -0
- package/lib/zudoku.router.js.map +1 -0
- package/package.json +230 -109
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/defaultTheme.css +73 -0
- package/src/app/demo-cdn.html +31 -31
- package/src/app/demo.html +1 -1
- package/src/app/demo.tsx +26 -12
- package/src/app/entry.client.tsx +75 -8
- package/src/app/entry.server.tsx +97 -68
- package/src/app/env.ts +43 -0
- package/src/app/font.geist.css +73 -0
- package/src/app/main.css +232 -134
- package/src/app/main.tsx +100 -80
- package/src/app/sentry.ts +24 -0
- package/src/app/standalone.tsx +15 -13
- package/src/lib/MissingIcon.tsx +22 -0
- 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 +121 -0
- package/src/lib/auth/issuer.ts +44 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +6 -3
- package/src/lib/authentication/authentication.ts +29 -12
- package/src/lib/authentication/components/CallbackHandler.tsx +36 -50
- package/src/lib/authentication/components/OAuthErrorPage.tsx +171 -0
- package/src/lib/authentication/components/SignIn.tsx +35 -7
- package/src/lib/authentication/components/SignOut.tsx +8 -6
- package/src/lib/authentication/components/SignUp.tsx +36 -5
- package/src/lib/authentication/errors.ts +27 -13
- package/src/lib/authentication/hook.ts +29 -7
- package/src/lib/authentication/providers/auth0.tsx +39 -19
- package/src/lib/authentication/providers/azureb2c.tsx +208 -0
- package/src/lib/authentication/providers/clerk.tsx +138 -54
- package/src/lib/authentication/providers/firebase.tsx +284 -0
- package/src/lib/authentication/providers/openid.tsx +175 -89
- package/src/lib/authentication/providers/supabase/SupabaseAuthUI.tsx +75 -0
- package/src/lib/authentication/providers/supabase.tsx +162 -0
- package/src/lib/authentication/state.ts +65 -7
- 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 +18 -0
- package/src/lib/authentication/use-broadcast/shared.ts +372 -0
- package/src/lib/authentication/use-broadcast/useBroadcast.ts +146 -0
- package/src/lib/components/AnchorLink.tsx +13 -8
- package/src/lib/components/Autocomplete.tsx +123 -0
- package/src/lib/components/Banner.tsx +15 -5
- package/src/lib/components/Bootstrap.tsx +44 -16
- package/src/lib/components/BuildCheck.tsx +88 -0
- package/src/lib/components/CategoryHeading.tsx +4 -1
- package/src/lib/components/ClientOnly.tsx +6 -3
- package/src/lib/components/DeveloperHint.tsx +6 -1
- package/src/lib/components/ErrorPage.tsx +3 -5
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Framed.tsx +51 -0
- package/src/lib/components/Header.tsx +122 -66
- package/src/lib/components/Heading.tsx +22 -19
- package/src/lib/components/InlineCode.tsx +15 -8
- package/src/lib/components/LanguageIcon.tsx +181 -0
- package/src/lib/components/Layout.tsx +28 -69
- package/src/lib/components/Main.tsx +51 -0
- package/src/lib/components/Markdown.tsx +45 -30
- package/src/lib/components/Meta.tsx +45 -0
- package/src/lib/components/MobileTopNavigation.tsx +98 -28
- package/src/lib/components/NotFoundPage.tsx +7 -6
- package/src/lib/components/PageProgress.tsx +28 -0
- package/src/lib/components/Pagination.tsx +45 -0
- package/src/lib/components/PathRenderer.tsx +61 -0
- package/src/lib/components/Search.tsx +20 -9
- package/src/lib/components/Slot.test.tsx +465 -0
- package/src/lib/components/Slot.tsx +64 -0
- package/src/lib/components/StatusPage.tsx +96 -0
- package/src/lib/components/ThemeSwitch.tsx +46 -0
- package/src/lib/components/TopNavigation.tsx +104 -27
- package/src/lib/components/Typography.tsx +14 -0
- package/src/lib/components/Zudoku.tsx +119 -0
- package/src/lib/components/cache.ts +27 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/ComponentsContext.tsx +2 -2
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/SlotProvider.tsx +149 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +35 -37
- package/src/lib/components/context/ZudokuContext.ts +87 -29
- package/src/lib/components/context/ZudokuProvider.tsx +4 -3
- package/src/lib/components/index.ts +34 -17
- package/src/lib/components/navigation/Navigation.tsx +50 -0
- package/src/lib/components/navigation/NavigationBadge.tsx +48 -0
- package/src/lib/components/navigation/NavigationCategory.tsx +153 -0
- package/src/lib/components/navigation/NavigationItem.tsx +148 -0
- package/src/lib/components/navigation/NavigationWrapper.tsx +49 -0
- package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
- package/src/lib/components/navigation/Toc.tsx +126 -0
- package/src/lib/components/navigation/ZudokuLogo.tsx +25 -0
- package/src/lib/components/navigation/ZuploLogo.tsx +14 -0
- package/src/lib/components/navigation/utils.ts +85 -50
- package/src/lib/core/RouteGuard.tsx +116 -0
- package/src/lib/core/ZudokuContext.ts +249 -0
- package/src/lib/core/__internal.tsx +30 -0
- package/src/lib/core/plugins.ts +56 -23
- package/src/lib/core/router.ts +1 -0
- package/src/lib/errors/ErrorAlert.tsx +29 -17
- package/src/lib/errors/RouterError.tsx +8 -3
- package/src/lib/errors/TopLevelError.tsx +2 -4
- package/src/lib/hooks/index.ts +16 -0
- package/src/lib/hooks/useEvent.test.tsx +151 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/hooks/useHotkey.ts +70 -0
- package/src/lib/icons.ts +1 -0
- package/src/lib/oas/graphql/circular.ts +58 -0
- package/src/lib/oas/graphql/index.ts +358 -116
- package/src/lib/oas/parser/dereference/index.ts +12 -5
- package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
- package/src/lib/oas/parser/index.ts +22 -32
- package/src/lib/oas/parser/upgrade/index.ts +105 -39
- package/src/lib/plugins/api-catalog/Catalog.tsx +80 -0
- package/src/lib/plugins/api-catalog/index.tsx +115 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +79 -49
- package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +12 -8
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +441 -122
- package/src/lib/plugins/api-keys/index.tsx +150 -66
- package/src/lib/plugins/custom-pages/index.tsx +32 -0
- package/src/lib/plugins/markdown/MdxPage.tsx +238 -62
- 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 +39 -12
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +88 -0
- package/src/lib/plugins/openapi/ColorizedParam.tsx +51 -23
- package/src/lib/plugins/openapi/Endpoint.tsx +83 -22
- 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 +52 -0
- package/src/lib/plugins/openapi/OperationList.tsx +265 -73
- package/src/lib/plugins/openapi/OperationListItem.tsx +147 -91
- package/src/lib/plugins/openapi/ParamInfos.tsx +91 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +43 -27
- package/src/lib/plugins/openapi/ParameterListItem.tsx +137 -39
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +28 -5
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +52 -28
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +87 -64
- package/src/lib/plugins/openapi/SchemaList.tsx +157 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +236 -174
- package/src/lib/plugins/openapi/SidecarBox.tsx +14 -4
- package/src/lib/plugins/openapi/SidecarExamples.tsx +174 -0
- package/src/lib/plugins/openapi/SimpleSelect.tsx +11 -3
- package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +65 -0
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
- package/src/lib/plugins/openapi/client/createServer.ts +9 -4
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +46 -0
- package/src/lib/plugins/openapi/components/ConstValue.tsx +24 -0
- package/src/lib/plugins/openapi/components/EnumValues.tsx +58 -0
- package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +114 -0
- package/src/lib/plugins/openapi/components/SelectOnClick.tsx +29 -0
- package/src/lib/plugins/openapi/context.tsx +2 -2
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +12 -19
- package/src/lib/plugins/openapi/graphql/gql.ts +46 -30
- package/src/lib/plugins/openapi/graphql/graphql.ts +438 -598
- package/src/lib/plugins/openapi/index.tsx +161 -157
- package/src/lib/plugins/openapi/interfaces.ts +77 -4
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +271 -0
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +51 -0
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +60 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +173 -58
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +75 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +38 -0
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +45 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +36 -70
- package/src/lib/plugins/openapi/playground/Playground.tsx +464 -263
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +24 -30
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +102 -112
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +70 -0
- package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
- package/src/lib/plugins/openapi/playground/createUrl.ts +6 -1
- package/src/lib/plugins/openapi/playground/fileUtils.ts +32 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
- 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/Highlight.tsx +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +117 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +339 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +102 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.test.ts +64 -0
- package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +36 -0
- package/src/lib/plugins/openapi/playground/useRememberSkipLoginDialog.tsx +23 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +223 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +183 -0
- package/src/lib/plugins/openapi/processors/removeParameters.ts +103 -0
- package/src/lib/plugins/openapi/processors/removePaths.test.ts +167 -0
- package/src/lib/plugins/openapi/processors/removePaths.ts +57 -0
- package/src/lib/plugins/openapi/processors/traverse.ts +1 -0
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +175 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +140 -139
- package/src/lib/plugins/openapi/schema/UnionView.tsx +132 -0
- package/src/lib/plugins/openapi/schema/union-helpers.ts +123 -0
- package/src/lib/plugins/openapi/schema/utils.ts +30 -13
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createHttpSnippet.ts +107 -0
- package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +39 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +95 -45
- package/src/lib/plugins/openapi/util/getRoutes.tsx +198 -0
- package/src/lib/plugins/openapi/util/methodColorMap.tsx +11 -0
- package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
- package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
- package/src/lib/plugins/redirect/index.tsx +6 -10
- package/src/lib/plugins/search-inkeep/index.tsx +83 -32
- package/src/lib/plugins/search-inkeep/inkeep.ts +15 -23
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +163 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +113 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +74 -0
- package/src/lib/plugins/search-pagefind/index.tsx +21 -0
- package/src/lib/plugins/search-pagefind/types.ts +118 -0
- package/src/lib/shiki.ts +161 -0
- package/src/lib/ui/Accordion.tsx +56 -0
- package/src/lib/ui/ActionButton.tsx +30 -0
- package/src/lib/ui/Alert.tsx +65 -0
- package/src/lib/ui/AlertDialog.tsx +139 -0
- package/src/lib/ui/AspectRatio.tsx +5 -0
- package/src/lib/ui/Badge.tsx +46 -0
- package/src/lib/ui/Breadcrumb.tsx +116 -0
- package/src/lib/ui/Button.tsx +14 -8
- package/src/lib/ui/Callout.tsx +47 -21
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Carousel.tsx +260 -0
- package/src/lib/ui/Checkbox.tsx +28 -0
- package/src/lib/ui/CodeBlock.tsx +79 -0
- package/src/lib/ui/Collapsible.tsx +31 -0
- package/src/lib/ui/Command.tsx +191 -0
- package/src/lib/ui/Dialog.tsx +138 -0
- package/src/lib/ui/Drawer.tsx +38 -36
- package/src/lib/ui/DropdownMenu.tsx +4 -4
- package/src/lib/ui/EmbeddedCodeBlock.tsx +99 -0
- package/src/lib/ui/Form.tsx +177 -0
- package/src/lib/ui/Frame.tsx +81 -0
- package/src/lib/ui/HoverCard.tsx +27 -0
- package/src/lib/ui/Input.tsx +2 -3
- package/src/lib/ui/Item.tsx +192 -0
- package/src/lib/ui/Label.tsx +24 -0
- package/src/lib/ui/NativeSelect.tsx +47 -0
- package/src/lib/ui/Pagination.tsx +116 -0
- package/src/lib/ui/Popover.tsx +29 -0
- package/src/lib/ui/Progress.tsx +26 -0
- package/src/lib/ui/RadioGroup.tsx +42 -0
- package/src/lib/ui/ReactComponentDoc.tsx +68 -0
- package/src/lib/ui/ScrollArea.tsx +46 -0
- package/src/lib/ui/Secret.tsx +123 -0
- package/src/lib/ui/Select.tsx +184 -0
- package/src/lib/ui/Separator.tsx +25 -0
- package/src/lib/ui/Skeleton.tsx +15 -0
- package/src/lib/ui/Slider.tsx +26 -0
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/Switch.tsx +27 -0
- package/src/lib/ui/SyntaxHighlight.tsx +40 -0
- package/src/lib/ui/Tabs.tsx +2 -2
- package/src/lib/ui/Textarea.tsx +23 -0
- package/src/lib/ui/Toggle.tsx +43 -0
- package/src/lib/ui/ToggleGroup.tsx +59 -0
- package/src/lib/ui/Tooltip.tsx +65 -0
- package/src/lib/ui/Value.tsx +42 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +58 -26
- package/src/lib/util/cn.ts +1 -1
- package/src/lib/util/createVariantComponent.tsx +33 -7
- package/src/lib/util/detectOS.ts +9 -0
- package/src/lib/util/ensureArray.ts +3 -0
- 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.test.ts +24 -0
- package/src/lib/util/humanFileSize.ts +15 -0
- package/src/lib/util/invariant.ts +18 -3
- package/src/lib/util/joinPath.tsx +3 -0
- package/src/lib/util/joinUrl.test.ts +62 -0
- package/src/lib/util/joinUrl.ts +57 -0
- package/src/lib/util/os.ts +18 -0
- package/src/lib/util/pastellize.ts +4 -4
- package/src/lib/util/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/syncZustandState.ts +22 -0
- package/src/lib/util/traverse.ts +70 -0
- package/src/lib/util/types.ts +7 -0
- package/src/lib/util/url.test.ts +51 -0
- package/src/lib/util/url.ts +18 -0
- package/src/lib/util/useCopyToClipboard.ts +17 -0
- package/src/lib/util/useExposedProps.tsx +27 -0
- package/src/lib/util/useIsomorphicLayoutEffect.ts +6 -0
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +34 -0
- package/src/lib/util/useScrollToAnchor.ts +51 -40
- package/src/lib/util/useScrollToTop.ts +9 -4
- package/src/shiki/langs/abap.js +1 -0
- package/src/shiki/langs/actionscript-3.js +1 -0
- package/src/shiki/langs/ada.js +1 -0
- package/src/shiki/langs/angular-expression.js +1 -0
- package/src/shiki/langs/angular-html.js +1 -0
- package/src/shiki/langs/angular-inline-style.js +1 -0
- package/src/shiki/langs/angular-inline-template.js +1 -0
- package/src/shiki/langs/angular-let-declaration.js +1 -0
- package/src/shiki/langs/angular-template-blocks.js +1 -0
- package/src/shiki/langs/angular-template.js +1 -0
- package/src/shiki/langs/angular-ts.js +1 -0
- package/src/shiki/langs/apache.js +1 -0
- package/src/shiki/langs/apex.js +1 -0
- package/src/shiki/langs/apl.js +1 -0
- package/src/shiki/langs/applescript.js +1 -0
- package/src/shiki/langs/ara.js +1 -0
- package/src/shiki/langs/asciidoc.js +1 -0
- package/src/shiki/langs/asm.js +1 -0
- package/src/shiki/langs/astro.js +1 -0
- package/src/shiki/langs/awk.js +1 -0
- package/src/shiki/langs/ballerina.js +1 -0
- package/src/shiki/langs/bat.js +1 -0
- package/src/shiki/langs/beancount.js +1 -0
- package/src/shiki/langs/berry.js +1 -0
- package/src/shiki/langs/bibtex.js +1 -0
- package/src/shiki/langs/bicep.js +1 -0
- package/src/shiki/langs/blade.js +1 -0
- package/src/shiki/langs/bsl.js +1 -0
- package/src/shiki/langs/c.js +1 -0
- package/src/shiki/langs/cadence.js +1 -0
- package/src/shiki/langs/cairo.js +1 -0
- package/src/shiki/langs/clarity.js +1 -0
- package/src/shiki/langs/clojure.js +1 -0
- package/src/shiki/langs/cmake.js +1 -0
- package/src/shiki/langs/cobol.js +1 -0
- package/src/shiki/langs/codeowners.js +1 -0
- package/src/shiki/langs/codeql.js +1 -0
- package/src/shiki/langs/coffee.js +1 -0
- package/src/shiki/langs/common-lisp.js +1 -0
- package/src/shiki/langs/coq.js +1 -0
- package/src/shiki/langs/cpp-macro.js +1 -0
- package/src/shiki/langs/cpp.js +1 -0
- package/src/shiki/langs/crystal.js +1 -0
- package/src/shiki/langs/csharp.js +1 -0
- package/src/shiki/langs/css.js +1 -0
- package/src/shiki/langs/csv.js +1 -0
- package/src/shiki/langs/cue.js +1 -0
- package/src/shiki/langs/cypher.js +1 -0
- package/src/shiki/langs/d.js +1 -0
- package/src/shiki/langs/dart.js +1 -0
- package/src/shiki/langs/dax.js +1 -0
- package/src/shiki/langs/desktop.js +1 -0
- package/src/shiki/langs/diff.js +1 -0
- package/src/shiki/langs/docker.js +1 -0
- package/src/shiki/langs/dotenv.js +1 -0
- package/src/shiki/langs/dream-maker.js +1 -0
- package/src/shiki/langs/edge.js +1 -0
- package/src/shiki/langs/elixir.js +1 -0
- package/src/shiki/langs/elm.js +1 -0
- package/src/shiki/langs/emacs-lisp.js +1 -0
- package/src/shiki/langs/erb.js +1 -0
- package/src/shiki/langs/erlang.js +1 -0
- package/src/shiki/langs/es-tag-css.js +1 -0
- package/src/shiki/langs/es-tag-glsl.js +1 -0
- package/src/shiki/langs/es-tag-html.js +1 -0
- package/src/shiki/langs/es-tag-sql.js +1 -0
- package/src/shiki/langs/es-tag-xml.js +1 -0
- package/src/shiki/langs/fennel.js +1 -0
- package/src/shiki/langs/fish.js +1 -0
- package/src/shiki/langs/fluent.js +1 -0
- package/src/shiki/langs/fortran-fixed-form.js +1 -0
- package/src/shiki/langs/fortran-free-form.js +1 -0
- package/src/shiki/langs/fsharp.js +1 -0
- package/src/shiki/langs/gdresource.js +1 -0
- package/src/shiki/langs/gdscript.js +1 -0
- package/src/shiki/langs/gdshader.js +1 -0
- package/src/shiki/langs/genie.js +1 -0
- package/src/shiki/langs/gherkin.js +1 -0
- package/src/shiki/langs/git-commit.js +1 -0
- package/src/shiki/langs/git-rebase.js +1 -0
- package/src/shiki/langs/gleam.js +1 -0
- package/src/shiki/langs/glimmer-js.js +1 -0
- package/src/shiki/langs/glimmer-ts.js +1 -0
- package/src/shiki/langs/glsl.js +1 -0
- package/src/shiki/langs/gnuplot.js +1 -0
- package/src/shiki/langs/go.js +1 -0
- package/src/shiki/langs/graphql.js +1 -0
- package/src/shiki/langs/groovy.js +1 -0
- package/src/shiki/langs/hack.js +1 -0
- package/src/shiki/langs/haml.js +1 -0
- package/src/shiki/langs/handlebars.js +1 -0
- package/src/shiki/langs/haskell.js +1 -0
- package/src/shiki/langs/haxe.js +1 -0
- package/src/shiki/langs/hcl.js +1 -0
- package/src/shiki/langs/hjson.js +1 -0
- package/src/shiki/langs/hlsl.js +1 -0
- package/src/shiki/langs/html-derivative.js +1 -0
- package/src/shiki/langs/html.js +1 -0
- package/src/shiki/langs/http.js +1 -0
- package/src/shiki/langs/hurl.js +1 -0
- package/src/shiki/langs/hxml.js +1 -0
- package/src/shiki/langs/hy.js +1 -0
- package/src/shiki/langs/imba.js +1 -0
- package/src/shiki/langs/ini.js +1 -0
- package/src/shiki/langs/java.js +1 -0
- package/src/shiki/langs/javascript.js +1 -0
- package/src/shiki/langs/jinja-html.js +1 -0
- package/src/shiki/langs/jinja.js +1 -0
- package/src/shiki/langs/jison.js +1 -0
- package/src/shiki/langs/json.js +1 -0
- package/src/shiki/langs/json5.js +1 -0
- package/src/shiki/langs/jsonc.js +1 -0
- package/src/shiki/langs/jsonl.js +1 -0
- package/src/shiki/langs/jsonnet.js +1 -0
- package/src/shiki/langs/jssm.js +1 -0
- package/src/shiki/langs/jsx.js +1 -0
- package/src/shiki/langs/julia.js +1 -0
- package/src/shiki/langs/kdl.js +1 -0
- package/src/shiki/langs/kotlin.js +1 -0
- package/src/shiki/langs/kusto.js +1 -0
- package/src/shiki/langs/latex.js +1 -0
- package/src/shiki/langs/lean.js +1 -0
- package/src/shiki/langs/less.js +1 -0
- package/src/shiki/langs/liquid.js +1 -0
- package/src/shiki/langs/llvm.js +1 -0
- package/src/shiki/langs/log.js +1 -0
- package/src/shiki/langs/logo.js +1 -0
- package/src/shiki/langs/lua.js +1 -0
- package/src/shiki/langs/luau.js +1 -0
- package/src/shiki/langs/make.js +1 -0
- package/src/shiki/langs/markdown-vue.js +1 -0
- package/src/shiki/langs/markdown.js +1 -0
- package/src/shiki/langs/marko.js +1 -0
- package/src/shiki/langs/matlab.js +1 -0
- package/src/shiki/langs/mdc.js +1 -0
- package/src/shiki/langs/mdx.js +1 -0
- package/src/shiki/langs/mermaid.js +1 -0
- package/src/shiki/langs/mipsasm.js +1 -0
- package/src/shiki/langs/mojo.js +1 -0
- package/src/shiki/langs/move.js +1 -0
- package/src/shiki/langs/narrat.js +1 -0
- package/src/shiki/langs/nextflow.js +1 -0
- package/src/shiki/langs/nginx.js +1 -0
- package/src/shiki/langs/nim.js +1 -0
- package/src/shiki/langs/nix.js +1 -0
- package/src/shiki/langs/nushell.js +1 -0
- package/src/shiki/langs/objective-c.js +1 -0
- package/src/shiki/langs/objective-cpp.js +1 -0
- package/src/shiki/langs/ocaml.js +1 -0
- package/src/shiki/langs/pascal.js +1 -0
- package/src/shiki/langs/perl.js +1 -0
- package/src/shiki/langs/php.js +1 -0
- package/src/shiki/langs/pkl.js +1 -0
- package/src/shiki/langs/plsql.js +1 -0
- package/src/shiki/langs/po.js +1 -0
- package/src/shiki/langs/polar.js +1 -0
- package/src/shiki/langs/postcss.js +1 -0
- package/src/shiki/langs/powerquery.js +1 -0
- package/src/shiki/langs/powershell.js +1 -0
- package/src/shiki/langs/prisma.js +1 -0
- package/src/shiki/langs/prolog.js +1 -0
- package/src/shiki/langs/proto.js +1 -0
- package/src/shiki/langs/pug.js +1 -0
- package/src/shiki/langs/puppet.js +1 -0
- package/src/shiki/langs/purescript.js +1 -0
- package/src/shiki/langs/python.js +1 -0
- package/src/shiki/langs/qml.js +1 -0
- package/src/shiki/langs/qmldir.js +1 -0
- package/src/shiki/langs/qss.js +1 -0
- package/src/shiki/langs/r.js +1 -0
- package/src/shiki/langs/racket.js +1 -0
- package/src/shiki/langs/raku.js +1 -0
- package/src/shiki/langs/razor.js +1 -0
- package/src/shiki/langs/reg.js +1 -0
- package/src/shiki/langs/regexp.js +1 -0
- package/src/shiki/langs/rel.js +1 -0
- package/src/shiki/langs/riscv.js +1 -0
- package/src/shiki/langs/rosmsg.js +1 -0
- package/src/shiki/langs/rst.js +1 -0
- package/src/shiki/langs/ruby.js +1 -0
- package/src/shiki/langs/rust.js +1 -0
- package/src/shiki/langs/sas.js +1 -0
- package/src/shiki/langs/sass.js +1 -0
- package/src/shiki/langs/scala.js +1 -0
- package/src/shiki/langs/scheme.js +1 -0
- package/src/shiki/langs/scss.js +1 -0
- package/src/shiki/langs/sdbl.js +1 -0
- package/src/shiki/langs/shaderlab.js +1 -0
- package/src/shiki/langs/shellscript.js +1 -0
- package/src/shiki/langs/shellsession.js +1 -0
- package/src/shiki/langs/smalltalk.js +1 -0
- package/src/shiki/langs/solidity.js +1 -0
- package/src/shiki/langs/soy.js +1 -0
- package/src/shiki/langs/sparql.js +1 -0
- package/src/shiki/langs/splunk.js +1 -0
- package/src/shiki/langs/sql.js +1 -0
- package/src/shiki/langs/ssh-config.js +1 -0
- package/src/shiki/langs/stata.js +1 -0
- package/src/shiki/langs/stylus.js +1 -0
- package/src/shiki/langs/svelte.js +1 -0
- package/src/shiki/langs/swift.js +1 -0
- package/src/shiki/langs/system-verilog.js +1 -0
- package/src/shiki/langs/systemd.js +1 -0
- package/src/shiki/langs/talonscript.js +1 -0
- package/src/shiki/langs/tasl.js +1 -0
- package/src/shiki/langs/tcl.js +1 -0
- package/src/shiki/langs/templ.js +1 -0
- package/src/shiki/langs/terraform.js +1 -0
- package/src/shiki/langs/tex.js +1 -0
- package/src/shiki/langs/toml.js +1 -0
- package/src/shiki/langs/ts-tags.js +1 -0
- package/src/shiki/langs/tsv.js +1 -0
- package/src/shiki/langs/tsx.js +1 -0
- package/src/shiki/langs/turtle.js +1 -0
- package/src/shiki/langs/twig.js +1 -0
- package/src/shiki/langs/typescript.js +1 -0
- package/src/shiki/langs/typespec.js +1 -0
- package/src/shiki/langs/typst.js +1 -0
- package/src/shiki/langs/v.js +1 -0
- package/src/shiki/langs/vala.js +1 -0
- package/src/shiki/langs/vb.js +1 -0
- package/src/shiki/langs/verilog.js +1 -0
- package/src/shiki/langs/vhdl.js +1 -0
- package/src/shiki/langs/viml.js +1 -0
- package/src/shiki/langs/vue-directives.js +1 -0
- package/src/shiki/langs/vue-html.js +1 -0
- package/src/shiki/langs/vue-interpolations.js +1 -0
- package/src/shiki/langs/vue-sfc-style-variable-injection.js +1 -0
- package/src/shiki/langs/vue-vine.js +1 -0
- package/src/shiki/langs/vue.js +1 -0
- package/src/shiki/langs/vyper.js +1 -0
- package/src/shiki/langs/wasm.js +1 -0
- package/src/shiki/langs/wenyan.js +1 -0
- package/src/shiki/langs/wgsl.js +1 -0
- package/src/shiki/langs/wikitext.js +1 -0
- package/src/shiki/langs/wit.js +1 -0
- package/src/shiki/langs/wolfram.js +1 -0
- package/src/shiki/langs/xml.js +1 -0
- package/src/shiki/langs/xsl.js +1 -0
- package/src/shiki/langs/yaml.js +1 -0
- package/src/shiki/langs/zenscript.js +1 -0
- package/src/shiki/langs/zig.js +1 -0
- package/src/shiki/themes/andromeeda.js +1 -0
- package/src/shiki/themes/aurora-x.js +1 -0
- package/src/shiki/themes/ayu-dark.js +1 -0
- package/src/shiki/themes/catppuccin-frappe.js +1 -0
- package/src/shiki/themes/catppuccin-latte.js +1 -0
- package/src/shiki/themes/catppuccin-macchiato.js +1 -0
- package/src/shiki/themes/catppuccin-mocha.js +1 -0
- package/src/shiki/themes/dark-plus.js +1 -0
- package/src/shiki/themes/dracula-soft.js +1 -0
- package/src/shiki/themes/dracula.js +1 -0
- package/src/shiki/themes/everforest-dark.js +1 -0
- package/src/shiki/themes/everforest-light.js +1 -0
- package/src/shiki/themes/github-dark-default.js +1 -0
- package/src/shiki/themes/github-dark-dimmed.js +1 -0
- package/src/shiki/themes/github-dark-high-contrast.js +1 -0
- package/src/shiki/themes/github-dark.js +1 -0
- package/src/shiki/themes/github-light-default.js +1 -0
- package/src/shiki/themes/github-light-high-contrast.js +1 -0
- package/src/shiki/themes/github-light.js +1 -0
- package/src/shiki/themes/gruvbox-dark-hard.js +1 -0
- package/src/shiki/themes/gruvbox-dark-medium.js +1 -0
- package/src/shiki/themes/gruvbox-dark-soft.js +1 -0
- package/src/shiki/themes/gruvbox-light-hard.js +1 -0
- package/src/shiki/themes/gruvbox-light-medium.js +1 -0
- package/src/shiki/themes/gruvbox-light-soft.js +1 -0
- package/src/shiki/themes/houston.js +1 -0
- package/src/shiki/themes/kanagawa-dragon.js +1 -0
- package/src/shiki/themes/kanagawa-lotus.js +1 -0
- package/src/shiki/themes/kanagawa-wave.js +1 -0
- package/src/shiki/themes/laserwave.js +1 -0
- package/src/shiki/themes/light-plus.js +1 -0
- package/src/shiki/themes/material-theme-darker.js +1 -0
- package/src/shiki/themes/material-theme-lighter.js +1 -0
- package/src/shiki/themes/material-theme-ocean.js +1 -0
- package/src/shiki/themes/material-theme-palenight.js +1 -0
- package/src/shiki/themes/material-theme.js +1 -0
- package/src/shiki/themes/min-dark.js +1 -0
- package/src/shiki/themes/min-light.js +1 -0
- package/src/shiki/themes/monokai.js +1 -0
- package/src/shiki/themes/night-owl.js +1 -0
- package/src/shiki/themes/nord.js +1 -0
- package/src/shiki/themes/one-dark-pro.js +1 -0
- package/src/shiki/themes/one-light.js +1 -0
- package/src/shiki/themes/plastic.js +1 -0
- package/src/shiki/themes/poimandres.js +1 -0
- package/src/shiki/themes/red.js +1 -0
- package/src/shiki/themes/rose-pine-dawn.js +1 -0
- package/src/shiki/themes/rose-pine-moon.js +1 -0
- package/src/shiki/themes/rose-pine.js +1 -0
- package/src/shiki/themes/slack-dark.js +1 -0
- package/src/shiki/themes/slack-ochin.js +1 -0
- package/src/shiki/themes/snazzy-light.js +1 -0
- package/src/shiki/themes/solarized-dark.js +1 -0
- package/src/shiki/themes/solarized-light.js +1 -0
- package/src/shiki/themes/synthwave-84.js +1 -0
- package/src/shiki/themes/tokyo-night.js +1 -0
- package/src/shiki/themes/vesper.js +1 -0
- package/src/shiki/themes/vitesse-black.js +1 -0
- package/src/shiki/themes/vitesse-dark.js +1 -0
- package/src/shiki/themes/vitesse-light.js +1 -0
- package/LICENSE.md +0 -9
- package/dist/app/tailwind.d.ts +0 -3
- package/dist/app/tailwind.js +0 -65
- package/dist/app/tailwind.js.map +0 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +0 -185
- package/dist/config/validators/InputSidebarSchema.js +0 -73
- package/dist/config/validators/InputSidebarSchema.js.map +0 -1
- package/dist/config/validators/SidebarSchema.d.ts +0 -23
- package/dist/config/validators/SidebarSchema.js +0 -82
- package/dist/config/validators/SidebarSchema.js.map +0 -1
- package/dist/internal.d.ts +0 -1
- package/dist/internal.js +0 -2
- package/dist/internal.js.map +0 -1
- package/dist/lib/components/DevPortal.d.ts +0 -7
- package/dist/lib/components/DevPortal.js +0 -54
- package/dist/lib/components/DevPortal.js.map +0 -1
- package/dist/lib/components/Dialog.d.ts +0 -19
- package/dist/lib/components/Dialog.js +0 -23
- package/dist/lib/components/Dialog.js.map +0 -1
- package/dist/lib/components/Select.d.ts +0 -13
- package/dist/lib/components/Select.js +0 -27
- package/dist/lib/components/Select.js.map +0 -1
- package/dist/lib/components/SlotletProvider.d.ts +0 -9
- package/dist/lib/components/SlotletProvider.js +0 -16
- package/dist/lib/components/SlotletProvider.js.map +0 -1
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
- package/dist/lib/components/SyntaxHighlight.js +0 -50
- package/dist/lib/components/SyntaxHighlight.js.map +0 -1
- package/dist/lib/components/context/PluginSystem.js +0 -2
- package/dist/lib/components/context/PluginSystem.js.map +0 -1
- package/dist/lib/components/context/ThemeContext.d.ts +0 -2
- package/dist/lib/components/context/ThemeContext.js +0 -7
- package/dist/lib/components/context/ThemeContext.js.map +0 -1
- package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
- package/dist/lib/components/context/ThemeProvider.js +0 -23
- package/dist/lib/components/context/ThemeProvider.js.map +0 -1
- package/dist/lib/components/navigation/Sidebar.d.ts +0 -1
- package/dist/lib/components/navigation/Sidebar.js +0 -14
- package/dist/lib/components/navigation/Sidebar.js.map +0 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -23
- package/dist/lib/components/navigation/SidebarBadge.js +0 -24
- package/dist/lib/components/navigation/SidebarBadge.js.map +0 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +0 -5
- package/dist/lib/components/navigation/SidebarCategory.js +0 -41
- package/dist/lib/components/navigation/SidebarCategory.js.map +0 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +0 -12
- package/dist/lib/components/navigation/SidebarItem.js +0 -43
- package/dist/lib/components/navigation/SidebarItem.js.map +0 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +0 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +0 -6
- package/dist/lib/components/navigation/SidebarWrapper.js.map +0 -1
- package/dist/lib/core/DevPortalContext.d.ts +0 -78
- package/dist/lib/core/DevPortalContext.js +0 -49
- package/dist/lib/core/DevPortalContext.js.map +0 -1
- package/dist/lib/plugins/custom-page/index.d.ts +0 -8
- package/dist/lib/plugins/custom-page/index.js +0 -12
- package/dist/lib/plugins/custom-page/index.js.map +0 -1
- package/dist/lib/plugins/markdown/Toc.js +0 -48
- package/dist/lib/plugins/markdown/Toc.js.map +0 -1
- package/dist/lib/plugins/markdown/generateRoutes.d.ts +0 -3
- package/dist/lib/plugins/markdown/generateRoutes.js +0 -19
- package/dist/lib/plugins/markdown/generateRoutes.js.map +0 -1
- package/dist/lib/plugins/openapi/Route.d.ts +0 -6
- package/dist/lib/plugins/openapi/Route.js +0 -8
- package/dist/lib/plugins/openapi/Route.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -12
- package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -46
- package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
- package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -61
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
- package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
- package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
- package/dist/lib/plugins/openapi/client/worker.js +0 -20
- package/dist/lib/plugins/openapi/client/worker.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/Editor.d.ts +0 -1
- package/dist/lib/plugins/openapi/playground/Editor.js +0 -5
- package/dist/lib/plugins/openapi/playground/Editor.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/playground/ResponseTab.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/ResponseTab.js +0 -42
- package/dist/lib/plugins/openapi/playground/ResponseTab.js.map +0 -1
- package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
- package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -9
- 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 -6
- 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 -7
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/SchemaComponents.d.ts +0 -13
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js +0 -28
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/dist/lib/plugins/openapi/util/urql.d.ts +0 -7
- package/dist/lib/plugins/openapi/util/urql.js +0 -8
- package/dist/lib/plugins/openapi/util/urql.js.map +0 -1
- package/dist/lib/plugins/openapi-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi-worker.js +0 -2
- package/dist/lib/plugins/openapi-worker.js.map +0 -1
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
- package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
- package/dist/lib/themeToggle.d.ts +0 -1
- package/dist/lib/themeToggle.js +0 -7
- package/dist/lib/themeToggle.js.map +0 -1
- package/dist/lib/ui/Note.d.ts +0 -8
- package/dist/lib/ui/Note.js +0 -23
- package/dist/lib/ui/Note.js.map +0 -1
- package/dist/lib/util/createWaitForNotify.d.ts +0 -1
- package/dist/lib/util/createWaitForNotify.js +0 -15
- package/dist/lib/util/createWaitForNotify.js.map +0 -1
- package/dist/lib/util/slugify.d.ts +0 -2
- package/dist/lib/util/slugify.js +0 -3
- package/dist/lib/util/slugify.js.map +0 -1
- package/dist/vite/plugin-custom-css.d.ts +0 -6
- package/dist/vite/plugin-custom-css.js +0 -55
- package/dist/vite/plugin-custom-css.js.map +0 -1
- package/dist/vite/plugin-docs.test.js +0 -30
- package/dist/vite/plugin-docs.test.js.map +0 -1
- package/dist/vite/plugin-html-transform.d.ts +0 -2
- package/dist/vite/plugin-html-transform.js +0 -15
- package/dist/vite/plugin-html-transform.js.map +0 -1
- package/dist/vite/plugin-icons.d.ts +0 -3
- package/dist/vite/plugin-icons.js +0 -47
- package/dist/vite/plugin-icons.js.map +0 -1
- package/dist/vite/plugin-sidebar.d.ts +0 -3
- package/dist/vite/plugin-sidebar.js +0 -33
- package/dist/vite/plugin-sidebar.js.map +0 -1
- package/dist/vite/prerender.d.ts +0 -17
- package/dist/vite/prerender.js +0 -87
- package/dist/vite/prerender.js.map +0 -1
- package/lib/AuthenticationPlugin-Bx9FK124.js +0 -55
- package/lib/AuthenticationPlugin-Bx9FK124.js.map +0 -1
- package/lib/CategoryHeading-XnFqN2lJ.js +0 -10
- package/lib/CategoryHeading-XnFqN2lJ.js.map +0 -1
- package/lib/DeveloperHint-FBb2uXJe.js +0 -16
- package/lib/DeveloperHint-FBb2uXJe.js.map +0 -1
- package/lib/ErrorPage-knunPbKI.js +0 -18
- package/lib/ErrorPage-knunPbKI.js.map +0 -1
- package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
- package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
- package/lib/Input-BEDZAKw0.js +0 -2198
- package/lib/Input-BEDZAKw0.js.map +0 -1
- package/lib/Markdown-B4aR03g6.js +0 -20279
- package/lib/Markdown-B4aR03g6.js.map +0 -1
- package/lib/MdxPage-BZyQsH8Z.js +0 -172
- package/lib/MdxPage-BZyQsH8Z.js.map +0 -1
- package/lib/OperationList-2NeWEM0u.js +0 -560
- package/lib/OperationList-2NeWEM0u.js.map +0 -1
- package/lib/Route-BZPewmrN.js +0 -14
- package/lib/Route-BZPewmrN.js.map +0 -1
- package/lib/SidebarBadge-COz0hgfa.js +0 -498
- package/lib/SidebarBadge-COz0hgfa.js.map +0 -1
- package/lib/SlotletProvider-DJMaOUDs.js +0 -238
- package/lib/SlotletProvider-DJMaOUDs.js.map +0 -1
- package/lib/Spinner-3cQDBVGr.js +0 -7
- package/lib/Spinner-3cQDBVGr.js.map +0 -1
- package/lib/ZudokuContext-cr-pTRY1.js +0 -1084
- package/lib/ZudokuContext-cr-pTRY1.js.map +0 -1
- package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/assets/index-B9EWVYfo.js +0 -4790
- package/lib/assets/index-B9EWVYfo.js.map +0 -1
- package/lib/assets/worker-BvD7B6MG.js +0 -15839
- package/lib/assets/worker-BvD7B6MG.js.map +0 -1
- package/lib/index-1EDgIO6b.js +0 -124
- package/lib/index-1EDgIO6b.js.map +0 -1
- package/lib/index-BG0g4WW0.js +0 -1771
- package/lib/index-BG0g4WW0.js.map +0 -1
- package/lib/index-CLd8ycZz.js +0 -4790
- package/lib/index-CLd8ycZz.js.map +0 -1
- package/lib/index-Dv2KZuEw.js +0 -5685
- package/lib/index-Dv2KZuEw.js.map +0 -1
- package/lib/index-Zezcv0xb.js +0 -2814
- package/lib/index-Zezcv0xb.js.map +0 -1
- package/lib/joinPath-B7kNnUX4.js +0 -8
- package/lib/joinPath-B7kNnUX4.js.map +0 -1
- package/lib/jsx-runtime-B6kdoens.js +0 -635
- package/lib/jsx-runtime-B6kdoens.js.map +0 -1
- package/lib/prism-bash.min-DadFsM4Z.js +0 -7
- package/lib/prism-bash.min-DadFsM4Z.js.map +0 -1
- package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
- package/lib/prism-csharp.min-Yizuc34Y.js.map +0 -1
- package/lib/prism-java.min-d5iT_mOd.js +0 -7
- package/lib/prism-java.min-d5iT_mOd.js.map +0 -1
- package/lib/prism-javascript.min-CEqHqgbm.js +0 -9
- package/lib/prism-javascript.min-CEqHqgbm.js.map +0 -1
- package/lib/prism-json.min-B1GJqK1k.js +0 -2
- package/lib/prism-json.min-B1GJqK1k.js.map +0 -1
- package/lib/prism-markdown.min-F3U-vPBi.js +0 -61
- package/lib/prism-markdown.min-F3U-vPBi.js.map +0 -1
- package/lib/prism-markup-BNGj0Tvm.js +0 -174
- package/lib/prism-markup-BNGj0Tvm.js.map +0 -1
- package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
- package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
- package/lib/prism-objectivec.min-BXSWqpJJ.js +0 -2
- package/lib/prism-objectivec.min-BXSWqpJJ.js.map +0 -1
- package/lib/prism-php.min-o7FpoMP_.js +0 -11
- package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
- package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
- package/lib/prism-ruby.min-C7LwcKyz.js.map +0 -1
- package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
- package/lib/prism-typescript.min-oSVeWCAd.js.map +0 -1
- package/lib/router-D2p7Olpn.js +0 -2971
- package/lib/router-D2p7Olpn.js.map +0 -1
- package/lib/slugify-DbLhpSPt.js +0 -28
- package/lib/slugify-DbLhpSPt.js.map +0 -1
- package/lib/state-lIwt9isb.js +0 -288
- package/lib/state-lIwt9isb.js.map +0 -1
- package/lib/urql-YhcsXYy8.js +0 -1591
- package/lib/urql-YhcsXYy8.js.map +0 -1
- package/lib/utils-ByIc_KIM.js +0 -749
- package/lib/utils-ByIc_KIM.js.map +0 -1
- package/lib/zudoku.openapi-worker.js +0 -16053
- package/lib/zudoku.openapi-worker.js.map +0 -1
- package/lib/zudoku.plugin-custom-page.js +0 -13
- package/lib/zudoku.plugin-custom-page.js.map +0 -1
- package/src/app/tailwind.ts +0 -68
- package/src/lib/components/DevPortal.tsx +0 -111
- package/src/lib/components/Dialog.tsx +0 -119
- package/src/lib/components/Select.tsx +0 -157
- package/src/lib/components/SlotletProvider.tsx +0 -30
- package/src/lib/components/SyntaxHighlight.tsx +0 -122
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/components/context/ThemeContext.tsx +0 -8
- package/src/lib/components/context/ThemeProvider.tsx +0 -27
- package/src/lib/components/navigation/Sidebar.tsx +0 -39
- package/src/lib/components/navigation/SidebarBadge.tsx +0 -43
- package/src/lib/components/navigation/SidebarCategory.tsx +0 -131
- package/src/lib/components/navigation/SidebarItem.tsx +0 -130
- package/src/lib/components/navigation/SidebarWrapper.tsx +0 -26
- package/src/lib/core/DevPortalContext.ts +0 -135
- package/src/lib/plugins/custom-page/index.tsx +0 -22
- package/src/lib/plugins/markdown/Toc.tsx +0 -135
- package/src/lib/plugins/markdown/generateRoutes.tsx +0 -35
- package/src/lib/plugins/openapi/Route.tsx +0 -21
- package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -56
- package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -80
- package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
- package/src/lib/plugins/openapi/client/worker.ts +0 -30
- package/src/lib/plugins/openapi/playground/Editor.tsx +0 -4
- package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -77
- package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -47
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +0 -54
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +0 -30
- package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
- package/src/lib/plugins/openapi/util/urql.ts +0 -8
- package/src/lib/plugins/openapi-worker.ts +0 -1
- package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
- package/src/lib/themeToggle.ts +0 -7
- package/src/lib/ui/Note.tsx +0 -58
- package/src/lib/util/createWaitForNotify.ts +0 -18
- package/src/lib/util/slugify.ts +0 -3
- /package/dist/{lib/components/context/PluginSystem.d.ts → config/validators/InputNavigationSchema.test-d.d.ts} +0 -0
- /package/dist/{lib/plugins/openapi/client/worker.d.ts → config/validators/validate.test.d.ts} +0 -0
- /package/dist/{vite/plugin-docs.test.d.ts → lib/auth/issuer.test.d.ts} +0 -0
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
|
@@ -1,168 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { A as
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
1
|
+
import { j as D } from "./jsx-runtime-BzflLqGi.js";
|
|
2
|
+
import { g as Le } from "./invariant-Bm-FVUQE.js";
|
|
3
|
+
import { E as Ue } from "./index-pMMX55GH.js";
|
|
4
|
+
import { C as xe } from "./ClientOnly-E7hGysn1.js";
|
|
5
|
+
import { j as Ce, u as S } from "./ZudokuContext-BUZ5hkWB.js";
|
|
6
|
+
import { C as Ie, O as re, A as R } from "./errors-CD873hrG.js";
|
|
7
|
+
import { C as je, O as Oe } from "./OAuthErrorPage-DnKnq4xK.js";
|
|
8
|
+
var J = { exports: {} }, De = J.exports, oe;
|
|
9
|
+
function Je() {
|
|
10
|
+
return oe || (oe = 1, (function(t) {
|
|
11
|
+
(function(e, n) {
|
|
12
|
+
t.exports ? t.exports = n() : e.log = n();
|
|
13
|
+
})(De, function() {
|
|
14
|
+
var e = function() {
|
|
15
|
+
}, n = "undefined", o = typeof window !== n && typeof window.navigator !== n && /Trident\/|MSIE /.test(window.navigator.userAgent), s = [
|
|
16
|
+
"trace",
|
|
17
|
+
"debug",
|
|
18
|
+
"info",
|
|
19
|
+
"warn",
|
|
20
|
+
"error"
|
|
21
|
+
], r = {}, i = null;
|
|
22
|
+
function u(l, m) {
|
|
23
|
+
var c = l[m];
|
|
24
|
+
if (typeof c.bind == "function")
|
|
25
|
+
return c.bind(l);
|
|
26
|
+
try {
|
|
27
|
+
return Function.prototype.bind.call(c, l);
|
|
28
|
+
} catch {
|
|
29
|
+
return function() {
|
|
30
|
+
return Function.prototype.apply.apply(c, [l, arguments]);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function d() {
|
|
35
|
+
console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
|
|
36
|
+
}
|
|
37
|
+
function y(l) {
|
|
38
|
+
return l === "debug" && (l = "log"), typeof console === n ? !1 : l === "trace" && o ? d : console[l] !== void 0 ? u(console, l) : console.log !== void 0 ? u(console, "log") : e;
|
|
39
|
+
}
|
|
40
|
+
function p() {
|
|
41
|
+
for (var l = this.getLevel(), m = 0; m < s.length; m++) {
|
|
42
|
+
var c = s[m];
|
|
43
|
+
this[c] = m < l ? e : this.methodFactory(c, l, this.name);
|
|
44
|
+
}
|
|
45
|
+
if (this.log = this.debug, typeof console === n && l < this.levels.SILENT)
|
|
46
|
+
return "No console available for logging";
|
|
47
|
+
}
|
|
48
|
+
function k(l) {
|
|
34
49
|
return function() {
|
|
35
|
-
|
|
50
|
+
typeof console !== n && (p.call(this), this[l].apply(this, arguments));
|
|
36
51
|
};
|
|
37
52
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
|
|
41
|
-
}
|
|
42
|
-
function m(l) {
|
|
43
|
-
return l === "debug" && (l = "log"), typeof console === r ? !1 : l === "trace" && o ? f : console[l] !== void 0 ? u(console, l) : console.log !== void 0 ? u(console, "log") : e;
|
|
44
|
-
}
|
|
45
|
-
function y() {
|
|
46
|
-
for (var l = this.getLevel(), w = 0; w < s.length; w++) {
|
|
47
|
-
var c = s[w];
|
|
48
|
-
this[c] = w < l ? e : this.methodFactory(c, l, this.name);
|
|
53
|
+
function _(l, m, c) {
|
|
54
|
+
return y(l) || k.apply(this, arguments);
|
|
49
55
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
var g = (s[d] || "silent").toUpperCase();
|
|
66
|
-
if (!(typeof window === r || !v)) {
|
|
67
|
-
try {
|
|
68
|
-
window.localStorage[v] = g;
|
|
69
|
-
return;
|
|
70
|
-
} catch {
|
|
71
|
-
}
|
|
72
|
-
try {
|
|
73
|
-
window.document.cookie = encodeURIComponent(v) + "=" + g + ";";
|
|
74
|
-
} catch {
|
|
56
|
+
function f(l, m) {
|
|
57
|
+
var c = this, j, H, L, b = "loglevel";
|
|
58
|
+
typeof l == "string" ? b += ":" + l : typeof l == "symbol" && (b = void 0);
|
|
59
|
+
function Ee(h) {
|
|
60
|
+
var g = (s[h] || "silent").toUpperCase();
|
|
61
|
+
if (!(typeof window === n || !b)) {
|
|
62
|
+
try {
|
|
63
|
+
window.localStorage[b] = g;
|
|
64
|
+
return;
|
|
65
|
+
} catch {
|
|
66
|
+
}
|
|
67
|
+
try {
|
|
68
|
+
window.document.cookie = encodeURIComponent(b) + "=" + g + ";";
|
|
69
|
+
} catch {
|
|
70
|
+
}
|
|
75
71
|
}
|
|
76
72
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if (!(typeof window === r || !v)) {
|
|
81
|
-
try {
|
|
82
|
-
d = window.localStorage[v];
|
|
83
|
-
} catch {
|
|
84
|
-
}
|
|
85
|
-
if (typeof d === r)
|
|
73
|
+
function ee() {
|
|
74
|
+
var h;
|
|
75
|
+
if (!(typeof window === n || !b)) {
|
|
86
76
|
try {
|
|
87
|
-
|
|
88
|
-
ie !== -1 && (d = /^([^;]+)/.exec(
|
|
89
|
-
g.slice(ie + N.length + 1)
|
|
90
|
-
)[1]);
|
|
77
|
+
h = window.localStorage[b];
|
|
91
78
|
} catch {
|
|
92
79
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
if (typeof h === n)
|
|
81
|
+
try {
|
|
82
|
+
var g = window.document.cookie, O = encodeURIComponent(b), ne = g.indexOf(O + "=");
|
|
83
|
+
ne !== -1 && (h = /^([^;]+)/.exec(
|
|
84
|
+
g.slice(ne + O.length + 1)
|
|
85
|
+
)[1]);
|
|
86
|
+
} catch {
|
|
87
|
+
}
|
|
88
|
+
return c.levels[h] === void 0 && (h = void 0), h;
|
|
101
89
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
90
|
+
}
|
|
91
|
+
function Re() {
|
|
92
|
+
if (!(typeof window === n || !b)) {
|
|
93
|
+
try {
|
|
94
|
+
window.localStorage.removeItem(b);
|
|
95
|
+
} catch {
|
|
96
|
+
}
|
|
97
|
+
try {
|
|
98
|
+
window.document.cookie = encodeURIComponent(b) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
|
|
99
|
+
} catch {
|
|
100
|
+
}
|
|
105
101
|
}
|
|
106
102
|
}
|
|
103
|
+
function U(h) {
|
|
104
|
+
var g = h;
|
|
105
|
+
if (typeof g == "string" && c.levels[g.toUpperCase()] !== void 0 && (g = c.levels[g.toUpperCase()]), typeof g == "number" && g >= 0 && g <= c.levels.SILENT)
|
|
106
|
+
return g;
|
|
107
|
+
throw new TypeError("log.setLevel() called with invalid level: " + h);
|
|
108
|
+
}
|
|
109
|
+
c.name = l, c.levels = {
|
|
110
|
+
TRACE: 0,
|
|
111
|
+
DEBUG: 1,
|
|
112
|
+
INFO: 2,
|
|
113
|
+
WARN: 3,
|
|
114
|
+
ERROR: 4,
|
|
115
|
+
SILENT: 5
|
|
116
|
+
}, c.methodFactory = m || _, c.getLevel = function() {
|
|
117
|
+
return L ?? H ?? j;
|
|
118
|
+
}, c.setLevel = function(h, g) {
|
|
119
|
+
return L = U(h), g !== !1 && Ee(L), p.call(c);
|
|
120
|
+
}, c.setDefaultLevel = function(h) {
|
|
121
|
+
H = U(h), ee() || c.setLevel(h, !1);
|
|
122
|
+
}, c.resetLevel = function() {
|
|
123
|
+
L = null, Re(), p.call(c);
|
|
124
|
+
}, c.enableAll = function(h) {
|
|
125
|
+
c.setLevel(c.levels.TRACE, h);
|
|
126
|
+
}, c.disableAll = function(h) {
|
|
127
|
+
c.setLevel(c.levels.SILENT, h);
|
|
128
|
+
}, c.rebuild = function() {
|
|
129
|
+
if (i !== c && (j = U(i.getLevel())), p.call(c), i === c)
|
|
130
|
+
for (var h in r)
|
|
131
|
+
r[h].rebuild();
|
|
132
|
+
}, j = U(
|
|
133
|
+
i ? i.getLevel() : "WARN"
|
|
134
|
+
);
|
|
135
|
+
var te = ee();
|
|
136
|
+
te != null && (L = U(te)), p.call(c);
|
|
107
137
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}, c.disableAll = function(d) {
|
|
132
|
-
c.setLevel(c.levels.SILENT, d);
|
|
133
|
-
}, c.rebuild = function() {
|
|
134
|
-
if (i !== c && (O = L(i.getLevel())), y.call(c), i === c)
|
|
135
|
-
for (var d in n)
|
|
136
|
-
n[d].rebuild();
|
|
137
|
-
}, O = L(
|
|
138
|
-
i ? i.getLevel() : "WARN"
|
|
139
|
-
);
|
|
140
|
-
var oe = ne();
|
|
141
|
-
oe != null && (x = L(oe)), y.call(c);
|
|
142
|
-
}
|
|
143
|
-
i = new R(), i.getLogger = function(w) {
|
|
144
|
-
if (typeof w != "symbol" && typeof w != "string" || w === "")
|
|
145
|
-
throw new TypeError("You must supply a name when creating a logger.");
|
|
146
|
-
var c = n[w];
|
|
147
|
-
return c || (c = n[w] = new R(
|
|
148
|
-
w,
|
|
149
|
-
i.methodFactory
|
|
150
|
-
)), c;
|
|
151
|
-
};
|
|
152
|
-
var P = typeof window !== r ? window.log : void 0;
|
|
153
|
-
return i.noConflict = function() {
|
|
154
|
-
return typeof window !== r && window.log === i && (window.log = P), i;
|
|
155
|
-
}, i.getLoggers = function() {
|
|
156
|
-
return n;
|
|
157
|
-
}, i.default = i, i;
|
|
158
|
-
});
|
|
159
|
-
})(fe);
|
|
160
|
-
var $e = fe.exports;
|
|
161
|
-
const K = /* @__PURE__ */ Ie($e);
|
|
162
|
-
let Y;
|
|
163
|
-
var D, he;
|
|
164
|
-
(typeof navigator > "u" || !((he = (D = navigator.userAgent) == null ? void 0 : D.startsWith) != null && he.call(D, "Mozilla/5.0 "))) && (Y = "oauth4webapi/v2.11.1");
|
|
165
|
-
function Q(t, e) {
|
|
138
|
+
i = new f(), i.getLogger = function(m) {
|
|
139
|
+
if (typeof m != "symbol" && typeof m != "string" || m === "")
|
|
140
|
+
throw new TypeError("You must supply a name when creating a logger.");
|
|
141
|
+
var c = r[m];
|
|
142
|
+
return c || (c = r[m] = new f(
|
|
143
|
+
m,
|
|
144
|
+
i.methodFactory
|
|
145
|
+
)), c;
|
|
146
|
+
};
|
|
147
|
+
var P = typeof window !== n ? window.log : void 0;
|
|
148
|
+
return i.noConflict = function() {
|
|
149
|
+
return typeof window !== n && window.log === i && (window.log = P), i;
|
|
150
|
+
}, i.getLoggers = function() {
|
|
151
|
+
return r;
|
|
152
|
+
}, i.default = i, i;
|
|
153
|
+
});
|
|
154
|
+
})(J)), J.exports;
|
|
155
|
+
}
|
|
156
|
+
var ze = Je();
|
|
157
|
+
const ie = /* @__PURE__ */ Le(ze);
|
|
158
|
+
let B;
|
|
159
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (B = "oauth4webapi/v2.17.0");
|
|
160
|
+
function V(t, e) {
|
|
166
161
|
if (t == null)
|
|
167
162
|
return !1;
|
|
168
163
|
try {
|
|
@@ -171,98 +166,96 @@ function Q(t, e) {
|
|
|
171
166
|
return !1;
|
|
172
167
|
}
|
|
173
168
|
}
|
|
174
|
-
const
|
|
175
|
-
function
|
|
176
|
-
return typeof t == "string" ?
|
|
169
|
+
const N = Symbol(), Ne = Symbol(), G = Symbol(), We = Symbol(), Ke = Symbol(), He = Symbol(), $e = new TextEncoder(), Fe = new TextDecoder();
|
|
170
|
+
function E(t) {
|
|
171
|
+
return typeof t == "string" ? $e.encode(t) : Fe.decode(t);
|
|
177
172
|
}
|
|
178
173
|
const se = 32768;
|
|
179
|
-
function
|
|
174
|
+
function Me(t) {
|
|
180
175
|
t instanceof ArrayBuffer && (t = new Uint8Array(t));
|
|
181
176
|
const e = [];
|
|
182
|
-
for (let
|
|
183
|
-
e.push(String.fromCharCode.apply(null, t.subarray(
|
|
177
|
+
for (let n = 0; n < t.byteLength; n += se)
|
|
178
|
+
e.push(String.fromCharCode.apply(null, t.subarray(n, n + se)));
|
|
184
179
|
return btoa(e.join("")).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
|
|
185
180
|
}
|
|
186
|
-
function
|
|
181
|
+
function Be(t) {
|
|
187
182
|
try {
|
|
188
|
-
const e = atob(t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "")),
|
|
183
|
+
const e = atob(t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "")), n = new Uint8Array(e.length);
|
|
189
184
|
for (let o = 0; o < e.length; o++)
|
|
190
|
-
|
|
191
|
-
return
|
|
185
|
+
n[o] = e.charCodeAt(o);
|
|
186
|
+
return n;
|
|
192
187
|
} catch (e) {
|
|
193
188
|
throw new a("The input to be decoded is not correctly encoded.", { cause: e });
|
|
194
189
|
}
|
|
195
190
|
}
|
|
196
|
-
function
|
|
197
|
-
return typeof t == "string" ?
|
|
191
|
+
function A(t) {
|
|
192
|
+
return typeof t == "string" ? Be(t) : Me(t);
|
|
198
193
|
}
|
|
199
|
-
class
|
|
194
|
+
class qe {
|
|
200
195
|
constructor(e) {
|
|
201
196
|
this.cache = /* @__PURE__ */ new Map(), this._cache = /* @__PURE__ */ new Map(), this.maxSize = e;
|
|
202
197
|
}
|
|
203
198
|
get(e) {
|
|
204
|
-
let
|
|
205
|
-
if (
|
|
206
|
-
return
|
|
207
|
-
if (
|
|
208
|
-
return this.update(e,
|
|
199
|
+
let n = this.cache.get(e);
|
|
200
|
+
if (n)
|
|
201
|
+
return n;
|
|
202
|
+
if (n = this._cache.get(e))
|
|
203
|
+
return this.update(e, n), n;
|
|
209
204
|
}
|
|
210
205
|
has(e) {
|
|
211
206
|
return this.cache.has(e) || this._cache.has(e);
|
|
212
207
|
}
|
|
213
|
-
set(e,
|
|
214
|
-
return this.cache.has(e) ? this.cache.set(e,
|
|
208
|
+
set(e, n) {
|
|
209
|
+
return this.cache.has(e) ? this.cache.set(e, n) : this.update(e, n), this;
|
|
215
210
|
}
|
|
216
211
|
delete(e) {
|
|
217
212
|
return this.cache.has(e) ? this.cache.delete(e) : this._cache.has(e) ? this._cache.delete(e) : !1;
|
|
218
213
|
}
|
|
219
|
-
update(e,
|
|
220
|
-
this.cache.set(e,
|
|
214
|
+
update(e, n) {
|
|
215
|
+
this.cache.set(e, n), this.cache.size >= this.maxSize && (this._cache = this.cache, this.cache = /* @__PURE__ */ new Map());
|
|
221
216
|
}
|
|
222
217
|
}
|
|
223
|
-
class
|
|
218
|
+
class v extends Error {
|
|
224
219
|
constructor(e) {
|
|
225
|
-
|
|
226
|
-
super(e ?? "operation not supported"), this.name = this.constructor.name, (r = Error.captureStackTrace) == null || r.call(Error, this, this.constructor);
|
|
220
|
+
super(e ?? "operation not supported"), this.name = this.constructor.name, Error.captureStackTrace?.(this, this.constructor);
|
|
227
221
|
}
|
|
228
222
|
}
|
|
229
|
-
class
|
|
230
|
-
constructor(e,
|
|
231
|
-
|
|
232
|
-
super(e, r), this.name = this.constructor.name, (o = Error.captureStackTrace) == null || o.call(Error, this, this.constructor);
|
|
223
|
+
class Ve extends Error {
|
|
224
|
+
constructor(e, n) {
|
|
225
|
+
super(e, n), this.name = this.constructor.name, Error.captureStackTrace?.(this, this.constructor);
|
|
233
226
|
}
|
|
234
227
|
}
|
|
235
|
-
const a =
|
|
236
|
-
function
|
|
228
|
+
const a = Ve, we = new qe(100);
|
|
229
|
+
function me(t) {
|
|
237
230
|
return t instanceof CryptoKey;
|
|
238
231
|
}
|
|
239
|
-
function
|
|
240
|
-
return
|
|
232
|
+
function Ge(t) {
|
|
233
|
+
return me(t) && t.type === "private";
|
|
241
234
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
235
|
+
function Ye(t) {
|
|
236
|
+
return me(t) && t.type === "public";
|
|
244
237
|
}
|
|
245
|
-
function
|
|
238
|
+
function Y(t) {
|
|
246
239
|
try {
|
|
247
240
|
const e = t.headers.get("dpop-nonce");
|
|
248
|
-
e &&
|
|
241
|
+
e && we.set(new URL(t.url).origin, e);
|
|
249
242
|
} catch {
|
|
250
243
|
}
|
|
251
244
|
return t;
|
|
252
245
|
}
|
|
253
|
-
function
|
|
246
|
+
function x(t) {
|
|
254
247
|
return !(t === null || typeof t != "object" || Array.isArray(t));
|
|
255
248
|
}
|
|
256
|
-
function
|
|
257
|
-
|
|
249
|
+
function W(t) {
|
|
250
|
+
V(t, Headers) && (t = Object.fromEntries(t.entries()));
|
|
258
251
|
const e = new Headers(t);
|
|
259
|
-
if (
|
|
252
|
+
if (B && !e.has("user-agent") && e.set("user-agent", B), e.has("authorization"))
|
|
260
253
|
throw new TypeError('"options.headers" must not include the "authorization" header name');
|
|
261
254
|
if (e.has("dpop"))
|
|
262
255
|
throw new TypeError('"options.headers" must not include the "dpop" header name');
|
|
263
256
|
return e;
|
|
264
257
|
}
|
|
265
|
-
function
|
|
258
|
+
function Ze(t) {
|
|
266
259
|
if (typeof t == "function" && (t = t()), !(t instanceof AbortSignal))
|
|
267
260
|
throw new TypeError('"options.signal" must return or be an instance of AbortSignal');
|
|
268
261
|
return t;
|
|
@@ -272,82 +265,73 @@ async function Qe(t, e) {
|
|
|
272
265
|
throw new TypeError('"issuerIdentifier" must be an instance of URL');
|
|
273
266
|
if (t.protocol !== "https:" && t.protocol !== "http:")
|
|
274
267
|
throw new TypeError('"issuer.protocol" must be "https:" or "http:"');
|
|
275
|
-
const
|
|
276
|
-
switch (e
|
|
268
|
+
const n = new URL(t.href);
|
|
269
|
+
switch (e?.algorithm) {
|
|
277
270
|
case void 0:
|
|
278
271
|
case "oidc":
|
|
279
|
-
|
|
272
|
+
n.pathname = `${n.pathname}/.well-known/openid-configuration`.replace("//", "/");
|
|
280
273
|
break;
|
|
281
274
|
case "oauth2":
|
|
282
|
-
|
|
275
|
+
n.pathname === "/" ? n.pathname = ".well-known/oauth-authorization-server" : n.pathname = `.well-known/oauth-authorization-server/${n.pathname}`.replace("//", "/");
|
|
283
276
|
break;
|
|
284
277
|
default:
|
|
285
278
|
throw new TypeError('"options.algorithm" must be "oidc" (default), or "oauth2"');
|
|
286
279
|
}
|
|
287
|
-
const o =
|
|
288
|
-
return o.set("accept", "application/json"), (
|
|
280
|
+
const o = W(e?.headers);
|
|
281
|
+
return o.set("accept", "application/json"), (e?.[G] || fetch)(n.href, {
|
|
289
282
|
headers: Object.fromEntries(o.entries()),
|
|
290
283
|
method: "GET",
|
|
291
284
|
redirect: "manual",
|
|
292
|
-
signal:
|
|
293
|
-
}).then(
|
|
285
|
+
signal: null
|
|
286
|
+
}).then(Y);
|
|
294
287
|
}
|
|
295
|
-
function
|
|
288
|
+
function w(t) {
|
|
296
289
|
return typeof t == "string" && t.length !== 0;
|
|
297
290
|
}
|
|
298
291
|
async function Xe(t, e) {
|
|
299
292
|
if (!(t instanceof URL))
|
|
300
293
|
throw new TypeError('"expectedIssuer" must be an instance of URL');
|
|
301
|
-
if (!
|
|
294
|
+
if (!V(e, Response))
|
|
302
295
|
throw new TypeError('"response" must be an instance of Response');
|
|
303
296
|
if (e.status !== 200)
|
|
304
297
|
throw new a('"response" is not a conform Authorization Server Metadata response');
|
|
305
|
-
|
|
306
|
-
let
|
|
298
|
+
X(e);
|
|
299
|
+
let n;
|
|
307
300
|
try {
|
|
308
|
-
|
|
301
|
+
n = await e.json();
|
|
309
302
|
} catch (o) {
|
|
310
303
|
throw new a('failed to parse "response" body as JSON', { cause: o });
|
|
311
304
|
}
|
|
312
|
-
if (!
|
|
305
|
+
if (!x(n))
|
|
313
306
|
throw new a('"response" body must be a top level object');
|
|
314
|
-
if (!
|
|
307
|
+
if (!w(n.issuer))
|
|
315
308
|
throw new a('"response" body "issuer" property must be a non-empty string');
|
|
316
|
-
if (new URL(
|
|
309
|
+
if (new URL(n.issuer).href !== t.href)
|
|
317
310
|
throw new a('"response" body "issuer" does not match "expectedIssuer"');
|
|
318
|
-
return
|
|
311
|
+
return n;
|
|
319
312
|
}
|
|
320
|
-
function
|
|
321
|
-
return
|
|
313
|
+
function Z() {
|
|
314
|
+
return A(crypto.getRandomValues(new Uint8Array(32)));
|
|
322
315
|
}
|
|
323
316
|
function et() {
|
|
324
|
-
return
|
|
317
|
+
return Z();
|
|
325
318
|
}
|
|
326
319
|
function tt() {
|
|
327
|
-
return
|
|
320
|
+
return Z();
|
|
328
321
|
}
|
|
329
|
-
async function
|
|
330
|
-
if (!
|
|
322
|
+
async function nt(t) {
|
|
323
|
+
if (!w(t))
|
|
331
324
|
throw new TypeError('"codeVerifier" must be a non-empty string');
|
|
332
|
-
return
|
|
333
|
-
}
|
|
334
|
-
function nt(t) {
|
|
335
|
-
if (t instanceof CryptoKey)
|
|
336
|
-
return { key: t };
|
|
337
|
-
if (!((t == null ? void 0 : t.key) instanceof CryptoKey))
|
|
338
|
-
return {};
|
|
339
|
-
if (t.kid !== void 0 && !p(t.kid))
|
|
340
|
-
throw new TypeError('"kid" must be a non-empty string');
|
|
341
|
-
return { key: t.key, kid: t.kid };
|
|
325
|
+
return A(await crypto.subtle.digest("SHA-256", E(t)));
|
|
342
326
|
}
|
|
343
327
|
function ae(t) {
|
|
344
328
|
return encodeURIComponent(t).replace(/%20/g, "+");
|
|
345
329
|
}
|
|
346
|
-
function
|
|
347
|
-
const
|
|
348
|
-
return `Basic ${btoa(`${
|
|
330
|
+
function rt(t, e) {
|
|
331
|
+
const n = ae(t), o = ae(e);
|
|
332
|
+
return `Basic ${btoa(`${n}:${o}`)}`;
|
|
349
333
|
}
|
|
350
|
-
function
|
|
334
|
+
function ot(t) {
|
|
351
335
|
switch (t.algorithm.hash.name) {
|
|
352
336
|
case "SHA-256":
|
|
353
337
|
return "PS256";
|
|
@@ -356,10 +340,10 @@ function it(t) {
|
|
|
356
340
|
case "SHA-512":
|
|
357
341
|
return "PS512";
|
|
358
342
|
default:
|
|
359
|
-
throw new
|
|
343
|
+
throw new v("unsupported RsaHashedKeyAlgorithm hash name");
|
|
360
344
|
}
|
|
361
345
|
}
|
|
362
|
-
function
|
|
346
|
+
function it(t) {
|
|
363
347
|
switch (t.algorithm.hash.name) {
|
|
364
348
|
case "SHA-256":
|
|
365
349
|
return "RS256";
|
|
@@ -368,10 +352,10 @@ function st(t) {
|
|
|
368
352
|
case "SHA-512":
|
|
369
353
|
return "RS512";
|
|
370
354
|
default:
|
|
371
|
-
throw new
|
|
355
|
+
throw new v("unsupported RsaHashedKeyAlgorithm hash name");
|
|
372
356
|
}
|
|
373
357
|
}
|
|
374
|
-
function
|
|
358
|
+
function st(t) {
|
|
375
359
|
switch (t.algorithm.namedCurve) {
|
|
376
360
|
case "P-256":
|
|
377
361
|
return "ES256";
|
|
@@ -380,259 +364,237 @@ function at(t) {
|
|
|
380
364
|
case "P-521":
|
|
381
365
|
return "ES512";
|
|
382
366
|
default:
|
|
383
|
-
throw new
|
|
367
|
+
throw new v("unsupported EcKeyAlgorithm namedCurve");
|
|
384
368
|
}
|
|
385
369
|
}
|
|
386
|
-
function
|
|
370
|
+
function at(t) {
|
|
387
371
|
switch (t.algorithm.name) {
|
|
388
372
|
case "RSA-PSS":
|
|
389
|
-
return
|
|
373
|
+
return ot(t);
|
|
390
374
|
case "RSASSA-PKCS1-v1_5":
|
|
391
|
-
return
|
|
375
|
+
return it(t);
|
|
392
376
|
case "ECDSA":
|
|
393
|
-
return
|
|
377
|
+
return st(t);
|
|
394
378
|
case "Ed25519":
|
|
395
379
|
case "Ed448":
|
|
396
380
|
return "EdDSA";
|
|
397
381
|
default:
|
|
398
|
-
throw new
|
|
382
|
+
throw new v("unsupported CryptoKey algorithm name");
|
|
399
383
|
}
|
|
400
384
|
}
|
|
401
|
-
function
|
|
402
|
-
const e = t
|
|
385
|
+
function K(t) {
|
|
386
|
+
const e = t?.[N];
|
|
403
387
|
return typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
404
388
|
}
|
|
405
|
-
function
|
|
406
|
-
const e = t
|
|
389
|
+
function ge(t) {
|
|
390
|
+
const e = t?.[Ne];
|
|
407
391
|
return typeof e == "number" && Number.isFinite(e) && Math.sign(e) !== -1 ? e : 30;
|
|
408
392
|
}
|
|
409
|
-
function
|
|
393
|
+
function Q() {
|
|
410
394
|
return Math.floor(Date.now() / 1e3);
|
|
411
395
|
}
|
|
412
|
-
function
|
|
413
|
-
const r = M() + I(e);
|
|
414
|
-
return {
|
|
415
|
-
jti: F(),
|
|
416
|
-
aud: [t.issuer, t.token_endpoint],
|
|
417
|
-
exp: r + 60,
|
|
418
|
-
iat: r,
|
|
419
|
-
nbf: r,
|
|
420
|
-
iss: e.client_id,
|
|
421
|
-
sub: e.client_id
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
async function ut(t, e, r, o) {
|
|
425
|
-
return be({
|
|
426
|
-
alg: me(r),
|
|
427
|
-
kid: o
|
|
428
|
-
}, ct(t, e), r);
|
|
429
|
-
}
|
|
430
|
-
function j(t) {
|
|
396
|
+
function C(t) {
|
|
431
397
|
if (typeof t != "object" || t === null)
|
|
432
398
|
throw new TypeError('"as" must be an object');
|
|
433
|
-
if (!
|
|
399
|
+
if (!w(t.issuer))
|
|
434
400
|
throw new TypeError('"as.issuer" property must be a non-empty string');
|
|
435
401
|
return !0;
|
|
436
402
|
}
|
|
437
|
-
function
|
|
403
|
+
function I(t) {
|
|
438
404
|
if (typeof t != "object" || t === null)
|
|
439
405
|
throw new TypeError('"client" must be an object');
|
|
440
|
-
if (!
|
|
406
|
+
if (!w(t.client_id))
|
|
441
407
|
throw new TypeError('"client.client_id" property must be a non-empty string');
|
|
442
408
|
return !0;
|
|
443
409
|
}
|
|
444
410
|
function ce(t) {
|
|
445
|
-
if (!
|
|
411
|
+
if (!w(t))
|
|
446
412
|
throw new TypeError('"client.client_secret" property must be a non-empty string');
|
|
447
413
|
return t;
|
|
448
414
|
}
|
|
449
|
-
function q(t, e) {
|
|
450
|
-
if (e !== void 0)
|
|
451
|
-
throw new TypeError(`"options.clientPrivateKey" property must not be provided when ${t} client authentication method is used.`);
|
|
452
|
-
}
|
|
453
415
|
function ue(t, e) {
|
|
454
416
|
if (e !== void 0)
|
|
455
417
|
throw new TypeError(`"client.client_secret" property must not be provided when ${t} client authentication method is used.`);
|
|
456
418
|
}
|
|
457
|
-
async function
|
|
458
|
-
switch (
|
|
419
|
+
async function ct(t, e, n, o, s) {
|
|
420
|
+
switch (n.delete("client_secret"), n.delete("client_assertion_type"), n.delete("client_assertion"), e.token_endpoint_auth_method) {
|
|
459
421
|
case void 0:
|
|
460
422
|
case "client_secret_basic": {
|
|
461
|
-
|
|
423
|
+
o.set("authorization", rt(e.client_id, ce(e.client_secret)));
|
|
462
424
|
break;
|
|
463
425
|
}
|
|
464
426
|
case "client_secret_post": {
|
|
465
|
-
|
|
466
|
-
break;
|
|
467
|
-
}
|
|
468
|
-
case "private_key_jwt": {
|
|
469
|
-
if (ue("private_key_jwt", e.client_secret), s === void 0)
|
|
470
|
-
throw new TypeError('"options.clientPrivateKey" must be provided when "client.token_endpoint_auth_method" is "private_key_jwt"');
|
|
471
|
-
const { key: n, kid: i } = nt(s);
|
|
472
|
-
if (!ge(n))
|
|
473
|
-
throw new TypeError('"options.clientPrivateKey.key" must be a private CryptoKey');
|
|
474
|
-
r.set("client_id", e.client_id), r.set("client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"), r.set("client_assertion", await ut(t, e, n, i));
|
|
427
|
+
n.set("client_id", e.client_id), n.set("client_secret", ce(e.client_secret));
|
|
475
428
|
break;
|
|
476
429
|
}
|
|
430
|
+
case "private_key_jwt":
|
|
431
|
+
throw ue("private_key_jwt", e.client_secret), new TypeError('"options.clientPrivateKey" must be provided when "client.token_endpoint_auth_method" is "private_key_jwt"');
|
|
477
432
|
case "tls_client_auth":
|
|
478
433
|
case "self_signed_tls_client_auth":
|
|
479
434
|
case "none": {
|
|
480
|
-
ue(e.token_endpoint_auth_method, e.client_secret),
|
|
435
|
+
ue(e.token_endpoint_auth_method, e.client_secret), e.token_endpoint_auth_method, n.set("client_id", e.client_id);
|
|
481
436
|
break;
|
|
482
437
|
}
|
|
483
438
|
default:
|
|
484
|
-
throw new
|
|
439
|
+
throw new v("unsupported client token_endpoint_auth_method");
|
|
485
440
|
}
|
|
486
441
|
}
|
|
487
|
-
async function
|
|
488
|
-
if (!
|
|
442
|
+
async function ut(t, e, n) {
|
|
443
|
+
if (!n.usages.includes("sign"))
|
|
489
444
|
throw new TypeError('CryptoKey instances used for signing assertions must include "sign" in their "usages"');
|
|
490
|
-
const o = `${
|
|
445
|
+
const o = `${A(E(JSON.stringify(t)))}.${A(E(JSON.stringify(e)))}`, s = A(await crypto.subtle.sign(Ae(n), n, E(o)));
|
|
491
446
|
return `${o}.${s}`;
|
|
492
447
|
}
|
|
493
|
-
async function
|
|
494
|
-
const { privateKey: i, publicKey: u, nonce:
|
|
495
|
-
if (!
|
|
448
|
+
async function lt(t, e, n, o, s, r) {
|
|
449
|
+
const { privateKey: i, publicKey: u, nonce: d = we.get(n.origin) } = e;
|
|
450
|
+
if (!Ge(i))
|
|
496
451
|
throw new TypeError('"DPoP.privateKey" must be a private CryptoKey');
|
|
497
|
-
if (!
|
|
452
|
+
if (!Ye(u))
|
|
498
453
|
throw new TypeError('"DPoP.publicKey" must be a public CryptoKey');
|
|
499
|
-
if (
|
|
454
|
+
if (d !== void 0 && !w(d))
|
|
500
455
|
throw new TypeError('"DPoP.nonce" must be a non-empty string or undefined');
|
|
501
456
|
if (!u.extractable)
|
|
502
457
|
throw new TypeError('"DPoP.publicKey.extractable" must be true');
|
|
503
|
-
const
|
|
504
|
-
alg:
|
|
458
|
+
const y = Q() + s, p = {
|
|
459
|
+
alg: at(i),
|
|
505
460
|
typ: "dpop+jwt",
|
|
506
|
-
jwk: await
|
|
507
|
-
}, {
|
|
508
|
-
iat:
|
|
509
|
-
jti:
|
|
461
|
+
jwk: await ht(u)
|
|
462
|
+
}, k = {
|
|
463
|
+
iat: y,
|
|
464
|
+
jti: Z(),
|
|
510
465
|
htm: o,
|
|
511
|
-
nonce:
|
|
512
|
-
htu: `${
|
|
513
|
-
ath:
|
|
514
|
-
}
|
|
515
|
-
t.set("dpop",
|
|
466
|
+
nonce: d,
|
|
467
|
+
htu: `${n.origin}${n.pathname}`,
|
|
468
|
+
ath: r ? A(await crypto.subtle.digest("SHA-256", E(r))) : void 0
|
|
469
|
+
};
|
|
470
|
+
e[We]?.(p, k), t.set("dpop", await ut(p, k, i));
|
|
516
471
|
}
|
|
517
|
-
let
|
|
518
|
-
async function
|
|
519
|
-
const { kty: e, e:
|
|
520
|
-
return
|
|
472
|
+
let z;
|
|
473
|
+
async function dt(t) {
|
|
474
|
+
const { kty: e, e: n, n: o, x: s, y: r, crv: i } = await crypto.subtle.exportKey("jwk", t), u = { kty: e, e: n, n: o, x: s, y: r, crv: i };
|
|
475
|
+
return z.set(t, u), u;
|
|
521
476
|
}
|
|
522
|
-
async function
|
|
523
|
-
return
|
|
477
|
+
async function ht(t) {
|
|
478
|
+
return z || (z = /* @__PURE__ */ new WeakMap()), z.get(t) || dt(t);
|
|
524
479
|
}
|
|
525
|
-
function
|
|
480
|
+
function le(t, e, n) {
|
|
526
481
|
if (typeof t != "string")
|
|
527
|
-
throw new TypeError(`"as.${e}" must be a string`);
|
|
482
|
+
throw n ? new TypeError(`"as.mtls_endpoint_aliases.${e}" must be a string`) : new TypeError(`"as.${e}" must be a string`);
|
|
528
483
|
return new URL(t);
|
|
529
484
|
}
|
|
530
|
-
function
|
|
531
|
-
return
|
|
485
|
+
function ye(t, e, n = !1) {
|
|
486
|
+
return n && t.mtls_endpoint_aliases && e in t.mtls_endpoint_aliases ? le(t.mtls_endpoint_aliases[e], e, n) : le(t[e], e, n);
|
|
487
|
+
}
|
|
488
|
+
function _e(t, e) {
|
|
489
|
+
return !!(t.use_mtls_endpoint_aliases || e?.[He]);
|
|
532
490
|
}
|
|
533
|
-
function
|
|
491
|
+
function q(t) {
|
|
534
492
|
const e = t;
|
|
535
493
|
return typeof e != "object" || Array.isArray(e) || e === null ? !1 : e.error !== void 0;
|
|
536
494
|
}
|
|
537
|
-
async function
|
|
538
|
-
if (!
|
|
495
|
+
async function ft(t, e, n, o, s, r) {
|
|
496
|
+
if (!w(t))
|
|
539
497
|
throw new TypeError('"accessToken" must be a non-empty string');
|
|
540
|
-
if (!(
|
|
498
|
+
if (!(n instanceof URL))
|
|
541
499
|
throw new TypeError('"url" must be an instance of URL');
|
|
542
|
-
return o =
|
|
500
|
+
return o = W(o), r?.DPoP === void 0 ? o.set("authorization", `Bearer ${t}`) : (await lt(o, r.DPoP, n, e.toUpperCase(), K({ [N]: r?.[N] }), t), o.set("authorization", `DPoP ${t}`)), (r?.[G] || fetch)(n.href, {
|
|
543
501
|
body: s,
|
|
544
502
|
headers: Object.fromEntries(o.entries()),
|
|
545
503
|
method: e,
|
|
546
504
|
redirect: "manual",
|
|
547
|
-
signal:
|
|
548
|
-
}).then(
|
|
505
|
+
signal: r?.signal ? Ze(r.signal) : null
|
|
506
|
+
}).then(Y);
|
|
549
507
|
}
|
|
550
|
-
async function
|
|
551
|
-
|
|
552
|
-
const s =
|
|
553
|
-
return e.userinfo_signed_response_alg ?
|
|
508
|
+
async function pt(t, e, n, o) {
|
|
509
|
+
C(t), I(e);
|
|
510
|
+
const s = ye(t, "userinfo_endpoint", _e(e, o)), r = W(o?.headers);
|
|
511
|
+
return e.userinfo_signed_response_alg ? r.set("accept", "application/jwt") : (r.set("accept", "application/json"), r.append("accept", "application/jwt")), ft(n, "GET", s, r, null, {
|
|
554
512
|
...o,
|
|
555
|
-
[
|
|
513
|
+
[N]: K(e)
|
|
556
514
|
});
|
|
557
515
|
}
|
|
558
|
-
async function
|
|
559
|
-
return await
|
|
516
|
+
async function wt(t, e, n, o, s, r, i) {
|
|
517
|
+
return await ct(t, e, s, r), r.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"), (i?.[G] || fetch)(o.href, {
|
|
560
518
|
body: s,
|
|
561
|
-
headers: Object.fromEntries(
|
|
562
|
-
method:
|
|
519
|
+
headers: Object.fromEntries(r.entries()),
|
|
520
|
+
method: n,
|
|
563
521
|
redirect: "manual",
|
|
564
|
-
signal:
|
|
565
|
-
}).then(
|
|
522
|
+
signal: null
|
|
523
|
+
}).then(Y);
|
|
566
524
|
}
|
|
567
|
-
async function
|
|
568
|
-
const
|
|
569
|
-
o.set("grant_type",
|
|
570
|
-
const i =
|
|
571
|
-
return i.set("accept", "application/json"),
|
|
525
|
+
async function be(t, e, n, o, s) {
|
|
526
|
+
const r = ye(t, "token_endpoint", _e(e, s));
|
|
527
|
+
o.set("grant_type", n);
|
|
528
|
+
const i = W(s?.headers);
|
|
529
|
+
return i.set("accept", "application/json"), wt(t, e, "POST", r, o, i, s);
|
|
572
530
|
}
|
|
573
|
-
async function
|
|
574
|
-
if (
|
|
531
|
+
async function de(t, e, n, o) {
|
|
532
|
+
if (C(t), I(e), !w(n))
|
|
575
533
|
throw new TypeError('"refreshToken" must be a non-empty string');
|
|
576
|
-
const s = new URLSearchParams(o
|
|
577
|
-
return s.set("refresh_token",
|
|
534
|
+
const s = new URLSearchParams(o?.additionalParameters);
|
|
535
|
+
return s.set("refresh_token", n), be(t, e, "refresh_token", s, o);
|
|
578
536
|
}
|
|
579
|
-
const
|
|
580
|
-
function
|
|
537
|
+
const ve = /* @__PURE__ */ new WeakMap();
|
|
538
|
+
function mt(t) {
|
|
581
539
|
if (!t.id_token)
|
|
582
540
|
return;
|
|
583
|
-
const e =
|
|
541
|
+
const e = ve.get(t);
|
|
584
542
|
if (!e)
|
|
585
543
|
throw new TypeError('"ref" was already garbage collected or did not resolve from the proper sources');
|
|
586
|
-
return e;
|
|
544
|
+
return e[0];
|
|
587
545
|
}
|
|
588
|
-
async function
|
|
589
|
-
if (
|
|
546
|
+
async function Se(t, e, n, o = !1, s = !1) {
|
|
547
|
+
if (C(t), I(e), !V(n, Response))
|
|
590
548
|
throw new TypeError('"response" must be an instance of Response');
|
|
591
|
-
if (
|
|
549
|
+
if (n.status !== 200) {
|
|
592
550
|
let i;
|
|
593
|
-
if (i = await
|
|
551
|
+
if (i = await kt(n))
|
|
594
552
|
return i;
|
|
595
553
|
throw new a('"response" is not a conform Token Endpoint response');
|
|
596
554
|
}
|
|
597
|
-
|
|
598
|
-
let
|
|
555
|
+
X(n);
|
|
556
|
+
let r;
|
|
599
557
|
try {
|
|
600
|
-
|
|
558
|
+
r = await n.json();
|
|
601
559
|
} catch (i) {
|
|
602
560
|
throw new a('failed to parse "response" body as JSON', { cause: i });
|
|
603
561
|
}
|
|
604
|
-
if (!
|
|
562
|
+
if (!x(r))
|
|
605
563
|
throw new a('"response" body must be a top level object');
|
|
606
|
-
if (!
|
|
564
|
+
if (!w(r.access_token))
|
|
607
565
|
throw new a('"response" body "access_token" property must be a non-empty string');
|
|
608
|
-
if (!
|
|
566
|
+
if (!w(r.token_type))
|
|
609
567
|
throw new a('"response" body "token_type" property must be a non-empty string');
|
|
610
|
-
if (
|
|
611
|
-
throw new
|
|
612
|
-
if (
|
|
568
|
+
if (r.token_type = r.token_type.toLowerCase(), r.token_type !== "dpop" && r.token_type !== "bearer")
|
|
569
|
+
throw new v("unsupported `token_type` value");
|
|
570
|
+
if (r.expires_in !== void 0 && (typeof r.expires_in != "number" || r.expires_in <= 0))
|
|
613
571
|
throw new a('"response" body "expires_in" property must be a positive number');
|
|
614
|
-
if (!s &&
|
|
572
|
+
if (!s && r.refresh_token !== void 0 && !w(r.refresh_token))
|
|
615
573
|
throw new a('"response" body "refresh_token" property must be a non-empty string');
|
|
616
|
-
if (
|
|
574
|
+
if (r.scope !== void 0 && typeof r.scope != "string")
|
|
617
575
|
throw new a('"response" body "scope" property must be a string');
|
|
618
576
|
if (!o) {
|
|
619
|
-
if (
|
|
577
|
+
if (r.id_token !== void 0 && !w(r.id_token))
|
|
620
578
|
throw new a('"response" body "id_token" property must be a non-empty string');
|
|
621
|
-
if (
|
|
622
|
-
const { claims: i } = await
|
|
623
|
-
if (Array.isArray(i.aud) && i.aud.length !== 1
|
|
624
|
-
|
|
579
|
+
if (r.id_token) {
|
|
580
|
+
const { claims: i, jwt: u } = await Pt(r.id_token, Lt.bind(void 0, e.id_token_signed_response_alg, t.id_token_signing_alg_values_supported), ke, K(e), ge(e), e[Ke]).then(St.bind(void 0, ["aud", "exp", "iat", "iss", "sub"])).then(yt.bind(void 0, t.issuer)).then(gt.bind(void 0, e.client_id));
|
|
581
|
+
if (Array.isArray(i.aud) && i.aud.length !== 1) {
|
|
582
|
+
if (i.azp === void 0)
|
|
583
|
+
throw new a('ID Token "aud" (audience) claim includes additional untrusted audiences');
|
|
584
|
+
if (i.azp !== e.client_id)
|
|
585
|
+
throw new a('unexpected ID Token "azp" (authorized party) claim value');
|
|
586
|
+
}
|
|
625
587
|
if (i.auth_time !== void 0 && (!Number.isFinite(i.auth_time) || Math.sign(i.auth_time) !== 1))
|
|
626
588
|
throw new a('ID Token "auth_time" (authentication time) must be a positive number');
|
|
627
|
-
|
|
589
|
+
ve.set(r, [i, u]);
|
|
628
590
|
}
|
|
629
591
|
}
|
|
630
|
-
return
|
|
592
|
+
return r;
|
|
631
593
|
}
|
|
632
|
-
async function
|
|
633
|
-
return
|
|
594
|
+
async function he(t, e, n) {
|
|
595
|
+
return Se(t, e, n);
|
|
634
596
|
}
|
|
635
|
-
function
|
|
597
|
+
function gt(t, e) {
|
|
636
598
|
if (Array.isArray(e.claims.aud)) {
|
|
637
599
|
if (!e.claims.aud.includes(t))
|
|
638
600
|
throw new a('unexpected JWT "aud" (audience) claim value');
|
|
@@ -640,29 +602,29 @@ function vt(t, e) {
|
|
|
640
602
|
throw new a('unexpected JWT "aud" (audience) claim value');
|
|
641
603
|
return e;
|
|
642
604
|
}
|
|
643
|
-
function
|
|
605
|
+
function yt(t, e) {
|
|
644
606
|
if (e.claims.iss !== t)
|
|
645
607
|
throw new a('unexpected JWT "iss" (issuer) claim value');
|
|
646
608
|
return e;
|
|
647
609
|
}
|
|
648
|
-
const
|
|
649
|
-
function
|
|
650
|
-
return
|
|
610
|
+
const Te = /* @__PURE__ */ new WeakSet();
|
|
611
|
+
function _t(t) {
|
|
612
|
+
return Te.add(t), t;
|
|
651
613
|
}
|
|
652
|
-
async function
|
|
653
|
-
if (
|
|
614
|
+
async function bt(t, e, n, o, s, r) {
|
|
615
|
+
if (C(t), I(e), !Te.has(n))
|
|
654
616
|
throw new TypeError('"callbackParameters" must be an instance of URLSearchParams obtained from "validateAuthResponse()", or "validateJwtAuthResponse()');
|
|
655
|
-
if (!
|
|
617
|
+
if (!w(o))
|
|
656
618
|
throw new TypeError('"redirectUri" must be a non-empty string');
|
|
657
|
-
if (!
|
|
619
|
+
if (!w(s))
|
|
658
620
|
throw new TypeError('"codeVerifier" must be a non-empty string');
|
|
659
|
-
const i = T(
|
|
621
|
+
const i = T(n, "code");
|
|
660
622
|
if (!i)
|
|
661
623
|
throw new a('no authorization code in "callbackParameters"');
|
|
662
|
-
const u = new URLSearchParams(
|
|
663
|
-
return u.set("redirect_uri", o), u.set("code_verifier", s), u.set("code", i),
|
|
624
|
+
const u = new URLSearchParams(r?.additionalParameters);
|
|
625
|
+
return u.set("redirect_uri", o), u.set("code_verifier", s), u.set("code", i), be(t, e, "authorization_code", u, r);
|
|
664
626
|
}
|
|
665
|
-
const
|
|
627
|
+
const vt = {
|
|
666
628
|
aud: "audience",
|
|
667
629
|
c_hash: "code hash",
|
|
668
630
|
client_id: "client id",
|
|
@@ -678,66 +640,66 @@ const Et = {
|
|
|
678
640
|
htu: "http uri",
|
|
679
641
|
cnf: "confirmation"
|
|
680
642
|
};
|
|
681
|
-
function
|
|
682
|
-
for (const
|
|
683
|
-
if (e.claims[
|
|
684
|
-
throw new a(`JWT "${
|
|
643
|
+
function St(t, e) {
|
|
644
|
+
for (const n of t)
|
|
645
|
+
if (e.claims[n] === void 0)
|
|
646
|
+
throw new a(`JWT "${n}" (${vt[n]}) claim missing`);
|
|
685
647
|
return e;
|
|
686
648
|
}
|
|
687
|
-
const
|
|
688
|
-
async function
|
|
689
|
-
const
|
|
690
|
-
if (
|
|
691
|
-
return
|
|
692
|
-
if (!
|
|
649
|
+
const Tt = Symbol(), $ = Symbol();
|
|
650
|
+
async function At(t, e, n, o, s) {
|
|
651
|
+
const r = await Se(t, e, n);
|
|
652
|
+
if (q(r))
|
|
653
|
+
return r;
|
|
654
|
+
if (!w(r.id_token))
|
|
693
655
|
throw new a('"response" body "id_token" property must be a non-empty string');
|
|
694
|
-
s ?? (s = e.default_max_age ??
|
|
695
|
-
const i =
|
|
696
|
-
if ((e.require_auth_time || s !==
|
|
656
|
+
s ?? (s = e.default_max_age ?? $);
|
|
657
|
+
const i = mt(r);
|
|
658
|
+
if ((e.require_auth_time || s !== $) && i.auth_time === void 0)
|
|
697
659
|
throw new a('ID Token "auth_time" (authentication time) claim missing');
|
|
698
|
-
if (s !==
|
|
660
|
+
if (s !== $) {
|
|
699
661
|
if (typeof s != "number" || s < 0)
|
|
700
662
|
throw new TypeError('"maxAge" must be a non-negative number');
|
|
701
|
-
const u =
|
|
702
|
-
if (i.auth_time + s < u -
|
|
663
|
+
const u = Q() + K(e), d = ge(e);
|
|
664
|
+
if (i.auth_time + s < u - d)
|
|
703
665
|
throw new a("too much time has elapsed since the last End-User authentication");
|
|
704
666
|
}
|
|
705
667
|
switch (o) {
|
|
706
668
|
case void 0:
|
|
707
|
-
case
|
|
669
|
+
case Tt:
|
|
708
670
|
if (i.nonce !== void 0)
|
|
709
671
|
throw new a('unexpected ID Token "nonce" claim value');
|
|
710
672
|
break;
|
|
711
673
|
default:
|
|
712
|
-
if (!
|
|
674
|
+
if (!w(o))
|
|
713
675
|
throw new TypeError('"expectedNonce" must be a non-empty string');
|
|
714
676
|
if (i.nonce === void 0)
|
|
715
677
|
throw new a('ID Token "nonce" claim missing');
|
|
716
678
|
if (i.nonce !== o)
|
|
717
679
|
throw new a('unexpected ID Token "nonce" claim value');
|
|
718
680
|
}
|
|
719
|
-
return
|
|
681
|
+
return r;
|
|
720
682
|
}
|
|
721
|
-
function
|
|
683
|
+
function X(t) {
|
|
722
684
|
if (t.bodyUsed)
|
|
723
685
|
throw new TypeError('"response" body has been used already');
|
|
724
686
|
}
|
|
725
|
-
async function
|
|
687
|
+
async function kt(t) {
|
|
726
688
|
if (t.status > 399 && t.status < 500) {
|
|
727
|
-
|
|
689
|
+
X(t);
|
|
728
690
|
try {
|
|
729
691
|
const e = await t.json();
|
|
730
|
-
if (
|
|
692
|
+
if (x(e) && typeof e.error == "string" && e.error.length)
|
|
731
693
|
return e.error_description !== void 0 && typeof e.error_description != "string" && delete e.error_description, e.error_uri !== void 0 && typeof e.error_uri != "string" && delete e.error_uri, e.algs !== void 0 && typeof e.algs != "string" && delete e.algs, e.scope !== void 0 && typeof e.scope != "string" && delete e.scope, e;
|
|
732
694
|
} catch {
|
|
733
695
|
}
|
|
734
696
|
}
|
|
735
697
|
}
|
|
736
|
-
function
|
|
698
|
+
function fe(t) {
|
|
737
699
|
if (typeof t.modulusLength != "number" || t.modulusLength < 2048)
|
|
738
700
|
throw new a(`${t.name} modulusLength must be at least 2048 bits`);
|
|
739
701
|
}
|
|
740
|
-
function
|
|
702
|
+
function Et(t) {
|
|
741
703
|
switch (t) {
|
|
742
704
|
case "P-256":
|
|
743
705
|
return "SHA-256";
|
|
@@ -746,18 +708,18 @@ function Ut(t) {
|
|
|
746
708
|
case "P-521":
|
|
747
709
|
return "SHA-512";
|
|
748
710
|
default:
|
|
749
|
-
throw new
|
|
711
|
+
throw new v();
|
|
750
712
|
}
|
|
751
713
|
}
|
|
752
|
-
function
|
|
714
|
+
function Ae(t) {
|
|
753
715
|
switch (t.algorithm.name) {
|
|
754
716
|
case "ECDSA":
|
|
755
717
|
return {
|
|
756
718
|
name: t.algorithm.name,
|
|
757
|
-
hash:
|
|
719
|
+
hash: Et(t.algorithm.namedCurve)
|
|
758
720
|
};
|
|
759
721
|
case "RSA-PSS":
|
|
760
|
-
switch (
|
|
722
|
+
switch (fe(t.algorithm), t.algorithm.hash.name) {
|
|
761
723
|
case "SHA-256":
|
|
762
724
|
case "SHA-384":
|
|
763
725
|
case "SHA-512":
|
|
@@ -766,271 +728,165 @@ function Ee(t) {
|
|
|
766
728
|
saltLength: parseInt(t.algorithm.hash.name.slice(-3), 10) >> 3
|
|
767
729
|
};
|
|
768
730
|
default:
|
|
769
|
-
throw new
|
|
731
|
+
throw new v();
|
|
770
732
|
}
|
|
771
733
|
case "RSASSA-PKCS1-v1_5":
|
|
772
|
-
return
|
|
734
|
+
return fe(t.algorithm), t.algorithm.name;
|
|
773
735
|
case "Ed448":
|
|
774
736
|
case "Ed25519":
|
|
775
737
|
return t.algorithm.name;
|
|
776
738
|
}
|
|
777
|
-
throw new
|
|
778
|
-
}
|
|
779
|
-
const
|
|
780
|
-
async function
|
|
781
|
-
const
|
|
782
|
-
if (
|
|
783
|
-
throw new
|
|
784
|
-
|
|
739
|
+
throw new v();
|
|
740
|
+
}
|
|
741
|
+
const ke = Symbol();
|
|
742
|
+
async function Rt(t, e, n, o) {
|
|
743
|
+
const s = `${t}.${e}`;
|
|
744
|
+
if (!await crypto.subtle.verify(Ae(n), n, o, E(s)))
|
|
745
|
+
throw new a("JWT signature verification failed");
|
|
746
|
+
}
|
|
747
|
+
async function Pt(t, e, n, o, s, r) {
|
|
748
|
+
let { 0: i, 1: u, 2: d, length: y } = t.split(".");
|
|
749
|
+
if (y === 5)
|
|
750
|
+
if (r !== void 0)
|
|
751
|
+
t = await r(t), { 0: i, 1: u, 2: d, length: y } = t.split(".");
|
|
752
|
+
else
|
|
753
|
+
throw new v("JWE structure JWTs are not supported");
|
|
754
|
+
if (y !== 3)
|
|
785
755
|
throw new a("Invalid JWT");
|
|
786
|
-
let
|
|
756
|
+
let p;
|
|
787
757
|
try {
|
|
788
|
-
|
|
789
|
-
} catch (
|
|
790
|
-
throw new a("failed to parse JWT Header body as base64url encoded JSON", { cause:
|
|
758
|
+
p = JSON.parse(E(A(i)));
|
|
759
|
+
} catch (l) {
|
|
760
|
+
throw new a("failed to parse JWT Header body as base64url encoded JSON", { cause: l });
|
|
791
761
|
}
|
|
792
|
-
if (!
|
|
762
|
+
if (!x(p))
|
|
793
763
|
throw new a("JWT Header must be a top level object");
|
|
794
|
-
if (e(
|
|
764
|
+
if (e(p), p.crit !== void 0)
|
|
795
765
|
throw new a('unexpected JWT "crit" header parameter');
|
|
796
|
-
const
|
|
797
|
-
let
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
const P = `${n}.${i}`;
|
|
801
|
-
if (!await crypto.subtle.verify(Ee(b), b, y, A(P)))
|
|
802
|
-
throw new a("JWT signature verification failed");
|
|
803
|
-
}
|
|
804
|
-
let h;
|
|
766
|
+
const k = A(d);
|
|
767
|
+
let _;
|
|
768
|
+
n !== ke && (_ = await n(p), await Rt(i, u, _, k));
|
|
769
|
+
let f;
|
|
805
770
|
try {
|
|
806
|
-
|
|
807
|
-
} catch (
|
|
808
|
-
throw new a("failed to parse JWT Payload body as base64url encoded JSON", { cause:
|
|
771
|
+
f = JSON.parse(E(A(u)));
|
|
772
|
+
} catch (l) {
|
|
773
|
+
throw new a("failed to parse JWT Payload body as base64url encoded JSON", { cause: l });
|
|
809
774
|
}
|
|
810
|
-
if (!
|
|
775
|
+
if (!x(f))
|
|
811
776
|
throw new a("JWT Payload must be a top level object");
|
|
812
|
-
const
|
|
813
|
-
if (
|
|
814
|
-
if (typeof
|
|
777
|
+
const P = Q() + o;
|
|
778
|
+
if (f.exp !== void 0) {
|
|
779
|
+
if (typeof f.exp != "number")
|
|
815
780
|
throw new a('unexpected JWT "exp" (expiration time) claim type');
|
|
816
|
-
if (
|
|
781
|
+
if (f.exp <= P - s)
|
|
817
782
|
throw new a('unexpected JWT "exp" (expiration time) claim value, timestamp is <= now()');
|
|
818
783
|
}
|
|
819
|
-
if (
|
|
784
|
+
if (f.iat !== void 0 && typeof f.iat != "number")
|
|
820
785
|
throw new a('unexpected JWT "iat" (issued at) claim type');
|
|
821
|
-
if (
|
|
786
|
+
if (f.iss !== void 0 && typeof f.iss != "string")
|
|
822
787
|
throw new a('unexpected JWT "iss" (issuer) claim type');
|
|
823
|
-
if (
|
|
824
|
-
if (typeof
|
|
788
|
+
if (f.nbf !== void 0) {
|
|
789
|
+
if (typeof f.nbf != "number")
|
|
825
790
|
throw new a('unexpected JWT "nbf" (not before) claim type');
|
|
826
|
-
if (
|
|
791
|
+
if (f.nbf > P + s)
|
|
827
792
|
throw new a('unexpected JWT "nbf" (not before) claim value, timestamp is > now()');
|
|
828
793
|
}
|
|
829
|
-
if (
|
|
794
|
+
if (f.aud !== void 0 && typeof f.aud != "string" && !Array.isArray(f.aud))
|
|
830
795
|
throw new a('unexpected JWT "aud" (audience) claim type');
|
|
831
|
-
return { header:
|
|
796
|
+
return { header: p, claims: f, signature: k, key: _, jwt: t };
|
|
832
797
|
}
|
|
833
|
-
function
|
|
798
|
+
function Lt(t, e, n) {
|
|
834
799
|
if (t !== void 0) {
|
|
835
|
-
if (
|
|
800
|
+
if (n.alg !== t)
|
|
836
801
|
throw new a('unexpected JWT "alg" header parameter');
|
|
837
802
|
return;
|
|
838
803
|
}
|
|
839
804
|
if (Array.isArray(e)) {
|
|
840
|
-
if (!e.includes(
|
|
805
|
+
if (!e.includes(n.alg))
|
|
841
806
|
throw new a('unexpected JWT "alg" header parameter');
|
|
842
807
|
return;
|
|
843
808
|
}
|
|
844
|
-
if (
|
|
809
|
+
if (n.alg !== "RS256")
|
|
845
810
|
throw new a('unexpected JWT "alg" header parameter');
|
|
846
811
|
}
|
|
847
812
|
function T(t, e) {
|
|
848
|
-
const { 0:
|
|
813
|
+
const { 0: n, length: o } = t.getAll(e);
|
|
849
814
|
if (o > 1)
|
|
850
815
|
throw new a(`"${e}" parameter must be provided only once`);
|
|
851
|
-
return
|
|
816
|
+
return n;
|
|
852
817
|
}
|
|
853
|
-
const
|
|
854
|
-
function
|
|
855
|
-
if (
|
|
818
|
+
const Ut = Symbol(), xt = Symbol();
|
|
819
|
+
function Ct(t, e, n, o) {
|
|
820
|
+
if (C(t), I(e), n instanceof URL && (n = n.searchParams), !(n instanceof URLSearchParams))
|
|
856
821
|
throw new TypeError('"parameters" must be an instance of URLSearchParams, or URL');
|
|
857
|
-
if (T(
|
|
822
|
+
if (T(n, "response"))
|
|
858
823
|
throw new a('"parameters" contains a JARM response, use validateJwtAuthResponse() instead of validateAuthResponse()');
|
|
859
|
-
const s = T(
|
|
824
|
+
const s = T(n, "iss"), r = T(n, "state");
|
|
860
825
|
if (!s && t.authorization_response_iss_parameter_supported)
|
|
861
826
|
throw new a('response parameter "iss" (issuer) missing');
|
|
862
827
|
if (s && s !== t.issuer)
|
|
863
828
|
throw new a('unexpected "iss" (issuer) response parameter value');
|
|
864
829
|
switch (o) {
|
|
865
830
|
case void 0:
|
|
866
|
-
case
|
|
867
|
-
if (
|
|
831
|
+
case xt:
|
|
832
|
+
if (r !== void 0)
|
|
868
833
|
throw new a('unexpected "state" response parameter encountered');
|
|
869
834
|
break;
|
|
870
|
-
case
|
|
835
|
+
case Ut:
|
|
871
836
|
break;
|
|
872
837
|
default:
|
|
873
|
-
if (!
|
|
838
|
+
if (!w(o))
|
|
874
839
|
throw new a('"expectedState" must be a non-empty string');
|
|
875
|
-
if (
|
|
840
|
+
if (r === void 0)
|
|
876
841
|
throw new a('response parameter "state" missing');
|
|
877
|
-
if (
|
|
842
|
+
if (r !== o)
|
|
878
843
|
throw new a('unexpected "state" response parameter value');
|
|
879
844
|
}
|
|
880
|
-
const i = T(
|
|
845
|
+
const i = T(n, "error");
|
|
881
846
|
if (i)
|
|
882
847
|
return {
|
|
883
848
|
error: i,
|
|
884
|
-
error_description: T(
|
|
885
|
-
error_uri: T(
|
|
849
|
+
error_description: T(n, "error_description"),
|
|
850
|
+
error_uri: T(n, "error_uri")
|
|
886
851
|
};
|
|
887
|
-
const u = T(
|
|
888
|
-
if (u !== void 0 ||
|
|
889
|
-
throw new
|
|
890
|
-
return
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
{
|
|
905
|
-
category: "Error",
|
|
906
|
-
title: "Authentication Error",
|
|
907
|
-
message: /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
908
|
-
/* @__PURE__ */ E.jsx(ze, { className: "mb-4", children: "Check the configuration of your authorization provider and ensure all settings such as the callback URL are configured correctly." }),
|
|
909
|
-
"An error occurred while authorizing the user.",
|
|
910
|
-
/* @__PURE__ */ E.jsx(We, { code: e.toString(), language: "plain" })
|
|
911
|
-
] })
|
|
912
|
-
}
|
|
913
|
-
) : /* @__PURE__ */ E.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ E.jsx(Ke, {}) });
|
|
914
|
-
}
|
|
915
|
-
class U extends Error {
|
|
916
|
-
}
|
|
917
|
-
class de extends U {
|
|
918
|
-
constructor(e, r, o) {
|
|
919
|
-
super(e, o), this.error = r;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
const V = "code-verifier";
|
|
923
|
-
class Nt extends je {
|
|
924
|
-
constructor(e, r) {
|
|
925
|
-
super(), this.callbackUrlPath = e, this.handleCallback = r;
|
|
926
|
-
}
|
|
927
|
-
getRoutes() {
|
|
928
|
-
return [
|
|
929
|
-
...super.getRoutes(),
|
|
930
|
-
{
|
|
931
|
-
path: this.callbackUrlPath,
|
|
932
|
-
element: /* @__PURE__ */ E.jsx(Ot, { handleCallback: this.handleCallback })
|
|
933
|
-
}
|
|
934
|
-
];
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
class zt {
|
|
852
|
+
const u = T(n, "id_token"), d = T(n, "token");
|
|
853
|
+
if (u !== void 0 || d !== void 0)
|
|
854
|
+
throw new v("implicit and hybrid flows are not supported");
|
|
855
|
+
return _t(new URLSearchParams(n));
|
|
856
|
+
}
|
|
857
|
+
const F = "code-verifier", M = "oauth-state", pe = "/oauth/callback";
|
|
858
|
+
class It extends Ie {
|
|
859
|
+
client;
|
|
860
|
+
issuer;
|
|
861
|
+
authorizationServer;
|
|
862
|
+
callbackUrlPath;
|
|
863
|
+
onAuthorizationUrl;
|
|
864
|
+
redirectToAfterSignUp;
|
|
865
|
+
redirectToAfterSignIn;
|
|
866
|
+
redirectToAfterSignOut;
|
|
867
|
+
audience;
|
|
868
|
+
scopes;
|
|
938
869
|
constructor({
|
|
939
870
|
issuer: e,
|
|
940
|
-
audience:
|
|
871
|
+
audience: n,
|
|
941
872
|
clientId: o,
|
|
942
873
|
redirectToAfterSignUp: s,
|
|
943
|
-
redirectToAfterSignIn:
|
|
944
|
-
redirectToAfterSignOut: i
|
|
874
|
+
redirectToAfterSignIn: r,
|
|
875
|
+
redirectToAfterSignOut: i = "/",
|
|
876
|
+
basePath: u,
|
|
877
|
+
scopes: d
|
|
945
878
|
}) {
|
|
946
|
-
|
|
947
|
-
_(this, "issuer");
|
|
948
|
-
_(this, "authorizationServer");
|
|
949
|
-
_(this, "callbackUrlPath", "/oauth/callback");
|
|
950
|
-
_(this, "logoutRedirectUrlPath", "/");
|
|
951
|
-
_(this, "onAuthorizationUrl");
|
|
952
|
-
_(this, "redirectToAfterSignUp");
|
|
953
|
-
_(this, "redirectToAfterSignIn");
|
|
954
|
-
_(this, "redirectToAfterSignOut");
|
|
955
|
-
_(this, "audience");
|
|
956
|
-
_(this, "signOut", async () => {
|
|
957
|
-
z.setState({
|
|
958
|
-
isAuthenticated: !1,
|
|
959
|
-
isPending: !1,
|
|
960
|
-
profile: void 0
|
|
961
|
-
}), sessionStorage.clear();
|
|
962
|
-
const e = await this.getAuthServer(), r = new URL(
|
|
963
|
-
window.location.origin + this.redirectToAfterSignOut
|
|
964
|
-
);
|
|
965
|
-
r.pathname = this.logoutRedirectUrlPath;
|
|
966
|
-
let o;
|
|
967
|
-
e.end_session_endpoint ? (o = new URL(e.end_session_endpoint), o.searchParams.set(
|
|
968
|
-
"post_logout_redirect_uri",
|
|
969
|
-
r.toString()
|
|
970
|
-
)) : o = r;
|
|
971
|
-
});
|
|
972
|
-
_(this, "handleCallback", async () => {
|
|
973
|
-
const e = new URL(window.location.href), r = e.searchParams.get("state"), o = sessionStorage.getItem(V);
|
|
974
|
-
if (sessionStorage.removeItem(V), !o)
|
|
975
|
-
throw new U("No code verifier found in state.");
|
|
976
|
-
const s = await this.getAuthServer(), n = Jt(
|
|
977
|
-
s,
|
|
978
|
-
this.client,
|
|
979
|
-
e.searchParams,
|
|
980
|
-
r ?? void 0
|
|
981
|
-
);
|
|
982
|
-
if (Z(n))
|
|
983
|
-
throw K.error("Error validating OAuth response", n), new de(
|
|
984
|
-
"Error validating OAuth response",
|
|
985
|
-
n
|
|
986
|
-
);
|
|
987
|
-
const i = new URL(e);
|
|
988
|
-
i.pathname = this.redirectToAfterSignIn, i.search = "";
|
|
989
|
-
const u = await kt(
|
|
990
|
-
s,
|
|
991
|
-
this.client,
|
|
992
|
-
n,
|
|
993
|
-
i.toString(),
|
|
994
|
-
o
|
|
995
|
-
), f = await Pt(
|
|
996
|
-
s,
|
|
997
|
-
this.client,
|
|
998
|
-
u
|
|
999
|
-
);
|
|
1000
|
-
this.setTokensFromResponse(f);
|
|
1001
|
-
const m = await this.getAccessToken(), b = await (await gt(
|
|
1002
|
-
s,
|
|
1003
|
-
this.client,
|
|
1004
|
-
m
|
|
1005
|
-
)).json(), h = {
|
|
1006
|
-
sub: b.sub,
|
|
1007
|
-
email: b.email,
|
|
1008
|
-
name: b.name,
|
|
1009
|
-
emailVerified: b.email_verified ?? !1,
|
|
1010
|
-
pictureUrl: b.picture
|
|
1011
|
-
};
|
|
1012
|
-
z.setState({
|
|
1013
|
-
isAuthenticated: !0,
|
|
1014
|
-
isPending: !1,
|
|
1015
|
-
profile: h
|
|
1016
|
-
}), sessionStorage.setItem(
|
|
1017
|
-
"profile-state",
|
|
1018
|
-
JSON.stringify(z.getState().profile)
|
|
1019
|
-
);
|
|
1020
|
-
const R = sessionStorage.getItem("redirect-to") ?? "/";
|
|
1021
|
-
return sessionStorage.removeItem("redirect-to"), R;
|
|
1022
|
-
});
|
|
1023
|
-
this.client = {
|
|
879
|
+
super(), this.client = {
|
|
1024
880
|
client_id: o,
|
|
1025
881
|
token_endpoint_auth_method: "none"
|
|
1026
|
-
}, this.audience =
|
|
882
|
+
}, this.audience = n, this.issuer = e, this.callbackUrlPath = Ce(u, pe), this.scopes = d ?? ["openid", "profile", "email"], this.redirectToAfterSignUp = s, this.redirectToAfterSignIn = r, this.redirectToAfterSignOut = i;
|
|
1027
883
|
}
|
|
1028
884
|
async getAuthServer() {
|
|
1029
885
|
if (!this.authorizationServer) {
|
|
1030
|
-
const e = new URL(this.issuer),
|
|
886
|
+
const e = new URL(this.issuer), n = await Qe(e);
|
|
1031
887
|
this.authorizationServer = await Xe(
|
|
1032
888
|
e,
|
|
1033
|
-
|
|
889
|
+
n
|
|
1034
890
|
);
|
|
1035
891
|
}
|
|
1036
892
|
return this.authorizationServer;
|
|
@@ -1040,100 +896,224 @@ class zt {
|
|
|
1040
896
|
* @param response
|
|
1041
897
|
*/
|
|
1042
898
|
setTokensFromResponse(e) {
|
|
1043
|
-
if (
|
|
1044
|
-
throw
|
|
899
|
+
if (q(e))
|
|
900
|
+
throw ie.error("Bad Token Response", e), new re("Bad Token Response", e);
|
|
1045
901
|
if (!e.expires_in)
|
|
1046
|
-
throw new
|
|
1047
|
-
const
|
|
902
|
+
throw new R("No expires_in in response");
|
|
903
|
+
const n = {
|
|
1048
904
|
accessToken: e.access_token,
|
|
1049
905
|
refreshToken: e.refresh_token,
|
|
906
|
+
idToken: e.id_token,
|
|
1050
907
|
expiresOn: new Date(Date.now() + e.expires_in * 1e3),
|
|
1051
908
|
tokenType: e.token_type
|
|
1052
909
|
};
|
|
1053
|
-
|
|
910
|
+
S.setState({
|
|
911
|
+
providerData: n
|
|
912
|
+
});
|
|
1054
913
|
}
|
|
1055
|
-
async signUp(
|
|
914
|
+
async signUp(e, {
|
|
915
|
+
redirectTo: n,
|
|
916
|
+
replace: o = !1
|
|
917
|
+
} = {}) {
|
|
1056
918
|
return this.authorize({
|
|
1057
|
-
redirectTo:
|
|
919
|
+
redirectTo: this.redirectToAfterSignUp ?? n ?? "/",
|
|
920
|
+
replace: o,
|
|
1058
921
|
isSignUp: !0
|
|
1059
922
|
});
|
|
1060
923
|
}
|
|
1061
|
-
async signIn({ redirectTo:
|
|
924
|
+
async signIn(e, { redirectTo: n, replace: o = !1 }) {
|
|
1062
925
|
return this.authorize({
|
|
1063
|
-
redirectTo:
|
|
926
|
+
redirectTo: this.redirectToAfterSignIn ?? n ?? "/",
|
|
927
|
+
replace: o
|
|
1064
928
|
});
|
|
1065
929
|
}
|
|
1066
930
|
async authorize({
|
|
1067
931
|
redirectTo: e,
|
|
1068
|
-
isSignUp:
|
|
932
|
+
isSignUp: n = !1,
|
|
933
|
+
replace: o = !1
|
|
1069
934
|
}) {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
s.authorization_endpoint
|
|
935
|
+
const s = "S256", r = await this.getAuthServer();
|
|
936
|
+
if (!r.authorization_endpoint)
|
|
937
|
+
throw new R("No authorization endpoint");
|
|
938
|
+
const i = et(), u = await nt(i);
|
|
939
|
+
sessionStorage.setItem(F, i);
|
|
940
|
+
const d = new URL(
|
|
941
|
+
r.authorization_endpoint
|
|
1078
942
|
);
|
|
1079
943
|
sessionStorage.setItem("redirect-to", e);
|
|
1080
|
-
const
|
|
1081
|
-
|
|
944
|
+
const y = new URL(window.location.origin);
|
|
945
|
+
y.pathname = this.callbackUrlPath, y.search = "", y.hash = "", d.searchParams.set("client_id", this.client.client_id), d.searchParams.set("redirect_uri", y.toString()), d.searchParams.set("response_type", "code"), d.searchParams.set("scope", this.scopes.join(" ")), d.searchParams.set("code_challenge", u), d.searchParams.set(
|
|
1082
946
|
"code_challenge_method",
|
|
1083
|
-
|
|
1084
|
-
), this.audience &&
|
|
1085
|
-
isSignIn: !
|
|
1086
|
-
isSignUp:
|
|
1087
|
-
})
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}
|
|
1091
|
-
location.href = u.href;
|
|
947
|
+
s
|
|
948
|
+
), this.audience && d.searchParams.set("audience", this.audience), this.onAuthorizationUrl?.(d, {
|
|
949
|
+
isSignIn: !n,
|
|
950
|
+
isSignUp: n
|
|
951
|
+
});
|
|
952
|
+
const p = tt();
|
|
953
|
+
sessionStorage.setItem(M, p), d.searchParams.set("state", p), o ? location.replace(d.href) : location.href = d.href;
|
|
1092
954
|
}
|
|
1093
955
|
async getAccessToken() {
|
|
1094
|
-
const e = await this.getAuthServer(),
|
|
1095
|
-
if (!
|
|
1096
|
-
throw new
|
|
1097
|
-
const o =
|
|
1098
|
-
if (o.expiresOn < /* @__PURE__ */ new Date()) {
|
|
956
|
+
const e = await this.getAuthServer(), { providerData: n } = S.getState();
|
|
957
|
+
if (!n)
|
|
958
|
+
throw new R("User is not authenticated");
|
|
959
|
+
const o = n;
|
|
960
|
+
if (new Date(o.expiresOn) < /* @__PURE__ */ new Date()) {
|
|
1099
961
|
if (!o.refreshToken)
|
|
1100
|
-
return
|
|
1101
|
-
|
|
962
|
+
return S.setState({
|
|
963
|
+
isAuthenticated: !1,
|
|
964
|
+
isPending: !1,
|
|
965
|
+
profile: null,
|
|
966
|
+
providerData: null
|
|
967
|
+
}), "";
|
|
968
|
+
const s = await de(
|
|
1102
969
|
e,
|
|
1103
970
|
this.client,
|
|
1104
971
|
o.refreshToken
|
|
1105
|
-
),
|
|
972
|
+
), r = await he(
|
|
1106
973
|
e,
|
|
1107
974
|
this.client,
|
|
1108
975
|
s
|
|
1109
976
|
);
|
|
1110
|
-
if (!
|
|
1111
|
-
throw new
|
|
1112
|
-
return this.setTokensFromResponse(
|
|
977
|
+
if (!r.access_token)
|
|
978
|
+
throw new R("No access token in response");
|
|
979
|
+
return this.setTokensFromResponse(r), r.access_token.toString();
|
|
1113
980
|
} else
|
|
1114
981
|
return o.accessToken;
|
|
1115
982
|
}
|
|
1116
|
-
|
|
1117
|
-
const
|
|
1118
|
-
|
|
983
|
+
signRequest = async (e) => {
|
|
984
|
+
const n = await this.getAccessToken();
|
|
985
|
+
return e.headers.set("Authorization", `Bearer ${n}`), e;
|
|
986
|
+
};
|
|
987
|
+
signOut = async (e) => {
|
|
988
|
+
S.setState({
|
|
989
|
+
isAuthenticated: !1,
|
|
990
|
+
isPending: !1,
|
|
991
|
+
profile: void 0,
|
|
992
|
+
providerData: void 0
|
|
993
|
+
});
|
|
994
|
+
const n = await this.getAuthServer(), o = new URL(
|
|
995
|
+
window.location.origin + this.redirectToAfterSignOut
|
|
996
|
+
);
|
|
997
|
+
o.pathname = this.callbackUrlPath;
|
|
998
|
+
let s;
|
|
999
|
+
n.end_session_endpoint ? (s = new URL(n.end_session_endpoint), s.searchParams.set(
|
|
1000
|
+
"post_logout_redirect_uri",
|
|
1001
|
+
o.toString()
|
|
1002
|
+
)) : s = o;
|
|
1003
|
+
};
|
|
1004
|
+
onPageLoad = async () => {
|
|
1005
|
+
const { providerData: e } = S.getState();
|
|
1006
|
+
if (!e) {
|
|
1007
|
+
S.setState({ isPending: !1 });
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
const n = e;
|
|
1011
|
+
if (new Date(n.expiresOn) < /* @__PURE__ */ new Date()) {
|
|
1012
|
+
if (!n.refreshToken) {
|
|
1013
|
+
S.setState({
|
|
1014
|
+
isAuthenticated: !1,
|
|
1015
|
+
isPending: !1,
|
|
1016
|
+
profile: null,
|
|
1017
|
+
providerData: null
|
|
1018
|
+
});
|
|
1019
|
+
return;
|
|
1020
|
+
}
|
|
1119
1021
|
try {
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
|
|
1022
|
+
const o = await this.getAuthServer(), s = await de(
|
|
1023
|
+
o,
|
|
1024
|
+
this.client,
|
|
1025
|
+
n.refreshToken
|
|
1026
|
+
), r = await he(
|
|
1027
|
+
o,
|
|
1028
|
+
this.client,
|
|
1029
|
+
s
|
|
1030
|
+
);
|
|
1031
|
+
if (!r.access_token)
|
|
1032
|
+
throw new R("No access token in response");
|
|
1033
|
+
this.setTokensFromResponse(r);
|
|
1034
|
+
} catch {
|
|
1035
|
+
S.setState({
|
|
1036
|
+
isAuthenticated: !1,
|
|
1123
1037
|
isPending: !1,
|
|
1124
|
-
profile:
|
|
1038
|
+
profile: null,
|
|
1039
|
+
providerData: null
|
|
1125
1040
|
});
|
|
1126
|
-
|
|
1127
|
-
K.error("Error parsing auth state", r);
|
|
1041
|
+
return;
|
|
1128
1042
|
}
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1043
|
+
}
|
|
1044
|
+
S.setState({ isPending: !1 });
|
|
1045
|
+
};
|
|
1046
|
+
handleCallback = async () => {
|
|
1047
|
+
const e = new URL(window.location.href), n = e.searchParams.get("state"), o = sessionStorage.getItem(M);
|
|
1048
|
+
if (sessionStorage.removeItem(M), n !== o)
|
|
1049
|
+
throw new R("Invalid state parameter");
|
|
1050
|
+
const s = sessionStorage.getItem(F);
|
|
1051
|
+
if (sessionStorage.removeItem(F), !s)
|
|
1052
|
+
throw new R("No code verifier found in state.");
|
|
1053
|
+
const r = await this.getAuthServer(), i = Ct(
|
|
1054
|
+
r,
|
|
1055
|
+
this.client,
|
|
1056
|
+
e.searchParams,
|
|
1057
|
+
n ?? void 0
|
|
1058
|
+
);
|
|
1059
|
+
if (q(i))
|
|
1060
|
+
throw ie.error("Error validating OAuth response", i), new re(
|
|
1061
|
+
"Error validating OAuth response",
|
|
1062
|
+
i
|
|
1063
|
+
);
|
|
1064
|
+
const u = new URL(e);
|
|
1065
|
+
u.pathname = this.callbackUrlPath, u.search = "", u.hash = "";
|
|
1066
|
+
const d = await bt(
|
|
1067
|
+
r,
|
|
1068
|
+
this.client,
|
|
1069
|
+
i,
|
|
1070
|
+
u.toString(),
|
|
1071
|
+
s
|
|
1072
|
+
), y = await At(
|
|
1073
|
+
r,
|
|
1074
|
+
this.client,
|
|
1075
|
+
d
|
|
1076
|
+
);
|
|
1077
|
+
this.setTokensFromResponse(y);
|
|
1078
|
+
const p = await this.getAccessToken(), _ = await (await pt(
|
|
1079
|
+
r,
|
|
1080
|
+
this.client,
|
|
1081
|
+
p
|
|
1082
|
+
)).json(), f = {
|
|
1083
|
+
sub: _.sub,
|
|
1084
|
+
email: _.email,
|
|
1085
|
+
name: _.name,
|
|
1086
|
+
emailVerified: _.email_verified ?? !1,
|
|
1087
|
+
pictureUrl: _.picture
|
|
1088
|
+
};
|
|
1089
|
+
S.setState({
|
|
1090
|
+
isAuthenticated: !0,
|
|
1091
|
+
isPending: !1,
|
|
1092
|
+
profile: f
|
|
1093
|
+
});
|
|
1094
|
+
const P = sessionStorage.getItem("redirect-to") ?? "/";
|
|
1095
|
+
return sessionStorage.removeItem("redirect-to"), P;
|
|
1096
|
+
};
|
|
1097
|
+
getRoutes() {
|
|
1098
|
+
return [
|
|
1099
|
+
...super.getRoutes(),
|
|
1100
|
+
{
|
|
1101
|
+
path: pe,
|
|
1102
|
+
element: /* @__PURE__ */ D.jsx(xe, { children: /* @__PURE__ */ D.jsx(
|
|
1103
|
+
Ue,
|
|
1104
|
+
{
|
|
1105
|
+
fallbackRender: ({ error: e }) => /* @__PURE__ */ D.jsx(Oe, { error: e }),
|
|
1106
|
+
children: /* @__PURE__ */ D.jsx(je, { handleCallback: this.handleCallback })
|
|
1107
|
+
}
|
|
1108
|
+
) })
|
|
1109
|
+
}
|
|
1110
|
+
];
|
|
1132
1111
|
}
|
|
1133
1112
|
}
|
|
1134
|
-
const
|
|
1113
|
+
const Kt = (t) => new It(t);
|
|
1135
1114
|
export {
|
|
1136
|
-
|
|
1137
|
-
|
|
1115
|
+
pe as OPENID_CALLBACK_PATH,
|
|
1116
|
+
It as OpenIDAuthenticationProvider,
|
|
1117
|
+
Kt as default
|
|
1138
1118
|
};
|
|
1139
1119
|
//# sourceMappingURL=zudoku.auth-openid.js.map
|