zudoku 0.0.0-f49e3ea → 0.0.0-f52e8af
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 +1 -1
- package/cli.js +9 -0
- package/dist/app/ZuploBuildConfig.d.ts +155 -0
- package/dist/app/ZuploBuildConfig.js +29 -0
- package/dist/app/ZuploBuildConfig.js.map +1 -0
- package/dist/app/demo.js +1 -2
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.d.ts +6 -0
- package/dist/app/entry.client.js +51 -15
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.d.ts +9 -6
- package/dist/app/entry.server.js +14 -10
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/env.d.ts +33 -0
- package/dist/app/env.js +29 -0
- package/dist/app/env.js.map +1 -0
- package/dist/app/main.d.ts +2 -2
- package/dist/app/main.js +37 -12
- 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 +1 -2
- package/dist/app/standalone.js.map +1 -1
- package/dist/app/tailwind.d.ts +2 -1
- package/dist/app/tailwind.js +80 -48
- package/dist/app/tailwind.js.map +1 -1
- package/dist/cli/build/handler.d.ts +1 -3
- package/dist/cli/build/handler.js +9 -1
- package/dist/cli/build/handler.js.map +1 -1
- package/dist/cli/cli.js +17 -3
- 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/logger.js +9 -0
- package/dist/cli/common/logger.js.map +1 -1
- package/dist/cli/common/machine-id/lib.js +1 -0
- package/dist/cli/common/machine-id/lib.js.map +1 -1
- package/dist/cli/common/outdated.js +2 -1
- package/dist/cli/common/outdated.js.map +1 -1
- package/dist/cli/common/output.js.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/dev/handler.d.ts +1 -0
- package/dist/cli/dev/handler.js +15 -12
- 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/config/common.d.ts +10 -0
- package/dist/config/common.js +2 -0
- package/dist/config/common.js.map +1 -0
- package/dist/config/config.d.ts +20 -16
- package/dist/config/loader.d.ts +6 -0
- package/dist/config/loader.js +65 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validators/BuildSchema.d.ts +60 -0
- package/dist/config/validators/BuildSchema.js +31 -0
- package/dist/config/validators/BuildSchema.js.map +1 -0
- package/dist/config/validators/InputSidebarSchema.d.ts +46 -30
- package/dist/config/validators/InputSidebarSchema.js +11 -1
- package/dist/config/validators/InputSidebarSchema.js.map +1 -1
- package/dist/config/validators/common.d.ts +8001 -0
- package/dist/config/validators/common.js +414 -0
- package/dist/config/validators/common.js.map +1 -0
- package/dist/config/validators/icon-types.d.ts +1 -0
- package/dist/config/validators/icon-types.js +2 -0
- package/dist/config/validators/icon-types.js.map +1 -0
- package/dist/config/validators/validate.d.ts +2008 -640
- package/dist/config/validators/validate.js +9 -228
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- 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/authentication/AuthenticationPlugin.d.ts +4 -2
- package/dist/lib/authentication/AuthenticationPlugin.js +3 -0
- package/dist/lib/authentication/AuthenticationPlugin.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +2 -1
- package/dist/lib/authentication/components/CallbackHandler.js +6 -2
- package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
- package/dist/lib/authentication/components/SignIn.d.ts +1 -1
- package/dist/lib/authentication/components/SignIn.js +5 -2
- package/dist/lib/authentication/components/SignIn.js.map +1 -1
- package/dist/lib/authentication/components/SignOut.js +2 -2
- 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 +4 -1
- package/dist/lib/authentication/components/SignUp.js.map +1 -1
- package/dist/lib/authentication/hook.d.ts +1 -0
- package/dist/lib/authentication/hook.js +11 -1
- 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 +3 -2
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/clerk.d.ts +2 -2
- package/dist/lib/authentication/providers/clerk.js +63 -13
- package/dist/lib/authentication/providers/clerk.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +17 -9
- package/dist/lib/authentication/providers/openid.js +45 -26
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/providers/supabase.d.ts +4 -0
- package/dist/lib/authentication/providers/supabase.js +117 -0
- package/dist/lib/authentication/providers/supabase.js.map +1 -0
- package/dist/lib/authentication/state.d.ts +0 -17
- package/dist/lib/authentication/state.js +9 -7
- package/dist/lib/authentication/state.js.map +1 -1
- 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 +13 -0
- package/dist/lib/components/Autocomplete.js +47 -0
- package/dist/lib/components/Autocomplete.js.map +1 -0
- package/dist/lib/components/Banner.js +1 -1
- package/dist/lib/components/Banner.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +3 -3
- package/dist/lib/components/Bootstrap.js +12 -13
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/BuildCheck.d.ts +4 -0
- package/dist/lib/components/BuildCheck.js +38 -0
- package/dist/lib/components/BuildCheck.js.map +1 -0
- 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/Header.js +18 -10
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +5 -5
- package/dist/lib/components/Heading.js +1 -1
- package/dist/lib/components/Heading.js.map +1 -1
- package/dist/lib/components/InlineCode.d.ts +2 -1
- package/dist/lib/components/InlineCode.js +2 -9
- package/dist/lib/components/InlineCode.js.map +1 -1
- package/dist/lib/components/Layout.js +9 -23
- 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 -2
- package/dist/lib/components/Markdown.js +10 -14
- package/dist/lib/components/Markdown.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +6 -3
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/NotFoundPage.js +1 -1
- package/dist/lib/components/NotFoundPage.js.map +1 -1
- 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/ReactMarkdown.d.ts +29 -0
- package/dist/lib/components/ReactMarkdown.js +182 -0
- package/dist/lib/components/ReactMarkdown.js.map +1 -0
- package/dist/lib/components/Search.d.ts +3 -1
- package/dist/lib/components/Search.js +9 -3
- package/dist/lib/components/Search.js.map +1 -1
- package/dist/lib/components/SlotletProvider.d.ts +2 -2
- package/dist/lib/components/StatusPage.d.ts +7 -0
- package/dist/lib/components/StatusPage.js +71 -0
- package/dist/lib/components/StatusPage.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.js +8 -5
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/TopNavigation.d.ts +3 -2
- package/dist/lib/components/TopNavigation.js +30 -16
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.d.ts +1 -1
- package/dist/lib/components/Zudoku.js +13 -8
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/cache.d.ts +13 -0
- package/dist/lib/components/cache.js +20 -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/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/ViewportAnchorContext.d.ts +2 -4
- package/dist/lib/components/context/ViewportAnchorContext.js +29 -23
- package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +2 -2
- package/dist/lib/components/context/ZudokuContext.js +20 -8
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +42 -17
- package/dist/lib/components/index.js +19 -4
- package/dist/lib/components/index.js.map +1 -1
- 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/Sidebar.d.ts +5 -1
- package/dist/lib/components/navigation/Sidebar.js +3 -7
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/SidebarBadge.d.ts +6 -3
- package/dist/lib/components/navigation/SidebarBadge.js +13 -11
- package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.d.ts +3 -3
- package/dist/lib/components/navigation/SidebarCategory.js +31 -22
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/components/navigation/SidebarItem.d.ts +3 -4
- package/dist/lib/components/navigation/SidebarItem.js +19 -18
- package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
- package/dist/lib/components/navigation/SidebarWrapper.d.ts +7 -6
- package/dist/lib/components/navigation/SidebarWrapper.js +18 -3
- package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
- package/dist/lib/{plugins/markdown → components/navigation}/Toc.js +6 -8
- 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.js +1 -1
- 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 +52 -0
- package/dist/lib/core/RouteGuard.js.map +1 -0
- package/dist/lib/core/ZudokuContext.d.ts +45 -8
- package/dist/lib/core/ZudokuContext.js +37 -12
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +21 -7
- package/dist/lib/core/plugins.js +3 -0
- package/dist/lib/core/plugins.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +6 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/errors/RouterError.js +1 -1
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/hooks/index.d.ts +3 -0
- package/dist/lib/hooks/index.js +5 -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.js +100 -0
- package/dist/lib/hooks/useEvent.test.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 +25 -1
- package/dist/lib/oas/graphql/index.js +213 -66
- package/dist/lib/oas/graphql/index.js.map +1 -1
- package/dist/lib/oas/parser/dereference/index.js +8 -3
- package/dist/lib/oas/parser/dereference/index.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +8 -3
- package/dist/lib/oas/parser/index.js +7 -23
- 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 +83 -33
- 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 +26 -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.js +8 -4
- package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
- package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/api-keys/index.d.ts +1 -0
- package/dist/lib/plugins/api-keys/index.js +4 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/MdxPage.d.ts +10 -2
- package/dist/lib/plugins/markdown/MdxPage.js +17 -4
- package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
- package/dist/lib/plugins/markdown/index.d.ts +3 -1
- package/dist/lib/plugins/markdown/index.js +1 -1
- package/dist/lib/plugins/markdown/index.js.map +1 -1
- package/dist/lib/plugins/markdown/resolver.d.ts +0 -6
- package/dist/lib/plugins/markdown/resolver.js +0 -29
- package/dist/lib/plugins/markdown/resolver.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js +2 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.d.ts +10 -2
- package/dist/lib/plugins/openapi/ColorizedParam.js +18 -7
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +8 -7
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OasProvider.d.ts +8 -0
- package/dist/lib/plugins/openapi/OasProvider.js +29 -0
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -0
- package/dist/lib/plugins/openapi/OperationList.d.ts +5 -2
- package/dist/lib/plugins/openapi/OperationList.js +92 -11
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +5 -3
- package/dist/lib/plugins/openapi/OperationListItem.js +12 -6
- 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 +45 -0
- package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
- package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -1
- package/dist/lib/plugins/openapi/ParameterList.js +3 -2
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +16 -3
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +4 -2
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +12 -3
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +3 -4
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -13
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +2 -4
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +4 -13
- 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 +53 -0
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -0
- package/dist/lib/plugins/openapi/Sidecar.js +85 -38
- 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 +9 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js +76 -0
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -0
- package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
- package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +2 -2
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +23 -82
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -1
- package/dist/lib/plugins/openapi/client/createServer.d.ts +2 -1
- package/dist/lib/plugins/openapi/client/createServer.js +5 -2
- package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +11 -2
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +14 -7
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
- 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/ResponseContent.d.ts +12 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +21 -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/gql.d.ts +11 -3
- package/dist/lib/plugins/openapi/graphql/gql.js +5 -14
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +113 -21
- package/dist/lib/plugins/openapi/graphql/graphql.js +55 -11
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.d.ts +10 -7
- package/dist/lib/plugins/openapi/index.js +65 -82
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +57 -3
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +6 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +8 -0
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +4 -4
- package/dist/lib/plugins/openapi/playground/Headers.js +84 -5
- 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 +14 -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 +8 -0
- package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +9 -0
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +5 -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 +5 -7
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +37 -2
- package/dist/lib/plugins/openapi/playground/Playground.js +131 -69
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +24 -18
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js +8 -0
- package/dist/lib/plugins/openapi/playground/RequestLoginDialog.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/SubmitButton.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/SubmitButton.js +22 -0
- package/dist/lib/plugins/openapi/playground/SubmitButton.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/rememberedIdentity.d.ts +17 -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/result-panel/RequestTab.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +11 -0
- package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +101 -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 +9 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +17 -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/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 +194 -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 +159 -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/LogicalGroup/LogicalGroup.d.ts +1 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +2 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +2 -2
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.d.ts +0 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +1 -1
- package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +1 -1
- 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/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +2 -4
- 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 +2 -2
- package/dist/lib/plugins/openapi/schema/SchemaView.js +38 -50
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +8 -1
- package/dist/lib/plugins/openapi/schema/utils.js +15 -4
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/state.d.ts +25 -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/createSidebarCategory.d.ts +9 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js +23 -0
- package/dist/lib/plugins/openapi/util/createSidebarCategory.js.map +1 -0
- package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +62 -10
- 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 +1 -1
- package/dist/lib/plugins/redirect/index.js +1 -1
- package/dist/lib/plugins/redirect/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
- package/dist/lib/plugins/search-inkeep/index.js +41 -5
- package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
- package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
- 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 +32 -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 +42 -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 +35 -0
- package/dist/lib/shiki.js +103 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/ui/Badge.d.ts +1 -1
- package/dist/lib/ui/Badge.js +2 -1
- package/dist/lib/ui/Badge.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +2 -1
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/Callout.d.ts +2 -1
- package/dist/lib/ui/Callout.js +3 -2
- 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/Checkbox.js +1 -1
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +16 -0
- package/dist/lib/ui/CodeBlock.js +18 -0
- package/dist/lib/ui/CodeBlock.js.map +1 -0
- package/dist/lib/ui/Command.d.ts +17 -3
- package/dist/lib/ui/Command.js +7 -3
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/Form.d.ts +1 -1
- package/dist/lib/ui/Input.d.ts +1 -2
- package/dist/lib/ui/Input.js.map +1 -1
- package/dist/lib/ui/Select.js +3 -3
- package/dist/lib/ui/Select.js.map +1 -1
- 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/SyntaxHighlight.d.ts +10 -0
- package/dist/lib/ui/SyntaxHighlight.js +14 -0
- package/dist/lib/ui/SyntaxHighlight.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 +29 -20
- package/dist/lib/util/MdxComponents.js +17 -15
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +2 -2
- 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/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/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/traverse.d.ts +3 -0
- package/dist/lib/util/traverse.js +23 -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/useExposedProps.js +1 -1
- package/dist/lib/util/useExposedProps.js.map +1 -1
- 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 +3 -2
- package/dist/lib/util/useOnScreen.js +3 -3
- package/dist/lib/util/useOnScreen.js.map +1 -1
- package/dist/lib/util/useScrollToAnchor.d.ts +1 -0
- package/dist/lib/util/useScrollToAnchor.js +42 -37
- 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/vite/api/SchemaManager.d.ts +36 -0
- package/dist/vite/api/SchemaManager.js +122 -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 +85 -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 +313 -0
- package/dist/vite/api/schema-codegen.test.js.map +1 -0
- package/dist/vite/build.js +42 -16
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +7 -8
- package/dist/vite/config.js +156 -72
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +11 -5
- 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 +5 -0
- package/dist/vite/css/plugin.js +79 -0
- package/dist/vite/css/plugin.js.map +1 -0
- package/dist/vite/dev-server.d.ts +5 -3
- package/dist/vite/dev-server.js +71 -21
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/error-handler.d.ts +1 -1
- package/dist/vite/error-handler.js +1 -1
- package/dist/vite/error-handler.js.map +1 -1
- package/dist/vite/html.d.ts +6 -2
- package/dist/vite/html.js +11 -8
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/output.d.ts +15 -3
- package/dist/vite/output.js +41 -14
- package/dist/vite/output.js.map +1 -1
- package/dist/vite/plugin-api-keys.d.ts +2 -2
- package/dist/vite/plugin-api-keys.js +5 -5
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.d.ts +2 -2
- package/dist/vite/plugin-api.js +145 -32
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.d.ts +2 -2
- package/dist/vite/plugin-auth.js +7 -4
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-component.d.ts +2 -2
- package/dist/vite/plugin-component.js +20 -20
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-config-reload.d.ts +4 -4
- package/dist/vite/plugin-config-reload.js +15 -6
- package/dist/vite/plugin-config-reload.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +2 -2
- package/dist/vite/plugin-config.js +25 -1
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-custom-pages.d.ts +2 -2
- package/dist/vite/plugin-custom-pages.js +3 -3
- package/dist/vite/plugin-custom-pages.js.map +1 -1
- package/dist/vite/plugin-docs.d.ts +3 -3
- package/dist/vite/plugin-docs.js +23 -6
- package/dist/vite/plugin-docs.js.map +1 -1
- package/dist/vite/plugin-docs.test.js +15 -23
- package/dist/vite/plugin-docs.test.js.map +1 -1
- package/dist/vite/plugin-frontmatter.d.ts +2 -2
- package/dist/vite/plugin-frontmatter.js +5 -4
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-mdx.d.ts +2 -2
- package/dist/vite/plugin-mdx.js +86 -21
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin-redirect.d.ts +2 -2
- package/dist/vite/plugin-redirect.js +3 -3
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/dist/vite/plugin-search.d.ts +2 -2
- package/dist/vite/plugin-search.js +5 -1
- package/dist/vite/plugin-search.js.map +1 -1
- package/dist/vite/plugin-shiki-register.d.ts +3 -0
- package/dist/vite/plugin-shiki-register.js +38 -0
- package/dist/vite/plugin-shiki-register.js.map +1 -0
- package/dist/vite/plugin-sidebar.d.ts +5 -3
- package/dist/vite/plugin-sidebar.js +21 -6
- package/dist/vite/plugin-sidebar.js.map +1 -1
- package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +3 -3
- package/dist/vite/plugin-theme-css.js +117 -0
- package/dist/vite/plugin-theme-css.js.map +1 -0
- package/dist/vite/plugin.d.ts +2 -3
- package/dist/vite/plugin.js +8 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/prerender/FileWritingResponse.d.ts +25 -0
- package/dist/vite/prerender/FileWritingResponse.js +51 -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 +32 -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 +109 -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 +59 -0
- package/dist/vite/prerender/worker.js.map +1 -0
- package/dist/vite/remarkStaticGeneration.js +5 -5
- package/dist/vite/remarkStaticGeneration.js.map +1 -1
- 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/sitemap.d.ts +1 -1
- package/dist/vite/sitemap.js +2 -1
- package/dist/vite/sitemap.js.map +1 -1
- package/dist/zuplo/enrich-with-zuplo.d.ts +5 -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 +8 -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 +26 -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/AuthenticationPlugin-B9ZLD8dq.js +90 -0
- package/lib/AuthenticationPlugin-B9ZLD8dq.js.map +1 -0
- package/lib/Button-Bdk_Ij3U.js +49 -0
- package/lib/Button-Bdk_Ij3U.js.map +1 -0
- package/lib/Callout-hI9CHaoU.js +230 -0
- package/lib/Callout-hI9CHaoU.js.map +1 -0
- package/lib/Card-BlCYNw5W.js +61 -0
- package/lib/Card-BlCYNw5W.js.map +1 -0
- package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-DZi-Szor.js} +3 -3
- package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-DZi-Szor.js.map} +1 -1
- package/lib/ClientOnly-E7hGysn1.js.map +1 -1
- package/lib/Dialog-qJtc4-PZ.js +98 -0
- package/lib/{Dialog-k70Qfukb.js.map → Dialog-qJtc4-PZ.js.map} +1 -1
- package/lib/Drawer-BPBxzel2.js +1133 -0
- package/lib/Drawer-BPBxzel2.js.map +1 -0
- package/lib/Markdown-D3MUf20w.js +7691 -0
- package/lib/Markdown-D3MUf20w.js.map +1 -0
- package/lib/MdxPage-qSYniGrR.js +84 -0
- package/lib/MdxPage-qSYniGrR.js.map +1 -0
- package/lib/OasProvider-BHyIG4Ge.js +33 -0
- package/lib/OasProvider-BHyIG4Ge.js.map +1 -0
- package/lib/OperationList-CfVK_S-T.js +5142 -0
- package/lib/OperationList-CfVK_S-T.js.map +1 -0
- package/lib/Pagination-CjsamWJW.js +48 -0
- package/lib/Pagination-CjsamWJW.js.map +1 -0
- package/lib/RouteGuard-ChX1tPqA.js +55 -0
- package/lib/RouteGuard-ChX1tPqA.js.map +1 -0
- package/lib/SchemaList-BZRVKC7J.js +160 -0
- package/lib/SchemaList-BZRVKC7J.js.map +1 -0
- package/lib/SchemaView-Db5jA7z7.js +375 -0
- package/lib/SchemaView-Db5jA7z7.js.map +1 -0
- package/lib/Select-CaRC4cvg.js +211 -0
- package/lib/Select-CaRC4cvg.js.map +1 -0
- package/lib/SlotletProvider-ZhDNaV0q.js +257 -0
- package/lib/SlotletProvider-ZhDNaV0q.js.map +1 -0
- package/lib/{Spinner-3cQDBVGr.js → Spinner-mNLZ6awP.js} +2 -2
- package/lib/{Spinner-3cQDBVGr.js.map → Spinner-mNLZ6awP.js.map} +1 -1
- package/lib/SyntaxHighlight-IcJTpNbL.js +9107 -0
- package/lib/SyntaxHighlight-IcJTpNbL.js.map +1 -0
- package/lib/Toc-B0gpT6e6.js +92 -0
- package/lib/Toc-B0gpT6e6.js.map +1 -0
- package/lib/chunk-BAXFHI7N-C9WnHsLV.js +1839 -0
- package/lib/chunk-BAXFHI7N-C9WnHsLV.js.map +1 -0
- package/lib/circular-BGxf3iUW.js +14929 -0
- package/lib/circular-BGxf3iUW.js.map +1 -0
- package/lib/{cn-BmFQLtkS.js → cn-CwJPJKOE.js} +29 -30
- package/lib/cn-CwJPJKOE.js.map +1 -0
- package/lib/createServer-C1kGUn7C.js +12494 -0
- package/lib/createServer-C1kGUn7C.js.map +1 -0
- package/lib/hook-CqYKERnR.js +1442 -0
- package/lib/hook-CqYKERnR.js.map +1 -0
- package/lib/index--oeBayMa.js +86 -0
- package/lib/index--oeBayMa.js.map +1 -0
- package/lib/{index-LNp6rxyU.js → index-BvvmIczU.js} +2 -2
- package/lib/{index-LNp6rxyU.js.map → index-BvvmIczU.js.map} +1 -1
- package/lib/index-CrcNWbel.js +316 -0
- package/lib/index-CrcNWbel.js.map +1 -0
- package/lib/index-D1LYvDiD.js +3158 -0
- package/lib/index-D1LYvDiD.js.map +1 -0
- package/lib/index-LSPm9Daf.js +4976 -0
- package/lib/index-LSPm9Daf.js.map +1 -0
- package/lib/index-Z13x6tPX.js +36 -0
- package/lib/index-Z13x6tPX.js.map +1 -0
- package/lib/{assets/index-B_Jk_Yzp.js → index-zddirpDj.js} +727 -725
- package/lib/index-zddirpDj.js.map +1 -0
- package/lib/index.esm-BFcSKCe-.js +683 -0
- package/lib/index.esm-BFcSKCe-.js.map +1 -0
- package/lib/index.esm-D2ZUREQN.js +1216 -0
- package/lib/index.esm-D2ZUREQN.js.map +1 -0
- package/lib/invariant-DAFpPywt.js +48 -0
- package/lib/{invariant-Caa8-XvF.js.map → invariant-DAFpPywt.js.map} +1 -1
- package/lib/jsx-runtime-C5mzlN2N.js +285 -0
- package/lib/jsx-runtime-C5mzlN2N.js.map +1 -0
- package/lib/mutation-DpoXF3gn.js +196 -0
- package/lib/mutation-DpoXF3gn.js.map +1 -0
- package/lib/objectEntries-yMIkr2mI.js +5 -0
- package/lib/objectEntries-yMIkr2mI.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/ui/Accordion.js +2 -2
- package/lib/ui/Accordion.js.map +1 -1
- package/lib/ui/ActionButton.js +4 -4
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/ui/Alert.js +3 -3
- package/lib/ui/Alert.js.map +1 -1
- package/lib/ui/AlertDialog.js +2 -2
- package/lib/ui/AlertDialog.js.map +1 -1
- package/lib/ui/Badge.js +5 -4
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Breadcrumb.js +5 -5
- package/lib/ui/Breadcrumb.js.map +1 -1
- package/lib/ui/Button.js +14 -13
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/Callout.js +41 -22
- package/lib/ui/Callout.js.map +1 -1
- package/lib/ui/Card.js +9 -9
- package/lib/ui/Card.js.map +1 -1
- package/lib/ui/Carousel.js +552 -546
- package/lib/ui/Carousel.js.map +1 -1
- package/lib/ui/Checkbox.js +14 -13
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +83 -0
- package/lib/ui/CodeBlock.js.map +1 -0
- package/lib/ui/Command.js +114 -508
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/Dialog.js +2 -2
- package/lib/ui/Dialog.js.map +1 -1
- package/lib/ui/Drawer.js +14 -1150
- package/lib/ui/Drawer.js.map +1 -1
- package/lib/ui/DropdownMenu.js +2 -2
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/Form.js +6 -6
- package/lib/ui/Form.js.map +1 -1
- package/lib/ui/HoverCard.js +2 -2
- package/lib/ui/Input.js +2 -2
- package/lib/ui/Input.js.map +1 -1
- package/lib/ui/Label.js +3 -3
- package/lib/ui/Pagination.js +5 -5
- package/lib/ui/Pagination.js.map +1 -1
- package/lib/ui/Popover.js +2 -2
- package/lib/ui/Popover.js.map +1 -1
- package/lib/ui/Progress.js +2 -2
- package/lib/ui/Progress.js.map +1 -1
- package/lib/ui/RadioGroup.js +2 -2
- package/lib/ui/RadioGroup.js.map +1 -1
- package/lib/ui/ScrollArea.js +2 -2
- package/lib/ui/ScrollArea.js.map +1 -1
- package/lib/ui/Select.js +5 -5
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Skeleton.js +2 -2
- package/lib/ui/Skeleton.js.map +1 -1
- package/lib/ui/Slider.js +2 -2
- package/lib/ui/Stepper.js +6 -0
- package/lib/ui/Stepper.js.map +1 -0
- package/lib/ui/Switch.js +2 -2
- package/lib/ui/Switch.js.map +1 -1
- package/lib/ui/SyntaxHighlight.js +10 -0
- package/lib/ui/SyntaxHighlight.js.map +1 -0
- package/lib/ui/Tabs.js +11 -11
- package/lib/ui/Textarea.js +2 -2
- package/lib/ui/Textarea.js.map +1 -1
- package/lib/ui/Toggle.js +3 -3
- package/lib/ui/Toggle.js.map +1 -1
- package/lib/ui/ToggleGroup.js +2 -2
- package/lib/ui/ToggleGroup.js.map +1 -1
- package/lib/ui/Tooltip.js +2 -2
- package/lib/ui/util.js +6 -0
- package/lib/ui/util.js.map +1 -0
- package/lib/useExposedProps-DG8J6ewJ.js +9 -0
- package/lib/useExposedProps-DG8J6ewJ.js.map +1 -0
- package/lib/useLatest-hmRS46UF.js +11 -0
- package/lib/useLatest-hmRS46UF.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +33 -37
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +96 -56
- package/lib/zudoku.auth-clerk.js.map +1 -1
- package/lib/zudoku.auth-openid.js +562 -585
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +34 -1586
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.hooks.js +19 -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 +117 -0
- package/lib/zudoku.plugin-api-catalog.js.map +1 -0
- package/lib/zudoku.plugin-api-keys.js +112 -109
- package/lib/zudoku.plugin-api-keys.js.map +1 -1
- package/lib/zudoku.plugin-custom-pages.js +4 -4
- package/lib/zudoku.plugin-custom-pages.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +27 -50
- package/lib/zudoku.plugin-markdown.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +7 -6
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/lib/zudoku.plugin-redirect.js.map +1 -1
- package/lib/zudoku.plugin-search-inkeep.js +52 -24
- package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
- package/lib/zudoku.plugin-search-pagefind.js +230 -0
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -0
- package/lib/zudoku.plugins.js +14 -0
- package/lib/zudoku.plugins.js.map +1 -0
- package/package.json +154 -99
- package/src/app/ZuploBuildConfig.ts +33 -0
- package/src/app/demo-cdn.html +31 -31
- package/src/app/demo.html +1 -1
- package/src/app/demo.tsx +1 -2
- package/src/app/entry.client.tsx +67 -15
- package/src/app/entry.server.tsx +26 -15
- package/src/app/env.ts +35 -0
- package/src/app/main.css +155 -43
- package/src/app/main.tsx +63 -11
- package/src/app/sentry.ts +24 -0
- package/src/app/standalone.tsx +1 -2
- package/src/app/tailwind.ts +83 -48
- package/src/lib/MissingIcon.tsx +22 -0
- package/src/lib/authentication/AuthenticationPlugin.tsx +4 -1
- package/src/lib/authentication/authentication.ts +3 -1
- package/src/lib/authentication/components/CallbackHandler.tsx +12 -2
- package/src/lib/authentication/components/SignIn.tsx +35 -2
- package/src/lib/authentication/components/SignOut.tsx +3 -2
- package/src/lib/authentication/components/SignUp.tsx +35 -1
- package/src/lib/authentication/hook.ts +12 -1
- package/src/lib/authentication/providers/auth0.tsx +5 -7
- package/src/lib/authentication/providers/clerk.tsx +76 -17
- package/src/lib/authentication/providers/openid.tsx +68 -40
- package/src/lib/authentication/providers/supabase.tsx +157 -0
- package/src/lib/authentication/state.ts +9 -19
- package/src/lib/components/AnchorLink.tsx +13 -8
- package/src/lib/components/Autocomplete.tsx +113 -0
- package/src/lib/components/Banner.tsx +2 -1
- package/src/lib/components/Bootstrap.tsx +29 -29
- package/src/lib/components/BuildCheck.tsx +75 -0
- package/src/lib/components/Footer.tsx +136 -0
- package/src/lib/components/Header.tsx +66 -25
- package/src/lib/components/Heading.tsx +14 -14
- package/src/lib/components/InlineCode.tsx +13 -16
- package/src/lib/components/Layout.tsx +28 -59
- package/src/lib/components/Main.tsx +51 -0
- package/src/lib/components/Markdown.tsx +33 -29
- package/src/lib/components/MobileTopNavigation.tsx +30 -21
- package/src/lib/components/NotFoundPage.tsx +1 -1
- package/src/lib/components/Pagination.tsx +50 -0
- package/src/lib/components/PathRenderer.tsx +61 -0
- package/src/lib/components/ReactMarkdown.license.txt +21 -0
- package/src/lib/components/ReactMarkdown.tsx +264 -0
- package/src/lib/components/Search.tsx +17 -6
- package/src/lib/components/SlotletProvider.tsx +1 -1
- package/src/lib/components/StatusPage.tsx +91 -0
- package/src/lib/components/ThemeSwitch.tsx +29 -9
- package/src/lib/components/TopNavigation.tsx +53 -26
- package/src/lib/components/Zudoku.tsx +18 -7
- package/src/lib/components/cache.ts +23 -0
- package/src/lib/components/context/BypassProtectedRoutesContext.ts +3 -0
- package/src/lib/components/context/RouterEventsEmitter.tsx +19 -0
- package/src/lib/components/context/ViewportAnchorContext.tsx +34 -36
- package/src/lib/components/context/ZudokuContext.ts +30 -9
- package/src/lib/components/index.ts +24 -5
- package/src/lib/components/navigation/PoweredByZudoku.tsx +33 -0
- package/src/lib/components/navigation/Sidebar.tsx +38 -29
- package/src/lib/components/navigation/SidebarBadge.tsx +17 -12
- package/src/lib/components/navigation/SidebarCategory.tsx +65 -58
- package/src/lib/components/navigation/SidebarItem.tsx +30 -40
- package/src/lib/components/navigation/SidebarWrapper.tsx +42 -22
- package/src/lib/{plugins/markdown → components/navigation}/Toc.tsx +9 -18
- 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 +1 -1
- package/src/lib/core/RouteGuard.tsx +96 -0
- package/src/lib/core/ZudokuContext.ts +79 -21
- package/src/lib/core/plugins.ts +33 -7
- package/src/lib/errors/ErrorAlert.tsx +24 -17
- package/src/lib/errors/RouterError.tsx +1 -1
- package/src/lib/hooks/index.ts +5 -0
- package/src/lib/hooks/useEvent.test.tsx +149 -0
- package/src/lib/hooks/useEvent.ts +41 -0
- package/src/lib/icons.ts +1 -0
- package/src/lib/oas/graphql/circular.ts +58 -0
- package/src/lib/oas/graphql/index.ts +295 -101
- package/src/lib/oas/parser/dereference/index.ts +10 -4
- package/src/lib/oas/parser/index.ts +14 -30
- package/src/lib/oas/parser/upgrade/index.ts +103 -40
- package/src/lib/plugins/api-catalog/Catalog.tsx +73 -0
- package/src/lib/plugins/api-catalog/index.tsx +115 -0
- package/src/lib/plugins/api-keys/CreateApiKey.tsx +8 -4
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
- package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
- package/src/lib/plugins/api-keys/index.tsx +7 -1
- package/src/lib/plugins/custom-pages/index.tsx +1 -1
- package/src/lib/plugins/markdown/MdxPage.tsx +43 -41
- package/src/lib/plugins/markdown/index.tsx +5 -2
- package/src/lib/plugins/markdown/resolver.ts +2 -37
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +14 -8
- package/src/lib/plugins/openapi/ColorizedParam.tsx +29 -12
- package/src/lib/plugins/openapi/Endpoint.tsx +14 -12
- package/src/lib/plugins/openapi/OasProvider.tsx +51 -0
- package/src/lib/plugins/openapi/OperationList.tsx +232 -42
- package/src/lib/plugins/openapi/OperationListItem.tsx +122 -93
- package/src/lib/plugins/openapi/ParamInfos.tsx +90 -0
- package/src/lib/plugins/openapi/ParameterList.tsx +4 -0
- package/src/lib/plugins/openapi/ParameterListItem.tsx +65 -24
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +21 -2
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +15 -38
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +36 -64
- package/src/lib/plugins/openapi/SchemaList.tsx +163 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +120 -67
- package/src/lib/plugins/openapi/SidecarBox.tsx +4 -16
- package/src/lib/plugins/openapi/SidecarExamples.tsx +168 -0
- package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +29 -104
- package/src/lib/plugins/openapi/client/createServer.ts +6 -2
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +34 -7
- 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/ResponseContent.tsx +104 -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/gql.ts +36 -11
- package/src/lib/plugins/openapi/graphql/graphql.ts +172 -36
- package/src/lib/plugins/openapi/index.tsx +100 -98
- package/src/lib/plugins/openapi/interfaces.ts +58 -3
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +52 -0
- package/src/lib/plugins/openapi/playground/Headers.tsx +165 -36
- package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +74 -0
- package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +41 -0
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +13 -0
- package/src/lib/plugins/openapi/playground/PathParams.tsx +39 -64
- package/src/lib/plugins/openapi/playground/Playground.tsx +384 -244
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +6 -3
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +87 -89
- package/src/lib/plugins/openapi/playground/RequestLoginDialog.tsx +51 -0
- package/src/lib/plugins/openapi/playground/SubmitButton.tsx +75 -0
- package/src/lib/plugins/openapi/playground/rememberedIdentity.ts +26 -0
- package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +73 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +230 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +123 -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/processors/removeExtensions.test.ts +222 -0
- package/src/lib/plugins/openapi/processors/removeExtensions.ts +29 -0
- package/src/lib/plugins/openapi/processors/removeParameters.test.ts +182 -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/LogicalGroup/LogicalGroup.tsx +1 -8
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.tsx +3 -0
- package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.tsx +6 -3
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +39 -0
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +160 -0
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +105 -141
- package/src/lib/plugins/openapi/schema/utils.ts +32 -5
- package/src/lib/plugins/openapi/state.ts +36 -0
- package/src/lib/plugins/openapi/util/createSidebarCategory.tsx +37 -0
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +77 -12
- 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 +2 -2
- package/src/lib/plugins/search-inkeep/index.tsx +78 -23
- package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +164 -0
- package/src/lib/plugins/search-pagefind/ResultList.tsx +105 -0
- package/src/lib/plugins/search-pagefind/get-results.tsx +75 -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 +133 -0
- package/src/lib/ui/Badge.tsx +2 -1
- package/src/lib/ui/Button.tsx +4 -2
- package/src/lib/ui/Callout.tsx +29 -10
- package/src/lib/ui/Card.tsx +1 -1
- package/src/lib/ui/Checkbox.tsx +2 -1
- package/src/lib/ui/CodeBlock.tsx +102 -0
- package/src/lib/ui/Command.tsx +45 -3
- package/src/lib/ui/Input.tsx +1 -2
- package/src/lib/ui/Select.tsx +2 -2
- package/src/lib/ui/Stepper.tsx +8 -0
- package/src/lib/ui/SyntaxHighlight.tsx +27 -0
- package/src/lib/ui/util.tsx +3 -0
- package/src/lib/util/MdxComponents.tsx +37 -23
- package/src/lib/util/createVariantComponent.tsx +2 -2
- package/src/lib/util/detectOS.ts +9 -0
- package/src/lib/util/ensureArray.ts +3 -0
- 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/scrollIntoViewIfNeeded.ts +18 -0
- package/src/lib/util/traverse.ts +34 -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/useExposedProps.tsx +1 -1
- package/src/lib/util/useLatest.ts +18 -0
- package/src/lib/util/useOnScreen.ts +6 -4
- package/src/lib/util/useScrollToAnchor.ts +48 -39
- 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/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/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/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/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.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/client.d.ts +0 -1
- package/dist/lib/components/SyntaxHighlight.d.ts +0 -11
- package/dist/lib/components/SyntaxHighlight.js +0 -57
- 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/plugins/markdown/Toc.js.map +0 -1
- package/dist/lib/plugins/openapi/Route.d.ts +0 -6
- package/dist/lib/plugins/openapi/Route.js +0 -6
- package/dist/lib/plugins/openapi/Route.js.map +0 -1
- package/dist/lib/plugins/openapi/client/worker.d.ts +0 -4
- package/dist/lib/plugins/openapi/client/worker.js +0 -29
- package/dist/lib/plugins/openapi/client/worker.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/schema/SchemaComponents.js +0 -28
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/dist/lib/plugins/openapi-worker.d.ts +0 -1
- package/dist/lib/plugins/openapi-worker.js +0 -8
- 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/vite/plugin-custom-css.js +0 -55
- package/dist/vite/plugin-custom-css.js.map +0 -1
- package/dist/vite/prerender.d.ts +0 -21
- package/dist/vite/prerender.js +0 -89
- package/dist/vite/prerender.js.map +0 -1
- package/lib/AnchorLink-CDlhr8gL.js +0 -706
- package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
- package/lib/AuthenticationPlugin-DeGDVa1r.js +0 -56
- package/lib/AuthenticationPlugin-DeGDVa1r.js.map +0 -1
- package/lib/Button-jK0EsymC.js +0 -48
- package/lib/Button-jK0EsymC.js.map +0 -1
- package/lib/Dialog-k70Qfukb.js +0 -67
- package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
- package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
- package/lib/Markdown-ievDDhFT.js +0 -15192
- package/lib/Markdown-ievDDhFT.js.map +0 -1
- package/lib/MdxPage-Bwn-VSsH.js +0 -174
- package/lib/MdxPage-Bwn-VSsH.js.map +0 -1
- package/lib/OperationList-BwBl1xrD.js +0 -4691
- package/lib/OperationList-BwBl1xrD.js.map +0 -1
- package/lib/Route-DlG_HTMu.js +0 -11
- package/lib/Route-DlG_HTMu.js.map +0 -1
- package/lib/Select-O9ZM3ZgX.js +0 -223
- package/lib/Select-O9ZM3ZgX.js.map +0 -1
- package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
- package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
- package/lib/SlotletProvider-DyomlzGx.js +0 -252
- package/lib/SlotletProvider-DyomlzGx.js.map +0 -1
- package/lib/SyntaxHighlight-DkLOsjHS.js +0 -2983
- package/lib/SyntaxHighlight-DkLOsjHS.js.map +0 -1
- package/lib/__vite-browser-external-BYRIRx8p.js +0 -9
- package/lib/__vite-browser-external-BYRIRx8p.js.map +0 -1
- package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
- package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
- package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
- package/lib/assets/worker-CPsGZsve.js +0 -18201
- package/lib/assets/worker-CPsGZsve.js.map +0 -1
- package/lib/cn-BmFQLtkS.js.map +0 -1
- package/lib/context-D1nXWxm7.js +0 -22
- package/lib/context-D1nXWxm7.js.map +0 -1
- package/lib/createServer-DK-g7kbB.js +0 -16089
- package/lib/createServer-DK-g7kbB.js.map +0 -1
- package/lib/hook-hEqe7fPB.js +0 -227
- package/lib/hook-hEqe7fPB.js.map +0 -1
- package/lib/index-BuAyrJe3.js +0 -46
- package/lib/index-BuAyrJe3.js.map +0 -1
- package/lib/index-CkwDvuPt.js +0 -4820
- package/lib/index-CkwDvuPt.js.map +0 -1
- package/lib/index-Czzd9rjU.js +0 -899
- package/lib/index-Czzd9rjU.js.map +0 -1
- package/lib/index-DNxQ_rCt.js +0 -1273
- package/lib/index-DNxQ_rCt.js.map +0 -1
- package/lib/index-Yn8c3UWE.js +0 -921
- package/lib/index-Yn8c3UWE.js.map +0 -1
- package/lib/index.esm-C5mr_sKO.js +0 -1193
- package/lib/index.esm-C5mr_sKO.js.map +0 -1
- package/lib/invariant-Caa8-XvF.js +0 -26
- 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-lfyopgBI.js +0 -3024
- package/lib/router-lfyopgBI.js.map +0 -1
- package/lib/state-tsXBLONe.js +0 -203
- package/lib/state-tsXBLONe.js.map +0 -1
- package/lib/useExposedProps-CTPtylCV.js +0 -10
- package/lib/useExposedProps-CTPtylCV.js.map +0 -1
- package/lib/utils-DcpDOncX.js +0 -1218
- package/lib/utils-DcpDOncX.js.map +0 -1
- package/lib/zudoku.openapi-worker.js +0 -15
- package/lib/zudoku.openapi-worker.js.map +0 -1
- package/src/lib/components/SyntaxHighlight.tsx +0 -161
- package/src/lib/components/context/PluginSystem.ts +0 -0
- package/src/lib/plugins/openapi/Route.tsx +0 -19
- package/src/lib/plugins/openapi/client/worker.ts +0 -44
- package/src/lib/plugins/openapi/playground/ResponseTab.tsx +0 -76
- package/src/lib/plugins/openapi/schema/SchemaComponents.tsx +0 -126
- package/src/lib/plugins/openapi-worker.ts +0 -11
- package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
- /package/dist/lib/{plugins/markdown → components/navigation}/Toc.d.ts +0 -0
- /package/dist/lib/{components/context/PluginSystem.d.ts → hooks/useEvent.test.d.ts} +0 -0
package/lib/zudoku.components.js
CHANGED
|
@@ -1,1589 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return l(e, t, s);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
import { a as Be, A as xt, H as de, M as yt, u as bt } from "./AnchorLink-CDlhr8gL.js";
|
|
17
|
-
import { d as jt, R as wt, N as re, u as Nt, L as he } from "./index-Yn8c3UWE.js";
|
|
18
|
-
import { u as Ct } from "./state-tsXBLONe.js";
|
|
19
|
-
import { E as ze, S as O, a as St, R as Pt } from "./SlotletProvider-DyomlzGx.js";
|
|
20
|
-
import { j as a } from "./jsx-runtime-B6kdoens.js";
|
|
21
|
-
import { Button as kt } from "./ui/Button.js";
|
|
22
|
-
import { Callout as Et } from "./ui/Callout.js";
|
|
23
|
-
import { S as He, l as Le, Q as At, n as w, m as Se, o as Pe, p as M, q as Ot, r as Mt, t as Dt, v as Rt, w as ke, x as Ee, y as Tt, h as Ae, z as Oe, A as It, d as _t, B as Ue, C as Ft, j as q, u as Q, D as Ke, E as Qt, g as qt, Z as Bt } from "./utils-DcpDOncX.js";
|
|
24
|
-
import { M as zt, u as ae } from "./hook-hEqe7fPB.js";
|
|
25
|
-
import * as G from "react";
|
|
26
|
-
import Ht, { useState as F, StrictMode as $e, useEffect as B, useRef as fe, useCallback as Lt, Suspense as me, memo as Ve, forwardRef as Ut, createContext as Ze, Component as Kt, createElement as Me, useMemo as se, useContext as $t, Fragment as Vt } from "react";
|
|
27
|
-
import { a as ge } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
28
|
-
import { B as Zt } from "./router-lfyopgBI.js";
|
|
29
|
-
import { I as Wt, y as Yt, u as pe, j as ve, O as We } from "./index-Czzd9rjU.js";
|
|
30
|
-
import { S as le, a as ne } from "./SidebarBadge-DxFJcJ6V.js";
|
|
31
|
-
import { C as xe } from "./ClientOnly-E7hGysn1.js";
|
|
32
|
-
import { ChevronRightIcon as Jt, ExternalLinkIcon as Xt, CircleXIcon as Gt, SearchIcon as er, MoonStarIcon as tr, SunIcon as rr, MenuIcon as ar, PanelLeftIcon as sr } from "lucide-react";
|
|
33
|
-
import { Drawer as Ye, DrawerTrigger as Je, DrawerContent as Xe, DrawerTitle as Ge } from "./ui/Drawer.js";
|
|
34
|
-
import { c as R } from "./cn-BmFQLtkS.js";
|
|
35
|
-
import { u as ye, a as nr, V as ir } from "./Markdown-ievDDhFT.js";
|
|
36
|
-
import { c as or, a as lr } from "./index-BuAyrJe3.js";
|
|
37
|
-
import * as ie from "@radix-ui/react-collapsible";
|
|
38
|
-
import { B as ce } from "./Button-jK0EsymC.js";
|
|
39
|
-
import { DropdownMenu as cr, DropdownMenuTrigger as ur, DropdownMenuContent as dr, DropdownMenuLabel as hr, DropdownMenuSeparator as fr, DropdownMenuSub as mr, DropdownMenuSubTrigger as gr, DropdownMenuPortal as pr, DropdownMenuSubContent as vr, DropdownMenuItem as xr } from "./ui/DropdownMenu.js";
|
|
40
|
-
import { VisuallyHidden as et } from "@radix-ui/react-visually-hidden";
|
|
41
|
-
import { z as yr, J as br } from "./SyntaxHighlight-DkLOsjHS.js";
|
|
42
|
-
import { Z as jr } from "./invariant-Caa8-XvF.js";
|
|
43
|
-
import { S as wr } from "./Spinner-3cQDBVGr.js";
|
|
44
|
-
function Nr({ error: e }) {
|
|
45
|
-
return /* @__PURE__ */ a.jsx(ze, { error: e });
|
|
46
|
-
}
|
|
47
|
-
var E, Fe, Cr = (Fe = class extends He {
|
|
48
|
-
constructor(t = {}) {
|
|
49
|
-
super();
|
|
50
|
-
C(this, E);
|
|
51
|
-
this.config = t, y(this, E, /* @__PURE__ */ new Map());
|
|
52
|
-
}
|
|
53
|
-
build(t, r, s) {
|
|
54
|
-
const n = r.queryKey, o = r.queryHash ?? Le(n, r);
|
|
55
|
-
let i = this.get(o);
|
|
56
|
-
return i || (i = new At({
|
|
57
|
-
cache: this,
|
|
58
|
-
queryKey: n,
|
|
59
|
-
queryHash: o,
|
|
60
|
-
options: t.defaultQueryOptions(r),
|
|
61
|
-
state: s,
|
|
62
|
-
defaultOptions: t.getQueryDefaults(n)
|
|
63
|
-
}), this.add(i)), i;
|
|
64
|
-
}
|
|
65
|
-
add(t) {
|
|
66
|
-
l(this, E).has(t.queryHash) || (l(this, E).set(t.queryHash, t), this.notify({
|
|
67
|
-
type: "added",
|
|
68
|
-
query: t
|
|
69
|
-
}));
|
|
70
|
-
}
|
|
71
|
-
remove(t) {
|
|
72
|
-
const r = l(this, E).get(t.queryHash);
|
|
73
|
-
r && (t.destroy(), r === t && l(this, E).delete(t.queryHash), this.notify({ type: "removed", query: t }));
|
|
74
|
-
}
|
|
75
|
-
clear() {
|
|
76
|
-
w.batch(() => {
|
|
77
|
-
this.getAll().forEach((t) => {
|
|
78
|
-
this.remove(t);
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
get(t) {
|
|
83
|
-
return l(this, E).get(t);
|
|
84
|
-
}
|
|
85
|
-
getAll() {
|
|
86
|
-
return [...l(this, E).values()];
|
|
87
|
-
}
|
|
88
|
-
find(t) {
|
|
89
|
-
const r = { exact: !0, ...t };
|
|
90
|
-
return this.getAll().find(
|
|
91
|
-
(s) => Se(r, s)
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
findAll(t = {}) {
|
|
95
|
-
const r = this.getAll();
|
|
96
|
-
return Object.keys(t).length > 0 ? r.filter((s) => Se(t, s)) : r;
|
|
97
|
-
}
|
|
98
|
-
notify(t) {
|
|
99
|
-
w.batch(() => {
|
|
100
|
-
this.listeners.forEach((r) => {
|
|
101
|
-
r(t);
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
onFocus() {
|
|
106
|
-
w.batch(() => {
|
|
107
|
-
this.getAll().forEach((t) => {
|
|
108
|
-
t.onFocus();
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
onOnline() {
|
|
113
|
-
w.batch(() => {
|
|
114
|
-
this.getAll().forEach((t) => {
|
|
115
|
-
t.onOnline();
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
}, E = new WeakMap(), Fe), j, Z, Qe, Sr = (Qe = class extends He {
|
|
120
|
-
constructor(t = {}) {
|
|
121
|
-
super();
|
|
122
|
-
C(this, j);
|
|
123
|
-
C(this, Z);
|
|
124
|
-
this.config = t, y(this, j, /* @__PURE__ */ new Map()), y(this, Z, Date.now());
|
|
125
|
-
}
|
|
126
|
-
build(t, r, s) {
|
|
127
|
-
const n = new zt({
|
|
128
|
-
mutationCache: this,
|
|
129
|
-
mutationId: ++X(this, Z)._,
|
|
130
|
-
options: t.defaultMutationOptions(r),
|
|
131
|
-
state: s
|
|
132
|
-
});
|
|
133
|
-
return this.add(n), n;
|
|
134
|
-
}
|
|
135
|
-
add(t) {
|
|
136
|
-
const r = ee(t), s = l(this, j).get(r) ?? [];
|
|
137
|
-
s.push(t), l(this, j).set(r, s), this.notify({ type: "added", mutation: t });
|
|
138
|
-
}
|
|
139
|
-
remove(t) {
|
|
140
|
-
var s;
|
|
141
|
-
const r = ee(t);
|
|
142
|
-
if (l(this, j).has(r)) {
|
|
143
|
-
const n = (s = l(this, j).get(r)) == null ? void 0 : s.filter((o) => o !== t);
|
|
144
|
-
n && (n.length === 0 ? l(this, j).delete(r) : l(this, j).set(r, n));
|
|
145
|
-
}
|
|
146
|
-
this.notify({ type: "removed", mutation: t });
|
|
147
|
-
}
|
|
148
|
-
canRun(t) {
|
|
149
|
-
var s;
|
|
150
|
-
const r = (s = l(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n.state.status === "pending");
|
|
151
|
-
return !r || r === t;
|
|
152
|
-
}
|
|
153
|
-
runNext(t) {
|
|
154
|
-
var s;
|
|
155
|
-
const r = (s = l(this, j).get(ee(t))) == null ? void 0 : s.find((n) => n !== t && n.state.isPaused);
|
|
156
|
-
return (r == null ? void 0 : r.continue()) ?? Promise.resolve();
|
|
157
|
-
}
|
|
158
|
-
clear() {
|
|
159
|
-
w.batch(() => {
|
|
160
|
-
this.getAll().forEach((t) => {
|
|
161
|
-
this.remove(t);
|
|
162
|
-
});
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
getAll() {
|
|
166
|
-
return [...l(this, j).values()].flat();
|
|
167
|
-
}
|
|
168
|
-
find(t) {
|
|
169
|
-
const r = { exact: !0, ...t };
|
|
170
|
-
return this.getAll().find(
|
|
171
|
-
(s) => Pe(r, s)
|
|
172
|
-
);
|
|
173
|
-
}
|
|
174
|
-
findAll(t = {}) {
|
|
175
|
-
return this.getAll().filter((r) => Pe(t, r));
|
|
176
|
-
}
|
|
177
|
-
notify(t) {
|
|
178
|
-
w.batch(() => {
|
|
179
|
-
this.listeners.forEach((r) => {
|
|
180
|
-
r(t);
|
|
181
|
-
});
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
resumePausedMutations() {
|
|
185
|
-
const t = this.getAll().filter((r) => r.state.isPaused);
|
|
186
|
-
return w.batch(
|
|
187
|
-
() => Promise.all(
|
|
188
|
-
t.map((r) => r.continue().catch(M))
|
|
189
|
-
)
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
}, j = new WeakMap(), Z = new WeakMap(), Qe);
|
|
193
|
-
function ee(e) {
|
|
194
|
-
var t;
|
|
195
|
-
return ((t = e.options.scope) == null ? void 0 : t.id) ?? String(e.mutationId);
|
|
196
|
-
}
|
|
197
|
-
function De(e) {
|
|
198
|
-
return {
|
|
199
|
-
onFetch: (t, r) => {
|
|
200
|
-
var p, m, f, x, v;
|
|
201
|
-
const s = t.options, n = (f = (m = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : m.fetchMore) == null ? void 0 : f.direction, o = ((x = t.state.data) == null ? void 0 : x.pages) || [], i = ((v = t.state.data) == null ? void 0 : v.pageParams) || [];
|
|
202
|
-
let c = { pages: [], pageParams: [] }, u = 0;
|
|
203
|
-
const d = async () => {
|
|
204
|
-
let h = !1;
|
|
205
|
-
const S = (b) => {
|
|
206
|
-
Object.defineProperty(b, "signal", {
|
|
207
|
-
enumerable: !0,
|
|
208
|
-
get: () => (t.signal.aborted ? h = !0 : t.signal.addEventListener("abort", () => {
|
|
209
|
-
h = !0;
|
|
210
|
-
}), t.signal)
|
|
211
|
-
});
|
|
212
|
-
}, Y = Ot(t.options, t.fetchOptions), K = async (b, P, $) => {
|
|
213
|
-
if (h)
|
|
214
|
-
return Promise.reject();
|
|
215
|
-
if (P == null && b.pages.length)
|
|
216
|
-
return Promise.resolve(b);
|
|
217
|
-
const J = {
|
|
218
|
-
queryKey: t.queryKey,
|
|
219
|
-
pageParam: P,
|
|
220
|
-
direction: $ ? "backward" : "forward",
|
|
221
|
-
meta: t.options.meta
|
|
222
|
-
};
|
|
223
|
-
S(J);
|
|
224
|
-
const gt = await Y(
|
|
225
|
-
J
|
|
226
|
-
), { maxPages: je } = t.options, we = $ ? Mt : Dt;
|
|
227
|
-
return {
|
|
228
|
-
pages: we(b.pages, gt, je),
|
|
229
|
-
pageParams: we(b.pageParams, P, je)
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
if (n && o.length) {
|
|
233
|
-
const b = n === "backward", P = b ? Pr : Re, $ = {
|
|
234
|
-
pages: o,
|
|
235
|
-
pageParams: i
|
|
236
|
-
}, J = P(s, $);
|
|
237
|
-
c = await K($, J, b);
|
|
238
|
-
} else {
|
|
239
|
-
const b = e ?? o.length;
|
|
240
|
-
do {
|
|
241
|
-
const P = u === 0 ? i[0] ?? s.initialPageParam : Re(s, c);
|
|
242
|
-
if (u > 0 && P == null)
|
|
243
|
-
break;
|
|
244
|
-
c = await K(c, P), u++;
|
|
245
|
-
} while (u < b);
|
|
246
|
-
}
|
|
247
|
-
return c;
|
|
248
|
-
};
|
|
249
|
-
t.options.persister ? t.fetchFn = () => {
|
|
250
|
-
var h, S;
|
|
251
|
-
return (S = (h = t.options).persister) == null ? void 0 : S.call(
|
|
252
|
-
h,
|
|
253
|
-
d,
|
|
254
|
-
{
|
|
255
|
-
queryKey: t.queryKey,
|
|
256
|
-
meta: t.options.meta,
|
|
257
|
-
signal: t.signal
|
|
258
|
-
},
|
|
259
|
-
r
|
|
260
|
-
);
|
|
261
|
-
} : t.fetchFn = d;
|
|
262
|
-
}
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
function Re(e, { pages: t, pageParams: r }) {
|
|
266
|
-
const s = t.length - 1;
|
|
267
|
-
return t.length > 0 ? e.getNextPageParam(
|
|
268
|
-
t[s],
|
|
269
|
-
t,
|
|
270
|
-
r[s],
|
|
271
|
-
r
|
|
272
|
-
) : void 0;
|
|
273
|
-
}
|
|
274
|
-
function Pr(e, { pages: t, pageParams: r }) {
|
|
275
|
-
var s;
|
|
276
|
-
return t.length > 0 ? (s = e.getPreviousPageParam) == null ? void 0 : s.call(e, t[0], t, r[0], r) : void 0;
|
|
277
|
-
}
|
|
278
|
-
var g, T, I, z, H, _, L, U, qe, kr = (qe = class {
|
|
279
|
-
constructor(e = {}) {
|
|
280
|
-
C(this, g);
|
|
281
|
-
C(this, T);
|
|
282
|
-
C(this, I);
|
|
283
|
-
C(this, z);
|
|
284
|
-
C(this, H);
|
|
285
|
-
C(this, _);
|
|
286
|
-
C(this, L);
|
|
287
|
-
C(this, U);
|
|
288
|
-
y(this, g, e.queryCache || new Cr()), y(this, T, e.mutationCache || new Sr()), y(this, I, e.defaultOptions || {}), y(this, z, /* @__PURE__ */ new Map()), y(this, H, /* @__PURE__ */ new Map()), y(this, _, 0);
|
|
289
|
-
}
|
|
290
|
-
mount() {
|
|
291
|
-
X(this, _)._++, l(this, _) === 1 && (y(this, L, Rt.subscribe(async (e) => {
|
|
292
|
-
e && (await this.resumePausedMutations(), l(this, g).onFocus());
|
|
293
|
-
})), y(this, U, ke.subscribe(async (e) => {
|
|
294
|
-
e && (await this.resumePausedMutations(), l(this, g).onOnline());
|
|
295
|
-
})));
|
|
296
|
-
}
|
|
297
|
-
unmount() {
|
|
298
|
-
var e, t;
|
|
299
|
-
X(this, _)._--, l(this, _) === 0 && ((e = l(this, L)) == null || e.call(this), y(this, L, void 0), (t = l(this, U)) == null || t.call(this), y(this, U, void 0));
|
|
300
|
-
}
|
|
301
|
-
isFetching(e) {
|
|
302
|
-
return l(this, g).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
303
|
-
}
|
|
304
|
-
isMutating(e) {
|
|
305
|
-
return l(this, T).findAll({ ...e, status: "pending" }).length;
|
|
306
|
-
}
|
|
307
|
-
getQueryData(e) {
|
|
308
|
-
var r;
|
|
309
|
-
const t = this.defaultQueryOptions({ queryKey: e });
|
|
310
|
-
return (r = l(this, g).get(t.queryHash)) == null ? void 0 : r.state.data;
|
|
311
|
-
}
|
|
312
|
-
ensureQueryData(e) {
|
|
313
|
-
const t = this.getQueryData(e.queryKey);
|
|
314
|
-
if (t === void 0)
|
|
315
|
-
return this.fetchQuery(e);
|
|
316
|
-
{
|
|
317
|
-
const r = this.defaultQueryOptions(e), s = l(this, g).build(this, r);
|
|
318
|
-
return e.revalidateIfStale && s.isStaleByTime(Ee(r.staleTime, s)) && this.prefetchQuery(r), Promise.resolve(t);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
getQueriesData(e) {
|
|
322
|
-
return l(this, g).findAll(e).map(({ queryKey: t, state: r }) => {
|
|
323
|
-
const s = r.data;
|
|
324
|
-
return [t, s];
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
setQueryData(e, t, r) {
|
|
328
|
-
const s = this.defaultQueryOptions({ queryKey: e }), n = l(this, g).get(
|
|
329
|
-
s.queryHash
|
|
330
|
-
), o = n == null ? void 0 : n.state.data, i = Tt(t, o);
|
|
331
|
-
if (i !== void 0)
|
|
332
|
-
return l(this, g).build(this, s).setData(i, { ...r, manual: !0 });
|
|
333
|
-
}
|
|
334
|
-
setQueriesData(e, t, r) {
|
|
335
|
-
return w.batch(
|
|
336
|
-
() => l(this, g).findAll(e).map(({ queryKey: s }) => [
|
|
337
|
-
s,
|
|
338
|
-
this.setQueryData(s, t, r)
|
|
339
|
-
])
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
getQueryState(e) {
|
|
343
|
-
var r;
|
|
344
|
-
const t = this.defaultQueryOptions({ queryKey: e });
|
|
345
|
-
return (r = l(this, g).get(t.queryHash)) == null ? void 0 : r.state;
|
|
346
|
-
}
|
|
347
|
-
removeQueries(e) {
|
|
348
|
-
const t = l(this, g);
|
|
349
|
-
w.batch(() => {
|
|
350
|
-
t.findAll(e).forEach((r) => {
|
|
351
|
-
t.remove(r);
|
|
352
|
-
});
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
resetQueries(e, t) {
|
|
356
|
-
const r = l(this, g), s = {
|
|
357
|
-
type: "active",
|
|
358
|
-
...e
|
|
359
|
-
};
|
|
360
|
-
return w.batch(() => (r.findAll(e).forEach((n) => {
|
|
361
|
-
n.reset();
|
|
362
|
-
}), this.refetchQueries(s, t)));
|
|
363
|
-
}
|
|
364
|
-
cancelQueries(e = {}, t = {}) {
|
|
365
|
-
const r = { revert: !0, ...t }, s = w.batch(
|
|
366
|
-
() => l(this, g).findAll(e).map((n) => n.cancel(r))
|
|
367
|
-
);
|
|
368
|
-
return Promise.all(s).then(M).catch(M);
|
|
369
|
-
}
|
|
370
|
-
invalidateQueries(e = {}, t = {}) {
|
|
371
|
-
return w.batch(() => {
|
|
372
|
-
if (l(this, g).findAll(e).forEach((s) => {
|
|
373
|
-
s.invalidate();
|
|
374
|
-
}), e.refetchType === "none")
|
|
375
|
-
return Promise.resolve();
|
|
376
|
-
const r = {
|
|
377
|
-
...e,
|
|
378
|
-
type: e.refetchType ?? e.type ?? "active"
|
|
379
|
-
};
|
|
380
|
-
return this.refetchQueries(r, t);
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
refetchQueries(e = {}, t) {
|
|
384
|
-
const r = {
|
|
385
|
-
...t,
|
|
386
|
-
cancelRefetch: (t == null ? void 0 : t.cancelRefetch) ?? !0
|
|
387
|
-
}, s = w.batch(
|
|
388
|
-
() => l(this, g).findAll(e).filter((n) => !n.isDisabled()).map((n) => {
|
|
389
|
-
let o = n.fetch(void 0, r);
|
|
390
|
-
return r.throwOnError || (o = o.catch(M)), n.state.fetchStatus === "paused" ? Promise.resolve() : o;
|
|
391
|
-
})
|
|
392
|
-
);
|
|
393
|
-
return Promise.all(s).then(M);
|
|
394
|
-
}
|
|
395
|
-
fetchQuery(e) {
|
|
396
|
-
const t = this.defaultQueryOptions(e);
|
|
397
|
-
t.retry === void 0 && (t.retry = !1);
|
|
398
|
-
const r = l(this, g).build(this, t);
|
|
399
|
-
return r.isStaleByTime(
|
|
400
|
-
Ee(t.staleTime, r)
|
|
401
|
-
) ? r.fetch(t) : Promise.resolve(r.state.data);
|
|
402
|
-
}
|
|
403
|
-
prefetchQuery(e) {
|
|
404
|
-
return this.fetchQuery(e).then(M).catch(M);
|
|
405
|
-
}
|
|
406
|
-
fetchInfiniteQuery(e) {
|
|
407
|
-
return e.behavior = De(e.pages), this.fetchQuery(e);
|
|
408
|
-
}
|
|
409
|
-
prefetchInfiniteQuery(e) {
|
|
410
|
-
return this.fetchInfiniteQuery(e).then(M).catch(M);
|
|
411
|
-
}
|
|
412
|
-
ensureInfiniteQueryData(e) {
|
|
413
|
-
return e.behavior = De(e.pages), this.ensureQueryData(e);
|
|
414
|
-
}
|
|
415
|
-
resumePausedMutations() {
|
|
416
|
-
return ke.isOnline() ? l(this, T).resumePausedMutations() : Promise.resolve();
|
|
417
|
-
}
|
|
418
|
-
getQueryCache() {
|
|
419
|
-
return l(this, g);
|
|
420
|
-
}
|
|
421
|
-
getMutationCache() {
|
|
422
|
-
return l(this, T);
|
|
423
|
-
}
|
|
424
|
-
getDefaultOptions() {
|
|
425
|
-
return l(this, I);
|
|
426
|
-
}
|
|
427
|
-
setDefaultOptions(e) {
|
|
428
|
-
y(this, I, e);
|
|
429
|
-
}
|
|
430
|
-
setQueryDefaults(e, t) {
|
|
431
|
-
l(this, z).set(Ae(e), {
|
|
432
|
-
queryKey: e,
|
|
433
|
-
defaultOptions: t
|
|
434
|
-
});
|
|
435
|
-
}
|
|
436
|
-
getQueryDefaults(e) {
|
|
437
|
-
const t = [...l(this, z).values()];
|
|
438
|
-
let r = {};
|
|
439
|
-
return t.forEach((s) => {
|
|
440
|
-
Oe(e, s.queryKey) && (r = { ...r, ...s.defaultOptions });
|
|
441
|
-
}), r;
|
|
442
|
-
}
|
|
443
|
-
setMutationDefaults(e, t) {
|
|
444
|
-
l(this, H).set(Ae(e), {
|
|
445
|
-
mutationKey: e,
|
|
446
|
-
defaultOptions: t
|
|
447
|
-
});
|
|
448
|
-
}
|
|
449
|
-
getMutationDefaults(e) {
|
|
450
|
-
const t = [...l(this, H).values()];
|
|
451
|
-
let r = {};
|
|
452
|
-
return t.forEach((s) => {
|
|
453
|
-
Oe(e, s.mutationKey) && (r = { ...r, ...s.defaultOptions });
|
|
454
|
-
}), r;
|
|
455
|
-
}
|
|
456
|
-
defaultQueryOptions(e) {
|
|
457
|
-
if (e._defaulted)
|
|
458
|
-
return e;
|
|
459
|
-
const t = {
|
|
460
|
-
...l(this, I).queries,
|
|
461
|
-
...this.getQueryDefaults(e.queryKey),
|
|
462
|
-
...e,
|
|
463
|
-
_defaulted: !0
|
|
464
|
-
};
|
|
465
|
-
return t.queryHash || (t.queryHash = Le(
|
|
466
|
-
t.queryKey,
|
|
467
|
-
t
|
|
468
|
-
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.enabled !== !0 && t.queryFn === It && (t.enabled = !1), t;
|
|
469
|
-
}
|
|
470
|
-
defaultMutationOptions(e) {
|
|
471
|
-
return e != null && e._defaulted ? e : {
|
|
472
|
-
...l(this, I).mutations,
|
|
473
|
-
...(e == null ? void 0 : e.mutationKey) && this.getMutationDefaults(e.mutationKey),
|
|
474
|
-
...e,
|
|
475
|
-
_defaulted: !0
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
clear() {
|
|
479
|
-
l(this, g).clear(), l(this, T).clear();
|
|
480
|
-
}
|
|
481
|
-
}, g = new WeakMap(), T = new WeakMap(), I = new WeakMap(), z = new WeakMap(), H = new WeakMap(), _ = new WeakMap(), L = new WeakMap(), U = new WeakMap(), qe);
|
|
482
|
-
function Er(e) {
|
|
483
|
-
return e;
|
|
484
|
-
}
|
|
485
|
-
function Te(e, t, r) {
|
|
486
|
-
var u, d;
|
|
487
|
-
if (typeof t != "object" || t === null)
|
|
488
|
-
return;
|
|
489
|
-
const s = e.getMutationCache(), n = e.getQueryCache(), o = ((u = r == null ? void 0 : r.defaultOptions) == null ? void 0 : u.deserializeData) ?? ((d = e.getDefaultOptions().hydrate) == null ? void 0 : d.deserializeData) ?? Er, i = t.mutations || [], c = t.queries || [];
|
|
490
|
-
i.forEach(({ state: p, ...m }) => {
|
|
491
|
-
var f, x;
|
|
492
|
-
s.build(
|
|
493
|
-
e,
|
|
494
|
-
{
|
|
495
|
-
...(f = e.getDefaultOptions().hydrate) == null ? void 0 : f.mutations,
|
|
496
|
-
...(x = r == null ? void 0 : r.defaultOptions) == null ? void 0 : x.mutations,
|
|
497
|
-
...m
|
|
498
|
-
},
|
|
499
|
-
p
|
|
500
|
-
);
|
|
501
|
-
}), c.forEach(({ queryKey: p, state: m, queryHash: f, meta: x, promise: v }) => {
|
|
502
|
-
var Y, K;
|
|
503
|
-
let h = n.get(f);
|
|
504
|
-
const S = m.data === void 0 ? m.data : o(m.data);
|
|
505
|
-
if (h) {
|
|
506
|
-
if (h.state.dataUpdatedAt < m.dataUpdatedAt) {
|
|
507
|
-
const { fetchStatus: b, ...P } = m;
|
|
508
|
-
h.setState({
|
|
509
|
-
...P,
|
|
510
|
-
data: S
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
} else
|
|
514
|
-
h = n.build(
|
|
515
|
-
e,
|
|
516
|
-
{
|
|
517
|
-
...(Y = e.getDefaultOptions().hydrate) == null ? void 0 : Y.queries,
|
|
518
|
-
...(K = r == null ? void 0 : r.defaultOptions) == null ? void 0 : K.queries,
|
|
519
|
-
queryKey: p,
|
|
520
|
-
queryHash: f,
|
|
521
|
-
meta: x
|
|
522
|
-
},
|
|
523
|
-
// Reset fetch status to idle to avoid
|
|
524
|
-
// query being stuck in fetching state upon hydration
|
|
525
|
-
{
|
|
526
|
-
...m,
|
|
527
|
-
data: S,
|
|
528
|
-
fetchStatus: "idle"
|
|
529
|
-
}
|
|
530
|
-
);
|
|
531
|
-
if (v) {
|
|
532
|
-
const b = Promise.resolve(v).then(o);
|
|
533
|
-
h.fetch(void 0, { initialPromise: b });
|
|
534
|
-
}
|
|
535
|
-
});
|
|
536
|
-
}
|
|
537
|
-
var Ar = ({
|
|
538
|
-
children: e,
|
|
539
|
-
options: t = {},
|
|
540
|
-
state: r,
|
|
541
|
-
queryClient: s
|
|
542
|
-
}) => {
|
|
543
|
-
const n = _t(s), [o, i] = G.useState(), c = G.useRef(t);
|
|
544
|
-
return c.current = t, G.useMemo(() => {
|
|
545
|
-
if (r) {
|
|
546
|
-
if (typeof r != "object")
|
|
547
|
-
return;
|
|
548
|
-
const u = n.getQueryCache(), d = r.queries || [], p = [], m = [];
|
|
549
|
-
for (const f of d) {
|
|
550
|
-
const x = u.get(f.queryHash);
|
|
551
|
-
if (!x)
|
|
552
|
-
p.push(f);
|
|
553
|
-
else {
|
|
554
|
-
const v = f.state.dataUpdatedAt > x.state.dataUpdatedAt, h = o == null ? void 0 : o.find(
|
|
555
|
-
(S) => S.queryHash === f.queryHash
|
|
556
|
-
);
|
|
557
|
-
v && (!h || f.state.dataUpdatedAt > h.state.dataUpdatedAt) && m.push(f);
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
p.length > 0 && Te(n, { queries: p }, c.current), m.length > 0 && i(
|
|
561
|
-
(f) => f ? [...f, ...m] : m
|
|
562
|
-
);
|
|
563
|
-
}
|
|
564
|
-
}, [n, o, r]), G.useEffect(() => {
|
|
565
|
-
o && (Te(n, { queries: o }, c.current), i(void 0));
|
|
566
|
-
}, [n, o]), e;
|
|
567
|
-
}, W = {};
|
|
568
|
-
const Or = /* @__PURE__ */ ge(Zt), Mr = /* @__PURE__ */ ge(Wt), Dr = /* @__PURE__ */ ge(jt);
|
|
569
|
-
Object.defineProperty(W, "__esModule", { value: !0 });
|
|
570
|
-
var Rr = Ht, A = Or, be = Mr, D = Dr;
|
|
571
|
-
function Tr(e) {
|
|
572
|
-
if (e && e.__esModule) return e;
|
|
573
|
-
var t = /* @__PURE__ */ Object.create(null);
|
|
574
|
-
return e && Object.keys(e).forEach(function(r) {
|
|
575
|
-
if (r !== "default") {
|
|
576
|
-
var s = Object.getOwnPropertyDescriptor(e, r);
|
|
577
|
-
Object.defineProperty(t, r, s.get ? s : {
|
|
578
|
-
enumerable: !0,
|
|
579
|
-
get: function() {
|
|
580
|
-
return e[r];
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
}), t.default = e, Object.freeze(t);
|
|
585
|
-
}
|
|
586
|
-
var k = /* @__PURE__ */ Tr(Rr);
|
|
587
|
-
function Ir({
|
|
588
|
-
basename: e,
|
|
589
|
-
children: t,
|
|
590
|
-
location: r = "/",
|
|
591
|
-
future: s
|
|
592
|
-
}) {
|
|
593
|
-
typeof r == "string" && (r = D.parsePath(r));
|
|
594
|
-
let n = A.Action.Pop, o = {
|
|
595
|
-
pathname: r.pathname || "/",
|
|
596
|
-
search: r.search || "",
|
|
597
|
-
hash: r.hash || "",
|
|
598
|
-
state: r.state != null ? r.state : null,
|
|
599
|
-
key: r.key || "default"
|
|
600
|
-
}, i = tt();
|
|
601
|
-
return /* @__PURE__ */ k.createElement(D.Router, {
|
|
602
|
-
basename: e,
|
|
603
|
-
children: t,
|
|
604
|
-
location: o,
|
|
605
|
-
navigationType: n,
|
|
606
|
-
navigator: i,
|
|
607
|
-
future: s,
|
|
608
|
-
static: !0
|
|
609
|
-
});
|
|
610
|
-
}
|
|
611
|
-
function _r({
|
|
612
|
-
context: e,
|
|
613
|
-
router: t,
|
|
614
|
-
hydrate: r = !0,
|
|
615
|
-
nonce: s
|
|
616
|
-
}) {
|
|
617
|
-
t && e || (process.env.NODE_ENV !== "production" ? A.UNSAFE_invariant(!1, "You must provide `router` and `context` to <StaticRouterProvider>") : A.UNSAFE_invariant(!1));
|
|
618
|
-
let n = {
|
|
619
|
-
router: t,
|
|
620
|
-
navigator: tt(),
|
|
621
|
-
static: !0,
|
|
622
|
-
staticContext: e,
|
|
623
|
-
basename: e.basename || "/"
|
|
624
|
-
}, o = /* @__PURE__ */ new Map(), i = "";
|
|
625
|
-
if (r !== !1) {
|
|
626
|
-
let u = {
|
|
627
|
-
loaderData: e.loaderData,
|
|
628
|
-
actionData: e.actionData,
|
|
629
|
-
errors: Qr(e.errors)
|
|
630
|
-
};
|
|
631
|
-
i = `window.__staticRouterHydrationData = JSON.parse(${Ur(JSON.stringify(JSON.stringify(u)))});`;
|
|
632
|
-
}
|
|
633
|
-
let {
|
|
634
|
-
state: c
|
|
635
|
-
} = n.router;
|
|
636
|
-
return /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement(D.UNSAFE_DataRouterContext.Provider, {
|
|
637
|
-
value: n
|
|
638
|
-
}, /* @__PURE__ */ k.createElement(D.UNSAFE_DataRouterStateContext.Provider, {
|
|
639
|
-
value: c
|
|
640
|
-
}, /* @__PURE__ */ k.createElement(D.UNSAFE_FetchersContext.Provider, {
|
|
641
|
-
value: o
|
|
642
|
-
}, /* @__PURE__ */ k.createElement(D.UNSAFE_ViewTransitionContext.Provider, {
|
|
643
|
-
value: {
|
|
644
|
-
isTransitioning: !1
|
|
645
|
-
}
|
|
646
|
-
}, /* @__PURE__ */ k.createElement(D.Router, {
|
|
647
|
-
basename: n.basename,
|
|
648
|
-
location: c.location,
|
|
649
|
-
navigationType: c.historyAction,
|
|
650
|
-
navigator: n.navigator,
|
|
651
|
-
static: n.static,
|
|
652
|
-
future: {
|
|
653
|
-
v7_relativeSplatPath: t.future.v7_relativeSplatPath
|
|
654
|
-
}
|
|
655
|
-
}, /* @__PURE__ */ k.createElement(Fr, {
|
|
656
|
-
routes: t.routes,
|
|
657
|
-
future: t.future,
|
|
658
|
-
state: c
|
|
659
|
-
})))))), i ? /* @__PURE__ */ k.createElement("script", {
|
|
660
|
-
suppressHydrationWarning: !0,
|
|
661
|
-
nonce: s,
|
|
662
|
-
dangerouslySetInnerHTML: {
|
|
663
|
-
__html: i
|
|
664
|
-
}
|
|
665
|
-
}) : null);
|
|
666
|
-
}
|
|
667
|
-
function Fr({
|
|
668
|
-
routes: e,
|
|
669
|
-
future: t,
|
|
670
|
-
state: r
|
|
671
|
-
}) {
|
|
672
|
-
return be.UNSAFE_useRoutesImpl(e, void 0, r, t);
|
|
673
|
-
}
|
|
674
|
-
function Qr(e) {
|
|
675
|
-
if (!e) return null;
|
|
676
|
-
let t = Object.entries(e), r = {};
|
|
677
|
-
for (let [s, n] of t)
|
|
678
|
-
A.isRouteErrorResponse(n) ? r[s] = {
|
|
679
|
-
...n,
|
|
680
|
-
__type: "RouteErrorResponse"
|
|
681
|
-
} : n instanceof Error ? r[s] = {
|
|
682
|
-
message: n.message,
|
|
683
|
-
__type: "Error",
|
|
684
|
-
// If this is a subclass (i.e., ReferenceError), send up the type so we
|
|
685
|
-
// can re-create the same type during hydration.
|
|
686
|
-
...n.name !== "Error" ? {
|
|
687
|
-
__subType: n.name
|
|
688
|
-
} : {}
|
|
689
|
-
} : r[s] = n;
|
|
690
|
-
return r;
|
|
691
|
-
}
|
|
692
|
-
function tt() {
|
|
693
|
-
return {
|
|
694
|
-
createHref: rt,
|
|
695
|
-
encodeLocation: at,
|
|
696
|
-
push(e) {
|
|
697
|
-
throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`);
|
|
698
|
-
},
|
|
699
|
-
replace(e) {
|
|
700
|
-
throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`);
|
|
701
|
-
},
|
|
702
|
-
go(e) {
|
|
703
|
-
throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`);
|
|
704
|
-
},
|
|
705
|
-
back() {
|
|
706
|
-
throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
|
|
707
|
-
},
|
|
708
|
-
forward() {
|
|
709
|
-
throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
|
|
710
|
-
}
|
|
711
|
-
};
|
|
712
|
-
}
|
|
713
|
-
function qr(e, t) {
|
|
714
|
-
return A.createStaticHandler(e, {
|
|
715
|
-
...t,
|
|
716
|
-
mapRouteProperties: be.UNSAFE_mapRouteProperties
|
|
717
|
-
});
|
|
718
|
-
}
|
|
719
|
-
function Br(e, t, r = {}) {
|
|
720
|
-
let s = {}, n = A.UNSAFE_convertRoutesToDataRoutes(e, be.UNSAFE_mapRouteProperties, void 0, s), o = t.matches.map((c) => {
|
|
721
|
-
let u = s[c.route.id] || c.route;
|
|
722
|
-
return {
|
|
723
|
-
...c,
|
|
724
|
-
route: u
|
|
725
|
-
};
|
|
726
|
-
}), i = (c) => `You cannot use router.${c}() on the server because it is a stateless environment`;
|
|
727
|
-
return {
|
|
728
|
-
get basename() {
|
|
729
|
-
return t.basename;
|
|
730
|
-
},
|
|
731
|
-
get future() {
|
|
732
|
-
var c, u;
|
|
733
|
-
return {
|
|
734
|
-
v7_fetcherPersist: !1,
|
|
735
|
-
v7_normalizeFormMethod: !1,
|
|
736
|
-
v7_partialHydration: ((c = r.future) == null ? void 0 : c.v7_partialHydration) === !0,
|
|
737
|
-
v7_prependBasename: !1,
|
|
738
|
-
v7_relativeSplatPath: ((u = r.future) == null ? void 0 : u.v7_relativeSplatPath) === !0,
|
|
739
|
-
v7_skipActionErrorRevalidation: !1
|
|
740
|
-
};
|
|
741
|
-
},
|
|
742
|
-
get state() {
|
|
743
|
-
return {
|
|
744
|
-
historyAction: A.Action.Pop,
|
|
745
|
-
location: t.location,
|
|
746
|
-
matches: o,
|
|
747
|
-
loaderData: t.loaderData,
|
|
748
|
-
actionData: t.actionData,
|
|
749
|
-
errors: t.errors,
|
|
750
|
-
initialized: !0,
|
|
751
|
-
navigation: A.IDLE_NAVIGATION,
|
|
752
|
-
restoreScrollPosition: null,
|
|
753
|
-
preventScrollReset: !1,
|
|
754
|
-
revalidation: "idle",
|
|
755
|
-
fetchers: /* @__PURE__ */ new Map(),
|
|
756
|
-
blockers: /* @__PURE__ */ new Map()
|
|
757
|
-
};
|
|
758
|
-
},
|
|
759
|
-
get routes() {
|
|
760
|
-
return n;
|
|
761
|
-
},
|
|
762
|
-
get window() {
|
|
763
|
-
},
|
|
764
|
-
initialize() {
|
|
765
|
-
throw i("initialize");
|
|
766
|
-
},
|
|
767
|
-
subscribe() {
|
|
768
|
-
throw i("subscribe");
|
|
769
|
-
},
|
|
770
|
-
enableScrollRestoration() {
|
|
771
|
-
throw i("enableScrollRestoration");
|
|
772
|
-
},
|
|
773
|
-
navigate() {
|
|
774
|
-
throw i("navigate");
|
|
775
|
-
},
|
|
776
|
-
fetch() {
|
|
777
|
-
throw i("fetch");
|
|
778
|
-
},
|
|
779
|
-
revalidate() {
|
|
780
|
-
throw i("revalidate");
|
|
781
|
-
},
|
|
782
|
-
createHref: rt,
|
|
783
|
-
encodeLocation: at,
|
|
784
|
-
getFetcher() {
|
|
785
|
-
return A.IDLE_FETCHER;
|
|
786
|
-
},
|
|
787
|
-
deleteFetcher() {
|
|
788
|
-
throw i("deleteFetcher");
|
|
789
|
-
},
|
|
790
|
-
dispose() {
|
|
791
|
-
throw i("dispose");
|
|
792
|
-
},
|
|
793
|
-
getBlocker() {
|
|
794
|
-
return A.IDLE_BLOCKER;
|
|
795
|
-
},
|
|
796
|
-
deleteBlocker() {
|
|
797
|
-
throw i("deleteBlocker");
|
|
798
|
-
},
|
|
799
|
-
patchRoutes() {
|
|
800
|
-
throw i("patchRoutes");
|
|
801
|
-
},
|
|
802
|
-
_internalFetchControllers: /* @__PURE__ */ new Map(),
|
|
803
|
-
_internalActiveDeferreds: /* @__PURE__ */ new Map(),
|
|
804
|
-
_internalSetRoutes() {
|
|
805
|
-
throw i("_internalSetRoutes");
|
|
806
|
-
}
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
function rt(e) {
|
|
810
|
-
return typeof e == "string" ? e : D.createPath(e);
|
|
811
|
-
}
|
|
812
|
-
function at(e) {
|
|
813
|
-
let t = typeof e == "string" ? e : D.createPath(e);
|
|
814
|
-
t = t.replace(/ $/, "%20");
|
|
815
|
-
let r = zr.test(t) ? new URL(t) : new URL(t, "http://localhost");
|
|
816
|
-
return {
|
|
817
|
-
pathname: r.pathname,
|
|
818
|
-
search: r.search,
|
|
819
|
-
hash: r.hash
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
const zr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Hr = {
|
|
823
|
-
"&": "\\u0026",
|
|
824
|
-
">": "\\u003e",
|
|
825
|
-
"<": "\\u003c",
|
|
826
|
-
"\u2028": "\\u2028",
|
|
827
|
-
"\u2029": "\\u2029"
|
|
828
|
-
}, Lr = /[&><\u2028\u2029]/g;
|
|
829
|
-
function Ur(e) {
|
|
830
|
-
return e.replace(Lr, (t) => Hr[t]);
|
|
831
|
-
}
|
|
832
|
-
W.StaticRouter = Ir;
|
|
833
|
-
var Kr = W.StaticRouterProvider = _r;
|
|
834
|
-
W.createStaticHandler = qr;
|
|
835
|
-
W.createStaticRouter = Br;
|
|
836
|
-
const $r = ({
|
|
837
|
-
router: e,
|
|
838
|
-
hydrate: t = !1
|
|
839
|
-
}) => {
|
|
840
|
-
const [r] = F(
|
|
841
|
-
() => new kr({
|
|
842
|
-
defaultOptions: {
|
|
843
|
-
queries: {
|
|
844
|
-
staleTime: 3e5
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
})
|
|
848
|
-
);
|
|
849
|
-
return /* @__PURE__ */ a.jsx($e, { children: /* @__PURE__ */ a.jsx(Ue, { client: r, children: /* @__PURE__ */ a.jsx(Ar, { state: t ? window.DATA : void 0, children: /* @__PURE__ */ a.jsx(Be, { children: /* @__PURE__ */ a.jsx(le.Provider, { value: { stagger: !t }, children: /* @__PURE__ */ a.jsx(
|
|
850
|
-
wt,
|
|
851
|
-
{
|
|
852
|
-
router: e,
|
|
853
|
-
future: { v7_startTransition: !0 }
|
|
854
|
-
}
|
|
855
|
-
) }) }) }) }) });
|
|
856
|
-
}, Vr = ({
|
|
857
|
-
router: e,
|
|
858
|
-
context: t,
|
|
859
|
-
queryClient: r,
|
|
860
|
-
helmetContext: s
|
|
861
|
-
}) => /* @__PURE__ */ a.jsx($e, { children: /* @__PURE__ */ a.jsx(Ue, { client: r, children: /* @__PURE__ */ a.jsx(Be, { context: s, children: /* @__PURE__ */ a.jsx(Kr, { router: e, context: t }) }) }) }), Zr = ({
|
|
862
|
-
category: e,
|
|
863
|
-
level: t
|
|
864
|
-
}) => {
|
|
865
|
-
var f, x;
|
|
866
|
-
const r = Ft(e), [s, n] = F(!1), o = e.collapsible ?? !0, i = e.collapsed ?? !0, c = !!(!o || !i || r), [u, d] = F(c), p = Yt(((f = e.link) == null ? void 0 : f.id) ?? "");
|
|
867
|
-
B(() => {
|
|
868
|
-
r && d(!0);
|
|
869
|
-
}, [r]);
|
|
870
|
-
const m = o && /* @__PURE__ */ a.jsx(
|
|
871
|
-
"button",
|
|
872
|
-
{
|
|
873
|
-
type: "button",
|
|
874
|
-
onClick: (v) => {
|
|
875
|
-
v.preventDefault(), d((h) => !h), n(!0);
|
|
876
|
-
},
|
|
877
|
-
children: /* @__PURE__ */ a.jsx(
|
|
878
|
-
Jt,
|
|
879
|
-
{
|
|
880
|
-
size: 16,
|
|
881
|
-
className: R(
|
|
882
|
-
s && "transition",
|
|
883
|
-
"shrink-0 group-data-[state=open]:rotate-90"
|
|
884
|
-
)
|
|
885
|
-
}
|
|
886
|
-
)
|
|
887
|
-
}
|
|
888
|
-
);
|
|
889
|
-
return /* @__PURE__ */ a.jsxs(
|
|
890
|
-
ie.Root,
|
|
891
|
-
{
|
|
892
|
-
className: "flex flex-col",
|
|
893
|
-
defaultOpen: c,
|
|
894
|
-
open: u,
|
|
895
|
-
onOpenChange: () => d(!0),
|
|
896
|
-
children: [
|
|
897
|
-
/* @__PURE__ */ a.jsx(ie.Trigger, { className: "group", asChild: !0, disabled: !o, children: /* @__PURE__ */ a.jsxs(
|
|
898
|
-
"div",
|
|
899
|
-
{
|
|
900
|
-
onClick: () => n(!0),
|
|
901
|
-
className: V({
|
|
902
|
-
isActive: !1,
|
|
903
|
-
isTopLevel: t === 0,
|
|
904
|
-
className: [
|
|
905
|
-
"text-start",
|
|
906
|
-
o ? "cursor-pointer" : "cursor-default hover:bg-transparent"
|
|
907
|
-
]
|
|
908
|
-
}),
|
|
909
|
-
children: [
|
|
910
|
-
e.icon && /* @__PURE__ */ a.jsx(
|
|
911
|
-
e.icon,
|
|
912
|
-
{
|
|
913
|
-
size: 16,
|
|
914
|
-
className: R(
|
|
915
|
-
"align-[-0.125em] -translate-x-1",
|
|
916
|
-
p && "text-primary"
|
|
917
|
-
)
|
|
918
|
-
}
|
|
919
|
-
),
|
|
920
|
-
((x = e.link) == null ? void 0 : x.type) === "doc" ? /* @__PURE__ */ a.jsx(
|
|
921
|
-
re,
|
|
922
|
-
{
|
|
923
|
-
to: q(e.link.id),
|
|
924
|
-
className: "flex-1",
|
|
925
|
-
onClick: () => {
|
|
926
|
-
p && !u && d(!0);
|
|
927
|
-
},
|
|
928
|
-
children: /* @__PURE__ */ a.jsxs(
|
|
929
|
-
"div",
|
|
930
|
-
{
|
|
931
|
-
className: R(
|
|
932
|
-
"flex items-center gap-2 justify-between w-full",
|
|
933
|
-
p ? "text-primary" : "text-foreground/80"
|
|
934
|
-
),
|
|
935
|
-
children: [
|
|
936
|
-
/* @__PURE__ */ a.jsx("div", { className: "truncate", children: e.label }),
|
|
937
|
-
m
|
|
938
|
-
]
|
|
939
|
-
}
|
|
940
|
-
)
|
|
941
|
-
}
|
|
942
|
-
) : /* @__PURE__ */ a.jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
943
|
-
/* @__PURE__ */ a.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
|
|
944
|
-
m
|
|
945
|
-
] })
|
|
946
|
-
]
|
|
947
|
-
}
|
|
948
|
-
) }),
|
|
949
|
-
/* @__PURE__ */ a.jsx(
|
|
950
|
-
ie.Content,
|
|
951
|
-
{
|
|
952
|
-
className: R(
|
|
953
|
-
// CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
|
|
954
|
-
s && "CollapsibleContent"
|
|
955
|
-
),
|
|
956
|
-
children: /* @__PURE__ */ a.jsx("ul", { className: "mt-1 border-l ms-0.5", children: e.items.map((v) => /* @__PURE__ */ a.jsx(
|
|
957
|
-
ue,
|
|
958
|
-
{
|
|
959
|
-
level: t + 1,
|
|
960
|
-
item: v
|
|
961
|
-
},
|
|
962
|
-
("id" in v ? v.id : "") + ("href" in v ? v.href : "") + v.label
|
|
963
|
-
)) })
|
|
964
|
-
}
|
|
965
|
-
)
|
|
966
|
-
]
|
|
967
|
-
}
|
|
968
|
-
);
|
|
969
|
-
}, V = or(
|
|
970
|
-
"flex items-center gap-2 px-[--padding-nav-item] py-1.5 rounded-lg hover:bg-accent transition-colors duration-300",
|
|
971
|
-
{
|
|
972
|
-
variants: {
|
|
973
|
-
isTopLevel: {
|
|
974
|
-
true: "font-medium -mx-[--padding-nav-item]",
|
|
975
|
-
false: "-mr-[--padding-nav-item] ml-[--padding-nav-item]"
|
|
976
|
-
},
|
|
977
|
-
isActive: {
|
|
978
|
-
true: "text-primary font-medium",
|
|
979
|
-
false: "text-foreground/80"
|
|
980
|
-
},
|
|
981
|
-
isMuted: {
|
|
982
|
-
true: "text-foreground/30",
|
|
983
|
-
false: ""
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
defaultVariants: {
|
|
987
|
-
isActive: !1
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
), st = "data-anchor", ue = ({
|
|
991
|
-
item: e,
|
|
992
|
-
level: t = 0
|
|
993
|
-
}) => {
|
|
994
|
-
var n, o;
|
|
995
|
-
const { activeAnchor: r } = ye(), [s] = Nt();
|
|
996
|
-
switch (e.type) {
|
|
997
|
-
case "category":
|
|
998
|
-
return /* @__PURE__ */ a.jsx(Zr, { category: e, level: t });
|
|
999
|
-
case "doc":
|
|
1000
|
-
return /* @__PURE__ */ a.jsxs(
|
|
1001
|
-
re,
|
|
1002
|
-
{
|
|
1003
|
-
className: ({ isActive: i }) => V({ isActive: i, isTopLevel: t === 0 }),
|
|
1004
|
-
to: q(e.id),
|
|
1005
|
-
children: [
|
|
1006
|
-
e.icon && /* @__PURE__ */ a.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
|
|
1007
|
-
e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1008
|
-
/* @__PURE__ */ a.jsx("span", { className: "truncate flex-1", title: e.label, children: e.label }),
|
|
1009
|
-
/* @__PURE__ */ a.jsx(ne, { ...e.badge })
|
|
1010
|
-
] }) : e.label
|
|
1011
|
-
]
|
|
1012
|
-
}
|
|
1013
|
-
);
|
|
1014
|
-
case "link":
|
|
1015
|
-
return e.href.startsWith("#") ? /* @__PURE__ */ a.jsx(
|
|
1016
|
-
xt,
|
|
1017
|
-
{
|
|
1018
|
-
to: { hash: e.href, search: s.toString() },
|
|
1019
|
-
[st]: e.href.slice(1),
|
|
1020
|
-
className: V({
|
|
1021
|
-
isActive: e.href.slice(1) === r,
|
|
1022
|
-
isTopLevel: t === 0,
|
|
1023
|
-
className: ((n = e.badge) == null ? void 0 : n.placement) !== "start" && "justify-between"
|
|
1024
|
-
}),
|
|
1025
|
-
children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1026
|
-
/* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
|
|
1027
|
-
/* @__PURE__ */ a.jsx(ne, { ...e.badge })
|
|
1028
|
-
] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
|
|
1029
|
-
}
|
|
1030
|
-
) : e.href.startsWith("http") ? /* @__PURE__ */ a.jsxs(
|
|
1031
|
-
"a",
|
|
1032
|
-
{
|
|
1033
|
-
className: V({ isTopLevel: t === 0 }),
|
|
1034
|
-
href: e.href,
|
|
1035
|
-
target: "_blank",
|
|
1036
|
-
rel: "noopener noreferrer",
|
|
1037
|
-
children: [
|
|
1038
|
-
/* @__PURE__ */ a.jsx("span", { className: "whitespace-normal", children: e.label }),
|
|
1039
|
-
/* @__PURE__ */ a.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ a.jsx(Xt, { className: "inline -translate-y-0.5", size: 12 }) })
|
|
1040
|
-
]
|
|
1041
|
-
}
|
|
1042
|
-
) : /* @__PURE__ */ a.jsx(
|
|
1043
|
-
re,
|
|
1044
|
-
{
|
|
1045
|
-
className: V({
|
|
1046
|
-
className: ((o = e.badge) == null ? void 0 : o.placement) !== "start" && "justify-between"
|
|
1047
|
-
}),
|
|
1048
|
-
to: e.href,
|
|
1049
|
-
children: e.badge ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1050
|
-
/* @__PURE__ */ a.jsx("span", { className: "truncate", title: e.label, children: e.label }),
|
|
1051
|
-
/* @__PURE__ */ a.jsx(ne, { ...e.badge })
|
|
1052
|
-
] }) : /* @__PURE__ */ a.jsx("span", { className: "break-all", children: e.label })
|
|
1053
|
-
}
|
|
1054
|
-
);
|
|
1055
|
-
}
|
|
1056
|
-
}, Wr = (e, t = { block: "center" }) => {
|
|
1057
|
-
if (!e) return;
|
|
1058
|
-
const r = e.getBoundingClientRect();
|
|
1059
|
-
r.top >= 0 && r.left >= 0 && r.bottom <= (window.innerHeight || document.documentElement.clientHeight) && r.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
|
|
1060
|
-
}, Yr = () => {
|
|
1061
|
-
const e = pe(), { setActiveAnchor: t } = ye();
|
|
1062
|
-
B(() => {
|
|
1063
|
-
if (!e.hash) return;
|
|
1064
|
-
const r = decodeURIComponent(e.hash.split("/")[0].slice(1)), s = () => {
|
|
1065
|
-
const n = document.getElementById(r), o = document.querySelector(`[${st}="${r}"]`);
|
|
1066
|
-
return n ? (n.scrollIntoView(), Wr(o), requestIdleCallback(() => t(r)), !0) : !1;
|
|
1067
|
-
};
|
|
1068
|
-
if (!s()) {
|
|
1069
|
-
const n = new MutationObserver((o, i) => {
|
|
1070
|
-
s() && i.disconnect();
|
|
1071
|
-
});
|
|
1072
|
-
return n.observe(document.body, { childList: !0, subtree: !0 }), () => n.disconnect();
|
|
1073
|
-
}
|
|
1074
|
-
}, [e.hash, t]);
|
|
1075
|
-
}, Jr = () => {
|
|
1076
|
-
const e = pe(), t = fe(e.pathname);
|
|
1077
|
-
B(() => {
|
|
1078
|
-
t.current !== e.pathname && (window.scrollTo(0, 0), t.current = e.pathname);
|
|
1079
|
-
}, [e.pathname]);
|
|
1080
|
-
};
|
|
1081
|
-
function Xr({
|
|
1082
|
-
className: e,
|
|
1083
|
-
...t
|
|
1084
|
-
}) {
|
|
1085
|
-
return /* @__PURE__ */ a.jsx(
|
|
1086
|
-
"div",
|
|
1087
|
-
{
|
|
1088
|
-
className: R("animate-pulse rounded-md bg-muted", e),
|
|
1089
|
-
...t
|
|
1090
|
-
}
|
|
1091
|
-
);
|
|
1092
|
-
}
|
|
1093
|
-
const Gr = (e) => "getProfileMenuItems" in e && typeof e.getProfileMenuItems == "function", ea = (e) => "getRoutes" in e && typeof e.getRoutes == "function", ta = (e) => "renderSearch" in e && typeof e.renderSearch == "function", ra = (e) => "initialize" in e && typeof e.initialize == "function", aa = (e) => "getHead" in e && typeof e.getHead == "function", sa = (e) => "getMdxComponents" in e && typeof e.getMdxComponents == "function", na = (e) => "getIdentities" in e && typeof e.getIdentities == "function", Ie = {
|
|
1094
|
-
info: "bg-blue-500",
|
|
1095
|
-
note: "bg-gray-500",
|
|
1096
|
-
tip: "bg-green-600",
|
|
1097
|
-
caution: "bg-orange-500",
|
|
1098
|
-
danger: "bg-rose-500"
|
|
1099
|
-
}, ia = () => {
|
|
1100
|
-
const { page: e } = Q(), [t, r] = F(!0);
|
|
1101
|
-
if (!(e != null && e.banner) || !t)
|
|
1102
|
-
return /* @__PURE__ */ a.jsx("style", { children: ":root { --banner-height: 0px; }" });
|
|
1103
|
-
const s = e.banner.color && e.banner.color in Ie ? Ie[e.banner.color] : e.banner.color ? void 0 : "bg-primary", n = s ? {} : { backgroundColor: e.banner.color };
|
|
1104
|
-
return /* @__PURE__ */ a.jsxs(
|
|
1105
|
-
"div",
|
|
1106
|
-
{
|
|
1107
|
-
className: R(
|
|
1108
|
-
"relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
|
|
1109
|
-
s
|
|
1110
|
-
),
|
|
1111
|
-
style: n,
|
|
1112
|
-
children: [
|
|
1113
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-full", children: e.banner.message }),
|
|
1114
|
-
e.banner.dismissible && /* @__PURE__ */ a.jsx(
|
|
1115
|
-
"button",
|
|
1116
|
-
{
|
|
1117
|
-
type: "button",
|
|
1118
|
-
className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
|
|
1119
|
-
onClick: () => r(!1),
|
|
1120
|
-
children: /* @__PURE__ */ a.jsx(Gt, { size: 16 })
|
|
1121
|
-
}
|
|
1122
|
-
)
|
|
1123
|
-
]
|
|
1124
|
-
}
|
|
1125
|
-
);
|
|
1126
|
-
}, nt = () => {
|
|
1127
|
-
const e = Q(), [t, r] = F(!1), s = Lt(() => r(!1), []);
|
|
1128
|
-
B(() => {
|
|
1129
|
-
if (t)
|
|
1130
|
-
return;
|
|
1131
|
-
function o(i) {
|
|
1132
|
-
i.key === "k" && (i.metaKey || i.ctrlKey) && (i.preventDefault(), r(!0));
|
|
1133
|
-
}
|
|
1134
|
-
return window.addEventListener("keydown", o), () => {
|
|
1135
|
-
window.removeEventListener("keydown", o);
|
|
1136
|
-
};
|
|
1137
|
-
}, [t, r]);
|
|
1138
|
-
const n = e.plugins.find(ta);
|
|
1139
|
-
return n ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1140
|
-
/* @__PURE__ */ a.jsxs(
|
|
1141
|
-
"button",
|
|
1142
|
-
{
|
|
1143
|
-
type: "button",
|
|
1144
|
-
onClick: () => r(!0),
|
|
1145
|
-
className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
|
|
1146
|
-
children: [
|
|
1147
|
-
/* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
|
|
1148
|
-
/* @__PURE__ */ a.jsx(er, { size: 14 }),
|
|
1149
|
-
"Search"
|
|
1150
|
-
] }),
|
|
1151
|
-
/* @__PURE__ */ a.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
|
|
1152
|
-
]
|
|
1153
|
-
}
|
|
1154
|
-
),
|
|
1155
|
-
/* @__PURE__ */ a.jsx(me, { fallback: null, children: n.renderSearch({
|
|
1156
|
-
isOpen: t,
|
|
1157
|
-
onClose: s
|
|
1158
|
-
}) })
|
|
1159
|
-
] }) : null;
|
|
1160
|
-
}, it = () => {
|
|
1161
|
-
const { resolvedTheme: e, setTheme: t } = yr(), r = e === "dark" ? tr : rr;
|
|
1162
|
-
return /* @__PURE__ */ a.jsx(xe, { children: /* @__PURE__ */ a.jsx(
|
|
1163
|
-
ce,
|
|
1164
|
-
{
|
|
1165
|
-
variant: "ghost",
|
|
1166
|
-
"aria-label": e === "dark" ? "Switch to light mode" : "Switch to dark mode",
|
|
1167
|
-
className: "p-2.5 -m-2.5 rounded-full",
|
|
1168
|
-
onClick: () => t(e === "dark" ? "light" : "dark"),
|
|
1169
|
-
children: /* @__PURE__ */ a.jsx(r, { size: 18 })
|
|
1170
|
-
}
|
|
1171
|
-
) });
|
|
1172
|
-
}, ot = (e) => (t) => t.display === "auth" && e || t.display === "anon" && !e || !t.display || t.display === "always", oa = () => {
|
|
1173
|
-
const { topNavigation: e } = Q(), { isAuthenticated: t } = ae();
|
|
1174
|
-
return e.length <= 1 ? /* @__PURE__ */ a.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ a.jsx(me, { children: /* @__PURE__ */ a.jsx("nav", { className: "hidden lg:block border-b text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ a.jsx("ul", { className: "flex flex-row items-center gap-8", children: e.filter(ot(t)).map((r) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(lt, { ...r }) }, r.id)) }) }) });
|
|
1175
|
-
}, lt = ({
|
|
1176
|
-
id: e,
|
|
1177
|
-
label: t,
|
|
1178
|
-
default: r
|
|
1179
|
-
}) => {
|
|
1180
|
-
var d;
|
|
1181
|
-
const { sidebars: s } = Q(), n = s[e], o = Ke(), i = !!ve().location, c = ((d = o.topNavItem) == null ? void 0 : d.id) === e && !i, u = r ?? (n ? Qt(n, (p) => {
|
|
1182
|
-
if (p.type === "doc") return q(p.id);
|
|
1183
|
-
}) : q(e));
|
|
1184
|
-
if (!u)
|
|
1185
|
-
throw new jr("Page not found.", {
|
|
1186
|
-
developerHint: `No links found in top navigation for '${e}'. Check that the sidebar isn't empty or that a default link is set.`
|
|
1187
|
-
});
|
|
1188
|
-
return (
|
|
1189
|
-
// We don't use isActive here because it has to be inside the sidebar,
|
|
1190
|
-
// the top nav id doesn't necessarily start with the sidebar id
|
|
1191
|
-
/* @__PURE__ */ a.jsx(
|
|
1192
|
-
re,
|
|
1193
|
-
{
|
|
1194
|
-
className: ({ isPending: p }) => lr(
|
|
1195
|
-
"block lg:py-3.5 font-medium -mb-px border-b-2",
|
|
1196
|
-
c || p ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
|
|
1197
|
-
),
|
|
1198
|
-
to: u,
|
|
1199
|
-
children: t
|
|
1200
|
-
}
|
|
1201
|
-
)
|
|
1202
|
-
);
|
|
1203
|
-
}, la = () => {
|
|
1204
|
-
const { topNavigation: e } = Q(), { isAuthenticated: t } = ae(), [r, s] = F(!1);
|
|
1205
|
-
return /* @__PURE__ */ a.jsxs(
|
|
1206
|
-
Ye,
|
|
1207
|
-
{
|
|
1208
|
-
direction: "right",
|
|
1209
|
-
open: r,
|
|
1210
|
-
onOpenChange: (n) => s(n),
|
|
1211
|
-
children: [
|
|
1212
|
-
/* @__PURE__ */ a.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ a.jsx(Je, { className: "lg:hidden", children: /* @__PURE__ */ a.jsx(ar, { size: 22 }) }) }),
|
|
1213
|
-
/* @__PURE__ */ a.jsxs(
|
|
1214
|
-
Xe,
|
|
1215
|
-
{
|
|
1216
|
-
className: "lg:hidden h-screen right-0 left-auto w-[320px] rounded-none overflow-auto",
|
|
1217
|
-
"aria-describedby": void 0,
|
|
1218
|
-
children: [
|
|
1219
|
-
/* @__PURE__ */ a.jsx(et, { children: /* @__PURE__ */ a.jsx(Ge, { children: "Navigation" }) }),
|
|
1220
|
-
/* @__PURE__ */ a.jsx("div", { className: "flex p-4", children: /* @__PURE__ */ a.jsx(nt, {}) }),
|
|
1221
|
-
/* @__PURE__ */ a.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
|
|
1222
|
-
/* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(it, {}) }),
|
|
1223
|
-
e.filter(ot(t)).map((n) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("button", { onClick: () => s(!1), children: /* @__PURE__ */ a.jsx(lt, { ...n }) }) }, n.label))
|
|
1224
|
-
] })
|
|
1225
|
-
]
|
|
1226
|
-
}
|
|
1227
|
-
)
|
|
1228
|
-
]
|
|
1229
|
-
}
|
|
1230
|
-
);
|
|
1231
|
-
}, ct = ({ item: e }) => e.children ? /* @__PURE__ */ a.jsxs(mr, { children: [
|
|
1232
|
-
/* @__PURE__ */ a.jsx(gr, { children: e.label }),
|
|
1233
|
-
/* @__PURE__ */ a.jsx(pr, { children: /* @__PURE__ */ a.jsx(vr, { children: e.children.map((t, r) => (
|
|
1234
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
1235
|
-
/* @__PURE__ */ a.jsx(ct, { item: t }, r)
|
|
1236
|
-
)) }) })
|
|
1237
|
-
] }, e.label) : /* @__PURE__ */ a.jsx(he, { to: e.path ?? "", children: /* @__PURE__ */ a.jsx(xr, { children: e.label }, e.label) }), ut = Ve(function() {
|
|
1238
|
-
const t = ae(), { isAuthenticated: r, profile: s, isAuthEnabled: n } = ae(), o = Q(), { page: i, plugins: c } = o, u = c.filter((d) => Gr(d)).flatMap((d) => d.getProfileMenuItems(o)).map((d) => /* @__PURE__ */ a.jsx(ct, { item: d }, d.label));
|
|
1239
|
-
return /* @__PURE__ */ a.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
|
|
1240
|
-
/* @__PURE__ */ a.jsx(ia, {}),
|
|
1241
|
-
/* @__PURE__ */ a.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
1242
|
-
/* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-2 lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b px-10 lg:px-12 h-[--top-header-height]", children: [
|
|
1243
|
-
/* @__PURE__ */ a.jsx("div", { className: "flex", children: /* @__PURE__ */ a.jsx(he, { to: "/", children: /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
1244
|
-
(i == null ? void 0 : i.logo) && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1245
|
-
/* @__PURE__ */ a.jsx(
|
|
1246
|
-
"img",
|
|
1247
|
-
{
|
|
1248
|
-
src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : q(
|
|
1249
|
-
"/",
|
|
1250
|
-
i.logo.src.light
|
|
1251
|
-
),
|
|
1252
|
-
alt: i.logo.alt ?? i.pageTitle,
|
|
1253
|
-
style: { width: i.logo.width },
|
|
1254
|
-
className: "h-10 dark:hidden",
|
|
1255
|
-
loading: "lazy"
|
|
1256
|
-
}
|
|
1257
|
-
),
|
|
1258
|
-
/* @__PURE__ */ a.jsx(
|
|
1259
|
-
"img",
|
|
1260
|
-
{
|
|
1261
|
-
"data-hide-on-theme": "light",
|
|
1262
|
-
src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : q(
|
|
1263
|
-
"/",
|
|
1264
|
-
i.logo.src.dark
|
|
1265
|
-
),
|
|
1266
|
-
alt: i.logo.alt ?? i.pageTitle,
|
|
1267
|
-
style: { width: i.logo.width },
|
|
1268
|
-
className: "h-10",
|
|
1269
|
-
loading: "lazy"
|
|
1270
|
-
}
|
|
1271
|
-
)
|
|
1272
|
-
] }),
|
|
1273
|
-
/* @__PURE__ */ a.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: i == null ? void 0 : i.pageTitle })
|
|
1274
|
-
] }) }) }),
|
|
1275
|
-
/* @__PURE__ */ a.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
|
|
1276
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ a.jsx(nt, {}) }),
|
|
1277
|
-
/* @__PURE__ */ a.jsx(la, {}),
|
|
1278
|
-
/* @__PURE__ */ a.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
|
|
1279
|
-
/* @__PURE__ */ a.jsx(O, { name: "head-navigation-start" }),
|
|
1280
|
-
n && /* @__PURE__ */ a.jsx(
|
|
1281
|
-
xe,
|
|
1282
|
-
{
|
|
1283
|
-
fallback: /* @__PURE__ */ a.jsx(Xr, { className: "rounded h-5 w-24 mr-4" }),
|
|
1284
|
-
children: r ? u.length > 0 && /* @__PURE__ */ a.jsxs(cr, { modal: !1, children: [
|
|
1285
|
-
/* @__PURE__ */ a.jsx(ur, { asChild: !0, children: /* @__PURE__ */ a.jsx(ce, { variant: "ghost", children: s != null && s.email ? `${s.email}` : "My Account" }) }),
|
|
1286
|
-
/* @__PURE__ */ a.jsxs(dr, { className: "w-56", children: [
|
|
1287
|
-
/* @__PURE__ */ a.jsx(hr, { children: "My Account" }),
|
|
1288
|
-
/* @__PURE__ */ a.jsx(fr, {}),
|
|
1289
|
-
u
|
|
1290
|
-
] })
|
|
1291
|
-
] }) : /* @__PURE__ */ a.jsx(ce, { variant: "ghost", onClick: () => t.login(), children: "Login" })
|
|
1292
|
-
}
|
|
1293
|
-
),
|
|
1294
|
-
/* @__PURE__ */ a.jsx(it, {}),
|
|
1295
|
-
/* @__PURE__ */ a.jsx(O, { name: "head-navigation-end" })
|
|
1296
|
-
] })
|
|
1297
|
-
] })
|
|
1298
|
-
] }),
|
|
1299
|
-
/* @__PURE__ */ a.jsx(O, { name: "top-navigation-before" }),
|
|
1300
|
-
/* @__PURE__ */ a.jsx(oa, {}),
|
|
1301
|
-
/* @__PURE__ */ a.jsx(O, { name: "top-navigation-after" })
|
|
1302
|
-
] })
|
|
1303
|
-
] });
|
|
1304
|
-
}), dt = Ut(({ children: e, className: t, pushMainContent: r }, s) => /* @__PURE__ */ a.jsx(
|
|
1305
|
-
"nav",
|
|
1306
|
-
{
|
|
1307
|
-
"data-navigation": String(r),
|
|
1308
|
-
className: R(
|
|
1309
|
-
"scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0",
|
|
1310
|
-
"px-[--padding-nav-item] -mx-[--padding-nav-item] pb-20 mt-[--padding-content-top]",
|
|
1311
|
-
"w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
|
|
1312
|
-
t
|
|
1313
|
-
),
|
|
1314
|
-
ref: s,
|
|
1315
|
-
children: e
|
|
1316
|
-
}
|
|
1317
|
-
));
|
|
1318
|
-
dt.displayName = "SidebarWrapper";
|
|
1319
|
-
const ca = () => {
|
|
1320
|
-
const e = fe(null), t = Ke();
|
|
1321
|
-
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1322
|
-
/* @__PURE__ */ a.jsxs(
|
|
1323
|
-
dt,
|
|
1324
|
-
{
|
|
1325
|
-
ref: e,
|
|
1326
|
-
pushMainContent: t.sidebar.length > 0,
|
|
1327
|
-
children: [
|
|
1328
|
-
/* @__PURE__ */ a.jsx(O, { name: "zudoku-before-navigation" }),
|
|
1329
|
-
t.sidebar.map((r) => /* @__PURE__ */ a.jsx(ue, { item: r }, r.label)),
|
|
1330
|
-
/* @__PURE__ */ a.jsx(O, { name: "zudoku-after-navigation" })
|
|
1331
|
-
]
|
|
1332
|
-
}
|
|
1333
|
-
),
|
|
1334
|
-
/* @__PURE__ */ a.jsxs(
|
|
1335
|
-
Xe,
|
|
1336
|
-
{
|
|
1337
|
-
className: "lg:hidden h-screen left-0 p-6 w-[320px] rounded-none overflow-auto",
|
|
1338
|
-
"aria-describedby": void 0,
|
|
1339
|
-
children: [
|
|
1340
|
-
/* @__PURE__ */ a.jsx(et, { children: /* @__PURE__ */ a.jsx(Ge, { children: "Sidebar" }) }),
|
|
1341
|
-
t.sidebar.map((r) => /* @__PURE__ */ a.jsx(ue, { item: r }, r.label))
|
|
1342
|
-
]
|
|
1343
|
-
}
|
|
1344
|
-
)
|
|
1345
|
-
] });
|
|
1346
|
-
}, _e = () => /* @__PURE__ */ a.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ a.jsx(wr, {}) }), ua = ({ children: e }) => {
|
|
1347
|
-
const t = pe(), { setActiveAnchor: r } = ye(), { meta: s, authentication: n } = Q();
|
|
1348
|
-
Yr(), Jr();
|
|
1349
|
-
const o = fe(t.pathname);
|
|
1350
|
-
B(() => {
|
|
1351
|
-
var c;
|
|
1352
|
-
(c = n == null ? void 0 : n.pageLoad) == null || c.call(n);
|
|
1353
|
-
}, [n]), B(() => {
|
|
1354
|
-
t.pathname !== o.current && r(""), o.current = t.pathname;
|
|
1355
|
-
}, [t.pathname, r]);
|
|
1356
|
-
const i = !!ve().location;
|
|
1357
|
-
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1358
|
-
!1,
|
|
1359
|
-
/* @__PURE__ */ a.jsxs(de, { titleTemplate: s == null ? void 0 : s.title, children: [
|
|
1360
|
-
(s == null ? void 0 : s.description) && /* @__PURE__ */ a.jsx("meta", { name: "description", content: s.description }),
|
|
1361
|
-
(s == null ? void 0 : s.favicon) && /* @__PURE__ */ a.jsx("link", { rel: "icon", href: s.favicon })
|
|
1362
|
-
] }),
|
|
1363
|
-
/* @__PURE__ */ a.jsx(O, { name: "layout-before-head" }),
|
|
1364
|
-
/* @__PURE__ */ a.jsx(ut, {}),
|
|
1365
|
-
/* @__PURE__ */ a.jsx(O, { name: "layout-after-head" }),
|
|
1366
|
-
/* @__PURE__ */ a.jsx("div", { className: "w-full max-w-screen-2xl mx-auto px-10 lg:px-12", children: i ? /* @__PURE__ */ a.jsx(_e, {}) : /* @__PURE__ */ a.jsx(me, { fallback: /* @__PURE__ */ a.jsx(_e, {}), children: /* @__PURE__ */ a.jsxs(Ye, { direction: "left", children: [
|
|
1367
|
-
/* @__PURE__ */ a.jsx(ca, {}),
|
|
1368
|
-
/* @__PURE__ */ a.jsx(
|
|
1369
|
-
"div",
|
|
1370
|
-
{
|
|
1371
|
-
className: R(
|
|
1372
|
-
"lg:hidden -mx-10 px-10 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
|
|
1373
|
-
"peer-data-[navigation=false]:hidden"
|
|
1374
|
-
),
|
|
1375
|
-
children: /* @__PURE__ */ a.jsxs(Je, { className: "flex items-center gap-2", children: [
|
|
1376
|
-
/* @__PURE__ */ a.jsx(sr, { size: 16, strokeWidth: 1.5 }),
|
|
1377
|
-
/* @__PURE__ */ a.jsx("span", { className: "text-sm", children: "Menu" })
|
|
1378
|
-
] })
|
|
1379
|
-
}
|
|
1380
|
-
),
|
|
1381
|
-
/* @__PURE__ */ a.jsxs(
|
|
1382
|
-
"main",
|
|
1383
|
-
{
|
|
1384
|
-
className: R(
|
|
1385
|
-
"h-full dark:border-white/10 translate-x-0",
|
|
1386
|
-
"lg:overflow-visible",
|
|
1387
|
-
// This works in tandem with the `SidebarWrapper` component
|
|
1388
|
-
"lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
|
|
1389
|
-
"lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
|
|
1390
|
-
),
|
|
1391
|
-
children: [
|
|
1392
|
-
/* @__PURE__ */ a.jsx(O, { name: "zudoku-before-content" }),
|
|
1393
|
-
e ?? /* @__PURE__ */ a.jsx(We, {}),
|
|
1394
|
-
/* @__PURE__ */ a.jsx(O, { name: "zudoku-after-content" })
|
|
1395
|
-
]
|
|
1396
|
-
}
|
|
1397
|
-
)
|
|
1398
|
-
] }) }) })
|
|
1399
|
-
] });
|
|
1400
|
-
}, da = Ze(null), oe = {
|
|
1401
|
-
didCatch: !1,
|
|
1402
|
-
error: null
|
|
1403
|
-
};
|
|
1404
|
-
class ha extends Kt {
|
|
1405
|
-
constructor(t) {
|
|
1406
|
-
super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = oe;
|
|
1407
|
-
}
|
|
1408
|
-
static getDerivedStateFromError(t) {
|
|
1409
|
-
return {
|
|
1410
|
-
didCatch: !0,
|
|
1411
|
-
error: t
|
|
1412
|
-
};
|
|
1413
|
-
}
|
|
1414
|
-
resetErrorBoundary() {
|
|
1415
|
-
const {
|
|
1416
|
-
error: t
|
|
1417
|
-
} = this.state;
|
|
1418
|
-
if (t !== null) {
|
|
1419
|
-
for (var r, s, n = arguments.length, o = new Array(n), i = 0; i < n; i++)
|
|
1420
|
-
o[i] = arguments[i];
|
|
1421
|
-
(r = (s = this.props).onReset) === null || r === void 0 || r.call(s, {
|
|
1422
|
-
args: o,
|
|
1423
|
-
reason: "imperative-api"
|
|
1424
|
-
}), this.setState(oe);
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
componentDidCatch(t, r) {
|
|
1428
|
-
var s, n;
|
|
1429
|
-
(s = (n = this.props).onError) === null || s === void 0 || s.call(n, t, r);
|
|
1430
|
-
}
|
|
1431
|
-
componentDidUpdate(t, r) {
|
|
1432
|
-
const {
|
|
1433
|
-
didCatch: s
|
|
1434
|
-
} = this.state, {
|
|
1435
|
-
resetKeys: n
|
|
1436
|
-
} = this.props;
|
|
1437
|
-
if (s && r.error !== null && fa(t.resetKeys, n)) {
|
|
1438
|
-
var o, i;
|
|
1439
|
-
(o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
|
|
1440
|
-
next: n,
|
|
1441
|
-
prev: t.resetKeys,
|
|
1442
|
-
reason: "keys"
|
|
1443
|
-
}), this.setState(oe);
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
render() {
|
|
1447
|
-
const {
|
|
1448
|
-
children: t,
|
|
1449
|
-
fallbackRender: r,
|
|
1450
|
-
FallbackComponent: s,
|
|
1451
|
-
fallback: n
|
|
1452
|
-
} = this.props, {
|
|
1453
|
-
didCatch: o,
|
|
1454
|
-
error: i
|
|
1455
|
-
} = this.state;
|
|
1456
|
-
let c = t;
|
|
1457
|
-
if (o) {
|
|
1458
|
-
const u = {
|
|
1459
|
-
error: i,
|
|
1460
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1461
|
-
};
|
|
1462
|
-
if (typeof r == "function")
|
|
1463
|
-
c = r(u);
|
|
1464
|
-
else if (s)
|
|
1465
|
-
c = Me(s, u);
|
|
1466
|
-
else if (n !== void 0)
|
|
1467
|
-
c = n;
|
|
1468
|
-
else
|
|
1469
|
-
throw i;
|
|
1470
|
-
}
|
|
1471
|
-
return Me(da.Provider, {
|
|
1472
|
-
value: {
|
|
1473
|
-
didCatch: o,
|
|
1474
|
-
error: i,
|
|
1475
|
-
resetErrorBoundary: this.resetErrorBoundary
|
|
1476
|
-
}
|
|
1477
|
-
}, c);
|
|
1478
|
-
}
|
|
1479
|
-
}
|
|
1480
|
-
function fa() {
|
|
1481
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
1482
|
-
return e.length !== t.length || e.some((r, s) => !Object.is(r, t[s]));
|
|
1483
|
-
}
|
|
1484
|
-
class ma {
|
|
1485
|
-
constructor(t) {
|
|
1486
|
-
N(this, "plugins");
|
|
1487
|
-
N(this, "sidebars");
|
|
1488
|
-
N(this, "topNavigation");
|
|
1489
|
-
N(this, "meta");
|
|
1490
|
-
N(this, "page");
|
|
1491
|
-
N(this, "authentication");
|
|
1492
|
-
N(this, "navigationPlugins");
|
|
1493
|
-
N(this, "initialize", async () => {
|
|
1494
|
-
await Promise.all(
|
|
1495
|
-
this.plugins.filter(ra).map((t) => {
|
|
1496
|
-
var r;
|
|
1497
|
-
return (r = t.initialize) == null ? void 0 : r.call(t, this);
|
|
1498
|
-
})
|
|
1499
|
-
);
|
|
1500
|
-
});
|
|
1501
|
-
N(this, "getApiIdentities", async () => (await Promise.all(
|
|
1502
|
-
this.plugins.filter(na).map((r) => r.getIdentities(this))
|
|
1503
|
-
)).flat());
|
|
1504
|
-
N(this, "getPluginSidebar", async (t) => (await Promise.all(
|
|
1505
|
-
this.navigationPlugins.map(
|
|
1506
|
-
(s) => {
|
|
1507
|
-
var n;
|
|
1508
|
-
return (n = s.getSidebar) == null ? void 0 : n.call(s, q(t));
|
|
1509
|
-
}
|
|
1510
|
-
)
|
|
1511
|
-
)).flatMap((s) => s ?? []));
|
|
1512
|
-
N(this, "signRequest", async (t) => {
|
|
1513
|
-
if (!this.authentication)
|
|
1514
|
-
throw new Error("No authentication provider configured");
|
|
1515
|
-
const r = await this.authentication.getAccessToken();
|
|
1516
|
-
return t.headers.set("Authorization", `Bearer ${r}`), t;
|
|
1517
|
-
});
|
|
1518
|
-
this.plugins = t.plugins ?? [], this.topNavigation = t.topNavigation ?? [], this.sidebars = t.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(ea), this.authentication = t.authentication, this.meta = t.metadata, this.page = t.page;
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
function ga({ error: e, resetErrorBoundary: t }) {
|
|
1522
|
-
return /* @__PURE__ */ a.jsx(ze, { error: e });
|
|
1523
|
-
}
|
|
1524
|
-
const te = globalThis;
|
|
1525
|
-
(!te.requestIdleCallback || !te.cancelIdleCallback) && (te.requestIdleCallback = (e) => setTimeout(e, 1), te.cancelIdleCallback = clearTimeout);
|
|
1526
|
-
const ht = {
|
|
1527
|
-
Header: ut
|
|
1528
|
-
}, pa = Ze(ht), va = pa.Provider, xa = ({
|
|
1529
|
-
children: e,
|
|
1530
|
-
context: t
|
|
1531
|
-
}) => (qt({
|
|
1532
|
-
queryFn: async () => (await t.initialize(), !0),
|
|
1533
|
-
queryKey: ["zudoku-initialize"]
|
|
1534
|
-
}), /* @__PURE__ */ a.jsx(Bt.Provider, { value: t, children: e })), ft = Ve(
|
|
1535
|
-
({ children: e, ...t }) => {
|
|
1536
|
-
var m, f;
|
|
1537
|
-
const r = se(
|
|
1538
|
-
() => ({ ...ht, ...t.overrides }),
|
|
1539
|
-
[t.overrides]
|
|
1540
|
-
), s = se(() => {
|
|
1541
|
-
var v;
|
|
1542
|
-
return {
|
|
1543
|
-
...(t.plugins ?? []).filter(sa).flatMap(
|
|
1544
|
-
(h) => h.getMdxComponents ? [h.getMdxComponents()] : []
|
|
1545
|
-
).reduce(
|
|
1546
|
-
(h, S) => ({ ...h, ...S }),
|
|
1547
|
-
{}
|
|
1548
|
-
),
|
|
1549
|
-
...nr,
|
|
1550
|
-
...(v = t.mdx) == null ? void 0 : v.components
|
|
1551
|
-
};
|
|
1552
|
-
}, [(m = t.mdx) == null ? void 0 : m.components, t.plugins]), { stagger: n } = $t(le), [o, i] = F(!1), c = se(
|
|
1553
|
-
() => o ? { stagger: !0 } : { stagger: n },
|
|
1554
|
-
[n, o]
|
|
1555
|
-
), u = ve();
|
|
1556
|
-
B(() => {
|
|
1557
|
-
o || i(!0);
|
|
1558
|
-
}, [o, u.location]);
|
|
1559
|
-
const [d] = F(() => new ma(t)), p = (f = t.plugins) == null ? void 0 : f.filter(aa).map((x, v) => {
|
|
1560
|
-
var h;
|
|
1561
|
-
return /* @__PURE__ */ a.jsx(Vt, { children: (h = x.getHead) == null ? void 0 : h.call(x) }, v);
|
|
1562
|
-
});
|
|
1563
|
-
return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
1564
|
-
/* @__PURE__ */ a.jsx(de, { children: p }),
|
|
1565
|
-
/* @__PURE__ */ a.jsx(le.Provider, { value: c, children: /* @__PURE__ */ a.jsx(xa, { context: d, children: /* @__PURE__ */ a.jsx(yt, { components: s, children: /* @__PURE__ */ a.jsx(br, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ a.jsx(va, { value: r, children: /* @__PURE__ */ a.jsx(St, { slotlets: t.slotlets, children: /* @__PURE__ */ a.jsx(ir, { children: e ?? /* @__PURE__ */ a.jsx(We, {}) }) }) }) }) }) }) })
|
|
1566
|
-
] });
|
|
1567
|
-
}
|
|
1568
|
-
);
|
|
1569
|
-
ft.displayName = "ZudokoInner";
|
|
1570
|
-
const mt = (e) => /* @__PURE__ */ a.jsx(ha, { FallbackComponent: ga, children: /* @__PURE__ */ a.jsx(ft, { ...e }) });
|
|
1571
|
-
mt.displayName = "Zudoku";
|
|
1572
|
-
const $a = bt, Va = ua, Za = Pt, Wa = Nr, Ya = $r, Ja = Vr, Xa = de, Ga = Q, es = Ct, ts = mt, rs = Et, as = xe, ss = kt, ns = he;
|
|
1
|
+
import "./index.esm-BFcSKCe-.js";
|
|
2
|
+
import "./index--oeBayMa.js";
|
|
3
|
+
import "./chunk-BAXFHI7N-C9WnHsLV.js";
|
|
4
|
+
import "./hook-CqYKERnR.js";
|
|
5
|
+
import "./RouteGuard-ChX1tPqA.js";
|
|
6
|
+
import "./SlotletProvider-ZhDNaV0q.js";
|
|
7
|
+
import { e as k, f as l, n as S, B as h, C as B, j as c, l as E, H, d as L, L as M, M as R, g as Z, R as f, S as g, k as y, i as A, Z as b, b as j, h as v, c as w, m as x, a as D } from "./index-LSPm9Daf.js";
|
|
8
|
+
import "./ui/Button.js";
|
|
9
|
+
import "./ui/Callout.js";
|
|
10
|
+
import "./ClientOnly-E7hGysn1.js";
|
|
11
|
+
import "./Markdown-D3MUf20w.js";
|
|
12
|
+
import "./Spinner-mNLZ6awP.js";
|
|
1573
13
|
export {
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
14
|
+
k as Bootstrap,
|
|
15
|
+
l as BootstrapStatic,
|
|
16
|
+
S as BuildCheck,
|
|
17
|
+
h as Button,
|
|
18
|
+
B as CACHE_KEYS,
|
|
19
|
+
c as Callout,
|
|
20
|
+
E as ClientOnly,
|
|
21
|
+
H as Head,
|
|
22
|
+
L as Layout,
|
|
23
|
+
M as Link,
|
|
24
|
+
R as Markdown,
|
|
25
|
+
Z as RouteGuard,
|
|
26
|
+
f as RouterError,
|
|
27
|
+
g as ServerError,
|
|
28
|
+
y as Spinner,
|
|
29
|
+
A as StatusPage,
|
|
30
|
+
b as Zudoku,
|
|
31
|
+
j as useAuth,
|
|
32
|
+
v as useCache,
|
|
33
|
+
w as useMDXComponents,
|
|
34
|
+
x as useTheme,
|
|
35
|
+
D as useZudoku
|
|
1588
36
|
};
|
|
1589
37
|
//# sourceMappingURL=zudoku.components.js.map
|